deepline 0.3.273 → 0.3.275

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 (29) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +143 -14
  2. package/dist/bundling-sources/sdk/src/index.ts +4 -1
  3. package/dist/bundling-sources/sdk/src/play.ts +5 -11
  4. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  5. package/dist/bundling-sources/sdk/src/runs/log-cursor.ts +35 -0
  6. package/dist/bundling-sources/sdk/src/types.ts +10 -3
  7. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +12 -26
  8. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +7 -3
  9. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +15 -7
  10. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd.ts +18 -18
  11. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1 -0
  12. package/dist/bundling-sources/shared_libs/plays/docflow-binding-owner.ts +7 -4
  13. package/dist/bundling-sources/shared_libs/plays/table-csv.ts +152 -0
  14. package/dist/cli/index.js +418 -103
  15. package/dist/cli/index.mjs +418 -103
  16. package/dist/{client-5xpuGpRn.d.ts → client-5zY7LsId.d.ts} +72 -7
  17. package/dist/{client-D9annc6K.d.mts → client-CbNvJLgV.d.mts} +72 -7
  18. package/dist/index.d.mts +6 -12
  19. package/dist/index.d.ts +6 -12
  20. package/dist/index.js +90 -12
  21. package/dist/index.mjs +90 -12
  22. package/dist/install-integrity.json +4 -2
  23. package/dist/plays/run-request.d.mts +1 -1
  24. package/dist/plays/run-request.d.ts +1 -1
  25. package/dist/release.d.mts +1 -1
  26. package/dist/release.d.ts +1 -1
  27. package/dist/release.js +1 -1
  28. package/dist/release.mjs +1 -1
  29. package/package.json +1 -1
@@ -2216,6 +2216,12 @@ type PlayLiveEvent = LiveEventEnvelope<unknown> & {
2216
2216
  interface StopPlayRunResult {
2217
2217
  /** Public play-run identifier the stop request targeted. */
2218
2218
  runId: string;
2219
+ /**
2220
+ * Typed stop outcome: `stopped` (terminal), `cancelling` (cancellation
2221
+ * durably queued; cleanup and the final run update are pending, not an
2222
+ * error), or `failed` (the stop was not confirmed). Absent on older servers.
2223
+ */
2224
+ state?: 'stopped' | 'cancelling' | 'failed';
2219
2225
  /** Whether the server confirmed the run was stopped. */
2220
2226
  stopped: boolean;
2221
2227
  /** True when the durable cancellation lane accepted the request and is draining. */
@@ -2225,11 +2231,12 @@ interface StopPlayRunResult {
2225
2231
  /** True if HITL state or its same-message Slack card still needs retrying. */
2226
2232
  hitlCancellationPending?: boolean;
2227
2233
  /**
2228
- * True when the scheduler state for the run was stale and the stop could
2229
- * not be confirmed. Absent on older servers (treated as confirmed).
2234
+ * True only when the scheduler and the canonical run ledger disagree (for
2235
+ * example a terminal scheduler run whose ledger projection is pending), so
2236
+ * the stop could not be confirmed. Never set for a queued cancellation.
2230
2237
  */
2231
2238
  staleSchedulerState?: boolean;
2232
- /** Server-side error detail when the stop was not confirmed. */
2239
+ /** Server-side error detail when the stop failed (`state: 'failed'`). */
2233
2240
  error?: string;
2234
2241
  }
2235
2242
  /**
@@ -3715,6 +3722,46 @@ type RunsListPage = {
3715
3722
  limit?: number;
3716
3723
  hasMore?: boolean;
3717
3724
  };
3725
+ /** Cursor-paged workspace run history, including runs of removed Plays. */
3726
+ type RunsHistoryOptions = {
3727
+ /** Case-insensitive Play/workflow name, run ID, or status substring. */
3728
+ search?: string;
3729
+ /** Search classification from recorded trigger metadata; requires search. */
3730
+ type?: 'all' | 'plays' | 'monitors';
3731
+ cursor?: string;
3732
+ limit?: number;
3733
+ /** Must match the workspace authorized by the credential. */
3734
+ orgId?: string;
3735
+ signal?: AbortSignal;
3736
+ };
3737
+ type RunsHistoryItem = {
3738
+ runId: string;
3739
+ workflowId: string;
3740
+ workflowName: string;
3741
+ playScope: 'org' | 'system' | null;
3742
+ status: string;
3743
+ createdAt: number;
3744
+ updatedAt: number;
3745
+ callerName: string | null;
3746
+ callerEmail: string | null;
3747
+ authorName: string | null;
3748
+ authorEmail: string | null;
3749
+ callerAgent: string | null;
3750
+ executionMode: string | null;
3751
+ bindingId: string | null;
3752
+ parentWorkflowName: string | null;
3753
+ outputRowCount: number | null;
3754
+ hasOutput: boolean;
3755
+ billingTotalCredits?: number;
3756
+ triggerSource?: string;
3757
+ };
3758
+ /** An empty search page is incomplete while hasMore is true. */
3759
+ type RunsHistoryPage = {
3760
+ runs: RunsHistoryItem[];
3761
+ nextCursor: string | null;
3762
+ hasMore: boolean;
3763
+ avatarsByName?: Record<string, string>;
3764
+ };
3718
3765
  type PlaysListOptions = {
3719
3766
  origin?: 'prebuilt' | 'owned';
3720
3767
  grep?: string;
@@ -3744,6 +3791,8 @@ type PlaysListPage = {
3744
3791
  type RunsGetOptions = {
3745
3792
  /** Return the raw status payload instead of the compact package. */
3746
3793
  full?: boolean;
3794
+ /** Explicitly read this run's recorded graph and source, without full results. */
3795
+ configuration?: boolean;
3747
3796
  /** Attach a bounded end-of-stream window for a failed run. */
3748
3797
  failedLogs?: boolean;
3749
3798
  /** Requested failed-log lines to attach (default 20, hard-capped at 20). */
@@ -3834,6 +3883,12 @@ type RunsLogsOptions = {
3834
3883
  all?: boolean;
3835
3884
  /** Read a terminal-failed run's last 20 retained lines, or fewer with `limit`. Retention loss returns an explicit association and warning. */
3836
3885
  failed?: boolean;
3886
+ /**
3887
+ * Continue with the next OLDER page: pass a prior result's `nextCursor`.
3888
+ * The page holds the last `limit` stored lines before that cursor (with
3889
+ * `all`, every stored line before it).
3890
+ */
3891
+ cursor?: string;
3837
3892
  };
3838
3893
  /** Retained text for one run. Counts and retention flags describe the stored stream, not every original console call. */
3839
3894
  type RunsLogsResult = {
@@ -3849,8 +3904,14 @@ type RunsLogsResult = {
3849
3904
  lastSequence: number | null;
3850
3905
  /** Tail/all: returned count is below total count. Failed: the stream lost bodies to retention. Check `logsTruncated` to distinguish retention loss from a selected tail. */
3851
3906
  truncated: boolean;
3852
- /** More retained lines exist after `lastSequence`; always false for the designed failure window. */
3907
+ /** Older stored lines exist before this page; `nextCursor` reads them. */
3853
3908
  hasMore: boolean;
3909
+ /**
3910
+ * Opaque cursor for the next older page (`runs.logs(id, { cursor })`),
3911
+ * null when this page reaches the oldest stored line. Absent for the failed
3912
+ * view, which is a complete designed window rather than a pageable slice.
3913
+ */
3914
+ nextCursor?: string | null;
3854
3915
  /** Formatted text lines in stored sequence order; structured context is available through event search. */
3855
3916
  entries: string[];
3856
3917
  /** Selected public log view. */
@@ -4023,6 +4084,8 @@ type RunsNamespace = {
4023
4084
  list: (options: RunsListOptions) => Promise<PlayRunListItem[]>;
4024
4085
  /** Read one run page with total, offset, limit and completeness metadata. */
4025
4086
  listPage: (options: RunsListOptions) => Promise<RunsListPage>;
4087
+ /** Search/page workspace run history newest first; follow empty continuing pages. */
4088
+ history: (options?: RunsHistoryOptions) => Promise<RunsHistoryPage>;
4026
4089
  /** Poll run snapshots every two seconds until terminal status. */
4027
4090
  watch: (runId: string, options?: RunsWatchOptions) => Promise<PlayStatus>;
4028
4091
  /** @deprecated Use `watch`; retained as a source-compatible alias. */
@@ -5698,7 +5761,7 @@ declare class DeeplineClient {
5698
5761
  * Convenience wrapper around {@link registerPlayArtifact} plus
5699
5762
  * {@link startPlayRun}. This is the canonical file-backed path used by wrappers.
5700
5763
  * The returned id can be passed to {@link getPlayStatus} to retrieve the same
5701
- * durable `{ result }` object that the CLI prints after `--watch` completes.
5764
+ * durable `{ result }` object that the CLI prints after `plays run` completes.
5702
5765
  *
5703
5766
  * @param code - Source string fallback; the bundled artifact should be passed in `options.artifact`
5704
5767
  * @param csvPath - Path to input CSV file, or `null`
@@ -5794,7 +5857,7 @@ declare class DeeplineClient {
5794
5857
  * Get the current status of a play execution.
5795
5858
  *
5796
5859
  * Internal/advanced primitive. Public callers should usually prefer
5797
- * {@link runPlay}, {@link PlayJob.get}, or `deepline plays run --watch`.
5860
+ * {@link runPlay}, {@link PlayJob.get}, or `deepline plays run`.
5798
5861
  *
5799
5862
  * @param workflowId - Play-run id from {@link startPlayRun}
5800
5863
  * @returns Current status with progress logs and partial results
@@ -5971,6 +6034,8 @@ declare class DeeplineClient {
5971
6034
  * ```
5972
6035
  */
5973
6036
  listRuns(options: RunsListOptions): Promise<PlayRunListItem[]>;
6037
+ /** The same tenant-scoped run history searched by the dashboard and CLI. */
6038
+ getRunsHistory(options?: RunsHistoryOptions): Promise<RunsHistoryPage>;
5974
6039
  /** Read one run page without discarding server pagination metadata. */
5975
6040
  listRunsPage(options: RunsListOptions): Promise<RunsListPage>;
5976
6041
  /** Read retained tool results without executing tools, preserving supplied key order and batching 100 keys per request. Obtain keys from exported evidence or execution metadata; each key must be nonempty, at most 2,048 characters and contain no CR, LF or NUL. Missing/expired results have an explicit per-key error. */
@@ -6626,4 +6691,4 @@ declare class DeeplineClient {
6626
6691
  }>;
6627
6692
  }
6628
6693
 
6629
- export { type MonitorFleetStatus as $, DeeplineClient as A, type BillingNamespace as B, type ClearPlayHistoryResult as C, type DeeplineClientOptions as D, type ExecutionRecovery as E, type DeeplineToolCategory as F, type LiveEventEnvelope as G, MONITOR_JOB_RECONCILIATION_STATES as H, type IngestionStorageRepairResult as I, MONITOR_JOB_STATES as J, type MonitorBatchNamespace as K, type LegacyMonitorStatusFilter as L, MONITOR_JOB_PHASES as M, type MonitorCheckResult as N, type MonitorDefinition as O, type PlayListItem as P, type MonitorDeleteResult as Q, type ResolvedConfig as R, type StopPlayRunResult as S, type ToolDefinition as T, type MonitorDependents as U, type MonitorDeployResult as V, type MonitorDetail as W, type MonitorFleetDeactivateOptions as X, type MonitorFleetGetOptions as Y, type MonitorFleetReactivateOptions as Z, type MonitorFleetResult as _, type ToolMetadata as a, type PlaysListPage as a$, type MonitorFleetSyncOptions as a0, type MonitorFleetWaitOptions as a1, type MonitorFleetsNamespace as a2, type MonitorJobDeployOptions as a3, type MonitorJobLogsOptions as a4, type MonitorJobPhase as a5, type MonitorJobReconciliationState as a6, type MonitorJobResult as a7, type MonitorJobState as a8, type MonitorJobWaitOptions as a9, type PlayActivityState as aA, type PlayActivityTarget as aB, type PlayBootstrapEntityKind as aC, type PlayBootstrapFinderKind as aD, type PlayCostEstimate as aE, type PlayCronTriggerConfig as aF, type PlayLiveEvent as aG, type PlayPath as aH, type PlayRunActionPackage as aI, type PlayRunActivityProjection as aJ, type PlayRunDatasetActions as aK, type PlayRunPackage as aL, type PlayRunResult as aM, type PlayRunStart as aN, type PlaySettings as aO, type PlaySettingsPatch as aP, type PlaySettingsPathsPage as aQ, type PlaySettingsResult as aR, type PlaySheetRow as aS, type PlaySheetRowsResult as aT, type PlayTriggerConfigUpdate as aU, type PlayTriggerConfigUpdateResult as aV, type PlayTriggerConfigView as aW, type PlayWebhookAuthConfig as aX, type PlayWebhookTriggerConfig as aY, type PlaysActivityResponse as aZ, type PlaysListOptions as a_, type MonitorJobsNamespace as aa, type MonitorListEntry as ab, type MonitorPayload as ac, type MonitorReactivateResult as ad, type MonitorSpec as ae, type MonitorState as af, type MonitorStateFilter as ag, type MonitorUpdateChangeSummary as ah, type MonitorUpdateResult as ai, type MonitorsAccessStatus as aj, type MonitorsAvailableOptions as ak, type MonitorsAvailableResult as al, type MonitorsListOptions as am, type MonitorsListResult as an, type MonitorsNamespace as ao, PLAY_BOOTSTRAP_COMPANY_FIELDS as ap, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY as aq, PLAY_BOOTSTRAP_CONTACT_FIELDS as ar, PLAY_BOOTSTRAP_FINDER_KINDS as as, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER as at, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY as au, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER as av, PLAY_BOOTSTRAP_SOURCE_KINDS as aw, PLAY_BOOTSTRAP_STAGE_KINDS as ax, PLAY_BOOTSTRAP_TEMPLATES as ay, type PlayActivityObservation as az, type ExecutionByKeyResult as b, stageFileInputs as b$, type PublishPlayVersionRequest as b0, type RerunOptions as b1, type RerunPlayRunResult as b2, type RunChildrenPage as b3, type RunLifecycleStatus as b4, type RunToolReceiptResult as b5, type RunToolReceiptsResponse as b6, type RunsChildrenOptions as b7, type RunsEventPayload as b8, type RunsEventSearchEntry as b9, isStopAllPlayRunsDryRunResult as bA, CSV_DATA_INPUT_KEY as bB, type FileInputBinding as bC, type LocalFileInput as bD, type MintStagedFileUpload as bE, PLAY_FILES_STAGE_MINT_PATH as bF, PLAY_FILES_STAGE_PATH as bG, PLAY_RUN_START_PATH as bH, PLAY_RUN_START_STREAM_PATH as bI, type PlayRunHttp as bJ, type ResolvedStartPlayRunRequest as bK, STAGE_LEGACY_MULTIPART_MAX_BYTES as bL, type StagedFileCodec as bM, type StagedFileInputs as bN, type StagedFileUpload as bO, buildNamedPlayRunRequest as bP, buildPlayRunStartBody as bQ, createSessionPlayRunHttp as bR, createStagedFileUpload as bS, fileInputBindingsFromPlaySchema as bT, fileInputBindingsFromStaticPipeline as bU, getDottedInputValue as bV, isPlayRunPackage as bW, mintStagedPlayFileUploads as bX, normalizePlayRunStart as bY, playRunFileInputBindings as bZ, setDottedInputValue as b_, type RunsEventSearchOptions as ba, type RunsEventSearchResult as bb, type RunsListOptions as bc, type RunsListPage as bd, type RunsLogsOptions as be, type RunsLogsResult as bf, type RunsNamespace as bg, type RunsTailOptions as bh, type RunsWatchOptions as bi, type StartPlayRunRequest as bj, type StopAllCandidate as bk, type StopAllPlayRunsDryRunResult as bl, type StopAllPlayRunsResult as bm, type StopAllPlayRunsStopResult as bn, type StopAllRunsOptions as bo, type ToolExecution as bp, type ToolSearchOptions as bq, type ToolSearchResult as br, type WorkspaceCreateResult as bs, type WorkspacesNamespace as bt, defineMonitor as bu, formatPlayBootstrapFinderKinds as bv, formatPlayBootstrapFinderKindsForSentence as bw, formatPlayBootstrapTemplates as bx, isPlayBootstrapFinderKind as by, isPlayBootstrapTemplate as bz, type PlayDetail as c, stagePlayFiles as c0, stagedFileContentType as c1, startPlayRun as c2, webStagedFileCodec as c3, type PlayRunListItem as d, type PlayRevisionSummary as e, type PublishPlayVersionResult as f, type PlayStatus as g, type BillingCreditPool as h, type BillingInvoiceEntry as i, type BillingInvoicesResult as j, type BillingPaymentMethodSummary as k, type BillingRecentUsageEntry as l, type BillingSubscriptionCancelResult as m, type BillingSubscriptionStatus as n, type BillingTopUpReceipt as o, type BillingTopUpResult as p, type BillingUsageEvent as q, type BillingUsageOptions as r, type BillingUsageResult as s, type ChildRunSummary as t, type ClearPlayHistoryRequest as u, type CreateNotificationGroupInput as v, type CreateNotificationGroupResult as w, type CustomerDbQueryResult as x, DEEPLINE_TOOL_CATEGORIES as y, type DbNamespace as z };
6694
+ export { type MonitorFleetStatus as $, DeeplineClient as A, type BillingNamespace as B, type ClearPlayHistoryResult as C, type DeeplineClientOptions as D, type ExecutionRecovery as E, type DeeplineToolCategory as F, type LiveEventEnvelope as G, MONITOR_JOB_RECONCILIATION_STATES as H, type IngestionStorageRepairResult as I, MONITOR_JOB_STATES as J, type MonitorBatchNamespace as K, type LegacyMonitorStatusFilter as L, MONITOR_JOB_PHASES as M, type MonitorCheckResult as N, type MonitorDefinition as O, type PlayListItem as P, type MonitorDeleteResult as Q, type ResolvedConfig as R, type StopPlayRunResult as S, type ToolDefinition as T, type MonitorDependents as U, type MonitorDeployResult as V, type MonitorDetail as W, type MonitorFleetDeactivateOptions as X, type MonitorFleetGetOptions as Y, type MonitorFleetReactivateOptions as Z, type MonitorFleetResult as _, type ToolMetadata as a, type PlaysListPage as a$, type MonitorFleetSyncOptions as a0, type MonitorFleetWaitOptions as a1, type MonitorFleetsNamespace as a2, type MonitorJobDeployOptions as a3, type MonitorJobLogsOptions as a4, type MonitorJobPhase as a5, type MonitorJobReconciliationState as a6, type MonitorJobResult as a7, type MonitorJobState as a8, type MonitorJobWaitOptions as a9, type PlayActivityState as aA, type PlayActivityTarget as aB, type PlayBootstrapEntityKind as aC, type PlayBootstrapFinderKind as aD, type PlayCostEstimate as aE, type PlayCronTriggerConfig as aF, type PlayLiveEvent as aG, type PlayPath as aH, type PlayRunActionPackage as aI, type PlayRunActivityProjection as aJ, type PlayRunDatasetActions as aK, type PlayRunPackage as aL, type PlayRunResult as aM, type PlayRunStart as aN, type PlaySettings as aO, type PlaySettingsPatch as aP, type PlaySettingsPathsPage as aQ, type PlaySettingsResult as aR, type PlaySheetRow as aS, type PlaySheetRowsResult as aT, type PlayTriggerConfigUpdate as aU, type PlayTriggerConfigUpdateResult as aV, type PlayTriggerConfigView as aW, type PlayWebhookAuthConfig as aX, type PlayWebhookTriggerConfig as aY, type PlaysActivityResponse as aZ, type PlaysListOptions as a_, type MonitorJobsNamespace as aa, type MonitorListEntry as ab, type MonitorPayload as ac, type MonitorReactivateResult as ad, type MonitorSpec as ae, type MonitorState as af, type MonitorStateFilter as ag, type MonitorUpdateChangeSummary as ah, type MonitorUpdateResult as ai, type MonitorsAccessStatus as aj, type MonitorsAvailableOptions as ak, type MonitorsAvailableResult as al, type MonitorsListOptions as am, type MonitorsListResult as an, type MonitorsNamespace as ao, PLAY_BOOTSTRAP_COMPANY_FIELDS as ap, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY as aq, PLAY_BOOTSTRAP_CONTACT_FIELDS as ar, PLAY_BOOTSTRAP_FINDER_KINDS as as, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER as at, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY as au, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER as av, PLAY_BOOTSTRAP_SOURCE_KINDS as aw, PLAY_BOOTSTRAP_STAGE_KINDS as ax, PLAY_BOOTSTRAP_TEMPLATES as ay, type PlayActivityObservation as az, type ExecutionByKeyResult as b, normalizePlayRunStart as b$, type PublishPlayVersionRequest as b0, type RerunOptions as b1, type RerunPlayRunResult as b2, type RunChildrenPage as b3, type RunLifecycleStatus as b4, type RunToolReceiptResult as b5, type RunToolReceiptsResponse as b6, type RunsChildrenOptions as b7, type RunsEventPayload as b8, type RunsEventSearchEntry as b9, formatPlayBootstrapTemplates as bA, isPlayBootstrapFinderKind as bB, isPlayBootstrapTemplate as bC, isStopAllPlayRunsDryRunResult as bD, CSV_DATA_INPUT_KEY as bE, type FileInputBinding as bF, type LocalFileInput as bG, type MintStagedFileUpload as bH, PLAY_FILES_STAGE_MINT_PATH as bI, PLAY_FILES_STAGE_PATH as bJ, PLAY_RUN_START_PATH as bK, PLAY_RUN_START_STREAM_PATH as bL, type PlayRunHttp as bM, type ResolvedStartPlayRunRequest as bN, STAGE_LEGACY_MULTIPART_MAX_BYTES as bO, type StagedFileCodec as bP, type StagedFileInputs as bQ, type StagedFileUpload as bR, buildNamedPlayRunRequest as bS, buildPlayRunStartBody as bT, createSessionPlayRunHttp as bU, createStagedFileUpload as bV, fileInputBindingsFromPlaySchema as bW, fileInputBindingsFromStaticPipeline as bX, getDottedInputValue as bY, isPlayRunPackage as bZ, mintStagedPlayFileUploads as b_, type RunsEventSearchOptions as ba, type RunsEventSearchResult as bb, type RunsHistoryItem as bc, type RunsHistoryOptions as bd, type RunsHistoryPage as be, type RunsListOptions as bf, type RunsListPage as bg, type RunsLogsOptions as bh, type RunsLogsResult as bi, type RunsNamespace as bj, type RunsTailOptions as bk, type RunsWatchOptions as bl, type StartPlayRunRequest as bm, type StopAllCandidate as bn, type StopAllPlayRunsDryRunResult as bo, type StopAllPlayRunsResult as bp, type StopAllPlayRunsStopResult as bq, type StopAllRunsOptions as br, type ToolExecution as bs, type ToolSearchOptions as bt, type ToolSearchResult as bu, type WorkspaceCreateResult as bv, type WorkspacesNamespace as bw, defineMonitor as bx, formatPlayBootstrapFinderKinds as by, formatPlayBootstrapFinderKindsForSentence as bz, type PlayDetail as c, playRunFileInputBindings as c0, setDottedInputValue as c1, stageFileInputs as c2, stagePlayFiles as c3, stagedFileContentType as c4, startPlayRun as c5, webStagedFileCodec as c6, type PlayRunListItem as d, type PlayRevisionSummary as e, type PublishPlayVersionResult as f, type PlayStatus as g, type BillingCreditPool as h, type BillingInvoiceEntry as i, type BillingInvoicesResult as j, type BillingPaymentMethodSummary as k, type BillingRecentUsageEntry as l, type BillingSubscriptionCancelResult as m, type BillingSubscriptionStatus as n, type BillingTopUpReceipt as o, type BillingTopUpResult as p, type BillingUsageEvent as q, type BillingUsageOptions as r, type BillingUsageResult as s, type ChildRunSummary as t, type ClearPlayHistoryRequest as u, type CreateNotificationGroupInput as v, type CreateNotificationGroupResult as w, type CustomerDbQueryResult as x, DEEPLINE_TOOL_CATEGORIES as y, type DbNamespace as z };
@@ -2216,6 +2216,12 @@ type PlayLiveEvent = LiveEventEnvelope<unknown> & {
2216
2216
  interface StopPlayRunResult {
2217
2217
  /** Public play-run identifier the stop request targeted. */
2218
2218
  runId: string;
2219
+ /**
2220
+ * Typed stop outcome: `stopped` (terminal), `cancelling` (cancellation
2221
+ * durably queued; cleanup and the final run update are pending, not an
2222
+ * error), or `failed` (the stop was not confirmed). Absent on older servers.
2223
+ */
2224
+ state?: 'stopped' | 'cancelling' | 'failed';
2219
2225
  /** Whether the server confirmed the run was stopped. */
2220
2226
  stopped: boolean;
2221
2227
  /** True when the durable cancellation lane accepted the request and is draining. */
@@ -2225,11 +2231,12 @@ interface StopPlayRunResult {
2225
2231
  /** True if HITL state or its same-message Slack card still needs retrying. */
2226
2232
  hitlCancellationPending?: boolean;
2227
2233
  /**
2228
- * True when the scheduler state for the run was stale and the stop could
2229
- * not be confirmed. Absent on older servers (treated as confirmed).
2234
+ * True only when the scheduler and the canonical run ledger disagree (for
2235
+ * example a terminal scheduler run whose ledger projection is pending), so
2236
+ * the stop could not be confirmed. Never set for a queued cancellation.
2230
2237
  */
2231
2238
  staleSchedulerState?: boolean;
2232
- /** Server-side error detail when the stop was not confirmed. */
2239
+ /** Server-side error detail when the stop failed (`state: 'failed'`). */
2233
2240
  error?: string;
2234
2241
  }
2235
2242
  /**
@@ -3715,6 +3722,46 @@ type RunsListPage = {
3715
3722
  limit?: number;
3716
3723
  hasMore?: boolean;
3717
3724
  };
3725
+ /** Cursor-paged workspace run history, including runs of removed Plays. */
3726
+ type RunsHistoryOptions = {
3727
+ /** Case-insensitive Play/workflow name, run ID, or status substring. */
3728
+ search?: string;
3729
+ /** Search classification from recorded trigger metadata; requires search. */
3730
+ type?: 'all' | 'plays' | 'monitors';
3731
+ cursor?: string;
3732
+ limit?: number;
3733
+ /** Must match the workspace authorized by the credential. */
3734
+ orgId?: string;
3735
+ signal?: AbortSignal;
3736
+ };
3737
+ type RunsHistoryItem = {
3738
+ runId: string;
3739
+ workflowId: string;
3740
+ workflowName: string;
3741
+ playScope: 'org' | 'system' | null;
3742
+ status: string;
3743
+ createdAt: number;
3744
+ updatedAt: number;
3745
+ callerName: string | null;
3746
+ callerEmail: string | null;
3747
+ authorName: string | null;
3748
+ authorEmail: string | null;
3749
+ callerAgent: string | null;
3750
+ executionMode: string | null;
3751
+ bindingId: string | null;
3752
+ parentWorkflowName: string | null;
3753
+ outputRowCount: number | null;
3754
+ hasOutput: boolean;
3755
+ billingTotalCredits?: number;
3756
+ triggerSource?: string;
3757
+ };
3758
+ /** An empty search page is incomplete while hasMore is true. */
3759
+ type RunsHistoryPage = {
3760
+ runs: RunsHistoryItem[];
3761
+ nextCursor: string | null;
3762
+ hasMore: boolean;
3763
+ avatarsByName?: Record<string, string>;
3764
+ };
3718
3765
  type PlaysListOptions = {
3719
3766
  origin?: 'prebuilt' | 'owned';
3720
3767
  grep?: string;
@@ -3744,6 +3791,8 @@ type PlaysListPage = {
3744
3791
  type RunsGetOptions = {
3745
3792
  /** Return the raw status payload instead of the compact package. */
3746
3793
  full?: boolean;
3794
+ /** Explicitly read this run's recorded graph and source, without full results. */
3795
+ configuration?: boolean;
3747
3796
  /** Attach a bounded end-of-stream window for a failed run. */
3748
3797
  failedLogs?: boolean;
3749
3798
  /** Requested failed-log lines to attach (default 20, hard-capped at 20). */
@@ -3834,6 +3883,12 @@ type RunsLogsOptions = {
3834
3883
  all?: boolean;
3835
3884
  /** Read a terminal-failed run's last 20 retained lines, or fewer with `limit`. Retention loss returns an explicit association and warning. */
3836
3885
  failed?: boolean;
3886
+ /**
3887
+ * Continue with the next OLDER page: pass a prior result's `nextCursor`.
3888
+ * The page holds the last `limit` stored lines before that cursor (with
3889
+ * `all`, every stored line before it).
3890
+ */
3891
+ cursor?: string;
3837
3892
  };
3838
3893
  /** Retained text for one run. Counts and retention flags describe the stored stream, not every original console call. */
3839
3894
  type RunsLogsResult = {
@@ -3849,8 +3904,14 @@ type RunsLogsResult = {
3849
3904
  lastSequence: number | null;
3850
3905
  /** Tail/all: returned count is below total count. Failed: the stream lost bodies to retention. Check `logsTruncated` to distinguish retention loss from a selected tail. */
3851
3906
  truncated: boolean;
3852
- /** More retained lines exist after `lastSequence`; always false for the designed failure window. */
3907
+ /** Older stored lines exist before this page; `nextCursor` reads them. */
3853
3908
  hasMore: boolean;
3909
+ /**
3910
+ * Opaque cursor for the next older page (`runs.logs(id, { cursor })`),
3911
+ * null when this page reaches the oldest stored line. Absent for the failed
3912
+ * view, which is a complete designed window rather than a pageable slice.
3913
+ */
3914
+ nextCursor?: string | null;
3854
3915
  /** Formatted text lines in stored sequence order; structured context is available through event search. */
3855
3916
  entries: string[];
3856
3917
  /** Selected public log view. */
@@ -4023,6 +4084,8 @@ type RunsNamespace = {
4023
4084
  list: (options: RunsListOptions) => Promise<PlayRunListItem[]>;
4024
4085
  /** Read one run page with total, offset, limit and completeness metadata. */
4025
4086
  listPage: (options: RunsListOptions) => Promise<RunsListPage>;
4087
+ /** Search/page workspace run history newest first; follow empty continuing pages. */
4088
+ history: (options?: RunsHistoryOptions) => Promise<RunsHistoryPage>;
4026
4089
  /** Poll run snapshots every two seconds until terminal status. */
4027
4090
  watch: (runId: string, options?: RunsWatchOptions) => Promise<PlayStatus>;
4028
4091
  /** @deprecated Use `watch`; retained as a source-compatible alias. */
@@ -5698,7 +5761,7 @@ declare class DeeplineClient {
5698
5761
  * Convenience wrapper around {@link registerPlayArtifact} plus
5699
5762
  * {@link startPlayRun}. This is the canonical file-backed path used by wrappers.
5700
5763
  * The returned id can be passed to {@link getPlayStatus} to retrieve the same
5701
- * durable `{ result }` object that the CLI prints after `--watch` completes.
5764
+ * durable `{ result }` object that the CLI prints after `plays run` completes.
5702
5765
  *
5703
5766
  * @param code - Source string fallback; the bundled artifact should be passed in `options.artifact`
5704
5767
  * @param csvPath - Path to input CSV file, or `null`
@@ -5794,7 +5857,7 @@ declare class DeeplineClient {
5794
5857
  * Get the current status of a play execution.
5795
5858
  *
5796
5859
  * Internal/advanced primitive. Public callers should usually prefer
5797
- * {@link runPlay}, {@link PlayJob.get}, or `deepline plays run --watch`.
5860
+ * {@link runPlay}, {@link PlayJob.get}, or `deepline plays run`.
5798
5861
  *
5799
5862
  * @param workflowId - Play-run id from {@link startPlayRun}
5800
5863
  * @returns Current status with progress logs and partial results
@@ -5971,6 +6034,8 @@ declare class DeeplineClient {
5971
6034
  * ```
5972
6035
  */
5973
6036
  listRuns(options: RunsListOptions): Promise<PlayRunListItem[]>;
6037
+ /** The same tenant-scoped run history searched by the dashboard and CLI. */
6038
+ getRunsHistory(options?: RunsHistoryOptions): Promise<RunsHistoryPage>;
5974
6039
  /** Read one run page without discarding server pagination metadata. */
5975
6040
  listRunsPage(options: RunsListOptions): Promise<RunsListPage>;
5976
6041
  /** Read retained tool results without executing tools, preserving supplied key order and batching 100 keys per request. Obtain keys from exported evidence or execution metadata; each key must be nonempty, at most 2,048 characters and contain no CR, LF or NUL. Missing/expired results have an explicit per-key error. */
@@ -6626,4 +6691,4 @@ declare class DeeplineClient {
6626
6691
  }>;
6627
6692
  }
6628
6693
 
6629
- export { type MonitorFleetStatus as $, DeeplineClient as A, type BillingNamespace as B, type ClearPlayHistoryResult as C, type DeeplineClientOptions as D, type ExecutionRecovery as E, type DeeplineToolCategory as F, type LiveEventEnvelope as G, MONITOR_JOB_RECONCILIATION_STATES as H, type IngestionStorageRepairResult as I, MONITOR_JOB_STATES as J, type MonitorBatchNamespace as K, type LegacyMonitorStatusFilter as L, MONITOR_JOB_PHASES as M, type MonitorCheckResult as N, type MonitorDefinition as O, type PlayListItem as P, type MonitorDeleteResult as Q, type ResolvedConfig as R, type StopPlayRunResult as S, type ToolDefinition as T, type MonitorDependents as U, type MonitorDeployResult as V, type MonitorDetail as W, type MonitorFleetDeactivateOptions as X, type MonitorFleetGetOptions as Y, type MonitorFleetReactivateOptions as Z, type MonitorFleetResult as _, type ToolMetadata as a, type PlaysListPage as a$, type MonitorFleetSyncOptions as a0, type MonitorFleetWaitOptions as a1, type MonitorFleetsNamespace as a2, type MonitorJobDeployOptions as a3, type MonitorJobLogsOptions as a4, type MonitorJobPhase as a5, type MonitorJobReconciliationState as a6, type MonitorJobResult as a7, type MonitorJobState as a8, type MonitorJobWaitOptions as a9, type PlayActivityState as aA, type PlayActivityTarget as aB, type PlayBootstrapEntityKind as aC, type PlayBootstrapFinderKind as aD, type PlayCostEstimate as aE, type PlayCronTriggerConfig as aF, type PlayLiveEvent as aG, type PlayPath as aH, type PlayRunActionPackage as aI, type PlayRunActivityProjection as aJ, type PlayRunDatasetActions as aK, type PlayRunPackage as aL, type PlayRunResult as aM, type PlayRunStart as aN, type PlaySettings as aO, type PlaySettingsPatch as aP, type PlaySettingsPathsPage as aQ, type PlaySettingsResult as aR, type PlaySheetRow as aS, type PlaySheetRowsResult as aT, type PlayTriggerConfigUpdate as aU, type PlayTriggerConfigUpdateResult as aV, type PlayTriggerConfigView as aW, type PlayWebhookAuthConfig as aX, type PlayWebhookTriggerConfig as aY, type PlaysActivityResponse as aZ, type PlaysListOptions as a_, type MonitorJobsNamespace as aa, type MonitorListEntry as ab, type MonitorPayload as ac, type MonitorReactivateResult as ad, type MonitorSpec as ae, type MonitorState as af, type MonitorStateFilter as ag, type MonitorUpdateChangeSummary as ah, type MonitorUpdateResult as ai, type MonitorsAccessStatus as aj, type MonitorsAvailableOptions as ak, type MonitorsAvailableResult as al, type MonitorsListOptions as am, type MonitorsListResult as an, type MonitorsNamespace as ao, PLAY_BOOTSTRAP_COMPANY_FIELDS as ap, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY as aq, PLAY_BOOTSTRAP_CONTACT_FIELDS as ar, PLAY_BOOTSTRAP_FINDER_KINDS as as, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER as at, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY as au, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER as av, PLAY_BOOTSTRAP_SOURCE_KINDS as aw, PLAY_BOOTSTRAP_STAGE_KINDS as ax, PLAY_BOOTSTRAP_TEMPLATES as ay, type PlayActivityObservation as az, type ExecutionByKeyResult as b, stageFileInputs as b$, type PublishPlayVersionRequest as b0, type RerunOptions as b1, type RerunPlayRunResult as b2, type RunChildrenPage as b3, type RunLifecycleStatus as b4, type RunToolReceiptResult as b5, type RunToolReceiptsResponse as b6, type RunsChildrenOptions as b7, type RunsEventPayload as b8, type RunsEventSearchEntry as b9, isStopAllPlayRunsDryRunResult as bA, CSV_DATA_INPUT_KEY as bB, type FileInputBinding as bC, type LocalFileInput as bD, type MintStagedFileUpload as bE, PLAY_FILES_STAGE_MINT_PATH as bF, PLAY_FILES_STAGE_PATH as bG, PLAY_RUN_START_PATH as bH, PLAY_RUN_START_STREAM_PATH as bI, type PlayRunHttp as bJ, type ResolvedStartPlayRunRequest as bK, STAGE_LEGACY_MULTIPART_MAX_BYTES as bL, type StagedFileCodec as bM, type StagedFileInputs as bN, type StagedFileUpload as bO, buildNamedPlayRunRequest as bP, buildPlayRunStartBody as bQ, createSessionPlayRunHttp as bR, createStagedFileUpload as bS, fileInputBindingsFromPlaySchema as bT, fileInputBindingsFromStaticPipeline as bU, getDottedInputValue as bV, isPlayRunPackage as bW, mintStagedPlayFileUploads as bX, normalizePlayRunStart as bY, playRunFileInputBindings as bZ, setDottedInputValue as b_, type RunsEventSearchOptions as ba, type RunsEventSearchResult as bb, type RunsListOptions as bc, type RunsListPage as bd, type RunsLogsOptions as be, type RunsLogsResult as bf, type RunsNamespace as bg, type RunsTailOptions as bh, type RunsWatchOptions as bi, type StartPlayRunRequest as bj, type StopAllCandidate as bk, type StopAllPlayRunsDryRunResult as bl, type StopAllPlayRunsResult as bm, type StopAllPlayRunsStopResult as bn, type StopAllRunsOptions as bo, type ToolExecution as bp, type ToolSearchOptions as bq, type ToolSearchResult as br, type WorkspaceCreateResult as bs, type WorkspacesNamespace as bt, defineMonitor as bu, formatPlayBootstrapFinderKinds as bv, formatPlayBootstrapFinderKindsForSentence as bw, formatPlayBootstrapTemplates as bx, isPlayBootstrapFinderKind as by, isPlayBootstrapTemplate as bz, type PlayDetail as c, stagePlayFiles as c0, stagedFileContentType as c1, startPlayRun as c2, webStagedFileCodec as c3, type PlayRunListItem as d, type PlayRevisionSummary as e, type PublishPlayVersionResult as f, type PlayStatus as g, type BillingCreditPool as h, type BillingInvoiceEntry as i, type BillingInvoicesResult as j, type BillingPaymentMethodSummary as k, type BillingRecentUsageEntry as l, type BillingSubscriptionCancelResult as m, type BillingSubscriptionStatus as n, type BillingTopUpReceipt as o, type BillingTopUpResult as p, type BillingUsageEvent as q, type BillingUsageOptions as r, type BillingUsageResult as s, type ChildRunSummary as t, type ClearPlayHistoryRequest as u, type CreateNotificationGroupInput as v, type CreateNotificationGroupResult as w, type CustomerDbQueryResult as x, DEEPLINE_TOOL_CATEGORIES as y, type DbNamespace as z };
6694
+ export { type MonitorFleetStatus as $, DeeplineClient as A, type BillingNamespace as B, type ClearPlayHistoryResult as C, type DeeplineClientOptions as D, type ExecutionRecovery as E, type DeeplineToolCategory as F, type LiveEventEnvelope as G, MONITOR_JOB_RECONCILIATION_STATES as H, type IngestionStorageRepairResult as I, MONITOR_JOB_STATES as J, type MonitorBatchNamespace as K, type LegacyMonitorStatusFilter as L, MONITOR_JOB_PHASES as M, type MonitorCheckResult as N, type MonitorDefinition as O, type PlayListItem as P, type MonitorDeleteResult as Q, type ResolvedConfig as R, type StopPlayRunResult as S, type ToolDefinition as T, type MonitorDependents as U, type MonitorDeployResult as V, type MonitorDetail as W, type MonitorFleetDeactivateOptions as X, type MonitorFleetGetOptions as Y, type MonitorFleetReactivateOptions as Z, type MonitorFleetResult as _, type ToolMetadata as a, type PlaysListPage as a$, type MonitorFleetSyncOptions as a0, type MonitorFleetWaitOptions as a1, type MonitorFleetsNamespace as a2, type MonitorJobDeployOptions as a3, type MonitorJobLogsOptions as a4, type MonitorJobPhase as a5, type MonitorJobReconciliationState as a6, type MonitorJobResult as a7, type MonitorJobState as a8, type MonitorJobWaitOptions as a9, type PlayActivityState as aA, type PlayActivityTarget as aB, type PlayBootstrapEntityKind as aC, type PlayBootstrapFinderKind as aD, type PlayCostEstimate as aE, type PlayCronTriggerConfig as aF, type PlayLiveEvent as aG, type PlayPath as aH, type PlayRunActionPackage as aI, type PlayRunActivityProjection as aJ, type PlayRunDatasetActions as aK, type PlayRunPackage as aL, type PlayRunResult as aM, type PlayRunStart as aN, type PlaySettings as aO, type PlaySettingsPatch as aP, type PlaySettingsPathsPage as aQ, type PlaySettingsResult as aR, type PlaySheetRow as aS, type PlaySheetRowsResult as aT, type PlayTriggerConfigUpdate as aU, type PlayTriggerConfigUpdateResult as aV, type PlayTriggerConfigView as aW, type PlayWebhookAuthConfig as aX, type PlayWebhookTriggerConfig as aY, type PlaysActivityResponse as aZ, type PlaysListOptions as a_, type MonitorJobsNamespace as aa, type MonitorListEntry as ab, type MonitorPayload as ac, type MonitorReactivateResult as ad, type MonitorSpec as ae, type MonitorState as af, type MonitorStateFilter as ag, type MonitorUpdateChangeSummary as ah, type MonitorUpdateResult as ai, type MonitorsAccessStatus as aj, type MonitorsAvailableOptions as ak, type MonitorsAvailableResult as al, type MonitorsListOptions as am, type MonitorsListResult as an, type MonitorsNamespace as ao, PLAY_BOOTSTRAP_COMPANY_FIELDS as ap, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY as aq, PLAY_BOOTSTRAP_CONTACT_FIELDS as ar, PLAY_BOOTSTRAP_FINDER_KINDS as as, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER as at, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY as au, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER as av, PLAY_BOOTSTRAP_SOURCE_KINDS as aw, PLAY_BOOTSTRAP_STAGE_KINDS as ax, PLAY_BOOTSTRAP_TEMPLATES as ay, type PlayActivityObservation as az, type ExecutionByKeyResult as b, normalizePlayRunStart as b$, type PublishPlayVersionRequest as b0, type RerunOptions as b1, type RerunPlayRunResult as b2, type RunChildrenPage as b3, type RunLifecycleStatus as b4, type RunToolReceiptResult as b5, type RunToolReceiptsResponse as b6, type RunsChildrenOptions as b7, type RunsEventPayload as b8, type RunsEventSearchEntry as b9, formatPlayBootstrapTemplates as bA, isPlayBootstrapFinderKind as bB, isPlayBootstrapTemplate as bC, isStopAllPlayRunsDryRunResult as bD, CSV_DATA_INPUT_KEY as bE, type FileInputBinding as bF, type LocalFileInput as bG, type MintStagedFileUpload as bH, PLAY_FILES_STAGE_MINT_PATH as bI, PLAY_FILES_STAGE_PATH as bJ, PLAY_RUN_START_PATH as bK, PLAY_RUN_START_STREAM_PATH as bL, type PlayRunHttp as bM, type ResolvedStartPlayRunRequest as bN, STAGE_LEGACY_MULTIPART_MAX_BYTES as bO, type StagedFileCodec as bP, type StagedFileInputs as bQ, type StagedFileUpload as bR, buildNamedPlayRunRequest as bS, buildPlayRunStartBody as bT, createSessionPlayRunHttp as bU, createStagedFileUpload as bV, fileInputBindingsFromPlaySchema as bW, fileInputBindingsFromStaticPipeline as bX, getDottedInputValue as bY, isPlayRunPackage as bZ, mintStagedPlayFileUploads as b_, type RunsEventSearchOptions as ba, type RunsEventSearchResult as bb, type RunsHistoryItem as bc, type RunsHistoryOptions as bd, type RunsHistoryPage as be, type RunsListOptions as bf, type RunsListPage as bg, type RunsLogsOptions as bh, type RunsLogsResult as bi, type RunsNamespace as bj, type RunsTailOptions as bk, type RunsWatchOptions as bl, type StartPlayRunRequest as bm, type StopAllCandidate as bn, type StopAllPlayRunsDryRunResult as bo, type StopAllPlayRunsResult as bp, type StopAllPlayRunsStopResult as bq, type StopAllRunsOptions as br, type ToolExecution as bs, type ToolSearchOptions as bt, type ToolSearchResult as bu, type WorkspaceCreateResult as bv, type WorkspacesNamespace as bw, defineMonitor as bx, formatPlayBootstrapFinderKinds as by, formatPlayBootstrapFinderKindsForSentence as bz, type PlayDetail as c, playRunFileInputBindings as c0, setDottedInputValue as c1, stageFileInputs as c2, stagePlayFiles as c3, stagedFileContentType as c4, startPlayRun as c5, webStagedFileCodec as c6, type PlayRunListItem as d, type PlayRevisionSummary as e, type PublishPlayVersionResult as f, type PlayStatus as g, type BillingCreditPool as h, type BillingInvoiceEntry as i, type BillingInvoicesResult as j, type BillingPaymentMethodSummary as k, type BillingRecentUsageEntry as l, type BillingSubscriptionCancelResult as m, type BillingSubscriptionStatus as n, type BillingTopUpReceipt as o, type BillingTopUpResult as p, type BillingUsageEvent as q, type BillingUsageOptions as r, type BillingUsageResult as s, type ChildRunSummary as t, type ClearPlayHistoryRequest as u, type CreateNotificationGroupInput as v, type CreateNotificationGroupResult as w, type CustomerDbQueryResult as x, DEEPLINE_TOOL_CATEGORIES as y, type DbNamespace as z };
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { D as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, a as ToolMetadata, E as ExecutionRecovery, b as ExecutionByKeyResult, P as PlayListItem, c as PlayDetail, d as PlayRunListItem, e as PlayRevisionSummary, f as PublishPlayVersionResult, C as ClearPlayHistoryResult, g as PlayStatus, S as StopPlayRunResult, R as ResolvedConfig } from './client-D9annc6K.mjs';
3
- export { h as BillingCreditPool, i as BillingInvoiceEntry, j as BillingInvoicesResult, k as BillingPaymentMethodSummary, l as BillingRecentUsageEntry, m as BillingSubscriptionCancelResult, n as BillingSubscriptionStatus, o as BillingTopUpReceipt, p as BillingTopUpResult, q as BillingUsageEvent, r as BillingUsageOptions, s as BillingUsageResult, t as ChildRunSummary, u as ClearPlayHistoryRequest, v as CreateNotificationGroupInput, w as CreateNotificationGroupResult, x as CustomerDbQueryResult, y as DEEPLINE_TOOL_CATEGORIES, z as DbNamespace, A as DeeplineClient, F as DeeplineToolCategory, I as IngestionStorageRepairResult, L as LegacyMonitorStatusFilter, G as LiveEventEnvelope, M as MONITOR_JOB_PHASES, H as MONITOR_JOB_RECONCILIATION_STATES, J as MONITOR_JOB_STATES, K as MonitorBatchNamespace, N as MonitorCheckResult, O as MonitorDefinition, Q as MonitorDeleteResult, U as MonitorDependents, V as MonitorDeployResult, W as MonitorDetail, X as MonitorFleetDeactivateOptions, Y as MonitorFleetGetOptions, Z as MonitorFleetReactivateOptions, _ as MonitorFleetResult, $ as MonitorFleetStatus, a0 as MonitorFleetSyncOptions, a1 as MonitorFleetWaitOptions, a2 as MonitorFleetsNamespace, a3 as MonitorJobDeployOptions, a4 as MonitorJobLogsOptions, a5 as MonitorJobPhase, a6 as MonitorJobReconciliationState, a7 as MonitorJobResult, a8 as MonitorJobState, a9 as MonitorJobWaitOptions, aa as MonitorJobsNamespace, ab as MonitorListEntry, ac as MonitorPayload, ad as MonitorReactivateResult, ae as MonitorSpec, af as MonitorState, ag as MonitorStateFilter, ah as MonitorUpdateChangeSummary, ai as MonitorUpdateResult, aj as MonitorsAccessStatus, ak as MonitorsAvailableOptions, al as MonitorsAvailableResult, am as MonitorsListOptions, an as MonitorsListResult, ao as MonitorsNamespace, ap as PLAY_BOOTSTRAP_COMPANY_FIELDS, aq as PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, ar as PLAY_BOOTSTRAP_CONTACT_FIELDS, as as PLAY_BOOTSTRAP_FINDER_KINDS, at as PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, au as PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, av as PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, aw as PLAY_BOOTSTRAP_SOURCE_KINDS, ax as PLAY_BOOTSTRAP_STAGE_KINDS, ay as PLAY_BOOTSTRAP_TEMPLATES, az as PlayActivityObservation, aA as PlayActivityState, aB as PlayActivityTarget, aC as PlayBootstrapEntityKind, aD as PlayBootstrapFinderKind, aE as PlayCostEstimate, aF as PlayCronTriggerConfig, aG as PlayLiveEvent, aH as PlayPath, aI as PlayRunActionPackage, aJ as PlayRunActivityProjection, aK as PlayRunDatasetActions, aL as PlayRunPackage, aM as PlayRunResult, aN as PlayRunStart, aO as PlaySettings, aP as PlaySettingsPatch, aQ as PlaySettingsPathsPage, aR as PlaySettingsResult, aS as PlaySheetRow, aT as PlaySheetRowsResult, aU as PlayTriggerConfigUpdate, aV as PlayTriggerConfigUpdateResult, aW as PlayTriggerConfigView, aX as PlayWebhookAuthConfig, aY as PlayWebhookTriggerConfig, aZ as PlaysActivityResponse, a_ as PlaysListOptions, a$ as PlaysListPage, b0 as PublishPlayVersionRequest, b1 as RerunOptions, b2 as RerunPlayRunResult, b3 as RunChildrenPage, b4 as RunLifecycleStatus, b5 as RunToolReceiptResult, b6 as RunToolReceiptsResponse, b7 as RunsChildrenOptions, b8 as RunsEventPayload, b9 as RunsEventSearchEntry, ba as RunsEventSearchOptions, bb as RunsEventSearchResult, bc as RunsListOptions, bd as RunsListPage, be as RunsLogsOptions, bf as RunsLogsResult, bg as RunsNamespace, bh as RunsTailOptions, bi as RunsWatchOptions, bj as StartPlayRunRequest, bk as StopAllCandidate, bl as StopAllPlayRunsDryRunResult, bm as StopAllPlayRunsResult, bn as StopAllPlayRunsStopResult, bo as StopAllRunsOptions, bp as ToolExecution, bq as ToolSearchOptions, br as ToolSearchResult, bs as WorkspaceCreateResult, bt as WorkspacesNamespace, bu as defineMonitor, bv as formatPlayBootstrapFinderKinds, bw as formatPlayBootstrapFinderKindsForSentence, bx as formatPlayBootstrapTemplates, by as isPlayBootstrapFinderKind, bz as isPlayBootstrapTemplate, bA as isStopAllPlayRunsDryRunResult } from './client-D9annc6K.mjs';
2
+ import { D as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, a as ToolMetadata, E as ExecutionRecovery, b as ExecutionByKeyResult, P as PlayListItem, c as PlayDetail, d as PlayRunListItem, e as PlayRevisionSummary, f as PublishPlayVersionResult, C as ClearPlayHistoryResult, g as PlayStatus, S as StopPlayRunResult, R as ResolvedConfig } from './client-CbNvJLgV.mjs';
3
+ export { h as BillingCreditPool, i as BillingInvoiceEntry, j as BillingInvoicesResult, k as BillingPaymentMethodSummary, l as BillingRecentUsageEntry, m as BillingSubscriptionCancelResult, n as BillingSubscriptionStatus, o as BillingTopUpReceipt, p as BillingTopUpResult, q as BillingUsageEvent, r as BillingUsageOptions, s as BillingUsageResult, t as ChildRunSummary, u as ClearPlayHistoryRequest, v as CreateNotificationGroupInput, w as CreateNotificationGroupResult, x as CustomerDbQueryResult, y as DEEPLINE_TOOL_CATEGORIES, z as DbNamespace, A as DeeplineClient, F as DeeplineToolCategory, I as IngestionStorageRepairResult, L as LegacyMonitorStatusFilter, G as LiveEventEnvelope, M as MONITOR_JOB_PHASES, H as MONITOR_JOB_RECONCILIATION_STATES, J as MONITOR_JOB_STATES, K as MonitorBatchNamespace, N as MonitorCheckResult, O as MonitorDefinition, Q as MonitorDeleteResult, U as MonitorDependents, V as MonitorDeployResult, W as MonitorDetail, X as MonitorFleetDeactivateOptions, Y as MonitorFleetGetOptions, Z as MonitorFleetReactivateOptions, _ as MonitorFleetResult, $ as MonitorFleetStatus, a0 as MonitorFleetSyncOptions, a1 as MonitorFleetWaitOptions, a2 as MonitorFleetsNamespace, a3 as MonitorJobDeployOptions, a4 as MonitorJobLogsOptions, a5 as MonitorJobPhase, a6 as MonitorJobReconciliationState, a7 as MonitorJobResult, a8 as MonitorJobState, a9 as MonitorJobWaitOptions, aa as MonitorJobsNamespace, ab as MonitorListEntry, ac as MonitorPayload, ad as MonitorReactivateResult, ae as MonitorSpec, af as MonitorState, ag as MonitorStateFilter, ah as MonitorUpdateChangeSummary, ai as MonitorUpdateResult, aj as MonitorsAccessStatus, ak as MonitorsAvailableOptions, al as MonitorsAvailableResult, am as MonitorsListOptions, an as MonitorsListResult, ao as MonitorsNamespace, ap as PLAY_BOOTSTRAP_COMPANY_FIELDS, aq as PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, ar as PLAY_BOOTSTRAP_CONTACT_FIELDS, as as PLAY_BOOTSTRAP_FINDER_KINDS, at as PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, au as PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, av as PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, aw as PLAY_BOOTSTRAP_SOURCE_KINDS, ax as PLAY_BOOTSTRAP_STAGE_KINDS, ay as PLAY_BOOTSTRAP_TEMPLATES, az as PlayActivityObservation, aA as PlayActivityState, aB as PlayActivityTarget, aC as PlayBootstrapEntityKind, aD as PlayBootstrapFinderKind, aE as PlayCostEstimate, aF as PlayCronTriggerConfig, aG as PlayLiveEvent, aH as PlayPath, aI as PlayRunActionPackage, aJ as PlayRunActivityProjection, aK as PlayRunDatasetActions, aL as PlayRunPackage, aM as PlayRunResult, aN as PlayRunStart, aO as PlaySettings, aP as PlaySettingsPatch, aQ as PlaySettingsPathsPage, aR as PlaySettingsResult, aS as PlaySheetRow, aT as PlaySheetRowsResult, aU as PlayTriggerConfigUpdate, aV as PlayTriggerConfigUpdateResult, aW as PlayTriggerConfigView, aX as PlayWebhookAuthConfig, aY as PlayWebhookTriggerConfig, aZ as PlaysActivityResponse, a_ as PlaysListOptions, a$ as PlaysListPage, b0 as PublishPlayVersionRequest, b1 as RerunOptions, b2 as RerunPlayRunResult, b3 as RunChildrenPage, b4 as RunLifecycleStatus, b5 as RunToolReceiptResult, b6 as RunToolReceiptsResponse, b7 as RunsChildrenOptions, b8 as RunsEventPayload, b9 as RunsEventSearchEntry, ba as RunsEventSearchOptions, bb as RunsEventSearchResult, bc as RunsHistoryItem, bd as RunsHistoryOptions, be as RunsHistoryPage, bf as RunsListOptions, bg as RunsListPage, bh as RunsLogsOptions, bi as RunsLogsResult, bj as RunsNamespace, bk as RunsTailOptions, bl as RunsWatchOptions, bm as StartPlayRunRequest, bn as StopAllCandidate, bo as StopAllPlayRunsDryRunResult, bp as StopAllPlayRunsResult, bq as StopAllPlayRunsStopResult, br as StopAllRunsOptions, bs as ToolExecution, bt as ToolSearchOptions, bu as ToolSearchResult, bv as WorkspaceCreateResult, bw as WorkspacesNamespace, bx as defineMonitor, by as formatPlayBootstrapFinderKinds, bz as formatPlayBootstrapFinderKindsForSentence, bA as formatPlayBootstrapTemplates, bB as isPlayBootstrapFinderKind, bC as isPlayBootstrapTemplate, bD as isStopAllPlayRunsDryRunResult } from './client-CbNvJLgV.mjs';
4
4
  import { A as AsyncPlayRunRef$1, i as PlayAuthoringColumnMap, j as PlayAuthoringColumnResolver, k as PlayAuthoringRuntimeContext, l as PlayAuthoringConditionalStepResolver, m as PlayAuthoringCsvInput, n as PlayAuthoringCsvOptions, o as PlayAuthoringDatasetBuilder, p as PlayAuthoringDatasetColumnDefinition, q as PlayAuthoringDatasetColumnRunInput, T as ToolExecuteResult, r as PlayAuthoringReferenceLike, s as PlayReturnObject$1, t as PlayAuthoringDefineConfig, u as PlayAuthoringDefinedPlay, v as PlayAuthoringFetchOptions, w as PlayAuthoringFileInput, x as PlayAuthoringAsyncCallOptions, y as PlayAuthoringBindings, z as PlayAuthoringCallExecution, B as PlayAuthoringCallOptions, C as PlayAuthoringFetchResponse, D as PlayAuthoringInputContract, E as PlayRunId$1, F as PlayAuthoringStepProgramStep, G as PlayAuthoringRuntimeStepOptions, H as PlaySqlListenerDeclaration, I as PlaySqlListenerEvent, J as PlaySqlListenerOperation, K as PlaySqlQuery, L as PlayAuthoringStepOptions, M as PlayAuthoringStepProgram, N as PlayAuthoringStepProgramResolver, O as PlayAuthoringStepResolver, Q as PlayToolExecutionRequest, R as PlayAuthoringStepProgramOptions, S as DeeplineError, U as ToolExecutionError, V as ToolExecutionErrorOptions } from './compiler-manifest-C1bKB9bY.mjs';
5
5
  export { W as CtxFetchHttpError, X as DEEPLINE_EXTRACTOR_TARGETS, Y as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, Z as DeeplineEmailStatusGetterValue, _ as DeeplineExtractorTarget, $ as DeeplineGetterValue, a0 as DeeplineGetterValueMap, a1 as JOB_CHANGE_STATUS_VALUES, a2 as JobChangeStatus, a3 as PHONE_STATUS_VALUES, a4 as PhoneStatus, a5 as PlayDataset, a6 as PlayDatasetInput, a7 as PreviousCell, a8 as ProviderTransientError, a9 as ProviderTransientErrorCategory, aa as ProviderUnavailableError, ab as ProviderUnavailableReason, ac as ToolExecutionErrorCategory, ad as ToolExecutionErrorOrigin, ae as ToolExecutionFailureV1, af as ToolExecutionNetworkKind, ag as ToolExecutionNetworkScope, ah as ToolExecutionPublicDetails, ai as ToolResultBilling, aj as getProviderUnavailableReason, ak as isDeeplineExtractorTarget, al as isProviderUnavailable, am as isProviderWaterfallUnavailableError } from './compiler-manifest-C1bKB9bY.mjs';
6
6
  export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.mjs';
@@ -203,16 +203,10 @@ type CsvOptions = PlayAuthoringCsvOptions;
203
203
  */
204
204
  type DeeplinePlayRuntimeContext = PlayAuthoringRuntimeContext;
205
205
  /**
206
- * Handle to a running play execution.
207
- *
208
- * Provides methods to check status, stream logs, wait for completion,
209
- * or cancel the execution.
210
- *
211
- * This handle is the SDK-context equivalent of `deepline plays run --watch` and
212
- * `POST /api/v2/plays/run`: every surface returns a run id first, then exposes
213
- * the completed user output through `PlayJob.get()` or the status endpoint's
214
- * `result` field. Runtime logs are available from `status().progress.logs` and
215
- * are intentionally separate from the returned output object.
206
+ * Handle to a Play execution: inspect status, stream logs, await output, or cancel.
207
+ * Like `deepline plays run` and `POST /api/v2/plays/run`, it returns a run id first.
208
+ * Read completed output through `PlayJob.get()` or the status endpoint's `result` field;
209
+ * runtime logs in `status().progress.logs` are separate from that output.
216
210
  *
217
211
  * @typeParam TOutput - The play's return type
218
212
  *
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { D as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, a as ToolMetadata, E as ExecutionRecovery, b as ExecutionByKeyResult, P as PlayListItem, c as PlayDetail, d as PlayRunListItem, e as PlayRevisionSummary, f as PublishPlayVersionResult, C as ClearPlayHistoryResult, g as PlayStatus, S as StopPlayRunResult, R as ResolvedConfig } from './client-5xpuGpRn.js';
3
- export { h as BillingCreditPool, i as BillingInvoiceEntry, j as BillingInvoicesResult, k as BillingPaymentMethodSummary, l as BillingRecentUsageEntry, m as BillingSubscriptionCancelResult, n as BillingSubscriptionStatus, o as BillingTopUpReceipt, p as BillingTopUpResult, q as BillingUsageEvent, r as BillingUsageOptions, s as BillingUsageResult, t as ChildRunSummary, u as ClearPlayHistoryRequest, v as CreateNotificationGroupInput, w as CreateNotificationGroupResult, x as CustomerDbQueryResult, y as DEEPLINE_TOOL_CATEGORIES, z as DbNamespace, A as DeeplineClient, F as DeeplineToolCategory, I as IngestionStorageRepairResult, L as LegacyMonitorStatusFilter, G as LiveEventEnvelope, M as MONITOR_JOB_PHASES, H as MONITOR_JOB_RECONCILIATION_STATES, J as MONITOR_JOB_STATES, K as MonitorBatchNamespace, N as MonitorCheckResult, O as MonitorDefinition, Q as MonitorDeleteResult, U as MonitorDependents, V as MonitorDeployResult, W as MonitorDetail, X as MonitorFleetDeactivateOptions, Y as MonitorFleetGetOptions, Z as MonitorFleetReactivateOptions, _ as MonitorFleetResult, $ as MonitorFleetStatus, a0 as MonitorFleetSyncOptions, a1 as MonitorFleetWaitOptions, a2 as MonitorFleetsNamespace, a3 as MonitorJobDeployOptions, a4 as MonitorJobLogsOptions, a5 as MonitorJobPhase, a6 as MonitorJobReconciliationState, a7 as MonitorJobResult, a8 as MonitorJobState, a9 as MonitorJobWaitOptions, aa as MonitorJobsNamespace, ab as MonitorListEntry, ac as MonitorPayload, ad as MonitorReactivateResult, ae as MonitorSpec, af as MonitorState, ag as MonitorStateFilter, ah as MonitorUpdateChangeSummary, ai as MonitorUpdateResult, aj as MonitorsAccessStatus, ak as MonitorsAvailableOptions, al as MonitorsAvailableResult, am as MonitorsListOptions, an as MonitorsListResult, ao as MonitorsNamespace, ap as PLAY_BOOTSTRAP_COMPANY_FIELDS, aq as PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, ar as PLAY_BOOTSTRAP_CONTACT_FIELDS, as as PLAY_BOOTSTRAP_FINDER_KINDS, at as PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, au as PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, av as PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, aw as PLAY_BOOTSTRAP_SOURCE_KINDS, ax as PLAY_BOOTSTRAP_STAGE_KINDS, ay as PLAY_BOOTSTRAP_TEMPLATES, az as PlayActivityObservation, aA as PlayActivityState, aB as PlayActivityTarget, aC as PlayBootstrapEntityKind, aD as PlayBootstrapFinderKind, aE as PlayCostEstimate, aF as PlayCronTriggerConfig, aG as PlayLiveEvent, aH as PlayPath, aI as PlayRunActionPackage, aJ as PlayRunActivityProjection, aK as PlayRunDatasetActions, aL as PlayRunPackage, aM as PlayRunResult, aN as PlayRunStart, aO as PlaySettings, aP as PlaySettingsPatch, aQ as PlaySettingsPathsPage, aR as PlaySettingsResult, aS as PlaySheetRow, aT as PlaySheetRowsResult, aU as PlayTriggerConfigUpdate, aV as PlayTriggerConfigUpdateResult, aW as PlayTriggerConfigView, aX as PlayWebhookAuthConfig, aY as PlayWebhookTriggerConfig, aZ as PlaysActivityResponse, a_ as PlaysListOptions, a$ as PlaysListPage, b0 as PublishPlayVersionRequest, b1 as RerunOptions, b2 as RerunPlayRunResult, b3 as RunChildrenPage, b4 as RunLifecycleStatus, b5 as RunToolReceiptResult, b6 as RunToolReceiptsResponse, b7 as RunsChildrenOptions, b8 as RunsEventPayload, b9 as RunsEventSearchEntry, ba as RunsEventSearchOptions, bb as RunsEventSearchResult, bc as RunsListOptions, bd as RunsListPage, be as RunsLogsOptions, bf as RunsLogsResult, bg as RunsNamespace, bh as RunsTailOptions, bi as RunsWatchOptions, bj as StartPlayRunRequest, bk as StopAllCandidate, bl as StopAllPlayRunsDryRunResult, bm as StopAllPlayRunsResult, bn as StopAllPlayRunsStopResult, bo as StopAllRunsOptions, bp as ToolExecution, bq as ToolSearchOptions, br as ToolSearchResult, bs as WorkspaceCreateResult, bt as WorkspacesNamespace, bu as defineMonitor, bv as formatPlayBootstrapFinderKinds, bw as formatPlayBootstrapFinderKindsForSentence, bx as formatPlayBootstrapTemplates, by as isPlayBootstrapFinderKind, bz as isPlayBootstrapTemplate, bA as isStopAllPlayRunsDryRunResult } from './client-5xpuGpRn.js';
2
+ import { D as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, a as ToolMetadata, E as ExecutionRecovery, b as ExecutionByKeyResult, P as PlayListItem, c as PlayDetail, d as PlayRunListItem, e as PlayRevisionSummary, f as PublishPlayVersionResult, C as ClearPlayHistoryResult, g as PlayStatus, S as StopPlayRunResult, R as ResolvedConfig } from './client-5zY7LsId.js';
3
+ export { h as BillingCreditPool, i as BillingInvoiceEntry, j as BillingInvoicesResult, k as BillingPaymentMethodSummary, l as BillingRecentUsageEntry, m as BillingSubscriptionCancelResult, n as BillingSubscriptionStatus, o as BillingTopUpReceipt, p as BillingTopUpResult, q as BillingUsageEvent, r as BillingUsageOptions, s as BillingUsageResult, t as ChildRunSummary, u as ClearPlayHistoryRequest, v as CreateNotificationGroupInput, w as CreateNotificationGroupResult, x as CustomerDbQueryResult, y as DEEPLINE_TOOL_CATEGORIES, z as DbNamespace, A as DeeplineClient, F as DeeplineToolCategory, I as IngestionStorageRepairResult, L as LegacyMonitorStatusFilter, G as LiveEventEnvelope, M as MONITOR_JOB_PHASES, H as MONITOR_JOB_RECONCILIATION_STATES, J as MONITOR_JOB_STATES, K as MonitorBatchNamespace, N as MonitorCheckResult, O as MonitorDefinition, Q as MonitorDeleteResult, U as MonitorDependents, V as MonitorDeployResult, W as MonitorDetail, X as MonitorFleetDeactivateOptions, Y as MonitorFleetGetOptions, Z as MonitorFleetReactivateOptions, _ as MonitorFleetResult, $ as MonitorFleetStatus, a0 as MonitorFleetSyncOptions, a1 as MonitorFleetWaitOptions, a2 as MonitorFleetsNamespace, a3 as MonitorJobDeployOptions, a4 as MonitorJobLogsOptions, a5 as MonitorJobPhase, a6 as MonitorJobReconciliationState, a7 as MonitorJobResult, a8 as MonitorJobState, a9 as MonitorJobWaitOptions, aa as MonitorJobsNamespace, ab as MonitorListEntry, ac as MonitorPayload, ad as MonitorReactivateResult, ae as MonitorSpec, af as MonitorState, ag as MonitorStateFilter, ah as MonitorUpdateChangeSummary, ai as MonitorUpdateResult, aj as MonitorsAccessStatus, ak as MonitorsAvailableOptions, al as MonitorsAvailableResult, am as MonitorsListOptions, an as MonitorsListResult, ao as MonitorsNamespace, ap as PLAY_BOOTSTRAP_COMPANY_FIELDS, aq as PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, ar as PLAY_BOOTSTRAP_CONTACT_FIELDS, as as PLAY_BOOTSTRAP_FINDER_KINDS, at as PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, au as PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, av as PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, aw as PLAY_BOOTSTRAP_SOURCE_KINDS, ax as PLAY_BOOTSTRAP_STAGE_KINDS, ay as PLAY_BOOTSTRAP_TEMPLATES, az as PlayActivityObservation, aA as PlayActivityState, aB as PlayActivityTarget, aC as PlayBootstrapEntityKind, aD as PlayBootstrapFinderKind, aE as PlayCostEstimate, aF as PlayCronTriggerConfig, aG as PlayLiveEvent, aH as PlayPath, aI as PlayRunActionPackage, aJ as PlayRunActivityProjection, aK as PlayRunDatasetActions, aL as PlayRunPackage, aM as PlayRunResult, aN as PlayRunStart, aO as PlaySettings, aP as PlaySettingsPatch, aQ as PlaySettingsPathsPage, aR as PlaySettingsResult, aS as PlaySheetRow, aT as PlaySheetRowsResult, aU as PlayTriggerConfigUpdate, aV as PlayTriggerConfigUpdateResult, aW as PlayTriggerConfigView, aX as PlayWebhookAuthConfig, aY as PlayWebhookTriggerConfig, aZ as PlaysActivityResponse, a_ as PlaysListOptions, a$ as PlaysListPage, b0 as PublishPlayVersionRequest, b1 as RerunOptions, b2 as RerunPlayRunResult, b3 as RunChildrenPage, b4 as RunLifecycleStatus, b5 as RunToolReceiptResult, b6 as RunToolReceiptsResponse, b7 as RunsChildrenOptions, b8 as RunsEventPayload, b9 as RunsEventSearchEntry, ba as RunsEventSearchOptions, bb as RunsEventSearchResult, bc as RunsHistoryItem, bd as RunsHistoryOptions, be as RunsHistoryPage, bf as RunsListOptions, bg as RunsListPage, bh as RunsLogsOptions, bi as RunsLogsResult, bj as RunsNamespace, bk as RunsTailOptions, bl as RunsWatchOptions, bm as StartPlayRunRequest, bn as StopAllCandidate, bo as StopAllPlayRunsDryRunResult, bp as StopAllPlayRunsResult, bq as StopAllPlayRunsStopResult, br as StopAllRunsOptions, bs as ToolExecution, bt as ToolSearchOptions, bu as ToolSearchResult, bv as WorkspaceCreateResult, bw as WorkspacesNamespace, bx as defineMonitor, by as formatPlayBootstrapFinderKinds, bz as formatPlayBootstrapFinderKindsForSentence, bA as formatPlayBootstrapTemplates, bB as isPlayBootstrapFinderKind, bC as isPlayBootstrapTemplate, bD as isStopAllPlayRunsDryRunResult } from './client-5zY7LsId.js';
4
4
  import { A as AsyncPlayRunRef$1, i as PlayAuthoringColumnMap, j as PlayAuthoringColumnResolver, k as PlayAuthoringRuntimeContext, l as PlayAuthoringConditionalStepResolver, m as PlayAuthoringCsvInput, n as PlayAuthoringCsvOptions, o as PlayAuthoringDatasetBuilder, p as PlayAuthoringDatasetColumnDefinition, q as PlayAuthoringDatasetColumnRunInput, T as ToolExecuteResult, r as PlayAuthoringReferenceLike, s as PlayReturnObject$1, t as PlayAuthoringDefineConfig, u as PlayAuthoringDefinedPlay, v as PlayAuthoringFetchOptions, w as PlayAuthoringFileInput, x as PlayAuthoringAsyncCallOptions, y as PlayAuthoringBindings, z as PlayAuthoringCallExecution, B as PlayAuthoringCallOptions, C as PlayAuthoringFetchResponse, D as PlayAuthoringInputContract, E as PlayRunId$1, F as PlayAuthoringStepProgramStep, G as PlayAuthoringRuntimeStepOptions, H as PlaySqlListenerDeclaration, I as PlaySqlListenerEvent, J as PlaySqlListenerOperation, K as PlaySqlQuery, L as PlayAuthoringStepOptions, M as PlayAuthoringStepProgram, N as PlayAuthoringStepProgramResolver, O as PlayAuthoringStepResolver, Q as PlayToolExecutionRequest, R as PlayAuthoringStepProgramOptions, S as DeeplineError, U as ToolExecutionError, V as ToolExecutionErrorOptions } from './compiler-manifest-C1bKB9bY.js';
5
5
  export { W as CtxFetchHttpError, X as DEEPLINE_EXTRACTOR_TARGETS, Y as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, Z as DeeplineEmailStatusGetterValue, _ as DeeplineExtractorTarget, $ as DeeplineGetterValue, a0 as DeeplineGetterValueMap, a1 as JOB_CHANGE_STATUS_VALUES, a2 as JobChangeStatus, a3 as PHONE_STATUS_VALUES, a4 as PhoneStatus, a5 as PlayDataset, a6 as PlayDatasetInput, a7 as PreviousCell, a8 as ProviderTransientError, a9 as ProviderTransientErrorCategory, aa as ProviderUnavailableError, ab as ProviderUnavailableReason, ac as ToolExecutionErrorCategory, ad as ToolExecutionErrorOrigin, ae as ToolExecutionFailureV1, af as ToolExecutionNetworkKind, ag as ToolExecutionNetworkScope, ah as ToolExecutionPublicDetails, ai as ToolResultBilling, aj as getProviderUnavailableReason, ak as isDeeplineExtractorTarget, al as isProviderUnavailable, am as isProviderWaterfallUnavailableError } from './compiler-manifest-C1bKB9bY.js';
6
6
  export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.js';
@@ -203,16 +203,10 @@ type CsvOptions = PlayAuthoringCsvOptions;
203
203
  */
204
204
  type DeeplinePlayRuntimeContext = PlayAuthoringRuntimeContext;
205
205
  /**
206
- * Handle to a running play execution.
207
- *
208
- * Provides methods to check status, stream logs, wait for completion,
209
- * or cancel the execution.
210
- *
211
- * This handle is the SDK-context equivalent of `deepline plays run --watch` and
212
- * `POST /api/v2/plays/run`: every surface returns a run id first, then exposes
213
- * the completed user output through `PlayJob.get()` or the status endpoint's
214
- * `result` field. Runtime logs are available from `status().progress.logs` and
215
- * are intentionally separate from the returned output object.
206
+ * Handle to a Play execution: inspect status, stream logs, await output, or cancel.
207
+ * Like `deepline plays run` and `POST /api/v2/plays/run`, it returns a run id first.
208
+ * Read completed output through `PlayJob.get()` or the status endpoint's `result` field;
209
+ * runtime logs in `status().progress.logs` are separate from that output.
216
210
  *
217
211
  * @typeParam TOutput - The play's return type
218
212
  *