@aria-cli/tools 1.0.9 → 1.0.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/package.json +9 -5
- package/src/__tests__/web-fetch-download.test.ts +0 -433
- package/src/__tests__/web-tools.test.ts +0 -619
- package/src/ask-user-interaction.ts +0 -33
- package/src/cache/web-cache.ts +0 -110
- package/src/definitions/arion.ts +0 -118
- package/src/definitions/browser/browser.ts +0 -502
- package/src/definitions/browser/index.ts +0 -5
- package/src/definitions/browser/pw-downloads.ts +0 -142
- package/src/definitions/browser/pw-interactions.ts +0 -282
- package/src/definitions/browser/pw-responses.ts +0 -98
- package/src/definitions/browser/pw-session.ts +0 -405
- package/src/definitions/browser/pw-shared.ts +0 -85
- package/src/definitions/browser/pw-snapshot.ts +0 -383
- package/src/definitions/browser/pw-state.ts +0 -101
- package/src/definitions/browser/types.ts +0 -203
- package/src/definitions/code-intelligence.ts +0 -526
- package/src/definitions/core.ts +0 -118
- package/src/definitions/delegation.ts +0 -567
- package/src/definitions/deploy.ts +0 -73
- package/src/definitions/filesystem.ts +0 -217
- package/src/definitions/frg.ts +0 -67
- package/src/definitions/index.ts +0 -28
- package/src/definitions/memory.ts +0 -150
- package/src/definitions/messaging.ts +0 -734
- package/src/definitions/meta.ts +0 -392
- package/src/definitions/network.ts +0 -179
- package/src/definitions/outlook.ts +0 -318
- package/src/definitions/patch/apply-patch.ts +0 -235
- package/src/definitions/patch/fuzzy-match.ts +0 -217
- package/src/definitions/patch/index.ts +0 -1
- package/src/definitions/patch/patch-parser.ts +0 -297
- package/src/definitions/patch/sandbox-paths.ts +0 -129
- package/src/definitions/process/index.ts +0 -5
- package/src/definitions/process/process-registry.ts +0 -303
- package/src/definitions/process/process.ts +0 -456
- package/src/definitions/process/pty-keys.ts +0 -298
- package/src/definitions/process/session-slug.ts +0 -147
- package/src/definitions/quip.ts +0 -225
- package/src/definitions/search.ts +0 -67
- package/src/definitions/session-history.ts +0 -79
- package/src/definitions/shell.ts +0 -202
- package/src/definitions/slack.ts +0 -211
- package/src/definitions/web.ts +0 -119
- package/src/executors/apply-patch.ts +0 -1035
- package/src/executors/arion.ts +0 -199
- package/src/executors/code-intelligence.ts +0 -1179
- package/src/executors/deploy.ts +0 -1066
- package/src/executors/filesystem.ts +0 -1428
- package/src/executors/frg-freshness.ts +0 -743
- package/src/executors/frg.ts +0 -394
- package/src/executors/index.ts +0 -280
- package/src/executors/learning-meta.ts +0 -1367
- package/src/executors/lsp-client.ts +0 -355
- package/src/executors/memory.ts +0 -978
- package/src/executors/meta.ts +0 -293
- package/src/executors/process-registry.ts +0 -570
- package/src/executors/pty-session-store.ts +0 -43
- package/src/executors/pty.ts +0 -342
- package/src/executors/restart.ts +0 -133
- package/src/executors/search-freshness.ts +0 -249
- package/src/executors/search-types.ts +0 -98
- package/src/executors/search.ts +0 -89
- package/src/executors/self-diagnose.ts +0 -552
- package/src/executors/session-history.ts +0 -435
- package/src/executors/shell-safety.ts +0 -519
- package/src/executors/shell.ts +0 -1243
- package/src/executors/utils.ts +0 -40
- package/src/executors/web.ts +0 -786
- package/src/extraction/content-extraction.ts +0 -281
- package/src/extraction/index.ts +0 -5
- package/src/headless-control-contract.ts +0 -1149
- package/src/index.ts +0 -788
- package/src/local-control-http-auth.ts +0 -2
- package/src/mcp/client.ts +0 -218
- package/src/mcp/connection.ts +0 -568
- package/src/mcp/index.ts +0 -11
- package/src/mcp/jsonrpc.ts +0 -195
- package/src/mcp/types.ts +0 -199
- package/src/network-control-adapter.ts +0 -88
- package/src/network-runtime/address-types.ts +0 -218
- package/src/network-runtime/db-owner-fencing.ts +0 -91
- package/src/network-runtime/delivery-receipts.ts +0 -372
- package/src/network-runtime/direct-endpoint-authority.ts +0 -35
- package/src/network-runtime/index.ts +0 -316
- package/src/network-runtime/local-control-contract.ts +0 -784
- package/src/network-runtime/node-store-contract.ts +0 -46
- package/src/network-runtime/pair-route-contract.ts +0 -97
- package/src/network-runtime/peer-capabilities.ts +0 -48
- package/src/network-runtime/peer-principal-ref.ts +0 -20
- package/src/network-runtime/peer-state-machine.ts +0 -160
- package/src/network-runtime/protocol-schemas.ts +0 -265
- package/src/network-runtime/runtime-bootstrap-contract.ts +0 -83
- package/src/outlook/desktop-session.ts +0 -409
- package/src/policy.ts +0 -171
- package/src/providers/brave.ts +0 -80
- package/src/providers/duckduckgo.ts +0 -199
- package/src/providers/exa.ts +0 -85
- package/src/providers/firecrawl.ts +0 -77
- package/src/providers/index.ts +0 -8
- package/src/providers/jina.ts +0 -70
- package/src/providers/router.ts +0 -121
- package/src/providers/search-provider.ts +0 -74
- package/src/providers/tavily.ts +0 -74
- package/src/quip/desktop-session.ts +0 -435
- package/src/registry/index.ts +0 -1
- package/src/registry/registry.ts +0 -905
- package/src/runtime-socket-local-control-client.ts +0 -632
- package/src/security/dns-normalization.ts +0 -34
- package/src/security/dns-pinning.ts +0 -138
- package/src/security/external-content.ts +0 -129
- package/src/security/ssrf.ts +0 -207
- package/src/slack/desktop-session.ts +0 -493
- package/src/tool-factory.ts +0 -91
- package/src/types.ts +0 -1341
- package/src/utils/retry.ts +0 -163
- package/src/utils/safe-parse-json.ts +0 -176
- package/src/utils/url.ts +0 -20
- package/tests/benchmarks/registry.bench.ts +0 -57
- package/tests/cache/web-cache.test.ts +0 -147
- package/tests/critical-integration.test.ts +0 -1465
- package/tests/definitions/apply-patch.test.ts +0 -586
- package/tests/definitions/browser.test.ts +0 -495
- package/tests/definitions/delegation-pause-resume.test.ts +0 -758
- package/tests/definitions/execution.test.ts +0 -671
- package/tests/definitions/messaging-inbox-scope.test.ts +0 -229
- package/tests/definitions/messaging.test.ts +0 -1468
- package/tests/definitions/outlook.test.ts +0 -30
- package/tests/definitions/process.test.ts +0 -469
- package/tests/definitions/slack.test.ts +0 -28
- package/tests/definitions/tool-inventory.test.ts +0 -218
- package/tests/e2e/delegation-quest-orchestration.e2e.test.ts +0 -433
- package/tests/e2e/memory-tool-discovery-contract.e2e.test.ts +0 -81
- package/tests/executors/apply-patch.test.ts +0 -538
- package/tests/executors/arion.test.ts +0 -309
- package/tests/executors/conversation-primitives.test.ts +0 -250
- package/tests/executors/deploy.test.ts +0 -746
- package/tests/executors/filesystem-tools.test.ts +0 -357
- package/tests/executors/filesystem.test.ts +0 -959
- package/tests/executors/frg-freshness.test.ts +0 -136
- package/tests/executors/frg-merge.test.ts +0 -70
- package/tests/executors/frg-session-content.test.ts +0 -40
- package/tests/executors/frg.test.ts +0 -56
- package/tests/executors/memory-bugfixes.test.ts +0 -257
- package/tests/executors/memory-real-memoria.integration.test.ts +0 -316
- package/tests/executors/memory.test.ts +0 -853
- package/tests/executors/meta-tools.test.ts +0 -411
- package/tests/executors/meta.test.ts +0 -683
- package/tests/executors/path-containment.test.ts +0 -51
- package/tests/executors/process-registry.test.ts +0 -505
- package/tests/executors/pty.test.ts +0 -664
- package/tests/executors/quest-security.test.ts +0 -249
- package/tests/executors/read-file-media.test.ts +0 -230
- package/tests/executors/recall-knowledge-schema.test.ts +0 -209
- package/tests/executors/recall-tags.test.ts +0 -278
- package/tests/executors/remember-null-safety.contract.test.ts +0 -41
- package/tests/executors/restart.test.ts +0 -67
- package/tests/executors/search-unified.test.ts +0 -381
- package/tests/executors/session-history.test.ts +0 -340
- package/tests/executors/session-transcript.test.ts +0 -561
- package/tests/executors/shell-abort.test.ts +0 -416
- package/tests/executors/shell-env-blocklist.test.ts +0 -648
- package/tests/executors/shell-env-process.test.ts +0 -245
- package/tests/executors/shell-process-registry.test.ts +0 -334
- package/tests/executors/shell-tools.test.ts +0 -393
- package/tests/executors/shell.test.ts +0 -690
- package/tests/executors/web-abort-vs-timeout.test.ts +0 -213
- package/tests/executors/web-integration.test.ts +0 -633
- package/tests/executors/web-symlink.test.ts +0 -18
- package/tests/executors/web.test.ts +0 -1400
- package/tests/executors/write-stdin.test.ts +0 -145
- package/tests/extraction/content-extraction.test.ts +0 -153
- package/tests/guards/tools-default-test-lane.integration.test.ts +0 -21
- package/tests/guards/tools-package-test-commands.e2e.test.ts +0 -43
- package/tests/guards/tools-test-lane-manifest.contract.test.ts +0 -76
- package/tests/guards/tools-vitest-workspace-alias.contract.test.ts +0 -63
- package/tests/helpers/async-waits.ts +0 -53
- package/tests/integration/headless-control-contract.integration.test.ts +0 -153
- package/tests/integration/memory-tool-schema-parity.integration.test.ts +0 -67
- package/tests/integration/meta-tools-round-trip.integration.test.ts +0 -506
- package/tests/integration/quest-round-trip.test.ts +0 -303
- package/tests/integration/registry-executor-flow.test.ts +0 -85
- package/tests/integration.test.ts +0 -177
- package/tests/loading-tier.test.ts +0 -126
- package/tests/mcp/client-reconnect.test.ts +0 -267
- package/tests/mcp/connection.test.ts +0 -846
- package/tests/mcp/injectable-logger.test.ts +0 -83
- package/tests/mcp/jsonrpc.test.ts +0 -109
- package/tests/mcp/lifecycle.test.ts +0 -879
- package/tests/network-runtime/address-types.contract.test.ts +0 -143
- package/tests/network-runtime/continuity-bind-schema.contract.test.ts +0 -203
- package/tests/network-runtime/local-control-contract.test.ts +0 -869
- package/tests/network-runtime/local-control-invite-token.contract.test.ts +0 -146
- package/tests/network-runtime/node-store-contract.test.ts +0 -11
- package/tests/network-runtime/pair-protocol-nodeid.contract.test.ts +0 -15
- package/tests/network-runtime/peer-state-machine.contract.test.ts +0 -148
- package/tests/network-runtime/protocol-schemas.contract.test.ts +0 -512
- package/tests/network-runtime/relay-pending-nodeid.contract.test.ts +0 -62
- package/tests/network-runtime/runtime-bootstrap-contract.test.ts +0 -227
- package/tests/network-runtime/runtime-socket-local-control-client.test.ts +0 -621
- package/tests/network-runtime/wait-for-message-script.test.ts +0 -288
- package/tests/parallel.test.ts +0 -71
- package/tests/policy.test.ts +0 -184
- package/tests/print-default-test-lane.ts +0 -14
- package/tests/print-test-lane-manifest.ts +0 -22
- package/tests/providers/brave.test.ts +0 -159
- package/tests/providers/duckduckgo.test.ts +0 -207
- package/tests/providers/exa.test.ts +0 -175
- package/tests/providers/firecrawl.test.ts +0 -168
- package/tests/providers/jina.test.ts +0 -144
- package/tests/providers/router.test.ts +0 -328
- package/tests/providers/tavily.test.ts +0 -165
- package/tests/registry/discovery.test.ts +0 -154
- package/tests/registry/injectable-logger.test.ts +0 -230
- package/tests/registry/input-validation.test.ts +0 -361
- package/tests/registry/interface-completeness.test.ts +0 -85
- package/tests/registry/mcp-integration.test.ts +0 -103
- package/tests/registry/mcp-read-only-hint.test.ts +0 -60
- package/tests/registry/memoria-discovery.test.ts +0 -390
- package/tests/registry/nested-validation.test.ts +0 -283
- package/tests/registry/pseudo-tool-filtering.test.ts +0 -258
- package/tests/registry/registration-lifecycle.test.ts +0 -133
- package/tests/registry-validation.test.ts +0 -424
- package/tests/registry.test.ts +0 -460
- package/tests/security/dns-pinning.test.ts +0 -162
- package/tests/security/external-content.test.ts +0 -144
- package/tests/security/ssrf.test.ts +0 -118
- package/tests/shell-safety-integration.test.ts +0 -32
- package/tests/shell-safety.test.ts +0 -365
- package/tests/slack/desktop-session.test.ts +0 -50
- package/tests/test-lane-manifest.ts +0 -440
- package/tests/test-utils.ts +0 -27
- package/tests/tool-factory.test.ts +0 -188
- package/tests/utils/retry.test.ts +0 -231
- package/tests/utils/url.test.ts +0 -63
- package/tsconfig.cjs.json +0 -24
- package/tsconfig.json +0 -12
- package/vitest.config.ts +0 -55
- package/vitest.e2e.config.ts +0 -24
- package/vitest.integration.config.ts +0 -24
- package/vitest.native.config.ts +0 -24
package/src/index.ts
DELETED
|
@@ -1,788 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @aria/tools - Tool framework for ARIA
|
|
3
|
-
* @packageDocumentation
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
// Types
|
|
7
|
-
export type {
|
|
8
|
-
Tool,
|
|
9
|
-
ToolCategory,
|
|
10
|
-
ToolContext,
|
|
11
|
-
ToolResult,
|
|
12
|
-
RiskLevel,
|
|
13
|
-
LoadingTier,
|
|
14
|
-
RegisterOptions,
|
|
15
|
-
ToolInfo,
|
|
16
|
-
ToolUseBlock,
|
|
17
|
-
ToolResultBlock,
|
|
18
|
-
ToolRegistry as ToolRegistryInterface,
|
|
19
|
-
ToolMiddleware,
|
|
20
|
-
ArionRef,
|
|
21
|
-
ArionManagerRef,
|
|
22
|
-
Logger,
|
|
23
|
-
ProcessMetadataRef,
|
|
24
|
-
ProcessExitMetadataRef,
|
|
25
|
-
ProcessInfoRef,
|
|
26
|
-
WaitProcessResultRef,
|
|
27
|
-
ProcessRegistryRef,
|
|
28
|
-
PTYSessionStoreRef,
|
|
29
|
-
ModelRouterRef,
|
|
30
|
-
ProviderContext,
|
|
31
|
-
DelegationRegistryRef,
|
|
32
|
-
DelegationEntryRef,
|
|
33
|
-
DelegationExecutorRef,
|
|
34
|
-
QuestStoreRef,
|
|
35
|
-
ToolRegistryRef,
|
|
36
|
-
QuestStoreItem,
|
|
37
|
-
QuestStoreStatus,
|
|
38
|
-
MessageStoreRef,
|
|
39
|
-
SessionHistoryRef,
|
|
40
|
-
SessionSummaryRef,
|
|
41
|
-
SessionContextRef,
|
|
42
|
-
SessionMessageRef,
|
|
43
|
-
RunMetricsRef,
|
|
44
|
-
MailboxDeliveryReceipt,
|
|
45
|
-
MailboxRef,
|
|
46
|
-
NetworkControlRef,
|
|
47
|
-
NetworkManagerPeerInfo,
|
|
48
|
-
NetworkPeerView,
|
|
49
|
-
NetworkStatusView,
|
|
50
|
-
NetworkManagerRef,
|
|
51
|
-
NetworkPeerRegistrationResultRef,
|
|
52
|
-
NetworkPeerRegistrationFailureRef,
|
|
53
|
-
NetworkPeerRepairResultRef,
|
|
54
|
-
NetworkPeerRepairFailureRef,
|
|
55
|
-
NetworkPeerRevocationResultRef,
|
|
56
|
-
NetworkPeerRevocationFailureRef,
|
|
57
|
-
LocalControlApi,
|
|
58
|
-
AttachedLocalControlApi,
|
|
59
|
-
RunHandle,
|
|
60
|
-
ResumeRunRequest,
|
|
61
|
-
RuntimeBootstrapPhase,
|
|
62
|
-
RuntimeBootstrapRecord,
|
|
63
|
-
RuntimeRunEvent,
|
|
64
|
-
RuntimeEventCursor,
|
|
65
|
-
} from "./types.js";
|
|
66
|
-
export type { AskUserQuestion } from "./ask-user-interaction.js";
|
|
67
|
-
export { AskUserPauseRequiredError, isAskUserPauseRequiredError } from "./ask-user-interaction.js";
|
|
68
|
-
export type {
|
|
69
|
-
HeadlessOperationName,
|
|
70
|
-
HeadlessRequestId,
|
|
71
|
-
HeadlessInteractionId,
|
|
72
|
-
HeadlessInteractionSource,
|
|
73
|
-
HeadlessInteractionQuestion,
|
|
74
|
-
HeadlessSelectionOption,
|
|
75
|
-
HeadlessCredentialField,
|
|
76
|
-
HeadlessInteractionPayload,
|
|
77
|
-
HeadlessInteractionResponsePayload,
|
|
78
|
-
HeadlessInteractionRequest,
|
|
79
|
-
HeadlessInteractionResponse,
|
|
80
|
-
HeadlessError,
|
|
81
|
-
HeadlessRequest,
|
|
82
|
-
HeadlessEvent,
|
|
83
|
-
HeadlessResult,
|
|
84
|
-
HeadlessClientFrame,
|
|
85
|
-
HeadlessServerFrame,
|
|
86
|
-
HeadlessOperationSuccessResult,
|
|
87
|
-
HeadlessOperationSchemaDefinition,
|
|
88
|
-
HeadlessRunStartInput,
|
|
89
|
-
HeadlessRunResumeInput,
|
|
90
|
-
} from "./headless-control-contract.js";
|
|
91
|
-
export {
|
|
92
|
-
HEADLESS_OPERATION_NAMES,
|
|
93
|
-
HEADLESS_OPERATION_SCHEMAS,
|
|
94
|
-
HEADLESS_CONNECTION_OWNED_OPERATION_NAMES,
|
|
95
|
-
HEADLESS_STREAMING_OPERATION_NAMES,
|
|
96
|
-
HeadlessOperationNameSchema,
|
|
97
|
-
HeadlessRequestIdSchema,
|
|
98
|
-
HeadlessInteractionIdSchema,
|
|
99
|
-
HeadlessInteractionSourceSchema,
|
|
100
|
-
HeadlessInteractionQuestionSchema,
|
|
101
|
-
HeadlessSelectionOptionSchema,
|
|
102
|
-
HeadlessCredentialFieldSchema,
|
|
103
|
-
HeadlessToolApprovalPayloadSchema,
|
|
104
|
-
HeadlessQuestionnairePayloadSchema,
|
|
105
|
-
HeadlessSelectionPayloadSchema,
|
|
106
|
-
HeadlessCredentialInputPayloadSchema,
|
|
107
|
-
HeadlessOauthDevicePayloadSchema,
|
|
108
|
-
HeadlessConfirmPayloadSchema,
|
|
109
|
-
HeadlessInteractionPayloadSchema,
|
|
110
|
-
HeadlessConfirmResponsePayloadSchema,
|
|
111
|
-
HeadlessQuestionnaireResponsePayloadSchema,
|
|
112
|
-
HeadlessSelectionResponsePayloadSchema,
|
|
113
|
-
HeadlessCredentialInputResponsePayloadSchema,
|
|
114
|
-
HeadlessOauthDeviceResponsePayloadSchema,
|
|
115
|
-
HeadlessCancelResponsePayloadSchema,
|
|
116
|
-
HeadlessInteractionResponsePayloadSchema,
|
|
117
|
-
HeadlessInteractionRequestSchema,
|
|
118
|
-
HeadlessInteractionResponseSchema,
|
|
119
|
-
HeadlessErrorSchema,
|
|
120
|
-
HeadlessSessionSummarySchema,
|
|
121
|
-
HeadlessLoadedSessionSchema,
|
|
122
|
-
HeadlessSessionListInputSchema,
|
|
123
|
-
HeadlessSessionReferenceInputSchema,
|
|
124
|
-
HeadlessSessionListResultSchema,
|
|
125
|
-
HeadlessSessionReadResultSchema,
|
|
126
|
-
HeadlessSessionLoadResultSchema,
|
|
127
|
-
HeadlessMemoryRememberInputSchema,
|
|
128
|
-
HeadlessMemoryRecallInputSchema,
|
|
129
|
-
HeadlessMemoryListInputSchema,
|
|
130
|
-
HeadlessMemoryForgetInputSchema,
|
|
131
|
-
HeadlessMemoryRecallKnowledgeInputSchema,
|
|
132
|
-
HeadlessArionNameInputSchema,
|
|
133
|
-
HeadlessArionHatchInputSchema,
|
|
134
|
-
HeadlessArionCreateInputSchema,
|
|
135
|
-
HeadlessModelSetInputSchema,
|
|
136
|
-
HeadlessAuthLoginInputSchema,
|
|
137
|
-
HeadlessAuthLogoutInputSchema,
|
|
138
|
-
HeadlessClientInboxListInputSchema,
|
|
139
|
-
HeadlessMessageSendInputSchema,
|
|
140
|
-
HeadlessMessageInboxListInputSchema,
|
|
141
|
-
HeadlessConfigThemeSetInputSchema,
|
|
142
|
-
HeadlessConfigAutonomySetInputSchema,
|
|
143
|
-
HeadlessSystemRestartInputSchema,
|
|
144
|
-
HeadlessRunAbortInputSchema,
|
|
145
|
-
HeadlessDaemonCommandInputSchema,
|
|
146
|
-
HeadlessHookExtractPairSchema,
|
|
147
|
-
HeadlessHookExtractInputSchema,
|
|
148
|
-
HeadlessHookReflectMessageSchema,
|
|
149
|
-
HeadlessHookReflectInputSchema,
|
|
150
|
-
HeadlessHookIngestInputSchema,
|
|
151
|
-
HeadlessHookHarvestInputSchema,
|
|
152
|
-
HeadlessMessageSendResultSchema,
|
|
153
|
-
HeadlessInboxListResultSchema,
|
|
154
|
-
HeadlessPeerListResultSchema,
|
|
155
|
-
HeadlessNearbyPeerListResultSchema,
|
|
156
|
-
HeadlessPendingPairListResultSchema,
|
|
157
|
-
HeadlessClientListResultSchema,
|
|
158
|
-
HeadlessHookExtractResultSchema,
|
|
159
|
-
HeadlessRunAbortResultSchema,
|
|
160
|
-
HeadlessInteractionRespondResultSchema,
|
|
161
|
-
HeadlessMemoryRememberResultSchema,
|
|
162
|
-
HeadlessMemoryRecallResultSchema,
|
|
163
|
-
HeadlessMemoryListResultSchema,
|
|
164
|
-
HeadlessMemoryForgetResultSchema,
|
|
165
|
-
HeadlessMemoryRecallKnowledgeResultSchema,
|
|
166
|
-
HeadlessArionListResultSchema,
|
|
167
|
-
HeadlessArionHatchResultSchema,
|
|
168
|
-
HeadlessArionBecomeResultSchema,
|
|
169
|
-
HeadlessArionMutateResultSchema,
|
|
170
|
-
HeadlessArionCreateResultSchema,
|
|
171
|
-
HeadlessModelListResultSchema,
|
|
172
|
-
HeadlessModelSetResultSchema,
|
|
173
|
-
HeadlessModelRefreshResultSchema,
|
|
174
|
-
HeadlessAuthStatusResultSchema,
|
|
175
|
-
HeadlessAuthLoginResultSchema,
|
|
176
|
-
HeadlessAuthLogoutResultSchema,
|
|
177
|
-
HeadlessConfigThemeGetResultSchema,
|
|
178
|
-
HeadlessConfigThemeSetResultSchema,
|
|
179
|
-
HeadlessConfigAutonomyGetResultSchema,
|
|
180
|
-
HeadlessConfigAutonomySetResultSchema,
|
|
181
|
-
HeadlessSystemRestartResultSchema,
|
|
182
|
-
HeadlessSystemTerminalSetupResultSchema,
|
|
183
|
-
HeadlessHookReflectResultSchema,
|
|
184
|
-
HeadlessHookConsolidateResultSchema,
|
|
185
|
-
HeadlessHookIngestResultSchema,
|
|
186
|
-
HeadlessHookHarvestResultSchema,
|
|
187
|
-
HeadlessOperationSuccessResultSchema,
|
|
188
|
-
HeadlessRunStartInputSchema,
|
|
189
|
-
HeadlessRunResumeInputSchema,
|
|
190
|
-
HeadlessRequestSchema,
|
|
191
|
-
HeadlessEventSchema,
|
|
192
|
-
HeadlessResultSchema,
|
|
193
|
-
HeadlessClientFrameSchema,
|
|
194
|
-
HeadlessServerFrameSchema,
|
|
195
|
-
} from "./headless-control-contract.js";
|
|
196
|
-
|
|
197
|
-
export {
|
|
198
|
-
toNetworkControlRef,
|
|
199
|
-
toNetworkPeerView,
|
|
200
|
-
toNetworkStatusView,
|
|
201
|
-
} from "./network-control-adapter.js";
|
|
202
|
-
export {
|
|
203
|
-
createRuntimeSocketAttachedLocalControlClient,
|
|
204
|
-
createRuntimeSocketLocalControlClient,
|
|
205
|
-
} from "./runtime-socket-local-control-client.js";
|
|
206
|
-
export {
|
|
207
|
-
LOCAL_HTTP_CLIENT_ID_HEADER,
|
|
208
|
-
LOCAL_HTTP_CLIENT_PROOF_HEADER,
|
|
209
|
-
} from "./local-control-http-auth.js";
|
|
210
|
-
|
|
211
|
-
export {
|
|
212
|
-
NodeIdSchema,
|
|
213
|
-
NodeMetadataSchema,
|
|
214
|
-
RuntimeIdSchema,
|
|
215
|
-
RevocationDecisionSchema,
|
|
216
|
-
RevocationOperatorConfirmationSchema,
|
|
217
|
-
ClientIdSchema,
|
|
218
|
-
PrincipalFingerprintSchema,
|
|
219
|
-
PeerTransportIdSchema,
|
|
220
|
-
SigningPublicKeySchema,
|
|
221
|
-
TlsCaFingerprintSchema,
|
|
222
|
-
LoopbackTlsIdentitySchema,
|
|
223
|
-
TransportEndpointAdvertisementSchema,
|
|
224
|
-
InboxAddressSchema,
|
|
225
|
-
ControlEndpointAdvertisementSchema,
|
|
226
|
-
NodeAdvertisementSchema,
|
|
227
|
-
LocalRuntimeSummarySchema,
|
|
228
|
-
NodePrincipalBindingRefSchema,
|
|
229
|
-
RuntimeBootstrapPhaseSchema,
|
|
230
|
-
RuntimeBootstrapTlsSchema,
|
|
231
|
-
RuntimeBootstrapIdentitySchema,
|
|
232
|
-
RuntimeBootstrapRecordSchema,
|
|
233
|
-
PairRequestRouteBodySchema,
|
|
234
|
-
PairRequestRouteBodyJsonSchema,
|
|
235
|
-
AcceptInviteRequestSchema,
|
|
236
|
-
AcceptInviteRequestBodyJsonSchema,
|
|
237
|
-
PairRelayRouteBodySchema,
|
|
238
|
-
PairRelayRouteBodyJsonSchema,
|
|
239
|
-
RelayPendingQuerySchema,
|
|
240
|
-
RelayPendingQueryJsonSchema,
|
|
241
|
-
RelayPendingRequestSchema,
|
|
242
|
-
RelayPendingResponseSchema,
|
|
243
|
-
RunRequestSchema,
|
|
244
|
-
RunResultSchema,
|
|
245
|
-
RuntimeErrorDiagnosticSchema,
|
|
246
|
-
createTrustedRuntimeError,
|
|
247
|
-
resolveTrustedRuntimeErrorMessage,
|
|
248
|
-
ResumeRunRequestSchema,
|
|
249
|
-
RuntimeRunEventSchema,
|
|
250
|
-
RuntimeQueuedReceiptSchema,
|
|
251
|
-
RuntimeDeliveryReceiptSchema,
|
|
252
|
-
RuntimeTransportSchema,
|
|
253
|
-
DeliveryStateSchema,
|
|
254
|
-
SessionStateSchema,
|
|
255
|
-
DeliveryReadinessSchema,
|
|
256
|
-
QueuedReasonSchema,
|
|
257
|
-
OutboxReceiptStatusSchema,
|
|
258
|
-
canonicalizeDeliveryReceipt,
|
|
259
|
-
canonicalizeOutboxReceiptStatus,
|
|
260
|
-
createAckedDeliveryReceipt,
|
|
261
|
-
createQueuedForRouteReceipt,
|
|
262
|
-
createDispatchingDeliveryReceipt,
|
|
263
|
-
createSentDeliveryReceipt,
|
|
264
|
-
canonicalizeAuthoritativeDirectEndpoint,
|
|
265
|
-
isLoopbackDirectEndpointHost,
|
|
266
|
-
OutboundMessageSchema,
|
|
267
|
-
RuntimeEventCursorSchema,
|
|
268
|
-
InboxCursorSchema,
|
|
269
|
-
InboxListRequestSchema,
|
|
270
|
-
AttachedClientViewSchema,
|
|
271
|
-
AttachedClientLeaseGrantSchema,
|
|
272
|
-
AttachedClientAuthSchema,
|
|
273
|
-
PersistedInboxEventSchema,
|
|
274
|
-
PeerViewEventSchema,
|
|
275
|
-
NearbyPeerViewSchema,
|
|
276
|
-
RuntimeAutonomousLoopSafetyPolicySummarySchema,
|
|
277
|
-
RuntimeAutonomousLoopStatusSchema,
|
|
278
|
-
RuntimeAutonomousLoopCommandSchema,
|
|
279
|
-
RuntimeStatusSchema,
|
|
280
|
-
PendingPairRequestViewSchema,
|
|
281
|
-
PendingInviteViewSchema,
|
|
282
|
-
PairRequestDecisionSchema,
|
|
283
|
-
PairRequestResponseSchema,
|
|
284
|
-
CreateInviteRequestSchema,
|
|
285
|
-
CreateInviteResponseSchema,
|
|
286
|
-
InvitePeerRequestSchema,
|
|
287
|
-
InvitePeerResultSchema,
|
|
288
|
-
AcceptInviteResponseSchema,
|
|
289
|
-
AcceptInviteTokenRequestSchema,
|
|
290
|
-
AcceptInviteTokenResponseSchema,
|
|
291
|
-
CancelInviteRequestSchema,
|
|
292
|
-
CancelInviteResponseSchema,
|
|
293
|
-
DirectPairRequestSchema,
|
|
294
|
-
DirectPairRequestJsonSchema,
|
|
295
|
-
DirectPairResponseSchema,
|
|
296
|
-
RevokePeerRequestSchema,
|
|
297
|
-
RevokePeerResponseSchema,
|
|
298
|
-
RepairPeerRequestSchema,
|
|
299
|
-
RepairPeerResponseSchema,
|
|
300
|
-
LocalControlClientKindSchema,
|
|
301
|
-
LocalControlSocketAttachClientRequestSchema,
|
|
302
|
-
LocalControlSocketAttachClientResponseSchema,
|
|
303
|
-
LocalControlSocketDetachClientRequestSchema,
|
|
304
|
-
LocalControlSocketDetachClientResponseSchema,
|
|
305
|
-
LocalControlSocketMethodSchema,
|
|
306
|
-
LocalControlSocketRequestSchema,
|
|
307
|
-
LocalControlSocketSuccessResponseSchema,
|
|
308
|
-
LocalControlSocketErrorResponseSchema,
|
|
309
|
-
LocalControlSocketResponseSchema,
|
|
310
|
-
RuntimeOwnerRecordSchema,
|
|
311
|
-
RuntimeEventKindSchema,
|
|
312
|
-
RuntimeEventSchema,
|
|
313
|
-
RuntimeBootstrapRevisionSchema,
|
|
314
|
-
RuntimeBootstrapControlEndpointSchema,
|
|
315
|
-
NETWORK_RUNTIME_PROTOCOL_VERSION,
|
|
316
|
-
NetworkRuntimeProtocolVersionSchema,
|
|
317
|
-
DeliveryAckSchema,
|
|
318
|
-
TransportInviteTokenSchema,
|
|
319
|
-
JoinRequestSchema,
|
|
320
|
-
JoinRouteBodySchema,
|
|
321
|
-
JoinRouteBodyJsonSchema,
|
|
322
|
-
RuntimeIngressEnvelopeSchema,
|
|
323
|
-
RuntimeNodeAdvertisementSchema,
|
|
324
|
-
RuntimeDiscoveryAdvertisementSchema,
|
|
325
|
-
RuntimeRegisterRequestSchema,
|
|
326
|
-
PairProposalSchema,
|
|
327
|
-
ContinuityStatementSchema,
|
|
328
|
-
SignedContinuityBindSchema,
|
|
329
|
-
MutationOperationSchema,
|
|
330
|
-
MutationEnvelopeSchema,
|
|
331
|
-
NetworkRouteRevokeRequestSchema,
|
|
332
|
-
NetworkRouteRevokeRequestJsonSchema,
|
|
333
|
-
isSupportedNetworkRuntimeProtocolVersion,
|
|
334
|
-
assertSupportedNetworkRuntimeProtocolVersion,
|
|
335
|
-
LegacyPeerRegistryStatusSchema,
|
|
336
|
-
PeerIdentityStateSchema,
|
|
337
|
-
PeerTransportStateSchema,
|
|
338
|
-
PeerMutationKindSchema,
|
|
339
|
-
LegacyPeerRuntimeShapeSchema,
|
|
340
|
-
PeerStateSnapshotSchema,
|
|
341
|
-
derivePeerStateFromLegacyStatus,
|
|
342
|
-
isValidPeerStateCombination,
|
|
343
|
-
isValidPeerIdentityTransition,
|
|
344
|
-
isValidPeerTransportTransition,
|
|
345
|
-
comparePeerMutationPrecedence,
|
|
346
|
-
canRecordPendingPair,
|
|
347
|
-
canCommitVerifiedPair,
|
|
348
|
-
canRefreshEndpoint,
|
|
349
|
-
canHeartbeat,
|
|
350
|
-
canAttemptBestEffortTransport,
|
|
351
|
-
canAttemptDurableDelivery,
|
|
352
|
-
canMutateTrustedState,
|
|
353
|
-
} from "./network-runtime/index.js";
|
|
354
|
-
|
|
355
|
-
export type {
|
|
356
|
-
PairRequestRouteBody,
|
|
357
|
-
PairRelayRouteBody,
|
|
358
|
-
RelayPendingQuery,
|
|
359
|
-
RelayPendingRequest,
|
|
360
|
-
RelayPendingResponse,
|
|
361
|
-
RevocationDecision,
|
|
362
|
-
RevocationOperatorConfirmation,
|
|
363
|
-
NodeId,
|
|
364
|
-
NodeMetadata,
|
|
365
|
-
RuntimeId,
|
|
366
|
-
ClientId,
|
|
367
|
-
PrincipalFingerprint,
|
|
368
|
-
PeerTransportId,
|
|
369
|
-
SigningPublicKey,
|
|
370
|
-
TlsCaFingerprint,
|
|
371
|
-
LoopbackTlsIdentity,
|
|
372
|
-
TransportEndpointAdvertisement,
|
|
373
|
-
InboxAddress,
|
|
374
|
-
ControlEndpointAdvertisement,
|
|
375
|
-
NodeAdvertisement,
|
|
376
|
-
LocalRuntimeSummary,
|
|
377
|
-
RunRequest,
|
|
378
|
-
RunResult,
|
|
379
|
-
RuntimeErrorDiagnostic,
|
|
380
|
-
RuntimeQueuedReceipt,
|
|
381
|
-
RuntimeDeliveryReceipt,
|
|
382
|
-
RuntimeTransport,
|
|
383
|
-
DeliveryState,
|
|
384
|
-
SessionState,
|
|
385
|
-
DeliveryReadiness,
|
|
386
|
-
QueuedReason,
|
|
387
|
-
OutboxReceiptStatus,
|
|
388
|
-
CanonicalDeliveryReceipt,
|
|
389
|
-
OutboundMessage,
|
|
390
|
-
InboxCursor,
|
|
391
|
-
InboxListRequest,
|
|
392
|
-
AttachedClientView,
|
|
393
|
-
AttachedClientLeaseGrant,
|
|
394
|
-
AttachedClientAuth,
|
|
395
|
-
PersistedInboxEvent,
|
|
396
|
-
PeerViewEvent,
|
|
397
|
-
NearbyPeerView,
|
|
398
|
-
RuntimeAutonomousLoopSafetyPolicySummary,
|
|
399
|
-
RuntimeAutonomousLoopStatus,
|
|
400
|
-
RuntimeAutonomousLoopCommand,
|
|
401
|
-
RuntimeStatus,
|
|
402
|
-
PendingPairRequestView,
|
|
403
|
-
PendingInviteView,
|
|
404
|
-
PairRequestDecision,
|
|
405
|
-
PairRequestResponse,
|
|
406
|
-
CreateInviteRequest,
|
|
407
|
-
CreateInviteResponse,
|
|
408
|
-
InvitePeerRequest,
|
|
409
|
-
InvitePeerResult,
|
|
410
|
-
AcceptInviteRequest,
|
|
411
|
-
AcceptInviteResponse,
|
|
412
|
-
AcceptInviteTokenRequest,
|
|
413
|
-
AcceptInviteTokenResponse,
|
|
414
|
-
CancelInviteRequest,
|
|
415
|
-
CancelInviteResponse,
|
|
416
|
-
DirectPairRequest,
|
|
417
|
-
DirectPairResponse,
|
|
418
|
-
RevokePeerRequest,
|
|
419
|
-
RevokePeerResponse,
|
|
420
|
-
RepairPeerRequest,
|
|
421
|
-
RepairPeerResponse,
|
|
422
|
-
LocalControlClientKind,
|
|
423
|
-
LocalControlSocketAttachClientRequest,
|
|
424
|
-
LocalControlSocketAttachClientResponse,
|
|
425
|
-
LocalControlSocketDetachClientRequest,
|
|
426
|
-
LocalControlSocketDetachClientResponse,
|
|
427
|
-
LocalControlSocketMethod,
|
|
428
|
-
LocalControlSocketRequest,
|
|
429
|
-
LocalControlSocketSuccessResponse,
|
|
430
|
-
LocalControlSocketErrorResponse,
|
|
431
|
-
LocalControlSocketResponse,
|
|
432
|
-
RuntimeOwnerRecord,
|
|
433
|
-
RuntimeEventKind,
|
|
434
|
-
RuntimeEvent,
|
|
435
|
-
RuntimeBootstrapRevision,
|
|
436
|
-
RuntimeBootstrapControlEndpoint,
|
|
437
|
-
RuntimeBootstrapTls,
|
|
438
|
-
RuntimeBootstrapIdentity,
|
|
439
|
-
NetworkRuntimeProtocolVersion,
|
|
440
|
-
DeliveryAck,
|
|
441
|
-
TransportInviteToken,
|
|
442
|
-
JoinRequest,
|
|
443
|
-
JoinRouteBody,
|
|
444
|
-
RuntimeIngressEnvelope,
|
|
445
|
-
RuntimeDiscoveryAdvertisement,
|
|
446
|
-
RuntimeNodeAdvertisement,
|
|
447
|
-
RuntimeRegisterRequest,
|
|
448
|
-
PairProposal,
|
|
449
|
-
ContinuityStatement,
|
|
450
|
-
SignedContinuityBind,
|
|
451
|
-
MutationOperation,
|
|
452
|
-
MutationEnvelope,
|
|
453
|
-
NetworkRouteRevokeRequest,
|
|
454
|
-
NodePrincipalBindingRef,
|
|
455
|
-
LegacyPeerRegistryStatus,
|
|
456
|
-
PeerIdentityState,
|
|
457
|
-
PeerTransportState,
|
|
458
|
-
PeerMutationKind,
|
|
459
|
-
LegacyPeerRuntimeShape,
|
|
460
|
-
PeerStateSnapshot,
|
|
461
|
-
DurableDeliveryHandle,
|
|
462
|
-
DurableDeliveryResult,
|
|
463
|
-
DurableSubmitResult,
|
|
464
|
-
} from "./network-runtime/index.js";
|
|
465
|
-
|
|
466
|
-
// Registry
|
|
467
|
-
export { ToolRegistry, validateToolInput } from "./registry/index.js";
|
|
468
|
-
|
|
469
|
-
// Factory function for creating tool registries
|
|
470
|
-
import { ToolRegistry } from "./registry/index.js";
|
|
471
|
-
import { CORE_TOOL_DEFINITIONS } from "./definitions/index.js";
|
|
472
|
-
import type { Logger } from "./types.js";
|
|
473
|
-
|
|
474
|
-
/**
|
|
475
|
-
* Create a tool registry with optional built-in tools
|
|
476
|
-
*
|
|
477
|
-
* Built-in/native tools are always registered and are never filtered by
|
|
478
|
-
* `agentSkills`. Session-level runtimes may still apply allowlists to
|
|
479
|
-
* dynamically discovered tools (e.g. Memoria/MCP tools).
|
|
480
|
-
*/
|
|
481
|
-
export function createToolRegistry(
|
|
482
|
-
options: { includeBuiltins?: boolean; logger?: Logger; agentSkills?: string[] } = {},
|
|
483
|
-
): ToolRegistry {
|
|
484
|
-
const registry = new ToolRegistry({ logger: options.logger });
|
|
485
|
-
if (options.includeBuiltins !== false) {
|
|
486
|
-
for (const tool of CORE_TOOL_DEFINITIONS) {
|
|
487
|
-
registry.register(tool);
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
return registry;
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
// Core tool definitions
|
|
495
|
-
export {
|
|
496
|
-
CORE_TOOL_DEFINITIONS,
|
|
497
|
-
getCoreTools,
|
|
498
|
-
getCoreTool,
|
|
499
|
-
getCoreToolsByCategory,
|
|
500
|
-
getCoreToolsByRiskLevel,
|
|
501
|
-
} from "./definitions/index.js";
|
|
502
|
-
|
|
503
|
-
// Learning tools — 6 explicit meta-tools (learn_tool, learn_skill, create_tool, create_skill, use_skill, search)
|
|
504
|
-
|
|
505
|
-
// ============================================================================
|
|
506
|
-
// Executor Functions & Types
|
|
507
|
-
// ============================================================================
|
|
508
|
-
|
|
509
|
-
// Filesystem executors
|
|
510
|
-
export {
|
|
511
|
-
executeReadFile,
|
|
512
|
-
executeWriteFile,
|
|
513
|
-
executeEditFile,
|
|
514
|
-
executeLs,
|
|
515
|
-
executeGlob,
|
|
516
|
-
executeGrep,
|
|
517
|
-
executeApplyPatch,
|
|
518
|
-
executeFrg,
|
|
519
|
-
recordFrgMutation,
|
|
520
|
-
getPendingFrgMutations,
|
|
521
|
-
getPendingFrgMutationBytes,
|
|
522
|
-
clearPendingFrgMutations,
|
|
523
|
-
flushPendingFrgMutations,
|
|
524
|
-
maybeBuildFrgIndexForRepo,
|
|
525
|
-
ensureFrgRepoStateLoaded,
|
|
526
|
-
reconcileGitDirtyMutations,
|
|
527
|
-
getGitDirtyStatus,
|
|
528
|
-
getFrgFlushStatus,
|
|
529
|
-
getFrgFreshnessSnapshot,
|
|
530
|
-
scheduleBackgroundFrgFlush,
|
|
531
|
-
shouldForceSynchronousFrgFlush,
|
|
532
|
-
DEFAULT_BACKGROUND_FRG_FLUSH_DELAY_MS,
|
|
533
|
-
BACKGROUND_FRG_MAX_FLUSH_DELAY_MS,
|
|
534
|
-
MAX_PENDING_MUTATIONS_BEFORE_SYNC_FLUSH,
|
|
535
|
-
MAX_PENDING_MUTATION_BYTES_BEFORE_SYNC_FLUSH,
|
|
536
|
-
MAX_CACHED_MUTATION_CONTENT_BYTES,
|
|
537
|
-
} from "./executors/index.js";
|
|
538
|
-
|
|
539
|
-
// Filesystem types
|
|
540
|
-
export type {
|
|
541
|
-
ReadFileInput,
|
|
542
|
-
WriteFileInput,
|
|
543
|
-
EditFileInput,
|
|
544
|
-
LsInput,
|
|
545
|
-
LsEntry,
|
|
546
|
-
GlobInput,
|
|
547
|
-
GrepInput,
|
|
548
|
-
GrepMatch,
|
|
549
|
-
ApplyPatchInput,
|
|
550
|
-
FrgInput,
|
|
551
|
-
FrgMutationOperation,
|
|
552
|
-
FrgMutationRecord,
|
|
553
|
-
FrgGitDirtyStatus,
|
|
554
|
-
FrgFlushStatus,
|
|
555
|
-
FrgFreshnessSnapshot,
|
|
556
|
-
} from "./executors/index.js";
|
|
557
|
-
|
|
558
|
-
// Shell executors
|
|
559
|
-
export {
|
|
560
|
-
executeBash,
|
|
561
|
-
executeExec,
|
|
562
|
-
executeSpawn,
|
|
563
|
-
executeKill,
|
|
564
|
-
executeListProcesses,
|
|
565
|
-
executeWaitProcess,
|
|
566
|
-
executeWriteStdin,
|
|
567
|
-
sanitizeGitEnv,
|
|
568
|
-
sanitizeEnv,
|
|
569
|
-
} from "./executors/index.js";
|
|
570
|
-
export { classifyCommand, SHELL_BLOCKED_PATTERNS } from "./executors/index.js";
|
|
571
|
-
|
|
572
|
-
// Shell types
|
|
573
|
-
export type {
|
|
574
|
-
BashInput,
|
|
575
|
-
BashOutput,
|
|
576
|
-
ExecInput,
|
|
577
|
-
ExecOutput,
|
|
578
|
-
SpawnInput,
|
|
579
|
-
SpawnOutput,
|
|
580
|
-
KillInput,
|
|
581
|
-
KillOutput,
|
|
582
|
-
ListProcessesInput,
|
|
583
|
-
ListProcessesOutput,
|
|
584
|
-
WaitProcessInput,
|
|
585
|
-
WaitProcessOutput,
|
|
586
|
-
WriteStdinInput,
|
|
587
|
-
WriteStdinOutput,
|
|
588
|
-
} from "./executors/index.js";
|
|
589
|
-
|
|
590
|
-
// Memory executors
|
|
591
|
-
export {
|
|
592
|
-
executeRemember,
|
|
593
|
-
executeRecall,
|
|
594
|
-
executeForget,
|
|
595
|
-
executeDiscover,
|
|
596
|
-
executeReflect,
|
|
597
|
-
getConversationContext,
|
|
598
|
-
getSessionTranscript,
|
|
599
|
-
getSelfContext,
|
|
600
|
-
} from "./executors/index.js";
|
|
601
|
-
|
|
602
|
-
// Memory types
|
|
603
|
-
export type {
|
|
604
|
-
RememberInput,
|
|
605
|
-
RememberOutput,
|
|
606
|
-
RecallInput,
|
|
607
|
-
RecallOutput,
|
|
608
|
-
ForgetInput,
|
|
609
|
-
ForgetOutput,
|
|
610
|
-
DiscoverInput,
|
|
611
|
-
DiscoverOutput,
|
|
612
|
-
ReflectInput,
|
|
613
|
-
ReflectOutput,
|
|
614
|
-
RecallToolContext,
|
|
615
|
-
} from "./executors/index.js";
|
|
616
|
-
|
|
617
|
-
// Web executors
|
|
618
|
-
export { executeWebSearch, executeWebFetch, executeBrowse } from "./executors/index.js";
|
|
619
|
-
|
|
620
|
-
// Web types
|
|
621
|
-
export type {
|
|
622
|
-
WebSearchInput,
|
|
623
|
-
WebSearchOutput,
|
|
624
|
-
WebFetchInput,
|
|
625
|
-
WebFetchOutput,
|
|
626
|
-
BrowseInput,
|
|
627
|
-
BrowseOutput,
|
|
628
|
-
} from "./executors/index.js";
|
|
629
|
-
|
|
630
|
-
// Arion executors
|
|
631
|
-
export {
|
|
632
|
-
executeHatchArion,
|
|
633
|
-
executeRestArion,
|
|
634
|
-
executeWakeArion,
|
|
635
|
-
executeRetireArion,
|
|
636
|
-
} from "./executors/index.js";
|
|
637
|
-
|
|
638
|
-
// Arion types
|
|
639
|
-
export type {
|
|
640
|
-
HatchArionInput,
|
|
641
|
-
HatchArionOutput,
|
|
642
|
-
RestArionInput,
|
|
643
|
-
WakeArionInput,
|
|
644
|
-
RetireArionInput,
|
|
645
|
-
} from "./executors/index.js";
|
|
646
|
-
|
|
647
|
-
// PTY executors
|
|
648
|
-
export {
|
|
649
|
-
PTYSession,
|
|
650
|
-
PTYTimeoutError,
|
|
651
|
-
PTYError,
|
|
652
|
-
createPTYSession,
|
|
653
|
-
runInPTY,
|
|
654
|
-
PTYSessionStore,
|
|
655
|
-
} from "./executors/index.js";
|
|
656
|
-
|
|
657
|
-
// PTY types
|
|
658
|
-
export type { PTYOptions, PTYResult } from "./executors/index.js";
|
|
659
|
-
|
|
660
|
-
// Meta executors
|
|
661
|
-
export {
|
|
662
|
-
executeAskUser,
|
|
663
|
-
executeQuestUpdate,
|
|
664
|
-
executeQuestList,
|
|
665
|
-
resetAskUserCounter,
|
|
666
|
-
} from "./executors/index.js";
|
|
667
|
-
|
|
668
|
-
// Meta types
|
|
669
|
-
export type {
|
|
670
|
-
AskUserInput,
|
|
671
|
-
QuestUpdateInput,
|
|
672
|
-
QuestUpdateOutput,
|
|
673
|
-
QuestListInput,
|
|
674
|
-
QuestListOutput,
|
|
675
|
-
} from "./executors/index.js";
|
|
676
|
-
|
|
677
|
-
// Learning/meta capability executors
|
|
678
|
-
export {
|
|
679
|
-
executeSearchKnowledge,
|
|
680
|
-
executeLearnTool,
|
|
681
|
-
executeLearnSkill,
|
|
682
|
-
executeLearnLegacy,
|
|
683
|
-
executeCreateTool,
|
|
684
|
-
executeCreateSkill,
|
|
685
|
-
executeUseSkill,
|
|
686
|
-
// Search source helpers (used by runner wrapper)
|
|
687
|
-
searchMemoria,
|
|
688
|
-
searchLocalSkills,
|
|
689
|
-
searchSkillRegistries,
|
|
690
|
-
searchWeb,
|
|
691
|
-
getOSContext,
|
|
692
|
-
settleWithDeadline,
|
|
693
|
-
fetchJson,
|
|
694
|
-
} from "./executors/index.js";
|
|
695
|
-
|
|
696
|
-
// Learning/meta capability types
|
|
697
|
-
export type {
|
|
698
|
-
SearchKnowledgeInput,
|
|
699
|
-
LearnToolInput,
|
|
700
|
-
LearnSkillInput,
|
|
701
|
-
LearnLegacyInput,
|
|
702
|
-
CreateToolInput,
|
|
703
|
-
CreateSkillInput,
|
|
704
|
-
UseSkillInput,
|
|
705
|
-
} from "./executors/index.js";
|
|
706
|
-
|
|
707
|
-
// Session History executors
|
|
708
|
-
export { executeSessionHistory } from "./executors/index.js";
|
|
709
|
-
|
|
710
|
-
// Session History types
|
|
711
|
-
export type {
|
|
712
|
-
SessionHistoryInput,
|
|
713
|
-
SessionHistoryAction,
|
|
714
|
-
SessionListOutput,
|
|
715
|
-
SessionGetOutput,
|
|
716
|
-
SessionCurrentOutput,
|
|
717
|
-
SessionStatsOutput,
|
|
718
|
-
} from "./executors/index.js";
|
|
719
|
-
|
|
720
|
-
// Unified search types + utilities (shared with runner wrapper)
|
|
721
|
-
export type {
|
|
722
|
-
SearchResult as ToolSearchResult,
|
|
723
|
-
OSContext,
|
|
724
|
-
SearchInput,
|
|
725
|
-
} from "./executors/index.js";
|
|
726
|
-
export { SOURCE_PRIORITY, dedupSearchResults } from "./executors/index.js";
|
|
727
|
-
|
|
728
|
-
// ============================================================================
|
|
729
|
-
// Tool Policy
|
|
730
|
-
// ============================================================================
|
|
731
|
-
|
|
732
|
-
export type { ToolPolicy } from "./policy.js";
|
|
733
|
-
export { TOOL_GROUPS, expandGroups, isToolAllowed, mergePolicies } from "./policy.js";
|
|
734
|
-
|
|
735
|
-
// Shell Safety
|
|
736
|
-
export type { ShellRisk } from "./executors/shell-safety.js";
|
|
737
|
-
|
|
738
|
-
// ============================================================================
|
|
739
|
-
// Search Providers
|
|
740
|
-
// ============================================================================
|
|
741
|
-
|
|
742
|
-
export {
|
|
743
|
-
SearchProviderRouter,
|
|
744
|
-
TavilySearchProvider,
|
|
745
|
-
BraveSearchProvider,
|
|
746
|
-
ExaSearchProvider,
|
|
747
|
-
JinaSearchProvider,
|
|
748
|
-
DuckDuckGoSearchProvider,
|
|
749
|
-
FirecrawlSearchProvider,
|
|
750
|
-
} from "./providers/index.js";
|
|
751
|
-
|
|
752
|
-
export type { SearchProvider, SearchOptions, SearchResult } from "./providers/index.js";
|
|
753
|
-
|
|
754
|
-
// ============================================================================
|
|
755
|
-
// MCP (Model Context Protocol)
|
|
756
|
-
// ============================================================================
|
|
757
|
-
|
|
758
|
-
// Process registry
|
|
759
|
-
export { SpawnedProcessRegistry } from "./executors/index.js";
|
|
760
|
-
export type {
|
|
761
|
-
TrackedProcessMetadata,
|
|
762
|
-
ProcessExitMetadata,
|
|
763
|
-
ProcessInfoSnapshot,
|
|
764
|
-
ProcessWaitResult,
|
|
765
|
-
} from "./executors/index.js";
|
|
766
|
-
|
|
767
|
-
// Tool factory
|
|
768
|
-
export { tool } from "./tool-factory.js";
|
|
769
|
-
export type { ToolFactoryOptions } from "./tool-factory.js";
|
|
770
|
-
|
|
771
|
-
export { MCPClient, MCPServerConnection, JSONRPCClient } from "./mcp/index.js";
|
|
772
|
-
|
|
773
|
-
export type {
|
|
774
|
-
MCPServerConfig,
|
|
775
|
-
MCPCapabilities,
|
|
776
|
-
MCPTool,
|
|
777
|
-
MCPToolCallParams,
|
|
778
|
-
MCPToolCallResult,
|
|
779
|
-
MCPContent,
|
|
780
|
-
MCPResource,
|
|
781
|
-
MCPResourceContent,
|
|
782
|
-
MCPResourceReadResult,
|
|
783
|
-
MCPPrompt,
|
|
784
|
-
MCPPromptMessage,
|
|
785
|
-
MCPPromptGetResult,
|
|
786
|
-
MCPLogMessage,
|
|
787
|
-
MCPProgress,
|
|
788
|
-
} from "./mcp/index.js";
|