@acryldev/blends 1.7.10 → 1.7.12
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 +13 -1
- package/dist/index.js +24 -5
- 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/pack/lib/create-source.mjs +12 -0
- package/pack/pack-blank-mac.mjs +693 -0
- package/package.json +3 -2
- 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 +1 -1
- package/plugins/save/cli.ts +2 -0
- package/plugins/save/package.json +1 -1
- package/plugins/save/plugin.json +2 -4
- package/plugins/save/share-cli.ts +8 -1
- package/plugins/save/share.ts +123 -36
- 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
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"door-shell.ts": ["9b879028326971973bd3", "3e535eff746a41525dbb", "399d6ff1b66596d66c69"],
|
|
115
115
|
"frame.ts": ["191f21e3dc14e1a6d2d8", "0b856f73720a4b6bb2bf", "ee2a89ff711b9c6fe268"],
|
|
116
116
|
"git.ts": ["94d70b10792693ce54db"],
|
|
117
|
-
"host-supervisor.ts": ["e69994399fa32dbb1cfc"],
|
|
117
|
+
"host-supervisor.ts": ["e69994399fa32dbb1cfc", "3bd694189bff93e8d0c3"],
|
|
118
118
|
"launch.ts": [
|
|
119
119
|
"d7468b2289b0d6b99706",
|
|
120
120
|
"b6650e0d33533bff9614",
|
|
@@ -137,7 +137,8 @@
|
|
|
137
137
|
"bd42ccc572a08e50040b",
|
|
138
138
|
"c8aa493e2753e8e04ac9",
|
|
139
139
|
"a4363ad4e36cf36ab36e",
|
|
140
|
-
"a966b97329fe5124d65f"
|
|
140
|
+
"a966b97329fe5124d65f",
|
|
141
|
+
"6650cffd23fc17b3292f"
|
|
141
142
|
],
|
|
142
143
|
"menu.ts": ["9b88cda709178fffc66d"],
|
|
143
144
|
"preload.cjs": ["c7de936c2213786f2b00"],
|
|
@@ -917,7 +918,12 @@
|
|
|
917
918
|
"index.ts": ["48f96cde6c73e781e3e6", "87f0933285eb83af7ad0"],
|
|
918
919
|
"LICENSE": ["0f98259ccb0f4cafebe9"],
|
|
919
920
|
"README.md": ["3ca5c183f7ea0bdf6b95"],
|
|
920
|
-
"share-cli.ts": [
|
|
921
|
+
"share-cli.ts": [
|
|
922
|
+
"2201fe37cbbc5d167e17",
|
|
923
|
+
"97cdb3ceaf2c73327454",
|
|
924
|
+
"5027a88554b2a654c563",
|
|
925
|
+
"a988fa0fe4949092eeda"
|
|
926
|
+
],
|
|
921
927
|
"share.ts": ["458a795e3298eb69eb82", "353ea9b5e115787c595f", "71410a74dbcc3161b433"]
|
|
922
928
|
},
|
|
923
929
|
"showcase": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: acryl-app
|
|
3
|
-
description: How the __APP_NAME__ app is put together - its blend.yaml rows, its plugins/ folder and src/ - and how to change it, run it and check it through the door. Use before adding a feature, a route, a plugin or a dependency to this app, and before saying the work is done.
|
|
3
|
+
description: How the __APP_NAME__ app is put together - its blend.yaml rows, its plugins/ folder and src/ - and how to change it, run it and check it through the door. Use before adding a feature, a route, a plugin or a dependency to this app, and before saying the work is done. Also use when asked to click, open, close, collapse, show or type something on screen: that is done with the door, not by editing code.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Working in __APP_NAME__
|
|
@@ -9,5 +9,6 @@ description: How the __APP_NAME__ app is put together - its blend.yaml rows, its
|
|
|
9
9
|
2. **The app is data plus code.** `blend.yaml` is the blueprint: which plugins (rows) the app mounts, in what order, with what config. `src/app.ts` is the runtime: a row's `name` is a library plugin its `registry` imports or a folder `plugins/<name>/` of the app's own, and `compose` starts them in row order. `src/routes.ts` is the app's own `Acryl` app (its page and API). A plugin the app owns is a folder `plugins/<name>/`.
|
|
10
10
|
3. **Make the change small.** A route is a handler on the app's `Acryl` app mounted with `ctx.router.route('/', app)`; test it with `await app.request('/path')`. Write the app's own paths: the frame that hosts the app adds its canvas prefix to every plugin route (`/board` answers `/board` under `npm start` and `/app/board` in the canvas), so never put the prefix in a route. Every feature is a Cordis plugin: a `plugins/<name>/` folder plus its row in `blend.yaml` (see the acryl-build-plugin skill); `src/app.ts` and `src/routes.ts` are never touched for a feature. `npx acrylblends add <name>` copies a library plugin there.
|
|
11
11
|
4. **Defaults are swappable.** The database, the key-value store, the server and the window are plugins behind ports; the table "Defaults you can swap" in `AGENTS.md` names each default and where it is swapped. Never reach around a port to a driver: `npx acrylblends check-deps` fails the check.
|
|
12
|
-
5. **
|
|
13
|
-
6. **
|
|
12
|
+
5. **Asked to use the interface? Operate it, don't edit it.** "Collapse the left panel", "open Settings", "click Save", "scroll to the chart" are done with `.acryl/bin/acryl look`, then `act` (inside the app's page) or `frame` (the ACRYL frame around the app: `frame close left|right`, `frame open left|right`, `frame settings [section]`, `frame build|preview`). The frame's panels are not in the app's code, so editing the app cannot and must not change them. Change code only when the person asks to change the app.
|
|
13
|
+
6. **Look at the running app.** In development the app writes `.acryl/bin/acryl`: `acryl brief` says what this folder runs, `acryl look` shows the open page as text with refs, and `acryl act click|type|select|press|scroll|wait|navigate|reload` acts on it. Look again before each act, because the refs change. This is the app's control surface: use it instead of guessing what the page shows.
|
|
14
|
+
7. **Done means checked.** `npm test` passes, and the change shows in the running app. No secret goes in a file or in `git status`: keys come from environment variables.
|