deepline 0.3.406 → 0.3.407

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +54 -57
  2. package/dist/bundling-sources/sdk/src/play.ts +8 -5
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +4 -3
  5. package/dist/bundling-sources/shared_libs/play-runtime/play-runs/projection/gateway-adapter.ts +4 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +1 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +87 -28
  8. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +6 -1
  9. package/dist/cli/auth-4JTX6AGM.js +40 -0
  10. package/dist/cli/{auth-U7LIMXIS.mjs → auth-WURWNNLE.mjs} +4 -4
  11. package/dist/cli/{billing-5ABVIJFU.js → billing-2QJGXGJX.js} +73 -73
  12. package/dist/cli/{billing-KGGS3444.mjs → billing-BP3E6WIM.mjs} +4 -4
  13. package/dist/cli/{chunk-T7YF4MQH.mjs → chunk-4TV43THC.mjs} +3 -3
  14. package/dist/cli/{chunk-OPHLT4TM.mjs → chunk-6JZZNP5G.mjs} +2 -2
  15. package/dist/cli/{chunk-W3ZNQE5Y.js → chunk-7LKYHZVB.js} +1 -1
  16. package/dist/cli/{chunk-5IGBBYXH.mjs → chunk-BKC6VMYZ.mjs} +1 -1
  17. package/dist/cli/{chunk-NYDRX6JJ.js → chunk-D2ZRMZKF.js} +6 -6
  18. package/dist/cli/{chunk-N43PX2CA.js → chunk-G4LJS2RE.js} +8 -8
  19. package/dist/cli/{chunk-IE6IKRQA.js → chunk-G6U74WNM.js} +15 -15
  20. package/dist/cli/{chunk-W2BAO4OR.js → chunk-H6EWQFPQ.js} +2 -2
  21. package/dist/cli/{chunk-N6DJQQ2S.js → chunk-IY6GKJ4O.js} +50 -50
  22. package/dist/cli/{chunk-7ZMVAV2B.mjs → chunk-J67NU4MQ.mjs} +55 -58
  23. package/dist/cli/{chunk-APLRSERF.js → chunk-KUQAU5MG.js} +60 -63
  24. package/dist/cli/{chunk-RXDJKAM2.mjs → chunk-L25GBGQU.mjs} +5 -5
  25. package/dist/cli/{chunk-YLV6PT6B.mjs → chunk-N6OAMAO5.mjs} +1 -1
  26. package/dist/cli/{chunk-2OFPPAUY.mjs → chunk-P7HOTKOK.mjs} +4 -4
  27. package/dist/cli/{chunk-V3OTRWVK.mjs → chunk-QJAX7QN7.mjs} +2 -2
  28. package/dist/cli/{chunk-4REBZQNK.js → chunk-RMZAOYDN.js} +44 -44
  29. package/dist/cli/{chunk-FQBKK5DG.js → chunk-RZLXVHNO.js} +26 -26
  30. package/dist/cli/{chunk-EKS2FXL5.js → chunk-SOQIPKF2.js} +8 -8
  31. package/dist/cli/{chunk-YSAZVLJD.js → chunk-THHM4DPE.js} +4 -4
  32. package/dist/cli/{chunk-2MLY2ZBT.mjs → chunk-UFFSOV6I.mjs} +2 -2
  33. package/dist/cli/{chunk-42RUJLQI.mjs → chunk-UPEOEYZ3.mjs} +1 -1
  34. package/dist/cli/{chunk-77UGRG6X.mjs → chunk-XT6GG3QO.mjs} +3 -3
  35. package/dist/cli/{chunk-KPU53YBB.js → chunk-Y6CX4QPR.js} +65 -65
  36. package/dist/cli/{chunk-CGX4NSS3.mjs → chunk-ZBCTXQ3P.mjs} +1 -1
  37. package/dist/cli/{csv-U36TIOKU.js → csv-7E5BE23B.js} +12 -12
  38. package/dist/cli/{csv-HXJAAW3H.mjs → csv-N6KYTG7L.mjs} +3 -3
  39. package/dist/cli/{db-T5MLQQWJ.js → db-4VLZP33O.js} +25 -25
  40. package/dist/cli/{db-GRWD3JAC.mjs → db-XMBJNVBD.mjs} +4 -4
  41. package/dist/cli/{describe-NFX6THJE.js → describe-4I6EIVXD.js} +10 -10
  42. package/dist/cli/{describe-HXFEIZFO.mjs → describe-WERH4TD2.mjs} +6 -6
  43. package/dist/cli/describe-core.d.mts +2 -2
  44. package/dist/cli/describe-core.d.ts +2 -2
  45. package/dist/cli/{executions-YGOS5E44.mjs → executions-JWQXE7G6.mjs} +4 -4
  46. package/dist/cli/{executions-KBHTDL3A.js → executions-W7TWJRBK.js} +6 -6
  47. package/dist/cli/{feedback-VP3GWJIH.js → feedback-FMGRC6KO.js} +7 -7
  48. package/dist/cli/{feedback-NEQGCSHB.mjs → feedback-OEJFX4F7.mjs} +3 -3
  49. package/dist/cli/{git-JJ3CHOTL.mjs → git-IVC4KHXX.mjs} +4 -4
  50. package/dist/cli/git-OFXE7G4X.js +24 -0
  51. package/dist/cli/index.js +89 -89
  52. package/dist/cli/index.mjs +32 -32
  53. package/dist/cli/{legacy-noops-A6KGBODU.mjs → legacy-noops-LT36CLWZ.mjs} +4 -4
  54. package/dist/cli/{legacy-noops-ITTD33ZN.js → legacy-noops-X3BQ7MUK.js} +7 -7
  55. package/dist/cli/{monitors-DXVP5YFC.js → monitors-DLIIAVLW.js} +84 -84
  56. package/dist/cli/{monitors-NGEXCUEY.mjs → monitors-MNLCELF7.mjs} +4 -4
  57. package/dist/cli/{org-C4ZTOSQC.js → org-CYHDEW7P.js} +64 -64
  58. package/dist/cli/{org-34DBJSFP.mjs → org-QV5LMUPT.mjs} +4 -4
  59. package/dist/cli/{play-SVLQKZBG.mjs → play-5Z4ROZ3P.mjs} +7 -7
  60. package/dist/cli/{play-5FWTZCHN.js → play-MEFXC2QA.js} +231 -231
  61. package/dist/cli/{providers-QWR2HRNY.js → providers-2MKUNFBQ.js} +7 -7
  62. package/dist/cli/{providers-RQTSGYE4.mjs → providers-FJLYSHB3.mjs} +4 -4
  63. package/dist/cli/{quickstart-W5UHZAEU.mjs → quickstart-PQO3OQRT.mjs} +3 -3
  64. package/dist/cli/{quickstart-DHFNEMGY.js → quickstart-ULWXKAOT.js} +5 -5
  65. package/dist/cli/search-ANKSJ224.js +30 -0
  66. package/dist/cli/{search-U4AJC3FH.mjs → search-KGAAXMDG.mjs} +5 -5
  67. package/dist/cli/{secrets-YSMQ7CVZ.mjs → secrets-PD5I3KAF.mjs} +4 -4
  68. package/dist/cli/{secrets-HH4H7BLE.js → secrets-X2VGG2PO.js} +13 -13
  69. package/dist/cli/{sessions-URONRCTV.mjs → sessions-3WVEU4PE.mjs} +4 -4
  70. package/dist/cli/{sessions-AJZXYUCJ.js → sessions-R3XAKTBQ.js} +5 -5
  71. package/dist/cli/{settings-KGAMW4MN.mjs → settings-645RSFQX.mjs} +7 -7
  72. package/dist/cli/{settings-QAW62BH4.js → settings-ZIDO3IP6.js} +74 -74
  73. package/dist/cli/{setup-KAMFU5VE.js → setup-LH5HOZ3D.js} +41 -41
  74. package/dist/cli/{setup-P54DPBFO.mjs → setup-LISKIJKP.mjs} +6 -6
  75. package/dist/cli/{skills-UMWRJ6TL.mjs → skills-VVQJHLSF.mjs} +4 -4
  76. package/dist/cli/skills-WLHYSVQA.js +29 -0
  77. package/dist/cli/{tools-HX3BHT55.js → tools-FTPJCNAM.js} +7 -7
  78. package/dist/cli/{tools-HN4EFVY7.mjs → tools-Y3LOMXFT.mjs} +6 -6
  79. package/dist/cli/update-A622H2DZ.js +29 -0
  80. package/dist/cli/{update-7AFQCJ75.mjs → update-DOBNQNJI.mjs} +6 -6
  81. package/dist/cli/{workflow-7EHU5ZPX.js → workflow-LGENKZBV.js} +15 -15
  82. package/dist/cli/{workflow-ARDO4VHU.mjs → workflow-ZMAA5VCN.mjs} +5 -5
  83. package/dist/{client-Buv1_ktG.d.mts → client-6rEB46Lv.d.mts} +55 -57
  84. package/dist/{client-Db1jFLpF.d.ts → client-IrPHUE5J.d.ts} +55 -57
  85. package/dist/{compiler-manifest-N77W75Py.d.ts → compiler-manifest-BHnXE43X.d.mts} +6 -1
  86. package/dist/{compiler-manifest-N77W75Py.d.mts → compiler-manifest-BHnXE43X.d.ts} +6 -1
  87. package/dist/{index-3WOfyVhW.d.mts → index-Da_Y8z5e.d.mts} +1 -1
  88. package/dist/{index-CtIJFTCl.d.ts → index-SODb2ROS.d.ts} +1 -1
  89. package/dist/index.d.mts +13 -10
  90. package/dist/index.d.ts +13 -10
  91. package/dist/index.js +8 -8
  92. package/dist/index.mjs +5 -5
  93. package/dist/install-integrity.json +76 -76
  94. package/dist/plays/bundle-play-file.d.mts +3 -3
  95. package/dist/plays/bundle-play-file.d.ts +3 -3
  96. package/dist/plays/play-description.d.mts +2 -2
  97. package/dist/plays/play-description.d.ts +2 -2
  98. package/dist/plays/run-request.d.mts +2 -2
  99. package/dist/plays/run-request.d.ts +2 -2
  100. package/dist/release.d.mts +1 -1
  101. package/dist/release.d.ts +1 -1
  102. package/dist/release.js +2 -2
  103. package/dist/release.mjs +1 -1
  104. package/package.json +1 -1
  105. package/dist/cli/auth-K5QAZH42.js +0 -40
  106. package/dist/cli/git-63RYCZSI.js +0 -24
  107. package/dist/cli/search-YAYYU3WD.js +0 -30
  108. package/dist/cli/skills-M2GGHYJU.js +0 -29
  109. package/dist/cli/update-I23NN5QI.js +0 -29
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-H7HIDGZ7.mjs";
7
7
  import {
8
8
  DeeplineClient
9
- } from "./chunk-7ZMVAV2B.mjs";
9
+ } from "./chunk-J67NU4MQ.mjs";
10
10
  import "./chunk-6IKARAYD.mjs";
11
11
  import "./chunk-JI2B4RZP.mjs";
12
12
  import "./chunk-EIMG75BT.mjs";
@@ -16,12 +16,12 @@ import {
16
16
  printJson,
17
17
  shouldEmitJson,
18
18
  sleep
19
- } from "./chunk-5IGBBYXH.mjs";
20
- import "./chunk-CGX4NSS3.mjs";
19
+ } from "./chunk-BKC6VMYZ.mjs";
20
+ import "./chunk-ZBCTXQ3P.mjs";
21
21
  import "./chunk-YHPYUZZX.mjs";
22
22
  import "./chunk-DLIRSHV6.mjs";
23
23
  import "./chunk-NXGCO4JB.mjs";
24
- import "./chunk-42RUJLQI.mjs";
24
+ import "./chunk-UPEOEYZ3.mjs";
25
25
  import "./chunk-WZYKRD7T.mjs";
26
26
  import "./chunk-KRD6H754.mjs";
27
27
 
@@ -1676,7 +1676,7 @@ async function transformOne(api, workflowId, outDir, publish) {
1676
1676
  await writeFile(file, compiled.sourceCode, "utf8");
1677
1677
  let published = false;
1678
1678
  if (publish) {
1679
- const { handlePlayPublish } = await import("./play-SVLQKZBG.mjs");
1679
+ const { handlePlayPublish } = await import("./play-5Z4ROZ3P.mjs");
1680
1680
  const code = await handlePlayPublish([file]);
1681
1681
  if (code !== 0) {
1682
1682
  return {
@@ -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-N77W75Py.mjs';
2
+ import { g as PlayCompilerManifest, ak as ToolResultBilling, Y as BillingEntitlements, ap as BillingBenefitValues } from './compiler-manifest-BHnXE43X.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 (for
2496
- * example a terminal scheduler run whose ledger projection is pending), so
2497
- * the stop could not be confirmed. Never set for a queued cancellation.
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'`). */
@@ -6217,8 +6218,8 @@ declare class DeeplineClient {
6217
6218
  /**
6218
6219
  * Search available tools using Deepline's ranked backend search.
6219
6220
  *
6220
- * This is the same discovery surface used by the CLI: it ranks across
6221
- * tool metadata, categories, agent guidance, and input schema fields.
6221
+ * The CLI uses the same search.
6222
+ * The search ranks tool metadata, categories, agent guidance, and input schema fields.
6222
6223
  */
6223
6224
  searchTools(options?: ToolSearchOptions): Promise<ToolSearchResult>;
6224
6225
  /**
@@ -6256,13 +6257,12 @@ declare class DeeplineClient {
6256
6257
  /**
6257
6258
  * Describe a Deepline Agent model and its provider-specific option surface.
6258
6259
  *
6259
- * Combines live AI Gateway model metadata with Deepline's generated AI SDK
6260
- * provider option registry so agents can construct `providerOptions`
6261
- * payloads before executing `deeplineagent`.
6260
+ * The method combines live AI Gateway model metadata with Deepline's generated registry of AI SDK provider options.
6261
+ * Agents can use this information to construct `providerOptions` payloads before they execute `deeplineagent`.
6262
6262
  *
6263
- * The returned option schemas describe accepted provider option shapes, not
6264
- * guaranteed support for every model. Runtime AI SDK/Gateway errors remain
6265
- * authoritative for model-gated values.
6263
+ * The returned schemas describe accepted shapes for provider options.
6264
+ * These schemas do not guarantee that every model supports each option.
6265
+ * Runtime AI SDK and Gateway errors determine support for model-specific values.
6266
6266
  *
6267
6267
  * @param model - Exact-case Gateway model id such as `"openai/gpt-5.6-luna"`
6268
6268
  * @returns Model metadata, provider option shapes, and runnable examples
@@ -6271,8 +6271,8 @@ declare class DeeplineClient {
6271
6271
  /**
6272
6272
  * Quote dynamic AI inference pricing for a concrete payload.
6273
6273
  *
6274
- * The result separates a planning estimate from a proven authorization
6275
- * maximum and contains Deepline credits only.
6274
+ * The result contains a planning estimate and a separate, proven authorization maximum.
6275
+ * Both values use Deepline credits.
6276
6276
  */
6277
6277
  quoteInferenceTool(toolId: 'ai_evaluate' | 'ai_inference' | 'deeplineagent', payload: Record<string, unknown>): Promise<InferenceQuote>;
6278
6278
  /**
@@ -6324,13 +6324,16 @@ declare class DeeplineClient {
6324
6324
  * entrypoints: the CLI, {@link Deepline.connect}, {@link submitPlay},
6325
6325
  * or {@link runPlay}.
6326
6326
  *
6327
- * Supported invocation surfaces intentionally share this same run contract:
6328
- * `deepline plays run`, repo scripts such as `bun run deepline -- plays run`,
6329
- * SDK context calls like `Deepline.connect().play(name).run()`, and direct
6330
- * `POST /api/v2/plays/run` calls all return a workflow/run id. The completed
6331
- * output is always retrievable from `getPlayStatus(runId).result` (or from
6332
- * `PlayJob.get()` for SDK context calls). Execution logs live under
6333
- * `progress.logs`; they are not part of the user output object.
6327
+ * These interfaces share the run contract and return a workflow or run ID:
6328
+ *
6329
+ * - `deepline plays run`.
6330
+ * - Repository scripts such as `bun run deepline -- plays run`.
6331
+ * - SDK context calls such as `Deepline.connect().play(name).run()`.
6332
+ * - Direct `POST /api/v2/plays/run` calls.
6333
+ *
6334
+ * Read completed output from `getPlayStatus(runId).result`.
6335
+ * For SDK context calls, read output from `PlayJob.get()`.
6336
+ * Execution logs appear under `progress.logs`. The user output object does not contain these logs.
6334
6337
  *
6335
6338
  * @param request - Play run configuration (name, code, input, etc.)
6336
6339
  * @returns Run metadata including the public `workflowId`
@@ -6464,9 +6467,8 @@ declare class DeeplineClient {
6464
6467
  /**
6465
6468
  * Compile a bundled play artifact into the server-side compiler manifest.
6466
6469
  *
6467
- * The manifest records imports, trigger bindings, static pipeline shape, and
6468
- * runtime metadata needed before a play artifact can be checked, registered,
6469
- * or run.
6470
+ * The manifest records imports, trigger bindings, static pipeline shape, and runtime metadata.
6471
+ * The compiler needs these records before it checks, registers, or runs a Play artifact.
6470
6472
  */
6471
6473
  compilePlayManifest(input: {
6472
6474
  name: string;
@@ -6518,8 +6520,8 @@ declare class DeeplineClient {
6518
6520
  /**
6519
6521
  * Register an already-bundled play artifact and start a run from it.
6520
6522
  *
6521
- * This is the low-level file-backed run path used by SDK/CLI packaging
6522
- * wrappers after local bundling has produced the runtime artifact.
6523
+ * SDK and CLI packaging wrappers use this low-level run method for file-based Plays.
6524
+ * Local bundling must produce the runtime artifact first.
6523
6525
  */
6524
6526
  startPlayRunFromBundle(input: {
6525
6527
  name: string;
@@ -6537,15 +6539,15 @@ declare class DeeplineClient {
6537
6539
  /**
6538
6540
  * Register a bundled play artifact and start a run from the live revision.
6539
6541
  *
6540
- * Convenience wrapper around {@link registerPlayArtifact} plus
6541
- * {@link startPlayRun}. This is the canonical file-backed path used by wrappers.
6542
- * The returned id can be passed to {@link getPlayStatus} to retrieve the same
6543
- * durable `{ result }` object that the CLI prints after `plays run` completes.
6542
+ * This method wraps {@link registerPlayArtifact} and {@link startPlayRun}.
6543
+ * Packaging wrappers use this method for file-based Plays.
6544
+ * Pass the returned ID to {@link getPlayStatus}.
6545
+ * The method returns the same durable `{ result }` object that the CLI prints after `plays run` completes.
6544
6546
  *
6545
- * @param code - Source string fallback; the bundled artifact should be passed in `options.artifact`
6546
- * @param csvPath - Path to input CSV file, or `null`
6547
- * @param name - Play name (extracted from source if omitted)
6548
- * @param options - Additional submission options
6547
+ * @param code - Fallback source string. Pass the bundled artifact in `options.artifact`.
6548
+ * @param csvPath - Path to the input CSV file, or `null`.
6549
+ * @param name - Play name. The SDK derives it from the source when omitted.
6550
+ * @param options - Additional submission options.
6549
6551
  * @returns Workflow metadata with `workflowId`
6550
6552
  *
6551
6553
  * @example
@@ -6604,9 +6606,8 @@ declare class DeeplineClient {
6604
6606
  /**
6605
6607
  * Mint short-lived presigned upload targets for staged play files.
6606
6608
  *
6607
- * Internal primitive used by {@link stagePlayFiles}. The server returns an
6608
- * already-staged ref (no upload needed) for content-addressed files it
6609
- * already holds, or a presigned PUT URL the caller uploads the body to.
6609
+ * 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.
6610
+ * For other files, the server returns a presigned PUT URL. Upload the file body to that URL.
6610
6611
  */
6611
6612
  mintStagedPlayFileUploads(files: Array<{
6612
6613
  logicalPath: string;
@@ -6617,8 +6618,7 @@ declare class DeeplineClient {
6617
6618
  /**
6618
6619
  * Resolve staged play files by content hash without uploading bytes.
6619
6620
  *
6620
- * Missing files are returned so callers can upload only the files the server
6621
- * does not already have.
6621
+ * The response identifies missing files. Callers need to upload only these files.
6622
6622
  */
6623
6623
  resolveStagedPlayFiles(files: Array<{
6624
6624
  logicalPath: string;
@@ -6832,11 +6832,11 @@ declare class DeeplineClient {
6832
6832
  /**
6833
6833
  * Start a fresh run from a prior run's retained input and pinned revision.
6834
6834
  *
6835
- * Every invocation sends an `Idempotency-Key`. When the caller does not
6836
- * supply one, a fresh key is generated once per call so the transport's own
6837
- * network retries converge on a single rerun. Pass the same explicit key
6838
- * across separate invocations to repeat an ambiguous result safely; a
6839
- * different key intentionally starts another rerun.
6835
+ * Every invocation sends an `Idempotency-Key`.
6836
+ * When the caller supplies no key, the SDK creates a fresh key once per call.
6837
+ * The transport reuses that key for network retries, so those retries produce one rerun.
6838
+ * Reuse an explicit key across separate invocations when the previous result is uncertain.
6839
+ * A different key starts another rerun.
6840
6840
  */
6841
6841
  rerun(runId: string, options?: RerunOptions): Promise<RerunPlayRunResult>;
6842
6842
  /**
@@ -6914,8 +6914,8 @@ declare class DeeplineClient {
6914
6914
  /** Stop, or with `dryRun: true` only enumerate, active workspace runs. */
6915
6915
  stopAllRuns(options?: StopAllRunsOptions): Promise<StopAllPlayRunsResult>;
6916
6916
  /**
6917
- * List one page of callable plays; grep retains exhaustive matching results.
6918
- * Use listPlaysPage to retain pagination metadata.
6917
+ * List one page of callable Plays. With grep, the method retains all matching results.
6918
+ * Use listPlaysPage for pagination metadata.
6919
6919
  *
6920
6920
  * Pass `origin: "prebuilt"` for Deepline-managed prebuilts or
6921
6921
  * `origin: "owned"` for org-owned plays.
@@ -7056,8 +7056,7 @@ declare class DeeplineClient {
7056
7056
  /**
7057
7057
  * Get the full definition and state of a named play.
7058
7058
  *
7059
- * Returns the play's revision state (draft, live), recent runs,
7060
- * sheet processing summary, and database URL.
7059
+ * The response includes revision state (draft or live), recent runs, a summary of sheet processing, and the database URL.
7061
7060
  *
7062
7061
  * @param name - Play name
7063
7062
  * @returns Complete play detail
@@ -7108,10 +7107,10 @@ declare class DeeplineClient {
7108
7107
  /**
7109
7108
  * Get a normalized play description suitable for agents and CLIs.
7110
7109
  *
7111
- * The description includes runnable examples, input/output summaries, clone
7112
- * guidance, revision state, and latest run metadata when available. Pass
7113
- * `{ pipeline: true }` to include the compiled pipeline, which can be
7114
- * hundreds of kilobytes and is otherwise left out.
7110
+ * The description includes runnable examples, input and output summaries, clone guidance, and revision state.
7111
+ * It also includes metadata for the latest run when available.
7112
+ * Set `{ pipeline: true }` to include the compiled pipeline.
7113
+ * The pipeline can be hundreds of kilobytes. The response omits it by default.
7115
7114
  */
7116
7115
  describePlay(name: string, options?: PlayDescriptionOptions): Promise<PlayDescription>;
7117
7116
  /**
@@ -7135,8 +7134,7 @@ declare class DeeplineClient {
7135
7134
  * Make a play revision live.
7136
7135
  *
7137
7136
  * When `revisionId` is omitted, the current working revision becomes live.
7138
- * The live version is what executes when the play is run by name without
7139
- * specifying an explicit revision.
7137
+ * A call by Play name executes the live revision unless the caller specifies another revision.
7140
7138
  *
7141
7139
  * @param name - Play name
7142
7140
  * @param request - Optional explicit revision to make live
@@ -7262,9 +7260,9 @@ declare class DeeplineClient {
7262
7260
  */
7263
7261
  getBillingUsageEvent(requestId: string): Promise<BillingUsageEvent>;
7264
7262
  /**
7265
- * What Deepline has billed each run so far (customer-visible credits, never
7266
- * provider spend) and whether any of its charges is still settling — the
7267
- * same read the dashboard's runs grid shows. `GET /api/v2/runs/billing`.
7263
+ * Read Deepline credits billed to each run and whether charges are still settling.
7264
+ * The response never shows provider spend. The dashboard runs grid uses the same read.
7265
+ * HTTP endpoint: `GET /api/v2/runs/billing`.
7268
7266
  */
7269
7267
  getRunBilling(runIds: readonly string[]): Promise<RunBillingResult>;
7270
7268
  /**
@@ -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-N77W75Py.js';
2
+ import { g as PlayCompilerManifest, ak as ToolResultBilling, Y as BillingEntitlements, ap as BillingBenefitValues } from './compiler-manifest-BHnXE43X.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 (for
2496
- * example a terminal scheduler run whose ledger projection is pending), so
2497
- * the stop could not be confirmed. Never set for a queued cancellation.
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'`). */
@@ -6217,8 +6218,8 @@ declare class DeeplineClient {
6217
6218
  /**
6218
6219
  * Search available tools using Deepline's ranked backend search.
6219
6220
  *
6220
- * This is the same discovery surface used by the CLI: it ranks across
6221
- * tool metadata, categories, agent guidance, and input schema fields.
6221
+ * The CLI uses the same search.
6222
+ * The search ranks tool metadata, categories, agent guidance, and input schema fields.
6222
6223
  */
6223
6224
  searchTools(options?: ToolSearchOptions): Promise<ToolSearchResult>;
6224
6225
  /**
@@ -6256,13 +6257,12 @@ declare class DeeplineClient {
6256
6257
  /**
6257
6258
  * Describe a Deepline Agent model and its provider-specific option surface.
6258
6259
  *
6259
- * Combines live AI Gateway model metadata with Deepline's generated AI SDK
6260
- * provider option registry so agents can construct `providerOptions`
6261
- * payloads before executing `deeplineagent`.
6260
+ * The method combines live AI Gateway model metadata with Deepline's generated registry of AI SDK provider options.
6261
+ * Agents can use this information to construct `providerOptions` payloads before they execute `deeplineagent`.
6262
6262
  *
6263
- * The returned option schemas describe accepted provider option shapes, not
6264
- * guaranteed support for every model. Runtime AI SDK/Gateway errors remain
6265
- * authoritative for model-gated values.
6263
+ * The returned schemas describe accepted shapes for provider options.
6264
+ * These schemas do not guarantee that every model supports each option.
6265
+ * Runtime AI SDK and Gateway errors determine support for model-specific values.
6266
6266
  *
6267
6267
  * @param model - Exact-case Gateway model id such as `"openai/gpt-5.6-luna"`
6268
6268
  * @returns Model metadata, provider option shapes, and runnable examples
@@ -6271,8 +6271,8 @@ declare class DeeplineClient {
6271
6271
  /**
6272
6272
  * Quote dynamic AI inference pricing for a concrete payload.
6273
6273
  *
6274
- * The result separates a planning estimate from a proven authorization
6275
- * maximum and contains Deepline credits only.
6274
+ * The result contains a planning estimate and a separate, proven authorization maximum.
6275
+ * Both values use Deepline credits.
6276
6276
  */
6277
6277
  quoteInferenceTool(toolId: 'ai_evaluate' | 'ai_inference' | 'deeplineagent', payload: Record<string, unknown>): Promise<InferenceQuote>;
6278
6278
  /**
@@ -6324,13 +6324,16 @@ declare class DeeplineClient {
6324
6324
  * entrypoints: the CLI, {@link Deepline.connect}, {@link submitPlay},
6325
6325
  * or {@link runPlay}.
6326
6326
  *
6327
- * Supported invocation surfaces intentionally share this same run contract:
6328
- * `deepline plays run`, repo scripts such as `bun run deepline -- plays run`,
6329
- * SDK context calls like `Deepline.connect().play(name).run()`, and direct
6330
- * `POST /api/v2/plays/run` calls all return a workflow/run id. The completed
6331
- * output is always retrievable from `getPlayStatus(runId).result` (or from
6332
- * `PlayJob.get()` for SDK context calls). Execution logs live under
6333
- * `progress.logs`; they are not part of the user output object.
6327
+ * These interfaces share the run contract and return a workflow or run ID:
6328
+ *
6329
+ * - `deepline plays run`.
6330
+ * - Repository scripts such as `bun run deepline -- plays run`.
6331
+ * - SDK context calls such as `Deepline.connect().play(name).run()`.
6332
+ * - Direct `POST /api/v2/plays/run` calls.
6333
+ *
6334
+ * Read completed output from `getPlayStatus(runId).result`.
6335
+ * For SDK context calls, read output from `PlayJob.get()`.
6336
+ * Execution logs appear under `progress.logs`. The user output object does not contain these logs.
6334
6337
  *
6335
6338
  * @param request - Play run configuration (name, code, input, etc.)
6336
6339
  * @returns Run metadata including the public `workflowId`
@@ -6464,9 +6467,8 @@ declare class DeeplineClient {
6464
6467
  /**
6465
6468
  * Compile a bundled play artifact into the server-side compiler manifest.
6466
6469
  *
6467
- * The manifest records imports, trigger bindings, static pipeline shape, and
6468
- * runtime metadata needed before a play artifact can be checked, registered,
6469
- * or run.
6470
+ * The manifest records imports, trigger bindings, static pipeline shape, and runtime metadata.
6471
+ * The compiler needs these records before it checks, registers, or runs a Play artifact.
6470
6472
  */
6471
6473
  compilePlayManifest(input: {
6472
6474
  name: string;
@@ -6518,8 +6520,8 @@ declare class DeeplineClient {
6518
6520
  /**
6519
6521
  * Register an already-bundled play artifact and start a run from it.
6520
6522
  *
6521
- * This is the low-level file-backed run path used by SDK/CLI packaging
6522
- * wrappers after local bundling has produced the runtime artifact.
6523
+ * SDK and CLI packaging wrappers use this low-level run method for file-based Plays.
6524
+ * Local bundling must produce the runtime artifact first.
6523
6525
  */
6524
6526
  startPlayRunFromBundle(input: {
6525
6527
  name: string;
@@ -6537,15 +6539,15 @@ declare class DeeplineClient {
6537
6539
  /**
6538
6540
  * Register a bundled play artifact and start a run from the live revision.
6539
6541
  *
6540
- * Convenience wrapper around {@link registerPlayArtifact} plus
6541
- * {@link startPlayRun}. This is the canonical file-backed path used by wrappers.
6542
- * The returned id can be passed to {@link getPlayStatus} to retrieve the same
6543
- * durable `{ result }` object that the CLI prints after `plays run` completes.
6542
+ * This method wraps {@link registerPlayArtifact} and {@link startPlayRun}.
6543
+ * Packaging wrappers use this method for file-based Plays.
6544
+ * Pass the returned ID to {@link getPlayStatus}.
6545
+ * The method returns the same durable `{ result }` object that the CLI prints after `plays run` completes.
6544
6546
  *
6545
- * @param code - Source string fallback; the bundled artifact should be passed in `options.artifact`
6546
- * @param csvPath - Path to input CSV file, or `null`
6547
- * @param name - Play name (extracted from source if omitted)
6548
- * @param options - Additional submission options
6547
+ * @param code - Fallback source string. Pass the bundled artifact in `options.artifact`.
6548
+ * @param csvPath - Path to the input CSV file, or `null`.
6549
+ * @param name - Play name. The SDK derives it from the source when omitted.
6550
+ * @param options - Additional submission options.
6549
6551
  * @returns Workflow metadata with `workflowId`
6550
6552
  *
6551
6553
  * @example
@@ -6604,9 +6606,8 @@ declare class DeeplineClient {
6604
6606
  /**
6605
6607
  * Mint short-lived presigned upload targets for staged play files.
6606
6608
  *
6607
- * Internal primitive used by {@link stagePlayFiles}. The server returns an
6608
- * already-staged ref (no upload needed) for content-addressed files it
6609
- * already holds, or a presigned PUT URL the caller uploads the body to.
6609
+ * 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.
6610
+ * For other files, the server returns a presigned PUT URL. Upload the file body to that URL.
6610
6611
  */
6611
6612
  mintStagedPlayFileUploads(files: Array<{
6612
6613
  logicalPath: string;
@@ -6617,8 +6618,7 @@ declare class DeeplineClient {
6617
6618
  /**
6618
6619
  * Resolve staged play files by content hash without uploading bytes.
6619
6620
  *
6620
- * Missing files are returned so callers can upload only the files the server
6621
- * does not already have.
6621
+ * The response identifies missing files. Callers need to upload only these files.
6622
6622
  */
6623
6623
  resolveStagedPlayFiles(files: Array<{
6624
6624
  logicalPath: string;
@@ -6832,11 +6832,11 @@ declare class DeeplineClient {
6832
6832
  /**
6833
6833
  * Start a fresh run from a prior run's retained input and pinned revision.
6834
6834
  *
6835
- * Every invocation sends an `Idempotency-Key`. When the caller does not
6836
- * supply one, a fresh key is generated once per call so the transport's own
6837
- * network retries converge on a single rerun. Pass the same explicit key
6838
- * across separate invocations to repeat an ambiguous result safely; a
6839
- * different key intentionally starts another rerun.
6835
+ * Every invocation sends an `Idempotency-Key`.
6836
+ * When the caller supplies no key, the SDK creates a fresh key once per call.
6837
+ * The transport reuses that key for network retries, so those retries produce one rerun.
6838
+ * Reuse an explicit key across separate invocations when the previous result is uncertain.
6839
+ * A different key starts another rerun.
6840
6840
  */
6841
6841
  rerun(runId: string, options?: RerunOptions): Promise<RerunPlayRunResult>;
6842
6842
  /**
@@ -6914,8 +6914,8 @@ declare class DeeplineClient {
6914
6914
  /** Stop, or with `dryRun: true` only enumerate, active workspace runs. */
6915
6915
  stopAllRuns(options?: StopAllRunsOptions): Promise<StopAllPlayRunsResult>;
6916
6916
  /**
6917
- * List one page of callable plays; grep retains exhaustive matching results.
6918
- * Use listPlaysPage to retain pagination metadata.
6917
+ * List one page of callable Plays. With grep, the method retains all matching results.
6918
+ * Use listPlaysPage for pagination metadata.
6919
6919
  *
6920
6920
  * Pass `origin: "prebuilt"` for Deepline-managed prebuilts or
6921
6921
  * `origin: "owned"` for org-owned plays.
@@ -7056,8 +7056,7 @@ declare class DeeplineClient {
7056
7056
  /**
7057
7057
  * Get the full definition and state of a named play.
7058
7058
  *
7059
- * Returns the play's revision state (draft, live), recent runs,
7060
- * sheet processing summary, and database URL.
7059
+ * The response includes revision state (draft or live), recent runs, a summary of sheet processing, and the database URL.
7061
7060
  *
7062
7061
  * @param name - Play name
7063
7062
  * @returns Complete play detail
@@ -7108,10 +7107,10 @@ declare class DeeplineClient {
7108
7107
  /**
7109
7108
  * Get a normalized play description suitable for agents and CLIs.
7110
7109
  *
7111
- * The description includes runnable examples, input/output summaries, clone
7112
- * guidance, revision state, and latest run metadata when available. Pass
7113
- * `{ pipeline: true }` to include the compiled pipeline, which can be
7114
- * hundreds of kilobytes and is otherwise left out.
7110
+ * The description includes runnable examples, input and output summaries, clone guidance, and revision state.
7111
+ * It also includes metadata for the latest run when available.
7112
+ * Set `{ pipeline: true }` to include the compiled pipeline.
7113
+ * The pipeline can be hundreds of kilobytes. The response omits it by default.
7115
7114
  */
7116
7115
  describePlay(name: string, options?: PlayDescriptionOptions): Promise<PlayDescription>;
7117
7116
  /**
@@ -7135,8 +7134,7 @@ declare class DeeplineClient {
7135
7134
  * Make a play revision live.
7136
7135
  *
7137
7136
  * When `revisionId` is omitted, the current working revision becomes live.
7138
- * The live version is what executes when the play is run by name without
7139
- * specifying an explicit revision.
7137
+ * A call by Play name executes the live revision unless the caller specifies another revision.
7140
7138
  *
7141
7139
  * @param name - Play name
7142
7140
  * @param request - Optional explicit revision to make live
@@ -7262,9 +7260,9 @@ declare class DeeplineClient {
7262
7260
  */
7263
7261
  getBillingUsageEvent(requestId: string): Promise<BillingUsageEvent>;
7264
7262
  /**
7265
- * What Deepline has billed each run so far (customer-visible credits, never
7266
- * provider spend) and whether any of its charges is still settling — the
7267
- * same read the dashboard's runs grid shows. `GET /api/v2/runs/billing`.
7263
+ * Read Deepline credits billed to each run and whether charges are still settling.
7264
+ * The response never shows provider spend. The dashboard runs grid uses the same read.
7265
+ * HTTP endpoint: `GET /api/v2/runs/billing`.
7268
7266
  */
7269
7267
  getRunBilling(runIds: readonly string[]): Promise<RunBillingResult>;
7270
7268
  /**
@@ -1276,7 +1276,12 @@ type PlayAuthoringFetchResponse = {
1276
1276
  /** Full response body as text, with any known secret values redacted. */
1277
1277
  bodyText: string;
1278
1278
  /**
1279
- * The parsed body, eagerly decoded at request time. Read it as a property — `const body = res.json`, never `await res.json()`. Null when the body is empty AND when it is not valid JSON: a malformed payload is reported as null rather than thrown, so check `res.ok` and fall back to `res.bodyText` before treating null as an empty result.
1279
+ * The runtime parses the body at request time.
1280
+ * Read the property with `const body = res.json`. Do not call `await res.json()`.
1281
+ * The value is null when the body is empty or is not valid JSON.
1282
+ * Malformed JSON produces null instead of an error.
1283
+ *
1284
+ * Check `res.ok`. Check `res.bodyText` before you interpret null as an empty response.
1280
1285
  */
1281
1286
  json: unknown | null;
1282
1287
  };
@@ -1276,7 +1276,12 @@ type PlayAuthoringFetchResponse = {
1276
1276
  /** Full response body as text, with any known secret values redacted. */
1277
1277
  bodyText: string;
1278
1278
  /**
1279
- * The parsed body, eagerly decoded at request time. Read it as a property — `const body = res.json`, never `await res.json()`. Null when the body is empty AND when it is not valid JSON: a malformed payload is reported as null rather than thrown, so check `res.ok` and fall back to `res.bodyText` before treating null as an empty result.
1279
+ * The runtime parses the body at request time.
1280
+ * Read the property with `const body = res.json`. Do not call `await res.json()`.
1281
+ * The value is null when the body is empty or is not valid JSON.
1282
+ * Malformed JSON produces null instead of an error.
1283
+ *
1284
+ * Check `res.ok`. Check `res.bodyText` before you interpret null as an empty response.
1280
1285
  */
1281
1286
  json: unknown | null;
1282
1287
  };
@@ -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-N77W75Py.mjs';
2
+ import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind } from './compiler-manifest-BHnXE43X.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-N77W75Py.js';
2
+ import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind } from './compiler-manifest-BHnXE43X.js';
3
3
 
4
4
  type ImportedPlayDependency = {
5
5
  filePath: string;
package/dist/index.d.mts CHANGED
@@ -1,9 +1,9 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { T as ToolExecuteResult, B as BasicToolExecuteResult, i as PlayDataset, A as AsyncPlayRunRef$1, j as PlayAuthoringColumnMap, k as PlayAuthoringColumnResolver, l as PlayAuthoringRuntimeContext, m as PlayAuthoringConditionalStepResolver, n as PlayAuthoringCsvInput, o as PlayAuthoringCsvOptions, p as PlayAuthoringDatasetBuilder, q as PlayAuthoringDatasetColumnDefinition, r as PlayAuthoringDatasetColumnRunInput, s as PlayAuthoringReferenceLike, t as PlayReturnObject$1, u as PlayAuthoringDefineConfig, v as PlayAuthoringDefinedPlay, w as PlayAuthoringFetchOptions, x as PlayAuthoringFileInput, y as PlayAuthoringAsyncCallOptions, z as PlayAuthoringBindings, C as PlayAuthoringCallExecution, D as PlayAuthoringCallOptions, E as PlayAuthoringFetchResponse, F as PlayAuthoringInputContract, G as PlayRunId$1, H as PlayAuthoringStepProgramStep, I as PlayAuthoringRuntimeStepOptions, J as PlaySqlListenerDeclaration, K as PlaySqlListenerEvent, L as PlaySqlListenerOperation, M as PlaySqlQuery, N as PlayAuthoringStepOptions, O as PlayAuthoringStepProgram, Q as PlayAuthoringStepProgramResolver, R as PlayAuthoringStepResolver, S as PlayToolExecutionRequest, U as PlayAuthoringStepProgramOptions, V as DeeplineError, W as ToolExecutionError, X as ToolExecutionErrorOptions } from './compiler-manifest-N77W75Py.mjs';
3
- export { Y as BillingEntitlements, Z as CtxFetchHttpError, _ as DEEPLINE_EXTRACTOR_TARGETS, $ as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, a0 as DeeplineEmailStatusGetterValue, a1 as DeeplineExtractorTarget, a2 as DeeplineGetterValue, a3 as DeeplineGetterValueMap, a4 as JOB_CHANGE_STATUS_VALUES, a5 as JobChangeStatus, a6 as PHONE_STATUS_VALUES, a7 as PhoneStatus, a8 as PlayDatasetInput, a9 as PreviousCell, aa as ProviderTransientError, ab as ProviderTransientErrorCategory, ac as ProviderUnavailableError, ad as ProviderUnavailableReason, ae as ToolExecutionErrorCategory, af as ToolExecutionErrorOrigin, ag as ToolExecutionFailureV1, ah as ToolExecutionNetworkKind, ai as ToolExecutionNetworkScope, aj as ToolExecutionPublicDetails, ak as ToolResultBilling, al as getProviderUnavailableReason, am as isDeeplineExtractorTarget, an as isProviderUnavailable, ao as isProviderWaterfallUnavailableError } from './compiler-manifest-N77W75Py.mjs';
4
- import { b as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, c as ToolMetadata, E as ExecuteToolRawOptions, d as ExecutionRecovery, e as ExecutionByKeyResult, f as PlayListItem, g as PlayDetail, h as PlayRunListItem, i as PlayRevisionSummary, j as PublishPlayVersionResult, C as ClearPlayHistoryResult, k as PlayStatus, l as StopPlayRunResult, a as DeeplineClient, R as ResolvedConfig } from './client-Buv1_ktG.mjs';
5
- export { m as BillingCreditPool, n as BillingInvoiceEntry, o as BillingInvoicesResult, p as BillingPaymentMethodSummary, q as BillingQuoteRequest, r as BillingQuoteResult, s as BillingRecentUsageEntry, t as BillingSubscriptionCancelResult, u as BillingSubscriptionStatus, v as BillingTopUpReceipt, w as BillingTopUpResult, x as BillingUsageEvent, y as BillingUsageOptions, z as BillingUsageResult, A as ChildRunSummary, F as ClearPlayHistoryRequest, G as CreateNotificationGroupInput, H as CreateNotificationGroupResult, I as CustomerDbQueryOptions, J as CustomerDbQueryPlan, K as CustomerDbQueryResult, L as DEEPLINE_TOOL_CATEGORIES, M as DbNamespace, N as DeeplineToolCategory, O as IngestionStorageRepairResult, Q as LegacyMonitorStatusFilter, U as LiveEventEnvelope, V as MONITOR_JOB_PHASES, W as MONITOR_JOB_RECONCILIATION_STATES, X as MONITOR_JOB_STATES, Y as MonitorBatchNamespace, Z as MonitorCheckResult, _ as MonitorDefinition, $ as MonitorDeleteResult, a0 as MonitorDependents, a1 as MonitorDeployResult, a2 as MonitorDetail, a3 as MonitorFleetDeactivateOptions, a4 as MonitorFleetGetOptions, a5 as MonitorFleetReactivateOptions, a6 as MonitorFleetResult, a7 as MonitorFleetStatus, a8 as MonitorFleetSyncOptions, a9 as MonitorFleetWaitOptions, aa as MonitorFleetsNamespace, ab as MonitorJobDeployOptions, ac as MonitorJobLogsOptions, ad as MonitorJobPhase, ae as MonitorJobReconciliationState, af as MonitorJobResult, ag as MonitorJobState, ah as MonitorJobWaitOptions, ai as MonitorJobsNamespace, aj as MonitorListEntry, ak as MonitorPayload, al as MonitorReactivateResult, am as MonitorSpec, an as MonitorState, ao as MonitorStateFilter, ap as MonitorUpdateChangeSummary, aq as MonitorUpdateResult, ar as MonitorsAccessStatus, as as MonitorsAvailableOptions, at as MonitorsAvailableResult, au as MonitorsListOptions, av as MonitorsListResult, aw as MonitorsNamespace, ax as NormalizedRunEventQuery, ay as PlayActivityObservation, az as PlayActivityState, aA as PlayActivityTarget, aB as PlayCostEstimate, aC as PlayCronTriggerConfig, aD as PlayDescriptionOptions, aE as PlayLiveEvent, aF as PlayPath, aG as PlayRunActionPackage, aH as PlayRunActivityProjection, aI as PlayRunDatasetActions, aJ as PlayRunPackage, aK as PlayRunResult, aL as PlayRunRowHistoryOptions, aM as PlayRunStart, aN as PlaySettings, aO as PlaySettingsPatch, aP as PlaySettingsPathsPage, aQ as PlaySettingsResult, aR as PlaySheetRow, aS as PlaySheetRowsResult, aT as PlayTriggerConfigUpdate, aU as PlayTriggerConfigUpdateResult, aV as PlayTriggerConfigView, aW as PlayWebhookAuthConfig, aX as PlayWebhookTriggerConfig, aY as PlaysActivityResponse, aZ as PlaysListOptions, a_ as PlaysListPage, a$ as PublishPlayVersionRequest, b0 as RerunOptions, b1 as RerunPlayRunResult, b2 as RunChildrenPage, b3 as RunEventCountResult, b4 as RunEventField, b5 as RunEventFieldDescriptor, b6 as RunEventFieldOperators, b7 as RunEventFieldsResult, b8 as RunEventGroupValue, b9 as RunEventMeasure, ba as RunEventQueryCriteria, bb as RunEventQueryEvent, bc as RunEventQueryInputError, bd as RunEventQueryOptions, be as RunEventQueryPage, bf as RunEventQueryRetention, bg as RunEventScalar, bh as RunEventSummaryOptions, bi as RunEventSummaryResult, bj as RunEventWhere, bk as RunLifecycleStatus, bl as RunToolReceiptResult, bm as RunToolReceiptsResponse, bn as RunsChildrenOptions, bo as RunsEventPayload, bp as RunsEventSearchEntry, bq as RunsEventSearchOptions, br as RunsEventSearchResult, bs as RunsEventsCountResult, bt as RunsEventsCriteria, bu as RunsEventsFieldsOptions, bv as RunsEventsListOptions, bw as RunsEventsListResult, bx as RunsEventsNamespace, by as RunsEventsSummaryOptions, bz as RunsEventsSummaryResult, bA as RunsHistoryItem, bB as RunsHistoryOptions, bC as RunsHistoryPage, bD as RunsListOptions, bE as RunsListPage, bF as RunsLogCriteria, bG as RunsLogsCountResult, bH as RunsLogsNamespace, bI as RunsLogsOptions, bJ as RunsLogsQueryOptions, bK as RunsLogsQueryResult, bL as RunsLogsResult, bM as RunsLogsSummaryOptions, bN as RunsLogsSummaryResult, bO as RunsNamespace, bP as RunsTailOptions, bQ as RunsWatchOptions, bR as SearchOptions, bS as SearchResult, bT as SearchResultItem, S as SearchType, bU as StartPlayRunRequest, bV as StopAllCandidate, bW as StopAllPlayRunsDryRunResult, bX as StopAllPlayRunsResult, bY as StopAllPlayRunsStopResult, bZ as StopAllRunsOptions, b_ as ToolExecution, b$ as ToolRequestCondition, c0 as ToolRequestWarningRule, c1 as ToolSearchOptions, c2 as ToolSearchResult, c3 as WorkspaceCreateResult, c4 as WorkspacesNamespace, c5 as defineMonitor, c6 as isStopAllPlayRunsDryRunResult, c7 as planCustomerDbQuery } from './client-Buv1_ktG.mjs';
6
- import { b as BundledPlayFileSuccess } from './index-3WOfyVhW.mjs';
2
+ import { T as ToolExecuteResult, B as BasicToolExecuteResult, i as PlayDataset, A as AsyncPlayRunRef$1, j as PlayAuthoringColumnMap, k as PlayAuthoringColumnResolver, l as PlayAuthoringRuntimeContext, m as PlayAuthoringConditionalStepResolver, n as PlayAuthoringCsvInput, o as PlayAuthoringCsvOptions, p as PlayAuthoringDatasetBuilder, q as PlayAuthoringDatasetColumnDefinition, r as PlayAuthoringDatasetColumnRunInput, s as PlayAuthoringReferenceLike, t as PlayReturnObject$1, u as PlayAuthoringDefineConfig, v as PlayAuthoringDefinedPlay, w as PlayAuthoringFetchOptions, x as PlayAuthoringFileInput, y as PlayAuthoringAsyncCallOptions, z as PlayAuthoringBindings, C as PlayAuthoringCallExecution, D as PlayAuthoringCallOptions, E as PlayAuthoringFetchResponse, F as PlayAuthoringInputContract, G as PlayRunId$1, H as PlayAuthoringStepProgramStep, I as PlayAuthoringRuntimeStepOptions, J as PlaySqlListenerDeclaration, K as PlaySqlListenerEvent, L as PlaySqlListenerOperation, M as PlaySqlQuery, N as PlayAuthoringStepOptions, O as PlayAuthoringStepProgram, Q as PlayAuthoringStepProgramResolver, R as PlayAuthoringStepResolver, S as PlayToolExecutionRequest, U as PlayAuthoringStepProgramOptions, V as DeeplineError, W as ToolExecutionError, X as ToolExecutionErrorOptions } from './compiler-manifest-BHnXE43X.mjs';
3
+ export { Y as BillingEntitlements, Z as CtxFetchHttpError, _ as DEEPLINE_EXTRACTOR_TARGETS, $ as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, a0 as DeeplineEmailStatusGetterValue, a1 as DeeplineExtractorTarget, a2 as DeeplineGetterValue, a3 as DeeplineGetterValueMap, a4 as JOB_CHANGE_STATUS_VALUES, a5 as JobChangeStatus, a6 as PHONE_STATUS_VALUES, a7 as PhoneStatus, a8 as PlayDatasetInput, a9 as PreviousCell, aa as ProviderTransientError, ab as ProviderTransientErrorCategory, ac as ProviderUnavailableError, ad as ProviderUnavailableReason, ae as ToolExecutionErrorCategory, af as ToolExecutionErrorOrigin, ag as ToolExecutionFailureV1, ah as ToolExecutionNetworkKind, ai as ToolExecutionNetworkScope, aj as ToolExecutionPublicDetails, ak as ToolResultBilling, al as getProviderUnavailableReason, am as isDeeplineExtractorTarget, an as isProviderUnavailable, ao as isProviderWaterfallUnavailableError } from './compiler-manifest-BHnXE43X.mjs';
4
+ import { b as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, c as ToolMetadata, E as ExecuteToolRawOptions, d as ExecutionRecovery, e as ExecutionByKeyResult, f as PlayListItem, g as PlayDetail, h as PlayRunListItem, i as PlayRevisionSummary, j as PublishPlayVersionResult, C as ClearPlayHistoryResult, k as PlayStatus, l as StopPlayRunResult, a as DeeplineClient, R as ResolvedConfig } from './client-6rEB46Lv.mjs';
5
+ export { m as BillingCreditPool, n as BillingInvoiceEntry, o as BillingInvoicesResult, p as BillingPaymentMethodSummary, q as BillingQuoteRequest, r as BillingQuoteResult, s as BillingRecentUsageEntry, t as BillingSubscriptionCancelResult, u as BillingSubscriptionStatus, v as BillingTopUpReceipt, w as BillingTopUpResult, x as BillingUsageEvent, y as BillingUsageOptions, z as BillingUsageResult, A as ChildRunSummary, F as ClearPlayHistoryRequest, G as CreateNotificationGroupInput, H as CreateNotificationGroupResult, I as CustomerDbQueryOptions, J as CustomerDbQueryPlan, K as CustomerDbQueryResult, L as DEEPLINE_TOOL_CATEGORIES, M as DbNamespace, N as DeeplineToolCategory, O as IngestionStorageRepairResult, Q as LegacyMonitorStatusFilter, U as LiveEventEnvelope, V as MONITOR_JOB_PHASES, W as MONITOR_JOB_RECONCILIATION_STATES, X as MONITOR_JOB_STATES, Y as MonitorBatchNamespace, Z as MonitorCheckResult, _ as MonitorDefinition, $ as MonitorDeleteResult, a0 as MonitorDependents, a1 as MonitorDeployResult, a2 as MonitorDetail, a3 as MonitorFleetDeactivateOptions, a4 as MonitorFleetGetOptions, a5 as MonitorFleetReactivateOptions, a6 as MonitorFleetResult, a7 as MonitorFleetStatus, a8 as MonitorFleetSyncOptions, a9 as MonitorFleetWaitOptions, aa as MonitorFleetsNamespace, ab as MonitorJobDeployOptions, ac as MonitorJobLogsOptions, ad as MonitorJobPhase, ae as MonitorJobReconciliationState, af as MonitorJobResult, ag as MonitorJobState, ah as MonitorJobWaitOptions, ai as MonitorJobsNamespace, aj as MonitorListEntry, ak as MonitorPayload, al as MonitorReactivateResult, am as MonitorSpec, an as MonitorState, ao as MonitorStateFilter, ap as MonitorUpdateChangeSummary, aq as MonitorUpdateResult, ar as MonitorsAccessStatus, as as MonitorsAvailableOptions, at as MonitorsAvailableResult, au as MonitorsListOptions, av as MonitorsListResult, aw as MonitorsNamespace, ax as NormalizedRunEventQuery, ay as PlayActivityObservation, az as PlayActivityState, aA as PlayActivityTarget, aB as PlayCostEstimate, aC as PlayCronTriggerConfig, aD as PlayDescriptionOptions, aE as PlayLiveEvent, aF as PlayPath, aG as PlayRunActionPackage, aH as PlayRunActivityProjection, aI as PlayRunDatasetActions, aJ as PlayRunPackage, aK as PlayRunResult, aL as PlayRunRowHistoryOptions, aM as PlayRunStart, aN as PlaySettings, aO as PlaySettingsPatch, aP as PlaySettingsPathsPage, aQ as PlaySettingsResult, aR as PlaySheetRow, aS as PlaySheetRowsResult, aT as PlayTriggerConfigUpdate, aU as PlayTriggerConfigUpdateResult, aV as PlayTriggerConfigView, aW as PlayWebhookAuthConfig, aX as PlayWebhookTriggerConfig, aY as PlaysActivityResponse, aZ as PlaysListOptions, a_ as PlaysListPage, a$ as PublishPlayVersionRequest, b0 as RerunOptions, b1 as RerunPlayRunResult, b2 as RunChildrenPage, b3 as RunEventCountResult, b4 as RunEventField, b5 as RunEventFieldDescriptor, b6 as RunEventFieldOperators, b7 as RunEventFieldsResult, b8 as RunEventGroupValue, b9 as RunEventMeasure, ba as RunEventQueryCriteria, bb as RunEventQueryEvent, bc as RunEventQueryInputError, bd as RunEventQueryOptions, be as RunEventQueryPage, bf as RunEventQueryRetention, bg as RunEventScalar, bh as RunEventSummaryOptions, bi as RunEventSummaryResult, bj as RunEventWhere, bk as RunLifecycleStatus, bl as RunToolReceiptResult, bm as RunToolReceiptsResponse, bn as RunsChildrenOptions, bo as RunsEventPayload, bp as RunsEventSearchEntry, bq as RunsEventSearchOptions, br as RunsEventSearchResult, bs as RunsEventsCountResult, bt as RunsEventsCriteria, bu as RunsEventsFieldsOptions, bv as RunsEventsListOptions, bw as RunsEventsListResult, bx as RunsEventsNamespace, by as RunsEventsSummaryOptions, bz as RunsEventsSummaryResult, bA as RunsHistoryItem, bB as RunsHistoryOptions, bC as RunsHistoryPage, bD as RunsListOptions, bE as RunsListPage, bF as RunsLogCriteria, bG as RunsLogsCountResult, bH as RunsLogsNamespace, bI as RunsLogsOptions, bJ as RunsLogsQueryOptions, bK as RunsLogsQueryResult, bL as RunsLogsResult, bM as RunsLogsSummaryOptions, bN as RunsLogsSummaryResult, bO as RunsNamespace, bP as RunsTailOptions, bQ as RunsWatchOptions, bR as SearchOptions, bS as SearchResult, bT as SearchResultItem, S as SearchType, bU as StartPlayRunRequest, bV as StopAllCandidate, bW as StopAllPlayRunsDryRunResult, bX as StopAllPlayRunsResult, bY as StopAllPlayRunsStopResult, bZ as StopAllRunsOptions, b_ as ToolExecution, b$ as ToolRequestCondition, c0 as ToolRequestWarningRule, c1 as ToolSearchOptions, c2 as ToolSearchResult, c3 as WorkspaceCreateResult, c4 as WorkspacesNamespace, c5 as defineMonitor, c6 as isStopAllPlayRunsDryRunResult, c7 as planCustomerDbQuery } from './client-6rEB46Lv.mjs';
6
+ import { b as BundledPlayFileSuccess } from './index-Da_Y8z5e.mjs';
7
7
  export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.mjs';
8
8
  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';
9
9
  import '@sinclair/typebox';
@@ -26,8 +26,8 @@ type PlayFetchResponse = PlayAuthoringFetchResponse;
26
26
  * A play can be triggered three ways, declared as the third argument to
27
27
  * {@link definePlay}:
28
28
  * - `webhook` — an inbound HTTP call (with optional legacy HMAC or Standard
29
- * Webhooks signature verification);
30
- * - `cron` — a schedule; or
29
+ * Webhooks signature verification).
30
+ * - `cron` — a schedule.
31
31
  * - `sqlListeners` — a **monitor**: the play runs whenever a monitor writes a new
32
32
  * row to its output stream. This is how you build a play "on top of" a monitor
33
33
  * (e.g. run enrichment every time a watched company posts a new job). Each
@@ -558,8 +558,8 @@ declare class DeeplineContext {
558
558
  * Run a named or prebuilt play and wait for its output.
559
559
  *
560
560
  * This is the high-level SDK equivalent of `ctx.play(name).runSync(input)`.
561
- * Inside a play runtime, prefer the in-play `ctx.runPlay(key, playRef, input,
562
- * options)` form so the child run is checkpointed under a stable key.
561
+ * Inside a Play, prefer `ctx.runPlay(key, playRef, input, options)`.
562
+ * The runtime checkpoints the child run under a stable key.
563
563
  *
564
564
  * @param playOrRef - Play name or prebuilt/reference object.
565
565
  * @param input - JSON input passed to the play.
@@ -610,7 +610,10 @@ declare function defineInput<TInput>(schema: Record<string, unknown>): PlayInput
610
610
  /**
611
611
  * Define a play — a composable TypeScript workflow for the Deepline platform.
612
612
  *
613
- * The returned value is both a callable function, invoked by the Deepline runtime with a runtime context, and a named play handle carrying `.run()`, `.versions()`, `.get()` and `.publish()` for remote lifecycle management. Plays are the primary abstraction for repeatable data pipelines and execute durably, with automatic retries and timeouts.
613
+ * The returned value is both a callable function and a named Play handle.
614
+ * The Deepline runtime calls the function with a runtime context.
615
+ * The handle provides `.run()`, `.versions()`, `.get()`, and `.publish()` for remote lifecycle operations.
616
+ * Plays define repeatable data pipelines. The runtime executes them durably with automatic retries and timeouts.
614
617
  *
615
618
  * @typeParam TInput - The input type accepted by the play
616
619
  * @typeParam TOutput - The return type of the play