@astrale-domains/ai-gateway 0.3.2 → 0.4.0

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,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.4.0](https://github.com/astrale-os/domains/compare/ai-gateway-v0.3.2...ai-gateway-v0.4.0) (2026-09-07)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * **services:** implement management methods on exact worker classes ([#176](https://github.com/astrale-os/domains/issues/176))
9
+
10
+ ### Features
11
+
12
+ * **domains:** adopt deploy-only project environments ([#183](https://github.com/astrale-os/domains/issues/183)) ([cedee91](https://github.com/astrale-os/domains/commit/cedee910d89e3e23420aad8291f54715fc6c87f5))
13
+ * **services:** implement management methods on exact worker classes ([#176](https://github.com/astrale-os/domains/issues/176)) ([f08ecd5](https://github.com/astrale-os/domains/commit/f08ecd5ffed9305e3ebae194202a1d252a84d1af))
14
+
3
15
  ## [0.3.2](https://github.com/astrale-os/domains/compare/ai-gateway-v0.3.1...ai-gateway-v0.3.2) (2026-09-04)
4
16
 
5
17
 
@@ -131,7 +131,7 @@ export declare const AIModel: import("@astrale-os/sdk/schema").NodeClass<{
131
131
  id: string;
132
132
  description: string;
133
133
  };
134
- }, "authorized", true, "default">>;
134
+ }, "authorized", true, false>>;
135
135
  readonly invoke: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
136
136
  path: string;
137
137
  body: string;
@@ -139,22 +139,22 @@ export declare const AIModel: import("@astrale-os/sdk/schema").NodeClass<{
139
139
  contentType?: string | undefined;
140
140
  }, {
141
141
  readonly mode: 'binary';
142
- }, "authorized", false, "default">>;
142
+ }, "authorized", false, false>>;
143
143
  readonly invokeOpenaiFormat: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
144
144
  body: string;
145
145
  }, {
146
146
  readonly mode: 'binary';
147
- }, "authorized", false, "default">>;
147
+ }, "authorized", false, false>>;
148
148
  readonly invokeAnthropicFormat: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
149
149
  body: string;
150
150
  }, {
151
151
  readonly mode: 'binary';
152
- }, "authorized", false, "default">>;
152
+ }, "authorized", false, false>>;
153
153
  readonly invokeVercelFormat: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
154
154
  body: string;
155
155
  }, {
156
156
  readonly mode: 'binary';
157
- }, "authorized", false, "default">>;
157
+ }, "authorized", false, false>>;
158
158
  };
159
159
  readonly effectiveProperties: (import("@astrale-os/sdk/schema").AuthoredPropertyProjection<{
160
160
  toolUse: boolean;
@@ -191,26 +191,28 @@ export declare const AIModel: import("@astrale-os/sdk/schema").NodeClass<{
191
191
  readonly name: "updatedAt";
192
192
  readonly key: "kernel.astrale.ai:class.Timestamped.property.updatedAt";
193
193
  });
194
+ readonly abstractInstanceMethods: never;
195
+ readonly abstractStaticMethods: never;
194
196
  readonly effectiveInstanceMethods: import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
195
197
  body: string;
196
198
  }, {
197
199
  readonly mode: 'binary';
198
- }, "authorized", false, "default">>, "invokeVercelFormat", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
200
+ }, "authorized", false, false>>, "invokeVercelFormat", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
199
201
  path: string;
200
202
  body: string;
201
203
  headers?: Record<string, string> | undefined;
202
204
  contentType?: string | undefined;
203
205
  }, {
204
206
  readonly mode: 'binary';
205
- }, "authorized", false, "default">>, "invoke", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
207
+ }, "authorized", false, false>>, "invoke", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
206
208
  body: string;
207
209
  }, {
208
210
  readonly mode: 'binary';
209
- }, "authorized", false, "default">>, "invokeOpenaiFormat", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
211
+ }, "authorized", false, false>>, "invokeOpenaiFormat", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
210
212
  body: string;
211
213
  }, {
212
214
  readonly mode: 'binary';
213
- }, "authorized", false, "default">>, "invokeAnthropicFormat", "self">;
215
+ }, "authorized", false, false>>, "invokeAnthropicFormat", "self">;
214
216
  readonly effectiveStaticMethods: import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
215
217
  name: string;
216
218
  description?: string | undefined;
@@ -259,5 +261,5 @@ export declare const AIModel: import("@astrale-os/sdk/schema").NodeClass<{
259
261
  id: string;
260
262
  description: string;
261
263
  };
262
- }, "authorized", true, "default">>, "register", "self">;
264
+ }, "authorized", true, false>>, "register", "self">;
263
265
  }>;
@@ -138,7 +138,7 @@ export declare const schema: import("@astrale-os/sdk/schema").DefinedSchema<"ai-
138
138
  id: string;
139
139
  description: string;
140
140
  };
141
- }, "authorized", true, "default">>;
141
+ }, "authorized", true, false>>;
142
142
  readonly invoke: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
143
143
  path: string;
144
144
  body: string;
@@ -146,22 +146,22 @@ export declare const schema: import("@astrale-os/sdk/schema").DefinedSchema<"ai-
146
146
  contentType?: string | undefined;
147
147
  }, {
148
148
  readonly mode: 'binary';
149
- }, "authorized", false, "default">>;
149
+ }, "authorized", false, false>>;
150
150
  readonly invokeOpenaiFormat: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
151
151
  body: string;
152
152
  }, {
153
153
  readonly mode: 'binary';
154
- }, "authorized", false, "default">>;
154
+ }, "authorized", false, false>>;
155
155
  readonly invokeAnthropicFormat: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
156
156
  body: string;
157
157
  }, {
158
158
  readonly mode: 'binary';
159
- }, "authorized", false, "default">>;
159
+ }, "authorized", false, false>>;
160
160
  readonly invokeVercelFormat: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
161
161
  body: string;
162
162
  }, {
163
163
  readonly mode: 'binary';
164
- }, "authorized", false, "default">>;
164
+ }, "authorized", false, false>>;
165
165
  };
166
166
  readonly effectiveProperties: (import("@astrale-os/sdk/schema").AuthoredPropertyProjection<{
167
167
  toolUse: boolean;
@@ -198,26 +198,28 @@ export declare const schema: import("@astrale-os/sdk/schema").DefinedSchema<"ai-
198
198
  readonly name: "updatedAt";
199
199
  readonly key: "kernel.astrale.ai:class.Timestamped.property.updatedAt";
200
200
  });
201
+ readonly abstractInstanceMethods: never;
202
+ readonly abstractStaticMethods: never;
201
203
  readonly effectiveInstanceMethods: import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
202
204
  body: string;
203
205
  }, {
204
206
  readonly mode: 'binary';
205
- }, "authorized", false, "default">>, "invokeAnthropicFormat", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
207
+ }, "authorized", false, false>>, "invokeAnthropicFormat", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
206
208
  path: string;
207
209
  body: string;
208
210
  headers?: Record<string, string> | undefined;
209
211
  contentType?: string | undefined;
210
212
  }, {
211
213
  readonly mode: 'binary';
212
- }, "authorized", false, "default">>, "invoke", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
214
+ }, "authorized", false, false>>, "invoke", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
213
215
  body: string;
214
216
  }, {
215
217
  readonly mode: 'binary';
216
- }, "authorized", false, "default">>, "invokeOpenaiFormat", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
218
+ }, "authorized", false, false>>, "invokeOpenaiFormat", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
217
219
  body: string;
218
220
  }, {
219
221
  readonly mode: 'binary';
220
- }, "authorized", false, "default">>, "invokeVercelFormat", "self">;
222
+ }, "authorized", false, false>>, "invokeVercelFormat", "self">;
221
223
  readonly effectiveStaticMethods: import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
222
224
  name: string;
223
225
  description?: string | undefined;
@@ -266,7 +268,7 @@ export declare const schema: import("@astrale-os/sdk/schema").DefinedSchema<"ai-
266
268
  id: string;
267
269
  description: string;
268
270
  };
269
- }, "authorized", true, "default">>, "register", "self">;
271
+ }, "authorized", true, false>>, "register", "self">;
270
272
  }>;
271
273
  };
272
274
  readonly views: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrale-domains/ai-gateway",
3
- "version": "0.3.2",
3
+ "version": "0.4.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/astrale-os/domains.git",
@@ -28,7 +28,7 @@
28
28
  "registry": "https://registry.npmjs.org/"
29
29
  },
30
30
  "dependencies": {
31
- "@astrale-os/sdk": "0.5.0-beta.109",
31
+ "@astrale-os/sdk": "0.5.0-beta.123",
32
32
  "zod": "4.4.3"
33
33
  },
34
34
  "devDependencies": {
@@ -36,11 +36,11 @@
36
36
  "@ai-sdk/azure": "^4.0.46",
37
37
  "@ai-sdk/openai": "^4.0.45",
38
38
  "@anthropic-ai/sdk": "0.120.0",
39
- "@astrale-os/adapter-astrale": "0.5.0-beta.105",
40
- "@astrale-os/adapter-cloudflare": "0.5.0-beta.112",
39
+ "@astrale-os/adapter-astrale": "0.5.0-beta.119",
40
+ "@astrale-os/adapter-cloudflare": "0.5.0-beta.126",
41
41
  "@astrale-os/ox": ">=0.1.4 <1.0.0",
42
- "@astrale-os/shell": "0.5.0-beta.13",
43
- "@astrale-os/shell-react": "0.4.0-beta.13",
42
+ "@astrale-os/shell": "0.5.0-beta.16",
43
+ "@astrale-os/shell-react": "0.4.0-beta.15",
44
44
  "@astrale-os/ui": "0.3.0-beta.25",
45
45
  "@google/generative-ai": "0.24.1",
46
46
  "@tailwindcss/vite": "^4.3.3",
@@ -53,6 +53,7 @@
53
53
  "@types/react-dom": "^19.2.4",
54
54
  "@vitejs/plugin-react": "^6.1.0",
55
55
  "ai": "^7.0.73",
56
+ "bun": "1.4.0",
56
57
  "jsdom": "30.0.1",
57
58
  "llm-bridge": "^2.0.1",
58
59
  "openai": "7.5.0",
@@ -82,7 +83,6 @@
82
83
  "package": "astrale-domain package",
83
84
  "typecheck": "tsc --noEmit",
84
85
  "test": "vitest run --config vitest.config.ts",
85
- "frontend:dev": "vite",
86
86
  "frontend:build": "vite build"
87
87
  }
88
88
  }