deepline 0.3.460 → 0.3.462
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.
- package/dist/bundling-sources/sdk/src/client-core.ts +7593 -0
- package/dist/bundling-sources/sdk/src/client.ts +8 -7366
- package/dist/bundling-sources/sdk/src/http-core.ts +1239 -0
- package/dist/bundling-sources/sdk/src/http.ts +6 -1231
- package/dist/bundling-sources/sdk/src/index.ts +4 -1
- package/dist/bundling-sources/sdk/src/play.ts +5 -5
- package/dist/bundling-sources/sdk/src/plays/client-core.ts +437 -0
- package/dist/bundling-sources/sdk/src/plays/client.ts +4 -421
- package/dist/bundling-sources/sdk/src/plays/input-example.ts +3 -4
- package/dist/bundling-sources/sdk/src/plays/play-description.ts +1 -1
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +1 -1
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/server.ts +43 -0
- package/dist/bundling-sources/sdk/src/types.ts +15 -5
- package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +15 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/state.ts +28 -0
- package/dist/bundling-sources/shared_libs/monitors/callback-security.ts +0 -307
- package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +3 -0
- package/dist/bundling-sources/shared_libs/monitors/lifecycle-notifications.ts +3 -2
- package/dist/bundling-sources/shared_libs/monitors/package.json +2 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-callback-verification.ts +34 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +59 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-upstream-identity.ts +94 -1
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +35 -1
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-failure-codes.ts +24 -0
- package/dist/bundling-sources/shared_libs/observability/dlq.ts +32 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +57 -3
- package/dist/bundling-sources/shared_libs/observability/scheduled-work.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +66 -1
- package/dist/bundling-sources/shared_libs/play-data-plane/sheet-column-storage.ts +36 -7
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +250 -11
- package/dist/bundling-sources/shared_libs/play-runtime/array-input-store.ts +319 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +991 -359
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +17 -0
- package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-janitor.ts +13 -0
- package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-reaper.ts +110 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machines.ts +155 -6
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-registry.ts +110 -6
- package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +127 -13
- package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +14 -1
- package/dist/bundling-sources/shared_libs/play-runtime/fixture-behavior.ts +57 -1
- package/dist/bundling-sources/shared_libs/play-runtime/free-company-lookup-batching.ts +218 -0
- package/dist/bundling-sources/shared_libs/play-runtime/gateway-postgres-admission.ts +42 -5
- package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-budget-state-backend.ts +6 -1
- package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +92 -31
- package/dist/bundling-sources/shared_libs/play-runtime/governor/block-reserving-budget-state-backend.ts +69 -14
- package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +93 -23
- package/dist/bundling-sources/shared_libs/play-runtime/governor/in-memory-rate-state-backend.ts +15 -4
- package/dist/bundling-sources/shared_libs/play-runtime/governor/policy.ts +22 -18
- package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +5 -0
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +190 -14
- package/dist/bundling-sources/shared_libs/play-runtime/memory-ledger.ts +131 -0
- package/dist/bundling-sources/shared_libs/play-runtime/modal-runtime-config.ts +77 -2
- package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +271 -2
- package/dist/bundling-sources/shared_libs/play-runtime/play-run-recovery-policy.ts +51 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/contracts.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/job.ts +27 -1
- package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-batching-registry.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-text-for-log.ts +63 -0
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +19 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger-event-transport.ts +112 -16
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +104 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +265 -151
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-gateway-transport.ts +17 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-progress-push.ts +35 -14
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-sheet-persistence-retry.ts +12 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-control-transport.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-labels.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +136 -70
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +237 -36
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +148 -4
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-session-execution.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +285 -32
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +251 -56
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runtime-sandbox-reconciliation.ts +29 -4
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/sandbox-create-outcome.ts +27 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/types.ts +22 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +1397 -382
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-array-input-receipts.ts +920 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-constants.ts +16 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-environment.ts +38 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-flow.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +26 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +30 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-store-adapter.ts +14 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-writer.ts +31 -4
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-sheet-row-transition.ts +47 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +20 -7
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/contract.ts +12 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/index.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/runner-backend-adapter.ts +10 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +1496 -320
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-worker-required-env.ts +31 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1389 -129
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-dispatch-authority.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +162 -23
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +499 -115
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +377 -9
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-ledger-reconciliation.ts +117 -8
- package/dist/bundling-sources/shared_libs/play-runtime/secret-resolution-retry-policy.ts +25 -0
- package/dist/bundling-sources/shared_libs/play-runtime/terminal-runtime-performance.ts +391 -0
- package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +40 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-call/index.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-call/mapped-calls.ts +171 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-call/receipt-cohort.ts +16 -1
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +26 -3
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +16 -2
- package/dist/bundling-sources/shared_libs/play-runtime/transport-error-diagnostics.ts +28 -0
- package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-storage-contract.ts +55 -5
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +41 -1
- package/dist/bundling-sources/shared_libs/plays/contracts.ts +4 -0
- package/dist/bundling-sources/shared_libs/plays/dataset.ts +9 -3
- package/dist/bundling-sources/shared_libs/plays/deploy/manifest-contract.ts +2 -0
- package/dist/bundling-sources/shared_libs/plays/deploy/manifest.ts +3 -2
- package/dist/bundling-sources/shared_libs/plays/deploy/project-serializer.ts +2 -2
- package/dist/bundling-sources/shared_libs/plays/run-output-summary.ts +66 -0
- package/dist/bundling-sources/shared_libs/plays/script-entry.ts +1 -1
- package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +43 -1
- package/dist/bundling-sources/shared_libs/product-notifications/content.ts +9 -0
- package/dist/bundling-sources/shared_libs/product-notifications/email.ts +91 -13
- package/dist/bundling-sources/shared_libs/product-notifications/events.ts +3 -0
- package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +41 -24
- package/dist/bundling-sources/shared_libs/security/attested-client-ip.ts +91 -0
- package/dist/bundling-sources/shared_libs/security/internal-actor.ts +0 -11
- package/dist/cli/{auth-HKA6ZVHQ.mjs → auth-JDLEY7VU.mjs} +5 -4
- package/dist/cli/auth-UXKY6TCC.js +41 -0
- package/dist/cli/{billing-MTO2ZZ3G.js → billing-HXAXB3XZ.js} +152 -78
- package/dist/cli/{billing-26G44S5N.mjs → billing-SDHLBLMV.mjs} +84 -10
- package/dist/cli/{chunk-BHGII2D6.js → chunk-3ACMRZRV.js} +8 -6
- package/dist/cli/{chunk-S4Q2XCGM.mjs → chunk-3KZCFOZ6.mjs} +1 -1
- package/dist/cli/chunk-4KQ6SIBC.mjs +1038 -0
- package/dist/cli/{chunk-Z2GUFYT6.js → chunk-5LEAXRHV.js} +11 -11
- package/dist/cli/{chunk-XAYO3Q2X.mjs → chunk-6NNVJDVR.mjs} +7 -5
- package/dist/cli/{chunk-NMJ4D2WO.js → chunk-6PMCRYDA.js} +216 -91
- package/dist/cli/{chunk-OMM54B3X.mjs → chunk-6RNQGWFD.mjs} +16 -806
- package/dist/cli/{chunk-EBU7LQ64.js → chunk-6V7KVRR5.js} +3 -3
- package/dist/cli/{chunk-RDPTDDKX.js → chunk-7LFIMWMW.js} +2 -2
- package/dist/cli/chunk-7MJ6VI2T.mjs +19 -0
- package/dist/cli/chunk-7SWNPNML.js +1039 -0
- package/dist/cli/{chunk-CTRPCARW.mjs → chunk-7U3XNPOA.mjs} +267 -38
- package/dist/cli/{chunk-RBTTUYZZ.js → chunk-7VZHXVOQ.js} +1 -1
- package/dist/cli/{chunk-YVBWO647.mjs → chunk-AT636LLU.mjs} +2 -2
- package/dist/cli/{chunk-VTODQWQA.js → chunk-BGTPIMSM.js} +392 -261
- package/dist/cli/{chunk-KADIT5NV.mjs → chunk-CKSOY47X.mjs} +2 -2
- package/dist/cli/{chunk-7DH2FD7Y.mjs → chunk-D464JW3N.mjs} +5 -85
- package/dist/cli/chunk-D6DXOUTO.mjs +827 -0
- package/dist/cli/{describe-QW54QQNB.js → chunk-EM4TXCCI.js} +27 -44
- package/dist/cli/chunk-F6QV42MC.mjs +91 -0
- package/dist/cli/chunk-FKVYR3QA.mjs +1039 -0
- package/dist/cli/{chunk-LMAULZLF.js → chunk-GEGW5HPZ.js} +29 -27
- package/dist/cli/{chunk-M52JQSLK.js → chunk-HUB3CCM2.js} +13 -4
- package/dist/cli/{chunk-YHTQM5XI.js → chunk-I6VHOU5O.js} +27 -27
- package/dist/cli/{chunk-Z2XUZC34.js → chunk-IAYSWZDJ.js} +188 -76
- package/dist/cli/chunk-JF3TLIMQ.js +19 -0
- package/dist/cli/{chunk-HDFRJ4IT.mjs → chunk-JVHOS3K3.mjs} +177 -65
- package/dist/cli/{chunk-LAWEURCT.mjs → chunk-LFXLQEZN.mjs} +1 -1
- package/dist/cli/{chunk-2PBN4SZE.js → chunk-LROWFPGN.js} +16 -16
- package/dist/cli/{chunk-SLEUWLJE.mjs → chunk-MSY22NQW.mjs} +5 -5
- package/dist/cli/{chunk-LVJOFUU7.mjs → chunk-MUUQZIOF.mjs} +23 -49
- package/dist/cli/{chunk-2XHWOQF4.js → chunk-NBLSCHKK.js} +52 -50
- package/dist/cli/{chunk-526R2HON.mjs → chunk-NHRWZPWZ.mjs} +4 -2
- package/dist/cli/{chunk-KXMNM4AQ.js → chunk-NMU3VR5U.js} +4 -5
- package/dist/cli/{chunk-W3BE3CHK.mjs → chunk-O2RX5A66.mjs} +14 -12
- package/dist/cli/{chunk-UKFZT7RF.js → chunk-OMQ23IXL.js} +2 -2
- package/dist/cli/{chunk-LJTFZOHU.js → chunk-OPJAJBD4.js} +28 -54
- package/dist/cli/{chunk-MLFR6DVF.mjs → chunk-PHSEINNH.mjs} +5 -5
- package/dist/cli/{chunk-3DNKFH2G.mjs → chunk-PKHVSIJG.mjs} +19 -1
- package/dist/cli/{chunk-WIYWSYDS.mjs → chunk-Q2EIZKVX.mjs} +3 -3
- package/dist/cli/{chunk-VJAEA4CS.js → chunk-QJZ6WNWD.js} +8 -8
- package/dist/cli/{chunk-EIMG75BT.mjs → chunk-S3A4IXBQ.mjs} +4 -5
- package/dist/cli/{chunk-RZSTT45F.mjs → chunk-S42YIQNE.mjs} +13 -8
- package/dist/cli/{chunk-YULBYKAK.mjs → chunk-S6UAJR6V.mjs} +3 -3
- package/dist/cli/{chunk-G7L27KZB.mjs → chunk-TKAQR3IB.mjs} +31 -21
- package/dist/cli/{chunk-QWRHGGUH.js → chunk-UAJFWWZE.js} +20 -2
- package/dist/cli/{chunk-ZR2RLI4O.mjs → chunk-UDRPEZ5F.mjs} +223 -92
- package/dist/cli/{chunk-QGAWTBIR.js → chunk-ULK7JGGI.js} +511 -282
- package/dist/cli/chunk-V335HGX5.js +1038 -0
- package/dist/cli/{chunk-NH6JSJW6.mjs → chunk-V3MEA7NB.mjs} +7 -5
- package/dist/cli/{chunk-NRGGFVVB.js → chunk-VFGVXXZP.js} +37 -35
- package/dist/cli/chunk-VLEVVDWG.js +91 -0
- package/dist/cli/{chunk-R2GLGLDR.mjs → chunk-VPHN2HAL.mjs} +216 -91
- package/dist/cli/{chunk-CFUTOWE4.js → chunk-WG3KGAII.js} +8 -88
- package/dist/cli/{describe-TOMIAT37.mjs → chunk-WIY6U6GD.mjs} +19 -36
- package/dist/cli/{chunk-YS2YBSJB.js → chunk-XANRM3QA.js} +6 -6
- package/dist/cli/{chunk-KGQNIA37.js → chunk-XQCTG5OO.js} +44 -34
- package/dist/cli/{chunk-EJGBLXDZ.mjs → chunk-XZAFIOUQ.mjs} +1 -1
- package/dist/cli/chunk-Y4DPU4OM.js +827 -0
- package/dist/cli/chunk-YT5EODJO.js +920 -0
- package/dist/cli/{chunk-2WRO2UJ5.js → chunk-ZGQSFYD2.js} +56 -51
- package/dist/cli/{chunk-OJ6RUKVT.mjs → chunk-ZUK6LIJB.mjs} +10 -1
- package/dist/cli/command-docs.d.mts +5 -0
- package/dist/cli/command-docs.d.ts +5 -0
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-6FNFYJUC.js → csv-C56GSCEU.js} +13 -12
- package/dist/cli/{csv-MDHT4BKK.mjs → csv-L54JS7TF.mjs} +4 -3
- package/dist/cli/{db-D6AMVOEW.js → db-MOGRMZTA.js} +30 -27
- package/dist/cli/{db-74O3RFWY.mjs → db-YVBUW2DX.mjs} +10 -7
- package/dist/cli/describe-KYEULWPG.js +48 -0
- package/dist/cli/describe-NLZKKT7C.mjs +48 -0
- package/dist/cli/describe-core.d.mts +153 -5
- package/dist/cli/describe-core.d.ts +153 -5
- package/dist/cli/describe-core.js +9 -5
- package/dist/cli/describe-core.mjs +10 -6
- package/dist/cli/{executions-N4FMGVSC.js → executions-A7L4ULPP.js} +9 -7
- package/dist/cli/{executions-PVSF4HUF.mjs → executions-ZBGSTT37.mjs} +7 -5
- package/dist/cli/{feedback-OB7NANZW.mjs → feedback-G6GU37FD.mjs} +6 -5
- package/dist/cli/{feedback-WFSPCAI2.js → feedback-OHLY7RYD.js} +10 -9
- package/dist/cli/getting-started.d.mts +6 -6
- package/dist/cli/getting-started.d.ts +6 -6
- package/dist/cli/getting-started.js +2 -2
- package/dist/cli/getting-started.mjs +1 -1
- package/dist/cli/git-P76N4NDQ.js +25 -0
- package/dist/cli/{git-FHUSPAEU.mjs → git-PKZW3QD5.mjs} +5 -4
- package/dist/cli/index.js +152 -142
- package/dist/cli/index.mjs +56 -46
- package/dist/cli/{legacy-noops-ECHNA5HN.js → legacy-noops-5LM3D724.js} +8 -7
- package/dist/cli/{legacy-noops-HMK4BSCI.mjs → legacy-noops-LJJYG6YA.mjs} +5 -4
- package/dist/cli/{monitors-U7VQ3EZM.mjs → monitors-72QV4ALO.mjs} +19 -6
- package/dist/cli/{monitors-XLLFNENH.js → monitors-UX3H5DC2.js} +103 -90
- package/dist/cli/{org-6H3USO5M.mjs → org-6RRRKOCP.mjs} +9 -6
- package/dist/cli/{org-QX6ER2HN.js → org-IF7ISUVB.js} +70 -67
- package/dist/cli/pages-3SU3HKL7.js +252 -0
- package/dist/cli/pages-DXDYYKEK.mjs +252 -0
- package/dist/cli/{play-MOB2WYOR.mjs → play-AHASKRLA.mjs} +512 -1508
- package/dist/cli/{play-WNB7HBZK.js → play-EUIUVLUH.js} +1090 -2086
- package/dist/cli/{providers-CXEZ23E2.mjs → providers-GWGE3WY3.mjs} +7 -5
- package/dist/cli/{providers-7M3DISKX.js → providers-V5WU4VXJ.js} +10 -8
- package/dist/cli/{quickstart-ZFCHKHF6.mjs → quickstart-OXKQ5ZST.mjs} +5 -4
- package/dist/cli/{quickstart-CLJT4AZL.js → quickstart-QP65I5PF.js} +13 -12
- package/dist/cli/run-6MM72IGL.mjs +443 -0
- package/dist/cli/run-F3FTYS56.js +443 -0
- package/dist/cli/search-OYKOOI7A.js +32 -0
- package/dist/cli/{search-FVYWYIC3.mjs → search-ZMEBVJZB.mjs} +8 -6
- package/dist/cli/{secrets-YRLKZQS5.js → secrets-ACND5N6A.js} +16 -14
- package/dist/cli/{secrets-WAMPTQFC.mjs → secrets-XRCJFF3L.mjs} +7 -5
- package/dist/cli/{sessions-IQ332BJH.mjs → sessions-RTK3CEW6.mjs} +5 -4
- package/dist/cli/{sessions-44J6WIVU.js → sessions-ZGRJPCFF.js} +6 -5
- package/dist/cli/{settings-4IJR2I2T.js → settings-PD5KWQQZ.js} +80 -77
- package/dist/cli/{settings-22S6NIFQ.mjs → settings-XDRBPRDE.mjs} +14 -11
- package/dist/cli/{setup-OZUPKKPW.mjs → setup-3HPYAOCC.mjs} +12 -10
- package/dist/cli/{setup-3FWSRNOX.js → setup-E2Q6PXHC.js} +53 -51
- package/dist/cli/{skills-5CW3NFP3.mjs → skills-OOQFMPOV.mjs} +7 -6
- package/dist/cli/skills-XYWV52KB.js +31 -0
- package/dist/cli/tools-ASCDZJCK.js +55 -0
- package/dist/cli/tools-C5ZT3UIC.mjs +55 -0
- package/dist/cli/update-5RQSEIFM.js +33 -0
- package/dist/cli/{update-IBULOV7P.mjs → update-ZWJTADIW.mjs} +9 -8
- package/dist/cli/{workflow-MVZT7MWT.mjs → workflow-23NMPAJ7.mjs} +10 -8
- package/dist/cli/{workflow-Z7FW6GT2.js → workflow-TCXU5YJV.js} +20 -18
- package/dist/client-DS2IWYZF.d.ts +10 -0
- package/dist/client-DTwnz_AW.d.mts +10 -0
- package/dist/{client-CYqG23K1.d.ts → client-core-B_6HAIBy.d.ts} +385 -12
- package/dist/{client-BbU5_j7n.d.mts → client-core-DzBSlY1U.d.mts} +385 -12
- package/dist/{compiler-manifest-CWz_sNOQ.d.mts → compiler-manifest-Dcyd3-Zd.d.mts} +43 -1
- package/dist/{compiler-manifest-CWz_sNOQ.d.ts → compiler-manifest-Dcyd3-Zd.d.ts} +43 -1
- package/dist/errors-d-sTrZhe.d.mts +142 -0
- package/dist/errors-yQwfgrcX.d.ts +142 -0
- package/dist/{index-BF2JB_Ug.d.mts → index-C6oXchjN.d.mts} +1 -1
- package/dist/{index-4NPXDzlD.d.ts → index-P56zy_z5.d.ts} +1 -1
- package/dist/index.d.mts +11 -147
- package/dist/index.d.ts +11 -147
- package/dist/index.js +15 -11
- package/dist/index.mjs +14 -10
- package/dist/install-integrity.json +141 -104
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +2 -1
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/play-description.js +2 -2
- package/dist/plays/play-description.mjs +1 -1
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +17 -0
- package/dist/server.d.ts +17 -0
- package/dist/server.js +76 -0
- package/dist/server.mjs +76 -0
- package/package.json +6 -1
- package/dist/cli/auth-VDOCNR7H.js +0 -40
- package/dist/cli/chunk-PQUUWFXY.js +0 -95
- package/dist/cli/chunk-QJLKYYPX.js +0 -1710
- package/dist/cli/chunk-YBWAG72P.mjs +0 -95
- package/dist/cli/git-4PMBJSH5.js +0 -24
- package/dist/cli/search-4CCQCTVD.js +0 -30
- package/dist/cli/skills-LMNM6B5F.js +0 -30
- package/dist/cli/tools-AGBBDJ7P.js +0 -45
- package/dist/cli/tools-NOPBDRGW.mjs +0 -45
- package/dist/cli/update-U3W6USVD.js +0 -32
|
@@ -44,6 +44,21 @@ type BillingEntitlements = {
|
|
|
44
44
|
remaining: number;
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
|
+
/** Managed database storage (GB) included before overage. */
|
|
48
|
+
includedStorage?: {
|
|
49
|
+
status: 'active';
|
|
50
|
+
usage: {
|
|
51
|
+
/** GB included. */
|
|
52
|
+
limit: number;
|
|
53
|
+
/** GB stored on the latest measured UTC day. */
|
|
54
|
+
consumed: number;
|
|
55
|
+
remaining: number;
|
|
56
|
+
/** The UTC day `consumed` was measured, `YYYY-MM-DD`. */
|
|
57
|
+
measuredDay: string;
|
|
58
|
+
/** False when storage charges are not rolled out to the workspace. */
|
|
59
|
+
overageCharged: boolean;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
47
62
|
quickenrichUnlimited?: {
|
|
48
63
|
status: 'active' | 'past_due';
|
|
49
64
|
value: BillingBenefitValues['quickenrichUnlimited'];
|
|
@@ -1348,6 +1363,26 @@ type PlayAuthoringRunScope = {
|
|
|
1348
1363
|
readonly actor: PlayAuthoringRunActor | null;
|
|
1349
1364
|
};
|
|
1350
1365
|
/** The complete customer-authored `ctx` Interface shared by every Adapter. */
|
|
1366
|
+
type PlayAuthoringPageWriteOptions = {
|
|
1367
|
+
/**
|
|
1368
|
+
* Who can see the page. Taken from the first write. A later write cannot make
|
|
1369
|
+
* a private page public: run `deepline pages set-public <name>` for that.
|
|
1370
|
+
*/
|
|
1371
|
+
public: boolean;
|
|
1372
|
+
/** Replaces the page's whole content. A non-string is stored as JSON. */
|
|
1373
|
+
content: unknown;
|
|
1374
|
+
/** Defaults to text, JSON, or binary according to `content`. */
|
|
1375
|
+
contentType?: string;
|
|
1376
|
+
description?: string;
|
|
1377
|
+
};
|
|
1378
|
+
type PlayAuthoringPageWriteResult = {
|
|
1379
|
+
name: string;
|
|
1380
|
+
url: string;
|
|
1381
|
+
/** Who can actually see the page after this write. */
|
|
1382
|
+
public: boolean;
|
|
1383
|
+
created: boolean;
|
|
1384
|
+
warnings: string[];
|
|
1385
|
+
};
|
|
1351
1386
|
interface PlayAuthoringRuntimeContext<TListGetter extends 'dataset' | 'array' = 'dataset'> {
|
|
1352
1387
|
billing: {
|
|
1353
1388
|
/**
|
|
@@ -1357,6 +1392,13 @@ interface PlayAuthoringRuntimeContext<TListGetter extends 'dataset' | 'array' =
|
|
|
1357
1392
|
*/
|
|
1358
1393
|
entitlements(): Promise<BillingEntitlements>;
|
|
1359
1394
|
};
|
|
1395
|
+
pages: {
|
|
1396
|
+
/**
|
|
1397
|
+
* Replace a named page in this workspace and return its URL.
|
|
1398
|
+
* @sdkReference runtime 181 deepline.pages.write(name, options)
|
|
1399
|
+
*/
|
|
1400
|
+
write(name: string, options: PlayAuthoringPageWriteOptions): Promise<PlayAuthoringPageWriteResult>;
|
|
1401
|
+
};
|
|
1360
1402
|
/**
|
|
1361
1403
|
* Load a staged CSV file as a durable dataset handle.
|
|
1362
1404
|
* @sdkReference runtime 040 deepline.csv(path, options)
|
|
@@ -3538,4 +3580,4 @@ type PlayCompilerManifest = {
|
|
|
3538
3580
|
authoringContract?: AdmittedPlayAuthoringContract;
|
|
3539
3581
|
};
|
|
3540
3582
|
|
|
3541
|
-
export { type
|
|
3583
|
+
export { type PlayAuthoringRuntimeStepOptions as $, type AsyncPlayRunRef as A, type BillingEntitlements as B, type PlayAuthoringColumnMap as C, DeeplineError as D, type PlayAuthoringColumnResolver as E, type PlayAuthoringRuntimeContext as F, type PlayAuthoringConditionalStepResolver as G, type PlayAuthoringCsvInput as H, type PlayAuthoringCsvOptions as I, type PlayAuthoringDatasetBuilder as J, type PlayAuthoringDatasetColumnDefinition as K, type PlayAuthoringDatasetColumnRunInput as L, type PlayAuthoringReferenceLike as M, type PlayReturnObject as N, type PlayAuthoringDefineConfig as O, ProviderTransientError as P, type PlayAuthoringDefinedPlay as Q, type PlayAuthoringFetchOptions as R, type PlayAuthoringFileInput as S, ToolExecutionError as T, type PlayAuthoringAsyncCallOptions as U, type PlayAuthoringBindings as V, type PlayAuthoringCallExecution as W, type PlayAuthoringCallOptions as X, type PlayAuthoringInputContract as Y, type PlayRunId as Z, type PlayAuthoringStepProgramStep as _, type ProviderTransientErrorCategory as a, type PlaySqlListenerDeclaration as a0, type PlaySqlListenerEvent as a1, type PlaySqlListenerOperation as a2, type PlaySqlQuery as a3, type PlayAuthoringStepOptions as a4, type PlayAuthoringStepProgram as a5, type PlayAuthoringStepProgramResolver as a6, type PlayAuthoringStepResolver as a7, type PlayToolExecutionRequest as a8, type PlayAuthoringStepProgramOptions as a9, DEEPLINE_EXTRACTOR_TARGETS as aa, DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS as ab, type DeeplineEmailStatusGetterValue as ac, type DeeplineExtractorTarget as ad, type DeeplineGetterValue as ae, type DeeplineGetterValueMap as af, JOB_CHANGE_STATUS_VALUES as ag, type JobChangeStatus as ah, PHONE_STATUS_VALUES as ai, type PhoneStatus as aj, type PlayDatasetInput as ak, type PreviousCell as al, type ToolResultBilling as am, isDeeplineExtractorTarget as an, type BillingBenefitValues as ao, type ProviderUnavailableError as b, type ProviderUnavailableReason as c, type ToolExecutionErrorCategory as d, type ToolExecutionErrorOptions as e, type ToolExecutionErrorOrigin as f, type ToolExecutionFailureV1 as g, type ToolExecutionNetworkKind as h, type ToolExecutionNetworkScope as i, type ToolExecutionPublicDetails as j, getProviderUnavailableReason as k, isProviderUnavailable as l, isProviderWaterfallUnavailableError as m, PLAY_ARTIFACT_KINDS as n, type PlayArtifactCompatibility as o, type PlayBundleArtifact as p, type PlayImportPolicy as q, type PlayPackageImport as r, type PlayRuntimeFeature as s, type PlaySandboxRuntimeDeclaration as t, type PlayCompilerManifest as u, type PlayArtifactKind as v, type PlayAuthoringFetchResponse as w, type ToolExecuteResult as x, type BasicToolExecuteResult as y, type PlayDataset as z };
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/// <reference path="./text-imports.d.ts" />
|
|
2
|
+
import { D as DeeplineError, T as ToolExecutionError, e as ToolExecutionErrorOptions } from './compiler-manifest-Dcyd3-Zd.mjs';
|
|
3
|
+
|
|
4
|
+
/** SQL may have committed, but its response was not confirmed. */
|
|
5
|
+
declare class CustomerDbQueryOutcomeUnknownError extends DeeplineError {
|
|
6
|
+
readonly cause: DeeplineError;
|
|
7
|
+
readonly outcome: "unknown";
|
|
8
|
+
readonly operationKey?: string;
|
|
9
|
+
readonly retryable: boolean;
|
|
10
|
+
constructor(cause: DeeplineError, operationKey?: string, options?: {
|
|
11
|
+
recoveryAvailable?: boolean;
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Thrown when the API rejects the request due to an invalid or missing API key.
|
|
17
|
+
*
|
|
18
|
+
* This maps to HTTP 401 responses. HTTP 403 means the caller was authenticated
|
|
19
|
+
* but lacks permission, so the SDK preserves the server's API error instead.
|
|
20
|
+
* The SDK never retries auth errors —
|
|
21
|
+
* they fail immediately.
|
|
22
|
+
*
|
|
23
|
+
* Fix: run `deepline auth register` to obtain a valid key, or pass one via
|
|
24
|
+
* the `apiKey` option or `DEEPLINE_API_KEY` environment variable.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import { AuthError } from 'deepline';
|
|
29
|
+
*
|
|
30
|
+
* try {
|
|
31
|
+
* await client.listTools();
|
|
32
|
+
* } catch (err) {
|
|
33
|
+
* if (err instanceof AuthError) {
|
|
34
|
+
* // Redirect user to auth flow
|
|
35
|
+
* }
|
|
36
|
+
* }
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* @sdkReference errors 090
|
|
40
|
+
*/
|
|
41
|
+
declare class AuthError extends DeeplineError {
|
|
42
|
+
/** Constructed by the SDK when Deepline rejects the caller's credentials. */
|
|
43
|
+
constructor(message?: string);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Thrown when the API returns HTTP 429 (Too Many Requests).
|
|
47
|
+
*
|
|
48
|
+
* The SDK retries rate-limited requests automatically up to `maxRetries` times
|
|
49
|
+
* with exponential backoff. This error is only thrown when all retries are exhausted.
|
|
50
|
+
*
|
|
51
|
+
* Use {@link RateLimitError.retryAfterMs} to implement your own backoff if needed.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import { RateLimitError } from 'deepline';
|
|
56
|
+
*
|
|
57
|
+
* try {
|
|
58
|
+
* await client.executeTool('dropleads_search_people', { query: 'cto' });
|
|
59
|
+
* } catch (err) {
|
|
60
|
+
* if (err instanceof RateLimitError) {
|
|
61
|
+
* console.log(`Retry after ${err.retryAfterMs}ms`);
|
|
62
|
+
* await sleep(err.retryAfterMs);
|
|
63
|
+
* // retry...
|
|
64
|
+
* }
|
|
65
|
+
* }
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @sdkReference errors 100
|
|
69
|
+
*/
|
|
70
|
+
declare class RateLimitError extends DeeplineError {
|
|
71
|
+
/** Milliseconds to wait before retrying, from the `Retry-After` response header. Defaults to 5000. */
|
|
72
|
+
retryAfterMs: number;
|
|
73
|
+
/** Constructed by the SDK after exhausting HTTP-level rate-limit retries. */
|
|
74
|
+
constructor(retryAfterMs?: number, message?: string);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Tool-specific 429 preserving both historical RateLimitError catches and the
|
|
78
|
+
* structured ToolExecutionError ontology. JavaScript has one prototype chain,
|
|
79
|
+
* so this class extends RateLimitError and carries ToolExecutionError's stable
|
|
80
|
+
* cross-bundle brand.
|
|
81
|
+
*
|
|
82
|
+
* This class appears in external SDK calls after HTTP 429 retries are
|
|
83
|
+
* exhausted. It also satisfies `instanceof ToolExecutionError` and, for a
|
|
84
|
+
* provider-owned rate limit, `instanceof ProviderTransientError`. Authored
|
|
85
|
+
* Plays should use `ProviderTransientError`; they do not need this
|
|
86
|
+
* compatibility class.
|
|
87
|
+
*
|
|
88
|
+
* @sdkReference errors 110
|
|
89
|
+
*/
|
|
90
|
+
declare class ToolRateLimitError extends RateLimitError {
|
|
91
|
+
/** Public tool id passed to `tools.execute`. */
|
|
92
|
+
readonly toolId: string;
|
|
93
|
+
/** Provider responsible for the operation, or `null`. */
|
|
94
|
+
readonly provider: string | null;
|
|
95
|
+
/** Provider operation name, or `null`. */
|
|
96
|
+
readonly operation: string | null;
|
|
97
|
+
/** Stable machine-readable failure code when one exists. */
|
|
98
|
+
readonly code: string | undefined;
|
|
99
|
+
/** Boundary responsible for the failure. */
|
|
100
|
+
readonly origin: ToolExecutionError['origin'];
|
|
101
|
+
/** Stable reason family for policy and diagnostics. */
|
|
102
|
+
readonly category: ToolExecutionError['category'];
|
|
103
|
+
/** Whether repeating the same semantic call is delivery-safe. */
|
|
104
|
+
readonly retryable: boolean;
|
|
105
|
+
/** Provider or Deepline request id, or `null`. */
|
|
106
|
+
readonly requestId: string | null;
|
|
107
|
+
/** Network failure kind, or `null` for non-network failures. */
|
|
108
|
+
readonly networkKind: ToolExecutionError['networkKind'];
|
|
109
|
+
/** Network boundary that failed, or `null` for non-network failures. */
|
|
110
|
+
readonly networkScope: ToolExecutionError['networkScope'];
|
|
111
|
+
/** Explicitly allowlisted diagnostics safe for SDK callers. */
|
|
112
|
+
readonly publicDetails: ToolExecutionError['publicDetails'];
|
|
113
|
+
/** Constructed by the SDK after a structured tool HTTP 429. */
|
|
114
|
+
constructor(message: string, options: ToolExecutionErrorOptions);
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Thrown when the SDK cannot resolve a valid configuration.
|
|
118
|
+
*
|
|
119
|
+
* Most commonly: no API key found in any of the resolution sources
|
|
120
|
+
* (explicit option, environment variable, CLI env files).
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* ```typescript
|
|
124
|
+
* import { ConfigError } from 'deepline';
|
|
125
|
+
*
|
|
126
|
+
* try {
|
|
127
|
+
* const client = new DeeplineClient();
|
|
128
|
+
* } catch (err) {
|
|
129
|
+
* if (err instanceof ConfigError) {
|
|
130
|
+
* console.error('Run: deepline auth register');
|
|
131
|
+
* }
|
|
132
|
+
* }
|
|
133
|
+
* ```
|
|
134
|
+
*
|
|
135
|
+
* @sdkReference errors 120
|
|
136
|
+
*/
|
|
137
|
+
declare class ConfigError extends DeeplineError {
|
|
138
|
+
/** Construct a local SDK configuration failure. */
|
|
139
|
+
constructor(message: string);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export { AuthError as A, ConfigError as C, RateLimitError as R, ToolRateLimitError as T, CustomerDbQueryOutcomeUnknownError as a };
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/// <reference path="./text-imports.d.ts" />
|
|
2
|
+
import { D as DeeplineError, T as ToolExecutionError, e as ToolExecutionErrorOptions } from './compiler-manifest-Dcyd3-Zd.js';
|
|
3
|
+
|
|
4
|
+
/** SQL may have committed, but its response was not confirmed. */
|
|
5
|
+
declare class CustomerDbQueryOutcomeUnknownError extends DeeplineError {
|
|
6
|
+
readonly cause: DeeplineError;
|
|
7
|
+
readonly outcome: "unknown";
|
|
8
|
+
readonly operationKey?: string;
|
|
9
|
+
readonly retryable: boolean;
|
|
10
|
+
constructor(cause: DeeplineError, operationKey?: string, options?: {
|
|
11
|
+
recoveryAvailable?: boolean;
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Thrown when the API rejects the request due to an invalid or missing API key.
|
|
17
|
+
*
|
|
18
|
+
* This maps to HTTP 401 responses. HTTP 403 means the caller was authenticated
|
|
19
|
+
* but lacks permission, so the SDK preserves the server's API error instead.
|
|
20
|
+
* The SDK never retries auth errors —
|
|
21
|
+
* they fail immediately.
|
|
22
|
+
*
|
|
23
|
+
* Fix: run `deepline auth register` to obtain a valid key, or pass one via
|
|
24
|
+
* the `apiKey` option or `DEEPLINE_API_KEY` environment variable.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import { AuthError } from 'deepline';
|
|
29
|
+
*
|
|
30
|
+
* try {
|
|
31
|
+
* await client.listTools();
|
|
32
|
+
* } catch (err) {
|
|
33
|
+
* if (err instanceof AuthError) {
|
|
34
|
+
* // Redirect user to auth flow
|
|
35
|
+
* }
|
|
36
|
+
* }
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* @sdkReference errors 090
|
|
40
|
+
*/
|
|
41
|
+
declare class AuthError extends DeeplineError {
|
|
42
|
+
/** Constructed by the SDK when Deepline rejects the caller's credentials. */
|
|
43
|
+
constructor(message?: string);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Thrown when the API returns HTTP 429 (Too Many Requests).
|
|
47
|
+
*
|
|
48
|
+
* The SDK retries rate-limited requests automatically up to `maxRetries` times
|
|
49
|
+
* with exponential backoff. This error is only thrown when all retries are exhausted.
|
|
50
|
+
*
|
|
51
|
+
* Use {@link RateLimitError.retryAfterMs} to implement your own backoff if needed.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import { RateLimitError } from 'deepline';
|
|
56
|
+
*
|
|
57
|
+
* try {
|
|
58
|
+
* await client.executeTool('dropleads_search_people', { query: 'cto' });
|
|
59
|
+
* } catch (err) {
|
|
60
|
+
* if (err instanceof RateLimitError) {
|
|
61
|
+
* console.log(`Retry after ${err.retryAfterMs}ms`);
|
|
62
|
+
* await sleep(err.retryAfterMs);
|
|
63
|
+
* // retry...
|
|
64
|
+
* }
|
|
65
|
+
* }
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @sdkReference errors 100
|
|
69
|
+
*/
|
|
70
|
+
declare class RateLimitError extends DeeplineError {
|
|
71
|
+
/** Milliseconds to wait before retrying, from the `Retry-After` response header. Defaults to 5000. */
|
|
72
|
+
retryAfterMs: number;
|
|
73
|
+
/** Constructed by the SDK after exhausting HTTP-level rate-limit retries. */
|
|
74
|
+
constructor(retryAfterMs?: number, message?: string);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Tool-specific 429 preserving both historical RateLimitError catches and the
|
|
78
|
+
* structured ToolExecutionError ontology. JavaScript has one prototype chain,
|
|
79
|
+
* so this class extends RateLimitError and carries ToolExecutionError's stable
|
|
80
|
+
* cross-bundle brand.
|
|
81
|
+
*
|
|
82
|
+
* This class appears in external SDK calls after HTTP 429 retries are
|
|
83
|
+
* exhausted. It also satisfies `instanceof ToolExecutionError` and, for a
|
|
84
|
+
* provider-owned rate limit, `instanceof ProviderTransientError`. Authored
|
|
85
|
+
* Plays should use `ProviderTransientError`; they do not need this
|
|
86
|
+
* compatibility class.
|
|
87
|
+
*
|
|
88
|
+
* @sdkReference errors 110
|
|
89
|
+
*/
|
|
90
|
+
declare class ToolRateLimitError extends RateLimitError {
|
|
91
|
+
/** Public tool id passed to `tools.execute`. */
|
|
92
|
+
readonly toolId: string;
|
|
93
|
+
/** Provider responsible for the operation, or `null`. */
|
|
94
|
+
readonly provider: string | null;
|
|
95
|
+
/** Provider operation name, or `null`. */
|
|
96
|
+
readonly operation: string | null;
|
|
97
|
+
/** Stable machine-readable failure code when one exists. */
|
|
98
|
+
readonly code: string | undefined;
|
|
99
|
+
/** Boundary responsible for the failure. */
|
|
100
|
+
readonly origin: ToolExecutionError['origin'];
|
|
101
|
+
/** Stable reason family for policy and diagnostics. */
|
|
102
|
+
readonly category: ToolExecutionError['category'];
|
|
103
|
+
/** Whether repeating the same semantic call is delivery-safe. */
|
|
104
|
+
readonly retryable: boolean;
|
|
105
|
+
/** Provider or Deepline request id, or `null`. */
|
|
106
|
+
readonly requestId: string | null;
|
|
107
|
+
/** Network failure kind, or `null` for non-network failures. */
|
|
108
|
+
readonly networkKind: ToolExecutionError['networkKind'];
|
|
109
|
+
/** Network boundary that failed, or `null` for non-network failures. */
|
|
110
|
+
readonly networkScope: ToolExecutionError['networkScope'];
|
|
111
|
+
/** Explicitly allowlisted diagnostics safe for SDK callers. */
|
|
112
|
+
readonly publicDetails: ToolExecutionError['publicDetails'];
|
|
113
|
+
/** Constructed by the SDK after a structured tool HTTP 429. */
|
|
114
|
+
constructor(message: string, options: ToolExecutionErrorOptions);
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Thrown when the SDK cannot resolve a valid configuration.
|
|
118
|
+
*
|
|
119
|
+
* Most commonly: no API key found in any of the resolution sources
|
|
120
|
+
* (explicit option, environment variable, CLI env files).
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* ```typescript
|
|
124
|
+
* import { ConfigError } from 'deepline';
|
|
125
|
+
*
|
|
126
|
+
* try {
|
|
127
|
+
* const client = new DeeplineClient();
|
|
128
|
+
* } catch (err) {
|
|
129
|
+
* if (err instanceof ConfigError) {
|
|
130
|
+
* console.error('Run: deepline auth register');
|
|
131
|
+
* }
|
|
132
|
+
* }
|
|
133
|
+
* ```
|
|
134
|
+
*
|
|
135
|
+
* @sdkReference errors 120
|
|
136
|
+
*/
|
|
137
|
+
declare class ConfigError extends DeeplineError {
|
|
138
|
+
/** Construct a local SDK configuration failure. */
|
|
139
|
+
constructor(message: string);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export { AuthError as A, ConfigError as C, RateLimitError as R, ToolRateLimitError as T, CustomerDbQueryOutcomeUnknownError as a };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import {
|
|
2
|
+
import { p as PlayBundleArtifact, t as PlaySandboxRuntimeDeclaration, u as PlayCompilerManifest, v as PlayArtifactKind, o as PlayArtifactCompatibility } from './compiler-manifest-Dcyd3-Zd.mjs';
|
|
3
3
|
|
|
4
4
|
type ImportedPlayDependency = {
|
|
5
5
|
filePath: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import {
|
|
2
|
+
import { p as PlayBundleArtifact, t as PlaySandboxRuntimeDeclaration, u as PlayCompilerManifest, v as PlayArtifactKind, o as PlayArtifactCompatibility } from './compiler-manifest-Dcyd3-Zd.js';
|
|
3
3
|
|
|
4
4
|
type ImportedPlayDependency = {
|
|
5
5
|
filePath: string;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
4
|
-
import {
|
|
5
|
-
export {
|
|
6
|
-
import {
|
|
2
|
+
import { w as PlayAuthoringFetchResponse, x as ToolExecuteResult, y as BasicToolExecuteResult, z as PlayDataset, A as AsyncPlayRunRef$1, C as PlayAuthoringColumnMap, E as PlayAuthoringColumnResolver, F as PlayAuthoringRuntimeContext, G as PlayAuthoringConditionalStepResolver, H as PlayAuthoringCsvInput, I as PlayAuthoringCsvOptions, J as PlayAuthoringDatasetBuilder, K as PlayAuthoringDatasetColumnDefinition, L as PlayAuthoringDatasetColumnRunInput, M as PlayAuthoringReferenceLike, N as PlayReturnObject$1, O as PlayAuthoringDefineConfig, Q as PlayAuthoringDefinedPlay, R as PlayAuthoringFetchOptions, S as PlayAuthoringFileInput, U as PlayAuthoringAsyncCallOptions, V as PlayAuthoringBindings, W as PlayAuthoringCallExecution, X as PlayAuthoringCallOptions, Y as PlayAuthoringInputContract, Z as PlayRunId$1, _ as PlayAuthoringStepProgramStep, $ as PlayAuthoringRuntimeStepOptions, a0 as PlaySqlListenerDeclaration, a1 as PlaySqlListenerEvent, a2 as PlaySqlListenerOperation, a3 as PlaySqlQuery, a4 as PlayAuthoringStepOptions, a5 as PlayAuthoringStepProgram, a6 as PlayAuthoringStepProgramResolver, a7 as PlayAuthoringStepResolver, a8 as PlayToolExecutionRequest, a9 as PlayAuthoringStepProgramOptions } from './compiler-manifest-Dcyd3-Zd.mjs';
|
|
3
|
+
export { B as BillingEntitlements, aa as DEEPLINE_EXTRACTOR_TARGETS, ab as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, ac as DeeplineEmailStatusGetterValue, D as DeeplineError, ad as DeeplineExtractorTarget, ae as DeeplineGetterValue, af as DeeplineGetterValueMap, ag as JOB_CHANGE_STATUS_VALUES, ah as JobChangeStatus, ai as PHONE_STATUS_VALUES, aj as PhoneStatus, ak as PlayDatasetInput, al as PreviousCell, 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, am as ToolResultBilling, k as getProviderUnavailableReason, an as isDeeplineExtractorTarget, l as isProviderUnavailable, m as isProviderWaterfallUnavailableError } from './compiler-manifest-Dcyd3-Zd.mjs';
|
|
4
|
+
import { a as DeeplineClientOptions, i as BillingNamespace, cQ as ToolDefinition, cU as ToolMetadata, d3 as ExecuteToolRawOptions, Q as ExecutionRecovery, P as ExecutionByKeyResult, bb as PlayListItem, ba as PlayDetail, bi as PlayRunListItem, be as PlayRevisionSummary, bM as PublishPlayVersionResult, E as ClearPlayHistoryResult, bx as PlayStatus, cE as StopPlayRunResult, bQ as ResolvedConfig } from './client-core-DzBSlY1U.mjs';
|
|
5
|
+
export { d as BillingCreditPool, e as BillingInvoiceEntry, f as BillingInvoicesResult, j as BillingPaymentMethodSummary, 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, F as CreateNotificationGroupInput, G as CreateNotificationGroupResult, d4 as CustomerDbQueryOptions, d5 as CustomerDbQueryPlan, J as CustomerDbQueryResult, d6 as DEEPLINE_TOOL_CATEGORIES, K as DbNamespace, M as DeeplineToolCategory, Y as IngestionStorageRepairResult, Z as LegacyMonitorStatusFilter, _ as LiveEventEnvelope, a0 as MONITOR_JOB_PHASES, a1 as MONITOR_JOB_RECONCILIATION_STATES, a2 as MONITOR_JOB_STATES, a7 as MonitorBatchNamespace, ab as MonitorCheckResult, d7 as MonitorDefinition, 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, as as MonitorJobReconciliationState, at as MonitorJobResult, au as MonitorJobState, av as MonitorJobWaitOptions, aw as MonitorJobsNamespace, ay as MonitorListEntry, d8 as MonitorPayload, aC as MonitorPreviewOptions, aD as MonitorPreviewResult, aE as MonitorReactivateResult, aF as MonitorSpec, aG as MonitorState, aH as MonitorStateFilter, aK as MonitorUpdateChangeSummary, aL as MonitorUpdateResult, aN as MonitorsAccessStatus, aP as MonitorsAvailableOptions, aQ as MonitorsAvailableResult, aS as MonitorsListOptions, aT as MonitorsListResult, aU as MonitorsNamespace, d9 as NormalizedRunEventQuery, aW as PlayActivityObservation, aX as PlayActivityState, aY as PlayActivityTarget, b7 as PlayCostEstimate, da as PlayCronTriggerConfig, db as PlayDescriptionOptions, bc as PlayLiveEvent, dc as PlayPath, bf as PlayRunActionPackage, bg as PlayRunActivityProjection, bh as PlayRunDatasetActions, bk as PlayRunPackage, bl as PlayRunResult, bm as PlayRunRowHistoryOptions, bn as PlayRunStart, dd as PlaySettings, de as PlaySettingsPatch, df as PlaySettingsPathsPage, dg as PlaySettingsResult, bt as PlaySheetRow, bu as PlaySheetRowsResult, dh as PlayTriggerConfigUpdate, di as PlayTriggerConfigUpdateResult, dj as PlayTriggerConfigView, dk as PlayWebhookAuthConfig, dl as PlayWebhookTriggerConfig, bz as PlaysActivityResponse, bA as PlaysListOptions, bB as PlaysListPage, bL as PublishPlayVersionRequest, bO as RerunOptions, bP as RerunPlayRunResult, bU as RunChildrenPage, dm as RunEventCountResult, dn as RunEventField, dp as RunEventFieldDescriptor, dq as RunEventFieldOperators, dr as RunEventFieldsResult, ds as RunEventGroupValue, dt as RunEventMeasure, du as RunEventQueryCriteria, dv as RunEventQueryEvent, dw as RunEventQueryInputError, dx as RunEventQueryOptions, dy as RunEventQueryPage, dz as RunEventQueryRetention, dA as RunEventScalar, dB as RunEventSummaryOptions, dC as RunEventSummaryResult, dD as RunEventWhere, bW as RunLifecycleStatus, dE as RunToolReceiptResult, dF as RunToolReceiptsResponse, bX as RunsChildrenOptions, bY as RunsEventPayload, bZ as RunsEventSearchEntry, b_ as RunsEventSearchOptions, b$ as RunsEventSearchResult, c0 as RunsEventsCountResult, c1 as RunsEventsCriteria, c2 as RunsEventsFieldsOptions, c3 as RunsEventsListOptions, c4 as RunsEventsListResult, c5 as RunsEventsNamespace, c6 as RunsEventsSummaryOptions, c7 as RunsEventsSummaryResult, c9 as RunsHistoryItem, ca as RunsHistoryOptions, cb as RunsHistoryPage, cc as RunsListOptions, cd as RunsListPage, ce as RunsLogCriteria, cf as RunsLogsCountResult, cg as RunsLogsNamespace, ch as RunsLogsOptions, ci as RunsLogsQueryOptions, cj as RunsLogsQueryResult, ck as RunsLogsResult, cl as RunsLogsSummaryOptions, cm as RunsLogsSummaryResult, cn as RunsNamespace, co as RunsTailOptions, cp as RunsWatchOptions, cq as SearchOptions, cr as SearchResult, cs as SearchResultItem, ct as SearchType, cy as StartPlayRunRequest, cz as StopAllCandidate, cA as StopAllPlayRunsDryRunResult, cB as StopAllPlayRunsResult, cC as StopAllPlayRunsStopResult, cD as StopAllRunsOptions, cO as ToolCategoryListing, cP as ToolCategorySummary, cR as ToolExecution, cW as ToolRequestCondition, cX as ToolRequestWarningRule, cY as ToolSearchOptions, cZ as ToolSearchResult, d0 as WorkspaceCreateResult, d1 as WorkspacesNamespace, dG as defineMonitor, d2 as isStopAllPlayRunsDryRunResult, dH as planCustomerDbQuery } from './client-core-DzBSlY1U.mjs';
|
|
6
|
+
import { D as DeeplineClient } from './client-DTwnz_AW.mjs';
|
|
7
|
+
import { b as BundledPlayFileSuccess } from './index-C6oXchjN.mjs';
|
|
7
8
|
export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.mjs';
|
|
8
9
|
export { AdmittedMonitorFleetAuthoringContract, MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG, MONITOR_FLEET_AUTHORING_CONTRACT_EDITION, MONITOR_FLEET_DOCUMENTATION, MONITOR_FLEET_FRONTIER_MAX_ROWS, MONITOR_FLEET_MAX_MEMBERS, MonitorFleetAuthoringContractEdition, MonitorFleetAuthoringContractResult, MonitorFleetColumn, MonitorFleetContractIssue, MonitorFleetDefinition, MonitorFleetExpression, MonitorFleetTemplate, admitMonitorFleetAuthoringContract, defineMonitorFleet, fleetColumn, fleetKey, lintMonitorFleetInput, validateMonitorFleetDefinition } from './monitor-fleet-contract.mjs';
|
|
10
|
+
export { A as AuthError, C as ConfigError, a as CustomerDbQueryOutcomeUnknownError, R as RateLimitError, T as ToolRateLimitError } from './errors-d-sTrZhe.mjs';
|
|
9
11
|
import '@sinclair/typebox';
|
|
10
12
|
import 'zod';
|
|
11
13
|
|
|
@@ -248,8 +250,8 @@ type DeeplinePlayRuntimeContext = PlayAuthoringRuntimeContext<'array'>;
|
|
|
248
250
|
* ```
|
|
249
251
|
*
|
|
250
252
|
* ```bash
|
|
251
|
-
* deepline
|
|
252
|
-
* deepline
|
|
253
|
+
* deepline run lookup.play.ts --input '{"domain":"stripe.com"}'
|
|
254
|
+
* deepline run -e 'deepline.log("hello"); return { ok: true };'
|
|
253
255
|
* ```
|
|
254
256
|
*
|
|
255
257
|
* Compose with `import child from './child.play'` and
|
|
@@ -293,7 +295,7 @@ declare function runScriptPlay(context: DeeplinePlayRuntimeContext, input: unkno
|
|
|
293
295
|
declare const deepline: ScriptPlayContext;
|
|
294
296
|
/**
|
|
295
297
|
* Handle to a Play execution: inspect status, stream logs, await output, or cancel.
|
|
296
|
-
* Like `deepline
|
|
298
|
+
* Like `deepline run` and `POST /api/v2/plays/run`, it returns a run id first.
|
|
297
299
|
* Read completed output through `PlayJob.get()` or the status endpoint's `result` field;
|
|
298
300
|
* runtime logs in `status().progress.logs` are separate from that output.
|
|
299
301
|
*
|
|
@@ -786,144 +788,6 @@ declare const SDK_VERSION: string;
|
|
|
786
788
|
/** @deprecated Transitional wire id for pre-major-header SDKs only. */
|
|
787
789
|
declare const SDK_API_CONTRACT: string;
|
|
788
790
|
|
|
789
|
-
/** SQL may have committed, but its response was not confirmed. */
|
|
790
|
-
declare class CustomerDbQueryOutcomeUnknownError extends DeeplineError {
|
|
791
|
-
readonly cause: DeeplineError;
|
|
792
|
-
readonly outcome: "unknown";
|
|
793
|
-
readonly operationKey?: string;
|
|
794
|
-
readonly retryable: boolean;
|
|
795
|
-
constructor(cause: DeeplineError, operationKey?: string, options?: {
|
|
796
|
-
recoveryAvailable?: boolean;
|
|
797
|
-
});
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
/**
|
|
801
|
-
* Thrown when the API rejects the request due to an invalid or missing API key.
|
|
802
|
-
*
|
|
803
|
-
* This maps to HTTP 401 responses. HTTP 403 means the caller was authenticated
|
|
804
|
-
* but lacks permission, so the SDK preserves the server's API error instead.
|
|
805
|
-
* The SDK never retries auth errors —
|
|
806
|
-
* they fail immediately.
|
|
807
|
-
*
|
|
808
|
-
* Fix: run `deepline auth register` to obtain a valid key, or pass one via
|
|
809
|
-
* the `apiKey` option or `DEEPLINE_API_KEY` environment variable.
|
|
810
|
-
*
|
|
811
|
-
* @example
|
|
812
|
-
* ```typescript
|
|
813
|
-
* import { AuthError } from 'deepline';
|
|
814
|
-
*
|
|
815
|
-
* try {
|
|
816
|
-
* await client.listTools();
|
|
817
|
-
* } catch (err) {
|
|
818
|
-
* if (err instanceof AuthError) {
|
|
819
|
-
* // Redirect user to auth flow
|
|
820
|
-
* }
|
|
821
|
-
* }
|
|
822
|
-
* ```
|
|
823
|
-
*
|
|
824
|
-
* @sdkReference errors 090
|
|
825
|
-
*/
|
|
826
|
-
declare class AuthError extends DeeplineError {
|
|
827
|
-
/** Constructed by the SDK when Deepline rejects the caller's credentials. */
|
|
828
|
-
constructor(message?: string);
|
|
829
|
-
}
|
|
830
|
-
/**
|
|
831
|
-
* Thrown when the API returns HTTP 429 (Too Many Requests).
|
|
832
|
-
*
|
|
833
|
-
* The SDK retries rate-limited requests automatically up to `maxRetries` times
|
|
834
|
-
* with exponential backoff. This error is only thrown when all retries are exhausted.
|
|
835
|
-
*
|
|
836
|
-
* Use {@link RateLimitError.retryAfterMs} to implement your own backoff if needed.
|
|
837
|
-
*
|
|
838
|
-
* @example
|
|
839
|
-
* ```typescript
|
|
840
|
-
* import { RateLimitError } from 'deepline';
|
|
841
|
-
*
|
|
842
|
-
* try {
|
|
843
|
-
* await client.executeTool('dropleads_search_people', { query: 'cto' });
|
|
844
|
-
* } catch (err) {
|
|
845
|
-
* if (err instanceof RateLimitError) {
|
|
846
|
-
* console.log(`Retry after ${err.retryAfterMs}ms`);
|
|
847
|
-
* await sleep(err.retryAfterMs);
|
|
848
|
-
* // retry...
|
|
849
|
-
* }
|
|
850
|
-
* }
|
|
851
|
-
* ```
|
|
852
|
-
*
|
|
853
|
-
* @sdkReference errors 100
|
|
854
|
-
*/
|
|
855
|
-
declare class RateLimitError extends DeeplineError {
|
|
856
|
-
/** Milliseconds to wait before retrying, from the `Retry-After` response header. Defaults to 5000. */
|
|
857
|
-
retryAfterMs: number;
|
|
858
|
-
/** Constructed by the SDK after exhausting HTTP-level rate-limit retries. */
|
|
859
|
-
constructor(retryAfterMs?: number, message?: string);
|
|
860
|
-
}
|
|
861
|
-
/**
|
|
862
|
-
* Tool-specific 429 preserving both historical RateLimitError catches and the
|
|
863
|
-
* structured ToolExecutionError ontology. JavaScript has one prototype chain,
|
|
864
|
-
* so this class extends RateLimitError and carries ToolExecutionError's stable
|
|
865
|
-
* cross-bundle brand.
|
|
866
|
-
*
|
|
867
|
-
* This class appears in external SDK calls after HTTP 429 retries are
|
|
868
|
-
* exhausted. It also satisfies `instanceof ToolExecutionError` and, for a
|
|
869
|
-
* provider-owned rate limit, `instanceof ProviderTransientError`. Authored
|
|
870
|
-
* Plays should use `ProviderTransientError`; they do not need this
|
|
871
|
-
* compatibility class.
|
|
872
|
-
*
|
|
873
|
-
* @sdkReference errors 110
|
|
874
|
-
*/
|
|
875
|
-
declare class ToolRateLimitError extends RateLimitError {
|
|
876
|
-
/** Public tool id passed to `tools.execute`. */
|
|
877
|
-
readonly toolId: string;
|
|
878
|
-
/** Provider responsible for the operation, or `null`. */
|
|
879
|
-
readonly provider: string | null;
|
|
880
|
-
/** Provider operation name, or `null`. */
|
|
881
|
-
readonly operation: string | null;
|
|
882
|
-
/** Stable machine-readable failure code when one exists. */
|
|
883
|
-
readonly code: string | undefined;
|
|
884
|
-
/** Boundary responsible for the failure. */
|
|
885
|
-
readonly origin: ToolExecutionError['origin'];
|
|
886
|
-
/** Stable reason family for policy and diagnostics. */
|
|
887
|
-
readonly category: ToolExecutionError['category'];
|
|
888
|
-
/** Whether repeating the same semantic call is delivery-safe. */
|
|
889
|
-
readonly retryable: boolean;
|
|
890
|
-
/** Provider or Deepline request id, or `null`. */
|
|
891
|
-
readonly requestId: string | null;
|
|
892
|
-
/** Network failure kind, or `null` for non-network failures. */
|
|
893
|
-
readonly networkKind: ToolExecutionError['networkKind'];
|
|
894
|
-
/** Network boundary that failed, or `null` for non-network failures. */
|
|
895
|
-
readonly networkScope: ToolExecutionError['networkScope'];
|
|
896
|
-
/** Explicitly allowlisted diagnostics safe for SDK callers. */
|
|
897
|
-
readonly publicDetails: ToolExecutionError['publicDetails'];
|
|
898
|
-
/** Constructed by the SDK after a structured tool HTTP 429. */
|
|
899
|
-
constructor(message: string, options: ToolExecutionErrorOptions);
|
|
900
|
-
}
|
|
901
|
-
/**
|
|
902
|
-
* Thrown when the SDK cannot resolve a valid configuration.
|
|
903
|
-
*
|
|
904
|
-
* Most commonly: no API key found in any of the resolution sources
|
|
905
|
-
* (explicit option, environment variable, CLI env files).
|
|
906
|
-
*
|
|
907
|
-
* @example
|
|
908
|
-
* ```typescript
|
|
909
|
-
* import { ConfigError } from 'deepline';
|
|
910
|
-
*
|
|
911
|
-
* try {
|
|
912
|
-
* const client = new DeeplineClient();
|
|
913
|
-
* } catch (err) {
|
|
914
|
-
* if (err instanceof ConfigError) {
|
|
915
|
-
* console.error('Run: deepline auth register');
|
|
916
|
-
* }
|
|
917
|
-
* }
|
|
918
|
-
* ```
|
|
919
|
-
*
|
|
920
|
-
* @sdkReference errors 120
|
|
921
|
-
*/
|
|
922
|
-
declare class ConfigError extends DeeplineError {
|
|
923
|
-
/** Construct a local SDK configuration failure. */
|
|
924
|
-
constructor(message: string);
|
|
925
|
-
}
|
|
926
|
-
|
|
927
791
|
/** Production API base URL. */
|
|
928
792
|
declare const PROD_URL = "https://code.deepline.com";
|
|
929
793
|
declare function resolveConfig(options?: DeeplineClientOptions): ResolvedConfig;
|
|
@@ -1072,4 +936,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
|
|
|
1072
936
|
*/
|
|
1073
937
|
declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
|
|
1074
938
|
|
|
1075
|
-
export { type AsyncPlayRunRef,
|
|
939
|
+
export { type AsyncPlayRunRef, BillingNamespace, ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, type CsvInput, type CsvOptions, CtxFetchAmbiguousWriteError, CtxFetchHttpError, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, Deepline, DeeplineClient, DeeplineClientOptions, DeeplineContext, type DeeplineExecutionsNamespace, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCallOptions, type DeeplineToolExecuteResult, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, ExecutionByKeyResult, ExecutionRecovery, type FetchOptions, type FileInput, type LocalPlayGraph, PROD_URL, type PlayAsyncCallOptions, type PlayBindings, type PlayCallExecution, type PlayCallOptions, PlayDataset, type PlayFetchResponse, type PlayInputContract, type PlayJob, PlayListItem, type PlayReferenceLike, PlayRevisionSummary, type PlayRunId, PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, PublishPlayVersionResult, ResolvedConfig, RunObserveTransportUnavailableError, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type ScriptPlayContext, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, StopPlayRunResult, ToolDefinition, BasicToolExecuteResult as ToolExecuteResult, type ToolExecutionRequest, ToolMetadata, deepline, deepline as default, defineInput, definePlay, defineWorkflow, extractSummaryFields, getDefinedPlayMetadata, pinLocalPlayImports, planLocalPlayExecution, readList, resolveConfig, runIf, runScriptPlay, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
|