agentikit 0.0.9 → 0.0.13
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/README.md +139 -208
- package/dist/index.d.ts +8 -2
- package/dist/index.js +4 -1
- package/dist/src/asset-spec.d.ts +2 -0
- package/dist/src/asset-spec.js +22 -3
- package/dist/src/asset-type-handler.d.ts +27 -0
- package/dist/src/asset-type-handler.js +33 -0
- package/dist/src/cli.js +201 -75
- package/dist/src/common.d.ts +6 -1
- package/dist/src/common.js +18 -4
- package/dist/src/config-cli.d.ts +9 -0
- package/dist/src/config-cli.js +473 -0
- package/dist/src/config.d.ts +19 -6
- package/dist/src/config.js +139 -29
- package/dist/src/db.d.ts +46 -0
- package/dist/src/db.js +299 -0
- package/dist/src/embedder.js +12 -7
- package/dist/src/github.d.ts +4 -0
- package/dist/src/github.js +19 -0
- package/dist/src/handlers/agent-handler.d.ts +2 -0
- package/dist/src/handlers/agent-handler.js +26 -0
- package/dist/src/handlers/command-handler.d.ts +2 -0
- package/dist/src/handlers/command-handler.js +23 -0
- package/dist/src/handlers/index.d.ts +6 -0
- package/dist/src/handlers/index.js +23 -0
- package/dist/src/handlers/knowledge-handler.d.ts +2 -0
- package/dist/src/handlers/knowledge-handler.js +56 -0
- package/dist/src/handlers/markdown-helpers.d.ts +7 -0
- package/dist/src/handlers/markdown-helpers.js +15 -0
- package/dist/src/handlers/script-handler.d.ts +2 -0
- package/dist/src/handlers/script-handler.js +78 -0
- package/dist/src/handlers/skill-handler.d.ts +2 -0
- package/dist/src/handlers/skill-handler.js +30 -0
- package/dist/src/handlers/tool-handler.d.ts +2 -0
- package/dist/src/handlers/tool-handler.js +58 -0
- package/dist/src/indexer.d.ts +1 -23
- package/dist/src/indexer.js +162 -155
- package/dist/src/init.d.ts +2 -2
- package/dist/src/init.js +21 -9
- package/dist/src/llm.js +4 -3
- package/dist/src/metadata.d.ts +0 -1
- package/dist/src/metadata.js +6 -64
- package/dist/src/origin-resolve.d.ts +19 -0
- package/dist/src/origin-resolve.js +53 -0
- package/dist/src/registry-install.d.ts +2 -2
- package/dist/src/registry-install.js +142 -35
- package/dist/src/registry-resolve.js +90 -22
- package/dist/src/registry-search.d.ts +22 -0
- package/dist/src/registry-search.js +231 -97
- package/dist/src/registry-types.d.ts +9 -2
- package/dist/src/stash-add.js +4 -4
- package/dist/src/stash-clone.d.ts +22 -0
- package/dist/src/stash-clone.js +83 -0
- package/dist/src/stash-ref.d.ts +27 -3
- package/dist/src/stash-ref.js +63 -24
- package/dist/src/stash-registry.js +12 -12
- package/dist/src/stash-resolve.js +3 -0
- package/dist/src/stash-search.js +168 -164
- package/dist/src/stash-show.d.ts +1 -1
- package/dist/src/stash-show.js +28 -96
- package/dist/src/stash-source.d.ts +24 -0
- package/dist/src/stash-source.js +81 -0
- package/dist/src/stash-types.d.ts +14 -4
- package/dist/src/stash.d.ts +6 -0
- package/dist/src/stash.js +3 -0
- package/dist/src/tool-runner.d.ts +1 -1
- package/dist/src/tool-runner.js +18 -5
- package/package.json +7 -2
- package/src/asset-spec.ts +20 -4
- package/src/asset-type-handler.ts +77 -0
- package/src/cli.ts +213 -82
- package/src/common.ts +23 -5
- package/src/config-cli.ts +499 -0
- package/src/config.ts +160 -38
- package/src/db.ts +411 -0
- package/src/embedder.ts +22 -11
- package/src/github.ts +21 -0
- package/src/handlers/agent-handler.ts +32 -0
- package/src/handlers/command-handler.ts +29 -0
- package/src/handlers/index.ts +25 -0
- package/src/handlers/knowledge-handler.ts +62 -0
- package/src/handlers/markdown-helpers.ts +19 -0
- package/src/handlers/script-handler.ts +92 -0
- package/src/handlers/skill-handler.ts +37 -0
- package/src/handlers/tool-handler.ts +71 -0
- package/src/indexer.ts +208 -187
- package/src/init.ts +17 -9
- package/src/llm.ts +4 -3
- package/src/metadata.ts +5 -65
- package/src/origin-resolve.ts +67 -0
- package/src/registry-install.ts +158 -42
- package/src/registry-resolve.ts +92 -23
- package/src/registry-search.ts +288 -98
- package/src/registry-types.ts +10 -2
- package/src/stash-add.ts +14 -17
- package/src/stash-clone.ts +127 -0
- package/src/stash-ref.ts +84 -26
- package/src/stash-registry.ts +12 -12
- package/src/stash-resolve.ts +3 -0
- package/src/stash-search.ts +202 -184
- package/src/stash-show.ts +33 -90
- package/src/stash-source.ts +103 -0
- package/src/stash-types.ts +14 -4
- package/src/stash.ts +8 -0
- package/src/tool-runner.ts +18 -5
- package/dist/src/similarity.d.ts +0 -34
- package/dist/src/similarity.js +0 -211
- package/src/similarity.ts +0 -271
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { parseFrontmatter, toStringOrUndefined } from "../frontmatter";
|
|
2
|
+
import { isMarkdownFile, markdownCanonicalName, markdownAssetPath } from "./markdown-helpers";
|
|
3
|
+
export const commandHandler = {
|
|
4
|
+
typeName: "command",
|
|
5
|
+
stashDir: "commands",
|
|
6
|
+
isRelevantFile: isMarkdownFile,
|
|
7
|
+
toCanonicalName: markdownCanonicalName,
|
|
8
|
+
toAssetPath: markdownAssetPath,
|
|
9
|
+
buildShowResponse(input) {
|
|
10
|
+
const parsedMd = parseFrontmatter(input.content);
|
|
11
|
+
return {
|
|
12
|
+
type: "command",
|
|
13
|
+
name: input.name,
|
|
14
|
+
path: input.path,
|
|
15
|
+
description: toStringOrUndefined(parsedMd.data.description),
|
|
16
|
+
template: parsedMd.content,
|
|
17
|
+
};
|
|
18
|
+
},
|
|
19
|
+
defaultUsageGuide: [
|
|
20
|
+
"Read the .md file, fill placeholders, and run it in the current repo context.",
|
|
21
|
+
"Use `akm show <openRef>` to retrieve the command template body.",
|
|
22
|
+
],
|
|
23
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { toolHandler } from "./tool-handler";
|
|
2
|
+
export { skillHandler } from "./skill-handler";
|
|
3
|
+
export { commandHandler } from "./command-handler";
|
|
4
|
+
export { agentHandler } from "./agent-handler";
|
|
5
|
+
export { knowledgeHandler } from "./knowledge-handler";
|
|
6
|
+
export { scriptHandler } from "./script-handler";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { registerAssetType } from "../asset-type-handler";
|
|
2
|
+
import { toolHandler } from "./tool-handler";
|
|
3
|
+
import { skillHandler } from "./skill-handler";
|
|
4
|
+
import { commandHandler } from "./command-handler";
|
|
5
|
+
import { agentHandler } from "./agent-handler";
|
|
6
|
+
import { knowledgeHandler } from "./knowledge-handler";
|
|
7
|
+
import { scriptHandler } from "./script-handler";
|
|
8
|
+
/**
|
|
9
|
+
* Register all built-in asset type handlers.
|
|
10
|
+
* This must be called (imported) before any handler lookups.
|
|
11
|
+
*/
|
|
12
|
+
registerAssetType(toolHandler);
|
|
13
|
+
registerAssetType(skillHandler);
|
|
14
|
+
registerAssetType(commandHandler);
|
|
15
|
+
registerAssetType(agentHandler);
|
|
16
|
+
registerAssetType(knowledgeHandler);
|
|
17
|
+
registerAssetType(scriptHandler);
|
|
18
|
+
export { toolHandler } from "./tool-handler";
|
|
19
|
+
export { skillHandler } from "./skill-handler";
|
|
20
|
+
export { commandHandler } from "./command-handler";
|
|
21
|
+
export { agentHandler } from "./agent-handler";
|
|
22
|
+
export { knowledgeHandler } from "./knowledge-handler";
|
|
23
|
+
export { scriptHandler } from "./script-handler";
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import fs from "node:fs";
|
|
2
|
+
import { parseMarkdownToc, extractSection, extractLineRange, extractFrontmatterOnly, formatToc } from "../markdown";
|
|
3
|
+
import { isMarkdownFile, markdownCanonicalName, markdownAssetPath } from "./markdown-helpers";
|
|
4
|
+
export const knowledgeHandler = {
|
|
5
|
+
typeName: "knowledge",
|
|
6
|
+
stashDir: "knowledge",
|
|
7
|
+
isRelevantFile: isMarkdownFile,
|
|
8
|
+
toCanonicalName: markdownCanonicalName,
|
|
9
|
+
toAssetPath: markdownAssetPath,
|
|
10
|
+
buildShowResponse(input) {
|
|
11
|
+
const v = input.view ?? { mode: "full" };
|
|
12
|
+
switch (v.mode) {
|
|
13
|
+
case "toc": {
|
|
14
|
+
const toc = parseMarkdownToc(input.content);
|
|
15
|
+
return { type: "knowledge", name: input.name, path: input.path, content: formatToc(toc) };
|
|
16
|
+
}
|
|
17
|
+
case "frontmatter": {
|
|
18
|
+
const fm = extractFrontmatterOnly(input.content);
|
|
19
|
+
return { type: "knowledge", name: input.name, path: input.path, content: fm ?? "(no frontmatter)" };
|
|
20
|
+
}
|
|
21
|
+
case "section": {
|
|
22
|
+
const section = extractSection(input.content, v.heading);
|
|
23
|
+
if (!section) {
|
|
24
|
+
return {
|
|
25
|
+
type: "knowledge",
|
|
26
|
+
name: input.name,
|
|
27
|
+
path: input.path,
|
|
28
|
+
content: `Section "${v.heading}" not found in ${input.name}. Try --view toc to discover available headings.`,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
return { type: "knowledge", name: input.name, path: input.path, content: section.content };
|
|
32
|
+
}
|
|
33
|
+
case "lines": {
|
|
34
|
+
return { type: "knowledge", name: input.name, path: input.path, content: extractLineRange(input.content, v.start, v.end) };
|
|
35
|
+
}
|
|
36
|
+
default: {
|
|
37
|
+
return { type: "knowledge", name: input.name, path: input.path, content: input.content };
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
defaultUsageGuide: [
|
|
42
|
+
"Use `akm show <openRef>` to read the document; start with `--view toc` for large files.",
|
|
43
|
+
"Use `--view section` or `--view lines` to load only the part you need.",
|
|
44
|
+
],
|
|
45
|
+
extractTypeMetadata(entry, file) {
|
|
46
|
+
try {
|
|
47
|
+
const mdContent = fs.readFileSync(file, "utf8");
|
|
48
|
+
const toc = parseMarkdownToc(mdContent);
|
|
49
|
+
if (toc.headings.length > 0)
|
|
50
|
+
entry.toc = toc.headings;
|
|
51
|
+
}
|
|
52
|
+
catch {
|
|
53
|
+
// Non-fatal: skip TOC if file can't be read
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared file-system helpers for markdown-based asset types
|
|
3
|
+
* (command, agent, knowledge).
|
|
4
|
+
*/
|
|
5
|
+
export declare function isMarkdownFile(fileName: string): boolean;
|
|
6
|
+
export declare function markdownCanonicalName(typeRoot: string, filePath: string): string | undefined;
|
|
7
|
+
export declare function markdownAssetPath(typeRoot: string, name: string): string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import path from "node:path";
|
|
2
|
+
import { toPosix } from "../common";
|
|
3
|
+
/**
|
|
4
|
+
* Shared file-system helpers for markdown-based asset types
|
|
5
|
+
* (command, agent, knowledge).
|
|
6
|
+
*/
|
|
7
|
+
export function isMarkdownFile(fileName) {
|
|
8
|
+
return path.extname(fileName).toLowerCase() === ".md";
|
|
9
|
+
}
|
|
10
|
+
export function markdownCanonicalName(typeRoot, filePath) {
|
|
11
|
+
return toPosix(path.relative(typeRoot, filePath));
|
|
12
|
+
}
|
|
13
|
+
export function markdownAssetPath(typeRoot, name) {
|
|
14
|
+
return path.join(typeRoot, name);
|
|
15
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import path from "node:path";
|
|
2
|
+
import { SCRIPT_EXTENSIONS, SCRIPT_EXTENSIONS_BROAD } from "../asset-spec";
|
|
3
|
+
import { hasErrnoCode, toPosix } from "../common";
|
|
4
|
+
import { buildToolInfo } from "../tool-runner";
|
|
5
|
+
import { extractDescriptionFromComments } from "../metadata";
|
|
6
|
+
/** Extensions that buildToolInfo can handle (tool-runner supported) */
|
|
7
|
+
const RUNNABLE_EXTENSIONS = SCRIPT_EXTENSIONS;
|
|
8
|
+
export const scriptHandler = {
|
|
9
|
+
typeName: "script",
|
|
10
|
+
stashDir: "scripts",
|
|
11
|
+
isRelevantFile(fileName) {
|
|
12
|
+
return SCRIPT_EXTENSIONS_BROAD.has(path.extname(fileName).toLowerCase());
|
|
13
|
+
},
|
|
14
|
+
toCanonicalName(typeRoot, filePath) {
|
|
15
|
+
return toPosix(path.relative(typeRoot, filePath));
|
|
16
|
+
},
|
|
17
|
+
toAssetPath(typeRoot, name) {
|
|
18
|
+
return path.join(typeRoot, name);
|
|
19
|
+
},
|
|
20
|
+
buildShowResponse(input) {
|
|
21
|
+
const ext = path.extname(input.path).toLowerCase();
|
|
22
|
+
// For extensions supported by tool-runner, show runCmd
|
|
23
|
+
if (RUNNABLE_EXTENSIONS.has(ext)) {
|
|
24
|
+
const stashDirs = input.stashDirs ?? [];
|
|
25
|
+
const assetStashDir = stashDirs.find((d) => path.resolve(input.path).startsWith(path.resolve(d) + path.sep)) ?? stashDirs[0];
|
|
26
|
+
if (assetStashDir) {
|
|
27
|
+
try {
|
|
28
|
+
const toolInfo = buildToolInfo(assetStashDir, input.path);
|
|
29
|
+
return {
|
|
30
|
+
type: "script",
|
|
31
|
+
name: input.name,
|
|
32
|
+
path: input.path,
|
|
33
|
+
runCmd: toolInfo.runCmd,
|
|
34
|
+
kind: toolInfo.kind,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
catch {
|
|
38
|
+
// Fall through to content display
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
// For other extensions or when buildToolInfo fails, show file content
|
|
43
|
+
return {
|
|
44
|
+
type: "script",
|
|
45
|
+
name: input.name,
|
|
46
|
+
path: input.path,
|
|
47
|
+
content: input.content,
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
enrichSearchHit(hit, stashDir) {
|
|
51
|
+
const ext = path.extname(hit.path).toLowerCase();
|
|
52
|
+
if (!RUNNABLE_EXTENSIONS.has(ext))
|
|
53
|
+
return;
|
|
54
|
+
try {
|
|
55
|
+
const toolInfo = buildToolInfo(stashDir, hit.path);
|
|
56
|
+
hit.runCmd = toolInfo.runCmd;
|
|
57
|
+
hit.kind = toolInfo.kind;
|
|
58
|
+
}
|
|
59
|
+
catch (error) {
|
|
60
|
+
if (!hasErrnoCode(error, "ENOENT"))
|
|
61
|
+
throw error;
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
defaultUsageGuide: [
|
|
65
|
+
"Use the hit's runCmd for execution when available, or run the script directly with the appropriate interpreter.",
|
|
66
|
+
"Use `akm show <openRef>` to inspect the script before running it.",
|
|
67
|
+
],
|
|
68
|
+
extractTypeMetadata(entry, file, ext) {
|
|
69
|
+
if (ext !== ".md") {
|
|
70
|
+
const commentDesc = extractDescriptionFromComments(file);
|
|
71
|
+
if (commentDesc && !entry.description) {
|
|
72
|
+
entry.description = commentDesc;
|
|
73
|
+
entry.source = "comments";
|
|
74
|
+
entry.confidence = 0.7;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import path from "node:path";
|
|
2
|
+
import { toPosix } from "../common";
|
|
3
|
+
export const skillHandler = {
|
|
4
|
+
typeName: "skill",
|
|
5
|
+
stashDir: "skills",
|
|
6
|
+
isRelevantFile(fileName) {
|
|
7
|
+
return fileName === "SKILL.md";
|
|
8
|
+
},
|
|
9
|
+
toCanonicalName(typeRoot, filePath) {
|
|
10
|
+
const relDir = toPosix(path.dirname(path.relative(typeRoot, filePath)));
|
|
11
|
+
if (!relDir || relDir === ".")
|
|
12
|
+
return undefined;
|
|
13
|
+
return relDir;
|
|
14
|
+
},
|
|
15
|
+
toAssetPath(typeRoot, name) {
|
|
16
|
+
return path.join(typeRoot, name, "SKILL.md");
|
|
17
|
+
},
|
|
18
|
+
buildShowResponse(input) {
|
|
19
|
+
return {
|
|
20
|
+
type: "skill",
|
|
21
|
+
name: input.name,
|
|
22
|
+
path: input.path,
|
|
23
|
+
content: input.content,
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
defaultUsageGuide: [
|
|
27
|
+
"Read and apply the skill instructions as written, then adapt examples to your current repo state and task.",
|
|
28
|
+
"Use `akm show <openRef>` to read the full SKILL.md for required steps and constraints.",
|
|
29
|
+
],
|
|
30
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import path from "node:path";
|
|
2
|
+
import { SCRIPT_EXTENSIONS } from "../asset-spec";
|
|
3
|
+
import { hasErrnoCode, toPosix } from "../common";
|
|
4
|
+
import { buildToolInfo } from "../tool-runner";
|
|
5
|
+
import { extractDescriptionFromComments } from "../metadata";
|
|
6
|
+
export const toolHandler = {
|
|
7
|
+
typeName: "tool",
|
|
8
|
+
stashDir: "tools",
|
|
9
|
+
isRelevantFile(fileName) {
|
|
10
|
+
return SCRIPT_EXTENSIONS.has(path.extname(fileName).toLowerCase());
|
|
11
|
+
},
|
|
12
|
+
toCanonicalName(typeRoot, filePath) {
|
|
13
|
+
return toPosix(path.relative(typeRoot, filePath));
|
|
14
|
+
},
|
|
15
|
+
toAssetPath(typeRoot, name) {
|
|
16
|
+
return path.join(typeRoot, name);
|
|
17
|
+
},
|
|
18
|
+
buildShowResponse(input) {
|
|
19
|
+
const stashDirs = input.stashDirs ?? [];
|
|
20
|
+
const assetStashDir = stashDirs.find((d) => path.resolve(input.path).startsWith(path.resolve(d) + path.sep)) ?? stashDirs[0];
|
|
21
|
+
if (!assetStashDir) {
|
|
22
|
+
return { type: "tool", name: input.name, path: input.path, content: input.content };
|
|
23
|
+
}
|
|
24
|
+
const toolInfo = buildToolInfo(assetStashDir, input.path);
|
|
25
|
+
return {
|
|
26
|
+
type: "tool",
|
|
27
|
+
name: input.name,
|
|
28
|
+
path: input.path,
|
|
29
|
+
runCmd: toolInfo.runCmd,
|
|
30
|
+
kind: toolInfo.kind,
|
|
31
|
+
};
|
|
32
|
+
},
|
|
33
|
+
enrichSearchHit(hit, stashDir) {
|
|
34
|
+
try {
|
|
35
|
+
const toolInfo = buildToolInfo(stashDir, hit.path);
|
|
36
|
+
hit.runCmd = toolInfo.runCmd;
|
|
37
|
+
hit.kind = toolInfo.kind;
|
|
38
|
+
}
|
|
39
|
+
catch (error) {
|
|
40
|
+
if (!hasErrnoCode(error, "ENOENT"))
|
|
41
|
+
throw error;
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
defaultUsageGuide: [
|
|
45
|
+
"Use the hit's runCmd for execution so runtime and working directory stay correct.",
|
|
46
|
+
"Use `akm show <openRef>` to inspect the tool before running it.",
|
|
47
|
+
],
|
|
48
|
+
extractTypeMetadata(entry, file, ext) {
|
|
49
|
+
if (SCRIPT_EXTENSIONS.has(ext) && ext !== ".md") {
|
|
50
|
+
const commentDesc = extractDescriptionFromComments(file);
|
|
51
|
+
if (commentDesc && !entry.description) {
|
|
52
|
+
entry.description = commentDesc;
|
|
53
|
+
entry.source = "comments";
|
|
54
|
+
entry.confidence = 0.7;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
};
|
package/dist/src/indexer.d.ts
CHANGED
|
@@ -1,24 +1,4 @@
|
|
|
1
1
|
import { type StashEntry } from "./metadata";
|
|
2
|
-
import { type SerializedTfIdf } from "./similarity";
|
|
3
|
-
import type { EmbeddingVector } from "./embedder";
|
|
4
|
-
export interface IndexedEntry {
|
|
5
|
-
entry: StashEntry;
|
|
6
|
-
path: string;
|
|
7
|
-
dirPath: string;
|
|
8
|
-
embedding?: EmbeddingVector;
|
|
9
|
-
}
|
|
10
|
-
export interface SearchIndex {
|
|
11
|
-
version: number;
|
|
12
|
-
builtAt: string;
|
|
13
|
-
stashDir: string;
|
|
14
|
-
/** All stash directories that were indexed (primary + additional) */
|
|
15
|
-
stashDirs?: string[];
|
|
16
|
-
entries: IndexedEntry[];
|
|
17
|
-
/** Serialized TF-IDF state (term frequencies, idf values) */
|
|
18
|
-
tfidf?: SerializedTfIdf;
|
|
19
|
-
/** Whether embeddings are included in entries */
|
|
20
|
-
hasEmbeddings?: boolean;
|
|
21
|
-
}
|
|
22
2
|
export interface IndexResponse {
|
|
23
3
|
stashDir: string;
|
|
24
4
|
totalEntries: number;
|
|
@@ -32,11 +12,9 @@ export interface IndexResponse {
|
|
|
32
12
|
totalMs: number;
|
|
33
13
|
walkMs: number;
|
|
34
14
|
embedMs: number;
|
|
35
|
-
|
|
15
|
+
ftsMs: number;
|
|
36
16
|
};
|
|
37
17
|
}
|
|
38
|
-
export declare function getIndexPath(): string;
|
|
39
|
-
export declare function loadSearchIndex(): SearchIndex | null;
|
|
40
18
|
export declare function agentikitIndex(options?: {
|
|
41
19
|
stashDir?: string;
|
|
42
20
|
full?: boolean;
|