factory-factory 0.4.1 → 0.4.3
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 +1 -1
- package/dist/client/assets/abnfDiagram-VRR7QNED-Bu9-2m-t.js +1 -0
- package/dist/client/assets/arc-Dh_ay4bc.js +1 -0
- package/dist/client/assets/architectureDiagram-ZJ3FMSHR-V4AJKU23.js +36 -0
- package/dist/client/assets/blockDiagram-677ZJIJ3-unJzynY2.js +132 -0
- package/dist/client/assets/{c4Diagram-AAUBKEIU-CT8hJB-h.js → c4Diagram-LMCZKHZV-De_-3fVv.js} +1 -1
- package/dist/client/assets/channel-8o5vp5Nl.js +1 -0
- package/dist/client/assets/{chunk-QZHKN3VN-Ce3Q_vrs.js → chunk-2Q5K7J3B-CdZ0ANE_.js} +1 -1
- package/dist/client/assets/{chunk-ND2GUHAM-Qhi4WqzZ.js → chunk-32BRIVSS-BzFpxDmT.js} +1 -1
- package/dist/client/assets/{chunk-FMBD7UC4-B4C3KvLe.js → chunk-5VM5RSS4-8_Qj_VeY.js} +1 -1
- package/dist/client/assets/chunk-EX3LRPZG-Chc6HGsz.js +231 -0
- package/dist/client/assets/{chunk-4BX2VUAB-km6NpEMz.js → chunk-JWPE2WC7-CFeGNH2a.js} +1 -1
- package/dist/client/assets/chunk-MOJQB5TN-DY39i_O8.js +88 -0
- package/dist/client/assets/chunk-RYQCIY6F-C3bbEdeB.js +1 -0
- package/dist/client/assets/{chunk-727SXJPM-Bp-ts2at.js → chunk-V7JOEXUC-BpNgC7Ah.js} +5 -5
- package/dist/client/assets/{chunk-2J33WTMH-B0h8q8fD.js → chunk-VR4S4FIN-BKsk7moo.js} +1 -1
- package/dist/client/assets/{chunk-55IACEB6-COUWt3oA.js → chunk-XXDRQBXY-D7Pgr1uy.js} +1 -1
- package/dist/client/assets/classDiagram-OUVF2IWQ-BNBqP_D4.js +1 -0
- package/dist/client/assets/classDiagram-v2-EOCWNBFH-BNBqP_D4.js +1 -0
- package/dist/client/assets/{cose-bilkent-S5V4N54A-D6QofwFq.js → cose-bilkent-JH36ORCC-DvmyUiBK.js} +1 -1
- package/dist/client/assets/cynefin-VYW2F7L2-DyPz67uy.js +166 -0
- package/dist/client/assets/cynefinDiagram-TSTJHNR4-CxZzWly_.js +62 -0
- package/dist/client/assets/cytoscape.esm-D3_iZ_3b.js +321 -0
- package/dist/client/assets/dagre-VKFMJZFB-BkNT_0vs.js +4 -0
- package/dist/client/assets/{diagram-KO2AKTUF-B9ABz-Wk.js → diagram-FQU43EPY-C9c41Tpz.js} +3 -3
- package/dist/client/assets/diagram-G47NLZAW-CogAwMLq.js +24 -0
- package/dist/client/assets/diagram-NH7WQ7WH-jtYr2rjE.js +24 -0
- package/dist/client/assets/diagram-OA4YK3LP-CfCfCJfY.js +30 -0
- package/dist/client/assets/diagram-WEI45ONY-C3m0dfDy.js +41 -0
- package/dist/client/assets/ebnfDiagram-CCIWWBDH-Dr4BkxJz.js +1 -0
- package/dist/client/assets/erDiagram-Q63AITRT-BbDab_v6.js +85 -0
- package/dist/client/assets/flowDiagram-23GEKE2U-DOeJX8aU.js +156 -0
- package/dist/client/assets/ganttDiagram-NO4QXBWP-BpgtL3Q5.js +292 -0
- package/dist/client/assets/gitGraphDiagram-IHSO6WYX-DTDPlnSN.js +106 -0
- package/dist/client/assets/{graph--OzhPTMs.js → graph-DOmOIIwC.js} +1 -1
- package/dist/client/assets/index-DuSjh2zd.js +689 -0
- package/dist/client/assets/index-dP7LJD2L.css +1 -0
- package/dist/client/assets/infoDiagram-FWYZ7A6U-CHKlHAG9.js +2 -0
- package/dist/client/assets/{ishikawaDiagram-YF4QCWOH-BLrvV5ke.js → ishikawaDiagram-FXEZZL3T-B7EQbtqY.js} +5 -5
- package/dist/client/assets/{journeyDiagram-JHISSGLW-B2-TMwJI.js → journeyDiagram-5HDEW3XC-DTUiiqrL.js} +3 -3
- package/dist/client/assets/{kanban-definition-UN3LZRKU-B5mGKgYF.js → kanban-definition-HUTT4EX6-eObIHBDx.js} +20 -20
- package/dist/client/assets/katex-HP8lGamR.js +257 -0
- package/dist/client/assets/layout-D-LzfAck.js +1 -0
- package/dist/client/assets/{linear-ConE9euY.js → linear-DQu4w17X.js} +1 -1
- package/dist/client/assets/map-DxJ2ADlA.js +1 -0
- package/dist/client/assets/{mindmap-definition-RKZ34NQL-B0BaMk8D.js → mindmap-definition-LN4V7U3C-XqlKfmJa.js} +3 -3
- package/dist/client/assets/{mobile-baseline-DWCt7ZGJ.js → mobile-baseline-v5lnTluf.js} +1 -1
- package/dist/client/assets/pegDiagram-2B236MQR-By2J0vHR.js +1 -0
- package/dist/client/assets/pieDiagram-ENE6RG2P-DWliRlHi.js +39 -0
- package/dist/client/assets/{quadrantDiagram-W4KKPZXB-DDbeggF4.js → quadrantDiagram-ABIIQ3AL-DxxsQgGe.js} +3 -3
- package/dist/client/assets/railroadDiagram-RFXS5EU6-CRjYLslW.js +1 -0
- package/dist/client/assets/{requirementDiagram-4Y6WPE33-Cc3ozz7U.js → requirementDiagram-TGXJPOKE-CuZgujay.js} +1 -1
- package/dist/client/assets/sankeyDiagram-HTMAVEWB-DhxT75Go.js +40 -0
- package/dist/client/assets/sequenceDiagram-DBY2YBRQ-Tz8RVPsp.js +162 -0
- package/dist/client/assets/sizeCapture-X5ZJPWSS-BME47q1I.js +1 -0
- package/dist/client/assets/stateDiagram-2N3HPSRC-DQoKLjSj.js +1 -0
- package/dist/client/assets/stateDiagram-v2-6OUMAXLB-BnQzcOjM.js +1 -0
- package/dist/client/assets/swimlanes-5IMT3BWC-DZ78RZi9.js +2 -0
- package/dist/client/assets/swimlanesDiagram-G3AALYLV-mI62K_37.js +8 -0
- package/dist/client/assets/{terminal-instance-CDKJdDaO.js → terminal-instance-CbXOfRoa.js} +1 -1
- package/dist/client/assets/{timeline-definition-PNZ67QCA-CyxBqgqv.js → timeline-definition-FHXFAJF6-DS_K1N-M.js} +3 -3
- package/dist/client/assets/vennDiagram-L72KCM5P-D9evf7U9.js +34 -0
- package/dist/client/assets/{wardleyDiagram-YWT4CUSO-CjJBpd3P.js → wardleyDiagram-EHGQE667-8-WkkQfu.js} +4 -4
- package/dist/client/assets/xychartDiagram-FW5EYKEG-gEXjpSMB.js +7 -0
- package/dist/client/index.html +2 -2
- package/dist/client/logo.png +0 -0
- package/dist/client/logo.sips.png +0 -0
- package/dist/prisma/generated/browser.d.ts +4 -0
- package/dist/prisma/generated/browser.d.ts.map +1 -1
- package/dist/prisma/generated/client.d.ts +4 -0
- package/dist/prisma/generated/client.d.ts.map +1 -1
- package/dist/prisma/generated/commonInputTypes.d.ts +88 -148
- package/dist/prisma/generated/commonInputTypes.d.ts.map +1 -1
- package/dist/prisma/generated/enums.d.ts +0 -6
- package/dist/prisma/generated/enums.d.ts.map +1 -1
- package/dist/prisma/generated/enums.js +0 -5
- package/dist/prisma/generated/enums.js.map +1 -1
- package/dist/prisma/generated/internal/class.d.ts +16 -2
- package/dist/prisma/generated/internal/class.d.ts.map +1 -1
- package/dist/prisma/generated/internal/class.js +6 -6
- package/dist/prisma/generated/internal/class.js.map +1 -1
- package/dist/prisma/generated/internal/prismaNamespace.d.ts +371 -47
- package/dist/prisma/generated/internal/prismaNamespace.d.ts.map +1 -1
- package/dist/prisma/generated/internal/prismaNamespace.js +52 -37
- package/dist/prisma/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/prisma/generated/internal/prismaNamespaceBrowser.d.ts +53 -34
- package/dist/prisma/generated/internal/prismaNamespaceBrowser.d.ts.map +1 -1
- package/dist/prisma/generated/internal/prismaNamespaceBrowser.js +50 -35
- package/dist/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/prisma/generated/models/Workspace.d.ts +1017 -2537
- package/dist/prisma/generated/models/Workspace.d.ts.map +1 -1
- package/dist/prisma/generated/models/WorkspaceAutoIteration.d.ts +524 -0
- package/dist/prisma/generated/models/WorkspaceAutoIteration.d.ts.map +1 -0
- package/dist/prisma/generated/models/WorkspaceAutoIteration.js +2 -0
- package/dist/prisma/generated/models/WorkspaceAutoIteration.js.map +1 -0
- package/dist/prisma/generated/models/WorkspacePR.d.ts +858 -0
- package/dist/prisma/generated/models/WorkspacePR.d.ts.map +1 -0
- package/dist/prisma/generated/models/WorkspacePR.js +2 -0
- package/dist/prisma/generated/models/WorkspacePR.js.map +1 -0
- package/dist/prisma/generated/models/WorkspaceRatchet.d.ts +625 -0
- package/dist/prisma/generated/models/WorkspaceRatchet.d.ts.map +1 -0
- package/dist/prisma/generated/models/WorkspaceRatchet.js +2 -0
- package/dist/prisma/generated/models/WorkspaceRatchet.js.map +1 -0
- package/dist/prisma/generated/models/WorkspaceRunScript.d.ts +631 -0
- package/dist/prisma/generated/models/WorkspaceRunScript.d.ts.map +1 -0
- package/dist/prisma/generated/models/WorkspaceRunScript.js +2 -0
- package/dist/prisma/generated/models/WorkspaceRunScript.js.map +1 -0
- package/dist/prisma/generated/models.d.ts +4 -0
- package/dist/prisma/generated/models.d.ts.map +1 -1
- package/dist/scripts/check-fk-indexes.d.ts +2 -0
- package/dist/scripts/check-fk-indexes.d.ts.map +1 -0
- package/dist/scripts/check-fk-indexes.js +143 -0
- package/dist/scripts/check-fk-indexes.js.map +1 -0
- package/dist/src/backend/app-context.d.ts +4 -1
- package/dist/src/backend/app-context.d.ts.map +1 -1
- package/dist/src/backend/app-context.js +8 -6
- package/dist/src/backend/app-context.js.map +1 -1
- package/dist/src/backend/interceptors/auto-branch-rename.d.ts +19 -0
- package/dist/src/backend/interceptors/auto-branch-rename.d.ts.map +1 -0
- package/dist/src/backend/interceptors/auto-branch-rename.js +76 -0
- package/dist/src/backend/interceptors/auto-branch-rename.js.map +1 -0
- package/dist/src/backend/interceptors/branch-naming.interceptor.d.ts +4 -0
- package/dist/src/backend/interceptors/branch-naming.interceptor.d.ts.map +1 -0
- package/dist/src/backend/interceptors/branch-naming.interceptor.js +391 -0
- package/dist/src/backend/interceptors/branch-naming.interceptor.js.map +1 -0
- package/dist/src/backend/interceptors/branch-naming.interceptor.test.d.ts +2 -0
- package/dist/src/backend/interceptors/branch-naming.interceptor.test.d.ts.map +1 -0
- package/dist/src/backend/interceptors/branch-naming.interceptor.test.js +780 -0
- package/dist/src/backend/interceptors/branch-naming.interceptor.test.js.map +1 -0
- package/dist/src/backend/interceptors/branch-rename.utils.d.ts +1 -1
- package/dist/src/backend/interceptors/branch-rename.utils.d.ts.map +1 -1
- package/dist/src/backend/interceptors/branch-rename.utils.js +10 -14
- package/dist/src/backend/interceptors/branch-rename.utils.js.map +1 -1
- package/dist/src/backend/interceptors/index.d.ts.map +1 -1
- package/dist/src/backend/interceptors/index.js +2 -6
- package/dist/src/backend/interceptors/index.js.map +1 -1
- package/dist/src/backend/lib/application-error.d.ts +6 -1
- package/dist/src/backend/lib/application-error.d.ts.map +1 -1
- package/dist/src/backend/lib/application-error.js +2 -0
- package/dist/src/backend/lib/application-error.js.map +1 -1
- package/dist/src/backend/lib/application-error.test.js +10 -0
- package/dist/src/backend/lib/application-error.test.js.map +1 -1
- package/dist/src/backend/lib/workspace-derived-state.d.ts +7 -16
- package/dist/src/backend/lib/workspace-derived-state.d.ts.map +1 -1
- package/dist/src/backend/lib/workspace-derived-state.js +21 -24
- package/dist/src/backend/lib/workspace-derived-state.js.map +1 -1
- package/dist/src/backend/lib/workspace-derived-state.test.js +37 -50
- package/dist/src/backend/lib/workspace-derived-state.test.js.map +1 -1
- package/dist/src/backend/orchestration/data-backup.service.d.ts.map +1 -1
- package/dist/src/backend/orchestration/data-backup.service.js +103 -53
- package/dist/src/backend/orchestration/data-backup.service.js.map +1 -1
- package/dist/src/backend/orchestration/data-backup.service.test.js +187 -47
- package/dist/src/backend/orchestration/data-backup.service.test.js.map +1 -1
- package/dist/src/backend/orchestration/domain-bridges.orchestrator.d.ts +7 -5
- package/dist/src/backend/orchestration/domain-bridges.orchestrator.d.ts.map +1 -1
- package/dist/src/backend/orchestration/domain-bridges.orchestrator.js +118 -62
- package/dist/src/backend/orchestration/domain-bridges.orchestrator.js.map +1 -1
- package/dist/src/backend/orchestration/domain-bridges.orchestrator.test.js +262 -104
- package/dist/src/backend/orchestration/domain-bridges.orchestrator.test.js.map +1 -1
- package/dist/src/backend/orchestration/event-coalescer.integration.test.js +7 -16
- package/dist/src/backend/orchestration/event-coalescer.integration.test.js.map +1 -1
- package/dist/src/backend/orchestration/event-collector-lifecycle.integration.test.js +2 -2
- package/dist/src/backend/orchestration/event-collector-lifecycle.integration.test.js.map +1 -1
- package/dist/src/backend/orchestration/event-collector.orchestrator.d.ts +6 -6
- package/dist/src/backend/orchestration/event-collector.orchestrator.d.ts.map +1 -1
- package/dist/src/backend/orchestration/event-collector.orchestrator.js +20 -36
- package/dist/src/backend/orchestration/event-collector.orchestrator.js.map +1 -1
- package/dist/src/backend/orchestration/event-collector.orchestrator.test.js +80 -27
- package/dist/src/backend/orchestration/event-collector.orchestrator.test.js.map +1 -1
- package/dist/src/backend/orchestration/reconciliation.service.d.ts +4 -3
- package/dist/src/backend/orchestration/reconciliation.service.d.ts.map +1 -1
- package/dist/src/backend/orchestration/reconciliation.service.js +26 -38
- package/dist/src/backend/orchestration/reconciliation.service.js.map +1 -1
- package/dist/src/backend/orchestration/reconciliation.service.test.js +3 -3
- package/dist/src/backend/orchestration/reconciliation.service.test.js.map +1 -1
- package/dist/src/backend/orchestration/scheduler.service.d.ts +4 -3
- package/dist/src/backend/orchestration/scheduler.service.d.ts.map +1 -1
- package/dist/src/backend/orchestration/scheduler.service.js +40 -43
- package/dist/src/backend/orchestration/scheduler.service.js.map +1 -1
- package/dist/src/backend/orchestration/scheduler.service.test.js +52 -10
- package/dist/src/backend/orchestration/scheduler.service.test.js.map +1 -1
- package/dist/src/backend/orchestration/snapshot-reconciliation.orchestrator.d.ts +5 -5
- package/dist/src/backend/orchestration/snapshot-reconciliation.orchestrator.d.ts.map +1 -1
- package/dist/src/backend/orchestration/snapshot-reconciliation.orchestrator.js +24 -61
- package/dist/src/backend/orchestration/snapshot-reconciliation.orchestrator.js.map +1 -1
- package/dist/src/backend/orchestration/snapshot-reconciliation.orchestrator.test.js +36 -5
- package/dist/src/backend/orchestration/snapshot-reconciliation.orchestrator.test.js.map +1 -1
- package/dist/src/backend/orchestration/workspace-archive.orchestrator.d.ts +7 -41
- package/dist/src/backend/orchestration/workspace-archive.orchestrator.d.ts.map +1 -1
- package/dist/src/backend/orchestration/workspace-archive.orchestrator.js +3 -3
- package/dist/src/backend/orchestration/workspace-archive.orchestrator.js.map +1 -1
- package/dist/src/backend/orchestration/workspace-archive.orchestrator.test.js +14 -16
- package/dist/src/backend/orchestration/workspace-archive.orchestrator.test.js.map +1 -1
- package/dist/src/backend/orchestration/workspace-init.orchestrator.js +3 -3
- package/dist/src/backend/orchestration/workspace-init.orchestrator.js.map +1 -1
- package/dist/src/backend/orchestration/workspace-init.orchestrator.test.js +18 -18
- package/dist/src/backend/orchestration/workspace-init.orchestrator.test.js.map +1 -1
- package/dist/src/backend/orchestration/workspace-notification-delivery.orchestrator.d.ts.map +1 -1
- package/dist/src/backend/orchestration/workspace-notification-delivery.orchestrator.js +8 -1
- package/dist/src/backend/orchestration/workspace-notification-delivery.orchestrator.js.map +1 -1
- package/dist/src/backend/orchestration/workspace-notification-delivery.orchestrator.test.js +23 -0
- package/dist/src/backend/orchestration/workspace-notification-delivery.orchestrator.test.js.map +1 -1
- package/dist/src/backend/routers/websocket/chat.handler.d.ts.map +1 -1
- package/dist/src/backend/routers/websocket/chat.handler.js +10 -6
- package/dist/src/backend/routers/websocket/chat.handler.js.map +1 -1
- package/dist/src/backend/routers/websocket/chat.handler.test.js +37 -11
- package/dist/src/backend/routers/websocket/chat.handler.test.js.map +1 -1
- package/dist/src/backend/routers/websocket/index.d.ts +1 -2
- package/dist/src/backend/routers/websocket/index.d.ts.map +1 -1
- package/dist/src/backend/routers/websocket/index.js +1 -2
- package/dist/src/backend/routers/websocket/index.js.map +1 -1
- package/dist/src/backend/routers/websocket/log-stream-dev.handler.test.d.ts +2 -0
- package/dist/src/backend/routers/websocket/log-stream-dev.handler.test.d.ts.map +1 -0
- package/dist/src/backend/routers/websocket/{dev-logs.handler.test.js → log-stream-dev.handler.test.js} +2 -2
- package/dist/src/backend/routers/websocket/log-stream-dev.handler.test.js.map +1 -0
- package/dist/src/backend/routers/websocket/log-stream-post-run.handler.test.d.ts +2 -0
- package/dist/src/backend/routers/websocket/log-stream-post-run.handler.test.d.ts.map +1 -0
- package/dist/src/backend/routers/websocket/{post-run-logs.handler.test.js → log-stream-post-run.handler.test.js} +2 -2
- package/dist/src/backend/routers/websocket/log-stream-post-run.handler.test.js.map +1 -0
- package/dist/src/backend/routers/websocket/log-stream.handler.d.ts +8 -0
- package/dist/src/backend/routers/websocket/log-stream.handler.d.ts.map +1 -0
- package/dist/src/backend/routers/websocket/log-stream.handler.js +35 -0
- package/dist/src/backend/routers/websocket/log-stream.handler.js.map +1 -0
- package/dist/src/backend/routers/websocket/terminal.handler.d.ts.map +1 -1
- package/dist/src/backend/routers/websocket/terminal.handler.js +4 -2
- package/dist/src/backend/routers/websocket/terminal.handler.js.map +1 -1
- package/dist/src/backend/routers/websocket/terminal.handler.test.js +37 -0
- package/dist/src/backend/routers/websocket/terminal.handler.test.js.map +1 -1
- package/dist/src/backend/routers/websocket/websocket.integration.test.js +6 -10
- package/dist/src/backend/routers/websocket/websocket.integration.test.js.map +1 -1
- package/dist/src/backend/server.d.ts.map +1 -1
- package/dist/src/backend/server.js +12 -3
- package/dist/src/backend/server.js.map +1 -1
- package/dist/src/backend/server.upgrade.test.js +35 -6
- package/dist/src/backend/server.upgrade.test.js.map +1 -1
- package/dist/src/backend/services/auto-iteration/service/auto-iteration.service.test.js +15 -0
- package/dist/src/backend/services/auto-iteration/service/auto-iteration.service.test.js.map +1 -1
- package/dist/src/backend/services/auto-iteration/service/git-ops.d.ts.map +1 -1
- package/dist/src/backend/services/auto-iteration/service/git-ops.integration.test.d.ts +2 -0
- package/dist/src/backend/services/auto-iteration/service/git-ops.integration.test.d.ts.map +1 -0
- package/dist/src/backend/services/auto-iteration/service/git-ops.integration.test.js +86 -0
- package/dist/src/backend/services/auto-iteration/service/git-ops.integration.test.js.map +1 -0
- package/dist/src/backend/services/auto-iteration/service/git-ops.js +37 -2
- package/dist/src/backend/services/auto-iteration/service/git-ops.js.map +1 -1
- package/dist/src/backend/services/auto-iteration/service/test-runner.service.d.ts.map +1 -1
- package/dist/src/backend/services/auto-iteration/service/test-runner.service.js +9 -8
- package/dist/src/backend/services/auto-iteration/service/test-runner.service.js.map +1 -1
- package/dist/src/backend/services/auto-iteration/service/test-runner.service.test.d.ts +2 -0
- package/dist/src/backend/services/auto-iteration/service/test-runner.service.test.d.ts.map +1 -0
- package/dist/src/backend/services/auto-iteration/service/test-runner.service.test.js +80 -0
- package/dist/src/backend/services/auto-iteration/service/test-runner.service.test.js.map +1 -0
- package/dist/src/backend/services/check-single-writer.test.js +303 -32
- package/dist/src/backend/services/check-single-writer.test.js.map +1 -1
- package/dist/src/backend/services/constants.d.ts +1 -0
- package/dist/src/backend/services/constants.d.ts.map +1 -1
- package/dist/src/backend/services/constants.js +1 -0
- package/dist/src/backend/services/constants.js.map +1 -1
- package/dist/src/backend/services/env-schemas.d.ts +46 -46
- package/dist/src/backend/services/github/service/bridges.d.ts +6 -5
- package/dist/src/backend/services/github/service/bridges.d.ts.map +1 -1
- package/dist/src/backend/services/github/service/github-cli/mappers.d.ts +5 -2
- package/dist/src/backend/services/github/service/github-cli/mappers.d.ts.map +1 -1
- package/dist/src/backend/services/github/service/github-cli/mappers.js.map +1 -1
- package/dist/src/backend/services/github/service/github-cli/schemas.d.ts +4 -4
- package/dist/src/backend/services/github/service/github-cli.service.d.ts +5 -1
- package/dist/src/backend/services/github/service/github-cli.service.d.ts.map +1 -1
- package/dist/src/backend/services/github/service/github-cli.service.js.map +1 -1
- package/dist/src/backend/services/github/service/index.d.ts +2 -3
- package/dist/src/backend/services/github/service/index.d.ts.map +1 -1
- package/dist/src/backend/services/github/service/index.js +2 -2
- package/dist/src/backend/services/github/service/index.js.map +1 -1
- package/dist/src/backend/services/github/service/pr-fetch-coordinator.d.ts +33 -0
- package/dist/src/backend/services/github/service/pr-fetch-coordinator.d.ts.map +1 -0
- package/dist/src/backend/services/github/service/{pr-fetch-registry.js → pr-fetch-coordinator.js} +80 -69
- package/dist/src/backend/services/github/service/pr-fetch-coordinator.js.map +1 -0
- package/dist/src/backend/services/github/service/pr-fetch-coordinator.test.d.ts +2 -0
- package/dist/src/backend/services/github/service/pr-fetch-coordinator.test.d.ts.map +1 -0
- package/dist/src/backend/services/github/service/pr-fetch-coordinator.test.js +222 -0
- package/dist/src/backend/services/github/service/pr-fetch-coordinator.test.js.map +1 -0
- package/dist/src/backend/services/github/service/pr-snapshot.service.d.ts +12 -11
- package/dist/src/backend/services/github/service/pr-snapshot.service.d.ts.map +1 -1
- package/dist/src/backend/services/github/service/pr-snapshot.service.js +23 -22
- package/dist/src/backend/services/github/service/pr-snapshot.service.js.map +1 -1
- package/dist/src/backend/services/github/service/pr-snapshot.service.test.js +134 -75
- package/dist/src/backend/services/github/service/pr-snapshot.service.test.js.map +1 -1
- package/dist/src/backend/services/job-runner.service.d.ts +24 -0
- package/dist/src/backend/services/job-runner.service.d.ts.map +1 -0
- package/dist/src/backend/services/job-runner.service.js +168 -0
- package/dist/src/backend/services/job-runner.service.js.map +1 -0
- package/dist/src/backend/services/job-runner.service.test.d.ts +2 -0
- package/dist/src/backend/services/job-runner.service.test.d.ts.map +1 -0
- package/dist/src/backend/services/job-runner.service.test.js +498 -0
- package/dist/src/backend/services/job-runner.service.test.js.map +1 -0
- package/dist/src/backend/services/periodic-task/service/periodic-task.service.d.ts +8 -11
- package/dist/src/backend/services/periodic-task/service/periodic-task.service.d.ts.map +1 -1
- package/dist/src/backend/services/periodic-task/service/periodic-task.service.js +28 -50
- package/dist/src/backend/services/periodic-task/service/periodic-task.service.js.map +1 -1
- package/dist/src/backend/services/port.service.d.ts.map +1 -1
- package/dist/src/backend/services/port.service.js +4 -0
- package/dist/src/backend/services/port.service.js.map +1 -1
- package/dist/src/backend/services/port.service.test.js +9 -0
- package/dist/src/backend/services/port.service.test.js.map +1 -1
- package/dist/src/backend/services/ratchet/service/bridges.d.ts +25 -7
- package/dist/src/backend/services/ratchet/service/bridges.d.ts.map +1 -1
- package/dist/src/backend/services/ratchet/service/fixer-session.service.test.js +1 -0
- package/dist/src/backend/services/ratchet/service/fixer-session.service.test.js.map +1 -1
- package/dist/src/backend/services/ratchet/service/ratchet-active-session.helpers.d.ts.map +1 -1
- package/dist/src/backend/services/ratchet/service/ratchet-active-session.helpers.js +11 -10
- package/dist/src/backend/services/ratchet/service/ratchet-active-session.helpers.js.map +1 -1
- package/dist/src/backend/services/ratchet/service/ratchet-decision-logging.helpers.d.ts +1 -1
- package/dist/src/backend/services/ratchet/service/ratchet-decision-logging.helpers.js +1 -1
- package/dist/src/backend/services/ratchet/service/ratchet-decision-logging.helpers.js.map +1 -1
- package/dist/src/backend/services/ratchet/service/ratchet-fixer-dispatch.helpers.d.ts.map +1 -1
- package/dist/src/backend/services/ratchet/service/ratchet-fixer-dispatch.helpers.js +8 -3
- package/dist/src/backend/services/ratchet/service/ratchet-fixer-dispatch.helpers.js.map +1 -1
- package/dist/src/backend/services/ratchet/service/ratchet-pr-state.helpers.d.ts +1 -1
- package/dist/src/backend/services/ratchet/service/ratchet-pr-state.helpers.d.ts.map +1 -1
- package/dist/src/backend/services/ratchet/service/ratchet-pr-state.helpers.js +103 -95
- package/dist/src/backend/services/ratchet/service/ratchet-pr-state.helpers.js.map +1 -1
- package/dist/src/backend/services/ratchet/service/ratchet-pr-state.helpers.test.js +36 -22
- package/dist/src/backend/services/ratchet/service/ratchet-pr-state.helpers.test.js.map +1 -1
- package/dist/src/backend/services/ratchet/service/ratchet.service.d.ts +8 -8
- package/dist/src/backend/services/ratchet/service/ratchet.service.d.ts.map +1 -1
- package/dist/src/backend/services/ratchet/service/ratchet.service.js +87 -136
- package/dist/src/backend/services/ratchet/service/ratchet.service.js.map +1 -1
- package/dist/src/backend/services/ratchet/service/ratchet.service.test.js +571 -272
- package/dist/src/backend/services/ratchet/service/ratchet.service.test.js.map +1 -1
- package/dist/src/backend/services/ratchet/service/ratchet.types.d.ts +3 -1
- package/dist/src/backend/services/ratchet/service/ratchet.types.d.ts.map +1 -1
- package/dist/src/backend/services/registry.d.ts +6 -2
- package/dist/src/backend/services/registry.d.ts.map +1 -1
- package/dist/src/backend/services/registry.js +17 -1
- package/dist/src/backend/services/registry.js.map +1 -1
- package/dist/src/backend/services/resources.integration.test.js +73 -45
- package/dist/src/backend/services/resources.integration.test.js.map +1 -1
- package/dist/src/backend/services/run-script/service/run-script-proxy.service.d.ts +1 -0
- package/dist/src/backend/services/run-script/service/run-script-proxy.service.d.ts.map +1 -1
- package/dist/src/backend/services/run-script/service/run-script-proxy.service.js +25 -2
- package/dist/src/backend/services/run-script/service/run-script-proxy.service.js.map +1 -1
- package/dist/src/backend/services/run-script/service/run-script-proxy.service.test.js +124 -6
- package/dist/src/backend/services/run-script/service/run-script-proxy.service.test.js.map +1 -1
- package/dist/src/backend/services/run-script/service/run-script-state-machine.service.d.ts.map +1 -1
- package/dist/src/backend/services/run-script/service/run-script-state-machine.service.js.map +1 -1
- package/dist/src/backend/services/run-script/service/run-script-state-machine.service.test.js +125 -125
- package/dist/src/backend/services/run-script/service/run-script-state-machine.service.test.js.map +1 -1
- package/dist/src/backend/services/run-script/service/startup-script.service.d.ts.map +1 -1
- package/dist/src/backend/services/run-script/service/startup-script.service.js +20 -5
- package/dist/src/backend/services/run-script/service/startup-script.service.js.map +1 -1
- package/dist/src/backend/services/run-script/service/startup-script.service.test.js +95 -1
- package/dist/src/backend/services/run-script/service/startup-script.service.test.js.map +1 -1
- package/dist/src/backend/services/session/service/acp/child-workspace-mcp-server.d.ts.map +1 -1
- package/dist/src/backend/services/session/service/acp/child-workspace-mcp-server.js +5 -0
- package/dist/src/backend/services/session/service/acp/child-workspace-mcp-server.js.map +1 -1
- package/dist/src/backend/services/session/service/acp/child-workspace-mcp-server.test.js +39 -6
- package/dist/src/backend/services/session/service/acp/child-workspace-mcp-server.test.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/attachment-processing.d.ts +0 -3
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/attachment-processing.d.ts.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/attachment-processing.js +66 -26
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/attachment-processing.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/attachment-processing.test.js +194 -6
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/attachment-processing.test.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/load-session.handler.d.ts.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/load-session.handler.js +4 -4
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/load-session.handler.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/load-session.handler.test.js +4 -2
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/load-session.handler.test.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/permission-response.handler.d.ts +2 -2
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/permission-response.handler.d.ts.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/permission-response.handler.js +2 -2
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/permission-response.handler.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/permission-response.handler.test.js +10 -25
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/permission-response.handler.test.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/set-config-option.handler.d.ts.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/set-config-option.handler.js +10 -2
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/set-config-option.handler.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/set-config-option.handler.test.js +41 -2
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/set-config-option.handler.test.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/set-model.handler.d.ts +2 -2
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/set-model.handler.d.ts.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/set-model.handler.js +4 -4
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/set-model.handler.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/set-model.handler.test.js +1 -4
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/set-model.handler.test.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/set-thinking-budget.handler.js +2 -2
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/set-thinking-budget.handler.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/set-thinking-budget.handler.test.js +2 -2
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/set-thinking-budget.handler.test.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/start.handler.js +2 -2
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/start.handler.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/start.handler.test.js +2 -2
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/start.handler.test.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/stop.handler.js +2 -2
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/stop.handler.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/stop.handler.test.js +2 -2
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/stop.handler.test.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/user-input.handler.d.ts +3 -2
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/user-input.handler.d.ts.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/user-input.handler.js +2 -2
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/user-input.handler.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/user-input.handler.test.js +17 -20
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/handlers/user-input.handler.test.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/image-format-validation.d.ts +7 -0
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/image-format-validation.d.ts.map +1 -0
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/image-format-validation.js +466 -0
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/image-format-validation.js.map +1 -0
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/registry.d.ts.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/registry.js +15 -6
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/registry.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/types.d.ts +12 -3
- package/dist/src/backend/services/session/service/chat/chat-message-handlers/types.d.ts.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers.service.d.ts.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers.service.js +24 -18
- package/dist/src/backend/services/session/service/chat/chat-message-handlers.service.js.map +1 -1
- package/dist/src/backend/services/session/service/chat/chat-message-handlers.service.test.js +59 -16
- package/dist/src/backend/services/session/service/chat/chat-message-handlers.service.test.js.map +1 -1
- package/dist/src/backend/services/session/service/data/session-provider-resolver.service.test.js +1 -3
- package/dist/src/backend/services/session/service/data/session-provider-resolver.service.test.js.map +1 -1
- package/dist/src/backend/services/session/service/index.d.ts +6 -1
- package/dist/src/backend/services/session/service/index.d.ts.map +1 -1
- package/dist/src/backend/services/session/service/index.js +5 -1
- package/dist/src/backend/services/session/service/index.js.map +1 -1
- package/dist/src/backend/services/session/service/interceptor.bridge.d.ts.map +1 -1
- package/dist/src/backend/services/session/service/interceptor.bridge.js +47 -3
- package/dist/src/backend/services/session/service/interceptor.bridge.js.map +1 -1
- package/dist/src/backend/services/session/service/interceptor.bridge.test.d.ts +2 -0
- package/dist/src/backend/services/session/service/interceptor.bridge.test.d.ts.map +1 -0
- package/dist/src/backend/services/session/service/interceptor.bridge.test.js +83 -0
- package/dist/src/backend/services/session/service/interceptor.bridge.test.js.map +1 -0
- package/dist/src/backend/services/session/service/lifecycle/session-services.d.ts +16 -0
- package/dist/src/backend/services/session/service/lifecycle/session-services.d.ts.map +1 -0
- package/dist/src/backend/services/session/service/lifecycle/session-services.js +79 -0
- package/dist/src/backend/services/session/service/lifecycle/session-services.js.map +1 -0
- package/dist/src/backend/services/session/service/lifecycle/session.lifecycle.service.d.ts +4 -2
- package/dist/src/backend/services/session/service/lifecycle/session.lifecycle.service.d.ts.map +1 -1
- package/dist/src/backend/services/session/service/lifecycle/session.lifecycle.service.js +6 -4
- package/dist/src/backend/services/session/service/lifecycle/session.lifecycle.service.js.map +1 -1
- package/dist/src/backend/services/session/service/lifecycle/session.lifecycle.service.test.js +10 -11
- package/dist/src/backend/services/session/service/lifecycle/session.lifecycle.service.test.js.map +1 -1
- package/dist/src/backend/services/session/service/lifecycle/session.prompt.service.test.d.ts +2 -0
- package/dist/src/backend/services/session/service/lifecycle/session.prompt.service.test.d.ts.map +1 -0
- package/dist/src/backend/services/session/service/lifecycle/session.prompt.service.test.js +142 -0
- package/dist/src/backend/services/session/service/lifecycle/session.prompt.service.test.js.map +1 -0
- package/dist/src/backend/services/session/service/lifecycle/session.repository.d.ts +5 -2
- package/dist/src/backend/services/session/service/lifecycle/session.repository.d.ts.map +1 -1
- package/dist/src/backend/services/session/service/lifecycle/session.repository.js.map +1 -1
- package/dist/src/backend/services/session/service/lifecycle/session.repository.test.js.map +1 -1
- package/dist/src/backend/services/session/service/lifecycle/session.service.d.ts +16 -76
- package/dist/src/backend/services/session/service/lifecycle/session.service.d.ts.map +1 -1
- package/dist/src/backend/services/session/service/lifecycle/session.service.js +21 -215
- package/dist/src/backend/services/session/service/lifecycle/session.service.js.map +1 -1
- package/dist/src/backend/services/session/service/lifecycle/session.service.test.js +159 -66
- package/dist/src/backend/services/session/service/lifecycle/session.service.test.js.map +1 -1
- package/dist/src/backend/services/session/service/session-domain.service.d.ts +2 -0
- package/dist/src/backend/services/session/service/session-domain.service.d.ts.map +1 -1
- package/dist/src/backend/services/session/service/session-domain.service.js +25 -6
- package/dist/src/backend/services/session/service/session-domain.service.js.map +1 -1
- package/dist/src/backend/services/session/service/session-domain.service.test.js +47 -0
- package/dist/src/backend/services/session/service/session-domain.service.test.js.map +1 -1
- package/dist/src/backend/services/session/service/store/session-replay-builder.d.ts.map +1 -1
- package/dist/src/backend/services/session/service/store/session-replay-builder.js +2 -1
- package/dist/src/backend/services/session/service/store/session-replay-builder.js.map +1 -1
- package/dist/src/backend/services/session/service/store/session-store.types.d.ts +5 -1
- package/dist/src/backend/services/session/service/store/session-store.types.d.ts.map +1 -1
- package/dist/src/backend/services/settings/resources/data-backup.accessor.d.ts +10 -2
- package/dist/src/backend/services/settings/resources/data-backup.accessor.d.ts.map +1 -1
- package/dist/src/backend/services/settings/resources/data-backup.accessor.js +4 -1
- package/dist/src/backend/services/settings/resources/data-backup.accessor.js.map +1 -1
- package/dist/src/backend/services/settings/resources/user-settings.accessor.d.ts.map +1 -1
- package/dist/src/backend/services/settings/resources/user-settings.accessor.js +1 -0
- package/dist/src/backend/services/settings/resources/user-settings.accessor.js.map +1 -1
- package/dist/src/backend/services/settings/resources/user-settings.accessor.test.d.ts +2 -0
- package/dist/src/backend/services/settings/resources/user-settings.accessor.test.d.ts.map +1 -0
- package/dist/src/backend/services/settings/resources/user-settings.accessor.test.js +24 -0
- package/dist/src/backend/services/settings/resources/user-settings.accessor.test.js.map +1 -0
- package/dist/src/backend/services/terminal/service/terminal-session.service.d.ts +3 -37
- package/dist/src/backend/services/terminal/service/terminal-session.service.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/resources/workspace-auto-iteration.accessor.d.ts +31 -0
- package/dist/src/backend/services/workspace/resources/workspace-auto-iteration.accessor.d.ts.map +1 -0
- package/dist/src/backend/services/workspace/resources/workspace-auto-iteration.accessor.js +80 -0
- package/dist/src/backend/services/workspace/resources/workspace-auto-iteration.accessor.js.map +1 -0
- package/dist/src/backend/services/workspace/resources/workspace-auto-iteration.accessor.test.d.ts +2 -0
- package/dist/src/backend/services/workspace/resources/workspace-auto-iteration.accessor.test.d.ts.map +1 -0
- package/dist/src/backend/services/workspace/resources/workspace-auto-iteration.accessor.test.js +171 -0
- package/dist/src/backend/services/workspace/resources/workspace-auto-iteration.accessor.test.js.map +1 -0
- package/dist/src/backend/services/workspace/resources/workspace-pr.accessor.d.ts +61 -0
- package/dist/src/backend/services/workspace/resources/workspace-pr.accessor.d.ts.map +1 -0
- package/dist/src/backend/services/workspace/resources/workspace-pr.accessor.js +265 -0
- package/dist/src/backend/services/workspace/resources/workspace-pr.accessor.js.map +1 -0
- package/dist/src/backend/services/workspace/resources/workspace-pr.accessor.test.d.ts +2 -0
- package/dist/src/backend/services/workspace/resources/workspace-pr.accessor.test.d.ts.map +1 -0
- package/dist/src/backend/services/workspace/resources/workspace-pr.accessor.test.js +398 -0
- package/dist/src/backend/services/workspace/resources/workspace-pr.accessor.test.js.map +1 -0
- package/dist/src/backend/services/workspace/resources/workspace-ratchet.accessor.d.ts +53 -0
- package/dist/src/backend/services/workspace/resources/workspace-ratchet.accessor.d.ts.map +1 -0
- package/dist/src/backend/services/workspace/resources/workspace-ratchet.accessor.js +197 -0
- package/dist/src/backend/services/workspace/resources/workspace-ratchet.accessor.js.map +1 -0
- package/dist/src/backend/services/workspace/resources/workspace-ratchet.accessor.test.d.ts +2 -0
- package/dist/src/backend/services/workspace/resources/workspace-ratchet.accessor.test.d.ts.map +1 -0
- package/dist/src/backend/services/workspace/resources/workspace-ratchet.accessor.test.js +345 -0
- package/dist/src/backend/services/workspace/resources/workspace-ratchet.accessor.test.js.map +1 -0
- package/dist/src/backend/services/workspace/resources/workspace-run-script.accessor.d.ts +33 -0
- package/dist/src/backend/services/workspace/resources/workspace-run-script.accessor.d.ts.map +1 -0
- package/dist/src/backend/services/workspace/resources/workspace-run-script.accessor.js +110 -0
- package/dist/src/backend/services/workspace/resources/workspace-run-script.accessor.js.map +1 -0
- package/dist/src/backend/services/workspace/resources/workspace-run-script.accessor.test.d.ts +2 -0
- package/dist/src/backend/services/workspace/resources/workspace-run-script.accessor.test.d.ts.map +1 -0
- package/dist/src/backend/services/workspace/resources/workspace-run-script.accessor.test.js +192 -0
- package/dist/src/backend/services/workspace/resources/workspace-run-script.accessor.test.js.map +1 -0
- package/dist/src/backend/services/workspace/resources/workspace.accessor.d.ts +68 -119
- package/dist/src/backend/services/workspace/resources/workspace.accessor.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/resources/workspace.accessor.js +186 -426
- package/dist/src/backend/services/workspace/resources/workspace.accessor.js.map +1 -1
- package/dist/src/backend/services/workspace/resources/workspace.accessor.test.js +286 -623
- package/dist/src/backend/services/workspace/resources/workspace.accessor.test.js.map +1 -1
- package/dist/src/backend/services/workspace/service/bridges.d.ts +0 -1
- package/dist/src/backend/services/workspace/service/bridges.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/service/index.d.ts +3 -4
- package/dist/src/backend/services/workspace/service/index.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/service/index.js +2 -3
- package/dist/src/backend/services/workspace/service/index.js.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/creation.service.d.ts +3 -2
- package/dist/src/backend/services/workspace/service/lifecycle/creation.service.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/creation.service.js +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/creation.service.js.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/creation.service.test.js +3 -3
- package/dist/src/backend/services/workspace/service/lifecycle/creation.service.test.js.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/data.service.d.ts +119 -387
- package/dist/src/backend/services/workspace/service/lifecycle/data.service.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/data.service.js +7 -11
- package/dist/src/backend/services/workspace/service/lifecycle/data.service.js.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/data.service.test.js +13 -13
- package/dist/src/backend/services/workspace/service/lifecycle/data.service.test.js.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/state-machine.service.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/state-machine.service.js +13 -30
- package/dist/src/backend/services/workspace/service/lifecycle/state-machine.service.js.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/state-machine.service.test.js +99 -29
- package/dist/src/backend/services/workspace/service/lifecycle/state-machine.service.test.js.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-auto-iteration.service.d.ts +13 -194
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-auto-iteration.service.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-auto-iteration.service.js +21 -7
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-auto-iteration.service.js.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-pr-snapshot.service.d.ts +6 -66
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-pr-snapshot.service.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-pr-snapshot.service.js +10 -17
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-pr-snapshot.service.js.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-pr-snapshot.service.test.js +16 -4
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-pr-snapshot.service.test.js.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-ratchet.service.d.ts +7 -230
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-ratchet.service.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-ratchet.service.js +15 -22
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-ratchet.service.js.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-relationships.service.d.ts +79 -75
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-relationships.service.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-run-script.service.d.ts +5 -132
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-run-script.service.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-run-script.service.js +3 -6
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-run-script.service.js.map +1 -1
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-state-capabilities.test.js +65 -7
- package/dist/src/backend/services/workspace/service/lifecycle/workspace-state-capabilities.test.js.map +1 -1
- package/dist/src/backend/services/workspace/service/query/project-management.service.d.ts +2 -70
- package/dist/src/backend/services/workspace/service/query/project-management.service.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/service/query/workspace-maintenance.service.d.ts +111 -280
- package/dist/src/backend/services/workspace/service/query/workspace-maintenance.service.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/service/query/workspace-maintenance.service.js +4 -3
- package/dist/src/backend/services/workspace/service/query/workspace-maintenance.service.js.map +1 -1
- package/dist/src/backend/services/workspace/service/query/workspace-maintenance.service.test.js +7 -4
- package/dist/src/backend/services/workspace/service/query/workspace-maintenance.service.test.js.map +1 -1
- package/dist/src/backend/services/workspace/service/query/workspace-notification.service.d.ts +4 -4
- package/dist/src/backend/services/workspace/service/query/workspace-query.service.d.ts +31 -216
- package/dist/src/backend/services/workspace/service/query/workspace-query.service.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/service/query/workspace-query.service.js +110 -144
- package/dist/src/backend/services/workspace/service/query/workspace-query.service.js.map +1 -1
- package/dist/src/backend/services/workspace/service/query/workspace-query.service.test.js +213 -111
- package/dist/src/backend/services/workspace/service/query/workspace-query.service.test.js.map +1 -1
- package/dist/src/backend/services/workspace/service/snapshot/workspace-snapshot-store.service.d.ts +6 -12
- package/dist/src/backend/services/workspace/service/snapshot/workspace-snapshot-store.service.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/service/snapshot/workspace-snapshot-store.service.js +24 -10
- package/dist/src/backend/services/workspace/service/snapshot/workspace-snapshot-store.service.js.map +1 -1
- package/dist/src/backend/services/workspace/service/snapshot/workspace-snapshot-store.service.test.js +28 -18
- package/dist/src/backend/services/workspace/service/snapshot/workspace-snapshot-store.service.test.js.map +1 -1
- package/dist/src/backend/services/workspace/service/state/flow-state.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/service/state/flow-state.js +1 -9
- package/dist/src/backend/services/workspace/service/state/flow-state.js.map +1 -1
- package/dist/src/backend/services/workspace/service/state/flow-state.test.js +10 -27
- package/dist/src/backend/services/workspace/service/state/flow-state.test.js.map +1 -1
- package/dist/src/backend/services/workspace/service/workspace-domain-exports.test.js +1 -7
- package/dist/src/backend/services/workspace/service/workspace-domain-exports.test.js.map +1 -1
- package/dist/src/backend/services/workspace/service/worktree/git-ops.service.d.ts +8 -1
- package/dist/src/backend/services/workspace/service/worktree/git-ops.service.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/service/worktree/git-ops.service.js +45 -8
- package/dist/src/backend/services/workspace/service/worktree/git-ops.service.js.map +1 -1
- package/dist/src/backend/services/workspace/service/worktree/git-ops.service.test.js +108 -13
- package/dist/src/backend/services/workspace/service/worktree/git-ops.service.test.js.map +1 -1
- package/dist/src/backend/services/workspace/service/worktree/worktree-init.test.js +1 -1
- package/dist/src/backend/services/workspace/service/worktree/worktree-init.test.js.map +1 -1
- package/dist/src/backend/services/workspace/service/worktree/worktree-lifecycle.service.d.ts +3 -3
- package/dist/src/backend/services/workspace/service/worktree/worktree-lifecycle.service.d.ts.map +1 -1
- package/dist/src/backend/services/workspace/service/worktree/worktree-lifecycle.service.js +8 -1
- package/dist/src/backend/services/workspace/service/worktree/worktree-lifecycle.service.js.map +1 -1
- package/dist/src/backend/services/workspace/service/worktree/worktree-lifecycle.service.test.js +29 -12
- package/dist/src/backend/services/workspace/service/worktree/worktree-lifecycle.service.test.js.map +1 -1
- package/dist/src/backend/services/workspace-depth-triggers.integration.test.d.ts +2 -0
- package/dist/src/backend/services/workspace-depth-triggers.integration.test.d.ts.map +1 -0
- package/dist/src/backend/services/workspace-depth-triggers.integration.test.js +68 -0
- package/dist/src/backend/services/workspace-depth-triggers.integration.test.js.map +1 -0
- package/dist/src/backend/services/workspace-git-state.service.d.ts +1 -0
- package/dist/src/backend/services/workspace-git-state.service.d.ts.map +1 -1
- package/dist/src/backend/services/workspace-git-state.service.js +14 -0
- package/dist/src/backend/services/workspace-git-state.service.js.map +1 -1
- package/dist/src/backend/services/workspace-git-state.service.test.js +37 -0
- package/dist/src/backend/services/workspace-git-state.service.test.js.map +1 -1
- package/dist/src/backend/testing/check-fk-indexes-script.test.d.ts +2 -0
- package/dist/src/backend/testing/check-fk-indexes-script.test.d.ts.map +1 -0
- package/dist/src/backend/testing/check-fk-indexes-script.test.js +46 -0
- package/dist/src/backend/testing/check-fk-indexes-script.test.js.map +1 -0
- package/dist/src/backend/testing/check-prisma-versions-script.test.d.ts +2 -0
- package/dist/src/backend/testing/check-prisma-versions-script.test.d.ts.map +1 -0
- package/dist/src/backend/testing/check-prisma-versions-script.test.js +52 -0
- package/dist/src/backend/testing/check-prisma-versions-script.test.js.map +1 -0
- package/dist/src/backend/trpc/admin.router.test.js +7 -7
- package/dist/src/backend/trpc/admin.router.test.js.map +1 -1
- package/dist/src/backend/trpc/admin.trpc.d.ts +13 -5
- package/dist/src/backend/trpc/admin.trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/admin.trpc.js +3 -3
- package/dist/src/backend/trpc/admin.trpc.js.map +1 -1
- package/dist/src/backend/trpc/auto-iteration.trpc.d.ts +11 -1
- package/dist/src/backend/trpc/auto-iteration.trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/closed-sessions.trpc.d.ts +12 -2
- package/dist/src/backend/trpc/closed-sessions.trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/context-dependencies.test.js +0 -1
- package/dist/src/backend/trpc/context-dependencies.test.js.map +1 -1
- package/dist/src/backend/trpc/decision-log.trpc.d.ts +11 -1
- package/dist/src/backend/trpc/decision-log.trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/github.trpc.d.ts +11 -1
- package/dist/src/backend/trpc/github.trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/index.d.ts +378 -820
- package/dist/src/backend/trpc/index.d.ts.map +1 -1
- package/dist/src/backend/trpc/linear.trpc.d.ts +11 -1
- package/dist/src/backend/trpc/linear.trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/periodic-task.trpc.d.ts +15 -5
- package/dist/src/backend/trpc/periodic-task.trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/pr-review.trpc.d.ts +11 -1
- package/dist/src/backend/trpc/pr-review.trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/project.trpc.d.ts +13 -71
- package/dist/src/backend/trpc/project.trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/session.router.test.js +22 -16
- package/dist/src/backend/trpc/session.router.test.js.map +1 -1
- package/dist/src/backend/trpc/session.trpc.d.ts +22 -46
- package/dist/src/backend/trpc/session.trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/session.trpc.js +13 -13
- package/dist/src/backend/trpc/session.trpc.js.map +1 -1
- package/dist/src/backend/trpc/trpc.d.ts +11 -1
- package/dist/src/backend/trpc/trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/trpc.js +10 -0
- package/dist/src/backend/trpc/trpc.js.map +1 -1
- package/dist/src/backend/trpc/user-settings.trpc.d.ts +11 -1
- package/dist/src/backend/trpc/user-settings.trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/workspace/children.router.test.js +49 -3
- package/dist/src/backend/trpc/workspace/children.router.test.js.map +1 -1
- package/dist/src/backend/trpc/workspace/children.trpc.d.ts +15 -39
- package/dist/src/backend/trpc/workspace/children.trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/workspace/children.trpc.js +43 -16
- package/dist/src/backend/trpc/workspace/children.trpc.js.map +1 -1
- package/dist/src/backend/trpc/workspace/composition.test.js +8 -5
- package/dist/src/backend/trpc/workspace/composition.test.js.map +1 -1
- package/dist/src/backend/trpc/workspace/files.trpc.d.ts +11 -1
- package/dist/src/backend/trpc/workspace/files.trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/workspace/git.trpc.d.ts +11 -1
- package/dist/src/backend/trpc/workspace/git.trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/workspace/ide.trpc.d.ts +11 -1
- package/dist/src/backend/trpc/workspace/ide.trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/workspace/init.trpc.d.ts +64 -41
- package/dist/src/backend/trpc/workspace/init.trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/workspace/run-script.trpc.d.ts +11 -1
- package/dist/src/backend/trpc/workspace/run-script.trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/workspace/workspace-helpers.d.ts +81 -77
- package/dist/src/backend/trpc/workspace/workspace-helpers.d.ts.map +1 -1
- package/dist/src/backend/trpc/workspace.router.test.js +33 -32
- package/dist/src/backend/trpc/workspace.router.test.js.map +1 -1
- package/dist/src/backend/trpc/workspace.trpc.d.ts +587 -1482
- package/dist/src/backend/trpc/workspace.trpc.d.ts.map +1 -1
- package/dist/src/backend/trpc/workspace.trpc.js +35 -56
- package/dist/src/backend/trpc/workspace.trpc.js.map +1 -1
- package/dist/src/cli/runtime-utils.d.ts.map +1 -1
- package/dist/src/cli/runtime-utils.js +4 -0
- package/dist/src/cli/runtime-utils.js.map +1 -1
- package/dist/src/cli/runtime-utils.test.d.ts +2 -0
- package/dist/src/cli/runtime-utils.test.d.ts.map +1 -0
- package/dist/src/cli/runtime-utils.test.js +28 -0
- package/dist/src/cli/runtime-utils.test.js.map +1 -0
- package/dist/src/shared/acp-protocol/protocol/renderer-window.d.ts +1 -0
- package/dist/src/shared/acp-protocol/protocol/renderer-window.d.ts.map +1 -1
- package/dist/src/shared/acp-protocol/protocol/renderer-window.js +13 -2
- package/dist/src/shared/acp-protocol/protocol/renderer-window.js.map +1 -1
- package/dist/src/shared/acp-protocol/protocol/websocket.d.ts +1 -0
- package/dist/src/shared/acp-protocol/protocol/websocket.d.ts.map +1 -1
- package/dist/src/shared/acp-protocol/protocol/websocket.js.map +1 -1
- package/dist/src/shared/attachment-limits.d.ts +2 -0
- package/dist/src/shared/attachment-limits.d.ts.map +1 -0
- package/dist/src/shared/attachment-limits.js +2 -0
- package/dist/src/shared/attachment-limits.js.map +1 -0
- package/dist/src/shared/core/index.d.ts +1 -0
- package/dist/src/shared/core/index.d.ts.map +1 -1
- package/dist/src/shared/core/index.js +1 -0
- package/dist/src/shared/core/index.js.map +1 -1
- package/dist/src/shared/core/ratchet-state.d.ts +10 -0
- package/dist/src/shared/core/ratchet-state.d.ts.map +1 -0
- package/dist/src/shared/core/ratchet-state.js +32 -0
- package/dist/src/shared/core/ratchet-state.js.map +1 -0
- package/dist/src/shared/kanban-column-projection.d.ts +5 -0
- package/dist/src/shared/kanban-column-projection.d.ts.map +1 -0
- package/dist/src/shared/kanban-column-projection.js +31 -0
- package/dist/src/shared/kanban-column-projection.js.map +1 -0
- package/dist/src/shared/schemas/export-data.schema.d.ts +2 -12
- package/dist/src/shared/schemas/export-data.schema.d.ts.map +1 -1
- package/dist/src/shared/schemas/export-data.schema.js +2 -4
- package/dist/src/shared/schemas/export-data.schema.js.map +1 -1
- package/dist/src/shared/session-runtime.d.ts +1 -0
- package/dist/src/shared/session-runtime.d.ts.map +1 -1
- package/dist/src/shared/session-runtime.js +3 -0
- package/dist/src/shared/session-runtime.js.map +1 -1
- package/dist/src/shared/workspace-snapshot.d.ts +101 -6
- package/dist/src/shared/workspace-snapshot.d.ts.map +1 -1
- package/dist/src/shared/workspace-snapshot.js +5 -1
- package/dist/src/shared/workspace-snapshot.js.map +1 -1
- package/dist/src/shared/workspace-status-reason.d.ts +8 -3
- package/dist/src/shared/workspace-status-reason.d.ts.map +1 -1
- package/dist/src/shared/workspace-status-reason.js +50 -20
- package/dist/src/shared/workspace-status-reason.js.map +1 -1
- package/dist/src/test-utils/application-graph.d.ts +0 -1
- package/dist/src/test-utils/application-graph.d.ts.map +1 -1
- package/dist/src/test-utils/application-graph.js +16 -11
- package/dist/src/test-utils/application-graph.js.map +1 -1
- package/dist/tsconfig.backend.tsbuildinfo +1 -1
- package/package.json +92 -151
- package/prisma/migrations/20260726112950_drop_cached_kanban_column/migration.sql +132 -0
- package/prisma/migrations/20260726135402_split_workspace_ratchet/migration.sql +149 -0
- package/prisma/migrations/20260726181500_split_workspace_pr/migration.sql +142 -0
- package/prisma/migrations/20260726200000_derive_ratchet_state/migration.sql +101 -0
- package/prisma/migrations/20260726220000_split_workspace_run_script/migration.sql +131 -0
- package/prisma/migrations/20260726230000_split_workspace_auto_iteration/migration.sql +123 -0
- package/prisma/migrations/20260728000000_add_workspace_periodic_task_id_index/migration.sql +2 -0
- package/prisma/migrations/20260728232525_add_ratchet_dispatch_stalled/migration.sql +20 -0
- package/prisma/schema.prisma +227 -62
- package/dist/client/assets/arc-lK3Ig9GV.js +0 -1
- package/dist/client/assets/architectureDiagram-3BPJPVTR-CeUbfBqe.js +0 -36
- package/dist/client/assets/blockDiagram-GPEHLZMM-DiVGPkq2.js +0 -132
- package/dist/client/assets/channel-CvY1mvIl.js +0 -1
- package/dist/client/assets/chunk-AQP2D5EJ-dyo9i4xa.js +0 -231
- package/dist/client/assets/classDiagram-4FO5ZUOK-Db7ZXJ6w.js +0 -1
- package/dist/client/assets/classDiagram-v2-Q7XG4LA2-Db7ZXJ6w.js +0 -1
- package/dist/client/assets/cytoscape.esm-DkOyvmE4.js +0 -321
- package/dist/client/assets/dagre-BM42HDAG-CDzpFdgD.js +0 -4
- package/dist/client/assets/diagram-2AECGRRQ-dl1_7lyq.js +0 -43
- package/dist/client/assets/diagram-5GNKFQAL-B0ynMwBY.js +0 -10
- package/dist/client/assets/diagram-LMA3HP47-DZxXcfiX.js +0 -24
- package/dist/client/assets/diagram-OG6HWLK6-BncGM9Gv.js +0 -24
- package/dist/client/assets/erDiagram-TEJ5UH35-B9hxScvO.js +0 -85
- package/dist/client/assets/flowDiagram-I6XJVG4X-DgZ2jwJQ.js +0 -162
- package/dist/client/assets/ganttDiagram-6RSMTGT7-BrnNMNRY.js +0 -292
- package/dist/client/assets/gitGraphDiagram-PVQCEYII-BJmed6oD.js +0 -106
- package/dist/client/assets/index-Btlruz7h.css +0 -1
- package/dist/client/assets/index-DEKuJM5_.js +0 -674
- package/dist/client/assets/infoDiagram-5YYISTIA-CtLzR4ip.js +0 -2
- package/dist/client/assets/katex-DHMw6HUq.js +0 -257
- package/dist/client/assets/layout-SsrduOYp.js +0 -1
- package/dist/client/assets/pieDiagram-4H26LBE5-DgPu3GTs.js +0 -30
- package/dist/client/assets/sankeyDiagram-5OEKKPKP-DmYoq588.js +0 -40
- package/dist/client/assets/sequenceDiagram-3UESZ5HK-EVqdDzgf.js +0 -162
- package/dist/client/assets/stateDiagram-AJRCARHV-BRd6IxSa.js +0 -1
- package/dist/client/assets/stateDiagram-v2-BHNVJYJU-DR2vMoX5.js +0 -1
- package/dist/client/assets/vennDiagram-CIIHVFJN-CLslQYVi.js +0 -34
- package/dist/client/assets/wardley-L42UT6IY-DyEDLg3x.js +0 -161
- package/dist/client/assets/xychartDiagram-2RQKCTM6-DwzoT5Dl.js +0 -7
- package/dist/src/backend/interceptors/branch-rename.interceptor.d.ts +0 -3
- package/dist/src/backend/interceptors/branch-rename.interceptor.d.ts.map +0 -1
- package/dist/src/backend/interceptors/branch-rename.interceptor.js +0 -117
- package/dist/src/backend/interceptors/branch-rename.interceptor.js.map +0 -1
- package/dist/src/backend/interceptors/branch-rename.interceptor.test.d.ts +0 -2
- package/dist/src/backend/interceptors/branch-rename.interceptor.test.d.ts.map +0 -1
- package/dist/src/backend/interceptors/branch-rename.interceptor.test.js +0 -184
- package/dist/src/backend/interceptors/branch-rename.interceptor.test.js.map +0 -1
- package/dist/src/backend/interceptors/pre-pr-rename.interceptor.d.ts +0 -6
- package/dist/src/backend/interceptors/pre-pr-rename.interceptor.d.ts.map +0 -1
- package/dist/src/backend/interceptors/pre-pr-rename.interceptor.js +0 -225
- package/dist/src/backend/interceptors/pre-pr-rename.interceptor.js.map +0 -1
- package/dist/src/backend/interceptors/pre-pr-rename.interceptor.test.d.ts +0 -2
- package/dist/src/backend/interceptors/pre-pr-rename.interceptor.test.d.ts.map +0 -1
- package/dist/src/backend/interceptors/pre-pr-rename.interceptor.test.js +0 -348
- package/dist/src/backend/interceptors/pre-pr-rename.interceptor.test.js.map +0 -1
- package/dist/src/backend/interceptors/pre-push-rename.interceptor.d.ts +0 -4
- package/dist/src/backend/interceptors/pre-push-rename.interceptor.d.ts.map +0 -1
- package/dist/src/backend/interceptors/pre-push-rename.interceptor.js +0 -136
- package/dist/src/backend/interceptors/pre-push-rename.interceptor.js.map +0 -1
- package/dist/src/backend/interceptors/pre-push-rename.interceptor.test.d.ts +0 -2
- package/dist/src/backend/interceptors/pre-push-rename.interceptor.test.d.ts.map +0 -1
- package/dist/src/backend/interceptors/pre-push-rename.interceptor.test.js +0 -260
- package/dist/src/backend/interceptors/pre-push-rename.interceptor.test.js.map +0 -1
- package/dist/src/backend/routers/websocket/dev-logs.handler.d.ts +0 -5
- package/dist/src/backend/routers/websocket/dev-logs.handler.d.ts.map +0 -1
- package/dist/src/backend/routers/websocket/dev-logs.handler.js +0 -28
- package/dist/src/backend/routers/websocket/dev-logs.handler.js.map +0 -1
- package/dist/src/backend/routers/websocket/dev-logs.handler.test.d.ts +0 -2
- package/dist/src/backend/routers/websocket/dev-logs.handler.test.d.ts.map +0 -1
- package/dist/src/backend/routers/websocket/dev-logs.handler.test.js.map +0 -1
- package/dist/src/backend/routers/websocket/post-run-logs.handler.d.ts +0 -5
- package/dist/src/backend/routers/websocket/post-run-logs.handler.d.ts.map +0 -1
- package/dist/src/backend/routers/websocket/post-run-logs.handler.js +0 -18
- package/dist/src/backend/routers/websocket/post-run-logs.handler.js.map +0 -1
- package/dist/src/backend/routers/websocket/post-run-logs.handler.test.d.ts +0 -2
- package/dist/src/backend/routers/websocket/post-run-logs.handler.test.d.ts.map +0 -1
- package/dist/src/backend/routers/websocket/post-run-logs.handler.test.js.map +0 -1
- package/dist/src/backend/services/github/service/pr-fetch-registry.d.ts +0 -20
- package/dist/src/backend/services/github/service/pr-fetch-registry.d.ts.map +0 -1
- package/dist/src/backend/services/github/service/pr-fetch-registry.js.map +0 -1
- package/dist/src/backend/services/github/service/pr-fetch-registry.test.d.ts +0 -2
- package/dist/src/backend/services/github/service/pr-fetch-registry.test.d.ts.map +0 -1
- package/dist/src/backend/services/github/service/pr-fetch-registry.test.js +0 -112
- package/dist/src/backend/services/github/service/pr-fetch-registry.test.js.map +0 -1
- package/dist/src/backend/services/ratchet/service/ratchet-state-machine.d.ts +0 -11
- package/dist/src/backend/services/ratchet/service/ratchet-state-machine.d.ts.map +0 -1
- package/dist/src/backend/services/ratchet/service/ratchet-state-machine.js +0 -77
- package/dist/src/backend/services/ratchet/service/ratchet-state-machine.js.map +0 -1
- package/dist/src/backend/services/ratchet/service/ratchet-state-machine.test.d.ts +0 -2
- package/dist/src/backend/services/ratchet/service/ratchet-state-machine.test.d.ts.map +0 -1
- package/dist/src/backend/services/ratchet/service/ratchet-state-machine.test.js +0 -66
- package/dist/src/backend/services/ratchet/service/ratchet-state-machine.test.js.map +0 -1
- package/dist/src/backend/services/session/service/lifecycle/session.service.coverage.test.d.ts +0 -2
- package/dist/src/backend/services/session/service/lifecycle/session.service.coverage.test.d.ts.map +0 -1
- package/dist/src/backend/services/session/service/lifecycle/session.service.coverage.test.js +0 -279
- package/dist/src/backend/services/session/service/lifecycle/session.service.coverage.test.js.map +0 -1
- package/dist/src/backend/services/workspace/service/state/kanban-state.d.ts +0 -44
- package/dist/src/backend/services/workspace/service/state/kanban-state.d.ts.map +0 -1
- package/dist/src/backend/services/workspace/service/state/kanban-state.js +0 -220
- package/dist/src/backend/services/workspace/service/state/kanban-state.js.map +0 -1
- package/dist/src/backend/services/workspace/service/state/kanban-state.test.d.ts +0 -2
- package/dist/src/backend/services/workspace/service/state/kanban-state.test.d.ts.map +0 -1
- package/dist/src/backend/services/workspace/service/state/kanban-state.test.js +0 -468
- package/dist/src/backend/services/workspace/service/state/kanban-state.test.js.map +0 -1
|
@@ -4,153 +4,116 @@ import { type Context } from './trpc.js';
|
|
|
4
4
|
export declare const workspaceCoreRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5
5
|
ctx: Context;
|
|
6
6
|
meta: object;
|
|
7
|
-
errorShape:
|
|
7
|
+
errorShape: {
|
|
8
|
+
data: {
|
|
9
|
+
applicationErrorKind: "GIT_INDEX_LOCKED" | null;
|
|
10
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
11
|
+
httpStatus: number;
|
|
12
|
+
path?: string;
|
|
13
|
+
stack?: string;
|
|
14
|
+
};
|
|
15
|
+
message: string;
|
|
16
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
17
|
+
};
|
|
8
18
|
transformer: true;
|
|
9
19
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
10
|
-
|
|
11
|
-
input: {
|
|
12
|
-
projectId: string;
|
|
13
|
-
status?: "NEW" | "PROVISIONING" | "READY" | "FAILED" | "ARCHIVING" | "ARCHIVED" | undefined;
|
|
14
|
-
limit?: number | undefined;
|
|
15
|
-
offset?: number | undefined;
|
|
16
|
-
};
|
|
17
|
-
output: {
|
|
18
|
-
name: string;
|
|
19
|
-
updatedAt: Date;
|
|
20
|
-
id: string;
|
|
21
|
-
projectId: string;
|
|
22
|
-
description: string | null;
|
|
23
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
24
|
-
worktreePath: string | null;
|
|
25
|
-
branchName: string | null;
|
|
26
|
-
isAutoGeneratedBranch: boolean;
|
|
27
|
-
creationSource: import("../../../prisma/generated/client.js").WorkspaceCreationSource;
|
|
28
|
-
creationMetadata: import("@prisma/client/runtime/client").JsonValue | null;
|
|
29
|
-
initErrorMessage: string | null;
|
|
30
|
-
initOutput: string | null;
|
|
31
|
-
initStartedAt: Date | null;
|
|
32
|
-
initCompletedAt: Date | null;
|
|
33
|
-
initScriptPid: number | null;
|
|
34
|
-
initRetryCount: number;
|
|
35
|
-
runScriptCommand: string | null;
|
|
36
|
-
runScriptPostRunCommand: string | null;
|
|
37
|
-
runScriptCleanupCommand: string | null;
|
|
38
|
-
runScriptPid: number | null;
|
|
39
|
-
runScriptPort: number | null;
|
|
40
|
-
runScriptStartedAt: Date | null;
|
|
41
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
42
|
-
prUrl: string | null;
|
|
43
|
-
githubIssueNumber: number | null;
|
|
44
|
-
githubIssueUrl: string | null;
|
|
45
|
-
linearIssueId: string | null;
|
|
46
|
-
linearIssueIdentifier: string | null;
|
|
47
|
-
linearIssueUrl: string | null;
|
|
48
|
-
defaultSessionProvider: WorkspaceProviderSelection;
|
|
49
|
-
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
50
|
-
createdAt: Date;
|
|
51
|
-
prNumber: number | null;
|
|
52
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
53
|
-
prReviewState: string | null;
|
|
54
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
55
|
-
prUpdatedAt: Date | null;
|
|
56
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
57
|
-
prDiscoveryRetryCount: number;
|
|
58
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
59
|
-
prCiFailedAt: Date | null;
|
|
60
|
-
prCiLastNotifiedAt: Date | null;
|
|
61
|
-
prReviewLastCheckedAt: Date | null;
|
|
62
|
-
prReviewLastCommentId: string | null;
|
|
63
|
-
ratchetEnabled: boolean;
|
|
64
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
65
|
-
ratchetLastCheckedAt: Date | null;
|
|
66
|
-
ratchetActiveSessionId: string | null;
|
|
67
|
-
ratchetLastCiRunId: string | null;
|
|
68
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
69
|
-
ratchetDispatchRetryCount: number;
|
|
70
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
71
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
72
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
73
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
74
|
-
autoIterationSessionId: string | null;
|
|
75
|
-
periodicTaskId: string | null;
|
|
76
|
-
parentWorkspaceId: string | null;
|
|
77
|
-
hasHadSessions: boolean;
|
|
78
|
-
cachedKanbanColumn: import("../../../prisma/generated/client.js").KanbanColumn;
|
|
79
|
-
stateComputedAt: Date | null;
|
|
80
|
-
}[];
|
|
81
|
-
meta: object;
|
|
82
|
-
}>;
|
|
83
|
-
getProjectSummaryState: import("@trpc/server").TRPCQueryProcedure<{
|
|
20
|
+
listForProject: import("@trpc/server").TRPCQueryProcedure<{
|
|
84
21
|
input: {
|
|
85
22
|
projectId: string;
|
|
86
23
|
};
|
|
87
24
|
output: {
|
|
88
25
|
workspaces: {
|
|
89
26
|
id: string;
|
|
27
|
+
projectId: string;
|
|
90
28
|
name: string;
|
|
29
|
+
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
91
30
|
createdAt: Date;
|
|
92
31
|
branchName: string | null;
|
|
32
|
+
initErrorMessage: string | null;
|
|
33
|
+
mode: import("../../shared/core/index.js").WorkspaceMode;
|
|
34
|
+
autoIterationStatus: import("../../shared/core/index.js").AutoIterationStatus | null;
|
|
35
|
+
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue;
|
|
36
|
+
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue;
|
|
93
37
|
prUrl: string | null;
|
|
94
38
|
prNumber: number | null;
|
|
95
|
-
prState: import("
|
|
96
|
-
prCiStatus: import("
|
|
97
|
-
isWorking: boolean;
|
|
98
|
-
gitStats: {
|
|
99
|
-
total: number;
|
|
100
|
-
additions: number;
|
|
101
|
-
deletions: number;
|
|
102
|
-
hasUncommitted: boolean;
|
|
103
|
-
} | null;
|
|
104
|
-
lastActivityAt: string | null;
|
|
39
|
+
prState: import("../../shared/core/index.js").PRState;
|
|
40
|
+
prCiStatus: import("../../shared/core/index.js").CIStatus;
|
|
105
41
|
ratchetEnabled: boolean;
|
|
106
|
-
ratchetState: import("
|
|
42
|
+
ratchetState: import("../../shared/core/index.js").RatchetState;
|
|
43
|
+
runScriptStatus: import("../../shared/core/index.js").RunScriptStatus;
|
|
107
44
|
githubIssueNumber: number | null;
|
|
108
45
|
githubIssueUrl: string | null;
|
|
109
46
|
linearIssueId: string | null;
|
|
110
47
|
linearIssueIdentifier: string | null;
|
|
111
48
|
linearIssueUrl: string | null;
|
|
112
49
|
creationSource: import("../../../prisma/generated/client.js").WorkspaceCreationSource;
|
|
50
|
+
sessionSummaries: import("../../shared/session-runtime.js").SessionSummary[];
|
|
51
|
+
pendingRequestType: import("../../backend/services/workspace/index.js").WorkspacePendingRequestType;
|
|
52
|
+
gitStats: import("../services/workspace/service/query/workspace-query.service.js").WorkspaceGitStats | null;
|
|
53
|
+
lastActivityAt: string | null;
|
|
54
|
+
isWorking: boolean;
|
|
55
|
+
kanbanColumn: KanbanColumn | null;
|
|
113
56
|
sidebarStatus: import("../../shared/core/index.js").WorkspaceSidebarStatus;
|
|
114
57
|
ratchetButtonAnimated: boolean;
|
|
115
58
|
flowPhase: "READY" | "MERGED" | "NO_PR" | "CI_WAIT" | "RATCHET_VERIFY" | "RATCHET_FIXING";
|
|
116
59
|
ciObservation: "NOT_FETCHED" | "NO_CHECKS" | "CHECKS_PENDING" | "CHECKS_FAILED" | "CHECKS_PASSED" | "CHECKS_UNKNOWN";
|
|
117
60
|
statusReason: import("../../shared/workspace-status-reason.js").WorkspaceStatusReason;
|
|
118
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
119
|
-
cachedKanbanColumn: KanbanColumn | null;
|
|
120
|
-
stateComputedAt: string | null;
|
|
121
|
-
pendingRequestType: "permission_request" | "user_question" | "plan_approval" | null;
|
|
122
61
|
}[];
|
|
123
62
|
reviewCount: number;
|
|
124
63
|
};
|
|
125
64
|
meta: object;
|
|
126
65
|
}>;
|
|
127
|
-
|
|
66
|
+
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
128
67
|
input: {
|
|
129
|
-
|
|
130
|
-
status?: "NEW" | "PROVISIONING" | "READY" | "FAILED" | "ARCHIVING" | "ARCHIVED" | undefined;
|
|
131
|
-
kanbanColumn?: "WORKING" | "WAITING" | "DONE" | undefined;
|
|
132
|
-
limit?: number | undefined;
|
|
133
|
-
offset?: number | undefined;
|
|
68
|
+
id: string;
|
|
134
69
|
};
|
|
135
70
|
output: {
|
|
71
|
+
sessionSummaries: import("../../shared/session-runtime.js").SessionSummary[];
|
|
136
72
|
kanbanColumn: KanbanColumn | null;
|
|
137
|
-
|
|
73
|
+
sidebarStatus: import("../../shared/core/index.js").WorkspaceSidebarStatus;
|
|
138
74
|
ratchetButtonAnimated: boolean;
|
|
139
75
|
flowPhase: "READY" | "MERGED" | "NO_PR" | "CI_WAIT" | "RATCHET_VERIFY" | "RATCHET_FIXING";
|
|
140
76
|
ciObservation: "NOT_FETCHED" | "NO_CHECKS" | "CHECKS_PENDING" | "CHECKS_FAILED" | "CHECKS_PASSED" | "CHECKS_UNKNOWN";
|
|
141
77
|
statusReason: import("../../shared/workspace-status-reason.js").WorkspaceStatusReason;
|
|
142
|
-
isArchived: boolean;
|
|
143
78
|
pendingRequestType: import("../../backend/services/workspace/index.js").WorkspacePendingRequestType;
|
|
79
|
+
name: string;
|
|
80
|
+
updatedAt: Date;
|
|
81
|
+
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
82
|
+
id: string;
|
|
83
|
+
projectId: string;
|
|
84
|
+
description: string | null;
|
|
85
|
+
worktreePath: string | null;
|
|
86
|
+
branchName: string | null;
|
|
87
|
+
isAutoGeneratedBranch: boolean;
|
|
88
|
+
creationSource: import("../../../prisma/generated/client.js").WorkspaceCreationSource;
|
|
89
|
+
creationMetadata: import("@prisma/client/runtime/client").JsonValue | null;
|
|
90
|
+
initErrorMessage: string | null;
|
|
91
|
+
initOutput: string | null;
|
|
92
|
+
initStartedAt: Date | null;
|
|
93
|
+
initCompletedAt: Date | null;
|
|
94
|
+
initScriptPid: number | null;
|
|
95
|
+
initRetryCount: number;
|
|
96
|
+
githubIssueNumber: number | null;
|
|
97
|
+
githubIssueUrl: string | null;
|
|
98
|
+
linearIssueId: string | null;
|
|
99
|
+
linearIssueIdentifier: string | null;
|
|
100
|
+
linearIssueUrl: string | null;
|
|
101
|
+
defaultSessionProvider: WorkspaceProviderSelection;
|
|
102
|
+
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
103
|
+
createdAt: Date;
|
|
104
|
+
periodicTaskId: string | null;
|
|
105
|
+
parentWorkspaceId: string | null;
|
|
106
|
+
hasHadSessions: boolean;
|
|
144
107
|
agentSessions: {
|
|
145
108
|
name: string | null;
|
|
146
109
|
model: string;
|
|
147
110
|
workflow: string;
|
|
148
111
|
provider: SessionProvider;
|
|
149
112
|
updatedAt: Date;
|
|
150
|
-
|
|
113
|
+
workspaceId: string;
|
|
151
114
|
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
115
|
+
id: string;
|
|
152
116
|
createdAt: Date;
|
|
153
|
-
workspaceId: string;
|
|
154
117
|
providerSessionId: string | null;
|
|
155
118
|
providerProjectPath: string | null;
|
|
156
119
|
providerProcessPid: number | null;
|
|
@@ -159,18 +122,123 @@ export declare const workspaceCoreRouter: import("@trpc/server").TRPCBuiltRouter
|
|
|
159
122
|
terminalSessions: {
|
|
160
123
|
name: string | null;
|
|
161
124
|
updatedAt: Date;
|
|
162
|
-
|
|
125
|
+
workspaceId: string;
|
|
163
126
|
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
127
|
+
id: string;
|
|
164
128
|
createdAt: Date;
|
|
165
|
-
workspaceId: string;
|
|
166
129
|
pid: number | null;
|
|
167
130
|
}[];
|
|
131
|
+
ratchetEnabled: boolean;
|
|
132
|
+
ratchetLastCheckedAt: Date | null;
|
|
133
|
+
ratchetActiveSessionId: string | null;
|
|
134
|
+
ratchetDispatchSnapshotKey: string | null;
|
|
135
|
+
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
136
|
+
ratchetDispatchRetryCount: number;
|
|
137
|
+
ratchetDispatchStalled: boolean;
|
|
138
|
+
prUrl: string | null;
|
|
139
|
+
prNumber: number | null;
|
|
140
|
+
prState: import("../../shared/core/index.js").PRState;
|
|
141
|
+
prReviewState: string | null;
|
|
142
|
+
prCiStatus: import("../../shared/core/index.js").CIStatus;
|
|
143
|
+
prHasMergeConflict: boolean;
|
|
144
|
+
prUpdatedAt: Date | null;
|
|
145
|
+
prDiscoveryLastCheckedAt: Date | null;
|
|
146
|
+
prDiscoveryRetryCount: number;
|
|
147
|
+
prDiscoveryNextCheckAt: Date | null;
|
|
148
|
+
prCiFailedAt: Date | null;
|
|
149
|
+
prCiLastNotifiedAt: Date | null;
|
|
150
|
+
prReviewLastCheckedAt: Date | null;
|
|
151
|
+
prReviewLastCommentId: string | null;
|
|
152
|
+
runScriptCommand: string | null;
|
|
153
|
+
runScriptPostRunCommand: string | null;
|
|
154
|
+
runScriptCleanupCommand: string | null;
|
|
155
|
+
runScriptPid: number | null;
|
|
156
|
+
runScriptPort: number | null;
|
|
157
|
+
runScriptStartedAt: Date | null;
|
|
158
|
+
runScriptStatus: import("../../shared/core/index.js").RunScriptStatus;
|
|
159
|
+
mode: import("../../shared/core/index.js").WorkspaceMode;
|
|
160
|
+
autoIterationStatus: import("../../shared/core/index.js").AutoIterationStatus | null;
|
|
161
|
+
autoIterationConfig: import("../../../prisma/generated/internal/prismaNamespace.js").JsonValue | null;
|
|
162
|
+
autoIterationProgress: import("../../../prisma/generated/internal/prismaNamespace.js").JsonValue | null;
|
|
163
|
+
autoIterationSessionId: string | null;
|
|
164
|
+
ratchetState: import("../../shared/core/index.js").RatchetState;
|
|
165
|
+
};
|
|
166
|
+
meta: object;
|
|
167
|
+
}>;
|
|
168
|
+
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
169
|
+
input: {
|
|
170
|
+
type: "MANUAL";
|
|
171
|
+
projectId: string;
|
|
172
|
+
name: string;
|
|
173
|
+
description?: string | undefined;
|
|
174
|
+
branchName?: string | undefined;
|
|
175
|
+
ratchetEnabled?: boolean | undefined;
|
|
176
|
+
initialPrompt?: string | undefined;
|
|
177
|
+
initialAttachments?: {
|
|
178
|
+
id: string;
|
|
179
|
+
name: string;
|
|
180
|
+
type: string;
|
|
181
|
+
size: number;
|
|
182
|
+
data: string;
|
|
183
|
+
contentType?: "text" | "image" | undefined;
|
|
184
|
+
}[] | undefined;
|
|
185
|
+
startupModePreset?: "non_interactive" | "plan" | undefined;
|
|
186
|
+
provider?: "CLAUDE" | "CODEX" | undefined;
|
|
187
|
+
mode?: "STANDARD" | "AUTO_ITERATION" | undefined;
|
|
188
|
+
autoIterationConfig?: {
|
|
189
|
+
testCommand: string;
|
|
190
|
+
targetDescription: string;
|
|
191
|
+
maxIterations?: number | undefined;
|
|
192
|
+
testTimeoutSeconds?: number | undefined;
|
|
193
|
+
sessionRecycleInterval?: number | undefined;
|
|
194
|
+
promptTimeoutSeconds?: number | undefined;
|
|
195
|
+
} | undefined;
|
|
196
|
+
} | {
|
|
197
|
+
type: "RESUME_BRANCH";
|
|
198
|
+
projectId: string;
|
|
199
|
+
branchName: string;
|
|
200
|
+
name?: string | undefined;
|
|
201
|
+
description?: string | undefined;
|
|
202
|
+
ratchetEnabled?: boolean | undefined;
|
|
203
|
+
} | {
|
|
204
|
+
type: "GITHUB_ISSUE";
|
|
205
|
+
projectId: string;
|
|
206
|
+
issueNumber: number;
|
|
207
|
+
issueUrl: string;
|
|
208
|
+
name?: string | undefined;
|
|
209
|
+
description?: string | undefined;
|
|
210
|
+
ratchetEnabled?: boolean | undefined;
|
|
211
|
+
initialPrompt?: string | undefined;
|
|
212
|
+
startupModePreset?: "non_interactive" | "plan" | undefined;
|
|
213
|
+
provider?: "CLAUDE" | "CODEX" | undefined;
|
|
214
|
+
} | {
|
|
215
|
+
type: "LINEAR_ISSUE";
|
|
216
|
+
projectId: string;
|
|
217
|
+
issueId: string;
|
|
218
|
+
issueIdentifier: string;
|
|
219
|
+
issueUrl: string;
|
|
220
|
+
name?: string | undefined;
|
|
221
|
+
description?: string | undefined;
|
|
222
|
+
ratchetEnabled?: boolean | undefined;
|
|
223
|
+
initialPrompt?: string | undefined;
|
|
224
|
+
startupModePreset?: "non_interactive" | "plan" | undefined;
|
|
225
|
+
provider?: "CLAUDE" | "CODEX" | undefined;
|
|
226
|
+
};
|
|
227
|
+
output: import("../services/workspace/resources/workspace.accessor.js").WorkspaceWithRatchet;
|
|
228
|
+
meta: object;
|
|
229
|
+
}>;
|
|
230
|
+
rename: import("@trpc/server").TRPCMutationProcedure<{
|
|
231
|
+
input: {
|
|
232
|
+
id: string;
|
|
233
|
+
name: string;
|
|
234
|
+
};
|
|
235
|
+
output: {
|
|
168
236
|
name: string;
|
|
169
237
|
updatedAt: Date;
|
|
238
|
+
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
170
239
|
id: string;
|
|
171
240
|
projectId: string;
|
|
172
241
|
description: string | null;
|
|
173
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
174
242
|
worktreePath: string | null;
|
|
175
243
|
branchName: string | null;
|
|
176
244
|
isAutoGeneratedBranch: boolean;
|
|
@@ -182,14 +250,6 @@ export declare const workspaceCoreRouter: import("@trpc/server").TRPCBuiltRouter
|
|
|
182
250
|
initCompletedAt: Date | null;
|
|
183
251
|
initScriptPid: number | null;
|
|
184
252
|
initRetryCount: number;
|
|
185
|
-
runScriptCommand: string | null;
|
|
186
|
-
runScriptPostRunCommand: string | null;
|
|
187
|
-
runScriptCleanupCommand: string | null;
|
|
188
|
-
runScriptPid: number | null;
|
|
189
|
-
runScriptPort: number | null;
|
|
190
|
-
runScriptStartedAt: Date | null;
|
|
191
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
192
|
-
prUrl: string | null;
|
|
193
253
|
githubIssueNumber: number | null;
|
|
194
254
|
githubIssueUrl: string | null;
|
|
195
255
|
linearIssueId: string | null;
|
|
@@ -198,58 +258,45 @@ export declare const workspaceCoreRouter: import("@trpc/server").TRPCBuiltRouter
|
|
|
198
258
|
defaultSessionProvider: WorkspaceProviderSelection;
|
|
199
259
|
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
200
260
|
createdAt: Date;
|
|
201
|
-
prNumber: number | null;
|
|
202
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
203
|
-
prReviewState: string | null;
|
|
204
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
205
|
-
prUpdatedAt: Date | null;
|
|
206
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
207
|
-
prDiscoveryRetryCount: number;
|
|
208
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
209
|
-
prCiFailedAt: Date | null;
|
|
210
|
-
prCiLastNotifiedAt: Date | null;
|
|
211
|
-
prReviewLastCheckedAt: Date | null;
|
|
212
|
-
prReviewLastCommentId: string | null;
|
|
213
|
-
ratchetEnabled: boolean;
|
|
214
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
215
|
-
ratchetLastCheckedAt: Date | null;
|
|
216
|
-
ratchetActiveSessionId: string | null;
|
|
217
|
-
ratchetLastCiRunId: string | null;
|
|
218
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
219
|
-
ratchetDispatchRetryCount: number;
|
|
220
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
221
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
222
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
223
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
224
|
-
autoIterationSessionId: string | null;
|
|
225
261
|
periodicTaskId: string | null;
|
|
226
262
|
parentWorkspaceId: string | null;
|
|
227
263
|
hasHadSessions: boolean;
|
|
228
|
-
|
|
229
|
-
stateComputedAt: Date | null;
|
|
230
|
-
}[];
|
|
264
|
+
};
|
|
231
265
|
meta: object;
|
|
232
266
|
}>;
|
|
233
|
-
|
|
267
|
+
attachPR: import("@trpc/server").TRPCMutationProcedure<{
|
|
234
268
|
input: {
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
limit?: number | undefined;
|
|
238
|
-
offset?: number | undefined;
|
|
269
|
+
id: string;
|
|
270
|
+
prUrl: string;
|
|
239
271
|
};
|
|
240
|
-
output: {
|
|
241
|
-
|
|
242
|
-
|
|
272
|
+
output: Omit<{
|
|
273
|
+
pr: {
|
|
274
|
+
number: number | null;
|
|
275
|
+
url: string | null;
|
|
276
|
+
workspaceId: string;
|
|
277
|
+
state: import("../../../prisma/generated/client.js").PRState;
|
|
278
|
+
reviewState: string | null;
|
|
279
|
+
ciStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
280
|
+
hasMergeConflict: boolean;
|
|
281
|
+
syncedAt: Date | null;
|
|
282
|
+
discoveryLastCheckedAt: Date | null;
|
|
283
|
+
discoveryRetryCount: number;
|
|
284
|
+
discoveryNextCheckAt: Date | null;
|
|
285
|
+
ciFailedAt: Date | null;
|
|
286
|
+
ciLastNotifiedAt: Date | null;
|
|
287
|
+
reviewLastCheckedAt: Date | null;
|
|
288
|
+
reviewLastCommentId: string | null;
|
|
289
|
+
} | null;
|
|
243
290
|
agentSessions: {
|
|
244
291
|
name: string | null;
|
|
245
292
|
model: string;
|
|
246
293
|
workflow: string;
|
|
247
294
|
provider: SessionProvider;
|
|
248
295
|
updatedAt: Date;
|
|
249
|
-
|
|
296
|
+
workspaceId: string;
|
|
250
297
|
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
298
|
+
id: string;
|
|
251
299
|
createdAt: Date;
|
|
252
|
-
workspaceId: string;
|
|
253
300
|
providerSessionId: string | null;
|
|
254
301
|
providerProjectPath: string | null;
|
|
255
302
|
providerProcessPid: number | null;
|
|
@@ -258,18 +305,47 @@ export declare const workspaceCoreRouter: import("@trpc/server").TRPCBuiltRouter
|
|
|
258
305
|
terminalSessions: {
|
|
259
306
|
name: string | null;
|
|
260
307
|
updatedAt: Date;
|
|
261
|
-
|
|
308
|
+
workspaceId: string;
|
|
262
309
|
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
310
|
+
id: string;
|
|
263
311
|
createdAt: Date;
|
|
264
|
-
workspaceId: string;
|
|
265
312
|
pid: number | null;
|
|
266
313
|
}[];
|
|
314
|
+
ratchet: {
|
|
315
|
+
workspaceId: string;
|
|
316
|
+
enabled: boolean;
|
|
317
|
+
lastCheckedAt: Date | null;
|
|
318
|
+
activeSessionId: string | null;
|
|
319
|
+
dispatchSnapshotKey: string | null;
|
|
320
|
+
dispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
321
|
+
dispatchRetryCount: number;
|
|
322
|
+
dispatchStalled: boolean;
|
|
323
|
+
} | null;
|
|
324
|
+
runScript: {
|
|
325
|
+
workspaceId: string;
|
|
326
|
+
status: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
327
|
+
command: string | null;
|
|
328
|
+
postRunCommand: string | null;
|
|
329
|
+
cleanupCommand: string | null;
|
|
330
|
+
pid: number | null;
|
|
331
|
+
port: number | null;
|
|
332
|
+
startedAt: Date | null;
|
|
333
|
+
} | null;
|
|
334
|
+
autoIteration: {
|
|
335
|
+
config: import("@prisma/client/runtime/client").JsonValue | null;
|
|
336
|
+
sessionId: string | null;
|
|
337
|
+
workspaceId: string;
|
|
338
|
+
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
339
|
+
status: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
340
|
+
progress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
341
|
+
} | null;
|
|
342
|
+
} & {
|
|
267
343
|
name: string;
|
|
268
344
|
updatedAt: Date;
|
|
345
|
+
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
269
346
|
id: string;
|
|
270
347
|
projectId: string;
|
|
271
348
|
description: string | null;
|
|
272
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
273
349
|
worktreePath: string | null;
|
|
274
350
|
branchName: string | null;
|
|
275
351
|
isAutoGeneratedBranch: boolean;
|
|
@@ -281,14 +357,6 @@ export declare const workspaceCoreRouter: import("@trpc/server").TRPCBuiltRouter
|
|
|
281
357
|
initCompletedAt: Date | null;
|
|
282
358
|
initScriptPid: number | null;
|
|
283
359
|
initRetryCount: number;
|
|
284
|
-
runScriptCommand: string | null;
|
|
285
|
-
runScriptPostRunCommand: string | null;
|
|
286
|
-
runScriptCleanupCommand: string | null;
|
|
287
|
-
runScriptPid: number | null;
|
|
288
|
-
runScriptPort: number | null;
|
|
289
|
-
runScriptStartedAt: Date | null;
|
|
290
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
291
|
-
prUrl: string | null;
|
|
292
360
|
githubIssueNumber: number | null;
|
|
293
361
|
githubIssueUrl: string | null;
|
|
294
362
|
linearIssueId: string | null;
|
|
@@ -297,60 +365,47 @@ export declare const workspaceCoreRouter: import("@trpc/server").TRPCBuiltRouter
|
|
|
297
365
|
defaultSessionProvider: WorkspaceProviderSelection;
|
|
298
366
|
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
299
367
|
createdAt: Date;
|
|
300
|
-
prNumber: number | null;
|
|
301
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
302
|
-
prReviewState: string | null;
|
|
303
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
304
|
-
prUpdatedAt: Date | null;
|
|
305
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
306
|
-
prDiscoveryRetryCount: number;
|
|
307
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
308
|
-
prCiFailedAt: Date | null;
|
|
309
|
-
prCiLastNotifiedAt: Date | null;
|
|
310
|
-
prReviewLastCheckedAt: Date | null;
|
|
311
|
-
prReviewLastCommentId: string | null;
|
|
312
|
-
ratchetEnabled: boolean;
|
|
313
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
314
|
-
ratchetLastCheckedAt: Date | null;
|
|
315
|
-
ratchetActiveSessionId: string | null;
|
|
316
|
-
ratchetLastCiRunId: string | null;
|
|
317
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
318
|
-
ratchetDispatchRetryCount: number;
|
|
319
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
320
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
321
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
322
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
323
|
-
autoIterationSessionId: string | null;
|
|
324
368
|
periodicTaskId: string | null;
|
|
325
369
|
parentWorkspaceId: string | null;
|
|
326
370
|
hasHadSessions: boolean;
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
}
|
|
371
|
+
}, "pr" | "ratchet" | "runScript" | "autoIteration"> & import("../services/workspace/resources/workspace-ratchet.accessor.js").WorkspaceRatchetFields & import("../services/workspace/resources/workspace-pr.accessor.js").WorkspacePRFields & import("../services/workspace/resources/workspace-run-script.accessor.js").WorkspaceRunScriptFields & import("../services/workspace/resources/workspace-auto-iteration.accessor.js").WorkspaceAutoIterationFields & {
|
|
372
|
+
ratchetState: import("../../shared/core/index.js").RatchetState;
|
|
373
|
+
};
|
|
330
374
|
meta: object;
|
|
331
375
|
}>;
|
|
332
|
-
|
|
376
|
+
toggleRatcheting: import("@trpc/server").TRPCMutationProcedure<{
|
|
333
377
|
input: {
|
|
334
|
-
|
|
378
|
+
workspaceId: string;
|
|
379
|
+
enabled: boolean;
|
|
335
380
|
};
|
|
336
|
-
output: {
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
381
|
+
output: Omit<{
|
|
382
|
+
pr: {
|
|
383
|
+
number: number | null;
|
|
384
|
+
url: string | null;
|
|
385
|
+
workspaceId: string;
|
|
386
|
+
state: import("../../../prisma/generated/client.js").PRState;
|
|
387
|
+
reviewState: string | null;
|
|
388
|
+
ciStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
389
|
+
hasMergeConflict: boolean;
|
|
390
|
+
syncedAt: Date | null;
|
|
391
|
+
discoveryLastCheckedAt: Date | null;
|
|
392
|
+
discoveryRetryCount: number;
|
|
393
|
+
discoveryNextCheckAt: Date | null;
|
|
394
|
+
ciFailedAt: Date | null;
|
|
395
|
+
ciLastNotifiedAt: Date | null;
|
|
396
|
+
reviewLastCheckedAt: Date | null;
|
|
397
|
+
reviewLastCommentId: string | null;
|
|
398
|
+
} | null;
|
|
344
399
|
agentSessions: {
|
|
345
400
|
name: string | null;
|
|
346
401
|
model: string;
|
|
347
402
|
workflow: string;
|
|
348
403
|
provider: SessionProvider;
|
|
349
404
|
updatedAt: Date;
|
|
350
|
-
|
|
405
|
+
workspaceId: string;
|
|
351
406
|
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
407
|
+
id: string;
|
|
352
408
|
createdAt: Date;
|
|
353
|
-
workspaceId: string;
|
|
354
409
|
providerSessionId: string | null;
|
|
355
410
|
providerProjectPath: string | null;
|
|
356
411
|
providerProcessPid: number | null;
|
|
@@ -359,18 +414,47 @@ export declare const workspaceCoreRouter: import("@trpc/server").TRPCBuiltRouter
|
|
|
359
414
|
terminalSessions: {
|
|
360
415
|
name: string | null;
|
|
361
416
|
updatedAt: Date;
|
|
362
|
-
|
|
417
|
+
workspaceId: string;
|
|
363
418
|
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
419
|
+
id: string;
|
|
364
420
|
createdAt: Date;
|
|
365
|
-
workspaceId: string;
|
|
366
421
|
pid: number | null;
|
|
367
422
|
}[];
|
|
423
|
+
ratchet: {
|
|
424
|
+
workspaceId: string;
|
|
425
|
+
enabled: boolean;
|
|
426
|
+
lastCheckedAt: Date | null;
|
|
427
|
+
activeSessionId: string | null;
|
|
428
|
+
dispatchSnapshotKey: string | null;
|
|
429
|
+
dispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
430
|
+
dispatchRetryCount: number;
|
|
431
|
+
dispatchStalled: boolean;
|
|
432
|
+
} | null;
|
|
433
|
+
runScript: {
|
|
434
|
+
workspaceId: string;
|
|
435
|
+
status: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
436
|
+
command: string | null;
|
|
437
|
+
postRunCommand: string | null;
|
|
438
|
+
cleanupCommand: string | null;
|
|
439
|
+
pid: number | null;
|
|
440
|
+
port: number | null;
|
|
441
|
+
startedAt: Date | null;
|
|
442
|
+
} | null;
|
|
443
|
+
autoIteration: {
|
|
444
|
+
config: import("@prisma/client/runtime/client").JsonValue | null;
|
|
445
|
+
sessionId: string | null;
|
|
446
|
+
workspaceId: string;
|
|
447
|
+
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
448
|
+
status: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
449
|
+
progress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
450
|
+
} | null;
|
|
451
|
+
} & {
|
|
368
452
|
name: string;
|
|
369
453
|
updatedAt: Date;
|
|
454
|
+
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
370
455
|
id: string;
|
|
371
456
|
projectId: string;
|
|
372
457
|
description: string | null;
|
|
373
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
374
458
|
worktreePath: string | null;
|
|
375
459
|
branchName: string | null;
|
|
376
460
|
isAutoGeneratedBranch: boolean;
|
|
@@ -382,14 +466,6 @@ export declare const workspaceCoreRouter: import("@trpc/server").TRPCBuiltRouter
|
|
|
382
466
|
initCompletedAt: Date | null;
|
|
383
467
|
initScriptPid: number | null;
|
|
384
468
|
initRetryCount: number;
|
|
385
|
-
runScriptCommand: string | null;
|
|
386
|
-
runScriptPostRunCommand: string | null;
|
|
387
|
-
runScriptCleanupCommand: string | null;
|
|
388
|
-
runScriptPid: number | null;
|
|
389
|
-
runScriptPort: number | null;
|
|
390
|
-
runScriptStartedAt: Date | null;
|
|
391
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
392
|
-
prUrl: string | null;
|
|
393
469
|
githubIssueNumber: number | null;
|
|
394
470
|
githubIssueUrl: string | null;
|
|
395
471
|
linearIssueId: string | null;
|
|
@@ -398,104 +474,27 @@ export declare const workspaceCoreRouter: import("@trpc/server").TRPCBuiltRouter
|
|
|
398
474
|
defaultSessionProvider: WorkspaceProviderSelection;
|
|
399
475
|
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
400
476
|
createdAt: Date;
|
|
401
|
-
prNumber: number | null;
|
|
402
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
403
|
-
prReviewState: string | null;
|
|
404
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
405
|
-
prUpdatedAt: Date | null;
|
|
406
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
407
|
-
prDiscoveryRetryCount: number;
|
|
408
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
409
|
-
prCiFailedAt: Date | null;
|
|
410
|
-
prCiLastNotifiedAt: Date | null;
|
|
411
|
-
prReviewLastCheckedAt: Date | null;
|
|
412
|
-
prReviewLastCommentId: string | null;
|
|
413
|
-
ratchetEnabled: boolean;
|
|
414
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
415
|
-
ratchetLastCheckedAt: Date | null;
|
|
416
|
-
ratchetActiveSessionId: string | null;
|
|
417
|
-
ratchetLastCiRunId: string | null;
|
|
418
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
419
|
-
ratchetDispatchRetryCount: number;
|
|
420
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
421
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
422
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
423
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
424
|
-
autoIterationSessionId: string | null;
|
|
425
477
|
periodicTaskId: string | null;
|
|
426
478
|
parentWorkspaceId: string | null;
|
|
427
479
|
hasHadSessions: boolean;
|
|
428
|
-
|
|
429
|
-
|
|
480
|
+
}, "pr" | "ratchet" | "runScript" | "autoIteration"> & import("../services/workspace/resources/workspace-ratchet.accessor.js").WorkspaceRatchetFields & import("../services/workspace/resources/workspace-pr.accessor.js").WorkspacePRFields & import("../services/workspace/resources/workspace-run-script.accessor.js").WorkspaceRunScriptFields & import("../services/workspace/resources/workspace-auto-iteration.accessor.js").WorkspaceAutoIterationFields & {
|
|
481
|
+
ratchetState: import("../../shared/core/index.js").RatchetState;
|
|
430
482
|
};
|
|
431
483
|
meta: object;
|
|
432
484
|
}>;
|
|
433
|
-
|
|
485
|
+
updateProviderDefaults: import("@trpc/server").TRPCMutationProcedure<{
|
|
434
486
|
input: {
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
description?: string | undefined;
|
|
439
|
-
branchName?: string | undefined;
|
|
440
|
-
ratchetEnabled?: boolean | undefined;
|
|
441
|
-
initialPrompt?: string | undefined;
|
|
442
|
-
initialAttachments?: {
|
|
443
|
-
id: string;
|
|
444
|
-
name: string;
|
|
445
|
-
type: string;
|
|
446
|
-
size: number;
|
|
447
|
-
data: string;
|
|
448
|
-
contentType?: "text" | "image" | undefined;
|
|
449
|
-
}[] | undefined;
|
|
450
|
-
startupModePreset?: "non_interactive" | "plan" | undefined;
|
|
451
|
-
provider?: "CLAUDE" | "CODEX" | undefined;
|
|
452
|
-
mode?: "STANDARD" | "AUTO_ITERATION" | undefined;
|
|
453
|
-
autoIterationConfig?: {
|
|
454
|
-
testCommand: string;
|
|
455
|
-
targetDescription: string;
|
|
456
|
-
maxIterations?: number | undefined;
|
|
457
|
-
testTimeoutSeconds?: number | undefined;
|
|
458
|
-
sessionRecycleInterval?: number | undefined;
|
|
459
|
-
promptTimeoutSeconds?: number | undefined;
|
|
460
|
-
} | undefined;
|
|
461
|
-
} | {
|
|
462
|
-
type: "RESUME_BRANCH";
|
|
463
|
-
projectId: string;
|
|
464
|
-
branchName: string;
|
|
465
|
-
name?: string | undefined;
|
|
466
|
-
description?: string | undefined;
|
|
467
|
-
ratchetEnabled?: boolean | undefined;
|
|
468
|
-
} | {
|
|
469
|
-
type: "GITHUB_ISSUE";
|
|
470
|
-
projectId: string;
|
|
471
|
-
issueNumber: number;
|
|
472
|
-
issueUrl: string;
|
|
473
|
-
name?: string | undefined;
|
|
474
|
-
description?: string | undefined;
|
|
475
|
-
ratchetEnabled?: boolean | undefined;
|
|
476
|
-
initialPrompt?: string | undefined;
|
|
477
|
-
startupModePreset?: "non_interactive" | "plan" | undefined;
|
|
478
|
-
provider?: "CLAUDE" | "CODEX" | undefined;
|
|
479
|
-
} | {
|
|
480
|
-
type: "LINEAR_ISSUE";
|
|
481
|
-
projectId: string;
|
|
482
|
-
issueId: string;
|
|
483
|
-
issueIdentifier: string;
|
|
484
|
-
issueUrl: string;
|
|
485
|
-
name?: string | undefined;
|
|
486
|
-
description?: string | undefined;
|
|
487
|
-
ratchetEnabled?: boolean | undefined;
|
|
488
|
-
initialPrompt?: string | undefined;
|
|
489
|
-
startupModePreset?: "non_interactive" | "plan" | undefined;
|
|
490
|
-
provider?: "CLAUDE" | "CODEX" | undefined;
|
|
487
|
+
workspaceId: string;
|
|
488
|
+
defaultSessionProvider?: "CLAUDE" | "CODEX" | "WORKSPACE_DEFAULT" | undefined;
|
|
489
|
+
ratchetSessionProvider?: "CLAUDE" | "CODEX" | "WORKSPACE_DEFAULT" | undefined;
|
|
491
490
|
};
|
|
492
491
|
output: {
|
|
493
492
|
name: string;
|
|
494
493
|
updatedAt: Date;
|
|
494
|
+
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
495
495
|
id: string;
|
|
496
496
|
projectId: string;
|
|
497
497
|
description: string | null;
|
|
498
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
499
498
|
worktreePath: string | null;
|
|
500
499
|
branchName: string | null;
|
|
501
500
|
isAutoGeneratedBranch: boolean;
|
|
@@ -507,14 +506,6 @@ export declare const workspaceCoreRouter: import("@trpc/server").TRPCBuiltRouter
|
|
|
507
506
|
initCompletedAt: Date | null;
|
|
508
507
|
initScriptPid: number | null;
|
|
509
508
|
initRetryCount: number;
|
|
510
|
-
runScriptCommand: string | null;
|
|
511
|
-
runScriptPostRunCommand: string | null;
|
|
512
|
-
runScriptCleanupCommand: string | null;
|
|
513
|
-
runScriptPid: number | null;
|
|
514
|
-
runScriptPort: number | null;
|
|
515
|
-
runScriptStartedAt: Date | null;
|
|
516
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
517
|
-
prUrl: string | null;
|
|
518
509
|
githubIssueNumber: number | null;
|
|
519
510
|
githubIssueUrl: string | null;
|
|
520
511
|
linearIssueId: string | null;
|
|
@@ -523,50 +514,24 @@ export declare const workspaceCoreRouter: import("@trpc/server").TRPCBuiltRouter
|
|
|
523
514
|
defaultSessionProvider: WorkspaceProviderSelection;
|
|
524
515
|
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
525
516
|
createdAt: Date;
|
|
526
|
-
prNumber: number | null;
|
|
527
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
528
|
-
prReviewState: string | null;
|
|
529
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
530
|
-
prUpdatedAt: Date | null;
|
|
531
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
532
|
-
prDiscoveryRetryCount: number;
|
|
533
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
534
|
-
prCiFailedAt: Date | null;
|
|
535
|
-
prCiLastNotifiedAt: Date | null;
|
|
536
|
-
prReviewLastCheckedAt: Date | null;
|
|
537
|
-
prReviewLastCommentId: string | null;
|
|
538
|
-
ratchetEnabled: boolean;
|
|
539
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
540
|
-
ratchetLastCheckedAt: Date | null;
|
|
541
|
-
ratchetActiveSessionId: string | null;
|
|
542
|
-
ratchetLastCiRunId: string | null;
|
|
543
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
544
|
-
ratchetDispatchRetryCount: number;
|
|
545
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
546
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
547
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
548
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
549
|
-
autoIterationSessionId: string | null;
|
|
550
517
|
periodicTaskId: string | null;
|
|
551
518
|
parentWorkspaceId: string | null;
|
|
552
519
|
hasHadSessions: boolean;
|
|
553
|
-
cachedKanbanColumn: import("../../../prisma/generated/client.js").KanbanColumn;
|
|
554
|
-
stateComputedAt: Date | null;
|
|
555
520
|
};
|
|
556
521
|
meta: object;
|
|
557
522
|
}>;
|
|
558
|
-
|
|
523
|
+
archive: import("@trpc/server").TRPCMutationProcedure<{
|
|
559
524
|
input: {
|
|
560
525
|
id: string;
|
|
561
|
-
|
|
526
|
+
removeGitIndexLock?: true | undefined;
|
|
562
527
|
};
|
|
563
528
|
output: {
|
|
564
529
|
name: string;
|
|
565
530
|
updatedAt: Date;
|
|
531
|
+
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
566
532
|
id: string;
|
|
567
533
|
projectId: string;
|
|
568
534
|
description: string | null;
|
|
569
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
570
535
|
worktreePath: string | null;
|
|
571
536
|
branchName: string | null;
|
|
572
537
|
isAutoGeneratedBranch: boolean;
|
|
@@ -578,14 +543,6 @@ export declare const workspaceCoreRouter: import("@trpc/server").TRPCBuiltRouter
|
|
|
578
543
|
initCompletedAt: Date | null;
|
|
579
544
|
initScriptPid: number | null;
|
|
580
545
|
initRetryCount: number;
|
|
581
|
-
runScriptCommand: string | null;
|
|
582
|
-
runScriptPostRunCommand: string | null;
|
|
583
|
-
runScriptCleanupCommand: string | null;
|
|
584
|
-
runScriptPid: number | null;
|
|
585
|
-
runScriptPort: number | null;
|
|
586
|
-
runScriptStartedAt: Date | null;
|
|
587
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
588
|
-
prUrl: string | null;
|
|
589
546
|
githubIssueNumber: number | null;
|
|
590
547
|
githubIssueUrl: string | null;
|
|
591
548
|
linearIssueId: string | null;
|
|
@@ -594,75 +551,46 @@ export declare const workspaceCoreRouter: import("@trpc/server").TRPCBuiltRouter
|
|
|
594
551
|
defaultSessionProvider: WorkspaceProviderSelection;
|
|
595
552
|
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
596
553
|
createdAt: Date;
|
|
597
|
-
prNumber: number | null;
|
|
598
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
599
|
-
prReviewState: string | null;
|
|
600
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
601
|
-
prUpdatedAt: Date | null;
|
|
602
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
603
|
-
prDiscoveryRetryCount: number;
|
|
604
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
605
|
-
prCiFailedAt: Date | null;
|
|
606
|
-
prCiLastNotifiedAt: Date | null;
|
|
607
|
-
prReviewLastCheckedAt: Date | null;
|
|
608
|
-
prReviewLastCommentId: string | null;
|
|
609
|
-
ratchetEnabled: boolean;
|
|
610
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
611
|
-
ratchetLastCheckedAt: Date | null;
|
|
612
|
-
ratchetActiveSessionId: string | null;
|
|
613
|
-
ratchetLastCiRunId: string | null;
|
|
614
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
615
|
-
ratchetDispatchRetryCount: number;
|
|
616
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
617
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
618
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
619
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
620
|
-
autoIterationSessionId: string | null;
|
|
621
554
|
periodicTaskId: string | null;
|
|
622
555
|
parentWorkspaceId: string | null;
|
|
623
556
|
hasHadSessions: boolean;
|
|
624
|
-
cachedKanbanColumn: import("../../../prisma/generated/client.js").KanbanColumn;
|
|
625
|
-
stateComputedAt: Date | null;
|
|
626
557
|
};
|
|
627
558
|
meta: object;
|
|
628
559
|
}>;
|
|
629
|
-
|
|
560
|
+
bulkArchive: import("@trpc/server").TRPCMutationProcedure<{
|
|
630
561
|
input: {
|
|
631
|
-
|
|
632
|
-
|
|
562
|
+
projectId: string;
|
|
563
|
+
kanbanColumn: "WORKING" | "WAITING" | "DONE";
|
|
633
564
|
};
|
|
634
565
|
output: {
|
|
635
|
-
|
|
636
|
-
name: string | null;
|
|
637
|
-
model: string;
|
|
638
|
-
workflow: string;
|
|
639
|
-
provider: SessionProvider;
|
|
640
|
-
updatedAt: Date;
|
|
566
|
+
results: ({
|
|
641
567
|
id: string;
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
providerProcessPid: number | null;
|
|
648
|
-
providerMetadata: import("@prisma/client/runtime/client").JsonValue | null;
|
|
649
|
-
}[];
|
|
650
|
-
terminalSessions: {
|
|
651
|
-
name: string | null;
|
|
652
|
-
updatedAt: Date;
|
|
568
|
+
success: boolean;
|
|
569
|
+
error?: undefined;
|
|
570
|
+
code?: undefined;
|
|
571
|
+
applicationErrorKind?: undefined;
|
|
572
|
+
} | {
|
|
653
573
|
id: string;
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
}[];
|
|
659
|
-
|
|
574
|
+
success: boolean;
|
|
575
|
+
error: string;
|
|
576
|
+
code: "CONFLICT" | "NOT_FOUND" | "PRECONDITION_FAILED" | "BAD_REQUEST" | "SERVICE_UNAVAILABLE" | "PARSE_ERROR" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
577
|
+
applicationErrorKind: "GIT_INDEX_LOCKED" | null;
|
|
578
|
+
})[];
|
|
579
|
+
total: number;
|
|
580
|
+
};
|
|
581
|
+
meta: object;
|
|
582
|
+
}>;
|
|
583
|
+
delete: import("@trpc/server").TRPCMutationProcedure<{
|
|
584
|
+
input: {
|
|
585
|
+
id: string;
|
|
586
|
+
};
|
|
587
|
+
output: {
|
|
660
588
|
name: string;
|
|
661
589
|
updatedAt: Date;
|
|
590
|
+
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
662
591
|
id: string;
|
|
663
592
|
projectId: string;
|
|
664
593
|
description: string | null;
|
|
665
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
666
594
|
worktreePath: string | null;
|
|
667
595
|
branchName: string | null;
|
|
668
596
|
isAutoGeneratedBranch: boolean;
|
|
@@ -674,14 +602,6 @@ export declare const workspaceCoreRouter: import("@trpc/server").TRPCBuiltRouter
|
|
|
674
602
|
initCompletedAt: Date | null;
|
|
675
603
|
initScriptPid: number | null;
|
|
676
604
|
initRetryCount: number;
|
|
677
|
-
runScriptCommand: string | null;
|
|
678
|
-
runScriptPostRunCommand: string | null;
|
|
679
|
-
runScriptCleanupCommand: string | null;
|
|
680
|
-
runScriptPid: number | null;
|
|
681
|
-
runScriptPort: number | null;
|
|
682
|
-
runScriptStartedAt: Date | null;
|
|
683
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
684
|
-
prUrl: string | null;
|
|
685
605
|
githubIssueNumber: number | null;
|
|
686
606
|
githubIssueUrl: string | null;
|
|
687
607
|
linearIssueId: string | null;
|
|
@@ -690,366 +610,9 @@ export declare const workspaceCoreRouter: import("@trpc/server").TRPCBuiltRouter
|
|
|
690
610
|
defaultSessionProvider: WorkspaceProviderSelection;
|
|
691
611
|
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
692
612
|
createdAt: Date;
|
|
693
|
-
prNumber: number | null;
|
|
694
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
695
|
-
prReviewState: string | null;
|
|
696
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
697
|
-
prUpdatedAt: Date | null;
|
|
698
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
699
|
-
prDiscoveryRetryCount: number;
|
|
700
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
701
|
-
prCiFailedAt: Date | null;
|
|
702
|
-
prCiLastNotifiedAt: Date | null;
|
|
703
|
-
prReviewLastCheckedAt: Date | null;
|
|
704
|
-
prReviewLastCommentId: string | null;
|
|
705
|
-
ratchetEnabled: boolean;
|
|
706
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
707
|
-
ratchetLastCheckedAt: Date | null;
|
|
708
|
-
ratchetActiveSessionId: string | null;
|
|
709
|
-
ratchetLastCiRunId: string | null;
|
|
710
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
711
|
-
ratchetDispatchRetryCount: number;
|
|
712
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
713
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
714
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
715
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
716
|
-
autoIterationSessionId: string | null;
|
|
717
613
|
periodicTaskId: string | null;
|
|
718
614
|
parentWorkspaceId: string | null;
|
|
719
615
|
hasHadSessions: boolean;
|
|
720
|
-
cachedKanbanColumn: import("../../../prisma/generated/client.js").KanbanColumn;
|
|
721
|
-
stateComputedAt: Date | null;
|
|
722
|
-
};
|
|
723
|
-
meta: object;
|
|
724
|
-
}>;
|
|
725
|
-
toggleRatcheting: import("@trpc/server").TRPCMutationProcedure<{
|
|
726
|
-
input: {
|
|
727
|
-
workspaceId: string;
|
|
728
|
-
enabled: boolean;
|
|
729
|
-
};
|
|
730
|
-
output: {
|
|
731
|
-
agentSessions: {
|
|
732
|
-
name: string | null;
|
|
733
|
-
model: string;
|
|
734
|
-
workflow: string;
|
|
735
|
-
provider: SessionProvider;
|
|
736
|
-
updatedAt: Date;
|
|
737
|
-
id: string;
|
|
738
|
-
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
739
|
-
createdAt: Date;
|
|
740
|
-
workspaceId: string;
|
|
741
|
-
providerSessionId: string | null;
|
|
742
|
-
providerProjectPath: string | null;
|
|
743
|
-
providerProcessPid: number | null;
|
|
744
|
-
providerMetadata: import("@prisma/client/runtime/client").JsonValue | null;
|
|
745
|
-
}[];
|
|
746
|
-
terminalSessions: {
|
|
747
|
-
name: string | null;
|
|
748
|
-
updatedAt: Date;
|
|
749
|
-
id: string;
|
|
750
|
-
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
751
|
-
createdAt: Date;
|
|
752
|
-
workspaceId: string;
|
|
753
|
-
pid: number | null;
|
|
754
|
-
}[];
|
|
755
|
-
} & {
|
|
756
|
-
name: string;
|
|
757
|
-
updatedAt: Date;
|
|
758
|
-
id: string;
|
|
759
|
-
projectId: string;
|
|
760
|
-
description: string | null;
|
|
761
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
762
|
-
worktreePath: string | null;
|
|
763
|
-
branchName: string | null;
|
|
764
|
-
isAutoGeneratedBranch: boolean;
|
|
765
|
-
creationSource: import("../../../prisma/generated/client.js").WorkspaceCreationSource;
|
|
766
|
-
creationMetadata: import("@prisma/client/runtime/client").JsonValue | null;
|
|
767
|
-
initErrorMessage: string | null;
|
|
768
|
-
initOutput: string | null;
|
|
769
|
-
initStartedAt: Date | null;
|
|
770
|
-
initCompletedAt: Date | null;
|
|
771
|
-
initScriptPid: number | null;
|
|
772
|
-
initRetryCount: number;
|
|
773
|
-
runScriptCommand: string | null;
|
|
774
|
-
runScriptPostRunCommand: string | null;
|
|
775
|
-
runScriptCleanupCommand: string | null;
|
|
776
|
-
runScriptPid: number | null;
|
|
777
|
-
runScriptPort: number | null;
|
|
778
|
-
runScriptStartedAt: Date | null;
|
|
779
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
780
|
-
prUrl: string | null;
|
|
781
|
-
githubIssueNumber: number | null;
|
|
782
|
-
githubIssueUrl: string | null;
|
|
783
|
-
linearIssueId: string | null;
|
|
784
|
-
linearIssueIdentifier: string | null;
|
|
785
|
-
linearIssueUrl: string | null;
|
|
786
|
-
defaultSessionProvider: WorkspaceProviderSelection;
|
|
787
|
-
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
788
|
-
createdAt: Date;
|
|
789
|
-
prNumber: number | null;
|
|
790
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
791
|
-
prReviewState: string | null;
|
|
792
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
793
|
-
prUpdatedAt: Date | null;
|
|
794
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
795
|
-
prDiscoveryRetryCount: number;
|
|
796
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
797
|
-
prCiFailedAt: Date | null;
|
|
798
|
-
prCiLastNotifiedAt: Date | null;
|
|
799
|
-
prReviewLastCheckedAt: Date | null;
|
|
800
|
-
prReviewLastCommentId: string | null;
|
|
801
|
-
ratchetEnabled: boolean;
|
|
802
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
803
|
-
ratchetLastCheckedAt: Date | null;
|
|
804
|
-
ratchetActiveSessionId: string | null;
|
|
805
|
-
ratchetLastCiRunId: string | null;
|
|
806
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
807
|
-
ratchetDispatchRetryCount: number;
|
|
808
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
809
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
810
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
811
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
812
|
-
autoIterationSessionId: string | null;
|
|
813
|
-
periodicTaskId: string | null;
|
|
814
|
-
parentWorkspaceId: string | null;
|
|
815
|
-
hasHadSessions: boolean;
|
|
816
|
-
cachedKanbanColumn: import("../../../prisma/generated/client.js").KanbanColumn;
|
|
817
|
-
stateComputedAt: Date | null;
|
|
818
|
-
};
|
|
819
|
-
meta: object;
|
|
820
|
-
}>;
|
|
821
|
-
updateProviderDefaults: import("@trpc/server").TRPCMutationProcedure<{
|
|
822
|
-
input: {
|
|
823
|
-
workspaceId: string;
|
|
824
|
-
defaultSessionProvider?: "CLAUDE" | "CODEX" | "WORKSPACE_DEFAULT" | undefined;
|
|
825
|
-
ratchetSessionProvider?: "CLAUDE" | "CODEX" | "WORKSPACE_DEFAULT" | undefined;
|
|
826
|
-
};
|
|
827
|
-
output: {
|
|
828
|
-
name: string;
|
|
829
|
-
updatedAt: Date;
|
|
830
|
-
id: string;
|
|
831
|
-
projectId: string;
|
|
832
|
-
description: string | null;
|
|
833
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
834
|
-
worktreePath: string | null;
|
|
835
|
-
branchName: string | null;
|
|
836
|
-
isAutoGeneratedBranch: boolean;
|
|
837
|
-
creationSource: import("../../../prisma/generated/client.js").WorkspaceCreationSource;
|
|
838
|
-
creationMetadata: import("@prisma/client/runtime/client").JsonValue | null;
|
|
839
|
-
initErrorMessage: string | null;
|
|
840
|
-
initOutput: string | null;
|
|
841
|
-
initStartedAt: Date | null;
|
|
842
|
-
initCompletedAt: Date | null;
|
|
843
|
-
initScriptPid: number | null;
|
|
844
|
-
initRetryCount: number;
|
|
845
|
-
runScriptCommand: string | null;
|
|
846
|
-
runScriptPostRunCommand: string | null;
|
|
847
|
-
runScriptCleanupCommand: string | null;
|
|
848
|
-
runScriptPid: number | null;
|
|
849
|
-
runScriptPort: number | null;
|
|
850
|
-
runScriptStartedAt: Date | null;
|
|
851
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
852
|
-
prUrl: string | null;
|
|
853
|
-
githubIssueNumber: number | null;
|
|
854
|
-
githubIssueUrl: string | null;
|
|
855
|
-
linearIssueId: string | null;
|
|
856
|
-
linearIssueIdentifier: string | null;
|
|
857
|
-
linearIssueUrl: string | null;
|
|
858
|
-
defaultSessionProvider: WorkspaceProviderSelection;
|
|
859
|
-
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
860
|
-
createdAt: Date;
|
|
861
|
-
prNumber: number | null;
|
|
862
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
863
|
-
prReviewState: string | null;
|
|
864
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
865
|
-
prUpdatedAt: Date | null;
|
|
866
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
867
|
-
prDiscoveryRetryCount: number;
|
|
868
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
869
|
-
prCiFailedAt: Date | null;
|
|
870
|
-
prCiLastNotifiedAt: Date | null;
|
|
871
|
-
prReviewLastCheckedAt: Date | null;
|
|
872
|
-
prReviewLastCommentId: string | null;
|
|
873
|
-
ratchetEnabled: boolean;
|
|
874
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
875
|
-
ratchetLastCheckedAt: Date | null;
|
|
876
|
-
ratchetActiveSessionId: string | null;
|
|
877
|
-
ratchetLastCiRunId: string | null;
|
|
878
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
879
|
-
ratchetDispatchRetryCount: number;
|
|
880
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
881
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
882
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
883
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
884
|
-
autoIterationSessionId: string | null;
|
|
885
|
-
periodicTaskId: string | null;
|
|
886
|
-
parentWorkspaceId: string | null;
|
|
887
|
-
hasHadSessions: boolean;
|
|
888
|
-
cachedKanbanColumn: import("../../../prisma/generated/client.js").KanbanColumn;
|
|
889
|
-
stateComputedAt: Date | null;
|
|
890
|
-
};
|
|
891
|
-
meta: object;
|
|
892
|
-
}>;
|
|
893
|
-
archive: import("@trpc/server").TRPCMutationProcedure<{
|
|
894
|
-
input: {
|
|
895
|
-
id: string;
|
|
896
|
-
commitUncommitted?: boolean | undefined;
|
|
897
|
-
};
|
|
898
|
-
output: {
|
|
899
|
-
name: string;
|
|
900
|
-
updatedAt: Date;
|
|
901
|
-
id: string;
|
|
902
|
-
projectId: string;
|
|
903
|
-
description: string | null;
|
|
904
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
905
|
-
worktreePath: string | null;
|
|
906
|
-
branchName: string | null;
|
|
907
|
-
isAutoGeneratedBranch: boolean;
|
|
908
|
-
creationSource: import("../../../prisma/generated/client.js").WorkspaceCreationSource;
|
|
909
|
-
creationMetadata: import("@prisma/client/runtime/client").JsonValue | null;
|
|
910
|
-
initErrorMessage: string | null;
|
|
911
|
-
initOutput: string | null;
|
|
912
|
-
initStartedAt: Date | null;
|
|
913
|
-
initCompletedAt: Date | null;
|
|
914
|
-
initScriptPid: number | null;
|
|
915
|
-
initRetryCount: number;
|
|
916
|
-
runScriptCommand: string | null;
|
|
917
|
-
runScriptPostRunCommand: string | null;
|
|
918
|
-
runScriptCleanupCommand: string | null;
|
|
919
|
-
runScriptPid: number | null;
|
|
920
|
-
runScriptPort: number | null;
|
|
921
|
-
runScriptStartedAt: Date | null;
|
|
922
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
923
|
-
prUrl: string | null;
|
|
924
|
-
githubIssueNumber: number | null;
|
|
925
|
-
githubIssueUrl: string | null;
|
|
926
|
-
linearIssueId: string | null;
|
|
927
|
-
linearIssueIdentifier: string | null;
|
|
928
|
-
linearIssueUrl: string | null;
|
|
929
|
-
defaultSessionProvider: WorkspaceProviderSelection;
|
|
930
|
-
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
931
|
-
createdAt: Date;
|
|
932
|
-
prNumber: number | null;
|
|
933
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
934
|
-
prReviewState: string | null;
|
|
935
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
936
|
-
prUpdatedAt: Date | null;
|
|
937
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
938
|
-
prDiscoveryRetryCount: number;
|
|
939
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
940
|
-
prCiFailedAt: Date | null;
|
|
941
|
-
prCiLastNotifiedAt: Date | null;
|
|
942
|
-
prReviewLastCheckedAt: Date | null;
|
|
943
|
-
prReviewLastCommentId: string | null;
|
|
944
|
-
ratchetEnabled: boolean;
|
|
945
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
946
|
-
ratchetLastCheckedAt: Date | null;
|
|
947
|
-
ratchetActiveSessionId: string | null;
|
|
948
|
-
ratchetLastCiRunId: string | null;
|
|
949
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
950
|
-
ratchetDispatchRetryCount: number;
|
|
951
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
952
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
953
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
954
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
955
|
-
autoIterationSessionId: string | null;
|
|
956
|
-
periodicTaskId: string | null;
|
|
957
|
-
parentWorkspaceId: string | null;
|
|
958
|
-
hasHadSessions: boolean;
|
|
959
|
-
cachedKanbanColumn: import("../../../prisma/generated/client.js").KanbanColumn;
|
|
960
|
-
stateComputedAt: Date | null;
|
|
961
|
-
};
|
|
962
|
-
meta: object;
|
|
963
|
-
}>;
|
|
964
|
-
bulkArchive: import("@trpc/server").TRPCMutationProcedure<{
|
|
965
|
-
input: {
|
|
966
|
-
projectId: string;
|
|
967
|
-
kanbanColumn: "WORKING" | "WAITING" | "DONE";
|
|
968
|
-
commitUncommitted?: boolean | undefined;
|
|
969
|
-
};
|
|
970
|
-
output: {
|
|
971
|
-
results: ({
|
|
972
|
-
id: string;
|
|
973
|
-
success: boolean;
|
|
974
|
-
error?: undefined;
|
|
975
|
-
code?: undefined;
|
|
976
|
-
} | {
|
|
977
|
-
id: string;
|
|
978
|
-
success: boolean;
|
|
979
|
-
error: string;
|
|
980
|
-
code: "CONFLICT" | "NOT_FOUND" | "PRECONDITION_FAILED" | "BAD_REQUEST" | "SERVICE_UNAVAILABLE" | "PARSE_ERROR" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
981
|
-
})[];
|
|
982
|
-
total: number;
|
|
983
|
-
};
|
|
984
|
-
meta: object;
|
|
985
|
-
}>;
|
|
986
|
-
delete: import("@trpc/server").TRPCMutationProcedure<{
|
|
987
|
-
input: {
|
|
988
|
-
id: string;
|
|
989
|
-
};
|
|
990
|
-
output: {
|
|
991
|
-
name: string;
|
|
992
|
-
updatedAt: Date;
|
|
993
|
-
id: string;
|
|
994
|
-
projectId: string;
|
|
995
|
-
description: string | null;
|
|
996
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
997
|
-
worktreePath: string | null;
|
|
998
|
-
branchName: string | null;
|
|
999
|
-
isAutoGeneratedBranch: boolean;
|
|
1000
|
-
creationSource: import("../../../prisma/generated/client.js").WorkspaceCreationSource;
|
|
1001
|
-
creationMetadata: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1002
|
-
initErrorMessage: string | null;
|
|
1003
|
-
initOutput: string | null;
|
|
1004
|
-
initStartedAt: Date | null;
|
|
1005
|
-
initCompletedAt: Date | null;
|
|
1006
|
-
initScriptPid: number | null;
|
|
1007
|
-
initRetryCount: number;
|
|
1008
|
-
runScriptCommand: string | null;
|
|
1009
|
-
runScriptPostRunCommand: string | null;
|
|
1010
|
-
runScriptCleanupCommand: string | null;
|
|
1011
|
-
runScriptPid: number | null;
|
|
1012
|
-
runScriptPort: number | null;
|
|
1013
|
-
runScriptStartedAt: Date | null;
|
|
1014
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
1015
|
-
prUrl: string | null;
|
|
1016
|
-
githubIssueNumber: number | null;
|
|
1017
|
-
githubIssueUrl: string | null;
|
|
1018
|
-
linearIssueId: string | null;
|
|
1019
|
-
linearIssueIdentifier: string | null;
|
|
1020
|
-
linearIssueUrl: string | null;
|
|
1021
|
-
defaultSessionProvider: WorkspaceProviderSelection;
|
|
1022
|
-
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
1023
|
-
createdAt: Date;
|
|
1024
|
-
prNumber: number | null;
|
|
1025
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
1026
|
-
prReviewState: string | null;
|
|
1027
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
1028
|
-
prUpdatedAt: Date | null;
|
|
1029
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
1030
|
-
prDiscoveryRetryCount: number;
|
|
1031
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
1032
|
-
prCiFailedAt: Date | null;
|
|
1033
|
-
prCiLastNotifiedAt: Date | null;
|
|
1034
|
-
prReviewLastCheckedAt: Date | null;
|
|
1035
|
-
prReviewLastCommentId: string | null;
|
|
1036
|
-
ratchetEnabled: boolean;
|
|
1037
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
1038
|
-
ratchetLastCheckedAt: Date | null;
|
|
1039
|
-
ratchetActiveSessionId: string | null;
|
|
1040
|
-
ratchetLastCiRunId: string | null;
|
|
1041
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
1042
|
-
ratchetDispatchRetryCount: number;
|
|
1043
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
1044
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
1045
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1046
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1047
|
-
autoIterationSessionId: string | null;
|
|
1048
|
-
periodicTaskId: string | null;
|
|
1049
|
-
parentWorkspaceId: string | null;
|
|
1050
|
-
hasHadSessions: boolean;
|
|
1051
|
-
cachedKanbanColumn: import("../../../prisma/generated/client.js").KanbanColumn;
|
|
1052
|
-
stateComputedAt: Date | null;
|
|
1053
616
|
};
|
|
1054
617
|
meta: object;
|
|
1055
618
|
}>;
|
|
@@ -1098,7 +661,7 @@ export declare const workspaceCoreRouter: import("@trpc/server").TRPCBuiltRouter
|
|
|
1098
661
|
} | {
|
|
1099
662
|
success: boolean;
|
|
1100
663
|
prState: string;
|
|
1101
|
-
previousPrState: import("
|
|
664
|
+
previousPrState: import("../../shared/core/index.js").PRState;
|
|
1102
665
|
reason?: undefined;
|
|
1103
666
|
};
|
|
1104
667
|
meta: object;
|
|
@@ -1123,7 +686,17 @@ export declare const workspaceCoreRouter: import("@trpc/server").TRPCBuiltRouter
|
|
|
1123
686
|
export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1124
687
|
ctx: Context;
|
|
1125
688
|
meta: object;
|
|
1126
|
-
errorShape:
|
|
689
|
+
errorShape: {
|
|
690
|
+
data: {
|
|
691
|
+
applicationErrorKind: "GIT_INDEX_LOCKED" | null;
|
|
692
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
693
|
+
httpStatus: number;
|
|
694
|
+
path?: string;
|
|
695
|
+
stack?: string;
|
|
696
|
+
};
|
|
697
|
+
message: string;
|
|
698
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
699
|
+
};
|
|
1127
700
|
transformer: true;
|
|
1128
701
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
1129
702
|
createFactoryConfig: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -1204,17 +777,34 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1204
777
|
id: string;
|
|
1205
778
|
useExistingBranch?: boolean | undefined;
|
|
1206
779
|
};
|
|
1207
|
-
output: ({
|
|
780
|
+
output: (Omit<{
|
|
781
|
+
pr: {
|
|
782
|
+
number: number | null;
|
|
783
|
+
url: string | null;
|
|
784
|
+
workspaceId: string;
|
|
785
|
+
state: import("../../../prisma/generated/client.js").PRState;
|
|
786
|
+
reviewState: string | null;
|
|
787
|
+
ciStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
788
|
+
hasMergeConflict: boolean;
|
|
789
|
+
syncedAt: Date | null;
|
|
790
|
+
discoveryLastCheckedAt: Date | null;
|
|
791
|
+
discoveryRetryCount: number;
|
|
792
|
+
discoveryNextCheckAt: Date | null;
|
|
793
|
+
ciFailedAt: Date | null;
|
|
794
|
+
ciLastNotifiedAt: Date | null;
|
|
795
|
+
reviewLastCheckedAt: Date | null;
|
|
796
|
+
reviewLastCommentId: string | null;
|
|
797
|
+
} | null;
|
|
1208
798
|
agentSessions: {
|
|
1209
799
|
name: string | null;
|
|
1210
800
|
model: string;
|
|
1211
801
|
workflow: string;
|
|
1212
802
|
provider: SessionProvider;
|
|
1213
803
|
updatedAt: Date;
|
|
1214
|
-
|
|
804
|
+
workspaceId: string;
|
|
1215
805
|
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
806
|
+
id: string;
|
|
1216
807
|
createdAt: Date;
|
|
1217
|
-
workspaceId: string;
|
|
1218
808
|
providerSessionId: string | null;
|
|
1219
809
|
providerProjectPath: string | null;
|
|
1220
810
|
providerProcessPid: number | null;
|
|
@@ -1223,19 +813,47 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1223
813
|
terminalSessions: {
|
|
1224
814
|
name: string | null;
|
|
1225
815
|
updatedAt: Date;
|
|
1226
|
-
|
|
816
|
+
workspaceId: string;
|
|
1227
817
|
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
818
|
+
id: string;
|
|
1228
819
|
createdAt: Date;
|
|
1229
|
-
workspaceId: string;
|
|
1230
820
|
pid: number | null;
|
|
1231
821
|
}[];
|
|
822
|
+
ratchet: {
|
|
823
|
+
workspaceId: string;
|
|
824
|
+
enabled: boolean;
|
|
825
|
+
lastCheckedAt: Date | null;
|
|
826
|
+
activeSessionId: string | null;
|
|
827
|
+
dispatchSnapshotKey: string | null;
|
|
828
|
+
dispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
829
|
+
dispatchRetryCount: number;
|
|
830
|
+
dispatchStalled: boolean;
|
|
831
|
+
} | null;
|
|
832
|
+
runScript: {
|
|
833
|
+
workspaceId: string;
|
|
834
|
+
status: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
835
|
+
command: string | null;
|
|
836
|
+
postRunCommand: string | null;
|
|
837
|
+
cleanupCommand: string | null;
|
|
838
|
+
pid: number | null;
|
|
839
|
+
port: number | null;
|
|
840
|
+
startedAt: Date | null;
|
|
841
|
+
} | null;
|
|
842
|
+
autoIteration: {
|
|
843
|
+
config: import("@prisma/client/runtime/client").JsonValue | null;
|
|
844
|
+
sessionId: string | null;
|
|
845
|
+
workspaceId: string;
|
|
846
|
+
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
847
|
+
status: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
848
|
+
progress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
849
|
+
} | null;
|
|
1232
850
|
} & {
|
|
1233
851
|
name: string;
|
|
1234
852
|
updatedAt: Date;
|
|
853
|
+
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
1235
854
|
id: string;
|
|
1236
855
|
projectId: string;
|
|
1237
856
|
description: string | null;
|
|
1238
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
1239
857
|
worktreePath: string | null;
|
|
1240
858
|
branchName: string | null;
|
|
1241
859
|
isAutoGeneratedBranch: boolean;
|
|
@@ -1247,14 +865,6 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1247
865
|
initCompletedAt: Date | null;
|
|
1248
866
|
initScriptPid: number | null;
|
|
1249
867
|
initRetryCount: number;
|
|
1250
|
-
runScriptCommand: string | null;
|
|
1251
|
-
runScriptPostRunCommand: string | null;
|
|
1252
|
-
runScriptCleanupCommand: string | null;
|
|
1253
|
-
runScriptPid: number | null;
|
|
1254
|
-
runScriptPort: number | null;
|
|
1255
|
-
runScriptStartedAt: Date | null;
|
|
1256
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
1257
|
-
prUrl: string | null;
|
|
1258
868
|
githubIssueNumber: number | null;
|
|
1259
869
|
githubIssueUrl: string | null;
|
|
1260
870
|
linearIssueId: string | null;
|
|
@@ -1263,35 +873,11 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1263
873
|
defaultSessionProvider: WorkspaceProviderSelection;
|
|
1264
874
|
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
1265
875
|
createdAt: Date;
|
|
1266
|
-
prNumber: number | null;
|
|
1267
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
1268
|
-
prReviewState: string | null;
|
|
1269
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
1270
|
-
prUpdatedAt: Date | null;
|
|
1271
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
1272
|
-
prDiscoveryRetryCount: number;
|
|
1273
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
1274
|
-
prCiFailedAt: Date | null;
|
|
1275
|
-
prCiLastNotifiedAt: Date | null;
|
|
1276
|
-
prReviewLastCheckedAt: Date | null;
|
|
1277
|
-
prReviewLastCommentId: string | null;
|
|
1278
|
-
ratchetEnabled: boolean;
|
|
1279
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
1280
|
-
ratchetLastCheckedAt: Date | null;
|
|
1281
|
-
ratchetActiveSessionId: string | null;
|
|
1282
|
-
ratchetLastCiRunId: string | null;
|
|
1283
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
1284
|
-
ratchetDispatchRetryCount: number;
|
|
1285
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
1286
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
1287
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1288
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1289
|
-
autoIterationSessionId: string | null;
|
|
1290
876
|
periodicTaskId: string | null;
|
|
1291
877
|
parentWorkspaceId: string | null;
|
|
1292
878
|
hasHadSessions: boolean;
|
|
1293
|
-
|
|
1294
|
-
|
|
879
|
+
}, "pr" | "ratchet" | "runScript" | "autoIteration"> & import("../services/workspace/resources/workspace-ratchet.accessor.js").WorkspaceRatchetFields & import("../services/workspace/resources/workspace-pr.accessor.js").WorkspacePRFields & import("../services/workspace/resources/workspace-run-script.accessor.js").WorkspaceRunScriptFields & import("../services/workspace/resources/workspace-auto-iteration.accessor.js").WorkspaceAutoIterationFields & {
|
|
880
|
+
ratchetState: import("../../shared/core/index.js").RatchetState;
|
|
1295
881
|
}) | null;
|
|
1296
882
|
meta: object;
|
|
1297
883
|
}>;
|
|
@@ -1476,9 +1062,9 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1476
1062
|
name: string;
|
|
1477
1063
|
description: string | null;
|
|
1478
1064
|
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
1479
|
-
prState: import("
|
|
1065
|
+
prState: import("../../shared/core/index.js").PRState;
|
|
1480
1066
|
prUrl: string | null;
|
|
1481
|
-
|
|
1067
|
+
kanbanColumn: KanbanColumn | null;
|
|
1482
1068
|
projectId: string;
|
|
1483
1069
|
projectName: string;
|
|
1484
1070
|
projectSlug: string;
|
|
@@ -1488,132 +1074,51 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1488
1074
|
}>;
|
|
1489
1075
|
getParent: import("@trpc/server").TRPCQueryProcedure<{
|
|
1490
1076
|
input: {
|
|
1491
|
-
childWorkspaceId: string;
|
|
1492
|
-
};
|
|
1493
|
-
output: {
|
|
1494
|
-
id: string;
|
|
1495
|
-
name: string;
|
|
1496
|
-
projectId: string;
|
|
1497
|
-
projectName: string;
|
|
1498
|
-
projectSlug: string;
|
|
1499
|
-
} | null;
|
|
1500
|
-
meta: object;
|
|
1501
|
-
}>;
|
|
1502
|
-
sendMessageToParent: import("@trpc/server").TRPCMutationProcedure<{
|
|
1503
|
-
input: {
|
|
1504
|
-
childWorkspaceId: string;
|
|
1505
|
-
message: string;
|
|
1506
|
-
};
|
|
1507
|
-
output: {
|
|
1508
|
-
delivered: boolean;
|
|
1509
|
-
};
|
|
1510
|
-
meta: object;
|
|
1511
|
-
}>;
|
|
1512
|
-
sendMessageToChild: import("@trpc/server").TRPCMutationProcedure<{
|
|
1513
|
-
input: {
|
|
1514
|
-
parentWorkspaceId: string;
|
|
1515
|
-
childWorkspaceId: string;
|
|
1516
|
-
message: string;
|
|
1517
|
-
};
|
|
1518
|
-
output: {
|
|
1519
|
-
delivered: boolean;
|
|
1520
|
-
};
|
|
1521
|
-
meta: object;
|
|
1522
|
-
}>;
|
|
1523
|
-
archiveChild: import("@trpc/server").TRPCMutationProcedure<{
|
|
1524
|
-
input: {
|
|
1525
|
-
parentWorkspaceId: string;
|
|
1526
|
-
childWorkspaceId: string;
|
|
1527
|
-
commitUncommitted?: boolean | undefined;
|
|
1528
|
-
};
|
|
1529
|
-
output: {
|
|
1530
|
-
name: string;
|
|
1531
|
-
updatedAt: Date;
|
|
1532
|
-
id: string;
|
|
1533
|
-
projectId: string;
|
|
1534
|
-
description: string | null;
|
|
1535
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
1536
|
-
worktreePath: string | null;
|
|
1537
|
-
branchName: string | null;
|
|
1538
|
-
isAutoGeneratedBranch: boolean;
|
|
1539
|
-
creationSource: import("../../../prisma/generated/client.js").WorkspaceCreationSource;
|
|
1540
|
-
creationMetadata: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1541
|
-
initErrorMessage: string | null;
|
|
1542
|
-
initOutput: string | null;
|
|
1543
|
-
initStartedAt: Date | null;
|
|
1544
|
-
initCompletedAt: Date | null;
|
|
1545
|
-
initScriptPid: number | null;
|
|
1546
|
-
initRetryCount: number;
|
|
1547
|
-
runScriptCommand: string | null;
|
|
1548
|
-
runScriptPostRunCommand: string | null;
|
|
1549
|
-
runScriptCleanupCommand: string | null;
|
|
1550
|
-
runScriptPid: number | null;
|
|
1551
|
-
runScriptPort: number | null;
|
|
1552
|
-
runScriptStartedAt: Date | null;
|
|
1553
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
1554
|
-
prUrl: string | null;
|
|
1555
|
-
githubIssueNumber: number | null;
|
|
1556
|
-
githubIssueUrl: string | null;
|
|
1557
|
-
linearIssueId: string | null;
|
|
1558
|
-
linearIssueIdentifier: string | null;
|
|
1559
|
-
linearIssueUrl: string | null;
|
|
1560
|
-
defaultSessionProvider: WorkspaceProviderSelection;
|
|
1561
|
-
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
1562
|
-
createdAt: Date;
|
|
1563
|
-
prNumber: number | null;
|
|
1564
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
1565
|
-
prReviewState: string | null;
|
|
1566
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
1567
|
-
prUpdatedAt: Date | null;
|
|
1568
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
1569
|
-
prDiscoveryRetryCount: number;
|
|
1570
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
1571
|
-
prCiFailedAt: Date | null;
|
|
1572
|
-
prCiLastNotifiedAt: Date | null;
|
|
1573
|
-
prReviewLastCheckedAt: Date | null;
|
|
1574
|
-
prReviewLastCommentId: string | null;
|
|
1575
|
-
ratchetEnabled: boolean;
|
|
1576
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
1577
|
-
ratchetLastCheckedAt: Date | null;
|
|
1578
|
-
ratchetActiveSessionId: string | null;
|
|
1579
|
-
ratchetLastCiRunId: string | null;
|
|
1580
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
1581
|
-
ratchetDispatchRetryCount: number;
|
|
1582
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
1583
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
1584
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1585
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1586
|
-
autoIterationSessionId: string | null;
|
|
1587
|
-
periodicTaskId: string | null;
|
|
1588
|
-
parentWorkspaceId: string | null;
|
|
1589
|
-
hasHadSessions: boolean;
|
|
1590
|
-
cachedKanbanColumn: import("../../../prisma/generated/client.js").KanbanColumn;
|
|
1591
|
-
stateComputedAt: Date | null;
|
|
1077
|
+
childWorkspaceId: string;
|
|
1592
1078
|
};
|
|
1079
|
+
output: {
|
|
1080
|
+
id: string;
|
|
1081
|
+
name: string;
|
|
1082
|
+
projectId: string;
|
|
1083
|
+
projectName: string;
|
|
1084
|
+
projectSlug: string;
|
|
1085
|
+
} | null;
|
|
1593
1086
|
meta: object;
|
|
1594
1087
|
}>;
|
|
1595
|
-
|
|
1088
|
+
sendMessageToParent: import("@trpc/server").TRPCMutationProcedure<{
|
|
1596
1089
|
input: {
|
|
1597
|
-
|
|
1090
|
+
childWorkspaceId: string;
|
|
1091
|
+
message: string;
|
|
1092
|
+
};
|
|
1093
|
+
output: {
|
|
1094
|
+
delivered: boolean;
|
|
1598
1095
|
};
|
|
1599
|
-
output: number;
|
|
1600
1096
|
meta: object;
|
|
1601
1097
|
}>;
|
|
1602
|
-
|
|
1603
|
-
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
1098
|
+
sendMessageToChild: import("@trpc/server").TRPCMutationProcedure<{
|
|
1604
1099
|
input: {
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1100
|
+
parentWorkspaceId: string;
|
|
1101
|
+
childWorkspaceId: string;
|
|
1102
|
+
message: string;
|
|
1103
|
+
};
|
|
1104
|
+
output: {
|
|
1105
|
+
delivered: boolean;
|
|
1106
|
+
};
|
|
1107
|
+
meta: object;
|
|
1108
|
+
}>;
|
|
1109
|
+
archiveChild: import("@trpc/server").TRPCMutationProcedure<{
|
|
1110
|
+
input: {
|
|
1111
|
+
parentWorkspaceId: string;
|
|
1112
|
+
childWorkspaceId: string;
|
|
1113
|
+
removeGitIndexLock?: true | undefined;
|
|
1609
1114
|
};
|
|
1610
1115
|
output: {
|
|
1611
1116
|
name: string;
|
|
1612
1117
|
updatedAt: Date;
|
|
1118
|
+
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
1613
1119
|
id: string;
|
|
1614
1120
|
projectId: string;
|
|
1615
1121
|
description: string | null;
|
|
1616
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
1617
1122
|
worktreePath: string | null;
|
|
1618
1123
|
branchName: string | null;
|
|
1619
1124
|
isAutoGeneratedBranch: boolean;
|
|
@@ -1625,14 +1130,6 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1625
1130
|
initCompletedAt: Date | null;
|
|
1626
1131
|
initScriptPid: number | null;
|
|
1627
1132
|
initRetryCount: number;
|
|
1628
|
-
runScriptCommand: string | null;
|
|
1629
|
-
runScriptPostRunCommand: string | null;
|
|
1630
|
-
runScriptCleanupCommand: string | null;
|
|
1631
|
-
runScriptPid: number | null;
|
|
1632
|
-
runScriptPort: number | null;
|
|
1633
|
-
runScriptStartedAt: Date | null;
|
|
1634
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
1635
|
-
prUrl: string | null;
|
|
1636
1133
|
githubIssueNumber: number | null;
|
|
1637
1134
|
githubIssueUrl: string | null;
|
|
1638
1135
|
linearIssueId: string | null;
|
|
@@ -1641,129 +1138,85 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1641
1138
|
defaultSessionProvider: WorkspaceProviderSelection;
|
|
1642
1139
|
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
1643
1140
|
createdAt: Date;
|
|
1644
|
-
prNumber: number | null;
|
|
1645
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
1646
|
-
prReviewState: string | null;
|
|
1647
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
1648
|
-
prUpdatedAt: Date | null;
|
|
1649
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
1650
|
-
prDiscoveryRetryCount: number;
|
|
1651
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
1652
|
-
prCiFailedAt: Date | null;
|
|
1653
|
-
prCiLastNotifiedAt: Date | null;
|
|
1654
|
-
prReviewLastCheckedAt: Date | null;
|
|
1655
|
-
prReviewLastCommentId: string | null;
|
|
1656
|
-
ratchetEnabled: boolean;
|
|
1657
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
1658
|
-
ratchetLastCheckedAt: Date | null;
|
|
1659
|
-
ratchetActiveSessionId: string | null;
|
|
1660
|
-
ratchetLastCiRunId: string | null;
|
|
1661
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
1662
|
-
ratchetDispatchRetryCount: number;
|
|
1663
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
1664
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
1665
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1666
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1667
|
-
autoIterationSessionId: string | null;
|
|
1668
1141
|
periodicTaskId: string | null;
|
|
1669
1142
|
parentWorkspaceId: string | null;
|
|
1670
1143
|
hasHadSessions: boolean;
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1144
|
+
};
|
|
1145
|
+
meta: object;
|
|
1146
|
+
}>;
|
|
1147
|
+
getPendingNotificationCount: import("@trpc/server").TRPCQueryProcedure<{
|
|
1148
|
+
input: {
|
|
1149
|
+
workspaceId: string;
|
|
1150
|
+
};
|
|
1151
|
+
output: number;
|
|
1674
1152
|
meta: object;
|
|
1675
1153
|
}>;
|
|
1676
|
-
|
|
1154
|
+
}> & import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
1155
|
+
listForProject: import("@trpc/server").TRPCQueryProcedure<{
|
|
1677
1156
|
input: {
|
|
1678
1157
|
projectId: string;
|
|
1679
1158
|
};
|
|
1680
1159
|
output: {
|
|
1681
1160
|
workspaces: {
|
|
1682
1161
|
id: string;
|
|
1162
|
+
projectId: string;
|
|
1683
1163
|
name: string;
|
|
1164
|
+
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
1684
1165
|
createdAt: Date;
|
|
1685
1166
|
branchName: string | null;
|
|
1167
|
+
initErrorMessage: string | null;
|
|
1168
|
+
mode: import("../../shared/core/index.js").WorkspaceMode;
|
|
1169
|
+
autoIterationStatus: import("../../shared/core/index.js").AutoIterationStatus | null;
|
|
1170
|
+
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue;
|
|
1171
|
+
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue;
|
|
1686
1172
|
prUrl: string | null;
|
|
1687
1173
|
prNumber: number | null;
|
|
1688
|
-
prState: import("
|
|
1689
|
-
prCiStatus: import("
|
|
1690
|
-
isWorking: boolean;
|
|
1691
|
-
gitStats: {
|
|
1692
|
-
total: number;
|
|
1693
|
-
additions: number;
|
|
1694
|
-
deletions: number;
|
|
1695
|
-
hasUncommitted: boolean;
|
|
1696
|
-
} | null;
|
|
1697
|
-
lastActivityAt: string | null;
|
|
1174
|
+
prState: import("../../shared/core/index.js").PRState;
|
|
1175
|
+
prCiStatus: import("../../shared/core/index.js").CIStatus;
|
|
1698
1176
|
ratchetEnabled: boolean;
|
|
1699
|
-
ratchetState: import("
|
|
1177
|
+
ratchetState: import("../../shared/core/index.js").RatchetState;
|
|
1178
|
+
runScriptStatus: import("../../shared/core/index.js").RunScriptStatus;
|
|
1700
1179
|
githubIssueNumber: number | null;
|
|
1701
1180
|
githubIssueUrl: string | null;
|
|
1702
1181
|
linearIssueId: string | null;
|
|
1703
1182
|
linearIssueIdentifier: string | null;
|
|
1704
1183
|
linearIssueUrl: string | null;
|
|
1705
1184
|
creationSource: import("../../../prisma/generated/client.js").WorkspaceCreationSource;
|
|
1185
|
+
sessionSummaries: import("../../shared/session-runtime.js").SessionSummary[];
|
|
1186
|
+
pendingRequestType: import("../../backend/services/workspace/index.js").WorkspacePendingRequestType;
|
|
1187
|
+
gitStats: import("../services/workspace/service/query/workspace-query.service.js").WorkspaceGitStats | null;
|
|
1188
|
+
lastActivityAt: string | null;
|
|
1189
|
+
isWorking: boolean;
|
|
1190
|
+
kanbanColumn: KanbanColumn | null;
|
|
1706
1191
|
sidebarStatus: import("../../shared/core/index.js").WorkspaceSidebarStatus;
|
|
1707
1192
|
ratchetButtonAnimated: boolean;
|
|
1708
1193
|
flowPhase: "READY" | "MERGED" | "NO_PR" | "CI_WAIT" | "RATCHET_VERIFY" | "RATCHET_FIXING";
|
|
1709
1194
|
ciObservation: "NOT_FETCHED" | "NO_CHECKS" | "CHECKS_PENDING" | "CHECKS_FAILED" | "CHECKS_PASSED" | "CHECKS_UNKNOWN";
|
|
1710
1195
|
statusReason: import("../../shared/workspace-status-reason.js").WorkspaceStatusReason;
|
|
1711
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
1712
|
-
cachedKanbanColumn: KanbanColumn | null;
|
|
1713
|
-
stateComputedAt: string | null;
|
|
1714
|
-
pendingRequestType: "permission_request" | "user_question" | "plan_approval" | null;
|
|
1715
1196
|
}[];
|
|
1716
1197
|
reviewCount: number;
|
|
1717
1198
|
};
|
|
1718
1199
|
meta: object;
|
|
1719
1200
|
}>;
|
|
1720
|
-
|
|
1201
|
+
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
1721
1202
|
input: {
|
|
1722
|
-
|
|
1723
|
-
status?: "NEW" | "PROVISIONING" | "READY" | "FAILED" | "ARCHIVING" | "ARCHIVED" | undefined;
|
|
1724
|
-
kanbanColumn?: "WORKING" | "WAITING" | "DONE" | undefined;
|
|
1725
|
-
limit?: number | undefined;
|
|
1726
|
-
offset?: number | undefined;
|
|
1203
|
+
id: string;
|
|
1727
1204
|
};
|
|
1728
1205
|
output: {
|
|
1206
|
+
sessionSummaries: import("../../shared/session-runtime.js").SessionSummary[];
|
|
1729
1207
|
kanbanColumn: KanbanColumn | null;
|
|
1730
|
-
|
|
1208
|
+
sidebarStatus: import("../../shared/core/index.js").WorkspaceSidebarStatus;
|
|
1731
1209
|
ratchetButtonAnimated: boolean;
|
|
1732
1210
|
flowPhase: "READY" | "MERGED" | "NO_PR" | "CI_WAIT" | "RATCHET_VERIFY" | "RATCHET_FIXING";
|
|
1733
1211
|
ciObservation: "NOT_FETCHED" | "NO_CHECKS" | "CHECKS_PENDING" | "CHECKS_FAILED" | "CHECKS_PASSED" | "CHECKS_UNKNOWN";
|
|
1734
1212
|
statusReason: import("../../shared/workspace-status-reason.js").WorkspaceStatusReason;
|
|
1735
|
-
isArchived: boolean;
|
|
1736
1213
|
pendingRequestType: import("../../backend/services/workspace/index.js").WorkspacePendingRequestType;
|
|
1737
|
-
agentSessions: {
|
|
1738
|
-
name: string | null;
|
|
1739
|
-
model: string;
|
|
1740
|
-
workflow: string;
|
|
1741
|
-
provider: SessionProvider;
|
|
1742
|
-
updatedAt: Date;
|
|
1743
|
-
id: string;
|
|
1744
|
-
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
1745
|
-
createdAt: Date;
|
|
1746
|
-
workspaceId: string;
|
|
1747
|
-
providerSessionId: string | null;
|
|
1748
|
-
providerProjectPath: string | null;
|
|
1749
|
-
providerProcessPid: number | null;
|
|
1750
|
-
providerMetadata: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1751
|
-
}[];
|
|
1752
|
-
terminalSessions: {
|
|
1753
|
-
name: string | null;
|
|
1754
|
-
updatedAt: Date;
|
|
1755
|
-
id: string;
|
|
1756
|
-
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
1757
|
-
createdAt: Date;
|
|
1758
|
-
workspaceId: string;
|
|
1759
|
-
pid: number | null;
|
|
1760
|
-
}[];
|
|
1761
1214
|
name: string;
|
|
1762
1215
|
updatedAt: Date;
|
|
1216
|
+
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
1763
1217
|
id: string;
|
|
1764
1218
|
projectId: string;
|
|
1765
1219
|
description: string | null;
|
|
1766
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
1767
1220
|
worktreePath: string | null;
|
|
1768
1221
|
branchName: string | null;
|
|
1769
1222
|
isAutoGeneratedBranch: boolean;
|
|
@@ -1775,14 +1228,6 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1775
1228
|
initCompletedAt: Date | null;
|
|
1776
1229
|
initScriptPid: number | null;
|
|
1777
1230
|
initRetryCount: number;
|
|
1778
|
-
runScriptCommand: string | null;
|
|
1779
|
-
runScriptPostRunCommand: string | null;
|
|
1780
|
-
runScriptCleanupCommand: string | null;
|
|
1781
|
-
runScriptPid: number | null;
|
|
1782
|
-
runScriptPort: number | null;
|
|
1783
|
-
runScriptStartedAt: Date | null;
|
|
1784
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
1785
|
-
prUrl: string | null;
|
|
1786
1231
|
githubIssueNumber: number | null;
|
|
1787
1232
|
githubIssueUrl: string | null;
|
|
1788
1233
|
linearIssueId: string | null;
|
|
@@ -1791,159 +1236,19 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1791
1236
|
defaultSessionProvider: WorkspaceProviderSelection;
|
|
1792
1237
|
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
1793
1238
|
createdAt: Date;
|
|
1794
|
-
prNumber: number | null;
|
|
1795
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
1796
|
-
prReviewState: string | null;
|
|
1797
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
1798
|
-
prUpdatedAt: Date | null;
|
|
1799
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
1800
|
-
prDiscoveryRetryCount: number;
|
|
1801
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
1802
|
-
prCiFailedAt: Date | null;
|
|
1803
|
-
prCiLastNotifiedAt: Date | null;
|
|
1804
|
-
prReviewLastCheckedAt: Date | null;
|
|
1805
|
-
prReviewLastCommentId: string | null;
|
|
1806
|
-
ratchetEnabled: boolean;
|
|
1807
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
1808
|
-
ratchetLastCheckedAt: Date | null;
|
|
1809
|
-
ratchetActiveSessionId: string | null;
|
|
1810
|
-
ratchetLastCiRunId: string | null;
|
|
1811
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
1812
|
-
ratchetDispatchRetryCount: number;
|
|
1813
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
1814
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
1815
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1816
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1817
|
-
autoIterationSessionId: string | null;
|
|
1818
1239
|
periodicTaskId: string | null;
|
|
1819
1240
|
parentWorkspaceId: string | null;
|
|
1820
1241
|
hasHadSessions: boolean;
|
|
1821
|
-
cachedKanbanColumn: import("../../../prisma/generated/client.js").KanbanColumn;
|
|
1822
|
-
stateComputedAt: Date | null;
|
|
1823
|
-
}[];
|
|
1824
|
-
meta: object;
|
|
1825
|
-
}>;
|
|
1826
|
-
listWithRuntimeState: import("@trpc/server").TRPCQueryProcedure<{
|
|
1827
|
-
input: {
|
|
1828
|
-
projectId: string;
|
|
1829
|
-
status?: "NEW" | "PROVISIONING" | "READY" | "FAILED" | "ARCHIVING" | "ARCHIVED" | undefined;
|
|
1830
|
-
limit?: number | undefined;
|
|
1831
|
-
offset?: number | undefined;
|
|
1832
|
-
};
|
|
1833
|
-
output: {
|
|
1834
|
-
isWorking: boolean;
|
|
1835
|
-
pendingRequestType: import("../../backend/services/workspace/index.js").WorkspacePendingRequestType;
|
|
1836
1242
|
agentSessions: {
|
|
1837
1243
|
name: string | null;
|
|
1838
1244
|
model: string;
|
|
1839
1245
|
workflow: string;
|
|
1840
1246
|
provider: SessionProvider;
|
|
1841
1247
|
updatedAt: Date;
|
|
1842
|
-
id: string;
|
|
1843
|
-
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
1844
|
-
createdAt: Date;
|
|
1845
1248
|
workspaceId: string;
|
|
1846
|
-
providerSessionId: string | null;
|
|
1847
|
-
providerProjectPath: string | null;
|
|
1848
|
-
providerProcessPid: number | null;
|
|
1849
|
-
providerMetadata: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1850
|
-
}[];
|
|
1851
|
-
terminalSessions: {
|
|
1852
|
-
name: string | null;
|
|
1853
|
-
updatedAt: Date;
|
|
1854
|
-
id: string;
|
|
1855
1249
|
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
1856
|
-
createdAt: Date;
|
|
1857
|
-
workspaceId: string;
|
|
1858
|
-
pid: number | null;
|
|
1859
|
-
}[];
|
|
1860
|
-
name: string;
|
|
1861
|
-
updatedAt: Date;
|
|
1862
|
-
id: string;
|
|
1863
|
-
projectId: string;
|
|
1864
|
-
description: string | null;
|
|
1865
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
1866
|
-
worktreePath: string | null;
|
|
1867
|
-
branchName: string | null;
|
|
1868
|
-
isAutoGeneratedBranch: boolean;
|
|
1869
|
-
creationSource: import("../../../prisma/generated/client.js").WorkspaceCreationSource;
|
|
1870
|
-
creationMetadata: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1871
|
-
initErrorMessage: string | null;
|
|
1872
|
-
initOutput: string | null;
|
|
1873
|
-
initStartedAt: Date | null;
|
|
1874
|
-
initCompletedAt: Date | null;
|
|
1875
|
-
initScriptPid: number | null;
|
|
1876
|
-
initRetryCount: number;
|
|
1877
|
-
runScriptCommand: string | null;
|
|
1878
|
-
runScriptPostRunCommand: string | null;
|
|
1879
|
-
runScriptCleanupCommand: string | null;
|
|
1880
|
-
runScriptPid: number | null;
|
|
1881
|
-
runScriptPort: number | null;
|
|
1882
|
-
runScriptStartedAt: Date | null;
|
|
1883
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
1884
|
-
prUrl: string | null;
|
|
1885
|
-
githubIssueNumber: number | null;
|
|
1886
|
-
githubIssueUrl: string | null;
|
|
1887
|
-
linearIssueId: string | null;
|
|
1888
|
-
linearIssueIdentifier: string | null;
|
|
1889
|
-
linearIssueUrl: string | null;
|
|
1890
|
-
defaultSessionProvider: WorkspaceProviderSelection;
|
|
1891
|
-
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
1892
|
-
createdAt: Date;
|
|
1893
|
-
prNumber: number | null;
|
|
1894
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
1895
|
-
prReviewState: string | null;
|
|
1896
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
1897
|
-
prUpdatedAt: Date | null;
|
|
1898
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
1899
|
-
prDiscoveryRetryCount: number;
|
|
1900
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
1901
|
-
prCiFailedAt: Date | null;
|
|
1902
|
-
prCiLastNotifiedAt: Date | null;
|
|
1903
|
-
prReviewLastCheckedAt: Date | null;
|
|
1904
|
-
prReviewLastCommentId: string | null;
|
|
1905
|
-
ratchetEnabled: boolean;
|
|
1906
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
1907
|
-
ratchetLastCheckedAt: Date | null;
|
|
1908
|
-
ratchetActiveSessionId: string | null;
|
|
1909
|
-
ratchetLastCiRunId: string | null;
|
|
1910
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
1911
|
-
ratchetDispatchRetryCount: number;
|
|
1912
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
1913
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
1914
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1915
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1916
|
-
autoIterationSessionId: string | null;
|
|
1917
|
-
periodicTaskId: string | null;
|
|
1918
|
-
parentWorkspaceId: string | null;
|
|
1919
|
-
hasHadSessions: boolean;
|
|
1920
|
-
cachedKanbanColumn: import("../../../prisma/generated/client.js").KanbanColumn;
|
|
1921
|
-
stateComputedAt: Date | null;
|
|
1922
|
-
}[];
|
|
1923
|
-
meta: object;
|
|
1924
|
-
}>;
|
|
1925
|
-
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
1926
|
-
input: {
|
|
1927
|
-
id: string;
|
|
1928
|
-
};
|
|
1929
|
-
output: {
|
|
1930
|
-
sessionSummaries: import("../../shared/session-runtime.js").SessionSummary[];
|
|
1931
|
-
sidebarStatus: import("../../shared/core/index.js").WorkspaceSidebarStatus;
|
|
1932
|
-
ratchetButtonAnimated: boolean;
|
|
1933
|
-
flowPhase: "READY" | "MERGED" | "NO_PR" | "CI_WAIT" | "RATCHET_VERIFY" | "RATCHET_FIXING";
|
|
1934
|
-
ciObservation: "NOT_FETCHED" | "NO_CHECKS" | "CHECKS_PENDING" | "CHECKS_FAILED" | "CHECKS_PASSED" | "CHECKS_UNKNOWN";
|
|
1935
|
-
statusReason: import("../../shared/workspace-status-reason.js").WorkspaceStatusReason;
|
|
1936
|
-
pendingRequestType: import("../../backend/services/workspace/index.js").WorkspacePendingRequestType;
|
|
1937
|
-
agentSessions: {
|
|
1938
|
-
name: string | null;
|
|
1939
|
-
model: string;
|
|
1940
|
-
workflow: string;
|
|
1941
|
-
provider: SessionProvider;
|
|
1942
|
-
updatedAt: Date;
|
|
1943
1250
|
id: string;
|
|
1944
|
-
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
1945
1251
|
createdAt: Date;
|
|
1946
|
-
workspaceId: string;
|
|
1947
1252
|
providerSessionId: string | null;
|
|
1948
1253
|
providerProjectPath: string | null;
|
|
1949
1254
|
providerProcessPid: number | null;
|
|
@@ -1952,49 +1257,25 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1952
1257
|
terminalSessions: {
|
|
1953
1258
|
name: string | null;
|
|
1954
1259
|
updatedAt: Date;
|
|
1955
|
-
|
|
1260
|
+
workspaceId: string;
|
|
1956
1261
|
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
1262
|
+
id: string;
|
|
1957
1263
|
createdAt: Date;
|
|
1958
|
-
workspaceId: string;
|
|
1959
1264
|
pid: number | null;
|
|
1960
1265
|
}[];
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
branchName: string | null;
|
|
1969
|
-
isAutoGeneratedBranch: boolean;
|
|
1970
|
-
creationSource: import("../../../prisma/generated/client.js").WorkspaceCreationSource;
|
|
1971
|
-
creationMetadata: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1972
|
-
initErrorMessage: string | null;
|
|
1973
|
-
initOutput: string | null;
|
|
1974
|
-
initStartedAt: Date | null;
|
|
1975
|
-
initCompletedAt: Date | null;
|
|
1976
|
-
initScriptPid: number | null;
|
|
1977
|
-
initRetryCount: number;
|
|
1978
|
-
runScriptCommand: string | null;
|
|
1979
|
-
runScriptPostRunCommand: string | null;
|
|
1980
|
-
runScriptCleanupCommand: string | null;
|
|
1981
|
-
runScriptPid: number | null;
|
|
1982
|
-
runScriptPort: number | null;
|
|
1983
|
-
runScriptStartedAt: Date | null;
|
|
1984
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
1266
|
+
ratchetEnabled: boolean;
|
|
1267
|
+
ratchetLastCheckedAt: Date | null;
|
|
1268
|
+
ratchetActiveSessionId: string | null;
|
|
1269
|
+
ratchetDispatchSnapshotKey: string | null;
|
|
1270
|
+
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
1271
|
+
ratchetDispatchRetryCount: number;
|
|
1272
|
+
ratchetDispatchStalled: boolean;
|
|
1985
1273
|
prUrl: string | null;
|
|
1986
|
-
githubIssueNumber: number | null;
|
|
1987
|
-
githubIssueUrl: string | null;
|
|
1988
|
-
linearIssueId: string | null;
|
|
1989
|
-
linearIssueIdentifier: string | null;
|
|
1990
|
-
linearIssueUrl: string | null;
|
|
1991
|
-
defaultSessionProvider: WorkspaceProviderSelection;
|
|
1992
|
-
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
1993
|
-
createdAt: Date;
|
|
1994
1274
|
prNumber: number | null;
|
|
1995
|
-
prState: import("
|
|
1275
|
+
prState: import("../../shared/core/index.js").PRState;
|
|
1996
1276
|
prReviewState: string | null;
|
|
1997
|
-
prCiStatus: import("
|
|
1277
|
+
prCiStatus: import("../../shared/core/index.js").CIStatus;
|
|
1278
|
+
prHasMergeConflict: boolean;
|
|
1998
1279
|
prUpdatedAt: Date | null;
|
|
1999
1280
|
prDiscoveryLastCheckedAt: Date | null;
|
|
2000
1281
|
prDiscoveryRetryCount: number;
|
|
@@ -2003,23 +1284,19 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2003
1284
|
prCiLastNotifiedAt: Date | null;
|
|
2004
1285
|
prReviewLastCheckedAt: Date | null;
|
|
2005
1286
|
prReviewLastCommentId: string | null;
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
mode: import("
|
|
2014
|
-
autoIterationStatus: import("
|
|
2015
|
-
autoIterationConfig: import("
|
|
2016
|
-
autoIterationProgress: import("
|
|
1287
|
+
runScriptCommand: string | null;
|
|
1288
|
+
runScriptPostRunCommand: string | null;
|
|
1289
|
+
runScriptCleanupCommand: string | null;
|
|
1290
|
+
runScriptPid: number | null;
|
|
1291
|
+
runScriptPort: number | null;
|
|
1292
|
+
runScriptStartedAt: Date | null;
|
|
1293
|
+
runScriptStatus: import("../../shared/core/index.js").RunScriptStatus;
|
|
1294
|
+
mode: import("../../shared/core/index.js").WorkspaceMode;
|
|
1295
|
+
autoIterationStatus: import("../../shared/core/index.js").AutoIterationStatus | null;
|
|
1296
|
+
autoIterationConfig: import("../../../prisma/generated/internal/prismaNamespace.js").JsonValue | null;
|
|
1297
|
+
autoIterationProgress: import("../../../prisma/generated/internal/prismaNamespace.js").JsonValue | null;
|
|
2017
1298
|
autoIterationSessionId: string | null;
|
|
2018
|
-
|
|
2019
|
-
parentWorkspaceId: string | null;
|
|
2020
|
-
hasHadSessions: boolean;
|
|
2021
|
-
cachedKanbanColumn: import("../../../prisma/generated/client.js").KanbanColumn;
|
|
2022
|
-
stateComputedAt: Date | null;
|
|
1299
|
+
ratchetState: import("../../shared/core/index.js").RatchetState;
|
|
2023
1300
|
};
|
|
2024
1301
|
meta: object;
|
|
2025
1302
|
}>;
|
|
@@ -2082,70 +1359,7 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2082
1359
|
startupModePreset?: "non_interactive" | "plan" | undefined;
|
|
2083
1360
|
provider?: "CLAUDE" | "CODEX" | undefined;
|
|
2084
1361
|
};
|
|
2085
|
-
output:
|
|
2086
|
-
name: string;
|
|
2087
|
-
updatedAt: Date;
|
|
2088
|
-
id: string;
|
|
2089
|
-
projectId: string;
|
|
2090
|
-
description: string | null;
|
|
2091
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
2092
|
-
worktreePath: string | null;
|
|
2093
|
-
branchName: string | null;
|
|
2094
|
-
isAutoGeneratedBranch: boolean;
|
|
2095
|
-
creationSource: import("../../../prisma/generated/client.js").WorkspaceCreationSource;
|
|
2096
|
-
creationMetadata: import("@prisma/client/runtime/client").JsonValue | null;
|
|
2097
|
-
initErrorMessage: string | null;
|
|
2098
|
-
initOutput: string | null;
|
|
2099
|
-
initStartedAt: Date | null;
|
|
2100
|
-
initCompletedAt: Date | null;
|
|
2101
|
-
initScriptPid: number | null;
|
|
2102
|
-
initRetryCount: number;
|
|
2103
|
-
runScriptCommand: string | null;
|
|
2104
|
-
runScriptPostRunCommand: string | null;
|
|
2105
|
-
runScriptCleanupCommand: string | null;
|
|
2106
|
-
runScriptPid: number | null;
|
|
2107
|
-
runScriptPort: number | null;
|
|
2108
|
-
runScriptStartedAt: Date | null;
|
|
2109
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
2110
|
-
prUrl: string | null;
|
|
2111
|
-
githubIssueNumber: number | null;
|
|
2112
|
-
githubIssueUrl: string | null;
|
|
2113
|
-
linearIssueId: string | null;
|
|
2114
|
-
linearIssueIdentifier: string | null;
|
|
2115
|
-
linearIssueUrl: string | null;
|
|
2116
|
-
defaultSessionProvider: WorkspaceProviderSelection;
|
|
2117
|
-
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
2118
|
-
createdAt: Date;
|
|
2119
|
-
prNumber: number | null;
|
|
2120
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
2121
|
-
prReviewState: string | null;
|
|
2122
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
2123
|
-
prUpdatedAt: Date | null;
|
|
2124
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
2125
|
-
prDiscoveryRetryCount: number;
|
|
2126
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
2127
|
-
prCiFailedAt: Date | null;
|
|
2128
|
-
prCiLastNotifiedAt: Date | null;
|
|
2129
|
-
prReviewLastCheckedAt: Date | null;
|
|
2130
|
-
prReviewLastCommentId: string | null;
|
|
2131
|
-
ratchetEnabled: boolean;
|
|
2132
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
2133
|
-
ratchetLastCheckedAt: Date | null;
|
|
2134
|
-
ratchetActiveSessionId: string | null;
|
|
2135
|
-
ratchetLastCiRunId: string | null;
|
|
2136
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
2137
|
-
ratchetDispatchRetryCount: number;
|
|
2138
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
2139
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
2140
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
2141
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
2142
|
-
autoIterationSessionId: string | null;
|
|
2143
|
-
periodicTaskId: string | null;
|
|
2144
|
-
parentWorkspaceId: string | null;
|
|
2145
|
-
hasHadSessions: boolean;
|
|
2146
|
-
cachedKanbanColumn: import("../../../prisma/generated/client.js").KanbanColumn;
|
|
2147
|
-
stateComputedAt: Date | null;
|
|
2148
|
-
};
|
|
1362
|
+
output: import("../services/workspace/resources/workspace.accessor.js").WorkspaceWithRatchet;
|
|
2149
1363
|
meta: object;
|
|
2150
1364
|
}>;
|
|
2151
1365
|
rename: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -2156,10 +1370,10 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2156
1370
|
output: {
|
|
2157
1371
|
name: string;
|
|
2158
1372
|
updatedAt: Date;
|
|
1373
|
+
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
2159
1374
|
id: string;
|
|
2160
1375
|
projectId: string;
|
|
2161
1376
|
description: string | null;
|
|
2162
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
2163
1377
|
worktreePath: string | null;
|
|
2164
1378
|
branchName: string | null;
|
|
2165
1379
|
isAutoGeneratedBranch: boolean;
|
|
@@ -2171,14 +1385,6 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2171
1385
|
initCompletedAt: Date | null;
|
|
2172
1386
|
initScriptPid: number | null;
|
|
2173
1387
|
initRetryCount: number;
|
|
2174
|
-
runScriptCommand: string | null;
|
|
2175
|
-
runScriptPostRunCommand: string | null;
|
|
2176
|
-
runScriptCleanupCommand: string | null;
|
|
2177
|
-
runScriptPid: number | null;
|
|
2178
|
-
runScriptPort: number | null;
|
|
2179
|
-
runScriptStartedAt: Date | null;
|
|
2180
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
2181
|
-
prUrl: string | null;
|
|
2182
1388
|
githubIssueNumber: number | null;
|
|
2183
1389
|
githubIssueUrl: string | null;
|
|
2184
1390
|
linearIssueId: string | null;
|
|
@@ -2187,35 +1393,9 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2187
1393
|
defaultSessionProvider: WorkspaceProviderSelection;
|
|
2188
1394
|
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
2189
1395
|
createdAt: Date;
|
|
2190
|
-
prNumber: number | null;
|
|
2191
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
2192
|
-
prReviewState: string | null;
|
|
2193
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
2194
|
-
prUpdatedAt: Date | null;
|
|
2195
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
2196
|
-
prDiscoveryRetryCount: number;
|
|
2197
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
2198
|
-
prCiFailedAt: Date | null;
|
|
2199
|
-
prCiLastNotifiedAt: Date | null;
|
|
2200
|
-
prReviewLastCheckedAt: Date | null;
|
|
2201
|
-
prReviewLastCommentId: string | null;
|
|
2202
|
-
ratchetEnabled: boolean;
|
|
2203
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
2204
|
-
ratchetLastCheckedAt: Date | null;
|
|
2205
|
-
ratchetActiveSessionId: string | null;
|
|
2206
|
-
ratchetLastCiRunId: string | null;
|
|
2207
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
2208
|
-
ratchetDispatchRetryCount: number;
|
|
2209
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
2210
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
2211
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
2212
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
2213
|
-
autoIterationSessionId: string | null;
|
|
2214
1396
|
periodicTaskId: string | null;
|
|
2215
1397
|
parentWorkspaceId: string | null;
|
|
2216
1398
|
hasHadSessions: boolean;
|
|
2217
|
-
cachedKanbanColumn: import("../../../prisma/generated/client.js").KanbanColumn;
|
|
2218
|
-
stateComputedAt: Date | null;
|
|
2219
1399
|
};
|
|
2220
1400
|
meta: object;
|
|
2221
1401
|
}>;
|
|
@@ -2224,17 +1404,34 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2224
1404
|
id: string;
|
|
2225
1405
|
prUrl: string;
|
|
2226
1406
|
};
|
|
2227
|
-
output: {
|
|
1407
|
+
output: Omit<{
|
|
1408
|
+
pr: {
|
|
1409
|
+
number: number | null;
|
|
1410
|
+
url: string | null;
|
|
1411
|
+
workspaceId: string;
|
|
1412
|
+
state: import("../../../prisma/generated/client.js").PRState;
|
|
1413
|
+
reviewState: string | null;
|
|
1414
|
+
ciStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
1415
|
+
hasMergeConflict: boolean;
|
|
1416
|
+
syncedAt: Date | null;
|
|
1417
|
+
discoveryLastCheckedAt: Date | null;
|
|
1418
|
+
discoveryRetryCount: number;
|
|
1419
|
+
discoveryNextCheckAt: Date | null;
|
|
1420
|
+
ciFailedAt: Date | null;
|
|
1421
|
+
ciLastNotifiedAt: Date | null;
|
|
1422
|
+
reviewLastCheckedAt: Date | null;
|
|
1423
|
+
reviewLastCommentId: string | null;
|
|
1424
|
+
} | null;
|
|
2228
1425
|
agentSessions: {
|
|
2229
1426
|
name: string | null;
|
|
2230
1427
|
model: string;
|
|
2231
1428
|
workflow: string;
|
|
2232
1429
|
provider: SessionProvider;
|
|
2233
1430
|
updatedAt: Date;
|
|
2234
|
-
|
|
1431
|
+
workspaceId: string;
|
|
2235
1432
|
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
1433
|
+
id: string;
|
|
2236
1434
|
createdAt: Date;
|
|
2237
|
-
workspaceId: string;
|
|
2238
1435
|
providerSessionId: string | null;
|
|
2239
1436
|
providerProjectPath: string | null;
|
|
2240
1437
|
providerProcessPid: number | null;
|
|
@@ -2243,19 +1440,47 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2243
1440
|
terminalSessions: {
|
|
2244
1441
|
name: string | null;
|
|
2245
1442
|
updatedAt: Date;
|
|
2246
|
-
|
|
1443
|
+
workspaceId: string;
|
|
2247
1444
|
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
1445
|
+
id: string;
|
|
2248
1446
|
createdAt: Date;
|
|
2249
|
-
workspaceId: string;
|
|
2250
1447
|
pid: number | null;
|
|
2251
1448
|
}[];
|
|
1449
|
+
ratchet: {
|
|
1450
|
+
workspaceId: string;
|
|
1451
|
+
enabled: boolean;
|
|
1452
|
+
lastCheckedAt: Date | null;
|
|
1453
|
+
activeSessionId: string | null;
|
|
1454
|
+
dispatchSnapshotKey: string | null;
|
|
1455
|
+
dispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
1456
|
+
dispatchRetryCount: number;
|
|
1457
|
+
dispatchStalled: boolean;
|
|
1458
|
+
} | null;
|
|
1459
|
+
runScript: {
|
|
1460
|
+
workspaceId: string;
|
|
1461
|
+
status: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
1462
|
+
command: string | null;
|
|
1463
|
+
postRunCommand: string | null;
|
|
1464
|
+
cleanupCommand: string | null;
|
|
1465
|
+
pid: number | null;
|
|
1466
|
+
port: number | null;
|
|
1467
|
+
startedAt: Date | null;
|
|
1468
|
+
} | null;
|
|
1469
|
+
autoIteration: {
|
|
1470
|
+
config: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1471
|
+
sessionId: string | null;
|
|
1472
|
+
workspaceId: string;
|
|
1473
|
+
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
1474
|
+
status: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
1475
|
+
progress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1476
|
+
} | null;
|
|
2252
1477
|
} & {
|
|
2253
1478
|
name: string;
|
|
2254
1479
|
updatedAt: Date;
|
|
1480
|
+
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
2255
1481
|
id: string;
|
|
2256
1482
|
projectId: string;
|
|
2257
1483
|
description: string | null;
|
|
2258
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
2259
1484
|
worktreePath: string | null;
|
|
2260
1485
|
branchName: string | null;
|
|
2261
1486
|
isAutoGeneratedBranch: boolean;
|
|
@@ -2267,14 +1492,6 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2267
1492
|
initCompletedAt: Date | null;
|
|
2268
1493
|
initScriptPid: number | null;
|
|
2269
1494
|
initRetryCount: number;
|
|
2270
|
-
runScriptCommand: string | null;
|
|
2271
|
-
runScriptPostRunCommand: string | null;
|
|
2272
|
-
runScriptCleanupCommand: string | null;
|
|
2273
|
-
runScriptPid: number | null;
|
|
2274
|
-
runScriptPort: number | null;
|
|
2275
|
-
runScriptStartedAt: Date | null;
|
|
2276
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
2277
|
-
prUrl: string | null;
|
|
2278
1495
|
githubIssueNumber: number | null;
|
|
2279
1496
|
githubIssueUrl: string | null;
|
|
2280
1497
|
linearIssueId: string | null;
|
|
@@ -2283,35 +1500,11 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2283
1500
|
defaultSessionProvider: WorkspaceProviderSelection;
|
|
2284
1501
|
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
2285
1502
|
createdAt: Date;
|
|
2286
|
-
prNumber: number | null;
|
|
2287
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
2288
|
-
prReviewState: string | null;
|
|
2289
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
2290
|
-
prUpdatedAt: Date | null;
|
|
2291
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
2292
|
-
prDiscoveryRetryCount: number;
|
|
2293
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
2294
|
-
prCiFailedAt: Date | null;
|
|
2295
|
-
prCiLastNotifiedAt: Date | null;
|
|
2296
|
-
prReviewLastCheckedAt: Date | null;
|
|
2297
|
-
prReviewLastCommentId: string | null;
|
|
2298
|
-
ratchetEnabled: boolean;
|
|
2299
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
2300
|
-
ratchetLastCheckedAt: Date | null;
|
|
2301
|
-
ratchetActiveSessionId: string | null;
|
|
2302
|
-
ratchetLastCiRunId: string | null;
|
|
2303
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
2304
|
-
ratchetDispatchRetryCount: number;
|
|
2305
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
2306
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
2307
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
2308
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
2309
|
-
autoIterationSessionId: string | null;
|
|
2310
1503
|
periodicTaskId: string | null;
|
|
2311
1504
|
parentWorkspaceId: string | null;
|
|
2312
1505
|
hasHadSessions: boolean;
|
|
2313
|
-
|
|
2314
|
-
|
|
1506
|
+
}, "pr" | "ratchet" | "runScript" | "autoIteration"> & import("../services/workspace/resources/workspace-ratchet.accessor.js").WorkspaceRatchetFields & import("../services/workspace/resources/workspace-pr.accessor.js").WorkspacePRFields & import("../services/workspace/resources/workspace-run-script.accessor.js").WorkspaceRunScriptFields & import("../services/workspace/resources/workspace-auto-iteration.accessor.js").WorkspaceAutoIterationFields & {
|
|
1507
|
+
ratchetState: import("../../shared/core/index.js").RatchetState;
|
|
2315
1508
|
};
|
|
2316
1509
|
meta: object;
|
|
2317
1510
|
}>;
|
|
@@ -2320,17 +1513,34 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2320
1513
|
workspaceId: string;
|
|
2321
1514
|
enabled: boolean;
|
|
2322
1515
|
};
|
|
2323
|
-
output: {
|
|
1516
|
+
output: Omit<{
|
|
1517
|
+
pr: {
|
|
1518
|
+
number: number | null;
|
|
1519
|
+
url: string | null;
|
|
1520
|
+
workspaceId: string;
|
|
1521
|
+
state: import("../../../prisma/generated/client.js").PRState;
|
|
1522
|
+
reviewState: string | null;
|
|
1523
|
+
ciStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
1524
|
+
hasMergeConflict: boolean;
|
|
1525
|
+
syncedAt: Date | null;
|
|
1526
|
+
discoveryLastCheckedAt: Date | null;
|
|
1527
|
+
discoveryRetryCount: number;
|
|
1528
|
+
discoveryNextCheckAt: Date | null;
|
|
1529
|
+
ciFailedAt: Date | null;
|
|
1530
|
+
ciLastNotifiedAt: Date | null;
|
|
1531
|
+
reviewLastCheckedAt: Date | null;
|
|
1532
|
+
reviewLastCommentId: string | null;
|
|
1533
|
+
} | null;
|
|
2324
1534
|
agentSessions: {
|
|
2325
1535
|
name: string | null;
|
|
2326
1536
|
model: string;
|
|
2327
1537
|
workflow: string;
|
|
2328
1538
|
provider: SessionProvider;
|
|
2329
1539
|
updatedAt: Date;
|
|
2330
|
-
|
|
1540
|
+
workspaceId: string;
|
|
2331
1541
|
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
1542
|
+
id: string;
|
|
2332
1543
|
createdAt: Date;
|
|
2333
|
-
workspaceId: string;
|
|
2334
1544
|
providerSessionId: string | null;
|
|
2335
1545
|
providerProjectPath: string | null;
|
|
2336
1546
|
providerProcessPid: number | null;
|
|
@@ -2339,19 +1549,47 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2339
1549
|
terminalSessions: {
|
|
2340
1550
|
name: string | null;
|
|
2341
1551
|
updatedAt: Date;
|
|
2342
|
-
|
|
1552
|
+
workspaceId: string;
|
|
2343
1553
|
status: import("../../../prisma/generated/client.js").SessionStatus;
|
|
1554
|
+
id: string;
|
|
2344
1555
|
createdAt: Date;
|
|
2345
|
-
workspaceId: string;
|
|
2346
1556
|
pid: number | null;
|
|
2347
1557
|
}[];
|
|
1558
|
+
ratchet: {
|
|
1559
|
+
workspaceId: string;
|
|
1560
|
+
enabled: boolean;
|
|
1561
|
+
lastCheckedAt: Date | null;
|
|
1562
|
+
activeSessionId: string | null;
|
|
1563
|
+
dispatchSnapshotKey: string | null;
|
|
1564
|
+
dispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
1565
|
+
dispatchRetryCount: number;
|
|
1566
|
+
dispatchStalled: boolean;
|
|
1567
|
+
} | null;
|
|
1568
|
+
runScript: {
|
|
1569
|
+
workspaceId: string;
|
|
1570
|
+
status: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
1571
|
+
command: string | null;
|
|
1572
|
+
postRunCommand: string | null;
|
|
1573
|
+
cleanupCommand: string | null;
|
|
1574
|
+
pid: number | null;
|
|
1575
|
+
port: number | null;
|
|
1576
|
+
startedAt: Date | null;
|
|
1577
|
+
} | null;
|
|
1578
|
+
autoIteration: {
|
|
1579
|
+
config: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1580
|
+
sessionId: string | null;
|
|
1581
|
+
workspaceId: string;
|
|
1582
|
+
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
1583
|
+
status: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
1584
|
+
progress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
1585
|
+
} | null;
|
|
2348
1586
|
} & {
|
|
2349
1587
|
name: string;
|
|
2350
1588
|
updatedAt: Date;
|
|
1589
|
+
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
2351
1590
|
id: string;
|
|
2352
1591
|
projectId: string;
|
|
2353
1592
|
description: string | null;
|
|
2354
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
2355
1593
|
worktreePath: string | null;
|
|
2356
1594
|
branchName: string | null;
|
|
2357
1595
|
isAutoGeneratedBranch: boolean;
|
|
@@ -2363,14 +1601,6 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2363
1601
|
initCompletedAt: Date | null;
|
|
2364
1602
|
initScriptPid: number | null;
|
|
2365
1603
|
initRetryCount: number;
|
|
2366
|
-
runScriptCommand: string | null;
|
|
2367
|
-
runScriptPostRunCommand: string | null;
|
|
2368
|
-
runScriptCleanupCommand: string | null;
|
|
2369
|
-
runScriptPid: number | null;
|
|
2370
|
-
runScriptPort: number | null;
|
|
2371
|
-
runScriptStartedAt: Date | null;
|
|
2372
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
2373
|
-
prUrl: string | null;
|
|
2374
1604
|
githubIssueNumber: number | null;
|
|
2375
1605
|
githubIssueUrl: string | null;
|
|
2376
1606
|
linearIssueId: string | null;
|
|
@@ -2379,35 +1609,11 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2379
1609
|
defaultSessionProvider: WorkspaceProviderSelection;
|
|
2380
1610
|
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
2381
1611
|
createdAt: Date;
|
|
2382
|
-
prNumber: number | null;
|
|
2383
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
2384
|
-
prReviewState: string | null;
|
|
2385
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
2386
|
-
prUpdatedAt: Date | null;
|
|
2387
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
2388
|
-
prDiscoveryRetryCount: number;
|
|
2389
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
2390
|
-
prCiFailedAt: Date | null;
|
|
2391
|
-
prCiLastNotifiedAt: Date | null;
|
|
2392
|
-
prReviewLastCheckedAt: Date | null;
|
|
2393
|
-
prReviewLastCommentId: string | null;
|
|
2394
|
-
ratchetEnabled: boolean;
|
|
2395
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
2396
|
-
ratchetLastCheckedAt: Date | null;
|
|
2397
|
-
ratchetActiveSessionId: string | null;
|
|
2398
|
-
ratchetLastCiRunId: string | null;
|
|
2399
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
2400
|
-
ratchetDispatchRetryCount: number;
|
|
2401
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
2402
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
2403
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
2404
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
2405
|
-
autoIterationSessionId: string | null;
|
|
2406
1612
|
periodicTaskId: string | null;
|
|
2407
1613
|
parentWorkspaceId: string | null;
|
|
2408
1614
|
hasHadSessions: boolean;
|
|
2409
|
-
|
|
2410
|
-
|
|
1615
|
+
}, "pr" | "ratchet" | "runScript" | "autoIteration"> & import("../services/workspace/resources/workspace-ratchet.accessor.js").WorkspaceRatchetFields & import("../services/workspace/resources/workspace-pr.accessor.js").WorkspacePRFields & import("../services/workspace/resources/workspace-run-script.accessor.js").WorkspaceRunScriptFields & import("../services/workspace/resources/workspace-auto-iteration.accessor.js").WorkspaceAutoIterationFields & {
|
|
1616
|
+
ratchetState: import("../../shared/core/index.js").RatchetState;
|
|
2411
1617
|
};
|
|
2412
1618
|
meta: object;
|
|
2413
1619
|
}>;
|
|
@@ -2420,10 +1626,10 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2420
1626
|
output: {
|
|
2421
1627
|
name: string;
|
|
2422
1628
|
updatedAt: Date;
|
|
1629
|
+
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
2423
1630
|
id: string;
|
|
2424
1631
|
projectId: string;
|
|
2425
1632
|
description: string | null;
|
|
2426
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
2427
1633
|
worktreePath: string | null;
|
|
2428
1634
|
branchName: string | null;
|
|
2429
1635
|
isAutoGeneratedBranch: boolean;
|
|
@@ -2435,14 +1641,6 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2435
1641
|
initCompletedAt: Date | null;
|
|
2436
1642
|
initScriptPid: number | null;
|
|
2437
1643
|
initRetryCount: number;
|
|
2438
|
-
runScriptCommand: string | null;
|
|
2439
|
-
runScriptPostRunCommand: string | null;
|
|
2440
|
-
runScriptCleanupCommand: string | null;
|
|
2441
|
-
runScriptPid: number | null;
|
|
2442
|
-
runScriptPort: number | null;
|
|
2443
|
-
runScriptStartedAt: Date | null;
|
|
2444
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
2445
|
-
prUrl: string | null;
|
|
2446
1644
|
githubIssueNumber: number | null;
|
|
2447
1645
|
githubIssueUrl: string | null;
|
|
2448
1646
|
linearIssueId: string | null;
|
|
@@ -2451,50 +1649,24 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2451
1649
|
defaultSessionProvider: WorkspaceProviderSelection;
|
|
2452
1650
|
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
2453
1651
|
createdAt: Date;
|
|
2454
|
-
prNumber: number | null;
|
|
2455
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
2456
|
-
prReviewState: string | null;
|
|
2457
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
2458
|
-
prUpdatedAt: Date | null;
|
|
2459
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
2460
|
-
prDiscoveryRetryCount: number;
|
|
2461
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
2462
|
-
prCiFailedAt: Date | null;
|
|
2463
|
-
prCiLastNotifiedAt: Date | null;
|
|
2464
|
-
prReviewLastCheckedAt: Date | null;
|
|
2465
|
-
prReviewLastCommentId: string | null;
|
|
2466
|
-
ratchetEnabled: boolean;
|
|
2467
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
2468
|
-
ratchetLastCheckedAt: Date | null;
|
|
2469
|
-
ratchetActiveSessionId: string | null;
|
|
2470
|
-
ratchetLastCiRunId: string | null;
|
|
2471
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
2472
|
-
ratchetDispatchRetryCount: number;
|
|
2473
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
2474
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
2475
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
2476
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
2477
|
-
autoIterationSessionId: string | null;
|
|
2478
1652
|
periodicTaskId: string | null;
|
|
2479
1653
|
parentWorkspaceId: string | null;
|
|
2480
1654
|
hasHadSessions: boolean;
|
|
2481
|
-
cachedKanbanColumn: import("../../../prisma/generated/client.js").KanbanColumn;
|
|
2482
|
-
stateComputedAt: Date | null;
|
|
2483
1655
|
};
|
|
2484
1656
|
meta: object;
|
|
2485
1657
|
}>;
|
|
2486
1658
|
archive: import("@trpc/server").TRPCMutationProcedure<{
|
|
2487
1659
|
input: {
|
|
2488
1660
|
id: string;
|
|
2489
|
-
|
|
1661
|
+
removeGitIndexLock?: true | undefined;
|
|
2490
1662
|
};
|
|
2491
1663
|
output: {
|
|
2492
1664
|
name: string;
|
|
2493
1665
|
updatedAt: Date;
|
|
1666
|
+
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
2494
1667
|
id: string;
|
|
2495
1668
|
projectId: string;
|
|
2496
1669
|
description: string | null;
|
|
2497
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
2498
1670
|
worktreePath: string | null;
|
|
2499
1671
|
branchName: string | null;
|
|
2500
1672
|
isAutoGeneratedBranch: boolean;
|
|
@@ -2506,14 +1678,6 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2506
1678
|
initCompletedAt: Date | null;
|
|
2507
1679
|
initScriptPid: number | null;
|
|
2508
1680
|
initRetryCount: number;
|
|
2509
|
-
runScriptCommand: string | null;
|
|
2510
|
-
runScriptPostRunCommand: string | null;
|
|
2511
|
-
runScriptCleanupCommand: string | null;
|
|
2512
|
-
runScriptPid: number | null;
|
|
2513
|
-
runScriptPort: number | null;
|
|
2514
|
-
runScriptStartedAt: Date | null;
|
|
2515
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
2516
|
-
prUrl: string | null;
|
|
2517
1681
|
githubIssueNumber: number | null;
|
|
2518
1682
|
githubIssueUrl: string | null;
|
|
2519
1683
|
linearIssueId: string | null;
|
|
@@ -2522,35 +1686,9 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2522
1686
|
defaultSessionProvider: WorkspaceProviderSelection;
|
|
2523
1687
|
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
2524
1688
|
createdAt: Date;
|
|
2525
|
-
prNumber: number | null;
|
|
2526
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
2527
|
-
prReviewState: string | null;
|
|
2528
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
2529
|
-
prUpdatedAt: Date | null;
|
|
2530
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
2531
|
-
prDiscoveryRetryCount: number;
|
|
2532
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
2533
|
-
prCiFailedAt: Date | null;
|
|
2534
|
-
prCiLastNotifiedAt: Date | null;
|
|
2535
|
-
prReviewLastCheckedAt: Date | null;
|
|
2536
|
-
prReviewLastCommentId: string | null;
|
|
2537
|
-
ratchetEnabled: boolean;
|
|
2538
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
2539
|
-
ratchetLastCheckedAt: Date | null;
|
|
2540
|
-
ratchetActiveSessionId: string | null;
|
|
2541
|
-
ratchetLastCiRunId: string | null;
|
|
2542
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
2543
|
-
ratchetDispatchRetryCount: number;
|
|
2544
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
2545
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
2546
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
2547
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
2548
|
-
autoIterationSessionId: string | null;
|
|
2549
1689
|
periodicTaskId: string | null;
|
|
2550
1690
|
parentWorkspaceId: string | null;
|
|
2551
1691
|
hasHadSessions: boolean;
|
|
2552
|
-
cachedKanbanColumn: import("../../../prisma/generated/client.js").KanbanColumn;
|
|
2553
|
-
stateComputedAt: Date | null;
|
|
2554
1692
|
};
|
|
2555
1693
|
meta: object;
|
|
2556
1694
|
}>;
|
|
@@ -2558,7 +1696,6 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2558
1696
|
input: {
|
|
2559
1697
|
projectId: string;
|
|
2560
1698
|
kanbanColumn: "WORKING" | "WAITING" | "DONE";
|
|
2561
|
-
commitUncommitted?: boolean | undefined;
|
|
2562
1699
|
};
|
|
2563
1700
|
output: {
|
|
2564
1701
|
results: ({
|
|
@@ -2566,11 +1703,13 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2566
1703
|
success: boolean;
|
|
2567
1704
|
error?: undefined;
|
|
2568
1705
|
code?: undefined;
|
|
1706
|
+
applicationErrorKind?: undefined;
|
|
2569
1707
|
} | {
|
|
2570
1708
|
id: string;
|
|
2571
1709
|
success: boolean;
|
|
2572
1710
|
error: string;
|
|
2573
1711
|
code: "CONFLICT" | "NOT_FOUND" | "PRECONDITION_FAILED" | "BAD_REQUEST" | "SERVICE_UNAVAILABLE" | "PARSE_ERROR" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1712
|
+
applicationErrorKind: "GIT_INDEX_LOCKED" | null;
|
|
2574
1713
|
})[];
|
|
2575
1714
|
total: number;
|
|
2576
1715
|
};
|
|
@@ -2583,10 +1722,10 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2583
1722
|
output: {
|
|
2584
1723
|
name: string;
|
|
2585
1724
|
updatedAt: Date;
|
|
1725
|
+
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
2586
1726
|
id: string;
|
|
2587
1727
|
projectId: string;
|
|
2588
1728
|
description: string | null;
|
|
2589
|
-
status: import("../../../prisma/generated/client.js").WorkspaceStatus;
|
|
2590
1729
|
worktreePath: string | null;
|
|
2591
1730
|
branchName: string | null;
|
|
2592
1731
|
isAutoGeneratedBranch: boolean;
|
|
@@ -2598,14 +1737,6 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2598
1737
|
initCompletedAt: Date | null;
|
|
2599
1738
|
initScriptPid: number | null;
|
|
2600
1739
|
initRetryCount: number;
|
|
2601
|
-
runScriptCommand: string | null;
|
|
2602
|
-
runScriptPostRunCommand: string | null;
|
|
2603
|
-
runScriptCleanupCommand: string | null;
|
|
2604
|
-
runScriptPid: number | null;
|
|
2605
|
-
runScriptPort: number | null;
|
|
2606
|
-
runScriptStartedAt: Date | null;
|
|
2607
|
-
runScriptStatus: import("../../../prisma/generated/client.js").RunScriptStatus;
|
|
2608
|
-
prUrl: string | null;
|
|
2609
1740
|
githubIssueNumber: number | null;
|
|
2610
1741
|
githubIssueUrl: string | null;
|
|
2611
1742
|
linearIssueId: string | null;
|
|
@@ -2614,35 +1745,9 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2614
1745
|
defaultSessionProvider: WorkspaceProviderSelection;
|
|
2615
1746
|
ratchetSessionProvider: WorkspaceProviderSelection;
|
|
2616
1747
|
createdAt: Date;
|
|
2617
|
-
prNumber: number | null;
|
|
2618
|
-
prState: import("../../../prisma/generated/client.js").PRState;
|
|
2619
|
-
prReviewState: string | null;
|
|
2620
|
-
prCiStatus: import("../../../prisma/generated/client.js").CIStatus;
|
|
2621
|
-
prUpdatedAt: Date | null;
|
|
2622
|
-
prDiscoveryLastCheckedAt: Date | null;
|
|
2623
|
-
prDiscoveryRetryCount: number;
|
|
2624
|
-
prDiscoveryNextCheckAt: Date | null;
|
|
2625
|
-
prCiFailedAt: Date | null;
|
|
2626
|
-
prCiLastNotifiedAt: Date | null;
|
|
2627
|
-
prReviewLastCheckedAt: Date | null;
|
|
2628
|
-
prReviewLastCommentId: string | null;
|
|
2629
|
-
ratchetEnabled: boolean;
|
|
2630
|
-
ratchetState: import("../../../prisma/generated/client.js").RatchetState;
|
|
2631
|
-
ratchetLastCheckedAt: Date | null;
|
|
2632
|
-
ratchetActiveSessionId: string | null;
|
|
2633
|
-
ratchetLastCiRunId: string | null;
|
|
2634
|
-
ratchetDispatchOutcome: import("../../../prisma/generated/client.js").RatchetDispatchOutcome | null;
|
|
2635
|
-
ratchetDispatchRetryCount: number;
|
|
2636
|
-
mode: import("../../../prisma/generated/client.js").WorkspaceMode;
|
|
2637
|
-
autoIterationStatus: import("../../../prisma/generated/client.js").AutoIterationStatus | null;
|
|
2638
|
-
autoIterationConfig: import("@prisma/client/runtime/client").JsonValue | null;
|
|
2639
|
-
autoIterationProgress: import("@prisma/client/runtime/client").JsonValue | null;
|
|
2640
|
-
autoIterationSessionId: string | null;
|
|
2641
1748
|
periodicTaskId: string | null;
|
|
2642
1749
|
parentWorkspaceId: string | null;
|
|
2643
1750
|
hasHadSessions: boolean;
|
|
2644
|
-
cachedKanbanColumn: import("../../../prisma/generated/client.js").KanbanColumn;
|
|
2645
|
-
stateComputedAt: Date | null;
|
|
2646
1751
|
};
|
|
2647
1752
|
meta: object;
|
|
2648
1753
|
}>;
|
|
@@ -2691,7 +1796,7 @@ export declare const workspaceRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2691
1796
|
} | {
|
|
2692
1797
|
success: boolean;
|
|
2693
1798
|
prState: string;
|
|
2694
|
-
previousPrState: import("
|
|
1799
|
+
previousPrState: import("../../shared/core/index.js").PRState;
|
|
2695
1800
|
reason?: undefined;
|
|
2696
1801
|
};
|
|
2697
1802
|
meta: object;
|