@astrale-domains/ai-gateway 0.2.1 → 0.2.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 +100 -0
- package/dist/schema/catalog/claude-opus-5.js +1 -1
- package/dist/schema/catalog/gemini-3-5-flash.js +1 -1
- package/dist/schema/catalog/gpt-5-6-luna.js +1 -1
- package/dist/schema/catalog/gpt-5-6-sol.js +1 -1
- package/dist/schema/catalog/gpt-5-6-terra.js +1 -1
- package/dist/schema/catalog/kimi-k2-7-code.js +1 -1
- package/dist/schema/index.d.ts +2 -2
- package/dist/schema/index.js +1 -1
- package/dist/schema/model/ai-model-class.d.ts +4 -4
- package/dist/schema/{application/index.d.ts → schema.d.ts} +9 -5
- package/dist/schema/{application/index.js → schema.js} +2 -2
- package/package.json +27 -27
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.2.3](https://github.com/astrale-os/domains/compare/ai-gateway-v0.2.2...ai-gateway-v0.2.3) (2026-08-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **domains:** remove Property visibility annotations from V1 schemas ([#118](https://github.com/astrale-os/domains/issues/118)) ([215e5e0](https://github.com/astrale-os/domains/commit/215e5e0ca3b849cb56fcccc685d4e3fc51cc41f5))
|
|
9
|
+
|
|
10
|
+
## [0.2.2](https://github.com/astrale-os/domains/compare/ai-gateway-v0.2.1...ai-gateway-v0.2.2) (2026-08-27)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* make Domain lifecycles authoritative ([#101](https://github.com/astrale-os/domains/issues/101)) ([4ed45f6](https://github.com/astrale-os/domains/commit/4ed45f6c3f5708db52455904c28a2c13c983e33f))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **integrations:** align provider authorization lifecycles ([#89](https://github.com/astrale-os/domains/issues/89)) ([734b396](https://github.com/astrale-os/domains/commit/734b396f80e6befa642e03aba8b0e311a4b63ade))
|
|
21
|
+
|
|
22
|
+
## [0.2.1](https://github.com/astrale-os/domains/compare/ai-gateway-v0.2.0...ai-gateway-v0.2.1) (2026-08-26)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **domains:** complete AI Gateway and Integrations parity qualification ([#87](https://github.com/astrale-os/domains/issues/87)) ([5be7461](https://github.com/astrale-os/domains/commit/5be74610469c4a20b108d73c38d0d2b6a298eef6))
|
|
28
|
+
* **domains:** restore AI Gateway and Integrations parity ([#80](https://github.com/astrale-os/domains/issues/80)) ([51ca802](https://github.com/astrale-os/domains/commit/51ca8027109bdc3fd3a05e861e6ed58bea8fe755))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* align domains with current SDK cohort ([#85](https://github.com/astrale-os/domains/issues/85)) ([f2153e2](https://github.com/astrale-os/domains/commit/f2153e271e1389692ee9f98a14207c5e4340a743))
|
|
34
|
+
* **deps:** qualify GRC and domain dependencies ([#84](https://github.com/astrale-os/domains/issues/84)) ([e8a4c6b](https://github.com/astrale-os/domains/commit/e8a4c6b80e8e8f02a385e0001aa0f220acef5ce6))
|
|
35
|
+
|
|
36
|
+
## [0.2.0](https://github.com/astrale-os/domains/compare/ai-gateway-v0.1.0...ai-gateway-v0.2.0) (2026-08-25)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### ⚠ BREAKING CHANGES
|
|
40
|
+
|
|
41
|
+
* doors-only graph reads across workspace/agents/services/ai-gateway
|
|
42
|
+
|
|
43
|
+
* doors-only graph reads across workspace/agents/services/ai-gateway ([d1b3f0a](https://github.com/astrale-os/domains/commit/d1b3f0af1059ab9dc8f4e10c3eaf0bd129c79876))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
* add admin domain and blaxel runtime support ([6ce0422](https://github.com/astrale-os/domains/commit/6ce04227943166720d53b57ba2899f877e0b750d))
|
|
49
|
+
* add bookshelf domain (Author/Book + Reviewable) ([3ef0bba](https://github.com/astrale-os/domains/commit/3ef0bbaed6b984a8c5206cc102ea929b9bc24260))
|
|
50
|
+
* add ClaudeAgent class and ai-gateway domain extraction ([9c24d8a](https://github.com/astrale-os/domains/commit/9c24d8a4106532c1f7df6143df7d128e4471c910))
|
|
51
|
+
* add folder view and renderer, enhance class renderer with description ([8089785](https://github.com/astrale-os/domains/commit/8089785519ad39fcdb38be52d6c110802cf93644))
|
|
52
|
+
* add optional image and runtime environment to BlaxelComputer; update model defaults to gpt-5.5 ([26a2810](https://github.com/astrale-os/domains/commit/26a281010a01ea3e93325fb4367949243513bc53))
|
|
53
|
+
* add runtime logs, schedule, and secrets management ([265be00](https://github.com/astrale-os/domains/commit/265be00eb198c95f65308e12a61fdde4a2703848))
|
|
54
|
+
* **ai-gateway:** declare the seed standalone-function schema ([c3dd113](https://github.com/astrale-os/domains/commit/c3dd1132716b91cd8eca1dc74d267f1e2e6ae260))
|
|
55
|
+
* **computer:** ai-gateway → workerd + cold-start tier 1 ([593c03a](https://github.com/astrale-os/domains/commit/593c03a71672b692160806a28ea0fe3282174377))
|
|
56
|
+
* contract domain + central port map + strict BASE_DOMAIN ([e6dcf0d](https://github.com/astrale-os/domains/commit/e6dcf0ddd51f9514ec8c01a88f6fc3035ed85c54))
|
|
57
|
+
* distribution group/user views + ai-gateway exfiltration ([bb8ffa5](https://github.com/astrale-os/domains/commit/bb8ffa53d55c042fff132265bcafbdda1d68fac9))
|
|
58
|
+
* **distribution:** thread UI.handshake='shell'|'none' through View.resolve ([c1351e2](https://github.com/astrale-os/domains/commit/c1351e2eb2c463b7cc8132cd02d33ae188bf0c83))
|
|
59
|
+
* **domains:** cross-domain topology base-domain resolver + integration/blaxel/manager-ui fixes ([a862d16](https://github.com/astrale-os/domains/commit/a862d16001dc065d6d82cc4da2472312da963289))
|
|
60
|
+
* enhance User.init method to support optional parameters and improve identity binding logic ([23c4d81](https://github.com/astrale-os/domains/commit/23c4d819acb770bae5c5db16d868a23e9a0a02ad))
|
|
61
|
+
* **events:** add Events V0 and async issue notifications ([9538769](https://github.com/astrale-os/domains/commit/9538769b0e3ff4063583b3798b1e2301098a5e0c))
|
|
62
|
+
* overhaul domain apps and runtime flows ([cb92e06](https://github.com/astrale-os/domains/commit/cb92e0601d329a601c4eb072d4c80b0eff6816e7))
|
|
63
|
+
* overhaul services and domain applications ([b8bc24d](https://github.com/astrale-os/domains/commit/b8bc24dbce4c4541ccf1f453b5f3cd335ff1aca4))
|
|
64
|
+
* prepare demo domains for blaxel agents ([79f2164](https://github.com/astrale-os/domains/commit/79f2164278895d4da262a97931ec4b95b8f25398))
|
|
65
|
+
* publish Schema-only Domain contracts ([ec0a16a](https://github.com/astrale-os/domains/commit/ec0a16a46a08a3a2118ca1490a4f7e71239d62eb))
|
|
66
|
+
* publish Schema-only Domain contracts ([70aab15](https://github.com/astrale-os/domains/commit/70aab152f4eea0c69fed1a35cd4611d8d2f99ff9))
|
|
67
|
+
* recruitment + distribution local-compute + parallel domain WIP ([a859075](https://github.com/astrale-os/domains/commit/a85907562f059b78cedc07ad9bebe6aef4ecc0b8))
|
|
68
|
+
* refine domain dx refactor ([ae6108a](https://github.com/astrale-os/domains/commit/ae6108a497190880864177e1f9f1934034f84fc7))
|
|
69
|
+
* rename workspace domain to shell ([29e1d57](https://github.com/astrale-os/domains/commit/29e1d57264179fcd75d670d0c8454d1d67077cce))
|
|
70
|
+
* **skills:** add domain skill packages ([#28](https://github.com/astrale-os/domains/issues/28)) ([6c0b949](https://github.com/astrale-os/domains/commit/6c0b949f1e5821d9f53745fb02eca3453ffb7f80))
|
|
71
|
+
* unify ClaudeAgent on single agent image (chat + code-server) ([165ed71](https://github.com/astrale-os/domains/commit/165ed712fb2c23ab1b1b6f9d3b839c36974783dc))
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### Bug Fixes
|
|
75
|
+
|
|
76
|
+
* **admin:** install local distributions ([e77fa0e](https://github.com/astrale-os/domains/commit/e77fa0e0414bd51d427be3335bcb4686c7eb2cdf))
|
|
77
|
+
* **ai-gateway:** adopt current schema authoring APIs [skip ci] ([dc2c4bf](https://github.com/astrale-os/domains/commit/dc2c4bf5ad4eb5ed878635895b54af665d7b0585))
|
|
78
|
+
* **ai-gateway:** clear the chat prompt textarea after sending ([3f06824](https://github.com/astrale-os/domains/commit/3f06824f9084ff610a4ea775e3ab9b26df45c924))
|
|
79
|
+
* **ai-gateway:** declare the legacy schema cohort ([e23173a](https://github.com/astrale-os/domains/commit/e23173af90951c31970e7bd3cb5dfd01f91f66ba))
|
|
80
|
+
* **ai-gateway:** keep schema on legacy domain cohort [skip ci] ([d0781de](https://github.com/astrale-os/domains/commit/d0781dea6429eca5b03e62c7c45f21e64d25dbd5))
|
|
81
|
+
* **ai-gateway:** restore format-specific invocation ([#30](https://github.com/astrale-os/domains/issues/30)) ([3d1e82f](https://github.com/astrale-os/domains/commit/3d1e82f5d24092541724804c05d4d958007893cb))
|
|
82
|
+
* **ai-gateway:** use published kernel api range ([4a24d8e](https://github.com/astrale-os/domains/commit/4a24d8e4b72c35bd14d4ace2c6f0c2e21b5956ca))
|
|
83
|
+
* **ai-gateway:** view worker-audience auth + verbatim upstream errors + azure param ([13730b8](https://github.com/astrale-os/domains/commit/13730b8b6db69442ccf98ae7b370a22767503d15))
|
|
84
|
+
* **ci:** keep standalone packaging permissive ([9151cf9](https://github.com/astrale-os/domains/commit/9151cf99311dd070068734c373a1b7ec7e1027a0))
|
|
85
|
+
* **ci:** make domain workspace standalone ([ff42931](https://github.com/astrale-os/domains/commit/ff429317dfd8dd4b0af2ffe8160867c9ba410099))
|
|
86
|
+
* **ci:** simplify Domain publication ([097befc](https://github.com/astrale-os/domains/commit/097befc1217352ce4e3ce91c01d797aba8fd78a2))
|
|
87
|
+
* **ci:** simplify Domain publication ([1b99dd9](https://github.com/astrale-os/domains/commit/1b99dd9781337e13e63c5b1838d96d4fd0dfa3bc))
|
|
88
|
+
* **domains:** code review fixes + merge blaxel-computer deploy view/function ([2c855bf](https://github.com/astrale-os/domains/commit/2c855bf9497e1f0d9ca25be772ba05abe64516dc))
|
|
89
|
+
* **domains:** pin legacy package cohorts ([12043e2](https://github.com/astrale-os/domains/commit/12043e2fab4e96099aa487ec91acd5e7b33dea12))
|
|
90
|
+
* **domains:** use the compatible legacy cohort ([f6d42fa](https://github.com/astrale-os/domains/commit/f6d42fa60a08305fe8e1e6e046b80f37a73b190b))
|
|
91
|
+
* **frontend:** complete retained Domain identity ([cd667d1](https://github.com/astrale-os/domains/commit/cd667d111da05b76c599ce60ba7d741994a40abb))
|
|
92
|
+
* **frontend:** complete retained Domain identity ([efb9878](https://github.com/astrale-os/domains/commit/efb9878947877205f3469836d226875a7c50d055))
|
|
93
|
+
* **frontend:** pin compatible shell cohort [skip ci] ([c64bc4b](https://github.com/astrale-os/domains/commit/c64bc4b46a0ee0ec118d0add7e15bd494c1ff1f7))
|
|
94
|
+
* **frontend:** restore project source discovery ([#72](https://github.com/astrale-os/domains/issues/72)) ([7795508](https://github.com/astrale-os/domains/commit/77955086688833289b474c64314a6adae598be9f))
|
|
95
|
+
* keep Domain command cleanup narrow ([90f0b6c](https://github.com/astrale-os/domains/commit/90f0b6c68cdc43068e63f62bfc17ff610a79bb58))
|
|
96
|
+
* keep generic sandbox and model fixes ([0e5d69c](https://github.com/astrale-os/domains/commit/0e5d69ce8b1bbe73fbf5f9478b57c178bf72797d))
|
|
97
|
+
* migrate dev domain to current beta cohort ([9423b8e](https://github.com/astrale-os/domains/commit/9423b8ec9ee1f831ccd3770cccea3115afb17113))
|
|
98
|
+
* removed double view ai-gateway dist ([a61a4d9](https://github.com/astrale-os/domains/commit/a61a4d96e66721f0ffee355bc1635577435c8546))
|
|
99
|
+
* **views:** adopt proof-bounded Shell cohort ([#74](https://github.com/astrale-os/domains/issues/74)) ([09fb9f3](https://github.com/astrale-os/domains/commit/09fb9f39e5350cf930ff083090b6a6f21369dc49))
|
|
100
|
+
* **views:** retain graph query provenance ([#75](https://github.com/astrale-os/domains/issues/75)) ([c880a42](https://github.com/astrale-os/domains/commit/c880a42f78f15e24ebfe54ae4eb76388d8872a80))
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { core } from '@astrale-os/sdk/schema';
|
|
2
|
-
import { AIModel } from '
|
|
2
|
+
import { AIModel } from '../model/index.js';
|
|
3
3
|
export const claudeOpus5 = core.node(AIModel, {
|
|
4
4
|
name: 'Claude Opus 5',
|
|
5
5
|
description: 'Claude Opus 5 hosted on Azure for advanced reasoning and agentic work.',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { core } from '@astrale-os/sdk/schema';
|
|
2
|
-
import { AIModel } from '
|
|
2
|
+
import { AIModel } from '../model/index.js';
|
|
3
3
|
export const gemini35Flash = core.node(AIModel, {
|
|
4
4
|
name: 'Gemini 3.5 Flash',
|
|
5
5
|
description: 'Google Gemini 3.5 Flash through Cloudflare AI Gateway.',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { core } from '@astrale-os/sdk/schema';
|
|
2
|
-
import { AIModel } from '
|
|
2
|
+
import { AIModel } from '../model/index.js';
|
|
3
3
|
export const gpt56Luna = core.node(AIModel, {
|
|
4
4
|
name: 'GPT-5.6 Luna',
|
|
5
5
|
description: 'Cost-efficient GPT-5.6 model for high-volume workloads, deployed on Azure.',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { core } from '@astrale-os/sdk/schema';
|
|
2
|
-
import { AIModel } from '
|
|
2
|
+
import { AIModel } from '../model/index.js';
|
|
3
3
|
export const gpt56Sol = core.node(AIModel, {
|
|
4
4
|
name: 'GPT-5.6 Sol',
|
|
5
5
|
description: 'Frontier GPT-5.6 model for complex professional work, deployed on Azure.',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { core } from '@astrale-os/sdk/schema';
|
|
2
|
-
import { AIModel } from '
|
|
2
|
+
import { AIModel } from '../model/index.js';
|
|
3
3
|
export const gpt56Terra = core.node(AIModel, {
|
|
4
4
|
name: 'GPT-5.6 Terra',
|
|
5
5
|
description: 'Balanced GPT-5.6 model for intelligence and cost, deployed on Azure.',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { core } from '@astrale-os/sdk/schema';
|
|
2
|
-
import { AIModel } from '
|
|
2
|
+
import { AIModel } from '../model/index.js';
|
|
3
3
|
export const kimiK27Code = core.node(AIModel, {
|
|
4
4
|
name: 'Kimi K2.7 Code',
|
|
5
5
|
description: 'Moonshot Kimi K2.7 Code on Cloudflare Workers AI.',
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { schema } from './
|
|
2
|
-
export type { AIGatewayDomain, AIGatewaySchema } from './
|
|
1
|
+
export { schema } from './schema.js';
|
|
2
|
+
export type { AIGatewayDomain, AIGatewaySchema } from './schema.js';
|
|
3
3
|
export { claudeOpus5, gemini35Flash, gpt56Luna, gpt56Sol, gpt56Terra, kimiK27Code, } from './catalog/index.js';
|
|
4
4
|
export { AIModel } from './model/index.js';
|
package/dist/schema/index.js
CHANGED
|
@@ -181,12 +181,12 @@ export declare const AIModel: import("@astrale-os/sdk/schema").NodeClass<{
|
|
|
181
181
|
}, true, "modality", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "modelId", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<Record<string, string>, Record<string, string>, true, "pricing", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<"azure" | "google" | "workers-ai", "azure" | "google" | "workers-ai", true, "provider", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<"anthropic" | "openai", "anthropic" | "openai", true, "upstreamFormat", "self">) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
|
|
182
182
|
readonly name: "description";
|
|
183
183
|
readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
|
|
184
|
-
}) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
|
|
185
|
-
readonly name: "createdAt";
|
|
186
|
-
readonly key: "kernel.astrale.ai:class.Timestamped.property.createdAt";
|
|
187
184
|
}) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
|
|
188
185
|
readonly name: "name";
|
|
189
186
|
readonly key: "kernel.astrale.ai:class.Named.property.name";
|
|
187
|
+
}) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
|
|
188
|
+
readonly name: "createdAt";
|
|
189
|
+
readonly key: "kernel.astrale.ai:class.Timestamped.property.createdAt";
|
|
190
190
|
}) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
|
|
191
191
|
readonly name: "updatedAt";
|
|
192
192
|
readonly key: "kernel.astrale.ai:class.Timestamped.property.updatedAt";
|
|
@@ -260,4 +260,4 @@ export declare const AIModel: import("@astrale-os/sdk/schema").NodeClass<{
|
|
|
260
260
|
description: string;
|
|
261
261
|
};
|
|
262
262
|
}, "authorized", true, "default">>, "register", "self">;
|
|
263
|
-
}
|
|
263
|
+
}> & import("@astrale-os/sdk/schema").StateClass<Readonly<Omit<Readonly<Record<never, never>>, never> & {}>>;
|
|
@@ -188,12 +188,12 @@ export declare const schema: import("@astrale-os/sdk/schema").DefinedSchema<"ai-
|
|
|
188
188
|
}, true, "modality", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<string, string, true, "modelId", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<Record<string, string>, Record<string, string>, true, "pricing", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<"azure" | "google" | "workers-ai", "azure" | "google" | "workers-ai", true, "provider", "self"> | import("@astrale-os/sdk/schema").AuthoredPropertyProjection<"anthropic" | "openai", "anthropic" | "openai", true, "upstreamFormat", "self">) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
|
|
189
189
|
readonly name: "description";
|
|
190
190
|
readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
|
|
191
|
-
}) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
|
|
192
|
-
readonly name: "name";
|
|
193
|
-
readonly key: "kernel.astrale.ai:class.Named.property.name";
|
|
194
191
|
}) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
|
|
195
192
|
readonly name: "createdAt";
|
|
196
193
|
readonly key: "kernel.astrale.ai:class.Timestamped.property.createdAt";
|
|
194
|
+
}) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
|
|
195
|
+
readonly name: "name";
|
|
196
|
+
readonly key: "kernel.astrale.ai:class.Named.property.name";
|
|
197
197
|
}) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
|
|
198
198
|
readonly name: "updatedAt";
|
|
199
199
|
readonly key: "kernel.astrale.ai:class.Timestamped.property.updatedAt";
|
|
@@ -267,7 +267,7 @@ export declare const schema: import("@astrale-os/sdk/schema").DefinedSchema<"ai-
|
|
|
267
267
|
description: string;
|
|
268
268
|
};
|
|
269
269
|
}, "authorized", true, "default">>, "register", "self">;
|
|
270
|
-
}
|
|
270
|
+
}> & import("@astrale-os/sdk/schema").StateClass<Readonly<Omit<Readonly<Record<never, never>>, never> & {}>>;
|
|
271
271
|
};
|
|
272
272
|
readonly views: {
|
|
273
273
|
application: import("@astrale-os/sdk/schema").View;
|
|
@@ -282,6 +282,10 @@ export declare const schema: import("@astrale-os/sdk/schema").DefinedSchema<"ai-
|
|
|
282
282
|
'claude-opus-5': import("@astrale-os/sdk/schema").CoreNode;
|
|
283
283
|
};
|
|
284
284
|
};
|
|
285
|
-
}
|
|
285
|
+
}>> & import("@astrale-os/sdk/schema").StateSchema<{
|
|
286
|
+
readonly AIModel: Readonly<Omit<Readonly<Record<never, never>>, never> & {}>;
|
|
287
|
+
}, {
|
|
288
|
+
readonly kernel: KernelSchema;
|
|
289
|
+
}>;
|
|
286
290
|
export type AIGatewaySchema = typeof schema;
|
|
287
291
|
export type AIGatewayDomain = language.DomainOf<typeof schema>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { KernelSchema, defineSchema, view } from '@astrale-os/sdk/schema';
|
|
2
|
-
import { claudeOpus5, gemini35Flash, gpt56Luna, gpt56Sol, gpt56Terra, kimiK27Code, } from '
|
|
3
|
-
import { AIModel } from '
|
|
2
|
+
import { claudeOpus5, gemini35Flash, gpt56Luna, gpt56Sol, gpt56Terra, kimiK27Code, } from './catalog/index.js';
|
|
3
|
+
import { AIModel } from './model/index.js';
|
|
4
4
|
export const schema = defineSchema('ai-gateway.astrale.ai', {
|
|
5
5
|
dependencies: { kernel: KernelSchema },
|
|
6
6
|
classes: { AIModel },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrale-domains/ai-gateway",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/astrale-os/domains.git",
|
|
@@ -28,41 +28,41 @@
|
|
|
28
28
|
"registry": "https://registry.npmjs.org/"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@astrale-os/sdk": "0.5.0-beta.
|
|
31
|
+
"@astrale-os/sdk": "0.5.0-beta.75",
|
|
32
32
|
"zod": "^4.4.3"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@ai-sdk/anthropic": "^4.0.
|
|
36
|
-
"@ai-sdk/azure": "^4.0.
|
|
37
|
-
"@ai-sdk/openai": "^4.0.
|
|
38
|
-
"@anthropic-ai/sdk": "0.
|
|
39
|
-
"@astrale-os/adapter-astrale": "0.5.0-beta.
|
|
40
|
-
"@astrale-os/adapter-cloudflare": "0.5.0-beta.
|
|
41
|
-
"@astrale-os/ox": ">=0.1.
|
|
42
|
-
"@astrale-os/shell": "0.4.2-beta.
|
|
43
|
-
"@astrale-os/shell-react": "0.3.2-beta.
|
|
44
|
-
"@astrale-os/ui": "0.3.0-beta.
|
|
35
|
+
"@ai-sdk/anthropic": "^4.0.40",
|
|
36
|
+
"@ai-sdk/azure": "^4.0.46",
|
|
37
|
+
"@ai-sdk/openai": "^4.0.45",
|
|
38
|
+
"@anthropic-ai/sdk": "0.120.0",
|
|
39
|
+
"@astrale-os/adapter-astrale": "0.5.0-beta.71",
|
|
40
|
+
"@astrale-os/adapter-cloudflare": "0.5.0-beta.78",
|
|
41
|
+
"@astrale-os/ox": ">=0.1.4 <1.0.0",
|
|
42
|
+
"@astrale-os/shell": "0.4.2-beta.8",
|
|
43
|
+
"@astrale-os/shell-react": "0.3.2-beta.5",
|
|
44
|
+
"@astrale-os/ui": "0.3.0-beta.13",
|
|
45
45
|
"@google/generative-ai": "0.24.1",
|
|
46
|
-
"@tailwindcss/vite": "^4.
|
|
47
|
-
"@tanstack/react-router": "1.170.
|
|
48
|
-
"@tanstack/router-plugin": "1.168.
|
|
46
|
+
"@tailwindcss/vite": "^4.3.3",
|
|
47
|
+
"@tanstack/react-router": "1.170.18",
|
|
48
|
+
"@tanstack/router-plugin": "1.168.23",
|
|
49
49
|
"@testing-library/react": "16.3.2",
|
|
50
|
-
"@testing-library/user-event": "14.6.
|
|
51
|
-
"@types/node": "^
|
|
52
|
-
"@types/react": "^19.2.
|
|
53
|
-
"@types/react-dom": "^19.2.
|
|
54
|
-
"@vitejs/plugin-react": "^6.0
|
|
55
|
-
"ai": "^7.0.
|
|
50
|
+
"@testing-library/user-event": "14.6.5",
|
|
51
|
+
"@types/node": "^26.2.0",
|
|
52
|
+
"@types/react": "^19.2.18",
|
|
53
|
+
"@types/react-dom": "^19.2.4",
|
|
54
|
+
"@vitejs/plugin-react": "^6.1.0",
|
|
55
|
+
"ai": "^7.0.73",
|
|
56
56
|
"jsdom": "30.0.1",
|
|
57
57
|
"llm-bridge": "^2.0.1",
|
|
58
58
|
"openai": "7.5.0",
|
|
59
|
-
"oxlint": ">=1.
|
|
60
|
-
"react": "^19.2.
|
|
61
|
-
"react-dom": "^19.2.
|
|
62
|
-
"tailwindcss": "^4.
|
|
59
|
+
"oxlint": ">=1.79.0 <2.0.0",
|
|
60
|
+
"react": "^19.2.8",
|
|
61
|
+
"react-dom": "^19.2.8",
|
|
62
|
+
"tailwindcss": "^4.3.3",
|
|
63
63
|
"typescript": "7.0.2",
|
|
64
|
-
"vite": "^8.2.
|
|
65
|
-
"vitest": "^4.1.
|
|
64
|
+
"vite": "^8.2.2",
|
|
65
|
+
"vitest": "^4.1.11"
|
|
66
66
|
},
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": ">=22.13"
|