deepline 0.3.406 → 0.3.408
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.ts +56 -57
- package/dist/bundling-sources/sdk/src/play.ts +21 -5
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +27 -3
- package/dist/bundling-sources/shared_libs/play-runtime/admission-timings.ts +64 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +11 -1
- package/dist/bundling-sources/shared_libs/play-runtime/modal-runtime-config.ts +1 -4
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/projection/gateway-adapter.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +15 -6
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +275 -73
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +22 -4
- package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +10 -4
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +72 -0
- package/dist/bundling-sources/shared_libs/play-runtime/webhook-receipt-source-commit-retry.ts +90 -0
- package/dist/bundling-sources/shared_libs/play-runtime/worker-api-types.ts +5 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +6 -1
- package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +6 -0
- package/dist/cli/auth-3GB2K636.js +40 -0
- package/dist/cli/{auth-U7LIMXIS.mjs → auth-UVD3CUBB.mjs} +4 -4
- package/dist/cli/{billing-KGGS3444.mjs → billing-BZVTXXLM.mjs} +23 -16
- package/dist/cli/{billing-5ABVIJFU.js → billing-BZVYAF6T.js} +92 -85
- package/dist/cli/{chunk-KPU53YBB.js → chunk-2XXXFPTD.js} +67 -67
- package/dist/cli/{chunk-FQBKK5DG.js → chunk-3ZB6IIA7.js} +26 -26
- package/dist/cli/{chunk-5IGBBYXH.mjs → chunk-4CFULMRB.mjs} +73 -4
- package/dist/cli/{chunk-OPHLT4TM.mjs → chunk-4QFT5LGV.mjs} +2 -2
- package/dist/cli/{chunk-W2BAO4OR.js → chunk-4RNDKFNQ.js} +2 -2
- package/dist/cli/{chunk-GAMFK2ZP.mjs → chunk-67RWR34T.mjs} +10 -3
- package/dist/cli/{chunk-APLRSERF.js → chunk-AUMD2VXP.js} +60 -63
- package/dist/cli/{chunk-N6DJQQ2S.js → chunk-BRJUESQV.js} +50 -50
- package/dist/cli/{chunk-W3ZNQE5Y.js → chunk-D6FFBSM5.js} +1 -1
- package/dist/cli/{chunk-AYHLUHE5.js → chunk-E3PJF6YP.js} +6 -2
- package/dist/cli/{chunk-IE6IKRQA.js → chunk-ECVLPS67.js} +15 -15
- package/dist/cli/{chunk-QJBJZVG6.js → chunk-HQY2SG3K.js} +15 -8
- package/dist/cli/{chunk-2OFPPAUY.mjs → chunk-I3DHIXVJ.mjs} +4 -4
- package/dist/cli/{chunk-RXDJKAM2.mjs → chunk-IOHRWLQE.mjs} +6 -6
- package/dist/cli/{chunk-2MLY2ZBT.mjs → chunk-IWBXJDZA.mjs} +2 -2
- package/dist/cli/{chunk-URWF7NGQ.js → chunk-J5PTX66Y.js} +28 -14
- package/dist/cli/{chunk-7ZMVAV2B.mjs → chunk-LOYISF7S.mjs} +55 -58
- package/dist/cli/{chunk-T7YF4MQH.mjs → chunk-MJELBQBU.mjs} +4 -4
- package/dist/cli/{chunk-WJYPBHTE.js → chunk-OSFWFV72.js} +11 -4
- package/dist/cli/{chunk-ZI2ZNDJK.mjs → chunk-PYZZMAJQ.mjs} +28 -14
- package/dist/cli/{chunk-N43PX2CA.js → chunk-Q3LFI3VH.js} +8 -8
- package/dist/cli/{chunk-NYDRX6JJ.js → chunk-Q3PUHXOY.js} +99 -30
- package/dist/cli/{chunk-YSAZVLJD.js → chunk-QUAQX3FQ.js} +4 -4
- package/dist/cli/{chunk-4REBZQNK.js → chunk-RWCY6YI2.js} +53 -53
- package/dist/cli/{chunk-CGX4NSS3.mjs → chunk-SD7MXAJA.mjs} +1 -1
- package/dist/cli/{chunk-UFS752TU.mjs → chunk-SJVVBWRL.mjs} +5 -1
- package/dist/cli/{chunk-V3OTRWVK.mjs → chunk-URACNNLO.mjs} +2 -2
- package/dist/cli/{chunk-WXLOW623.mjs → chunk-WPAB4DCU.mjs} +14 -7
- package/dist/cli/{chunk-42RUJLQI.mjs → chunk-WTT6CLED.mjs} +1 -1
- package/dist/cli/{chunk-YLV6PT6B.mjs → chunk-XXLXOUUU.mjs} +1 -1
- package/dist/cli/{chunk-77UGRG6X.mjs → chunk-YMOFWHGO.mjs} +3 -3
- package/dist/cli/{chunk-EKS2FXL5.js → chunk-ZBABPK6Y.js} +8 -8
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-HXJAAW3H.mjs → csv-WPSXG6ZZ.mjs} +3 -3
- package/dist/cli/{csv-U36TIOKU.js → csv-XLGLHJ6P.js} +12 -12
- package/dist/cli/{db-T5MLQQWJ.js → db-5PTNJG4X.js} +25 -25
- package/dist/cli/{db-GRWD3JAC.mjs → db-ABS57ABJ.mjs} +4 -4
- package/dist/cli/{describe-NFX6THJE.js → describe-EZS6PQXA.js} +11 -11
- package/dist/cli/{describe-HXFEIZFO.mjs → describe-PVWQJ2PB.mjs} +7 -7
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-KBHTDL3A.js → executions-FNTAFQ7Y.js} +6 -6
- package/dist/cli/{executions-YGOS5E44.mjs → executions-OKJGATQZ.mjs} +4 -4
- package/dist/cli/{feedback-VP3GWJIH.js → feedback-6YBOMSUA.js} +7 -7
- package/dist/cli/{feedback-NEQGCSHB.mjs → feedback-W27HDMRR.mjs} +3 -3
- package/dist/cli/git-YKUXXJOR.js +24 -0
- package/dist/cli/{git-JJ3CHOTL.mjs → git-YOOUEL6M.mjs} +4 -4
- package/dist/cli/index.js +204 -127
- package/dist/cli/index.mjs +124 -47
- package/dist/cli/{legacy-noops-ITTD33ZN.js → legacy-noops-2VZ7XT6C.js} +7 -7
- package/dist/cli/{legacy-noops-A6KGBODU.mjs → legacy-noops-V6OKW7VR.mjs} +4 -4
- package/dist/cli/{monitors-DXVP5YFC.js → monitors-FBWGVIUS.js} +84 -84
- package/dist/cli/{monitors-NGEXCUEY.mjs → monitors-P2YYWTWT.mjs} +4 -4
- package/dist/cli/{org-C4ZTOSQC.js → org-3XUSVX5T.js} +64 -64
- package/dist/cli/{org-34DBJSFP.mjs → org-DVMG6H3C.mjs} +4 -4
- package/dist/cli/{play-SVLQKZBG.mjs → play-GNC5CQAS.mjs} +70 -18
- package/dist/cli/{play-5FWTZCHN.js → play-YG5L4BWQ.js} +345 -293
- package/dist/cli/{providers-QWR2HRNY.js → providers-7PSWG2OV.js} +7 -7
- package/dist/cli/{providers-RQTSGYE4.mjs → providers-JR33SLWL.mjs} +4 -4
- package/dist/cli/{quickstart-DHFNEMGY.js → quickstart-FDVZ5BL3.js} +5 -5
- package/dist/cli/{quickstart-W5UHZAEU.mjs → quickstart-VUOBQYIQ.mjs} +3 -3
- package/dist/cli/{search-U4AJC3FH.mjs → search-JZYLO33K.mjs} +5 -5
- package/dist/cli/search-PPPYC5OZ.js +30 -0
- package/dist/cli/{secrets-YSMQ7CVZ.mjs → secrets-3MCYBT4I.mjs} +4 -4
- package/dist/cli/{secrets-HH4H7BLE.js → secrets-VS266FVA.js} +13 -13
- package/dist/cli/{sessions-URONRCTV.mjs → sessions-ELLLT23E.mjs} +4 -4
- package/dist/cli/{sessions-AJZXYUCJ.js → sessions-TEHEWW7O.js} +5 -5
- package/dist/cli/{settings-QAW62BH4.js → settings-7364NMMA.js} +75 -75
- package/dist/cli/{settings-KGAMW4MN.mjs → settings-PZCKAFII.mjs} +8 -8
- package/dist/cli/{setup-P54DPBFO.mjs → setup-A7GQ4KIA.mjs} +7 -7
- package/dist/cli/{setup-KAMFU5VE.js → setup-PMWYLCT6.js} +42 -42
- package/dist/cli/skills-SYS7VRRK.js +29 -0
- package/dist/cli/{skills-UMWRJ6TL.mjs → skills-WS6BIFPQ.mjs} +5 -5
- package/dist/cli/{tools-HN4EFVY7.mjs → tools-BR4DOZA2.mjs} +7 -7
- package/dist/cli/{tools-HX3BHT55.js → tools-KK4BKVQR.js} +8 -8
- package/dist/cli/update-2IV5JTX2.js +29 -0
- package/dist/cli/{update-7AFQCJ75.mjs → update-D2B7UNFT.mjs} +7 -7
- package/dist/cli/{workflow-7EHU5ZPX.js → workflow-6ODTCYXU.js} +15 -15
- package/dist/cli/{workflow-ARDO4VHU.mjs → workflow-PQXC2R47.mjs} +5 -5
- package/dist/{client-Db1jFLpF.d.ts → client-BcvhDfJJ.d.ts} +80 -58
- package/dist/{client-Buv1_ktG.d.mts → client-Z9Pye1Wm.d.mts} +80 -58
- package/dist/{compiler-manifest-N77W75Py.d.ts → compiler-manifest-Ycx-hoAr.d.mts} +8 -1
- package/dist/{compiler-manifest-N77W75Py.d.mts → compiler-manifest-Ycx-hoAr.d.ts} +8 -1
- package/dist/{index-3WOfyVhW.d.mts → index-CZXgiN3E.d.mts} +1 -1
- package/dist/{index-CtIJFTCl.d.ts → index-NPG5pqxQ.d.ts} +1 -1
- package/dist/index.d.mts +13 -10
- package/dist/index.d.ts +13 -10
- package/dist/index.js +28 -11
- package/dist/index.mjs +25 -8
- package/dist/install-integrity.json +86 -84
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- 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/package.json +1 -1
- package/dist/cli/auth-K5QAZH42.js +0 -40
- package/dist/cli/git-63RYCZSI.js +0 -24
- package/dist/cli/search-YAYYU3WD.js +0 -30
- package/dist/cli/skills-M2GGHYJU.js +0 -29
- package/dist/cli/update-I23NN5QI.js +0 -29
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { g as PlayCompilerManifest, ak as ToolResultBilling, Y as BillingEntitlements, ap as BillingBenefitValues } from './compiler-manifest-
|
|
2
|
+
import { g as PlayCompilerManifest, ak as ToolResultBilling, Y as BillingEntitlements, ap as BillingBenefitValues } from './compiler-manifest-Ycx-hoAr.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { MonitorFleetDefinition } from './monitor-fleet-contract.js';
|
|
5
5
|
|
|
@@ -2492,9 +2492,10 @@ interface StopPlayRunResult {
|
|
|
2492
2492
|
/** True if HITL state or its same-message Slack card still needs retrying. */
|
|
2493
2493
|
hitlCancellationPending?: boolean;
|
|
2494
2494
|
/**
|
|
2495
|
-
* True only when the scheduler and the canonical run ledger disagree
|
|
2496
|
-
*
|
|
2497
|
-
*
|
|
2495
|
+
* True only when the scheduler and the canonical run ledger disagree and
|
|
2496
|
+
* the server could not confirm the stop.
|
|
2497
|
+
* For example, the scheduler can report a terminal run while the ledger
|
|
2498
|
+
* projection is pending. This field is never true for a queued cancellation.
|
|
2498
2499
|
*/
|
|
2499
2500
|
staleSchedulerState?: boolean;
|
|
2500
2501
|
/** Server-side error detail when the stop failed (`state: 'failed'`). */
|
|
@@ -2868,11 +2869,33 @@ type PlayCostEstimate = {
|
|
|
2868
2869
|
sampleRunCount: number;
|
|
2869
2870
|
basedOnRunId: string | null;
|
|
2870
2871
|
modelVersion: string;
|
|
2872
|
+
compute?: {
|
|
2873
|
+
scope: 'sandbox_session';
|
|
2874
|
+
maximumCredits: number;
|
|
2875
|
+
maximumBillingSeconds: number;
|
|
2876
|
+
maximumBackend: 'daytona' | 'modal';
|
|
2877
|
+
pricedBackends: Array<'daytona' | 'modal'>;
|
|
2878
|
+
totalPlayCredits: null;
|
|
2879
|
+
totalPlayCreditsSupported: false;
|
|
2880
|
+
actualUsageBased: true;
|
|
2881
|
+
totalSandboxSessions: 'unbounded';
|
|
2882
|
+
};
|
|
2871
2883
|
} | {
|
|
2872
2884
|
status: 'unavailable';
|
|
2873
|
-
reason: 'ambiguous_output_unit' | 'unbounded_loop' | 'unresolved_tool' | 'mixed_run_and_row_costs';
|
|
2885
|
+
reason: 'ambiguous_output_unit' | 'unbounded_loop' | 'unresolved_tool' | 'unresolved_call_graph' | 'mixed_run_and_row_costs';
|
|
2874
2886
|
message: string;
|
|
2875
2887
|
modelVersion: string;
|
|
2888
|
+
compute?: {
|
|
2889
|
+
scope: 'sandbox_session';
|
|
2890
|
+
maximumCredits: number;
|
|
2891
|
+
maximumBillingSeconds: number;
|
|
2892
|
+
maximumBackend: 'daytona' | 'modal';
|
|
2893
|
+
pricedBackends: Array<'daytona' | 'modal'>;
|
|
2894
|
+
totalPlayCredits: null;
|
|
2895
|
+
totalPlayCreditsSupported: false;
|
|
2896
|
+
actualUsageBased: true;
|
|
2897
|
+
totalSandboxSessions: 'unbounded';
|
|
2898
|
+
};
|
|
2876
2899
|
};
|
|
2877
2900
|
interface PlayListItem {
|
|
2878
2901
|
settings?: PlaySettings;
|
|
@@ -6114,6 +6137,8 @@ type BillingQuoteResult = {
|
|
|
6114
6137
|
cpu: number;
|
|
6115
6138
|
diskGiB: number;
|
|
6116
6139
|
};
|
|
6140
|
+
maximum_backend?: 'daytona' | 'modal';
|
|
6141
|
+
priced_backends?: Array<'daytona' | 'modal'>;
|
|
6117
6142
|
maximum_credits: number;
|
|
6118
6143
|
maximum_billing_seconds: number;
|
|
6119
6144
|
total_play_credits: null;
|
|
@@ -6217,8 +6242,8 @@ declare class DeeplineClient {
|
|
|
6217
6242
|
/**
|
|
6218
6243
|
* Search available tools using Deepline's ranked backend search.
|
|
6219
6244
|
*
|
|
6220
|
-
*
|
|
6221
|
-
* tool metadata, categories, agent guidance, and input schema fields.
|
|
6245
|
+
* The CLI uses the same search.
|
|
6246
|
+
* The search ranks tool metadata, categories, agent guidance, and input schema fields.
|
|
6222
6247
|
*/
|
|
6223
6248
|
searchTools(options?: ToolSearchOptions): Promise<ToolSearchResult>;
|
|
6224
6249
|
/**
|
|
@@ -6256,13 +6281,12 @@ declare class DeeplineClient {
|
|
|
6256
6281
|
/**
|
|
6257
6282
|
* Describe a Deepline Agent model and its provider-specific option surface.
|
|
6258
6283
|
*
|
|
6259
|
-
*
|
|
6260
|
-
*
|
|
6261
|
-
* payloads before executing `deeplineagent`.
|
|
6284
|
+
* The method combines live AI Gateway model metadata with Deepline's generated registry of AI SDK provider options.
|
|
6285
|
+
* Agents can use this information to construct `providerOptions` payloads before they execute `deeplineagent`.
|
|
6262
6286
|
*
|
|
6263
|
-
* The returned
|
|
6264
|
-
*
|
|
6265
|
-
*
|
|
6287
|
+
* The returned schemas describe accepted shapes for provider options.
|
|
6288
|
+
* These schemas do not guarantee that every model supports each option.
|
|
6289
|
+
* Runtime AI SDK and Gateway errors determine support for model-specific values.
|
|
6266
6290
|
*
|
|
6267
6291
|
* @param model - Exact-case Gateway model id such as `"openai/gpt-5.6-luna"`
|
|
6268
6292
|
* @returns Model metadata, provider option shapes, and runnable examples
|
|
@@ -6271,8 +6295,8 @@ declare class DeeplineClient {
|
|
|
6271
6295
|
/**
|
|
6272
6296
|
* Quote dynamic AI inference pricing for a concrete payload.
|
|
6273
6297
|
*
|
|
6274
|
-
* The result
|
|
6275
|
-
*
|
|
6298
|
+
* The result contains a planning estimate and a separate, proven authorization maximum.
|
|
6299
|
+
* Both values use Deepline credits.
|
|
6276
6300
|
*/
|
|
6277
6301
|
quoteInferenceTool(toolId: 'ai_evaluate' | 'ai_inference' | 'deeplineagent', payload: Record<string, unknown>): Promise<InferenceQuote>;
|
|
6278
6302
|
/**
|
|
@@ -6324,13 +6348,16 @@ declare class DeeplineClient {
|
|
|
6324
6348
|
* entrypoints: the CLI, {@link Deepline.connect}, {@link submitPlay},
|
|
6325
6349
|
* or {@link runPlay}.
|
|
6326
6350
|
*
|
|
6327
|
-
*
|
|
6328
|
-
*
|
|
6329
|
-
*
|
|
6330
|
-
*
|
|
6331
|
-
*
|
|
6332
|
-
*
|
|
6333
|
-
*
|
|
6351
|
+
* These interfaces share the run contract and return a workflow or run ID:
|
|
6352
|
+
*
|
|
6353
|
+
* - `deepline plays run`.
|
|
6354
|
+
* - Repository scripts such as `bun run deepline -- plays run`.
|
|
6355
|
+
* - SDK context calls such as `Deepline.connect().play(name).run()`.
|
|
6356
|
+
* - Direct `POST /api/v2/plays/run` calls.
|
|
6357
|
+
*
|
|
6358
|
+
* Read completed output from `getPlayStatus(runId).result`.
|
|
6359
|
+
* For SDK context calls, read output from `PlayJob.get()`.
|
|
6360
|
+
* Execution logs appear under `progress.logs`. The user output object does not contain these logs.
|
|
6334
6361
|
*
|
|
6335
6362
|
* @param request - Play run configuration (name, code, input, etc.)
|
|
6336
6363
|
* @returns Run metadata including the public `workflowId`
|
|
@@ -6464,9 +6491,8 @@ declare class DeeplineClient {
|
|
|
6464
6491
|
/**
|
|
6465
6492
|
* Compile a bundled play artifact into the server-side compiler manifest.
|
|
6466
6493
|
*
|
|
6467
|
-
* The manifest records imports, trigger bindings, static pipeline shape, and
|
|
6468
|
-
*
|
|
6469
|
-
* or run.
|
|
6494
|
+
* The manifest records imports, trigger bindings, static pipeline shape, and runtime metadata.
|
|
6495
|
+
* The compiler needs these records before it checks, registers, or runs a Play artifact.
|
|
6470
6496
|
*/
|
|
6471
6497
|
compilePlayManifest(input: {
|
|
6472
6498
|
name: string;
|
|
@@ -6518,8 +6544,8 @@ declare class DeeplineClient {
|
|
|
6518
6544
|
/**
|
|
6519
6545
|
* Register an already-bundled play artifact and start a run from it.
|
|
6520
6546
|
*
|
|
6521
|
-
*
|
|
6522
|
-
*
|
|
6547
|
+
* SDK and CLI packaging wrappers use this low-level run method for file-based Plays.
|
|
6548
|
+
* Local bundling must produce the runtime artifact first.
|
|
6523
6549
|
*/
|
|
6524
6550
|
startPlayRunFromBundle(input: {
|
|
6525
6551
|
name: string;
|
|
@@ -6537,15 +6563,15 @@ declare class DeeplineClient {
|
|
|
6537
6563
|
/**
|
|
6538
6564
|
* Register a bundled play artifact and start a run from the live revision.
|
|
6539
6565
|
*
|
|
6540
|
-
*
|
|
6541
|
-
*
|
|
6542
|
-
*
|
|
6543
|
-
* durable `{ result }` object that the CLI prints after `plays run` completes.
|
|
6566
|
+
* This method wraps {@link registerPlayArtifact} and {@link startPlayRun}.
|
|
6567
|
+
* Packaging wrappers use this method for file-based Plays.
|
|
6568
|
+
* Pass the returned ID to {@link getPlayStatus}.
|
|
6569
|
+
* The method returns the same durable `{ result }` object that the CLI prints after `plays run` completes.
|
|
6544
6570
|
*
|
|
6545
|
-
* @param code -
|
|
6546
|
-
* @param csvPath - Path to input CSV file, or `null
|
|
6547
|
-
* @param name - Play name
|
|
6548
|
-
* @param options - Additional submission options
|
|
6571
|
+
* @param code - Fallback source string. Pass the bundled artifact in `options.artifact`.
|
|
6572
|
+
* @param csvPath - Path to the input CSV file, or `null`.
|
|
6573
|
+
* @param name - Play name. The SDK derives it from the source when omitted.
|
|
6574
|
+
* @param options - Additional submission options.
|
|
6549
6575
|
* @returns Workflow metadata with `workflowId`
|
|
6550
6576
|
*
|
|
6551
6577
|
* @example
|
|
@@ -6604,9 +6630,8 @@ declare class DeeplineClient {
|
|
|
6604
6630
|
/**
|
|
6605
6631
|
* Mint short-lived presigned upload targets for staged play files.
|
|
6606
6632
|
*
|
|
6607
|
-
* Internal primitive used by {@link stagePlayFiles}.
|
|
6608
|
-
*
|
|
6609
|
-
* already holds, or a presigned PUT URL the caller uploads the body to.
|
|
6633
|
+
* Internal primitive used by {@link stagePlayFiles}. For a content-addressed file already in storage, the server returns a staged reference. That file needs no upload.
|
|
6634
|
+
* For other files, the server returns a presigned PUT URL. Upload the file body to that URL.
|
|
6610
6635
|
*/
|
|
6611
6636
|
mintStagedPlayFileUploads(files: Array<{
|
|
6612
6637
|
logicalPath: string;
|
|
@@ -6617,8 +6642,7 @@ declare class DeeplineClient {
|
|
|
6617
6642
|
/**
|
|
6618
6643
|
* Resolve staged play files by content hash without uploading bytes.
|
|
6619
6644
|
*
|
|
6620
|
-
*
|
|
6621
|
-
* does not already have.
|
|
6645
|
+
* The response identifies missing files. Callers need to upload only these files.
|
|
6622
6646
|
*/
|
|
6623
6647
|
resolveStagedPlayFiles(files: Array<{
|
|
6624
6648
|
logicalPath: string;
|
|
@@ -6832,11 +6856,11 @@ declare class DeeplineClient {
|
|
|
6832
6856
|
/**
|
|
6833
6857
|
* Start a fresh run from a prior run's retained input and pinned revision.
|
|
6834
6858
|
*
|
|
6835
|
-
* Every invocation sends an `Idempotency-Key`.
|
|
6836
|
-
*
|
|
6837
|
-
*
|
|
6838
|
-
* across separate invocations
|
|
6839
|
-
* different key
|
|
6859
|
+
* Every invocation sends an `Idempotency-Key`.
|
|
6860
|
+
* When the caller supplies no key, the SDK creates a fresh key once per call.
|
|
6861
|
+
* The transport reuses that key for network retries, so those retries produce one rerun.
|
|
6862
|
+
* Reuse an explicit key across separate invocations when the previous result is uncertain.
|
|
6863
|
+
* A different key starts another rerun.
|
|
6840
6864
|
*/
|
|
6841
6865
|
rerun(runId: string, options?: RerunOptions): Promise<RerunPlayRunResult>;
|
|
6842
6866
|
/**
|
|
@@ -6914,8 +6938,8 @@ declare class DeeplineClient {
|
|
|
6914
6938
|
/** Stop, or with `dryRun: true` only enumerate, active workspace runs. */
|
|
6915
6939
|
stopAllRuns(options?: StopAllRunsOptions): Promise<StopAllPlayRunsResult>;
|
|
6916
6940
|
/**
|
|
6917
|
-
* List one page of callable
|
|
6918
|
-
* Use listPlaysPage
|
|
6941
|
+
* List one page of callable Plays. With grep, the method retains all matching results.
|
|
6942
|
+
* Use listPlaysPage for pagination metadata.
|
|
6919
6943
|
*
|
|
6920
6944
|
* Pass `origin: "prebuilt"` for Deepline-managed prebuilts or
|
|
6921
6945
|
* `origin: "owned"` for org-owned plays.
|
|
@@ -7056,8 +7080,7 @@ declare class DeeplineClient {
|
|
|
7056
7080
|
/**
|
|
7057
7081
|
* Get the full definition and state of a named play.
|
|
7058
7082
|
*
|
|
7059
|
-
*
|
|
7060
|
-
* sheet processing summary, and database URL.
|
|
7083
|
+
* The response includes revision state (draft or live), recent runs, a summary of sheet processing, and the database URL.
|
|
7061
7084
|
*
|
|
7062
7085
|
* @param name - Play name
|
|
7063
7086
|
* @returns Complete play detail
|
|
@@ -7108,10 +7131,10 @@ declare class DeeplineClient {
|
|
|
7108
7131
|
/**
|
|
7109
7132
|
* Get a normalized play description suitable for agents and CLIs.
|
|
7110
7133
|
*
|
|
7111
|
-
* The description includes runnable examples, input
|
|
7112
|
-
*
|
|
7113
|
-
* `{ pipeline: true }` to include the compiled pipeline
|
|
7114
|
-
* hundreds of kilobytes
|
|
7134
|
+
* The description includes runnable examples, input and output summaries, clone guidance, and revision state.
|
|
7135
|
+
* It also includes metadata for the latest run when available.
|
|
7136
|
+
* Set `{ pipeline: true }` to include the compiled pipeline.
|
|
7137
|
+
* The pipeline can be hundreds of kilobytes. The response omits it by default.
|
|
7115
7138
|
*/
|
|
7116
7139
|
describePlay(name: string, options?: PlayDescriptionOptions): Promise<PlayDescription>;
|
|
7117
7140
|
/**
|
|
@@ -7135,8 +7158,7 @@ declare class DeeplineClient {
|
|
|
7135
7158
|
* Make a play revision live.
|
|
7136
7159
|
*
|
|
7137
7160
|
* When `revisionId` is omitted, the current working revision becomes live.
|
|
7138
|
-
*
|
|
7139
|
-
* specifying an explicit revision.
|
|
7161
|
+
* A call by Play name executes the live revision unless the caller specifies another revision.
|
|
7140
7162
|
*
|
|
7141
7163
|
* @param name - Play name
|
|
7142
7164
|
* @param request - Optional explicit revision to make live
|
|
@@ -7262,9 +7284,9 @@ declare class DeeplineClient {
|
|
|
7262
7284
|
*/
|
|
7263
7285
|
getBillingUsageEvent(requestId: string): Promise<BillingUsageEvent>;
|
|
7264
7286
|
/**
|
|
7265
|
-
*
|
|
7266
|
-
*
|
|
7267
|
-
*
|
|
7287
|
+
* Read Deepline credits billed to each run and whether charges are still settling.
|
|
7288
|
+
* The response never shows provider spend. The dashboard runs grid uses the same read.
|
|
7289
|
+
* HTTP endpoint: `GET /api/v2/runs/billing`.
|
|
7268
7290
|
*/
|
|
7269
7291
|
getRunBilling(runIds: readonly string[]): Promise<RunBillingResult>;
|
|
7270
7292
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { g as PlayCompilerManifest, ak as ToolResultBilling, Y as BillingEntitlements, ap as BillingBenefitValues } from './compiler-manifest-
|
|
2
|
+
import { g as PlayCompilerManifest, ak as ToolResultBilling, Y as BillingEntitlements, ap as BillingBenefitValues } from './compiler-manifest-Ycx-hoAr.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { MonitorFleetDefinition } from './monitor-fleet-contract.mjs';
|
|
5
5
|
|
|
@@ -2492,9 +2492,10 @@ interface StopPlayRunResult {
|
|
|
2492
2492
|
/** True if HITL state or its same-message Slack card still needs retrying. */
|
|
2493
2493
|
hitlCancellationPending?: boolean;
|
|
2494
2494
|
/**
|
|
2495
|
-
* True only when the scheduler and the canonical run ledger disagree
|
|
2496
|
-
*
|
|
2497
|
-
*
|
|
2495
|
+
* True only when the scheduler and the canonical run ledger disagree and
|
|
2496
|
+
* the server could not confirm the stop.
|
|
2497
|
+
* For example, the scheduler can report a terminal run while the ledger
|
|
2498
|
+
* projection is pending. This field is never true for a queued cancellation.
|
|
2498
2499
|
*/
|
|
2499
2500
|
staleSchedulerState?: boolean;
|
|
2500
2501
|
/** Server-side error detail when the stop failed (`state: 'failed'`). */
|
|
@@ -2868,11 +2869,33 @@ type PlayCostEstimate = {
|
|
|
2868
2869
|
sampleRunCount: number;
|
|
2869
2870
|
basedOnRunId: string | null;
|
|
2870
2871
|
modelVersion: string;
|
|
2872
|
+
compute?: {
|
|
2873
|
+
scope: 'sandbox_session';
|
|
2874
|
+
maximumCredits: number;
|
|
2875
|
+
maximumBillingSeconds: number;
|
|
2876
|
+
maximumBackend: 'daytona' | 'modal';
|
|
2877
|
+
pricedBackends: Array<'daytona' | 'modal'>;
|
|
2878
|
+
totalPlayCredits: null;
|
|
2879
|
+
totalPlayCreditsSupported: false;
|
|
2880
|
+
actualUsageBased: true;
|
|
2881
|
+
totalSandboxSessions: 'unbounded';
|
|
2882
|
+
};
|
|
2871
2883
|
} | {
|
|
2872
2884
|
status: 'unavailable';
|
|
2873
|
-
reason: 'ambiguous_output_unit' | 'unbounded_loop' | 'unresolved_tool' | 'mixed_run_and_row_costs';
|
|
2885
|
+
reason: 'ambiguous_output_unit' | 'unbounded_loop' | 'unresolved_tool' | 'unresolved_call_graph' | 'mixed_run_and_row_costs';
|
|
2874
2886
|
message: string;
|
|
2875
2887
|
modelVersion: string;
|
|
2888
|
+
compute?: {
|
|
2889
|
+
scope: 'sandbox_session';
|
|
2890
|
+
maximumCredits: number;
|
|
2891
|
+
maximumBillingSeconds: number;
|
|
2892
|
+
maximumBackend: 'daytona' | 'modal';
|
|
2893
|
+
pricedBackends: Array<'daytona' | 'modal'>;
|
|
2894
|
+
totalPlayCredits: null;
|
|
2895
|
+
totalPlayCreditsSupported: false;
|
|
2896
|
+
actualUsageBased: true;
|
|
2897
|
+
totalSandboxSessions: 'unbounded';
|
|
2898
|
+
};
|
|
2876
2899
|
};
|
|
2877
2900
|
interface PlayListItem {
|
|
2878
2901
|
settings?: PlaySettings;
|
|
@@ -6114,6 +6137,8 @@ type BillingQuoteResult = {
|
|
|
6114
6137
|
cpu: number;
|
|
6115
6138
|
diskGiB: number;
|
|
6116
6139
|
};
|
|
6140
|
+
maximum_backend?: 'daytona' | 'modal';
|
|
6141
|
+
priced_backends?: Array<'daytona' | 'modal'>;
|
|
6117
6142
|
maximum_credits: number;
|
|
6118
6143
|
maximum_billing_seconds: number;
|
|
6119
6144
|
total_play_credits: null;
|
|
@@ -6217,8 +6242,8 @@ declare class DeeplineClient {
|
|
|
6217
6242
|
/**
|
|
6218
6243
|
* Search available tools using Deepline's ranked backend search.
|
|
6219
6244
|
*
|
|
6220
|
-
*
|
|
6221
|
-
* tool metadata, categories, agent guidance, and input schema fields.
|
|
6245
|
+
* The CLI uses the same search.
|
|
6246
|
+
* The search ranks tool metadata, categories, agent guidance, and input schema fields.
|
|
6222
6247
|
*/
|
|
6223
6248
|
searchTools(options?: ToolSearchOptions): Promise<ToolSearchResult>;
|
|
6224
6249
|
/**
|
|
@@ -6256,13 +6281,12 @@ declare class DeeplineClient {
|
|
|
6256
6281
|
/**
|
|
6257
6282
|
* Describe a Deepline Agent model and its provider-specific option surface.
|
|
6258
6283
|
*
|
|
6259
|
-
*
|
|
6260
|
-
*
|
|
6261
|
-
* payloads before executing `deeplineagent`.
|
|
6284
|
+
* The method combines live AI Gateway model metadata with Deepline's generated registry of AI SDK provider options.
|
|
6285
|
+
* Agents can use this information to construct `providerOptions` payloads before they execute `deeplineagent`.
|
|
6262
6286
|
*
|
|
6263
|
-
* The returned
|
|
6264
|
-
*
|
|
6265
|
-
*
|
|
6287
|
+
* The returned schemas describe accepted shapes for provider options.
|
|
6288
|
+
* These schemas do not guarantee that every model supports each option.
|
|
6289
|
+
* Runtime AI SDK and Gateway errors determine support for model-specific values.
|
|
6266
6290
|
*
|
|
6267
6291
|
* @param model - Exact-case Gateway model id such as `"openai/gpt-5.6-luna"`
|
|
6268
6292
|
* @returns Model metadata, provider option shapes, and runnable examples
|
|
@@ -6271,8 +6295,8 @@ declare class DeeplineClient {
|
|
|
6271
6295
|
/**
|
|
6272
6296
|
* Quote dynamic AI inference pricing for a concrete payload.
|
|
6273
6297
|
*
|
|
6274
|
-
* The result
|
|
6275
|
-
*
|
|
6298
|
+
* The result contains a planning estimate and a separate, proven authorization maximum.
|
|
6299
|
+
* Both values use Deepline credits.
|
|
6276
6300
|
*/
|
|
6277
6301
|
quoteInferenceTool(toolId: 'ai_evaluate' | 'ai_inference' | 'deeplineagent', payload: Record<string, unknown>): Promise<InferenceQuote>;
|
|
6278
6302
|
/**
|
|
@@ -6324,13 +6348,16 @@ declare class DeeplineClient {
|
|
|
6324
6348
|
* entrypoints: the CLI, {@link Deepline.connect}, {@link submitPlay},
|
|
6325
6349
|
* or {@link runPlay}.
|
|
6326
6350
|
*
|
|
6327
|
-
*
|
|
6328
|
-
*
|
|
6329
|
-
*
|
|
6330
|
-
*
|
|
6331
|
-
*
|
|
6332
|
-
*
|
|
6333
|
-
*
|
|
6351
|
+
* These interfaces share the run contract and return a workflow or run ID:
|
|
6352
|
+
*
|
|
6353
|
+
* - `deepline plays run`.
|
|
6354
|
+
* - Repository scripts such as `bun run deepline -- plays run`.
|
|
6355
|
+
* - SDK context calls such as `Deepline.connect().play(name).run()`.
|
|
6356
|
+
* - Direct `POST /api/v2/plays/run` calls.
|
|
6357
|
+
*
|
|
6358
|
+
* Read completed output from `getPlayStatus(runId).result`.
|
|
6359
|
+
* For SDK context calls, read output from `PlayJob.get()`.
|
|
6360
|
+
* Execution logs appear under `progress.logs`. The user output object does not contain these logs.
|
|
6334
6361
|
*
|
|
6335
6362
|
* @param request - Play run configuration (name, code, input, etc.)
|
|
6336
6363
|
* @returns Run metadata including the public `workflowId`
|
|
@@ -6464,9 +6491,8 @@ declare class DeeplineClient {
|
|
|
6464
6491
|
/**
|
|
6465
6492
|
* Compile a bundled play artifact into the server-side compiler manifest.
|
|
6466
6493
|
*
|
|
6467
|
-
* The manifest records imports, trigger bindings, static pipeline shape, and
|
|
6468
|
-
*
|
|
6469
|
-
* or run.
|
|
6494
|
+
* The manifest records imports, trigger bindings, static pipeline shape, and runtime metadata.
|
|
6495
|
+
* The compiler needs these records before it checks, registers, or runs a Play artifact.
|
|
6470
6496
|
*/
|
|
6471
6497
|
compilePlayManifest(input: {
|
|
6472
6498
|
name: string;
|
|
@@ -6518,8 +6544,8 @@ declare class DeeplineClient {
|
|
|
6518
6544
|
/**
|
|
6519
6545
|
* Register an already-bundled play artifact and start a run from it.
|
|
6520
6546
|
*
|
|
6521
|
-
*
|
|
6522
|
-
*
|
|
6547
|
+
* SDK and CLI packaging wrappers use this low-level run method for file-based Plays.
|
|
6548
|
+
* Local bundling must produce the runtime artifact first.
|
|
6523
6549
|
*/
|
|
6524
6550
|
startPlayRunFromBundle(input: {
|
|
6525
6551
|
name: string;
|
|
@@ -6537,15 +6563,15 @@ declare class DeeplineClient {
|
|
|
6537
6563
|
/**
|
|
6538
6564
|
* Register a bundled play artifact and start a run from the live revision.
|
|
6539
6565
|
*
|
|
6540
|
-
*
|
|
6541
|
-
*
|
|
6542
|
-
*
|
|
6543
|
-
* durable `{ result }` object that the CLI prints after `plays run` completes.
|
|
6566
|
+
* This method wraps {@link registerPlayArtifact} and {@link startPlayRun}.
|
|
6567
|
+
* Packaging wrappers use this method for file-based Plays.
|
|
6568
|
+
* Pass the returned ID to {@link getPlayStatus}.
|
|
6569
|
+
* The method returns the same durable `{ result }` object that the CLI prints after `plays run` completes.
|
|
6544
6570
|
*
|
|
6545
|
-
* @param code -
|
|
6546
|
-
* @param csvPath - Path to input CSV file, or `null
|
|
6547
|
-
* @param name - Play name
|
|
6548
|
-
* @param options - Additional submission options
|
|
6571
|
+
* @param code - Fallback source string. Pass the bundled artifact in `options.artifact`.
|
|
6572
|
+
* @param csvPath - Path to the input CSV file, or `null`.
|
|
6573
|
+
* @param name - Play name. The SDK derives it from the source when omitted.
|
|
6574
|
+
* @param options - Additional submission options.
|
|
6549
6575
|
* @returns Workflow metadata with `workflowId`
|
|
6550
6576
|
*
|
|
6551
6577
|
* @example
|
|
@@ -6604,9 +6630,8 @@ declare class DeeplineClient {
|
|
|
6604
6630
|
/**
|
|
6605
6631
|
* Mint short-lived presigned upload targets for staged play files.
|
|
6606
6632
|
*
|
|
6607
|
-
* Internal primitive used by {@link stagePlayFiles}.
|
|
6608
|
-
*
|
|
6609
|
-
* already holds, or a presigned PUT URL the caller uploads the body to.
|
|
6633
|
+
* Internal primitive used by {@link stagePlayFiles}. For a content-addressed file already in storage, the server returns a staged reference. That file needs no upload.
|
|
6634
|
+
* For other files, the server returns a presigned PUT URL. Upload the file body to that URL.
|
|
6610
6635
|
*/
|
|
6611
6636
|
mintStagedPlayFileUploads(files: Array<{
|
|
6612
6637
|
logicalPath: string;
|
|
@@ -6617,8 +6642,7 @@ declare class DeeplineClient {
|
|
|
6617
6642
|
/**
|
|
6618
6643
|
* Resolve staged play files by content hash without uploading bytes.
|
|
6619
6644
|
*
|
|
6620
|
-
*
|
|
6621
|
-
* does not already have.
|
|
6645
|
+
* The response identifies missing files. Callers need to upload only these files.
|
|
6622
6646
|
*/
|
|
6623
6647
|
resolveStagedPlayFiles(files: Array<{
|
|
6624
6648
|
logicalPath: string;
|
|
@@ -6832,11 +6856,11 @@ declare class DeeplineClient {
|
|
|
6832
6856
|
/**
|
|
6833
6857
|
* Start a fresh run from a prior run's retained input and pinned revision.
|
|
6834
6858
|
*
|
|
6835
|
-
* Every invocation sends an `Idempotency-Key`.
|
|
6836
|
-
*
|
|
6837
|
-
*
|
|
6838
|
-
* across separate invocations
|
|
6839
|
-
* different key
|
|
6859
|
+
* Every invocation sends an `Idempotency-Key`.
|
|
6860
|
+
* When the caller supplies no key, the SDK creates a fresh key once per call.
|
|
6861
|
+
* The transport reuses that key for network retries, so those retries produce one rerun.
|
|
6862
|
+
* Reuse an explicit key across separate invocations when the previous result is uncertain.
|
|
6863
|
+
* A different key starts another rerun.
|
|
6840
6864
|
*/
|
|
6841
6865
|
rerun(runId: string, options?: RerunOptions): Promise<RerunPlayRunResult>;
|
|
6842
6866
|
/**
|
|
@@ -6914,8 +6938,8 @@ declare class DeeplineClient {
|
|
|
6914
6938
|
/** Stop, or with `dryRun: true` only enumerate, active workspace runs. */
|
|
6915
6939
|
stopAllRuns(options?: StopAllRunsOptions): Promise<StopAllPlayRunsResult>;
|
|
6916
6940
|
/**
|
|
6917
|
-
* List one page of callable
|
|
6918
|
-
* Use listPlaysPage
|
|
6941
|
+
* List one page of callable Plays. With grep, the method retains all matching results.
|
|
6942
|
+
* Use listPlaysPage for pagination metadata.
|
|
6919
6943
|
*
|
|
6920
6944
|
* Pass `origin: "prebuilt"` for Deepline-managed prebuilts or
|
|
6921
6945
|
* `origin: "owned"` for org-owned plays.
|
|
@@ -7056,8 +7080,7 @@ declare class DeeplineClient {
|
|
|
7056
7080
|
/**
|
|
7057
7081
|
* Get the full definition and state of a named play.
|
|
7058
7082
|
*
|
|
7059
|
-
*
|
|
7060
|
-
* sheet processing summary, and database URL.
|
|
7083
|
+
* The response includes revision state (draft or live), recent runs, a summary of sheet processing, and the database URL.
|
|
7061
7084
|
*
|
|
7062
7085
|
* @param name - Play name
|
|
7063
7086
|
* @returns Complete play detail
|
|
@@ -7108,10 +7131,10 @@ declare class DeeplineClient {
|
|
|
7108
7131
|
/**
|
|
7109
7132
|
* Get a normalized play description suitable for agents and CLIs.
|
|
7110
7133
|
*
|
|
7111
|
-
* The description includes runnable examples, input
|
|
7112
|
-
*
|
|
7113
|
-
* `{ pipeline: true }` to include the compiled pipeline
|
|
7114
|
-
* hundreds of kilobytes
|
|
7134
|
+
* The description includes runnable examples, input and output summaries, clone guidance, and revision state.
|
|
7135
|
+
* It also includes metadata for the latest run when available.
|
|
7136
|
+
* Set `{ pipeline: true }` to include the compiled pipeline.
|
|
7137
|
+
* The pipeline can be hundreds of kilobytes. The response omits it by default.
|
|
7115
7138
|
*/
|
|
7116
7139
|
describePlay(name: string, options?: PlayDescriptionOptions): Promise<PlayDescription>;
|
|
7117
7140
|
/**
|
|
@@ -7135,8 +7158,7 @@ declare class DeeplineClient {
|
|
|
7135
7158
|
* Make a play revision live.
|
|
7136
7159
|
*
|
|
7137
7160
|
* When `revisionId` is omitted, the current working revision becomes live.
|
|
7138
|
-
*
|
|
7139
|
-
* specifying an explicit revision.
|
|
7161
|
+
* A call by Play name executes the live revision unless the caller specifies another revision.
|
|
7140
7162
|
*
|
|
7141
7163
|
* @param name - Play name
|
|
7142
7164
|
* @param request - Optional explicit revision to make live
|
|
@@ -7262,9 +7284,9 @@ declare class DeeplineClient {
|
|
|
7262
7284
|
*/
|
|
7263
7285
|
getBillingUsageEvent(requestId: string): Promise<BillingUsageEvent>;
|
|
7264
7286
|
/**
|
|
7265
|
-
*
|
|
7266
|
-
*
|
|
7267
|
-
*
|
|
7287
|
+
* Read Deepline credits billed to each run and whether charges are still settling.
|
|
7288
|
+
* The response never shows provider spend. The dashboard runs grid uses the same read.
|
|
7289
|
+
* HTTP endpoint: `GET /api/v2/runs/billing`.
|
|
7268
7290
|
*/
|
|
7269
7291
|
getRunBilling(runIds: readonly string[]): Promise<RunBillingResult>;
|
|
7270
7292
|
/**
|
|
@@ -821,6 +821,8 @@ type ToolExecuteResultBase<TResult = unknown, TMeta = Record<string, unknown>> =
|
|
|
821
821
|
}>;
|
|
822
822
|
/** Original declarations preserve semantic accessor names across replay. */
|
|
823
823
|
listExtractorPaths?: readonly string[];
|
|
824
|
+
/** Additional semantic names for another declared list; original names win. */
|
|
825
|
+
listExtractorAliases?: Readonly<Record<string, string>>;
|
|
824
826
|
};
|
|
825
827
|
};
|
|
826
828
|
type ToolExecuteResultAccessors<TExtracted extends Record<string, unknown> = Partial<DeeplineGetterValueMap>, TLists extends Record<string, Record<string, unknown>> = Record<string, Record<string, unknown>>> = {
|
|
@@ -1276,7 +1278,12 @@ type PlayAuthoringFetchResponse = {
|
|
|
1276
1278
|
/** Full response body as text, with any known secret values redacted. */
|
|
1277
1279
|
bodyText: string;
|
|
1278
1280
|
/**
|
|
1279
|
-
* The
|
|
1281
|
+
* The runtime parses the body at request time.
|
|
1282
|
+
* Read the property with `const body = res.json`. Do not call `await res.json()`.
|
|
1283
|
+
* The value is null when the body is empty or is not valid JSON.
|
|
1284
|
+
* Malformed JSON produces null instead of an error.
|
|
1285
|
+
*
|
|
1286
|
+
* Check `res.ok`. Check `res.bodyText` before you interpret null as an empty response.
|
|
1280
1287
|
*/
|
|
1281
1288
|
json: unknown | null;
|
|
1282
1289
|
};
|
|
@@ -821,6 +821,8 @@ type ToolExecuteResultBase<TResult = unknown, TMeta = Record<string, unknown>> =
|
|
|
821
821
|
}>;
|
|
822
822
|
/** Original declarations preserve semantic accessor names across replay. */
|
|
823
823
|
listExtractorPaths?: readonly string[];
|
|
824
|
+
/** Additional semantic names for another declared list; original names win. */
|
|
825
|
+
listExtractorAliases?: Readonly<Record<string, string>>;
|
|
824
826
|
};
|
|
825
827
|
};
|
|
826
828
|
type ToolExecuteResultAccessors<TExtracted extends Record<string, unknown> = Partial<DeeplineGetterValueMap>, TLists extends Record<string, Record<string, unknown>> = Record<string, Record<string, unknown>>> = {
|
|
@@ -1276,7 +1278,12 @@ type PlayAuthoringFetchResponse = {
|
|
|
1276
1278
|
/** Full response body as text, with any known secret values redacted. */
|
|
1277
1279
|
bodyText: string;
|
|
1278
1280
|
/**
|
|
1279
|
-
* The
|
|
1281
|
+
* The runtime parses the body at request time.
|
|
1282
|
+
* Read the property with `const body = res.json`. Do not call `await res.json()`.
|
|
1283
|
+
* The value is null when the body is empty or is not valid JSON.
|
|
1284
|
+
* Malformed JSON produces null instead of an error.
|
|
1285
|
+
*
|
|
1286
|
+
* Check `res.ok`. Check `res.bodyText` before you interpret null as an empty response.
|
|
1280
1287
|
*/
|
|
1281
1288
|
json: unknown | null;
|
|
1282
1289
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind } from './compiler-manifest-
|
|
2
|
+
import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind } from './compiler-manifest-Ycx-hoAr.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 { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind } from './compiler-manifest-
|
|
2
|
+
import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind } from './compiler-manifest-Ycx-hoAr.js';
|
|
3
3
|
|
|
4
4
|
type ImportedPlayDependency = {
|
|
5
5
|
filePath: string;
|