@joe-broadhead/opencode-mem 0.12.0 → 0.12.1
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/CHANGELOG.md +18 -0
- package/docs/agent-protocol.md +1 -1
- package/package.json +1 -1
- package/src/tools/share.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
3
3
|
The format follows Keep a Changelog 1.1.0: one `## [x.y.z] - date` section per
|
|
4
4
|
release.
|
|
5
5
|
|
|
6
|
+
## [0.12.1] - 2026-11-17
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
|
|
10
|
+
- `mem_share`'s opening now names `revoke` and says it takes the `grant_id` that `list` returns, so
|
|
11
|
+
taking access back no longer reads the page first. The catalogue's first 117 characters said
|
|
12
|
+
"grant ... copy" and left revoke to the rest of the description: `tool-share-revoke` failed 0/3
|
|
13
|
+
on its call budget in 0.12.0, every attempt after a page list or a page read, and 2/3 passed in
|
|
14
|
+
0.11.3. Rule 10 keeps its meaning, and the description is 4 characters shorter.
|
|
15
|
+
- The removal worker's slice and tick bounds are read on a clock the store accepts, so
|
|
16
|
+
`RM-drain-slices-bounded` and `RM-slice-yields-under-budget` measure the bound in readings, not
|
|
17
|
+
the runner's wall time. Both failed once on a slow CI runner during 0.12.0's release.
|
|
18
|
+
|
|
19
|
+
### Deploy
|
|
20
|
+
|
|
21
|
+
No server behaviour change and no migration. The records store takes an injected scheduling clock
|
|
22
|
+
for its tests, and production uses the real one, so there is nothing to deploy.
|
|
23
|
+
|
|
6
24
|
## [0.12.0] - 2026-11-16
|
|
7
25
|
|
|
8
26
|
Includes 0.11.4.
|
package/docs/agent-protocol.md
CHANGED
|
@@ -32,7 +32,7 @@ inside `execute`, same arguments.
|
|
|
32
32
|
| `mem_page` | `action` | read-only: `list`, `read`, `links`, `history`, `export`; writes: `write`, `append`, `replace`, `move`, `delete` | `path`, `prefix`, `type`, `title`, `content`, `section`, `to`, `depth`, `confirm`, `space` | Pages: one per person, project, team, topic, runbook or decision, linked with [[path]]; documents are mem_wiki. |
|
|
33
33
|
| `mem_commitments` | `action` | read-only: `list`; writes: `add`, `update`, `delete` | `id`, `what`, `owner`, `due`, `trigger`, `state` (`open`, `done`, `cancelled`, `all`), `project`, `link`, `due_before` | Commitments: things someone will do, with a due date or a trigger. |
|
|
34
34
|
| `mem_wiki` | `action` | read-only: `list`, `search`, `read`, `status`; writes: `create`, `write`, `append`, `delete` | `query`, `knowledge_id`, `wiki_id`, `name`, `filename`, `content`, `ingest`, `ref`, `confirm`, `path`, `visibility` (`auto`, `private`, `team`), `type` (`wiki`, `code-graph`, `all`), `space` | Documents: uploads, repositories and their pages. |
|
|
35
|
-
| `mem_share` | `action` | read-only: `list`; writes: `grant`, `revoke`, `transfer`, `copy`, `move` | `path`, `ids`, `to`, `role` (`viewer`, `editor`), `expires`, `space`, `rationale`, `keep`, `grant_id` |
|
|
35
|
+
| `mem_share` | `action` | read-only: `list`; writes: `grant`, `revoke`, `transfer`, `copy`, `move` | `path`, `ids`, `to`, `role` (`viewer`, `editor`), `expires`, `space`, `rationale`, `keep`, `grant_id` | Grant or revoke a page or folder in a space, only when the person asks: revoke takes grant_id from list. |
|
|
36
36
|
| `mem_spaces` | `action` | read-only: `current`, `list`, `members`, `access`, `health`, `profile`; writes: `sources`, `jobs`, `review`, `create`, `rename`, `archive`, `leave`, `handover` | `space`, `name`, `user`, `restore`, `bind`, `unbind`, `confirm`, `job`, `decide`, `limit` | Spaces and what flows in. |
|
|
37
37
|
| `mem_collect` | none | none | `source`, `wait` | Collect new events from the person's bound sources (mail, chat, meetings) into Memory now. |
|
|
38
38
|
|
package/package.json
CHANGED
package/src/tools/share.js
CHANGED
|
@@ -183,7 +183,7 @@ export function registerShare(editor, toolkit) {
|
|
|
183
183
|
editor.add({
|
|
184
184
|
name: "share",
|
|
185
185
|
description:
|
|
186
|
-
"
|
|
186
|
+
"Grant or revoke a page or folder in a space, only when the person asks: revoke takes grant_id from list. Before deciding whether sharing is allowed, recall the relevant recorded rule; do not decide from a default. grant: give a user (email or id), group (group:<id>) or org role (org_role:<id>) viewer or editor access to a page or folder (a path ending in \"/\"), with an optional expiry; the page stays where it is, and a folder grant covers pages added later. copy: copy private memories (rec_ ids) into a shared space as new records that name their source; later edits to the originals do not reach the copies. revoke: a grant_id; copies' ids; or a path and to, which takes back only their grants (to: \"everyone\" unshares it, only if the person says everyone); then reads back, and cannot take back what someone already read. transfer: give a page or folder to another person (they must already be able to edit it). move: move memories or commitments (ids) or a page or folder (path) from space to the space in to, either way, shared to personal included; each copy names its source (moved_from) and is read back before the original is deleted, and nothing is fingerprinted as forgotten; keep: true copies instead. list: the space's shared pages and folders, and who each is shared with; with \"to\": \"me\", the pages and folders others shared with you, in every space, each with the space to read it in. Every change asks the person first; each answer gives the grant or copy ids and the call to revoke. Never share anything the person has not seen and approved. Sharing needs the records service on the Memory server: without it the answer says so and nothing changes.",
|
|
187
187
|
input: {
|
|
188
188
|
type: "object",
|
|
189
189
|
properties: {
|