@floydous/pi-agent-kernel 0.2.0 → 0.3.1
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 +10 -23
- package/README.md +127 -82
- package/docs/testing.md +10 -9
- package/package.json +9 -5
- package/src/config/kernel_config.ts +15 -0
- package/src/dedup/content_store.ts +365 -365
- package/src/dedup/recall_tool.ts +3 -5
- package/src/index.ts +975 -918
- package/src/retrieval/ast_search.ts +1035 -930
- package/src/retrieval/repomap.ts +353 -37
- package/src/retrieval/search_bm25.ts +195 -190
- package/src/retrieval/search_chunker.ts +261 -254
- package/src/retrieval/search_index.ts +21 -10
- package/src/retrieval/symbol_reader.ts +198 -203
- package/src/retrieval/tree_sitter_engine.ts +1 -1
- package/src/safety/epistemic_guard.ts +8 -1
- package/src/tools/ast_search_formatter.ts +161 -0
- package/src/tools/ast_search_tool.ts +22 -18
- package/src/tools/code_search_output.ts +237 -0
- package/src/tools/code_search_tool.ts +52 -18
- package/src/tools/context.ts +20 -20
- package/src/tools/edit_tool.ts +6 -7
- package/src/tools/lsp_tool.ts +207 -241
- package/src/tools/read_tool.ts +38 -19
- package/src/tools/repo_map_tool.ts +1 -2
- package/src/ui/tui_utils.ts +278 -278
- package/static/with-agent-kernel.png +0 -0
- package/static/without-agent-kernel-1.png +0 -0
- package/static/without-agent-kernel-2.png +0 -0
- package/static/without-agent-kernel-3.png +0 -0
package/src/dedup/recall_tool.ts
CHANGED
|
@@ -68,14 +68,12 @@ export function registerRecallTool(pi: ExtensionAPI, deps: RecallDeps): void {
|
|
|
68
68
|
name: "recall",
|
|
69
69
|
label: "Recall Dedup'd Result",
|
|
70
70
|
description:
|
|
71
|
-
"
|
|
72
|
-
promptSnippet:
|
|
73
|
-
"Recover the full text of a tool result that was dedup'd, by its rN reference",
|
|
71
|
+
"Recover full text of tool result replaced by dedup reference [=rN,...].",
|
|
72
|
+
promptSnippet: "Recover full text of a dedup'd tool result by 'rN' ref",
|
|
74
73
|
renderShell: "default",
|
|
75
74
|
parameters: Type.Object({
|
|
76
75
|
ref: Type.String({
|
|
77
|
-
description:
|
|
78
|
-
"The reference identifier, e.g. 'r1', 'r2'. Comes from a [=rN,sizeB,tool,paramsKey] dedup notice in a prior tool result.",
|
|
76
|
+
description: "The reference identifier (e.g. 'r1', 'r2')",
|
|
79
77
|
}),
|
|
80
78
|
}),
|
|
81
79
|
async execute(
|