@skaile/workspaces 4.30.0 → 4.31.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.
Files changed (183) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/app-sdk/index.js +1 -1
  3. package/dist/{asset-feeds-K7N37CGF.js → asset-feeds-XNL4NQBM.js} +7 -7
  4. package/dist/{asset-feeds-K7N37CGF.js.map → asset-feeds-XNL4NQBM.js.map} +1 -1
  5. package/dist/asset-manager/catalog-deployer.js +3 -3
  6. package/dist/asset-manager/index.js +6 -6
  7. package/dist/asset-manager/installer.js +4 -4
  8. package/dist/bridge/drivers/claude-sdk.js +105 -17
  9. package/dist/bridge/drivers/claude-sdk.js.map +1 -1
  10. package/dist/bridge/drivers/codex.js +7 -7
  11. package/dist/bridge/drivers/continue.js +7 -7
  12. package/dist/bridge/drivers/echo.js +5 -5
  13. package/dist/bridge/drivers/gemini.js +8 -8
  14. package/dist/bridge/drivers/goose.js +7 -7
  15. package/dist/bridge/drivers/omp.js +8 -8
  16. package/dist/bridge/drivers/opencode.js +7 -7
  17. package/dist/bridge/drivers/qwen.js +8 -8
  18. package/dist/bridge/index.js +11 -11
  19. package/dist/bridge/src/drivers/claude-sdk.d.ts +24 -0
  20. package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
  21. package/dist/bridge/src/error-classifier.d.ts +13 -0
  22. package/dist/bridge/src/error-classifier.d.ts.map +1 -1
  23. package/dist/bridge/src/types.d.ts +15 -0
  24. package/dist/bridge/src/types.d.ts.map +1 -1
  25. package/dist/{chunk-3FVL4TBA.js → chunk-2RIM7HAG.js} +8 -8
  26. package/dist/{chunk-3FVL4TBA.js.map → chunk-2RIM7HAG.js.map} +1 -1
  27. package/dist/{chunk-IJTEDXWQ.js → chunk-3ZE7X5Y6.js} +3 -3
  28. package/dist/{chunk-IJTEDXWQ.js.map → chunk-3ZE7X5Y6.js.map} +1 -1
  29. package/dist/{chunk-MLM5JZAQ.js → chunk-4UGEZIMA.js} +4 -4
  30. package/dist/{chunk-MLM5JZAQ.js.map → chunk-4UGEZIMA.js.map} +1 -1
  31. package/dist/{chunk-UQ3JFN4N.js → chunk-54A5QAIV.js} +2 -2
  32. package/dist/{chunk-UQ3JFN4N.js.map → chunk-54A5QAIV.js.map} +1 -1
  33. package/dist/{chunk-KOVAB6W2.js → chunk-5KJLMR23.js} +5 -5
  34. package/dist/{chunk-KOVAB6W2.js.map → chunk-5KJLMR23.js.map} +1 -1
  35. package/dist/{chunk-TU2UTFVG.js → chunk-7ZXENJLO.js} +4 -4
  36. package/dist/{chunk-TU2UTFVG.js.map → chunk-7ZXENJLO.js.map} +1 -1
  37. package/dist/{chunk-RLIISQHO.js → chunk-A62RPNIZ.js} +4 -4
  38. package/dist/{chunk-RLIISQHO.js.map → chunk-A62RPNIZ.js.map} +1 -1
  39. package/dist/{chunk-HNWYNNIX.js → chunk-ATRQ2PKM.js} +2 -2
  40. package/dist/{chunk-HNWYNNIX.js.map → chunk-ATRQ2PKM.js.map} +1 -1
  41. package/dist/{chunk-K575XNKG.js → chunk-AVXSY4WO.js} +4 -4
  42. package/dist/{chunk-K575XNKG.js.map → chunk-AVXSY4WO.js.map} +1 -1
  43. package/dist/{chunk-UFWADBG6.js → chunk-BR2IXOWX.js} +3 -3
  44. package/dist/{chunk-UFWADBG6.js.map → chunk-BR2IXOWX.js.map} +1 -1
  45. package/dist/{chunk-CFKJQDPA.js → chunk-CMHRZOHQ.js} +5 -5
  46. package/dist/{chunk-CFKJQDPA.js.map → chunk-CMHRZOHQ.js.map} +1 -1
  47. package/dist/{chunk-GHX6XFLY.js → chunk-D6L7RQGP.js} +9 -9
  48. package/dist/{chunk-GHX6XFLY.js.map → chunk-D6L7RQGP.js.map} +1 -1
  49. package/dist/{chunk-TJRNJVGU.js → chunk-EINLFFP6.js} +3 -3
  50. package/dist/{chunk-TJRNJVGU.js.map → chunk-EINLFFP6.js.map} +1 -1
  51. package/dist/{chunk-GHLJV2FY.js → chunk-FF5L6IV3.js} +3 -3
  52. package/dist/{chunk-GHLJV2FY.js.map → chunk-FF5L6IV3.js.map} +1 -1
  53. package/dist/{chunk-LIWDDZO2.js → chunk-GH3BHLBF.js} +6 -6
  54. package/dist/{chunk-LIWDDZO2.js.map → chunk-GH3BHLBF.js.map} +1 -1
  55. package/dist/{chunk-PE3A6FFW.js → chunk-HCYS7GFP.js} +3 -3
  56. package/dist/{chunk-PE3A6FFW.js.map → chunk-HCYS7GFP.js.map} +1 -1
  57. package/dist/{chunk-XFWB3KFV.js → chunk-HL6SZ7Z3.js} +3 -3
  58. package/dist/{chunk-XFWB3KFV.js.map → chunk-HL6SZ7Z3.js.map} +1 -1
  59. package/dist/{chunk-DPLIN2RA.js → chunk-ICSCSM5D.js} +3 -3
  60. package/dist/{chunk-DPLIN2RA.js.map → chunk-ICSCSM5D.js.map} +1 -1
  61. package/dist/{chunk-3W4SDHJP.js → chunk-J3UD57GK.js} +45 -29
  62. package/dist/chunk-J3UD57GK.js.map +1 -0
  63. package/dist/{chunk-YVWUHPQW.js → chunk-JULFGNQN.js} +3 -3
  64. package/dist/{chunk-YVWUHPQW.js.map → chunk-JULFGNQN.js.map} +1 -1
  65. package/dist/{chunk-324NAWHN.js → chunk-JV2YHKOY.js} +7 -7
  66. package/dist/{chunk-324NAWHN.js.map → chunk-JV2YHKOY.js.map} +1 -1
  67. package/dist/{chunk-527MPCTU.js → chunk-JXTW3VCT.js} +4 -4
  68. package/dist/{chunk-527MPCTU.js.map → chunk-JXTW3VCT.js.map} +1 -1
  69. package/dist/{chunk-6S5KL76M.js → chunk-LX3FKVLL.js} +3 -3
  70. package/dist/{chunk-6S5KL76M.js.map → chunk-LX3FKVLL.js.map} +1 -1
  71. package/dist/{chunk-OHON7XSG.js → chunk-M42SMH7V.js} +3 -3
  72. package/dist/{chunk-OHON7XSG.js.map → chunk-M42SMH7V.js.map} +1 -1
  73. package/dist/{chunk-GZZPKAV5.js → chunk-MJHSLODD.js} +20 -3
  74. package/dist/chunk-MJHSLODD.js.map +1 -0
  75. package/dist/{chunk-NQOE57Q7.js → chunk-MX7LCQUQ.js} +4 -4
  76. package/dist/{chunk-NQOE57Q7.js.map → chunk-MX7LCQUQ.js.map} +1 -1
  77. package/dist/{chunk-KKBXGPJE.js → chunk-NHABMUXY.js} +5 -5
  78. package/dist/{chunk-KKBXGPJE.js.map → chunk-NHABMUXY.js.map} +1 -1
  79. package/dist/{chunk-MZQOSE2X.js → chunk-OGPNWRWU.js} +5 -5
  80. package/dist/{chunk-MZQOSE2X.js.map → chunk-OGPNWRWU.js.map} +1 -1
  81. package/dist/{chunk-CYX7TIWL.js → chunk-RTQTWQHW.js} +3 -3
  82. package/dist/{chunk-CYX7TIWL.js.map → chunk-RTQTWQHW.js.map} +1 -1
  83. package/dist/{chunk-C5OSO7HJ.js → chunk-VYNIZDAD.js} +3 -3
  84. package/dist/{chunk-C5OSO7HJ.js.map → chunk-VYNIZDAD.js.map} +1 -1
  85. package/dist/{chunk-RHXRXTBO.js → chunk-WORPEN3X.js} +4 -4
  86. package/dist/{chunk-RHXRXTBO.js.map → chunk-WORPEN3X.js.map} +1 -1
  87. package/dist/{chunk-UWU572Q6.js → chunk-WPISSDEI.js} +3 -3
  88. package/dist/{chunk-UWU572Q6.js.map → chunk-WPISSDEI.js.map} +1 -1
  89. package/dist/{chunk-BGY4KTU6.js → chunk-XBSQ4KMC.js} +10 -3
  90. package/dist/chunk-XBSQ4KMC.js.map +1 -0
  91. package/dist/{chunk-X22NBPTU.js → chunk-XSVWRISC.js} +7 -7
  92. package/dist/{chunk-X22NBPTU.js.map → chunk-XSVWRISC.js.map} +1 -1
  93. package/dist/cli/index.js +65 -56
  94. package/dist/cli/index.js.map +1 -1
  95. package/dist/cli/src/commands/serve.d.ts +5 -0
  96. package/dist/cli/src/commands/serve.d.ts.map +1 -1
  97. package/dist/connectors/index.js +14 -14
  98. package/dist/connectors-shared/index.js +2 -2
  99. package/dist/core/index.js +3 -3
  100. package/dist/core/provider-registry-credentials.js +2 -2
  101. package/dist/core/provider-registry.js +1 -1
  102. package/dist/core/src/index.d.ts +1 -1
  103. package/dist/core/src/index.d.ts.map +1 -1
  104. package/dist/core/src/provider-registry.d.ts +10 -0
  105. package/dist/core/src/provider-registry.d.ts.map +1 -1
  106. package/dist/deploy/index.js +3 -3
  107. package/dist/{ensure-sources-OGAOMNTT.js → ensure-sources-NEZZ6YY7.js} +9 -9
  108. package/dist/{ensure-sources-OGAOMNTT.js.map → ensure-sources-NEZZ6YY7.js.map} +1 -1
  109. package/dist/factory-assets/connectors/box.js +14 -14
  110. package/dist/factory-assets/connectors/deploy.js +14 -14
  111. package/dist/factory-assets/connectors/devserver.js +14 -14
  112. package/dist/factory-assets/connectors/flow/adapter.js +14 -14
  113. package/dist/factory-assets/connectors/flow/engine.js +4 -4
  114. package/dist/factory-assets/connectors/flow/run-flow.js +15 -15
  115. package/dist/factory-assets/connectors/flow.js +14 -14
  116. package/dist/factory-assets/connectors/git.js +14 -14
  117. package/dist/factory-assets/connectors/gmail.js +14 -14
  118. package/dist/factory-assets/connectors/googledrive.js +14 -14
  119. package/dist/factory-assets/connectors/local.js +14 -14
  120. package/dist/factory-assets/connectors/mattermost.js +14 -14
  121. package/dist/factory-assets/connectors/memory.js +14 -14
  122. package/dist/factory-assets/connectors/minio.js +14 -14
  123. package/dist/factory-assets/connectors/postgres.js +14 -14
  124. package/dist/factory-assets/connectors/s3.js +14 -14
  125. package/dist/factory-assets/connectors/sharepoint.js +14 -14
  126. package/dist/factory-assets/connectors/sqlite.js +14 -14
  127. package/dist/factory-assets/connectors/static-server.js +14 -14
  128. package/dist/factory-assets/connectors/tunnel.js +14 -14
  129. package/dist/factory-assets/connectors/webdav.js +14 -14
  130. package/dist/factory-assets/connectors/xstate-store.js +14 -14
  131. package/dist/factory-assets/connectors/xstate.js +14 -14
  132. package/dist/{flows-6WUQ2J4X.js → flows-QTUSWYKY.js} +6 -6
  133. package/dist/{flows-6WUQ2J4X.js.map → flows-QTUSWYKY.js.map} +1 -1
  134. package/dist/{helpers-AS2CN7BJ.js → helpers-XJEFDCMQ.js} +9 -9
  135. package/dist/{helpers-AS2CN7BJ.js.map → helpers-XJEFDCMQ.js.map} +1 -1
  136. package/dist/library/index.js +4 -4
  137. package/dist/{library-publish-SXQAWWPG.js → library-publish-N726WYMF.js} +13 -13
  138. package/dist/{library-publish-SXQAWWPG.js.map → library-publish-N726WYMF.js.map} +1 -1
  139. package/dist/{open-library-UVAFPWK7.js → open-library-D6ACC3TX.js} +11 -11
  140. package/dist/{open-library-UVAFPWK7.js.map → open-library-D6ACC3TX.js.map} +1 -1
  141. package/dist/{paths-6VH76QLZ.js → paths-IOOMNHTC.js} +5 -5
  142. package/dist/{paths-6VH76QLZ.js.map → paths-IOOMNHTC.js.map} +1 -1
  143. package/dist/{plugin-store-4MXOIEHP.js → plugin-store-OIIPB2MQ.js} +5 -5
  144. package/dist/{plugin-store-4MXOIEHP.js.map → plugin-store-OIIPB2MQ.js.map} +1 -1
  145. package/dist/{project-MHUUWPCN.js → project-NRCGUOM4.js} +10 -10
  146. package/dist/{project-MHUUWPCN.js.map → project-NRCGUOM4.js.map} +1 -1
  147. package/dist/resolver/index.js +3 -3
  148. package/dist/runner/index.js +20 -20
  149. package/dist/runner/src/serve.d.ts +6 -0
  150. package/dist/runner/src/serve.d.ts.map +1 -1
  151. package/dist/runner/src/session-builder.d.ts +7 -1
  152. package/dist/runner/src/session-builder.d.ts.map +1 -1
  153. package/dist/sdk/asset-manager.js +6 -6
  154. package/dist/sdk/bridge.js +11 -11
  155. package/dist/sdk/core.js +3 -3
  156. package/dist/sdk/flow.js +4 -4
  157. package/dist/sdk/index.js +20 -20
  158. package/dist/sdk/resolver.js +3 -3
  159. package/dist/sdk/runner.js +20 -20
  160. package/dist/sdk/session.js +2 -2
  161. package/dist/sdk/types.js +1 -1
  162. package/dist/session/index.js +2 -2
  163. package/dist/{setup-NQKJXRK5.js → setup-3GHCXHOO.js} +18 -18
  164. package/dist/{setup-NQKJXRK5.js.map → setup-3GHCXHOO.js.map} +1 -1
  165. package/dist/{skills-FA4VQEO7.js → skills-DH75K326.js} +5 -5
  166. package/dist/{skills-FA4VQEO7.js.map → skills-DH75K326.js.map} +1 -1
  167. package/dist/{source-T7DWNSDN.js → source-OAIEGNQB.js} +12 -12
  168. package/dist/{source-T7DWNSDN.js.map → source-OAIEGNQB.js.map} +1 -1
  169. package/dist/{source-manifest-publish-WBAWFUHX.js → source-manifest-publish-DQTXHT4V.js} +14 -14
  170. package/dist/{source-manifest-publish-WBAWFUHX.js.map → source-manifest-publish-DQTXHT4V.js.map} +1 -1
  171. package/dist/tui/index.js +20 -20
  172. package/dist/types/index.js +1 -1
  173. package/dist/types/src/events.d.ts +8 -0
  174. package/dist/types/src/events.d.ts.map +1 -1
  175. package/dist/types/src/version.d.ts +8 -1
  176. package/dist/types/src/version.d.ts.map +1 -1
  177. package/dist/workspace-plugin/adapters/mcp.js +6 -6
  178. package/dist/workspace-plugin/adapters/omp.js +7 -7
  179. package/dist/workspace-plugin/index.js +1 -1
  180. package/package.json +1 -1
  181. package/dist/chunk-3W4SDHJP.js.map +0 -1
  182. package/dist/chunk-BGY4KTU6.js.map +0 -1
  183. package/dist/chunk-GZZPKAV5.js.map +0 -1
package/dist/cli/index.js CHANGED
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  import { AI_RESOURCES } from '../chunk-GMXG2JGN.js';
3
- import { makeInstallCommand, makeCheckCommand, makeCleanCommand, reportInstalledSoftDeps } from '../chunk-X22NBPTU.js';
4
- import { makeProvidersCommand, loadRegistryView, addProviderEntry, ProviderRegistryWriteError } from '../chunk-324NAWHN.js';
5
- import { getStoreConfig, storeFetch, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, isStoreAuthenticated, getStoreToken, getStoreIdentity } from '../chunk-IJTEDXWQ.js';
6
- import { makeSourceCommand, syncProjectSources } from '../chunk-3FVL4TBA.js';
7
- import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-KKBXGPJE.js';
8
- import { logErr, S, logOk, logInfo, logWarn, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth } from '../chunk-CYX7TIWL.js';
3
+ import { makeInstallCommand, makeCheckCommand, makeCleanCommand, reportInstalledSoftDeps } from '../chunk-XSVWRISC.js';
4
+ import { makeProvidersCommand, loadRegistryView, addProviderEntry, ProviderRegistryWriteError } from '../chunk-JV2YHKOY.js';
5
+ import { getStoreConfig, storeFetch, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, isStoreAuthenticated, getStoreToken, getStoreIdentity } from '../chunk-3ZE7X5Y6.js';
6
+ import { makeSourceCommand, syncProjectSources } from '../chunk-2RIM7HAG.js';
7
+ import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-NHABMUXY.js';
8
+ import { logErr, S, logOk, logInfo, logWarn, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth } from '../chunk-RTQTWQHW.js';
9
9
  import { LocalSecretsProvider } from '../chunk-6BEGKO2Q.js';
10
- import { runAgentChat, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, compileComposition, MarkdownStreamer, resolveMixin } from '../chunk-3W4SDHJP.js';
11
- import { buildClaudePluginFiles } from '../chunk-HNWYNNIX.js';
12
- import '../chunk-527MPCTU.js';
13
- import '../chunk-UQ3JFN4N.js';
10
+ import { runAgentChat, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, compileComposition, MarkdownStreamer, resolveMixin } from '../chunk-J3UD57GK.js';
11
+ import { buildClaudePluginFiles } from '../chunk-ATRQ2PKM.js';
12
+ import '../chunk-JXTW3VCT.js';
13
+ import '../chunk-54A5QAIV.js';
14
14
  import '../chunk-P2DLXBZK.js';
15
15
  import '../chunk-7IH3RKKK.js';
16
16
  import '../chunk-4ZTPYIBE.js';
@@ -23,42 +23,42 @@ import '../chunk-OBYKJB4U.js';
23
23
  import '../chunk-5LKOAX7I.js';
24
24
  import '../chunk-32NA4TVC.js';
25
25
  import '../chunk-W3UDISS2.js';
26
- import '../chunk-PE3A6FFW.js';
27
- import { runFlow, resumeFlow } from '../chunk-MZQOSE2X.js';
26
+ import '../chunk-HCYS7GFP.js';
27
+ import { runFlow, resumeFlow } from '../chunk-OGPNWRWU.js';
28
28
  import '../chunk-4R6DROGN.js';
29
29
  import { validateFlowVersions, parseSkillFrontmatter } from '../chunk-T3YUSWVK.js';
30
30
  import '../chunk-Q6NDQ6BH.js';
31
31
  import '../chunk-6X4DHKHP.js';
32
- import '../chunk-GHX6XFLY.js';
33
- import '../chunk-C5OSO7HJ.js';
32
+ import '../chunk-D6L7RQGP.js';
33
+ import '../chunk-VYNIZDAD.js';
34
34
  import '../chunk-2JANXYTJ.js';
35
- import '../chunk-CFKJQDPA.js';
36
- import '../chunk-6S5KL76M.js';
37
- import '../chunk-TJRNJVGU.js';
35
+ import '../chunk-CMHRZOHQ.js';
36
+ import '../chunk-LX3FKVLL.js';
37
+ import '../chunk-EINLFFP6.js';
38
38
  import '../chunk-LOO5CB5M.js';
39
- import '../chunk-GHLJV2FY.js';
40
- import '../chunk-MLM5JZAQ.js';
41
- import '../chunk-BGY4KTU6.js';
39
+ import '../chunk-FF5L6IV3.js';
40
+ import '../chunk-4UGEZIMA.js';
41
+ import '../chunk-XBSQ4KMC.js';
42
42
  import '../chunk-YROR332M.js';
43
- import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-RHXRXTBO.js';
43
+ import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-WORPEN3X.js';
44
44
  import '../chunk-6E6PKKAD.js';
45
45
  import '../chunk-IFGTRL2I.js';
46
- import { projectAiAssetsRoots, loadFlow, loadAllFlowEntries, findFlowFileInRoots } from '../chunk-YVWUHPQW.js';
46
+ import { projectAiAssetsRoots, loadFlow, loadAllFlowEntries, findFlowFileInRoots } from '../chunk-JULFGNQN.js';
47
47
  import '../chunk-YYH5EVPM.js';
48
48
  import '../chunk-DIQDYNXZ.js';
49
49
  import '../chunk-K3IBZ2UZ.js';
50
50
  import { nodeLabel, nodeSkillAsset, nodeIsInert, nodeIsOptional, nodeRunKind, flowSkillVersionPins } from '../chunk-UDFWBALP.js';
51
51
  import '../chunk-ORH2BZEM.js';
52
- import '../chunk-NQOE57Q7.js';
53
- import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-KOVAB6W2.js';
54
- import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-UFWADBG6.js';
52
+ import '../chunk-MX7LCQUQ.js';
53
+ import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-5KJLMR23.js';
54
+ import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-BR2IXOWX.js';
55
55
  import '../chunk-HGPSZXZP.js';
56
56
  import '../chunk-VOEBLPXO.js';
57
57
  import '../chunk-R7FOF242.js';
58
58
  import '../chunk-JXT46QFC.js';
59
- import '../chunk-XFWB3KFV.js';
59
+ import '../chunk-HL6SZ7Z3.js';
60
60
  import '../chunk-CGYEHQOX.js';
61
- import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, aiResourceRoots, readLock, workspaceProviderRegistryPath, userProviderRegistryPath, loadProviderRegistryFile } from '../chunk-UWU572Q6.js';
61
+ import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, aiResourceRoots, readLock, workspaceProviderRegistryPath, userProviderRegistryPath, loadProviderRegistryFile } from '../chunk-WPISSDEI.js';
62
62
  import '../chunk-4GY63JU6.js';
63
63
  import { factoryAssetRoots } from '../chunk-5RHPNNWP.js';
64
64
  import '../chunk-F3HNW354.js';
@@ -70,8 +70,8 @@ import { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, loadSkPublishManifest,
70
70
  import { parseFrontmatter, scanDirectory } from '../chunk-2FBPAR2V.js';
71
71
  import { parseAssetRef, ASSET_KINDS, isValidAssetName, slugifyAssetName, ASSET_NAME_HINT, assetRefToStr } from '../chunk-GEEW6SY2.js';
72
72
  import { openSqlite } from '../chunk-JMKB7IB4.js';
73
- import { portableSpawn, portableSpawnSync } from '../chunk-DPLIN2RA.js';
74
- import { parseModelRef, resolveEntryBaseUrl } from '../chunk-GZZPKAV5.js';
73
+ import { portableSpawn, portableSpawnSync } from '../chunk-ICSCSM5D.js';
74
+ import { parseModelRef, resolveEntryBaseUrl } from '../chunk-MJHSLODD.js';
75
75
  import '../chunk-C3CAXQMA.js';
76
76
  import '../chunk-BOFL7GIF.js';
77
77
  import '../chunk-KTBKW2FI.js';
@@ -129,7 +129,7 @@ async function runSearch(kind, query, opts) {
129
129
  }
130
130
  }
131
131
  async function searchIndex(query, kind) {
132
- const { openLibrary: openLibrary2 } = await import('../open-library-UVAFPWK7.js');
132
+ const { openLibrary: openLibrary2 } = await import('../open-library-D6ACC3TX.js');
133
133
  const library = await openLibrary2();
134
134
  try {
135
135
  const defs = await library.listAssetDefs(kind ? { kind } : {});
@@ -182,7 +182,7 @@ async function searchLocal(query, kind, opts, showStore, airGapped) {
182
182
  const factory = await searchFactory(projectDir, query, kind);
183
183
  let entries = unionEntries(await searchIndex(query, kind), factory);
184
184
  if (entries.length === 0 && !query && !kind && !airGapped) {
185
- const { autoSyncForSearch } = await import('../source-T7DWNSDN.js');
185
+ const { autoSyncForSearch } = await import('../source-OAIEGNQB.js');
186
186
  if (await autoSyncForSearch(projectDir)) {
187
187
  entries = unionEntries(await searchIndex(query, kind), factory);
188
188
  }
@@ -236,7 +236,7 @@ async function searchStore(query, kind, opts, airGapped) {
236
236
  logInfo("air-gapped (cache_ttl: 0) \u2014 local sources only");
237
237
  return;
238
238
  }
239
- const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-UVAFPWK7.js');
239
+ const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-D6ACC3TX.js');
240
240
  try {
241
241
  const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
242
242
  const assets = await remote.listAssets(kind ? { kind } : {});
@@ -551,7 +551,7 @@ async function resolveInfoEntry(am2, ref, opts) {
551
551
  return { entry: match ?? deployed };
552
552
  }
553
553
  const lookup = opts.storeLookup ?? (async (filter) => {
554
- const { resolveCatalogSource } = await import('../open-library-UVAFPWK7.js');
554
+ const { resolveCatalogSource } = await import('../open-library-D6ACC3TX.js');
555
555
  const { source, close } = await resolveCatalogSource({ projectDir: opts.projectDir });
556
556
  try {
557
557
  return await source.listAssets(filter);
@@ -567,7 +567,7 @@ async function resolveInfoEntry(am2, ref, opts) {
567
567
  );
568
568
  return { entry: hit ? catalogAssetToEntry(hit) : null };
569
569
  } catch (err) {
570
- const { LocalCatalogDisabledError } = await import('../open-library-UVAFPWK7.js');
570
+ const { LocalCatalogDisabledError } = await import('../open-library-D6ACC3TX.js');
571
571
  const storeNote = err instanceof Error ? err.message : String(err);
572
572
  const disabled = err instanceof LocalCatalogDisabledError || /catalog\.url/i.test(storeNote);
573
573
  return { entry: null, storeNote, ...disabled ? { storeDisabled: true } : {} };
@@ -1187,7 +1187,7 @@ function makeCatalogCommand() {
1187
1187
  return catalog;
1188
1188
  }
1189
1189
  async function runLocalCatalogTest(projectDir) {
1190
- const { resolveCatalogSource } = await import('../open-library-UVAFPWK7.js');
1190
+ const { resolveCatalogSource } = await import('../open-library-D6ACC3TX.js');
1191
1191
  let resolved;
1192
1192
  try {
1193
1193
  resolved = await resolveCatalogSource({ projectDir });
@@ -2249,7 +2249,7 @@ async function ensureTargetsRegistered(projectDir) {
2249
2249
  const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
2250
2250
  const config = resolveSkWorkspaceConfig2(projectDir);
2251
2251
  if (config.plugins && config.plugins.length > 0) {
2252
- const { ensurePluginsLoaded } = await import('../plugin-store-4MXOIEHP.js');
2252
+ const { ensurePluginsLoaded } = await import('../plugin-store-OIIPB2MQ.js');
2253
2253
  const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
2254
2254
  for (const f of result.failed) logWarn(f.error);
2255
2255
  }
@@ -3504,16 +3504,16 @@ function makeLibraryCommand() {
3504
3504
  });
3505
3505
  cmd.command("publish <lib>").description("Push + register the library's manifest atomically (needs git backend)").option("--asset <ref>", "Publish only the single asset matching this ref/name").option("--create-repo", "Provision + link a public github repo if the library has no remote").option("--ref <gitref>", "Git ref to ingest (default: the library branch or main)").option("--dry-run", "Print the plan; push nothing and call no store endpoint").action(
3506
3506
  async (lib, opts) => {
3507
- const { runLibraryPublish } = await import('../library-publish-SXQAWWPG.js');
3507
+ const { runLibraryPublish } = await import('../library-publish-N726WYMF.js');
3508
3508
  await withStoreErrorHandling(() => runLibraryPublish(lib, opts));
3509
3509
  }
3510
3510
  );
3511
3511
  cmd.command("register <lib>").description("Register the library's manifest without pushing (bytes already on github)").option("--asset <ref>", "Publish only the single asset matching this ref/name").option("--ref <gitref>", "Git ref to ingest (default: the library branch or main)").option("--dry-run", "Print the plan; call no store endpoint").action(async (lib, opts) => {
3512
- const { runLibraryRegister } = await import('../library-publish-SXQAWWPG.js');
3512
+ const { runLibraryRegister } = await import('../library-publish-N726WYMF.js');
3513
3513
  await withStoreErrorHandling(() => runLibraryRegister(lib, opts));
3514
3514
  });
3515
3515
  cmd.command("yank <lib>").description("Retract the library's published assets from the store").option("--asset <ref>", "Yank only the single asset matching this ref/name").action(async (lib, opts) => {
3516
- const { runLibraryYank } = await import('../library-publish-SXQAWWPG.js');
3516
+ const { runLibraryYank } = await import('../library-publish-N726WYMF.js');
3517
3517
  await withStoreErrorHandling(() => runLibraryYank(lib, opts));
3518
3518
  });
3519
3519
  return cmd;
@@ -4235,7 +4235,7 @@ function scheduleSoftDepPreview() {
4235
4235
  }
4236
4236
  async function loadAssets() {
4237
4237
  softDepPreviewCache.clear();
4238
- const { gatherAssetFeeds } = await import('../asset-feeds-K7N37CGF.js');
4238
+ const { gatherAssetFeeds } = await import('../asset-feeds-XNL4NQBM.js');
4239
4239
  const { entries, domains, notes } = await gatherAssetFeeds(am, am.projectDir);
4240
4240
  if (notes.length > 0) {
4241
4241
  state.message = notes.map((n) => `[${n.feed}] ${n.message}`).join(" \u2022 ");
@@ -4441,7 +4441,7 @@ function reconcileCollapsedSets(rows) {
4441
4441
  async function loadSourcesAndLibraries() {
4442
4442
  try {
4443
4443
  const [{ openLibraryManager: openLibraryManager2 }, { skaileHomeDir }, { getGlobalCacheDir: getGlobalCacheDir2 }] = await Promise.all([
4444
- import('../open-library-UVAFPWK7.js'),
4444
+ import('../open-library-D6ACC3TX.js'),
4445
4445
  import('../library/index.js'),
4446
4446
  import('../core/index.js')
4447
4447
  ]);
@@ -6083,7 +6083,7 @@ function action2(fn) {
6083
6083
  };
6084
6084
  }
6085
6085
  async function reconcileAndReport(projectDir, plugins) {
6086
- const { reconcilePlugins } = await import('../plugin-store-4MXOIEHP.js');
6086
+ const { reconcilePlugins } = await import('../plugin-store-OIIPB2MQ.js');
6087
6087
  if (plugins.length === 0) {
6088
6088
  logInfo("No plugins declared \u2014 nothing to reconcile.");
6089
6089
  return;
@@ -6099,7 +6099,7 @@ async function reconcileAndReport(projectDir, plugins) {
6099
6099
  async function runInstall2(spec, opts) {
6100
6100
  const projectDir = path36__default.resolve(opts.projectDir);
6101
6101
  const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
6102
- const { specName } = await import('../plugin-store-4MXOIEHP.js');
6102
+ const { specName } = await import('../plugin-store-OIIPB2MQ.js');
6103
6103
  const yamlPath = path36__default.join(projectDir, "skaile.yaml");
6104
6104
  const editor = WorkspaceYamlEditor2.load(yamlPath);
6105
6105
  const replaced = editor.addPlugin(spec, specName);
@@ -6111,7 +6111,7 @@ async function runInstall2(spec, opts) {
6111
6111
  async function runRemove(name, opts) {
6112
6112
  const projectDir = path36__default.resolve(opts.projectDir);
6113
6113
  const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
6114
- const { specName } = await import('../plugin-store-4MXOIEHP.js');
6114
+ const { specName } = await import('../plugin-store-OIIPB2MQ.js');
6115
6115
  const yamlPath = path36__default.join(projectDir, "skaile.yaml");
6116
6116
  const editor = WorkspaceYamlEditor2.load(yamlPath);
6117
6117
  const removed = editor.removePlugin(name, specName);
@@ -6139,7 +6139,7 @@ async function runList(opts) {
6139
6139
  const registry = createPluginRegistry();
6140
6140
  if (declared.length > 0) {
6141
6141
  try {
6142
- const { loadPlugins } = await import('../plugin-store-4MXOIEHP.js');
6142
+ const { loadPlugins } = await import('../plugin-store-OIIPB2MQ.js');
6143
6143
  const result = await loadPlugins(projectDir, declared, registry);
6144
6144
  for (const f of result.failed) logWarn(f.error);
6145
6145
  } catch (err) {
@@ -7212,11 +7212,17 @@ function makeReplCommand() {
7212
7212
  });
7213
7213
  });
7214
7214
  }
7215
+ function parseProviderIds(raw) {
7216
+ return (raw ?? "").split(",").map((id) => id.trim()).filter((id) => id.length > 0);
7217
+ }
7215
7218
  function makeServeCommand() {
7216
7219
  return new Command("serve").description("Start a WebSocket agent server (for platform integration)").option("--port <port>", "WebSocket server port", "8080").option("--project-dir <path>", "Project directory", process.cwd()).option(
7217
7220
  "--managed-codex-config <path>",
7218
7221
  "Explicit private host configuration for managed Codex"
7219
- ).option("--driver <name>", "Override driver").option("--model <name>", "Override model").option("--provider <name>", "Override provider").option("--session-id <id>", "Session ID for conversation continuity").option("--resume-session-id <id>", "OMP session ID to resume (restores native OMP context)").option("--compile-test", "Build a compiled binary and run it (simulates Docker environment)").option(
7222
+ ).option("--driver <name>", "Override driver").option("--model <name>", "Override model").option("--provider <name>", "Override provider").option("--session-id <id>", "Session ID for conversation continuity").option("--resume-session-id <id>", "OMP session ID to resume (restores native OMP context)").option(
7223
+ "--providers <ids>",
7224
+ "Restrict the AI provider registry to these entry ids (comma-separated)"
7225
+ ).option("--compile-test", "Build a compiled binary and run it (simulates Docker environment)").option(
7220
7226
  "--with-codex",
7221
7227
  "Include the Codex backend in the compiled binary (used with --compile-test)"
7222
7228
  ).action(
@@ -7237,6 +7243,7 @@ function makeServeCommand() {
7237
7243
  } else {
7238
7244
  await ensurePluginsLoadedForServe(opts.projectDir);
7239
7245
  }
7246
+ const providers = parseProviderIds(opts.providers);
7240
7247
  await startAgentServer({
7241
7248
  port: parseInt(opts.port, 10),
7242
7249
  authTokenIntake: wsAuth,
@@ -7250,18 +7257,19 @@ function makeServeCommand() {
7250
7257
  model: opts.model,
7251
7258
  provider: opts.provider,
7252
7259
  sessionId: opts.sessionId,
7253
- resumeSessionId: opts.resumeSessionId
7260
+ resumeSessionId: opts.resumeSessionId,
7261
+ ...providers.length > 0 ? { providers } : {}
7254
7262
  });
7255
7263
  }
7256
7264
  );
7257
7265
  }
7258
7266
  async function ensurePluginsLoadedForServe(projectDir) {
7259
- const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-AS2CN7BJ.js');
7267
+ const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-XJEFDCMQ.js');
7260
7268
  try {
7261
7269
  const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
7262
7270
  const config = resolveSkWorkspaceConfig2(projectDir);
7263
7271
  if (!config.plugins || config.plugins.length === 0) return;
7264
- const { ensurePluginsLoaded } = await import('../plugin-store-4MXOIEHP.js');
7272
+ const { ensurePluginsLoaded } = await import('../plugin-store-OIIPB2MQ.js');
7265
7273
  const { pluginRegistry } = await import('../plugin-registry/index.js');
7266
7274
  const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
7267
7275
  if (result.loaded.length > 0) {
@@ -7275,14 +7283,14 @@ async function ensurePluginsLoadedForServe(projectDir) {
7275
7283
  }
7276
7284
  }
7277
7285
  async function runCompileTest(opts) {
7278
- const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-AS2CN7BJ.js');
7286
+ const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-XJEFDCMQ.js');
7279
7287
  const { tmpdir } = await import('os');
7280
7288
  const { dirname: dirname4, join: join7, resolve: resolve5 } = await import('path');
7281
7289
  const { fileURLToPath: fileURLToPath2 } = await import('url');
7282
7290
  const { unlinkSync, existsSync: existsSync15 } = await import('fs');
7283
7291
  const { spawn } = await import('child_process');
7284
7292
  const { portableSpawnSync: portableSpawnSync2 } = await import('../core/index.js');
7285
- const { MONOREPO_ROOT } = await import('../paths-6VH76QLZ.js');
7293
+ const { MONOREPO_ROOT } = await import('../paths-IOOMNHTC.js');
7286
7294
  if (MONOREPO_ROOT === null) {
7287
7295
  logErr2("--compile-test is only available inside the skaile-dev workspace.");
7288
7296
  logInfo2("Run it from a checkout of skaile-ai/skaile-dev (the monorepo shell).");
@@ -7330,6 +7338,7 @@ async function runCompileTest(opts) {
7330
7338
  if (opts.model) serveArgs.push("--model", opts.model);
7331
7339
  if (opts.provider) serveArgs.push("--provider", opts.provider);
7332
7340
  if (opts.sessionId) serveArgs.push("--session-id", opts.sessionId);
7341
+ if (opts.providers) serveArgs.push("--providers", opts.providers);
7333
7342
  logInfo2(`Running: ${S2.dim(serveArgs.join(" "))}`);
7334
7343
  console.log();
7335
7344
  const [serveBin, ...serveRest] = serveArgs;
@@ -8157,7 +8166,7 @@ function makeStoreCommand() {
8157
8166
  process.exit(2);
8158
8167
  });
8159
8168
  store.command("search <query>").description("Search the AI Asset Store catalog by name, description, or publisher").option("--kind <kind>", "Filter by asset kind (skill, agent, prompt, flow, \u2026)").option("-C, --project-dir <dir>", "Project directory (catalog config overlay)", process.cwd()).action(async (query, opts) => {
8160
- const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-UVAFPWK7.js');
8169
+ const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-D6ACC3TX.js');
8161
8170
  try {
8162
8171
  const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
8163
8172
  const assets = await remote.listAssets(opts.kind ? { kind: opts.kind } : {});
@@ -8190,8 +8199,8 @@ function makeStoreCommand() {
8190
8199
  }
8191
8200
  });
8192
8201
  store.command("show <ref>").description("Show a store asset's details + provenance (source, files, integrity)").option("-C, --project-dir <dir>", "Project directory (catalog config overlay)", process.cwd()).action(async (ref, opts) => {
8193
- const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-UVAFPWK7.js');
8194
- const { supportsInstallManifest } = await import('../project-MHUUWPCN.js');
8202
+ const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-D6ACC3TX.js');
8203
+ const { supportsInstallManifest } = await import('../project-NRCGUOM4.js');
8195
8204
  try {
8196
8205
  const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
8197
8206
  const asset = await remote.resolve(ref);
@@ -9279,7 +9288,7 @@ async function bootstrapUserConfig() {
9279
9288
  }
9280
9289
  async function hydrateInitSources(resolved, created) {
9281
9290
  try {
9282
- const { ensureSourcesCloned } = await import('../ensure-sources-OGAOMNTT.js');
9291
+ const { ensureSourcesCloned } = await import('../ensure-sources-NEZZ6YY7.js');
9283
9292
  const hydrate = ensureSourcesCloned(resolved, { quiet: true });
9284
9293
  for (const n of hydrate.cloned) created.push(`~/.skaile/cache/sources/${n}/`);
9285
9294
  if (hydrate.failed.length > 0) {
@@ -9319,7 +9328,7 @@ function printInitSummary(resolved, projectDir, created) {
9319
9328
  console.log();
9320
9329
  }
9321
9330
  program.command("setup").description("Interactive provider setup wizard").action(async () => {
9322
- const { cmdSetup } = await import('../setup-NQKJXRK5.js');
9331
+ const { cmdSetup } = await import('../setup-3GHCXHOO.js');
9323
9332
  await cmdSetup([], { projectDir: process.cwd() });
9324
9333
  });
9325
9334
  program.addCommand(makeInstallCommand());