@theokit/sdk 2.24.0 → 2.26.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.
Files changed (42) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/dist/a2a/index.cjs +464 -195
  3. package/dist/a2a/index.cjs.map +1 -1
  4. package/dist/a2a/index.js +464 -195
  5. package/dist/a2a/index.js.map +1 -1
  6. package/dist/create-skill.d.ts +8 -0
  7. package/dist/{cron-vjod0qVQ.d.ts → cron-BR1NCSk1.d.cts} +77 -4
  8. package/dist/{cron-Bd2oRD7A.d.cts → cron-DgEQCJ2i.d.ts} +77 -4
  9. package/dist/cron.cjs +430 -184
  10. package/dist/cron.cjs.map +1 -1
  11. package/dist/cron.d.cts +2 -2
  12. package/dist/cron.d.ts +2 -2
  13. package/dist/cron.js +430 -184
  14. package/dist/cron.js.map +1 -1
  15. package/dist/{errors-DRS-kqOK.d.ts → errors-CbY3pxY7.d.ts} +1 -1
  16. package/dist/{errors-DIKBXffg.d.cts → errors-DLMNb4Ka.d.cts} +1 -1
  17. package/dist/errors.d.cts +2 -2
  18. package/dist/eval.cjs +430 -184
  19. package/dist/eval.cjs.map +1 -1
  20. package/dist/eval.js +430 -184
  21. package/dist/eval.js.map +1 -1
  22. package/dist/index.cjs +523 -190
  23. package/dist/index.cjs.map +1 -1
  24. package/dist/index.d.cts +93 -7
  25. package/dist/index.d.ts +93 -7
  26. package/dist/index.js +520 -191
  27. package/dist/index.js.map +1 -1
  28. package/dist/internal/runtime/local-agent/local-agent-bootstrap.d.ts +2 -4
  29. package/dist/internal/runtime/processors/run-processors.d.ts +10 -0
  30. package/dist/internal/runtime/processors/tripwire-run.d.ts +16 -0
  31. package/dist/internal/runtime/processors/wrap-output-run.d.ts +18 -0
  32. package/dist/internal/runtime/skills/skill-frontmatter.d.ts +6 -0
  33. package/dist/{run-Cr0C6cOM.d.cts → run-CdWiihyU.d.cts} +109 -2
  34. package/dist/{run-Cr0C6cOM.d.ts → run-CdWiihyU.d.ts} +109 -2
  35. package/dist/skills.cjs.map +1 -1
  36. package/dist/skills.js.map +1 -1
  37. package/dist/types/agent.d.ts +67 -2
  38. package/dist/types/index.d.ts +1 -0
  39. package/dist/types/processors.d.ts +84 -0
  40. package/dist/types/run-events.d.ts +11 -1
  41. package/dist/types/run.d.ts +12 -0
  42. package/package.json +1 -1
@@ -13,6 +13,12 @@ import type { Skill } from "./internal/runtime/skills/discover-skills.js";
13
13
  export interface InlineSkill extends Skill {
14
14
  /** The skill body/instructions (inline skills carry it here instead of a SKILL.md file). */
15
15
  instructions: string;
16
+ /**
17
+ * SE21 — supporting documents bundled with the skill (filename → content),
18
+ * mirroring a filesystem skill's `references/` directory. Surfaced to the app
19
+ * via `agent.skills.get(name)`; not injected into the model prompt.
20
+ */
21
+ references?: Record<string, string>;
16
22
  }
17
23
  /** Spec accepted by {@link createSkill}. */
18
24
  export interface CreateSkillSpec {
@@ -21,6 +27,8 @@ export interface CreateSkillSpec {
21
27
  instructions: string;
22
28
  category?: string;
23
29
  dependencies?: string[];
30
+ /** SE21 — supporting documents (filename → content), like a filesystem skill's `references/`. */
31
+ references?: Record<string, string>;
24
32
  }
25
33
  /**
26
34
  * Build an {@link InlineSkill} from a code spec. Fails fast on an empty `name`/`description`
@@ -1,4 +1,4 @@
1
- import { C as CustomTool, M as ModelSelection, Z as SDKUserMessage, $ as SendOptions, b as Run, G as GenerateOptions, j as GenerateRunResult, F as RunToCompletionOptions, H as RunToCompletionResult, S as SDKMessage, a6 as StreamToCompletionResult, a as McpServerConfig } from './run-Cr0C6cOM.js';
1
+ import { C as CustomTool, M as ModelSelection, a4 as SDKUserMessage, a6 as SendOptions, b as Run, G as GenerateOptions, j as GenerateRunResult, N as RunToCompletionOptions, Q as RunToCompletionResult, S as SDKMessage, ad as StreamToCompletionResult, a as McpServerConfig, P as Processor } from './run-CdWiihyU.cjs';
2
2
  import * as zod from 'zod';
3
3
 
4
4
  /**
@@ -751,6 +751,12 @@ interface Skill {
751
751
  interface InlineSkill extends Skill {
752
752
  /** The skill body/instructions (inline skills carry it here instead of a SKILL.md file). */
753
753
  instructions: string;
754
+ /**
755
+ * SE21 — supporting documents bundled with the skill (filename → content),
756
+ * mirroring a filesystem skill's `references/` directory. Surfaced to the app
757
+ * via `agent.skills.get(name)`; not injected into the model prompt.
758
+ */
759
+ references?: Record<string, string>;
754
760
  }
755
761
  /** Spec accepted by {@link createSkill}. */
756
762
  interface CreateSkillSpec {
@@ -759,6 +765,8 @@ interface CreateSkillSpec {
759
765
  instructions: string;
760
766
  category?: string;
761
767
  dependencies?: string[];
768
+ /** SE21 — supporting documents (filename → content), like a filesystem skill's `references/`. */
769
+ references?: Record<string, string>;
762
770
  }
763
771
  /**
764
772
  * Build an {@link InlineSkill} from a code spec. Fails fast on an empty `name`/`description`
@@ -1187,8 +1195,27 @@ interface SystemPromptSkillRef {
1187
1195
  *
1188
1196
  * @public
1189
1197
  */
1198
+ /**
1199
+ * A skill resolved WITH its body, returned by {@link SDKAgentSkills.get}. Unlike
1200
+ * {@link SystemPromptSkillRef} (name + description only), this carries the full
1201
+ * `instructions` — read from the SKILL.md for filesystem skills or the inline
1202
+ * `createSkill` body. @public
1203
+ */
1204
+ interface SDKAgentSkillDetail {
1205
+ name: string;
1206
+ description: string;
1207
+ instructions: string;
1208
+ /** SE21 — supporting documents bundled with the skill (filename → content), when present. */
1209
+ references?: Record<string, string>;
1210
+ }
1190
1211
  interface SDKAgentSkills {
1191
1212
  list(): Promise<ReadonlyArray<SystemPromptSkillRef>>;
1213
+ /**
1214
+ * SE20 — resolve a skill by name INCLUDING its body (`instructions`). Returns
1215
+ * `undefined` when no enabled skill matches. `list()` stays lean (name +
1216
+ * description); full bodies come only through `get`.
1217
+ */
1218
+ get(name: string): Promise<SDKAgentSkillDetail | undefined>;
1192
1219
  }
1193
1220
  /**
1194
1221
  * Public plugin metadata returned by `agent.plugins.list()`. Mirrors the
@@ -1279,6 +1306,36 @@ interface SkillsSettings {
1279
1306
  */
1280
1307
  inline?: InlineSkill[];
1281
1308
  }
1309
+ /**
1310
+ * SE22 — context passed to a {@link SkillsResolver}. Mirrors
1311
+ * {@link SystemPromptContext} MINUS `skills`: the resolver runs BEFORE skills
1312
+ * are assembled, so the resolved list does not exist yet.
1313
+ *
1314
+ * @public
1315
+ */
1316
+ interface SkillsResolverContext {
1317
+ agentId: string;
1318
+ /** Workspace cwd. `string | undefined` mirrors {@link SystemPromptContext}; a local agent always passes a concrete path. */
1319
+ cwd: string | undefined;
1320
+ model: ModelSelection | undefined;
1321
+ userMessage: string;
1322
+ /** Recalled durable facts when memory is enabled. */
1323
+ memory: ReadonlyArray<SystemPromptMemoryFact>;
1324
+ }
1325
+ /**
1326
+ * SE22 — a resolver that produces {@link SkillsSettings} per run from runtime
1327
+ * context (e.g. the user's role). Mirrors the {@link SystemPromptResolver}
1328
+ * pattern: evaluated per `send()` BEFORE skill assembly, so a cached
1329
+ * `getOrCreate` agent re-resolves on every run.
1330
+ *
1331
+ * The SDK imposes NO timeout — wrap your own `Promise.race` for slow sources. A
1332
+ * throwing resolver fails the run (no silent fallback — Rule 8). Cloud agents
1333
+ * reject a function resolver (it can't run on PaaS); resolve to a static
1334
+ * {@link SkillsSettings} object before `Agent.create()`.
1335
+ *
1336
+ * @public
1337
+ */
1338
+ type SkillsResolver = (ctx: SkillsResolverContext) => SkillsSettings | Promise<SkillsSettings>;
1282
1339
  /**
1283
1340
  * Memory configuration accepted by `Agent.create()` via {@link AgentOptions.memory}.
1284
1341
  *
@@ -1425,8 +1482,24 @@ interface AgentOptions {
1425
1482
  * The two forms are mutually exclusive — pass one or the other.
1426
1483
  */
1427
1484
  plugins?: PluginsSettings | readonly Plugin[];
1428
- /** Skills configuration. See `agent.skills`. */
1429
- skills?: SkillsSettings;
1485
+ /**
1486
+ * Skills configuration. Either a static {@link SkillsSettings} object or —
1487
+ * SE22 — a {@link SkillsResolver} evaluated per `send()` to pick skills from
1488
+ * runtime context (e.g. user role). A cached agent re-resolves each run. The
1489
+ * agent-scoped `agent.skills` handle reflects the STATIC/base config; the
1490
+ * resolver drives the per-send `<skills>` block.
1491
+ */
1492
+ skills?: SkillsSettings | SkillsResolver;
1493
+ /**
1494
+ * SE24 — guardrail processors. `inputProcessors` run in order before the LLM
1495
+ * (normalize / validate / block / rewrite the user message); `outputProcessors`
1496
+ * run on the model's final text before it reaches the caller (redact / block).
1497
+ * A processor that `abort()`s stops the run with a {@link RunResult.tripwire}
1498
+ * (+ a `tripwire` run-event). Empty/absent ⇒ unchanged behavior. See
1499
+ * {@link Processor}.
1500
+ */
1501
+ inputProcessors?: readonly Processor[];
1502
+ outputProcessors?: readonly Processor[];
1430
1503
  /** Memory configuration. Persists durable facts; auto-recalled on send. */
1431
1504
  memory?: MemorySettings;
1432
1505
  /**
@@ -2146,4 +2219,4 @@ declare class Cron {
2146
2219
  static status(_options?: CronStartOptions): Promise<CronSchedulerStatus>;
2147
2220
  }
2148
2221
 
2149
- export { type CronStartOptions as $, type AgentOptions as A, type BudgetTracker as B, type CloudOptions as C, type BudgetUsageEvent as D, type CloudEnv as E, type CloudRepo as F, type GetAgentOptions as G, type ContextBudget as H, type ContextManagerKind as I, type ContextSnapshot as J, type ContextSource as K, type LocalOptions as L, type MemorySettings as M, type ContextSourceStatus as N, type CreateSkillSpec as O, type ProviderRoutingSettings as P, Cron as Q, type CronCreateOptions as R, type SystemPromptResolver as S, type CronGetOptions as T, type CronJob as U, type CronJobStatus as V, type CronListOptions as W, type CronOperationOptions as X, type CronRunOptions as Y, type CronRuntime as Z, type CronSchedulerStatus as _, type AgentDefinition as a, type GoalEvent as a0, type GoalOptions as a1, type GoalResult as a2, type HookName as a3, type InlineSkill as a4, type InvalidateCacheOptions as a5, type MemoryAdapter as a6, type MemoryAdapterCapabilities as a7, type MemoryContext as a8, type MemoryFact as a9, type TelemetrySettings as aA, createSkill as aB, definePlugin as aC, type MemoryProviderHandle as aa, type MemoryProviderInitOptions as ab, type MemoryRevision as ac, type MemoryToolSchema as ad, type MemoryTurnMessage as ae, type PersonalityPreset as af, type PluginContext as ag, type PostAssistantReplyContext as ah, type PreToolCallContext as ai, type PreUserSendContext as aj, type PreUserSendResult as ak, type ProviderCapability as al, type ProviderRoute as am, type RecordSessionSummaryArgs as an, type ResolvedProviderRoute as ao, type RunUntilIterator as ap, type SDKAgentPlugins as aq, type SDKAgentSkills as ar, type SDKArtifact as as, type SDKContextManager as at, type SDKPluginMetadata as au, type SDKProvidersManager as av, type SettingSource as aw, type SystemPromptContext as ax, type SystemPromptMemoryFact as ay, type SystemPromptSkillRef as az, type ContextSettings as b, type PluginsSettings as c, type SkillsSettings as d, type SDKAgent as e, type ListAgentsOptions as f, type ListResult as g, type SDKAgentInfo as h, type ListRunsOptions as i, type GetRunOptions as j, type AgentOperationOptions as k, type ProviderProfile as l, type Plugin as m, type ConversationStorageAdapter as n, type StoredMessage as o, type SessionMeta as p, type SessionMetaPatch as q, type MemoryProvider as r, type MemoryId as s, type PreToolCallDecision as t, type SDKProvider as u, type ActiveMemoryPassArgs as v, type ActiveMemoryPassResult as w, type AgentMemory as x, type BudgetCheck as y, type BudgetTotal as z };
2222
+ export { type CronSchedulerStatus as $, type AgentOptions as A, type BudgetTracker as B, type CloudOptions as C, type BudgetUsageEvent as D, type CloudEnv as E, type CloudRepo as F, type GetAgentOptions as G, type ContextBudget as H, type InlineSkill as I, type ContextManagerKind as J, type ContextSnapshot as K, type LocalOptions as L, type MemorySettings as M, type ContextSource as N, type ContextSourceStatus as O, type ProviderRoutingSettings as P, type CreateSkillSpec as Q, Cron as R, type SystemPromptResolver as S, type CronCreateOptions as T, type CronGetOptions as U, type CronJob as V, type CronJobStatus as W, type CronListOptions as X, type CronOperationOptions as Y, type CronRunOptions as Z, type CronRuntime as _, type AgentDefinition as a, type CronStartOptions as a0, type GoalEvent as a1, type GoalOptions as a2, type GoalResult as a3, type HookName as a4, type InvalidateCacheOptions as a5, type MemoryAdapter as a6, type MemoryAdapterCapabilities as a7, type MemoryContext as a8, type MemoryFact as a9, type SystemPromptContext as aA, type SystemPromptMemoryFact as aB, type SystemPromptSkillRef as aC, type TelemetrySettings as aD, createSkill as aE, definePlugin as aF, type MemoryProviderHandle as aa, type MemoryProviderInitOptions as ab, type MemoryRevision as ac, type MemoryToolSchema as ad, type MemoryTurnMessage as ae, type PersonalityPreset as af, type PluginContext as ag, type PostAssistantReplyContext as ah, type PreToolCallContext as ai, type PreUserSendContext as aj, type PreUserSendResult as ak, type ProviderCapability as al, type ProviderRoute as am, type RecordSessionSummaryArgs as an, type ResolvedProviderRoute as ao, type RunUntilIterator as ap, type SDKAgentPlugins as aq, type SDKAgentSkillDetail as ar, type SDKAgentSkills as as, type SDKArtifact as at, type SDKContextManager as au, type SDKPluginMetadata as av, type SDKProvidersManager as aw, type SettingSource as ax, type SkillsResolver as ay, type SkillsResolverContext as az, type ContextSettings as b, type PluginsSettings as c, type SkillsSettings as d, type SDKAgent as e, type ListAgentsOptions as f, type ListResult as g, type SDKAgentInfo as h, type ListRunsOptions as i, type GetRunOptions as j, type AgentOperationOptions as k, type ProviderProfile as l, type Plugin as m, type ConversationStorageAdapter as n, type StoredMessage as o, type SessionMeta as p, type SessionMetaPatch as q, type MemoryProvider as r, type MemoryId as s, type PreToolCallDecision as t, type SDKProvider as u, type ActiveMemoryPassArgs as v, type ActiveMemoryPassResult as w, type AgentMemory as x, type BudgetCheck as y, type BudgetTotal as z };
@@ -1,4 +1,4 @@
1
- import { C as CustomTool, M as ModelSelection, Z as SDKUserMessage, $ as SendOptions, b as Run, G as GenerateOptions, j as GenerateRunResult, F as RunToCompletionOptions, H as RunToCompletionResult, S as SDKMessage, a6 as StreamToCompletionResult, a as McpServerConfig } from './run-Cr0C6cOM.cjs';
1
+ import { C as CustomTool, M as ModelSelection, a4 as SDKUserMessage, a6 as SendOptions, b as Run, G as GenerateOptions, j as GenerateRunResult, N as RunToCompletionOptions, Q as RunToCompletionResult, S as SDKMessage, ad as StreamToCompletionResult, a as McpServerConfig, P as Processor } from './run-CdWiihyU.js';
2
2
  import * as zod from 'zod';
3
3
 
4
4
  /**
@@ -751,6 +751,12 @@ interface Skill {
751
751
  interface InlineSkill extends Skill {
752
752
  /** The skill body/instructions (inline skills carry it here instead of a SKILL.md file). */
753
753
  instructions: string;
754
+ /**
755
+ * SE21 — supporting documents bundled with the skill (filename → content),
756
+ * mirroring a filesystem skill's `references/` directory. Surfaced to the app
757
+ * via `agent.skills.get(name)`; not injected into the model prompt.
758
+ */
759
+ references?: Record<string, string>;
754
760
  }
755
761
  /** Spec accepted by {@link createSkill}. */
756
762
  interface CreateSkillSpec {
@@ -759,6 +765,8 @@ interface CreateSkillSpec {
759
765
  instructions: string;
760
766
  category?: string;
761
767
  dependencies?: string[];
768
+ /** SE21 — supporting documents (filename → content), like a filesystem skill's `references/`. */
769
+ references?: Record<string, string>;
762
770
  }
763
771
  /**
764
772
  * Build an {@link InlineSkill} from a code spec. Fails fast on an empty `name`/`description`
@@ -1187,8 +1195,27 @@ interface SystemPromptSkillRef {
1187
1195
  *
1188
1196
  * @public
1189
1197
  */
1198
+ /**
1199
+ * A skill resolved WITH its body, returned by {@link SDKAgentSkills.get}. Unlike
1200
+ * {@link SystemPromptSkillRef} (name + description only), this carries the full
1201
+ * `instructions` — read from the SKILL.md for filesystem skills or the inline
1202
+ * `createSkill` body. @public
1203
+ */
1204
+ interface SDKAgentSkillDetail {
1205
+ name: string;
1206
+ description: string;
1207
+ instructions: string;
1208
+ /** SE21 — supporting documents bundled with the skill (filename → content), when present. */
1209
+ references?: Record<string, string>;
1210
+ }
1190
1211
  interface SDKAgentSkills {
1191
1212
  list(): Promise<ReadonlyArray<SystemPromptSkillRef>>;
1213
+ /**
1214
+ * SE20 — resolve a skill by name INCLUDING its body (`instructions`). Returns
1215
+ * `undefined` when no enabled skill matches. `list()` stays lean (name +
1216
+ * description); full bodies come only through `get`.
1217
+ */
1218
+ get(name: string): Promise<SDKAgentSkillDetail | undefined>;
1192
1219
  }
1193
1220
  /**
1194
1221
  * Public plugin metadata returned by `agent.plugins.list()`. Mirrors the
@@ -1279,6 +1306,36 @@ interface SkillsSettings {
1279
1306
  */
1280
1307
  inline?: InlineSkill[];
1281
1308
  }
1309
+ /**
1310
+ * SE22 — context passed to a {@link SkillsResolver}. Mirrors
1311
+ * {@link SystemPromptContext} MINUS `skills`: the resolver runs BEFORE skills
1312
+ * are assembled, so the resolved list does not exist yet.
1313
+ *
1314
+ * @public
1315
+ */
1316
+ interface SkillsResolverContext {
1317
+ agentId: string;
1318
+ /** Workspace cwd. `string | undefined` mirrors {@link SystemPromptContext}; a local agent always passes a concrete path. */
1319
+ cwd: string | undefined;
1320
+ model: ModelSelection | undefined;
1321
+ userMessage: string;
1322
+ /** Recalled durable facts when memory is enabled. */
1323
+ memory: ReadonlyArray<SystemPromptMemoryFact>;
1324
+ }
1325
+ /**
1326
+ * SE22 — a resolver that produces {@link SkillsSettings} per run from runtime
1327
+ * context (e.g. the user's role). Mirrors the {@link SystemPromptResolver}
1328
+ * pattern: evaluated per `send()` BEFORE skill assembly, so a cached
1329
+ * `getOrCreate` agent re-resolves on every run.
1330
+ *
1331
+ * The SDK imposes NO timeout — wrap your own `Promise.race` for slow sources. A
1332
+ * throwing resolver fails the run (no silent fallback — Rule 8). Cloud agents
1333
+ * reject a function resolver (it can't run on PaaS); resolve to a static
1334
+ * {@link SkillsSettings} object before `Agent.create()`.
1335
+ *
1336
+ * @public
1337
+ */
1338
+ type SkillsResolver = (ctx: SkillsResolverContext) => SkillsSettings | Promise<SkillsSettings>;
1282
1339
  /**
1283
1340
  * Memory configuration accepted by `Agent.create()` via {@link AgentOptions.memory}.
1284
1341
  *
@@ -1425,8 +1482,24 @@ interface AgentOptions {
1425
1482
  * The two forms are mutually exclusive — pass one or the other.
1426
1483
  */
1427
1484
  plugins?: PluginsSettings | readonly Plugin[];
1428
- /** Skills configuration. See `agent.skills`. */
1429
- skills?: SkillsSettings;
1485
+ /**
1486
+ * Skills configuration. Either a static {@link SkillsSettings} object or —
1487
+ * SE22 — a {@link SkillsResolver} evaluated per `send()` to pick skills from
1488
+ * runtime context (e.g. user role). A cached agent re-resolves each run. The
1489
+ * agent-scoped `agent.skills` handle reflects the STATIC/base config; the
1490
+ * resolver drives the per-send `<skills>` block.
1491
+ */
1492
+ skills?: SkillsSettings | SkillsResolver;
1493
+ /**
1494
+ * SE24 — guardrail processors. `inputProcessors` run in order before the LLM
1495
+ * (normalize / validate / block / rewrite the user message); `outputProcessors`
1496
+ * run on the model's final text before it reaches the caller (redact / block).
1497
+ * A processor that `abort()`s stops the run with a {@link RunResult.tripwire}
1498
+ * (+ a `tripwire` run-event). Empty/absent ⇒ unchanged behavior. See
1499
+ * {@link Processor}.
1500
+ */
1501
+ inputProcessors?: readonly Processor[];
1502
+ outputProcessors?: readonly Processor[];
1430
1503
  /** Memory configuration. Persists durable facts; auto-recalled on send. */
1431
1504
  memory?: MemorySettings;
1432
1505
  /**
@@ -2146,4 +2219,4 @@ declare class Cron {
2146
2219
  static status(_options?: CronStartOptions): Promise<CronSchedulerStatus>;
2147
2220
  }
2148
2221
 
2149
- export { type CronStartOptions as $, type AgentOptions as A, type BudgetTracker as B, type CloudOptions as C, type BudgetUsageEvent as D, type CloudEnv as E, type CloudRepo as F, type GetAgentOptions as G, type ContextBudget as H, type ContextManagerKind as I, type ContextSnapshot as J, type ContextSource as K, type LocalOptions as L, type MemorySettings as M, type ContextSourceStatus as N, type CreateSkillSpec as O, type ProviderRoutingSettings as P, Cron as Q, type CronCreateOptions as R, type SystemPromptResolver as S, type CronGetOptions as T, type CronJob as U, type CronJobStatus as V, type CronListOptions as W, type CronOperationOptions as X, type CronRunOptions as Y, type CronRuntime as Z, type CronSchedulerStatus as _, type AgentDefinition as a, type GoalEvent as a0, type GoalOptions as a1, type GoalResult as a2, type HookName as a3, type InlineSkill as a4, type InvalidateCacheOptions as a5, type MemoryAdapter as a6, type MemoryAdapterCapabilities as a7, type MemoryContext as a8, type MemoryFact as a9, type TelemetrySettings as aA, createSkill as aB, definePlugin as aC, type MemoryProviderHandle as aa, type MemoryProviderInitOptions as ab, type MemoryRevision as ac, type MemoryToolSchema as ad, type MemoryTurnMessage as ae, type PersonalityPreset as af, type PluginContext as ag, type PostAssistantReplyContext as ah, type PreToolCallContext as ai, type PreUserSendContext as aj, type PreUserSendResult as ak, type ProviderCapability as al, type ProviderRoute as am, type RecordSessionSummaryArgs as an, type ResolvedProviderRoute as ao, type RunUntilIterator as ap, type SDKAgentPlugins as aq, type SDKAgentSkills as ar, type SDKArtifact as as, type SDKContextManager as at, type SDKPluginMetadata as au, type SDKProvidersManager as av, type SettingSource as aw, type SystemPromptContext as ax, type SystemPromptMemoryFact as ay, type SystemPromptSkillRef as az, type ContextSettings as b, type PluginsSettings as c, type SkillsSettings as d, type SDKAgent as e, type ListAgentsOptions as f, type ListResult as g, type SDKAgentInfo as h, type ListRunsOptions as i, type GetRunOptions as j, type AgentOperationOptions as k, type ProviderProfile as l, type Plugin as m, type ConversationStorageAdapter as n, type StoredMessage as o, type SessionMeta as p, type SessionMetaPatch as q, type MemoryProvider as r, type MemoryId as s, type PreToolCallDecision as t, type SDKProvider as u, type ActiveMemoryPassArgs as v, type ActiveMemoryPassResult as w, type AgentMemory as x, type BudgetCheck as y, type BudgetTotal as z };
2222
+ export { type CronSchedulerStatus as $, type AgentOptions as A, type BudgetTracker as B, type CloudOptions as C, type BudgetUsageEvent as D, type CloudEnv as E, type CloudRepo as F, type GetAgentOptions as G, type ContextBudget as H, type InlineSkill as I, type ContextManagerKind as J, type ContextSnapshot as K, type LocalOptions as L, type MemorySettings as M, type ContextSource as N, type ContextSourceStatus as O, type ProviderRoutingSettings as P, type CreateSkillSpec as Q, Cron as R, type SystemPromptResolver as S, type CronCreateOptions as T, type CronGetOptions as U, type CronJob as V, type CronJobStatus as W, type CronListOptions as X, type CronOperationOptions as Y, type CronRunOptions as Z, type CronRuntime as _, type AgentDefinition as a, type CronStartOptions as a0, type GoalEvent as a1, type GoalOptions as a2, type GoalResult as a3, type HookName as a4, type InvalidateCacheOptions as a5, type MemoryAdapter as a6, type MemoryAdapterCapabilities as a7, type MemoryContext as a8, type MemoryFact as a9, type SystemPromptContext as aA, type SystemPromptMemoryFact as aB, type SystemPromptSkillRef as aC, type TelemetrySettings as aD, createSkill as aE, definePlugin as aF, type MemoryProviderHandle as aa, type MemoryProviderInitOptions as ab, type MemoryRevision as ac, type MemoryToolSchema as ad, type MemoryTurnMessage as ae, type PersonalityPreset as af, type PluginContext as ag, type PostAssistantReplyContext as ah, type PreToolCallContext as ai, type PreUserSendContext as aj, type PreUserSendResult as ak, type ProviderCapability as al, type ProviderRoute as am, type RecordSessionSummaryArgs as an, type ResolvedProviderRoute as ao, type RunUntilIterator as ap, type SDKAgentPlugins as aq, type SDKAgentSkillDetail as ar, type SDKAgentSkills as as, type SDKArtifact as at, type SDKContextManager as au, type SDKPluginMetadata as av, type SDKProvidersManager as aw, type SettingSource as ax, type SkillsResolver as ay, type SkillsResolverContext as az, type ContextSettings as b, type PluginsSettings as c, type SkillsSettings as d, type SDKAgent as e, type ListAgentsOptions as f, type ListResult as g, type SDKAgentInfo as h, type ListRunsOptions as i, type GetRunOptions as j, type AgentOperationOptions as k, type ProviderProfile as l, type Plugin as m, type ConversationStorageAdapter as n, type StoredMessage as o, type SessionMeta as p, type SessionMetaPatch as q, type MemoryProvider as r, type MemoryId as s, type PreToolCallDecision as t, type SDKProvider as u, type ActiveMemoryPassArgs as v, type ActiveMemoryPassResult as w, type AgentMemory as x, type BudgetCheck as y, type BudgetTotal as z };