deepline 0.3.498 → 0.3.500

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 (123) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  3. package/dist/cli/auth-H4PCVUN3.js +43 -0
  4. package/dist/cli/{auth-TNYYAPIX.mjs → auth-WK3FDPRP.mjs} +5 -5
  5. package/dist/cli/{billing-MP43H3ZK.js → billing-K7UHZUF4.js} +79 -79
  6. package/dist/cli/{billing-G6QBOZAE.mjs → billing-O3LVKXE7.mjs} +6 -6
  7. package/dist/cli/{chunk-4RSOYJ67.mjs → chunk-4CJWOLOS.mjs} +3 -3
  8. package/dist/cli/{chunk-6JVJZ7YG.mjs → chunk-56QAHX2K.mjs} +1 -1
  9. package/dist/cli/{chunk-OFNXUDEC.mjs → chunk-5AC7NUQN.mjs} +5 -5
  10. package/dist/cli/{chunk-MRHMC33S.mjs → chunk-5JXGYSXH.mjs} +1 -1
  11. package/dist/cli/{chunk-VUNAIAMX.js → chunk-5KAZGZG7.js} +5 -5
  12. package/dist/cli/{chunk-3XNYGMPZ.mjs → chunk-5TVY5OEH.mjs} +10 -10
  13. package/dist/cli/{chunk-YCGVVUGX.js → chunk-74VKLBJD.js} +9 -9
  14. package/dist/cli/{chunk-UA2GU7NB.js → chunk-BIE57V6K.js} +7 -7
  15. package/dist/cli/{chunk-IE6FYMUS.mjs → chunk-C7355NMU.mjs} +1 -1
  16. package/dist/cli/{chunk-PAHFVOFZ.mjs → chunk-CBZTKDXW.mjs} +1 -1
  17. package/dist/cli/{chunk-H7YR4EYF.mjs → chunk-CIV5GJAE.mjs} +9 -5
  18. package/dist/cli/{chunk-C7BH7T3T.mjs → chunk-FJZUG633.mjs} +2 -2
  19. package/dist/cli/{chunk-TDUTNTA5.js → chunk-G3NA4R7M.js} +53 -53
  20. package/dist/cli/{chunk-TLG75Q77.js → chunk-GBRI644Y.js} +53 -53
  21. package/dist/cli/{chunk-VFYKFPZD.js → chunk-GOO4VI5M.js} +16 -16
  22. package/dist/cli/{chunk-ZEYB6QPW.mjs → chunk-HI2BFS5S.mjs} +2 -2
  23. package/dist/cli/{chunk-PKTJN6PF.js → chunk-IX2DPYIV.js} +3 -3
  24. package/dist/cli/{chunk-2QS3MCJ2.mjs → chunk-IZ6YWXIK.mjs} +2 -2
  25. package/dist/cli/{chunk-VETP54NO.mjs → chunk-JHNFUCVT.mjs} +4 -4
  26. package/dist/cli/{chunk-XGUGFGCF.js → chunk-K3BHKRMS.js} +3 -3
  27. package/dist/cli/{chunk-IUCAVYXR.js → chunk-KEBNXJSK.js} +16 -16
  28. package/dist/cli/{chunk-UUFZFJL4.mjs → chunk-L7X6ADNM.mjs} +4 -4
  29. package/dist/cli/{chunk-IBCROFZW.js → chunk-LNMY2T5S.js} +41 -41
  30. package/dist/cli/{chunk-O4H53SJ4.mjs → chunk-MAHLIWOF.mjs} +2 -2
  31. package/dist/cli/{chunk-EHOC6NCN.mjs → chunk-PGRPNRP6.mjs} +1 -1
  32. package/dist/cli/{chunk-QERMP4TW.js → chunk-PHGMC33I.js} +2 -2
  33. package/dist/cli/{chunk-BQIEYWGQ.js → chunk-Q2FXZ4Z5.js} +94 -94
  34. package/dist/cli/{chunk-KLA4IUOI.mjs → chunk-QRKCCY4L.mjs} +28 -22
  35. package/dist/cli/{chunk-PHBJ2VDS.js → chunk-RAZ3TMOS.js} +7 -7
  36. package/dist/cli/{chunk-OL2QEEXF.js → chunk-REIKJREB.js} +5 -5
  37. package/dist/cli/{chunk-DB7SJKGI.js → chunk-RHE4YI4H.js} +6 -6
  38. package/dist/cli/{chunk-TPQFCUPV.js → chunk-SNJNPRIV.js} +15 -11
  39. package/dist/cli/{chunk-XNYAIV4E.js → chunk-SNPZ2QWL.js} +8 -8
  40. package/dist/cli/{chunk-SR3PRGWB.mjs → chunk-SRS2D27G.mjs} +1 -1
  41. package/dist/cli/{chunk-RZA6HSXX.mjs → chunk-T4AGTOKQ.mjs} +6 -6
  42. package/dist/cli/{chunk-2HCZHIMT.mjs → chunk-TFFJ2PRN.mjs} +5 -3
  43. package/dist/cli/{chunk-EAQXRAVF.js → chunk-TOGCDNMH.js} +4 -4
  44. package/dist/cli/{chunk-QDNP6KOF.js → chunk-U5GFP26N.js} +21 -21
  45. package/dist/cli/{chunk-ELZYHPE7.mjs → chunk-V7MZYIA7.mjs} +5 -5
  46. package/dist/cli/{chunk-FPRS3FP4.js → chunk-VLCY4F6E.js} +26 -26
  47. package/dist/cli/{chunk-RZO743TC.mjs → chunk-VPVEPGYS.mjs} +2 -2
  48. package/dist/cli/{chunk-XUTIBRKF.js → chunk-W64Y7GE7.js} +1 -1
  49. package/dist/cli/{chunk-KV4RNW2H.mjs → chunk-X5SO7RV5.mjs} +4 -4
  50. package/dist/cli/{chunk-QUIJUNXX.js → chunk-X7ODM2LK.js} +30 -24
  51. package/dist/cli/{chunk-LGE6ZOEO.mjs → chunk-XCBOOB73.mjs} +1 -1
  52. package/dist/cli/{chunk-4TVN2676.mjs → chunk-XUOZYAP5.mjs} +2 -2
  53. package/dist/cli/{chunk-N3T3L3WW.js → chunk-YPTZJ7LO.js} +5 -3
  54. package/dist/cli/{chunk-KRR2Z2FH.js → chunk-Z5LE7NXM.js} +2 -2
  55. package/dist/cli/command-docs.js +2 -2
  56. package/dist/cli/command-docs.mjs +1 -1
  57. package/dist/cli/{csv-LBUOESU2.mjs → csv-DEUOSTEB.mjs} +4 -4
  58. package/dist/cli/{csv-SCXUWRVV.js → csv-MWCWNIBJ.js} +13 -13
  59. package/dist/cli/{db-CC2D2GSL.js → db-Q6IRXTTG.js} +27 -27
  60. package/dist/cli/{db-3SI2OXIV.mjs → db-QM5R5BRY.mjs} +6 -6
  61. package/dist/cli/describe-BZ544347.js +50 -0
  62. package/dist/cli/{describe-ZK5CMT4M.mjs → describe-CQZ7TBOG.mjs} +17 -17
  63. package/dist/cli/{executions-YKYQIRPP.js → executions-DCCDXSQI.js} +8 -8
  64. package/dist/cli/{executions-DVPHIG2I.mjs → executions-SWBKFCY2.mjs} +6 -6
  65. package/dist/cli/{feedback-BVLYZ3BM.js → feedback-EU3EYF4V.js} +8 -8
  66. package/dist/cli/{feedback-UQRMPU2S.mjs → feedback-Q27HN3SB.mjs} +4 -4
  67. package/dist/cli/git-NW6BAXX2.js +25 -0
  68. package/dist/cli/{git-WTMZ66HP.mjs → git-SEQFTQ4N.mjs} +5 -5
  69. package/dist/cli/index.js +141 -141
  70. package/dist/cli/index.mjs +41 -41
  71. package/dist/cli/{legacy-noops-TVJ5WOBD.js → legacy-noops-LCQDEVA3.js} +8 -8
  72. package/dist/cli/{legacy-noops-RUQT6DB3.mjs → legacy-noops-XKH4VREG.mjs} +5 -5
  73. package/dist/cli/{monitors-ZQBZMFUL.mjs → monitors-4XWBV46I.mjs} +7 -7
  74. package/dist/cli/{monitors-UYYJBO6U.js → monitors-DJCID6X5.js} +95 -95
  75. package/dist/cli/{org-4TZED2IF.js → org-BU4FG5PN.js} +72 -72
  76. package/dist/cli/{org-UACQHFY6.mjs → org-PSBGXBRW.mjs} +6 -6
  77. package/dist/cli/{pages-HDYYGZOT.js → pages-3PHJYXYB.js} +18 -18
  78. package/dist/cli/{pages-R2KSZCYK.mjs → pages-7QLXLJGQ.mjs} +6 -6
  79. package/dist/cli/{play-DQ4AZ2NV.mjs → play-4OLYXRCG.mjs} +37 -27
  80. package/dist/cli/{play-ZMYWHAV3.js → play-S3CWPQKB.js} +406 -396
  81. package/dist/cli/{providers-X53WCX46.mjs → providers-JT7C2QTC.mjs} +6 -6
  82. package/dist/cli/{providers-I7GXTYG4.js → providers-U4JUMLB2.js} +9 -9
  83. package/dist/cli/{quickstart-DKVF32MY.mjs → quickstart-DQF5CF2I.mjs} +4 -4
  84. package/dist/cli/{quickstart-GKW46HUR.js → quickstart-OUSMXLYZ.js} +6 -6
  85. package/dist/cli/{run-VLX775L5.js → run-6XXHLB4X.js} +82 -43
  86. package/dist/cli/{run-A36EBVLD.mjs → run-RECNI77K.mjs} +69 -30
  87. package/dist/cli/search-BIQ62ZBE.js +32 -0
  88. package/dist/cli/{search-QHO4AYS2.mjs → search-JN7K3GC6.mjs} +7 -7
  89. package/dist/cli/{search-output-P7GWSTNO.js → search-output-JGNYXDWZ.js} +6 -6
  90. package/dist/cli/{search-output-YF5HCWKU.mjs → search-output-L6PC5SPM.mjs} +4 -4
  91. package/dist/cli/{secrets-3X56AV2F.js → secrets-TX6PCZ77.js} +15 -15
  92. package/dist/cli/{secrets-XTHBAX26.mjs → secrets-UOXZWHBY.mjs} +6 -6
  93. package/dist/cli/{sessions-4ZVZABXN.mjs → sessions-DTE733EH.mjs} +5 -5
  94. package/dist/cli/{sessions-AJUQJR4G.js → sessions-GCEIX4KB.js} +6 -6
  95. package/dist/cli/{settings-R7RQC5Z3.js → settings-UGXSDHR5.js} +78 -78
  96. package/dist/cli/{settings-AX5JF47R.mjs → settings-ZGIMRCTC.mjs} +11 -11
  97. package/dist/cli/{setup-QB62E6K5.js → setup-JYB6Z376.js} +49 -49
  98. package/dist/cli/{setup-DTXQODYK.mjs → setup-UT7AO53D.mjs} +9 -9
  99. package/dist/cli/{skills-N6OY5ABC.mjs → skills-4QJCMN7J.mjs} +7 -7
  100. package/dist/cli/skills-53LCPB5R.js +36 -0
  101. package/dist/cli/tools-HKJK6UNJ.js +57 -0
  102. package/dist/cli/{tools-3T4GKGS4.mjs → tools-RGNXIAA6.mjs} +16 -16
  103. package/dist/cli/{update-QDT4SFW3.mjs → update-Q62EVSXZ.mjs} +9 -9
  104. package/dist/cli/update-QMZSFTFZ.js +34 -0
  105. package/dist/cli/{workflow-FW3FPOWU.js → workflow-GENV47RD.js} +17 -17
  106. package/dist/cli/{workflow-Q7LQETNW.mjs → workflow-YNIOWM7J.mjs} +7 -7
  107. package/dist/index.js +9 -9
  108. package/dist/index.mjs +6 -6
  109. package/dist/install-integrity.json +100 -100
  110. package/dist/release.d.mts +1 -1
  111. package/dist/release.d.ts +1 -1
  112. package/dist/release.js +2 -2
  113. package/dist/release.mjs +1 -1
  114. package/dist/server.js +5 -5
  115. package/dist/server.mjs +3 -3
  116. package/package.json +1 -1
  117. package/dist/cli/auth-NYYFDCMT.js +0 -43
  118. package/dist/cli/describe-DAUL3SDQ.js +0 -50
  119. package/dist/cli/git-MFIJCRX6.js +0 -25
  120. package/dist/cli/search-STXZIGVB.js +0 -32
  121. package/dist/cli/skills-IEP5L5MQ.js +0 -36
  122. package/dist/cli/tools-JWBXEZKY.js +0 -57
  123. package/dist/cli/update-QME3C2VP.js +0 -34
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-7I4B6V2S.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-RZO743TC.mjs";
6
+ } from "./chunk-VPVEPGYS.mjs";
7
7
  import {
8
8
  iterateCursorPages,
9
9
  requireBillingIdempotencyKey
10
- } from "./chunk-6JVJZ7YG.mjs";
10
+ } from "./chunk-56QAHX2K.mjs";
11
11
  import "./chunk-L2VKAASU.mjs";
12
12
  import "./chunk-CS2AEAD6.mjs";
13
13
  import "./chunk-S3A4IXBQ.mjs";
@@ -18,9 +18,9 @@ import {
18
18
  openInBrowser,
19
19
  printCommandEnvelope,
20
20
  shouldEmitJson
21
- } from "./chunk-H7YR4EYF.mjs";
22
- import "./chunk-PAHFVOFZ.mjs";
23
- import "./chunk-MRHMC33S.mjs";
21
+ } from "./chunk-CIV5GJAE.mjs";
22
+ import "./chunk-CBZTKDXW.mjs";
23
+ import "./chunk-5JXGYSXH.mjs";
24
24
  import {
25
25
  AuthError,
26
26
  ConfigError
@@ -29,7 +29,7 @@ import "./chunk-DLIRSHV6.mjs";
29
29
  import {
30
30
  DeeplineError
31
31
  } from "./chunk-HBL4PM5Q.mjs";
32
- import "./chunk-SR3PRGWB.mjs";
32
+ import "./chunk-SRS2D27G.mjs";
33
33
  import "./chunk-WZYKRD7T.mjs";
34
34
  import "./chunk-KRD6H754.mjs";
35
35
 
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-H7YR4EYF.mjs";
5
+ } from "./chunk-CIV5GJAE.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-PAHFVOFZ.mjs";
25
+ } from "./chunk-CBZTKDXW.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-MRHMC33S.mjs";
32
+ } from "./chunk-5JXGYSXH.mjs";
33
33
  import {
34
34
  DeeplineError
35
35
  } from "./chunk-HBL4PM5Q.mjs";
@@ -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-MRHMC33S.mjs";
34
+ } from "./chunk-5JXGYSXH.mjs";
35
35
  import {
36
36
  CustomerDbQueryOutcomeUnknownError
37
37
  } from "./chunk-4QF2K7TM.mjs";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-LGE6ZOEO.mjs";
4
+ } from "./chunk-XCBOOB73.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-KV4RNW2H.mjs";
7
+ } from "./chunk-X5SO7RV5.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-UUFZFJL4.mjs";
10
+ } from "./chunk-L7X6ADNM.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-H7YR4EYF.mjs";
13
+ } from "./chunk-CIV5GJAE.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-PAHFVOFZ.mjs";
16
+ } from "./chunk-CBZTKDXW.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-HBL4PM5Q.mjs";
17
17
  import {
18
18
  SDK_RELEASE
19
- } from "./chunk-SR3PRGWB.mjs";
19
+ } from "./chunk-SRS2D27G.mjs";
20
20
 
21
21
  // src/version.ts
22
22
  var SDK_VERSION = SDK_RELEASE.version;
@@ -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 _chunkUA2GU7NBjs = require('./chunk-UA2GU7NB.js');
3
+ var _chunkBIE57V6Kjs = require('./chunk-BIE57V6K.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkXGUGFGCFjs = require('./chunk-XGUGFGCF.js');
7
+ var _chunkK3BHKRMSjs = require('./chunk-K3BHKRMS.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 = _chunkXGUGFGCFjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkUA2GU7NBjs.PlayClient)(
142
- new (0, _chunkXGUGFGCFjs.HttpClient)(config),
140
+ const config = _chunkK3BHKRMSjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkBIE57V6Kjs.PlayClient)(
142
+ new (0, _chunkK3BHKRMSjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-KLA4IUOI.mjs";
5
+ } from "./chunk-QRKCCY4L.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-VETP54NO.mjs";
9
+ } from "./chunk-JHNFUCVT.mjs";
10
10
  import {
11
11
  arrayField,
12
12
  formatModelDescription,
@@ -48,10 +48,10 @@ import {
48
48
  } from "./chunk-FIVKWNMT.mjs";
49
49
  import {
50
50
  DeeplineClient
51
- } from "./chunk-RZO743TC.mjs";
51
+ } from "./chunk-VPVEPGYS.mjs";
52
52
  import {
53
53
  validateExecutionIdempotencyKey
54
- } from "./chunk-6JVJZ7YG.mjs";
54
+ } from "./chunk-56QAHX2K.mjs";
55
55
  import {
56
56
  stableStringify
57
57
  } from "./chunk-UBKA33KY.mjs";
@@ -61,18 +61,18 @@ import {
61
61
  maybeAutoUpdateAndRelaunch,
62
62
  registerCompatibilityCatalog,
63
63
  runToolExecuteStage
64
- } from "./chunk-ELZYHPE7.mjs";
64
+ } from "./chunk-V7MZYIA7.mjs";
65
65
  import {
66
66
  isCliTraceEnabled,
67
67
  recordCliTrace,
68
68
  resolveCliMaintenancePolicy
69
- } from "./chunk-EHOC6NCN.mjs";
69
+ } from "./chunk-PGRPNRP6.mjs";
70
70
  import {
71
71
  checkSdkCompatibility,
72
72
  enforceSdkCompatibilityResponse,
73
73
  flushDeferredSkillsSyncNotices,
74
74
  syncSdkSkillsIfNeeded
75
- } from "./chunk-UUFZFJL4.mjs";
75
+ } from "./chunk-L7X6ADNM.mjs";
76
76
  import {
77
77
  printCommandEnvelope,
78
78
  printCompactJson,
@@ -80,12 +80,12 @@ import {
80
80
  printJsonError,
81
81
  renderCommandEnvelopeText,
82
82
  shouldEmitJson
83
- } from "./chunk-H7YR4EYF.mjs";
83
+ } from "./chunk-CIV5GJAE.mjs";
84
84
  import {
85
85
  readSdkSkillsLocalVersion,
86
86
  resolveConfig,
87
87
  sdkCliStateDirPath
88
- } from "./chunk-PAHFVOFZ.mjs";
88
+ } from "./chunk-CBZTKDXW.mjs";
89
89
  import {
90
90
  DeeplineError
91
91
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1038,7 +1038,7 @@ Examples:
1038
1038
  process.exitCode = await narrowView();
1039
1039
  return;
1040
1040
  }
1041
- const { describeAnything } = await import("./describe-ZK5CMT4M.mjs");
1041
+ const { describeAnything } = await import("./describe-CQZ7TBOG.mjs");
1042
1042
  process.exitCode = await describeAnything(
1043
1043
  toolId,
1044
1044
  {
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkUA2GU7NBjs = require('./chunk-UA2GU7NB.js');
6
+ var _chunkBIE57V6Kjs = require('./chunk-BIE57V6K.js');
7
7
 
8
8
 
9
9
  var _chunkEQR5O2D2js = require('./chunk-EQR5O2D2.js');
@@ -11,7 +11,7 @@ var _chunkEQR5O2D2js = require('./chunk-EQR5O2D2.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkTPQFCUPVjs = require('./chunk-TPQFCUPV.js');
14
+ var _chunkSNJNPRIVjs = require('./chunk-SNJNPRIV.js');
15
15
 
16
16
 
17
17
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -579,7 +579,7 @@ function parseInputFlagValue(raw) {
579
579
  return raw;
580
580
  }
581
581
  function parsePlayRunOptions(args, initialInput = null) {
582
- const selection = _chunkTPQFCUPVjs.parseJsonFields.call(void 0, args, "run");
582
+ const selection = _chunkSNJNPRIVjs.parseJsonFields.call(void 0, args, "run");
583
583
  args = selection.args;
584
584
  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.";
585
585
  let filePath = null;
@@ -591,7 +591,7 @@ function parsePlayRunOptions(args, initialInput = null) {
591
591
  let revisionSelector = null;
592
592
  const watch = !args.includes("--no-wait");
593
593
  const dryRun = args.includes("--dry-run");
594
- let jsonOutput = dryRun ? _chunkTPQFCUPVjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkTPQFCUPVjs.argsWantJson.call(void 0, args);
594
+ let jsonOutput = dryRun ? _chunkSNJNPRIVjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkSNJNPRIVjs.argsWantJson.call(void 0, args);
595
595
  const fullJson = args.includes("--full");
596
596
  const force = args.includes("--force");
597
597
  const forceToolRefresh = args.includes("--force-tool-refresh");
@@ -654,7 +654,7 @@ function parsePlayRunOptions(args, initialInput = null) {
654
654
  "--log-level requires one of: debug, info, warn, error."
655
655
  );
656
656
  }
657
- const parsed = _chunkUA2GU7NBjs.parseLogLevel.call(void 0, value);
657
+ const parsed = _chunkBIE57V6Kjs.parseLogLevel.call(void 0, value);
658
658
  if (!parsed) {
659
659
  throw new Error(
660
660
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -972,7 +972,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
972
972
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
973
973
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
974
974
  );
975
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkUA2GU7NBjs.parseLogLevel.call(void 0, options.logLevel);
975
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkBIE57V6Kjs.parseLogLevel.call(void 0, options.logLevel);
976
976
  if (!logLevel)
977
977
  throw new Error("--log-level requires one of: debug, info, warn, error.");
978
978
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -986,13 +986,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
986
986
  if (debugAlias || debugMapLatency && logLevel === "info")
987
987
  logLevel = "debug";
988
988
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
989
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkTPQFCUPVjs.parseJsonFields.call(void 0,
990
- [...fullJson ? ["--full"] : [], ..._chunkTPQFCUPVjs.jsonFieldArgs.call(void 0, options.json)],
989
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkSNJNPRIVjs.parseJsonFields.call(void 0,
990
+ [...fullJson ? ["--full"] : [], ..._chunkSNJNPRIVjs.jsonFieldArgs.call(void 0, options.json)],
991
991
  "run"
992
992
  ).fields;
993
993
  const watch = options.wait === false ? false : base.watch;
994
994
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
995
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkTPQFCUPVjs.argsWantJson.call(void 0, []) : explicitJson;
995
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkSNJNPRIVjs.argsWantJson.call(void 0, []) : explicitJson;
996
996
  const verboseLogs = Boolean(
997
997
  debugAlias || logLevel === "debug" || debugMapLatency
998
998
  );
@@ -31,7 +31,7 @@ var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
31
31
 
32
32
 
33
33
 
34
- var _chunkEAQXRAVFjs = require('./chunk-EAQXRAVF.js');
34
+ var _chunkTOGCDNMHjs = require('./chunk-TOGCDNMH.js');
35
35
 
36
36
 
37
37
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -652,7 +652,7 @@ var ToolCalls = class {
652
652
  idempotencyKey,
653
653
  onResponse: (response2) => {
654
654
  lastResponse = null;
655
- atomicToolsSupported = response2.headers.get(_chunkEAQXRAVFjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
655
+ atomicToolsSupported = response2.headers.get(_chunkTOGCDNMHjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
656
656
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
657
657
  if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
658
658
  try {
@@ -1031,8 +1031,8 @@ function runtimeSelectionHeaders(runtime, env) {
1031
1031
  }
1032
1032
  const receivers = _optionalChain([env, 'access', _52 => _52.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _53 => _53.trim, 'call', _54 => _54()]);
1033
1033
  return {
1034
- [_chunkEAQXRAVFjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1035
- ...receivers ? { [_chunkEAQXRAVFjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1034
+ [_chunkTOGCDNMHjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1035
+ ...receivers ? { [_chunkTOGCDNMHjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1036
1036
  };
1037
1037
  }
1038
1038
  function normalizeTestPolicyOverrides(value, source) {
@@ -1103,7 +1103,7 @@ var PlayClient = class {
1103
1103
  return _chunkEQR5O2D2js.startPlayRun.call(void 0,
1104
1104
  this.http,
1105
1105
  resolved.request,
1106
- _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkEAQXRAVFjs.SDK_API_MAJOR) } : headers,
1106
+ _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkTOGCDNMHjs.SDK_API_MAJOR) } : headers,
1107
1107
  options
1108
1108
  );
1109
1109
  }
@@ -3200,7 +3200,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3200
3200
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3201
3201
  );
3202
3202
  }
3203
- return { [_chunkEAQXRAVFjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3203
+ return { [_chunkTOGCDNMHjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3204
3204
  }
3205
3205
  function sleep(ms) {
3206
3206
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4011,7 +4011,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4011
4011
  );
4012
4012
  const headers = _optionalChain([options, 'optionalAccess', _181 => _181.cliAdmission]) ? {
4013
4013
  ...runtimeHeaders,
4014
- "X-Deepline-API-Major": String(_chunkEAQXRAVFjs.SDK_API_MAJOR)
4014
+ "X-Deepline-API-Major": String(_chunkTOGCDNMHjs.SDK_API_MAJOR)
4015
4015
  } : runtimeHeaders;
4016
4016
  const http = this.http;
4017
4017
  let submitted = false;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-H7YR4EYF.mjs";
3
+ } from "./chunk-CIV5GJAE.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-MRHMC33S.mjs";
4
+ } from "./chunk-5JXGYSXH.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-4QF2K7TM.mjs";
@@ -2,10 +2,10 @@ import {
2
2
  HttpClient,
3
3
  resolveCliCommandContext,
4
4
  resolveConfig
5
- } from "./chunk-PAHFVOFZ.mjs";
5
+ } from "./chunk-CBZTKDXW.mjs";
6
6
  import {
7
7
  detectAgentRuntime
8
- } from "./chunk-MRHMC33S.mjs";
8
+ } from "./chunk-5JXGYSXH.mjs";
9
9
  import {
10
10
  DeeplineError,
11
11
  serializeToolExecutionFailure
@@ -125,7 +125,7 @@ var ANSI_PATTERN = /\x1b\[[0-9;?]*[A-Za-z]|\r/g;
125
125
  var installed = false;
126
126
  var pending = [];
127
127
  var rawStderrWrite = null;
128
- var stdoutWritten = false;
128
+ var jsonOutputHandled = false;
129
129
  function isJsonOutputMode() {
130
130
  return process.argv.includes("--json");
131
131
  }
@@ -135,7 +135,7 @@ function installJsonStderrGuard() {
135
135
  rawStderrWrite = process.stderr.write.bind(process.stderr);
136
136
  const stdoutWrite = process.stdout.write.bind(process.stdout);
137
137
  process.stdout.write = ((...args) => {
138
- stdoutWritten = true;
138
+ markJsonOutputHandled();
139
139
  return stdoutWrite(...args);
140
140
  });
141
141
  const capture = (chunk) => {
@@ -162,8 +162,11 @@ function addJsonNotice(notice) {
162
162
  function writeRawStderr(text) {
163
163
  (rawStderrWrite ?? process.stderr.write.bind(process.stderr))(text);
164
164
  }
165
+ function markJsonOutputHandled() {
166
+ jsonOutputHandled = true;
167
+ }
165
168
  function takeSilentJsonFailureMessage(exitCode) {
166
- if (!installed || stdoutWritten || !exitCode || Number(exitCode) === 0) {
169
+ if (!installed || jsonOutputHandled || !exitCode || Number(exitCode) === 0) {
167
170
  return null;
168
171
  }
169
172
  const index = pending.findIndex((notice) => typeof notice === "string");
@@ -1049,6 +1052,7 @@ export {
1049
1052
  installJsonStderrGuard,
1050
1053
  addJsonNotice,
1051
1054
  writeRawStderr,
1055
+ markJsonOutputHandled,
1052
1056
  takeSilentJsonFailureMessage,
1053
1057
  getAuthedHttpClient,
1054
1058
  openInBrowser,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-6JVJZ7YG.mjs";
6
+ } from "./chunk-56QAHX2K.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-CS2AEAD6.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-H7YR4EYF.mjs";
14
+ } from "./chunk-CIV5GJAE.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-HBL4PM5Q.mjs";