@remembrance-ai/mcp-server 0.1.60 → 0.1.63
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 +21 -2
- package/dist/server.js +173 -7
- package/package.json +1 -1
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -190,16 +190,35 @@ activate only after the server's consistency/confidence gates and expire after
|
|
|
190
190
|
never raw prompt or feedback text. `scope: "auto"` stores a preference for the
|
|
191
191
|
linked member when available and otherwise for the installation.
|
|
192
192
|
|
|
193
|
+
Private working preferences follow each engineer across approved agents and
|
|
194
|
+
steer relevant public and team skills without changing shared instructions or
|
|
195
|
+
weakening organization policy. Profiles, observations, compatibility records,
|
|
196
|
+
and feedback remain private to the authenticated organization.
|
|
197
|
+
|
|
193
198
|
Native hooks may add a locally derived `client_context.project_key`. It is an
|
|
194
199
|
installation-keyed opaque project-context digest; the path and
|
|
195
200
|
repository name never leave the device. Preferences never change base
|
|
196
|
-
relevance evidence, applicability, or match tier.
|
|
197
|
-
reorder already-relevant candidates
|
|
201
|
+
relevance evidence, applicability, or match tier. Organization-private,
|
|
202
|
+
exact-version compatibility records may reorder already-relevant candidates
|
|
203
|
+
only inside the same tier. Classification is asynchronous; query and
|
|
204
|
+
invocation add no generative preference call or second embedding request, and
|
|
205
|
+
missing or stale classification is neutral. Preference or policy changes use
|
|
206
|
+
leased catalog sweeps; exact skill-version changes enqueue only that skill for
|
|
207
|
+
affected organizations, and blocked scopes resume automatically when eligible.
|
|
208
|
+
After selection,
|
|
198
209
|
the application object may surgically alter discretionary presentation,
|
|
199
210
|
workflow, or strategy choices and explicitly reports replaced defaults or
|
|
200
211
|
blocked conflicts. Organization admins choose Required or Recommended guidance
|
|
201
212
|
under Dashboard > Agents > Preferences.
|
|
202
213
|
|
|
214
|
+
Use `submit_preference_compatibility_feedback` only after actually using an
|
|
215
|
+
exact skill version returned with a `preference_compatibility_feedback` offer.
|
|
216
|
+
Send the offer's exact `query_id`, `result_id`, `skill_version_id`, and
|
|
217
|
+
server-issued `preference_fingerprint`; the server verifies the correlated
|
|
218
|
+
fetch and resolves the active preference itself. The operation requires a
|
|
219
|
+
verified principal session and never mutates the skill or another
|
|
220
|
+
organization's ranking.
|
|
221
|
+
|
|
203
222
|
`X-Remembrance-Principal-Session` is the preferred header. The legacy
|
|
204
223
|
`X-Remembrance-Economics-Session` header and economics-session endpoint remain
|
|
205
224
|
backward-compatible aliases. Send one session header; if both are present, the
|
package/dist/server.js
CHANGED
|
@@ -4706,7 +4706,17 @@ var HOST_POLICY_OPERATION_CLASSES = /* @__PURE__ */ new Set([
|
|
|
4706
4706
|
"other"
|
|
4707
4707
|
]);
|
|
4708
4708
|
var CODEX_HOOK_REVIEW_COMMAND = `CODEX_CLI="\${CODEX_CLI:-$(command -v codex || true)}"; [ -x "$CODEX_CLI" ] || CODEX_CLI="/Applications/ChatGPT.app/Contents/Resources/codex"; [ -x "$CODEX_CLI" ] || CODEX_CLI="/Applications/Codex.app/Contents/Resources/codex"; [ -x "$CODEX_CLI" ] || { printf '%s\\n' "Codex CLI not found. Install the Codex CLI, or install or update the ChatGPT desktop app on macOS, then try again." >&2; exit 1; }; "$CODEX_CLI"`;
|
|
4709
|
-
function codexHookReviewAction(followupTool) {
|
|
4709
|
+
function codexHookReviewAction(followupTool, reviewEvents = []) {
|
|
4710
|
+
const allowedEvents = /* @__PURE__ */ new Set([
|
|
4711
|
+
"SessionStart",
|
|
4712
|
+
"UserPromptSubmit",
|
|
4713
|
+
"PostToolUse",
|
|
4714
|
+
"Stop"
|
|
4715
|
+
]);
|
|
4716
|
+
const events = [...new Set(reviewEvents)].filter((event) => allowedEvents.has(event)).slice(0, 4);
|
|
4717
|
+
if (events.length > 0) {
|
|
4718
|
+
return `Open Terminal and run the command below. Choose Review hooks, open only the Remembrance ${events.join(", ")} hook${events.length === 1 ? "" : "s"}, and press t to trust ${events.length === 1 ? "it" : "them"}. Then fully quit and reopen Codex, submit one prompt, use one Remembrance tool, complete one turn, and call ${followupTool} again.`;
|
|
4719
|
+
}
|
|
4710
4720
|
return `Open Terminal and launch Codex with the command below. If Codex shows a Hooks need review screen, choose Review hooks and trust only the Remembrance SessionStart, UserPromptSubmit, PostToolUse, and Stop hooks. If no review screen appears, continue: Codex may be reusing an existing valid trust decision. Fully restart Codex, submit one prompt, use one Remembrance tool, complete one turn, and call ${followupTool} again. If the lifecycle warning remains, update or reinstall Remembrance and repeat this check.`;
|
|
4711
4721
|
}
|
|
4712
4722
|
function buildConnectionDoctorReport(input) {
|
|
@@ -5000,6 +5010,28 @@ function pluginLifecycleCheck(pluginHealth, issues) {
|
|
|
5000
5010
|
"The native plugin startup and prompt lifecycle is active."
|
|
5001
5011
|
);
|
|
5002
5012
|
}
|
|
5013
|
+
if (stringValue(pluginHealth.surface) === "codex" && issues.includes("hook_trust_required")) {
|
|
5014
|
+
const hookTrust = record(pluginHealth.hook_trust);
|
|
5015
|
+
const allowedEvents = /* @__PURE__ */ new Set([
|
|
5016
|
+
"SessionStart",
|
|
5017
|
+
"UserPromptSubmit",
|
|
5018
|
+
"PostToolUse",
|
|
5019
|
+
"Stop"
|
|
5020
|
+
]);
|
|
5021
|
+
const reviewEvents = Array.isArray(hookTrust.review_events) ? hookTrust.review_events.filter(
|
|
5022
|
+
(event) => typeof event === "string" && allowedEvents.has(event)
|
|
5023
|
+
).slice(0, 4) : [];
|
|
5024
|
+
const eventSummary = reviewEvents.length > 0 ? `the updated Remembrance ${reviewEvents.join(", ")} hook${reviewEvents.length === 1 ? "" : "s"}` : "updated Remembrance hooks";
|
|
5025
|
+
return warning(
|
|
5026
|
+
"plugin_lifecycle",
|
|
5027
|
+
`Codex is waiting for trust approval for ${eventSummary}.`,
|
|
5028
|
+
"review_codex_hook_trust",
|
|
5029
|
+
codexHookReviewAction("run_connection_doctor", reviewEvents),
|
|
5030
|
+
issues,
|
|
5031
|
+
false,
|
|
5032
|
+
CODEX_HOOK_REVIEW_COMMAND
|
|
5033
|
+
);
|
|
5034
|
+
}
|
|
5003
5035
|
if (pluginHealth.status === "partial") {
|
|
5004
5036
|
const codex = stringValue(pluginHealth.surface) === "codex";
|
|
5005
5037
|
return warning(
|
|
@@ -5335,6 +5367,81 @@ var skillPreferenceTraitsSchema = external_exports.array(skillPreferenceTraitSch
|
|
|
5335
5367
|
seen.add(identity);
|
|
5336
5368
|
});
|
|
5337
5369
|
});
|
|
5370
|
+
var preferenceCompatibilityRelationshipSchema = external_exports.enum([
|
|
5371
|
+
"supports",
|
|
5372
|
+
"conflicts",
|
|
5373
|
+
"neutral",
|
|
5374
|
+
"uncertain"
|
|
5375
|
+
]);
|
|
5376
|
+
var preferenceCompatibilitySourceSchema = external_exports.enum([
|
|
5377
|
+
"classifier",
|
|
5378
|
+
"member_feedback",
|
|
5379
|
+
"organization_override",
|
|
5380
|
+
"legacy_trait"
|
|
5381
|
+
]);
|
|
5382
|
+
var preferenceCompatibilityAssessmentSchema = external_exports.object({
|
|
5383
|
+
preference_fingerprint: external_exports.string().regex(/^sha256:[a-f0-9]{64}$/),
|
|
5384
|
+
preference_key: preferenceKeySchema,
|
|
5385
|
+
preference_value: preferenceValueSchema,
|
|
5386
|
+
relationship: preferenceCompatibilityRelationshipSchema,
|
|
5387
|
+
confidence: external_exports.number().min(0).max(1),
|
|
5388
|
+
rationale: external_exports.string().trim().min(1).max(200).nullable().default(null),
|
|
5389
|
+
classification_version: external_exports.string().trim().min(1).max(96),
|
|
5390
|
+
source: preferenceCompatibilitySourceSchema,
|
|
5391
|
+
locked: external_exports.boolean().default(false)
|
|
5392
|
+
}).strict();
|
|
5393
|
+
var preferenceCompatibilityAssessmentsSchema = external_exports.array(preferenceCompatibilityAssessmentSchema).max(MAX_EFFECTIVE_PREFERENCES * 2);
|
|
5394
|
+
var preferenceCompatibilityClassifierResultSchema = external_exports.object({
|
|
5395
|
+
relationship: preferenceCompatibilityRelationshipSchema,
|
|
5396
|
+
confidence: external_exports.number().min(0).max(1),
|
|
5397
|
+
rationale: external_exports.string().trim().min(1).max(200),
|
|
5398
|
+
// `locked` means the skill declares this behavior as a required step. It
|
|
5399
|
+
// can block surgical application after an explicit invocation, but never
|
|
5400
|
+
// lets a preference bypass a skill or organization requirement.
|
|
5401
|
+
locked: external_exports.boolean()
|
|
5402
|
+
}).strict();
|
|
5403
|
+
var preferenceCompatibilityFeedbackReasonCodeSchema = external_exports.enum([
|
|
5404
|
+
"workflow_alignment",
|
|
5405
|
+
"strategy_alignment",
|
|
5406
|
+
"presentation_alignment",
|
|
5407
|
+
"task_mismatch",
|
|
5408
|
+
"skill_requirement",
|
|
5409
|
+
"other_observed"
|
|
5410
|
+
]);
|
|
5411
|
+
var preferenceCompatibilityFeedbackRequestSchema = external_exports.object({
|
|
5412
|
+
query_id: external_exports.string().trim().min(1).max(160),
|
|
5413
|
+
result_id: external_exports.string().trim().min(1).max(160),
|
|
5414
|
+
preference_fingerprint: external_exports.string().regex(/^sha256:[a-f0-9]{64}$/),
|
|
5415
|
+
skill_slug: external_exports.string().trim().toLowerCase().min(1).max(160).regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/),
|
|
5416
|
+
skill_version_id: external_exports.string().trim().min(1).max(160),
|
|
5417
|
+
relationship: external_exports.enum(["supports", "conflicts"]),
|
|
5418
|
+
evidence_source: external_exports.enum(["explicit_user", "agent_observed"]),
|
|
5419
|
+
reason_code: preferenceCompatibilityFeedbackReasonCodeSchema.nullable().default(null)
|
|
5420
|
+
}).strict();
|
|
5421
|
+
var REMEMBRANCE_PREFERENCE_COMPATIBILITY_FEEDBACK_TOOL_DESCRIPTION = "After actually opening or invoking a skill, record whether that exact version supports or conflicts with one server-issued active working-preference fingerprint. This is private to the authenticated organization, requires the same verified installation principal that used the correlated query/result, and never changes the skill or another organization's ranking. Use evidence_source explicit_user only for a user's explicit assessment; otherwise use agent_observed. Send only correlation IDs, the returned fingerprint, exact slug/version id, relationship, source, and an optional allowlisted reason_code; never send prompts, source code, paths, free-text feedback, or a caller-generated idempotency hash.";
|
|
5422
|
+
var preferenceCompatibilityAdminActionSchema = external_exports.discriminatedUnion(
|
|
5423
|
+
"action",
|
|
5424
|
+
[
|
|
5425
|
+
external_exports.object({
|
|
5426
|
+
action: external_exports.literal("reclassify"),
|
|
5427
|
+
preference_fingerprint: external_exports.string().regex(/^sha256:[a-f0-9]{64}$/),
|
|
5428
|
+
skill_version_id: external_exports.string().trim().min(1).max(160)
|
|
5429
|
+
}).strict(),
|
|
5430
|
+
external_exports.object({
|
|
5431
|
+
action: external_exports.literal("override"),
|
|
5432
|
+
preference_fingerprint: external_exports.string().regex(/^sha256:[a-f0-9]{64}$/),
|
|
5433
|
+
skill_version_id: external_exports.string().trim().min(1).max(160),
|
|
5434
|
+
relationship: external_exports.enum(["supports", "conflicts"]),
|
|
5435
|
+
rationale: external_exports.string().trim().min(1).max(200),
|
|
5436
|
+
locked: external_exports.boolean().default(false)
|
|
5437
|
+
}).strict(),
|
|
5438
|
+
external_exports.object({
|
|
5439
|
+
action: external_exports.literal("reset"),
|
|
5440
|
+
preference_fingerprint: external_exports.string().regex(/^sha256:[a-f0-9]{64}$/),
|
|
5441
|
+
skill_version_id: external_exports.string().trim().min(1).max(160)
|
|
5442
|
+
}).strict()
|
|
5443
|
+
]
|
|
5444
|
+
);
|
|
5338
5445
|
var INFERRED_MAX_AGE_MS = 180 * 864e5;
|
|
5339
5446
|
function builtInPreferenceDefinition(key) {
|
|
5340
5447
|
return BUILT_IN_PREFERENCE_DEFINITIONS[key] ?? null;
|
|
@@ -5474,6 +5581,7 @@ var REMEMBRANCE_MCP_READ_TOOLS = [
|
|
|
5474
5581
|
var REMEMBRANCE_MCP_FEEDBACK_TOOLS = [
|
|
5475
5582
|
"submit_query_feedback",
|
|
5476
5583
|
"submit_feedback",
|
|
5584
|
+
"submit_preference_compatibility_feedback",
|
|
5477
5585
|
"report_task_outcome"
|
|
5478
5586
|
];
|
|
5479
5587
|
var REMEMBRANCE_MCP_PRIVATE_CONTRIBUTION_TOOLS = [
|
|
@@ -6658,7 +6766,7 @@ var seedSkills = [
|
|
|
6658
6766
|
summary: "Operational setup and troubleshooting workflow for Remembrance across Claude Code, Codex, OpenClaw, Cursor, Gemini, MCP, REST, skill-only installs, enterprise keys, and local agent identity.",
|
|
6659
6767
|
status: "active",
|
|
6660
6768
|
visibility: "public",
|
|
6661
|
-
version: "0.1.
|
|
6769
|
+
version: "0.1.19",
|
|
6662
6770
|
domains: ["agent-skills", "mcp", "resource-discovery"],
|
|
6663
6771
|
tags: [
|
|
6664
6772
|
"remembrance",
|
|
@@ -6709,7 +6817,7 @@ var seedSkills = [
|
|
|
6709
6817
|
"gemini",
|
|
6710
6818
|
"rest"
|
|
6711
6819
|
],
|
|
6712
|
-
version: "0.1.
|
|
6820
|
+
version: "0.1.19",
|
|
6713
6821
|
status: "active",
|
|
6714
6822
|
visibility: "public",
|
|
6715
6823
|
providers: ["codex", "claude", "cursor", "openclaw", "generic"],
|
|
@@ -9765,6 +9873,12 @@ var toolDefinitions = [
|
|
|
9765
9873
|
"/api/v1/agent/preferences",
|
|
9766
9874
|
recordPreferenceRequestSchema
|
|
9767
9875
|
),
|
|
9876
|
+
tool(
|
|
9877
|
+
"submit_preference_compatibility_feedback",
|
|
9878
|
+
REMEMBRANCE_PREFERENCE_COMPATIBILITY_FEEDBACK_TOOL_DESCRIPTION,
|
|
9879
|
+
"/api/v1/agent/preferences/compatibility-feedback",
|
|
9880
|
+
preferenceCompatibilityFeedbackRequestSchema
|
|
9881
|
+
),
|
|
9768
9882
|
tool(
|
|
9769
9883
|
"link_current_installation",
|
|
9770
9884
|
"Link this verified installation to the signed-in organization member using a single-use dashboard token. The token expires after ten minutes and is consumed exactly once. A valid organization principal session is required; this never changes the organization API key or creates another billed agent.",
|
|
@@ -10648,13 +10762,23 @@ function localPluginLifecycleHealth(options) {
|
|
|
10648
10762
|
});
|
|
10649
10763
|
}
|
|
10650
10764
|
const coreLifecycleObserved = components.session_start.observed && components.prompt_hook.observed;
|
|
10651
|
-
|
|
10765
|
+
const hookTrust = normalizedPluginHookTrust(marker.hook_trust);
|
|
10766
|
+
const hookTrustReviewEvents = hookTrust?.status === "review_required" ? new Set(hookTrust.review_events) : /* @__PURE__ */ new Set();
|
|
10767
|
+
if (hookTrustReviewEvents.size > 0) {
|
|
10768
|
+
issues.push({
|
|
10769
|
+
code: "hook_trust_required",
|
|
10770
|
+
action: codexHookReviewAction("get_connection_status", [
|
|
10771
|
+
...hookTrustReviewEvents
|
|
10772
|
+
])
|
|
10773
|
+
});
|
|
10774
|
+
}
|
|
10775
|
+
if (coreLifecycleObserved && !components.tool_observer.observed && !hookTrustReviewEvents.has("PostToolUse")) {
|
|
10652
10776
|
issues.push({
|
|
10653
10777
|
code: "tool_observer_not_observed",
|
|
10654
10778
|
action: surface === "codex" ? `Use a Remembrance MCP tool, then call get_connection_status again. If this remains missing, ${codexHookReviewAction("get_connection_status")}` : "No native tool observer has run in this session yet. Use a Remembrance MCP tool, then call get_connection_status again."
|
|
10655
10779
|
});
|
|
10656
10780
|
}
|
|
10657
|
-
if (coreLifecycleObserved && !components.completion_hook.observed) {
|
|
10781
|
+
if (coreLifecycleObserved && !components.completion_hook.observed && !hookTrustReviewEvents.has("Stop")) {
|
|
10658
10782
|
issues.push({
|
|
10659
10783
|
code: "completion_hook_not_observed",
|
|
10660
10784
|
action: surface === "codex" ? `Complete one turn, then call get_connection_status again. If this remains missing, ${codexHookReviewAction("get_connection_status")}` : "No native completion hook has run in this session yet. Complete one turn, then call get_connection_status again."
|
|
@@ -10713,11 +10837,49 @@ function localPluginLifecycleHealth(options) {
|
|
|
10713
10837
|
matches_mcp: markerDestinationFingerprint && options.apiDestinationFingerprint ? markerDestinationFingerprint === options.apiDestinationFingerprint : null,
|
|
10714
10838
|
mcp_source: options.apiDestinationSource ?? null
|
|
10715
10839
|
},
|
|
10840
|
+
hook_trust: hookTrust,
|
|
10716
10841
|
components,
|
|
10717
10842
|
issues,
|
|
10718
10843
|
explanation: "Each host session is tracked independently. SessionStart and the prompt hook must run first; tool and completion observations appear after those lifecycle events become eligible."
|
|
10719
10844
|
};
|
|
10720
10845
|
}
|
|
10846
|
+
function normalizedPluginHookTrust(value) {
|
|
10847
|
+
if (!isRecord3(value)) return null;
|
|
10848
|
+
const status = value.status;
|
|
10849
|
+
if (status !== "trusted" && status !== "review_required" && status !== "unavailable") {
|
|
10850
|
+
return null;
|
|
10851
|
+
}
|
|
10852
|
+
const allowedEvents = /* @__PURE__ */ new Set([
|
|
10853
|
+
"SessionStart",
|
|
10854
|
+
"UserPromptSubmit",
|
|
10855
|
+
"PostToolUse",
|
|
10856
|
+
"Stop"
|
|
10857
|
+
]);
|
|
10858
|
+
const allowedStatuses = /* @__PURE__ */ new Set([
|
|
10859
|
+
"managed",
|
|
10860
|
+
"missing",
|
|
10861
|
+
"modified",
|
|
10862
|
+
"trusted",
|
|
10863
|
+
"unknown",
|
|
10864
|
+
"untrusted"
|
|
10865
|
+
]);
|
|
10866
|
+
const reviewEvents = Array.isArray(value.review_events) ? [...new Set(value.review_events)].filter(
|
|
10867
|
+
(event) => typeof event === "string" && allowedEvents.has(event)
|
|
10868
|
+
).slice(0, 4) : [];
|
|
10869
|
+
const hooks = Array.isArray(value.hooks) ? value.hooks.filter(isRecord3).filter(
|
|
10870
|
+
(entry) => typeof entry.event === "string" && allowedEvents.has(entry.event)
|
|
10871
|
+
).slice(0, 4).map((entry) => ({
|
|
10872
|
+
event: String(entry.event),
|
|
10873
|
+
enabled: entry.enabled === true,
|
|
10874
|
+
trust_status: typeof entry.trust_status === "string" && allowedStatuses.has(entry.trust_status) ? entry.trust_status : "unknown"
|
|
10875
|
+
})) : [];
|
|
10876
|
+
return {
|
|
10877
|
+
status,
|
|
10878
|
+
checked_at: typeof value.checked_at === "string" && Number.isFinite(Date.parse(value.checked_at)) ? new Date(value.checked_at).toISOString() : null,
|
|
10879
|
+
review_events: reviewEvents,
|
|
10880
|
+
hooks
|
|
10881
|
+
};
|
|
10882
|
+
}
|
|
10721
10883
|
function apiDestinationStatus(baseUrl, source) {
|
|
10722
10884
|
const normalized = baseUrl.replace(/\/+$/, "");
|
|
10723
10885
|
return {
|
|
@@ -10921,7 +11083,7 @@ async function checkClientUpdate(input) {
|
|
|
10921
11083
|
// src/server.ts
|
|
10922
11084
|
var MAX_REMOTE_RESPONSE_BYTES = 4 * 1024 * 1024;
|
|
10923
11085
|
var DOCTOR_PROBE_TIMEOUT_MS = 7500;
|
|
10924
|
-
var SERVER_VERSION = true ? "0.1.
|
|
11086
|
+
var SERVER_VERSION = true ? "0.1.63" : "0.0.0-dev";
|
|
10925
11087
|
var tools = toolDefinitions;
|
|
10926
11088
|
var doctorCliRequested = process.argv[2] === "doctor";
|
|
10927
11089
|
var inputBuffer = Buffer.alloc(0);
|
|
@@ -10931,6 +11093,7 @@ var connectedClientInfo = null;
|
|
|
10931
11093
|
var cachedValueProofKeys = null;
|
|
10932
11094
|
var PRINCIPAL_SESSION_REQUIRED_TOOLS = /* @__PURE__ */ new Set([
|
|
10933
11095
|
"record_preference",
|
|
11096
|
+
"submit_preference_compatibility_feedback",
|
|
10934
11097
|
"link_current_installation"
|
|
10935
11098
|
]);
|
|
10936
11099
|
var PRINCIPAL_SESSION_AWAITED_TOOLS = /* @__PURE__ */ new Set([
|
|
@@ -11730,6 +11893,9 @@ async function callRemembrance(definition, rawArguments, options = {}) {
|
|
|
11730
11893
|
if (refreshed && refreshed !== sentPrincipalSession) {
|
|
11731
11894
|
headers["x-remembrance-principal-session"] = refreshed;
|
|
11732
11895
|
({ response, body } = await execute());
|
|
11896
|
+
} else if (!PRINCIPAL_SESSION_REQUIRED_TOOLS.has(definition.name)) {
|
|
11897
|
+
delete headers["x-remembrance-principal-session"];
|
|
11898
|
+
({ response, body } = await execute());
|
|
11733
11899
|
}
|
|
11734
11900
|
}
|
|
11735
11901
|
} catch (error) {
|
|
@@ -11775,7 +11941,7 @@ async function localProjectKey() {
|
|
|
11775
11941
|
function principalSessionAuthenticationFailed(response, body) {
|
|
11776
11942
|
if (response.status !== 401 && response.status !== 403) return false;
|
|
11777
11943
|
if (!isRecord4(body) || typeof body.error !== "string") return false;
|
|
11778
|
-
return /principal session|economics session|installation session/i.test(
|
|
11944
|
+
return /principal session|economics session|installation session|agent principal|installation principal/i.test(
|
|
11779
11945
|
body.error
|
|
11780
11946
|
);
|
|
11781
11947
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remembrance-ai/mcp-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.63",
|
|
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.1.
|
|
9
|
+
"version": "0.1.63",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "@remembrance-ai/mcp-server",
|
|
14
|
-
"version": "0.1.
|
|
14
|
+
"version": "0.1.63",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|