@rulemetric/cli 0.7.3 → 0.7.5
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/README.md +10 -8
- package/dist/base-command.js +1 -14
- package/dist/chunk-2JRDG4LJ.js +31 -0
- package/dist/chunk-2TC6WCUT.js +34 -0
- package/dist/chunk-2WLVDSAP.js +2 -0
- package/dist/chunk-32EEBARV.js +1 -0
- package/dist/chunk-3AV3GTMP.js +1 -0
- package/dist/chunk-43YBXX7R.js +1 -0
- package/dist/chunk-4Z5ECCJE.js +1 -0
- package/dist/chunk-5RBLIVBF.js +1 -0
- package/dist/chunk-67QCYUJU.js +1 -0
- package/dist/chunk-6QKI756T.js +2 -0
- package/dist/chunk-6V4WM73L.js +1 -0
- package/dist/chunk-6XEC6474.js +1 -0
- package/dist/chunk-7DFNBRLY.js +61 -0
- package/dist/chunk-ARNZQBMX.js +1 -0
- package/dist/chunk-AYUJY37O.js +5 -0
- package/dist/chunk-CADKBP3D.js +58 -0
- package/dist/chunk-CDI5CCHU.js +1 -0
- package/dist/chunk-CNQ5DTNC.js +1 -0
- package/dist/chunk-DCLWFGEA.js +1 -0
- package/dist/chunk-DNF4HDI6.js +14 -0
- package/dist/chunk-DPFNJZUO.js +1 -0
- package/dist/chunk-DSO2U4Y6.js +56 -0
- package/dist/chunk-DVN7GFJG.js +1 -0
- package/dist/chunk-G63KMH6U.js +1 -0
- package/dist/chunk-G6XGDHGC.js +2 -0
- package/dist/chunk-GBMF3TP6.js +1 -0
- package/dist/chunk-GY5IJ4RS.js +1 -0
- package/dist/chunk-H2ORWIEY.js +1 -0
- package/dist/chunk-H4SV7FN4.js +1 -0
- package/dist/chunk-HS7X43XE.js +24 -0
- package/dist/{chunk-OQBBVTDG.js → chunk-I2DZGJRR.js} +6 -71
- package/dist/chunk-IZTIYR5Q.js +2 -0
- package/dist/chunk-JAPCCEKF.js +3 -0
- package/dist/chunk-JQTGQXUX.js +1 -0
- package/dist/chunk-KAF3CYRW.js +9 -0
- package/dist/chunk-KKDHD4XA.js +2 -0
- package/dist/chunk-KV325CXF.js +33 -0
- package/dist/chunk-MGHFDHHM.js +1 -0
- package/dist/chunk-MODXEGCU.js +1 -0
- package/dist/chunk-MVM6OGAF.js +4 -0
- package/dist/chunk-N7ODX6PO.js +1 -0
- package/dist/chunk-N7TGRFVZ.js +70 -0
- package/dist/chunk-NBTC5FNV.js +1 -0
- package/dist/chunk-NEACEHQD.js +1 -0
- package/dist/chunk-NJ5UED3H.js +1 -0
- package/dist/chunk-NVKX36YN.js +3 -0
- package/dist/chunk-O2SDD2WW.js +1 -0
- package/dist/chunk-O6C2UGBY.js +7 -0
- package/dist/chunk-OMXUK4M6.js +1 -0
- package/dist/chunk-PPKPCXJD.js +4 -0
- package/dist/{chunk-XZXS2W24.js → chunk-QFVGUZDO.js} +11 -57
- package/dist/chunk-RDET7CKR.js +1 -0
- package/dist/chunk-RQ424GI6.js +5 -0
- package/dist/chunk-RSKQRVPJ.js +1 -0
- package/dist/chunk-RTWRHIKY.js +7 -0
- package/dist/chunk-SZ62CP55.js +1 -0
- package/dist/chunk-TDD7IOV2.js +1 -0
- package/dist/chunk-TIOKY2IA.js +1 -0
- package/dist/chunk-TQMG647B.js +15 -0
- package/dist/chunk-TU2AR6XO.js +1 -0
- package/dist/chunk-U6ABMRT3.js +9 -0
- package/dist/chunk-U6XEU573.js +1 -0
- package/dist/chunk-UF6US7VU.js +1 -0
- package/dist/chunk-V44SRRYR.js +1 -0
- package/dist/chunk-V5U3E4BZ.js +1 -0
- package/dist/chunk-VAXRCSSH.js +2 -0
- package/dist/chunk-VLOX6KOM.js +1 -0
- package/dist/chunk-VUGRXM7R.js +1 -0
- package/dist/chunk-W2MOTOQE.js +1 -0
- package/dist/chunk-W2MV25SB.js +1 -0
- package/dist/chunk-WLVQJH4E.js +1 -0
- package/dist/chunk-WSCK4WNK.js +1 -0
- package/dist/chunk-XICLXXRH.js +1 -0
- package/dist/chunk-XXDZJ6YI.js +1 -0
- package/dist/chunk-ZL4MZMUK.js +34 -0
- package/dist/chunk-ZLLER3HP.js +1 -0
- package/dist/chunk-ZR3MUNLS.js +1 -0
- package/dist/chunk-ZXF5NE54.js +1 -0
- package/dist/commands/antigravity/backfill.js +2 -136
- package/dist/commands/auth/create-key.js +1 -52
- package/dist/commands/auth/login.js +1 -85
- package/dist/commands/auth/logout.js +1 -29
- package/dist/commands/auth/revoke-key.js +4 -33
- package/dist/commands/auth/signup.js +1 -89
- package/dist/commands/auth/status.js +1 -42
- package/dist/commands/catalog/index.js +2 -52
- package/dist/commands/catalog/recommend.js +3 -43
- package/dist/commands/convert.js +1 -75
- package/dist/commands/converters.js +1 -54
- package/dist/commands/crons/list.js +1 -41
- package/dist/commands/crons/run.js +2 -76
- package/dist/commands/dashboard.js +1 -46
- package/dist/commands/diagnostics.js +1 -117
- package/dist/commands/eval-targets/create.js +1 -53
- package/dist/commands/eval-targets/list.js +1 -54
- package/dist/commands/evals/agent.js +3 -310
- package/dist/commands/evals/benchmark.js +6 -73
- package/dist/commands/evals/compare.js +13 -96
- package/dist/commands/evals/create.js +1 -67
- package/dist/commands/evals/optimize-description.js +25 -239
- package/dist/commands/evals/optimize.js +5 -211
- package/dist/commands/evals/run.js +3 -183
- package/dist/commands/gateway/ensure.js +1 -104
- package/dist/commands/hooks/emit-instructions.js +1 -25
- package/dist/commands/hooks/install.js +1 -442
- package/dist/commands/hooks/run.js +3 -81
- package/dist/commands/hooks/uninstall.js +2 -156
- package/dist/commands/import.js +1 -66
- package/dist/commands/instructions/create.js +1 -74
- package/dist/commands/instructions/delete.js +1 -55
- package/dist/commands/instructions/fork.js +1 -34
- package/dist/commands/instructions/get.js +1 -68
- package/dist/commands/instructions/list.js +1 -65
- package/dist/commands/instructions/promote.js +1 -42
- package/dist/commands/instructions/pull.js +1 -39
- package/dist/commands/instructions/upstream.js +1 -38
- package/dist/commands/instructions/versions.js +1 -53
- package/dist/commands/launcher.js +1 -40
- package/dist/commands/org/current.js +1 -77
- package/dist/commands/org/list.js +1 -52
- package/dist/commands/org/switch.js +1 -71
- package/dist/commands/packs/add-instruction.js +1 -37
- package/dist/commands/packs/apply.js +1 -39
- package/dist/commands/packs/create.js +1 -50
- package/dist/commands/packs/fork.js +1 -34
- package/dist/commands/packs/get.js +3 -56
- package/dist/commands/packs/list.js +1 -66
- package/dist/commands/packs/remove-instruction.js +1 -35
- package/dist/commands/proxy/env.js +3 -131
- package/dist/commands/proxy/logs.js +3 -85
- package/dist/commands/proxy/restart.js +1 -35
- package/dist/commands/proxy/setup.js +17 -454
- package/dist/commands/proxy/start.js +10 -333
- package/dist/commands/proxy/status.js +1 -78
- package/dist/commands/proxy/stop.js +1 -94
- package/dist/commands/research/backfill.js +1 -59
- package/dist/commands/research/tail-transcript.js +1 -70
- package/dist/commands/service/install.js +57 -796
- package/dist/commands/service/status.js +1 -180
- package/dist/commands/service/uninstall.js +1 -119
- package/dist/commands/sessions/analyze.js +1 -48
- package/dist/commands/sessions/end.js +2 -85
- package/dist/commands/sessions/import.js +1 -46
- package/dist/commands/sessions/list.js +1 -48
- package/dist/commands/sessions/start.js +3 -90
- package/dist/commands/setup.js +3 -150
- package/dist/commands/skills/export-approved.js +1 -46
- package/dist/commands/skills/install.js +4 -107
- package/dist/commands/skills/list.js +4 -65
- package/dist/commands/skills/publish.js +2 -98
- package/dist/commands/skills/search.js +3 -72
- package/dist/commands/skills/update.js +3 -55
- package/dist/commands/suggestions/accept.js +8 -84
- package/dist/commands/suggestions/dismiss.js +1 -45
- package/dist/commands/suggestions/list.js +2 -61
- package/dist/commands/suggestions/refresh.js +1 -27
- package/dist/cursor-T7AMCMKS.js +13 -0
- package/dist/dashboard/Dashboard.js +1 -243
- package/dist/dashboard/data.js +1 -15
- package/dist/dashboard/launcher/ActiveJobsList.js +1 -10
- package/dist/dashboard/launcher/LauncherOverlay.js +1 -16
- package/dist/dashboard/launcher/NewLaunchForm.js +1 -10
- package/dist/dashboard/launcher/api.js +1 -16
- package/dist/dashboard/launcher/tool-labels.js +1 -10
- package/dist/dashboard/launcher/types.js +0 -1
- package/dist/dashboard/launcher/useLaunchJobs.js +1 -11
- package/dist/dashboard/panels/friction.js +1 -10
- package/dist/dashboard/panels/insights.js +1 -10
- package/dist/dashboard/panels/instructions.js +1 -10
- package/dist/dashboard/panels/outcomes.js +1 -10
- package/dist/dashboard/panels/overview.js +1 -10
- package/dist/dashboard/panels/shared.js +1 -19
- package/dist/dashboard/types.js +1 -24
- package/dist/dist-FAVALJ5C.js +1 -0
- package/dist/index.js +1 -8
- package/dist/lib/active-org-refresh.js +1 -15
- package/dist/lib/active-org.js +1 -16
- package/dist/lib/agent-loop.js +1 -47
- package/dist/lib/antigravity-transcript.js +1 -22
- package/dist/lib/api-client.js +1 -23
- package/dist/lib/auth.js +1 -30
- package/dist/lib/capture-hosts.js +1 -8
- package/dist/lib/detect-languages.js +1 -8
- package/dist/lib/detect-tmux.js +1 -9
- package/dist/lib/diagnostics.js +1 -12
- package/dist/lib/editor-proxy-pins.js +1 -14
- package/dist/lib/ensure-api-key.js +1 -11
- package/dist/lib/ensure-fresh-token.js +1 -0
- package/dist/lib/eval-analyzer.js +1 -9
- package/dist/lib/eval-benchmark.js +1 -12
- package/dist/lib/eval-conversation-handler.js +1 -13
- package/dist/lib/eval-executor.js +1 -8
- package/dist/lib/eval-grader.js +1 -9
- package/dist/lib/eval-meta-judge.js +1 -9
- package/dist/lib/eval-trigger-tester.js +1 -11
- package/dist/lib/eval-worktree.js +1 -8
- package/dist/lib/gateway-entry.js +1 -61
- package/dist/lib/gateway-identity.js +1 -16
- package/dist/lib/gateway-lifecycle.js +1 -32
- package/dist/lib/gateway.js +1 -14
- package/dist/lib/handlers/cron-refresh-pricing.js +1 -0
- package/dist/lib/handlers/cron-refresh-skills.js +1 -8
- package/dist/lib/handlers/cron-suggest-instructions.js +1 -16
- package/dist/lib/handlers/process-announcement.js +1 -11
- package/dist/lib/handlers/process-changelog.js +1 -11
- package/dist/lib/handlers/process-conversation.js +1 -14
- package/dist/lib/handlers/process-eval.js +1 -15
- package/dist/lib/handlers/process-insights.js +1 -15
- package/dist/lib/handlers/process-launch.js +1 -16
- package/dist/lib/handlers/process-run-cleanup.js +1 -13
- package/dist/lib/handlers/process-send-message.js +1 -10
- package/dist/lib/handlers/process-session-goal.js +1 -12
- package/dist/lib/hooks-config.js +1 -81
- package/dist/lib/insights-prompts.js +1 -12
- package/dist/lib/instruction-snapshot.js +1 -8
- package/dist/lib/job-helpers.js +0 -1
- package/dist/lib/llm-client.js +1 -20
- package/dist/lib/manual-tasks-meta.js +1 -8
- package/dist/lib/manual-tasks.js +1 -80
- package/dist/lib/output.js +1 -12
- package/dist/lib/permanent-job-error.js +1 -10
- package/dist/lib/pid-identity.js +1 -14
- package/dist/lib/proxy-respawn.js +1 -12
- package/dist/lib/research-client.js +1 -12
- package/dist/lib/setup-steps.js +1 -33
- package/dist/lib/skills-loader.js +1 -8
- package/dist/lib/statusline-shim.js +1 -20
- package/dist/lib/telemetry.js +1 -16
- package/dist/lib/terminal-target-heartbeat.js +1 -15
- package/dist/lib/tmux.js +1 -16
- package/dist/lib/transcript-rate-limit-watcher.js +1 -22
- package/dist/lib/types.js +1 -8
- package/dist/lib/version-check.js +1 -12
- package/dist/lib/which.js +1 -8
- package/dist/lib/worktree.js +1 -17
- package/dist/opencode-QRJ3BH23.js +1 -0
- package/oclif.manifest.json +12 -34
- package/package.json +9 -8
- package/dist/base-command.js.map +0 -7
- package/dist/chunk-2HK7RGZB.js +0 -82
- package/dist/chunk-2HK7RGZB.js.map +0 -7
- package/dist/chunk-2ORJWTNZ.js +0 -307
- package/dist/chunk-2ORJWTNZ.js.map +0 -7
- package/dist/chunk-37LN5O7M.js +0 -59
- package/dist/chunk-37LN5O7M.js.map +0 -7
- package/dist/chunk-3S7223UR.js +0 -81
- package/dist/chunk-3S7223UR.js.map +0 -7
- package/dist/chunk-3TIMQ3O6.js +0 -96
- package/dist/chunk-3TIMQ3O6.js.map +0 -7
- package/dist/chunk-42GFSAJP.js +0 -32
- package/dist/chunk-42GFSAJP.js.map +0 -7
- package/dist/chunk-4BHDHHKL.js +0 -48
- package/dist/chunk-4BHDHHKL.js.map +0 -7
- package/dist/chunk-4D537GXE.js +0 -99
- package/dist/chunk-4D537GXE.js.map +0 -7
- package/dist/chunk-4LYCDS2N.js +0 -139
- package/dist/chunk-4LYCDS2N.js.map +0 -7
- package/dist/chunk-4SCZK7AL.js +0 -129
- package/dist/chunk-4SCZK7AL.js.map +0 -7
- package/dist/chunk-4XAWK6S2.js +0 -161
- package/dist/chunk-4XAWK6S2.js.map +0 -7
- package/dist/chunk-52WIYRZH.js +0 -73
- package/dist/chunk-52WIYRZH.js.map +0 -7
- package/dist/chunk-5BAOGNUH.js +0 -79
- package/dist/chunk-5BAOGNUH.js.map +0 -7
- package/dist/chunk-5EDMGK3W.js +0 -39
- package/dist/chunk-5EDMGK3W.js.map +0 -7
- package/dist/chunk-6NBS5XFS.js +0 -99
- package/dist/chunk-6NBS5XFS.js.map +0 -7
- package/dist/chunk-7LVVKQMZ.js +0 -98
- package/dist/chunk-7LVVKQMZ.js.map +0 -7
- package/dist/chunk-7NNFYWKK.js +0 -243
- package/dist/chunk-7NNFYWKK.js.map +0 -7
- package/dist/chunk-7NYKWN7U.js +0 -12
- package/dist/chunk-7NYKWN7U.js.map +0 -7
- package/dist/chunk-BO76WKJR.js +0 -42
- package/dist/chunk-BO76WKJR.js.map +0 -7
- package/dist/chunk-BRD5RUGM.js +0 -53
- package/dist/chunk-BRD5RUGM.js.map +0 -7
- package/dist/chunk-BT6Z6545.js +0 -43
- package/dist/chunk-BT6Z6545.js.map +0 -7
- package/dist/chunk-BZDKEQKU.js +0 -39
- package/dist/chunk-BZDKEQKU.js.map +0 -7
- package/dist/chunk-DGHWRQXL.js +0 -17
- package/dist/chunk-DGHWRQXL.js.map +0 -7
- package/dist/chunk-DIQUV5FR.js +0 -257
- package/dist/chunk-DIQUV5FR.js.map +0 -7
- package/dist/chunk-DMX5YOTM.js +0 -167
- package/dist/chunk-DMX5YOTM.js.map +0 -7
- package/dist/chunk-DNKSVWMD.js +0 -108
- package/dist/chunk-DNKSVWMD.js.map +0 -7
- package/dist/chunk-DQ3KELXD.js +0 -74
- package/dist/chunk-DQ3KELXD.js.map +0 -7
- package/dist/chunk-DUJSRBLP.js +0 -122
- package/dist/chunk-DUJSRBLP.js.map +0 -7
- package/dist/chunk-E3BIT53W.js +0 -154
- package/dist/chunk-E3BIT53W.js.map +0 -7
- package/dist/chunk-EARWG4EV.js +0 -22
- package/dist/chunk-EARWG4EV.js.map +0 -7
- package/dist/chunk-EI5BHWXA.js +0 -1662
- package/dist/chunk-EI5BHWXA.js.map +0 -7
- package/dist/chunk-EJ3YAFDP.js +0 -37
- package/dist/chunk-EJ3YAFDP.js.map +0 -7
- package/dist/chunk-EKJ2CABV.js +0 -76
- package/dist/chunk-EKJ2CABV.js.map +0 -7
- package/dist/chunk-EKP32DLN.js +0 -16
- package/dist/chunk-EKP32DLN.js.map +0 -7
- package/dist/chunk-EYPAAGN5.js +0 -51
- package/dist/chunk-EYPAAGN5.js.map +0 -7
- package/dist/chunk-F5N6CLJJ.js +0 -1995
- package/dist/chunk-F5N6CLJJ.js.map +0 -7
- package/dist/chunk-GIUBARWS.js +0 -99
- package/dist/chunk-GIUBARWS.js.map +0 -7
- package/dist/chunk-GQNJO2P2.js +0 -102
- package/dist/chunk-GQNJO2P2.js.map +0 -7
- package/dist/chunk-IJGF2ETG.js +0 -68
- package/dist/chunk-IJGF2ETG.js.map +0 -7
- package/dist/chunk-ILYDELUE.js +0 -46
- package/dist/chunk-ILYDELUE.js.map +0 -7
- package/dist/chunk-J6QFW4LD.js +0 -55
- package/dist/chunk-J6QFW4LD.js.map +0 -7
- package/dist/chunk-J7N3DLH6.js +0 -117
- package/dist/chunk-J7N3DLH6.js.map +0 -7
- package/dist/chunk-JFDWKLQC.js +0 -23
- package/dist/chunk-JFDWKLQC.js.map +0 -7
- package/dist/chunk-JULOLTZS.js +0 -61
- package/dist/chunk-JULOLTZS.js.map +0 -7
- package/dist/chunk-KJKBDQ4D.js +0 -220
- package/dist/chunk-KJKBDQ4D.js.map +0 -7
- package/dist/chunk-KRBQLMOP.js +0 -41
- package/dist/chunk-KRBQLMOP.js.map +0 -7
- package/dist/chunk-LXKPNATC.js +0 -624
- package/dist/chunk-LXKPNATC.js.map +0 -7
- package/dist/chunk-NSBPE2FW.js +0 -17
- package/dist/chunk-NSBPE2FW.js.map +0 -7
- package/dist/chunk-OCKHW72U.js +0 -55
- package/dist/chunk-OCKHW72U.js.map +0 -7
- package/dist/chunk-OKWCKCPE.js +0 -414
- package/dist/chunk-OKWCKCPE.js.map +0 -7
- package/dist/chunk-OO7JDFS4.js +0 -157
- package/dist/chunk-OO7JDFS4.js.map +0 -7
- package/dist/chunk-OQBBVTDG.js.map +0 -7
- package/dist/chunk-OQSQC7VB.js +0 -77
- package/dist/chunk-OQSQC7VB.js.map +0 -7
- package/dist/chunk-PED7L5GX.js +0 -92
- package/dist/chunk-PED7L5GX.js.map +0 -7
- package/dist/chunk-QJQS6TUN.js +0 -44
- package/dist/chunk-QJQS6TUN.js.map +0 -7
- package/dist/chunk-QN34TGD3.js +0 -83
- package/dist/chunk-QN34TGD3.js.map +0 -7
- package/dist/chunk-QSN77T7C.js +0 -250
- package/dist/chunk-QSN77T7C.js.map +0 -7
- package/dist/chunk-R56PH7YE.js +0 -78
- package/dist/chunk-R56PH7YE.js.map +0 -7
- package/dist/chunk-RAXRZYOB.js +0 -299
- package/dist/chunk-RAXRZYOB.js.map +0 -7
- package/dist/chunk-RH7NHVSK.js +0 -16
- package/dist/chunk-RH7NHVSK.js.map +0 -7
- package/dist/chunk-RMTT4KDY.js +0 -191
- package/dist/chunk-RMTT4KDY.js.map +0 -7
- package/dist/chunk-RQ2TMLKG.js +0 -142
- package/dist/chunk-RQ2TMLKG.js.map +0 -7
- package/dist/chunk-SO3T35U7.js +0 -80
- package/dist/chunk-SO3T35U7.js.map +0 -7
- package/dist/chunk-UKMLICWS.js +0 -51
- package/dist/chunk-UKMLICWS.js.map +0 -7
- package/dist/chunk-VA5FFOS7.js +0 -243
- package/dist/chunk-VA5FFOS7.js.map +0 -7
- package/dist/chunk-W2YERO7E.js +0 -170
- package/dist/chunk-W2YERO7E.js.map +0 -7
- package/dist/chunk-W53GKIZQ.js +0 -50
- package/dist/chunk-W53GKIZQ.js.map +0 -7
- package/dist/chunk-WA4MWYRW.js +0 -254
- package/dist/chunk-WA4MWYRW.js.map +0 -7
- package/dist/chunk-XC6M4CSW.js +0 -44
- package/dist/chunk-XC6M4CSW.js.map +0 -7
- package/dist/chunk-XK42ZBDE.js +0 -23
- package/dist/chunk-XK42ZBDE.js.map +0 -7
- package/dist/chunk-XUV6DDBF.js +0 -124
- package/dist/chunk-XUV6DDBF.js.map +0 -7
- package/dist/chunk-XZXS2W24.js.map +0 -7
- package/dist/chunk-Y3WD5CSW.js +0 -49
- package/dist/chunk-Y3WD5CSW.js.map +0 -7
- package/dist/chunk-Y4BJXXYV.js +0 -148
- package/dist/chunk-Y4BJXXYV.js.map +0 -7
- package/dist/chunk-YNIH3KMU.js +0 -121
- package/dist/chunk-YNIH3KMU.js.map +0 -7
- package/dist/chunk-ZUJBM6HE.js +0 -125
- package/dist/chunk-ZUJBM6HE.js.map +0 -7
- package/dist/commands/antigravity/backfill.js.map +0 -7
- package/dist/commands/auth/create-key.js.map +0 -7
- package/dist/commands/auth/login.js.map +0 -7
- package/dist/commands/auth/logout.js.map +0 -7
- package/dist/commands/auth/revoke-key.js.map +0 -7
- package/dist/commands/auth/signup.js.map +0 -7
- package/dist/commands/auth/status.js.map +0 -7
- package/dist/commands/catalog/index.js.map +0 -7
- package/dist/commands/catalog/recommend.js.map +0 -7
- package/dist/commands/convert.js.map +0 -7
- package/dist/commands/converters.js.map +0 -7
- package/dist/commands/crons/list.js.map +0 -7
- package/dist/commands/crons/run.js.map +0 -7
- package/dist/commands/dashboard.js.map +0 -7
- package/dist/commands/diagnostics.js.map +0 -7
- package/dist/commands/eval-targets/create.js.map +0 -7
- package/dist/commands/eval-targets/list.js.map +0 -7
- package/dist/commands/evals/agent.js.map +0 -7
- package/dist/commands/evals/benchmark.js.map +0 -7
- package/dist/commands/evals/compare.js.map +0 -7
- package/dist/commands/evals/create.js.map +0 -7
- package/dist/commands/evals/optimize-description.js.map +0 -7
- package/dist/commands/evals/optimize.js.map +0 -7
- package/dist/commands/evals/run.js.map +0 -7
- package/dist/commands/gateway/ensure.js.map +0 -7
- package/dist/commands/hooks/emit-instructions.js.map +0 -7
- package/dist/commands/hooks/install.js.map +0 -7
- package/dist/commands/hooks/run.js.map +0 -7
- package/dist/commands/hooks/uninstall.js.map +0 -7
- package/dist/commands/import.js.map +0 -7
- package/dist/commands/instructions/create.js.map +0 -7
- package/dist/commands/instructions/delete.js.map +0 -7
- package/dist/commands/instructions/fork.js.map +0 -7
- package/dist/commands/instructions/get.js.map +0 -7
- package/dist/commands/instructions/list.js.map +0 -7
- package/dist/commands/instructions/promote.js.map +0 -7
- package/dist/commands/instructions/pull.js.map +0 -7
- package/dist/commands/instructions/upstream.js.map +0 -7
- package/dist/commands/instructions/versions.js.map +0 -7
- package/dist/commands/launcher.js.map +0 -7
- package/dist/commands/org/current.js.map +0 -7
- package/dist/commands/org/list.js.map +0 -7
- package/dist/commands/org/switch.js.map +0 -7
- package/dist/commands/packs/add-instruction.js.map +0 -7
- package/dist/commands/packs/apply.js.map +0 -7
- package/dist/commands/packs/create.js.map +0 -7
- package/dist/commands/packs/fork.js.map +0 -7
- package/dist/commands/packs/get.js.map +0 -7
- package/dist/commands/packs/list.js.map +0 -7
- package/dist/commands/packs/remove-instruction.js.map +0 -7
- package/dist/commands/proxy/env.js.map +0 -7
- package/dist/commands/proxy/logs.js.map +0 -7
- package/dist/commands/proxy/restart.js.map +0 -7
- package/dist/commands/proxy/setup.js.map +0 -7
- package/dist/commands/proxy/start.js.map +0 -7
- package/dist/commands/proxy/status.js.map +0 -7
- package/dist/commands/proxy/stop.js.map +0 -7
- package/dist/commands/research/backfill.js.map +0 -7
- package/dist/commands/research/tail-transcript.js.map +0 -7
- package/dist/commands/service/install.js.map +0 -7
- package/dist/commands/service/status.js.map +0 -7
- package/dist/commands/service/uninstall.js.map +0 -7
- package/dist/commands/sessions/analyze.js.map +0 -7
- package/dist/commands/sessions/end.js.map +0 -7
- package/dist/commands/sessions/import.js.map +0 -7
- package/dist/commands/sessions/list.js.map +0 -7
- package/dist/commands/sessions/start.js.map +0 -7
- package/dist/commands/setup.js.map +0 -7
- package/dist/commands/skills/export-approved.js.map +0 -7
- package/dist/commands/skills/install.js.map +0 -7
- package/dist/commands/skills/list.js.map +0 -7
- package/dist/commands/skills/publish.js.map +0 -7
- package/dist/commands/skills/search.js.map +0 -7
- package/dist/commands/skills/update.js.map +0 -7
- package/dist/commands/suggestions/accept.js.map +0 -7
- package/dist/commands/suggestions/dismiss.js.map +0 -7
- package/dist/commands/suggestions/list.js.map +0 -7
- package/dist/commands/suggestions/refresh.js.map +0 -7
- package/dist/cursor-BGQJ4CWI.js +0 -134
- package/dist/cursor-BGQJ4CWI.js.map +0 -7
- package/dist/dashboard/Dashboard.js.map +0 -7
- package/dist/dashboard/data.js.map +0 -7
- package/dist/dashboard/launcher/ActiveJobsList.js.map +0 -7
- package/dist/dashboard/launcher/LauncherOverlay.js.map +0 -7
- package/dist/dashboard/launcher/NewLaunchForm.js.map +0 -7
- package/dist/dashboard/launcher/api.js.map +0 -7
- package/dist/dashboard/launcher/tool-labels.js.map +0 -7
- package/dist/dashboard/launcher/types.js.map +0 -7
- package/dist/dashboard/launcher/useLaunchJobs.js.map +0 -7
- package/dist/dashboard/panels/friction.js.map +0 -7
- package/dist/dashboard/panels/insights.js.map +0 -7
- package/dist/dashboard/panels/instructions.js.map +0 -7
- package/dist/dashboard/panels/outcomes.js.map +0 -7
- package/dist/dashboard/panels/overview.js.map +0 -7
- package/dist/dashboard/panels/shared.js.map +0 -7
- package/dist/dashboard/types.js.map +0 -7
- package/dist/dist-UNYP5PJR.js +0 -56
- package/dist/dist-UNYP5PJR.js.map +0 -7
- package/dist/index.js.map +0 -7
- package/dist/lib/active-org-refresh.js.map +0 -7
- package/dist/lib/active-org.js.map +0 -7
- package/dist/lib/agent-loop.js.map +0 -7
- package/dist/lib/antigravity-transcript.js.map +0 -7
- package/dist/lib/api-client.js.map +0 -7
- package/dist/lib/auth.js.map +0 -7
- package/dist/lib/capture-hosts.js.map +0 -7
- package/dist/lib/detect-languages.js.map +0 -7
- package/dist/lib/detect-tmux.js.map +0 -7
- package/dist/lib/diagnostics.js.map +0 -7
- package/dist/lib/editor-proxy-pins.js.map +0 -7
- package/dist/lib/ensure-api-key.js.map +0 -7
- package/dist/lib/eval-analyzer.js.map +0 -7
- package/dist/lib/eval-benchmark.js.map +0 -7
- package/dist/lib/eval-conversation-handler.js.map +0 -7
- package/dist/lib/eval-executor.js.map +0 -7
- package/dist/lib/eval-grader.js.map +0 -7
- package/dist/lib/eval-meta-judge.js.map +0 -7
- package/dist/lib/eval-trigger-tester.js.map +0 -7
- package/dist/lib/eval-worktree.js.map +0 -7
- package/dist/lib/gateway-entry.js.map +0 -7
- package/dist/lib/gateway-identity.js.map +0 -7
- package/dist/lib/gateway-lifecycle.js.map +0 -7
- package/dist/lib/gateway.js.map +0 -7
- package/dist/lib/handlers/cron-refresh-skills.js.map +0 -7
- package/dist/lib/handlers/cron-suggest-instructions.js.map +0 -7
- package/dist/lib/handlers/process-announcement.js.map +0 -7
- package/dist/lib/handlers/process-changelog.js.map +0 -7
- package/dist/lib/handlers/process-conversation.js.map +0 -7
- package/dist/lib/handlers/process-eval.js.map +0 -7
- package/dist/lib/handlers/process-insights.js.map +0 -7
- package/dist/lib/handlers/process-launch.js.map +0 -7
- package/dist/lib/handlers/process-run-cleanup.js.map +0 -7
- package/dist/lib/handlers/process-send-message.js.map +0 -7
- package/dist/lib/handlers/process-session-goal.js.map +0 -7
- package/dist/lib/hooks-config.js.map +0 -7
- package/dist/lib/insights-prompts.js.map +0 -7
- package/dist/lib/instruction-snapshot.js.map +0 -7
- package/dist/lib/job-helpers.js.map +0 -7
- package/dist/lib/llm-client.js.map +0 -7
- package/dist/lib/manual-tasks-meta.js.map +0 -7
- package/dist/lib/manual-tasks.js.map +0 -7
- package/dist/lib/output.js.map +0 -7
- package/dist/lib/permanent-job-error.js.map +0 -7
- package/dist/lib/pid-identity.js.map +0 -7
- package/dist/lib/proxy-respawn.js.map +0 -7
- package/dist/lib/research-client.js.map +0 -7
- package/dist/lib/setup-steps.js.map +0 -7
- package/dist/lib/skills-loader.js.map +0 -7
- package/dist/lib/statusline-shim.js.map +0 -7
- package/dist/lib/telemetry.js.map +0 -7
- package/dist/lib/terminal-target-heartbeat.js.map +0 -7
- package/dist/lib/tmux.js.map +0 -7
- package/dist/lib/transcript-rate-limit-watcher.js.map +0 -7
- package/dist/lib/types.js.map +0 -7
- package/dist/lib/version-check.js.map +0 -7
- package/dist/lib/which.js.map +0 -7
- package/dist/lib/worktree.js.map +0 -7
- package/dist/opencode-IQ7X5YMJ.js +0 -190
- package/dist/opencode-IQ7X5YMJ.js.map +0 -7
|
@@ -1,11 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
processChangelog
|
|
3
|
-
} from "../../chunk-DUJSRBLP.js";
|
|
4
|
-
import "../../chunk-E3BIT53W.js";
|
|
5
|
-
import "../../chunk-QSN77T7C.js";
|
|
6
|
-
import "../../chunk-EI5BHWXA.js";
|
|
7
|
-
import "../../chunk-NSBPE2FW.js";
|
|
8
|
-
export {
|
|
9
|
-
processChangelog
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=process-changelog.js.map
|
|
1
|
+
import{a}from"../../chunk-JQTGQXUX.js";import"../../chunk-ZL4MZMUK.js";import"../../chunk-N7TGRFVZ.js";import"../../chunk-H4SV7FN4.js";import"../../chunk-ZLLER3HP.js";export{a as processChangelog};
|
|
@@ -1,14 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
processConversation
|
|
3
|
-
} from "../../chunk-XK42ZBDE.js";
|
|
4
|
-
import "../../chunk-KJKBDQ4D.js";
|
|
5
|
-
import "../../chunk-3TIMQ3O6.js";
|
|
6
|
-
import "../../chunk-YNIH3KMU.js";
|
|
7
|
-
import "../../chunk-QN34TGD3.js";
|
|
8
|
-
import "../../chunk-ZUJBM6HE.js";
|
|
9
|
-
import "../../chunk-W2YERO7E.js";
|
|
10
|
-
import "../../chunk-NSBPE2FW.js";
|
|
11
|
-
export {
|
|
12
|
-
processConversation
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=process-conversation.js.map
|
|
1
|
+
import{a}from"../../chunk-NEACEHQD.js";import"../../chunk-HS7X43XE.js";import"../../chunk-DSO2U4Y6.js";import"../../chunk-CADKBP3D.js";import"../../chunk-MGHFDHHM.js";import"../../chunk-H2ORWIEY.js";import"../../chunk-O6C2UGBY.js";import"../../chunk-ZLLER3HP.js";export{a as processConversation};
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
processEval
|
|
3
|
-
} from "../../chunk-RMTT4KDY.js";
|
|
4
|
-
import "../../chunk-DGHWRQXL.js";
|
|
5
|
-
import "../../chunk-J7N3DLH6.js";
|
|
6
|
-
import "../../chunk-52WIYRZH.js";
|
|
7
|
-
import "../../chunk-YNIH3KMU.js";
|
|
8
|
-
import "../../chunk-QN34TGD3.js";
|
|
9
|
-
import "../../chunk-ZUJBM6HE.js";
|
|
10
|
-
import "../../chunk-W2YERO7E.js";
|
|
11
|
-
import "../../chunk-NSBPE2FW.js";
|
|
12
|
-
export {
|
|
13
|
-
processEval
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=process-eval.js.map
|
|
1
|
+
import{a}from"../../chunk-32EEBARV.js";import"../../chunk-5RBLIVBF.js";import"../../chunk-2TC6WCUT.js";import"../../chunk-6V4WM73L.js";import"../../chunk-CADKBP3D.js";import"../../chunk-MGHFDHHM.js";import"../../chunk-H2ORWIEY.js";import"../../chunk-O6C2UGBY.js";import"../../chunk-ZLLER3HP.js";export{a as processEval};
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
processInsights
|
|
3
|
-
} from "../../chunk-VA5FFOS7.js";
|
|
4
|
-
import "../../chunk-XZXS2W24.js";
|
|
5
|
-
import "../../chunk-DIQUV5FR.js";
|
|
6
|
-
import "../../chunk-DGHWRQXL.js";
|
|
7
|
-
import "../../chunk-KRBQLMOP.js";
|
|
8
|
-
import "../../chunk-42GFSAJP.js";
|
|
9
|
-
import "../../chunk-ZUJBM6HE.js";
|
|
10
|
-
import "../../chunk-W2YERO7E.js";
|
|
11
|
-
import "../../chunk-NSBPE2FW.js";
|
|
12
|
-
export {
|
|
13
|
-
processInsights
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=process-insights.js.map
|
|
1
|
+
import{a}from"../../chunk-TQMG647B.js";import"../../chunk-QFVGUZDO.js";import"../../chunk-RTWRHIKY.js";import"../../chunk-ZL4MZMUK.js";import"../../chunk-5RBLIVBF.js";import"../../chunk-N7ODX6PO.js";import"../../chunk-67QCYUJU.js";import"../../chunk-H2ORWIEY.js";import"../../chunk-O6C2UGBY.js";import"../../chunk-ZLLER3HP.js";export{a as processInsights};
|
|
@@ -1,16 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
processLaunch,
|
|
3
|
-
resolveWorktreeForLaunch
|
|
4
|
-
} from "../../chunk-JULOLTZS.js";
|
|
5
|
-
import "../../chunk-Y4BJXXYV.js";
|
|
6
|
-
import "../../chunk-DGHWRQXL.js";
|
|
7
|
-
import "../../chunk-F5N6CLJJ.js";
|
|
8
|
-
import "../../chunk-KRBQLMOP.js";
|
|
9
|
-
import "../../chunk-ZUJBM6HE.js";
|
|
10
|
-
import "../../chunk-W2YERO7E.js";
|
|
11
|
-
import "../../chunk-NSBPE2FW.js";
|
|
12
|
-
export {
|
|
13
|
-
processLaunch,
|
|
14
|
-
resolveWorktreeForLaunch
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=process-launch.js.map
|
|
1
|
+
import{a,b}from"../../chunk-W2MOTOQE.js";import"../../chunk-6QKI756T.js";import"../../chunk-5RBLIVBF.js";import"../../chunk-7DFNBRLY.js";import"../../chunk-N7ODX6PO.js";import"../../chunk-H2ORWIEY.js";import"../../chunk-O6C2UGBY.js";import"../../chunk-ZLLER3HP.js";export{b as processLaunch,a as resolveWorktreeForLaunch};
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
processRunCleanup
|
|
3
|
-
} from "../../chunk-6NBS5XFS.js";
|
|
4
|
-
import "../../chunk-EI5BHWXA.js";
|
|
5
|
-
import "../../chunk-Y4BJXXYV.js";
|
|
6
|
-
import "../../chunk-DGHWRQXL.js";
|
|
7
|
-
import "../../chunk-F5N6CLJJ.js";
|
|
8
|
-
import "../../chunk-KRBQLMOP.js";
|
|
9
|
-
import "../../chunk-NSBPE2FW.js";
|
|
10
|
-
export {
|
|
11
|
-
processRunCleanup
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=process-run-cleanup.js.map
|
|
1
|
+
import{a}from"../../chunk-VAXRCSSH.js";import"../../chunk-6QKI756T.js";import"../../chunk-H4SV7FN4.js";import"../../chunk-5RBLIVBF.js";import"../../chunk-7DFNBRLY.js";import"../../chunk-N7ODX6PO.js";import"../../chunk-ZLLER3HP.js";export{a as processRunCleanup};
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
processSendMessage
|
|
3
|
-
} from "../../chunk-W53GKIZQ.js";
|
|
4
|
-
import "../../chunk-DGHWRQXL.js";
|
|
5
|
-
import "../../chunk-KRBQLMOP.js";
|
|
6
|
-
import "../../chunk-NSBPE2FW.js";
|
|
7
|
-
export {
|
|
8
|
-
processSendMessage
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=process-send-message.js.map
|
|
1
|
+
import{a}from"../../chunk-RSKQRVPJ.js";import"../../chunk-5RBLIVBF.js";import"../../chunk-N7ODX6PO.js";import"../../chunk-ZLLER3HP.js";export{a as processSendMessage};
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
processSessionGoal
|
|
3
|
-
} from "../../chunk-OCKHW72U.js";
|
|
4
|
-
import "../../chunk-EI5BHWXA.js";
|
|
5
|
-
import "../../chunk-DIQUV5FR.js";
|
|
6
|
-
import "../../chunk-KRBQLMOP.js";
|
|
7
|
-
import "../../chunk-42GFSAJP.js";
|
|
8
|
-
import "../../chunk-NSBPE2FW.js";
|
|
9
|
-
export {
|
|
10
|
-
processSessionGoal
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=process-session-goal.js.map
|
|
1
|
+
import{a}from"../../chunk-AYUJY37O.js";import"../../chunk-RTWRHIKY.js";import"../../chunk-H4SV7FN4.js";import"../../chunk-N7ODX6PO.js";import"../../chunk-67QCYUJU.js";import"../../chunk-ZLLER3HP.js";export{a as processSessionGoal};
|
package/dist/lib/hooks-config.js
CHANGED
|
@@ -1,81 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
RULEMETRIC_NO_PROXY,
|
|
3
|
-
claudeSettingsInstallPath,
|
|
4
|
-
cleanClaudeSettingsFiles,
|
|
5
|
-
detectInstalledTools,
|
|
6
|
-
generateAntigravityHooksConfig,
|
|
7
|
-
generateClaudeCodeHooksConfig,
|
|
8
|
-
generateCopilotHooksConfig,
|
|
9
|
-
generateCursorHooksConfig,
|
|
10
|
-
getCursorUserSettingsPath,
|
|
11
|
-
getVSCodeUserSettingsPath,
|
|
12
|
-
hasRulemetricClaudeHooks,
|
|
13
|
-
installMacOSProxyEnv,
|
|
14
|
-
mergeClaudeCodeHooks,
|
|
15
|
-
migrateSharedClaudeSettings,
|
|
16
|
-
readClaudeSettings,
|
|
17
|
-
removeAntigravityHooks,
|
|
18
|
-
removeAntigravityUserHooks,
|
|
19
|
-
removeClaudeCodeHooks,
|
|
20
|
-
removeCopilotHooks,
|
|
21
|
-
removeCursorHooks,
|
|
22
|
-
removeCursorUserHooks,
|
|
23
|
-
removeCursorUserProxyConfig,
|
|
24
|
-
removeRulemetricMachineState,
|
|
25
|
-
removeRulemetricProxyEnv,
|
|
26
|
-
removeVSCodeProxyConfig,
|
|
27
|
-
removeVSCodeUserProxyConfig,
|
|
28
|
-
uninstallMacOSProxyEnv,
|
|
29
|
-
writeAntigravityHooks,
|
|
30
|
-
writeAntigravityUserHooks,
|
|
31
|
-
writeClaudeSettingsWithBackup,
|
|
32
|
-
writeCopilotHooks,
|
|
33
|
-
writeCursorHooks,
|
|
34
|
-
writeCursorProxyConfig,
|
|
35
|
-
writeCursorUserHooks,
|
|
36
|
-
writeCursorUserProxyConfig,
|
|
37
|
-
writeVSCodeProxyConfig,
|
|
38
|
-
writeVSCodeUserProxyConfig
|
|
39
|
-
} from "../chunk-LXKPNATC.js";
|
|
40
|
-
import "../chunk-OQBBVTDG.js";
|
|
41
|
-
import "../chunk-NSBPE2FW.js";
|
|
42
|
-
export {
|
|
43
|
-
RULEMETRIC_NO_PROXY,
|
|
44
|
-
claudeSettingsInstallPath,
|
|
45
|
-
cleanClaudeSettingsFiles,
|
|
46
|
-
detectInstalledTools,
|
|
47
|
-
generateAntigravityHooksConfig,
|
|
48
|
-
generateClaudeCodeHooksConfig,
|
|
49
|
-
generateCopilotHooksConfig,
|
|
50
|
-
generateCursorHooksConfig,
|
|
51
|
-
getCursorUserSettingsPath,
|
|
52
|
-
getVSCodeUserSettingsPath,
|
|
53
|
-
hasRulemetricClaudeHooks,
|
|
54
|
-
installMacOSProxyEnv,
|
|
55
|
-
mergeClaudeCodeHooks,
|
|
56
|
-
migrateSharedClaudeSettings,
|
|
57
|
-
readClaudeSettings,
|
|
58
|
-
removeAntigravityHooks,
|
|
59
|
-
removeAntigravityUserHooks,
|
|
60
|
-
removeClaudeCodeHooks,
|
|
61
|
-
removeCopilotHooks,
|
|
62
|
-
removeCursorHooks,
|
|
63
|
-
removeCursorUserHooks,
|
|
64
|
-
removeCursorUserProxyConfig,
|
|
65
|
-
removeRulemetricMachineState,
|
|
66
|
-
removeRulemetricProxyEnv,
|
|
67
|
-
removeVSCodeProxyConfig,
|
|
68
|
-
removeVSCodeUserProxyConfig,
|
|
69
|
-
uninstallMacOSProxyEnv,
|
|
70
|
-
writeAntigravityHooks,
|
|
71
|
-
writeAntigravityUserHooks,
|
|
72
|
-
writeClaudeSettingsWithBackup,
|
|
73
|
-
writeCopilotHooks,
|
|
74
|
-
writeCursorHooks,
|
|
75
|
-
writeCursorProxyConfig,
|
|
76
|
-
writeCursorUserHooks,
|
|
77
|
-
writeCursorUserProxyConfig,
|
|
78
|
-
writeVSCodeProxyConfig,
|
|
79
|
-
writeVSCodeUserProxyConfig
|
|
80
|
-
};
|
|
81
|
-
//# sourceMappingURL=hooks-config.js.map
|
|
1
|
+
import{A,B,C,D,E,F,G,H,I,J,K,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-2JRDG4LJ.js";import"../chunk-I2DZGJRR.js";import"../chunk-ZLLER3HP.js";export{j as RULEMETRIC_NO_PROXY,k as claudeSettingsInstallPath,o as cleanClaudeSettingsFiles,a as detectInstalledTools,G as generateAntigravityHooksConfig,d as generateClaudeCodeHooksConfig,c as generateCopilotHooksConfig,b as generateCursorHooksConfig,D as getCursorUserSettingsPath,A as getVSCodeUserSettingsPath,h as hasRulemetricClaudeHooks,y as installMacOSProxyEnv,g as mergeClaudeCodeHooks,n as migrateSharedClaudeSettings,e as readClaudeSettings,J as removeAntigravityHooks,K as removeAntigravityUserHooks,i as removeClaudeCodeHooks,x as removeCopilotHooks,s as removeCursorHooks,t as removeCursorUserHooks,F as removeCursorUserProxyConfig,m as removeRulemetricMachineState,l as removeRulemetricProxyEnv,w as removeVSCodeProxyConfig,C as removeVSCodeUserProxyConfig,z as uninstallMacOSProxyEnv,H as writeAntigravityHooks,I as writeAntigravityUserHooks,f as writeClaudeSettingsWithBackup,r as writeCopilotHooks,p as writeCursorHooks,u as writeCursorProxyConfig,q as writeCursorUserHooks,E as writeCursorUserProxyConfig,v as writeVSCodeProxyConfig,B as writeVSCodeUserProxyConfig};
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
AT_A_GLANCE_PROMPT,
|
|
3
|
-
FACET_GENERATION_PROMPT,
|
|
4
|
-
RECOMMENDATION_PROMPTS
|
|
5
|
-
} from "../chunk-XZXS2W24.js";
|
|
6
|
-
import "../chunk-NSBPE2FW.js";
|
|
7
|
-
export {
|
|
8
|
-
AT_A_GLANCE_PROMPT,
|
|
9
|
-
FACET_GENERATION_PROMPT,
|
|
10
|
-
RECOMMENDATION_PROMPTS
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=insights-prompts.js.map
|
|
1
|
+
import{a,b,c}from"../chunk-QFVGUZDO.js";import"../chunk-ZLLER3HP.js";export{b as AT_A_GLANCE_PROMPT,c as FACET_GENERATION_PROMPT,a as RECOMMENDATION_PROMPTS};
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
buildInstructionSnapshot
|
|
3
|
-
} from "../chunk-SO3T35U7.js";
|
|
4
|
-
import "../chunk-NSBPE2FW.js";
|
|
5
|
-
export {
|
|
6
|
-
buildInstructionSnapshot
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=instruction-snapshot.js.map
|
|
1
|
+
import{a}from"../chunk-CNQ5DTNC.js";import"../chunk-ZLLER3HP.js";export{a as buildInstructionSnapshot};
|
package/dist/lib/job-helpers.js
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=job-helpers.js.map
|
package/dist/lib/llm-client.js
CHANGED
|
@@ -1,20 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
detectLlmBackend,
|
|
3
|
-
getToolCli,
|
|
4
|
-
resetLlmBackendCache,
|
|
5
|
-
resolveToolBin,
|
|
6
|
-
runLlmPrompt,
|
|
7
|
-
runToolPrompt
|
|
8
|
-
} from "../chunk-DIQUV5FR.js";
|
|
9
|
-
import "../chunk-KRBQLMOP.js";
|
|
10
|
-
import "../chunk-42GFSAJP.js";
|
|
11
|
-
import "../chunk-NSBPE2FW.js";
|
|
12
|
-
export {
|
|
13
|
-
detectLlmBackend,
|
|
14
|
-
getToolCli,
|
|
15
|
-
resetLlmBackendCache,
|
|
16
|
-
resolveToolBin,
|
|
17
|
-
runLlmPrompt,
|
|
18
|
-
runToolPrompt
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=llm-client.js.map
|
|
1
|
+
import{a,b,c,d,e,f}from"../chunk-RTWRHIKY.js";import"../chunk-N7ODX6PO.js";import"../chunk-67QCYUJU.js";import"../chunk-ZLLER3HP.js";export{d as detectLlmBackend,b as getToolCli,e as resetLlmBackendCache,a as resolveToolBin,f as runLlmPrompt,c as runToolPrompt};
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
MANUAL_TASK_META
|
|
3
|
-
} from "../chunk-JFDWKLQC.js";
|
|
4
|
-
import "../chunk-NSBPE2FW.js";
|
|
5
|
-
export {
|
|
6
|
-
MANUAL_TASK_META
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=manual-tasks-meta.js.map
|
|
1
|
+
import{a}from"../chunk-GY5IJ4RS.js";import"../chunk-ZLLER3HP.js";export{a as MANUAL_TASK_META};
|
package/dist/lib/manual-tasks.js
CHANGED
|
@@ -1,80 +1 @@
|
|
|
1
|
-
import {
|
|
2
|
-
processChangelog
|
|
3
|
-
} from "../chunk-DUJSRBLP.js";
|
|
4
|
-
import {
|
|
5
|
-
cronRefreshSkills
|
|
6
|
-
} from "../chunk-RQ2TMLKG.js";
|
|
7
|
-
import {
|
|
8
|
-
cronSuggestInstructions
|
|
9
|
-
} from "../chunk-DMX5YOTM.js";
|
|
10
|
-
import "../chunk-E3BIT53W.js";
|
|
11
|
-
import "../chunk-QSN77T7C.js";
|
|
12
|
-
import "../chunk-EI5BHWXA.js";
|
|
13
|
-
import "../chunk-DIQUV5FR.js";
|
|
14
|
-
import "../chunk-OQSQC7VB.js";
|
|
15
|
-
import "../chunk-EKP32DLN.js";
|
|
16
|
-
import "../chunk-KRBQLMOP.js";
|
|
17
|
-
import "../chunk-42GFSAJP.js";
|
|
18
|
-
import {
|
|
19
|
-
MANUAL_TASK_META
|
|
20
|
-
} from "../chunk-JFDWKLQC.js";
|
|
21
|
-
import "../chunk-ZUJBM6HE.js";
|
|
22
|
-
import "../chunk-W2YERO7E.js";
|
|
23
|
-
import "../chunk-NSBPE2FW.js";
|
|
24
|
-
|
|
25
|
-
// src/lib/manual-tasks.ts
|
|
26
|
-
var HANDLERS = {
|
|
27
|
-
cron_check_changelog: async (_payload, helpers) => {
|
|
28
|
-
const result = await processChangelog({
|
|
29
|
-
logger: {
|
|
30
|
-
info: (m) => helpers.logger.info(m),
|
|
31
|
-
warn: (m) => helpers.logger.warn(m)
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
helpers.logger.info(
|
|
35
|
-
`[cron_check_changelog] result: created=${result.createdCount} skipped=${result.skippedCount}`
|
|
36
|
-
);
|
|
37
|
-
},
|
|
38
|
-
cron_suggest_instructions: (payload, helpers) => cronSuggestInstructions(payload, helpers),
|
|
39
|
-
cron_refresh_skills: (payload, helpers) => cronRefreshSkills(payload, helpers)
|
|
40
|
-
};
|
|
41
|
-
var MANUAL_TASKS = MANUAL_TASK_META.map((meta) => {
|
|
42
|
-
const handler = HANDLERS[meta.name];
|
|
43
|
-
if (!handler) {
|
|
44
|
-
throw new Error(`manual-tasks: no handler registered for "${meta.name}"`);
|
|
45
|
-
}
|
|
46
|
-
return { ...meta, handler };
|
|
47
|
-
});
|
|
48
|
-
async function runManualTask(name) {
|
|
49
|
-
const def = MANUAL_TASKS.find((t) => t.name === name);
|
|
50
|
-
if (!def) {
|
|
51
|
-
return { name, durationMs: 0, ok: false, error: `Unknown task: ${name}`, logs: [] };
|
|
52
|
-
}
|
|
53
|
-
const logs = [];
|
|
54
|
-
const helpers = {
|
|
55
|
-
logger: {
|
|
56
|
-
info: (message) => logs.push({ level: "info", message }),
|
|
57
|
-
warn: (message) => logs.push({ level: "warn", message }),
|
|
58
|
-
error: (message) => logs.push({ level: "error", message })
|
|
59
|
-
},
|
|
60
|
-
job: { attempts: 0 }
|
|
61
|
-
};
|
|
62
|
-
const start = Date.now();
|
|
63
|
-
try {
|
|
64
|
-
await def.handler({}, helpers);
|
|
65
|
-
return { name, durationMs: Date.now() - start, ok: true, logs };
|
|
66
|
-
} catch (err) {
|
|
67
|
-
return {
|
|
68
|
-
name,
|
|
69
|
-
durationMs: Date.now() - start,
|
|
70
|
-
ok: false,
|
|
71
|
-
error: err instanceof Error ? err.message : String(err),
|
|
72
|
-
logs
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
export {
|
|
77
|
-
MANUAL_TASKS,
|
|
78
|
-
runManualTask
|
|
79
|
-
};
|
|
80
|
-
//# sourceMappingURL=manual-tasks.js.map
|
|
1
|
+
import{a as l}from"../chunk-JQTGQXUX.js";import{a as u}from"../chunk-UF6US7VU.js";import{a as g}from"../chunk-DPFNJZUO.js";import"../chunk-RTWRHIKY.js";import"../chunk-ZL4MZMUK.js";import"../chunk-N7TGRFVZ.js";import"../chunk-H4SV7FN4.js";import"../chunk-TDD7IOV2.js";import"../chunk-MODXEGCU.js";import"../chunk-N7ODX6PO.js";import"../chunk-67QCYUJU.js";import{a as i}from"../chunk-GY5IJ4RS.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import{a as o}from"../chunk-ZLLER3HP.js";var c={cron_check_changelog:o(async(r,e)=>{let s=await l({logger:{info:o(t=>e.logger.info(t),"info"),warn:o(t=>e.logger.warn(t),"warn")}});e.logger.info(`[cron_check_changelog] result: created=${s.createdCount} skipped=${s.skippedCount}`)},"cron_check_changelog"),cron_suggest_instructions:o((r,e)=>g(r,e),"cron_suggest_instructions"),cron_refresh_skills:o((r,e)=>u(r,e),"cron_refresh_skills")},p=i.map(r=>{let e=c[r.name];if(!e)throw new Error(`manual-tasks: no handler registered for "${r.name}"`);return{...r,handler:e}});async function m(r){let e=p.find(n=>n.name===r);if(!e)return{name:r,durationMs:0,ok:!1,error:`Unknown task: ${r}`,logs:[]};let s=[],t={logger:{info:o(n=>s.push({level:"info",message:n}),"info"),warn:o(n=>s.push({level:"warn",message:n}),"warn"),error:o(n=>s.push({level:"error",message:n}),"error")},job:{attempts:0}},a=Date.now();try{return await e.handler({},t),{name:r,durationMs:Date.now()-a,ok:!0,logs:s}}catch(n){return{name:r,durationMs:Date.now()-a,ok:!1,error:n instanceof Error?n.message:String(n),logs:s}}}o(m,"runManualTask");export{p as MANUAL_TASKS,m as runManualTask};
|
package/dist/lib/output.js
CHANGED
|
@@ -1,12 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
formatDate,
|
|
3
|
-
formatScope,
|
|
4
|
-
truncate
|
|
5
|
-
} from "../chunk-BZDKEQKU.js";
|
|
6
|
-
import "../chunk-NSBPE2FW.js";
|
|
7
|
-
export {
|
|
8
|
-
formatDate,
|
|
9
|
-
formatScope,
|
|
10
|
-
truncate
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=output.js.map
|
|
1
|
+
import{a,b,c}from"../chunk-W2MV25SB.js";import"../chunk-ZLLER3HP.js";export{a as formatDate,c as formatScope,b as truncate};
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
PermanentJobError,
|
|
3
|
-
isPermanentJobError
|
|
4
|
-
} from "../chunk-DGHWRQXL.js";
|
|
5
|
-
import "../chunk-NSBPE2FW.js";
|
|
6
|
-
export {
|
|
7
|
-
PermanentJobError,
|
|
8
|
-
isPermanentJobError
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=permanent-job-error.js.map
|
|
1
|
+
import{a,b}from"../chunk-5RBLIVBF.js";import"../chunk-ZLLER3HP.js";export{a as PermanentJobError,b as isPermanentJobError};
|
package/dist/lib/pid-identity.js
CHANGED
|
@@ -1,14 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
GATEWAY_ENTRY_COMMAND_PATTERN,
|
|
3
|
-
MITMPROXY_COMMAND_PATTERN,
|
|
4
|
-
isPidLiveAndMatching,
|
|
5
|
-
pidAlive
|
|
6
|
-
} from "../chunk-5EDMGK3W.js";
|
|
7
|
-
import "../chunk-NSBPE2FW.js";
|
|
8
|
-
export {
|
|
9
|
-
GATEWAY_ENTRY_COMMAND_PATTERN,
|
|
10
|
-
MITMPROXY_COMMAND_PATTERN,
|
|
11
|
-
isPidLiveAndMatching,
|
|
12
|
-
pidAlive
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=pid-identity.js.map
|
|
1
|
+
import{a,b,c,d}from"../chunk-SZ62CP55.js";import"../chunk-ZLLER3HP.js";export{a as GATEWAY_ENTRY_COMMAND_PATTERN,b as MITMPROXY_COMMAND_PATTERN,d as isPidLiveAndMatching,c as pidAlive};
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
DEAD_CHECKS_BEFORE_RESPAWN,
|
|
3
|
-
MitmproxyRespawnMonitor,
|
|
4
|
-
RESPAWN_COOLDOWN_MS
|
|
5
|
-
} from "../chunk-ILYDELUE.js";
|
|
6
|
-
import "../chunk-NSBPE2FW.js";
|
|
7
|
-
export {
|
|
8
|
-
DEAD_CHECKS_BEFORE_RESPAWN,
|
|
9
|
-
MitmproxyRespawnMonitor,
|
|
10
|
-
RESPAWN_COOLDOWN_MS
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=proxy-respawn.js.map
|
|
1
|
+
import{a,b,c}from"../chunk-VUGRXM7R.js";import"../chunk-ZLLER3HP.js";export{a as DEAD_CHECKS_BEFORE_RESPAWN,c as MitmproxyRespawnMonitor,b as RESPAWN_COOLDOWN_MS};
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
postObservation,
|
|
3
|
-
postObservations
|
|
4
|
-
} from "../chunk-Y3WD5CSW.js";
|
|
5
|
-
import "../chunk-ZUJBM6HE.js";
|
|
6
|
-
import "../chunk-W2YERO7E.js";
|
|
7
|
-
import "../chunk-NSBPE2FW.js";
|
|
8
|
-
export {
|
|
9
|
-
postObservation,
|
|
10
|
-
postObservations
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=research-client.js.map
|
|
1
|
+
import{a,b}from"../chunk-XXDZJ6YI.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import"../chunk-ZLLER3HP.js";export{a as postObservation,b as postObservations};
|
package/dist/lib/setup-steps.js
CHANGED
|
@@ -1,33 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
ALL_STEP_IDS,
|
|
3
|
-
CORE_STEP_IDS,
|
|
4
|
-
OPTIONAL_STEP_IDS,
|
|
5
|
-
STEPS,
|
|
6
|
-
computeStatus,
|
|
7
|
-
defaultContext,
|
|
8
|
-
getStep,
|
|
9
|
-
isStepId,
|
|
10
|
-
maskToken,
|
|
11
|
-
renderDiff
|
|
12
|
-
} from "../chunk-OKWCKCPE.js";
|
|
13
|
-
import "../chunk-LXKPNATC.js";
|
|
14
|
-
import "../chunk-OQBBVTDG.js";
|
|
15
|
-
import "../chunk-4LYCDS2N.js";
|
|
16
|
-
import "../chunk-7LVVKQMZ.js";
|
|
17
|
-
import "../chunk-5EDMGK3W.js";
|
|
18
|
-
import "../chunk-ZUJBM6HE.js";
|
|
19
|
-
import "../chunk-W2YERO7E.js";
|
|
20
|
-
import "../chunk-NSBPE2FW.js";
|
|
21
|
-
export {
|
|
22
|
-
ALL_STEP_IDS,
|
|
23
|
-
CORE_STEP_IDS,
|
|
24
|
-
OPTIONAL_STEP_IDS,
|
|
25
|
-
STEPS,
|
|
26
|
-
computeStatus,
|
|
27
|
-
defaultContext,
|
|
28
|
-
getStep,
|
|
29
|
-
isStepId,
|
|
30
|
-
maskToken,
|
|
31
|
-
renderDiff
|
|
32
|
-
};
|
|
33
|
-
//# sourceMappingURL=setup-steps.js.map
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j}from"../chunk-U6ABMRT3.js";import"../chunk-2JRDG4LJ.js";import"../chunk-I2DZGJRR.js";import"../chunk-MVM6OGAF.js";import"../chunk-KKDHD4XA.js";import"../chunk-SZ62CP55.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import"../chunk-ZLLER3HP.js";export{c as ALL_STEP_IDS,a as CORE_STEP_IDS,b as OPTIONAL_STEP_IDS,g as STEPS,j as computeStatus,d as defaultContext,h as getStep,i as isStepId,e as maskToken,f as renderDiff};
|
|
@@ -1,20 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
STATUSLINE_SETTINGS_VALUE,
|
|
3
|
-
STATUSLINE_SHIM_PATH,
|
|
4
|
-
isStatuslineShimInstalled,
|
|
5
|
-
readCurrentStatusLine,
|
|
6
|
-
removeStatuslineShim,
|
|
7
|
-
removeStatuslineShimAnyHome,
|
|
8
|
-
writeStatuslineShim
|
|
9
|
-
} from "../chunk-OQBBVTDG.js";
|
|
10
|
-
import "../chunk-NSBPE2FW.js";
|
|
11
|
-
export {
|
|
12
|
-
STATUSLINE_SETTINGS_VALUE,
|
|
13
|
-
STATUSLINE_SHIM_PATH,
|
|
14
|
-
isStatuslineShimInstalled,
|
|
15
|
-
readCurrentStatusLine,
|
|
16
|
-
removeStatuslineShim,
|
|
17
|
-
removeStatuslineShimAnyHome,
|
|
18
|
-
writeStatuslineShim
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=statusline-shim.js.map
|
|
1
|
+
import{a,b,c,d,e,f,g}from"../chunk-I2DZGJRR.js";import"../chunk-ZLLER3HP.js";export{c as STATUSLINE_SETTINGS_VALUE,a as STATUSLINE_SHIM_PATH,g as isStatuslineShimInstalled,d as readCurrentStatusLine,e as removeStatuslineShim,f as removeStatuslineShimAnyHome,b as writeStatuslineShim};
|
package/dist/lib/telemetry.js
CHANGED
|
@@ -1,16 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
emitErrorBeacon,
|
|
3
|
-
emitSetupEvent,
|
|
4
|
-
getDeviceId,
|
|
5
|
-
telemetryDisabled
|
|
6
|
-
} from "../chunk-GQNJO2P2.js";
|
|
7
|
-
import "../chunk-ZUJBM6HE.js";
|
|
8
|
-
import "../chunk-W2YERO7E.js";
|
|
9
|
-
import "../chunk-NSBPE2FW.js";
|
|
10
|
-
export {
|
|
11
|
-
emitErrorBeacon,
|
|
12
|
-
emitSetupEvent,
|
|
13
|
-
getDeviceId,
|
|
14
|
-
telemetryDisabled
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=telemetry.js.map
|
|
1
|
+
import{a,b,c,d}from"../chunk-V44SRRYR.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import"../chunk-ZLLER3HP.js";export{d as emitErrorBeacon,c as emitSetupEvent,b as getDeviceId,a as telemetryDisabled};
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
probeAndReport,
|
|
3
|
-
runOneHeartbeatCycle,
|
|
4
|
-
startTerminalTargetHeartbeat
|
|
5
|
-
} from "../chunk-GIUBARWS.js";
|
|
6
|
-
import "../chunk-KRBQLMOP.js";
|
|
7
|
-
import "../chunk-ZUJBM6HE.js";
|
|
8
|
-
import "../chunk-W2YERO7E.js";
|
|
9
|
-
import "../chunk-NSBPE2FW.js";
|
|
10
|
-
export {
|
|
11
|
-
probeAndReport,
|
|
12
|
-
runOneHeartbeatCycle,
|
|
13
|
-
startTerminalTargetHeartbeat
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=terminal-target-heartbeat.js.map
|
|
1
|
+
import{a,b,c}from"../chunk-TIOKY2IA.js";import"../chunk-N7ODX6PO.js";import"../chunk-H2ORWIEY.js";import"../chunk-O6C2UGBY.js";import"../chunk-ZLLER3HP.js";export{a as probeAndReport,b as runOneHeartbeatCycle,c as startTerminalTargetHeartbeat};
|
package/dist/lib/tmux.js
CHANGED
|
@@ -1,16 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
buildTmuxHasSessionArgs,
|
|
3
|
-
buildTmuxSendEnterArgs,
|
|
4
|
-
buildTmuxSendLiteralArgs,
|
|
5
|
-
runTmux,
|
|
6
|
-
tmuxSpawnEnv
|
|
7
|
-
} from "../chunk-KRBQLMOP.js";
|
|
8
|
-
import "../chunk-NSBPE2FW.js";
|
|
9
|
-
export {
|
|
10
|
-
buildTmuxHasSessionArgs,
|
|
11
|
-
buildTmuxSendEnterArgs,
|
|
12
|
-
buildTmuxSendLiteralArgs,
|
|
13
|
-
runTmux,
|
|
14
|
-
tmuxSpawnEnv
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=tmux.js.map
|
|
1
|
+
import{a,b,c,d,e}from"../chunk-N7ODX6PO.js";import"../chunk-ZLLER3HP.js";export{c as buildTmuxHasSessionArgs,e as buildTmuxSendEnterArgs,d as buildTmuxSendLiteralArgs,b as runTmux,a as tmuxSpawnEnv};
|
|
@@ -1,22 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
lineToObservation,
|
|
3
|
-
loadOffsets,
|
|
4
|
-
offsetCachePath,
|
|
5
|
-
parseResetsAtFromMessage,
|
|
6
|
-
pickLimitType,
|
|
7
|
-
saveOffsets,
|
|
8
|
-
scanAllTranscripts,
|
|
9
|
-
tailJsonl
|
|
10
|
-
} from "../chunk-WA4MWYRW.js";
|
|
11
|
-
import "../chunk-NSBPE2FW.js";
|
|
12
|
-
export {
|
|
13
|
-
lineToObservation,
|
|
14
|
-
loadOffsets,
|
|
15
|
-
offsetCachePath,
|
|
16
|
-
parseResetsAtFromMessage,
|
|
17
|
-
pickLimitType,
|
|
18
|
-
saveOffsets,
|
|
19
|
-
scanAllTranscripts,
|
|
20
|
-
tailJsonl
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=transcript-rate-limit-watcher.js.map
|
|
1
|
+
import{a,b,c,d,e,f,g,h}from"../chunk-NVKX36YN.js";import"../chunk-ZLLER3HP.js";export{c as lineToObservation,g as loadOffsets,f as offsetCachePath,a as parseResetsAtFromMessage,b as pickLimitType,h as saveOffsets,e as scanAllTranscripts,d as tailJsonl};
|
package/dist/lib/types.js
CHANGED
|
@@ -1,12 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
formatUpgradeBanner,
|
|
3
|
-
getUpgradeBanner,
|
|
4
|
-
refreshVersionCacheInBackground
|
|
5
|
-
} from "../chunk-R56PH7YE.js";
|
|
6
|
-
import "../chunk-NSBPE2FW.js";
|
|
7
|
-
export {
|
|
8
|
-
formatUpgradeBanner,
|
|
9
|
-
getUpgradeBanner,
|
|
10
|
-
refreshVersionCacheInBackground
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=version-check.js.map
|
|
1
|
+
import{a,b,c}from"../chunk-IZTIYR5Q.js";import"../chunk-ZLLER3HP.js";export{b as formatUpgradeBanner,c as getUpgradeBanner,a as refreshVersionCacheInBackground};
|
package/dist/lib/which.js
CHANGED
package/dist/lib/worktree.js
CHANGED
|
@@ -1,17 +1 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ensureWorktree,
|
|
3
|
-
removeWorktree,
|
|
4
|
-
runGit
|
|
5
|
-
} from "../chunk-Y4BJXXYV.js";
|
|
6
|
-
import {
|
|
7
|
-
sanitizeBranch
|
|
8
|
-
} from "../chunk-F5N6CLJJ.js";
|
|
9
|
-
import "../chunk-KRBQLMOP.js";
|
|
10
|
-
import "../chunk-NSBPE2FW.js";
|
|
11
|
-
export {
|
|
12
|
-
ensureWorktree,
|
|
13
|
-
removeWorktree,
|
|
14
|
-
runGit,
|
|
15
|
-
sanitizeBranch
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=worktree.js.map
|
|
1
|
+
import{a as b,b as c,c as d}from"../chunk-6QKI756T.js";import{x as a}from"../chunk-7DFNBRLY.js";import"../chunk-N7ODX6PO.js";import"../chunk-ZLLER3HP.js";export{c as ensureWorktree,d as removeWorktree,b as runGit,a as sanitizeBranch};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c,b as W}from"./chunk-ZLLER3HP.js";import{readdir as O}from"fs/promises";import{join as m}from"path";import{homedir as T}from"os";var d=null;function h(){if(d)return!0;try{return d=W("better-sqlite3"),!0}catch{return!1}}c(h,"loadSqlite");var E={bash:"Bash",read:"Read",edit:"Edit",write:"Write",glob:"Glob",grep:"Grep",task:"Agent",fetch:"WebFetch",search:"WebSearch",todo:"TodoWrite",skill:"Skill",patch:"Patch"};function y(e){return e.replace(/^\//,"").replace(/\//g,"-")}c(y,"sanitize");function M(){let e=process.env.XDG_DATA_HOME??m(T(),".local","share");return m(e,"opencode")}c(M,"getDataDir");async function B(e){try{return(await O(e)).filter(a=>a.startsWith("opencode")&&a.endsWith(".db")).map(a=>m(e,a))}catch{return[]}}c(B,"findDbFiles");function C(e){let t=e<1e12?e*1e3:e;return new Date(t).toISOString()}c(C,"parseTimestamp");function N(e){return e.split(/[;&|]+/).map(t=>t.trim().split(/\s+/)[0]).filter(Boolean)}c(N,"extractBashCommands");function P(e,t){return{async*parse(){if(!h()||!d)return;let a=e.path.split(":"),r=a[a.length-1],R=a.slice(0,-1).join(":"),l;try{l=new d(R,{readonly:!0})}catch{return}try{let D=l.prepare("SELECT id, time_created, data FROM message WHERE session_id = ? ORDER BY time_created ASC").all(r),S=l.prepare("SELECT message_id, data FROM part WHERE session_id = ? ORDER BY message_id, id").all(r),p=new Map;for(let i of S)try{let s=JSON.parse(i.data),n=p.get(i.message_id)??[];n.push(s),p.set(i.message_id,n)}catch{}let f="";for(let i of D){let s;try{s=JSON.parse(i.data)}catch{continue}if(s.role==="user"){let o=(p.get(i.id)??[]).filter(_=>_.type==="text").map(()=>"").filter(Boolean);o.length>0&&(f=o.join(" "));continue}if(s.role!=="assistant")continue;let n={input:s.tokens?.input??0,output:s.tokens?.output??0,reasoning:s.tokens?.reasoning??0,cacheRead:s.tokens?.cache?.read??0,cacheWrite:s.tokens?.cache?.write??0};if(n.input===0&&n.output===0&&n.reasoning===0&&n.cacheRead===0&&n.cacheWrite===0&&(s.cost??0)===0)continue;let g=(p.get(i.id)??[]).filter(o=>o.type==="tool"),b=g.map(o=>E[o.tool??""]??o.tool??"").filter(Boolean),k=g.filter(o=>o.tool==="bash"&&typeof o.state?.input?.command=="string").flatMap(o=>N(o.state.input.command)),u=`opencode:${r}:${i.id}`;t.has(u)||(t.add(u),yield{provider:"opencode",model:s.modelID??"unknown",inputTokens:n.input,outputTokens:n.output,cacheCreationInputTokens:n.cacheWrite,cacheReadInputTokens:n.cacheRead,cachedInputTokens:n.cacheRead,reasoningTokens:n.reasoning,costUSD:s.cost??0,tools:b,bashCommands:k,timestamp:C(i.time_created),speed:"standard",deduplicationKey:u,userMessage:f,sessionId:r})}}finally{l.close()}}}}c(P,"createParser");async function I(e){if(!h()||!d)return[];let t;try{t=new d(e,{readonly:!0})}catch{return[]}try{return t.prepare("SELECT id, directory, title FROM session WHERE time_archived IS NULL AND parent_id IS NULL ORDER BY time_created DESC").all().map(r=>({path:`${e}:${r.id}`,project:r.directory?y(r.directory):y(r.title),provider:"opencode"}))}catch{return[]}finally{t.close()}}c(I,"discoverFromDb");var j={name:"opencode",displayName:"OpenCode",modelDisplayName(e){return e.replace(/^[^/]+\//,"")},toolDisplayName(e){return E[e]??e},async discoverSessions(){if(!h())return[];let e=await B(M()),t=[];for(let a of e)t.push(...await I(a));return t},createSessionParser(e,t){return P(e,t)}};export{j as opencode};
|