@dxos/plugin-native 0.8.4-main.67995b8 → 0.8.4-main.72ec0f3

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 (34) hide show
  1. package/dist/lib/browser/chunk-SP3MEGKI.mjs +15 -0
  2. package/dist/lib/browser/chunk-SP3MEGKI.mjs.map +7 -0
  3. package/dist/lib/browser/index.mjs +17 -6
  4. package/dist/lib/browser/index.mjs.map +3 -3
  5. package/dist/lib/browser/meta.json +1 -1
  6. package/dist/lib/browser/ollama-CQE7ZIWL.mjs +76 -0
  7. package/dist/lib/browser/ollama-CQE7ZIWL.mjs.map +7 -0
  8. package/dist/lib/browser/{updater-KSM3TUHI.mjs → updater-SDBPTCXA.mjs} +26 -21
  9. package/dist/lib/browser/updater-SDBPTCXA.mjs.map +7 -0
  10. package/dist/lib/browser/window-6G542FZL.mjs +34 -0
  11. package/dist/lib/browser/window-6G542FZL.mjs.map +7 -0
  12. package/dist/types/src/NativePlugin.d.ts +1 -1
  13. package/dist/types/src/NativePlugin.d.ts.map +1 -1
  14. package/dist/types/src/capabilities/index.d.ts +3 -1
  15. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  16. package/dist/types/src/capabilities/ollama.d.ts +4 -0
  17. package/dist/types/src/capabilities/ollama.d.ts.map +1 -0
  18. package/dist/types/src/capabilities/updater.d.ts +1 -1
  19. package/dist/types/src/capabilities/updater.d.ts.map +1 -1
  20. package/dist/types/src/capabilities/window.d.ts +4 -0
  21. package/dist/types/src/capabilities/window.d.ts.map +1 -0
  22. package/dist/types/src/meta.d.ts +0 -1
  23. package/dist/types/src/meta.d.ts.map +1 -1
  24. package/dist/types/tsconfig.tsbuildinfo +1 -1
  25. package/package.json +18 -13
  26. package/src/NativePlugin.tsx +25 -15
  27. package/src/capabilities/index.ts +2 -0
  28. package/src/capabilities/ollama.ts +82 -0
  29. package/src/capabilities/updater.ts +18 -12
  30. package/src/capabilities/window.ts +49 -0
  31. package/src/meta.ts +6 -3
  32. package/dist/lib/browser/chunk-E2JDGVJI.mjs +0 -12
  33. package/dist/lib/browser/chunk-E2JDGVJI.mjs.map +0 -7
  34. package/dist/lib/browser/updater-KSM3TUHI.mjs.map +0 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-native",
3
- "version": "0.8.4-main.67995b8",
3
+ "version": "0.8.4-main.72ec0f3",
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",
@@ -10,9 +10,9 @@
10
10
  "type": "module",
11
11
  "exports": {
12
12
  ".": {
13
+ "source": "./src/index.ts",
13
14
  "types": "./dist/types/src/index.d.ts",
14
- "browser": "./dist/lib/browser/index.mjs",
15
- "source": "./src/index.ts"
15
+ "browser": "./dist/lib/browser/index.mjs"
16
16
  }
17
17
  },
18
18
  "types": "dist/types/src/index.d.ts",
@@ -24,23 +24,28 @@
24
24
  "src"
25
25
  ],
26
26
  "dependencies": {
27
- "@tauri-apps/plugin-os": "^2.3.0",
27
+ "@effect/platform": "^0.92.1",
28
+ "@tauri-apps/api": "^2.8.0",
29
+ "@tauri-apps/plugin-os": "^2.3.1",
28
30
  "@tauri-apps/plugin-process": "^2.3.0",
31
+ "@tauri-apps/plugin-shell": "^2.3.1",
29
32
  "@tauri-apps/plugin-updater": "^2.9.0",
30
- "effect": "3.17.0",
31
- "@dxos/app-framework": "0.8.4-main.67995b8",
32
- "@dxos/log": "0.8.4-main.67995b8",
33
- "@dxos/plugin-help": "0.8.4-main.67995b8",
34
- "@dxos/plugin-navtree": "0.8.4-main.67995b8",
35
- "@dxos/util": "0.8.4-main.67995b8"
33
+ "effect": "3.18.3",
34
+ "@dxos/ai": "0.8.4-main.72ec0f3",
35
+ "@dxos/log": "0.8.4-main.72ec0f3",
36
+ "@dxos/app-framework": "0.8.4-main.72ec0f3",
37
+ "@dxos/plugin-assistant": "0.8.4-main.72ec0f3",
38
+ "@dxos/plugin-help": "0.8.4-main.72ec0f3",
39
+ "@dxos/util": "0.8.4-main.72ec0f3",
40
+ "@dxos/plugin-navtree": "0.8.4-main.72ec0f3"
36
41
  },
37
42
  "devDependencies": {
38
- "vite": "5.4.7",
39
- "@dxos/react-ui": "0.8.4-main.67995b8"
43
+ "vite": "7.1.9",
44
+ "@dxos/react-ui": "0.8.4-main.72ec0f3"
40
45
  },
41
46
  "peerDependencies": {
42
47
  "effect": "^3.13.3",
43
- "@dxos/react-ui": "0.8.4-main.67995b8"
48
+ "@dxos/react-ui": "0.8.4-main.72ec0f3"
44
49
  },
45
50
  "publishConfig": {
46
51
  "access": "public"
@@ -2,22 +2,32 @@
2
2
  // Copyright 2023 DXOS.org
3
3
  //
4
4
 
5
- import { definePlugin, Events, defineModule, contributes, Capabilities } from '@dxos/app-framework';
5
+ import { Capabilities, Events, contributes, defineModule, definePlugin } from '@dxos/app-framework';
6
+ import { AssistantEvents } from '@dxos/plugin-assistant';
6
7
 
7
- import { Updater } from './capabilities';
8
+ import { Ollama, Updater, Window } from './capabilities';
8
9
  import { meta } from './meta';
9
10
  import { translations } from './translations';
10
11
 
11
- export const NativePlugin = () =>
12
- definePlugin(meta, [
13
- defineModule({
14
- id: `${meta.id}/module/translations`,
15
- activatesOn: Events.SetupTranslations,
16
- activate: () => contributes(Capabilities.Translations, translations),
17
- }),
18
- defineModule({
19
- id: `${meta.id}/module/updater`,
20
- activatesOn: Events.DispatcherReady,
21
- activate: Updater,
22
- }),
23
- ]);
12
+ export const NativePlugin = definePlugin(meta, () => [
13
+ defineModule({
14
+ id: `${meta.id}/module/translations`,
15
+ activatesOn: Events.SetupTranslations,
16
+ activate: () => contributes(Capabilities.Translations, translations),
17
+ }),
18
+ defineModule({
19
+ id: `${meta.id}/module/updater`,
20
+ activatesOn: Events.DispatcherReady,
21
+ activate: Updater,
22
+ }),
23
+ defineModule({
24
+ id: `${meta.id}/module/window`,
25
+ activatesOn: Events.DispatcherReady,
26
+ activate: Window,
27
+ }),
28
+ defineModule({
29
+ id: `${meta.id}/module/ollama`,
30
+ activatesOn: AssistantEvents.SetupAiServiceProviders,
31
+ activate: Ollama,
32
+ }),
33
+ ]);
@@ -4,4 +4,6 @@
4
4
 
5
5
  import { lazy } from '@dxos/app-framework';
6
6
 
7
+ export const Ollama = lazy(() => import('./ollama'));
7
8
  export const Updater = lazy(() => import('./updater'));
9
+ export const Window = lazy(() => import('./window'));
@@ -0,0 +1,82 @@
1
+ //
2
+ // Copyright 2025 DXOS.org
3
+ //
4
+
5
+ import * as FetchHttpClient from '@effect/platform/FetchHttpClient';
6
+ import * as HttpClient from '@effect/platform/HttpClient';
7
+ import { Command } from '@tauri-apps/plugin-shell';
8
+ import * as Context from 'effect/Context';
9
+ import * as Effect from 'effect/Effect';
10
+ import * as Layer from 'effect/Layer';
11
+ import * as ManagedRuntime from 'effect/ManagedRuntime';
12
+
13
+ import * as AiServiceRouter from '@dxos/ai/AiServiceRouter';
14
+ import { Capabilities, type Capability, type PluginContext, contributes } from '@dxos/app-framework';
15
+ import { log } from '@dxos/log';
16
+
17
+ // Running ollama on non-standard port.
18
+ const OLLAMA_HOST = 'http://localhost:21434';
19
+
20
+ export default (_context: PluginContext): Capability<any> => {
21
+ const runtime = ManagedRuntime.make(OllamaSidecar.layerLive);
22
+
23
+ // Layer for the sidecar but the lifecycle is managed by the runtime.
24
+ const sidecarLayer = Layer.effectContext(
25
+ runtime.runtimeEffect.pipe(Effect.map((rt) => rt.context.pipe(Context.pick(OllamaSidecar)))),
26
+ );
27
+
28
+ return contributes(
29
+ Capabilities.AiModelResolver,
30
+ OllamaSidecarModelResolver.pipe(Layer.provide(sidecarLayer)),
31
+ async () => {
32
+ await runtime.dispose();
33
+ },
34
+ );
35
+ };
36
+
37
+ class OllamaSidecar extends Context.Tag('@dxos/plugin-native/OllamaSidecar')<
38
+ OllamaSidecar,
39
+ {
40
+ endpoint: string;
41
+ }
42
+ >() {
43
+ static layerLive = Layer.scoped(
44
+ OllamaSidecar,
45
+ Effect.gen(function* () {
46
+ const command = Command.sidecar('sidecar/ollama', ['serve'], {
47
+ env: {
48
+ OLLAMA_HOST,
49
+ OLLAMA_ORIGINS: '*', // CORS
50
+ },
51
+ });
52
+
53
+ // NOTE: Keeping those as console.log for consistent formatting.
54
+ command.stdout.on('data', (data) => console.log('[ollama]', data.toString()));
55
+ command.stderr.on('data', (data) => console.error('[ollama]', data.toString()));
56
+ command.on('close', (code) => log.info('Ollama process exited', { code }));
57
+ command.on('error', (error) => log.error('Ollama error', { error }));
58
+ const child = yield* Effect.promise(() => command.spawn());
59
+ yield* Effect.addFinalizer(
60
+ Effect.fn(function* () {
61
+ yield* Effect.promise(() => child.kill());
62
+ }),
63
+ );
64
+ log.info('Running ollama', { pid: child.pid });
65
+
66
+ return {
67
+ endpoint: OLLAMA_HOST,
68
+ };
69
+ }),
70
+ );
71
+ }
72
+
73
+ const OllamaSidecarModelResolver: Layer.Layer<AiServiceRouter.AiModelResolver, never, OllamaSidecar> =
74
+ Layer.unwrapEffect(
75
+ Effect.gen(function* () {
76
+ const { endpoint } = yield* OllamaSidecar;
77
+ return AiServiceRouter.OllamaResolver({
78
+ host: endpoint,
79
+ transformClient: HttpClient.withTracerPropagation(false),
80
+ });
81
+ }),
82
+ ).pipe(Layer.provide(FetchHttpClient.layer));
@@ -4,19 +4,25 @@
4
4
 
5
5
  import { type } from '@tauri-apps/plugin-os';
6
6
  import { relaunch } from '@tauri-apps/plugin-process';
7
- import { check, type DownloadEvent } from '@tauri-apps/plugin-updater';
8
- import { Duration, Effect, Fiber, Match, pipe, Schedule } from 'effect';
7
+ import { type DownloadEvent, check } from '@tauri-apps/plugin-updater';
8
+ import * as Duration from 'effect/Duration';
9
+ import * as Effect from 'effect/Effect';
10
+ import * as Fiber from 'effect/Fiber';
11
+ import * as Function from 'effect/Function';
12
+ import * as Match from 'effect/Match';
13
+ import * as Schedule from 'effect/Schedule';
9
14
 
10
- import { Capabilities, contributes, createIntent, LayoutAction, type PluginContext } from '@dxos/app-framework';
15
+ import { Capabilities, LayoutAction, type PluginContext, contributes, createIntent } from '@dxos/app-framework';
11
16
  import { log } from '@dxos/log';
12
17
 
13
- import { NATIVE_PLUGIN } from '../meta';
18
+ import { meta } from '../meta';
14
19
 
15
20
  const SUPPORTS_OTA = ['linux', 'macos', 'windows'];
16
21
 
17
22
  export default (context: PluginContext) => {
23
+ // Skip updates if not supported or in dev mode.
18
24
  const platform = type();
19
- if (!SUPPORTS_OTA.includes(platform)) {
25
+ if (!SUPPORTS_OTA.includes(platform) || window.location.hostname === 'localhost') {
20
26
  return contributes(Capabilities.Null, null);
21
27
  }
22
28
 
@@ -39,7 +45,7 @@ export default (context: PluginContext) => {
39
45
  }),
40
46
  Match.when({ event: 'Progress' }, (event) => {
41
47
  downloaded += event.data.chunkLength;
42
- log.info('download progress', { downloaded, contentLength });
48
+ log.verbose('download progress', { downloaded, contentLength });
43
49
  }),
44
50
  Match.when({ event: 'Finished' }, () => {
45
51
  log.info('download completed');
@@ -53,12 +59,12 @@ export default (context: PluginContext) => {
53
59
  createIntent(LayoutAction.AddToast, {
54
60
  part: 'toast',
55
61
  subject: {
56
- id: `${NATIVE_PLUGIN}/update-ready`,
57
- title: ['update ready label', { ns: NATIVE_PLUGIN }],
58
- description: ['update ready description', { ns: NATIVE_PLUGIN }],
62
+ id: `${meta.id}/update-ready`,
63
+ title: ['update ready label', { ns: meta.id }],
64
+ description: ['update ready description', { ns: meta.id }],
59
65
  duration: Infinity,
60
- actionLabel: ['update label', { ns: NATIVE_PLUGIN }],
61
- actionAlt: ['update alt', { ns: NATIVE_PLUGIN }],
66
+ actionLabel: ['update label', { ns: meta.id }],
67
+ actionAlt: ['update alt', { ns: meta.id }],
62
68
  onAction: () => relaunch(),
63
69
  },
64
70
  }),
@@ -66,7 +72,7 @@ export default (context: PluginContext) => {
66
72
  }
67
73
  });
68
74
 
69
- const fiber = pipe(
75
+ const fiber = Function.pipe(
70
76
  // prettier-ignore
71
77
  action,
72
78
  Effect.repeat(Schedule.fixed(Duration.hours(1))),
@@ -0,0 +1,49 @@
1
+ //
2
+ // Copyright 2025 DXOS.org
3
+ //
4
+
5
+ import { LogicalPosition, LogicalSize, getCurrentWindow } from '@tauri-apps/api/window';
6
+
7
+ import { Capabilities, type PluginContext, contributes } from '@dxos/app-framework';
8
+
9
+ export default (_context: PluginContext) => {
10
+ return contributes(Capabilities.Null, null, () => {
11
+ const appWindow = getCurrentWindow();
12
+
13
+ // Save window state to localStorage.
14
+ async function saveWindowState() {
15
+ const size = await appWindow.innerSize();
16
+ const position = await appWindow.innerPosition();
17
+ localStorage.setItem(
18
+ 'windowState',
19
+ JSON.stringify({
20
+ width: size.width,
21
+ height: size.height,
22
+ x: position.x,
23
+ y: position.y,
24
+ }),
25
+ );
26
+ }
27
+
28
+ // Restore window state from localStorage.
29
+ async function restoreWindowState() {
30
+ const savedState = localStorage.getItem('windowState');
31
+ if (savedState) {
32
+ const state = JSON.parse(savedState);
33
+
34
+ await appWindow.setSize(new LogicalSize(state.width, state.height));
35
+ await appWindow.setPosition(new LogicalPosition(state.x, state.y));
36
+ }
37
+ }
38
+
39
+ // Listen for window events and save state.
40
+ void appWindow.listen('tauri://resize', saveWindowState);
41
+ void appWindow.listen('tauri://move', saveWindowState);
42
+
43
+ // Restore state when app loads.
44
+ document.addEventListener('DOMContentLoaded', restoreWindowState);
45
+
46
+ // Save state before closing.
47
+ window.addEventListener('beforeunload', saveWindowState);
48
+ });
49
+ };
package/src/meta.ts CHANGED
@@ -3,10 +3,13 @@
3
3
  //
4
4
 
5
5
  import { type PluginMeta } from '@dxos/app-framework';
6
-
7
- export const NATIVE_PLUGIN = 'dxos.org/plugin/native';
6
+ import { trim } from '@dxos/util';
8
7
 
9
8
  export const meta: PluginMeta = {
10
- id: NATIVE_PLUGIN,
9
+ id: 'dxos.org/plugin/native',
11
10
  name: 'Native',
11
+ description: trim`
12
+ Native platform integration providing desktop-specific features and system-level capabilities.
13
+ Access native file dialogs, notifications, and OS integrations.
14
+ `,
12
15
  };
@@ -1,12 +0,0 @@
1
- // src/meta.ts
2
- var NATIVE_PLUGIN = "dxos.org/plugin/native";
3
- var meta = {
4
- id: NATIVE_PLUGIN,
5
- name: "Native"
6
- };
7
-
8
- export {
9
- NATIVE_PLUGIN,
10
- meta
11
- };
12
- //# sourceMappingURL=chunk-E2JDGVJI.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 { type PluginMeta } from '@dxos/app-framework';\n\nexport const NATIVE_PLUGIN = 'dxos.org/plugin/native';\n\nexport const meta: PluginMeta = {\n id: NATIVE_PLUGIN,\n name: 'Native',\n};\n"],
5
- "mappings": ";AAMO,IAAMA,gBAAgB;AAEtB,IAAMC,OAAmB;EAC9BC,IAAIF;EACJG,MAAM;AACR;",
6
- "names": ["NATIVE_PLUGIN", "meta", "id", "name"]
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/capabilities/updater.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { type } from '@tauri-apps/plugin-os';\nimport { relaunch } from '@tauri-apps/plugin-process';\nimport { check, type DownloadEvent } from '@tauri-apps/plugin-updater';\nimport { Duration, Effect, Fiber, Match, pipe, Schedule } from 'effect';\n\nimport { Capabilities, contributes, createIntent, LayoutAction, type PluginContext } from '@dxos/app-framework';\nimport { log } from '@dxos/log';\n\nimport { NATIVE_PLUGIN } from '../meta';\n\nconst SUPPORTS_OTA = ['linux', 'macos', 'windows'];\n\nexport default (context: PluginContext) => {\n const platform = type();\n if (!SUPPORTS_OTA.includes(platform)) {\n return contributes(Capabilities.Null, null);\n }\n\n const { dispatch } = context.getCapability(Capabilities.IntentDispatcher);\n\n // https://tauri.app/plugin/updater/#checking-for-updates\n const action = Effect.gen(function* () {\n log.info('checking for updates');\n const update = yield* Effect.tryPromise(() => check());\n log.info('checked for updates', { version: update?.version, currentVersion: update?.currentVersion });\n if (update) {\n log.info('update available', update);\n let downloaded = 0;\n let contentLength = 0;\n\n const handleDownload = Match.type<DownloadEvent>().pipe(\n Match.when({ event: 'Started' }, (event) => {\n contentLength = event.data.contentLength ?? 0;\n log.info('download started', { contentLength });\n }),\n Match.when({ event: 'Progress' }, (event) => {\n downloaded += event.data.chunkLength;\n log.info('download progress', { downloaded, contentLength });\n }),\n Match.when({ event: 'Finished' }, () => {\n log.info('download completed');\n }),\n Match.exhaustive,\n );\n\n yield* Effect.tryPromise(() => update.downloadAndInstall(handleDownload));\n\n yield* dispatch(\n createIntent(LayoutAction.AddToast, {\n part: 'toast',\n subject: {\n id: `${NATIVE_PLUGIN}/update-ready`,\n title: ['update ready label', { ns: NATIVE_PLUGIN }],\n description: ['update ready description', { ns: NATIVE_PLUGIN }],\n duration: Infinity,\n actionLabel: ['update label', { ns: NATIVE_PLUGIN }],\n actionAlt: ['update alt', { ns: NATIVE_PLUGIN }],\n onAction: () => relaunch(),\n },\n }),\n );\n }\n });\n\n const fiber = pipe(\n // prettier-ignore\n action,\n Effect.repeat(Schedule.fixed(Duration.hours(1))),\n Effect.runFork,\n );\n\n return contributes(Capabilities.Null, null, () => {\n Effect.runSync(Fiber.interrupt(fiber));\n });\n};\n"],
5
- "mappings": ";;;;;AAIA,SAASA,YAAY;AACrB,SAASC,gBAAgB;AACzB,SAASC,aAAiC;AAC1C,SAASC,UAAUC,QAAQC,OAAOC,OAAOC,MAAMC,gBAAgB;AAE/D,SAASC,cAAcC,aAAaC,cAAcC,oBAAwC;AAC1F,SAASC,WAAW;;AAIpB,IAAMC,eAAe;EAAC;EAAS;EAAS;;AAExC,IAAA,kBAAe,CAACC,YAAAA;AACd,QAAMC,WAAWC,KAAAA;AACjB,MAAI,CAACH,aAAaI,SAASF,QAAAA,GAAW;AACpC,WAAOG,YAAYC,aAAaC,MAAM,IAAA;EACxC;AAEA,QAAM,EAAEC,SAAQ,IAAKP,QAAQQ,cAAcH,aAAaI,gBAAgB;AAGxE,QAAMC,SAASC,OAAOC,IAAI,aAAA;AACxBC,QAAIC,KAAK,wBAAA,QAAA;;;;;;AACT,UAAMC,SAAS,OAAOJ,OAAOK,WAAW,MAAMC,MAAAA,CAAAA;AAC9CJ,QAAIC,KAAK,uBAAuB;MAAEI,SAASH,QAAQG;MAASC,gBAAgBJ,QAAQI;IAAe,GAAA;;;;;;AACnG,QAAIJ,QAAQ;AACVF,UAAIC,KAAK,oBAAoBC,QAAAA;;;;;;AAC7B,UAAIK,aAAa;AACjB,UAAIC,gBAAgB;AAEpB,YAAMC,iBAAiBC,MAAMrB,KAAI,EAAkBsB,KACjDD,MAAME,KAAK;QAAEC,OAAO;MAAU,GAAG,CAACA,UAAAA;AAChCL,wBAAgBK,MAAMC,KAAKN,iBAAiB;AAC5CR,YAAIC,KAAK,oBAAoB;UAAEO;QAAc,GAAA;;;;;;MAC/C,CAAA,GACAE,MAAME,KAAK;QAAEC,OAAO;MAAW,GAAG,CAACA,UAAAA;AACjCN,sBAAcM,MAAMC,KAAKC;AACzBf,YAAIC,KAAK,qBAAqB;UAAEM;UAAYC;QAAc,GAAA;;;;;;MAC5D,CAAA,GACAE,MAAME,KAAK;QAAEC,OAAO;MAAW,GAAG,MAAA;AAChCb,YAAIC,KAAK,sBAAA,QAAA;;;;;;MACX,CAAA,GACAS,MAAMM,UAAU;AAGlB,aAAOlB,OAAOK,WAAW,MAAMD,OAAOe,mBAAmBR,cAAAA,CAAAA;AAEzD,aAAOf,SACLwB,aAAaC,aAAaC,UAAU;QAClCC,MAAM;QACNC,SAAS;UACPC,IAAI,GAAGC,aAAAA;UACPC,OAAO;YAAC;YAAsB;cAAEC,IAAIF;YAAc;;UAClDG,aAAa;YAAC;YAA4B;cAAED,IAAIF;YAAc;;UAC9DI,UAAUC;UACVC,aAAa;YAAC;YAAgB;cAAEJ,IAAIF;YAAc;;UAClDO,WAAW;YAAC;YAAc;cAAEL,IAAIF;YAAc;;UAC9CQ,UAAU,MAAMC,SAAAA;QAClB;MACF,CAAA,CAAA;IAEJ;EACF,CAAA;AAEA,QAAMC,QAAQvB;;IAEZd;IACAC,OAAOqC,OAAOC,SAASC,MAAMC,SAASC,MAAM,CAAA,CAAA,CAAA;IAC5CzC,OAAO0C;EAAO;AAGhB,SAAOjD,YAAYC,aAAaC,MAAM,MAAM,MAAA;AAC1CK,WAAO2C,QAAQC,MAAMC,UAAUT,KAAAA,CAAAA;EACjC,CAAA;AACF;",
6
- "names": ["type", "relaunch", "check", "Duration", "Effect", "Fiber", "Match", "pipe", "Schedule", "Capabilities", "contributes", "createIntent", "LayoutAction", "log", "SUPPORTS_OTA", "context", "platform", "type", "includes", "contributes", "Capabilities", "Null", "dispatch", "getCapability", "IntentDispatcher", "action", "Effect", "gen", "log", "info", "update", "tryPromise", "check", "version", "currentVersion", "downloaded", "contentLength", "handleDownload", "Match", "pipe", "when", "event", "data", "chunkLength", "exhaustive", "downloadAndInstall", "createIntent", "LayoutAction", "AddToast", "part", "subject", "id", "NATIVE_PLUGIN", "title", "ns", "description", "duration", "Infinity", "actionLabel", "actionAlt", "onAction", "relaunch", "fiber", "repeat", "Schedule", "fixed", "Duration", "hours", "runFork", "runSync", "Fiber", "interrupt"]
7
- }