stateplane 0.0.0-stage → 0.1.1
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 +21 -2
- package/bin/stateplane.js +5 -0
- package/package.json +23 -3
package/README.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
-
#
|
|
1
|
+
# stateplane
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Stateplane is 21n's shared state service for all your agents: a generic owned-state service with a versioned v1
|
|
4
|
+
logical contract, a transactional Postgres authority, owned-space identity and regional policy, an HTTP/CLI v1
|
|
5
|
+
transport, remote MCP, an owner UI and a durable outbox. It is under active construction; the service runs from the
|
|
6
|
+
[21nCo/stateplane](https://github.com/21nCo/stateplane) repository.
|
|
7
|
+
|
|
8
|
+
This package is Stateplane's front door on npm: its `stateplane` command runs the Stateplane command line,
|
|
9
|
+
[`@stateplane/cli`](https://www.npmjs.com/package/@stateplane/cli), which it pins to its own version.
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
npx stateplane help
|
|
13
|
+
npx stateplane config endpoint --url https://stateplane.example.invalid/
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
`stateplane` and `@stateplane/cli` are released together, always at one version. The package has no library export;
|
|
17
|
+
scripts that call the CLI's client import `@stateplane/cli`. Requires Node.js 22.13 or newer. Docs:
|
|
18
|
+
[HTTP and CLI v1](https://github.com/21nCo/stateplane/blob/main/docs/http-cli.md).
|
|
19
|
+
|
|
20
|
+
## Versions
|
|
21
|
+
|
|
22
|
+
0.1.1 is the first release on npm: the release build of 0.1.0 failed in CI and was never published.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// `npx stateplane`: the Stateplane command line, @stateplane/cli, which this package pins to its own version.
|
|
3
|
+
import process from 'node:process';
|
|
4
|
+
import { runCli } from '@stateplane/cli';
|
|
5
|
+
process.exitCode = await runCli(process.argv.slice(2));
|
package/package.json
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stateplane",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Stateplane: shared state for all your agents. `npx stateplane` runs the Stateplane command line, @stateplane/cli.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"stateplane": "./bin/stateplane.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"bin",
|
|
12
|
+
"README.md"
|
|
13
|
+
],
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=22.13.0"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/21nCo/stateplane.git",
|
|
20
|
+
"directory": "packages/stateplane"
|
|
21
|
+
},
|
|
22
|
+
"homepage": "https://github.com/21nCo/stateplane#readme",
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@stateplane/cli": "0.1.1"
|
|
25
|
+
}
|
|
6
26
|
}
|