deepline 0.1.98 → 0.1.99
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/cli/index.js +3 -2
- package/dist/cli/index.mjs +3 -2
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/dist/repo/sdk/src/play.ts +12 -4
- package/dist/repo/sdk/src/release.ts +3 -2
- package/dist/repo/shared_libs/plays/dataset.ts +11 -0
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -231,10 +231,11 @@ var import_node_path2 = require("path");
|
|
|
231
231
|
var SDK_RELEASE = {
|
|
232
232
|
// 0.1.94 is claimed by PR #1527 — this watch-render fix ships as 0.1.95.
|
|
233
233
|
// 0.1.98 ships the duplicate-browser-tab fix (default-browser detection).
|
|
234
|
-
|
|
234
|
+
// 0.1.99 ships prebuilt job-change source-column preservation and validation fixes.
|
|
235
|
+
version: "0.1.99",
|
|
235
236
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
236
237
|
supportPolicy: {
|
|
237
|
-
latest: "0.1.
|
|
238
|
+
latest: "0.1.99",
|
|
238
239
|
minimumSupported: "0.1.53",
|
|
239
240
|
deprecatedBelow: "0.1.53"
|
|
240
241
|
}
|
package/dist/cli/index.mjs
CHANGED
|
@@ -208,10 +208,11 @@ import { join as join2 } from "path";
|
|
|
208
208
|
var SDK_RELEASE = {
|
|
209
209
|
// 0.1.94 is claimed by PR #1527 — this watch-render fix ships as 0.1.95.
|
|
210
210
|
// 0.1.98 ships the duplicate-browser-tab fix (default-browser detection).
|
|
211
|
-
|
|
211
|
+
// 0.1.99 ships prebuilt job-change source-column preservation and validation fixes.
|
|
212
|
+
version: "0.1.99",
|
|
212
213
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
213
214
|
supportPolicy: {
|
|
214
|
-
latest: "0.1.
|
|
215
|
+
latest: "0.1.99",
|
|
215
216
|
minimumSupported: "0.1.53",
|
|
216
217
|
deprecatedBelow: "0.1.53"
|
|
217
218
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -2614,6 +2614,7 @@ type PlayDatasetWorkProgressSummary = {
|
|
|
2614
2614
|
};
|
|
2615
2615
|
};
|
|
2616
2616
|
type PlayDatasetInput<T> = ReadonlyArray<T> | Iterable<T> | AsyncIterable<T> | PlayDataset<T>;
|
|
2617
|
+
type PlayDatasetRow<TInput> = TInput extends PlayDataset<infer Row> ? Row : TInput extends ReadonlyArray<infer Row> ? Row : TInput extends Iterable<infer Row> ? Row : TInput extends AsyncIterable<infer Row> ? Row : never;
|
|
2617
2618
|
type PlayDatasetTransformOptions = {
|
|
2618
2619
|
key?: string;
|
|
2619
2620
|
sourceLabel?: string | null;
|
|
@@ -3116,11 +3117,11 @@ interface DeeplinePlayRuntimeContext {
|
|
|
3116
3117
|
*
|
|
3117
3118
|
* @sdkReference runtime 060 ctx.dataset(key, items)
|
|
3118
3119
|
*/
|
|
3119
|
-
dataset<
|
|
3120
|
+
dataset<TSource extends PlayDatasetInput<object>>(key: string, items: TSource): DatasetBuilder<PlayDatasetRow<TSource> & object, PlayDatasetRow<TSource> & object>;
|
|
3120
3121
|
/**
|
|
3121
3122
|
* @deprecated `ctx.map(...)` was replaced by `ctx.dataset(...)`.
|
|
3122
3123
|
*/
|
|
3123
|
-
map<
|
|
3124
|
+
map<TSource extends PlayDatasetInput<object>>(key: string, items: TSource): never;
|
|
3124
3125
|
/** Tool execution namespace. */
|
|
3125
3126
|
tools: {
|
|
3126
3127
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -2614,6 +2614,7 @@ type PlayDatasetWorkProgressSummary = {
|
|
|
2614
2614
|
};
|
|
2615
2615
|
};
|
|
2616
2616
|
type PlayDatasetInput<T> = ReadonlyArray<T> | Iterable<T> | AsyncIterable<T> | PlayDataset<T>;
|
|
2617
|
+
type PlayDatasetRow<TInput> = TInput extends PlayDataset<infer Row> ? Row : TInput extends ReadonlyArray<infer Row> ? Row : TInput extends Iterable<infer Row> ? Row : TInput extends AsyncIterable<infer Row> ? Row : never;
|
|
2617
2618
|
type PlayDatasetTransformOptions = {
|
|
2618
2619
|
key?: string;
|
|
2619
2620
|
sourceLabel?: string | null;
|
|
@@ -3116,11 +3117,11 @@ interface DeeplinePlayRuntimeContext {
|
|
|
3116
3117
|
*
|
|
3117
3118
|
* @sdkReference runtime 060 ctx.dataset(key, items)
|
|
3118
3119
|
*/
|
|
3119
|
-
dataset<
|
|
3120
|
+
dataset<TSource extends PlayDatasetInput<object>>(key: string, items: TSource): DatasetBuilder<PlayDatasetRow<TSource> & object, PlayDatasetRow<TSource> & object>;
|
|
3120
3121
|
/**
|
|
3121
3122
|
* @deprecated `ctx.map(...)` was replaced by `ctx.dataset(...)`.
|
|
3122
3123
|
*/
|
|
3123
|
-
map<
|
|
3124
|
+
map<TSource extends PlayDatasetInput<object>>(key: string, items: TSource): never;
|
|
3124
3125
|
/** Tool execution namespace. */
|
|
3125
3126
|
tools: {
|
|
3126
3127
|
/**
|
package/dist/index.js
CHANGED
|
@@ -259,10 +259,11 @@ var import_node_path2 = require("path");
|
|
|
259
259
|
var SDK_RELEASE = {
|
|
260
260
|
// 0.1.94 is claimed by PR #1527 — this watch-render fix ships as 0.1.95.
|
|
261
261
|
// 0.1.98 ships the duplicate-browser-tab fix (default-browser detection).
|
|
262
|
-
|
|
262
|
+
// 0.1.99 ships prebuilt job-change source-column preservation and validation fixes.
|
|
263
|
+
version: "0.1.99",
|
|
263
264
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
264
265
|
supportPolicy: {
|
|
265
|
-
latest: "0.1.
|
|
266
|
+
latest: "0.1.99",
|
|
266
267
|
minimumSupported: "0.1.53",
|
|
267
268
|
deprecatedBelow: "0.1.53"
|
|
268
269
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -181,10 +181,11 @@ import { join as join2 } from "path";
|
|
|
181
181
|
var SDK_RELEASE = {
|
|
182
182
|
// 0.1.94 is claimed by PR #1527 — this watch-render fix ships as 0.1.95.
|
|
183
183
|
// 0.1.98 ships the duplicate-browser-tab fix (default-browser detection).
|
|
184
|
-
|
|
184
|
+
// 0.1.99 ships prebuilt job-change source-column preservation and validation fixes.
|
|
185
|
+
version: "0.1.99",
|
|
185
186
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
186
187
|
supportPolicy: {
|
|
187
|
-
latest: "0.1.
|
|
188
|
+
latest: "0.1.99",
|
|
188
189
|
minimumSupported: "0.1.53",
|
|
189
190
|
deprecatedBelow: "0.1.53"
|
|
190
191
|
}
|
|
@@ -80,6 +80,7 @@ export {
|
|
|
80
80
|
import type {
|
|
81
81
|
PlayDataset,
|
|
82
82
|
PlayDatasetInput,
|
|
83
|
+
PlayDatasetRow,
|
|
83
84
|
} from '../../shared_libs/plays/dataset.js';
|
|
84
85
|
import type {
|
|
85
86
|
ToolExecuteResult,
|
|
@@ -636,14 +637,20 @@ export interface DeeplinePlayRuntimeContext {
|
|
|
636
637
|
*
|
|
637
638
|
* @sdkReference runtime 060 ctx.dataset(key, items)
|
|
638
639
|
*/
|
|
639
|
-
dataset<
|
|
640
|
+
dataset<TSource extends PlayDatasetInput<object>>(
|
|
640
641
|
key: string,
|
|
641
|
-
items:
|
|
642
|
-
): DatasetBuilder<
|
|
642
|
+
items: TSource,
|
|
643
|
+
): DatasetBuilder<
|
|
644
|
+
PlayDatasetRow<TSource> & object,
|
|
645
|
+
PlayDatasetRow<TSource> & object
|
|
646
|
+
>;
|
|
643
647
|
/**
|
|
644
648
|
* @deprecated `ctx.map(...)` was replaced by `ctx.dataset(...)`.
|
|
645
649
|
*/
|
|
646
|
-
map<
|
|
650
|
+
map<TSource extends PlayDatasetInput<object>>(
|
|
651
|
+
key: string,
|
|
652
|
+
items: TSource,
|
|
653
|
+
): never;
|
|
647
654
|
|
|
648
655
|
/** Tool execution namespace. */
|
|
649
656
|
tools: {
|
|
@@ -1008,6 +1015,7 @@ export type PlayReferenceLike = {
|
|
|
1008
1015
|
export type {
|
|
1009
1016
|
PlayDataset,
|
|
1010
1017
|
PlayDatasetInput,
|
|
1018
|
+
PlayDatasetRow,
|
|
1011
1019
|
} from '../../shared_libs/plays/dataset.js';
|
|
1012
1020
|
|
|
1013
1021
|
export type PlayReturnObject = Record<string, unknown> & {
|
|
@@ -52,10 +52,11 @@ export type SdkRelease = {
|
|
|
52
52
|
export const SDK_RELEASE = {
|
|
53
53
|
// 0.1.94 is claimed by PR #1527 — this watch-render fix ships as 0.1.95.
|
|
54
54
|
// 0.1.98 ships the duplicate-browser-tab fix (default-browser detection).
|
|
55
|
-
|
|
55
|
+
// 0.1.99 ships prebuilt job-change source-column preservation and validation fixes.
|
|
56
|
+
version: '0.1.99',
|
|
56
57
|
apiContract: '2026-06-dataset-column-cell-stale-hard-cutover',
|
|
57
58
|
supportPolicy: {
|
|
58
|
-
latest: '0.1.
|
|
59
|
+
latest: '0.1.99',
|
|
59
60
|
minimumSupported: '0.1.53',
|
|
60
61
|
deprecatedBelow: '0.1.53',
|
|
61
62
|
},
|
|
@@ -55,6 +55,17 @@ export type PlayDatasetInput<T> =
|
|
|
55
55
|
| AsyncIterable<T>
|
|
56
56
|
| PlayDataset<T>;
|
|
57
57
|
|
|
58
|
+
export type PlayDatasetRow<TInput> =
|
|
59
|
+
TInput extends PlayDataset<infer Row>
|
|
60
|
+
? Row
|
|
61
|
+
: TInput extends ReadonlyArray<infer Row>
|
|
62
|
+
? Row
|
|
63
|
+
: TInput extends Iterable<infer Row>
|
|
64
|
+
? Row
|
|
65
|
+
: TInput extends AsyncIterable<infer Row>
|
|
66
|
+
? Row
|
|
67
|
+
: never;
|
|
68
|
+
|
|
58
69
|
export type PlayDatasetTransformOptions = {
|
|
59
70
|
key?: string;
|
|
60
71
|
sourceLabel?: string | null;
|