eve-hub 0.6.37 → 0.6.38
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/schedules/dash.js +4 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eve-hub",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.38",
|
|
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/schedules/dash.js
CHANGED
|
@@ -6,12 +6,15 @@
|
|
|
6
6
|
// (anthropic/claude-sonnet-5.5 through the AI SDK). The pass: runPass in
|
|
7
7
|
// ./dash-pass.mjs.
|
|
8
8
|
import { defineSchedule } from "eve/schedules";
|
|
9
|
-
import
|
|
9
|
+
import * as eveAi from "eve/ai";
|
|
10
10
|
import { generateText } from "ai";
|
|
11
11
|
import { createHub } from "./hub.mjs";
|
|
12
12
|
import { modelClassify } from "./dash-classify.mjs";
|
|
13
13
|
import { dashPass } from "./dash-pass.mjs";
|
|
14
14
|
import { modelSummarize } from "./track-summaries.mjs";
|
|
15
|
+
// eve 0.80 renamed `evaluate` to `decide`. The Mac bots run 0.81; the hosted bots' eve build is a
|
|
16
|
+
// 0.69-based branch with `evaluate` only, and a named import of the missing one fails that build.
|
|
17
|
+
const evaluate = eveAi.decide ?? eveAi.evaluate;
|
|
15
18
|
export default defineSchedule({
|
|
16
19
|
cron: "*/8 * * * *",
|
|
17
20
|
async run() {
|