agentic-scaffold 0.1.3 → 0.1.4
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/CHANGELOG.md +11 -0
- package/README.md +13 -1
- package/dist/{chunk-WGT6VR2C.js → chunk-END2G5DQ.js} +1 -1
- package/dist/{chunk-ENKHKKTS.js → chunk-QERRFPOW.js} +1 -1
- package/dist/{chunk-QLQX3SPS.js → chunk-RIM2G6BQ.js} +2 -2
- package/dist/cli.js +2 -2
- package/dist/index.js +2 -2
- package/dist/mcp-bin.js +7 -5
- package/dist/mcp.js +3 -3
- package/dist/worker.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,17 @@ All notable changes to this package are in this file. The format follows
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the package uses
|
|
5
5
|
[Semantic Versioning](https://semver.org/).
|
|
6
6
|
|
|
7
|
+
## 0.1.4 - 2026-10-29
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- `agentic-scaffold-mcp mcp --help`, `-h`, `--version` and `-V` print and exit 0 without starting the MCP server. The bin read only its first argument, so the `mcp` word started the server and it waited on stdin.
|
|
12
|
+
- The `agentic-scaffold-mcp` usage line names the real bin. It said `agentic-pack-mcp`.
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- Tests run the built mcp bin with the `mcp` forms of these flags and check the usage names `agentic-scaffold-mcp`.
|
|
17
|
+
|
|
7
18
|
## 0.1.3 - 2026-10-29
|
|
8
19
|
|
|
9
20
|
### Removed
|
package/README.md
CHANGED
|
@@ -48,6 +48,17 @@ Start MCP with `npx agentic-scaffold mcp`. Preview routing with `npx agentic-sca
|
|
|
48
48
|
|
|
49
49
|
`POST /summarize` is gone. Use `POST /api/v1/summarize`. It needs `Authorization: Bearer <key>` and a principal with the `text:read` scope. A missing or bad key gets 401. A key without the scope gets 403. Set the `AUTH_TOKENS` secret to a JSON object of bearer token (32 bytes or more) to `kind:name`, or to `{ "as": "kind:name", "scopes": ["text:read"] }`. A bad entry refuses the whole table. If `AUTH_TOKENS` is missing, the route answers 503. `GET /health` stays open.
|
|
50
50
|
|
|
51
|
+
## Smoke test of the published packages
|
|
52
|
+
|
|
53
|
+
`scripts/npm-smoke.mjs` installs each published suite package from npm in a clean temp dir. It runs the CLI and MCP `--help` and `--version`, and imports the main export and the SDK client in Node 22. It prints a pass/fail table and exits 1 on any failure.
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
node scripts/npm-smoke.mjs # all packages
|
|
57
|
+
node scripts/npm-smoke.mjs agentic-link # one package
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
The `npm-smoke` workflow runs it every day and on demand. The table goes to the job summary.
|
|
61
|
+
|
|
51
62
|
## Limits
|
|
52
63
|
|
|
53
64
|
This starter has zero vendor-specific integrations. Local dispatch creates a receipt without external delivery.
|
|
@@ -68,10 +79,11 @@ node dist/cli.js summary --text "hello world hello"
|
|
|
68
79
|
Replace `__PACK_NAME__`, `__NPM_NAME__`, `__PACK_COMMAND__`, `__PACK_DESCRIPTION__`, `__PACK_KEYWORDS__`, and `__GITHUB_USER__` wherever they appear.
|
|
69
80
|
Check `AGENTS.md`, `SKILL.md`, `RULES.md`, `llms.txt`, `server.json`, `.mcp.json`, and `wrangler.jsonc`.
|
|
70
81
|
Update package identity, bin commands, `mcpName`, and `DEFAULT_BRAND` in `src/index.ts`.
|
|
82
|
+
The MCP bin's usage line in `src/mcp-bin.ts` names `agentic-scaffold-mcp` as text, so rename it there too.
|
|
71
83
|
Set the MCP manifest version and repository ID before publishing your own package.
|
|
72
84
|
|
|
73
85
|
The repository includes a shared core contract and a publish workflow. Inspect that workflow before adopting its release process.
|
|
74
|
-
Version 0.1.
|
|
86
|
+
Version 0.1.4 is an early starter release; interfaces can change. See [CHANGELOG.md](CHANGELOG.md).
|
|
75
87
|
|
|
76
88
|
## License
|
|
77
89
|
|
|
@@ -206,7 +206,7 @@ function summarizeText(text, options = {}) {
|
|
|
206
206
|
|
|
207
207
|
// src/version.ts
|
|
208
208
|
import { createRequire } from "module";
|
|
209
|
-
var VERSION = true ? "0.1.
|
|
209
|
+
var VERSION = true ? "0.1.4" : readPackageVersion();
|
|
210
210
|
|
|
211
211
|
export {
|
|
212
212
|
defineBrand,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_BRAND
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QERRFPOW.js";
|
|
4
4
|
import {
|
|
5
5
|
GuardError,
|
|
6
6
|
LocalRouterAdapter,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
dispatchText,
|
|
10
10
|
getCostReport,
|
|
11
11
|
summarizeText
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-END2G5DQ.js";
|
|
13
13
|
|
|
14
14
|
// src/mcp.ts
|
|
15
15
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
package/dist/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
DEFAULT_BRAND
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QERRFPOW.js";
|
|
5
5
|
import {
|
|
6
6
|
GuardError,
|
|
7
7
|
LocalRouterAdapter,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
dispatchText,
|
|
11
11
|
getCostReport,
|
|
12
12
|
summarizeText
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-END2G5DQ.js";
|
|
14
14
|
|
|
15
15
|
// src/cli.ts
|
|
16
16
|
import { readFileSync, realpathSync } from "fs";
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_BRAND
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QERRFPOW.js";
|
|
4
4
|
import {
|
|
5
5
|
GuardError,
|
|
6
6
|
HttpRouterAdapter,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
recordCost,
|
|
17
17
|
resetCosts,
|
|
18
18
|
summarizeText
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-END2G5DQ.js";
|
|
20
20
|
export {
|
|
21
21
|
DEFAULT_BRAND,
|
|
22
22
|
GuardError,
|
package/dist/mcp-bin.js
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
startMcp
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RIM2G6BQ.js";
|
|
5
5
|
import {
|
|
6
6
|
DEFAULT_BRAND
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QERRFPOW.js";
|
|
8
8
|
import {
|
|
9
9
|
VERSION
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-END2G5DQ.js";
|
|
11
11
|
|
|
12
12
|
// src/mcp-bin.ts
|
|
13
|
-
var
|
|
13
|
+
var argv = process.argv.slice(2);
|
|
14
|
+
var args = argv[0] === "mcp" ? argv.slice(1) : argv;
|
|
15
|
+
var flag = args[0];
|
|
14
16
|
if (flag === "--help" || flag === "-h") {
|
|
15
17
|
console.log(`${DEFAULT_BRAND.name} ${VERSION}
|
|
16
|
-
Usage:
|
|
18
|
+
Usage: agentic-scaffold-mcp [mcp] [--help | --version]
|
|
17
19
|
Starts the MCP server on stdio.`);
|
|
18
20
|
process.exit(0);
|
|
19
21
|
}
|
package/dist/mcp.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createMcpServer,
|
|
3
3
|
startMcp
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-RIM2G6BQ.js";
|
|
5
|
+
import "./chunk-QERRFPOW.js";
|
|
6
|
+
import "./chunk-END2G5DQ.js";
|
|
7
7
|
export {
|
|
8
8
|
createMcpServer,
|
|
9
9
|
startMcp
|
package/dist/worker.js
CHANGED
package/package.json
CHANGED