@theokit/agents 9.3.0 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bridge.js CHANGED
@@ -1,28 +1,15 @@
1
1
  import {
2
2
  AgentBuilder,
3
3
  AgentDefinitionError,
4
- BudgetExceededError,
5
4
  ContextualTool,
6
- DelegationBudgetExceededError,
7
- DelegationError,
8
- DelegationTimeoutError,
9
5
  McpFileError,
10
6
  agentsPlugin,
11
- buildModelSelection,
12
7
  compileAgentModule,
13
8
  compileContextWindow,
14
- compileProjectContext,
15
9
  compileSkills,
16
10
  compileTools,
17
11
  createAgentExecutionContext,
18
12
  createApiErrorHandler,
19
- createSdkAgentStream,
20
- createThinkTagExtractor,
21
- createToolHooksPlugin,
22
- delegate,
23
- delegateBackground,
24
- delegateWithScoring,
25
- extractThinkTagStream,
26
13
  generateAgentManifest,
27
14
  generateAgentRoutes,
28
15
  isAgentContext,
@@ -37,17 +24,36 @@ import {
37
24
  mcpRegistry,
38
25
  mcpToolApprovals,
39
26
  presentUIMessageStream,
40
- projectContextMetadataOnlyKnobs,
41
- reasoningEffortOf,
42
27
  resolveMcpServers,
43
28
  runWithApiErrorHandling,
44
29
  streamAgentResponse,
45
- streamAgentUIMessages,
30
+ streamAgentUIMessages
31
+ } from "./chunk-QJN2LLPF.js";
32
+ import {
33
+ APPROVAL_MODES,
34
+ BudgetExceededError,
35
+ DelegationBudgetExceededError,
36
+ DelegationError,
37
+ DelegationTimeoutError,
38
+ WRITE_SCOPED_TOOLS,
39
+ applyPosture,
40
+ buildModelSelection,
41
+ compileProjectContext,
42
+ createSdkAgentStream,
43
+ createThinkTagExtractor,
44
+ createToolHooksPlugin,
45
+ delegate,
46
+ delegateBackground,
47
+ delegateWithScoring,
48
+ extractThinkTagStream,
49
+ projectContextMetadataOnlyKnobs,
50
+ reasoningEffortOf,
51
+ shouldAutoApprove,
46
52
  toAgentFactory,
47
53
  translateSdkEvent,
48
54
  withClockCap,
49
55
  withEphemeralAgent
50
- } from "./chunk-RZCNKKOG.js";
56
+ } from "./chunk-CKRM5Q2K.js";
51
57
  import "./chunk-RKWCXVYG.js";
52
58
  import {
53
59
  AGENT_BRAND,
@@ -59,6 +65,7 @@ import {
59
65
  import "./chunk-Z4QWC7IK.js";
60
66
  export {
61
67
  AGENT_BRAND,
68
+ APPROVAL_MODES,
62
69
  AgentBuilder,
63
70
  AgentDefinitionError,
64
71
  BudgetExceededError,
@@ -68,7 +75,9 @@ export {
68
75
  DelegationTimeoutError,
69
76
  McpFileError,
70
77
  UntrustedSettingSourceError,
78
+ WRITE_SCOPED_TOOLS,
71
79
  agentsPlugin,
80
+ applyPosture,
72
81
  buildModelSelection,
73
82
  compileAgentDefinition,
74
83
  compileAgentModule,
@@ -105,6 +114,7 @@ export {
105
114
  resolveMcpServers,
106
115
  resolveSettingSources,
107
116
  runWithApiErrorHandling,
117
+ shouldAutoApprove,
108
118
  streamAgentResponse,
109
119
  streamAgentUIMessages,
110
120
  toAgentFactory,