deepline 0.1.155 → 0.1.156
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/play.ts +4 -2
- package/dist/bundling-sources/sdk/src/release.ts +2 -2
- package/dist/cli/index.js +11 -7
- package/dist/cli/index.mjs +11 -7
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
|
@@ -281,12 +281,14 @@ export type { PreviousCell } from '../../shared_libs/play-runtime/cell-staleness
|
|
|
281
281
|
* Keyword-style request object for `ctx.tools.execute(...)`.
|
|
282
282
|
*
|
|
283
283
|
* The `tool` value comes from live tool discovery. The `id` is the stable
|
|
284
|
-
* logical call name
|
|
284
|
+
* logical call name used for logs, metadata, and receipt attachment. Provider
|
|
285
|
+
* call reuse is keyed by play, tool, semantic input, auth scope, provider action
|
|
286
|
+
* version, and cache policy.
|
|
285
287
|
*
|
|
286
288
|
* @sdkReference runtime 160
|
|
287
289
|
*/
|
|
288
290
|
export type ToolExecutionRequest = {
|
|
289
|
-
/** Stable logical id for
|
|
291
|
+
/** Stable logical id for logs, metadata, and receipt attachment. */
|
|
290
292
|
id: string;
|
|
291
293
|
/** Current tool id from `deepline tools search` / `deepline tools describe`. */
|
|
292
294
|
tool: string;
|
|
@@ -104,10 +104,10 @@ export const SDK_RELEASE = {
|
|
|
104
104
|
// 0.1.111 ships dataset-native tool list getters and result row datasets.
|
|
105
105
|
// 0.1.154 removes the short-lived generated enrich StepOptions recompute
|
|
106
106
|
// fields shipped in 0.1.153.
|
|
107
|
-
version: '0.1.
|
|
107
|
+
version: '0.1.156',
|
|
108
108
|
apiContract: '2026-06-dataset-handle-results-hard-cutover',
|
|
109
109
|
supportPolicy: {
|
|
110
|
-
latest: '0.1.
|
|
110
|
+
latest: '0.1.156',
|
|
111
111
|
minimumSupported: '0.1.53',
|
|
112
112
|
deprecatedBelow: '0.1.53',
|
|
113
113
|
commandMinimumSupported: [
|
package/dist/cli/index.js
CHANGED
|
@@ -657,10 +657,10 @@ var SDK_RELEASE = {
|
|
|
657
657
|
// 0.1.111 ships dataset-native tool list getters and result row datasets.
|
|
658
658
|
// 0.1.154 removes the short-lived generated enrich StepOptions recompute
|
|
659
659
|
// fields shipped in 0.1.153.
|
|
660
|
-
version: "0.1.
|
|
660
|
+
version: "0.1.156",
|
|
661
661
|
apiContract: "2026-06-dataset-handle-results-hard-cutover",
|
|
662
662
|
supportPolicy: {
|
|
663
|
-
latest: "0.1.
|
|
663
|
+
latest: "0.1.156",
|
|
664
664
|
minimumSupported: "0.1.53",
|
|
665
665
|
deprecatedBelow: "0.1.53",
|
|
666
666
|
commandMinimumSupported: [
|
|
@@ -9365,7 +9365,7 @@ async function traceCliSpan(phase, fields, run) {
|
|
|
9365
9365
|
var EXTRACTED_GETTER_ERROR_HINT = "Deepline hint: extractedValues/extractedLists .get() only works for declared Deepline getters listed by `deepline tools describe <tool> --json`. Use `toolExecutionResult.toolResponse.raw` for provider/tool-specific fields.";
|
|
9366
9366
|
var DATASET_API_HINT = "Deepline hint: PlayDataset is lazy and durable. Use `.peek(n)` for a small preview or `.materialize()` when you intentionally need rows in memory; do not use `.rows`, `.toArray()`, or array methods directly on the dataset handle.";
|
|
9367
9367
|
var ROW_PROPERTY_HINT = "Deepline hint: this row type only contains fields produced by the CSV/schema and previous map steps. Check source column casing and the exact output field names from earlier steps before scaling.";
|
|
9368
|
-
var TOOLS_EXECUTE_SIGNATURE_HINT = "Deepline hint: ctx.tools.execute requires a request object: `ctx.tools.execute({ id, tool, input, description })`. The stable `id` is required for
|
|
9368
|
+
var TOOLS_EXECUTE_SIGNATURE_HINT = "Deepline hint: ctx.tools.execute requires a request object: `ctx.tools.execute({ id, tool, input, description })`. The stable `id` is required for logs, metadata, and receipt attachment; provider-call reuse is based on play, tool, semantic input, auth scope, provider action version, and cache policy.";
|
|
9369
9369
|
var RUN_PLAY_SIGNATURE_HINT = "Deepline hint: ctx.runPlay uses a stable key plus a composable child play reference. Direct-run-only or map-backed batch plays must be run directly, exported, then consumed by a separate play.";
|
|
9370
9370
|
var MAP_BACKED_CHILD_HINT = "Deepline hint: map-backed child plays own durable table state and cannot be called from another play. Run that play directly, export its dataset, then pass the CSV to the next play.";
|
|
9371
9371
|
function sourceLineForError(sourceCode, error) {
|
|
@@ -12840,7 +12840,7 @@ function writeStartedPlayRun(input2) {
|
|
|
12840
12840
|
);
|
|
12841
12841
|
}
|
|
12842
12842
|
function parsePlayRunOptions(args) {
|
|
12843
|
-
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; pass hatchet explicitly for Hatchet runtime comparison.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for
|
|
12843
|
+
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; pass hatchet explicitly for Hatchet runtime comparison.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and ctx.dataset guidance.";
|
|
12844
12844
|
let filePath = null;
|
|
12845
12845
|
let playName = null;
|
|
12846
12846
|
let input2 = null;
|
|
@@ -14696,10 +14696,15 @@ Notes:
|
|
|
14696
14696
|
This command starts cloud work and may spend Deepline credits through tool calls.
|
|
14697
14697
|
|
|
14698
14698
|
Idempotent execution:
|
|
14699
|
-
|
|
14699
|
+
Durable tool-call reuse is based on the actual external call identity:
|
|
14700
|
+
same play, tool, semantic input, auth scope, provider action version, and
|
|
14701
|
+
cache policy.
|
|
14700
14702
|
|
|
14701
14703
|
await ctx.tools.execute({ id: 'company_lookup', tool, input });
|
|
14702
14704
|
|
|
14705
|
+
The authored id is still required for readable logs, metadata, and receipt
|
|
14706
|
+
attachment, but renaming it alone does not rebuy the same provider request.
|
|
14707
|
+
|
|
14703
14708
|
For rows, use ctx.dataset plus a stable row key:
|
|
14704
14709
|
|
|
14705
14710
|
const rows = await ctx
|
|
@@ -14711,8 +14716,7 @@ Idempotent execution:
|
|
|
14711
14716
|
}))
|
|
14712
14717
|
.run({ key: 'domain' });
|
|
14713
14718
|
|
|
14714
|
-
|
|
14715
|
-
policy. Dataset cells are storage; put freshness on the actual call:
|
|
14719
|
+
Dataset cells are storage; put freshness on the actual call:
|
|
14716
14720
|
|
|
14717
14721
|
await ctx.tools.execute({
|
|
14718
14722
|
id: 'find_cto',
|
package/dist/cli/index.mjs
CHANGED
|
@@ -642,10 +642,10 @@ var SDK_RELEASE = {
|
|
|
642
642
|
// 0.1.111 ships dataset-native tool list getters and result row datasets.
|
|
643
643
|
// 0.1.154 removes the short-lived generated enrich StepOptions recompute
|
|
644
644
|
// fields shipped in 0.1.153.
|
|
645
|
-
version: "0.1.
|
|
645
|
+
version: "0.1.156",
|
|
646
646
|
apiContract: "2026-06-dataset-handle-results-hard-cutover",
|
|
647
647
|
supportPolicy: {
|
|
648
|
-
latest: "0.1.
|
|
648
|
+
latest: "0.1.156",
|
|
649
649
|
minimumSupported: "0.1.53",
|
|
650
650
|
deprecatedBelow: "0.1.53",
|
|
651
651
|
commandMinimumSupported: [
|
|
@@ -9388,7 +9388,7 @@ async function traceCliSpan(phase, fields, run) {
|
|
|
9388
9388
|
var EXTRACTED_GETTER_ERROR_HINT = "Deepline hint: extractedValues/extractedLists .get() only works for declared Deepline getters listed by `deepline tools describe <tool> --json`. Use `toolExecutionResult.toolResponse.raw` for provider/tool-specific fields.";
|
|
9389
9389
|
var DATASET_API_HINT = "Deepline hint: PlayDataset is lazy and durable. Use `.peek(n)` for a small preview or `.materialize()` when you intentionally need rows in memory; do not use `.rows`, `.toArray()`, or array methods directly on the dataset handle.";
|
|
9390
9390
|
var ROW_PROPERTY_HINT = "Deepline hint: this row type only contains fields produced by the CSV/schema and previous map steps. Check source column casing and the exact output field names from earlier steps before scaling.";
|
|
9391
|
-
var TOOLS_EXECUTE_SIGNATURE_HINT = "Deepline hint: ctx.tools.execute requires a request object: `ctx.tools.execute({ id, tool, input, description })`. The stable `id` is required for
|
|
9391
|
+
var TOOLS_EXECUTE_SIGNATURE_HINT = "Deepline hint: ctx.tools.execute requires a request object: `ctx.tools.execute({ id, tool, input, description })`. The stable `id` is required for logs, metadata, and receipt attachment; provider-call reuse is based on play, tool, semantic input, auth scope, provider action version, and cache policy.";
|
|
9392
9392
|
var RUN_PLAY_SIGNATURE_HINT = "Deepline hint: ctx.runPlay uses a stable key plus a composable child play reference. Direct-run-only or map-backed batch plays must be run directly, exported, then consumed by a separate play.";
|
|
9393
9393
|
var MAP_BACKED_CHILD_HINT = "Deepline hint: map-backed child plays own durable table state and cannot be called from another play. Run that play directly, export its dataset, then pass the CSV to the next play.";
|
|
9394
9394
|
function sourceLineForError(sourceCode, error) {
|
|
@@ -12863,7 +12863,7 @@ function writeStartedPlayRun(input2) {
|
|
|
12863
12863
|
);
|
|
12864
12864
|
}
|
|
12865
12865
|
function parsePlayRunOptions(args) {
|
|
12866
|
-
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; pass hatchet explicitly for Hatchet runtime comparison.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for
|
|
12866
|
+
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; pass hatchet explicitly for Hatchet runtime comparison.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and ctx.dataset guidance.";
|
|
12867
12867
|
let filePath = null;
|
|
12868
12868
|
let playName = null;
|
|
12869
12869
|
let input2 = null;
|
|
@@ -14719,10 +14719,15 @@ Notes:
|
|
|
14719
14719
|
This command starts cloud work and may spend Deepline credits through tool calls.
|
|
14720
14720
|
|
|
14721
14721
|
Idempotent execution:
|
|
14722
|
-
|
|
14722
|
+
Durable tool-call reuse is based on the actual external call identity:
|
|
14723
|
+
same play, tool, semantic input, auth scope, provider action version, and
|
|
14724
|
+
cache policy.
|
|
14723
14725
|
|
|
14724
14726
|
await ctx.tools.execute({ id: 'company_lookup', tool, input });
|
|
14725
14727
|
|
|
14728
|
+
The authored id is still required for readable logs, metadata, and receipt
|
|
14729
|
+
attachment, but renaming it alone does not rebuy the same provider request.
|
|
14730
|
+
|
|
14726
14731
|
For rows, use ctx.dataset plus a stable row key:
|
|
14727
14732
|
|
|
14728
14733
|
const rows = await ctx
|
|
@@ -14734,8 +14739,7 @@ Idempotent execution:
|
|
|
14734
14739
|
}))
|
|
14735
14740
|
.run({ key: 'domain' });
|
|
14736
14741
|
|
|
14737
|
-
|
|
14738
|
-
policy. Dataset cells are storage; put freshness on the actual call:
|
|
14742
|
+
Dataset cells are storage; put freshness on the actual call:
|
|
14739
14743
|
|
|
14740
14744
|
await ctx.tools.execute({
|
|
14741
14745
|
id: 'find_cto',
|
package/dist/index.d.mts
CHANGED
|
@@ -2914,12 +2914,14 @@ type LoosePlayObject = {
|
|
|
2914
2914
|
* Keyword-style request object for `ctx.tools.execute(...)`.
|
|
2915
2915
|
*
|
|
2916
2916
|
* The `tool` value comes from live tool discovery. The `id` is the stable
|
|
2917
|
-
* logical call name
|
|
2917
|
+
* logical call name used for logs, metadata, and receipt attachment. Provider
|
|
2918
|
+
* call reuse is keyed by play, tool, semantic input, auth scope, provider action
|
|
2919
|
+
* version, and cache policy.
|
|
2918
2920
|
*
|
|
2919
2921
|
* @sdkReference runtime 160
|
|
2920
2922
|
*/
|
|
2921
2923
|
type ToolExecutionRequest = {
|
|
2922
|
-
/** Stable logical id for
|
|
2924
|
+
/** Stable logical id for logs, metadata, and receipt attachment. */
|
|
2923
2925
|
id: string;
|
|
2924
2926
|
/** Current tool id from `deepline tools search` / `deepline tools describe`. */
|
|
2925
2927
|
tool: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -2914,12 +2914,14 @@ type LoosePlayObject = {
|
|
|
2914
2914
|
* Keyword-style request object for `ctx.tools.execute(...)`.
|
|
2915
2915
|
*
|
|
2916
2916
|
* The `tool` value comes from live tool discovery. The `id` is the stable
|
|
2917
|
-
* logical call name
|
|
2917
|
+
* logical call name used for logs, metadata, and receipt attachment. Provider
|
|
2918
|
+
* call reuse is keyed by play, tool, semantic input, auth scope, provider action
|
|
2919
|
+
* version, and cache policy.
|
|
2918
2920
|
*
|
|
2919
2921
|
* @sdkReference runtime 160
|
|
2920
2922
|
*/
|
|
2921
2923
|
type ToolExecutionRequest = {
|
|
2922
|
-
/** Stable logical id for
|
|
2924
|
+
/** Stable logical id for logs, metadata, and receipt attachment. */
|
|
2923
2925
|
id: string;
|
|
2924
2926
|
/** Current tool id from `deepline tools search` / `deepline tools describe`. */
|
|
2925
2927
|
tool: string;
|
package/dist/index.js
CHANGED
|
@@ -421,10 +421,10 @@ var SDK_RELEASE = {
|
|
|
421
421
|
// 0.1.111 ships dataset-native tool list getters and result row datasets.
|
|
422
422
|
// 0.1.154 removes the short-lived generated enrich StepOptions recompute
|
|
423
423
|
// fields shipped in 0.1.153.
|
|
424
|
-
version: "0.1.
|
|
424
|
+
version: "0.1.156",
|
|
425
425
|
apiContract: "2026-06-dataset-handle-results-hard-cutover",
|
|
426
426
|
supportPolicy: {
|
|
427
|
-
latest: "0.1.
|
|
427
|
+
latest: "0.1.156",
|
|
428
428
|
minimumSupported: "0.1.53",
|
|
429
429
|
deprecatedBelow: "0.1.53",
|
|
430
430
|
commandMinimumSupported: [
|
package/dist/index.mjs
CHANGED
|
@@ -351,10 +351,10 @@ var SDK_RELEASE = {
|
|
|
351
351
|
// 0.1.111 ships dataset-native tool list getters and result row datasets.
|
|
352
352
|
// 0.1.154 removes the short-lived generated enrich StepOptions recompute
|
|
353
353
|
// fields shipped in 0.1.153.
|
|
354
|
-
version: "0.1.
|
|
354
|
+
version: "0.1.156",
|
|
355
355
|
apiContract: "2026-06-dataset-handle-results-hard-cutover",
|
|
356
356
|
supportPolicy: {
|
|
357
|
-
latest: "0.1.
|
|
357
|
+
latest: "0.1.156",
|
|
358
358
|
minimumSupported: "0.1.53",
|
|
359
359
|
deprecatedBelow: "0.1.53",
|
|
360
360
|
commandMinimumSupported: [
|