@stackbone/cli 0.9.1 → 0.9.3
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 +56 -0
- package/main.js +1154 -233
- package/migrations/0122_model_routing_object.sql +16 -0
- package/package.json +1 -1
- package/stackbone-cli-0.9.3.tgz +0 -0
- package/voice-worker/main.js +955 -342
- package/voice-worker/main.js.map +4 -4
- package/voice-worker/package.json +1 -0
- package/stackbone-cli-0.9.1.tgz +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
-- 0122_model_routing_object.sql — a provider routing is OpenRouter's whole
|
|
2
|
+
-- `provider` object (`{ "only": ["deepinfra/fp8"], "allow_fallbacks": false }`),
|
|
3
|
+
-- not only its `sort`.
|
|
4
|
+
--
|
|
5
|
+
-- `routing` holds the object. `sort` stays, now nullable, and carries the routing
|
|
6
|
+
-- only when it is nothing but a plain sort: an SDK older than the object reads
|
|
7
|
+
-- `sort` alone, and it must see a routing it cannot apply as no routing, never
|
|
8
|
+
-- apply half of it. Rows written before 0122 keep `routing` NULL; every reader
|
|
9
|
+
-- falls back to `{ "sort": sort }`.
|
|
10
|
+
--
|
|
11
|
+
-- No CHECK on `routing`, for the reason 0121 has none on `sort`.
|
|
12
|
+
ALTER TABLE stackbone_platform.model_routing
|
|
13
|
+
ADD COLUMN IF NOT EXISTS routing jsonb;
|
|
14
|
+
|
|
15
|
+
ALTER TABLE stackbone_platform.model_routing
|
|
16
|
+
ALTER COLUMN sort DROP NOT NULL;
|
package/package.json
CHANGED
|
Binary file
|