@theokit/agents 13.0.0-next.10 → 13.0.0-next.11
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/CHANGELOG.md +20 -0
- package/dist/{agent-compiler-CvYfM-0t.d.ts → agent-compiler-DRfBbirH.d.ts} +1 -1
- package/dist/{bridge-entry-B3BRB3e_.d.ts → bridge-entry-Bk4rgMF8.d.ts} +4 -4
- package/dist/bridge.d.ts +5 -5
- package/dist/bridge.js +3 -3
- package/dist/{chunk-FXQF7LS3.js → chunk-AHLGDLUX.js} +2 -2
- package/dist/{chunk-6YJIXBMA.js → chunk-BHW7CSF4.js} +3 -3
- package/dist/{chunk-43O2CCZR.js → chunk-KTOWSF2S.js} +1 -1
- package/dist/{chunk-43O2CCZR.js.map → chunk-KTOWSF2S.js.map} +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/{define-agent-Dp6e7chT.d.ts → define-agent-Cu9uZY7B.d.ts} +2 -2
- package/dist/{delegation-scoring-BZdtCdMN.d.ts → delegation-scoring-CjzhqW2q.d.ts} +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/index.js +3 -3
- package/dist/{setting-sources-gate-tadmHT0c.d.ts → setting-sources-gate-D2NS1GsB.d.ts} +7 -0
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +1 -1
- package/dist/tools.d.ts +3 -3
- package/dist/tools.js +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-FXQF7LS3.js.map → chunk-AHLGDLUX.js.map} +0 -0
- /package/dist/{chunk-6YJIXBMA.js.map → chunk-BHW7CSF4.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @theokit/agents
|
|
2
2
|
|
|
3
|
+
## 13.0.0-next.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5451233: Say, where a consumer can read it, why `CompatSurface` has five names and the SDK's has four
|
|
8
|
+
|
|
9
|
+
`CompatSurface` gained `'commands'` in #704 because this package reads
|
|
10
|
+
`<projectDir>/.claude/commands/*.md` itself. The SDK's own union still has four. A caller who
|
|
11
|
+
builds SDK `local` options directly therefore cannot pass a value of this type, and `TS2345` names
|
|
12
|
+
the mismatch without naming the reason.
|
|
13
|
+
|
|
14
|
+
The explanation existed only in `//` comments, which do not survive into the emitted `.d.ts` — so
|
|
15
|
+
it was invisible to exactly the audience that hits the error. It now lives in the JSDoc block that
|
|
16
|
+
does ship, together with the guidance to derive the SDK's four from this five rather than writing a
|
|
17
|
+
second list by hand: a hand-copied list goes stale the day a surface is added, which is the
|
|
18
|
+
divergence #704 existed to remove.
|
|
19
|
+
|
|
20
|
+
Documentation only; no behaviour changes. Reported by a consumer who hit the compiler error while
|
|
21
|
+
converging four call sites onto one declaration, and who supplied the sentence that was missing.
|
|
22
|
+
|
|
3
23
|
## 13.0.0-next.10
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InlineSkill, SystemPromptResolver, SettingSource, MemorySettings, SkillsSettings, ContextSettings } from '@theokit/sdk';
|
|
2
2
|
import { TheokitAgentError } from '@theokit/sdk/errors';
|
|
3
3
|
import { R as ReasoningEffort, a as MemoryOptions, P as ProjectContextOptions, M as McpServersMap, H as HumanInTheLoopOptions, C as CheckpointOptions, T as ToolOptions, A as ApprovalOptions, B as BudgetOptions } from './types-C16Wuh9E.js';
|
|
4
|
-
import { R as ResolvedCompatSource } from './setting-sources-gate-
|
|
4
|
+
import { R as ResolvedCompatSource } from './setting-sources-gate-D2NS1GsB.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* M9 (theokit-ai-first) — guardrail contract + typed errors.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ExecutionContext } from '@theokit/http';
|
|
2
2
|
import { c as AgentOptions, T as ToolOptions, P as ProjectContextOptions, H as HumanInTheLoopOptions, R as ReasoningEffort, M as McpServersMap } from './types-C16Wuh9E.js';
|
|
3
|
-
import { C as CompiledAgentOptions, a as CompiledTool, G as Guardrail, S as SkillsSelection, H as HookApprovalGate } from './agent-compiler-
|
|
3
|
+
import { C as CompiledAgentOptions, a as CompiledTool, G as Guardrail, S as SkillsSelection, H as HookApprovalGate } from './agent-compiler-DRfBbirH.js';
|
|
4
4
|
import { SkillsSettings, ContextSettings, SystemPromptResolver, ModelSelection, PluginsSettings, Plugin, ProviderRoutingSettings, AgentDefinition as AgentDefinition$1, BudgetTracker, CustomTool, RunEventSink, MemorySettings } from '@theokit/sdk';
|
|
5
|
-
import { S as StreamEvent, f as ApprovalRequiredEvent, a4 as MaskError } from './delegation-scoring-
|
|
5
|
+
import { S as StreamEvent, f as ApprovalRequiredEvent, a4 as MaskError } from './delegation-scoring-CjzhqW2q.js';
|
|
6
6
|
import { RetryOptions } from '@theokit/sdk/retry';
|
|
7
7
|
import { SandboxPosture } from '@theokit/sdk/sandbox';
|
|
8
|
-
import { A as AgentDefinition } from './define-agent-
|
|
8
|
+
import { A as AgentDefinition } from './define-agent-Cu9uZY7B.js';
|
|
9
9
|
import { z } from 'zod';
|
|
10
10
|
import { H as HookHandlers } from './hook-handlers-Cw2FsnE5.js';
|
|
11
|
-
import { S as SettingSourcesSelection } from './setting-sources-gate-
|
|
11
|
+
import { S as SettingSourcesSelection } from './setting-sources-gate-D2NS1GsB.js';
|
|
12
12
|
import { WireChunk } from '@theokit/presenter/wire';
|
|
13
13
|
import { TheokitAgentError } from '@theokit/sdk/errors';
|
|
14
14
|
|
package/dist/bridge.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { c as APPROVAL_MODES, d as AfterToolCallContext, e as AgentBuilder, f as AgentDefinitionError, g as AgentExecutionContext, h as AgentManifest, A as AgentManifestEntry, i as AgentManifestSource, j as AgentManifestTool, b as AgentModule, k as AgentRoute, l as AgentRouteContext, m as AgentRunInfo, n as AgentsPluginOptions, o as ApiErrorContext, p as ApiErrorDecision, q as ApiErrorPolicy, r as ApprovalMode, a as ApprovalPosture, B as BeforeToolCallContext, u as CompiledContextWindow, v as ContextualTool, D as DefinitionOrThunk, w as DelegationTimeoutError, E as EphemeralAgent, L as LLMCallContext, M as McpApprovalSpec, x as McpFileError, y as McpRegistryConfig, z as McpRequestContext, F as McpSelection, P as ProcessInputContext, G as SdkAgentHandle, I as SdkMessage, J as SdkSendOptions, K as SdkTurnHandle, N as Segment, O as ShouldAutoApproveOptions, T as ToolCallVeto, Q as ToolHooks, R as ToolHooksPlugin, W as WRITE_SCOPED_TOOLS, U as agentsPlugin, V as applyPosture, X as buildModelSelection, Y as compileAgentModule, Z as compileContextWindow, _ as compileLoadedAgentModule, $ as compileProjectContext, a0 as compileSkills, a1 as createAgentExecutionContext, a2 as createApiErrorHandler, a3 as createSdkAgentStream, a4 as createThinkTagExtractor, a5 as createToolHooksPlugin, a6 as extractThinkTagStream, a7 as generateAgentManifest, a8 as generateAgentRoutes, a9 as isAgentContext, aa as loadMcpJson, ab as mcpRegistry, ac as mcpToolApprovals, ad as projectContextMetadataOnlyKnobs, ae as reasoningEffortOf, af as resolveMcpServers, ag as runWithApiErrorHandling, ah as shouldAutoApprove, s as streamAgentUIMessages, ai as toAgentFactory, aj as translateSdkEvent, ak as withClockCap, al as withEphemeralAgent } from './bridge-entry-
|
|
2
|
-
export { C as CompiledAgentOptions, a as CompiledTool, H as HookApprovalGate, g as HookApprovalRequest, h as HookGateUnsupportedError, T as ToolWalkResult, j as ToolboxWalkResult, k as compileTools } from './agent-compiler-
|
|
3
|
-
export { A as AgentStopReason, d as AgentStreamEvent, e as AgentTurnMetadata, f as ApprovalRequiredEvent, g as ArtifactChunkEvent, h as ArtifactStartEvent, B as BackgroundDelegation, i as BudgetExceededError, C as CheckpointSavedEvent, k as DelegateFn, a as DelegateOptions, l as DelegationBudgetExceededError, m as DelegationError, n as DelegationPort, c as DelegationResult, D as DelegationTarget, o as DoneEvent, E as ErrorEvent, F as FileEditEvent, I as IterationEvent, P as PartialToolCallEvent, v as RunStartedEvent, w as ScoreVerdict, x as ScoredDelegation, y as Scorer, z as StateUpdateEvent, S as StreamEvent, T as TextDeltaEvent, G as ThinkingEvent, H as ToolCallEvent, J as ToolResultEvent, K as delegate, M as delegateBackground, N as delegateWithScoring, O as isApprovalRequired, Q as isDone, U as isError, V as isPartialToolCall, W as isTextDelta, X as isToolCall, Y as isToolResult, a0 as presentUIMessageStream, a3 as streamAgentResponse } from './delegation-scoring-
|
|
4
|
-
export { a as AGENT_BRAND, A as AgentDefinition, D as DefineAgentConfig, I as InferAgentInput, b as InferAgentToolNames, c as compileAgentDefinition, i as isAgentDefinition } from './define-agent-
|
|
5
|
-
export { C as CompatSurface, P as ProjectSettingsGrant, R as ResolvedCompatSource, a as SettingSourceCapability, S as SettingSourcesSelection, U as UntrustedSettingSourceError, r as resolveCompatSources, b as resolveSettingSources } from './setting-sources-gate-
|
|
1
|
+
export { c as APPROVAL_MODES, d as AfterToolCallContext, e as AgentBuilder, f as AgentDefinitionError, g as AgentExecutionContext, h as AgentManifest, A as AgentManifestEntry, i as AgentManifestSource, j as AgentManifestTool, b as AgentModule, k as AgentRoute, l as AgentRouteContext, m as AgentRunInfo, n as AgentsPluginOptions, o as ApiErrorContext, p as ApiErrorDecision, q as ApiErrorPolicy, r as ApprovalMode, a as ApprovalPosture, B as BeforeToolCallContext, u as CompiledContextWindow, v as ContextualTool, D as DefinitionOrThunk, w as DelegationTimeoutError, E as EphemeralAgent, L as LLMCallContext, M as McpApprovalSpec, x as McpFileError, y as McpRegistryConfig, z as McpRequestContext, F as McpSelection, P as ProcessInputContext, G as SdkAgentHandle, I as SdkMessage, J as SdkSendOptions, K as SdkTurnHandle, N as Segment, O as ShouldAutoApproveOptions, T as ToolCallVeto, Q as ToolHooks, R as ToolHooksPlugin, W as WRITE_SCOPED_TOOLS, U as agentsPlugin, V as applyPosture, X as buildModelSelection, Y as compileAgentModule, Z as compileContextWindow, _ as compileLoadedAgentModule, $ as compileProjectContext, a0 as compileSkills, a1 as createAgentExecutionContext, a2 as createApiErrorHandler, a3 as createSdkAgentStream, a4 as createThinkTagExtractor, a5 as createToolHooksPlugin, a6 as extractThinkTagStream, a7 as generateAgentManifest, a8 as generateAgentRoutes, a9 as isAgentContext, aa as loadMcpJson, ab as mcpRegistry, ac as mcpToolApprovals, ad as projectContextMetadataOnlyKnobs, ae as reasoningEffortOf, af as resolveMcpServers, ag as runWithApiErrorHandling, ah as shouldAutoApprove, s as streamAgentUIMessages, ai as toAgentFactory, aj as translateSdkEvent, ak as withClockCap, al as withEphemeralAgent } from './bridge-entry-Bk4rgMF8.js';
|
|
2
|
+
export { C as CompiledAgentOptions, a as CompiledTool, H as HookApprovalGate, g as HookApprovalRequest, h as HookGateUnsupportedError, T as ToolWalkResult, j as ToolboxWalkResult, k as compileTools } from './agent-compiler-DRfBbirH.js';
|
|
3
|
+
export { A as AgentStopReason, d as AgentStreamEvent, e as AgentTurnMetadata, f as ApprovalRequiredEvent, g as ArtifactChunkEvent, h as ArtifactStartEvent, B as BackgroundDelegation, i as BudgetExceededError, C as CheckpointSavedEvent, k as DelegateFn, a as DelegateOptions, l as DelegationBudgetExceededError, m as DelegationError, n as DelegationPort, c as DelegationResult, D as DelegationTarget, o as DoneEvent, E as ErrorEvent, F as FileEditEvent, I as IterationEvent, P as PartialToolCallEvent, v as RunStartedEvent, w as ScoreVerdict, x as ScoredDelegation, y as Scorer, z as StateUpdateEvent, S as StreamEvent, T as TextDeltaEvent, G as ThinkingEvent, H as ToolCallEvent, J as ToolResultEvent, K as delegate, M as delegateBackground, N as delegateWithScoring, O as isApprovalRequired, Q as isDone, U as isError, V as isPartialToolCall, W as isTextDelta, X as isToolCall, Y as isToolResult, a0 as presentUIMessageStream, a3 as streamAgentResponse } from './delegation-scoring-CjzhqW2q.js';
|
|
4
|
+
export { a as AGENT_BRAND, A as AgentDefinition, D as DefineAgentConfig, I as InferAgentInput, b as InferAgentToolNames, c as compileAgentDefinition, i as isAgentDefinition } from './define-agent-Cu9uZY7B.js';
|
|
5
|
+
export { C as CompatSurface, P as ProjectSettingsGrant, R as ResolvedCompatSource, a as SettingSourceCapability, S as SettingSourcesSelection, U as UntrustedSettingSourceError, r as resolveCompatSources, b as resolveSettingSources } from './setting-sources-gate-D2NS1GsB.js';
|
|
6
6
|
import '@theokit/http';
|
|
7
7
|
import './types-C16Wuh9E.js';
|
|
8
8
|
import '@theokit/sdk';
|
package/dist/bridge.js
CHANGED
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
runWithApiErrorHandling,
|
|
30
30
|
streamAgentResponse,
|
|
31
31
|
streamAgentUIMessages
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-BHW7CSF4.js";
|
|
33
33
|
import {
|
|
34
34
|
APPROVAL_MODES,
|
|
35
35
|
BudgetExceededError,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
translateSdkEvent,
|
|
56
56
|
withClockCap,
|
|
57
57
|
withEphemeralAgent
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-AHLGDLUX.js";
|
|
59
59
|
import "./chunk-RKWCXVYG.js";
|
|
60
60
|
import {
|
|
61
61
|
AGENT_BRAND,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
isAgentDefinition,
|
|
65
65
|
resolveCompatSources,
|
|
66
66
|
resolveSettingSources
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-KTOWSF2S.js";
|
|
68
68
|
import "./chunk-OXNDJSAJ.js";
|
|
69
69
|
import "./chunk-Z4QWC7IK.js";
|
|
70
70
|
export {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-RKWCXVYG.js";
|
|
5
5
|
import {
|
|
6
6
|
compileAgentDefinition
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KTOWSF2S.js";
|
|
8
8
|
import {
|
|
9
9
|
createRunUsageMeter
|
|
10
10
|
} from "./chunk-OXNDJSAJ.js";
|
|
@@ -2553,4 +2553,4 @@ export {
|
|
|
2553
2553
|
delegateBackground,
|
|
2554
2554
|
delegateWithScoring
|
|
2555
2555
|
};
|
|
2556
|
-
//# sourceMappingURL=chunk-
|
|
2556
|
+
//# sourceMappingURL=chunk-AHLGDLUX.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createHitlPlugin,
|
|
3
3
|
createSdkAgentStream
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AHLGDLUX.js";
|
|
5
5
|
import {
|
|
6
6
|
compileAgentDefinition,
|
|
7
7
|
defineAgent,
|
|
8
8
|
isAgentDefinition
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KTOWSF2S.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-Z4QWC7IK.js";
|
|
@@ -1240,4 +1240,4 @@ export {
|
|
|
1240
1240
|
generateAgentManifest,
|
|
1241
1241
|
agentsPlugin
|
|
1242
1242
|
};
|
|
1243
|
-
//# sourceMappingURL=chunk-
|
|
1243
|
+
//# sourceMappingURL=chunk-BHW7CSF4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/bridge/setting-sources-gate.ts","../src/bridge/define-agent.ts"],"mappings":";;;;;AACA,SAASA,yBAAyB;
|
|
1
|
+
{"version":3,"sources":["../src/bridge/setting-sources-gate.ts","../src/bridge/define-agent.ts"],"mappings":";;;;;AACA,SAASA,yBAAyB;AAuJ3B,IAAMC,8BAAN,cAA0CC,kBAAAA;EAvJjD,OAuJiDA;;;;;EAC7BC,OAAO;EAEzB,YACEC,SAESC,aAEAC,YACT;AACA,UAAMF,OAAAA,GAAAA,KAJGC,cAAAA,aAAAA,KAEAC,aAAAA;EAGX;AACF;AAaO,SAASC,sBACdC,WAA8C;AAE9C,MAAIA,cAAcC,OAAW,QAAO,CAAA;AAEpC,QAAMC,UAA2B,CAAA;AACjC,MAA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QAAQ;MAAEwB;MAASI,YAAY;MAAM,GAAIH,OAAOT,SAAS,IAAI;QAAES;MAAO,IAAI,CAAC;IAAG;EAChF;AACF;AAdgB1B;AAqBhB,SAASD,iBAAiBd,KAAoB;AAC5C,QAAM6C,YAAY,IAAIC,KAAK9C,IAAIK,SAAS,CAAA,GAAIC,IAAI,CAACyC,MAAMA,EAAExD,IAAI,CAAA;AAC7D,QAAMyD,QAAQ,oBAAIC,IAAAA;AAClB,aAAW,CAACC,UAAUC,OAAAA,KAAYtD,OAAO8B,QAAQ3B,IAAIY,aAAa,CAAC,CAAA,GAAI;AACrE,QAAI,CAACiC,UAAUO,IAAIF,QAAAA,GAAW;AAC5B,YAAM,IAAIlE,MACR,mEAAmEkE,QAAAA,sBAC9C;WAAIL;QAAWQ,KAAK,IAAA,KAAS,QAAA,GAAW;IAEjE;AACAL,UAAMM,IAAIJ,UAAUC,OAAAA;EACtB;AACA,SAAOH;AACT;AAbSlC;","names":["TheokitAgentError","UntrustedSettingSourceError","TheokitAgentError","name","message","trustSource","capability","resolveSettingSources","selection","undefined","sources","user","push","grant","project","posture","trustedBy","allows","projectSettings","level","source","resolveCompatSources","claudeCode","surfaces","import","length","kind","AGENT_BRAND","Symbol","for","defineAgent","config","assertValidMaxIterations","maxIterations","value","undefined","Number","isInteger","Error","String","isAgentDefinition","toCompiledTool","tool","handler","compiled","name","description","inputSchema","input","ctx","sym","Object","getOwnPropertySymbols","compileAgentDefinition","def","model","reasoningEffort","systemPrompt","system","tools","map","agents","stream","context","runContext","guardrails","approvals","hitl","compileApprovals","compileSkillsSelection","skills","settingSources","resolveSettingSources","claudeCode","compatSources","resolveCompatSources","hookApproval","memory","compileHooksAndPlugins","mcpServers","hooks","entries","filter","h","explicit","plugins","length","plugin","version","kind","register","hookName","on","skillsResolver","enabled","inline","entry","push","autoInject","toolNames","Set","t","gates","Map","toolName","options","has","join","set"]}
|
package/dist/config.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TheokitAgentError } from '@theokit/sdk/errors';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { TrustPosture } from '@theokit/sdk';
|
|
4
|
-
import { R as ResolvedCompatSource } from './setting-sources-gate-
|
|
4
|
+
import { R as ResolvedCompatSource } from './setting-sources-gate-D2NS1GsB.js';
|
|
5
5
|
export { resolveEffectiveContextWindow as effectiveContextWindow } from '@theokit/sdk/compaction';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CustomTool, MemorySettings } from '@theokit/sdk';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { G as Guardrail, S as SkillsSelection, H as HookApprovalGate, C as CompiledAgentOptions } from './agent-compiler-
|
|
3
|
+
import { G as Guardrail, S as SkillsSelection, H as HookApprovalGate, C as CompiledAgentOptions } from './agent-compiler-DRfBbirH.js';
|
|
4
4
|
import { R as ReasoningEffort, H as HumanInTheLoopOptions, M as McpServersMap } from './types-C16Wuh9E.js';
|
|
5
5
|
import { H as HookHandlers } from './hook-handlers-Cw2FsnE5.js';
|
|
6
|
-
import { S as SettingSourcesSelection } from './setting-sources-gate-
|
|
6
|
+
import { S as SettingSourcesSelection } from './setting-sources-gate-D2NS1GsB.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* M2 (theokit-ai-first) — `defineAgent`, the zero-config imperative agent surface.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PluginsSettings, ProviderRoutingSettings, AgentDefinition, BudgetTracker, CustomTool } from '@theokit/sdk';
|
|
2
2
|
import { RetryOptions } from '@theokit/sdk/retry';
|
|
3
|
-
import { C as CompiledAgentOptions, a as CompiledTool } from './agent-compiler-
|
|
3
|
+
import { C as CompiledAgentOptions, a as CompiledTool } from './agent-compiler-DRfBbirH.js';
|
|
4
4
|
import { TheokitAgentError } from '@theokit/sdk/errors';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { b as MainLoopMeta } from './types-C16Wuh9E.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -2,18 +2,18 @@ import { PluginsSettings, Plugin, ProviderRoutingSettings, AgentDefinition, Budg
|
|
|
2
2
|
export { CustomTool, DiagnosticsSink, GenerateObjectError, GoalEvent, GoalLoopAgent, GoalOptions, GoalResult, JudgeCredentialError, JudgeResult, LayerOrderError, McpAuthConfig, McpHttpServerConfig, McpOAuthConfig, McpServerConfig, McpStdioServerConfig, Provider, RunEvent, SDKAgent, SessionRecord, Squad, StreamObjectError, Tool, ToolError, ToolResultContentBlock, TrustLevel, TrustPosture, TrustPostureInput, TrustSource, UngatedCapabilityError, Verdict, WiredEntity, applySecurityFloor, auditEnvReachability, foldLayers, recordWiring, resolveTrustPosture, setDiagnosticsSink, verifyLayerOrdering } from '@theokit/sdk';
|
|
3
3
|
import { b as MainLoopMeta, R as ReasoningEffort, T as ToolOptions, A as ApprovalOptions, H as HumanInTheLoopOptions } from './types-C16Wuh9E.js';
|
|
4
4
|
export { c as AgentOptions, B as BudgetOptions, d as MainLoopOptions, M as McpServersMap, e as PolicyHandler, f as TimeoutAction, g as ToolboxOptions } from './types-C16Wuh9E.js';
|
|
5
|
-
import { C as ContextWindowOptions, S as SkillsOptions, A as AgentManifestEntry, H as HitlDecision, s as streamAgentUIMessages, a as ApprovalPosture, b as AgentModule } from './bridge-entry-
|
|
6
|
-
export { c as APPROVAL_MODES, d as AfterToolCallContext, e as AgentBuilder, f as AgentDefinitionError, g as AgentExecutionContext, h as AgentManifest, i as AgentManifestSource, j as AgentManifestTool, k as AgentRoute, l as AgentRouteContext, m as AgentRunInfo, n as AgentsPluginOptions, o as ApiErrorContext, p as ApiErrorDecision, q as ApiErrorPolicy, r as ApprovalMode, t as ApprovalRequest, B as BeforeToolCallContext, u as CompiledContextWindow, v as ContextualTool, D as DefinitionOrThunk, w as DelegationTimeoutError, E as EphemeralAgent, L as LLMCallContext, M as McpApprovalSpec, x as McpFileError, y as McpRegistryConfig, z as McpRequestContext, F as McpSelection, P as ProcessInputContext, G as SdkAgentHandle, I as SdkMessage, J as SdkSendOptions, K as SdkTurnHandle, N as Segment, O as ShouldAutoApproveOptions, T as ToolCallVeto, Q as ToolHooks, R as ToolHooksPlugin, W as WRITE_SCOPED_TOOLS, U as agentsPlugin, V as applyPosture, X as buildModelSelection, Y as compileAgentModule, Z as compileContextWindow, _ as compileLoadedAgentModule, $ as compileProjectContext, a0 as compileSkills, a1 as createAgentExecutionContext, a2 as createApiErrorHandler, a3 as createSdkAgentStream, a4 as createThinkTagExtractor, a5 as createToolHooksPlugin, a6 as extractThinkTagStream, a7 as generateAgentManifest, a8 as generateAgentRoutes, a9 as isAgentContext, aa as loadMcpJson, ab as mcpRegistry, ac as mcpToolApprovals, ad as projectContextMetadataOnlyKnobs, ae as reasoningEffortOf, af as resolveMcpServers, ag as runWithApiErrorHandling, ah as shouldAutoApprove, ai as toAgentFactory, aj as translateSdkEvent, ak as withClockCap, al as withEphemeralAgent } from './bridge-entry-
|
|
5
|
+
import { C as ContextWindowOptions, S as SkillsOptions, A as AgentManifestEntry, H as HitlDecision, s as streamAgentUIMessages, a as ApprovalPosture, b as AgentModule } from './bridge-entry-Bk4rgMF8.js';
|
|
6
|
+
export { c as APPROVAL_MODES, d as AfterToolCallContext, e as AgentBuilder, f as AgentDefinitionError, g as AgentExecutionContext, h as AgentManifest, i as AgentManifestSource, j as AgentManifestTool, k as AgentRoute, l as AgentRouteContext, m as AgentRunInfo, n as AgentsPluginOptions, o as ApiErrorContext, p as ApiErrorDecision, q as ApiErrorPolicy, r as ApprovalMode, t as ApprovalRequest, B as BeforeToolCallContext, u as CompiledContextWindow, v as ContextualTool, D as DefinitionOrThunk, w as DelegationTimeoutError, E as EphemeralAgent, L as LLMCallContext, M as McpApprovalSpec, x as McpFileError, y as McpRegistryConfig, z as McpRequestContext, F as McpSelection, P as ProcessInputContext, G as SdkAgentHandle, I as SdkMessage, J as SdkSendOptions, K as SdkTurnHandle, N as Segment, O as ShouldAutoApproveOptions, T as ToolCallVeto, Q as ToolHooks, R as ToolHooksPlugin, W as WRITE_SCOPED_TOOLS, U as agentsPlugin, V as applyPosture, X as buildModelSelection, Y as compileAgentModule, Z as compileContextWindow, _ as compileLoadedAgentModule, $ as compileProjectContext, a0 as compileSkills, a1 as createAgentExecutionContext, a2 as createApiErrorHandler, a3 as createSdkAgentStream, a4 as createThinkTagExtractor, a5 as createToolHooksPlugin, a6 as extractThinkTagStream, a7 as generateAgentManifest, a8 as generateAgentRoutes, a9 as isAgentContext, aa as loadMcpJson, ab as mcpRegistry, ac as mcpToolApprovals, ad as projectContextMetadataOnlyKnobs, ae as reasoningEffortOf, af as resolveMcpServers, ag as runWithApiErrorHandling, ah as shouldAutoApprove, ai as toAgentFactory, aj as translateSdkEvent, ak as withClockCap, al as withEphemeralAgent } from './bridge-entry-Bk4rgMF8.js';
|
|
7
7
|
import { TheokitAgentError } from '@theokit/sdk/errors';
|
|
8
8
|
export * from '@theokit/sdk/errors';
|
|
9
9
|
export { ConfigurationError, BudgetExceededError as WindowBudgetExceededError } from '@theokit/sdk/errors';
|
|
10
|
-
import { G as Guardrail, C as CompiledAgentOptions, a as CompiledTool } from './agent-compiler-
|
|
11
|
-
export { b as CostBudgetExceededError, c as GuardrailAction, d as GuardrailPhase, e as GuardrailResult, f as GuardrailViolationError, H as HookApprovalGate, g as HookApprovalRequest, h as HookGateUnsupportedError, i as SkillsRequestContext, S as SkillsSelection, T as ToolWalkResult, j as ToolboxWalkResult, k as compileTools, r as resolveEnabledSkills } from './agent-compiler-
|
|
12
|
-
import { S as SettingSourcesSelection } from './setting-sources-gate-
|
|
13
|
-
export { C as CompatSurface, P as ProjectSettingsGrant, R as ResolvedCompatSource, a as SettingSourceCapability, U as UntrustedSettingSourceError, r as resolveCompatSources, b as resolveSettingSources } from './setting-sources-gate-
|
|
14
|
-
import { L as LoopStrategy, R as ReflectionStrategy, b as RoundStreamFactory, S as StreamEvent, c as DelegationResult } from './delegation-scoring-
|
|
15
|
-
export { A as AgentStopReason, d as AgentStreamEvent, e as AgentTurnMetadata, f as ApprovalRequiredEvent, g as ArtifactChunkEvent, h as ArtifactStartEvent, B as BackgroundDelegation, i as BudgetExceededError, C as CheckpointSavedEvent, j as DEFAULT_MAX_ITERATIONS, k as DelegateFn, a as DelegateOptions, l as DelegationBudgetExceededError, m as DelegationError, n as DelegationPort, D as DelegationTarget, o as DoneEvent, E as ErrorEvent, F as FileEditEvent, I as IterationEvent, p as LoopFinishReason, q as LoopOutcome, r as LoopStrategyConfig, P as PartialToolCallEvent, s as ReflectionContext, t as ReflectionResult, u as ReflectionStrategyConfig, v as RunStartedEvent, w as ScoreVerdict, x as ScoredDelegation, y as Scorer, z as StateUpdateEvent, T as TextDeltaEvent, G as ThinkingEvent, H as ToolCallEvent, J as ToolResultEvent, K as delegate, M as delegateBackground, N as delegateWithScoring, O as isApprovalRequired, Q as isDone, U as isError, V as isPartialToolCall, W as isTextDelta, X as isToolCall, Y as isToolResult, Z as ladderReflectionStrategy, _ as loopStrategyConfigSchema, $ as noopReflectionStrategy, a0 as presentUIMessageStream, a1 as reflectionStrategyConfigSchema, a2 as resolveLoopStrategy, a3 as streamAgentResponse } from './delegation-scoring-
|
|
16
|
-
export { a as AGENT_BRAND, A as AgentDefinition, D as DefineAgentConfig, I as InferAgentInput, b as InferAgentToolNames, c as compileAgentDefinition, i as isAgentDefinition } from './define-agent-
|
|
10
|
+
import { G as Guardrail, C as CompiledAgentOptions, a as CompiledTool } from './agent-compiler-DRfBbirH.js';
|
|
11
|
+
export { b as CostBudgetExceededError, c as GuardrailAction, d as GuardrailPhase, e as GuardrailResult, f as GuardrailViolationError, H as HookApprovalGate, g as HookApprovalRequest, h as HookGateUnsupportedError, i as SkillsRequestContext, S as SkillsSelection, T as ToolWalkResult, j as ToolboxWalkResult, k as compileTools, r as resolveEnabledSkills } from './agent-compiler-DRfBbirH.js';
|
|
12
|
+
import { S as SettingSourcesSelection } from './setting-sources-gate-D2NS1GsB.js';
|
|
13
|
+
export { C as CompatSurface, P as ProjectSettingsGrant, R as ResolvedCompatSource, a as SettingSourceCapability, U as UntrustedSettingSourceError, r as resolveCompatSources, b as resolveSettingSources } from './setting-sources-gate-D2NS1GsB.js';
|
|
14
|
+
import { L as LoopStrategy, R as ReflectionStrategy, b as RoundStreamFactory, S as StreamEvent, c as DelegationResult } from './delegation-scoring-CjzhqW2q.js';
|
|
15
|
+
export { A as AgentStopReason, d as AgentStreamEvent, e as AgentTurnMetadata, f as ApprovalRequiredEvent, g as ArtifactChunkEvent, h as ArtifactStartEvent, B as BackgroundDelegation, i as BudgetExceededError, C as CheckpointSavedEvent, j as DEFAULT_MAX_ITERATIONS, k as DelegateFn, a as DelegateOptions, l as DelegationBudgetExceededError, m as DelegationError, n as DelegationPort, D as DelegationTarget, o as DoneEvent, E as ErrorEvent, F as FileEditEvent, I as IterationEvent, p as LoopFinishReason, q as LoopOutcome, r as LoopStrategyConfig, P as PartialToolCallEvent, s as ReflectionContext, t as ReflectionResult, u as ReflectionStrategyConfig, v as RunStartedEvent, w as ScoreVerdict, x as ScoredDelegation, y as Scorer, z as StateUpdateEvent, T as TextDeltaEvent, G as ThinkingEvent, H as ToolCallEvent, J as ToolResultEvent, K as delegate, M as delegateBackground, N as delegateWithScoring, O as isApprovalRequired, Q as isDone, U as isError, V as isPartialToolCall, W as isTextDelta, X as isToolCall, Y as isToolResult, Z as ladderReflectionStrategy, _ as loopStrategyConfigSchema, $ as noopReflectionStrategy, a0 as presentUIMessageStream, a1 as reflectionStrategyConfigSchema, a2 as resolveLoopStrategy, a3 as streamAgentResponse } from './delegation-scoring-CjzhqW2q.js';
|
|
16
|
+
export { a as AGENT_BRAND, A as AgentDefinition, D as DefineAgentConfig, I as InferAgentInput, b as InferAgentToolNames, c as compileAgentDefinition, i as isAgentDefinition } from './define-agent-Cu9uZY7B.js';
|
|
17
17
|
import { RetryOptions } from '@theokit/sdk/retry';
|
|
18
18
|
export * from '@theokit/sdk/retry';
|
|
19
19
|
import { CompressibleMessage } from '@theokit/sdk/compaction';
|
package/dist/index.js
CHANGED
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
streamAgentResponse,
|
|
33
33
|
streamAgentUIMessages,
|
|
34
34
|
toolRuntimeName
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-BHW7CSF4.js";
|
|
36
36
|
import {
|
|
37
37
|
APPROVAL_MODES,
|
|
38
38
|
AgentRunner,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
unicodeNormalizer,
|
|
85
85
|
withClockCap,
|
|
86
86
|
withEphemeralAgent
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-AHLGDLUX.js";
|
|
88
88
|
import "./chunk-RKWCXVYG.js";
|
|
89
89
|
import {
|
|
90
90
|
AGENT_BRAND,
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
isAgentDefinition,
|
|
95
95
|
resolveCompatSources,
|
|
96
96
|
resolveSettingSources
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-KTOWSF2S.js";
|
|
98
98
|
import "./chunk-OXNDJSAJ.js";
|
|
99
99
|
import {
|
|
100
100
|
__name
|
|
@@ -120,6 +120,13 @@ interface SettingSourcesSelection {
|
|
|
120
120
|
* that cannot build against its own minimum dependency is worse than a constant that has been
|
|
121
121
|
* checked. Verified against the published 5.4.0 `.d.ts`, where the union is
|
|
122
122
|
* `"hooks" | "plugins" | "skills" | "subagents"` — note `subagents`, not `agents`.
|
|
123
|
+
*
|
|
124
|
+
* The two unions therefore DIVERGE by one name, on purpose: the SDK has four, and `commands` is
|
|
125
|
+
* this layer's, because `<projectDir>/.claude/commands/*.md` is read here and never by the SDK.
|
|
126
|
+
* A caller who builds SDK `local` options directly cannot pass a value of this type — `TS2345`,
|
|
127
|
+
* with a compiler message that names the mismatch and not the reason. Derive the SDK's list from
|
|
128
|
+
* this one minus `commands` rather than writing four names beside five; a hand-copied list goes
|
|
129
|
+
* stale the day a surface is added, which is the divergence #704 existed to remove.
|
|
123
130
|
*/
|
|
124
131
|
type CompatSurface = 'commands' | 'hooks' | 'plugins' | 'skills' | 'subagents';
|
|
125
132
|
/** What `resolveCompatSources` returns: the whole root, or the root narrowed to some surfaces. */
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AgentOutputEvent } from '@theokit/presenter';
|
|
2
2
|
import { WireChunk } from '@theokit/presenter/wire';
|
|
3
|
-
import { A as AgentDefinition } from './define-agent-
|
|
3
|
+
import { A as AgentDefinition } from './define-agent-Cu9uZY7B.js';
|
|
4
4
|
import '@theokit/sdk';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import './agent-compiler-
|
|
6
|
+
import './agent-compiler-DRfBbirH.js';
|
|
7
7
|
import '@theokit/sdk/errors';
|
|
8
8
|
import './types-C16Wuh9E.js';
|
|
9
|
-
import './setting-sources-gate-
|
|
9
|
+
import './setting-sources-gate-D2NS1GsB.js';
|
|
10
10
|
import './hook-handlers-Cw2FsnE5.js';
|
|
11
11
|
|
|
12
12
|
/**
|
package/dist/testing.js
CHANGED
package/dist/tools.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { CatastrophicCommandError, CommandPolicy, ContextMatchError, ContextMatchReason, CreateApplyPatchToolOptions, CreateBraveWebSearchAdapterOptions, CreateCurrentTimeToolOptions, CreateEditFileToolOptions, CreateGenericHttpSearchAdapterOptions, CreateGitDiffToolOptions, CreateGitStatusToolOptions, CreateGlobToolOptions, CreateInteractiveShellToolOptions, CreateListDirToolOptions, CreateReadFileToolOptions, CreateRunVitestToolOptions, CreateSearchTextToolOptions, CreateShellToolOptions, CreateViewImageToolOptions, CreateWebFetchToolOptions, CreateWebSearchToolOptions, CreateWriteFileToolOptions, DEFAULT_MAX_IMAGE_BYTES, DEFAULT_TOOL_GUIDANCE, EnvContextOptions, PlanModeTool, PlanModeToolOptions, PlanModeToolWithStore, PlanNode, QuestionTool, QuestionToolOptions, ReadTracker, ReasoningTools, RedirectBlockedError, RepoMapOptions, ResolveAndScreenOptions, ScreenedFetchOptions, SessionArtifactStore, SessionArtifactStoreOptions, SsrfBlockedError, TodoItem, TodolistTool, ToolGuidanceMap, TruncationMode, TruncationOptions, TruncationResult, VitestSummary, WebSearchCallback, WebSearchResult, buildEnvContext, buildRepoMap, catastrophicShellReason, commandDenialReason, createApplyPatchTool, createBraveWebSearchAdapter, createCurrentTimeTool, createEditFileTool, createGenericHttpSearchAdapter, createGitDiffTool, createGitStatusTool, createGlobTool, createInteractiveShellTool, createListDirTool, createPlanModeTool, createQuestionTool, createReadFileTool, createRunVitestTool, createSearchTextTool, createSessionArtifactStore, createShellTool, createTodolistTool, createUpdatePlanTool, createViewImageTool, createWebFetchTool, createWebSearchTool, createWriteFileTool, createWriteStdinTool, denyCatastrophicCommands, formatCode, formatDiff, formatError, formatFileList, injectGuidance, isBlockedIp, isCommandAllowed, renderToolList, replaceUnique, resolveAndScreen, screenedFetch, todoItemsToPlanNodes, truncateOutput, withDefaultGuidance, withDescription, withName, withShellExitGuidance, withToolResultGuidance } from '@theokit/sdk-tools';
|
|
2
2
|
import * as _theokit_sdk from '@theokit/sdk';
|
|
3
3
|
import { TheokitAgentError } from '@theokit/sdk/errors';
|
|
4
|
-
import { D as DelegationTarget, a as DelegateOptions } from './delegation-scoring-
|
|
4
|
+
import { D as DelegationTarget, a as DelegateOptions } from './delegation-scoring-CjzhqW2q.js';
|
|
5
5
|
import '@theokit/sdk/retry';
|
|
6
|
-
import './agent-compiler-
|
|
6
|
+
import './agent-compiler-DRfBbirH.js';
|
|
7
7
|
import './types-C16Wuh9E.js';
|
|
8
8
|
import 'zod';
|
|
9
|
-
import './setting-sources-gate-
|
|
9
|
+
import './setting-sources-gate-D2NS1GsB.js';
|
|
10
10
|
import '@theokit/presenter/wire';
|
|
11
11
|
import './hook-handlers-Cw2FsnE5.js';
|
|
12
12
|
|
package/dist/tools.js
CHANGED
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
DelegationTimeoutError,
|
|
5
5
|
delegate,
|
|
6
6
|
isPort
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AHLGDLUX.js";
|
|
8
8
|
import "./chunk-RKWCXVYG.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-KTOWSF2S.js";
|
|
10
10
|
import "./chunk-OXNDJSAJ.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theokit/agents",
|
|
3
|
-
"version": "13.0.0-next.
|
|
3
|
+
"version": "13.0.0-next.11",
|
|
4
4
|
"description": "AI agents as first-class citizens of the TheoKit pipeline. The AgentBuilder.create() authoring chain compiles to the @theokit/sdk runtime.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
File without changes
|
|
File without changes
|