@acryldev/blends-frame 0.2.3 → 0.2.5

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.
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Settings > App > Icon: the app's own icon. The picked image (PNG, JPEG, SVG, WebP...) is drawn on a 512 px square in the page and sent as a PNG to
3
+ * the frame's host, which keeps it as assets/icon.png: the browser tab shows it at once, and so do the desktop window and the Dock (the desktop
4
+ * shell watches the file).
5
+ */
6
+ export declare function AppIconRow(): import("react").JSX.Element;
7
+ /** Settings > App in an app without the product's desktop bridge (every app people make): its icon. */
8
+ export declare function AppIconSection(): import("react").JSX.Element;
@@ -148,6 +148,8 @@ export declare const FRAME_PLUGINS_SWITCH_PATH = "/api/acryl-blends-frame/plugin
148
148
  export declare const FRAME_APP_SHARE_PLAN_PATH = "/api/acryl-blends-frame/app/share-plan";
149
149
  /** POST `{ owner?, visibility?, confirm }`: share the app exactly as the confirmed plan says, or nothing. */
150
150
  export declare const FRAME_APP_SHARE_PATH = "/api/acryl-blends-frame/app/share";
151
+ /** POST `{ png: base64 }`: the app's own icon (assets/icon.png), drawn by the page at 512 px. */
152
+ export declare const FRAME_APP_ICON_PATH = "/api/acryl-blends-frame/app/icon";
151
153
  /** Who may see a shared app, and under which account; both optional (the signed-in account, blend.yaml's visibility). */
152
154
  export interface AppShareRequest {
153
155
  readonly owner?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acryldev/blends-frame",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "ACRYL Blends frame: the workbench around an app being built - a top bar, the branches and versions on the left, the app alone in the centre, and the agents on the right - as one Cordis plugin with a Host and a client half",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -57,7 +57,7 @@
57
57
  "@acryldev/loopback-http": "0.2.0",
58
58
  "@acryldev/plugin-hub-core": "^0.2.2",
59
59
  "@acryldev/versions": "0.2.0",
60
- "@acryldev/workspace": "0.2.1",
60
+ "@acryldev/workspace": "0.2.2",
61
61
  "yaml": "2.9.0"
62
62
  },
63
63
  "peerDependencies": {
@@ -70,7 +70,7 @@
70
70
  "react-dom": "18.3.1"
71
71
  },
72
72
  "devDependencies": {
73
- "@acryldev/blends": "1.7.4",
73
+ "@acryldev/blends": "1.7.7",
74
74
  "@acryldev/ui": "0.4.0",
75
75
  "@deepseek-ai/cordis": "4.0.4",
76
76
  "@deepseek-ai/cordis-plugin-loader": "1.0.5",