@acryldev/blends-frame 0.2.5 → 0.2.7

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.
@@ -154,6 +154,24 @@ export declare const FRAME_APP_ICON_PATH = "/api/acryl-blends-frame/app/icon";
154
154
  export interface AppShareRequest {
155
155
  readonly owner?: string;
156
156
  readonly visibility?: 'private' | 'public';
157
+ /** List it in the Blends store; a part not given is the app's own (its earlier place, else its starter's category; MIT). */
158
+ readonly list?: {
159
+ readonly category?: string;
160
+ readonly subcategory?: string;
161
+ readonly license?: string;
162
+ };
163
+ }
164
+ /** The Blends store's categories (published by acrylblends.github.io; @acryldev/app-persistence CATEGORIES_URL names the same list). */
165
+ export declare const STORE_CATEGORIES_URL = "https://acrylblends.github.io/categories.json";
166
+ /** How the Blends store will list the app (the save plugin's StoreListing): its id, place (category slugs), licence and the tag people start from. */
167
+ export interface AppStoreListingView {
168
+ readonly id: string;
169
+ readonly placement: {
170
+ readonly category: string;
171
+ readonly subcategory?: string;
172
+ };
173
+ readonly license: string;
174
+ readonly tag: string;
157
175
  }
158
176
  /** What sharing the app sends: the save plugin's plan, shown before anything leaves the computer. */
159
177
  export interface AppSharePlanView {
@@ -163,11 +181,17 @@ export interface AppSharePlanView {
163
181
  readonly visibility: 'private' | 'public';
164
182
  /** Files changed since the last save; the share saves them first. */
165
183
  readonly changes: number;
184
+ readonly listing?: AppStoreListingView;
166
185
  }
167
186
  /** Where the app went. */
168
187
  export interface AppSharedView {
169
188
  readonly remote: string;
170
189
  readonly created: boolean;
190
+ /** The tag the store lists, and whether this share made it (an existing tag is kept). */
191
+ readonly listed?: {
192
+ readonly tag: string;
193
+ readonly created: boolean;
194
+ };
171
195
  }
172
196
  export declare function parseAppSharePlan(value: unknown): AppSharePlanView;
173
197
  export declare function parseAppShared(value: unknown): AppSharedView;
@@ -223,6 +247,11 @@ export interface SharePlan {
223
247
  readonly license?: string;
224
248
  /** The public registry (cordisplugins.github.io) lists it: the share sets the `cordis-plugin` topic. Only a public share can be listed. */
225
249
  readonly registry?: boolean;
250
+ /** Where the registry lists it (category slugs of acrylblends.github.io/blends): the app's own store place, written as package.json keywords. */
251
+ readonly placement?: {
252
+ readonly category: string;
253
+ readonly subcategory?: string;
254
+ };
226
255
  }
227
256
  /** @throws when the value is not a share plan. */
228
257
  export declare function parseSharePlan(value: unknown): SharePlan;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acryldev/blends-frame",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
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": {
@@ -55,7 +55,7 @@
55
55
  "@acryldev/app-shell": "0.2.1",
56
56
  "@acryldev/blends-core": "^0.6.0",
57
57
  "@acryldev/loopback-http": "0.2.0",
58
- "@acryldev/plugin-hub-core": "^0.2.2",
58
+ "@acryldev/plugin-hub-core": "^0.2.3",
59
59
  "@acryldev/versions": "0.2.0",
60
60
  "@acryldev/workspace": "0.2.2",
61
61
  "yaml": "2.9.0"
@@ -70,7 +70,7 @@
70
70
  "react-dom": "18.3.1"
71
71
  },
72
72
  "devDependencies": {
73
- "@acryldev/blends": "1.7.7",
73
+ "@acryldev/blends": "1.7.9",
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",