deepline 0.3.458 → 0.3.459

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 (99) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +0 -18
  3. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +2 -0
  4. package/dist/cli/{auth-APD43NYT.mjs → auth-2RM2ZC6E.mjs} +4 -4
  5. package/dist/cli/auth-EAFWPDJG.js +40 -0
  6. package/dist/cli/{billing-TI4YOWAJ.js → billing-4BZABEOA.js} +73 -73
  7. package/dist/cli/{billing-QW4K272E.mjs → billing-FYF2GJ25.mjs} +4 -4
  8. package/dist/cli/{chunk-XI6AZJPO.js → chunk-2JSVKNLG.js} +3 -3
  9. package/dist/cli/{chunk-V6BEYE35.mjs → chunk-4EBJNT5C.mjs} +2 -2
  10. package/dist/cli/{chunk-W3OAT72T.js → chunk-5KC7RLJO.js} +6 -6
  11. package/dist/cli/{chunk-VYLWKTDQ.mjs → chunk-5WGW57KC.mjs} +3 -3
  12. package/dist/cli/{chunk-U5O5TZC2.mjs → chunk-7AGGDRNR.mjs} +1 -1
  13. package/dist/cli/{chunk-5KO62ZXQ.mjs → chunk-7DFM5YLL.mjs} +4 -4
  14. package/dist/cli/{chunk-7M6C4STX.js → chunk-ACCQ5OM7.js} +16 -16
  15. package/dist/cli/{chunk-4TWDW7PI.mjs → chunk-BIPMJKLI.mjs} +5 -5
  16. package/dist/cli/{chunk-K6IHE6R5.js → chunk-FBMVFOD7.js} +8 -8
  17. package/dist/cli/{chunk-JIDT3SCM.js → chunk-FFUQFRKZ.js} +20 -20
  18. package/dist/cli/{chunk-CF2GXP2O.js → chunk-FPPCTKV6.js} +2 -2
  19. package/dist/cli/{chunk-X3ZRKA3V.mjs → chunk-HU7JG4RL.mjs} +1 -1
  20. package/dist/cli/{chunk-AJQUFGTJ.js → chunk-HUVI6EBF.js} +1 -1
  21. package/dist/cli/{chunk-LJDJ5GPR.js → chunk-JOSOQJ5P.js} +51 -51
  22. package/dist/cli/{chunk-6FLTFNAY.js → chunk-KB4XJRQW.js} +8 -8
  23. package/dist/cli/{chunk-6UJJZWT2.mjs → chunk-KDDB5S6E.mjs} +3 -3
  24. package/dist/cli/{chunk-L27PA5GT.js → chunk-LGOI2BRX.js} +10 -10
  25. package/dist/cli/{chunk-OTN6GV74.mjs → chunk-LSJYTDEK.mjs} +1 -1
  26. package/dist/cli/{chunk-LZUXLXL3.mjs → chunk-MHMRLS7W.mjs} +3 -3
  27. package/dist/cli/{chunk-EMIR3EXE.mjs → chunk-MNNMPS6J.mjs} +1 -1
  28. package/dist/cli/{chunk-MNEN3RYE.mjs → chunk-NLRKZJZF.mjs} +2 -2
  29. package/dist/cli/{chunk-ZLL345RP.mjs → chunk-OD236M42.mjs} +2 -2
  30. package/dist/cli/{chunk-ECS3KXM7.mjs → chunk-OQW2YP3P.mjs} +1 -1
  31. package/dist/cli/{chunk-ECVZUWRR.js → chunk-OY4JQBJG.js} +2 -2
  32. package/dist/cli/{chunk-XBVZ35XJ.js → chunk-PI65FBEA.js} +81 -81
  33. package/dist/cli/{chunk-HJ5WE6S5.mjs → chunk-RLQDDJZZ.mjs} +1 -1
  34. package/dist/cli/{chunk-NDODDIEC.js → chunk-S5TTNBEZ.js} +35 -35
  35. package/dist/cli/{chunk-EO7WQN5X.mjs → chunk-SOUQUQQE.mjs} +8 -8
  36. package/dist/cli/{chunk-2A63IJ2J.js → chunk-U3VAYRUL.js} +6 -6
  37. package/dist/cli/{chunk-NXVHTBBS.js → chunk-UIKSAVAE.js} +26 -26
  38. package/dist/cli/{chunk-DHERSOIG.js → chunk-VLJXYDGZ.js} +4 -4
  39. package/dist/cli/{chunk-7MZQ64FI.mjs → chunk-Y35FCRLQ.mjs} +1 -1
  40. package/dist/cli/{chunk-AA2DMXBN.js → chunk-Z4YO4J4J.js} +50 -50
  41. package/dist/cli/{chunk-GFGBHE43.mjs → chunk-ZAJAGMXA.mjs} +2 -2
  42. package/dist/cli/{csv-NIKB3RQX.js → csv-LRIV3RXE.js} +12 -12
  43. package/dist/cli/{csv-VOX5XXBB.mjs → csv-SDVEU3O5.mjs} +3 -3
  44. package/dist/cli/{db-ZH2NUZ3F.js → db-JS4OEDNY.js} +25 -25
  45. package/dist/cli/{db-GETE5AIV.mjs → db-NHYULZTM.mjs} +4 -4
  46. package/dist/cli/{describe-LWGEU6IE.mjs → describe-H5F72Q3S.mjs} +13 -13
  47. package/dist/cli/{describe-JZ6QOTPY.js → describe-ZFKCZHOJ.js} +17 -17
  48. package/dist/cli/{executions-DUMCTK4E.mjs → executions-25YKX4K3.mjs} +4 -4
  49. package/dist/cli/{executions-CEVMJ4QY.js → executions-QPAKZTNQ.js} +6 -6
  50. package/dist/cli/{feedback-VI4N44TJ.js → feedback-O63Z5O2R.js} +7 -7
  51. package/dist/cli/{feedback-UEYC3V3O.mjs → feedback-Z3BES6L6.mjs} +3 -3
  52. package/dist/cli/git-KSRP3PNB.js +24 -0
  53. package/dist/cli/{git-BOMW65V5.mjs → git-V7S3IBLO.mjs} +4 -4
  54. package/dist/cli/index.js +132 -132
  55. package/dist/cli/index.mjs +37 -37
  56. package/dist/cli/{legacy-noops-33X26VLN.mjs → legacy-noops-VRT5WZ5I.mjs} +4 -4
  57. package/dist/cli/{legacy-noops-SWPSUKTD.js → legacy-noops-ZLLYEGQ6.js} +7 -7
  58. package/dist/cli/{monitors-465GCZ73.mjs → monitors-44KSWY3M.mjs} +5 -5
  59. package/dist/cli/{monitors-6HMDLDKU.js → monitors-T7FKIDDY.js} +89 -89
  60. package/dist/cli/{org-CAAOHGTM.mjs → org-BZE4CGIT.mjs} +4 -4
  61. package/dist/cli/{org-JFQ4QBHQ.js → org-KPPG2KY4.js} +66 -66
  62. package/dist/cli/{play-NJP6HIQD.mjs → play-CHTP4NKR.mjs} +11 -11
  63. package/dist/cli/{play-UKD4KR4K.js → play-M5P74N3E.js} +284 -284
  64. package/dist/cli/{providers-UVHTTSKV.mjs → providers-CGLPOOXA.mjs} +4 -4
  65. package/dist/cli/{providers-YTRBZARB.js → providers-L3PK7NHU.js} +7 -7
  66. package/dist/cli/{quickstart-3GXVHJRL.js → quickstart-LJ7HELWE.js} +5 -5
  67. package/dist/cli/{quickstart-CB3TQ5L2.mjs → quickstart-NWG35AKK.mjs} +3 -3
  68. package/dist/cli/{search-NXA6526R.mjs → search-723TVSNC.mjs} +5 -5
  69. package/dist/cli/search-PESQULBG.js +30 -0
  70. package/dist/cli/{secrets-JFJK2X2N.mjs → secrets-ONN3Z5Y6.mjs} +4 -4
  71. package/dist/cli/{secrets-E3Y6YDKR.js → secrets-SVSSLPWB.js} +13 -13
  72. package/dist/cli/{sessions-HAZJLQQL.mjs → sessions-3KAEYQ3U.mjs} +4 -4
  73. package/dist/cli/{sessions-NKLP6TVY.js → sessions-7LYPPYUY.js} +5 -5
  74. package/dist/cli/{settings-BSD4DW4O.mjs → settings-2CBJI7FY.mjs} +9 -9
  75. package/dist/cli/{settings-D4LEZOEW.js → settings-JGJZO7EX.js} +76 -76
  76. package/dist/cli/{setup-KMZ4EFDK.js → setup-AIAOO7R4.js} +43 -43
  77. package/dist/cli/{setup-QO64H6YO.mjs → setup-BJCBDH34.mjs} +8 -8
  78. package/dist/cli/{skills-YLAH2YNN.mjs → skills-7QSQPQXX.mjs} +6 -6
  79. package/dist/cli/skills-WECIGARR.js +30 -0
  80. package/dist/cli/tools-HTEMYXT2.js +45 -0
  81. package/dist/cli/{tools-KGQ76YQE.mjs → tools-I7LYXHDR.mjs} +13 -13
  82. package/dist/cli/update-J4LSPXHD.js +32 -0
  83. package/dist/cli/{update-JXUSVBH7.mjs → update-LKY5OJ56.mjs} +8 -8
  84. package/dist/cli/{workflow-NYWZWN5Z.mjs → workflow-DD32BU7Y.mjs} +5 -5
  85. package/dist/cli/{workflow-YTXY76FN.js → workflow-Y4HGE7MB.js} +15 -15
  86. package/dist/index.js +6 -6
  87. package/dist/index.mjs +3 -3
  88. package/dist/install-integrity.json +80 -80
  89. package/dist/release.d.mts +1 -1
  90. package/dist/release.d.ts +1 -1
  91. package/dist/release.js +2 -2
  92. package/dist/release.mjs +1 -1
  93. package/package.json +1 -1
  94. package/dist/cli/auth-4CBIXFOR.js +0 -40
  95. package/dist/cli/git-QISWQQM3.js +0 -24
  96. package/dist/cli/search-YM4ATHTV.js +0 -30
  97. package/dist/cli/skills-T5VTI2LZ.js +0 -30
  98. package/dist/cli/tools-M574OF4H.js +0 -45
  99. package/dist/cli/update-WNG5DNNO.js +0 -32
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; } var _class;
2
2
 
3
- var _chunk2A63IJ2Jjs = require('./chunk-2A63IJ2J.js');
3
+ var _chunkU3VAYRULjs = require('./chunk-U3VAYRUL.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -15,7 +15,7 @@ var CliProgress = (_class = class {
15
15
 
16
16
  // --json output is one JSON document: progress never renders under it.
17
17
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);
18
- this.enabled = enabled && !_chunk2A63IJ2Jjs.isJsonOutputMode.call(void 0, );
18
+ this.enabled = enabled && !_chunkU3VAYRULjs.isJsonOutputMode.call(void 0, );
19
19
  }
20
20
  phase(message) {
21
21
  if (!this.enabled || this.lastMessage === message) {
@@ -40,7 +40,7 @@ var CliProgress = (_class = class {
40
40
  this.settle("\u2717");
41
41
  }
42
42
  writeLogLine(line) {
43
- if (_chunk2A63IJ2Jjs.isJsonOutputMode.call(void 0, )) return;
43
+ if (_chunkU3VAYRULjs.isJsonOutputMode.call(void 0, )) return;
44
44
  if (!this.enabled) {
45
45
  process.stderr.write(`${line}
46
46
  `);
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-7MZQ64FI.mjs";
5
+ } from "./chunk-Y35FCRLQ.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-U5O5TZC2.mjs";
8
+ } from "./chunk-7AGGDRNR.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCF2GXP2Ojs = require('./chunk-CF2GXP2O.js');
3
+ var _chunkFPPCTKV6js = require('./chunk-FPPCTKV6.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkLJDJ5GPRjs = require('./chunk-LJDJ5GPR.js');
8
+ var _chunkJOSOQJ5Pjs = require('./chunk-JOSOQJ5P.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -14,17 +14,17 @@ function usesInlinePlayAdmission(command, args) {
14
14
  );
15
15
  }
16
16
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured") {
17
- if (maintenancePolicy !== "off") _chunkLJDJ5GPRjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
- const compatibility = await _chunkCF2GXP2Ojs.traceCliSpan.call(void 0,
17
+ if (maintenancePolicy !== "off") _chunkJOSOQJ5Pjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
+ const compatibility = await _chunkFPPCTKV6js.traceCliSpan.call(void 0,
19
19
  "cli.sdk_compatibility",
20
20
  { baseUrl, command: "plays run" },
21
- () => _chunkLJDJ5GPRjs.checkSdkCompatibility.call(void 0, baseUrl, {
21
+ () => _chunkJOSOQJ5Pjs.checkSdkCompatibility.call(void 0, baseUrl, {
22
22
  command: "plays run",
23
23
  persistCache: maintenancePolicy !== "off"
24
24
  })
25
25
  );
26
26
  if (compatibility.error) throw compatibility.error;
27
- _chunkLJDJ5GPRjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
27
+ _chunkJOSOQJ5Pjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
28
28
  quietAdvisory: true
29
29
  });
30
30
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-X3ZRKA3V.mjs";
3
+ } from "./chunk-HU7JG4RL.mjs";
4
4
  import {
5
5
  DEFAULT_SKILL_AGENTS,
6
6
  KNOWN_SKILL_AGENTS,
@@ -17,13 +17,13 @@ import {
17
17
  sdkCliStateDirPath,
18
18
  skillsAgentPathSegment,
19
19
  writeSdkSkillsLocalVersion
20
- } from "./chunk-U5O5TZC2.mjs";
20
+ } from "./chunk-7AGGDRNR.mjs";
21
21
  import {
22
22
  DeeplineError
23
23
  } from "./chunk-HBL4PM5Q.mjs";
24
24
  import {
25
25
  SDK_RELEASE
26
- } from "./chunk-ECS3KXM7.mjs";
26
+ } from "./chunk-OQW2YP3P.mjs";
27
27
 
28
28
  // src/compat.ts
29
29
  import { randomUUID } from "crypto";
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-HBL4PM5Q.mjs";
18
18
  import {
19
19
  SDK_RELEASE
20
- } from "./chunk-ECS3KXM7.mjs";
20
+ } from "./chunk-OQW2YP3P.mjs";
21
21
 
22
22
  // src/config.ts
23
23
  import {
@@ -4,18 +4,18 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-4TWDW7PI.mjs";
7
+ } from "./chunk-BIPMJKLI.mjs";
8
8
  import {
9
9
  isCiEnvironment
10
- } from "./chunk-VYLWKTDQ.mjs";
10
+ } from "./chunk-5WGW57KC.mjs";
11
11
  import {
12
12
  addJsonNotice,
13
13
  isJsonOutputMode
14
- } from "./chunk-7MZQ64FI.mjs";
14
+ } from "./chunk-Y35FCRLQ.mjs";
15
15
  import {
16
16
  SDK_VERSION,
17
17
  resolveApiKeyForBaseUrl
18
- } from "./chunk-U5O5TZC2.mjs";
18
+ } from "./chunk-7AGGDRNR.mjs";
19
19
 
20
20
  // src/cli/compatibility-catalog.ts
21
21
  var readers = /* @__PURE__ */ new WeakMap();
@@ -1,19 +1,19 @@
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 _chunkECVZUWRRjs = require('./chunk-ECVZUWRR.js');
4
+ var _chunkOY4JQBJGjs = require('./chunk-OY4JQBJG.js');
5
5
 
6
6
 
7
- var _chunkNDODDIECjs = require('./chunk-NDODDIEC.js');
7
+ var _chunkS5TTNBEZjs = require('./chunk-S5TTNBEZ.js');
8
8
 
9
9
 
10
- var _chunkLJDJ5GPRjs = require('./chunk-LJDJ5GPR.js');
10
+ var _chunkJOSOQJ5Pjs = require('./chunk-JOSOQJ5P.js');
11
11
 
12
12
 
13
- var _chunk2A63IJ2Jjs = require('./chunk-2A63IJ2J.js');
13
+ var _chunkU3VAYRULjs = require('./chunk-U3VAYRUL.js');
14
14
 
15
15
 
16
- var _chunkDHERSOIGjs = require('./chunk-DHERSOIG.js');
16
+ var _chunkVLJXYDGZjs = require('./chunk-VLJXYDGZ.js');
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  var _child_process = require('child_process');
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
495
495
  }
496
496
  function resolveNpmGlobalPrefix(env) {
497
497
  try {
498
- const plan = _chunkLJDJ5GPRjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkJOSOQJ5Pjs.resolveShellSpawn.call(void 0,
499
499
  "npm",
500
500
  ["prefix", "-g"],
501
501
  process.platform,
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
556
556
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
557
557
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
558
558
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
559
- const npmVersion = options.npmVersion === void 0 ? _chunkECVZUWRRjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkECVZUWRRjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunkOY4JQBJGjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkOY4JQBJGjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
561
561
  const args = installPrefix ? [
562
562
  "install",
563
563
  "-g",
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
567
567
  packageSpec
568
568
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
569
569
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
570
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkDHERSOIGjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkVLJXYDGZjs.autoDetectBaseUrl.call(void 0, )
571
571
  );
572
572
  return {
573
573
  kind: "npm-global",
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
816
816
  function runCommand(command, args, env = process.env) {
817
817
  return new Promise((resolveResult) => {
818
818
  let output = "";
819
- const plan = _chunkLJDJ5GPRjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkJOSOQJ5Pjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
820
820
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
821
821
  stdio: ["inherit", "pipe", "pipe"],
822
822
  shell: plan.shell,
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1199
1199
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1200
1200
  }
1201
1201
  async function runUpdateCommand(options, dependencies = {}) {
1202
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkDHERSOIGjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkVLJXYDGZjs.autoDetectBaseUrl));
1203
1203
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1204
1204
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1205
1205
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1206
1206
  const originalWrite = process.stdout.write.bind(process.stdout);
1207
1207
  process.stdout.write = (() => true);
1208
1208
  try {
1209
- const exitCode = await _chunkNDODDIECjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkS5TTNBEZjs.runSkillsCommand.call(void 0, { json: true });
1210
1210
  if (exitCode !== 0) {
1211
1211
  throw new Error(
1212
1212
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1277
1277
  ]
1278
1278
  };
1279
1279
  if (options.json && !options.executeWithJson) {
1280
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
1284
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
1285
1285
  {
1286
1286
  ...plan,
1287
1287
  render: {
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1294
1294
  return 0;
1295
1295
  }
1296
1296
  if (plan.kind === "source" || plan.kind === "homebrew") {
1297
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
1327
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-OTN6GV74.mjs";
4
+ } from "./chunk-LSJYTDEK.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-6UJJZWT2.mjs";
7
+ } from "./chunk-KDDB5S6E.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-VYLWKTDQ.mjs";
10
+ } from "./chunk-5WGW57KC.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-7MZQ64FI.mjs";
13
+ } from "./chunk-Y35FCRLQ.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-U5O5TZC2.mjs";
16
+ } from "./chunk-7AGGDRNR.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -1,10 +1,10 @@
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 _chunk2A63IJ2Jjs = require('./chunk-2A63IJ2J.js');
4
+ var _chunkU3VAYRULjs = require('./chunk-U3VAYRUL.js');
5
5
 
6
6
 
7
- var _chunkDHERSOIGjs = require('./chunk-DHERSOIG.js');
7
+ var _chunkVLJXYDGZjs = require('./chunk-VLJXYDGZ.js');
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
 
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
139
139
  const newestFirst = listSessionFiles(agent).sort(
140
140
  (a, b) => b.mtimeMs - a.mtimeMs
141
141
  );
142
- const sessionId = _chunkDHERSOIGjs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkVLJXYDGZjs.agentSessionIdFromEnvironment.call(void 0,
143
143
  process.env,
144
144
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
145
145
  );
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
451
451
  return { encodedContent: encoded, needsChunking: true };
452
452
  }
453
453
  async function uploadPayload(path, payload) {
454
- const { http } = _chunk2A63IJ2Jjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunkU3VAYRULjs.getAuthedHttpClient.call(void 0, );
455
455
  return await http.post(path, payload);
456
456
  }
457
457
  async function uploadChunkedSessions(sessions, options) {
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
484
484
  ...options.rating ? { rating: options.rating } : {}
485
485
  });
486
486
  const sessionIds = sessions.map((session) => session.sessionId);
487
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
487
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
488
488
  {
489
489
  ...response,
490
490
  ok: true,
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
516
516
  filename: _path.basename.call(void 0, filePath),
517
517
  ...rating ? { rating } : {}
518
518
  });
519
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
519
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
520
520
  {
521
521
  ...response2,
522
522
  ok: true,
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
566
566
  ...rating ? { rating } : {}
567
567
  });
568
568
  const sessionIds = built.map((session) => session.sessionId);
569
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
569
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
570
570
  {
571
571
  ...response,
572
572
  ok: true,
@@ -674,7 +674,7 @@ ${refreshMeta}
674
674
  </body>
675
675
  </html>`;
676
676
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
677
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
677
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -4,18 +4,18 @@
4
4
 
5
5
 
6
6
 
7
- var _chunk7M6C4STXjs = require('./chunk-7M6C4STX.js');
7
+ var _chunkACCQ5OM7js = require('./chunk-ACCQ5OM7.js');
8
8
 
9
9
 
10
- var _chunkLJDJ5GPRjs = require('./chunk-LJDJ5GPR.js');
10
+ var _chunkJOSOQJ5Pjs = require('./chunk-JOSOQJ5P.js');
11
11
 
12
12
 
13
13
 
14
- var _chunk2A63IJ2Jjs = require('./chunk-2A63IJ2J.js');
14
+ var _chunkU3VAYRULjs = require('./chunk-U3VAYRUL.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkDHERSOIGjs = require('./chunk-DHERSOIG.js');
18
+ var _chunkVLJXYDGZjs = require('./chunk-VLJXYDGZ.js');
19
19
 
20
20
  // src/cli/compatibility-catalog.ts
21
21
  var readers = /* @__PURE__ */ new WeakMap();
@@ -42,7 +42,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
42
42
  async function reportAutoUpdateEvent(input) {
43
43
  let apiKey = "";
44
44
  try {
45
- apiKey = _chunkDHERSOIGjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
45
+ apiKey = _chunkVLJXYDGZjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
46
46
  } catch (e2) {
47
47
  return;
48
48
  }
@@ -58,15 +58,15 @@ async function reportAutoUpdateEvent(input) {
58
58
  headers: {
59
59
  Authorization: `Bearer ${apiKey}`,
60
60
  "Content-Type": "application/json",
61
- "User-Agent": `deepline-ts-sdk/${_chunkDHERSOIGjs.SDK_VERSION}`,
61
+ "User-Agent": `deepline-ts-sdk/${_chunkVLJXYDGZjs.SDK_VERSION}`,
62
62
  "X-Deepline-Client-Family": "sdk",
63
63
  "X-Deepline-CLI-Family": "sdk",
64
- "X-Deepline-CLI-Version": _chunkDHERSOIGjs.SDK_VERSION,
65
- "X-Deepline-SDK-Version": _chunkDHERSOIGjs.SDK_VERSION
64
+ "X-Deepline-CLI-Version": _chunkVLJXYDGZjs.SDK_VERSION,
65
+ "X-Deepline-SDK-Version": _chunkVLJXYDGZjs.SDK_VERSION
66
66
  },
67
67
  body: JSON.stringify({
68
68
  event: input.event,
69
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkDHERSOIGjs.SDK_VERSION,
69
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkVLJXYDGZjs.SDK_VERSION,
70
70
  target_version: input.response.latest,
71
71
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
72
72
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -85,13 +85,13 @@ function envTruthy(name) {
85
85
  return value === "1" || value === "true" || value === "yes";
86
86
  }
87
87
  function shouldSkipSelfUpdate(policy) {
88
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunk7M6C4STXjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkLJDJ5GPRjs.isCiEnvironment.call(void 0, );
88
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkACCQ5OM7js.shouldRunCliAutoUpdate.call(void 0, ) || _chunkJOSOQJ5Pjs.isCiEnvironment.call(void 0, );
89
89
  }
90
90
  function isDowngradeAutoUpdateResponse(response) {
91
91
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
92
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkDHERSOIGjs.SDK_VERSION;
92
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkVLJXYDGZjs.SDK_VERSION;
93
93
  if (!target) return false;
94
- return _chunk7M6C4STXjs.compareUpdateVersions.call(void 0, target, current) < 0;
94
+ return _chunkACCQ5OM7js.compareUpdateVersions.call(void 0, target, current) < 0;
95
95
  }
96
96
  function relaunchCurrentCommand(plan, runtime = {}) {
97
97
  return new Promise((resolve) => {
@@ -144,7 +144,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
144
144
  }
145
145
  if (isDowngradeAutoUpdateResponse(response)) {
146
146
  const target = response.latest;
147
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkDHERSOIGjs.SDK_VERSION;
147
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkVLJXYDGZjs.SDK_VERSION;
148
148
  process.stderr.write(
149
149
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
150
150
  `
@@ -152,21 +152,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
152
152
  return false;
153
153
  }
154
154
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
155
- const plan = _chunk7M6C4STXjs.resolveUpdatePlan.call(void 0, {
155
+ const plan = _chunkACCQ5OM7js.resolveUpdatePlan.call(void 0, {
156
156
  packageSpec,
157
157
  requireVerifiedNpmOwnership: true,
158
158
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
159
159
  });
160
- if (!_chunk7M6C4STXjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
160
+ if (!_chunkACCQ5OM7js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
161
161
  return false;
162
162
  }
163
163
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
164
164
  deferredAutoUpdate = async () => {
165
165
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
166
166
  };
167
- if (_chunk2A63IJ2Jjs.isJsonOutputMode.call(void 0, )) {
167
+ if (_chunkU3VAYRULjs.isJsonOutputMode.call(void 0, )) {
168
168
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
169
- _chunk2A63IJ2Jjs.addJsonNotice.call(void 0, {
169
+ _chunkU3VAYRULjs.addJsonNotice.call(void 0, {
170
170
  code: "sdk_update_queued",
171
171
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
172
172
  });
@@ -179,7 +179,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
179
179
  return true;
180
180
  }
181
181
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
182
- if (!_chunk7M6C4STXjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
182
+ if (!_chunkACCQ5OM7js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
183
183
  const autoUpdate = response.auto_update;
184
184
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
185
185
  process.stderr.write(
@@ -192,7 +192,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
192
192
  event: "started",
193
193
  installKind: plan.kind
194
194
  });
195
- const updateResult = await _chunk7M6C4STXjs.runAutomaticUpdatePlan.call(void 0, plan);
195
+ const updateResult = await _chunkACCQ5OM7js.runAutomaticUpdatePlan.call(void 0, plan);
196
196
  if (updateResult.status === "skipped_previous_failure") {
197
197
  void reportAutoUpdateEvent({
198
198
  baseUrl,
@@ -243,7 +243,7 @@ var _crypto = require('crypto');
243
243
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
244
244
  var activeToolExecuteCommand = null;
245
245
  function progressLine(line) {
246
- if (!_chunk2A63IJ2Jjs.isJsonOutputMode.call(void 0, )) console.error(line);
246
+ if (!_chunkU3VAYRULjs.isJsonOutputMode.call(void 0, )) console.error(line);
247
247
  }
248
248
  function beginToolExecuteCommand() {
249
249
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -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(); } }
2
2
 
3
- var _chunk2A63IJ2Jjs = require('./chunk-2A63IJ2J.js');
3
+ var _chunkU3VAYRULjs = require('./chunk-U3VAYRUL.js');
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  var _commander = require('commander');
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
33
33
  sinceStartMs: now - cliTraceStartedAt,
34
34
  ...event
35
35
  };
36
- _chunk2A63IJ2Jjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkU3VAYRULjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-7MZQ64FI.mjs";
3
+ } from "./chunk-Y35FCRLQ.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.458",
52
+ version: "0.3.459",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."