deepline 0.3.280 → 0.3.282
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 +1 -1
- package/dist/bundling-sources/sdk/src/http.ts +16 -8
- package/dist/bundling-sources/sdk/src/index.ts +1 -1
- package/dist/bundling-sources/sdk/src/play.ts +1 -1
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/tool-calls.ts +2 -1
- package/dist/bundling-sources/sdk/src/types.ts +2 -0
- package/dist/bundling-sources/shared_libs/observability/redaction.ts +21 -13
- package/dist/bundling-sources/shared_libs/play-data-plane/runtime-sheet-storage-contract.ts +27 -0
- package/dist/bundling-sources/shared_libs/play-runtime/async-operation.ts +24 -5
- package/dist/bundling-sources/shared_libs/play-runtime/cell-provenance.ts +3 -1
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +19 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +32 -9
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +26 -5
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +1 -0
- package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +6 -5
- package/dist/bundling-sources/shared_libs/security/secret-redaction.ts +6 -0
- package/dist/cli/index.js +399 -52
- package/dist/cli/index.mjs +399 -52
- package/dist/{client-C0EhEIQO.d.mts → client-B0AjIkgb.d.mts} +6 -3
- package/dist/{client-HxPrGPbv.d.ts → client-BCXQ_Ftc.d.ts} +6 -3
- package/dist/{compiler-manifest-C1bKB9bY.d.mts → compiler-manifest-B1zo3igW.d.mts} +6 -5
- package/dist/{compiler-manifest-C1bKB9bY.d.ts → compiler-manifest-B1zo3igW.d.ts} +6 -5
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +192 -11
- package/dist/index.mjs +192 -11
- package/dist/install-integrity.json +4 -4
- package/dist/plays/bundle-play-file.d.mts +2 -2
- package/dist/plays/bundle-play-file.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +1 -1
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
3
|
+
import { c as PlayCompilerManifest, ai as ToolResultBilling } from './compiler-manifest-B1zo3igW.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<{
|
|
@@ -1426,6 +1426,7 @@ interface ToolDefinition extends ToolExecutionMetadataFields {
|
|
|
1426
1426
|
expression?: string;
|
|
1427
1427
|
meaning?: string;
|
|
1428
1428
|
};
|
|
1429
|
+
/** @deprecated Use canonicalToolResponse. */
|
|
1429
1430
|
rawToolResponse?: {
|
|
1430
1431
|
expression?: string;
|
|
1431
1432
|
meaning?: string;
|
|
@@ -1439,6 +1440,7 @@ interface ToolDefinition extends ToolExecutionMetadataFields {
|
|
|
1439
1440
|
toolExecutionResult?: {
|
|
1440
1441
|
type?: 'ToolExecutionResult';
|
|
1441
1442
|
toolResponse?: {
|
|
1443
|
+
/** @deprecated Use rawV2. */
|
|
1442
1444
|
raw?: string;
|
|
1443
1445
|
rawV2?: string;
|
|
1444
1446
|
view?: string;
|
|
@@ -3273,7 +3275,7 @@ type ExecutionByKeyResult = {
|
|
|
3273
3275
|
* Standard provider/tool execution envelope returned by low-level SDK calls.
|
|
3274
3276
|
*
|
|
3275
3277
|
* `toolResponse.rawV2` contains the complete scrubbed provider response;
|
|
3276
|
-
* `
|
|
3278
|
+
* `extractedValues` and
|
|
3277
3279
|
* `extractedLists` contain Deepline-normalized getters when the tool exposes
|
|
3278
3280
|
* them. Billing fields are Deepline-facing and must not expose provider spend.
|
|
3279
3281
|
*/
|
|
@@ -3282,6 +3284,7 @@ type ToolExecution<TData = unknown, TMeta = Record<string, unknown>> = {
|
|
|
3282
3284
|
job_id?: string;
|
|
3283
3285
|
meta?: Record<string, unknown>;
|
|
3284
3286
|
toolResponse: {
|
|
3287
|
+
/** @deprecated Use declared getters or toolResponse.rawV2. */
|
|
3285
3288
|
raw: TData;
|
|
3286
3289
|
rawV2?: unknown;
|
|
3287
3290
|
view?: 'data' | 'rawV2';
|
|
@@ -5528,7 +5531,7 @@ declare class DeeplineClient {
|
|
|
5528
5531
|
/**
|
|
5529
5532
|
* Execute a tool and return the standard execution envelope.
|
|
5530
5533
|
*
|
|
5531
|
-
* The `toolResponse.
|
|
5534
|
+
* The `toolResponse.rawV2` field contains the complete parsed and scrubbed tool response.
|
|
5532
5535
|
* `toolResponse.meta` contains tool/provider metadata.
|
|
5533
5536
|
* Top-level fields such as `status`, `job_id`, and `billing` describe the
|
|
5534
5537
|
* Deepline execution envelope.
|
|
@@ -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-
|
|
3
|
+
import { c as PlayCompilerManifest, ai as ToolResultBilling } from './compiler-manifest-B1zo3igW.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<{
|
|
@@ -1426,6 +1426,7 @@ interface ToolDefinition extends ToolExecutionMetadataFields {
|
|
|
1426
1426
|
expression?: string;
|
|
1427
1427
|
meaning?: string;
|
|
1428
1428
|
};
|
|
1429
|
+
/** @deprecated Use canonicalToolResponse. */
|
|
1429
1430
|
rawToolResponse?: {
|
|
1430
1431
|
expression?: string;
|
|
1431
1432
|
meaning?: string;
|
|
@@ -1439,6 +1440,7 @@ interface ToolDefinition extends ToolExecutionMetadataFields {
|
|
|
1439
1440
|
toolExecutionResult?: {
|
|
1440
1441
|
type?: 'ToolExecutionResult';
|
|
1441
1442
|
toolResponse?: {
|
|
1443
|
+
/** @deprecated Use rawV2. */
|
|
1442
1444
|
raw?: string;
|
|
1443
1445
|
rawV2?: string;
|
|
1444
1446
|
view?: string;
|
|
@@ -3273,7 +3275,7 @@ type ExecutionByKeyResult = {
|
|
|
3273
3275
|
* Standard provider/tool execution envelope returned by low-level SDK calls.
|
|
3274
3276
|
*
|
|
3275
3277
|
* `toolResponse.rawV2` contains the complete scrubbed provider response;
|
|
3276
|
-
* `
|
|
3278
|
+
* `extractedValues` and
|
|
3277
3279
|
* `extractedLists` contain Deepline-normalized getters when the tool exposes
|
|
3278
3280
|
* them. Billing fields are Deepline-facing and must not expose provider spend.
|
|
3279
3281
|
*/
|
|
@@ -3282,6 +3284,7 @@ type ToolExecution<TData = unknown, TMeta = Record<string, unknown>> = {
|
|
|
3282
3284
|
job_id?: string;
|
|
3283
3285
|
meta?: Record<string, unknown>;
|
|
3284
3286
|
toolResponse: {
|
|
3287
|
+
/** @deprecated Use declared getters or toolResponse.rawV2. */
|
|
3285
3288
|
raw: TData;
|
|
3286
3289
|
rawV2?: unknown;
|
|
3287
3290
|
view?: 'data' | 'rawV2';
|
|
@@ -5528,7 +5531,7 @@ declare class DeeplineClient {
|
|
|
5528
5531
|
/**
|
|
5529
5532
|
* Execute a tool and return the standard execution envelope.
|
|
5530
5533
|
*
|
|
5531
|
-
* The `toolResponse.
|
|
5534
|
+
* The `toolResponse.rawV2` field contains the complete parsed and scrubbed tool response.
|
|
5532
5535
|
* `toolResponse.meta` contains tool/provider metadata.
|
|
5533
5536
|
* Top-level fields such as `status`, `job_id`, and `billing` describe the
|
|
5534
5537
|
* Deepline execution envelope.
|
|
@@ -408,6 +408,7 @@ type ToolResultListAccessor<T = Record<string, unknown>, TKey extends string = s
|
|
|
408
408
|
get(): PlayDataset<T>;
|
|
409
409
|
};
|
|
410
410
|
type ToolResponseEnvelope<TData = unknown, TMeta = Record<string, unknown>> = {
|
|
411
|
+
/** @deprecated Use declared getters or toolResponse.rawV2. */
|
|
411
412
|
raw: TData;
|
|
412
413
|
/** Complete parsed and scrubbed provider response, materialized from raw-v2. */
|
|
413
414
|
rawV2?: unknown;
|
|
@@ -456,15 +457,15 @@ type ToolExecuteResultAccessors<TExtracted extends Record<string, unknown> = Par
|
|
|
456
457
|
*
|
|
457
458
|
* The top-level object is Deepline-owned execution metadata and semantic
|
|
458
459
|
* extraction state. The canonical provider response lives under
|
|
459
|
-
* `toolResponse.rawV2
|
|
460
|
-
* projection. Response metadata lives under `toolResponse.meta`. Semantic single-value
|
|
460
|
+
* `toolResponse.rawV2`. Response metadata lives under `toolResponse.meta`. Semantic single-value
|
|
461
461
|
* getters live under `extractedValues.<name>.get()`, and list getters live
|
|
462
462
|
* under `extractedLists.<name>.get()`.
|
|
463
463
|
*
|
|
464
464
|
* Use extractors first when a tool contract exposes them. Use list getters for
|
|
465
|
-
* row-shaped data.
|
|
466
|
-
*
|
|
467
|
-
*
|
|
465
|
+
* row-shaped data. Use `toolResponse.rawV2` for provider-specific fields or
|
|
466
|
+
* debugging. Inspect the observed response before selecting a nested field;
|
|
467
|
+
* provider envelopes are preserved, including pagination and sibling resources.
|
|
468
|
+
* This is parsed, scrubbed data, not the original HTTP bytes or headers.
|
|
468
469
|
*
|
|
469
470
|
* @sdkReference runtime 200
|
|
470
471
|
*/
|
|
@@ -408,6 +408,7 @@ type ToolResultListAccessor<T = Record<string, unknown>, TKey extends string = s
|
|
|
408
408
|
get(): PlayDataset<T>;
|
|
409
409
|
};
|
|
410
410
|
type ToolResponseEnvelope<TData = unknown, TMeta = Record<string, unknown>> = {
|
|
411
|
+
/** @deprecated Use declared getters or toolResponse.rawV2. */
|
|
411
412
|
raw: TData;
|
|
412
413
|
/** Complete parsed and scrubbed provider response, materialized from raw-v2. */
|
|
413
414
|
rawV2?: unknown;
|
|
@@ -456,15 +457,15 @@ type ToolExecuteResultAccessors<TExtracted extends Record<string, unknown> = Par
|
|
|
456
457
|
*
|
|
457
458
|
* The top-level object is Deepline-owned execution metadata and semantic
|
|
458
459
|
* extraction state. The canonical provider response lives under
|
|
459
|
-
* `toolResponse.rawV2
|
|
460
|
-
* projection. Response metadata lives under `toolResponse.meta`. Semantic single-value
|
|
460
|
+
* `toolResponse.rawV2`. Response metadata lives under `toolResponse.meta`. Semantic single-value
|
|
461
461
|
* getters live under `extractedValues.<name>.get()`, and list getters live
|
|
462
462
|
* under `extractedLists.<name>.get()`.
|
|
463
463
|
*
|
|
464
464
|
* Use extractors first when a tool contract exposes them. Use list getters for
|
|
465
|
-
* row-shaped data.
|
|
466
|
-
*
|
|
467
|
-
*
|
|
465
|
+
* row-shaped data. Use `toolResponse.rawV2` for provider-specific fields or
|
|
466
|
+
* debugging. Inspect the observed response before selecting a nested field;
|
|
467
|
+
* provider envelopes are preserved, including pagination and sibling resources.
|
|
468
|
+
* This is parsed, scrubbed data, not the original HTTP bytes or headers.
|
|
468
469
|
*
|
|
469
470
|
* @sdkReference runtime 200
|
|
470
471
|
*/
|
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-
|
|
3
|
-
export { h as BillingCreditPool, i as BillingInvoiceEntry, j as BillingInvoicesResult, k as BillingPaymentMethodSummary, l as BillingRecentUsageEntry, m as BillingSubscriptionCancelResult, n as BillingSubscriptionStatus, o as BillingTopUpReceipt, p as BillingTopUpResult, q as BillingUsageEvent, r as BillingUsageOptions, s as BillingUsageResult, t as ChildRunSummary, u as ClearPlayHistoryRequest, v as CreateNotificationGroupInput, w as CreateNotificationGroupResult, x as CustomerDbQueryResult, y as DEEPLINE_TOOL_CATEGORIES, z as DbNamespace, A as DeeplineClient, F as DeeplineToolCategory, I as IngestionStorageRepairResult, L as LegacyMonitorStatusFilter, G as LiveEventEnvelope, M as MONITOR_JOB_PHASES, H as MONITOR_JOB_RECONCILIATION_STATES, J as MONITOR_JOB_STATES, K as MonitorBatchNamespace, N as MonitorCheckResult, O as MonitorDefinition, Q as MonitorDeleteResult, U as MonitorDependents, V as MonitorDeployResult, W as MonitorDetail, X as MonitorFleetDeactivateOptions, Y as MonitorFleetGetOptions, Z as MonitorFleetReactivateOptions, _ as MonitorFleetResult, $ as MonitorFleetStatus, a0 as MonitorFleetSyncOptions, a1 as MonitorFleetWaitOptions, a2 as MonitorFleetsNamespace, a3 as MonitorJobDeployOptions, a4 as MonitorJobLogsOptions, a5 as MonitorJobPhase, a6 as MonitorJobReconciliationState, a7 as MonitorJobResult, a8 as MonitorJobState, a9 as MonitorJobWaitOptions, aa as MonitorJobsNamespace, ab as MonitorListEntry, ac as MonitorPayload, ad as MonitorReactivateResult, ae as MonitorSpec, af as MonitorState, ag as MonitorStateFilter, ah as MonitorUpdateChangeSummary, ai as MonitorUpdateResult, aj as MonitorsAccessStatus, ak as MonitorsAvailableOptions, al as MonitorsAvailableResult, am as MonitorsListOptions, an as MonitorsListResult, ao as MonitorsNamespace, ap as PLAY_BOOTSTRAP_COMPANY_FIELDS, aq as PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, ar as PLAY_BOOTSTRAP_CONTACT_FIELDS, as as PLAY_BOOTSTRAP_FINDER_KINDS, at as PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, au as PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, av as PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, aw as PLAY_BOOTSTRAP_SOURCE_KINDS, ax as PLAY_BOOTSTRAP_STAGE_KINDS, ay as PLAY_BOOTSTRAP_TEMPLATES, az as PlayActivityObservation, aA as PlayActivityState, aB as PlayActivityTarget, aC as PlayBootstrapEntityKind, aD as PlayBootstrapFinderKind, aE as PlayCostEstimate, aF as PlayCronTriggerConfig, aG as PlayLiveEvent, aH as PlayPath, aI as PlayRunActionPackage, aJ as PlayRunActivityProjection, aK as PlayRunDatasetActions, aL as PlayRunPackage, aM as PlayRunResult, aN as PlayRunStart, aO as PlaySettings, aP as PlaySettingsPatch, aQ as PlaySettingsPathsPage, aR as PlaySettingsResult, aS as PlaySheetRow, aT as PlaySheetRowsResult, aU as PlayTriggerConfigUpdate, aV as PlayTriggerConfigUpdateResult, aW as PlayTriggerConfigView, aX as PlayWebhookAuthConfig, aY as PlayWebhookTriggerConfig, aZ as PlaysActivityResponse, a_ as PlaysListOptions, a$ as PlaysListPage, b0 as PublishPlayVersionRequest, b1 as RerunOptions, b2 as RerunPlayRunResult, b3 as RunChildrenPage, b4 as RunLifecycleStatus, b5 as RunToolReceiptResult, b6 as RunToolReceiptsResponse, b7 as RunsChildrenOptions, b8 as RunsEventPayload, b9 as RunsEventSearchEntry, ba as RunsEventSearchOptions, bb as RunsEventSearchResult, bc as RunsHistoryItem, bd as RunsHistoryOptions, be as RunsHistoryPage, bf as RunsListOptions, bg as RunsListPage, bh as RunsLogsOptions, bi as RunsLogsResult, bj as RunsNamespace, bk as RunsTailOptions, bl as RunsWatchOptions, bm as StartPlayRunRequest, bn as StopAllCandidate, bo as StopAllPlayRunsDryRunResult, bp as StopAllPlayRunsResult, bq as StopAllPlayRunsStopResult, br as StopAllRunsOptions, bs as ToolExecution, bt as ToolSearchOptions, bu as ToolSearchResult, bv as WorkspaceCreateResult, bw as WorkspacesNamespace, bx as defineMonitor, by as formatPlayBootstrapFinderKinds, bz as formatPlayBootstrapFinderKindsForSentence, bA as formatPlayBootstrapTemplates, bB as isPlayBootstrapFinderKind, bC as isPlayBootstrapTemplate, bD as isStopAllPlayRunsDryRunResult } from './client-
|
|
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-
|
|
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-
|
|
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-B0AjIkgb.mjs';
|
|
3
|
+
export { h as BillingCreditPool, i as BillingInvoiceEntry, j as BillingInvoicesResult, k as BillingPaymentMethodSummary, l as BillingRecentUsageEntry, m as BillingSubscriptionCancelResult, n as BillingSubscriptionStatus, o as BillingTopUpReceipt, p as BillingTopUpResult, q as BillingUsageEvent, r as BillingUsageOptions, s as BillingUsageResult, t as ChildRunSummary, u as ClearPlayHistoryRequest, v as CreateNotificationGroupInput, w as CreateNotificationGroupResult, x as CustomerDbQueryResult, y as DEEPLINE_TOOL_CATEGORIES, z as DbNamespace, A as DeeplineClient, F as DeeplineToolCategory, I as IngestionStorageRepairResult, L as LegacyMonitorStatusFilter, G as LiveEventEnvelope, M as MONITOR_JOB_PHASES, H as MONITOR_JOB_RECONCILIATION_STATES, J as MONITOR_JOB_STATES, K as MonitorBatchNamespace, N as MonitorCheckResult, O as MonitorDefinition, Q as MonitorDeleteResult, U as MonitorDependents, V as MonitorDeployResult, W as MonitorDetail, X as MonitorFleetDeactivateOptions, Y as MonitorFleetGetOptions, Z as MonitorFleetReactivateOptions, _ as MonitorFleetResult, $ as MonitorFleetStatus, a0 as MonitorFleetSyncOptions, a1 as MonitorFleetWaitOptions, a2 as MonitorFleetsNamespace, a3 as MonitorJobDeployOptions, a4 as MonitorJobLogsOptions, a5 as MonitorJobPhase, a6 as MonitorJobReconciliationState, a7 as MonitorJobResult, a8 as MonitorJobState, a9 as MonitorJobWaitOptions, aa as MonitorJobsNamespace, ab as MonitorListEntry, ac as MonitorPayload, ad as MonitorReactivateResult, ae as MonitorSpec, af as MonitorState, ag as MonitorStateFilter, ah as MonitorUpdateChangeSummary, ai as MonitorUpdateResult, aj as MonitorsAccessStatus, ak as MonitorsAvailableOptions, al as MonitorsAvailableResult, am as MonitorsListOptions, an as MonitorsListResult, ao as MonitorsNamespace, ap as PLAY_BOOTSTRAP_COMPANY_FIELDS, aq as PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, ar as PLAY_BOOTSTRAP_CONTACT_FIELDS, as as PLAY_BOOTSTRAP_FINDER_KINDS, at as PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, au as PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, av as PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, aw as PLAY_BOOTSTRAP_SOURCE_KINDS, ax as PLAY_BOOTSTRAP_STAGE_KINDS, ay as PLAY_BOOTSTRAP_TEMPLATES, az as PlayActivityObservation, aA as PlayActivityState, aB as PlayActivityTarget, aC as PlayBootstrapEntityKind, aD as PlayBootstrapFinderKind, aE as PlayCostEstimate, aF as PlayCronTriggerConfig, aG as PlayLiveEvent, aH as PlayPath, aI as PlayRunActionPackage, aJ as PlayRunActivityProjection, aK as PlayRunDatasetActions, aL as PlayRunPackage, aM as PlayRunResult, aN as PlayRunStart, aO as PlaySettings, aP as PlaySettingsPatch, aQ as PlaySettingsPathsPage, aR as PlaySettingsResult, aS as PlaySheetRow, aT as PlaySheetRowsResult, aU as PlayTriggerConfigUpdate, aV as PlayTriggerConfigUpdateResult, aW as PlayTriggerConfigView, aX as PlayWebhookAuthConfig, aY as PlayWebhookTriggerConfig, aZ as PlaysActivityResponse, a_ as PlaysListOptions, a$ as PlaysListPage, b0 as PublishPlayVersionRequest, b1 as RerunOptions, b2 as RerunPlayRunResult, b3 as RunChildrenPage, b4 as RunLifecycleStatus, b5 as RunToolReceiptResult, b6 as RunToolReceiptsResponse, b7 as RunsChildrenOptions, b8 as RunsEventPayload, b9 as RunsEventSearchEntry, ba as RunsEventSearchOptions, bb as RunsEventSearchResult, bc as RunsHistoryItem, bd as RunsHistoryOptions, be as RunsHistoryPage, bf as RunsListOptions, bg as RunsListPage, bh as RunsLogsOptions, bi as RunsLogsResult, bj as RunsNamespace, bk as RunsTailOptions, bl as RunsWatchOptions, bm as StartPlayRunRequest, bn as StopAllCandidate, bo as StopAllPlayRunsDryRunResult, bp as StopAllPlayRunsResult, bq as StopAllPlayRunsStopResult, br as StopAllRunsOptions, bs as ToolExecution, bt as ToolSearchOptions, bu as ToolSearchResult, bv as WorkspaceCreateResult, bw as WorkspacesNamespace, bx as defineMonitor, by as formatPlayBootstrapFinderKinds, bz as formatPlayBootstrapFinderKindsForSentence, bA as formatPlayBootstrapTemplates, bB as isPlayBootstrapFinderKind, bC as isPlayBootstrapTemplate, bD as isStopAllPlayRunsDryRunResult } from './client-B0AjIkgb.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-B1zo3igW.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-B1zo3igW.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';
|
|
@@ -513,7 +513,7 @@ declare class DeeplineContext {
|
|
|
513
513
|
* const tools = await deepline.tools.list();
|
|
514
514
|
* const meta = await deepline.tools.get('dropleads_search_people');
|
|
515
515
|
* const companyLookup = await deepline.tools.execute('test_company_search', { domain: 'stripe.com' });
|
|
516
|
-
* const
|
|
516
|
+
* const providerResponse = companyLookup.toolResponse.rawV2;
|
|
517
517
|
* ```
|
|
518
518
|
*/
|
|
519
519
|
get tools(): DeeplineToolsNamespace;
|
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-
|
|
3
|
-
export { h as BillingCreditPool, i as BillingInvoiceEntry, j as BillingInvoicesResult, k as BillingPaymentMethodSummary, l as BillingRecentUsageEntry, m as BillingSubscriptionCancelResult, n as BillingSubscriptionStatus, o as BillingTopUpReceipt, p as BillingTopUpResult, q as BillingUsageEvent, r as BillingUsageOptions, s as BillingUsageResult, t as ChildRunSummary, u as ClearPlayHistoryRequest, v as CreateNotificationGroupInput, w as CreateNotificationGroupResult, x as CustomerDbQueryResult, y as DEEPLINE_TOOL_CATEGORIES, z as DbNamespace, A as DeeplineClient, F as DeeplineToolCategory, I as IngestionStorageRepairResult, L as LegacyMonitorStatusFilter, G as LiveEventEnvelope, M as MONITOR_JOB_PHASES, H as MONITOR_JOB_RECONCILIATION_STATES, J as MONITOR_JOB_STATES, K as MonitorBatchNamespace, N as MonitorCheckResult, O as MonitorDefinition, Q as MonitorDeleteResult, U as MonitorDependents, V as MonitorDeployResult, W as MonitorDetail, X as MonitorFleetDeactivateOptions, Y as MonitorFleetGetOptions, Z as MonitorFleetReactivateOptions, _ as MonitorFleetResult, $ as MonitorFleetStatus, a0 as MonitorFleetSyncOptions, a1 as MonitorFleetWaitOptions, a2 as MonitorFleetsNamespace, a3 as MonitorJobDeployOptions, a4 as MonitorJobLogsOptions, a5 as MonitorJobPhase, a6 as MonitorJobReconciliationState, a7 as MonitorJobResult, a8 as MonitorJobState, a9 as MonitorJobWaitOptions, aa as MonitorJobsNamespace, ab as MonitorListEntry, ac as MonitorPayload, ad as MonitorReactivateResult, ae as MonitorSpec, af as MonitorState, ag as MonitorStateFilter, ah as MonitorUpdateChangeSummary, ai as MonitorUpdateResult, aj as MonitorsAccessStatus, ak as MonitorsAvailableOptions, al as MonitorsAvailableResult, am as MonitorsListOptions, an as MonitorsListResult, ao as MonitorsNamespace, ap as PLAY_BOOTSTRAP_COMPANY_FIELDS, aq as PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, ar as PLAY_BOOTSTRAP_CONTACT_FIELDS, as as PLAY_BOOTSTRAP_FINDER_KINDS, at as PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, au as PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, av as PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, aw as PLAY_BOOTSTRAP_SOURCE_KINDS, ax as PLAY_BOOTSTRAP_STAGE_KINDS, ay as PLAY_BOOTSTRAP_TEMPLATES, az as PlayActivityObservation, aA as PlayActivityState, aB as PlayActivityTarget, aC as PlayBootstrapEntityKind, aD as PlayBootstrapFinderKind, aE as PlayCostEstimate, aF as PlayCronTriggerConfig, aG as PlayLiveEvent, aH as PlayPath, aI as PlayRunActionPackage, aJ as PlayRunActivityProjection, aK as PlayRunDatasetActions, aL as PlayRunPackage, aM as PlayRunResult, aN as PlayRunStart, aO as PlaySettings, aP as PlaySettingsPatch, aQ as PlaySettingsPathsPage, aR as PlaySettingsResult, aS as PlaySheetRow, aT as PlaySheetRowsResult, aU as PlayTriggerConfigUpdate, aV as PlayTriggerConfigUpdateResult, aW as PlayTriggerConfigView, aX as PlayWebhookAuthConfig, aY as PlayWebhookTriggerConfig, aZ as PlaysActivityResponse, a_ as PlaysListOptions, a$ as PlaysListPage, b0 as PublishPlayVersionRequest, b1 as RerunOptions, b2 as RerunPlayRunResult, b3 as RunChildrenPage, b4 as RunLifecycleStatus, b5 as RunToolReceiptResult, b6 as RunToolReceiptsResponse, b7 as RunsChildrenOptions, b8 as RunsEventPayload, b9 as RunsEventSearchEntry, ba as RunsEventSearchOptions, bb as RunsEventSearchResult, bc as RunsHistoryItem, bd as RunsHistoryOptions, be as RunsHistoryPage, bf as RunsListOptions, bg as RunsListPage, bh as RunsLogsOptions, bi as RunsLogsResult, bj as RunsNamespace, bk as RunsTailOptions, bl as RunsWatchOptions, bm as StartPlayRunRequest, bn as StopAllCandidate, bo as StopAllPlayRunsDryRunResult, bp as StopAllPlayRunsResult, bq as StopAllPlayRunsStopResult, br as StopAllRunsOptions, bs as ToolExecution, bt as ToolSearchOptions, bu as ToolSearchResult, bv as WorkspaceCreateResult, bw as WorkspacesNamespace, bx as defineMonitor, by as formatPlayBootstrapFinderKinds, bz as formatPlayBootstrapFinderKindsForSentence, bA as formatPlayBootstrapTemplates, bB as isPlayBootstrapFinderKind, bC as isPlayBootstrapTemplate, bD as isStopAllPlayRunsDryRunResult } from './client-
|
|
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-
|
|
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-
|
|
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-BCXQ_Ftc.js';
|
|
3
|
+
export { h as BillingCreditPool, i as BillingInvoiceEntry, j as BillingInvoicesResult, k as BillingPaymentMethodSummary, l as BillingRecentUsageEntry, m as BillingSubscriptionCancelResult, n as BillingSubscriptionStatus, o as BillingTopUpReceipt, p as BillingTopUpResult, q as BillingUsageEvent, r as BillingUsageOptions, s as BillingUsageResult, t as ChildRunSummary, u as ClearPlayHistoryRequest, v as CreateNotificationGroupInput, w as CreateNotificationGroupResult, x as CustomerDbQueryResult, y as DEEPLINE_TOOL_CATEGORIES, z as DbNamespace, A as DeeplineClient, F as DeeplineToolCategory, I as IngestionStorageRepairResult, L as LegacyMonitorStatusFilter, G as LiveEventEnvelope, M as MONITOR_JOB_PHASES, H as MONITOR_JOB_RECONCILIATION_STATES, J as MONITOR_JOB_STATES, K as MonitorBatchNamespace, N as MonitorCheckResult, O as MonitorDefinition, Q as MonitorDeleteResult, U as MonitorDependents, V as MonitorDeployResult, W as MonitorDetail, X as MonitorFleetDeactivateOptions, Y as MonitorFleetGetOptions, Z as MonitorFleetReactivateOptions, _ as MonitorFleetResult, $ as MonitorFleetStatus, a0 as MonitorFleetSyncOptions, a1 as MonitorFleetWaitOptions, a2 as MonitorFleetsNamespace, a3 as MonitorJobDeployOptions, a4 as MonitorJobLogsOptions, a5 as MonitorJobPhase, a6 as MonitorJobReconciliationState, a7 as MonitorJobResult, a8 as MonitorJobState, a9 as MonitorJobWaitOptions, aa as MonitorJobsNamespace, ab as MonitorListEntry, ac as MonitorPayload, ad as MonitorReactivateResult, ae as MonitorSpec, af as MonitorState, ag as MonitorStateFilter, ah as MonitorUpdateChangeSummary, ai as MonitorUpdateResult, aj as MonitorsAccessStatus, ak as MonitorsAvailableOptions, al as MonitorsAvailableResult, am as MonitorsListOptions, an as MonitorsListResult, ao as MonitorsNamespace, ap as PLAY_BOOTSTRAP_COMPANY_FIELDS, aq as PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, ar as PLAY_BOOTSTRAP_CONTACT_FIELDS, as as PLAY_BOOTSTRAP_FINDER_KINDS, at as PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, au as PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, av as PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, aw as PLAY_BOOTSTRAP_SOURCE_KINDS, ax as PLAY_BOOTSTRAP_STAGE_KINDS, ay as PLAY_BOOTSTRAP_TEMPLATES, az as PlayActivityObservation, aA as PlayActivityState, aB as PlayActivityTarget, aC as PlayBootstrapEntityKind, aD as PlayBootstrapFinderKind, aE as PlayCostEstimate, aF as PlayCronTriggerConfig, aG as PlayLiveEvent, aH as PlayPath, aI as PlayRunActionPackage, aJ as PlayRunActivityProjection, aK as PlayRunDatasetActions, aL as PlayRunPackage, aM as PlayRunResult, aN as PlayRunStart, aO as PlaySettings, aP as PlaySettingsPatch, aQ as PlaySettingsPathsPage, aR as PlaySettingsResult, aS as PlaySheetRow, aT as PlaySheetRowsResult, aU as PlayTriggerConfigUpdate, aV as PlayTriggerConfigUpdateResult, aW as PlayTriggerConfigView, aX as PlayWebhookAuthConfig, aY as PlayWebhookTriggerConfig, aZ as PlaysActivityResponse, a_ as PlaysListOptions, a$ as PlaysListPage, b0 as PublishPlayVersionRequest, b1 as RerunOptions, b2 as RerunPlayRunResult, b3 as RunChildrenPage, b4 as RunLifecycleStatus, b5 as RunToolReceiptResult, b6 as RunToolReceiptsResponse, b7 as RunsChildrenOptions, b8 as RunsEventPayload, b9 as RunsEventSearchEntry, ba as RunsEventSearchOptions, bb as RunsEventSearchResult, bc as RunsHistoryItem, bd as RunsHistoryOptions, be as RunsHistoryPage, bf as RunsListOptions, bg as RunsListPage, bh as RunsLogsOptions, bi as RunsLogsResult, bj as RunsNamespace, bk as RunsTailOptions, bl as RunsWatchOptions, bm as StartPlayRunRequest, bn as StopAllCandidate, bo as StopAllPlayRunsDryRunResult, bp as StopAllPlayRunsResult, bq as StopAllPlayRunsStopResult, br as StopAllRunsOptions, bs as ToolExecution, bt as ToolSearchOptions, bu as ToolSearchResult, bv as WorkspaceCreateResult, bw as WorkspacesNamespace, bx as defineMonitor, by as formatPlayBootstrapFinderKinds, bz as formatPlayBootstrapFinderKindsForSentence, bA as formatPlayBootstrapTemplates, bB as isPlayBootstrapFinderKind, bC as isPlayBootstrapTemplate, bD as isStopAllPlayRunsDryRunResult } from './client-BCXQ_Ftc.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-B1zo3igW.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-B1zo3igW.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';
|
|
@@ -513,7 +513,7 @@ declare class DeeplineContext {
|
|
|
513
513
|
* const tools = await deepline.tools.list();
|
|
514
514
|
* const meta = await deepline.tools.get('dropleads_search_people');
|
|
515
515
|
* const companyLookup = await deepline.tools.execute('test_company_search', { domain: 'stripe.com' });
|
|
516
|
-
* const
|
|
516
|
+
* const providerResponse = companyLookup.toolResponse.rawV2;
|
|
517
517
|
* ```
|
|
518
518
|
*/
|
|
519
519
|
get tools(): DeeplineToolsNamespace;
|
package/dist/index.js
CHANGED
|
@@ -1328,7 +1328,7 @@ var SDK_RELEASE = {
|
|
|
1328
1328
|
// getters keep their established compatibility behavior.
|
|
1329
1329
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
1330
1330
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
1331
|
-
version: "0.3.
|
|
1331
|
+
version: "0.3.282",
|
|
1332
1332
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
1333
1333
|
packageCapabilities: {
|
|
1334
1334
|
updatePreferences: 1
|
|
@@ -1946,7 +1946,7 @@ function applyExplicitHeaders(headers, explicit) {
|
|
|
1946
1946
|
for (const existing of Object.keys(headers)) {
|
|
1947
1947
|
if (existing.toLowerCase() === name) delete headers[existing];
|
|
1948
1948
|
}
|
|
1949
|
-
headers[
|
|
1949
|
+
headers[rawName.trim()] = value;
|
|
1950
1950
|
}
|
|
1951
1951
|
return headers;
|
|
1952
1952
|
}
|
|
@@ -2034,7 +2034,7 @@ var HttpClient = class {
|
|
|
2034
2034
|
}
|
|
2035
2035
|
}
|
|
2036
2036
|
authHeaders(extra) {
|
|
2037
|
-
const
|
|
2037
|
+
const transportHeaders = {
|
|
2038
2038
|
Authorization: `Bearer ${this.config.apiKey}`,
|
|
2039
2039
|
"User-Agent": `deepline-ts-sdk/${SDK_VERSION}`,
|
|
2040
2040
|
"X-Deepline-Client-Family": "sdk",
|
|
@@ -2043,10 +2043,9 @@ var HttpClient = class {
|
|
|
2043
2043
|
"X-Deepline-CLI-Version": SDK_VERSION,
|
|
2044
2044
|
"X-Deepline-SDK-Version": SDK_VERSION,
|
|
2045
2045
|
"X-Deepline-API-Contract": SDK_API_CONTRACT,
|
|
2046
|
-
"X-Deepline-Run-Result-Shape": "canonical"
|
|
2047
|
-
...extra,
|
|
2048
|
-
...deploymentProtectionHeaders()
|
|
2046
|
+
"X-Deepline-Run-Result-Shape": "canonical"
|
|
2049
2047
|
};
|
|
2048
|
+
const headers = deploymentProtectionHeaders();
|
|
2050
2049
|
const skillsVersion = this.readSkillsVersionHeader();
|
|
2051
2050
|
if (skillsVersion) {
|
|
2052
2051
|
headers["X-Deepline-Skills-Version"] = skillsVersion;
|
|
@@ -2092,7 +2091,13 @@ var HttpClient = class {
|
|
|
2092
2091
|
if (coordinatorInternalToken?.trim() && (coordinatorUrl?.trim() || workerCallbackUrl?.trim() || runtimeTestFault?.trim() || absurdReleaseOverride?.trim() || preferredReceiptGatewayMachineId?.trim())) {
|
|
2093
2092
|
headers[COORDINATOR_INTERNAL_TOKEN_HEADER] = coordinatorInternalToken.trim();
|
|
2094
2093
|
}
|
|
2095
|
-
return applyExplicitHeaders(
|
|
2094
|
+
return applyExplicitHeaders(
|
|
2095
|
+
applyExplicitHeaders(
|
|
2096
|
+
applyExplicitHeaders(transportHeaders, extra),
|
|
2097
|
+
headers
|
|
2098
|
+
),
|
|
2099
|
+
this.config.headers
|
|
2100
|
+
);
|
|
2096
2101
|
}
|
|
2097
2102
|
/**
|
|
2098
2103
|
* Send an HTTP request with automatic retries and error handling.
|
|
@@ -2116,7 +2121,7 @@ var HttpClient = class {
|
|
|
2116
2121
|
let networkPhase = "before_request";
|
|
2117
2122
|
const headers = this.authHeaders(options?.headers);
|
|
2118
2123
|
if (options?.body !== void 0) {
|
|
2119
|
-
headers
|
|
2124
|
+
applyExplicitHeaders(headers, { "Content-Type": "application/json" });
|
|
2120
2125
|
}
|
|
2121
2126
|
let lastError = null;
|
|
2122
2127
|
const candidateUrls = options?.exactUrlOnly ? [url] : buildCandidateUrls(url);
|
|
@@ -2375,7 +2380,7 @@ var HttpClient = class {
|
|
|
2375
2380
|
...options?.headers
|
|
2376
2381
|
});
|
|
2377
2382
|
if (options?.body !== void 0) {
|
|
2378
|
-
headers
|
|
2383
|
+
applyExplicitHeaders(headers, { "Content-Type": "application/json" });
|
|
2379
2384
|
}
|
|
2380
2385
|
let lastError = null;
|
|
2381
2386
|
for (const candidateUrl of buildCandidateUrls(url)) {
|
|
@@ -3392,6 +3397,182 @@ var RUN_EVENT_SEARCH_FALLBACK_KIND_SQL_LITERAL = sqlStringLiteral(
|
|
|
3392
3397
|
RUN_EVENT_SEARCH_FALLBACK_KIND
|
|
3393
3398
|
);
|
|
3394
3399
|
|
|
3400
|
+
// ../play-data-plane/runtime-sheet-orm.ts
|
|
3401
|
+
var RUNTIME_SHEET_CELL_META_COLUMN = {
|
|
3402
|
+
name: "_cell_meta",
|
|
3403
|
+
dataType: "jsonb",
|
|
3404
|
+
nullable: "NO",
|
|
3405
|
+
defaultSql: "'{}'::jsonb"
|
|
3406
|
+
};
|
|
3407
|
+
var RUNTIME_SHEET_COLUMN_CONTRACTS = [
|
|
3408
|
+
{
|
|
3409
|
+
name: "_key",
|
|
3410
|
+
sqlType: "text",
|
|
3411
|
+
dataType: "text",
|
|
3412
|
+
nullable: "NO",
|
|
3413
|
+
defaultSql: null,
|
|
3414
|
+
repairable: false,
|
|
3415
|
+
requiresDefault: false
|
|
3416
|
+
},
|
|
3417
|
+
{
|
|
3418
|
+
name: "_status",
|
|
3419
|
+
sqlType: "text NOT NULL",
|
|
3420
|
+
dataType: "text",
|
|
3421
|
+
nullable: "NO",
|
|
3422
|
+
defaultSql: null,
|
|
3423
|
+
repairable: false,
|
|
3424
|
+
requiresDefault: false
|
|
3425
|
+
},
|
|
3426
|
+
{
|
|
3427
|
+
name: "_run_id",
|
|
3428
|
+
sqlType: "text",
|
|
3429
|
+
dataType: "text",
|
|
3430
|
+
nullable: "YES",
|
|
3431
|
+
defaultSql: null,
|
|
3432
|
+
repairable: true,
|
|
3433
|
+
requiresDefault: false
|
|
3434
|
+
},
|
|
3435
|
+
{
|
|
3436
|
+
name: "_error",
|
|
3437
|
+
sqlType: "text",
|
|
3438
|
+
dataType: "text",
|
|
3439
|
+
nullable: "YES",
|
|
3440
|
+
defaultSql: null,
|
|
3441
|
+
repairable: true,
|
|
3442
|
+
requiresDefault: false
|
|
3443
|
+
},
|
|
3444
|
+
{
|
|
3445
|
+
name: "_stage",
|
|
3446
|
+
sqlType: "text",
|
|
3447
|
+
dataType: "text",
|
|
3448
|
+
nullable: "YES",
|
|
3449
|
+
defaultSql: null,
|
|
3450
|
+
repairable: true,
|
|
3451
|
+
requiresDefault: false
|
|
3452
|
+
},
|
|
3453
|
+
{
|
|
3454
|
+
name: "_provider",
|
|
3455
|
+
sqlType: "text",
|
|
3456
|
+
dataType: "text",
|
|
3457
|
+
nullable: "YES",
|
|
3458
|
+
defaultSql: null,
|
|
3459
|
+
repairable: true,
|
|
3460
|
+
requiresDefault: false
|
|
3461
|
+
},
|
|
3462
|
+
{
|
|
3463
|
+
name: "_input_index",
|
|
3464
|
+
sqlType: "bigint",
|
|
3465
|
+
dataType: "bigint",
|
|
3466
|
+
nullable: "YES",
|
|
3467
|
+
defaultSql: null,
|
|
3468
|
+
repairable: true,
|
|
3469
|
+
requiresDefault: false
|
|
3470
|
+
},
|
|
3471
|
+
{
|
|
3472
|
+
name: "_attempt_id",
|
|
3473
|
+
sqlType: "text",
|
|
3474
|
+
dataType: "text",
|
|
3475
|
+
nullable: "YES",
|
|
3476
|
+
defaultSql: null,
|
|
3477
|
+
repairable: true,
|
|
3478
|
+
requiresDefault: false
|
|
3479
|
+
},
|
|
3480
|
+
{
|
|
3481
|
+
name: "_attempt_owner_run_id",
|
|
3482
|
+
sqlType: "text",
|
|
3483
|
+
dataType: "text",
|
|
3484
|
+
nullable: "YES",
|
|
3485
|
+
defaultSql: null,
|
|
3486
|
+
repairable: true,
|
|
3487
|
+
requiresDefault: false
|
|
3488
|
+
},
|
|
3489
|
+
{
|
|
3490
|
+
name: "_attempt_expires_at",
|
|
3491
|
+
sqlType: "timestamptz",
|
|
3492
|
+
dataType: "timestamp with time zone",
|
|
3493
|
+
nullable: "YES",
|
|
3494
|
+
defaultSql: null,
|
|
3495
|
+
repairable: true,
|
|
3496
|
+
requiresDefault: false
|
|
3497
|
+
},
|
|
3498
|
+
{
|
|
3499
|
+
name: "_attempt_seq",
|
|
3500
|
+
sqlType: "integer",
|
|
3501
|
+
dataType: "integer",
|
|
3502
|
+
nullable: "YES",
|
|
3503
|
+
defaultSql: null,
|
|
3504
|
+
repairable: true,
|
|
3505
|
+
requiresDefault: false
|
|
3506
|
+
},
|
|
3507
|
+
{
|
|
3508
|
+
name: "_write_version",
|
|
3509
|
+
sqlType: "bigint NOT NULL DEFAULT 0",
|
|
3510
|
+
dataType: "bigint",
|
|
3511
|
+
nullable: "NO",
|
|
3512
|
+
defaultSql: "0",
|
|
3513
|
+
repairable: true,
|
|
3514
|
+
requiresDefault: true
|
|
3515
|
+
},
|
|
3516
|
+
{
|
|
3517
|
+
name: "_writer_run_id",
|
|
3518
|
+
sqlType: "text",
|
|
3519
|
+
dataType: "text",
|
|
3520
|
+
nullable: "YES",
|
|
3521
|
+
defaultSql: null,
|
|
3522
|
+
repairable: true,
|
|
3523
|
+
requiresDefault: false
|
|
3524
|
+
},
|
|
3525
|
+
{
|
|
3526
|
+
name: "_created_at",
|
|
3527
|
+
sqlType: "timestamptz NOT NULL DEFAULT now()",
|
|
3528
|
+
dataType: "timestamp with time zone",
|
|
3529
|
+
nullable: "NO",
|
|
3530
|
+
defaultSql: "now()",
|
|
3531
|
+
repairable: true,
|
|
3532
|
+
requiresDefault: true
|
|
3533
|
+
},
|
|
3534
|
+
{
|
|
3535
|
+
name: "_updated_at",
|
|
3536
|
+
sqlType: "timestamptz NOT NULL DEFAULT now()",
|
|
3537
|
+
dataType: "timestamp with time zone",
|
|
3538
|
+
nullable: "NO",
|
|
3539
|
+
defaultSql: "now()",
|
|
3540
|
+
repairable: true,
|
|
3541
|
+
requiresDefault: true
|
|
3542
|
+
},
|
|
3543
|
+
{
|
|
3544
|
+
name: "_version",
|
|
3545
|
+
sqlType: "bigint NOT NULL",
|
|
3546
|
+
dataType: "bigint",
|
|
3547
|
+
nullable: "NO",
|
|
3548
|
+
defaultSql: null,
|
|
3549
|
+
defaultKind: "version_sequence",
|
|
3550
|
+
repairable: true,
|
|
3551
|
+
requiresDefault: true
|
|
3552
|
+
},
|
|
3553
|
+
{
|
|
3554
|
+
...RUNTIME_SHEET_CELL_META_COLUMN,
|
|
3555
|
+
sqlType: `jsonb NOT NULL DEFAULT ${RUNTIME_SHEET_CELL_META_COLUMN.defaultSql}`,
|
|
3556
|
+
repairable: true,
|
|
3557
|
+
requiresDefault: true
|
|
3558
|
+
}
|
|
3559
|
+
];
|
|
3560
|
+
var RUNTIME_SHEET_ATTEMPT_COLUMNS = RUNTIME_SHEET_COLUMN_CONTRACTS.filter(
|
|
3561
|
+
(column) => column.name.startsWith("_attempt_")
|
|
3562
|
+
).map((column) => column.name);
|
|
3563
|
+
var RUNTIME_SHEET_WRITE_VERSION_COLUMNS = RUNTIME_SHEET_COLUMN_CONTRACTS.filter(
|
|
3564
|
+
(column) => column.name === "_write_version" || column.name === "_writer_run_id"
|
|
3565
|
+
).map((column) => column.name);
|
|
3566
|
+
var RUNTIME_SHEET_TIMESTAMP_COLUMNS = RUNTIME_SHEET_COLUMN_CONTRACTS.filter(
|
|
3567
|
+
(column) => column.name === "_created_at" || column.name === "_updated_at"
|
|
3568
|
+
).map((column) => column.name);
|
|
3569
|
+
var RUNTIME_SHEET_SYSTEM_COLUMNS = new Set(
|
|
3570
|
+
RUNTIME_SHEET_COLUMN_CONTRACTS.map((column) => column.name)
|
|
3571
|
+
);
|
|
3572
|
+
var RUNTIME_SHEET_REPAIRABLE_COLUMNS = RUNTIME_SHEET_COLUMN_CONTRACTS.filter(
|
|
3573
|
+
(column) => column.repairable
|
|
3574
|
+
);
|
|
3575
|
+
|
|
3395
3576
|
// ../play-runtime/run-ledger.ts
|
|
3396
3577
|
var TERMINAL_STATUS_BY_EVENT_TYPE = {
|
|
3397
3578
|
[RUN_EVENT_KIND.runCompleted]: "completed",
|
|
@@ -5084,7 +5265,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
5084
5265
|
/**
|
|
5085
5266
|
* Execute a tool and return the standard execution envelope.
|
|
5086
5267
|
*
|
|
5087
|
-
* The `toolResponse.
|
|
5268
|
+
* The `toolResponse.rawV2` field contains the complete parsed and scrubbed tool response.
|
|
5088
5269
|
* `toolResponse.meta` contains tool/provider metadata.
|
|
5089
5270
|
* Top-level fields such as `status`, `job_id`, and `billing` describe the
|
|
5090
5271
|
* Deepline execution envelope.
|
|
@@ -11140,7 +11321,7 @@ var DeeplineContext = class {
|
|
|
11140
11321
|
* const tools = await deepline.tools.list();
|
|
11141
11322
|
* const meta = await deepline.tools.get('dropleads_search_people');
|
|
11142
11323
|
* const companyLookup = await deepline.tools.execute('test_company_search', { domain: 'stripe.com' });
|
|
11143
|
-
* const
|
|
11324
|
+
* const providerResponse = companyLookup.toolResponse.rawV2;
|
|
11144
11325
|
* ```
|
|
11145
11326
|
*/
|
|
11146
11327
|
get tools() {
|