@astrale-domains/ai-gateway 0.2.2 → 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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
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
+
3
10
  ## [0.2.2](https://github.com/astrale-os/domains/compare/ai-gateway-v0.2.1...ai-gateway-v0.2.2) (2026-08-27)
4
11
 
5
12
 
@@ -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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrale-domains/ai-gateway",
3
- "version": "0.2.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.64",
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.39",
36
- "@ai-sdk/azure": "^4.0.44",
37
- "@ai-sdk/openai": "^4.0.43",
38
- "@anthropic-ai/sdk": "0.117.1",
39
- "@astrale-os/adapter-astrale": "0.5.0-beta.60",
40
- "@astrale-os/adapter-cloudflare": "0.5.0-beta.67",
41
- "@astrale-os/ox": ">=0.1.3 <1.0.0",
42
- "@astrale-os/shell": "0.4.2-beta.6",
43
- "@astrale-os/shell-react": "0.3.2-beta.3",
44
- "@astrale-os/ui": "0.3.0-beta.7",
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.0.6",
47
- "@tanstack/react-router": "1.170.17",
48
- "@tanstack/router-plugin": "1.168.19",
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.1",
51
- "@types/node": "^22.0.0",
52
- "@types/react": "^19.2.0",
53
- "@types/react-dom": "^19.2.0",
54
- "@vitejs/plugin-react": "^6.0.5",
55
- "ai": "^7.0.68",
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.78.0 <2.0.0",
60
- "react": "^19.2.0",
61
- "react-dom": "^19.2.0",
62
- "tailwindcss": "^4.0.6",
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.1",
65
- "vitest": "^4.1.10"
64
+ "vite": "^8.2.2",
65
+ "vitest": "^4.1.11"
66
66
  },
67
67
  "engines": {
68
68
  "node": ">=22.13"