@nuvin/agent-core 0.2.0-rc.9 → 0.2.0
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/VERSION +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/chunk-D5IVWJHX.js +1 -1
- package/dist/chunk-FFIZ6TKW.js +1 -1
- package/dist/chunk-GAZGO6N7.js +1 -0
- package/dist/chunk-IUZALP6K.js +1 -1
- package/dist/chunk-KIIEBXJF.js +1 -0
- package/dist/chunk-LIE76IJA.js +1 -1
- package/dist/chunk-X7VAACWY.js +1 -1
- package/dist/chunk-YNOIG4FD.js +1 -1
- package/dist/formats/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/shared/types.d.ts +11 -2
- package/dist/tools/{internal-tool-runtime.d.ts → core/internal-tool-runtime.d.ts} +1 -1
- package/dist/tools/core/mock-tool-runtime.d.ts +3 -0
- package/dist/tools/core/runtime-manager-tools.d.ts +132 -0
- package/dist/tools/{tool-output-offload.d.ts → core/tool-output-offload.d.ts} +1 -1
- package/dist/tools/{tools.d.ts → core/tools.d.ts} +1 -1
- package/dist/tools/file-editing/anchored-file-edit.d.ts +53 -0
- package/dist/tools/file-editing/anchored-file-errors.d.ts +5 -0
- package/dist/tools/file-editing/anchored-file-operations.d.ts +38 -0
- package/dist/tools/file-editing/anchored-file-read.d.ts +37 -0
- package/dist/tools/file-editing/atomic-file-write.d.ts +19 -0
- package/dist/tools/file-editing/file-edit-tool.d.ts +166 -0
- package/dist/tools/file-editing/file-mutation-coordinator.d.ts +13 -0
- package/dist/tools/{file-new-tool.d.ts → file-editing/file-new-tool.d.ts} +5 -2
- package/dist/tools/file-editing/file-observation-store.d.ts +40 -0
- package/dist/tools/{file-read-tool.d.ts → file-editing/file-read-tool.d.ts} +8 -2
- package/dist/tools/file-editing/file-snapshot.d.ts +16 -0
- package/dist/tools/file-editing/hashline-file-edit-adapter.d.ts +19 -0
- package/dist/tools/file-editing/structured-file-edit-adapter.d.ts +94 -0
- package/dist/tools/file-editing/workspace-paths.d.ts +20 -0
- package/dist/tools/index.d.ts +43 -34
- package/dist/tools/index.js +1 -1
- package/dist/tools/{mcp-connection-generation.d.ts → mcp/mcp-connection-generation.d.ts} +1 -1
- package/dist/tools/{mcp-tool-adapter.d.ts → mcp/mcp-tool-adapter.d.ts} +3 -3
- package/dist/tools/{glob-tool.d.ts → search/glob-tool.d.ts} +2 -2
- package/dist/tools/{grep-tool.d.ts → search/grep-tool.d.ts} +2 -2
- package/dist/tools/{ls-tool.d.ts → search/ls-tool.d.ts} +2 -2
- package/dist/tools/{view-file-tool.d.ts → search/view-file-tool.d.ts} +2 -2
- package/dist/tools/{ask-user-tool.d.ts → session/ask-user-tool.d.ts} +4 -4
- package/dist/tools/{lsp-tool.d.ts → session/lsp-tool.d.ts} +5 -5
- package/dist/tools/{skill-tool.d.ts → session/skill-tool.d.ts} +2 -2
- package/dist/tools/{todo-write-tool.d.ts → session/todo-write-tool.d.ts} +2 -2
- package/dist/tools/session/update-topic-tool.d.ts +12 -0
- package/dist/tools/{bash-output-tool.d.ts → shell/bash-output-tool.d.ts} +2 -2
- package/dist/tools/{bash-tool.d.ts → shell/bash-tool.d.ts} +5 -5
- package/dist/tools/{command-tool.d.ts → shell/command-tool.d.ts} +2 -2
- package/dist/tools/{kill-shell-tool.d.ts → shell/kill-shell-tool.d.ts} +2 -2
- package/dist/tools/{web-fetch-tool.d.ts → web/web-fetch-tool.d.ts} +2 -2
- package/dist/tools/{web-search-tool.d.ts → web/web-search-tool.d.ts} +2 -2
- package/package.json +3 -2
- package/dist/chunk-VYW6MSQ3.js +0 -1
- package/dist/tools/file-edit-tool.d.ts +0 -34
- package/dist/tools/mock-tool-runtime.d.ts +0 -3
- package/dist/tools/runtime-manager-tools.d.ts +0 -79
- package/dist/tools/update-topic-tool.d.ts +0 -12
- package/dist/tools/workspace-paths.d.ts +0 -5
- /package/dist/tools/{file-mutation.d.ts → file-editing/file-mutation.d.ts} +0 -0
- /package/dist/tools/{mcp-oauth-provider.d.ts → mcp/mcp-oauth-provider.d.ts} +0 -0
- /package/dist/tools/{mcp-safe-error-provenance.d.ts → mcp/mcp-safe-error-provenance.d.ts} +0 -0
- /package/dist/tools/{mcp-safe-error.d.ts → mcp/mcp-safe-error.d.ts} +0 -0
- /package/dist/tools/{mcp-server-manager.d.ts → mcp/mcp-server-manager.d.ts} +0 -0
- /package/dist/tools/{grep-engine.d.ts → search/grep-engine.d.ts} +0 -0
- /package/dist/tools/{ripgrep.d.ts → search/ripgrep.d.ts} +0 -0
- /package/dist/tools/{background-process-registry.d.ts → shell/background-process-registry.d.ts} +0 -0
- /package/dist/tools/{bash-internals.d.ts → shell/bash-internals.d.ts} +0 -0
- /package/dist/tools/{process-tree-termination.d.ts → shell/process-tree-termination.d.ts} +0 -0
- /package/dist/tools/{terminal-output-normalizer.d.ts → shell/terminal-output-normalizer.d.ts} +0 -0
- /package/dist/tools/{safe-fetch.d.ts → web/safe-fetch.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MCPServerConfig } from "@nuvin/config";
|
|
2
|
-
import type { AnyToolDefinition, ToolDefinitionLifecycle, ToolPermissionClass } from "
|
|
2
|
+
import type { AnyToolDefinition, ToolDefinitionLifecycle, ToolPermissionClass } from "../../shared/types.ts";
|
|
3
3
|
import { type McpServerToolInfo, type McpToolClient, type McpToolDescriptor } from "./mcp-tool-adapter.ts";
|
|
4
4
|
export interface McpTimeoutSource {
|
|
5
5
|
get(): number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CallToolResult } from "@modelcontextprotocol/sdk/types.js";
|
|
2
|
-
import type { AnyToolDefinition, JsonObject, JsonSchema, JsonSchemaObject, JsonValue, ToolDefinitionLifecycle, ToolPermissionClass } from "
|
|
2
|
+
import type { AnyToolDefinition, JsonObject, JsonSchema, JsonSchemaObject, JsonValue, ToolDefinitionLifecycle, ToolPermissionClass } from "../../shared/types.ts";
|
|
3
3
|
export interface McpToolDescriptor {
|
|
4
4
|
name: string;
|
|
5
5
|
description?: string;
|
|
@@ -42,7 +42,7 @@ export declare function createMcpTool(options: {
|
|
|
42
42
|
client: McpToolClient;
|
|
43
43
|
permissionClass: ToolPermissionClass;
|
|
44
44
|
internalLifecycle?: ToolDefinitionLifecycle;
|
|
45
|
-
}): import("
|
|
45
|
+
}): import("../../shared/types.ts").ToolDefinition<{
|
|
46
46
|
[x: string]: JsonValue | (JsonValue | (JsonValue | (JsonValue | (JsonValue | (JsonValue | (JsonValue | (JsonValue | (JsonValue | (JsonValue | (JsonValue | (JsonValue | /*elided*/ any | {
|
|
47
47
|
[x: string]: JsonValue | /*elided*/ any | /*elided*/ any;
|
|
48
48
|
})[] | {
|
|
@@ -68,5 +68,5 @@ export declare function createMcpTool(options: {
|
|
|
68
68
|
})[] | {
|
|
69
69
|
[x: string]: JsonValue | (JsonValue | (JsonValue | (JsonValue | (JsonValue | (JsonValue | (JsonValue | (JsonValue | (JsonValue | (JsonValue | (JsonValue | (JsonValue | /*elided*/ any | /*elided*/ any)[] | /*elided*/ any)[] | /*elided*/ any)[] | /*elided*/ any)[] | /*elided*/ any)[] | /*elided*/ any)[] | /*elided*/ any)[] | /*elided*/ any)[] | /*elided*/ any)[] | /*elided*/ any)[] | /*elided*/ any)[] | /*elided*/ any;
|
|
70
70
|
};
|
|
71
|
-
}, import("
|
|
71
|
+
}, import("../../shared/types.ts").ToolOutputEnvelope, undefined, JsonSchemaObject<Record<string, JsonSchema>, readonly string[] | undefined>>;
|
|
72
72
|
//# sourceMappingURL=mcp-tool-adapter.d.ts.map
|
|
@@ -4,11 +4,11 @@ export interface GlobToolOptions {
|
|
|
4
4
|
limit?: number;
|
|
5
5
|
name?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare function createGlobTool(options?: GlobToolOptions): import("
|
|
7
|
+
export declare function createGlobTool(options?: GlobToolOptions): import("../../shared/types.ts").ToolDefinition<{
|
|
8
8
|
pattern: string;
|
|
9
9
|
path?: string | undefined;
|
|
10
10
|
limit?: number | undefined;
|
|
11
|
-
}, import("
|
|
11
|
+
}, import("../../shared/types.ts").ToolOutputEnvelope, undefined, {
|
|
12
12
|
type: "object";
|
|
13
13
|
properties: {
|
|
14
14
|
pattern: {
|
|
@@ -4,13 +4,13 @@ export interface GrepToolOptions {
|
|
|
4
4
|
limit?: number;
|
|
5
5
|
name?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare function createGrepTool(options?: GrepToolOptions): import("
|
|
7
|
+
export declare function createGrepTool(options?: GrepToolOptions): import("../../shared/types.ts").ToolDefinition<{
|
|
8
8
|
pattern: string;
|
|
9
9
|
include?: string | undefined;
|
|
10
10
|
path?: string | undefined;
|
|
11
11
|
context?: number | undefined;
|
|
12
12
|
limit?: number | undefined;
|
|
13
|
-
}, import("
|
|
13
|
+
}, import("../../shared/types.ts").ToolOutputEnvelope, undefined, {
|
|
14
14
|
type: "object";
|
|
15
15
|
properties: {
|
|
16
16
|
pattern: {
|
|
@@ -3,10 +3,10 @@ export interface LsToolOptions {
|
|
|
3
3
|
defaultCwd?: string;
|
|
4
4
|
name?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function createLsTool(options?: LsToolOptions): import("
|
|
6
|
+
export declare function createLsTool(options?: LsToolOptions): import("../../shared/types.ts").ToolDefinition<{
|
|
7
7
|
path: string;
|
|
8
8
|
limit: number;
|
|
9
|
-
}, import("
|
|
9
|
+
}, import("../../shared/types.ts").ToolOutputEnvelope, undefined, {
|
|
10
10
|
type: "object";
|
|
11
11
|
properties: {
|
|
12
12
|
path: {
|
|
@@ -4,10 +4,10 @@ export interface ViewFileToolOptions {
|
|
|
4
4
|
maxBytes?: number;
|
|
5
5
|
name?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare function createViewFileTool(options?: ViewFileToolOptions): import("
|
|
7
|
+
export declare function createViewFileTool(options?: ViewFileToolOptions): import("../../shared/types.ts").ToolDefinition<{
|
|
8
8
|
path: string;
|
|
9
9
|
detail?: string | undefined;
|
|
10
|
-
}, import("
|
|
10
|
+
}, import("../../shared/types.ts").ToolOutputEnvelope, undefined, {
|
|
11
11
|
type: "object";
|
|
12
12
|
properties: {
|
|
13
13
|
path: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export declare function createAskUserTool(): import("
|
|
1
|
+
export declare function createAskUserTool(): import("../../shared/types.ts").ToolDefinition<{
|
|
2
2
|
answers: {};
|
|
3
3
|
questions: {
|
|
4
|
-
question: string;
|
|
5
|
-
topic: string;
|
|
6
4
|
options: {
|
|
7
5
|
description: string;
|
|
8
6
|
label: string;
|
|
9
7
|
}[];
|
|
8
|
+
question: string;
|
|
9
|
+
topic: string;
|
|
10
10
|
multiSelect: boolean;
|
|
11
11
|
}[];
|
|
12
|
-
}, import("
|
|
12
|
+
}, import("../../shared/types.ts").ToolOutputEnvelope, import("../../shared/types.ts").ToolOutputEnvelope | undefined, {
|
|
13
13
|
type: "object";
|
|
14
14
|
properties: {
|
|
15
15
|
questions: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type { LspService } from "
|
|
1
|
+
import type { LspService } from "../../lsp/index.ts";
|
|
2
2
|
export interface LspToolOptions {
|
|
3
3
|
defaultCwd?: string;
|
|
4
4
|
allowedDirs?: readonly string[];
|
|
5
5
|
lspService?: LspService;
|
|
6
6
|
name?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare function createLspTool(options?: LspToolOptions): import("
|
|
9
|
-
filePath: string;
|
|
8
|
+
export declare function createLspTool(options?: LspToolOptions): import("../../shared/types.ts").ToolDefinition<{
|
|
10
9
|
line: number;
|
|
11
|
-
character: number;
|
|
12
10
|
operation: string;
|
|
11
|
+
filePath: string;
|
|
12
|
+
character: number;
|
|
13
13
|
query?: string | undefined;
|
|
14
|
-
}, import("
|
|
14
|
+
}, import("../../shared/types.ts").ToolOutputEnvelope, undefined, {
|
|
15
15
|
type: "object";
|
|
16
16
|
properties: {
|
|
17
17
|
operation: {
|
|
@@ -19,9 +19,9 @@ export interface SkillToolOptions<TRef extends SkillReference = SkillReference>
|
|
|
19
19
|
skills: TRef[];
|
|
20
20
|
loadSkill: (reference: TRef) => Promise<LoadedSkill>;
|
|
21
21
|
}
|
|
22
|
-
export declare function createLoadSkillTool<TRef extends SkillReference>(options: SkillToolOptions<TRef>): import("
|
|
22
|
+
export declare function createLoadSkillTool<TRef extends SkillReference>(options: SkillToolOptions<TRef>): import("../../shared/types.ts").ToolDefinition<{
|
|
23
23
|
name: string;
|
|
24
|
-
}, import("
|
|
24
|
+
}, import("../../shared/types.ts").ToolOutputEnvelope, undefined, {
|
|
25
25
|
type: "object";
|
|
26
26
|
properties: {
|
|
27
27
|
name: {
|
|
@@ -24,7 +24,7 @@ declare class TodoStore {
|
|
|
24
24
|
setTodos(sessionId: string, todos: TodoItem[]): void;
|
|
25
25
|
getStats(sessionId: string): TodoStats;
|
|
26
26
|
}
|
|
27
|
-
export declare function createTodoWriteTool(store?: TodoStore): import("
|
|
27
|
+
export declare function createTodoWriteTool(store?: TodoStore): import("../../shared/types.ts").ToolDefinition<{
|
|
28
28
|
todos: {
|
|
29
29
|
id: string;
|
|
30
30
|
content: string;
|
|
@@ -32,7 +32,7 @@ export declare function createTodoWriteTool(store?: TodoStore): import("../share
|
|
|
32
32
|
priority: string;
|
|
33
33
|
createdAt: string;
|
|
34
34
|
}[];
|
|
35
|
-
}, never, import("
|
|
35
|
+
}, never, import("../../shared/types.ts").ToolOutputEnvelope, {
|
|
36
36
|
type: "object";
|
|
37
37
|
properties: {
|
|
38
38
|
todos: {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare function createUpdateTopicTool(): import("../../shared/types.ts").ToolDefinition<{
|
|
2
|
+
topic: string;
|
|
3
|
+
}, import("../../shared/types.ts").ToolOutputEnvelope, undefined, {
|
|
4
|
+
readonly type: "object";
|
|
5
|
+
readonly properties: {
|
|
6
|
+
readonly topic: {
|
|
7
|
+
readonly type: "string";
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
readonly required: readonly ["topic"];
|
|
11
|
+
}>;
|
|
12
|
+
//# sourceMappingURL=update-topic-tool.d.ts.map
|
|
@@ -2,10 +2,10 @@ import type { BackgroundProcessRegistry } from "./background-process-registry.ts
|
|
|
2
2
|
export interface BashOutputToolOptions {
|
|
3
3
|
registry: BackgroundProcessRegistry;
|
|
4
4
|
}
|
|
5
|
-
export declare function createBashOutputTool(options: BashOutputToolOptions): import("
|
|
5
|
+
export declare function createBashOutputTool(options: BashOutputToolOptions): import("../../shared/types.ts").ToolDefinition<{
|
|
6
6
|
shellId: string;
|
|
7
7
|
regex?: string | undefined;
|
|
8
|
-
}, never, import("
|
|
8
|
+
}, never, import("../../shared/types.ts").ToolOutputEnvelope, {
|
|
9
9
|
type: "object";
|
|
10
10
|
properties: {
|
|
11
11
|
shellId: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BashExecutionTarget, ToolExecutionContext } from "
|
|
1
|
+
import type { BashExecutionTarget, ToolExecutionContext } from "../../shared/types.ts";
|
|
2
2
|
import type { BackgroundProcessRegistry } from "./background-process-registry.ts";
|
|
3
3
|
export interface BashToolInput {
|
|
4
4
|
command: string;
|
|
@@ -24,7 +24,7 @@ export interface BashToolOptions {
|
|
|
24
24
|
verifyExecution?: (target: BashExecutionTarget, authorization: unknown, ctx: ToolExecutionContext) => Promise<void> | void;
|
|
25
25
|
}
|
|
26
26
|
export declare function resolveBashExecutionTarget(input: Pick<BashToolInput, "command" | "cwd" | "runInBackground">, options?: Pick<BashToolOptions, "allowedDirs" | "defaultCwd" | "shellPath">): BashExecutionTarget;
|
|
27
|
-
export declare function createBashTool(options?: BashToolOptions): import("
|
|
27
|
+
export declare function createBashTool(options?: BashToolOptions): import("../../shared/types.ts").ToolDefinition<{
|
|
28
28
|
description: string;
|
|
29
29
|
command: string;
|
|
30
30
|
timeoutMs?: number | undefined;
|
|
@@ -32,7 +32,7 @@ export declare function createBashTool(options?: BashToolOptions): import("../sh
|
|
|
32
32
|
runInBackground?: boolean | undefined;
|
|
33
33
|
ignoreOutput?: boolean | undefined;
|
|
34
34
|
outputRegex?: string | undefined;
|
|
35
|
-
}, string, import("
|
|
35
|
+
}, string, import("../../shared/types.ts").ToolOutputEnvelope, {
|
|
36
36
|
type: "object";
|
|
37
37
|
properties: {
|
|
38
38
|
command: {
|
|
@@ -61,7 +61,7 @@ export declare function createBashTool(options?: BashToolOptions): import("../sh
|
|
|
61
61
|
};
|
|
62
62
|
required: readonly ["command", "description"];
|
|
63
63
|
}>;
|
|
64
|
-
export declare function createShellExecTool(options?: BashToolOptions): import("
|
|
64
|
+
export declare function createShellExecTool(options?: BashToolOptions): import("../../shared/types.ts").ToolDefinition<{
|
|
65
65
|
description: string;
|
|
66
66
|
command: string;
|
|
67
67
|
timeoutMs?: number | undefined;
|
|
@@ -69,7 +69,7 @@ export declare function createShellExecTool(options?: BashToolOptions): import("
|
|
|
69
69
|
runInBackground?: boolean | undefined;
|
|
70
70
|
ignoreOutput?: boolean | undefined;
|
|
71
71
|
outputRegex?: string | undefined;
|
|
72
|
-
}, string, import("
|
|
72
|
+
}, string, import("../../shared/types.ts").ToolOutputEnvelope, {
|
|
73
73
|
type: "object";
|
|
74
74
|
properties: {
|
|
75
75
|
command: {
|
|
@@ -5,10 +5,10 @@ export interface CommandToolOptions<TRef extends CommandReference = CommandRefer
|
|
|
5
5
|
commands: TRef[];
|
|
6
6
|
loadCommand: (reference: TRef) => Promise<LoadedCommand>;
|
|
7
7
|
}
|
|
8
|
-
export declare function createInvokeCommandTool<TRef extends CommandReference>(options: CommandToolOptions<TRef>): import("
|
|
8
|
+
export declare function createInvokeCommandTool<TRef extends CommandReference>(options: CommandToolOptions<TRef>): import("../../shared/types.ts").ToolDefinition<{
|
|
9
9
|
name: string;
|
|
10
10
|
args?: string | undefined;
|
|
11
|
-
}, import("
|
|
11
|
+
}, import("../../shared/types.ts").ToolOutputEnvelope, undefined, {
|
|
12
12
|
type: "object";
|
|
13
13
|
properties: {
|
|
14
14
|
name: {
|
|
@@ -2,9 +2,9 @@ import type { BackgroundProcessRegistry } from "./background-process-registry.ts
|
|
|
2
2
|
export interface KillShellToolOptions {
|
|
3
3
|
registry: BackgroundProcessRegistry;
|
|
4
4
|
}
|
|
5
|
-
export declare function createKillShellTool(options: KillShellToolOptions): import("
|
|
5
|
+
export declare function createKillShellTool(options: KillShellToolOptions): import("../../shared/types.ts").ToolDefinition<{
|
|
6
6
|
shellId: string;
|
|
7
|
-
}, never, import("
|
|
7
|
+
}, never, import("../../shared/types.ts").ToolOutputEnvelope, {
|
|
8
8
|
type: "object";
|
|
9
9
|
properties: {
|
|
10
10
|
shellId: {
|
|
@@ -5,10 +5,10 @@ export interface WebFetchToolOptions {
|
|
|
5
5
|
/** DNS resolver used by the SSRF guard. Injectable for tests. */
|
|
6
6
|
lookup?: SafeFetchLookup;
|
|
7
7
|
}
|
|
8
|
-
export declare function createWebFetchTool(options?: WebFetchToolOptions): import("
|
|
8
|
+
export declare function createWebFetchTool(options?: WebFetchToolOptions): import("../../shared/types.ts").ToolDefinition<{
|
|
9
9
|
url: string;
|
|
10
10
|
description?: string | undefined;
|
|
11
|
-
}, import("
|
|
11
|
+
}, import("../../shared/types.ts").ToolOutputEnvelope, undefined, {
|
|
12
12
|
type: "object";
|
|
13
13
|
properties: {
|
|
14
14
|
description: {
|
|
@@ -18,7 +18,7 @@ export interface WebSearchToolOptions {
|
|
|
18
18
|
/** DNS resolver used by the SSRF guard when hydrating result pages. Injectable for tests. */
|
|
19
19
|
lookup?: SafeFetchLookup;
|
|
20
20
|
}
|
|
21
|
-
export declare function createWebSearchTool(options: WebSearchToolOptions): import("
|
|
21
|
+
export declare function createWebSearchTool(options: WebSearchToolOptions): import("../../shared/types.ts").ToolDefinition<{
|
|
22
22
|
query: string;
|
|
23
23
|
type?: string | undefined;
|
|
24
24
|
description?: string | undefined;
|
|
@@ -30,7 +30,7 @@ export declare function createWebSearchTool(options: WebSearchToolOptions): impo
|
|
|
30
30
|
lang?: string | undefined;
|
|
31
31
|
region?: string | undefined;
|
|
32
32
|
hydrateMeta?: boolean | undefined;
|
|
33
|
-
}, import("
|
|
33
|
+
}, import("../../shared/types.ts").ToolOutputEnvelope, undefined, {
|
|
34
34
|
type: "object";
|
|
35
35
|
properties: {
|
|
36
36
|
description: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuvin/agent-core",
|
|
3
|
-
"version": "0.2.0
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Core agent, model, format, and tool primitives for Nuvin",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"tsup": "^8.5.1",
|
|
53
53
|
"typescript": "^6.0.2",
|
|
54
54
|
"vitest": "^4.1.2",
|
|
55
|
-
"@nuvin/config": "0.3.0
|
|
55
|
+
"@nuvin/config": "0.3.0"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@anthropic-ai/sdk": "^0.82.0",
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"@vscode/ripgrep": "^1.18.0",
|
|
61
61
|
"cheerio": "^1.0.0",
|
|
62
62
|
"openai": "^6.33.0",
|
|
63
|
+
"string-width": "^8.1.0",
|
|
63
64
|
"turndown": "^7.2.4",
|
|
64
65
|
"vscode-jsonrpc": "^8.2.0",
|
|
65
66
|
"vscode-languageserver-protocol": "^3.17.5",
|