@miniaxolotl/grove 1.11.2 → 1.11.4
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/bridge.js +19 -1
- package/dist/bridge.js.map +2 -2
- package/dist/cli.js +21 -3
- package/dist/cli.js.map +2 -2
- package/dist/hook.js +4 -1
- package/dist/hook.js.map +2 -2
- package/dist/index.js +18 -0
- package/dist/index.js.map +2 -2
- package/dist/telemetry-build.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19748,6 +19748,9 @@ var grantSchema = external_exports.object({
|
|
|
19748
19748
|
var connectionSchema = grantSchema.extend({
|
|
19749
19749
|
clientId: external_exports.string().min(1).max(500)
|
|
19750
19750
|
});
|
|
19751
|
+
var connectionUpdateSchema = grantSchema.extend({
|
|
19752
|
+
expectedState: external_exports.string().regex(/^[a-f0-9]{64}$/).optional()
|
|
19753
|
+
});
|
|
19751
19754
|
var agentSchema = external_exports.enum(["opencode", "claude", "codex"]);
|
|
19752
19755
|
var connectSchema = external_exports.object({
|
|
19753
19756
|
agent: agentSchema,
|
|
@@ -29634,25 +29637,30 @@ var notebookToolLifecycleSchema = external_exports.object({
|
|
|
29634
29637
|
);
|
|
29635
29638
|
var memoryTools = {
|
|
29636
29639
|
remember: {
|
|
29640
|
+
title: "Save a memory",
|
|
29637
29641
|
schema: rememberSchema,
|
|
29638
29642
|
description: "Save a concise memory or replace it by id/expectedVersion. Corrections replace metadata too: prefer update_memory for partial edits. Reuse operationId on retries. Handoffs default to 30 days; expired records are hidden and later soft-deleted."
|
|
29639
29643
|
},
|
|
29640
29644
|
recall: {
|
|
29645
|
+
title: "Recall saved context",
|
|
29641
29646
|
schema: recallSchema,
|
|
29642
29647
|
readOnly: true,
|
|
29643
29648
|
description: "Recall bounded relevant active memories in the explicit project/personal scope. Without query, retrieve a compact profile and selected task handoff."
|
|
29644
29649
|
},
|
|
29645
29650
|
memories: {
|
|
29651
|
+
title: "Find memories",
|
|
29646
29652
|
schema: listSchema,
|
|
29647
29653
|
readOnly: true,
|
|
29648
29654
|
description: "Search and list notes with IDs, versions, provenance, status/tag filters and cursor pagination. Omit projectId to inspect all granted scopes; null means Personal."
|
|
29649
29655
|
},
|
|
29650
29656
|
forget: {
|
|
29657
|
+
title: "Delete selected memories",
|
|
29651
29658
|
schema: forgetSchema,
|
|
29652
29659
|
destructive: true,
|
|
29653
29660
|
description: "Soft-delete exact note IDs at their expectedVersion. Retained authored history is hidden, not physically erased. There is no ordinary restore/Undo for deletion. Inspect each outcome; previously delivered text cannot be retracted."
|
|
29654
29661
|
},
|
|
29655
29662
|
get_memory: {
|
|
29663
|
+
title: "Read a memory",
|
|
29656
29664
|
schema: external_exports.object({
|
|
29657
29665
|
id: uuidSchema,
|
|
29658
29666
|
revision: external_exports.number().int().positive().optional()
|
|
@@ -29661,19 +29669,23 @@ var memoryTools = {
|
|
|
29661
29669
|
description: "Read one exact note by ID, optionally at a historical revision. Current scope, deletion and historical-source expiry checks still apply."
|
|
29662
29670
|
},
|
|
29663
29671
|
memory_history: {
|
|
29672
|
+
title: "Read memory history",
|
|
29664
29673
|
schema: external_exports.object({ id: uuidSchema }).strict(),
|
|
29665
29674
|
readOnly: true,
|
|
29666
29675
|
description: "Read up to 100 most recent revisions of an accessible note. Use get_memory with revision for historical content."
|
|
29667
29676
|
},
|
|
29668
29677
|
update_memory: {
|
|
29678
|
+
title: "Update a memory",
|
|
29669
29679
|
schema: memoryUpdateSchema,
|
|
29670
29680
|
description: "Partially update a note at expectedVersion. Omitted content, scope, kind, provenance and lifetime are preserved. projectId moves the note; null means Personal. Reuse operationId on retry."
|
|
29671
29681
|
},
|
|
29672
29682
|
move_memories: {
|
|
29683
|
+
title: "Move memories",
|
|
29673
29684
|
schema: moveMemoriesSchema,
|
|
29674
29685
|
description: "Atomically move up to 50 exact ID/version notes into an existing notebook (projectId) or Personal (null). Preserve content and metadata; source and destination must be granted. Reuse operationId."
|
|
29675
29686
|
},
|
|
29676
29687
|
archive_memory: {
|
|
29688
|
+
title: "Archive a memory",
|
|
29677
29689
|
schema: external_exports.object({
|
|
29678
29690
|
id: uuidSchema,
|
|
29679
29691
|
operationId: operationSchema,
|
|
@@ -29682,23 +29694,28 @@ var memoryTools = {
|
|
|
29682
29694
|
description: "Archive an exact note at expectedVersion, removing it from recall. Content/history remain available; restore_memory reverses archive. Reuse operationId."
|
|
29683
29695
|
},
|
|
29684
29696
|
restore_memory: {
|
|
29697
|
+
title: "Restore a memory",
|
|
29685
29698
|
schema: versionSchema.extend({ id: uuidSchema }),
|
|
29686
29699
|
description: "Restore an archived/expired note or a historical revision at expectedVersion. Deleted notes cannot be restored. Optional revision selects history; durable removes expiry. Reuse operationId."
|
|
29687
29700
|
},
|
|
29688
29701
|
notebooks: {
|
|
29702
|
+
title: "Find notebooks",
|
|
29689
29703
|
schema: notebookListSchema,
|
|
29690
29704
|
readOnly: true,
|
|
29691
29705
|
description: "List/search granted notebooks (folders) with IDs, names, parentId, versions and cursor pagination. Follow every page to build a tree. Archived notebooks require an owner website session."
|
|
29692
29706
|
},
|
|
29693
29707
|
create_notebook: {
|
|
29708
|
+
title: "Create a notebook",
|
|
29694
29709
|
schema: notebookCreateSchema,
|
|
29695
29710
|
description: "Create a notebook, optionally under parentId. Requires all-project write access or an owner session. Reuse operationId for retry-safe creation."
|
|
29696
29711
|
},
|
|
29697
29712
|
update_notebook: {
|
|
29713
|
+
title: "Update a notebook",
|
|
29698
29714
|
schema: notebookUpdateSchema,
|
|
29699
29715
|
description: "Rename and/or move an existing notebook at expectedVersion. Omitted fields are preserved; parentId=null moves to root. Source and parent must be granted; cycles are rejected. Reuse operationId."
|
|
29700
29716
|
},
|
|
29701
29717
|
notebook_lifecycle: {
|
|
29718
|
+
title: "Manage notebook lifecycle",
|
|
29702
29719
|
schema: notebookToolLifecycleSchema,
|
|
29703
29720
|
destructive: true,
|
|
29704
29721
|
description: "Owner website session only: preview a notebook subtree, then archive/restore/soft-delete using its fingerprint, expectedVersion and operationId. Agent OAuth/API keys cannot administer subtrees. Deletion hides retained history and has no ordinary Undo."
|
|
@@ -29718,6 +29735,7 @@ function createMemoryMcp(execute) {
|
|
|
29718
29735
|
server.registerTool(
|
|
29719
29736
|
name,
|
|
29720
29737
|
{
|
|
29738
|
+
title: tool.title,
|
|
29721
29739
|
description: tool.description,
|
|
29722
29740
|
inputSchema: tool.schema.shape,
|
|
29723
29741
|
annotations: {
|