@acryldev/blends 1.7.9 → 1.7.11
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.d.ts +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/lib/{audit-B2H3sUfg.d.ts → audit-D0McL8hN.d.ts} +1 -1
- package/lib/cordis/door.d.ts +4 -4
- package/lib/cordis/door.js +52 -3
- package/lib/door/host.d.ts +2 -2
- package/lib/door/host.js +1 -1
- package/lib/door/page.d.ts +5 -1
- package/lib/door/page.js +28 -5
- package/lib/door/protocol.d.ts +2 -2
- package/lib/door/protocol.js +2 -2
- package/lib/{protocol-8HjYa5OX.js → protocol-BKXK53WF.js} +39 -3
- package/lib/{protocol-DdQgl224.d.ts → protocol-CbLZdkJ5.d.ts} +31 -2
- package/lib/{snapshot-text-Cyl69OKv.js → snapshot-text-BYY2gA98.js} +2 -2
- package/package.json +1 -1
- package/plugins/builder/plugin.json +1 -1
- package/plugins/desktop-shell/host-supervisor.ts +8 -0
- package/plugins/desktop-shell/main.ts +16 -1
- package/plugins/desktop-shell/package.json +1 -1
- package/plugins/door/package.json +1 -1
- package/plugins/door/src/cli/acryl.ts +12 -1
- package/plugins/door/src/host/door.ts +6 -0
- package/plugins/door/src/host/verbs.ts +15 -2
- package/plugins/door/src/page/driver/driver.ts +23 -2
- package/plugins/door/src/page/index.ts +11 -0
- package/plugins/door/src/page/protocol.ts +37 -2
- package/plugins/door/src/page/snapshot-text.ts +2 -1
- package/plugins/plugin-share/package.json +1 -1
- package/plugins/plugin-share/plugin.json +2 -2
- package/plugins/save/cli.ts +2 -0
- package/plugins/save/package.json +1 -1
- package/plugins/save/plugin.json +1 -1
- package/plugins/save/share-cli.ts +8 -1
- package/shared/AGENTS.core.md +9 -0
- package/shared/library-history-versions.json +3 -1
- package/shared/library-history.json +9 -3
- package/shared/skills/acryl-app/SKILL.md +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export declare const HELP: string;
|
|
|
35
35
|
*/
|
|
36
36
|
export declare function runCli(argv: readonly string[], io?: Io): Promise<number>;
|
|
37
37
|
/**
|
|
38
|
-
* Whether the app is in the frame already, by its packages: it depends on the desktop shell package and its `cordis.patch.yml` mounts the Blends frame. A starter
|
|
38
|
+
* Whether the app is in the frame already, by its packages: it depends on the desktop shell package and its `cordis.patch.yml` mounts the Blends frame or the workbench. A starter
|
|
39
39
|
* built that way (ACRYL ADE and Control Center, made from the monorepo) needs neither `add desktop-shell` nor the framing `upgrade`: both would refuse it (the
|
|
40
40
|
* shell is declared, and its library plugin copies are newer than the lock) and nothing is missing. `create` asks here.
|
|
41
41
|
*/
|
package/dist/index.js
CHANGED
|
@@ -87,7 +87,7 @@ var packages = {
|
|
|
87
87
|
"path": "../plugins/system-prompt"
|
|
88
88
|
},
|
|
89
89
|
"@acryldev/app-context": {
|
|
90
|
-
"version": "0.2.
|
|
90
|
+
"version": "0.2.1",
|
|
91
91
|
"path": "../plugins/app-context"
|
|
92
92
|
},
|
|
93
93
|
"@acryldev/versions": {
|
|
@@ -95,7 +95,7 @@ var packages = {
|
|
|
95
95
|
"path": "../plugins/versions"
|
|
96
96
|
},
|
|
97
97
|
"@acryldev/blends-frame": {
|
|
98
|
-
"version": "0.2.
|
|
98
|
+
"version": "0.2.9",
|
|
99
99
|
"path": "../plugins/blends-frame"
|
|
100
100
|
}
|
|
101
101
|
};
|
|
@@ -1337,14 +1337,15 @@ function frameProfileForApp(root) {
|
|
|
1337
1337
|
return findDesktopShell(root) !== void 0 || dependsOn(root, "@acryldev/desktop-shell") ? publishedFrameProfile() : void 0;
|
|
1338
1338
|
}
|
|
1339
1339
|
/**
|
|
1340
|
-
* Whether the app is in the frame already, by its packages: it depends on the desktop shell package and its `cordis.patch.yml` mounts the Blends frame. A starter
|
|
1340
|
+
* Whether the app is in the frame already, by its packages: it depends on the desktop shell package and its `cordis.patch.yml` mounts the Blends frame or the workbench. A starter
|
|
1341
1341
|
* built that way (ACRYL ADE and Control Center, made from the monorepo) needs neither `add desktop-shell` nor the framing `upgrade`: both would refuse it (the
|
|
1342
1342
|
* shell is declared, and its library plugin copies are newer than the lock) and nothing is missing. `create` asks here.
|
|
1343
1343
|
*/
|
|
1344
1344
|
function isFramedByPackages(appDir) {
|
|
1345
1345
|
if (!dependsOn(appDir, "@acryldev/desktop-shell")) return false;
|
|
1346
1346
|
try {
|
|
1347
|
-
|
|
1347
|
+
const patch = readFileSync(join(appDir, "cordis.patch.yml"), "utf8");
|
|
1348
|
+
return patch.includes("@acryldev/blends-frame") || patch.includes("@acryldev/workspace");
|
|
1348
1349
|
} catch {
|
|
1349
1350
|
return false;
|
|
1350
1351
|
}
|