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.
@@ -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-Cma6YFgx.mjs';
2
- import './client-PuttJd6O.mjs';
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-BZ26gcyj.js';
2
- import './client-DIanpEQ_.js';
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';