@brightbeamai/chap-coordinator-mcp 0.2.9 → 0.2.10
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/dist/cli.cjs +15423 -0
- package/dist/cli.cjs.map +1 -0
- package/dist/cli.d.cts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +15405 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.cjs +17 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +17 -2
- package/dist/index.js.map +1 -1
- package/dist/schemas.cjs +15 -0
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +2 -0
- package/dist/schemas.d.ts +2 -0
- package/dist/schemas.js +15 -0
- package/dist/schemas.js.map +1 -1
- package/dist/tools.cjs +1 -1
- package/dist/tools.cjs.map +1 -1
- package/dist/tools.js +1 -1
- package/dist/tools.js.map +1 -1
- package/package.json +12 -4
package/dist/index.cjs
CHANGED
|
@@ -14712,6 +14712,11 @@ var SCHEMAS = {
|
|
|
14712
14712
|
workspace: WORKSPACE_ID,
|
|
14713
14713
|
from: PARTICIPANT_URI,
|
|
14714
14714
|
task_id: TASK_ID,
|
|
14715
|
+
approved_artefact_digest: {
|
|
14716
|
+
type: "string",
|
|
14717
|
+
pattern: "^sha256:[0-9a-f]{64}$",
|
|
14718
|
+
description: "Optional. SHA-256 over the JCS canonicalisation of the artefact under review, as `sha256:<hex>`. Binds the decision to the exact content reviewed; refused with -32074 on mismatch."
|
|
14719
|
+
},
|
|
14715
14720
|
comment: { type: "string" },
|
|
14716
14721
|
tags: { type: "array", items: { type: "string" } }
|
|
14717
14722
|
},
|
|
@@ -14723,6 +14728,11 @@ var SCHEMAS = {
|
|
|
14723
14728
|
workspace: WORKSPACE_ID,
|
|
14724
14729
|
from: PARTICIPANT_URI,
|
|
14725
14730
|
task_id: TASK_ID,
|
|
14731
|
+
approved_artefact_digest: {
|
|
14732
|
+
type: "string",
|
|
14733
|
+
pattern: "^sha256:[0-9a-f]{64}$",
|
|
14734
|
+
description: "Optional. SHA-256 over the JCS canonicalisation of the artefact under review, as `sha256:<hex>`. Binds the decision to the exact content reviewed; refused with -32074 on mismatch."
|
|
14735
|
+
},
|
|
14726
14736
|
comment: { type: "string" },
|
|
14727
14737
|
tags: { type: "array", items: { type: "string" } },
|
|
14728
14738
|
request_revision: { type: "boolean", description: "If true, task returns to in_progress instead of declined." }
|
|
@@ -14732,6 +14742,11 @@ var SCHEMAS = {
|
|
|
14732
14742
|
"chap.decide.override": {
|
|
14733
14743
|
type: "object",
|
|
14734
14744
|
properties: {
|
|
14745
|
+
approved_artefact_digest: {
|
|
14746
|
+
type: "string",
|
|
14747
|
+
pattern: "^sha256:[0-9a-f]{64}$",
|
|
14748
|
+
description: "Optional. SHA-256 over the JCS canonicalisation of the artefact under review, as `sha256:<hex>`. Binds the decision to the exact content reviewed; refused with -32074 on mismatch."
|
|
14749
|
+
},
|
|
14735
14750
|
workspace: WORKSPACE_ID,
|
|
14736
14751
|
from: PARTICIPANT_URI,
|
|
14737
14752
|
task_id: TASK_ID,
|
|
@@ -15199,7 +15214,7 @@ var TOOL_DESCRIPTIONS = {
|
|
|
15199
15214
|
// audit-scitt/1.0
|
|
15200
15215
|
"chap.audit.submit_to_scitt": "Build COSE_Sign1-shaped audit statements for a range of envelopes and submit them to the configured SCITT transparency service.",
|
|
15201
15216
|
"chap.audit.verify_receipt": "Verify a SCITT receipt against the configured verifier.",
|
|
15202
|
-
"chap.audit.verify_chain": "Verify the local prev-hash chain across a workspace's audit log."
|
|
15217
|
+
"chap.audit.verify_chain": "Verify the local prev-hash chain across a workspace's audit log. Only status verified with ok true means the log was checked and is intact. Status not_evaluated with ok false means part of the log was never checked, so its integrity is unknown and must not be reported as verified; entries_unchecked says how much. Errors mean the chain is broken or absent."
|
|
15203
15218
|
};
|
|
15204
15219
|
|
|
15205
15220
|
// src/envelope.ts
|
|
@@ -15263,7 +15278,7 @@ var ServerDiscoverRequestSchema = external_exports.object({
|
|
|
15263
15278
|
function makeChapMcpServer(coord, options = {}) {
|
|
15264
15279
|
const serverInfo = {
|
|
15265
15280
|
name: options.name ?? "chap",
|
|
15266
|
-
version: options.version ?? "0.2.
|
|
15281
|
+
version: options.version ?? "0.2.10"
|
|
15267
15282
|
};
|
|
15268
15283
|
const server = new import_server.Server(
|
|
15269
15284
|
serverInfo,
|