deepline 0.3.454 → 0.3.456

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 (115) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +23 -0
  2. package/dist/bundling-sources/sdk/src/http.ts +17 -3
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/tool-calls.ts +13 -1
  5. package/dist/bundling-sources/sdk/src/types.ts +2 -0
  6. package/dist/cli/{auth-YNPT3IER.mjs → auth-OBWRDCK3.mjs} +4 -4
  7. package/dist/cli/auth-X5H25CM4.js +40 -0
  8. package/dist/cli/{billing-VXIIND6T.js → billing-XDDTD7C3.js} +73 -73
  9. package/dist/cli/{billing-TLRVAOXB.mjs → billing-ZR4OHVLA.mjs} +4 -4
  10. package/dist/cli/{chunk-U72KDMYJ.mjs → chunk-4EMVWEUJ.mjs} +2 -2
  11. package/dist/cli/{chunk-VHGGHRGY.js → chunk-4X5H47H5.js} +93 -92
  12. package/dist/cli/{chunk-BUYQU7TB.js → chunk-76GTVFFG.js} +8 -8
  13. package/dist/cli/{chunk-R2GLGLDR.mjs → chunk-77Z5BO7D.mjs} +21 -0
  14. package/dist/cli/{chunk-27NNEBIS.mjs → chunk-7PW2K3AT.mjs} +2 -2
  15. package/dist/cli/{chunk-RDAUQGPG.mjs → chunk-AGWG2PVB.mjs} +1 -1
  16. package/dist/cli/{chunk-5OQMUDPM.mjs → chunk-APPPIUEW.mjs} +1 -1
  17. package/dist/cli/{chunk-NMJ4D2WO.js → chunk-AQFHU3DW.js} +21 -0
  18. package/dist/cli/{chunk-KPPL2WNH.js → chunk-BQWHXKXO.js} +16 -16
  19. package/dist/cli/{chunk-WONLZMDF.js → chunk-CJTOZLFI.js} +6 -6
  20. package/dist/cli/{chunk-DCZSJON4.mjs → chunk-GQVMERZ7.mjs} +2 -2
  21. package/dist/cli/{chunk-LVHRP7XM.mjs → chunk-HZODG765.mjs} +4 -4
  22. package/dist/cli/{chunk-THJ7ORNM.mjs → chunk-IQ5OW2WC.mjs} +3 -3
  23. package/dist/cli/{chunk-7ICOQRW5.js → chunk-J2KWJKTM.js} +3 -3
  24. package/dist/cli/{chunk-YPYR4ACF.js → chunk-K5TWU5I6.js} +51 -51
  25. package/dist/cli/{chunk-IJ5WCZ32.js → chunk-KFCXTVDW.js} +20 -20
  26. package/dist/cli/{chunk-TECW24CR.mjs → chunk-M7FF76WO.mjs} +5 -3
  27. package/dist/cli/{chunk-5GJH2BYN.mjs → chunk-NXJEDRPH.mjs} +2 -2
  28. package/dist/cli/{chunk-SJH66N73.js → chunk-OQEIP4HF.js} +6 -6
  29. package/dist/cli/{chunk-G6ZOZQXT.mjs → chunk-P5MB2PXV.mjs} +3 -3
  30. package/dist/cli/{chunk-FKGXZXRP.js → chunk-PPF557JY.js} +8 -8
  31. package/dist/cli/{chunk-6JY2NGJN.js → chunk-QLB5T7IS.js} +26 -26
  32. package/dist/cli/{chunk-VXBEHDM6.js → chunk-S3D7OY6D.js} +8 -6
  33. package/dist/cli/{chunk-S2PO3X5R.js → chunk-SAO7KYJE.js} +2 -2
  34. package/dist/cli/{chunk-QLMQ2NAQ.js → chunk-SHWMFFKX.js} +2 -2
  35. package/dist/cli/{chunk-33FEF4RH.js → chunk-SOUPX3YJ.js} +50 -50
  36. package/dist/cli/{chunk-2I7GE7KB.mjs → chunk-U4JZWJ52.mjs} +1 -1
  37. package/dist/cli/{chunk-Z5PQSTYX.js → chunk-VVYM2F7X.js} +252 -239
  38. package/dist/cli/{chunk-UT6W675P.mjs → chunk-W64S7C55.mjs} +1 -1
  39. package/dist/cli/{chunk-7V3OKSB2.js → chunk-WEHXHC7N.js} +1 -1
  40. package/dist/cli/{chunk-CPXT4KPC.mjs → chunk-WXCYW6PA.mjs} +3 -3
  41. package/dist/cli/{chunk-YETNOEAZ.mjs → chunk-XRNBDUYR.mjs} +10 -9
  42. package/dist/cli/{chunk-P5IQ6LIK.js → chunk-XVGEAB44.js} +35 -35
  43. package/dist/cli/{chunk-EXWKHMMP.mjs → chunk-YMV3AULG.mjs} +5 -5
  44. package/dist/cli/{chunk-LWYOJG66.mjs → chunk-ZCXFZSVH.mjs} +1 -1
  45. package/dist/cli/{chunk-YXCLG3KB.mjs → chunk-ZODPS5JW.mjs} +15 -2
  46. package/dist/cli/command-docs.js +2 -2
  47. package/dist/cli/command-docs.mjs +1 -1
  48. package/dist/cli/{csv-BSKJR3CR.js → csv-B35BFYGT.js} +12 -12
  49. package/dist/cli/{csv-I4CAAV6A.mjs → csv-P2ATJQUY.mjs} +3 -3
  50. package/dist/cli/{db-RA3IL6MC.js → db-ELEZFHG7.js} +25 -25
  51. package/dist/cli/{db-EQP24K3B.mjs → db-PSITREEX.mjs} +4 -4
  52. package/dist/cli/{describe-62KPTIFH.js → describe-AXWFWCWZ.js} +17 -17
  53. package/dist/cli/{describe-EZDVJDPQ.mjs → describe-E2ZFRC5Z.mjs} +13 -13
  54. package/dist/cli/describe-core.d.mts +1 -1
  55. package/dist/cli/describe-core.d.ts +1 -1
  56. package/dist/cli/{executions-W5KR56KP.mjs → executions-BZTPNWW2.mjs} +4 -4
  57. package/dist/cli/{executions-2HBBXRPM.js → executions-GWYPVJYE.js} +6 -6
  58. package/dist/cli/{feedback-6UTOLSFP.mjs → feedback-F3RKOHZN.mjs} +3 -3
  59. package/dist/cli/{feedback-CVYS7ZPV.js → feedback-UCW6EFOR.js} +7 -7
  60. package/dist/cli/git-HEKGLILK.js +24 -0
  61. package/dist/cli/{git-JXH64LI4.mjs → git-LGQMBBO3.mjs} +4 -4
  62. package/dist/cli/index.js +136 -136
  63. package/dist/cli/index.mjs +38 -38
  64. package/dist/cli/{legacy-noops-NYMLGQNX.mjs → legacy-noops-4TVFFILL.mjs} +4 -4
  65. package/dist/cli/{legacy-noops-5XTXIPU2.js → legacy-noops-SRH3BPNV.js} +7 -7
  66. package/dist/cli/{monitors-J6HAQLX2.js → monitors-6NHXI3EW.js} +89 -89
  67. package/dist/cli/{monitors-CEU6SP2B.mjs → monitors-WBST3XUH.mjs} +5 -5
  68. package/dist/cli/{org-CYE3DCIT.js → org-5EFVZUB2.js} +66 -66
  69. package/dist/cli/{org-RRKAJM5V.mjs → org-DSDNRGDV.mjs} +4 -4
  70. package/dist/cli/{play-PXISXZ2P.mjs → play-EKOV2T5N.mjs} +11 -11
  71. package/dist/cli/{play-NJDW74YH.js → play-RMWBABCH.js} +284 -284
  72. package/dist/cli/{providers-6QGGDOWK.mjs → providers-AWNJWZWD.mjs} +46 -4
  73. package/dist/cli/{providers-JE3MUBYK.js → providers-Y4EYH7IZ.js} +50 -8
  74. package/dist/cli/{quickstart-MKJ7TYQZ.mjs → quickstart-CPW66MBY.mjs} +3 -3
  75. package/dist/cli/{quickstart-AQBBOFQL.js → quickstart-JQ3W6LWQ.js} +5 -5
  76. package/dist/cli/search-PJXI2GJR.js +30 -0
  77. package/dist/cli/{search-6PKFZ2JD.mjs → search-VP4Y6MQU.mjs} +5 -5
  78. package/dist/cli/{secrets-QBWRVZCT.mjs → secrets-2VEENFF4.mjs} +4 -4
  79. package/dist/cli/{secrets-IKGJYESD.js → secrets-CPMHM5HU.js} +13 -13
  80. package/dist/cli/{sessions-462I5YEQ.js → sessions-ALPCLDJI.js} +5 -5
  81. package/dist/cli/{sessions-SVYTBNRJ.mjs → sessions-INDUUZ3K.mjs} +4 -4
  82. package/dist/cli/{settings-FH4XZ7FE.mjs → settings-3YBZZPAM.mjs} +10 -10
  83. package/dist/cli/{settings-WHLTLPXZ.js → settings-5PO4C33K.js} +77 -77
  84. package/dist/cli/{setup-ISCNCB4W.mjs → setup-7SOJ4INF.mjs} +8 -8
  85. package/dist/cli/{setup-IKTCP3QB.js → setup-RK2MUVXO.js} +43 -43
  86. package/dist/cli/{skills-HITZS5EJ.mjs → skills-5PR5RTOX.mjs} +6 -6
  87. package/dist/cli/skills-J3243JQE.js +30 -0
  88. package/dist/cli/{tools-SQUTVLPO.mjs → tools-OSJJUP36.mjs} +13 -13
  89. package/dist/cli/tools-V2B44RFH.js +45 -0
  90. package/dist/cli/update-CKIL2SWB.js +32 -0
  91. package/dist/cli/{update-AFYEREBX.mjs → update-TDCMXJ62.mjs} +8 -8
  92. package/dist/cli/{workflow-AAOOROIR.js → workflow-6DKCCQYA.js} +15 -15
  93. package/dist/cli/{workflow-VBCZPKVF.mjs → workflow-6O24O6LT.mjs} +5 -5
  94. package/dist/{client-Ct6OBj9Y.d.mts → client-BX2EVlPo.d.mts} +21 -0
  95. package/dist/{client-BV7tC6oq.d.ts → client-CRz2laoR.d.ts} +21 -0
  96. package/dist/index.d.mts +2 -2
  97. package/dist/index.d.ts +2 -2
  98. package/dist/index.js +6 -6
  99. package/dist/index.mjs +3 -3
  100. package/dist/install-integrity.json +84 -84
  101. package/dist/plays/play-description.d.mts +1 -1
  102. package/dist/plays/play-description.d.ts +1 -1
  103. package/dist/plays/run-request.d.mts +1 -1
  104. package/dist/plays/run-request.d.ts +1 -1
  105. package/dist/release.d.mts +1 -1
  106. package/dist/release.d.ts +1 -1
  107. package/dist/release.js +2 -2
  108. package/dist/release.mjs +1 -1
  109. package/package.json +1 -1
  110. package/dist/cli/auth-GUZWKNXM.js +0 -40
  111. package/dist/cli/git-U6FMVAAM.js +0 -24
  112. package/dist/cli/search-EJGRNQQK.js +0 -30
  113. package/dist/cli/skills-LC2YKUSO.js +0 -30
  114. package/dist/cli/tools-Y55OXE72.js +0 -45
  115. package/dist/cli/update-Q3I6MSEQ.js +0 -32
@@ -3,15 +3,15 @@
3
3
  var _chunkZM2YPJQJjs = require('./chunk-ZM2YPJQJ.js');
4
4
 
5
5
 
6
- var _chunkZ5PQSTYXjs = require('./chunk-Z5PQSTYX.js');
6
+ var _chunkVVYM2F7Xjs = require('./chunk-VVYM2F7X.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkSJH66N73js = require('./chunk-SJH66N73.js');
10
+ var _chunkOQEIP4HFjs = require('./chunk-OQEIP4HF.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkVXBEHDM6js = require('./chunk-VXBEHDM6.js');
14
+ var _chunkS3D7OY6Djs = require('./chunk-S3D7OY6D.js');
15
15
 
16
16
 
17
17
 
@@ -5713,7 +5713,7 @@ var _fs = require('fs');
5713
5713
  var _path = require('path');
5714
5714
  var SEARCH_REF_TTL_MS = 15 * 6e4;
5715
5715
  function lastSearchPath() {
5716
- return _path.join.call(void 0, _chunkVXBEHDM6js.sdkCliStateDirPath.call(void 0, _chunkVXBEHDM6js.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5716
+ return _path.join.call(void 0, _chunkS3D7OY6Djs.sdkCliStateDirPath.call(void 0, _chunkS3D7OY6Djs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5717
5717
  }
5718
5718
  function rememberSearchRef(searchRef) {
5719
5719
  try {
@@ -5877,7 +5877,7 @@ var OPTIONAL_COLUMNS = [
5877
5877
  ];
5878
5878
  function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5879
5879
  if (result.results.length === 0)
5880
- return _chunkSJH66N73js.renderCommandEnvelopeText.call(void 0, result);
5880
+ return _chunkOQEIP4HFjs.renderCommandEnvelopeText.call(void 0, result);
5881
5881
  const rows = result.results.map((item) => searchRow(item, summaryWidth));
5882
5882
  const kinds = new Set(rows.map((row) => row.kind));
5883
5883
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -5902,7 +5902,7 @@ function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5902
5902
  actions: _optionalChain([render, 'optionalAccess', _12 => _12.actions])
5903
5903
  };
5904
5904
  const followUps = _optionalChain([remaining, 'access', _13 => _13.sections, 'optionalAccess', _14 => _14.length]) || _optionalChain([remaining, 'access', _15 => _15.actions, 'optionalAccess', _16 => _16.length]) ? `
5905
- ${_chunkSJH66N73js.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5905
+ ${_chunkOQEIP4HFjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5906
5906
  const notes = rows.flatMap(
5907
5907
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
5908
5908
  );
@@ -5987,7 +5987,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
5987
5987
  console.error("--summary-width must be an integer of at least 2.");
5988
5988
  return 1;
5989
5989
  }
5990
- const { search_ref: searchRef, ...result } = await new (0, _chunkZ5PQSTYXjs.DeeplineClient)().search({
5990
+ const { search_ref: searchRef, ...result } = await new (0, _chunkVVYM2F7Xjs.DeeplineClient)().search({
5991
5991
  query,
5992
5992
  types,
5993
5993
  exclude,
@@ -6001,7 +6001,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
6001
6001
  });
6002
6002
  if (searchRef) rememberSearchRef(searchRef);
6003
6003
  pointAtDescribe(result);
6004
- _chunkSJH66N73js.printCommandEnvelope.call(void 0, result, {
6004
+ _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0, result, {
6005
6005
  json: options.json === true,
6006
6006
  text: renderSearchResults(result, summaryWidth)
6007
6007
  });
@@ -40,6 +40,27 @@ Conventions (apply to every tool):
40
40
  ]]
41
41
  `;
42
42
  var COMMAND_DOCS = {
43
+ "providers connect": {
44
+ core: `Purpose: Start OAuth authorization for an integration.
45
+ Input: Pass its provider ID,
46
+ for example: deepline providers connect apollo. The response contains ok and
47
+ redirect_url. Open redirect_url in a browser signed into the intended Deepline
48
+ workspace, then sign into the provider and approve access. Returning a URL does
49
+ not mean authorization is complete. --scopes accepts a quoted space-separated
50
+ list; omit it for the provider's default permissions. This stores an account
51
+ connection after approval and does not execute provider tools.
52
+ Cost: Does not spend Deepline credits.`
53
+ },
54
+ "providers test": {
55
+ core: `Purpose: Verify a connected OAuth integration, for example:
56
+ deepline providers test apollo --json. Input: Pass a provider ID with an OAuth test
57
+ endpoint. The result includes provider, status, hasAccessToken, hasRefreshToken,
58
+ expiresAt and apiCheck; tokens are never returned. Expired credentials refresh
59
+ through the normal lifecycle before a read-only provider probe. This does not
60
+ prove every tool's permissions. Run tools describe and a bounded read tool to
61
+ verify data access. Provider errors fail the command.
62
+ Cost: The connection probe does not spend Deepline credits.`
63
+ },
43
64
  "": {
44
65
  core: `
45
66
  [[cli:
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-UT6W675P.mjs";
3
+ } from "./chunk-W64S7C55.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-G6ZOZQXT.mjs";
8
+ } from "./chunk-P5MB2PXV.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -3,7 +3,7 @@ import {
3
3
  detectAgentRuntime,
4
4
  resolveCliCommandContext,
5
5
  resolveConfig
6
- } from "./chunk-TECW24CR.mjs";
6
+ } from "./chunk-M7FF76WO.mjs";
7
7
  import {
8
8
  DeeplineError,
9
9
  serializeToolExecutionFailure
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-G6ZOZQXT.mjs";
3
+ } from "./chunk-P5MB2PXV.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -40,6 +40,27 @@ Conventions (apply to every tool):
40
40
  ]]
41
41
  `;
42
42
  var COMMAND_DOCS = {
43
+ "providers connect": {
44
+ core: `Purpose: Start OAuth authorization for an integration.
45
+ Input: Pass its provider ID,
46
+ for example: deepline providers connect apollo. The response contains ok and
47
+ redirect_url. Open redirect_url in a browser signed into the intended Deepline
48
+ workspace, then sign into the provider and approve access. Returning a URL does
49
+ not mean authorization is complete. --scopes accepts a quoted space-separated
50
+ list; omit it for the provider's default permissions. This stores an account
51
+ connection after approval and does not execute provider tools.
52
+ Cost: Does not spend Deepline credits.`
53
+ },
54
+ "providers test": {
55
+ core: `Purpose: Verify a connected OAuth integration, for example:
56
+ deepline providers test apollo --json. Input: Pass a provider ID with an OAuth test
57
+ endpoint. The result includes provider, status, hasAccessToken, hasRefreshToken,
58
+ expiresAt and apiCheck; tokens are never returned. Expired credentials refresh
59
+ through the normal lifecycle before a read-only provider probe. This does not
60
+ prove every tool's permissions. Run tools describe and a bounded read tool to
61
+ verify data access. Provider errors fail the command.
62
+ Cost: The connection probe does not spend Deepline credits.`
63
+ },
43
64
  "": {
44
65
  core: `
45
66
  [[cli:
@@ -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 _chunkS2PO3X5Rjs = require('./chunk-S2PO3X5R.js');
4
+ var _chunkSAO7KYJEjs = require('./chunk-SAO7KYJE.js');
5
5
 
6
6
 
7
- var _chunkP5IQ6LIKjs = require('./chunk-P5IQ6LIK.js');
7
+ var _chunkXVGEAB44js = require('./chunk-XVGEAB44.js');
8
8
 
9
9
 
10
- var _chunkYPYR4ACFjs = require('./chunk-YPYR4ACF.js');
10
+ var _chunkK5TWU5I6js = require('./chunk-K5TWU5I6.js');
11
11
 
12
12
 
13
- var _chunkSJH66N73js = require('./chunk-SJH66N73.js');
13
+ var _chunkOQEIP4HFjs = require('./chunk-OQEIP4HF.js');
14
14
 
15
15
 
16
- var _chunkVXBEHDM6js = require('./chunk-VXBEHDM6.js');
16
+ var _chunkS3D7OY6Djs = require('./chunk-S3D7OY6D.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 = _chunkYPYR4ACFjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkK5TWU5I6js.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 ? _chunkS2PO3X5Rjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkS2PO3X5Rjs.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 ? _chunkSAO7KYJEjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkSAO7KYJEjs.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()]) || _chunkVXBEHDM6js.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkS3D7OY6Djs.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 = _chunkYPYR4ACFjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkK5TWU5I6js.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, () => ( _chunkVXBEHDM6js.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkS3D7OY6Djs.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 _chunkP5IQ6LIKjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkXVGEAB44js.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
- _chunkSJH66N73js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkSJH66N73js.printCommandEnvelope.call(void 0,
1284
+ _chunkOQEIP4HFjs.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
- _chunkSJH66N73js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkOQEIP4HFjs.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
- _chunkSJH66N73js.printCommandEnvelope.call(void 0,
1327
+ _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkQLMQ2NAQjs = require('./chunk-QLMQ2NAQ.js');
3
+ var _chunkSHWMFFKXjs = require('./chunk-SHWMFFKX.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkYPYR4ACFjs = require('./chunk-YPYR4ACF.js');
8
+ var _chunkK5TWU5I6js = require('./chunk-K5TWU5I6.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") _chunkYPYR4ACFjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
- const compatibility = await _chunkQLMQ2NAQjs.traceCliSpan.call(void 0,
17
+ if (maintenancePolicy !== "off") _chunkK5TWU5I6js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
+ const compatibility = await _chunkSHWMFFKXjs.traceCliSpan.call(void 0,
19
19
  "cli.sdk_compatibility",
20
20
  { baseUrl, command: "plays run" },
21
- () => _chunkYPYR4ACFjs.checkSdkCompatibility.call(void 0, baseUrl, {
21
+ () => _chunkK5TWU5I6js.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
- _chunkYPYR4ACFjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
27
+ _chunkK5TWU5I6js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
28
28
  quietAdvisory: true
29
29
  });
30
30
  }
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-RDAUQGPG.mjs";
5
+ } from "./chunk-AGWG2PVB.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-TECW24CR.mjs";
28
+ } from "./chunk-M7FF76WO.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -4,18 +4,18 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-EXWKHMMP.mjs";
7
+ } from "./chunk-YMV3AULG.mjs";
8
8
  import {
9
9
  isCiEnvironment
10
- } from "./chunk-G6ZOZQXT.mjs";
10
+ } from "./chunk-P5MB2PXV.mjs";
11
11
  import {
12
12
  addJsonNotice,
13
13
  isJsonOutputMode
14
- } from "./chunk-RDAUQGPG.mjs";
14
+ } from "./chunk-AGWG2PVB.mjs";
15
15
  import {
16
16
  SDK_VERSION,
17
17
  resolveApiKeyForBaseUrl
18
- } from "./chunk-TECW24CR.mjs";
18
+ } from "./chunk-M7FF76WO.mjs";
19
19
 
20
20
  // src/cli/compatibility-catalog.ts
21
21
  var readers = /* @__PURE__ */ new WeakMap();
@@ -11,10 +11,10 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-G6ZOZQXT.mjs";
14
+ } from "./chunk-P5MB2PXV.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-RDAUQGPG.mjs";
17
+ } from "./chunk-AGWG2PVB.mjs";
18
18
  import {
19
19
  SDK_VERSION,
20
20
  autoDetectBaseUrl,
@@ -22,7 +22,7 @@ import {
22
22
  ensureProjectPrivatePathsIgnored,
23
23
  resolveProjectPinTarget,
24
24
  sdkCliStateDirPath
25
- } from "./chunk-TECW24CR.mjs";
25
+ } from "./chunk-M7FF76WO.mjs";
26
26
 
27
27
  // src/cli/commands/skills.ts
28
28
  import { spawn } from "child_process";
@@ -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 _chunkSJH66N73js = require('./chunk-SJH66N73.js');
3
+ var _chunkOQEIP4HFjs = require('./chunk-OQEIP4HF.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 && !_chunkSJH66N73js.isJsonOutputMode.call(void 0, );
18
+ this.enabled = enabled && !_chunkOQEIP4HFjs.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 (_chunkSJH66N73js.isJsonOutputMode.call(void 0, )) return;
43
+ if (_chunkOQEIP4HFjs.isJsonOutputMode.call(void 0, )) return;
44
44
  if (!this.enabled) {
45
45
  process.stderr.write(`${line}
46
46
  `);