@spooky-sync/cli 0.0.1-canary.212 → 0.0.1-canary.214
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/AGENTS.md +21 -4
- package/devtools-mcp/index.js +24023 -30
- package/package.json +8 -7
- package/devtools-mcp/bridge.d.ts +0 -23
- package/devtools-mcp/bridge.js +0 -155
- package/devtools-mcp/dist/bridge.d.ts +0 -23
- package/devtools-mcp/dist/bridge.js +0 -155
- package/devtools-mcp/dist/index.d.ts +0 -2
- package/devtools-mcp/dist/index.js +0 -37
- package/devtools-mcp/dist/protocol.d.ts +0 -35
- package/devtools-mcp/dist/protocol.js +0 -38
- package/devtools-mcp/dist/server.d.ts +0 -4
- package/devtools-mcp/dist/server.js +0 -330
- package/devtools-mcp/dist/surreal.d.ts +0 -13
- package/devtools-mcp/dist/surreal.js +0 -27
- package/devtools-mcp/index.d.ts +0 -2
- package/devtools-mcp/protocol.d.ts +0 -34
- package/devtools-mcp/protocol.js +0 -37
- package/devtools-mcp/server.d.ts +0 -4
- package/devtools-mcp/server.js +0 -290
- package/devtools-mcp/surreal.d.ts +0 -13
- package/devtools-mcp/surreal.js +0 -27
package/AGENTS.md
CHANGED
|
@@ -36,13 +36,30 @@ your-app/
|
|
|
36
36
|
- **`spky verify [--fix]`** — confirm SSP/scheduler snapshot matches upstream SurrealDB, and print the scheduler's own drift verdict (`/health/snapshot` `drift`). `--fix` re-clones the scheduler replica when its counts are off, otherwise forces every SSP to re-bootstrap. The scheduler runs the same count check itself at startup and after each snapshot drain and auto-reclones by default (`SPKY_DRIFT_AUTO_RECLONE`).
|
|
37
37
|
- **`spky lint`** — validate `sp00ky.yml` and referenced files exist.
|
|
38
38
|
- **`spky dev [--apply-migrations] [--clean] [--verbose]`** — boots a local SurrealDB + SSP + scheduler stack via Docker. `--clean` wipes SSP/scheduler state but preserves user data in SurrealDB. Startup renders as step lines via `src/ui.rs` (indicatif/console; plain lines when not a TTY); after "ready" only ERROR/crash-looking lines (infra and app streams) show unless `--verbose` / `SPKY_VERBOSE=1`. A bare `logLevel` is scoped to sp00ky crates by `backend::scoped_rust_log`.
|
|
39
|
-
- **`spky
|
|
39
|
+
- **`spky init`** — scaffold a new sp00ky project in the current directory. (`spky create` is a removed alias that only prints a migration hint.)
|
|
40
40
|
- **`spky bucket add`** / **`spky api add`** — append a bucket or backend definition to `sp00ky.yml`.
|
|
41
|
-
- **`spky mcp`** — start the bundled `@spooky-sync/devtools-mcp` server (so AI assistants can introspect the running app).
|
|
41
|
+
- **`spky mcp`** — start the bundled `@spooky-sync/devtools-mcp` server (so AI assistants can introspect the running app). Its `token` / `tokens` / `revoke` / `install` subcommands manage credentials for the separate Sp00ky Cloud MCP server. A deployed scheduler also serves its own MCP server for operator actions; see `docs/reference/mcp.mdx`.
|
|
42
|
+
- **`spky admin list|add <user>|remove <user>`** — manage the `_00_admin` roster. Roster members can sign in to the scheduler's operator dashboard and administer feature flags. `add` takes an optional `--note`.
|
|
42
43
|
|
|
43
|
-
##
|
|
44
|
+
## Deployment subcommands
|
|
44
45
|
|
|
45
|
-
|
|
46
|
+
These are top level, not under a `cloud` prefix. `spky cloud ...` was removed and now only
|
|
47
|
+
prints a migration hint.
|
|
48
|
+
|
|
49
|
+
`spky login | logout | deploy | release | status | stats | logs | restart | push | scale | backup | env | domain | link | team | billing | token | project | notice`.
|
|
50
|
+
See `spky <command> --help`. Most app code agents touch never need these.
|
|
51
|
+
|
|
52
|
+
Two that come up when a deployment misbehaves:
|
|
53
|
+
|
|
54
|
+
- **`spky restart [TARGET...] [--upgrade] [--clean] [--surreal] [--all-backends] [-y]`** —
|
|
55
|
+
recreate containers. Targets are roles (`db`, `scheduler`, `ssp`, `frontend`) or an app
|
|
56
|
+
name; with none it restarts the scheduler and SSPs. `--upgrade` pulls the latest scheduler
|
|
57
|
+
and SSP images, `--clean` wipes the scheduler's volume (replica and WAL, not SurrealDB
|
|
58
|
+
data). `-y` is required in CI because the SurrealDB prompt cannot be answered
|
|
59
|
+
non-interactively.
|
|
60
|
+
- **`spky migrate prod`** — apply pending migrations plus the internal Sp00ky schema to the
|
|
61
|
+
deployment, without a full deploy. Set `SPKY_DB_HTTP_TIMEOUT_SECS` if the internal schema
|
|
62
|
+
step times out.
|
|
46
63
|
|
|
47
64
|
## Schema annotations the parser recognizes
|
|
48
65
|
|