workdir

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Workdir

Workdir

Only a literal
workdir: /absolute/path
runtime line in the current prompt defines the configured path. A harness working directory, current directory, Git, or environment variable does not. If the line is absent, request the path and stop.
Resolve workdir-relative commands to absolute paths. For a Tariboy script operation, respond with the resolved absolute path and: "Use the
scripts
skill for this operation."
只有当前提示中一个字面形式为
workdir: /absolute/path
的运行时行才会定义已配置的路径。harness 工作目录、当前目录、Git 或环境变量均不会定义该路径。如果该行不存在,请请求提供路径并停止。
将相对于 workdir 的命令解析为绝对路径。对于 Tariboy 脚本操作,请回复解析后的绝对路径,并加上:“此操作请使用
scripts
skill。”