Install shared authoring skill and add retained drafts browser

This commit is contained in:
2026-10-09 01:33:59 +01:00
parent 94a76f9c5c
commit 998b0941d3
28 changed files with 787 additions and 520 deletions
+14 -5
View File
@@ -6,20 +6,22 @@ model stages. Docker/ntfy is optional and is configured separately.
```sh
git clone https://git.a-wan.net/alan/pipelines.git
cd pipelines
go install ./cmd/...
# ./install.sh is a thin wrapper around the same command.
./install.sh
# Equivalent: go install ./cmd/... && pipelines skill install
```
This installs `pipelines`, `pipelines-server`, and `pipelines-tui`. Go chooses the
destination using `GOBIN`, or the usual `GOPATH/bin` default. Put that directory
on PATH. No privileged operations, private dependency installation, login prompts,
Docker provisioning, service registration, or background processes are involved.
Re-running installation updates the binaries without changing data or configuration.
Re-running installation updates the binaries and bundled OpenCode skill without
changing databases, login, or OpenCode configuration files.
For a private repository, use your normal Git credentials and `GOPRIVATE`:
```sh
GOPRIVATE=git.a-wan.net go install git.a-wan.net/alan/pipelines/cmd/...@latest
pipelines skill install
```
For a system-wide command, build as your normal user and install the three binaries
@@ -94,8 +96,15 @@ executable. No OpenCode version is required just to install binaries. At runtime
stage tool permissions. Native `shell` permissions map to OpenCode's `bash`.
- Audited native sessions record their backend and a private service reference
so recovery addresses the same service, rather than a new unrelated instance.
- `new`/`edit` preload authoring instructions before opening the normal interface.
Native preloading uses `noReply=true`; V2 uses explicit skill activation.
- `new`/`edit` open the normal interface directly with `@pipelines` and a draft
context-file reference. The skill handles questions and draft validation inside
OpenCode; no preliminary session/API calls or instruction preload are performed.
The global skill is installed in `$XDG_CONFIG_HOME/opencode/skills/pipelines`,
or the normal `~/.config/opencode/skills/pipelines` default. Only unchanged files
previously installed by Pipelines are updated. A user-managed/modified skill is
never overwritten; preserve or rename it before running `pipelines skill install`.
Installation does not require OpenCode itself. Uninstall retains the skill and drafts.
The bundled examples retain `opencode-go/deepseek-v4.1-flash`. Availability and
authentication for that model are runtime requirements, not installation checks.