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,566 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { type AssistantEntry } from "./entry/AssistantEntrySchema.js";
|
|
3
|
+
import { type SystemEntry } from "./entry/SystemEntrySchema.js";
|
|
4
|
+
import { type UserEntry } from "./entry/UserEntrySchema.js";
|
|
5
|
+
export declare const SessionEntrySchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
6
|
+
isSidechain: z.ZodBoolean;
|
|
7
|
+
userType: z.ZodEnum<{
|
|
8
|
+
external: "external";
|
|
9
|
+
}>;
|
|
10
|
+
cwd: z.ZodString;
|
|
11
|
+
sessionId: z.ZodString;
|
|
12
|
+
version: z.ZodString;
|
|
13
|
+
uuid: z.ZodString;
|
|
14
|
+
timestamp: z.ZodString;
|
|
15
|
+
parentUuid: z.ZodNullable<z.ZodString>;
|
|
16
|
+
isMeta: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
toolUseResult: z.ZodOptional<z.ZodUnknown>;
|
|
18
|
+
gitBranch: z.ZodOptional<z.ZodString>;
|
|
19
|
+
isCompactSummary: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
type: z.ZodLiteral<"user">;
|
|
21
|
+
message: z.ZodObject<{
|
|
22
|
+
role: z.ZodLiteral<"user">;
|
|
23
|
+
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
24
|
+
type: z.ZodLiteral<"text">;
|
|
25
|
+
text: z.ZodString;
|
|
26
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
+
type: z.ZodLiteral<"tool_result">;
|
|
28
|
+
tool_use_id: z.ZodString;
|
|
29
|
+
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
30
|
+
type: z.ZodLiteral<"text">;
|
|
31
|
+
text: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
type: z.ZodLiteral<"image">;
|
|
34
|
+
source: z.ZodObject<{
|
|
35
|
+
type: z.ZodLiteral<"base64">;
|
|
36
|
+
data: z.ZodString;
|
|
37
|
+
media_type: z.ZodEnum<{
|
|
38
|
+
"image/png": "image/png";
|
|
39
|
+
"image/jpeg": "image/jpeg";
|
|
40
|
+
"image/gif": "image/gif";
|
|
41
|
+
"image/webp": "image/webp";
|
|
42
|
+
}>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
}, z.core.$strip>]>>]>;
|
|
45
|
+
is_error: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
+
type: z.ZodLiteral<"image">;
|
|
48
|
+
source: z.ZodObject<{
|
|
49
|
+
type: z.ZodLiteral<"base64">;
|
|
50
|
+
data: z.ZodString;
|
|
51
|
+
media_type: z.ZodEnum<{
|
|
52
|
+
"image/png": "image/png";
|
|
53
|
+
"image/jpeg": "image/jpeg";
|
|
54
|
+
"image/gif": "image/gif";
|
|
55
|
+
"image/webp": "image/webp";
|
|
56
|
+
}>;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
type: z.ZodLiteral<"document">;
|
|
60
|
+
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
61
|
+
media_type: z.ZodLiteral<"text/plain">;
|
|
62
|
+
type: z.ZodLiteral<"text">;
|
|
63
|
+
data: z.ZodString;
|
|
64
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
+
media_type: z.ZodEnum<{
|
|
66
|
+
"application/pdf": "application/pdf";
|
|
67
|
+
}>;
|
|
68
|
+
type: z.ZodLiteral<"base64">;
|
|
69
|
+
data: z.ZodString;
|
|
70
|
+
}, z.core.$strip>]>;
|
|
71
|
+
}, z.core.$strip>]>]>>]>;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
+
isSidechain: z.ZodBoolean;
|
|
75
|
+
userType: z.ZodEnum<{
|
|
76
|
+
external: "external";
|
|
77
|
+
}>;
|
|
78
|
+
cwd: z.ZodString;
|
|
79
|
+
sessionId: z.ZodString;
|
|
80
|
+
version: z.ZodString;
|
|
81
|
+
uuid: z.ZodString;
|
|
82
|
+
timestamp: z.ZodString;
|
|
83
|
+
parentUuid: z.ZodNullable<z.ZodString>;
|
|
84
|
+
isMeta: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
+
toolUseResult: z.ZodOptional<z.ZodUnknown>;
|
|
86
|
+
gitBranch: z.ZodOptional<z.ZodString>;
|
|
87
|
+
isCompactSummary: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
+
type: z.ZodLiteral<"assistant">;
|
|
89
|
+
message: z.ZodObject<{
|
|
90
|
+
id: z.ZodString;
|
|
91
|
+
container: z.ZodOptional<z.ZodNull>;
|
|
92
|
+
type: z.ZodLiteral<"message">;
|
|
93
|
+
role: z.ZodLiteral<"assistant">;
|
|
94
|
+
model: z.ZodString;
|
|
95
|
+
content: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
96
|
+
type: z.ZodLiteral<"thinking">;
|
|
97
|
+
thinking: z.ZodString;
|
|
98
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
99
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
100
|
+
type: z.ZodLiteral<"text">;
|
|
101
|
+
text: z.ZodString;
|
|
102
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
103
|
+
type: z.ZodLiteral<"tool_use">;
|
|
104
|
+
id: z.ZodString;
|
|
105
|
+
name: z.ZodString;
|
|
106
|
+
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
107
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
108
|
+
type: z.ZodLiteral<"tool_result">;
|
|
109
|
+
tool_use_id: z.ZodString;
|
|
110
|
+
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
111
|
+
type: z.ZodLiteral<"text">;
|
|
112
|
+
text: z.ZodString;
|
|
113
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
114
|
+
type: z.ZodLiteral<"image">;
|
|
115
|
+
source: z.ZodObject<{
|
|
116
|
+
type: z.ZodLiteral<"base64">;
|
|
117
|
+
data: z.ZodString;
|
|
118
|
+
media_type: z.ZodEnum<{
|
|
119
|
+
"image/png": "image/png";
|
|
120
|
+
"image/jpeg": "image/jpeg";
|
|
121
|
+
"image/gif": "image/gif";
|
|
122
|
+
"image/webp": "image/webp";
|
|
123
|
+
}>;
|
|
124
|
+
}, z.core.$strip>;
|
|
125
|
+
}, z.core.$strip>]>>]>;
|
|
126
|
+
is_error: z.ZodOptional<z.ZodBoolean>;
|
|
127
|
+
}, z.core.$strip>]>>;
|
|
128
|
+
stop_reason: z.ZodNullable<z.ZodString>;
|
|
129
|
+
stop_sequence: z.ZodNullable<z.ZodString>;
|
|
130
|
+
usage: z.ZodObject<{
|
|
131
|
+
input_tokens: z.ZodNumber;
|
|
132
|
+
cache_creation_input_tokens: z.ZodOptional<z.ZodNumber>;
|
|
133
|
+
cache_read_input_tokens: z.ZodOptional<z.ZodNumber>;
|
|
134
|
+
cache_creation: z.ZodOptional<z.ZodObject<{
|
|
135
|
+
ephemeral_5m_input_tokens: z.ZodNumber;
|
|
136
|
+
ephemeral_1h_input_tokens: z.ZodNumber;
|
|
137
|
+
}, z.core.$strip>>;
|
|
138
|
+
output_tokens: z.ZodNumber;
|
|
139
|
+
service_tier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
140
|
+
server_tool_use: z.ZodOptional<z.ZodObject<{
|
|
141
|
+
web_search_requests: z.ZodNumber;
|
|
142
|
+
}, z.core.$strip>>;
|
|
143
|
+
}, z.core.$strip>;
|
|
144
|
+
}, z.core.$strip>;
|
|
145
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
146
|
+
isApiErrorMessage: z.ZodOptional<z.ZodBoolean>;
|
|
147
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
148
|
+
type: z.ZodLiteral<"summary">;
|
|
149
|
+
summary: z.ZodString;
|
|
150
|
+
leafUuid: z.ZodString;
|
|
151
|
+
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
|
|
152
|
+
isSidechain: z.ZodBoolean;
|
|
153
|
+
userType: z.ZodEnum<{
|
|
154
|
+
external: "external";
|
|
155
|
+
}>;
|
|
156
|
+
cwd: z.ZodString;
|
|
157
|
+
sessionId: z.ZodString;
|
|
158
|
+
version: z.ZodString;
|
|
159
|
+
uuid: z.ZodString;
|
|
160
|
+
timestamp: z.ZodString;
|
|
161
|
+
parentUuid: z.ZodNullable<z.ZodString>;
|
|
162
|
+
isMeta: z.ZodOptional<z.ZodBoolean>;
|
|
163
|
+
toolUseResult: z.ZodOptional<z.ZodUnknown>;
|
|
164
|
+
gitBranch: z.ZodOptional<z.ZodString>;
|
|
165
|
+
isCompactSummary: z.ZodOptional<z.ZodBoolean>;
|
|
166
|
+
type: z.ZodLiteral<"system">;
|
|
167
|
+
content: z.ZodString;
|
|
168
|
+
toolUseID: z.ZodString;
|
|
169
|
+
level: z.ZodEnum<{
|
|
170
|
+
info: "info";
|
|
171
|
+
}>;
|
|
172
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
173
|
+
isSidechain: z.ZodBoolean;
|
|
174
|
+
userType: z.ZodEnum<{
|
|
175
|
+
external: "external";
|
|
176
|
+
}>;
|
|
177
|
+
cwd: z.ZodString;
|
|
178
|
+
sessionId: z.ZodString;
|
|
179
|
+
version: z.ZodString;
|
|
180
|
+
uuid: z.ZodString;
|
|
181
|
+
timestamp: z.ZodString;
|
|
182
|
+
parentUuid: z.ZodNullable<z.ZodString>;
|
|
183
|
+
isMeta: z.ZodOptional<z.ZodBoolean>;
|
|
184
|
+
toolUseResult: z.ZodOptional<z.ZodUnknown>;
|
|
185
|
+
gitBranch: z.ZodOptional<z.ZodString>;
|
|
186
|
+
isCompactSummary: z.ZodOptional<z.ZodBoolean>;
|
|
187
|
+
type: z.ZodLiteral<"system">;
|
|
188
|
+
subtype: z.ZodLiteral<"compact_boundary">;
|
|
189
|
+
content: z.ZodString;
|
|
190
|
+
level: z.ZodEnum<{
|
|
191
|
+
info: "info";
|
|
192
|
+
}>;
|
|
193
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
194
|
+
logicalParentUuid: z.ZodOptional<z.ZodString>;
|
|
195
|
+
compactMetadata: z.ZodOptional<z.ZodObject<{
|
|
196
|
+
trigger: z.ZodString;
|
|
197
|
+
preTokens: z.ZodNumber;
|
|
198
|
+
}, z.core.$strip>>;
|
|
199
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
200
|
+
type: z.ZodLiteral<"file-history-snapshot">;
|
|
201
|
+
messageId: z.ZodString;
|
|
202
|
+
snapshot: z.ZodObject<{
|
|
203
|
+
messageId: z.ZodString;
|
|
204
|
+
trackedFileBackups: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
205
|
+
timestamp: z.ZodString;
|
|
206
|
+
}, z.core.$strip>;
|
|
207
|
+
isSnapshotUpdate: z.ZodBoolean;
|
|
208
|
+
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
|
|
209
|
+
type: z.ZodLiteral<"queue-operation">;
|
|
210
|
+
operation: z.ZodLiteral<"enqueue">;
|
|
211
|
+
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
212
|
+
type: z.ZodLiteral<"text">;
|
|
213
|
+
text: z.ZodString;
|
|
214
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
215
|
+
type: z.ZodLiteral<"tool_result">;
|
|
216
|
+
tool_use_id: z.ZodString;
|
|
217
|
+
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
218
|
+
type: z.ZodLiteral<"text">;
|
|
219
|
+
text: z.ZodString;
|
|
220
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
221
|
+
type: z.ZodLiteral<"image">;
|
|
222
|
+
source: z.ZodObject<{
|
|
223
|
+
type: z.ZodLiteral<"base64">;
|
|
224
|
+
data: z.ZodString;
|
|
225
|
+
media_type: z.ZodEnum<{
|
|
226
|
+
"image/png": "image/png";
|
|
227
|
+
"image/jpeg": "image/jpeg";
|
|
228
|
+
"image/gif": "image/gif";
|
|
229
|
+
"image/webp": "image/webp";
|
|
230
|
+
}>;
|
|
231
|
+
}, z.core.$strip>;
|
|
232
|
+
}, z.core.$strip>]>>]>;
|
|
233
|
+
is_error: z.ZodOptional<z.ZodBoolean>;
|
|
234
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
235
|
+
type: z.ZodLiteral<"image">;
|
|
236
|
+
source: z.ZodObject<{
|
|
237
|
+
type: z.ZodLiteral<"base64">;
|
|
238
|
+
data: z.ZodString;
|
|
239
|
+
media_type: z.ZodEnum<{
|
|
240
|
+
"image/png": "image/png";
|
|
241
|
+
"image/jpeg": "image/jpeg";
|
|
242
|
+
"image/gif": "image/gif";
|
|
243
|
+
"image/webp": "image/webp";
|
|
244
|
+
}>;
|
|
245
|
+
}, z.core.$strip>;
|
|
246
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
247
|
+
type: z.ZodLiteral<"document">;
|
|
248
|
+
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
249
|
+
media_type: z.ZodLiteral<"text/plain">;
|
|
250
|
+
type: z.ZodLiteral<"text">;
|
|
251
|
+
data: z.ZodString;
|
|
252
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
253
|
+
media_type: z.ZodEnum<{
|
|
254
|
+
"application/pdf": "application/pdf";
|
|
255
|
+
}>;
|
|
256
|
+
type: z.ZodLiteral<"base64">;
|
|
257
|
+
data: z.ZodString;
|
|
258
|
+
}, z.core.$strip>]>;
|
|
259
|
+
}, z.core.$strip>]>]>>]>;
|
|
260
|
+
sessionId: z.ZodString;
|
|
261
|
+
timestamp: z.ZodString;
|
|
262
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
263
|
+
type: z.ZodLiteral<"queue-operation">;
|
|
264
|
+
operation: z.ZodLiteral<"dequeue">;
|
|
265
|
+
sessionId: z.ZodString;
|
|
266
|
+
timestamp: z.ZodString;
|
|
267
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
268
|
+
type: z.ZodLiteral<"queue-operation">;
|
|
269
|
+
operation: z.ZodLiteral<"remove">;
|
|
270
|
+
sessionId: z.ZodString;
|
|
271
|
+
timestamp: z.ZodString;
|
|
272
|
+
}, z.core.$strip>]>]>;
|
|
273
|
+
export type SessionEntry = z.infer<typeof SessionEntrySchema>;
|
|
274
|
+
export type SidechainEntry = UserEntry | AssistantEntry | SystemEntry;
|
|
275
|
+
export type ClaudeSessionEntry = SessionEntry;
|
|
276
|
+
export declare const ClaudeSessionEntrySchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
277
|
+
isSidechain: z.ZodBoolean;
|
|
278
|
+
userType: z.ZodEnum<{
|
|
279
|
+
external: "external";
|
|
280
|
+
}>;
|
|
281
|
+
cwd: z.ZodString;
|
|
282
|
+
sessionId: z.ZodString;
|
|
283
|
+
version: z.ZodString;
|
|
284
|
+
uuid: z.ZodString;
|
|
285
|
+
timestamp: z.ZodString;
|
|
286
|
+
parentUuid: z.ZodNullable<z.ZodString>;
|
|
287
|
+
isMeta: z.ZodOptional<z.ZodBoolean>;
|
|
288
|
+
toolUseResult: z.ZodOptional<z.ZodUnknown>;
|
|
289
|
+
gitBranch: z.ZodOptional<z.ZodString>;
|
|
290
|
+
isCompactSummary: z.ZodOptional<z.ZodBoolean>;
|
|
291
|
+
type: z.ZodLiteral<"user">;
|
|
292
|
+
message: z.ZodObject<{
|
|
293
|
+
role: z.ZodLiteral<"user">;
|
|
294
|
+
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
295
|
+
type: z.ZodLiteral<"text">;
|
|
296
|
+
text: z.ZodString;
|
|
297
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
298
|
+
type: z.ZodLiteral<"tool_result">;
|
|
299
|
+
tool_use_id: z.ZodString;
|
|
300
|
+
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
301
|
+
type: z.ZodLiteral<"text">;
|
|
302
|
+
text: z.ZodString;
|
|
303
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
304
|
+
type: z.ZodLiteral<"image">;
|
|
305
|
+
source: z.ZodObject<{
|
|
306
|
+
type: z.ZodLiteral<"base64">;
|
|
307
|
+
data: z.ZodString;
|
|
308
|
+
media_type: z.ZodEnum<{
|
|
309
|
+
"image/png": "image/png";
|
|
310
|
+
"image/jpeg": "image/jpeg";
|
|
311
|
+
"image/gif": "image/gif";
|
|
312
|
+
"image/webp": "image/webp";
|
|
313
|
+
}>;
|
|
314
|
+
}, z.core.$strip>;
|
|
315
|
+
}, z.core.$strip>]>>]>;
|
|
316
|
+
is_error: z.ZodOptional<z.ZodBoolean>;
|
|
317
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
318
|
+
type: z.ZodLiteral<"image">;
|
|
319
|
+
source: z.ZodObject<{
|
|
320
|
+
type: z.ZodLiteral<"base64">;
|
|
321
|
+
data: z.ZodString;
|
|
322
|
+
media_type: z.ZodEnum<{
|
|
323
|
+
"image/png": "image/png";
|
|
324
|
+
"image/jpeg": "image/jpeg";
|
|
325
|
+
"image/gif": "image/gif";
|
|
326
|
+
"image/webp": "image/webp";
|
|
327
|
+
}>;
|
|
328
|
+
}, z.core.$strip>;
|
|
329
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
330
|
+
type: z.ZodLiteral<"document">;
|
|
331
|
+
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
332
|
+
media_type: z.ZodLiteral<"text/plain">;
|
|
333
|
+
type: z.ZodLiteral<"text">;
|
|
334
|
+
data: z.ZodString;
|
|
335
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
336
|
+
media_type: z.ZodEnum<{
|
|
337
|
+
"application/pdf": "application/pdf";
|
|
338
|
+
}>;
|
|
339
|
+
type: z.ZodLiteral<"base64">;
|
|
340
|
+
data: z.ZodString;
|
|
341
|
+
}, z.core.$strip>]>;
|
|
342
|
+
}, z.core.$strip>]>]>>]>;
|
|
343
|
+
}, z.core.$strip>;
|
|
344
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
345
|
+
isSidechain: z.ZodBoolean;
|
|
346
|
+
userType: z.ZodEnum<{
|
|
347
|
+
external: "external";
|
|
348
|
+
}>;
|
|
349
|
+
cwd: z.ZodString;
|
|
350
|
+
sessionId: z.ZodString;
|
|
351
|
+
version: z.ZodString;
|
|
352
|
+
uuid: z.ZodString;
|
|
353
|
+
timestamp: z.ZodString;
|
|
354
|
+
parentUuid: z.ZodNullable<z.ZodString>;
|
|
355
|
+
isMeta: z.ZodOptional<z.ZodBoolean>;
|
|
356
|
+
toolUseResult: z.ZodOptional<z.ZodUnknown>;
|
|
357
|
+
gitBranch: z.ZodOptional<z.ZodString>;
|
|
358
|
+
isCompactSummary: z.ZodOptional<z.ZodBoolean>;
|
|
359
|
+
type: z.ZodLiteral<"assistant">;
|
|
360
|
+
message: z.ZodObject<{
|
|
361
|
+
id: z.ZodString;
|
|
362
|
+
container: z.ZodOptional<z.ZodNull>;
|
|
363
|
+
type: z.ZodLiteral<"message">;
|
|
364
|
+
role: z.ZodLiteral<"assistant">;
|
|
365
|
+
model: z.ZodString;
|
|
366
|
+
content: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
367
|
+
type: z.ZodLiteral<"thinking">;
|
|
368
|
+
thinking: z.ZodString;
|
|
369
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
370
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
371
|
+
type: z.ZodLiteral<"text">;
|
|
372
|
+
text: z.ZodString;
|
|
373
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
374
|
+
type: z.ZodLiteral<"tool_use">;
|
|
375
|
+
id: z.ZodString;
|
|
376
|
+
name: z.ZodString;
|
|
377
|
+
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
378
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
379
|
+
type: z.ZodLiteral<"tool_result">;
|
|
380
|
+
tool_use_id: z.ZodString;
|
|
381
|
+
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
382
|
+
type: z.ZodLiteral<"text">;
|
|
383
|
+
text: z.ZodString;
|
|
384
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
385
|
+
type: z.ZodLiteral<"image">;
|
|
386
|
+
source: z.ZodObject<{
|
|
387
|
+
type: z.ZodLiteral<"base64">;
|
|
388
|
+
data: z.ZodString;
|
|
389
|
+
media_type: z.ZodEnum<{
|
|
390
|
+
"image/png": "image/png";
|
|
391
|
+
"image/jpeg": "image/jpeg";
|
|
392
|
+
"image/gif": "image/gif";
|
|
393
|
+
"image/webp": "image/webp";
|
|
394
|
+
}>;
|
|
395
|
+
}, z.core.$strip>;
|
|
396
|
+
}, z.core.$strip>]>>]>;
|
|
397
|
+
is_error: z.ZodOptional<z.ZodBoolean>;
|
|
398
|
+
}, z.core.$strip>]>>;
|
|
399
|
+
stop_reason: z.ZodNullable<z.ZodString>;
|
|
400
|
+
stop_sequence: z.ZodNullable<z.ZodString>;
|
|
401
|
+
usage: z.ZodObject<{
|
|
402
|
+
input_tokens: z.ZodNumber;
|
|
403
|
+
cache_creation_input_tokens: z.ZodOptional<z.ZodNumber>;
|
|
404
|
+
cache_read_input_tokens: z.ZodOptional<z.ZodNumber>;
|
|
405
|
+
cache_creation: z.ZodOptional<z.ZodObject<{
|
|
406
|
+
ephemeral_5m_input_tokens: z.ZodNumber;
|
|
407
|
+
ephemeral_1h_input_tokens: z.ZodNumber;
|
|
408
|
+
}, z.core.$strip>>;
|
|
409
|
+
output_tokens: z.ZodNumber;
|
|
410
|
+
service_tier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
411
|
+
server_tool_use: z.ZodOptional<z.ZodObject<{
|
|
412
|
+
web_search_requests: z.ZodNumber;
|
|
413
|
+
}, z.core.$strip>>;
|
|
414
|
+
}, z.core.$strip>;
|
|
415
|
+
}, z.core.$strip>;
|
|
416
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
417
|
+
isApiErrorMessage: z.ZodOptional<z.ZodBoolean>;
|
|
418
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
419
|
+
type: z.ZodLiteral<"summary">;
|
|
420
|
+
summary: z.ZodString;
|
|
421
|
+
leafUuid: z.ZodString;
|
|
422
|
+
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
|
|
423
|
+
isSidechain: z.ZodBoolean;
|
|
424
|
+
userType: z.ZodEnum<{
|
|
425
|
+
external: "external";
|
|
426
|
+
}>;
|
|
427
|
+
cwd: z.ZodString;
|
|
428
|
+
sessionId: z.ZodString;
|
|
429
|
+
version: z.ZodString;
|
|
430
|
+
uuid: z.ZodString;
|
|
431
|
+
timestamp: z.ZodString;
|
|
432
|
+
parentUuid: z.ZodNullable<z.ZodString>;
|
|
433
|
+
isMeta: z.ZodOptional<z.ZodBoolean>;
|
|
434
|
+
toolUseResult: z.ZodOptional<z.ZodUnknown>;
|
|
435
|
+
gitBranch: z.ZodOptional<z.ZodString>;
|
|
436
|
+
isCompactSummary: z.ZodOptional<z.ZodBoolean>;
|
|
437
|
+
type: z.ZodLiteral<"system">;
|
|
438
|
+
content: z.ZodString;
|
|
439
|
+
toolUseID: z.ZodString;
|
|
440
|
+
level: z.ZodEnum<{
|
|
441
|
+
info: "info";
|
|
442
|
+
}>;
|
|
443
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
444
|
+
isSidechain: z.ZodBoolean;
|
|
445
|
+
userType: z.ZodEnum<{
|
|
446
|
+
external: "external";
|
|
447
|
+
}>;
|
|
448
|
+
cwd: z.ZodString;
|
|
449
|
+
sessionId: z.ZodString;
|
|
450
|
+
version: z.ZodString;
|
|
451
|
+
uuid: z.ZodString;
|
|
452
|
+
timestamp: z.ZodString;
|
|
453
|
+
parentUuid: z.ZodNullable<z.ZodString>;
|
|
454
|
+
isMeta: z.ZodOptional<z.ZodBoolean>;
|
|
455
|
+
toolUseResult: z.ZodOptional<z.ZodUnknown>;
|
|
456
|
+
gitBranch: z.ZodOptional<z.ZodString>;
|
|
457
|
+
isCompactSummary: z.ZodOptional<z.ZodBoolean>;
|
|
458
|
+
type: z.ZodLiteral<"system">;
|
|
459
|
+
subtype: z.ZodLiteral<"compact_boundary">;
|
|
460
|
+
content: z.ZodString;
|
|
461
|
+
level: z.ZodEnum<{
|
|
462
|
+
info: "info";
|
|
463
|
+
}>;
|
|
464
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
465
|
+
logicalParentUuid: z.ZodOptional<z.ZodString>;
|
|
466
|
+
compactMetadata: z.ZodOptional<z.ZodObject<{
|
|
467
|
+
trigger: z.ZodString;
|
|
468
|
+
preTokens: z.ZodNumber;
|
|
469
|
+
}, z.core.$strip>>;
|
|
470
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
471
|
+
type: z.ZodLiteral<"file-history-snapshot">;
|
|
472
|
+
messageId: z.ZodString;
|
|
473
|
+
snapshot: z.ZodObject<{
|
|
474
|
+
messageId: z.ZodString;
|
|
475
|
+
trackedFileBackups: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
476
|
+
timestamp: z.ZodString;
|
|
477
|
+
}, z.core.$strip>;
|
|
478
|
+
isSnapshotUpdate: z.ZodBoolean;
|
|
479
|
+
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodObject<{
|
|
480
|
+
type: z.ZodLiteral<"queue-operation">;
|
|
481
|
+
operation: z.ZodLiteral<"enqueue">;
|
|
482
|
+
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
483
|
+
type: z.ZodLiteral<"text">;
|
|
484
|
+
text: z.ZodString;
|
|
485
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
486
|
+
type: z.ZodLiteral<"tool_result">;
|
|
487
|
+
tool_use_id: z.ZodString;
|
|
488
|
+
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
489
|
+
type: z.ZodLiteral<"text">;
|
|
490
|
+
text: z.ZodString;
|
|
491
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
492
|
+
type: z.ZodLiteral<"image">;
|
|
493
|
+
source: z.ZodObject<{
|
|
494
|
+
type: z.ZodLiteral<"base64">;
|
|
495
|
+
data: z.ZodString;
|
|
496
|
+
media_type: z.ZodEnum<{
|
|
497
|
+
"image/png": "image/png";
|
|
498
|
+
"image/jpeg": "image/jpeg";
|
|
499
|
+
"image/gif": "image/gif";
|
|
500
|
+
"image/webp": "image/webp";
|
|
501
|
+
}>;
|
|
502
|
+
}, z.core.$strip>;
|
|
503
|
+
}, z.core.$strip>]>>]>;
|
|
504
|
+
is_error: z.ZodOptional<z.ZodBoolean>;
|
|
505
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
506
|
+
type: z.ZodLiteral<"image">;
|
|
507
|
+
source: z.ZodObject<{
|
|
508
|
+
type: z.ZodLiteral<"base64">;
|
|
509
|
+
data: z.ZodString;
|
|
510
|
+
media_type: z.ZodEnum<{
|
|
511
|
+
"image/png": "image/png";
|
|
512
|
+
"image/jpeg": "image/jpeg";
|
|
513
|
+
"image/gif": "image/gif";
|
|
514
|
+
"image/webp": "image/webp";
|
|
515
|
+
}>;
|
|
516
|
+
}, z.core.$strip>;
|
|
517
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
518
|
+
type: z.ZodLiteral<"document">;
|
|
519
|
+
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
520
|
+
media_type: z.ZodLiteral<"text/plain">;
|
|
521
|
+
type: z.ZodLiteral<"text">;
|
|
522
|
+
data: z.ZodString;
|
|
523
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
524
|
+
media_type: z.ZodEnum<{
|
|
525
|
+
"application/pdf": "application/pdf";
|
|
526
|
+
}>;
|
|
527
|
+
type: z.ZodLiteral<"base64">;
|
|
528
|
+
data: z.ZodString;
|
|
529
|
+
}, z.core.$strip>]>;
|
|
530
|
+
}, z.core.$strip>]>]>>]>;
|
|
531
|
+
sessionId: z.ZodString;
|
|
532
|
+
timestamp: z.ZodString;
|
|
533
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
534
|
+
type: z.ZodLiteral<"queue-operation">;
|
|
535
|
+
operation: z.ZodLiteral<"dequeue">;
|
|
536
|
+
sessionId: z.ZodString;
|
|
537
|
+
timestamp: z.ZodString;
|
|
538
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
539
|
+
type: z.ZodLiteral<"queue-operation">;
|
|
540
|
+
operation: z.ZodLiteral<"remove">;
|
|
541
|
+
sessionId: z.ZodString;
|
|
542
|
+
timestamp: z.ZodString;
|
|
543
|
+
}, z.core.$strip>]>]>;
|
|
544
|
+
export type ClaudeSidechainEntry = SidechainEntry;
|
|
545
|
+
export * from "./entry/AssistantEntrySchema.js";
|
|
546
|
+
export * from "./entry/BaseEntrySchema.js";
|
|
547
|
+
export * from "./entry/FileHistorySnapshotEntrySchema.js";
|
|
548
|
+
export * from "./entry/normalizeQueueOperationContent.js";
|
|
549
|
+
export * from "./entry/QueueOperationEntrySchema.js";
|
|
550
|
+
export * from "./entry/SummaryEntrySchema.js";
|
|
551
|
+
export * from "./entry/SystemEntrySchema.js";
|
|
552
|
+
export * from "./entry/UserEntrySchema.js";
|
|
553
|
+
export * from "./message/AssistantMessageSchema.js";
|
|
554
|
+
export * from "./message/UserMessageSchema.js";
|
|
555
|
+
export * from "./content/DocumentContentSchema.js";
|
|
556
|
+
export * from "./content/ImageContentSchema.js";
|
|
557
|
+
export * from "./content/TextContentSchema.js";
|
|
558
|
+
export * from "./content/ThinkingContentSchema.js";
|
|
559
|
+
export * from "./content/ToolResultContentSchema.js";
|
|
560
|
+
export * from "./content/ToolUseContentSchema.js";
|
|
561
|
+
export * from "./tool/CommonToolSchema.js";
|
|
562
|
+
export * from "./tool/StructuredPatchSchema.js";
|
|
563
|
+
export * from "./tool/TodoSchema.js";
|
|
564
|
+
export { ToolUseResultSchema } from "./tool/index.js";
|
|
565
|
+
export * from "./guards.js";
|
|
566
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/claude-sdk-schema/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,KAAK,cAAc,EAEpB,MAAM,iCAAiC,CAAC;AAIzC,OAAO,EACL,KAAK,WAAW,EAEjB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,4BAA4B,CAAC;AAE7E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAO7B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,cAAc,GAAG,WAAW,CAAC;AAGtE,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC;AAC9C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAqB,CAAC;AAC3D,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC;AAGlD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAE3C,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAE/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAElD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { AssistantEntrySchema, } from "./entry/AssistantEntrySchema.js";
|
|
3
|
+
import { FileHistorySnapshotEntrySchema } from "./entry/FileHistorySnapshotEntrySchema.js";
|
|
4
|
+
import { QueueOperationEntrySchema } from "./entry/QueueOperationEntrySchema.js";
|
|
5
|
+
import { SummaryEntrySchema } from "./entry/SummaryEntrySchema.js";
|
|
6
|
+
import { SystemEntrySchema, } from "./entry/SystemEntrySchema.js";
|
|
7
|
+
import { UserEntrySchema } from "./entry/UserEntrySchema.js";
|
|
8
|
+
export const SessionEntrySchema = z.union([
|
|
9
|
+
UserEntrySchema,
|
|
10
|
+
AssistantEntrySchema,
|
|
11
|
+
SummaryEntrySchema,
|
|
12
|
+
SystemEntrySchema,
|
|
13
|
+
FileHistorySnapshotEntrySchema,
|
|
14
|
+
QueueOperationEntrySchema,
|
|
15
|
+
]);
|
|
16
|
+
export const ClaudeSessionEntrySchema = SessionEntrySchema;
|
|
17
|
+
// Re-export all schemas and types for convenience
|
|
18
|
+
export * from "./entry/AssistantEntrySchema.js";
|
|
19
|
+
export * from "./entry/BaseEntrySchema.js";
|
|
20
|
+
export * from "./entry/FileHistorySnapshotEntrySchema.js";
|
|
21
|
+
export * from "./entry/normalizeQueueOperationContent.js";
|
|
22
|
+
export * from "./entry/QueueOperationEntrySchema.js";
|
|
23
|
+
export * from "./entry/SummaryEntrySchema.js";
|
|
24
|
+
export * from "./entry/SystemEntrySchema.js";
|
|
25
|
+
export * from "./entry/UserEntrySchema.js";
|
|
26
|
+
export * from "./message/AssistantMessageSchema.js";
|
|
27
|
+
export * from "./message/UserMessageSchema.js";
|
|
28
|
+
export * from "./content/DocumentContentSchema.js";
|
|
29
|
+
export * from "./content/ImageContentSchema.js";
|
|
30
|
+
export * from "./content/TextContentSchema.js";
|
|
31
|
+
export * from "./content/ThinkingContentSchema.js";
|
|
32
|
+
export * from "./content/ToolResultContentSchema.js";
|
|
33
|
+
export * from "./content/ToolUseContentSchema.js";
|
|
34
|
+
export * from "./tool/CommonToolSchema.js";
|
|
35
|
+
export * from "./tool/StructuredPatchSchema.js";
|
|
36
|
+
export * from "./tool/TodoSchema.js";
|
|
37
|
+
export { ToolUseResultSchema } from "./tool/index.js";
|
|
38
|
+
export * from "./guards.js";
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/claude-sdk-schema/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAEL,oBAAoB,GACrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2CAA2C,CAAC;AAC3F,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAEL,iBAAiB,GAClB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAkB,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7E,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC;IACxC,eAAe;IACf,oBAAoB;IACpB,kBAAkB;IAClB,iBAAiB;IACjB,8BAA8B;IAC9B,yBAAyB;CAC1B,CAAC,CAAC;AAOH,MAAM,CAAC,MAAM,wBAAwB,GAAG,kBAAkB,CAAC;AAG3D,kDAAkD;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAE3C,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAE/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAElD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD,cAAc,aAAa,CAAC"}
|