deepline 0.1.10 → 0.1.12
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 +4 -4
- package/dist/cli/index.js +509 -353
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/index.mjs +513 -358
- package/dist/cli/index.mjs.map +1 -1
- package/dist/index.d.mts +250 -305
- package/dist/index.d.ts +250 -305
- package/dist/index.js +174 -286
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +174 -285
- package/dist/index.mjs.map +1 -1
- package/dist/repo/apps/play-runner-workers/src/coordinator-entry.ts +23 -13
- package/dist/repo/apps/play-runner-workers/src/entry.ts +581 -1220
- package/dist/repo/sdk/src/cli/commands/play.ts +381 -247
- package/dist/repo/sdk/src/cli/commands/tools.ts +1 -1
- package/dist/repo/sdk/src/cli/dataset-stats.ts +86 -12
- package/dist/repo/sdk/src/client.ts +54 -51
- package/dist/repo/sdk/src/index.ts +7 -16
- package/dist/repo/sdk/src/play.ts +122 -135
- package/dist/repo/sdk/src/plays/bundle-play-file.ts +6 -3
- package/dist/repo/sdk/src/tool-output.ts +0 -111
- package/dist/repo/sdk/src/types.ts +2 -0
- package/dist/repo/sdk/src/version.ts +1 -1
- package/dist/repo/sdk/src/worker-play-entry.ts +3 -0
- package/dist/repo/shared_libs/play-runtime/context.ts +510 -267
- package/dist/repo/shared_libs/play-runtime/csv-rename.ts +180 -0
- package/dist/repo/shared_libs/play-runtime/ctx-types.ts +13 -1
- package/dist/repo/shared_libs/play-runtime/tool-result.ts +139 -114
- package/dist/repo/shared_libs/plays/bundling/index.ts +68 -5
- package/dist/repo/shared_libs/plays/compiler-manifest.ts +1 -1
- package/dist/repo/shared_libs/plays/dataset.ts +1 -1
- package/dist/repo/shared_libs/plays/runtime-validation.ts +8 -28
- package/package.json +1 -1
- package/dist/repo/apps/play-runner-workers/src/runtime/tool-result.ts +0 -184
package/README.md
CHANGED
|
@@ -61,8 +61,8 @@ Config resolution order: explicit options > env vars > checkout `.env.worktree`
|
|
|
61
61
|
bun sdk/bin/deepline-dev.ts health
|
|
62
62
|
bun sdk/bin/deepline-dev.ts auth register|status
|
|
63
63
|
bun sdk/bin/deepline-dev.ts tools list|get|call
|
|
64
|
-
bun sdk/bin/deepline-dev.ts
|
|
65
|
-
bun sdk/bin/deepline-dev.ts
|
|
64
|
+
bun sdk/bin/deepline-dev.ts plays run <file.play.ts> [--input '{}'] [--<input> value] [--watch]
|
|
65
|
+
bun sdk/bin/deepline-dev.ts plays run <name> [--input '{}'] [--<input> value] [--watch]
|
|
66
66
|
bun sdk/bin/deepline-dev.ts play get <file.play.ts|name> [--json]
|
|
67
67
|
bun sdk/bin/deepline-dev.ts play versions --name <name> [--json]
|
|
68
68
|
bun sdk/bin/deepline-dev.ts play tail --run-id <run-id> [--json]
|
|
@@ -184,7 +184,7 @@ export default definePlay('rate-limit-repro', async (ctx) => {
|
|
|
184
184
|
row_number: i + 1,
|
|
185
185
|
}));
|
|
186
186
|
|
|
187
|
-
const results = await ctx.map('rate_limit_probes', items
|
|
187
|
+
const results = await ctx.map('rate_limit_probes', items)
|
|
188
188
|
.step("result", (row, ctx) =>
|
|
189
189
|
ctx.tools.execute({
|
|
190
190
|
id: 'rate_limit_probe',
|
|
@@ -256,7 +256,7 @@ export default definePlay('rate-limit-waterfall', async (ctx) => {
|
|
|
256
256
|
.return((row) => row.primary_probe ?? row.backup_probe ?? null);
|
|
257
257
|
|
|
258
258
|
// Fan out over leads — each gets a row-level fallback sequence
|
|
259
|
-
const results = await ctx.map('leads', leads
|
|
259
|
+
const results = await ctx.map('leads', leads)
|
|
260
260
|
.step("probe", probeFallback)
|
|
261
261
|
.run();
|
|
262
262
|
|