@archstone/cli 0.1.0 → 0.2.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 +37 -0
- package/package.json +11 -4
package/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# @archstone/cli
|
|
2
|
+
|
|
3
|
+
The `archstone` command — compiles a Capability Definition Language (CDL) manifest to a
|
|
4
|
+
target-agnostic IR and serves it as MCP tools an AI agent can call.
|
|
5
|
+
|
|
6
|
+
Part of [Archstone](https://github.com/Archstone-Romania/archstone), an open-source
|
|
7
|
+
**Capability Platform**: a company describes what it can do in CDL (business only, no
|
|
8
|
+
integration code); Archstone compiles that to IR; an emitter turns the IR into tools an
|
|
9
|
+
agent can discover and call.
|
|
10
|
+
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install -g @archstone/cli
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Compile a manifest: parse -> validate -> lower to IR, print a human report
|
|
21
|
+
archstone apply path/to/manifest
|
|
22
|
+
|
|
23
|
+
# Serve the compiled tools to an AI agent as MCP over stdio
|
|
24
|
+
archstone serve path/to/manifest
|
|
25
|
+
|
|
26
|
+
# Replay a binding's golden fixture against the live backend; detect provider drift
|
|
27
|
+
archstone verify path/to/manifest
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
A manifest directory contains `capabilities.yaml`, `*.capability.yaml`, `*.resource.yaml`,
|
|
31
|
+
and `bindings/*.binding.yaml` — see the
|
|
32
|
+
[main repository README](https://github.com/Archstone-Romania/archstone#readme) and
|
|
33
|
+
`examples/manifests/` for the full format and worked examples.
|
|
34
|
+
|
|
35
|
+
## License
|
|
36
|
+
|
|
37
|
+
Apache-2.0
|
package/package.json
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@archstone/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "CLI (#1): archstone apply — wires the pipeline (parse -> validate -> IR -> runtime).",
|
|
7
|
+
"license": "Apache-2.0",
|
|
8
|
+
"homepage": "https://archstone.dev",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/Archstone-Romania/archstone.git",
|
|
12
|
+
"directory": "packages/cli"
|
|
13
|
+
},
|
|
7
14
|
"main": "./dist/index.js",
|
|
8
15
|
"bin": {
|
|
9
16
|
"archstone": "./dist/index.js"
|
|
@@ -15,9 +22,9 @@
|
|
|
15
22
|
"access": "public"
|
|
16
23
|
},
|
|
17
24
|
"dependencies": {
|
|
18
|
-
"@archstone/compiler": "0.
|
|
19
|
-
"@archstone/runtime": "0.
|
|
20
|
-
"@archstone/schema": "0.
|
|
25
|
+
"@archstone/compiler": "0.2.2",
|
|
26
|
+
"@archstone/runtime": "0.2.2",
|
|
27
|
+
"@archstone/schema": "0.2.2"
|
|
21
28
|
},
|
|
22
29
|
"devDependencies": {
|
|
23
30
|
"tsup": "^8.5.1"
|