deepline 0.3.358 → 0.3.359

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 (93) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +7 -1
  2. package/dist/cli/auth-CN5UHM3M.js +33 -0
  3. package/dist/cli/{auth-QSEB4OI6.mjs → auth-ZOW4L37H.mjs} +4 -4
  4. package/dist/cli/{billing-KNJ6ZHSN.mjs → billing-JPMZX77W.mjs} +4 -4
  5. package/dist/cli/{billing-UE2CP5O5.js → billing-YZJ5Q4ZC.js} +73 -73
  6. package/dist/cli/{chunk-SPJ3IDR4.mjs → chunk-36TKIMVG.mjs} +2 -2
  7. package/dist/cli/{chunk-OVUDXZCK.js → chunk-3EF4OMSE.js} +6 -1
  8. package/dist/cli/{chunk-Q77PWYDF.mjs → chunk-4DCOBHTZ.mjs} +4 -4
  9. package/dist/cli/{chunk-UZQWPQ6V.js → chunk-5ZKZWXVN.js} +4 -4
  10. package/dist/cli/{chunk-EVPWVNJV.mjs → chunk-72362UER.mjs} +1 -1
  11. package/dist/cli/{chunk-BVPN57AD.js → chunk-ARNODHMC.js} +6 -6
  12. package/dist/cli/{chunk-SJY4SUCH.mjs → chunk-BJYW3XTM.mjs} +6 -1
  13. package/dist/cli/{chunk-QH6PV7IJ.mjs → chunk-DZ34Z4DO.mjs} +3 -3
  14. package/dist/cli/{chunk-GYDSDOXB.js → chunk-EMMXSY6F.js} +50 -50
  15. package/dist/cli/{chunk-VZBNBCEB.mjs → chunk-FCZIE4UQ.mjs} +1 -1
  16. package/dist/cli/{chunk-HKRJUIRL.js → chunk-I7XYIKAK.js} +45 -45
  17. package/dist/cli/{chunk-HGLESMAC.mjs → chunk-JHX6XSLT.mjs} +2 -2
  18. package/dist/cli/{chunk-V4MVLHOW.js → chunk-LDGO56ZU.js} +224 -224
  19. package/dist/cli/{chunk-KIRDHNX5.js → chunk-LXKJTNB3.js} +9 -9
  20. package/dist/cli/{chunk-3DP24EZA.mjs → chunk-M2DOAC65.mjs} +6 -6
  21. package/dist/cli/{chunk-HNAFCPM4.js → chunk-P4CCF5ZV.js} +8 -8
  22. package/dist/cli/{chunk-5RWJSROL.js → chunk-QDLSDKEK.js} +8 -8
  23. package/dist/cli/{chunk-5PJ6XYRV.js → chunk-SVAI3Z3Q.js} +60 -60
  24. package/dist/cli/{chunk-NMHQTEIQ.mjs → chunk-U2G2WO43.mjs} +2 -2
  25. package/dist/cli/{chunk-WVO6AJM7.js → chunk-UC6KM43R.js} +15 -15
  26. package/dist/cli/{chunk-WYVUMIEF.mjs → chunk-UKXON54N.mjs} +5 -5
  27. package/dist/cli/{chunk-LOSZZCER.js → chunk-VGXKDHTJ.js} +2 -2
  28. package/dist/cli/{chunk-OO3MYL2Y.js → chunk-WLDT7GTI.js} +26 -26
  29. package/dist/cli/{chunk-4IUOBUNS.mjs → chunk-WNBXT425.mjs} +1 -1
  30. package/dist/cli/{chunk-EL62MLRD.mjs → chunk-WR7H6MZ6.mjs} +1 -1
  31. package/dist/cli/{chunk-YWGKGXSH.mjs → chunk-ZY6QZZ5K.mjs} +2 -2
  32. package/dist/cli/{client-M2TQV23S.mjs → client-32IMOGBO.mjs} +3 -3
  33. package/dist/cli/client-TNHDPNDK.js +20 -0
  34. package/dist/cli/{csv-OQUTHAMD.mjs → csv-4QWZUAJP.mjs} +3 -3
  35. package/dist/cli/{csv-VSVZWQ24.js → csv-BCPDP5UL.js} +12 -12
  36. package/dist/cli/{db-6QNWRH47.js → db-OF2SH2BI.js} +29 -29
  37. package/dist/cli/{db-QH56PKPT.mjs → db-T4CMZPJQ.mjs} +4 -4
  38. package/dist/cli/{describe-NCUJW2JG.mjs → describe-5WQ55FIR.mjs} +8 -8
  39. package/dist/cli/{describe-BKJNG2I5.js → describe-LIHZ4U6X.js} +15 -15
  40. package/dist/cli/{executions-63CSEYKE.js → executions-JSXFOVBH.js} +6 -6
  41. package/dist/cli/{executions-NOZELHEN.mjs → executions-R7WAC2JA.mjs} +4 -4
  42. package/dist/cli/{feedback-GL7YHJAK.mjs → feedback-2V5PBCPX.mjs} +3 -3
  43. package/dist/cli/{feedback-T4FGM7DY.js → feedback-Y42C4WP2.js} +7 -7
  44. package/dist/cli/git-D5SJIU36.js +23 -0
  45. package/dist/cli/{git-C3SPUEUB.mjs → git-Y6VXODAK.mjs} +4 -4
  46. package/dist/cli/index.js +82 -82
  47. package/dist/cli/index.mjs +32 -32
  48. package/dist/cli/{legacy-noops-W6UWORVY.js → legacy-noops-KDRTNUUC.js} +7 -7
  49. package/dist/cli/{legacy-noops-BBDNHMAW.mjs → legacy-noops-YEEZNYIS.mjs} +4 -4
  50. package/dist/cli/{monitors-LEGM63T3.mjs → monitors-7GHIY5BR.mjs} +4 -4
  51. package/dist/cli/{monitors-R32SKFE3.js → monitors-RVXH73TC.js} +85 -85
  52. package/dist/cli/{org-RYRHB22V.js → org-OMUUGH6W.js} +60 -60
  53. package/dist/cli/{org-RBIBSVP3.mjs → org-ZGU7BBDD.mjs} +4 -4
  54. package/dist/cli/{play-FMPNHLXU.mjs → play-PB6LSSNG.mjs} +7 -7
  55. package/dist/cli/play-XKIDMLH7.js +153 -0
  56. package/dist/cli/{providers-5JHHZWMF.mjs → providers-GFR4DPBC.mjs} +4 -4
  57. package/dist/cli/{providers-WAUWYRTK.js → providers-J3OTP5VK.js} +7 -7
  58. package/dist/cli/{quickstart-V5LHMW2X.js → quickstart-ALUTGFAA.js} +5 -5
  59. package/dist/cli/{quickstart-RYKNMAFN.mjs → quickstart-MXH3LZQ5.mjs} +3 -3
  60. package/dist/cli/{search-B2BB2MHO.mjs → search-OVRR4XOJ.mjs} +5 -5
  61. package/dist/cli/search-X3IZW2TP.js +26 -0
  62. package/dist/cli/{secrets-BEAESK2H.js → secrets-KT4OFUKB.js} +13 -13
  63. package/dist/cli/{secrets-XJOXWVUG.mjs → secrets-VXXVGDET.mjs} +4 -4
  64. package/dist/cli/{sessions-ELBTWKLS.js → sessions-GXDEX5EM.js} +5 -5
  65. package/dist/cli/{sessions-VRDJCPKE.mjs → sessions-JP4XKXEJ.mjs} +4 -4
  66. package/dist/cli/{settings-V5RI4UWE.js → settings-BJT3RAJD.js} +74 -74
  67. package/dist/cli/{settings-QEL2SD7N.mjs → settings-MMC5Q5FJ.mjs} +7 -7
  68. package/dist/cli/{setup-FNVP5XQR.mjs → setup-6LWUQ34C.mjs} +6 -6
  69. package/dist/cli/{setup-CS3IACGU.js → setup-RP4VN7WE.js} +41 -41
  70. package/dist/cli/skills-3S5UET5W.js +28 -0
  71. package/dist/cli/{skills-73PM6I6F.mjs → skills-VRVG63GO.mjs} +4 -4
  72. package/dist/cli/{tools-N2H5HJYP.mjs → tools-M4VNLWYB.mjs} +6 -6
  73. package/dist/cli/tools-MTRW5VF6.js +40 -0
  74. package/dist/cli/update-5PPNAWY7.js +28 -0
  75. package/dist/cli/{update-MUMZ6L7J.mjs → update-HXQVI37L.mjs} +6 -6
  76. package/dist/cli/{workflow-X66V6L3H.js → workflow-JTA3DWCM.js} +15 -15
  77. package/dist/cli/{workflow-WY2CL73A.mjs → workflow-PE2IONVL.mjs} +5 -5
  78. package/dist/index.js +6 -6
  79. package/dist/index.mjs +3 -3
  80. package/dist/install-integrity.json +74 -74
  81. package/dist/release.d.mts +5 -1
  82. package/dist/release.d.ts +5 -1
  83. package/dist/release.js +2 -2
  84. package/dist/release.mjs +1 -1
  85. package/package.json +1 -1
  86. package/dist/cli/auth-VP5WIGFS.js +0 -33
  87. package/dist/cli/client-I4RRFLPM.js +0 -20
  88. package/dist/cli/git-4EBFGJAN.js +0 -23
  89. package/dist/cli/play-GDDOUU3I.js +0 -153
  90. package/dist/cli/search-RQLY5D2A.js +0 -26
  91. package/dist/cli/skills-OH3X3OUA.js +0 -28
  92. package/dist/cli/tools-BY6D7M4I.js +0 -40
  93. package/dist/cli/update-PEGDRQ3G.js +0 -28
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-EL62MLRD.mjs";
4
+ } from "./chunk-WR7H6MZ6.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-VZBNBCEB.mjs";
7
+ } from "./chunk-FCZIE4UQ.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkLOSZZCERjs = require('./chunk-LOSZZCER.js');
4
+ var _chunkVGXKDHTJjs = require('./chunk-VGXKDHTJ.js');
5
5
 
6
6
 
7
7
 
8
- var _chunk5PJ6XYRVjs = require('./chunk-5PJ6XYRV.js');
8
+ var _chunkSVAI3Z3Qjs = require('./chunk-SVAI3Z3Q.js');
9
9
 
10
10
 
11
- var _chunkBVPN57ADjs = require('./chunk-BVPN57AD.js');
11
+ var _chunkARNODHMCjs = require('./chunk-ARNODHMC.js');
12
12
 
13
13
 
14
- var _chunkUZQWPQ6Vjs = require('./chunk-UZQWPQ6V.js');
14
+ var _chunk5ZKZWXVNjs = require('./chunk-5ZKZWXVN.js');
15
15
 
16
16
  // src/cli/commands/update.ts
17
17
  var _child_process = require('child_process');
@@ -489,7 +489,7 @@ function normalizedNpmPrefix(value) {
489
489
  }
490
490
  function resolveNpmGlobalPrefix(env) {
491
491
  try {
492
- const plan = _chunk5PJ6XYRVjs.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"], process.platform, env);
492
+ const plan = _chunkSVAI3Z3Qjs.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"], process.platform, env);
493
493
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
494
494
  encoding: "utf8",
495
495
  env,
@@ -545,8 +545,8 @@ function resolveUpdatePlan(options = {}) {
545
545
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
546
546
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
547
547
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
548
- const npmVersion = options.npmVersion === void 0 ? _chunkLOSZZCERjs.readNpmVersion.call(void 0, env) : options.npmVersion;
549
- const npmGlobalInstallFlags = _chunkLOSZZCERjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
548
+ const npmVersion = options.npmVersion === void 0 ? _chunkVGXKDHTJjs.readNpmVersion.call(void 0, env) : options.npmVersion;
549
+ const npmGlobalInstallFlags = _chunkVGXKDHTJjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
550
550
  const args = installPrefix ? [
551
551
  "install",
552
552
  "-g",
@@ -556,7 +556,7 @@ function resolveUpdatePlan(options = {}) {
556
556
  packageSpec
557
557
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
558
558
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
559
- _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkUZQWPQ6Vjs.autoDetectBaseUrl.call(void 0, )
559
+ _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunk5ZKZWXVNjs.autoDetectBaseUrl.call(void 0, )
560
560
  );
561
561
  return {
562
562
  kind: "npm-global",
@@ -703,7 +703,7 @@ function sidecarInstallFailure(versionDir) {
703
703
  function runCommand(command, args, env = process.env) {
704
704
  return new Promise((resolveResult) => {
705
705
  let output = "";
706
- const plan = _chunk5PJ6XYRVjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
706
+ const plan = _chunkSVAI3Z3Qjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
707
707
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
708
708
  stdio: ["inherit", "pipe", "pipe"],
709
709
  shell: plan.shell,
@@ -1079,14 +1079,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1079
1079
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1080
1080
  }
1081
1081
  async function runUpdateCommand(options, dependencies = {}) {
1082
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkUZQWPQ6Vjs.autoDetectBaseUrl));
1082
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunk5ZKZWXVNjs.autoDetectBaseUrl));
1083
1083
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1084
1084
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1085
1085
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1086
1086
  const originalWrite = process.stdout.write.bind(process.stdout);
1087
1087
  process.stdout.write = (() => true);
1088
1088
  try {
1089
- const exitCode = await _chunk5PJ6XYRVjs.runSkillsCommand.call(void 0, { json: true });
1089
+ const exitCode = await _chunkSVAI3Z3Qjs.runSkillsCommand.call(void 0, { json: true });
1090
1090
  if (exitCode !== 0) {
1091
1091
  throw new Error(
1092
1092
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1157,11 +1157,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1157
1157
  ]
1158
1158
  };
1159
1159
  if (options.json && !options.executeWithJson) {
1160
- _chunkBVPN57ADjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1160
+ _chunkARNODHMCjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1161
1161
  return 0;
1162
1162
  }
1163
1163
  if (options.printCommand) {
1164
- _chunkBVPN57ADjs.printCommandEnvelope.call(void 0,
1164
+ _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
1165
1165
  {
1166
1166
  ...plan,
1167
1167
  render: {
@@ -1174,7 +1174,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1174
1174
  return 0;
1175
1175
  }
1176
1176
  if (plan.kind === "source" || plan.kind === "homebrew") {
1177
- _chunkBVPN57ADjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1177
+ _chunkARNODHMCjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1178
1178
  return 0;
1179
1179
  }
1180
1180
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1204,7 +1204,7 @@ To retry with full installer output, run: deepline skills --json
1204
1204
  );
1205
1205
  }
1206
1206
  if (options.executeWithJson && options.json) {
1207
- _chunkBVPN57ADjs.printCommandEnvelope.call(void 0,
1207
+ _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
1208
1208
  {
1209
1209
  ok: true,
1210
1210
  pinnedVersion
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  recentSearchRef,
13
13
  registerDeprecatedSearchCommand
14
- } from "./chunk-QH6PV7IJ.mjs";
14
+ } from "./chunk-DZ34Z4DO.mjs";
15
15
  import {
16
16
  extractSummaryFields,
17
17
  projectRowOutput,
@@ -26,7 +26,7 @@ import {
26
26
  import {
27
27
  DeeplineClient,
28
28
  validateExecutionIdempotencyKey
29
- } from "./chunk-EVPWVNJV.mjs";
29
+ } from "./chunk-72362UER.mjs";
30
30
  import {
31
31
  beginToolExecuteCommand,
32
32
  getToolExecuteInvocationId,
@@ -40,11 +40,11 @@ import {
40
40
  printJsonError,
41
41
  renderCommandEnvelopeText,
42
42
  shouldEmitJson
43
- } from "./chunk-EL62MLRD.mjs";
43
+ } from "./chunk-WR7H6MZ6.mjs";
44
44
  import {
45
45
  resolveConfig,
46
46
  sdkCliStateDirPath
47
- } from "./chunk-VZBNBCEB.mjs";
47
+ } from "./chunk-FCZIE4UQ.mjs";
48
48
  import {
49
49
  DeeplineError
50
50
  } from "./chunk-NXGCO4JB.mjs";
@@ -1030,7 +1030,7 @@ Examples:
1030
1030
  process.exitCode = await narrowView();
1031
1031
  return;
1032
1032
  }
1033
- const { describeAnything } = await import("./describe-NCUJW2JG.mjs");
1033
+ const { describeAnything } = await import("./describe-5WQ55FIR.mjs");
1034
1034
  process.exitCode = await describeAnything(
1035
1035
  toolId,
1036
1036
  { ...options, kinds: ["tools", "monitors"], fetchedTool: metadata },
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk5PJ6XYRVjs = require('./chunk-5PJ6XYRV.js');
3
+ var _chunkSVAI3Z3Qjs = require('./chunk-SVAI3Z3Q.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunk5PJ6XYRVjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkSVAI3Z3Qjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkBVPN57ADjs = require('./chunk-BVPN57AD.js');
5
+ var _chunkARNODHMCjs = require('./chunk-ARNODHMC.js');
6
6
 
7
7
 
8
- var _chunkUZQWPQ6Vjs = require('./chunk-UZQWPQ6V.js');
8
+ var _chunk5ZKZWXVNjs = require('./chunk-5ZKZWXVN.js');
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
32
32
  return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
33
33
  }
34
34
  async function handleList(options) {
35
- const { http } = _chunkBVPN57ADjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkBVPN57ADjs.printCommandEnvelope.call(void 0,
39
+ _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
40
40
  {
41
41
  projects: payload.projects,
42
42
  count: payload.projects.length,
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
73
73
  }
74
74
  }
75
75
  async function handleStatus(options) {
76
- const { http } = _chunkBVPN57ADjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
77
77
  const payload = await http.get("/api/v2/github/installation");
78
78
  const installation = payload.installation;
79
79
  const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
@@ -136,7 +136,7 @@ async function handleStatus(options) {
136
136
  )
137
137
  );
138
138
  }
139
- _chunkBVPN57ADjs.printCommandEnvelope.call(void 0,
139
+ _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  installation,
142
142
  installations: _nullishCoalesce(payload.installations, () => ( [])),
@@ -147,10 +147,10 @@ async function handleStatus(options) {
147
147
  );
148
148
  }
149
149
  async function handleRepos(options) {
150
- const { http } = _chunkBVPN57ADjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
151
151
  const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
152
152
  const payload = await http.get(`/api/v2/github/repos${query}`);
153
- _chunkBVPN57ADjs.printCommandEnvelope.call(void 0,
153
+ _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
154
154
  {
155
155
  installation: payload.installation,
156
156
  repositories: payload.repositories,
@@ -171,7 +171,7 @@ async function handleRepos(options) {
171
171
  }
172
172
  async function resolveRepoId(repo, installation) {
173
173
  if (/^\d+$/.test(repo)) return Number(repo);
174
- const { http } = _chunkBVPN57ADjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
175
175
  const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
176
176
  const payload = await http.get(
177
177
  `/api/v2/github/repos${query}`
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
188
188
  }
189
189
  async function handleLink(repo, options) {
190
190
  const repoId = await resolveRepoId(repo, options.installation);
191
- const { http } = _chunkBVPN57ADjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
192
192
  const payload = await http.post("/api/v2/play-projects", {
193
193
  repoId,
194
194
  ...options.installation !== void 0 ? { installationId: options.installation } : {},
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
197
197
  ...options.branch !== void 0 ? { productionBranch: options.branch } : {},
198
198
  ...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
199
199
  });
200
- _chunkBVPN57ADjs.printCommandEnvelope.call(void 0,
200
+ _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
201
201
  {
202
202
  project: payload.project,
203
203
  render: {
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
220
220
  );
221
221
  }
222
222
  async function handleGet(id, options) {
223
- const { http } = _chunkBVPN57ADjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkBVPN57ADjs.printCommandEnvelope.call(void 0,
227
+ _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
228
228
  {
229
229
  project: payload.project,
230
230
  render: {
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
240
240
  );
241
241
  }
242
242
  async function handleSet(id, options) {
243
- const { http } = _chunkBVPN57ADjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
244
244
  const payload = await http.patch(
245
245
  `/api/v2/play-projects/${encodeURIComponent(id)}`,
246
246
  {
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
251
251
  ...options.disabled !== void 0 ? { disabled: options.disabled } : {}
252
252
  }
253
253
  );
254
- _chunkBVPN57ADjs.printCommandEnvelope.call(void 0,
254
+ _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
255
255
  {
256
256
  project: payload.project,
257
257
  render: {
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
264
264
  );
265
265
  }
266
266
  async function handleUnlink(id, options) {
267
- const { http } = _chunkBVPN57ADjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkBVPN57ADjs.printCommandEnvelope.call(void 0,
269
+ _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
270
270
  {
271
271
  ok: true,
272
272
  id,
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
286
286
  );
287
287
  }
288
288
  async function handleConnect(options) {
289
- const baseUrl = _chunkUZQWPQ6Vjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunk5ZKZWXVNjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkBVPN57ADjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkBVPN57ADjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkARNODHMCjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
293
293
  {
294
294
  connectUrl,
295
295
  browser: opened,
@@ -311,7 +311,7 @@ async function handleConnect(options) {
311
311
  );
312
312
  }
313
313
  async function handleDeploymentsList(options) {
314
- const { http } = _chunkBVPN57ADjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
315
315
  const query = new URLSearchParams();
316
316
  if (options.repo) query.set("projectId", options.repo);
317
317
  if (options.limit) query.set("limit", options.limit);
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
319
319
  const payload = await http.get(
320
320
  `/api/v2/deployments${suffix}`
321
321
  );
322
- _chunkBVPN57ADjs.printCommandEnvelope.call(void 0,
322
+ _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  deployments: payload.deployments,
325
325
  count: payload.deployments.length,
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
363
363
  ]);
364
364
  }
365
365
  async function handleDeploymentGet(id, options) {
366
- const { http } = _chunkBVPN57ADjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
367
367
  const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
368
368
  const playLines = renderDeploymentPlayLines(payload.deployment.results);
369
369
  const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
370
370
  const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
371
- _chunkBVPN57ADjs.printCommandEnvelope.call(void 0,
371
+ _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
372
372
  {
373
373
  deployment: payload.deployment,
374
374
  project: payload.project,
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
387
387
  );
388
388
  }
389
389
  async function handleDeploymentCancel(id, options) {
390
- const { http } = _chunkBVPN57ADjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkBVPN57ADjs.printCommandEnvelope.call(void 0,
392
+ _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-YWGKGXSH.mjs";
3
+ } from "./chunk-ZY6QZZ5K.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -3,7 +3,7 @@ import {
3
3
  detectAgentRuntime,
4
4
  resolveCliCommandContext,
5
5
  resolveConfig
6
- } from "./chunk-VZBNBCEB.mjs";
6
+ } from "./chunk-FCZIE4UQ.mjs";
7
7
  import {
8
8
  DeeplineError
9
9
  } from "./chunk-NXGCO4JB.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-GAMFK2ZP.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-EL62MLRD.mjs";
6
+ } from "./chunk-WR7H6MZ6.mjs";
7
7
  import {
8
8
  DEFAULT_SKILL_AGENTS,
9
9
  KNOWN_SKILL_AGENTS,
@@ -22,7 +22,7 @@ import {
22
22
  sdkCliStateDirPath,
23
23
  skillsAgentPathSegment,
24
24
  writeSdkSkillsLocalVersion
25
- } from "./chunk-VZBNBCEB.mjs";
25
+ } from "./chunk-FCZIE4UQ.mjs";
26
26
  import {
27
27
  DeeplineError
28
28
  } from "./chunk-NXGCO4JB.mjs";
@@ -3,13 +3,13 @@ import {
3
3
  MONITOR_JOB_PHASES,
4
4
  MONITOR_JOB_RECONCILIATION_STATES,
5
5
  MONITOR_JOB_STATES
6
- } from "./chunk-EVPWVNJV.mjs";
6
+ } from "./chunk-72362UER.mjs";
7
7
  import "./chunk-6IKARAYD.mjs";
8
8
  import "./chunk-CBVIJSHF.mjs";
9
- import "./chunk-VZBNBCEB.mjs";
9
+ import "./chunk-FCZIE4UQ.mjs";
10
10
  import "./chunk-DLIRSHV6.mjs";
11
11
  import "./chunk-NXGCO4JB.mjs";
12
- import "./chunk-SJY4SUCH.mjs";
12
+ import "./chunk-BJYW3XTM.mjs";
13
13
  import "./chunk-WZYKRD7T.mjs";
14
14
  import "./chunk-KRD6H754.mjs";
15
15
  export {
@@ -0,0 +1,20 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+ var _chunkLXKJTNB3js = require('./chunk-LXKJTNB3.js');
7
+ require('./chunk-S6R3OX7B.js');
8
+ require('./chunk-LA46MMTL.js');
9
+ require('./chunk-5ZKZWXVN.js');
10
+ require('./chunk-XNYIZMNQ.js');
11
+ require('./chunk-7P5AA3SN.js');
12
+ require('./chunk-3EF4OMSE.js');
13
+ require('./chunk-OG64RBAC.js');
14
+ require('./chunk-COGTRVWW.js');
15
+
16
+
17
+
18
+
19
+
20
+ exports.DeeplineClient = _chunkLXKJTNB3js.DeeplineClient; exports.MONITOR_JOB_PHASES = _chunkLXKJTNB3js.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunkLXKJTNB3js.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunkLXKJTNB3js.MONITOR_JOB_STATES;
@@ -4,11 +4,11 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-EL62MLRD.mjs";
8
- import "./chunk-VZBNBCEB.mjs";
7
+ } from "./chunk-WR7H6MZ6.mjs";
8
+ import "./chunk-FCZIE4UQ.mjs";
9
9
  import "./chunk-DLIRSHV6.mjs";
10
10
  import "./chunk-NXGCO4JB.mjs";
11
- import "./chunk-SJY4SUCH.mjs";
11
+ import "./chunk-BJYW3XTM.mjs";
12
12
  import "./chunk-WZYKRD7T.mjs";
13
13
  import "./chunk-KRD6H754.mjs";
14
14
 
@@ -4,11 +4,11 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkBVPN57ADjs = require('./chunk-BVPN57AD.js');
8
- require('./chunk-UZQWPQ6V.js');
7
+ var _chunkARNODHMCjs = require('./chunk-ARNODHMC.js');
8
+ require('./chunk-5ZKZWXVN.js');
9
9
  require('./chunk-XNYIZMNQ.js');
10
10
  require('./chunk-7P5AA3SN.js');
11
- require('./chunk-OVUDXZCK.js');
11
+ require('./chunk-3EF4OMSE.js');
12
12
  require('./chunk-OG64RBAC.js');
13
13
  require('./chunk-COGTRVWW.js');
14
14
 
@@ -126,7 +126,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
126
126
  column.length,
127
127
  ...rows.map((row) => {
128
128
  const value = _nullishCoalesce(row[column], () => ( ""));
129
- return (verbose ? value : _chunkBVPN57ADjs.clip.call(void 0, value, 42)).length;
129
+ return (verbose ? value : _chunkARNODHMCjs.clip.call(void 0, value, 42)).length;
130
130
  })
131
131
  )
132
132
  ])
@@ -136,7 +136,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
136
136
  const body = rows.map(
137
137
  (row) => columns.map((column) => {
138
138
  const raw = _nullishCoalesce(row[column], () => ( ""));
139
- const display = verbose ? raw : _chunkBVPN57ADjs.clip.call(void 0, raw, 42);
139
+ const display = verbose ? raw : _chunkARNODHMCjs.clip.call(void 0, raw, 42);
140
140
  return display.padEnd(widths[column]);
141
141
  }).join(" | ")
142
142
  );
@@ -156,7 +156,7 @@ async function handleCsvShow(path, options, command) {
156
156
  { exitCode: 2 }
157
157
  );
158
158
  }
159
- const allRows = _chunkBVPN57ADjs.readCsvRows.call(void 0, csvPath);
159
+ const allRows = _chunkARNODHMCjs.readCsvRows.call(void 0, csvPath);
160
160
  const [rowStart, rowEnd] = parseRowRange(options.rows);
161
161
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
162
162
  const { rows: selected, columns } = selectColumns(
@@ -169,7 +169,7 @@ async function handleCsvShow(path, options, command) {
169
169
  if (options.summary) {
170
170
  const summaries = summarizeColumns(selected, columns);
171
171
  if (format === "json") {
172
- _chunkBVPN57ADjs.printJson.call(void 0, {
172
+ _chunkARNODHMCjs.printJson.call(void 0, {
173
173
  rows: summaries,
174
174
  total_rows: selected.length,
175
175
  source_total_rows: allRows.length
@@ -178,7 +178,7 @@ async function handleCsvShow(path, options, command) {
178
178
  }
179
179
  const displayRows = summaryDisplayRows(summaries);
180
180
  if (format === "csv") {
181
- process.stdout.write(_chunkBVPN57ADjs.csvStringFromRows.call(void 0, displayRows));
181
+ process.stdout.write(_chunkARNODHMCjs.csvStringFromRows.call(void 0, displayRows));
182
182
  return;
183
183
  }
184
184
  process.stdout.write(
@@ -193,7 +193,7 @@ async function handleCsvShow(path, options, command) {
193
193
  return;
194
194
  }
195
195
  if (format === "json") {
196
- _chunkBVPN57ADjs.printJson.call(void 0, {
196
+ _chunkARNODHMCjs.printJson.call(void 0, {
197
197
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
198
198
  });
199
199
  return;
@@ -436,7 +436,7 @@ async function handleCsvRenderStart(options) {
436
436
  if (log) {
437
437
  detail = `
438
438
  CSV render log:
439
- ${_chunkBVPN57ADjs.clip.call(void 0, log, 2e3)}`;
439
+ ${_chunkARNODHMCjs.clip.call(void 0, log, 2e3)}`;
440
440
  }
441
441
  } catch (e7) {
442
442
  }
@@ -487,7 +487,7 @@ async function handleCsvRenderStatus(options) {
487
487
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
488
488
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
489
489
  lines.push(`Render Health: ${payload.health_status}`);
490
- _chunkBVPN57ADjs.printCommandEnvelope.call(void 0, payload, {
490
+ _chunkARNODHMCjs.printCommandEnvelope.call(void 0, payload, {
491
491
  json: options.json,
492
492
  text: `${lines.join("\n")}
493
493
  `
@@ -523,7 +523,7 @@ async function handleCsvRenderStop(options) {
523
523
  };
524
524
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
525
525
  ` : "No running CSV render process found.\n";
526
- _chunkBVPN57ADjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
526
+ _chunkARNODHMCjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
527
527
  }
528
528
  async function handleCsvRender(action, options) {
529
529
  const normalized = _nullishCoalesce(action, () => ( "start"));