@kodycodes/cli 3.1.0 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/README.md +20 -21
  2. package/dist/api-token.d.ts +0 -8
  3. package/dist/{auth-2N7CSZGJ.js → auth-XYCJECBM.js} +6 -6
  4. package/dist/bin.js +8 -8
  5. package/dist/{chunk-CCRCEU7S.js → chunk-2YTCP3WU.js} +3 -3
  6. package/dist/chunk-2YTCP3WU.js.map +6 -0
  7. package/dist/{chunk-JNQKDAPN.js → chunk-3HNVJB54.js} +4 -4
  8. package/dist/{chunk-DCQ57UXY.js → chunk-6E36EHFY.js} +1 -2
  9. package/dist/{chunk-DCQ57UXY.js.map → chunk-6E36EHFY.js.map} +1 -1
  10. package/dist/{chunk-TK2Y4XD6.js → chunk-BAVB2CHB.js} +55 -55
  11. package/dist/{chunk-TK2Y4XD6.js.map → chunk-BAVB2CHB.js.map} +1 -1
  12. package/dist/{chunk-FDRTJFCM.js → chunk-BGQBKEEG.js} +3 -3
  13. package/dist/{chunk-FDRTJFCM.js.map → chunk-BGQBKEEG.js.map} +1 -1
  14. package/dist/{chunk-3H72XY5R.js → chunk-CMIH7XDH.js} +2 -2
  15. package/dist/{chunk-3H72XY5R.js.map → chunk-CMIH7XDH.js.map} +1 -1
  16. package/dist/{chunk-YFDVDTNX.js → chunk-F3Q7IT5W.js} +8 -8
  17. package/dist/{chunk-EJXEVGWF.js → chunk-MHN2FS4K.js} +2 -6
  18. package/dist/{chunk-EJXEVGWF.js.map → chunk-MHN2FS4K.js.map} +1 -1
  19. package/dist/{chunk-5BIXRCH7.js → chunk-MLQ5RB2C.js} +4 -4
  20. package/dist/{chunk-FS3BGXCK.js → chunk-OXQRDM3Y.js} +4 -4
  21. package/dist/{chunk-5X563FYY.js → chunk-Q4BAXNBM.js} +2 -2
  22. package/dist/{chunk-TCJSXIEG.js → chunk-QGWMYBSI.js} +2 -2
  23. package/dist/{chunk-QI3ZICHR.js → chunk-TJG4ZXGN.js} +5 -5
  24. package/dist/{chunk-PDDX5RJS.js → chunk-TQISDGI4.js} +4 -8
  25. package/dist/chunk-TQISDGI4.js.map +6 -0
  26. package/dist/{chunk-BTL3PJ2H.js → chunk-V7P2QDVU.js} +1 -1
  27. package/dist/{chunk-BTL3PJ2H.js.map → chunk-V7P2QDVU.js.map} +1 -1
  28. package/dist/{chunk-TGBFPYAY.js → chunk-Y2D5VBXG.js} +3 -3
  29. package/dist/cli.js +8 -8
  30. package/dist/defaults.d.ts +0 -6
  31. package/dist/dev/live-reload.d.ts +0 -1
  32. package/dist/{dev-command-OUTCMZOC.js → dev-command-QXCCWGN2.js} +12 -12
  33. package/dist/{dev-command-OUTCMZOC.js.map → dev-command-QXCCWGN2.js.map} +1 -1
  34. package/dist/fetch-body-secret-resolution.d.ts +1 -1
  35. package/dist/{git-credential-NTAPSLZP.js → git-credential-JJ4HF5C5.js} +7 -7
  36. package/dist/{install-IR4MAVPG.js → install-I4LFIMB4.js} +2 -2
  37. package/dist/{local-execute-6NSAVTAV.js → local-execute-VQBMQ3DE.js} +8 -8
  38. package/dist/local-gateway-fetch-forward.d.ts +0 -2
  39. package/dist/{local-package-graph-UU3XHKIM.js → local-package-graph-YHDXLH3V.js} +5 -5
  40. package/dist/{local-package-run-RATCOPRD.js → local-package-run-WJEYFQBD.js} +11 -11
  41. package/dist/mock/load-package-mocks.d.ts +0 -2
  42. package/dist/mock/mock-fetch-gateway.d.ts +1 -3
  43. package/dist/mock/mock-supported.d.ts +0 -2
  44. package/dist/{mock-dep-resolve-FM5GKMKE.js → mock-dep-resolve-O4V3OJNG.js} +7 -7
  45. package/dist/{mock-fetch-gateway-TNK74HEP.js → mock-fetch-gateway-PPGCOJXV.js} +3 -5
  46. package/dist/{mock-local-deps-6I7HSHXD.js → mock-local-deps-4KSWAKJI.js} +7 -9
  47. package/dist/mock-local-deps.d.ts +0 -2
  48. package/dist/{mock-server-CJQI6B3A.js → mock-server-BK6H6QIB.js} +4 -4
  49. package/dist/oauth-provider.d.ts +0 -12
  50. package/dist/{open-api-client-7TV5SPHT.js → open-api-client-APRBPT2N.js} +5 -5
  51. package/dist/{org-37K3EF24.js → org-OQQ4CIJC.js} +3 -3
  52. package/dist/{package-manifest-FZOHGLVL.js → package-manifest-EBO2BFLS.js} +2 -2
  53. package/dist/publish-exit.d.ts +0 -3
  54. package/dist/{remote-execute-XLKI7JTI.js → remote-execute-HKYVMGH7.js} +5 -7
  55. package/dist/remote-execute-HKYVMGH7.js.map +6 -0
  56. package/dist/remote-execute.d.ts +0 -1
  57. package/dist/{setup-git-LQVUW2D4.js → setup-git-OFZDRS2S.js} +6 -6
  58. package/dist/{skill-7B2RL273.js → skill-4V4HWSHW.js} +3 -3
  59. package/dist/skill-refresh.js +2 -2
  60. package/dist/{store-27J4CQZ2.js → store-6HBMNQKB.js} +3 -3
  61. package/dist/store.d.ts +0 -6
  62. package/dist/{structured-error-5MLWXYR3.js → structured-error-QYNRZZKC.js} +2 -2
  63. package/dist/{target-33ATHDUF.js → target-UQBEV64U.js} +2 -4
  64. package/dist/target.d.ts +0 -2
  65. package/package.json +1 -1
  66. package/dist/chunk-CCRCEU7S.js.map +0 -6
  67. package/dist/chunk-PDDX5RJS.js.map +0 -6
  68. package/dist/local-host-runtime-surface.d.ts +0 -55
  69. package/dist/remote-execute-XLKI7JTI.js.map +0 -6
  70. /package/dist/{auth-2N7CSZGJ.js.map → auth-XYCJECBM.js.map} +0 -0
  71. /package/dist/{chunk-JNQKDAPN.js.map → chunk-3HNVJB54.js.map} +0 -0
  72. /package/dist/{chunk-YFDVDTNX.js.map → chunk-F3Q7IT5W.js.map} +0 -0
  73. /package/dist/{chunk-5BIXRCH7.js.map → chunk-MLQ5RB2C.js.map} +0 -0
  74. /package/dist/{chunk-FS3BGXCK.js.map → chunk-OXQRDM3Y.js.map} +0 -0
  75. /package/dist/{chunk-5X563FYY.js.map → chunk-Q4BAXNBM.js.map} +0 -0
  76. /package/dist/{chunk-TCJSXIEG.js.map → chunk-QGWMYBSI.js.map} +0 -0
  77. /package/dist/{chunk-QI3ZICHR.js.map → chunk-TJG4ZXGN.js.map} +0 -0
  78. /package/dist/{chunk-TGBFPYAY.js.map → chunk-Y2D5VBXG.js.map} +0 -0
  79. /package/dist/{git-credential-NTAPSLZP.js.map → git-credential-JJ4HF5C5.js.map} +0 -0
  80. /package/dist/{install-IR4MAVPG.js.map → install-I4LFIMB4.js.map} +0 -0
  81. /package/dist/{local-execute-6NSAVTAV.js.map → local-execute-VQBMQ3DE.js.map} +0 -0
  82. /package/dist/{local-package-graph-UU3XHKIM.js.map → local-package-graph-YHDXLH3V.js.map} +0 -0
  83. /package/dist/{local-package-run-RATCOPRD.js.map → local-package-run-WJEYFQBD.js.map} +0 -0
  84. /package/dist/{mock-dep-resolve-FM5GKMKE.js.map → mock-dep-resolve-O4V3OJNG.js.map} +0 -0
  85. /package/dist/{mock-fetch-gateway-TNK74HEP.js.map → mock-fetch-gateway-PPGCOJXV.js.map} +0 -0
  86. /package/dist/{mock-local-deps-6I7HSHXD.js.map → mock-local-deps-4KSWAKJI.js.map} +0 -0
  87. /package/dist/{mock-server-CJQI6B3A.js.map → mock-server-BK6H6QIB.js.map} +0 -0
  88. /package/dist/{open-api-client-7TV5SPHT.js.map → open-api-client-APRBPT2N.js.map} +0 -0
  89. /package/dist/{org-37K3EF24.js.map → org-OQQ4CIJC.js.map} +0 -0
  90. /package/dist/{package-manifest-FZOHGLVL.js.map → package-manifest-EBO2BFLS.js.map} +0 -0
  91. /package/dist/{setup-git-LQVUW2D4.js.map → setup-git-OFZDRS2S.js.map} +0 -0
  92. /package/dist/{skill-7B2RL273.js.map → skill-4V4HWSHW.js.map} +0 -0
  93. /package/dist/{store-27J4CQZ2.js.map → store-6HBMNQKB.js.map} +0 -0
  94. /package/dist/{structured-error-5MLWXYR3.js.map → structured-error-QYNRZZKC.js.map} +0 -0
  95. /package/dist/{target-33ATHDUF.js.map → target-UQBEV64U.js.map} +0 -0
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-7PRJ36I5.js";
15
15
  import {
16
16
  resolveLocalExecuteBearer
17
- } from "./chunk-FS3BGXCK.js";
17
+ } from "./chunk-OXQRDM3Y.js";
18
18
  import {
19
19
  authBootstrap,
20
20
  authBootstrapWithScopes,
@@ -24,7 +24,7 @@ import {
24
24
  parseCliScopesFlag,
25
25
  refreshGitCredentialHelperPinIfNeeded,
26
26
  resolveCliTokenLifetime
27
- } from "./chunk-JNQKDAPN.js";
27
+ } from "./chunk-3HNVJB54.js";
28
28
  import {
29
29
  redactError
30
30
  } from "./chunk-CASGRYOF.js";
@@ -44,19 +44,19 @@ import {
44
44
  readPackageVersion,
45
45
  requireApiToken,
46
46
  resolveScopedApiToken
47
- } from "./chunk-CCRCEU7S.js";
47
+ } from "./chunk-2YTCP3WU.js";
48
48
  import {
49
49
  deleteCredentials,
50
50
  listStoredOrgs,
51
51
  loadCredentialStore,
52
52
  loadCredentials
53
- } from "./chunk-3H72XY5R.js";
53
+ } from "./chunk-CMIH7XDH.js";
54
54
  import {
55
55
  apiTokenEnvVar,
56
56
  defaultApiUrl,
57
57
  defaultMcpUrl,
58
58
  onboardingUrl
59
- } from "./chunk-BTL3PJ2H.js";
59
+ } from "./chunk-V7P2QDVU.js";
60
60
 
61
61
  // src/cli.ts
62
62
  import { parseArgs } from "node:util";
@@ -838,7 +838,7 @@ async function runCli(argv = process.argv.slice(2), io = {}) {
838
838
  }
839
839
  const skipSkillRefresh = underNodeTest || process.env.KODY_SKIP_SKILL_REFRESH === "1" || head === "git-credential" || head === "skill" || head === "version" || head === "--version" || head === "-v" || head === "help" || head === "--help" || head === "-h" || head === void 0;
840
840
  if (!skipSkillRefresh) {
841
- void import("./skill-7B2RL273.js").then(({ scheduleDetachedSkillRefresh }) => {
841
+ void import("./skill-4V4HWSHW.js").then(({ scheduleDetachedSkillRefresh }) => {
842
842
  scheduleDetachedSkillRefresh({
843
843
  origin: process.env.KODY_MCP_URL ? new URL(process.env.KODY_MCP_URL).origin : void 0
844
844
  });
@@ -893,7 +893,7 @@ async function dispatch(parsed, write, writeErr) {
893
893
  });
894
894
  const json = parsed.values.json === true;
895
895
  if (parsed.values["allow-private-network"] === true) {
896
- const executeAllowsPrivateNetwork = parsed.command === "execute" && (parsed.values.local === true || (await import("./target-33ATHDUF.js")).resolveTarget({
896
+ const executeAllowsPrivateNetwork = parsed.command === "execute" && (parsed.values.local === true || (await import("./target-UQBEV64U.js")).resolveTarget({
897
897
  command: "execute",
898
898
  flag: typeof parsed.values.target === "string" ? parsed.values.target : void 0
899
899
  }) === "mock");
@@ -948,7 +948,7 @@ async function dispatch(parsed, write, writeErr) {
948
948
  `);
949
949
  return 0;
950
950
  case "login": {
951
- const { login } = await import("./auth-2N7CSZGJ.js");
951
+ const { login } = await import("./auth-XYCJECBM.js");
952
952
  const openBrowser = parsed.values["no-browser"] !== true;
953
953
  const result = await login({
954
954
  mcpUrl,
@@ -1017,8 +1017,8 @@ async function dispatch(parsed, write, writeErr) {
1017
1017
  formatOrgListHuman,
1018
1018
  formatOrgListJson,
1019
1019
  useOrg
1020
- } = await import("./org-37K3EF24.js");
1021
- const { listStoredOrgs: listStoredOrgs2 } = await import("./store-27J4CQZ2.js");
1020
+ } = await import("./org-OQQ4CIJC.js");
1021
+ const { listStoredOrgs: listStoredOrgs2 } = await import("./store-6HBMNQKB.js");
1022
1022
  const action = parsed.positionals[0];
1023
1023
  if (action === "list") {
1024
1024
  const orgs = listStoredOrgs2(mcpUrl);
@@ -1174,7 +1174,7 @@ async function dispatch(parsed, write, writeErr) {
1174
1174
  parseGitCredentialAction,
1175
1175
  parseGitCredentialInput,
1176
1176
  readGitCredentialStdin
1177
- } = await import("./git-credential-NTAPSLZP.js");
1177
+ } = await import("./git-credential-JJ4HF5C5.js");
1178
1178
  const action = parseGitCredentialAction(parsed.positionals);
1179
1179
  const raw = await readGitCredentialStdin(process.stdin);
1180
1180
  const output = await handleGitCredential({
@@ -1189,7 +1189,7 @@ async function dispatch(parsed, write, writeErr) {
1189
1189
  return 0;
1190
1190
  }
1191
1191
  case "whoami": {
1192
- const { resolveTarget } = await import("./target-33ATHDUF.js");
1192
+ const { resolveTarget } = await import("./target-UQBEV64U.js");
1193
1193
  const target = resolveTarget({
1194
1194
  command: "whoami",
1195
1195
  flag: typeof parsed.values.target === "string" ? parsed.values.target : void 0
@@ -1199,7 +1199,7 @@ async function dispatch(parsed, write, writeErr) {
1199
1199
  apiUrl: typeof parsed.values["api-url"] === "string" ? parsed.values["api-url"] : void 0
1200
1200
  });
1201
1201
  if (target === "mock") {
1202
- const { ensureMockTarget } = await import("./mock-server-CJQI6B3A.js");
1202
+ const { ensureMockTarget } = await import("./mock-server-BK6H6QIB.js");
1203
1203
  const mock = await ensureMockTarget({
1204
1204
  resetStorage: parsed.values["reset-storage"] === true,
1205
1205
  ...org ? { orgSlug: org } : {}
@@ -1241,7 +1241,7 @@ async function dispatch(parsed, write, writeErr) {
1241
1241
  allowEnvWithoutLogin: true,
1242
1242
  ...org ? { org } : {}
1243
1243
  })) {
1244
- const { whoamiWithApiToken: whoamiWithApiToken2 } = await import("./open-api-client-7TV5SPHT.js");
1244
+ const { whoamiWithApiToken: whoamiWithApiToken2 } = await import("./open-api-client-APRBPT2N.js");
1245
1245
  const identity2 = await whoamiWithApiToken2({
1246
1246
  token: requireApiToken(tokenValues, process.env, "whoami", {
1247
1247
  apiUrl
@@ -1268,13 +1268,13 @@ async function dispatch(parsed, write, writeErr) {
1268
1268
  );
1269
1269
  return 0;
1270
1270
  }
1271
- const { ensureOpenApiCredentials } = await import("./auth-2N7CSZGJ.js");
1271
+ const { ensureOpenApiCredentials } = await import("./auth-XYCJECBM.js");
1272
1272
  const credentials = await ensureOpenApiCredentials({
1273
1273
  mcpUrl,
1274
1274
  org,
1275
1275
  apiUrl
1276
1276
  });
1277
- const { whoamiWithApiToken } = await import("./open-api-client-7TV5SPHT.js");
1277
+ const { whoamiWithApiToken } = await import("./open-api-client-APRBPT2N.js");
1278
1278
  const identity = await whoamiWithApiToken({
1279
1279
  token: credentials.accessToken,
1280
1280
  apiUrl,
@@ -1309,7 +1309,7 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1309
1309
  return 0;
1310
1310
  }
1311
1311
  case "search": {
1312
- const { resolveTarget } = await import("./target-33ATHDUF.js");
1312
+ const { resolveTarget } = await import("./target-UQBEV64U.js");
1313
1313
  const target = resolveTarget({
1314
1314
  command: "search",
1315
1315
  flag: typeof parsed.values.target === "string" ? parsed.values.target : void 0
@@ -1322,13 +1322,13 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1322
1322
  let closeMock;
1323
1323
  try {
1324
1324
  if (target === "mock") {
1325
- const { ensureMockTarget } = await import("./mock-server-CJQI6B3A.js");
1325
+ const { ensureMockTarget } = await import("./mock-server-BK6H6QIB.js");
1326
1326
  const mock = await ensureMockTarget({
1327
1327
  resetStorage: parsed.values["reset-storage"] === true
1328
1328
  });
1329
1329
  apiUrl = mock.apiUrl;
1330
1330
  closeMock = mock.started ? () => mock.server.close() : void 0;
1331
- const { searchWithApiToken: searchWithApiToken2 } = await import("./open-api-client-7TV5SPHT.js");
1331
+ const { searchWithApiToken: searchWithApiToken2 } = await import("./open-api-client-APRBPT2N.js");
1332
1332
  const result2 = await searchWithApiToken2({
1333
1333
  token: mock.token,
1334
1334
  apiUrl,
@@ -1347,7 +1347,7 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1347
1347
  allowEnvWithoutLogin: true,
1348
1348
  ...org ? { org } : {}
1349
1349
  })) {
1350
- const { searchWithApiToken: searchWithApiToken2 } = await import("./open-api-client-7TV5SPHT.js");
1350
+ const { searchWithApiToken: searchWithApiToken2 } = await import("./open-api-client-APRBPT2N.js");
1351
1351
  const result2 = await searchWithApiToken2({
1352
1352
  token: requireApiToken(tokenValues, process.env, "search", {
1353
1353
  apiUrl
@@ -1362,13 +1362,13 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1362
1362
  write(formatToolResult(result2, json));
1363
1363
  return result2.isError ? 1 : 0;
1364
1364
  }
1365
- const { ensureOpenApiCredentials } = await import("./auth-2N7CSZGJ.js");
1365
+ const { ensureOpenApiCredentials } = await import("./auth-XYCJECBM.js");
1366
1366
  const credentials = await ensureOpenApiCredentials({
1367
1367
  mcpUrl,
1368
1368
  org,
1369
1369
  apiUrl
1370
1370
  });
1371
- const { searchWithApiToken } = await import("./open-api-client-7TV5SPHT.js");
1371
+ const { searchWithApiToken } = await import("./open-api-client-APRBPT2N.js");
1372
1372
  const result = await searchWithApiToken({
1373
1373
  token: credentials.accessToken,
1374
1374
  apiUrl,
@@ -1385,7 +1385,7 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1385
1385
  }
1386
1386
  }
1387
1387
  case "execute": {
1388
- const { resolveTarget } = await import("./target-33ATHDUF.js");
1388
+ const { resolveTarget } = await import("./target-UQBEV64U.js");
1389
1389
  const target = resolveTarget({
1390
1390
  command: "execute",
1391
1391
  flag: typeof parsed.values.target === "string" ? parsed.values.target : void 0
@@ -1438,7 +1438,7 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1438
1438
  apiUrl: typeof parsed.values["api-url"] === "string" ? parsed.values["api-url"] : void 0
1439
1439
  });
1440
1440
  let apiUrl = prodApiUrl;
1441
- const { parsePassthroughHosts } = await import("./mock-fetch-gateway-TNK74HEP.js");
1441
+ const { parsePassthroughHosts } = await import("./mock-fetch-gateway-PPGCOJXV.js");
1442
1442
  const passthroughHosts = parsePassthroughHosts(
1443
1443
  typeof parsed.values.passthrough === "string" ? parsed.values.passthrough : void 0
1444
1444
  );
@@ -1453,7 +1453,7 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1453
1453
  let localPackageRun = localPackageInvoke;
1454
1454
  if (!localPackageRun && local && modulePath !== void 0) {
1455
1455
  try {
1456
- const { loadPackageManifest } = await import("./package-manifest-FZOHGLVL.js");
1456
+ const { loadPackageManifest } = await import("./package-manifest-EBO2BFLS.js");
1457
1457
  const manifest = await loadPackageManifest(process.cwd());
1458
1458
  localPackageRun = {
1459
1459
  modulePath,
@@ -1466,7 +1466,7 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1466
1466
  }
1467
1467
  try {
1468
1468
  if (target === "mock") {
1469
- const { ensureMockTarget } = await import("./mock-server-CJQI6B3A.js");
1469
+ const { ensureMockTarget } = await import("./mock-server-BK6H6QIB.js");
1470
1470
  const mock = await ensureMockTarget({
1471
1471
  resetStorage: parsed.values["reset-storage"] === true,
1472
1472
  packageId: localPackageRun ? `local:${localPackageRun.kodyId}` : void 0,
@@ -1475,7 +1475,7 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1475
1475
  apiUrl = mock.apiUrl;
1476
1476
  mockToken = mock.token;
1477
1477
  closeMock = mock.started ? () => mock.server.close() : void 0;
1478
- const { tryResolveMockDepResolve } = await import("./mock-dep-resolve-FM5GKMKE.js");
1478
+ const { tryResolveMockDepResolve } = await import("./mock-dep-resolve-O4V3OJNG.js");
1479
1479
  mockDepResolve = await tryResolveMockDepResolve({
1480
1480
  tokenValues,
1481
1481
  apiUrl: prodApiUrl,
@@ -1484,7 +1484,7 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1484
1484
  });
1485
1485
  }
1486
1486
  if (localPackageRun) {
1487
- const { buildLocalPackageContext, runLocalPackageModule } = await import("./local-package-run-RATCOPRD.js");
1487
+ const { buildLocalPackageContext, runLocalPackageModule } = await import("./local-package-run-WJEYFQBD.js");
1488
1488
  const result2 = await runLocalPackageModule({
1489
1489
  modulePath: localPackageRun.modulePath,
1490
1490
  params: args.params,
@@ -1522,13 +1522,13 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1522
1522
  let packageRootForMocks;
1523
1523
  if (target === "mock") {
1524
1524
  try {
1525
- const { loadPackageManifest } = await import("./package-manifest-FZOHGLVL.js");
1525
+ const { loadPackageManifest } = await import("./package-manifest-EBO2BFLS.js");
1526
1526
  packageRootForMocks = (await loadPackageManifest(process.cwd())).root;
1527
1527
  } catch {
1528
1528
  packageRootForMocks = void 0;
1529
1529
  }
1530
1530
  }
1531
- const result = local ? await (await import("./local-execute-6NSAVTAV.js")).runLocalExecute({
1531
+ const result = local ? await (await import("./local-execute-VQBMQ3DE.js")).runLocalExecute({
1532
1532
  code: args.code,
1533
1533
  ...modulePath !== void 0 ? { modulePath } : {},
1534
1534
  params: args.params,
@@ -1550,7 +1550,7 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1550
1550
  allowPrivateNetwork: parsed.values["allow-private-network"] === true,
1551
1551
  onStatus: (message) => writeErr(`${message}
1552
1552
  `)
1553
- }) : useToken ? await (await import("./remote-execute-XLKI7JTI.js")).runRemoteExecuteWithToken({
1553
+ }) : useToken ? await (await import("./remote-execute-HKYVMGH7.js")).runRemoteExecuteWithToken({
1554
1554
  code: typeof args.code === "string" ? args.code : void 0,
1555
1555
  invoke,
1556
1556
  params: args.params,
@@ -1565,13 +1565,13 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1565
1565
  apiUrl,
1566
1566
  ...org ? { org } : {}
1567
1567
  }) : await (async () => {
1568
- const { ensureOpenApiCredentials } = await import("./auth-2N7CSZGJ.js");
1568
+ const { ensureOpenApiCredentials } = await import("./auth-XYCJECBM.js");
1569
1569
  const session = await ensureOpenApiCredentials({
1570
1570
  mcpUrl,
1571
1571
  org,
1572
1572
  apiUrl
1573
1573
  });
1574
- return (await import("./remote-execute-XLKI7JTI.js")).runRemoteExecuteWithToken({
1574
+ return (await import("./remote-execute-HKYVMGH7.js")).runRemoteExecuteWithToken({
1575
1575
  code: typeof args.code === "string" ? args.code : void 0,
1576
1576
  invoke,
1577
1577
  params: args.params,
@@ -1586,7 +1586,7 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1586
1586
  return result.isError ? 1 : 0;
1587
1587
  } catch (error) {
1588
1588
  if (json && local) {
1589
- const { LocalPackageGraphError, packageGraphErrorToolResult } = await import("./local-package-graph-UU3XHKIM.js");
1589
+ const { LocalPackageGraphError, packageGraphErrorToolResult } = await import("./local-package-graph-YHDXLH3V.js");
1590
1590
  if (error instanceof LocalPackageGraphError) {
1591
1591
  const redacted = redactError(error).message;
1592
1592
  const result = packageGraphErrorToolResult(error);
@@ -1604,7 +1604,7 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1604
1604
  }
1605
1605
  }
1606
1606
  case "dev": {
1607
- const { resolveTarget } = await import("./target-33ATHDUF.js");
1607
+ const { resolveTarget } = await import("./target-UQBEV64U.js");
1608
1608
  const {
1609
1609
  parseDevPort,
1610
1610
  parseDevSubcommand,
@@ -1616,7 +1616,7 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1616
1616
  runDevServe,
1617
1617
  runDevWebhook,
1618
1618
  tryAttachedDevFetch
1619
- } = await import("./dev-command-OUTCMZOC.js");
1619
+ } = await import("./dev-command-QXCCWGN2.js");
1620
1620
  const target = resolveTarget({
1621
1621
  command: "dev",
1622
1622
  flag: typeof parsed.values.target === "string" ? parsed.values.target : void 0
@@ -1642,8 +1642,8 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1642
1642
  { callOpenApiOperation, formatOpenApiHttpDebugLine },
1643
1643
  { parsePackageCheckResult, PublishChecksAuthError }
1644
1644
  ] = await Promise.all([
1645
- import("./open-api-client-7TV5SPHT.js"),
1646
- import("./dev-command-OUTCMZOC.js")
1645
+ import("./open-api-client-APRBPT2N.js"),
1646
+ import("./dev-command-QXCCWGN2.js")
1647
1647
  ]);
1648
1648
  let token2;
1649
1649
  try {
@@ -1754,13 +1754,13 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1754
1754
  purpose: "kody dev",
1755
1755
  ...org ? { org } : {}
1756
1756
  }) : "mock";
1757
- const mockDepResolve = target === "mock" ? await (await import("./mock-dep-resolve-FM5GKMKE.js")).tryResolveMockDepResolve({
1757
+ const mockDepResolve = target === "mock" ? await (await import("./mock-dep-resolve-O4V3OJNG.js")).tryResolveMockDepResolve({
1758
1758
  tokenValues,
1759
1759
  apiUrl: prodApiUrl,
1760
1760
  mcpUrl,
1761
1761
  ...org ? { org } : {}
1762
1762
  }) : void 0;
1763
- const { parsePassthroughHosts } = await import("./mock-fetch-gateway-TNK74HEP.js");
1763
+ const { parsePassthroughHosts } = await import("./mock-fetch-gateway-PPGCOJXV.js");
1764
1764
  const passthroughHosts = parsePassthroughHosts(
1765
1765
  typeof parsed.values.passthrough === "string" ? parsed.values.passthrough : void 0
1766
1766
  );
@@ -1772,7 +1772,7 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1772
1772
  const allowPrivateNetwork = parsed.values["allow-private-network"] === true;
1773
1773
  let packageId;
1774
1774
  try {
1775
- const { loadPackageManifest } = await import("./package-manifest-FZOHGLVL.js");
1775
+ const { loadPackageManifest } = await import("./package-manifest-EBO2BFLS.js");
1776
1776
  const manifest = await loadPackageManifest(process.cwd());
1777
1777
  packageId = `local:${manifest.kodyId}`;
1778
1778
  } catch {
@@ -1895,7 +1895,7 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1895
1895
  const params = parseApiParamsJson(
1896
1896
  typeof parsed.values.params === "string" ? parsed.values.params : void 0
1897
1897
  );
1898
- const { callOpenApiOperation } = await import("./open-api-client-7TV5SPHT.js");
1898
+ const { callOpenApiOperation } = await import("./open-api-client-APRBPT2N.js");
1899
1899
  const result = await callOpenApiOperation({
1900
1900
  operationId,
1901
1901
  params,
@@ -1930,7 +1930,7 @@ scopes: ${identity.token.scopes.join(", ") || "(none)"}
1930
1930
  mcpUrl,
1931
1931
  org
1932
1932
  });
1933
- const { callOpenApiOperation: callOpenApiOperation2 } = await import("./open-api-client-7TV5SPHT.js");
1933
+ const { callOpenApiOperation: callOpenApiOperation2 } = await import("./open-api-client-APRBPT2N.js");
1934
1934
  write(
1935
1935
  await runPackageCollaboratorPlan({
1936
1936
  plan,
@@ -1956,7 +1956,7 @@ ${packageCollaboratorUsage}`
1956
1956
  positional: parsed.positionals[1],
1957
1957
  paramsJson: typeof parsed.values.params === "string" ? parsed.values.params : void 0
1958
1958
  });
1959
- const { callOpenApiOperation } = await import("./open-api-client-7TV5SPHT.js");
1959
+ const { callOpenApiOperation } = await import("./open-api-client-APRBPT2N.js");
1960
1960
  const publishToken = await accessTokenForOpenApi({
1961
1961
  tokenValues,
1962
1962
  apiUrl,
@@ -1984,7 +1984,7 @@ ${packageCollaboratorUsage}`
1984
1984
  return code;
1985
1985
  }
1986
1986
  case "install": {
1987
- const { runInstall } = await import("./install-IR4MAVPG.js");
1987
+ const { runInstall } = await import("./install-I4LFIMB4.js");
1988
1988
  const result = await runInstall(
1989
1989
  {
1990
1990
  mcpUrl,
@@ -2002,7 +2002,7 @@ ${packageCollaboratorUsage}`
2002
2002
  if (action !== "install") {
2003
2003
  throw new Error("Usage: kody skill install [--project]");
2004
2004
  }
2005
- const { installSkill } = await import("./skill-7B2RL273.js");
2005
+ const { installSkill } = await import("./skill-4V4HWSHW.js");
2006
2006
  const targets = await installSkill({
2007
2007
  project: parsed.values.project === true
2008
2008
  });
@@ -2030,8 +2030,8 @@ async function tryResolveLocalPackageInvoke(invoke) {
2030
2030
  const trimmed = invoke.trim();
2031
2031
  if (!trimmed) return null;
2032
2032
  if (isPublishedPackageInvokeSpecifier(trimmed)) return null;
2033
- const { loadPackageManifest, resolveExportModulePath } = await import("./package-manifest-FZOHGLVL.js");
2034
- const { StructuredCliError } = await import("./structured-error-5MLWXYR3.js");
2033
+ const { loadPackageManifest, resolveExportModulePath } = await import("./package-manifest-EBO2BFLS.js");
2034
+ const { StructuredCliError } = await import("./structured-error-QYNRZZKC.js");
2035
2035
  let manifest;
2036
2036
  try {
2037
2037
  manifest = await loadPackageManifest(process.cwd());
@@ -2094,7 +2094,7 @@ function attachExecuteCommonArgs(args, input) {
2094
2094
  return args;
2095
2095
  }
2096
2096
  async function runAuthSetupGit(input) {
2097
- const { authSetupGit, setupGitDefaultScopes } = await import("./setup-git-LQVUW2D4.js");
2097
+ const { authSetupGit, setupGitDefaultScopes } = await import("./setup-git-OFZDRS2S.js");
2098
2098
  const apiUrl = apiUrlFrom({
2099
2099
  apiUrl: typeof input.values["api-url"] === "string" ? input.values["api-url"] : void 0
2100
2100
  });
@@ -2151,7 +2151,7 @@ async function runAuthSetupGit(input) {
2151
2151
  return 0;
2152
2152
  }
2153
2153
  async function runAuthRemoveGit(input) {
2154
- const { authRemoveGit, formatAuthRemoveGitReport } = await import("./setup-git-LQVUW2D4.js");
2154
+ const { authRemoveGit, formatAuthRemoveGitReport } = await import("./setup-git-OFZDRS2S.js");
2155
2155
  const apiUrl = apiUrlFrom({
2156
2156
  apiUrl: typeof input.values["api-url"] === "string" ? input.values["api-url"] : void 0
2157
2157
  });
@@ -2179,7 +2179,7 @@ function bootstrapMinter(input) {
2179
2179
  apiUrl: input.apiUrl
2180
2180
  }
2181
2181
  );
2182
- const { callOpenApiOperation } = await import("./open-api-client-7TV5SPHT.js");
2182
+ const { callOpenApiOperation } = await import("./open-api-client-APRBPT2N.js");
2183
2183
  try {
2184
2184
  return await callOpenApiOperation({
2185
2185
  token,
@@ -2200,13 +2200,13 @@ function bootstrapMinter(input) {
2200
2200
  if (loadCredentials(input.mcpUrl, void 0, void 0, {
2201
2201
  org: input.org
2202
2202
  })) {
2203
- const { ensureOpenApiCredentials } = await import("./auth-2N7CSZGJ.js");
2203
+ const { ensureOpenApiCredentials } = await import("./auth-XYCJECBM.js");
2204
2204
  const session = await ensureOpenApiCredentials({
2205
2205
  mcpUrl: input.mcpUrl,
2206
2206
  apiUrl: input.apiUrl,
2207
2207
  ...input.org ? { org: input.org } : {}
2208
2208
  });
2209
- const { callOpenApiOperation } = await import("./open-api-client-7TV5SPHT.js");
2209
+ const { callOpenApiOperation } = await import("./open-api-client-APRBPT2N.js");
2210
2210
  return callOpenApiOperation({
2211
2211
  operationId: cliCredentialBootstrapOperationId,
2212
2212
  params,
@@ -2232,7 +2232,7 @@ async function accessTokenForOpenApi(input) {
2232
2232
  apiUrl: input.apiUrl
2233
2233
  });
2234
2234
  if (explicit) return explicit;
2235
- const { ensureOpenApiCredentials } = await import("./auth-2N7CSZGJ.js");
2235
+ const { ensureOpenApiCredentials } = await import("./auth-XYCJECBM.js");
2236
2236
  const session = await ensureOpenApiCredentials({
2237
2237
  mcpUrl: input.mcpUrl,
2238
2238
  apiUrl: input.apiUrl,
@@ -2317,4 +2317,4 @@ export {
2317
2317
  resolvePackagePublishTarget,
2318
2318
  shouldUseApiToken
2319
2319
  };
2320
- //# sourceMappingURL=chunk-TK2Y4XD6.js.map
2320
+ //# sourceMappingURL=chunk-BAVB2CHB.js.map