@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/CHANGELOG.md +197 -0
- package/dist/{define-agent-3Kuf6iKM.d.ts → agent-compiler-CIPQkehU.d.ts} +3 -233
- package/dist/ask.d.ts +17 -5
- package/dist/ask.js.map +1 -1
- package/dist/{bridge-entry-51lU7LQw.d.ts → bridge-entry-emr2PSXC.d.ts} +99 -464
- package/dist/bridge.d.ts +4 -2
- package/dist/bridge.js +27 -17
- package/dist/{chunk-RZCNKKOG.js → chunk-CKRM5Q2K.js} +172 -1227
- package/dist/chunk-CKRM5Q2K.js.map +1 -0
- package/dist/chunk-QJN2LLPF.js +1110 -0
- package/dist/chunk-QJN2LLPF.js.map +1 -0
- package/dist/config.d.ts +115 -3
- package/dist/config.js +115 -17
- package/dist/config.js.map +1 -1
- package/dist/define-agent-BO5QSjV8.d.ts +236 -0
- package/dist/delegation-scoring-CDvtrYKd.d.ts +469 -0
- package/dist/index.d.ts +8 -4
- package/dist/index.js +41 -31
- package/dist/index.js.map +1 -1
- package/dist/interactive.d.ts +0 -1
- package/dist/session.d.ts +251 -6
- package/dist/session.js +328 -39
- package/dist/session.js.map +1 -1
- package/dist/testing.d.ts +2 -1
- package/dist/tools.d.ts +54 -0
- package/dist/tools.js +100 -1
- package/dist/tools.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-RZCNKKOG.js.map +0 -1
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-
|
|
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,
|