yepanywhere 0.1.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/bundled/@yep-anywhere/shared/dist/app-types.d.ts +229 -0
- package/bundled/@yep-anywhere/shared/dist/app-types.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/app-types.js +46 -0
- package/bundled/@yep-anywhere/shared/dist/app-types.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/DocumentContentSchema.d.ts +16 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/DocumentContentSchema.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/DocumentContentSchema.js +17 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/DocumentContentSchema.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ImageContentSchema.d.ts +15 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ImageContentSchema.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ImageContentSchema.js +10 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ImageContentSchema.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/TextContentSchema.d.ts +6 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/TextContentSchema.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/TextContentSchema.js +6 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/TextContentSchema.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ThinkingContentSchema.d.ts +7 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ThinkingContentSchema.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ThinkingContentSchema.js +7 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ThinkingContentSchema.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ToolResultContentSchema.d.ts +24 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ToolResultContentSchema.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ToolResultContentSchema.js +13 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ToolResultContentSchema.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ToolUseContentSchema.d.ts +8 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ToolUseContentSchema.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ToolUseContentSchema.js +8 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/content/ToolUseContentSchema.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/AssistantEntrySchema.d.ts +78 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/AssistantEntrySchema.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/AssistantEntrySchema.js +13 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/AssistantEntrySchema.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/BaseEntrySchema.d.ts +18 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/BaseEntrySchema.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/BaseEntrySchema.js +19 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/BaseEntrySchema.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/FileHistorySnapshotEntrySchema.d.ts +13 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/FileHistorySnapshotEntrySchema.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/FileHistorySnapshotEntrySchema.js +14 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/FileHistorySnapshotEntrySchema.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/QueueOperationEntrySchema.d.ts +68 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/QueueOperationEntrySchema.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/QueueOperationEntrySchema.js +37 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/QueueOperationEntrySchema.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/SummaryEntrySchema.d.ts +8 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/SummaryEntrySchema.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/SummaryEntrySchema.js +7 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/SummaryEntrySchema.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/SystemEntrySchema.d.ts +52 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/SystemEntrySchema.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/SystemEntrySchema.js +29 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/SystemEntrySchema.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/UserEntrySchema.d.ts +72 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/UserEntrySchema.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/UserEntrySchema.js +10 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/UserEntrySchema.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/normalizeQueueOperationContent.d.ts +14 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/normalizeQueueOperationContent.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/normalizeQueueOperationContent.js +39 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/entry/normalizeQueueOperationContent.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/guards.d.ts +15 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/guards.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/guards.js +26 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/guards.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/index.d.ts +566 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/index.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/index.js +39 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/index.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/message/AssistantMessageSchema.d.ts +93 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/message/AssistantMessageSchema.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/message/AssistantMessageSchema.js +40 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/message/AssistantMessageSchema.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/message/UserMessageSchema.d.ts +105 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/message/UserMessageSchema.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/message/UserMessageSchema.js +20 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/message/UserMessageSchema.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/CommonToolSchema.d.ts +53 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/CommonToolSchema.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/CommonToolSchema.js +54 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/CommonToolSchema.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/StructuredPatchSchema.d.ts +9 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/StructuredPatchSchema.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/StructuredPatchSchema.js +9 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/StructuredPatchSchema.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/TodoSchema.d.ts +32 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/TodoSchema.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/TodoSchema.js +12 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/TodoSchema.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/ToolResultSchemas.d.ts +288 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/ToolResultSchemas.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/ToolResultSchemas.js +293 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/ToolResultSchemas.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/index.d.ts +83 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/index.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/index.js +10 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/tool/index.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/types.d.ts +42 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/types.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/types.js +11 -0
- package/bundled/@yep-anywhere/shared/dist/claude-sdk-schema/types.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/codex-schema/content.d.ts +99 -0
- package/bundled/@yep-anywhere/shared/dist/codex-schema/content.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/codex-schema/content.js +64 -0
- package/bundled/@yep-anywhere/shared/dist/codex-schema/content.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/codex-schema/index.d.ts +17 -0
- package/bundled/@yep-anywhere/shared/dist/codex-schema/index.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/codex-schema/index.js +17 -0
- package/bundled/@yep-anywhere/shared/dist/codex-schema/index.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/codex-schema/session.d.ts +600 -0
- package/bundled/@yep-anywhere/shared/dist/codex-schema/session.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/codex-schema/session.js +282 -0
- package/bundled/@yep-anywhere/shared/dist/codex-schema/session.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/codex-schema/types.d.ts +7 -0
- package/bundled/@yep-anywhere/shared/dist/codex-schema/types.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/codex-schema/types.js +6 -0
- package/bundled/@yep-anywhere/shared/dist/codex-schema/types.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/dag.d.ts +35 -0
- package/bundled/@yep-anywhere/shared/dist/dag.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/dag.js +75 -0
- package/bundled/@yep-anywhere/shared/dist/dag.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/filePathDetection.d.ts +72 -0
- package/bundled/@yep-anywhere/shared/dist/filePathDetection.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/filePathDetection.js +376 -0
- package/bundled/@yep-anywhere/shared/dist/filePathDetection.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/content.d.ts +95 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/content.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/content.js +57 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/content.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/events.d.ts +174 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/events.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/events.js +117 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/events.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/index.d.ts +18 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/index.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/index.js +18 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/index.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/session.d.ts +267 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/session.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/session.js +147 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/session.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/types.d.ts +7 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/types.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/types.js +6 -0
- package/bundled/@yep-anywhere/shared/dist/gemini-schema/types.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/ideMetadata.d.ts +30 -0
- package/bundled/@yep-anywhere/shared/dist/ideMetadata.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/ideMetadata.js +58 -0
- package/bundled/@yep-anywhere/shared/dist/ideMetadata.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/index.d.ts +24 -0
- package/bundled/@yep-anywhere/shared/dist/index.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/index.js +17 -0
- package/bundled/@yep-anywhere/shared/dist/index.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/opencode-schema/events.d.ts +457 -0
- package/bundled/@yep-anywhere/shared/dist/opencode-schema/events.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/opencode-schema/events.js +217 -0
- package/bundled/@yep-anywhere/shared/dist/opencode-schema/events.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/opencode-schema/index.d.ts +23 -0
- package/bundled/@yep-anywhere/shared/dist/opencode-schema/index.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/opencode-schema/index.js +23 -0
- package/bundled/@yep-anywhere/shared/dist/opencode-schema/index.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/opencode-schema/session.d.ts +149 -0
- package/bundled/@yep-anywhere/shared/dist/opencode-schema/session.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/opencode-schema/session.js +158 -0
- package/bundled/@yep-anywhere/shared/dist/opencode-schema/session.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/opencode-schema/types.d.ts +7 -0
- package/bundled/@yep-anywhere/shared/dist/opencode-schema/types.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/opencode-schema/types.js +6 -0
- package/bundled/@yep-anywhere/shared/dist/opencode-schema/types.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/projectId.d.ts +48 -0
- package/bundled/@yep-anywhere/shared/dist/projectId.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/projectId.js +74 -0
- package/bundled/@yep-anywhere/shared/dist/projectId.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/session/SessionView.d.ts +171 -0
- package/bundled/@yep-anywhere/shared/dist/session/SessionView.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/session/SessionView.js +189 -0
- package/bundled/@yep-anywhere/shared/dist/session/SessionView.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/session/UnifiedSession.d.ts +31 -0
- package/bundled/@yep-anywhere/shared/dist/session/UnifiedSession.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/session/UnifiedSession.js +2 -0
- package/bundled/@yep-anywhere/shared/dist/session/UnifiedSession.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/session/index.d.ts +3 -0
- package/bundled/@yep-anywhere/shared/dist/session/index.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/session/index.js +2 -0
- package/bundled/@yep-anywhere/shared/dist/session/index.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/types.d.ts +172 -0
- package/bundled/@yep-anywhere/shared/dist/types.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/types.js +33 -0
- package/bundled/@yep-anywhere/shared/dist/types.js.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/upload.d.ts +58 -0
- package/bundled/@yep-anywhere/shared/dist/upload.d.ts.map +1 -0
- package/bundled/@yep-anywhere/shared/dist/upload.js +6 -0
- package/bundled/@yep-anywhere/shared/dist/upload.js.map +1 -0
- package/bundled/@yep-anywhere/shared/package.json +7 -0
- package/client-dist/assets/index-C7DeAWG4.css +1 -0
- package/client-dist/assets/index-yX0HPwrz.js +147 -0
- package/client-dist/badge-96.png +0 -0
- package/client-dist/badge.svg +20 -0
- package/client-dist/debug-streaming.html +746 -0
- package/client-dist/favicon.ico +0 -0
- package/client-dist/icon-192.png +0 -0
- package/client-dist/icon-512.png +0 -0
- package/client-dist/icon.svg +27 -0
- package/client-dist/index.html +35 -0
- package/client-dist/manifest.json +23 -0
- package/client-dist/sw.js +482 -0
- package/dist/app.d.ts +67 -0
- package/dist/app.d.ts.map +1 -0
- package/dist/app.js +236 -0
- package/dist/app.js.map +1 -0
- package/dist/augments/augment-generator.d.ts +30 -0
- package/dist/augments/augment-generator.d.ts.map +1 -0
- package/dist/augments/augment-generator.js +171 -0
- package/dist/augments/augment-generator.js.map +1 -0
- package/dist/augments/block-detector.d.ts +81 -0
- package/dist/augments/block-detector.d.ts.map +1 -0
- package/dist/augments/block-detector.js +615 -0
- package/dist/augments/block-detector.js.map +1 -0
- package/dist/augments/edit-augments.d.ts +138 -0
- package/dist/augments/edit-augments.d.ts.map +1 -0
- package/dist/augments/edit-augments.js +665 -0
- package/dist/augments/edit-augments.js.map +1 -0
- package/dist/augments/index.d.ts +14 -0
- package/dist/augments/index.d.ts.map +1 -0
- package/dist/augments/index.js +20 -0
- package/dist/augments/index.js.map +1 -0
- package/dist/augments/markdown-augments.d.ts +33 -0
- package/dist/augments/markdown-augments.d.ts.map +1 -0
- package/dist/augments/markdown-augments.js +128 -0
- package/dist/augments/markdown-augments.js.map +1 -0
- package/dist/augments/read-augments.d.ts +40 -0
- package/dist/augments/read-augments.d.ts.map +1 -0
- package/dist/augments/read-augments.js +64 -0
- package/dist/augments/read-augments.js.map +1 -0
- package/dist/augments/stream-coordinator.d.ts +32 -0
- package/dist/augments/stream-coordinator.d.ts.map +1 -0
- package/dist/augments/stream-coordinator.js +115 -0
- package/dist/augments/stream-coordinator.js.map +1 -0
- package/dist/augments/write-augments.d.ts +32 -0
- package/dist/augments/write-augments.d.ts.map +1 -0
- package/dist/augments/write-augments.js +27 -0
- package/dist/augments/write-augments.js.map +1 -0
- package/dist/auth/AuthService.d.ts +98 -0
- package/dist/auth/AuthService.d.ts.map +1 -0
- package/dist/auth/AuthService.js +217 -0
- package/dist/auth/AuthService.js.map +1 -0
- package/dist/auth/index.d.ts +3 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +3 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/routes.d.ts +13 -0
- package/dist/auth/routes.d.ts.map +1 -0
- package/dist/auth/routes.js +149 -0
- package/dist/auth/routes.js.map +1 -0
- package/dist/cli.d.ts +19 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +152 -0
- package/dist/cli.js.map +1 -0
- package/dist/config.d.ts +76 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +124 -0
- package/dist/config.js.map +1 -0
- package/dist/dev-mock.d.ts +18 -0
- package/dist/dev-mock.d.ts.map +1 -0
- package/dist/dev-mock.js +260 -0
- package/dist/dev-mock.js.map +1 -0
- package/dist/frontend/index.d.ts +10 -0
- package/dist/frontend/index.d.ts.map +1 -0
- package/dist/frontend/index.js +10 -0
- package/dist/frontend/index.js.map +1 -0
- package/dist/frontend/proxy.d.ts +70 -0
- package/dist/frontend/proxy.d.ts.map +1 -0
- package/dist/frontend/proxy.js +329 -0
- package/dist/frontend/proxy.js.map +1 -0
- package/dist/frontend/static.d.ts +16 -0
- package/dist/frontend/static.d.ts.map +1 -0
- package/dist/frontend/static.js +106 -0
- package/dist/frontend/static.js.map +1 -0
- package/dist/highlighting/index.d.ts +43 -0
- package/dist/highlighting/index.d.ts.map +1 -0
- package/dist/highlighting/index.js +224 -0
- package/dist/highlighting/index.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +259 -0
- package/dist/index.js.map +1 -0
- package/dist/indexes/SessionIndexService.d.ts +106 -0
- package/dist/indexes/SessionIndexService.d.ts.map +1 -0
- package/dist/indexes/SessionIndexService.js +356 -0
- package/dist/indexes/SessionIndexService.js.map +1 -0
- package/dist/indexes/index.d.ts +3 -0
- package/dist/indexes/index.d.ts.map +1 -0
- package/dist/indexes/index.js +2 -0
- package/dist/indexes/index.js.map +1 -0
- package/dist/indexes/types.d.ts +55 -0
- package/dist/indexes/types.d.ts.map +1 -0
- package/dist/indexes/types.js +8 -0
- package/dist/indexes/types.js.map +1 -0
- package/dist/logging/index.d.ts +2 -0
- package/dist/logging/index.d.ts.map +1 -0
- package/dist/logging/index.js +2 -0
- package/dist/logging/index.js.map +1 -0
- package/dist/logging/logger.d.ts +81 -0
- package/dist/logging/logger.d.ts.map +1 -0
- package/dist/logging/logger.js +257 -0
- package/dist/logging/logger.js.map +1 -0
- package/dist/maintenance/debug-routes.d.ts +39 -0
- package/dist/maintenance/debug-routes.d.ts.map +1 -0
- package/dist/maintenance/debug-routes.js +561 -0
- package/dist/maintenance/debug-routes.js.map +1 -0
- package/dist/maintenance/index.d.ts +3 -0
- package/dist/maintenance/index.d.ts.map +1 -0
- package/dist/maintenance/index.js +3 -0
- package/dist/maintenance/index.js.map +1 -0
- package/dist/maintenance/server.d.ts +53 -0
- package/dist/maintenance/server.d.ts.map +1 -0
- package/dist/maintenance/server.js +419 -0
- package/dist/maintenance/server.js.map +1 -0
- package/dist/metadata/SessionMetadataService.d.ts +96 -0
- package/dist/metadata/SessionMetadataService.d.ts.map +1 -0
- package/dist/metadata/SessionMetadataService.js +209 -0
- package/dist/metadata/SessionMetadataService.js.map +1 -0
- package/dist/metadata/index.d.ts +2 -0
- package/dist/metadata/index.d.ts.map +1 -0
- package/dist/metadata/index.js +2 -0
- package/dist/metadata/index.js.map +1 -0
- package/dist/middleware/auth.d.ts +18 -0
- package/dist/middleware/auth.d.ts.map +1 -0
- package/dist/middleware/auth.js +53 -0
- package/dist/middleware/auth.js.map +1 -0
- package/dist/middleware/security.d.ts +4 -0
- package/dist/middleware/security.d.ts.map +1 -0
- package/dist/middleware/security.js +28 -0
- package/dist/middleware/security.js.map +1 -0
- package/dist/notifications/NotificationService.d.ts +76 -0
- package/dist/notifications/NotificationService.d.ts.map +1 -0
- package/dist/notifications/NotificationService.js +155 -0
- package/dist/notifications/NotificationService.js.map +1 -0
- package/dist/notifications/index.d.ts +2 -0
- package/dist/notifications/index.d.ts.map +1 -0
- package/dist/notifications/index.js +2 -0
- package/dist/notifications/index.js.map +1 -0
- package/dist/projects/codex-scanner.d.ts +52 -0
- package/dist/projects/codex-scanner.d.ts.map +1 -0
- package/dist/projects/codex-scanner.js +167 -0
- package/dist/projects/codex-scanner.js.map +1 -0
- package/dist/projects/gemini-project-map.d.ts +54 -0
- package/dist/projects/gemini-project-map.d.ts.map +1 -0
- package/dist/projects/gemini-project-map.js +116 -0
- package/dist/projects/gemini-project-map.js.map +1 -0
- package/dist/projects/gemini-scanner.d.ts +58 -0
- package/dist/projects/gemini-scanner.d.ts.map +1 -0
- package/dist/projects/gemini-scanner.js +210 -0
- package/dist/projects/gemini-scanner.js.map +1 -0
- package/dist/projects/index.d.ts +16 -0
- package/dist/projects/index.d.ts.map +1 -0
- package/dist/projects/index.js +17 -0
- package/dist/projects/index.js.map +1 -0
- package/dist/projects/paths.d.ts +127 -0
- package/dist/projects/paths.d.ts.map +1 -0
- package/dist/projects/paths.js +185 -0
- package/dist/projects/paths.js.map +1 -0
- package/dist/projects/scanner.d.ts +45 -0
- package/dist/projects/scanner.d.ts.map +1 -0
- package/dist/projects/scanner.js +287 -0
- package/dist/projects/scanner.js.map +1 -0
- package/dist/push/PushNotifier.d.ts +48 -0
- package/dist/push/PushNotifier.d.ts.map +1 -0
- package/dist/push/PushNotifier.js +145 -0
- package/dist/push/PushNotifier.js.map +1 -0
- package/dist/push/PushService.d.ts +95 -0
- package/dist/push/PushService.d.ts.map +1 -0
- package/dist/push/PushService.js +245 -0
- package/dist/push/PushService.js.map +1 -0
- package/dist/push/index.d.ts +9 -0
- package/dist/push/index.d.ts.map +1 -0
- package/dist/push/index.js +8 -0
- package/dist/push/index.js.map +1 -0
- package/dist/push/routes.d.ts +10 -0
- package/dist/push/routes.d.ts.map +1 -0
- package/dist/push/routes.js +111 -0
- package/dist/push/routes.js.map +1 -0
- package/dist/push/types.d.ts +80 -0
- package/dist/push/types.d.ts.map +1 -0
- package/dist/push/types.js +5 -0
- package/dist/push/types.js.map +1 -0
- package/dist/push/vapid.d.ts +42 -0
- package/dist/push/vapid.d.ts.map +1 -0
- package/dist/push/vapid.js +132 -0
- package/dist/push/vapid.js.map +1 -0
- package/dist/recents/RecentsService.d.ts +77 -0
- package/dist/recents/RecentsService.d.ts.map +1 -0
- package/dist/recents/RecentsService.js +155 -0
- package/dist/recents/RecentsService.js.map +1 -0
- package/dist/recents/index.d.ts +2 -0
- package/dist/recents/index.d.ts.map +1 -0
- package/dist/recents/index.js +2 -0
- package/dist/recents/index.js.map +1 -0
- package/dist/routes/activity.d.ts +7 -0
- package/dist/routes/activity.d.ts.map +1 -0
- package/dist/routes/activity.js +80 -0
- package/dist/routes/activity.js.map +1 -0
- package/dist/routes/beads.d.ts +42 -0
- package/dist/routes/beads.d.ts.map +1 -0
- package/dist/routes/beads.js +101 -0
- package/dist/routes/beads.js.map +1 -0
- package/dist/routes/debug-streaming.d.ts +7 -0
- package/dist/routes/debug-streaming.d.ts.map +1 -0
- package/dist/routes/debug-streaming.js +88 -0
- package/dist/routes/debug-streaming.js.map +1 -0
- package/dist/routes/dev.d.ts +11 -0
- package/dist/routes/dev.d.ts.map +1 -0
- package/dist/routes/dev.js +55 -0
- package/dist/routes/dev.js.map +1 -0
- package/dist/routes/files.d.ts +7 -0
- package/dist/routes/files.d.ts.map +1 -0
- package/dist/routes/files.js +429 -0
- package/dist/routes/files.js.map +1 -0
- package/dist/routes/global-sessions.d.ts +76 -0
- package/dist/routes/global-sessions.d.ts.map +1 -0
- package/dist/routes/global-sessions.js +207 -0
- package/dist/routes/global-sessions.js.map +1 -0
- package/dist/routes/health.d.ts +3 -0
- package/dist/routes/health.d.ts.map +1 -0
- package/dist/routes/health.js +6 -0
- package/dist/routes/health.js.map +1 -0
- package/dist/routes/inbox.d.ts +45 -0
- package/dist/routes/inbox.d.ts.map +1 -0
- package/dist/routes/inbox.js +174 -0
- package/dist/routes/inbox.js.map +1 -0
- package/dist/routes/processes.d.ts +16 -0
- package/dist/routes/processes.d.ts.map +1 -0
- package/dist/routes/processes.js +82 -0
- package/dist/routes/processes.js.map +1 -0
- package/dist/routes/projects.d.ts +30 -0
- package/dist/routes/projects.d.ts.map +1 -0
- package/dist/routes/projects.js +316 -0
- package/dist/routes/projects.js.map +1 -0
- package/dist/routes/providers.d.ts +9 -0
- package/dist/routes/providers.d.ts.map +1 -0
- package/dist/routes/providers.js +63 -0
- package/dist/routes/providers.js.map +1 -0
- package/dist/routes/recents.d.ts +14 -0
- package/dist/routes/recents.d.ts.map +1 -0
- package/dist/routes/recents.js +82 -0
- package/dist/routes/recents.js.map +1 -0
- package/dist/routes/sessions.d.ts +26 -0
- package/dist/routes/sessions.d.ts.map +1 -0
- package/dist/routes/sessions.js +962 -0
- package/dist/routes/sessions.js.map +1 -0
- package/dist/routes/stream.d.ts +7 -0
- package/dist/routes/stream.d.ts.map +1 -0
- package/dist/routes/stream.js +561 -0
- package/dist/routes/stream.js.map +1 -0
- package/dist/routes/upload.d.ts +14 -0
- package/dist/routes/upload.d.ts.map +1 -0
- package/dist/routes/upload.js +278 -0
- package/dist/routes/upload.js.map +1 -0
- package/dist/sdk/cli-detection.d.ts +47 -0
- package/dist/sdk/cli-detection.d.ts.map +1 -0
- package/dist/sdk/cli-detection.js +122 -0
- package/dist/sdk/cli-detection.js.map +1 -0
- package/dist/sdk/messageLogger.d.ts +15 -0
- package/dist/sdk/messageLogger.d.ts.map +1 -0
- package/dist/sdk/messageLogger.js +68 -0
- package/dist/sdk/messageLogger.js.map +1 -0
- package/dist/sdk/messageQueue.d.ts +49 -0
- package/dist/sdk/messageQueue.d.ts.map +1 -0
- package/dist/sdk/messageQueue.js +186 -0
- package/dist/sdk/messageQueue.js.map +1 -0
- package/dist/sdk/mock.d.ts +16 -0
- package/dist/sdk/mock.d.ts.map +1 -0
- package/dist/sdk/mock.js +81 -0
- package/dist/sdk/mock.js.map +1 -0
- package/dist/sdk/providers/__mocks__/base.d.ts +78 -0
- package/dist/sdk/providers/__mocks__/base.d.ts.map +1 -0
- package/dist/sdk/providers/__mocks__/base.js +185 -0
- package/dist/sdk/providers/__mocks__/base.js.map +1 -0
- package/dist/sdk/providers/__mocks__/claude.d.ts +33 -0
- package/dist/sdk/providers/__mocks__/claude.d.ts.map +1 -0
- package/dist/sdk/providers/__mocks__/claude.js +146 -0
- package/dist/sdk/providers/__mocks__/claude.js.map +1 -0
- package/dist/sdk/providers/__mocks__/codex.d.ts +45 -0
- package/dist/sdk/providers/__mocks__/codex.d.ts.map +1 -0
- package/dist/sdk/providers/__mocks__/codex.js +160 -0
- package/dist/sdk/providers/__mocks__/codex.js.map +1 -0
- package/dist/sdk/providers/__mocks__/factory.d.ts +40 -0
- package/dist/sdk/providers/__mocks__/factory.d.ts.map +1 -0
- package/dist/sdk/providers/__mocks__/factory.js +183 -0
- package/dist/sdk/providers/__mocks__/factory.js.map +1 -0
- package/dist/sdk/providers/__mocks__/gemini.d.ts +43 -0
- package/dist/sdk/providers/__mocks__/gemini.d.ts.map +1 -0
- package/dist/sdk/providers/__mocks__/gemini.js +198 -0
- package/dist/sdk/providers/__mocks__/gemini.js.map +1 -0
- package/dist/sdk/providers/__mocks__/index.d.ts +23 -0
- package/dist/sdk/providers/__mocks__/index.d.ts.map +1 -0
- package/dist/sdk/providers/__mocks__/index.js +25 -0
- package/dist/sdk/providers/__mocks__/index.js.map +1 -0
- package/dist/sdk/providers/__mocks__/opencode.d.ts +33 -0
- package/dist/sdk/providers/__mocks__/opencode.d.ts.map +1 -0
- package/dist/sdk/providers/__mocks__/opencode.js +136 -0
- package/dist/sdk/providers/__mocks__/opencode.js.map +1 -0
- package/dist/sdk/providers/__mocks__/types.d.ts +50 -0
- package/dist/sdk/providers/__mocks__/types.d.ts.map +1 -0
- package/dist/sdk/providers/__mocks__/types.js +8 -0
- package/dist/sdk/providers/__mocks__/types.js.map +1 -0
- package/dist/sdk/providers/claude.d.ts +63 -0
- package/dist/sdk/providers/claude.d.ts.map +1 -0
- package/dist/sdk/providers/claude.js +252 -0
- package/dist/sdk/providers/claude.js.map +1 -0
- package/dist/sdk/providers/codex-oss.d.ts +108 -0
- package/dist/sdk/providers/codex-oss.d.ts.map +1 -0
- package/dist/sdk/providers/codex-oss.js +744 -0
- package/dist/sdk/providers/codex-oss.js.map +1 -0
- package/dist/sdk/providers/codex.d.ts +82 -0
- package/dist/sdk/providers/codex.d.ts.map +1 -0
- package/dist/sdk/providers/codex.js +597 -0
- package/dist/sdk/providers/codex.js.map +1 -0
- package/dist/sdk/providers/gemini.d.ts +78 -0
- package/dist/sdk/providers/gemini.d.ts.map +1 -0
- package/dist/sdk/providers/gemini.js +536 -0
- package/dist/sdk/providers/gemini.js.map +1 -0
- package/dist/sdk/providers/index.d.ts +22 -0
- package/dist/sdk/providers/index.d.ts.map +1 -0
- package/dist/sdk/providers/index.js +53 -0
- package/dist/sdk/providers/index.js.map +1 -0
- package/dist/sdk/providers/opencode.d.ts +95 -0
- package/dist/sdk/providers/opencode.d.ts.map +1 -0
- package/dist/sdk/providers/opencode.js +586 -0
- package/dist/sdk/providers/opencode.js.map +1 -0
- package/dist/sdk/providers/types.d.ts +99 -0
- package/dist/sdk/providers/types.d.ts.map +1 -0
- package/dist/sdk/providers/types.js +2 -0
- package/dist/sdk/providers/types.js.map +1 -0
- package/dist/sdk/real.d.ts +20 -0
- package/dist/sdk/real.d.ts.map +1 -0
- package/dist/sdk/real.js +22 -0
- package/dist/sdk/real.js.map +1 -0
- package/dist/sdk/types.d.ts +113 -0
- package/dist/sdk/types.d.ts.map +1 -0
- package/dist/sdk/types.js +3 -0
- package/dist/sdk/types.js.map +1 -0
- package/dist/sessions/Session.d.ts +80 -0
- package/dist/sessions/Session.d.ts.map +1 -0
- package/dist/sessions/Session.js +119 -0
- package/dist/sessions/Session.js.map +1 -0
- package/dist/sessions/codex-reader.d.ts +166 -0
- package/dist/sessions/codex-reader.d.ts.map +1 -0
- package/dist/sessions/codex-reader.js +664 -0
- package/dist/sessions/codex-reader.js.map +1 -0
- package/dist/sessions/dag.d.ts +62 -0
- package/dist/sessions/dag.d.ts.map +1 -0
- package/dist/sessions/dag.js +175 -0
- package/dist/sessions/dag.js.map +1 -0
- package/dist/sessions/fork.d.ts +34 -0
- package/dist/sessions/fork.d.ts.map +1 -0
- package/dist/sessions/fork.js +58 -0
- package/dist/sessions/fork.js.map +1 -0
- package/dist/sessions/gemini-reader.d.ts +103 -0
- package/dist/sessions/gemini-reader.d.ts.map +1 -0
- package/dist/sessions/gemini-reader.js +332 -0
- package/dist/sessions/gemini-reader.js.map +1 -0
- package/dist/sessions/normalization.d.ts +7 -0
- package/dist/sessions/normalization.d.ts.map +1 -0
- package/dist/sessions/normalization.js +429 -0
- package/dist/sessions/normalization.js.map +1 -0
- package/dist/sessions/opencode-reader.d.ts +99 -0
- package/dist/sessions/opencode-reader.d.ts.map +1 -0
- package/dist/sessions/opencode-reader.js +370 -0
- package/dist/sessions/opencode-reader.js.map +1 -0
- package/dist/sessions/reader.d.ts +118 -0
- package/dist/sessions/reader.d.ts.map +1 -0
- package/dist/sessions/reader.js +444 -0
- package/dist/sessions/reader.js.map +1 -0
- package/dist/sessions/types.d.ts +77 -0
- package/dist/sessions/types.d.ts.map +1 -0
- package/dist/sessions/types.js +8 -0
- package/dist/sessions/types.js.map +1 -0
- package/dist/supervisor/ExternalSessionTracker.d.ts +94 -0
- package/dist/supervisor/ExternalSessionTracker.d.ts.map +1 -0
- package/dist/supervisor/ExternalSessionTracker.js +507 -0
- package/dist/supervisor/ExternalSessionTracker.js.map +1 -0
- package/dist/supervisor/Process.d.ts +230 -0
- package/dist/supervisor/Process.d.ts.map +1 -0
- package/dist/supervisor/Process.js +878 -0
- package/dist/supervisor/Process.js.map +1 -0
- package/dist/supervisor/Supervisor.d.ts +191 -0
- package/dist/supervisor/Supervisor.d.ts.map +1 -0
- package/dist/supervisor/Supervisor.js +933 -0
- package/dist/supervisor/Supervisor.js.map +1 -0
- package/dist/supervisor/WorkerQueue.d.ts +113 -0
- package/dist/supervisor/WorkerQueue.d.ts.map +1 -0
- package/dist/supervisor/WorkerQueue.js +148 -0
- package/dist/supervisor/WorkerQueue.js.map +1 -0
- package/dist/supervisor/types.d.ts +176 -0
- package/dist/supervisor/types.d.ts.map +1 -0
- package/dist/supervisor/types.js +7 -0
- package/dist/supervisor/types.js.map +1 -0
- package/dist/testing/mockProjectData.d.ts +5 -0
- package/dist/testing/mockProjectData.d.ts.map +1 -0
- package/dist/testing/mockProjectData.js +27 -0
- package/dist/testing/mockProjectData.js.map +1 -0
- package/dist/uploads/index.d.ts +3 -0
- package/dist/uploads/index.d.ts.map +1 -0
- package/dist/uploads/index.js +2 -0
- package/dist/uploads/index.js.map +1 -0
- package/dist/uploads/manager.d.ts +84 -0
- package/dist/uploads/manager.d.ts.map +1 -0
- package/dist/uploads/manager.js +215 -0
- package/dist/uploads/manager.js.map +1 -0
- package/dist/utils/fileLock.d.ts +57 -0
- package/dist/utils/fileLock.d.ts.map +1 -0
- package/dist/utils/fileLock.js +91 -0
- package/dist/utils/fileLock.js.map +1 -0
- package/dist/watcher/BatchProcessor.d.ts +58 -0
- package/dist/watcher/BatchProcessor.d.ts.map +1 -0
- package/dist/watcher/BatchProcessor.js +105 -0
- package/dist/watcher/BatchProcessor.js.map +1 -0
- package/dist/watcher/EventBus.d.ts +157 -0
- package/dist/watcher/EventBus.d.ts.map +1 -0
- package/dist/watcher/EventBus.js +36 -0
- package/dist/watcher/EventBus.js.map +1 -0
- package/dist/watcher/FileWatcher.d.ts +42 -0
- package/dist/watcher/FileWatcher.d.ts.map +1 -0
- package/dist/watcher/FileWatcher.js +165 -0
- package/dist/watcher/FileWatcher.js.map +1 -0
- package/dist/watcher/SourceWatcher.d.ts +36 -0
- package/dist/watcher/SourceWatcher.d.ts.map +1 -0
- package/dist/watcher/SourceWatcher.js +97 -0
- package/dist/watcher/SourceWatcher.js.map +1 -0
- package/dist/watcher/index.d.ts +9 -0
- package/dist/watcher/index.d.ts.map +1 -0
- package/dist/watcher/index.js +5 -0
- package/dist/watcher/index.js.map +1 -0
- package/package.json +54 -0
- package/scripts/postinstall.js +48 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Task tool result schema
|
|
4
|
+
* Accepts either structured object OR string error message from SDK
|
|
5
|
+
*/
|
|
6
|
+
export declare const TaskResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
7
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
completed: "completed";
|
|
9
|
+
failed: "failed";
|
|
10
|
+
timeout: "timeout";
|
|
11
|
+
}>>;
|
|
12
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
13
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
content: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15
|
+
type: z.ZodEnum<{
|
|
16
|
+
text: "text";
|
|
17
|
+
thinking: "thinking";
|
|
18
|
+
tool_result: "tool_result";
|
|
19
|
+
tool_use: "tool_use";
|
|
20
|
+
}>;
|
|
21
|
+
text: z.ZodOptional<z.ZodString>;
|
|
22
|
+
thinking: z.ZodOptional<z.ZodString>;
|
|
23
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
24
|
+
id: z.ZodOptional<z.ZodString>;
|
|
25
|
+
name: z.ZodOptional<z.ZodString>;
|
|
26
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
27
|
+
tool_use_id: z.ZodOptional<z.ZodString>;
|
|
28
|
+
content: z.ZodOptional<z.ZodString>;
|
|
29
|
+
is_error: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
}, z.core.$strip>>>;
|
|
31
|
+
totalDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
33
|
+
totalToolUseCount: z.ZodOptional<z.ZodNumber>;
|
|
34
|
+
}, z.core.$strip>, z.ZodString]>;
|
|
35
|
+
export type TaskResultValidated = z.infer<typeof TaskResultSchema>;
|
|
36
|
+
/**
|
|
37
|
+
* Bash tool result schema
|
|
38
|
+
* Accepts either structured object OR string error message from SDK
|
|
39
|
+
*/
|
|
40
|
+
export declare const BashResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
41
|
+
stdout: z.ZodOptional<z.ZodString>;
|
|
42
|
+
stderr: z.ZodOptional<z.ZodString>;
|
|
43
|
+
interrupted: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
+
isImage: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
backgroundTaskId: z.ZodOptional<z.ZodString>;
|
|
46
|
+
}, z.core.$strip>, z.ZodString]>;
|
|
47
|
+
export type BashResultValidated = z.infer<typeof BashResultSchema>;
|
|
48
|
+
/**
|
|
49
|
+
* Read tool result schema
|
|
50
|
+
* Accepts either structured object OR string error message from SDK
|
|
51
|
+
*/
|
|
52
|
+
export declare const ReadResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
53
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
54
|
+
text: "text";
|
|
55
|
+
image: "image";
|
|
56
|
+
}>>;
|
|
57
|
+
file: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
58
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
59
|
+
content: z.ZodOptional<z.ZodString>;
|
|
60
|
+
numLines: z.ZodOptional<z.ZodNumber>;
|
|
61
|
+
startLine: z.ZodOptional<z.ZodNumber>;
|
|
62
|
+
totalLines: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
+
base64: z.ZodOptional<z.ZodString>;
|
|
65
|
+
type: z.ZodOptional<z.ZodString>;
|
|
66
|
+
originalSize: z.ZodOptional<z.ZodNumber>;
|
|
67
|
+
dimensions: z.ZodOptional<z.ZodObject<{
|
|
68
|
+
originalWidth: z.ZodOptional<z.ZodNumber>;
|
|
69
|
+
originalHeight: z.ZodOptional<z.ZodNumber>;
|
|
70
|
+
displayWidth: z.ZodOptional<z.ZodNumber>;
|
|
71
|
+
displayHeight: z.ZodOptional<z.ZodNumber>;
|
|
72
|
+
}, z.core.$strip>>;
|
|
73
|
+
}, z.core.$strip>]>>;
|
|
74
|
+
}, z.core.$strip>, z.ZodString]>;
|
|
75
|
+
export type ReadResultValidated = z.infer<typeof ReadResultSchema>;
|
|
76
|
+
/**
|
|
77
|
+
* Edit tool result schema
|
|
78
|
+
* Accepts either structured object OR string error message from SDK
|
|
79
|
+
*/
|
|
80
|
+
export declare const EditResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
81
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
82
|
+
create: "create";
|
|
83
|
+
edit: "edit";
|
|
84
|
+
update: "update";
|
|
85
|
+
}>>;
|
|
86
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
87
|
+
oldString: z.ZodOptional<z.ZodString>;
|
|
88
|
+
newString: z.ZodOptional<z.ZodString>;
|
|
89
|
+
originalFile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
|
+
replaceAll: z.ZodOptional<z.ZodBoolean>;
|
|
91
|
+
userModified: z.ZodOptional<z.ZodBoolean>;
|
|
92
|
+
structuredPatch: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
93
|
+
oldStart: z.ZodOptional<z.ZodNumber>;
|
|
94
|
+
oldLines: z.ZodOptional<z.ZodNumber>;
|
|
95
|
+
newStart: z.ZodOptional<z.ZodNumber>;
|
|
96
|
+
newLines: z.ZodOptional<z.ZodNumber>;
|
|
97
|
+
lines: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
98
|
+
}, z.core.$strip>>>;
|
|
99
|
+
}, z.core.$strip>, z.ZodString]>;
|
|
100
|
+
export type EditResultValidated = z.infer<typeof EditResultSchema>;
|
|
101
|
+
/**
|
|
102
|
+
* Write tool result schema
|
|
103
|
+
* Accepts either structured object OR string error message from SDK
|
|
104
|
+
*/
|
|
105
|
+
export declare const WriteResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
106
|
+
type: z.ZodOptional<z.ZodLiteral<"text">>;
|
|
107
|
+
file: z.ZodOptional<z.ZodObject<{
|
|
108
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
109
|
+
content: z.ZodOptional<z.ZodString>;
|
|
110
|
+
numLines: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
startLine: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
totalLines: z.ZodOptional<z.ZodNumber>;
|
|
113
|
+
}, z.core.$strip>>;
|
|
114
|
+
}, z.core.$strip>, z.ZodString]>;
|
|
115
|
+
export type WriteResultValidated = z.infer<typeof WriteResultSchema>;
|
|
116
|
+
/**
|
|
117
|
+
* Glob tool result schema
|
|
118
|
+
* Accepts either structured object OR string error message from SDK
|
|
119
|
+
*/
|
|
120
|
+
export declare const GlobResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
121
|
+
filenames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
122
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
123
|
+
numFiles: z.ZodOptional<z.ZodNumber>;
|
|
124
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
125
|
+
}, z.core.$strip>, z.ZodString]>;
|
|
126
|
+
export type GlobResultValidated = z.infer<typeof GlobResultSchema>;
|
|
127
|
+
/**
|
|
128
|
+
* Grep tool result schema
|
|
129
|
+
* Accepts either structured object OR string error message from SDK
|
|
130
|
+
*/
|
|
131
|
+
export declare const GrepResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
132
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
133
|
+
content: "content";
|
|
134
|
+
files_with_matches: "files_with_matches";
|
|
135
|
+
count: "count";
|
|
136
|
+
}>>;
|
|
137
|
+
filenames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
138
|
+
numFiles: z.ZodOptional<z.ZodNumber>;
|
|
139
|
+
content: z.ZodOptional<z.ZodString>;
|
|
140
|
+
numLines: z.ZodOptional<z.ZodNumber>;
|
|
141
|
+
appliedLimit: z.ZodOptional<z.ZodNumber>;
|
|
142
|
+
}, z.core.$strip>, z.ZodString]>;
|
|
143
|
+
export type GrepResultValidated = z.infer<typeof GrepResultSchema>;
|
|
144
|
+
/**
|
|
145
|
+
* TodoWrite tool result schema
|
|
146
|
+
* Accepts either structured object OR string error message from SDK
|
|
147
|
+
*/
|
|
148
|
+
export declare const TodoWriteResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
149
|
+
oldTodos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
150
|
+
content: z.ZodOptional<z.ZodString>;
|
|
151
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
152
|
+
pending: "pending";
|
|
153
|
+
in_progress: "in_progress";
|
|
154
|
+
completed: "completed";
|
|
155
|
+
}>>;
|
|
156
|
+
activeForm: z.ZodOptional<z.ZodString>;
|
|
157
|
+
}, z.core.$strip>>>;
|
|
158
|
+
newTodos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
159
|
+
content: z.ZodOptional<z.ZodString>;
|
|
160
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
161
|
+
pending: "pending";
|
|
162
|
+
in_progress: "in_progress";
|
|
163
|
+
completed: "completed";
|
|
164
|
+
}>>;
|
|
165
|
+
activeForm: z.ZodOptional<z.ZodString>;
|
|
166
|
+
}, z.core.$strip>>>;
|
|
167
|
+
}, z.core.$strip>, z.ZodString]>;
|
|
168
|
+
export type TodoWriteResultValidated = z.infer<typeof TodoWriteResultSchema>;
|
|
169
|
+
/**
|
|
170
|
+
* WebSearch tool result schema
|
|
171
|
+
* Accepts either structured object OR string error message from SDK
|
|
172
|
+
*/
|
|
173
|
+
export declare const WebSearchResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
174
|
+
query: z.ZodOptional<z.ZodString>;
|
|
175
|
+
results: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
176
|
+
tool_use_id: z.ZodOptional<z.ZodString>;
|
|
177
|
+
content: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
178
|
+
title: z.ZodOptional<z.ZodString>;
|
|
179
|
+
url: z.ZodOptional<z.ZodString>;
|
|
180
|
+
}, z.core.$strip>>>;
|
|
181
|
+
}, z.core.$strip>, z.ZodString]>>>;
|
|
182
|
+
durationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
183
|
+
}, z.core.$strip>, z.ZodString]>;
|
|
184
|
+
export type WebSearchResultValidated = z.infer<typeof WebSearchResultSchema>;
|
|
185
|
+
/**
|
|
186
|
+
* WebFetch tool result schema
|
|
187
|
+
* Accepts either structured object OR string error message from SDK
|
|
188
|
+
*/
|
|
189
|
+
export declare const WebFetchResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
190
|
+
bytes: z.ZodOptional<z.ZodNumber>;
|
|
191
|
+
code: z.ZodOptional<z.ZodNumber>;
|
|
192
|
+
codeText: z.ZodOptional<z.ZodString>;
|
|
193
|
+
result: z.ZodOptional<z.ZodString>;
|
|
194
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
195
|
+
url: z.ZodOptional<z.ZodString>;
|
|
196
|
+
}, z.core.$strip>, z.ZodString]>;
|
|
197
|
+
export type WebFetchResultValidated = z.infer<typeof WebFetchResultSchema>;
|
|
198
|
+
/**
|
|
199
|
+
* AskUserQuestion tool result schema
|
|
200
|
+
* Accepts either structured object OR string error message from SDK
|
|
201
|
+
*/
|
|
202
|
+
export declare const AskUserQuestionResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
203
|
+
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
204
|
+
question: z.ZodOptional<z.ZodString>;
|
|
205
|
+
header: z.ZodOptional<z.ZodString>;
|
|
206
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
207
|
+
label: z.ZodOptional<z.ZodString>;
|
|
208
|
+
description: z.ZodOptional<z.ZodString>;
|
|
209
|
+
}, z.core.$strip>>>;
|
|
210
|
+
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
211
|
+
}, z.core.$strip>>>;
|
|
212
|
+
answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
213
|
+
}, z.core.$strip>, z.ZodString]>;
|
|
214
|
+
export type AskUserQuestionResultValidated = z.infer<typeof AskUserQuestionResultSchema>;
|
|
215
|
+
/**
|
|
216
|
+
* BashOutput tool result schema
|
|
217
|
+
* Accepts either structured object OR string error message from SDK
|
|
218
|
+
*/
|
|
219
|
+
export declare const BashOutputResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
220
|
+
shellId: z.ZodOptional<z.ZodString>;
|
|
221
|
+
command: z.ZodOptional<z.ZodString>;
|
|
222
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
223
|
+
completed: "completed";
|
|
224
|
+
failed: "failed";
|
|
225
|
+
running: "running";
|
|
226
|
+
}>>;
|
|
227
|
+
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
228
|
+
stdout: z.ZodOptional<z.ZodString>;
|
|
229
|
+
stderr: z.ZodOptional<z.ZodString>;
|
|
230
|
+
stdoutLines: z.ZodOptional<z.ZodNumber>;
|
|
231
|
+
stderrLines: z.ZodOptional<z.ZodNumber>;
|
|
232
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
233
|
+
}, z.core.$strip>, z.ZodString]>;
|
|
234
|
+
export type BashOutputResultValidated = z.infer<typeof BashOutputResultSchema>;
|
|
235
|
+
/**
|
|
236
|
+
* TaskOutput tool result schema
|
|
237
|
+
* Accepts either structured object OR string error message from SDK
|
|
238
|
+
*/
|
|
239
|
+
export declare const TaskOutputResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
240
|
+
retrieval_status: z.ZodOptional<z.ZodEnum<{
|
|
241
|
+
completed: "completed";
|
|
242
|
+
timeout: "timeout";
|
|
243
|
+
running: "running";
|
|
244
|
+
}>>;
|
|
245
|
+
task: z.ZodOptional<z.ZodObject<{
|
|
246
|
+
task_id: z.ZodOptional<z.ZodString>;
|
|
247
|
+
task_type: z.ZodOptional<z.ZodEnum<{
|
|
248
|
+
local_bash: "local_bash";
|
|
249
|
+
agent: "agent";
|
|
250
|
+
}>>;
|
|
251
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
252
|
+
completed: "completed";
|
|
253
|
+
failed: "failed";
|
|
254
|
+
running: "running";
|
|
255
|
+
}>>;
|
|
256
|
+
description: z.ZodOptional<z.ZodString>;
|
|
257
|
+
output: z.ZodOptional<z.ZodString>;
|
|
258
|
+
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
259
|
+
}, z.core.$strip>>;
|
|
260
|
+
}, z.core.$strip>, z.ZodString]>;
|
|
261
|
+
export type TaskOutputResultValidated = z.infer<typeof TaskOutputResultSchema>;
|
|
262
|
+
/**
|
|
263
|
+
* KillShell tool result schema
|
|
264
|
+
* Accepts either structured object OR string error message from SDK
|
|
265
|
+
*/
|
|
266
|
+
export declare const KillShellResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
267
|
+
message: z.ZodOptional<z.ZodString>;
|
|
268
|
+
shell_id: z.ZodOptional<z.ZodString>;
|
|
269
|
+
}, z.core.$strip>, z.ZodString]>;
|
|
270
|
+
export type KillShellResultValidated = z.infer<typeof KillShellResultSchema>;
|
|
271
|
+
/**
|
|
272
|
+
* EnterPlanMode tool result schema
|
|
273
|
+
* Accepts either structured object OR string error message from SDK
|
|
274
|
+
*/
|
|
275
|
+
export declare const EnterPlanModeResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
276
|
+
message: z.ZodOptional<z.ZodString>;
|
|
277
|
+
}, z.core.$strip>, z.ZodString]>;
|
|
278
|
+
export type EnterPlanModeResultValidated = z.infer<typeof EnterPlanModeResultSchema>;
|
|
279
|
+
/**
|
|
280
|
+
* ExitPlanMode tool result schema
|
|
281
|
+
* Accepts either structured object OR string error message from SDK
|
|
282
|
+
*/
|
|
283
|
+
export declare const ExitPlanModeResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
284
|
+
message: z.ZodOptional<z.ZodString>;
|
|
285
|
+
plan: z.ZodOptional<z.ZodString>;
|
|
286
|
+
}, z.core.$strip>, z.ZodString]>;
|
|
287
|
+
export type ExitPlanModeResultValidated = z.infer<typeof ExitPlanModeResultSchema>;
|
|
288
|
+
//# sourceMappingURL=ToolResultSchemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToolResultSchemas.d.ts","sourceRoot":"","sources":["../../../src/claude-sdk-schema/tool/ToolResultSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA8CxB;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAA0C,CAAC;AAExE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAanE;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;gCAA0C,CAAC;AAExE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAiCnE;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;gCAA0C,CAAC;AAExE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AA4BnE;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;gCAA0C,CAAC;AAExE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAenE;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;gCAA2C,CAAC;AAE1E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AASrE;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;gCAA0C,CAAC;AAExE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAWnE;;;GAGG;AAC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yB;;gCAErC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,yBAAyB,CACjC,CAAC;AAOF;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;gCAEpC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,wBAAwB,CAChC,CAAC"}
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Helper to create a tool result schema that accepts either the structured
|
|
4
|
+
* object format OR a string error message.
|
|
5
|
+
*
|
|
6
|
+
* The SDK writes toolUseResult as a string for errors/interrupts, e.g.:
|
|
7
|
+
* - "Error: Exit code 1\n..."
|
|
8
|
+
* - "Error: [Request interrupted by user for tool use]"
|
|
9
|
+
*
|
|
10
|
+
* This is the actual format persisted in session JSONL files.
|
|
11
|
+
*/
|
|
12
|
+
function withStringError(schema) {
|
|
13
|
+
return z.union([schema, z.string()]);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* ContentBlock schema for Task result content
|
|
17
|
+
* Matches the ContentBlock interface in client/src/components/renderers/types.ts
|
|
18
|
+
*/
|
|
19
|
+
const ContentBlockSchema = z.object({
|
|
20
|
+
type: z.enum(["text", "thinking", "tool_use", "tool_result"]),
|
|
21
|
+
text: z.string().optional(),
|
|
22
|
+
thinking: z.string().optional(),
|
|
23
|
+
signature: z.string().optional(),
|
|
24
|
+
id: z.string().optional(),
|
|
25
|
+
name: z.string().optional(),
|
|
26
|
+
input: z.unknown().optional(),
|
|
27
|
+
tool_use_id: z.string().optional(),
|
|
28
|
+
content: z.string().optional(),
|
|
29
|
+
is_error: z.boolean().optional(),
|
|
30
|
+
});
|
|
31
|
+
/**
|
|
32
|
+
* Task tool structured result (success case)
|
|
33
|
+
*/
|
|
34
|
+
const TaskResultObjectSchema = z.object({
|
|
35
|
+
status: z.enum(["completed", "failed", "timeout"]).optional(),
|
|
36
|
+
prompt: z.string().optional(),
|
|
37
|
+
agentId: z.string().optional(),
|
|
38
|
+
content: z.array(ContentBlockSchema).optional(),
|
|
39
|
+
totalDurationMs: z.number().optional(),
|
|
40
|
+
totalTokens: z.number().optional(),
|
|
41
|
+
totalToolUseCount: z.number().optional(),
|
|
42
|
+
});
|
|
43
|
+
/**
|
|
44
|
+
* Task tool result schema
|
|
45
|
+
* Accepts either structured object OR string error message from SDK
|
|
46
|
+
*/
|
|
47
|
+
export const TaskResultSchema = withStringError(TaskResultObjectSchema);
|
|
48
|
+
/**
|
|
49
|
+
* Bash tool structured result (success case)
|
|
50
|
+
*/
|
|
51
|
+
const BashResultObjectSchema = z.object({
|
|
52
|
+
stdout: z.string().optional(),
|
|
53
|
+
stderr: z.string().optional(),
|
|
54
|
+
interrupted: z.boolean().optional(),
|
|
55
|
+
isImage: z.boolean().optional(),
|
|
56
|
+
backgroundTaskId: z.string().optional(),
|
|
57
|
+
});
|
|
58
|
+
/**
|
|
59
|
+
* Bash tool result schema
|
|
60
|
+
* Accepts either structured object OR string error message from SDK
|
|
61
|
+
*/
|
|
62
|
+
export const BashResultSchema = withStringError(BashResultObjectSchema);
|
|
63
|
+
/**
|
|
64
|
+
* Read tool result schemas
|
|
65
|
+
* Matches the ReadResult, TextFile, and ImageFile interfaces
|
|
66
|
+
*/
|
|
67
|
+
const TextFileSchema = z.object({
|
|
68
|
+
filePath: z.string().optional(),
|
|
69
|
+
content: z.string().optional(),
|
|
70
|
+
numLines: z.number().optional(),
|
|
71
|
+
startLine: z.number().optional(),
|
|
72
|
+
totalLines: z.number().optional(),
|
|
73
|
+
});
|
|
74
|
+
const ImageFileDimensionsSchema = z.object({
|
|
75
|
+
originalWidth: z.number().optional(),
|
|
76
|
+
originalHeight: z.number().optional(),
|
|
77
|
+
displayWidth: z.number().optional(),
|
|
78
|
+
displayHeight: z.number().optional(),
|
|
79
|
+
});
|
|
80
|
+
const ImageFileSchema = z.object({
|
|
81
|
+
base64: z.string().optional(),
|
|
82
|
+
type: z.string().optional(),
|
|
83
|
+
originalSize: z.number().optional(),
|
|
84
|
+
dimensions: ImageFileDimensionsSchema.optional(),
|
|
85
|
+
});
|
|
86
|
+
const ReadResultObjectSchema = z.object({
|
|
87
|
+
type: z.enum(["text", "image"]).optional(),
|
|
88
|
+
file: z.union([TextFileSchema, ImageFileSchema]).optional(),
|
|
89
|
+
});
|
|
90
|
+
/**
|
|
91
|
+
* Read tool result schema
|
|
92
|
+
* Accepts either structured object OR string error message from SDK
|
|
93
|
+
*/
|
|
94
|
+
export const ReadResultSchema = withStringError(ReadResultObjectSchema);
|
|
95
|
+
/**
|
|
96
|
+
* Edit tool result schema
|
|
97
|
+
* Matches the EditResult and PatchHunk interfaces
|
|
98
|
+
*
|
|
99
|
+
* Note: The SDK provides `type` field ("create" for new files, "edit" for modifications)
|
|
100
|
+
* and `originalFile` can be null for new file creation.
|
|
101
|
+
*/
|
|
102
|
+
const PatchHunkSchema = z.object({
|
|
103
|
+
oldStart: z.number().optional(),
|
|
104
|
+
oldLines: z.number().optional(),
|
|
105
|
+
newStart: z.number().optional(),
|
|
106
|
+
newLines: z.number().optional(),
|
|
107
|
+
lines: z.array(z.string()).optional(),
|
|
108
|
+
});
|
|
109
|
+
const EditResultObjectSchema = z.object({
|
|
110
|
+
type: z.enum(["create", "edit", "update"]).optional(),
|
|
111
|
+
filePath: z.string().optional(),
|
|
112
|
+
oldString: z.string().optional(),
|
|
113
|
+
newString: z.string().optional(),
|
|
114
|
+
originalFile: z.string().nullable().optional(),
|
|
115
|
+
replaceAll: z.boolean().optional(),
|
|
116
|
+
userModified: z.boolean().optional(),
|
|
117
|
+
structuredPatch: z.array(PatchHunkSchema).optional(),
|
|
118
|
+
});
|
|
119
|
+
/**
|
|
120
|
+
* Edit tool result schema
|
|
121
|
+
* Accepts either structured object OR string error message from SDK
|
|
122
|
+
*/
|
|
123
|
+
export const EditResultSchema = withStringError(EditResultObjectSchema);
|
|
124
|
+
const WriteResultObjectSchema = z.object({
|
|
125
|
+
type: z.literal("text").optional(),
|
|
126
|
+
file: z
|
|
127
|
+
.object({
|
|
128
|
+
filePath: z.string().optional(),
|
|
129
|
+
content: z.string().optional(),
|
|
130
|
+
numLines: z.number().optional(),
|
|
131
|
+
startLine: z.number().optional(),
|
|
132
|
+
totalLines: z.number().optional(),
|
|
133
|
+
})
|
|
134
|
+
.optional(),
|
|
135
|
+
});
|
|
136
|
+
/**
|
|
137
|
+
* Write tool result schema
|
|
138
|
+
* Accepts either structured object OR string error message from SDK
|
|
139
|
+
*/
|
|
140
|
+
export const WriteResultSchema = withStringError(WriteResultObjectSchema);
|
|
141
|
+
const GlobResultObjectSchema = z.object({
|
|
142
|
+
filenames: z.array(z.string()).optional(),
|
|
143
|
+
durationMs: z.number().optional(),
|
|
144
|
+
numFiles: z.number().optional(),
|
|
145
|
+
truncated: z.boolean().optional(),
|
|
146
|
+
});
|
|
147
|
+
/**
|
|
148
|
+
* Glob tool result schema
|
|
149
|
+
* Accepts either structured object OR string error message from SDK
|
|
150
|
+
*/
|
|
151
|
+
export const GlobResultSchema = withStringError(GlobResultObjectSchema);
|
|
152
|
+
const GrepResultObjectSchema = z.object({
|
|
153
|
+
mode: z.enum(["files_with_matches", "content", "count"]).optional(),
|
|
154
|
+
filenames: z.array(z.string()).optional(),
|
|
155
|
+
numFiles: z.number().optional(),
|
|
156
|
+
content: z.string().optional(),
|
|
157
|
+
numLines: z.number().optional(),
|
|
158
|
+
appliedLimit: z.number().optional(),
|
|
159
|
+
});
|
|
160
|
+
/**
|
|
161
|
+
* Grep tool result schema
|
|
162
|
+
* Accepts either structured object OR string error message from SDK
|
|
163
|
+
*/
|
|
164
|
+
export const GrepResultSchema = withStringError(GrepResultObjectSchema);
|
|
165
|
+
const TodoSchema = z.object({
|
|
166
|
+
content: z.string().optional(),
|
|
167
|
+
status: z.enum(["pending", "in_progress", "completed"]).optional(),
|
|
168
|
+
activeForm: z.string().optional(),
|
|
169
|
+
});
|
|
170
|
+
const TodoWriteResultObjectSchema = z.object({
|
|
171
|
+
oldTodos: z.array(TodoSchema).optional(),
|
|
172
|
+
newTodos: z.array(TodoSchema).optional(),
|
|
173
|
+
});
|
|
174
|
+
/**
|
|
175
|
+
* TodoWrite tool result schema
|
|
176
|
+
* Accepts either structured object OR string error message from SDK
|
|
177
|
+
*/
|
|
178
|
+
export const TodoWriteResultSchema = withStringError(TodoWriteResultObjectSchema);
|
|
179
|
+
/**
|
|
180
|
+
* WebSearch result item - can be an object with search results or a string summary
|
|
181
|
+
*/
|
|
182
|
+
const WebSearchResultItemSchema = z.object({
|
|
183
|
+
tool_use_id: z.string().optional(),
|
|
184
|
+
content: z
|
|
185
|
+
.array(z.object({
|
|
186
|
+
title: z.string().optional(),
|
|
187
|
+
url: z.string().optional(),
|
|
188
|
+
}))
|
|
189
|
+
.optional(),
|
|
190
|
+
});
|
|
191
|
+
const WebSearchResultObjectSchema = z.object({
|
|
192
|
+
query: z.string().optional(),
|
|
193
|
+
results: z.array(z.union([WebSearchResultItemSchema, z.string()])).optional(),
|
|
194
|
+
durationSeconds: z.number().optional(),
|
|
195
|
+
});
|
|
196
|
+
/**
|
|
197
|
+
* WebSearch tool result schema
|
|
198
|
+
* Accepts either structured object OR string error message from SDK
|
|
199
|
+
*/
|
|
200
|
+
export const WebSearchResultSchema = withStringError(WebSearchResultObjectSchema);
|
|
201
|
+
const WebFetchResultObjectSchema = z.object({
|
|
202
|
+
bytes: z.number().optional(),
|
|
203
|
+
code: z.number().optional(),
|
|
204
|
+
codeText: z.string().optional(),
|
|
205
|
+
result: z.string().optional(),
|
|
206
|
+
durationMs: z.number().optional(),
|
|
207
|
+
url: z.string().optional(),
|
|
208
|
+
});
|
|
209
|
+
/**
|
|
210
|
+
* WebFetch tool result schema
|
|
211
|
+
* Accepts either structured object OR string error message from SDK
|
|
212
|
+
*/
|
|
213
|
+
export const WebFetchResultSchema = withStringError(WebFetchResultObjectSchema);
|
|
214
|
+
const QuestionOptionSchema = z.object({
|
|
215
|
+
label: z.string().optional(),
|
|
216
|
+
description: z.string().optional(),
|
|
217
|
+
});
|
|
218
|
+
const QuestionSchema = z.object({
|
|
219
|
+
question: z.string().optional(),
|
|
220
|
+
header: z.string().optional(),
|
|
221
|
+
options: z.array(QuestionOptionSchema).optional(),
|
|
222
|
+
multiSelect: z.boolean().optional(),
|
|
223
|
+
});
|
|
224
|
+
const AskUserQuestionResultObjectSchema = z.object({
|
|
225
|
+
questions: z.array(QuestionSchema).optional(),
|
|
226
|
+
answers: z.record(z.string(), z.string()).optional(),
|
|
227
|
+
});
|
|
228
|
+
/**
|
|
229
|
+
* AskUserQuestion tool result schema
|
|
230
|
+
* Accepts either structured object OR string error message from SDK
|
|
231
|
+
*/
|
|
232
|
+
export const AskUserQuestionResultSchema = withStringError(AskUserQuestionResultObjectSchema);
|
|
233
|
+
const BashOutputResultObjectSchema = z.object({
|
|
234
|
+
shellId: z.string().optional(),
|
|
235
|
+
command: z.string().optional(),
|
|
236
|
+
status: z.enum(["running", "completed", "failed"]).optional(),
|
|
237
|
+
exitCode: z.number().nullable().optional(),
|
|
238
|
+
stdout: z.string().optional(),
|
|
239
|
+
stderr: z.string().optional(),
|
|
240
|
+
stdoutLines: z.number().optional(),
|
|
241
|
+
stderrLines: z.number().optional(),
|
|
242
|
+
timestamp: z.string().optional(),
|
|
243
|
+
});
|
|
244
|
+
/**
|
|
245
|
+
* BashOutput tool result schema
|
|
246
|
+
* Accepts either structured object OR string error message from SDK
|
|
247
|
+
*/
|
|
248
|
+
export const BashOutputResultSchema = withStringError(BashOutputResultObjectSchema);
|
|
249
|
+
const TaskOutputResultObjectSchema = z.object({
|
|
250
|
+
retrieval_status: z.enum(["completed", "timeout", "running"]).optional(),
|
|
251
|
+
task: z
|
|
252
|
+
.object({
|
|
253
|
+
task_id: z.string().optional(),
|
|
254
|
+
task_type: z.enum(["local_bash", "agent"]).optional(),
|
|
255
|
+
status: z.enum(["running", "completed", "failed"]).optional(),
|
|
256
|
+
description: z.string().optional(),
|
|
257
|
+
output: z.string().optional(),
|
|
258
|
+
exitCode: z.number().nullable().optional(),
|
|
259
|
+
})
|
|
260
|
+
.optional(),
|
|
261
|
+
});
|
|
262
|
+
/**
|
|
263
|
+
* TaskOutput tool result schema
|
|
264
|
+
* Accepts either structured object OR string error message from SDK
|
|
265
|
+
*/
|
|
266
|
+
export const TaskOutputResultSchema = withStringError(TaskOutputResultObjectSchema);
|
|
267
|
+
const KillShellResultObjectSchema = z.object({
|
|
268
|
+
message: z.string().optional(),
|
|
269
|
+
shell_id: z.string().optional(),
|
|
270
|
+
});
|
|
271
|
+
/**
|
|
272
|
+
* KillShell tool result schema
|
|
273
|
+
* Accepts either structured object OR string error message from SDK
|
|
274
|
+
*/
|
|
275
|
+
export const KillShellResultSchema = withStringError(KillShellResultObjectSchema);
|
|
276
|
+
const EnterPlanModeResultObjectSchema = z.object({
|
|
277
|
+
message: z.string().optional(),
|
|
278
|
+
});
|
|
279
|
+
/**
|
|
280
|
+
* EnterPlanMode tool result schema
|
|
281
|
+
* Accepts either structured object OR string error message from SDK
|
|
282
|
+
*/
|
|
283
|
+
export const EnterPlanModeResultSchema = withStringError(EnterPlanModeResultObjectSchema);
|
|
284
|
+
const ExitPlanModeResultObjectSchema = z.object({
|
|
285
|
+
message: z.string().optional(),
|
|
286
|
+
plan: z.string().optional(),
|
|
287
|
+
});
|
|
288
|
+
/**
|
|
289
|
+
* ExitPlanMode tool result schema
|
|
290
|
+
* Accepts either structured object OR string error message from SDK
|
|
291
|
+
*/
|
|
292
|
+
export const ExitPlanModeResultSchema = withStringError(ExitPlanModeResultObjectSchema);
|
|
293
|
+
//# sourceMappingURL=ToolResultSchemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToolResultSchemas.js","sourceRoot":"","sources":["../../../src/claude-sdk-schema/tool/ToolResultSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;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