@theokit/agents 14.5.1 → 15.0.1

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 (43) hide show
  1. package/CHANGELOG.md +137 -0
  2. package/README.md +54 -19
  3. package/dist/{agent-compiler-D7-Xd6Zh.d.ts → agent-compiler-DMQcLHIs.d.ts} +224 -6
  4. package/dist/auth.d.ts +19 -26
  5. package/dist/auth.js +2 -2
  6. package/dist/auth.js.map +1 -1
  7. package/dist/{bridge-entry-kh9JllQT.d.ts → bridge-entry-BWVce48e.d.ts} +92 -13
  8. package/dist/bridge.d.ts +4 -5
  9. package/dist/bridge.js +6 -4
  10. package/dist/{chunk-D2EFYZBV.js → chunk-4ULFP7GK.js} +2 -3
  11. package/dist/chunk-4ULFP7GK.js.map +1 -0
  12. package/dist/{chunk-DLBGAMHP.js → chunk-7YASPLQE.js} +34 -7
  13. package/dist/chunk-7YASPLQE.js.map +1 -0
  14. package/dist/{chunk-44IHBFL6.js → chunk-CV4YROFI.js} +99 -34
  15. package/dist/chunk-CV4YROFI.js.map +1 -0
  16. package/dist/{chunk-5WS66AW7.js → chunk-NIQJ4GZX.js} +7 -1
  17. package/dist/chunk-NIQJ4GZX.js.map +1 -0
  18. package/dist/{chunk-U72XTMYB.js → chunk-Q65ZIFNK.js} +1 -1
  19. package/dist/chunk-Q65ZIFNK.js.map +1 -0
  20. package/dist/config.d.ts +57 -7
  21. package/dist/config.js +48 -7
  22. package/dist/config.js.map +1 -1
  23. package/dist/{delegation-scoring-CH9Mr9NF.d.ts → delegation-scoring-CSe_C-iX.d.ts} +2 -8
  24. package/dist/hooks.js +1 -1
  25. package/dist/index.d.ts +22 -15
  26. package/dist/index.js +16 -10
  27. package/dist/index.js.map +1 -1
  28. package/dist/mcp-health.d.ts +1 -1
  29. package/dist/session.js +1 -1
  30. package/dist/testing.d.ts +3 -4
  31. package/dist/testing.js +1 -1
  32. package/dist/tools.d.ts +13 -7
  33. package/dist/tools.js +3 -3
  34. package/dist/tools.js.map +1 -1
  35. package/dist/{types-C16Wuh9E.d.ts → types-CxI2x6mU.d.ts} +38 -10
  36. package/docs/capability-map.md +1191 -0
  37. package/package.json +4 -3
  38. package/dist/chunk-44IHBFL6.js.map +0 -1
  39. package/dist/chunk-5WS66AW7.js.map +0 -1
  40. package/dist/chunk-D2EFYZBV.js.map +0 -1
  41. package/dist/chunk-DLBGAMHP.js.map +0 -1
  42. package/dist/chunk-U72XTMYB.js.map +0 -1
  43. package/dist/define-agent-y3fsG91f.d.ts +0 -188
@@ -0,0 +1,1191 @@
1
+ # Capability map
2
+
3
+ Every public symbol this package publishes, and the exact specifier to import it from.
4
+
5
+ **Generated — do not edit.** `npx tsx scripts/capability-map.mts` rewrites it, and
6
+ `tests/unit/capability-map-is-current.test.ts` fails when the committed copy has drifted. A
7
+ hand-edited map is a second copy of the export list, and the copy is the one that goes stale.
8
+
9
+ A symbol reachable from one specifier is NOT reachable from another: importing from the root a
10
+ symbol that lives on a subpath type-checks against the bundled declaration and throws at run time
11
+ with `does not provide an export named`. That is the mistake this file exists to prevent.
12
+
13
+ 1076 export(s) across 20 entry point(s).
14
+
15
+ Measured against `@theokit/sdk@5.9.0`.
16
+
17
+ ## `@theokit/agents`
18
+
19
+ | Symbol | Kind |
20
+ |---|---|
21
+ | `AcpClient` | value |
22
+ | `AcpMessageDecoder` | value |
23
+ | `Agent` | value |
24
+ | `AGENT_BRAND` | value |
25
+ | `AgentBuilder` | value |
26
+ | `AgentConfigCapability` | value |
27
+ | `AgentDefinitionError` | value |
28
+ | `AgentDisposedError` | value |
29
+ | `AgentRunError` | value |
30
+ | `AgentRunner` | value |
31
+ | `AgentRunnerBuilder` | value |
32
+ | `agentsPlugin` | value |
33
+ | `applyCapabilities` | value |
34
+ | `applyPosture` | value |
35
+ | `applySecurityFloor` | value |
36
+ | `APPROVAL_MODES` | value |
37
+ | `assertNoSymlinkEscape` | value |
38
+ | `assistantText` | value |
39
+ | `auditEnvReachability` | value |
40
+ | `AuthenticationError` | value |
41
+ | `BudgetExceededError` | value |
42
+ | `buildAgentCard` | value |
43
+ | `buildMcpToolDescriptors` | value |
44
+ | `buildModelSelection` | value |
45
+ | `CanUseToolCapability` | value |
46
+ | `CapabilityConflictError` | value |
47
+ | `CapabilityPreset` | value |
48
+ | `CapabilityRegistry` | value |
49
+ | `CheckpointCapability` | value |
50
+ | `coerceToKnownAgentRunErrorCode` | value |
51
+ | `compactionStrategyConfigSchema` | value |
52
+ | `CompatImportUnsupportedError` | value |
53
+ | `compileAgentDefinition` | value |
54
+ | `compileAgentModule` | value |
55
+ | `compileContextWindow` | value |
56
+ | `compileLoadedAgentModule` | value |
57
+ | `compileProjectContext` | value |
58
+ | `compileSkills` | value |
59
+ | `compileTools` | value |
60
+ | `CompressionFailedError` | value |
61
+ | `ConfigurationError` | value |
62
+ | `CONTEXT_WINDOW_FLOOR` | value |
63
+ | `CONTEXT_WINDOW_MARGIN` | value |
64
+ | `ContextualTool` | value |
65
+ | `ContextWindowCapability` | value |
66
+ | `ContextWindowMarginError` | value |
67
+ | `costAmountUsd` | value |
68
+ | `CostBudgetExceededError` | value |
69
+ | `costGuard` | value |
70
+ | `createA2ATool` | value |
71
+ | `createAgentExecutionContext` | value |
72
+ | `createApiErrorHandler` | value |
73
+ | `createDraft` | value |
74
+ | `createPermissionsPlugin` | value |
75
+ | `createSdkAgentStream` | value |
76
+ | `createThinkTagExtractor` | value |
77
+ | `createToolHooksPlugin` | value |
78
+ | `CredentialPoolExhaustedError` | value |
79
+ | `declareAgentShape` | value |
80
+ | `DEFAULT_HANDLER_TIMEOUT_MS` | value |
81
+ | `DEFAULT_KEEP_TOKENS` | value |
82
+ | `DEFAULT_MAX_ITERATIONS` | value |
83
+ | `delegate` | value |
84
+ | `delegateBackground` | value |
85
+ | `delegateWithScoring` | value |
86
+ | `DelegationBudgetExceededError` | value |
87
+ | `DelegationError` | value |
88
+ | `DelegationTimeoutError` | value |
89
+ | `deriveConversationId` | value |
90
+ | `discoverSubagents` | value |
91
+ | `encodeAcpMessage` | value |
92
+ | `estimateTokens` | value |
93
+ | `extractThinkTagStream` | value |
94
+ | `extractToolUses` | value |
95
+ | `FieldCapability` | value |
96
+ | `foldLayers` | value |
97
+ | `foldTurnLifecycle` | value |
98
+ | `formatGoalEvent` | value |
99
+ | `generateAgentManifest` | value |
100
+ | `generateAgentRoutes` | value |
101
+ | `GenerateObjectError` | value |
102
+ | `getModelInfo` | value |
103
+ | `GoalRunner` | value |
104
+ | `GuardrailError` | value |
105
+ | `GuardrailsCapability` | value |
106
+ | `GuardrailViolationError` | value |
107
+ | `HookApprovalCapability` | value |
108
+ | `HookGateUnsupportedError` | value |
109
+ | `HumanInTheLoopCapability` | value |
110
+ | `humanizeModelName` | value |
111
+ | `InProcessApprovalRequiredError` | value |
112
+ | `IntegrationNotConnectedError` | value |
113
+ | `InvalidTaskIdError` | value |
114
+ | `isAgentContext` | value |
115
+ | `isAgentDefinition` | value |
116
+ | `isApprovalRequired` | value |
117
+ | `isDone` | value |
118
+ | `isError` | value |
119
+ | `isForbiddenPath` | value |
120
+ | `isPartialToolCall` | value |
121
+ | `isTextDelta` | value |
122
+ | `isToolCall` | value |
123
+ | `isToolResult` | value |
124
+ | `isTransientError` | value |
125
+ | `JudgeCredentialError` | value |
126
+ | `ladderReflectionStrategy` | value |
127
+ | `LayerOrderError` | value |
128
+ | `listSubagentNames` | value |
129
+ | `loadMcpJson` | value |
130
+ | `loadPersonalMcpServers` | value |
131
+ | `loadSubagentDefinition` | value |
132
+ | `loopStrategyConfigSchema` | value |
133
+ | `MainLoopCapability` | value |
134
+ | `MalformedGuardrailResultError` | value |
135
+ | `mapWithConcurrency` | value |
136
+ | `MCP_PROTOCOL_VERSION` | value |
137
+ | `McpFileError` | value |
138
+ | `mcpRegistry` | value |
139
+ | `mcpServerInfo` | value |
140
+ | `McpServersCapability` | value |
141
+ | `mcpToolApprovals` | value |
142
+ | `MemoryAdapterError` | value |
143
+ | `MemoryCapability` | value |
144
+ | `ModelCapability` | value |
145
+ | `moderateOutputStream` | value |
146
+ | `NetworkError` | value |
147
+ | `noopReflectionStrategy` | value |
148
+ | `outputModeration` | value |
149
+ | `parseConversationId` | value |
150
+ | `parseModelId` | value |
151
+ | `piiDetector` | value |
152
+ | `Plugin` | value |
153
+ | `PluginsCapability` | value |
154
+ | `PreCompactionHandlerError` | value |
155
+ | `presentUIMessageStream` | value |
156
+ | `ProjectContextCapability` | value |
157
+ | `projectContextMetadataOnlyKnobs` | value |
158
+ | `promptInjectionDetector` | value |
159
+ | `Provider` | value |
160
+ | `RateLimitError` | value |
161
+ | `reasoningEffortOf` | value |
162
+ | `recordWiring` | value |
163
+ | `reflectionStrategyConfigSchema` | value |
164
+ | `refreshModelCatalog` | value |
165
+ | `resolveCompactionStrategy` | value |
166
+ | `resolveCompatSources` | value |
167
+ | `resolveDecomposition` | value |
168
+ | `resolveEffectiveContextWindow` | value |
169
+ | `resolveEnabledSkills` | value |
170
+ | `resolveLoopStrategy` | value |
171
+ | `resolveMcpServers` | value |
172
+ | `resolveModelCapabilities` | value |
173
+ | `resolveSettingSources` | value |
174
+ | `resolveTrustPosture` | value |
175
+ | `Retry` | value |
176
+ | `RunContextCapability` | value |
177
+ | `runInputGuards` | value |
178
+ | `runOutputGuards` | value |
179
+ | `runWithApiErrorHandling` | value |
180
+ | `safePathJoin` | value |
181
+ | `Semaphore` | value |
182
+ | `SessionStoreCapability` | value |
183
+ | `setDiagnosticsSink` | value |
184
+ | `setOnce` | value |
185
+ | `SettingSourcesCapability` | value |
186
+ | `shouldAutoApprove` | value |
187
+ | `SkillsCapability` | value |
188
+ | `SkillsOptionsCapability` | value |
189
+ | `SkillsResolverCapability` | value |
190
+ | `Squad` | value |
191
+ | `streamAgentResponse` | value |
192
+ | `streamAgentTurnInProcess` | value |
193
+ | `streamAgentUIMessages` | value |
194
+ | `StreamObjectError` | value |
195
+ | `StructuredOutputError` | value |
196
+ | `SubAgent` | value |
197
+ | `SubagentsCapability` | value |
198
+ | `SubAgentsCapability` | value |
199
+ | `TaskNotFoundError` | value |
200
+ | `TelemetryCapability` | value |
201
+ | `textPayloadExtractor` | value |
202
+ | `TheokitAgentError` | value |
203
+ | `toAgentFactory` | value |
204
+ | `tokenBudgetCompactionStrategy` | value |
205
+ | `toModelOption` | value |
206
+ | `Tool` | value |
207
+ | `ToolboxCapability` | value |
208
+ | `ToolError` | value |
209
+ | `ToolsCapability` | value |
210
+ | `Toolset` | value |
211
+ | `ToolsetError` | value |
212
+ | `translateSdkEvent` | value |
213
+ | `UngatedCapabilityError` | value |
214
+ | `unicodeNormalizer` | value |
215
+ | `UnknownAgentError` | value |
216
+ | `UnknownCapabilityError` | value |
217
+ | `UnreadableTextPayloadError` | value |
218
+ | `UnsupportedBudgetOperationError` | value |
219
+ | `UnsupportedRunOperationError` | value |
220
+ | `UnsupportedTaskOperationError` | value |
221
+ | `UntrustedSettingSourceError` | value |
222
+ | `verifyLayerOrdering` | value |
223
+ | `wellKnownCardPath` | value |
224
+ | `WindowBudgetExceededError` | value |
225
+ | `withClockCap` | value |
226
+ | `withEphemeralAgent` | value |
227
+ | `withPreCompaction` | value |
228
+ | `WRITE_SCOPED_TOOLS` | value |
229
+ | `A2AAuth` | type |
230
+ | `A2ACapabilities` | type |
231
+ | `A2ASkill` | type |
232
+ | `A2AToolConfig` | type |
233
+ | `AcpTransport` | type |
234
+ | `AfterToolCallContext` | type |
235
+ | `AgentCard` | type |
236
+ | `AgentConfig` | type |
237
+ | `AgentDefinition` | type |
238
+ | `AgentExecutionContext` | type |
239
+ | `AgentManifest` | type |
240
+ | `AgentManifestEntry` | type |
241
+ | `AgentManifestSource` | type |
242
+ | `AgentManifestTool` | type |
243
+ | `AgentModule` | type |
244
+ | `AgentOptions` | type |
245
+ | `AgentRoute` | type |
246
+ | `AgentRouteContext` | type |
247
+ | `AgentRunErrorCode` | type |
248
+ | `AgentRunInfo` | type |
249
+ | `AgentRunnerRunOptions` | type |
250
+ | `AgentShape` | type |
251
+ | `AgentsPluginOptions` | type |
252
+ | `AgentStopReason` | type |
253
+ | `AgentStreamEvent` | type |
254
+ | `AgentTurnMetadata` | type |
255
+ | `AgentWithNarrowedListAlias` | type |
256
+ | `ApiErrorContext` | type |
257
+ | `ApiErrorDecision` | type |
258
+ | `ApiErrorPolicy` | type |
259
+ | `ApprovalMode` | type |
260
+ | `ApprovalOptions` | type |
261
+ | `ApprovalPosture` | type |
262
+ | `ApprovalRequest` | type |
263
+ | `ApprovalRequiredEvent` | type |
264
+ | `ArtifactChunkEvent` | type |
265
+ | `ArtifactStartEvent` | type |
266
+ | `AsyncSemaphore` | type |
267
+ | `BackgroundDelegation` | type |
268
+ | `BeforeToolCallContext` | type |
269
+ | `BudgetOptions` | type |
270
+ | `BudgetTracker` | type |
271
+ | `BuildAgentCardOptions` | type |
272
+ | `Capability` | type |
273
+ | `CatalogModel` | type |
274
+ | `CatalogModelCost` | type |
275
+ | `CheckpointSavedEvent` | type |
276
+ | `CompactionCallOptions` | type |
277
+ | `CompactionStrategyConfig` | type |
278
+ | `CompatSurface` | type |
279
+ | `CompiledAgentOptions` | type |
280
+ | `CompiledAgentOptionsDraft` | type |
281
+ | `CompiledContextWindow` | type |
282
+ | `CompiledTool` | type |
283
+ | `CompressibleMessage` | type |
284
+ | `ContentChunk` | type |
285
+ | `ContextWindowOptions` | type |
286
+ | `ContextWindowSource` | type |
287
+ | `CostGuardOptions` | type |
288
+ | `CustomTool` | type |
289
+ | `DefineAgentConfig` | type |
290
+ | `DefinitionOrThunk` | type |
291
+ | `DelegateFn` | type |
292
+ | `DelegateOptions` | type |
293
+ | `DelegationPort` | type |
294
+ | `DelegationResult` | type |
295
+ | `DelegationTarget` | type |
296
+ | `DiagnosticsSink` | type |
297
+ | `DiscoverSubagentsOptions` | type |
298
+ | `DoneEvent` | type |
299
+ | `EffectiveContextWindow` | type |
300
+ | `EphemeralAgent` | type |
301
+ | `ErrorCode` | type |
302
+ | `ErrorEvent` | type |
303
+ | `ErrorMetadata` | type |
304
+ | `FileEditEvent` | type |
305
+ | `FinalizedDraft` | type |
306
+ | `GatedCompatSource` | type |
307
+ | `GatedSettingSource` | type |
308
+ | `GoalEvent` | type |
309
+ | `GoalLoopAgent` | type |
310
+ | `GoalOptions` | type |
311
+ | `GoalResult` | type |
312
+ | `GoalRunnerDeps` | type |
313
+ | `Guardrail` | type |
314
+ | `GuardrailAction` | type |
315
+ | `GuardrailPhase` | type |
316
+ | `GuardrailResult` | type |
317
+ | `HitlDecision` | type |
318
+ | `HookApprovalGate` | type |
319
+ | `HookApprovalRequest` | type |
320
+ | `HookHandlers` | type |
321
+ | `HumanInTheLoopOptions` | type |
322
+ | `InferAgentInput` | type |
323
+ | `InferAgentToolNames` | type |
324
+ | `InlineSkill` | type |
325
+ | `InProcessApprovalRequest` | type |
326
+ | `InProcessAwaitApproval` | type |
327
+ | `IterationEvent` | type |
328
+ | `JudgeResult` | type |
329
+ | `KnownAgentRunErrorCode` | type |
330
+ | `LifecycleItem` | type |
331
+ | `LifecycleVocabulary` | type |
332
+ | `ListOptionsWithoutPaginationAlias` | type |
333
+ | `LLMCallContext` | type |
334
+ | `LoopFinishReason` | type |
335
+ | `LoopOutcome` | type |
336
+ | `LoopStrategy` | type |
337
+ | `LoopStrategyConfig` | type |
338
+ | `MainLoopMeta` | type |
339
+ | `MainLoopOptions` | type |
340
+ | `McpApprovalSpec` | type |
341
+ | `McpAuthConfig` | type |
342
+ | `McpHttpServerConfig` | type |
343
+ | `McpJsonSchema` | type |
344
+ | `McpOAuthConfig` | type |
345
+ | `McpRegistryConfig` | type |
346
+ | `McpRequestContext` | type |
347
+ | `McpSelection` | type |
348
+ | `McpServerConfig` | type |
349
+ | `McpServerInfo` | type |
350
+ | `McpServersMap` | type |
351
+ | `McpStdioServerConfig` | type |
352
+ | `McpToolDescriptor` | type |
353
+ | `MemoryAdapterErrorCode` | type |
354
+ | `Modality` | type |
355
+ | `ModelCapabilities` | type |
356
+ | `ModelOption` | type |
357
+ | `NamedTool` | type |
358
+ | `OutputModerationOptions` | type |
359
+ | `ParsedModelId` | type |
360
+ | `PartialToolCallEvent` | type |
361
+ | `PermissionsPluginOptions` | type |
362
+ | `PiiOptions` | type |
363
+ | `PluginsSettings` | type |
364
+ | `PolicyHandler` | type |
365
+ | `PreCompactionHandler` | type |
366
+ | `PreCompactionOptions` | type |
367
+ | `ProcessInputContext` | type |
368
+ | `ProjectSettingsGrant` | type |
369
+ | `PromptInjectionOptions` | type |
370
+ | `ProvenanceEntry` | type |
371
+ | `ProviderRoutingSettings` | type |
372
+ | `ReasoningEffort` | type |
373
+ | `ReflectionContext` | type |
374
+ | `ReflectionResult` | type |
375
+ | `ReflectionStrategy` | type |
376
+ | `ReflectionStrategyConfig` | type |
377
+ | `RefreshModelCatalogOptions` | type |
378
+ | `RefreshModelCatalogResult` | type |
379
+ | `ResolvedCompatSource` | type |
380
+ | `RetryOptions` | type |
381
+ | `RoundStreamFactory` | type |
382
+ | `RunEvent` | type |
383
+ | `RunStartedEvent` | type |
384
+ | `RuntimeOverrides` | type |
385
+ | `ScoredDelegation` | type |
386
+ | `Scorer` | type |
387
+ | `ScoreVerdict` | type |
388
+ | `SDKAgent` | type |
389
+ | `SdkAgentHandle` | type |
390
+ | `SdkMessage` | type |
391
+ | `SdkSendOptions` | type |
392
+ | `SdkTurnHandle` | type |
393
+ | `Segment` | type |
394
+ | `SessionRecord` | type |
395
+ | `SessionStore` | type |
396
+ | `SettingSourceCapability` | type |
397
+ | `SettingSourcesSelection` | type |
398
+ | `ShouldAutoApproveOptions` | type |
399
+ | `SkillsOptions` | type |
400
+ | `SkillsRequestContext` | type |
401
+ | `SkillsSelection` | type |
402
+ | `StateUpdateEvent` | type |
403
+ | `StreamAgentTurnDeps` | type |
404
+ | `StreamAgentTurnInProcessInput` | type |
405
+ | `StreamEvent` | type |
406
+ | `StructuredOutputErrorCode` | type |
407
+ | `SubagentDefinition` | type |
408
+ | `Summarize` | type |
409
+ | `TextDeltaEvent` | type |
410
+ | `ThinkingEvent` | type |
411
+ | `TimeoutAction` | type |
412
+ | `ToolboxOptions` | type |
413
+ | `ToolboxSource` | type |
414
+ | `ToolboxWalkResult` | type |
415
+ | `ToolCallEvent` | type |
416
+ | `ToolCallVeto` | type |
417
+ | `ToolComNome` | type |
418
+ | `ToolDeclaration` | type |
419
+ | `ToolHooks` | type |
420
+ | `ToolHooksPlugin` | type |
421
+ | `ToolOptions` | type |
422
+ | `ToolResultContentBlock` | type |
423
+ | `ToolResultEvent` | type |
424
+ | `ToolWalkResult` | type |
425
+ | `TranscriptCompactionStrategy` | type |
426
+ | `TrustLevel` | type |
427
+ | `TrustPosture` | type |
428
+ | `TrustPostureInput` | type |
429
+ | `TrustSource` | type |
430
+ | `TurnLifecycle` | type |
431
+ | `TurnOutcome` | type |
432
+ | `Verdict` | type |
433
+ | `WireChunk` | type |
434
+ | `WireDataPart` | type |
435
+ | `WiredEntity` | type |
436
+
437
+ ## `@theokit/agents/bridge`
438
+
439
+ | Symbol | Kind |
440
+ |---|---|
441
+ | `AGENT_BRAND` | value |
442
+ | `AgentBuilder` | value |
443
+ | `AgentDefinitionError` | value |
444
+ | `agentsPlugin` | value |
445
+ | `applyPosture` | value |
446
+ | `APPROVAL_MODES` | value |
447
+ | `BudgetExceededError` | value |
448
+ | `buildModelSelection` | value |
449
+ | `CompatImportUnsupportedError` | value |
450
+ | `compileAgentDefinition` | value |
451
+ | `compileAgentModule` | value |
452
+ | `compileContextWindow` | value |
453
+ | `compileLoadedAgentModule` | value |
454
+ | `compileProjectContext` | value |
455
+ | `compileSkills` | value |
456
+ | `compileTools` | value |
457
+ | `ContextualTool` | value |
458
+ | `createAgentExecutionContext` | value |
459
+ | `createApiErrorHandler` | value |
460
+ | `createPermissionsPlugin` | value |
461
+ | `createSdkAgentStream` | value |
462
+ | `createThinkTagExtractor` | value |
463
+ | `createToolHooksPlugin` | value |
464
+ | `delegate` | value |
465
+ | `delegateBackground` | value |
466
+ | `delegateWithScoring` | value |
467
+ | `DelegationBudgetExceededError` | value |
468
+ | `DelegationError` | value |
469
+ | `DelegationTimeoutError` | value |
470
+ | `extractThinkTagStream` | value |
471
+ | `generateAgentManifest` | value |
472
+ | `generateAgentRoutes` | value |
473
+ | `HookGateUnsupportedError` | value |
474
+ | `isAgentContext` | value |
475
+ | `isAgentDefinition` | value |
476
+ | `isApprovalRequired` | value |
477
+ | `isDone` | value |
478
+ | `isError` | value |
479
+ | `isPartialToolCall` | value |
480
+ | `isTextDelta` | value |
481
+ | `isToolCall` | value |
482
+ | `isToolResult` | value |
483
+ | `loadMcpJson` | value |
484
+ | `loadPersonalMcpServers` | value |
485
+ | `McpFileError` | value |
486
+ | `mcpRegistry` | value |
487
+ | `mcpToolApprovals` | value |
488
+ | `presentUIMessageStream` | value |
489
+ | `projectContextMetadataOnlyKnobs` | value |
490
+ | `reasoningEffortOf` | value |
491
+ | `resolveCompatSources` | value |
492
+ | `resolveMcpServers` | value |
493
+ | `resolveSettingSources` | value |
494
+ | `runWithApiErrorHandling` | value |
495
+ | `shouldAutoApprove` | value |
496
+ | `streamAgentResponse` | value |
497
+ | `streamAgentUIMessages` | value |
498
+ | `toAgentFactory` | value |
499
+ | `translateSdkEvent` | value |
500
+ | `UntrustedSettingSourceError` | value |
501
+ | `withClockCap` | value |
502
+ | `withEphemeralAgent` | value |
503
+ | `WRITE_SCOPED_TOOLS` | value |
504
+ | `AfterToolCallContext` | type |
505
+ | `AgentDefinition` | type |
506
+ | `AgentExecutionContext` | type |
507
+ | `AgentManifest` | type |
508
+ | `AgentManifestEntry` | type |
509
+ | `AgentManifestSource` | type |
510
+ | `AgentManifestTool` | type |
511
+ | `AgentModule` | type |
512
+ | `AgentRoute` | type |
513
+ | `AgentRouteContext` | type |
514
+ | `AgentRunInfo` | type |
515
+ | `AgentsPluginOptions` | type |
516
+ | `AgentStopReason` | type |
517
+ | `AgentStreamEvent` | type |
518
+ | `AgentTurnMetadata` | type |
519
+ | `ApiErrorContext` | type |
520
+ | `ApiErrorDecision` | type |
521
+ | `ApiErrorPolicy` | type |
522
+ | `ApprovalMode` | type |
523
+ | `ApprovalPosture` | type |
524
+ | `ApprovalRequiredEvent` | type |
525
+ | `ArtifactChunkEvent` | type |
526
+ | `ArtifactStartEvent` | type |
527
+ | `BackgroundDelegation` | type |
528
+ | `BeforeToolCallContext` | type |
529
+ | `CheckpointSavedEvent` | type |
530
+ | `CompatSurface` | type |
531
+ | `CompiledAgentOptions` | type |
532
+ | `CompiledContextWindow` | type |
533
+ | `CompiledTool` | type |
534
+ | `DefineAgentConfig` | type |
535
+ | `DefinitionOrThunk` | type |
536
+ | `DelegateFn` | type |
537
+ | `DelegateOptions` | type |
538
+ | `DelegationPort` | type |
539
+ | `DelegationResult` | type |
540
+ | `DelegationTarget` | type |
541
+ | `DoneEvent` | type |
542
+ | `EphemeralAgent` | type |
543
+ | `ErrorEvent` | type |
544
+ | `FileEditEvent` | type |
545
+ | `GatedCompatSource` | type |
546
+ | `GatedSettingSource` | type |
547
+ | `HookApprovalGate` | type |
548
+ | `HookApprovalRequest` | type |
549
+ | `InferAgentInput` | type |
550
+ | `InferAgentToolNames` | type |
551
+ | `IterationEvent` | type |
552
+ | `LLMCallContext` | type |
553
+ | `McpApprovalSpec` | type |
554
+ | `McpRegistryConfig` | type |
555
+ | `McpRequestContext` | type |
556
+ | `McpSelection` | type |
557
+ | `PartialToolCallEvent` | type |
558
+ | `PermissionsPluginOptions` | type |
559
+ | `ProcessInputContext` | type |
560
+ | `ProjectSettingsGrant` | type |
561
+ | `ResolvedCompatSource` | type |
562
+ | `RunStartedEvent` | type |
563
+ | `ScoredDelegation` | type |
564
+ | `Scorer` | type |
565
+ | `ScoreVerdict` | type |
566
+ | `SdkAgentHandle` | type |
567
+ | `SdkMessage` | type |
568
+ | `SdkSendOptions` | type |
569
+ | `SdkTurnHandle` | type |
570
+ | `Segment` | type |
571
+ | `SettingSourceCapability` | type |
572
+ | `SettingSourcesSelection` | type |
573
+ | `ShouldAutoApproveOptions` | type |
574
+ | `StateUpdateEvent` | type |
575
+ | `StreamEvent` | type |
576
+ | `TextDeltaEvent` | type |
577
+ | `ThinkingEvent` | type |
578
+ | `ToolboxWalkResult` | type |
579
+ | `ToolCallEvent` | type |
580
+ | `ToolCallVeto` | type |
581
+ | `ToolHooks` | type |
582
+ | `ToolHooksPlugin` | type |
583
+ | `ToolResultEvent` | type |
584
+ | `ToolWalkResult` | type |
585
+
586
+ ## `@theokit/agents/testing`
587
+
588
+ | Symbol | Kind |
589
+ |---|---|
590
+ | `createMockAgentStream` | value |
591
+ | `createMockOutputEvents` | value |
592
+ | `createMockWireStream` | value |
593
+ | `inspectCompiled` | value |
594
+ | `wireChunk` | value |
595
+ | `AgentOutputEvent` | type |
596
+ | `CompiledInspection` | type |
597
+ | `MockAgentStreamOptions` | type |
598
+ | `MockResponse` | type |
599
+ | `MockStreamEvent` | type |
600
+
601
+ ## `@theokit/agents/sandbox`
602
+
603
+ | Symbol | Kind |
604
+ |---|---|
605
+ | `allowlistedEnv` | value |
606
+ | `buildBwrapArgv` | value |
607
+ | `buildSeccompFilter` | value |
608
+ | `createSandboxBackend` | value |
609
+ | `detectBwrap` | value |
610
+ | `detectBwrapMemoized` | value |
611
+ | `interactiveWrapCommand` | value |
612
+ | `LinuxSandbox` | value |
613
+ | `LocalSandbox` | value |
614
+ | `provisionRepo` | value |
615
+ | `realProbeCount` | value |
616
+ | `realProbes` | value |
617
+ | `RepoProvisionError` | value |
618
+ | `resetBwrapMemo` | value |
619
+ | `resetInteractiveWarnLatch` | value |
620
+ | `resetSandboxWarnLatch` | value |
621
+ | `resolveSandbox` | value |
622
+ | `resolveSandboxPosture` | value |
623
+ | `restrictedSeccompPath` | value |
624
+ | `SandboxBackend` | value |
625
+ | `SandboxNotAvailableError` | value |
626
+ | `SandboxSecurityError` | value |
627
+ | `seccompPathForArch` | value |
628
+ | `wrapCommandForSandbox` | value |
629
+ | `writableRootsFor` | value |
630
+ | `BwrapArgvOptions` | type |
631
+ | `BwrapDetection` | type |
632
+ | `BwrapProbes` | type |
633
+ | `CreateSandboxBackendOptions` | type |
634
+ | `ExecuteResult` | type |
635
+ | `InteractiveWrapOptions` | type |
636
+ | `ProvisionRepoOptions` | type |
637
+ | `SandboxConfig` | type |
638
+ | `SandboxMode` | type |
639
+ | `SandboxPosture` | type |
640
+ | `SandboxProvider` | type |
641
+ | `SeccompOptions` | type |
642
+
643
+ ## `@theokit/agents/persistence`
644
+
645
+ | Symbol | Kind |
646
+ |---|---|
647
+ | `acquireSessionWriter` | value |
648
+ | `appendJsonl` | value |
649
+ | `applyWalWithFallback` | value |
650
+ | `atomicWriteJson` | value |
651
+ | `atomicWriteTempTarget` | value |
652
+ | `atomicWriteText` | value |
653
+ | `classifySessionArtifact` | value |
654
+ | `encodeProjectDir` | value |
655
+ | `forkTranscript` | value |
656
+ | `isCorruptionError` | value |
657
+ | `JsonlParseError` | value |
658
+ | `legacyTranscriptPath` | value |
659
+ | `listSessions` | value |
660
+ | `LiveSessionError` | value |
661
+ | `LiveTranscriptError` | value |
662
+ | `loadJsonl` | value |
663
+ | `openSqliteResilient` | value |
664
+ | `PersistenceSchema` | value |
665
+ | `readJsonlIds` | value |
666
+ | `readJsonlTail` | value |
667
+ | `replaceFileAtomic` | value |
668
+ | `sanitizeFts5Query` | value |
669
+ | `SessionBusyError` | value |
670
+ | `sessionHasWriter` | value |
671
+ | `sessionUuidFor` | value |
672
+ | `transcriptPath` | value |
673
+ | `transcriptRoot` | value |
674
+ | `withCwdMutex` | value |
675
+ | `withFileLock` | value |
676
+ | `AtomicWriteJsonOptions` | type |
677
+ | `FileLockOptions` | type |
678
+ | `ForkTranscriptOptions` | type |
679
+ | `ListSessionsOptions` | type |
680
+ | `OpenSqliteResilientOptions` | type |
681
+ | `ReadJsonlTailOptions` | type |
682
+ | `ResilientSqliteDb` | type |
683
+ | `SessionArtifact` | type |
684
+ | `SessionIdSource` | type |
685
+ | `SessionListing` | type |
686
+ | `SessionWriterLease` | type |
687
+ | `TranscriptBlock` | type |
688
+ | `TranscriptMessage` | type |
689
+ | `WalApplyResult` | type |
690
+
691
+ ## `@theokit/agents/interactive`
692
+
693
+ | Symbol | Kind |
694
+ |---|---|
695
+ | `InteractiveBackend` | value |
696
+ | `InteractiveUnavailableError` | value |
697
+ | `NoSuchSessionError` | value |
698
+ | `resolveInteractive` | value |
699
+ | `InteractiveProvider` | type |
700
+ | `StartInteractiveOptions` | type |
701
+ | `StartInteractiveResult` | type |
702
+ | `WriteStdinOptions` | type |
703
+ | `WriteStdinResult` | type |
704
+
705
+ ## `@theokit/agents/auth`
706
+
707
+ | Symbol | Kind |
708
+ |---|---|
709
+ | `assertSecureModes` | value |
710
+ | `authFilePath` | value |
711
+ | `AuthProvider` | value |
712
+ | `CODEX_CLIENT_ID_ENV_VAR` | value |
713
+ | `CODEX_PROVIDER` | value |
714
+ | `createPlanOnlyGate` | value |
715
+ | `CredentialError` | value |
716
+ | `credentialHome` | value |
717
+ | `CredentialNotFoundError` | value |
718
+ | `credentialSources` | value |
719
+ | `DeclaredProviderError` | value |
720
+ | `DEFAULT_PROVIDERS` | value |
721
+ | `deviceLogin` | value |
722
+ | `ensureFreshCredential` | value |
723
+ | `extractAccountId` | value |
724
+ | `grantGate` | value |
725
+ | `loginWithDevice` | value |
726
+ | `openaiDeviceLogin` | value |
727
+ | `PermissionStore` | value |
728
+ | `persistOAuthTokens` | value |
729
+ | `PlanOnlyRefusalError` | value |
730
+ | `pollDeviceToken` | value |
731
+ | `providerFromApiKeyPrefix` | value |
732
+ | `ProviderKeyMismatchError` | value |
733
+ | `ProviderPrefixMismatchError` | value |
734
+ | `readAuthFile` | value |
735
+ | `readStoredOAuth` | value |
736
+ | `refreshOAuthTokens` | value |
737
+ | `requestDeviceCode` | value |
738
+ | `requireCredential` | value |
739
+ | `resolveAgentCredential` | value |
740
+ | `resolveCredential` | value |
741
+ | `resolveOperatorApiKey` | value |
742
+ | `writeCredential` | value |
743
+ | `AgentCredentialInput` | type |
744
+ | `AuthMethod` | type |
745
+ | `Classification` | type |
746
+ | `CredentialProviderDescriptor` | type |
747
+ | `CredentialResolution` | type |
748
+ | `CredentialSourcesInput` | type |
749
+ | `CredentialStoreConfig` | type |
750
+ | `DeviceAuthProvider` | type |
751
+ | `DeviceCodeGrant` | type |
752
+ | `DeviceDeps` | type |
753
+ | `DeviceOAuthConfig` | type |
754
+ | `Governed` | type |
755
+ | `Grant` | type |
756
+ | `GrantGateContext` | type |
757
+ | `GrantOptions` | type |
758
+ | `NotGoverned` | type |
759
+ | `OAuthProviderConfig` | type |
760
+ | `OAuthTokens` | type |
761
+ | `OpenAIDeviceConfig` | type |
762
+ | `PermissionMode` | type |
763
+ | `PermissionQuery` | type |
764
+ | `PermissionStoreOptions` | type |
765
+ | `PlanOnlyContext` | type |
766
+ | `PlanOnlyGateOptions` | type |
767
+ | `PromptHooks` | type |
768
+ | `ResolveCredentialInput` | type |
769
+ | `ResolveCredentialOptions` | type |
770
+ | `ResolvedCredential` | type |
771
+ | `RunCredentialHelperOptions` | type |
772
+ | `SourceOrigin` | type |
773
+ | `StoredCredential` | type |
774
+ | `StoredOAuthCredential` | type |
775
+ | `Veto` | type |
776
+
777
+ ## `@theokit/agents/config`
778
+
779
+ | Symbol | Kind |
780
+ |---|---|
781
+ | `AgentMemoryError` | value |
782
+ | `applySubagentMemory` | value |
783
+ | `blockAppliesTo` | value |
784
+ | `composeInstructions` | value |
785
+ | `contextPressure` | value |
786
+ | `ContextPressureThresholdError` | value |
787
+ | `currentOperatorPolicy` | value |
788
+ | `DEFAULT_CONTEXT_PRESSURE_THRESHOLDS` | value |
789
+ | `effectiveContextWindow` | value |
790
+ | `expandCommandTemplate` | value |
791
+ | `expandInstructionImports` | value |
792
+ | `FILE_INLINE_CAP` | value |
793
+ | `frontmatterValue` | value |
794
+ | `LayeredConfig` | value |
795
+ | `LayerOutOfOrderError` | value |
796
+ | `layerPrecedence` | value |
797
+ | `LAYERS_ARE_POSITIONED` | value |
798
+ | `loadCustomCommands` | value |
799
+ | `loadInstructionTree` | value |
800
+ | `loadOutputStyle` | value |
801
+ | `loadSettings` | value |
802
+ | `mcpServerAdmitted` | value |
803
+ | `MEMORY_BYTE_CAP` | value |
804
+ | `MEMORY_LINE_CAP` | value |
805
+ | `OperatorRootUnreadableError` | value |
806
+ | `OutputStyleError` | value |
807
+ | `permissionRulesFromSettings` | value |
808
+ | `resolveAgentMemory` | value |
809
+ | `resolveOperatorRoots` | value |
810
+ | `resolveOutputStyle` | value |
811
+ | `SETTINGS_LAYERS` | value |
812
+ | `settingsLayerChain` | value |
813
+ | `splitFrontmatter` | value |
814
+ | `templateHints` | value |
815
+ | `TrustStore` | value |
816
+ | `TrustStorePermissionsError` | value |
817
+ | `AgentMemory` | type |
818
+ | `AgentMemoryScope` | type |
819
+ | `ComposedInstructions` | type |
820
+ | `ComposeInstructionsOptions` | type |
821
+ | `ConfigLayer` | type |
822
+ | `ContextPressure` | type |
823
+ | `ContextPressureThresholds` | type |
824
+ | `CustomCommand` | type |
825
+ | `CustomCommandsResult` | type |
826
+ | `DeclaredLayer` | type |
827
+ | `ExpandImportsInput` | type |
828
+ | `InstructionBlock` | type |
829
+ | `InstructionSource` | type |
830
+ | `InstructionTree` | type |
831
+ | `InstructionTreeBudget` | type |
832
+ | `LayeredConfigInput` | type |
833
+ | `LayeredConfigResult` | type |
834
+ | `LayerValues` | type |
835
+ | `LoadCustomCommandsInput` | type |
836
+ | `LoadInstructionTreeInput` | type |
837
+ | `LoadOutputStyleInput` | type |
838
+ | `LoadSettingsInput` | type |
839
+ | `LoadSettingsResult` | type |
840
+ | `OperatorDefinition` | type |
841
+ | `OperatorOrigin` | type |
842
+ | `OperatorPolicy` | type |
843
+ | `OperatorRootsOptions` | type |
844
+ | `OperatorRootsResult` | type |
845
+ | `OutputStyle` | type |
846
+ | `ParsedFrontmatter` | type |
847
+ | `PermissionAction` | type |
848
+ | `PermissionRule` | type |
849
+ | `PermissionsBlock` | type |
850
+ | `PermissionTranslation` | type |
851
+ | `PrecedenceReport` | type |
852
+ | `ProvenancePerKey` | type |
853
+ | `ResolveAgentMemoryInput` | type |
854
+ | `Settings` | type |
855
+ | `SettingsLayer` | type |
856
+ | `ShellResult` | type |
857
+ | `SkippedDefinition` | type |
858
+ | `TemplateDeps` | type |
859
+ | `TrustRecord` | type |
860
+ | `UnsupportedPermissionEntry` | type |
861
+ | `WithheldRoot` | type |
862
+
863
+ ## `@theokit/agents/tools`
864
+
865
+ | Symbol | Kind |
866
+ |---|---|
867
+ | `buildEnvContext` | value |
868
+ | `buildRepoMap` | value |
869
+ | `CatastrophicCommandError` | value |
870
+ | `catastrophicShellReason` | value |
871
+ | `commandDenialReason` | value |
872
+ | `ContextMatchError` | value |
873
+ | `createApplyPatchTool` | value |
874
+ | `createBraveWebSearchAdapter` | value |
875
+ | `createCurrentTimeTool` | value |
876
+ | `createDelegateTool` | value |
877
+ | `createEditFileTool` | value |
878
+ | `createGenericHttpSearchAdapter` | value |
879
+ | `createGitDiffTool` | value |
880
+ | `createGitStatusTool` | value |
881
+ | `createGlobTool` | value |
882
+ | `createInteractiveShellTool` | value |
883
+ | `createListDirTool` | value |
884
+ | `createPlanModeTool` | value |
885
+ | `createQuestionTool` | value |
886
+ | `createReadFileTool` | value |
887
+ | `createRunVitestTool` | value |
888
+ | `createSearchTextTool` | value |
889
+ | `createSessionArtifactStore` | value |
890
+ | `createShellTool` | value |
891
+ | `createTaskCompleteTool` | value |
892
+ | `createTaskDeclareTool` | value |
893
+ | `createTodolistTool` | value |
894
+ | `createUpdatePlanTool` | value |
895
+ | `createViewImageTool` | value |
896
+ | `createWebFetchTool` | value |
897
+ | `createWebSearchTool` | value |
898
+ | `createWriteFileTool` | value |
899
+ | `createWriteStdinTool` | value |
900
+ | `DEFAULT_MAX_IMAGE_BYTES` | value |
901
+ | `DEFAULT_TOOL_GUIDANCE` | value |
902
+ | `DelegateToolConfigError` | value |
903
+ | `denyCatastrophicCommands` | value |
904
+ | `formatCode` | value |
905
+ | `formatDiff` | value |
906
+ | `formatError` | value |
907
+ | `formatFileList` | value |
908
+ | `injectGuidance` | value |
909
+ | `isBlockedIp` | value |
910
+ | `isCommandAllowed` | value |
911
+ | `ReadTracker` | value |
912
+ | `ReasoningTools` | value |
913
+ | `RedirectBlockedError` | value |
914
+ | `renderToolList` | value |
915
+ | `replaceUnique` | value |
916
+ | `resolveAndScreen` | value |
917
+ | `screenedFetch` | value |
918
+ | `SsrfBlockedError` | value |
919
+ | `todoItemsToPlanNodes` | value |
920
+ | `truncateOutput` | value |
921
+ | `withDefaultGuidance` | value |
922
+ | `withDescription` | value |
923
+ | `withName` | value |
924
+ | `withShellExitGuidance` | value |
925
+ | `withToolResultGuidance` | value |
926
+ | `CommandPolicy` | type |
927
+ | `ContextMatchReason` | type |
928
+ | `CreateApplyPatchToolOptions` | type |
929
+ | `CreateBraveWebSearchAdapterOptions` | type |
930
+ | `CreateCurrentTimeToolOptions` | type |
931
+ | `CreateDelegateToolOptions` | type |
932
+ | `CreateEditFileToolOptions` | type |
933
+ | `CreateGenericHttpSearchAdapterOptions` | type |
934
+ | `CreateGitDiffToolOptions` | type |
935
+ | `CreateGitStatusToolOptions` | type |
936
+ | `CreateGlobToolOptions` | type |
937
+ | `CreateInteractiveShellToolOptions` | type |
938
+ | `CreateListDirToolOptions` | type |
939
+ | `CreateReadFileToolOptions` | type |
940
+ | `CreateRunVitestToolOptions` | type |
941
+ | `CreateSearchTextToolOptions` | type |
942
+ | `CreateShellToolOptions` | type |
943
+ | `CreateViewImageToolOptions` | type |
944
+ | `CreateWebFetchToolOptions` | type |
945
+ | `CreateWebSearchToolOptions` | type |
946
+ | `CreateWriteFileToolOptions` | type |
947
+ | `DelegateRosterEntry` | type |
948
+ | `EnvContextOptions` | type |
949
+ | `PlanModeTool` | type |
950
+ | `PlanModeToolOptions` | type |
951
+ | `PlanModeToolWithStore` | type |
952
+ | `PlanNode` | type |
953
+ | `QuestionTool` | type |
954
+ | `QuestionToolOptions` | type |
955
+ | `RepoMapOptions` | type |
956
+ | `ResolveAndScreenOptions` | type |
957
+ | `ScreenedFetchOptions` | type |
958
+ | `SessionArtifactStore` | type |
959
+ | `SessionArtifactStoreOptions` | type |
960
+ | `TaskRegistry` | type |
961
+ | `TaskToolOptions` | type |
962
+ | `TodoItem` | type |
963
+ | `TodolistTool` | type |
964
+ | `ToolGuidanceMap` | type |
965
+ | `TruncationMode` | type |
966
+ | `TruncationOptions` | type |
967
+ | `TruncationResult` | type |
968
+ | `VitestSummary` | type |
969
+ | `WebSearchCallback` | type |
970
+ | `WebSearchResult` | type |
971
+
972
+ ## `@theokit/agents/client`
973
+
974
+ | Symbol | Kind |
975
+ |---|---|
976
+ | `AgentClient` | value |
977
+ | `agentHandle` | value |
978
+ | `AgentStreamInterruptedError` | value |
979
+ | `ApprovalAbortedError` | value |
980
+ | `ChannelTransport` | value |
981
+ | `consumeChunkStream` | value |
982
+ | `consumeUIMessageStream` | value |
983
+ | `extractLastUserText` | value |
984
+ | `HttpTransport` | value |
985
+ | `InProcessTransport` | value |
986
+ | `isAgentHandle` | value |
987
+ | `responseToChunkStream` | value |
988
+ | `AgentClientOptions` | type |
989
+ | `AgentClientState` | type |
990
+ | `AgentHandle` | type |
991
+ | `AgentTransport` | type |
992
+ | `ApprovalDecision` | type |
993
+ | `ChannelPushSource` | type |
994
+ | `ChannelTransportOptions` | type |
995
+ | `ChannelTurnHandlers` | type |
996
+ | `ChunkStreamOutcome` | type |
997
+ | `HeadersResolver` | type |
998
+ | `HttpTransportOptions` | type |
999
+ | `InProcessApprovalRequestLike` | type |
1000
+ | `InProcessAwaitApproval` | type |
1001
+ | `InProcessRunInput` | type |
1002
+ | `InProcessRunner` | type |
1003
+ | `InProcessTransportOptions` | type |
1004
+ | `PendingApproval` | type |
1005
+ | `RequestContext` | type |
1006
+ | `UseAgentStatus` | type |
1007
+ | `WireTransport` | type |
1008
+
1009
+ ## `@theokit/agents/client/react`
1010
+
1011
+ | Symbol | Kind |
1012
+ |---|---|
1013
+ | `useAgent` | value |
1014
+ | `PendingApproval` | type |
1015
+ | `UseAgentOptions` | type |
1016
+ | `UseAgentReturn` | type |
1017
+ | `UseAgentStatus` | type |
1018
+ | `WireMessage` | type |
1019
+
1020
+ ## `@theokit/agents/session`
1021
+
1022
+ | Symbol | Kind |
1023
+ |---|---|
1024
+ | `classifyProjects` | value |
1025
+ | `deleteSession` | value |
1026
+ | `forkBeforeUserTurn` | value |
1027
+ | `GCFloorError` | value |
1028
+ | `GCProtectionUnavailableError` | value |
1029
+ | `listSessions` | value |
1030
+ | `LivenessBudgetError` | value |
1031
+ | `loadOrCreateSessionId` | value |
1032
+ | `persistSessionId` | value |
1033
+ | `planTranscriptGC` | value |
1034
+ | `projectDirFor` | value |
1035
+ | `projectDirMatches` | value |
1036
+ | `projectsRoot` | value |
1037
+ | `protectedTranscriptPaths` | value |
1038
+ | `readThreadHistory` | value |
1039
+ | `recordProjectDir` | value |
1040
+ | `resolveProjectDir` | value |
1041
+ | `runTranscriptGC` | value |
1042
+ | `SessionInUseError` | value |
1043
+ | `sessionPointerPath` | value |
1044
+ | `SessionRegistryRemoverError` | value |
1045
+ | `transcriptOf` | value |
1046
+ | `transcriptRootHint` | value |
1047
+ | `ClassifyProjectsOptions` | type |
1048
+ | `DeleteSessionOptions` | type |
1049
+ | `DeleteSessionResult` | type |
1050
+ | `FsSeam` | type |
1051
+ | `GCCandidate` | type |
1052
+ | `GCError` | type |
1053
+ | `GCKept` | type |
1054
+ | `Liveness` | type |
1055
+ | `LivenessVerdict` | type |
1056
+ | `ReadThreadHistoryOptions` | type |
1057
+ | `RegistryOutcome` | type |
1058
+ | `RunTranscriptGCResult` | type |
1059
+ | `SessionSummary` | type |
1060
+ | `ThreadHistory` | type |
1061
+ | `ThreadHistoryState` | type |
1062
+ | `TranscriptGCOptions` | type |
1063
+ | `TranscriptGCPlan` | type |
1064
+
1065
+ ## `@theokit/agents/hooks`
1066
+
1067
+ | Symbol | Kind |
1068
+ |---|---|
1069
+ | `buildHookHandlers` | value |
1070
+ | `CHAIN_BUDGET_MULTIPLIER` | value |
1071
+ | `DEFAULT_CONTINUATION_BUDGET` | value |
1072
+ | `DEFAULT_HOOK_TIMEOUT_MS` | value |
1073
+ | `DRAIN_BUDGET_MS` | value |
1074
+ | `fenceHookOutput` | value |
1075
+ | `HOOK_EVENTS` | value |
1076
+ | `HookApprovalStore` | value |
1077
+ | `hookFingerprint` | value |
1078
+ | `HookSpecError` | value |
1079
+ | `hookSpecSchema` | value |
1080
+ | `hooksPlugin` | value |
1081
+ | `inheritHooks` | value |
1082
+ | `MAX_OUTPUT_BYTES` | value |
1083
+ | `parseHookSpecs` | value |
1084
+ | `runHookCommand` | value |
1085
+ | `ApprovalRecord` | type |
1086
+ | `ApprovalState` | type |
1087
+ | `BuildHookHandlersOptions` | type |
1088
+ | `CodePlugin` | type |
1089
+ | `HookApprovalStoreOptions` | type |
1090
+ | `HookEvent` | type |
1091
+ | `HookIdentity` | type |
1092
+ | `HookRunInput` | type |
1093
+ | `HookRunResult` | type |
1094
+ | `HookSpec` | type |
1095
+
1096
+ ## `@theokit/agents/ask`
1097
+
1098
+ | Symbol | Kind |
1099
+ |---|---|
1100
+ | `askUserVia` | value |
1101
+ | `ConcurrentListenerError` | value |
1102
+ | `ConcurrentQuestionError` | value |
1103
+ | `createAskBridge` | value |
1104
+ | `createPendingLedger` | value |
1105
+ | `QuestionAbandonedError` | value |
1106
+ | `TheokitAgentError` | value |
1107
+ | `AskBridge` | type |
1108
+ | `DisposeListener` | type |
1109
+ | `ListenerOptions` | type |
1110
+ | `PendingItem` | type |
1111
+ | `PendingLedger` | type |
1112
+ | `PendingQuestion` | type |
1113
+
1114
+ ## `@theokit/agents/tool-scope`
1115
+
1116
+ | Symbol | Kind |
1117
+ |---|---|
1118
+ | `bindToolScope` | value |
1119
+ | `sandboxWritePolicy` | value |
1120
+ | `SandboxWritePolicy` | type |
1121
+ | `ToolScope` | type |
1122
+ | `ToolScopeInput` | type |
1123
+
1124
+ ## `@theokit/agents/mcp-health`
1125
+
1126
+ | Symbol | Kind |
1127
+ |---|---|
1128
+ | `createMcpHealthSink` | value |
1129
+ | `mcpInventory` | value |
1130
+ | `McpFailure` | type |
1131
+ | `McpFailureSource` | type |
1132
+ | `McpHealthSink` | type |
1133
+ | `McpServerFailedEvent` | type |
1134
+ | `McpServerState` | type |
1135
+ | `McpServerStatus` | type |
1136
+
1137
+ ## `@theokit/agents/commands`
1138
+
1139
+ | Symbol | Kind |
1140
+ |---|---|
1141
+ | `createShutdown` | value |
1142
+ | `DEFAULT_WATCHDOG_MS` | value |
1143
+ | `defineCommand` | value |
1144
+ | `routeCommand` | value |
1145
+ | `SHUTDOWN_EXIT_CODES` | value |
1146
+ | `CleanupTask` | type |
1147
+ | `CommandArgument` | type |
1148
+ | `CommandDefinition` | type |
1149
+ | `RoutedInput` | type |
1150
+ | `RouteFailure` | type |
1151
+ | `Shutdown` | type |
1152
+ | `ShutdownDeps` | type |
1153
+ | `ShutdownOutcome` | type |
1154
+
1155
+ ## `@theokit/agents/doctor`
1156
+
1157
+ | Symbol | Kind |
1158
+ |---|---|
1159
+ | `diagnose` | value |
1160
+ | `installDiagnosticSink` | value |
1161
+ | `renderDiagnosis` | value |
1162
+ | `secretPresence` | value |
1163
+ | `Check` | type |
1164
+ | `Diagnosis` | type |
1165
+ | `DiagnosticDestination` | type |
1166
+ | `InstallDiagnosticSinkOptions` | type |
1167
+ | `SecretPresence` | type |
1168
+
1169
+ ## `@theokit/agents/usage`
1170
+
1171
+ | Symbol | Kind |
1172
+ |---|---|
1173
+ | `InMemoryUsageStorage` | value |
1174
+ | `readRunUsage` | value |
1175
+ | `RunUsageSnapshot` | type |
1176
+ | `ToolUsageRecord` | type |
1177
+ | `UsageQuery` | type |
1178
+ | `UsageRecord` | type |
1179
+ | `UsageResult` | type |
1180
+ | `UsageStorageAdapter` | type |
1181
+
1182
+ ## `@theokit/agents/pty`
1183
+
1184
+ | Symbol | Kind |
1185
+ |---|---|
1186
+ | `clampYield` | value |
1187
+ | `MaxSessionsError` | value |
1188
+ | `PtyInteractiveBackend` | value |
1189
+ | `YIELD_MAX_MS` | value |
1190
+ | `YIELD_MIN_MS` | value |
1191
+ | `PtyInteractiveBackendOptions` | type |