@pegma/knowledge-base-mcp 0.1.0 → 0.1.1

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 (3) hide show
  1. package/README.md +22 -15
  2. package/dist/mcp.js +1 -1
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -2,13 +2,14 @@
2
2
 
3
3
  Optional KB-04 agent transport source for Pegma Knowledge Base. This package
4
4
  adapts the authorized application API to bounded agent commands and the Model
5
- Context Protocol. It is unpublished at `0.1.0`; merging its source does not
6
- publish it or establish a live hosted Knowledge Base.
5
+ Context Protocol. Hosts compose it with their protected Knowledge Base
6
+ endpoints; the package does not supply a hosted service.
7
7
 
8
8
  The contracts, core, and application packages remain independent of MCP, HTTP,
9
9
  provider SDKs, and login flows. Hosts choose this adapter when exposing agent
10
10
  access. The adapter pins `@modelcontextprotocol/sdk` at `1.32.2` and `zod` at
11
- `4.6.7`; it composes the same exact `0.1.0` Knowledge Base packages.
11
+ `4.6.7`; it composes the matching exact Knowledge Base package versions declared
12
+ in its dependencies.
12
13
 
13
14
  The MCP adapter explicitly uses the SDK's Workers-compatible JSON Schema
14
15
  validator, which requires no generated code. Its `@cfworker/json-schema`
@@ -43,9 +44,9 @@ or private evidence and provenance.
43
44
  through host-configured protected endpoints. Both require fresh host
44
45
  authentication and admission control on every request; neither issues tokens.
45
46
 
46
- The [host composition contract](https://github.com/pegma-dev/knowledge-base/blob/main/docs/HOST_COMPOSITION.md)
47
+ The [host composition contract](https://github.com/pegma-dev/knowledge-base/blob/v0.1.1/docs/HOST_COMPOSITION.md)
47
48
  describes authenticated contexts, trusted evidence, replay, and safe DTOs. The
48
- [retrieval contract](https://github.com/pegma-dev/knowledge-base/blob/main/docs/RETRIEVAL.md)
49
+ [retrieval contract](https://github.com/pegma-dev/knowledge-base/blob/v0.1.1/docs/RETRIEVAL.md)
49
50
  describes authoritative current-publication confirmation and audience boundaries.
50
51
 
51
52
  ## Local verification and release
@@ -62,21 +63,27 @@ pnpm run release:check
62
63
  pnpm run agent:proof
63
64
  ```
64
65
 
65
- `release:check` packs and installs all four unpublished Knowledge Base packages
66
+ `release:check` packs and installs all four prepared Knowledge Base packages
66
67
  in an isolated temporary consumer, verifies their actual artifact bytes and
67
68
  inventory, and imports their public entry points without workspace links.
68
- `agent:proof` exercises the authenticated SDK path with a pinned public Agent
69
- Access producer packed only into a temporary test consumer. That producer
70
- source is a test fixture, not a production release substitute or package
71
- dependency. These local checks establish neither live host acceptance nor npm
69
+ `agent:proof` exercises the authenticated SDK path with an exact released Agent
70
+ Access registry producer and the four packed KB artifacts in a fresh temporary
71
+ consumer, with lifecycle scripts disabled. Agent Access remains a proof
72
+ dependency rather than this package's runtime dependency. These local checks
73
+ establish neither live host acceptance nor KB trusted npm
72
74
  publication.
73
75
 
74
76
  Each package has its own README, MIT LICENSE, build-on-prepack hook, and
75
- compiled-test exclusion. All four package versions remain synchronized at
76
- `0.1.0`. First publication, release tags, trusted-publisher configuration, and
77
+ compiled-test exclusion. All four package versions remain synchronized with
78
+ exact internal dependency pins. Publishing, release tags, trusted-publisher configuration, and
77
79
  host activation are separate maintainer operations in the
78
- [release procedure](https://github.com/pegma-dev/knowledge-base/blob/main/docs/RELEASING.md).
79
- Development links above track `main`; release preparation must pin verified
80
- release documentation before first publication.
80
+ [release procedure](https://github.com/pegma-dev/knowledge-base/blob/v0.1.1/docs/RELEASING.md).
81
+ Documentation links target this package's release tag rather than development
82
+ `main`. During release preparation that tag may still be pending; it is created
83
+ after the reviewed merge and before publishing. Source readers can use the
84
+ explicitly moving
85
+ [DEVELOPMENT documentation on main](https://github.com/pegma-dev/knowledge-base/blob/main/docs/HOST_COMPOSITION.md)
86
+ while preparing a release. The versioned contract references remain tag-pinned;
87
+ the DEVELOPMENT link is a source-reader fallback.
81
88
 
82
89
  Built in the open by RetireGolden, LLC.
package/dist/mcp.js CHANGED
@@ -243,7 +243,7 @@ export function createKnowledgeAgentMcp(options) {
243
243
  // An omitted generator is the SDK's explicit stateless mode.
244
244
  maxRequestBodySize: dispatcher.limits.maxRequestBytes,
245
245
  });
246
- const server = new Server({ name: "@pegma/knowledge-base-mcp", version: "0.1.0" }, {
246
+ const server = new Server({ name: "@pegma/knowledge-base-mcp", version: "0.1.1" }, {
247
247
  capabilities: { tools: {} },
248
248
  // Workers prohibit the runtime code generation used by SDK-default AJV.
249
249
  jsonSchemaValidator: new CfWorkerJsonSchemaValidator(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pegma/knowledge-base-mcp",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Optional MCP transport for authorized Pegma knowledge authoring and validation.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -32,9 +32,9 @@
32
32
  "@cfworker/json-schema": "4.1.6",
33
33
  "@modelcontextprotocol/sdk": "1.32.2",
34
34
  "@pegma/authorization-core": "0.4.0",
35
- "@pegma/knowledge-base-application": "0.1.0",
36
- "@pegma/knowledge-base-contracts": "0.1.0",
37
- "@pegma/knowledge-base-core": "0.1.0",
35
+ "@pegma/knowledge-base-application": "0.1.1",
36
+ "@pegma/knowledge-base-contracts": "0.1.1",
37
+ "@pegma/knowledge-base-core": "0.1.1",
38
38
  "zod": "4.6.7"
39
39
  },
40
40
  "scripts": {