@dxos/plugin-native 0.9.0 → 0.9.1-main.c7dcc2e112

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.
Files changed (45) hide show
  1. package/dist/lib/neutral/NativePlugin.mjs +2 -2
  2. package/dist/lib/neutral/NativePlugin.mjs.map +4 -4
  3. package/dist/lib/neutral/{NativeSettings-CLYG5TJH.mjs → NativeSettings-EYX4X3D3.mjs} +2 -2
  4. package/dist/lib/neutral/NativeSettings-EYX4X3D3.mjs.map +7 -0
  5. package/dist/lib/neutral/capabilities/index.mjs +3 -3
  6. package/dist/lib/neutral/chunk-WU6IZ56J.mjs +43 -0
  7. package/dist/lib/neutral/chunk-WU6IZ56J.mjs.map +7 -0
  8. package/dist/lib/neutral/components/index.mjs +1 -1
  9. package/dist/lib/neutral/index.mjs +1 -1
  10. package/dist/lib/neutral/meta.json +1 -1
  11. package/dist/lib/neutral/meta.mjs +1 -1
  12. package/dist/lib/neutral/plugin.mjs +1 -1
  13. package/dist/lib/neutral/{react-surface-ETNGHN4X.mjs → react-surface-BVH3ZPG5.mjs} +2 -2
  14. package/dist/lib/neutral/{react-surface-ETNGHN4X.mjs.map → react-surface-BVH3ZPG5.mjs.map} +3 -3
  15. package/dist/lib/neutral/{settings-HF6TQNU4.mjs → settings-S5MFUI42.mjs} +3 -3
  16. package/dist/lib/neutral/{settings-HF6TQNU4.mjs.map → settings-S5MFUI42.mjs.map} +3 -3
  17. package/dist/lib/neutral/translations.mjs +1 -1
  18. package/dist/lib/neutral/translations.mjs.map +3 -3
  19. package/dist/lib/neutral/types/index.mjs +2 -2
  20. package/dist/lib/neutral/types/index.mjs.map +3 -3
  21. package/dist/lib/neutral/{updater-JEBXWSSK.mjs → updater-5ETKR4S3.mjs} +6 -6
  22. package/dist/lib/neutral/{updater-JEBXWSSK.mjs.map → updater-5ETKR4S3.mjs.map} +2 -2
  23. package/dist/types/dx.config.d.ts +28 -0
  24. package/dist/types/dx.config.d.ts.map +1 -0
  25. package/dist/types/src/capabilities/index.d.ts +5 -5
  26. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  27. package/dist/types/src/capabilities/react-surface.d.ts +2 -2
  28. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  29. package/dist/types/src/meta.d.ts +28 -2
  30. package/dist/types/src/meta.d.ts.map +1 -1
  31. package/dist/types/src/types/NativeCapabilities.d.ts.map +1 -1
  32. package/dist/types/tsconfig.tsbuildinfo +1 -1
  33. package/dx.config.ts +32 -0
  34. package/package.json +15 -14
  35. package/src/NativePlugin.tsx +1 -1
  36. package/src/capabilities/react-surface.tsx +1 -1
  37. package/src/capabilities/settings.ts +2 -2
  38. package/src/capabilities/updater.ts +5 -5
  39. package/src/components/NativeSettings/NativeSettings.tsx +1 -1
  40. package/src/meta.ts +3 -25
  41. package/src/translations.ts +1 -1
  42. package/src/types/NativeCapabilities.ts +6 -2
  43. package/dist/lib/neutral/NativeSettings-CLYG5TJH.mjs.map +0 -7
  44. package/dist/lib/neutral/chunk-75E24KAJ.mjs +0 -34
  45. package/dist/lib/neutral/chunk-75E24KAJ.mjs.map +0 -7
package/dx.config.ts ADDED
@@ -0,0 +1,32 @@
1
+ //
2
+ // Copyright 2025 DXOS.org
3
+ //
4
+
5
+ import { Config2 } from '@dxos/app-framework/config';
6
+ import { trim } from '@dxos/util';
7
+
8
+ export default Config2.make({
9
+ plugin: {
10
+ key: 'org.dxos.plugin.native',
11
+ name: 'App',
12
+ author: 'DXOS',
13
+ description: trim`
14
+ Tauri-based native platform integration for DXOS Composer on macOS, Linux, and Windows.
15
+
16
+ Provides Spotlight window integration that forwards spotlight:invoke Tauri events to
17
+ Composer operations, letting the OS-level launcher open spaces and switch workspaces
18
+ without the main window being focused first.
19
+
20
+ Manages over-the-air application updates via the Tauri updater plugin, automatically
21
+ checking for new releases in the background, streaming download progress, and surfacing
22
+ a toast notification with a one-click Relaunch action when an update is ready.
23
+
24
+ Spawns an Ollama sidecar process on localhost for local AI model inference, registering
25
+ it as an AiModelResolver so Assistant features can resolve model requests without any
26
+ external server dependency.
27
+ `,
28
+ spec: 'PLUGIN.mdl',
29
+ icon: { key: 'ph--app-window--regular' },
30
+ tags: ['system'],
31
+ },
32
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-native",
3
- "version": "0.9.0",
3
+ "version": "0.9.1-main.c7dcc2e112",
4
4
  "description": "Composer plugin that runs when on a native device.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -65,6 +65,7 @@
65
65
  "types": "dist/types/src/index.d.ts",
66
66
  "files": [
67
67
  "dist",
68
+ "dx.config.ts",
68
69
  "src",
69
70
  "PLUGIN.mdl"
70
71
  ],
@@ -77,29 +78,29 @@
77
78
  "@tauri-apps/plugin-shell": "^2.3.5",
78
79
  "@tauri-apps/plugin-updater": "^2.10.1",
79
80
  "date-fns": "^3.6.0",
80
- "@dxos/app-framework": "0.9.0",
81
- "@dxos/effect": "0.9.0",
82
- "@dxos/keys": "0.9.0",
83
- "@dxos/ai": "0.9.0",
84
- "@dxos/app-toolkit": "0.9.0",
85
- "@dxos/log": "0.9.0",
86
- "@dxos/plugin-assistant": "0.9.0",
87
- "@dxos/util": "0.9.0"
81
+ "@dxos/app-framework": "0.9.1-main.c7dcc2e112",
82
+ "@dxos/ai": "0.9.1-main.c7dcc2e112",
83
+ "@dxos/app-toolkit": "0.9.1-main.c7dcc2e112",
84
+ "@dxos/effect": "0.9.1-main.c7dcc2e112",
85
+ "@dxos/keys": "0.9.1-main.c7dcc2e112",
86
+ "@dxos/log": "0.9.1-main.c7dcc2e112",
87
+ "@dxos/plugin-assistant": "0.9.1-main.c7dcc2e112",
88
+ "@dxos/util": "0.9.1-main.c7dcc2e112"
88
89
  },
89
90
  "devDependencies": {
90
91
  "@types/react": "~19.2.7",
91
92
  "effect": "3.21.3",
92
93
  "react": "~19.2.3",
93
94
  "vite": "^8.0.16",
94
- "@dxos/react-ui-form": "0.9.0",
95
- "@dxos/plugin-testing": "0.9.0",
96
- "@dxos/react-ui": "0.9.0"
95
+ "@dxos/plugin-testing": "0.9.1-main.c7dcc2e112",
96
+ "@dxos/react-ui-form": "0.9.1-main.c7dcc2e112",
97
+ "@dxos/react-ui": "0.9.1-main.c7dcc2e112"
97
98
  },
98
99
  "peerDependencies": {
99
100
  "effect": "3.21.3",
100
101
  "react": "~19.2.3",
101
- "@dxos/react-ui": "0.9.0",
102
- "@dxos/react-ui-form": "0.9.0"
102
+ "@dxos/react-ui": "0.9.1-main.c7dcc2e112",
103
+ "@dxos/react-ui-form": "0.9.1-main.c7dcc2e112"
103
104
  },
104
105
  "publishConfig": {
105
106
  "access": "public"
@@ -33,7 +33,7 @@ export const NativePlugin = Plugin.define(meta).pipe(
33
33
  activate: Ollama,
34
34
  }),
35
35
  AppPlugin.addPluginAssetModule({
36
- asset: { pluginId: meta.id, path: 'PLUGIN.mdl', content: pluginSpec, mimeType: 'application/x-mdl' },
36
+ asset: { pluginId: meta.profile.key, path: 'PLUGIN.mdl', content: pluginSpec, mimeType: 'application/x-mdl' },
37
37
  }),
38
38
  Plugin.make,
39
39
  );
@@ -18,7 +18,7 @@ export default Capability.makeModule(() =>
18
18
  Capability.contributes(Capabilities.ReactSurface, [
19
19
  Surface.create({
20
20
  id: 'pluginSettings',
21
- filter: AppSurface.settings(AppSurface.Article, meta.id),
21
+ filter: AppSurface.settings(AppSurface.Article, meta.profile.key),
22
22
  component: ({ data: { subject } }) => {
23
23
  const { settings, updateSettings } = useSettingsState<Settings.Settings>(subject.atom);
24
24
  return <NativeSettings settings={settings} onSettingsChange={updateSettings} />;
@@ -14,7 +14,7 @@ import { NativeCapabilities, Settings } from '#types';
14
14
  export default Capability.makeModule(() =>
15
15
  Effect.sync(() => {
16
16
  const settingsAtom = createKvsStore({
17
- key: meta.id,
17
+ key: meta.profile.key,
18
18
  schema: Settings.Settings,
19
19
  defaultValue: () => ({}),
20
20
  });
@@ -22,7 +22,7 @@ export default Capability.makeModule(() =>
22
22
  return [
23
23
  Capability.contributes(NativeCapabilities.Settings, settingsAtom),
24
24
  Capability.contributes(AppCapabilities.Settings, {
25
- prefix: meta.id,
25
+ prefix: meta.profile.key,
26
26
  schema: Settings.Settings,
27
27
  atom: settingsAtom,
28
28
  }),
@@ -167,12 +167,12 @@ export default Capability.makeModule(
167
167
  return true;
168
168
  }
169
169
  yield* invoke(LayoutOperation.AddToast, {
170
- id: `${meta.id}.update-ready`,
171
- title: ['update-ready.label', { ns: meta.id }],
172
- description: ['update-ready.description', { ns: meta.id }],
170
+ id: `${meta.profile.key}.update-ready`,
171
+ title: ['update-ready.label', { ns: meta.profile.key }],
172
+ description: ['update-ready.description', { ns: meta.profile.key }],
173
173
  duration: Infinity,
174
- actionLabel: ['update.label', { ns: meta.id }],
175
- actionAlt: ['update.alt', { ns: meta.id }],
174
+ actionLabel: ['update.label', { ns: meta.profile.key }],
175
+ actionAlt: ['update.alt', { ns: meta.profile.key }],
176
176
  onAction: () => relaunch(),
177
177
  });
178
178
  return false;
@@ -28,7 +28,7 @@ type UpdateActions = {
28
28
  type UpdateRow = { description: string; button: ReactNode };
29
29
 
30
30
  export const NativeSettings = (_props: NativeSettingsProps) => {
31
- const { t } = useTranslation(meta.id);
31
+ const { t } = useTranslation(meta.profile.key);
32
32
  const manager = useCapability(NativeCapabilities.UpdateManager);
33
33
  const status = useAtomValue(manager.status);
34
34
 
package/src/meta.ts CHANGED
@@ -3,30 +3,8 @@
3
3
  //
4
4
 
5
5
  import { Plugin } from '@dxos/app-framework';
6
- import { DXN } from '@dxos/keys';
7
- import { trim } from '@dxos/util';
8
6
 
9
- // TODO(wittjosiah): Rename plugin (package + id) from `native` to `app` to match the user-facing name.
10
- export const meta = Plugin.makeMeta({
11
- key: DXN.make('org.dxos.plugin.native'),
12
- name: 'App',
13
- author: 'DXOS',
14
- spec: 'PLUGIN.mdl',
15
- description: trim`
16
- Tauri-based native platform integration for DXOS Composer on macOS, Linux, and Windows.
17
-
18
- Provides Spotlight window integration that forwards spotlight:invoke Tauri events to
19
- Composer operations, letting the OS-level launcher open spaces and switch workspaces
20
- without the main window being focused first.
7
+ import config from '../dx.config';
21
8
 
22
- Manages over-the-air application updates via the Tauri updater plugin, automatically
23
- checking for new releases in the background, streaming download progress, and surfacing
24
- a toast notification with a one-click Relaunch action when an update is ready.
25
-
26
- Spawns an Ollama sidecar process on localhost for local AI model inference, registering
27
- it as an AiModelResolver so Assistant features can resolve model requests without any
28
- external server dependency.
29
- `,
30
- icon: 'ph--app-window--regular',
31
- tags: ['system'],
32
- });
9
+ // TODO(wittjosiah): Rename plugin (package + id) from `native` to `app` to match the user-facing name.
10
+ export const meta = Plugin.getMetaFromConfig(config);
@@ -9,7 +9,7 @@ import { meta } from '#meta';
9
9
  export const translations = [
10
10
  {
11
11
  'en-US': {
12
- [meta.id]: {
12
+ [meta.profile.key]: {
13
13
  'update-ready.label': 'Ready to update',
14
14
  'update-ready.description': 'A new version of Composer is available.',
15
15
  'update.label': 'Update',
@@ -12,5 +12,9 @@ import { meta } from '#meta';
12
12
 
13
13
  // Inline imports to avoid `Settings` / `Update` namespace aliases colliding with the
14
14
  // capability constants exported below.
15
- export const Settings = Capability.make<Atom.Writable<import('./Settings').Settings>>(`${meta.id}.capability.settings`);
16
- export const UpdateManager = Capability.make<import('./Update').Manager>(`${meta.id}.capability.update-manager`);
15
+ export const Settings = Capability.make<Atom.Writable<import('./Settings').Settings>>(
16
+ `${meta.profile.key}.capability.settings`,
17
+ );
18
+ export const UpdateManager = Capability.make<import('./Update').Manager>(
19
+ `${meta.profile.key}.capability.update-manager`,
20
+ );
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/components/NativeSettings/NativeSettings.tsx"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { useAtomValue } from '@effect-atom/atom-react';\nimport { formatDistanceToNow } from 'date-fns/formatDistanceToNow';\nimport * as Match from 'effect/Match';\nimport React, { type ReactNode, useState } from 'react';\n\nimport { useCapability } from '@dxos/app-framework/ui';\nimport { type AppSurface } from '@dxos/app-toolkit/ui';\nimport { Button, useTranslation } from '@dxos/react-ui';\nimport { Settings as SettingsForm } from '@dxos/react-ui-form';\n\nimport { meta } from '#meta';\nimport { NativeCapabilities, type Settings, type Update } from '#types';\n\nexport type NativeSettingsProps = AppSurface.SettingsArticleProps<Settings.Settings>;\n\ntype Pending = null | 'check' | 'install' | 'relaunch';\n\ntype UpdateActions = {\n onCheck: () => Promise<void>;\n onInstall: () => Promise<void>;\n onRelaunch: () => Promise<void>;\n};\n\ntype UpdateRow = { description: string; button: ReactNode };\n\nexport const NativeSettings = (_props: NativeSettingsProps) => {\n const { t } = useTranslation(meta.id);\n const manager = useCapability(NativeCapabilities.UpdateManager);\n const status = useAtomValue(manager.status);\n\n // UI-level pending flag. The status atom can flip between `checking` and `up-to-date` faster\n // than the user can perceive, so we also gate the button on the click handler's lifetime to\n // guarantee no duplicate triggers and a visible busy state.\n const [pending, setPending] = useState<Pending>(null);\n\n const runAction = (kind: Exclude<Pending, null>, action: () => Promise<void>) => async () => {\n setPending(kind);\n try {\n await action();\n } finally {\n setPending(null);\n }\n };\n\n const { description, button } = renderUpdateRow(status, pending, t, {\n onCheck: runAction('check', manager.check),\n onInstall: runAction('install', manager.install),\n onRelaunch: runAction('relaunch', manager.relaunch),\n });\n\n return (\n <SettingsForm.Viewport>\n <SettingsForm.Section title={t('settings.title')}>\n <SettingsForm.Item title={t('settings.updates.label')} description={description}>\n {button}\n </SettingsForm.Item>\n </SettingsForm.Section>\n </SettingsForm.Viewport>\n );\n};\n\nconst renderUpdateRow = (\n status: Update.Status,\n pending: Pending,\n t: (key: string, options?: Record<string, unknown>) => string,\n { onCheck, onInstall, onRelaunch }: UpdateActions,\n): UpdateRow => {\n const isChecking = pending === 'check' || status.kind === 'checking';\n const isInstalling = pending === 'install' || status.kind === 'downloading';\n\n const checkButton = (disabled = false) => (\n <Button disabled={disabled || isChecking || isInstalling || pending === 'relaunch'} onClick={() => void onCheck()}>\n {isChecking ? t('settings.updates.checking.label') : t('settings.updates.check.label')}\n </Button>\n );\n\n return Match.value(status).pipe(\n Match.withReturnType<UpdateRow>(),\n Match.when({ kind: 'unsupported' }, () => ({\n description: t('settings.updates.unsupported.message'),\n button: checkButton(true),\n })),\n Match.when({ kind: 'idle' }, () => ({\n description: isChecking ? t('settings.updates.checking.message') : t('settings.updates.idle.message'),\n button: checkButton(),\n })),\n Match.when({ kind: 'checking' }, () => ({\n description: t('settings.updates.checking.message'),\n button: checkButton(),\n })),\n Match.when({ kind: 'up-to-date' }, (s) => ({\n description: isChecking\n ? t('settings.updates.checking.message')\n : t('settings.updates.up-to-date.message', {\n checkedAt: formatDistanceToNow(new Date(s.checkedAt), { addSuffix: true }),\n }),\n button: checkButton(),\n })),\n Match.when({ kind: 'available' }, (s) => ({\n description: t('settings.updates.available.message', { version: s.version }),\n button: (\n <Button variant='primary' disabled={isInstalling} onClick={() => void onInstall()}>\n {isInstalling ? t('settings.updates.downloading.label') : t('settings.updates.update-now.label')}\n </Button>\n ),\n })),\n Match.when({ kind: 'downloading' }, (s) => {\n const percent = s.contentLength > 0 ? Math.round((s.downloaded / s.contentLength) * 100) : 0;\n return {\n description: t('settings.updates.downloading.message', { percent }),\n button: <Button disabled>{t('settings.updates.downloading.label')}</Button>,\n };\n }),\n Match.when({ kind: 'ready' }, () => ({\n description: t('settings.updates.ready.message'),\n button: (\n <Button variant='primary' disabled={pending === 'relaunch'} onClick={() => void onRelaunch()}>\n {t('settings.updates.relaunch.label')}\n </Button>\n ),\n })),\n Match.when({ kind: 'failed' }, (s) => ({\n description: t('settings.updates.failed.message', { error: s.error }),\n button: checkButton(),\n })),\n Match.exhaustive,\n );\n};\n"],
5
- "mappings": ";;;AAIA,SAASA,oBAAoB;AAC7B,SAASC,2BAA2B;AACpC,YAAYC,WAAW;AACvB,OAAOC,SAAyBC,gBAAgB;A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,UAAAA;SAAU1B,EAAE,oCAAA,CAAA;IAC9B;EACF,CAAA,GACM+B,WAAK;IAAEvB,MAAM;EAAQ,GAAG,OAAO;IACnCE,aAAaV,EAAE,gCAAA;IACfW,QACE,sBAAA,cAACnB,QAAAA;MAAO6C,SAAQ;MAAUX,UAAUrB,YAAY;MAAYsB,SAAS,MAAM,KAAKV,WAAAA;OAC7EjB,EAAE,iCAAA,CAAA;EAGT,EAAA,GACM+B,WAAK;IAAEvB,MAAM;EAAS,GAAG,CAACwB,OAAO;IACrCtB,aAAaV,EAAE,mCAAmC;MAAE2C,OAAOX,EAAEW;IAAM,CAAA;IACnEhC,QAAQc,YAAAA;EACV,EAAA,GACMmB,gBAAU;AAEpB;",
6
- "names": ["useAtomValue", "formatDistanceToNow", "Match", "React", "useState", "useCapability", "Button", "useTranslation", "Settings", "SettingsForm", "meta", "NativeCapabilities", "NativeSettings", "_props", "t", "id", "manager", "UpdateManager", "status", "pending", "setPending", "runAction", "kind", "action", "description", "button", "renderUpdateRow", "onCheck", "check", "onInstall", "install", "onRelaunch", "relaunch", "Viewport", "Section", "title", "Item", "isChecking", "isInstalling", "checkButton", "disabled", "onClick", "value", "pipe", "withReturnType", "when", "s", "checkedAt", "Date", "addSuffix", "version", "variant", "percent", "contentLength", "Math", "round", "downloaded", "error", "exhaustive"]
7
- }
@@ -1,34 +0,0 @@
1
- // src/meta.ts
2
- import { Plugin } from "@dxos/app-framework";
3
- import { DXN } from "@dxos/keys";
4
- import { trim } from "@dxos/util";
5
- var meta = Plugin.makeMeta({
6
- key: DXN.make("org.dxos.plugin.native"),
7
- name: "App",
8
- author: "DXOS",
9
- spec: "PLUGIN.mdl",
10
- description: trim`
11
- Tauri-based native platform integration for DXOS Composer on macOS, Linux, and Windows.
12
-
13
- Provides Spotlight window integration that forwards spotlight:invoke Tauri events to
14
- Composer operations, letting the OS-level launcher open spaces and switch workspaces
15
- without the main window being focused first.
16
-
17
- Manages over-the-air application updates via the Tauri updater plugin, automatically
18
- checking for new releases in the background, streaming download progress, and surfacing
19
- a toast notification with a one-click Relaunch action when an update is ready.
20
-
21
- Spawns an Ollama sidecar process on localhost for local AI model inference, registering
22
- it as an AiModelResolver so Assistant features can resolve model requests without any
23
- external server dependency.
24
- `,
25
- icon: "ph--app-window--regular",
26
- tags: [
27
- "system"
28
- ]
29
- });
30
-
31
- export {
32
- meta
33
- };
34
- //# sourceMappingURL=chunk-75E24KAJ.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/meta.ts"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\nimport { DXN } from '@dxos/keys';\nimport { trim } from '@dxos/util';\n\n// TODO(wittjosiah): Rename plugin (package + id) from `native` to `app` to match the user-facing name.\nexport const meta = Plugin.makeMeta({\n key: DXN.make('org.dxos.plugin.native'),\n name: 'App',\n author: 'DXOS',\n spec: 'PLUGIN.mdl',\n description: trim`\n Tauri-based native platform integration for DXOS Composer on macOS, Linux, and Windows.\n\n Provides Spotlight window integration that forwards spotlight:invoke Tauri events to\n Composer operations, letting the OS-level launcher open spaces and switch workspaces\n without the main window being focused first.\n\n Manages over-the-air application updates via the Tauri updater plugin, automatically\n checking for new releases in the background, streaming download progress, and surfacing\n a toast notification with a one-click Relaunch action when an update is ready.\n\n Spawns an Ollama sidecar process on localhost for local AI model inference, registering\n it as an AiModelResolver so Assistant features can resolve model requests without any\n external server dependency.\n `,\n icon: 'ph--app-window--regular',\n tags: ['system'],\n});\n"],
5
- "mappings": ";AAIA,SAASA,cAAc;AACvB,SAASC,WAAW;AACpB,SAASC,YAAY;AAGd,IAAMC,OAAOH,OAAOI,SAAS;EAClCC,KAAKJ,IAAIK,KAAK,wBAAA;EACdC,MAAM;EACNC,QAAQ;EACRC,MAAM;EACNC,aAAaR;;;;;;;;;;;;;;;EAebS,MAAM;EACNC,MAAM;IAAC;;AACT,CAAA;",
6
- "names": ["Plugin", "DXN", "trim", "meta", "makeMeta", "key", "make", "name", "author", "spec", "description", "icon", "tags"]
7
- }