create-open-autonomy 2.3.5 → 2.3.7
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/package.json +2 -2
- package/src/kit.ts +1 -1
- package/template/.open-autonomy/config.yaml +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-open-autonomy",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.7",
|
|
4
4
|
"description": "The default Open Autonomy starter kit: a complete repository that runs its own Hermes agent against the platform, with the SDK wired in. `bun create open-autonomy <dir>` scaffolds one.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"check": "bunx tsc --noEmit"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@open-autonomy/sdk": "2.3.
|
|
31
|
+
"@open-autonomy/sdk": "2.3.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/bun": "^1.3.10",
|
package/src/kit.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import { existsSync, mkdirSync, readFileSync, readdirSync, rmSync, writeFileSync } from 'node:fs';
|
|
10
10
|
import { dirname, join, relative, resolve } from 'node:path';
|
|
11
11
|
|
|
12
|
-
export const KIT = { name: 'hermes', version: '2.3.
|
|
12
|
+
export const KIT = { name: 'hermes', version: '2.3.7' } as const;
|
|
13
13
|
export const KIT_FILE = '.open-autonomy/kit.json';
|
|
14
14
|
const TEMPLATE = resolve(import.meta.dir, '..', 'template');
|
|
15
15
|
|
|
@@ -19,6 +19,16 @@ state_file: reporter-state.json
|
|
|
19
19
|
# holds whatever a key was minted with. Empty: any model the gateway serves (`GET /v1/catalog` lists them).
|
|
20
20
|
models: [zai/glm-5.3-flash]
|
|
21
21
|
|
|
22
|
+
# The limits the project's funds run under on the platform's model rail, each over its own rolling window, all held at
|
|
23
|
+
# once, the call that would cross one refused with its name: the money (usd_cents), the pace (calls) or the volume
|
|
24
|
+
# (tokens, in and out), for everything or for one model (`model:`). Windows: 1m…60m, 1h…24h, 1d…31d. The kit's
|
|
25
|
+
# defaults: five dollars a day, sixty a month, and a pace no runaway loop keeps up.
|
|
26
|
+
spend:
|
|
27
|
+
limits:
|
|
28
|
+
- { window: 1d, usd_cents: 500 }
|
|
29
|
+
- { window: 30d, usd_cents: 6000 }
|
|
30
|
+
- { window: 1m, calls: 60 }
|
|
31
|
+
|
|
22
32
|
# The rails the agent may spend through beyond model calls, and the owner's bounds on each. Off unless a
|
|
23
33
|
# bound is set. Every rail leaves a record on the public audit trail naming itself.
|
|
24
34
|
rails:
|