stackcanvas 0.2.2 → 0.2.3
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 +14 -8
- package/dist/cli.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# stackcanvas
|
|
2
2
|
|
|
3
|
-
Live infrastructure canvas for [Claude Code](https://claude.com/claude-code).
|
|
3
|
+
Live infrastructure canvas for AI coding agents — any agent that speaks [MCP](https://modelcontextprotocol.io) ([Claude Code](https://claude.com/claude-code) is the CI-verified path).
|
|
4
4
|
The agent writes and plans your Terraform — stackcanvas shows it as a living
|
|
5
5
|
diagram. Drag new resources onto the canvas; the agent turns them into
|
|
6
6
|
idiomatic HCL. No SaaS, no credentials leave your machine: everything runs on
|
|
@@ -23,7 +23,13 @@ localhost, reading your local state and plan.
|
|
|
23
23
|
canvas highlights what will change. Only the agent executes Terraform —
|
|
24
24
|
the canvas has no apply button by design.
|
|
25
25
|
|
|
26
|
-
## Install
|
|
26
|
+
## Install
|
|
27
|
+
|
|
28
|
+
stackcanvas is a standard MCP stdio server (`npx -y stackcanvas`) — point any
|
|
29
|
+
MCP-capable coding agent at it. The paths below, in order of how battle-tested
|
|
30
|
+
they are:
|
|
31
|
+
|
|
32
|
+
### Claude Code (CI-verified)
|
|
27
33
|
|
|
28
34
|
claude plugin marketplace add pshenok/stackcanvas
|
|
29
35
|
claude plugin install stackcanvas@stackcanvas
|
|
@@ -42,12 +48,12 @@ Or without the plugin system:
|
|
|
42
48
|
Then, inside a repo with Terraform, just ask: *open the stackcanvas canvas
|
|
43
49
|
for this repo*.
|
|
44
50
|
|
|
45
|
-
|
|
51
|
+
### Other MCP clients
|
|
46
52
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
work
|
|
50
|
-
|
|
53
|
+
The snippets below are **reported to work; not yet CI-verified** — only the
|
|
54
|
+
Claude Code path above is exercised in CI. Codex CLI and other MCP-capable
|
|
55
|
+
agents should work with the equivalent stdio config (`npx -y stackcanvas`) —
|
|
56
|
+
untested, reports welcome in issues.
|
|
51
57
|
|
|
52
58
|
**Cursor** (`.cursor/mcp.json`):
|
|
53
59
|
|
|
@@ -106,7 +112,7 @@ to pin it — both take precedence over auto-detection.
|
|
|
106
112
|
|
|
107
113
|
## Demo
|
|
108
114
|
|
|
109
|
-
`examples/demo` contains a small AWS config. Run `terraform init && terraform plan -out=tfplan && terraform show -json tfplan > .stackcanvas/plan.json` there and open the canvas to see create-highlighting. `plan` does not create or modify any resources — nothing is provisioned until `terraform apply` (note: the AWS provider still needs credentials and makes read-only API calls during plan).
|
|
115
|
+
`examples/local-demo` is a **zero-credential** playground: `terraform init && terraform apply -auto-approve` creates real state using only local providers (no cloud account touched), and the canvas renders it — including sensitive masking on the generated password. `examples/demo` contains a small AWS config. Run `terraform init && terraform plan -out=tfplan && terraform show -json tfplan > .stackcanvas/plan.json` there and open the canvas to see create-highlighting. `plan` does not create or modify any resources — nothing is provisioned until `terraform apply` (note: the AWS provider still needs credentials and makes read-only API calls during plan).
|
|
110
116
|
|
|
111
117
|
## Telemetry
|
|
112
118
|
|
package/dist/cli.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stackcanvas",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/cli.js",
|
|
6
6
|
"bin": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@types/node": "^22.0.0",
|
|
30
30
|
"tsup": "^8.0.0"
|
|
31
31
|
},
|
|
32
|
-
"description": "Live infrastructure canvas for
|
|
32
|
+
"description": "Live infrastructure canvas for AI coding agents (MCP): see what your agent is about to do to your Terraform \u2014 and approve it \u2014 before it happens. Local-first, credentials never leave your machine.",
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"repository": {
|
|
35
35
|
"type": "git",
|