deepline 0.3.327 → 0.3.328

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 (94) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/security/secret-redaction.ts +4 -0
  3. package/dist/cli/{auth-EBBDOKNV.mjs → auth-ANHHABWT.mjs} +4 -4
  4. package/dist/cli/auth-EKRB4GMP.js +31 -0
  5. package/dist/cli/{billing-6AAB7WPJ.js → billing-GGVKLFE6.js} +96 -82
  6. package/dist/cli/{billing-IM2QUFX4.mjs → billing-R6NYYO6G.mjs} +30 -16
  7. package/dist/cli/{chunk-NWIJLTRL.js → chunk-2FPVWL4W.js} +47 -47
  8. package/dist/cli/{chunk-ZOFARJWH.mjs → chunk-6ENR652E.mjs} +6 -6
  9. package/dist/cli/{chunk-HZZJR2GV.js → chunk-7DDNACAQ.js} +26 -26
  10. package/dist/cli/{chunk-D6GD5AVN.mjs → chunk-7MABE3ZK.mjs} +3 -3
  11. package/dist/cli/{chunk-QZAP5VOS.mjs → chunk-7R6KQSFA.mjs} +1 -1
  12. package/dist/cli/{chunk-RSEVBSFE.mjs → chunk-AKKQ26RX.mjs} +1 -1
  13. package/dist/cli/{chunk-F45425TB.mjs → chunk-B2R66UTW.mjs} +1 -1
  14. package/dist/cli/{chunk-A5SKM3GL.mjs → chunk-BC7FMQ2G.mjs} +1 -1
  15. package/dist/cli/{chunk-UROXKPND.js → chunk-DNMV2L7Q.js} +6 -6
  16. package/dist/cli/{chunk-77RAV5XX.js → chunk-DNYRAZSK.js} +48 -48
  17. package/dist/cli/{chunk-HOWQKN6J.mjs → chunk-GZV5F6CL.mjs} +5 -5
  18. package/dist/cli/{chunk-4ZARCCPT.js → chunk-ITFUZEHE.js} +9 -9
  19. package/dist/cli/{chunk-TAGHNT5P.js → chunk-LEEXRXQQ.js} +6 -6
  20. package/dist/cli/{chunk-DSDX6EUW.js → chunk-LJWC5HSO.js} +15 -15
  21. package/dist/cli/{chunk-DM3SHV6U.js → chunk-O5GPNPOC.js} +4 -4
  22. package/dist/cli/{chunk-3ITDKXNC.mjs → chunk-OOLIEDIJ.mjs} +2 -2
  23. package/dist/cli/{chunk-DVV4FPS7.mjs → chunk-SMGNDW7O.mjs} +2 -2
  24. package/dist/cli/{chunk-MOP6D7Z5.js → chunk-UDIPEHNJ.js} +6 -6
  25. package/dist/cli/{chunk-REP2MYBI.mjs → chunk-UM4ZE3P7.mjs} +2 -2
  26. package/dist/cli/{chunk-4TO56P22.js → chunk-W6WV6UME.js} +224 -224
  27. package/dist/cli/{chunk-CCRQ2VGJ.mjs → chunk-WWVE4HFN.mjs} +1 -1
  28. package/dist/cli/{chunk-7RCJDAJX.js → chunk-XVKQ6D4K.js} +2 -2
  29. package/dist/cli/{chunk-3MXRNPBN.js → chunk-Y4LXIUHX.js} +1 -1
  30. package/dist/cli/{chunk-G5774EFF.mjs → chunk-YFCHBN3C.mjs} +1 -1
  31. package/dist/cli/{chunk-CISKBOXD.js → chunk-ZFKUVDOM.js} +60 -60
  32. package/dist/cli/{chunk-DCAU6PND.mjs → chunk-ZND34HL7.mjs} +4 -4
  33. package/dist/cli/client-55BDB4LE.js +20 -0
  34. package/dist/cli/{client-JCMSACT4.mjs → client-ZABA5NMD.mjs} +3 -3
  35. package/dist/cli/{csv-OILKDKUX.js → csv-4ZK5ZJAJ.js} +12 -12
  36. package/dist/cli/{csv-NPMWVM5D.mjs → csv-VECE3PWX.mjs} +3 -3
  37. package/dist/cli/{db-AZUAOWPQ.mjs → db-6VE4OEWW.mjs} +4 -4
  38. package/dist/cli/{db-MNDRYYEX.js → db-UJPCDBV7.js} +29 -29
  39. package/dist/cli/{describe-QENLDLM2.js → describe-CFUZZ326.js} +15 -15
  40. package/dist/cli/{describe-KJWOHMKC.mjs → describe-W6X5G4JR.mjs} +8 -8
  41. package/dist/cli/{executions-P36UHBPG.js → executions-AI4DTQQL.js} +6 -6
  42. package/dist/cli/{executions-QZNQWF6F.mjs → executions-ZZWB75DF.mjs} +4 -4
  43. package/dist/cli/{feedback-K4UGTLFD.js → feedback-FYSNSYUU.js} +6 -6
  44. package/dist/cli/{feedback-RQ6HSZSG.mjs → feedback-IM5Z6T5K.mjs} +3 -3
  45. package/dist/cli/git-VWXH6LCP.js +23 -0
  46. package/dist/cli/{git-PBRMCBMI.mjs → git-YNYTK3YW.mjs} +4 -4
  47. package/dist/cli/index.js +95 -80
  48. package/dist/cli/index.mjs +54 -39
  49. package/dist/cli/{legacy-noops-G7GWJ5UC.mjs → legacy-noops-4DTMYYUY.mjs} +4 -4
  50. package/dist/cli/{legacy-noops-X74FM35Q.js → legacy-noops-PHJE2XFK.js} +7 -7
  51. package/dist/cli/{monitors-VKURX3YM.js → monitors-27JP76WE.js} +85 -85
  52. package/dist/cli/{monitors-KL2MCR57.mjs → monitors-HUP4MVWJ.mjs} +4 -4
  53. package/dist/cli/{org-DT53KTNW.mjs → org-L3B2RR4U.mjs} +4 -4
  54. package/dist/cli/{org-ZYXJDC44.js → org-RHVDMUKN.js} +60 -60
  55. package/dist/cli/play-UKH4VFPF.js +153 -0
  56. package/dist/cli/{play-WIJGQYTB.mjs → play-UXIJVYNF.mjs} +7 -7
  57. package/dist/cli/{providers-GYGKGS2J.mjs → providers-FABWTNKR.mjs} +4 -4
  58. package/dist/cli/{providers-GRTW4TXX.js → providers-VL6VY56M.js} +7 -7
  59. package/dist/cli/{quickstart-WB26543C.js → quickstart-IIPZ6DSY.js} +5 -5
  60. package/dist/cli/{quickstart-XF3M2M2S.mjs → quickstart-OA54A4IE.mjs} +3 -3
  61. package/dist/cli/search-JD2VTR4A.js +26 -0
  62. package/dist/cli/{search-ANJLTOF2.mjs → search-YDK4V2EW.mjs} +5 -5
  63. package/dist/cli/{secrets-D6UR5CTW.mjs → secrets-4MQF6RF6.mjs} +4 -4
  64. package/dist/cli/{secrets-5KBUGMTK.js → secrets-JGU7ZRUW.js} +13 -13
  65. package/dist/cli/{sessions-46PXFULL.js → sessions-I7ZZYSYW.js} +5 -5
  66. package/dist/cli/{sessions-S7N4JEWK.mjs → sessions-PTHOMSZ5.mjs} +4 -4
  67. package/dist/cli/{settings-V6U3SRTH.mjs → settings-X4ENSGNK.mjs} +7 -7
  68. package/dist/cli/{settings-KMNBITSU.js → settings-ZUUBKIG6.js} +74 -74
  69. package/dist/cli/{setup-OGITSLTN.mjs → setup-4UM6FCZL.mjs} +6 -6
  70. package/dist/cli/{setup-4K5FY6AU.js → setup-6L576TQE.js} +41 -41
  71. package/dist/cli/skills-TLPNCERR.js +28 -0
  72. package/dist/cli/{skills-AXWAYPBY.mjs → skills-U3BS5KUI.mjs} +4 -4
  73. package/dist/cli/tools-26JTFFU4.js +39 -0
  74. package/dist/cli/{tools-LJCY6B23.mjs → tools-O4PX6UVB.mjs} +6 -6
  75. package/dist/cli/update-35RRCU2G.js +28 -0
  76. package/dist/cli/{update-DDR5XIUB.mjs → update-OHWSK2WN.mjs} +6 -6
  77. package/dist/cli/{workflow-7CTCDWL3.js → workflow-QWTZBLT3.js} +15 -15
  78. package/dist/cli/{workflow-PRNCVANQ.mjs → workflow-RVMGBMLX.mjs} +5 -5
  79. package/dist/index.js +6 -6
  80. package/dist/index.mjs +3 -3
  81. package/dist/install-integrity.json +74 -74
  82. package/dist/release.d.mts +1 -1
  83. package/dist/release.d.ts +1 -1
  84. package/dist/release.js +2 -2
  85. package/dist/release.mjs +1 -1
  86. package/package.json +1 -1
  87. package/dist/cli/auth-67YOPQ6M.js +0 -31
  88. package/dist/cli/client-7LZCG4VD.js +0 -20
  89. package/dist/cli/git-RPFH3NJ2.js +0 -23
  90. package/dist/cli/play-BUQV47E2.js +0 -153
  91. package/dist/cli/search-CR2GZLCM.js +0 -26
  92. package/dist/cli/skills-4FP2MZKL.js +0 -28
  93. package/dist/cli/tools-7YZPH6WC.js +0 -39
  94. package/dist/cli/update-3VUOW6AP.js +0 -28
@@ -15,7 +15,7 @@ var _chunkLA46MMTLjs = require('./chunk-LA46MMTL.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkDM3SHV6Ujs = require('./chunk-DM3SHV6U.js');
18
+ var _chunkO5GPNPOCjs = require('./chunk-O5GPNPOC.js');
19
19
 
20
20
 
21
21
 
@@ -146,7 +146,7 @@ async function queryCustomerDatabase(http, input) {
146
146
  if (error instanceof _chunk7P5AA3SNjs.DeeplineError && (_optionalChain([error, 'access', _2 => _2.code, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("NETWORK_")]) || // Older API readers return PostgreSQL errors as HTTP 400, including
147
147
  // lost connections and explicitly unknown transaction resolution.
148
148
  /^08[A-Z0-9]{3}$/.test(_nullishCoalesce(error.code, () => ( ""))) || ["57P01", "57P02", "57P03"].includes(_nullishCoalesce(error.code, () => ( ""))) || error.statusCode === 408 || (_nullishCoalesce(error.statusCode, () => ( 0))) >= 500)) {
149
- throw new (0, _chunkDM3SHV6Ujs.CustomerDbQueryOutcomeUnknownError)(
149
+ throw new (0, _chunkO5GPNPOCjs.CustomerDbQueryOutcomeUnknownError)(
150
150
  error,
151
151
  plan.request.body.operation_key
152
152
  );
@@ -154,7 +154,7 @@ async function queryCustomerDatabase(http, input) {
154
154
  throw error;
155
155
  }
156
156
  if (!result || typeof result !== "object" || Array.isArray(result) || typeof result.command !== "string" || !Array.isArray(result.columns) || !Array.isArray(result.rows) || typeof result.truncated !== "boolean" || result.row_count !== null && (!Number.isSafeInteger(result.row_count) || result.row_count < 0) || !Number.isSafeInteger(result.row_count_returned) || result.row_count_returned < 0) {
157
- throw new (0, _chunkDM3SHV6Ujs.CustomerDbQueryOutcomeUnknownError)(
157
+ throw new (0, _chunkO5GPNPOCjs.CustomerDbQueryOutcomeUnknownError)(
158
158
  new (0, _chunk7P5AA3SNjs.DeeplineError)(
159
159
  "The SQL response did not contain a valid result.",
160
160
  200,
@@ -165,7 +165,7 @@ async function queryCustomerDatabase(http, input) {
165
165
  }
166
166
  const operation = result.operation;
167
167
  if (input.operationKey !== void 0 && (!operation || operation.operation_key !== input.operationKey || !Number.isSafeInteger(operation.completed_at_ms) || operation.completed_at_ms < 0 || !["executed", "operation_recovery"].includes(operation.source))) {
168
- throw new (0, _chunkDM3SHV6Ujs.CustomerDbQueryOutcomeUnknownError)(
168
+ throw new (0, _chunkO5GPNPOCjs.CustomerDbQueryOutcomeUnknownError)(
169
169
  new (0, _chunk7P5AA3SNjs.DeeplineError)(
170
170
  "The server did not confirm the original atomic SQL operation.",
171
171
  200,
@@ -2854,8 +2854,8 @@ function runtimeSelectionHeaders(runtime) {
2854
2854
  }
2855
2855
  const receivers = _optionalChain([process, 'access', _102 => _102.env, 'access', _103 => _103.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _104 => _104.trim, 'call', _105 => _105()]);
2856
2856
  return {
2857
- [_chunkDM3SHV6Ujs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
2858
- ...receivers ? { [_chunkDM3SHV6Ujs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
2857
+ [_chunkO5GPNPOCjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
2858
+ ...receivers ? { [_chunkO5GPNPOCjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
2859
2859
  };
2860
2860
  }
2861
2861
  function isolatedCiRuntimeEventReadHeaders() {
@@ -2871,7 +2871,7 @@ function isolatedCiRuntimeEventReadHeaders() {
2871
2871
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
2872
2872
  );
2873
2873
  }
2874
- return { [_chunkDM3SHV6Ujs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
2874
+ return { [_chunkO5GPNPOCjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
2875
2875
  }
2876
2876
  function normalizeTestPolicyOverrides(value, source) {
2877
2877
  if (value && typeof value === "object" && !Array.isArray(value)) {
@@ -3172,8 +3172,8 @@ var DeeplineClient = (_class = class _DeeplineClient {
3172
3172
  * @throws {@link ConfigError} if no API key can be resolved from any source.
3173
3173
  */
3174
3174
  constructor(options) {
3175
- this.config = _chunkDM3SHV6Ujs.resolveConfig.call(void 0, options);
3176
- this.http = new (0, _chunkDM3SHV6Ujs.HttpClient)(this.config);
3175
+ this.config = _chunkO5GPNPOCjs.resolveConfig.call(void 0, options);
3176
+ this.http = new (0, _chunkO5GPNPOCjs.HttpClient)(this.config);
3177
3177
  this.toolCalls = new ToolCalls(
3178
3178
  this.http,
3179
3179
  this.config.timeout,
@@ -1,7 +1,7 @@
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 _chunkUROXKPNDjs = require('./chunk-UROXKPND.js');
4
+ var _chunkDNMV2L7Qjs = require('./chunk-DNMV2L7Q.js');
5
5
 
6
6
  // src/cli/commands/sessions.ts
7
7
 
@@ -420,7 +420,7 @@ function buildSessionUploadContent(raw) {
420
420
  return { encodedContent: encoded, needsChunking: true };
421
421
  }
422
422
  async function uploadPayload(path, payload) {
423
- const { http } = _chunkUROXKPNDjs.getAuthedHttpClient.call(void 0, );
423
+ const { http } = _chunkDNMV2L7Qjs.getAuthedHttpClient.call(void 0, );
424
424
  return await http.post(path, payload);
425
425
  }
426
426
  async function uploadChunkedSessions(sessions, options) {
@@ -452,7 +452,7 @@ async function uploadChunkedSessions(sessions, options) {
452
452
  environments: sessions.map(() => detectShellContext()),
453
453
  ...options.rating ? { rating: options.rating } : {}
454
454
  });
455
- _chunkUROXKPNDjs.printCommandEnvelope.call(void 0,
455
+ _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0,
456
456
  {
457
457
  ...response,
458
458
  ok: true,
@@ -481,7 +481,7 @@ async function handleSessionsSend(options) {
481
481
  filename: _path.basename.call(void 0, filePath),
482
482
  ...rating ? { rating } : {}
483
483
  });
484
- _chunkUROXKPNDjs.printCommandEnvelope.call(void 0,
484
+ _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0,
485
485
  {
486
486
  ...response2,
487
487
  ok: true,
@@ -530,7 +530,7 @@ async function handleSessionsSend(options) {
530
530
  environment: detectShellContext(),
531
531
  ...rating ? { rating } : {}
532
532
  });
533
- _chunkUROXKPNDjs.printCommandEnvelope.call(void 0,
533
+ _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0,
534
534
  {
535
535
  ...response,
536
536
  ok: true,
@@ -635,7 +635,7 @@ ${refreshMeta}
635
635
  </body>
636
636
  </html>`;
637
637
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
638
- _chunkUROXKPNDjs.printCommandEnvelope.call(void 0,
638
+ _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0,
639
639
  {
640
640
  ok: true,
641
641
  file: outputPath,
@@ -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 _chunk7RCJDAJXjs = require('./chunk-7RCJDAJX.js');
4
+ var _chunkXVKQ6D4Kjs = require('./chunk-XVKQ6D4K.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkCISKBOXDjs = require('./chunk-CISKBOXD.js');
8
+ var _chunkZFKUVDOMjs = require('./chunk-ZFKUVDOM.js');
9
9
 
10
10
 
11
- var _chunkUROXKPNDjs = require('./chunk-UROXKPND.js');
11
+ var _chunkDNMV2L7Qjs = require('./chunk-DNMV2L7Q.js');
12
12
 
13
13
 
14
- var _chunkDM3SHV6Ujs = require('./chunk-DM3SHV6U.js');
14
+ var _chunkO5GPNPOCjs = require('./chunk-O5GPNPOC.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 = _chunkCISKBOXDjs.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"], process.platform, env);
492
+ const plan = _chunkZFKUVDOMjs.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 ? _chunk7RCJDAJXjs.readNpmVersion.call(void 0, env) : options.npmVersion;
549
- const npmGlobalInstallFlags = _chunk7RCJDAJXjs.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 ? _chunkXVKQ6D4Kjs.readNpmVersion.call(void 0, env) : options.npmVersion;
549
+ const npmGlobalInstallFlags = _chunkXVKQ6D4Kjs.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()]) || _chunkDM3SHV6Ujs.autoDetectBaseUrl.call(void 0, )
559
+ _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkO5GPNPOCjs.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 = _chunkCISKBOXDjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
706
+ const plan = _chunkZFKUVDOMjs.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, () => ( _chunkDM3SHV6Ujs.autoDetectBaseUrl));
1082
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkO5GPNPOCjs.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 _chunkCISKBOXDjs.runSkillsCommand.call(void 0, { json: true });
1089
+ const exitCode = await _chunkZFKUVDOMjs.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
- _chunkUROXKPNDjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1160
+ _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1161
1161
  return 0;
1162
1162
  }
1163
1163
  if (options.printCommand) {
1164
- _chunkUROXKPNDjs.printCommandEnvelope.call(void 0,
1164
+ _chunkDNMV2L7Qjs.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
- _chunkUROXKPNDjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1177
+ _chunkDNMV2L7Qjs.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
- _chunkUROXKPNDjs.printCommandEnvelope.call(void 0,
1207
+ _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0,
1208
1208
  {
1209
1209
  ok: true,
1210
1210
  pinnedVersion
@@ -4,7 +4,7 @@
4
4
  var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
5
5
 
6
6
 
7
- var _chunk3MXRNPBNjs = require('./chunk-3MXRNPBN.js');
7
+ var _chunkY4LXIUHXjs = require('./chunk-Y4LXIUHX.js');
8
8
 
9
9
 
10
10
 
@@ -743,9 +743,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
743
743
  }
744
744
 
745
745
  // src/version.ts
746
- var SDK_VERSION = _chunk3MXRNPBNjs.SDK_RELEASE.version;
747
- var SDK_API_MAJOR = _chunk3MXRNPBNjs.SDK_RELEASE.contracts.api.currentMajor;
748
- var SDK_API_CONTRACT = _nullishCoalesce(_chunk3MXRNPBNjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
746
+ var SDK_VERSION = _chunkY4LXIUHXjs.SDK_RELEASE.version;
747
+ var SDK_API_MAJOR = _chunkY4LXIUHXjs.SDK_RELEASE.contracts.api.currentMajor;
748
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkY4LXIUHXjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
749
749
 
750
750
  // src/agent-runtime.ts
751
751
 
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-GAMFK2ZP.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-F45425TB.mjs";
6
+ } from "./chunk-B2R66UTW.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-CCRQ2VGJ.mjs";
25
+ } from "./chunk-WWVE4HFN.mjs";
26
26
  import {
27
27
  DeeplineError
28
28
  } from "./chunk-NXGCO4JB.mjs";
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-F45425TB.mjs";
5
+ } from "./chunk-B2R66UTW.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -25,7 +25,7 @@ import {
25
25
  saveHostEnvValues,
26
26
  saveProjectDeeplineEnvValues,
27
27
  storedHostApiKey
28
- } from "./chunk-CCRQ2VGJ.mjs";
28
+ } from "./chunk-WWVE4HFN.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -1,20 +1,20 @@
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 _chunk4ZARCCPTjs = require('./chunk-4ZARCCPT.js');
3
+ var _chunkITFUZEHEjs = require('./chunk-ITFUZEHE.js');
4
4
 
5
5
 
6
- var _chunkUROXKPNDjs = require('./chunk-UROXKPND.js');
6
+ var _chunkDNMV2L7Qjs = require('./chunk-DNMV2L7Q.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkDM3SHV6Ujs = require('./chunk-DM3SHV6U.js');
10
+ var _chunkO5GPNPOCjs = require('./chunk-O5GPNPOC.js');
11
11
 
12
12
  // src/cli/search-ref.ts
13
13
  var _fs = require('fs');
14
14
  var _path = require('path');
15
15
  var SEARCH_REF_TTL_MS = 15 * 6e4;
16
16
  function lastSearchPath() {
17
- return _path.join.call(void 0, _chunkDM3SHV6Ujs.sdkCliStateDirPath.call(void 0, _chunkDM3SHV6Ujs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
17
+ return _path.join.call(void 0, _chunkO5GPNPOCjs.sdkCliStateDirPath.call(void 0, _chunkO5GPNPOCjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
18
18
  }
19
19
  function rememberSearchRef(searchRef) {
20
20
  try {
@@ -97,7 +97,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
97
97
  console.error(USAGE);
98
98
  return 1;
99
99
  }
100
- const { search_ref: searchRef, ...result } = await new (0, _chunk4ZARCCPTjs.DeeplineClient)().search({
100
+ const { search_ref: searchRef, ...result } = await new (0, _chunkITFUZEHEjs.DeeplineClient)().search({
101
101
  query,
102
102
  types,
103
103
  exclude,
@@ -111,7 +111,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
111
111
  });
112
112
  if (searchRef) rememberSearchRef(searchRef);
113
113
  pointAtDescribe(result);
114
- _chunkUROXKPNDjs.printCommandEnvelope.call(void 0, result, {
114
+ _chunkDNMV2L7Qjs.printCommandEnvelope.call(void 0, result, {
115
115
  json: options.json === true
116
116
  });
117
117
  return 0;
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-F45425TB.mjs";
5
+ } from "./chunk-B2R66UTW.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-CCRQ2VGJ.mjs";
8
+ } from "./chunk-WWVE4HFN.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {