topchester-ai 0.69.0 → 0.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bin.mjs
CHANGED
|
@@ -5287,8 +5287,8 @@ function formatSkillSource$2(skill) {
|
|
|
5287
5287
|
}
|
|
5288
5288
|
const taskTool = defineTool({
|
|
5289
5289
|
name: "task",
|
|
5290
|
-
description: "Delegate read-only file/search/git research to a child agent. Do not use for shell commands, bash, Python/Node scripts, validators, edits, writes, or other execution work.",
|
|
5291
|
-
prompt: "task: delegate read-only file/search/git research to a child agent. Do not use task for shell commands, bash, Python/Node scripts, validators, edits, writes, finish_task, or other execution work; use parent tools directly. To use it, reply with only JSON: {\"tool\":\"task\",\"args\":{\"description\":\"Inspect runtime event flow\",\"prompt\":\"Read the runtime and summarize how events are emitted.\",\"subagent_type\":\"explore\"}}",
|
|
5290
|
+
description: "Delegate read-only file/search/git research to a child agent. Do not use for shell commands, bash, Python/Node scripts, validators, edits, writes, tiny local inspections, or other execution work.",
|
|
5291
|
+
prompt: "task: delegate read-only file/search/git research to a child agent. Do not use task for shell commands, bash, Python/Node scripts, validators, edits, writes, finish_task, tiny local inspections, or other execution work; use parent tools directly. If the relevant workspace context is just a README plus a few obvious source files, inspect them directly with list_files/read_file instead of spawning a subagent. To use it, reply with only JSON: {\"tool\":\"task\",\"args\":{\"description\":\"Inspect runtime event flow\",\"prompt\":\"Read the runtime and summarize how events are emitted.\",\"subagent_type\":\"explore\"}}",
|
|
5292
5292
|
argsSchema: z.object({
|
|
5293
5293
|
description: z.string().min(1),
|
|
5294
5294
|
prompt: z.string().min(1),
|
|
@@ -12666,6 +12666,7 @@ function getChatSystemPrompt(options = {}) {
|
|
|
12666
12666
|
] : [],
|
|
12667
12667
|
...canUseTool("inspect_command") ? ["- Do not use inspect_command for file creation or file mutation."] : [],
|
|
12668
12668
|
...canUseTool("edit_file") ? ["- Keep edit_file old_text small but unique. Do not include line labels or grep prefixes in old_text; use exact file text only."] : [],
|
|
12669
|
+
...canUseTool("apply_patch") && canUseTool("write_file") && canUseTool("read_file") ? ["- If apply_patch/edit_file fails twice on the same file, stop retrying equivalent patches. Read the current file and, when the intended change is broad, use write_file overwrite:true with the current read_file hash to replace the whole file."] : [],
|
|
12669
12670
|
...canUseTool("edit_file") || canUseTool("write_file") ? ["- Use edit/write/patch tools when they are available and the user asks you to implement, fix, add, update, or refactor code."] : [],
|
|
12670
12671
|
...canUseTool("finish_task") ? ["- Use finish_task to complete implementation tasks after the requested work is actually done. Do not call finish_task to claim edits or validation that tool results did not confirm."] : [],
|
|
12671
12672
|
...canUseTool("inspect_command") || canUseTool("run_validator") ? ["- Use command/test tools when they are available and you need to inspect the environment or verify behavior."] : [],
|
|
@@ -16787,4 +16788,4 @@ function formatDryRunSyncStatus(status) {
|
|
|
16787
16788
|
//#endregion
|
|
16788
16789
|
export { runTopchesterCli as t };
|
|
16789
16790
|
|
|
16790
|
-
//# sourceMappingURL=cli-
|
|
16791
|
+
//# sourceMappingURL=cli-BWEWnkpM.mjs.map
|