@remembrance-ai/mcp-server 0.2.8 → 0.2.9
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 +25 -7
- package/package.json +1 -1
- package/server.json +2 -2
package/dist/server.js
CHANGED
|
@@ -27299,13 +27299,13 @@ function toolArgumentSchemaLocation(schema, path) {
|
|
|
27299
27299
|
const child = schemaObject(properties[segment]);
|
|
27300
27300
|
if (child) {
|
|
27301
27301
|
name = Object.keys(properties).find((key) => key === segment);
|
|
27302
|
-
next.push(child);
|
|
27302
|
+
if (!next.includes(child)) next.push(child);
|
|
27303
27303
|
}
|
|
27304
27304
|
} else if (typeof segment === "number") {
|
|
27305
27305
|
const child = schemaObject(current.items);
|
|
27306
27306
|
if (child) {
|
|
27307
27307
|
name = "[]";
|
|
27308
|
-
next.push(child);
|
|
27308
|
+
if (!next.includes(child)) next.push(child);
|
|
27309
27309
|
}
|
|
27310
27310
|
}
|
|
27311
27311
|
}
|
|
@@ -30166,9 +30166,29 @@ function normalizeBoundedWriteJsonSchema(schema, name) {
|
|
|
30166
30166
|
schema["x-remembrance-validation-rules"] = QUERY_FEEDBACK_VALIDATION_RULES;
|
|
30167
30167
|
}
|
|
30168
30168
|
if (name === "capture_learning") {
|
|
30169
|
-
|
|
30169
|
+
const replacement = schemaProperty(schema, "replacement_of");
|
|
30170
|
+
const [skillLink, lessonLink] = replacement.anyOf;
|
|
30171
|
+
const branch = (field, extra = {}) => ({
|
|
30172
|
+
type: "object",
|
|
30173
|
+
properties: {
|
|
30174
|
+
contract_version: schemaProperty(schema, "contract_version"),
|
|
30175
|
+
[field]: schemaProperty(schema, field),
|
|
30176
|
+
...extra
|
|
30177
|
+
},
|
|
30178
|
+
additionalProperties: false,
|
|
30170
30179
|
required: [field]
|
|
30171
|
-
})
|
|
30180
|
+
});
|
|
30181
|
+
schema.oneOf = [
|
|
30182
|
+
{
|
|
30183
|
+
...branch("lesson", {
|
|
30184
|
+
capture_id: schemaProperty(schema, "capture_id"),
|
|
30185
|
+
replacement_of: lessonLink
|
|
30186
|
+
}),
|
|
30187
|
+
not: { required: ["capture_id", "replacement_of"] }
|
|
30188
|
+
},
|
|
30189
|
+
branch("private_skill", { replacement_of: skillLink }),
|
|
30190
|
+
branch("preference")
|
|
30191
|
+
];
|
|
30172
30192
|
schema.allOf = [
|
|
30173
30193
|
{
|
|
30174
30194
|
if: { required: ["replacement_of"] },
|
|
@@ -30185,9 +30205,7 @@ function normalizeBoundedWriteJsonSchema(schema, name) {
|
|
|
30185
30205
|
}
|
|
30186
30206
|
}
|
|
30187
30207
|
];
|
|
30188
|
-
const replacement = schemaProperty(schema, "replacement_of");
|
|
30189
30208
|
replacement.description = "Optional lineage for a replacement of one retained draft: a complete private skill for a private-skill draft, or a lesson for a held private-lesson draft. It carries audit/context identity only and grants no approval, destination authority, or permission to reuse held content.";
|
|
30190
|
-
const [skillLink, lessonLink] = replacement.anyOf;
|
|
30191
30209
|
schemaProperty(skillLink, "draft_id").description = "Retained encrypted private-skill draft being replaced.";
|
|
30192
30210
|
schemaProperty(skillLink, "context_source").description = "Audit-only source label: active_task_context or separately inspected, explicitly partial safe_recovery_context. Neither source is submission authority.";
|
|
30193
30211
|
schemaProperty(skillLink, "recovery_context_id").description = "Omit this field unless the current inspect_private_learning_outbox agent_recovery.arguments.replacement_of supplies this exact ID. Never invent an ID or derive one from a draft, digest, or ordinary recovery_context. A supplied native context ID may establish a new context epoch but grants no approval or authority to reuse held content. safe_recovery_context alone does not require an ID.";
|
|
@@ -70155,7 +70173,7 @@ function inspectPrivateLearningOutbox2(input, dependencies = {}) {
|
|
|
70155
70173
|
}
|
|
70156
70174
|
var MAX_REMOTE_RESPONSE_BYTES = 4 * 1024 * 1024;
|
|
70157
70175
|
var DOCTOR_PROBE_TIMEOUT_MS = 7500;
|
|
70158
|
-
var SERVER_VERSION = true ? "0.2.
|
|
70176
|
+
var SERVER_VERSION = true ? "0.2.9" : "0.0.0-dev";
|
|
70159
70177
|
var tools2 = toolDefinitions;
|
|
70160
70178
|
var doctorCliRequested = process.argv[2] === "doctor";
|
|
70161
70179
|
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.
|
|
3
|
+
"version": "0.2.9",
|
|
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.
|
|
9
|
+
"version": "0.2.9",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "@remembrance-ai/mcp-server",
|
|
14
|
-
"version": "0.2.
|
|
14
|
+
"version": "0.2.9",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|