deepline 0.3.501 → 0.3.503

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 (210) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +26 -0
  2. package/dist/bundling-sources/sdk/src/index.ts +1 -0
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +9 -0
  5. package/dist/bundling-sources/shared_libs/monitors/starter-templates.ts +0 -8
  6. package/dist/bundling-sources/shared_libs/observability/dlq.ts +174 -0
  7. package/dist/bundling-sources/shared_libs/observability/queue-health.ts +9 -0
  8. package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
  9. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +20 -2
  10. package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +20 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +62 -2
  12. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +667 -62
  13. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +55 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/deployment/vercel-fly-rollback-alignment.ts +29 -14
  15. package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +20 -2
  16. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +46 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/execution-gateway-invocation-fence.ts +80 -4
  18. package/dist/bundling-sources/shared_libs/play-runtime/fixture-egress-fetch.ts +95 -0
  19. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +292 -45
  20. package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +15 -0
  21. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +3 -0
  22. package/dist/bundling-sources/shared_libs/play-runtime/play-http-request.ts +7 -3
  23. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +31 -1
  24. package/dist/bundling-sources/shared_libs/play-runtime/post-code-recovery-policy.ts +231 -0
  25. package/dist/bundling-sources/shared_libs/play-runtime/prebuilt-result-quality.ts +264 -0
  26. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +9 -0
  27. package/dist/bundling-sources/shared_libs/play-runtime/run-ending-event.ts +55 -0
  28. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +126 -0
  29. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +70 -1
  30. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +2 -9
  31. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +51 -19
  32. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +9 -4
  33. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +2 -0
  34. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runtime-sandbox-reconciliation.ts +2 -0
  35. package/dist/bundling-sources/shared_libs/play-runtime/runtime-actions.ts +12 -1
  36. package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +3 -0
  37. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-oidc.ts +30 -8
  38. package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +42 -0
  39. package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +7 -0
  40. package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-store-adapter.ts +26 -1
  41. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +13 -0
  42. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-deadline-reconciliation.ts +53 -0
  43. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +631 -19
  44. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-inventory.ts +719 -0
  45. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-sql.ts +206 -0
  46. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/latest-cache-result.ts +83 -0
  47. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1453 -160
  48. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +61 -0
  49. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +29 -8
  50. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-queue-health.ts +27 -2
  51. package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +45 -0
  52. package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +18 -0
  53. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +129 -14
  54. package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +2 -0
  55. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +10 -1
  56. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +2 -0
  57. package/dist/cli/{auth-6ECHXOI4.mjs → auth-IC4WLSE3.mjs} +5 -5
  58. package/dist/cli/auth-ZCMSXZO4.js +43 -0
  59. package/dist/cli/{billing-75NZYRXA.mjs → billing-2VOV64SD.mjs} +6 -6
  60. package/dist/cli/{billing-QRR7O6BD.js → billing-LWQOII22.js} +79 -79
  61. package/dist/cli/{chunk-N2TJJNCW.js → chunk-2626LTU3.js} +291 -273
  62. package/dist/cli/{chunk-VL72UKNW.js → chunk-26RSSTCF.js} +26 -26
  63. package/dist/cli/{chunk-HDKXSHGA.js → chunk-2K2QBLYO.js} +53 -53
  64. package/dist/cli/{chunk-463ZOO2L.js → chunk-33JUK73X.js} +7 -7
  65. package/dist/cli/{chunk-KTOAJP4N.js → chunk-3CXHK4TW.js} +10 -10
  66. package/dist/cli/{chunk-YPTZJ7LO.js → chunk-4IIYSBEP.js} +70 -13
  67. package/dist/cli/{chunk-VTDAJZIJ.mjs → chunk-5GI6NKOE.mjs} +20 -1
  68. package/dist/cli/{chunk-TFFJ2PRN.mjs → chunk-5M5WSFRZ.mjs} +70 -13
  69. package/dist/cli/{chunk-5S7MLAI7.mjs → chunk-6XTE6C3W.mjs} +41 -23
  70. package/dist/cli/{chunk-7L6QNHUL.mjs → chunk-7HEDCIR3.mjs} +1 -1
  71. package/dist/cli/{chunk-C5R3UH5V.mjs → chunk-7MJYZ33I.mjs} +2 -6
  72. package/dist/cli/{chunk-TOE7LHEA.js → chunk-A2C6ONWA.js} +6 -6
  73. package/dist/cli/{chunk-QQ3JJYE2.js → chunk-AARF4SOW.js} +17 -13
  74. package/dist/cli/{chunk-APAHMCGR.js → chunk-B3X4YWQ6.js} +53 -53
  75. package/dist/cli/{chunk-J74N375S.mjs → chunk-BI2Q45SY.mjs} +4 -4
  76. package/dist/cli/{chunk-GBICEYUA.js → chunk-BN5VKY4X.js} +141 -20
  77. package/dist/cli/{chunk-UR7JOSLT.js → chunk-C5RQTTLP.js} +26 -7
  78. package/dist/cli/{chunk-ZUOKIBLJ.mjs → chunk-D27HP3HS.mjs} +2 -2
  79. package/dist/cli/{chunk-UJRN6YP6.mjs → chunk-DPI5OYVU.mjs} +10 -6
  80. package/dist/cli/{chunk-MSLXAVVK.mjs → chunk-EDMV4JT5.mjs} +2 -2
  81. package/dist/cli/{chunk-ZUQHQGC5.mjs → chunk-EQ3WMKFY.mjs} +5 -5
  82. package/dist/cli/{chunk-5X4AUFYW.js → chunk-F73PD2XD.js} +7 -7
  83. package/dist/cli/{chunk-O3DDVP7Z.mjs → chunk-FHJ54BHH.mjs} +2 -2
  84. package/dist/cli/{chunk-SV2TEZ2M.js → chunk-FIUTDSJX.js} +5 -4
  85. package/dist/cli/{chunk-W6JTHVPF.js → chunk-FVDTERO2.js} +21 -21
  86. package/dist/cli/{chunk-CJJ7JBM2.js → chunk-FZHOWPSN.js} +23 -21
  87. package/dist/cli/{chunk-WJUDAHIQ.mjs → chunk-GIHNEYBG.mjs} +1 -1
  88. package/dist/cli/{chunk-V5NHEYU7.mjs → chunk-GLZBFBJS.mjs} +5 -5
  89. package/dist/cli/{chunk-VVEMPC2I.js → chunk-HRTDCXHI.js} +2 -2
  90. package/dist/cli/{chunk-BOFCF4L7.js → chunk-HS63YBT5.js} +3 -3
  91. package/dist/cli/{chunk-4OXHLTCP.js → chunk-IIP46RVC.js} +1 -1
  92. package/dist/cli/{chunk-SAW3FBCA.mjs → chunk-ITJ7NB2D.mjs} +6 -0
  93. package/dist/cli/{chunk-NA3J3F2Z.mjs → chunk-J6RBOLK7.mjs} +1 -1
  94. package/dist/cli/{chunk-PXIF74UJ.mjs → chunk-JJVN7OIX.mjs} +4 -4
  95. package/dist/cli/{chunk-T7E3XEPG.mjs → chunk-JPDD4Y53.mjs} +10 -8
  96. package/dist/cli/{chunk-OKOXB3LY.mjs → chunk-K7NFFQFU.mjs} +2 -2
  97. package/dist/cli/{chunk-66XDYH5T.mjs → chunk-KGLVATEB.mjs} +2 -2
  98. package/dist/cli/{chunk-EHVFBD36.mjs → chunk-KPBBT6OS.mjs} +2 -1
  99. package/dist/cli/{chunk-MADTHS56.mjs → chunk-L3TZV625.mjs} +1 -1
  100. package/dist/cli/{chunk-FS7XYDOF.js → chunk-MJQOG4TZ.js} +16 -16
  101. package/dist/cli/{chunk-JO5FFSR7.js → chunk-NTLBZUHD.js} +6 -0
  102. package/dist/cli/{chunk-EKZQ5LQO.js → chunk-PVA3MWCO.js} +3 -3
  103. package/dist/cli/{chunk-PNF2ZU4R.js → chunk-QIEYEY6Z.js} +8 -8
  104. package/dist/cli/{chunk-KSHAFYYG.mjs → chunk-R2VZVHJP.mjs} +127 -6
  105. package/dist/cli/{chunk-XEBFJ2PH.js → chunk-RVOBFO7C.js} +41 -41
  106. package/dist/cli/{chunk-RU5ROUFO.js → chunk-TCQYWZFS.js} +5 -5
  107. package/dist/cli/{chunk-I42EOZKQ.js → chunk-TMQUMILM.js} +19 -23
  108. package/dist/cli/{chunk-EOO7OSS4.mjs → chunk-URZNSJE2.mjs} +4 -4
  109. package/dist/cli/{chunk-Z6AUOV7D.mjs → chunk-VC5B462T.mjs} +2 -2
  110. package/dist/cli/{chunk-EKF4DKUA.js → chunk-WHP3FJ7T.js} +5 -5
  111. package/dist/cli/{chunk-VD2374K7.mjs → chunk-WS274KID.mjs} +1 -1
  112. package/dist/cli/{chunk-T4U245E4.mjs → chunk-XYZZZLN6.mjs} +2 -2
  113. package/dist/cli/{chunk-J6SVNKRP.js → chunk-YXGPMTAK.js} +2 -2
  114. package/dist/cli/{chunk-RFV7PPLS.mjs → chunk-ZEQPCEV4.mjs} +3 -3
  115. package/dist/cli/command-docs.js +2 -2
  116. package/dist/cli/command-docs.mjs +1 -1
  117. package/dist/cli/{csv-RZJ4SOIL.mjs → csv-2TXOI3UE.mjs} +4 -4
  118. package/dist/cli/{csv-JXX2LXK5.js → csv-NEWCNOSZ.js} +13 -13
  119. package/dist/cli/{db-T2KJNONM.js → db-J3IJS4OG.js} +27 -27
  120. package/dist/cli/{db-MUTT2NWI.mjs → db-PX7EQEIG.mjs} +6 -6
  121. package/dist/cli/{describe-K3UMAAVO.mjs → describe-GQHGTZSL.mjs} +20 -21
  122. package/dist/cli/describe-LE7EZCL4.js +49 -0
  123. package/dist/cli/describe-core.d.mts +8 -4
  124. package/dist/cli/describe-core.d.ts +8 -4
  125. package/dist/cli/describe-core.js +4 -5
  126. package/dist/cli/describe-core.mjs +3 -4
  127. package/dist/cli/{executions-PHS4R2OX.mjs → executions-FFKK24RY.mjs} +6 -6
  128. package/dist/cli/{executions-7HSLDRHR.js → executions-RO3TJUXL.js} +8 -8
  129. package/dist/cli/{feedback-BJZRM637.js → feedback-XRR4HIS6.js} +8 -8
  130. package/dist/cli/{feedback-RWMDCIDF.mjs → feedback-ZTO56SRL.mjs} +4 -4
  131. package/dist/cli/git-26AH4XIO.js +25 -0
  132. package/dist/cli/{git-YW6VHYZG.mjs → git-FIPBVFYZ.mjs} +5 -5
  133. package/dist/cli/index.js +142 -142
  134. package/dist/cli/index.mjs +42 -42
  135. package/dist/cli/{legacy-noops-5UBSUPGG.mjs → legacy-noops-AMD2NWHF.mjs} +5 -5
  136. package/dist/cli/{legacy-noops-2WUV2XD7.js → legacy-noops-MTBBGM27.js} +8 -8
  137. package/dist/cli/{monitors-HWOQO3OK.mjs → monitors-24LDKDJX.mjs} +7 -7
  138. package/dist/cli/{monitors-YZZRKSTG.js → monitors-42PIGLBF.js} +95 -95
  139. package/dist/cli/{org-NCXT6RB4.mjs → org-4B7SCFRL.mjs} +6 -6
  140. package/dist/cli/{org-JY7HLHBA.js → org-GQMCA3MN.js} +72 -72
  141. package/dist/cli/{pages-QJO53QAT.mjs → pages-PD5EGL2R.mjs} +6 -6
  142. package/dist/cli/{pages-6ZOHXL6X.js → pages-RL2M62GJ.js} +18 -18
  143. package/dist/cli/{play-SQRS7JN3.mjs → play-5V54VTUR.mjs} +132 -26
  144. package/dist/cli/{play-TAYGSR35.js → play-FST6ZAHW.js} +447 -341
  145. package/dist/cli/{providers-4Q5LOIQ5.js → providers-HBUUPN7J.js} +9 -9
  146. package/dist/cli/{providers-3IR3N5DT.mjs → providers-N5YVCKPL.mjs} +6 -6
  147. package/dist/cli/{quickstart-ITNUZENY.js → quickstart-4QIQNSHG.js} +6 -6
  148. package/dist/cli/{quickstart-KCZCYO6B.mjs → quickstart-NJDDVTQR.mjs} +4 -4
  149. package/dist/cli/{run-YQ57LMKN.js → run-FGOKCG4J.js} +44 -45
  150. package/dist/cli/{run-JCWRWDSK.mjs → run-JHI5MTHD.mjs} +25 -26
  151. package/dist/cli/search-CTKSEVSO.js +32 -0
  152. package/dist/cli/{search-FUM27HQP.mjs → search-EWIZBIY2.mjs} +7 -7
  153. package/dist/cli/{search-output-EWEYT34M.mjs → search-output-NAK3MWBH.mjs} +53 -75
  154. package/dist/cli/{search-output-XAMWKRJH.js → search-output-TMQTRC2W.js} +58 -80
  155. package/dist/cli/{secrets-2IRRRZBL.js → secrets-5TSUEOJB.js} +15 -15
  156. package/dist/cli/{secrets-YTI4IAKR.mjs → secrets-ONQVW5SR.mjs} +6 -6
  157. package/dist/cli/{sessions-EFS4KUPF.mjs → sessions-B7F5O3ZR.mjs} +5 -5
  158. package/dist/cli/{sessions-HWTRDXBQ.js → sessions-BSGE5EET.js} +6 -6
  159. package/dist/cli/{settings-FRVEIOKR.js → settings-47LARBRU.js} +78 -78
  160. package/dist/cli/{settings-NTOO42DY.mjs → settings-SGGFQV5R.mjs} +11 -11
  161. package/dist/cli/{setup-PAVQPALX.mjs → setup-ATGNXQUK.mjs} +9 -9
  162. package/dist/cli/{setup-6ZIOAE2V.js → setup-BNFZFXO6.js} +49 -49
  163. package/dist/cli/skills-6RD25MVM.js +36 -0
  164. package/dist/cli/{skills-3O3XTPUM.mjs → skills-CIMBRM5R.mjs} +7 -7
  165. package/dist/cli/{tools-7QSB65UL.mjs → tools-DTDXAULX.mjs} +18 -19
  166. package/dist/cli/tools-TDZH4XHS.js +56 -0
  167. package/dist/cli/{update-T6CYS5ZT.mjs → update-EOIJBJCO.mjs} +9 -9
  168. package/dist/cli/update-Y32VT4VL.js +34 -0
  169. package/dist/cli/{workflow-OMSXZ73T.mjs → workflow-IWXUJPWY.mjs} +7 -7
  170. package/dist/cli/{workflow-4KMJBMGX.js → workflow-V5VKPICQ.js} +17 -17
  171. package/dist/{client-Bn8FwKGO.d.ts → client-CIwenMFS.d.ts} +1 -1
  172. package/dist/{client-CfNRmjLK.d.mts → client-DYAfJpaN.d.mts} +1 -1
  173. package/dist/{client-core-B91EV0WS.d.ts → client-core-CRjtyMAI.d.ts} +25 -2
  174. package/dist/{client-core-BG8Cgrmk.d.mts → client-core-DlzP8vEs.d.mts} +25 -2
  175. package/dist/{compiler-manifest-DlXDyndN.d.ts → compiler-manifest-DaJrA2KV.d.mts} +1 -1
  176. package/dist/{compiler-manifest-DlXDyndN.d.mts → compiler-manifest-DaJrA2KV.d.ts} +1 -1
  177. package/dist/{errors-BtriA2ld.d.mts → errors-BKnSYueU.d.mts} +1 -1
  178. package/dist/{errors-DmcLykM7.d.ts → errors-KLga4bLr.d.ts} +1 -1
  179. package/dist/{index-DI0sR_fX.d.mts → index-C-8AFpWy.d.mts} +1 -1
  180. package/dist/{index--Jw-slHY.d.ts → index-C5nAZ-VS.d.ts} +1 -1
  181. package/dist/index.d.mts +7 -7
  182. package/dist/index.d.ts +7 -7
  183. package/dist/index.js +9 -9
  184. package/dist/index.mjs +6 -6
  185. package/dist/install-integrity.json +124 -118
  186. package/dist/plays/bundle-play-file.d.mts +3 -3
  187. package/dist/plays/bundle-play-file.d.ts +3 -3
  188. package/dist/plays/bundle-play-file.mjs +8 -1
  189. package/dist/plays/play-description.d.mts +2 -2
  190. package/dist/plays/play-description.d.ts +2 -2
  191. package/dist/plays/run-request.d.mts +2 -2
  192. package/dist/plays/run-request.d.ts +2 -2
  193. package/dist/release.d.mts +1 -1
  194. package/dist/release.d.ts +1 -1
  195. package/dist/release.js +2 -2
  196. package/dist/release.mjs +1 -1
  197. package/dist/server.d.mts +4 -4
  198. package/dist/server.d.ts +4 -4
  199. package/dist/server.js +5 -5
  200. package/dist/server.mjs +3 -3
  201. package/package.json +1 -1
  202. package/dist/cli/auth-VP7PMXKQ.js +0 -43
  203. package/dist/cli/chunk-XK5DMLZE.js +0 -111
  204. package/dist/cli/chunk-XRDXNAAY.mjs +0 -111
  205. package/dist/cli/describe-SEXUJLE4.js +0 -50
  206. package/dist/cli/git-VNS7UQWN.js +0 -25
  207. package/dist/cli/search-I425FRTK.js +0 -32
  208. package/dist/cli/skills-6ZNMO2PR.js +0 -36
  209. package/dist/cli/tools-DPV2JES6.js +0 -57
  210. package/dist/cli/update-Q5GUDEAW.js +0 -34
package/dist/server.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-B91EV0WS.js';
3
- export { A as AsyncChildRunLaunchProjection, b as AsyncChildRunProjection, c as AsyncChildRunStatusCounts, B as BillingActivePlan, d as BillingCreditPool, e as BillingInvoiceEntry, f as BillingInvoicesResult, g as BillingMeterEntry, h as BillingMetricEntry, i as BillingNamespace, j as BillingPaymentMethodSummary, k as BillingPlanEntry, l as BillingPlansResult, m as BillingQuoteRequest, n as BillingQuoteResult, o as BillingRecentUsageEntry, p as BillingSubscriptionCancelResult, q as BillingSubscriptionStatus, r as BillingTopUpReceipt, s as BillingTopUpResult, t as BillingUsageEvent, u as BillingUsageEventListEntry, v as BillingUsageEventsOptions, w as BillingUsageEventsResult, x as BillingUsageOptions, y as BillingUsageResult, C as ChildRunSummary, z as ClearPlayHistoryRequest, E as ClearPlayHistoryResult, F as CreateNotificationGroupInput, G as CreateNotificationGroupResult, H as CreateNotificationInput, I as CustomerDbColumn, J as CustomerDbQueryResult, K as DbNamespace, L as DeeplineAgentModelDescription, M as DeeplineToolCategory, N as DeletePlayResult, O as EffectiveProductNotificationConfiguration, P as ExecutionByKeyResult, Q as ExecutionRecovery, R as HostedPage, S as HostedPageLink, T as HostedPageList, U as HostedPageWriteResult, V as InferenceDynamicPricingCapability, W as InferenceQuote, X as InferenceQuoteAssumptions, Y as IngestionStorageRepairResult, Z as LegacyMonitorStatusFilter, _ as LiveEventEnvelope, $ as LiveEventScope, a0 as MONITOR_JOB_PHASES, a1 as MONITOR_JOB_RECONCILIATION_STATES, a2 as MONITOR_JOB_STATES, a3 as ModelProviderOptionField, a4 as ModelProviderOptionNamespace, a5 as MonitorBatchDeploySubmitOptions, a6 as MonitorBatchExistingSubmitOptions, a7 as MonitorBatchNamespace, a8 as MonitorBatchOperationResult, a9 as MonitorBatchScope, aa as MonitorBatchSubmitOptions, ab as MonitorCheckResult, ac as MonitorDeleteResult, ad as MonitorDependents, ae as MonitorDeployResult, af as MonitorDetail, ag as MonitorFleetDeactivateOptions, ah as MonitorFleetGetOptions, ai as MonitorFleetReactivateOptions, aj as MonitorFleetResult, ak as MonitorFleetStatus, al as MonitorFleetSyncOptions, am as MonitorFleetWaitOptions, an as MonitorFleetsNamespace, ao as MonitorJobDeployOptions, ap as MonitorJobLogsOptions, aq as MonitorJobPhase, ar as MonitorJobProjection, as as MonitorJobReconciliationState, at as MonitorJobResult, au as MonitorJobState, av as MonitorJobWaitOptions, aw as MonitorJobsNamespace, ax as MonitorLifecycleOptions, ay as MonitorListEntry, az as MonitorNamedBatchOptions, aA as MonitorNamedBatchProjection, aB as MonitorNamedBatchesNamespace, aC as MonitorPreviewOptions, aD as MonitorPreviewResult, aE as MonitorReactivateResult, aF as MonitorSpec, aG as MonitorState, aH as MonitorStateFilter, aI as MonitorTestOptions, aJ as MonitorTestResult, aK as MonitorUpdateChangeSummary, aL as MonitorUpdateResult, aM as MonitorValidateResult, aN as MonitorsAccessStatus, aO as MonitorsAuditResult, aP as MonitorsAvailableOptions, aQ as MonitorsAvailableResult, aR as MonitorsHealth, aS as MonitorsLedgerOptions, aT as MonitorsLedgerResult, aU as MonitorsListOptions, aV as MonitorsListResult, aW as MonitorsNamespace, aX as MonitorsRepairResult, aY as PlayActivityObservation, aZ as PlayActivityState, a_ as PlayActivityTarget, a$ as PlayCheckExportResult, b0 as PlayCheckFeatureFlag, b1 as PlayCheckIssue, b2 as PlayCheckIssueSeverity, b3 as PlayCheckRecognizedSummary, b4 as PlayCheckResult, b5 as PlayCheckSqlListenerEventSummary, b6 as PlayCheckSqlListenerTrigger, b7 as PlayCheckToolGetterHint, b8 as PlayCheckTriggersSummary, b9 as PlayCostEstimate, ba as PlayCostEstimateResult, bb as PlayDefinitionDetail, bc as PlayDescription, bd as PlayDetail, be as PlayListItem, bf as PlayLiveEvent, bg as PlayProgressStatus, bh as PlayRevisionSummary, bi as PlayRunActionPackage, bj as PlayRunActivityProjection, bk as PlayRunDatasetActions, bl as PlayRunListItem, bm as PlayRunOutcome, bn as PlayRunPackage, bo as PlayRunRateLimited, bp as PlayRunResult, bq as PlayRunRowHistoryOptions, br as PlayRunStart, bs as PlayRuntimeLimit, bt as PlayScheduledCapacity, bu as PlaySecretCheck, bv as PlaySecretMetadata, bw as PlaySheetColumnStats, bx as PlaySheetRow, by as PlaySheetRowsResult, bz as PlaySheetStats, bA as PlaySheetSummary, bB as PlayStatus, bC as PlayTriggerStatus, bD as PlaysActivityResponse, bE as PlaysListOptions, bF as PlaysListPage, bG as PrebuiltPlayObservedCost, bH as ProductNotification, bI as ProductNotificationConfigurationChange, bJ as ProductNotificationConfigurationResponse, bK as ProductNotificationDefaultPolicy, bL as ProductNotificationEventDefinition, bM as ProductNotificationSettings, bN as ProductNotificationTypeCatalogItem, bO as ProviderDefinition, bP as PublishPlayVersionRequest, bQ as PublishPlayVersionResult, bR as PublishSharePageRequest, bS as RerunOptions, bT as RerunPlayRunResult, bU as ResolvedConfig, bV as RestorePlayResult, bW as RunBillingResult, bX as RunBillingSummary, bY as RunChildrenPage, bZ as RunGetStatus, b_ as RunLifecycleStatus, b$ as RunsChildrenOptions, c0 as RunsEventPayload, c1 as RunsEventSearchEntry, c2 as RunsEventSearchOptions, c3 as RunsEventSearchResult, c4 as RunsEventsCountResult, c5 as RunsEventsCriteria, c6 as RunsEventsFieldsOptions, c7 as RunsEventsListOptions, c8 as RunsEventsListResult, c9 as RunsEventsNamespace, ca as RunsEventsSummaryOptions, cb as RunsEventsSummaryResult, cc as RunsGetOptions, cd as RunsHistoryItem, ce as RunsHistoryOptions, cf as RunsHistoryPage, cg as RunsListOptions, ch as RunsListPage, ci as RunsLogCriteria, cj as RunsLogsCountResult, ck as RunsLogsNamespace, cl as RunsLogsOptions, cm as RunsLogsQueryOptions, cn as RunsLogsQueryResult, co as RunsLogsResult, cp as RunsLogsSummaryOptions, cq as RunsLogsSummaryResult, cr as RunsNamespace, cs as RunsTailOptions, ct as RunsWatchOptions, cu as SearchOptions, cv as SearchResult, cw as SearchResultItem, cx as SearchType, cy as SharePageOwnerView, cz as SharePageRevisionOption, cA as SharePageStatus, cB as SlackNotificationTarget, cC as StartPlayRunRequest, cD as StopAllCandidate, cE as StopAllPlayRunsDryRunResult, cF as StopAllPlayRunsResult, cG as StopAllPlayRunsStopResult, cH as StopAllRunsOptions, cI as StopPlayRunResult, cJ as TargetAutoRechargeResult, cK as TargetAutoRechargeUpdateOptions, cL as TargetBillingMutationResult, cM as TargetBillingOperation, cN as TargetBillingPlan, cO as TargetBillingPlanTransitionOptions, cP as TargetBillingPlansResult, cQ as TargetBillingStatusResult, cR as ToolBatchCapability, cS as ToolCategoryListing, cT as ToolCategorySummary, cU as ToolDefinition, cV as ToolExecution, cW as ToolExecutionMetadata, cX as ToolExecutionMetadataFields, cY as ToolMetadata, cZ as ToolPricingSummary, c_ as ToolRequestCondition, c$ as ToolRequestWarningRule, d0 as ToolSearchOptions, d1 as ToolSearchResult, d2 as UpdateNotificationInput, d3 as UpdateSharePageRequest, d4 as WorkspaceCreateResult, d5 as WorkspacesNamespace, d6 as isStopAllPlayRunsDryRunResult } from './client-core-B91EV0WS.js';
4
- export { A as AuthError, C as ConfigError, a as CustomerDbQueryOutcomeUnknownError, R as RateLimitError, T as ToolRateLimitError } from './errors-DmcLykM7.js';
5
- export { B as BillingEntitlements, D as DeeplineError, I as IncludedCompute, P as ProviderTransientError, a as ProviderTransientErrorCategory, b as ProviderUnavailableError, c as ProviderUnavailableReason, T as ToolExecutionError, d as ToolExecutionErrorCategory, e as ToolExecutionErrorOptions, f as ToolExecutionErrorOrigin, g as ToolExecutionFailureV1, h as ToolExecutionNetworkKind, i as ToolExecutionNetworkScope, j as ToolExecutionPublicDetails, k as getProviderUnavailableReason, l as isProviderUnavailable, m as isProviderWaterfallUnavailableError } from './compiler-manifest-DlXDyndN.js';
2
+ import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-CRjtyMAI.js';
3
+ export { A as AsyncChildRunLaunchProjection, b as AsyncChildRunProjection, c as AsyncChildRunStatusCounts, B as BillingActivePlan, d as BillingCreditPool, e as BillingInvoiceEntry, f as BillingInvoicesResult, g as BillingMeterEntry, h as BillingMetricEntry, i as BillingNamespace, j as BillingPaymentMethodSummary, k as BillingPlanEntry, l as BillingPlansResult, m as BillingQuoteRequest, n as BillingQuoteResult, o as BillingRecentUsageEntry, p as BillingSubscriptionCancelResult, q as BillingSubscriptionStatus, r as BillingTopUpReceipt, s as BillingTopUpResult, t as BillingUsageEvent, u as BillingUsageEventListEntry, v as BillingUsageEventsOptions, w as BillingUsageEventsResult, x as BillingUsageOptions, y as BillingUsageResult, C as ChildRunSummary, z as ClearPlayHistoryRequest, E as ClearPlayHistoryResult, F as CreateNotificationGroupInput, G as CreateNotificationGroupResult, H as CreateNotificationInput, I as CustomerDbColumn, J as CustomerDbQueryResult, K as DbNamespace, L as DeeplineAgentModelDescription, M as DeeplineToolCategory, N as DeletePlayResult, O as EffectiveProductNotificationConfiguration, P as ExecutionByKeyResult, Q as ExecutionRecovery, R as HostedPage, S as HostedPageLink, T as HostedPageList, U as HostedPageWriteResult, V as InferenceDynamicPricingCapability, W as InferenceQuote, X as InferenceQuoteAssumptions, Y as IngestionStorageRepairResult, Z as LegacyMonitorStatusFilter, _ as LiveEventEnvelope, $ as LiveEventScope, a0 as MONITOR_JOB_PHASES, a1 as MONITOR_JOB_RECONCILIATION_STATES, a2 as MONITOR_JOB_STATES, a3 as ModelProviderOptionField, a4 as ModelProviderOptionNamespace, a5 as MonitorBatchDeploySubmitOptions, a6 as MonitorBatchExistingSubmitOptions, a7 as MonitorBatchNamespace, a8 as MonitorBatchOperationResult, a9 as MonitorBatchScope, aa as MonitorBatchSubmitOptions, ab as MonitorCheckResult, ac as MonitorDeleteResult, ad as MonitorDependents, ae as MonitorDeployResult, af as MonitorDetail, ag as MonitorFleetDeactivateOptions, ah as MonitorFleetGetOptions, ai as MonitorFleetReactivateOptions, aj as MonitorFleetResult, ak as MonitorFleetStatus, al as MonitorFleetSyncOptions, am as MonitorFleetWaitOptions, an as MonitorFleetsNamespace, ao as MonitorJobDeployOptions, ap as MonitorJobLogsOptions, aq as MonitorJobPhase, ar as MonitorJobProjection, as as MonitorJobReconciliationState, at as MonitorJobResult, au as MonitorJobState, av as MonitorJobWaitOptions, aw as MonitorJobsNamespace, ax as MonitorLifecycleOptions, ay as MonitorListEntry, az as MonitorNamedBatchOptions, aA as MonitorNamedBatchProjection, aB as MonitorNamedBatchesNamespace, aC as MonitorPreviewOptions, aD as MonitorPreviewResult, aE as MonitorReactivateResult, aF as MonitorSpec, aG as MonitorState, aH as MonitorStateFilter, aI as MonitorTestOptions, aJ as MonitorTestResult, aK as MonitorUpdateChangeSummary, aL as MonitorUpdateResult, aM as MonitorValidateResult, aN as MonitorsAccessStatus, aO as MonitorsAuditResult, aP as MonitorsAvailableOptions, aQ as MonitorsAvailableResult, aR as MonitorsHealth, aS as MonitorsLedgerOptions, aT as MonitorsLedgerResult, aU as MonitorsListOptions, aV as MonitorsListResult, aW as MonitorsNamespace, aX as MonitorsRepairResult, aY as PlayActivityObservation, aZ as PlayActivityState, a_ as PlayActivityTarget, a$ as PlayCheckExportResult, b0 as PlayCheckFeatureFlag, b1 as PlayCheckIssue, b2 as PlayCheckIssueSeverity, b3 as PlayCheckRecognizedSummary, b4 as PlayCheckResult, b5 as PlayCheckSqlListenerEventSummary, b6 as PlayCheckSqlListenerTrigger, b7 as PlayCheckToolGetterHint, b8 as PlayCheckTriggersSummary, b9 as PlayCostEstimate, ba as PlayCostEstimateResult, bb as PlayDefinitionDetail, bc as PlayDescription, bd as PlayDetail, be as PlayListItem, bf as PlayLiveEvent, bg as PlayProgressStatus, bh as PlayRevisionSummary, bi as PlayRunActionPackage, bj as PlayRunActivityProjection, bk as PlayRunDatasetActions, bl as PlayRunListItem, bm as PlayRunOutcome, bn as PlayRunPackage, bo as PlayRunRateLimited, bp as PlayRunResult, bq as PlayRunRowHistoryOptions, br as PlayRunStart, bs as PlayRuntimeLimit, bt as PlayScheduledCapacity, bu as PlaySecretCheck, bv as PlaySecretMetadata, bw as PlaySheetColumnStats, bx as PlaySheetRow, by as PlaySheetRowsResult, bz as PlaySheetStats, bA as PlaySheetSummary, bB as PlayStatus, bC as PlayTriggerStatus, bD as PlaysActivityResponse, bE as PlaysListOptions, bF as PlaysListPage, bG as PrebuiltPlayObservedCost, bH as ProductNotification, bI as ProductNotificationConfigurationChange, bJ as ProductNotificationConfigurationResponse, bK as ProductNotificationDefaultPolicy, bL as ProductNotificationEventDefinition, bM as ProductNotificationSettings, bN as ProductNotificationTypeCatalogItem, bO as ProviderDefinition, bP as PublishPlayVersionRequest, bQ as PublishPlayVersionResult, bR as PublishSharePageRequest, bS as RerunOptions, bT as RerunPlayRunResult, bU as ResolvedConfig, bV as RestorePlayResult, bW as ResumePlayRunResult, bX as RunBillingResult, bY as RunBillingSummary, bZ as RunChildrenPage, b_ as RunGetStatus, b$ as RunLifecycleStatus, c0 as RunsChildrenOptions, c1 as RunsEventPayload, c2 as RunsEventSearchEntry, c3 as RunsEventSearchOptions, c4 as RunsEventSearchResult, c5 as RunsEventsCountResult, c6 as RunsEventsCriteria, c7 as RunsEventsFieldsOptions, c8 as RunsEventsListOptions, c9 as RunsEventsListResult, ca as RunsEventsNamespace, cb as RunsEventsSummaryOptions, cc as RunsEventsSummaryResult, cd as RunsGetOptions, ce as RunsHistoryItem, cf as RunsHistoryOptions, cg as RunsHistoryPage, ch as RunsListOptions, ci as RunsListPage, cj as RunsLogCriteria, ck as RunsLogsCountResult, cl as RunsLogsNamespace, cm as RunsLogsOptions, cn as RunsLogsQueryOptions, co as RunsLogsQueryResult, cp as RunsLogsResult, cq as RunsLogsSummaryOptions, cr as RunsLogsSummaryResult, cs as RunsNamespace, ct as RunsTailOptions, cu as RunsWatchOptions, cv as SearchOptions, cw as SearchResult, cx as SearchResultItem, cy as SearchType, cz as SharePageOwnerView, cA as SharePageRevisionOption, cB as SharePageStatus, cC as SlackNotificationTarget, cD as StartPlayRunRequest, cE as StopAllCandidate, cF as StopAllPlayRunsDryRunResult, cG as StopAllPlayRunsResult, cH as StopAllPlayRunsStopResult, cI as StopAllRunsOptions, cJ as StopPlayRunResult, cK as TargetAutoRechargeResult, cL as TargetAutoRechargeUpdateOptions, cM as TargetBillingMutationResult, cN as TargetBillingOperation, cO as TargetBillingPlan, cP as TargetBillingPlanTransitionOptions, cQ as TargetBillingPlansResult, cR as TargetBillingStatusResult, cS as ToolBatchCapability, cT as ToolCategoryListing, cU as ToolCategorySummary, cV as ToolDefinition, cW as ToolExecution, cX as ToolExecutionMetadata, cY as ToolExecutionMetadataFields, cZ as ToolMetadata, c_ as ToolPricingSummary, c$ as ToolRequestCondition, d0 as ToolRequestWarningRule, d1 as ToolSearchOptions, d2 as ToolSearchResult, d3 as UpdateNotificationInput, d4 as UpdateSharePageRequest, d5 as WorkspaceCreateResult, d6 as WorkspacesNamespace, d7 as isStopAllPlayRunsDryRunResult } from './client-core-CRjtyMAI.js';
4
+ export { A as AuthError, C as ConfigError, a as CustomerDbQueryOutcomeUnknownError, R as RateLimitError, T as ToolRateLimitError } from './errors-KLga4bLr.js';
5
+ export { B as BillingEntitlements, D as DeeplineError, I as IncludedCompute, P as ProviderTransientError, a as ProviderTransientErrorCategory, b as ProviderUnavailableError, c as ProviderUnavailableReason, T as ToolExecutionError, d as ToolExecutionErrorCategory, e as ToolExecutionErrorOptions, f as ToolExecutionErrorOrigin, g as ToolExecutionFailureV1, h as ToolExecutionNetworkKind, i as ToolExecutionNetworkScope, j as ToolExecutionPublicDetails, k as getProviderUnavailableReason, l as isProviderUnavailable, m as isProviderWaterfallUnavailableError } from './compiler-manifest-DaJrA2KV.js';
6
6
  import 'zod';
7
7
  import './monitor-fleet-contract.js';
8
8
  import '@sinclair/typebox';
package/dist/server.js CHANGED
@@ -1,13 +1,13 @@
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 _chunkUR7JOSLTjs = require('./cli/chunk-UR7JOSLT.js');
3
+ var _chunkC5RQTTLPjs = require('./cli/chunk-C5RQTTLP.js');
4
4
  require('./cli/chunk-E4CABWXL.js');
5
5
  require('./cli/chunk-RNSHCJME.js');
6
6
  require('./cli/chunk-NMU3VR5U.js');
7
7
  require('./cli/chunk-WSGXBROE.js');
8
8
 
9
9
 
10
- var _chunkSV2TEZ2Mjs = require('./cli/chunk-SV2TEZ2M.js');
10
+ var _chunkFIUTDSJXjs = require('./cli/chunk-FIUTDSJX.js');
11
11
 
12
12
 
13
13
 
@@ -24,12 +24,12 @@ require('./cli/chunk-XNYIZMNQ.js');
24
24
 
25
25
 
26
26
  var _chunkDIAWYWT5js = require('./cli/chunk-DIAWYWT5.js');
27
- require('./cli/chunk-4OXHLTCP.js');
27
+ require('./cli/chunk-IIP46RVC.js');
28
28
  require('./cli/chunk-OG64RBAC.js');
29
29
  require('./cli/chunk-COGTRVWW.js');
30
30
 
31
31
  // src/server.ts
32
- var DeeplineClient2 = class extends _chunkUR7JOSLTjs.DeeplineClient {
32
+ var DeeplineClient2 = class extends _chunkC5RQTTLPjs.DeeplineClient {
33
33
  constructor(options) {
34
34
  const apiKey = _optionalChain([options, 'access', _ => _.apiKey, 'optionalAccess', _2 => _2.trim, 'call', _3 => _3()]);
35
35
  if (!apiKey)
@@ -57,7 +57,7 @@ var DeeplineClient2 = class extends _chunkUR7JOSLTjs.DeeplineClient {
57
57
  maxRetries: _nullishCoalesce(options.maxRetries, () => ( 3)),
58
58
  ...options.headers ? { headers: { ...options.headers } } : {}
59
59
  };
60
- super(config, new (0, _chunkSV2TEZ2Mjs.HttpClient)(config), options.timeout);
60
+ super(config, new (0, _chunkFIUTDSJXjs.HttpClient)(config), options.timeout);
61
61
  }
62
62
  };
63
63
 
package/dist/server.mjs CHANGED
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./cli/chunk-VTDAJZIJ.mjs";
3
+ } from "./cli/chunk-5GI6NKOE.mjs";
4
4
  import "./cli/chunk-L2VKAASU.mjs";
5
5
  import "./cli/chunk-N4TR6QRI.mjs";
6
6
  import "./cli/chunk-S3A4IXBQ.mjs";
7
7
  import "./cli/chunk-BMCRTI6Z.mjs";
8
8
  import {
9
9
  HttpClient
10
- } from "./cli/chunk-EHVFBD36.mjs";
10
+ } from "./cli/chunk-KPBBT6OS.mjs";
11
11
  import {
12
12
  AuthError,
13
13
  ConfigError,
@@ -24,7 +24,7 @@ import {
24
24
  isProviderUnavailable,
25
25
  isProviderWaterfallUnavailableError
26
26
  } from "./cli/chunk-HBL4PM5Q.mjs";
27
- import "./cli/chunk-7L6QNHUL.mjs";
27
+ import "./cli/chunk-7HEDCIR3.mjs";
28
28
  import "./cli/chunk-WZYKRD7T.mjs";
29
29
  import "./cli/chunk-KRD6H754.mjs";
30
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepline",
3
- "version": "0.3.501",
3
+ "version": "0.3.503",
4
4
  "description": "GTM data CLI and TypeScript SDK for coding agents",
5
5
  "license": "MIT",
6
6
  "homepage": "https://code.deepline.com",
@@ -1,43 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
- var _chunkHDKXSHGAjs = require('./chunk-HDKXSHGA.js');
18
- require('./chunk-5X4AUFYW.js');
19
- require('./chunk-BOFCF4L7.js');
20
- require('./chunk-SV2TEZ2M.js');
21
- require('./chunk-ALJJRZNJ.js');
22
- require('./chunk-XNYIZMNQ.js');
23
- require('./chunk-DIAWYWT5.js');
24
- require('./chunk-4OXHLTCP.js');
25
- require('./chunk-OG64RBAC.js');
26
- require('./chunk-COGTRVWW.js');
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
- exports.EXIT_WORKSPACE_MISMATCH = _chunkHDKXSHGAjs.EXIT_WORKSPACE_MISMATCH; exports.authStatusLine = _chunkHDKXSHGAjs.authStatusLine; exports.clearPendingClaim = _chunkHDKXSHGAjs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunkHDKXSHGAjs.clearSatisfiedPendingClaim; exports.handleRegister = _chunkHDKXSHGAjs.handleRegister; exports.handleStatus = _chunkHDKXSHGAjs.handleStatus; exports.handleWait = _chunkHDKXSHGAjs.handleWait; exports.httpJson = _chunkHDKXSHGAjs.httpJson; exports.readPendingAuthClaim = _chunkHDKXSHGAjs.readPendingAuthClaim; exports.readStatusBanner = _chunkHDKXSHGAjs.readStatusBanner; exports.registerAuthCommands = _chunkHDKXSHGAjs.registerAuthCommands; exports.reportApprovalLinkShown = _chunkHDKXSHGAjs.reportApprovalLinkShown; exports.reportSetupCompleted = _chunkHDKXSHGAjs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunkHDKXSHGAjs.resolvePendingAuthClaimForResume; exports.statusBannerLine = _chunkHDKXSHGAjs.statusBannerLine;
@@ -1,111 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }// src/cli/tool-description.ts
2
- function observedMaxText(pricing) {
3
- const max = recordValue(recordValue(pricing).observedMax);
4
- if (typeof max.creditsPerCall !== "number" || max.creditsPerCall <= 0)
5
- return "";
6
- const avg = typeof max.avgCreditsPerCall === "number" && typeof max.sampleCount === "number" ? `${max.avgCreditsPerCall} avg, ` : "";
7
- const calls = avg && typeof max.sampleCount === "number" ? `${max.sampleCount} observed, ` : "";
8
- return `observed ${avg}${max.creditsPerCall} max credits/call (${calls}last ${String(max.windowDays)} days)`;
9
- }
10
- var Capability = class _Capability {
11
- #catalogEntry;
12
- constructor(catalogEntry) {
13
- this.#catalogEntry = catalogEntry;
14
- }
15
- static fromCatalogEntry(catalogEntry) {
16
- return new _Capability(catalogEntry);
17
- }
18
- describe() {
19
- return CapabilityDescription.fromCatalogEntry(this.#catalogEntry);
20
- }
21
- };
22
- var CapabilityDescription = class _CapabilityDescription {
23
- #catalogEntry;
24
- constructor(catalogEntry) {
25
- this.#catalogEntry = catalogEntry;
26
- }
27
- static fromCatalogEntry(catalogEntry) {
28
- return new _CapabilityDescription(catalogEntry);
29
- }
30
- /**
31
- * The customer price already resolved by the catalog. This intentionally
32
- * omits provider-price fields, even when a catalog Adapter carried them.
33
- */
34
- customerCost() {
35
- const legacyCost = recordValue(this.#catalogEntry.cost);
36
- const pricing = recordValue(this.#catalogEntry.pricing);
37
- const unit = stringValue(pricing.unit);
38
- const legacyPricingModel = stringValue(
39
- _nullishCoalesce(legacyCost.pricingModel, () => ( legacyCost.pricing_model))
40
- );
41
- const pricingModel = unit === "call" ? "fixed" : unit === "result" || unit === "page" ? `per_${unit}` : unit === "usage" ? "provider_usage" : legacyPricingModel;
42
- const canonicalCredits = pricingNumber(
43
- pricing,
44
- "creditsPerUnit",
45
- "credits_per_unit",
46
- _nullishCoalesce(this.#catalogEntry.deeplineCreditsPerPricingUnit, () => ( this.#catalogEntry.deepline_credits_per_pricing_unit))
47
- );
48
- const canonicalUsd = pricingNumber(
49
- pricing,
50
- "usdPerUnit",
51
- "usd_per_unit",
52
- _nullishCoalesce(this.#catalogEntry.deeplineUsdPerPricingUnit, () => ( this.#catalogEntry.deepline_usd_per_pricing_unit))
53
- );
54
- const billingSource = stringValue(
55
- _nullishCoalesce(this.#catalogEntry.billingSource, () => ( this.#catalogEntry.billing_source))
56
- );
57
- const billingSourceLabel = stringValue(
58
- _nullishCoalesce(this.#catalogEntry.billingSourceLabel, () => ( this.#catalogEntry.billing_source_label))
59
- );
60
- const isFree = billingSource === "free";
61
- return {
62
- pricingModel: pricingModel || null,
63
- unit: unit || null,
64
- displayText: isFree ? "Free" : stringValue(_nullishCoalesce(pricing.displayText, () => ( pricing.display_text))),
65
- summary: isFree ? null : stringValue(pricing.summary),
66
- billingMode: stringValue(
67
- _nullishCoalesce(legacyCost.billingMode, () => ( legacyCost.billing_mode))
68
- ),
69
- billingSource,
70
- billingSourceLabel,
71
- deeplineCreditsPerPricingUnit: isFree ? 0 : canonicalCredits,
72
- deeplineUsdPerPricingUnit: isFree ? 0 : canonicalUsd,
73
- ...pricing.estimatedRange && !isFree && billingSource !== "own_provider_credentials" ? {
74
- estimatedRange: pricing.estimatedRange,
75
- details: Array.isArray(pricing.details) ? pricing.details.filter(
76
- (value) => typeof value === "string"
77
- ) : []
78
- } : {},
79
- ...pricing.observedReference && !isFree && billingSource !== "own_provider_credentials" ? {
80
- observedReference: pricing.observedReference,
81
- details: Array.isArray(pricing.details) ? pricing.details.filter(
82
- (value) => typeof value === "string"
83
- ) : []
84
- } : {},
85
- ...pricing.observedMax && !isFree && billingSource !== "own_provider_credentials" ? {
86
- observedMax: pricing.observedMax
87
- } : {}
88
- };
89
- }
90
- };
91
- function recordValue(value) {
92
- return value && typeof value === "object" && !Array.isArray(value) ? value : {};
93
- }
94
- function stringValue(value) {
95
- return typeof value === "string" && value.trim() ? value : null;
96
- }
97
- function numberValue(value) {
98
- return typeof value === "number" && Number.isFinite(value) ? value : null;
99
- }
100
- function pricingNumber(pricing, canonicalKey, aliasKey, legacyValue) {
101
- for (const key of [canonicalKey, aliasKey]) {
102
- if (Object.prototype.hasOwnProperty.call(pricing, key))
103
- return numberValue(pricing[key]);
104
- }
105
- return numberValue(legacyValue);
106
- }
107
-
108
-
109
-
110
-
111
- exports.observedMaxText = observedMaxText; exports.Capability = Capability;
@@ -1,111 +0,0 @@
1
- // src/cli/tool-description.ts
2
- function observedMaxText(pricing) {
3
- const max = recordValue(recordValue(pricing).observedMax);
4
- if (typeof max.creditsPerCall !== "number" || max.creditsPerCall <= 0)
5
- return "";
6
- const avg = typeof max.avgCreditsPerCall === "number" && typeof max.sampleCount === "number" ? `${max.avgCreditsPerCall} avg, ` : "";
7
- const calls = avg && typeof max.sampleCount === "number" ? `${max.sampleCount} observed, ` : "";
8
- return `observed ${avg}${max.creditsPerCall} max credits/call (${calls}last ${String(max.windowDays)} days)`;
9
- }
10
- var Capability = class _Capability {
11
- #catalogEntry;
12
- constructor(catalogEntry) {
13
- this.#catalogEntry = catalogEntry;
14
- }
15
- static fromCatalogEntry(catalogEntry) {
16
- return new _Capability(catalogEntry);
17
- }
18
- describe() {
19
- return CapabilityDescription.fromCatalogEntry(this.#catalogEntry);
20
- }
21
- };
22
- var CapabilityDescription = class _CapabilityDescription {
23
- #catalogEntry;
24
- constructor(catalogEntry) {
25
- this.#catalogEntry = catalogEntry;
26
- }
27
- static fromCatalogEntry(catalogEntry) {
28
- return new _CapabilityDescription(catalogEntry);
29
- }
30
- /**
31
- * The customer price already resolved by the catalog. This intentionally
32
- * omits provider-price fields, even when a catalog Adapter carried them.
33
- */
34
- customerCost() {
35
- const legacyCost = recordValue(this.#catalogEntry.cost);
36
- const pricing = recordValue(this.#catalogEntry.pricing);
37
- const unit = stringValue(pricing.unit);
38
- const legacyPricingModel = stringValue(
39
- legacyCost.pricingModel ?? legacyCost.pricing_model
40
- );
41
- const pricingModel = unit === "call" ? "fixed" : unit === "result" || unit === "page" ? `per_${unit}` : unit === "usage" ? "provider_usage" : legacyPricingModel;
42
- const canonicalCredits = pricingNumber(
43
- pricing,
44
- "creditsPerUnit",
45
- "credits_per_unit",
46
- this.#catalogEntry.deeplineCreditsPerPricingUnit ?? this.#catalogEntry.deepline_credits_per_pricing_unit
47
- );
48
- const canonicalUsd = pricingNumber(
49
- pricing,
50
- "usdPerUnit",
51
- "usd_per_unit",
52
- this.#catalogEntry.deeplineUsdPerPricingUnit ?? this.#catalogEntry.deepline_usd_per_pricing_unit
53
- );
54
- const billingSource = stringValue(
55
- this.#catalogEntry.billingSource ?? this.#catalogEntry.billing_source
56
- );
57
- const billingSourceLabel = stringValue(
58
- this.#catalogEntry.billingSourceLabel ?? this.#catalogEntry.billing_source_label
59
- );
60
- const isFree = billingSource === "free";
61
- return {
62
- pricingModel: pricingModel || null,
63
- unit: unit || null,
64
- displayText: isFree ? "Free" : stringValue(pricing.displayText ?? pricing.display_text),
65
- summary: isFree ? null : stringValue(pricing.summary),
66
- billingMode: stringValue(
67
- legacyCost.billingMode ?? legacyCost.billing_mode
68
- ),
69
- billingSource,
70
- billingSourceLabel,
71
- deeplineCreditsPerPricingUnit: isFree ? 0 : canonicalCredits,
72
- deeplineUsdPerPricingUnit: isFree ? 0 : canonicalUsd,
73
- ...pricing.estimatedRange && !isFree && billingSource !== "own_provider_credentials" ? {
74
- estimatedRange: pricing.estimatedRange,
75
- details: Array.isArray(pricing.details) ? pricing.details.filter(
76
- (value) => typeof value === "string"
77
- ) : []
78
- } : {},
79
- ...pricing.observedReference && !isFree && billingSource !== "own_provider_credentials" ? {
80
- observedReference: pricing.observedReference,
81
- details: Array.isArray(pricing.details) ? pricing.details.filter(
82
- (value) => typeof value === "string"
83
- ) : []
84
- } : {},
85
- ...pricing.observedMax && !isFree && billingSource !== "own_provider_credentials" ? {
86
- observedMax: pricing.observedMax
87
- } : {}
88
- };
89
- }
90
- };
91
- function recordValue(value) {
92
- return value && typeof value === "object" && !Array.isArray(value) ? value : {};
93
- }
94
- function stringValue(value) {
95
- return typeof value === "string" && value.trim() ? value : null;
96
- }
97
- function numberValue(value) {
98
- return typeof value === "number" && Number.isFinite(value) ? value : null;
99
- }
100
- function pricingNumber(pricing, canonicalKey, aliasKey, legacyValue) {
101
- for (const key of [canonicalKey, aliasKey]) {
102
- if (Object.prototype.hasOwnProperty.call(pricing, key))
103
- return numberValue(pricing[key]);
104
- }
105
- return numberValue(legacyValue);
106
- }
107
-
108
- export {
109
- observedMaxText,
110
- Capability
111
- };
@@ -1,50 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
- var _chunkCJJ7JBM2js = require('./chunk-CJJ7JBM2.js');
7
- require('./chunk-N2TJJNCW.js');
8
- require('./chunk-KTOAJP4N.js');
9
- require('./chunk-463ZOO2L.js');
10
- require('./chunk-D3BCSAN7.js');
11
-
12
-
13
- var _chunkI42EOZKQjs = require('./chunk-I42EOZKQ.js');
14
- require('./chunk-GBICEYUA.js');
15
- require('./chunk-JO5FFSR7.js');
16
- require('./chunk-AID3OYVJ.js');
17
- require('./chunk-XK5DMLZE.js');
18
- require('./chunk-J33TSWO5.js');
19
- require('./chunk-HGFFYVXN.js');
20
- require('./chunk-RU5ROUFO.js');
21
- require('./chunk-BLMB4N63.js');
22
- require('./chunk-UR7JOSLT.js');
23
- require('./chunk-E4CABWXL.js');
24
- require('./chunk-RNSHCJME.js');
25
- require('./chunk-NMU3VR5U.js');
26
- require('./chunk-WSGXBROE.js');
27
- require('./chunk-W6JTHVPF.js');
28
- require('./chunk-J6SVNKRP.js');
29
- require('./chunk-FS7XYDOF.js');
30
- require('./chunk-VVEMPC2I.js');
31
- require('./chunk-XEBFJ2PH.js');
32
- require('./chunk-APAHMCGR.js');
33
- require('./chunk-EKZQ5LQO.js');
34
- require('./chunk-5X4AUFYW.js');
35
- require('./chunk-BOFCF4L7.js');
36
- require('./chunk-SV2TEZ2M.js');
37
- require('./chunk-ALJJRZNJ.js');
38
- require('./chunk-XNYIZMNQ.js');
39
- require('./chunk-DIAWYWT5.js');
40
- require('./chunk-4OXHLTCP.js');
41
- require('./chunk-OG64RBAC.js');
42
- require('./chunk-RLX5ZFNX.js');
43
- require('./chunk-COGTRVWW.js');
44
-
45
-
46
-
47
-
48
-
49
-
50
- exports.DEEPLINE_NAMESPACE = _chunkI42EOZKQjs.DEEPLINE_NAMESPACE; exports.describeAnything = _chunkCJJ7JBM2js.describeAnything; exports.findNamed = _chunkCJJ7JBM2js.findNamed; exports.nothingNamed = _chunkCJJ7JBM2js.nothingNamed; exports.registerDescribeCommand = _chunkCJJ7JBM2js.registerDescribeCommand;
@@ -1,25 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
-
7
-
8
- var _chunkVL72UKNWjs = require('./chunk-VL72UKNW.js');
9
- require('./chunk-5X4AUFYW.js');
10
- require('./chunk-BOFCF4L7.js');
11
- require('./chunk-SV2TEZ2M.js');
12
- require('./chunk-ALJJRZNJ.js');
13
- require('./chunk-XNYIZMNQ.js');
14
- require('./chunk-DIAWYWT5.js');
15
- require('./chunk-4OXHLTCP.js');
16
- require('./chunk-OG64RBAC.js');
17
- require('./chunk-COGTRVWW.js');
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
- exports.handleDeploymentGet = _chunkVL72UKNWjs.handleDeploymentGet; exports.handleDeploymentsList = _chunkVL72UKNWjs.handleDeploymentsList; exports.registerGitCommands = _chunkVL72UKNWjs.registerGitCommands; exports.renderDeployment = _chunkVL72UKNWjs.renderDeployment; exports.renderDeploymentMonitorLines = _chunkVL72UKNWjs.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunkVL72UKNWjs.renderDeploymentPlayLines;
@@ -1,32 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
-
7
-
8
- var _chunk463ZOO2Ljs = require('./chunk-463ZOO2L.js');
9
- require('./chunk-D3BCSAN7.js');
10
- require('./chunk-RU5ROUFO.js');
11
- require('./chunk-UR7JOSLT.js');
12
- require('./chunk-E4CABWXL.js');
13
- require('./chunk-RNSHCJME.js');
14
- require('./chunk-NMU3VR5U.js');
15
- require('./chunk-WSGXBROE.js');
16
- require('./chunk-5X4AUFYW.js');
17
- require('./chunk-BOFCF4L7.js');
18
- require('./chunk-SV2TEZ2M.js');
19
- require('./chunk-ALJJRZNJ.js');
20
- require('./chunk-XNYIZMNQ.js');
21
- require('./chunk-DIAWYWT5.js');
22
- require('./chunk-4OXHLTCP.js');
23
- require('./chunk-OG64RBAC.js');
24
- require('./chunk-COGTRVWW.js');
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
- exports.SEARCH_TYPES = _chunk463ZOO2Ljs.SEARCH_TYPES; exports.appendCsv = _chunk463ZOO2Ljs.appendCsv; exports.parseTypes = _chunk463ZOO2Ljs.parseTypes; exports.pointAtDescribe = _chunk463ZOO2Ljs.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunk463ZOO2Ljs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunk463ZOO2Ljs.registerSearchCommand;
@@ -1,36 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
- var _chunkXEBFJ2PHjs = require('./chunk-XEBFJ2PH.js');
13
- require('./chunk-APAHMCGR.js');
14
- require('./chunk-EKZQ5LQO.js');
15
- require('./chunk-5X4AUFYW.js');
16
- require('./chunk-BOFCF4L7.js');
17
- require('./chunk-SV2TEZ2M.js');
18
- require('./chunk-ALJJRZNJ.js');
19
- require('./chunk-XNYIZMNQ.js');
20
- require('./chunk-DIAWYWT5.js');
21
- require('./chunk-4OXHLTCP.js');
22
- require('./chunk-OG64RBAC.js');
23
- require('./chunk-RLX5ZFNX.js');
24
- require('./chunk-COGTRVWW.js');
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
- exports.buildSkillsPlan = _chunkXEBFJ2PHjs.buildSkillsPlan; exports.deeplineGtmSkillRoots = _chunkXEBFJ2PHjs.deeplineGtmSkillRoots; exports.detectSkillsAgents = _chunkXEBFJ2PHjs.detectSkillsAgents; exports.inferActiveSkillsScope = _chunkXEBFJ2PHjs.inferActiveSkillsScope; exports.isSkillsPlanCurrent = _chunkXEBFJ2PHjs.isSkillsPlanCurrent; exports.missingInstalledSkills = _chunkXEBFJ2PHjs.missingInstalledSkills; exports.registerSkillsCommand = _chunkXEBFJ2PHjs.registerSkillsCommand; exports.runSkillsCommand = _chunkXEBFJ2PHjs.runSkillsCommand; exports.skillsStatePathForScope = _chunkXEBFJ2PHjs.skillsStatePathForScope; exports.workspaceSkillRootsForAgents = _chunkXEBFJ2PHjs.workspaceSkillRootsForAgents;
@@ -1,57 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
- var _chunkN2TJJNCWjs = require('./chunk-N2TJJNCW.js');
13
- require('./chunk-KTOAJP4N.js');
14
- require('./chunk-463ZOO2L.js');
15
- require('./chunk-D3BCSAN7.js');
16
- require('./chunk-GBICEYUA.js');
17
- require('./chunk-JO5FFSR7.js');
18
- require('./chunk-AID3OYVJ.js');
19
- require('./chunk-XK5DMLZE.js');
20
- require('./chunk-J33TSWO5.js');
21
- require('./chunk-HGFFYVXN.js');
22
- require('./chunk-RU5ROUFO.js');
23
- require('./chunk-BLMB4N63.js');
24
- require('./chunk-UR7JOSLT.js');
25
- require('./chunk-E4CABWXL.js');
26
- require('./chunk-RNSHCJME.js');
27
- require('./chunk-NMU3VR5U.js');
28
- require('./chunk-WSGXBROE.js');
29
- require('./chunk-W6JTHVPF.js');
30
- require('./chunk-J6SVNKRP.js');
31
- require('./chunk-FS7XYDOF.js');
32
- require('./chunk-VVEMPC2I.js');
33
- require('./chunk-XEBFJ2PH.js');
34
- require('./chunk-APAHMCGR.js');
35
- require('./chunk-EKZQ5LQO.js');
36
- require('./chunk-5X4AUFYW.js');
37
- require('./chunk-BOFCF4L7.js');
38
- require('./chunk-SV2TEZ2M.js');
39
- require('./chunk-ALJJRZNJ.js');
40
- require('./chunk-XNYIZMNQ.js');
41
- require('./chunk-DIAWYWT5.js');
42
- require('./chunk-4OXHLTCP.js');
43
- require('./chunk-OG64RBAC.js');
44
- require('./chunk-RLX5ZFNX.js');
45
- require('./chunk-COGTRVWW.js');
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
- exports.buildToolExecuteBaseEnvelope = _chunkN2TJJNCWjs.buildToolExecuteBaseEnvelope; exports.executeToolForReceipt = _chunkN2TJJNCWjs.executeToolForReceipt; exports.extractToolExecutionWarningMessages = _chunkN2TJJNCWjs.extractToolExecutionWarningMessages; exports.getToolExecutionReceipt = _chunkN2TJJNCWjs.getToolExecutionReceipt; exports.parseToolExecuteTimeout = _chunkN2TJJNCWjs.parseToolExecuteTimeout; exports.printCompactToolContract = _chunkN2TJJNCWjs.printCompactToolContract; exports.printMonitorTypeContract = _chunkN2TJJNCWjs.printMonitorTypeContract; exports.registerToolsCommands = _chunkN2TJJNCWjs.registerToolsCommands; exports.seedToolListScript = _chunkN2TJJNCWjs.seedToolListScript; exports.writeToolReceipt = _chunkN2TJJNCWjs.writeToolReceipt;
@@ -1,34 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
- var _chunkFS7XYDOFjs = require('./chunk-FS7XYDOF.js');
11
- require('./chunk-VVEMPC2I.js');
12
- require('./chunk-XEBFJ2PH.js');
13
- require('./chunk-APAHMCGR.js');
14
- require('./chunk-EKZQ5LQO.js');
15
- require('./chunk-5X4AUFYW.js');
16
- require('./chunk-BOFCF4L7.js');
17
- require('./chunk-SV2TEZ2M.js');
18
- require('./chunk-ALJJRZNJ.js');
19
- require('./chunk-XNYIZMNQ.js');
20
- require('./chunk-DIAWYWT5.js');
21
- require('./chunk-4OXHLTCP.js');
22
- require('./chunk-OG64RBAC.js');
23
- require('./chunk-RLX5ZFNX.js');
24
- require('./chunk-COGTRVWW.js');
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
- exports.canAutomaticallyApplyUpdatePlan = _chunkFS7XYDOFjs.canAutomaticallyApplyUpdatePlan; exports.compareUpdateVersions = _chunkFS7XYDOFjs.compareUpdateVersions; exports.publishedVersionSupportsPin = _chunkFS7XYDOFjs.publishedVersionSupportsPin; exports.registerUpdateCommand = _chunkFS7XYDOFjs.registerUpdateCommand; exports.resolveUpdatePlan = _chunkFS7XYDOFjs.resolveUpdatePlan; exports.runAutomaticUpdatePlan = _chunkFS7XYDOFjs.runAutomaticUpdatePlan; exports.runUpdateCommand = _chunkFS7XYDOFjs.runUpdateCommand; exports.runUpdatePlan = _chunkFS7XYDOFjs.runUpdatePlan;