deepline 0.3.271 → 0.3.273

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 (38) hide show
  1. package/README.md +9 -0
  2. package/dist/bundling-sources/sdk/src/client.ts +49 -17
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/runs/receipts.ts +18 -2
  5. package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +3 -2
  6. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +11 -9
  7. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +5 -4
  8. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +2 -1
  9. package/dist/bundling-sources/shared_libs/play-runtime/run-event-catalog.ts +610 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger-event-transport.ts +3 -1
  11. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger-projection-diagnostics.ts +3 -2
  12. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +80 -67
  13. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +5 -4
  14. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +3 -2
  15. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +19 -9
  16. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +103 -78
  17. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +125 -81
  18. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +3 -2
  19. package/dist/cli/index.js +662 -39
  20. package/dist/cli/index.mjs +662 -39
  21. package/dist/{client-BbKtvT9Q.d.ts → client-5xpuGpRn.d.ts} +64 -19
  22. package/dist/{client-C1Xm7eBH.d.mts → client-D9annc6K.d.mts} +64 -19
  23. package/dist/{compiler-manifest-CUuh8C3b.d.mts → compiler-manifest-C1bKB9bY.d.mts} +3 -2
  24. package/dist/{compiler-manifest-CUuh8C3b.d.ts → compiler-manifest-C1bKB9bY.d.ts} +3 -2
  25. package/dist/index.d.mts +4 -4
  26. package/dist/index.d.ts +4 -4
  27. package/dist/index.js +423 -4
  28. package/dist/index.mjs +423 -4
  29. package/dist/install-integrity.json +5 -4
  30. package/dist/plays/bundle-play-file.d.mts +2 -2
  31. package/dist/plays/bundle-play-file.d.ts +2 -2
  32. package/dist/plays/run-request.d.mts +2 -2
  33. package/dist/plays/run-request.d.ts +2 -2
  34. package/dist/release.d.mts +1 -1
  35. package/dist/release.d.ts +1 -1
  36. package/dist/release.js +1 -1
  37. package/dist/release.mjs +1 -1
  38. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
2
  import { z } from 'zod';
3
- import { c as PlayCompilerManifest, ai as ToolResultBilling } from './compiler-manifest-CUuh8C3b.js';
3
+ import { c as PlayCompilerManifest, ai as ToolResultBilling } from './compiler-manifest-C1bKB9bY.js';
4
4
  import { MonitorFleetDefinition } from './monitor-fleet-contract.js';
5
5
 
6
6
  declare const playPathSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
@@ -191,29 +191,42 @@ type PlayTriggerConfigUpdateResult = {
191
191
  triggers: PlayTriggerConfigView;
192
192
  };
193
193
 
194
- /** A retained result, not a new tool execution or a billing receipt. */
194
+ /** Read-only retained tool evidence associated with a run. Each requested key returns either its stored result or an explicit error; this never executes tools or returns a billing receipt. */
195
195
  type RunToolReceiptResult = {
196
+ /** Exact key supplied to the read, obtained from exported evidence or execution metadata. */
196
197
  receiptKey: string;
198
+ /** Recorded work status when available; an error does not imply a fresh provider failure. */
197
199
  status?: string;
198
200
  } & ({
201
+ /** Retained result envelope; provider fields reflect stored evidence, not a guaranteed raw HTTP response. */
199
202
  result: {
203
+ /** Status recorded in the tool result. */
200
204
  status: string;
205
+ /** Provider job identity when recorded. */
201
206
  job_id?: string;
207
+ /** Stored tool response. */
202
208
  toolResponse: Record<string, unknown>;
209
+ /** Stored target values when the tool supplied them. */
203
210
  targetValues?: Record<string, unknown>;
211
+ /** Stored list dataset metadata when supplied. */
204
212
  listDatasets?: Record<string, unknown>;
213
+ /** Stored list row evidence when supplied. */
205
214
  listRows?: Record<string, unknown>;
206
215
  };
207
216
  error?: never;
208
217
  } | {
209
218
  result?: never;
219
+ /** Explicit lookup/access/retention failure for this key. */
210
220
  error: {
211
221
  code: string;
212
222
  message: string;
213
223
  };
214
224
  });
225
+ /** Results in the exact requested key order, including errors for unavailable keys. */
215
226
  type RunToolReceiptsResponse = {
227
+ /** Public run identity used to scope the read. */
216
228
  runId: string;
229
+ /** One result or error per requested key. */
217
230
  receipts: RunToolReceiptResult[];
218
231
  };
219
232
 
@@ -3813,24 +3826,32 @@ type RunsWatchOptions = {
3813
3826
  };
3814
3827
  /** @deprecated Use `RunsWatchOptions`. */
3815
3828
  type RunsTailOptions = RunsWatchOptions;
3816
- /** Log fetch options for `client.runs.logs(...)`. */
3829
+ /** Read retained text with `client.runs.logs(...)`; use `runs.searchEvents` for structured filters and payloads. */
3817
3830
  type RunsLogsOptions = {
3818
- /** Return the LAST `limit` stored log lines (default 200). */
3831
+ /** Return the last `limit` retained lines in sequence order; default 200. Ignored when `all` is true. */
3819
3832
  limit?: number;
3820
- /** Fetch every stored log line, paginating to the full totalCount. */
3833
+ /** Page through every retained line. Cannot combine with `failed`; sampling or retention loss cannot be recovered. */
3821
3834
  all?: boolean;
3822
- /** Select the bounded failure view; truncated runs degrade explicitly. */
3835
+ /** Read a terminal-failed run's last 20 retained lines, or fewer with `limit`. Retention loss returns an explicit association and warning. */
3823
3836
  failed?: boolean;
3824
3837
  };
3825
- /** Persisted log response for one play run. */
3838
+ /** Retained text for one run. Counts and retention flags describe the stored stream, not every original console call. */
3826
3839
  type RunsLogsResult = {
3840
+ /** Public run identity. */
3827
3841
  runId: string;
3842
+ /** Count tracked by the log stream; may exceed available bodies after retention truncation. */
3828
3843
  totalCount: number;
3844
+ /** Number of line bodies returned in `entries`. */
3829
3845
  returnedCount: number;
3846
+ /** First returned stored sequence, or null for an empty view. */
3830
3847
  firstSequence: number | null;
3848
+ /** Last returned stored sequence, or null for an empty view. */
3831
3849
  lastSequence: number | null;
3850
+ /** 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. */
3832
3851
  truncated: boolean;
3852
+ /** More retained lines exist after `lastSequence`; always false for the designed failure window. */
3833
3853
  hasMore: boolean;
3854
+ /** Formatted text lines in stored sequence order; structured context is available through event search. */
3834
3855
  entries: string[];
3835
3856
  /** Selected public log view. */
3836
3857
  view?: 'tail' | 'failed' | 'all';
@@ -3848,50 +3869,74 @@ type RunsLogsResult = {
3848
3869
  */
3849
3870
  logsTruncated?: boolean;
3850
3871
  };
3851
- /** Bounded org-scoped search over durable Play runtime observations. */
3872
+ /** Read existing events in the authenticated organization/runtime scope, newest first by occurrence time and event ID. See the complete catalog and field contract in `deepline runs logs --help`. */
3852
3873
  type RunsEventSearchOptions = {
3853
3874
  /** Inclusive UTC timestamp; defaults to one hour before the request. */
3854
3875
  since?: string;
3855
- /** Exclusive UTC timestamp; defaults to the request time. */
3876
+ /** Exclusive UTC timestamp; defaults to the request time. A window spans at most seven days; event retention is seven days. */
3856
3877
  until?: string;
3857
3878
  /** Optional run filter. Omit to search across the active organization. */
3858
3879
  runId?: string;
3880
+ /** Exact Play name; HTTP query parameter `playName`, CLI `--play`. */
3859
3881
  playName?: string;
3882
+ /** Exact dotted event kind, such as `step.failed`. The catalog is discoverable with `runs logs --help`; future stored kinds are accepted too. */
3860
3883
  kind?: string;
3861
- /** Flat equality predicate in the supported PostgreSQL JSONPath subset. */
3884
+ /** Equality joined with `&&`, at most eight predicates and 512 bytes. Fields: orgId, runId, playName, runtimeScope, producerAttempt, kind, status, source, stepId, stepKind, datasetId, phase, provider, operation and scalar `context.<key>`. Missing fields do not match; status is not inferred from kind. No body, message, level, nested payload, range or OR search. HTTP `jsonpath`, CLI `--where`. */
3862
3885
  jsonpath?: string;
3863
- /** Include canonical event details and receipt-backed outputs, capped to ten events and 16 MiB total. */
3886
+ /** Add stored canonical `eventPayload` and, for receipt matches, retained `payload`. At most ten events and 16 MiB; unavailable receipts return null. HTTP `payloads=true`, CLI `--payloads`. Does not execute tools. */
3864
3887
  includePayloads?: boolean;
3888
+ /** Page size: default 100, maximum 200; with payloads, default and maximum ten. */
3865
3889
  limit?: number;
3890
+ /** Opaque `nextCursor` from the preceding page. Reuse that page's returned since/until and the same filters and runtime scope. */
3866
3891
  cursor?: string;
3867
3892
  /** Explicit Preview selection requires the existing runtime credential. */
3868
3893
  runtime?: PlayRuntimeSelection;
3869
3894
  };
3895
+ /** One indexed observation; optional indexed fields and payloads depend on what its producer recorded. */
3870
3896
  type RunsEventSearchEntry = {
3897
+ /** Stable event identity; also breaks ties in newest-first pagination. */
3871
3898
  eventId: string;
3899
+ /** Producer occurrence time as a UTC timestamp string. */
3872
3900
  occurredAt: string;
3901
+ /** Index ingestion time as a UTC timestamp string; may be later than occurrence. */
3873
3902
  ingestedAt: string;
3903
+ /** Public run identity associated with this observation. */
3874
3904
  runId: string;
3905
+ /** Recorded Play name. */
3875
3906
  playName: string;
3907
+ /** Exact indexed kind; canonical payloads use `type` for this dotted name. */
3876
3908
  kind: string;
3909
+ /** Recorded log severity, or null; not a JSONPath filter field. */
3877
3910
  level: string | null;
3911
+ /** Log message preview of at most 2,048 characters, or null. Use text logs/export for the full retained line. */
3878
3912
  message: string | null;
3913
+ /** Indexed identity and recorded scalar fields. SDK/API keep this nested; CLI search flattens it onto each event. Provider/operation describe typed activity observations, not every provider call. */
3879
3914
  searchDoc: Record<string, unknown>;
3880
- /** Accepted Play event from PScale when this run uses the unified journal. */
3915
+ /** Stored canonical event details, only when payloads are requested and available. Lifecycle/activity/dataset payloads are observations, not complete tool responses or dataset rows. */
3881
3916
  eventPayload?: Record<string, unknown>;
3882
- /** Optional full result, included only when explicitly requested. */
3917
+ /** Retained work result for a receipt match when payloads are requested; null if unavailable. Other events need not carry this field. */
3883
3918
  payload?: RunsEventPayload | null;
3884
3919
  };
3920
+ /** One bounded search page. Continue using `nextCursor` and these exact time bounds; CLI-only counts and follow-up commands are not SDK/API fields. */
3885
3921
  type RunsEventSearchResult = {
3922
+ /** Matching observations in descending occurredAt/eventId order. */
3886
3923
  events: RunsEventSearchEntry[];
3924
+ /** Opaque continuation token, or null when no further page exists. */
3887
3925
  nextCursor: string | null;
3926
+ /** Resolved inclusive UTC bound, including a defaulted bound. */
3888
3927
  since: string;
3928
+ /** Resolved exclusive UTC bound, including a defaulted bound. */
3889
3929
  until: string;
3890
3930
  };
3931
+ /** Retained work outcome hydrated for a receipt event; not a new execution, billing receipt or guarantee of a raw HTTP response. */
3891
3932
  type RunsEventPayload = {
3933
+ /** Recorded terminal work outcome. */
3892
3934
  status: 'completed' | 'failed' | 'skipped';
3935
+ /** Stored result data, or null when no output was retained. */
3893
3936
  output: unknown | null;
3937
+ /** Stored failure message, or null when absent. */
3894
3938
  error: string | null;
3939
+ /** Stored structured failure details, or null when absent. */
3895
3940
  errorPayload: unknown | null;
3896
3941
  };
3897
3942
  /** One persisted runtime-sheet row returned by `client.runs.exportDatasetRows(...)`. */
@@ -3951,7 +3996,7 @@ type PlaySecretCheck = {
3951
3996
  * @sdkReference client 020 client.runs
3952
3997
  */
3953
3998
  type RunsNamespace = {
3954
- /** Read retained tool results associated with a run, in supplied key order. Never executes tools. */
3999
+ /** Read retained tool results in supplied key order. Use keys returned in exported evidence or execution metadata; search does not expose receipt keys. Never executes tools. */
3955
4000
  getReceipts: (runId: string, options: {
3956
4001
  keys: string[];
3957
4002
  }) => Promise<RunToolReceiptsResponse>;
@@ -3982,9 +4027,9 @@ type RunsNamespace = {
3982
4027
  watch: (runId: string, options?: RunsWatchOptions) => Promise<PlayStatus>;
3983
4028
  /** @deprecated Use `watch`; retained as a source-compatible alias. */
3984
4029
  tail: (runId: string, options?: RunsTailOptions) => Promise<PlayStatus>;
3985
- /** Fetch persisted log lines for a run. */
4030
+ /** Read a run's retained text tail, full stream (`all`) or terminal failure window (`failed`). For structured filters and payloads, see [run logs and events](run-events.md). */
3986
4031
  logs: (runId: string, options?: RunsLogsOptions) => Promise<RunsLogsResult>;
3987
- /** Search recent durable runtime events across runs in the active organization. */
4032
+ /** Search existing events across the active organization; default last hour, up to 200 events per page (ten with payloads). See [run logs and events](run-events.md) for the catalog, query fields and response types. */
3988
4033
  searchEvents: (options?: RunsEventSearchOptions) => Promise<RunsEventSearchResult>;
3989
4034
  /** Export persisted rows for a runtime-sheet dataset/table namespace. */
3990
4035
  exportDatasetRows: (input: {
@@ -5928,7 +5973,7 @@ declare class DeeplineClient {
5928
5973
  listRuns(options: RunsListOptions): Promise<PlayRunListItem[]>;
5929
5974
  /** Read one run page without discarding server pagination metadata. */
5930
5975
  listRunsPage(options: RunsListOptions): Promise<RunsListPage>;
5931
- /** Read batches rather than silently truncating a long key list. */
5976
+ /** 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. */
5932
5977
  getRunReceipts(runId: string, options: {
5933
5978
  keys: string[];
5934
5979
  }): Promise<RunToolReceiptsResponse>;
@@ -5951,7 +5996,7 @@ declare class DeeplineClient {
5951
5996
  */
5952
5997
  rerun(runId: string, options?: RerunOptions): Promise<RerunPlayRunResult>;
5953
5998
  /**
5954
- * Fetch persisted logs for a run using the public runs resource model.
5999
+ * Read a run's retained text tail (default 200), full retained stream (`all`), or terminal failure window (`failed`, at most 20). These are existing reads; sampling and retention loss cannot be recovered. See [run logs and events](run-events.md) for structured search and payload retrieval.
5955
6000
  *
5956
6001
  * This is the SDK equivalent of:
5957
6002
  *
@@ -5960,7 +6005,7 @@ declare class DeeplineClient {
5960
6005
  * ```
5961
6006
  */
5962
6007
  getRunLogs(runId: string, options?: RunsLogsOptions): Promise<RunsLogsResult>;
5963
- /** Search bounded, structured runtime history without requiring a run id. */
6008
+ /** Read structured history across the active organization without requiring a run ID. Defaults to the last hour, newest first; use the returned cursor and exact time bounds to continue. See [run logs and events](run-events.md) for all kinds, indexed fields, payloads and SDK/API response types. */
5964
6009
  searchRunEvents(options?: RunsEventSearchOptions): Promise<RunsEventSearchResult>;
5965
6010
  /**
5966
6011
  * Export persisted runtime-sheet rows for a play dataset/table namespace.
@@ -1,6 +1,6 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
2
  import { z } from 'zod';
3
- import { c as PlayCompilerManifest, ai as ToolResultBilling } from './compiler-manifest-CUuh8C3b.mjs';
3
+ import { c as PlayCompilerManifest, ai as ToolResultBilling } from './compiler-manifest-C1bKB9bY.mjs';
4
4
  import { MonitorFleetDefinition } from './monitor-fleet-contract.mjs';
5
5
 
6
6
  declare const playPathSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
@@ -191,29 +191,42 @@ type PlayTriggerConfigUpdateResult = {
191
191
  triggers: PlayTriggerConfigView;
192
192
  };
193
193
 
194
- /** A retained result, not a new tool execution or a billing receipt. */
194
+ /** Read-only retained tool evidence associated with a run. Each requested key returns either its stored result or an explicit error; this never executes tools or returns a billing receipt. */
195
195
  type RunToolReceiptResult = {
196
+ /** Exact key supplied to the read, obtained from exported evidence or execution metadata. */
196
197
  receiptKey: string;
198
+ /** Recorded work status when available; an error does not imply a fresh provider failure. */
197
199
  status?: string;
198
200
  } & ({
201
+ /** Retained result envelope; provider fields reflect stored evidence, not a guaranteed raw HTTP response. */
199
202
  result: {
203
+ /** Status recorded in the tool result. */
200
204
  status: string;
205
+ /** Provider job identity when recorded. */
201
206
  job_id?: string;
207
+ /** Stored tool response. */
202
208
  toolResponse: Record<string, unknown>;
209
+ /** Stored target values when the tool supplied them. */
203
210
  targetValues?: Record<string, unknown>;
211
+ /** Stored list dataset metadata when supplied. */
204
212
  listDatasets?: Record<string, unknown>;
213
+ /** Stored list row evidence when supplied. */
205
214
  listRows?: Record<string, unknown>;
206
215
  };
207
216
  error?: never;
208
217
  } | {
209
218
  result?: never;
219
+ /** Explicit lookup/access/retention failure for this key. */
210
220
  error: {
211
221
  code: string;
212
222
  message: string;
213
223
  };
214
224
  });
225
+ /** Results in the exact requested key order, including errors for unavailable keys. */
215
226
  type RunToolReceiptsResponse = {
227
+ /** Public run identity used to scope the read. */
216
228
  runId: string;
229
+ /** One result or error per requested key. */
217
230
  receipts: RunToolReceiptResult[];
218
231
  };
219
232
 
@@ -3813,24 +3826,32 @@ type RunsWatchOptions = {
3813
3826
  };
3814
3827
  /** @deprecated Use `RunsWatchOptions`. */
3815
3828
  type RunsTailOptions = RunsWatchOptions;
3816
- /** Log fetch options for `client.runs.logs(...)`. */
3829
+ /** Read retained text with `client.runs.logs(...)`; use `runs.searchEvents` for structured filters and payloads. */
3817
3830
  type RunsLogsOptions = {
3818
- /** Return the LAST `limit` stored log lines (default 200). */
3831
+ /** Return the last `limit` retained lines in sequence order; default 200. Ignored when `all` is true. */
3819
3832
  limit?: number;
3820
- /** Fetch every stored log line, paginating to the full totalCount. */
3833
+ /** Page through every retained line. Cannot combine with `failed`; sampling or retention loss cannot be recovered. */
3821
3834
  all?: boolean;
3822
- /** Select the bounded failure view; truncated runs degrade explicitly. */
3835
+ /** Read a terminal-failed run's last 20 retained lines, or fewer with `limit`. Retention loss returns an explicit association and warning. */
3823
3836
  failed?: boolean;
3824
3837
  };
3825
- /** Persisted log response for one play run. */
3838
+ /** Retained text for one run. Counts and retention flags describe the stored stream, not every original console call. */
3826
3839
  type RunsLogsResult = {
3840
+ /** Public run identity. */
3827
3841
  runId: string;
3842
+ /** Count tracked by the log stream; may exceed available bodies after retention truncation. */
3828
3843
  totalCount: number;
3844
+ /** Number of line bodies returned in `entries`. */
3829
3845
  returnedCount: number;
3846
+ /** First returned stored sequence, or null for an empty view. */
3830
3847
  firstSequence: number | null;
3848
+ /** Last returned stored sequence, or null for an empty view. */
3831
3849
  lastSequence: number | null;
3850
+ /** 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. */
3832
3851
  truncated: boolean;
3852
+ /** More retained lines exist after `lastSequence`; always false for the designed failure window. */
3833
3853
  hasMore: boolean;
3854
+ /** Formatted text lines in stored sequence order; structured context is available through event search. */
3834
3855
  entries: string[];
3835
3856
  /** Selected public log view. */
3836
3857
  view?: 'tail' | 'failed' | 'all';
@@ -3848,50 +3869,74 @@ type RunsLogsResult = {
3848
3869
  */
3849
3870
  logsTruncated?: boolean;
3850
3871
  };
3851
- /** Bounded org-scoped search over durable Play runtime observations. */
3872
+ /** Read existing events in the authenticated organization/runtime scope, newest first by occurrence time and event ID. See the complete catalog and field contract in `deepline runs logs --help`. */
3852
3873
  type RunsEventSearchOptions = {
3853
3874
  /** Inclusive UTC timestamp; defaults to one hour before the request. */
3854
3875
  since?: string;
3855
- /** Exclusive UTC timestamp; defaults to the request time. */
3876
+ /** Exclusive UTC timestamp; defaults to the request time. A window spans at most seven days; event retention is seven days. */
3856
3877
  until?: string;
3857
3878
  /** Optional run filter. Omit to search across the active organization. */
3858
3879
  runId?: string;
3880
+ /** Exact Play name; HTTP query parameter `playName`, CLI `--play`. */
3859
3881
  playName?: string;
3882
+ /** Exact dotted event kind, such as `step.failed`. The catalog is discoverable with `runs logs --help`; future stored kinds are accepted too. */
3860
3883
  kind?: string;
3861
- /** Flat equality predicate in the supported PostgreSQL JSONPath subset. */
3884
+ /** Equality joined with `&&`, at most eight predicates and 512 bytes. Fields: orgId, runId, playName, runtimeScope, producerAttempt, kind, status, source, stepId, stepKind, datasetId, phase, provider, operation and scalar `context.<key>`. Missing fields do not match; status is not inferred from kind. No body, message, level, nested payload, range or OR search. HTTP `jsonpath`, CLI `--where`. */
3862
3885
  jsonpath?: string;
3863
- /** Include canonical event details and receipt-backed outputs, capped to ten events and 16 MiB total. */
3886
+ /** Add stored canonical `eventPayload` and, for receipt matches, retained `payload`. At most ten events and 16 MiB; unavailable receipts return null. HTTP `payloads=true`, CLI `--payloads`. Does not execute tools. */
3864
3887
  includePayloads?: boolean;
3888
+ /** Page size: default 100, maximum 200; with payloads, default and maximum ten. */
3865
3889
  limit?: number;
3890
+ /** Opaque `nextCursor` from the preceding page. Reuse that page's returned since/until and the same filters and runtime scope. */
3866
3891
  cursor?: string;
3867
3892
  /** Explicit Preview selection requires the existing runtime credential. */
3868
3893
  runtime?: PlayRuntimeSelection;
3869
3894
  };
3895
+ /** One indexed observation; optional indexed fields and payloads depend on what its producer recorded. */
3870
3896
  type RunsEventSearchEntry = {
3897
+ /** Stable event identity; also breaks ties in newest-first pagination. */
3871
3898
  eventId: string;
3899
+ /** Producer occurrence time as a UTC timestamp string. */
3872
3900
  occurredAt: string;
3901
+ /** Index ingestion time as a UTC timestamp string; may be later than occurrence. */
3873
3902
  ingestedAt: string;
3903
+ /** Public run identity associated with this observation. */
3874
3904
  runId: string;
3905
+ /** Recorded Play name. */
3875
3906
  playName: string;
3907
+ /** Exact indexed kind; canonical payloads use `type` for this dotted name. */
3876
3908
  kind: string;
3909
+ /** Recorded log severity, or null; not a JSONPath filter field. */
3877
3910
  level: string | null;
3911
+ /** Log message preview of at most 2,048 characters, or null. Use text logs/export for the full retained line. */
3878
3912
  message: string | null;
3913
+ /** Indexed identity and recorded scalar fields. SDK/API keep this nested; CLI search flattens it onto each event. Provider/operation describe typed activity observations, not every provider call. */
3879
3914
  searchDoc: Record<string, unknown>;
3880
- /** Accepted Play event from PScale when this run uses the unified journal. */
3915
+ /** Stored canonical event details, only when payloads are requested and available. Lifecycle/activity/dataset payloads are observations, not complete tool responses or dataset rows. */
3881
3916
  eventPayload?: Record<string, unknown>;
3882
- /** Optional full result, included only when explicitly requested. */
3917
+ /** Retained work result for a receipt match when payloads are requested; null if unavailable. Other events need not carry this field. */
3883
3918
  payload?: RunsEventPayload | null;
3884
3919
  };
3920
+ /** One bounded search page. Continue using `nextCursor` and these exact time bounds; CLI-only counts and follow-up commands are not SDK/API fields. */
3885
3921
  type RunsEventSearchResult = {
3922
+ /** Matching observations in descending occurredAt/eventId order. */
3886
3923
  events: RunsEventSearchEntry[];
3924
+ /** Opaque continuation token, or null when no further page exists. */
3887
3925
  nextCursor: string | null;
3926
+ /** Resolved inclusive UTC bound, including a defaulted bound. */
3888
3927
  since: string;
3928
+ /** Resolved exclusive UTC bound, including a defaulted bound. */
3889
3929
  until: string;
3890
3930
  };
3931
+ /** Retained work outcome hydrated for a receipt event; not a new execution, billing receipt or guarantee of a raw HTTP response. */
3891
3932
  type RunsEventPayload = {
3933
+ /** Recorded terminal work outcome. */
3892
3934
  status: 'completed' | 'failed' | 'skipped';
3935
+ /** Stored result data, or null when no output was retained. */
3893
3936
  output: unknown | null;
3937
+ /** Stored failure message, or null when absent. */
3894
3938
  error: string | null;
3939
+ /** Stored structured failure details, or null when absent. */
3895
3940
  errorPayload: unknown | null;
3896
3941
  };
3897
3942
  /** One persisted runtime-sheet row returned by `client.runs.exportDatasetRows(...)`. */
@@ -3951,7 +3996,7 @@ type PlaySecretCheck = {
3951
3996
  * @sdkReference client 020 client.runs
3952
3997
  */
3953
3998
  type RunsNamespace = {
3954
- /** Read retained tool results associated with a run, in supplied key order. Never executes tools. */
3999
+ /** Read retained tool results in supplied key order. Use keys returned in exported evidence or execution metadata; search does not expose receipt keys. Never executes tools. */
3955
4000
  getReceipts: (runId: string, options: {
3956
4001
  keys: string[];
3957
4002
  }) => Promise<RunToolReceiptsResponse>;
@@ -3982,9 +4027,9 @@ type RunsNamespace = {
3982
4027
  watch: (runId: string, options?: RunsWatchOptions) => Promise<PlayStatus>;
3983
4028
  /** @deprecated Use `watch`; retained as a source-compatible alias. */
3984
4029
  tail: (runId: string, options?: RunsTailOptions) => Promise<PlayStatus>;
3985
- /** Fetch persisted log lines for a run. */
4030
+ /** Read a run's retained text tail, full stream (`all`) or terminal failure window (`failed`). For structured filters and payloads, see [run logs and events](run-events.md). */
3986
4031
  logs: (runId: string, options?: RunsLogsOptions) => Promise<RunsLogsResult>;
3987
- /** Search recent durable runtime events across runs in the active organization. */
4032
+ /** Search existing events across the active organization; default last hour, up to 200 events per page (ten with payloads). See [run logs and events](run-events.md) for the catalog, query fields and response types. */
3988
4033
  searchEvents: (options?: RunsEventSearchOptions) => Promise<RunsEventSearchResult>;
3989
4034
  /** Export persisted rows for a runtime-sheet dataset/table namespace. */
3990
4035
  exportDatasetRows: (input: {
@@ -5928,7 +5973,7 @@ declare class DeeplineClient {
5928
5973
  listRuns(options: RunsListOptions): Promise<PlayRunListItem[]>;
5929
5974
  /** Read one run page without discarding server pagination metadata. */
5930
5975
  listRunsPage(options: RunsListOptions): Promise<RunsListPage>;
5931
- /** Read batches rather than silently truncating a long key list. */
5976
+ /** 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. */
5932
5977
  getRunReceipts(runId: string, options: {
5933
5978
  keys: string[];
5934
5979
  }): Promise<RunToolReceiptsResponse>;
@@ -5951,7 +5996,7 @@ declare class DeeplineClient {
5951
5996
  */
5952
5997
  rerun(runId: string, options?: RerunOptions): Promise<RerunPlayRunResult>;
5953
5998
  /**
5954
- * Fetch persisted logs for a run using the public runs resource model.
5999
+ * Read a run's retained text tail (default 200), full retained stream (`all`), or terminal failure window (`failed`, at most 20). These are existing reads; sampling and retention loss cannot be recovered. See [run logs and events](run-events.md) for structured search and payload retrieval.
5955
6000
  *
5956
6001
  * This is the SDK equivalent of:
5957
6002
  *
@@ -5960,7 +6005,7 @@ declare class DeeplineClient {
5960
6005
  * ```
5961
6006
  */
5962
6007
  getRunLogs(runId: string, options?: RunsLogsOptions): Promise<RunsLogsResult>;
5963
- /** Search bounded, structured runtime history without requiring a run id. */
6008
+ /** Read structured history across the active organization without requiring a run ID. Defaults to the last hour, newest first; use the returned cursor and exact time bounds to continue. See [run logs and events](run-events.md) for all kinds, indexed fields, payloads and SDK/API response types. */
5964
6009
  searchRunEvents(options?: RunsEventSearchOptions): Promise<RunsEventSearchResult>;
5965
6010
  /**
5966
6011
  * Export persisted runtime-sheet rows for a play dataset/table namespace.
@@ -1322,11 +1322,12 @@ interface PlayAuthoringRuntimeContext {
1322
1322
  options: PlayAuthoringAsyncCallOptions): Promise<AsyncPlayRunRef>;
1323
1323
  runPlayAsync(key: string, playRef: string, input: Record<string, unknown>, options: PlayAuthoringAsyncCallOptions): Promise<AsyncPlayRunRef>;
1324
1324
  /**
1325
- * Write a customer-safe line to the durable Run Log Stream. Omitting level
1326
- * preserves the historical info-level behavior.
1325
+ * Write a customer-safe retained log line, searchable as `log.appended` in the unified event journal. Default severity is info; runtime sampling and retention limits apply. Use `runs.logs` for retained text and `runs.searchEvents` for indexed context; see `deepline runs logs --help` for the complete read contract.
1327
1326
  */
1328
1327
  log(message: string, options?: {
1328
+ /** Defaults to info. Warn/error lines are not subject to info/debug sampling. */
1329
1329
  level?: 'debug' | 'info' | 'warn' | 'error';
1330
+ /** At most eight flat scalar fields and 2,048 UTF-8 bytes total. Keys match [A-Za-z_][A-Za-z0-9_]{0,63}; __proto__, constructor and prototype are forbidden. String values are at most 256 UTF-8 bytes. Search with `$.context.<key> == literal`; context cannot override run/event identity. */
1330
1331
  context?: Readonly<Record<string, string | number | boolean>>;
1331
1332
  }): void;
1332
1333
  sleep(ms: number): Promise<void>;
@@ -1322,11 +1322,12 @@ interface PlayAuthoringRuntimeContext {
1322
1322
  options: PlayAuthoringAsyncCallOptions): Promise<AsyncPlayRunRef>;
1323
1323
  runPlayAsync(key: string, playRef: string, input: Record<string, unknown>, options: PlayAuthoringAsyncCallOptions): Promise<AsyncPlayRunRef>;
1324
1324
  /**
1325
- * Write a customer-safe line to the durable Run Log Stream. Omitting level
1326
- * preserves the historical info-level behavior.
1325
+ * Write a customer-safe retained log line, searchable as `log.appended` in the unified event journal. Default severity is info; runtime sampling and retention limits apply. Use `runs.logs` for retained text and `runs.searchEvents` for indexed context; see `deepline runs logs --help` for the complete read contract.
1327
1326
  */
1328
1327
  log(message: string, options?: {
1328
+ /** Defaults to info. Warn/error lines are not subject to info/debug sampling. */
1329
1329
  level?: 'debug' | 'info' | 'warn' | 'error';
1330
+ /** At most eight flat scalar fields and 2,048 UTF-8 bytes total. Keys match [A-Za-z_][A-Za-z0-9_]{0,63}; __proto__, constructor and prototype are forbidden. String values are at most 256 UTF-8 bytes. Search with `$.context.<key> == literal`; context cannot override run/event identity. */
1330
1331
  context?: Readonly<Record<string, string | number | boolean>>;
1331
1332
  }): void;
1332
1333
  sleep(ms: number): Promise<void>;
package/dist/index.d.mts CHANGED
@@ -1,8 +1,8 @@
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-C1Xm7eBH.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-C1Xm7eBH.mjs';
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-CUuh8C3b.mjs';
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-CUuh8C3b.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-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';
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
+ 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';
7
7
  export { AdmittedMonitorFleetAuthoringContract, MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG, MONITOR_FLEET_AUTHORING_CONTRACT_EDITION, MONITOR_FLEET_DOCUMENTATION, MONITOR_FLEET_FRONTIER_MAX_ROWS, MONITOR_FLEET_MAX_MEMBERS, MonitorFleetAuthoringContractEdition, MonitorFleetAuthoringContractResult, MonitorFleetColumn, MonitorFleetContractIssue, MonitorFleetDefinition, MonitorFleetExpression, MonitorFleetTemplate, admitMonitorFleetAuthoringContract, defineMonitorFleet, fleetColumn, fleetKey, lintMonitorFleetInput, validateMonitorFleetDefinition } from './monitor-fleet-contract.mjs';
8
8
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
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-BbKtvT9Q.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-BbKtvT9Q.js';
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-CUuh8C3b.js';
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-CUuh8C3b.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-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';
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
+ 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';
7
7
  export { AdmittedMonitorFleetAuthoringContract, MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG, MONITOR_FLEET_AUTHORING_CONTRACT_EDITION, MONITOR_FLEET_DOCUMENTATION, MONITOR_FLEET_FRONTIER_MAX_ROWS, MONITOR_FLEET_MAX_MEMBERS, MonitorFleetAuthoringContractEdition, MonitorFleetAuthoringContractResult, MonitorFleetColumn, MonitorFleetContractIssue, MonitorFleetDefinition, MonitorFleetExpression, MonitorFleetTemplate, admitMonitorFleetAuthoringContract, defineMonitorFleet, fleetColumn, fleetKey, lintMonitorFleetInput, validateMonitorFleetDefinition } from './monitor-fleet-contract.js';
8
8
  import 'zod';