deepline 0.1.102 → 0.1.103
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 +14 -12
- package/dist/cli/index.js +707 -129
- package/dist/cli/index.mjs +717 -132
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +6 -5
- package/dist/index.mjs +6 -5
- package/dist/repo/sdk/src/client.ts +3 -3
- package/dist/repo/sdk/src/index.ts +1 -1
- package/dist/repo/sdk/src/play.ts +2 -2
- package/dist/repo/sdk/src/release.ts +3 -2
- package/dist/repo/sdk/src/types.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -978,7 +978,7 @@ interface ClearPlayHistoryResult {
|
|
|
978
978
|
* Response from starting a play run.
|
|
979
979
|
*
|
|
980
980
|
* Internal/advanced payload returned by low-level play submission primitives.
|
|
981
|
-
* Most callers should prefer `deepline
|
|
981
|
+
* Most callers should prefer `deepline plays run`, {@link DeeplineClient.runPlay},
|
|
982
982
|
* or {@link PlayJob.get}.
|
|
983
983
|
*
|
|
984
984
|
* @example
|
|
@@ -1042,7 +1042,7 @@ interface PlayCheckToolGetterHint {
|
|
|
1042
1042
|
* Request body for starting a play run via {@link DeeplineClient.startPlayRun}.
|
|
1043
1043
|
*
|
|
1044
1044
|
* Internal/advanced request shape for low-level submission primitives.
|
|
1045
|
-
* Most callers should prefer `deepline
|
|
1045
|
+
* Most callers should prefer `deepline plays run`, {@link DeeplineClient.runPlay},
|
|
1046
1046
|
* or {@link Deepline.connect}.
|
|
1047
1047
|
*
|
|
1048
1048
|
* Either `name` (for live plays) or `artifactStorageKey` (for packaged ad hoc runs) is required.
|
|
@@ -1505,7 +1505,7 @@ declare class DeeplineClient {
|
|
|
1505
1505
|
* or {@link runPlay}.
|
|
1506
1506
|
*
|
|
1507
1507
|
* Supported invocation surfaces intentionally share this same run contract:
|
|
1508
|
-
* `deepline
|
|
1508
|
+
* `deepline plays run`, repo scripts such as `bun run deepline -- plays run`,
|
|
1509
1509
|
* SDK context calls like `Deepline.connect().play(name).run()`, and direct
|
|
1510
1510
|
* `POST /api/v2/plays/run` calls all return a workflow/run id. The completed
|
|
1511
1511
|
* output is always retrievable from `getPlayStatus(runId).result` (or from
|
|
@@ -1625,7 +1625,7 @@ declare class DeeplineClient {
|
|
|
1625
1625
|
*
|
|
1626
1626
|
* Unlike {@link registerPlayArtifact}, this does not store the artifact,
|
|
1627
1627
|
* publish a revision, or start a run. It is the authoritative cloud validation
|
|
1628
|
-
* path used by `deepline
|
|
1628
|
+
* path used by `deepline plays check`.
|
|
1629
1629
|
*/
|
|
1630
1630
|
checkPlayArtifact(input: {
|
|
1631
1631
|
name?: string;
|
|
@@ -1750,7 +1750,7 @@ declare class DeeplineClient {
|
|
|
1750
1750
|
* Get the current status of a play execution.
|
|
1751
1751
|
*
|
|
1752
1752
|
* Internal/advanced primitive. Public callers should usually prefer
|
|
1753
|
-
* {@link runPlay}, {@link PlayJob.get}, or `deepline
|
|
1753
|
+
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run --watch`.
|
|
1754
1754
|
*
|
|
1755
1755
|
* @param workflowId - Play-run id from {@link startPlayRun}
|
|
1756
1756
|
* @returns Current status with progress logs and partial results
|
|
@@ -3261,7 +3261,7 @@ interface DeeplinePlayRuntimeContext {
|
|
|
3261
3261
|
* Provides methods to check status, stream logs, wait for completion,
|
|
3262
3262
|
* or cancel the execution.
|
|
3263
3263
|
*
|
|
3264
|
-
* This handle is the SDK-context equivalent of `deepline
|
|
3264
|
+
* This handle is the SDK-context equivalent of `deepline plays run --watch` and
|
|
3265
3265
|
* `POST /api/v2/plays/run`: every surface returns a run id first, then exposes
|
|
3266
3266
|
* the completed user output through `PlayJob.get()` or the status endpoint's
|
|
3267
3267
|
* `result` field. Runtime logs are available from `status().progress.logs` and
|
package/dist/index.d.ts
CHANGED
|
@@ -978,7 +978,7 @@ interface ClearPlayHistoryResult {
|
|
|
978
978
|
* Response from starting a play run.
|
|
979
979
|
*
|
|
980
980
|
* Internal/advanced payload returned by low-level play submission primitives.
|
|
981
|
-
* Most callers should prefer `deepline
|
|
981
|
+
* Most callers should prefer `deepline plays run`, {@link DeeplineClient.runPlay},
|
|
982
982
|
* or {@link PlayJob.get}.
|
|
983
983
|
*
|
|
984
984
|
* @example
|
|
@@ -1042,7 +1042,7 @@ interface PlayCheckToolGetterHint {
|
|
|
1042
1042
|
* Request body for starting a play run via {@link DeeplineClient.startPlayRun}.
|
|
1043
1043
|
*
|
|
1044
1044
|
* Internal/advanced request shape for low-level submission primitives.
|
|
1045
|
-
* Most callers should prefer `deepline
|
|
1045
|
+
* Most callers should prefer `deepline plays run`, {@link DeeplineClient.runPlay},
|
|
1046
1046
|
* or {@link Deepline.connect}.
|
|
1047
1047
|
*
|
|
1048
1048
|
* Either `name` (for live plays) or `artifactStorageKey` (for packaged ad hoc runs) is required.
|
|
@@ -1505,7 +1505,7 @@ declare class DeeplineClient {
|
|
|
1505
1505
|
* or {@link runPlay}.
|
|
1506
1506
|
*
|
|
1507
1507
|
* Supported invocation surfaces intentionally share this same run contract:
|
|
1508
|
-
* `deepline
|
|
1508
|
+
* `deepline plays run`, repo scripts such as `bun run deepline -- plays run`,
|
|
1509
1509
|
* SDK context calls like `Deepline.connect().play(name).run()`, and direct
|
|
1510
1510
|
* `POST /api/v2/plays/run` calls all return a workflow/run id. The completed
|
|
1511
1511
|
* output is always retrievable from `getPlayStatus(runId).result` (or from
|
|
@@ -1625,7 +1625,7 @@ declare class DeeplineClient {
|
|
|
1625
1625
|
*
|
|
1626
1626
|
* Unlike {@link registerPlayArtifact}, this does not store the artifact,
|
|
1627
1627
|
* publish a revision, or start a run. It is the authoritative cloud validation
|
|
1628
|
-
* path used by `deepline
|
|
1628
|
+
* path used by `deepline plays check`.
|
|
1629
1629
|
*/
|
|
1630
1630
|
checkPlayArtifact(input: {
|
|
1631
1631
|
name?: string;
|
|
@@ -1750,7 +1750,7 @@ declare class DeeplineClient {
|
|
|
1750
1750
|
* Get the current status of a play execution.
|
|
1751
1751
|
*
|
|
1752
1752
|
* Internal/advanced primitive. Public callers should usually prefer
|
|
1753
|
-
* {@link runPlay}, {@link PlayJob.get}, or `deepline
|
|
1753
|
+
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run --watch`.
|
|
1754
1754
|
*
|
|
1755
1755
|
* @param workflowId - Play-run id from {@link startPlayRun}
|
|
1756
1756
|
* @returns Current status with progress logs and partial results
|
|
@@ -3261,7 +3261,7 @@ interface DeeplinePlayRuntimeContext {
|
|
|
3261
3261
|
* Provides methods to check status, stream logs, wait for completion,
|
|
3262
3262
|
* or cancel the execution.
|
|
3263
3263
|
*
|
|
3264
|
-
* This handle is the SDK-context equivalent of `deepline
|
|
3264
|
+
* This handle is the SDK-context equivalent of `deepline plays run --watch` and
|
|
3265
3265
|
* `POST /api/v2/plays/run`: every surface returns a run id first, then exposes
|
|
3266
3266
|
* the completed user output through `PlayJob.get()` or the status endpoint's
|
|
3267
3267
|
* `result` field. Runtime logs are available from `status().progress.logs` and
|
package/dist/index.js
CHANGED
|
@@ -265,10 +265,11 @@ var SDK_RELEASE = {
|
|
|
265
265
|
// failed runs, persisted/succeeded/failed row counts, strict local CSV
|
|
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
|
+
version: "0.1.103",
|
|
269
270
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
270
271
|
supportPolicy: {
|
|
271
|
-
latest: "0.1.
|
|
272
|
+
latest: "0.1.103",
|
|
272
273
|
minimumSupported: "0.1.53",
|
|
273
274
|
deprecatedBelow: "0.1.53"
|
|
274
275
|
}
|
|
@@ -1934,7 +1935,7 @@ var DeeplineClient = class {
|
|
|
1934
1935
|
* or {@link runPlay}.
|
|
1935
1936
|
*
|
|
1936
1937
|
* Supported invocation surfaces intentionally share this same run contract:
|
|
1937
|
-
* `deepline
|
|
1938
|
+
* `deepline plays run`, repo scripts such as `bun run deepline -- plays run`,
|
|
1938
1939
|
* SDK context calls like `Deepline.connect().play(name).run()`, and direct
|
|
1939
1940
|
* `POST /api/v2/plays/run` calls all return a workflow/run id. The completed
|
|
1940
1941
|
* output is always retrievable from `getPlayStatus(runId).result` (or from
|
|
@@ -2103,7 +2104,7 @@ var DeeplineClient = class {
|
|
|
2103
2104
|
*
|
|
2104
2105
|
* Unlike {@link registerPlayArtifact}, this does not store the artifact,
|
|
2105
2106
|
* publish a revision, or start a run. It is the authoritative cloud validation
|
|
2106
|
-
* path used by `deepline
|
|
2107
|
+
* path used by `deepline plays check`.
|
|
2107
2108
|
*/
|
|
2108
2109
|
async checkPlayArtifact(input) {
|
|
2109
2110
|
return this.http.post("/api/v2/plays/check", input);
|
|
@@ -2296,7 +2297,7 @@ var DeeplineClient = class {
|
|
|
2296
2297
|
* Get the current status of a play execution.
|
|
2297
2298
|
*
|
|
2298
2299
|
* Internal/advanced primitive. Public callers should usually prefer
|
|
2299
|
-
* {@link runPlay}, {@link PlayJob.get}, or `deepline
|
|
2300
|
+
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run --watch`.
|
|
2300
2301
|
*
|
|
2301
2302
|
* @param workflowId - Play-run id from {@link startPlayRun}
|
|
2302
2303
|
* @returns Current status with progress logs and partial results
|
package/dist/index.mjs
CHANGED
|
@@ -187,10 +187,11 @@ var SDK_RELEASE = {
|
|
|
187
187
|
// failed runs, persisted/succeeded/failed row counts, strict local CSV
|
|
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
|
+
version: "0.1.103",
|
|
191
192
|
apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
|
|
192
193
|
supportPolicy: {
|
|
193
|
-
latest: "0.1.
|
|
194
|
+
latest: "0.1.103",
|
|
194
195
|
minimumSupported: "0.1.53",
|
|
195
196
|
deprecatedBelow: "0.1.53"
|
|
196
197
|
}
|
|
@@ -1856,7 +1857,7 @@ var DeeplineClient = class {
|
|
|
1856
1857
|
* or {@link runPlay}.
|
|
1857
1858
|
*
|
|
1858
1859
|
* Supported invocation surfaces intentionally share this same run contract:
|
|
1859
|
-
* `deepline
|
|
1860
|
+
* `deepline plays run`, repo scripts such as `bun run deepline -- plays run`,
|
|
1860
1861
|
* SDK context calls like `Deepline.connect().play(name).run()`, and direct
|
|
1861
1862
|
* `POST /api/v2/plays/run` calls all return a workflow/run id. The completed
|
|
1862
1863
|
* output is always retrievable from `getPlayStatus(runId).result` (or from
|
|
@@ -2025,7 +2026,7 @@ var DeeplineClient = class {
|
|
|
2025
2026
|
*
|
|
2026
2027
|
* Unlike {@link registerPlayArtifact}, this does not store the artifact,
|
|
2027
2028
|
* publish a revision, or start a run. It is the authoritative cloud validation
|
|
2028
|
-
* path used by `deepline
|
|
2029
|
+
* path used by `deepline plays check`.
|
|
2029
2030
|
*/
|
|
2030
2031
|
async checkPlayArtifact(input) {
|
|
2031
2032
|
return this.http.post("/api/v2/plays/check", input);
|
|
@@ -2218,7 +2219,7 @@ var DeeplineClient = class {
|
|
|
2218
2219
|
* Get the current status of a play execution.
|
|
2219
2220
|
*
|
|
2220
2221
|
* Internal/advanced primitive. Public callers should usually prefer
|
|
2221
|
-
* {@link runPlay}, {@link PlayJob.get}, or `deepline
|
|
2222
|
+
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run --watch`.
|
|
2222
2223
|
*
|
|
2223
2224
|
* @param workflowId - Play-run id from {@link startPlayRun}
|
|
2224
2225
|
* @returns Current status with progress logs and partial results
|
|
@@ -951,7 +951,7 @@ export class DeeplineClient {
|
|
|
951
951
|
* or {@link runPlay}.
|
|
952
952
|
*
|
|
953
953
|
* Supported invocation surfaces intentionally share this same run contract:
|
|
954
|
-
* `deepline
|
|
954
|
+
* `deepline plays run`, repo scripts such as `bun run deepline -- plays run`,
|
|
955
955
|
* SDK context calls like `Deepline.connect().play(name).run()`, and direct
|
|
956
956
|
* `POST /api/v2/plays/run` calls all return a workflow/run id. The completed
|
|
957
957
|
* output is always retrievable from `getPlayStatus(runId).result` (or from
|
|
@@ -1221,7 +1221,7 @@ export class DeeplineClient {
|
|
|
1221
1221
|
*
|
|
1222
1222
|
* Unlike {@link registerPlayArtifact}, this does not store the artifact,
|
|
1223
1223
|
* publish a revision, or start a run. It is the authoritative cloud validation
|
|
1224
|
-
* path used by `deepline
|
|
1224
|
+
* path used by `deepline plays check`.
|
|
1225
1225
|
*/
|
|
1226
1226
|
async checkPlayArtifact(input: {
|
|
1227
1227
|
name?: string;
|
|
@@ -1494,7 +1494,7 @@ export class DeeplineClient {
|
|
|
1494
1494
|
* Get the current status of a play execution.
|
|
1495
1495
|
*
|
|
1496
1496
|
* Internal/advanced primitive. Public callers should usually prefer
|
|
1497
|
-
* {@link runPlay}, {@link PlayJob.get}, or `deepline
|
|
1497
|
+
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run --watch`.
|
|
1498
1498
|
*
|
|
1499
1499
|
* @param workflowId - Play-run id from {@link startPlayRun}
|
|
1500
1500
|
* @returns Current status with progress logs and partial results
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
* });
|
|
39
39
|
* ```
|
|
40
40
|
*
|
|
41
|
-
* Then run via CLI: `deepline
|
|
41
|
+
* Then run via CLI: `deepline plays run --file my-play.play.ts --watch`
|
|
42
42
|
*
|
|
43
43
|
* ### Programmatic usage
|
|
44
44
|
*
|
|
@@ -807,7 +807,7 @@ export interface DeeplinePlayRuntimeContext {
|
|
|
807
807
|
* Provides methods to check status, stream logs, wait for completion,
|
|
808
808
|
* or cancel the execution.
|
|
809
809
|
*
|
|
810
|
-
* This handle is the SDK-context equivalent of `deepline
|
|
810
|
+
* This handle is the SDK-context equivalent of `deepline plays run --watch` and
|
|
811
811
|
* `POST /api/v2/plays/run`: every surface returns a run id first, then exposes
|
|
812
812
|
* the completed user output through `PlayJob.get()` or the status endpoint's
|
|
813
813
|
* `result` field. Runtime logs are available from `status().progress.logs` and
|
|
@@ -58,10 +58,11 @@ export const SDK_RELEASE = {
|
|
|
58
58
|
// failed runs, persisted/succeeded/failed row counts, strict local CSV
|
|
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
|
+
version: '0.1.103',
|
|
62
63
|
apiContract: '2026-06-dataset-column-cell-stale-hard-cutover',
|
|
63
64
|
supportPolicy: {
|
|
64
|
-
latest: '0.1.
|
|
65
|
+
latest: '0.1.103',
|
|
65
66
|
minimumSupported: '0.1.53',
|
|
66
67
|
deprecatedBelow: '0.1.53',
|
|
67
68
|
},
|
|
@@ -813,7 +813,7 @@ export interface ClearPlayHistoryResult {
|
|
|
813
813
|
* Response from starting a play run.
|
|
814
814
|
*
|
|
815
815
|
* Internal/advanced payload returned by low-level play submission primitives.
|
|
816
|
-
* Most callers should prefer `deepline
|
|
816
|
+
* Most callers should prefer `deepline plays run`, {@link DeeplineClient.runPlay},
|
|
817
817
|
* or {@link PlayJob.get}.
|
|
818
818
|
*
|
|
819
819
|
* @example
|
|
@@ -880,7 +880,7 @@ export interface PlayCheckToolGetterHint {
|
|
|
880
880
|
* Request body for starting a play run via {@link DeeplineClient.startPlayRun}.
|
|
881
881
|
*
|
|
882
882
|
* Internal/advanced request shape for low-level submission primitives.
|
|
883
|
-
* Most callers should prefer `deepline
|
|
883
|
+
* Most callers should prefer `deepline plays run`, {@link DeeplineClient.runPlay},
|
|
884
884
|
* or {@link Deepline.connect}.
|
|
885
885
|
*
|
|
886
886
|
* Either `name` (for live plays) or `artifactStorageKey` (for packaged ad hoc runs) is required.
|