deepline 0.1.47 → 0.1.49

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
@@ -50,10 +50,10 @@ cd sdk && bun run build # or: npm run sdk:build from root
50
50
 
51
51
  ## Env files
52
52
 
53
- | File | Set by | Contains |
54
- | ------------------------------------ | ------------------- | ----------------------------------------- |
55
- | `~/.local/deepline/<host-slug>/.env` | SDK `auth register` | `DEEPLINE_HOST_URL`, `DEEPLINE_API_KEY` |
56
- | `.env.deepline` | Developer/agent | `DEEPLINE_HOST_URL`, `DEEPLINE_API_KEY` |
53
+ | File | Set by | Contains |
54
+ | ------------------------------------ | ------------------- | --------------------------------------- |
55
+ | `~/.local/deepline/<host-slug>/.env` | SDK `auth register` | `DEEPLINE_HOST_URL`, `DEEPLINE_API_KEY` |
56
+ | `.env.deepline` | Developer/agent | `DEEPLINE_HOST_URL`, `DEEPLINE_API_KEY` |
57
57
 
58
58
  The SDK CLI env contract is only `DEEPLINE_HOST_URL` and `DEEPLINE_API_KEY`.
59
59
  Do not route the SDK CLI through `.env`, `.env.local`, or `.env.worktree`.
@@ -257,27 +257,27 @@ export default definePlay('rate-limit-waterfall', async (ctx) => {
257
257
 
258
258
  const probeFallback = steps<{ lead_id: string; row_number: number }>()
259
259
  .step("primary_probe", (row, ctx) =>
260
- ctx.tool({
260
+ ctx.tools.execute({
261
261
  id: 'rate_limit_probe',
262
262
  tool: 'test_rate_limit',
263
263
  input: {
264
- key: 'redis-shared-scenario',
265
- lead_id: row.lead_id,
266
- row_number: row.row_number,
267
- },
264
+ key: 'redis-shared-scenario',
265
+ lead_id: row.lead_id,
266
+ row_number: row.row_number,
267
+ },
268
268
  description: 'Exercise primary rate-limit behavior.',
269
269
  }))
270
270
  .step("backup_probe", when(
271
271
  (row) => !row.primary_probe,
272
272
  (row, ctx) =>
273
- ctx.tool({
273
+ ctx.tools.execute({
274
274
  id: 'rate_limit_probe_backup',
275
275
  tool: 'test_rate_limit',
276
276
  input: {
277
- key: 'redis-shared-scenario',
278
- lead_id: row.lead_id,
279
- row_number: row.row_number,
280
- },
277
+ key: 'redis-shared-scenario',
278
+ lead_id: row.lead_id,
279
+ row_number: row.row_number,
280
+ },
281
281
  description: 'Exercise fallback rate-limit behavior.',
282
282
  }),
283
283
  ))