deepline 0.3.213 → 0.3.215

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 (33) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +122 -32
  2. package/dist/bundling-sources/sdk/src/compat.ts +2 -0
  3. package/dist/bundling-sources/sdk/src/deployment-protection.ts +19 -0
  4. package/dist/bundling-sources/sdk/src/http.ts +3 -7
  5. package/dist/bundling-sources/sdk/src/index.ts +7 -0
  6. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  7. package/dist/bundling-sources/sdk/src/types.ts +25 -0
  8. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  9. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +1 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-registry.ts +33 -7
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +11 -1
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-heartbeat.ts +3 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +53 -1
  14. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +187 -6
  15. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +12 -3
  16. package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +5 -2
  17. package/dist/bundling-sources/shared_libs/plays/deploy/api-client.ts +40 -0
  18. package/dist/bundling-sources/shared_libs/plays/deploy/manifest.ts +51 -28
  19. package/dist/bundling-sources/shared_libs/plays/deploy/monitor-files.ts +52 -0
  20. package/dist/bundling-sources/shared_libs/plays/deploy/run-deployment.ts +146 -19
  21. package/dist/bundling-sources/shared_libs/plays/settings-contract.ts +176 -0
  22. package/dist/cli/index.js +1046 -416
  23. package/dist/cli/index.mjs +894 -264
  24. package/dist/index.d.mts +165 -3
  25. package/dist/index.d.ts +165 -3
  26. package/dist/index.js +67 -35
  27. package/dist/index.mjs +67 -35
  28. package/dist/install-integrity.json +3 -0
  29. package/dist/release.d.mts +1 -1
  30. package/dist/release.d.ts +1 -1
  31. package/dist/release.js +1 -1
  32. package/dist/release.mjs +1 -1
  33. package/package.json +3 -2
package/dist/index.d.mts CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
+ import { z } from 'zod';
2
3
  import { c as PlayCompilerManifest, T as ToolResultBilling, 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, r as ToolExecuteResult, s as PlayAuthoringReferenceLike, t as PlayReturnObject$1, u as PlayAuthoringDefineConfig, v as PlayAuthoringDefinedPlay, w as PlayAuthoringFetchOptions, x as PlayAuthoringFileInput, y as PlayAuthoringAsyncCallOptions, z as PlayAuthoringBindings, B as PlayAuthoringCallExecution, C as PlayAuthoringCallOptions, D as PlayAuthoringFetchResponse, E as PlayAuthoringInputContract, F as PlayRunId$1, G as PlayAuthoringStepProgramStep, H as PlayAuthoringRuntimeStepOptions, I as PlaySqlListenerDeclaration, J as PlaySqlListenerEvent, K as PlaySqlListenerOperation, L as PlaySqlQuery, M as PlayAuthoringStepOptions, N as PlayAuthoringStepProgram, O as PlayAuthoringStepProgramResolver, Q as PlayAuthoringStepResolver, R as PlayToolExecutionRequest, S as PlayAuthoringStepProgramOptions, U as DeeplineError, V as ToolExecutionError, W as ToolExecutionErrorOptions } from './compiler-manifest-Dpd2hEet.mjs';
3
4
  export { X as CtxFetchHttpError, Y as DEEPLINE_EXTRACTOR_TARGETS, Z as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, _ as DeeplineEmailStatusGetterValue, $ as DeeplineExtractorTarget, a0 as DeeplineGetterValue, a1 as DeeplineGetterValueMap, a2 as JOB_CHANGE_STATUS_VALUES, a3 as JobChangeStatus, a4 as PHONE_STATUS_VALUES, a5 as PhoneStatus, a6 as PlayDataset, a7 as PlayDatasetInput, a8 as PreviousCell, a9 as ProviderTransientError, aa as ProviderTransientErrorCategory, ab as ProviderUnavailableError, ac as ProviderUnavailableReason, ad as ToolExecutionErrorCategory, ae as ToolExecutionErrorOrigin, af as ToolExecutionFailureV1, ag as ToolExecutionNetworkKind, ah as ToolExecutionNetworkScope, ai as ToolExecutionPublicDetails, aj as getProviderUnavailableReason, ak as isDeeplineExtractorTarget, al as isProviderUnavailable, am as isProviderWaterfallUnavailableError } from './compiler-manifest-Dpd2hEet.mjs';
4
5
  import { MonitorFleetDefinition } from './monitor-fleet-contract.mjs';
@@ -6,6 +7,90 @@ export { AdmittedMonitorFleetAuthoringContract, MONITOR_FLEET_AUTHORING_CONTRACT
6
7
  export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.mjs';
7
8
  import '@sinclair/typebox';
8
9
 
10
+ declare const playPathSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
11
+ root: z.ZodEnum<{
12
+ person: "person";
13
+ team: "team";
14
+ }>;
15
+ folders: z.ZodDefault<z.ZodArray<z.ZodString>>;
16
+ }, z.core.$strict>]>, z.ZodTransform<{
17
+ root: "person" | "team";
18
+ folders: string[];
19
+ } | null, {
20
+ root: "person" | "team";
21
+ folders: string[];
22
+ } | null>>;
23
+ type PlayPath = z.output<typeof playPathSchema>;
24
+ declare function formatPlayPath(path: PlayPath): string;
25
+ /** One registry drives validation, defaults, CLI keys/help and settings controls. */
26
+ declare const PLAY_SETTING_FIELDS: {
27
+ readonly path: {
28
+ readonly schema: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
29
+ root: z.ZodEnum<{
30
+ person: "person";
31
+ team: "team";
32
+ }>;
33
+ folders: z.ZodDefault<z.ZodArray<z.ZodString>>;
34
+ }, z.core.$strict>]>, z.ZodTransform<{
35
+ root: "person" | "team";
36
+ folders: string[];
37
+ } | null, {
38
+ root: "person" | "team";
39
+ folders: string[];
40
+ } | null>>>;
41
+ readonly label: "Location";
42
+ readonly description: "Organize this Play in the creator’s personal root or Team library. Publishing moves it to Team library and keeps its folders. Workspace sharing permissions apply in both roots.";
43
+ readonly defaultValue: PlayPath;
44
+ readonly cli: {
45
+ readonly valueSyntax: "person[/folder/…] | team[/folder/…] | null";
46
+ readonly examples: readonly ["person", "person/Research/ICP", "team", "team/Research", "null"];
47
+ readonly parse: (value: string) => {
48
+ root: "person" | "team";
49
+ folders: string[];
50
+ } | null;
51
+ readonly format: typeof formatPlayPath;
52
+ };
53
+ readonly ui: {
54
+ readonly control: "play-location-picker";
55
+ };
56
+ };
57
+ };
58
+ declare const playSettingsPatchSchema: z.ZodObject<{
59
+ path: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
60
+ root: z.ZodEnum<{
61
+ person: "person";
62
+ team: "team";
63
+ }>;
64
+ folders: z.ZodDefault<z.ZodArray<z.ZodString>>;
65
+ }, z.core.$strict>]>, z.ZodTransform<{
66
+ root: "person" | "team";
67
+ folders: string[];
68
+ } | null, {
69
+ root: "person" | "team";
70
+ folders: string[];
71
+ } | null>>>;
72
+ }, z.core.$strict>;
73
+ type PlaySettings = {
74
+ [K in keyof typeof PLAY_SETTING_FIELDS]: z.output<(typeof PLAY_SETTING_FIELDS)[K]['schema']>;
75
+ };
76
+ type PlaySettingsPatch = z.output<typeof playSettingsPatchSchema>;
77
+ type PlaySettingsResult = {
78
+ playDefinitionId: string;
79
+ ownerUserId: string | null;
80
+ ownerName: string | null;
81
+ settings: PlaySettings;
82
+ };
83
+ type PlaySettingsPathsPage = {
84
+ paths: Array<{
85
+ path: PlayPath;
86
+ ownerUserId: string | null;
87
+ ownerName: string | null;
88
+ playName: string;
89
+ }>;
90
+ cursor: string | null;
91
+ hasMore: boolean;
92
+ };
93
+
9
94
  type ProductNotificationFactValue = string | number | boolean;
10
95
  type ProductNotificationFacts = Record<string, ProductNotificationFactValue>;
11
96
  type ProductNotificationDestinationSettings = {
@@ -1399,6 +1484,10 @@ type InferenceQuote = {
1399
1484
  interface ToolSearchOptions {
1400
1485
  /** Free-text search query. */
1401
1486
  query?: string;
1487
+ /** Maximum number of ranked tools to return (1-50; defaults to 20). */
1488
+ limit?: number;
1489
+ /** Zero-based offset into the ranked result set. */
1490
+ offset?: number;
1402
1491
  /** Comma-separated category filter such as `company_search` or `email_finder`. */
1403
1492
  categories?: string;
1404
1493
  /** Optional explicit search terms used by agent/CLI callers. */
@@ -1420,6 +1509,12 @@ interface ToolSearchResult {
1420
1509
  count?: number;
1421
1510
  /** Matching count within the selected retrieval set. Check total_is_exact. */
1422
1511
  total?: number;
1512
+ /** Zero-based offset used for this page. */
1513
+ offset?: number;
1514
+ /** Maximum number of ranked tools requested for this page. */
1515
+ limit?: number;
1516
+ /** Offset to pass for the next page, when more results are in this result set. */
1517
+ next_offset?: number;
1423
1518
  /** False when indexed retrieval uses a bounded candidate set. */
1424
1519
  total_is_exact?: boolean;
1425
1520
  /** True when indexed retrieval may have additional matching tools. */
@@ -1673,6 +1768,14 @@ interface PlayRunPackage {
1673
1768
  schemaVersion: 1;
1674
1769
  /** Package discriminator. */
1675
1770
  kind: 'play_run';
1771
+ /** Ledger position of the detailed snapshot, when provided by this server. */
1772
+ source?: {
1773
+ ledgerNextSeq: number | null;
1774
+ };
1775
+ /** Legacy status evidence returned by older servers. */
1776
+ overview?: RunLifecycleStatus;
1777
+ /** Optional bounded live evidence from the existing run status projection. */
1778
+ runStatus?: RunGetStatus;
1676
1779
  /** Run identity, status, timing, and dashboard metadata. */
1677
1780
  run: {
1678
1781
  id: string;
@@ -1766,6 +1869,10 @@ type PlayRunOutcome = 'executed' | 'reused' | 'joined' | 'recovered' | 'forced'
1766
1869
  interface PlayStatus {
1767
1870
  /** Public play-run identifier. */
1768
1871
  runId: string;
1872
+ /** Legacy status evidence returned by older servers. */
1873
+ overview?: RunLifecycleStatus;
1874
+ /** Additive bounded evidence when returned by the current server. */
1875
+ runStatus?: RunGetStatus;
1769
1876
  /** Public Deepline play-run API version. */
1770
1877
  apiVersion?: number;
1771
1878
  /** Saved play name for this run, when available. */
@@ -2207,6 +2314,8 @@ interface PlaySheetSummary {
2207
2314
  * Returned by {@link DeeplineClient.getPlay}.
2208
2315
  */
2209
2316
  interface PlayDefinitionDetail {
2317
+ /** Definition settings; never attached to a revision. */
2318
+ settings?: PlaySettings;
2210
2319
  /** Convex document ID. */
2211
2320
  _id: string;
2212
2321
  /** Stable registry key. */
@@ -2304,6 +2413,7 @@ type PlayCostEstimate = {
2304
2413
  modelVersion: string;
2305
2414
  };
2306
2415
  interface PlayListItem {
2416
+ settings?: PlaySettings;
2307
2417
  playKey?: string;
2308
2418
  reference?: string;
2309
2419
  name: string;
@@ -3301,6 +3411,42 @@ type RunsGetOptions = {
3301
3411
  /** Requested failed-log lines to attach (default 20, hard-capped at 20). */
3302
3412
  failedLogLimit?: number;
3303
3413
  };
3414
+ type RunGetStatus = {
3415
+ available: false;
3416
+ reason: 'not_projected' | 'read_failed';
3417
+ } | {
3418
+ available: true;
3419
+ observedAt: number;
3420
+ source: {
3421
+ ledgerNextSeq: number | null;
3422
+ runSnapshotLedgerNextSeq: number | null;
3423
+ aligned: boolean | null;
3424
+ };
3425
+ calls: {
3426
+ logicalCalls: {
3427
+ value: number | null;
3428
+ confirmed: boolean;
3429
+ };
3430
+ toolDispatches: {
3431
+ value: number | null;
3432
+ confirmed: boolean;
3433
+ };
3434
+ provider429s: {
3435
+ value: number | null;
3436
+ confirmed: boolean;
3437
+ };
3438
+ };
3439
+ focusStep: {
3440
+ id: string;
3441
+ label: string | null;
3442
+ status: string | null;
3443
+ rows: {
3444
+ succeeded: number | null;
3445
+ failed: number | null;
3446
+ total: number | null;
3447
+ };
3448
+ } | null;
3449
+ };
3304
3450
  /** Streaming options for `client.runs.tail(...)`. */
3305
3451
  type RunsTailOptions = {
3306
3452
  signal?: AbortSignal;
@@ -3416,7 +3562,10 @@ type PlaySecretCheck = {
3416
3562
  type RunsNamespace = {
3417
3563
  /** Get current run status by public run id. */
3418
3564
  get: (runId: string, options?: RunsGetOptions) => Promise<PlayStatus>;
3419
- /** Read bounded scalar lifecycle and confirmed work counts only. */
3565
+ /**
3566
+ * @deprecated Use `client.runs.get(runId)` for status, progress, logs, and results.
3567
+ * This scalar-only reader remains for compatibility with existing callers.
3568
+ */
3420
3569
  status: (runId: string) => Promise<RunLifecycleStatus>;
3421
3570
  /** Explicitly read the retained original input (may include customer data). */
3422
3571
  input: (runId: string) => Promise<{
@@ -5313,7 +5462,10 @@ declare class DeeplineClient {
5313
5462
  * ```
5314
5463
  */
5315
5464
  getRunStatus(runId: string, options?: RunsGetOptions): Promise<PlayStatus>;
5316
- /** Read only the bounded scalar projection; does not hydrate the run package. */
5465
+ /** Fetch only the legacy scalar lifecycle status for a run.
5466
+ *
5467
+ * @deprecated Use `client.runs.get(runId)` for the canonical run read.
5468
+ */
5317
5469
  getRunLifecycleStatus(runId: string): Promise<RunLifecycleStatus>;
5318
5470
  /**
5319
5471
  * List play runs using the public runs resource model.
@@ -5447,6 +5599,16 @@ declare class DeeplineClient {
5447
5599
  groupBy?: 'kind' | 'trigger_source';
5448
5600
  }): Promise<PlaysActivityResponse>;
5449
5601
  private requestPlaysPage;
5602
+ /** Read definition-level settings, independently of code revisions. */
5603
+ getPlaySettings(playName: string): Promise<PlaySettingsResult>;
5604
+ /** Retry-safe field patch; omitted fields retain their current value. */
5605
+ updatePlaySettings(playName: string, patch: PlaySettingsPatch): Promise<PlaySettingsResult>;
5606
+ /** List one bounded page of existing Play locations; continue with cursor. */
5607
+ listPlaySettingsPaths(options?: {
5608
+ root?: 'person' | 'team';
5609
+ limit?: number;
5610
+ cursor?: string;
5611
+ }): Promise<PlaySettingsPathsPage>;
5450
5612
  /** Set whether an org-owned Play sorts before unpinned Plays. */
5451
5613
  setPlayPinned(playName: string, pinned: boolean): Promise<{
5452
5614
  name: string;
@@ -6991,4 +7153,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
6991
7153
  */
6992
7154
  declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
6993
7155
 
6994
- export { type AsyncPlayRunRef, AuthError, type BillingCreditPool, type BillingInvoiceEntry, type BillingInvoicesResult, type BillingNamespace, type BillingPaymentMethodSummary, type BillingRecentUsageEntry, type BillingSubscriptionCancelResult, type BillingSubscriptionStatus, type BillingTopUpReceipt, type BillingTopUpResult, type BillingUsageEvent, type BillingUsageOptions, type BillingUsageResult, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CreateNotificationGroupInput, type CreateNotificationGroupResult, type CsvInput, type CsvOptions, type CustomerDbQueryResult, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, type DbNamespace, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineExecutionsNamespace, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCategory, type DeeplineToolExecuteResult, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, type ExecutionByKeyResult, type ExecutionRecovery, type FetchOptions, type FileInput, type IngestionStorageRepairResult, type LegacyMonitorStatusFilter, type LiveEventEnvelope, MONITOR_JOB_PHASES, MONITOR_JOB_RECONCILIATION_STATES, MONITOR_JOB_STATES, type MonitorBatchNamespace, type MonitorCheckResult, type MonitorDefinition, type MonitorDeleteResult, type MonitorDependents, type MonitorDeployResult, type MonitorDetail, type MonitorFleetDeactivateOptions, MonitorFleetDefinition, type MonitorFleetGetOptions, type MonitorFleetReactivateOptions, type MonitorFleetResult, type MonitorFleetStatus, type MonitorFleetSyncOptions, type MonitorFleetWaitOptions, type MonitorFleetsNamespace, type MonitorJobDeployOptions, type MonitorJobLogsOptions, type MonitorJobPhase, type MonitorJobReconciliationState, type MonitorJobResult, type MonitorJobState, type MonitorJobWaitOptions, type MonitorJobsNamespace, type MonitorListEntry, type MonitorPayload, type MonitorReactivateResult, type MonitorSpec, type MonitorState, type MonitorStateFilter, type MonitorUpdateChangeSummary, type MonitorUpdateResult, type MonitorsAccessStatus, type MonitorsAvailableOptions, type MonitorsAvailableResult, type MonitorsListOptions, type MonitorsListResult, type MonitorsNamespace, PLAY_BOOTSTRAP_COMPANY_FIELDS, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_CONTACT_FIELDS, PLAY_BOOTSTRAP_FINDER_KINDS, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, PLAY_BOOTSTRAP_SOURCE_KINDS, PLAY_BOOTSTRAP_STAGE_KINDS, PLAY_BOOTSTRAP_TEMPLATES, PROD_URL, type PlayActivityObservation, type PlayActivityState, type PlayActivityTarget, type PlayAsyncCallOptions, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayCallExecution, type PlayCallOptions, type PlayCostEstimate, type PlayFetchResponse, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayReferenceLike, type PlayRevisionSummary, type PlayRunActionPackage, type PlayRunActivityProjection, type PlayRunDatasetActions, type PlayRunId, type PlayRunPackage, type PlayRunResult, type PlayRunStart, type PlaySheetRow, type PlaySheetRowsResult, type PlayStatus, type PlayStepProgramStep, type PlaysActivityResponse, type PlaysListOptions, type PlaysListPage, type PrebuiltPlayRef, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type RerunOptions, type RerunPlayRunResult, type ResolvedConfig, type RunLifecycleStatus, RunObserveTransportUnavailableError, type RunsListOptions, type RunsListPage, type RunsLogsOptions, type RunsLogsResult, type RunsNamespace, type RunsTailOptions, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StartPlayRunRequest, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, type StopAllCandidate, type StopAllPlayRunsDryRunResult, type StopAllPlayRunsResult, type StopAllPlayRunsStopResult, type StopAllRunsOptions, type StopPlayRunResult, type ToolDefinition, ToolExecuteResult, type ToolExecution, ToolExecutionError, ToolExecutionErrorOptions, type ToolExecutionRequest, type ToolMetadata, ToolRateLimitError, ToolResultBilling, type ToolSearchOptions, type ToolSearchResult, type WorkspaceCreateResult, type WorkspacesNamespace, defineInput, defineMonitor, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, isStopAllPlayRunsDryRunResult, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
7156
+ export { type AsyncPlayRunRef, AuthError, type BillingCreditPool, type BillingInvoiceEntry, type BillingInvoicesResult, type BillingNamespace, type BillingPaymentMethodSummary, type BillingRecentUsageEntry, type BillingSubscriptionCancelResult, type BillingSubscriptionStatus, type BillingTopUpReceipt, type BillingTopUpResult, type BillingUsageEvent, type BillingUsageOptions, type BillingUsageResult, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CreateNotificationGroupInput, type CreateNotificationGroupResult, type CsvInput, type CsvOptions, type CustomerDbQueryResult, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, type DbNamespace, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineExecutionsNamespace, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCategory, type DeeplineToolExecuteResult, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, type ExecutionByKeyResult, type ExecutionRecovery, type FetchOptions, type FileInput, type IngestionStorageRepairResult, type LegacyMonitorStatusFilter, type LiveEventEnvelope, MONITOR_JOB_PHASES, MONITOR_JOB_RECONCILIATION_STATES, MONITOR_JOB_STATES, type MonitorBatchNamespace, type MonitorCheckResult, type MonitorDefinition, type MonitorDeleteResult, type MonitorDependents, type MonitorDeployResult, type MonitorDetail, type MonitorFleetDeactivateOptions, MonitorFleetDefinition, type MonitorFleetGetOptions, type MonitorFleetReactivateOptions, type MonitorFleetResult, type MonitorFleetStatus, type MonitorFleetSyncOptions, type MonitorFleetWaitOptions, type MonitorFleetsNamespace, type MonitorJobDeployOptions, type MonitorJobLogsOptions, type MonitorJobPhase, type MonitorJobReconciliationState, type MonitorJobResult, type MonitorJobState, type MonitorJobWaitOptions, type MonitorJobsNamespace, type MonitorListEntry, type MonitorPayload, type MonitorReactivateResult, type MonitorSpec, type MonitorState, type MonitorStateFilter, type MonitorUpdateChangeSummary, type MonitorUpdateResult, type MonitorsAccessStatus, type MonitorsAvailableOptions, type MonitorsAvailableResult, type MonitorsListOptions, type MonitorsListResult, type MonitorsNamespace, PLAY_BOOTSTRAP_COMPANY_FIELDS, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_CONTACT_FIELDS, PLAY_BOOTSTRAP_FINDER_KINDS, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, PLAY_BOOTSTRAP_SOURCE_KINDS, PLAY_BOOTSTRAP_STAGE_KINDS, PLAY_BOOTSTRAP_TEMPLATES, PROD_URL, type PlayActivityObservation, type PlayActivityState, type PlayActivityTarget, type PlayAsyncCallOptions, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayCallExecution, type PlayCallOptions, type PlayCostEstimate, type PlayFetchResponse, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayPath, type PlayReferenceLike, type PlayRevisionSummary, type PlayRunActionPackage, type PlayRunActivityProjection, type PlayRunDatasetActions, type PlayRunId, type PlayRunPackage, type PlayRunResult, type PlayRunStart, type PlaySettings, type PlaySettingsPatch, type PlaySettingsPathsPage, type PlaySettingsResult, type PlaySheetRow, type PlaySheetRowsResult, type PlayStatus, type PlayStepProgramStep, type PlaysActivityResponse, type PlaysListOptions, type PlaysListPage, type PrebuiltPlayRef, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type RerunOptions, type RerunPlayRunResult, type ResolvedConfig, type RunLifecycleStatus, RunObserveTransportUnavailableError, type RunsListOptions, type RunsListPage, type RunsLogsOptions, type RunsLogsResult, type RunsNamespace, type RunsTailOptions, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StartPlayRunRequest, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, type StopAllCandidate, type StopAllPlayRunsDryRunResult, type StopAllPlayRunsResult, type StopAllPlayRunsStopResult, type StopAllRunsOptions, type StopPlayRunResult, type ToolDefinition, ToolExecuteResult, type ToolExecution, ToolExecutionError, ToolExecutionErrorOptions, type ToolExecutionRequest, type ToolMetadata, ToolRateLimitError, ToolResultBilling, type ToolSearchOptions, type ToolSearchResult, type WorkspaceCreateResult, type WorkspacesNamespace, defineInput, defineMonitor, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, isStopAllPlayRunsDryRunResult, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
+ import { z } from 'zod';
2
3
  import { c as PlayCompilerManifest, T as ToolResultBilling, 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, r as ToolExecuteResult, s as PlayAuthoringReferenceLike, t as PlayReturnObject$1, u as PlayAuthoringDefineConfig, v as PlayAuthoringDefinedPlay, w as PlayAuthoringFetchOptions, x as PlayAuthoringFileInput, y as PlayAuthoringAsyncCallOptions, z as PlayAuthoringBindings, B as PlayAuthoringCallExecution, C as PlayAuthoringCallOptions, D as PlayAuthoringFetchResponse, E as PlayAuthoringInputContract, F as PlayRunId$1, G as PlayAuthoringStepProgramStep, H as PlayAuthoringRuntimeStepOptions, I as PlaySqlListenerDeclaration, J as PlaySqlListenerEvent, K as PlaySqlListenerOperation, L as PlaySqlQuery, M as PlayAuthoringStepOptions, N as PlayAuthoringStepProgram, O as PlayAuthoringStepProgramResolver, Q as PlayAuthoringStepResolver, R as PlayToolExecutionRequest, S as PlayAuthoringStepProgramOptions, U as DeeplineError, V as ToolExecutionError, W as ToolExecutionErrorOptions } from './compiler-manifest-Dpd2hEet.js';
3
4
  export { X as CtxFetchHttpError, Y as DEEPLINE_EXTRACTOR_TARGETS, Z as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, _ as DeeplineEmailStatusGetterValue, $ as DeeplineExtractorTarget, a0 as DeeplineGetterValue, a1 as DeeplineGetterValueMap, a2 as JOB_CHANGE_STATUS_VALUES, a3 as JobChangeStatus, a4 as PHONE_STATUS_VALUES, a5 as PhoneStatus, a6 as PlayDataset, a7 as PlayDatasetInput, a8 as PreviousCell, a9 as ProviderTransientError, aa as ProviderTransientErrorCategory, ab as ProviderUnavailableError, ac as ProviderUnavailableReason, ad as ToolExecutionErrorCategory, ae as ToolExecutionErrorOrigin, af as ToolExecutionFailureV1, ag as ToolExecutionNetworkKind, ah as ToolExecutionNetworkScope, ai as ToolExecutionPublicDetails, aj as getProviderUnavailableReason, ak as isDeeplineExtractorTarget, al as isProviderUnavailable, am as isProviderWaterfallUnavailableError } from './compiler-manifest-Dpd2hEet.js';
4
5
  import { MonitorFleetDefinition } from './monitor-fleet-contract.js';
@@ -6,6 +7,90 @@ export { AdmittedMonitorFleetAuthoringContract, MONITOR_FLEET_AUTHORING_CONTRACT
6
7
  export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.js';
7
8
  import '@sinclair/typebox';
8
9
 
10
+ declare const playPathSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
11
+ root: z.ZodEnum<{
12
+ person: "person";
13
+ team: "team";
14
+ }>;
15
+ folders: z.ZodDefault<z.ZodArray<z.ZodString>>;
16
+ }, z.core.$strict>]>, z.ZodTransform<{
17
+ root: "person" | "team";
18
+ folders: string[];
19
+ } | null, {
20
+ root: "person" | "team";
21
+ folders: string[];
22
+ } | null>>;
23
+ type PlayPath = z.output<typeof playPathSchema>;
24
+ declare function formatPlayPath(path: PlayPath): string;
25
+ /** One registry drives validation, defaults, CLI keys/help and settings controls. */
26
+ declare const PLAY_SETTING_FIELDS: {
27
+ readonly path: {
28
+ readonly schema: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
29
+ root: z.ZodEnum<{
30
+ person: "person";
31
+ team: "team";
32
+ }>;
33
+ folders: z.ZodDefault<z.ZodArray<z.ZodString>>;
34
+ }, z.core.$strict>]>, z.ZodTransform<{
35
+ root: "person" | "team";
36
+ folders: string[];
37
+ } | null, {
38
+ root: "person" | "team";
39
+ folders: string[];
40
+ } | null>>>;
41
+ readonly label: "Location";
42
+ readonly description: "Organize this Play in the creator’s personal root or Team library. Publishing moves it to Team library and keeps its folders. Workspace sharing permissions apply in both roots.";
43
+ readonly defaultValue: PlayPath;
44
+ readonly cli: {
45
+ readonly valueSyntax: "person[/folder/…] | team[/folder/…] | null";
46
+ readonly examples: readonly ["person", "person/Research/ICP", "team", "team/Research", "null"];
47
+ readonly parse: (value: string) => {
48
+ root: "person" | "team";
49
+ folders: string[];
50
+ } | null;
51
+ readonly format: typeof formatPlayPath;
52
+ };
53
+ readonly ui: {
54
+ readonly control: "play-location-picker";
55
+ };
56
+ };
57
+ };
58
+ declare const playSettingsPatchSchema: z.ZodObject<{
59
+ path: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
60
+ root: z.ZodEnum<{
61
+ person: "person";
62
+ team: "team";
63
+ }>;
64
+ folders: z.ZodDefault<z.ZodArray<z.ZodString>>;
65
+ }, z.core.$strict>]>, z.ZodTransform<{
66
+ root: "person" | "team";
67
+ folders: string[];
68
+ } | null, {
69
+ root: "person" | "team";
70
+ folders: string[];
71
+ } | null>>>;
72
+ }, z.core.$strict>;
73
+ type PlaySettings = {
74
+ [K in keyof typeof PLAY_SETTING_FIELDS]: z.output<(typeof PLAY_SETTING_FIELDS)[K]['schema']>;
75
+ };
76
+ type PlaySettingsPatch = z.output<typeof playSettingsPatchSchema>;
77
+ type PlaySettingsResult = {
78
+ playDefinitionId: string;
79
+ ownerUserId: string | null;
80
+ ownerName: string | null;
81
+ settings: PlaySettings;
82
+ };
83
+ type PlaySettingsPathsPage = {
84
+ paths: Array<{
85
+ path: PlayPath;
86
+ ownerUserId: string | null;
87
+ ownerName: string | null;
88
+ playName: string;
89
+ }>;
90
+ cursor: string | null;
91
+ hasMore: boolean;
92
+ };
93
+
9
94
  type ProductNotificationFactValue = string | number | boolean;
10
95
  type ProductNotificationFacts = Record<string, ProductNotificationFactValue>;
11
96
  type ProductNotificationDestinationSettings = {
@@ -1399,6 +1484,10 @@ type InferenceQuote = {
1399
1484
  interface ToolSearchOptions {
1400
1485
  /** Free-text search query. */
1401
1486
  query?: string;
1487
+ /** Maximum number of ranked tools to return (1-50; defaults to 20). */
1488
+ limit?: number;
1489
+ /** Zero-based offset into the ranked result set. */
1490
+ offset?: number;
1402
1491
  /** Comma-separated category filter such as `company_search` or `email_finder`. */
1403
1492
  categories?: string;
1404
1493
  /** Optional explicit search terms used by agent/CLI callers. */
@@ -1420,6 +1509,12 @@ interface ToolSearchResult {
1420
1509
  count?: number;
1421
1510
  /** Matching count within the selected retrieval set. Check total_is_exact. */
1422
1511
  total?: number;
1512
+ /** Zero-based offset used for this page. */
1513
+ offset?: number;
1514
+ /** Maximum number of ranked tools requested for this page. */
1515
+ limit?: number;
1516
+ /** Offset to pass for the next page, when more results are in this result set. */
1517
+ next_offset?: number;
1423
1518
  /** False when indexed retrieval uses a bounded candidate set. */
1424
1519
  total_is_exact?: boolean;
1425
1520
  /** True when indexed retrieval may have additional matching tools. */
@@ -1673,6 +1768,14 @@ interface PlayRunPackage {
1673
1768
  schemaVersion: 1;
1674
1769
  /** Package discriminator. */
1675
1770
  kind: 'play_run';
1771
+ /** Ledger position of the detailed snapshot, when provided by this server. */
1772
+ source?: {
1773
+ ledgerNextSeq: number | null;
1774
+ };
1775
+ /** Legacy status evidence returned by older servers. */
1776
+ overview?: RunLifecycleStatus;
1777
+ /** Optional bounded live evidence from the existing run status projection. */
1778
+ runStatus?: RunGetStatus;
1676
1779
  /** Run identity, status, timing, and dashboard metadata. */
1677
1780
  run: {
1678
1781
  id: string;
@@ -1766,6 +1869,10 @@ type PlayRunOutcome = 'executed' | 'reused' | 'joined' | 'recovered' | 'forced'
1766
1869
  interface PlayStatus {
1767
1870
  /** Public play-run identifier. */
1768
1871
  runId: string;
1872
+ /** Legacy status evidence returned by older servers. */
1873
+ overview?: RunLifecycleStatus;
1874
+ /** Additive bounded evidence when returned by the current server. */
1875
+ runStatus?: RunGetStatus;
1769
1876
  /** Public Deepline play-run API version. */
1770
1877
  apiVersion?: number;
1771
1878
  /** Saved play name for this run, when available. */
@@ -2207,6 +2314,8 @@ interface PlaySheetSummary {
2207
2314
  * Returned by {@link DeeplineClient.getPlay}.
2208
2315
  */
2209
2316
  interface PlayDefinitionDetail {
2317
+ /** Definition settings; never attached to a revision. */
2318
+ settings?: PlaySettings;
2210
2319
  /** Convex document ID. */
2211
2320
  _id: string;
2212
2321
  /** Stable registry key. */
@@ -2304,6 +2413,7 @@ type PlayCostEstimate = {
2304
2413
  modelVersion: string;
2305
2414
  };
2306
2415
  interface PlayListItem {
2416
+ settings?: PlaySettings;
2307
2417
  playKey?: string;
2308
2418
  reference?: string;
2309
2419
  name: string;
@@ -3301,6 +3411,42 @@ type RunsGetOptions = {
3301
3411
  /** Requested failed-log lines to attach (default 20, hard-capped at 20). */
3302
3412
  failedLogLimit?: number;
3303
3413
  };
3414
+ type RunGetStatus = {
3415
+ available: false;
3416
+ reason: 'not_projected' | 'read_failed';
3417
+ } | {
3418
+ available: true;
3419
+ observedAt: number;
3420
+ source: {
3421
+ ledgerNextSeq: number | null;
3422
+ runSnapshotLedgerNextSeq: number | null;
3423
+ aligned: boolean | null;
3424
+ };
3425
+ calls: {
3426
+ logicalCalls: {
3427
+ value: number | null;
3428
+ confirmed: boolean;
3429
+ };
3430
+ toolDispatches: {
3431
+ value: number | null;
3432
+ confirmed: boolean;
3433
+ };
3434
+ provider429s: {
3435
+ value: number | null;
3436
+ confirmed: boolean;
3437
+ };
3438
+ };
3439
+ focusStep: {
3440
+ id: string;
3441
+ label: string | null;
3442
+ status: string | null;
3443
+ rows: {
3444
+ succeeded: number | null;
3445
+ failed: number | null;
3446
+ total: number | null;
3447
+ };
3448
+ } | null;
3449
+ };
3304
3450
  /** Streaming options for `client.runs.tail(...)`. */
3305
3451
  type RunsTailOptions = {
3306
3452
  signal?: AbortSignal;
@@ -3416,7 +3562,10 @@ type PlaySecretCheck = {
3416
3562
  type RunsNamespace = {
3417
3563
  /** Get current run status by public run id. */
3418
3564
  get: (runId: string, options?: RunsGetOptions) => Promise<PlayStatus>;
3419
- /** Read bounded scalar lifecycle and confirmed work counts only. */
3565
+ /**
3566
+ * @deprecated Use `client.runs.get(runId)` for status, progress, logs, and results.
3567
+ * This scalar-only reader remains for compatibility with existing callers.
3568
+ */
3420
3569
  status: (runId: string) => Promise<RunLifecycleStatus>;
3421
3570
  /** Explicitly read the retained original input (may include customer data). */
3422
3571
  input: (runId: string) => Promise<{
@@ -5313,7 +5462,10 @@ declare class DeeplineClient {
5313
5462
  * ```
5314
5463
  */
5315
5464
  getRunStatus(runId: string, options?: RunsGetOptions): Promise<PlayStatus>;
5316
- /** Read only the bounded scalar projection; does not hydrate the run package. */
5465
+ /** Fetch only the legacy scalar lifecycle status for a run.
5466
+ *
5467
+ * @deprecated Use `client.runs.get(runId)` for the canonical run read.
5468
+ */
5317
5469
  getRunLifecycleStatus(runId: string): Promise<RunLifecycleStatus>;
5318
5470
  /**
5319
5471
  * List play runs using the public runs resource model.
@@ -5447,6 +5599,16 @@ declare class DeeplineClient {
5447
5599
  groupBy?: 'kind' | 'trigger_source';
5448
5600
  }): Promise<PlaysActivityResponse>;
5449
5601
  private requestPlaysPage;
5602
+ /** Read definition-level settings, independently of code revisions. */
5603
+ getPlaySettings(playName: string): Promise<PlaySettingsResult>;
5604
+ /** Retry-safe field patch; omitted fields retain their current value. */
5605
+ updatePlaySettings(playName: string, patch: PlaySettingsPatch): Promise<PlaySettingsResult>;
5606
+ /** List one bounded page of existing Play locations; continue with cursor. */
5607
+ listPlaySettingsPaths(options?: {
5608
+ root?: 'person' | 'team';
5609
+ limit?: number;
5610
+ cursor?: string;
5611
+ }): Promise<PlaySettingsPathsPage>;
5450
5612
  /** Set whether an org-owned Play sorts before unpinned Plays. */
5451
5613
  setPlayPinned(playName: string, pinned: boolean): Promise<{
5452
5614
  name: string;
@@ -6991,4 +7153,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
6991
7153
  */
6992
7154
  declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
6993
7155
 
6994
- export { type AsyncPlayRunRef, AuthError, type BillingCreditPool, type BillingInvoiceEntry, type BillingInvoicesResult, type BillingNamespace, type BillingPaymentMethodSummary, type BillingRecentUsageEntry, type BillingSubscriptionCancelResult, type BillingSubscriptionStatus, type BillingTopUpReceipt, type BillingTopUpResult, type BillingUsageEvent, type BillingUsageOptions, type BillingUsageResult, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CreateNotificationGroupInput, type CreateNotificationGroupResult, type CsvInput, type CsvOptions, type CustomerDbQueryResult, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, type DbNamespace, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineExecutionsNamespace, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCategory, type DeeplineToolExecuteResult, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, type ExecutionByKeyResult, type ExecutionRecovery, type FetchOptions, type FileInput, type IngestionStorageRepairResult, type LegacyMonitorStatusFilter, type LiveEventEnvelope, MONITOR_JOB_PHASES, MONITOR_JOB_RECONCILIATION_STATES, MONITOR_JOB_STATES, type MonitorBatchNamespace, type MonitorCheckResult, type MonitorDefinition, type MonitorDeleteResult, type MonitorDependents, type MonitorDeployResult, type MonitorDetail, type MonitorFleetDeactivateOptions, MonitorFleetDefinition, type MonitorFleetGetOptions, type MonitorFleetReactivateOptions, type MonitorFleetResult, type MonitorFleetStatus, type MonitorFleetSyncOptions, type MonitorFleetWaitOptions, type MonitorFleetsNamespace, type MonitorJobDeployOptions, type MonitorJobLogsOptions, type MonitorJobPhase, type MonitorJobReconciliationState, type MonitorJobResult, type MonitorJobState, type MonitorJobWaitOptions, type MonitorJobsNamespace, type MonitorListEntry, type MonitorPayload, type MonitorReactivateResult, type MonitorSpec, type MonitorState, type MonitorStateFilter, type MonitorUpdateChangeSummary, type MonitorUpdateResult, type MonitorsAccessStatus, type MonitorsAvailableOptions, type MonitorsAvailableResult, type MonitorsListOptions, type MonitorsListResult, type MonitorsNamespace, PLAY_BOOTSTRAP_COMPANY_FIELDS, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_CONTACT_FIELDS, PLAY_BOOTSTRAP_FINDER_KINDS, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, PLAY_BOOTSTRAP_SOURCE_KINDS, PLAY_BOOTSTRAP_STAGE_KINDS, PLAY_BOOTSTRAP_TEMPLATES, PROD_URL, type PlayActivityObservation, type PlayActivityState, type PlayActivityTarget, type PlayAsyncCallOptions, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayCallExecution, type PlayCallOptions, type PlayCostEstimate, type PlayFetchResponse, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayReferenceLike, type PlayRevisionSummary, type PlayRunActionPackage, type PlayRunActivityProjection, type PlayRunDatasetActions, type PlayRunId, type PlayRunPackage, type PlayRunResult, type PlayRunStart, type PlaySheetRow, type PlaySheetRowsResult, type PlayStatus, type PlayStepProgramStep, type PlaysActivityResponse, type PlaysListOptions, type PlaysListPage, type PrebuiltPlayRef, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type RerunOptions, type RerunPlayRunResult, type ResolvedConfig, type RunLifecycleStatus, RunObserveTransportUnavailableError, type RunsListOptions, type RunsListPage, type RunsLogsOptions, type RunsLogsResult, type RunsNamespace, type RunsTailOptions, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StartPlayRunRequest, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, type StopAllCandidate, type StopAllPlayRunsDryRunResult, type StopAllPlayRunsResult, type StopAllPlayRunsStopResult, type StopAllRunsOptions, type StopPlayRunResult, type ToolDefinition, ToolExecuteResult, type ToolExecution, ToolExecutionError, ToolExecutionErrorOptions, type ToolExecutionRequest, type ToolMetadata, ToolRateLimitError, ToolResultBilling, type ToolSearchOptions, type ToolSearchResult, type WorkspaceCreateResult, type WorkspacesNamespace, defineInput, defineMonitor, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, isStopAllPlayRunsDryRunResult, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
7156
+ export { type AsyncPlayRunRef, AuthError, type BillingCreditPool, type BillingInvoiceEntry, type BillingInvoicesResult, type BillingNamespace, type BillingPaymentMethodSummary, type BillingRecentUsageEntry, type BillingSubscriptionCancelResult, type BillingSubscriptionStatus, type BillingTopUpReceipt, type BillingTopUpResult, type BillingUsageEvent, type BillingUsageOptions, type BillingUsageResult, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CreateNotificationGroupInput, type CreateNotificationGroupResult, type CsvInput, type CsvOptions, type CustomerDbQueryResult, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, type DbNamespace, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineExecutionsNamespace, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCategory, type DeeplineToolExecuteResult, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, type ExecutionByKeyResult, type ExecutionRecovery, type FetchOptions, type FileInput, type IngestionStorageRepairResult, type LegacyMonitorStatusFilter, type LiveEventEnvelope, MONITOR_JOB_PHASES, MONITOR_JOB_RECONCILIATION_STATES, MONITOR_JOB_STATES, type MonitorBatchNamespace, type MonitorCheckResult, type MonitorDefinition, type MonitorDeleteResult, type MonitorDependents, type MonitorDeployResult, type MonitorDetail, type MonitorFleetDeactivateOptions, MonitorFleetDefinition, type MonitorFleetGetOptions, type MonitorFleetReactivateOptions, type MonitorFleetResult, type MonitorFleetStatus, type MonitorFleetSyncOptions, type MonitorFleetWaitOptions, type MonitorFleetsNamespace, type MonitorJobDeployOptions, type MonitorJobLogsOptions, type MonitorJobPhase, type MonitorJobReconciliationState, type MonitorJobResult, type MonitorJobState, type MonitorJobWaitOptions, type MonitorJobsNamespace, type MonitorListEntry, type MonitorPayload, type MonitorReactivateResult, type MonitorSpec, type MonitorState, type MonitorStateFilter, type MonitorUpdateChangeSummary, type MonitorUpdateResult, type MonitorsAccessStatus, type MonitorsAvailableOptions, type MonitorsAvailableResult, type MonitorsListOptions, type MonitorsListResult, type MonitorsNamespace, PLAY_BOOTSTRAP_COMPANY_FIELDS, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_CONTACT_FIELDS, PLAY_BOOTSTRAP_FINDER_KINDS, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, PLAY_BOOTSTRAP_SOURCE_KINDS, PLAY_BOOTSTRAP_STAGE_KINDS, PLAY_BOOTSTRAP_TEMPLATES, PROD_URL, type PlayActivityObservation, type PlayActivityState, type PlayActivityTarget, type PlayAsyncCallOptions, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayCallExecution, type PlayCallOptions, type PlayCostEstimate, type PlayFetchResponse, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayPath, type PlayReferenceLike, type PlayRevisionSummary, type PlayRunActionPackage, type PlayRunActivityProjection, type PlayRunDatasetActions, type PlayRunId, type PlayRunPackage, type PlayRunResult, type PlayRunStart, type PlaySettings, type PlaySettingsPatch, type PlaySettingsPathsPage, type PlaySettingsResult, type PlaySheetRow, type PlaySheetRowsResult, type PlayStatus, type PlayStepProgramStep, type PlaysActivityResponse, type PlaysListOptions, type PlaysListPage, type PrebuiltPlayRef, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type RerunOptions, type RerunPlayRunResult, type ResolvedConfig, type RunLifecycleStatus, RunObserveTransportUnavailableError, type RunsListOptions, type RunsListPage, type RunsLogsOptions, type RunsLogsResult, type RunsNamespace, type RunsTailOptions, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StartPlayRunRequest, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, type StopAllCandidate, type StopAllPlayRunsDryRunResult, type StopAllPlayRunsResult, type StopAllPlayRunsStopResult, type StopAllRunsOptions, type StopPlayRunResult, type ToolDefinition, ToolExecuteResult, type ToolExecution, ToolExecutionError, ToolExecutionErrorOptions, type ToolExecutionRequest, type ToolMetadata, ToolRateLimitError, ToolResultBilling, type ToolSearchOptions, type ToolSearchResult, type WorkspaceCreateResult, type WorkspacesNamespace, defineInput, defineMonitor, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, isStopAllPlayRunsDryRunResult, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };