Run tasks directly with language-independent project tools
This commit is contained in:
+12
-8
@@ -102,20 +102,24 @@ transient client logs are presentation, not separate server capabilities.
|
||||
|
||||
```sh
|
||||
cd ~/repos/project
|
||||
pipelines run "bug fix" "Fix the layout" --yes --json
|
||||
pipelines run "bug fix" "Fix the layout" --yes --json --wait --timeout 10m
|
||||
pipelines run "bug fix" "Fix the layout" --yes --json \
|
||||
--allow-tools --write-paths internal/example.go --request-key my-unique-task
|
||||
pipelines run "bug fix" "Fix the layout" --json
|
||||
pipelines run "bug fix" "Fix the layout" --json --wait --timeout 10m
|
||||
pipelines run "bug fix" "Fix the layout" --json --request-key my-unique-task
|
||||
```
|
||||
|
||||
Runs default to the client's current directory and latest accepted version.
|
||||
The server resolves that directory without a repository allowlist. `--version` chooses
|
||||
an immutable version in JSON mode. `--yes` never grants tools implicitly.
|
||||
Go-specific file editing and restricted Go shell checks remain in effect.
|
||||
an immutable version in JSON mode. Starting a run enables its stage-declared tools
|
||||
without a second approval. Editing supports all file types and new files within
|
||||
the run directory; no file list is required. Shell commands use the repository's
|
||||
actual tooling. `--write-paths` is an optional narrower scope, not a prerequisite.
|
||||
`--yes` and `--allow-tools` remain compatibility flags but are not required.
|
||||
`--wait` polls until terminal status, returns nonzero on failure/cancellation,
|
||||
and does not cancel a run when waiting times out. Reuse `--request-key` to prevent
|
||||
duplicate work. Without JSON, `run` opens the existing interactive composer and
|
||||
live inspector; Enter inserts a newline, Ctrl+S continues.
|
||||
duplicate work. A supplied pipeline/task starts immediately with a live inspector.
|
||||
When a task is omitted, Enter inserts a newline and Ctrl+S runs the composed task.
|
||||
There is no file-list question or typed RUN confirmation. Shell runs with your
|
||||
user's authority: the run directory and tool policy are not an OS sandbox.
|
||||
|
||||
JSON results go to stdout, errors to stderr (JSON error envelopes when requested),
|
||||
and failures exit nonzero. Export/template `--source` deliberately prints raw
|
||||
|
||||
Reference in New Issue
Block a user