deepline 0.3.301 → 0.3.303

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 (106) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/sdk/src/runs/watch-polling.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/live-state-contract.ts +2 -0
  4. package/dist/bundling-sources/shared_libs/play-runtime/play-runs/projection/gateway-adapter.ts +2 -4
  5. package/dist/bundling-sources/shared_libs/play-runtime/run-snapshot-stream.ts +13 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +16 -5
  7. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-start-admission.ts +7 -1
  8. package/dist/bundling-sources/shared_libs/play-runtime/runtime-capacity-policy.ts +6 -4
  9. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +2 -2
  10. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +229 -98
  11. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +2 -4
  12. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +82 -0
  13. package/dist/bundling-sources/shared_libs/plays/tool-response-contract.ts +25 -0
  14. package/dist/cli/{auth-DCN4DA2T.mjs → auth-337SVWQD.mjs} +4 -4
  15. package/dist/cli/auth-4ME3NANJ.js +31 -0
  16. package/dist/cli/{billing-OGWOCZOZ.js → billing-CVQURTWQ.js} +71 -71
  17. package/dist/cli/{billing-VLZNKJ4N.mjs → billing-SVGYQSJI.mjs} +5 -5
  18. package/dist/cli/{chunk-V7J7U63X.js → chunk-4D5YQETI.js} +6 -6
  19. package/dist/cli/{chunk-OILZKWKC.mjs → chunk-4LRG6AJZ.mjs} +2 -2
  20. package/dist/cli/{chunk-JCS5TPNY.mjs → chunk-4NIQA6S7.mjs} +1 -1
  21. package/dist/cli/{chunk-AKWMFS7H.js → chunk-5NEXN4MZ.js} +2 -2
  22. package/dist/cli/{chunk-PXJAS6X2.mjs → chunk-BVJSAJKV.mjs} +1 -1
  23. package/dist/cli/{chunk-SBUIMF2B.mjs → chunk-DH6LEJWD.mjs} +3 -3
  24. package/dist/cli/{chunk-YFRWD6LM.js → chunk-EAIGGEV5.js} +6 -6
  25. package/dist/cli/{chunk-6JIXIMC5.js → chunk-GQUI3NYN.js} +57 -57
  26. package/dist/cli/{chunk-FAQGAPKK.js → chunk-HIXYNASX.js} +4 -4
  27. package/dist/cli/{chunk-GILGPI67.mjs → chunk-IVT2CZPM.mjs} +10 -3
  28. package/dist/cli/{chunk-QDFEF4PI.js → chunk-JGEFX6FQ.js} +6 -6
  29. package/dist/cli/{chunk-AXHRD6ME.mjs → chunk-JWUOPLAR.mjs} +1 -1
  30. package/dist/cli/{chunk-57J4GHJG.mjs → chunk-LGGR7CGZ.mjs} +4 -4
  31. package/dist/cli/{chunk-YBYPHZ4I.mjs → chunk-MTICVDNY.mjs} +1 -1
  32. package/dist/cli/{chunk-M6KBDWGI.js → chunk-NFWFUCGM.js} +19 -12
  33. package/dist/cli/{chunk-TAPI3QLV.js → chunk-OOQ4IRP4.js} +1 -1
  34. package/dist/cli/{chunk-7JA3CLD2.js → chunk-P2KELOST.js} +48 -48
  35. package/dist/cli/{chunk-SHQNCP2G.mjs → chunk-PUKK7SZX.mjs} +1 -1
  36. package/dist/cli/{chunk-ZNC3KU5O.js → chunk-RY6WID7C.js} +26 -26
  37. package/dist/cli/{chunk-GONRLVV3.js → chunk-W7INSYJS.js} +9 -9
  38. package/dist/cli/{chunk-7VBN7TU5.js → chunk-WJGRIDWQ.js} +15 -15
  39. package/dist/cli/{chunk-RQKAKIVL.mjs → chunk-XKW6HTWO.mjs} +1 -1
  40. package/dist/cli/{chunk-D7WKHLLF.mjs → chunk-XXQYOQWO.mjs} +2 -2
  41. package/dist/cli/{chunk-6S2UJUVD.mjs → chunk-YZLPXH7G.mjs} +2 -2
  42. package/dist/cli/{client-F7LPXBQS.mjs → client-AMSHGQFH.mjs} +4 -4
  43. package/dist/cli/client-WN33QCMV.js +20 -0
  44. package/dist/cli/{csv-DTGOY553.js → csv-B2OKPMNX.js} +12 -12
  45. package/dist/cli/{csv-PFAL3PLE.mjs → csv-F4RPWI4E.mjs} +3 -3
  46. package/dist/cli/{db-B7JTWZQB.js → db-AJYYK5HH.js} +21 -21
  47. package/dist/cli/{db-24PTJ6J5.mjs → db-QP4WNVSS.mjs} +5 -5
  48. package/dist/cli/{executions-3CPX35CQ.js → executions-4LHEJCCY.js} +7 -7
  49. package/dist/cli/{executions-53BGMOYB.mjs → executions-NY7HYAEH.mjs} +5 -5
  50. package/dist/cli/{feedback-4JPCFN6F.js → feedback-CXXJJARR.js} +6 -6
  51. package/dist/cli/{feedback-GA6FF4UP.mjs → feedback-SJYHLVYY.mjs} +3 -3
  52. package/dist/cli/{git-VXB6ZLJ3.mjs → git-DUODO3NL.mjs} +4 -4
  53. package/dist/cli/git-K7YPSXLC.js +23 -0
  54. package/dist/cli/index.d.mts +1 -6
  55. package/dist/cli/index.d.ts +1 -6
  56. package/dist/cli/index.js +100 -87
  57. package/dist/cli/index.mjs +54 -41
  58. package/dist/cli/{legacy-noops-ANYHW7ER.js → legacy-noops-3UYJVVNW.js} +7 -7
  59. package/dist/cli/{legacy-noops-7J5WN4M6.mjs → legacy-noops-IUDXZFYO.mjs} +4 -4
  60. package/dist/cli/{monitors-EAV6KHOK.js → monitors-IEEVACOD.js} +86 -86
  61. package/dist/cli/{monitors-DXETJ5NX.mjs → monitors-PDWE6BGA.mjs} +5 -5
  62. package/dist/cli/{org-3IVIYYVM.js → org-NUFEZRY7.js} +61 -61
  63. package/dist/cli/{org-B57DDLLC.mjs → org-VSPO2YF3.mjs} +5 -5
  64. package/dist/cli/{play-FXABI2NH.mjs → play-KMHPJVWH.mjs} +21 -19
  65. package/dist/cli/{play-LNYRYGOT.js → play-MXYK2BRE.js} +229 -227
  66. package/dist/cli/{providers-LMZBXPLP.mjs → providers-7ENB4EYV.mjs} +5 -5
  67. package/dist/cli/{providers-SWHCMHUN.js → providers-YE5YRIML.js} +8 -8
  68. package/dist/cli/{proxy-env-M4ZHXHRL.mjs → proxy-env-NWUIGWS3.mjs} +34 -17
  69. package/dist/cli/{proxy-env-EBANZHPV.js → proxy-env-ZV2WZFAT.js} +37 -20
  70. package/dist/cli/{quickstart-PHGLWVGA.mjs → quickstart-GFOOHX2U.mjs} +3 -3
  71. package/dist/cli/{quickstart-YYKEMF5A.js → quickstart-KXCU2MZ2.js} +5 -5
  72. package/dist/cli/{search-PHSXMXSV.mjs → search-KESXCJDL.mjs} +6 -6
  73. package/dist/cli/search-R426JJQW.js +18 -0
  74. package/dist/cli/{secrets-CWWMAPBB.js → secrets-BRB5SIXG.js} +14 -14
  75. package/dist/cli/{secrets-ZRVJ6GWI.mjs → secrets-HDR522GC.mjs} +5 -5
  76. package/dist/cli/{sessions-3HSV7W2M.js → sessions-IK3OSQC6.js} +5 -5
  77. package/dist/cli/{sessions-IXMB2B5R.mjs → sessions-VOOSWVLS.mjs} +4 -4
  78. package/dist/cli/{settings-XEM64DRR.mjs → settings-BZKDIHTX.mjs} +8 -8
  79. package/dist/cli/{settings-PGYWTWJ7.js → settings-OPGEFGXL.js} +75 -75
  80. package/dist/cli/{setup-MCXGMDIV.mjs → setup-RVPS7AJJ.mjs} +6 -6
  81. package/dist/cli/{setup-EOTIXFLU.js → setup-TP2VWSCU.js} +41 -41
  82. package/dist/cli/{skills-4HXO76M7.mjs → skills-7BDD2F4V.mjs} +4 -4
  83. package/dist/cli/skills-TK2CIWVS.js +28 -0
  84. package/dist/cli/{tools-FMOJUYVW.js → tools-46ILS57M.js} +51 -51
  85. package/dist/cli/{tools-P3OULQFZ.mjs → tools-XLGGDBM3.mjs} +6 -6
  86. package/dist/cli/{update-2QXPDAIV.mjs → update-2JEM7WUF.mjs} +6 -6
  87. package/dist/cli/update-3JOCQWNF.js +28 -0
  88. package/dist/cli/{workflow-VAJ3GV2W.mjs → workflow-SSTGMXOQ.mjs} +6 -6
  89. package/dist/cli/{workflow-P2YQPB7Y.js → workflow-ZKGPY7T4.js} +16 -16
  90. package/dist/index.js +7 -7
  91. package/dist/index.mjs +4 -4
  92. package/dist/install-integrity.json +74 -74
  93. package/dist/plays/bundle-play-file.mjs +2 -2
  94. package/dist/release.d.mts +1 -1
  95. package/dist/release.d.ts +1 -1
  96. package/dist/release.js +2 -2
  97. package/dist/release.mjs +1 -1
  98. package/package.json +1 -1
  99. package/dist/cli/auth-G2CKLPSX.js +0 -31
  100. package/dist/cli/client-WTE3IK53.js +0 -20
  101. package/dist/cli/git-YTJCZVEL.js +0 -23
  102. package/dist/cli/search-CEBKSGXX.js +0 -18
  103. package/dist/cli/skills-3IXQN3KZ.js +0 -28
  104. package/dist/cli/update-H6I7437Q.js +0 -28
  105. /package/dist/cli/{chunk-GVUJJJ5G.mjs → chunk-6IKARAYD.mjs} +0 -0
  106. /package/dist/cli/{chunk-6A3TJUWC.js → chunk-S6R3OX7B.js} +0 -0
@@ -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 _chunkAKWMFS7Hjs = require('./chunk-AKWMFS7H.js');
4
+ var _chunk5NEXN4MZjs = require('./chunk-5NEXN4MZ.js');
5
5
 
6
6
 
7
7
 
8
- var _chunk6JIXIMC5js = require('./chunk-6JIXIMC5.js');
8
+ var _chunkGQUI3NYNjs = require('./chunk-GQUI3NYN.js');
9
9
 
10
10
 
11
- var _chunkYFRWD6LMjs = require('./chunk-YFRWD6LM.js');
11
+ var _chunkEAIGGEV5js = require('./chunk-EAIGGEV5.js');
12
12
 
13
13
 
14
- var _chunkFAQGAPKKjs = require('./chunk-FAQGAPKK.js');
14
+ var _chunkHIXYNASXjs = require('./chunk-HIXYNASX.js');
15
15
 
16
16
  // src/cli/commands/update.ts
17
17
  var _child_process = require('child_process');
@@ -504,7 +504,7 @@ function normalizedNpmPrefix(value) {
504
504
  }
505
505
  function resolveNpmGlobalPrefix(env) {
506
506
  try {
507
- const plan = _chunk6JIXIMC5js.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"]);
507
+ const plan = _chunkGQUI3NYNjs.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"]);
508
508
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
509
509
  encoding: "utf8",
510
510
  env,
@@ -560,8 +560,8 @@ function resolveUpdatePlan(options = {}) {
560
560
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
561
561
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
562
562
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
563
- const npmVersion = options.npmVersion === void 0 ? _chunkAKWMFS7Hjs.readNpmVersion.call(void 0, env) : options.npmVersion;
564
- const npmGlobalInstallFlags = _chunkAKWMFS7Hjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
563
+ const npmVersion = options.npmVersion === void 0 ? _chunk5NEXN4MZjs.readNpmVersion.call(void 0, env) : options.npmVersion;
564
+ const npmGlobalInstallFlags = _chunk5NEXN4MZjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
565
565
  const args = installPrefix ? [
566
566
  "install",
567
567
  "-g",
@@ -571,7 +571,7 @@ function resolveUpdatePlan(options = {}) {
571
571
  packageSpec
572
572
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
573
573
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
574
- _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkFAQGAPKKjs.autoDetectBaseUrl.call(void 0, )
574
+ _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkHIXYNASXjs.autoDetectBaseUrl.call(void 0, )
575
575
  );
576
576
  return {
577
577
  kind: "npm-global",
@@ -718,7 +718,7 @@ function sidecarInstallFailure(versionDir) {
718
718
  function runCommand(command, args, env = process.env) {
719
719
  return new Promise((resolveResult) => {
720
720
  let output = "";
721
- const plan = _chunk6JIXIMC5js.resolveShellSpawn.call(void 0, command, args);
721
+ const plan = _chunkGQUI3NYNjs.resolveShellSpawn.call(void 0, command, args);
722
722
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
723
723
  stdio: ["inherit", "pipe", "pipe"],
724
724
  shell: plan.shell,
@@ -1094,14 +1094,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1094
1094
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1095
1095
  }
1096
1096
  async function runUpdateCommand(options, dependencies = {}) {
1097
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkFAQGAPKKjs.autoDetectBaseUrl));
1097
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkHIXYNASXjs.autoDetectBaseUrl));
1098
1098
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1099
1099
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1100
1100
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1101
1101
  const originalWrite = process.stdout.write.bind(process.stdout);
1102
1102
  process.stdout.write = (() => true);
1103
1103
  try {
1104
- const exitCode = await _chunk6JIXIMC5js.runSkillsCommand.call(void 0, { json: true });
1104
+ const exitCode = await _chunkGQUI3NYNjs.runSkillsCommand.call(void 0, { json: true });
1105
1105
  if (exitCode !== 0) {
1106
1106
  throw new Error(
1107
1107
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1172,11 +1172,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1172
1172
  ]
1173
1173
  };
1174
1174
  if (options.json && !options.executeWithJson) {
1175
- _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1175
+ _chunkEAIGGEV5js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1176
1176
  return 0;
1177
1177
  }
1178
1178
  if (options.printCommand) {
1179
- _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0,
1179
+ _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
1180
1180
  {
1181
1181
  ...plan,
1182
1182
  render: {
@@ -1189,7 +1189,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1189
1189
  return 0;
1190
1190
  }
1191
1191
  if (plan.kind === "source" || plan.kind === "homebrew") {
1192
- _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1192
+ _chunkEAIGGEV5js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1193
1193
  return 0;
1194
1194
  }
1195
1195
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1219,7 +1219,7 @@ To retry with full installer output, run: deepline skills --json
1219
1219
  );
1220
1220
  }
1221
1221
  if (options.executeWithJson && options.json) {
1222
- _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0,
1222
+ _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
1223
1223
  {
1224
1224
  ok: true,
1225
1225
  pinnedVersion
@@ -3,7 +3,7 @@ import {
3
3
  detectAgentRuntime,
4
4
  resolveCliCommandContext,
5
5
  resolveConfig
6
- } from "./chunk-AXHRD6ME.mjs";
6
+ } from "./chunk-JWUOPLAR.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-RQKAKIVL.mjs";
6
+ } from "./chunk-XKW6HTWO.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-AXHRD6ME.mjs";
25
+ } from "./chunk-JWUOPLAR.mjs";
26
26
  import {
27
27
  DeeplineError
28
28
  } from "./chunk-NXGCO4JB.mjs";
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-RQKAKIVL.mjs";
5
+ } from "./chunk-XKW6HTWO.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-AXHRD6ME.mjs";
8
+ } from "./chunk-JWUOPLAR.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -3,12 +3,12 @@ import {
3
3
  MONITOR_JOB_PHASES,
4
4
  MONITOR_JOB_RECONCILIATION_STATES,
5
5
  MONITOR_JOB_STATES
6
- } from "./chunk-GILGPI67.mjs";
6
+ } from "./chunk-IVT2CZPM.mjs";
7
7
  import "./chunk-CBVIJSHF.mjs";
8
- import "./chunk-AXHRD6ME.mjs";
8
+ import "./chunk-JWUOPLAR.mjs";
9
9
  import "./chunk-DLIRSHV6.mjs";
10
- import "./chunk-YBYPHZ4I.mjs";
11
- import "./chunk-GVUJJJ5G.mjs";
10
+ import "./chunk-MTICVDNY.mjs";
11
+ import "./chunk-6IKARAYD.mjs";
12
12
  import "./chunk-NXGCO4JB.mjs";
13
13
  import "./chunk-WZYKRD7T.mjs";
14
14
  import "./chunk-KRD6H754.mjs";
@@ -0,0 +1,20 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+ var _chunkNFWFUCGMjs = require('./chunk-NFWFUCGM.js');
7
+ require('./chunk-LA46MMTL.js');
8
+ require('./chunk-HIXYNASX.js');
9
+ require('./chunk-XNYIZMNQ.js');
10
+ require('./chunk-OOQ4IRP4.js');
11
+ require('./chunk-S6R3OX7B.js');
12
+ require('./chunk-7P5AA3SN.js');
13
+ require('./chunk-OG64RBAC.js');
14
+ require('./chunk-COGTRVWW.js');
15
+
16
+
17
+
18
+
19
+
20
+ exports.DeeplineClient = _chunkNFWFUCGMjs.DeeplineClient; exports.MONITOR_JOB_PHASES = _chunkNFWFUCGMjs.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunkNFWFUCGMjs.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunkNFWFUCGMjs.MONITOR_JOB_STATES;
@@ -4,10 +4,10 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkYFRWD6LMjs = require('./chunk-YFRWD6LM.js');
8
- require('./chunk-FAQGAPKK.js');
7
+ var _chunkEAIGGEV5js = require('./chunk-EAIGGEV5.js');
8
+ require('./chunk-HIXYNASX.js');
9
9
  require('./chunk-XNYIZMNQ.js');
10
- require('./chunk-TAPI3QLV.js');
10
+ require('./chunk-OOQ4IRP4.js');
11
11
  require('./chunk-7P5AA3SN.js');
12
12
  require('./chunk-OG64RBAC.js');
13
13
  require('./chunk-COGTRVWW.js');
@@ -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 : _chunkYFRWD6LMjs.clip.call(void 0, value, 42)).length;
129
+ return (verbose ? value : _chunkEAIGGEV5js.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 : _chunkYFRWD6LMjs.clip.call(void 0, raw, 42);
139
+ const display = verbose ? raw : _chunkEAIGGEV5js.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 = _chunkYFRWD6LMjs.readCsvRows.call(void 0, csvPath);
159
+ const allRows = _chunkEAIGGEV5js.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
- _chunkYFRWD6LMjs.printJson.call(void 0, {
172
+ _chunkEAIGGEV5js.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(_chunkYFRWD6LMjs.csvStringFromRows.call(void 0, displayRows));
181
+ process.stdout.write(_chunkEAIGGEV5js.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
- _chunkYFRWD6LMjs.printJson.call(void 0, {
196
+ _chunkEAIGGEV5js.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
- ${_chunkYFRWD6LMjs.clip.call(void 0, log, 2e3)}`;
439
+ ${_chunkEAIGGEV5js.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
- _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0, payload, {
490
+ _chunkEAIGGEV5js.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
- _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
526
+ _chunkEAIGGEV5js.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"));
@@ -4,10 +4,10 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-RQKAKIVL.mjs";
8
- import "./chunk-AXHRD6ME.mjs";
7
+ } from "./chunk-XKW6HTWO.mjs";
8
+ import "./chunk-JWUOPLAR.mjs";
9
9
  import "./chunk-DLIRSHV6.mjs";
10
- import "./chunk-YBYPHZ4I.mjs";
10
+ import "./chunk-MTICVDNY.mjs";
11
11
  import "./chunk-NXGCO4JB.mjs";
12
12
  import "./chunk-WZYKRD7T.mjs";
13
13
  import "./chunk-KRD6H754.mjs";
@@ -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 _chunkM6KBDWGIjs = require('./chunk-M6KBDWGI.js');
3
+ var _chunkNFWFUCGMjs = require('./chunk-NFWFUCGM.js');
4
4
  require('./chunk-LA46MMTL.js');
5
5
 
6
6
 
@@ -10,11 +10,11 @@ require('./chunk-LA46MMTL.js');
10
10
 
11
11
 
12
12
 
13
- var _chunkYFRWD6LMjs = require('./chunk-YFRWD6LM.js');
14
- require('./chunk-FAQGAPKK.js');
13
+ var _chunkEAIGGEV5js = require('./chunk-EAIGGEV5.js');
14
+ require('./chunk-HIXYNASX.js');
15
15
  require('./chunk-XNYIZMNQ.js');
16
- require('./chunk-TAPI3QLV.js');
17
- require('./chunk-6A3TJUWC.js');
16
+ require('./chunk-OOQ4IRP4.js');
17
+ require('./chunk-S6R3OX7B.js');
18
18
 
19
19
 
20
20
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
@@ -48,8 +48,8 @@ function formatCell(value) {
48
48
  return text.length > 80 ? `${text.slice(0, 77)}...` : text;
49
49
  }
50
50
  function tableLines(result) {
51
- const rows = _chunkYFRWD6LMjs.dataExportRows.call(void 0, customerDbRows(result));
52
- const responseColumns = _chunkYFRWD6LMjs.dataExportColumns.call(void 0,
51
+ const rows = _chunkEAIGGEV5js.dataExportRows.call(void 0, customerDbRows(result));
52
+ const responseColumns = _chunkEAIGGEV5js.dataExportColumns.call(void 0,
53
53
  rows,
54
54
  customerDbColumnNames(result)
55
55
  );
@@ -95,7 +95,7 @@ function tableLines(result) {
95
95
  return lines;
96
96
  }
97
97
  function customerDbRows(result) {
98
- return _chunkYFRWD6LMjs.recordRows.call(void 0, result.rows);
98
+ return _chunkEAIGGEV5js.recordRows.call(void 0, result.rows);
99
99
  }
100
100
  function customerDbColumnNames(result) {
101
101
  return result.columns.map((column) => column.name).filter(Boolean);
@@ -180,7 +180,7 @@ function writeCustomerDbCsv(result, outPath) {
180
180
  const resolved = _path.resolve.call(void 0, outPath);
181
181
  _fs.writeFileSync.call(void 0,
182
182
  resolved,
183
- _chunkYFRWD6LMjs.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
183
+ _chunkEAIGGEV5js.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
184
184
  "utf-8"
185
185
  );
186
186
  return resolved;
@@ -244,9 +244,9 @@ async function handleDbQuery(args) {
244
244
  console.error("--out requires a path.");
245
245
  return 1;
246
246
  }
247
- const jsonOutput = _chunkYFRWD6LMjs.argsWantJson.call(void 0, args);
247
+ const jsonOutput = _chunkEAIGGEV5js.argsWantJson.call(void 0, args);
248
248
  const explicitJsonOutput = args.includes("--json");
249
- const client = new (0, _chunkM6KBDWGIjs.DeeplineClient)();
249
+ const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
250
250
  let result;
251
251
  try {
252
252
  result = await client.db.query({ sql, maxRows });
@@ -263,7 +263,7 @@ async function handleDbQuery(args) {
263
263
  if (format === "csv") {
264
264
  if (outPath) {
265
265
  const exportedPath = writeCustomerDbCsv(result, outPath);
266
- _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0,
266
+ _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
267
267
  dbQueryExportEnvelope({
268
268
  result,
269
269
  format,
@@ -278,7 +278,7 @@ async function handleDbQuery(args) {
278
278
  );
279
279
  return 0;
280
280
  }
281
- _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0,
281
+ _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
282
282
  dbQueryExportEnvelope({
283
283
  result,
284
284
  format,
@@ -287,7 +287,7 @@ async function handleDbQuery(args) {
287
287
  }),
288
288
  {
289
289
  json: explicitJsonOutput,
290
- text: _chunkYFRWD6LMjs.dataExportCsvString.call(void 0,
290
+ text: _chunkEAIGGEV5js.dataExportCsvString.call(void 0,
291
291
  customerDbRows(result),
292
292
  customerDbColumnNames(result)
293
293
  )
@@ -296,14 +296,14 @@ async function handleDbQuery(args) {
296
296
  return 0;
297
297
  }
298
298
  if (format === "markdown") {
299
- const content = _chunkYFRWD6LMjs.markdownTableFromRows.call(void 0,
299
+ const content = _chunkEAIGGEV5js.markdownTableFromRows.call(void 0,
300
300
  customerDbRows(result),
301
301
  customerDbColumnNames(result)
302
302
  );
303
303
  if (outPath) {
304
304
  const exportedPath = _path.resolve.call(void 0, outPath);
305
305
  _fs.writeFileSync.call(void 0, exportedPath, content, "utf-8");
306
- _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0,
306
+ _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
307
307
  dbQueryExportEnvelope({
308
308
  result,
309
309
  format,
@@ -318,7 +318,7 @@ async function handleDbQuery(args) {
318
318
  );
319
319
  return 0;
320
320
  }
321
- _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0,
321
+ _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
322
322
  dbQueryExportEnvelope({
323
323
  result,
324
324
  format,
@@ -332,7 +332,7 @@ async function handleDbQuery(args) {
332
332
  );
333
333
  return 0;
334
334
  }
335
- _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0,
335
+ _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
336
336
  {
337
337
  ...result,
338
338
  next: { toolEquivalent: toolCommand },
@@ -350,8 +350,8 @@ async function handleDbQuery(args) {
350
350
  async function handleDbRepair(args) {
351
351
  const providerIndex = args.indexOf("--provider");
352
352
  const provider = providerIndex >= 0 ? _optionalChain([args, 'access', _12 => _12[providerIndex + 1], 'optionalAccess', _13 => _13.trim, 'call', _14 => _14()]) : void 0;
353
- const jsonOutput = _chunkYFRWD6LMjs.argsWantJson.call(void 0, args);
354
- const client = new (0, _chunkM6KBDWGIjs.DeeplineClient)();
353
+ const jsonOutput = _chunkEAIGGEV5js.argsWantJson.call(void 0, args);
354
+ const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
355
355
  let result;
356
356
  try {
357
357
  result = await client.repairIngestionStorage(
@@ -367,7 +367,7 @@ async function handleDbRepair(args) {
367
367
  console.error(errorMessage(error));
368
368
  return 1;
369
369
  }
370
- _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0,
370
+ _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
371
371
  {
372
372
  command: "db repair",
373
373
  status: result.status,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-GILGPI67.mjs";
3
+ } from "./chunk-IVT2CZPM.mjs";
4
4
  import "./chunk-CBVIJSHF.mjs";
5
5
  import {
6
6
  argsWantJson,
@@ -10,11 +10,11 @@ import {
10
10
  markdownTableFromRows,
11
11
  printCommandEnvelope,
12
12
  recordRows
13
- } from "./chunk-RQKAKIVL.mjs";
14
- import "./chunk-AXHRD6ME.mjs";
13
+ } from "./chunk-XKW6HTWO.mjs";
14
+ import "./chunk-JWUOPLAR.mjs";
15
15
  import "./chunk-DLIRSHV6.mjs";
16
- import "./chunk-YBYPHZ4I.mjs";
17
- import "./chunk-GVUJJJ5G.mjs";
16
+ import "./chunk-MTICVDNY.mjs";
17
+ import "./chunk-6IKARAYD.mjs";
18
18
  import {
19
19
  DeeplineError
20
20
  } from "./chunk-NXGCO4JB.mjs";
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkM6KBDWGIjs = require('./chunk-M6KBDWGI.js');
3
+ var _chunkNFWFUCGMjs = require('./chunk-NFWFUCGM.js');
4
4
  require('./chunk-LA46MMTL.js');
5
5
 
6
6
 
7
- var _chunkYFRWD6LMjs = require('./chunk-YFRWD6LM.js');
8
- require('./chunk-FAQGAPKK.js');
7
+ var _chunkEAIGGEV5js = require('./chunk-EAIGGEV5.js');
8
+ require('./chunk-HIXYNASX.js');
9
9
  require('./chunk-XNYIZMNQ.js');
10
- require('./chunk-TAPI3QLV.js');
11
- require('./chunk-6A3TJUWC.js');
10
+ require('./chunk-OOQ4IRP4.js');
11
+ require('./chunk-S6R3OX7B.js');
12
12
  require('./chunk-7P5AA3SN.js');
13
13
  require('./chunk-OG64RBAC.js');
14
14
  require('./chunk-COGTRVWW.js');
@@ -17,10 +17,10 @@ require('./chunk-COGTRVWW.js');
17
17
  function registerExecutionsCommands(program) {
18
18
  const executions = program.command("executions").description("Inspect and recover keyed tool executions.");
19
19
  executions.command("get").description("Retrieve a tool execution by its idempotency key.").requiredOption("--idempotency-key <key>", "Stable execution recovery key").option("--json", "Emit the stable JSON response").action(async (options) => {
20
- const result = await new (0, _chunkM6KBDWGIjs.DeeplineClient)().executions.getByKey(
20
+ const result = await new (0, _chunkNFWFUCGMjs.DeeplineClient)().executions.getByKey(
21
21
  options.idempotencyKey
22
22
  );
23
- _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0, result, { json: true });
23
+ _chunkEAIGGEV5js.printCommandEnvelope.call(void 0, result, { json: true });
24
24
  });
25
25
  }
26
26
 
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-GILGPI67.mjs";
3
+ } from "./chunk-IVT2CZPM.mjs";
4
4
  import "./chunk-CBVIJSHF.mjs";
5
5
  import {
6
6
  printCommandEnvelope
7
- } from "./chunk-RQKAKIVL.mjs";
8
- import "./chunk-AXHRD6ME.mjs";
7
+ } from "./chunk-XKW6HTWO.mjs";
8
+ import "./chunk-JWUOPLAR.mjs";
9
9
  import "./chunk-DLIRSHV6.mjs";
10
- import "./chunk-YBYPHZ4I.mjs";
11
- import "./chunk-GVUJJJ5G.mjs";
10
+ import "./chunk-MTICVDNY.mjs";
11
+ import "./chunk-6IKARAYD.mjs";
12
12
  import "./chunk-NXGCO4JB.mjs";
13
13
  import "./chunk-WZYKRD7T.mjs";
14
14
  import "./chunk-KRD6H754.mjs";
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkYFRWD6LMjs = require('./chunk-YFRWD6LM.js');
6
- require('./chunk-FAQGAPKK.js');
5
+ var _chunkEAIGGEV5js = require('./chunk-EAIGGEV5.js');
6
+ require('./chunk-HIXYNASX.js');
7
7
  require('./chunk-XNYIZMNQ.js');
8
- require('./chunk-TAPI3QLV.js');
8
+ require('./chunk-OOQ4IRP4.js');
9
9
  require('./chunk-7P5AA3SN.js');
10
10
  require('./chunk-OG64RBAC.js');
11
11
  require('./chunk-COGTRVWW.js');
@@ -15,16 +15,16 @@ var _commander = require('commander');
15
15
  var _fs = require('fs');
16
16
  async function handleFeedback(text, options) {
17
17
  const message = resolveFeedbackText(text, options.file);
18
- const { http } = _chunkYFRWD6LMjs.getAuthedHttpClient.call(void 0, );
18
+ const { http } = _chunkEAIGGEV5js.getAuthedHttpClient.call(void 0, );
19
19
  const response = await http.post("/api/v2/cli/feedback", {
20
20
  text: message,
21
21
  requested: options.requested === true,
22
- environment: _chunkYFRWD6LMjs.collectLocalEnvInfo.call(void 0, ),
22
+ environment: _chunkEAIGGEV5js.collectLocalEnvInfo.call(void 0, ),
23
23
  ...options.command ? { command: options.command } : {},
24
24
  ...options.payload ? { payload: options.payload } : {},
25
25
  ...options.errorOutcome ? { error_outcome: options.errorOutcome } : {}
26
26
  });
27
- _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0,
27
+ _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
28
28
  {
29
29
  ...response,
30
30
  render: {
@@ -2,10 +2,10 @@ import {
2
2
  collectLocalEnvInfo,
3
3
  getAuthedHttpClient,
4
4
  printCommandEnvelope
5
- } from "./chunk-RQKAKIVL.mjs";
6
- import "./chunk-AXHRD6ME.mjs";
5
+ } from "./chunk-XKW6HTWO.mjs";
6
+ import "./chunk-JWUOPLAR.mjs";
7
7
  import "./chunk-DLIRSHV6.mjs";
8
- import "./chunk-YBYPHZ4I.mjs";
8
+ import "./chunk-MTICVDNY.mjs";
9
9
  import "./chunk-NXGCO4JB.mjs";
10
10
  import "./chunk-WZYKRD7T.mjs";
11
11
  import "./chunk-KRD6H754.mjs";
@@ -5,11 +5,11 @@ import {
5
5
  renderDeployment,
6
6
  renderDeploymentMonitorLines,
7
7
  renderDeploymentPlayLines
8
- } from "./chunk-6S2UJUVD.mjs";
9
- import "./chunk-RQKAKIVL.mjs";
10
- import "./chunk-AXHRD6ME.mjs";
8
+ } from "./chunk-YZLPXH7G.mjs";
9
+ import "./chunk-XKW6HTWO.mjs";
10
+ import "./chunk-JWUOPLAR.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
- import "./chunk-YBYPHZ4I.mjs";
12
+ import "./chunk-MTICVDNY.mjs";
13
13
  import "./chunk-NXGCO4JB.mjs";
14
14
  import "./chunk-WZYKRD7T.mjs";
15
15
  import "./chunk-KRD6H754.mjs";
@@ -0,0 +1,23 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+ var _chunkRY6WID7Cjs = require('./chunk-RY6WID7C.js');
9
+ require('./chunk-EAIGGEV5.js');
10
+ require('./chunk-HIXYNASX.js');
11
+ require('./chunk-XNYIZMNQ.js');
12
+ require('./chunk-OOQ4IRP4.js');
13
+ require('./chunk-7P5AA3SN.js');
14
+ require('./chunk-OG64RBAC.js');
15
+ require('./chunk-COGTRVWW.js');
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+ exports.handleDeploymentGet = _chunkRY6WID7Cjs.handleDeploymentGet; exports.handleDeploymentsList = _chunkRY6WID7Cjs.handleDeploymentsList; exports.registerGitCommands = _chunkRY6WID7Cjs.registerGitCommands; exports.renderDeployment = _chunkRY6WID7Cjs.renderDeployment; exports.renderDeploymentMonitorLines = _chunkRY6WID7Cjs.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunkRY6WID7Cjs.renderDeploymentPlayLines;
@@ -1,11 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  /// <reference path="./text-imports.d.ts" />
3
- /**
4
- * Run the CLI once.
5
- *
6
- * The development launcher imports this module directly and awaits this
7
- * function. The published SDK bundle continues to invoke it below.
8
- */
3
+ /** Run one command, then release its connections after output and reporting. */
9
4
  declare function main(): Promise<void>;
10
5
 
11
6
  export { main };
@@ -1,11 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  /// <reference path="./text-imports.d.ts" />
3
- /**
4
- * Run the CLI once.
5
- *
6
- * The development launcher imports this module directly and awaits this
7
- * function. The published SDK bundle continues to invoke it below.
8
- */
3
+ /** Run one command, then release its connections after output and reporting. */
9
4
  declare function main(): Promise<void>;
10
5
 
11
6
  export { main };