@kolisachint/hoocode-agent 0.4.138 → 0.4.140
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/CHANGELOG.md +24 -0
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +2 -0
- package/dist/cli/args.js.map +1 -1
- package/dist/core/extensions/plugins/formats/copilot.d.ts +7 -2
- package/dist/core/extensions/plugins/formats/copilot.d.ts.map +1 -1
- package/dist/core/extensions/plugins/formats/copilot.js +27 -7
- package/dist/core/extensions/plugins/formats/copilot.js.map +1 -1
- package/dist/core/model-resolver.d.ts.map +1 -1
- package/dist/core/model-resolver.js +5 -2
- package/dist/core/model-resolver.js.map +1 -1
- package/dist/core/prompt-templates.d.ts.map +1 -1
- package/dist/core/prompt-templates.js +3 -1
- package/dist/core/prompt-templates.js.map +1 -1
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +16 -3
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/tools/find.d.ts.map +1 -1
- package/dist/core/tools/find.js +23 -3
- package/dist/core/tools/find.js.map +1 -1
- package/dist/core/tools/grep.d.ts.map +1 -1
- package/dist/core/tools/grep.js +128 -85
- package/dist/core/tools/grep.js.map +1 -1
- package/dist/core/tools/native-search.d.ts +90 -0
- package/dist/core/tools/native-search.d.ts.map +1 -0
- package/dist/core/tools/native-search.js +255 -0
- package/dist/core/tools/native-search.js.map +1 -0
- package/dist/extensions/core/config.d.ts +13 -0
- package/dist/extensions/core/config.d.ts.map +1 -1
- package/dist/extensions/core/config.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +13 -4
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package.json +1 -1
- package/package.json +4 -4
|
@@ -561,10 +561,19 @@ export class InteractiveMode {
|
|
|
561
561
|
hasMessages: this.session.state.messages.length > 0,
|
|
562
562
|
settingsManager: this.settingsManager,
|
|
563
563
|
});
|
|
564
|
-
// Ensure fd and rg are available (downloads if missing, adds to PATH via getBinDir)
|
|
565
|
-
// Both
|
|
566
|
-
|
|
567
|
-
|
|
564
|
+
// Ensure fd and rg are available (downloads if missing, adds to PATH via getBinDir).
|
|
565
|
+
// Both help — fd for autocomplete, rg for the grep tool — but neither is required
|
|
566
|
+
// to start: resolving them can hit a slow or failing network in restricted
|
|
567
|
+
// environments, and awaiting here froze first paint. Resolve in the background
|
|
568
|
+
// (silently, so download notices never corrupt the TUI) and wire fd in when ready;
|
|
569
|
+
// the grep/find tools resolve rg/fd on demand with a native fallback regardless.
|
|
570
|
+
void Promise.all([ensureTool("fd", true), ensureTool("rg", true)])
|
|
571
|
+
.then(([fdPath]) => {
|
|
572
|
+
this.fdPath = fdPath;
|
|
573
|
+
})
|
|
574
|
+
.catch(() => {
|
|
575
|
+
// Non-fatal: autocomplete simply stays disabled until/unless fd resolves.
|
|
576
|
+
});
|
|
568
577
|
// Add header container as first child
|
|
569
578
|
this.ui.addChild(this.headerContainer);
|
|
570
579
|
// Add header with keybindings from config (unless silenced)
|