@remembrance-ai/mcp-server 0.2.29 → 0.2.31

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 CHANGED
@@ -1029,20 +1029,21 @@ schemas for the request and receipt fields.
1029
1029
  include a high/possible/exploratory tier, a concise reason, approximate
1030
1030
  context tokens, verified-use evidence, risk, and correlation IDs.
1031
1031
  Without an organization key, the server's relevance judge chooses what a
1032
- search is shown from the top 20 public candidates: Jev (TypeSafe, through
1033
- Vercel AI Gateway) rates each candidate first, and a language model decides
1034
- the ones Jev leaves undecided while there is time. It receives the search's
1035
- task text and public skill cards only. Every request asks for zero retention
1036
- and no prompt training; for Jev, zero retention rests on Remembrance's
1037
- account-specific agreement with TypeSafe through Vercel, which the Gateway
1038
- does not confirm. With an organization key, a search is judged only under the
1039
- organization's managed processing grant for semantic search, and Jev rates it
1040
- first only when that grant also approves TypeSafe, under the owner-attested
1041
- zero-retention agreement with TypeSafe (owner decisions 36 and 64), which
1042
- covers this judge stage and no other purpose: its task text and skill cards,
1043
- the organization's own included, go only to the hosts that grant approves,
1044
- each asked for zero retention and no prompt training. Without that grant
1045
- nothing is sent and the search keeps the rule's list.
1032
+ search is shown from the top 20 public candidates: a fast relevance model
1033
+ rates every candidate first, and a language model decides the ones the
1034
+ relevance model leaves undecided while there is time. It receives the
1035
+ search's task text and public skill cards only. Every request asks for zero
1036
+ retention and no prompt training; for the relevance model, zero retention
1037
+ rests on Remembrance's account-specific agreement with the relevance model's
1038
+ provider, which our AI gateway does not confirm. With an organization key, a
1039
+ search is judged only under the organization's managed processing grant for
1040
+ semantic search, and the relevance model rates it first only when that grant
1041
+ also approves its provider, under the owner-attested zero-retention agreement
1042
+ with that provider (owner decisions 36 and 64), which covers this judge stage
1043
+ and no other purpose: its task text and skill cards, the organization's own
1044
+ included, go only to the hosts that grant approves, each asked for zero
1045
+ retention and no prompt training. Without that grant nothing is sent and the
1046
+ search keeps the rule's list.
1046
1047
  A card shows a skill's use and exclusion conditions only where the
1047
1048
  platform generated them or a person reviewed them. A use condition only
1048
1049
  promotes a result, and only an exclusion its author stated or a person
package/dist/server.js CHANGED
@@ -25230,6 +25230,19 @@ var organizationReviewAssessmentSchema = external_exports.discriminatedUnion("ki
25230
25230
  defer_effect: organizationReviewText
25231
25231
  }).strict()
25232
25232
  ]);
25233
+ var publicReviewAssessmentSchema = external_exports.discriminatedUnion("kind", [
25234
+ organizationReviewAssessmentSchema.options[0],
25235
+ organizationReviewAssessmentSchema.options[1].extend({
25236
+ source_basis: organizationReviewSourceBasisSchema
25237
+ }),
25238
+ organizationReviewAssessmentSchema.options[2].extend({
25239
+ draft_mode: external_exports.enum(["append_addendum", "requires_authoring"]).default("requires_authoring")
25240
+ }),
25241
+ organizationReviewAssessmentSchema.options[3].extend({
25242
+ authorized_role: external_exports.literal("global_admin"),
25243
+ decision_scope: external_exports.literal("registry_governance")
25244
+ })
25245
+ ]);
25233
25246
  var verifierOutputSchema = external_exports.object({
25234
25247
  recommended_action: verifierActionSchema,
25235
25248
  confidence: external_exports.number().min(0).max(1),
@@ -25260,6 +25273,7 @@ var verifierOutputSchema = external_exports.object({
25260
25273
  // raw accept. Null preserves ordinary supported verification through existing
25261
25274
  // gates; it adds no authority. Missing/malformed thin classifications repair
25262
25275
  // asynchronously. Older external approvers retain their original protocol.
25276
+ public_review: publicReviewAssessmentSchema.nullable().optional().catch(null),
25263
25277
  organization_review: organizationReviewAssessmentSchema.nullable().optional().catch(null)
25264
25278
  });
25265
25279
 
@@ -25725,7 +25739,7 @@ var seedSkills = [
25725
25739
  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.",
25726
25740
  status: "active",
25727
25741
  visibility: "public",
25728
- version: "0.1.60",
25742
+ version: "0.1.62",
25729
25743
  domains: ["agent-skills", "mcp", "resource-discovery"],
25730
25744
  tags: [
25731
25745
  "remembrance",
@@ -25775,7 +25789,7 @@ var seedSkills = [
25775
25789
  "pi",
25776
25790
  "rest"
25777
25791
  ],
25778
- version: "0.1.60",
25792
+ version: "0.1.62",
25779
25793
  status: "active",
25780
25794
  visibility: "public",
25781
25795
  providers: ["codex", "claude", "cursor", "openclaw", "pi", "generic"],
@@ -26646,7 +26660,7 @@ paths, or raw logs. Set \`REMEMBRANCE_HEALTH_REPORTING=0\` to disable that
26646
26660
  best-effort report.
26647
26661
 
26648
26662
  If no Remembrance MCP tool is visible, run
26649
- \`npx @remembrance-ai/mcp-server@0.2.29 doctor\`. This safely verifies registry,
26663
+ \`npx @remembrance-ai/mcp-server@0.2.31 doctor\`. This safely verifies registry,
26650
26664
  credential, and catalog-read access outside the host, but it deliberately
26651
26665
  reports host registration as unobservable. Update or reinstall the native
26652
26666
  plugin, fully restart the host, then rerun \`run_connection_doctor\` inside it.
@@ -27352,7 +27366,7 @@ Restart Pi and call \`run_connection_doctor\` to confirm organization scope.
27352
27366
  ### Approve other MCP clients
27353
27367
 
27354
27368
  Register exactly \`https://remembrance.dev/api/mcp\` or the exact local
27355
- \`npx @remembrance-ai/mcp-server@0.2.29\` command. Use the recommended organization
27369
+ \`npx @remembrance-ai/mcp-server@0.2.31\` command. Use the recommended organization
27356
27370
  tool list above when the client supports tool filtering. Supply the
27357
27371
  organization key through the client's secret/header mechanism, then run
27358
27372
  \`run_connection_doctor\` and require organization scope before private writes.
@@ -27389,13 +27403,13 @@ https://remembrance.dev/api/mcp
27389
27403
  Local stdio MCP server:
27390
27404
 
27391
27405
  ~~~bash
27392
- npx @remembrance-ai/mcp-server@0.2.29
27406
+ npx @remembrance-ai/mcp-server@0.2.31
27393
27407
  ~~~
27394
27408
 
27395
27409
  Independent setup check when the host does not expose Remembrance tools:
27396
27410
 
27397
27411
  ~~~bash
27398
- npx @remembrance-ai/mcp-server@0.2.29 doctor
27412
+ npx @remembrance-ai/mcp-server@0.2.31 doctor
27399
27413
  ~~~
27400
27414
 
27401
27415
  This verifies registry, credential, and catalog-read access without submitting
@@ -71550,6 +71564,7 @@ import { closeSync as closeSync7, fstatSync as fstatSync7, lstatSync as lstatSyn
71550
71564
  import { dirname as dirname10, join as join11 } from "node:path";
71551
71565
  import { platform as platform5 } from "node:os";
71552
71566
  var ADMIN_CREDENTIAL_ISSUANCE_OPERATIONS = Object.freeze(["api_keys.create", "agents.member_link.create"]);
71567
+ var apiKeyIdSchema = external_exports.string().regex(/^(?:ak|key)_[a-f0-9]{18}$/);
71553
71568
  var recordSchema = external_exports.object({
71554
71569
  version: external_exports.literal("admin-credential-vault-v1"),
71555
71570
  base_url: external_exports.string(),
@@ -71560,7 +71575,7 @@ var recordSchema = external_exports.object({
71560
71575
  state: external_exports.enum(["pending", "not_delivered", "stored"]),
71561
71576
  created_at: external_exports.string().datetime(),
71562
71577
  secret: external_exports.string().min(1).max(4096).optional(),
71563
- key_id: external_exports.string().regex(/^key_[a-f0-9]{18}$/).optional(),
71578
+ key_id: apiKeyIdSchema.optional(),
71564
71579
  expires_at: external_exports.string().datetime().optional()
71565
71580
  }).strict();
71566
71581
  function pathFor(baseUrl, requestId) {
@@ -71681,7 +71696,7 @@ function storeIssuedAdminCredential(delivery, body) {
71681
71696
  ...delivery.record,
71682
71697
  state: "stored",
71683
71698
  secret,
71684
- ...typeof key2.id === "string" && /^key_[a-f0-9]{18}$/.test(key2.id) ? { key_id: key2.id } : {},
71699
+ ...apiKeyIdSchema.safeParse(key2.id).success ? { key_id: key2.id } : {},
71685
71700
  ...external_exports.string().datetime().safeParse(result.expires_at).success ? { expires_at: result.expires_at } : {}
71686
71701
  });
71687
71702
  return true;
@@ -71964,7 +71979,11 @@ function createRemembranceNetworkTransport(fetchImpl) {
71964
71979
  const delegate = fetchImpl ?? globalThis.fetch;
71965
71980
  const request2 = (input, init) => {
71966
71981
  assertRemembranceNetworkEgressAllowed("transport request");
71967
- return delegate.call(globalThis, input, init);
71982
+ const redirect = init?.redirect ?? (input instanceof Request ? input.redirect : void 0);
71983
+ return delegate.call(globalThis, input, {
71984
+ ...init,
71985
+ redirect: redirect === "manual" ? "manual" : "error"
71986
+ });
71968
71987
  };
71969
71988
  return Object.freeze({ request: request2 });
71970
71989
  }
@@ -73989,7 +74008,7 @@ function inspectPrivateLearningOutbox2(input, dependencies = {}) {
73989
74008
  }
73990
74009
  var MAX_REMOTE_RESPONSE_BYTES = 4 * 1024 * 1024;
73991
74010
  var DOCTOR_PROBE_TIMEOUT_MS = 7500;
73992
- var SERVER_VERSION = true ? "0.2.29" : "0.0.0-dev";
74011
+ var SERVER_VERSION = true ? "0.2.31" : "0.0.0-dev";
73993
74012
  var tools2 = toolDefinitions;
73994
74013
  var doctorCliRequested = process.argv[2] === "doctor";
73995
74014
  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.29",
3
+ "version": "0.2.31",
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.29",
9
+ "version": "0.2.31",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "@remembrance-ai/mcp-server",
14
- "version": "0.2.29",
14
+ "version": "0.2.31",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },