omnitrix 0.5.2 → 0.5.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/README.md +2 -0
- package/dist/dashboard.js +6 -0
- package/dist/icon.js +3 -0
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/dashboard.js
CHANGED
|
@@ -7,6 +7,7 @@ import { Engine } from './engine.js';
|
|
|
7
7
|
import { refreshQuotas } from './quota.js';
|
|
8
8
|
import { ensureHome, homeDir, writeJson } from './store.js';
|
|
9
9
|
import { verifySummary } from './verify.js';
|
|
10
|
+
import { ICON_SVG } from './icon.js';
|
|
10
11
|
import { VERSION } from './version.js';
|
|
11
12
|
/** The newest jobs for the page. A second check is shown on the job it checks, not as a job of its own. */
|
|
12
13
|
export function recentJobs(engine, limit = 30) {
|
|
@@ -149,6 +150,10 @@ export function startDashboard(port) {
|
|
|
149
150
|
json(res, { open });
|
|
150
151
|
return;
|
|
151
152
|
}
|
|
153
|
+
if (req.url === '/favicon.svg') {
|
|
154
|
+
res.writeHead(200, { 'content-type': 'image/svg+xml', 'cache-control': 'max-age=86400', 'x-content-type-options': 'nosniff' }).end(ICON_SVG);
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
152
157
|
if (req.url === '/' || req.url === '/index.html') {
|
|
153
158
|
res.writeHead(200, { 'content-type': 'text/html; charset=utf-8', 'content-security-policy': "default-src 'self'; style-src 'unsafe-inline'; script-src 'unsafe-inline'; frame-ancestors 'none'", 'x-content-type-options': 'nosniff', 'x-frame-options': 'DENY' }).end(PAGE);
|
|
154
159
|
return;
|
|
@@ -210,6 +215,7 @@ const PAGE = /* html */ `<!doctype html>
|
|
|
210
215
|
<meta charset="utf-8">
|
|
211
216
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
212
217
|
<title>omnitrix</title>
|
|
218
|
+
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
|
213
219
|
<style>
|
|
214
220
|
:root{
|
|
215
221
|
--bg:#f6f6f3;--surface:#ffffff;--tile:#efeee9;--line:rgba(20,20,19,.11);--line-strong:rgba(20,20,19,.2);
|
package/dist/icon.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// The omnitrix icon, the same file as .claude-plugin/icon.svg (a test keeps the two identical).
|
|
2
|
+
// The dashboard serves it as its tab icon; the installed package does not contain the plugin folder.
|
|
3
|
+
export const ICON_SVG = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"256\" height=\"256\" viewBox=\"0 0 256 256\" role=\"img\" aria-labelledby=\"t\">\n <title id=\"t\">omnitrix: three AI connections around one core</title>\n <rect width=\"256\" height=\"256\" rx=\"58\" fill=\"#120a0e\"/>\n <g fill=\"none\" stroke-width=\"26\" stroke-linecap=\"round\">\n <path d=\"M68.55 74.47A80 80 0 0 1 187.45 74.47\" stroke=\"#c62841\"/>\n <path d=\"M204.08 103.28A80 80 0 0 1 144.63 206.25\" stroke=\"#f59e0b\"/>\n <path d=\"M111.37 206.25A80 80 0 0 1 51.92 103.28\" stroke=\"#0e9fb8\"/>\n </g>\n <circle cx=\"128\" cy=\"128\" r=\"44\" fill=\"none\" stroke=\"#f3ece2\" stroke-width=\"9\"/>\n <circle cx=\"128\" cy=\"128\" r=\"26\" fill=\"#ffffff\"/>\n</svg>\n";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.5.
|
|
1
|
+
export const VERSION = '0.5.3';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnitrix",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "Delegate tasks from Claude Code to the AI accounts you already pay for. Claude plans the work, and omnitrix routes each task to Codex, Gemini, DeepSeek, Kimi, GLM, a local model or any OpenAI- or Anthropic-compatible API while tracking each account's usage.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|