deepline 0.3.547 → 0.3.549

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 (166) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +93 -11
  2. package/dist/bundling-sources/sdk/src/index.ts +1 -0
  3. package/dist/bundling-sources/sdk/src/plays/check-local-play-graph.ts +3 -0
  4. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  5. package/dist/bundling-sources/sdk/src/types.ts +11 -0
  6. package/dist/bundling-sources/shared_libs/monitors/action-actor.ts +203 -0
  7. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +20 -0
  8. package/dist/bundling-sources/shared_libs/monitors/package.json +2 -0
  9. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +33 -0
  10. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +19 -3
  11. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-failure-codes.ts +21 -0
  12. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +83 -6
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +93 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +98 -1
  15. package/dist/bundling-sources/shared_libs/plays/play-check-compact.ts +636 -0
  16. package/dist/bundling-sources/shared_libs/security/email-blacklist.ts +3 -0
  17. package/dist/bundling-sources/shared_libs/security/email-domain.ts +24 -0
  18. package/dist/cli/auth-UVEZIP3H.js +43 -0
  19. package/dist/cli/{auth-WJEY4IDX.mjs → auth-YENF525S.mjs} +5 -5
  20. package/dist/cli/{billing-IJITDDRQ.js → billing-52GAHIDZ.js} +95 -95
  21. package/dist/cli/{billing-PHJUDYF3.mjs → billing-XPXB27G7.mjs} +9 -9
  22. package/dist/cli/{chunk-2HPTLBNB.js → chunk-3IUQNHIG.js} +3 -3
  23. package/dist/cli/{chunk-IKYN6PLO.mjs → chunk-4AUV5QJF.mjs} +5 -5
  24. package/dist/cli/{chunk-GZFZZQL4.js → chunk-4DJNXAPH.js} +75 -37
  25. package/dist/cli/{chunk-DZC7LMYM.js → chunk-4HSSPT73.js} +6 -6
  26. package/dist/cli/{chunk-TNJG4ZPN.mjs → chunk-4QUWXUUJ.mjs} +35 -6
  27. package/dist/cli/{chunk-SAJWYN4B.js → chunk-5622PYAP.js} +4 -4
  28. package/dist/cli/{chunk-PBMO36BP.mjs → chunk-5CXE22BI.mjs} +2 -2
  29. package/dist/cli/{chunk-ESCVHDNY.mjs → chunk-5T37KQNG.mjs} +5 -5
  30. package/dist/cli/{chunk-YURGAKI3.js → chunk-7FY7AHR6.js} +2 -2
  31. package/dist/cli/{chunk-PVQCX6KQ.js → chunk-ADWMIZCB.js} +67 -9
  32. package/dist/cli/{chunk-FMQXAOVE.mjs → chunk-ANOTB6V3.mjs} +4 -4
  33. package/dist/cli/{chunk-VPF54TXQ.mjs → chunk-AZSVDAXT.mjs} +5 -5
  34. package/dist/cli/{chunk-G6XTCG3J.mjs → chunk-BDOLPGHD.mjs} +2 -2
  35. package/dist/cli/{chunk-N63U5CRG.js → chunk-BDUZJX4V.js} +26 -26
  36. package/dist/cli/{chunk-HFIFKP3A.js → chunk-BPBPY42E.js} +5 -5
  37. package/dist/cli/{chunk-ECUD4QPD.mjs → chunk-CX4KGWCH.mjs} +3 -3
  38. package/dist/cli/{chunk-REAFIEV5.js → chunk-CXFOYRI4.js} +99 -99
  39. package/dist/cli/{chunk-RXRC2COC.mjs → chunk-DCTEH6N5.mjs} +2 -2
  40. package/dist/cli/{chunk-ABLTVG3J.js → chunk-DIRLEJJX.js} +41 -41
  41. package/dist/cli/{chunk-VNOQEDVC.js → chunk-ETLEPHLT.js} +7 -7
  42. package/dist/cli/{chunk-QU3K3IY6.js → chunk-HPSCRVTM.js} +12 -12
  43. package/dist/cli/{chunk-MBQELFL7.js → chunk-HWCIU3KY.js} +22 -22
  44. package/dist/cli/{chunk-XMBVHJPR.mjs → chunk-J6FINSAK.mjs} +49 -11
  45. package/dist/cli/{chunk-K3GMDSUX.js → chunk-KBMBNUUW.js} +5 -5
  46. package/dist/cli/{chunk-D6OIEH47.js → chunk-KTZ3VU6S.js} +5 -5
  47. package/dist/cli/{chunk-XNTDTAKC.mjs → chunk-L6UMWAAY.mjs} +1 -1
  48. package/dist/cli/{chunk-ITLZBDSR.mjs → chunk-LMFTDDAM.mjs} +2 -2
  49. package/dist/cli/{chunk-56MEAGWA.mjs → chunk-LP2VNGG3.mjs} +2 -2
  50. package/dist/cli/{chunk-RMCCB3XY.mjs → chunk-MAE3AKDR.mjs} +67 -9
  51. package/dist/cli/{chunk-L5J6UJ2X.js → chunk-NVALIJQS.js} +15 -15
  52. package/dist/cli/{chunk-MO7TGNXB.js → chunk-OWX4AAJ4.js} +13 -13
  53. package/dist/cli/{chunk-DIUNDLSX.mjs → chunk-PLAJ6HPD.mjs} +2 -2
  54. package/dist/cli/{chunk-G6KW764N.mjs → chunk-PLJCY35C.mjs} +1 -1
  55. package/dist/cli/{chunk-L6QE2XVM.mjs → chunk-PQX4WTBY.mjs} +1 -1
  56. package/dist/cli/{chunk-GJOGFWX3.js → chunk-QGKX2WBZ.js} +52 -23
  57. package/dist/cli/{chunk-AEQ5VWZ5.mjs → chunk-QIZBUY2N.mjs} +4 -4
  58. package/dist/cli/{chunk-E2OIYPB4.js → chunk-QUELC3B2.js} +10 -10
  59. package/dist/cli/{chunk-OVYXYTEP.js → chunk-RMKRZJOS.js} +16 -16
  60. package/dist/cli/{chunk-GIGAYLY6.js → chunk-SVNAP2QI.js} +9 -9
  61. package/dist/cli/{chunk-2AHY47SI.js → chunk-TYOAOSDL.js} +3 -3
  62. package/dist/cli/{chunk-GPAWLXW3.mjs → chunk-U6KHWIAO.mjs} +1 -1
  63. package/dist/cli/{chunk-MOZEAGSR.mjs → chunk-UGVXHT62.mjs} +1 -1
  64. package/dist/cli/{chunk-QLE3QKJ2.mjs → chunk-V5WPYOAE.mjs} +5 -5
  65. package/dist/cli/{chunk-FFBXLFKV.js → chunk-V7WMNX4R.js} +1 -1
  66. package/dist/cli/{chunk-NBYFQZ6O.js → chunk-VLAJGF27.js} +2 -2
  67. package/dist/cli/{chunk-5SFHPMBY.mjs → chunk-W77LBYF3.mjs} +11 -11
  68. package/dist/cli/{chunk-DJI5CLLW.mjs → chunk-X4RGDE4J.mjs} +1 -1
  69. package/dist/cli/{chunk-IVFFCAV2.js → chunk-XPYCNA43.js} +44 -44
  70. package/dist/cli/{chunk-HARZ4AAX.mjs → chunk-XS72HELO.mjs} +1 -1
  71. package/dist/cli/{chunk-LMLSOHTU.js → chunk-Y5MDCPWA.js} +53 -53
  72. package/dist/cli/{chunk-CKIRKYW7.mjs → chunk-Y5SKYU5X.mjs} +3 -3
  73. package/dist/cli/{chunk-Z2YGQZWV.mjs → chunk-YX7BX2FA.mjs} +2 -2
  74. package/dist/cli/{chunk-YVKLF7RW.js → chunk-YZTS3XA7.js} +2 -2
  75. package/dist/cli/{chunk-IGAK22XO.mjs → chunk-Z3DKJOUL.mjs} +1 -1
  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-74AFW3BD.js +21 -0
  79. package/dist/cli/{concurrent-runs-help-ZNGP563R.mjs → concurrent-runs-help-OYSLW55L.mjs} +6 -6
  80. package/dist/cli/{csv-X6D4ZELE.js → csv-FRO3UFMQ.js} +13 -13
  81. package/dist/cli/{csv-VAHQHYYV.mjs → csv-TFCTUYF2.mjs} +4 -4
  82. package/dist/cli/{db-4G4S2VOV.mjs → db-NHVZBT2H.mjs} +6 -6
  83. package/dist/cli/{db-YA5ZGVEX.js → db-SNFNRVZJ.js} +27 -27
  84. package/dist/cli/describe-2JCOC4AK.js +50 -0
  85. package/dist/cli/{describe-EVXEM2S6.mjs → describe-OVFPRJJL.mjs} +18 -18
  86. package/dist/cli/describe-core.d.mts +2 -2
  87. package/dist/cli/describe-core.d.ts +2 -2
  88. package/dist/cli/{executions-HR6CTN5M.mjs → executions-HWMH2LTC.mjs} +6 -6
  89. package/dist/cli/{executions-5YC7ABF6.js → executions-RZLKKPZV.js} +8 -8
  90. package/dist/cli/{feedback-MJHSYLFF.js → feedback-3D5OROCI.js} +14 -14
  91. package/dist/cli/{feedback-GEU5SPLR.mjs → feedback-WD4JVF77.mjs} +6 -6
  92. package/dist/cli/git-GCCPCUWJ.js +25 -0
  93. package/dist/cli/{git-NPFF6QUS.mjs → git-RYUKBCUZ.mjs} +5 -5
  94. package/dist/cli/index.js +146 -146
  95. package/dist/cli/index.mjs +45 -45
  96. package/dist/cli/{integrations-Z7EGVBHF.mjs → integrations-KJPFCEXL.mjs} +7 -7
  97. package/dist/cli/{integrations-YPHFI77G.js → integrations-Y7OK23DW.js} +15 -15
  98. package/dist/cli/{legacy-noops-5IYCFWWX.mjs → legacy-noops-2PU2ZVEP.mjs} +6 -6
  99. package/dist/cli/{legacy-noops-246E3KKG.js → legacy-noops-G7ZY7K3K.js} +9 -9
  100. package/dist/cli/{mcp-WUYGZXPI.mjs → mcp-D7F2RSOI.mjs} +4 -4
  101. package/dist/cli/{mcp-YTYTW67G.js → mcp-GILBYX72.js} +24 -24
  102. package/dist/cli/{monitors-73DQKCU7.mjs → monitors-IK5KXY2H.mjs} +32 -8
  103. package/dist/cli/{monitors-SA6ILD6Z.js → monitors-OXNHOT3C.js} +125 -101
  104. package/dist/cli/{org-WVQRB2KX.mjs → org-L5D7EISU.mjs} +6 -6
  105. package/dist/cli/{org-X7ELDV7B.js → org-OYM3UNTP.js} +88 -88
  106. package/dist/cli/{play-QI6V2EUQ.mjs → play-PK6QO3WX.mjs} +837 -290
  107. package/dist/cli/{play-QTYOAJPE.js → play-YK22QPYO.js} +1423 -876
  108. package/dist/cli/{providers-XXFLVREV.js → providers-5CYP7P4N.js} +9 -9
  109. package/dist/cli/{providers-DPVMVDS4.mjs → providers-Z6MNJDCG.mjs} +6 -6
  110. package/dist/cli/{quickstart-YWGNHULM.mjs → quickstart-2I73XQXB.mjs} +4 -4
  111. package/dist/cli/{quickstart-33ISXQJU.js → quickstart-2YKETYJY.js} +6 -6
  112. package/dist/cli/{run-J6FCAKQC.mjs → run-KGQ6TUBB.mjs} +23 -23
  113. package/dist/cli/{run-BWHZXLTD.js → run-YVSEAVE5.js} +43 -43
  114. package/dist/cli/{search-Z3UU3WBB.mjs → search-V2HPN6FU.mjs} +7 -7
  115. package/dist/cli/search-YG3UIZ6A.js +32 -0
  116. package/dist/cli/{search-output-YIPV74ME.js → search-output-BUSANFRN.js} +6 -6
  117. package/dist/cli/{search-output-OJYY4J7E.mjs → search-output-OCTOSDEO.mjs} +4 -4
  118. package/dist/cli/{secrets-UXRJCEN4.js → secrets-VDKTHCVB.js} +15 -15
  119. package/dist/cli/{secrets-YZZN2WST.mjs → secrets-WZGRBWI5.mjs} +6 -6
  120. package/dist/cli/{sessions-ITCGPD7Z.mjs → sessions-5DTN55DZ.mjs} +6 -6
  121. package/dist/cli/sessions-NSPT6LHT.js +22 -0
  122. package/dist/cli/{settings-LAFYMILP.js → settings-A7VSNOLI.js} +85 -85
  123. package/dist/cli/{settings-ZP2LSVNM.mjs → settings-BK5FPQ3X.mjs} +12 -12
  124. package/dist/cli/{setup-WEQAQSYC.mjs → setup-LLQVPZTP.mjs} +9 -9
  125. package/dist/cli/{setup-4AL3XYM5.js → setup-NV27CYQ5.js} +49 -49
  126. package/dist/cli/{skills-NQH4HFW2.mjs → skills-IV6HK4XA.mjs} +7 -7
  127. package/dist/cli/skills-UA5E4DA3.js +36 -0
  128. package/dist/cli/{tools-CXK2GSI4.mjs → tools-4FKPCRD7.mjs} +17 -17
  129. package/dist/cli/tools-NJVPAG37.js +57 -0
  130. package/dist/cli/update-DKX27XZB.js +34 -0
  131. package/dist/cli/{update-3ROF3Z75.mjs → update-MH5M746E.mjs} +9 -9
  132. package/dist/cli/{views-XJFO5CEH.js → views-JW44TCGL.js} +21 -21
  133. package/dist/cli/{views-AOUHVGV2.mjs → views-KXC4JDT7.mjs} +6 -6
  134. package/dist/cli/{workflow-GY3DBHXX.js → workflow-F5AHL2ET.js} +17 -17
  135. package/dist/cli/{workflow-KBS2QJK6.mjs → workflow-FI4DL7ZI.mjs} +7 -7
  136. package/dist/{client-D1uWA2Vc.d.mts → client-BEJqhQAj.d.mts} +1 -1
  137. package/dist/{client-Hz7SsBXs.d.ts → client-Ceo295L2.d.ts} +1 -1
  138. package/dist/{client-core-D3Ad7Flt.d.ts → client-core-BPYuWfBC.d.ts} +49 -1
  139. package/dist/{client-core-Db_e63Hb.d.mts → client-core-BqetRxx-.d.mts} +49 -1
  140. package/dist/index.d.mts +3 -3
  141. package/dist/index.d.ts +3 -3
  142. package/dist/index.js +9 -9
  143. package/dist/index.mjs +6 -6
  144. package/dist/install-integrity.json +118 -116
  145. package/dist/plays/play-description.d.mts +1 -1
  146. package/dist/plays/play-description.d.ts +1 -1
  147. package/dist/plays/run-request.d.mts +1 -1
  148. package/dist/plays/run-request.d.ts +1 -1
  149. package/dist/release.d.mts +1 -1
  150. package/dist/release.d.ts +1 -1
  151. package/dist/release.js +2 -2
  152. package/dist/release.mjs +1 -1
  153. package/dist/server.d.mts +2 -2
  154. package/dist/server.d.ts +2 -2
  155. package/dist/server.js +5 -5
  156. package/dist/server.mjs +3 -3
  157. package/package.json +1 -1
  158. package/dist/cli/auth-AC5277PI.js +0 -43
  159. package/dist/cli/concurrent-runs-help-ZYISYOQA.js +0 -21
  160. package/dist/cli/describe-GYYSLZLV.js +0 -50
  161. package/dist/cli/git-FZIQZNI4.js +0 -25
  162. package/dist/cli/search-JCWJX2XD.js +0 -32
  163. package/dist/cli/sessions-NA4SJH6Q.js +0 -22
  164. package/dist/cli/skills-XZ4Y6SZ7.js +0 -36
  165. package/dist/cli/tools-WJQ6Y7E4.js +0 -57
  166. package/dist/cli/update-ZLRLTBRD.js +0 -34
@@ -4,13 +4,13 @@
4
4
 
5
5
 
6
6
 
7
- var _chunk2HPTLBNBjs = require('./chunk-2HPTLBNB.js');
7
+ var _chunk3IUQNHIGjs = require('./chunk-3IUQNHIG.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
- var _chunkSAJWYN4Bjs = require('./chunk-SAJWYN4B.js');
13
+ var _chunk5622PYAPjs = require('./chunk-5622PYAP.js');
14
14
 
15
15
 
16
16
 
@@ -26,7 +26,7 @@ var RUN_FIELDS = new Set(
26
26
  );
27
27
  var ROOTS = {
28
28
  describe: "name playKey reference displayName description pinned toolCategories tags origin ownerType canEdit canClone aliases inputSchema outputSchema staticPipeline csvInput rowOutputSchema runCommand examples cloneEditStarter currentPublishedVersion liveVersion triggerStatus triggerMetadata isDraftDirty latestRunId runtimeLimit activeScheduledPlays dashboardUrl command_context",
29
- check: "kind target checked scope name exportName valid stage issues diagram inputSchema outputSchema recognized triggers runtimeLimit limits featureFlags sourceHash artifactHash graphHash toolGetterHints exports actions diagnostics reference origin ownerType activeScheduledPlays command_context",
29
+ check: "kind target checked scope name exportName valid stage issues diagram input inputSchema outputSchema recognized triggers runtimeLimit limits runAdmission stages docflow featureFlags sourceHash artifactHash graphHash toolGetterHints exports actions diagnostics reference origin ownerType activeScheduledPlays command_context",
30
30
  run: "schemaVersion kind run datasets actions apiVersion rateLimited dashboardUrl runUrl progress rowOutcomes steps errors error warnings result resultState execution command_context diagnostics",
31
31
  get: "schemaVersion kind run dashboardUrl runUrl runStatus steps failures errorDetails rowOutcomes warnings failedLogs datasets result resultState actions diagnostics command_context",
32
32
  config: "runId contract command_context",
@@ -330,7 +330,7 @@ function buildEnvironmentContext() {
330
330
  node_version: process.version,
331
331
  runtime: "Node.js",
332
332
  hostname: _os.hostname.call(void 0, ),
333
- agent_runtime: _chunkSAJWYN4Bjs.detectAgentRuntime.call(void 0, )
333
+ agent_runtime: _chunk5622PYAPjs.detectAgentRuntime.call(void 0, )
334
334
  };
335
335
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
336
336
  const normalized = _optionalChain([process, 'access', _6 => _6.env, 'access', _7 => _7[key], 'optionalAccess', _8 => _8.trim, 'call', _9 => _9()]);
@@ -351,18 +351,18 @@ function buildEnvironmentContext() {
351
351
  return context;
352
352
  }
353
353
  function failureReportHeaders(apiKey) {
354
- const agentSessionId = _chunkSAJWYN4Bjs.agentSessionIdFromEnvironment.call(void 0, );
354
+ const agentSessionId = _chunk5622PYAPjs.agentSessionIdFromEnvironment.call(void 0, );
355
355
  return {
356
- ..._chunkSAJWYN4Bjs.deploymentProtectionHeaders.call(void 0, ),
356
+ ..._chunk5622PYAPjs.deploymentProtectionHeaders.call(void 0, ),
357
357
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
358
358
  Authorization: `Bearer ${apiKey}`,
359
359
  "Content-Type": "application/json",
360
- "User-Agent": `deepline-ts-sdk/${_chunkSAJWYN4Bjs.SDK_VERSION}`,
360
+ "User-Agent": `deepline-ts-sdk/${_chunk5622PYAPjs.SDK_VERSION}`,
361
361
  "X-Deepline-Client-Family": "sdk",
362
362
  "X-Deepline-CLI-Family": "sdk",
363
- "X-Deepline-Agent-Runtime": _chunkSAJWYN4Bjs.detectAgentRuntime.call(void 0, ),
364
- "X-Deepline-CLI-Version": _chunkSAJWYN4Bjs.SDK_VERSION,
365
- "X-Deepline-SDK-Version": _chunkSAJWYN4Bjs.SDK_VERSION
363
+ "X-Deepline-Agent-Runtime": _chunk5622PYAPjs.detectAgentRuntime.call(void 0, ),
364
+ "X-Deepline-CLI-Version": _chunk5622PYAPjs.SDK_VERSION,
365
+ "X-Deepline-SDK-Version": _chunk5622PYAPjs.SDK_VERSION
366
366
  };
367
367
  }
368
368
  async function postFailureReport(input) {
@@ -390,7 +390,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
390
390
  if (isFailureReportingDisabled()) return false;
391
391
  let apiKey = "";
392
392
  try {
393
- apiKey = _chunk2HPTLBNBjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
393
+ apiKey = _chunk3IUQNHIGjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
394
394
  } catch (e2) {
395
395
  return false;
396
396
  }
@@ -417,7 +417,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
417
417
  failure_code: failureCode2,
418
418
  failure_stage: failureStage,
419
419
  error_body: "Automatic Deepline skills installation failed.",
420
- cli_version: _chunkSAJWYN4Bjs.SDK_VERSION,
420
+ cli_version: _chunk5622PYAPjs.SDK_VERSION,
421
421
  context: {
422
422
  environment: buildEnvironmentContext(),
423
423
  skills_sync: {
@@ -537,7 +537,7 @@ function buildFailureReport(input) {
537
537
  failure_kind: failureKind,
538
538
  failure_code: code,
539
539
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
540
- cli_version: _chunkSAJWYN4Bjs.SDK_VERSION,
540
+ cli_version: _chunk5622PYAPjs.SDK_VERSION,
541
541
  context: {
542
542
  base_url: redactFailureText(input.baseUrl, 400),
543
543
  command_summary: sanitizeCommand(input.argv),
@@ -557,8 +557,8 @@ async function maybeReportSdkCliFailure(input) {
557
557
  if (isServerLoggedPlayRunStartFailure(input)) return false;
558
558
  const exitCode = resolvedExitCode(input);
559
559
  if (!shouldReport({ exitCode, error: input.error })) return false;
560
- const baseUrl = _chunk2HPTLBNBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
561
- const apiKey = _chunk2HPTLBNBjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
560
+ const baseUrl = _chunk3IUQNHIGjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
561
+ const apiKey = _chunk3IUQNHIGjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
562
562
  if (!apiKey) return false;
563
563
  return postFailureReport({
564
564
  baseUrl,
@@ -682,8 +682,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
682
682
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
683
683
  var defaultBrowserCommandRunner = childProcess;
684
684
  function getAuthedHttpClient() {
685
- const config = _chunk2HPTLBNBjs.resolveConfig.call(void 0, );
686
- return { config, http: new (0, _chunk2HPTLBNBjs.HttpClient)(config) };
685
+ const config = _chunk3IUQNHIGjs.resolveConfig.call(void 0, );
686
+ return { config, http: new (0, _chunk3IUQNHIGjs.HttpClient)(config) };
687
687
  }
688
688
  function stableOsUserId() {
689
689
  try {
@@ -1023,7 +1023,7 @@ function collectLocalEnvInfo() {
1023
1023
  os: `${process.platform} ${process.arch}`,
1024
1024
  node_version: process.version,
1025
1025
  home_dir: homeDir,
1026
- agent_runtime: _chunkSAJWYN4Bjs.detectAgentRuntime.call(void 0, )
1026
+ agent_runtime: _chunk5622PYAPjs.detectAgentRuntime.call(void 0, )
1027
1027
  };
1028
1028
  const env = process.env;
1029
1029
  const optional = {
@@ -1270,17 +1270,45 @@ function markdownTableFromRows(rows, preferredColumns = []) {
1270
1270
  }
1271
1271
  function withAgentCommandContext(value) {
1272
1272
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
1273
- return _chunkSAJWYN4Bjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1273
+ return _chunk5622PYAPjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1274
1274
  ...valueRecord,
1275
- command_context: _chunk2HPTLBNBjs.resolveCliCommandContext.call(void 0, )
1275
+ command_context: _chunk3IUQNHIGjs.resolveCliCommandContext.call(void 0, )
1276
1276
  } : value;
1277
1277
  }
1278
- function printJson(value, fields) {
1278
+ function printJson(value, fields, options = {}) {
1279
+ const payload = withJsonNotices(
1280
+ selectJsonFields(withAgentCommandContext(value), fields)
1281
+ );
1279
1282
  process.stdout.write(
1280
- `${JSON.stringify(withJsonNotices(selectJsonFields(withAgentCommandContext(value), fields)), null, 2)}
1283
+ `${options.layout === "readable" ? formatReadableJson(payload) : JSON.stringify(payload, null, 2)}
1281
1284
  `
1282
1285
  );
1283
1286
  }
1287
+ var READABLE_JSON_WIDTH = 100;
1288
+ function formatReadableJson(value) {
1289
+ const render = (item, indent) => {
1290
+ const flat = JSON.stringify(item);
1291
+ if (item === null || typeof item !== "object" || indent.length + flat.length <= READABLE_JSON_WIDTH) {
1292
+ return flat;
1293
+ }
1294
+ const inner = `${indent} `;
1295
+ if (Array.isArray(item)) {
1296
+ if (item.length === 0) return "[]";
1297
+ return `[
1298
+ ${item.map((entry) => `${inner}${render(entry, inner)}`).join(",\n")}
1299
+ ${indent}]`;
1300
+ }
1301
+ const entries = Object.entries(item);
1302
+ if (entries.length === 0) return "{}";
1303
+ return `{
1304
+ ${entries.map(
1305
+ ([key, entry]) => `${inner}${JSON.stringify(key)}: ${render(entry, inner)}`
1306
+ ).join(",\n")}
1307
+ ${indent}}`;
1308
+ };
1309
+ const normalized = JSON.stringify(value);
1310
+ return normalized === void 0 ? "null" : render(JSON.parse(normalized), "");
1311
+ }
1284
1312
  function printCompactJson(value) {
1285
1313
  process.stdout.write(
1286
1314
  `${JSON.stringify(withJsonNotices(withAgentCommandContext(value)))}
@@ -1500,7 +1528,8 @@ function printCommandEnvelope(envelope, options = {}) {
1500
1528
  if (options.legacyJson)
1501
1529
  process.stdout.write(`${JSON.stringify(options.legacyJson.value)}
1502
1530
  `);
1503
- else printJson(envelope, options.fields);
1531
+ else
1532
+ printJson(envelope, options.fields, { layout: options.jsonLayout });
1504
1533
  return;
1505
1534
  }
1506
1535
  process.stdout.write(_nullishCoalesce(options.text, () => ( renderCommandEnvelopeText(envelope))));
@@ -3,16 +3,16 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-RXRC2COC.mjs";
6
+ } from "./chunk-DCTEH6N5.mjs";
7
7
  import {
8
8
  errorToJsonPayload,
9
9
  printCommandEnvelope,
10
10
  resolveSdkCliFailureExitCode
11
- } from "./chunk-TNJG4ZPN.mjs";
11
+ } from "./chunk-4QUWXUUJ.mjs";
12
12
  import {
13
13
  resolveConfig,
14
14
  sdkCliStateDirPath
15
- } from "./chunk-GPAWLXW3.mjs";
15
+ } from "./chunk-U6KHWIAO.mjs";
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  import { Option } from "commander";
@@ -134,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  }
135
135
  const client = new DeeplineClient();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await import("./search-output-OJYY4J7E.mjs");
137
+ const renderer = json ? void 0 : await import("./search-output-OCTOSDEO.mjs");
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();
@@ -3,16 +3,16 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkK3GMDSUXjs = require('./chunk-K3GMDSUX.js');
6
+ var _chunkKBMBNUUWjs = require('./chunk-KBMBNUUW.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkGJOGFWX3js = require('./chunk-GJOGFWX3.js');
11
+ var _chunkQGKX2WBZjs = require('./chunk-QGKX2WBZ.js');
12
12
 
13
13
 
14
14
 
15
- var _chunk2HPTLBNBjs = require('./chunk-2HPTLBNB.js');
15
+ var _chunk3IUQNHIGjs = require('./chunk-3IUQNHIG.js');
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  var _commander = require('commander');
@@ -22,7 +22,7 @@ var _fs = require('fs');
22
22
  var _path = require('path');
23
23
  var SEARCH_REF_TTL_MS = 15 * 6e4;
24
24
  function lastSearchPath() {
25
- return _path.join.call(void 0, _chunk2HPTLBNBjs.sdkCliStateDirPath.call(void 0, _chunk2HPTLBNBjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
25
+ return _path.join.call(void 0, _chunk3IUQNHIGjs.sdkCliStateDirPath.call(void 0, _chunk3IUQNHIGjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
26
26
  }
27
27
  function rememberSearchRef(searchRef) {
28
28
  writeSearchRefs({ searchRef });
@@ -132,9 +132,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
132
132
  console.error("--summary-width must be an integer of at least 2.");
133
133
  return 1;
134
134
  }
135
- const client = new (0, _chunkK3GMDSUXjs.DeeplineClient)();
135
+ const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-YIPV74ME.js")));
137
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-BUSANFRN.js")));
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();
@@ -157,7 +157,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
157
157
  const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
158
158
  if (!multiple) {
159
159
  if (searchRef) rememberSearchRef(searchRef);
160
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0, result, { json, text });
160
+ _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0, result, { json, text });
161
161
  return 0;
162
162
  }
163
163
  searches.push({ ...result, query });
@@ -171,8 +171,8 @@ ${text}`);
171
171
  }
172
172
  } catch (error) {
173
173
  if (!multiple) throw error;
174
- const payload = _chunkGJOGFWX3js.errorToJsonPayload.call(void 0, error);
175
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkGJOGFWX3js.resolveSdkCliFailureExitCode.call(void 0, error)));
174
+ const payload = _chunkQGKX2WBZjs.errorToJsonPayload.call(void 0, error);
175
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkQGKX2WBZjs.resolveSdkCliFailureExitCode.call(void 0, error)));
176
176
  searches.push({ ...payload, query, exitCode: queryExitCode });
177
177
  if (!json) {
178
178
  console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
@@ -184,7 +184,7 @@ Search failed.
184
184
  }
185
185
  }
186
186
  rememberSearchRefsByTool(refs);
187
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
187
+ _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
188
188
  { searches },
189
189
  {
190
190
  json,
@@ -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 _chunkNBYFQZ6Ojs = require('./chunk-NBYFQZ6O.js');
4
+ var _chunkVLAJGF27js = require('./chunk-VLAJGF27.js');
5
5
 
6
6
 
7
- var _chunkABLTVG3Jjs = require('./chunk-ABLTVG3J.js');
7
+ var _chunkDIRLEJJXjs = require('./chunk-DIRLEJJX.js');
8
8
 
9
9
 
10
- var _chunkIVFFCAV2js = require('./chunk-IVFFCAV2.js');
10
+ var _chunkXPYCNA43js = require('./chunk-XPYCNA43.js');
11
11
 
12
12
 
13
- var _chunkGJOGFWX3js = require('./chunk-GJOGFWX3.js');
13
+ var _chunkQGKX2WBZjs = require('./chunk-QGKX2WBZ.js');
14
14
 
15
15
 
16
- var _chunk2HPTLBNBjs = require('./chunk-2HPTLBNB.js');
16
+ var _chunk3IUQNHIGjs = require('./chunk-3IUQNHIG.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 = _chunkIVFFCAV2js.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkXPYCNA43js.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 ? _chunkNBYFQZ6Ojs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkNBYFQZ6Ojs.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 ? _chunkVLAJGF27js.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkVLAJGF27js.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()]) || _chunk2HPTLBNBjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunk3IUQNHIGjs.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 = _chunkIVFFCAV2js.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkXPYCNA43js.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, () => ( _chunk2HPTLBNBjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunk3IUQNHIGjs.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 _chunkABLTVG3Jjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkDIRLEJJXjs.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
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
1284
+ _chunkQGKX2WBZjs.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
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkQGKX2WBZjs.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
- _chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
1327
+ _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -3,7 +3,7 @@
3
3
  var _chunkCSPHSNBWjs = require('./chunk-CSPHSNBW.js');
4
4
 
5
5
 
6
- var _chunkGZFZZQL4js = require('./chunk-GZFZZQL4.js');
6
+ var _chunk4DJNXAPHjs = require('./chunk-4DJNXAPH.js');
7
7
 
8
8
 
9
9
  var _chunkSL6MYJYMjs = require('./chunk-SL6MYJYM.js');
@@ -11,7 +11,7 @@ var _chunkSL6MYJYMjs = require('./chunk-SL6MYJYM.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkGJOGFWX3js = require('./chunk-GJOGFWX3.js');
14
+ var _chunkQGKX2WBZjs = require('./chunk-QGKX2WBZ.js');
15
15
 
16
16
 
17
17
  var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkGJOGFWX3js.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkQGKX2WBZjs.parseJsonFields.call(void 0, args, "run");
585
585
  args = selection.args;
586
586
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
587
587
  let filePath = null;
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
593
593
  let revisionSelector = null;
594
594
  const watch = !args.includes("--no-wait");
595
595
  const dryRun = args.includes("--dry-run");
596
- let jsonOutput = dryRun ? _chunkGJOGFWX3js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkGJOGFWX3js.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkQGKX2WBZjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkQGKX2WBZjs.argsWantJson.call(void 0, args);
597
597
  const fullJson = args.includes("--full");
598
598
  const force = args.includes("--force") || args.includes("--from-start");
599
599
  const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
@@ -657,7 +657,7 @@ function parsePlayRunOptions(args, initialInput = null) {
657
657
  "--log-level requires one of: debug, info, warn, error."
658
658
  );
659
659
  }
660
- const parsed = _chunkGZFZZQL4js.parseLogLevel.call(void 0, value);
660
+ const parsed = _chunk4DJNXAPHjs.parseLogLevel.call(void 0, value);
661
661
  if (!parsed) {
662
662
  throw new Error(
663
663
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -990,7 +990,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
990
990
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
991
991
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
992
992
  );
993
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkGZFZZQL4js.parseLogLevel.call(void 0, options.logLevel);
993
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk4DJNXAPHjs.parseLogLevel.call(void 0, options.logLevel);
994
994
  if (!logLevel)
995
995
  throw new Error("--log-level requires one of: debug, info, warn, error.");
996
996
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -1004,13 +1004,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
1004
1004
  if (debugAlias || debugMapLatency && logLevel === "info")
1005
1005
  logLevel = "debug";
1006
1006
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
1007
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkGJOGFWX3js.parseJsonFields.call(void 0,
1008
- [...fullJson ? ["--full"] : [], ..._chunkGJOGFWX3js.jsonFieldArgs.call(void 0, options.json)],
1007
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkQGKX2WBZjs.parseJsonFields.call(void 0,
1008
+ [...fullJson ? ["--full"] : [], ..._chunkQGKX2WBZjs.jsonFieldArgs.call(void 0, options.json)],
1009
1009
  "run"
1010
1010
  ).fields;
1011
1011
  const watch = options.wait === false ? false : base.watch;
1012
1012
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
1013
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkGJOGFWX3js.argsWantJson.call(void 0, []) : explicitJson;
1013
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkQGKX2WBZjs.argsWantJson.call(void 0, []) : explicitJson;
1014
1014
  const verboseLogs = Boolean(
1015
1015
  debugAlias || logLevel === "debug" || debugMapLatency
1016
1016
  );
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
2
2
 
3
- var _chunkGJOGFWX3js = require('./chunk-GJOGFWX3.js');
3
+ var _chunkQGKX2WBZjs = require('./chunk-QGKX2WBZ.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
19
19
  __init9() {this.quiet = false}
20
20
  // --json output is one JSON document: progress never renders under it.
21
21
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
22
- this.enabled = enabled && !_chunkGJOGFWX3js.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkQGKX2WBZjs.isJsonOutputMode.call(void 0, );
23
23
  }
24
24
  setLogWriter(writer) {
25
25
  this.logWriter = writer;
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
59
59
  this.logWriter(line);
60
60
  return;
61
61
  }
62
- if (_chunkGJOGFWX3js.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkQGKX2WBZjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-DJI5CLLW.mjs";
4
+ } from "./chunk-X4RGDE4J.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-NURW5XH4.mjs";
@@ -9,7 +9,7 @@ import {
9
9
  formatCliFailureDiagnostic,
10
10
  markJsonOutputHandled,
11
11
  writeRawStderr
12
- } from "./chunk-TNJG4ZPN.mjs";
12
+ } from "./chunk-4QUWXUUJ.mjs";
13
13
 
14
14
  // src/cli/describe-options.ts
15
15
  function addDescribeOptions(command, options = {}) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-5SFHPMBY.mjs";
3
+ } from "./chunk-W77LBYF3.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-MOZEAGSR.mjs";
6
+ } from "./chunk-UGVXHT62.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,16 +14,16 @@ import {
14
14
  } from "./chunk-7AOFSZJM.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-RXRC2COC.mjs";
17
+ } from "./chunk-DCTEH6N5.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled,
21
21
  printCommandEnvelope
22
- } from "./chunk-TNJG4ZPN.mjs";
22
+ } from "./chunk-4QUWXUUJ.mjs";
23
23
  import {
24
24
  autoDetectBaseUrl,
25
25
  resolveApiKeyForBaseUrl
26
- } from "./chunk-GPAWLXW3.mjs";
26
+ } from "./chunk-U6KHWIAO.mjs";
27
27
 
28
28
  // src/cli/commands/describe.ts
29
29
  import { writeFileSync } from "fs";
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.547",
52
+ version: "0.3.549",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -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 _chunkIVFFCAV2js = require('./chunk-IVFFCAV2.js');
3
+ var _chunkXPYCNA43js = require('./chunk-XPYCNA43.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 = _chunkIVFFCAV2js.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkXPYCNA43js.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,
@@ -2,7 +2,7 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-MOZEAGSR.mjs";
5
+ } from "./chunk-UGVXHT62.mjs";
6
6
  import {
7
7
  registerIntegrationBalanceCommand,
8
8
  registerIntegrationConnectCommand,
@@ -11,11 +11,11 @@ import {
11
11
  registerLegacyHubSpotMembersCommand,
12
12
  registerLegacyWorkspaceConnectionCommand,
13
13
  registerWorkspaceConnectionListCommand
14
- } from "./chunk-PBMO36BP.mjs";
14
+ } from "./chunk-5CXE22BI.mjs";
15
15
  import {
16
16
  recentSearchRef,
17
17
  registerDeprecatedSearchCommand
18
- } from "./chunk-AEQ5VWZ5.mjs";
18
+ } from "./chunk-QIZBUY2N.mjs";
19
19
  import {
20
20
  Capability,
21
21
  arrayField,
@@ -55,10 +55,10 @@ import {
55
55
  } from "./chunk-FIVKWNMT.mjs";
56
56
  import {
57
57
  DeeplineClient
58
- } from "./chunk-RXRC2COC.mjs";
58
+ } from "./chunk-DCTEH6N5.mjs";
59
59
  import {
60
60
  validateExecutionIdempotencyKey
61
- } from "./chunk-XMBVHJPR.mjs";
61
+ } from "./chunk-J6FINSAK.mjs";
62
62
  import {
63
63
  stableStringify
64
64
  } from "./chunk-UBKA33KY.mjs";
@@ -68,18 +68,18 @@ import {
68
68
  maybeAutoUpdateAndRelaunch,
69
69
  registerCompatibilityCatalog,
70
70
  runToolExecuteStage
71
- } from "./chunk-ESCVHDNY.mjs";
71
+ } from "./chunk-5T37KQNG.mjs";
72
72
  import {
73
73
  isCliTraceEnabled,
74
74
  recordCliTrace,
75
75
  resolveCliMaintenancePolicy
76
- } from "./chunk-G6KW764N.mjs";
76
+ } from "./chunk-PLJCY35C.mjs";
77
77
  import {
78
78
  checkSdkCompatibility,
79
79
  enforceSdkCompatibilityResponse,
80
80
  flushDeferredSkillsSyncNotices,
81
81
  syncSdkSkillsIfNeeded
82
- } from "./chunk-VPF54TXQ.mjs";
82
+ } from "./chunk-AZSVDAXT.mjs";
83
83
  import {
84
84
  errorToJsonPayload,
85
85
  printCommandEnvelope,
@@ -88,12 +88,12 @@ import {
88
88
  printJsonError,
89
89
  renderCommandEnvelopeText,
90
90
  shouldEmitJson
91
- } from "./chunk-TNJG4ZPN.mjs";
91
+ } from "./chunk-4QUWXUUJ.mjs";
92
92
  import {
93
93
  readSdkSkillsLocalVersion,
94
94
  resolveConfig,
95
95
  sdkCliStateDirPath
96
- } from "./chunk-GPAWLXW3.mjs";
96
+ } from "./chunk-U6KHWIAO.mjs";
97
97
  import {
98
98
  DeeplineError
99
99
  } from "./chunk-JL2OTMSG.mjs";
@@ -977,7 +977,7 @@ Examples:
977
977
  process.exitCode = await narrowView();
978
978
  return;
979
979
  }
980
- const { describeAnything } = await import("./describe-EVXEM2S6.mjs");
980
+ const { describeAnything } = await import("./describe-OVFPRJJL.mjs");
981
981
  process.exitCode = await describeAnything(
982
982
  toolId,
983
983
  {
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-JL2OTMSG.mjs";
18
18
  import {
19
19
  SDK_RELEASE
20
- } from "./chunk-XNTDTAKC.mjs";
20
+ } from "./chunk-L6UMWAAY.mjs";
21
21
 
22
22
  // src/version.ts
23
23
  var SDK_VERSION = SDK_RELEASE.version;