@discovery-tree/runner 0.1.19 → 0.1.20
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 +6 -8
- package/dist/cli.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -292,13 +292,14 @@ your `cursor-agent login`. `dt-runner doctor` and `dt-runner start` warn when it
|
|
|
292
292
|
|
|
293
293
|
Headless, the Cursor CLI asks no questions: there are no permission prompts to approve in
|
|
294
294
|
Discovery Tree, and the tool rules above (`allowedTools`, saved and inherited rules) do not apply
|
|
295
|
-
to Cursor.
|
|
295
|
+
to Cursor. Each turn passes `--trust` so a fresh session worktree is trusted without an
|
|
296
|
+
interactive prompt. Its own permission rules (`~/.cursor/cli-config.json`, and the repository's
|
|
296
297
|
`.cursor/cli.json`) decide which commands and file writes it may make; what they do not allow is
|
|
297
|
-
not done, which can leave a run unable to finish its task. To let it do anything:
|
|
298
|
+
not done, which can leave a run unable to finish its task. To let it do anything past those rules:
|
|
298
299
|
|
|
299
300
|
| Key | Default | Meaning |
|
|
300
301
|
| ------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
301
|
-
| `cursorForce` | `false` | Pass `--force`: Cursor runs commands and writes files without asking, past its permission rules. `dt-runner start` warns when on. |
|
|
302
|
+
| `cursorForce` | `false` | Pass `--force` in addition to `--trust`: Cursor runs commands and writes files without asking, past its permission rules. `dt-runner start` warns when on. |
|
|
302
303
|
|
|
303
304
|
Interrupting a Cursor turn stops its process (and what it started); the next message resumes the
|
|
304
305
|
chat. Planning requests are still answered by Claude Code.
|
|
@@ -454,11 +455,8 @@ used by the integration tests.
|
|
|
454
455
|
workflow (`.github/workflows/publish-runner.yml`), never from a laptop.
|
|
455
456
|
|
|
456
457
|
1. Bump `version` in `packages/runner/package.json` in a pull request and merge it to `main`.
|
|
457
|
-
2. Publish
|
|
458
|
-
|
|
459
|
-
Actions → **Publish dt-runner** → **Run workflow** on `main` by hand. The workflow refuses a
|
|
460
|
-
version that is already on npm, runs lint, typecheck, tests and the build, then publishes
|
|
461
|
-
publicly.
|
|
458
|
+
2. Actions → **Publish dt-runner** → **Run workflow** on `main`. It refuses a version that is
|
|
459
|
+
already on npm, runs lint, typecheck, tests and the build, then publishes publicly.
|
|
462
460
|
|
|
463
461
|
The workflow runs in the `npm-publish` environment; add required reviewers there to gate
|
|
464
462
|
releases.
|
package/dist/cli.js
CHANGED
|
@@ -331,7 +331,7 @@ function toolGrantRepositoryKey(url) {
|
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
// src/version.ts
|
|
334
|
-
var RUNNER_VERSION = true ? "0.1.
|
|
334
|
+
var RUNNER_VERSION = true ? "0.1.20" : "0.0.0-dev";
|
|
335
335
|
var RUNNER_PLATFORM = `${process.platform}-${process.arch}`;
|
|
336
336
|
|
|
337
337
|
// src/api.ts
|
|
@@ -3374,6 +3374,7 @@ function cursorArgs(launch) {
|
|
|
3374
3374
|
args.push(`--model=${launch.model}`);
|
|
3375
3375
|
}
|
|
3376
3376
|
if (launch.resume) args.push(`--resume=${launch.resume}`);
|
|
3377
|
+
args.push("--trust");
|
|
3377
3378
|
if (launch.force) args.push("--force");
|
|
3378
3379
|
args.push(launch.prompt.startsWith("-") ? `
|
|
3379
3380
|
${launch.prompt}` : launch.prompt);
|
package/package.json
CHANGED