deepline 0.1.103 → 0.1.104
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 +6 -5
- package/dist/cli/index.mjs +6 -5
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/dist/repo/sdk/src/release.ts +3 -2
- package/dist/repo/shared_libs/play-runtime/csv-rename.ts +26 -0
- package/dist/repo/shared_libs/play-runtime/providers.ts +2 -2
- package/dist/repo/shared_libs/play-runtime/scheduler-backend.ts +2 -0
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -238,10 +238,11 @@ var SDK_RELEASE = {
|
|
|
238
238
|
// preflight (existence, data rows, quotes, duplicate headers), HTML error
|
|
239
239
|
// scrubbing, and word-boundary watch truncation.
|
|
240
240
|
// 0.1.103 ships the refined SDK CLI command surface.
|
|
241
|
-
|
|
241
|
+
// 0.1.104 ships postgres_fast suspension/billing parity and runtime worker hardening.
|
|
242
|
+
version: "0.1.104",
|
|
242
243
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
243
244
|
supportPolicy: {
|
|
244
|
-
latest: "0.1.
|
|
245
|
+
latest: "0.1.104",
|
|
245
246
|
minimumSupported: "0.1.53",
|
|
246
247
|
deprecatedBelow: "0.1.53"
|
|
247
248
|
}
|
|
@@ -6922,7 +6923,7 @@ var PLAY_RUNTIME_PROVIDERS = {
|
|
|
6922
6923
|
runner: PLAY_RUNTIME_BACKENDS.daytona,
|
|
6923
6924
|
dedup: PLAY_DEDUP_BACKENDS.durableObject,
|
|
6924
6925
|
artifactKind: PLAY_ARTIFACT_KINDS.cjsNode20,
|
|
6925
|
-
label: "
|
|
6926
|
+
label: "BETA: Postgres Scheduler + warm sandbox runner + DO dedup"
|
|
6926
6927
|
},
|
|
6927
6928
|
postgres_fast_sandbox: {
|
|
6928
6929
|
id: PLAY_RUNTIME_PROVIDER_IDS.postgresFastSandbox,
|
|
@@ -6930,7 +6931,7 @@ var PLAY_RUNTIME_PROVIDERS = {
|
|
|
6930
6931
|
runner: PLAY_RUNTIME_BACKENDS.daytona,
|
|
6931
6932
|
dedup: PLAY_DEDUP_BACKENDS.durableObject,
|
|
6932
6933
|
artifactKind: PLAY_ARTIFACT_KINDS.cjsNode20,
|
|
6933
|
-
label: "
|
|
6934
|
+
label: "BETA: Postgres Scheduler + warm sandbox runner + DO dedup"
|
|
6934
6935
|
},
|
|
6935
6936
|
postgres_fast_workers: {
|
|
6936
6937
|
id: PLAY_RUNTIME_PROVIDER_IDS.postgresFastWorkers,
|
|
@@ -12160,7 +12161,7 @@ function writeStartedPlayRun(input2) {
|
|
|
12160
12161
|
);
|
|
12161
12162
|
}
|
|
12162
12163
|
function parsePlayRunOptions(args) {
|
|
12163
|
-
const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--no-open] [--json] [--full] [--<input> value]\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotency, tool call id, and ctx.dataset guidance.";
|
|
12164
|
+
const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--no-open] [--json] [--full] [--<input> value]\n --profile defaults to workers_edge; postgres_fast is BETA (opt-in per run, never the default).\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotency, tool call id, and ctx.dataset guidance.";
|
|
12164
12165
|
let filePath = null;
|
|
12165
12166
|
let playName = null;
|
|
12166
12167
|
let input2 = null;
|
package/dist/cli/index.mjs
CHANGED
|
@@ -215,10 +215,11 @@ var SDK_RELEASE = {
|
|
|
215
215
|
// preflight (existence, data rows, quotes, duplicate headers), HTML error
|
|
216
216
|
// scrubbing, and word-boundary watch truncation.
|
|
217
217
|
// 0.1.103 ships the refined SDK CLI command surface.
|
|
218
|
-
|
|
218
|
+
// 0.1.104 ships postgres_fast suspension/billing parity and runtime worker hardening.
|
|
219
|
+
version: "0.1.104",
|
|
219
220
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
220
221
|
supportPolicy: {
|
|
221
|
-
latest: "0.1.
|
|
222
|
+
latest: "0.1.104",
|
|
222
223
|
minimumSupported: "0.1.53",
|
|
223
224
|
deprecatedBelow: "0.1.53"
|
|
224
225
|
}
|
|
@@ -6932,7 +6933,7 @@ var PLAY_RUNTIME_PROVIDERS = {
|
|
|
6932
6933
|
runner: PLAY_RUNTIME_BACKENDS.daytona,
|
|
6933
6934
|
dedup: PLAY_DEDUP_BACKENDS.durableObject,
|
|
6934
6935
|
artifactKind: PLAY_ARTIFACT_KINDS.cjsNode20,
|
|
6935
|
-
label: "
|
|
6936
|
+
label: "BETA: Postgres Scheduler + warm sandbox runner + DO dedup"
|
|
6936
6937
|
},
|
|
6937
6938
|
postgres_fast_sandbox: {
|
|
6938
6939
|
id: PLAY_RUNTIME_PROVIDER_IDS.postgresFastSandbox,
|
|
@@ -6940,7 +6941,7 @@ var PLAY_RUNTIME_PROVIDERS = {
|
|
|
6940
6941
|
runner: PLAY_RUNTIME_BACKENDS.daytona,
|
|
6941
6942
|
dedup: PLAY_DEDUP_BACKENDS.durableObject,
|
|
6942
6943
|
artifactKind: PLAY_ARTIFACT_KINDS.cjsNode20,
|
|
6943
|
-
label: "
|
|
6944
|
+
label: "BETA: Postgres Scheduler + warm sandbox runner + DO dedup"
|
|
6944
6945
|
},
|
|
6945
6946
|
postgres_fast_workers: {
|
|
6946
6947
|
id: PLAY_RUNTIME_PROVIDER_IDS.postgresFastWorkers,
|
|
@@ -12177,7 +12178,7 @@ function writeStartedPlayRun(input2) {
|
|
|
12177
12178
|
);
|
|
12178
12179
|
}
|
|
12179
12180
|
function parsePlayRunOptions(args) {
|
|
12180
|
-
const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--no-open] [--json] [--full] [--<input> value]\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotency, tool call id, and ctx.dataset guidance.";
|
|
12181
|
+
const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--no-open] [--json] [--full] [--<input> value]\n --profile defaults to workers_edge; postgres_fast is BETA (opt-in per run, never the default).\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotency, tool call id, and ctx.dataset guidance.";
|
|
12181
12182
|
let filePath = null;
|
|
12182
12183
|
let playName = null;
|
|
12183
12184
|
let input2 = null;
|
package/dist/index.js
CHANGED
|
@@ -266,10 +266,11 @@ var SDK_RELEASE = {
|
|
|
266
266
|
// preflight (existence, data rows, quotes, duplicate headers), HTML error
|
|
267
267
|
// scrubbing, and word-boundary watch truncation.
|
|
268
268
|
// 0.1.103 ships the refined SDK CLI command surface.
|
|
269
|
-
|
|
269
|
+
// 0.1.104 ships postgres_fast suspension/billing parity and runtime worker hardening.
|
|
270
|
+
version: "0.1.104",
|
|
270
271
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
271
272
|
supportPolicy: {
|
|
272
|
-
latest: "0.1.
|
|
273
|
+
latest: "0.1.104",
|
|
273
274
|
minimumSupported: "0.1.53",
|
|
274
275
|
deprecatedBelow: "0.1.53"
|
|
275
276
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -188,10 +188,11 @@ var SDK_RELEASE = {
|
|
|
188
188
|
// preflight (existence, data rows, quotes, duplicate headers), HTML error
|
|
189
189
|
// scrubbing, and word-boundary watch truncation.
|
|
190
190
|
// 0.1.103 ships the refined SDK CLI command surface.
|
|
191
|
-
|
|
191
|
+
// 0.1.104 ships postgres_fast suspension/billing parity and runtime worker hardening.
|
|
192
|
+
version: "0.1.104",
|
|
192
193
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
193
194
|
supportPolicy: {
|
|
194
|
-
latest: "0.1.
|
|
195
|
+
latest: "0.1.104",
|
|
195
196
|
minimumSupported: "0.1.53",
|
|
196
197
|
deprecatedBelow: "0.1.53"
|
|
197
198
|
}
|
|
@@ -59,10 +59,11 @@ export const SDK_RELEASE = {
|
|
|
59
59
|
// preflight (existence, data rows, quotes, duplicate headers), HTML error
|
|
60
60
|
// scrubbing, and word-boundary watch truncation.
|
|
61
61
|
// 0.1.103 ships the refined SDK CLI command surface.
|
|
62
|
-
|
|
62
|
+
// 0.1.104 ships postgres_fast suspension/billing parity and runtime worker hardening.
|
|
63
|
+
version: '0.1.104',
|
|
63
64
|
apiContract: '2026-06-dataset-column-cell-stale-hard-cutover',
|
|
64
65
|
supportPolicy: {
|
|
65
|
-
latest: '0.1.
|
|
66
|
+
latest: '0.1.104',
|
|
66
67
|
minimumSupported: '0.1.53',
|
|
67
68
|
deprecatedBelow: '0.1.53',
|
|
68
69
|
},
|
|
@@ -176,6 +176,32 @@ export function cloneCsvAliasedRow<T extends Record<string, unknown>>(
|
|
|
176
176
|
return cloned;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
+
/**
|
|
180
|
+
* Plain enumerable clone for durable serialization (sheet writes, JSON
|
|
181
|
+
* payloads). Projected alias fields are normally non-enumerable so they stay
|
|
182
|
+
* out of spreads and Object.keys — but a JSON round-trip would silently drop
|
|
183
|
+
* them. This materializes every projected alias as a visible field and drops
|
|
184
|
+
* the internal `__deepline*` metadata keys.
|
|
185
|
+
*/
|
|
186
|
+
export function toSerializableCsvAliasedRow(
|
|
187
|
+
row: Record<string, unknown>,
|
|
188
|
+
): Record<string, unknown> {
|
|
189
|
+
const out: Record<string, unknown> = {};
|
|
190
|
+
for (const [field, value] of Object.entries(row)) {
|
|
191
|
+
if (field.startsWith('__deepline')) continue;
|
|
192
|
+
out[field] = value;
|
|
193
|
+
}
|
|
194
|
+
const projectedFields = getCsvProjectedFields(row);
|
|
195
|
+
if (projectedFields) {
|
|
196
|
+
const serializedValues = getCsvProjectedValues(row);
|
|
197
|
+
for (const field of projectedFields) {
|
|
198
|
+
if (Object.prototype.hasOwnProperty.call(out, field)) continue;
|
|
199
|
+
out[field] = row[field] ?? serializedValues?.[field];
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
return out;
|
|
203
|
+
}
|
|
204
|
+
|
|
179
205
|
export function stripCsvProjectedFields<T extends Record<string, unknown>>(
|
|
180
206
|
row: T,
|
|
181
207
|
): T {
|
|
@@ -48,7 +48,7 @@ export const PLAY_RUNTIME_PROVIDERS: Record<
|
|
|
48
48
|
runner: PLAY_RUNTIME_BACKENDS.daytona,
|
|
49
49
|
dedup: PLAY_DEDUP_BACKENDS.durableObject,
|
|
50
50
|
artifactKind: PLAY_ARTIFACT_KINDS.cjsNode20,
|
|
51
|
-
label: '
|
|
51
|
+
label: 'BETA: Postgres Scheduler + warm sandbox runner + DO dedup',
|
|
52
52
|
},
|
|
53
53
|
postgres_fast_sandbox: {
|
|
54
54
|
id: PLAY_RUNTIME_PROVIDER_IDS.postgresFastSandbox,
|
|
@@ -56,7 +56,7 @@ export const PLAY_RUNTIME_PROVIDERS: Record<
|
|
|
56
56
|
runner: PLAY_RUNTIME_BACKENDS.daytona,
|
|
57
57
|
dedup: PLAY_DEDUP_BACKENDS.durableObject,
|
|
58
58
|
artifactKind: PLAY_ARTIFACT_KINDS.cjsNode20,
|
|
59
|
-
label: '
|
|
59
|
+
label: 'BETA: Postgres Scheduler + warm sandbox runner + DO dedup',
|
|
60
60
|
},
|
|
61
61
|
postgres_fast_workers: {
|
|
62
62
|
id: PLAY_RUNTIME_PROVIDER_IDS.postgresFastWorkers,
|
|
@@ -133,6 +133,8 @@ export type PlaySchedulerSubmitInput = {
|
|
|
133
133
|
coordinatorUrl?: string | null;
|
|
134
134
|
/** Request-scoped coordinator auth token for non-production preview/dev runs. */
|
|
135
135
|
coordinatorInternalToken?: string | null;
|
|
136
|
+
/** Request-scoped Vercel Deployment Protection bypass for preview runtime callbacks. */
|
|
137
|
+
vercelProtectionBypassToken?: string | null;
|
|
136
138
|
};
|
|
137
139
|
|
|
138
140
|
export type PlaySchedulerProgressEvent =
|