@songsid/agend 2.4.0-beta.22 → 2.4.0-beta.23
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/agent-whats-new.js +6 -0
- package/dist/agent-whats-new.js.map +1 -1
- package/dist/auth-api.d.ts +2 -0
- package/dist/auth-api.js +5 -2
- package/dist/auth-api.js.map +1 -1
- package/dist/authority/web-authority.d.ts +17 -3
- package/dist/authority/web-authority.js +56 -3
- package/dist/authority/web-authority.js.map +1 -1
- package/dist/build-provenance.json +1 -1
- package/dist/channel/mcp-tools.js +8 -1
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/classic-channel-manager.d.ts +1 -1
- package/dist/classic-channel-manager.js +2 -2
- package/dist/classic-channel-manager.js.map +1 -1
- package/dist/contact-auth-api.js +3 -1
- package/dist/contact-auth-api.js.map +1 -1
- package/dist/contact-auth-service.js +1 -1
- package/dist/contact-auth-service.js.map +1 -1
- package/dist/contact-auth-store.d.ts +28 -2
- package/dist/contact-auth-store.js +72 -4
- package/dist/contact-auth-store.js.map +1 -1
- package/dist/contact-change-proposals.d.ts +18 -1
- package/dist/contact-change-proposals.js +38 -4
- package/dist/contact-change-proposals.js.map +1 -1
- package/dist/contact-state-view.d.ts +103 -0
- package/dist/contact-state-view.js +80 -0
- package/dist/contact-state-view.js.map +1 -0
- package/dist/fleet-manager.d.ts +143 -15
- package/dist/fleet-manager.js +455 -78
- package/dist/fleet-manager.js.map +1 -1
- package/dist/general-knowledge/skills/admin/SKILL.md +52 -0
- package/dist/general-knowledge/skills/concepts/SKILL.md +14 -17
- package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +6 -3
- package/dist/general-knowledge/skills/hub/SKILL.md +6 -1
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +54 -9
- package/dist/general-knowledge/skills/worker-collaboration/SKILL.md +1 -1
- package/dist/general-role.d.ts +1 -1
- package/dist/general-role.js +1 -0
- package/dist/general-role.js.map +1 -1
- package/dist/hub/client.js +6 -1
- package/dist/hub/client.js.map +1 -1
- package/dist/hub/compose/member.d.ts +2 -1
- package/dist/hub/compose/member.js +3 -2
- package/dist/hub/compose/member.js.map +1 -1
- package/dist/hub/compose/server.js +2 -1
- package/dist/hub/compose/server.js.map +1 -1
- package/dist/hub/group-policy/resources.d.ts +1 -1
- package/dist/hub/http/compose.js +5 -0
- package/dist/hub/http/compose.js.map +1 -1
- package/dist/hub/protocol.d.ts +21 -0
- package/dist/hub/protocol.js +3 -0
- package/dist/hub/protocol.js.map +1 -1
- package/dist/hub/question-close-model.d.ts +17 -0
- package/dist/hub/question-close-model.js +7 -0
- package/dist/hub/question-close-model.js.map +1 -0
- package/dist/hub/representative.d.ts +5 -0
- package/dist/hub/representative.js +51 -1
- package/dist/hub/representative.js.map +1 -1
- package/dist/hub/rooms/direct-view.js +1 -0
- package/dist/hub/rooms/direct-view.js.map +1 -1
- package/dist/hub/rooms/types.d.ts +1 -1
- package/dist/hub/rooms.d.ts +3 -0
- package/dist/hub/rooms.js +27 -1
- package/dist/hub/rooms.js.map +1 -1
- package/dist/hub/server.js +6 -1
- package/dist/hub/server.js.map +1 -1
- package/dist/hub/types.d.ts +2 -2
- package/dist/human-delivery-receipts.d.ts +12 -2
- package/dist/human-delivery-receipts.js +19 -4
- package/dist/human-delivery-receipts.js.map +1 -1
- package/dist/instructions.d.ts +1 -1
- package/dist/instructions.js +1 -1
- package/dist/instructions.js.map +1 -1
- package/dist/locale.js +100 -12
- package/dist/locale.js.map +1 -1
- package/dist/needs-you.d.ts +2 -0
- package/dist/needs-you.js +2 -1
- package/dist/needs-you.js.map +1 -1
- package/dist/office-share-page.js +1 -1
- package/dist/office-share-page.js.map +1 -1
- package/dist/outbound-handlers.d.ts +4 -0
- package/dist/outbound-handlers.js +40 -5
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/outbound-schemas.d.ts +2 -1
- package/dist/outbound-schemas.js +3 -2
- package/dist/outbound-schemas.js.map +1 -1
- package/dist/public-web-gateway.js +18 -0
- package/dist/public-web-gateway.js.map +1 -1
- package/dist/reply-buttons-controller.d.ts +2 -1
- package/dist/reply-buttons-controller.js +1 -1
- package/dist/reply-buttons-controller.js.map +1 -1
- package/dist/tool-permissions.js +1 -1
- package/dist/tool-permissions.js.map +1 -1
- package/dist/ui/accounts-keepalive.js +2 -1
- package/dist/ui/chat-activity.js +2 -1
- package/dist/ui/chat-pins.js +2 -1
- package/dist/ui/claude-credentials.js +2 -1
- package/dist/ui/contact-auth-strings.js +28 -17
- package/dist/ui/contact-authorizations.js +6 -4
- package/dist/ui/contact-needs.js +6 -1
- package/dist/ui/contact-permissions.js +6 -4
- package/dist/ui/contact-tool-groups.js +1 -1
- package/dist/ui/contact-verify-need.js +46 -0
- package/dist/ui/fleet-cache.js +2 -1
- package/dist/ui/fleet-office-skin.js +10 -6
- package/dist/ui/fleet-office-zones.js +22 -9
- package/dist/ui/fleet-office.js +16 -9
- package/dist/ui/fleet-org.js +6 -1
- package/dist/ui/fleet-tab-icons.js +19 -0
- package/dist/ui/fleet-task-activity.js +2 -1
- package/dist/ui/fleet-task-view.js +2 -1
- package/dist/ui/fleet-usage.js +2 -1
- package/dist/ui/hub-admin-overview.js +2 -1
- package/dist/ui/hub-agent-intro.js +2 -1
- package/dist/ui/hub-assistant-admin.js +2 -1
- package/dist/ui/hub-directory-notices.js +2 -1
- package/dist/ui/hub-enrolment-code.js +2 -1
- package/dist/ui/hub-my-agents.js +2 -1
- package/dist/ui/hub-quick-pairing.js +2 -1
- package/dist/ui/hub-role-audit.js +2 -1
- package/dist/ui/hub-role-forms.js +3 -2
- package/dist/ui/hub-role-view.js +3 -2
- package/dist/ui/hub-roles.js +2 -1
- package/dist/ui/hub-room-agent-strings.js +2 -1
- package/dist/ui/hub-room-list.js +2 -1
- package/dist/ui/hub-room-owner-requests.js +2 -1
- package/dist/ui/hub-room-pins.js +2 -1
- package/dist/ui/hub-room-strings.js +2 -2
- package/dist/ui/hub-room-thread.js +1 -1
- package/dist/ui/log-row.js +4 -3
- package/dist/ui/office-share-dialog.js +2 -1
- package/dist/ui/office-share-page.js +2 -1
- package/dist/ui/page-share-dialog.js +3 -2
- package/dist/ui/panel-chat.js +2 -1
- package/dist/ui/panel-details.js +2 -1
- package/dist/ui/panel-fleet.js +10 -5
- package/dist/ui/panel-hub.js +2 -1
- package/dist/ui/panel-needs.js +31 -3
- package/dist/ui/panel-notices.js +2 -1
- package/dist/ui/panel-runtimes.js +2 -1
- package/dist/ui/panel-windows-cli.js +3 -2
- package/dist/ui/runtime-cli-install.js +2 -1
- package/dist/ui/settings-appearance.js +2 -1
- package/dist/ui/settings-guests.js +4 -3
- package/dist/ui/settings-hub-member-address.js +2 -1
- package/dist/ui/settings-hub-setup.js +2 -1
- package/dist/ui/settings-hub-web-address.js +2 -1
- package/dist/ui/settings-hub.js +2 -1
- package/dist/ui/settings-update.js +2 -1
- package/dist/ui/settings-web-authority.js +2 -1
- package/dist/ui/shared/agent-sheet.js +2 -1
- package/dist/ui/shared/app-session.js +4 -3
- package/dist/ui/shared/app-shell.js +6 -2
- package/dist/ui/shared/app.css +38 -8
- package/dist/ui/shared/chat-time.js +7 -4
- package/dist/ui/shared/clock-text.js +57 -0
- package/dist/ui/shared/device-roles.js +6 -5
- package/dist/ui/shared/instance-nav.js +17 -22
- package/dist/ui/shared/usage-dialog.js +2 -1
- package/dist/ui/shared/view-strings.js +0 -14
- package/dist/ui/shared/web-authorize.js +3 -2
- package/dist/ui/subagent-row.js +2 -1
- package/dist/web-api.d.ts +15 -2
- package/dist/web-api.js +62 -13
- package/dist/web-api.js.map +1 -1
- package/dist/web-login.d.ts +6 -1
- package/dist/web-login.js +8 -3
- package/dist/web-login.js.map +1 -1
- package/dist/web-session-authorization.d.ts +3 -0
- package/dist/web-session-authorization.js +1 -1
- package/dist/web-session-authorization.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: admin
|
|
3
|
+
description: What General can do for the administrator — by itself (a tool), only as a proposal the admin confirms, or not at all (where the person clicks). Load it first for any admin ask; it points to the detailed skill.
|
|
4
|
+
roles: [general]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Three kinds of answer
|
|
8
|
+
|
|
9
|
+
- **Tool**: do it now, then say what changed.
|
|
10
|
+
- **Proposal**: General asks and an authorized admin presses Confirm on the card the fleet posts. Say that nothing has
|
|
11
|
+
changed yet and who must confirm.
|
|
12
|
+
- **The person does it**: say exactly where they click. Never claim a change you cannot make.
|
|
13
|
+
|
|
14
|
+
## Map
|
|
15
|
+
|
|
16
|
+
| Area | The admin asks | How |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
| Agents | create, delete, replace, start, stop, pause, wake, restart | Tool (`create_instance` … `restart_instance`); see instance-lifecycle |
|
|
19
|
+
| Agents | backend, model, tool set, auto-pause, name, description | Tool `update_instance_config` (a change restarts the agent) |
|
|
20
|
+
| Agents | reasoning effort | Read with `get_effort`; the person sets it on the agent's Settings page (row ⋯ → Settings) |
|
|
21
|
+
| Accounts | move an agent to another account | Tool `update_instance_config` (credential profile), once that account exists; see credential-profiles |
|
|
22
|
+
| Accounts | add or sign in an account | The person: `/login`, or Settings → AI accounts (a browser sign-in) |
|
|
23
|
+
| Fleet defaults | default backend, model, auto-pause, message size | Tool `update_fleet_defaults`. Check `get_fleet_config` first: an agent with its own value keeps it |
|
|
24
|
+
| Fleet settings | anything else (task board, notifications, access) | The person: Settings, then **/** to search the setting by name |
|
|
25
|
+
| Teams, schedules, decisions, task board cards | all | Tool (`create_team`, `create_schedule`, `post_decision`, `task`) |
|
|
26
|
+
| Contact permissions | what is held, and who it waits on | Tool `contact_state` (read-only) |
|
|
27
|
+
| Contact permissions | approve or decline a held message | The person: the held message's own card in General (**Approve once** / **Decline**), if it has one; else proposal `propose_contact_change` kind `ticket-decision` (the short id people see, R + 8 characters, works) |
|
|
28
|
+
| Contact permissions | change or remove a standing rule | Proposal `grant-adjust` / `grant-revoke`; the grant_id comes from `contact_state` |
|
|
29
|
+
| ClassicBot rooms | restricted or unrestricted | Proposal `mode`: `restricted`, or `legacy` (= unrestricted, 自由) |
|
|
30
|
+
| Contact permissions | clear an agent's retained origin | The person: the agent's Permissions tab in the web dashboard |
|
|
31
|
+
| Contact permissions | the target is not on Discord/Telegram | The person: Fleet › Authorizations (授權) or Needs you, in the web dashboard |
|
|
32
|
+
| Hub | connect, share or pause an agent, who may ask, groups | The person, with their company account; see hub |
|
|
33
|
+
| Access | administrators, allowed users, guests | The person: Settings → Access & security (it grants authority) |
|
|
34
|
+
| Links | open a public link, its lifetime | The person: `/web` → Other device, or Settings → Access & security for a fixed link |
|
|
35
|
+
| Updates | update now or at a time | The person: `/update` in a chat, or the update notice; see fleet-restart |
|
|
36
|
+
| Look, office | themes, colours, cards, effects, office styles | Tool (`set_web_settings`, `web_appearance`, `office_*`); see web-appearance |
|
|
37
|
+
|
|
38
|
+
## Contact permissions, step by step
|
|
39
|
+
|
|
40
|
+
0. A held message from an agent, or from a ClassicBot room to an agent, already has a card in General on the target's
|
|
41
|
+
Discord or Telegram: **Approve once** / **Decline**. An administrator who may decide clicks it there; that is the
|
|
42
|
+
decision, with no proposal and no second Confirm. Use the steps below when there is no card (the target is not on
|
|
43
|
+
Discord/Telegram, or the card has expired) or the admin asks you to.
|
|
44
|
+
1. `contact_state` (optionally `agent`): `held` lists each waiting message with `short_id`, from, to, the people it
|
|
45
|
+
came from and who decides.
|
|
46
|
+
2. `propose_contact_change` with `{ kind: "ticket-decision", ticket_id: "<short_id>", decision: "approve-once" }`
|
|
47
|
+
(or `"decline"`). Add `grant` only when the admin asked for a standing rule.
|
|
48
|
+
3. Tell the admin a card is waiting in General for them to Confirm, and that it expires in five minutes.
|
|
49
|
+
4. A refusal is a sentence that says what to do next: follow it (read `contact_state` again, or send the admin to
|
|
50
|
+
the web page it names).
|
|
51
|
+
|
|
52
|
+
Contact approval lets one message through; it does not limit what the receiving agent does afterwards.
|
|
@@ -151,7 +151,7 @@ WebFetch refuses explicit non-public URL forms. DNS and redirects are not pinned
|
|
|
151
151
|
selected MCP tools keep their own access, and old conversation memory is not erased.
|
|
152
152
|
When it delegates work for a person in the room, it keeps the requester with the worker and correlation, then summarizes the matching result in its bound channel and mentions that requester. Unrelated peer reports, chatter and FYI stay quiet.
|
|
153
153
|
|
|
154
|
-
|
|
154
|
+
`/start` asks for a backend and a mode, Restricted or Free (受限模式 or 自由模式). The room is not created until both are chosen. For a fleet admin, Free (recommended) / 自由模式(建議) comes first. Restricted / 受限模式 stays a button, and the tap is still required. Only a fleet admin can choose Free; anyone else is offered Restricted and told why Free is not offered. Change it later in the room's Settings → Permissions (權限), or from General's contact-change card. A room that already exists stays as it is until an administrator switches it. Non-admin peer relays in a Restricted room are held for a target's Fleet administrator to approve. Contact approval authorizes dispatch only, not the worker's later actions. Native tool coverage is reported separately. General may read the current state with `contact_state` and use `propose_contact_change` to propose room mode (`legacy` is Free, unrestricted), contact-ticket (the short ID works) or existing-rule changes. The daemon posts a bound confirmation to the target connection’s General; only a currently authorized Discord/Telegram person may confirm. General never confirms or applies its own proposal. Host-only targets use the web.
|
|
155
155
|
|
|
156
156
|
- Code: `src/classic-channel-manager.ts`.
|
|
157
157
|
- Refs: `docs/permissions.md`.
|
|
@@ -165,7 +165,7 @@ can still message each other from the dashboard.
|
|
|
165
165
|
- Can: everything chat fleets do, through `/ui` instead of chat.
|
|
166
166
|
- Can't: chat ingress; `/web revoke` (there is no `/web`) — its Notice names
|
|
167
167
|
the host's way, signing every browser out.
|
|
168
|
-
- Code: `src/web-only-fleet.ts:10-22`; `src/fleet-manager.ts:
|
|
168
|
+
- Code: `src/web-only-fleet.ts:10-22`; `src/fleet-manager.ts:1132-1141` (WEB_ONLY_REPLY_SINK: replies on a fleet with no chat platform are shown in the web chat).
|
|
169
169
|
- Refs: 28c2d3a3.
|
|
170
170
|
|
|
171
171
|
## host owner / operator
|
|
@@ -219,7 +219,7 @@ the General topic (approved by the user 2026-11-04).
|
|
|
219
219
|
- Can't: anything while unlisted — an empty list grants nobody, and open
|
|
220
220
|
access or a saved chat grant alone does not grant the role
|
|
221
221
|
(`docs/SECURITY.md:13`).
|
|
222
|
-
- Code: `src/config-validator.ts:
|
|
222
|
+
- Code: `src/config-validator.ts:385-393` (empty `allowed_users` grants nobody).
|
|
223
223
|
- Refs: —
|
|
224
224
|
|
|
225
225
|
## guest (web)
|
|
@@ -234,7 +234,7 @@ chat they could already use.
|
|
|
234
234
|
anyone who may open the View (#3069).
|
|
235
235
|
- Can't: admin routes, Notices, the usage report, or anything over surfaces
|
|
236
236
|
the fleet closed to guests.
|
|
237
|
-
- Code: `src/config-validator.ts:
|
|
237
|
+
- Code: `src/config-validator.ts:859-862` (`validateWebGuests`).
|
|
238
238
|
- Refs: #1920.
|
|
239
239
|
|
|
240
240
|
## tool set / tool profile (`full`, `coordinator`, `general`, `worker`, `standard`, `minimal`)
|
|
@@ -270,7 +270,7 @@ not answer, unconfirmed deliveries.
|
|
|
270
270
|
|
|
271
271
|
- Can: be acknowledged per item.
|
|
272
272
|
- Can't: be answered by an agent on the person's behalf.
|
|
273
|
-
- Code: `src/config.ts:
|
|
273
|
+
- Code: `src/config.ts:309-317` (`needsYouConfig`); `src/web-api.ts` (`/ui/needs/ack`);
|
|
274
274
|
`src/daemon.ts:1564`, `:2071`, `:9888`.
|
|
275
275
|
- Refs: —
|
|
276
276
|
|
|
@@ -282,7 +282,7 @@ have said in chat, kept, pushed and listed. Admins only, never a guest.
|
|
|
282
282
|
- Can: be listed and marked seen.
|
|
283
283
|
- Can't: be read by guests; on a chat fleet the feed is null because General
|
|
284
284
|
says them.
|
|
285
|
-
- Code: `src/web-api.ts:
|
|
285
|
+
- Code: `src/web-api.ts:3391-3399` (`GET /ui/notices/list`, `POST /ui/notices/seen`; #2910 D2); `src/web-notices.ts:2-7`.
|
|
286
286
|
- Refs: #2910 D2.
|
|
287
287
|
|
|
288
288
|
## delivery: ✅ 👀 ❌, "uncertain", queued hand-off (#3030)
|
|
@@ -300,7 +300,7 @@ takes it, ❌ when it never does.
|
|
|
300
300
|
- Can't: prove permission. A receipt proves the CLI accepted the bytes, not
|
|
301
301
|
that the person authorized the act — verify the human receipt before anything
|
|
302
302
|
irreversible.
|
|
303
|
-
- Code: `src/
|
|
303
|
+
- Code: `src/queued-handoffs.ts`; `src/web-notices.ts`; `docs/delivery-verification.md`.
|
|
304
304
|
- Refs: #3030, 7244b130, 954e5e96.
|
|
305
305
|
|
|
306
306
|
## schedule
|
|
@@ -360,7 +360,7 @@ finishing it from review with done.
|
|
|
360
360
|
`--acceptance`, `--check`, `--version`, …). The fleet judges them by the same
|
|
361
361
|
rules as a tool call (who may edit a card, a stale `version`, one card at a
|
|
362
362
|
time, the tool profile), so a CLI agent can do exactly what an MCP one can.
|
|
363
|
-
- Code: the `task` tool (`src/channel/mcp-tools.ts:
|
|
363
|
+
- Code: the `task` tool (`src/channel/mcp-tools.ts:90`); the command line
|
|
364
364
|
(`taskArgs` in `src/agent-cli.ts`).
|
|
365
365
|
- Refs: —
|
|
366
366
|
|
|
@@ -451,7 +451,7 @@ with authority.
|
|
|
451
451
|
Office shares) without a chat account.
|
|
452
452
|
- Can't: admin surfaces that require the dashboard reached directly (guests,
|
|
453
453
|
web authority, the dashboard's own web settings).
|
|
454
|
-
- Code: `src/config-validator.ts:
|
|
454
|
+
- Code: `src/config-validator.ts:457-460`;
|
|
455
455
|
`src/office-share-service.ts:6` (quick-tunnel 429s);
|
|
456
456
|
`src/public-preview.ts:4-5`.
|
|
457
457
|
- Refs: `docs/named-tunnel.md`.
|
|
@@ -533,14 +533,11 @@ right after the agent's Role, with a fixed preface.
|
|
|
533
533
|
|
|
534
534
|
Real code-vs-decision gaps only. Nothing here is papered over.
|
|
535
535
|
|
|
536
|
-
1. **General's
|
|
537
|
-
|
|
538
|
-
(
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
the full ORCHESTRATION set in beta.8 (agy's PR). No live mismatch once beta.8
|
|
542
|
-
lands; until then the code half is verified and the change half is the
|
|
543
|
-
decision's word.
|
|
536
|
+
1. **General's read-only debug tools and direct `tool_set` assignment
|
|
537
|
+
(convention, not enforced in code).** The extra abilities listed in the
|
|
538
|
+
General section come from user decision 36525f1b (2026-11-09); there is no
|
|
539
|
+
corresponding enforcement in tool-permissions. Recorded as convention;
|
|
540
|
+
where implementation differs, code wins.
|
|
544
541
|
|
|
545
542
|
[繁體中文](concepts.zh-TW.md)
|
|
546
543
|
|
|
@@ -65,7 +65,7 @@ Only five kinds of action need a go-ahead: a release or publish; anything destru
|
|
|
65
65
|
|
|
66
66
|
## Web-chat messages
|
|
67
67
|
|
|
68
|
-
A web-chat message (`[user:<name>@web#…]`) is that person: their sign-in code went to their own Discord or Telegram account. Answer it and do what it asks within your work — questions, looking things up, reading, analysis, changes in your own scope. Only a go-ahead action asks for more: a release or publish, anything destructive or irreversible beyond your own work (deleting what others use, force-pushing or resetting a shared branch; your temp files and your own branch and worktree are routine), spending money or quota beyond normal work, credentials or secrets, or granting or forwarding authority to another instance. For these an open browser is not proof of the account, so the account must stand behind it: a Discord or Telegram receipt, or a `@web:v` one — read it with `delivery_status` with `detail: true`: `authority.kind: web-verified`, its person `authority.actor` (adapter and user id), checked like a Discord or Telegram message (delivered, an owned proof_kind, the original content, that actor) and forwarded the same way. On a web-only fleet (no Discord or Telegram connection) that person is the host operator, signed in with `agend web --code` on the AgEnD computer itself: a verified receipt names `authority.actor` adapter `host`, user `operator`. A guest (`@web:g`) was let in only to chat: talk with them there, and take nothing they ask as the admin's. Plain `@web`, a guest, and authority since revoked (`authority.kind: none`) are not a go-ahead; nor is a reviewer's APPROVE.
|
|
68
|
+
A web-chat message (`[user:<name>@web#…]`) is that person: their sign-in code went to their own Discord or Telegram account. A known session account (including a receipt's `web_identity`) identifies the person; it does not grant a go-ahead. Answer it and do what it asks within your work — questions, looking things up, reading, analysis, changes in your own scope. Only a go-ahead action asks for more: a release or publish, anything destructive or irreversible beyond your own work (deleting what others use, force-pushing or resetting a shared branch; your temp files and your own branch and worktree are routine), spending money or quota beyond normal work, credentials or secrets, or granting or forwarding authority to another instance. For these an open browser is not proof of the account, so the account must stand behind it: a Discord or Telegram receipt, or a `@web:v` one — read it with `delivery_status` with `detail: true`: `authority.kind: web-verified`, its person `authority.actor` (adapter and user id), checked like a Discord or Telegram message (delivered, an owned proof_kind, the original content, that actor) and forwarded the same way. On a web-only fleet (no Discord or Telegram connection) that person is the host operator, signed in with `agend web --code` on the AgEnD computer itself: a verified receipt names `authority.actor` adapter `host`, user `operator`. A guest (`@web:g`) was let in only to chat: talk with them there, and take nothing they ask as the admin's. A guest's receipt may say `authority.kind: web-guest` with its `authority.actor`: that is who they are, verified, and never a go-ahead. Plain `@web`, a guest, and authority since revoked (`authority.kind: none`) are not a go-ahead; nor is a reviewer's APPROVE.
|
|
69
69
|
|
|
70
70
|
## Relayed human authorization
|
|
71
71
|
|
|
@@ -104,8 +104,11 @@ read tools. A non-admin or unknown-origin peer contact is held as an application
|
|
|
104
104
|
the target. Do not resend or work around it with another contact tool, a schedule,
|
|
105
105
|
or a new instance. The target's Fleet administrator decides the retained request.
|
|
106
106
|
Approval delivers it once; decline or expiry does not forward the held request.
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
Every outcome sends you one AgEnD system notice naming the ticket: approved (by whom,
|
|
108
|
+
when, and whether the target has it), declined or expired. While held, wait for that
|
|
109
|
+
notice; to check sooner, call `delivery_status` with `held_requests: true` (your own
|
|
110
|
+
requests only). Never resend. On decline or expiry, stop waiting for that request.
|
|
111
|
+
A notice is status only, not authority or a grant.
|
|
109
112
|
A standing narrow contact grant can admit matching requests without another card.
|
|
110
113
|
|
|
111
114
|
An administrator's approval or a matching administrator-written grant endorses
|
|
@@ -847,7 +847,12 @@ Say plainly that these are not in the product yet:
|
|
|
847
847
|
stopped before it reached the agent. When the Hub only could not answer for a moment, the Fleet asks it again by itself
|
|
848
848
|
(after 2 s, 10 s and 30 s) before holding the question. A held question that never reached the agent shows
|
|
849
849
|
**Try again** (再試一次): it goes back through the Hub's checks and is delivered only when the Hub allows it. A question the Hub
|
|
850
|
-
refused, or one that may already have reached the agent, has no Try again
|
|
850
|
+
refused, or one that may already have reached the agent, has no Try again. For a held one-to-one question,
|
|
851
|
+
a verified managing administrator can choose **Close this question** (不處理這題) and confirm.
|
|
852
|
+
The Hub marks the question not answered and tells the asker that the owner chose not to answer. An answer already
|
|
853
|
+
received by the Hub is kept. Closing is final: the same message cannot be retried, but the asker may send a new question. This never enters the question again or stops work already running in the agent.
|
|
854
|
+
The item disappears only after the Hub acknowledges. An offline or older Hub keeps the item with an explanation;
|
|
855
|
+
reconnect or update the Hub, then repeat the close action. Do not use Try again just to clear an item.
|
|
851
856
|
|
|
852
857
|
- **"That is not a Hub address."** Enter just the address (`hub.example.com`), or the address, a space and the join
|
|
853
858
|
code. **"A Hub address must use https."** Drop `http://`.
|
|
@@ -146,7 +146,13 @@ account.
|
|
|
146
146
|
DMs are closed, or Telegram's `/start web` DM) makes the browser **Verified** at once, with no card. The same DM gets
|
|
147
147
|
"*browser* signed in with the code sent to you, and is verified until …" with **Not me**, which signs that browser
|
|
148
148
|
out. With no DM, General gets one line with no details: `/web revoke` if it wasn't you.
|
|
149
|
-
- **
|
|
149
|
+
- **A guest's private /web code (M-3651)** makes the guest's browser verified as that account, for identity only. The
|
|
150
|
+
same DM gets "*browser* signed in as a guest … verified as you until …" with **Not me**, and the session menu says
|
|
151
|
+
**Guest · Verified until …**. Agents still see `@web:g`; the receipt says `authority.kind: web-guest` naming the
|
|
152
|
+
account, which is who it is and never a go-ahead or an admin's authority. A guest never gets a card: once it runs out,
|
|
153
|
+
send `/web` again. The switch, **Only this computer**, the link options and **Revoke web authority** end it as they
|
|
154
|
+
end an admin's.
|
|
155
|
+
- **Codes that don't verify:** `agend web --code` on a fleet with a chat connection.
|
|
150
156
|
- **Otherwise** (and to re-verify once the authorization runs out) the one row under the composer (bottom left, before the Enter hint) says **Not verified · Authorize**; the
|
|
151
157
|
session menu says **Not verified · Authorize this browser**. Pressing it
|
|
152
158
|
sends a card to that account's DM, saying which browser (device, on this computer or the network, when, until when), with
|
|
@@ -323,6 +329,20 @@ The instance card and Details → Runtime show a localized original → fallback
|
|
|
323
329
|
|
|
324
330
|
Needs you gets one item per new confirmed main-thread switch. Repeated blocks and resumed history do not announce it again; a fresh response returning to the configured/original model removes it. AgEnD does not switch models, restart the agent or change safeguards automatically. Intentional `/model` and next-spawn failover are separate; unresolved default/plan aliases are not guessed. No prompt, answer or refusal explanation is copied into the observation.
|
|
325
331
|
|
|
332
|
+
A signed-in web account is identifiable for contact permissions even before the browser is verified.
|
|
333
|
+
A host code on a chat-connected Fleet does not name a chat account. An approved device without a
|
|
334
|
+
bound account also does not inherit the approving browser’s identity; use the account sign-in or the
|
|
335
|
+
supported host sign-in path, rather than treating dashboard access as account recognition.
|
|
336
|
+
**Revoke web authority** stops that browser from giving go-aheads, but leaves it signed in: its
|
|
337
|
+
messages still identify the account for contact permissions. For a lost device, use that device’s
|
|
338
|
+
**Sign out** or **Sign out everywhere** to end account recognition as well.
|
|
339
|
+
Its messages and reply-button choices still carry no go-ahead authority until verification; a known
|
|
340
|
+
account is not a verified approval. Unidentified sources remain unknown. Older retained unknown origins
|
|
341
|
+
cannot be inferred from today's session: a verified managing administrator can use the sending Agent's
|
|
342
|
+
**Permissions → Clear retained origin**, accepting the current conversation as their own work. This is
|
|
343
|
+
an explicit audited reset, not an automatic repair; existing contact applications are not replayed.
|
|
344
|
+
Needs you's contact card and the refused contact response name this recovery path.
|
|
345
|
+
|
|
326
346
|
## Needs you
|
|
327
347
|
|
|
328
348
|
`/ui/needs`, the sidebar row **Needs you** with a count, the phone tab of the same name, and "(N)" in the browser
|
|
@@ -336,11 +356,22 @@ tab title. Items, grouped by instance, oldest first:
|
|
|
336
356
|
for answering in words (on Discord/Telegram: reply to the post); an MCP input request offers Decline / Cancel and is
|
|
337
357
|
filled in at the terminal (View).
|
|
338
358
|
A prompt shows its own answer buttons (first answer wins); a delivery has **Acknowledge** (clears it everywhere);
|
|
359
|
+
A held contact request (an agent or ClassicBot room asking another agent, waiting for approval) is shown only to a
|
|
360
|
+
verified administrator: with **Approve once** / **Decline**. A browser not yet verified (Authorize this browser not
|
|
361
|
+
done, or run out) sees one line instead — "N contact requests need a verified browser" with **Authorize this browser**
|
|
362
|
+
(or why this browser can't be authorized here) — the count only, never who or what; once the account confirms in its
|
|
363
|
+
DM, the requests replace the line. The same on the public link.
|
|
339
364
|
"Paused: AI account not connected" and "AI account needs connecting" have **Connect account** when the dashboard can run that login (#2233), in the group **AI accounts**; every item has **Open chat**. **Notify me on this device** (Turn on / Turn off) gives desktop notifications while the
|
|
340
365
|
tab is hidden — per browser, not on phones or plain-HTTP addresses. Config: `needs_you.live_message` (default on),
|
|
341
366
|
`needs_you.dm` (default off), `needs_you.task_board` (default off: the task board's cards waiting
|
|
342
367
|
for you — set `true` to list them).
|
|
343
368
|
|
|
369
|
+
Held Hub one-to-one questions offer **Close this question** (不處理這題), including an uncertain hold
|
|
370
|
+
without **Try again**. A verified administrator who manages that Agent confirms in the dashboard; the Hub then
|
|
371
|
+
marks it not answered for the asker and the item clears only after acknowledgement. An existing Hub answer is
|
|
372
|
+
preserved. Closing is final: the same message cannot be retried, but the asker may send a new question. Closing does not resend the question or stop work already running. Offline or unsupported Hubs leave
|
|
373
|
+
the item in place and explain what to do. **Try again** remains a separate action that can deliver the question.
|
|
374
|
+
|
|
344
375
|
**Notices** (#2910): on a fleet with no chat connection, what General would have posted (a version's new features, a
|
|
345
376
|
restart, a sign-in) is listed on the **Notices** page in the sidebar ("What General would have said"; **New**, **Open
|
|
346
377
|
chat**).
|
|
@@ -379,6 +410,9 @@ values reloaded after Save. Password fields keep the browser's behaviour.
|
|
|
379
410
|
|
|
380
411
|
`/ui/fleet/<tab>`: **Tasks**, **Schedules**, **Teams**, **Org chart**, **Cache**, plus a **Docs** link
|
|
381
412
|
(`/ui/fleet/config` leads to Settings → Shared agent settings: each of its settings lives in Settings, #2347).
|
|
413
|
+
On a phone (#4453) Fleet's header is two rows: ☰ and the page's name, then every Fleet tab (Tasks, Schedules, Teams,
|
|
414
|
+
Org chart, Cache, Usage, Authorizations, Host health) as an icon across the width — tap one; its name is the icon's
|
|
415
|
+
label for a screen reader. On a very narrow phone (under 352 px) the icons are two rows of four. Nothing scrolls off.
|
|
382
416
|
The sidebar's **Fleet** (zh "Fleet 概覽", at the top) and the phone's Fleet tab open the Fleet tab this device used last
|
|
383
417
|
(`agend_last_fleet_tab`; the Org chart the first time). The sidebar has no separate Fleet (Details) or View row.
|
|
384
418
|
- **Tasks** — the task board: Home lists **projects** (with % done) and what waits for the person (**Confirm** /
|
|
@@ -444,8 +478,9 @@ pack tools, and rolling back. Point people there for more than the summary below
|
|
|
444
478
|
|
|
445
479
|
**Office** (the third view, remembered per device; M-3556: its bar is one row — Office, Show, People on the left; Edit
|
|
446
480
|
offices, Share… and **⚙ Display options** on the right, a dropdown holding Style, Hide paused and stopped, Drag and pat,
|
|
447
|
-
Bedtime, Lobby tile, Dialogue, Talk and Key; a phone's ⋯ sheet lists the same in that order
|
|
448
|
-
|
|
481
|
+
Bedtime, Lobby tile, Dialogue, Talk and Key; a phone's ⋯ sheet lists the same in that order — on a phone the bar is Find, the
|
|
482
|
+
Canvas / List / Office switch and ⋯ in one row, or on a narrow phone (under 370 px, #4454) Find on its own row with the switch
|
|
483
|
+
and ⋯ under it; a Hub room's gear opens the same dropdown) draws the same fleet as a pixel office: a room per team, a desk
|
|
449
484
|
per instance with a name tag, General and "Not in a team" in the **Lobby**. Each little person is its state: typing
|
|
450
485
|
with the lamp on (working), tea break (idle), asleep behind a **Closed** sign (paused/stopped), a hand up under a
|
|
451
486
|
blinking light (needs you, crashed, looks stuck). With **Live** on, each message, delegation and report is carried
|
|
@@ -478,7 +513,10 @@ packs** on (`office_pack_access`, Dashboard access) can check, upload, replace,
|
|
|
478
513
|
previous version kept per pack); **Agents changing packs** under the packs names those agents, sets whether their changes
|
|
479
514
|
**Need my yes** (the default) or **Apply at once**, and approves or rejects the waiting ones (also from the notice's
|
|
480
515
|
buttons in General); every change is logged and told in General. **Style** (per office for a stored one; for the whole fleet, #2716, an admin's pick is kept on the host for every device and share link, anyone else's stays in their browser): **Desks**,
|
|
481
|
-
**Studio** (one scene — Work, Lounge, Help desk, Nap corner — where each instance walks to the area for its state
|
|
516
|
+
**Studio** (one scene — Work, Lounge, Help desk, Nap corner — where each instance walks to the area for its state; the Help
|
|
517
|
+
desk is for an agent that is calling: a Needs you item that names it, such as a held contact request to approve, a failed
|
|
518
|
+
delivery, a crash or a prompt waiting at its terminal. A ClassicBot room's low-key "can switch to restricted mode"
|
|
519
|
+
suggestion alone does not send it there, and the org chart doesn't mark it calling for it either, #4449),
|
|
482
520
|
**Cozy** (#2631: the same in a warm pixel-art office drawn as one picture; its notice board says a skin pack can
|
|
483
521
|
restyle it; the default for a browser that has not picked a style and for a new office — a saved office keeps its
|
|
484
522
|
own), **Guild** and **School** (#2947: two more pictures on the Cozy's arrangement — an adventurers' guild hall and a
|
|
@@ -584,9 +622,11 @@ chooses one visible name: **Display name** (暱稱) or **Instance name** (實際
|
|
|
584
622
|
both desktop and phone; density still belongs to each layout. Until a compact name is chosen, the existing leading-name
|
|
585
623
|
choice is kept (normally the display name, falling back to the instance name). The other name remains in the tooltip
|
|
586
624
|
and accessible name, and search matches both. Detailed keeps the current presentation.
|
|
587
|
-
Each detailed row (#2179): name and context % on the first line
|
|
588
|
-
|
|
589
|
-
(
|
|
625
|
+
Each detailed row (#2179): name and context % on the first line; at the end of the second (on a compact row, after the name)
|
|
626
|
+
one time, its most recent response (M-3707): its last reply to a person or the last turn another agent started for it
|
|
627
|
+
(send_to_instance, a task, a report, a broadcast), whichever is newer, unlabelled ("2 min ago"); the tooltip says which
|
|
628
|
+
kind it was. Only a reply to a person highlights the row (under 10 minutes old, fading by itself; nothing to mark read) or
|
|
629
|
+
moves it in Recent replies; an agent's turn updates the time silently. The sort button beside Edit: **Custom** (default; a reply never moves a row) or **Recent replies**
|
|
590
630
|
(the rest by last reply, no groups, no dragging; favorites pinned in their order, or **Sorted by last reply too**); synced
|
|
591
631
|
as `nav.sort`. Guests sort, star and filter as their own preferences (kept on the host under their account; reply times
|
|
592
632
|
count only replies their channel showed; no dragging); the anonymous View reader: no times, no sort (always Custom).
|
|
@@ -737,7 +777,7 @@ confirm. After a failure, unapplied changes are staged again
|
|
|
737
777
|
|---|---|---|
|
|
738
778
|
| Your name (**Save**, **Use web-user** / **Use <account>**) | the name agents see on your web messages | your profile |
|
|
739
779
|
| Theme: System / Light / Dark | page theme | host prefs `theme` |
|
|
740
|
-
| Language: English / 中文 | page language (not the bots' replies — that is Shared agent settings → Language) | host prefs `lang` |
|
|
780
|
+
| Language: English / 中文 | page language (not the bots' replies — that is Shared agent settings → Language). In 中文 every time on the dashboard is a 24-hour clock (00:19, 19:45; never 上午/下午) and durations say 小時/分鐘/秒; English keeps its own time format. Times keep their zone either way: chat lines in the fleet's zone, other times in the browser's | host prefs `lang` |
|
|
741
781
|
| Names: Nickname first / Real name first | sidebar names | host prefs `names.primary` |
|
|
742
782
|
| Allow HTML previews | the preview opt-in | host prefs `preview.optIn` |
|
|
743
783
|
| Chat tour (this device) | replays the chat tour | browser |
|
|
@@ -1053,4 +1093,9 @@ For the Hub's **My shared agents → Who may ask** person/name search, AD group
|
|
|
1053
1093
|
|
|
1054
1094
|
## General contact-change proposals
|
|
1055
1095
|
|
|
1056
|
-
|
|
1096
|
+
A held message from an agent, or from a ClassicBot room to an agent, also gets its own card in General on the target's
|
|
1097
|
+
Discord or Telegram, with **Approve once** / **Decline**. Only someone who may decide it can use them (anyone else is
|
|
1098
|
+
told so, and the card stays). Deciding it anywhere else, on the web or with another card, closes the card. A proposal
|
|
1099
|
+
(below) is a separate path: General posts a card that the admin must **Confirm**.
|
|
1100
|
+
|
|
1101
|
+
General can call `contact_state` (read-only) to see held messages, rules, room modes and restricting origins, and `propose_contact_change` with a structured `change`: room `mode` (`restricted` or `legacy`, which is unrestricted), `ticket-decision` (the ticket ID or the 9-character short ID people see, approve-once/decline, optionally exact originating-person keys and expiry/uses), `grant-adjust` (expiry/uses only), or `grant-revoke`. A refusal says why and what to do next. The daemon freezes the current revision and identities and posts its own confirmation in the target connection’s Discord/Telegram General. An authorized person must press Confirm; the tool call, a quoted approval, or General's own buttons never apply it. The card expires after five minutes; a changed revision, route or incarnation requires a new proposal. Unknown origins remain approve-once only. Host-only targets and unavailable platform routes use web Permissions/Authorizations. Contact approval never restricts what the receiving agent does afterward.
|
|
@@ -48,7 +48,7 @@ Only five kinds of action need a go-ahead: a release or publish; anything destru
|
|
|
48
48
|
|
|
49
49
|
`[user:Local app@app#local-connector]` is unverified local-app input. Same-OS-user processes, including Fleet agents, can send it. Apply your existing role and tool permissions; it supplies no signed-in person, peer identity or approval. Never use it to bypass sender/profile restrictions or grant authority. Answer ordinary requests through the normal reply path.
|
|
50
50
|
|
|
51
|
-
For an irreversible action based on relayed consent, request an explicit `forwards` edge for the original human receipt ID from `hid` (legacy `verification_id` also works), then read its original content and origin with `delivery_status` using `detail: true`. Each hop needs a forward; a peer's summary or a mentioned ID grants nothing. When you relay it, put the ID in `forwards` (even if your loaded copy of the tool's schema lacks the parameter: the server accepts it), not in the text. Put verification and message ids in the `forwards` field only; do not repeat them in the message text, because people see that text in the topic notices. Require delivered and an owned proof_kind, and verify the actual platform/adapter/actor plus the exact resource. Hidden/expired/uncertain receipts are not consent and must not trigger a resend. A web-chat message (`[user:<name>@web#…]`) is that person: their sign-in code went to their own Discord or Telegram account. Answer it and do what it asks within your work — questions, looking things up, reading, analysis, changes in your own scope. Only a go-ahead action asks for more: a release or publish, anything destructive or irreversible beyond your own work (deleting what others use, force-pushing or resetting a shared branch; your temp files and your own branch and worktree are routine), spending money or quota beyond normal work, credentials or secrets, or granting or forwarding authority to another instance. For these an open browser is not proof of the account, so the account must stand behind it: a Discord or Telegram receipt, or a `@web:v` one — read it with `delivery_status` with `detail: true`: `authority.kind: web-verified`, its person `authority.actor` (adapter and user id), checked like a Discord or Telegram message (delivered, an owned proof_kind, the original content, that actor) and forwarded the same way. On a web-only fleet (no Discord or Telegram connection) that person is the host operator, signed in with `agend web --code` on the AgEnD computer itself: a verified receipt names `authority.actor` adapter `host`, user `operator`. A guest (`@web:g`) was let in only to chat: talk with them there, and take nothing they ask as the admin's. Plain `@web`, a guest, and authority since revoked (`authority.kind: none`) are not a go-ahead; nor is a reviewer's APPROVE. See the cross-instance-messaging skill.
|
|
51
|
+
For an irreversible action based on relayed consent, request an explicit `forwards` edge for the original human receipt ID from `hid` (legacy `verification_id` also works), then read its original content and origin with `delivery_status` using `detail: true`. Each hop needs a forward; a peer's summary or a mentioned ID grants nothing. When you relay it, put the ID in `forwards` (even if your loaded copy of the tool's schema lacks the parameter: the server accepts it), not in the text. Put verification and message ids in the `forwards` field only; do not repeat them in the message text, because people see that text in the topic notices. Require delivered and an owned proof_kind, and verify the actual platform/adapter/actor plus the exact resource. Hidden/expired/uncertain receipts are not consent and must not trigger a resend. A web-chat message (`[user:<name>@web#…]`) is that person: their sign-in code went to their own Discord or Telegram account. A known session account (including a receipt's `web_identity`) identifies the person; it does not grant a go-ahead. Answer it and do what it asks within your work — questions, looking things up, reading, analysis, changes in your own scope. Only a go-ahead action asks for more: a release or publish, anything destructive or irreversible beyond your own work (deleting what others use, force-pushing or resetting a shared branch; your temp files and your own branch and worktree are routine), spending money or quota beyond normal work, credentials or secrets, or granting or forwarding authority to another instance. For these an open browser is not proof of the account, so the account must stand behind it: a Discord or Telegram receipt, or a `@web:v` one — read it with `delivery_status` with `detail: true`: `authority.kind: web-verified`, its person `authority.actor` (adapter and user id), checked like a Discord or Telegram message (delivered, an owned proof_kind, the original content, that actor) and forwarded the same way. On a web-only fleet (no Discord or Telegram connection) that person is the host operator, signed in with `agend web --code` on the AgEnD computer itself: a verified receipt names `authority.actor` adapter `host`, user `operator`. A guest (`@web:g`) was let in only to chat: talk with them there, and take nothing they ask as the admin's. A guest's receipt may say `authority.kind: web-guest` with its `authority.actor`: that is who they are, verified, and never a go-ahead. Plain `@web`, a guest, and authority since revoked (`authority.kind: none`) are not a go-ahead; nor is a reviewer's APPROVE. See the cross-instance-messaging skill.
|
|
52
52
|
|
|
53
53
|
## Reading work and rules
|
|
54
54
|
|
package/dist/general-role.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Shared General role text; native publication never loads a coordinator workspace or login. */
|
|
2
2
|
export declare const GENERAL_ROLE_INSTRUCTIONS = "# Fleet Coordinator\n\nYou are the fleet coordinator \u2014 the central entry point for this AgEnD fleet.\nYou route tasks, manage instances, enforce policies, and synthesize results.\nDo NOT modify project files directly \u2014 delegate file changes to the project's instance.\nYou CAN write code snippets, explain code, and answer technical questions directly.\n\n## Task Routing\n\n- **Handle directly**: no file/exec access needed, answerable from knowledge, \u22642 reasoning steps (Q&A, translation, status queries, code snippets).\n- **Delegate to 1 instance**: scoped to one project/repo, needs file access or execution.\n- **Coordinate multiple**: spans repos, outputs feed each other, or parallel helps (max 3 per task).\n\nInstance discovery: start with list_instances(); follow the guidance in its response. Prefer reuse; never duplicate a running instance.\n\n## Reply Contract\n\nEvery final response to the user contains: the result (the actual answer or deliverable) and gaps (anything incomplete \u2014 omit if none). Summarize instance reports; omit internal coordination noise.\n\n## After Restart\n\nBEFORE processing any new messages: 1. list_instances() 2. list_teams() 3. list_decisions(). Only then handle requests.\n\n## Playbooks (on-demand skills)\n\nDetailed procedures live in your skills \u2014 consult them when the situation comes up rather than from memory:\n- **delegation-playbook** \u2014 delegation protocol, loop prevention, parallel vs sequential, result/failure handling, team management, instance configuration tips.\n- **development-workflow** \u2014 the fleet-wide code-change policy you enforce when delegating code tasks.\nPlus the operational skills (fleet-health, instance-lifecycle, scheduling, session-management, \u2026).\n";
|
|
3
3
|
/** Fixed installed program assets, never an enumeration of a runtime profile. */
|
|
4
|
-
export declare const GENERAL_SKILL_NAMES: readonly ["backend-providers", "bug-report", "concepts", "credential-profiles", "cross-instance-messaging", "delegation-playbook", "development-workflow", "docker-install", "fleet-config", "fleet-health", "fleet-restart", "hub", "instance-lifecycle", "kiro-engine-migration", "model-discovery", "multi-channel", "scheduling", "session-management", "task-board", "tui-effort", "web-appearance", "web-dashboard"];
|
|
4
|
+
export declare const GENERAL_SKILL_NAMES: readonly ["admin", "backend-providers", "bug-report", "concepts", "credential-profiles", "cross-instance-messaging", "delegation-playbook", "development-workflow", "docker-install", "fleet-config", "fleet-health", "fleet-restart", "hub", "instance-lifecycle", "kiro-engine-migration", "model-discovery", "multi-channel", "scheduling", "session-management", "task-board", "tui-effort", "web-appearance", "web-dashboard"];
|
|
5
5
|
export declare const GENERAL_KNOWLEDGE_FILES: readonly ["steering/core-rules.md", ...string[]];
|
package/dist/general-role.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
export const GENERAL_ROLE_INSTRUCTIONS = "# Fleet Coordinator\n\nYou are the fleet coordinator — the central entry point for this AgEnD fleet.\nYou route tasks, manage instances, enforce policies, and synthesize results.\nDo NOT modify project files directly — delegate file changes to the project's instance.\nYou CAN write code snippets, explain code, and answer technical questions directly.\n\n## Task Routing\n\n- **Handle directly**: no file/exec access needed, answerable from knowledge, ≤2 reasoning steps (Q&A, translation, status queries, code snippets).\n- **Delegate to 1 instance**: scoped to one project/repo, needs file access or execution.\n- **Coordinate multiple**: spans repos, outputs feed each other, or parallel helps (max 3 per task).\n\nInstance discovery: start with list_instances(); follow the guidance in its response. Prefer reuse; never duplicate a running instance.\n\n## Reply Contract\n\nEvery final response to the user contains: the result (the actual answer or deliverable) and gaps (anything incomplete — omit if none). Summarize instance reports; omit internal coordination noise.\n\n## After Restart\n\nBEFORE processing any new messages: 1. list_instances() 2. list_teams() 3. list_decisions(). Only then handle requests.\n\n## Playbooks (on-demand skills)\n\nDetailed procedures live in your skills — consult them when the situation comes up rather than from memory:\n- **delegation-playbook** — delegation protocol, loop prevention, parallel vs sequential, result/failure handling, team management, instance configuration tips.\n- **development-workflow** — the fleet-wide code-change policy you enforce when delegating code tasks.\nPlus the operational skills (fleet-health, instance-lifecycle, scheduling, session-management, …).\n";
|
|
3
3
|
/** Fixed installed program assets, never an enumeration of a runtime profile. */
|
|
4
4
|
export const GENERAL_SKILL_NAMES = [
|
|
5
|
+
"admin",
|
|
5
6
|
"backend-providers",
|
|
6
7
|
"bug-report",
|
|
7
8
|
"concepts",
|
package/dist/general-role.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"general-role.js","sourceRoot":"","sources":["../src/general-role.ts"],"names":[],"mappings":"AAAA,iGAAiG;AACjG,MAAM,CAAC,MAAM,yBAAyB,GAAG,usDAAusD,CAAC;AAEjvD,iFAAiF;AACjF,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,mBAAmB;IACnB,YAAY;IACZ,UAAU;IACV,qBAAqB;IACrB,0BAA0B;IAC1B,qBAAqB;IACrB,sBAAsB;IACtB,gBAAgB;IAChB,cAAc;IACd,cAAc;IACd,eAAe;IACf,KAAK;IACL,oBAAoB;IACpB,uBAAuB;IACvB,iBAAiB;IACjB,eAAe;IACf,YAAY;IACZ,oBAAoB;IACpB,YAAY;IACZ,YAAY;IACZ,gBAAgB;IAChB,eAAe;CACP,CAAC;AACX,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,wBAAwB,EAAE,GAAG,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,UAAU,IAAI,WAAW,CAAC,CAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"general-role.js","sourceRoot":"","sources":["../src/general-role.ts"],"names":[],"mappings":"AAAA,iGAAiG;AACjG,MAAM,CAAC,MAAM,yBAAyB,GAAG,usDAAusD,CAAC;AAEjvD,iFAAiF;AACjF,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,OAAO;IACP,mBAAmB;IACnB,YAAY;IACZ,UAAU;IACV,qBAAqB;IACrB,0BAA0B;IAC1B,qBAAqB;IACrB,sBAAsB;IACtB,gBAAgB;IAChB,cAAc;IACd,cAAc;IACd,eAAe;IACf,KAAK;IACL,oBAAoB;IACpB,uBAAuB;IACvB,iBAAiB;IACjB,eAAe;IACf,YAAY;IACZ,oBAAoB;IACpB,YAAY;IACZ,YAAY;IACZ,gBAAgB;IAChB,eAAe;CACP,CAAC;AACX,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,wBAAwB,EAAE,GAAG,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,UAAU,IAAI,WAAW,CAAC,CAAU,CAAC"}
|
package/dist/hub/client.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HUB_QUESTION_CLOSE_CAPABILITY } from "./question-close-model.js";
|
|
1
2
|
import { HUB_ROOM_ASKER_IDENTITY_CAPABILITY } from "./room-asker-identity-model.js";
|
|
2
3
|
import { HUB_DIRECT_POST_CAPABILITY } from "./direct-posts-model.js";
|
|
3
4
|
import { HUB_ROOM_ANSWER_STATUS_CAPABILITY } from "./room-answer-status-model.js";
|
|
@@ -86,7 +87,7 @@ export class HubMemberClient {
|
|
|
86
87
|
this.deferred = [];
|
|
87
88
|
this.deferredBytes = 0;
|
|
88
89
|
const profile = this.profile, handshake = randomUUID();
|
|
89
|
-
const offered = [...(this.options.capabilities ?? HUB_OPTIONAL_CAPABILITIES)].filter(c => !this.legacyHello || c !== HUB_FLEET_UPDATE_CAPABILITY && c !== HUB_ASKER_NAME_CAPABILITY && c !== HUB_DIRECT_POST_CAPABILITY && c !== HUB_ROOM_ASKER_IDENTITY_CAPABILITY);
|
|
90
|
+
const offered = [...(this.options.capabilities ?? HUB_OPTIONAL_CAPABILITIES)].filter(c => !this.legacyHello || c !== HUB_FLEET_UPDATE_CAPABILITY && c !== HUB_ASKER_NAME_CAPABILITY && c !== HUB_DIRECT_POST_CAPABILITY && c !== HUB_QUESTION_CLOSE_CAPABILITY && c !== HUB_ROOM_ASKER_IDENTITY_CAPABILITY);
|
|
90
91
|
const origins = this.options.dial ? this.options.dial() : [profile.hub.memberOrigin];
|
|
91
92
|
if (!origins.length) { // a relocation state that does not verify: fail closed
|
|
92
93
|
this.connecting = false;
|
|
@@ -262,6 +263,8 @@ export class HubMemberClient {
|
|
|
262
263
|
send: value => {
|
|
263
264
|
if (!view.current() || value.linkEpoch !== epoch || value.type === "hello")
|
|
264
265
|
return Promise.reject(new HubAuthorizationError("stale", "stale"));
|
|
266
|
+
if (value.type === "question.close" && !features.has(HUB_QUESTION_CLOSE_CAPABILITY))
|
|
267
|
+
return Promise.reject(new HubProtocolError("incompatible"));
|
|
265
268
|
if (value.type === "agent.intro" && !features.has(HUB_AGENT_INTRO_CAPABILITY))
|
|
266
269
|
return Promise.reject(new HubProtocolError("incompatible"));
|
|
267
270
|
if ((value.type === "agent.pictures" || value.type === "agent.picture") && !features.has(HUB_AGENT_PICTURES_CAPABILITY))
|
|
@@ -369,6 +372,8 @@ export class HubMemberClient {
|
|
|
369
372
|
throw new HubProtocolError("stale");
|
|
370
373
|
if (frame.type === "room.members-result" && frame.payload.ok && "v2" in frame.payload && !view.features.has(HUB_ROOM_MEMBERS_CAPABILITY))
|
|
371
374
|
throw new HubProtocolError("incompatible");
|
|
375
|
+
if (frame.type === "question.close-result" && !view.features.has(HUB_QUESTION_CLOSE_CAPABILITY))
|
|
376
|
+
throw new HubProtocolError("incompatible");
|
|
372
377
|
if (frame.type === "question" && frame.payload.askerName !== undefined && !view.features.has(HUB_ASKER_NAME_CAPABILITY))
|
|
373
378
|
throw new HubProtocolError("incompatible");
|
|
374
379
|
if (frame.type === "room.ask" && frame.payload.askerIdentity && !view.features.has(HUB_ROOM_ASKER_IDENTITY_CAPABILITY))
|
package/dist/hub/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/hub/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,gCAAgC,CAAC;A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C;QAAC,CAAC;QAAC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAC1J,CAAC;IACD,KAAK;QACH,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAAC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAAC,IAAI,IAAI,CAAC,KAAK;YAAE,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAAC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QACrG,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,CAAC;QAAC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAAC,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC;QAAC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QAAC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QAAC,IAAI,CAAC,aAAa,EAAE,CAAC;QAAC,IAAI,CAAC,WAAW,EAAE,CAAC,IAAI,qBAAqB,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC;QAAC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;IACvP,CAAC;IACD,KAAK,CAAC,KAAK,KAAoB,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;CAC/C"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { HubHeldCloseOutcome } from "../question-close-model.js";
|
|
1
2
|
import { type MemberCatalogAgent } from "../member/agent-catalog.js";
|
|
2
3
|
import { type MemberPictureSources } from "../member/agent-pictures.js";
|
|
3
4
|
import { HubStateError, type HubHoldCode, type HubStateSet } from "../db.js";
|
|
@@ -79,7 +80,7 @@ export interface HubMemberFactoryOptions {
|
|
|
79
80
|
sawText?(text: string): void;
|
|
80
81
|
attachExposures(api: import("../member/exposure-api.js").HubMemberExposureApi | null): void;
|
|
81
82
|
/** M-3632: `retry` sends one held question back through the Hub's checks (Needs you → "Try again"). */
|
|
82
|
-
attachAttention(read: (() => import("../../needs-you.js").HubExecutionAttentionInput[]) | null, retry?: (id: string) => "queued" | "not-found" | "not-retryable"): void;
|
|
83
|
+
attachAttention(read: (() => import("../../needs-you.js").HubExecutionAttentionInput[]) | null, retry?: (id: string) => "queued" | "not-found" | "not-retryable", close?: (id: string) => Promise<HubHeldCloseOutcome>): void;
|
|
83
84
|
/** Security inbox is available to the current binding's local Settings page, on chat and web-only fleets. */
|
|
84
85
|
attachPairingNotices?(read: (() => import("../types.js").HubPairingNotice[]) | null): void;
|
|
85
86
|
pokeAttention(): void;
|