eve-hub 0.6.29 → 0.6.30
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/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/world.mjs +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# eve-hub
|
|
2
2
|
|
|
3
|
+
## 0.6.30
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- A schedule's session-limit request is approved by the hub itself, once per turn (a second hit in the same turn stops the run), so a schedule never waits on an Approve card nobody reads. A request the hub can't answer is shown like any other.
|
|
8
|
+
|
|
3
9
|
## 0.6.29
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eve-hub",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.30",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Bot-side code shared by every hub agent: registry tools, the roster hook, the eve channel, the host sandbox and browser, and model helpers.",
|
|
6
6
|
"type": "module",
|
package/world.mjs
CHANGED
|
@@ -503,6 +503,9 @@ var DEFAULT_SUBAGENT_CAP = Object.freeze({
|
|
|
503
503
|
models: Object.freeze(["anthropic/claude-fable-5.1"])
|
|
504
504
|
});
|
|
505
505
|
|
|
506
|
+
// ../../hosted-hub/src/store/roster.ts
|
|
507
|
+
var onLocal = (bot) => `EXISTS (SELECT 1 FROM bots WHERE name = ${bot} AND runs_on = 'local')`;
|
|
508
|
+
|
|
506
509
|
// ../../hosted-hub/src/store/schema.ts
|
|
507
510
|
var OPEN_TURN_STATUSES = "('streaming','cancelling')";
|
|
508
511
|
|
|
@@ -584,10 +587,11 @@ var APP_READS = [
|
|
|
584
587
|
];
|
|
585
588
|
|
|
586
589
|
// ../../hosted-hub/src/store/requests.ts
|
|
590
|
+
var SCHEDULE_LIMIT = `r.kind = 'session-limit' AND r.thread_id LIKE 'sch-%' AND NOT ${onLocal("r.bot")} AND r.sweep_gave_up_at IS NULL`;
|
|
587
591
|
var PENDING_REQUESTS_READ = s(`SELECT r.id, r.session_id, r.thread_id, r.bot, r.kind, r.prompt, r.options, r.allow_freeform, r.tool_name, r.submitted_at, r.created_at,
|
|
588
592
|
(SELECT d.message_id FROM turn_deliveries td JOIN deliveries d ON d.id = td.delivery_id WHERE td.turn_id = r.turn_id ORDER BY d.rowid DESC LIMIT 1) AS message_id
|
|
589
593
|
FROM input_requests r JOIN sessions s ON s.id = r.session_id
|
|
590
|
-
WHERE r.status = 'pending' AND s.ended_at IS NULL ORDER BY r.created_at`);
|
|
594
|
+
WHERE r.status = 'pending' AND s.ended_at IS NULL AND NOT (${SCHEDULE_LIMIT}) ORDER BY r.created_at`);
|
|
591
595
|
|
|
592
596
|
// ../../hosted-hub/src/store/workspace-state.ts
|
|
593
597
|
var LIVE_TURNS_READ = s(`SELECT thread_id,bot,started_at,reply_text,activity FROM turns WHERE status IN ${OPEN_TURN_STATUSES} ORDER BY started_at`);
|