@netnodeag/kraftwerk 0.46.2 → 0.48.0

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.
Files changed (31) hide show
  1. package/README.md +122 -2
  2. package/dist/cli/doctor.js +39 -1
  3. package/dist/cli/init.js +15 -8
  4. package/dist/cli/kraftwerk.js +14 -1
  5. package/dist/cli/tunnel.d.ts +10 -0
  6. package/dist/cli/tunnel.js +280 -0
  7. package/dist/cli/ui.js +13 -3
  8. package/dist/config.d.ts +55 -0
  9. package/dist/config.js +87 -1
  10. package/dist/dotenv.d.ts +40 -0
  11. package/dist/dotenv.js +84 -0
  12. package/dist/inspector/access.d.ts +32 -0
  13. package/dist/inspector/access.js +121 -0
  14. package/dist/inspector/server.js +48 -4
  15. package/inspector/dist/assets/{dist-CmOlZvwa.js → dist-BNGsfwfO.js} +1 -1
  16. package/inspector/dist/assets/{dist-BOQhQPN9.js → dist-BWkBM49t.js} +1 -1
  17. package/inspector/dist/assets/{dist-CUeUDZ9j.js → dist-Bz3XVWXl.js} +1 -1
  18. package/inspector/dist/assets/{dist-DnmDnMK2.js → dist-CmH9PvLb.js} +1 -1
  19. package/inspector/dist/assets/{dist-C2Mu5bT-.js → dist-D6fPO3Jz.js} +1 -1
  20. package/inspector/dist/assets/{dist-DfAFwiGQ.js → dist-DUq31xBw.js} +1 -1
  21. package/inspector/dist/assets/{dist-D8pjVMTl.js → dist-Dk5ZcwMb.js} +1 -1
  22. package/inspector/dist/assets/{dist-CjMETDfE.js → dist-Dv40dCIn.js} +1 -1
  23. package/inspector/dist/assets/dist-JaBY_kZV.js +1 -0
  24. package/inspector/dist/assets/{dist-BNUGzZS7.js → dist-O97r5Ket.js} +1 -1
  25. package/inspector/dist/assets/{dist-CdyUhzAt.js → dist-n8GR1Slo.js} +1 -1
  26. package/inspector/dist/assets/{editor-DJbeG376.js → editor-toVFopCO.js} +3 -3
  27. package/inspector/dist/assets/{index-DgEUOA11.js → index-CC0tY40i.js} +12 -12
  28. package/inspector/dist/index.html +1 -1
  29. package/package.json +1 -1
  30. package/schema/kraftwerk.schema.json +75 -2
  31. package/inspector/dist/assets/dist-rrIMDK_-.js +0 -1
@@ -15,7 +15,7 @@
15
15
  } catch (e) {}
16
16
  })();
17
17
  </script>
18
- <script type="module" crossorigin src="/assets/index-DgEUOA11.js"></script>
18
+ <script type="module" crossorigin src="/assets/index-CC0tY40i.js"></script>
19
19
  <link rel="stylesheet" crossorigin href="/assets/index-DQrsXEWt.css">
20
20
  </head>
21
21
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netnodeag/kraftwerk",
3
- "version": "0.46.2",
3
+ "version": "0.48.0",
4
4
  "description": "Open-source agentic workspace for teams — where people and AI agents get work done together: agents (Claude Code, Codex, Pi), skills, shared knowledge, repeatable workflows, and deterministic verification",
5
5
  "keywords": [
6
6
  "agents",
@@ -14,6 +14,11 @@
14
14
  "type": "string",
15
15
  "description": "Emoji used as the inspector favicon (browser-tab icon), e.g. \"⚡\""
16
16
  },
17
+ "color": {
18
+ "type": "string",
19
+ "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
20
+ "description": "Accent colour for this workspace in the switcher and the inspector, e.g. \"#c2410c\". Default: derived from the project root"
21
+ },
17
22
  "port": {
18
23
  "type": "integer",
19
24
  "minimum": 1,
@@ -69,7 +74,10 @@
69
74
  }
70
75
  },
71
76
  "git": {
72
- "type": ["object", "null"],
77
+ "type": [
78
+ "object",
79
+ "null"
80
+ ],
73
81
  "additionalProperties": false,
74
82
  "description": "Git sync for the workspace: commit and push knowledge, agents, skills and workflows from the inspector. Absent = feature off, a bare `git:` = on with defaults.",
75
83
  "properties": {
@@ -100,7 +108,10 @@
100
108
  }
101
109
  },
102
110
  "repos": {
103
- "type": ["object", "null"],
111
+ "type": [
112
+ "object",
113
+ "null"
114
+ ],
104
115
  "additionalProperties": false,
105
116
  "description": "Repositories: git clones the agents work on, kept under one root inside the project. Absent = feature off, a bare `repos:` = on with defaults.",
106
117
  "properties": {
@@ -113,6 +124,68 @@
113
124
  "description": "Where clones land, relative to the project root. Should be git-ignored. Default: repos"
114
125
  }
115
126
  }
127
+ },
128
+ "vibeables": {
129
+ "type": [
130
+ "object",
131
+ "null"
132
+ ],
133
+ "additionalProperties": false,
134
+ "description": "Vibeables: small apps built live in a chat with a preview pane, one folder each under the root, part of the workspace. Absent = feature off, a bare `vibeables:` = on with defaults.",
135
+ "properties": {
136
+ "enabled": {
137
+ "type": "boolean",
138
+ "description": "Turn the feature off while keeping the config. Default: true when this block exists"
139
+ },
140
+ "root": {
141
+ "type": "string",
142
+ "description": "Where the apps live, relative to the project root. Default: kraftwerk-data/vibeables"
143
+ }
144
+ }
145
+ },
146
+ "public": {
147
+ "type": "string",
148
+ "description": "Hostname the inspector is reached at through a tunnel or reverse proxy, e.g. \"https://kw.example.com\". The loopback bind then answers requests carrying that Host even without X-Forwarded-Host (cloudflared sends none)."
149
+ },
150
+ "tunnel": {
151
+ "type": [
152
+ "object",
153
+ "null"
154
+ ],
155
+ "additionalProperties": false,
156
+ "description": "Cloudflare Tunnel run by `kraftwerk ui` next to the inspector, so the loopback bind is reachable at `public` without an open port. Needs `public`. Absent = feature off, a bare `tunnel:` = on with defaults.",
157
+ "properties": {
158
+ "enabled": {
159
+ "type": "boolean",
160
+ "description": "Turn the feature off while keeping the config. Default: true when this block exists"
161
+ },
162
+ "name": {
163
+ "type": "string",
164
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
165
+ "description": "Name of a locally-managed tunnel (`cloudflared tunnel create <name>` + `cloudflared tunnel route dns <name> <public host>`); cloudflared routes everything to the inspector port. Absent: a dashboard-managed tunnel whose token is read from the TUNNEL_TOKEN environment variable"
166
+ },
167
+ "access": {
168
+ "type": "object",
169
+ "additionalProperties": false,
170
+ "required": [
171
+ "team",
172
+ "aud"
173
+ ],
174
+ "description": "Verify the Cloudflare Access token (Cf-Access-Jwt-Assertion) on every request that arrives via `public`. Recommended: the UI has no login of its own, and with this a removed Access policy fails closed",
175
+ "properties": {
176
+ "team": {
177
+ "type": "string",
178
+ "pattern": "^[A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9])?$",
179
+ "description": "Zero Trust team name: the subdomain of https://<team>.cloudflareaccess.com"
180
+ },
181
+ "aud": {
182
+ "type": "string",
183
+ "pattern": "^[a-fA-F0-9]{64}$",
184
+ "description": "Application Audience (AUD) tag of the Access application, shown on its overview page in the Zero Trust dashboard"
185
+ }
186
+ }
187
+ }
188
+ }
116
189
  }
117
190
  }
118
191
  }
@@ -1 +0,0 @@
1
- import{a as e}from"./editor-DJbeG376.js";export{e as markdown};