deepline 0.3.456 → 0.3.457

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 (98) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +1 -1
  3. package/dist/cli/{auth-OBWRDCK3.mjs → auth-MZG5NF5U.mjs} +4 -4
  4. package/dist/cli/auth-O3XJDECG.js +40 -0
  5. package/dist/cli/{billing-ZR4OHVLA.mjs → billing-DWKZIL66.mjs} +4 -4
  6. package/dist/cli/{billing-XDDTD7C3.js → billing-RG3LF5OU.js} +73 -73
  7. package/dist/cli/{chunk-KFCXTVDW.js → chunk-5TIASNUT.js} +20 -20
  8. package/dist/cli/{chunk-AGWG2PVB.mjs → chunk-7IIRZXCO.mjs} +1 -1
  9. package/dist/cli/{chunk-4X5H47H5.js → chunk-7JW4WIWU.js} +81 -81
  10. package/dist/cli/{chunk-7PW2K3AT.mjs → chunk-BD5A242C.mjs} +2 -2
  11. package/dist/cli/{chunk-ZCXFZSVH.mjs → chunk-CHBYYJ7Q.mjs} +1 -1
  12. package/dist/cli/{chunk-M7FF76WO.mjs → chunk-CQHTN3RY.mjs} +1 -1
  13. package/dist/cli/{chunk-SHWMFFKX.js → chunk-CTWD4ZHP.js} +2 -2
  14. package/dist/cli/{chunk-APPPIUEW.mjs → chunk-E5BGIERY.mjs} +1 -1
  15. package/dist/cli/{chunk-WEHXHC7N.js → chunk-EHEBXARN.js} +1 -1
  16. package/dist/cli/{chunk-4EMVWEUJ.mjs → chunk-EXOCQILY.mjs} +2 -2
  17. package/dist/cli/{chunk-NXJEDRPH.mjs → chunk-F64XBZ3A.mjs} +2 -2
  18. package/dist/cli/{chunk-J2KWJKTM.js → chunk-GLXYOSEL.js} +3 -3
  19. package/dist/cli/{chunk-K5TWU5I6.js → chunk-J2ZS4PEC.js} +51 -51
  20. package/dist/cli/{chunk-U4JZWJ52.mjs → chunk-JANCYPKP.mjs} +1 -1
  21. package/dist/cli/{chunk-XVGEAB44.js → chunk-JCWEQQGE.js} +35 -35
  22. package/dist/cli/{chunk-BQWHXKXO.js → chunk-JL5DCH37.js} +16 -16
  23. package/dist/cli/{chunk-OQEIP4HF.js → chunk-KKPKLLNB.js} +6 -6
  24. package/dist/cli/{chunk-76GTVFFG.js → chunk-KTAVYWYI.js} +8 -8
  25. package/dist/cli/{chunk-SAO7KYJE.js → chunk-KVXBMYRY.js} +2 -2
  26. package/dist/cli/{chunk-W64S7C55.mjs → chunk-L7WE7Q63.mjs} +1 -1
  27. package/dist/cli/{chunk-GQVMERZ7.mjs → chunk-LHHJATXY.mjs} +2 -2
  28. package/dist/cli/{chunk-QLB5T7IS.js → chunk-LKAITV2M.js} +26 -26
  29. package/dist/cli/{chunk-ZODPS5JW.mjs → chunk-LVGCJZ5S.mjs} +1 -1
  30. package/dist/cli/{chunk-XRNBDUYR.mjs → chunk-MU4ZDVQK.mjs} +8 -8
  31. package/dist/cli/{chunk-CJTOZLFI.js → chunk-MWRPRDHW.js} +6 -6
  32. package/dist/cli/{chunk-WXCYW6PA.mjs → chunk-NMVLO3JM.mjs} +3 -3
  33. package/dist/cli/{chunk-YMV3AULG.mjs → chunk-QGLFBQ43.mjs} +5 -5
  34. package/dist/cli/{chunk-VVYM2F7X.js → chunk-SFCNYJ4B.js} +10 -10
  35. package/dist/cli/{chunk-S3D7OY6D.js → chunk-TTBQOHG4.js} +4 -4
  36. package/dist/cli/{chunk-SOUPX3YJ.js → chunk-US3SZ7VQ.js} +50 -50
  37. package/dist/cli/{chunk-PPF557JY.js → chunk-VLL6RRIA.js} +8 -8
  38. package/dist/cli/{chunk-IQ5OW2WC.mjs → chunk-W3IZ55XS.mjs} +3 -3
  39. package/dist/cli/{chunk-P5MB2PXV.mjs → chunk-X4XNGIPL.mjs} +3 -3
  40. package/dist/cli/{chunk-HZODG765.mjs → chunk-YVQVS7SF.mjs} +4 -4
  41. package/dist/cli/{csv-P2ATJQUY.mjs → csv-27M4PREP.mjs} +3 -3
  42. package/dist/cli/{csv-B35BFYGT.js → csv-QSAAPCYE.js} +12 -12
  43. package/dist/cli/{db-PSITREEX.mjs → db-H73PJID6.mjs} +4 -4
  44. package/dist/cli/{db-ELEZFHG7.js → db-LYPTNAPX.js} +25 -25
  45. package/dist/cli/{describe-AXWFWCWZ.js → describe-KYLGQSMO.js} +17 -17
  46. package/dist/cli/{describe-E2ZFRC5Z.mjs → describe-Y5BHLZLH.mjs} +13 -13
  47. package/dist/cli/{executions-GWYPVJYE.js → executions-DHGYCPFO.js} +6 -6
  48. package/dist/cli/{executions-BZTPNWW2.mjs → executions-ZGQEWS2X.mjs} +4 -4
  49. package/dist/cli/{feedback-UCW6EFOR.js → feedback-3YQPYCMT.js} +7 -7
  50. package/dist/cli/{feedback-F3RKOHZN.mjs → feedback-EBXU4ANA.mjs} +3 -3
  51. package/dist/cli/git-4ACVGA4W.js +24 -0
  52. package/dist/cli/{git-LGQMBBO3.mjs → git-CFPU33DJ.mjs} +4 -4
  53. package/dist/cli/index.js +132 -132
  54. package/dist/cli/index.mjs +37 -37
  55. package/dist/cli/{legacy-noops-SRH3BPNV.js → legacy-noops-CDKZ7RYT.js} +7 -7
  56. package/dist/cli/{legacy-noops-4TVFFILL.mjs → legacy-noops-TFGIWA5C.mjs} +4 -4
  57. package/dist/cli/{monitors-WBST3XUH.mjs → monitors-6ED5RJYG.mjs} +5 -5
  58. package/dist/cli/{monitors-6NHXI3EW.js → monitors-PCMAB7NP.js} +89 -89
  59. package/dist/cli/{org-5EFVZUB2.js → org-KAARC2XN.js} +66 -66
  60. package/dist/cli/{org-DSDNRGDV.mjs → org-V4QYXLOL.mjs} +4 -4
  61. package/dist/cli/{play-EKOV2T5N.mjs → play-OTTJ6S2G.mjs} +11 -11
  62. package/dist/cli/{play-RMWBABCH.js → play-PPWCRYME.js} +284 -284
  63. package/dist/cli/{providers-Y4EYH7IZ.js → providers-ICY74FM5.js} +13 -13
  64. package/dist/cli/{providers-AWNJWZWD.mjs → providers-ULL5EJHY.mjs} +4 -4
  65. package/dist/cli/{quickstart-CPW66MBY.mjs → quickstart-QLVS53TD.mjs} +3 -3
  66. package/dist/cli/{quickstart-JQ3W6LWQ.js → quickstart-YOUCGJQP.js} +5 -5
  67. package/dist/cli/{search-VP4Y6MQU.mjs → search-AGYQR6YQ.mjs} +5 -5
  68. package/dist/cli/search-XNU6FOOH.js +30 -0
  69. package/dist/cli/{secrets-CPMHM5HU.js → secrets-OA3HHNHP.js} +13 -13
  70. package/dist/cli/{secrets-2VEENFF4.mjs → secrets-PJFO3RZW.mjs} +4 -4
  71. package/dist/cli/{sessions-ALPCLDJI.js → sessions-OYTROOOG.js} +5 -5
  72. package/dist/cli/{sessions-INDUUZ3K.mjs → sessions-WNRZQEBL.mjs} +4 -4
  73. package/dist/cli/{settings-3YBZZPAM.mjs → settings-JIYDWBPM.mjs} +9 -9
  74. package/dist/cli/{settings-5PO4C33K.js → settings-RXGOZAZI.js} +76 -76
  75. package/dist/cli/{setup-RK2MUVXO.js → setup-VXNSUQYT.js} +43 -43
  76. package/dist/cli/{setup-7SOJ4INF.mjs → setup-YAYE7KQM.mjs} +8 -8
  77. package/dist/cli/skills-5UCGZVCN.js +30 -0
  78. package/dist/cli/{skills-5PR5RTOX.mjs → skills-XYDBLLRK.mjs} +6 -6
  79. package/dist/cli/{tools-OSJJUP36.mjs → tools-TRDYMDPL.mjs} +13 -13
  80. package/dist/cli/tools-UMSFNX5B.js +45 -0
  81. package/dist/cli/update-K5AOROYI.js +32 -0
  82. package/dist/cli/{update-TDCMXJ62.mjs → update-KH36JGLK.mjs} +8 -8
  83. package/dist/cli/{workflow-6DKCCQYA.js → workflow-CQZBGIQ2.js} +15 -15
  84. package/dist/cli/{workflow-6O24O6LT.mjs → workflow-EYWCMD4D.mjs} +5 -5
  85. package/dist/index.js +6 -6
  86. package/dist/index.mjs +3 -3
  87. package/dist/install-integrity.json +80 -80
  88. package/dist/release.d.mts +1 -1
  89. package/dist/release.d.ts +1 -1
  90. package/dist/release.js +2 -2
  91. package/dist/release.mjs +1 -1
  92. package/package.json +1 -1
  93. package/dist/cli/auth-X5H25CM4.js +0 -40
  94. package/dist/cli/git-HEKGLILK.js +0 -24
  95. package/dist/cli/search-PJXI2GJR.js +0 -30
  96. package/dist/cli/skills-J3243JQE.js +0 -30
  97. package/dist/cli/tools-V2B44RFH.js +0 -45
  98. package/dist/cli/update-CKIL2SWB.js +0 -32
@@ -4,18 +4,18 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkBQWHXKXOjs = require('./chunk-BQWHXKXO.js');
7
+ var _chunkJL5DCH37js = require('./chunk-JL5DCH37.js');
8
8
 
9
9
 
10
- var _chunkK5TWU5I6js = require('./chunk-K5TWU5I6.js');
10
+ var _chunkJ2ZS4PECjs = require('./chunk-J2ZS4PEC.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkOQEIP4HFjs = require('./chunk-OQEIP4HF.js');
14
+ var _chunkKKPKLLNBjs = require('./chunk-KKPKLLNB.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkS3D7OY6Djs = require('./chunk-S3D7OY6D.js');
18
+ var _chunkTTBQOHG4js = require('./chunk-TTBQOHG4.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 = _chunkS3D7OY6Djs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
45
+ apiKey = _chunkTTBQOHG4js.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/${_chunkS3D7OY6Djs.SDK_VERSION}`,
61
+ "User-Agent": `deepline-ts-sdk/${_chunkTTBQOHG4js.SDK_VERSION}`,
62
62
  "X-Deepline-Client-Family": "sdk",
63
63
  "X-Deepline-CLI-Family": "sdk",
64
- "X-Deepline-CLI-Version": _chunkS3D7OY6Djs.SDK_VERSION,
65
- "X-Deepline-SDK-Version": _chunkS3D7OY6Djs.SDK_VERSION
64
+ "X-Deepline-CLI-Version": _chunkTTBQOHG4js.SDK_VERSION,
65
+ "X-Deepline-SDK-Version": _chunkTTBQOHG4js.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()]) || _chunkS3D7OY6Djs.SDK_VERSION,
69
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkTTBQOHG4js.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") || !_chunkBQWHXKXOjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkK5TWU5I6js.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") || !_chunkJL5DCH37js.shouldRunCliAutoUpdate.call(void 0, ) || _chunkJ2ZS4PECjs.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()]) || _chunkS3D7OY6Djs.SDK_VERSION;
92
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkTTBQOHG4js.SDK_VERSION;
93
93
  if (!target) return false;
94
- return _chunkBQWHXKXOjs.compareUpdateVersions.call(void 0, target, current) < 0;
94
+ return _chunkJL5DCH37js.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()]) || _chunkS3D7OY6Djs.SDK_VERSION;
147
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkTTBQOHG4js.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 = _chunkBQWHXKXOjs.resolveUpdatePlan.call(void 0, {
155
+ const plan = _chunkJL5DCH37js.resolveUpdatePlan.call(void 0, {
156
156
  packageSpec,
157
157
  requireVerifiedNpmOwnership: true,
158
158
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
159
159
  });
160
- if (!_chunkBQWHXKXOjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
160
+ if (!_chunkJL5DCH37js.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 (_chunkOQEIP4HFjs.isJsonOutputMode.call(void 0, )) {
167
+ if (_chunkKKPKLLNBjs.isJsonOutputMode.call(void 0, )) {
168
168
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
169
- _chunkOQEIP4HFjs.addJsonNotice.call(void 0, {
169
+ _chunkKKPKLLNBjs.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 (!_chunkBQWHXKXOjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
182
+ if (!_chunkJL5DCH37js.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 _chunkBQWHXKXOjs.runAutomaticUpdatePlan.call(void 0, plan);
195
+ const updateResult = await _chunkJL5DCH37js.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 (!_chunkOQEIP4HFjs.isJsonOutputMode.call(void 0, )) console.error(line);
246
+ if (!_chunkKKPKLLNBjs.isJsonOutputMode.call(void 0, )) console.error(line);
247
247
  }
248
248
  function beginToolExecuteCommand() {
249
249
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -3,7 +3,7 @@ import {
3
3
  detectAgentRuntime,
4
4
  resolveCliCommandContext,
5
5
  resolveConfig
6
- } from "./chunk-M7FF76WO.mjs";
6
+ } from "./chunk-CQHTN3RY.mjs";
7
7
  import {
8
8
  DeeplineError,
9
9
  serializeToolExecutionFailure