@sjawhar/opencode-legion-envoy 1.4.2 → 1.6.0

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.
@@ -13566,6 +13566,7 @@ var DispatchEventSchema = object({
13566
13566
  var IssueEventPayloadSchema = object({
13567
13567
  title: string2().optional(),
13568
13568
  status: string2().optional(),
13569
+ rank: string2().optional(),
13569
13570
  route: string2().nullish()
13570
13571
  });
13571
13572
  var ArtifactCreatedEventPayloadSchema = object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/opencode-legion-envoy",
3
- "version": "1.4.2",
3
+ "version": "1.6.0",
4
4
  "type": "module",
5
5
  "main": "dist/src/server.js",
6
6
  "exports": {
@@ -29,6 +29,13 @@ vocabulary, and is often on a phone. Write for that person.
29
29
  - Before posting, test it: could Sami, reading only this text on his phone, know what he is being
30
30
  told or asked? If not, rewrite it. Length is not the problem; density is.
31
31
 
32
+ ## Agent authentication
33
+
34
+ Use a personal Dispatch token: a human mints it in Dispatch **Settings → Agent tokens** and supplies
35
+ it to the agent through `dispatch.token` in `~/.config/opencode/envoy.json` or `DISPATCH_TOKEN`.
36
+ The server records the minting human as the owner of that session's writes. `DISPATCH_AGENT_TOKEN`
37
+ is the shared devbox fallback; do not configure it for an individual agent.
38
+
32
39
  ## Writing a spec
33
40
 
34
41
  A spec has two readers: the human who decides reads the top; the implementer who builds reads the
@@ -65,6 +72,8 @@ exactly one owner to every owner-scoped tool: `issue` for an issue, or `project`
65
72
  [References](#references) for the resulting ref shape). On first use, an external issue reference creates its native issue in the
66
73
  project configured for that repository in Dispatch Settings, then falls back to `DISPATCH_DEFAULT_PROJECT`.
67
74
 
75
+ Issue reads include `rank`, the server-owned ordering key used by project boards; reorder through `PATCH /api/v1/issues/{key}` with neighboring issue keys rather than writing a priority value.
76
+
68
77
  Architects create newly tracked child work with:
69
78
  ```ts
70
79
  dispatch_issue({ project, title, parent?, external?, spec?, force? })