deepline 0.3.307 → 0.3.309
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/README.md +2 -1
- package/dist/bundling-sources/sdk/src/client.ts +270 -11
- package/dist/bundling-sources/sdk/src/compat.ts +27 -9
- package/dist/bundling-sources/sdk/src/index.ts +35 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/batch-runtime.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/batching-types.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +46 -16
- package/dist/bundling-sources/shared_libs/play-runtime/fullenrich-batching.ts +24 -1
- package/dist/bundling-sources/shared_libs/play-runtime/run-event-query.ts +872 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +595 -0
- package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +97 -22
- package/dist/cli/{auth-AJPTFFC7.mjs → auth-AA5SXOB6.mjs} +4 -4
- package/dist/cli/auth-MXBOMMLC.js +31 -0
- package/dist/cli/{billing-SPBWUEOS.js → billing-6DJWMFV7.js} +70 -70
- package/dist/cli/{billing-LPDYJLIL.mjs → billing-CXUIXODY.mjs} +4 -4
- package/dist/cli/{chunk-QACDLYNO.mjs → chunk-3EVKBS6J.mjs} +1 -1
- package/dist/cli/{chunk-MZQP7CIL.js → chunk-3SZSFTLQ.js} +1 -1
- package/dist/cli/{chunk-G4SSYZND.mjs → chunk-4A6BYN66.mjs} +1 -1
- package/dist/cli/{chunk-IVXD2KA2.js → chunk-4SAHSARB.js} +15 -15
- package/dist/cli/{chunk-DF3XJ2V2.js → chunk-52FXVKVC.js} +48 -48
- package/dist/cli/{chunk-K2CQ2RBJ.js → chunk-5VHI2LFM.js} +6 -6
- package/dist/cli/{chunk-76MFV3AC.js → chunk-6QWXPOZM.js} +2 -2
- package/dist/cli/{chunk-RXYYANYP.mjs → chunk-A74BQEUC.mjs} +13 -5
- package/dist/cli/{chunk-ILOCS73R.mjs → chunk-ATTN5BOA.mjs} +2 -2
- package/dist/cli/{chunk-HWCB5MHF.js → chunk-CO5TGXG2.js} +68 -60
- package/dist/cli/{chunk-D55NIPGU.mjs → chunk-GUUQJJBS.mjs} +1 -1
- package/dist/cli/{chunk-GUIQWUCB.js → chunk-IQYTESPK.js} +6 -6
- package/dist/cli/{chunk-ZIF6JOOI.js → chunk-M2V27CEE.js} +26 -26
- package/dist/cli/{chunk-MPVXXDWH.mjs → chunk-N6P7NBX3.mjs} +1 -1
- package/dist/cli/{chunk-AKE6ZFIJ.js → chunk-NZCFZXDP.js} +4 -4
- package/dist/cli/{chunk-BDFVIOLY.mjs → chunk-OTX2Z2Y7.mjs} +3 -3
- package/dist/cli/{chunk-KCHBE2J3.js → chunk-PAJVT47Z.js} +852 -204
- package/dist/cli/{chunk-2IKIG333.js → chunk-QJBJZVG6.js} +15 -4
- package/dist/cli/{chunk-ZGICKTW7.mjs → chunk-TQ5BV5RT.mjs} +2 -2
- package/dist/cli/{chunk-JNHXSZPB.js → chunk-V5PB43SQ.js} +6 -6
- package/dist/cli/{chunk-TLTKAJ6S.mjs → chunk-W3CSORIT.mjs} +653 -5
- package/dist/cli/{chunk-UABLQKTZ.mjs → chunk-WXLOW623.mjs} +11 -0
- package/dist/cli/{chunk-O4OESDIN.mjs → chunk-YBKMQLH2.mjs} +1 -1
- package/dist/cli/{chunk-7ONALPWY.mjs → chunk-YV5USGOP.mjs} +4 -4
- package/dist/cli/client-B2MYCJW5.js +20 -0
- package/dist/cli/{client-7ZL4ROII.mjs → client-GXT2WRBH.mjs} +3 -3
- package/dist/cli/{csv-JUDFG7JV.js → csv-FY7CVAUY.js} +12 -12
- package/dist/cli/{csv-Y3LYCTGD.mjs → csv-OLMTSK4E.mjs} +3 -3
- package/dist/cli/{db-GCOJD2BD.mjs → db-HWYKGEOK.mjs} +4 -4
- package/dist/cli/{db-5IXGEXNT.js → db-XHHF7SFB.js} +20 -20
- package/dist/cli/{executions-FIICTMSY.mjs → executions-5L7YUA7K.mjs} +4 -4
- package/dist/cli/{executions-LIEQKFT7.js → executions-K2IJEKEN.js} +6 -6
- package/dist/cli/{feedback-3OVAA3C7.mjs → feedback-BIN2IWO4.mjs} +3 -3
- package/dist/cli/{feedback-FAADYNAR.js → feedback-FZLBZKF7.js} +6 -6
- package/dist/cli/{git-ESMYCYJO.mjs → git-G4ULJPIH.mjs} +4 -4
- package/dist/cli/git-KSXSQSH2.js +23 -0
- package/dist/cli/index.js +79 -77
- package/dist/cli/index.mjs +33 -31
- package/dist/cli/{legacy-noops-PKI3RFZW.js → legacy-noops-TBTYKXMK.js} +7 -7
- package/dist/cli/{legacy-noops-KP5CPZRK.mjs → legacy-noops-YBBLHKUV.mjs} +4 -4
- package/dist/cli/{monitors-KCFBLAFZ.js → monitors-PXBJTE6Q.js} +85 -85
- package/dist/cli/{monitors-A6KGGSBO.mjs → monitors-ZRNDHLTP.mjs} +4 -4
- package/dist/cli/{org-WI6DEXZQ.js → org-AUPHYG4W.js} +60 -60
- package/dist/cli/{org-DHI24UOK.mjs → org-GR7CKJDU.mjs} +4 -4
- package/dist/cli/{play-2YXLQD24.mjs → play-7C4XXDLJ.mjs} +472 -55
- package/dist/cli/{play-4EUUN76H.js → play-BXX6KDC5.js} +961 -544
- package/dist/cli/{providers-2WZ6KHH2.mjs → providers-2ALIWVHI.mjs} +4 -4
- package/dist/cli/{providers-DWS3XIM6.js → providers-X3W5I7AI.js} +7 -7
- package/dist/cli/{quickstart-ZFZVG6UO.mjs → quickstart-HFLMM6CB.mjs} +3 -3
- package/dist/cli/{quickstart-TDTDKM6F.js → quickstart-YU2FOUGV.js} +5 -5
- package/dist/cli/{search-BBE2ZMCI.mjs → search-5W6CX5FT.mjs} +5 -5
- package/dist/cli/{search-GMPXRQF4.js → search-LBAPKYPL.js} +6 -6
- package/dist/cli/{secrets-SMBX4IE6.js → secrets-4JYV6372.js} +13 -13
- package/dist/cli/{secrets-JEJL3KIM.mjs → secrets-N3LH3EFK.mjs} +4 -4
- package/dist/cli/{sessions-AVU353UT.mjs → sessions-4TCBDROP.mjs} +4 -4
- package/dist/cli/{sessions-S6AWG747.js → sessions-66MKLRBI.js} +5 -5
- package/dist/cli/{settings-GY5CYRLF.mjs → settings-33RZDJOH.mjs} +7 -7
- package/dist/cli/{settings-KBW4ROHC.js → settings-GQMXHDZN.js} +74 -74
- package/dist/cli/{setup-4CW3XGGX.mjs → setup-754356IS.mjs} +6 -6
- package/dist/cli/{setup-WSVIDSEV.js → setup-HU6LC4VR.js} +41 -41
- package/dist/cli/{skills-U3NXFSFK.mjs → skills-FLWPPQMH.mjs} +4 -4
- package/dist/cli/skills-WWO2EIQU.js +28 -0
- package/dist/cli/{tools-XU6KLJZT.mjs → tools-IRLN4KYG.mjs} +58 -42
- package/dist/cli/{tools-KZKELW25.js → tools-N4OW6HZK.js} +111 -95
- package/dist/cli/update-CLSJ7ODP.js +28 -0
- package/dist/cli/{update-RZLH46DR.mjs → update-TOQOHGVE.mjs} +6 -6
- package/dist/cli/{workflow-ZQUKQI35.mjs → workflow-DRH7T3P4.mjs} +5 -5
- package/dist/cli/{workflow-GDOGDGTZ.js → workflow-WSYT32Y3.js} +15 -15
- package/dist/{client-Dj8MAkDc.d.mts → client-DpnkGBn-.d.mts} +324 -11
- package/dist/{client-DsrFGXJf.d.ts → client-ypdBvf1o.d.ts} +324 -11
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -6
- package/dist/index.mjs +5 -3
- package/dist/install-integrity.json +73 -72
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- 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-TUQTQIH4.js +0 -31
- package/dist/cli/client-S3MIFPM2.js +0 -20
- package/dist/cli/git-GG6LWE2R.js +0 -23
- package/dist/cli/skills-6AU3RRAD.js +0 -28
- package/dist/cli/update-LVXXQF4A.js +0 -28
|
@@ -7,6 +7,8 @@ import {
|
|
|
7
7
|
deriveStaticPipelineEntryInputFields,
|
|
8
8
|
flattenStaticPipeline,
|
|
9
9
|
getTopLevelPipelineSubsteps,
|
|
10
|
+
inputFieldFromStaticCsvArg,
|
|
11
|
+
type PlayStaticColumnProducer,
|
|
10
12
|
type PlayStaticPipeline,
|
|
11
13
|
type PlayStaticSubstep,
|
|
12
14
|
} from '../static-pipeline';
|
|
@@ -473,17 +475,49 @@ function publicSubstepBase(
|
|
|
473
475
|
);
|
|
474
476
|
}
|
|
475
477
|
|
|
478
|
+
function projectPublicColumnProducer(
|
|
479
|
+
producer: PlayStaticColumnProducer,
|
|
480
|
+
depth: number,
|
|
481
|
+
maxDepth: number,
|
|
482
|
+
): PlayStaticColumnProducer {
|
|
483
|
+
return {
|
|
484
|
+
id: producer.id,
|
|
485
|
+
kind: producer.kind,
|
|
486
|
+
field: producer.field,
|
|
487
|
+
...(producer.toolId ? { toolId: producer.toolId } : {}),
|
|
488
|
+
...(producer.playId ? { playId: producer.playId } : {}),
|
|
489
|
+
...(producer.conditional !== undefined
|
|
490
|
+
? { conditional: producer.conditional }
|
|
491
|
+
: {}),
|
|
492
|
+
substep: projectPublicSubstep(
|
|
493
|
+
producer.substep,
|
|
494
|
+
maxDepth === Infinity ? depth + 1 : MAX_PUBLIC_SUBSTEP_DEPTH,
|
|
495
|
+
maxDepth,
|
|
496
|
+
),
|
|
497
|
+
...(maxDepth === Infinity && producer.steps
|
|
498
|
+
? {
|
|
499
|
+
steps: producer.steps.map((step) =>
|
|
500
|
+
projectPublicColumnProducer(step, depth + 1, maxDepth),
|
|
501
|
+
),
|
|
502
|
+
}
|
|
503
|
+
: {}),
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
|
|
476
507
|
function projectPublicPipeline(
|
|
477
508
|
pipeline: PlayStaticPipeline,
|
|
478
509
|
depth: number,
|
|
510
|
+
maxDepth = MAX_PUBLIC_SUBSTEP_DEPTH,
|
|
479
511
|
): PlayStaticPipeline {
|
|
512
|
+
const safePipeline = buildAppGraphPipeline(pipeline)!;
|
|
513
|
+
if (maxDepth === Infinity) return safePipeline;
|
|
480
514
|
return {
|
|
481
|
-
...
|
|
482
|
-
stages: (
|
|
483
|
-
projectPublicSubstep(substep, depth),
|
|
515
|
+
...safePipeline,
|
|
516
|
+
stages: (safePipeline.stages ?? []).map((substep) =>
|
|
517
|
+
projectPublicSubstep(substep, depth, maxDepth),
|
|
484
518
|
),
|
|
485
|
-
substeps:
|
|
486
|
-
projectPublicSubstep(substep, depth),
|
|
519
|
+
substeps: safePipeline.substeps.map((substep) =>
|
|
520
|
+
projectPublicSubstep(substep, depth, maxDepth),
|
|
487
521
|
),
|
|
488
522
|
};
|
|
489
523
|
}
|
|
@@ -491,12 +525,21 @@ function projectPublicPipeline(
|
|
|
491
525
|
function projectPublicSubstep(
|
|
492
526
|
substep: PlayStaticSubstep,
|
|
493
527
|
depth: number,
|
|
528
|
+
maxDepth = MAX_PUBLIC_SUBSTEP_DEPTH,
|
|
494
529
|
): PlayStaticSubstep {
|
|
495
530
|
const base = publicSubstepBase(substep);
|
|
496
|
-
const projectChildren = depth <
|
|
531
|
+
const projectChildren = depth < maxDepth;
|
|
497
532
|
const child = (value: PlayStaticSubstep) =>
|
|
498
|
-
projectPublicSubstep(value, depth + 1);
|
|
533
|
+
projectPublicSubstep(value, depth + 1, maxDepth);
|
|
499
534
|
|
|
535
|
+
if (substep.type === 'csv' && maxDepth === Infinity) {
|
|
536
|
+
return {
|
|
537
|
+
...base,
|
|
538
|
+
type: 'csv',
|
|
539
|
+
field: substep.field,
|
|
540
|
+
...(substep.path ? { path: `input.${substep.field}` } : {}),
|
|
541
|
+
} as PlayStaticSubstep;
|
|
542
|
+
}
|
|
500
543
|
if (substep.type === 'dataset') {
|
|
501
544
|
return {
|
|
502
545
|
...base,
|
|
@@ -506,20 +549,9 @@ function projectPublicSubstep(
|
|
|
506
549
|
id: column.id,
|
|
507
550
|
source: column.source,
|
|
508
551
|
...(column.sqlName ? { sqlName: column.sqlName } : {}),
|
|
509
|
-
producers: column.producers.map((producer) =>
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
field: producer.field,
|
|
513
|
-
...(producer.toolId ? { toolId: producer.toolId } : {}),
|
|
514
|
-
...(producer.playId ? { playId: producer.playId } : {}),
|
|
515
|
-
...(producer.conditional !== undefined
|
|
516
|
-
? { conditional: producer.conditional }
|
|
517
|
-
: {}),
|
|
518
|
-
substep: projectPublicSubstep(
|
|
519
|
-
producer.substep,
|
|
520
|
-
MAX_PUBLIC_SUBSTEP_DEPTH,
|
|
521
|
-
),
|
|
522
|
-
})),
|
|
552
|
+
producers: column.producers.map((producer) =>
|
|
553
|
+
projectPublicColumnProducer(producer, depth, maxDepth),
|
|
554
|
+
),
|
|
523
555
|
})),
|
|
524
556
|
steps: projectChildren ? (substep.steps ?? []).map(child) : [],
|
|
525
557
|
} as PlayStaticSubstep;
|
|
@@ -571,7 +603,7 @@ function projectPublicSubstep(
|
|
|
571
603
|
field: substep.field,
|
|
572
604
|
pipeline:
|
|
573
605
|
projectChildren && substep.pipeline
|
|
574
|
-
? projectPublicPipeline(substep.pipeline, depth + 1)
|
|
606
|
+
? projectPublicPipeline(substep.pipeline, depth + 1, maxDepth)
|
|
575
607
|
: null,
|
|
576
608
|
} as PlayStaticSubstep;
|
|
577
609
|
}
|
|
@@ -581,6 +613,10 @@ function projectPublicSubstep(
|
|
|
581
613
|
type: 'play_launch',
|
|
582
614
|
playId: substep.playId,
|
|
583
615
|
field: substep.field,
|
|
616
|
+
pipeline:
|
|
617
|
+
projectChildren && substep.pipeline
|
|
618
|
+
? projectPublicPipeline(substep.pipeline, depth + 1, maxDepth)
|
|
619
|
+
: null,
|
|
584
620
|
} as PlayStaticSubstep;
|
|
585
621
|
}
|
|
586
622
|
return base as PlayStaticSubstep;
|
|
@@ -601,6 +637,45 @@ export function buildPublicSubsteps(
|
|
|
601
637
|
return topLevel.map((substep) => projectPublicSubstep(substep, 0));
|
|
602
638
|
}
|
|
603
639
|
|
|
640
|
+
/** Full structural graph for an authenticated, sandboxed app view. Unlike the
|
|
641
|
+
* share package, this retains nested branches while excluding source locations
|
|
642
|
+
* and raw parameter text. The dashboard and MCP App then use one renderer. */
|
|
643
|
+
export function buildAppGraphPipeline(
|
|
644
|
+
staticPipeline: unknown,
|
|
645
|
+
): PlayStaticPipeline | null {
|
|
646
|
+
const pipeline = asPipeline(staticPipeline);
|
|
647
|
+
if (!pipeline) return null;
|
|
648
|
+
const docflow = buildPublicDocflow(pipeline);
|
|
649
|
+
const csvInput = inputFieldFromStaticCsvArg(pipeline.csvArg);
|
|
650
|
+
return {
|
|
651
|
+
...(docflow ? { docflow } : {}),
|
|
652
|
+
...(pipeline.tableNamespace
|
|
653
|
+
? { tableNamespace: pipeline.tableNamespace }
|
|
654
|
+
: {}),
|
|
655
|
+
...(pipeline.inputFields ? { inputFields: [...pipeline.inputFields] } : {}),
|
|
656
|
+
...(pipeline.csvArg ? { csvArg: `input.${csvInput ?? 'csv'}` } : {}),
|
|
657
|
+
...(pipeline.csvDescription
|
|
658
|
+
? { csvDescription: pipeline.csvDescription }
|
|
659
|
+
: {}),
|
|
660
|
+
...(pipeline.datasetDescription
|
|
661
|
+
? { datasetDescription: pipeline.datasetDescription }
|
|
662
|
+
: {}),
|
|
663
|
+
fields: [...pipeline.fields],
|
|
664
|
+
...(pipeline.returnFields
|
|
665
|
+
? { returnFields: pipeline.returnFields.map((field) => ({ ...field })) }
|
|
666
|
+
: {}),
|
|
667
|
+
stages: (pipeline.stages ?? []).map((substep) =>
|
|
668
|
+
projectPublicSubstep(substep, 0, Infinity),
|
|
669
|
+
),
|
|
670
|
+
substeps: pipeline.substeps.map((substep) =>
|
|
671
|
+
projectPublicSubstep(substep, 0, Infinity),
|
|
672
|
+
),
|
|
673
|
+
...(pipeline.sheetContract
|
|
674
|
+
? { sheetContract: pipeline.sheetContract }
|
|
675
|
+
: {}),
|
|
676
|
+
};
|
|
677
|
+
}
|
|
678
|
+
|
|
604
679
|
/** Distinct provider names across the full (flattened) pipeline. */
|
|
605
680
|
export function extractProviderNames(staticPipeline: unknown): string[] {
|
|
606
681
|
const pipeline = asPipeline(staticPipeline);
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
registerAuthCommands,
|
|
10
10
|
reportSetupCompleted,
|
|
11
11
|
resolvePendingAuthClaimForResume
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-TQ5BV5RT.mjs";
|
|
13
|
+
import "./chunk-GUUQJJBS.mjs";
|
|
14
|
+
import "./chunk-N6P7NBX3.mjs";
|
|
15
15
|
import "./chunk-DLIRSHV6.mjs";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-3EVKBS6J.mjs";
|
|
17
17
|
import "./chunk-NXGCO4JB.mjs";
|
|
18
18
|
import "./chunk-WZYKRD7T.mjs";
|
|
19
19
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunk52FXVKVCjs = require('./chunk-52FXVKVC.js');
|
|
13
|
+
require('./chunk-V5PB43SQ.js');
|
|
14
|
+
require('./chunk-NZCFZXDP.js');
|
|
15
|
+
require('./chunk-XNYIZMNQ.js');
|
|
16
|
+
require('./chunk-3SZSFTLQ.js');
|
|
17
|
+
require('./chunk-7P5AA3SN.js');
|
|
18
|
+
require('./chunk-OG64RBAC.js');
|
|
19
|
+
require('./chunk-COGTRVWW.js');
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
exports.EXIT_WORKSPACE_MISMATCH = _chunk52FXVKVCjs.EXIT_WORKSPACE_MISMATCH; exports.clearPendingClaim = _chunk52FXVKVCjs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunk52FXVKVCjs.clearSatisfiedPendingClaim; exports.handleRegister = _chunk52FXVKVCjs.handleRegister; exports.handleStatus = _chunk52FXVKVCjs.handleStatus; exports.handleWait = _chunk52FXVKVCjs.handleWait; exports.readPendingAuthClaim = _chunk52FXVKVCjs.readPendingAuthClaim; exports.registerAuthCommands = _chunk52FXVKVCjs.registerAuthCommands; exports.reportSetupCompleted = _chunk52FXVKVCjs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunk52FXVKVCjs.resolvePendingAuthClaimForResume;
|