@haneinfo/collaboration 0.3.0 → 0.3.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/README.md +4 -0
- package/agent-guide.md +4 -0
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -63,3 +63,7 @@ GET /state-machine-instances/:id/mentionable?q= returns { items: [{ id, name }]
|
|
|
63
63
|
IdentityStorePort.searchActiveByName owns database filtering and keyset pages of at most 20 candidates. Upgrade identity-core with collaboration. Missing optional identity search fails closed with IDENTITY_SEARCH_UNAVAILABLE (503). Collaboration evaluates each candidate through the existing effective RBAC authorization and reader grant check; it does not query role tables or reproduce role policy. Memory is bounded by one candidate page plus 20 results; a sparse query can require many bounded queries. Results are ordered by identity id. Comments revalidate mentions when posted.
|
|
64
64
|
|
|
65
65
|
GET comments and GET timeline now include following: boolean for the caller, queried in the same transaction as the page. MCP get_instance_comments and get_instance_timeline preserve following. New list_mentionable_users accepts { instanceId, q? }, uses <namespace>:instance:read, is read-only, and wraps each name in $userContent. The manifest declares all six tools; no confirmation or new mutation tool is added.
|
|
66
|
+
|
|
67
|
+
## Instance privacy alignment
|
|
68
|
+
|
|
69
|
+
Collaboration already returns identical INSTANCE_NOT_FOUND/404 for missing and unreadable instances before comments, timeline, mentions and follow operations. State-machine now applies the same hiding behavior before human writes; collaboration authorization is unchanged. No general-user people lookup is added.
|
package/agent-guide.md
CHANGED
|
@@ -103,3 +103,7 @@ GET /state-machine-instances/:id/mentionable?q= returns { items: [{ id, name }]
|
|
|
103
103
|
IdentityStorePort.searchActiveByName owns database filtering and keyset pages of at most 20 candidates. Upgrade identity-core with collaboration. Missing optional identity search fails closed with IDENTITY_SEARCH_UNAVAILABLE (503). Collaboration evaluates each candidate through the existing effective RBAC authorization and reader grant check; it does not query role tables or reproduce role policy. Memory is bounded by one candidate page plus 20 results; a sparse query can require many bounded queries. Results are ordered by identity id. Comments revalidate mentions when posted.
|
|
104
104
|
|
|
105
105
|
GET comments and GET timeline now include following: boolean for the caller, queried in the same transaction as the page. MCP get_instance_comments and get_instance_timeline preserve following. New list_mentionable_users accepts { instanceId, q? }, uses <namespace>:instance:read, is read-only, and wraps each name in $userContent. The manifest declares all six tools; no confirmation or new mutation tool is added.
|
|
106
|
+
|
|
107
|
+
## Instance privacy alignment
|
|
108
|
+
|
|
109
|
+
Collaboration already returns identical INSTANCE_NOT_FOUND/404 for missing and unreadable instances before comments, timeline, mentions and follow operations. State-machine now applies the same hiding behavior before human writes; collaboration authorization is unchanged. No general-user people lookup is added.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haneinfo/collaboration",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Immutable instance comments, merged timelines and following.",
|
|
6
6
|
"files": [
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"./prisma/collaboration.prisma": "./prisma/collaboration.prisma"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@haneinfo/plugin-api": "1.
|
|
32
|
+
"@haneinfo/plugin-api": "1.12.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@haneinfo/common": "^0.3.4",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@nestjs/core": "^11.0.0",
|
|
39
39
|
"@prisma/client": "^6.19.0",
|
|
40
40
|
"zod": "^4.4.0",
|
|
41
|
-
"@haneinfo/state-machine": "^0.6.0 || ^0.7.0"
|
|
41
|
+
"@haneinfo/state-machine": "^0.6.0 || ^0.7.0 || ^0.8.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@nestjs/common": "^11.0.0",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"typescript": "^5.9.3",
|
|
49
49
|
"vitest": "^4.1.11",
|
|
50
50
|
"zod": "^4.4.0",
|
|
51
|
-
"@haneinfo/form": "0.3.
|
|
51
|
+
"@haneinfo/form": "0.3.2",
|
|
52
52
|
"@haneinfo/common": "0.3.4",
|
|
53
|
-
"@haneinfo/
|
|
54
|
-
"@haneinfo/
|
|
55
|
-
"@haneinfo/
|
|
56
|
-
"@haneinfo/plugin-
|
|
53
|
+
"@haneinfo/state-machine": "0.8.0",
|
|
54
|
+
"@haneinfo/definition-registry": "0.1.7",
|
|
55
|
+
"@haneinfo/plugin-testkit": "2.3.0",
|
|
56
|
+
"@haneinfo/plugin-host-nest": "2.1.0"
|
|
57
57
|
},
|
|
58
58
|
"license": "UNLICENSED",
|
|
59
59
|
"publishConfig": {
|