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 CHANGED
@@ -72,6 +72,7 @@ key: explicit SDK option -> DEEPLINE_API_KEY -> matching nearest .env.deepline
72
72
  ./cli-env sdk-worktree deepline auth register
73
73
  ./cli-env sdk-worktree deepline auth status
74
74
  ./cli-env sdk-worktree deepline tools list
75
+ ./cli-env sdk-worktree deepline tools get test_rate_limit
75
76
  ./cli-env sdk-worktree deepline tools describe test_rate_limit
76
77
  ./cli-env sdk-worktree deepline tools execute test_rate_limit --input '{"key":"stripe.com"}'
77
78
  ./cli-env sdk-worktree deepline plays run my-play.play.ts --input '{}' --watch
@@ -86,10 +87,11 @@ key: explicit SDK option -> DEEPLINE_API_KEY -> matching nearest .env.deepline
86
87
  ./cli-env sdk-worktree deepline update
87
88
  ```
88
89
 
89
- `tools describe` and `tools execute` are canonical. `tools get` and `tools run`
90
- remain compatibility aliases. Unknown `plays run` flags such as `--limit 5`
91
- are passed into the play input object. CSV file inputs should be passed through
92
- `--input`, matching the play contract, for example
90
+ `tools describe` is the compact tool contract, `tools get` is a compatibility
91
+ alias for `tools describe`, and `tools execute` runs an atomic tool. The SDK CLI
92
+ does not expose the legacy `tools run` alias. Unknown `plays run` flags such as
93
+ `--limit 5` are passed into the play input object. CSV file inputs should be
94
+ passed through `--input`, matching the play contract, for example
93
95
  `--input '{"file":"leads.csv"}'` for `ctx.csv(input.file)`.
94
96
 
95
97
  ## Public play entrypoints
@@ -98,9 +100,9 @@ These are the public ways to run plays. They intentionally map to the external
98
100
  surfaces we exercise in CI:
99
101
 
100
102
  1. CLI
101
- - Repo-local Bun/source CLI: `bun sdk/bin/deepline-dev.ts play run ...`
102
- - Repo script alias: `bun run deepline -- play run ...`
103
- - Installed CLI: `deepline play run ...`
103
+ - Repo-local Bun/source CLI: `bun sdk/bin/deepline-dev.ts plays run ...`
104
+ - Repo script alias: `bun run deepline -- plays run ...`
105
+ - Installed CLI: `deepline plays run ...`
104
106
  2. Programmatic SDK convenience client
105
107
  - `client.runPlay(...)`
106
108
  - `client.runs.get(runId)`
@@ -232,10 +234,10 @@ TS
232
234
 
233
235
  ```bash
234
236
  # Dev
235
- bun sdk/bin/deepline-dev.ts play run --file rate-limit-repro.play.ts --watch
237
+ bun sdk/bin/deepline-dev.ts plays run --file rate-limit-repro.play.ts --watch
236
238
 
237
239
  # Production
238
- deepline play run --file rate-limit-repro.play.ts --watch
240
+ deepline plays run --file rate-limit-repro.play.ts --watch
239
241
  ```
240
242
 
241
243
  ### 4. Fallback variant (multi-step with rate limits)
@@ -293,7 +295,7 @@ TS
293
295
  ```
294
296
 
295
297
  ```bash
296
- bun sdk/bin/deepline-dev.ts play run --file rate-limit-waterfall.play.ts --watch
298
+ bun sdk/bin/deepline-dev.ts plays run --file rate-limit-waterfall.play.ts --watch
297
299
  ```
298
300
 
299
301
  ### What to expect
@@ -341,8 +343,8 @@ sdk/
341
343
  index.ts # CLI router
342
344
  commands/
343
345
  auth.ts # auth register/status
344
- play.ts # play run/get/tail/runs/publish
345
- tools.ts # tools list/get/call
346
+ play.ts # plays run/get/tail/runs/publish
347
+ tools.ts # tools list/describe/execute
346
348
  enrich.ts # CSV enrichment (delegates to Python CLI)
347
349
  plays/
348
350
  bundle-play-file.ts # esbuild bundler for .play.ts files