experimental-agent 0.8.0-alpha.2 → 0.8.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/chunk-5N2UOGXY.mjs +123 -0
- package/dist/chunk-HPBAZJLN.mjs +242 -0
- package/dist/{chunk-EH4L2CPW.mjs → chunk-HVZTAMAX.mjs} +2 -10
- package/dist/{client-DIanpEQ_.d.ts → client-BY6gceox.d.ts} +0 -6
- package/dist/{client-PuttJd6O.d.mts → client-BaItaOx5.d.mts} +0 -6
- package/dist/{framework-DH4Z1NLV.d.ts → framework-DSe3sdP_.d.ts} +5 -0
- package/dist/{framework-c9fvEy0o.d.mts → framework-VPUsYNMf.d.mts} +5 -0
- package/dist/framework-runtime.d.mts +3 -3
- package/dist/framework-runtime.d.ts +3 -3
- package/dist/framework-runtime.js +33 -15
- package/dist/framework-runtime.mjs +33 -7
- package/dist/framework.d.mts +4 -4
- package/dist/framework.d.ts +4 -4
- package/dist/framework.js +45 -2
- package/dist/framework.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -10
- package/dist/index.mjs +1 -1
- package/dist/next/agents.d.mts +1 -1
- package/dist/next/agents.d.ts +1 -1
- package/dist/next/agents.js +45 -2
- package/dist/next/agents.mjs +2 -2
- package/dist/next/loader.js +2 -2
- package/dist/next/loader.mjs +1 -1
- package/dist/next.js +5 -3
- package/dist/next.mjs +5 -3
- package/dist/react.d.mts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/{resolve-BZ26gcyj.d.ts → resolve-DCys_2es.d.ts} +17 -4
- package/dist/{resolve-Cma6YFgx.d.mts → resolve-YlI7Dugf.d.mts} +17 -4
- package/package.json +13 -13
- package/dist/chunk-DO4HKPHR.mjs +0 -199
- package/dist/chunk-LMYEJDMD.mjs +0 -123
|
@@ -435,12 +435,6 @@ declare class Agent<TMessageMetadata = unknown, Tools extends ToolSet = ToolSet,
|
|
|
435
435
|
signal?: AbortSignal;
|
|
436
436
|
} | undefined) => Promise<"pending" | "running" | "stopping" | "stopped" | "failed">;
|
|
437
437
|
};
|
|
438
|
-
/**
|
|
439
|
-
* Create a derived agent with merged options. The returned agent is NOT
|
|
440
|
-
* registered in the workflow registry – it's a one-off instance used by
|
|
441
|
-
* the framework to layer fs-scanned config onto an agent.ts definition.
|
|
442
|
-
*/
|
|
443
|
-
extend(fn: (options: AgentOptions<Tools, TSandboxBindings, TContext, TState, TMessageMetadata>) => AgentOptions<Tools, TSandboxBindings, TContext, TState, TMessageMetadata>): Agent<TMessageMetadata, Tools, TSandboxBindings, TContext, TState>;
|
|
444
438
|
/** Phantom property for type inference. Use `typeof myAgent.$UIMessage` to get the typed UIMessage. */
|
|
445
439
|
readonly $UIMessage: UIMessage<TMessageMetadata, AgentDataTypes, InferUITools<typeof builtInTools & Tools>>;
|
|
446
440
|
}
|
|
@@ -435,12 +435,6 @@ declare class Agent<TMessageMetadata = unknown, Tools extends ToolSet = ToolSet,
|
|
|
435
435
|
signal?: AbortSignal;
|
|
436
436
|
} | undefined) => Promise<"pending" | "running" | "stopping" | "stopped" | "failed">;
|
|
437
437
|
};
|
|
438
|
-
/**
|
|
439
|
-
* Create a derived agent with merged options. The returned agent is NOT
|
|
440
|
-
* registered in the workflow registry – it's a one-off instance used by
|
|
441
|
-
* the framework to layer fs-scanned config onto an agent.ts definition.
|
|
442
|
-
*/
|
|
443
|
-
extend(fn: (options: AgentOptions<Tools, TSandboxBindings, TContext, TState, TMessageMetadata>) => AgentOptions<Tools, TSandboxBindings, TContext, TState, TMessageMetadata>): Agent<TMessageMetadata, Tools, TSandboxBindings, TContext, TState>;
|
|
444
438
|
/** Phantom property for type inference. Use `typeof myAgent.$UIMessage` to get the typed UIMessage. */
|
|
445
439
|
readonly $UIMessage: UIMessage<TMessageMetadata, AgentDataTypes, InferUITools<typeof builtInTools & Tools>>;
|
|
446
440
|
}
|
|
@@ -5,10 +5,15 @@ type AgentDir = {
|
|
|
5
5
|
absolutePath: string;
|
|
6
6
|
hasAgentConfig: boolean;
|
|
7
7
|
};
|
|
8
|
+
type ScannedTool = {
|
|
9
|
+
name: string;
|
|
10
|
+
importPath: string;
|
|
11
|
+
};
|
|
8
12
|
type ScannedAgent = AgentDir & {
|
|
9
13
|
skills: SkillInput[];
|
|
10
14
|
systemPrompt: string | undefined;
|
|
11
15
|
tsSkillImportPaths: string[];
|
|
16
|
+
tools: ScannedTool[];
|
|
12
17
|
};
|
|
13
18
|
|
|
14
19
|
declare function generateRegistry(opts: {
|
|
@@ -5,10 +5,15 @@ type AgentDir = {
|
|
|
5
5
|
absolutePath: string;
|
|
6
6
|
hasAgentConfig: boolean;
|
|
7
7
|
};
|
|
8
|
+
type ScannedTool = {
|
|
9
|
+
name: string;
|
|
10
|
+
importPath: string;
|
|
11
|
+
};
|
|
8
12
|
type ScannedAgent = AgentDir & {
|
|
9
13
|
skills: SkillInput[];
|
|
10
14
|
systemPrompt: string | undefined;
|
|
11
15
|
tsSkillImportPaths: string[];
|
|
16
|
+
tools: ScannedTool[];
|
|
12
17
|
};
|
|
13
18
|
|
|
14
19
|
declare function generateRegistry(opts: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as resolveFrameworkAgent } from './resolve-
|
|
2
|
-
import '
|
|
1
|
+
import { r as resolveFrameworkAgent } from './resolve-YlI7Dugf.mjs';
|
|
2
|
+
import 'ai';
|
|
3
|
+
import './client-BaItaOx5.mjs';
|
|
3
4
|
import '@vercel/sandbox';
|
|
4
5
|
import './steps-ChOeFWAq.mjs';
|
|
5
6
|
import './adapter-CFq5IeYI.mjs';
|
|
6
7
|
import '@workflow/serde';
|
|
7
|
-
import 'ai';
|
|
8
8
|
import './entry-CRBUC5DB.mjs';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import './types-B3lbsOa7.mjs';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as resolveFrameworkAgent } from './resolve-
|
|
2
|
-
import '
|
|
1
|
+
import { r as resolveFrameworkAgent } from './resolve-DCys_2es.js';
|
|
2
|
+
import 'ai';
|
|
3
|
+
import './client-BY6gceox.js';
|
|
3
4
|
import '@vercel/sandbox';
|
|
4
5
|
import './steps-DWTQiAPt.js';
|
|
5
6
|
import './adapter-CFq5IeYI.js';
|
|
6
7
|
import '@workflow/serde';
|
|
7
|
-
import 'ai';
|
|
8
8
|
import './entry-BUYBv4Cu.js';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import './types-B3lbsOa7.js';
|