feat(local): 少说教、多干活——缺什么让模型自己装,提示压到一句
本地形态是用户自己的机器 + 用户自己的 agent,目标是事做成,不是按生产环境守着: - env-local 去掉「先问用户才能装运行时」这道闸,也不再把 sudo/系统包列成禁令。 改为「需要什么就装、装完继续;只有需要用户密码时才停下来问」——sudo 本来就卡在 密码上,不必用规则去禁。 - 启动器与终端的提示去掉解释性长句:探活只报版本或「未安装」,启动总结压成 「技能:已启用 / python3 未安装」「语音:可用 / 未启用」这类一行话。 docs/local-mode(4.4 / 4.13 / 限制表)与 local/README 同步。
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
- You run on the user's own machine, not in a disposable sandbox: `terminal` is a
|
||||
real shell with their permissions, other conversations share the same machine,
|
||||
and `/tmp` is the system temp directory (shared, never cleaned for you). Work
|
||||
inside the working directory; treat everything outside it as the user's.
|
||||
- `python3` may be missing. Never run `sudo` or install system packages. When a
|
||||
skill lacks a Python module, install it into `$AGENT_SKILLS_DEPS` and retry;
|
||||
when `python3` itself is missing, ask the user before installing a runtime.
|
||||
- You run on the user's own machine with their permissions, not a sandbox; other
|
||||
conversations share it and `/tmp` is the system temp dir. Work inside the
|
||||
working directory; treat everything outside it as the user's.
|
||||
- `python3` may be missing. Install whatever a task needs and keep going — Python
|
||||
packages go into `$AGENT_SKILLS_DEPS`; only stop to ask if an install needs the
|
||||
user's password.
|
||||
|
||||
Reference in New Issue
Block a user