@openagt/dashboard 0.20.0 → 0.21.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/README.md +6 -2
- package/dist/bin.js +0 -0
- package/dist/built-in.d.ts +7 -6
- package/dist/built-in.d.ts.map +1 -1
- package/dist/built-in.js +28 -9
- package/dist/built-in.js.map +1 -1
- package/dist/daemon.d.ts +2 -0
- package/dist/daemon.d.ts.map +1 -1
- package/dist/daemon.js +3 -0
- package/dist/daemon.js.map +1 -1
- package/dist/dashboard-bundle/assets/{main-NY2yoID8.css → main-C4Wudnox.css} +1 -1
- package/dist/dashboard-bundle/assets/{main-BJq8FqaM.js → main-CSvx3dGb.js} +2 -2
- package/dist/dashboard-bundle/index.html +2 -2
- package/dist/module-types/src/built-in.d.ts +7 -6
- package/dist/module-types/src/version.d.ts +1 -0
- package/dist/serve.d.ts +2 -0
- package/dist/serve.d.ts.map +1 -0
- package/dist/serve.js +5 -0
- package/dist/serve.js.map +1 -0
- package/dist/version.d.ts +1 -0
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +9 -21
- package/dist/version.js.map +1 -1
- package/package.json +14 -14
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"@openagt/dashboard/module": "/host/module.js"
|
|
28
28
|
}
|
|
29
29
|
}</script>
|
|
30
|
-
<script type="module" crossorigin src="/assets/main-
|
|
30
|
+
<script type="module" crossorigin src="/assets/main-CSvx3dGb.js"></script>
|
|
31
31
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-QTnfLwEv.js">
|
|
32
32
|
<link rel="modulepreload" crossorigin href="/assets/react-CZI7_Jkm.js">
|
|
33
33
|
<link rel="modulepreload" crossorigin href="/assets/react-dom-cJyBB_A4.js">
|
|
34
34
|
<link rel="modulepreload" crossorigin href="/assets/client-CbBRB9m4.js">
|
|
35
35
|
<link rel="modulepreload" crossorigin href="/assets/jsx-runtime-By8HlURe.js">
|
|
36
36
|
<link rel="modulepreload" crossorigin href="/assets/module-BidWGbHQ.js">
|
|
37
|
-
<link rel="stylesheet" crossorigin href="/assets/main-
|
|
37
|
+
<link rel="stylesheet" crossorigin href="/assets/main-C4Wudnox.css">
|
|
38
38
|
</head>
|
|
39
39
|
<body>
|
|
40
40
|
<div id="root"></div>
|
|
@@ -18,12 +18,13 @@ export declare const BUILT_IN_PACKAGES: readonly string[];
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const COMPUTER_PACKAGES: readonly string[];
|
|
20
20
|
/**
|
|
21
|
-
* The packages a project has once it picked them (#2023). A skill's package is
|
|
22
|
-
* when the
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
21
|
+
* The packages a project has once it picked them (#2023). A skill's package is every project's
|
|
22
|
+
* when the skill is one every run gets by default (the package that started OpenAgent names those,
|
|
23
|
+
* {@link SKILLS_ENV}); else the project's when the project holds the skill's text where the coding
|
|
24
|
+
* agents read it (`.claude/skills/<name>/SKILL.md`, `.agents/skills/<name>/SKILL.md`): the rule
|
|
25
|
+
* the launcher already lists a project's commands by, so deleting the skill's folder takes its
|
|
26
|
+
* page away. A tool with no skill text (the scheduler) is the project's when one of the project's
|
|
27
|
+
* hook lines runs it.
|
|
27
28
|
*/
|
|
28
29
|
export declare const PICKED_PACKAGES: readonly string[];
|
|
29
30
|
/** Every name OpenAgent brings itself. */
|
package/dist/serve.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serve.d.ts","sourceRoot":"","sources":["../src/serve.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,KAAK,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAA"}
|
package/dist/serve.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// `@openagt/dashboard/serve`: the dashboard's server, as `@openagt/start` runs it. The dashboard has
|
|
2
|
+
// no command of its own: the one people run is start's, which hands it the skills every run gets
|
|
3
|
+
// (in the environment, see `SKILLS_ENV`) and OpenAgent's version.
|
|
4
|
+
export { DEFAULT_DAEMON_PORT, runDaemon } from './daemon.js';
|
|
5
|
+
//# sourceMappingURL=serve.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serve.js","sourceRoot":"","sources":["../src/serve.ts"],"names":[],"mappings":"AAAA,qGAAqG;AACrG,iGAAiG;AACjG,kEAAkE;AAClE,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAA2C,MAAM,aAAa,CAAA"}
|
package/dist/version.d.ts
CHANGED
package/dist/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAQA,wBAAgB,gBAAgB,IAAI,MAAM,CAEzC;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAEtD"}
|
package/dist/version.js
CHANGED
|
@@ -1,26 +1,14 @@
|
|
|
1
|
-
import { readFileSync } from 'node:fs';
|
|
2
|
-
import { dirname, join } from 'node:path';
|
|
3
|
-
import { fileURLToPath } from 'node:url';
|
|
4
1
|
/**
|
|
5
|
-
* OpenAgent's
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
2
|
+
* OpenAgent's version, as the package that started the dashboard says it (`@openagt/start`, the
|
|
3
|
+
* one people install, through `runDaemon`'s `version`): what this computer tells the machines
|
|
4
|
+
* it gets into and a phone. `unknown` until said: the packages are unreleased and legitimately
|
|
5
|
+
* versioned `0.0.0`, so a numeric stand-in would read as a real version (#312).
|
|
9
6
|
*/
|
|
10
|
-
let
|
|
7
|
+
let version = 'unknown';
|
|
11
8
|
export function openagentVersion() {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
const pkg = JSON.parse(readFileSync(pkgPath, 'utf8'));
|
|
17
|
-
// `unknown`, not `0.0.0`: the packages are unreleased and legitimately versioned `0.0.0`, so a
|
|
18
|
-
// numeric fallback would make a failed read indistinguishable from a correct one (#312).
|
|
19
|
-
cachedVersion = pkg.version ?? 'unknown';
|
|
20
|
-
}
|
|
21
|
-
catch {
|
|
22
|
-
cachedVersion = 'unknown';
|
|
23
|
-
}
|
|
24
|
-
return cachedVersion;
|
|
9
|
+
return version;
|
|
10
|
+
}
|
|
11
|
+
export function setOpenagentVersion(said) {
|
|
12
|
+
version = said;
|
|
25
13
|
}
|
|
26
14
|
//# sourceMappingURL=version.js.map
|
package/dist/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,IAAI,OAAO,GAAG,SAAS,CAAA;AAEvB,MAAM,UAAU,gBAAgB;IAC9B,OAAO,OAAO,CAAA;AAChB,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,IAAY;IAC9C,OAAO,GAAG,IAAI,CAAA;AAChB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openagt/dashboard",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"description": "OpenAgent: a local dashboard and daemon for coding agents. It starts an agent through the project's own start hook and shows every agent from the files it keeps; it runs no coding agent itself.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -29,10 +29,11 @@
|
|
|
29
29
|
"files": [
|
|
30
30
|
"dist"
|
|
31
31
|
],
|
|
32
|
-
"bin": {
|
|
33
|
-
"openagent": "dist/bin.js"
|
|
34
|
-
},
|
|
35
32
|
"exports": {
|
|
33
|
+
"./serve": {
|
|
34
|
+
"types": "./dist/serve.d.ts",
|
|
35
|
+
"default": "./dist/serve.js"
|
|
36
|
+
},
|
|
36
37
|
"./module": {
|
|
37
38
|
"types": "./dist/module-types/dashboard/module/index.d.ts"
|
|
38
39
|
},
|
|
@@ -63,23 +64,23 @@
|
|
|
63
64
|
"uqr": "0.1.3",
|
|
64
65
|
"yaml": "^2.5.0",
|
|
65
66
|
"@openagt/agent-driver-claude": "0.0.6",
|
|
66
|
-
"@openagt/agent-data": "0.0.
|
|
67
|
+
"@openagt/agent-data": "0.0.5",
|
|
67
68
|
"@openagt/agent-driver-codex": "0.0.5",
|
|
68
|
-
"@openagt/
|
|
69
|
+
"@openagt/files": "0.0.7",
|
|
69
70
|
"@openagt/remote-access": "0.0.5",
|
|
70
|
-
"@openagt/
|
|
71
|
-
"@openagt/
|
|
71
|
+
"@openagt/init": "0.1.6",
|
|
72
|
+
"@openagt/servers": "0.0.7",
|
|
73
|
+
"@openagt/skill-github": "0.1.1",
|
|
72
74
|
"@openagt/skill-browser": "0.1.2",
|
|
73
|
-
"@openagt/
|
|
75
|
+
"@openagt/skill-branches": "0.1.1",
|
|
74
76
|
"@openagt/skill-logs": "0.1.3",
|
|
75
|
-
"@openagt/skill-github": "0.1.1",
|
|
76
77
|
"@openagt/skill-orchestration": "0.1.6",
|
|
78
|
+
"@openagt/changes": "0.0.2",
|
|
77
79
|
"@openagt/skill-tickets": "0.1.2",
|
|
80
|
+
"@openagt/agent-runner": "0.0.10",
|
|
78
81
|
"@openagt/skill-queue": "0.1.1",
|
|
79
|
-
"@openagt/skill-branches": "0.1.1",
|
|
80
82
|
"@openagt/agent-scheduler": "0.1.4",
|
|
81
|
-
"@openagt/agent-driver": "0.0.5"
|
|
82
|
-
"@openagt/agent-runner": "0.0.9"
|
|
83
|
+
"@openagt/agent-driver": "0.0.5"
|
|
83
84
|
},
|
|
84
85
|
"devDependencies": {
|
|
85
86
|
"@tailwindcss/vite": "^4.0.0",
|
|
@@ -103,7 +104,6 @@
|
|
|
103
104
|
},
|
|
104
105
|
"scripts": {
|
|
105
106
|
"build": "tsc -p tsconfig.build.json && tsc -p dashboard/tsconfig.module.json && cp dashboard/module/theme.css dist/module.css && cp src/module-server.d.ts dist/module-server.d.ts && node scripts/copy-extension.mjs && cd dashboard && vite build",
|
|
106
|
-
"preview": "node dist/bin.js",
|
|
107
107
|
"dev": "tsc -p tsconfig.build.json --watch",
|
|
108
108
|
"dev:dashboard": "cd dashboard && vite",
|
|
109
109
|
"dev:daemon": "cd dashboard && OPENAGENT_DEV_DAEMON=1 vite",
|