@skaile/workspaces 6.3.0 → 6.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +72 -1
- package/README.md +4 -0
- package/dist/ai-sdk.js +74 -32
- package/dist/ai-sdk.js.map +1 -1
- package/dist/app-sdk/index.js +1 -1
- package/dist/{asset-feeds-3YO2352Y.js → asset-feeds-4I6Z4OI3.js} +21 -21
- package/dist/{asset-feeds-3YO2352Y.js.map → asset-feeds-4I6Z4OI3.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +7 -7
- package/dist/asset-manager/index.js +13 -13
- package/dist/asset-manager/installer.js +9 -9
- package/dist/asset-manager/renderers.js +8 -8
- package/dist/asset-manager/src/index.d.ts +156 -27
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/asset-manager/src/install-instances.d.ts +2 -0
- package/dist/asset-manager/src/install-instances.d.ts.map +1 -1
- package/dist/asset-manager/src/installer.d.ts +6 -0
- package/dist/asset-manager/src/installer.d.ts.map +1 -1
- package/dist/bridge/harnesses/claude-sdk.js +23 -18
- package/dist/bridge/harnesses/claude-sdk.js.map +1 -1
- package/dist/bridge/harnesses/codex.js +36 -34
- package/dist/bridge/harnesses/codex.js.map +1 -1
- package/dist/bridge/harnesses/continue.js +11 -12
- package/dist/bridge/harnesses/continue.js.map +1 -1
- package/dist/bridge/harnesses/echo.js +4 -5
- package/dist/bridge/harnesses/echo.js.map +1 -1
- package/dist/bridge/harnesses/gemini.js +8 -9
- package/dist/bridge/harnesses/goose.js +11 -12
- package/dist/bridge/harnesses/goose.js.map +1 -1
- package/dist/bridge/harnesses/omp.js +16 -11
- package/dist/bridge/harnesses/omp.js.map +1 -1
- package/dist/bridge/harnesses/opencode.js +11 -12
- package/dist/bridge/harnesses/opencode.js.map +1 -1
- package/dist/bridge/harnesses/qwen.js +8 -9
- package/dist/bridge/harnesses/qwen.js.map +1 -1
- package/dist/bridge/index.js +19 -20
- package/dist/bridge/src/ai-sdk.d.ts +5 -2
- package/dist/bridge/src/ai-sdk.d.ts.map +1 -1
- package/dist/bridge/src/codex/login-fallback.d.ts +39 -0
- package/dist/bridge/src/codex/login-fallback.d.ts.map +1 -0
- package/dist/bridge/src/error-classifier.d.ts +6 -0
- package/dist/bridge/src/error-classifier.d.ts.map +1 -1
- package/dist/bridge/src/harness-model-check.d.ts +11 -7
- package/dist/bridge/src/harness-model-check.d.ts.map +1 -1
- package/dist/bridge/src/harnesses/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/harnesses/codex.d.ts +0 -6
- package/dist/bridge/src/harnesses/codex.d.ts.map +1 -1
- package/dist/bridge/src/harnesses/omp.d.ts.map +1 -1
- package/dist/bridge/src/index.d.ts +1 -0
- package/dist/bridge/src/index.d.ts.map +1 -1
- package/dist/{chunk-XEVFSDIF.js → chunk-22ZX33H6.js} +6 -6
- package/dist/{chunk-XEVFSDIF.js.map → chunk-22ZX33H6.js.map} +1 -1
- package/dist/{chunk-KPKGWXUJ.js → chunk-23SG4JRV.js} +4 -4
- package/dist/{chunk-KPKGWXUJ.js.map → chunk-23SG4JRV.js.map} +1 -1
- package/dist/{chunk-MYXFR27L.js → chunk-2HS357RA.js} +77 -37
- package/dist/chunk-2HS357RA.js.map +1 -0
- package/dist/{chunk-7TSNR5H5.js → chunk-2IAWVUW3.js} +4 -4
- package/dist/{chunk-7TSNR5H5.js.map → chunk-2IAWVUW3.js.map} +1 -1
- package/dist/{chunk-6GWSDPBP.js → chunk-2M3VLKT2.js} +3 -3
- package/dist/{chunk-6GWSDPBP.js.map → chunk-2M3VLKT2.js.map} +1 -1
- package/dist/{chunk-PNUM7GUY.js → chunk-3DA74PLW.js} +3 -3
- package/dist/{chunk-PNUM7GUY.js.map → chunk-3DA74PLW.js.map} +1 -1
- package/dist/{chunk-7RH6E332.js → chunk-3KSLUVKB.js} +7 -7
- package/dist/{chunk-7RH6E332.js.map → chunk-3KSLUVKB.js.map} +1 -1
- package/dist/{chunk-6OHZUUR7.js → chunk-5DE3DGVR.js} +11 -5
- package/dist/chunk-5DE3DGVR.js.map +1 -0
- package/dist/{chunk-32FYVSSW.js → chunk-6EKQENAP.js} +6 -6
- package/dist/{chunk-32FYVSSW.js.map → chunk-6EKQENAP.js.map} +1 -1
- package/dist/{chunk-QK7AG5AV.js → chunk-6Y3SC7O4.js} +4 -4
- package/dist/{chunk-QK7AG5AV.js.map → chunk-6Y3SC7O4.js.map} +1 -1
- package/dist/{chunk-ROVZCGTN.js → chunk-7EMS2GZO.js} +40 -37
- package/dist/chunk-7EMS2GZO.js.map +1 -0
- package/dist/{chunk-COUJOTAJ.js → chunk-7H4GTP7V.js} +3 -3
- package/dist/{chunk-COUJOTAJ.js.map → chunk-7H4GTP7V.js.map} +1 -1
- package/dist/{chunk-VUWRGMT6.js → chunk-AFTZNR2W.js} +3 -3
- package/dist/{chunk-VUWRGMT6.js.map → chunk-AFTZNR2W.js.map} +1 -1
- package/dist/{chunk-JMIKGAUA.js → chunk-AVFRFGM2.js} +16 -6
- package/dist/chunk-AVFRFGM2.js.map +1 -0
- package/dist/{chunk-7MV3NHPT.js → chunk-B436SG5P.js} +42 -25
- package/dist/chunk-B436SG5P.js.map +1 -0
- package/dist/{chunk-ZEH4WFEG.js → chunk-B4BLJUYN.js} +69 -26
- package/dist/chunk-B4BLJUYN.js.map +1 -0
- package/dist/{chunk-LEJQAX7G.js → chunk-DNXPXJ3X.js} +82 -50
- package/dist/chunk-DNXPXJ3X.js.map +1 -0
- package/dist/{chunk-HDVLBEEX.js → chunk-E6UWI3TP.js} +3 -3
- package/dist/{chunk-HDVLBEEX.js.map → chunk-E6UWI3TP.js.map} +1 -1
- package/dist/{chunk-2TFKXSB5.js → chunk-EN5REMWV.js} +4 -4
- package/dist/{chunk-2TFKXSB5.js.map → chunk-EN5REMWV.js.map} +1 -1
- package/dist/{chunk-QFFMFZIR.js → chunk-EO7KGX6P.js} +4 -4
- package/dist/{chunk-QFFMFZIR.js.map → chunk-EO7KGX6P.js.map} +1 -1
- package/dist/{chunk-KIPCBIFJ.js → chunk-ETF6Q3R3.js} +23 -80
- package/dist/chunk-ETF6Q3R3.js.map +1 -0
- package/dist/{chunk-6WH2WE4B.js → chunk-G4NCSYWR.js} +9 -8
- package/dist/chunk-G4NCSYWR.js.map +1 -0
- package/dist/{chunk-JCPD4QRM.js → chunk-G5SYFFMD.js} +2 -2
- package/dist/{chunk-JCPD4QRM.js.map → chunk-G5SYFFMD.js.map} +1 -1
- package/dist/{chunk-Q7CU5GQO.js → chunk-HPA3RP5E.js} +4 -4
- package/dist/{chunk-Q7CU5GQO.js.map → chunk-HPA3RP5E.js.map} +1 -1
- package/dist/{chunk-KGHYXXXV.js → chunk-IS3NIZBX.js} +588 -133
- package/dist/chunk-IS3NIZBX.js.map +1 -0
- package/dist/{chunk-XBQTXGY4.js → chunk-IWKKTCXY.js} +98 -17
- package/dist/chunk-IWKKTCXY.js.map +1 -0
- package/dist/{chunk-HH2H2ZV7.js → chunk-J5JWLKLB.js} +35 -20
- package/dist/chunk-J5JWLKLB.js.map +1 -0
- package/dist/chunk-J6YPKMMY.js +83 -0
- package/dist/chunk-J6YPKMMY.js.map +1 -0
- package/dist/{chunk-TGV2EWGL.js → chunk-K4DHYTUM.js} +4 -4
- package/dist/{chunk-TGV2EWGL.js.map → chunk-K4DHYTUM.js.map} +1 -1
- package/dist/{chunk-72NT2TJU.js → chunk-KA2GLAPS.js} +7 -8
- package/dist/chunk-KA2GLAPS.js.map +1 -0
- package/dist/{chunk-VUJXZDCY.js → chunk-KSH5CFQS.js} +3 -3
- package/dist/{chunk-VUJXZDCY.js.map → chunk-KSH5CFQS.js.map} +1 -1
- package/dist/{chunk-BIRW3HOG.js → chunk-KSUT5KAE.js} +3 -3
- package/dist/{chunk-BIRW3HOG.js.map → chunk-KSUT5KAE.js.map} +1 -1
- package/dist/{chunk-AMJ6KEV7.js → chunk-KUADKMNX.js} +4 -4
- package/dist/{chunk-AMJ6KEV7.js.map → chunk-KUADKMNX.js.map} +1 -1
- package/dist/{chunk-TSTRH4SM.js → chunk-KYNCY3F3.js} +3 -3
- package/dist/{chunk-TSTRH4SM.js.map → chunk-KYNCY3F3.js.map} +1 -1
- package/dist/{chunk-V5BPDB4J.js → chunk-LE6QS4PG.js} +3 -3
- package/dist/{chunk-V5BPDB4J.js.map → chunk-LE6QS4PG.js.map} +1 -1
- package/dist/{chunk-6UP2EDFN.js → chunk-NSIOBKDX.js} +313 -4
- package/dist/chunk-NSIOBKDX.js.map +1 -0
- package/dist/{chunk-MD3FUZS3.js → chunk-OBZ5WQ32.js} +3 -3
- package/dist/{chunk-MD3FUZS3.js.map → chunk-OBZ5WQ32.js.map} +1 -1
- package/dist/{chunk-ELSGFI3I.js → chunk-OLHHN3NO.js} +31 -7
- package/dist/chunk-OLHHN3NO.js.map +1 -0
- package/dist/{chunk-JGH7NB47.js → chunk-S7DVT2BV.js} +4 -4
- package/dist/{chunk-JGH7NB47.js.map → chunk-S7DVT2BV.js.map} +1 -1
- package/dist/{chunk-PHAMYCZH.js → chunk-SN663FCA.js} +5 -5
- package/dist/{chunk-PHAMYCZH.js.map → chunk-SN663FCA.js.map} +1 -1
- package/dist/{serve-preflight-H2AYMGJ6.js → chunk-SRTWKZP2.js} +30 -61
- package/dist/chunk-SRTWKZP2.js.map +1 -0
- package/dist/{chunk-H622YULS.js → chunk-SZTHSPRC.js} +3 -4
- package/dist/chunk-SZTHSPRC.js.map +1 -0
- package/dist/{chunk-LD6O6QKU.js → chunk-T7HGEMNB.js} +4 -4
- package/dist/{chunk-LD6O6QKU.js.map → chunk-T7HGEMNB.js.map} +1 -1
- package/dist/{chunk-4QRJBY2P.js → chunk-TDPQOR3C.js} +2 -2
- package/dist/{chunk-4QRJBY2P.js.map → chunk-TDPQOR3C.js.map} +1 -1
- package/dist/{chunk-Y3I4KGLX.js → chunk-TGUMN5G7.js} +310 -175
- package/dist/chunk-TGUMN5G7.js.map +1 -0
- package/dist/{chunk-TO5SSMRI.js → chunk-THX5EE3K.js} +67 -19
- package/dist/chunk-THX5EE3K.js.map +1 -0
- package/dist/{chunk-QTLUZUF2.js → chunk-TNQLDEM6.js} +86 -34
- package/dist/chunk-TNQLDEM6.js.map +1 -0
- package/dist/{chunk-EQNIBBB6.js → chunk-TROEC2Z2.js} +34 -20
- package/dist/chunk-TROEC2Z2.js.map +1 -0
- package/dist/{chunk-E5NQRHEB.js → chunk-U6KRTCNA.js} +4 -4
- package/dist/{chunk-E5NQRHEB.js.map → chunk-U6KRTCNA.js.map} +1 -1
- package/dist/{chunk-J5JRGBKK.js → chunk-UMLCKKIA.js} +64 -32
- package/dist/chunk-UMLCKKIA.js.map +1 -0
- package/dist/{chunk-DU26AVK2.js → chunk-USVUS4DJ.js} +8 -8
- package/dist/{chunk-DU26AVK2.js.map → chunk-USVUS4DJ.js.map} +1 -1
- package/dist/{chunk-HGOJEVHY.js → chunk-UZET67SO.js} +4 -4
- package/dist/{chunk-HGOJEVHY.js.map → chunk-UZET67SO.js.map} +1 -1
- package/dist/{chunk-IZQOO6MN.js → chunk-V5KG6CCV.js} +2 -2
- package/dist/{chunk-IZQOO6MN.js.map → chunk-V5KG6CCV.js.map} +1 -1
- package/dist/{chunk-76FLBODK.js → chunk-VT6G5AJV.js} +10 -7
- package/dist/chunk-VT6G5AJV.js.map +1 -0
- package/dist/{chunk-URCJIV7T.js → chunk-W5KCAWGN.js} +3 -3
- package/dist/{chunk-URCJIV7T.js.map → chunk-W5KCAWGN.js.map} +1 -1
- package/dist/{chunk-YW4ASEUP.js → chunk-WFLQMAR5.js} +5 -5
- package/dist/{chunk-YW4ASEUP.js.map → chunk-WFLQMAR5.js.map} +1 -1
- package/dist/{chunk-RFQONXET.js → chunk-X44XKBZX.js} +3 -3
- package/dist/{chunk-RFQONXET.js.map → chunk-X44XKBZX.js.map} +1 -1
- package/dist/{chunk-BPTWWKGF.js → chunk-YBEJCQE5.js} +3 -3
- package/dist/{chunk-BPTWWKGF.js.map → chunk-YBEJCQE5.js.map} +1 -1
- package/dist/{chunk-PL52CI4U.js → chunk-YRC2EFOU.js} +4 -4
- package/dist/{chunk-PL52CI4U.js.map → chunk-YRC2EFOU.js.map} +1 -1
- package/dist/{chunk-7QG2WRSN.js → chunk-Z2X7UZEZ.js} +25 -8
- package/dist/chunk-Z2X7UZEZ.js.map +1 -0
- package/dist/{chunk-U3SXCVR7.js → chunk-ZUU2PLA3.js} +4 -4
- package/dist/{chunk-U3SXCVR7.js.map → chunk-ZUU2PLA3.js.map} +1 -1
- package/dist/{claude-code-EUKDGOOO.js → claude-code-JY6CYEG7.js} +4 -4
- package/dist/{claude-code-EUKDGOOO.js.map → claude-code-JY6CYEG7.js.map} +1 -1
- package/dist/cli/index.js +322 -162
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/cache.d.ts.map +1 -1
- package/dist/cli/src/commands/catalog.d.ts.map +1 -1
- package/dist/cli/src/commands/config.d.ts.map +1 -1
- package/dist/cli/src/commands/connector.d.ts.map +1 -1
- package/dist/cli/src/commands/deploy.d.ts.map +1 -1
- package/dist/cli/src/commands/harness.d.ts +5 -4
- package/dist/cli/src/commands/harness.d.ts.map +1 -1
- package/dist/cli/src/commands/integration.d.ts.map +1 -1
- package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/library-index.d.ts +6 -0
- package/dist/cli/src/commands/library-index.d.ts.map +1 -1
- package/dist/cli/src/commands/migrate-files.d.ts +3 -6
- package/dist/cli/src/commands/migrate-files.d.ts.map +1 -1
- package/dist/cli/src/commands/migrate-harness.d.ts +4 -3
- package/dist/cli/src/commands/migrate-harness.d.ts.map +1 -1
- package/dist/cli/src/commands/migrate.d.ts +2 -2
- package/dist/cli/src/commands/outdated.d.ts.map +1 -1
- package/dist/cli/src/commands/plugin-registry-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/preset-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/project.d.ts +7 -1
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/cli/src/commands/run.d.ts.map +1 -1
- package/dist/cli/src/commands/serve-preflight.d.ts +21 -0
- package/dist/cli/src/commands/serve-preflight.d.ts.map +1 -1
- package/dist/cli/src/commands/serve.d.ts.map +1 -1
- package/dist/cli/src/commands/source-manifest.d.ts.map +1 -1
- package/dist/cli/src/commands/source.d.ts +8 -0
- package/dist/cli/src/commands/source.d.ts.map +1 -1
- package/dist/cli/src/commands/update.d.ts.map +1 -1
- package/dist/cli/src/commands/validate-instances.d.ts +6 -0
- package/dist/cli/src/commands/validate-instances.d.ts.map +1 -1
- package/dist/cli/src/commands/validate.d.ts.map +1 -1
- package/dist/cli/src/commands/verify.d.ts.map +1 -1
- package/dist/cli/src/config-checks.d.ts +8 -0
- package/dist/cli/src/config-checks.d.ts.map +1 -1
- package/dist/cli/src/ensure-sources.d.ts.map +1 -1
- package/dist/cli/src/helpers.d.ts +13 -4
- package/dist/cli/src/helpers.d.ts.map +1 -1
- package/dist/cli/src/plugin-store/index.d.ts +1 -1
- package/dist/cli/src/plugin-store/index.d.ts.map +1 -1
- package/dist/cli/src/plugin-store/reconcile.d.ts.map +1 -1
- package/dist/cli/src/plugin-store/spec.d.ts +20 -14
- package/dist/cli/src/plugin-store/spec.d.ts.map +1 -1
- package/dist/cli/src/setup.d.ts.map +1 -1
- package/dist/cli/src/skill-checks.d.ts +2 -0
- package/dist/cli/src/skill-checks.d.ts.map +1 -1
- package/dist/connectors/config.js +5 -5
- package/dist/connectors/index.js +23 -24
- package/dist/connectors/src/index.d.ts +2 -2
- package/dist/connectors/src/index.d.ts.map +1 -1
- package/dist/connectors/src/managed-gitconfig.d.ts +22 -0
- package/dist/connectors/src/managed-gitconfig.d.ts.map +1 -1
- package/dist/connectors/src/npm-installer.d.ts +11 -3
- package/dist/connectors/src/npm-installer.d.ts.map +1 -1
- package/dist/connectors-VLFOQNS6.js +49 -0
- package/dist/{connectors-XYPE2DCQ.js.map → connectors-VLFOQNS6.js.map} +1 -1
- package/dist/connectors-shared/index.js +2 -2
- package/dist/core/index.js +6 -6
- package/dist/core/manifest.js +2 -2
- package/dist/core/models.js +1 -1
- package/dist/core/publish-manifest.js +3 -3
- package/dist/core/ref.js +1 -1
- package/dist/core/runtime-assets.js +5 -5
- package/dist/core/src/agent-instances.d.ts +6 -0
- package/dist/core/src/agent-instances.d.ts.map +1 -1
- package/dist/core/src/config-key-diagnostics.d.ts +2 -1
- package/dist/core/src/config-key-diagnostics.d.ts.map +1 -1
- package/dist/core/src/index.d.ts +5 -5
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/lock.d.ts +20 -1
- package/dist/core/src/lock.d.ts.map +1 -1
- package/dist/core/src/manifest-yaml-editor.d.ts +4 -1
- package/dist/core/src/manifest-yaml-editor.d.ts.map +1 -1
- package/dist/core/src/manifest.d.ts +9 -3
- package/dist/core/src/manifest.d.ts.map +1 -1
- package/dist/core/src/models.d.ts +10 -0
- package/dist/core/src/models.d.ts.map +1 -1
- package/dist/core/src/repo-manager.d.ts +11 -0
- package/dist/core/src/repo-manager.d.ts.map +1 -1
- package/dist/core/src/runtime-assets.d.ts +12 -1
- package/dist/core/src/runtime-assets.d.ts.map +1 -1
- package/dist/core/src/walker.d.ts +3 -0
- package/dist/core/src/walker.d.ts.map +1 -1
- package/dist/core/src/workspace-config.d.ts +19 -2
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/src/workspace-yaml-editor.d.ts.map +1 -1
- package/dist/core/workspace-config.js +4 -4
- package/dist/deploy/index.js +6 -6
- package/dist/discovery/index.js +5 -5
- package/dist/{ensure-sources-IN3VKHUA.js → ensure-sources-6O54DUQB.js} +31 -31
- package/dist/ensure-sources-6O54DUQB.js.map +1 -0
- package/dist/factory-assets/connectors/box.js +23 -24
- package/dist/factory-assets/connectors/deploy.js +23 -24
- package/dist/factory-assets/connectors/devserver.js +23 -24
- package/dist/factory-assets/connectors/flow/adapter.js +23 -24
- package/dist/factory-assets/connectors/flow/engine.js +7 -7
- package/dist/factory-assets/connectors/flow/run-flow.js +25 -26
- package/dist/factory-assets/connectors/flow.js +23 -24
- package/dist/factory-assets/connectors/git.js +23 -24
- package/dist/factory-assets/connectors/gmail.js +23 -24
- package/dist/factory-assets/connectors/googledrive.js +23 -24
- package/dist/factory-assets/connectors/local.js +23 -24
- package/dist/factory-assets/connectors/mattermost.js +23 -24
- package/dist/factory-assets/connectors/memory.js +23 -24
- package/dist/factory-assets/connectors/minio.js +23 -24
- package/dist/factory-assets/connectors/postgres.js +23 -24
- package/dist/factory-assets/connectors/s3.js +23 -24
- package/dist/factory-assets/connectors/sharepoint.js +23 -24
- package/dist/factory-assets/connectors/sqlite.js +23 -24
- package/dist/factory-assets/connectors/static-server.js +23 -24
- package/dist/factory-assets/connectors/tunnel.js +23 -24
- package/dist/factory-assets/connectors/webdav.js +23 -24
- package/dist/factory-assets/connectors/xstate-store.js +23 -24
- package/dist/factory-assets/connectors/xstate.js +23 -24
- package/dist/factory-assets/skills/authoring-skaile-assets/SKILL.md +2 -1
- package/dist/{flows-QAO63TDV.js → flows-CIUPK7SB.js} +11 -11
- package/dist/{flows-QAO63TDV.js.map → flows-CIUPK7SB.js.map} +1 -1
- package/dist/{helpers-HDVGCF3M.js → helpers-YHDQHQEQ.js} +28 -29
- package/dist/{helpers-HDVGCF3M.js.map → helpers-YHDQHQEQ.js.map} +1 -1
- package/dist/library/index.js +10 -10
- package/dist/library/install.js +4 -4
- package/dist/library/src/manifest-writer.d.ts +9 -0
- package/dist/library/src/manifest-writer.d.ts.map +1 -1
- package/dist/library/src/remote/remote-catalog-source.d.ts +9 -0
- package/dist/library/src/remote/remote-catalog-source.d.ts.map +1 -1
- package/dist/library/src/remote/rest-catalog-source.d.ts +1 -0
- package/dist/library/src/remote/rest-catalog-source.d.ts.map +1 -1
- package/dist/{library-publish-62OWCNB5.js → library-publish-MUGUST43.js} +53 -53
- package/dist/{library-publish-62OWCNB5.js.map → library-publish-MUGUST43.js.map} +1 -1
- package/dist/model-endpoint/index.js +9 -10
- package/dist/open-library-BVQCB37E.js +57 -0
- package/dist/{open-library-TZ7OSDEJ.js.map → open-library-BVQCB37E.js.map} +1 -1
- package/dist/{open-registry-RLZKTJG3.js → open-registry-JCSIAKEC.js} +14 -14
- package/dist/{open-registry-RLZKTJG3.js.map → open-registry-JCSIAKEC.js.map} +1 -1
- package/dist/{paths-D6LBQETQ.js → paths-XLKCAFRZ.js} +9 -9
- package/dist/{paths-D6LBQETQ.js.map → paths-XLKCAFRZ.js.map} +1 -1
- package/dist/{plugin-store-A5J4TLCH.js → plugin-store-NGRUTCJI.js} +9 -9
- package/dist/{plugin-store-A5J4TLCH.js.map → plugin-store-NGRUTCJI.js.map} +1 -1
- package/dist/project-BGYMLAS6.js +88 -0
- package/dist/{project-4AVRES3M.js.map → project-BGYMLAS6.js.map} +1 -1
- package/dist/resolver/index.js +7 -7
- package/dist/runner/index.js +38 -39
- package/dist/runner/src/capability-roundtrip.d.ts +4 -1
- package/dist/runner/src/capability-roundtrip.d.ts.map +1 -1
- package/dist/runner/src/composition/resolve-instance.d.ts.map +1 -1
- package/dist/runner/src/composition/resolve.d.ts +6 -0
- package/dist/runner/src/composition/resolve.d.ts.map +1 -1
- package/dist/runner/src/credential-notice.d.ts +3 -2
- package/dist/runner/src/credential-notice.d.ts.map +1 -1
- package/dist/runner/src/resources.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +13 -13
- package/dist/sdk/bridge.js +19 -20
- package/dist/sdk/core.js +6 -6
- package/dist/sdk/flow.js +7 -7
- package/dist/sdk/index.js +38 -39
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.js +7 -7
- package/dist/sdk/runner.js +38 -39
- package/dist/sdk/session.js +2 -2
- package/dist/sdk/transport/ws/server.js +7 -7
- package/dist/sdk/transport/ws.js +7 -7
- package/dist/sdk/transport.js +7 -7
- package/dist/sdk/types.js +1 -1
- package/dist/serve-preflight-GQY5DZX6.js +56 -0
- package/dist/serve-preflight-GQY5DZX6.js.map +1 -0
- package/dist/session/index.js +2 -2
- package/dist/{setup-NSPQD4V4.js → setup-2NWSKSCO.js} +34 -32
- package/dist/setup-2NWSKSCO.js.map +1 -0
- package/dist/{skills-B533SRVZ.js → skills-PXZOL2FZ.js} +12 -12
- package/dist/{skills-B533SRVZ.js.map → skills-PXZOL2FZ.js.map} +1 -1
- package/dist/source-XA3L4H6I.js +86 -0
- package/dist/{source-VTECABUO.js.map → source-XA3L4H6I.js.map} +1 -1
- package/dist/{source-manifest-publish-YORI42MN.js → source-manifest-publish-QEGMTS33.js} +50 -51
- package/dist/source-manifest-publish-QEGMTS33.js.map +1 -0
- package/dist/transport/index.js +7 -7
- package/dist/transport/ws/server.js +7 -7
- package/dist/transport/ws.js +7 -7
- package/dist/tui/index.js +38 -39
- package/dist/tui/index.js.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/manifests.js +1 -1
- package/dist/types/src/capabilities.d.ts +9 -1
- package/dist/types/src/capabilities.d.ts.map +1 -1
- package/dist/types/src/manifests/agent.d.ts +2 -2
- package/dist/types/src/manifests/agent.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +8 -8
- package/dist/workspace-plugin/adapters/mcp.js +30 -31
- package/dist/workspace-plugin/adapters/omp.js +14 -14
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-6OHZUUR7.js.map +0 -1
- package/dist/chunk-6UP2EDFN.js.map +0 -1
- package/dist/chunk-6WH2WE4B.js.map +0 -1
- package/dist/chunk-72NT2TJU.js.map +0 -1
- package/dist/chunk-76FLBODK.js.map +0 -1
- package/dist/chunk-7MV3NHPT.js.map +0 -1
- package/dist/chunk-7QG2WRSN.js.map +0 -1
- package/dist/chunk-ELSGFI3I.js.map +0 -1
- package/dist/chunk-EQNIBBB6.js.map +0 -1
- package/dist/chunk-H622YULS.js.map +0 -1
- package/dist/chunk-HH2H2ZV7.js.map +0 -1
- package/dist/chunk-J5JRGBKK.js.map +0 -1
- package/dist/chunk-JMIKGAUA.js.map +0 -1
- package/dist/chunk-KGHYXXXV.js.map +0 -1
- package/dist/chunk-KIPCBIFJ.js.map +0 -1
- package/dist/chunk-LEJQAX7G.js.map +0 -1
- package/dist/chunk-MYXFR27L.js.map +0 -1
- package/dist/chunk-QTLUZUF2.js.map +0 -1
- package/dist/chunk-ROVZCGTN.js.map +0 -1
- package/dist/chunk-S6KZHPR4.js +0 -315
- package/dist/chunk-S6KZHPR4.js.map +0 -1
- package/dist/chunk-TO5SSMRI.js.map +0 -1
- package/dist/chunk-XBQTXGY4.js.map +0 -1
- package/dist/chunk-Y3I4KGLX.js.map +0 -1
- package/dist/chunk-ZEH4WFEG.js.map +0 -1
- package/dist/connectors-XYPE2DCQ.js +0 -50
- package/dist/ensure-sources-IN3VKHUA.js.map +0 -1
- package/dist/open-library-TZ7OSDEJ.js +0 -58
- package/dist/project-4AVRES3M.js +0 -88
- package/dist/serve-preflight-H2AYMGJ6.js.map +0 -1
- package/dist/setup-NSPQD4V4.js.map +0 -1
- package/dist/source-VTECABUO.js +0 -87
- package/dist/source-manifest-publish-YORI42MN.js.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { factoryAssetRoots, resolveWorkspacesPackageRoot } from './chunk-
|
|
1
|
+
import { factoryAssetRoots, resolveWorkspacesPackageRoot } from './chunk-G4NCSYWR.js';
|
|
2
2
|
import { deployedBase } from './chunk-5KRMNUL4.js';
|
|
3
3
|
import { DEFAULT_HARNESS_ID } from './chunk-C5HFK34M.js';
|
|
4
|
-
import { valueShapeError, parseSourceEntries, resolveSkWorkspaceConfig } from './chunk-
|
|
4
|
+
import { ConfigParseError, valueShapeError, parseSourceEntries, resolveSkWorkspaceConfig } from './chunk-IWKKTCXY.js';
|
|
5
5
|
import { globalSkaileDir } from './chunk-L5VSIPQD.js';
|
|
6
6
|
import { harnessNameForHarnessId, SUPPORTED_HARNESSES } from './chunk-VTETQCR6.js';
|
|
7
|
-
import { sha256Hex, compositeSha256, orderedAsset, ASSET_KEY_ORDER } from './chunk-
|
|
8
|
-
import { yamlQuotingHint } from './chunk-
|
|
9
|
-
import { parseAssetRefLoose } from './chunk-
|
|
7
|
+
import { sha256Hex, compositeSha256, orderedAsset, ASSET_KEY_ORDER } from './chunk-23SG4JRV.js';
|
|
8
|
+
import { yamlQuotingHint } from './chunk-AVFRFGM2.js';
|
|
9
|
+
import { parseAssetRefLoose } from './chunk-V5KG6CCV.js';
|
|
10
10
|
import { validateRegistry, mergeRegistries, validateMergedRegistry } from './chunk-RXGPFAMN.js';
|
|
11
|
-
import fs, { existsSync, readFileSync, writeFileSync, mkdirSync, cpSync, readdirSync
|
|
12
|
-
import path, { join, resolve,
|
|
11
|
+
import fs, { existsSync, readFileSync, writeFileSync, realpathSync, renameSync, rmSync, mkdirSync, cpSync, readdirSync } from 'fs';
|
|
12
|
+
import path, { join, resolve, basename, dirname } from 'path';
|
|
13
13
|
import { parseDocument, Document, isMap, isSeq, parse, stringify, isScalar, visit } from 'yaml';
|
|
14
14
|
import { isDeepStrictEqual } from 'util';
|
|
15
15
|
import { spawnSync } from 'child_process';
|
|
@@ -73,14 +73,17 @@ function factoryBundleVersion() {
|
|
|
73
73
|
function isFactoryMemorySource(source) {
|
|
74
74
|
return source !== void 0 && repoUrlKey(source.url) === FACTORY_URL_KEY && source.commit === FACTORY_MEMORY_COMMIT;
|
|
75
75
|
}
|
|
76
|
-
function lockToDisk(lock) {
|
|
76
|
+
function lockToDisk(lock, prevAssets) {
|
|
77
77
|
const version = factoryBundleVersion();
|
|
78
|
+
const prev = prevAssets && typeof prevAssets === "object" ? prevAssets : {};
|
|
78
79
|
let anyFactory = false;
|
|
79
80
|
const assets = {};
|
|
80
81
|
for (const [key, entry] of Object.entries(lock.assets)) {
|
|
81
82
|
if (isFactoryMemorySource(entry.source)) {
|
|
82
83
|
anyFactory = true;
|
|
83
|
-
|
|
84
|
+
const before = prev[key];
|
|
85
|
+
const keep = before?.source?.url === LOCK_FACTORY_URL && typeof before.source.commit === "string" && before.source.commit !== "" && before.sha256 === entry.sha256 ? before.source.commit : version;
|
|
86
|
+
assets[key] = { ...entry, source: { url: LOCK_FACTORY_URL, commit: keep } };
|
|
84
87
|
} else {
|
|
85
88
|
assets[key] = entry;
|
|
86
89
|
}
|
|
@@ -148,9 +151,27 @@ function stringifyLock(data) {
|
|
|
148
151
|
{ lineWidth: 120 }
|
|
149
152
|
);
|
|
150
153
|
}
|
|
151
|
-
|
|
154
|
+
var LockParseError = class extends Error {
|
|
155
|
+
constructor(message) {
|
|
156
|
+
super(message);
|
|
157
|
+
this.name = "LockParseError";
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
var LOCK_PARSE_HINT = "Restore it from git, or delete it and run `skaile install`.";
|
|
161
|
+
function lockParseError(label, reason, line) {
|
|
162
|
+
const where = line === void 0 ? "" : ` at line ${line}`;
|
|
163
|
+
return new LockParseError(`${label} \u2014 parse error: ${reason}${where}. ${LOCK_PARSE_HINT}`);
|
|
164
|
+
}
|
|
165
|
+
function parseLockYaml(text, label = "skaile.lock.yaml") {
|
|
152
166
|
const doc = parseDocument(text);
|
|
153
|
-
|
|
167
|
+
const first = doc.errors[0];
|
|
168
|
+
if (first) {
|
|
169
|
+
const reason = (first.message.split("\n")[0] ?? "").replace(/ at line \d+, column \d+:?$/, "").replace(/:$/, "");
|
|
170
|
+
throw lockParseError(label, reason, first.linePos?.[0]?.line);
|
|
171
|
+
}
|
|
172
|
+
if (text.trim() !== "" && doc.contents !== null && !isMap(doc.contents)) {
|
|
173
|
+
throw lockParseError(label, "the file must be a mapping at the top level");
|
|
174
|
+
}
|
|
154
175
|
visit(doc, {
|
|
155
176
|
Pair(_key, pair) {
|
|
156
177
|
if (!isScalar(pair.key) || pair.key.value !== "commit" && pair.key.value !== "sha256")
|
|
@@ -163,14 +184,14 @@ function parseLockYaml(text) {
|
|
|
163
184
|
return doc.toJS();
|
|
164
185
|
}
|
|
165
186
|
function writeLock(lockPath, data) {
|
|
166
|
-
|
|
187
|
+
let onDisk = null;
|
|
167
188
|
if (existsSync(lockPath)) {
|
|
189
|
+
onDisk = parseLockYaml(readFileSync(lockPath, "utf8"), basename(lockPath));
|
|
190
|
+
}
|
|
191
|
+
const next = stringifyLock(lockToDisk(data, onDisk?.assets));
|
|
192
|
+
if (onDisk && typeof onDisk === "object" && typeof onDisk.locked_at === "string") {
|
|
168
193
|
try {
|
|
169
|
-
|
|
170
|
-
if (prev && typeof prev === "object" && typeof prev.locked_at === "string") {
|
|
171
|
-
const same = stringifyLock({ ...prev, locked_at: data.locked_at });
|
|
172
|
-
if (same === next) return false;
|
|
173
|
-
}
|
|
194
|
+
if (stringifyLock({ ...onDisk, locked_at: data.locked_at }) === next) return false;
|
|
174
195
|
} catch {
|
|
175
196
|
}
|
|
176
197
|
}
|
|
@@ -179,12 +200,7 @@ function writeLock(lockPath, data) {
|
|
|
179
200
|
}
|
|
180
201
|
function readLock(lockPath) {
|
|
181
202
|
if (!existsSync(lockPath)) return null;
|
|
182
|
-
|
|
183
|
-
try {
|
|
184
|
-
raw = parseLockYaml(readFileSync(lockPath, "utf8"));
|
|
185
|
-
} catch {
|
|
186
|
-
return null;
|
|
187
|
-
}
|
|
203
|
+
const raw = parseLockYaml(readFileSync(lockPath, "utf8"), basename(lockPath));
|
|
188
204
|
if (!raw || typeof raw !== "object") return null;
|
|
189
205
|
const r = raw;
|
|
190
206
|
if (r.schema_version !== 3 && r.schema_version !== 4) {
|
|
@@ -243,7 +259,8 @@ function buildLockFile(resolved, overridesApplied, libraryAssets = {}) {
|
|
|
243
259
|
source: { url: c.sourceUrl, commit: c.commit },
|
|
244
260
|
files: c.files,
|
|
245
261
|
override_applied: overridesApplied.has(canonicalRef),
|
|
246
|
-
...lockRequires(c)
|
|
262
|
+
...lockRequires(c),
|
|
263
|
+
...c.storeUrl ? { origin: "store", store: c.storeUrl } : {}
|
|
247
264
|
};
|
|
248
265
|
}
|
|
249
266
|
return {
|
|
@@ -402,9 +419,20 @@ var ManifestYamlEditor = class _ManifestYamlEditor {
|
|
|
402
419
|
if (contents != null && !isMap(contents)) return "the root must be a mapping";
|
|
403
420
|
return void 0;
|
|
404
421
|
}
|
|
405
|
-
/**
|
|
422
|
+
/**
|
|
423
|
+
* Write the document back to disk, preserving comments and formatting. The file is replaced in
|
|
424
|
+
* one step, so a process that reads it while another saves never sees a half-written manifest.
|
|
425
|
+
*/
|
|
406
426
|
save() {
|
|
407
|
-
|
|
427
|
+
const target = existsSync(this.path) ? realpathSync(this.path) : this.path;
|
|
428
|
+
const tmp = `${target}.${process.pid}.tmp`;
|
|
429
|
+
writeFileSync(tmp, this.toString());
|
|
430
|
+
try {
|
|
431
|
+
renameSync(tmp, target);
|
|
432
|
+
} catch (err) {
|
|
433
|
+
rmSync(tmp, { force: true });
|
|
434
|
+
throw err;
|
|
435
|
+
}
|
|
408
436
|
}
|
|
409
437
|
/** Return the serialized YAML string without writing to disk. */
|
|
410
438
|
toString() {
|
|
@@ -1203,14 +1231,18 @@ var WorkspaceYamlEditor = class _WorkspaceYamlEditor {
|
|
|
1203
1231
|
if (first) {
|
|
1204
1232
|
const reason = (first.message.split("\n")[0] ?? "").replace(/:$/, "");
|
|
1205
1233
|
const hint = yamlQuotingHint(reason, raw);
|
|
1206
|
-
throw new
|
|
1234
|
+
throw new ConfigParseError(
|
|
1235
|
+
`${basename(filePath)} \u2014 parse error: ${reason}${hint ? `.${hint}` : ""}`
|
|
1236
|
+
);
|
|
1207
1237
|
}
|
|
1208
1238
|
const label = basename(filePath);
|
|
1209
1239
|
if (doc.contents !== null && !isMap(doc.contents)) {
|
|
1210
|
-
throw new
|
|
1240
|
+
throw new ConfigParseError(
|
|
1241
|
+
`${label} \u2014 parse error: skaile.yaml must be a mapping at the top level.`
|
|
1242
|
+
);
|
|
1211
1243
|
}
|
|
1212
1244
|
const wrongShape = valueShapeError(doc.toJS() ?? {});
|
|
1213
|
-
if (wrongShape) throw new
|
|
1245
|
+
if (wrongShape) throw new ConfigParseError(`${label} \u2014 parse error: ${wrongShape.message}`);
|
|
1214
1246
|
return new _WorkspaceYamlEditor(filePath, doc);
|
|
1215
1247
|
}
|
|
1216
1248
|
/** Create a new empty document (for use when no file exists yet). */
|
|
@@ -1568,6 +1600,6 @@ var WorkspaceYamlEditor = class _WorkspaceYamlEditor {
|
|
|
1568
1600
|
}
|
|
1569
1601
|
};
|
|
1570
1602
|
|
|
1571
|
-
export { AGENT_PROMPT_SECTION_ORDER, FACTORY_SOURCE_URL, GLOBAL_INSTALL_DIR_NAME, LOCK_FACTORY_URL, LOCK_SCHEMA_VERSION, ManifestYamlEditor, PROVIDERS_FILENAME, SETTINGS_DEFAULTS, WorkspaceYamlEditor, aiResourceRoots, applyPatch, assertLockHashes, buildAgentPromptSections, buildLibraryLockEntries, buildLockFile, capMemoryContent, checkAgentSkillConformance, computeHash, connectProbe, defaultLibraryDir, detectPackageManager, extractForPatch, findProjectPackageDir, generatePatch, globalInstallDir, globalSettingsPath, harnessSdkMissingError, holdsWildcard, installCommand, installCommandFor, listPatches, listenWithProbe, loadHarnessSdk, loadHarnessSdkSubpath, loadProviderRegistry, loadProviderRegistryFile, loadSettings, mapLegacyFields, maskApiKey, mergeLockFile, migrateSettings, needsWildcardProbe, portIsHeld, probeHosts, projectAssetRoots, projectSettingsPath, readLock, readPatch, readPluginsLockSlice, renderMemorySection, resolveConfiguredHarnessName, resolveLibraryDir, resolveSettings, resolveSettingsWithSources, resyncLockSources, savePatch, saveProviderRegistryFile, saveSettings, sdkLookupPlaces, skaileInstallDir, userProviderRegistryPath, verifyLock, verifyLockEntry, walkForSettings, workspaceProviderRegistryPath, writeLock, writePluginsLockSlice };
|
|
1572
|
-
//# sourceMappingURL=chunk-
|
|
1573
|
-
//# sourceMappingURL=chunk-
|
|
1603
|
+
export { AGENT_PROMPT_SECTION_ORDER, FACTORY_SOURCE_URL, GLOBAL_INSTALL_DIR_NAME, LOCK_FACTORY_URL, LOCK_SCHEMA_VERSION, LockParseError, ManifestYamlEditor, PROVIDERS_FILENAME, SETTINGS_DEFAULTS, WorkspaceYamlEditor, aiResourceRoots, applyPatch, assertLockHashes, buildAgentPromptSections, buildLibraryLockEntries, buildLockFile, capMemoryContent, checkAgentSkillConformance, computeHash, connectProbe, defaultLibraryDir, detectPackageManager, extractForPatch, findProjectPackageDir, generatePatch, globalInstallDir, globalSettingsPath, harnessSdkMissingError, holdsWildcard, installCommand, installCommandFor, isFactoryMemorySource, listPatches, listenWithProbe, loadHarnessSdk, loadHarnessSdkSubpath, loadProviderRegistry, loadProviderRegistryFile, loadSettings, mapLegacyFields, maskApiKey, mergeLockFile, migrateSettings, needsWildcardProbe, portIsHeld, probeHosts, projectAssetRoots, projectSettingsPath, readLock, readPatch, readPluginsLockSlice, renderMemorySection, resolveConfiguredHarnessName, resolveLibraryDir, resolveSettings, resolveSettingsWithSources, resyncLockSources, savePatch, saveProviderRegistryFile, saveSettings, sdkLookupPlaces, skaileInstallDir, userProviderRegistryPath, verifyLock, verifyLockEntry, walkForSettings, workspaceProviderRegistryPath, writeLock, writePluginsLockSlice };
|
|
1604
|
+
//# sourceMappingURL=chunk-UMLCKKIA.js.map
|
|
1605
|
+
//# sourceMappingURL=chunk-UMLCKKIA.js.map
|