deepline 0.3.579 → 0.3.581

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 (179) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +13 -2
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/monitors/billing/public-pricing.ts +470 -15
  4. package/dist/bundling-sources/shared_libs/monitors/billing/tamradar.ts +12 -0
  5. package/dist/bundling-sources/shared_libs/monitors/billing/types.ts +59 -0
  6. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +5 -3
  7. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +42 -2
  8. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +49 -11
  9. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +13 -4
  10. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +139 -16
  11. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +39 -2
  12. package/dist/bundling-sources/shared_libs/play-runtime/transient-service-error.ts +12 -0
  13. package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +20 -0
  14. package/dist/cli/{agents-D5RZEVXQ.js → agents-UDTRMWPA.js} +81 -39
  15. package/dist/cli/{agents-FJTRTYCL.mjs → agents-VDQSVDSM.mjs} +51 -9
  16. package/dist/cli/{auth-OMYIDVXZ.mjs → auth-SRN5FXUQ.mjs} +5 -5
  17. package/dist/cli/auth-UYQHRHYR.js +44 -0
  18. package/dist/cli/{billing-EWFUDLQ7.js → billing-HGHIOFSA.js} +162 -159
  19. package/dist/cli/{billing-XK3LBNYS.mjs → billing-PR2SIEJM.mjs} +69 -66
  20. package/dist/cli/{chunk-I2TSRLOI.mjs → chunk-2MIJMDGF.mjs} +1 -1
  21. package/dist/cli/{chunk-TVAFWAOQ.js → chunk-2RLMHWXW.js} +3 -3
  22. package/dist/cli/{chunk-OSRATALX.mjs → chunk-3FMGBMT3.mjs} +1 -1
  23. package/dist/cli/{chunk-KIIOKQFY.mjs → chunk-3I6GA5QW.mjs} +7 -3
  24. package/dist/cli/{chunk-UYCBG75H.js → chunk-3LP7J63L.js} +5 -5
  25. package/dist/cli/{chunk-QA55PGJH.js → chunk-3S5KFHQH.js} +7 -7
  26. package/dist/cli/{chunk-SZIWFQI2.mjs → chunk-46EBSUZF.mjs} +3 -3
  27. package/dist/cli/{chunk-7HOYKXVY.js → chunk-5XVDZVCR.js} +217 -213
  28. package/dist/cli/{chunk-PLWZ3NB7.js → chunk-6U3THMRI.js} +5 -5
  29. package/dist/cli/{chunk-LRZGS6RZ.mjs → chunk-7MMEW2WU.mjs} +1 -1
  30. package/dist/cli/{chunk-KWQHQG53.js → chunk-7VOSQARZ.js} +6 -6
  31. package/dist/cli/{chunk-72TWLORR.js → chunk-A4IOPFEJ.js} +3 -3
  32. package/dist/cli/{chunk-S2OXA7QS.mjs → chunk-ALXIC5U5.mjs} +7 -7
  33. package/dist/cli/{chunk-6EVVUVU3.mjs → chunk-BDNQDWGI.mjs} +2 -2
  34. package/dist/cli/{chunk-HEZW2IDK.js → chunk-BQL34VOQ.js} +279 -276
  35. package/dist/cli/{chunk-FKXSIIR4.js → chunk-BULUFFST.js} +15 -15
  36. package/dist/cli/{chunk-NONMY5CY.mjs → chunk-CDIMI54H.mjs} +2 -2
  37. package/dist/cli/{chunk-NWZU6HL4.js → chunk-CN4MXBZ3.js} +13 -13
  38. package/dist/cli/{chunk-XTM6NOJ6.js → chunk-CNRPE3AE.js} +53 -53
  39. package/dist/cli/{chunk-LYBZLA6F.mjs → chunk-DZMQV5FL.mjs} +2 -2
  40. package/dist/cli/{chunk-NKUXW4WB.js → chunk-E2EGQNOS.js} +2 -2
  41. package/dist/cli/{chunk-BLEYV4BJ.js → chunk-E5ITZIWK.js} +21 -21
  42. package/dist/cli/{chunk-N6X2UKYQ.mjs → chunk-E5O4CMHZ.mjs} +2 -2
  43. package/dist/cli/{chunk-X6LPC3SU.mjs → chunk-EHTD65FE.mjs} +1 -1
  44. package/dist/cli/{chunk-E2G2DNAB.js → chunk-EP3GZAHK.js} +7 -7
  45. package/dist/cli/{chunk-NOMO5GPI.js → chunk-FXSDDEAR.js} +1 -1
  46. package/dist/cli/{chunk-AP7PIGL5.js → chunk-INRXX4SX.js} +41 -41
  47. package/dist/cli/{chunk-XQYBBCFI.mjs → chunk-INXRW5AF.mjs} +2 -2
  48. package/dist/cli/{chunk-7JMCRYXU.js → chunk-IT3F7P6O.js} +10 -10
  49. package/dist/cli/{chunk-LYJ2NSHD.js → chunk-J6ITN2X6.js} +13 -13
  50. package/dist/cli/{chunk-LCPJR3IY.js → chunk-JQK42HZQ.js} +2 -2
  51. package/dist/cli/{chunk-HGUFTSB5.mjs → chunk-KDITCSPN.mjs} +27 -1
  52. package/dist/cli/{chunk-VFIIRK7S.mjs → chunk-KLBIHDZB.mjs} +2 -2
  53. package/dist/cli/{chunk-Y2ND6PPW.js → chunk-KO6OLYSD.js} +48 -48
  54. package/dist/cli/{chunk-K2BU67UC.js → chunk-LJZESBNY.js} +2 -2
  55. package/dist/cli/{chunk-PGRRMVQ5.js → chunk-MOZDEYQC.js} +2 -1
  56. package/dist/cli/{chunk-DH736ASH.js → chunk-MSCYYFLY.js} +20 -20
  57. package/dist/cli/{chunk-JFS4KHA3.mjs → chunk-N5VJVVVV.mjs} +5 -5
  58. package/dist/cli/{chunk-G5CZDRY3.js → chunk-O5FIWG2O.js} +26 -26
  59. package/dist/cli/{chunk-YCWRKSLB.mjs → chunk-OVJWDFIL.mjs} +2 -2
  60. package/dist/cli/{chunk-WQQQP3FH.mjs → chunk-P5ZZY4RM.mjs} +4 -4
  61. package/dist/cli/{chunk-WWSGXX6U.js → chunk-PLGJG5FX.js} +5 -5
  62. package/dist/cli/{chunk-BZ4M7OFO.mjs → chunk-QXQBTTRD.mjs} +1 -1
  63. package/dist/cli/{chunk-F57NDSKT.mjs → chunk-RA3BWUTD.mjs} +5 -5
  64. package/dist/cli/{chunk-Q4VKMF3B.js → chunk-S2YKIWCD.js} +17 -17
  65. package/dist/cli/{chunk-DTQBQSUU.mjs → chunk-SECFDB27.mjs} +1 -0
  66. package/dist/cli/{chunk-6MIEJJSO.js → chunk-SNYH4QY2.js} +4 -4
  67. package/dist/cli/{chunk-6GON36H3.mjs → chunk-SZ76UE7C.mjs} +17 -14
  68. package/dist/cli/{chunk-6DMGKAWO.mjs → chunk-ULU4MEXN.mjs} +2 -2
  69. package/dist/cli/{chunk-ABH6PUDZ.js → chunk-VJR4CKYJ.js} +23 -23
  70. package/dist/cli/{chunk-TFNDOH4W.mjs → chunk-VNW454PP.mjs} +1 -1
  71. package/dist/cli/{chunk-7SZCJC4R.mjs → chunk-VTPMBOHZ.mjs} +2 -2
  72. package/dist/cli/{chunk-6NYHMXC7.mjs → chunk-VVENTTSA.mjs} +1 -1
  73. package/dist/cli/{chunk-OOGP737I.js → chunk-VWPM4OIC.js} +20 -20
  74. package/dist/cli/{chunk-27ZYRIQC.mjs → chunk-WCNJSZHC.mjs} +5 -5
  75. package/dist/cli/{chunk-KQAEXBVQ.mjs → chunk-WS5ZX4RB.mjs} +3 -3
  76. package/dist/cli/{chunk-SUHCW7U5.mjs → chunk-WVFDPC4K.mjs} +3 -3
  77. package/dist/cli/{chunk-44NTNNKC.js → chunk-Y36SQMSN.js} +28 -2
  78. package/dist/cli/{chunk-LV2LGW2Q.mjs → chunk-YTPXKG4C.mjs} +1 -1
  79. package/dist/cli/{chunk-3Z4TVZE7.mjs → chunk-Z3MJX3PP.mjs} +1 -1
  80. package/dist/cli/{chunk-LQ45LCH7.js → chunk-ZAKNDIK7.js} +9 -9
  81. package/dist/cli/{chunk-M4YWN5BT.mjs → chunk-ZTKLJADJ.mjs} +4 -4
  82. package/dist/cli/command-docs.js +4 -4
  83. package/dist/cli/command-docs.mjs +3 -3
  84. package/dist/cli/concurrent-runs-help-QWDTLZUX.js +22 -0
  85. package/dist/cli/{concurrent-runs-help-IQBZBTD5.mjs → concurrent-runs-help-Z27MIIH3.mjs} +6 -6
  86. package/dist/cli/{csv-T7TWLIGD.js → csv-4TP36F5O.js} +13 -13
  87. package/dist/cli/{csv-6BEOWTGM.mjs → csv-4YFTMVWQ.mjs} +4 -4
  88. package/dist/cli/{db-MFTUN3DF.js → db-L5EGGO72.js} +27 -27
  89. package/dist/cli/{db-FA5QGXZ7.mjs → db-U5KR6SYI.mjs} +6 -6
  90. package/dist/cli/describe-G3SUS76P.js +50 -0
  91. package/dist/cli/{describe-TITEQNVE.mjs → describe-LZXXSQ26.mjs} +21 -21
  92. package/dist/cli/describe-core.d.mts +2 -2
  93. package/dist/cli/describe-core.d.ts +2 -2
  94. package/dist/cli/describe-core.js +4 -4
  95. package/dist/cli/describe-core.mjs +3 -3
  96. package/dist/cli/{executions-QW3L7G7J.js → executions-VZKRFDGM.js} +8 -8
  97. package/dist/cli/{executions-DMYJJIRB.mjs → executions-ZWEC5DDR.mjs} +6 -6
  98. package/dist/cli/{feedback-6JZGE7OQ.js → feedback-BTJIJCQF.js} +14 -14
  99. package/dist/cli/{feedback-WPSNSFRC.mjs → feedback-HXQTHXEZ.mjs} +6 -6
  100. package/dist/cli/{git-GO65XRM3.mjs → git-P6A45MMT.mjs} +5 -5
  101. package/dist/cli/git-QU673DBV.js +26 -0
  102. package/dist/cli/index.js +150 -150
  103. package/dist/cli/index.mjs +49 -49
  104. package/dist/cli/{integrations-EEBPETH2.mjs → integrations-4POM2CJ3.mjs} +7 -7
  105. package/dist/cli/{integrations-T5JPSZXN.js → integrations-VSJQBRFS.js} +29 -29
  106. package/dist/cli/{legacy-noops-XDNZ46IR.mjs → legacy-noops-I65MIKH2.mjs} +6 -6
  107. package/dist/cli/{legacy-noops-B55OMNH7.js → legacy-noops-QOJGSGVO.js} +9 -9
  108. package/dist/cli/{mcp-4QIUAAWS.mjs → mcp-TGY6SRAC.mjs} +4 -4
  109. package/dist/cli/{mcp-3YA333TQ.js → mcp-WTKBSLSD.js} +24 -24
  110. package/dist/cli/{monitors-BVUPS4CE.mjs → monitors-E2ENT4RY.mjs} +16 -11
  111. package/dist/cli/{monitors-FOS7MWZO.js → monitors-TLWVEXW6.js} +109 -104
  112. package/dist/cli/{org-TCMRRVFC.mjs → org-J2LGW5ZR.mjs} +6 -6
  113. package/dist/cli/{org-CYM7HFLN.js → org-PZPJJU7K.js} +121 -121
  114. package/dist/cli/{outcomes-2JSWXWQ3.mjs → outcomes-TMJDASU5.mjs} +6 -6
  115. package/dist/cli/{outcomes-VDJVP5YC.js → outcomes-Z6ZNBJ3U.js} +14 -14
  116. package/dist/cli/{play-CPP4EBYF.mjs → play-S3Z24HUS.mjs} +22 -22
  117. package/dist/cli/{play-U3G73VIR.js → play-ZOOC57X4.js} +355 -355
  118. package/dist/cli/{providers-RVMIX5ED.mjs → providers-ETD6YLFL.mjs} +6 -6
  119. package/dist/cli/{providers-2ZB67TK7.js → providers-O4Y2YBS7.js} +9 -9
  120. package/dist/cli/{quickstart-V3Y7XZ47.js → quickstart-NZALIRBP.js} +6 -6
  121. package/dist/cli/{quickstart-L3YO3OWZ.mjs → quickstart-QZX32Y5T.mjs} +4 -4
  122. package/dist/cli/{run-M2CADJ6E.js → run-5UXSWJ7N.js} +48 -48
  123. package/dist/cli/{run-PQ3Z2GOF.mjs → run-HCVBRE2P.mjs} +26 -26
  124. package/dist/cli/search-T3SLR55O.js +32 -0
  125. package/dist/cli/{search-QVLGI7SZ.mjs → search-Z247K76U.mjs} +7 -7
  126. package/dist/cli/{search-output-PN3V7MSO.mjs → search-output-XCJI3XRA.mjs} +5 -5
  127. package/dist/cli/{search-output-IUANVHWU.js → search-output-XFKEGUJA.js} +8 -8
  128. package/dist/cli/{secrets-HK25G4K2.mjs → secrets-7JZXHLRU.mjs} +6 -6
  129. package/dist/cli/{secrets-AOW6F67J.js → secrets-VUQLTUTM.js} +15 -15
  130. package/dist/cli/sessions-GHW2H7N2.js +23 -0
  131. package/dist/cli/{sessions-YN2OIAGR.mjs → sessions-UNGJ342N.mjs} +6 -6
  132. package/dist/cli/{settings-7UW5TWSM.mjs → settings-67TIT4MZ.mjs} +12 -12
  133. package/dist/cli/{settings-6EV2FPGF.js → settings-WG5YNHC5.js} +85 -85
  134. package/dist/cli/{setup-ZQPD2R5K.js → setup-IYUNW5ZP.js} +49 -49
  135. package/dist/cli/{setup-BG56SHKH.mjs → setup-KMAAJOZM.mjs} +9 -9
  136. package/dist/cli/skills-JVLCEUBF.js +37 -0
  137. package/dist/cli/{skills-MQV2TNUZ.mjs → skills-UVS4DODN.mjs} +7 -7
  138. package/dist/cli/{tools-RGI4OE5T.mjs → tools-B42JY4BX.mjs} +19 -19
  139. package/dist/cli/tools-ETA3BJNM.js +57 -0
  140. package/dist/cli/{update-SQKGHQKF.mjs → update-EBYZZ7BW.mjs} +9 -9
  141. package/dist/cli/update-XZEBQCEY.js +37 -0
  142. package/dist/cli/{views-BUKVHCRD.js → views-DOUEKLEV.js} +37 -24
  143. package/dist/cli/{views-734T2CXF.mjs → views-QK3AFD2D.mjs} +21 -8
  144. package/dist/cli/{workflow-LPJC6RHP.js → workflow-TAKT2T7A.js} +17 -17
  145. package/dist/cli/{workflow-JNRRBMEK.mjs → workflow-UBJPGRKF.mjs} +7 -7
  146. package/dist/{client-CNYctEBh.d.mts → client-CmG8MT0x.d.mts} +1 -1
  147. package/dist/{client-C1AubrWJ.d.ts → client-QznpkWrk.d.ts} +1 -1
  148. package/dist/{client-core-D6zAE46g.d.ts → client-core-CXDqfeiB.d.ts} +5 -1
  149. package/dist/{client-core-Bb06TCx5.d.mts → client-core-CY0jNW0e.d.mts} +5 -1
  150. package/dist/index.d.mts +3 -3
  151. package/dist/index.d.ts +3 -3
  152. package/dist/index.js +9 -9
  153. package/dist/index.mjs +6 -6
  154. package/dist/install-integrity.json +130 -130
  155. package/dist/plays/bundle-play-file.mjs +1 -1
  156. package/dist/plays/play-description.d.mts +1 -1
  157. package/dist/plays/play-description.d.ts +1 -1
  158. package/dist/plays/run-request.d.mts +1 -1
  159. package/dist/plays/run-request.d.ts +1 -1
  160. package/dist/release.d.mts +1 -1
  161. package/dist/release.d.ts +1 -1
  162. package/dist/release.js +2 -2
  163. package/dist/release.mjs +1 -1
  164. package/dist/server.d.mts +2 -2
  165. package/dist/server.d.ts +2 -2
  166. package/dist/server.js +5 -5
  167. package/dist/server.mjs +3 -3
  168. package/package.json +1 -1
  169. package/dist/cli/auth-Q4O7MJU4.js +0 -44
  170. package/dist/cli/concurrent-runs-help-D6XH3FY5.js +0 -22
  171. package/dist/cli/describe-TYZ5YH3V.js +0 -50
  172. package/dist/cli/git-UGGRLGTQ.js +0 -26
  173. package/dist/cli/search-RHPPZZFG.js +0 -32
  174. package/dist/cli/sessions-AEGGTZ3K.js +0 -23
  175. package/dist/cli/skills-C6ZEZWBE.js +0 -37
  176. package/dist/cli/tools-PM3MC3RR.js +0 -57
  177. package/dist/cli/update-ZHUPF2HT.js +0 -37
  178. /package/dist/cli/{chunk-YGCKMI5P.js → chunk-2M3VVGMZ.js} +0 -0
  179. /package/dist/cli/{chunk-7I4B6V2S.mjs → chunk-VMGJIFSB.mjs} +0 -0
@@ -2,7 +2,7 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-YCWRKSLB.mjs";
5
+ } from "./chunk-OVJWDFIL.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-KQAEXBVQ.mjs";
14
+ } from "./chunk-WS5ZX4RB.mjs";
15
15
  import {
16
16
  recentSearchRef,
17
17
  registerDeprecatedSearchCommand
18
- } from "./chunk-M4YWN5BT.mjs";
18
+ } from "./chunk-ZTKLJADJ.mjs";
19
19
  import {
20
20
  Capability,
21
21
  arrayField,
@@ -37,10 +37,10 @@ import {
37
37
  toolInputFieldsForDisplay,
38
38
  toolMetadataJsonForDescribe,
39
39
  toolOutputFieldsForDisplay
40
- } from "./chunk-BZ4M7OFO.mjs";
40
+ } from "./chunk-QXQBTTRD.mjs";
41
41
  import {
42
42
  rateLimitQualifier
43
- } from "./chunk-DTQBQSUU.mjs";
43
+ } from "./chunk-SECFDB27.mjs";
44
44
  import {
45
45
  shellArgument,
46
46
  shellQuote
@@ -57,29 +57,29 @@ import {
57
57
  } from "./chunk-FIVKWNMT.mjs";
58
58
  import {
59
59
  DeeplineClient
60
- } from "./chunk-6EVVUVU3.mjs";
60
+ } from "./chunk-BDNQDWGI.mjs";
61
61
  import {
62
62
  validateExecutionIdempotencyKey
63
- } from "./chunk-KIIOKQFY.mjs";
63
+ } from "./chunk-3I6GA5QW.mjs";
64
64
  import {
65
65
  beginToolExecuteCommand,
66
66
  getToolExecuteInvocationId,
67
67
  maybeAutoUpdateAndRelaunch,
68
68
  registerCompatibilityCatalog,
69
69
  runToolExecuteStage
70
- } from "./chunk-27ZYRIQC.mjs";
70
+ } from "./chunk-WCNJSZHC.mjs";
71
71
  import {
72
72
  isCliTraceEnabled,
73
73
  recordCliTrace,
74
74
  resolveCliMaintenancePolicy
75
- } from "./chunk-X6LPC3SU.mjs";
75
+ } from "./chunk-EHTD65FE.mjs";
76
76
  import {
77
77
  checkSdkCompatibility,
78
78
  enforceSdkCompatibilityResponse,
79
79
  flushDeferredSkillsSyncNotices,
80
80
  requireSdkCompatibility,
81
81
  syncSdkSkillsIfNeeded
82
- } from "./chunk-JFS4KHA3.mjs";
82
+ } from "./chunk-N5VJVVVV.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-6DMGKAWO.mjs";
91
+ } from "./chunk-ULU4MEXN.mjs";
92
92
  import {
93
93
  readSdkSkillsLocalVersion,
94
94
  resolveConfig,
95
95
  sdkCliStateDirPath
96
- } from "./chunk-3Z4TVZE7.mjs";
96
+ } from "./chunk-Z3MJX3PP.mjs";
97
97
  import {
98
98
  DeeplineError
99
99
  } from "./chunk-Z3A2S3QM.mjs";
@@ -1057,7 +1057,7 @@ Examples:
1057
1057
  process.exitCode = await narrowView();
1058
1058
  return;
1059
1059
  }
1060
- const { describeAnything } = await import("./describe-TITEQNVE.mjs");
1060
+ const { describeAnything } = await import("./describe-LZXXSQ26.mjs");
1061
1061
  process.exitCode = await describeAnything(
1062
1062
  toolId,
1063
1063
  {
@@ -1430,7 +1430,10 @@ function monitorTypePricingLines(tool) {
1430
1430
  );
1431
1431
  const keys = Object.keys(byType);
1432
1432
  if (!keys.length) {
1433
- return ["Pricing: Deepline credits per accepted event"];
1433
+ const sentence = stringField(pricing, "display") || stringField(pricing, "customer_visible");
1434
+ return [
1435
+ sentence ? `Pricing: ${sentence}` : "Pricing: Deepline credits per accepted event"
1436
+ ];
1434
1437
  }
1435
1438
  const lines = ["Pricing (Deepline credits per accepted event):"];
1436
1439
  for (const key of keys) {
@@ -4,14 +4,14 @@ import {
4
4
  resolveApiKeyForBaseUrl,
5
5
  resolveCliCommandContext,
6
6
  resolveConfig
7
- } from "./chunk-3Z4TVZE7.mjs";
7
+ } from "./chunk-Z3MJX3PP.mjs";
8
8
  import {
9
9
  SDK_VERSION,
10
10
  agentSessionIdFromEnvironment,
11
11
  deploymentProtectionHeaders,
12
12
  detectAgentRuntime,
13
13
  readToolFailureHint
14
- } from "./chunk-I2TSRLOI.mjs";
14
+ } from "./chunk-2MIJMDGF.mjs";
15
15
  import {
16
16
  DeeplineError,
17
17
  normalizeToolExecutionFailure,
@@ -4,22 +4,22 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkDH736ASHjs = require('./chunk-DH736ASH.js');
7
+ var _chunkMSCYYFLYjs = require('./chunk-MSCYYFLY.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkY2ND6PPWjs = require('./chunk-Y2ND6PPW.js');
12
+ var _chunkKO6OLYSDjs = require('./chunk-KO6OLYSD.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkOOGP737Ijs = require('./chunk-OOGP737I.js');
16
+ var _chunkVWPM4OICjs = require('./chunk-VWPM4OIC.js');
17
17
 
18
18
 
19
- var _chunkTVAFWAOQjs = require('./chunk-TVAFWAOQ.js');
19
+ var _chunk2RLMHWXWjs = require('./chunk-2RLMHWXW.js');
20
20
 
21
21
 
22
- var _chunk6MIEJJSOjs = require('./chunk-6MIEJJSO.js');
22
+ var _chunkSNYH4QY2js = require('./chunk-SNYH4QY2.js');
23
23
 
24
24
  // src/cli/compatibility-catalog.ts
25
25
  var readers = /* @__PURE__ */ new WeakMap();
@@ -46,7 +46,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
46
46
  async function reportAutoUpdateEvent(input) {
47
47
  let apiKey = "";
48
48
  try {
49
- apiKey = _chunkTVAFWAOQjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
49
+ apiKey = _chunk2RLMHWXWjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
50
50
  } catch (e2) {
51
51
  return;
52
52
  }
@@ -62,15 +62,15 @@ async function reportAutoUpdateEvent(input) {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`,
64
64
  "Content-Type": "application/json",
65
- "User-Agent": `deepline-ts-sdk/${_chunk6MIEJJSOjs.SDK_VERSION}`,
65
+ "User-Agent": `deepline-ts-sdk/${_chunkSNYH4QY2js.SDK_VERSION}`,
66
66
  "X-Deepline-Client-Family": "sdk",
67
67
  "X-Deepline-CLI-Family": "sdk",
68
- "X-Deepline-CLI-Version": _chunk6MIEJJSOjs.SDK_VERSION,
69
- "X-Deepline-SDK-Version": _chunk6MIEJJSOjs.SDK_VERSION
68
+ "X-Deepline-CLI-Version": _chunkSNYH4QY2js.SDK_VERSION,
69
+ "X-Deepline-SDK-Version": _chunkSNYH4QY2js.SDK_VERSION
70
70
  },
71
71
  body: JSON.stringify({
72
72
  event: input.event,
73
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunk6MIEJJSOjs.SDK_VERSION,
73
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkSNYH4QY2js.SDK_VERSION,
74
74
  target_version: input.response.latest,
75
75
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
76
76
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -89,19 +89,19 @@ function envTruthy(name) {
89
89
  return value === "1" || value === "true" || value === "yes";
90
90
  }
91
91
  function shouldSkipSelfUpdate(policy) {
92
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkDH736ASHjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkY2ND6PPWjs.isCiEnvironment.call(void 0, );
92
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkMSCYYFLYjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkKO6OLYSDjs.isCiEnvironment.call(void 0, );
93
93
  }
94
94
  function isDowngradeAutoUpdateResponse(response) {
95
95
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
96
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunk6MIEJJSOjs.SDK_VERSION;
96
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkSNYH4QY2js.SDK_VERSION;
97
97
  if (!target) return false;
98
- return _chunkDH736ASHjs.compareUpdateVersions.call(void 0, target, current) < 0;
98
+ return _chunkMSCYYFLYjs.compareUpdateVersions.call(void 0, target, current) < 0;
99
99
  }
100
100
  function relaunchCurrentCommand(plan, runtime = {}) {
101
101
  return new Promise((resolve) => {
102
102
  const argv = _nullishCoalesce(runtime.argv, () => ( process.argv));
103
103
  const platform = _nullishCoalesce(runtime.platform, () => ( process.platform));
104
- const launch = plan.kind === "python-sidecar" ? _chunkY2ND6PPWjs.resolveShellSpawn.call(void 0, plan.sidecarPath, argv.slice(2), platform) : {
104
+ const launch = plan.kind === "python-sidecar" ? _chunkKO6OLYSDjs.resolveShellSpawn.call(void 0, plan.sidecarPath, argv.slice(2), platform) : {
105
105
  command: _nullishCoalesce(runtime.execPath, () => ( process.execPath)),
106
106
  args: argv.slice(1),
107
107
  shell: false
@@ -148,7 +148,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
148
148
  }
149
149
  if (isDowngradeAutoUpdateResponse(response)) {
150
150
  const target = response.latest;
151
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunk6MIEJJSOjs.SDK_VERSION;
151
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkSNYH4QY2js.SDK_VERSION;
152
152
  process.stderr.write(
153
153
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
154
154
  `
@@ -156,21 +156,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
156
156
  return false;
157
157
  }
158
158
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
159
- const plan = _chunkDH736ASHjs.resolveUpdatePlan.call(void 0, {
159
+ const plan = _chunkMSCYYFLYjs.resolveUpdatePlan.call(void 0, {
160
160
  packageSpec,
161
161
  requireVerifiedNpmOwnership: true,
162
162
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
163
163
  });
164
- if (!_chunkDH736ASHjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
164
+ if (!_chunkMSCYYFLYjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
165
165
  return false;
166
166
  }
167
167
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
168
168
  deferredAutoUpdate = async () => {
169
169
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
170
170
  };
171
- if (_chunkOOGP737Ijs.isJsonOutputMode.call(void 0, )) {
171
+ if (_chunkVWPM4OICjs.isJsonOutputMode.call(void 0, )) {
172
172
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
173
- _chunkOOGP737Ijs.addJsonNotice.call(void 0, {
173
+ _chunkVWPM4OICjs.addJsonNotice.call(void 0, {
174
174
  code: "sdk_update_queued",
175
175
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
176
176
  });
@@ -183,7 +183,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
183
183
  return true;
184
184
  }
185
185
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
186
- if (!_chunkDH736ASHjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
186
+ if (!_chunkMSCYYFLYjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
187
187
  const autoUpdate = response.auto_update;
188
188
  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";
189
189
  process.stderr.write(
@@ -196,7 +196,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
196
196
  event: "started",
197
197
  installKind: plan.kind
198
198
  });
199
- const updateResult = await _chunkDH736ASHjs.runAutomaticUpdatePlan.call(void 0, plan);
199
+ const updateResult = await _chunkMSCYYFLYjs.runAutomaticUpdatePlan.call(void 0, plan);
200
200
  if (updateResult.status === "skipped_previous_failure") {
201
201
  void reportAutoUpdateEvent({
202
202
  baseUrl,
@@ -234,7 +234,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
234
234
  exitCode: 0
235
235
  });
236
236
  try {
237
- await _chunkY2ND6PPWjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
237
+ await _chunkKO6OLYSDjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
238
238
  mode: "detached",
239
239
  update: _optionalChain([response, 'access', _36 => _36.skills, 'optionalAccess', _37 => _37.requires_cli_update]) ? void 0 : response.skills,
240
240
  afterCliUpdate: {
@@ -261,7 +261,7 @@ var _crypto = require('crypto');
261
261
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
262
262
  var activeToolExecuteCommand = null;
263
263
  function progressLine(line) {
264
- if (!_chunkOOGP737Ijs.isJsonOutputMode.call(void 0, )) console.error(line);
264
+ if (!_chunkVWPM4OICjs.isJsonOutputMode.call(void 0, )) console.error(line);
265
265
  }
266
266
  function beginToolExecuteCommand() {
267
267
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-6DMGKAWO.mjs";
3
+ } from "./chunk-ULU4MEXN.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  httpJson
3
- } from "./chunk-SUHCW7U5.mjs";
3
+ } from "./chunk-WVFDPC4K.mjs";
4
4
  import {
5
5
  PRICING_PAGE_NOTE
6
6
  } from "./chunk-HECXJBED.mjs";
7
7
  import {
8
8
  autoDetectBaseUrl,
9
9
  resolveApiKeyForBaseUrl
10
- } from "./chunk-3Z4TVZE7.mjs";
10
+ } from "./chunk-Z3MJX3PP.mjs";
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -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.579",
52
+ version: "0.3.581",
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."
@@ -4,14 +4,14 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkTVAFWAOQjs = require('./chunk-TVAFWAOQ.js');
7
+ var _chunk2RLMHWXWjs = require('./chunk-2RLMHWXW.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunk6MIEJJSOjs = require('./chunk-6MIEJJSO.js');
14
+ var _chunkSNYH4QY2js = require('./chunk-SNYH4QY2.js');
15
15
 
16
16
 
17
17
 
@@ -331,7 +331,7 @@ function buildEnvironmentContext() {
331
331
  node_version: process.version,
332
332
  runtime: "Node.js",
333
333
  hostname: _os.hostname.call(void 0, ),
334
- agent_runtime: _chunk6MIEJJSOjs.detectAgentRuntime.call(void 0, )
334
+ agent_runtime: _chunkSNYH4QY2js.detectAgentRuntime.call(void 0, )
335
335
  };
336
336
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
337
337
  const normalized = _optionalChain([process, 'access', _6 => _6.env, 'access', _7 => _7[key], 'optionalAccess', _8 => _8.trim, 'call', _9 => _9()]);
@@ -352,18 +352,18 @@ function buildEnvironmentContext() {
352
352
  return context;
353
353
  }
354
354
  function failureReportHeaders(apiKey) {
355
- const agentSessionId = _chunk6MIEJJSOjs.agentSessionIdFromEnvironment.call(void 0, );
355
+ const agentSessionId = _chunkSNYH4QY2js.agentSessionIdFromEnvironment.call(void 0, );
356
356
  return {
357
- ..._chunk6MIEJJSOjs.deploymentProtectionHeaders.call(void 0, ),
357
+ ..._chunkSNYH4QY2js.deploymentProtectionHeaders.call(void 0, ),
358
358
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
359
359
  Authorization: `Bearer ${apiKey}`,
360
360
  "Content-Type": "application/json",
361
- "User-Agent": `deepline-ts-sdk/${_chunk6MIEJJSOjs.SDK_VERSION}`,
361
+ "User-Agent": `deepline-ts-sdk/${_chunkSNYH4QY2js.SDK_VERSION}`,
362
362
  "X-Deepline-Client-Family": "sdk",
363
363
  "X-Deepline-CLI-Family": "sdk",
364
- "X-Deepline-Agent-Runtime": _chunk6MIEJJSOjs.detectAgentRuntime.call(void 0, ),
365
- "X-Deepline-CLI-Version": _chunk6MIEJJSOjs.SDK_VERSION,
366
- "X-Deepline-SDK-Version": _chunk6MIEJJSOjs.SDK_VERSION
364
+ "X-Deepline-Agent-Runtime": _chunkSNYH4QY2js.detectAgentRuntime.call(void 0, ),
365
+ "X-Deepline-CLI-Version": _chunkSNYH4QY2js.SDK_VERSION,
366
+ "X-Deepline-SDK-Version": _chunkSNYH4QY2js.SDK_VERSION
367
367
  };
368
368
  }
369
369
  async function postFailureReport(input) {
@@ -391,7 +391,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
391
391
  if (isFailureReportingDisabled()) return false;
392
392
  let apiKey = "";
393
393
  try {
394
- apiKey = _chunkTVAFWAOQjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
394
+ apiKey = _chunk2RLMHWXWjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
395
395
  } catch (e2) {
396
396
  return false;
397
397
  }
@@ -418,7 +418,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
418
418
  failure_code: failureCode2,
419
419
  failure_stage: failureStage,
420
420
  error_body: "Automatic Deepline skills installation failed.",
421
- cli_version: _chunk6MIEJJSOjs.SDK_VERSION,
421
+ cli_version: _chunkSNYH4QY2js.SDK_VERSION,
422
422
  context: {
423
423
  environment: buildEnvironmentContext(),
424
424
  skills_sync: {
@@ -538,7 +538,7 @@ function buildFailureReport(input) {
538
538
  failure_kind: failureKind,
539
539
  failure_code: code,
540
540
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
541
- cli_version: _chunk6MIEJJSOjs.SDK_VERSION,
541
+ cli_version: _chunkSNYH4QY2js.SDK_VERSION,
542
542
  context: {
543
543
  base_url: redactFailureText(input.baseUrl, 400),
544
544
  command_summary: sanitizeCommand(input.argv),
@@ -558,8 +558,8 @@ async function maybeReportSdkCliFailure(input) {
558
558
  if (isServerLoggedPlayRunStartFailure(input)) return false;
559
559
  const exitCode = resolvedExitCode(input);
560
560
  if (!shouldReport({ exitCode, error: input.error })) return false;
561
- const baseUrl = _chunkTVAFWAOQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
562
- const apiKey = _chunkTVAFWAOQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
561
+ const baseUrl = _chunk2RLMHWXWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
562
+ const apiKey = _chunk2RLMHWXWjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
563
563
  if (!apiKey) return false;
564
564
  return postFailureReport({
565
565
  baseUrl,
@@ -914,8 +914,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
914
914
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
915
915
  var defaultBrowserCommandRunner = childProcess;
916
916
  function getAuthedHttpClient() {
917
- const config = _chunkTVAFWAOQjs.resolveConfig.call(void 0, );
918
- return { config, http: new (0, _chunkTVAFWAOQjs.HttpClient)(config) };
917
+ const config = _chunk2RLMHWXWjs.resolveConfig.call(void 0, );
918
+ return { config, http: new (0, _chunk2RLMHWXWjs.HttpClient)(config) };
919
919
  }
920
920
  function stableOsUserId() {
921
921
  try {
@@ -1256,7 +1256,7 @@ function collectLocalEnvInfo() {
1256
1256
  os: `${process.platform} ${process.arch}`,
1257
1257
  node_version: process.version,
1258
1258
  home_dir: homeDir,
1259
- agent_runtime: _chunk6MIEJJSOjs.detectAgentRuntime.call(void 0, )
1259
+ agent_runtime: _chunkSNYH4QY2js.detectAgentRuntime.call(void 0, )
1260
1260
  };
1261
1261
  const env = process.env;
1262
1262
  const optional = {
@@ -1503,9 +1503,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
1503
1503
  }
1504
1504
  function withAgentCommandContext(value) {
1505
1505
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
1506
- return _chunk6MIEJJSOjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1506
+ return _chunkSNYH4QY2js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1507
1507
  ...valueRecord,
1508
- command_context: _chunkTVAFWAOQjs.resolveCliCommandContext.call(void 0, )
1508
+ command_context: _chunk2RLMHWXWjs.resolveCliCommandContext.call(void 0, )
1509
1509
  } : value;
1510
1510
  }
1511
1511
  function printJson(value, fields, options = {}) {
@@ -1677,7 +1677,7 @@ function errorToJsonPayload(error) {
1677
1677
  ...upstreamResponse ? { upstreamResponse } : {},
1678
1678
  ...Object.keys(details).length > 0 ? { details } : {}
1679
1679
  };
1680
- const retry = cliRetryGuidance(payloadError, _chunk6MIEJJSOjs.readToolFailureHint.call(void 0, error));
1680
+ const retry = cliRetryGuidance(payloadError, _chunkSNYH4QY2js.readToolFailureHint.call(void 0, error));
1681
1681
  return {
1682
1682
  ok: false,
1683
1683
  status: "failed",
@@ -4,22 +4,22 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-F57NDSKT.mjs";
7
+ } from "./chunk-RA3BWUTD.mjs";
8
8
  import {
9
9
  isCiEnvironment,
10
10
  resolveShellSpawn,
11
11
  syncSdkSkillsIfNeeded
12
- } from "./chunk-JFS4KHA3.mjs";
12
+ } from "./chunk-N5VJVVVV.mjs";
13
13
  import {
14
14
  addJsonNotice,
15
15
  isJsonOutputMode
16
- } from "./chunk-6DMGKAWO.mjs";
16
+ } from "./chunk-ULU4MEXN.mjs";
17
17
  import {
18
18
  resolveApiKeyForBaseUrl
19
- } from "./chunk-3Z4TVZE7.mjs";
19
+ } from "./chunk-Z3MJX3PP.mjs";
20
20
  import {
21
21
  SDK_VERSION
22
- } from "./chunk-I2TSRLOI.mjs";
22
+ } from "./chunk-2MIJMDGF.mjs";
23
23
 
24
24
  // src/cli/compatibility-catalog.ts
25
25
  var readers = /* @__PURE__ */ new WeakMap();
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-6EVVUVU3.mjs";
3
+ } from "./chunk-BDNQDWGI.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-6DMGKAWO.mjs";
6
+ } from "./chunk-ULU4MEXN.mjs";
7
7
  import {
8
8
  resolveConfig
9
- } from "./chunk-3Z4TVZE7.mjs";
9
+ } from "./chunk-Z3MJX3PP.mjs";
10
10
 
11
11
  // src/cli/commands/integration-commands.ts
12
12
  import { Option } from "commander";
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-6DMGKAWO.mjs";
5
+ } from "./chunk-ULU4MEXN.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-3Z4TVZE7.mjs";
25
+ } from "./chunk-Z3MJX3PP.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-I2TSRLOI.mjs";
32
+ } from "./chunk-2MIJMDGF.mjs";
33
33
  import {
34
34
  DeeplineError
35
35
  } from "./chunk-Z3A2S3QM.mjs";
@@ -3,10 +3,10 @@
3
3
  var _chunkTJCENACZjs = require('./chunk-TJCENACZ.js');
4
4
 
5
5
 
6
- var _chunkE2G2DNABjs = require('./chunk-E2G2DNAB.js');
6
+ var _chunkEP3GZAHKjs = require('./chunk-EP3GZAHK.js');
7
7
 
8
8
  // src/cli/command-docs.ts
9
- var PLAY_RUNTIME_PRICING_NOTE = `With included compute pricing, large (4gb) costs ${_chunkE2G2DNABjs.PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS.large}\xD7 and xlarge (8gb) costs ${_chunkE2G2DNABjs.PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS.xlarge}\xD7 the standard (1gb) hourly rate. Included compute applies proportionally.`;
9
+ var PLAY_RUNTIME_PRICING_NOTE = `With included compute pricing, large (4gb) costs ${_chunkEP3GZAHKjs.PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS.large}\xD7 and xlarge (8gb) costs ${_chunkEP3GZAHKjs.PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS.xlarge}\xD7 the standard (1gb) hourly rate. Included compute applies proportionally.`;
10
10
  var CONVENTIONS = `
11
11
  [[cli:
12
12
  Conventions (apply to every command):
@@ -4242,6 +4242,12 @@ The sequence:
4242
4242
  [[views set-access <id> public]] lets anyone with the URL open it and
4243
4243
  see the output of every run of its Play, including runs started outside
4244
4244
  the view (by hand, on a schedule, or from the CLI).
4245
+ To embed a public view in an iframe, use
4246
+ [[views set-access <id> public --embed-origin https://example.com]]
4247
+ and use the printed Embed URL as the iframe src. List each exact HTTPS
4248
+ origin after --embed-origin to replace the allowlist. Use
4249
+ --clear-embed-origins to turn embedding off. Embeds show public output
4250
+ without signing visitors in or letting them start runs.
4245
4251
  To share with specific people instead, create a signed link:
4246
4252
  [[views links create <id> --expires 7d --email a@b.com]]. Whoever holds
4247
4253
  it can open the view, with each run's input, until it expires or
@@ -4366,6 +4372,26 @@ Outcomes (needs the outcomes rollout):
4366
4372
  [[org service-accounts set-role <service-account-id> member]] (the id is in
4367
4373
  [[org service-accounts list]]). Until then attaching says so and changes
4368
4374
  nothing on the outcome.
4375
+ A channel made an outcome's home (with --outcome, or the card in Slack)
4376
+ and its outcome's feed are copied into each other; a home channel
4377
+ connected before this copies nothing until turned on with
4378
+ [[agents channels set C0123456789 --sync on]]. What
4379
+ members of your Slack workspace post there (top-level or in a thread)
4380
+ goes on the feed under their linked Deepline name, or their Slack name
4381
+ marked "(Slack)"; guests, people from other organizations and bots are
4382
+ not copied. Entries, tasks and asks posted on the outcome anywhere else
4383
+ (Deepline, the CLI, other agents) are posted in the channel under their
4384
+ author's name, in the matching thread; the agent's own posts and system
4385
+ entries are not. Everyone who can read the outcome reads what is said in
4386
+ its home channel, private channels included. A message copied to the feed
4387
+ does not wake the agent; mention it to ask it something. Edits and
4388
+ deletions are not copied. Turn it off for one channel with
4389
+ [[agents channels set C0123456789 --sync off]] (--sync on turns it back
4390
+ on). Guests in the channel read everything copied there from the
4391
+ outcome, as they read the channel. A message from someone who is not a
4392
+ linked Deepline member with member access is copied marked "(Slack)"
4393
+ and reaches no agent: it is top-level, and its @handles mention nobody. A paused outcome still syncs. Sync needs Deepline's app to be
4394
+ reachable, so a local stack without a public address copies nothing.
4369
4395
  A paused outcome still wakes its agent when something reaches it; the
4370
4396
  agent is told the outcome is paused and decides what is worth doing.
4371
4397
  Every outcome has an agent by default. While agents are on, an outcome
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-JFS4KHA3.mjs";
3
+ } from "./chunk-N5VJVVVV.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-I2TSRLOI.mjs";
4
+ } from "./chunk-2MIJMDGF.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-ASB47RXJ.mjs";
@@ -3,7 +3,7 @@
3
3
  var _chunkCSPHSNBWjs = require('./chunk-CSPHSNBW.js');
4
4
 
5
5
 
6
- var _chunk7HOYKXVYjs = require('./chunk-7HOYKXVY.js');
6
+ var _chunk5XVDZVCRjs = require('./chunk-5XVDZVCR.js');
7
7
 
8
8
 
9
9
  var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
@@ -11,7 +11,7 @@ var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkOOGP737Ijs = require('./chunk-OOGP737I.js');
14
+ var _chunkVWPM4OICjs = require('./chunk-VWPM4OIC.js');
15
15
 
16
16
 
17
17
  var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkOOGP737Ijs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkVWPM4OICjs.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 ? _chunkOOGP737Ijs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkOOGP737Ijs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkVWPM4OICjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkVWPM4OICjs.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 = _chunk7HOYKXVYjs.parseLogLevel.call(void 0, value);
660
+ const parsed = _chunk5XVDZVCRjs.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 : _chunk7HOYKXVYjs.parseLogLevel.call(void 0, options.logLevel);
993
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk5XVDZVCRjs.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 : _chunkOOGP737Ijs.parseJsonFields.call(void 0,
1008
- [...fullJson ? ["--full"] : [], ..._chunkOOGP737Ijs.jsonFieldArgs.call(void 0, options.json)],
1007
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkVWPM4OICjs.parseJsonFields.call(void 0,
1008
+ [...fullJson ? ["--full"] : [], ..._chunkVWPM4OICjs.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 || _chunkOOGP737Ijs.argsWantJson.call(void 0, []) : explicitJson;
1013
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkVWPM4OICjs.argsWantJson.call(void 0, []) : explicitJson;
1014
1014
  const verboseLogs = Boolean(
1015
1015
  debugAlias || logLevel === "debug" || debugMapLatency
1016
1016
  );