@remembrance-ai/mcp-server 0.2.26 → 0.2.28

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/server.js CHANGED
@@ -24953,6 +24953,86 @@ var proposedSkillMetadataSchema = external_exports.object({
24953
24953
  rationale: external_exports.string().trim().min(1).max(PROPOSED_METADATA_MAX_RATIONALE_LENGTH),
24954
24954
  model: external_exports.string().trim().min(1).max(PROPOSED_METADATA_MAX_MODEL_LENGTH)
24955
24955
  });
24956
+ var organizationReviewText = external_exports.string().trim().min(1).max(2e3);
24957
+ var organizationReviewReference = external_exports.string().trim().min(1).max(MAX_SHORT_TEXT_LENGTH);
24958
+ var organizationReviewSourceBasisSchema = external_exports.object({
24959
+ source_quote: external_exports.string().min(1).max(MAX_LONG_TEXT_LENGTH),
24960
+ warrant: organizationReviewText,
24961
+ claim_status: external_exports.enum([
24962
+ "present_unresolved",
24963
+ "resolved",
24964
+ "hypothetical",
24965
+ "absent"
24966
+ ]),
24967
+ preserves_scope_and_modality: external_exports.boolean()
24968
+ }).strict();
24969
+ var organizationReviewEvidenceFields = {
24970
+ evidence_assessments: external_exports.array(
24971
+ external_exports.object({
24972
+ outcome_id: organizationReviewReference,
24973
+ relation: external_exports.enum([
24974
+ "supporting",
24975
+ "contradicting",
24976
+ "irrelevant",
24977
+ "unknown"
24978
+ ]),
24979
+ reason: organizationReviewText
24980
+ }).strict()
24981
+ ).max(10).optional()
24982
+ };
24983
+ var organizationReviewAssessmentSchema = external_exports.discriminatedUnion("kind", [
24984
+ external_exports.object({
24985
+ kind: external_exports.literal("observation"),
24986
+ reason: organizationReviewText,
24987
+ ...organizationReviewEvidenceFields
24988
+ }).strict(),
24989
+ external_exports.object({
24990
+ kind: external_exports.literal("evidence_waiting"),
24991
+ reason: organizationReviewText,
24992
+ ...organizationReviewEvidenceFields,
24993
+ // Optional for historical protected-artifact reads; new active work must
24994
+ // supply and source-bind this witness through the normal completion gate.
24995
+ source_basis: organizationReviewSourceBasisSchema.optional(),
24996
+ claim: external_exports.object({
24997
+ statement: organizationReviewText,
24998
+ supporting_outcome: organizationReviewText,
24999
+ contradicting_outcome: organizationReviewText,
25000
+ skill_slug: organizationReviewReference.nullable(),
25001
+ skill_version_id: organizationReviewReference.nullable(),
25002
+ conditions: external_exports.array(organizationReviewText).max(12)
25003
+ }).strict()
25004
+ }).strict(),
25005
+ external_exports.object({
25006
+ kind: external_exports.literal("amendment"),
25007
+ reason: organizationReviewText,
25008
+ ...organizationReviewEvidenceFields,
25009
+ requested_change: organizationReviewText,
25010
+ source_quote: external_exports.string().min(1).max(MAX_LONG_TEXT_LENGTH),
25011
+ skill_slug: organizationReviewReference.nullable(),
25012
+ skill_version_id: organizationReviewReference.nullable(),
25013
+ draft_mode: external_exports.enum([
25014
+ "append_addendum",
25015
+ "requires_authoring",
25016
+ "refresh_public_source"
25017
+ ]).default("requires_authoring")
25018
+ }).strict(),
25019
+ external_exports.object({
25020
+ kind: external_exports.literal("human_decision"),
25021
+ reason: organizationReviewText,
25022
+ ...organizationReviewEvidenceFields,
25023
+ question: organizationReviewText,
25024
+ authorized_role: external_exports.literal("organization_admin"),
25025
+ decision_scope: external_exports.enum([
25026
+ "access",
25027
+ "policy",
25028
+ "safety_exception",
25029
+ "irreducible_choice"
25030
+ ]),
25031
+ approve_effect: organizationReviewText,
25032
+ decline_effect: organizationReviewText,
25033
+ defer_effect: organizationReviewText
25034
+ }).strict()
25035
+ ]);
24956
25036
  var verifierOutputSchema = external_exports.object({
24957
25037
  recommended_action: verifierActionSchema,
24958
25038
  confidence: external_exports.number().min(0).max(1),
@@ -24978,7 +25058,12 @@ var verifierOutputSchema = external_exports.object({
24978
25058
  // or malformed topology fragment must not discard an otherwise valid safety
24979
25059
  // verdict; it degrades to null, which the topology router retains as
24980
25060
  // evidence-only rather than allowing an unclassified mutation.
24981
- topology_assessment: skillTopologyAssessmentSchema.nullable().default(null).catch(null)
25061
+ topology_assessment: skillTopologyAssessmentSchema.nullable().default(null).catch(null),
25062
+ // Explicit dispositions are unverified service work, even beside a conflicting
25063
+ // raw accept. Null preserves ordinary supported verification through existing
25064
+ // gates; it adds no authority. Missing/malformed thin classifications repair
25065
+ // asynchronously. Older external approvers retain their original protocol.
25066
+ organization_review: organizationReviewAssessmentSchema.nullable().optional().catch(null)
24982
25067
  });
24983
25068
 
24984
25069
  // ../core/src/verification-policy.ts
@@ -25443,7 +25528,7 @@ var seedSkills = [
25443
25528
  summary: "Operational setup and troubleshooting workflow for Remembrance across Claude Code, Codex, OpenClaw, Cursor, Pi, Gemini, MCP, REST, skill-only installs, enterprise keys, and local agent identity.",
25444
25529
  status: "active",
25445
25530
  visibility: "public",
25446
- version: "0.1.57",
25531
+ version: "0.1.59",
25447
25532
  domains: ["agent-skills", "mcp", "resource-discovery"],
25448
25533
  tags: [
25449
25534
  "remembrance",
@@ -25493,7 +25578,7 @@ var seedSkills = [
25493
25578
  "pi",
25494
25579
  "rest"
25495
25580
  ],
25496
- version: "0.1.57",
25581
+ version: "0.1.59",
25497
25582
  status: "active",
25498
25583
  visibility: "public",
25499
25584
  providers: ["codex", "claude", "cursor", "openclaw", "pi", "generic"],
@@ -26364,7 +26449,7 @@ paths, or raw logs. Set \`REMEMBRANCE_HEALTH_REPORTING=0\` to disable that
26364
26449
  best-effort report.
26365
26450
 
26366
26451
  If no Remembrance MCP tool is visible, run
26367
- \`npx @remembrance-ai/mcp-server@0.2.26 doctor\`. This safely verifies registry,
26452
+ \`npx @remembrance-ai/mcp-server@0.2.28 doctor\`. This safely verifies registry,
26368
26453
  credential, and catalog-read access outside the host, but it deliberately
26369
26454
  reports host registration as unobservable. Update or reinstall the native
26370
26455
  plugin, fully restart the host, then rerun \`run_connection_doctor\` inside it.
@@ -27070,7 +27155,7 @@ Restart Pi and call \`run_connection_doctor\` to confirm organization scope.
27070
27155
  ### Approve other MCP clients
27071
27156
 
27072
27157
  Register exactly \`https://remembrance.dev/api/mcp\` or the exact local
27073
- \`npx @remembrance-ai/mcp-server@0.2.26\` command. Use the recommended organization
27158
+ \`npx @remembrance-ai/mcp-server@0.2.28\` command. Use the recommended organization
27074
27159
  tool list above when the client supports tool filtering. Supply the
27075
27160
  organization key through the client's secret/header mechanism, then run
27076
27161
  \`run_connection_doctor\` and require organization scope before private writes.
@@ -27107,13 +27192,13 @@ https://remembrance.dev/api/mcp
27107
27192
  Local stdio MCP server:
27108
27193
 
27109
27194
  ~~~bash
27110
- npx @remembrance-ai/mcp-server@0.2.26
27195
+ npx @remembrance-ai/mcp-server@0.2.28
27111
27196
  ~~~
27112
27197
 
27113
27198
  Independent setup check when the host does not expose Remembrance tools:
27114
27199
 
27115
27200
  ~~~bash
27116
- npx @remembrance-ai/mcp-server@0.2.26 doctor
27201
+ npx @remembrance-ai/mcp-server@0.2.28 doctor
27117
27202
  ~~~
27118
27203
 
27119
27204
  This verifies registry, credential, and catalog-read access without submitting
@@ -72112,7 +72197,10 @@ function readCodexHookApproval(options = {}) {
72112
72197
  join13(root, "hooks", "hooks.json"),
72113
72198
  MAX_HOOKS_BYTES
72114
72199
  );
72115
- const hooks = hooksFile && expectedHooks(hooksFile.toString("utf8"));
72200
+ const hooks = hooksFile && expectedHooks(
72201
+ hooksFile.toString("utf8"),
72202
+ options.platform ?? process.platform
72203
+ );
72116
72204
  const trusted = trustedHashes(
72117
72205
  readBounded(join13(codexHome, "config.toml"), MAX_CONFIG_BYTES)?.toString(
72118
72206
  "utf8"
@@ -72139,7 +72227,7 @@ function readCodexHookApproval(options = {}) {
72139
72227
  return unknown;
72140
72228
  }
72141
72229
  }
72142
- function expectedHooks(text) {
72230
+ function expectedHooks(text, platform6) {
72143
72231
  const parsed = JSON.parse(text);
72144
72232
  if (!isRecord8(parsed) || !isRecord8(parsed.hooks) || !onlyKeys(parsed, ["hooks"])) {
72145
72233
  return null;
@@ -72152,7 +72240,13 @@ function expectedHooks(text) {
72152
72240
  const eventName = event.replace(/(?!^)[A-Z]/g, "_$&").toLowerCase();
72153
72241
  for (const [index, group] of groups.entries()) {
72154
72242
  const handler = isRecord8(group) && Array.isArray(group.hooks) ? group.hooks[0] : null;
72155
- if (!isRecord8(group) || !onlyKeys(group, ["matcher", "hooks"]) || group.matcher !== void 0 && !nonEmptyString(group.matcher) || !Array.isArray(group.hooks) || group.hooks.length !== 1 || !isRecord8(handler) || !onlyKeys(handler, ["type", "command", "timeout", "statusMessage"]) || handler.type !== "command" || !nonEmptyString(handler.command) || handler.timeout !== void 0 && !(typeof handler.timeout === "number" && Number.isSafeInteger(handler.timeout) && handler.timeout > 0) || handler.statusMessage !== void 0 && !nonEmptyString(handler.statusMessage)) {
72243
+ if (!isRecord8(group) || !onlyKeys(group, ["matcher", "hooks"]) || group.matcher !== void 0 && !nonEmptyString(group.matcher) || !Array.isArray(group.hooks) || group.hooks.length !== 1 || !isRecord8(handler) || !onlyKeys(handler, [
72244
+ "type",
72245
+ "command",
72246
+ "commandWindows",
72247
+ "timeout",
72248
+ "statusMessage"
72249
+ ]) || handler.type !== "command" || !nonEmptyString(handler.command) || handler.commandWindows !== void 0 && (!nonEmptyString(handler.commandWindows) || platform6 !== "darwin") || handler.timeout !== void 0 && !(typeof handler.timeout === "number" && Number.isSafeInteger(handler.timeout) && handler.timeout > 0) || handler.statusMessage !== void 0 && !nonEmptyString(handler.statusMessage)) {
72156
72250
  return null;
72157
72251
  }
72158
72252
  const identity2 = {
@@ -73694,7 +73788,7 @@ function inspectPrivateLearningOutbox2(input, dependencies = {}) {
73694
73788
  }
73695
73789
  var MAX_REMOTE_RESPONSE_BYTES = 4 * 1024 * 1024;
73696
73790
  var DOCTOR_PROBE_TIMEOUT_MS = 7500;
73697
- var SERVER_VERSION = true ? "0.2.26" : "0.0.0-dev";
73791
+ var SERVER_VERSION = true ? "0.2.28" : "0.0.0-dev";
73698
73792
  var tools2 = toolDefinitions;
73699
73793
  var doctorCliRequested = process.argv[2] === "doctor";
73700
73794
  var nativeContextCliRequested = process.argv[2] === "--native-context";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remembrance-ai/mcp-server",
3
- "version": "0.2.26",
3
+ "version": "0.2.28",
4
4
  "mcpName": "io.github.dreamarkinc/remembrance",
5
5
  "description": "MCP server for discovering Remembrance skills/resources and submitting agent feedback with optional TOFU attestations.",
6
6
  "license": "Apache-2.0",
package/server.json CHANGED
@@ -6,12 +6,12 @@
6
6
  "url": "https://github.com/dreamarkinc/remembrance-skills",
7
7
  "source": "github"
8
8
  },
9
- "version": "0.2.26",
9
+ "version": "0.2.28",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "@remembrance-ai/mcp-server",
14
- "version": "0.2.26",
14
+ "version": "0.2.28",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },