deepline 0.3.147 → 0.3.148
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/public-read-model.ts +3 -0
- package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +39 -0
- package/dist/bundling-sources/shared_libs/plays/share/types.ts +3 -0
- package/dist/cli/index.js +1 -1
- package/dist/cli/index.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- 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
|
@@ -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.148',
|
|
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: {
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
buildInputSchemaShape,
|
|
10
10
|
buildOutputSchemaShape,
|
|
11
11
|
buildPublicSubsteps,
|
|
12
|
+
buildPublicDocflow,
|
|
12
13
|
buildStaticPipelineSummary,
|
|
13
14
|
} from './static-pipeline-summary';
|
|
14
15
|
// This Module is bundled by Convex through its workspace dependency graph.
|
|
@@ -50,6 +51,7 @@ export function buildPublishedPlayPagePackage(
|
|
|
50
51
|
const seoIndexing: PlayShareSeoIndexing = isPublishedVersion
|
|
51
52
|
? input.pageSeoIndexing
|
|
52
53
|
: 'noindex';
|
|
54
|
+
const docflow = buildPublicDocflow(input.revision.staticPipeline);
|
|
53
55
|
|
|
54
56
|
return {
|
|
55
57
|
page: {
|
|
@@ -80,6 +82,7 @@ export function buildPublishedPlayPagePackage(
|
|
|
80
82
|
inputSchema: buildInputSchemaShape(input.revision.staticPipeline),
|
|
81
83
|
outputSchema: buildOutputSchemaShape(input.revision.staticPipeline),
|
|
82
84
|
},
|
|
85
|
+
...(docflow ? { docflow } : {}),
|
|
83
86
|
copy: input.copy,
|
|
84
87
|
publicMetrics: input.metrics,
|
|
85
88
|
};
|
|
@@ -16,6 +16,7 @@ import type {
|
|
|
16
16
|
PlaySharePreviewStep,
|
|
17
17
|
PlayShareSchemaShape,
|
|
18
18
|
PlayShareStaticPipelineSummary,
|
|
19
|
+
PublishedPlayPagePackage,
|
|
19
20
|
} from './types';
|
|
20
21
|
|
|
21
22
|
const MAX_PREVIEW_NODES = 12;
|
|
@@ -31,6 +32,44 @@ function asPipeline(staticPipeline: unknown): PlayStaticPipeline | null {
|
|
|
31
32
|
return staticPipeline as PlayStaticPipeline;
|
|
32
33
|
}
|
|
33
34
|
|
|
35
|
+
/** Public diagram allowlist: never spread source text or renderer directives. */
|
|
36
|
+
export function buildPublicDocflow(
|
|
37
|
+
staticPipeline: unknown,
|
|
38
|
+
): PublishedPlayPagePackage['docflow'] {
|
|
39
|
+
const docflow = asPipeline(staticPipeline)?.docflow;
|
|
40
|
+
if (!docflow) return undefined;
|
|
41
|
+
|
|
42
|
+
return {
|
|
43
|
+
direction: docflow.direction,
|
|
44
|
+
nodes: docflow.nodes.map(({ id, label, kind, sketch }) => ({
|
|
45
|
+
id,
|
|
46
|
+
label,
|
|
47
|
+
kind,
|
|
48
|
+
...(sketch ? { sketch } : {}),
|
|
49
|
+
})),
|
|
50
|
+
edges: docflow.edges.map(({ from, to, label, arm }) => ({
|
|
51
|
+
from,
|
|
52
|
+
to,
|
|
53
|
+
...(label !== undefined ? { label } : {}),
|
|
54
|
+
...(arm !== undefined ? { arm } : {}),
|
|
55
|
+
})),
|
|
56
|
+
bindings: docflow.bindings.map(({ nodeId, line, kind }) => ({
|
|
57
|
+
nodeId,
|
|
58
|
+
line,
|
|
59
|
+
...(kind !== undefined ? { kind } : {}),
|
|
60
|
+
})),
|
|
61
|
+
...(docflow.subgraphs
|
|
62
|
+
? {
|
|
63
|
+
subgraphs: docflow.subgraphs.map(({ id, label, memberIds }) => ({
|
|
64
|
+
id,
|
|
65
|
+
label,
|
|
66
|
+
memberIds: [...memberIds],
|
|
67
|
+
})),
|
|
68
|
+
}
|
|
69
|
+
: {}),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
34
73
|
/**
|
|
35
74
|
* Derive a friendly provider name from a tool id like `apollo_people_search`.
|
|
36
75
|
* Provider NAMES are safe to expose; provider SPEND is not (and never touches
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
// This Module is bundled by Convex through its workspace dependency graph.
|
|
11
11
|
import type { PlayStaticSubstep } from '../static-pipeline';
|
|
12
|
+
import type { PlayDocflow } from '../docflow';
|
|
12
13
|
|
|
13
14
|
/** SEO indexing posture for a share page or a specific version URL. */
|
|
14
15
|
export type PlayShareSeoIndexing = 'index' | 'noindex';
|
|
@@ -124,6 +125,8 @@ export type PublishedPlayPagePackage = {
|
|
|
124
125
|
inputSchema: PlayShareSchemaShape;
|
|
125
126
|
outputSchema: PlayShareSchemaShape;
|
|
126
127
|
};
|
|
128
|
+
/** Authored diagram structure, without raw Mermaid source or directives. */
|
|
129
|
+
docflow?: Omit<PlayDocflow, 'mermaidSource' | 'ignoredDirectives'>;
|
|
127
130
|
copy: PlayShareGeneratedCopy;
|
|
128
131
|
publicMetrics: PublishedPlayPageMetrics;
|
|
129
132
|
};
|
package/dist/cli/index.js
CHANGED
|
@@ -3068,7 +3068,7 @@ var SDK_RELEASE = {
|
|
|
3068
3068
|
// getters keep their established compatibility behavior.
|
|
3069
3069
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3070
3070
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3071
|
-
version: "0.3.
|
|
3071
|
+
version: "0.3.148",
|
|
3072
3072
|
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.",
|
|
3073
3073
|
packageCapabilities: {
|
|
3074
3074
|
updatePreferences: 1
|
package/dist/cli/index.mjs
CHANGED
|
@@ -3063,7 +3063,7 @@ var SDK_RELEASE = {
|
|
|
3063
3063
|
// getters keep their established compatibility behavior.
|
|
3064
3064
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3065
3065
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3066
|
-
version: "0.3.
|
|
3066
|
+
version: "0.3.148",
|
|
3067
3067
|
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.",
|
|
3068
3068
|
packageCapabilities: {
|
|
3069
3069
|
updatePreferences: 1
|
package/dist/index.js
CHANGED
|
@@ -864,7 +864,7 @@ var SDK_RELEASE = {
|
|
|
864
864
|
// getters keep their established compatibility behavior.
|
|
865
865
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
866
866
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
867
|
-
version: "0.3.
|
|
867
|
+
version: "0.3.148",
|
|
868
868
|
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.",
|
|
869
869
|
packageCapabilities: {
|
|
870
870
|
updatePreferences: 1
|
package/dist/index.mjs
CHANGED
|
@@ -768,7 +768,7 @@ var SDK_RELEASE = {
|
|
|
768
768
|
// getters keep their established compatibility behavior.
|
|
769
769
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
770
770
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
771
|
-
version: "0.3.
|
|
771
|
+
version: "0.3.148",
|
|
772
772
|
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.",
|
|
773
773
|
packageCapabilities: {
|
|
774
774
|
updatePreferences: 1
|
package/dist/release.d.mts
CHANGED
|
@@ -149,7 +149,7 @@ type SdkRelease = {
|
|
|
149
149
|
supportPolicy: SdkSupportPolicy;
|
|
150
150
|
};
|
|
151
151
|
declare const SDK_RELEASE: {
|
|
152
|
-
readonly version: "0.3.
|
|
152
|
+
readonly version: "0.3.148";
|
|
153
153
|
readonly 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.";
|
|
154
154
|
readonly packageCapabilities: {
|
|
155
155
|
readonly updatePreferences: 1;
|
package/dist/release.d.ts
CHANGED
|
@@ -149,7 +149,7 @@ type SdkRelease = {
|
|
|
149
149
|
supportPolicy: SdkSupportPolicy;
|
|
150
150
|
};
|
|
151
151
|
declare const SDK_RELEASE: {
|
|
152
|
-
readonly version: "0.3.
|
|
152
|
+
readonly version: "0.3.148";
|
|
153
153
|
readonly 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.";
|
|
154
154
|
readonly packageCapabilities: {
|
|
155
155
|
readonly updatePreferences: 1;
|
package/dist/release.js
CHANGED
|
@@ -74,7 +74,7 @@ var SDK_RELEASE = {
|
|
|
74
74
|
// getters keep their established compatibility behavior.
|
|
75
75
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
76
76
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
77
|
-
version: "0.3.
|
|
77
|
+
version: "0.3.148",
|
|
78
78
|
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.",
|
|
79
79
|
packageCapabilities: {
|
|
80
80
|
updatePreferences: 1
|
package/dist/release.mjs
CHANGED
|
@@ -48,7 +48,7 @@ var SDK_RELEASE = {
|
|
|
48
48
|
// getters keep their established compatibility behavior.
|
|
49
49
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
50
50
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
51
|
-
version: "0.3.
|
|
51
|
+
version: "0.3.148",
|
|
52
52
|
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.",
|
|
53
53
|
packageCapabilities: {
|
|
54
54
|
updatePreferences: 1
|