@taf0711/splice 0.1.0 → 0.1.2
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 +22 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
<p align="center"><strong>A terminal coding agent with a deterministic, multi-stage pipeline.</strong></p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
+
<a href="https://github.com/Taf0711/splice/actions/workflows/ci.yml?branch=main"><img alt="CI" src="https://img.shields.io/github/actions/workflow/status/Taf0711/splice/ci.yml?branch=main"></a>
|
|
9
|
+
<a href="https://www.npmjs.com/package/@taf0711/splice"><img alt="npm version" src="https://img.shields.io/npm/v/@taf0711/splice"></a>
|
|
8
10
|
<a href="LICENSE"><img alt="license" src="https://img.shields.io/badge/license-MIT-blue"></a>
|
|
9
11
|
<img alt="Go 1.25+" src="https://img.shields.io/badge/Go-1.25+-00ADD8?logo=go&logoColor=white">
|
|
10
12
|
<img alt="25+ providers" src="https://img.shields.io/badge/providers-25+-34E2EA">
|
|
@@ -59,11 +61,7 @@ splice exec --output-format stream-json < turns.jsonl
|
|
|
59
61
|
|
|
60
62
|
## Install
|
|
61
63
|
|
|
62
|
-
|
|
63
|
-
> npm packages yet, so the npm and install-script paths below are the intended
|
|
64
|
-
> flow once the first release is cut. For now, build from source.
|
|
65
|
-
|
|
66
|
-
### npm (planned)
|
|
64
|
+
Install via `npm install -g @taf0711/splice` (downloads the matching GitHub Release binary) or download archives directly from [GitHub Releases](https://github.com/Taf0711/splice/releases).
|
|
67
65
|
|
|
68
66
|
```bash
|
|
69
67
|
npm install -g @taf0711/splice
|
|
@@ -183,6 +181,23 @@ support. If a model omits the required typed tool call or returns invalid JSON,
|
|
|
183
181
|
Splice gives it up to two corrective retries and then reports an actionable
|
|
184
182
|
error. Splice never falls back from a local model to a cloud provider.
|
|
185
183
|
|
|
184
|
+
### Your first prompt: planning vs execution
|
|
185
|
+
|
|
186
|
+
A fresh interactive session starts in **planning mode** (design). Describe
|
|
187
|
+
what you want to build; Splice runs a design conversation, then `/crystallize`
|
|
188
|
+
turns it into a typed plan and `/approve` hands it to the execution pipeline.
|
|
189
|
+
This two-phase flow is for work that benefits from a plan first.
|
|
190
|
+
|
|
191
|
+
To skip planning and run a prompt straight through the pipeline, use
|
|
192
|
+
`/exec <prompt>` in the TUI or `splice exec "<prompt>"` headlessly:
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
splice exec "fix the failing test in ./pkg"
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
`/exec` is the escape hatch when you already know what you want and do not
|
|
199
|
+
need a planning step. Type `/design` to re-enter planning mode.
|
|
200
|
+
|
|
186
201
|
## Daily Use
|
|
187
202
|
|
|
188
203
|
### Interactive TUI
|
|
@@ -249,8 +264,7 @@ The stream-JSON contract is documented in
|
|
|
249
264
|
|
|
250
265
|
Splice's distinguishing layer is the deterministic pipeline in
|
|
251
266
|
`internal/splice/`. It is ported from the Flug paradigm (Flug is the archived
|
|
252
|
-
Python predecessor
|
|
253
|
-
history) and built new in Go on top of Zero's engine.
|
|
267
|
+
Python predecessor) and built new in Go on top of Zero's engine.
|
|
254
268
|
|
|
255
269
|
The flow:
|
|
256
270
|
|
|
@@ -482,5 +496,4 @@ Splice is built on top of [Gitlawb's Zero CLI](https://github.com/gitlawb/zero),
|
|
|
482
496
|
an open-source MIT-licensed terminal coding agent. Splice extends Zero's engine
|
|
483
497
|
with a deterministic, orchestrator-mediated multi-stage pipeline paradigm ported
|
|
484
498
|
from the archived Flug prototype. All upstream Zero code retains its original
|
|
485
|
-
copyright and license.
|
|
486
|
-
list and the upstream sync procedure.
|
|
499
|
+
copyright and license.
|