deepline 0.3.274 → 0.3.276
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundling-sources/sdk/src/client.ts +148 -19
- package/dist/bundling-sources/sdk/src/index.ts +3 -0
- package/dist/bundling-sources/sdk/src/play.ts +4 -10
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/runs/log-cursor.ts +35 -0
- package/dist/bundling-sources/sdk/src/types.ts +10 -3
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +12 -26
- package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +7 -3
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +15 -7
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd.ts +18 -18
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1 -0
- package/dist/bundling-sources/shared_libs/plays/docflow-binding-owner.ts +7 -4
- package/dist/bundling-sources/shared_libs/plays/table-csv.ts +152 -0
- package/dist/cli/index.js +411 -284
- package/dist/cli/index.mjs +411 -284
- package/dist/{client-2rIHKJiq.d.mts → client-C0EhEIQO.d.mts} +78 -13
- package/dist/{client-D6fRwhnE.d.ts → client-HxPrGPbv.d.ts} +78 -13
- package/dist/index.d.mts +6 -12
- package/dist/index.d.ts +6 -12
- package/dist/index.js +87 -9
- package/dist/index.mjs +87 -9
- package/dist/install-integrity.json +4 -2
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +1 -1
- package/dist/release.mjs +1 -1
- 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
|
|
2229
|
-
*
|
|
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
|
|
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
|
-
/**
|
|
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. */
|
|
@@ -3869,7 +3930,7 @@ type RunsLogsResult = {
|
|
|
3869
3930
|
*/
|
|
3870
3931
|
logsTruncated?: boolean;
|
|
3871
3932
|
};
|
|
3872
|
-
/**
|
|
3933
|
+
/** Search existing events in your organization, newest first. Discover kinds and filters with `deepline runs logs --help`. */
|
|
3873
3934
|
type RunsEventSearchOptions = {
|
|
3874
3935
|
/** Inclusive UTC timestamp; defaults to one hour before the request. */
|
|
3875
3936
|
since?: string;
|
|
@@ -3881,9 +3942,9 @@ type RunsEventSearchOptions = {
|
|
|
3881
3942
|
playName?: string;
|
|
3882
3943
|
/** Exact dotted event kind, such as `step.failed`. The catalog is discoverable with `runs logs --help`; future stored kinds are accepted too. */
|
|
3883
3944
|
kind?: string;
|
|
3884
|
-
/**
|
|
3945
|
+
/** JSONPath equality joined with `&&`, at most eight predicates and 512 bytes. See `runs logs --help` for fields and examples. Missing fields do not match; status is not inferred from kind. HTTP `jsonpath`, CLI `--where`. */
|
|
3885
3946
|
jsonpath?: string;
|
|
3886
|
-
/**
|
|
3947
|
+
/** Include available `eventPayload` details and receipt `payload` results; maximum ten events and 16 MiB. HTTP `payloads=true`, CLI `--payloads`. */
|
|
3887
3948
|
includePayloads?: boolean;
|
|
3888
3949
|
/** Page size: default 100, maximum 200; with payloads, default and maximum ten. */
|
|
3889
3950
|
limit?: number;
|
|
@@ -3892,7 +3953,7 @@ type RunsEventSearchOptions = {
|
|
|
3892
3953
|
/** Explicit Preview selection requires the existing runtime credential. */
|
|
3893
3954
|
runtime?: PlayRuntimeSelection;
|
|
3894
3955
|
};
|
|
3895
|
-
/** One
|
|
3956
|
+
/** One matching event. Optional fields and details are present only when recorded. */
|
|
3896
3957
|
type RunsEventSearchEntry = {
|
|
3897
3958
|
/** Stable event identity; also breaks ties in newest-first pagination. */
|
|
3898
3959
|
eventId: string;
|
|
@@ -3904,15 +3965,15 @@ type RunsEventSearchEntry = {
|
|
|
3904
3965
|
runId: string;
|
|
3905
3966
|
/** Recorded Play name. */
|
|
3906
3967
|
playName: string;
|
|
3907
|
-
/** Exact
|
|
3968
|
+
/** Exact dotted event kind, such as `step.failed`. */
|
|
3908
3969
|
kind: string;
|
|
3909
3970
|
/** Recorded log severity, or null; not a JSONPath filter field. */
|
|
3910
3971
|
level: string | null;
|
|
3911
3972
|
/** Log message preview of at most 2,048 characters, or null. Use text logs/export for the full retained line. */
|
|
3912
3973
|
message: string | null;
|
|
3913
|
-
/**
|
|
3974
|
+
/** Recorded filter fields. SDK/API keep this nested; the CLI places these fields directly on each event. */
|
|
3914
3975
|
searchDoc: Record<string, unknown>;
|
|
3915
|
-
/**
|
|
3976
|
+
/** Available event details when requested with `includePayloads`; dataset events contain metadata, not dataset rows. */
|
|
3916
3977
|
eventPayload?: Record<string, unknown>;
|
|
3917
3978
|
/** Retained work result for a receipt match when payloads are requested; null if unavailable. Other events need not carry this field. */
|
|
3918
3979
|
payload?: RunsEventPayload | null;
|
|
@@ -3928,7 +3989,7 @@ type RunsEventSearchResult = {
|
|
|
3928
3989
|
/** Resolved exclusive UTC bound, including a defaulted bound. */
|
|
3929
3990
|
until: string;
|
|
3930
3991
|
};
|
|
3931
|
-
/**
|
|
3992
|
+
/** Saved work result returned for a receipt event. Reading it does not execute the work again. */
|
|
3932
3993
|
type RunsEventPayload = {
|
|
3933
3994
|
/** Recorded terminal work outcome. */
|
|
3934
3995
|
status: 'completed' | 'failed' | 'skipped';
|
|
@@ -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. */
|
|
@@ -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,
|
|
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
|
|
2229
|
-
*
|
|
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
|
|
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
|
-
/**
|
|
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. */
|
|
@@ -3869,7 +3930,7 @@ type RunsLogsResult = {
|
|
|
3869
3930
|
*/
|
|
3870
3931
|
logsTruncated?: boolean;
|
|
3871
3932
|
};
|
|
3872
|
-
/**
|
|
3933
|
+
/** Search existing events in your organization, newest first. Discover kinds and filters with `deepline runs logs --help`. */
|
|
3873
3934
|
type RunsEventSearchOptions = {
|
|
3874
3935
|
/** Inclusive UTC timestamp; defaults to one hour before the request. */
|
|
3875
3936
|
since?: string;
|
|
@@ -3881,9 +3942,9 @@ type RunsEventSearchOptions = {
|
|
|
3881
3942
|
playName?: string;
|
|
3882
3943
|
/** Exact dotted event kind, such as `step.failed`. The catalog is discoverable with `runs logs --help`; future stored kinds are accepted too. */
|
|
3883
3944
|
kind?: string;
|
|
3884
|
-
/**
|
|
3945
|
+
/** JSONPath equality joined with `&&`, at most eight predicates and 512 bytes. See `runs logs --help` for fields and examples. Missing fields do not match; status is not inferred from kind. HTTP `jsonpath`, CLI `--where`. */
|
|
3885
3946
|
jsonpath?: string;
|
|
3886
|
-
/**
|
|
3947
|
+
/** Include available `eventPayload` details and receipt `payload` results; maximum ten events and 16 MiB. HTTP `payloads=true`, CLI `--payloads`. */
|
|
3887
3948
|
includePayloads?: boolean;
|
|
3888
3949
|
/** Page size: default 100, maximum 200; with payloads, default and maximum ten. */
|
|
3889
3950
|
limit?: number;
|
|
@@ -3892,7 +3953,7 @@ type RunsEventSearchOptions = {
|
|
|
3892
3953
|
/** Explicit Preview selection requires the existing runtime credential. */
|
|
3893
3954
|
runtime?: PlayRuntimeSelection;
|
|
3894
3955
|
};
|
|
3895
|
-
/** One
|
|
3956
|
+
/** One matching event. Optional fields and details are present only when recorded. */
|
|
3896
3957
|
type RunsEventSearchEntry = {
|
|
3897
3958
|
/** Stable event identity; also breaks ties in newest-first pagination. */
|
|
3898
3959
|
eventId: string;
|
|
@@ -3904,15 +3965,15 @@ type RunsEventSearchEntry = {
|
|
|
3904
3965
|
runId: string;
|
|
3905
3966
|
/** Recorded Play name. */
|
|
3906
3967
|
playName: string;
|
|
3907
|
-
/** Exact
|
|
3968
|
+
/** Exact dotted event kind, such as `step.failed`. */
|
|
3908
3969
|
kind: string;
|
|
3909
3970
|
/** Recorded log severity, or null; not a JSONPath filter field. */
|
|
3910
3971
|
level: string | null;
|
|
3911
3972
|
/** Log message preview of at most 2,048 characters, or null. Use text logs/export for the full retained line. */
|
|
3912
3973
|
message: string | null;
|
|
3913
|
-
/**
|
|
3974
|
+
/** Recorded filter fields. SDK/API keep this nested; the CLI places these fields directly on each event. */
|
|
3914
3975
|
searchDoc: Record<string, unknown>;
|
|
3915
|
-
/**
|
|
3976
|
+
/** Available event details when requested with `includePayloads`; dataset events contain metadata, not dataset rows. */
|
|
3916
3977
|
eventPayload?: Record<string, unknown>;
|
|
3917
3978
|
/** Retained work result for a receipt match when payloads are requested; null if unavailable. Other events need not carry this field. */
|
|
3918
3979
|
payload?: RunsEventPayload | null;
|
|
@@ -3928,7 +3989,7 @@ type RunsEventSearchResult = {
|
|
|
3928
3989
|
/** Resolved exclusive UTC bound, including a defaulted bound. */
|
|
3929
3990
|
until: string;
|
|
3930
3991
|
};
|
|
3931
|
-
/**
|
|
3992
|
+
/** Saved work result returned for a receipt event. Reading it does not execute the work again. */
|
|
3932
3993
|
type RunsEventPayload = {
|
|
3933
3994
|
/** Recorded terminal work outcome. */
|
|
3934
3995
|
status: 'completed' | 'failed' | 'skipped';
|
|
@@ -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. */
|
|
@@ -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,
|
|
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-
|
|
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
|
|
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-C0EhEIQO.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-C0EhEIQO.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
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
* This handle is the SDK-context equivalent of `deepline plays run` 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-
|
|
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
|
|
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-HxPrGPbv.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-HxPrGPbv.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
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
* This handle is the SDK-context equivalent of `deepline plays run` 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
|
*
|