@fibteq/myrel-runner 0.10.0 → 0.11.0
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 +9 -2
- package/dist/cli.js +55 -53
- package/dist/index.js +46 -46
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -71,8 +71,13 @@ Read-only tasks (`--access read`) always run in the folder itself.
|
|
|
71
71
|
|---|---|---|---|
|
|
72
72
|
| `read` | `--permission-mode plan` | `--sandbox read-only` | `--approval-mode default` |
|
|
73
73
|
| `edit` (default) | `--permission-mode acceptEdits` | `--sandbox workspace-write` | `--approval-mode auto_edit` |
|
|
74
|
+
| `auto` | `--permission-mode auto` | `--sandbox workspace-write` | `--approval-mode auto_edit` |
|
|
74
75
|
| `full` | `--permission-mode bypassPermissions` | `--sandbox danger-full-access` | `--approval-mode yolo` |
|
|
75
76
|
|
|
77
|
+
With `auto`, Claude Code's auto mode decides which steps are safe to run (tests, git commit, builds) and runs them;
|
|
78
|
+
the ones it would ask about come to you as a card in the thread. Your Claude account must have auto mode; Codex and
|
|
79
|
+
Gemini CLI cannot ask mid-run, so for them `auto` is the same as `edit`.
|
|
80
|
+
|
|
76
81
|
With `edit`, the CLI can change files in the folder but cannot run commands that would need your approval. Use
|
|
77
82
|
`full` only for folders and projects you trust: it lets the CLI run any command without asking.
|
|
78
83
|
|
|
@@ -83,8 +88,10 @@ computer too; the CLI gets them with `--add-dir` (Claude Code, Codex) or `--incl
|
|
|
83
88
|
|
|
84
89
|
When Claude Code runs as a thread's agent, its permission prompts go to Myrel (`--permission-prompt-tool
|
|
85
90
|
mcp__myrel__approve_access`). If a step reaches a file outside the project's folders, Myrel asks you in the thread
|
|
86
|
-
(Allow once, Add to project, Don't allow) and the step waits for your answer. A
|
|
87
|
-
|
|
91
|
+
(Allow once, Add to project, Don't allow) and the step waits for your answer. A command or web request the access
|
|
92
|
+
level does not allow on its own (with `edit`: `git commit`, `git push`, tests) is asked about the same way (Run it,
|
|
93
|
+
Allow commands this turn, Don't run), so there is no need to restart the runner with `--access full` for one task. A
|
|
94
|
+
file change inside the folders with `read` is declined as before. With `full`, Claude Code then runs with
|
|
88
95
|
`acceptEdits` and commands and web tools pre-allowed instead of `bypassPermissions`, so only files outside the folders
|
|
89
96
|
are asked about. Codex and Gemini CLI cannot ask mid-run, so they stay inside the folders.
|
|
90
97
|
|