@kodycodes/cli 3.22.7 → 3.22.9

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 (214) hide show
  1. package/README.md +8 -7
  2. package/dist/add-mcp-install.d.ts +1 -1
  3. package/dist/api-token-store.d.ts +0 -2
  4. package/dist/api-token.d.ts +6 -21
  5. package/dist/{auth-W5RWT6IP.js → auth-EEGVQLUH.js} +10 -9
  6. package/dist/auth-bootstrap.d.ts +4 -19
  7. package/dist/bin.js +15 -16
  8. package/dist/bin.js.map +1 -1
  9. package/dist/capability-proxy.d.ts +6 -36
  10. package/dist/{chunk-XV6D6HSG.js → chunk-42R5NM3P.js} +1 -2
  11. package/dist/chunk-42R5NM3P.js.map +6 -0
  12. package/dist/{chunk-ZUROJOJ2.js → chunk-4AKERLPX.js} +3 -5
  13. package/dist/chunk-4AKERLPX.js.map +6 -0
  14. package/dist/{chunk-FPYLVYHC.js → chunk-4Q5BFP2W.js} +64 -249
  15. package/dist/chunk-4Q5BFP2W.js.map +6 -0
  16. package/dist/{chunk-FHLTB67D.js → chunk-5W34SXJW.js} +8 -119
  17. package/dist/chunk-5W34SXJW.js.map +6 -0
  18. package/dist/{chunk-K2G6GYKA.js → chunk-62N7DN7L.js} +1 -1
  19. package/dist/{chunk-K2G6GYKA.js.map → chunk-62N7DN7L.js.map} +1 -1
  20. package/dist/{chunk-DBNNDB7I.js → chunk-7CKXJKIA.js} +9 -9
  21. package/dist/{chunk-DBNNDB7I.js.map → chunk-7CKXJKIA.js.map} +1 -1
  22. package/dist/{chunk-OKM2QMOV.js → chunk-7JU4GNCS.js} +16 -116
  23. package/dist/chunk-7JU4GNCS.js.map +6 -0
  24. package/dist/chunk-BKUM4PLI.js +220 -0
  25. package/dist/chunk-BKUM4PLI.js.map +6 -0
  26. package/dist/{chunk-2FU3OO7F.js → chunk-BWZ3ZIQO.js} +5 -19
  27. package/dist/chunk-BWZ3ZIQO.js.map +6 -0
  28. package/dist/{chunk-4LAKIU3Y.js → chunk-C7GRF5V5.js} +2 -2
  29. package/dist/{chunk-SLNAWWQK.js → chunk-E4R3Y6MM.js} +1 -1
  30. package/dist/{chunk-SLNAWWQK.js.map → chunk-E4R3Y6MM.js.map} +1 -1
  31. package/dist/{chunk-G7GRULRW.js → chunk-EMEUJKXR.js} +2 -2
  32. package/dist/{chunk-5E2HSGBZ.js → chunk-FY4SRIOG.js} +4 -5
  33. package/dist/chunk-FY4SRIOG.js.map +6 -0
  34. package/dist/{chunk-F3XGCTRQ.js → chunk-IIGF3ZWU.js} +137 -82
  35. package/dist/chunk-IIGF3ZWU.js.map +6 -0
  36. package/dist/{chunk-OXBMXZ6S.js → chunk-JSNRL2K6.js} +3 -167
  37. package/dist/{chunk-OXBMXZ6S.js.map → chunk-JSNRL2K6.js.map} +3 -3
  38. package/dist/{chunk-RD6ZJU2N.js → chunk-KZQLRBP2.js} +5 -5
  39. package/dist/{chunk-76OYRT4A.js → chunk-LQNGII7U.js} +1 -1
  40. package/dist/{chunk-76OYRT4A.js.map → chunk-LQNGII7U.js.map} +1 -1
  41. package/dist/{chunk-2XPH7L2P.js → chunk-MIT3TUWB.js} +1 -1
  42. package/dist/{chunk-2XPH7L2P.js.map → chunk-MIT3TUWB.js.map} +1 -1
  43. package/dist/{chunk-VP2O3HLT.js → chunk-NKH2L5RA.js} +17 -1
  44. package/dist/chunk-NKH2L5RA.js.map +6 -0
  45. package/dist/{chunk-M7PRSUCC.js → chunk-NKQRWYSY.js} +4 -2
  46. package/dist/chunk-NKQRWYSY.js.map +6 -0
  47. package/dist/{chunk-D6XME4RY.js → chunk-RE7LNPRO.js} +2 -5
  48. package/dist/{chunk-D6XME4RY.js.map → chunk-RE7LNPRO.js.map} +1 -1
  49. package/dist/chunk-SLHFID52.js +107 -0
  50. package/dist/chunk-SLHFID52.js.map +6 -0
  51. package/dist/{chunk-YQRMKXCC.js → chunk-V4SN6Y7O.js} +4 -6
  52. package/dist/chunk-V4SN6Y7O.js.map +6 -0
  53. package/dist/{chunk-DEI4SMFK.js → chunk-XXCAGPVV.js} +7 -9
  54. package/dist/chunk-XXCAGPVV.js.map +6 -0
  55. package/dist/chunk-YFNQZPEP.js +124 -0
  56. package/dist/chunk-YFNQZPEP.js.map +6 -0
  57. package/dist/{chunk-ZXNYKFSN.js → chunk-YLDI65PR.js} +153 -153
  58. package/dist/chunk-YLDI65PR.js.map +6 -0
  59. package/dist/{chunk-NPQ2XAK5.js → chunk-YYCR2HQJ.js} +3 -3
  60. package/dist/chunk-YYCR2HQJ.js.map +6 -0
  61. package/dist/cli.d.ts +10 -1
  62. package/dist/cli.js +17 -16
  63. package/dist/{commands-MZMI3MEY.js → commands-ZJNROANP.js} +1158 -73
  64. package/dist/commands-ZJNROANP.js.map +6 -0
  65. package/dist/credential-call-map.d.ts +0 -6
  66. package/dist/credential-dir.d.ts +0 -2
  67. package/dist/credentialed-fetch-scan.d.ts +2 -2
  68. package/dist/defaults.d.ts +5 -5
  69. package/dist/detect-running-hosts.d.ts +1 -1
  70. package/dist/dev/dev-assets.d.ts +1 -3
  71. package/dist/dev/dev-bundler.d.ts +0 -5
  72. package/dist/dev/dev-events.d.ts +2 -2
  73. package/dist/dev/dev-proxy-origin.d.ts +1 -1
  74. package/dist/dev/dev-registry.d.ts +1 -1
  75. package/dist/dev/error-page.d.ts +3 -5
  76. package/dist/dev/live-reload.d.ts +4 -3
  77. package/dist/dev/workerd-process.d.ts +0 -1
  78. package/dist/{dev-command-XIQY56LW.js → dev-command-TDLNJ7ZA.js} +22 -23
  79. package/dist/dev-command-TDLNJ7ZA.js.map +6 -0
  80. package/dist/dev-command.d.ts +1 -10
  81. package/dist/discover-login-identity.d.ts +1 -1
  82. package/dist/execution-context/auto-update.d.ts +1 -66
  83. package/dist/execution-context/client.d.ts +2 -3
  84. package/dist/execution-context/commands.d.ts +0 -11
  85. package/dist/execution-context/daemon.d.ts +2 -7
  86. package/dist/execution-context/fs-access.d.ts +5 -4
  87. package/dist/execution-context/host-commands.d.ts +3 -47
  88. package/dist/execution-context/host-fs-bridge.d.ts +0 -2
  89. package/dist/execution-context/keystore.d.ts +0 -1
  90. package/dist/execution-context/package-graph-cache.d.ts +1 -1
  91. package/dist/execution-context/run-executor.d.ts +6 -6
  92. package/dist/execution-context/runner-lock.d.ts +0 -8
  93. package/dist/execution-context/service-commands.d.ts +17 -8
  94. package/dist/execution-context/service.d.ts +3 -13
  95. package/dist/execution-context/windows-command.d.ts +0 -2
  96. package/dist/fetch-body-secret-resolution.d.ts +0 -1
  97. package/dist/{git-credential-BT363OJQ.js → git-credential-QEMS2OZF.js} +11 -10
  98. package/dist/git-credential-QEMS2OZF.js.map +6 -0
  99. package/dist/help.d.ts +0 -6
  100. package/dist/host-catalog.d.ts +2 -5
  101. package/dist/host-config.d.ts +2 -3
  102. package/dist/{install-NTS5BOCR.js → install-MPB5WEG4.js} +3 -5
  103. package/dist/{install-NTS5BOCR.js.map → install-MPB5WEG4.js.map} +1 -1
  104. package/dist/install-hosts.d.ts +2 -1
  105. package/dist/install.d.ts +1 -6
  106. package/dist/invoke-passthrough.d.ts +0 -1
  107. package/dist/local-egress.d.ts +2 -1
  108. package/dist/{chunk-SLBG76VX.js → local-execute-3I5YDMM5.js} +30 -16
  109. package/dist/local-execute-3I5YDMM5.js.map +6 -0
  110. package/dist/local-execute-auth.d.ts +2 -2
  111. package/dist/local-execute.d.ts +4 -4
  112. package/dist/local-gateway-fetch-forward.d.ts +2 -2
  113. package/dist/{local-package-graph-WFDNSNOJ.js → local-package-graph-PMZQD7WF.js} +9 -18
  114. package/dist/local-package-graph.d.ts +0 -34
  115. package/dist/local-package-run-SJIAEVMD.js +34 -0
  116. package/dist/local-package-run.d.ts +2 -2
  117. package/dist/local-runtime-bridge.d.ts +2 -5
  118. package/dist/local-runtime-source.d.ts +0 -2
  119. package/dist/login-callback-page.d.ts +3 -2
  120. package/dist/mock/install-mock-fetch-shim.d.ts +1 -1
  121. package/dist/mock/load-package-mocks.d.ts +0 -1
  122. package/dist/mock/mock-fetch-gateway.d.ts +1 -4
  123. package/dist/mock/mock-server.d.ts +0 -1
  124. package/dist/mock/mock-storage.d.ts +2 -2
  125. package/dist/mock/mock-supported.d.ts +2 -1
  126. package/dist/{mock-dep-resolve-G7TA4CJB.js → mock-dep-resolve-4WSWOQHT.js} +7 -14
  127. package/dist/mock-dep-resolve-4WSWOQHT.js.map +6 -0
  128. package/dist/{mock-fetch-gateway-QNUFNYAH.js → mock-fetch-gateway-5K7STXZQ.js} +5 -10
  129. package/dist/{mock-local-deps-K2NARQ7F.js → mock-local-deps-7GS6RPYL.js} +12 -14
  130. package/dist/mock-local-deps.d.ts +0 -4
  131. package/dist/{mock-server-2FMSQMBT.js → mock-server-WOSXMC2L.js} +6 -9
  132. package/dist/node-engine.d.ts +0 -2
  133. package/dist/oauth-browser.d.ts +0 -3
  134. package/dist/oauth-provider.d.ts +1 -1
  135. package/dist/{open-api-client-DJL2PE7P.js → open-api-client-A26G263D.js} +9 -16
  136. package/dist/open-api-client.d.ts +1 -7
  137. package/dist/{org-SGFIXD42.js → org-NWSSC7L7.js} +3 -10
  138. package/dist/org-NWSSC7L7.js.map +6 -0
  139. package/dist/org.d.ts +0 -2
  140. package/dist/package-app-dev.d.ts +1 -1
  141. package/dist/package-collaborators.d.ts +2 -4
  142. package/dist/package-local-runtime-source.d.ts +2 -2
  143. package/dist/{package-manifest-KCLPIMOZ.js → package-manifest-OFJ5PRA2.js} +3 -4
  144. package/dist/package-manifest.d.ts +7 -6
  145. package/dist/process-info.d.ts +0 -2
  146. package/dist/publish-exit.d.ts +0 -11
  147. package/dist/{remote-execute-KUSUI6UT.js → remote-execute-PDSZBGQ7.js} +10 -9
  148. package/dist/remote-execute-PDSZBGQ7.js.map +6 -0
  149. package/dist/remote-execute.d.ts +2 -2
  150. package/dist/{run-executor-4TY5KNQQ.js → run-executor-6HMXYWQ5.js} +3 -21
  151. package/dist/run-executor-6HMXYWQ5.js.map +6 -0
  152. package/dist/{setup-git-KBH7GA6E.js → setup-git-7PQUU6JB.js} +10 -39
  153. package/dist/setup-git.d.ts +6 -60
  154. package/dist/{skill-IY263IXV.js → skill-QM3N6H55.js} +3 -3
  155. package/dist/skill-refresh.js +2 -2
  156. package/dist/{store-ZPBJTYRI.js → store-4G2J5DRZ.js} +3 -9
  157. package/dist/store.d.ts +2 -6
  158. package/dist/{structured-error-QYNRZZKC.js → structured-error-D2G3PBEZ.js} +2 -5
  159. package/dist/structured-error.d.ts +3 -3
  160. package/dist/{chunk-MHN2FS4K.js → target-LQ247AM3.js} +4 -4
  161. package/dist/target-LQ247AM3.js.map +6 -0
  162. package/dist/{whoami-SGE7VKGY.js → whoami-JGNVG2UX.js} +7 -7
  163. package/dist/whoami-JGNVG2UX.js.map +6 -0
  164. package/dist/whoami.d.ts +0 -11
  165. package/dist/workerd-binary.d.ts +2 -3
  166. package/package.json +1 -1
  167. package/dist/chunk-2FU3OO7F.js.map +0 -6
  168. package/dist/chunk-5E2HSGBZ.js.map +0 -6
  169. package/dist/chunk-7PRJ36I5.js +0 -23
  170. package/dist/chunk-7PRJ36I5.js.map +0 -6
  171. package/dist/chunk-CWQVWIAQ.js +0 -994
  172. package/dist/chunk-CWQVWIAQ.js.map +0 -6
  173. package/dist/chunk-DEI4SMFK.js.map +0 -6
  174. package/dist/chunk-F3XGCTRQ.js.map +0 -6
  175. package/dist/chunk-FHLTB67D.js.map +0 -6
  176. package/dist/chunk-FPYLVYHC.js.map +0 -6
  177. package/dist/chunk-M7PRSUCC.js.map +0 -6
  178. package/dist/chunk-MHN2FS4K.js.map +0 -6
  179. package/dist/chunk-NPQ2XAK5.js.map +0 -6
  180. package/dist/chunk-OKM2QMOV.js.map +0 -6
  181. package/dist/chunk-SLBG76VX.js.map +0 -6
  182. package/dist/chunk-VP2O3HLT.js.map +0 -6
  183. package/dist/chunk-XV6D6HSG.js.map +0 -6
  184. package/dist/chunk-YQRMKXCC.js.map +0 -6
  185. package/dist/chunk-ZUROJOJ2.js.map +0 -6
  186. package/dist/chunk-ZXNYKFSN.js.map +0 -6
  187. package/dist/commands-MZMI3MEY.js.map +0 -6
  188. package/dist/dev-command-XIQY56LW.js.map +0 -6
  189. package/dist/git-credential-BT363OJQ.js.map +0 -6
  190. package/dist/local-execute-BI5253MQ.js +0 -39
  191. package/dist/local-package-run-RRELUZEM.js +0 -33
  192. package/dist/mock-dep-resolve-G7TA4CJB.js.map +0 -6
  193. package/dist/org-SGFIXD42.js.map +0 -6
  194. package/dist/remote-execute-KUSUI6UT.js.map +0 -6
  195. package/dist/run-executor-4TY5KNQQ.js.map +0 -6
  196. package/dist/structured-error-QYNRZZKC.js.map +0 -6
  197. package/dist/target-UQBEV64U.js +0 -15
  198. package/dist/target-UQBEV64U.js.map +0 -6
  199. package/dist/whoami-SGE7VKGY.js.map +0 -6
  200. /package/dist/{auth-W5RWT6IP.js.map → auth-EEGVQLUH.js.map} +0 -0
  201. /package/dist/{chunk-4LAKIU3Y.js.map → chunk-C7GRF5V5.js.map} +0 -0
  202. /package/dist/{chunk-G7GRULRW.js.map → chunk-EMEUJKXR.js.map} +0 -0
  203. /package/dist/{chunk-RD6ZJU2N.js.map → chunk-KZQLRBP2.js.map} +0 -0
  204. /package/dist/{local-execute-BI5253MQ.js.map → local-package-graph-PMZQD7WF.js.map} +0 -0
  205. /package/dist/{local-package-graph-WFDNSNOJ.js.map → local-package-run-SJIAEVMD.js.map} +0 -0
  206. /package/dist/{local-package-run-RRELUZEM.js.map → mock-fetch-gateway-5K7STXZQ.js.map} +0 -0
  207. /package/dist/{mock-fetch-gateway-QNUFNYAH.js.map → mock-local-deps-7GS6RPYL.js.map} +0 -0
  208. /package/dist/{mock-local-deps-K2NARQ7F.js.map → mock-server-WOSXMC2L.js.map} +0 -0
  209. /package/dist/{mock-server-2FMSQMBT.js.map → open-api-client-A26G263D.js.map} +0 -0
  210. /package/dist/{open-api-client-DJL2PE7P.js.map → package-manifest-OFJ5PRA2.js.map} +0 -0
  211. /package/dist/{package-manifest-KCLPIMOZ.js.map → setup-git-7PQUU6JB.js.map} +0 -0
  212. /package/dist/{setup-git-KBH7GA6E.js.map → skill-QM3N6H55.js.map} +0 -0
  213. /package/dist/{skill-IY263IXV.js.map → store-4G2J5DRZ.js.map} +0 -0
  214. /package/dist/{store-ZPBJTYRI.js.map → structured-error-D2G3PBEZ.js.map} +0 -0
@@ -1,34 +1,29 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
- assertOutboundAllowed,
4
3
  buildHandlerLine,
5
4
  buildHandlerStub,
6
5
  createMockFetchGateway,
7
6
  dispatchMockGatewayFetch,
8
7
  hostMatchesPassthrough,
9
- isPrivateOrLocalHost,
10
8
  parsePassthroughHosts,
11
9
  resolveMockFetchGateway,
12
10
  tryHandleMockGatewayFetchCall,
13
11
  unmockedRequestError
14
- } from "./chunk-YQRMKXCC.js";
15
- import "./chunk-76OYRT4A.js";
16
- import "./chunk-XV6D6HSG.js";
17
- import "./chunk-MHN2FS4K.js";
18
- import "./chunk-K2G6GYKA.js";
12
+ } from "./chunk-V4SN6Y7O.js";
13
+ import "./chunk-LQNGII7U.js";
14
+ import "./chunk-42R5NM3P.js";
15
+ import "./chunk-62N7DN7L.js";
19
16
  import "./chunk-NHRYNRXG.js";
20
17
  import "./chunk-UW6AWLXX.js";
21
18
  export {
22
- assertOutboundAllowed,
23
19
  buildHandlerLine,
24
20
  buildHandlerStub,
25
21
  createMockFetchGateway,
26
22
  dispatchMockGatewayFetch,
27
23
  hostMatchesPassthrough,
28
- isPrivateOrLocalHost,
29
24
  parsePassthroughHosts,
30
25
  resolveMockFetchGateway,
31
26
  tryHandleMockGatewayFetchCall,
32
27
  unmockedRequestError
33
28
  };
34
- //# sourceMappingURL=mock-fetch-gateway-QNUFNYAH.js.map
29
+ //# sourceMappingURL=mock-fetch-gateway-5K7STXZQ.js.map
@@ -1,29 +1,27 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
- loadLocalDepMap,
4
- localDepsRelativePath,
5
3
  mergePackageGraphs,
6
4
  parseKodyPackageSpecifier,
7
5
  resolveLocalPackageModules,
8
6
  tryLoadSelfManifest
9
- } from "./chunk-ZUROJOJ2.js";
10
- import "./chunk-G7GRULRW.js";
7
+ } from "./chunk-4AKERLPX.js";
8
+ import "./chunk-EMEUJKXR.js";
11
9
  import "./chunk-YBO6HUV3.js";
12
- import "./chunk-OKM2QMOV.js";
13
- import "./chunk-XV6D6HSG.js";
14
- import "./chunk-MHN2FS4K.js";
15
- import "./chunk-FPYLVYHC.js";
16
- import "./chunk-FHLTB67D.js";
10
+ import "./chunk-7JU4GNCS.js";
11
+ import "./chunk-42R5NM3P.js";
12
+ import "./chunk-SLHFID52.js";
13
+ import "./chunk-4Q5BFP2W.js";
14
+ import "./chunk-BKUM4PLI.js";
15
+ import "./chunk-5W34SXJW.js";
16
+ import "./chunk-YFNQZPEP.js";
17
17
  import "./chunk-NHRYNRXG.js";
18
- import "./chunk-D6XME4RY.js";
19
- import "./chunk-VP2O3HLT.js";
18
+ import "./chunk-RE7LNPRO.js";
19
+ import "./chunk-NKH2L5RA.js";
20
20
  import "./chunk-UW6AWLXX.js";
21
21
  export {
22
- loadLocalDepMap,
23
- localDepsRelativePath,
24
22
  mergePackageGraphs,
25
23
  parseKodyPackageSpecifier,
26
24
  resolveLocalPackageModules,
27
25
  tryLoadSelfManifest
28
26
  };
29
- //# sourceMappingURL=mock-local-deps-K2NARQ7F.js.map
27
+ //# sourceMappingURL=mock-local-deps-7GS6RPYL.js.map
@@ -9,9 +9,6 @@
9
9
  */
10
10
  import { type LocalPackageGraph, type LocalPackageModule } from './local-package-graph.js';
11
11
  import { type KodyPackageManifest } from './package-manifest.js';
12
- export type LocalDepMap = Record<string, string>;
13
- /** Relative path for the optional local-deps map file. */
14
- export declare const localDepsRelativePath = ".kody/deps.json";
15
12
  /**
16
13
  * Parse `kody:@scope/name/export` → `{ packageName: '@scope/name', exportKey }`.
17
14
  * Export key is `.` when the specifier is exactly the package, else `./rest`.
@@ -20,7 +17,6 @@ export declare function parseKodyPackageSpecifier(specifier: string): {
20
17
  packageName: string;
21
18
  exportKey: string;
22
19
  } | null;
23
- export declare function loadLocalDepMap(packageRoot: string): Promise<LocalDepMap>;
24
20
  /**
25
21
  * Bundle locally-resolvable `kody:@` imports. Returns modules plus the list of
26
22
  * imports that still need published package-graph.
@@ -1,23 +1,20 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  ensureMockTarget,
4
- isMockApiToken,
5
4
  mintMockApiToken,
6
5
  startMockServer,
7
6
  withMockServer
8
- } from "./chunk-5E2HSGBZ.js";
9
- import "./chunk-YQRMKXCC.js";
10
- import "./chunk-76OYRT4A.js";
11
- import "./chunk-XV6D6HSG.js";
12
- import "./chunk-MHN2FS4K.js";
13
- import "./chunk-K2G6GYKA.js";
7
+ } from "./chunk-FY4SRIOG.js";
8
+ import "./chunk-V4SN6Y7O.js";
9
+ import "./chunk-LQNGII7U.js";
10
+ import "./chunk-42R5NM3P.js";
11
+ import "./chunk-62N7DN7L.js";
14
12
  import "./chunk-NHRYNRXG.js";
15
13
  import "./chunk-UW6AWLXX.js";
16
14
  export {
17
15
  ensureMockTarget,
18
- isMockApiToken,
19
16
  mintMockApiToken,
20
17
  startMockServer,
21
18
  withMockServer
22
19
  };
23
- //# sourceMappingURL=mock-server-2FMSQMBT.js.map
20
+ //# sourceMappingURL=mock-server-WOSXMC2L.js.map
@@ -1,5 +1,3 @@
1
- /** Local execute shells out to workerd; this CLI supports that only on Node 22+. */
2
- export declare const minimumLocalExecuteNodeMajor = 22;
3
1
  /**
4
2
  * Refuse `execute --local` before workerd download or spawn when Node is too old.
5
3
  * `package.json` `engines` is advisory; npx and a direct `node` launch do not enforce it.
@@ -11,7 +11,6 @@ export declare function discoverCliAuthorizationServer(input: {
11
11
  issuer: URL;
12
12
  fetchFn?: typeof fetch;
13
13
  }): Promise<oauth.AuthorizationServer>;
14
- export declare function cliOAuthClient(mcpUrl: string): oauth.Client;
15
14
  export declare function buildCliAuthorizationUrl(input: {
16
15
  authorizationServer: oauth.AuthorizationServer;
17
16
  mcpUrl: string;
@@ -48,8 +47,6 @@ export declare function startDeviceAuthorization(input: {
48
47
  scope?: string;
49
48
  fetchFn?: typeof fetch;
50
49
  }): Promise<oauth.DeviceAuthorizationResponse>;
51
- /** Terminal device-grant outcomes, as readable errors. */
52
- export declare function deviceGrantErrorMessage(code: string): string | null;
53
50
  /**
54
51
  * RFC 8628 section 3.4/3.5: poll the token endpoint at the server's interval,
55
52
  * adding five seconds on every `slow_down`, until approval, denial, or expiry.
@@ -1,4 +1,4 @@
1
- import { type StoredCredentials } from './store.js';
1
+ import type { StoredCredentials } from './store.js';
2
2
  export { orgSlugFromFlag } from './org-slug.js';
3
3
  /** Issuer stamp restored from durable CLI storage. */
4
4
  export declare function issuerFromStoredCredentials(credentials: StoredCredentials): string;
@@ -1,8 +1,6 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  OpenApiError,
4
- apiOperationUsesQueryInputs,
5
- apiRequestIdHeader,
6
4
  assertApiOperationAllowed,
7
5
  buildOpenApiHttpRequest,
8
6
  callOpenApiOperation,
@@ -11,25 +9,22 @@ import {
11
9
  formatOpenApiHttpDebugLine,
12
10
  indexOpenApiOperations,
13
11
  loadOpenApiOperations,
14
- openApiDocumentPath,
15
12
  openApiGet,
16
13
  openApiRequest,
17
14
  searchWithApiToken,
18
- toolResultFromHttpBody,
19
15
  whoamiWithApiToken
20
- } from "./chunk-DEI4SMFK.js";
21
- import "./chunk-46IJPEID.js";
22
- import "./chunk-FPYLVYHC.js";
23
- import "./chunk-FHLTB67D.js";
24
- import "./chunk-K2G6GYKA.js";
16
+ } from "./chunk-XXCAGPVV.js";
17
+ import "./chunk-4Q5BFP2W.js";
18
+ import "./chunk-BKUM4PLI.js";
19
+ import "./chunk-5W34SXJW.js";
20
+ import "./chunk-YFNQZPEP.js";
21
+ import "./chunk-62N7DN7L.js";
25
22
  import "./chunk-NHRYNRXG.js";
26
- import "./chunk-D6XME4RY.js";
27
- import "./chunk-VP2O3HLT.js";
23
+ import "./chunk-RE7LNPRO.js";
24
+ import "./chunk-NKH2L5RA.js";
28
25
  import "./chunk-UW6AWLXX.js";
29
26
  export {
30
27
  OpenApiError,
31
- apiOperationUsesQueryInputs,
32
- apiRequestIdHeader,
33
28
  assertApiOperationAllowed,
34
29
  buildOpenApiHttpRequest,
35
30
  callOpenApiOperation,
@@ -38,11 +33,9 @@ export {
38
33
  formatOpenApiHttpDebugLine,
39
34
  indexOpenApiOperations,
40
35
  loadOpenApiOperations,
41
- openApiDocumentPath,
42
36
  openApiGet,
43
37
  openApiRequest,
44
38
  searchWithApiToken,
45
- toolResultFromHttpBody,
46
39
  whoamiWithApiToken
47
40
  };
48
- //# sourceMappingURL=open-api-client-DJL2PE7P.js.map
41
+ //# sourceMappingURL=open-api-client-A26G263D.js.map
@@ -1,5 +1,5 @@
1
1
  import { type RequestSentStatus } from './network-error.js';
2
- import { type ToolCallResult } from './tool-result.js';
2
+ import type { ToolCallResult } from './tool-result.js';
3
3
  /** One Open API HTTP exchange, reported to `onHttpDebug` (`--debug`). */
4
4
  export type OpenApiHttpDebugEvent = {
5
5
  method: string;
@@ -52,8 +52,6 @@ export declare class OpenApiError extends Error {
52
52
  sent?: RequestSentStatus;
53
53
  });
54
54
  }
55
- /** Path to the live OpenAPI document on the Kody API origin. */
56
- export declare const openApiDocumentPath = "openapi.json";
57
55
  /**
58
56
  * Bootstrap redeem returns a `kody_at_…` once. Agents must use
59
57
  * `kody auth bootstrap --code` so the token is stored and never printed.
@@ -79,8 +77,6 @@ export declare function openApiRequest(input: OpenApiClientInput & {
79
77
  query?: Record<string, unknown>;
80
78
  body?: Record<string, unknown>;
81
79
  }): Promise<unknown>;
82
- /** Response header naming one API request (set by the `api.kody.codes` edge). */
83
- export declare const apiRequestIdHeader = "x-kody-request-id";
84
80
  /**
85
81
  * Call one Open API operation by `operationId` + flat `params`, matching the
86
82
  * MCP `api` tool shape. Resolves method/path from `/openapi.json`.
@@ -105,7 +101,6 @@ export declare function buildOpenApiHttpRequest(input: {
105
101
  query?: Record<string, unknown>;
106
102
  body?: Record<string, unknown>;
107
103
  };
108
- export declare function apiOperationUsesQueryInputs(method: string): boolean;
109
104
  export declare function loadOpenApiOperations(input: {
110
105
  apiUrl?: string;
111
106
  fetchFn?: typeof fetch;
@@ -122,7 +117,6 @@ export declare function searchWithApiToken(input: OpenApiClientInput & {
122
117
  limit?: number;
123
118
  entity?: string;
124
119
  }): Promise<ToolCallResult>;
125
- export declare function toolResultFromHttpBody(payload: unknown): ToolCallResult;
126
120
  export declare function whoamiWithApiToken(input: OpenApiClientInput): Promise<{
127
121
  mcpUrl?: undefined;
128
122
  apiUrl: string;
@@ -1,17 +1,13 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
- resolveOrgSlug
4
- } from "./chunk-7PRJ36I5.js";
5
- import {
6
- orgEnvVar,
7
3
  orgSlugFromFlag
8
4
  } from "./chunk-CWWHR4FH.js";
9
5
  import {
10
6
  setActiveOrg
11
- } from "./chunk-D6XME4RY.js";
7
+ } from "./chunk-RE7LNPRO.js";
12
8
  import {
13
9
  defaultMcpUrl
14
- } from "./chunk-VP2O3HLT.js";
10
+ } from "./chunk-NKH2L5RA.js";
15
11
  import "./chunk-UW6AWLXX.js";
16
12
 
17
13
  // src/org.ts
@@ -91,9 +87,6 @@ export {
91
87
  chooseOrgInteractively,
92
88
  formatOrgListHuman,
93
89
  formatOrgListJson,
94
- orgEnvVar,
95
- orgSlugFromFlag,
96
- resolveOrgSlug,
97
90
  useOrg
98
91
  };
99
- //# sourceMappingURL=org-SGFIXD42.js.map
92
+ //# sourceMappingURL=org-NWSSC7L7.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+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AAK,IAAI,IAAI,GAAG,MAAM;AAAA,CAAI;AAAA,EACtD,CAAC;AACD,QAAM,KAAK,gBAAgB;AAAA,IAC1B,OAAO,MAAM,SAAS,QAAQ;AAAA,IAC9B,QAAQ;AAAA,IACR,UAAU;AAAA,EACX,CAAC;AACD,MAAI;AACH,UAAM,SAAS,MAAM,IAAI,QAAgB,CAAC,YAAY;AACrD,SAAG,SAAS,sBAAsB,CAAC,SAAS,QAAQ,KAAK,KAAK,CAAC,CAAC;AAAA,IACjE,CAAC;AACD,QAAI,CAAC,QAAQ;AACZ,YAAM,IAAI,MAAM,2BAA2B;AAAA,IAC5C;AACA,UAAM,WAAW,OAAO,MAAM;AAC9B,QACC,OAAO,UAAU,QAAQ,KACzB,YAAY,KACZ,YAAY,OAAO,QAClB;AACD,aAAO,OAAO,WAAW,CAAC,EAAG;AAAA,IAC9B;AACA,WAAO,gBAAgB,MAAM;AAAA,EAC9B,UAAE;AACD,OAAG,MAAM;AAAA,EACV;AACD;AAEO,SAAS,OACf,MACA,SAAiB,eACjB,SACA,YAC0B;AAC1B,SAAO,aAAa,QAAQ,gBAAgB,IAAI,GAAG,SAAS,UAAU;AACvE;",
5
+ "names": []
6
+ }
package/dist/org.d.ts CHANGED
@@ -1,6 +1,4 @@
1
1
  import { type ListedOrg, type MultiOrgCredentialStore, type SecretBackend, type StoreResolution } from './store.js';
2
- export { orgEnvVar, orgSlugFromFlag } from './org-slug.js';
3
- export { resolveOrgSlug } from './org-resolve.js';
4
2
  export declare function formatOrgListHuman(orgs: Array<ListedOrg>): string;
5
3
  export declare function formatOrgListJson(orgs: Array<ListedOrg>): string;
6
4
  /**
@@ -12,7 +12,7 @@ import { type DevEvent } from './dev/dev-events.js';
12
12
  import { type DevServerStatus } from './dev/dev-registry.js';
13
13
  import { type PackageLocalContext } from './package-local-runtime-source.js';
14
14
  import { type KodyPackageManifest } from './package-manifest.js';
15
- import { type KodyTarget } from './target.js';
15
+ import type { KodyTarget } from './target.js';
16
16
  export type PackageAppDevOptions = {
17
17
  manifest: KodyPackageManifest;
18
18
  token: string;
@@ -4,10 +4,9 @@
4
4
  * `packageCollaboratorSet`, `packageCollaboratorRemove`). They only add teams
5
5
  * and members of the org the request is bound to (`--org`).
6
6
  */
7
- export declare const packageCollaboratorPresets: readonly ["read", "use", "contribute", "manage"];
8
- export type PackageCollaboratorPreset = (typeof packageCollaboratorPresets)[number];
7
+ declare const packageCollaboratorPresets: readonly ["read", "use", "contribute", "manage"];
8
+ type PackageCollaboratorPreset = (typeof packageCollaboratorPresets)[number];
9
9
  export type PackageCollaboratorAction = 'collaborators' | 'grant' | 'revoke';
10
- export declare const packageCollaboratorActions: ReadonlyArray<PackageCollaboratorAction>;
11
10
  export declare function isPackageCollaboratorAction(value: string | undefined): value is PackageCollaboratorAction;
12
11
  export declare const packageCollaboratorUsage: string;
13
12
  type Subject = {
@@ -77,7 +76,6 @@ type CollaboratorList = {
77
76
  } | null;
78
77
  };
79
78
  export type CallOperation = (operationId: string, params: Record<string, unknown>) => Promise<unknown>;
80
- export declare function collaboratorLabel(collaborator: PackageCollaborator): string;
81
79
  /** Plain-text table for `kody package collaborators`. */
82
80
  export declare function formatCollaboratorList(list: CollaboratorList): string;
83
81
  /**
@@ -3,7 +3,7 @@
3
3
  * webhook/subscription). Same CapabilityProxy bridge as local-execute, plus a
4
4
  * real `packageContext` and mock-backed `packageStorage()` hops.
5
5
  */
6
- import { localExecuteCompatibilityDate, localExecuteCompatibilityFlags, localWorkerModuleNames, runSecretEnvVar, runSecretHeader } from './local-runtime-source.js';
6
+ import { localWorkerModuleNames, runSecretEnvVar, runSecretHeader } from './local-runtime-source.js';
7
7
  export type PackageLocalContext = {
8
8
  packageId: string;
9
9
  kodyId: string;
@@ -15,7 +15,7 @@ export type PackageLocalContext = {
15
15
  clientModuleUrl: string | null;
16
16
  cookiePrefix: string;
17
17
  };
18
- export { localExecuteCompatibilityDate, localExecuteCompatibilityFlags, localWorkerModuleNames, runSecretEnvVar, runSecretHeader, };
18
+ export { localWorkerModuleNames, runSecretEnvVar, runSecretHeader };
19
19
  /**
20
20
  * Runtime module for package-local workerd. `packageStorage()` hops through the
21
21
  * bridge to mock `__mockPackageStorage*` (or refuses clearly on prod until the
@@ -3,13 +3,12 @@ import {
3
3
  loadPackageManifest,
4
4
  resolveExportModulePath,
5
5
  resolvePackagePath
6
- } from "./chunk-G7GRULRW.js";
7
- import "./chunk-XV6D6HSG.js";
8
- import "./chunk-MHN2FS4K.js";
6
+ } from "./chunk-EMEUJKXR.js";
7
+ import "./chunk-42R5NM3P.js";
9
8
  import "./chunk-UW6AWLXX.js";
10
9
  export {
11
10
  loadPackageManifest,
12
11
  resolveExportModulePath,
13
12
  resolvePackagePath
14
13
  };
15
- //# sourceMappingURL=package-manifest-KCLPIMOZ.js.map
14
+ //# sourceMappingURL=package-manifest-OFJ5PRA2.js.map
@@ -2,14 +2,14 @@
2
2
  * Read and validate the authored package.json `kody` surface used by `kody dev`.
3
3
  */
4
4
  /** Mirrors `@kody-internal/shared/jobs/package-job-schedule` (kept local so published CLI `.d.ts` does not reference the private package). */
5
- export type PackageJobSchedule = {
5
+ type PackageJobSchedule = {
6
6
  type: 'cron';
7
7
  expression: string;
8
8
  } | {
9
9
  type: 'interval';
10
10
  every: string;
11
11
  };
12
- export type PackageAppManifest = {
12
+ type PackageAppManifest = {
13
13
  entry: string;
14
14
  /** Browser entry (string form, or `entry` of the object form). */
15
15
  client?: string;
@@ -18,13 +18,13 @@ export type PackageAppManifest = {
18
18
  assets?: string;
19
19
  };
20
20
  /** Local-only `kody dev` settings (`package.json#kody.dev`); never published behavior. */
21
- export type PackageDevManifest = {
21
+ type PackageDevManifest = {
22
22
  /** Shell command run from the package root before every `kody dev` build. */
23
23
  prebuild?: string;
24
24
  /** Root-relative path prefixes the watcher ignores (e.g. prebuild outputs). */
25
25
  ignore: Array<string>;
26
26
  };
27
- export type PackageJobManifest = {
27
+ type PackageJobManifest = {
28
28
  entry: string;
29
29
  /** Normalized for display / check output. */
30
30
  schedule: string;
@@ -33,12 +33,12 @@ export type PackageJobManifest = {
33
33
  timezone?: string;
34
34
  enabled?: boolean;
35
35
  };
36
- export type PackageWebhookManifest = {
36
+ type PackageWebhookManifest = {
37
37
  export: string;
38
38
  description?: string;
39
39
  inputMode?: 'request' | 'params';
40
40
  };
41
- export type PackageSubscriptionManifest = {
41
+ type PackageSubscriptionManifest = {
42
42
  handler: string;
43
43
  description?: string;
44
44
  filters?: unknown;
@@ -65,3 +65,4 @@ export declare function resolvePackagePath(manifest: KodyPackageManifest, relati
65
65
  export declare function resolveExportModulePath(manifest: KodyPackageManifest, exportRef: string, options?: {
66
66
  exportsOnly?: boolean;
67
67
  }): string;
68
+ export {};
@@ -2,7 +2,5 @@ export type ProcessInfo = {
2
2
  name: string;
3
3
  cmd?: string;
4
4
  };
5
- export declare function processHaystack(process: ProcessInfo): string;
6
- export declare function processBaseName(process: ProcessInfo): string;
7
5
  export declare function nameEquals(process: ProcessInfo, ...names: Array<string>): boolean;
8
6
  export declare function haystackMatches(process: ProcessInfo, pattern: RegExp): boolean;
@@ -5,17 +5,6 @@
5
5
  * Statuses come from `packagePublishExternalPush` /
6
6
  * `RepoExternalPublishResult` (worker repo types + publish-external-push).
7
7
  */
8
- /** Terminal success: tip advanced or true no-op (incl. artifacts_rebuilt). */
9
- export declare const publishCliSuccessStatuses: readonly ["published", "already_published"];
10
- /**
11
- * Async handoff is not a refusal — the durable run is accepted. Poll
12
- * workflowRunList({ workflow_id }) for the terminal publish status.
13
- */
14
- export declare const publishCliAcceptedStatuses: readonly ["dispatched"];
15
- export type PublishCliSuccessStatus = (typeof publishCliSuccessStatuses)[number];
16
- export type PublishCliAcceptedStatus = (typeof publishCliAcceptedStatuses)[number];
17
- export declare function readPublishStatus(result: unknown): string | null;
18
- export declare function isPublishCliSuccessStatus(status: string | null): status is PublishCliSuccessStatus | PublishCliAcceptedStatus;
19
8
  /** Exit 0 for published / already_published / dispatched; else 1. */
20
9
  export declare function publishCliExitCode(result: unknown): 0 | 1;
21
10
  /**
@@ -1,19 +1,20 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  resolveExecuteInvokeCode
4
- } from "./chunk-SLNAWWQK.js";
4
+ } from "./chunk-E4R3Y6MM.js";
5
5
  import {
6
6
  openApiRequest
7
- } from "./chunk-DEI4SMFK.js";
8
- import "./chunk-46IJPEID.js";
7
+ } from "./chunk-XXCAGPVV.js";
9
8
  import {
10
9
  assertTokenSafeApiUrl
11
- } from "./chunk-FPYLVYHC.js";
12
- import "./chunk-FHLTB67D.js";
13
- import "./chunk-K2G6GYKA.js";
10
+ } from "./chunk-4Q5BFP2W.js";
11
+ import "./chunk-BKUM4PLI.js";
12
+ import "./chunk-5W34SXJW.js";
13
+ import "./chunk-YFNQZPEP.js";
14
+ import "./chunk-62N7DN7L.js";
14
15
  import "./chunk-NHRYNRXG.js";
15
- import "./chunk-D6XME4RY.js";
16
- import "./chunk-VP2O3HLT.js";
16
+ import "./chunk-RE7LNPRO.js";
17
+ import "./chunk-NKH2L5RA.js";
17
18
  import "./chunk-UW6AWLXX.js";
18
19
 
19
20
  // src/remote-execute.ts
@@ -148,4 +149,4 @@ export {
148
149
  resolveRemoteExecuteCode,
149
150
  runRemoteExecuteWithToken
150
151
  };
151
- //# sourceMappingURL=remote-execute-KUSUI6UT.js.map
152
+ //# sourceMappingURL=remote-execute-PDSZBGQ7.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/remote-execute.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAgCA,SAAS,SAAS,OAAgB;AACjC,SAAO,OAAO,UAAU,WACrB,MACC,MAAM,GAAG,EACT,IAAI,CAAC,UAAU,MAAM,KAAK,CAAC,EAC3B,OAAO,OAAO,IACf,CAAC;AACL;AAGO,SAAS,wBAAwB,QAKT;AAC9B,QAAM,UAA0B,CAAC;AACjC,MAAI,OAAO,OAAO,YA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ult } from './tool-result.js';
1
+ import type { CredentialCallMapInput } from './credential-call-map.js';
2
+ import type { ToolCallResult } from './tool-result.js';
3
3
  export type RemoteExecuteInput = {
4
4
  /** Module source; `--invoke` is already minted into this by the caller. */
5
5
  code?: string;
@@ -1,31 +1,13 @@
1
1
  import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
2
- import "./chunk-CWQVWIAQ.js";
3
- import "./chunk-SLBG76VX.js";
4
- import "./chunk-OXBMXZ6S.js";
5
- import "./chunk-NPQ2XAK5.js";
6
- import "./chunk-YBO6HUV3.js";
7
2
  import {
8
3
  egressPolicyFromGrant
9
- } from "./chunk-OKM2QMOV.js";
10
- import "./chunk-YQRMKXCC.js";
11
- import "./chunk-76OYRT4A.js";
12
- import "./chunk-XV6D6HSG.js";
13
- import "./chunk-MHN2FS4K.js";
14
- import "./chunk-2XPH7L2P.js";
15
- import "./chunk-CASGRYOF.js";
16
- import "./chunk-46IJPEID.js";
17
- import "./chunk-FPYLVYHC.js";
18
- import "./chunk-FHLTB67D.js";
19
- import "./chunk-K2G6GYKA.js";
20
- import "./chunk-NHRYNRXG.js";
21
- import "./chunk-D6XME4RY.js";
22
- import "./chunk-VP2O3HLT.js";
4
+ } from "./chunk-SLHFID52.js";
23
5
  import "./chunk-UW6AWLXX.js";
24
6
 
25
7
  // src/execution-context/run-executor.ts
26
8
  async function runContextRun(input) {
27
9
  const hostCommands = input.hostCommands;
28
- const { runLocalExecute } = await import("./local-execute-BI5253MQ.js");
10
+ const { runLocalExecute } = await import("./local-execute-3I5YDMM5.js");
29
11
  let timing;
30
12
  const result = await runLocalExecute({
31
13
  code: input.request.source.code,
@@ -72,4 +54,4 @@ async function runContextRun(input) {
72
54
  export {
73
55
  runContextRun
74
56
  };
75
- //# sourceMappingURL=run-executor-4TY5KNQQ.js.map
57
+ //# sourceMappingURL=run-executor-6HMXYWQ5.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/execution-context/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