deepseek-coder-agent-cli 1.0.71 → 1.0.73
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/erosolar.js +0 -0
- package/dist/contracts/agent-profiles.schema.json +41 -41
- package/dist/contracts/agent-schemas.json +471 -477
- package/dist/contracts/models.schema.json +7 -7
- package/dist/contracts/module-schema.json +392 -403
- package/dist/contracts/schemas/agent-profile.schema.json +144 -144
- package/dist/contracts/schemas/agent-rules.schema.json +226 -226
- package/dist/contracts/schemas/agent-schemas.schema.json +497 -497
- package/dist/contracts/schemas/agent.schema.json +81 -81
- package/dist/contracts/schemas/tool-selection.schema.json +160 -160
- package/dist/contracts/tools.schema.json +80 -80
- package/dist/contracts/unified-schema.json +743 -750
- package/dist/headless/interactiveShell.d.ts.map +1 -1
- package/dist/headless/interactiveShell.js +8 -0
- package/dist/headless/interactiveShell.js.map +1 -1
- package/dist/ui/PromptController.d.ts +5 -0
- package/dist/ui/PromptController.d.ts.map +1 -1
- package/dist/ui/PromptController.js +17 -0
- package/dist/ui/PromptController.js.map +1 -1
- package/dist/ui/UnifiedUIRenderer.d.ts +2 -0
- package/dist/ui/UnifiedUIRenderer.d.ts.map +1 -1
- package/dist/ui/UnifiedUIRenderer.js +5 -1
- package/dist/ui/UnifiedUIRenderer.js.map +1 -1
- package/dist/ui/theme.d.ts +161 -161
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interactiveShell.d.ts","sourceRoot":"","sources":["../../src/headless/interactiveShell.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;
|
|
1
|
+
{"version":3,"file":"interactiveShell.d.ts","sourceRoot":"","sources":["../../src/headless/interactiveShell.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AA2LH,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB;AAOD;;GAEG;AACH,wBAAsB,mBAAmB,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,CAuDzF"}
|
|
@@ -22,6 +22,7 @@ import { promisify } from 'node:util';
|
|
|
22
22
|
import chalk from 'chalk';
|
|
23
23
|
import gradientString from 'gradient-string';
|
|
24
24
|
import { initializeFlowProtection, getFlowProtection } from '../core/flowProtection.js';
|
|
25
|
+
import { getHITL } from '../core/hitl.js';
|
|
25
26
|
// Stub functions (antiTermination removed)
|
|
26
27
|
const initializeProtection = (_config) => { };
|
|
27
28
|
const enterCriticalSection = (_name) => { };
|
|
@@ -443,6 +444,7 @@ class InteractiveShell {
|
|
|
443
444
|
onCtrlC: (info) => this.handleCtrlC(info),
|
|
444
445
|
onToggleAutoContinue: () => this.handleAutoContinueToggle(),
|
|
445
446
|
onToggleThinking: () => this.handleThinkingToggle(),
|
|
447
|
+
onToggleHITL: () => this.handleHITLToggle(),
|
|
446
448
|
});
|
|
447
449
|
// Register cleanup callback for graceful shutdown
|
|
448
450
|
onShutdown(() => {
|
|
@@ -3860,6 +3862,12 @@ Any text response is a failure. Only tool calls are accepted.`;
|
|
|
3860
3862
|
this.promptController?.setStatusMessage(`Thinking: ${thinkingLabel}`);
|
|
3861
3863
|
setTimeout(() => this.promptController?.setStatusMessage(null), 1500);
|
|
3862
3864
|
}
|
|
3865
|
+
handleHITLToggle() {
|
|
3866
|
+
const mode = this.promptController?.getModeToggleState().hitlMode ?? 'off';
|
|
3867
|
+
getHITL().updateConfig({ autoPause: mode === 'on' });
|
|
3868
|
+
this.promptController?.setStatusMessage(`HITL: ${mode}`);
|
|
3869
|
+
setTimeout(() => this.promptController?.setStatusMessage(null), 1500);
|
|
3870
|
+
}
|
|
3863
3871
|
handleCtrlC(info) {
|
|
3864
3872
|
const now = Date.now();
|
|
3865
3873
|
// Reset count if more than 2 seconds since last Ctrl+C
|