deepline 0.3.578 → 0.3.579

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 (170) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +7 -0
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +3 -1
  4. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +18 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +124 -57
  6. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +4 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +43 -64
  8. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +25 -0
  9. package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +83 -0
  10. package/dist/cli/{agents-MCU3ITQZ.js → agents-D5RZEVXQ.js} +31 -31
  11. package/dist/cli/{agents-LRBANBZH.mjs → agents-FJTRTYCL.mjs} +4 -4
  12. package/dist/cli/{auth-5BJKVYMQ.mjs → auth-OMYIDVXZ.mjs} +5 -5
  13. package/dist/cli/auth-Q4O7MJU4.js +44 -0
  14. package/dist/cli/{billing-NT57POHH.js → billing-EWFUDLQ7.js} +104 -102
  15. package/dist/cli/{billing-EBBI4MVL.mjs → billing-XK3LBNYS.mjs} +11 -9
  16. package/dist/cli/{chunk-H7DY5NQ3.mjs → chunk-27ZYRIQC.mjs} +5 -5
  17. package/dist/cli/{chunk-W66GXHYR.mjs → chunk-3Z4TVZE7.mjs} +1 -1
  18. package/dist/cli/{chunk-MXPCTF57.js → chunk-44NTNNKC.js} +11 -2
  19. package/dist/cli/{chunk-4LMTY4RQ.mjs → chunk-6DMGKAWO.mjs} +2 -2
  20. package/dist/cli/{chunk-ITYSPUKD.mjs → chunk-6EVVUVU3.mjs} +2 -2
  21. package/dist/cli/{chunk-4KNRCUKY.mjs → chunk-6GON36H3.mjs} +17 -14
  22. package/dist/cli/{chunk-A7NKOXBV.js → chunk-6MIEJJSO.js} +4 -4
  23. package/dist/cli/{chunk-4YSJOSBG.mjs → chunk-6NYHMXC7.mjs} +1 -1
  24. package/dist/cli/{chunk-PXMCPEE2.js → chunk-72TWLORR.js} +3 -3
  25. package/dist/cli/{chunk-3ZUKYLC6.js → chunk-7HOYKXVY.js} +8 -8
  26. package/dist/cli/{chunk-NEH7NZFT.js → chunk-7JMCRYXU.js} +10 -10
  27. package/dist/cli/{chunk-4CNHOBUO.mjs → chunk-7SZCJC4R.mjs} +2 -2
  28. package/dist/cli/{chunk-27HAQRGH.js → chunk-ABH6PUDZ.js} +23 -23
  29. package/dist/cli/{chunk-M3ITWEGS.js → chunk-AP7PIGL5.js} +41 -41
  30. package/dist/cli/{chunk-BPMA4S3O.js → chunk-BLEYV4BJ.js} +21 -21
  31. package/dist/cli/{chunk-DWUESXDD.mjs → chunk-BZ4M7OFO.mjs} +11 -1
  32. package/dist/cli/{chunk-5LCV36BR.js → chunk-DH736ASH.js} +20 -20
  33. package/dist/cli/{chunk-FYKHAT2F.mjs → chunk-DTQBQSUU.mjs} +9 -0
  34. package/dist/cli/{chunk-HZXF2HFF.mjs → chunk-F57NDSKT.mjs} +5 -5
  35. package/dist/cli/{chunk-VVZ7JZMQ.js → chunk-FKXSIIR4.js} +15 -15
  36. package/dist/cli/{chunk-CS36W3RL.js → chunk-G5CZDRY3.js} +26 -26
  37. package/dist/cli/{chunk-P35YQAUC.js → chunk-HEZW2IDK.js} +277 -274
  38. package/dist/cli/{chunk-AZFSCPYK.mjs → chunk-HGUFTSB5.mjs} +11 -2
  39. package/dist/cli/{chunk-CFLAGRWL.mjs → chunk-I2TSRLOI.mjs} +1 -1
  40. package/dist/cli/{chunk-OAQYLTUN.mjs → chunk-JFS4KHA3.mjs} +5 -5
  41. package/dist/cli/{chunk-XE66BGLB.js → chunk-K2BU67UC.js} +2 -2
  42. package/dist/cli/{chunk-NTHN7ODR.mjs → chunk-KIIOKQFY.mjs} +1 -1
  43. package/dist/cli/{chunk-IFWB4BYZ.mjs → chunk-KQAEXBVQ.mjs} +3 -3
  44. package/dist/cli/{chunk-RLPPLS6A.js → chunk-KWQHQG53.js} +6 -6
  45. package/dist/cli/{chunk-Y2TK7OXN.js → chunk-LCPJR3IY.js} +2 -2
  46. package/dist/cli/{chunk-W47SXEWQ.js → chunk-LQ45LCH7.js} +9 -9
  47. package/dist/cli/{chunk-LYZPGP3P.mjs → chunk-LV2LGW2Q.mjs} +1 -1
  48. package/dist/cli/{chunk-QPOJLAFT.mjs → chunk-LYBZLA6F.mjs} +2 -2
  49. package/dist/cli/{chunk-RWDYULX2.js → chunk-LYJ2NSHD.js} +17 -12
  50. package/dist/cli/{chunk-DDJN4RR6.mjs → chunk-M4YWN5BT.mjs} +4 -4
  51. package/dist/cli/{chunk-VMCJKGZS.mjs → chunk-N6X2UKYQ.mjs} +2 -2
  52. package/dist/cli/{chunk-25SSGQJJ.js → chunk-NKUXW4WB.js} +2 -2
  53. package/dist/cli/{chunk-CPNTDIJK.js → chunk-NOMO5GPI.js} +1 -1
  54. package/dist/cli/{chunk-CFG3ZM7M.mjs → chunk-NONMY5CY.mjs} +2 -2
  55. package/dist/cli/{chunk-24FGR73C.js → chunk-NWZU6HL4.js} +13 -13
  56. package/dist/cli/{chunk-HGQT6EGK.js → chunk-OOGP737I.js} +20 -20
  57. package/dist/cli/{chunk-ALXYCC4K.mjs → chunk-OSRATALX.mjs} +1 -1
  58. package/dist/cli/{chunk-ZO65VJRJ.js → chunk-PGRRMVQ5.js} +10 -1
  59. package/dist/cli/{chunk-J7PCSLRY.js → chunk-PLWZ3NB7.js} +5 -5
  60. package/dist/cli/{chunk-MXK4M7HP.js → chunk-Q4VKMF3B.js} +17 -17
  61. package/dist/cli/{chunk-SKHUWQZE.js → chunk-QA55PGJH.js} +17 -7
  62. package/dist/cli/{chunk-T2CCLYHV.mjs → chunk-S2OXA7QS.mjs} +7 -7
  63. package/dist/cli/{chunk-HKZN33F2.mjs → chunk-SUHCW7U5.mjs} +3 -3
  64. package/dist/cli/{chunk-PJXPHUAR.mjs → chunk-SZIWFQI2.mjs} +3 -3
  65. package/dist/cli/{chunk-7J473OJ5.mjs → chunk-TFNDOH4W.mjs} +1 -1
  66. package/dist/cli/{chunk-XBO4ERH6.js → chunk-TVAFWAOQ.js} +3 -3
  67. package/dist/cli/{chunk-UKSOIH2P.js → chunk-UYCBG75H.js} +5 -5
  68. package/dist/cli/{chunk-RW3URFZK.mjs → chunk-VFIIRK7S.mjs} +2 -2
  69. package/dist/cli/{chunk-3GF33QJJ.mjs → chunk-WQQQP3FH.mjs} +4 -4
  70. package/dist/cli/{chunk-G7PH2QVM.js → chunk-WWSGXX6U.js} +5 -5
  71. package/dist/cli/{chunk-JQPFICW3.mjs → chunk-X6LPC3SU.mjs} +1 -1
  72. package/dist/cli/{chunk-6UFTWNC5.mjs → chunk-XQYBBCFI.mjs} +2 -2
  73. package/dist/cli/{chunk-5IMWXYVB.js → chunk-XTM6NOJ6.js} +53 -53
  74. package/dist/cli/{chunk-XX7TZM4N.js → chunk-Y2ND6PPW.js} +48 -48
  75. package/dist/cli/{chunk-CSPOWVWS.mjs → chunk-YCWRKSLB.mjs} +8 -3
  76. package/dist/cli/command-docs.js +2 -2
  77. package/dist/cli/command-docs.mjs +1 -1
  78. package/dist/cli/concurrent-runs-help-D6XH3FY5.js +22 -0
  79. package/dist/cli/{concurrent-runs-help-2MHLIUC6.mjs → concurrent-runs-help-IQBZBTD5.mjs} +6 -6
  80. package/dist/cli/{csv-J6SRBMOT.mjs → csv-6BEOWTGM.mjs} +4 -4
  81. package/dist/cli/{csv-RYYDAC76.js → csv-T7TWLIGD.js} +13 -13
  82. package/dist/cli/{db-WK226TM7.mjs → db-FA5QGXZ7.mjs} +6 -6
  83. package/dist/cli/{db-5QLH6QK5.js → db-MFTUN3DF.js} +27 -27
  84. package/dist/cli/{describe-UBSCFPH5.mjs → describe-TITEQNVE.mjs} +21 -21
  85. package/dist/cli/describe-TYZ5YH3V.js +50 -0
  86. package/dist/cli/describe-core.d.mts +4 -2
  87. package/dist/cli/describe-core.d.ts +4 -2
  88. package/dist/cli/describe-core.js +4 -4
  89. package/dist/cli/describe-core.mjs +3 -3
  90. package/dist/cli/{executions-XF5BNCFS.mjs → executions-DMYJJIRB.mjs} +6 -6
  91. package/dist/cli/{executions-AGV5V7SD.js → executions-QW3L7G7J.js} +8 -8
  92. package/dist/cli/{feedback-3RDEZE2M.js → feedback-6JZGE7OQ.js} +14 -14
  93. package/dist/cli/{feedback-LT3PDK72.mjs → feedback-WPSNSFRC.mjs} +6 -6
  94. package/dist/cli/{git-7VBTCCBV.mjs → git-GO65XRM3.mjs} +5 -5
  95. package/dist/cli/git-UGGRLGTQ.js +26 -0
  96. package/dist/cli/index.js +148 -148
  97. package/dist/cli/index.mjs +47 -47
  98. package/dist/cli/{integrations-E7QRWMKZ.mjs → integrations-EEBPETH2.mjs} +7 -7
  99. package/dist/cli/{integrations-JP732FQB.js → integrations-T5JPSZXN.js} +29 -29
  100. package/dist/cli/{legacy-noops-UTL4W5WE.js → legacy-noops-B55OMNH7.js} +9 -9
  101. package/dist/cli/{legacy-noops-UFNQBPIT.mjs → legacy-noops-XDNZ46IR.mjs} +6 -6
  102. package/dist/cli/{mcp-5X4XFB4V.js → mcp-3YA333TQ.js} +24 -24
  103. package/dist/cli/{mcp-YHETA3AU.mjs → mcp-4QIUAAWS.mjs} +4 -4
  104. package/dist/cli/{monitors-WFVZ42OQ.mjs → monitors-BVUPS4CE.mjs} +7 -7
  105. package/dist/cli/{monitors-AN6KH4XY.js → monitors-FOS7MWZO.js} +100 -100
  106. package/dist/cli/{org-CN3XJZLA.js → org-CYM7HFLN.js} +121 -121
  107. package/dist/cli/{org-OMDV7WDF.mjs → org-TCMRRVFC.mjs} +6 -6
  108. package/dist/cli/{outcomes-I4ZTG5ND.mjs → outcomes-2JSWXWQ3.mjs} +6 -6
  109. package/dist/cli/{outcomes-7HCZ6K3Q.js → outcomes-VDJVP5YC.js} +14 -14
  110. package/dist/cli/{play-TSNBSHGA.mjs → play-CPP4EBYF.mjs} +20 -20
  111. package/dist/cli/{play-45VXZ57A.js → play-U3G73VIR.js} +349 -349
  112. package/dist/cli/{providers-RB3TT7AE.js → providers-2ZB67TK7.js} +9 -9
  113. package/dist/cli/{providers-4TB56ZLK.mjs → providers-RVMIX5ED.mjs} +6 -6
  114. package/dist/cli/{quickstart-XHZ3PG5I.mjs → quickstart-L3YO3OWZ.mjs} +4 -4
  115. package/dist/cli/{quickstart-ZNDM6VUD.js → quickstart-V3Y7XZ47.js} +6 -6
  116. package/dist/cli/{run-XNEJGAKV.js → run-M2CADJ6E.js} +49 -48
  117. package/dist/cli/{run-7PY4G6GB.mjs → run-PQ3Z2GOF.mjs} +27 -26
  118. package/dist/cli/{search-BG7KCIOG.mjs → search-QVLGI7SZ.mjs} +7 -7
  119. package/dist/cli/search-RHPPZZFG.js +32 -0
  120. package/dist/cli/{search-output-3ZBNTHGO.js → search-output-IUANVHWU.js} +8 -8
  121. package/dist/cli/{search-output-TWKKP2BE.mjs → search-output-PN3V7MSO.mjs} +5 -5
  122. package/dist/cli/{secrets-FNR6MX6A.js → secrets-AOW6F67J.js} +15 -15
  123. package/dist/cli/{secrets-AZZCE7E3.mjs → secrets-HK25G4K2.mjs} +6 -6
  124. package/dist/cli/sessions-AEGGTZ3K.js +23 -0
  125. package/dist/cli/{sessions-ZAMKN3AF.mjs → sessions-YN2OIAGR.mjs} +6 -6
  126. package/dist/cli/{settings-QGASFWV3.js → settings-6EV2FPGF.js} +85 -85
  127. package/dist/cli/{settings-WKWOOOI2.mjs → settings-7UW5TWSM.mjs} +12 -12
  128. package/dist/cli/{setup-U36W42LE.mjs → setup-BG56SHKH.mjs} +9 -9
  129. package/dist/cli/{setup-KUZDCR3F.js → setup-ZQPD2R5K.js} +49 -49
  130. package/dist/cli/skills-C6ZEZWBE.js +37 -0
  131. package/dist/cli/{skills-25CSZQIK.mjs → skills-MQV2TNUZ.mjs} +7 -7
  132. package/dist/cli/tools-PM3MC3RR.js +57 -0
  133. package/dist/cli/{tools-4NZQ22AA.mjs → tools-RGI4OE5T.mjs} +19 -19
  134. package/dist/cli/{update-CJYP36TG.mjs → update-SQKGHQKF.mjs} +9 -9
  135. package/dist/cli/update-ZHUPF2HT.js +37 -0
  136. package/dist/cli/{views-GYGE7FSV.mjs → views-734T2CXF.mjs} +6 -6
  137. package/dist/cli/{views-76UIPWJD.js → views-BUKVHCRD.js} +21 -21
  138. package/dist/cli/{workflow-LZSWALZS.mjs → workflow-JNRRBMEK.mjs} +7 -7
  139. package/dist/cli/{workflow-NCVXBATM.js → workflow-LPJC6RHP.js} +17 -17
  140. package/dist/{client-BrdMPFCM.d.ts → client-C1AubrWJ.d.ts} +1 -1
  141. package/dist/{client-CF-bsrtI.d.mts → client-CNYctEBh.d.mts} +1 -1
  142. package/dist/{client-core-DM1ZedOG.d.mts → client-core-Bb06TCx5.d.mts} +7 -0
  143. package/dist/{client-core-rMoUWSYM.d.ts → client-core-D6zAE46g.d.ts} +7 -0
  144. package/dist/index.d.mts +3 -3
  145. package/dist/index.d.ts +3 -3
  146. package/dist/index.js +9 -9
  147. package/dist/index.mjs +6 -6
  148. package/dist/install-integrity.json +126 -126
  149. package/dist/plays/play-description.d.mts +1 -1
  150. package/dist/plays/play-description.d.ts +1 -1
  151. package/dist/plays/run-request.d.mts +1 -1
  152. package/dist/plays/run-request.d.ts +1 -1
  153. package/dist/release.d.mts +1 -1
  154. package/dist/release.d.ts +1 -1
  155. package/dist/release.js +2 -2
  156. package/dist/release.mjs +1 -1
  157. package/dist/server.d.mts +2 -2
  158. package/dist/server.d.ts +2 -2
  159. package/dist/server.js +5 -5
  160. package/dist/server.mjs +3 -3
  161. package/package.json +1 -1
  162. package/dist/cli/auth-VSW3MTFO.js +0 -44
  163. package/dist/cli/concurrent-runs-help-ATT2GVTQ.js +0 -22
  164. package/dist/cli/describe-Q27SRQWM.js +0 -50
  165. package/dist/cli/git-BBTP3H7J.js +0 -26
  166. package/dist/cli/search-ZBU5GW4W.js +0 -32
  167. package/dist/cli/sessions-GCY62GAW.js +0 -23
  168. package/dist/cli/skills-43DHMLRW.js +0 -37
  169. package/dist/cli/tools-5BGKNMFU.js +0 -57
  170. package/dist/cli/update-CUO2MTB6.js +0 -37
@@ -4,14 +4,14 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkXBO4ERH6js = require('./chunk-XBO4ERH6.js');
7
+ var _chunkTVAFWAOQjs = require('./chunk-TVAFWAOQ.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkA7NKOXBVjs = require('./chunk-A7NKOXBV.js');
14
+ var _chunk6MIEJJSOjs = require('./chunk-6MIEJJSO.js');
15
15
 
16
16
 
17
17
 
@@ -331,7 +331,7 @@ function buildEnvironmentContext() {
331
331
  node_version: process.version,
332
332
  runtime: "Node.js",
333
333
  hostname: _os.hostname.call(void 0, ),
334
- agent_runtime: _chunkA7NKOXBVjs.detectAgentRuntime.call(void 0, )
334
+ agent_runtime: _chunk6MIEJJSOjs.detectAgentRuntime.call(void 0, )
335
335
  };
336
336
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
337
337
  const normalized = _optionalChain([process, 'access', _6 => _6.env, 'access', _7 => _7[key], 'optionalAccess', _8 => _8.trim, 'call', _9 => _9()]);
@@ -352,18 +352,18 @@ function buildEnvironmentContext() {
352
352
  return context;
353
353
  }
354
354
  function failureReportHeaders(apiKey) {
355
- const agentSessionId = _chunkA7NKOXBVjs.agentSessionIdFromEnvironment.call(void 0, );
355
+ const agentSessionId = _chunk6MIEJJSOjs.agentSessionIdFromEnvironment.call(void 0, );
356
356
  return {
357
- ..._chunkA7NKOXBVjs.deploymentProtectionHeaders.call(void 0, ),
357
+ ..._chunk6MIEJJSOjs.deploymentProtectionHeaders.call(void 0, ),
358
358
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
359
359
  Authorization: `Bearer ${apiKey}`,
360
360
  "Content-Type": "application/json",
361
- "User-Agent": `deepline-ts-sdk/${_chunkA7NKOXBVjs.SDK_VERSION}`,
361
+ "User-Agent": `deepline-ts-sdk/${_chunk6MIEJJSOjs.SDK_VERSION}`,
362
362
  "X-Deepline-Client-Family": "sdk",
363
363
  "X-Deepline-CLI-Family": "sdk",
364
- "X-Deepline-Agent-Runtime": _chunkA7NKOXBVjs.detectAgentRuntime.call(void 0, ),
365
- "X-Deepline-CLI-Version": _chunkA7NKOXBVjs.SDK_VERSION,
366
- "X-Deepline-SDK-Version": _chunkA7NKOXBVjs.SDK_VERSION
364
+ "X-Deepline-Agent-Runtime": _chunk6MIEJJSOjs.detectAgentRuntime.call(void 0, ),
365
+ "X-Deepline-CLI-Version": _chunk6MIEJJSOjs.SDK_VERSION,
366
+ "X-Deepline-SDK-Version": _chunk6MIEJJSOjs.SDK_VERSION
367
367
  };
368
368
  }
369
369
  async function postFailureReport(input) {
@@ -391,7 +391,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
391
391
  if (isFailureReportingDisabled()) return false;
392
392
  let apiKey = "";
393
393
  try {
394
- apiKey = _chunkXBO4ERH6js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
394
+ apiKey = _chunkTVAFWAOQjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
395
395
  } catch (e2) {
396
396
  return false;
397
397
  }
@@ -418,7 +418,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
418
418
  failure_code: failureCode2,
419
419
  failure_stage: failureStage,
420
420
  error_body: "Automatic Deepline skills installation failed.",
421
- cli_version: _chunkA7NKOXBVjs.SDK_VERSION,
421
+ cli_version: _chunk6MIEJJSOjs.SDK_VERSION,
422
422
  context: {
423
423
  environment: buildEnvironmentContext(),
424
424
  skills_sync: {
@@ -538,7 +538,7 @@ function buildFailureReport(input) {
538
538
  failure_kind: failureKind,
539
539
  failure_code: code,
540
540
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
541
- cli_version: _chunkA7NKOXBVjs.SDK_VERSION,
541
+ cli_version: _chunk6MIEJJSOjs.SDK_VERSION,
542
542
  context: {
543
543
  base_url: redactFailureText(input.baseUrl, 400),
544
544
  command_summary: sanitizeCommand(input.argv),
@@ -558,8 +558,8 @@ async function maybeReportSdkCliFailure(input) {
558
558
  if (isServerLoggedPlayRunStartFailure(input)) return false;
559
559
  const exitCode = resolvedExitCode(input);
560
560
  if (!shouldReport({ exitCode, error: input.error })) return false;
561
- const baseUrl = _chunkXBO4ERH6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
562
- const apiKey = _chunkXBO4ERH6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
561
+ const baseUrl = _chunkTVAFWAOQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
562
+ const apiKey = _chunkTVAFWAOQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
563
563
  if (!apiKey) return false;
564
564
  return postFailureReport({
565
565
  baseUrl,
@@ -914,8 +914,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
914
914
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
915
915
  var defaultBrowserCommandRunner = childProcess;
916
916
  function getAuthedHttpClient() {
917
- const config = _chunkXBO4ERH6js.resolveConfig.call(void 0, );
918
- return { config, http: new (0, _chunkXBO4ERH6js.HttpClient)(config) };
917
+ const config = _chunkTVAFWAOQjs.resolveConfig.call(void 0, );
918
+ return { config, http: new (0, _chunkTVAFWAOQjs.HttpClient)(config) };
919
919
  }
920
920
  function stableOsUserId() {
921
921
  try {
@@ -1256,7 +1256,7 @@ function collectLocalEnvInfo() {
1256
1256
  os: `${process.platform} ${process.arch}`,
1257
1257
  node_version: process.version,
1258
1258
  home_dir: homeDir,
1259
- agent_runtime: _chunkA7NKOXBVjs.detectAgentRuntime.call(void 0, )
1259
+ agent_runtime: _chunk6MIEJJSOjs.detectAgentRuntime.call(void 0, )
1260
1260
  };
1261
1261
  const env = process.env;
1262
1262
  const optional = {
@@ -1503,9 +1503,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
1503
1503
  }
1504
1504
  function withAgentCommandContext(value) {
1505
1505
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
1506
- return _chunkA7NKOXBVjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1506
+ return _chunk6MIEJJSOjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1507
1507
  ...valueRecord,
1508
- command_context: _chunkXBO4ERH6js.resolveCliCommandContext.call(void 0, )
1508
+ command_context: _chunkTVAFWAOQjs.resolveCliCommandContext.call(void 0, )
1509
1509
  } : value;
1510
1510
  }
1511
1511
  function printJson(value, fields, options = {}) {
@@ -1677,7 +1677,7 @@ function errorToJsonPayload(error) {
1677
1677
  ...upstreamResponse ? { upstreamResponse } : {},
1678
1678
  ...Object.keys(details).length > 0 ? { details } : {}
1679
1679
  };
1680
- const retry = cliRetryGuidance(payloadError, _chunkA7NKOXBVjs.readToolFailureHint.call(void 0, error));
1680
+ const retry = cliRetryGuidance(payloadError, _chunk6MIEJJSOjs.readToolFailureHint.call(void 0, error));
1681
1681
  return {
1682
1682
  ok: false,
1683
1683
  status: "failed",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  printCommandEnvelope
3
- } from "./chunk-4LMTY4RQ.mjs";
3
+ } from "./chunk-6DMGKAWO.mjs";
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
  import {
@@ -19,6 +19,12 @@ function featureLines(id, features) {
19
19
  )
20
20
  ];
21
21
  }
22
+ function credentialSourceText(source) {
23
+ if (source === "user") return "your own provider key";
24
+ if (source === "managed") return "Deepline's managed key";
25
+ if (source === "none") return "no provider key needed";
26
+ return null;
27
+ }
22
28
  function byokLines(byok) {
23
29
  if (typeof byok.supported !== "boolean") {
24
30
  return ["BYOK: unknown (this server does not report it)"];
@@ -711,6 +717,7 @@ function describedLines(described, view) {
711
717
  ...described.description ? [described.description] : [],
712
718
  ...described.signature ? [`Signature: ${described.signature}`] : [],
713
719
  ...described.cost ? [`Cost: ${described.cost}`] : [],
720
+ ...credentialSourceText(described.credentialSource) ? [`Runs on: ${credentialSourceText(described.credentialSource)}`] : [],
714
721
  ...described.guidance.map((line) => `Guidance: ${line}`),
715
722
  ...described.rateLimit ? [`Rate limit: ${described.rateLimit}`] : [],
716
723
  ..._optionalChain([described, 'access', _18 => _18.toolUsage, 'optionalAccess', _19 => _19.effect]) ? [`Effect: ${described.toolUsage.effect}`] : [],
@@ -841,6 +848,7 @@ function describedJson(described, view) {
841
848
  ...described.cost ? { cost: described.cost } : {},
842
849
  ...described.rateLimit ? { rateLimit: described.rateLimit } : {},
843
850
  ...described.byok ? { byok: described.byok } : {},
851
+ ...described.credentialSource ? { credentialSource: described.credentialSource } : {},
844
852
  ...described.connected !== void 0 ? { connected: described.connected } : {},
845
853
  ...described.credentialStatus ? { credentialStatus: described.credentialStatus } : {},
846
854
  ...described.connectCommand ? { connectCommand: described.connectCommand } : {},
@@ -1005,4 +1013,5 @@ function describedPlay(play) {
1005
1013
 
1006
1014
 
1007
1015
 
1008
- exports.byokLines = byokLines; exports.SCHEMA_LINE_LIMIT = SCHEMA_LINE_LIMIT; exports.schemaField = schemaField; exports.schemaFields = schemaFields; exports.rateLimitSummary = rateLimitSummary; exports.rateLimitQualifier = rateLimitQualifier; exports.schemaLines = schemaLines; exports.fieldBlockLines = fieldBlockLines; exports.examples = examples; exports.discoveryAuthLines = discoveryAuthLines; exports.describedLines = describedLines; exports.topLevelField = topLevelField; exports.describedJson = describedJson; exports.buildPlayDashboardUrl = buildPlayDashboardUrl; exports.buildPlayRunUrl = buildPlayRunUrl; exports.describedPlay = describedPlay;
1016
+
1017
+ exports.credentialSourceText = credentialSourceText; exports.byokLines = byokLines; exports.SCHEMA_LINE_LIMIT = SCHEMA_LINE_LIMIT; exports.schemaField = schemaField; exports.schemaFields = schemaFields; exports.rateLimitSummary = rateLimitSummary; exports.rateLimitQualifier = rateLimitQualifier; exports.schemaLines = schemaLines; exports.fieldBlockLines = fieldBlockLines; exports.examples = examples; exports.discoveryAuthLines = discoveryAuthLines; exports.describedLines = describedLines; exports.topLevelField = topLevelField; exports.describedJson = describedJson; exports.buildPlayDashboardUrl = buildPlayDashboardUrl; exports.buildPlayRunUrl = buildPlayRunUrl; exports.describedPlay = describedPlay;
@@ -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(); } }
2
2
 
3
- var _chunk3ZUKYLC6js = require('./chunk-3ZUKYLC6.js');
3
+ var _chunk7HOYKXVYjs = require('./chunk-7HOYKXVY.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkXBO4ERH6js = require('./chunk-XBO4ERH6.js');
7
+ var _chunkTVAFWAOQjs = require('./chunk-TVAFWAOQ.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunkXBO4ERH6js.resolveConfig.call(void 0, options);
141
- return new (0, _chunk3ZUKYLC6js.PlayClient)(
142
- new (0, _chunkXBO4ERH6js.HttpClient)(config),
140
+ const config = _chunkTVAFWAOQjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunk7HOYKXVYjs.PlayClient)(
142
+ new (0, _chunkTVAFWAOQjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkSKHUWQZEjs = require('./chunk-SKHUWQZE.js');
6
+ var _chunkQA55PGJHjs = require('./chunk-QA55PGJH.js');
7
7
 
8
8
 
9
9
 
@@ -13,7 +13,7 @@ var _chunkSKHUWQZEjs = require('./chunk-SKHUWQZE.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkZO65VJRJjs = require('./chunk-ZO65VJRJ.js');
16
+ var _chunkPGRRMVQ5js = require('./chunk-PGRRMVQ5.js');
17
17
 
18
18
 
19
19
  var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
@@ -31,13 +31,13 @@ var VIEWS = {
31
31
  details: model,
32
32
  lines: [
33
33
  ...unlisted,
34
- ..._chunkSKHUWQZEjs.formatModelDescription.call(void 0, model).trimEnd().split("\n")
34
+ ..._chunkQA55PGJHjs.formatModelDescription.call(void 0, model).trimEnd().split("\n")
35
35
  ]
36
36
  };
37
37
  },
38
38
  byok: async (_value, tool) => ({
39
39
  details: _nullishCoalesce(tool.byok, () => ( {})),
40
- lines: _chunkZO65VJRJjs.byokLines.call(void 0, _nullishCoalesce(tool.byok, () => ( {})))
40
+ lines: _chunkPGRRMVQ5js.byokLines.call(void 0, _nullishCoalesce(tool.byok, () => ( {})))
41
41
  })
42
42
  };
43
43
  var isFeatureView = (value) => typeof value === "string" && Object.hasOwn(VIEWS, value);
@@ -133,7 +133,7 @@ async function findNamed(reference, options, lookups) {
133
133
  const record = await lookups.play(reference2);
134
134
  if (!record) return null;
135
135
  return {
136
- described: _chunkZO65VJRJjs.describedPlay.call(void 0, record),
136
+ described: _chunkPGRRMVQ5js.describedPlay.call(void 0, record),
137
137
  record: { ...record },
138
138
  schemas: {
139
139
  inputSchema: _nullishCoalesce(record.inputSchema, () => ( null)),
@@ -153,15 +153,15 @@ async function findNamed(reference, options, lookups) {
153
153
  const features = toolFeatures(record);
154
154
  return {
155
155
  described: {
156
- ..._chunkSKHUWQZEjs.describedTool.call(void 0, record, name),
156
+ ..._chunkQA55PGJHjs.describedTool.call(void 0, record, name),
157
157
  ...features.length ? { features: features.map(({ view: _view, ...feature }) => feature) } : {}
158
158
  },
159
- record: _chunkSKHUWQZEjs.toolMetadataJsonForDescribe.call(void 0,
159
+ record: _chunkQA55PGJHjs.toolMetadataJsonForDescribe.call(void 0,
160
160
  record,
161
161
  name,
162
162
  lookups.seedStarterScript
163
163
  ),
164
- schemas: _chunkSKHUWQZEjs.publicToolSchemas.call(void 0, record),
164
+ schemas: _chunkQA55PGJHjs.publicToolSchemas.call(void 0, record),
165
165
  feature: (featureName, value) => {
166
166
  const feature = features.find(({ name: name2 }) => name2 === featureName);
167
167
  return feature ? describeFeature(record, feature, value, {
@@ -208,7 +208,7 @@ async function describeName(name, options, lookups) {
208
208
  const note = shadows ? `Showing your org play "${name}". It has the same name as a Deepline ${shadows.kind.replace("_", " ")}; see that one with: ${shadows.describeCommand}` : null;
209
209
  const verbose = options.verbose === true;
210
210
  const isPlay = described.kind === "prebuilt_play" || described.kind === "custom_play";
211
- const dashboardUrl = isPlay ? _chunkZO65VJRJjs.buildPlayDashboardUrl.call(void 0,
211
+ const dashboardUrl = isPlay ? _chunkPGRRMVQ5js.buildPlayDashboardUrl.call(void 0,
212
212
  lookups.baseUrl,
213
213
  described.id,
214
214
  lookups.dashboardOrgId
@@ -276,7 +276,7 @@ async function describeName(name, options, lookups) {
276
276
  },
277
277
  lines: [
278
278
  `${described.id} [${described.kind.replace("_", " ")}]`,
279
- ..._chunkZO65VJRJjs.schemaLines.call(void 0, described, {
279
+ ..._chunkPGRRMVQ5js.schemaLines.call(void 0, described, {
280
280
  full: true,
281
281
  secondary: true,
282
282
  ...fields.length ? { fields } : {}
@@ -285,17 +285,17 @@ async function describeName(name, options, lookups) {
285
285
  } : {
286
286
  envelope: {
287
287
  ...summary,
288
- inputs: inputs.map(_chunkZO65VJRJjs.topLevelField),
289
- outputs: outputs.map(_chunkZO65VJRJjs.topLevelField),
290
- ...described.rowInputs ? { rowInputs: described.rowInputs.map(_chunkZO65VJRJjs.topLevelField) } : {},
291
- ...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(_chunkZO65VJRJjs.topLevelField) } : {},
292
- runExamples: _chunkZO65VJRJjs.examples.call(void 0, described, { verbose }),
288
+ inputs: inputs.map(_chunkPGRRMVQ5js.topLevelField),
289
+ outputs: outputs.map(_chunkPGRRMVQ5js.topLevelField),
290
+ ...described.rowInputs ? { rowInputs: described.rowInputs.map(_chunkPGRRMVQ5js.topLevelField) } : {},
291
+ ...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(_chunkPGRRMVQ5js.topLevelField) } : {},
292
+ runExamples: _chunkPGRRMVQ5js.examples.call(void 0, described, { verbose }),
293
293
  ...dashboardUrl ? { dashboardUrl } : {},
294
294
  ...shadows ? { shadows, note } : {}
295
295
  },
296
296
  lines: [
297
297
  ...note ? [`Note: ${note}`, ""] : [],
298
- ..._chunkZO65VJRJjs.describedLines.call(void 0, described, {
298
+ ..._chunkPGRRMVQ5js.describedLines.call(void 0, described, {
299
299
  cli: shown && (!named || options.cliExample === true),
300
300
  play: shown && (!named || options.playExample === true),
301
301
  explain: named,
@@ -312,7 +312,7 @@ async function describeName(name, options, lookups) {
312
312
  // its value stands, so callers of the older commands read what they did.
313
313
  { ...view.envelope, ...record }
314
314
  ) : {
315
- ..._chunkZO65VJRJjs.describedJson.call(void 0, described, {
315
+ ..._chunkPGRRMVQ5js.describedJson.call(void 0, described, {
316
316
  secondary: verbose || fields.length > 0,
317
317
  verbose
318
318
  }),
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkZO65VJRJjs = require('./chunk-ZO65VJRJ.js');
5
+ var _chunkPGRRMVQ5js = require('./chunk-PGRRMVQ5.js');
6
6
 
7
7
 
8
8
 
@@ -80,6 +80,9 @@ var CapabilityDescription = class _CapabilityDescription {
80
80
  const billingSourceLabel = stringValue(
81
81
  _nullishCoalesce(this.#catalogEntry.billingSourceLabel, () => ( this.#catalogEntry.billing_source_label))
82
82
  );
83
+ const credentialSource = stringValue(
84
+ _nullishCoalesce(this.#catalogEntry.credentialSource, () => ( this.#catalogEntry.credential_source))
85
+ );
83
86
  const isFree = billingSource === "free";
84
87
  const displayText = stringValue(
85
88
  _nullishCoalesce(pricing.displayText, () => ( pricing.display_text))
@@ -99,6 +102,7 @@ var CapabilityDescription = class _CapabilityDescription {
99
102
  ),
100
103
  billingSource,
101
104
  billingSourceLabel,
105
+ ...credentialSource ? { credentialSource } : {},
102
106
  deeplineCreditsPerPricingUnit: isFree ? 0 : canonicalCredits,
103
107
  deeplineUsdPerPricingUnit: isFree ? 0 : canonicalUsd,
104
108
  ...pricing.estimatedRange && showManagedPricing ? {
@@ -314,7 +318,7 @@ function extractorValueType(name) {
314
318
  }
315
319
  const named = NAMED_VALUE_SHAPES[definition.valueKind];
316
320
  if (!named) return { type: "string" };
317
- const { type, fields } = _chunkZO65VJRJjs.schemaField.call(void 0, name, named.schema, true);
321
+ const { type, fields } = _chunkPGRRMVQ5js.schemaField.call(void 0, name, named.schema, true);
318
322
  return { type, ...fields ? { fields } : {}, shape: named.shape };
319
323
  }
320
324
  function jsonSchemaOf(wrapper) {
@@ -374,7 +378,7 @@ function describedTool(tool, requestedToolId) {
374
378
  // The server's public monitor pricing sends `display`.
375
379
  cost: stringField(pricing, "display", "displayText") || void 0,
376
380
  guidance: [],
377
- inputs: _chunkZO65VJRJjs.schemaFields.call(void 0,
381
+ inputs: _chunkPGRRMVQ5js.schemaFields.call(void 0,
378
382
  recordField(tool, "payload_schema", "payloadSchema")
379
383
  ),
380
384
  outputs: [],
@@ -411,7 +415,7 @@ function describedTool(tool, requestedToolId) {
411
415
  (path) => path.replace(/^toolResponse\.raw\./, "")
412
416
  );
413
417
  const node = roots.flatMap((root) => paths.map((path) => schemaNodeAt(root, path))).find(isRecord);
414
- const { fields, ...typed } = _chunkZO65VJRJjs.schemaField.call(void 0, name, node, true);
418
+ const { fields, ...typed } = _chunkPGRRMVQ5js.schemaField.call(void 0, name, node, true);
415
419
  const valueType = stringField(_nullishCoalesce(details.get(name), () => ( {})), "valueType");
416
420
  const deepline = kind === "extractedValues" ? extractorValueType(name) : void 0;
417
421
  const known = typed.type !== "unknown" ? void 0 : kind === "extractedLists" ? { type: "object[]" } : deepline;
@@ -460,12 +464,18 @@ function describedTool(tool, requestedToolId) {
460
464
  );
461
465
  const provider = stringField(tool, "provider");
462
466
  const connectCommand = credentialStatus === "requires_connection" && (!byok || byok.setupUrl) && /^[a-z0-9][a-z0-9_-]*$/.test(provider) ? `deepline integrations connect ${provider} --link --json` : void 0;
467
+ const credentialSource = stringField(
468
+ tool,
469
+ "credentialSource",
470
+ "credential_source"
471
+ );
463
472
  return {
464
473
  kind: "tool",
465
474
  id: String(contract.toolId),
466
475
  ...provider ? { provider } : {},
467
476
  displayName,
468
477
  description,
478
+ ...credentialSource ? { credentialSource } : {},
469
479
  cost: [
470
480
  stringField(cost, "displayText"),
471
481
  // "Free (free)" says the same thing twice, as does "Uses your provided
@@ -481,7 +491,7 @@ function describedTool(tool, requestedToolId) {
481
491
  ],
482
492
  rateLimit: withPlanRateLimit(
483
493
  recordField(recordField(tool, "pricing"), "benefit").requestsPerMinute,
484
- _chunkZO65VJRJjs.rateLimitSummary.call(void 0,
494
+ _chunkPGRRMVQ5js.rateLimitSummary.call(void 0,
485
495
  recordField(contract, "executionMetadata").configuredRateLimits
486
496
  )
487
497
  ),
@@ -491,9 +501,9 @@ function describedTool(tool, requestedToolId) {
491
501
  ...connectCommand && !_optionalChain([tool, 'access', _5 => _5.auth, 'optionalAccess', _6 => _6.connectionRequired]) ? { connectCommand } : {},
492
502
  ...tool.auth ? { auth: tool.auth } : {},
493
503
  ...tool.toolUsage ? { toolUsage: tool.toolUsage } : {},
494
- inputs: _chunkZO65VJRJjs.schemaFields.call(void 0, inputSchema),
504
+ inputs: _chunkPGRRMVQ5js.schemaFields.call(void 0, inputSchema),
495
505
  outputs: [...lists, ...values].map(({ field }) => field),
496
- rawResponse: _chunkZO65VJRJjs.schemaFields.call(void 0, outputSchema),
506
+ rawResponse: _chunkPGRRMVQ5js.schemaFields.call(void 0, outputSchema),
497
507
  runner: playReference ? { via: "play", reference: playReference } : { via: "tool", toolId: String(contract.toolId), inputSchema }
498
508
  };
499
509
  }
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-4KNRCUKY.mjs";
3
+ } from "./chunk-6GON36H3.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-CSPOWVWS.mjs";
6
+ } from "./chunk-YCWRKSLB.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
10
10
  findNamed
11
- } from "./chunk-RW3URFZK.mjs";
11
+ } from "./chunk-VFIIRK7S.mjs";
12
12
  import {
13
13
  SCHEMA_LINE_LIMIT
14
- } from "./chunk-FYKHAT2F.mjs";
14
+ } from "./chunk-DTQBQSUU.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-ITYSPUKD.mjs";
17
+ } from "./chunk-6EVVUVU3.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled,
21
21
  printCommandEnvelope
22
- } from "./chunk-4LMTY4RQ.mjs";
22
+ } from "./chunk-6DMGKAWO.mjs";
23
23
  import {
24
24
  autoDetectBaseUrl,
25
25
  resolveApiKeyForBaseUrl,
26
26
  resolveCliDashboardOrgId
27
- } from "./chunk-W66GXHYR.mjs";
27
+ } from "./chunk-3Z4TVZE7.mjs";
28
28
 
29
29
  // src/cli/commands/describe.ts
30
30
  import { writeFileSync } from "fs";
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-4LMTY4RQ.mjs";
5
+ } from "./chunk-6DMGKAWO.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -22,14 +22,14 @@ import {
22
22
  saveHostEnvValues,
23
23
  saveProjectDeeplineEnvValues,
24
24
  storedHostApiKey
25
- } from "./chunk-W66GXHYR.mjs";
25
+ } from "./chunk-3Z4TVZE7.mjs";
26
26
  import {
27
27
  SDK_API_CONTRACT,
28
28
  SDK_VERSION,
29
29
  connectionFailureMessage,
30
30
  detectAgentRuntime,
31
31
  networkCauseCode
32
- } from "./chunk-CFLAGRWL.mjs";
32
+ } from "./chunk-I2TSRLOI.mjs";
33
33
  import {
34
34
  DeeplineError
35
35
  } from "./chunk-Z3A2S3QM.mjs";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  rejectRestrictedFeedback
3
- } from "./chunk-ALXYCC4K.mjs";
3
+ } from "./chunk-OSRATALX.mjs";
4
4
  import {
5
5
  getAuthedHttpClient,
6
6
  printCommandEnvelope
7
- } from "./chunk-4LMTY4RQ.mjs";
7
+ } from "./chunk-6DMGKAWO.mjs";
8
8
  import {
9
9
  agentSessionIdFromEnvironment,
10
10
  claudeProjectsRoots,
11
11
  coworkTranscriptFromEnvironment
12
- } from "./chunk-CFLAGRWL.mjs";
12
+ } from "./chunk-I2TSRLOI.mjs";
13
13
 
14
14
  // src/cli/commands/sessions.ts
15
15
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-4LMTY4RQ.mjs";
3
+ } from "./chunk-6DMGKAWO.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkA7NKOXBVjs = require('./chunk-A7NKOXBV.js');
4
+ var _chunk6MIEJJSOjs = require('./chunk-6MIEJJSO.js');
5
5
 
6
6
 
7
7
  var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
@@ -778,7 +778,7 @@ function readSkillsVersionFile(path) {
778
778
  }
779
779
  }
780
780
  function resolveAutoSyncSkillAgents() {
781
- switch (_chunkA7NKOXBVjs.detectAgentRuntime.call(void 0, )) {
781
+ switch (_chunk6MIEJJSOjs.detectAgentRuntime.call(void 0, )) {
782
782
  case "codex":
783
783
  return ["codex"];
784
784
  case "claude_code":
@@ -848,7 +848,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
848
848
  }
849
849
 
850
850
  // src/http.ts
851
- var HttpClient2 = class extends _chunkA7NKOXBVjs.HttpClient {
851
+ var HttpClient2 = class extends _chunk6MIEJJSOjs.HttpClient {
852
852
  constructor(config) {
853
853
  super(config, readSdkSkillsLocalVersion);
854
854
  }
@@ -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 _chunk3ZUKYLC6js = require('./chunk-3ZUKYLC6.js');
3
+ var _chunk7HOYKXVYjs = require('./chunk-7HOYKXVY.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkXBO4ERH6js = require('./chunk-XBO4ERH6.js');
7
+ var _chunkTVAFWAOQjs = require('./chunk-TVAFWAOQ.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunk3ZUKYLC6js.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunk7HOYKXVYjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkXBO4ERH6js.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkXBO4ERH6js.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkTVAFWAOQjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkTVAFWAOQjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -3,7 +3,7 @@ import {
3
3
  formatModelDescription,
4
4
  publicToolSchemas,
5
5
  toolMetadataJsonForDescribe
6
- } from "./chunk-DWUESXDD.mjs";
6
+ } from "./chunk-BZ4M7OFO.mjs";
7
7
  import {
8
8
  buildPlayDashboardUrl,
9
9
  byokLines,
@@ -13,7 +13,7 @@ import {
13
13
  examples,
14
14
  schemaLines,
15
15
  topLevelField
16
- } from "./chunk-FYKHAT2F.mjs";
16
+ } from "./chunk-DTQBQSUU.mjs";
17
17
  import {
18
18
  DeeplineError
19
19
  } from "./chunk-Z3A2S3QM.mjs";
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-OAQYLTUN.mjs";
14
+ } from "./chunk-JFS4KHA3.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-4LMTY4RQ.mjs";
17
+ } from "./chunk-6DMGKAWO.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-W66GXHYR.mjs";
23
+ } from "./chunk-3Z4TVZE7.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-CFLAGRWL.mjs";
27
+ } from "./chunk-I2TSRLOI.mjs";
28
28
  import {
29
29
  DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
30
30
  } from "./chunk-5JPKRDFC.mjs";
@@ -1,13 +1,13 @@
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 _chunk5IMWXYVBjs = require('./chunk-5IMWXYVB.js');
3
+ var _chunkXTM6NOJ6js = require('./chunk-XTM6NOJ6.js');
4
4
 
5
5
 
6
6
  var _chunkTJCENACZjs = require('./chunk-TJCENACZ.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkXBO4ERH6js = require('./chunk-XBO4ERH6.js');
10
+ var _chunkTVAFWAOQjs = require('./chunk-TVAFWAOQ.js');
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -24,11 +24,11 @@ function concurrentRunsLine(payload) {
24
24
  return plans ? `${here} Plan limits: ${plans}.` : here;
25
25
  }
26
26
  async function concurrentRunsHelpStatus(timeoutMs = 2e3) {
27
- const baseUrl = _chunkXBO4ERH6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
28
- const apiKey = _chunkXBO4ERH6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
27
+ const baseUrl = _chunkTVAFWAOQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
28
+ const apiKey = _chunkTVAFWAOQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
29
29
  if (!apiKey) return "";
30
30
  try {
31
- const { status, data } = await _chunk5IMWXYVBjs.httpJson.call(void 0,
31
+ const { status, data } = await _chunkXTM6NOJ6js.httpJson.call(void 0,
32
32
  "GET",
33
33
  `${baseUrl}/api/v2/billing/entitlements`,
34
34
  apiKey,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-4LMTY4RQ.mjs";
3
+ } from "./chunk-6DMGKAWO.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-4LMTY4RQ.mjs";
5
+ } from "./chunk-6DMGKAWO.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-W66GXHYR.mjs";
8
+ } from "./chunk-3Z4TVZE7.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {