@acryldev/blends 1.7.28 → 1.7.30
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.js +2 -8
- package/dist/index.js.map +1 -1
- package/docs/framework/guides/share-plugins.md +52 -14
- package/pack/lib/os-version.mjs +20 -7
- package/pack/pack-blank-mac.mjs +6 -4
- package/package.json +1 -1
- package/plugins/agent-panel/package.json +1 -1
- package/plugins/app-settings/package.json +1 -1
- package/plugins/builder/package.json +1 -1
- package/plugins/desktop-shell/package.json +1 -1
- package/plugins/desktop-web/package.json +1 -1
- package/plugins/driver-acp/package.json +1 -1
- package/plugins/driver-pty/package.json +1 -1
- package/plugins/extensions/package.json +1 -1
- package/plugins/feedback/package.json +1 -1
- package/plugins/instance/index.ts +14 -1
- package/plugins/instance/package.json +1 -1
- package/plugins/plugin-share/package.json +1 -1
- package/plugins/showcase/package.json +1 -1
- package/plugins/tasks/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -727,14 +727,8 @@ function hostScriptOf(profile, frameModule) {
|
|
|
727
727
|
"// plugins/<id>. An installed app has neither on disk (the bundle overlay resolves it), so the current name is the default.",
|
|
728
728
|
"const hostPlugin = (id) => (existsSync(join(appRoot, 'plugins', `acryl-${id}`)) ? `acryl-${id}` : id)",
|
|
729
729
|
`const profileName = '${profile}'`,
|
|
730
|
-
"// The page and its tab are named for the app
|
|
731
|
-
"const appTitle =
|
|
732
|
-
" try {",
|
|
733
|
-
" const name = JSON.parse(readFileSync(join(appRoot, 'package.json'), 'utf8')).name",
|
|
734
|
-
" if (typeof name === 'string' && name.trim() !== '') return name.trim()",
|
|
735
|
-
" } catch {}",
|
|
736
|
-
" return chosen.name",
|
|
737
|
-
"})()",
|
|
730
|
+
"// The page and its tab are named for the app as the instance names it: its Blend's name (blend.yaml), else its package's, else the folder's.",
|
|
731
|
+
"const appTitle = chosen.name",
|
|
738
732
|
"// DSH's rows keep their files in this app's own home: set before any driver row is imported.",
|
|
739
733
|
"process.env.DSH_HOME = home",
|
|
740
734
|
"// Development only: the app's code can be loaded again in this host (a version gone back to, a file written by the chat, an agent or an editor). Every file",
|