@deepagents/experimental 7.9.0 → 7.10.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/README.md +16 -4
- package/dist/coding-agent-reminders/context.d.ts.map +1 -1
- package/dist/coding-agent-reminders/evaluate.d.ts.map +1 -1
- package/dist/coding-agent-reminders/index.d.ts.map +1 -1
- package/dist/coding-agent-reminders/io.d.ts.map +1 -1
- package/dist/coding-agent-reminders/predicates/classifier.d.ts.map +1 -1
- package/dist/coding-agent-reminders/predicates/combinators.d.ts.map +1 -1
- package/dist/coding-agent-reminders/predicates/content.d.ts +1 -1
- package/dist/coding-agent-reminders/predicates/content.d.ts.map +1 -1
- package/dist/coding-agent-reminders/predicates/count.d.ts.map +1 -1
- package/dist/coding-agent-reminders/predicates/environment.d.ts.map +1 -1
- package/dist/coding-agent-reminders/predicates/event.d.ts.map +1 -1
- package/dist/coding-agent-reminders/predicates/index.d.ts.map +1 -1
- package/dist/coding-agent-reminders/predicates/tool.d.ts.map +1 -1
- package/dist/coding-agent-reminders/types.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4010 -3686
- package/dist/index.js.map +4 -4
- package/dist/providers/account-tokens.d.ts.map +1 -1
- package/dist/providers/claude/accounts.d.ts.map +1 -1
- package/dist/providers/claude/errors.d.ts.map +1 -1
- package/dist/providers/claude/index.d.ts.map +1 -1
- package/dist/providers/claude/local-credentials.d.ts.map +1 -1
- package/dist/providers/claude/oauth.d.ts.map +1 -1
- package/dist/providers/claude/provider.d.ts.map +1 -1
- package/dist/providers/codex/accounts.d.ts.map +1 -1
- package/dist/providers/codex/errors.d.ts.map +1 -1
- package/dist/providers/codex/generate-via-stream.d.ts.map +1 -1
- package/dist/providers/codex/index.d.ts.map +1 -1
- package/dist/providers/codex/local-credentials.d.ts.map +1 -1
- package/dist/providers/codex/provider.d.ts.map +1 -1
- package/dist/providers/language-model-provider.d.ts.map +1 -1
- package/dist/providers/request-signal.d.ts.map +1 -1
- package/dist/zukhruf/agent.d.ts.map +1 -1
- package/dist/zukhruf/collaboration/agent-tool-context.d.ts.map +1 -1
- package/dist/zukhruf/collaboration/capability.d.ts +22 -0
- package/dist/zukhruf/collaboration/capability.d.ts.map +1 -0
- package/dist/zukhruf/collaboration/code-mode-tools.d.ts +13 -0
- package/dist/zukhruf/collaboration/code-mode-tools.d.ts.map +1 -0
- package/dist/zukhruf/collaboration/direct-messaging.d.ts +466 -0
- package/dist/zukhruf/collaboration/direct-messaging.d.ts.map +1 -0
- package/dist/zukhruf/collaboration/direct-tools.d.ts +14 -0
- package/dist/zukhruf/collaboration/direct-tools.d.ts.map +1 -0
- package/dist/zukhruf/collaboration/interrupt-agent.d.ts +4 -4
- package/dist/zukhruf/collaboration/interrupt-agent.d.ts.map +1 -1
- package/dist/zukhruf/collaboration/list-agents.d.ts +4 -4
- package/dist/zukhruf/collaboration/list-agents.d.ts.map +1 -1
- package/dist/zukhruf/collaboration/message-tools.d.ts +8 -8
- package/dist/zukhruf/collaboration/message-tools.d.ts.map +1 -1
- package/dist/zukhruf/collaboration/spawn-agent.d.ts +30 -30
- package/dist/zukhruf/collaboration/spawn-agent.d.ts.map +1 -1
- package/dist/zukhruf/collaboration/spawning.d.ts +325 -0
- package/dist/zukhruf/collaboration/spawning.d.ts.map +1 -0
- package/dist/zukhruf/collaboration/supervision.d.ts +478 -0
- package/dist/zukhruf/collaboration/supervision.d.ts.map +1 -0
- package/dist/zukhruf/collaboration/team.d.ts +1549 -0
- package/dist/zukhruf/collaboration/team.d.ts.map +1 -0
- package/dist/zukhruf/collaboration/tool-exposure.d.ts +29 -0
- package/dist/zukhruf/collaboration/tool-exposure.d.ts.map +1 -0
- package/dist/zukhruf/collaboration/tool-namespace.d.ts +7 -0
- package/dist/zukhruf/collaboration/tool-namespace.d.ts.map +1 -0
- package/dist/zukhruf/collaboration/wait-agent.d.ts +4 -4
- package/dist/zukhruf/collaboration/wait-agent.d.ts.map +1 -1
- package/dist/zukhruf/collaboration/wait-bounds.d.ts +12 -0
- package/dist/zukhruf/collaboration/wait-bounds.d.ts.map +1 -0
- package/dist/zukhruf/collaboration/waiting.d.ts +262 -0
- package/dist/zukhruf/collaboration/waiting.d.ts.map +1 -0
- package/dist/zukhruf/control-plane/agent-control-plane.d.ts +2 -4
- package/dist/zukhruf/control-plane/agent-control-plane.d.ts.map +1 -1
- package/dist/zukhruf/control-plane/agent-declaration-registry.d.ts.map +1 -1
- package/dist/zukhruf/control-plane/agent-directory.d.ts +2 -0
- package/dist/zukhruf/control-plane/agent-directory.d.ts.map +1 -1
- package/dist/zukhruf/control-plane/agent-history-forker.d.ts.map +1 -1
- package/dist/zukhruf/control-plane/agent-path.d.ts.map +1 -1
- package/dist/zukhruf/control-plane/agent-residency.d.ts +60 -0
- package/dist/zukhruf/control-plane/agent-residency.d.ts.map +1 -0
- package/dist/zukhruf/control-plane/agent-status-projector.d.ts +4 -4
- package/dist/zukhruf/control-plane/agent-status-projector.d.ts.map +1 -1
- package/dist/zukhruf/control-plane/agent-thread-limit-error.d.ts.map +1 -1
- package/dist/zukhruf/control-plane/agent-thread.d.ts.map +1 -1
- package/dist/zukhruf/control-plane/agent-turn-id.d.ts.map +1 -1
- package/dist/zukhruf/control-plane/conversation-not-found-error.d.ts.map +1 -1
- package/dist/zukhruf/control-plane/fork-turns.d.ts +4 -3
- package/dist/zukhruf/control-plane/fork-turns.d.ts.map +1 -1
- package/dist/zukhruf/control-plane/stale-turn-error.d.ts.map +1 -1
- package/dist/zukhruf/control-plane/turn-not-found-error.d.ts.map +1 -1
- package/dist/zukhruf/index.d.ts +11 -1
- package/dist/zukhruf/index.d.ts.map +1 -1
- package/dist/zukhruf/index.js +4010 -3686
- package/dist/zukhruf/index.js.map +4 -4
- package/dist/zukhruf/instructions.d.ts.map +1 -1
- package/dist/zukhruf/is-named-error.d.ts.map +1 -1
- package/dist/zukhruf/mailbox/communication-schema.d.ts +3 -3
- package/dist/zukhruf/mailbox/communication-schema.d.ts.map +1 -1
- package/dist/zukhruf/mailbox/coordinator.d.ts +8 -4
- package/dist/zukhruf/mailbox/coordinator.d.ts.map +1 -1
- package/dist/zukhruf/mailbox/ddl.postgres.d.ts.map +1 -1
- package/dist/zukhruf/mailbox/ddl.sqlite.d.ts +0 -1
- package/dist/zukhruf/mailbox/ddl.sqlite.d.ts.map +1 -1
- package/dist/zukhruf/mailbox/postgres.store.d.ts.map +1 -1
- package/dist/zukhruf/mailbox/sqlite.store.d.ts.map +1 -1
- package/dist/zukhruf/mailbox/store.d.ts.map +1 -1
- package/dist/zukhruf/mailbox/types.d.ts +5 -5
- package/dist/zukhruf/mailbox/types.d.ts.map +1 -1
- package/dist/zukhruf/plugins/conversation-scheduling/conversation-scheduler.d.ts +2 -2
- package/dist/zukhruf/plugins/conversation-scheduling/conversation-scheduler.d.ts.map +1 -1
- package/dist/zukhruf/plugins/conversation-scheduling/index.d.ts.map +1 -1
- package/dist/zukhruf/plugins/conversation-scheduling/index.js +192 -178
- package/dist/zukhruf/plugins/conversation-scheduling/index.js.map +4 -4
- package/dist/zukhruf/plugins/conversation-scheduling/pg-boss.wake-scheduler.d.ts +1 -1
- package/dist/zukhruf/plugins/conversation-scheduling/pg-boss.wake-scheduler.d.ts.map +1 -1
- package/dist/zukhruf/plugins/conversation-scheduling/tools.d.ts +16 -16
- package/dist/zukhruf/plugins/conversation-scheduling/tools.d.ts.map +1 -1
- package/dist/zukhruf/plugins/conversation-scheduling/wake-scheduler.d.ts +1 -1
- package/dist/zukhruf/plugins/conversation-scheduling/wake-scheduler.d.ts.map +1 -1
- package/dist/zukhruf/plugins/http/index.d.ts.map +1 -1
- package/dist/zukhruf/plugins/http/index.js +2 -12
- package/dist/zukhruf/plugins/http/index.js.map +2 -2
- package/dist/zukhruf/plugins/mcp/index.d.ts.map +1 -1
- package/dist/zukhruf/plugins/schedules/http.d.ts.map +1 -1
- package/dist/zukhruf/plugins/schedules/http.js +0 -1
- package/dist/zukhruf/plugins/schedules/http.js.map +2 -2
- package/dist/zukhruf/plugins/schedules/index.d.ts.map +1 -1
- package/dist/zukhruf/plugins/schedules/index.js +189 -175
- package/dist/zukhruf/plugins/schedules/index.js.map +4 -4
- package/dist/zukhruf/plugins/schedules/schedule-files.d.ts.map +1 -1
- package/dist/zukhruf/plugins/schedules/scheduled-tasks.d.ts +1 -1
- package/dist/zukhruf/plugins/schedules/scheduled-tasks.d.ts.map +1 -1
- package/dist/zukhruf/plugins/uploads/http.d.ts.map +1 -1
- package/dist/zukhruf/plugins/uploads/http.js +9 -5
- package/dist/zukhruf/plugins/uploads/http.js.map +2 -2
- package/dist/zukhruf/plugins/uploads/index.d.ts +11 -11
- package/dist/zukhruf/plugins/uploads/index.d.ts.map +1 -1
- package/dist/zukhruf/plugins/uploads/index.js +1 -7
- package/dist/zukhruf/plugins/uploads/index.js.map +2 -2
- package/dist/zukhruf/queue/pg-boss-notifications.d.ts.map +1 -1
- package/dist/zukhruf/queue/pg-boss.turn-queue.d.ts.map +1 -1
- package/dist/zukhruf/queue/turn-queue.d.ts +2 -2
- package/dist/zukhruf/queue/turn-queue.d.ts.map +1 -1
- package/dist/zukhruf/runtime/agent-runtime.d.ts +5 -4
- package/dist/zukhruf/runtime/agent-runtime.d.ts.map +1 -1
- package/dist/zukhruf/runtime/agent-turn-executor.d.ts +3 -3
- package/dist/zukhruf/runtime/agent-turn-executor.d.ts.map +1 -1
- package/dist/zukhruf/runtime/approval-controller.d.ts +7 -3
- package/dist/zukhruf/runtime/approval-controller.d.ts.map +1 -1
- package/dist/zukhruf/runtime/compaction.d.ts +2 -2
- package/dist/zukhruf/runtime/compaction.d.ts.map +1 -1
- package/dist/zukhruf/runtime/conversation-sandboxes.d.ts.map +1 -1
- package/dist/zukhruf/runtime/conversation-status/change-source.d.ts.map +1 -1
- package/dist/zukhruf/runtime/conversation-status/child-progress.d.ts +18 -18
- package/dist/zukhruf/runtime/conversation-status/child-progress.d.ts.map +1 -1
- package/dist/zukhruf/runtime/conversation-status/pg-boss-change-source.d.ts.map +1 -1
- package/dist/zukhruf/runtime/conversation-status/projector.d.ts +5 -0
- package/dist/zukhruf/runtime/conversation-status/projector.d.ts.map +1 -1
- package/dist/zukhruf/runtime/plugin/agent-skills.d.ts.map +1 -1
- package/dist/zukhruf/runtime/plugin/plugin-agents.d.ts.map +1 -1
- package/dist/zukhruf/runtime/plugin/plugin-bindings.d.ts.map +1 -1
- package/dist/zukhruf/runtime/plugin/plugin-context-composition.d.ts.map +1 -1
- package/dist/zukhruf/runtime/plugin/plugin-manager.d.ts +4 -6
- package/dist/zukhruf/runtime/plugin/plugin-manager.d.ts.map +1 -1
- package/dist/zukhruf/runtime/plugin/plugin-tool-composition.d.ts.map +1 -1
- package/dist/zukhruf/sandbox/define.d.ts.map +1 -1
- package/dist/zukhruf/storage/agent-storage.d.ts.map +1 -1
- package/dist/zukhruf/storage/embedded-agent-storage.d.ts.map +1 -1
- package/dist/zukhruf/storage/postgres-agent-storage.d.ts.map +1 -1
- package/dist/zukhruf/storage/sqlite-admission-gate.d.ts.map +1 -1
- package/dist/zukhruf/storage/turn-outbox.d.ts.map +1 -1
- package/dist/zukhruf/tool.d.ts.map +1 -1
- package/package.json +6 -6
- package/dist/zukhruf/collaboration/collaboration-tools.d.ts +0 -1832
- package/dist/zukhruf/collaboration/collaboration-tools.d.ts.map +0 -1
- package/dist/zukhruf/multi-agent-config.d.ts +0 -37
- package/dist/zukhruf/multi-agent-config.d.ts.map +0 -1
- package/dist/zukhruf/runtime/conversation-status/status-publishing-turn-queue.d.ts +0 -20
- package/dist/zukhruf/runtime/conversation-status/status-publishing-turn-queue.d.ts.map +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Tool, ToolSet } from 'ai';
|
|
2
|
+
import { ToolExposure, type ToolSurface } from './tool-exposure.ts';
|
|
3
|
+
import type { ToolNamespace } from './tool-namespace.ts';
|
|
4
|
+
/** The collaboration tools sit on the model surface, optionally namespaced. */
|
|
5
|
+
export declare class DirectTools extends ToolExposure {
|
|
6
|
+
#private;
|
|
7
|
+
constructor(namespace?: ToolNamespace);
|
|
8
|
+
toolName(name: string): string;
|
|
9
|
+
callLine(toolNames: readonly string[]): string;
|
|
10
|
+
tool<TOOL extends Tool>(collaborationTool: TOOL): TOOL;
|
|
11
|
+
surface<TOOLS extends ToolSet>(collaborationTools: TOOLS): ToolSurface<TOOLS>;
|
|
12
|
+
callerContext(): Record<never, never>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=direct-tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"direct-tools.d.ts","sources":["../../../src/zukhruf/collaboration/direct-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAIzD,+EAA+E;AAC/E,qBAAa,WAAY,SAAQ,YAAY;;IAG3C,YAAY,SAAS,CAAC,EAAE,aAAa,EAGpC;IAED,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE7B;IAED,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAE7C;IAED,IAAI,CAAC,IAAI,SAAS,IAAI,EAAE,iBAAiB,EAAE,IAAI,GAAG,IAAI,CAqBrD;IAED,OAAO,CAAC,KAAK,SAAS,OAAO,EAC3B,kBAAkB,EAAE,KAAK,GACxB,WAAW,CAAC,KAAK,CAAC,CAMpB;IAED,aAAa,IAAI,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAEpC;CACF"}
|
|
@@ -55,7 +55,7 @@ export declare const interruptAgentTool: ({
|
|
|
55
55
|
args?: never;
|
|
56
56
|
supportsDeferredResults?: never;
|
|
57
57
|
} & {
|
|
58
|
-
type?: undefined |
|
|
58
|
+
type?: undefined | 'function';
|
|
59
59
|
} & {
|
|
60
60
|
execute: import("ai").ToolExecuteFunction<{
|
|
61
61
|
target: string;
|
|
@@ -117,7 +117,7 @@ export declare const interruptAgentTool: ({
|
|
|
117
117
|
args?: never;
|
|
118
118
|
supportsDeferredResults?: never;
|
|
119
119
|
} & {
|
|
120
|
-
type:
|
|
120
|
+
type: 'dynamic';
|
|
121
121
|
} & {
|
|
122
122
|
execute: import("ai").ToolExecuteFunction<{
|
|
123
123
|
target: string;
|
|
@@ -164,7 +164,7 @@ export declare const interruptAgentTool: ({
|
|
|
164
164
|
previous_status: ListedAgentStatus;
|
|
165
165
|
}, NoInfer<AgentToolContext>>;
|
|
166
166
|
} & {
|
|
167
|
-
type:
|
|
167
|
+
type: 'provider';
|
|
168
168
|
id: `${string}.${string}`;
|
|
169
169
|
args: Record<string, unknown>;
|
|
170
170
|
description?: never;
|
|
@@ -219,7 +219,7 @@ export declare const interruptAgentTool: ({
|
|
|
219
219
|
previous_status: ListedAgentStatus;
|
|
220
220
|
}, NoInfer<AgentToolContext>>;
|
|
221
221
|
} & {
|
|
222
|
-
type:
|
|
222
|
+
type: 'provider';
|
|
223
223
|
id: `${string}.${string}`;
|
|
224
224
|
args: Record<string, unknown>;
|
|
225
225
|
description?: never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interrupt-agent.d.ts","
|
|
1
|
+
{"version":3,"file":"interrupt-agent.d.ts","sources":["../../../src/zukhruf/collaboration/interrupt-agent.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,4CAA4C,CAAC;AACpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAkBhE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAEV,iBAAiB;;;;;yBAAjB,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASpC,CAAC"}
|
|
@@ -55,7 +55,7 @@ export declare const listAgentsTool: ({
|
|
|
55
55
|
args?: never;
|
|
56
56
|
supportsDeferredResults?: never;
|
|
57
57
|
} & {
|
|
58
|
-
type?: undefined |
|
|
58
|
+
type?: undefined | 'function';
|
|
59
59
|
} & {
|
|
60
60
|
execute: import("ai").ToolExecuteFunction<{
|
|
61
61
|
path_prefix?: string | undefined;
|
|
@@ -117,7 +117,7 @@ export declare const listAgentsTool: ({
|
|
|
117
117
|
args?: never;
|
|
118
118
|
supportsDeferredResults?: never;
|
|
119
119
|
} & {
|
|
120
|
-
type:
|
|
120
|
+
type: 'dynamic';
|
|
121
121
|
} & {
|
|
122
122
|
execute: import("ai").ToolExecuteFunction<{
|
|
123
123
|
path_prefix?: string | undefined;
|
|
@@ -164,7 +164,7 @@ export declare const listAgentsTool: ({
|
|
|
164
164
|
agents: ListedAgent[];
|
|
165
165
|
}, NoInfer<AgentToolContext>>;
|
|
166
166
|
} & {
|
|
167
|
-
type:
|
|
167
|
+
type: 'provider';
|
|
168
168
|
id: `${string}.${string}`;
|
|
169
169
|
args: Record<string, unknown>;
|
|
170
170
|
description?: never;
|
|
@@ -219,7 +219,7 @@ export declare const listAgentsTool: ({
|
|
|
219
219
|
agents: ListedAgent[];
|
|
220
220
|
}, NoInfer<AgentToolContext>>;
|
|
221
221
|
} & {
|
|
222
|
-
type:
|
|
222
|
+
type: 'provider';
|
|
223
223
|
id: `${string}.${string}`;
|
|
224
224
|
args: Record<string, unknown>;
|
|
225
225
|
description?: never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-agents.d.ts","
|
|
1
|
+
{"version":3,"file":"list-agents.d.ts","sources":["../../../src/zukhruf/collaboration/list-agents.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,WAAW,EAEjB,MAAM,4CAA4C,CAAC;AACpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAmBhE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAEf,WAAW,EAAE;;;;;gBAAb,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASvB,CAAC"}
|
|
@@ -54,7 +54,7 @@ export declare const sendMessageTool: ({
|
|
|
54
54
|
args?: never;
|
|
55
55
|
supportsDeferredResults?: never;
|
|
56
56
|
} & {
|
|
57
|
-
type?: undefined |
|
|
57
|
+
type?: undefined | 'function';
|
|
58
58
|
} & {
|
|
59
59
|
execute: import("ai").ToolExecuteFunction<{
|
|
60
60
|
target: string;
|
|
@@ -115,7 +115,7 @@ export declare const sendMessageTool: ({
|
|
|
115
115
|
args?: never;
|
|
116
116
|
supportsDeferredResults?: never;
|
|
117
117
|
} & {
|
|
118
|
-
type:
|
|
118
|
+
type: 'dynamic';
|
|
119
119
|
} & {
|
|
120
120
|
execute: import("ai").ToolExecuteFunction<{
|
|
121
121
|
target: string;
|
|
@@ -160,7 +160,7 @@ export declare const sendMessageTool: ({
|
|
|
160
160
|
message: string;
|
|
161
161
|
}, string, NoInfer<AgentToolContext>>;
|
|
162
162
|
} & {
|
|
163
|
-
type:
|
|
163
|
+
type: 'provider';
|
|
164
164
|
id: `${string}.${string}`;
|
|
165
165
|
args: Record<string, unknown>;
|
|
166
166
|
description?: never;
|
|
@@ -213,7 +213,7 @@ export declare const sendMessageTool: ({
|
|
|
213
213
|
message: string;
|
|
214
214
|
}, string, NoInfer<AgentToolContext>>;
|
|
215
215
|
} & {
|
|
216
|
-
type:
|
|
216
|
+
type: 'provider';
|
|
217
217
|
id: `${string}.${string}`;
|
|
218
218
|
args: Record<string, unknown>;
|
|
219
219
|
description?: never;
|
|
@@ -283,7 +283,7 @@ export declare const followupTaskTool: ({
|
|
|
283
283
|
args?: never;
|
|
284
284
|
supportsDeferredResults?: never;
|
|
285
285
|
} & {
|
|
286
|
-
type?: undefined |
|
|
286
|
+
type?: undefined | 'function';
|
|
287
287
|
} & {
|
|
288
288
|
execute: import("ai").ToolExecuteFunction<{
|
|
289
289
|
target: string;
|
|
@@ -344,7 +344,7 @@ export declare const followupTaskTool: ({
|
|
|
344
344
|
args?: never;
|
|
345
345
|
supportsDeferredResults?: never;
|
|
346
346
|
} & {
|
|
347
|
-
type:
|
|
347
|
+
type: 'dynamic';
|
|
348
348
|
} & {
|
|
349
349
|
execute: import("ai").ToolExecuteFunction<{
|
|
350
350
|
target: string;
|
|
@@ -389,7 +389,7 @@ export declare const followupTaskTool: ({
|
|
|
389
389
|
message: string;
|
|
390
390
|
}, string, NoInfer<AgentToolContext>>;
|
|
391
391
|
} & {
|
|
392
|
-
type:
|
|
392
|
+
type: 'provider';
|
|
393
393
|
id: `${string}.${string}`;
|
|
394
394
|
args: Record<string, unknown>;
|
|
395
395
|
description?: never;
|
|
@@ -442,7 +442,7 @@ export declare const followupTaskTool: ({
|
|
|
442
442
|
message: string;
|
|
443
443
|
}, string, NoInfer<AgentToolContext>>;
|
|
444
444
|
} & {
|
|
445
|
-
type:
|
|
445
|
+
type: 'provider';
|
|
446
446
|
id: `${string}.${string}`;
|
|
447
447
|
args: Record<string, unknown>;
|
|
448
448
|
description?: never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-tools.d.ts","
|
|
1
|
+
{"version":3,"file":"message-tools.d.ts","sources":["../../../src/zukhruf/collaboration/message-tools.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAgBhE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY1B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY3B,CAAC"}
|
|
@@ -10,14 +10,14 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
10
10
|
agent_type: string;
|
|
11
11
|
task_name: string;
|
|
12
12
|
message: string;
|
|
13
|
-
fork_turns
|
|
13
|
+
fork_turns?: string | undefined;
|
|
14
14
|
}>;
|
|
15
15
|
contextSchema?: import("ai").FlexibleSchema<AgentToolContext> | undefined;
|
|
16
16
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
17
17
|
agent_type: string;
|
|
18
18
|
task_name: string;
|
|
19
19
|
message: string;
|
|
20
|
-
fork_turns
|
|
20
|
+
fork_turns?: string | undefined;
|
|
21
21
|
}, NoInfer<AgentToolContext>> | undefined;
|
|
22
22
|
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
23
23
|
onInputDelta?: ((options: {
|
|
@@ -28,7 +28,7 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
28
28
|
agent_type: string;
|
|
29
29
|
task_name: string;
|
|
30
30
|
message: string;
|
|
31
|
-
fork_turns
|
|
31
|
+
fork_turns?: string | undefined;
|
|
32
32
|
};
|
|
33
33
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
34
34
|
toModelOutput?: ((options: {
|
|
@@ -37,7 +37,7 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
37
37
|
agent_type: string;
|
|
38
38
|
task_name: string;
|
|
39
39
|
message: string;
|
|
40
|
-
fork_turns
|
|
40
|
+
fork_turns?: string | undefined;
|
|
41
41
|
};
|
|
42
42
|
output: NoInfer<{
|
|
43
43
|
task_name: string;
|
|
@@ -51,7 +51,7 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
51
51
|
agent_type: string;
|
|
52
52
|
task_name: string;
|
|
53
53
|
message: string;
|
|
54
|
-
fork_turns
|
|
54
|
+
fork_turns?: string | undefined;
|
|
55
55
|
}, {
|
|
56
56
|
task_name: string;
|
|
57
57
|
}, NoInfer<AgentToolContext>>;
|
|
@@ -66,7 +66,7 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
66
66
|
agent_type: string;
|
|
67
67
|
task_name: string;
|
|
68
68
|
message: string;
|
|
69
|
-
fork_turns
|
|
69
|
+
fork_turns?: string | undefined;
|
|
70
70
|
}>;
|
|
71
71
|
}[] | undefined;
|
|
72
72
|
id?: never;
|
|
@@ -74,13 +74,13 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
74
74
|
args?: never;
|
|
75
75
|
supportsDeferredResults?: never;
|
|
76
76
|
} & {
|
|
77
|
-
type?: undefined |
|
|
77
|
+
type?: undefined | 'function';
|
|
78
78
|
} & {
|
|
79
79
|
execute: import("ai").ToolExecuteFunction<{
|
|
80
80
|
agent_type: string;
|
|
81
81
|
task_name: string;
|
|
82
82
|
message: string;
|
|
83
|
-
fork_turns
|
|
83
|
+
fork_turns?: string | undefined;
|
|
84
84
|
}, {
|
|
85
85
|
task_name: string;
|
|
86
86
|
}, NoInfer<AgentToolContext>>;
|
|
@@ -93,14 +93,14 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
93
93
|
agent_type: string;
|
|
94
94
|
task_name: string;
|
|
95
95
|
message: string;
|
|
96
|
-
fork_turns
|
|
96
|
+
fork_turns?: string | undefined;
|
|
97
97
|
}>;
|
|
98
98
|
contextSchema?: import("ai").FlexibleSchema<AgentToolContext> | undefined;
|
|
99
99
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
100
100
|
agent_type: string;
|
|
101
101
|
task_name: string;
|
|
102
102
|
message: string;
|
|
103
|
-
fork_turns
|
|
103
|
+
fork_turns?: string | undefined;
|
|
104
104
|
}, NoInfer<AgentToolContext>> | undefined;
|
|
105
105
|
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
106
106
|
onInputDelta?: ((options: {
|
|
@@ -111,7 +111,7 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
111
111
|
agent_type: string;
|
|
112
112
|
task_name: string;
|
|
113
113
|
message: string;
|
|
114
|
-
fork_turns
|
|
114
|
+
fork_turns?: string | undefined;
|
|
115
115
|
};
|
|
116
116
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
117
117
|
toModelOutput?: ((options: {
|
|
@@ -120,7 +120,7 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
120
120
|
agent_type: string;
|
|
121
121
|
task_name: string;
|
|
122
122
|
message: string;
|
|
123
|
-
fork_turns
|
|
123
|
+
fork_turns?: string | undefined;
|
|
124
124
|
};
|
|
125
125
|
output: NoInfer<{
|
|
126
126
|
task_name: string;
|
|
@@ -134,7 +134,7 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
134
134
|
agent_type: string;
|
|
135
135
|
task_name: string;
|
|
136
136
|
message: string;
|
|
137
|
-
fork_turns
|
|
137
|
+
fork_turns?: string | undefined;
|
|
138
138
|
}, {
|
|
139
139
|
task_name: string;
|
|
140
140
|
}, NoInfer<AgentToolContext>>;
|
|
@@ -149,7 +149,7 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
149
149
|
agent_type: string;
|
|
150
150
|
task_name: string;
|
|
151
151
|
message: string;
|
|
152
|
-
fork_turns
|
|
152
|
+
fork_turns?: string | undefined;
|
|
153
153
|
}>;
|
|
154
154
|
}[] | undefined;
|
|
155
155
|
id?: never;
|
|
@@ -157,13 +157,13 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
157
157
|
args?: never;
|
|
158
158
|
supportsDeferredResults?: never;
|
|
159
159
|
} & {
|
|
160
|
-
type:
|
|
160
|
+
type: 'dynamic';
|
|
161
161
|
} & {
|
|
162
162
|
execute: import("ai").ToolExecuteFunction<{
|
|
163
163
|
agent_type: string;
|
|
164
164
|
task_name: string;
|
|
165
165
|
message: string;
|
|
166
|
-
fork_turns
|
|
166
|
+
fork_turns?: string | undefined;
|
|
167
167
|
}, {
|
|
168
168
|
task_name: string;
|
|
169
169
|
}, NoInfer<AgentToolContext>>;
|
|
@@ -176,14 +176,14 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
176
176
|
agent_type: string;
|
|
177
177
|
task_name: string;
|
|
178
178
|
message: string;
|
|
179
|
-
fork_turns
|
|
179
|
+
fork_turns?: string | undefined;
|
|
180
180
|
}>;
|
|
181
181
|
contextSchema?: import("ai").FlexibleSchema<AgentToolContext> | undefined;
|
|
182
182
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
183
183
|
agent_type: string;
|
|
184
184
|
task_name: string;
|
|
185
185
|
message: string;
|
|
186
|
-
fork_turns
|
|
186
|
+
fork_turns?: string | undefined;
|
|
187
187
|
}, NoInfer<AgentToolContext>> | undefined;
|
|
188
188
|
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
189
189
|
onInputDelta?: ((options: {
|
|
@@ -194,7 +194,7 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
194
194
|
agent_type: string;
|
|
195
195
|
task_name: string;
|
|
196
196
|
message: string;
|
|
197
|
-
fork_turns
|
|
197
|
+
fork_turns?: string | undefined;
|
|
198
198
|
};
|
|
199
199
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
200
200
|
toModelOutput?: ((options: {
|
|
@@ -203,7 +203,7 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
203
203
|
agent_type: string;
|
|
204
204
|
task_name: string;
|
|
205
205
|
message: string;
|
|
206
|
-
fork_turns
|
|
206
|
+
fork_turns?: string | undefined;
|
|
207
207
|
};
|
|
208
208
|
output: NoInfer<{
|
|
209
209
|
task_name: string;
|
|
@@ -217,12 +217,12 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
217
217
|
agent_type: string;
|
|
218
218
|
task_name: string;
|
|
219
219
|
message: string;
|
|
220
|
-
fork_turns
|
|
220
|
+
fork_turns?: string | undefined;
|
|
221
221
|
}, {
|
|
222
222
|
task_name: string;
|
|
223
223
|
}, NoInfer<AgentToolContext>>;
|
|
224
224
|
} & {
|
|
225
|
-
type:
|
|
225
|
+
type: 'provider';
|
|
226
226
|
id: `${string}.${string}`;
|
|
227
227
|
args: Record<string, unknown>;
|
|
228
228
|
description?: never;
|
|
@@ -236,7 +236,7 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
236
236
|
agent_type: string;
|
|
237
237
|
task_name: string;
|
|
238
238
|
message: string;
|
|
239
|
-
fork_turns
|
|
239
|
+
fork_turns?: string | undefined;
|
|
240
240
|
}, {
|
|
241
241
|
task_name: string;
|
|
242
242
|
}, NoInfer<AgentToolContext>>;
|
|
@@ -249,14 +249,14 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
249
249
|
agent_type: string;
|
|
250
250
|
task_name: string;
|
|
251
251
|
message: string;
|
|
252
|
-
fork_turns
|
|
252
|
+
fork_turns?: string | undefined;
|
|
253
253
|
}>;
|
|
254
254
|
contextSchema?: import("ai").FlexibleSchema<AgentToolContext> | undefined;
|
|
255
255
|
needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
256
256
|
agent_type: string;
|
|
257
257
|
task_name: string;
|
|
258
258
|
message: string;
|
|
259
|
-
fork_turns
|
|
259
|
+
fork_turns?: string | undefined;
|
|
260
260
|
}, NoInfer<AgentToolContext>> | undefined;
|
|
261
261
|
onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
262
262
|
onInputDelta?: ((options: {
|
|
@@ -267,7 +267,7 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
267
267
|
agent_type: string;
|
|
268
268
|
task_name: string;
|
|
269
269
|
message: string;
|
|
270
|
-
fork_turns
|
|
270
|
+
fork_turns?: string | undefined;
|
|
271
271
|
};
|
|
272
272
|
} & import("ai").ToolExecutionOptions<NoInfer<AgentToolContext>>) => void | PromiseLike<void>) | undefined;
|
|
273
273
|
toModelOutput?: ((options: {
|
|
@@ -276,7 +276,7 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
276
276
|
agent_type: string;
|
|
277
277
|
task_name: string;
|
|
278
278
|
message: string;
|
|
279
|
-
fork_turns
|
|
279
|
+
fork_turns?: string | undefined;
|
|
280
280
|
};
|
|
281
281
|
output: NoInfer<{
|
|
282
282
|
task_name: string;
|
|
@@ -290,12 +290,12 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
290
290
|
agent_type: string;
|
|
291
291
|
task_name: string;
|
|
292
292
|
message: string;
|
|
293
|
-
fork_turns
|
|
293
|
+
fork_turns?: string | undefined;
|
|
294
294
|
}, {
|
|
295
295
|
task_name: string;
|
|
296
296
|
}, NoInfer<AgentToolContext>>;
|
|
297
297
|
} & {
|
|
298
|
-
type:
|
|
298
|
+
type: 'provider';
|
|
299
299
|
id: `${string}.${string}`;
|
|
300
300
|
args: Record<string, unknown>;
|
|
301
301
|
description?: never;
|
|
@@ -309,7 +309,7 @@ export declare function createSpawnAgentTool(options?: {
|
|
|
309
309
|
agent_type: string;
|
|
310
310
|
task_name: string;
|
|
311
311
|
message: string;
|
|
312
|
-
fork_turns
|
|
312
|
+
fork_turns?: string | undefined;
|
|
313
313
|
}, {
|
|
314
314
|
task_name: string;
|
|
315
315
|
}, NoInfer<AgentToolContext>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spawn-agent.d.ts","
|
|
1
|
+
{"version":3,"file":"spawn-agent.d.ts","sources":["../../../src/zukhruf/collaboration/spawn-agent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAkChE,wBAAgB,oBAAoB,CAAC,OAAO,CAAC,EAAE;IAAE,aAAa,CAAC,EAAE,MAAM,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAC7B,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BjD"}
|