deepline 0.3.308 → 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/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +97 -22
- package/dist/cli/{auth-ZWX4BF5K.mjs → auth-AA5SXOB6.mjs} +4 -4
- package/dist/cli/auth-MXBOMMLC.js +31 -0
- package/dist/cli/{billing-H24FGAKE.js → billing-6DJWMFV7.js} +70 -70
- package/dist/cli/{billing-CLV5QRFQ.mjs → billing-CXUIXODY.mjs} +4 -4
- package/dist/cli/{chunk-YSZSERRZ.mjs → chunk-3EVKBS6J.mjs} +1 -1
- package/dist/cli/{chunk-GONK2N7U.js → chunk-3SZSFTLQ.js} +1 -1
- package/dist/cli/{chunk-BPD7TR27.mjs → chunk-4A6BYN66.mjs} +1 -1
- package/dist/cli/{chunk-ZHHF24O5.js → chunk-4SAHSARB.js} +15 -15
- package/dist/cli/{chunk-UGTYNMRX.js → chunk-52FXVKVC.js} +48 -48
- package/dist/cli/{chunk-IFIGQWHC.js → chunk-5VHI2LFM.js} +6 -6
- package/dist/cli/{chunk-WEZVPZPE.js → chunk-6QWXPOZM.js} +2 -2
- package/dist/cli/{chunk-ASWZTTKT.mjs → chunk-A74BQEUC.mjs} +2 -2
- package/dist/cli/{chunk-XFYVL7EM.mjs → chunk-ATTN5BOA.mjs} +2 -2
- package/dist/cli/{chunk-GBFIAI4L.js → chunk-CO5TGXG2.js} +58 -58
- package/dist/cli/{chunk-ABMGEW3C.mjs → chunk-GUUQJJBS.mjs} +1 -1
- package/dist/cli/{chunk-O7NNH76S.js → chunk-IQYTESPK.js} +6 -6
- package/dist/cli/{chunk-SRZ6XDX3.js → chunk-M2V27CEE.js} +26 -26
- package/dist/cli/{chunk-T3P4NRZU.mjs → chunk-N6P7NBX3.mjs} +1 -1
- package/dist/cli/{chunk-QTCFSRGC.js → chunk-NZCFZXDP.js} +4 -4
- package/dist/cli/{chunk-XSDL3NHZ.mjs → chunk-OTX2Z2Y7.mjs} +3 -3
- package/dist/cli/{chunk-TH3YBIJT.js → chunk-PAJVT47Z.js} +6 -6
- package/dist/cli/{chunk-CXU7ME5X.mjs → chunk-TQ5BV5RT.mjs} +2 -2
- package/dist/cli/{chunk-YEJMVAD3.js → chunk-V5PB43SQ.js} +6 -6
- package/dist/cli/{chunk-HGI6RGHB.mjs → chunk-W3CSORIT.mjs} +1 -1
- package/dist/cli/{chunk-3GIUCJAT.mjs → chunk-YBKMQLH2.mjs} +1 -1
- package/dist/cli/{chunk-JUAVGRD7.mjs → chunk-YV5USGOP.mjs} +4 -4
- package/dist/cli/client-B2MYCJW5.js +20 -0
- package/dist/cli/{client-A5ILG5GT.mjs → client-GXT2WRBH.mjs} +3 -3
- package/dist/cli/{csv-VSSAAXFX.js → csv-FY7CVAUY.js} +12 -12
- package/dist/cli/{csv-NZ7KAYEF.mjs → csv-OLMTSK4E.mjs} +3 -3
- package/dist/cli/{db-YSAJUBLD.mjs → db-HWYKGEOK.mjs} +4 -4
- package/dist/cli/{db-ICLEBSNO.js → db-XHHF7SFB.js} +20 -20
- package/dist/cli/{executions-MUJRAT5R.mjs → executions-5L7YUA7K.mjs} +4 -4
- package/dist/cli/{executions-XCAJB5TF.js → executions-K2IJEKEN.js} +6 -6
- package/dist/cli/{feedback-6C7Y2SCJ.mjs → feedback-BIN2IWO4.mjs} +3 -3
- package/dist/cli/{feedback-DBZMBHZG.js → feedback-FZLBZKF7.js} +6 -6
- package/dist/cli/{git-EAH67ITA.mjs → git-G4ULJPIH.mjs} +4 -4
- package/dist/cli/git-KSXSQSH2.js +23 -0
- package/dist/cli/index.js +73 -73
- package/dist/cli/index.mjs +30 -30
- package/dist/cli/{legacy-noops-EJTOLTVO.js → legacy-noops-TBTYKXMK.js} +7 -7
- package/dist/cli/{legacy-noops-O5INQP6Q.mjs → legacy-noops-YBBLHKUV.mjs} +4 -4
- package/dist/cli/{monitors-5OYO2DPJ.js → monitors-PXBJTE6Q.js} +85 -85
- package/dist/cli/{monitors-SBBBMUFY.mjs → monitors-ZRNDHLTP.mjs} +4 -4
- package/dist/cli/{org-SJRPJG42.js → org-AUPHYG4W.js} +60 -60
- package/dist/cli/{org-Z7LTOL3H.mjs → org-GR7CKJDU.mjs} +4 -4
- package/dist/cli/{play-2JTIEOZM.mjs → play-7C4XXDLJ.mjs} +6 -6
- package/dist/cli/{play-VQJ6ABZ2.js → play-BXX6KDC5.js} +220 -220
- package/dist/cli/{providers-MX4CV2EH.mjs → providers-2ALIWVHI.mjs} +4 -4
- package/dist/cli/{providers-43MR5XOV.js → providers-X3W5I7AI.js} +7 -7
- package/dist/cli/{quickstart-Y4YLKRZ3.mjs → quickstart-HFLMM6CB.mjs} +3 -3
- package/dist/cli/{quickstart-A6W3HEE2.js → quickstart-YU2FOUGV.js} +5 -5
- package/dist/cli/{search-FRKDLJQG.mjs → search-5W6CX5FT.mjs} +5 -5
- package/dist/cli/{search-AMUFSAFP.js → search-LBAPKYPL.js} +6 -6
- package/dist/cli/{secrets-XITHKZW2.js → secrets-4JYV6372.js} +13 -13
- package/dist/cli/{secrets-E4EX7O3J.mjs → secrets-N3LH3EFK.mjs} +4 -4
- package/dist/cli/{sessions-6YXAUJII.mjs → sessions-4TCBDROP.mjs} +4 -4
- package/dist/cli/{sessions-6HJFDIR2.js → sessions-66MKLRBI.js} +5 -5
- package/dist/cli/{settings-LBJSZIET.mjs → settings-33RZDJOH.mjs} +7 -7
- package/dist/cli/{settings-J5NRLCV2.js → settings-GQMXHDZN.js} +74 -74
- package/dist/cli/{setup-75FENNVH.mjs → setup-754356IS.mjs} +6 -6
- package/dist/cli/{setup-2ES4CTO5.js → setup-HU6LC4VR.js} +41 -41
- package/dist/cli/{skills-XGZDUXW6.mjs → skills-FLWPPQMH.mjs} +4 -4
- package/dist/cli/skills-WWO2EIQU.js +28 -0
- package/dist/cli/{tools-2LEKXOGY.mjs → tools-IRLN4KYG.mjs} +5 -5
- package/dist/cli/{tools-ZOQOGDKI.js → tools-N4OW6HZK.js} +50 -50
- package/dist/cli/update-CLSJ7ODP.js +28 -0
- package/dist/cli/{update-SNK3IN3I.mjs → update-TOQOHGVE.mjs} +6 -6
- package/dist/cli/{workflow-G7ZM3MAC.mjs → workflow-DRH7T3P4.mjs} +5 -5
- package/dist/cli/{workflow-W3AYTB3J.js → workflow-WSYT32Y3.js} +15 -15
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +68 -68
- 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-LWNR7TQB.js +0 -31
- package/dist/cli/client-3J76AMVE.js +0 -20
- package/dist/cli/git-2NSE4WIK.js +0 -23
- package/dist/cli/skills-VLTAVA4K.js +0 -28
- package/dist/cli/update-5CZOVYQT.js +0 -28
|
@@ -200,7 +200,7 @@ export const SDK_RELEASE = {
|
|
|
200
200
|
// getters keep their established compatibility behavior.
|
|
201
201
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
202
202
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
203
|
-
version: '0.3.
|
|
203
|
+
version: '0.3.309',
|
|
204
204
|
updateSummary:
|
|
205
205
|
'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.',
|
|
206
206
|
packageCapabilities: {
|
|
@@ -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;
|