@mastra/core 0.9.2-alpha.5 → 0.9.2
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/agent/index.cjs +2 -2
- package/dist/agent/index.d.cts +1 -1
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.js +1 -1
- package/dist/{base-BZxFAZ3-.d.cts → base-B3g_Q3KV.d.cts} +9 -65
- package/dist/{base-uXj2cuRo.d.ts → base-Dq_YZkEc.d.ts} +9 -65
- package/dist/{chunk-Y5SHDNH4.js → chunk-2JNVEJCM.js} +33 -1
- package/dist/{chunk-C3BIQDW3.js → chunk-2ZK5VAXE.js} +1 -1
- package/dist/{chunk-QESYVGP2.cjs → chunk-6FW4DXZO.cjs} +2 -2
- package/dist/{chunk-CGW7H7VD.cjs → chunk-JSKASUR2.cjs} +5 -5
- package/dist/{chunk-YHTPTGCJ.cjs → chunk-JTKSOVYL.cjs} +36 -4
- package/dist/{chunk-KHSHYGJU.js → chunk-SIQPAONL.js} +1 -1
- package/dist/eval/index.d.cts +1 -1
- package/dist/eval/index.d.ts +1 -1
- package/dist/index.cjs +41 -41
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -6
- package/dist/integration/index.d.cts +1 -1
- package/dist/integration/index.d.ts +1 -1
- package/dist/llm/index.d.cts +1 -1
- package/dist/llm/index.d.ts +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.d.cts +1 -1
- package/dist/mastra/index.d.ts +1 -1
- package/dist/mastra/index.js +1 -1
- package/dist/memory/index.cjs +4 -4
- package/dist/memory/index.d.cts +1 -1
- package/dist/memory/index.d.ts +1 -1
- package/dist/memory/index.js +1 -1
- package/dist/network/index.cjs +2 -2
- package/dist/network/index.d.cts +1 -1
- package/dist/network/index.d.ts +1 -1
- package/dist/network/index.js +1 -1
- package/dist/relevance/index.cjs +4 -4
- package/dist/relevance/index.d.cts +1 -1
- package/dist/relevance/index.d.ts +1 -1
- package/dist/relevance/index.js +1 -1
- package/dist/server/index.d.cts +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/storage/index.d.cts +1 -1
- package/dist/storage/index.d.ts +1 -1
- package/dist/storage/libsql/index.cjs +41 -2
- package/dist/storage/libsql/index.d.cts +3 -2
- package/dist/storage/libsql/index.d.ts +3 -2
- package/dist/storage/libsql/index.js +41 -2
- package/dist/telemetry/index.d.cts +1 -1
- package/dist/telemetry/index.d.ts +1 -1
- package/dist/tools/index.d.cts +1 -1
- package/dist/tools/index.d.ts +1 -1
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/voice/index.d.cts +1 -1
- package/dist/voice/index.d.ts +1 -1
- package/dist/workflows/index.cjs +22 -22
- package/dist/workflows/index.d.cts +2 -2
- package/dist/workflows/index.d.ts +2 -2
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/vNext/index.cjs +40 -8
- package/dist/workflows/vNext/index.d.cts +2 -2
- package/dist/workflows/vNext/index.d.ts +2 -2
- package/dist/workflows/vNext/index.js +39 -7
- package/package.json +3 -3
- package/dist/{chunk-MJL6FUJI.cjs → chunk-FXUTMNQG.cjs} +0 -0
- package/dist/{chunk-WQVDK654.cjs → chunk-HAFLSGW5.cjs} +1 -1
- package/dist/{chunk-WFJL654W.js → chunk-MNGIRRFY.js} +0 -0
- package/dist/{chunk-TNZMJBPN.js → chunk-URYHOYKQ.js} +1 -1
package/dist/agent/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHAFLSGW5_cjs = require('../chunk-HAFLSGW5.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Agent", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkHAFLSGW5_cjs.Agent; }
|
|
10
10
|
});
|
package/dist/agent/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { Message as AiMessageType } from 'ai';
|
|
2
2
|
import 'json-schema';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export {
|
|
4
|
+
export { F as Agent, G as AgentConfig, be as AgentGenerateOptions, bf as AgentStreamOptions, bd as DynamicArgument, b4 as MastraLanguageModel, b1 as ToolsInput, bc as ToolsetsInput } from '../base-B3g_Q3KV.cjs';
|
|
5
5
|
import '../base-BihKcqDY.cjs';
|
|
6
6
|
import '../types-BtMyV38I.cjs';
|
|
7
7
|
import '../runtime-context/index.cjs';
|
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { Message as AiMessageType } from 'ai';
|
|
2
2
|
import 'json-schema';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export {
|
|
4
|
+
export { F as Agent, G as AgentConfig, be as AgentGenerateOptions, bf as AgentStreamOptions, bd as DynamicArgument, b4 as MastraLanguageModel, b1 as ToolsInput, bc as ToolsetsInput } from '../base-Dq_YZkEc.js';
|
|
5
5
|
import '../base-DT2poiVK.js';
|
|
6
6
|
import '../types-BtMyV38I.js';
|
|
7
7
|
import '../runtime-context/index.js';
|
package/dist/agent/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Agent } from '../chunk-
|
|
1
|
+
export { Agent } from '../chunk-URYHOYKQ.js';
|
|
@@ -1168,6 +1168,10 @@ type StepsRecord<T extends readonly NewStep<any, any, any>[]> = {
|
|
|
1168
1168
|
id: K;
|
|
1169
1169
|
}>;
|
|
1170
1170
|
};
|
|
1171
|
+
type DynamicMapping<TPrevSchema extends z.ZodTypeAny, TSchemaOut extends z.ZodTypeAny> = {
|
|
1172
|
+
fn: ExecuteFunction<z.infer<TPrevSchema>, z.infer<TSchemaOut>, any, any>;
|
|
1173
|
+
schema: TSchemaOut;
|
|
1174
|
+
};
|
|
1171
1175
|
type PathsToStringProps<T> = T extends object ? {
|
|
1172
1176
|
[K in keyof T]: T[K] extends object ? K extends string ? K | `${K}.${PathsToStringProps<T[K]>}` : never : K extends string ? K : never;
|
|
1173
1177
|
}[keyof T] : never;
|
|
@@ -1406,7 +1410,7 @@ declare class NewWorkflow<TSteps extends NewStep<string, any, any, any, any>[] =
|
|
|
1406
1410
|
then<TStepInputSchema extends TPrevSchema, TStepId extends string, TSchemaOut extends z.ZodType<any>>(step: NewStep<TStepId, TStepInputSchema, TSchemaOut, any, any>): NewWorkflow<TSteps, TWorkflowId, TInput, TOutput, TSchemaOut>;
|
|
1407
1411
|
map<TSteps extends NewStep<string, any, any>[], TMapping extends {
|
|
1408
1412
|
[K in keyof TMapping]: {
|
|
1409
|
-
step: TSteps[number];
|
|
1413
|
+
step: TSteps[number] | TSteps[number][];
|
|
1410
1414
|
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], 'outputSchema'>>> | '.';
|
|
1411
1415
|
} | {
|
|
1412
1416
|
value: any;
|
|
@@ -1417,68 +1421,8 @@ declare class NewWorkflow<TSteps extends NewStep<string, any, any, any, any>[] =
|
|
|
1417
1421
|
} | {
|
|
1418
1422
|
runtimeContextPath: string;
|
|
1419
1423
|
schema: z.ZodTypeAny;
|
|
1420
|
-
}
|
|
1421
|
-
}>(mappingConfig: TMapping): NewWorkflow<TSteps, TWorkflowId, TInput, TOutput,
|
|
1422
|
-
step: TSteps[number];
|
|
1423
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "outputSchema">>>;
|
|
1424
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["step"]["outputSchema"] : ZodPathType<TMapping[K]["step"]["outputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1425
|
-
initData: TSteps[number];
|
|
1426
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "inputSchema">>>;
|
|
1427
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["initData"]["inputSchema"] : ZodPathType<TMapping[K]["initData"]["inputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1428
|
-
value: any;
|
|
1429
|
-
schema: z.ZodTypeAny;
|
|
1430
|
-
} ? TMapping[K]["schema"] : TMapping[K] extends {
|
|
1431
|
-
runtimeContextPath: string;
|
|
1432
|
-
schema: z.ZodTypeAny;
|
|
1433
|
-
} ? TMapping[K]["schema"] : never; }, any, z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{ [K in keyof TMapping]: TMapping[K] extends {
|
|
1434
|
-
step: TSteps[number];
|
|
1435
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "outputSchema">>>;
|
|
1436
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["step"]["outputSchema"] : ZodPathType<TMapping[K]["step"]["outputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1437
|
-
initData: TSteps[number];
|
|
1438
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "inputSchema">>>;
|
|
1439
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["initData"]["inputSchema"] : ZodPathType<TMapping[K]["initData"]["inputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1440
|
-
value: any;
|
|
1441
|
-
schema: z.ZodTypeAny;
|
|
1442
|
-
} ? TMapping[K]["schema"] : TMapping[K] extends {
|
|
1443
|
-
runtimeContextPath: string;
|
|
1444
|
-
schema: z.ZodTypeAny;
|
|
1445
|
-
} ? TMapping[K]["schema"] : never; }>, any> extends infer T ? { [k in keyof T]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{ [K in keyof TMapping]: TMapping[K] extends {
|
|
1446
|
-
step: TSteps[number];
|
|
1447
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "outputSchema">>>;
|
|
1448
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["step"]["outputSchema"] : ZodPathType<TMapping[K]["step"]["outputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1449
|
-
initData: TSteps[number];
|
|
1450
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "inputSchema">>>;
|
|
1451
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["initData"]["inputSchema"] : ZodPathType<TMapping[K]["initData"]["inputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1452
|
-
value: any;
|
|
1453
|
-
schema: z.ZodTypeAny;
|
|
1454
|
-
} ? TMapping[K]["schema"] : TMapping[K] extends {
|
|
1455
|
-
runtimeContextPath: string;
|
|
1456
|
-
schema: z.ZodTypeAny;
|
|
1457
|
-
} ? TMapping[K]["schema"] : never; }>, any>[k]; } : never, z.baseObjectInputType<{ [K in keyof TMapping]: TMapping[K] extends {
|
|
1458
|
-
step: TSteps[number];
|
|
1459
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "outputSchema">>>;
|
|
1460
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["step"]["outputSchema"] : ZodPathType<TMapping[K]["step"]["outputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1461
|
-
initData: TSteps[number];
|
|
1462
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "inputSchema">>>;
|
|
1463
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["initData"]["inputSchema"] : ZodPathType<TMapping[K]["initData"]["inputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1464
|
-
value: any;
|
|
1465
|
-
schema: z.ZodTypeAny;
|
|
1466
|
-
} ? TMapping[K]["schema"] : TMapping[K] extends {
|
|
1467
|
-
runtimeContextPath: string;
|
|
1468
|
-
schema: z.ZodTypeAny;
|
|
1469
|
-
} ? TMapping[K]["schema"] : never; }> extends infer T_1 ? { [k_1 in keyof T_1]: z.baseObjectInputType<{ [K in keyof TMapping]: TMapping[K] extends {
|
|
1470
|
-
step: TSteps[number];
|
|
1471
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "outputSchema">>>;
|
|
1472
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["step"]["outputSchema"] : ZodPathType<TMapping[K]["step"]["outputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1473
|
-
initData: TSteps[number];
|
|
1474
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "inputSchema">>>;
|
|
1475
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["initData"]["inputSchema"] : ZodPathType<TMapping[K]["initData"]["inputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1476
|
-
value: any;
|
|
1477
|
-
schema: z.ZodTypeAny;
|
|
1478
|
-
} ? TMapping[K]["schema"] : TMapping[K] extends {
|
|
1479
|
-
runtimeContextPath: string;
|
|
1480
|
-
schema: z.ZodTypeAny;
|
|
1481
|
-
} ? TMapping[K]["schema"] : never; }>[k_1]; } : never>>;
|
|
1424
|
+
} | DynamicMapping<TPrevSchema, z.ZodTypeAny>;
|
|
1425
|
+
}>(mappingConfig: TMapping | ExecuteFunction<z.infer<TPrevSchema>, any, any, any>): NewWorkflow<TSteps, TWorkflowId, TInput, TOutput, any>;
|
|
1482
1426
|
parallel<TParallelSteps extends NewStep<string, TPrevSchema, any, any, any>[]>(steps: TParallelSteps): NewWorkflow<TSteps, TWorkflowId, TInput, TOutput, z.ZodObject<{ [K in keyof StepsRecord<TParallelSteps>]: StepsRecord<TParallelSteps>[K]["outputSchema"]["path"]; }, any, z.ZodTypeAny>>;
|
|
1483
1427
|
branch<TBranchSteps extends Array<[
|
|
1484
1428
|
ExecuteFunction<z.infer<TPrevSchema>, any, any, any>,
|
|
@@ -1530,7 +1474,7 @@ declare class NewWorkflow<TSteps extends NewStep<string, any, any, any, any>[] =
|
|
|
1530
1474
|
offset?: number;
|
|
1531
1475
|
resourceId?: string;
|
|
1532
1476
|
}): Promise<WorkflowRuns>;
|
|
1533
|
-
|
|
1477
|
+
getWorkflowRunById(runId: string): Promise<WorkflowRun | null>;
|
|
1534
1478
|
}
|
|
1535
1479
|
/**
|
|
1536
1480
|
* Represents a workflow run that can be executed
|
|
@@ -2732,4 +2676,4 @@ declare abstract class MastraStorage extends MastraBase {
|
|
|
2732
2676
|
}): Promise<WorkflowRun | null>;
|
|
2733
2677
|
}
|
|
2734
2678
|
|
|
2735
|
-
export { type
|
|
2679
|
+
export { type CoreToolMessage as $, type ApiRoute as A, type WatchEvent as B, type ToolAction as C, type DynamicMapping as D, type EvalRow as E, Agent as F, type AgentConfig as G, MastraMemory as H, type ToolExecutionContext as I, Tool as J, Step as K, Workflow as L, type Methods as M, type NewStep as N, type WorkflowOptions as O, type PathsToStringProps as P, type LanguageModel as Q, Run as R, type StorageColumn as S, type TABLE_NAMES as T, type CoreMessage as U, type VariableReference as V, type WorkflowRuns as W, type CoreSystemMessage as X, type CoreAssistantMessage as Y, type ZodPathType as Z, type CoreUserMessage as _, Mastra as a, type WorkflowRunState as a$, type EmbedResult as a0, type EmbedManyResult as a1, type BaseStructuredOutputType as a2, type StructuredOutputType as a3, type StructuredOutputArrayItem as a4, type StructuredOutput as a5, type GenerateReturn as a6, type StreamReturn as a7, type OutputType as a8, type DefaultLLMTextOptions as a9, type BaseCondition as aA, type ActionContext as aB, WhenConditionReturnValue as aC, type StepDef as aD, type StepCondition as aE, type StepConfig as aF, type StepResult$1 as aG, type StepsRecord$1 as aH, type WorkflowRunResult as aI, type WorkflowContext as aJ, type WorkflowLogMessage as aK, type WorkflowEvent as aL, type ResolverFunctionInput as aM, type ResolverFunctionOutput as aN, type SubscriberFunctionOutput as aO, type DependencyCheckOutput as aP, type StepResolverOutput as aQ, type WorkflowActors as aR, type WorkflowActionParams as aS, type WorkflowActions as aT, type WorkflowState as aU, type StepId as aV, type ExtractSchemaFromStep$1 as aW, type ExtractStepResult as aX, type StepInputType as aY, type ExtractSchemaType$1 as aZ, type PathsToStringProps$1 as a_, type DefaultLLMTextObjectOptions as aa, type DefaultLLMStreamOptions as ab, type DefaultLLMStreamObjectOptions as ac, type LLMTextOptions as ad, type LLMTextObjectOptions as ae, type LLMStreamOptions as af, type LLMInnerStreamOptions as ag, type LLMStreamObjectOptions as ah, createMockModel as ai, type Config as aj, type MessageResponse as ak, type MemoryConfig as al, type SharedMemoryConfig as am, type MemoryProcessorOpts as an, MemoryProcessor as ao, memoryDefaultOptions as ap, createTool as aq, type VercelTool as ar, type CoreTool as as, type StepExecutionContext as at, type StepAction as au, type StepVariableType as av, type StepNode as aw, type StepGraph as ax, type RetryConfig as ay, type VariableReference$1 as az, MastraStorage as b, type WorkflowResumeResult as b0, type ToolsInput as b1, type MastraPrimitives as b2, AgentNetwork as b3, type MastraLanguageModel as b4, type AgentNetworkConfig as b5, type VoiceEventType as b6, type VoiceEventMap as b7, type VoiceConfig as b8, MastraVoice as b9, CompositeVoice as ba, DefaultVoice as bb, type ToolsetsInput as bc, type DynamicArgument as bd, type AgentGenerateOptions as be, type AgentStreamOptions as bf, TABLE_WORKFLOW_SNAPSHOT as bg, TABLE_EVALS as bh, TABLE_MESSAGES as bi, TABLE_THREADS as bj, TABLE_TRACES as bk, TABLE_SCHEMAS as bl, type StorageThreadType as c, type MessageType as d, type StorageGetMessagesArg as e, type WorkflowRun as f, ExecutionEngine as g, type ExecutionGraph as h, type StepResult as i, type StepFlowEntry as j, type ExecuteFunction as k, type SerializedStep as l, type SerializedStepFlowEntry as m, createStep as n, cloneStep as o, createWorkflow as p, cloneWorkflow as q, type WorkflowResult as r, type NewWorkflowConfig as s, NewWorkflow as t, type StepSuccess as u, type StepFailure as v, type StepSuspended as w, type StepsRecord as x, type ExtractSchemaType as y, type ExtractSchemaFromStep as z };
|
|
@@ -1168,6 +1168,10 @@ type StepsRecord<T extends readonly NewStep<any, any, any>[]> = {
|
|
|
1168
1168
|
id: K;
|
|
1169
1169
|
}>;
|
|
1170
1170
|
};
|
|
1171
|
+
type DynamicMapping<TPrevSchema extends z.ZodTypeAny, TSchemaOut extends z.ZodTypeAny> = {
|
|
1172
|
+
fn: ExecuteFunction<z.infer<TPrevSchema>, z.infer<TSchemaOut>, any, any>;
|
|
1173
|
+
schema: TSchemaOut;
|
|
1174
|
+
};
|
|
1171
1175
|
type PathsToStringProps<T> = T extends object ? {
|
|
1172
1176
|
[K in keyof T]: T[K] extends object ? K extends string ? K | `${K}.${PathsToStringProps<T[K]>}` : never : K extends string ? K : never;
|
|
1173
1177
|
}[keyof T] : never;
|
|
@@ -1406,7 +1410,7 @@ declare class NewWorkflow<TSteps extends NewStep<string, any, any, any, any>[] =
|
|
|
1406
1410
|
then<TStepInputSchema extends TPrevSchema, TStepId extends string, TSchemaOut extends z.ZodType<any>>(step: NewStep<TStepId, TStepInputSchema, TSchemaOut, any, any>): NewWorkflow<TSteps, TWorkflowId, TInput, TOutput, TSchemaOut>;
|
|
1407
1411
|
map<TSteps extends NewStep<string, any, any>[], TMapping extends {
|
|
1408
1412
|
[K in keyof TMapping]: {
|
|
1409
|
-
step: TSteps[number];
|
|
1413
|
+
step: TSteps[number] | TSteps[number][];
|
|
1410
1414
|
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], 'outputSchema'>>> | '.';
|
|
1411
1415
|
} | {
|
|
1412
1416
|
value: any;
|
|
@@ -1417,68 +1421,8 @@ declare class NewWorkflow<TSteps extends NewStep<string, any, any, any, any>[] =
|
|
|
1417
1421
|
} | {
|
|
1418
1422
|
runtimeContextPath: string;
|
|
1419
1423
|
schema: z.ZodTypeAny;
|
|
1420
|
-
}
|
|
1421
|
-
}>(mappingConfig: TMapping): NewWorkflow<TSteps, TWorkflowId, TInput, TOutput,
|
|
1422
|
-
step: TSteps[number];
|
|
1423
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "outputSchema">>>;
|
|
1424
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["step"]["outputSchema"] : ZodPathType<TMapping[K]["step"]["outputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1425
|
-
initData: TSteps[number];
|
|
1426
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "inputSchema">>>;
|
|
1427
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["initData"]["inputSchema"] : ZodPathType<TMapping[K]["initData"]["inputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1428
|
-
value: any;
|
|
1429
|
-
schema: z.ZodTypeAny;
|
|
1430
|
-
} ? TMapping[K]["schema"] : TMapping[K] extends {
|
|
1431
|
-
runtimeContextPath: string;
|
|
1432
|
-
schema: z.ZodTypeAny;
|
|
1433
|
-
} ? TMapping[K]["schema"] : never; }, any, z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{ [K in keyof TMapping]: TMapping[K] extends {
|
|
1434
|
-
step: TSteps[number];
|
|
1435
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "outputSchema">>>;
|
|
1436
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["step"]["outputSchema"] : ZodPathType<TMapping[K]["step"]["outputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1437
|
-
initData: TSteps[number];
|
|
1438
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "inputSchema">>>;
|
|
1439
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["initData"]["inputSchema"] : ZodPathType<TMapping[K]["initData"]["inputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1440
|
-
value: any;
|
|
1441
|
-
schema: z.ZodTypeAny;
|
|
1442
|
-
} ? TMapping[K]["schema"] : TMapping[K] extends {
|
|
1443
|
-
runtimeContextPath: string;
|
|
1444
|
-
schema: z.ZodTypeAny;
|
|
1445
|
-
} ? TMapping[K]["schema"] : never; }>, any> extends infer T ? { [k in keyof T]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{ [K in keyof TMapping]: TMapping[K] extends {
|
|
1446
|
-
step: TSteps[number];
|
|
1447
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "outputSchema">>>;
|
|
1448
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["step"]["outputSchema"] : ZodPathType<TMapping[K]["step"]["outputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1449
|
-
initData: TSteps[number];
|
|
1450
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "inputSchema">>>;
|
|
1451
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["initData"]["inputSchema"] : ZodPathType<TMapping[K]["initData"]["inputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1452
|
-
value: any;
|
|
1453
|
-
schema: z.ZodTypeAny;
|
|
1454
|
-
} ? TMapping[K]["schema"] : TMapping[K] extends {
|
|
1455
|
-
runtimeContextPath: string;
|
|
1456
|
-
schema: z.ZodTypeAny;
|
|
1457
|
-
} ? TMapping[K]["schema"] : never; }>, any>[k]; } : never, z.baseObjectInputType<{ [K in keyof TMapping]: TMapping[K] extends {
|
|
1458
|
-
step: TSteps[number];
|
|
1459
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "outputSchema">>>;
|
|
1460
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["step"]["outputSchema"] : ZodPathType<TMapping[K]["step"]["outputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1461
|
-
initData: TSteps[number];
|
|
1462
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "inputSchema">>>;
|
|
1463
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["initData"]["inputSchema"] : ZodPathType<TMapping[K]["initData"]["inputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1464
|
-
value: any;
|
|
1465
|
-
schema: z.ZodTypeAny;
|
|
1466
|
-
} ? TMapping[K]["schema"] : TMapping[K] extends {
|
|
1467
|
-
runtimeContextPath: string;
|
|
1468
|
-
schema: z.ZodTypeAny;
|
|
1469
|
-
} ? TMapping[K]["schema"] : never; }> extends infer T_1 ? { [k_1 in keyof T_1]: z.baseObjectInputType<{ [K in keyof TMapping]: TMapping[K] extends {
|
|
1470
|
-
step: TSteps[number];
|
|
1471
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "outputSchema">>>;
|
|
1472
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["step"]["outputSchema"] : ZodPathType<TMapping[K]["step"]["outputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1473
|
-
initData: TSteps[number];
|
|
1474
|
-
path: PathsToStringProps<ExtractSchemaType<ExtractSchemaFromStep<TSteps[number], "inputSchema">>>;
|
|
1475
|
-
} ? TMapping[K]["path"] extends "." ? TMapping[K]["initData"]["inputSchema"] : ZodPathType<TMapping[K]["initData"]["inputSchema"], TMapping[K]["path"]> : TMapping[K] extends {
|
|
1476
|
-
value: any;
|
|
1477
|
-
schema: z.ZodTypeAny;
|
|
1478
|
-
} ? TMapping[K]["schema"] : TMapping[K] extends {
|
|
1479
|
-
runtimeContextPath: string;
|
|
1480
|
-
schema: z.ZodTypeAny;
|
|
1481
|
-
} ? TMapping[K]["schema"] : never; }>[k_1]; } : never>>;
|
|
1424
|
+
} | DynamicMapping<TPrevSchema, z.ZodTypeAny>;
|
|
1425
|
+
}>(mappingConfig: TMapping | ExecuteFunction<z.infer<TPrevSchema>, any, any, any>): NewWorkflow<TSteps, TWorkflowId, TInput, TOutput, any>;
|
|
1482
1426
|
parallel<TParallelSteps extends NewStep<string, TPrevSchema, any, any, any>[]>(steps: TParallelSteps): NewWorkflow<TSteps, TWorkflowId, TInput, TOutput, z.ZodObject<{ [K in keyof StepsRecord<TParallelSteps>]: StepsRecord<TParallelSteps>[K]["outputSchema"]["path"]; }, any, z.ZodTypeAny>>;
|
|
1483
1427
|
branch<TBranchSteps extends Array<[
|
|
1484
1428
|
ExecuteFunction<z.infer<TPrevSchema>, any, any, any>,
|
|
@@ -1530,7 +1474,7 @@ declare class NewWorkflow<TSteps extends NewStep<string, any, any, any, any>[] =
|
|
|
1530
1474
|
offset?: number;
|
|
1531
1475
|
resourceId?: string;
|
|
1532
1476
|
}): Promise<WorkflowRuns>;
|
|
1533
|
-
|
|
1477
|
+
getWorkflowRunById(runId: string): Promise<WorkflowRun | null>;
|
|
1534
1478
|
}
|
|
1535
1479
|
/**
|
|
1536
1480
|
* Represents a workflow run that can be executed
|
|
@@ -2732,4 +2676,4 @@ declare abstract class MastraStorage extends MastraBase {
|
|
|
2732
2676
|
}): Promise<WorkflowRun | null>;
|
|
2733
2677
|
}
|
|
2734
2678
|
|
|
2735
|
-
export { type
|
|
2679
|
+
export { type CoreToolMessage as $, type ApiRoute as A, type WatchEvent as B, type ToolAction as C, type DynamicMapping as D, type EvalRow as E, Agent as F, type AgentConfig as G, MastraMemory as H, type ToolExecutionContext as I, Tool as J, Step as K, Workflow as L, type Methods as M, type NewStep as N, type WorkflowOptions as O, type PathsToStringProps as P, type LanguageModel as Q, Run as R, type StorageColumn as S, type TABLE_NAMES as T, type CoreMessage as U, type VariableReference as V, type WorkflowRuns as W, type CoreSystemMessage as X, type CoreAssistantMessage as Y, type ZodPathType as Z, type CoreUserMessage as _, Mastra as a, type WorkflowRunState as a$, type EmbedResult as a0, type EmbedManyResult as a1, type BaseStructuredOutputType as a2, type StructuredOutputType as a3, type StructuredOutputArrayItem as a4, type StructuredOutput as a5, type GenerateReturn as a6, type StreamReturn as a7, type OutputType as a8, type DefaultLLMTextOptions as a9, type BaseCondition as aA, type ActionContext as aB, WhenConditionReturnValue as aC, type StepDef as aD, type StepCondition as aE, type StepConfig as aF, type StepResult$1 as aG, type StepsRecord$1 as aH, type WorkflowRunResult as aI, type WorkflowContext as aJ, type WorkflowLogMessage as aK, type WorkflowEvent as aL, type ResolverFunctionInput as aM, type ResolverFunctionOutput as aN, type SubscriberFunctionOutput as aO, type DependencyCheckOutput as aP, type StepResolverOutput as aQ, type WorkflowActors as aR, type WorkflowActionParams as aS, type WorkflowActions as aT, type WorkflowState as aU, type StepId as aV, type ExtractSchemaFromStep$1 as aW, type ExtractStepResult as aX, type StepInputType as aY, type ExtractSchemaType$1 as aZ, type PathsToStringProps$1 as a_, type DefaultLLMTextObjectOptions as aa, type DefaultLLMStreamOptions as ab, type DefaultLLMStreamObjectOptions as ac, type LLMTextOptions as ad, type LLMTextObjectOptions as ae, type LLMStreamOptions as af, type LLMInnerStreamOptions as ag, type LLMStreamObjectOptions as ah, createMockModel as ai, type Config as aj, type MessageResponse as ak, type MemoryConfig as al, type SharedMemoryConfig as am, type MemoryProcessorOpts as an, MemoryProcessor as ao, memoryDefaultOptions as ap, createTool as aq, type VercelTool as ar, type CoreTool as as, type StepExecutionContext as at, type StepAction as au, type StepVariableType as av, type StepNode as aw, type StepGraph as ax, type RetryConfig as ay, type VariableReference$1 as az, MastraStorage as b, type WorkflowResumeResult as b0, type ToolsInput as b1, type MastraPrimitives as b2, AgentNetwork as b3, type MastraLanguageModel as b4, type AgentNetworkConfig as b5, type VoiceEventType as b6, type VoiceEventMap as b7, type VoiceConfig as b8, MastraVoice as b9, CompositeVoice as ba, DefaultVoice as bb, type ToolsetsInput as bc, type DynamicArgument as bd, type AgentGenerateOptions as be, type AgentStreamOptions as bf, TABLE_WORKFLOW_SNAPSHOT as bg, TABLE_EVALS as bh, TABLE_MESSAGES as bi, TABLE_THREADS as bj, TABLE_TRACES as bk, TABLE_SCHEMAS as bl, type StorageThreadType as c, type MessageType as d, type StorageGetMessagesArg as e, type WorkflowRun as f, ExecutionEngine as g, type ExecutionGraph as h, type StepResult as i, type StepFlowEntry as j, type ExecuteFunction as k, type SerializedStep as l, type SerializedStepFlowEntry as m, createStep as n, cloneStep as o, createWorkflow as p, cloneWorkflow as q, type WorkflowResult as r, type NewWorkflowConfig as s, NewWorkflow as t, type StepSuccess as u, type StepFailure as v, type StepSuspended as w, type StepsRecord as x, type ExtractSchemaType as y, type ExtractSchemaFromStep as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LibSQLVector } from './chunk-47NGQPZI.js';
|
|
2
|
-
import { DefaultProxyStorage, augmentWithInit } from './chunk-
|
|
2
|
+
import { DefaultProxyStorage, augmentWithInit } from './chunk-MNGIRRFY.js';
|
|
3
3
|
import { deepMerge } from './chunk-ZCJJ6XOH.js';
|
|
4
4
|
import { MastraBase } from './chunk-CLJQYXNM.js';
|
|
5
5
|
import { existsSync } from 'fs';
|
|
@@ -285,6 +285,38 @@ export const agent = new Agent({
|
|
|
285
285
|
typeof this.vector !== `undefined` && // and semanticRecall is enabled
|
|
286
286
|
semanticRecallIsEnabled
|
|
287
287
|
) {
|
|
288
|
+
this.deprecationWarnings.push(`
|
|
289
|
+
The default embedder (FastEmbed) is deprecated in Mastra Memory.
|
|
290
|
+
You're using it as an implicit default by not configuring an embedder.
|
|
291
|
+
|
|
292
|
+
On May 20th there will be a breaking change and the default embedder will be removed from @mastra/core.
|
|
293
|
+
|
|
294
|
+
To continue using FastEmbed, install the dedicated package:
|
|
295
|
+
pnpm add @mastra/fastembed
|
|
296
|
+
|
|
297
|
+
Then configure it in your Memory setup:
|
|
298
|
+
|
|
299
|
+
import { fastembed } from '@mastra/fastembed';
|
|
300
|
+
|
|
301
|
+
export const agent = new Agent({
|
|
302
|
+
memory: new Memory({
|
|
303
|
+
embedder: fastembed, // Configure the embedder
|
|
304
|
+
// your other config
|
|
305
|
+
})
|
|
306
|
+
})
|
|
307
|
+
|
|
308
|
+
Alternatively, you can use a different embedder, like OpenAI:
|
|
309
|
+
import { openai } from '@ai-sdk/openai';
|
|
310
|
+
|
|
311
|
+
export const agent = new Agent({
|
|
312
|
+
memory: new Memory({
|
|
313
|
+
embedder: openai.embedding('text-embedding-3-small'),
|
|
314
|
+
// your other config
|
|
315
|
+
})
|
|
316
|
+
})
|
|
317
|
+
|
|
318
|
+
--> This breaking change will be released on May 20th <--
|
|
319
|
+
`);
|
|
288
320
|
this.embedder = defaultEmbedder("bge-small-en-v1.5");
|
|
289
321
|
}
|
|
290
322
|
if (config.processors) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefaultProxyStorage, augmentWithInit } from './chunk-
|
|
1
|
+
import { DefaultProxyStorage, augmentWithInit } from './chunk-MNGIRRFY.js';
|
|
2
2
|
import { InstrumentClass, Telemetry } from './chunk-KWYJUFY3.js';
|
|
3
3
|
import { createLogger, LogLevel, noopLogger } from './chunk-2BVZNKLX.js';
|
|
4
4
|
import { __decoratorStart, __decorateElement, __runInitializers } from './chunk-C6A6W6XS.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHAFLSGW5_cjs = require('./chunk-HAFLSGW5.cjs');
|
|
4
4
|
var cohereAi = require('cohere-ai');
|
|
5
5
|
|
|
6
6
|
var CohereRelevanceScorer = class {
|
|
@@ -38,7 +38,7 @@ Relevance score (0-1):`;
|
|
|
38
38
|
var MastraAgentRelevanceScorer = class {
|
|
39
39
|
agent;
|
|
40
40
|
constructor(name, model) {
|
|
41
|
-
this.agent = new
|
|
41
|
+
this.agent = new chunkHAFLSGW5_cjs.Agent({
|
|
42
42
|
name: `Relevance Scorer ${name}`,
|
|
43
43
|
instructions: `You are a specialized agent for evaluating the relevance of text to queries.
|
|
44
44
|
Your task is to rate how well a text passage answers a given query.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFXUTMNQG_cjs = require('./chunk-FXUTMNQG.cjs');
|
|
4
4
|
var chunkMYHX5XVW_cjs = require('./chunk-MYHX5XVW.cjs');
|
|
5
5
|
var chunkO7IW545H_cjs = require('./chunk-O7IW545H.cjs');
|
|
6
6
|
var chunkRWTSGWWL_cjs = require('./chunk-RWTSGWWL.cjs');
|
|
@@ -67,13 +67,13 @@ exports.Mastra = class Mastra {
|
|
|
67
67
|
this.#logger = logger;
|
|
68
68
|
let storage = config?.storage;
|
|
69
69
|
if (!storage) {
|
|
70
|
-
storage = new
|
|
70
|
+
storage = new chunkFXUTMNQG_cjs.DefaultProxyStorage({
|
|
71
71
|
config: {
|
|
72
72
|
url: process.env.MASTRA_DEFAULT_STORAGE_URL || `:memory:`
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
|
-
storage =
|
|
76
|
+
storage = chunkFXUTMNQG_cjs.augmentWithInit(storage);
|
|
77
77
|
this.#telemetry = chunkMYHX5XVW_cjs.Telemetry.init(config?.telemetry);
|
|
78
78
|
if (this.#telemetry) {
|
|
79
79
|
this.#storage = this.#telemetry.traceClass(storage, {
|
|
@@ -285,7 +285,7 @@ This is a warning for now, but will throw an error in the future
|
|
|
285
285
|
return this.#vnext_workflows;
|
|
286
286
|
}
|
|
287
287
|
setStorage(storage) {
|
|
288
|
-
if (storage instanceof
|
|
288
|
+
if (storage instanceof chunkFXUTMNQG_cjs.DefaultProxyStorage) {
|
|
289
289
|
this.#logger.warn(`Importing "DefaultStorage" from '@mastra/core/storage/libsql' is deprecated.
|
|
290
290
|
|
|
291
291
|
Instead of:
|
|
@@ -295,7 +295,7 @@ Do:
|
|
|
295
295
|
import { LibSQLStore } from '@mastra/libsql';
|
|
296
296
|
`);
|
|
297
297
|
}
|
|
298
|
-
this.#storage =
|
|
298
|
+
this.#storage = chunkFXUTMNQG_cjs.augmentWithInit(storage);
|
|
299
299
|
}
|
|
300
300
|
setLogger({
|
|
301
301
|
logger
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkT3UZONPQ_cjs = require('./chunk-T3UZONPQ.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkFXUTMNQG_cjs = require('./chunk-FXUTMNQG.cjs');
|
|
5
5
|
var chunkD2Y3ET63_cjs = require('./chunk-D2Y3ET63.cjs');
|
|
6
6
|
var chunkD63P5O4Q_cjs = require('./chunk-D63P5O4Q.cjs');
|
|
7
7
|
var fs = require('fs');
|
|
@@ -182,7 +182,7 @@ var MastraMemory = class extends chunkD63P5O4Q_cjs.MastraBase {
|
|
|
182
182
|
if (config.storage) {
|
|
183
183
|
this.storage = config.storage;
|
|
184
184
|
} else {
|
|
185
|
-
this.storage = new
|
|
185
|
+
this.storage = new chunkFXUTMNQG_cjs.DefaultProxyStorage({
|
|
186
186
|
config: {
|
|
187
187
|
url: "file:memory.db"
|
|
188
188
|
}
|
|
@@ -236,7 +236,7 @@ export const yourAgent = new Agent({
|
|
|
236
236
|
})
|
|
237
237
|
`);
|
|
238
238
|
}
|
|
239
|
-
this.storage =
|
|
239
|
+
this.storage = chunkFXUTMNQG_cjs.augmentWithInit(this.storage);
|
|
240
240
|
const semanticRecallIsEnabled = this.threadConfig.semanticRecall !== false;
|
|
241
241
|
if (config.vector && semanticRecallIsEnabled) {
|
|
242
242
|
this.vector = config.vector;
|
|
@@ -292,6 +292,38 @@ export const agent = new Agent({
|
|
|
292
292
|
typeof this.vector !== `undefined` && // and semanticRecall is enabled
|
|
293
293
|
semanticRecallIsEnabled
|
|
294
294
|
) {
|
|
295
|
+
this.deprecationWarnings.push(`
|
|
296
|
+
The default embedder (FastEmbed) is deprecated in Mastra Memory.
|
|
297
|
+
You're using it as an implicit default by not configuring an embedder.
|
|
298
|
+
|
|
299
|
+
On May 20th there will be a breaking change and the default embedder will be removed from @mastra/core.
|
|
300
|
+
|
|
301
|
+
To continue using FastEmbed, install the dedicated package:
|
|
302
|
+
pnpm add @mastra/fastembed
|
|
303
|
+
|
|
304
|
+
Then configure it in your Memory setup:
|
|
305
|
+
|
|
306
|
+
import { fastembed } from '@mastra/fastembed';
|
|
307
|
+
|
|
308
|
+
export const agent = new Agent({
|
|
309
|
+
memory: new Memory({
|
|
310
|
+
embedder: fastembed, // Configure the embedder
|
|
311
|
+
// your other config
|
|
312
|
+
})
|
|
313
|
+
})
|
|
314
|
+
|
|
315
|
+
Alternatively, you can use a different embedder, like OpenAI:
|
|
316
|
+
import { openai } from '@ai-sdk/openai';
|
|
317
|
+
|
|
318
|
+
export const agent = new Agent({
|
|
319
|
+
memory: new Memory({
|
|
320
|
+
embedder: openai.embedding('text-embedding-3-small'),
|
|
321
|
+
// your other config
|
|
322
|
+
})
|
|
323
|
+
})
|
|
324
|
+
|
|
325
|
+
--> This breaking change will be released on May 20th <--
|
|
326
|
+
`);
|
|
295
327
|
this.embedder = defaultEmbedder("bge-small-en-v1.5");
|
|
296
328
|
}
|
|
297
329
|
if (config.processors) {
|
|
@@ -390,7 +422,7 @@ ${messages.length ? messages.map((ft) => ft.message).join(`
|
|
|
390
422
|
}
|
|
391
423
|
}
|
|
392
424
|
setStorage(storage) {
|
|
393
|
-
if (storage instanceof
|
|
425
|
+
if (storage instanceof chunkFXUTMNQG_cjs.DefaultProxyStorage) {
|
|
394
426
|
this.deprecationWarnings.push(`Importing "DefaultStorage" from '@mastra/core/storage/libsql' is deprecated.
|
|
395
427
|
|
|
396
428
|
Instead of:
|
package/dist/eval/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as Metric, T as TestInfo, E as EvaluationResult } from '../types-BtMyV38I.cjs';
|
|
2
2
|
export { M as MetricResult } from '../types-BtMyV38I.cjs';
|
|
3
|
-
import {
|
|
3
|
+
import { F as Agent } from '../base-B3g_Q3KV.cjs';
|
|
4
4
|
import 'ai';
|
|
5
5
|
import '../base-BihKcqDY.cjs';
|
|
6
6
|
import '@opentelemetry/api';
|
package/dist/eval/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as Metric, T as TestInfo, E as EvaluationResult } from '../types-BtMyV38I.js';
|
|
2
2
|
export { M as MetricResult } from '../types-BtMyV38I.js';
|
|
3
|
-
import {
|
|
3
|
+
import { F as Agent } from '../base-Dq_YZkEc.js';
|
|
4
4
|
import 'ai';
|
|
5
5
|
import '../base-DT2poiVK.js';
|
|
6
6
|
import '@opentelemetry/api';
|