deepline 0.3.504 → 0.3.505

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 (143) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/sdk/src/types.ts +5 -0
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
  4. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +144 -7
  5. package/dist/bundling-sources/shared_libs/play-runtime/transient-service-error.ts +18 -0
  6. package/dist/bundling-sources/shared_libs/product-notifications/onboarding-unsubscribe.ts +23 -0
  7. package/dist/cli/{auth-3L5AA5AX.mjs → auth-AHE2EDQA.mjs} +5 -5
  8. package/dist/cli/auth-SEPKNRHV.js +43 -0
  9. package/dist/cli/{billing-E7EASVPO.mjs → billing-7CPWTGGI.mjs} +7 -7
  10. package/dist/cli/{billing-HOGXVE2V.js → billing-JOIZPHON.js} +82 -82
  11. package/dist/cli/{chunk-67OI26OE.js → chunk-3YEOOXD4.js} +96 -37
  12. package/dist/cli/{chunk-IPAMOMGP.js → chunk-45XYW477.js} +21 -21
  13. package/dist/cli/{chunk-OX2D6BG4.mjs → chunk-4OFSAZN6.mjs} +1 -1
  14. package/dist/cli/{chunk-2ABRDH3B.mjs → chunk-52FPW2RD.mjs} +2 -2
  15. package/dist/cli/{chunk-NZ7Z7WNM.mjs → chunk-5XT4DZQL.mjs} +2 -2
  16. package/dist/cli/{chunk-FTRVCIGC.js → chunk-6FEN6VWZ.js} +26 -26
  17. package/dist/cli/{chunk-7F4OEHQK.mjs → chunk-6U3AGJWI.mjs} +1 -1
  18. package/dist/cli/{chunk-YOQ2NNDO.mjs → chunk-7AD565DO.mjs} +1 -1
  19. package/dist/cli/{chunk-JPR2546F.js → chunk-7DDACLMX.js} +16 -16
  20. package/dist/cli/{chunk-HUX5DZO6.mjs → chunk-7DDKLFOY.mjs} +3 -3
  21. package/dist/cli/{chunk-2W77YCKH.js → chunk-7QLK2GHL.js} +5 -5
  22. package/dist/cli/{chunk-XHZSPMNC.mjs → chunk-ACI6CUDX.mjs} +11 -401
  23. package/dist/cli/{chunk-7P2QVMBP.js → chunk-BWAYMJ23.js} +7 -7
  24. package/dist/cli/{chunk-UXQQPMYO.js → chunk-CA3SYXCS.js} +2 -2
  25. package/dist/cli/{chunk-SVFTZTCI.mjs → chunk-CSLLQWAB.mjs} +1 -1
  26. package/dist/cli/{chunk-QKKU2FH4.js → chunk-EMUFF6EU.js} +7 -7
  27. package/dist/cli/chunk-FIQ5UEIF.mjs +405 -0
  28. package/dist/cli/{chunk-KGUGNEKL.js → chunk-GAUNJCXQ.js} +96 -96
  29. package/dist/cli/{chunk-5Z6EULD5.js → chunk-GXMNOUHP.js} +6 -6
  30. package/dist/cli/{chunk-A6LA42JY.js → chunk-HASFFOSU.js} +16 -16
  31. package/dist/cli/{chunk-SMSQVRHE.js → chunk-IDAE5VDH.js} +5 -5
  32. package/dist/cli/{chunk-GGBXNQCR.mjs → chunk-IZYOYXG7.mjs} +4 -4
  33. package/dist/cli/{chunk-22OCKCYS.mjs → chunk-JA7YBRP4.mjs} +1 -1
  34. package/dist/cli/{chunk-6SMR7LU7.js → chunk-JSTKLYYD.js} +2 -2
  35. package/dist/cli/{chunk-UFYJTRSF.mjs → chunk-JVKEZT7L.mjs} +20 -6
  36. package/dist/cli/{chunk-GJ2DA35C.js → chunk-K26YOPDO.js} +20 -6
  37. package/dist/cli/{chunk-FISP4LCK.js → chunk-LC4FG34E.js} +53 -53
  38. package/dist/cli/{chunk-BTWUNKKX.mjs → chunk-MAFZ64RN.mjs} +2 -2
  39. package/dist/cli/{chunk-WZSFIJMG.js → chunk-MHZAG2ZQ.js} +80 -470
  40. package/dist/cli/{chunk-5CHBIJIM.mjs → chunk-NARJWXBR.mjs} +2 -2
  41. package/dist/cli/{chunk-VJVJWZ6I.mjs → chunk-OA6U5NVB.mjs} +5 -5
  42. package/dist/cli/{chunk-QOLX2O2S.mjs → chunk-OMEDQ77C.mjs} +93 -34
  43. package/dist/cli/{chunk-LHXYCZYO.js → chunk-OORPAQVC.js} +8 -8
  44. package/dist/cli/{chunk-Z6FXUDIL.mjs → chunk-PDLOPF5L.mjs} +1 -1
  45. package/dist/cli/{chunk-3MLFFWDM.mjs → chunk-PZN24YQQ.mjs} +2 -2
  46. package/dist/cli/{chunk-DEAJVQEG.mjs → chunk-QGNNAZ5M.mjs} +1 -1
  47. package/dist/cli/chunk-QYGYVCRI.js +405 -0
  48. package/dist/cli/{chunk-IGNQKOWT.mjs → chunk-RT3HJBIH.mjs} +12 -12
  49. package/dist/cli/{chunk-Y6XKCEPK.mjs → chunk-SHKRL7CW.mjs} +1 -1
  50. package/dist/cli/{chunk-UJMBG5JU.js → chunk-SPN7U3MV.js} +4 -4
  51. package/dist/cli/{chunk-MLMWM5DV.mjs → chunk-UZ24SF7N.mjs} +5 -5
  52. package/dist/cli/{chunk-USTJEEND.js → chunk-VXKWF3AD.js} +9 -9
  53. package/dist/cli/{chunk-Y7VEHKID.mjs → chunk-W6I4N4JN.mjs} +6 -6
  54. package/dist/cli/{chunk-MJTK6Q3G.js → chunk-WPCF7C6B.js} +3 -3
  55. package/dist/cli/{chunk-KCKAFTPY.js → chunk-WTQLUULB.js} +6 -6
  56. package/dist/cli/{chunk-BX45XMXZ.mjs → chunk-WTUC5VKB.mjs} +2 -2
  57. package/dist/cli/{chunk-6JNBMTCZ.js → chunk-XHPB6RGY.js} +1 -1
  58. package/dist/cli/{chunk-GRAGUYIE.js → chunk-Y52XY56V.js} +41 -41
  59. package/dist/cli/{chunk-4CC67XH5.mjs → chunk-YBIVVAL7.mjs} +2 -2
  60. package/dist/cli/{chunk-WBIDPDKJ.js → chunk-ZLN2B5YA.js} +3 -3
  61. package/dist/cli/command-docs.js +2 -2
  62. package/dist/cli/command-docs.mjs +1 -1
  63. package/dist/cli/{csv-2XWGPITO.js → csv-DZHVIW3G.js} +13 -13
  64. package/dist/cli/{csv-433JEHLQ.mjs → csv-WTPI6ZON.mjs} +4 -4
  65. package/dist/cli/{db-PJJMD4VH.js → db-D7LPPNCC.js} +27 -27
  66. package/dist/cli/{db-K747DH43.mjs → db-NR4PJ6AF.mjs} +6 -6
  67. package/dist/cli/describe-HVQBTKFM.js +50 -0
  68. package/dist/cli/{describe-VEDDYW4P.mjs → describe-NCKAJPUG.mjs} +18 -17
  69. package/dist/cli/describe-core.d.mts +2 -2
  70. package/dist/cli/describe-core.d.ts +2 -2
  71. package/dist/cli/{executions-JWRX3XCT.mjs → executions-RQVJ4LAB.mjs} +6 -6
  72. package/dist/cli/{executions-HM5T72H6.js → executions-UQG6LWEN.js} +8 -8
  73. package/dist/cli/{feedback-MNSIA63Y.mjs → feedback-RD4Y3YQR.mjs} +4 -4
  74. package/dist/cli/{feedback-34UG4BO3.js → feedback-TCHA67IA.js} +8 -8
  75. package/dist/cli/git-TUB2ZUEH.js +25 -0
  76. package/dist/cli/{git-ZKEOXV3A.mjs → git-Z7434B7Y.mjs} +5 -5
  77. package/dist/cli/index.js +143 -141
  78. package/dist/cli/index.mjs +49 -47
  79. package/dist/cli/{legacy-noops-YXSI4FVU.js → legacy-noops-23WRA7DH.js} +8 -8
  80. package/dist/cli/{legacy-noops-5M4T4ZVT.mjs → legacy-noops-LQJU4UIV.mjs} +5 -5
  81. package/dist/cli/{monitors-O25GDOYE.js → monitors-KOWN7M3V.js} +95 -95
  82. package/dist/cli/{monitors-C65OC4AW.mjs → monitors-Z6VYUZ2W.mjs} +7 -7
  83. package/dist/cli/{org-2GSPLY2A.js → org-2T5K2VP5.js} +72 -72
  84. package/dist/cli/{org-ZRMG5NS2.mjs → org-UBNRO5XO.mjs} +6 -6
  85. package/dist/cli/{pages-TZZUFBRO.mjs → pages-GHPJBVV3.mjs} +6 -6
  86. package/dist/cli/{pages-45DPADK6.js → pages-SRXTU7XO.js} +18 -18
  87. package/dist/cli/{play-RCGMND6X.js → play-2HMZ57EZ.js} +317 -316
  88. package/dist/cli/{play-3D7HH273.mjs → play-HRQKGTXA.mjs} +18 -17
  89. package/dist/cli/{providers-PSAKV6CJ.mjs → providers-JWJRFRR5.mjs} +6 -6
  90. package/dist/cli/{providers-3N3ECMTY.js → providers-P5O676MZ.js} +9 -9
  91. package/dist/cli/{quickstart-2A35SMGC.mjs → quickstart-S7NZUQRO.mjs} +4 -4
  92. package/dist/cli/{quickstart-6R6AIXM6.js → quickstart-YCY72TAO.js} +6 -6
  93. package/dist/cli/{run-F6ZXTASZ.js → run-MHLLGF4G.js} +41 -40
  94. package/dist/cli/{run-F3TLDGUO.mjs → run-QWMRIUIU.mjs} +23 -22
  95. package/dist/cli/{search-CZLCY3D2.mjs → search-4BFTQUEP.mjs} +8 -7
  96. package/dist/cli/search-QPUHOEIL.js +33 -0
  97. package/dist/cli/{search-output-R5XDNILW.js → search-output-62LBVZHN.js} +6 -6
  98. package/dist/cli/{search-output-MQTSTLN5.mjs → search-output-LIYHDTBP.mjs} +4 -4
  99. package/dist/cli/{secrets-D3GF4B2Z.mjs → secrets-GW27V77E.mjs} +6 -6
  100. package/dist/cli/{secrets-DCJYHDSY.js → secrets-KKKHVSOO.js} +15 -15
  101. package/dist/cli/{sessions-Z4JYJSDP.js → sessions-R3OEINAR.js} +6 -6
  102. package/dist/cli/{sessions-QGEQ2UYZ.mjs → sessions-R75LBGIL.mjs} +5 -5
  103. package/dist/cli/{settings-G7QEXA4N.mjs → settings-I3AQZSYG.mjs} +12 -11
  104. package/dist/cli/{settings-UVXXAT4A.js → settings-MQIHAEZN.js} +79 -78
  105. package/dist/cli/{setup-QHJU3DUI.mjs → setup-2YA5MYMS.mjs} +10 -9
  106. package/dist/cli/{setup-5I42W7D4.js → setup-X3QRJERP.js} +50 -49
  107. package/dist/cli/{skills-5LRF4UKX.mjs → skills-7252FOOI.mjs} +8 -7
  108. package/dist/cli/skills-BPZWMZSL.js +37 -0
  109. package/dist/cli/tools-F7RVQ3IK.js +57 -0
  110. package/dist/cli/{tools-PUT6STVG.mjs → tools-SKQTSVGE.mjs} +17 -16
  111. package/dist/cli/{update-CJ2GA64X.mjs → update-GNBBSKTB.mjs} +10 -9
  112. package/dist/cli/update-TLSY6LC2.js +35 -0
  113. package/dist/cli/{workflow-HVEWRTXD.mjs → workflow-OJSAL5FO.mjs} +7 -7
  114. package/dist/cli/{workflow-O67MEBCP.js → workflow-QB7YYWPP.js} +17 -17
  115. package/dist/{client-CIwenMFS.d.ts → client-B3GSaSFn.d.ts} +1 -1
  116. package/dist/{client-DYAfJpaN.d.mts → client-DEJg0CZn.d.mts} +1 -1
  117. package/dist/{client-core-DlzP8vEs.d.mts → client-core-C404E33V.d.mts} +5 -0
  118. package/dist/{client-core-CRjtyMAI.d.ts → client-core-GQmy3N8y.d.ts} +5 -0
  119. package/dist/index.d.mts +3 -3
  120. package/dist/index.d.ts +3 -3
  121. package/dist/index.js +9 -9
  122. package/dist/index.mjs +6 -6
  123. package/dist/install-integrity.json +107 -104
  124. package/dist/plays/play-description.d.mts +1 -1
  125. package/dist/plays/play-description.d.ts +1 -1
  126. package/dist/plays/run-request.d.mts +1 -1
  127. package/dist/plays/run-request.d.ts +1 -1
  128. package/dist/release.d.mts +1 -1
  129. package/dist/release.d.ts +1 -1
  130. package/dist/release.js +2 -2
  131. package/dist/release.mjs +1 -1
  132. package/dist/server.d.mts +2 -2
  133. package/dist/server.d.ts +2 -2
  134. package/dist/server.js +5 -5
  135. package/dist/server.mjs +3 -3
  136. package/package.json +1 -1
  137. package/dist/cli/auth-UPK4IIIN.js +0 -43
  138. package/dist/cli/describe-OYS7LZJD.js +0 -49
  139. package/dist/cli/git-5YQJSJFR.js +0 -25
  140. package/dist/cli/search-R5VEWJO2.js +0 -32
  141. package/dist/cli/skills-FB6TV52O.js +0 -36
  142. package/dist/cli/tools-L2364RPA.js +0 -56
  143. package/dist/cli/update-ESYJGYVZ.js +0 -34
@@ -1,11 +1,11 @@
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; }
2
2
 
3
- var _chunkUXQQPMYOjs = require('./chunk-UXQQPMYO.js');
3
+ var _chunkCA3SYXCSjs = require('./chunk-CA3SYXCS.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkWZSFIJMGjs = require('./chunk-WZSFIJMG.js');
8
+ var _chunkMHZAG2ZQjs = require('./chunk-MHZAG2ZQ.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunkWZSFIJMGjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkMHZAG2ZQjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkCA3SYXCSjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkWZSFIJMGjs.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkMHZAG2ZQjs.checkSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
32
  if (compatibility.error) throw compatibility.error;
33
- _chunkWZSFIJMGjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
33
+ _chunkMHZAG2ZQjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }
@@ -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 _chunk6SMR7LU7js = require('./chunk-6SMR7LU7.js');
4
+ var _chunkJSTKLYYDjs = require('./chunk-JSTKLYYD.js');
5
5
 
6
6
 
7
- var _chunkGRAGUYIEjs = require('./chunk-GRAGUYIE.js');
7
+ var _chunkY52XY56Vjs = require('./chunk-Y52XY56V.js');
8
8
 
9
9
 
10
- var _chunkWZSFIJMGjs = require('./chunk-WZSFIJMG.js');
10
+ var _chunkMHZAG2ZQjs = require('./chunk-MHZAG2ZQ.js');
11
11
 
12
12
 
13
- var _chunkQKKU2FH4js = require('./chunk-QKKU2FH4.js');
13
+ var _chunkEMUFF6EUjs = require('./chunk-EMUFF6EU.js');
14
14
 
15
15
 
16
- var _chunkWBIDPDKJjs = require('./chunk-WBIDPDKJ.js');
16
+ var _chunkZLN2B5YAjs = require('./chunk-ZLN2B5YA.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 = _chunkWZSFIJMGjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkMHZAG2ZQjs.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 ? _chunk6SMR7LU7js.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunk6SMR7LU7js.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 ? _chunkJSTKLYYDjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkJSTKLYYDjs.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()]) || _chunkWBIDPDKJjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkZLN2B5YAjs.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 = _chunkWZSFIJMGjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkMHZAG2ZQjs.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, () => ( _chunkWBIDPDKJjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkZLN2B5YAjs.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 _chunkGRAGUYIEjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkY52XY56Vjs.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
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
1284
+ _chunkEMUFF6EUjs.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
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkEMUFF6EUjs.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 install
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
1327
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -1,16 +1,16 @@
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; }
2
2
 
3
- var _chunk7P2QVMBPjs = require('./chunk-7P2QVMBP.js');
3
+ var _chunkBWAYMJ23js = require('./chunk-BWAYMJ23.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkWBIDPDKJjs = require('./chunk-WBIDPDKJ.js');
7
+ var _chunkZLN2B5YAjs = require('./chunk-ZLN2B5YA.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunk7P2QVMBPjs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkBWAYMJ23js.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkWBIDPDKJjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkWBIDPDKJjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkZLN2B5YAjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkZLN2B5YAjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-XHZSPMNC.mjs";
14
+ } from "./chunk-ACI6CUDX.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-3MLFFWDM.mjs";
17
+ } from "./chunk-PZN24YQQ.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-Y6XKCEPK.mjs";
23
+ } from "./chunk-SHKRL7CW.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-YOQ2NNDO.mjs";
27
+ } from "./chunk-7AD565DO.mjs";
28
28
  import {
29
29
  DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
30
30
  } from "./chunk-5JPKRDFC.mjs";
@@ -8,7 +8,7 @@ import {
8
8
  csvStringFromRows,
9
9
  markJsonOutputHandled,
10
10
  writeRawStderr
11
- } from "./chunk-3MLFFWDM.mjs";
11
+ } from "./chunk-PZN24YQQ.mjs";
12
12
 
13
13
  // src/cli/describe-options.ts
14
14
  function addDescribeOptions(command, options = {}) {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkWZSFIJMGjs = require('./chunk-WZSFIJMG.js');
3
+ var _chunkMHZAG2ZQjs = require('./chunk-MHZAG2ZQ.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkWZSFIJMGjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkMHZAG2ZQjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -402,26 +402,40 @@ Purpose:
402
402
  When:
403
403
  First, whenever you do not already know what to run.
404
404
  Input:
405
- The task as one sentence. For work on data, write what you have -> what
406
- you need. Sentences rank better than keywords.
405
+ Search for one capability at a time.
406
+ Include the input fields, the result you need, and requirements.
407
+ Leave out customer data like names and domains, and export details like filenames.
408
+ For a workflow with distinct steps, search for each step separately.
409
+ [[cli:
410
+ To run multiple searches in one command, quote each query separately.
411
+ Each argument is ranked independently and gets its own results section.
412
+ Filters, --limit, and --offset apply to each query.
413
+ ]]
407
414
  Examples:
408
415
  [[cli:
416
+ deepline search "business address -> company domain" "name and company domain -> work email"
409
417
  deepline search "first name, last name and company domain -> verified work email"
410
- deepline search "50 company domains -> each one's lead investors"
411
- deepline search "company domain -> contacts in sales leadership" --type plays
418
+ deepline search "company domains -> shop management software they use"
419
+ deepline search "company domain -> employees by job title and office location" --type plays
412
420
  deepline search "upload a contact list as a Meta ads audience"
413
421
  deepline search "how do webhooks trigger a play" --type docs
414
422
  ]]
415
423
  [[mcp:
416
424
  query "first name, last name and company domain -> verified work email"
417
- query "50 company domains -> each one's lead investors"
418
- query "company domain -> contacts in sales leadership"
425
+ query "company domains -> shop management software they use"
426
+ query "company domain -> employees by job title and office location"
419
427
  query "upload a contact list as a Meta ads audience"
420
428
  ]]
421
429
  Output:
422
430
  A ranked list. Each result has an id, its kind, what it does, and its price.
423
431
  Tools that need a provider connection are flagged. Describe the tool to
424
432
  see how to connect it.
433
+ When search suggests a rewrite, retry with the core task in a shorter query.
434
+ [[cli:
435
+ Multiple queries print one section per query in argument order. With --json,
436
+ read searches[] for each query's results or error. A failed query returns
437
+ a nonzero exit code and successful queries still appear.
438
+ ]]
425
439
  Cost:
426
440
  Free.
427
441
  Next:
@@ -402,26 +402,40 @@ Purpose:
402
402
  When:
403
403
  First, whenever you do not already know what to run.
404
404
  Input:
405
- The task as one sentence. For work on data, write what you have -> what
406
- you need. Sentences rank better than keywords.
405
+ Search for one capability at a time.
406
+ Include the input fields, the result you need, and requirements.
407
+ Leave out customer data like names and domains, and export details like filenames.
408
+ For a workflow with distinct steps, search for each step separately.
409
+ [[cli:
410
+ To run multiple searches in one command, quote each query separately.
411
+ Each argument is ranked independently and gets its own results section.
412
+ Filters, --limit, and --offset apply to each query.
413
+ ]]
407
414
  Examples:
408
415
  [[cli:
416
+ deepline search "business address -> company domain" "name and company domain -> work email"
409
417
  deepline search "first name, last name and company domain -> verified work email"
410
- deepline search "50 company domains -> each one's lead investors"
411
- deepline search "company domain -> contacts in sales leadership" --type plays
418
+ deepline search "company domains -> shop management software they use"
419
+ deepline search "company domain -> employees by job title and office location" --type plays
412
420
  deepline search "upload a contact list as a Meta ads audience"
413
421
  deepline search "how do webhooks trigger a play" --type docs
414
422
  ]]
415
423
  [[mcp:
416
424
  query "first name, last name and company domain -> verified work email"
417
- query "50 company domains -> each one's lead investors"
418
- query "company domain -> contacts in sales leadership"
425
+ query "company domains -> shop management software they use"
426
+ query "company domain -> employees by job title and office location"
419
427
  query "upload a contact list as a Meta ads audience"
420
428
  ]]
421
429
  Output:
422
430
  A ranked list. Each result has an id, its kind, what it does, and its price.
423
431
  Tools that need a provider connection are flagged. Describe the tool to
424
432
  see how to connect it.
433
+ When search suggests a rewrite, retry with the core task in a shorter query.
434
+ [[cli:
435
+ Multiple queries print one section per query in argument order. With --json,
436
+ read searches[] for each query's results or error. A failed query returns
437
+ a nonzero exit code and successful queries still appear.
438
+ ]]
425
439
  Cost:
426
440
  Free.
427
441
  Next:
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkQKKU2FH4js = require('./chunk-QKKU2FH4.js');
5
+ var _chunkEMUFF6EUjs = require('./chunk-EMUFF6EU.js');
6
6
 
7
7
 
8
8
 
@@ -22,14 +22,14 @@ var _chunkQKKU2FH4js = require('./chunk-QKKU2FH4.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkWBIDPDKJjs = require('./chunk-WBIDPDKJ.js');
25
+ var _chunkZLN2B5YAjs = require('./chunk-ZLN2B5YA.js');
26
26
 
27
27
 
28
28
 
29
29
 
30
30
 
31
31
 
32
- var _chunkUJMBG5JUjs = require('./chunk-UJMBG5JU.js');
32
+ var _chunkSPN7U3MVjs = require('./chunk-SPN7U3MV.js');
33
33
 
34
34
 
35
35
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -60,7 +60,7 @@ function statusBannerLine(value) {
60
60
  return `Service notice: ${banner.message}`;
61
61
  }
62
62
  function envFilePath(baseUrl) {
63
- return _chunkWBIDPDKJjs.hostEnvFilePath.call(void 0, baseUrl);
63
+ return _chunkZLN2B5YAjs.hostEnvFilePath.call(void 0, baseUrl);
64
64
  }
65
65
  function normalizeAuthScope(value) {
66
66
  if (!value || value === "global") return "global";
@@ -73,7 +73,7 @@ function parseAuthScope(args) {
73
73
  }
74
74
  function pendingClaimPath(baseUrl, scope) {
75
75
  if (scope === "folder") {
76
- const target = _chunkWBIDPDKJjs.resolveProjectPinTarget.call(void 0, );
76
+ const target = _chunkZLN2B5YAjs.resolveProjectPinTarget.call(void 0, );
77
77
  if (!target.ok) {
78
78
  throw new Error(
79
79
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -83,10 +83,10 @@ function pendingClaimPath(baseUrl, scope) {
83
83
  }
84
84
  return _path.join.call(void 0, target.dir, ".deepline", "setup", "pending-auth.json");
85
85
  }
86
- return `${_chunkWBIDPDKJjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
86
+ return `${_chunkZLN2B5YAjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
87
87
  }
88
88
  function legacyPendingClaimTokenPath(baseUrl) {
89
- return `${_chunkWBIDPDKJjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
89
+ return `${_chunkZLN2B5YAjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
90
90
  }
91
91
  function savePendingClaim(baseUrl, claim) {
92
92
  const filePath = pendingClaimPath(baseUrl, claim.scope);
@@ -190,21 +190,21 @@ function parseRegisterWaitMode(args) {
190
190
  function shouldWaitForRegisterClaim(mode) {
191
191
  if (mode === "yes") return true;
192
192
  if (mode === "no") return false;
193
- return _chunkUJMBG5JUjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
193
+ return _chunkSPN7U3MVjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
194
194
  }
195
195
  function saveEnvValues(values, baseUrl, scope) {
196
196
  const filtered = {
197
- ...values[_chunkWBIDPDKJjs.HOST_URL_ENV] ? { [_chunkWBIDPDKJjs.HOST_URL_ENV]: values[_chunkWBIDPDKJjs.HOST_URL_ENV] } : {},
198
- ...values[_chunkWBIDPDKJjs.API_KEY_ENV] ? { [_chunkWBIDPDKJjs.API_KEY_ENV]: values[_chunkWBIDPDKJjs.API_KEY_ENV] } : {},
199
- ...values[_chunkWBIDPDKJjs.ACTIVE_ORG_ID_ENV] ? { [_chunkWBIDPDKJjs.ACTIVE_ORG_ID_ENV]: values[_chunkWBIDPDKJjs.ACTIVE_ORG_ID_ENV] } : {},
200
- ...Object.prototype.hasOwnProperty.call(values, _chunkWBIDPDKJjs.ACTIVE_ORG_NAME_ENV) ? { [_chunkWBIDPDKJjs.ACTIVE_ORG_NAME_ENV]: values[_chunkWBIDPDKJjs.ACTIVE_ORG_NAME_ENV] } : {},
197
+ ...values[_chunkZLN2B5YAjs.HOST_URL_ENV] ? { [_chunkZLN2B5YAjs.HOST_URL_ENV]: values[_chunkZLN2B5YAjs.HOST_URL_ENV] } : {},
198
+ ...values[_chunkZLN2B5YAjs.API_KEY_ENV] ? { [_chunkZLN2B5YAjs.API_KEY_ENV]: values[_chunkZLN2B5YAjs.API_KEY_ENV] } : {},
199
+ ...values[_chunkZLN2B5YAjs.ACTIVE_ORG_ID_ENV] ? { [_chunkZLN2B5YAjs.ACTIVE_ORG_ID_ENV]: values[_chunkZLN2B5YAjs.ACTIVE_ORG_ID_ENV] } : {},
200
+ ...Object.prototype.hasOwnProperty.call(values, _chunkZLN2B5YAjs.ACTIVE_ORG_NAME_ENV) ? { [_chunkZLN2B5YAjs.ACTIVE_ORG_NAME_ENV]: values[_chunkZLN2B5YAjs.ACTIVE_ORG_NAME_ENV] } : {},
201
201
  // An explicit empty list must reach the store: it clears a stale line.
202
- ...Object.prototype.hasOwnProperty.call(values, _chunkWBIDPDKJjs.FEATURES_ENV) ? { [_chunkWBIDPDKJjs.FEATURES_ENV]: values[_chunkWBIDPDKJjs.FEATURES_ENV] } : {}
202
+ ...Object.prototype.hasOwnProperty.call(values, _chunkZLN2B5YAjs.FEATURES_ENV) ? { [_chunkZLN2B5YAjs.FEATURES_ENV]: values[_chunkZLN2B5YAjs.FEATURES_ENV] } : {}
203
203
  };
204
204
  if (scope === "folder") {
205
- _chunkWBIDPDKJjs.saveProjectDeeplineEnvValues.call(void 0, filtered);
205
+ _chunkZLN2B5YAjs.saveProjectDeeplineEnvValues.call(void 0, filtered);
206
206
  } else {
207
- _chunkWBIDPDKJjs.saveHostEnvValues.call(void 0, baseUrl, filtered);
207
+ _chunkZLN2B5YAjs.saveHostEnvValues.call(void 0, baseUrl, filtered);
208
208
  }
209
209
  }
210
210
  function activeOrgEnvValues(data) {
@@ -212,21 +212,21 @@ function activeOrgEnvValues(data) {
212
212
  if (!orgId) return {};
213
213
  const orgName = typeof data.org_name === "string" ? data.org_name.trim() : "";
214
214
  return {
215
- [_chunkWBIDPDKJjs.ACTIVE_ORG_ID_ENV]: orgId,
216
- [_chunkWBIDPDKJjs.ACTIVE_ORG_NAME_ENV]: orgName,
217
- ..._chunkWBIDPDKJjs.featureEnvValues.call(void 0, data)
215
+ [_chunkZLN2B5YAjs.ACTIVE_ORG_ID_ENV]: orgId,
216
+ [_chunkZLN2B5YAjs.ACTIVE_ORG_NAME_ENV]: orgName,
217
+ ..._chunkZLN2B5YAjs.featureEnvValues.call(void 0, data)
218
218
  };
219
219
  }
220
220
  async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT_MS) {
221
221
  const headers = {
222
222
  "Content-Type": "application/json",
223
- "User-Agent": `deepline-ts-sdk/${_chunkUJMBG5JUjs.SDK_VERSION}`,
223
+ "User-Agent": `deepline-ts-sdk/${_chunkSPN7U3MVjs.SDK_VERSION}`,
224
224
  "X-Deepline-Client-Family": "sdk",
225
225
  "X-Deepline-CLI-Family": "sdk",
226
- "X-Deepline-Agent-Runtime": _chunkUJMBG5JUjs.detectAgentRuntime.call(void 0, ),
227
- "X-Deepline-CLI-Version": _chunkUJMBG5JUjs.SDK_VERSION,
228
- "X-Deepline-SDK-Version": _chunkUJMBG5JUjs.SDK_VERSION,
229
- "X-Deepline-API-Contract": _chunkUJMBG5JUjs.SDK_API_CONTRACT
226
+ "X-Deepline-Agent-Runtime": _chunkSPN7U3MVjs.detectAgentRuntime.call(void 0, ),
227
+ "X-Deepline-CLI-Version": _chunkSPN7U3MVjs.SDK_VERSION,
228
+ "X-Deepline-SDK-Version": _chunkSPN7U3MVjs.SDK_VERSION,
229
+ "X-Deepline-API-Contract": _chunkSPN7U3MVjs.SDK_API_CONTRACT
230
230
  };
231
231
  if (apiKey) headers["Authorization"] = `Bearer ${apiKey}`;
232
232
  const bypassToken = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.VERCEL_PROTECTION_BYPASS_TOKEN, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]);
@@ -265,10 +265,10 @@ async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT
265
265
  if (failure.name === "AbortError" || failure.name === "TimeoutError") {
266
266
  throw failure;
267
267
  }
268
- const causeCode = _chunkUJMBG5JUjs.networkCauseCode.call(void 0, failure);
268
+ const causeCode = _chunkSPN7U3MVjs.networkCauseCode.call(void 0, failure);
269
269
  throw Object.assign(
270
270
  new (0, _chunkDIAWYWT5js.DeeplineError)(
271
- _chunkUJMBG5JUjs.connectionFailureMessage.call(void 0, new URL(url).origin, failure),
271
+ _chunkSPN7U3MVjs.connectionFailureMessage.call(void 0, new URL(url).origin, failure),
272
272
  void 0,
273
273
  "NETWORK_ERROR",
274
274
  causeCode ? { causeCode } : void 0
@@ -285,7 +285,7 @@ async function readStatusBanner(baseUrl) {
285
285
  return _optionalChain([response, 'optionalAccess', _11 => _11.status]) === 200 ? _nullishCoalesce(response.data.banner, () => ( null)) : null;
286
286
  }
287
287
  async function reportSetupCompleted(input) {
288
- const apiKey = input.authScope === "folder" ? _chunkWBIDPDKJjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkWBIDPDKJjs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
288
+ const apiKey = input.authScope === "folder" ? _chunkZLN2B5YAjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkZLN2B5YAjs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
289
289
  if (!apiKey) return;
290
290
  try {
291
291
  await httpJson(
@@ -414,7 +414,7 @@ function endClaimPollOnRefusal(status, data, baseUrl, authScope) {
414
414
  return EXIT_SERVER;
415
415
  }
416
416
  async function handleRegister(args, options) {
417
- const baseUrl = _chunkWBIDPDKJjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
417
+ const baseUrl = _chunkZLN2B5YAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
418
418
  let orgName = "";
419
419
  let orgId = "";
420
420
  let agentName = "";
@@ -473,19 +473,19 @@ async function handleRegister(args, options) {
473
473
  savePendingClaim(baseUrl, pendingClaim);
474
474
  saveEnvValues(
475
475
  {
476
- [_chunkWBIDPDKJjs.HOST_URL_ENV]: baseUrl
476
+ [_chunkZLN2B5YAjs.HOST_URL_ENV]: baseUrl
477
477
  },
478
478
  baseUrl,
479
479
  authScope
480
480
  );
481
481
  }
482
482
  if (claimUrl) {
483
- const shouldOpen = waitMode !== "no" && _chunkUJMBG5JUjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
483
+ const shouldOpen = waitMode !== "no" && _chunkSPN7U3MVjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
484
484
  console.log(
485
485
  shouldOpen ? " Opening approval page in your browser." : " Open this approval page in your browser:"
486
486
  );
487
487
  console.log(` ${claimUrl}`);
488
- if (shouldOpen) _chunkQKKU2FH4js.openInBrowser.call(void 0, claimUrl);
488
+ if (shouldOpen) _chunkEMUFF6EUjs.openInBrowser.call(void 0, claimUrl);
489
489
  if (claimToken && pendingClaim.approvalLinkReporting && !_optionalChain([options, 'optionalAccess', _16 => _16.deferApprovalLinkReport])) {
490
490
  await reportApprovalLinkShown(
491
491
  baseUrl,
@@ -534,8 +534,8 @@ async function handleRegister(args, options) {
534
534
  if (apiKey) {
535
535
  saveEnvValues(
536
536
  {
537
- [_chunkWBIDPDKJjs.HOST_URL_ENV]: baseUrl,
538
- [_chunkWBIDPDKJjs.API_KEY_ENV]: apiKey,
537
+ [_chunkZLN2B5YAjs.HOST_URL_ENV]: baseUrl,
538
+ [_chunkZLN2B5YAjs.API_KEY_ENV]: apiKey,
539
539
  ...activeOrgEnvValues(statusData)
540
540
  },
541
541
  baseUrl,
@@ -557,7 +557,7 @@ async function handleRegister(args, options) {
557
557
  }
558
558
  }
559
559
  async function handleWait(args) {
560
- const baseUrl = _chunkWBIDPDKJjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
560
+ const baseUrl = _chunkZLN2B5YAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
561
561
  let timeoutSeconds = 300;
562
562
  let requestedScope;
563
563
  if (args.includes("--auth-scope")) {
@@ -581,7 +581,7 @@ async function handleWait(args) {
581
581
  const authScope = resumed.scope;
582
582
  const claimToken = _nullishCoalesce(_optionalChain([pendingClaim, 'optionalAccess', _17 => _17.claimToken]), () => ( ""));
583
583
  if (!pendingClaim) {
584
- const scopedApiKey = authScope === "folder" ? _chunkWBIDPDKJjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkWBIDPDKJjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
584
+ const scopedApiKey = authScope === "folder" ? _chunkZLN2B5YAjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkZLN2B5YAjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
585
585
  if (scopedApiKey) {
586
586
  console.log("Already connected.");
587
587
  return EXIT_OK;
@@ -623,8 +623,8 @@ async function handleWait(args) {
623
623
  if (apiKey) {
624
624
  saveEnvValues(
625
625
  {
626
- [_chunkWBIDPDKJjs.HOST_URL_ENV]: baseUrl,
627
- [_chunkWBIDPDKJjs.API_KEY_ENV]: apiKey,
626
+ [_chunkZLN2B5YAjs.HOST_URL_ENV]: baseUrl,
627
+ [_chunkZLN2B5YAjs.API_KEY_ENV]: apiKey,
628
628
  ...activeOrgEnvValues(data)
629
629
  },
630
630
  baseUrl,
@@ -648,8 +648,8 @@ async function handleWait(args) {
648
648
  return EXIT_AUTH;
649
649
  }
650
650
  async function authStatusLine(timeoutMs = 3e3) {
651
- const baseUrl = _chunkWBIDPDKJjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
652
- const apiKey = _chunkWBIDPDKJjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
651
+ const baseUrl = _chunkZLN2B5YAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
652
+ const apiKey = _chunkZLN2B5YAjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
653
653
  if (!apiKey) return `Auth: not connected (${baseUrl})`;
654
654
  try {
655
655
  const { status, data } = await httpJson(
@@ -672,9 +672,9 @@ async function authStatusLine(timeoutMs = 3e3) {
672
672
  }
673
673
  }
674
674
  async function handleStatus(args) {
675
- const baseUrl = _chunkWBIDPDKJjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
675
+ const baseUrl = _chunkZLN2B5YAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
676
676
  const reveal = args.includes("--reveal");
677
- const jsonOutput = _chunkQKKU2FH4js.argsWantJson.call(void 0, args);
677
+ const jsonOutput = _chunkEMUFF6EUjs.argsWantJson.call(void 0, args);
678
678
  const hasExplicitAuthScope = args.includes("--auth-scope");
679
679
  let authScope = null;
680
680
  if (hasExplicitAuthScope) {
@@ -715,14 +715,14 @@ async function handleStatus(args) {
715
715
  };
716
716
  hostLines.push(`Host: ${baseUrl} (unreachable)`);
717
717
  }
718
- const apiKey = authScope === "folder" ? _chunkWBIDPDKJjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkWBIDPDKJjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkWBIDPDKJjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
718
+ const apiKey = authScope === "folder" ? _chunkZLN2B5YAjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkZLN2B5YAjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkZLN2B5YAjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
719
719
  if (!apiKey) {
720
720
  const { claim: pendingClaim } = resolvePendingAuthClaimForResume(
721
721
  baseUrl,
722
722
  _nullishCoalesce(authScope, () => ( void 0))
723
723
  );
724
724
  if (pendingClaim) {
725
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
725
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
726
726
  {
727
727
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
728
728
  status: "pending",
@@ -743,7 +743,7 @@ async function handleStatus(args) {
743
743
  );
744
744
  return EXIT_OK;
745
745
  }
746
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
746
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
747
747
  {
748
748
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
749
749
  status: "not connected",
@@ -776,7 +776,7 @@ async function handleStatus(args) {
776
776
  }
777
777
  );
778
778
  if (status === 401 || status === 403) {
779
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
779
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
780
780
  {
781
781
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
782
782
  status: "unauthorized",
@@ -803,7 +803,7 @@ async function handleStatus(args) {
803
803
  console.error(`Auth status error (status ${status}).`);
804
804
  return EXIT_SERVER;
805
805
  }
806
- const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkWBIDPDKJjs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
806
+ const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkZLN2B5YAjs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
807
807
  clearSatisfiedPendingClaim(
808
808
  baseUrl,
809
809
  resolvedAuthScope,
@@ -831,28 +831,28 @@ async function handleStatus(args) {
831
831
  if (apiKeyResp) {
832
832
  saveEnvValues(
833
833
  {
834
- [_chunkWBIDPDKJjs.HOST_URL_ENV]: baseUrl,
835
- [_chunkWBIDPDKJjs.API_KEY_ENV]: apiKeyResp,
834
+ [_chunkZLN2B5YAjs.HOST_URL_ENV]: baseUrl,
835
+ [_chunkZLN2B5YAjs.API_KEY_ENV]: apiKeyResp,
836
836
  ...activeOrgEnvValues(data)
837
837
  },
838
838
  baseUrl,
839
839
  resolvedAuthScope
840
840
  );
841
841
  if (resolvedAuthScope === "folder") {
842
- const target = _chunkWBIDPDKJjs.resolveProjectPinTarget.call(void 0, );
842
+ const target = _chunkZLN2B5YAjs.resolveProjectPinTarget.call(void 0, );
843
843
  savedApiKeyPath = target.ok ? _path.join.call(void 0, target.dir, ".env.deepline") : null;
844
844
  } else {
845
845
  savedApiKeyPath = envFilePath(baseUrl);
846
846
  }
847
847
  }
848
- } else if (resolvedAuthScope === "folder" || _chunkWBIDPDKJjs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
849
- saveEnvValues(_chunkWBIDPDKJjs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
848
+ } else if (resolvedAuthScope === "folder" || _chunkZLN2B5YAjs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
849
+ saveEnvValues(_chunkZLN2B5YAjs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
850
850
  }
851
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
851
+ _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
852
852
  {
853
853
  ...payload,
854
- ..._chunkUJMBG5JUjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
855
- command_context: _chunkWBIDPDKJjs.resolveCliCommandContext.call(void 0,
854
+ ..._chunkSPN7U3MVjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
855
+ command_context: _chunkZLN2B5YAjs.resolveCliCommandContext.call(void 0,
856
856
  { baseUrl, apiKey },
857
857
  resolvedAuthScope
858
858
  )
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-3MLFFWDM.mjs";
5
+ } from "./chunk-PZN24YQQ.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-Y6XKCEPK.mjs";
8
+ } from "./chunk-SHKRL7CW.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {