werkmeister 0.30.0 → 0.33.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.
- package/CONVENTIONS.md +3 -3
- package/README.md +2 -2
- package/dist/NOTICE +3 -3
- package/dist/main.js +438 -435
- package/dist/mcp.js +324 -322
- package/dist/sandbox-workspaces.vsix +0 -0
- package/infra/compose/shared-infra.yml +5 -0
- package/infra/schemas/services-fragment.schema.json +1 -1
- package/infra/templates/docker-compose.feature.yml.njk +2 -2
- package/package.json +7 -5
- package/werkmeister +2 -2
- package/infra/compose/scripts/otel-init.bundle.js +0 -63606
package/CONVENTIONS.md
CHANGED
|
@@ -16,7 +16,7 @@ by other tooling, so they are not free to drift.
|
|
|
16
16
|
Runtime data dirs live alongside the source: `infra/`, `bin/`.
|
|
17
17
|
Path resolution: package root = `WERKMEISTER_ROOT` / `SANDBOX_ROOT` env, else the first
|
|
18
18
|
ancestor holding `apps/cli` (`sandboxRoot()` / `infraRoot()` in
|
|
19
|
-
`packages/
|
|
19
|
+
`packages/werkmeister-core/src/config.ts`, re-exported by `src/lib/config.ts` as
|
|
20
20
|
`getSandboxRoot()` / `getInfraRoot()`).
|
|
21
21
|
|
|
22
22
|
## Language
|
|
@@ -34,13 +34,13 @@ ancestor holding `apps/cli` (`sandboxRoot()` / `infraRoot()` in
|
|
|
34
34
|
verbatim with other consumers, so the environment options in `generate.ts`
|
|
35
35
|
(autoescape, trim/lstrip) are load-bearing — see the notes there before
|
|
36
36
|
touching them.
|
|
37
|
-
- Subprocesses go through `packages/
|
|
37
|
+
- Subprocesses go through `packages/werkmeister-core/src/proc.ts` (spawnSync-based, synchronous):
|
|
38
38
|
- `run(cmd: string[], opts)` → `{ status, stdout, stderr }`; `check: true` throws `ProcError`.
|
|
39
39
|
- `capture(cmd)` → trimmed stdout, throws on failure.
|
|
40
40
|
- Streaming/inherit-stdio cases: pass `stdio: "inherit"`.
|
|
41
41
|
- `timeout` is in **seconds**, not milliseconds.
|
|
42
42
|
- Filesystem work uses the sync `node:fs` API (`readFileSync` etc.) plus `node:path`.
|
|
43
|
-
- ANSI colors come from `packages/
|
|
43
|
+
- ANSI colors come from `packages/werkmeister-core/src/colors.ts` — the single definition site.
|
|
44
44
|
- `console.error` for stderr, `console.log` for stdout.
|
|
45
45
|
- `process.exit(n)` for exit codes. Thrown errors reach `main`, which prints
|
|
46
46
|
`Error: <msg>` in red and exits 1; `SANDBOX_DEBUG` re-raises with a stack.
|
package/README.md
CHANGED
|
@@ -51,8 +51,8 @@ feature name (`infra` plus the workspaces under the workspaces root).
|
|
|
51
51
|
nunjucks with a small compat layer (`{% do %}`, dict truthiness,
|
|
52
52
|
`map(attribute=…)`) so they stay shared verbatim with other consumers
|
|
53
53
|
- `sandbox mcp` runs the one MCP server over stdio. Its source is
|
|
54
|
-
`apps/mcp`, bundled into `dist/mcp.js` by `esbuild.mjs` so it ships in the npm
|
|
54
|
+
`apps/werkmeister-mcp`, bundled into `dist/mcp.js` by `esbuild.mjs` so it ships in the npm
|
|
55
55
|
package. `sandbox dashboard` runs the localhost workspaces dashboard from
|
|
56
|
-
`apps/
|
|
56
|
+
`apps/werkmeister-dashboard`, which is checkout-only
|
|
57
57
|
- interactive prompts and process-spawn edges are async (`run()` is
|
|
58
58
|
`async` throughout); core logic stays synchronous
|
package/dist/NOTICE
CHANGED
|
@@ -5,9 +5,9 @@ This product includes software developed by Jay Boyer.
|
|
|
5
5
|
The werkmeister npm package bundles third-party packages into dist/*.js under
|
|
6
6
|
the MIT, ISC, BSD-2-Clause and BSD-3-Clause licences. Their names, versions and
|
|
7
7
|
licence texts are in dist/THIRD-PARTY-LICENSES.txt. The bundled VS Code
|
|
8
|
-
extension (dist/sandbox-workspaces.vsix) and
|
|
9
|
-
also
|
|
10
|
-
packages carries an Apache NOTICE file.
|
|
8
|
+
extension (dist/sandbox-workspaces.vsix) carries its own LICENSE, NOTICE and
|
|
9
|
+
THIRD-PARTY-LICENSES.txt. It also contains Apache-2.0, BSD-3-Clause, ISC, MIT
|
|
10
|
+
and Unlicense code. None of these packages carries an Apache NOTICE file.
|
|
11
11
|
|
|
12
12
|
Every dependency, required program, container image and optional integration,
|
|
13
13
|
with its licence: docs/third-party.md
|