@jokerized/decksmith 0.1.0 → 0.1.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 +9 -1
- package/dist/mcp.js +522 -130
- package/package.json +1 -2
- package/dist/server/errors.js +0 -73
- package/dist/server/http.js +0 -504
- package/dist/server/main.js +0 -91
- package/dist/server/options.js +0 -198
- package/dist/server/pipeline.js +0 -356
- package/dist/server/queue.js +0 -195
- package/dist/server/ui.js +0 -1614
- package/dist/server/upload.js +0 -232
package/README.md
CHANGED
|
@@ -336,7 +336,7 @@ turn a document into a deck with the same settings the CLI takes.
|
|
|
336
336
|
}
|
|
337
337
|
```
|
|
338
338
|
|
|
339
|
-
Build it first with `npm run build
|
|
339
|
+
Build it first with `npm run build`. `DECKSMITH_MCP_ROOT` is the fence
|
|
340
340
|
— documents outside it are not readable, and it defaults to your home directory rather than
|
|
341
341
|
the working directory, because not every client launches a stdio server anywhere useful.
|
|
342
342
|
|
|
@@ -408,9 +408,17 @@ consequences worth knowing before you touch anything:
|
|
|
408
408
|
npmjs.com names `release.yml` exactly, and npm does not check that configuration when
|
|
409
409
|
you save it. Rename the file and publishing fails as an authentication error that says
|
|
410
410
|
nothing about a rename.
|
|
411
|
+
- **So is the environment name.** The job runs in the `release` environment and the
|
|
412
|
+
trusted publisher requires that claim, which is what stops some *other* workflow in
|
|
413
|
+
this repository from publishing. Both ends have to say `release`.
|
|
411
414
|
- **`repository.url` in `package.json` must match this repo exactly**, for the same
|
|
412
415
|
reason.
|
|
413
416
|
|
|
417
|
+
The `release` environment is also where deployment protection lives. It is restricted to
|
|
418
|
+
`v*` **tags**, so a push to a branch cannot reach it. Required reviewers would go here
|
|
419
|
+
too — GitHub gates that rule behind a paid plan for private repositories, so there is no
|
|
420
|
+
human approval step today; anyone who can push a `v*` tag can publish.
|
|
421
|
+
|
|
414
422
|
```sh
|
|
415
423
|
npm version minor # bumps package.json and tags
|
|
416
424
|
git push --follow-tags
|