@flumecode/runner 0.23.1 → 0.25.0-preview.39
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 +19 -7
- package/dist/cli.js +1148 -586
- package/dist/mcp-stdio.js +18 -1
- package/package.json +1 -1
- package/skills-plugin/rules/coding-guideline.md +1 -0
- package/skills-plugin/skills/preview-ui/SKILL.md +67 -108
- package/skills-plugin/skills/request-to-plan/SKILL.md +7 -0
- package/skills-plugin/skills/setup-preview/SKILL.md +166 -0
package/README.md
CHANGED
|
@@ -17,22 +17,34 @@ FlumeCode service never stores an API key or runs your code itself.
|
|
|
17
17
|
|
|
18
18
|
## Install & run
|
|
19
19
|
|
|
20
|
-
The runner ships as a global CLI on npm
|
|
21
|
-
these exact commands with your token pre-filled:
|
|
20
|
+
The runner ships as a global CLI on npm:
|
|
22
21
|
|
|
23
22
|
```bash
|
|
24
23
|
npm install -g @flumecode/runner
|
|
25
24
|
|
|
26
|
-
#
|
|
27
|
-
|
|
25
|
+
# Authorize this machine in the browser (GitHub sign-in). One approval provisions
|
|
26
|
+
# BOTH the runner token (for `start`) and the CLI token (for the `tui`).
|
|
27
|
+
flumecode login --server https://<your-app>
|
|
28
28
|
|
|
29
29
|
# Start polling for jobs (keep it running)
|
|
30
30
|
flumecode start
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
`flumecode login` opens `<server>/cli/authorize`, you sign in with GitHub and
|
|
34
|
+
approve, and the tokens are handed back to a one-shot `127.0.0.1` listener the CLI
|
|
35
|
+
runs (a loopback OAuth-style flow). Use `--cli-only` / `--runner-only` to provision
|
|
36
|
+
just one. The default server is `http://localhost:3000`, overridable with
|
|
37
|
+
`--server` or the `FLUME_SERVER` env var.
|
|
38
|
+
|
|
39
|
+
For CI or a headless box, skip the browser and paste tokens minted in the web app
|
|
40
|
+
(**Runners** page → runner token, **Settings → CLI tokens** → CLI token):
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
flumecode login --server https://<your-app> --runner-token flrun_… --cli-token flcli_…
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Config is written to `~/.flume/config.json` (mode 0600). Tokens live only there and
|
|
47
|
+
are sent only as the `Authorization` header to your server.
|
|
36
48
|
|
|
37
49
|
## Developing on the runner
|
|
38
50
|
|