@astrale-domains/ai-gateway 0.6.13 → 0.6.15
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/dist/schema/schema.js +5 -14
- package/package.json +2 -2
package/dist/schema/schema.js
CHANGED
|
@@ -4,22 +4,13 @@ import { AIModel } from './modules/model/index.js';
|
|
|
4
4
|
export const schema = defineSchema('ai-gateway.astrale.ai', {
|
|
5
5
|
name: 'AI Gateway',
|
|
6
6
|
/**
|
|
7
|
-
* The application icon (
|
|
8
|
-
* Shell clips its corners, so each square fills edge to edge.
|
|
7
|
+
* The application icon (an arch over a path), drawn per size: small 24, medium 64 and large 512
|
|
8
|
+
* viewBox. Shell clips its corners, so each square fills edge to edge.
|
|
9
9
|
*/
|
|
10
10
|
icon: domainIcon({
|
|
11
|
-
small:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
},
|
|
15
|
-
medium: {
|
|
16
|
-
svg: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><defs><linearGradient id="ag4M-bg" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#FFFFFF"/><stop offset="1" stop-color="#EEEBF5"/></linearGradient><radialGradient id="ag4M-sh" cx="0.5" cy="-0.05" r="0.8"><stop offset="0" stop-color="#ffffff" stop-opacity="0"/><stop offset="1" stop-color="#ffffff" stop-opacity="0"/></radialGradient><linearGradient id="ag4M-i" x1="16" y1="16" x2="48" y2="48" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFC48C"/><stop offset="0.32" stop-color="#FF72B6"/><stop offset="0.66" stop-color="#9A6BFF"/><stop offset="1" stop-color="#4C9CFF"/></linearGradient><linearGradient id="ag4M-r" x1="9.5" y1="54.5" x2="54.5" y2="9.5" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFC48C"/><stop offset="0.32" stop-color="#FF72B6"/><stop offset="0.66" stop-color="#9A6BFF"/><stop offset="1" stop-color="#4C9CFF"/></linearGradient><radialGradient id="ag4M-c" cx="32" cy="32" r="8.75" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFFFFF" stop-opacity="0.75"/><stop offset="1" stop-color="#FFFFFF" stop-opacity="0"/></radialGradient><filter id="ag4M-gl" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="2"/></filter><filter id="ag4M-cs" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="1.3"/></filter></defs><g data-layer="background"><rect width="64" height="64" fill="url(#ag4M-bg)"/><rect width="64" height="64" fill="url(#ag4M-sh)"/></g><g data-layer="foreground"><g filter="url(#ag4M-gl)" opacity=".7"><circle cx="32" cy="32" r="21.75" fill="none" stroke="url(#ag4M-r)" stroke-width="2"/></g><circle cx="32" cy="32" r="21.75" fill="none" stroke="url(#ag4M-r)" stroke-width="1" opacity=".9"/><g opacity="0.28" filter="url(#ag4M-cs)" transform="translate(0 1.3)" fill="#5A3BB0"><path d="M46.92 31.31A0.7 0.7 0 0 1 46.92 32.69A17.56 17.56 0 0 0 32.69 46.92A0.7 0.7 0 0 1 31.31 46.92A17.56 17.56 0 0 0 17.08 32.69A0.7 0.7 0 0 1 17.08 31.31A17.56 17.56 0 0 0 31.31 17.08A0.7 0.7 0 0 1 32.69 17.08A17.56 17.56 0 0 0 46.92 31.31Z"/></g><path d="M46.92 31.31A0.7 0.7 0 0 1 46.92 32.69A17.56 17.56 0 0 0 32.69 46.92A0.7 0.7 0 0 1 31.31 46.92A17.56 17.56 0 0 0 17.08 32.69A0.7 0.7 0 0 1 17.08 31.31A17.56 17.56 0 0 0 31.31 17.08A0.7 0.7 0 0 1 32.69 17.08A17.56 17.56 0 0 0 46.92 31.31Z" fill="url(#ag4M-i)"/><path d="M46.92 31.31A0.7 0.7 0 0 1 46.92 32.69A17.56 17.56 0 0 0 32.69 46.92A0.7 0.7 0 0 1 31.31 46.92A17.56 17.56 0 0 0 17.08 32.69A0.7 0.7 0 0 1 17.08 31.31A17.56 17.56 0 0 0 31.31 17.08A0.7 0.7 0 0 1 32.69 17.08A17.56 17.56 0 0 0 46.92 31.31Z" fill="url(#ag4M-c)"/></g></svg>`,
|
|
17
|
-
dark: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><defs><linearGradient id="ag4Md-bg" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#211E2B"/><stop offset="1" stop-color="#0D0C12"/></linearGradient><radialGradient id="ag4Md-sh" cx="0.5" cy="-0.05" r="0.8"><stop offset="0" stop-color="#ffffff" stop-opacity="0.08"/><stop offset="1" stop-color="#ffffff" stop-opacity="0"/></radialGradient><linearGradient id="ag4Md-i" x1="16" y1="16" x2="48" y2="48" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFC48C"/><stop offset="0.32" stop-color="#FF72B6"/><stop offset="0.66" stop-color="#9A6BFF"/><stop offset="1" stop-color="#4C9CFF"/></linearGradient><linearGradient id="ag4Md-r" x1="9.5" y1="54.5" x2="54.5" y2="9.5" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFC48C"/><stop offset="0.32" stop-color="#FF72B6"/><stop offset="0.66" stop-color="#9A6BFF"/><stop offset="1" stop-color="#4C9CFF"/></linearGradient><radialGradient id="ag4Md-c" cx="32" cy="32" r="8.75" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFFFFF" stop-opacity="0.9"/><stop offset="1" stop-color="#FFFFFF" stop-opacity="0"/></radialGradient><filter id="ag4Md-gl" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="2"/></filter></defs><g data-layer="background"><rect width="64" height="64" fill="url(#ag4Md-bg)"/><rect width="64" height="64" fill="url(#ag4Md-sh)"/></g><g data-layer="foreground"><g filter="url(#ag4Md-gl)" opacity=".55"><circle cx="32" cy="32" r="21.75" fill="none" stroke="url(#ag4Md-r)" stroke-width="2"/></g><circle cx="32" cy="32" r="21.75" fill="none" stroke="url(#ag4Md-r)" stroke-width="1" opacity=".9"/><path d="M46.92 31.31A0.7 0.7 0 0 1 46.92 32.69A17.56 17.56 0 0 0 32.69 46.92A0.7 0.7 0 0 1 31.31 46.92A17.56 17.56 0 0 0 17.08 32.69A0.7 0.7 0 0 1 17.08 31.31A17.56 17.56 0 0 0 31.31 17.08A0.7 0.7 0 0 1 32.69 17.08A17.56 17.56 0 0 0 46.92 31.31Z" fill="url(#ag4Md-i)"/><path d="M46.92 31.31A0.7 0.7 0 0 1 46.92 32.69A17.56 17.56 0 0 0 32.69 46.92A0.7 0.7 0 0 1 31.31 46.92A17.56 17.56 0 0 0 17.08 32.69A0.7 0.7 0 0 1 17.08 31.31A17.56 17.56 0 0 0 31.31 17.08A0.7 0.7 0 0 1 32.69 17.08A17.56 17.56 0 0 0 46.92 31.31Z" fill="url(#ag4Md-c)"/></g></svg>`,
|
|
18
|
-
},
|
|
19
|
-
large: {
|
|
20
|
-
svg: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><defs><linearGradient id="ag4L-bg" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#FFFFFF"/><stop offset="1" stop-color="#EEEBF5"/></linearGradient><radialGradient id="ag4L-sh" cx="0.5" cy="-0.05" r="0.8"><stop offset="0" stop-color="#ffffff" stop-opacity="0"/><stop offset="1" stop-color="#ffffff" stop-opacity="0"/></radialGradient><linearGradient id="ag4L-i" x1="128" y1="128" x2="384" y2="384" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFC48C"/><stop offset="0.32" stop-color="#FF72B6"/><stop offset="0.66" stop-color="#9A6BFF"/><stop offset="1" stop-color="#4C9CFF"/></linearGradient><linearGradient id="ag4L-r" x1="76" y1="436" x2="436" y2="76" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFC48C"/><stop offset="0.32" stop-color="#FF72B6"/><stop offset="0.66" stop-color="#9A6BFF"/><stop offset="1" stop-color="#4C9CFF"/></linearGradient><radialGradient id="ag4L-c" cx="256" cy="256" r="70" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFFFFF" stop-opacity="0.75"/><stop offset="1" stop-color="#FFFFFF" stop-opacity="0"/></radialGradient><filter id="ag4L-gl" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="18"/></filter><filter id="ag4L-cs" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="12"/></filter></defs><g data-layer="background"><rect width="512" height="512" fill="url(#ag4L-bg)"/><rect width="512" height="512" fill="url(#ag4L-sh)"/></g><g data-layer="foreground"><g filter="url(#ag4L-gl)" opacity=".7"><circle cx="256" cy="256" r="174" fill="none" stroke="url(#ag4L-r)" stroke-width="16"/></g><circle cx="256" cy="256" r="174" fill="none" stroke="url(#ag4L-r)" stroke-width="5" opacity=".9"/><g opacity="0.28" filter="url(#ag4L-cs)" transform="translate(0 12)" fill="#5A3BB0"><path d="M377.75 253.53A2.48 2.48 0 0 1 377.75 258.47A132.01 132.01 0 0 0 258.47 377.75A2.48 2.48 0 0 1 253.53 377.75A132.01 132.01 0 0 0 134.25 258.47A2.48 2.48 0 0 1 134.25 253.53A132.01 132.01 0 0 0 253.53 134.25A2.48 2.48 0 0 1 258.47 134.25A132.01 132.01 0 0 0 377.75 253.53Z"/></g><path d="M377.75 253.53A2.48 2.48 0 0 1 377.75 258.47A132.01 132.01 0 0 0 258.47 377.75A2.48 2.48 0 0 1 253.53 377.75A132.01 132.01 0 0 0 134.25 258.47A2.48 2.48 0 0 1 134.25 253.53A132.01 132.01 0 0 0 253.53 134.25A2.48 2.48 0 0 1 258.47 134.25A132.01 132.01 0 0 0 377.75 253.53Z" fill="url(#ag4L-i)"/><path d="M377.75 253.53A2.48 2.48 0 0 1 377.75 258.47A132.01 132.01 0 0 0 258.47 377.75A2.48 2.48 0 0 1 253.53 377.75A132.01 132.01 0 0 0 134.25 258.47A2.48 2.48 0 0 1 134.25 253.53A132.01 132.01 0 0 0 253.53 134.25A2.48 2.48 0 0 1 258.47 134.25A132.01 132.01 0 0 0 377.75 253.53Z" fill="url(#ag4L-c)"/></g></svg>`,
|
|
21
|
-
dark: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><defs><linearGradient id="ag4Ld-bg" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#211E2B"/><stop offset="1" stop-color="#0D0C12"/></linearGradient><radialGradient id="ag4Ld-sh" cx="0.5" cy="-0.05" r="0.8"><stop offset="0" stop-color="#ffffff" stop-opacity="0.08"/><stop offset="1" stop-color="#ffffff" stop-opacity="0"/></radialGradient><linearGradient id="ag4Ld-i" x1="128" y1="128" x2="384" y2="384" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFC48C"/><stop offset="0.32" stop-color="#FF72B6"/><stop offset="0.66" stop-color="#9A6BFF"/><stop offset="1" stop-color="#4C9CFF"/></linearGradient><linearGradient id="ag4Ld-r" x1="76" y1="436" x2="436" y2="76" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFC48C"/><stop offset="0.32" stop-color="#FF72B6"/><stop offset="0.66" stop-color="#9A6BFF"/><stop offset="1" stop-color="#4C9CFF"/></linearGradient><radialGradient id="ag4Ld-c" cx="256" cy="256" r="70" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFFFFF" stop-opacity="0.9"/><stop offset="1" stop-color="#FFFFFF" stop-opacity="0"/></radialGradient><filter id="ag4Ld-gl" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="18"/></filter></defs><g data-layer="background"><rect width="512" height="512" fill="url(#ag4Ld-bg)"/><rect width="512" height="512" fill="url(#ag4Ld-sh)"/></g><g data-layer="foreground"><g filter="url(#ag4Ld-gl)" opacity=".55"><circle cx="256" cy="256" r="174" fill="none" stroke="url(#ag4Ld-r)" stroke-width="16"/></g><circle cx="256" cy="256" r="174" fill="none" stroke="url(#ag4Ld-r)" stroke-width="5" opacity=".9"/><path d="M377.75 253.53A2.48 2.48 0 0 1 377.75 258.47A132.01 132.01 0 0 0 258.47 377.75A2.48 2.48 0 0 1 253.53 377.75A132.01 132.01 0 0 0 134.25 258.47A2.48 2.48 0 0 1 134.25 253.53A132.01 132.01 0 0 0 253.53 134.25A2.48 2.48 0 0 1 258.47 134.25A132.01 132.01 0 0 0 377.75 253.53Z" fill="url(#ag4Ld-i)"/><path d="M377.75 253.53A2.48 2.48 0 0 1 377.75 258.47A132.01 132.01 0 0 0 258.47 377.75A2.48 2.48 0 0 1 253.53 377.75A132.01 132.01 0 0 0 134.25 258.47A2.48 2.48 0 0 1 134.25 253.53A132.01 132.01 0 0 0 253.53 134.25A2.48 2.48 0 0 1 258.47 134.25A132.01 132.01 0 0 0 377.75 253.53Z" fill="url(#ag4Ld-c)"/></g></svg>`,
|
|
22
|
-
},
|
|
11
|
+
small: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g data-layer="background"><path fill="#53250e" d="M0 0h24v24H0z"/></g><g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-layer="foreground"><path stroke="#fff" d="M7.5 18v-6.5a4.5 4.5 0 0 1 9 0V18"/><path stroke="#f0a972" d="M4 18h16"/></g></svg>`,
|
|
12
|
+
medium: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><defs><linearGradient id="a" x1="0" x2="0" y1="0" y2="64" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#683319"/><stop offset="1" stop-color="#381707"/></linearGradient><linearGradient id="e" x1="12" x2="52" y1="0" y2="0" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffd5b6"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="f" x1="12" x2="52" y1="0" y2="0" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#de9e6d"/><stop offset="1" stop-color="#eab994"/></linearGradient><radialGradient id="b" cx="32" cy="-11.52" r="60.8" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff" stop-opacity=".16"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient><radialGradient id="c" cx="32" cy="34" r="28" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffb072" stop-opacity=".32"/><stop offset="1" stop-color="#ffb072" stop-opacity="0"/></radialGradient><filter id="d" width="180%" height="180%" x="-40%" y="-40%"><feGaussianBlur stdDeviation="1.41"/></filter></defs><g data-layer="background"><path fill="url(#a)" d="M0 0h64v64H0z"/><path fill="url(#b)" d="M0 0h64v64H0z"/><path fill="url(#c)" d="M0 0h64v64H0z"/><g fill="none" stroke="#1c0a03" stroke-linecap="round" stroke-linejoin="round" stroke-width="4.4" filter="url(#d)" opacity=".45" transform="translate(0 1.66)"><path d="M20 47V30a12 12 0 0 1 24 0v17m-34 0h44"/></g></g><g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="4.4" data-layer="foreground"><path stroke="url(#e)" d="M20 47V30a12 12 0 0 1 24 0v17"/><path stroke="url(#f)" d="M10 47h44"/></g></svg>`,
|
|
13
|
+
large: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><defs><linearGradient id="a" x1="0" x2="0" y1="0" y2="64" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#683319"/><stop offset="1" stop-color="#381707"/></linearGradient><linearGradient id="e" x1="12" x2="52" y1="0" y2="0" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffd5b6"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="f" x1="12" x2="52" y1="0" y2="0" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#de9e6d"/><stop offset="1" stop-color="#eab994"/></linearGradient><radialGradient id="b" cx="32" cy="-11.52" r="60.8" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff" stop-opacity=".16"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient><radialGradient id="c" cx="32" cy="34" r="28" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffb072" stop-opacity=".32"/><stop offset="1" stop-color="#ffb072" stop-opacity="0"/></radialGradient><filter id="d" width="180%" height="180%" x="-40%" y="-40%"><feGaussianBlur stdDeviation="1.41"/></filter></defs><g data-layer="background"><g><path fill="url(#a)" d="M0 0h64v64H0z" transform="scale(8)"/><path fill="url(#b)" d="M0 0h64v64H0z" transform="scale(8)"/><path fill="url(#c)" d="M0 0h64v64H0z" transform="scale(8)"/><g fill="none" stroke="#1c0a03" stroke-linecap="round" stroke-linejoin="round" stroke-width="4.4" filter="url(#d)" opacity=".45" transform="matrix(8 0 0 8 0 13.28)"><path d="M20 47V30a12 12 0 0 1 24 0v17m-34 0h44"/></g></g></g><g data-layer="foreground"><g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="4.4"><path stroke="url(#e)" d="M20 47V30a12 12 0 0 1 24 0v17" transform="scale(8)"/><path stroke="url(#f)" d="M10 47h44" transform="scale(8)"/></g></g></svg>`,
|
|
23
14
|
}),
|
|
24
15
|
entrypoint: 'application',
|
|
25
16
|
dependencies: { kernel: KernelSchema },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrale-domains/ai-gateway",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.15",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/astrale-os/domains.git",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@astrale-os/ox": ">=0.1.4 <1.0.0",
|
|
41
41
|
"@astrale-os/shell": "0.7.0-beta.22",
|
|
42
42
|
"@astrale-os/shell-react": "0.6.0-beta.20",
|
|
43
|
-
"@astrale-os/ui": "1.0.0-beta.
|
|
43
|
+
"@astrale-os/ui": "1.0.0-beta.54",
|
|
44
44
|
"@google/generative-ai": "0.24.1",
|
|
45
45
|
"@tailwindcss/vite": "^4.3.3",
|
|
46
46
|
"@tanstack/react-router": "1.170.18",
|