@acryldev/blends 1.7.14 → 1.7.15
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/pack/pack-blank-mac.mjs +1 -1
- package/package.json +1 -1
- package/plugins/builder/package.json +1 -1
- package/plugins/builder/plugin.json +1 -1
- package/plugins/extensions/package.json +1 -1
- package/plugins/extensions/plugin.json +1 -1
- package/plugins/manifest/index.ts +8 -0
- package/plugins/manifest/package.json +1 -1
- package/plugins/manifest/plugin.json +1 -1
- package/plugins/plugin-share/package.json +1 -1
- package/plugins/plugin-share/plugin.json +1 -1
package/pack/pack-blank-mac.mjs
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* node scripts/pack-blank-mac.mjs [--out <dir>] [--arch arm64|x64]
|
|
7
7
|
* node scripts/pack-blank-mac.mjs --from acrylblends.small-crm [--product "Small CRM"] a registry blueprint as its own product
|
|
8
|
-
* node scripts/pack-blank-mac.mjs --from ../
|
|
8
|
+
* node scripts/pack-blank-mac.mjs --from ../my-blend --product "My Blend" --tag-prefix my-blend-v a product of a repository that releases several
|
|
9
9
|
* npx @acryldev/blends pack --from . --product "ACRYL ADE" the same from a Blend's own repository, with the published packages
|
|
10
10
|
*
|
|
11
11
|
* The DMG carries the app itself: the frame and the Blank app it builds in, with Electron's own Node, so it needs no Node, npm or git. The bundle is
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"provides": [],
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@deepseek-ai/cordis": "4.0.4",
|
|
9
|
-
"@acryldev/blends-core": "0.6.
|
|
9
|
+
"@acryldev/blends-core": "0.6.1",
|
|
10
10
|
"@acryldev/plugin-hub-core": "0.2.3"
|
|
11
11
|
},
|
|
12
12
|
"mount": "mount it after agent and extensions: root.plugin(builder, { dir: join(root, 'plugins') }); dir must be an extensions source",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acryldev/extensions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Install, update, remove and reload plugins while the app runs; a failed update brings the previous version back; a ledger of every change.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"provides": ["extensions"],
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@deepseek-ai/cordis": "4.0.4",
|
|
9
|
-
"@acryldev/blends-core": "0.6.
|
|
9
|
+
"@acryldev/blends-core": "0.6.1"
|
|
10
10
|
},
|
|
11
11
|
"mount": "mount it after instance: root.plugin(extensions, { sources: [{ dir: join(root, 'plugins'), trust: 'install' }] })",
|
|
12
12
|
"entries": {
|
|
@@ -68,6 +68,11 @@ export interface Metadata {
|
|
|
68
68
|
readonly license?: string
|
|
69
69
|
/** Anything but an explicit `public` is private: `save` never pushes a private app to a public remote. */
|
|
70
70
|
readonly visibility?: 'private' | 'public'
|
|
71
|
+
/**
|
|
72
|
+
* Where the app came from, written by @acryldev/create-blends: a registry Blend at a version (`acrylblends.notes#0.3.1`) or a GitHub
|
|
73
|
+
* repository at a tag (`github:ana/notes#v0.2.0`). `acrylblends update` brings that source's newer releases in.
|
|
74
|
+
*/
|
|
75
|
+
readonly from?: string
|
|
71
76
|
}
|
|
72
77
|
|
|
73
78
|
/** Which Blueprint, at which version, a Blend was made from. */
|
|
@@ -142,6 +147,7 @@ const METADATA_FIELDS = new Set([
|
|
|
142
147
|
'description',
|
|
143
148
|
'license',
|
|
144
149
|
'visibility',
|
|
150
|
+
'from',
|
|
145
151
|
])
|
|
146
152
|
const SPEC_FIELDS = new Set(['runtime', 'extends', 'lineage', 'parameters', 'rows', 'overrides'])
|
|
147
153
|
const ROW_FIELDS = new Set(['id', 'name', 'config', 'disabled'])
|
|
@@ -208,6 +214,8 @@ export function validate(document: unknown, known?: Iterable<string>): Diagnosti
|
|
|
208
214
|
metadata.visibility !== 'public'
|
|
209
215
|
)
|
|
210
216
|
add('schema-error', 'metadata.visibility', "must be 'private' or 'public'")
|
|
217
|
+
if (metadata.from !== undefined && (typeof metadata.from !== 'string' || metadata.from.trim() === ''))
|
|
218
|
+
add('schema-error', 'metadata.from', "must name a source such as 'acrylblends.notes#0.3.1' or 'github:ana/notes#v0.2.0'")
|
|
211
219
|
}
|
|
212
220
|
|
|
213
221
|
const spec = document.spec
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@deepseek-ai/cordis": "4.0.4",
|
|
9
9
|
"yaml": "2.9.0",
|
|
10
|
-
"@acryldev/blends-core": "0.6.
|
|
10
|
+
"@acryldev/blends-core": "0.6.1"
|
|
11
11
|
},
|
|
12
12
|
"mount": "in src/app.ts: const manifest = loadManifest(join(chosen.root, 'blend.yaml')); await compose(root, manifest, registry)",
|
|
13
13
|
"entries": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acryldev/plugin-share",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Share plugins between people. Pull one someone released into the running app: fetched without running anything, checked by digest and for every OS, then installed live. Publish one, only as a plan a person confirmed.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|