acrylblends 1.0.7 → 1.0.9
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/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/lib/{audit-BD8_2pkh.d.ts → audit-Dw-siYTp.d.ts} +7 -1
- package/lib/cordis/door.d.ts +4 -1
- package/lib/cordis/door.js +76 -5
- package/lib/door/host.d.ts +1 -1
- package/lib/door/host.js +1 -1
- package/lib/door/page.d.ts +16 -0
- package/lib/door/page.js +81 -4
- package/lib/{snapshot-text-m13Pk-AI.js → snapshot-text-CBi3EMnj.js} +19 -7
- package/package.json +1 -1
- package/plugins/acryl-door/plugin.json +3 -0
- package/plugins/acryl-door/src/host/channel.ts +20 -3
- package/plugins/acryl-door/src/host/door.ts +1 -1
- package/plugins/acryl-door/src/host/page-socket.ts +78 -0
- package/plugins/acryl-door/src/index.ts +12 -1
- package/plugins/acryl-door/src/page/channel.ts +47 -5
- package/plugins/acryl-door/src/page/index.ts +9 -1
- package/plugins/acryl-door/src/page/socket-source.ts +75 -0
- package/plugins/acryl-door/src/shell/protocol.ts +3 -0
- package/plugins/agent-panel/client/main.ts +154 -32
- package/plugins/agent-panel/headless.ts +20 -0
- package/plugins/agent-panel/index.ts +193 -50
- package/plugins/desktop/door-shell.ts +6 -0
- package/plugins/desktop/main.ts +58 -3
- package/plugins/desktop/menu.ts +60 -0
- package/plugins/desktop/window.ts +62 -2
- package/templates/agent/AGENTS.md +3 -1
- package/templates/agent/src/routes.ts +11 -1
- package/templates/agent/test/app.test.ts +20 -0
package/dist/index.js
CHANGED
|
@@ -1332,13 +1332,18 @@ function piHasKey(probes) {
|
|
|
1332
1332
|
* The coding agents the agent panel would offer: on the PATH, and pi only with a DeepSeek key. On Windows the panel also reads an npm shim to find
|
|
1333
1333
|
* its script (plugins/agent-panel/launch.ts); that is plugin code an app carries, not something the command imports, so the PATH is checked here.
|
|
1334
1334
|
*/
|
|
1335
|
+
const HINT = {
|
|
1336
|
+
claude: "be logged in: run claude once",
|
|
1337
|
+
codex: "be logged in: codex login",
|
|
1338
|
+
pi: "DeepSeek key found"
|
|
1339
|
+
};
|
|
1335
1340
|
function checkAgent(probes) {
|
|
1336
1341
|
const installed = AGENTS.filter((agent) => probes.onPath(agent));
|
|
1337
1342
|
const usable = installed.filter((agent) => agent !== "pi" || piHasKey(probes));
|
|
1338
1343
|
if (usable.length > 0) return {
|
|
1339
1344
|
name: "agent",
|
|
1340
1345
|
status: "PASS",
|
|
1341
|
-
detail: `${
|
|
1346
|
+
detail: usable.map((agent) => `${agent} (${HINT[agent]})`).join(", ")
|
|
1342
1347
|
};
|
|
1343
1348
|
if (installed.includes("pi")) return {
|
|
1344
1349
|
name: "agent",
|