@eve/board 0.2.1 → 0.3.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.
- package/dist/extension/_manifest.json +1 -1
- package/dist/extension/hooks/claims.d.ts +2 -0
- package/dist/extension/hooks/claims.mjs +11 -0
- package/dist/extension/instructions.md +2 -2
- package/dist/extension/lib/authorize.d.ts +7 -4
- package/dist/extension/lib/board-channel.d.ts +2 -14
- package/dist/extension/lib/board-channel.mjs +13 -107
- package/dist/extension/lib/claims.d.ts +38 -0
- package/dist/extension/lib/claims.mjs +231 -0
- package/dist/extension/lib/client.d.ts +20 -0
- package/dist/extension/lib/client.mjs +30 -2
- package/dist/extension/lib/tools.d.ts +201 -9
- package/dist/extension/lib/tools.mjs +268 -24
- package/dist/extension/lib/watches.mjs +1 -1
- package/dist/extension/skills/collaborate/SKILL.md +6 -3
- package/dist/extension/tools/block_task.d.ts +1 -1
- package/dist/extension/tools/block_task.mjs +2 -1
- package/dist/extension/tools/claim_task.d.ts +70 -0
- package/dist/extension/tools/claim_task.mjs +10 -0
- package/dist/extension/tools/complete_task.d.ts +1 -1
- package/dist/extension/tools/complete_task.mjs +2 -1
- package/dist/extension/tools/create_task.d.ts +5 -0
- package/dist/extension/tools/fail_task.d.ts +1 -1
- package/dist/extension/tools/fail_task.mjs +2 -1
- package/dist/extension/tools/note.d.ts +5 -0
- package/dist/extension/tools/post.d.ts +10 -0
- package/dist/extension/tools/read.d.ts +40 -0
- package/dist/extension/tools/release_task.d.ts +3 -0
- package/dist/extension/tools/release_task.mjs +11 -0
- package/dist/extension/tools/reply.d.ts +10 -0
- package/dist/extension/tools/tasks.d.ts +40 -0
- package/dist/extension/tools/tasks.mjs +10 -0
- package/dist/extension/tools/watches.d.ts +1 -1
- package/dist/tools/index.d.ts +3 -0
- package/dist/tools/index.mjs +4 -1
- package/package.json +3 -3
|
@@ -25,9 +25,14 @@ declare const _default: import("eve/tools").ToolDefinition<{
|
|
|
25
25
|
readonly kind: string | null;
|
|
26
26
|
readonly reason: string;
|
|
27
27
|
} | null;
|
|
28
|
+
for: string | null;
|
|
28
29
|
holder: string | null;
|
|
30
|
+
needs: readonly string[];
|
|
31
|
+
owner: string;
|
|
32
|
+
reason: string | null;
|
|
29
33
|
result: string | null;
|
|
30
34
|
state: string;
|
|
35
|
+
until: string | null;
|
|
31
36
|
} | undefined;
|
|
32
37
|
};
|
|
33
38
|
replies: {
|
|
@@ -44,9 +49,14 @@ declare const _default: import("eve/tools").ToolDefinition<{
|
|
|
44
49
|
readonly kind: string | null;
|
|
45
50
|
readonly reason: string;
|
|
46
51
|
} | null;
|
|
52
|
+
for: string | null;
|
|
47
53
|
holder: string | null;
|
|
54
|
+
needs: readonly string[];
|
|
55
|
+
owner: string;
|
|
56
|
+
reason: string | null;
|
|
48
57
|
result: string | null;
|
|
49
58
|
state: string;
|
|
59
|
+
until: string | null;
|
|
50
60
|
} | undefined;
|
|
51
61
|
}[];
|
|
52
62
|
} | {
|
|
@@ -68,9 +78,14 @@ declare const _default: import("eve/tools").ToolDefinition<{
|
|
|
68
78
|
readonly kind: string | null;
|
|
69
79
|
readonly reason: string;
|
|
70
80
|
} | null;
|
|
81
|
+
for: string | null;
|
|
71
82
|
holder: string | null;
|
|
83
|
+
needs: readonly string[];
|
|
84
|
+
owner: string;
|
|
85
|
+
reason: string | null;
|
|
72
86
|
result: string | null;
|
|
73
87
|
state: string;
|
|
88
|
+
until: string | null;
|
|
74
89
|
} | undefined;
|
|
75
90
|
} | null;
|
|
76
91
|
message: {
|
|
@@ -87,9 +102,14 @@ declare const _default: import("eve/tools").ToolDefinition<{
|
|
|
87
102
|
readonly kind: string | null;
|
|
88
103
|
readonly reason: string;
|
|
89
104
|
} | null;
|
|
105
|
+
for: string | null;
|
|
90
106
|
holder: string | null;
|
|
107
|
+
needs: readonly string[];
|
|
108
|
+
owner: string;
|
|
109
|
+
reason: string | null;
|
|
91
110
|
result: string | null;
|
|
92
111
|
state: string;
|
|
112
|
+
until: string | null;
|
|
93
113
|
} | undefined;
|
|
94
114
|
};
|
|
95
115
|
replies: number;
|
|
@@ -121,9 +141,14 @@ declare const _default: import("eve/tools").ToolDefinition<{
|
|
|
121
141
|
readonly kind: string | null;
|
|
122
142
|
readonly reason: string;
|
|
123
143
|
} | null;
|
|
144
|
+
for: string | null;
|
|
124
145
|
holder: string | null;
|
|
146
|
+
needs: readonly string[];
|
|
147
|
+
owner: string;
|
|
148
|
+
reason: string | null;
|
|
125
149
|
result: string | null;
|
|
126
150
|
state: string;
|
|
151
|
+
until: string | null;
|
|
127
152
|
} | undefined;
|
|
128
153
|
};
|
|
129
154
|
replies: {
|
|
@@ -140,9 +165,14 @@ declare const _default: import("eve/tools").ToolDefinition<{
|
|
|
140
165
|
readonly kind: string | null;
|
|
141
166
|
readonly reason: string;
|
|
142
167
|
} | null;
|
|
168
|
+
for: string | null;
|
|
143
169
|
holder: string | null;
|
|
170
|
+
needs: readonly string[];
|
|
171
|
+
owner: string;
|
|
172
|
+
reason: string | null;
|
|
144
173
|
result: string | null;
|
|
145
174
|
state: string;
|
|
175
|
+
until: string | null;
|
|
146
176
|
} | undefined;
|
|
147
177
|
}[];
|
|
148
178
|
} | {
|
|
@@ -164,9 +194,14 @@ declare const _default: import("eve/tools").ToolDefinition<{
|
|
|
164
194
|
readonly kind: string | null;
|
|
165
195
|
readonly reason: string;
|
|
166
196
|
} | null;
|
|
197
|
+
for: string | null;
|
|
167
198
|
holder: string | null;
|
|
199
|
+
needs: readonly string[];
|
|
200
|
+
owner: string;
|
|
201
|
+
reason: string | null;
|
|
168
202
|
result: string | null;
|
|
169
203
|
state: string;
|
|
204
|
+
until: string | null;
|
|
170
205
|
} | undefined;
|
|
171
206
|
} | null;
|
|
172
207
|
message: {
|
|
@@ -183,9 +218,14 @@ declare const _default: import("eve/tools").ToolDefinition<{
|
|
|
183
218
|
readonly kind: string | null;
|
|
184
219
|
readonly reason: string;
|
|
185
220
|
} | null;
|
|
221
|
+
for: string | null;
|
|
186
222
|
holder: string | null;
|
|
223
|
+
needs: readonly string[];
|
|
224
|
+
owner: string;
|
|
225
|
+
reason: string | null;
|
|
187
226
|
result: string | null;
|
|
188
227
|
state: string;
|
|
228
|
+
until: string | null;
|
|
189
229
|
} | undefined;
|
|
190
230
|
};
|
|
191
231
|
replies: number;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Releases a task claimed with `claim_task` back to the queue as ready. Offered only while the session holds one. */
|
|
2
|
+
declare const _default: import("eve/instructions").DynamicSentinel<import("eve/tools").DynamicToolResult, import("eve/instructions").DynamicContext>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { fileURLToPath as __eveFileURLToPath } from "node:url";
|
|
2
|
+
import { dirname as __eveDirname } from "node:path";
|
|
3
|
+
import { createRequire as __eveCreateRequire } from "node:module";
|
|
4
|
+
const __filename = __eveFileURLToPath(import.meta.url);
|
|
5
|
+
__eveDirname(__filename);
|
|
6
|
+
__eveCreateRequire(import.meta.url);
|
|
7
|
+
import extension_default from "../extension.mjs";
|
|
8
|
+
import { defineBoardReleaseTaskTool, holdsSessionTask } from "../lib/tools.mjs";
|
|
9
|
+
import { defineDynamic } from "eve/tools";
|
|
10
|
+
var release_task_default = defineDynamic(() => holdsSessionTask() ? defineBoardReleaseTaskTool(() => extension_default.config) : null);
|
|
11
|
+
export { release_task_default as default };
|
|
@@ -21,9 +21,14 @@ declare const _default: import("eve/tools").ToolDefinition<{
|
|
|
21
21
|
readonly kind: string | null;
|
|
22
22
|
readonly reason: string;
|
|
23
23
|
} | null;
|
|
24
|
+
for: string | null;
|
|
24
25
|
holder: string | null;
|
|
26
|
+
needs: readonly string[];
|
|
27
|
+
owner: string;
|
|
28
|
+
reason: string | null;
|
|
25
29
|
result: string | null;
|
|
26
30
|
state: string;
|
|
31
|
+
until: string | null;
|
|
27
32
|
} | undefined;
|
|
28
33
|
}> & {
|
|
29
34
|
execute(input: {
|
|
@@ -48,9 +53,14 @@ declare const _default: import("eve/tools").ToolDefinition<{
|
|
|
48
53
|
readonly kind: string | null;
|
|
49
54
|
readonly reason: string;
|
|
50
55
|
} | null;
|
|
56
|
+
for: string | null;
|
|
51
57
|
holder: string | null;
|
|
58
|
+
needs: readonly string[];
|
|
59
|
+
owner: string;
|
|
60
|
+
reason: string | null;
|
|
52
61
|
result: string | null;
|
|
53
62
|
state: string;
|
|
63
|
+
until: string | null;
|
|
54
64
|
} | undefined;
|
|
55
65
|
}>;
|
|
56
66
|
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/** Lists board tasks, oldest first, with their state, holder, owner, assignee, and dependencies. */
|
|
2
|
+
declare const _default: import("eve/tools").ToolDefinition<{
|
|
3
|
+
board?: string | undefined;
|
|
4
|
+
channel?: string | undefined;
|
|
5
|
+
state?: "all" | "blocked" | "canceled" | "claimed" | "completed" | "failed" | "open" | "ready" | "waiting" | undefined;
|
|
6
|
+
label?: string[] | undefined;
|
|
7
|
+
owner?: string | undefined;
|
|
8
|
+
for?: string | undefined;
|
|
9
|
+
needs?: string | undefined;
|
|
10
|
+
after?: string | undefined;
|
|
11
|
+
limit?: number | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
cursor: string;
|
|
14
|
+
tasks: {
|
|
15
|
+
attachments: string[];
|
|
16
|
+
author: string;
|
|
17
|
+
channel: string;
|
|
18
|
+
createdAt: string;
|
|
19
|
+
id: string;
|
|
20
|
+
labels: Readonly<Record<string, string>>;
|
|
21
|
+
re: string | null;
|
|
22
|
+
text: string;
|
|
23
|
+
task?: {
|
|
24
|
+
blocked: {
|
|
25
|
+
readonly kind: string | null;
|
|
26
|
+
readonly reason: string;
|
|
27
|
+
} | null;
|
|
28
|
+
for: string | null;
|
|
29
|
+
holder: string | null;
|
|
30
|
+
needs: readonly string[];
|
|
31
|
+
owner: string;
|
|
32
|
+
reason: string | null;
|
|
33
|
+
result: string | null;
|
|
34
|
+
state: string;
|
|
35
|
+
until: string | null;
|
|
36
|
+
} | undefined;
|
|
37
|
+
replies: number;
|
|
38
|
+
}[];
|
|
39
|
+
}>;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { fileURLToPath as __eveFileURLToPath } from "node:url";
|
|
2
|
+
import { dirname as __eveDirname } from "node:path";
|
|
3
|
+
import { createRequire as __eveCreateRequire } from "node:module";
|
|
4
|
+
const __filename = __eveFileURLToPath(import.meta.url);
|
|
5
|
+
__eveDirname(__filename);
|
|
6
|
+
__eveCreateRequire(import.meta.url);
|
|
7
|
+
import extension_default from "../extension.mjs";
|
|
8
|
+
import { defineBoardTasksTool } from "../lib/tools.mjs";
|
|
9
|
+
var tasks_default = defineBoardTasksTool(() => extension_default.config);
|
|
10
|
+
export { tasks_default as default };
|
|
@@ -3,8 +3,8 @@ declare const _default: import("eve/tools").ToolDefinition<{
|
|
|
3
3
|
board?: string | undefined;
|
|
4
4
|
details?: boolean | undefined;
|
|
5
5
|
}, {
|
|
6
|
-
watches: import("../lib/watches.ts").BoardWatch[];
|
|
7
6
|
board?: undefined;
|
|
7
|
+
watches: import("../lib/watches.ts").BoardWatch[];
|
|
8
8
|
boards?: undefined;
|
|
9
9
|
} | {
|
|
10
10
|
board: string;
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export { default as actors } from "../extension/tools/actors.js";
|
|
|
4
4
|
export { default as block_task } from "../extension/tools/block_task.js";
|
|
5
5
|
export { default as cancel_schedule } from "../extension/tools/cancel_schedule.js";
|
|
6
6
|
export { default as channels } from "../extension/tools/channels.js";
|
|
7
|
+
export { default as claim_task } from "../extension/tools/claim_task.js";
|
|
7
8
|
export { default as complete_task } from "../extension/tools/complete_task.js";
|
|
8
9
|
export { default as create_task } from "../extension/tools/create_task.js";
|
|
9
10
|
export { default as fail_task } from "../extension/tools/fail_task.js";
|
|
@@ -13,9 +14,11 @@ export { default as note } from "../extension/tools/note.js";
|
|
|
13
14
|
export { default as post } from "../extension/tools/post.js";
|
|
14
15
|
export { default as react } from "../extension/tools/react.js";
|
|
15
16
|
export { default as read } from "../extension/tools/read.js";
|
|
17
|
+
export { default as release_task } from "../extension/tools/release_task.js";
|
|
16
18
|
export { default as reply } from "../extension/tools/reply.js";
|
|
17
19
|
export { default as schedule } from "../extension/tools/schedule.js";
|
|
18
20
|
export { default as schedules } from "../extension/tools/schedules.js";
|
|
21
|
+
export { default as tasks } from "../extension/tools/tasks.js";
|
|
19
22
|
export { default as unwatch } from "../extension/tools/unwatch.js";
|
|
20
23
|
export { default as watch } from "../extension/tools/watch.js";
|
|
21
24
|
export { default as watches } from "../extension/tools/watches.js";
|
package/dist/tools/index.mjs
CHANGED
|
@@ -8,6 +8,7 @@ import actors_default from "../extension/tools/actors.mjs";
|
|
|
8
8
|
import block_task_default from "../extension/tools/block_task.mjs";
|
|
9
9
|
import cancel_schedule_default from "../extension/tools/cancel_schedule.mjs";
|
|
10
10
|
import channels_default from "../extension/tools/channels.mjs";
|
|
11
|
+
import claim_task_default from "../extension/tools/claim_task.mjs";
|
|
11
12
|
import complete_task_default from "../extension/tools/complete_task.mjs";
|
|
12
13
|
import create_task_default from "../extension/tools/create_task.mjs";
|
|
13
14
|
import fail_task_default from "../extension/tools/fail_task.mjs";
|
|
@@ -17,10 +18,12 @@ import note_default from "../extension/tools/note.mjs";
|
|
|
17
18
|
import post_default from "../extension/tools/post.mjs";
|
|
18
19
|
import react_default from "../extension/tools/react.mjs";
|
|
19
20
|
import read_default from "../extension/tools/read.mjs";
|
|
21
|
+
import release_task_default from "../extension/tools/release_task.mjs";
|
|
20
22
|
import reply_default from "../extension/tools/reply.mjs";
|
|
21
23
|
import schedule_default from "../extension/tools/schedule.mjs";
|
|
22
24
|
import schedules_default from "../extension/tools/schedules.mjs";
|
|
25
|
+
import tasks_default from "../extension/tools/tasks.mjs";
|
|
23
26
|
import unwatch_default from "../extension/tools/unwatch.mjs";
|
|
24
27
|
import watch_default from "../extension/tools/watch.mjs";
|
|
25
28
|
import watches_default from "../extension/tools/watches.mjs";
|
|
26
|
-
export { actors_default as actors, block_task_default as block_task, cancel_schedule_default as cancel_schedule, channels_default as channels, complete_task_default as complete_task, create_task_default as create_task, fail_task_default as fail_task, label_default as label, no_reply_default as no_reply, note_default as note, post_default as post, react_default as react, read_default as read, reply_default as reply, schedule_default as schedule, schedules_default as schedules, unwatch_default as unwatch, watch_default as watch, watches_default as watches };
|
|
29
|
+
export { actors_default as actors, block_task_default as block_task, cancel_schedule_default as cancel_schedule, channels_default as channels, claim_task_default as claim_task, complete_task_default as complete_task, create_task_default as create_task, fail_task_default as fail_task, label_default as label, no_reply_default as no_reply, note_default as note, post_default as post, react_default as react, read_default as read, release_task_default as release_task, reply_default as reply, schedule_default as schedule, schedules_default as schedules, tasks_default as tasks, unwatch_default as unwatch, watch_default as watch, watches_default as watches };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eve/board",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.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",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/node": "26.6.6",
|
|
52
|
-
"eve": "1.
|
|
52
|
+
"eve": "1.7.0",
|
|
53
53
|
"typescript": "7.0.2"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"scripts": {
|
|
68
68
|
"build": "eve extension build && node ../../scripts/copy-package-license.mjs .",
|
|
69
69
|
"test": "pnpm run test:integration",
|
|
70
|
-
"test:integration": "node --test \"test/*.test.ts\"",
|
|
70
|
+
"test:integration": "node --experimental-test-module-mocks --import ./test/setup.ts --test \"test/*.test.ts\"",
|
|
71
71
|
"typecheck": "tsc"
|
|
72
72
|
}
|
|
73
73
|
}
|