deepline 0.3.512 → 0.3.514

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 (135) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/completed-answer.ts +134 -0
  3. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +25 -31
  4. package/dist/bundling-sources/shared_libs/play-runtime/durable-call-policy.ts +1 -1
  5. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +33 -2
  6. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +6 -4
  7. package/dist/cli/{artifacts-YSYWQFQQ.mjs → artifacts-GNFL5LY4.mjs} +6 -6
  8. package/dist/cli/{artifacts-5IGM3EYP.js → artifacts-OZRO4LHT.js} +18 -18
  9. package/dist/cli/{auth-4MVWCUXS.mjs → auth-53EDAX7Y.mjs} +5 -5
  10. package/dist/cli/auth-SM5GLO45.js +43 -0
  11. package/dist/cli/{billing-OYYHWNVS.js → billing-B6V3FELL.js} +82 -82
  12. package/dist/cli/{billing-SZXRENPC.mjs → billing-ZMX2V5X3.mjs} +7 -7
  13. package/dist/cli/{chunk-ZZ7SVWKR.js → chunk-2CTTSNFE.js} +4 -4
  14. package/dist/cli/{chunk-IMC2HQ6V.js → chunk-2RCZCWPO.js} +6 -6
  15. package/dist/cli/{chunk-FJPJ6SO3.mjs → chunk-53F6JDQ3.mjs} +2 -2
  16. package/dist/cli/{chunk-RXZRZEW7.mjs → chunk-54IH5U3I.mjs} +5 -5
  17. package/dist/cli/{chunk-HCMFRAYT.js → chunk-55WBE4UK.js} +26 -26
  18. package/dist/cli/{chunk-JU35QU3Z.js → chunk-5LBXLQRW.js} +7 -7
  19. package/dist/cli/{chunk-DJ4FD5DR.mjs → chunk-6FYGFIXD.mjs} +2 -2
  20. package/dist/cli/{chunk-MQ5GBB7V.mjs → chunk-6OIRN4PC.mjs} +1 -1
  21. package/dist/cli/{chunk-TNQ5MF6K.mjs → chunk-6SSISVXD.mjs} +1 -1
  22. package/dist/cli/{chunk-JDD6OLWN.mjs → chunk-753MZFDF.mjs} +3 -3
  23. package/dist/cli/{chunk-YJN55ZWG.mjs → chunk-76M3DL5G.mjs} +1 -1
  24. package/dist/cli/{chunk-W7DAWILZ.js → chunk-7KD4IYLA.js} +16 -16
  25. package/dist/cli/{chunk-JH7JISQ2.mjs → chunk-7MBI2OLW.mjs} +1 -1
  26. package/dist/cli/{chunk-HA5NSCTH.mjs → chunk-7ZCXQDOQ.mjs} +2 -2
  27. package/dist/cli/{chunk-L7CAOWHY.js → chunk-A253CMOI.js} +3 -3
  28. package/dist/cli/{chunk-Q72Q3ZWB.js → chunk-BBDWIUJA.js} +9 -9
  29. package/dist/cli/{chunk-FF25PDQ2.js → chunk-C24VEYSP.js} +21 -5
  30. package/dist/cli/{chunk-PJCPFF7J.js → chunk-CUMA6DE2.js} +14 -14
  31. package/dist/cli/{chunk-YNMHIJC5.mjs → chunk-DBBLPDXK.mjs} +1 -1
  32. package/dist/cli/{chunk-GJMIW4Q6.mjs → chunk-DLYWOHO4.mjs} +1 -1
  33. package/dist/cli/{chunk-EQAKPIGI.mjs → chunk-DMBCJFGY.mjs} +2 -2
  34. package/dist/cli/{chunk-XKFWY4IK.mjs → chunk-EO52BKGA.mjs} +13 -12
  35. package/dist/cli/{chunk-I6OK54YK.mjs → chunk-EVTD3ELD.mjs} +5 -5
  36. package/dist/cli/{chunk-4ZDHGAE6.js → chunk-FPWOEK7G.js} +2 -2
  37. package/dist/cli/{chunk-AATUAFD2.mjs → chunk-G6A7CGFV.mjs} +2 -2
  38. package/dist/cli/{chunk-KBM5T6UV.js → chunk-G6PUQQJP.js} +5 -5
  39. package/dist/cli/{chunk-LYOWQKGN.mjs → chunk-H53YG6QG.mjs} +1 -1
  40. package/dist/cli/{chunk-MTSHUN2R.mjs → chunk-H7L5MS5E.mjs} +1 -1
  41. package/dist/cli/{chunk-77DPQI6W.mjs → chunk-HJ5B67S3.mjs} +21 -5
  42. package/dist/cli/{chunk-P3RYPSOQ.mjs → chunk-ILITNKGM.mjs} +6 -6
  43. package/dist/cli/{chunk-T3SUWKUT.mjs → chunk-IZJGOMCW.mjs} +5 -5
  44. package/dist/cli/{chunk-WDCOUJQ5.js → chunk-JC3ABOZP.js} +21 -21
  45. package/dist/cli/{chunk-VZN6D23P.js → chunk-LV2DGEJ3.js} +7 -7
  46. package/dist/cli/{chunk-V6FQRUPJ.js → chunk-MF7ZVWJK.js} +41 -41
  47. package/dist/cli/{chunk-ZVYMGTZ7.mjs → chunk-MJIS4XAZ.mjs} +4 -4
  48. package/dist/cli/{chunk-O24VWLOY.js → chunk-MQK5SY5N.js} +16 -16
  49. package/dist/cli/{chunk-OU6AK63V.js → chunk-NXT52SIV.js} +2 -2
  50. package/dist/cli/{chunk-BP4XEO6Z.js → chunk-OQ4JV3IW.js} +1 -1
  51. package/dist/cli/{chunk-AVYI522S.js → chunk-QSFAUGFK.js} +5 -5
  52. package/dist/cli/{chunk-4QR64X2S.js → chunk-R5PJ6XZI.js} +10 -10
  53. package/dist/cli/{chunk-5XLU47DG.mjs → chunk-RFN7OKT2.mjs} +1 -1
  54. package/dist/cli/{chunk-4DSRBHN6.js → chunk-RLVSWAWB.js} +44 -44
  55. package/dist/cli/{chunk-3INAN6EK.mjs → chunk-RMRZ4BC4.mjs} +3 -3
  56. package/dist/cli/{chunk-2R6M62UO.mjs → chunk-RVMV4MXO.mjs} +2 -2
  57. package/dist/cli/{chunk-RR6G6ZCT.js → chunk-T4NQ2ZOH.js} +11 -11
  58. package/dist/cli/{chunk-7U3WY2F3.js → chunk-TG4IMWAL.js} +53 -53
  59. package/dist/cli/{chunk-VGCNLFER.js → chunk-TZS4G7CS.js} +2 -2
  60. package/dist/cli/{chunk-TKN2TRW5.js → chunk-VLIDBQYL.js} +3 -3
  61. package/dist/cli/{chunk-2BS6BRGH.mjs → chunk-W3TN352L.mjs} +2 -2
  62. package/dist/cli/{chunk-JKLFRDQ6.js → chunk-WP3ULMRU.js} +6 -6
  63. package/dist/cli/{chunk-ZLHIQU2G.js → chunk-Y2RIMVEM.js} +99 -98
  64. package/dist/cli/{chunk-32UMZXCZ.mjs → chunk-Z5WO6IBV.mjs} +5 -5
  65. package/dist/cli/command-docs.js +2 -2
  66. package/dist/cli/command-docs.mjs +1 -1
  67. package/dist/cli/{csv-YR2E5HNM.js → csv-2BLYUV2G.js} +13 -13
  68. package/dist/cli/{csv-AY4KT3NZ.mjs → csv-ONKAMLL4.mjs} +4 -4
  69. package/dist/cli/{db-IMYD3OCM.mjs → db-4GVSGAXL.mjs} +6 -6
  70. package/dist/cli/{db-YKV6564I.js → db-YKT6LEQ3.js} +27 -27
  71. package/dist/cli/describe-KPGQP4LH.js +50 -0
  72. package/dist/cli/{describe-72GI2Q6T.mjs → describe-PRT2WQMS.mjs} +18 -18
  73. package/dist/cli/{executions-2YO6KIP3.mjs → executions-7OSL25KJ.mjs} +6 -6
  74. package/dist/cli/{executions-OSNL5CSU.js → executions-VFCU5NGH.js} +8 -8
  75. package/dist/cli/{feedback-WSA7YTKS.js → feedback-ERTOLEC4.js} +10 -10
  76. package/dist/cli/{feedback-SYDNAT62.mjs → feedback-RPZELEA5.mjs} +5 -5
  77. package/dist/cli/git-U353JURQ.js +25 -0
  78. package/dist/cli/{git-WBH7N3EF.mjs → git-XKRQZ4A6.mjs} +5 -5
  79. package/dist/cli/index.js +145 -145
  80. package/dist/cli/index.mjs +44 -44
  81. package/dist/cli/{legacy-noops-BZPLWY5C.js → legacy-noops-HG3M5HGZ.js} +9 -9
  82. package/dist/cli/{legacy-noops-USZM4ZXF.mjs → legacy-noops-MZCFS2FQ.mjs} +6 -6
  83. package/dist/cli/{monitors-6HOZMLEV.mjs → monitors-GBO5XAEZ.mjs} +7 -7
  84. package/dist/cli/{monitors-XHXAMMYC.js → monitors-MESMMU5P.js} +100 -100
  85. package/dist/cli/{org-LT3DICB4.mjs → org-DJRNWIPO.mjs} +6 -6
  86. package/dist/cli/{org-BAAOAZF3.js → org-EZPREEWH.js} +72 -72
  87. package/dist/cli/{pages-MOCSTZZQ.mjs → pages-36BHVOFL.mjs} +6 -6
  88. package/dist/cli/{pages-7NP4PKLA.js → pages-ACI7VV6I.js} +18 -18
  89. package/dist/cli/{play-CGUL22GL.js → play-KCLLAGWR.js} +317 -317
  90. package/dist/cli/{play-MGJ7B7RL.mjs → play-SUSVQHX5.mjs} +18 -18
  91. package/dist/cli/{providers-AOWBHJ24.mjs → providers-MV2YW3J5.mjs} +6 -6
  92. package/dist/cli/{providers-5LCUHKX2.js → providers-YFO3EFLK.js} +9 -9
  93. package/dist/cli/{quickstart-Z6NA2CCM.mjs → quickstart-KMXU2T3Z.mjs} +4 -4
  94. package/dist/cli/{quickstart-7YZUT7GO.js → quickstart-MATFTZVQ.js} +6 -6
  95. package/dist/cli/{run-M66ILCWL.js → run-UW5FM64G.js} +41 -41
  96. package/dist/cli/{run-7QGBNUKE.mjs → run-YRYVGUCJ.mjs} +23 -23
  97. package/dist/cli/search-4ZQOFG7G.js +33 -0
  98. package/dist/cli/{search-Z2T3B4V4.mjs → search-WF3Q3I5X.mjs} +8 -8
  99. package/dist/cli/{search-output-6OHPSJGK.js → search-output-BG743WAM.js} +6 -6
  100. package/dist/cli/{search-output-MLHVBRIR.mjs → search-output-THOAHTCU.mjs} +4 -4
  101. package/dist/cli/{secrets-T7MW2DMK.js → secrets-EOGBWN44.js} +15 -15
  102. package/dist/cli/{secrets-VBSILT5H.mjs → secrets-LM7OTAUE.mjs} +6 -6
  103. package/dist/cli/sessions-GDSJ72XI.js +18 -0
  104. package/dist/cli/{sessions-KNITGDLS.mjs → sessions-SP2JL27H.mjs} +6 -6
  105. package/dist/cli/{settings-NBZRRKZS.mjs → settings-JXTFX5G2.mjs} +13 -13
  106. package/dist/cli/{settings-OSEBDBKR.js → settings-OWE3EEG7.js} +86 -86
  107. package/dist/cli/{setup-WTEQPZ5I.mjs → setup-FG37SKMB.mjs} +10 -10
  108. package/dist/cli/{setup-7DZPC6FC.js → setup-Z5BEQKA7.js} +50 -50
  109. package/dist/cli/skills-SIX5OTNX.js +37 -0
  110. package/dist/cli/{skills-JMD2MNJZ.mjs → skills-UGNCBZTJ.mjs} +8 -8
  111. package/dist/cli/tools-EZOV37MQ.js +57 -0
  112. package/dist/cli/{tools-LK5BM2Z7.mjs → tools-J3PKLQSL.mjs} +17 -17
  113. package/dist/cli/{update-IVUSIA2E.mjs → update-GGZ2XTMZ.mjs} +10 -10
  114. package/dist/cli/update-ISU7YN34.js +35 -0
  115. package/dist/cli/{workflow-GY374FMJ.js → workflow-AUZCSCZP.js} +17 -17
  116. package/dist/cli/{workflow-4QP6G54M.mjs → workflow-C66BBXHH.mjs} +7 -7
  117. package/dist/index.js +9 -9
  118. package/dist/index.mjs +6 -6
  119. package/dist/install-integrity.json +107 -106
  120. package/dist/plays/bundle-play-file.mjs +6 -4
  121. package/dist/release.d.mts +1 -1
  122. package/dist/release.d.ts +1 -1
  123. package/dist/release.js +2 -2
  124. package/dist/release.mjs +1 -1
  125. package/dist/server.js +5 -5
  126. package/dist/server.mjs +3 -3
  127. package/package.json +1 -1
  128. package/dist/cli/auth-M3AJBJ3O.js +0 -43
  129. package/dist/cli/describe-UFGHQBM7.js +0 -50
  130. package/dist/cli/git-YYOW4CYQ.js +0 -25
  131. package/dist/cli/search-OZQH5VMI.js +0 -33
  132. package/dist/cli/sessions-XKEIBOTP.js +0 -18
  133. package/dist/cli/skills-R6RO6MQF.js +0 -37
  134. package/dist/cli/tools-NBBDUNPR.js +0 -57
  135. package/dist/cli/update-BI2ABPGX.js +0 -35
@@ -1,13 +1,13 @@
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 _chunkL7CAOWHYjs = require('./chunk-L7CAOWHY.js');
4
+ var _chunkA253CMOIjs = require('./chunk-A253CMOI.js');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkZZ7SVWKRjs = require('./chunk-ZZ7SVWKR.js');
10
+ var _chunk2CTTSNFEjs = require('./chunk-2CTTSNFE.js');
11
11
 
12
12
 
13
13
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -150,7 +150,7 @@ function buildEnvironmentContext() {
150
150
  node_version: process.version,
151
151
  runtime: "Node.js",
152
152
  hostname: _os.hostname.call(void 0, ),
153
- agent_runtime: _chunkZZ7SVWKRjs.detectAgentRuntime.call(void 0, )
153
+ agent_runtime: _chunk2CTTSNFEjs.detectAgentRuntime.call(void 0, )
154
154
  };
155
155
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
156
156
  const normalized = _optionalChain([process, 'access', _5 => _5.env, 'access', _6 => _6[key], 'optionalAccess', _7 => _7.trim, 'call', _8 => _8()]);
@@ -171,18 +171,18 @@ function buildEnvironmentContext() {
171
171
  return context;
172
172
  }
173
173
  function failureReportHeaders(apiKey) {
174
- const agentSessionId = _chunkZZ7SVWKRjs.agentSessionIdFromEnvironment.call(void 0, );
174
+ const agentSessionId = _chunk2CTTSNFEjs.agentSessionIdFromEnvironment.call(void 0, );
175
175
  return {
176
- ..._chunkZZ7SVWKRjs.deploymentProtectionHeaders.call(void 0, ),
176
+ ..._chunk2CTTSNFEjs.deploymentProtectionHeaders.call(void 0, ),
177
177
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
178
178
  Authorization: `Bearer ${apiKey}`,
179
179
  "Content-Type": "application/json",
180
- "User-Agent": `deepline-ts-sdk/${_chunkZZ7SVWKRjs.SDK_VERSION}`,
180
+ "User-Agent": `deepline-ts-sdk/${_chunk2CTTSNFEjs.SDK_VERSION}`,
181
181
  "X-Deepline-Client-Family": "sdk",
182
182
  "X-Deepline-CLI-Family": "sdk",
183
- "X-Deepline-Agent-Runtime": _chunkZZ7SVWKRjs.detectAgentRuntime.call(void 0, ),
184
- "X-Deepline-CLI-Version": _chunkZZ7SVWKRjs.SDK_VERSION,
185
- "X-Deepline-SDK-Version": _chunkZZ7SVWKRjs.SDK_VERSION
183
+ "X-Deepline-Agent-Runtime": _chunk2CTTSNFEjs.detectAgentRuntime.call(void 0, ),
184
+ "X-Deepline-CLI-Version": _chunk2CTTSNFEjs.SDK_VERSION,
185
+ "X-Deepline-SDK-Version": _chunk2CTTSNFEjs.SDK_VERSION
186
186
  };
187
187
  }
188
188
  async function postFailureReport(input) {
@@ -210,7 +210,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
210
210
  if (isFailureReportingDisabled()) return false;
211
211
  let apiKey = "";
212
212
  try {
213
- apiKey = _chunkL7CAOWHYjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
213
+ apiKey = _chunkA253CMOIjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
214
214
  } catch (e2) {
215
215
  return false;
216
216
  }
@@ -237,7 +237,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
237
237
  failure_code: failureCode2,
238
238
  failure_stage: failureStage,
239
239
  error_body: "Automatic Deepline skills installation failed.",
240
- cli_version: _chunkZZ7SVWKRjs.SDK_VERSION,
240
+ cli_version: _chunk2CTTSNFEjs.SDK_VERSION,
241
241
  context: {
242
242
  environment: buildEnvironmentContext(),
243
243
  skills_sync: {
@@ -357,7 +357,7 @@ function buildFailureReport(input) {
357
357
  failure_kind: failureKind,
358
358
  failure_code: code,
359
359
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
360
- cli_version: _chunkZZ7SVWKRjs.SDK_VERSION,
360
+ cli_version: _chunk2CTTSNFEjs.SDK_VERSION,
361
361
  context: {
362
362
  base_url: redactFailureText(input.baseUrl, 400),
363
363
  command_summary: sanitizeCommand(input.argv),
@@ -377,8 +377,8 @@ async function maybeReportSdkCliFailure(input) {
377
377
  if (isServerLoggedPlayRunStartFailure(input)) return false;
378
378
  const exitCode = resolvedExitCode(input);
379
379
  if (!shouldReport({ exitCode, error: input.error })) return false;
380
- const baseUrl = _chunkL7CAOWHYjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
381
- const apiKey = _chunkL7CAOWHYjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
380
+ const baseUrl = _chunkA253CMOIjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
381
+ const apiKey = _chunkA253CMOIjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
382
382
  if (!apiKey) return false;
383
383
  return postFailureReport({
384
384
  baseUrl,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  printCommandEnvelope
3
- } from "./chunk-AATUAFD2.mjs";
3
+ } from "./chunk-G6A7CGFV.mjs";
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
  import {
@@ -8,7 +8,7 @@ import {
8
8
  csvStringFromRows,
9
9
  markJsonOutputHandled,
10
10
  writeRawStderr
11
- } from "./chunk-AATUAFD2.mjs";
11
+ } from "./chunk-G6A7CGFV.mjs";
12
12
 
13
13
  // src/cli/describe-options.ts
14
14
  function addDescribeOptions(command, options = {}) {
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-AATUAFD2.mjs";
5
+ } from "./chunk-G6A7CGFV.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-MQ5GBB7V.mjs";
8
+ } from "./chunk-6OIRN4PC.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-GJMIW4Q6.mjs";
5
+ } from "./chunk-DLYWOHO4.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-T3SUWKUT.mjs";
9
+ } from "./chunk-IZJGOMCW.mjs";
10
10
  import {
11
11
  Capability,
12
12
  arrayField,
@@ -46,10 +46,10 @@ import {
46
46
  } from "./chunk-FIVKWNMT.mjs";
47
47
  import {
48
48
  DeeplineClient
49
- } from "./chunk-HA5NSCTH.mjs";
49
+ } from "./chunk-7ZCXQDOQ.mjs";
50
50
  import {
51
51
  validateExecutionIdempotencyKey
52
- } from "./chunk-MTSHUN2R.mjs";
52
+ } from "./chunk-H7L5MS5E.mjs";
53
53
  import {
54
54
  stableStringify
55
55
  } from "./chunk-BMCRTI6Z.mjs";
@@ -59,18 +59,18 @@ import {
59
59
  maybeAutoUpdateAndRelaunch,
60
60
  registerCompatibilityCatalog,
61
61
  runToolExecuteStage
62
- } from "./chunk-32UMZXCZ.mjs";
62
+ } from "./chunk-Z5WO6IBV.mjs";
63
63
  import {
64
64
  isCliTraceEnabled,
65
65
  recordCliTrace,
66
66
  resolveCliMaintenancePolicy
67
- } from "./chunk-JH7JISQ2.mjs";
67
+ } from "./chunk-7MBI2OLW.mjs";
68
68
  import {
69
69
  checkSdkCompatibility,
70
70
  enforceSdkCompatibilityResponse,
71
71
  flushDeferredSkillsSyncNotices,
72
72
  syncSdkSkillsIfNeeded
73
- } from "./chunk-RXZRZEW7.mjs";
73
+ } from "./chunk-54IH5U3I.mjs";
74
74
  import {
75
75
  printCommandEnvelope,
76
76
  printCompactJson,
@@ -78,12 +78,12 @@ import {
78
78
  printJsonError,
79
79
  renderCommandEnvelopeText,
80
80
  shouldEmitJson
81
- } from "./chunk-AATUAFD2.mjs";
81
+ } from "./chunk-G6A7CGFV.mjs";
82
82
  import {
83
83
  readSdkSkillsLocalVersion,
84
84
  resolveConfig,
85
85
  sdkCliStateDirPath
86
- } from "./chunk-MQ5GBB7V.mjs";
86
+ } from "./chunk-6OIRN4PC.mjs";
87
87
  import {
88
88
  DeeplineError
89
89
  } from "./chunk-HBL4PM5Q.mjs";
@@ -332,7 +332,7 @@ function toolConnectionStatusMessage(input) {
332
332
  return "requires your credentials \u2014 not connected (connect to use)";
333
333
  }
334
334
  if (input.connected === false && input.credentialStatus === "managed") {
335
- return "temporarily unavailable";
335
+ return input.connectionMessage || "temporarily unavailable";
336
336
  }
337
337
  return null;
338
338
  }
@@ -445,7 +445,8 @@ function notConnectedSuffix(tool) {
445
445
  const connected = record.connected;
446
446
  const message = toolConnectionStatusMessage({
447
447
  connected: connected === false ? false : void 0,
448
- credentialStatus: status || void 0
448
+ credentialStatus: status || void 0,
449
+ connectionMessage: stringField(record, "connectionMessage", "connection_message") || void 0
449
450
  });
450
451
  return message ? ` - \u26A0 ${message}` : "";
451
452
  }
@@ -1053,7 +1054,7 @@ Examples:
1053
1054
  process.exitCode = await narrowView();
1054
1055
  return;
1055
1056
  }
1056
- const { describeAnything } = await import("./describe-72GI2Q6T.mjs");
1057
+ const { describeAnything } = await import("./describe-PRT2WQMS.mjs");
1057
1058
  process.exitCode = await describeAnything(
1058
1059
  toolId,
1059
1060
  {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-5XLU47DG.mjs";
4
+ } from "./chunk-RFN7OKT2.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-ZVYMGTZ7.mjs";
7
+ } from "./chunk-MJIS4XAZ.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-RXZRZEW7.mjs";
10
+ } from "./chunk-54IH5U3I.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-AATUAFD2.mjs";
13
+ } from "./chunk-G6A7CGFV.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-MQ5GBB7V.mjs";
16
+ } from "./chunk-6OIRN4PC.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkVZN6D23Pjs = require('./chunk-VZN6D23P.js');
3
+ var _chunkLV2DGEJ3js = require('./chunk-LV2DGEJ3.js');
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  var _commander = require('commander');
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
33
33
  sinceStartMs: now - cliTraceStartedAt,
34
34
  ...event
35
35
  };
36
- _chunkVZN6D23Pjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkLV2DGEJ3js.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -2,10 +2,10 @@ import {
2
2
  HttpClient,
3
3
  resolveCliCommandContext,
4
4
  resolveConfig
5
- } from "./chunk-MQ5GBB7V.mjs";
5
+ } from "./chunk-6OIRN4PC.mjs";
6
6
  import {
7
7
  detectAgentRuntime
8
- } from "./chunk-TNQ5MF6K.mjs";
8
+ } from "./chunk-6SSISVXD.mjs";
9
9
  import {
10
10
  DeeplineError,
11
11
  serializeToolExecutionFailure
@@ -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 _chunkJU35QU3Zjs = require('./chunk-JU35QU3Z.js');
3
+ var _chunk5LBXLQRWjs = require('./chunk-5LBXLQRW.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkL7CAOWHYjs = require('./chunk-L7CAOWHY.js');
7
+ var _chunkA253CMOIjs = require('./chunk-A253CMOI.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkJU35QU3Zjs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunk5LBXLQRWjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkL7CAOWHYjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkL7CAOWHYjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkA253CMOIjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkA253CMOIjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-AATUAFD2.mjs";
3
+ } from "./chunk-G6A7CGFV.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -31,7 +31,7 @@ import {
31
31
  RETAINED_PIPELINE_RECEIVERS_HEADER,
32
32
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
33
33
  SDK_API_MAJOR
34
- } from "./chunk-TNQ5MF6K.mjs";
34
+ } from "./chunk-6SSISVXD.mjs";
35
35
  import {
36
36
  CustomerDbQueryOutcomeUnknownError
37
37
  } from "./chunk-4QF2K7TM.mjs";
@@ -866,10 +866,23 @@ Authoring rules:
866
866
  rows.peek(n), rows.materialize(n), or for await. Array methods on a
867
867
  handle fail [[cli:plays check]][[mcp:deepline_check_play]].
868
868
  Tool calls: deepline.tools.execute({ id, tool, input, description,
869
- staleAfterSeconds }). In authoring edition 11, choose freshness explicitly:
870
- 0 for fresh logical work, a positive integer for the maximum reusable
871
- result age in seconds, or null for indefinite result reuse. A matching
872
- completed operation receipt can still recover that operation after resume.
869
+ staleAfterSeconds }). staleAfterSeconds decides whether a finished answer
870
+ may be reused. 0 is a fresh call (so is leaving it out in editions before
871
+ 11; edition 11 requires you to choose). A positive number accepts a
872
+ completed, successful answer to the same request (same workspace,
873
+ credential and tool version) up to that many seconds old, and otherwise
874
+ runs the tool. null accepts an answer of any age. A reused answer makes no
875
+ provider call and no provider charge; Play compute still applies. This
876
+ holds for every tool: a positive window on a write, send or purchase
877
+ skips a repeat of it on purpose, so use 0 for a repeat and re-read after a
878
+ write with 0. A repeat is skipped only after an earlier call has finished:
879
+ overlapping calls both run, so a send that must happen once needs a
880
+ provider idempotency key. Failed, empty and unfinished answers are never
881
+ reused, so a retry runs again. Resuming a run returns its own finished calls whatever
882
+ the window. Provider idempotency keys, HTTP caches and in-run
883
+ deduplication are separate. result._metadata.execution.freshness shows
884
+ source (executed, operation_recovery, reusable_result or
885
+ live_observation), resultAgeMs and completedAt.
873
886
  Read
874
887
  results the way [[cli:describe]][[mcp:deepline_describe_tool]] lists them:
875
888
  result.fields.<name>.value for a value whose meaning is known, also by
@@ -908,7 +921,10 @@ Authoring rules:
908
921
  For large datasets, keep working sets bounded and checkpoint progress;
909
922
  inline ctx.runPlay shares parent memory, while ctx.runPlayAsync starts an
910
923
  independent run. A larger profile does not make a job resumable. This is
911
- not the CLI wait timeout.
924
+ not the CLI wait timeout. Size for a measured peak, not a guess. For file
925
+ transforms, stream through disk and pass paths to subprocesses: Node and
926
+ Python share the sandbox's memory. Persist outputs before a checkpoint,
927
+ because scratch files can disappear on resume.
912
928
  Recurring sourcing: .run({ key: 'domain', mode: 'net_new' }) returns only
913
929
  rows the table has not seen before.
914
930
  Results: project each answer into flat columns (the value, its source,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-XKFWY4IK.mjs";
3
+ } from "./chunk-EO52BKGA.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-GJMIW4Q6.mjs";
6
+ } from "./chunk-DLYWOHO4.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,18 +14,18 @@ import {
14
14
  } from "./chunk-ITJ7NB2D.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-HA5NSCTH.mjs";
17
+ } from "./chunk-7ZCXQDOQ.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled
21
- } from "./chunk-2R6M62UO.mjs";
21
+ } from "./chunk-RVMV4MXO.mjs";
22
22
  import {
23
23
  printCommandEnvelope
24
- } from "./chunk-AATUAFD2.mjs";
24
+ } from "./chunk-G6A7CGFV.mjs";
25
25
  import {
26
26
  autoDetectBaseUrl,
27
27
  resolveApiKeyForBaseUrl
28
- } from "./chunk-MQ5GBB7V.mjs";
28
+ } from "./chunk-6OIRN4PC.mjs";
29
29
 
30
30
  // src/cli/commands/describe.ts
31
31
  import { writeFileSync } from "fs";
@@ -3,18 +3,18 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-HA5NSCTH.mjs";
6
+ } from "./chunk-7ZCXQDOQ.mjs";
7
7
  import {
8
8
  resolveSdkCliFailureExitCode
9
- } from "./chunk-2R6M62UO.mjs";
9
+ } from "./chunk-RVMV4MXO.mjs";
10
10
  import {
11
11
  errorToJsonPayload,
12
12
  printCommandEnvelope
13
- } from "./chunk-AATUAFD2.mjs";
13
+ } from "./chunk-G6A7CGFV.mjs";
14
14
  import {
15
15
  resolveConfig,
16
16
  sdkCliStateDirPath
17
- } from "./chunk-MQ5GBB7V.mjs";
17
+ } from "./chunk-6OIRN4PC.mjs";
18
18
 
19
19
  // src/cli/commands/search.ts
20
20
  import { Option } from "commander";
@@ -136,7 +136,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
136
136
  }
137
137
  const client = new DeeplineClient();
138
138
  const json = options.json === true;
139
- const renderer = json ? void 0 : await import("./search-output-MLHVBRIR.mjs");
139
+ const renderer = json ? void 0 : await import("./search-output-THOAHTCU.mjs");
140
140
  const searches = [];
141
141
  const chunks = [];
142
142
  const refs = /* @__PURE__ */ new Map();
@@ -4,20 +4,20 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkO24VWLOYjs = require('./chunk-O24VWLOY.js');
7
+ var _chunkMQK5SY5Njs = require('./chunk-MQK5SY5N.js');
8
8
 
9
9
 
10
- var _chunk4DSRBHN6js = require('./chunk-4DSRBHN6.js');
10
+ var _chunkRLVSWAWBjs = require('./chunk-RLVSWAWB.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkVZN6D23Pjs = require('./chunk-VZN6D23P.js');
14
+ var _chunkLV2DGEJ3js = require('./chunk-LV2DGEJ3.js');
15
15
 
16
16
 
17
- var _chunkL7CAOWHYjs = require('./chunk-L7CAOWHY.js');
17
+ var _chunkA253CMOIjs = require('./chunk-A253CMOI.js');
18
18
 
19
19
 
20
- var _chunkZZ7SVWKRjs = require('./chunk-ZZ7SVWKR.js');
20
+ var _chunk2CTTSNFEjs = require('./chunk-2CTTSNFE.js');
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();
@@ -44,7 +44,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
44
44
  async function reportAutoUpdateEvent(input) {
45
45
  let apiKey = "";
46
46
  try {
47
- apiKey = _chunkL7CAOWHYjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
47
+ apiKey = _chunkA253CMOIjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
48
48
  } catch (e2) {
49
49
  return;
50
50
  }
@@ -60,15 +60,15 @@ async function reportAutoUpdateEvent(input) {
60
60
  headers: {
61
61
  Authorization: `Bearer ${apiKey}`,
62
62
  "Content-Type": "application/json",
63
- "User-Agent": `deepline-ts-sdk/${_chunkZZ7SVWKRjs.SDK_VERSION}`,
63
+ "User-Agent": `deepline-ts-sdk/${_chunk2CTTSNFEjs.SDK_VERSION}`,
64
64
  "X-Deepline-Client-Family": "sdk",
65
65
  "X-Deepline-CLI-Family": "sdk",
66
- "X-Deepline-CLI-Version": _chunkZZ7SVWKRjs.SDK_VERSION,
67
- "X-Deepline-SDK-Version": _chunkZZ7SVWKRjs.SDK_VERSION
66
+ "X-Deepline-CLI-Version": _chunk2CTTSNFEjs.SDK_VERSION,
67
+ "X-Deepline-SDK-Version": _chunk2CTTSNFEjs.SDK_VERSION
68
68
  },
69
69
  body: JSON.stringify({
70
70
  event: input.event,
71
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkZZ7SVWKRjs.SDK_VERSION,
71
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunk2CTTSNFEjs.SDK_VERSION,
72
72
  target_version: input.response.latest,
73
73
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
74
74
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -87,13 +87,13 @@ function envTruthy(name) {
87
87
  return value === "1" || value === "true" || value === "yes";
88
88
  }
89
89
  function shouldSkipSelfUpdate(policy) {
90
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkO24VWLOYjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunk4DSRBHN6js.isCiEnvironment.call(void 0, );
90
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkMQK5SY5Njs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkRLVSWAWBjs.isCiEnvironment.call(void 0, );
91
91
  }
92
92
  function isDowngradeAutoUpdateResponse(response) {
93
93
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
94
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkZZ7SVWKRjs.SDK_VERSION;
94
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunk2CTTSNFEjs.SDK_VERSION;
95
95
  if (!target) return false;
96
- return _chunkO24VWLOYjs.compareUpdateVersions.call(void 0, target, current) < 0;
96
+ return _chunkMQK5SY5Njs.compareUpdateVersions.call(void 0, target, current) < 0;
97
97
  }
98
98
  function relaunchCurrentCommand(plan, runtime = {}) {
99
99
  return new Promise((resolve) => {
@@ -146,7 +146,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
146
146
  }
147
147
  if (isDowngradeAutoUpdateResponse(response)) {
148
148
  const target = response.latest;
149
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkZZ7SVWKRjs.SDK_VERSION;
149
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunk2CTTSNFEjs.SDK_VERSION;
150
150
  process.stderr.write(
151
151
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
152
152
  `
@@ -154,21 +154,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
154
154
  return false;
155
155
  }
156
156
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
157
- const plan = _chunkO24VWLOYjs.resolveUpdatePlan.call(void 0, {
157
+ const plan = _chunkMQK5SY5Njs.resolveUpdatePlan.call(void 0, {
158
158
  packageSpec,
159
159
  requireVerifiedNpmOwnership: true,
160
160
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
161
161
  });
162
- if (!_chunkO24VWLOYjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
162
+ if (!_chunkMQK5SY5Njs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
163
163
  return false;
164
164
  }
165
165
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
166
166
  deferredAutoUpdate = async () => {
167
167
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
168
168
  };
169
- if (_chunkVZN6D23Pjs.isJsonOutputMode.call(void 0, )) {
169
+ if (_chunkLV2DGEJ3js.isJsonOutputMode.call(void 0, )) {
170
170
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
171
- _chunkVZN6D23Pjs.addJsonNotice.call(void 0, {
171
+ _chunkLV2DGEJ3js.addJsonNotice.call(void 0, {
172
172
  code: "sdk_update_queued",
173
173
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
174
174
  });
@@ -181,7 +181,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
181
181
  return true;
182
182
  }
183
183
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
184
- if (!_chunkO24VWLOYjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
184
+ if (!_chunkMQK5SY5Njs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
185
185
  const autoUpdate = response.auto_update;
186
186
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
187
187
  process.stderr.write(
@@ -194,7 +194,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
194
194
  event: "started",
195
195
  installKind: plan.kind
196
196
  });
197
- const updateResult = await _chunkO24VWLOYjs.runAutomaticUpdatePlan.call(void 0, plan);
197
+ const updateResult = await _chunkMQK5SY5Njs.runAutomaticUpdatePlan.call(void 0, plan);
198
198
  if (updateResult.status === "skipped_previous_failure") {
199
199
  void reportAutoUpdateEvent({
200
200
  baseUrl,
@@ -245,7 +245,7 @@ var _crypto = require('crypto');
245
245
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
246
246
  var activeToolExecuteCommand = null;
247
247
  function progressLine(line) {
248
- if (!_chunkVZN6D23Pjs.isJsonOutputMode.call(void 0, )) console.error(line);
248
+ if (!_chunkLV2DGEJ3js.isJsonOutputMode.call(void 0, )) console.error(line);
249
249
  }
250
250
  function beginToolExecuteCommand() {
251
251
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkL7CAOWHYjs = require('./chunk-L7CAOWHY.js');
5
+ var _chunkA253CMOIjs = require('./chunk-A253CMOI.js');
6
6
 
7
7
 
8
- var _chunkZZ7SVWKRjs = require('./chunk-ZZ7SVWKR.js');
8
+ var _chunk2CTTSNFEjs = require('./chunk-2CTTSNFE.js');
9
9
 
10
10
 
11
11
 
@@ -293,8 +293,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
293
293
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
294
294
  var defaultBrowserCommandRunner = childProcess;
295
295
  function getAuthedHttpClient() {
296
- const config = _chunkL7CAOWHYjs.resolveConfig.call(void 0, );
297
- return { config, http: new (0, _chunkL7CAOWHYjs.HttpClient)(config) };
296
+ const config = _chunkA253CMOIjs.resolveConfig.call(void 0, );
297
+ return { config, http: new (0, _chunkA253CMOIjs.HttpClient)(config) };
298
298
  }
299
299
  function stableOsUserId() {
300
300
  try {
@@ -634,7 +634,7 @@ function collectLocalEnvInfo() {
634
634
  os: `${process.platform} ${process.arch}`,
635
635
  node_version: process.version,
636
636
  home_dir: homeDir,
637
- agent_runtime: _chunkZZ7SVWKRjs.detectAgentRuntime.call(void 0, )
637
+ agent_runtime: _chunk2CTTSNFEjs.detectAgentRuntime.call(void 0, )
638
638
  };
639
639
  const env = process.env;
640
640
  const optional = {
@@ -881,9 +881,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
881
881
  }
882
882
  function withAgentCommandContext(value) {
883
883
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
884
- return _chunkZZ7SVWKRjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
884
+ return _chunk2CTTSNFEjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
885
885
  ...valueRecord,
886
- command_context: _chunkL7CAOWHYjs.resolveCliCommandContext.call(void 0, )
886
+ command_context: _chunkA253CMOIjs.resolveCliCommandContext.call(void 0, )
887
887
  } : value;
888
888
  }
889
889
  function printJson(value, fields) {