deepline 0.3.324 → 0.3.326
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 +23 -25
- package/dist/bundling-sources/sdk/src/compat.ts +11 -6
- package/dist/bundling-sources/sdk/src/db/query.ts +172 -0
- package/dist/bundling-sources/sdk/src/errors.ts +35 -0
- package/dist/bundling-sources/sdk/src/index.ts +13 -0
- package/dist/bundling-sources/sdk/src/play.ts +34 -31
- package/dist/bundling-sources/sdk/src/plays/authoring-graph-path.ts +13 -0
- package/dist/bundling-sources/sdk/src/plays/bundle-play-file.ts +2 -1
- package/dist/bundling-sources/sdk/src/plays/local-play-execution.ts +189 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/tool-calls.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +7 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-actions.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +5 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +84 -10
- package/dist/bundling-sources/shared_libs/plays/artifact-types.ts +9 -0
- package/dist/cli/auth-6STWK6UK.js +31 -0
- package/dist/cli/{auth-6KWNR6AI.mjs → auth-VON5FFUK.mjs} +4 -4
- package/dist/cli/{billing-VQ2NUJLB.mjs → billing-X6JUEFRE.mjs} +4 -4
- package/dist/cli/{billing-CLLWHIAT.js → billing-YI4RZI2O.js} +70 -70
- package/dist/cli/{chunk-NC2ZXG2Y.js → chunk-3NGWGFVL.js} +26 -26
- package/dist/cli/{chunk-5CQ554BM.mjs → chunk-4AB4Y6FF.mjs} +1 -1
- package/dist/cli/{chunk-EXKRHZRG.js → chunk-4LNBSQM4.js} +5928 -5730
- package/dist/cli/{chunk-G4F2AIQ5.js → chunk-5NXHSRRE.js} +6 -6
- package/dist/cli/{chunk-XNL3SEMC.js → chunk-AFNEQ43J.js} +8 -3
- package/dist/cli/{chunk-XSEMQ4II.js → chunk-AGH6YP2T.js} +2 -1
- package/dist/cli/chunk-AID3OYVJ.js +8 -0
- package/dist/cli/{chunk-HHZDWBSQ.mjs → chunk-BQJVMKWL.mjs} +1 -1
- package/dist/cli/{chunk-TJGJTB5T.mjs → chunk-BR7GGTAE.mjs} +24 -1
- package/dist/cli/{chunk-IXYR65PW.js → chunk-BUYZEUY4.js} +1 -1
- package/dist/cli/{chunk-GROXVGGW.js → chunk-CUUHQ3AO.js} +6 -6
- package/dist/cli/{chunk-NIOFMRYW.mjs → chunk-DFDXKOLR.mjs} +98 -113
- package/dist/cli/{chunk-GMO3NBE2.js → chunk-EMZ7Y5SW.js} +70 -67
- package/dist/cli/chunk-GVESPYSY.mjs +234 -0
- package/dist/cli/{chunk-N5E66DP3.js → chunk-GVYKY6T6.js} +344 -254
- package/dist/cli/{chunk-EHSI2DMO.mjs → chunk-IQCCGOQH.mjs} +4 -20
- package/dist/cli/{chunk-76VKBPOC.mjs → chunk-JOA6IKDE.mjs} +7 -2
- package/dist/cli/{chunk-3ZKAKQYC.mjs → chunk-KLWBAQ5A.mjs} +104 -14
- package/dist/cli/{chunk-PAA4FYCF.js → chunk-KZ4PCK4O.js} +29 -45
- package/dist/cli/chunk-LVEDPCLJ.js +234 -0
- package/dist/cli/{chunk-I7RLL7LN.mjs → chunk-M7CPVMDB.mjs} +1 -1
- package/dist/cli/{chunk-2UQUOUAW.js → chunk-MDQZQ3NY.js} +2 -2
- package/dist/cli/{chunk-V5PA6TCT.js → chunk-MKHSZA2X.js} +48 -48
- package/dist/cli/{chunk-LHJKYMTS.mjs → chunk-MOBZS4F3.mjs} +1 -1
- package/dist/cli/chunk-OVDNJAJN.mjs +8 -0
- package/dist/cli/{chunk-QM2Z4FQF.js → chunk-T33W6JUJ.js} +6 -6
- package/dist/cli/{chunk-DO2VA5UP.mjs → chunk-TDSNAC3C.mjs} +2 -2
- package/dist/cli/{chunk-D5YJHGST.js → chunk-TXVOB5J2.js} +29 -6
- package/dist/cli/{chunk-TZZNI2A4.js → chunk-TZQMFWLF.js} +147 -162
- package/dist/cli/{chunk-NQJQ3CLX.mjs → chunk-VGKVLADU.mjs} +3 -3
- package/dist/cli/{chunk-U2RPP53P.mjs → chunk-VKXGOQG5.mjs} +5674 -5476
- package/dist/cli/{chunk-AKM5JVPG.mjs → chunk-W74E5ETE.mjs} +12 -9
- package/dist/cli/{chunk-7PZFGB7L.mjs → chunk-YIY74KUF.mjs} +2 -1
- package/dist/cli/{chunk-5QZFWY7C.mjs → chunk-ZRN6YOF2.mjs} +2 -2
- package/dist/cli/client-TEBW2P24.js +20 -0
- package/dist/cli/{client-VHUKTDAZ.mjs → client-ZMOKUNL2.mjs} +3 -3
- package/dist/cli/{csv-5MZY7HU5.js → csv-HZRKEI7J.js} +12 -12
- package/dist/cli/{csv-7DA4APB6.mjs → csv-IICJHJZ4.mjs} +3 -3
- package/dist/cli/{db-ICG3FUVE.js → db-TM5NZF73.js} +226 -149
- package/dist/cli/{db-7UPW3N5U.mjs → db-X4B7YFNY.mjs} +214 -137
- package/dist/cli/{describe-VDRY2JCE.js → describe-BDBARWZJ.js} +28 -27
- package/dist/cli/{describe-ZAPGM5ND.mjs → describe-GMVS3LFC.mjs} +12 -11
- package/dist/cli/{executions-TK3C2FAQ.mjs → executions-447ZJMN4.mjs} +4 -4
- package/dist/cli/{executions-D5GYCY3A.js → executions-QX25UOQM.js} +6 -6
- package/dist/cli/{feedback-PZAZZUXF.js → feedback-4IXUTBX7.js} +6 -6
- package/dist/cli/{feedback-T4EIP5QR.mjs → feedback-JB7HHIC6.mjs} +3 -3
- package/dist/cli/git-C7C7DTEH.js +23 -0
- package/dist/cli/{git-WBFWIVO5.mjs → git-VID6KGAA.mjs} +4 -4
- package/dist/cli/index.js +105 -87
- package/dist/cli/index.mjs +65 -47
- package/dist/cli/{legacy-noops-LRBJWXRK.js → legacy-noops-3FYTCOZO.js} +7 -7
- package/dist/cli/{legacy-noops-DUCK7OKN.mjs → legacy-noops-SGR3G5WS.mjs} +4 -4
- package/dist/cli/{monitors-WYH5AQIO.mjs → monitors-SH4FOMBM.mjs} +4 -4
- package/dist/cli/{monitors-7S2SL62G.js → monitors-SP52UHS4.js} +85 -85
- package/dist/cli/{org-XCSMLTUW.mjs → org-B32MMIQT.mjs} +4 -4
- package/dist/cli/{org-EQNGGHPV.js → org-UQMX7JOR.js} +60 -60
- package/dist/cli/play-UCIWBN7U.js +153 -0
- package/dist/cli/{play-A5ISFBJM.mjs → play-XTE4LUP7.mjs} +11 -10
- package/dist/cli/{providers-DR2CLD3N.js → providers-JNMJJ2OH.js} +7 -7
- package/dist/cli/{providers-KHTZFQ5I.mjs → providers-RWLN6FUR.mjs} +4 -4
- package/dist/cli/{quickstart-NIRWI6YU.js → quickstart-HK6WZ342.js} +5 -5
- package/dist/cli/{quickstart-KT4LKORA.mjs → quickstart-IDB3Y375.mjs} +3 -3
- package/dist/cli/{search-WCEXPBAT.mjs → search-6D3IFNPT.mjs} +5 -5
- package/dist/cli/search-LUZ2S7DH.js +26 -0
- package/dist/cli/{secrets-QSFEZGVE.js → secrets-JOQB57IE.js} +13 -13
- package/dist/cli/{secrets-TN7DW3QR.mjs → secrets-TZ53CQ3D.mjs} +4 -4
- package/dist/cli/{sessions-WSE5FN4H.mjs → sessions-4MBDC4EK.mjs} +4 -4
- package/dist/cli/{sessions-LJS6W67T.js → sessions-QSAICDXX.js} +5 -5
- package/dist/cli/{settings-FGS3VYJN.js → settings-OTOCW7L7.js} +74 -74
- package/dist/cli/{settings-Z3V53A6J.mjs → settings-RKQFMLDU.mjs} +7 -7
- package/dist/cli/{setup-GMH4VJS3.mjs → setup-2S5TNTUB.mjs} +6 -6
- package/dist/cli/{setup-ZA234HEY.js → setup-AKZUDVYY.js} +41 -41
- package/dist/cli/skills-26LASHZF.js +28 -0
- package/dist/cli/{skills-7G2RZMYH.mjs → skills-AGZXDLSA.mjs} +4 -4
- package/dist/cli/{tools-7EE4BGXO.mjs → tools-7Y6RD6FY.mjs} +8 -7
- package/dist/cli/tools-L5VIJQWX.js +39 -0
- package/dist/cli/{update-O5QEWS7K.mjs → update-M7YGF67I.mjs} +6 -6
- package/dist/cli/update-MNHF6M2F.js +28 -0
- package/dist/cli/{workflow-KE54RUTR.mjs → workflow-CTVE7S7W.mjs} +5 -5
- package/dist/cli/{workflow-M5PAAW3O.js → workflow-NGMY425T.js} +15 -15
- package/dist/{client-BV68GMPo.d.ts → client-DHq8dJ56.d.ts} +45 -11
- package/dist/{client-D9ACjiRC.d.mts → client-wiWPZhnI.d.mts} +45 -11
- package/dist/{compiler-manifest-BXcZ4P4W.d.mts → compiler-manifest-9TkZ_ykI.d.mts} +717 -711
- package/dist/{compiler-manifest-BXcZ4P4W.d.ts → compiler-manifest-9TkZ_ykI.d.ts} +717 -711
- package/dist/index-B-5_Xhud.d.mts +75 -0
- package/dist/index-ykksoEyR.d.ts +75 -0
- package/dist/index.d.mts +52 -13
- package/dist/index.d.ts +52 -13
- package/dist/index.js +92 -28
- package/dist/index.mjs +91 -27
- package/dist/install-integrity.json +91 -84
- package/dist/plays/bundle-play-file.d.mts +7 -75
- package/dist/plays/bundle-play-file.d.ts +7 -75
- package/dist/plays/bundle-play-file.mjs +1 -1
- 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 +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-LKSTC3YV.js +0 -31
- package/dist/cli/chunk-OWJZUE3Y.mjs +0 -103
- package/dist/cli/chunk-SDK3ZA2C.js +0 -103
- package/dist/cli/client-WMSTRUGP.js +0 -20
- package/dist/cli/git-73N6EUZ3.js +0 -23
- package/dist/cli/play-CLC2Z5SO.js +0 -152
- package/dist/cli/search-DM7IQS5F.js +0 -26
- package/dist/cli/skills-6APAQV6W.js +0 -28
- package/dist/cli/tools-EPYUFWPB.js +0 -38
- package/dist/cli/update-FPVX3XJC.js +0 -28
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import {
|
|
3
|
+
import { g as PlayCompilerManifest, ai as ToolResultBilling } from './compiler-manifest-9TkZ_ykI.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<{
|
|
@@ -1433,6 +1433,12 @@ interface CustomerDbColumn {
|
|
|
1433
1433
|
* query and selected customer tables.
|
|
1434
1434
|
*/
|
|
1435
1435
|
interface CustomerDbQueryResult {
|
|
1436
|
+
/** Present for explicitly keyed SQL; recovery keeps the original completion time. */
|
|
1437
|
+
operation?: {
|
|
1438
|
+
operation_key: string;
|
|
1439
|
+
completed_at_ms: number;
|
|
1440
|
+
source: 'executed' | 'operation_recovery';
|
|
1441
|
+
};
|
|
1436
1442
|
/** This query reads the current mutable customer database, not one run snapshot. */
|
|
1437
1443
|
scope?: {
|
|
1438
1444
|
kind: 'database';
|
|
@@ -3393,6 +3399,36 @@ interface UpdateSharePageRequest {
|
|
|
3393
3399
|
seoIndexing?: 'index' | 'noindex';
|
|
3394
3400
|
}
|
|
3395
3401
|
|
|
3402
|
+
type CustomerDbQueryOptions = {
|
|
3403
|
+
sql: string;
|
|
3404
|
+
maxRows?: number;
|
|
3405
|
+
/** Reuse only to recover the original statement and options. */
|
|
3406
|
+
operationKey?: string;
|
|
3407
|
+
};
|
|
3408
|
+
type CustomerDbQueryPlan = {
|
|
3409
|
+
request: {
|
|
3410
|
+
method: 'POST';
|
|
3411
|
+
path: '/api/v2/db/query';
|
|
3412
|
+
body: {
|
|
3413
|
+
sql: string;
|
|
3414
|
+
max_rows?: number;
|
|
3415
|
+
operation_key?: string;
|
|
3416
|
+
};
|
|
3417
|
+
};
|
|
3418
|
+
effects: {
|
|
3419
|
+
cloudMutations: 'statement_dependent';
|
|
3420
|
+
localWrites: 'none';
|
|
3421
|
+
creditSpending: 'none';
|
|
3422
|
+
recovery: 'original_operation_key' | 'unkeyed_unknown_outcome';
|
|
3423
|
+
};
|
|
3424
|
+
transport: {
|
|
3425
|
+
maxRetries: 0;
|
|
3426
|
+
urlFailover: 'disabled';
|
|
3427
|
+
};
|
|
3428
|
+
};
|
|
3429
|
+
/** Validate and describe SQL execution without sending it. */
|
|
3430
|
+
declare function planCustomerDbQuery(input: CustomerDbQueryOptions): CustomerDbQueryPlan;
|
|
3431
|
+
|
|
3396
3432
|
type ExecuteToolRawOptions = {
|
|
3397
3433
|
includeToolMetadata?: boolean;
|
|
3398
3434
|
responseIntent?: 'dataset' | 'raw' | 'row_artifact';
|
|
@@ -4709,11 +4745,10 @@ type StopAllRunsOptions = {
|
|
|
4709
4745
|
};
|
|
4710
4746
|
/** Current mutable customer database namespace exposed as `client.db`. */
|
|
4711
4747
|
type DbNamespace = {
|
|
4712
|
-
/** Run a bounded SQL query
|
|
4713
|
-
query: (input:
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
}) => Promise<CustomerDbQueryResult>;
|
|
4748
|
+
/** Run a bounded SQL query; every request is attempted once. */
|
|
4749
|
+
query: (input: CustomerDbQueryOptions) => Promise<CustomerDbQueryResult>;
|
|
4750
|
+
/** Describe the request, effects and recovery policy without executing SQL. */
|
|
4751
|
+
planQuery: (input: CustomerDbQueryOptions) => CustomerDbQueryPlan;
|
|
4717
4752
|
};
|
|
4718
4753
|
/**
|
|
4719
4754
|
* Whether the current workspace can use Deepline Monitors, from
|
|
@@ -6038,10 +6073,7 @@ declare class DeeplineClient {
|
|
|
6038
6073
|
*
|
|
6039
6074
|
* @deprecated Use {@link DeeplineClient.db} `.query(...)`.
|
|
6040
6075
|
*/
|
|
6041
|
-
queryCustomerDb(input:
|
|
6042
|
-
sql: string;
|
|
6043
|
-
maxRows?: number;
|
|
6044
|
-
}): Promise<CustomerDbQueryResult>;
|
|
6076
|
+
queryCustomerDb(input: CustomerDbQueryOptions): Promise<CustomerDbQueryResult>;
|
|
6045
6077
|
/**
|
|
6046
6078
|
* Re-establish this workspace's tenant storage contract: role/DB connect
|
|
6047
6079
|
* grants plus materialized table grants. Org-admin only. Use when a run fails
|
|
@@ -6114,6 +6146,8 @@ declare class DeeplineClient {
|
|
|
6114
6146
|
artifact: Record<string, unknown>;
|
|
6115
6147
|
compilerManifest?: PlayCompilerManifest;
|
|
6116
6148
|
publish?: boolean;
|
|
6149
|
+
/** Store execution content without changing a draft or live revision. */
|
|
6150
|
+
artifactOnly?: boolean;
|
|
6117
6151
|
ownerType?: 'org' | 'deepline';
|
|
6118
6152
|
scope?: 'org' | 'system';
|
|
6119
6153
|
userId?: string;
|
|
@@ -7192,4 +7226,4 @@ declare class DeeplineClient {
|
|
|
7192
7226
|
}>;
|
|
7193
7227
|
}
|
|
7194
7228
|
|
|
7195
|
-
export { type
|
|
7229
|
+
export { type MonitorFleetGetOptions as $, type CustomerDbQueryPlan as A, type BillingNamespace as B, type ClearPlayHistoryResult as C, type DeeplineClientOptions as D, type ExecuteToolRawOptions as E, type CustomerDbQueryResult as F, DEEPLINE_TOOL_CATEGORIES as G, type DbNamespace as H, type DeeplineToolCategory as I, type IngestionStorageRepairResult as J, type LiveEventEnvelope as K, type LegacyMonitorStatusFilter as L, MONITOR_JOB_PHASES as M, MONITOR_JOB_RECONCILIATION_STATES as N, MONITOR_JOB_STATES as O, type PlayListItem as P, type MonitorBatchNamespace as Q, type ResolvedConfig as R, type StopPlayRunResult as S, type ToolDefinition as T, type MonitorCheckResult as U, type MonitorDefinition as V, type MonitorDeleteResult as W, type MonitorDependents as X, type MonitorDeployResult as Y, type MonitorDetail as Z, type MonitorFleetDeactivateOptions as _, type ToolMetadata as a, type PlayWebhookAuthConfig as a$, type MonitorFleetReactivateOptions as a0, type MonitorFleetResult as a1, type MonitorFleetStatus as a2, type MonitorFleetSyncOptions as a3, type MonitorFleetWaitOptions as a4, type MonitorFleetsNamespace as a5, type MonitorJobDeployOptions as a6, type MonitorJobLogsOptions as a7, type MonitorJobPhase as a8, type MonitorJobReconciliationState as a9, PLAY_BOOTSTRAP_SOURCE_KINDS as aA, PLAY_BOOTSTRAP_STAGE_KINDS as aB, PLAY_BOOTSTRAP_TEMPLATES as aC, type PlayActivityObservation as aD, type PlayActivityState as aE, type PlayActivityTarget as aF, type PlayBootstrapEntityKind as aG, type PlayBootstrapFinderKind as aH, type PlayCostEstimate as aI, type PlayCronTriggerConfig as aJ, type PlayLiveEvent as aK, type PlayPath as aL, type PlayRunActionPackage as aM, type PlayRunActivityProjection as aN, type PlayRunDatasetActions as aO, type PlayRunPackage as aP, type PlayRunResult as aQ, type PlayRunStart as aR, type PlaySettings as aS, type PlaySettingsPatch as aT, type PlaySettingsPathsPage as aU, type PlaySettingsResult as aV, type PlaySheetRow as aW, type PlaySheetRowsResult as aX, type PlayTriggerConfigUpdate as aY, type PlayTriggerConfigUpdateResult as aZ, type PlayTriggerConfigView as a_, type MonitorJobResult as aa, type MonitorJobState as ab, type MonitorJobWaitOptions as ac, type MonitorJobsNamespace as ad, type MonitorListEntry as ae, type MonitorPayload as af, type MonitorReactivateResult as ag, type MonitorSpec as ah, type MonitorState as ai, type MonitorStateFilter as aj, type MonitorUpdateChangeSummary as ak, type MonitorUpdateResult as al, type MonitorsAccessStatus as am, type MonitorsAvailableOptions as an, type MonitorsAvailableResult as ao, type MonitorsListOptions as ap, type MonitorsListResult as aq, type MonitorsNamespace as ar, type NormalizedRunEventQuery as as, PLAY_BOOTSTRAP_COMPANY_FIELDS as at, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY as au, PLAY_BOOTSTRAP_CONTACT_FIELDS as av, PLAY_BOOTSTRAP_FINDER_KINDS as aw, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER as ax, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY as ay, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER as az, type ExecutionRecovery as b, type StopAllCandidate as b$, type PlayWebhookTriggerConfig as b0, type PlaysActivityResponse as b1, type PlaysListOptions as b2, type PlaysListPage as b3, type PublishPlayVersionRequest as b4, type RerunOptions as b5, type RerunPlayRunResult as b6, type RunChildrenPage as b7, type RunEventCountResult as b8, type RunEventField as b9, type RunsEventsListOptions as bA, type RunsEventsListResult as bB, type RunsEventsNamespace as bC, type RunsEventsSummaryOptions as bD, type RunsEventsSummaryResult as bE, type RunsHistoryItem as bF, type RunsHistoryOptions as bG, type RunsHistoryPage as bH, type RunsListOptions as bI, type RunsListPage as bJ, type RunsLogCriteria as bK, type RunsLogsCountResult as bL, type RunsLogsNamespace as bM, type RunsLogsOptions as bN, type RunsLogsQueryOptions as bO, type RunsLogsQueryResult as bP, type RunsLogsResult as bQ, type RunsLogsSummaryOptions as bR, type RunsLogsSummaryResult as bS, type RunsNamespace as bT, type RunsTailOptions as bU, type RunsWatchOptions as bV, type SearchOptions as bW, type SearchResult as bX, type SearchResultItem as bY, type SearchType as bZ, type StartPlayRunRequest as b_, type RunEventFieldDescriptor as ba, type RunEventFieldOperators as bb, type RunEventFieldsResult as bc, type RunEventGroupValue as bd, type RunEventMeasure as be, type RunEventQueryCriteria as bf, type RunEventQueryEvent as bg, RunEventQueryInputError as bh, type RunEventQueryOptions as bi, type RunEventQueryPage as bj, type RunEventQueryRetention as bk, type RunEventScalar as bl, type RunEventSummaryOptions as bm, type RunEventSummaryResult as bn, type RunEventWhere as bo, type RunLifecycleStatus as bp, type RunToolReceiptResult as bq, type RunToolReceiptsResponse as br, type RunsChildrenOptions as bs, type RunsEventPayload as bt, type RunsEventSearchEntry as bu, type RunsEventSearchOptions as bv, type RunsEventSearchResult as bw, type RunsEventsCountResult as bx, type RunsEventsCriteria as by, type RunsEventsFieldsOptions as bz, type ExecutionByKeyResult as c, type StopAllPlayRunsDryRunResult as c0, type StopAllPlayRunsResult as c1, type StopAllPlayRunsStopResult as c2, type StopAllRunsOptions as c3, type ToolExecution as c4, type ToolSearchOptions as c5, type ToolSearchResult as c6, type WorkspaceCreateResult as c7, type WorkspacesNamespace as c8, defineMonitor as c9, fileInputBindingsFromStaticPipeline as cA, getDottedInputValue as cB, isPlayRunPackage as cC, mintStagedPlayFileUploads as cD, normalizePlayRunStart as cE, playRunFileInputBindings as cF, setDottedInputValue as cG, stageFileInputs as cH, stagePlayFiles as cI, stagedFileContentType as cJ, startPlayRun as cK, webStagedFileCodec as cL, formatPlayBootstrapFinderKinds as ca, formatPlayBootstrapFinderKindsForSentence as cb, formatPlayBootstrapTemplates as cc, isPlayBootstrapFinderKind as cd, isPlayBootstrapTemplate as ce, isStopAllPlayRunsDryRunResult as cf, planCustomerDbQuery as cg, CSV_DATA_INPUT_KEY as ch, type FileInputBinding as ci, type LocalFileInput as cj, type MintStagedFileUpload as ck, PLAY_FILES_STAGE_MINT_PATH as cl, PLAY_FILES_STAGE_PATH as cm, PLAY_RUN_START_PATH as cn, PLAY_RUN_START_STREAM_PATH as co, type PlayRunHttp as cp, type ResolvedStartPlayRunRequest as cq, STAGE_LEGACY_MULTIPART_MAX_BYTES as cr, type StagedFileCodec as cs, type StagedFileInputs as ct, type StagedFileUpload as cu, buildNamedPlayRunRequest as cv, buildPlayRunStartBody as cw, createSessionPlayRunHttp as cx, createStagedFileUpload as cy, fileInputBindingsFromPlaySchema as cz, type PlayDetail as d, type PlayRunListItem as e, type PlayRevisionSummary as f, type PublishPlayVersionResult as g, type PlayStatus as h, DeeplineClient as i, type BillingCreditPool as j, type BillingInvoiceEntry as k, type BillingInvoicesResult as l, type BillingPaymentMethodSummary as m, type BillingRecentUsageEntry as n, type BillingSubscriptionCancelResult as o, type BillingSubscriptionStatus as p, type BillingTopUpReceipt as q, type BillingTopUpResult as r, type BillingUsageEvent as s, type BillingUsageOptions as t, type BillingUsageResult as u, type ChildRunSummary as v, type ClearPlayHistoryRequest as w, type CreateNotificationGroupInput as x, type CreateNotificationGroupResult as y, type CustomerDbQueryOptions as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import {
|
|
3
|
+
import { g as PlayCompilerManifest, ai as ToolResultBilling } from './compiler-manifest-9TkZ_ykI.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<{
|
|
@@ -1433,6 +1433,12 @@ interface CustomerDbColumn {
|
|
|
1433
1433
|
* query and selected customer tables.
|
|
1434
1434
|
*/
|
|
1435
1435
|
interface CustomerDbQueryResult {
|
|
1436
|
+
/** Present for explicitly keyed SQL; recovery keeps the original completion time. */
|
|
1437
|
+
operation?: {
|
|
1438
|
+
operation_key: string;
|
|
1439
|
+
completed_at_ms: number;
|
|
1440
|
+
source: 'executed' | 'operation_recovery';
|
|
1441
|
+
};
|
|
1436
1442
|
/** This query reads the current mutable customer database, not one run snapshot. */
|
|
1437
1443
|
scope?: {
|
|
1438
1444
|
kind: 'database';
|
|
@@ -3393,6 +3399,36 @@ interface UpdateSharePageRequest {
|
|
|
3393
3399
|
seoIndexing?: 'index' | 'noindex';
|
|
3394
3400
|
}
|
|
3395
3401
|
|
|
3402
|
+
type CustomerDbQueryOptions = {
|
|
3403
|
+
sql: string;
|
|
3404
|
+
maxRows?: number;
|
|
3405
|
+
/** Reuse only to recover the original statement and options. */
|
|
3406
|
+
operationKey?: string;
|
|
3407
|
+
};
|
|
3408
|
+
type CustomerDbQueryPlan = {
|
|
3409
|
+
request: {
|
|
3410
|
+
method: 'POST';
|
|
3411
|
+
path: '/api/v2/db/query';
|
|
3412
|
+
body: {
|
|
3413
|
+
sql: string;
|
|
3414
|
+
max_rows?: number;
|
|
3415
|
+
operation_key?: string;
|
|
3416
|
+
};
|
|
3417
|
+
};
|
|
3418
|
+
effects: {
|
|
3419
|
+
cloudMutations: 'statement_dependent';
|
|
3420
|
+
localWrites: 'none';
|
|
3421
|
+
creditSpending: 'none';
|
|
3422
|
+
recovery: 'original_operation_key' | 'unkeyed_unknown_outcome';
|
|
3423
|
+
};
|
|
3424
|
+
transport: {
|
|
3425
|
+
maxRetries: 0;
|
|
3426
|
+
urlFailover: 'disabled';
|
|
3427
|
+
};
|
|
3428
|
+
};
|
|
3429
|
+
/** Validate and describe SQL execution without sending it. */
|
|
3430
|
+
declare function planCustomerDbQuery(input: CustomerDbQueryOptions): CustomerDbQueryPlan;
|
|
3431
|
+
|
|
3396
3432
|
type ExecuteToolRawOptions = {
|
|
3397
3433
|
includeToolMetadata?: boolean;
|
|
3398
3434
|
responseIntent?: 'dataset' | 'raw' | 'row_artifact';
|
|
@@ -4709,11 +4745,10 @@ type StopAllRunsOptions = {
|
|
|
4709
4745
|
};
|
|
4710
4746
|
/** Current mutable customer database namespace exposed as `client.db`. */
|
|
4711
4747
|
type DbNamespace = {
|
|
4712
|
-
/** Run a bounded SQL query
|
|
4713
|
-
query: (input:
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
}) => Promise<CustomerDbQueryResult>;
|
|
4748
|
+
/** Run a bounded SQL query; every request is attempted once. */
|
|
4749
|
+
query: (input: CustomerDbQueryOptions) => Promise<CustomerDbQueryResult>;
|
|
4750
|
+
/** Describe the request, effects and recovery policy without executing SQL. */
|
|
4751
|
+
planQuery: (input: CustomerDbQueryOptions) => CustomerDbQueryPlan;
|
|
4717
4752
|
};
|
|
4718
4753
|
/**
|
|
4719
4754
|
* Whether the current workspace can use Deepline Monitors, from
|
|
@@ -6038,10 +6073,7 @@ declare class DeeplineClient {
|
|
|
6038
6073
|
*
|
|
6039
6074
|
* @deprecated Use {@link DeeplineClient.db} `.query(...)`.
|
|
6040
6075
|
*/
|
|
6041
|
-
queryCustomerDb(input:
|
|
6042
|
-
sql: string;
|
|
6043
|
-
maxRows?: number;
|
|
6044
|
-
}): Promise<CustomerDbQueryResult>;
|
|
6076
|
+
queryCustomerDb(input: CustomerDbQueryOptions): Promise<CustomerDbQueryResult>;
|
|
6045
6077
|
/**
|
|
6046
6078
|
* Re-establish this workspace's tenant storage contract: role/DB connect
|
|
6047
6079
|
* grants plus materialized table grants. Org-admin only. Use when a run fails
|
|
@@ -6114,6 +6146,8 @@ declare class DeeplineClient {
|
|
|
6114
6146
|
artifact: Record<string, unknown>;
|
|
6115
6147
|
compilerManifest?: PlayCompilerManifest;
|
|
6116
6148
|
publish?: boolean;
|
|
6149
|
+
/** Store execution content without changing a draft or live revision. */
|
|
6150
|
+
artifactOnly?: boolean;
|
|
6117
6151
|
ownerType?: 'org' | 'deepline';
|
|
6118
6152
|
scope?: 'org' | 'system';
|
|
6119
6153
|
userId?: string;
|
|
@@ -7192,4 +7226,4 @@ declare class DeeplineClient {
|
|
|
7192
7226
|
}>;
|
|
7193
7227
|
}
|
|
7194
7228
|
|
|
7195
|
-
export { type
|
|
7229
|
+
export { type MonitorFleetGetOptions as $, type CustomerDbQueryPlan as A, type BillingNamespace as B, type ClearPlayHistoryResult as C, type DeeplineClientOptions as D, type ExecuteToolRawOptions as E, type CustomerDbQueryResult as F, DEEPLINE_TOOL_CATEGORIES as G, type DbNamespace as H, type DeeplineToolCategory as I, type IngestionStorageRepairResult as J, type LiveEventEnvelope as K, type LegacyMonitorStatusFilter as L, MONITOR_JOB_PHASES as M, MONITOR_JOB_RECONCILIATION_STATES as N, MONITOR_JOB_STATES as O, type PlayListItem as P, type MonitorBatchNamespace as Q, type ResolvedConfig as R, type StopPlayRunResult as S, type ToolDefinition as T, type MonitorCheckResult as U, type MonitorDefinition as V, type MonitorDeleteResult as W, type MonitorDependents as X, type MonitorDeployResult as Y, type MonitorDetail as Z, type MonitorFleetDeactivateOptions as _, type ToolMetadata as a, type PlayWebhookAuthConfig as a$, type MonitorFleetReactivateOptions as a0, type MonitorFleetResult as a1, type MonitorFleetStatus as a2, type MonitorFleetSyncOptions as a3, type MonitorFleetWaitOptions as a4, type MonitorFleetsNamespace as a5, type MonitorJobDeployOptions as a6, type MonitorJobLogsOptions as a7, type MonitorJobPhase as a8, type MonitorJobReconciliationState as a9, PLAY_BOOTSTRAP_SOURCE_KINDS as aA, PLAY_BOOTSTRAP_STAGE_KINDS as aB, PLAY_BOOTSTRAP_TEMPLATES as aC, type PlayActivityObservation as aD, type PlayActivityState as aE, type PlayActivityTarget as aF, type PlayBootstrapEntityKind as aG, type PlayBootstrapFinderKind as aH, type PlayCostEstimate as aI, type PlayCronTriggerConfig as aJ, type PlayLiveEvent as aK, type PlayPath as aL, type PlayRunActionPackage as aM, type PlayRunActivityProjection as aN, type PlayRunDatasetActions as aO, type PlayRunPackage as aP, type PlayRunResult as aQ, type PlayRunStart as aR, type PlaySettings as aS, type PlaySettingsPatch as aT, type PlaySettingsPathsPage as aU, type PlaySettingsResult as aV, type PlaySheetRow as aW, type PlaySheetRowsResult as aX, type PlayTriggerConfigUpdate as aY, type PlayTriggerConfigUpdateResult as aZ, type PlayTriggerConfigView as a_, type MonitorJobResult as aa, type MonitorJobState as ab, type MonitorJobWaitOptions as ac, type MonitorJobsNamespace as ad, type MonitorListEntry as ae, type MonitorPayload as af, type MonitorReactivateResult as ag, type MonitorSpec as ah, type MonitorState as ai, type MonitorStateFilter as aj, type MonitorUpdateChangeSummary as ak, type MonitorUpdateResult as al, type MonitorsAccessStatus as am, type MonitorsAvailableOptions as an, type MonitorsAvailableResult as ao, type MonitorsListOptions as ap, type MonitorsListResult as aq, type MonitorsNamespace as ar, type NormalizedRunEventQuery as as, PLAY_BOOTSTRAP_COMPANY_FIELDS as at, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY as au, PLAY_BOOTSTRAP_CONTACT_FIELDS as av, PLAY_BOOTSTRAP_FINDER_KINDS as aw, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER as ax, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY as ay, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER as az, type ExecutionRecovery as b, type StopAllCandidate as b$, type PlayWebhookTriggerConfig as b0, type PlaysActivityResponse as b1, type PlaysListOptions as b2, type PlaysListPage as b3, type PublishPlayVersionRequest as b4, type RerunOptions as b5, type RerunPlayRunResult as b6, type RunChildrenPage as b7, type RunEventCountResult as b8, type RunEventField as b9, type RunsEventsListOptions as bA, type RunsEventsListResult as bB, type RunsEventsNamespace as bC, type RunsEventsSummaryOptions as bD, type RunsEventsSummaryResult as bE, type RunsHistoryItem as bF, type RunsHistoryOptions as bG, type RunsHistoryPage as bH, type RunsListOptions as bI, type RunsListPage as bJ, type RunsLogCriteria as bK, type RunsLogsCountResult as bL, type RunsLogsNamespace as bM, type RunsLogsOptions as bN, type RunsLogsQueryOptions as bO, type RunsLogsQueryResult as bP, type RunsLogsResult as bQ, type RunsLogsSummaryOptions as bR, type RunsLogsSummaryResult as bS, type RunsNamespace as bT, type RunsTailOptions as bU, type RunsWatchOptions as bV, type SearchOptions as bW, type SearchResult as bX, type SearchResultItem as bY, type SearchType as bZ, type StartPlayRunRequest as b_, type RunEventFieldDescriptor as ba, type RunEventFieldOperators as bb, type RunEventFieldsResult as bc, type RunEventGroupValue as bd, type RunEventMeasure as be, type RunEventQueryCriteria as bf, type RunEventQueryEvent as bg, RunEventQueryInputError as bh, type RunEventQueryOptions as bi, type RunEventQueryPage as bj, type RunEventQueryRetention as bk, type RunEventScalar as bl, type RunEventSummaryOptions as bm, type RunEventSummaryResult as bn, type RunEventWhere as bo, type RunLifecycleStatus as bp, type RunToolReceiptResult as bq, type RunToolReceiptsResponse as br, type RunsChildrenOptions as bs, type RunsEventPayload as bt, type RunsEventSearchEntry as bu, type RunsEventSearchOptions as bv, type RunsEventSearchResult as bw, type RunsEventsCountResult as bx, type RunsEventsCriteria as by, type RunsEventsFieldsOptions as bz, type ExecutionByKeyResult as c, type StopAllPlayRunsDryRunResult as c0, type StopAllPlayRunsResult as c1, type StopAllPlayRunsStopResult as c2, type StopAllRunsOptions as c3, type ToolExecution as c4, type ToolSearchOptions as c5, type ToolSearchResult as c6, type WorkspaceCreateResult as c7, type WorkspacesNamespace as c8, defineMonitor as c9, fileInputBindingsFromStaticPipeline as cA, getDottedInputValue as cB, isPlayRunPackage as cC, mintStagedPlayFileUploads as cD, normalizePlayRunStart as cE, playRunFileInputBindings as cF, setDottedInputValue as cG, stageFileInputs as cH, stagePlayFiles as cI, stagedFileContentType as cJ, startPlayRun as cK, webStagedFileCodec as cL, formatPlayBootstrapFinderKinds as ca, formatPlayBootstrapFinderKindsForSentence as cb, formatPlayBootstrapTemplates as cc, isPlayBootstrapFinderKind as cd, isPlayBootstrapTemplate as ce, isStopAllPlayRunsDryRunResult as cf, planCustomerDbQuery as cg, CSV_DATA_INPUT_KEY as ch, type FileInputBinding as ci, type LocalFileInput as cj, type MintStagedFileUpload as ck, PLAY_FILES_STAGE_MINT_PATH as cl, PLAY_FILES_STAGE_PATH as cm, PLAY_RUN_START_PATH as cn, PLAY_RUN_START_STREAM_PATH as co, type PlayRunHttp as cp, type ResolvedStartPlayRunRequest as cq, STAGE_LEGACY_MULTIPART_MAX_BYTES as cr, type StagedFileCodec as cs, type StagedFileInputs as ct, type StagedFileUpload as cu, buildNamedPlayRunRequest as cv, buildPlayRunStartBody as cw, createSessionPlayRunHttp as cx, createStagedFileUpload as cy, fileInputBindingsFromPlaySchema as cz, type PlayDetail as d, type PlayRunListItem as e, type PlayRevisionSummary as f, type PublishPlayVersionResult as g, type PlayStatus as h, DeeplineClient as i, type BillingCreditPool as j, type BillingInvoiceEntry as k, type BillingInvoicesResult as l, type BillingPaymentMethodSummary as m, type BillingRecentUsageEntry as n, type BillingSubscriptionCancelResult as o, type BillingSubscriptionStatus as p, type BillingTopUpReceipt as q, type BillingTopUpResult as r, type BillingUsageEvent as s, type BillingUsageOptions as t, type BillingUsageResult as u, type ChildRunSummary as v, type ClearPlayHistoryRequest as w, type CreateNotificationGroupInput as x, type CreateNotificationGroupResult as y, type CustomerDbQueryOptions as z };
|