spiracha 1.3.3 → 1.5.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/AGENTS.md +55 -6
- package/README.md +46 -5
- package/apps/ui/AGENTS.md +31 -4
- package/apps/ui/README.md +59 -5
- package/apps/ui/dist/client/assets/analytics-DOy1b6Sh.js +1 -0
- package/apps/ui/dist/client/assets/antigravity-conversations._conversationId-DqySVO2K.js +7 -0
- package/apps/ui/dist/client/assets/antigravity-conversations._conversationId-KAcXtNxI.js +1 -0
- package/apps/ui/dist/client/assets/antigravity-keychain-panel-B77qJz6f.js +1 -0
- package/apps/ui/dist/client/assets/antigravity._workspaceKey-B3NM6gRH.js +1 -0
- package/apps/ui/dist/client/assets/antigravity._workspaceKey-ByitGWki.js +1 -0
- package/apps/ui/dist/client/assets/antigravity.index-DP9JC2P9.js +1 -0
- package/apps/ui/dist/client/assets/antigravity.index-DgW25FEV.js +1 -0
- package/apps/ui/dist/client/assets/badge-C3i4OKs8.js +1 -0
- package/apps/ui/dist/client/assets/checkbox-CdHitXWQ.js +1 -0
- package/apps/ui/dist/client/assets/claude-code-sessions._sessionId-8pQ55ci2.js +1 -0
- package/apps/ui/dist/client/assets/claude-code-sessions._sessionId-DVz5UmtU.js +1 -0
- package/apps/ui/dist/client/assets/claude-code._workspaceKey-BBKskSum.js +1 -0
- package/apps/ui/dist/client/assets/claude-code._workspaceKey-OkikMUFs.js +1 -0
- package/apps/ui/dist/client/assets/claude-code.index-Cwu76dbb.js +1 -0
- package/apps/ui/dist/client/assets/claude-code.index-D6eMd08t.js +1 -0
- package/apps/ui/dist/client/assets/createServerFn-B-KkwmHU.js +3 -0
- package/apps/ui/dist/client/assets/cursor-threads._composerId-CmBFclK8.js +1 -0
- package/apps/ui/dist/client/assets/cursor-threads._composerId-hBWlP1D-.js +1 -0
- package/apps/ui/dist/client/assets/cursor._workspaceKey-BFPkIRi-.js +1 -0
- package/apps/ui/dist/client/assets/cursor._workspaceKey-CaAZjGmm.js +1 -0
- package/apps/ui/dist/client/assets/cursor.index-8y4o20kb.js +2 -0
- package/apps/ui/dist/client/assets/cursor.index-CrnMwDCi.js +1 -0
- package/apps/ui/dist/client/assets/{data-table-DeQq8xdt.js → data-table-Br78_dk3.js} +2 -2
- package/apps/ui/dist/client/assets/delete-confirm-dialog-Bxs07u-j.js +7 -0
- package/apps/ui/dist/client/assets/dist-B9pyYCVU.js +1 -0
- package/apps/ui/dist/client/assets/dist-BrJhN2A0.js +5 -0
- package/apps/ui/dist/client/assets/dist-Cmd3AIfD.js +1 -0
- package/apps/ui/dist/client/assets/dist-DvMS2965.js +1 -0
- package/apps/ui/dist/client/assets/download-Bf0QJKD3.js +1 -0
- package/apps/ui/dist/client/assets/dropdown-menu-D5cvPaZt.js +1 -0
- package/apps/ui/dist/client/assets/es2015-ad6040dw.js +41 -0
- package/apps/ui/dist/client/assets/export-dialog-Dr8d2MqD.js +1 -0
- package/apps/ui/dist/client/assets/formatters-BtqyrX_c.js +1 -0
- package/apps/ui/dist/client/assets/index-C-STgIH4.js +166 -0
- package/apps/ui/dist/client/assets/jsx-runtime-DGeXAQPT.js +1 -0
- package/apps/ui/dist/client/assets/kiro-sessions._sessionId-CKgfJ7GR.js +1 -0
- package/apps/ui/dist/client/assets/kiro-sessions._sessionId-zvIJHtQF.js +1 -0
- package/apps/ui/dist/client/assets/kiro._workspaceKey-DhVuJuZB.js +1 -0
- package/apps/ui/dist/client/assets/kiro._workspaceKey-QArsjkTY.js +1 -0
- package/apps/ui/dist/client/assets/kiro.index-C-fr4m7i.js +1 -0
- package/apps/ui/dist/client/assets/kiro.index-OYgAdtZd.js +1 -0
- package/apps/ui/dist/client/assets/metric-card-Dplm0ZiM.js +1 -0
- package/apps/ui/dist/client/assets/opencode-sessions._sessionId-DLjiTst-.js +1 -0
- package/apps/ui/dist/client/assets/opencode-sessions._sessionId-biBwrRbt.js +8 -0
- package/apps/ui/dist/client/assets/opencode._workspaceKey-C7OIzMOJ.js +1 -0
- package/apps/ui/dist/client/assets/opencode._workspaceKey-sBakX0oI.js +1 -0
- package/apps/ui/dist/client/assets/opencode.index-Bl_kNs9N.js +1 -0
- package/apps/ui/dist/client/assets/opencode.index-CN53bVmb.js +1 -0
- package/apps/ui/dist/client/assets/page-header-Cwa3p6Tl.js +1 -0
- package/apps/ui/dist/client/assets/preload-helper-B8fFrdxC.js +1 -0
- package/apps/ui/dist/client/assets/projects._project-D8WloxQN.js +1 -0
- package/apps/ui/dist/client/assets/projects._project-DSDwH4NF.js +1 -0
- package/apps/ui/dist/client/assets/projects.index-5xRtuJdX.js +3 -0
- package/apps/ui/dist/client/assets/projects.index-DEfhWqa8.js +1 -0
- package/apps/ui/dist/client/assets/react-dom-DL96Jor4.js +1 -0
- package/apps/ui/dist/client/assets/refresh-ccw-BgKjOiA6.js +1 -0
- package/apps/ui/dist/client/assets/reload-error-panel-AHqu0akK.js +1 -0
- package/apps/ui/dist/client/assets/routes-DnzF_9CX.js +1 -0
- package/apps/ui/dist/client/assets/scroll-text-fM0sMOB3.js +1 -0
- package/apps/ui/dist/client/assets/select-CYF6pF37.js +1 -0
- package/apps/ui/dist/client/assets/settings-Dx70jgP_.js +1 -0
- package/apps/ui/dist/client/assets/sqlite-error-B6uZjUe8.js +1 -0
- package/apps/ui/dist/client/assets/styles-B7Zi9EFA.css +1 -0
- package/apps/ui/dist/client/assets/tabs-CmuhkT-c.js +7 -0
- package/apps/ui/dist/client/assets/text-filter-DVAZySUS.js +2 -0
- package/apps/ui/dist/client/assets/thread-transcript-stats-BUNz6u7F.js +1 -0
- package/apps/ui/dist/client/assets/threads._threadId-BB9tTsV4.js +1 -0
- package/apps/ui/dist/client/assets/threads._threadId-BMRSFow3.js +1 -0
- package/apps/ui/dist/client/assets/useMutation-BSFult2i.js +1 -0
- package/apps/ui/dist/client/assets/useQuery-CjINKZf1.js +1 -0
- package/apps/ui/dist/client/icon.svg +2 -1
- package/apps/ui/dist/server/assets/_tanstack-start-manifest_v-CQ8Jjs3B.js +387 -0
- package/apps/ui/dist/server/assets/analytics-CYP_LT5Y.js +16 -0
- package/apps/ui/dist/server/assets/{analytics-Dc_QDZZC.js → analytics-CtpOMVMO.js} +13 -6
- package/apps/ui/dist/server/assets/antigravity-conversations._conversationId-BKOyL2T6.js +613 -0
- package/apps/ui/dist/server/assets/{antigravity-conversations._conversationId-C9z4AeN-.js → antigravity-conversations._conversationId-eS87Dx7g.js} +2 -2
- package/apps/ui/dist/server/assets/{antigravity-db-D9gW1D8G.js → antigravity-db-Bh8_U9uw.js} +11 -7
- package/apps/ui/dist/server/assets/{antigravity-keychain-panel-bpPoxhyp.js → antigravity-keychain-panel-CC7FLmAK.js} +1 -1
- package/apps/ui/dist/server/assets/{antigravity-queries-DVIKyOXi.js → antigravity-queries-CGrJO9Vr.js} +5 -5
- package/apps/ui/dist/server/assets/{antigravity-server-Cp1lc8fp.js → antigravity-server-CHRjVFqN.js} +11 -11
- package/apps/ui/dist/server/assets/{antigravity._workspaceKey-Dl8o1ptg.js → antigravity._workspaceKey-B0QeYUOh.js} +2 -2
- package/apps/ui/dist/server/assets/{antigravity._workspaceKey-BAoa4izU.js → antigravity._workspaceKey-C3kP-qyN.js} +4 -4
- package/apps/ui/dist/server/assets/{antigravity.index-BOlrJasZ.js → antigravity.index-CPCYkqCi.js} +2 -2
- package/apps/ui/dist/server/assets/claude-code-db-Ik3VStKZ.js +361 -0
- package/apps/ui/dist/server/assets/claude-code-queries-Cgzi4K-e.js +37 -0
- package/apps/ui/dist/server/assets/claude-code-server-PfraClXS.js +72 -0
- package/apps/ui/dist/server/assets/claude-code-sessions._sessionId-C55oe6zj.js +18 -0
- package/apps/ui/dist/server/assets/claude-code-sessions._sessionId-D1RYYi3j.js +473 -0
- package/apps/ui/dist/server/assets/claude-code-sessions._sessionId-DSvPLEUL.js +11 -0
- package/apps/ui/dist/server/assets/claude-code-transcript-C-bxh3cS.js +139 -0
- package/apps/ui/dist/server/assets/claude-code-transcript-phase-DmUMc8VU.js +10 -0
- package/apps/ui/dist/server/assets/claude-code._workspaceKey-B5Xg_-tE.js +28 -0
- package/apps/ui/dist/server/assets/claude-code._workspaceKey-BPlzyXPa.js +11 -0
- package/apps/ui/dist/server/assets/claude-code._workspaceKey-DqDve2wl.js +191 -0
- package/apps/ui/dist/server/assets/claude-code.index-B7yYR7dD.js +92 -0
- package/apps/ui/dist/server/assets/claude-code.index-BUHThG1W.js +11 -0
- package/apps/ui/dist/server/assets/{codex-queries-ev_mRUzr.js → codex-queries-CtgeZ7VL.js} +15 -13
- package/apps/ui/dist/server/assets/{codex-server-DIYFLozB.js → codex-server-CGXU4H8-.js} +421 -146
- package/apps/ui/dist/server/assets/concurrency-VXtYvlGh.js +18 -0
- package/apps/ui/dist/server/assets/{createServerRpc-Cg-Zr1rq.js → createServerRpc-CF_DEwnm.js} +1 -1
- package/apps/ui/dist/server/assets/{createSsrRpc-DVnVQhGx.js → createSsrRpc-C754NPki.js} +1 -1
- package/apps/ui/dist/server/assets/{cursor-db-B7agkAvM.js → cursor-db-CZnYy7aT.js} +196 -9
- package/apps/ui/dist/server/assets/{cursor-queries-f7DjBKSD.js → cursor-queries-NCIM0Nat.js} +12 -10
- package/apps/ui/dist/server/assets/{cursor-recovery-9bJLs7vG.js → cursor-recovery-CXpO8KcD.js} +2 -2
- package/apps/ui/dist/server/assets/{cursor-server-nPzojHN3.js → cursor-server-DNu52A3K.js} +71 -42
- package/apps/ui/dist/server/assets/cursor-threads._composerId-Ckn6ItHI.js +582 -0
- package/apps/ui/dist/server/assets/{cursor-threads._composerId-B3qcsh9C.js → cursor-threads._composerId-p9-ARAzc.js} +2 -2
- package/apps/ui/dist/server/assets/{cursor-transcript-2iL3KFSK.js → cursor-transcript-B7tGnqtn.js} +1 -1
- package/apps/ui/dist/server/assets/{cursor._workspaceKey-BL_CQyHQ.js → cursor._workspaceKey-CZuohIUL.js} +2 -2
- package/apps/ui/dist/server/assets/{cursor._workspaceKey-BhQeepXB.js → cursor._workspaceKey-DPp5JSjy.js} +11 -9
- package/apps/ui/dist/server/assets/{cursor.index-CsrdckZD.js → cursor.index-DkWT-mxw.js} +2 -2
- package/apps/ui/dist/server/assets/{delete-confirm-dialog-PCD7S0_M.js → delete-confirm-dialog-BcBNCxWB.js} +5 -1
- package/apps/ui/dist/server/assets/{empty-plugin-adapters-D3qLMPfC.js → empty-plugin-adapters-B3lHh1La.js} +1 -1
- package/apps/ui/dist/server/assets/{export-dialog-DaPlOGFT.js → export-dialog-D88ze9Gy.js} +54 -12
- package/apps/ui/dist/server/assets/kiro-db--fXrED_-.js +552 -0
- package/apps/ui/dist/server/assets/kiro-queries-CzNlM2ok.js +37 -0
- package/apps/ui/dist/server/assets/kiro-server-9WRxg2Au.js +72 -0
- package/apps/ui/dist/server/assets/kiro-sessions._sessionId-CRY2c7YO.js +11 -0
- package/apps/ui/dist/server/assets/kiro-sessions._sessionId-F1UlwxmR.js +449 -0
- package/apps/ui/dist/server/assets/kiro-sessions._sessionId-bvTulT7C.js +18 -0
- package/apps/ui/dist/server/assets/kiro-transcript-DoekQBaH.js +112 -0
- package/apps/ui/dist/server/assets/kiro-transcript-phase-CJG40nQg.js +27 -0
- package/apps/ui/dist/server/assets/kiro._workspaceKey-BDe9sQwo.js +11 -0
- package/apps/ui/dist/server/assets/kiro._workspaceKey-CJsjgNwO.js +28 -0
- package/apps/ui/dist/server/assets/kiro._workspaceKey-D_-4Qb7y.js +193 -0
- package/apps/ui/dist/server/assets/kiro.index-C__-UROk.js +11 -0
- package/apps/ui/dist/server/assets/kiro.index-CmTbqeYj.js +93 -0
- package/apps/ui/dist/server/assets/opencode-db-BM7KjOzc.js +397 -0
- package/apps/ui/dist/server/assets/opencode-queries-BeNYXnQv.js +50 -0
- package/apps/ui/dist/server/assets/opencode-server-BpQ_kRze.js +72 -0
- package/apps/ui/dist/server/assets/opencode-sessions._sessionId-CGQ-t0vD.js +518 -0
- package/apps/ui/dist/server/assets/opencode-sessions._sessionId-D8Q7in_Z.js +18 -0
- package/apps/ui/dist/server/assets/opencode-sessions._sessionId-DKOvi0lV.js +11 -0
- package/apps/ui/dist/server/assets/opencode-think-tags-CAoD-EcZ.js +87 -0
- package/apps/ui/dist/server/assets/opencode-transcript-BNTcGNym.js +141 -0
- package/apps/ui/dist/server/assets/opencode-transcript-phase-OqLkiQD0.js +32 -0
- package/apps/ui/dist/server/assets/opencode._workspaceKey-BdqcWHw1.js +11 -0
- package/apps/ui/dist/server/assets/opencode._workspaceKey-CfH96HTT.js +28 -0
- package/apps/ui/dist/server/assets/opencode._workspaceKey-DdbHPDrO.js +207 -0
- package/apps/ui/dist/server/assets/opencode.index-BbVzkJXP.js +11 -0
- package/apps/ui/dist/server/assets/opencode.index-Vh_Gq_1L.js +93 -0
- package/apps/ui/dist/server/assets/{projects._project-CqqUFr4l.js → projects._project-4io5LO0E.js} +5 -3
- package/apps/ui/dist/server/assets/{projects._project-DahGqNYS.js → projects._project-D6ZoGhJ8.js} +42 -12
- package/apps/ui/dist/server/assets/{projects.index-CkTeFWNU.js → projects.index-BkLiF2FF.js} +21 -7
- package/apps/ui/dist/server/assets/projects.index-DesYXwfi.js +14 -0
- package/apps/ui/dist/server/assets/route-search-ts4W9MJ9.js +38 -0
- package/apps/ui/dist/server/assets/router-Sac2DGk6.js +518 -0
- package/apps/ui/dist/server/assets/{routes-Xix3ZeSo.js → routes-Bsact1uB.js} +2 -2
- package/apps/ui/dist/server/assets/{routes-0x1U0IHq.js → routes-BzkJgq4W.js} +2 -2
- package/apps/ui/dist/server/assets/{shared-CPRNYIql.js → shared-DyhChtHf.js} +4 -1
- package/apps/ui/dist/server/assets/source-session-export-server-DNutCawb.js +38 -0
- package/apps/ui/dist/server/assets/start-B_HFwkkk.js +4 -0
- package/apps/ui/dist/server/assets/tabs-DkaChNVg.js +501 -0
- package/apps/ui/dist/server/assets/thread-transcript-stats-Dh34mt2u.js +45 -0
- package/apps/ui/dist/server/assets/threads._threadId-BeXEc4Lo.js +648 -0
- package/apps/ui/dist/server/assets/{threads._threadId-BLCkGW--.js → threads._threadId-Ci0S4mKU.js} +2 -2
- package/apps/ui/dist/server/assets/ui-export-files-BHLX9bhN.js +83 -0
- package/apps/ui/dist/server/server.js +141 -83
- package/package.json +28 -11
- package/src/lib/antigravity-db.ts +20 -13
- package/src/lib/claude-code-db.ts +655 -0
- package/src/lib/claude-code-exporter-types.ts +110 -0
- package/src/lib/claude-code-transcript-phase.ts +25 -0
- package/src/lib/claude-code-transcript.ts +180 -0
- package/src/lib/codex-analytics.ts +118 -18
- package/src/lib/codex-browser-db.ts +491 -56
- package/src/lib/codex-browser-export.ts +27 -71
- package/src/lib/codex-thread-cache.ts +17 -1
- package/src/lib/concurrency.ts +25 -0
- package/src/lib/cursor-db.ts +318 -7
- package/src/lib/cursor-exporter.ts +2 -2
- package/src/lib/kiro-db.ts +949 -0
- package/src/lib/kiro-exporter-types.ts +100 -0
- package/src/lib/kiro-transcript-phase.ts +41 -0
- package/src/lib/kiro-transcript.ts +115 -0
- package/src/lib/opencode-db.ts +610 -0
- package/src/lib/opencode-exporter-types.ts +129 -0
- package/src/lib/opencode-think-tags.ts +126 -0
- package/src/lib/opencode-transcript-phase.ts +50 -0
- package/src/lib/opencode-transcript.ts +194 -0
- package/src/lib/shared.ts +25 -0
- package/src/lib/ui-cache.ts +14 -1
- package/src/lib/ui-export-archive.ts +61 -0
- package/apps/ui/dist/client/assets/analytics-C83LcWNb.js +0 -1
- package/apps/ui/dist/client/assets/antigravity-conversations._conversationId-DkY8EEpK.js +0 -1
- package/apps/ui/dist/client/assets/antigravity-conversations._conversationId-OraHuz8j.js +0 -1
- package/apps/ui/dist/client/assets/antigravity-keychain-panel-DnDcq1ge.js +0 -1
- package/apps/ui/dist/client/assets/antigravity._workspaceKey-CQaZscA5.js +0 -1
- package/apps/ui/dist/client/assets/antigravity._workspaceKey-DTs99obU.js +0 -1
- package/apps/ui/dist/client/assets/antigravity.index-DbJa715k.js +0 -1
- package/apps/ui/dist/client/assets/antigravity.index-P-rs6w5X.js +0 -1
- package/apps/ui/dist/client/assets/badge-wgTVp-aq.js +0 -1
- package/apps/ui/dist/client/assets/checkbox-BUx0Gkuf.js +0 -1
- package/apps/ui/dist/client/assets/cursor-threads._composerId-D0DFXt8t.js +0 -1
- package/apps/ui/dist/client/assets/cursor-threads._composerId-tFa6Cf6A.js +0 -1
- package/apps/ui/dist/client/assets/cursor._workspaceKey-Df4PfA2k.js +0 -1
- package/apps/ui/dist/client/assets/cursor._workspaceKey-DwrzEtnV.js +0 -1
- package/apps/ui/dist/client/assets/cursor.index-CNBf4ZiR.js +0 -1
- package/apps/ui/dist/client/assets/cursor.index-DP9Hy8X6.js +0 -2
- package/apps/ui/dist/client/assets/delete-confirm-dialog-CPlNsLhM.js +0 -11
- package/apps/ui/dist/client/assets/dist-Ds3kS91l.js +0 -1
- package/apps/ui/dist/client/assets/download-DLuPnxpV.js +0 -1
- package/apps/ui/dist/client/assets/dropdown-menu-lFk6zjoL.js +0 -1
- package/apps/ui/dist/client/assets/es2015-D-H_iZF6.js +0 -41
- package/apps/ui/dist/client/assets/export-dialog-CyqyvwiP.js +0 -1
- package/apps/ui/dist/client/assets/formatters-DbCKP02D.js +0 -1
- package/apps/ui/dist/client/assets/index-C-ZPpKJ0.js +0 -22
- package/apps/ui/dist/client/assets/json-panel-BsngvucB.js +0 -1
- package/apps/ui/dist/client/assets/metadata-section-Dtl8dNag.js +0 -1
- package/apps/ui/dist/client/assets/metric-card-DNzR1Rne.js +0 -1
- package/apps/ui/dist/client/assets/page-header-dha_O7ZL.js +0 -1
- package/apps/ui/dist/client/assets/projects._project-B7HBhbXv.js +0 -1
- package/apps/ui/dist/client/assets/projects._project-DHVvuT7A.js +0 -1
- package/apps/ui/dist/client/assets/projects.index-BUUtx2AZ.js +0 -1
- package/apps/ui/dist/client/assets/projects.index-BojAe1Y4.js +0 -3
- package/apps/ui/dist/client/assets/refresh-ccw-B-ASKHtx.js +0 -1
- package/apps/ui/dist/client/assets/reload-error-panel-DD8M1BIY.js +0 -1
- package/apps/ui/dist/client/assets/routes-q7bzFp35.js +0 -1
- package/apps/ui/dist/client/assets/scroll-text-TvHyiJ_N.js +0 -1
- package/apps/ui/dist/client/assets/select-BFv1HMiT.js +0 -1
- package/apps/ui/dist/client/assets/settings-CvegTo4F.js +0 -1
- package/apps/ui/dist/client/assets/styles-Ch0r3kMZ.css +0 -1
- package/apps/ui/dist/client/assets/text-document-panel-D7Rws41o.js +0 -1
- package/apps/ui/dist/client/assets/text-filter-2q5pEoZh.js +0 -2
- package/apps/ui/dist/client/assets/threads._threadId-LpZVUlPq.js +0 -7
- package/apps/ui/dist/client/assets/threads._threadId-MSmNIBkq.js +0 -1
- package/apps/ui/dist/client/assets/useMutation-BOPJU9e0.js +0 -1
- package/apps/ui/dist/client/assets/useQuery-CbxZiVGF.js +0 -1
- package/apps/ui/dist/server/assets/_tanstack-start-manifest_v-zvGzK-Yx.js +0 -229
- package/apps/ui/dist/server/assets/antigravity-conversations._conversationId-JEhx-f2R.js +0 -212
- package/apps/ui/dist/server/assets/cursor-threads._composerId-BK3iW-3e.js +0 -218
- package/apps/ui/dist/server/assets/json-panel-RYsxWFae.js +0 -16
- package/apps/ui/dist/server/assets/metadata-section-D6Lbc7D6.js +0 -54
- package/apps/ui/dist/server/assets/router-K0m7dK4T.js +0 -394
- package/apps/ui/dist/server/assets/start-bX7bXjzw.js +0 -4
- package/apps/ui/dist/server/assets/text-document-panel-D8JbQWAn.js +0 -23
- package/apps/ui/dist/server/assets/threads._threadId-LjgsGUh-.js +0 -1052
|
@@ -0,0 +1,518 @@
|
|
|
1
|
+
import { t as cn } from "./utils-C_uf36nf.js";
|
|
2
|
+
import { t as Button } from "./button-CmTDnzOn.js";
|
|
3
|
+
import { t as SettingsProvider } from "./settings-store-DpEJEQ7M.js";
|
|
4
|
+
import { t as Route$8 } from "./analytics-CYP_LT5Y.js";
|
|
5
|
+
import { t as Route$9 } from "./routes-BzkJgq4W.js";
|
|
6
|
+
import { t as Route$10 } from "./projects.index-DesYXwfi.js";
|
|
7
|
+
import { r as openCodeWorkspacesQueryOptions } from "./opencode-queries-BeNYXnQv.js";
|
|
8
|
+
import { r as kiroWorkspacesQueryOptions } from "./kiro-queries-CzNlM2ok.js";
|
|
9
|
+
import { r as cursorWorkspacesQueryOptions } from "./cursor-queries-NCIM0Nat.js";
|
|
10
|
+
import { r as claudeCodeWorkspacesQueryOptions } from "./claude-code-queries-Cgzi4K-e.js";
|
|
11
|
+
import { i as antigravityWorkspacesQueryOptions } from "./antigravity-queries-CGrJO9Vr.js";
|
|
12
|
+
import { t as Route$11 } from "./threads._threadId-Ci0S4mKU.js";
|
|
13
|
+
import { t as Route$12 } from "./projects._project-4io5LO0E.js";
|
|
14
|
+
import { t as Route$13 } from "./opencode._workspaceKey-CfH96HTT.js";
|
|
15
|
+
import { t as Route$14 } from "./opencode-sessions._sessionId-D8Q7in_Z.js";
|
|
16
|
+
import { t as Route$15 } from "./kiro._workspaceKey-CJsjgNwO.js";
|
|
17
|
+
import { t as Route$16 } from "./kiro-sessions._sessionId-bvTulT7C.js";
|
|
18
|
+
import { t as Route$17 } from "./cursor._workspaceKey-CZuohIUL.js";
|
|
19
|
+
import { t as Route$18 } from "./cursor-threads._composerId-p9-ARAzc.js";
|
|
20
|
+
import { t as Route$19 } from "./claude-code._workspaceKey-B5Xg_-tE.js";
|
|
21
|
+
import { t as Route$20 } from "./claude-code-sessions._sessionId-C55oe6zj.js";
|
|
22
|
+
import { t as Route$21 } from "./antigravity._workspaceKey-B0QeYUOh.js";
|
|
23
|
+
import { t as Route$22 } from "./antigravity-conversations._conversationId-eS87Dx7g.js";
|
|
24
|
+
import { useEffect, useState } from "react";
|
|
25
|
+
import { HeadContent, Link, Outlet, Scripts, createFileRoute, createRootRouteWithContext, createRouter, lazyRouteComponent, notFound, redirect, useRouterState } from "@tanstack/react-router";
|
|
26
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
27
|
+
import { setupRouterSsrQueryIntegration } from "@tanstack/react-router-ssr-query";
|
|
28
|
+
import { QueryClient } from "@tanstack/react-query";
|
|
29
|
+
import { BarChart3, Bot, BrainCircuit, Code2, FolderOpen, LayoutDashboard, Moon, Settings2, Sparkles, SquareTerminal, Sun } from "lucide-react";
|
|
30
|
+
import { Tooltip } from "radix-ui";
|
|
31
|
+
//#region src/integrations/tanstack-query/root-provider.tsx
|
|
32
|
+
function getContext() {
|
|
33
|
+
return { queryClient: new QueryClient() };
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region ../../package.json?raw
|
|
37
|
+
var package_default = "{\n \"author\": {\n \"name\": \"Ragaeeb Haq\",\n \"url\": \"https://github.com/ragaeeb\"\n },\n \"bin\": {\n \"codex-chats\": \"./bin/codex-chats.js\",\n \"codex-chats-claude\": \"./bin/codex-chats-claude.js\",\n \"spiracha\": \"./bin/spiracha.js\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/ragaeeb/spiracha/issues\"\n },\n \"dependencies\": {\n \"@inquirer/prompts\": \"^8.5.2\",\n \"@modelcontextprotocol/sdk\": \"^1.29.0\",\n \"@tanstack/react-query\": \"5.101.0\",\n \"@tanstack/react-router\": \"1.170.15\",\n \"@tanstack/react-router-ssr-query\": \"1.167.1\",\n \"@tanstack/react-table\": \"8.21.3\",\n \"@tanstack/react-virtual\": \"3.14.2\",\n \"class-variance-authority\": \"0.7.1\",\n \"clsx\": \"2.1.1\",\n \"iconv-lite\": \"^0.7.2\",\n \"lucide-react\": \"1.18.0\",\n \"radix-ui\": \"1.5.0\",\n \"react\": \"19.2.7\",\n \"react-dom\": \"19.2.7\",\n \"tailwind-merge\": \"3.6.0\",\n \"zod\": \"4.4.3\"\n },\n \"description\": \"Export local Codex, Claude Code, and Cursor transcripts, and browse Codex, Claude Code, Kiro, Cursor, Antigravity, and OpenCode history through a local UI.\",\n \"devDependencies\": {\n \"@types/bun\": \"^1.3.14\",\n \"@types/node\": \"^25.9.3\",\n \"typescript\": \"^6.0.3\"\n },\n \"engines\": {\n \"bun\": \">=1.3.14\"\n },\n \"files\": [\n \"bin/codex-chats.js\",\n \"bin/codex-chats-claude.js\",\n \"bin/spiracha.js\",\n \"src/export-chats.ts\",\n \"src/export-claude.ts\",\n \"src/export-cursor.ts\",\n \"src/mcp-server.ts\",\n \"src/spiracha.ts\",\n \"src/ui-cli.ts\",\n \"src/lib/antigravity-db.ts\",\n \"src/lib/antigravity-exporter-types.ts\",\n \"src/lib/antigravity-keychain.ts\",\n \"src/lib/claude-code-db.ts\",\n \"src/lib/claude-code-exporter-types.ts\",\n \"src/lib/claude-code-transcript-phase.ts\",\n \"src/lib/claude-code-transcript.ts\",\n \"src/lib/claude-exporter.ts\",\n \"src/lib/cursor-db.ts\",\n \"src/lib/cursor-exporter.ts\",\n \"src/lib/cursor-exporter-types.ts\",\n \"src/lib/cursor-recovery.ts\",\n \"src/lib/cursor-transcript.ts\",\n \"src/lib/kiro-db.ts\",\n \"src/lib/kiro-exporter-types.ts\",\n \"src/lib/kiro-transcript-phase.ts\",\n \"src/lib/kiro-transcript.ts\",\n \"src/lib/opencode-db.ts\",\n \"src/lib/opencode-exporter-types.ts\",\n \"src/lib/opencode-transcript-phase.ts\",\n \"src/lib/opencode-think-tags.ts\",\n \"src/lib/opencode-transcript.ts\",\n \"src/lib/codex-exporter-cli.ts\",\n \"src/lib/codex-exporter-db.ts\",\n \"src/lib/codex-exporter-transcript.ts\",\n \"src/lib/codex-exporter-types.ts\",\n \"src/lib/codex-exporter.ts\",\n \"src/lib/codex-browser-db.ts\",\n \"src/lib/codex-browser-export.ts\",\n \"src/lib/codex-browser-types.ts\",\n \"src/lib/codex-thread-recovery.ts\",\n \"src/lib/codex-thread-cache.ts\",\n \"src/lib/codex-thread-parser.ts\",\n \"src/lib/codex-analytics.ts\",\n \"src/lib/concurrency.ts\",\n \"src/lib/path-transforms.ts\",\n \"src/lib/sqlite-error.ts\",\n \"src/lib/sqlite-retry.ts\",\n \"src/lib/ui-export-archive.ts\",\n \"src/lib/ui-export-files.ts\",\n \"src/lib/ui-cache.ts\",\n \"src/lib/interactive-cli.ts\",\n \"src/lib/model-label.ts\",\n \"src/lib/native-open.ts\",\n \"src/lib/shared.ts\",\n \"apps/ui/dist/client/assets/**/*\",\n \"apps/ui/dist/client/icon.svg\",\n \"apps/ui/dist/client/manifest.json\",\n \"apps/ui/dist/client/robots.txt\",\n \"apps/ui/dist/server/**/*\",\n \"README.md\",\n \"AGENTS.md\"\n ],\n \"homepage\": \"https://github.com/ragaeeb/spiracha\",\n \"keywords\": [\n \"codex\",\n \"claude\",\n \"kiro\",\n \"cursor\",\n \"antigravity\",\n \"opencode\",\n \"transcripts\",\n \"export\",\n \"markdown\",\n \"bun\"\n ],\n \"license\": \"MIT\",\n \"name\": \"spiracha\",\n \"packageManager\": \"bun@1.3.14\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/ragaeeb/spiracha.git\"\n },\n \"scripts\": {\n \"build\": \"bun run typecheck && bun run --cwd apps/ui build\",\n \"coverage\": \"bun run coverage:root && bun run coverage:ui\",\n \"coverage:root\": \"bun test --coverage --coverage-reporter=lcov --coverage-dir coverage && bun run ./src/coverage-check.ts root\",\n \"coverage:ui\": \"bun run --cwd apps/ui coverage && bun run ./src/coverage-check.ts ui\",\n \"export:claude\": \"bun run ./src/export-claude.ts\",\n \"format\": \"biome check . --write && biome lint . --write\",\n \"lint\": \"biome check .\",\n \"mcp\": \"bun run ./src/mcp-server.ts\",\n \"smoke:package-ui\": \"bun run ./src/package-ui-smoke.ts\",\n \"start\": \"bun run ./src/export-chats.ts\",\n \"typecheck\": \"bun run typecheck:root && bun run typecheck:ui\",\n \"typecheck:root\": \"bunx tsc --noEmit\",\n \"typecheck:ui\": \"bun run --cwd apps/ui typecheck\",\n \"ui:dev\": \"bun run --cwd apps/ui dev\",\n \"ui:preview\": \"bun run --cwd apps/ui preview\"\n },\n \"type\": \"module\",\n \"version\": \"1.5.0\",\n \"workspaces\": [\n \"apps/*\"\n ]\n}\n";
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region src/lib/package-metadata.ts
|
|
40
|
+
var parsePackageMetadata = () => {
|
|
41
|
+
const packageJson = JSON.parse(package_default);
|
|
42
|
+
return {
|
|
43
|
+
homepage: typeof packageJson.homepage === "string" ? packageJson.homepage : "",
|
|
44
|
+
version: typeof packageJson.version === "string" ? packageJson.version : "0.0.0"
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
var packageMetadata = parsePackageMetadata();
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/components/theme-toggle.tsx
|
|
50
|
+
var getPreferredTheme = () => {
|
|
51
|
+
if (typeof window === "undefined") return "light";
|
|
52
|
+
return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
53
|
+
};
|
|
54
|
+
var applyTheme = (mode) => {
|
|
55
|
+
document.documentElement.classList.toggle("dark", mode === "dark");
|
|
56
|
+
document.documentElement.classList.toggle("light", mode === "light");
|
|
57
|
+
document.documentElement.style.colorScheme = mode;
|
|
58
|
+
window.localStorage.setItem("spiracha-theme", mode);
|
|
59
|
+
};
|
|
60
|
+
function ThemeToggle() {
|
|
61
|
+
const [theme, setTheme] = useState("light");
|
|
62
|
+
useEffect(() => {
|
|
63
|
+
const storedTheme = window.localStorage.getItem("spiracha-theme");
|
|
64
|
+
const nextTheme = storedTheme === "dark" || storedTheme === "light" ? storedTheme : getPreferredTheme();
|
|
65
|
+
setTheme(nextTheme);
|
|
66
|
+
applyTheme(nextTheme);
|
|
67
|
+
}, []);
|
|
68
|
+
return /* @__PURE__ */ jsx(Button, {
|
|
69
|
+
"aria-label": "Toggle color theme",
|
|
70
|
+
className: "h-9 rounded-full border border-[var(--border)] bg-[var(--panel)] px-3 text-[var(--panel-foreground)] shadow-none",
|
|
71
|
+
size: "sm",
|
|
72
|
+
type: "button",
|
|
73
|
+
variant: "ghost",
|
|
74
|
+
onClick: () => {
|
|
75
|
+
const nextTheme = theme === "light" ? "dark" : "light";
|
|
76
|
+
setTheme(nextTheme);
|
|
77
|
+
applyTheme(nextTheme);
|
|
78
|
+
},
|
|
79
|
+
children: theme === "light" ? /* @__PURE__ */ jsx(Moon, { className: "size-4" }) : /* @__PURE__ */ jsx(Sun, { className: "size-4" })
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
//#endregion
|
|
83
|
+
//#region src/components/app-shell.tsx
|
|
84
|
+
var navItems = [
|
|
85
|
+
{
|
|
86
|
+
icon: LayoutDashboard,
|
|
87
|
+
label: "Dashboard",
|
|
88
|
+
to: "/"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
activePrefixes: ["/projects", "/threads"],
|
|
92
|
+
icon: FolderOpen,
|
|
93
|
+
label: "Codex",
|
|
94
|
+
to: "/projects"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
activePrefixes: ["/claude-code", "/claude-code-sessions"],
|
|
98
|
+
icon: Bot,
|
|
99
|
+
label: "Claude Code",
|
|
100
|
+
to: "/claude-code"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
activePrefixes: ["/kiro", "/kiro-sessions"],
|
|
104
|
+
icon: BrainCircuit,
|
|
105
|
+
label: "Kiro",
|
|
106
|
+
to: "/kiro"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
activePrefixes: ["/antigravity", "/antigravity-conversations"],
|
|
110
|
+
icon: Sparkles,
|
|
111
|
+
label: "Antigravity",
|
|
112
|
+
to: "/antigravity"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
activePrefixes: ["/cursor", "/cursor-threads"],
|
|
116
|
+
icon: SquareTerminal,
|
|
117
|
+
label: "Cursor",
|
|
118
|
+
to: "/cursor"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
activePrefixes: ["/opencode", "/opencode-sessions"],
|
|
122
|
+
icon: Code2,
|
|
123
|
+
label: "OpenCode",
|
|
124
|
+
to: "/opencode"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
icon: BarChart3,
|
|
128
|
+
label: "Analytics",
|
|
129
|
+
to: "/analytics"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
icon: Settings2,
|
|
133
|
+
label: "Settings",
|
|
134
|
+
to: "/settings"
|
|
135
|
+
}
|
|
136
|
+
];
|
|
137
|
+
var isNavItemActive = (pathname, item) => {
|
|
138
|
+
return (item.activePrefixes ?? [item.to]).some((prefix) => pathname === prefix || pathname.startsWith(`${prefix}/`));
|
|
139
|
+
};
|
|
140
|
+
var GitHubIcon = ({ className }) => /* @__PURE__ */ jsx("svg", {
|
|
141
|
+
"aria-hidden": "true",
|
|
142
|
+
className,
|
|
143
|
+
fill: "currentColor",
|
|
144
|
+
viewBox: "0 0 24 24",
|
|
145
|
+
children: /* @__PURE__ */ jsx("path", { d: "M12 2C6.48 2 2 6.59 2 12.25c0 4.53 2.87 8.36 6.84 9.72.5.09.68-.22.68-.49v-1.9c-2.78.62-3.37-1.22-3.37-1.22-.45-1.18-1.11-1.49-1.11-1.49-.91-.64.07-.63.07-.63 1 .07 1.53 1.06 1.53 1.06.9 1.56 2.35 1.11 2.92.85.09-.67.35-1.11.63-1.37-2.22-.26-4.56-1.14-4.56-5.06 0-1.12.39-2.03 1.03-2.75-.1-.26-.45-1.3.1-2.71 0 0 .84-.28 2.75 1.05A9.35 9.35 0 0 1 12 6.98c.85 0 1.7.12 2.5.35 1.9-1.33 2.74-1.05 2.74-1.05.55 1.41.2 2.45.1 2.71.64.72 1.03 1.63 1.03 2.75 0 3.93-2.34 4.79-4.57 5.05.36.32.68.95.68 1.91v2.78c0 .27.18.59.69.49A10.22 10.22 0 0 0 22 12.25C22 6.59 17.52 2 12 2Z" })
|
|
146
|
+
});
|
|
147
|
+
function AppShell({ children }) {
|
|
148
|
+
const pathname = useRouterState({ select: (state) => state.location.pathname });
|
|
149
|
+
return /* @__PURE__ */ jsx("div", {
|
|
150
|
+
className: "min-h-screen bg-[var(--background)] text-[var(--foreground)]",
|
|
151
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
152
|
+
className: "flex min-h-screen w-full flex-col lg:flex-row",
|
|
153
|
+
children: [/* @__PURE__ */ jsxs("aside", {
|
|
154
|
+
className: "border-[var(--border)] border-b bg-[var(--panel)]/90 px-5 py-5 backdrop-blur lg:sticky lg:top-0 lg:h-screen lg:w-[240px] lg:border-r lg:border-b-0 lg:px-5",
|
|
155
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
156
|
+
className: "flex items-start justify-between gap-4 lg:flex-col lg:items-stretch",
|
|
157
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
158
|
+
className: "space-y-1.5",
|
|
159
|
+
children: [/* @__PURE__ */ jsxs("p", {
|
|
160
|
+
className: "font-semibold text-[10px] text-[var(--muted-foreground)] uppercase tracking-[0.18em]",
|
|
161
|
+
children: ["Spiracha ", /* @__PURE__ */ jsxs("span", {
|
|
162
|
+
className: "tracking-normal",
|
|
163
|
+
children: ["v", packageMetadata.version]
|
|
164
|
+
})]
|
|
165
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
166
|
+
className: "space-y-1",
|
|
167
|
+
children: [/* @__PURE__ */ jsx("h1", {
|
|
168
|
+
className: "font-['IBM_Plex_Sans'] font-semibold text-lg tracking-[-0.02em]",
|
|
169
|
+
children: "Spiracha Console"
|
|
170
|
+
}), packageMetadata.homepage ? /* @__PURE__ */ jsx("a", {
|
|
171
|
+
"aria-label": "Open Spiracha GitHub repository",
|
|
172
|
+
className: "inline-flex size-7 items-center justify-center rounded-md text-[var(--muted-foreground)] transition-colors hover:bg-[var(--panel-secondary)] hover:text-[var(--foreground)]",
|
|
173
|
+
href: packageMetadata.homepage,
|
|
174
|
+
rel: "noreferrer",
|
|
175
|
+
target: "_blank",
|
|
176
|
+
children: /* @__PURE__ */ jsx(GitHubIcon, { className: "size-4" })
|
|
177
|
+
}) : null]
|
|
178
|
+
})]
|
|
179
|
+
}), /* @__PURE__ */ jsx(ThemeToggle, {})]
|
|
180
|
+
}), /* @__PURE__ */ jsx("nav", {
|
|
181
|
+
className: "mt-5 grid gap-1",
|
|
182
|
+
children: navItems.map((item) => {
|
|
183
|
+
const active = isNavItemActive(pathname, item);
|
|
184
|
+
const Icon = item.icon;
|
|
185
|
+
return /* @__PURE__ */ jsxs(Link, {
|
|
186
|
+
className: cn("flex items-center gap-2.5 rounded-lg px-3 py-2 text-sm transition-colors", active ? "bg-[var(--accent-muted)] font-medium text-[var(--accent-foreground)]" : "text-[var(--muted-foreground)] hover:bg-[var(--panel-secondary)] hover:text-[var(--foreground)]"),
|
|
187
|
+
to: item.to,
|
|
188
|
+
children: [/* @__PURE__ */ jsx(Icon, { className: "size-4 shrink-0" }), /* @__PURE__ */ jsx("span", { children: item.label })]
|
|
189
|
+
}, item.to);
|
|
190
|
+
})
|
|
191
|
+
})]
|
|
192
|
+
}), /* @__PURE__ */ jsx("main", {
|
|
193
|
+
className: "min-w-0 flex-1 px-4 py-4 sm:px-5 sm:py-5 lg:px-6",
|
|
194
|
+
children
|
|
195
|
+
})]
|
|
196
|
+
})
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
//#endregion
|
|
200
|
+
//#region src/components/ui/tooltip.tsx
|
|
201
|
+
function TooltipProvider({ delayDuration = 0, ...props }) {
|
|
202
|
+
return /* @__PURE__ */ jsx(Tooltip.Provider, {
|
|
203
|
+
"data-slot": "tooltip-provider",
|
|
204
|
+
delayDuration,
|
|
205
|
+
...props
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
//#endregion
|
|
209
|
+
//#region src/styles.css?url
|
|
210
|
+
var styles_default = "/assets/styles-B7Zi9EFA.css";
|
|
211
|
+
//#endregion
|
|
212
|
+
//#region src/routes/__root.tsx
|
|
213
|
+
var themeInitScript = `
|
|
214
|
+
(() => {
|
|
215
|
+
try {
|
|
216
|
+
const stored = window.localStorage.getItem('spiracha-theme')
|
|
217
|
+
const preferred = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'
|
|
218
|
+
const mode = stored === 'dark' || stored === 'light' ? stored : preferred
|
|
219
|
+
document.documentElement.classList.add(mode)
|
|
220
|
+
document.documentElement.style.colorScheme = mode
|
|
221
|
+
} catch {}
|
|
222
|
+
})()
|
|
223
|
+
`;
|
|
224
|
+
function RootErrorComponent({ error }) {
|
|
225
|
+
const isSqliteError = error.message.includes("unable to open database") || error.message.includes("database is locked") || error.message.includes("SQLITE_");
|
|
226
|
+
return /* @__PURE__ */ jsx("div", {
|
|
227
|
+
className: "flex min-h-screen items-center justify-center bg-[#101418] px-4 text-[#eef3f7]",
|
|
228
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
229
|
+
className: "max-w-[30rem] text-center",
|
|
230
|
+
children: [
|
|
231
|
+
/* @__PURE__ */ jsx("h1", {
|
|
232
|
+
className: "mb-3 font-semibold text-base",
|
|
233
|
+
children: isSqliteError ? "Database unavailable" : "Something went wrong"
|
|
234
|
+
}),
|
|
235
|
+
isSqliteError ? /* @__PURE__ */ jsx("p", {
|
|
236
|
+
className: "my-2 text-[#99a3af] text-[0.875rem] leading-6",
|
|
237
|
+
children: "Spiracha could not open the Codex SQLite database. Codex may have an exclusive lock on the file, or the database does not exist yet. Close Codex or wait a moment, then reload."
|
|
238
|
+
}) : /* @__PURE__ */ jsx("p", {
|
|
239
|
+
className: "my-2 text-[#99a3af] text-[0.875rem] leading-6",
|
|
240
|
+
children: /* @__PURE__ */ jsx("code", {
|
|
241
|
+
className: "rounded border border-white/10 bg-[#12181e] px-1.5 py-1 text-[0.8em]",
|
|
242
|
+
children: error.message
|
|
243
|
+
})
|
|
244
|
+
}),
|
|
245
|
+
/* @__PURE__ */ jsx("button", {
|
|
246
|
+
className: "mt-6 rounded-full border border-white/15 bg-[#1a222b] px-5 py-2 text-sm hover:bg-[#222e3a]",
|
|
247
|
+
type: "button",
|
|
248
|
+
onClick: () => window.location.reload(),
|
|
249
|
+
children: "Reload"
|
|
250
|
+
})
|
|
251
|
+
]
|
|
252
|
+
})
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
var Route$7 = createRootRouteWithContext()({
|
|
256
|
+
component: RootComponent,
|
|
257
|
+
errorComponent: RootErrorComponent,
|
|
258
|
+
head: () => ({
|
|
259
|
+
links: [
|
|
260
|
+
{
|
|
261
|
+
href: styles_default,
|
|
262
|
+
rel: "stylesheet"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
href: "/icon.svg",
|
|
266
|
+
rel: "icon",
|
|
267
|
+
type: "image/svg+xml"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
href: "/manifest.json",
|
|
271
|
+
rel: "manifest"
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
meta: [
|
|
275
|
+
{ charSet: "utf-8" },
|
|
276
|
+
{
|
|
277
|
+
content: "width=device-width, initial-scale=1",
|
|
278
|
+
name: "viewport"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
content: "Browse local Codex, Claude Code, Kiro, Cursor, Antigravity, and OpenCode history through a compact workspace UI.",
|
|
282
|
+
name: "description"
|
|
283
|
+
},
|
|
284
|
+
{ title: "Spiracha UI" }
|
|
285
|
+
]
|
|
286
|
+
})
|
|
287
|
+
});
|
|
288
|
+
function RootComponent() {
|
|
289
|
+
return /* @__PURE__ */ jsx(RootDocument, { children: /* @__PURE__ */ jsx(SettingsProvider, { children: /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsx(AppShell, { children: /* @__PURE__ */ jsx(Outlet, {}) }) }) }) });
|
|
290
|
+
}
|
|
291
|
+
function RootDocument({ children }) {
|
|
292
|
+
return /* @__PURE__ */ jsxs("html", {
|
|
293
|
+
lang: "en",
|
|
294
|
+
suppressHydrationWarning: true,
|
|
295
|
+
children: [/* @__PURE__ */ jsxs("head", { children: [/* @__PURE__ */ jsx("script", { children: themeInitScript }), /* @__PURE__ */ jsx(HeadContent, {})] }), /* @__PURE__ */ jsxs("body", { children: [children, /* @__PURE__ */ jsx(Scripts, {})] })]
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
//#endregion
|
|
299
|
+
//#region src/routes/settings.tsx
|
|
300
|
+
var $$splitComponentImporter$6 = () => import("./settings-OayxIYQQ.js");
|
|
301
|
+
var Route$6 = createFileRoute("/settings")({ component: lazyRouteComponent($$splitComponentImporter$6, "component") });
|
|
302
|
+
//#endregion
|
|
303
|
+
//#region src/lib/thread-id.ts
|
|
304
|
+
var THREAD_ID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/iu;
|
|
305
|
+
var isCodexThreadId = (value) => THREAD_ID_PATTERN.test(value);
|
|
306
|
+
//#endregion
|
|
307
|
+
//#region src/routes/$threadId.tsx
|
|
308
|
+
var $$splitComponentImporter$5 = () => import("./_threadId-B6SrBR9E.js");
|
|
309
|
+
var Route$5 = createFileRoute("/$threadId")({
|
|
310
|
+
beforeLoad: ({ params }) => {
|
|
311
|
+
if (!isCodexThreadId(params.threadId)) throw notFound();
|
|
312
|
+
throw redirect({
|
|
313
|
+
params: { threadId: params.threadId },
|
|
314
|
+
to: "/threads/$threadId"
|
|
315
|
+
});
|
|
316
|
+
},
|
|
317
|
+
component: lazyRouteComponent($$splitComponentImporter$5, "component")
|
|
318
|
+
});
|
|
319
|
+
//#endregion
|
|
320
|
+
//#region src/routes/opencode.index.tsx
|
|
321
|
+
var $$splitErrorComponentImporter$4 = () => import("./opencode.index-BbVzkJXP.js");
|
|
322
|
+
var $$splitComponentImporter$4 = () => import("./opencode.index-Vh_Gq_1L.js");
|
|
323
|
+
var Route$4 = createFileRoute("/opencode/")({
|
|
324
|
+
component: lazyRouteComponent($$splitComponentImporter$4, "component"),
|
|
325
|
+
errorComponent: lazyRouteComponent($$splitErrorComponentImporter$4, "errorComponent"),
|
|
326
|
+
loader: ({ context }) => context.queryClient.ensureQueryData(openCodeWorkspacesQueryOptions())
|
|
327
|
+
});
|
|
328
|
+
//#endregion
|
|
329
|
+
//#region src/routes/kiro.index.tsx
|
|
330
|
+
var $$splitErrorComponentImporter$3 = () => import("./kiro.index-C__-UROk.js");
|
|
331
|
+
var $$splitComponentImporter$3 = () => import("./kiro.index-CmTbqeYj.js");
|
|
332
|
+
var Route$3 = createFileRoute("/kiro/")({
|
|
333
|
+
component: lazyRouteComponent($$splitComponentImporter$3, "component"),
|
|
334
|
+
errorComponent: lazyRouteComponent($$splitErrorComponentImporter$3, "errorComponent"),
|
|
335
|
+
loader: ({ context }) => context.queryClient.ensureQueryData(kiroWorkspacesQueryOptions())
|
|
336
|
+
});
|
|
337
|
+
//#endregion
|
|
338
|
+
//#region src/routes/cursor.index.tsx
|
|
339
|
+
var $$splitErrorComponentImporter$2 = () => import("./cursor.index-CcsX7DG0.js");
|
|
340
|
+
var $$splitComponentImporter$2 = () => import("./cursor.index-DkWT-mxw.js");
|
|
341
|
+
var Route$2 = createFileRoute("/cursor/")({
|
|
342
|
+
component: lazyRouteComponent($$splitComponentImporter$2, "component"),
|
|
343
|
+
errorComponent: lazyRouteComponent($$splitErrorComponentImporter$2, "errorComponent"),
|
|
344
|
+
loader: ({ context }) => context.queryClient.ensureQueryData(cursorWorkspacesQueryOptions())
|
|
345
|
+
});
|
|
346
|
+
//#endregion
|
|
347
|
+
//#region src/routes/claude-code.index.tsx
|
|
348
|
+
var $$splitErrorComponentImporter$1 = () => import("./claude-code.index-BUHThG1W.js");
|
|
349
|
+
var $$splitComponentImporter$1 = () => import("./claude-code.index-B7yYR7dD.js");
|
|
350
|
+
var Route$1 = createFileRoute("/claude-code/")({
|
|
351
|
+
component: lazyRouteComponent($$splitComponentImporter$1, "component"),
|
|
352
|
+
errorComponent: lazyRouteComponent($$splitErrorComponentImporter$1, "errorComponent"),
|
|
353
|
+
loader: ({ context }) => context.queryClient.ensureQueryData(claudeCodeWorkspacesQueryOptions())
|
|
354
|
+
});
|
|
355
|
+
//#endregion
|
|
356
|
+
//#region src/routes/antigravity.index.tsx
|
|
357
|
+
var $$splitErrorComponentImporter = () => import("./antigravity.index-DudTB3Tq.js");
|
|
358
|
+
var $$splitComponentImporter = () => import("./antigravity.index-CPCYkqCi.js");
|
|
359
|
+
var Route = createFileRoute("/antigravity/")({
|
|
360
|
+
component: lazyRouteComponent($$splitComponentImporter, "component"),
|
|
361
|
+
errorComponent: lazyRouteComponent($$splitErrorComponentImporter, "errorComponent"),
|
|
362
|
+
loader: ({ context }) => context.queryClient.ensureQueryData(antigravityWorkspacesQueryOptions())
|
|
363
|
+
});
|
|
364
|
+
//#endregion
|
|
365
|
+
//#region src/routeTree.gen.ts
|
|
366
|
+
var SettingsRoute = Route$6.update({
|
|
367
|
+
id: "/settings",
|
|
368
|
+
path: "/settings",
|
|
369
|
+
getParentRoute: () => Route$7
|
|
370
|
+
});
|
|
371
|
+
var AnalyticsRoute = Route$8.update({
|
|
372
|
+
id: "/analytics",
|
|
373
|
+
path: "/analytics",
|
|
374
|
+
getParentRoute: () => Route$7
|
|
375
|
+
});
|
|
376
|
+
var ThreadIdRoute = Route$5.update({
|
|
377
|
+
id: "/$threadId",
|
|
378
|
+
path: "/$threadId",
|
|
379
|
+
getParentRoute: () => Route$7
|
|
380
|
+
});
|
|
381
|
+
var IndexRoute = Route$9.update({
|
|
382
|
+
id: "/",
|
|
383
|
+
path: "/",
|
|
384
|
+
getParentRoute: () => Route$7
|
|
385
|
+
});
|
|
386
|
+
var ProjectsIndexRoute = Route$10.update({
|
|
387
|
+
id: "/projects/",
|
|
388
|
+
path: "/projects/",
|
|
389
|
+
getParentRoute: () => Route$7
|
|
390
|
+
});
|
|
391
|
+
var OpencodeIndexRoute = Route$4.update({
|
|
392
|
+
id: "/opencode/",
|
|
393
|
+
path: "/opencode/",
|
|
394
|
+
getParentRoute: () => Route$7
|
|
395
|
+
});
|
|
396
|
+
var KiroIndexRoute = Route$3.update({
|
|
397
|
+
id: "/kiro/",
|
|
398
|
+
path: "/kiro/",
|
|
399
|
+
getParentRoute: () => Route$7
|
|
400
|
+
});
|
|
401
|
+
var CursorIndexRoute = Route$2.update({
|
|
402
|
+
id: "/cursor/",
|
|
403
|
+
path: "/cursor/",
|
|
404
|
+
getParentRoute: () => Route$7
|
|
405
|
+
});
|
|
406
|
+
var ClaudeCodeIndexRoute = Route$1.update({
|
|
407
|
+
id: "/claude-code/",
|
|
408
|
+
path: "/claude-code/",
|
|
409
|
+
getParentRoute: () => Route$7
|
|
410
|
+
});
|
|
411
|
+
var AntigravityIndexRoute = Route.update({
|
|
412
|
+
id: "/antigravity/",
|
|
413
|
+
path: "/antigravity/",
|
|
414
|
+
getParentRoute: () => Route$7
|
|
415
|
+
});
|
|
416
|
+
var ThreadsThreadIdRoute = Route$11.update({
|
|
417
|
+
id: "/threads/$threadId",
|
|
418
|
+
path: "/threads/$threadId",
|
|
419
|
+
getParentRoute: () => Route$7
|
|
420
|
+
});
|
|
421
|
+
var ProjectsProjectRoute = Route$12.update({
|
|
422
|
+
id: "/projects/$project",
|
|
423
|
+
path: "/projects/$project",
|
|
424
|
+
getParentRoute: () => Route$7
|
|
425
|
+
});
|
|
426
|
+
var OpencodeWorkspaceKeyRoute = Route$13.update({
|
|
427
|
+
id: "/opencode/$workspaceKey",
|
|
428
|
+
path: "/opencode/$workspaceKey",
|
|
429
|
+
getParentRoute: () => Route$7
|
|
430
|
+
});
|
|
431
|
+
var OpencodeSessionsSessionIdRoute = Route$14.update({
|
|
432
|
+
id: "/opencode-sessions/$sessionId",
|
|
433
|
+
path: "/opencode-sessions/$sessionId",
|
|
434
|
+
getParentRoute: () => Route$7
|
|
435
|
+
});
|
|
436
|
+
var KiroWorkspaceKeyRoute = Route$15.update({
|
|
437
|
+
id: "/kiro/$workspaceKey",
|
|
438
|
+
path: "/kiro/$workspaceKey",
|
|
439
|
+
getParentRoute: () => Route$7
|
|
440
|
+
});
|
|
441
|
+
var KiroSessionsSessionIdRoute = Route$16.update({
|
|
442
|
+
id: "/kiro-sessions/$sessionId",
|
|
443
|
+
path: "/kiro-sessions/$sessionId",
|
|
444
|
+
getParentRoute: () => Route$7
|
|
445
|
+
});
|
|
446
|
+
var CursorWorkspaceKeyRoute = Route$17.update({
|
|
447
|
+
id: "/cursor/$workspaceKey",
|
|
448
|
+
path: "/cursor/$workspaceKey",
|
|
449
|
+
getParentRoute: () => Route$7
|
|
450
|
+
});
|
|
451
|
+
var CursorThreadsComposerIdRoute = Route$18.update({
|
|
452
|
+
id: "/cursor-threads/$composerId",
|
|
453
|
+
path: "/cursor-threads/$composerId",
|
|
454
|
+
getParentRoute: () => Route$7
|
|
455
|
+
});
|
|
456
|
+
var ClaudeCodeWorkspaceKeyRoute = Route$19.update({
|
|
457
|
+
id: "/claude-code/$workspaceKey",
|
|
458
|
+
path: "/claude-code/$workspaceKey",
|
|
459
|
+
getParentRoute: () => Route$7
|
|
460
|
+
});
|
|
461
|
+
var ClaudeCodeSessionsSessionIdRoute = Route$20.update({
|
|
462
|
+
id: "/claude-code-sessions/$sessionId",
|
|
463
|
+
path: "/claude-code-sessions/$sessionId",
|
|
464
|
+
getParentRoute: () => Route$7
|
|
465
|
+
});
|
|
466
|
+
var AntigravityWorkspaceKeyRoute = Route$21.update({
|
|
467
|
+
id: "/antigravity/$workspaceKey",
|
|
468
|
+
path: "/antigravity/$workspaceKey",
|
|
469
|
+
getParentRoute: () => Route$7
|
|
470
|
+
});
|
|
471
|
+
var rootRouteChildren = {
|
|
472
|
+
IndexRoute,
|
|
473
|
+
ThreadIdRoute,
|
|
474
|
+
AnalyticsRoute,
|
|
475
|
+
SettingsRoute,
|
|
476
|
+
AntigravityConversationsConversationIdRoute: Route$22.update({
|
|
477
|
+
id: "/antigravity-conversations/$conversationId",
|
|
478
|
+
path: "/antigravity-conversations/$conversationId",
|
|
479
|
+
getParentRoute: () => Route$7
|
|
480
|
+
}),
|
|
481
|
+
AntigravityWorkspaceKeyRoute,
|
|
482
|
+
ClaudeCodeSessionsSessionIdRoute,
|
|
483
|
+
ClaudeCodeWorkspaceKeyRoute,
|
|
484
|
+
CursorThreadsComposerIdRoute,
|
|
485
|
+
CursorWorkspaceKeyRoute,
|
|
486
|
+
KiroSessionsSessionIdRoute,
|
|
487
|
+
KiroWorkspaceKeyRoute,
|
|
488
|
+
OpencodeSessionsSessionIdRoute,
|
|
489
|
+
OpencodeWorkspaceKeyRoute,
|
|
490
|
+
ProjectsProjectRoute,
|
|
491
|
+
ThreadsThreadIdRoute,
|
|
492
|
+
AntigravityIndexRoute,
|
|
493
|
+
ClaudeCodeIndexRoute,
|
|
494
|
+
CursorIndexRoute,
|
|
495
|
+
KiroIndexRoute,
|
|
496
|
+
OpencodeIndexRoute,
|
|
497
|
+
ProjectsIndexRoute
|
|
498
|
+
};
|
|
499
|
+
var routeTree = Route$7._addFileChildren(rootRouteChildren)._addFileTypes();
|
|
500
|
+
//#endregion
|
|
501
|
+
//#region src/router.tsx
|
|
502
|
+
function getRouter() {
|
|
503
|
+
const context = getContext();
|
|
504
|
+
const router = createRouter({
|
|
505
|
+
context,
|
|
506
|
+
defaultPreload: "intent",
|
|
507
|
+
defaultPreloadStaleTime: 0,
|
|
508
|
+
routeTree,
|
|
509
|
+
scrollRestoration: true
|
|
510
|
+
});
|
|
511
|
+
setupRouterSsrQueryIntegration({
|
|
512
|
+
queryClient: context.queryClient,
|
|
513
|
+
router
|
|
514
|
+
});
|
|
515
|
+
return router;
|
|
516
|
+
}
|
|
517
|
+
//#endregion
|
|
518
|
+
export { getRouter };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as dashboardQueryOptions } from "./codex-queries-
|
|
2
|
-
import { t as Route } from "./routes-
|
|
1
|
+
import { n as dashboardQueryOptions } from "./codex-queries-CtgeZ7VL.js";
|
|
2
|
+
import { t as Route } from "./routes-BzkJgq4W.js";
|
|
3
3
|
import { t as MetricCard } from "./metric-card-ByEeLu0r.js";
|
|
4
4
|
import { t as PageHeader } from "./page-header-VNSaM3xd.js";
|
|
5
5
|
import { o as formatNumber, r as formatDateTime, s as formatTokens } from "./formatters-FJaGZgJk.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as dashboardQueryOptions } from "./codex-queries-
|
|
1
|
+
import { n as dashboardQueryOptions } from "./codex-queries-CtgeZ7VL.js";
|
|
2
2
|
import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
//#region src/routes/index.tsx
|
|
5
|
-
var $$splitComponentImporter = () => import("./routes-
|
|
5
|
+
var $$splitComponentImporter = () => import("./routes-Bsact1uB.js");
|
|
6
6
|
var Route = createFileRoute("/")({
|
|
7
7
|
component: lazyRouteComponent($$splitComponentImporter, "component"),
|
|
8
8
|
loader: ({ context }) => context.queryClient.ensureQueryData(dashboardQueryOptions())
|
|
@@ -30,6 +30,9 @@ var asString = (value) => {
|
|
|
30
30
|
var asNumber = (value) => {
|
|
31
31
|
return typeof value === "number" ? value : null;
|
|
32
32
|
};
|
|
33
|
+
var asBoolean = (value) => {
|
|
34
|
+
return value === true;
|
|
35
|
+
};
|
|
33
36
|
var readJsonlObjects = (filePath) => {
|
|
34
37
|
const stream = createReadStream(filePath, { encoding: "utf8" });
|
|
35
38
|
const lines = createInterface({
|
|
@@ -131,4 +134,4 @@ var toMetadataValue = (value, format) => {
|
|
|
131
134
|
return format === "md" ? JSON.stringify(String(value)) : String(value);
|
|
132
135
|
};
|
|
133
136
|
//#endregion
|
|
134
|
-
export {
|
|
137
|
+
export { cleanExtractedText as a, finalizeExportWriteStream as c, getPortablePathBasename as d, readJsonlObjects as f, renderSection as g, renderMetadataBlock as h, asString as i, formatInlineLiteral as l, renderDocumentTitle as m, asNumber as n, cleanInlineTitle as o, renderCodeBlock as p, asObject as r, createExportWriteStream as s, asBoolean as t, formatModelLabel as u };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { a as sanitizeExportFileName, n as ensureUiExportDir, o as zipExportDirectory, r as getExportMimeType, t as buildUiExportDownloadUrl } from "./ui-export-files-BHLX9bhN.js";
|
|
2
|
+
import { randomUUID } from "node:crypto";
|
|
3
|
+
import { mkdtemp, rm } from "node:fs/promises";
|
|
4
|
+
import os from "node:os";
|
|
5
|
+
import path from "node:path";
|
|
6
|
+
//#region src/lib/source-session-export-server.ts
|
|
7
|
+
var toSafeSourceExportName = (value, fallback) => {
|
|
8
|
+
return sanitizeExportFileName(value) || fallback;
|
|
9
|
+
};
|
|
10
|
+
var renderSourceSessionDownload = async ({ content, fallbackBaseName, fileBaseName, outputFormat, zipArchive }) => {
|
|
11
|
+
const safeBaseName = toSafeSourceExportName(fileBaseName, fallbackBaseName);
|
|
12
|
+
if (!zipArchive) return {
|
|
13
|
+
content,
|
|
14
|
+
fileName: `${safeBaseName}.${outputFormat}`,
|
|
15
|
+
mimeType: getExportMimeType(outputFormat),
|
|
16
|
+
mode: "download"
|
|
17
|
+
};
|
|
18
|
+
const exportDir = await ensureUiExportDir();
|
|
19
|
+
const workspaceDir = await mkdtemp(path.join(os.tmpdir(), `${safeBaseName}-`));
|
|
20
|
+
const zipPath = path.join(exportDir, `${safeBaseName}-${randomUUID()}.zip`);
|
|
21
|
+
try {
|
|
22
|
+
await Bun.write(path.join(workspaceDir, `${safeBaseName}.${outputFormat}`), content);
|
|
23
|
+
await zipExportDirectory(workspaceDir, zipPath);
|
|
24
|
+
} finally {
|
|
25
|
+
await rm(workspaceDir, {
|
|
26
|
+
force: true,
|
|
27
|
+
recursive: true
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
downloadUrl: buildUiExportDownloadUrl(zipPath),
|
|
32
|
+
fileName: `${safeBaseName}.zip`,
|
|
33
|
+
mimeType: "application/zip",
|
|
34
|
+
mode: "download_url"
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
//#endregion
|
|
38
|
+
export { renderSourceSessionDownload as t };
|