deepline 0.3.522 → 0.3.523

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +118 -0
  2. package/dist/bundling-sources/sdk/src/index.ts +3 -0
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +47 -18
  5. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +1 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/db-session-renewal.ts +209 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +16 -6
  8. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-tool-hooks.ts +5 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-modal-fallback.ts +1 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +38 -5
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +92 -10
  12. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-deadline-reconciliation.ts +96 -25
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +29 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd.ts +139 -17
  15. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-sql.ts +26 -3
  16. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +145 -5
  17. package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +190 -10
  18. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +85 -5
  19. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +21 -11
  20. package/dist/cli/{artifacts-RY2MK74N.mjs → artifacts-RBHR2DG4.mjs} +6 -6
  21. package/dist/cli/{artifacts-GIZZH5VA.js → artifacts-RZTS2JHZ.js} +18 -18
  22. package/dist/cli/auth-DPWYFQR5.js +43 -0
  23. package/dist/cli/{auth-YIBY5IKT.mjs → auth-ENQUQS56.mjs} +5 -5
  24. package/dist/cli/{billing-G3IX3SNY.mjs → billing-6A27ULCX.mjs} +7 -7
  25. package/dist/cli/{billing-UDKL53GI.js → billing-6HONTJOY.js} +82 -82
  26. package/dist/cli/{chunk-4DFWDA2Q.js → chunk-2BRDHM4S.js} +9 -9
  27. package/dist/cli/{chunk-EJBW7Y6Z.js → chunk-326WVSWS.js} +108 -96
  28. package/dist/cli/{chunk-7JEN3FX4.js → chunk-36LQQL5C.js} +5 -5
  29. package/dist/cli/{chunk-GVKW3LCA.js → chunk-4NWY7JBB.js} +11 -11
  30. package/dist/cli/{chunk-RKE5YTHY.mjs → chunk-4V63IJCL.mjs} +5 -5
  31. package/dist/cli/{chunk-VFCVH2LV.mjs → chunk-5WFQXAD4.mjs} +5 -5
  32. package/dist/cli/{chunk-4TUMKJZX.mjs → chunk-6DBRBWHC.mjs} +2 -2
  33. package/dist/cli/{chunk-CFXERH7F.mjs → chunk-6OZ2WSHD.mjs} +1 -1
  34. package/dist/cli/{chunk-5H22VJPE.js → chunk-7GNKAACY.js} +6 -6
  35. package/dist/cli/{chunk-G65FJ5JX.mjs → chunk-7M5FRSFP.mjs} +2 -2
  36. package/dist/cli/{chunk-PDLRUZ42.mjs → chunk-DNXP3D5H.mjs} +5 -5
  37. package/dist/cli/{chunk-OAQIVJFY.mjs → chunk-F3WRLFFM.mjs} +2 -2
  38. package/dist/cli/{chunk-RI672VNY.js → chunk-FBMOBNJY.js} +2 -2
  39. package/dist/cli/{chunk-NDNG3MAT.mjs → chunk-H7275EZU.mjs} +5 -5
  40. package/dist/cli/{chunk-C6WGMODR.mjs → chunk-HSVGP4CI.mjs} +2 -2
  41. package/dist/cli/{chunk-DNJJ3ULJ.js → chunk-HUC5SGJQ.js} +2 -2
  42. package/dist/cli/{chunk-DARD7TJ7.js → chunk-HUIFUE4L.js} +53 -53
  43. package/dist/cli/{chunk-52MHE7B4.mjs → chunk-I62LJ7NU.mjs} +1 -1
  44. package/dist/cli/{chunk-BZY335JP.js → chunk-IEVXYHGJ.js} +5 -5
  45. package/dist/cli/{chunk-FQQAAR3Q.mjs → chunk-JCTTXLAZ.mjs} +1 -1
  46. package/dist/cli/{chunk-3KMGVOBM.mjs → chunk-JGZQBDYG.mjs} +4 -4
  47. package/dist/cli/{chunk-ZUAKRBZB.js → chunk-JMMNCJ7Z.js} +1 -1
  48. package/dist/cli/{chunk-UV6XCHOZ.mjs → chunk-JVEFMOY2.mjs} +1 -1
  49. package/dist/cli/{chunk-FNHUDCJE.js → chunk-K326BEVR.js} +10 -10
  50. package/dist/cli/{chunk-MD524MRB.mjs → chunk-KILRUAXF.mjs} +1 -1
  51. package/dist/cli/{chunk-XXY4E57R.mjs → chunk-LZL6V5M5.mjs} +2 -2
  52. package/dist/cli/{chunk-GMYDVW7Z.js → chunk-MCXPJYBN.js} +3 -3
  53. package/dist/cli/{chunk-VE6FHVXZ.mjs → chunk-MHTRYBXY.mjs} +78 -1
  54. package/dist/cli/{chunk-ISUUSSS4.js → chunk-MT3WG3KR.js} +16 -16
  55. package/dist/cli/{chunk-37SXIFIU.js → chunk-MZROKQV3.js} +44 -44
  56. package/dist/cli/{chunk-4MF44THR.js → chunk-N5MLEXZ7.js} +50 -8
  57. package/dist/cli/{chunk-XR6TN5DT.mjs → chunk-NWTMQGPP.mjs} +6 -6
  58. package/dist/cli/{chunk-Y3LDRCMB.mjs → chunk-PCORO245.mjs} +2 -2
  59. package/dist/cli/{chunk-534YYHIF.js → chunk-PESMXAUG.js} +6 -6
  60. package/dist/cli/{chunk-RDJTCW3I.mjs → chunk-QMBL5ZIQ.mjs} +3 -3
  61. package/dist/cli/{chunk-LFSOBW7E.mjs → chunk-QOO5W5XS.mjs} +22 -10
  62. package/dist/cli/{chunk-ZZ7U4YJS.mjs → chunk-QSAC3IVI.mjs} +1 -1
  63. package/dist/cli/{chunk-HYR34KFA.js → chunk-QYXIODWH.js} +78 -1
  64. package/dist/cli/{chunk-BONXEWYF.mjs → chunk-RKREB7MU.mjs} +3 -3
  65. package/dist/cli/{chunk-KMBF3N2Z.js → chunk-RQN4PHRE.js} +16 -16
  66. package/dist/cli/{chunk-XT25FX6T.js → chunk-S4YKRH3W.js} +3 -3
  67. package/dist/cli/{chunk-F5D623KO.js → chunk-SBGKKOCC.js} +26 -26
  68. package/dist/cli/{chunk-5477PEHL.mjs → chunk-SXTVJIGB.mjs} +1 -1
  69. package/dist/cli/{chunk-7J5PLHII.mjs → chunk-U6DLLV3S.mjs} +1 -1
  70. package/dist/cli/{chunk-ENWJFUWK.mjs → chunk-UH3EAFFN.mjs} +2 -2
  71. package/dist/cli/{chunk-DLDWAPA5.js → chunk-UQN4VTZL.js} +4 -4
  72. package/dist/cli/{chunk-DRDZBRXV.js → chunk-V46J3UTM.js} +7 -7
  73. package/dist/cli/{chunk-5BQPEHEP.js → chunk-WGVJA4I5.js} +14 -14
  74. package/dist/cli/{chunk-SFMCKB57.mjs → chunk-WVQOXYTQ.mjs} +44 -2
  75. package/dist/cli/{chunk-VIM6I7RC.js → chunk-XVXEARHC.js} +41 -41
  76. package/dist/cli/{chunk-6SJPZV5E.js → chunk-XYL26236.js} +2 -2
  77. package/dist/cli/{chunk-ZZLZCO6Y.js → chunk-ZWN4RXC2.js} +22 -22
  78. package/dist/cli/command-docs.js +2 -2
  79. package/dist/cli/command-docs.mjs +1 -1
  80. package/dist/cli/{csv-3HIE4VCO.js → csv-UBACJK75.js} +13 -13
  81. package/dist/cli/{csv-PE35WGRO.mjs → csv-YFJ2JLUP.mjs} +4 -4
  82. package/dist/cli/{db-O2YRTTDO.js → db-2ZPA2LZ7.js} +27 -27
  83. package/dist/cli/{db-L7ZMMQKW.mjs → db-NKGYTAQO.mjs} +6 -6
  84. package/dist/cli/{describe-NI324Y2M.mjs → describe-GX7DRKWZ.mjs} +18 -18
  85. package/dist/cli/describe-WQZF7MEG.js +50 -0
  86. package/dist/cli/describe-core.d.mts +3 -3
  87. package/dist/cli/describe-core.d.ts +3 -3
  88. package/dist/cli/{executions-T6KU2OKK.mjs → executions-HTHQ7KKD.mjs} +6 -6
  89. package/dist/cli/{executions-VH4DKLFI.js → executions-NXMRGPIL.js} +8 -8
  90. package/dist/cli/{feedback-ZLC6G5OK.js → feedback-TGVQACRO.js} +10 -10
  91. package/dist/cli/{feedback-SCSJC3FX.mjs → feedback-USP4T34P.mjs} +5 -5
  92. package/dist/cli/{git-I4LVQCID.mjs → git-KUONEHCD.mjs} +5 -5
  93. package/dist/cli/git-X3SCQREB.js +25 -0
  94. package/dist/cli/index.js +145 -145
  95. package/dist/cli/index.mjs +44 -44
  96. package/dist/cli/{legacy-noops-UPFWEHPG.js → legacy-noops-2JY3CQ24.js} +9 -9
  97. package/dist/cli/{legacy-noops-44FQ2256.mjs → legacy-noops-B2GMHU42.mjs} +6 -6
  98. package/dist/cli/{monitors-LMSASWXE.mjs → monitors-2OVBZJ6Z.mjs} +7 -7
  99. package/dist/cli/{monitors-JN6IQGK6.js → monitors-XI6I52AX.js} +100 -100
  100. package/dist/cli/{org-F7O3ZU5O.js → org-5TUQ2H6Y.js} +235 -72
  101. package/dist/cli/{org-QYLVEE7A.mjs → org-BNJW764Y.mjs} +169 -6
  102. package/dist/cli/{pages-5XE4LBZN.mjs → pages-QC3TQIPW.mjs} +6 -6
  103. package/dist/cli/{pages-KEL3Y4L4.js → pages-UXCLX53Y.js} +18 -18
  104. package/dist/cli/{play-MWQG3G32.mjs → play-45PPG5SZ.mjs} +18 -18
  105. package/dist/cli/{play-OURHH6KV.js → play-KRWMZ7FG.js} +317 -317
  106. package/dist/cli/{providers-IQY7LUBB.mjs → providers-JDT35MRL.mjs} +6 -6
  107. package/dist/cli/{providers-ZCBWPE3C.js → providers-RBUJ72Y3.js} +9 -9
  108. package/dist/cli/{quickstart-L45NGRMI.mjs → quickstart-GD2SWGAC.mjs} +4 -4
  109. package/dist/cli/{quickstart-O53OXTN6.js → quickstart-JZ4Q3HFT.js} +6 -6
  110. package/dist/cli/{run-W745Z3Z5.js → run-JEAHA367.js} +41 -41
  111. package/dist/cli/{run-VCSIWLEU.mjs → run-KIZ3HBI2.mjs} +23 -23
  112. package/dist/cli/{search-THELKULN.mjs → search-5UFNXHFK.mjs} +8 -8
  113. package/dist/cli/search-6JULJMD7.js +33 -0
  114. package/dist/cli/{search-output-N7MJLYYD.mjs → search-output-HAXPKQO6.mjs} +4 -4
  115. package/dist/cli/{search-output-SJW7LEOM.js → search-output-W3RDSVLE.js} +6 -6
  116. package/dist/cli/{secrets-44ST3FJH.mjs → secrets-JAWT66B2.mjs} +6 -6
  117. package/dist/cli/{secrets-GDXPX3KB.js → secrets-PC7C2Q32.js} +15 -15
  118. package/dist/cli/{sessions-LYCBI77S.mjs → sessions-325V7G35.mjs} +6 -6
  119. package/dist/cli/sessions-WFUCOJHZ.js +18 -0
  120. package/dist/cli/{settings-GXPDMJFG.mjs → settings-FKHTA65P.mjs} +13 -13
  121. package/dist/cli/{settings-3WOFF642.js → settings-RGU6Y2QR.js} +86 -86
  122. package/dist/cli/{setup-YM6JEB64.mjs → setup-43GOYTFC.mjs} +10 -10
  123. package/dist/cli/{setup-YHLMBJP4.js → setup-ZMZ7HU2I.js} +50 -50
  124. package/dist/cli/skills-3XTQ6FFM.js +37 -0
  125. package/dist/cli/{skills-WX4XWEAT.mjs → skills-Q2VAHSXM.mjs} +8 -8
  126. package/dist/cli/{tools-K24VSQ7S.mjs → tools-BUH7ZWDS.mjs} +17 -17
  127. package/dist/cli/tools-UK2R4YXQ.js +57 -0
  128. package/dist/cli/{update-PSSCF5AT.mjs → update-JFALWOHD.mjs} +10 -10
  129. package/dist/cli/update-LNKPHS54.js +35 -0
  130. package/dist/cli/{workflow-DGOPYATO.mjs → workflow-ISJKLY6X.mjs} +7 -7
  131. package/dist/cli/{workflow-FPVI3NIA.js → workflow-YELST32A.js} +17 -17
  132. package/dist/{client-DA71-2_u.d.mts → client-C2N7MofG.d.mts} +1 -1
  133. package/dist/{client-B-2Am2y6.d.ts → client-C7lTRJjw.d.ts} +1 -1
  134. package/dist/{client-core-BXbds1cb.d.mts → client-core-BTkDSKGn.d.mts} +79 -2
  135. package/dist/{client-core-C0IzDKMJ.d.ts → client-core-hmhBi7Ib.d.ts} +79 -2
  136. package/dist/{compiler-manifest-B4mIIbw7.d.mts → compiler-manifest-DsxsQP-T.d.mts} +14 -7
  137. package/dist/{compiler-manifest-B4mIIbw7.d.ts → compiler-manifest-DsxsQP-T.d.ts} +14 -7
  138. package/dist/{errors-Gj9i5Rkd.d.ts → errors-Bk5h1D-C.d.ts} +1 -1
  139. package/dist/{errors-C2F4qzAq.d.mts → errors-qdJUVQ3g.d.mts} +1 -1
  140. package/dist/{index-5JZBufdF.d.mts → index-PaupwX1B.d.mts} +1 -1
  141. package/dist/{index-BXtSj8bv.d.ts → index-bL66eHYz.d.ts} +1 -1
  142. package/dist/index.d.mts +7 -7
  143. package/dist/index.d.ts +7 -7
  144. package/dist/index.js +9 -9
  145. package/dist/index.mjs +6 -6
  146. package/dist/install-integrity.json +117 -116
  147. package/dist/plays/bundle-play-file.d.mts +3 -3
  148. package/dist/plays/bundle-play-file.d.ts +3 -3
  149. package/dist/plays/bundle-play-file.mjs +7 -5
  150. package/dist/plays/play-description.d.mts +2 -2
  151. package/dist/plays/play-description.d.ts +2 -2
  152. package/dist/plays/run-request.d.mts +2 -2
  153. package/dist/plays/run-request.d.ts +2 -2
  154. package/dist/release.d.mts +1 -1
  155. package/dist/release.d.ts +1 -1
  156. package/dist/release.js +2 -2
  157. package/dist/release.mjs +1 -1
  158. package/dist/server.d.mts +4 -4
  159. package/dist/server.d.ts +4 -4
  160. package/dist/server.js +5 -5
  161. package/dist/server.mjs +3 -3
  162. package/package.json +1 -1
  163. package/dist/cli/auth-JSES2JOQ.js +0 -43
  164. package/dist/cli/describe-EB336DAO.js +0 -50
  165. package/dist/cli/git-23T7TXAH.js +0 -25
  166. package/dist/cli/search-R6K7ZAMU.js +0 -33
  167. package/dist/cli/sessions-2V5ZFOWL.js +0 -18
  168. package/dist/cli/skills-XNGADDO6.js +0 -37
  169. package/dist/cli/tools-ROUMCB7B.js +0 -57
  170. package/dist/cli/update-RXURGIRW.js +0 -35
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-MD524MRB.mjs";
5
+ } from "./chunk-KILRUAXF.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-VFCVH2LV.mjs";
9
+ } from "./chunk-5WFQXAD4.mjs";
10
10
  import {
11
11
  Capability,
12
12
  arrayField,
@@ -46,10 +46,10 @@ import {
46
46
  } from "./chunk-FIVKWNMT.mjs";
47
47
  import {
48
48
  DeeplineClient
49
- } from "./chunk-G65FJ5JX.mjs";
49
+ } from "./chunk-7M5FRSFP.mjs";
50
50
  import {
51
51
  validateExecutionIdempotencyKey
52
- } from "./chunk-SFMCKB57.mjs";
52
+ } from "./chunk-WVQOXYTQ.mjs";
53
53
  import {
54
54
  stableStringify
55
55
  } from "./chunk-UBKA33KY.mjs";
@@ -59,18 +59,18 @@ import {
59
59
  maybeAutoUpdateAndRelaunch,
60
60
  registerCompatibilityCatalog,
61
61
  runToolExecuteStage
62
- } from "./chunk-NDNG3MAT.mjs";
62
+ } from "./chunk-H7275EZU.mjs";
63
63
  import {
64
64
  isCliTraceEnabled,
65
65
  recordCliTrace,
66
66
  resolveCliMaintenancePolicy
67
- } from "./chunk-52MHE7B4.mjs";
67
+ } from "./chunk-I62LJ7NU.mjs";
68
68
  import {
69
69
  checkSdkCompatibility,
70
70
  enforceSdkCompatibilityResponse,
71
71
  flushDeferredSkillsSyncNotices,
72
72
  syncSdkSkillsIfNeeded
73
- } from "./chunk-RKE5YTHY.mjs";
73
+ } from "./chunk-4V63IJCL.mjs";
74
74
  import {
75
75
  printCommandEnvelope,
76
76
  printCompactJson,
@@ -78,12 +78,12 @@ import {
78
78
  printJsonError,
79
79
  renderCommandEnvelopeText,
80
80
  shouldEmitJson
81
- } from "./chunk-4TUMKJZX.mjs";
81
+ } from "./chunk-6DBRBWHC.mjs";
82
82
  import {
83
83
  readSdkSkillsLocalVersion,
84
84
  resolveConfig,
85
85
  sdkCliStateDirPath
86
- } from "./chunk-5477PEHL.mjs";
86
+ } from "./chunk-SXTVJIGB.mjs";
87
87
  import {
88
88
  DeeplineError
89
89
  } from "./chunk-ZPGGW27Q.mjs";
@@ -829,6 +829,18 @@ Output:
829
829
  activity.
830
830
  `
831
831
  );
832
+ tools.command("balance <provider>").description(
833
+ "Read a fresh balance using this workspace\u2019s own provider connection (LeadMagic)."
834
+ ).option("--json", "Print the balance and observation timestamp as JSON").action(async (provider, options) => {
835
+ const balance = await new DeeplineClient().getIntegrationBalance(
836
+ provider
837
+ );
838
+ if (shouldEmitJson(options.json)) console.log(JSON.stringify(balance));
839
+ else
840
+ console.log(
841
+ `${balance.provider}: ${balance.balance.value} ${balance.unit} (observed ${balance.observedAt})`
842
+ );
843
+ });
832
844
  tools.command("connect <provider>").description(
833
845
  "Get a dashboard connection link or connect a provider with credentials or OAuth."
834
846
  ).addOption(
@@ -1054,7 +1066,7 @@ Examples:
1054
1066
  process.exitCode = await narrowView();
1055
1067
  return;
1056
1068
  }
1057
- const { describeAnything } = await import("./describe-NI324Y2M.mjs");
1069
+ const { describeAnything } = await import("./describe-GX7DRKWZ.mjs");
1058
1070
  process.exitCode = await describeAnything(
1059
1071
  toolId,
1060
1072
  {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-4TUMKJZX.mjs";
3
+ } from "./chunk-6DBRBWHC.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -60,6 +60,60 @@ Existing member roles retain their permissions, including Play authoring. Only o
60
60
  and the last owner cannot be removed. Read-only tools may still spend credits.
61
61
  Output: ok, memberId, and the stored role.
62
62
  Cost: This command does not spend credits.`
63
+ },
64
+ "org service-accounts list": {
65
+ core: `Purpose: List the workspace's service accounts: members that are not people and own API keys,
66
+ so production credentials keep working when people leave.
67
+ Input: none.
68
+ Output: serviceAccounts (id, name, role, activeKeyCount, lastUsedAt, createdAt; keys with id, keyPrefix,
69
+ keyLast4, createdAt, and lastUsedAt for admins, null for other members). Never key material.
70
+ Cost: Does not spend credits.`
71
+ },
72
+ "org service-accounts create": {
73
+ core: `Purpose: Create a service account. Requires an admin grant.
74
+ Input: a name (1 to 64 characters, unique in the workspace ignoring case) and --role read, run, or member.
75
+ Service accounts cannot be admins or owners and cannot sign in.
76
+ Example: deepline org service-accounts create prod-pipeline --role run
77
+ Output: serviceAccount (id, name, role). Create its one key next with org service-accounts keys create <id>.
78
+ Cost: Does not spend credits.`
79
+ },
80
+ "org service-accounts set-role": {
81
+ core: `Purpose: Change a service account's role. Requires an admin grant.
82
+ Input: a service account id from org service-accounts list, then read, run, or member.
83
+ The service account's key uses the new role on its next request.
84
+ Output: serviceAccount with the stored role.
85
+ Cost: Does not spend credits.`
86
+ },
87
+ "org service-accounts delete": {
88
+ core: `Purpose: Delete a service account. Requires an admin grant.
89
+ Input: a service account id from org service-accounts list.
90
+ Revokes its key and removes its workspace membership. Deleting twice is a no-op.
91
+ Output: id and revokedKeyCount.
92
+ Cost: Does not spend credits.`
93
+ },
94
+ "org service-accounts keys create": {
95
+ core: `Purpose: Create the API key for a service account that has none. Requires an admin grant.
96
+ A service account holds one active key; this fails with SERVICE_ACCOUNT_KEY_EXISTS while it has one.
97
+ Input: a service account id from org service-accounts list.
98
+ Output: apiKey (shown once; Deepline stores only its hash) and key (id, keyPrefix, keyLast4).
99
+ Store apiKey in your secret manager and set it as DEEPLINE_API_KEY where the job runs.
100
+ Cost: Does not spend credits.`
101
+ },
102
+ "org service-accounts keys rotate": {
103
+ core: `Purpose: Replace a service account's API key. Requires an admin grant.
104
+ Input: a service account id from org service-accounts list.
105
+ In one step the active key is revoked and a new one issued; requests with the old key fail from then on,
106
+ so update DEEPLINE_API_KEY where the job runs right away. Not retried automatically: if the response is
107
+ lost, run org service-accounts list to see which key is active, and rotate again if you lack it.
108
+ Output: apiKey (shown once), key (id, keyPrefix, keyLast4), and revokedKeyIds.
109
+ Cost: Does not spend credits.`
110
+ },
111
+ "org service-accounts keys revoke": {
112
+ core: `Purpose: Revoke a service account's key without replacing it. Requires an admin grant.
113
+ Input: a service account id, then a key id, both from org service-accounts list.
114
+ Requests with the key fail from then on. Revoking a revoked key is a no-op.
115
+ Output: keyId and status.
116
+ Cost: Does not spend credits.`
63
117
  },
64
118
  "": {
65
119
  core: `
@@ -536,6 +590,26 @@ The sequence:
536
590
  Cost:
537
591
  search, describe, list, and grep are free. Running a tool can spend
538
592
  credits; [[cli:run <id> --dry-run]][[mcp:deepline_describe_tool]] shows the price.
593
+ `
594
+ },
595
+ "tools balance": {
596
+ core: `
597
+ Purpose:
598
+ Read the active workspace's connected LeadMagic account balance.
599
+ Output:
600
+ Provider credits, unit, source and observedAt timestamp. [[cli:--json returns the same fields]][[mcp:The API returns these fields]]
601
+ as GET /api/v2/integrations/balance?provider=leadmagic.
602
+ Every lookup is fresh; no cached balance is returned on failure. Missing or
603
+ inactive BYOK connections fail without using a managed account.
604
+ Provider credits are separate from Deepline charges. Tool receipts expose
605
+ BYOK facts in responseMeta.provider_usage (legacy meta.provider_usage),
606
+ including array results. Missing, invalid and conflicting values are null
607
+ with an explicit status; zero means the provider reported zero. Native
608
+ X-Credits-Cost and X-Credits-Remaining take precedence over body counters.
609
+ Cost:
610
+ The LeadMagic credit lookup is free. No Deepline credits are charged.
611
+ Examples:
612
+ [[cli:deepline tools balance leadmagic --json]]
539
613
  `
540
614
  },
541
615
  "tools connect": {
@@ -876,7 +950,10 @@ Authoring rules:
876
950
  provider call and no provider charge; Play compute still applies. This
877
951
  holds for every tool: a positive window on a write, send or purchase
878
952
  skips a repeat of it on purpose, so use 0 for a repeat and re-read after a
879
- write with 0. A repeat is skipped only after an earlier call has finished:
953
+ write with 0. Only these need 0: event waits, Google Workspace tools,
954
+ Customer DB SQL that changes data, live datasets, fetch other than
955
+ GET/HEAD/OPTIONS, and customerDb.query;
956
+ [[cli:plays check]][[mcp:deepline_check_play]] names the fix. A repeat is skipped only after an earlier call has finished:
880
957
  overlapping calls both run, so a send that must happen once needs a
881
958
  provider idempotency key. Failed, empty and unfinished answers are never
882
959
  reused, so a retry runs again. Resuming a run returns its own finished calls whatever
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-4TUMKJZX.mjs";
5
+ } from "./chunk-6DBRBWHC.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-5477PEHL.mjs";
25
+ } from "./chunk-SXTVJIGB.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-FQQAAR3Q.mjs";
32
+ } from "./chunk-JCTTXLAZ.mjs";
33
33
  import {
34
34
  DeeplineError
35
35
  } from "./chunk-ZPGGW27Q.mjs";
@@ -1,9 +1,9 @@
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 _chunkEJBW7Y6Zjs = require('./chunk-EJBW7Y6Z.js');
3
+ var _chunk326WVSWSjs = require('./chunk-326WVSWS.js');
4
4
 
5
5
 
6
- var _chunk5H22VJPEjs = require('./chunk-5H22VJPE.js');
6
+ var _chunk7GNKAACYjs = require('./chunk-7GNKAACY.js');
7
7
 
8
8
 
9
9
 
@@ -14,18 +14,18 @@ var _chunkRVHUW4TNjs = require('./chunk-RVHUW4TN.js');
14
14
  var _chunkNTLBZUHDjs = require('./chunk-NTLBZUHD.js');
15
15
 
16
16
 
17
- var _chunk7JEN3FX4js = require('./chunk-7JEN3FX4.js');
17
+ var _chunk36LQQL5Cjs = require('./chunk-36LQQL5C.js');
18
18
 
19
19
 
20
20
 
21
- var _chunk5BQPEHEPjs = require('./chunk-5BQPEHEP.js');
21
+ var _chunkWGVJA4I5js = require('./chunk-WGVJA4I5.js');
22
22
 
23
23
 
24
- var _chunkDRDZBRXVjs = require('./chunk-DRDZBRXV.js');
24
+ var _chunkV46J3UTMjs = require('./chunk-V46J3UTM.js');
25
25
 
26
26
 
27
27
 
28
- var _chunkGMYDVW7Zjs = require('./chunk-GMYDVW7Z.js');
28
+ var _chunkMCXPJYBNjs = require('./chunk-MCXPJYBN.js');
29
29
 
30
30
  // src/cli/commands/describe.ts
31
31
  var _fs = require('fs');
@@ -34,14 +34,14 @@ var _path = require('path');
34
34
  // src/cli/doc-read-reporting.ts
35
35
  var REPORT_TIMEOUT_MS = 1e3;
36
36
  async function reportDocRead(docId) {
37
- if (_chunk5BQPEHEPjs.isFailureReportingDisabled.call(void 0, )) return;
37
+ if (_chunkWGVJA4I5js.isFailureReportingDisabled.call(void 0, )) return;
38
38
  try {
39
- const baseUrl = _chunkGMYDVW7Zjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
40
- const apiKey = _chunkGMYDVW7Zjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
39
+ const baseUrl = _chunkMCXPJYBNjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
40
+ const apiKey = _chunkMCXPJYBNjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
41
41
  if (!apiKey) return;
42
42
  await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
43
43
  method: "POST",
44
- headers: _chunk5BQPEHEPjs.failureReportHeaders.call(void 0, apiKey),
44
+ headers: _chunkWGVJA4I5js.failureReportHeaders.call(void 0, apiKey),
45
45
  body: JSON.stringify({ doc_id: docId }),
46
46
  signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
47
47
  });
@@ -54,16 +54,16 @@ function nothingNamed(name) {
54
54
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
55
55
  }
56
56
  function findNamed2(name, options) {
57
- return _chunkRVHUW4TNjs.findNamed.call(void 0, name, options, _chunkRVHUW4TNjs.describeLookupsFor.call(void 0, new (0, _chunk7JEN3FX4js.DeeplineClient)()));
57
+ return _chunkRVHUW4TNjs.findNamed.call(void 0, name, options, _chunkRVHUW4TNjs.describeLookupsFor.call(void 0, new (0, _chunk36LQQL5Cjs.DeeplineClient)()));
58
58
  }
59
59
  async function describeAnything(name, options, onMissing) {
60
- const client = new (0, _chunk7JEN3FX4js.DeeplineClient)();
60
+ const client = new (0, _chunk36LQQL5Cjs.DeeplineClient)();
61
61
  const lookups = _chunkRVHUW4TNjs.describeLookupsFor.call(void 0, client);
62
62
  const outcome = await _chunkRVHUW4TNjs.describeName.call(void 0, name, options, {
63
63
  ...lookups,
64
64
  // `tools describe` has already fetched the tool for its compatibility check.
65
65
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
66
- seedStarterScript: _chunkEJBW7Y6Zjs.seedToolListScript
66
+ seedStarterScript: _chunk326WVSWSjs.seedToolListScript
67
67
  });
68
68
  if (outcome.status === "missing") {
69
69
  if (onMissing) return onMissing();
@@ -89,18 +89,18 @@ function deliver(envelope, lines, { json, out }) {
89
89
  ` : text;
90
90
  _fs.writeFileSync.call(void 0, path, content);
91
91
  const bytes = Buffer.byteLength(content);
92
- _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
92
+ _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
93
93
  { path, bytes },
94
94
  { json, text: `Wrote ${path} (${bytes} bytes)
95
95
  ` }
96
96
  );
97
97
  return 0;
98
98
  }
99
- _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0, envelope, { json, text });
99
+ _chunkV46J3UTMjs.printCommandEnvelope.call(void 0, envelope, { json, text });
100
100
  return 0;
101
101
  }
102
102
  function registerDescribeCommand(program) {
103
- _chunk5H22VJPEjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
103
+ _chunk7GNKAACYjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
104
104
  "Describe anything search returns: a tool, monitor type, or play."
105
105
  ).addHelpText(
106
106
  "after",
@@ -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 _chunkDRDZBRXVjs = require('./chunk-DRDZBRXV.js');
3
+ var _chunkV46J3UTMjs = require('./chunk-V46J3UTM.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 && !_chunkDRDZBRXVjs.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkV46J3UTMjs.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 (_chunkDRDZBRXVjs.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkV46J3UTMjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkDRDZBRXVjs = require('./chunk-DRDZBRXV.js');
5
+ var _chunkV46J3UTMjs = require('./chunk-V46J3UTM.js');
6
6
 
7
7
 
8
- var _chunkGMYDVW7Zjs = require('./chunk-GMYDVW7Z.js');
8
+ var _chunkMCXPJYBNjs = require('./chunk-MCXPJYBN.js');
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
32
32
  return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
33
33
  }
34
34
  async function handleList(options) {
35
- const { http } = _chunkDRDZBRXVjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkV46J3UTMjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
39
+ _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
40
40
  {
41
41
  projects: payload.projects,
42
42
  count: payload.projects.length,
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
73
73
  }
74
74
  }
75
75
  async function handleStatus(options) {
76
- const { http } = _chunkDRDZBRXVjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkV46J3UTMjs.getAuthedHttpClient.call(void 0, );
77
77
  const payload = await http.get("/api/v2/github/installation");
78
78
  const installation = payload.installation;
79
79
  const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
@@ -136,7 +136,7 @@ async function handleStatus(options) {
136
136
  )
137
137
  );
138
138
  }
139
- _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
139
+ _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  installation,
142
142
  installations: _nullishCoalesce(payload.installations, () => ( [])),
@@ -147,10 +147,10 @@ async function handleStatus(options) {
147
147
  );
148
148
  }
149
149
  async function handleRepos(options) {
150
- const { http } = _chunkDRDZBRXVjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkV46J3UTMjs.getAuthedHttpClient.call(void 0, );
151
151
  const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
152
152
  const payload = await http.get(`/api/v2/github/repos${query}`);
153
- _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
153
+ _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
154
154
  {
155
155
  installation: payload.installation,
156
156
  repositories: payload.repositories,
@@ -171,7 +171,7 @@ async function handleRepos(options) {
171
171
  }
172
172
  async function resolveRepoId(repo, installation) {
173
173
  if (/^\d+$/.test(repo)) return Number(repo);
174
- const { http } = _chunkDRDZBRXVjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkV46J3UTMjs.getAuthedHttpClient.call(void 0, );
175
175
  const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
176
176
  const payload = await http.get(
177
177
  `/api/v2/github/repos${query}`
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
188
188
  }
189
189
  async function handleLink(repo, options) {
190
190
  const repoId = await resolveRepoId(repo, options.installation);
191
- const { http } = _chunkDRDZBRXVjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkV46J3UTMjs.getAuthedHttpClient.call(void 0, );
192
192
  const payload = await http.post("/api/v2/play-projects", {
193
193
  repoId,
194
194
  ...options.installation !== void 0 ? { installationId: options.installation } : {},
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
197
197
  ...options.branch !== void 0 ? { productionBranch: options.branch } : {},
198
198
  ...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
199
199
  });
200
- _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
200
+ _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
201
201
  {
202
202
  project: payload.project,
203
203
  render: {
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
220
220
  );
221
221
  }
222
222
  async function handleGet(id, options) {
223
- const { http } = _chunkDRDZBRXVjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkV46J3UTMjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
227
+ _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
228
228
  {
229
229
  project: payload.project,
230
230
  render: {
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
240
240
  );
241
241
  }
242
242
  async function handleSet(id, options) {
243
- const { http } = _chunkDRDZBRXVjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkV46J3UTMjs.getAuthedHttpClient.call(void 0, );
244
244
  const payload = await http.patch(
245
245
  `/api/v2/play-projects/${encodeURIComponent(id)}`,
246
246
  {
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
251
251
  ...options.disabled !== void 0 ? { disabled: options.disabled } : {}
252
252
  }
253
253
  );
254
- _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
254
+ _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
255
255
  {
256
256
  project: payload.project,
257
257
  render: {
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
264
264
  );
265
265
  }
266
266
  async function handleUnlink(id, options) {
267
- const { http } = _chunkDRDZBRXVjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkV46J3UTMjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
269
+ _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
270
270
  {
271
271
  ok: true,
272
272
  id,
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
286
286
  );
287
287
  }
288
288
  async function handleConnect(options) {
289
- const baseUrl = _chunkGMYDVW7Zjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkMCXPJYBNjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkDRDZBRXVjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkV46J3UTMjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
293
293
  {
294
294
  connectUrl,
295
295
  browser: opened,
@@ -311,7 +311,7 @@ async function handleConnect(options) {
311
311
  );
312
312
  }
313
313
  async function handleDeploymentsList(options) {
314
- const { http } = _chunkDRDZBRXVjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkV46J3UTMjs.getAuthedHttpClient.call(void 0, );
315
315
  const query = new URLSearchParams();
316
316
  if (options.repo) query.set("projectId", options.repo);
317
317
  if (options.limit) query.set("limit", options.limit);
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
319
319
  const payload = await http.get(
320
320
  `/api/v2/deployments${suffix}`
321
321
  );
322
- _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
322
+ _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  deployments: payload.deployments,
325
325
  count: payload.deployments.length,
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
363
363
  ]);
364
364
  }
365
365
  async function handleDeploymentGet(id, options) {
366
- const { http } = _chunkDRDZBRXVjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkV46J3UTMjs.getAuthedHttpClient.call(void 0, );
367
367
  const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
368
368
  const playLines = renderDeploymentPlayLines(payload.deployment.results);
369
369
  const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
370
370
  const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
371
- _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
371
+ _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
372
372
  {
373
373
  deployment: payload.deployment,
374
374
  project: payload.project,
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
387
387
  );
388
388
  }
389
389
  async function handleDeploymentCancel(id, options) {
390
- const { http } = _chunkDRDZBRXVjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkV46J3UTMjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
392
+ _chunkV46J3UTMjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-FQQAAR3Q.mjs";
4
+ } from "./chunk-JCTTXLAZ.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-QNHHZ63P.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  printCommandEnvelope
3
- } from "./chunk-4TUMKJZX.mjs";
3
+ } from "./chunk-6DBRBWHC.mjs";
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
  import {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-SFMCKB57.mjs";
3
+ } from "./chunk-WVQOXYTQ.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-5477PEHL.mjs";
7
+ } from "./chunk-SXTVJIGB.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -17,12 +17,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
17
17
  var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
18
18
 
19
19
 
20
- var _chunkZUAKRBZBjs = require('./chunk-ZUAKRBZB.js');
20
+ var _chunkJMMNCJ7Zjs = require('./chunk-JMMNCJ7Z.js');
21
21
 
22
22
  // src/version.ts
23
- var SDK_VERSION = _chunkZUAKRBZBjs.SDK_RELEASE.version;
24
- var SDK_API_MAJOR = _chunkZUAKRBZBjs.SDK_RELEASE.contracts.api.currentMajor;
25
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkZUAKRBZBjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
23
+ var SDK_VERSION = _chunkJMMNCJ7Zjs.SDK_RELEASE.version;
24
+ var SDK_API_MAJOR = _chunkJMMNCJ7Zjs.SDK_RELEASE.contracts.api.currentMajor;
25
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkJMMNCJ7Zjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
26
26
 
27
27
  // src/agent-runtime.ts
28
28
  var _os = require('os');
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkGMYDVW7Zjs = require('./chunk-GMYDVW7Z.js');
5
+ var _chunkMCXPJYBNjs = require('./chunk-MCXPJYBN.js');
6
6
 
7
7
 
8
- var _chunkDLDWAPA5js = require('./chunk-DLDWAPA5.js');
8
+ var _chunkUQN4VTZLjs = require('./chunk-UQN4VTZL.js');
9
9
 
10
10
 
11
11
 
@@ -294,8 +294,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
294
294
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
295
295
  var defaultBrowserCommandRunner = childProcess;
296
296
  function getAuthedHttpClient() {
297
- const config = _chunkGMYDVW7Zjs.resolveConfig.call(void 0, );
298
- return { config, http: new (0, _chunkGMYDVW7Zjs.HttpClient)(config) };
297
+ const config = _chunkMCXPJYBNjs.resolveConfig.call(void 0, );
298
+ return { config, http: new (0, _chunkMCXPJYBNjs.HttpClient)(config) };
299
299
  }
300
300
  function stableOsUserId() {
301
301
  try {
@@ -635,7 +635,7 @@ function collectLocalEnvInfo() {
635
635
  os: `${process.platform} ${process.arch}`,
636
636
  node_version: process.version,
637
637
  home_dir: homeDir,
638
- agent_runtime: _chunkDLDWAPA5js.detectAgentRuntime.call(void 0, )
638
+ agent_runtime: _chunkUQN4VTZLjs.detectAgentRuntime.call(void 0, )
639
639
  };
640
640
  const env = process.env;
641
641
  const optional = {
@@ -882,9 +882,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
882
882
  }
883
883
  function withAgentCommandContext(value) {
884
884
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
885
- return _chunkDLDWAPA5js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
885
+ return _chunkUQN4VTZLjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
886
886
  ...valueRecord,
887
- command_context: _chunkGMYDVW7Zjs.resolveCliCommandContext.call(void 0, )
887
+ command_context: _chunkMCXPJYBNjs.resolveCliCommandContext.call(void 0, )
888
888
  } : value;
889
889
  }
890
890
  function printJson(value, fields) {