@aopslabs/aops 0.3.9 → 0.3.11
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/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/SKILL.md +3 -4
- package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/agentspace/SKILL.md +4 -4
- package/agent-assets-release/agent-assets/core/070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5/files/references/chatv3/SKILL.md +59 -0
- package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/collaborative-work/SKILL.md +10 -13
- package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/discuss/SKILL.md +2 -2
- package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/docman/SKILL.md +6 -0
- package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/projectman/SKILL.md +6 -0
- package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/working-disciplines/SKILL.md +1 -1
- package/agent-assets-release/agent-assets/core/070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5/files/user-guides/agentspace.md +198 -0
- package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/user-guides/aops-cli.md +25 -24
- package/agent-assets-release/agent-assets/core/070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5/files/user-guides/chatv3.md +98 -0
- package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/user-guides/docman.md +16 -0
- package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/user-guides/projectman.md +7 -0
- package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/user-guides/working-disciplines.md +2 -2
- package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/manifest.json +31 -36
- package/agent-assets-release/agent-assets/inventory.json +5 -5
- package/agent-assets-release/agent-assets/projection.json +1 -1
- package/agent-assets-release/agent-assets-release.json +64 -69
- package/agent-assets-release/agent-assets-release.sigstore.json +25 -26
- package/assets/agent-assets/core/SKILL.md +3 -4
- package/assets/agent-assets/core/references/agentspace/SKILL.md +4 -4
- package/assets/agent-assets/core/references/chatv3/SKILL.md +36 -26
- package/assets/agent-assets/core/references/collaborative-work/SKILL.md +10 -13
- package/assets/agent-assets/core/references/discuss/SKILL.md +2 -2
- package/assets/agent-assets/core/references/docman/SKILL.md +6 -0
- package/assets/agent-assets/core/references/projectman/SKILL.md +6 -0
- package/assets/agent-assets/core/references/working-disciplines/SKILL.md +1 -1
- package/assets/agent-assets/core/user-guides/agentspace.md +135 -1035
- package/assets/agent-assets/core/user-guides/aops-cli.md +25 -24
- package/assets/agent-assets/core/user-guides/chatv3.md +82 -97
- package/assets/agent-assets/core/user-guides/docman.md +16 -0
- package/assets/agent-assets/core/user-guides/projectman.md +7 -0
- package/assets/agent-assets/core/user-guides/working-disciplines.md +2 -2
- package/dist/commands/chatv3.js +81 -46
- package/dist/commands/doc.js +16 -8
- package/dist/commands/pm/index.js +2 -5
- package/dist/commands/pm/projectman.js +36 -95
- package/dist/lib/agent-assets/native-fs.js +2 -2
- package/dist/main.js +2 -3
- package/dist/seeds/agents-md.js +1 -1
- package/dist/utils/chatv3-cursor.js +41 -0
- package/dist/utils/chatv3-session-store.js +166 -36
- package/launchers/aops-cockpit.sh +0 -0
- package/launchers/aops-server.sh +0 -0
- package/native/bin/darwin-arm64/aops-agent-assets-fs +0 -0
- package/native/bin/darwin-x64/aops-agent-assets-fs +0 -0
- package/native/bin/linux-arm64/aops-agent-assets-fs +0 -0
- package/native/bin/linux-x64/aops-agent-assets-fs +0 -0
- package/native/bin/win32-x64/aops-agent-assets-fs.exe +0 -0
- package/native/manifest.json +6 -6
- package/native/qualifications/win32-x64.json +1 -1
- package/native/tui/darwin-arm64/aops-tui +0 -0
- package/native/tui/win32-x64/aops-tui.exe +0 -0
- package/package.json +6 -4
- package/agent-assets-release/agent-assets/core/0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706/files/references/chatv3/SKILL.md +0 -49
- package/agent-assets-release/agent-assets/core/0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706/files/references/hosted-chat/SKILL.md +0 -64
- package/agent-assets-release/agent-assets/core/0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706/files/user-guides/agentspace.md +0 -1098
- package/agent-assets-release/agent-assets/core/0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706/files/user-guides/chatv3.md +0 -113
- package/assets/agent-assets/core/references/hosted-chat/SKILL.md +0 -64
- package/dist/commands/chat.js +0 -1363
- /package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/aops-cli-core/SKILL.md +0 -0
- /package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/mission/SKILL.md +0 -0
- /package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/sys/SKILL.md +0 -0
- /package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/view/SKILL.md +0 -0
- /package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/user-guides/agent-assets.md +0 -0
- /package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/user-guides/aops-system.md +0 -0
- /package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/user-guides/sys.md +0 -0
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
<!-- Public packaged snapshot from canonical slug:aops ChatV3 guidance. Read only the relevant section; installed command --help and live schema win on drift. -->
|
|
2
|
-
|
|
3
|
-
# ChatV3 User Guide
|
|
4
|
-
|
|
5
|
-
## 1 Encryption Modes And Invite Shapes
|
|
6
|
-
|
|
7
|
-
### 1.1 Overview
|
|
8
|
-
|
|
9
|
-
ChatV3 channels declare `encryptionMode`:
|
|
10
|
-
|
|
11
|
-
| Mode | Cipher suite | Invite fragment | Content access model |
|
|
12
|
-
| --- | --- | --- | --- |
|
|
13
|
-
| `e2e` | `v0-shared-epoch` | `#<keyId>.<accessSecret>.<wrapSecret>` | server-blind content; every browser needs the invite wrap secret or a recovery package |
|
|
14
|
-
| `server-encrypted` | `v1-server-managed` | `#srv.<keyId>.<accessSecret>` | server-managed content encryption; the server can access message content and can reissue access for active AuthV2-bound members |
|
|
15
|
-
|
|
16
|
-
Cockpit creates new channels as `server-encrypted` by default and offers `e2e`
|
|
17
|
-
as the stricter client-managed option. The UI and documentation must keep the
|
|
18
|
-
copy honest: `server-encrypted` is encrypted by server-managed keys, not E2E.
|
|
19
|
-
|
|
20
|
-
`server-encrypted` joins use the `srv` invite form, then fetch server-managed
|
|
21
|
-
epoch keys for the active member. A fresh AuthV2 login can reopen a
|
|
22
|
-
server-encrypted channel by re-minting the member token when the principal is
|
|
23
|
-
still bound to an active membership. `e2e` channels cannot use server remint;
|
|
24
|
-
they stay locked until the browser has the invite wrap secret or account
|
|
25
|
-
recovery material.
|
|
26
|
-
|
|
27
|
-
Removing a member blocks future member-auth reads, remint, and server-managed
|
|
28
|
-
epoch-key reads. It does not delete any raw epoch keys or messages already
|
|
29
|
-
fetched by that browser before removal; use a rotate follow-up when stronger
|
|
30
|
-
post-removal secrecy is required.
|
|
31
|
-
|
|
32
|
-
## 2 Agent CLI Contract
|
|
33
|
-
|
|
34
|
-
### 2.1 Overview
|
|
35
|
-
|
|
36
|
-
Agents should use `aops chatv3` when they join or operate inside a ChatV3
|
|
37
|
-
product channel.
|
|
38
|
-
|
|
39
|
-
| Need | Command |
|
|
40
|
-
| --- | --- |
|
|
41
|
-
| Join from an invite | `aops chatv3 join "<invite>" --handle <agent> --save-session --json` |
|
|
42
|
-
| Send text | `aops chatv3 send --session <id> --room <slug> "<text>" --mark-delivered --mark-read --json` |
|
|
43
|
-
| Read once | `aops chatv3 read --session <id> --room <slug> --after-seq <n> --json` |
|
|
44
|
-
| Wait for new messages | `aops chatv3 listen --session <id> --room <slug> --after-seq <n> --timeout-sec <n> --json` |
|
|
45
|
-
| Roster | `aops chatv3 member list --session <id> --json` |
|
|
46
|
-
| Presence | `aops chatv3 presence set --session <id> --room <slug> --state working --json` |
|
|
47
|
-
| Leave | `aops chatv3 leave --session <id> --json` |
|
|
48
|
-
| Local sessions | `aops chatv3 session list|get|forget ... --json` |
|
|
49
|
-
|
|
50
|
-
`read` and `listen` always return explicit cursor state:
|
|
51
|
-
|
|
52
|
-
- `messages`, including `[]` when no new messages exist
|
|
53
|
-
- `messageCount`
|
|
54
|
-
- `latestSeq`
|
|
55
|
-
- `caughtUp`
|
|
56
|
-
|
|
57
|
-
`listen` exits with `0` when messages are found and `22` on timeout. It is a
|
|
58
|
-
polling primitive; server-sent events remain a UI/runtime concern.
|
|
59
|
-
|
|
60
|
-
`join` uses the server URL embedded in the invite by default. `--api-base-url`
|
|
61
|
-
is an explicit override for controlled local smoke tests. Join output includes a
|
|
62
|
-
short orientation summary with channel, active room, room count, member count,
|
|
63
|
-
recent message count, and the parsed invite mode (`e2e` or
|
|
64
|
-
`server-encrypted`). When `--save-session` is used, the local session store keeps
|
|
65
|
-
the member token plus either the `e2e` wrap secret or the imported
|
|
66
|
-
server-managed epoch keys encrypted at rest.
|
|
67
|
-
|
|
68
|
-
## 3 Member And Presence Model
|
|
69
|
-
|
|
70
|
-
### 3.1 Overview
|
|
71
|
-
|
|
72
|
-
Members use `MEMBER_STATUSES = active | removed` and
|
|
73
|
-
`MEMBER_ROLE_KEYS = owner | member | operator | observer`.
|
|
74
|
-
|
|
75
|
-
Presence uses `active | idle | working | reviewing | blocked | offline`.
|
|
76
|
-
Presence is scoped to a room and is safe to expose in roster surfaces because it
|
|
77
|
-
contains only member id, state, note, update time, and expiration state.
|
|
78
|
-
|
|
79
|
-
## 4 Self Leave And Admin Cleanup
|
|
80
|
-
|
|
81
|
-
### 4.1 Overview
|
|
82
|
-
|
|
83
|
-
`chatv3.member.update` is callable with member auth but the service keeps the
|
|
84
|
-
authorization boundary narrow:
|
|
85
|
-
|
|
86
|
-
- a member may only update its own member row to `status: "removed"`
|
|
87
|
-
- that self-leave path must not include `roleKey` or `displayName`
|
|
88
|
-
- every other member update still requires `owner` or `operator`
|
|
89
|
-
|
|
90
|
-
The CLI exposes the self path as `aops chatv3 leave`. Cockpit exposes both
|
|
91
|
-
member self-leave and owner/operator cleanup, but the domain service remains the
|
|
92
|
-
source of truth for authorization.
|
|
93
|
-
|
|
94
|
-
No migration is required for self-leave because `removed` is already the
|
|
95
|
-
canonical member status.
|
|
96
|
-
|
|
97
|
-
## 5 Cockpit Expectations
|
|
98
|
-
|
|
99
|
-
### 5.1 Overview
|
|
100
|
-
|
|
101
|
-
ChatV3 cockpit clients should make the agent-oriented state visible:
|
|
102
|
-
|
|
103
|
-
- channel/room orientation: active channel, active room, room count, member
|
|
104
|
-
count, message count, channel guidance, and room guidance
|
|
105
|
-
- roster and presence: active/removed members, role, presence state, read/deliver
|
|
106
|
-
cursors, and directive ACK rollup
|
|
107
|
-
- membership controls: current member can leave; owners/operators can remove
|
|
108
|
-
other active members
|
|
109
|
-
|
|
110
|
-
ChatV3 UI must not store bearer tokens in local storage, must not expose member
|
|
111
|
-
tokens in visible text, and must preserve the server-blind message-content
|
|
112
|
-
boundary for `e2e` channels. For `server-encrypted` channels, UI copy must
|
|
113
|
-
state that the server can access message content.
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: aops-cli-chat
|
|
3
|
-
description: Use for hosted Agentspace coordination rooms and direct messages, membership, bindings, messages, inbox/listen/catchup cursors, manifests, and agent onboarding briefs.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Hosted AOPS chat
|
|
7
|
-
|
|
8
|
-
`aops chat` is the coordination and wake channel for agents/operators. It is
|
|
9
|
-
not ChatV3 encrypted product messaging, the structured `discuss` transcript,
|
|
10
|
-
or the Projectman review record.
|
|
11
|
-
|
|
12
|
-
Deep semantics and troubleshooting are in the hosted-chat sections of
|
|
13
|
-
`../../user-guides/agentspace.md`.
|
|
14
|
-
|
|
15
|
-
## Room lifecycle
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
aops chat --help
|
|
19
|
-
aops chat room list --json
|
|
20
|
-
aops chat room create --slug <slug> --title "<purpose>" \
|
|
21
|
-
--created-by <agent> --member "<agent>:<role>" --apply --json
|
|
22
|
-
aops chat room get --id <id> --json
|
|
23
|
-
aops chat room brief --room-id <id> --for <agent>
|
|
24
|
-
aops chat room manifest --room-id <id> --json
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Use stable agent/operator identities and explicit role keys. Room closeout is
|
|
28
|
-
operator-controlled; ordinary task completion should not silently close it.
|
|
29
|
-
|
|
30
|
-
## Bind durable references
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
aops chat binding add --room-id <id> \
|
|
34
|
-
--binding-type projectman.board --ref-id <board-id> \
|
|
35
|
-
--title "PM board" --created-by <agent> --apply --json
|
|
36
|
-
aops chat room manifest --room-id <id> --json
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
Bindings orient participants; they do not move canonical truth out of
|
|
40
|
-
Projectman, Docman, or Agentspace.
|
|
41
|
-
|
|
42
|
-
## Messages and unread work
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
aops chat message send --help
|
|
46
|
-
aops chat inbox --for <agent> --json
|
|
47
|
-
aops chat listen --for <agent> --room-id <id> \
|
|
48
|
-
--timeout-sec 570 --interval-sec 15 --json
|
|
49
|
-
aops chat catchup --for <agent> --room-id <id> --apply --summary --json
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
Send a message to wake/coordinate a peer, then use Projectman for review status
|
|
53
|
-
or Discuss for a decision stance. Read cursors are per participant; acknowledge
|
|
54
|
-
directives and advance cursors only after processing the message.
|
|
55
|
-
|
|
56
|
-
## Schema fallback
|
|
57
|
-
|
|
58
|
-
```bash
|
|
59
|
-
aops agent tools --domain agentspace --q chat --limit 20 --summary --json
|
|
60
|
-
aops agent schema --tool agentspace.chat-message.send --summary --json
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
Do not guess member, cursor, or binding payloads. Never put database passwords,
|
|
64
|
-
auth tokens, or ChatV3 room keys into hosted room messages.
|