@cspeach/cli 1.1.11 → 1.1.13
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/agent/loop.js +25 -13
- package/dist/agent/providers/license-gate.js +1 -1
- package/dist/cost/display-mode.js +6 -2
- package/dist/one-shot.js +5 -1
- package/dist/projects/answer-blockers.js +5 -2
- package/dist/projects/extract-design.js +36 -8
- package/dist/projects/extract-estimate.js +3 -1
- package/dist/projects/extract-spec-gap.js +3 -1
- package/dist/projects/save-command.js +10 -0
- package/dist/repl.js +6 -1
- package/dist/sap/onboarding.js +1 -1
- package/dist/skills/bundled-skills.js +63 -63
- package/dist/tools/local-build.js +21 -0
- package/package.json +1 -1
|
@@ -76,6 +76,27 @@ export const LOCAL_BUILD_TOOLS = [
|
|
|
76
76
|
* which directory tree read/write/edit operate under; the shell safelist is
|
|
77
77
|
* surfaced so the user sees which commands shell_exec may run.
|
|
78
78
|
*/
|
|
79
|
+
/**
|
|
80
|
+
* Standalone mode (2026-09-17). The standalone note tells the model to write
|
|
81
|
+
* every generated object plus GUIDE.md under ./cspeach-out — but the file
|
|
82
|
+
* tools were only switched on by `local_build`, a separate manual step. On
|
|
83
|
+
* Laeeq's other-laptop run the whole RAP stack ended up in the transcript
|
|
84
|
+
* with "There are no files". Standalone therefore enables the FILE tools
|
|
85
|
+
* itself. Only the file tools: no shell_exec, no Fiori/agent tools — those
|
|
86
|
+
* stay behind the explicit local_build consent.
|
|
87
|
+
*/
|
|
88
|
+
export const STANDALONE_FILE_TOOLS = [
|
|
89
|
+
'file_read',
|
|
90
|
+
'read_document',
|
|
91
|
+
'file_write',
|
|
92
|
+
'file_edit',
|
|
93
|
+
'glob',
|
|
94
|
+
'grep',
|
|
95
|
+
];
|
|
96
|
+
export function applyStandaloneFileTools(cwd) {
|
|
97
|
+
enableToolFlags([...STANDALONE_FILE_TOOLS]);
|
|
98
|
+
return `standalone: generated objects and GUIDE.md are written under ${cwd}\\cspeach-out`;
|
|
99
|
+
}
|
|
79
100
|
export function applyLocalBuildConfig(localBuild, cwd) {
|
|
80
101
|
if (localBuild !== true)
|
|
81
102
|
return undefined;
|