@skaile/workspaces 5.4.0 → 5.6.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 +98 -0
- package/dist/app-sdk/index.js +1 -1
- package/dist/{asset-feeds-3MVRNS5U.js → asset-feeds-4O2JK5S4.js} +27 -14
- package/dist/asset-feeds-4O2JK5S4.js.map +1 -0
- package/dist/asset-manager/catalog-deployer.js +9 -9
- package/dist/asset-manager/index.js +18 -18
- package/dist/asset-manager/installer.js +11 -11
- package/dist/asset-manager/renderers.js +20 -2
- package/dist/asset-manager/src/index.d.ts +75 -24
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/asset-manager/src/install-agent.d.ts +22 -14
- package/dist/asset-manager/src/install-agent.d.ts.map +1 -1
- package/dist/asset-manager/src/install-instances.d.ts +55 -0
- package/dist/asset-manager/src/install-instances.d.ts.map +1 -0
- package/dist/asset-manager/src/installer.d.ts +30 -7
- package/dist/asset-manager/src/installer.d.ts.map +1 -1
- package/dist/asset-manager/src/renderers.d.ts +29 -8
- package/dist/asset-manager/src/renderers.d.ts.map +1 -1
- package/dist/bridge/drivers/claude-sdk.js +14 -14
- package/dist/bridge/drivers/codex.js +20 -14
- package/dist/bridge/drivers/codex.js.map +1 -1
- package/dist/bridge/drivers/continue.js +11 -11
- package/dist/bridge/drivers/echo.js +3 -3
- package/dist/bridge/drivers/gemini.js +6 -6
- package/dist/bridge/drivers/goose.js +11 -11
- package/dist/bridge/drivers/omp.js +4 -4
- package/dist/bridge/drivers/opencode.js +11 -11
- package/dist/bridge/drivers/qwen.js +6 -6
- package/dist/bridge/index.js +15 -15
- package/dist/bridge/src/codex/native-policy.d.ts +1 -1
- package/dist/bridge/src/drivers/codex.d.ts +2 -1
- package/dist/bridge/src/drivers/codex.d.ts.map +1 -1
- package/dist/{chunk-LUBS5DXY.js → chunk-27HS2DHB.js} +4 -4
- package/dist/{chunk-LUBS5DXY.js.map → chunk-27HS2DHB.js.map} +1 -1
- package/dist/{chunk-RD6GE4HU.js → chunk-2GRB5ITE.js} +4 -4
- package/dist/{chunk-RD6GE4HU.js.map → chunk-2GRB5ITE.js.map} +1 -1
- package/dist/{chunk-UKDFOOEG.js → chunk-2NYXQYHN.js} +4 -4
- package/dist/{chunk-UKDFOOEG.js.map → chunk-2NYXQYHN.js.map} +1 -1
- package/dist/{chunk-6IGFSUTE.js → chunk-2W4LBLIN.js} +388 -61
- package/dist/chunk-2W4LBLIN.js.map +1 -0
- package/dist/{chunk-OXE5A6H6.js → chunk-2XFUXGV6.js} +3 -3
- package/dist/{chunk-OXE5A6H6.js.map → chunk-2XFUXGV6.js.map} +1 -1
- package/dist/{chunk-ZDKJHQY2.js → chunk-3TXEJN4W.js} +2 -2
- package/dist/{chunk-ZDKJHQY2.js.map → chunk-3TXEJN4W.js.map} +1 -1
- package/dist/{chunk-QK756IRJ.js → chunk-436GRQC2.js} +15 -15
- package/dist/chunk-436GRQC2.js.map +1 -0
- package/dist/{chunk-JELTQ4H7.js → chunk-45VFGT7A.js} +3 -3
- package/dist/{chunk-JELTQ4H7.js.map → chunk-45VFGT7A.js.map} +1 -1
- package/dist/{chunk-XGIS325V.js → chunk-46OVMT76.js} +3 -3
- package/dist/{chunk-XGIS325V.js.map → chunk-46OVMT76.js.map} +1 -1
- package/dist/{chunk-37GBJLF5.js → chunk-47ZD34KB.js} +3 -3
- package/dist/{chunk-37GBJLF5.js.map → chunk-47ZD34KB.js.map} +1 -1
- package/dist/{chunk-BATL2CWI.js → chunk-4CTGEEN6.js} +297 -124
- package/dist/chunk-4CTGEEN6.js.map +1 -0
- package/dist/{chunk-DTV7HL5R.js → chunk-4GNJELPH.js} +2 -2
- package/dist/{chunk-DTV7HL5R.js.map → chunk-4GNJELPH.js.map} +1 -1
- package/dist/{chunk-AE42DHSH.js → chunk-5B5IZVEP.js} +2 -2
- package/dist/{chunk-AE42DHSH.js.map → chunk-5B5IZVEP.js.map} +1 -1
- package/dist/{chunk-BHUHGLNS.js → chunk-6NPINANG.js} +6 -6
- package/dist/{chunk-BHUHGLNS.js.map → chunk-6NPINANG.js.map} +1 -1
- package/dist/{chunk-SQBPE66C.js → chunk-7KLC4LZO.js} +8 -8
- package/dist/{chunk-SQBPE66C.js.map → chunk-7KLC4LZO.js.map} +1 -1
- package/dist/{chunk-SR4RFKHM.js → chunk-7ZHLYXTI.js} +3 -3
- package/dist/{chunk-SR4RFKHM.js.map → chunk-7ZHLYXTI.js.map} +1 -1
- package/dist/{chunk-WX74MVNA.js → chunk-AO7VJ6G6.js} +3 -24
- package/dist/chunk-AO7VJ6G6.js.map +1 -0
- package/dist/{chunk-UAAAERXI.js → chunk-AOAZCSDI.js} +4 -3
- package/dist/chunk-AOAZCSDI.js.map +1 -0
- package/dist/{chunk-JCATNLY3.js → chunk-BF33SCLY.js} +10 -5
- package/dist/chunk-BF33SCLY.js.map +1 -0
- package/dist/{chunk-VKSA2CDJ.js → chunk-BTISGSK4.js} +4 -4
- package/dist/{chunk-VKSA2CDJ.js.map → chunk-BTISGSK4.js.map} +1 -1
- package/dist/{chunk-TOSHZX4C.js → chunk-CPSIPIX7.js} +2 -2
- package/dist/chunk-CPSIPIX7.js.map +1 -0
- package/dist/{chunk-K2K7OF4P.js → chunk-DMLDYFDS.js} +23 -6
- package/dist/chunk-DMLDYFDS.js.map +1 -0
- package/dist/{chunk-A67BHJCH.js → chunk-DZM73WDN.js} +4 -4
- package/dist/{chunk-A67BHJCH.js.map → chunk-DZM73WDN.js.map} +1 -1
- package/dist/{chunk-QMWMSZQ4.js → chunk-FK6HPLQA.js} +3 -3
- package/dist/{chunk-QMWMSZQ4.js.map → chunk-FK6HPLQA.js.map} +1 -1
- package/dist/chunk-FRHE7FFB.js +655 -0
- package/dist/chunk-FRHE7FFB.js.map +1 -0
- package/dist/{chunk-37DN45RR.js → chunk-IPWR33AW.js} +181 -111
- package/dist/chunk-IPWR33AW.js.map +1 -0
- package/dist/{chunk-2XXAVTTO.js → chunk-KUFNKVBM.js} +3 -3
- package/dist/{chunk-2XXAVTTO.js.map → chunk-KUFNKVBM.js.map} +1 -1
- package/dist/{chunk-GCYD4EGY.js → chunk-KYXOGHY6.js} +4 -4
- package/dist/{chunk-GCYD4EGY.js.map → chunk-KYXOGHY6.js.map} +1 -1
- package/dist/{chunk-ZIYYMR6Y.js → chunk-LLKKLKZJ.js} +3 -3
- package/dist/{chunk-ZIYYMR6Y.js.map → chunk-LLKKLKZJ.js.map} +1 -1
- package/dist/{chunk-Y5OCUOXF.js → chunk-MX3UQXLU.js} +52 -35
- package/dist/chunk-MX3UQXLU.js.map +1 -0
- package/dist/{chunk-7KITVWXK.js → chunk-MX6LZE2C.js} +44 -13
- package/dist/chunk-MX6LZE2C.js.map +1 -0
- package/dist/{chunk-BNUZEYC3.js → chunk-NARITJS2.js} +3 -3
- package/dist/{chunk-BNUZEYC3.js.map → chunk-NARITJS2.js.map} +1 -1
- package/dist/{chunk-OANSNVCP.js → chunk-NLXIALVO.js} +5 -5
- package/dist/{chunk-OANSNVCP.js.map → chunk-NLXIALVO.js.map} +1 -1
- package/dist/{chunk-U6ORGQHZ.js → chunk-O5GDKC5I.js} +3 -3
- package/dist/{chunk-U6ORGQHZ.js.map → chunk-O5GDKC5I.js.map} +1 -1
- package/dist/{chunk-ZUZ5LLZ2.js → chunk-OGLDAJFL.js} +4 -4
- package/dist/{chunk-ZUZ5LLZ2.js.map → chunk-OGLDAJFL.js.map} +1 -1
- package/dist/chunk-OLLAQLFJ.js +17 -0
- package/dist/chunk-OLLAQLFJ.js.map +1 -0
- package/dist/{chunk-LFMX2UEF.js → chunk-PA7WLID3.js} +86 -69
- package/dist/chunk-PA7WLID3.js.map +1 -0
- package/dist/{chunk-UNRZCQD4.js → chunk-PJS2YWGG.js} +6 -6
- package/dist/{chunk-UNRZCQD4.js.map → chunk-PJS2YWGG.js.map} +1 -1
- package/dist/{chunk-VETH6MDG.js → chunk-RGXVQZOV.js} +6021 -3099
- package/dist/chunk-RGXVQZOV.js.map +1 -0
- package/dist/{chunk-JEA32KB6.js → chunk-S7QXEXKY.js} +19 -6
- package/dist/chunk-S7QXEXKY.js.map +1 -0
- package/dist/{chunk-JKWU6ULI.js → chunk-SDFROXSA.js} +3 -3
- package/dist/{chunk-JKWU6ULI.js.map → chunk-SDFROXSA.js.map} +1 -1
- package/dist/{chunk-XMQAV6T3.js → chunk-SX4UIDKT.js} +3 -3
- package/dist/{chunk-XMQAV6T3.js.map → chunk-SX4UIDKT.js.map} +1 -1
- package/dist/{chunk-QEXEHXX5.js → chunk-TZCQ7ZWQ.js} +83 -9
- package/dist/chunk-TZCQ7ZWQ.js.map +1 -0
- package/dist/{chunk-ONWTPXVU.js → chunk-UAP2XHRF.js} +10 -10
- package/dist/{chunk-ONWTPXVU.js.map → chunk-UAP2XHRF.js.map} +1 -1
- package/dist/{chunk-JF26V3BC.js → chunk-V7NN3HXR.js} +7 -12
- package/dist/chunk-V7NN3HXR.js.map +1 -0
- package/dist/{chunk-LAI7X6I2.js → chunk-VBBBZDI7.js} +3 -3
- package/dist/{chunk-LAI7X6I2.js.map → chunk-VBBBZDI7.js.map} +1 -1
- package/dist/{chunk-TNWXGHLD.js → chunk-VKSXST23.js} +51 -42
- package/dist/chunk-VKSXST23.js.map +1 -0
- package/dist/{chunk-HTKZ4AOW.js → chunk-VSQFGU5D.js} +3 -3
- package/dist/{chunk-HTKZ4AOW.js.map → chunk-VSQFGU5D.js.map} +1 -1
- package/dist/{chunk-IDUGP4V7.js → chunk-VX3INFBA.js} +4 -4
- package/dist/{chunk-IDUGP4V7.js.map → chunk-VX3INFBA.js.map} +1 -1
- package/dist/{chunk-Y7UBRRKG.js → chunk-XOGG7VDZ.js} +40 -31
- package/dist/chunk-XOGG7VDZ.js.map +1 -0
- package/dist/{chunk-JAJG4G5E.js → chunk-ZBBM6O6P.js} +3 -3
- package/dist/{chunk-JAJG4G5E.js.map → chunk-ZBBM6O6P.js.map} +1 -1
- package/dist/cli/index.js +5031 -3384
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/asset-feeds.d.ts.map +1 -1
- package/dist/cli/src/commands/catalog.d.ts +7 -7
- package/dist/cli/src/commands/catalog.d.ts.map +1 -1
- package/dist/cli/src/commands/connector.d.ts +2 -2
- package/dist/cli/src/commands/connector.d.ts.map +1 -1
- package/dist/cli/src/commands/diff.d.ts.map +1 -1
- package/dist/cli/src/commands/history.d.ts.map +1 -1
- package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/manage.d.ts.map +1 -1
- package/dist/cli/src/commands/migrate-agents.d.ts +131 -0
- package/dist/cli/src/commands/migrate-agents.d.ts.map +1 -0
- package/dist/cli/src/commands/migrate-assets.d.ts +54 -0
- package/dist/cli/src/commands/migrate-assets.d.ts.map +1 -0
- package/dist/cli/src/commands/migrate-files.d.ts +52 -0
- package/dist/cli/src/commands/migrate-files.d.ts.map +1 -0
- package/dist/cli/src/commands/migrate-providers.d.ts +5 -8
- package/dist/cli/src/commands/migrate-providers.d.ts.map +1 -1
- package/dist/cli/src/commands/migrate.d.ts +21 -0
- package/dist/cli/src/commands/migrate.d.ts.map +1 -0
- package/dist/cli/src/commands/npx.d.ts.map +1 -1
- package/dist/cli/src/commands/outdated.d.ts.map +1 -1
- package/dist/cli/src/commands/patch.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 +13 -1
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/cli/src/commands/rebuild.d.ts.map +1 -1
- package/dist/cli/src/commands/run.d.ts.map +1 -1
- package/dist/cli/src/commands/show.d.ts.map +1 -1
- package/dist/cli/src/commands/tree.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 +17 -0
- package/dist/cli/src/commands/validate-instances.d.ts.map +1 -0
- package/dist/cli/src/commands/validate.d.ts +14 -0
- package/dist/cli/src/commands/validate.d.ts.map +1 -1
- package/dist/cli/src/commands/why.d.ts.map +1 -1
- package/dist/cli/src/helpers.d.ts +10 -0
- package/dist/cli/src/helpers.d.ts.map +1 -1
- package/dist/cli/src/open-library.d.ts.map +1 -1
- package/dist/cli/src/open-registry.d.ts +13 -16
- package/dist/cli/src/open-registry.d.ts.map +1 -1
- package/dist/cli/src/type-guards.d.ts +3 -0
- package/dist/cli/src/type-guards.d.ts.map +1 -0
- package/dist/connectors/config.js +6 -6
- package/dist/connectors/index.js +19 -19
- package/dist/{connectors-OB3OAZTK.js → connectors-HWENZFKW.js} +22 -22
- package/dist/{connectors-OB3OAZTK.js.map → connectors-HWENZFKW.js.map} +1 -1
- package/dist/connectors-shared/index.js +2 -2
- package/dist/core/driver-targets.js +1 -1
- package/dist/core/index.js +8 -8
- package/dist/core/manifest.js +2 -2
- package/dist/core/models.js +1 -1
- package/dist/core/publish-manifest.js +2 -2
- package/dist/core/ref.js +1 -1
- package/dist/core/runtime-assets.js +6 -6
- package/dist/core/src/agent-instances.d.ts +93 -0
- package/dist/core/src/agent-instances.d.ts.map +1 -0
- package/dist/core/src/agent-prompt-sections.d.ts +90 -0
- package/dist/core/src/agent-prompt-sections.d.ts.map +1 -0
- package/dist/core/src/driver-targets.d.ts +4 -2
- package/dist/core/src/driver-targets.d.ts.map +1 -1
- package/dist/core/src/index.d.ts +12 -8
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/manifest.d.ts +71 -27
- package/dist/core/src/manifest.d.ts.map +1 -1
- package/dist/core/src/models.d.ts +6 -92
- package/dist/core/src/models.d.ts.map +1 -1
- package/dist/core/src/repo-manager.d.ts +54 -3
- package/dist/core/src/repo-manager.d.ts.map +1 -1
- package/dist/core/src/type-guards.d.ts +3 -0
- package/dist/core/src/type-guards.d.ts.map +1 -0
- package/dist/core/src/walker.d.ts +7 -3
- package/dist/core/src/walker.d.ts.map +1 -1
- package/dist/core/src/workspace-config.d.ts +19 -15
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/store.js +2 -2
- package/dist/core/workspace-config.js +5 -5
- package/dist/deploy/index.js +8 -8
- package/dist/discovery/index.js +6 -6
- package/dist/discovery/src/builtin-providers.d.ts +5 -4
- package/dist/discovery/src/builtin-providers.d.ts.map +1 -1
- package/dist/discovery/src/default-registry.d.ts +23 -0
- package/dist/discovery/src/default-registry.d.ts.map +1 -0
- package/dist/discovery/src/discover.d.ts +0 -6
- package/dist/discovery/src/discover.d.ts.map +1 -1
- package/dist/discovery/src/index.d.ts +2 -1
- package/dist/discovery/src/index.d.ts.map +1 -1
- package/dist/discovery/src/tree-entries.d.ts +1 -1
- package/dist/discovery/src/tree-entries.d.ts.map +1 -1
- package/dist/{ensure-sources-Z3KKLEM6.js → ensure-sources-VCPKNPK2.js} +21 -21
- package/dist/{ensure-sources-Z3KKLEM6.js.map → ensure-sources-VCPKNPK2.js.map} +1 -1
- package/dist/factory-assets/README.md +3 -3
- package/dist/factory-assets/connectors/box.js +19 -19
- package/dist/factory-assets/connectors/deploy.js +19 -19
- package/dist/factory-assets/connectors/devserver.js +19 -19
- package/dist/factory-assets/connectors/flow/adapter.js +19 -19
- package/dist/factory-assets/connectors/flow/engine/flow-kind-provider.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine.js +9 -9
- package/dist/factory-assets/connectors/flow/run-flow.js +21 -21
- package/dist/factory-assets/connectors/flow.js +19 -19
- package/dist/factory-assets/connectors/git.js +19 -19
- package/dist/factory-assets/connectors/gmail.js +19 -19
- package/dist/factory-assets/connectors/googledrive.js +19 -19
- package/dist/factory-assets/connectors/local.js +19 -19
- package/dist/factory-assets/connectors/mattermost.js +19 -19
- package/dist/factory-assets/connectors/memory.js +19 -19
- package/dist/factory-assets/connectors/minio.js +19 -19
- package/dist/factory-assets/connectors/postgres.js +19 -19
- package/dist/factory-assets/connectors/s3.js +19 -19
- package/dist/factory-assets/connectors/sharepoint.js +19 -19
- package/dist/factory-assets/connectors/sqlite.js +19 -19
- package/dist/factory-assets/connectors/static-server.js +19 -19
- package/dist/factory-assets/connectors/tunnel.js +19 -19
- package/dist/factory-assets/connectors/webdav.js +19 -19
- package/dist/factory-assets/connectors/xstate-store.js +19 -19
- package/dist/factory-assets/connectors/xstate.js +19 -19
- package/dist/factory-assets/index.js.map +1 -1
- package/dist/factory-assets/presets/workspaces-authoring/workspaces-authoring.preset.yaml +9 -0
- package/dist/factory-assets/skaile.manifest.yaml +2 -2
- package/dist/factory-assets/skills/authoring-skaile-assets/SKILL.md +16 -12
- package/dist/factory-assets/skills/authoring-skaile-manifests/SKILL.md +8 -8
- package/dist/factory-assets/skills/authoring-skaile-manifests/references/dependency-standard.md +13 -11
- package/dist/factory-assets/skills/skaile-manage-workspace/SKILL.md +1 -1
- package/dist/{flows-DTADYIXH.js → flows-ENQY2DV7.js} +13 -13
- package/dist/{flows-DTADYIXH.js.map → flows-ENQY2DV7.js.map} +1 -1
- package/dist/helpers-IW36CEJX.js +34 -0
- package/dist/{helpers-F2RFRT5D.js.map → helpers-IW36CEJX.js.map} +1 -1
- package/dist/library/index.js +13 -13
- package/dist/library/install.js +3 -3
- package/dist/library/src/index.d.ts +2 -2
- package/dist/library/src/index.d.ts.map +1 -1
- package/dist/library/src/library.d.ts +2 -12
- package/dist/library/src/library.d.ts.map +1 -1
- package/dist/library/src/local/local-catalog-source.d.ts +2 -2
- package/dist/library/src/local/local-catalog-source.d.ts.map +1 -1
- package/dist/library/src/manifest-writer.d.ts +4 -1
- package/dist/library/src/manifest-writer.d.ts.map +1 -1
- package/dist/library/src/remote/remote-catalog-source.d.ts +11 -2
- package/dist/library/src/remote/remote-catalog-source.d.ts.map +1 -1
- package/dist/library/src/sync/manifest-writeback.d.ts.map +1 -1
- package/dist/{library-publish-62RFU74A.js → library-publish-R3DQLMTD.js} +27 -27
- package/dist/{library-publish-62RFU74A.js.map → library-publish-R3DQLMTD.js.map} +1 -1
- package/dist/open-library-FAJZRDKE.js +40 -0
- package/dist/{open-library-NVG3CZUO.js.map → open-library-FAJZRDKE.js.map} +1 -1
- package/dist/open-registry-NVPCQPND.js +32 -0
- package/dist/{open-registry-IYH6W6CN.js.map → open-registry-NVPCQPND.js.map} +1 -1
- package/dist/paths-YUCP7K6U.js +22 -0
- package/dist/{paths-STQO4FYF.js.map → paths-YUCP7K6U.js.map} +1 -1
- package/dist/{plugin-store-2DTEIJTG.js → plugin-store-66QFBNEO.js} +10 -10
- package/dist/{plugin-store-2DTEIJTG.js.map → plugin-store-66QFBNEO.js.map} +1 -1
- package/dist/plugins/index.js +1 -1
- package/dist/plugins/src/asset-kind-provider.d.ts +14 -2
- package/dist/plugins/src/asset-kind-provider.d.ts.map +1 -1
- package/dist/plugins/src/catalog-source.d.ts +7 -0
- package/dist/plugins/src/catalog-source.d.ts.map +1 -1
- package/dist/plugins/src/index.d.ts +1 -1
- package/dist/plugins/src/index.d.ts.map +1 -1
- package/dist/project-ALJIVFHI.js +41 -0
- package/dist/{project-44LM6SRV.js.map → project-ALJIVFHI.js.map} +1 -1
- package/dist/resolver/index.js +9 -9
- package/dist/runner/index.js +34 -29
- package/dist/runner/src/agent-capabilities.d.ts +101 -0
- package/dist/runner/src/agent-capabilities.d.ts.map +1 -0
- package/dist/runner/src/agent.d.ts.map +1 -1
- package/dist/runner/src/agents/in-process-host.d.ts +56 -0
- package/dist/runner/src/agents/in-process-host.d.ts.map +1 -0
- package/dist/runner/src/agents/instances.d.ts +62 -0
- package/dist/runner/src/agents/instances.d.ts.map +1 -0
- package/dist/runner/src/agents/json-schema.d.ts +16 -0
- package/dist/runner/src/agents/json-schema.d.ts.map +1 -0
- package/dist/runner/src/agents/memory-run-store.d.ts +19 -0
- package/dist/runner/src/agents/memory-run-store.d.ts.map +1 -0
- package/dist/runner/src/agents/run-controller.d.ts +208 -0
- package/dist/runner/src/agents/run-controller.d.ts.map +1 -0
- package/dist/runner/src/agents/standalone-surface.d.ts +30 -0
- package/dist/runner/src/agents/standalone-surface.d.ts.map +1 -0
- package/dist/runner/src/capability-registry.d.ts.map +1 -1
- package/dist/runner/src/composition/bootstrap.d.ts +13 -51
- package/dist/runner/src/composition/bootstrap.d.ts.map +1 -1
- package/dist/runner/src/composition/compile.d.ts +43 -27
- package/dist/runner/src/composition/compile.d.ts.map +1 -1
- package/dist/runner/src/composition/content-source.d.ts +94 -0
- package/dist/runner/src/composition/content-source.d.ts.map +1 -0
- package/dist/runner/src/composition/dry-run.d.ts +34 -0
- package/dist/runner/src/composition/dry-run.d.ts.map +1 -0
- package/dist/runner/src/composition/errors.d.ts +41 -0
- package/dist/runner/src/composition/errors.d.ts.map +1 -0
- package/dist/runner/src/composition/index.d.ts +10 -3
- package/dist/runner/src/composition/index.d.ts.map +1 -1
- package/dist/runner/src/composition/prompt-sections.d.ts +31 -0
- package/dist/runner/src/composition/prompt-sections.d.ts.map +1 -0
- package/dist/runner/src/composition/resolve-instance.d.ts +140 -0
- package/dist/runner/src/composition/resolve-instance.d.ts.map +1 -0
- package/dist/runner/src/composition/resolve.d.ts +43 -25
- package/dist/runner/src/composition/resolve.d.ts.map +1 -1
- package/dist/runner/src/composition/revision-hash.d.ts +58 -0
- package/dist/runner/src/composition/revision-hash.d.ts.map +1 -0
- package/dist/runner/src/composition/run-snapshot.d.ts +37 -0
- package/dist/runner/src/composition/run-snapshot.d.ts.map +1 -0
- package/dist/runner/src/composition/types.d.ts +79 -12
- package/dist/runner/src/composition/types.d.ts.map +1 -1
- package/dist/runner/src/index.d.ts +2 -0
- package/dist/runner/src/index.d.ts.map +1 -1
- package/dist/runner/src/manifest.d.ts +1 -1
- package/dist/runner/src/manifest.d.ts.map +1 -1
- package/dist/runner/src/mixin-resolver.d.ts +14 -15
- package/dist/runner/src/mixin-resolver.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts +6 -0
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/runner/src/session-builder.d.ts +35 -6
- package/dist/runner/src/session-builder.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +18 -18
- package/dist/sdk/bridge.js +15 -15
- package/dist/sdk/core.js +8 -8
- package/dist/sdk/flow.js +9 -9
- package/dist/sdk/index.js +34 -29
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.js +9 -9
- package/dist/sdk/runner.js +34 -29
- package/dist/sdk/session.js +2 -2
- package/dist/sdk/types.js +1 -1
- package/dist/secrets/index.js +2 -2
- package/dist/session/index.js +2 -2
- package/dist/{setup-4BV5ZWOZ.js → setup-35JXIA3N.js} +28 -28
- package/dist/{setup-4BV5ZWOZ.js.map → setup-35JXIA3N.js.map} +1 -1
- package/dist/skills-CS7NE5TT.js +26 -0
- package/dist/{skills-M7OU3WMP.js.map → skills-CS7NE5TT.js.map} +1 -1
- package/dist/source-ISR4KRZV.js +41 -0
- package/dist/{source-HTT6CXUP.js.map → source-ISR4KRZV.js.map} +1 -1
- package/dist/{source-manifest-publish-CPXUX3CL.js → source-manifest-publish-P22IPK5F.js} +27 -27
- package/dist/{source-manifest-publish-CPXUX3CL.js.map → source-manifest-publish-P22IPK5F.js.map} +1 -1
- package/dist/tui/index.js +34 -29
- 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/agent-lifecycle.d.ts +402 -0
- package/dist/types/src/agent-lifecycle.d.ts.map +1 -0
- package/dist/types/src/capabilities.d.ts +0 -4
- package/dist/types/src/capabilities.d.ts.map +1 -1
- package/dist/types/src/delivery.d.ts.map +1 -1
- package/dist/types/src/events.d.ts +66 -4
- package/dist/types/src/events.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +3 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/lifecycle.d.ts +21 -3
- package/dist/types/src/lifecycle.d.ts.map +1 -1
- package/dist/types/src/manifests/_shared.d.ts +1 -16
- package/dist/types/src/manifests/_shared.d.ts.map +1 -1
- package/dist/types/src/manifests/agent-composition.d.ts +44 -0
- package/dist/types/src/manifests/agent-composition.d.ts.map +1 -0
- package/dist/types/src/manifests/agent.d.ts +184 -6
- package/dist/types/src/manifests/agent.d.ts.map +1 -1
- package/dist/types/src/manifests/index.d.ts +6 -15
- package/dist/types/src/manifests/index.d.ts.map +1 -1
- package/dist/types/src/manifests/preset.d.ts +5 -5
- package/dist/types/src/version.d.ts +16 -1
- package/dist/types/src/version.d.ts.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +26 -26
- package/dist/workspace-plugin/adapters/omp.js +14 -14
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +1 -1
- package/dist/asset-feeds-3MVRNS5U.js.map +0 -1
- package/dist/chunk-37DN45RR.js.map +0 -1
- package/dist/chunk-5CYEWBPB.js +0 -440
- package/dist/chunk-5CYEWBPB.js.map +0 -1
- package/dist/chunk-5NH3U6N5.js +0 -15
- package/dist/chunk-5NH3U6N5.js.map +0 -1
- package/dist/chunk-6IGFSUTE.js.map +0 -1
- package/dist/chunk-7KITVWXK.js.map +0 -1
- package/dist/chunk-BATL2CWI.js.map +0 -1
- package/dist/chunk-JCATNLY3.js.map +0 -1
- package/dist/chunk-JEA32KB6.js.map +0 -1
- package/dist/chunk-JF26V3BC.js.map +0 -1
- package/dist/chunk-K2K7OF4P.js.map +0 -1
- package/dist/chunk-LFMX2UEF.js.map +0 -1
- package/dist/chunk-QEXEHXX5.js.map +0 -1
- package/dist/chunk-QK756IRJ.js.map +0 -1
- package/dist/chunk-TNWXGHLD.js.map +0 -1
- package/dist/chunk-TOSHZX4C.js.map +0 -1
- package/dist/chunk-UAAAERXI.js.map +0 -1
- package/dist/chunk-VETH6MDG.js.map +0 -1
- package/dist/chunk-WX74MVNA.js.map +0 -1
- package/dist/chunk-Y5OCUOXF.js.map +0 -1
- package/dist/chunk-Y7UBRRKG.js.map +0 -1
- package/dist/factory-assets/bundles/workspaces-authoring/workspaces-authoring.bundle.yaml +0 -9
- package/dist/helpers-F2RFRT5D.js +0 -34
- package/dist/open-library-NVG3CZUO.js +0 -40
- package/dist/open-registry-IYH6W6CN.js +0 -32
- package/dist/paths-STQO4FYF.js +0 -22
- package/dist/project-44LM6SRV.js +0 -36
- package/dist/skills-M7OU3WMP.js +0 -26
- package/dist/source-HTT6CXUP.js +0 -41
- package/dist/types/src/manifests/mount.d.ts +0 -21
- package/dist/types/src/manifests/mount.d.ts.map +0 -1
|
@@ -90,9 +90,9 @@ export declare const VERTEX_MODEL_ID_PATTERN: RegExp;
|
|
|
90
90
|
*/
|
|
91
91
|
export declare const ModelIdSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
92
92
|
inherit: "inherit";
|
|
93
|
-
haiku: "haiku";
|
|
94
93
|
opus: "opus";
|
|
95
94
|
sonnet: "sonnet";
|
|
95
|
+
haiku: "haiku";
|
|
96
96
|
}>, z.ZodString, z.ZodString, z.ZodString]>;
|
|
97
97
|
/**
|
|
98
98
|
* Hosts that serve the first-party Anthropic Messages API. An
|
|
@@ -212,29 +212,50 @@ export declare function normalizeAnthropicModel(input: string | undefined | null
|
|
|
212
212
|
* @since 3.21.0
|
|
213
213
|
*/
|
|
214
214
|
export declare const ModelSelectorSchema: z.ZodString;
|
|
215
|
-
|
|
215
|
+
/** Bindings for content items: how the asset's bytes reach the prompt / tool surface. */
|
|
216
|
+
export declare const ContentBindingValues: readonly ["discoverable", "inline-live", "inline-snapshot"];
|
|
217
|
+
/** Bindings for `kind: agent` items: how the sub-agent is invoked. */
|
|
218
|
+
export declare const AgentBindingValues: readonly ["delegate", "run"];
|
|
219
|
+
export declare const BindingValues: readonly ["discoverable", "inline-live", "inline-snapshot", "delegate", "run"];
|
|
216
220
|
export declare const BindingSchema: z.ZodEnum<{
|
|
217
221
|
discoverable: "discoverable";
|
|
218
222
|
"inline-live": "inline-live";
|
|
219
223
|
"inline-snapshot": "inline-snapshot";
|
|
224
|
+
delegate: "delegate";
|
|
225
|
+
run: "run";
|
|
220
226
|
}>;
|
|
221
227
|
export type Binding = z.infer<typeof BindingSchema>;
|
|
228
|
+
/** Slot ids name a composed connector / mcp-server inside one agent: `composition.<id>`, `<id>.<operation>`. */
|
|
229
|
+
export declare const SLOT_ID_PATTERN: RegExp;
|
|
230
|
+
/** Kinds whose compose item MUST carry a slot `id`. */
|
|
231
|
+
export declare const SLOT_ID_REQUIRED_KINDS: Readonly<Record<string, true>>;
|
|
222
232
|
/**
|
|
223
233
|
* A single composition item within an agent's `composes:` field.
|
|
224
234
|
*
|
|
225
|
-
* - `kind`: the asset kind being composed
|
|
226
|
-
*
|
|
235
|
+
* - `kind`: the asset kind being composed. Any string here; `skaile validate`
|
|
236
|
+
* checks it against the kind registry (plus the `soul` pseudo-kind).
|
|
237
|
+
* - `ref`: asset ref (e.g. '@skaile/gmail@^1') or a local path.
|
|
238
|
+
* - `id`: slot id; required for `connector` and `mcp-server` items.
|
|
239
|
+
* - `as`: local alias under which the item is exposed (e.g. a sub-agent name); also the rendered
|
|
240
|
+
* file name, so it must match `[a-z][a-z0-9_-]*`.
|
|
227
241
|
* - `instance`: optional Library Instance ref to reuse (e.g. 'library://personal/instances/uuid')
|
|
228
|
-
* - `
|
|
242
|
+
* - `config`: free-form per-item configuration.
|
|
243
|
+
* - `binding`: how the asset integrates into the agent runtime; defaults per-kind.
|
|
244
|
+
* `delegate | run` apply to `kind: agent` only.
|
|
229
245
|
*/
|
|
230
246
|
export declare const AgentComposeItemSchema: z.ZodObject<{
|
|
231
247
|
kind: z.ZodString;
|
|
232
248
|
ref: z.ZodString;
|
|
249
|
+
id: z.ZodOptional<z.ZodString>;
|
|
250
|
+
as: z.ZodOptional<z.ZodString>;
|
|
233
251
|
instance: z.ZodOptional<z.ZodString>;
|
|
252
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
234
253
|
binding: z.ZodOptional<z.ZodEnum<{
|
|
235
254
|
discoverable: "discoverable";
|
|
236
255
|
"inline-live": "inline-live";
|
|
237
256
|
"inline-snapshot": "inline-snapshot";
|
|
257
|
+
delegate: "delegate";
|
|
258
|
+
run: "run";
|
|
238
259
|
}>>;
|
|
239
260
|
}, z.core.$strip>;
|
|
240
261
|
export type AgentComposeItem = z.infer<typeof AgentComposeItemSchema>;
|
|
@@ -264,6 +285,93 @@ export declare const AgentToolsSchema: z.ZodObject<{
|
|
|
264
285
|
denied: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
265
286
|
}, z.core.$loose>;
|
|
266
287
|
export type AgentTools = z.infer<typeof AgentToolsSchema>;
|
|
288
|
+
/** `standing` = long-running identity; `role` = short-lived, callable with typed I/O. */
|
|
289
|
+
export declare const AgentLifecycleValues: readonly ["standing", "role"];
|
|
290
|
+
export declare const AgentLifecycleSchema: z.ZodEnum<{
|
|
291
|
+
standing: "standing";
|
|
292
|
+
role: "role";
|
|
293
|
+
}>;
|
|
294
|
+
export type AgentLifecycle = z.infer<typeof AgentLifecycleSchema>;
|
|
295
|
+
/** Typed I/O of a role agent, validated by `agent.run`. */
|
|
296
|
+
export declare const AgentIoSchema: z.ZodObject<{
|
|
297
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
298
|
+
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
299
|
+
}, z.core.$loose>;
|
|
300
|
+
export type AgentIo = z.infer<typeof AgentIoSchema>;
|
|
301
|
+
export declare const MemoryScopeValues: readonly ["instance", "user", "workspace"];
|
|
302
|
+
export declare const MemoryScopeSchema: z.ZodEnum<{
|
|
303
|
+
instance: "instance";
|
|
304
|
+
user: "user";
|
|
305
|
+
workspace: "workspace";
|
|
306
|
+
}>;
|
|
307
|
+
export type MemoryScope = z.infer<typeof MemoryScopeSchema>;
|
|
308
|
+
/** A named, scoped, bounded text block the host stores and the runner renders. */
|
|
309
|
+
export declare const MemoryBlockSchema: z.ZodObject<{
|
|
310
|
+
name: z.ZodString;
|
|
311
|
+
scope: z.ZodEnum<{
|
|
312
|
+
instance: "instance";
|
|
313
|
+
user: "user";
|
|
314
|
+
workspace: "workspace";
|
|
315
|
+
}>;
|
|
316
|
+
max_chars: z.ZodNumber;
|
|
317
|
+
source: z.ZodOptional<z.ZodString>;
|
|
318
|
+
}, z.core.$loose>;
|
|
319
|
+
export type MemoryBlock = z.infer<typeof MemoryBlockSchema>;
|
|
320
|
+
/** Top-level memory declaration. Memory is never a `composes:` kind. */
|
|
321
|
+
export declare const AgentMemorySchema: z.ZodObject<{
|
|
322
|
+
blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
323
|
+
name: z.ZodString;
|
|
324
|
+
scope: z.ZodEnum<{
|
|
325
|
+
instance: "instance";
|
|
326
|
+
user: "user";
|
|
327
|
+
workspace: "workspace";
|
|
328
|
+
}>;
|
|
329
|
+
max_chars: z.ZodNumber;
|
|
330
|
+
source: z.ZodOptional<z.ZodString>;
|
|
331
|
+
}, z.core.$loose>>>;
|
|
332
|
+
consolidation: z.ZodOptional<z.ZodObject<{
|
|
333
|
+
strategy: z.ZodString;
|
|
334
|
+
threshold: z.ZodOptional<z.ZodNumber>;
|
|
335
|
+
}, z.core.$loose>>;
|
|
336
|
+
}, z.core.$loose>;
|
|
337
|
+
export type AgentMemory = z.infer<typeof AgentMemorySchema>;
|
|
338
|
+
/**
|
|
339
|
+
* Default triggers declared on the asset; an instance may override or extend
|
|
340
|
+
* them by `id`. Triggers are never a `composes:` kind.
|
|
341
|
+
*/
|
|
342
|
+
export declare const AgentTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
343
|
+
kind: z.ZodLiteral<"schedule">;
|
|
344
|
+
id: z.ZodString;
|
|
345
|
+
cron: z.ZodString;
|
|
346
|
+
prompt: z.ZodString;
|
|
347
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
348
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
349
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
350
|
+
kind: z.ZodLiteral<"webhook">;
|
|
351
|
+
id: z.ZodString;
|
|
352
|
+
prompt: z.ZodString;
|
|
353
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
354
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
355
|
+
kind: z.ZodLiteral<"channel">;
|
|
356
|
+
id: z.ZodString;
|
|
357
|
+
when: z.ZodString;
|
|
358
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
359
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
360
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
361
|
+
kind: z.ZodLiteral<"event">;
|
|
362
|
+
id: z.ZodString;
|
|
363
|
+
event: z.ZodString;
|
|
364
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
365
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
366
|
+
}, z.core.$loose>], "kind">;
|
|
367
|
+
export type AgentTrigger = z.infer<typeof AgentTriggerSchema>;
|
|
368
|
+
/** A capability the agent needs at runtime; `connector` is a compose slot id. */
|
|
369
|
+
export declare const AgentCapabilityRequirementSchema: z.ZodObject<{
|
|
370
|
+
name: z.ZodString;
|
|
371
|
+
connector: z.ZodOptional<z.ZodString>;
|
|
372
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
373
|
+
}, z.core.$loose>;
|
|
374
|
+
export type AgentCapabilityRequirement = z.infer<typeof AgentCapabilityRequirementSchema>;
|
|
267
375
|
export declare const AgentManifestSchema: z.ZodObject<{
|
|
268
376
|
spec_version: z.ZodOptional<z.ZodString>;
|
|
269
377
|
name: z.ZodString;
|
|
@@ -282,29 +390,99 @@ export declare const AgentManifestSchema: z.ZodObject<{
|
|
|
282
390
|
allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
283
391
|
denied: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
284
392
|
}, z.core.$loose>>;
|
|
285
|
-
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
286
393
|
delegation: z.ZodOptional<z.ZodObject<{
|
|
287
394
|
mode: z.ZodString;
|
|
288
395
|
}, z.core.$loose>>;
|
|
289
396
|
runtime: z.ZodOptional<z.ZodObject<{
|
|
290
397
|
max_turns: z.ZodOptional<z.ZodNumber>;
|
|
291
398
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
399
|
+
background: z.ZodOptional<z.ZodBoolean>;
|
|
292
400
|
}, z.core.$loose>>;
|
|
293
401
|
author: z.ZodOptional<z.ZodString>;
|
|
294
402
|
license: z.ZodOptional<z.ZodString>;
|
|
295
403
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
296
404
|
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
405
|
+
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
406
|
+
standing: "standing";
|
|
407
|
+
role: "role";
|
|
408
|
+
}>>;
|
|
409
|
+
io: z.ZodOptional<z.ZodObject<{
|
|
410
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
411
|
+
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
412
|
+
}, z.core.$loose>>;
|
|
413
|
+
memory: z.ZodOptional<z.ZodObject<{
|
|
414
|
+
blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
415
|
+
name: z.ZodString;
|
|
416
|
+
scope: z.ZodEnum<{
|
|
417
|
+
instance: "instance";
|
|
418
|
+
user: "user";
|
|
419
|
+
workspace: "workspace";
|
|
420
|
+
}>;
|
|
421
|
+
max_chars: z.ZodNumber;
|
|
422
|
+
source: z.ZodOptional<z.ZodString>;
|
|
423
|
+
}, z.core.$loose>>>;
|
|
424
|
+
consolidation: z.ZodOptional<z.ZodObject<{
|
|
425
|
+
strategy: z.ZodString;
|
|
426
|
+
threshold: z.ZodOptional<z.ZodNumber>;
|
|
427
|
+
}, z.core.$loose>>;
|
|
428
|
+
}, z.core.$loose>>;
|
|
429
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
430
|
+
kind: z.ZodLiteral<"schedule">;
|
|
431
|
+
id: z.ZodString;
|
|
432
|
+
cron: z.ZodString;
|
|
433
|
+
prompt: z.ZodString;
|
|
434
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
435
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
436
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
437
|
+
kind: z.ZodLiteral<"webhook">;
|
|
438
|
+
id: z.ZodString;
|
|
439
|
+
prompt: z.ZodString;
|
|
440
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
441
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
442
|
+
kind: z.ZodLiteral<"channel">;
|
|
443
|
+
id: z.ZodString;
|
|
444
|
+
when: z.ZodString;
|
|
445
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
446
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
447
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
448
|
+
kind: z.ZodLiteral<"event">;
|
|
449
|
+
id: z.ZodString;
|
|
450
|
+
event: z.ZodString;
|
|
451
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
452
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
453
|
+
}, z.core.$loose>], "kind">>>;
|
|
454
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
455
|
+
name: z.ZodString;
|
|
456
|
+
connector: z.ZodOptional<z.ZodString>;
|
|
457
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
458
|
+
}, z.core.$loose>>>;
|
|
297
459
|
composes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
298
460
|
kind: z.ZodString;
|
|
299
461
|
ref: z.ZodString;
|
|
462
|
+
id: z.ZodOptional<z.ZodString>;
|
|
463
|
+
as: z.ZodOptional<z.ZodString>;
|
|
300
464
|
instance: z.ZodOptional<z.ZodString>;
|
|
465
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
301
466
|
binding: z.ZodOptional<z.ZodEnum<{
|
|
302
467
|
discoverable: "discoverable";
|
|
303
468
|
"inline-live": "inline-live";
|
|
304
469
|
"inline-snapshot": "inline-snapshot";
|
|
470
|
+
delegate: "delegate";
|
|
471
|
+
run: "run";
|
|
305
472
|
}>>;
|
|
306
473
|
}, z.core.$strip>>>;
|
|
307
474
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
475
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
476
|
+
abilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
477
|
+
contracts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
478
|
+
persona: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
479
|
+
rules: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
480
|
+
knowledge: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
481
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
482
|
+
name: z.ZodString;
|
|
483
|
+
source: z.ZodOptional<z.ZodString>;
|
|
484
|
+
version: z.ZodOptional<z.ZodString>;
|
|
485
|
+
}, z.core.$loose>>>;
|
|
308
486
|
}, z.core.$loose>;
|
|
309
487
|
export type AgentManifest = z.infer<typeof AgentManifestSchema>;
|
|
310
488
|
export declare function validateAgent(data: unknown): ManifestValidationResult<AgentManifest>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../../types/src/manifests/agent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,wBAAwB,EAAoB,MAAM,cAAc,CAAC;AAM/E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,uBAAuB,iDAAkD,CAAC;AACvF,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE3E;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB,+CAAgD,CAAC;AACtF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AAC,CAAC;AAc1F,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAyE5B,CAAC;AAqBL,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,wBAAgB,aAAa,CAAC,IAAI,EAAE,OAAO,GAAG,wBAAwB,CAAC,aAAa,CAAC,CAEpF"}
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
* - <Kind>Manifest (type)
|
|
7
7
|
* - validate<Kind>(data) -> ManifestValidationResult
|
|
8
8
|
*/
|
|
9
|
-
export type {
|
|
10
|
-
export { ArtifactRefSchema,
|
|
11
|
-
export type {
|
|
12
|
-
export {
|
|
9
|
+
export type { ManifestValidationFailure, ManifestValidationResult, ManifestValidationSuccess, } from "./_shared.js";
|
|
10
|
+
export { ArtifactRefSchema, BaseFrontmatterSchema, CommonMetadataSchema, FieldSchema, FilePrerequisiteSchema, UserInputSchema, validateManifest, } from "./_shared.js";
|
|
11
|
+
export type { AgentManifestDiagnostic } from "./agent-composition.js";
|
|
12
|
+
export { agentDeprecationDiagnostics, composeSlotDiagnostics, conventionItems, effectiveComposes, } from "./agent-composition.js";
|
|
13
|
+
export type { AgentCapabilityRequirement, AgentComposeItem, AgentIo, AgentLifecycle, AgentManifest, AgentMemory, AgentTools, AgentTrigger, AnthropicModelAlias, AnthropicModelFamily, Binding, MemoryBlock, MemoryScope, ModelIdTarget, } from "./agent.js";
|
|
14
|
+
export { AgentBindingValues, AgentCapabilityRequirementSchema, AgentComposeItemSchema, AgentIoSchema, AgentLifecycleSchema, AgentLifecycleValues, AgentManifestSchema, AgentMemorySchema, AgentToolsSchema, AgentTriggerSchema, ANTHROPIC_FIRST_PARTY_HOSTS, ANTHROPIC_FULL_ID_PATTERN, ANTHROPIC_MODEL_ALIASES, ANTHROPIC_MODEL_FAMILIES, BEDROCK_MODEL_ID_PATTERN, BindingSchema, BindingValues, ContentBindingValues, FreeFormModelIdSchema, isFirstPartyAnthropicEndpoint, MemoryBlockSchema, MemoryScopeSchema, MemoryScopeValues, ModelIdSchema, modelIdSchemaForCloud, modelIdSchemaForTarget, ModelSelectorSchema, normalizeAnthropicModel, requiresAnthropicModelId, SLOT_ID_PATTERN, SLOT_ID_REQUIRED_KINDS, validateAgent, VERTEX_MODEL_ID_PATTERN, } from "./agent.js";
|
|
13
15
|
export type { ConnectorManifest } from "./connector.js";
|
|
14
16
|
export { ConnectorManifestSchema, validateConnector } from "./connector.js";
|
|
15
|
-
export type { MountManifest } from "./mount.js";
|
|
16
|
-
export { MountManifestSchema, validateMount } from "./mount.js";
|
|
17
17
|
export type { SkillManifest } from "./skill.js";
|
|
18
18
|
export { SKILL_BODY_PLACEHOLDER, SKILL_DESCRIPTION_PLACEHOLDER, SKILL_DESCRIPTION_PLACEHOLDER_PREFIX, SkillManifestSchema, validateSkill, } from "./skill.js";
|
|
19
19
|
export type { ContractManifest } from "./contract.js";
|
|
@@ -28,13 +28,4 @@ export type { Placeholder, PresetItem, PresetManifest, PresetSource } from "./pr
|
|
|
28
28
|
export { PlaceholderSchema, PlaceholderTypeSchema, PresetItemSchema, PresetManifestSchema, PresetSourceSchema, validatePreset, } from "./preset.js";
|
|
29
29
|
export type { RulesetManifest } from "./ruleset.js";
|
|
30
30
|
export { RulesetManifestSchema, validateRuleset } from "./ruleset.js";
|
|
31
|
-
import type { AssetKind, ManifestValidationResult } from "./_shared.js";
|
|
32
|
-
/**
|
|
33
|
-
* Validate a manifest against the schema for the given asset kind.
|
|
34
|
-
*
|
|
35
|
-
* NOTE: flow validation lives in @skaile/workspaces/factory-assets/connectors/flow/engine. Use the
|
|
36
|
-
* IAssetKindRegistry for kind-agnostic validation that includes all
|
|
37
|
-
* registered providers (including extension kinds).
|
|
38
|
-
*/
|
|
39
|
-
export declare function validateByKind(kind: AssetKind, data: unknown): ManifestValidationResult<unknown>;
|
|
40
31
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../types/src/manifests/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,YAAY,EACV,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../types/src/manifests/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,YAAY,EACV,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,WAAW,EACX,sBAAsB,EACtB,eAAe,EACf,gBAAgB,GACjB,MAAM,cAAc,CAAC;AACtB,YAAY,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EACL,2BAA2B,EAC3B,sBAAsB,EACtB,eAAe,EACf,iBAAiB,GAClB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,0BAA0B,EAC1B,gBAAgB,EAChB,OAAO,EACP,cAAc,EACd,aAAa,EACb,WAAW,EACX,UAAU,EACV,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,OAAO,EACP,WAAW,EACX,WAAW,EACX,aAAa,GACd,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,kBAAkB,EAClB,gCAAgC,EAChC,sBAAsB,EACtB,aAAa,EACb,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,2BAA2B,EAC3B,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,aAAa,EACb,aAAa,EACb,oBAAoB,EACpB,qBAAqB,EACrB,6BAA6B,EAC7B,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACb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ypeSchema: z.ZodEnum<{
|
|
|
15
15
|
boolean: "boolean";
|
|
16
16
|
oauth: "oauth";
|
|
17
17
|
text: "text";
|
|
18
|
-
secret: "secret";
|
|
19
18
|
enum: "enum";
|
|
20
19
|
multiline: "multiline";
|
|
20
|
+
secret: "secret";
|
|
21
21
|
"instance-picker": "instance-picker";
|
|
22
22
|
}>;
|
|
23
23
|
export declare const PlaceholderSchema: z.ZodObject<{
|
|
@@ -28,9 +28,9 @@ export declare const PlaceholderSchema: z.ZodObject<{
|
|
|
28
28
|
boolean: "boolean";
|
|
29
29
|
oauth: "oauth";
|
|
30
30
|
text: "text";
|
|
31
|
-
secret: "secret";
|
|
32
31
|
enum: "enum";
|
|
33
32
|
multiline: "multiline";
|
|
33
|
+
secret: "secret";
|
|
34
34
|
"instance-picker": "instance-picker";
|
|
35
35
|
}>>;
|
|
36
36
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -49,9 +49,9 @@ export declare const PresetItemSchema: z.ZodObject<{
|
|
|
49
49
|
boolean: "boolean";
|
|
50
50
|
oauth: "oauth";
|
|
51
51
|
text: "text";
|
|
52
|
-
secret: "secret";
|
|
53
52
|
enum: "enum";
|
|
54
53
|
multiline: "multiline";
|
|
54
|
+
secret: "secret";
|
|
55
55
|
"instance-picker": "instance-picker";
|
|
56
56
|
}>>;
|
|
57
57
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -90,9 +90,9 @@ export declare const PresetManifestSchema: z.ZodObject<{
|
|
|
90
90
|
boolean: "boolean";
|
|
91
91
|
oauth: "oauth";
|
|
92
92
|
text: "text";
|
|
93
|
-
secret: "secret";
|
|
94
93
|
enum: "enum";
|
|
95
94
|
multiline: "multiline";
|
|
95
|
+
secret: "secret";
|
|
96
96
|
"instance-picker": "instance-picker";
|
|
97
97
|
}>>;
|
|
98
98
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -113,9 +113,9 @@ export declare const PresetManifestSchema: z.ZodObject<{
|
|
|
113
113
|
boolean: "boolean";
|
|
114
114
|
oauth: "oauth";
|
|
115
115
|
text: "text";
|
|
116
|
-
secret: "secret";
|
|
117
116
|
enum: "enum";
|
|
118
117
|
multiline: "multiline";
|
|
118
|
+
secret: "secret";
|
|
119
119
|
"instance-picker": "instance-picker";
|
|
120
120
|
}>>;
|
|
121
121
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -48,6 +48,21 @@ export type ProtocolVersion = {
|
|
|
48
48
|
* @category Protocol
|
|
49
49
|
* @since 3.0.0
|
|
50
50
|
*
|
|
51
|
+
* Changed in 4.16.0:
|
|
52
|
+
* Agent composition surface. `SubagentEvent` gains optional `runId`,
|
|
53
|
+
* `instanceId`, `input`, `runStatus` and `error` (an `agent.run` run), and its
|
|
54
|
+
* `output` widens to `unknown` (a run reports the role's `io.output` value).
|
|
55
|
+
* Additive events `memory_changed` (`{ instanceId, block, scope, by }`) and
|
|
56
|
+
* `trigger_fired` (`{ instanceId, triggerId, source }`).
|
|
57
|
+
* `session_init_ack` gains optional `instances` (`AgentInstanceSummary[]`).
|
|
58
|
+
* The `host.agent_run` / `host.memory_store` / `host.trigger_store` runtime
|
|
59
|
+
* capabilities a host advertises in `session_init.capabilities` switch on the
|
|
60
|
+
* runner's `agent.*` (`agent.run`, `agent.status`, `agent.cancel`,
|
|
61
|
+
* `agent.result`, `approval.decide`), `memory.*` and `trigger.*` capabilities;
|
|
62
|
+
* `agent.list` and `agent.run` are served in the runner when the host
|
|
63
|
+
* advertises no `host.agent_run`. A 4.15 runner emits none of this; feature-detect
|
|
64
|
+
* on `major === 4 && minor >= 16`.
|
|
65
|
+
*
|
|
51
66
|
* Changed in 4.15.0:
|
|
52
67
|
* New `resource_request` operation `write_range` for filesystem mounts and the
|
|
53
68
|
* session root: one chunk (at most 8 MiB) of a file too large for one
|
|
@@ -381,7 +396,7 @@ export declare const PROTOCOL_VERSION: ProtocolVersion;
|
|
|
381
396
|
* @since 3.0.0
|
|
382
397
|
* @docLink packages/types/protocol-v3#protocol-version
|
|
383
398
|
*/
|
|
384
|
-
export declare const PROTOCOL_VERSION_STRING = "4.
|
|
399
|
+
export declare const PROTOCOL_VERSION_STRING = "4.16.0";
|
|
385
400
|
/**
|
|
386
401
|
* The first protocol version whose runner serves the `write_range` resource
|
|
387
402
|
* operation. A host compares the runner's announced version against it before
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../types/src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,4GAA4G;IAC5G,KAAK,EAAE,MAAM,CAAC;IACd,0FAA0F;IAC1F,KAAK,EAAE,MAAM,CAAC;IACd,8EAA8E;IAC9E,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../types/src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,4GAA4G;IAC5G,KAAK,EAAE,MAAM,CAAC;IACd,0FAA0F;IAC1F,KAAK,EAAE,MAAM,CAAC;IACd,8EAA8E;IAC9E,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkWG;AACH,eAAO,MAAM,gBAAgB,EAAE,eAAmD,CAAC;AAEnF;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,WAAW,CAAC;AAEhD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,yBAAyB,EAAE,eAAmD,CAAC;AAE5F;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,MAAM,GAAG,eAAe,CAoBvD;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,eAAe,GAAG,MAAM,CAExD"}
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
export { buildWorkspaceMcpServer, buildWorkspaceMcpStdioServer, buildWorkspaceToolDefs, runMcpServerStdio } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { buildWorkspaceMcpServer, buildWorkspaceMcpStdioServer, buildWorkspaceToolDefs, runMcpServerStdio } from '../../chunk-6NPINANG.js';
|
|
2
|
+
import '../../chunk-SX4UIDKT.js';
|
|
3
3
|
import '../../chunk-R6O6YWU7.js';
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-KYXOGHY6.js';
|
|
5
|
+
import '../../chunk-45VFGT7A.js';
|
|
6
6
|
import '../../chunk-4ZTPYIBE.js';
|
|
7
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-2XFUXGV6.js';
|
|
8
8
|
import '../../chunk-X5YPJV4N.js';
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
11
|
-
import '../../chunk-
|
|
12
|
-
import '../../chunk-
|
|
13
|
-
import '../../chunk-
|
|
14
|
-
import '../../chunk-
|
|
15
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-ZBBM6O6P.js';
|
|
10
|
+
import '../../chunk-SDFROXSA.js';
|
|
11
|
+
import '../../chunk-UAP2XHRF.js';
|
|
12
|
+
import '../../chunk-FK6HPLQA.js';
|
|
13
|
+
import '../../chunk-2GRB5ITE.js';
|
|
14
|
+
import '../../chunk-VX3INFBA.js';
|
|
15
|
+
import '../../chunk-VBBBZDI7.js';
|
|
16
16
|
import '../../chunk-EINLFFP6.js';
|
|
17
17
|
import '../../chunk-LOO5CB5M.js';
|
|
18
|
-
import '../../chunk-
|
|
19
|
-
import '../../chunk-
|
|
18
|
+
import '../../chunk-NARITJS2.js';
|
|
19
|
+
import '../../chunk-27HS2DHB.js';
|
|
20
20
|
import '../../chunk-XBSQ4KMC.js';
|
|
21
21
|
import '../../chunk-YROR332M.js';
|
|
22
|
-
import '../../chunk-
|
|
22
|
+
import '../../chunk-5B5IZVEP.js';
|
|
23
23
|
import '../../chunk-6E6PKKAD.js';
|
|
24
24
|
import '../../chunk-IFGTRL2I.js';
|
|
25
|
-
import '../../chunk-
|
|
25
|
+
import '../../chunk-AOAZCSDI.js';
|
|
26
26
|
import '../../chunk-37FTLYFP.js';
|
|
27
27
|
import '../../chunk-QZLWJETK.js';
|
|
28
28
|
import '../../chunk-XUUYAS3Z.js';
|
|
29
29
|
import '../../chunk-NFGRW3L7.js';
|
|
30
30
|
import '../../chunk-QCI6D7E4.js';
|
|
31
|
-
import '../../chunk-
|
|
32
|
-
import '../../chunk-
|
|
31
|
+
import '../../chunk-DMLDYFDS.js';
|
|
32
|
+
import '../../chunk-FRHE7FFB.js';
|
|
33
|
+
import '../../chunk-TZCQ7ZWQ.js';
|
|
33
34
|
import '../../chunk-4GY63JU6.js';
|
|
34
|
-
import '../../chunk-
|
|
35
|
-
import '../../chunk-
|
|
35
|
+
import '../../chunk-BF33SCLY.js';
|
|
36
|
+
import '../../chunk-46OVMT76.js';
|
|
36
37
|
import '../../chunk-5BEFNLOR.js';
|
|
37
38
|
import '../../chunk-A2ULN3KX.js';
|
|
38
|
-
import '../../chunk-
|
|
39
|
+
import '../../chunk-2W4LBLIN.js';
|
|
39
40
|
import '../../chunk-MFHKHXDE.js';
|
|
40
|
-
import '../../chunk-
|
|
41
|
-
import '../../chunk-
|
|
41
|
+
import '../../chunk-CPSIPIX7.js';
|
|
42
|
+
import '../../chunk-7ZHLYXTI.js';
|
|
42
43
|
import '../../chunk-RVRB27AN.js';
|
|
43
|
-
import '../../chunk-
|
|
44
|
-
import '../../chunk-
|
|
44
|
+
import '../../chunk-PA7WLID3.js';
|
|
45
|
+
import '../../chunk-AO7VJ6G6.js';
|
|
45
46
|
import '../../chunk-ICSCSM5D.js';
|
|
46
47
|
import '../../chunk-JMKB7IB4.js';
|
|
47
48
|
import '../../chunk-MJHSLODD.js';
|
|
48
49
|
import '../../chunk-C3CAXQMA.js';
|
|
49
50
|
import '../../chunk-BOFL7GIF.js';
|
|
50
|
-
import '../../chunk-5CYEWBPB.js';
|
|
51
51
|
import '../../chunk-NSBPE2FW.js';
|
|
52
52
|
//# sourceMappingURL=mcp.js.map
|
|
53
53
|
//# sourceMappingURL=mcp.js.map
|
|
@@ -57,7 +57,7 @@ function buildOmpToolSet(plugin) {
|
|
|
57
57
|
description: "List all mounts declared in skaile.yaml with their mount status.",
|
|
58
58
|
parameters: {},
|
|
59
59
|
handler: async () => {
|
|
60
|
-
const { mountList } = await import('../../connectors-
|
|
60
|
+
const { mountList } = await import('../../connectors-HWENZFKW.js');
|
|
61
61
|
return (await mountList(plugin.connectorManager)).content[0].text;
|
|
62
62
|
}
|
|
63
63
|
},
|
|
@@ -66,7 +66,7 @@ function buildOmpToolSet(plugin) {
|
|
|
66
66
|
description: "Sync a mount (pull latest from remote).",
|
|
67
67
|
parameters: { mount_id: { type: "string" } },
|
|
68
68
|
handler: async ({ mount_id }) => {
|
|
69
|
-
const { mountSync } = await import('../../connectors-
|
|
69
|
+
const { mountSync } = await import('../../connectors-HWENZFKW.js');
|
|
70
70
|
return (await mountSync(plugin.connectorManager, mount_id)).content[0].text;
|
|
71
71
|
}
|
|
72
72
|
},
|
|
@@ -75,7 +75,7 @@ function buildOmpToolSet(plugin) {
|
|
|
75
75
|
description: "List all available flow definitions from ai-assets.",
|
|
76
76
|
parameters: {},
|
|
77
77
|
handler: async () => {
|
|
78
|
-
const { flowList } = await import('../../flows-
|
|
78
|
+
const { flowList } = await import('../../flows-ENQY2DV7.js');
|
|
79
79
|
return (await flowList(plugin.projectDir)).content[0].text;
|
|
80
80
|
}
|
|
81
81
|
},
|
|
@@ -84,7 +84,7 @@ function buildOmpToolSet(plugin) {
|
|
|
84
84
|
description: "List past flow run sessions for this workspace.",
|
|
85
85
|
parameters: {},
|
|
86
86
|
handler: async () => {
|
|
87
|
-
const { flowListSessions } = await import('../../flows-
|
|
87
|
+
const { flowListSessions } = await import('../../flows-ENQY2DV7.js');
|
|
88
88
|
return (await flowListSessions(plugin.projectDir)).content[0].text;
|
|
89
89
|
}
|
|
90
90
|
},
|
|
@@ -93,7 +93,7 @@ function buildOmpToolSet(plugin) {
|
|
|
93
93
|
description: "List all skills in the ai-assets catalog.",
|
|
94
94
|
parameters: {},
|
|
95
95
|
handler: async () => {
|
|
96
|
-
const { skillList } = await import('../../skills-
|
|
96
|
+
const { skillList } = await import('../../skills-CS7NE5TT.js');
|
|
97
97
|
return (await skillList(plugin.projectDir)).content[0].text;
|
|
98
98
|
}
|
|
99
99
|
},
|
|
@@ -102,7 +102,7 @@ function buildOmpToolSet(plugin) {
|
|
|
102
102
|
description: "Search skills by name, description, or keywords.",
|
|
103
103
|
parameters: { query: { type: "string" } },
|
|
104
104
|
handler: async ({ query }) => {
|
|
105
|
-
const { skillSearch } = await import('../../skills-
|
|
105
|
+
const { skillSearch } = await import('../../skills-CS7NE5TT.js');
|
|
106
106
|
return (await skillSearch(plugin.projectDir, query)).content[0].text;
|
|
107
107
|
}
|
|
108
108
|
},
|
|
@@ -111,7 +111,7 @@ function buildOmpToolSet(plugin) {
|
|
|
111
111
|
description: "Show the full SKILL.md content for a skill.",
|
|
112
112
|
parameters: { skill_id: { type: "string" } },
|
|
113
113
|
handler: async ({ skill_id }) => {
|
|
114
|
-
const { skillShow } = await import('../../skills-
|
|
114
|
+
const { skillShow } = await import('../../skills-CS7NE5TT.js');
|
|
115
115
|
return (await skillShow(plugin.projectDir, skill_id)).content[0].text;
|
|
116
116
|
}
|
|
117
117
|
},
|
|
@@ -120,7 +120,7 @@ function buildOmpToolSet(plugin) {
|
|
|
120
120
|
description: "List connectors declared in skaile.yaml as {connected, failed, notice?}. A host-managed mount in `connected` carries `health` {status: ok|stale|failed, errorClass, checkedAt}; if it is not ok, tell the user and do not write to it. `failed` holds connectors that did not connect this session, with the failure reason \u2014 their mount paths are dead directories, not synced workspaces.",
|
|
121
121
|
parameters: {},
|
|
122
122
|
handler: async () => {
|
|
123
|
-
const { connectorList } = await import('../../connectors-
|
|
123
|
+
const { connectorList } = await import('../../connectors-HWENZFKW.js');
|
|
124
124
|
return (await connectorList(plugin.connectorManager)).content[0].text;
|
|
125
125
|
}
|
|
126
126
|
},
|
|
@@ -129,7 +129,7 @@ function buildOmpToolSet(plugin) {
|
|
|
129
129
|
description: "Read content from a connector by path.",
|
|
130
130
|
parameters: { connector_id: { type: "string" }, path: { type: "string" } },
|
|
131
131
|
handler: async ({ connector_id, path }) => {
|
|
132
|
-
const { connectorRead } = await import('../../connectors-
|
|
132
|
+
const { connectorRead } = await import('../../connectors-HWENZFKW.js');
|
|
133
133
|
return (await connectorRead(plugin.connectorManager, connector_id, path)).content[0].text;
|
|
134
134
|
}
|
|
135
135
|
},
|
|
@@ -146,7 +146,7 @@ function buildOmpToolSet(plugin) {
|
|
|
146
146
|
operation,
|
|
147
147
|
args
|
|
148
148
|
}) => {
|
|
149
|
-
const { connectorExec } = await import('../../connectors-
|
|
149
|
+
const { connectorExec } = await import('../../connectors-HWENZFKW.js');
|
|
150
150
|
return (await connectorExec(plugin.connectorManager, connector_id, operation, args ?? {})).content[0].text;
|
|
151
151
|
}
|
|
152
152
|
},
|
|
@@ -202,7 +202,7 @@ async function handleSlashCommand(plugin, group, args) {
|
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
async function handleFlowCommand(plugin, sub, rest) {
|
|
205
|
-
const { flowList, flowShow, flowListSessions, flowGetSession } = await import('../../flows-
|
|
205
|
+
const { flowList, flowShow, flowListSessions, flowGetSession } = await import('../../flows-ENQY2DV7.js');
|
|
206
206
|
if (!sub || sub === "list") return (await flowList(plugin.projectDir)).content[0].text;
|
|
207
207
|
if (sub === "show" && rest[0])
|
|
208
208
|
return (await flowShow(plugin.projectDir, rest[0])).content[0].text;
|
|
@@ -212,7 +212,7 @@ async function handleFlowCommand(plugin, sub, rest) {
|
|
|
212
212
|
return "Usage: /flow list | show <id> | sessions | session <runId>";
|
|
213
213
|
}
|
|
214
214
|
async function handleConnectorCommand(plugin, sub, rest) {
|
|
215
|
-
const { connectorList, connectorRead, connectorExec, connectorDescribe } = await import('../../connectors-
|
|
215
|
+
const { connectorList, connectorRead, connectorExec, connectorDescribe } = await import('../../connectors-HWENZFKW.js');
|
|
216
216
|
if (!sub || sub === "list") return (await connectorList(plugin.connectorManager)).content[0].text;
|
|
217
217
|
if (sub === "read" && rest[0] && rest[1])
|
|
218
218
|
return (await connectorRead(plugin.connectorManager, rest[0], rest[1])).content[0].text;
|
|
@@ -231,7 +231,7 @@ async function handleConnectorCommand(plugin, sub, rest) {
|
|
|
231
231
|
return "Usage: /connector list | read <id> <path> | exec <id> <op> [json-args] | describe <id>";
|
|
232
232
|
}
|
|
233
233
|
async function handleSkillCommand(plugin, sub, rest) {
|
|
234
|
-
const { skillList, skillShow, skillSearch } = await import('../../skills-
|
|
234
|
+
const { skillList, skillShow, skillSearch } = await import('../../skills-CS7NE5TT.js');
|
|
235
235
|
if (sub === "run" && rest[0])
|
|
236
236
|
return (await skillShow(plugin.projectDir, rest[0])).content[0].text;
|
|
237
237
|
if (!sub || sub === "list") return (await skillList(plugin.projectDir)).content[0].text;
|
|
@@ -242,7 +242,7 @@ async function handleSkillCommand(plugin, sub, rest) {
|
|
|
242
242
|
return "Usage: /skill list | show <id> | search <query> | run <id>";
|
|
243
243
|
}
|
|
244
244
|
async function handleMountsCommand(plugin, sub, rest) {
|
|
245
|
-
const { mountList, mountSync, mountStatus } = await import('../../connectors-
|
|
245
|
+
const { mountList, mountSync, mountStatus } = await import('../../connectors-HWENZFKW.js');
|
|
246
246
|
if (!sub || sub === "list") return (await mountList(plugin.connectorManager)).content[0].text;
|
|
247
247
|
if (sub === "sync" && rest[0])
|
|
248
248
|
return (await mountSync(plugin.connectorManager, rest[0])).content[0].text;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { PluginStore, WorkspacePlugin, buildClaudePluginFiles, resolveProjectDir } from '../chunk-
|
|
1
|
+
export { PluginStore, WorkspacePlugin, buildClaudePluginFiles, resolveProjectDir } from '../chunk-4GNJELPH.js';
|
|
2
2
|
export { err, ok, okJson } from '../chunk-X5YPJV4N.js';
|
|
3
3
|
import '../chunk-5BEFNLOR.js';
|
|
4
4
|
import '../chunk-JMKB7IB4.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skaile/workspaces",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.6.0",
|
|
4
4
|
"description": "Skaile workspaces runtime — types, core, bridge, runner, store, connectors, and supporting layers as one publishable package",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "bun@1.3.9",
|