@eve/board 0.1.0 → 0.2.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.
Files changed (42) hide show
  1. package/dist/extension/_manifest.json +1 -1
  2. package/dist/extension/extension.d.ts +30 -4
  3. package/dist/extension/extension.mjs +55 -4
  4. package/dist/extension/instructions/boards.d.ts +2 -0
  5. package/dist/extension/instructions/boards.mjs +14 -0
  6. package/dist/extension/lib/authorize.d.ts +27 -0
  7. package/dist/extension/lib/authorize.mjs +7 -0
  8. package/dist/extension/lib/board-channel.d.ts +13 -1
  9. package/dist/extension/lib/board-channel.mjs +84 -34
  10. package/dist/extension/lib/boards.d.ts +28 -0
  11. package/dist/extension/lib/boards.mjs +103 -0
  12. package/dist/extension/lib/channel.d.ts +1 -0
  13. package/dist/extension/lib/client.d.ts +4 -1
  14. package/dist/extension/lib/client.mjs +24 -11
  15. package/dist/extension/lib/inbound.d.ts +9 -7
  16. package/dist/extension/lib/inbound.mjs +43 -15
  17. package/dist/extension/lib/route.d.ts +5 -0
  18. package/dist/extension/lib/route.mjs +23 -0
  19. package/dist/extension/lib/tools.d.ts +45 -1
  20. package/dist/extension/lib/tools.mjs +173 -65
  21. package/dist/extension/lib/watches.d.ts +11 -5
  22. package/dist/extension/lib/watches.mjs +37 -17
  23. package/dist/extension/skills/collaborate/SKILL.md +16 -5
  24. package/dist/extension/tools/actors.d.ts +1 -0
  25. package/dist/extension/tools/block_task.d.ts +1 -1
  26. package/dist/extension/tools/cancel_schedule.d.ts +1 -0
  27. package/dist/extension/tools/channels.d.ts +3 -1
  28. package/dist/extension/tools/complete_task.d.ts +1 -1
  29. package/dist/extension/tools/create_task.d.ts +1 -0
  30. package/dist/extension/tools/fail_task.d.ts +1 -1
  31. package/dist/extension/tools/label.d.ts +1 -0
  32. package/dist/extension/tools/note.d.ts +1 -0
  33. package/dist/extension/tools/post.d.ts +2 -0
  34. package/dist/extension/tools/react.d.ts +2 -0
  35. package/dist/extension/tools/read.d.ts +8 -0
  36. package/dist/extension/tools/reply.d.ts +2 -0
  37. package/dist/extension/tools/schedule.d.ts +1 -0
  38. package/dist/extension/tools/schedules.d.ts +1 -0
  39. package/dist/extension/tools/unwatch.d.ts +1 -0
  40. package/dist/extension/tools/watch.d.ts +7 -0
  41. package/dist/extension/tools/watches.d.ts +13 -0
  42. package/package.json +4 -4
@@ -7,6 +7,14 @@ description: How to work on a shared team board, which may sync to Slack, GitHub
7
7
 
8
8
  The board is where your team, and other agents, discuss work in channels and threads and hand each other tasks. What you post there can sync to Slack, GitHub, or Linear threads, so people outside the board may read it.
9
9
 
10
+ ## Multiple boards
11
+
12
+ When this agent is configured with multiple boards, your instructions list their keys and names:
13
+
14
+ - Inside a session a board started, your replies stay on that board and every board tool (including `watches`) defaults to it.
15
+ - Outside a board session, pass `board` with the board's key to pick which board to read, post to, watch, or manage.
16
+ - Outside a board session, call `watches` with no `board` to list every authorized board's watches grouped by board, or pass `board` for one board's watches.
17
+
10
18
  ## Before you post
11
19
 
12
20
  - Read before you join. Use `read` with `id` for a whole thread, with `link` when someone shares a Slack or GitHub link, or with `channel` to find the discussion that fits. The board has no search, so read the channel something would be in, and pass a read's `cursor` back as `after` to see only what's new. Don't repeat what a thread already says.
@@ -27,13 +35,16 @@ The board is where your team, and other agents, discuss work in channels and thr
27
35
 
28
36
  ## Watch the board
29
37
 
30
- You wake only for your watches. When someone asks you to keep an eye on a channel and act on what's posted there, create a watch with `watch`:
38
+ You wake only for your watches. When someone asks you to keep an eye on a channel and act on what's posted there, prepare the watch before calling `watch`:
39
+
40
+ 1. **Check what exists:** list `channels` if you're unsure of the channel path, and check `watches` so you don't duplicate an existing watch.
41
+ 2. **Confirm mode when unclear:** if the request doesn't say, ask whether this is a **conversational watch** (reply in matching threads) or a **task-claim watch** (`claim`, taking ready tasks from a queue and settling them).
42
+ 3. **Confirm scope and owners:** narrow `channel` (one channel such as `incidents`, or a subtree such as `work/`) with `label`, `by`, or `text` as far as the request allows. For a `claim` watch, explicitly confirm whose tasks to accept (`claim.from` principal IDs, looked up via `actors`—omitting `from` claims only this deployment's own tasks).
43
+ 4. **Write self-contained standing instructions:** write `instructions` for a reader who remembers nothing of this conversation—what to act on vs. skip with `no_reply`, the concrete steps and checks to run, what to post, and for task queues what counts as `complete_task`, `block_task`, or `fail_task`. Keep watch instructions focused on the trigger and outcome, and reference a skill for longer repo or team conventions.
31
44
 
32
- - `channel` is the one channel to watch, such as `incidents`, or a subtree such as `work/`. Narrow it with `label`, `by`, or `text`, as far as the request allows.
33
- - `instructions` is what you'll do each time it matches. Write it for a reader who remembers nothing of this conversation: what to look for, what to do, and what to post.
34
- - To work a task queue, add `claim` with the queue's channel, labels, and the owners whose tasks you take. Each match then claims one ready task, and you work it in the task's thread.
45
+ Both `watch` and `unwatch` ask the caller to approve the exact parameters before applying the change. Don't over-interrogate when the request already answers the points above—ask only for what is genuinely ambiguous, then call `watch` so the approval prompt serves as the final review.
35
46
 
36
- Tell the person the watch's ID. List your watches with `watches`, with `details` to see what each does, and stop one with `unwatch`.
47
+ Tell the person the watch's ID once created. List your watches with `watches`, with `details` to see what each does, and stop one with `unwatch`.
37
48
 
38
49
  ## Come back later
39
50
 
@@ -1,5 +1,6 @@
1
1
  /** Lists people and agents on the board, to mention them or name a task owner. */
2
2
  declare const _default: import("eve/tools").ToolDefinition<{
3
+ board?: string | undefined;
3
4
  search?: string | undefined;
4
5
  limit?: number | undefined;
5
6
  }, {
@@ -1,3 +1,3 @@
1
1
  /** Holds the task the session claimed for a person, with the one question they must answer. Offered only while the session holds a task. */
2
- declare const _default: import("eve/tools").DynamicSentinel<import("eve/tools").DynamicToolResult, import("eve/tools").DynamicContext>;
2
+ declare const _default: import("eve/instructions").DynamicSentinel<import("eve/tools").DynamicToolResult, import("eve/instructions").DynamicContext>;
3
3
  export default _default;
@@ -1,5 +1,6 @@
1
1
  /** Cancels a scheduled board message. */
2
2
  declare const _default: import("eve/tools").ToolDefinition<{
3
+ board?: string | undefined;
3
4
  id: string;
4
5
  }, {
5
6
  readonly canceled: boolean;
@@ -1,5 +1,7 @@
1
1
  /** Lists the board channels the agent can read. */
2
- declare const _default: import("eve/tools").ToolDefinition<Record<string, never>, {
2
+ declare const _default: import("eve/tools").ToolDefinition<{
3
+ board?: string | undefined;
4
+ }, {
3
5
  channels: readonly import("../lib/client.ts").BoardChannelSummary[];
4
6
  }>;
5
7
  export default _default;
@@ -1,3 +1,3 @@
1
1
  /** Completes the task the session claimed, with the result. Offered only while the session holds a task. */
2
- declare const _default: import("eve/tools").DynamicSentinel<import("eve/tools").DynamicToolResult, import("eve/tools").DynamicContext>;
2
+ declare const _default: import("eve/instructions").DynamicSentinel<import("eve/tools").DynamicToolResult, import("eve/instructions").DynamicContext>;
3
3
  export default _default;
@@ -1,5 +1,6 @@
1
1
  /** Creates a board task, with routing labels and the tasks it waits for. */
2
2
  declare const _default: import("eve/tools").ToolDefinition<{
3
+ board?: string | undefined;
3
4
  channel: string;
4
5
  text: string;
5
6
  labels?: Record<string, string> | undefined;
@@ -1,3 +1,3 @@
1
1
  /** Gives up on the task the session claimed, with why. Offered only while the session holds a task. */
2
- declare const _default: import("eve/tools").DynamicSentinel<import("eve/tools").DynamicToolResult, import("eve/tools").DynamicContext>;
2
+ declare const _default: import("eve/instructions").DynamicSentinel<import("eve/tools").DynamicToolResult, import("eve/instructions").DynamicContext>;
3
3
  export default _default;
@@ -1,5 +1,6 @@
1
1
  /** Sets or unsets labels on a board message or thread. */
2
2
  declare const _default: import("eve/tools").ToolDefinition<{
3
+ board?: string | undefined;
3
4
  id: string;
4
5
  set?: Record<string, string> | undefined;
5
6
  unset?: string[] | undefined;
@@ -1,5 +1,6 @@
1
1
  /** Keeps a reply on the board only, without syncing it to Slack, GitHub, or Linear. */
2
2
  declare const _default: import("eve/tools").ToolDefinition<{
3
+ board?: string | undefined;
3
4
  id?: string | undefined;
4
5
  text: string;
5
6
  }, {
@@ -1,5 +1,6 @@
1
1
  /** Starts a board thread in a channel. */
2
2
  declare const _default: import("eve/tools").ToolDefinition<{
3
+ board?: string | undefined;
3
4
  channel: string;
4
5
  text?: string | undefined;
5
6
  attach?: string[] | undefined;
@@ -26,6 +27,7 @@ declare const _default: import("eve/tools").ToolDefinition<{
26
27
  } | undefined;
27
28
  }> & {
28
29
  execute(input: {
30
+ board?: string | undefined;
29
31
  channel: string;
30
32
  text?: string | undefined;
31
33
  attach?: string[] | undefined;
@@ -1,5 +1,6 @@
1
1
  /** Adds or removes a reaction on a board message. */
2
2
  declare const _default: import("eve/tools").ToolDefinition<{
3
+ board?: string | undefined;
3
4
  id: string;
4
5
  emoji: string;
5
6
  remove?: boolean | undefined;
@@ -7,6 +8,7 @@ declare const _default: import("eve/tools").ToolDefinition<{
7
8
  ok: boolean;
8
9
  }> & {
9
10
  execute(input: {
11
+ board?: string | undefined;
10
12
  id: string;
11
13
  emoji: string;
12
14
  remove?: boolean | undefined;
@@ -1,9 +1,12 @@
1
1
  /** Reads a board thread, or lists a channel's threads. */
2
2
  declare const _default: import("eve/tools").ToolDefinition<{
3
+ board?: string | undefined;
3
4
  id?: string | undefined;
4
5
  link?: string | undefined;
5
6
  channel?: string | undefined;
6
7
  label?: string[] | undefined;
8
+ text?: string | undefined;
9
+ mentions?: string | undefined;
7
10
  after?: string | undefined;
8
11
  before?: string | undefined;
9
12
  limit?: number | undefined;
@@ -49,6 +52,7 @@ declare const _default: import("eve/tools").ToolDefinition<{
49
52
  } | {
50
53
  cursor: string;
51
54
  older: string | null;
55
+ scanned?: number | undefined;
52
56
  threads: {
53
57
  last: {
54
58
  attachments: string[];
@@ -92,10 +96,13 @@ declare const _default: import("eve/tools").ToolDefinition<{
92
96
  }[];
93
97
  }> & {
94
98
  execute(input: {
99
+ board?: string | undefined;
95
100
  id?: string | undefined;
96
101
  link?: string | undefined;
97
102
  channel?: string | undefined;
98
103
  label?: string[] | undefined;
104
+ text?: string | undefined;
105
+ mentions?: string | undefined;
99
106
  after?: string | undefined;
100
107
  before?: string | undefined;
101
108
  limit?: number | undefined;
@@ -141,6 +148,7 @@ declare const _default: import("eve/tools").ToolDefinition<{
141
148
  } | {
142
149
  cursor: string;
143
150
  older: string | null;
151
+ scanned?: number | undefined;
144
152
  threads: {
145
153
  last: {
146
154
  attachments: string[];
@@ -1,5 +1,6 @@
1
1
  /** Replies in a board thread. */
2
2
  declare const _default: import("eve/tools").ToolDefinition<{
3
+ board?: string | undefined;
3
4
  id?: string | undefined;
4
5
  text?: string | undefined;
5
6
  attach?: string[] | undefined;
@@ -26,6 +27,7 @@ declare const _default: import("eve/tools").ToolDefinition<{
26
27
  } | undefined;
27
28
  }> & {
28
29
  execute(input: {
30
+ board?: string | undefined;
29
31
  id?: string | undefined;
30
32
  text?: string | undefined;
31
33
  attach?: string[] | undefined;
@@ -1,5 +1,6 @@
1
1
  /** Schedules a board message that wakes the agent when it posts. */
2
2
  declare const _default: import("eve/tools").ToolDefinition<{
3
+ board?: string | undefined;
3
4
  id?: string | undefined;
4
5
  text: string;
5
6
  in?: string | undefined;
@@ -1,5 +1,6 @@
1
1
  /** Lists pending scheduled board messages. */
2
2
  declare const _default: import("eve/tools").ToolDefinition<{
3
+ board?: string | undefined;
3
4
  id?: string | undefined;
4
5
  channel?: string | undefined;
5
6
  }, {
@@ -1,5 +1,6 @@
1
1
  /** Removes one of the agent's board watches by its ID. */
2
2
  declare const _default: import("eve/tools").ToolDefinition<{
3
+ board?: string | undefined;
3
4
  id: string;
4
5
  }, {
5
6
  readonly id: string;
@@ -1,5 +1,6 @@
1
1
  /** Creates a board watch: matching events wake the agent with the watch's instructions. */
2
2
  declare const _default: import("eve/tools").ToolDefinition<{
3
+ board?: string | undefined;
3
4
  channel: string;
4
5
  label?: string[] | undefined;
5
6
  by?: string | undefined;
@@ -14,5 +15,11 @@ declare const _default: import("eve/tools").ToolDefinition<{
14
15
  action: import("../lib/watches.ts").BoardWatchAction | undefined;
15
16
  id: string;
16
17
  tail: string;
18
+ board?: undefined;
19
+ } | {
20
+ action: import("../lib/watches.ts").BoardWatchAction | undefined;
21
+ board: string;
22
+ id: string;
23
+ tail: string;
17
24
  }>;
18
25
  export default _default;
@@ -1,7 +1,20 @@
1
1
  /** Lists the agent's board watches. */
2
2
  declare const _default: import("eve/tools").ToolDefinition<{
3
+ board?: string | undefined;
3
4
  details?: boolean | undefined;
4
5
  }, {
5
6
  watches: import("../lib/watches.ts").BoardWatch[];
7
+ board?: undefined;
8
+ boards?: undefined;
9
+ } | {
10
+ board: string;
11
+ watches: import("../lib/watches.ts").BoardWatch[];
12
+ boards?: undefined;
13
+ } | {
14
+ board?: undefined;
15
+ watches?: undefined;
16
+ boards: {
17
+ [k: string]: import("../lib/watches.ts").BoardWatch[];
18
+ };
6
19
  }>;
7
20
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eve/board",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Vercel Board for eve agents: a channel that wakes the agent for watches it manages with tools, claims tasks, and replies in board threads",
5
5
  "keywords": [
6
6
  "eve",
@@ -44,16 +44,16 @@
44
44
  "access": "public"
45
45
  },
46
46
  "dependencies": {
47
- "@vercel/board": "0.52.0",
47
+ "@vercel/board": "0.56.1",
48
48
  "zod": "4.6.7"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/node": "26.6.6",
52
- "eve": "1.2.0",
52
+ "eve": "1.5.0",
53
53
  "typescript": "7.0.2"
54
54
  },
55
55
  "peerDependencies": {
56
- "eve": ">=1.0.0"
56
+ "eve": ">=1.5.0"
57
57
  },
58
58
  "engines": {
59
59
  "node": ">=24"