deepline 0.1.274 → 0.1.276
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundling-sources/sdk/src/client.ts +12 -0
- package/dist/bundling-sources/sdk/src/index.ts +4 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +26 -0
- package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +588 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +25 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +62 -0
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-contract.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/live-state-contract.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +70 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-snapshot-stream.ts +49 -9
- package/dist/cli/index.js +638 -185
- package/dist/cli/index.mjs +638 -185
- package/dist/index.d.mts +120 -1
- package/dist/index.d.ts +120 -1
- package/dist/index.js +367 -56
- package/dist/index.mjs +367 -56
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -6,6 +6,108 @@ type PlayRuntimeSelection = {
|
|
|
6
6
|
namespace: string;
|
|
7
7
|
};
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Canonical, producer-facing description of what a play is doing.
|
|
11
|
+
*
|
|
12
|
+
* Producers report facts. They do not choose log copy, UI placement, polling
|
|
13
|
+
* intervals, or whether a run is "healthy". The activity router and projector
|
|
14
|
+
* own those decisions centrally.
|
|
15
|
+
*/
|
|
16
|
+
type PlayActivityTarget = {
|
|
17
|
+
kind: 'provider';
|
|
18
|
+
provider: string;
|
|
19
|
+
operation: string;
|
|
20
|
+
label?: string;
|
|
21
|
+
} | {
|
|
22
|
+
kind: 'dataset';
|
|
23
|
+
tableNamespace: string;
|
|
24
|
+
operation: 'materializing' | 'persisting' | 'indexing' | 'reading';
|
|
25
|
+
label?: string;
|
|
26
|
+
} | {
|
|
27
|
+
kind: 'lease';
|
|
28
|
+
resourceKind: 'run' | 'dataset' | 'row' | 'runner';
|
|
29
|
+
resourceLabel: string;
|
|
30
|
+
} | {
|
|
31
|
+
kind: 'runner';
|
|
32
|
+
backend: string;
|
|
33
|
+
label?: string;
|
|
34
|
+
} | {
|
|
35
|
+
kind: 'step';
|
|
36
|
+
stepId: string;
|
|
37
|
+
label?: string;
|
|
38
|
+
} | {
|
|
39
|
+
kind: 'capacity';
|
|
40
|
+
pool: 'worker' | 'provider' | 'dataset' | 'runner';
|
|
41
|
+
label?: string;
|
|
42
|
+
};
|
|
43
|
+
type PlayActivityProgress = {
|
|
44
|
+
completed?: number;
|
|
45
|
+
total?: number;
|
|
46
|
+
failed?: number;
|
|
47
|
+
message?: string;
|
|
48
|
+
};
|
|
49
|
+
type PlayActivityState = {
|
|
50
|
+
kind: 'active';
|
|
51
|
+
progress?: PlayActivityProgress;
|
|
52
|
+
} | {
|
|
53
|
+
kind: 'queued';
|
|
54
|
+
reason: 'capacity';
|
|
55
|
+
} | {
|
|
56
|
+
kind: 'waiting';
|
|
57
|
+
reason: {
|
|
58
|
+
kind: 'external_event';
|
|
59
|
+
provider?: string;
|
|
60
|
+
eventKey?: string;
|
|
61
|
+
remaining?: number;
|
|
62
|
+
deadlineAt?: number;
|
|
63
|
+
} | {
|
|
64
|
+
kind: 'dataset';
|
|
65
|
+
tableNamespace: string;
|
|
66
|
+
requiredPhase: 'available' | 'persisted' | 'indexed';
|
|
67
|
+
} | {
|
|
68
|
+
kind: 'lease';
|
|
69
|
+
resourceKind: 'run' | 'dataset' | 'row' | 'runner';
|
|
70
|
+
resourceLabel: string;
|
|
71
|
+
expiresAt?: number;
|
|
72
|
+
} | {
|
|
73
|
+
/** Mixed-version fallback only; new producers must choose a typed reason. */
|
|
74
|
+
kind: 'unknown';
|
|
75
|
+
};
|
|
76
|
+
} | {
|
|
77
|
+
kind: 'retrying';
|
|
78
|
+
reason: 'rate_limit' | 'provider_error' | 'transport_error';
|
|
79
|
+
retryAt: number;
|
|
80
|
+
attempt?: number;
|
|
81
|
+
} | {
|
|
82
|
+
kind: 'scheduled';
|
|
83
|
+
reason: 'sleep';
|
|
84
|
+
resumeAt: number;
|
|
85
|
+
} | {
|
|
86
|
+
kind: 'completed';
|
|
87
|
+
} | {
|
|
88
|
+
kind: 'failed';
|
|
89
|
+
code?: string;
|
|
90
|
+
};
|
|
91
|
+
type PlayActivityObservation = {
|
|
92
|
+
schemaVersion: 1;
|
|
93
|
+
/** Stable within one run, for example `tool:discover_ctos` or `dataset:leads`. */
|
|
94
|
+
activityId: string;
|
|
95
|
+
/** Optional owning play step. */
|
|
96
|
+
stepId?: string;
|
|
97
|
+
target: PlayActivityTarget;
|
|
98
|
+
state: PlayActivityState;
|
|
99
|
+
/** Producer clock. The runtime envelope supplies run identity and ordering. */
|
|
100
|
+
observedAt: number;
|
|
101
|
+
};
|
|
102
|
+
type PlayRunActivityProjection = {
|
|
103
|
+
observation: PlayActivityObservation;
|
|
104
|
+
summary: string;
|
|
105
|
+
visibility: PlayActivityVisibility;
|
|
106
|
+
/** False only when old payloads lacked enough typed facts to classify. */
|
|
107
|
+
classified: boolean;
|
|
108
|
+
};
|
|
109
|
+
type PlayActivityVisibility = 'hidden' | 'timeline' | 'headline' | 'action';
|
|
110
|
+
|
|
9
111
|
declare const DEEPLINE_TOOL_CATEGORIES: readonly ["company_search", "people_search", "people_enrich", "email_finder", "email_verify", "phone_finder", "phone_verify", "identity_resolution", "reverse_lookup", "enrichment", "batch", "premium", "free"];
|
|
10
112
|
type DeeplineToolCategory = (typeof DEEPLINE_TOOL_CATEGORIES)[number] | (string & {});
|
|
11
113
|
declare const PLAY_BOOTSTRAP_TEMPLATES: readonly ["people-list", "company-list", "people-email", "people-phone", "company-people", "company-people-email", "company-people-phone"];
|
|
@@ -131,6 +233,17 @@ interface ToolPricingSummary {
|
|
|
131
233
|
/** Additional user-facing pricing notes. */
|
|
132
234
|
details: string[];
|
|
133
235
|
}
|
|
236
|
+
/** A discoverable provider, returned by {@link DeeplineClient.listProviders}. */
|
|
237
|
+
interface ProviderDefinition {
|
|
238
|
+
provider: string;
|
|
239
|
+
displayName: string;
|
|
240
|
+
toolCount: number;
|
|
241
|
+
categories: string[];
|
|
242
|
+
/** Present for providers in the recent-additions ledger. */
|
|
243
|
+
version?: string;
|
|
244
|
+
/** ISO-8601 date on which this provider was added. */
|
|
245
|
+
releasedAt?: string;
|
|
246
|
+
}
|
|
134
247
|
|
|
135
248
|
/**
|
|
136
249
|
* Summary definition of a callable provider-backed tool.
|
|
@@ -563,6 +676,8 @@ interface PlayRunPackage {
|
|
|
563
676
|
finishedAt?: number | null;
|
|
564
677
|
durationMs?: number | null;
|
|
565
678
|
error?: string;
|
|
679
|
+
/** Canonical explanation of what this run is doing or waiting on. */
|
|
680
|
+
activity?: PlayRunActivityProjection | null;
|
|
566
681
|
};
|
|
567
682
|
/** Bounded customer-safe warnings about output projection or availability. */
|
|
568
683
|
warnings?: string[];
|
|
@@ -2156,6 +2271,10 @@ declare class DeeplineClient {
|
|
|
2156
2271
|
grepMode?: 'all' | 'any' | 'phrase';
|
|
2157
2272
|
compact?: boolean;
|
|
2158
2273
|
}): Promise<ToolDefinition[]>;
|
|
2274
|
+
/** List discoverable providers without requiring a local plugin catalog. */
|
|
2275
|
+
listProviders(options?: {
|
|
2276
|
+
changed?: boolean;
|
|
2277
|
+
}): Promise<ProviderDefinition[]>;
|
|
2159
2278
|
/**
|
|
2160
2279
|
* Search available tools using Deepline's ranked backend search.
|
|
2161
2280
|
*
|
|
@@ -4922,4 +5041,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
|
|
|
4922
5041
|
*/
|
|
4923
5042
|
declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
|
|
4924
5043
|
|
|
4925
|
-
export { AuthError, type BillingCreditPool, type BillingInvoiceEntry, type BillingInvoicesResult, type BillingNamespace, type BillingPaymentMethodSummary, type BillingSubscriptionCancelResult, type BillingSubscriptionStatus, type BillingTopUpResult, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, type CustomerDbQueryResult, DEEPLINE_EXTRACTOR_TARGETS, DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, type DbNamespace, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, type DeeplineEmailStatusGetterValue, DeeplineError, type DeeplineExtractorTarget, type DeeplineGetterValue, type DeeplineGetterValueMap, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCategory, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, type FileInput, type IngestionStorageRepairResult, JOB_CHANGE_STATUS_VALUES, type JobChangeStatus, type LiveEventEnvelope, type MonitorCheckResult, type MonitorControls, type MonitorDefinition, type MonitorDeleteResult, type MonitorDependents, type MonitorDeployResult, type MonitorDetail, type MonitorListEntry, type MonitorPayload, type MonitorReactivateResult, type MonitorUpdateResult, type MonitorsAccessStatus, type MonitorsAvailableOptions, type MonitorsAvailableResult, type MonitorsListOptions, type MonitorsListResult, type MonitorsNamespace, PHONE_STATUS_VALUES, 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 PhoneStatus, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayCallExecution, type PlayCallOptions, type PlayDataset, type PlayDatasetInput, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunActionPackage, type PlayRunDatasetActions, type PlayRunPackage, type PlayRunResult, type PlayRunStart, type PlaySheetRow, type PlaySheetRowsResult, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PreviousCell, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, RunObserveTransportUnavailableError, type RunsListOptions, type RunsLogsOptions, type RunsLogsResult, type RunsNamespace, type RunsTailOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StartPlayRunRequest, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, type StopPlayRunResult, type ToolDefinition, type ToolExecuteResult, type ToolExecution, type ToolExecutionRequest, type ToolMetadata, type ToolSearchOptions, type ToolSearchResult, defineInput, defineMonitor, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isDeeplineExtractorTarget, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
|
|
5044
|
+
export { AuthError, type BillingCreditPool, type BillingInvoiceEntry, type BillingInvoicesResult, type BillingNamespace, type BillingPaymentMethodSummary, type BillingSubscriptionCancelResult, type BillingSubscriptionStatus, type BillingTopUpResult, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, type CustomerDbQueryResult, DEEPLINE_EXTRACTOR_TARGETS, DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, type DbNamespace, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, type DeeplineEmailStatusGetterValue, DeeplineError, type DeeplineExtractorTarget, type DeeplineGetterValue, type DeeplineGetterValueMap, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCategory, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, type FileInput, type IngestionStorageRepairResult, JOB_CHANGE_STATUS_VALUES, type JobChangeStatus, type LiveEventEnvelope, type MonitorCheckResult, type MonitorControls, type MonitorDefinition, type MonitorDeleteResult, type MonitorDependents, type MonitorDeployResult, type MonitorDetail, type MonitorListEntry, type MonitorPayload, type MonitorReactivateResult, type MonitorUpdateResult, type MonitorsAccessStatus, type MonitorsAvailableOptions, type MonitorsAvailableResult, type MonitorsListOptions, type MonitorsListResult, type MonitorsNamespace, PHONE_STATUS_VALUES, 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 PhoneStatus, type PlayActivityObservation, type PlayActivityState, type PlayActivityTarget, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayCallExecution, type PlayCallOptions, type PlayDataset, type PlayDatasetInput, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunActionPackage, type PlayRunActivityProjection, type PlayRunDatasetActions, type PlayRunPackage, type PlayRunResult, type PlayRunStart, type PlaySheetRow, type PlaySheetRowsResult, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PreviousCell, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, RunObserveTransportUnavailableError, type RunsListOptions, type RunsLogsOptions, type RunsLogsResult, type RunsNamespace, type RunsTailOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StartPlayRunRequest, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, type StopPlayRunResult, type ToolDefinition, type ToolExecuteResult, type ToolExecution, type ToolExecutionRequest, type ToolMetadata, type ToolSearchOptions, type ToolSearchResult, defineInput, defineMonitor, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isDeeplineExtractorTarget, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,108 @@ type PlayRuntimeSelection = {
|
|
|
6
6
|
namespace: string;
|
|
7
7
|
};
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Canonical, producer-facing description of what a play is doing.
|
|
11
|
+
*
|
|
12
|
+
* Producers report facts. They do not choose log copy, UI placement, polling
|
|
13
|
+
* intervals, or whether a run is "healthy". The activity router and projector
|
|
14
|
+
* own those decisions centrally.
|
|
15
|
+
*/
|
|
16
|
+
type PlayActivityTarget = {
|
|
17
|
+
kind: 'provider';
|
|
18
|
+
provider: string;
|
|
19
|
+
operation: string;
|
|
20
|
+
label?: string;
|
|
21
|
+
} | {
|
|
22
|
+
kind: 'dataset';
|
|
23
|
+
tableNamespace: string;
|
|
24
|
+
operation: 'materializing' | 'persisting' | 'indexing' | 'reading';
|
|
25
|
+
label?: string;
|
|
26
|
+
} | {
|
|
27
|
+
kind: 'lease';
|
|
28
|
+
resourceKind: 'run' | 'dataset' | 'row' | 'runner';
|
|
29
|
+
resourceLabel: string;
|
|
30
|
+
} | {
|
|
31
|
+
kind: 'runner';
|
|
32
|
+
backend: string;
|
|
33
|
+
label?: string;
|
|
34
|
+
} | {
|
|
35
|
+
kind: 'step';
|
|
36
|
+
stepId: string;
|
|
37
|
+
label?: string;
|
|
38
|
+
} | {
|
|
39
|
+
kind: 'capacity';
|
|
40
|
+
pool: 'worker' | 'provider' | 'dataset' | 'runner';
|
|
41
|
+
label?: string;
|
|
42
|
+
};
|
|
43
|
+
type PlayActivityProgress = {
|
|
44
|
+
completed?: number;
|
|
45
|
+
total?: number;
|
|
46
|
+
failed?: number;
|
|
47
|
+
message?: string;
|
|
48
|
+
};
|
|
49
|
+
type PlayActivityState = {
|
|
50
|
+
kind: 'active';
|
|
51
|
+
progress?: PlayActivityProgress;
|
|
52
|
+
} | {
|
|
53
|
+
kind: 'queued';
|
|
54
|
+
reason: 'capacity';
|
|
55
|
+
} | {
|
|
56
|
+
kind: 'waiting';
|
|
57
|
+
reason: {
|
|
58
|
+
kind: 'external_event';
|
|
59
|
+
provider?: string;
|
|
60
|
+
eventKey?: string;
|
|
61
|
+
remaining?: number;
|
|
62
|
+
deadlineAt?: number;
|
|
63
|
+
} | {
|
|
64
|
+
kind: 'dataset';
|
|
65
|
+
tableNamespace: string;
|
|
66
|
+
requiredPhase: 'available' | 'persisted' | 'indexed';
|
|
67
|
+
} | {
|
|
68
|
+
kind: 'lease';
|
|
69
|
+
resourceKind: 'run' | 'dataset' | 'row' | 'runner';
|
|
70
|
+
resourceLabel: string;
|
|
71
|
+
expiresAt?: number;
|
|
72
|
+
} | {
|
|
73
|
+
/** Mixed-version fallback only; new producers must choose a typed reason. */
|
|
74
|
+
kind: 'unknown';
|
|
75
|
+
};
|
|
76
|
+
} | {
|
|
77
|
+
kind: 'retrying';
|
|
78
|
+
reason: 'rate_limit' | 'provider_error' | 'transport_error';
|
|
79
|
+
retryAt: number;
|
|
80
|
+
attempt?: number;
|
|
81
|
+
} | {
|
|
82
|
+
kind: 'scheduled';
|
|
83
|
+
reason: 'sleep';
|
|
84
|
+
resumeAt: number;
|
|
85
|
+
} | {
|
|
86
|
+
kind: 'completed';
|
|
87
|
+
} | {
|
|
88
|
+
kind: 'failed';
|
|
89
|
+
code?: string;
|
|
90
|
+
};
|
|
91
|
+
type PlayActivityObservation = {
|
|
92
|
+
schemaVersion: 1;
|
|
93
|
+
/** Stable within one run, for example `tool:discover_ctos` or `dataset:leads`. */
|
|
94
|
+
activityId: string;
|
|
95
|
+
/** Optional owning play step. */
|
|
96
|
+
stepId?: string;
|
|
97
|
+
target: PlayActivityTarget;
|
|
98
|
+
state: PlayActivityState;
|
|
99
|
+
/** Producer clock. The runtime envelope supplies run identity and ordering. */
|
|
100
|
+
observedAt: number;
|
|
101
|
+
};
|
|
102
|
+
type PlayRunActivityProjection = {
|
|
103
|
+
observation: PlayActivityObservation;
|
|
104
|
+
summary: string;
|
|
105
|
+
visibility: PlayActivityVisibility;
|
|
106
|
+
/** False only when old payloads lacked enough typed facts to classify. */
|
|
107
|
+
classified: boolean;
|
|
108
|
+
};
|
|
109
|
+
type PlayActivityVisibility = 'hidden' | 'timeline' | 'headline' | 'action';
|
|
110
|
+
|
|
9
111
|
declare const DEEPLINE_TOOL_CATEGORIES: readonly ["company_search", "people_search", "people_enrich", "email_finder", "email_verify", "phone_finder", "phone_verify", "identity_resolution", "reverse_lookup", "enrichment", "batch", "premium", "free"];
|
|
10
112
|
type DeeplineToolCategory = (typeof DEEPLINE_TOOL_CATEGORIES)[number] | (string & {});
|
|
11
113
|
declare const PLAY_BOOTSTRAP_TEMPLATES: readonly ["people-list", "company-list", "people-email", "people-phone", "company-people", "company-people-email", "company-people-phone"];
|
|
@@ -131,6 +233,17 @@ interface ToolPricingSummary {
|
|
|
131
233
|
/** Additional user-facing pricing notes. */
|
|
132
234
|
details: string[];
|
|
133
235
|
}
|
|
236
|
+
/** A discoverable provider, returned by {@link DeeplineClient.listProviders}. */
|
|
237
|
+
interface ProviderDefinition {
|
|
238
|
+
provider: string;
|
|
239
|
+
displayName: string;
|
|
240
|
+
toolCount: number;
|
|
241
|
+
categories: string[];
|
|
242
|
+
/** Present for providers in the recent-additions ledger. */
|
|
243
|
+
version?: string;
|
|
244
|
+
/** ISO-8601 date on which this provider was added. */
|
|
245
|
+
releasedAt?: string;
|
|
246
|
+
}
|
|
134
247
|
|
|
135
248
|
/**
|
|
136
249
|
* Summary definition of a callable provider-backed tool.
|
|
@@ -563,6 +676,8 @@ interface PlayRunPackage {
|
|
|
563
676
|
finishedAt?: number | null;
|
|
564
677
|
durationMs?: number | null;
|
|
565
678
|
error?: string;
|
|
679
|
+
/** Canonical explanation of what this run is doing or waiting on. */
|
|
680
|
+
activity?: PlayRunActivityProjection | null;
|
|
566
681
|
};
|
|
567
682
|
/** Bounded customer-safe warnings about output projection or availability. */
|
|
568
683
|
warnings?: string[];
|
|
@@ -2156,6 +2271,10 @@ declare class DeeplineClient {
|
|
|
2156
2271
|
grepMode?: 'all' | 'any' | 'phrase';
|
|
2157
2272
|
compact?: boolean;
|
|
2158
2273
|
}): Promise<ToolDefinition[]>;
|
|
2274
|
+
/** List discoverable providers without requiring a local plugin catalog. */
|
|
2275
|
+
listProviders(options?: {
|
|
2276
|
+
changed?: boolean;
|
|
2277
|
+
}): Promise<ProviderDefinition[]>;
|
|
2159
2278
|
/**
|
|
2160
2279
|
* Search available tools using Deepline's ranked backend search.
|
|
2161
2280
|
*
|
|
@@ -4922,4 +5041,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
|
|
|
4922
5041
|
*/
|
|
4923
5042
|
declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
|
|
4924
5043
|
|
|
4925
|
-
export { AuthError, type BillingCreditPool, type BillingInvoiceEntry, type BillingInvoicesResult, type BillingNamespace, type BillingPaymentMethodSummary, type BillingSubscriptionCancelResult, type BillingSubscriptionStatus, type BillingTopUpResult, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, type CustomerDbQueryResult, DEEPLINE_EXTRACTOR_TARGETS, DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, type DbNamespace, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, type DeeplineEmailStatusGetterValue, DeeplineError, type DeeplineExtractorTarget, type DeeplineGetterValue, type DeeplineGetterValueMap, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCategory, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, type FileInput, type IngestionStorageRepairResult, JOB_CHANGE_STATUS_VALUES, type JobChangeStatus, type LiveEventEnvelope, type MonitorCheckResult, type MonitorControls, type MonitorDefinition, type MonitorDeleteResult, type MonitorDependents, type MonitorDeployResult, type MonitorDetail, type MonitorListEntry, type MonitorPayload, type MonitorReactivateResult, type MonitorUpdateResult, type MonitorsAccessStatus, type MonitorsAvailableOptions, type MonitorsAvailableResult, type MonitorsListOptions, type MonitorsListResult, type MonitorsNamespace, PHONE_STATUS_VALUES, 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 PhoneStatus, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayCallExecution, type PlayCallOptions, type PlayDataset, type PlayDatasetInput, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunActionPackage, type PlayRunDatasetActions, type PlayRunPackage, type PlayRunResult, type PlayRunStart, type PlaySheetRow, type PlaySheetRowsResult, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PreviousCell, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, RunObserveTransportUnavailableError, type RunsListOptions, type RunsLogsOptions, type RunsLogsResult, type RunsNamespace, type RunsTailOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StartPlayRunRequest, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, type StopPlayRunResult, type ToolDefinition, type ToolExecuteResult, type ToolExecution, type ToolExecutionRequest, type ToolMetadata, type ToolSearchOptions, type ToolSearchResult, defineInput, defineMonitor, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isDeeplineExtractorTarget, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
|
|
5044
|
+
export { AuthError, type BillingCreditPool, type BillingInvoiceEntry, type BillingInvoicesResult, type BillingNamespace, type BillingPaymentMethodSummary, type BillingSubscriptionCancelResult, type BillingSubscriptionStatus, type BillingTopUpResult, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, type CustomerDbQueryResult, DEEPLINE_EXTRACTOR_TARGETS, DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, type DbNamespace, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, type DeeplineEmailStatusGetterValue, DeeplineError, type DeeplineExtractorTarget, type DeeplineGetterValue, type DeeplineGetterValueMap, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCategory, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, type FileInput, type IngestionStorageRepairResult, JOB_CHANGE_STATUS_VALUES, type JobChangeStatus, type LiveEventEnvelope, type MonitorCheckResult, type MonitorControls, type MonitorDefinition, type MonitorDeleteResult, type MonitorDependents, type MonitorDeployResult, type MonitorDetail, type MonitorListEntry, type MonitorPayload, type MonitorReactivateResult, type MonitorUpdateResult, type MonitorsAccessStatus, type MonitorsAvailableOptions, type MonitorsAvailableResult, type MonitorsListOptions, type MonitorsListResult, type MonitorsNamespace, PHONE_STATUS_VALUES, 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 PhoneStatus, type PlayActivityObservation, type PlayActivityState, type PlayActivityTarget, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayCallExecution, type PlayCallOptions, type PlayDataset, type PlayDatasetInput, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunActionPackage, type PlayRunActivityProjection, type PlayRunDatasetActions, type PlayRunPackage, type PlayRunResult, type PlayRunStart, type PlaySheetRow, type PlaySheetRowsResult, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PreviousCell, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, RunObserveTransportUnavailableError, type RunsListOptions, type RunsLogsOptions, type RunsLogsResult, type RunsNamespace, type RunsTailOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StartPlayRunRequest, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, type StopPlayRunResult, type ToolDefinition, type ToolExecuteResult, type ToolExecution, type ToolExecutionRequest, type ToolMetadata, type ToolSearchOptions, type ToolSearchResult, defineInput, defineMonitor, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isDeeplineExtractorTarget, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
|