agor-live 0.17.0 → 0.17.2
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/dist/core/api/index.d.cts +2 -2
- package/dist/core/api/index.d.ts +2 -2
- package/dist/core/client/index.cjs +5 -0
- package/dist/core/client/index.d.cts +5 -5
- package/dist/core/client/index.d.ts +5 -5
- package/dist/core/client/index.js +4 -0
- package/dist/core/config/browser.cjs +5 -0
- package/dist/core/config/browser.d.cts +20 -4
- package/dist/core/config/browser.d.ts +20 -4
- package/dist/core/config/browser.js +4 -0
- package/dist/core/config/index.cjs +5 -0
- package/dist/core/config/index.d.cts +6 -6
- package/dist/core/config/index.d.ts +6 -6
- package/dist/core/config/index.js +4 -0
- package/dist/core/{config-manager-BqXXvlih.d.ts → config-manager-DTrsj6G3.d.ts} +1 -1
- package/dist/core/{config-manager-C8zzUrMs.d.cts → config-manager-TxxjFMRd.d.cts} +1 -1
- package/dist/core/{config-services-4zjcxc8Z.d.ts → config-services-DcO2GRgh.d.ts} +1 -1
- package/dist/core/{config-services-CXe0OHq7.d.cts → config-services-YEZ4DwCD.d.cts} +1 -1
- package/dist/core/db/index.d.cts +1 -1
- package/dist/core/db/index.d.ts +1 -1
- package/dist/core/environment/render-snapshot.d.cts +1 -1
- package/dist/core/environment/render-snapshot.d.ts +1 -1
- package/dist/core/environment/variable-resolver.d.cts +1 -1
- package/dist/core/environment/variable-resolver.d.ts +1 -1
- package/dist/core/{feathers-BK9CCjVG.d.ts → feathers-C5QP3fwJ.d.ts} +1 -1
- package/dist/core/{feathers-DnypeNDM.d.cts → feathers-ChZyv3Kj.d.cts} +1 -1
- package/dist/core/git/index.d.cts +4 -4
- package/dist/core/git/index.d.ts +4 -4
- package/dist/core/index.cjs +5 -0
- package/dist/core/index.d.cts +6 -6
- package/dist/core/index.d.ts +6 -6
- package/dist/core/index.js +4 -0
- package/dist/core/{repo-BcPbf8Ck.d.ts → repo-84E0A2gV.d.ts} +23 -1
- package/dist/core/{repo-CVyROjO4.d.cts → repo-Ckl-vaAk.d.cts} +23 -1
- package/dist/core/templates/session-context.d.cts +1 -1
- package/dist/core/templates/session-context.d.ts +1 -1
- package/dist/core/types/index.d.cts +3 -3
- package/dist/core/types/index.d.ts +3 -3
- package/dist/core/{types-BsvM6vfZ.d.cts → types-DNqfdt1z.d.cts} +2 -2
- package/dist/core/{types-DuWSldjW.d.ts → types-DqPMmTad.d.ts} +2 -2
- package/dist/core/unix/index.d.cts +3 -3
- package/dist/core/unix/index.d.ts +3 -3
- package/dist/daemon/index.js +7 -3
- package/dist/daemon/main.js +7 -3
- package/dist/daemon/register-services.js +7 -3
- package/dist/daemon/services/mcp-servers.d.ts +2 -7
- package/dist/daemon/services/repos.d.ts +1 -1
- package/dist/daemon/services/repos.js +7 -3
- package/dist/executor/cli.d.ts +0 -0
- package/dist/executor/cli.d.ts.map +0 -0
- package/dist/executor/cli.js +0 -0
- package/dist/executor/commands/git.d.ts +0 -0
- package/dist/executor/commands/git.d.ts.map +0 -0
- package/dist/executor/commands/git.js +0 -0
- package/dist/executor/commands/index.d.ts +0 -0
- package/dist/executor/commands/index.d.ts.map +0 -0
- package/dist/executor/commands/index.js +0 -0
- package/dist/executor/commands/unix.d.ts +0 -0
- package/dist/executor/commands/unix.d.ts.map +0 -0
- package/dist/executor/commands/unix.js +0 -0
- package/dist/executor/commands/zellij.d.ts +0 -0
- package/dist/executor/commands/zellij.d.ts.map +0 -0
- package/dist/executor/commands/zellij.js +0 -0
- package/dist/executor/config.d.ts +0 -0
- package/dist/executor/config.d.ts.map +0 -0
- package/dist/executor/config.js +0 -0
- package/dist/executor/db/feathers-repositories.d.ts +0 -0
- package/dist/executor/db/feathers-repositories.d.ts.map +0 -0
- package/dist/executor/db/feathers-repositories.js +0 -0
- package/dist/executor/handlers/sdk/base-executor.d.ts +0 -0
- package/dist/executor/handlers/sdk/base-executor.d.ts.map +0 -0
- package/dist/executor/handlers/sdk/base-executor.js +0 -0
- package/dist/executor/handlers/sdk/claude.d.ts +0 -0
- package/dist/executor/handlers/sdk/claude.d.ts.map +0 -0
- package/dist/executor/handlers/sdk/claude.js +0 -0
- package/dist/executor/handlers/sdk/codex.d.ts +0 -0
- package/dist/executor/handlers/sdk/codex.d.ts.map +0 -0
- package/dist/executor/handlers/sdk/codex.js +0 -0
- package/dist/executor/handlers/sdk/gemini.d.ts +0 -0
- package/dist/executor/handlers/sdk/gemini.d.ts.map +0 -0
- package/dist/executor/handlers/sdk/gemini.js +0 -0
- package/dist/executor/handlers/sdk/opencode.d.ts +0 -0
- package/dist/executor/handlers/sdk/opencode.d.ts.map +0 -0
- package/dist/executor/handlers/sdk/opencode.js +0 -0
- package/dist/executor/handlers/sdk/tool-registry.d.ts +0 -0
- package/dist/executor/handlers/sdk/tool-registry.d.ts.map +0 -0
- package/dist/executor/handlers/sdk/tool-registry.js +0 -0
- package/dist/executor/index.d.ts +0 -0
- package/dist/executor/index.d.ts.map +0 -0
- package/dist/executor/index.js +0 -0
- package/dist/executor/payload-types.d.ts +0 -0
- package/dist/executor/payload-types.d.ts.map +0 -0
- package/dist/executor/payload-types.js +0 -0
- package/dist/executor/permissions/permission-manager.d.ts +0 -0
- package/dist/executor/permissions/permission-manager.d.ts.map +0 -0
- package/dist/executor/permissions/permission-manager.js +0 -0
- package/dist/executor/permissions/permission-service.d.ts +0 -0
- package/dist/executor/permissions/permission-service.d.ts.map +0 -0
- package/dist/executor/permissions/permission-service.js +0 -0
- package/dist/executor/sdk-handlers/base/index.d.ts +0 -0
- package/dist/executor/sdk-handlers/base/index.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/base/index.js +0 -0
- package/dist/executor/sdk-handlers/base/mcp-scoping.d.ts +0 -0
- package/dist/executor/sdk-handlers/base/mcp-scoping.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/base/mcp-scoping.js +0 -0
- package/dist/executor/sdk-handlers/base/normalizer.interface.d.ts +0 -0
- package/dist/executor/sdk-handlers/base/normalizer.interface.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/base/normalizer.interface.js +0 -0
- package/dist/executor/sdk-handlers/base/tool.interface.d.ts +0 -0
- package/dist/executor/sdk-handlers/base/tool.interface.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/base/tool.interface.js +0 -0
- package/dist/executor/sdk-handlers/base/types.d.ts +0 -0
- package/dist/executor/sdk-handlers/base/types.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/base/types.js +0 -0
- package/dist/executor/sdk-handlers/claude/claude-tool.d.ts +0 -0
- package/dist/executor/sdk-handlers/claude/claude-tool.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/claude/claude-tool.js +0 -0
- package/dist/executor/sdk-handlers/claude/import/load-session.d.ts +0 -0
- package/dist/executor/sdk-handlers/claude/import/load-session.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/claude/import/load-session.js +0 -0
- package/dist/executor/sdk-handlers/claude/import/message-converter.d.ts +0 -0
- package/dist/executor/sdk-handlers/claude/import/message-converter.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/claude/import/message-converter.js +0 -0
- package/dist/executor/sdk-handlers/claude/import/task-extractor.d.ts +0 -0
- package/dist/executor/sdk-handlers/claude/import/task-extractor.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/claude/import/task-extractor.js +0 -0
- package/dist/executor/sdk-handlers/claude/import/transcript-parser.d.ts +0 -0
- package/dist/executor/sdk-handlers/claude/import/transcript-parser.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/claude/import/transcript-parser.js +0 -0
- package/dist/executor/sdk-handlers/claude/index.d.ts +0 -0
- package/dist/executor/sdk-handlers/claude/index.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/claude/index.js +0 -0
- package/dist/executor/sdk-handlers/claude/message-builder.d.ts +0 -0
- package/dist/executor/sdk-handlers/claude/message-builder.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/claude/message-builder.js +0 -0
- package/dist/executor/sdk-handlers/claude/message-processor.d.ts +0 -0
- package/dist/executor/sdk-handlers/claude/message-processor.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/claude/message-processor.js +0 -0
- package/dist/executor/sdk-handlers/claude/models.d.ts +0 -0
- package/dist/executor/sdk-handlers/claude/models.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/claude/models.js +0 -0
- package/dist/executor/sdk-handlers/claude/normalizer.d.ts +0 -0
- package/dist/executor/sdk-handlers/claude/normalizer.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/claude/normalizer.js +0 -0
- package/dist/executor/sdk-handlers/claude/permissions/permission-hooks.d.ts +0 -0
- package/dist/executor/sdk-handlers/claude/permissions/permission-hooks.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/claude/permissions/permission-hooks.js +0 -0
- package/dist/executor/sdk-handlers/claude/prompt-service.d.ts +0 -0
- package/dist/executor/sdk-handlers/claude/prompt-service.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/claude/prompt-service.js +0 -0
- package/dist/executor/sdk-handlers/claude/query-builder.d.ts +0 -0
- package/dist/executor/sdk-handlers/claude/query-builder.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/claude/query-builder.js +0 -0
- package/dist/executor/sdk-handlers/claude/safe-message-service.d.ts +0 -0
- package/dist/executor/sdk-handlers/claude/safe-message-service.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/claude/safe-message-service.js +0 -0
- package/dist/executor/sdk-handlers/claude/session-context.d.ts +0 -0
- package/dist/executor/sdk-handlers/claude/session-context.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/claude/session-context.js +0 -0
- package/dist/executor/sdk-handlers/claude/thinking-detector.d.ts +0 -0
- package/dist/executor/sdk-handlers/claude/thinking-detector.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/claude/thinking-detector.js +0 -0
- package/dist/executor/sdk-handlers/codex/codex-tool.d.ts +0 -0
- package/dist/executor/sdk-handlers/codex/codex-tool.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/codex/codex-tool.js +0 -0
- package/dist/executor/sdk-handlers/codex/index.d.ts +0 -0
- package/dist/executor/sdk-handlers/codex/index.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/codex/index.js +0 -0
- package/dist/executor/sdk-handlers/codex/models.d.ts +0 -0
- package/dist/executor/sdk-handlers/codex/models.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/codex/models.js +0 -0
- package/dist/executor/sdk-handlers/codex/normalizer.d.ts +0 -0
- package/dist/executor/sdk-handlers/codex/normalizer.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/codex/normalizer.js +0 -0
- package/dist/executor/sdk-handlers/codex/prompt-service.d.ts +0 -0
- package/dist/executor/sdk-handlers/codex/prompt-service.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/codex/prompt-service.js +0 -0
- package/dist/executor/sdk-handlers/codex/usage.d.ts +0 -0
- package/dist/executor/sdk-handlers/codex/usage.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/codex/usage.js +0 -0
- package/dist/executor/sdk-handlers/gemini/conversation-converter.d.ts +0 -0
- package/dist/executor/sdk-handlers/gemini/conversation-converter.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/gemini/conversation-converter.js +0 -0
- package/dist/executor/sdk-handlers/gemini/gemini-tool.d.ts +0 -0
- package/dist/executor/sdk-handlers/gemini/gemini-tool.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/gemini/gemini-tool.js +0 -0
- package/dist/executor/sdk-handlers/gemini/index.d.ts +0 -0
- package/dist/executor/sdk-handlers/gemini/index.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/gemini/index.js +0 -0
- package/dist/executor/sdk-handlers/gemini/models.d.ts +0 -0
- package/dist/executor/sdk-handlers/gemini/models.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/gemini/models.js +0 -0
- package/dist/executor/sdk-handlers/gemini/normalizer.d.ts +0 -0
- package/dist/executor/sdk-handlers/gemini/normalizer.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/gemini/normalizer.js +0 -0
- package/dist/executor/sdk-handlers/gemini/permission-mapper.d.ts +0 -0
- package/dist/executor/sdk-handlers/gemini/permission-mapper.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/gemini/permission-mapper.js +0 -0
- package/dist/executor/sdk-handlers/gemini/prompt-service.d.ts +0 -0
- package/dist/executor/sdk-handlers/gemini/prompt-service.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/gemini/prompt-service.js +0 -0
- package/dist/executor/sdk-handlers/gemini/usage.d.ts +0 -0
- package/dist/executor/sdk-handlers/gemini/usage.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/gemini/usage.js +0 -0
- package/dist/executor/sdk-handlers/models.d.ts +0 -0
- package/dist/executor/sdk-handlers/models.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/models.js +0 -0
- package/dist/executor/sdk-handlers/normalizer-factory.d.ts +0 -0
- package/dist/executor/sdk-handlers/normalizer-factory.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/normalizer-factory.js +0 -0
- package/dist/executor/sdk-handlers/opencode/index.d.ts +0 -0
- package/dist/executor/sdk-handlers/opencode/index.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/opencode/index.js +0 -0
- package/dist/executor/sdk-handlers/opencode/opencode-tool.d.ts +0 -0
- package/dist/executor/sdk-handlers/opencode/opencode-tool.d.ts.map +0 -0
- package/dist/executor/sdk-handlers/opencode/opencode-tool.js +0 -0
- package/dist/executor/services/feathers-client.d.ts +0 -0
- package/dist/executor/services/feathers-client.d.ts.map +0 -0
- package/dist/executor/services/feathers-client.js +0 -0
- package/dist/executor/types/sdk-response.d.ts +0 -0
- package/dist/executor/types/sdk-response.d.ts.map +0 -0
- package/dist/executor/types/sdk-response.js +0 -0
- package/dist/executor/types/token-usage.d.ts +0 -0
- package/dist/executor/types/token-usage.d.ts.map +0 -0
- package/dist/executor/types/token-usage.js +0 -0
- package/dist/executor/types.d.ts +0 -0
- package/dist/executor/types.d.ts.map +0 -0
- package/dist/executor/types.js +0 -0
- package/dist/ui/assets/{CodeEditor.inner-bDJMowpz.js → CodeEditor.inner-CO-5PAnZ.js} +1 -1
- package/dist/ui/assets/CodeEditor.inner-CO-5PAnZ.js.gz +0 -0
- package/dist/ui/assets/{_basePickBy-Bp06Otx8.js → _basePickBy-DfxojsEt.js} +1 -1
- package/dist/ui/assets/_basePickBy-DfxojsEt.js.gz +0 -0
- package/dist/ui/assets/{_baseUniq-BfcctmWO.js → _baseUniq-DWFPJOTC.js} +1 -1
- package/dist/ui/assets/_baseUniq-DWFPJOTC.js.gz +0 -0
- package/dist/ui/assets/{arc-CNqJvXfe.js → arc-vMZ_XGSI.js} +1 -1
- package/dist/ui/assets/arc-vMZ_XGSI.js.gz +0 -0
- package/dist/ui/assets/{architectureDiagram-VXUJARFQ-Lda-Lg4v.js → architectureDiagram-VXUJARFQ-DGpk_uOD.js} +1 -1
- package/dist/ui/assets/architectureDiagram-VXUJARFQ-DGpk_uOD.js.gz +0 -0
- package/dist/ui/assets/{base-80a1f760-If1fxi5k.js → base-80a1f760-BsVlOKqO.js} +1 -1
- package/dist/ui/assets/{blockDiagram-VD42YOAC-CziS0xWd.js → blockDiagram-VD42YOAC-BkRnxc94.js} +1 -1
- package/dist/ui/assets/blockDiagram-VD42YOAC-BkRnxc94.js.gz +0 -0
- package/dist/ui/assets/{c4Diagram-YG6GDRKO-Cu_7Cpwg.js → c4Diagram-YG6GDRKO-Dcf-anJy.js} +1 -1
- package/dist/ui/assets/c4Diagram-YG6GDRKO-Dcf-anJy.js.gz +0 -0
- package/dist/ui/assets/channel-B9aI4bYN.js +1 -0
- package/dist/ui/assets/{chunk-4BX2VUAB-CL7awCKO.js → chunk-4BX2VUAB-C4oVWDo8.js} +1 -1
- package/dist/ui/assets/{chunk-55IACEB6-CdEpihRe.js → chunk-55IACEB6-CsBbTu57.js} +1 -1
- package/dist/ui/assets/{chunk-B4BG7PRW-CJZNfnap.js → chunk-B4BG7PRW-DtkeCZab.js} +1 -1
- package/dist/ui/assets/chunk-B4BG7PRW-DtkeCZab.js.gz +0 -0
- package/dist/ui/assets/{chunk-DI55MBZ5-CVxoCWqP.js → chunk-DI55MBZ5-BQ_asW-1.js} +1 -1
- package/dist/ui/assets/chunk-DI55MBZ5-BQ_asW-1.js.gz +0 -0
- package/dist/ui/assets/{chunk-FMBD7UC4-DP03W4uO.js → chunk-FMBD7UC4-DAdcLNG-.js} +1 -1
- package/dist/ui/assets/{chunk-QN33PNHL-BAZubWUQ.js → chunk-QN33PNHL-Do2zad3m.js} +1 -1
- package/dist/ui/assets/{chunk-QZHKN3VN-BzRHvECc.js → chunk-QZHKN3VN-CyhMmSdC.js} +1 -1
- package/dist/ui/assets/{chunk-TZMSLE5B-iEWip6lm.js → chunk-TZMSLE5B-DlPypnIq.js} +1 -1
- package/dist/ui/assets/chunk-TZMSLE5B-DlPypnIq.js.gz +0 -0
- package/dist/ui/assets/classDiagram-2ON5EDUG-p-68WO4Z.js +1 -0
- package/dist/ui/assets/classDiagram-v2-WZHVMYZB-p-68WO4Z.js +1 -0
- package/dist/ui/assets/clone-DzK5ogfn.js +1 -0
- package/dist/ui/assets/{consoleHook-59e792cb-CVUkgtJ5.js → consoleHook-59e792cb-DHYIclEd.js} +1 -1
- package/dist/ui/assets/consoleHook-59e792cb-DHYIclEd.js.gz +0 -0
- package/dist/ui/assets/{cose-bilkent-S5V4N54A-CaNMYr_q.js → cose-bilkent-S5V4N54A-DotJH9qH.js} +1 -1
- package/dist/ui/assets/cose-bilkent-S5V4N54A-DotJH9qH.js.gz +0 -0
- package/dist/ui/assets/{dagre-6UL2VRFP-PgKTEyMg.js → dagre-6UL2VRFP-Btssr8QF.js} +1 -1
- package/dist/ui/assets/dagre-6UL2VRFP-Btssr8QF.js.gz +0 -0
- package/dist/ui/assets/{diagram-PSM6KHXK-Bbakw1vV.js → diagram-PSM6KHXK-D5_Jkog3.js} +1 -1
- package/dist/ui/assets/diagram-PSM6KHXK-D5_Jkog3.js.gz +0 -0
- package/dist/ui/assets/{diagram-QEK2KX5R-DORE6MDc.js → diagram-QEK2KX5R-DlPEVSL5.js} +1 -1
- package/dist/ui/assets/diagram-QEK2KX5R-DlPEVSL5.js.gz +0 -0
- package/dist/ui/assets/{diagram-S2PKOQOG-CWMSw88L.js → diagram-S2PKOQOG-CjO1k8aG.js} +1 -1
- package/dist/ui/assets/diagram-S2PKOQOG-CjO1k8aG.js.gz +0 -0
- package/dist/ui/assets/{erDiagram-Q2GNP2WA-ClUb9rMg.js → erDiagram-Q2GNP2WA-3cO02-K3.js} +1 -1
- package/dist/ui/assets/erDiagram-Q2GNP2WA-3cO02-K3.js.gz +0 -0
- package/dist/ui/assets/{flowDiagram-NV44I4VS-NGGzalyO.js → flowDiagram-NV44I4VS-CajTpSxI.js} +1 -1
- package/dist/ui/assets/flowDiagram-NV44I4VS-CajTpSxI.js.gz +0 -0
- package/dist/ui/assets/{ganttDiagram-LVOFAZNH-BD2QM47F.js → ganttDiagram-LVOFAZNH-CnY_bV3o.js} +1 -1
- package/dist/ui/assets/ganttDiagram-LVOFAZNH-CnY_bV3o.js.gz +0 -0
- package/dist/ui/assets/{gitGraphDiagram-NY62KEGX-IuwPjdlq.js → gitGraphDiagram-NY62KEGX-CH16bg-j.js} +1 -1
- package/dist/ui/assets/gitGraphDiagram-NY62KEGX-CH16bg-j.js.gz +0 -0
- package/dist/ui/assets/{graph-mTd64UTw.js → graph-IQoZvE3o.js} +1 -1
- package/dist/ui/assets/graph-IQoZvE3o.js.gz +0 -0
- package/dist/ui/assets/{index-599aeaf7-C31VkrEQ.js → index-599aeaf7-RUCkgwsg.js} +1 -1
- package/dist/ui/assets/index-599aeaf7-RUCkgwsg.js.gz +0 -0
- package/dist/ui/assets/{index-BmF5q3WZ.js → index-B3AvIgqP.js} +296 -296
- package/dist/ui/assets/index-B3AvIgqP.js.gz +0 -0
- package/dist/ui/assets/{index-DlWtzMCo.js → index-C-quzPWC.js} +1 -1
- package/dist/ui/assets/index-C-quzPWC.js.gz +0 -0
- package/dist/ui/assets/{index-cfuYAmaV.js → index-ChmRuj_T.js} +1 -1
- package/dist/ui/assets/index-ChmRuj_T.js.gz +0 -0
- package/dist/ui/assets/{index-DlTdTyWM.js → index-QV5-5yA2.js} +1 -1
- package/dist/ui/assets/index-QV5-5yA2.js.gz +0 -0
- package/dist/ui/assets/{infoDiagram-ER5ION4S-DPQFLihF.js → infoDiagram-ER5ION4S-2e4gZVGT.js} +1 -1
- package/dist/ui/assets/{journeyDiagram-XKPGCS4Q-DTcUc9R_.js → journeyDiagram-XKPGCS4Q-B5bgV3GH.js} +1 -1
- package/dist/ui/assets/journeyDiagram-XKPGCS4Q-B5bgV3GH.js.gz +0 -0
- package/dist/ui/assets/{kanban-definition-3W4ZIXB7-BS9ZD8g6.js → kanban-definition-3W4ZIXB7-Bp-aWRSc.js} +1 -1
- package/dist/ui/assets/kanban-definition-3W4ZIXB7-Bp-aWRSc.js.gz +0 -0
- package/dist/ui/assets/{layout-BjEUAE2D.js → layout-BH-2XJZq.js} +1 -1
- package/dist/ui/assets/layout-BH-2XJZq.js.gz +0 -0
- package/dist/ui/assets/{linear-CLcpJ4o5.js → linear-DCYXhl_f.js} +1 -1
- package/dist/ui/assets/linear-DCYXhl_f.js.gz +0 -0
- package/dist/ui/assets/{mermaid.core-Br1XtbEr.js → mermaid.core-BAuL6kgQ.js} +5 -5
- package/dist/ui/assets/mermaid.core-BAuL6kgQ.js.gz +0 -0
- package/dist/ui/assets/{mindmap-definition-VGOIOE7T-0S9U22YV.js → mindmap-definition-VGOIOE7T-DpH5N-N0.js} +1 -1
- package/dist/ui/assets/mindmap-definition-VGOIOE7T-DpH5N-N0.js.gz +0 -0
- package/dist/ui/assets/{pieDiagram-ADFJNKIX-4yBZb57e.js → pieDiagram-ADFJNKIX-BB8fBxj1.js} +1 -1
- package/dist/ui/assets/pieDiagram-ADFJNKIX-BB8fBxj1.js.gz +0 -0
- package/dist/ui/assets/{quadrantDiagram-AYHSOK5B-BGdI-z0e.js → quadrantDiagram-AYHSOK5B-D6oZLdUD.js} +1 -1
- package/dist/ui/assets/quadrantDiagram-AYHSOK5B-D6oZLdUD.js.gz +0 -0
- package/dist/ui/assets/{requirementDiagram-UZGBJVZJ-CfZa19uA.js → requirementDiagram-UZGBJVZJ-B4uGPp8w.js} +1 -1
- package/dist/ui/assets/requirementDiagram-UZGBJVZJ-B4uGPp8w.js.gz +0 -0
- package/dist/ui/assets/{sankeyDiagram-TZEHDZUN-uFBRhhPF.js → sankeyDiagram-TZEHDZUN-MXhIjhme.js} +1 -1
- package/dist/ui/assets/sankeyDiagram-TZEHDZUN-MXhIjhme.js.gz +0 -0
- package/dist/ui/assets/{sequenceDiagram-WL72ISMW-BdGgfhvi.js → sequenceDiagram-WL72ISMW-Cm53TYug.js} +1 -1
- package/dist/ui/assets/sequenceDiagram-WL72ISMW-Cm53TYug.js.gz +0 -0
- package/dist/ui/assets/{stateDiagram-FKZM4ZOC-DKkzcGoH.js → stateDiagram-FKZM4ZOC-BVuxUkj5.js} +1 -1
- package/dist/ui/assets/stateDiagram-FKZM4ZOC-BVuxUkj5.js.gz +0 -0
- package/dist/ui/assets/stateDiagram-v2-4FDKWEC3-8Jeww6Dc.js +1 -0
- package/dist/ui/assets/{timeline-definition-IT6M3QCI-BDzprIh8.js → timeline-definition-IT6M3QCI-CMypNiEP.js} +1 -1
- package/dist/ui/assets/timeline-definition-IT6M3QCI-CMypNiEP.js.gz +0 -0
- package/dist/ui/assets/{treemap-KMMF4GRG-BjxPgjXQ.js → treemap-KMMF4GRG-BEtnV3BT.js} +1 -1
- package/dist/ui/assets/{treemap-KMMF4GRG-BjxPgjXQ.js.gz → treemap-KMMF4GRG-BEtnV3BT.js.gz} +0 -0
- package/dist/ui/assets/{xychartDiagram-PRI3JC2R-DVGB7LfP.js → xychartDiagram-PRI3JC2R-BnioEYUM.js} +1 -1
- package/dist/ui/assets/xychartDiagram-PRI3JC2R-BnioEYUM.js.gz +0 -0
- package/dist/ui/index.html +1 -1
- package/package.json +7 -7
- package/dist/ui/assets/CodeEditor.inner-bDJMowpz.js.gz +0 -0
- package/dist/ui/assets/_basePickBy-Bp06Otx8.js.gz +0 -0
- package/dist/ui/assets/_baseUniq-BfcctmWO.js.gz +0 -0
- package/dist/ui/assets/arc-CNqJvXfe.js.gz +0 -0
- package/dist/ui/assets/architectureDiagram-VXUJARFQ-Lda-Lg4v.js.gz +0 -0
- package/dist/ui/assets/blockDiagram-VD42YOAC-CziS0xWd.js.gz +0 -0
- package/dist/ui/assets/c4Diagram-YG6GDRKO-Cu_7Cpwg.js.gz +0 -0
- package/dist/ui/assets/channel-CTywVsey.js +0 -1
- package/dist/ui/assets/chunk-B4BG7PRW-CJZNfnap.js.gz +0 -0
- package/dist/ui/assets/chunk-DI55MBZ5-CVxoCWqP.js.gz +0 -0
- package/dist/ui/assets/chunk-TZMSLE5B-iEWip6lm.js.gz +0 -0
- package/dist/ui/assets/classDiagram-2ON5EDUG-DZGEyZn1.js +0 -1
- package/dist/ui/assets/classDiagram-v2-WZHVMYZB-DZGEyZn1.js +0 -1
- package/dist/ui/assets/clone-DTzUqr7D.js +0 -1
- package/dist/ui/assets/consoleHook-59e792cb-CVUkgtJ5.js.gz +0 -0
- package/dist/ui/assets/cose-bilkent-S5V4N54A-CaNMYr_q.js.gz +0 -0
- package/dist/ui/assets/dagre-6UL2VRFP-PgKTEyMg.js.gz +0 -0
- package/dist/ui/assets/diagram-PSM6KHXK-Bbakw1vV.js.gz +0 -0
- package/dist/ui/assets/diagram-QEK2KX5R-DORE6MDc.js.gz +0 -0
- package/dist/ui/assets/diagram-S2PKOQOG-CWMSw88L.js.gz +0 -0
- package/dist/ui/assets/erDiagram-Q2GNP2WA-ClUb9rMg.js.gz +0 -0
- package/dist/ui/assets/flowDiagram-NV44I4VS-NGGzalyO.js.gz +0 -0
- package/dist/ui/assets/ganttDiagram-LVOFAZNH-BD2QM47F.js.gz +0 -0
- package/dist/ui/assets/gitGraphDiagram-NY62KEGX-IuwPjdlq.js.gz +0 -0
- package/dist/ui/assets/graph-mTd64UTw.js.gz +0 -0
- package/dist/ui/assets/index-599aeaf7-C31VkrEQ.js.gz +0 -0
- package/dist/ui/assets/index-BmF5q3WZ.js.gz +0 -0
- package/dist/ui/assets/index-DlTdTyWM.js.gz +0 -0
- package/dist/ui/assets/index-DlWtzMCo.js.gz +0 -0
- package/dist/ui/assets/index-cfuYAmaV.js.gz +0 -0
- package/dist/ui/assets/journeyDiagram-XKPGCS4Q-DTcUc9R_.js.gz +0 -0
- package/dist/ui/assets/kanban-definition-3W4ZIXB7-BS9ZD8g6.js.gz +0 -0
- package/dist/ui/assets/layout-BjEUAE2D.js.gz +0 -0
- package/dist/ui/assets/linear-CLcpJ4o5.js.gz +0 -0
- package/dist/ui/assets/mermaid.core-Br1XtbEr.js.gz +0 -0
- package/dist/ui/assets/mindmap-definition-VGOIOE7T-0S9U22YV.js.gz +0 -0
- package/dist/ui/assets/pieDiagram-ADFJNKIX-4yBZb57e.js.gz +0 -0
- package/dist/ui/assets/quadrantDiagram-AYHSOK5B-BGdI-z0e.js.gz +0 -0
- package/dist/ui/assets/requirementDiagram-UZGBJVZJ-CfZa19uA.js.gz +0 -0
- package/dist/ui/assets/sankeyDiagram-TZEHDZUN-uFBRhhPF.js.gz +0 -0
- package/dist/ui/assets/sequenceDiagram-WL72ISMW-BdGgfhvi.js.gz +0 -0
- package/dist/ui/assets/stateDiagram-FKZM4ZOC-DKkzcGoH.js.gz +0 -0
- package/dist/ui/assets/stateDiagram-v2-4FDKWEC3-DL2_q_1s.js +0 -1
- package/dist/ui/assets/timeline-definition-IT6M3QCI-BDzprIh8.js.gz +0 -0
- package/dist/ui/assets/xychartDiagram-PRI3JC2R-DVGB7LfP.js.gz +0 -0
package/dist/core/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { AgorClient, AgorService, BoardsService, ClientInput, CreatePayload, FindResult, MessagesService, PatchPayload, QueuedSessionPromptResult, ReposLocalService, ReposService, RunningSessionPromptResult, ServiceTypes, SessionPromptOptions, SessionPromptRequest, SessionPromptResult, SessionsClientHelpers, SessionsService, TasksService, UpdatePayload, WorktreesService, createClient, createRestClient, getApiKeyFromEnv, isDaemonRunning, normalizeFindResult } from './api/index.cjs';
|
|
2
2
|
export { AGOR_INTERNAL_ENV_VARS, AGOR_USER_ENV_KEYS_VAR, ALLOWED_ENV_PREFIXES, ALLOWED_ENV_VARS, ApiKeyName, BLOCKED_ENV_PATTERNS, BLOCKED_ENV_VARS, ENV_VAR_CONSTRAINTS, FilterEnvResult, KeyResolutionContext, KeyResolutionResult, ParsedRepoConfig, ParsedResourcesConfig, ParsedUserConfig, ParsedWorktreeConfig, RawStoredEnvVar, RepoAction, ResolveSecurityOptions, ResolveUserEnvOptions, ResolvedCors, ResolvedCsp, ResolvedPassword, ResolvedSecurity, ResourceValidationError, SANDPACK_CSP_FRAME_SRC, SANDPACK_CSP_WORKER_SRC, StoredEnvVar, UserAction, V05_SCOPES, ValidationError, WorktreeAction, assertV05Scope, buildSlugToRepoIdMap, createUserProcessEnvironment, daemonResourcesConfigSchema, determineRepoAction, determineUserAction, determineWorktreeAction, enforcedAgentConfigSchema, filterEnv, formatValidationError, formatValidationErrors, getEnvVarBlockReason, isEnvVarAllowed, isValid, isValidV05Scope, normalizeStoredEnvMap, normalizeStoredEnvVar, parseAgorYml, resolveApiKey, resolveApiKeySync, resolvePassword, resolveSecurity, resolveSystemEnvironment, resolveUserEnvironment, resourceRepoConfigSchema, resourceUserConfigSchema, resourceWorktreeConfigSchema, validateEnvVar, validateResourceCrossReferences, withUserEnvironment, withUserEnvironmentSync, writeAgorYml } from './config/index.cjs';
|
|
3
|
-
export { P as PublicBaseUrlNotConfiguredError, e as ensureCodexHome, a as expandHomePath, g as getAgorHome, b as getBaseUrl, c as getConfigPath, d as getConfigValue, f as getCredential, h as getDaemonUrl, i as getDaemonUser, j as getDataHome, k as getDataHomeAsync, l as getDefaultConfig, m as getReposDir, n as getReposDirAsync, o as getWorktreePath, p as getWorktreesDir, q as getWorktreesDirAsync, r as initConfig, s as isUnixImpersonationEnabled, t as isWorktreeRbacEnabled, u as loadConfig, v as loadConfigFromFile, w as loadConfigSync, x as requireDaemonUser, y as requirePublicBaseUrl, z as resolveCodexHome, A as saveConfig, B as setConfigValue, C as unsetConfigValue } from './config-manager-
|
|
4
|
-
export { AgorYmlSchema, DAEMON, DATABASE, ENVIRONMENT, GIT, MCP_TOKEN, PAGINATION, REPO_SLUG_PATTERN, RepoReference, RepoReferenceOption, SESSION, WEBSOCKET, YamlVariant, extractSlugFromUrl, formatRepoReference, getDefaultRepoReference, getGroupedRepoReferenceOptions, getRepoReferenceOptions, isValidGitUrl, isValidSlug, parseAgorYmlString, parseRepoReference, resolveRepoReference, resolveVariant, resolveVariantOrThrow, validateAgorYmlSchema, validateExtends, validateRepoEnvironment } from './config/browser.cjs';
|
|
5
|
-
export { A as AgorCodexSettings, a as AgorConfig, b as AgorCorsMode, c as AgorCorsSettings, d as AgorCredentials, e as AgorCspDirectives, f as AgorCspSettings, g as AgorDaemonSettings, h as AgorDatabaseSettings, i as AgorDefaults, j as AgorDisplaySettings, k as AgorExecutionSettings, l as AgorOnboardingSettings, m as AgorOpenCodeSettings, n as AgorPathSettings, o as AgorSecuritySettings, p as AgorUISettings, q as AgorWorktreesSettings, C as ConfigKey, r as CredentialKey, M as ManagedEnvsMinimumRole, U as UnixUserMode, s as UnknownJson } from './types-
|
|
3
|
+
export { P as PublicBaseUrlNotConfiguredError, e as ensureCodexHome, a as expandHomePath, g as getAgorHome, b as getBaseUrl, c as getConfigPath, d as getConfigValue, f as getCredential, h as getDaemonUrl, i as getDaemonUser, j as getDataHome, k as getDataHomeAsync, l as getDefaultConfig, m as getReposDir, n as getReposDirAsync, o as getWorktreePath, p as getWorktreesDir, q as getWorktreesDirAsync, r as initConfig, s as isUnixImpersonationEnabled, t as isWorktreeRbacEnabled, u as loadConfig, v as loadConfigFromFile, w as loadConfigSync, x as requireDaemonUser, y as requirePublicBaseUrl, z as resolveCodexHome, A as saveConfig, B as setConfigValue, C as unsetConfigValue } from './config-manager-TxxjFMRd.cjs';
|
|
4
|
+
export { AgorYmlSchema, DAEMON, DATABASE, ENVIRONMENT, GIT, MCP_TOKEN, PAGINATION, REPO_SLUG_PATTERN, RepoReference, RepoReferenceOption, SESSION, WEBSOCKET, YamlVariant, extractSlugFromUrl, formatRepoReference, getDefaultRepoReference, getGroupedRepoReferenceOptions, getRepoReferenceOptions, isValidGitUrl, isValidSlug, normalizeRepoUrl, parseAgorYmlString, parseRepoReference, resolveRepoReference, resolveVariant, resolveVariantOrThrow, validateAgorYmlSchema, validateExtends, validateRepoEnvironment } from './config/browser.cjs';
|
|
5
|
+
export { A as AgorCodexSettings, a as AgorConfig, b as AgorCorsMode, c as AgorCorsSettings, d as AgorCredentials, e as AgorCspDirectives, f as AgorCspSettings, g as AgorDaemonSettings, h as AgorDatabaseSettings, i as AgorDefaults, j as AgorDisplaySettings, k as AgorExecutionSettings, l as AgorOnboardingSettings, m as AgorOpenCodeSettings, n as AgorPathSettings, o as AgorSecuritySettings, p as AgorUISettings, q as AgorWorktreesSettings, C as ConfigKey, r as CredentialKey, M as ManagedEnvsMinimumRole, U as UnixUserMode, s as UnknownJson } from './types-DNqfdt1z.cjs';
|
|
6
6
|
export { ArtifactRepository, BoardCommentsRepository, BoardObjectRepository, BoardRepository, CardRepository, CardTypeRepository, CreateUserData, DEFAULT_ADMIN_USER, DateBucket, GatewayChannelRepository, IdResolutionError, InsertValues, MCPServerRepository, MessagesRepository, MigrationError, MutationResult, PendingMigrationsInfo, RawQueryResult, RepoRepository, SaveTokenInput, SerializedSession, SerializedSessionRepository, SerializedSessionStatus, SessionEnvSelectionRepository, SessionMCPServerRepository, TaskRepository, ThreadSessionMapRepository, UnifiedQuery, UnifiedReturning, UserApiKeyPublic, UserApiKeyRow, UserApiKeysRepository, UserMCPOAuthToken, UserMCPOAuthTokenRepository, UsersRepository, WorktreeRepository, WorktreeSessionActivity, WorktreeWithZone, WorktreeWithZoneAndSessions, artifacts, boardComments, boardObjects, boards, cardTypes, cards, checkMigrationStatus, compare, createDefaultAdminUser, createUser, dateTruncUtc, decryptApiKey, deleteFrom, encryptApiKey, executeAll, executeGet, executeRaw, executeRun, formatPendingMigrationsMessage, formatShortId, gatewayChannels, generateId, generateSlug, generateUniqueSlug, getOne, getUserByEmail, hash, identifyUrlParam, initializeDatabase, insert, insertOne, isEncrypted, isPostgresDatabase, isSQLiteDatabase, isSQLiteUrl, isShortId, jsonExtract, lockRowForUpdate, mcpServers, messages, repos, resolveShortId, runMigrations, seedInitialData, select, serializedSessions, sessionEnvSelections, sessionMcpServers, sessions, tasks, threadSessionMap, txAsDb, update, userApiKeys, userExists, userMcpOauthTokens, users, worktreeOwners, worktrees } from './db/index.cjs';
|
|
7
7
|
export { RenderRepoInput, RenderWorktreeInput, RenderedEnvironmentSnapshot, renderWorktreeSnapshot } from './environment/render-snapshot.cjs';
|
|
8
8
|
export { CloneOptions, CloneProgress, CloneResult, RestoreWorktreeResult, WorktreeInfo, buildWorktreeAddArgs, cleanWorktree, cloneRepo, createWorktree, deleteBranch, deleteRepoDirectory, deleteWorktreeDirectory, extractRepoName, getCurrentBranch, getCurrentSha, getDefaultBranch, getGitState, getRemoteBranches, getRemoteUrl, hasRemoteBranch, isClean, isGitRepo, isLikelyGitToken, isValidGitRepo, listWorktrees, pruneWorktrees, removeWorktree, restoreWorktreeFilesystem, validateGitRef } from './git/index.cjs';
|
|
@@ -12,15 +12,15 @@ export { A as AGENTIC_TOOL_CAPABILITIES, a as AgenticTool, b as AgenticToolCapab
|
|
|
12
12
|
export { A as Artifact, a as ArtifactBuildStatus, b as ArtifactConsoleEntry, c as ArtifactPayload, d as ArtifactStatus, S as SandpackError, e as SandpackManifest } from './artifact-B2AqjUMb.cjs';
|
|
13
13
|
export { A as AppBoardObject, a as ArtifactBoardObject, B as Board, b as BoardEntityObject, c as BoardEntityType, d as BoardExportBlob, e as BoardObject, f as BoardObjectType, g as BoardPosition, C as Card, h as CardID, i as CardType, j as CardTypeID, k as CardWithType, M as MarkdownBoardObject, S as SandpackTemplate, T as TextBoardObject, Z as ZoneBoardObject, l as ZoneTrigger, m as ZoneTriggerBehavior } from './board-D7SnPqp-.cjs';
|
|
14
14
|
export { B as BoardComment, a as BoardCommentCreate, b as BoardCommentPatch, C as CommentAttachmentType, c as CommentReaction, R as ReactionSummary, g as getCommentAttachmentType, d as groupReactions, i as isReply, e as isResolvable, f as isThreadRoot } from './board-comment-DIdOJrSF.cjs';
|
|
15
|
-
export { A as ALLOWED_SERVICE_TIERS, D as DEFAULT_SERVICE_TIER, a as DaemonResourcesConfig, b as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, c as ResourceUserConfig, d as ResourceWorktreeConfig, S as SERVICE_DEPENDENCIES, e as SERVICE_GROUP_NAMES, f as SERVICE_GROUP_TO_MCP_DOMAINS, g as SERVICE_TIERS, h as SERVICE_TIER_RANK, i as ServiceDependencyViolation, j as ServiceGroupName, k as ServiceTier, l as ServiceTierViolation, m as autoPromoteDependencies, n as getServiceTier, o as isServiceEnabled, p as isServiceExternallyAccessible, q as isServiceFullAccess, v as validateAllowedTiers, r as validateServiceDependencies } from './config-services-
|
|
15
|
+
export { A as ALLOWED_SERVICE_TIERS, D as DEFAULT_SERVICE_TIER, a as DaemonResourcesConfig, b as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, c as ResourceUserConfig, d as ResourceWorktreeConfig, S as SERVICE_DEPENDENCIES, e as SERVICE_GROUP_NAMES, f as SERVICE_GROUP_TO_MCP_DOMAINS, g as SERVICE_TIERS, h as SERVICE_TIER_RANK, i as ServiceDependencyViolation, j as ServiceGroupName, k as ServiceTier, l as ServiceTierViolation, m as autoPromoteDependencies, n as getServiceTier, o as isServiceEnabled, p as isServiceExternallyAccessible, q as isServiceFullAccess, v as validateAllowedTiers, r as validateServiceDependencies } from './config-services-YEZ4DwCD.cjs';
|
|
16
16
|
export { C as ContextFileDetail, a as ContextFileListItem, b as ContextFilePath } from './context-BpkCELpO.cjs';
|
|
17
|
-
export { A as AuthenticatedParams, a as AuthenticatedUser, b as AuthenticationResult, B as BaseService, C as CreateHookContext, H as HookContext, Q as QueryParams, R as RBACParams, S as ServiceWithEvents } from './feathers-
|
|
17
|
+
export { A as AuthenticatedParams, a as AuthenticatedUser, b as AuthenticationResult, B as BaseService, C as CreateHookContext, H as HookContext, Q as QueryParams, R as RBACParams, S as ServiceWithEvents } from './feathers-ChZyv3Kj.cjs';
|
|
18
18
|
export { ActiveUser, CreateInput, CursorLeaveEvent, CursorMoveEvent, CursorMovedEvent, DeepReadonly, FileDetail, FileListItem, FileListResponse, FilePath, FlattenObject, PaginatedResult, PartialKeys, RemoteCursor, RequireKeys, SessionViewMode, UpdateInput, isDefined, isNonEmptyString } from './types/index.cjs';
|
|
19
19
|
export { C as ChannelType, G as GatewayAgenticConfig, a as GatewayChannel, b as GatewayChannelID, c as GatewayEnvVar, T as ThreadSessionMap, d as ThreadSessionMapID, e as ThreadStatus } from './gateway-BnOlAelY.cjs';
|
|
20
20
|
export { A as AgenticToolID, a as AnyShortId, b as ArtifactID, B as BoardID, C as CommentID, I as IDPrefix, c as IdInput, M as MessageID, R as RepoID, S as SessionID, d as ShortID, T as TaskID, U as URL_SHORT_ID_LENGTH, e as UUID, f as UserID, W as WorktreeID, g as findByShortIdPrefix, t as toShortId } from './id-CoIbY_uc.cjs';
|
|
21
21
|
export { C as CreateMCPServerInput, J as JSONSchema, M as MCPAuth, a as MCPCapabilities, b as MCPConfigFile, c as MCPPrompt, d as MCPResource, e as MCPScope, f as MCPServer, g as MCPServerFilters, h as MCPServerID, i as MCPServersConfig, j as MCPSource, k as MCPTestResult, l as MCPTool, m as MCPTransport, n as MCP_TOKEN_AUDIENCE, o as MCP_TOKEN_ISSUER, P as PromptArgument, S as SessionMCPServer, T as ToolPermission, U as UpdateMCPServerInput } from './mcp-DC7GLAg2.cjs';
|
|
22
22
|
export { C as ContentBlock, D as DiffEnrichment, F as FileDiff, I as InputRequestContent, a as InputRequestOption, b as InputRequestQuestion, c as InputRequestStatus, M as Message, d as MessageCreate, e as MessageRole, f as MessageSource, g as MessageStatus, h as MessageType, P as PermissionRequestContent, i as PermissionScope, j as PermissionStatus, S as StreamingEventType, k as StructuredPatchHunk, T as ToolUse } from './message-DinITA7a.cjs';
|
|
23
|
-
export { A as AssistantConfig, P as PersistedAgentConfig, R as Repo,
|
|
23
|
+
export { A as AssistantConfig, C as CreateLocalRepoRequest, a as CreateRepoRequest, P as PersistedAgentConfig, R as Repo, b as RepoEnvironment, c as RepoEnvironmentConfig, d as RepoEnvironmentConfigV1, e as RepoEnvironmentVariant, f as RepoSlug, g as RepoType, W as WORKTREE_PERMISSION_LEVELS, h as Worktree, i as WorktreeConfig, j as WorktreeEnvironmentInstance, k as WorktreeName, l as WorktreePermissionLevel, m as WorktreeScheduleConfig, n as getAssistantConfig, o as getPersistedAgentConfig, p as isAssistant, q as isPersistedAgent } from './repo-Ckl-vaAk.cjs';
|
|
24
24
|
export { R as Report, a as ReportPath, b as ReportTemplate, T as Task, c as TaskStatus, i as isNaturalCompletion } from './task-wht1RJEL.cjs';
|
|
25
25
|
export { E as EffortLevel, G as GatewaySource, P as PermissionMode, S as ScheduledRunMetadata, a as Session, b as SessionStatus, c as SessionType, d as SpawnConfig, g as getDefaultPermissionMode, e as getGatewaySource, f as getSessionType, i as isGatewaySession } from './session-MNU4BQv4.cjs';
|
|
26
26
|
export { A as AudioPreferences, B as BaseUserFields, C as ChimeSound, a as CreateUserInput, D as DefaultAgenticConfig, b as DefaultAgenticToolConfig, c as DefaultModelConfig, E as ENV_VAR_SCOPES_V05, d as EnvVarMetadata, e as EnvVarScope, f as EventStreamPreferences, O as OnboardingState, R as ROLES, S as SessionEnvSelection, U as UpdateUserInput, g as User, h as UserApiKey, i as UserPreferences, j as UserRole, k as hasMinimumRole, n as normalizeRole } from './user-DkNdeFoz.cjs';
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { AgorClient, AgorService, BoardsService, ClientInput, CreatePayload, FindResult, MessagesService, PatchPayload, QueuedSessionPromptResult, ReposLocalService, ReposService, RunningSessionPromptResult, ServiceTypes, SessionPromptOptions, SessionPromptRequest, SessionPromptResult, SessionsClientHelpers, SessionsService, TasksService, UpdatePayload, WorktreesService, createClient, createRestClient, getApiKeyFromEnv, isDaemonRunning, normalizeFindResult } from './api/index.js';
|
|
2
2
|
export { AGOR_INTERNAL_ENV_VARS, AGOR_USER_ENV_KEYS_VAR, ALLOWED_ENV_PREFIXES, ALLOWED_ENV_VARS, ApiKeyName, BLOCKED_ENV_PATTERNS, BLOCKED_ENV_VARS, ENV_VAR_CONSTRAINTS, FilterEnvResult, KeyResolutionContext, KeyResolutionResult, ParsedRepoConfig, ParsedResourcesConfig, ParsedUserConfig, ParsedWorktreeConfig, RawStoredEnvVar, RepoAction, ResolveSecurityOptions, ResolveUserEnvOptions, ResolvedCors, ResolvedCsp, ResolvedPassword, ResolvedSecurity, ResourceValidationError, SANDPACK_CSP_FRAME_SRC, SANDPACK_CSP_WORKER_SRC, StoredEnvVar, UserAction, V05_SCOPES, ValidationError, WorktreeAction, assertV05Scope, buildSlugToRepoIdMap, createUserProcessEnvironment, daemonResourcesConfigSchema, determineRepoAction, determineUserAction, determineWorktreeAction, enforcedAgentConfigSchema, filterEnv, formatValidationError, formatValidationErrors, getEnvVarBlockReason, isEnvVarAllowed, isValid, isValidV05Scope, normalizeStoredEnvMap, normalizeStoredEnvVar, parseAgorYml, resolveApiKey, resolveApiKeySync, resolvePassword, resolveSecurity, resolveSystemEnvironment, resolveUserEnvironment, resourceRepoConfigSchema, resourceUserConfigSchema, resourceWorktreeConfigSchema, validateEnvVar, validateResourceCrossReferences, withUserEnvironment, withUserEnvironmentSync, writeAgorYml } from './config/index.js';
|
|
3
|
-
export { P as PublicBaseUrlNotConfiguredError, e as ensureCodexHome, a as expandHomePath, g as getAgorHome, b as getBaseUrl, c as getConfigPath, d as getConfigValue, f as getCredential, h as getDaemonUrl, i as getDaemonUser, j as getDataHome, k as getDataHomeAsync, l as getDefaultConfig, m as getReposDir, n as getReposDirAsync, o as getWorktreePath, p as getWorktreesDir, q as getWorktreesDirAsync, r as initConfig, s as isUnixImpersonationEnabled, t as isWorktreeRbacEnabled, u as loadConfig, v as loadConfigFromFile, w as loadConfigSync, x as requireDaemonUser, y as requirePublicBaseUrl, z as resolveCodexHome, A as saveConfig, B as setConfigValue, C as unsetConfigValue } from './config-manager-
|
|
4
|
-
export { AgorYmlSchema, DAEMON, DATABASE, ENVIRONMENT, GIT, MCP_TOKEN, PAGINATION, REPO_SLUG_PATTERN, RepoReference, RepoReferenceOption, SESSION, WEBSOCKET, YamlVariant, extractSlugFromUrl, formatRepoReference, getDefaultRepoReference, getGroupedRepoReferenceOptions, getRepoReferenceOptions, isValidGitUrl, isValidSlug, parseAgorYmlString, parseRepoReference, resolveRepoReference, resolveVariant, resolveVariantOrThrow, validateAgorYmlSchema, validateExtends, validateRepoEnvironment } from './config/browser.js';
|
|
5
|
-
export { A as AgorCodexSettings, a as AgorConfig, b as AgorCorsMode, c as AgorCorsSettings, d as AgorCredentials, e as AgorCspDirectives, f as AgorCspSettings, g as AgorDaemonSettings, h as AgorDatabaseSettings, i as AgorDefaults, j as AgorDisplaySettings, k as AgorExecutionSettings, l as AgorOnboardingSettings, m as AgorOpenCodeSettings, n as AgorPathSettings, o as AgorSecuritySettings, p as AgorUISettings, q as AgorWorktreesSettings, C as ConfigKey, r as CredentialKey, M as ManagedEnvsMinimumRole, U as UnixUserMode, s as UnknownJson } from './types-
|
|
3
|
+
export { P as PublicBaseUrlNotConfiguredError, e as ensureCodexHome, a as expandHomePath, g as getAgorHome, b as getBaseUrl, c as getConfigPath, d as getConfigValue, f as getCredential, h as getDaemonUrl, i as getDaemonUser, j as getDataHome, k as getDataHomeAsync, l as getDefaultConfig, m as getReposDir, n as getReposDirAsync, o as getWorktreePath, p as getWorktreesDir, q as getWorktreesDirAsync, r as initConfig, s as isUnixImpersonationEnabled, t as isWorktreeRbacEnabled, u as loadConfig, v as loadConfigFromFile, w as loadConfigSync, x as requireDaemonUser, y as requirePublicBaseUrl, z as resolveCodexHome, A as saveConfig, B as setConfigValue, C as unsetConfigValue } from './config-manager-DTrsj6G3.js';
|
|
4
|
+
export { AgorYmlSchema, DAEMON, DATABASE, ENVIRONMENT, GIT, MCP_TOKEN, PAGINATION, REPO_SLUG_PATTERN, RepoReference, RepoReferenceOption, SESSION, WEBSOCKET, YamlVariant, extractSlugFromUrl, formatRepoReference, getDefaultRepoReference, getGroupedRepoReferenceOptions, getRepoReferenceOptions, isValidGitUrl, isValidSlug, normalizeRepoUrl, parseAgorYmlString, parseRepoReference, resolveRepoReference, resolveVariant, resolveVariantOrThrow, validateAgorYmlSchema, validateExtends, validateRepoEnvironment } from './config/browser.js';
|
|
5
|
+
export { A as AgorCodexSettings, a as AgorConfig, b as AgorCorsMode, c as AgorCorsSettings, d as AgorCredentials, e as AgorCspDirectives, f as AgorCspSettings, g as AgorDaemonSettings, h as AgorDatabaseSettings, i as AgorDefaults, j as AgorDisplaySettings, k as AgorExecutionSettings, l as AgorOnboardingSettings, m as AgorOpenCodeSettings, n as AgorPathSettings, o as AgorSecuritySettings, p as AgorUISettings, q as AgorWorktreesSettings, C as ConfigKey, r as CredentialKey, M as ManagedEnvsMinimumRole, U as UnixUserMode, s as UnknownJson } from './types-DqPMmTad.js';
|
|
6
6
|
export { ArtifactRepository, BoardCommentsRepository, BoardObjectRepository, BoardRepository, CardRepository, CardTypeRepository, CreateUserData, DEFAULT_ADMIN_USER, DateBucket, GatewayChannelRepository, IdResolutionError, InsertValues, MCPServerRepository, MessagesRepository, MigrationError, MutationResult, PendingMigrationsInfo, RawQueryResult, RepoRepository, SaveTokenInput, SerializedSession, SerializedSessionRepository, SerializedSessionStatus, SessionEnvSelectionRepository, SessionMCPServerRepository, TaskRepository, ThreadSessionMapRepository, UnifiedQuery, UnifiedReturning, UserApiKeyPublic, UserApiKeyRow, UserApiKeysRepository, UserMCPOAuthToken, UserMCPOAuthTokenRepository, UsersRepository, WorktreeRepository, WorktreeSessionActivity, WorktreeWithZone, WorktreeWithZoneAndSessions, artifacts, boardComments, boardObjects, boards, cardTypes, cards, checkMigrationStatus, compare, createDefaultAdminUser, createUser, dateTruncUtc, decryptApiKey, deleteFrom, encryptApiKey, executeAll, executeGet, executeRaw, executeRun, formatPendingMigrationsMessage, formatShortId, gatewayChannels, generateId, generateSlug, generateUniqueSlug, getOne, getUserByEmail, hash, identifyUrlParam, initializeDatabase, insert, insertOne, isEncrypted, isPostgresDatabase, isSQLiteDatabase, isSQLiteUrl, isShortId, jsonExtract, lockRowForUpdate, mcpServers, messages, repos, resolveShortId, runMigrations, seedInitialData, select, serializedSessions, sessionEnvSelections, sessionMcpServers, sessions, tasks, threadSessionMap, txAsDb, update, userApiKeys, userExists, userMcpOauthTokens, users, worktreeOwners, worktrees } from './db/index.js';
|
|
7
7
|
export { RenderRepoInput, RenderWorktreeInput, RenderedEnvironmentSnapshot, renderWorktreeSnapshot } from './environment/render-snapshot.js';
|
|
8
8
|
export { CloneOptions, CloneProgress, CloneResult, RestoreWorktreeResult, WorktreeInfo, buildWorktreeAddArgs, cleanWorktree, cloneRepo, createWorktree, deleteBranch, deleteRepoDirectory, deleteWorktreeDirectory, extractRepoName, getCurrentBranch, getCurrentSha, getDefaultBranch, getGitState, getRemoteBranches, getRemoteUrl, hasRemoteBranch, isClean, isGitRepo, isLikelyGitToken, isValidGitRepo, listWorktrees, pruneWorktrees, removeWorktree, restoreWorktreeFilesystem, validateGitRef } from './git/index.js';
|
|
@@ -12,15 +12,15 @@ export { A as AGENTIC_TOOL_CAPABILITIES, a as AgenticTool, b as AgenticToolCapab
|
|
|
12
12
|
export { A as Artifact, a as ArtifactBuildStatus, b as ArtifactConsoleEntry, c as ArtifactPayload, d as ArtifactStatus, S as SandpackError, e as SandpackManifest } from './artifact-bMxYKV3b.js';
|
|
13
13
|
export { A as AppBoardObject, a as ArtifactBoardObject, B as Board, b as BoardEntityObject, c as BoardEntityType, d as BoardExportBlob, e as BoardObject, f as BoardObjectType, g as BoardPosition, C as Card, h as CardID, i as CardType, j as CardTypeID, k as CardWithType, M as MarkdownBoardObject, S as SandpackTemplate, T as TextBoardObject, Z as ZoneBoardObject, l as ZoneTrigger, m as ZoneTriggerBehavior } from './board-D3YJ0_ih.js';
|
|
14
14
|
export { B as BoardComment, a as BoardCommentCreate, b as BoardCommentPatch, C as CommentAttachmentType, c as CommentReaction, R as ReactionSummary, g as getCommentAttachmentType, d as groupReactions, i as isReply, e as isResolvable, f as isThreadRoot } from './board-comment-3N-jSgsk.js';
|
|
15
|
-
export { A as ALLOWED_SERVICE_TIERS, D as DEFAULT_SERVICE_TIER, a as DaemonResourcesConfig, b as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, c as ResourceUserConfig, d as ResourceWorktreeConfig, S as SERVICE_DEPENDENCIES, e as SERVICE_GROUP_NAMES, f as SERVICE_GROUP_TO_MCP_DOMAINS, g as SERVICE_TIERS, h as SERVICE_TIER_RANK, i as ServiceDependencyViolation, j as ServiceGroupName, k as ServiceTier, l as ServiceTierViolation, m as autoPromoteDependencies, n as getServiceTier, o as isServiceEnabled, p as isServiceExternallyAccessible, q as isServiceFullAccess, v as validateAllowedTiers, r as validateServiceDependencies } from './config-services-
|
|
15
|
+
export { A as ALLOWED_SERVICE_TIERS, D as DEFAULT_SERVICE_TIER, a as DaemonResourcesConfig, b as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, c as ResourceUserConfig, d as ResourceWorktreeConfig, S as SERVICE_DEPENDENCIES, e as SERVICE_GROUP_NAMES, f as SERVICE_GROUP_TO_MCP_DOMAINS, g as SERVICE_TIERS, h as SERVICE_TIER_RANK, i as ServiceDependencyViolation, j as ServiceGroupName, k as ServiceTier, l as ServiceTierViolation, m as autoPromoteDependencies, n as getServiceTier, o as isServiceEnabled, p as isServiceExternallyAccessible, q as isServiceFullAccess, v as validateAllowedTiers, r as validateServiceDependencies } from './config-services-DcO2GRgh.js';
|
|
16
16
|
export { C as ContextFileDetail, a as ContextFileListItem, b as ContextFilePath } from './context-BpkCELpO.js';
|
|
17
|
-
export { A as AuthenticatedParams, a as AuthenticatedUser, b as AuthenticationResult, B as BaseService, C as CreateHookContext, H as HookContext, Q as QueryParams, R as RBACParams, S as ServiceWithEvents } from './feathers-
|
|
17
|
+
export { A as AuthenticatedParams, a as AuthenticatedUser, b as AuthenticationResult, B as BaseService, C as CreateHookContext, H as HookContext, Q as QueryParams, R as RBACParams, S as ServiceWithEvents } from './feathers-C5QP3fwJ.js';
|
|
18
18
|
export { ActiveUser, CreateInput, CursorLeaveEvent, CursorMoveEvent, CursorMovedEvent, DeepReadonly, FileDetail, FileListItem, FileListResponse, FilePath, FlattenObject, PaginatedResult, PartialKeys, RemoteCursor, RequireKeys, SessionViewMode, UpdateInput, isDefined, isNonEmptyString } from './types/index.js';
|
|
19
19
|
export { C as ChannelType, G as GatewayAgenticConfig, a as GatewayChannel, b as GatewayChannelID, c as GatewayEnvVar, T as ThreadSessionMap, d as ThreadSessionMapID, e as ThreadStatus } from './gateway-B_4X-v07.js';
|
|
20
20
|
export { A as AgenticToolID, a as AnyShortId, b as ArtifactID, B as BoardID, C as CommentID, I as IDPrefix, c as IdInput, M as MessageID, R as RepoID, S as SessionID, d as ShortID, T as TaskID, U as URL_SHORT_ID_LENGTH, e as UUID, f as UserID, W as WorktreeID, g as findByShortIdPrefix, t as toShortId } from './id-CoIbY_uc.js';
|
|
21
21
|
export { C as CreateMCPServerInput, J as JSONSchema, M as MCPAuth, a as MCPCapabilities, b as MCPConfigFile, c as MCPPrompt, d as MCPResource, e as MCPScope, f as MCPServer, g as MCPServerFilters, h as MCPServerID, i as MCPServersConfig, j as MCPSource, k as MCPTestResult, l as MCPTool, m as MCPTransport, n as MCP_TOKEN_AUDIENCE, o as MCP_TOKEN_ISSUER, P as PromptArgument, S as SessionMCPServer, T as ToolPermission, U as UpdateMCPServerInput } from './mcp-z5v19H-r.js';
|
|
22
22
|
export { C as ContentBlock, D as DiffEnrichment, F as FileDiff, I as InputRequestContent, a as InputRequestOption, b as InputRequestQuestion, c as InputRequestStatus, M as Message, d as MessageCreate, e as MessageRole, f as MessageSource, g as MessageStatus, h as MessageType, P as PermissionRequestContent, i as PermissionScope, j as PermissionStatus, S as StreamingEventType, k as StructuredPatchHunk, T as ToolUse } from './message-CHUUP6OS.js';
|
|
23
|
-
export { A as AssistantConfig, P as PersistedAgentConfig, R as Repo,
|
|
23
|
+
export { A as AssistantConfig, C as CreateLocalRepoRequest, a as CreateRepoRequest, P as PersistedAgentConfig, R as Repo, b as RepoEnvironment, c as RepoEnvironmentConfig, d as RepoEnvironmentConfigV1, e as RepoEnvironmentVariant, f as RepoSlug, g as RepoType, W as WORKTREE_PERMISSION_LEVELS, h as Worktree, i as WorktreeConfig, j as WorktreeEnvironmentInstance, k as WorktreeName, l as WorktreePermissionLevel, m as WorktreeScheduleConfig, n as getAssistantConfig, o as getPersistedAgentConfig, p as isAssistant, q as isPersistedAgent } from './repo-84E0A2gV.js';
|
|
24
24
|
export { R as Report, a as ReportPath, b as ReportTemplate, T as Task, c as TaskStatus, i as isNaturalCompletion } from './task-BLPFCORT.js';
|
|
25
25
|
export { E as EffortLevel, G as GatewaySource, P as PermissionMode, S as ScheduledRunMetadata, a as Session, b as SessionStatus, c as SessionType, d as SpawnConfig, g as getDefaultPermissionMode, e as getGatewaySource, f as getSessionType, i as isGatewaySession } from './session-CAfhv1qL.js';
|
|
26
26
|
export { A as AudioPreferences, B as BaseUserFields, C as ChimeSound, a as CreateUserInput, D as DefaultAgenticConfig, b as DefaultAgenticToolConfig, c as DefaultModelConfig, E as ENV_VAR_SCOPES_V05, d as EnvVarMetadata, e as EnvVarScope, f as EventStreamPreferences, O as OnboardingState, R as ROLES, S as SessionEnvSelection, U as UpdateUserInput, g as User, h as UserApiKey, i as UserPreferences, j as UserRole, k as hasMinimumRole, n as normalizeRole } from './user-BfVWBmXA.js';
|
package/dist/core/index.js
CHANGED
|
@@ -10787,6 +10787,9 @@ var REPO_SLUG_PATTERN = /^[a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+$/;
|
|
|
10787
10787
|
function isValidSlug(slug) {
|
|
10788
10788
|
return REPO_SLUG_PATTERN.test(slug);
|
|
10789
10789
|
}
|
|
10790
|
+
function normalizeRepoUrl(url) {
|
|
10791
|
+
return url.replace(/\/+$/, "").replace(/\.git$/, "");
|
|
10792
|
+
}
|
|
10790
10793
|
function isValidGitUrl(url) {
|
|
10791
10794
|
const sshPattern = /^(ssh:\/\/)?git@[\w.-]+(:\d+)?[:/][\w./-]+$/;
|
|
10792
10795
|
const httpsPattern = /^https?:\/\/[\w.-]+(:\d+)?\/[\w./-]+$/;
|
|
@@ -14979,6 +14982,7 @@ export {
|
|
|
14979
14982
|
mcpServers3 as mcpServers,
|
|
14980
14983
|
messages3 as messages,
|
|
14981
14984
|
normalizeFindResult,
|
|
14985
|
+
normalizeRepoUrl,
|
|
14982
14986
|
normalizeRole,
|
|
14983
14987
|
normalizeStoredEnvMap,
|
|
14984
14988
|
normalizeStoredEnvVar,
|
|
@@ -825,6 +825,28 @@ interface Repo {
|
|
|
825
825
|
created_at: string;
|
|
826
826
|
last_updated: string;
|
|
827
827
|
}
|
|
828
|
+
/**
|
|
829
|
+
* Request shape for creating/cloning a remote repository from the UI.
|
|
830
|
+
*
|
|
831
|
+
* The UI validates and fills in `slug` and `default_branch` before dispatching,
|
|
832
|
+
* so these are required here. Lower-level service calls (e.g. the MCP
|
|
833
|
+
* `agor_repos_create_remote` tool and `reposService.cloneRepository`) accept
|
|
834
|
+
* a looser shape where slug is optional and derived server-side.
|
|
835
|
+
*/
|
|
836
|
+
interface CreateRepoRequest {
|
|
837
|
+
url: string;
|
|
838
|
+
slug: string;
|
|
839
|
+
default_branch: string;
|
|
840
|
+
}
|
|
841
|
+
/**
|
|
842
|
+
* Request shape for registering an existing local git clone with Agor.
|
|
843
|
+
*
|
|
844
|
+
* Slug is optional — if omitted, the daemon derives it from the directory name.
|
|
845
|
+
*/
|
|
846
|
+
interface CreateLocalRepoRequest {
|
|
847
|
+
path: string;
|
|
848
|
+
slug?: string;
|
|
849
|
+
}
|
|
828
850
|
/**
|
|
829
851
|
* Git worktree configuration
|
|
830
852
|
*
|
|
@@ -890,4 +912,4 @@ interface WorktreeConfig {
|
|
|
890
912
|
last_used: string;
|
|
891
913
|
}
|
|
892
914
|
|
|
893
|
-
export { type AssistantConfig as A, type PersistedAgentConfig as P, type Repo as R, WORKTREE_PERMISSION_LEVELS as W, type
|
|
915
|
+
export { type AssistantConfig as A, type CreateLocalRepoRequest as C, type PersistedAgentConfig as P, type Repo as R, WORKTREE_PERMISSION_LEVELS as W, type CreateRepoRequest as a, type RepoEnvironment as b, type RepoEnvironmentConfig as c, type RepoEnvironmentConfigV1 as d, type RepoEnvironmentVariant as e, type RepoSlug as f, type RepoType as g, type Worktree as h, type WorktreeConfig as i, type WorktreeEnvironmentInstance as j, type WorktreeName as k, type WorktreePermissionLevel as l, type WorktreeScheduleConfig as m, getAssistantConfig as n, getPersistedAgentConfig as o, isAssistant as p, isPersistedAgent as q };
|
|
@@ -825,6 +825,28 @@ interface Repo {
|
|
|
825
825
|
created_at: string;
|
|
826
826
|
last_updated: string;
|
|
827
827
|
}
|
|
828
|
+
/**
|
|
829
|
+
* Request shape for creating/cloning a remote repository from the UI.
|
|
830
|
+
*
|
|
831
|
+
* The UI validates and fills in `slug` and `default_branch` before dispatching,
|
|
832
|
+
* so these are required here. Lower-level service calls (e.g. the MCP
|
|
833
|
+
* `agor_repos_create_remote` tool and `reposService.cloneRepository`) accept
|
|
834
|
+
* a looser shape where slug is optional and derived server-side.
|
|
835
|
+
*/
|
|
836
|
+
interface CreateRepoRequest {
|
|
837
|
+
url: string;
|
|
838
|
+
slug: string;
|
|
839
|
+
default_branch: string;
|
|
840
|
+
}
|
|
841
|
+
/**
|
|
842
|
+
* Request shape for registering an existing local git clone with Agor.
|
|
843
|
+
*
|
|
844
|
+
* Slug is optional — if omitted, the daemon derives it from the directory name.
|
|
845
|
+
*/
|
|
846
|
+
interface CreateLocalRepoRequest {
|
|
847
|
+
path: string;
|
|
848
|
+
slug?: string;
|
|
849
|
+
}
|
|
828
850
|
/**
|
|
829
851
|
* Git worktree configuration
|
|
830
852
|
*
|
|
@@ -890,4 +912,4 @@ interface WorktreeConfig {
|
|
|
890
912
|
last_used: string;
|
|
891
913
|
}
|
|
892
914
|
|
|
893
|
-
export { type AssistantConfig as A, type PersistedAgentConfig as P, type Repo as R, WORKTREE_PERMISSION_LEVELS as W, type
|
|
915
|
+
export { type AssistantConfig as A, type CreateLocalRepoRequest as C, type PersistedAgentConfig as P, type Repo as R, WORKTREE_PERMISSION_LEVELS as W, type CreateRepoRequest as a, type RepoEnvironment as b, type RepoEnvironmentConfig as c, type RepoEnvironmentConfigV1 as d, type RepoEnvironmentVariant as e, type RepoSlug as f, type RepoType as g, type Worktree as h, type WorktreeConfig as i, type WorktreeEnvironmentInstance as j, type WorktreeName as k, type WorktreePermissionLevel as l, type WorktreeScheduleConfig as m, getAssistantConfig as n, getPersistedAgentConfig as o, isAssistant as p, isPersistedAgent as q };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as SessionID, W as WorktreeID, e as UUID } from '../id-CoIbY_uc.cjs';
|
|
2
|
-
import {
|
|
2
|
+
import { h as Worktree, R as Repo } from '../repo-Ckl-vaAk.cjs';
|
|
3
3
|
import { a as Session } from '../session-MNU4BQv4.cjs';
|
|
4
4
|
import { g as User } from '../user-DkNdeFoz.cjs';
|
|
5
5
|
import '../agentic-tool-BulhIUGb.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as SessionID, W as WorktreeID, e as UUID } from '../id-CoIbY_uc.js';
|
|
2
|
-
import {
|
|
2
|
+
import { h as Worktree, R as Repo } from '../repo-84E0A2gV.js';
|
|
3
3
|
import { a as Session } from '../session-CAfhv1qL.js';
|
|
4
4
|
import { g as User } from '../user-BfVWBmXA.js';
|
|
5
5
|
import '../agentic-tool-cYqsU5i5.js';
|
|
@@ -3,9 +3,9 @@ export { A as AGENTIC_TOOL_CAPABILITIES, a as AgenticTool, b as AgenticToolCapab
|
|
|
3
3
|
export { A as Artifact, a as ArtifactBuildStatus, b as ArtifactConsoleEntry, c as ArtifactPayload, d as ArtifactStatus, S as SandpackError, e as SandpackManifest } from '../artifact-B2AqjUMb.cjs';
|
|
4
4
|
export { A as AppBoardObject, a as ArtifactBoardObject, B as Board, b as BoardEntityObject, c as BoardEntityType, d as BoardExportBlob, e as BoardObject, f as BoardObjectType, g as BoardPosition, C as Card, h as CardID, i as CardType, j as CardTypeID, k as CardWithType, M as MarkdownBoardObject, S as SandpackTemplate, T as TextBoardObject, Z as ZoneBoardObject, l as ZoneTrigger, m as ZoneTriggerBehavior } from '../board-D7SnPqp-.cjs';
|
|
5
5
|
export { B as BoardComment, a as BoardCommentCreate, b as BoardCommentPatch, C as CommentAttachmentType, c as CommentReaction, R as ReactionSummary, g as getCommentAttachmentType, d as groupReactions, i as isReply, e as isResolvable, f as isThreadRoot } from '../board-comment-DIdOJrSF.cjs';
|
|
6
|
-
export { A as ALLOWED_SERVICE_TIERS, D as DEFAULT_SERVICE_TIER, a as DaemonResourcesConfig, b as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, c as ResourceUserConfig, d as ResourceWorktreeConfig, S as SERVICE_DEPENDENCIES, e as SERVICE_GROUP_NAMES, f as SERVICE_GROUP_TO_MCP_DOMAINS, g as SERVICE_TIERS, h as SERVICE_TIER_RANK, i as ServiceDependencyViolation, j as ServiceGroupName, k as ServiceTier, l as ServiceTierViolation, m as autoPromoteDependencies, n as getServiceTier, o as isServiceEnabled, p as isServiceExternallyAccessible, q as isServiceFullAccess, v as validateAllowedTiers, r as validateServiceDependencies } from '../config-services-
|
|
6
|
+
export { A as ALLOWED_SERVICE_TIERS, D as DEFAULT_SERVICE_TIER, a as DaemonResourcesConfig, b as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, c as ResourceUserConfig, d as ResourceWorktreeConfig, S as SERVICE_DEPENDENCIES, e as SERVICE_GROUP_NAMES, f as SERVICE_GROUP_TO_MCP_DOMAINS, g as SERVICE_TIERS, h as SERVICE_TIER_RANK, i as ServiceDependencyViolation, j as ServiceGroupName, k as ServiceTier, l as ServiceTierViolation, m as autoPromoteDependencies, n as getServiceTier, o as isServiceEnabled, p as isServiceExternallyAccessible, q as isServiceFullAccess, v as validateAllowedTiers, r as validateServiceDependencies } from '../config-services-YEZ4DwCD.cjs';
|
|
7
7
|
export { C as ContextFileDetail, a as ContextFileListItem, b as ContextFilePath } from '../context-BpkCELpO.cjs';
|
|
8
|
-
export { A as AuthenticatedParams, a as AuthenticatedUser, b as AuthenticationResult, B as BaseService, C as CreateHookContext, H as HookContext, Q as QueryParams, R as RBACParams, S as ServiceWithEvents } from '../feathers-
|
|
8
|
+
export { A as AuthenticatedParams, a as AuthenticatedUser, b as AuthenticationResult, B as BaseService, C as CreateHookContext, H as HookContext, Q as QueryParams, R as RBACParams, S as ServiceWithEvents } from '../feathers-ChZyv3Kj.cjs';
|
|
9
9
|
export { C as ChannelType, G as GatewayAgenticConfig, a as GatewayChannel, b as GatewayChannelID, c as GatewayEnvVar, T as ThreadSessionMap, d as ThreadSessionMapID, e as ThreadStatus } from '../gateway-BnOlAelY.cjs';
|
|
10
10
|
import { B as BoardID } from '../id-CoIbY_uc.cjs';
|
|
11
11
|
export { A as AgenticToolID, a as AnyShortId, b as ArtifactID, C as CommentID, I as IDPrefix, c as IdInput, M as MessageID, R as RepoID, S as SessionID, d as ShortID, T as TaskID, U as URL_SHORT_ID_LENGTH, e as UUID, f as UserID, W as WorktreeID, g as findByShortIdPrefix, t as toShortId } from '../id-CoIbY_uc.cjs';
|
|
@@ -13,7 +13,7 @@ export { C as CreateMCPServerInput, J as JSONSchema, M as MCPAuth, a as MCPCapab
|
|
|
13
13
|
export { C as ContentBlock, D as DiffEnrichment, F as FileDiff, I as InputRequestContent, a as InputRequestOption, b as InputRequestQuestion, c as InputRequestStatus, M as Message, d as MessageCreate, e as MessageRole, f as MessageSource, g as MessageStatus, h as MessageType, P as PermissionRequestContent, i as PermissionScope, j as PermissionStatus, S as StreamingEventType, k as StructuredPatchHunk, T as ToolUse } from '../message-DinITA7a.cjs';
|
|
14
14
|
import { g as User } from '../user-DkNdeFoz.cjs';
|
|
15
15
|
export { A as AudioPreferences, B as BaseUserFields, C as ChimeSound, a as CreateUserInput, D as DefaultAgenticConfig, b as DefaultAgenticToolConfig, c as DefaultModelConfig, E as ENV_VAR_SCOPES_V05, d as EnvVarMetadata, e as EnvVarScope, f as EventStreamPreferences, O as OnboardingState, R as ROLES, S as SessionEnvSelection, U as UpdateUserInput, h as UserApiKey, i as UserPreferences, j as UserRole, k as hasMinimumRole, n as normalizeRole } from '../user-DkNdeFoz.cjs';
|
|
16
|
-
export { A as AssistantConfig, P as PersistedAgentConfig, R as Repo,
|
|
16
|
+
export { A as AssistantConfig, C as CreateLocalRepoRequest, a as CreateRepoRequest, P as PersistedAgentConfig, R as Repo, b as RepoEnvironment, c as RepoEnvironmentConfig, d as RepoEnvironmentConfigV1, e as RepoEnvironmentVariant, f as RepoSlug, g as RepoType, W as WORKTREE_PERMISSION_LEVELS, h as Worktree, i as WorktreeConfig, j as WorktreeEnvironmentInstance, k as WorktreeName, l as WorktreePermissionLevel, m as WorktreeScheduleConfig, n as getAssistantConfig, o as getPersistedAgentConfig, p as isAssistant, q as isPersistedAgent } from '../repo-Ckl-vaAk.cjs';
|
|
17
17
|
export { R as Report, a as ReportPath, b as ReportTemplate, T as Task, c as TaskStatus, i as isNaturalCompletion } from '../task-wht1RJEL.cjs';
|
|
18
18
|
export { E as EffortLevel, G as GatewaySource, P as PermissionMode, S as ScheduledRunMetadata, a as Session, b as SessionStatus, c as SessionType, d as SpawnConfig, g as getDefaultPermissionMode, e as getGatewaySource, f as getSessionType, i as isGatewaySession } from '../session-MNU4BQv4.cjs';
|
|
19
19
|
export { Id, NullableId, Paginated, Params, Service, ServiceMethods } from '@feathersjs/feathers';
|
|
@@ -3,9 +3,9 @@ export { A as AGENTIC_TOOL_CAPABILITIES, a as AgenticTool, b as AgenticToolCapab
|
|
|
3
3
|
export { A as Artifact, a as ArtifactBuildStatus, b as ArtifactConsoleEntry, c as ArtifactPayload, d as ArtifactStatus, S as SandpackError, e as SandpackManifest } from '../artifact-bMxYKV3b.js';
|
|
4
4
|
export { A as AppBoardObject, a as ArtifactBoardObject, B as Board, b as BoardEntityObject, c as BoardEntityType, d as BoardExportBlob, e as BoardObject, f as BoardObjectType, g as BoardPosition, C as Card, h as CardID, i as CardType, j as CardTypeID, k as CardWithType, M as MarkdownBoardObject, S as SandpackTemplate, T as TextBoardObject, Z as ZoneBoardObject, l as ZoneTrigger, m as ZoneTriggerBehavior } from '../board-D3YJ0_ih.js';
|
|
5
5
|
export { B as BoardComment, a as BoardCommentCreate, b as BoardCommentPatch, C as CommentAttachmentType, c as CommentReaction, R as ReactionSummary, g as getCommentAttachmentType, d as groupReactions, i as isReply, e as isResolvable, f as isThreadRoot } from '../board-comment-3N-jSgsk.js';
|
|
6
|
-
export { A as ALLOWED_SERVICE_TIERS, D as DEFAULT_SERVICE_TIER, a as DaemonResourcesConfig, b as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, c as ResourceUserConfig, d as ResourceWorktreeConfig, S as SERVICE_DEPENDENCIES, e as SERVICE_GROUP_NAMES, f as SERVICE_GROUP_TO_MCP_DOMAINS, g as SERVICE_TIERS, h as SERVICE_TIER_RANK, i as ServiceDependencyViolation, j as ServiceGroupName, k as ServiceTier, l as ServiceTierViolation, m as autoPromoteDependencies, n as getServiceTier, o as isServiceEnabled, p as isServiceExternallyAccessible, q as isServiceFullAccess, v as validateAllowedTiers, r as validateServiceDependencies } from '../config-services-
|
|
6
|
+
export { A as ALLOWED_SERVICE_TIERS, D as DEFAULT_SERVICE_TIER, a as DaemonResourcesConfig, b as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, c as ResourceUserConfig, d as ResourceWorktreeConfig, S as SERVICE_DEPENDENCIES, e as SERVICE_GROUP_NAMES, f as SERVICE_GROUP_TO_MCP_DOMAINS, g as SERVICE_TIERS, h as SERVICE_TIER_RANK, i as ServiceDependencyViolation, j as ServiceGroupName, k as ServiceTier, l as ServiceTierViolation, m as autoPromoteDependencies, n as getServiceTier, o as isServiceEnabled, p as isServiceExternallyAccessible, q as isServiceFullAccess, v as validateAllowedTiers, r as validateServiceDependencies } from '../config-services-DcO2GRgh.js';
|
|
7
7
|
export { C as ContextFileDetail, a as ContextFileListItem, b as ContextFilePath } from '../context-BpkCELpO.js';
|
|
8
|
-
export { A as AuthenticatedParams, a as AuthenticatedUser, b as AuthenticationResult, B as BaseService, C as CreateHookContext, H as HookContext, Q as QueryParams, R as RBACParams, S as ServiceWithEvents } from '../feathers-
|
|
8
|
+
export { A as AuthenticatedParams, a as AuthenticatedUser, b as AuthenticationResult, B as BaseService, C as CreateHookContext, H as HookContext, Q as QueryParams, R as RBACParams, S as ServiceWithEvents } from '../feathers-C5QP3fwJ.js';
|
|
9
9
|
export { C as ChannelType, G as GatewayAgenticConfig, a as GatewayChannel, b as GatewayChannelID, c as GatewayEnvVar, T as ThreadSessionMap, d as ThreadSessionMapID, e as ThreadStatus } from '../gateway-B_4X-v07.js';
|
|
10
10
|
import { B as BoardID } from '../id-CoIbY_uc.js';
|
|
11
11
|
export { A as AgenticToolID, a as AnyShortId, b as ArtifactID, C as CommentID, I as IDPrefix, c as IdInput, M as MessageID, R as RepoID, S as SessionID, d as ShortID, T as TaskID, U as URL_SHORT_ID_LENGTH, e as UUID, f as UserID, W as WorktreeID, g as findByShortIdPrefix, t as toShortId } from '../id-CoIbY_uc.js';
|
|
@@ -13,7 +13,7 @@ export { C as CreateMCPServerInput, J as JSONSchema, M as MCPAuth, a as MCPCapab
|
|
|
13
13
|
export { C as ContentBlock, D as DiffEnrichment, F as FileDiff, I as InputRequestContent, a as InputRequestOption, b as InputRequestQuestion, c as InputRequestStatus, M as Message, d as MessageCreate, e as MessageRole, f as MessageSource, g as MessageStatus, h as MessageType, P as PermissionRequestContent, i as PermissionScope, j as PermissionStatus, S as StreamingEventType, k as StructuredPatchHunk, T as ToolUse } from '../message-CHUUP6OS.js';
|
|
14
14
|
import { g as User } from '../user-BfVWBmXA.js';
|
|
15
15
|
export { A as AudioPreferences, B as BaseUserFields, C as ChimeSound, a as CreateUserInput, D as DefaultAgenticConfig, b as DefaultAgenticToolConfig, c as DefaultModelConfig, E as ENV_VAR_SCOPES_V05, d as EnvVarMetadata, e as EnvVarScope, f as EventStreamPreferences, O as OnboardingState, R as ROLES, S as SessionEnvSelection, U as UpdateUserInput, h as UserApiKey, i as UserPreferences, j as UserRole, k as hasMinimumRole, n as normalizeRole } from '../user-BfVWBmXA.js';
|
|
16
|
-
export { A as AssistantConfig, P as PersistedAgentConfig, R as Repo,
|
|
16
|
+
export { A as AssistantConfig, C as CreateLocalRepoRequest, a as CreateRepoRequest, P as PersistedAgentConfig, R as Repo, b as RepoEnvironment, c as RepoEnvironmentConfig, d as RepoEnvironmentConfigV1, e as RepoEnvironmentVariant, f as RepoSlug, g as RepoType, W as WORKTREE_PERMISSION_LEVELS, h as Worktree, i as WorktreeConfig, j as WorktreeEnvironmentInstance, k as WorktreeName, l as WorktreePermissionLevel, m as WorktreeScheduleConfig, n as getAssistantConfig, o as getPersistedAgentConfig, p as isAssistant, q as isPersistedAgent } from '../repo-84E0A2gV.js';
|
|
17
17
|
export { R as Report, a as ReportPath, b as ReportTemplate, T as Task, c as TaskStatus, i as isNaturalCompletion } from '../task-BLPFCORT.js';
|
|
18
18
|
export { E as EffortLevel, G as GatewaySource, P as PermissionMode, S as ScheduledRunMetadata, a as Session, b as SessionStatus, c as SessionType, d as SpawnConfig, g as getDefaultPermissionMode, e as getGatewaySource, f as getSessionType, i as isGatewaySession } from '../session-CAfhv1qL.js';
|
|
19
19
|
export { Id, NullableId, Paginated, Params, Service, ServiceMethods } from '@feathersjs/feathers';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as DaemonResourcesConfig, b as DaemonServicesConfig } from './config-services-
|
|
1
|
+
import { a as DaemonResourcesConfig, b as DaemonServicesConfig } from './config-services-YEZ4DwCD.cjs';
|
|
2
2
|
import { j as UserRole } from './user-DkNdeFoz.cjs';
|
|
3
|
-
import {
|
|
3
|
+
import { l as WorktreePermissionLevel } from './repo-Ckl-vaAk.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Minimum role allowed to trigger managed environment commands
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as DaemonResourcesConfig, b as DaemonServicesConfig } from './config-services-
|
|
1
|
+
import { a as DaemonResourcesConfig, b as DaemonServicesConfig } from './config-services-DcO2GRgh.js';
|
|
2
2
|
import { j as UserRole } from './user-BfVWBmXA.js';
|
|
3
|
-
import {
|
|
3
|
+
import { l as WorktreePermissionLevel } from './repo-84E0A2gV.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Minimum role allowed to trigger managed environment commands
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SpawnOptions, ChildProcess } from 'node:child_process';
|
|
2
2
|
import { j as Database } from '../client-B5PyIvNc.cjs';
|
|
3
|
-
import {
|
|
3
|
+
import { h as Worktree } from '../repo-Ckl-vaAk.cjs';
|
|
4
4
|
import { R as RepoID, W as WorktreeID, e as UUID, f as UserID } from '../id-CoIbY_uc.cjs';
|
|
5
|
-
import { U as UnixUserMode } from '../types-
|
|
5
|
+
import { U as UnixUserMode } from '../types-DNqfdt1z.cjs';
|
|
6
6
|
import 'drizzle-orm/libsql';
|
|
7
7
|
import 'drizzle-orm/postgres-js';
|
|
8
8
|
import 'drizzle-orm';
|
|
@@ -14,7 +14,7 @@ import '../context-BpkCELpO.cjs';
|
|
|
14
14
|
import '../task-wht1RJEL.cjs';
|
|
15
15
|
import 'drizzle-orm/pg-core';
|
|
16
16
|
import 'drizzle-orm/sqlite-core';
|
|
17
|
-
import '../config-services-
|
|
17
|
+
import '../config-services-YEZ4DwCD.cjs';
|
|
18
18
|
import '../user-DkNdeFoz.cjs';
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SpawnOptions, ChildProcess } from 'node:child_process';
|
|
2
2
|
import { j as Database } from '../client-C1CsRi19.js';
|
|
3
|
-
import {
|
|
3
|
+
import { h as Worktree } from '../repo-84E0A2gV.js';
|
|
4
4
|
import { R as RepoID, W as WorktreeID, e as UUID, f as UserID } from '../id-CoIbY_uc.js';
|
|
5
|
-
import { U as UnixUserMode } from '../types-
|
|
5
|
+
import { U as UnixUserMode } from '../types-DqPMmTad.js';
|
|
6
6
|
import 'drizzle-orm/libsql';
|
|
7
7
|
import 'drizzle-orm/postgres-js';
|
|
8
8
|
import 'drizzle-orm';
|
|
@@ -14,7 +14,7 @@ import '../context-BpkCELpO.js';
|
|
|
14
14
|
import '../task-BLPFCORT.js';
|
|
15
15
|
import 'drizzle-orm/pg-core';
|
|
16
16
|
import 'drizzle-orm/sqlite-core';
|
|
17
|
-
import '../config-services-
|
|
17
|
+
import '../config-services-DcO2GRgh.js';
|
|
18
18
|
import '../user-BfVWBmXA.js';
|
|
19
19
|
|
|
20
20
|
/**
|
package/dist/daemon/index.js
CHANGED
|
@@ -28550,6 +28550,7 @@ import {
|
|
|
28550
28550
|
isValidGitUrl as isValidGitUrl2,
|
|
28551
28551
|
isValidSlug as isValidSlug2,
|
|
28552
28552
|
isWorktreeRbacEnabled as isWorktreeRbacEnabled3,
|
|
28553
|
+
normalizeRepoUrl,
|
|
28553
28554
|
PAGINATION as PAGINATION9,
|
|
28554
28555
|
parseAgorYml,
|
|
28555
28556
|
resolveUserEnvironment,
|
|
@@ -28647,13 +28648,16 @@ var ReposService = class extends DrizzleService {
|
|
|
28647
28648
|
* Client receives 'repos.created' WebSocket event when complete.
|
|
28648
28649
|
*/
|
|
28649
28650
|
async cloneRepository(data, params) {
|
|
28650
|
-
|
|
28651
|
+
let slug = data.slug || data.name;
|
|
28651
28652
|
if (!slug) {
|
|
28652
|
-
|
|
28653
|
+
slug = extractSlugFromUrl2(normalizeRepoUrl(data.url));
|
|
28654
|
+
}
|
|
28655
|
+
if (!slug || !isValidSlug2(slug)) {
|
|
28656
|
+
throw new Error("Could not derive a valid slug from URL. Please provide a slug.");
|
|
28653
28657
|
}
|
|
28654
28658
|
const existing = await this.repoRepo.findBySlug(slug);
|
|
28655
28659
|
if (existing) {
|
|
28656
|
-
return { status: "
|
|
28660
|
+
return { status: "exists", slug };
|
|
28657
28661
|
}
|
|
28658
28662
|
let userEnv = {};
|
|
28659
28663
|
const userId = params?.user?.user_id;
|
package/dist/daemon/main.js
CHANGED
|
@@ -28550,6 +28550,7 @@ import {
|
|
|
28550
28550
|
isValidGitUrl as isValidGitUrl2,
|
|
28551
28551
|
isValidSlug as isValidSlug2,
|
|
28552
28552
|
isWorktreeRbacEnabled as isWorktreeRbacEnabled3,
|
|
28553
|
+
normalizeRepoUrl,
|
|
28553
28554
|
PAGINATION as PAGINATION9,
|
|
28554
28555
|
parseAgorYml,
|
|
28555
28556
|
resolveUserEnvironment,
|
|
@@ -28647,13 +28648,16 @@ var ReposService = class extends DrizzleService {
|
|
|
28647
28648
|
* Client receives 'repos.created' WebSocket event when complete.
|
|
28648
28649
|
*/
|
|
28649
28650
|
async cloneRepository(data, params) {
|
|
28650
|
-
|
|
28651
|
+
let slug = data.slug || data.name;
|
|
28651
28652
|
if (!slug) {
|
|
28652
|
-
|
|
28653
|
+
slug = extractSlugFromUrl2(normalizeRepoUrl(data.url));
|
|
28654
|
+
}
|
|
28655
|
+
if (!slug || !isValidSlug2(slug)) {
|
|
28656
|
+
throw new Error("Could not derive a valid slug from URL. Please provide a slug.");
|
|
28653
28657
|
}
|
|
28654
28658
|
const existing = await this.repoRepo.findBySlug(slug);
|
|
28655
28659
|
if (existing) {
|
|
28656
|
-
return { status: "
|
|
28660
|
+
return { status: "exists", slug };
|
|
28657
28661
|
}
|
|
28658
28662
|
let userEnv = {};
|
|
28659
28663
|
const userId = params?.user?.user_id;
|
|
@@ -4107,6 +4107,7 @@ import {
|
|
|
4107
4107
|
isValidGitUrl,
|
|
4108
4108
|
isValidSlug,
|
|
4109
4109
|
isWorktreeRbacEnabled,
|
|
4110
|
+
normalizeRepoUrl,
|
|
4110
4111
|
PAGINATION as PAGINATION9,
|
|
4111
4112
|
parseAgorYml,
|
|
4112
4113
|
resolveUserEnvironment,
|
|
@@ -4413,13 +4414,16 @@ var ReposService = class extends DrizzleService {
|
|
|
4413
4414
|
* Client receives 'repos.created' WebSocket event when complete.
|
|
4414
4415
|
*/
|
|
4415
4416
|
async cloneRepository(data, params) {
|
|
4416
|
-
|
|
4417
|
+
let slug = data.slug || data.name;
|
|
4417
4418
|
if (!slug) {
|
|
4418
|
-
|
|
4419
|
+
slug = extractSlugFromUrl(normalizeRepoUrl(data.url));
|
|
4420
|
+
}
|
|
4421
|
+
if (!slug || !isValidSlug(slug)) {
|
|
4422
|
+
throw new Error("Could not derive a valid slug from URL. Please provide a slug.");
|
|
4419
4423
|
}
|
|
4420
4424
|
const existing = await this.repoRepo.findBySlug(slug);
|
|
4421
4425
|
if (existing) {
|
|
4422
|
-
return { status: "
|
|
4426
|
+
return { status: "exists", slug };
|
|
4423
4427
|
}
|
|
4424
4428
|
let userEnv = {};
|
|
4425
4429
|
const userId = params?.user?.user_id;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Database } from '@agor/core/db';
|
|
2
|
-
import { QueryParams, MCPServer, CreateMCPServerInput, UpdateMCPServerInput } from '@agor/core/types';
|
|
2
|
+
import { QueryParams, MCPServer, CreateMCPServerInput, UpdateMCPServerInput, Paginated } from '@agor/core/types';
|
|
3
3
|
import { DrizzleService } from '../adapters/drizzle.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -28,12 +28,7 @@ declare class MCPServersService extends DrizzleService<MCPServer, CreateMCPServe
|
|
|
28
28
|
/**
|
|
29
29
|
* Override find to support filter params
|
|
30
30
|
*/
|
|
31
|
-
find(params?: MCPServerParams): Promise<MCPServer[] |
|
|
32
|
-
total: number;
|
|
33
|
-
limit: number;
|
|
34
|
-
skip: number;
|
|
35
|
-
data: MCPServer[];
|
|
36
|
-
}>;
|
|
31
|
+
find(params?: MCPServerParams): Promise<MCPServer[] | Paginated<MCPServer>>;
|
|
37
32
|
/**
|
|
38
33
|
* Custom method: Find by scope
|
|
39
34
|
*/
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
isValidGitUrl,
|
|
8
8
|
isValidSlug,
|
|
9
9
|
isWorktreeRbacEnabled,
|
|
10
|
+
normalizeRepoUrl,
|
|
10
11
|
PAGINATION,
|
|
11
12
|
parseAgorYml,
|
|
12
13
|
resolveUserEnvironment,
|
|
@@ -520,13 +521,16 @@ var ReposService = class extends DrizzleService {
|
|
|
520
521
|
* Client receives 'repos.created' WebSocket event when complete.
|
|
521
522
|
*/
|
|
522
523
|
async cloneRepository(data, params) {
|
|
523
|
-
|
|
524
|
+
let slug = data.slug || data.name;
|
|
524
525
|
if (!slug) {
|
|
525
|
-
|
|
526
|
+
slug = extractSlugFromUrl(normalizeRepoUrl(data.url));
|
|
527
|
+
}
|
|
528
|
+
if (!slug || !isValidSlug(slug)) {
|
|
529
|
+
throw new Error("Could not derive a valid slug from URL. Please provide a slug.");
|
|
526
530
|
}
|
|
527
531
|
const existing = await this.repoRepo.findBySlug(slug);
|
|
528
532
|
if (existing) {
|
|
529
|
-
return { status: "
|
|
533
|
+
return { status: "exists", slug };
|
|
530
534
|
}
|
|
531
535
|
let userEnv = {};
|
|
532
536
|
const userId = params?.user?.user_id;
|
package/dist/executor/cli.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/executor/cli.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/executor/config.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/executor/index.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/executor/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|