deepline 0.3.551 → 0.3.553

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 (324) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +130 -12
  2. package/dist/bundling-sources/sdk/src/compat.ts +239 -87
  3. package/dist/bundling-sources/sdk/src/config.ts +113 -2
  4. package/dist/bundling-sources/sdk/src/errors.ts +2 -0
  5. package/dist/bundling-sources/sdk/src/http-core.ts +124 -10
  6. package/dist/bundling-sources/sdk/src/index.ts +2 -0
  7. package/dist/bundling-sources/sdk/src/integrations.ts +6 -4
  8. package/dist/bundling-sources/sdk/src/play.ts +3 -0
  9. package/dist/bundling-sources/sdk/src/plays/run-request.ts +1 -1
  10. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  11. package/dist/bundling-sources/sdk/src/runs/watch-polling.ts +66 -30
  12. package/dist/bundling-sources/sdk/src/tool-calls.ts +2 -1
  13. package/dist/bundling-sources/sdk/src/tool-failure-hint.ts +104 -0
  14. package/dist/bundling-sources/sdk/src/types.ts +9 -1
  15. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +4 -2
  16. package/dist/bundling-sources/shared_libs/integration-contracts/billing-plan-skus.ts +25 -0
  17. package/dist/bundling-sources/shared_libs/monitors/action-actor.ts +2 -0
  18. package/dist/bundling-sources/shared_libs/monitors/billing/credit-recovery.ts +58 -4
  19. package/dist/bundling-sources/shared_libs/monitors/billing/policy-builders.ts +8 -0
  20. package/dist/bundling-sources/shared_libs/monitors/billing/pricing.ts +11 -0
  21. package/dist/bundling-sources/shared_libs/monitors/billing/types.ts +13 -0
  22. package/dist/bundling-sources/shared_libs/monitors/deactivation-reasons.ts +103 -5
  23. package/dist/bundling-sources/shared_libs/monitors/fleets/converge-admission.ts +133 -0
  24. package/dist/bundling-sources/shared_libs/monitors/fleets/fence-attention.ts +165 -0
  25. package/dist/bundling-sources/shared_libs/monitors/fleets/fence-release.ts +726 -0
  26. package/dist/bundling-sources/shared_libs/monitors/fleets/fence-walk.ts +274 -0
  27. package/dist/bundling-sources/shared_libs/monitors/fleets/issues.ts +1 -0
  28. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +28 -0
  29. package/dist/bundling-sources/shared_libs/monitors/fleets/provider-bulk-wait.ts +126 -0
  30. package/dist/bundling-sources/shared_libs/monitors/fleets/shared-payload.ts +189 -0
  31. package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +28 -0
  32. package/dist/bundling-sources/shared_libs/monitors/inbound-publish-key.ts +4 -0
  33. package/dist/bundling-sources/shared_libs/monitors/inventory-counter-errors.ts +25 -0
  34. package/dist/bundling-sources/shared_libs/monitors/org-monitor-limits.ts +65 -0
  35. package/dist/bundling-sources/shared_libs/monitors/package.json +11 -0
  36. package/dist/bundling-sources/shared_libs/monitors/provider-callback-verification.ts +152 -1
  37. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +6 -0
  38. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +390 -10
  39. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-errors.ts +34 -0
  40. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-identity-claims.ts +66 -30
  41. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-state.ts +30 -0
  42. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-upstream-identity.ts +80 -13
  43. package/dist/bundling-sources/shared_libs/monitors/provider-resource-failure.ts +26 -3
  44. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +41 -13
  45. package/dist/bundling-sources/shared_libs/monitors/signal-radars/raw-receipt-causes.ts +219 -0
  46. package/dist/bundling-sources/shared_libs/monitors/snitcher-ip2company.ts +21 -10
  47. package/dist/bundling-sources/shared_libs/monitors/starter-templates.ts +13 -0
  48. package/dist/bundling-sources/shared_libs/monitors/tamradar-countries.ts +285 -0
  49. package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +6 -0
  50. package/dist/bundling-sources/shared_libs/monitors/tracking-provider-integrations.ts +13 -0
  51. package/dist/bundling-sources/shared_libs/observability/dlq.ts +1 -1
  52. package/dist/bundling-sources/shared_libs/observability/log-metadata.ts +5 -3
  53. package/dist/bundling-sources/shared_libs/observability/queue-health.ts +10 -1
  54. package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
  55. package/dist/bundling-sources/shared_libs/observability/redaction.ts +24 -1
  56. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +312 -41
  57. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +1 -2
  58. package/dist/bundling-sources/shared_libs/play-data-plane/preview-r2-oidc.ts +188 -0
  59. package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +170 -16
  60. package/dist/bundling-sources/shared_libs/play-data-plane/runtime-sheet-storage-contract.ts +5 -0
  61. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +68 -2
  62. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +568 -26
  63. package/dist/bundling-sources/shared_libs/play-runtime/ctx-fetch-caller-deadline.ts +200 -0
  64. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +6 -0
  65. package/dist/bundling-sources/shared_libs/play-runtime/deployment/runtime-topology.ts +21 -1
  66. package/dist/bundling-sources/shared_libs/play-runtime/durable-call-cache.ts +3 -2
  67. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +14 -2
  68. package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +70 -2
  69. package/dist/bundling-sources/shared_libs/play-runtime/durable-tool-identity.ts +3 -3
  70. package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +16 -0
  71. package/dist/bundling-sources/shared_libs/play-runtime/experiment-switches.ts +92 -16
  72. package/dist/bundling-sources/shared_libs/play-runtime/fixture-behavior.ts +1 -0
  73. package/dist/bundling-sources/shared_libs/play-runtime/governor/policy.ts +7 -1
  74. package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +62 -0
  75. package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +74 -3
  76. package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +31 -3
  77. package/dist/bundling-sources/shared_libs/play-runtime/play-http-request.ts +6 -0
  78. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +8 -0
  79. package/dist/bundling-sources/shared_libs/play-runtime/query-result-dataset.ts +19 -0
  80. package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +39 -2
  81. package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +9 -1
  82. package/dist/bundling-sources/shared_libs/play-runtime/run-identity.ts +33 -0
  83. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger-projection-contract.ts +24 -0
  84. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +300 -57
  85. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +87 -6
  86. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +241 -10
  87. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox-egress.ts +161 -14
  88. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +16 -3
  89. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api-compression.ts +37 -0
  90. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api-paths.ts +9 -0
  91. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +298 -46
  92. package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +13 -0
  93. package/dist/bundling-sources/shared_libs/play-runtime/runtime-constants.ts +39 -0
  94. package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +62 -1
  95. package/dist/bundling-sources/shared_libs/play-runtime/runtime-scheduler-topology.ts +36 -0
  96. package/dist/bundling-sources/shared_libs/play-runtime/runtime-sheet-row-transition.ts +36 -0
  97. package/dist/bundling-sources/shared_libs/play-runtime/runtime-speed-profile.ts +206 -2
  98. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-pool.ts +42 -0
  99. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +185 -64
  100. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-worker-slot-ledger.ts +157 -0
  101. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +110 -2
  102. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-listener-hint.ts +323 -0
  103. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/executor-attempt-standing.ts +72 -0
  104. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/integration-operation-value-storage.ts +23 -4
  105. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +32 -10
  106. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-workspace-purge.ts +199 -0
  107. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +632 -66
  108. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +517 -16
  109. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-api-origin.ts +1 -1
  110. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-receipt-value-storage.ts +9 -0
  111. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +599 -2
  112. package/dist/bundling-sources/shared_libs/play-runtime/secret-resolution-retry-policy.ts +26 -1
  113. package/dist/bundling-sources/shared_libs/play-runtime/startup-read-tool-ids.ts +60 -0
  114. package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +51 -0
  115. package/dist/bundling-sources/shared_libs/play-runtime/tool-call-retry-facts.ts +2 -0
  116. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +113 -3
  117. package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +5 -7
  118. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +37 -7
  119. package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-storage-contract.ts +2 -0
  120. package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +3 -0
  121. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +40 -5
  122. package/dist/bundling-sources/shared_libs/plays/deploy/api-client.ts +3 -0
  123. package/dist/bundling-sources/shared_libs/plays/deploy/control-plane-types.ts +16 -0
  124. package/dist/bundling-sources/shared_libs/plays/deploy/run-deployment.ts +10 -41
  125. package/dist/bundling-sources/shared_libs/plays/extension-bridge.ts +33 -0
  126. package/dist/bundling-sources/shared_libs/plays/row-identity.ts +18 -1
  127. package/dist/bundling-sources/shared_libs/plays/tool-execution-error.ts +108 -0
  128. package/dist/bundling-sources/shared_libs/plays/trigger-config-contract.ts +14 -0
  129. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +171 -0
  130. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +27 -1
  131. package/dist/bundling-sources/shared_libs/security/email-blacklist.ts +9 -24
  132. package/dist/bundling-sources/shared_libs/security/secret-redaction.ts +178 -5
  133. package/dist/bundling-sources/shared_libs/security/signup-email-dns-screen.ts +148 -0
  134. package/dist/bundling-sources/shared_libs/tool-execution-error.ts +108 -0
  135. package/dist/cli/{auth-E7BH4GMJ.mjs → auth-I3QAU4RV.mjs} +8 -7
  136. package/dist/cli/auth-MQCN7WGZ.js +44 -0
  137. package/dist/cli/{billing-OXKU462W.mjs → billing-3IC54OQQ.mjs} +202 -59
  138. package/dist/cli/{billing-DNQAZGX7.js → billing-YGFFVAIC.js} +302 -159
  139. package/dist/cli/{chunk-COGREZAO.js → chunk-2B5B5KAW.js} +210 -128
  140. package/dist/cli/{chunk-UBKA33KY.mjs → chunk-2MGZAI54.mjs} +17 -0
  141. package/dist/cli/{chunk-T2B5BVZE.js → chunk-3NTP2OSG.js} +13 -13
  142. package/dist/cli/{chunk-FOTGUFVK.mjs → chunk-45OAVGU6.mjs} +5 -5
  143. package/dist/cli/{chunk-54EEYLTF.js → chunk-4747TPLV.js} +3 -3
  144. package/dist/cli/{chunk-CLRAANWH.mjs → chunk-4BFTDNHU.mjs} +1 -1
  145. package/dist/cli/{chunk-BGBJV26E.mjs → chunk-4HYNMXXF.mjs} +4 -4
  146. package/dist/cli/{chunk-5S6PHKRV.mjs → chunk-4SMCFQ23.mjs} +1 -1
  147. package/dist/cli/{chunk-VWLHRZFG.mjs → chunk-55F6HNOY.mjs} +5 -5
  148. package/dist/cli/{chunk-LX35AXTN.mjs → chunk-5TYLSS4Q.mjs} +6 -6
  149. package/dist/cli/{chunk-VTGG2RT3.js → chunk-6NE3RRRY.js} +1 -1
  150. package/dist/cli/{chunk-EITMD3A5.js → chunk-6VLFQZK6.js} +8 -8
  151. package/dist/cli/{chunk-MNSTCJMX.mjs → chunk-72V4PDH5.mjs} +18 -18
  152. package/dist/cli/{chunk-ZCDKE4UH.js → chunk-74RES4DS.js} +5 -5
  153. package/dist/cli/{chunk-WKBHUB6R.js → chunk-7GEMELKI.js} +366 -320
  154. package/dist/cli/{chunk-C4CUZH57.js → chunk-7O6J6A7P.js} +1871 -92
  155. package/dist/cli/{chunk-7RSIFA72.js → chunk-7SERLBNR.js} +161 -53
  156. package/dist/cli/{chunk-3G6QZACZ.js → chunk-7YRJ5UC4.js} +21 -21
  157. package/dist/cli/{chunk-I4VKGNAQ.mjs → chunk-A7DLBE5K.mjs} +136 -54
  158. package/dist/cli/{chunk-GGB3JYCW.mjs → chunk-AGICYWGN.mjs} +299 -69
  159. package/dist/cli/{chunk-44KSACJW.mjs → chunk-AGIQDA2T.mjs} +12 -12
  160. package/dist/cli/{chunk-PACD5DGC.js → chunk-AGLR6QVN.js} +255 -109
  161. package/dist/cli/{chunk-NURW5XH4.mjs → chunk-ASB47RXJ.mjs} +1 -1
  162. package/dist/cli/{chunk-4OMAGJ6U.js → chunk-BVDKFS2T.js} +2 -2
  163. package/dist/cli/{chunk-LPJPCGT3.js → chunk-CACFJODG.js} +190 -134
  164. package/dist/cli/{chunk-GVYLCCKN.mjs → chunk-CAEBJOYU.mjs} +1 -1
  165. package/dist/cli/{chunk-XDVT3GOM.js → chunk-CFJFUVX2.js} +18 -1
  166. package/dist/cli/{chunk-POLUE7D5.js → chunk-DP2VH7CO.js} +12 -12
  167. package/dist/cli/{chunk-D6M5HFBB.mjs → chunk-DP64MD6U.mjs} +1 -1
  168. package/dist/cli/{chunk-W425ERWN.mjs → chunk-DZA7RFGL.mjs} +5 -5
  169. package/dist/cli/{chunk-R7J7CJPZ.js → chunk-E2G2DNAB.js} +4 -1
  170. package/dist/cli/{chunk-GGGAEVCX.mjs → chunk-E7WZOX2A.mjs} +22 -18
  171. package/dist/cli/{chunk-44I675YK.js → chunk-FM7LPUPA.js} +41 -41
  172. package/dist/cli/{chunk-2UXDHFSF.mjs → chunk-GAVZ4EOD.mjs} +1 -1
  173. package/dist/cli/{chunk-Z2FIOG3V.js → chunk-HEBO3XNZ.js} +27 -31
  174. package/dist/cli/{chunk-6PWJKMFQ.mjs → chunk-HSJ6X2AQ.mjs} +4 -4
  175. package/dist/cli/{chunk-UPMRIVZB.js → chunk-HVI55MTK.js} +61 -10
  176. package/dist/cli/{chunk-KWSH5T7K.js → chunk-IH6GDNKW.js} +21 -21
  177. package/dist/cli/{chunk-3KYBDAR3.js → chunk-IMX7J4DU.js} +8 -8
  178. package/dist/cli/{chunk-HEHVGEZV.mjs → chunk-INEMTYMT.mjs} +8 -8
  179. package/dist/cli/{chunk-5VVSEU67.js → chunk-IUOGII7D.js} +6 -7
  180. package/dist/cli/{chunk-MXGA6JFI.mjs → chunk-JJGWHITQ.mjs} +5 -5
  181. package/dist/cli/{chunk-QM6Y6S4E.js → chunk-JLGP5XAJ.js} +5 -5
  182. package/dist/cli/{chunk-V6SCP4B7.mjs → chunk-LFOERUQY.mjs} +69 -3
  183. package/dist/cli/{chunk-BBTKAASQ.js → chunk-LFQJW4S2.js} +42 -1
  184. package/dist/cli/{chunk-ZMNGZ6XS.mjs → chunk-LH5PZKER.mjs} +80 -24
  185. package/dist/cli/{chunk-MR5LTVHD.js → chunk-LRDHPOZW.js} +69 -69
  186. package/dist/cli/{chunk-5LUF4LAR.mjs → chunk-LRZGS6RZ.mjs} +3 -0
  187. package/dist/cli/{chunk-SL6MYJYM.js → chunk-MJTVX4QK.js} +35 -35
  188. package/dist/cli/{chunk-UDXULACQ.js → chunk-MLABYI4M.js} +90 -24
  189. package/dist/cli/{chunk-S7IZWGUA.mjs → chunk-NDNHYONK.mjs} +17 -21
  190. package/dist/cli/{chunk-4D3WIZST.mjs → chunk-OTV2UUKW.mjs} +164 -18
  191. package/dist/cli/{chunk-XYE5XPGF.js → chunk-Q6Z6N3A7.js} +18 -18
  192. package/dist/cli/{chunk-7WQNWJQW.mjs → chunk-QG6JIWUL.mjs} +151 -43
  193. package/dist/cli/{chunk-3T65J5RG.mjs → chunk-QI5S5HWB.mjs} +2 -2
  194. package/dist/cli/{chunk-CBV7AKWM.js → chunk-R6DZ6NQ2.js} +5 -5
  195. package/dist/cli/{chunk-PM7MO62Y.mjs → chunk-RMNOZKRI.mjs} +3 -3
  196. package/dist/cli/{chunk-NMWGZD6Y.js → chunk-RTV4RF7N.js} +36 -36
  197. package/dist/cli/{chunk-CQ6JYQSW.js → chunk-SBH4CKPN.js} +11 -11
  198. package/dist/cli/{chunk-BIIJATTX.mjs → chunk-SG3LUONJ.mjs} +3 -3
  199. package/dist/cli/{chunk-2WFPHBR4.js → chunk-TFEXSHPM.js} +22 -18
  200. package/dist/cli/{chunk-5IL7SC45.mjs → chunk-TN4TY6TT.mjs} +6 -7
  201. package/dist/cli/{chunk-WEHCBH5R.mjs → chunk-UEVKMZLR.mjs} +54 -3
  202. package/dist/cli/{chunk-RE5MJBEV.mjs → chunk-UVQJYV76.mjs} +2 -2
  203. package/dist/cli/{chunk-FSIVF2SI.mjs → chunk-VZGLIK5U.mjs} +1 -1
  204. package/dist/cli/{chunk-W2ZWQUHT.js → chunk-WOCHZCUJ.js} +2 -2
  205. package/dist/cli/{chunk-ZDQFBJPO.js → chunk-XLIHTJVM.js} +348 -118
  206. package/dist/cli/{chunk-2ZYRBMQM.js → chunk-Y6SP3JMI.js} +22 -22
  207. package/dist/cli/{chunk-PPSDCN6C.js → chunk-YUA6HA6D.js} +2 -2
  208. package/dist/cli/{chunk-JL2OTMSG.mjs → chunk-Z3A2S3QM.mjs} +41 -0
  209. package/dist/cli/{chunk-E64HFB4L.mjs → chunk-Z6XPSHKM.mjs} +87 -41
  210. package/dist/cli/{chunk-7DOQ3OEX.mjs → chunk-Z7AOIHFE.mjs} +1870 -91
  211. package/dist/cli/command-docs.js +3 -3
  212. package/dist/cli/command-docs.mjs +2 -2
  213. package/dist/cli/concurrent-runs-help-CFJH4KXV.js +22 -0
  214. package/dist/cli/{concurrent-runs-help-C6L6I5OR.mjs → concurrent-runs-help-DNV2X5AZ.mjs} +9 -8
  215. package/dist/cli/{csv-QMF4FWE7.js → csv-SA6ELJY6.js} +16 -15
  216. package/dist/cli/{csv-SYSDXFEM.mjs → csv-ZXZGHWOM.mjs} +7 -6
  217. package/dist/cli/{db-Q7HURWRZ.mjs → db-A54SP6AD.mjs} +16 -16
  218. package/dist/cli/{db-YSHPPA4H.js → db-JHFEIQBU.js} +43 -43
  219. package/dist/cli/describe-PHQ33AGS.mjs +50 -0
  220. package/dist/cli/describe-RHJ4XRFI.js +50 -0
  221. package/dist/cli/describe-core.d.mts +3 -3
  222. package/dist/cli/describe-core.d.ts +3 -3
  223. package/dist/cli/describe-core.js +6 -6
  224. package/dist/cli/describe-core.mjs +5 -5
  225. package/dist/cli/{executions-G7U3VUXN.mjs → executions-HL2M2DFU.mjs} +10 -10
  226. package/dist/cli/{executions-MWBC5TAW.js → executions-TLFZRHBJ.js} +12 -12
  227. package/dist/cli/{feedback-SD55OY6H.js → feedback-5UEX5UZK.js} +17 -16
  228. package/dist/cli/{feedback-GMHIFLBJ.mjs → feedback-QMBTNXVG.mjs} +9 -8
  229. package/dist/cli/git-4JWOOHBG.js +26 -0
  230. package/dist/cli/{git-HPE45OPD.mjs → git-LKGXVIVC.mjs} +8 -7
  231. package/dist/cli/index.js +170 -158
  232. package/dist/cli/index.mjs +60 -48
  233. package/dist/cli/{integrations-HFKVBY6G.js → integrations-6RUTLMN7.js} +23 -27
  234. package/dist/cli/{integrations-2W4MGIQR.mjs → integrations-FGGRVUJ7.mjs} +15 -19
  235. package/dist/cli/{legacy-noops-SXVNDEXN.js → legacy-noops-J3Z7QRWZ.js} +12 -11
  236. package/dist/cli/{legacy-noops-GZYKNU2Z.mjs → legacy-noops-YIPRMVXZ.mjs} +9 -8
  237. package/dist/cli/{mcp-PJRHQHHU.js → mcp-6LWFP7RW.js} +121 -48
  238. package/dist/cli/{mcp-BWA6KULG.mjs → mcp-CHDYFO7F.mjs} +100 -27
  239. package/dist/cli/{monitors-K2WSI6CR.js → monitors-STM6A7OU.js} +221 -186
  240. package/dist/cli/{monitors-SYQKCATO.mjs → monitors-UGRY2BXI.mjs} +58 -23
  241. package/dist/cli/org-3SYOUQCX.mjs +2289 -0
  242. package/dist/cli/org-ZOBSNSIB.js +2289 -0
  243. package/dist/cli/outcomes-H4YYAT5X.js +2865 -0
  244. package/dist/cli/outcomes-Z3P2JE67.mjs +2865 -0
  245. package/dist/cli/{play-SZXY2F2S.js → play-SM4CW2GS.js} +1116 -846
  246. package/dist/cli/{play-TTMABJEI.mjs → play-SN5YWLS7.mjs} +375 -105
  247. package/dist/cli/{providers-GQIOMRQO.mjs → providers-WZ4YBR5Y.mjs} +10 -10
  248. package/dist/cli/{providers-YDHCTZAF.js → providers-WZARYMCF.js} +13 -13
  249. package/dist/cli/{quickstart-PHSSMKCA.mjs → quickstart-2575BNKA.mjs} +7 -6
  250. package/dist/cli/{quickstart-BNYOXQXG.js → quickstart-PS4YHQJ6.js} +9 -8
  251. package/dist/cli/{run-GFIAZXVL.js → run-FLZ6OTM7.js} +51 -51
  252. package/dist/cli/{run-74C3C75C.mjs → run-ZUHCZOJS.mjs} +31 -31
  253. package/dist/cli/run-identity-LMLFMACS.js +31 -0
  254. package/dist/cli/{run-identity-MRNCEGV2.mjs → run-identity-MAZ7ANH5.mjs} +9 -3
  255. package/dist/cli/{search-3SWUB7KX.mjs → search-HLPPKQEO.mjs} +11 -11
  256. package/dist/cli/search-JJWVHR3N.js +32 -0
  257. package/dist/cli/{search-output-K2SWHVHQ.mjs → search-output-PDAXNOGP.mjs} +9 -8
  258. package/dist/cli/{search-output-6JF3S4TP.js → search-output-RXJLU36B.js} +12 -11
  259. package/dist/cli/{secrets-2M4XWEKE.mjs → secrets-CGELYQ3H.mjs} +11 -11
  260. package/dist/cli/{secrets-2SAKLH2H.js → secrets-QJNG7G2Y.js} +20 -20
  261. package/dist/cli/sessions-DHTBT2GN.js +23 -0
  262. package/dist/cli/{sessions-A64BCXTO.mjs → sessions-ELMWVR4M.mjs} +9 -8
  263. package/dist/cli/{settings-HV64WIJF.js → settings-44I44P5F.js} +89 -89
  264. package/dist/cli/{settings-SVGEC3FI.mjs → settings-RR3LZXL7.mjs} +16 -16
  265. package/dist/cli/{setup-EDC3NEJ3.mjs → setup-KGWRWH4B.mjs} +20 -19
  266. package/dist/cli/{setup-FHXOLQGQ.js → setup-KTEYOCJO.js} +60 -59
  267. package/dist/cli/skills-EPZPEXI2.js +37 -0
  268. package/dist/cli/{skills-3HGHZMXB.mjs → skills-FPRID2I5.mjs} +10 -9
  269. package/dist/cli/tools-IGQQ5TML.js +57 -0
  270. package/dist/cli/{tools-P2QS6A6Q.mjs → tools-PI4WMDLY.mjs} +23 -23
  271. package/dist/cli/update-4RNCVYGE.js +37 -0
  272. package/dist/cli/{update-552BYQM4.mjs → update-VJOJAZ7B.mjs} +14 -11
  273. package/dist/cli/{views-PA25NAE3.js → views-NTUOLNQU.js} +62 -64
  274. package/dist/cli/{views-LD5HXJYY.mjs → views-OVPSINZO.mjs} +47 -49
  275. package/dist/cli/{workflow-FIDBUQV6.js → workflow-2UDYDM6F.js} +23 -23
  276. package/dist/cli/{workflow-LDYFGBYP.mjs → workflow-7OEFNXZC.mjs} +13 -13
  277. package/dist/{client-DuDFiJDU.d.mts → client-B8f7RNF8.d.mts} +1 -1
  278. package/dist/{client-t9HZAkFD.d.ts → client-C5TgXmJQ.d.ts} +1 -1
  279. package/dist/{client-core-DydMQOft.d.mts → client-core-SLLGBTht.d.mts} +285 -23
  280. package/dist/{client-core-CJRzLanv.d.ts → client-core-p0sOxnkl.d.ts} +285 -23
  281. package/dist/{compiler-manifest-BqwVrOri.d.mts → compiler-manifest-D_zZEh9Q.d.mts} +70 -5
  282. package/dist/{compiler-manifest-BqwVrOri.d.ts → compiler-manifest-D_zZEh9Q.d.ts} +70 -5
  283. package/dist/{errors-BU8FB99X.d.mts → errors-CZCrBFrQ.d.mts} +1 -1
  284. package/dist/{errors-DfVN_FUG.d.ts → errors-DsUkLrdZ.d.ts} +1 -1
  285. package/dist/{index-BGnvtYGc.d.ts → index-B6RTOZGC.d.ts} +1 -1
  286. package/dist/{index-DjZgwpGw.d.mts → index-DeOVrEmX.d.mts} +1 -1
  287. package/dist/index.d.mts +7 -7
  288. package/dist/index.d.ts +7 -7
  289. package/dist/index.js +66 -55
  290. package/dist/index.mjs +25 -14
  291. package/dist/install-integrity.json +162 -142
  292. package/dist/plays/bundle-play-file.d.mts +3 -3
  293. package/dist/plays/bundle-play-file.d.ts +3 -3
  294. package/dist/plays/bundle-play-file.mjs +23 -4
  295. package/dist/plays/csv-data-input.js +3 -3
  296. package/dist/plays/csv-data-input.mjs +2 -2
  297. package/dist/plays/play-description.d.mts +2 -2
  298. package/dist/plays/play-description.d.ts +2 -2
  299. package/dist/plays/run-request.d.mts +2 -2
  300. package/dist/plays/run-request.d.ts +2 -2
  301. package/dist/plays/run-request.js +4 -4
  302. package/dist/plays/run-request.mjs +3 -3
  303. package/dist/release.d.mts +1 -1
  304. package/dist/release.d.ts +1 -1
  305. package/dist/release.js +2 -2
  306. package/dist/release.mjs +1 -1
  307. package/dist/server.d.mts +4 -4
  308. package/dist/server.d.ts +4 -4
  309. package/dist/server.js +15 -13
  310. package/dist/server.mjs +9 -7
  311. package/package.json +1 -1
  312. package/dist/cli/auth-B4PI7GVY.js +0 -43
  313. package/dist/cli/concurrent-runs-help-JEFQZTJI.js +0 -21
  314. package/dist/cli/describe-PXTSBJTL.js +0 -50
  315. package/dist/cli/describe-YGMQBV44.mjs +0 -50
  316. package/dist/cli/git-I3JV7IGH.js +0 -25
  317. package/dist/cli/org-5KD7X7IA.mjs +0 -1282
  318. package/dist/cli/org-YQ2CR32B.js +0 -1282
  319. package/dist/cli/run-identity-G257GQED.js +0 -25
  320. package/dist/cli/search-2RRRF4LW.js +0 -32
  321. package/dist/cli/sessions-SBH27JNW.js +0 -22
  322. package/dist/cli/skills-Y3SRLOYD.js +0 -36
  323. package/dist/cli/tools-OFYPUPUV.js +0 -57
  324. package/dist/cli/update-SOUSCLB7.js +0 -34
@@ -243,6 +243,20 @@ function callerPlayWorkflowIdMatchesRequest(workflowId, request) {
243
243
  const { workflowId: _ignored, ...intent } = request;
244
244
  return match[1] === sha256Hex(stableStringify(JSON.parse(JSON.stringify(intent))));
245
245
  }
246
+ var SHORT_PLAY_RUN_ID_RE = /^play\/[a-z0-9/-]+\/run\/\d{8}t\d{6}-\d{3}-[a-z0-9]{8}$/;
247
+ function isShortPlayRunId(value) {
248
+ return SHORT_PLAY_RUN_ID_RE.test(value);
249
+ }
250
+ function shortPlayRunId(runId) {
251
+ const short = runId.replace(/-caller-[a-f0-9]{64}$/, "");
252
+ return isShortPlayRunId(short) ? short : runId;
253
+ }
254
+ function playRunIdLookupPrefix(value) {
255
+ if (isShortPlayRunId(value)) return value;
256
+ const match = /^(.*)-caller-([a-f0-9]*)$/i.exec(value);
257
+ if (!match || /^[a-f0-9]{64}$/.test(match[2])) return null;
258
+ return isShortPlayRunId(match[1]) ? match[1] : null;
259
+ }
246
260
  function buildPlayRunIdentity(playName, now, options = {}) {
247
261
  const workflowId = buildPlayWorkflowId(playName, now, {
248
262
  unique: options.unique ?? now === void 0
@@ -303,6 +317,9 @@ export {
303
317
  buildPlayWorkflowId,
304
318
  buildCallerPlayWorkflowId,
305
319
  callerPlayWorkflowIdMatchesRequest,
320
+ isShortPlayRunId,
321
+ shortPlayRunId,
322
+ playRunIdLookupPrefix,
306
323
  buildPlayRunIdentity,
307
324
  buildAsyncPlayRunIdentity,
308
325
  buildRerunPlayRunIdentity,
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk4OMAGJ6Ujs = require('./chunk-4OMAGJ6U.js');
3
+ var _chunkBVDKFS2Tjs = require('./chunk-BVDKFS2T.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkZDQFBJPOjs = require('./chunk-ZDQFBJPO.js');
7
+ var _chunkXLIHTJVMjs = require('./chunk-XLIHTJVM.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkPACD5DGCjs = require('./chunk-PACD5DGC.js');
12
+ var _chunkAGLR6QVNjs = require('./chunk-AGLR6QVN.js');
13
13
 
14
14
  // src/cli/commands/sessions.ts
15
15
 
@@ -55,7 +55,7 @@ function codexSessionsRoot() {
55
55
  }
56
56
  function listClaudeSessionFiles() {
57
57
  const files = [];
58
- for (const root of _chunkPACD5DGCjs.claudeProjectsRoots.call(void 0, )) {
58
+ for (const root of _chunkAGLR6QVNjs.claudeProjectsRoots.call(void 0, )) {
59
59
  files.push(...listClaudeSessionFilesIn(root));
60
60
  }
61
61
  return files;
@@ -147,7 +147,7 @@ function currentSessionFile(agent) {
147
147
  const newestFirst = listSessionFiles(agent).sort(
148
148
  (a, b) => b.mtimeMs - a.mtimeMs
149
149
  );
150
- const sessionId = _chunkPACD5DGCjs.agentSessionIdFromEnvironment.call(void 0,
150
+ const sessionId = _chunkAGLR6QVNjs.agentSessionIdFromEnvironment.call(void 0,
151
151
  process.env,
152
152
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
153
153
  );
@@ -156,7 +156,7 @@ function currentSessionFile(agent) {
156
156
  (candidate) => candidate.sessionId === sessionId
157
157
  );
158
158
  if (named) return named;
159
- const cowork = agent === "codex" ? null : _chunkPACD5DGCjs.coworkTranscriptFromEnvironment.call(void 0, );
159
+ const cowork = agent === "codex" ? null : _chunkAGLR6QVNjs.coworkTranscriptFromEnvironment.call(void 0, );
160
160
  const coworkStat = cowork ? statIfReadable(cowork.filePath) : null;
161
161
  if (cowork && coworkStat) {
162
162
  return { agent: "claude", ...cowork, mtimeMs: coworkStat.mtimeMs };
@@ -166,7 +166,7 @@ function currentSessionFile(agent) {
166
166
  ), () => ( newestFirst[0])), () => ( null));
167
167
  }
168
168
  function feedbackAgentSessionId(agentRuntime) {
169
- return _nullishCoalesce(_chunkPACD5DGCjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkPACD5DGCjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
169
+ return _nullishCoalesce(_chunkAGLR6QVNjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkAGLR6QVNjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
170
170
  }
171
171
  function sessionStartedInDirectory(candidate, cwd) {
172
172
  if (candidate.agent === "claude") {
@@ -215,7 +215,7 @@ function readCodexSessionId(filePath) {
215
215
  return null;
216
216
  }
217
217
  function sessionSearchDescription(agent) {
218
- const claude = _chunkPACD5DGCjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
218
+ const claude = _chunkAGLR6QVNjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
219
219
  if (agent === "claude") return claude;
220
220
  if (agent === "codex") return "~/.codex/sessions/**/*.jsonl";
221
221
  return `${claude} or ~/.codex/sessions/**/*.jsonl`;
@@ -472,7 +472,7 @@ function buildSessionUploadContent(raw) {
472
472
  return { encodedContent: encoded, needsChunking: true };
473
473
  }
474
474
  async function uploadPayload(path, payload) {
475
- const { http } = _chunkZDQFBJPOjs.getAuthedHttpClient.call(void 0, );
475
+ const { http } = _chunkXLIHTJVMjs.getAuthedHttpClient.call(void 0, );
476
476
  return await http.post(path, payload);
477
477
  }
478
478
  async function uploadChunkedSessions(sessions, options) {
@@ -550,7 +550,7 @@ async function uploadAgentSession(agentRuntime) {
550
550
  return target.sessionId;
551
551
  }
552
552
  async function handleSessionsSend(options) {
553
- if (_chunk4OMAGJ6Ujs.rejectRestrictedFeedback.call(void 0, options)) return;
553
+ if (_chunkBVDKFS2Tjs.rejectRestrictedFeedback.call(void 0, options)) return;
554
554
  const rating = parseSessionRating(options.rating);
555
555
  if (options.file) {
556
556
  const filePath = _path.resolve.call(void 0, options.file);
@@ -562,7 +562,7 @@ async function handleSessionsSend(options) {
562
562
  filename: _path.basename.call(void 0, filePath),
563
563
  ...rating ? { rating } : {}
564
564
  });
565
- _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
565
+ _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
566
566
  {
567
567
  ...response2,
568
568
  ok: true,
@@ -594,7 +594,7 @@ async function handleSessionsSend(options) {
594
594
  labeled: Boolean(_optionalChain([options, 'access', _27 => _27.label, 'optionalAccess', _28 => _28.length]))
595
595
  });
596
596
  const sessionIds = built.map((session) => session.sessionId);
597
- _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
597
+ _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
598
598
  {
599
599
  ...response,
600
600
  ok: true,
@@ -702,7 +702,7 @@ ${refreshMeta}
702
702
  </body>
703
703
  </html>`;
704
704
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
705
- _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
705
+ _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
706
706
  {
707
707
  ok: true,
708
708
  file: outputPath,
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  httpJson
3
- } from "./chunk-MNSTCJMX.mjs";
3
+ } from "./chunk-72V4PDH5.mjs";
4
4
  import {
5
5
  PRICING_PAGE_NOTE
6
6
  } from "./chunk-2RIKOPIM.mjs";
7
7
  import {
8
8
  autoDetectBaseUrl,
9
9
  resolveApiKeyForBaseUrl
10
- } from "./chunk-V6SCP4B7.mjs";
10
+ } from "./chunk-LFOERUQY.mjs";
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -18,8 +18,8 @@ function concurrentRunsLine(payload) {
18
18
  const runs = payload.concurrent_runs;
19
19
  if (!runs) return null;
20
20
  const plan = payload.plan?.name ? ` (${payload.plan.name})` : "";
21
- const override = runs.source === "override" ? ", a workspace override" : "";
22
- const here = `This workspace${plan} runs up to ${runs.limit.toLocaleString("en-US")} ${runs.limit === 1 ? "Play" : "Plays"} at once${override}.`;
21
+ const override = runs.source === "override" ? ", an org override" : "";
22
+ const here = `This org${plan} runs up to ${runs.limit.toLocaleString("en-US")} ${runs.limit === 1 ? "Play" : "Plays"} at once${override}.`;
23
23
  const plans = runs.plans.map((entry) => `${entry.name} ${entry.limit.toLocaleString("en-US")}`).join(", ");
24
24
  return plans ? `${here} Plan limits: ${plans}.` : here;
25
25
  }
@@ -38,7 +38,7 @@ async function concurrentRunsHelpStatus(timeoutMs = 2e3) {
38
38
  if (status !== 200) return "";
39
39
  const line = concurrentRunsLine(data);
40
40
  return line ? `
41
- Your workspace:
41
+ Your org:
42
42
  ${line}
43
43
  ${PRICING_PAGE_NOTE}
44
44
  ` : "";
@@ -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 _chunkZDQFBJPOjs = require('./chunk-ZDQFBJPO.js');
3
+ var _chunkXLIHTJVMjs = require('./chunk-XLIHTJVM.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 && !_chunkZDQFBJPOjs.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkXLIHTJVMjs.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 (_chunkZDQFBJPOjs.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkXLIHTJVMjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-GGB3JYCW.mjs";
3
+ } from "./chunk-AGICYWGN.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -3,7 +3,7 @@ import {
3
3
  formatModelDescription,
4
4
  publicToolSchemas,
5
5
  toolMetadataJsonForDescribe
6
- } from "./chunk-WEHCBH5R.mjs";
6
+ } from "./chunk-UEVKMZLR.mjs";
7
7
  import {
8
8
  buildPlayDashboardUrl,
9
9
  byokLines,
@@ -13,10 +13,10 @@ import {
13
13
  examples,
14
14
  schemaLines,
15
15
  topLevelField
16
- } from "./chunk-GGGAEVCX.mjs";
16
+ } from "./chunk-E7WZOX2A.mjs";
17
17
  import {
18
18
  DeeplineError
19
- } from "./chunk-JL2OTMSG.mjs";
19
+ } from "./chunk-Z3A2S3QM.mjs";
20
20
 
21
21
  // src/cli/tool-features.ts
22
22
  var VIEWS = {
@@ -205,7 +205,7 @@ async function describeName(name, options, lookups) {
205
205
  kind: shadowed.described.kind,
206
206
  describeCommand: `deepline describe ${DEEPLINE_NAMESPACE}${name}`
207
207
  } : null;
208
- const note = shadows ? `Showing your workspace play "${name}". It has the same name as a Deepline ${shadows.kind.replace("_", " ")}; see that one with: ${shadows.describeCommand}` : null;
208
+ const note = shadows ? `Showing your org play "${name}". It has the same name as a Deepline ${shadows.kind.replace("_", " ")}; see that one with: ${shadows.describeCommand}` : null;
209
209
  const verbose = options.verbose === true;
210
210
  const isPlay = described.kind === "prebuilt_play" || described.kind === "custom_play";
211
211
  const dashboardUrl = isPlay ? buildPlayDashboardUrl(lookups.baseUrl, described.id) : null;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-I4VKGNAQ.mjs";
3
+ } from "./chunk-A7DLBE5K.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -3,16 +3,16 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-3T65J5RG.mjs";
6
+ } from "./chunk-QI5S5HWB.mjs";
7
7
  import {
8
8
  errorToJsonPayload,
9
9
  printCommandEnvelope,
10
10
  resolveSdkCliFailureExitCode
11
- } from "./chunk-GGB3JYCW.mjs";
11
+ } from "./chunk-AGICYWGN.mjs";
12
12
  import {
13
13
  resolveConfig,
14
14
  sdkCliStateDirPath
15
- } from "./chunk-V6SCP4B7.mjs";
15
+ } from "./chunk-LFOERUQY.mjs";
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  import { Option } from "commander";
@@ -134,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  }
135
135
  const client = new DeeplineClient();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await import("./search-output-K2SWHVHQ.mjs");
137
+ const renderer = json ? void 0 : await import("./search-output-PDAXNOGP.mjs");
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();
@@ -206,7 +206,7 @@ Notes:
206
206
  Examples:
207
207
  deepline search "name and company domain -> work email"
208
208
  `
209
- ).option("--all", "Include plays your workspace created").option("--compact", "Accepted for compatibility; results are compact")
209
+ ).option("--all", "Include plays your org created").option("--compact", "Accepted for compatibility; results are compact")
210
210
  ).action(async (query, options) => {
211
211
  const types = typesFor(options);
212
212
  console.error(
@@ -1,14 +1,14 @@
1
- import {
2
- buildCallerPlayWorkflowId,
3
- callerPlayWorkflowIdMatchesRequest
4
- } from "./chunk-UBKA33KY.mjs";
5
1
  import {
6
2
  apiErrorCodeFromResponse,
7
3
  apiErrorMessage
8
4
  } from "./chunk-DLIRSHV6.mjs";
9
5
  import {
10
6
  DeeplineError
11
- } from "./chunk-JL2OTMSG.mjs";
7
+ } from "./chunk-Z3A2S3QM.mjs";
8
+ import {
9
+ buildCallerPlayWorkflowId,
10
+ callerPlayWorkflowIdMatchesRequest
11
+ } from "./chunk-2MGZAI54.mjs";
12
12
 
13
13
  // ../play-data-plane/column-names.ts
14
14
  var POSTGRES_IDENTIFIER_MAX_BYTES = 63;
@@ -243,7 +243,7 @@ async function preparePlayRunAdmission(http, request, onSubmission, options) {
243
243
  assertAdmissionActive();
244
244
  if (supportsCallerIntent && !callerIntentV2 && (!capability?.orgId || request.admissionOrgId && request.admissionOrgId !== capability.orgId)) {
245
245
  throw new DeeplineError(
246
- "The admission workspace could not be pinned to this request; execution was not submitted.",
246
+ "The admission org could not be pinned to this request; execution was not submitted.",
247
247
  409,
248
248
  "PLAY_RUN_ADMISSION_TENANT_CONFLICT"
249
249
  );
@@ -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.551",
52
+ version: "0.3.553",
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."
@@ -3,10 +3,10 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
6
+ var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
7
7
 
8
8
  // src/errors.ts
9
- var CustomerDbQueryOutcomeUnknownError = (_class = class extends _chunkBBTKAASQjs.DeeplineError {
9
+ var CustomerDbQueryOutcomeUnknownError = (_class = class extends _chunkLFQJW4S2js.DeeplineError {
10
10
  __init() {this.outcome = "unknown"}
11
11
 
12
12
 
@@ -28,14 +28,14 @@ var CustomerDbQueryOutcomeUnknownError = (_class = class extends _chunkBBTKAASQj
28
28
  Object.defineProperty(this, "cause", { value: cause, configurable: true });
29
29
  }
30
30
  }, _class);
31
- var AuthError = class extends _chunkBBTKAASQjs.DeeplineError {
31
+ var AuthError = class extends _chunkLFQJW4S2js.DeeplineError {
32
32
  /** Constructed by the SDK when Deepline rejects the caller's credentials. */
33
33
  constructor(message = "Authentication failed. Check your DEEPLINE_API_KEY.") {
34
34
  super(message, 401, "AUTH_ERROR");
35
35
  this.name = "AuthError";
36
36
  }
37
37
  };
38
- var RateLimitError = class extends _chunkBBTKAASQjs.DeeplineError {
38
+ var RateLimitError = class extends _chunkLFQJW4S2js.DeeplineError {
39
39
  /** Milliseconds to wait before retrying: the exact `retry-after-ms` delay when Deepline sends one, else the `Retry-After` header. Defaults to 5000. */
40
40
 
41
41
  /** Constructed by the SDK after exhausting HTTP-level rate-limit retries. */
@@ -89,13 +89,13 @@ var ToolRateLimitError = class extends RateLimitError {
89
89
  this.networkScope = options.networkScope;
90
90
  this.publicDetails = _nullishCoalesce(options.publicDetails, () => ( null));
91
91
  this.details = options.details;
92
- _chunkBBTKAASQjs.brandAsToolExecutionError.call(void 0, this);
93
- if (_chunkBBTKAASQjs.isProviderTransientFailure.call(void 0, this)) {
94
- _chunkBBTKAASQjs.brandAsProviderTransientError.call(void 0, this);
92
+ _chunkLFQJW4S2js.brandAsToolExecutionError.call(void 0, this);
93
+ if (_chunkLFQJW4S2js.isProviderTransientFailure.call(void 0, this)) {
94
+ _chunkLFQJW4S2js.brandAsProviderTransientError.call(void 0, this);
95
95
  }
96
96
  }
97
97
  };
98
- var ConfigError = class extends _chunkBBTKAASQjs.DeeplineError {
98
+ var ConfigError = class extends _chunkLFQJW4S2js.DeeplineError {
99
99
  /** Construct a local SDK configuration failure. */
100
100
  constructor(message) {
101
101
  super(message, void 0, "CONFIG_ERROR");
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-GGB3JYCW.mjs";
5
+ } from "./chunk-AGICYWGN.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -22,17 +22,17 @@ import {
22
22
  saveHostEnvValues,
23
23
  saveProjectDeeplineEnvValues,
24
24
  storedHostApiKey
25
- } from "./chunk-V6SCP4B7.mjs";
25
+ } from "./chunk-LFOERUQY.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-4D3WIZST.mjs";
32
+ } from "./chunk-OTV2UUKW.mjs";
33
33
  import {
34
34
  DeeplineError
35
- } from "./chunk-JL2OTMSG.mjs";
35
+ } from "./chunk-Z3A2S3QM.mjs";
36
36
 
37
37
  // src/cli/commands/auth.ts
38
38
  import {
@@ -545,7 +545,7 @@ async function handleRegister(args, options) {
545
545
  if (statusData.code === "REQUESTED_WORKSPACE_NOT_IN_ACCOUNT") {
546
546
  clearPendingClaim(baseUrl, authScope);
547
547
  console.error(
548
- "The requested workspace does not exist in this account. Connect to an existing workspace first; then use `deepline org create` if you need a new one."
548
+ "The requested org does not exist in this account. Connect to an existing org first; then use `deepline org create` if you need a new one."
549
549
  );
550
550
  return EXIT_WORKSPACE_MISMATCH;
551
551
  }
@@ -655,7 +655,7 @@ async function handleWait(args, options) {
655
655
  if (data.code === "REQUESTED_WORKSPACE_NOT_IN_ACCOUNT") {
656
656
  clearPendingClaim(baseUrl, authScope);
657
657
  console.error(
658
- "The requested workspace does not exist in this account. Connect to an existing workspace first; then use `deepline org create` if you need a new one."
658
+ "The requested org does not exist in this account. Connect to an existing org first; then use `deepline org create` if you need a new one."
659
659
  );
660
660
  return EXIT_WORKSPACE_MISMATCH;
661
661
  }
@@ -713,7 +713,7 @@ async function authStatusLine(timeoutMs = 3e3) {
713
713
  return `Auth: API key found, not verified (${baseUrl} returned ${status})`;
714
714
  }
715
715
  const workspace = typeof data.org_name === "string" && data.org_name.trim() ? data.org_name.trim() : "(unnamed)";
716
- return `Auth: connected to workspace ${workspace} (${baseUrl})`;
716
+ return `Auth: connected to org ${workspace} (${baseUrl})`;
717
717
  } catch {
718
718
  return `Auth: API key found, not verified (${baseUrl} unreachable)`;
719
719
  }
@@ -922,15 +922,15 @@ async function handleStatus(args) {
922
922
  ...hostLines,
923
923
  `Status: ${payload.status}`,
924
924
  `Rate limit tier: ${payload.rateLimitTier}`,
925
- ...payload.workspace.name ? [`Workspace: ${payload.workspace.name}`] : [],
926
- ...payload.workspace.slug ? [`Workspace slug: ${payload.workspace.slug}`] : [],
925
+ ...payload.workspace.name ? [`Org: ${payload.workspace.name}`] : [],
926
+ ...payload.workspace.slug ? [`Org slug: ${payload.workspace.slug}`] : [],
927
927
  ...payload.workspace.id != null ? [`Org ID: ${payload.workspace.id}`] : [],
928
928
  // Switching orgs lives under `deepline org`, but this is where
929
929
  // people look when they discover they are in the wrong
930
930
  // workspace. Without the pointer the reasonable next move is
931
931
  // `deepline auth register`, which re-approves the same account
932
932
  // and leaves the active org unchanged.
933
- "Switch workspace: deepline org list, then deepline org set <org-id>",
933
+ "Switch org: deepline org list, then deepline org set <org-id>",
934
934
  ...payload.user.id != null ? [`User ID: ${payload.user.id}`] : [],
935
935
  ...payload.examples.length > 0 ? [
936
936
  "Examples:",
@@ -957,14 +957,14 @@ Common commands:
957
957
  deepline auth status
958
958
 
959
959
  Notes:
960
- Auth status shows the target host and active workspace without printing secrets.
960
+ Auth status shows the target host and active org without printing secrets.
961
961
  Registering again re-approves the same account; it does not change the active
962
962
  workspace. To switch, use deepline org list and deepline org set <org-id>.
963
963
  `
964
964
  );
965
- auth.command("workspaces", { hidden: true }).description("Deprecated. Use deepline org list to see workspaces.").action(() => {
965
+ auth.command("workspaces", { hidden: true }).description("Deprecated. Use deepline org list to see orgs.").action(() => {
966
966
  console.error(
967
- "Workspaces live under `deepline org`.\n List: deepline org list\n Switch: deepline org set <org-id>\n`deepline auth register` re-approves this device; it does not change the active workspace."
967
+ "Orgs live under `deepline org`.\n List: deepline org list\n Switch: deepline org set <org-id>\n`deepline auth register` re-approves this device; it does not change the active org."
968
968
  );
969
969
  process.exitCode = 1;
970
970
  });
@@ -977,7 +977,7 @@ Notes:
977
977
  Prints an approval URL and a code. You can open the URL on another device.
978
978
  Confirm that the browser shows the same code before approving. In Cowork or
979
979
  with --no-wait, finish with deepline auth wait after approval.
980
- The saved API key is scoped to the selected workspace and host.
980
+ The saved API key is scoped to the selected org and host.
981
981
 
982
982
  Examples:
983
983
  deepline auth register
@@ -986,10 +986,10 @@ Examples:
986
986
  `
987
987
  ).option(
988
988
  "--org-name <name>",
989
- "Connect to an existing workspace, or name your first workspace"
989
+ "Connect to an existing org, or name your first org"
990
990
  ).option(
991
991
  "--org-id <id>",
992
- "Bind to this workspace directly, skipping the browser picker"
992
+ "Bind to this org directly, skipping the browser picker"
993
993
  ).option("--agent-name <name>", "Agent name to register").option("--wait <mode>", "Wait mode: auto, yes, or no", "auto").option("--no-wait", "Alias for --wait no").option(
994
994
  "--auth-scope <scope>",
995
995
  "Credential scope: global or folder",
@@ -1022,11 +1022,11 @@ Examples:
1022
1022
  ...options.authScope ? ["--auth-scope", String(options.authScope)] : []
1023
1023
  ]);
1024
1024
  });
1025
- auth.command("status").description("Show the current CLI auth and workspace status.").addHelpText(
1025
+ auth.command("status").description("Show the current CLI auth and org status.").addHelpText(
1026
1026
  "after",
1027
1027
  `
1028
1028
  Notes:
1029
- Shows the host, server health, connection state, active workspace, and user id.
1029
+ Shows the host, server health, connection state, active org, and user id.
1030
1030
  Use --reveal only when you intentionally want the server to return and persist
1031
1031
  the API key into this host's CLI auth file.
1032
1032
 
@@ -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 _chunkLPJPCGT3js = require('./chunk-LPJPCGT3.js');
3
+ var _chunkCACFJODGjs = require('./chunk-CACFJODG.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkUDXULACQjs = require('./chunk-UDXULACQ.js');
7
+ var _chunkMLABYI4Mjs = require('./chunk-MLABYI4M.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 = _chunkUDXULACQjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkLPJPCGT3js.PlayClient)(
142
- new (0, _chunkUDXULACQjs.HttpClient)(config),
140
+ const config = _chunkMLABYI4Mjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkCACFJODGjs.PlayClient)(
142
+ new (0, _chunkMLABYI4Mjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }