orquesta-cli 0.2.89 → 0.2.90
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/cli.js +9 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -120,6 +120,7 @@ program
|
|
|
120
120
|
.option('-p, --print [prompt]', 'Execute a prompt and exit (non-interactive mode). Omit the value to read the prompt from stdin — orquesta-agent uses this on Windows to dodge the cmd.exe command-line length limit.')
|
|
121
121
|
.option('--dangerously-skip-permissions', 'Skip all permission prompts (auto-approve)')
|
|
122
122
|
.option('--append-system-prompt <prompt>', 'Append text to the system prompt (parity with claude CLI; used by orquesta-agent sessions)')
|
|
123
|
+
.option('--append-system-prompt-file <path>', 'Read the appended system prompt from a file (orquesta-agent uses this to keep a large ~38KB system prompt out of argv — Windows CreateProcess caps the command line at 32767 chars)')
|
|
123
124
|
.option('--verbose', 'Enable verbose logging')
|
|
124
125
|
.option('--debug', 'Enable debug logging')
|
|
125
126
|
.option('--llm-log', 'Enable LLM logging')
|
|
@@ -138,6 +139,14 @@ program
|
|
|
138
139
|
.option('--update', 'Update orquesta-cli to the latest published version and exit')
|
|
139
140
|
.option('-c, --continue', 'Resume the most recent conversation session')
|
|
140
141
|
.action(async (options) => {
|
|
142
|
+
if (options.appendSystemPromptFile) {
|
|
143
|
+
try {
|
|
144
|
+
const { readFileSync } = await import('fs');
|
|
145
|
+
setAppendedSystemPrompt(readFileSync(options.appendSystemPromptFile, 'utf-8'));
|
|
146
|
+
}
|
|
147
|
+
catch {
|
|
148
|
+
}
|
|
149
|
+
}
|
|
141
150
|
if (options.appendSystemPrompt) {
|
|
142
151
|
setAppendedSystemPrompt(options.appendSystemPrompt);
|
|
143
152
|
}
|