cc-pipeline 0.5.2 → 0.5.3
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/package.json
CHANGED
|
@@ -171,13 +171,14 @@ export class ClaudeInteractiveAgent extends BaseAgent {
|
|
|
171
171
|
/**
|
|
172
172
|
* Deliver the prompt to the interactive session via tmux.
|
|
173
173
|
* Instead of pasting the full prompt (fragile with large text),
|
|
174
|
-
* we tell Claude to read the prompt file directly
|
|
174
|
+
* we tell Claude to read the prompt file directly by path (no @ prefix,
|
|
175
|
+
* which triggers autocomplete and causes glitchy input).
|
|
175
176
|
* @param {string} promptFile - Path to the prompt file
|
|
176
177
|
* @param {string} sessionName - Tmux session name
|
|
177
178
|
*/
|
|
178
179
|
async deliverPrompt(promptFile, sessionName) {
|
|
179
180
|
const safeSession = shellEscape(sessionName);
|
|
180
|
-
const instruction = `Read and follow all instructions in
|
|
181
|
+
const instruction = `Read and follow all instructions in ${promptFile}`;
|
|
181
182
|
const safeInstruction = shellEscape(instruction);
|
|
182
183
|
execSync(`tmux send-keys -t "${safeSession}" "${safeInstruction}"`);
|
|
183
184
|
await this.sleep(500);
|