@ours.network/cowork 1.1.2 → 1.1.3
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 +1 -1
- package/dist/cli.js +36 -1
- package/dist/daemon.js +7575 -242
- package/docs/01-prerequisites.md +1 -1
- package/docs/02-installation.md +1 -1
- package/docs/05-room-workflow.md +1 -1
- package/package.json +4 -3
package/docs/01-prerequisites.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Prerequisites
|
|
2
2
|
|
|
3
|
-
ours-cowork requires Node.js 22 or newer and one already-running shared ours daemon. Install the operator lifecycle with `npm install --global @ours.network/cli@2.7.
|
|
3
|
+
ours-cowork requires Node.js 22 or newer and one already-running shared ours daemon. Install the operator lifecycle with `npm install --global @ours.network/cli@2.7.2`, then use `ours daemon start` or `ours daemon install-service --yes`. The shared daemon owns broker connectivity and global identity state; cowork attaches through `@ours.network/sdk` 3.7.2 and never starts a runtime of its own.
|
|
4
4
|
|
|
5
5
|
The selected SDK and CLI must include the external-history storage epoch: structured `listIncomingMessages`/`getHistoryItem`/`getMessages` and `listIncomingFiles`/`fetchFile`/selected `getFiles` APIs backed by per-identity history and immutable blobs. A package with the same nominal version but the older packet-inbox contract is not compatible.
|
|
6
6
|
|
package/docs/02-installation.md
CHANGED
package/docs/05-room-workflow.md
CHANGED
|
@@ -34,6 +34,6 @@ Use the RPC arguments without `room_id`; the receiving room fixes the target. Fo
|
|
|
34
34
|
|
|
35
35
|
`list-members` retains its contact-safe roster. `remove-member` retains its epoch, confirm and no-self-removal gates. The separate `room.participant.remove` command instead grants the full operator removal behavior. `room.show`, `room.participants` and operator-view history return operator metadata. Policy-administration commands can delegate more privileges; `room.message` and `room.say` authorize room/role authorship. Assign these permissions deliberately. Command results may include invite material; do not relay them into chat.
|
|
36
36
|
|
|
37
|
-
Host lifecycle and global room creation/listing are excluded. `room.accept` accepts invitation input through its separate grant and remains unavailable through REST. Ours close/delete return a durable accepted receipt before closing the reply channel; verify completion through management. Close retains archive/files; delete requires `confirm:true`, closes first, and erases local room data. Pending lifecycle requests resume after restart; failed requests remain visible in room metadata for explicit management retry. Missing replies do not prove a mutation failed.
|
|
37
|
+
Host lifecycle and global room creation/listing are excluded. `room.accept` accepts invitation input through its separate grant and remains unavailable through REST. Ours close/delete return a durable accepted receipt before closing the reply channel; verify completion through management. Close retains archive/files; delete requires `confirm:true`, closes first, and erases local room data. Pending lifecycle requests resume after restart; failed requests remain visible in room metadata for explicit management retry. Missing replies do not prove a mutation failed.
|
|
38
38
|
|
|
39
39
|
The SDK owns command reply delivery and its size limits. Large history pages or a single large file record may exceed that transport's capacity; use CLI/REST for those results. No additional result-omission contract is introduced.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ours.network/cowork",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Durable ours mission rooms on the shared ours daemon.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "FSL-1.1-Apache-2.0",
|
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
"test:release": "node --test tests/static-gates.test.mjs"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@ours.network/sdk": "3.7.
|
|
29
|
+
"@ours.network/sdk": "3.7.2",
|
|
30
|
+
"ajv": "8.20.0",
|
|
30
31
|
"better-sqlite3": "11.10.0",
|
|
31
32
|
"react": "18.3.1",
|
|
32
33
|
"react-dom": "18.3.1",
|
|
@@ -34,7 +35,7 @@
|
|
|
34
35
|
},
|
|
35
36
|
"devDependencies": {
|
|
36
37
|
"@adapt-toolkit/broker": "0.10.12",
|
|
37
|
-
"@ours.network/cli": "2.7.
|
|
38
|
+
"@ours.network/cli": "2.7.2",
|
|
38
39
|
"@testing-library/jest-dom": "6.6.3",
|
|
39
40
|
"@testing-library/react": "16.1.0",
|
|
40
41
|
"@testing-library/user-event": "14.5.2",
|