@dxos/plugin-native 0.8.4-main.dedc0f3 → 0.8.4-main.ead640a

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-native",
3
- "version": "0.8.4-main.dedc0f3",
3
+ "version": "0.8.4-main.ead640a",
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",
@@ -24,28 +24,28 @@
24
24
  "src"
25
25
  ],
26
26
  "dependencies": {
27
- "@effect/platform": "^0.90.2",
28
- "@tauri-apps/api": "^2.3.0",
29
- "@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",
30
30
  "@tauri-apps/plugin-process": "^2.3.0",
31
- "@tauri-apps/plugin-shell": "^2.3.0",
31
+ "@tauri-apps/plugin-shell": "^2.3.1",
32
32
  "@tauri-apps/plugin-updater": "^2.9.0",
33
- "effect": "3.17.7",
34
- "@dxos/app-framework": "0.8.4-main.dedc0f3",
35
- "@dxos/ai": "0.8.4-main.dedc0f3",
36
- "@dxos/log": "0.8.4-main.dedc0f3",
37
- "@dxos/plugin-assistant": "0.8.4-main.dedc0f3",
38
- "@dxos/plugin-help": "0.8.4-main.dedc0f3",
39
- "@dxos/plugin-navtree": "0.8.4-main.dedc0f3",
40
- "@dxos/util": "0.8.4-main.dedc0f3"
33
+ "effect": "3.18.3",
34
+ "@dxos/ai": "0.8.4-main.ead640a",
35
+ "@dxos/log": "0.8.4-main.ead640a",
36
+ "@dxos/plugin-assistant": "0.8.4-main.ead640a",
37
+ "@dxos/plugin-help": "0.8.4-main.ead640a",
38
+ "@dxos/app-framework": "0.8.4-main.ead640a",
39
+ "@dxos/plugin-navtree": "0.8.4-main.ead640a",
40
+ "@dxos/util": "0.8.4-main.ead640a"
41
41
  },
42
42
  "devDependencies": {
43
- "vite": "7.1.1",
44
- "@dxos/react-ui": "0.8.4-main.dedc0f3"
43
+ "vite": "7.1.9",
44
+ "@dxos/react-ui": "0.8.4-main.ead640a"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "effect": "^3.13.3",
48
- "@dxos/react-ui": "0.8.4-main.dedc0f3"
48
+ "@dxos/react-ui": "0.8.4-main.ead640a"
49
49
  },
50
50
  "publishConfig": {
51
51
  "access": "public"
@@ -9,26 +9,25 @@ import { Ollama, Updater, Window } from './capabilities';
9
9
  import { meta } from './meta';
10
10
  import { translations } from './translations';
11
11
 
12
- export const NativePlugin = () =>
13
- definePlugin(meta, [
14
- defineModule({
15
- id: `${meta.id}/module/translations`,
16
- activatesOn: Events.SetupTranslations,
17
- activate: () => contributes(Capabilities.Translations, translations),
18
- }),
19
- defineModule({
20
- id: `${meta.id}/module/updater`,
21
- activatesOn: Events.DispatcherReady,
22
- activate: Updater,
23
- }),
24
- defineModule({
25
- id: `${meta.id}/module/window`,
26
- activatesOn: Events.DispatcherReady,
27
- activate: Window,
28
- }),
29
- defineModule({
30
- id: `${meta.id}/module/ollama`,
31
- activatesOn: AssistantEvents.SetupAiServiceProviders,
32
- activate: Ollama,
33
- }),
34
- ]);
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
+ ]);
@@ -2,14 +2,17 @@
2
2
  // Copyright 2025 DXOS.org
3
3
  //
4
4
 
5
- import { FetchHttpClient, HttpClient } from '@effect/platform';
5
+ import * as FetchHttpClient from '@effect/platform/FetchHttpClient';
6
+ import * as HttpClient from '@effect/platform/HttpClient';
6
7
  import { Command } from '@tauri-apps/plugin-shell';
7
- import { Context, Effect, Layer, ManagedRuntime } from 'effect';
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';
8
12
 
9
- import { AiServiceRouter } from '@dxos/ai';
10
- import { type Capability, type PluginContext, contributes } from '@dxos/app-framework';
13
+ import * as AiServiceRouter from '@dxos/ai/AiServiceRouter';
14
+ import { Capabilities, type Capability, type PluginContext, contributes } from '@dxos/app-framework';
11
15
  import { log } from '@dxos/log';
12
- import { AssistantCapabilities } from '@dxos/plugin-assistant';
13
16
 
14
17
  // Running ollama on non-standard port.
15
18
  const OLLAMA_HOST = 'http://localhost:21434';
@@ -23,7 +26,7 @@ export default (_context: PluginContext): Capability<any> => {
23
26
  );
24
27
 
25
28
  return contributes(
26
- AssistantCapabilities.AiModelResolver,
29
+ Capabilities.AiModelResolver,
27
30
  OllamaSidecarModelResolver.pipe(Layer.provide(sidecarLayer)),
28
31
  async () => {
29
32
  await runtime.dispose();
@@ -5,12 +5,17 @@
5
5
  import { type } from '@tauri-apps/plugin-os';
6
6
  import { relaunch } from '@tauri-apps/plugin-process';
7
7
  import { type DownloadEvent, check } from '@tauri-apps/plugin-updater';
8
- import { Duration, Effect, Fiber, Match, Schedule, pipe } from 'effect';
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
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
 
@@ -54,12 +59,12 @@ export default (context: PluginContext) => {
54
59
  createIntent(LayoutAction.AddToast, {
55
60
  part: 'toast',
56
61
  subject: {
57
- id: `${NATIVE_PLUGIN}/update-ready`,
58
- title: ['update ready label', { ns: NATIVE_PLUGIN }],
59
- 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 }],
60
65
  duration: Infinity,
61
- actionLabel: ['update label', { ns: NATIVE_PLUGIN }],
62
- actionAlt: ['update alt', { ns: NATIVE_PLUGIN }],
66
+ actionLabel: ['update label', { ns: meta.id }],
67
+ actionAlt: ['update alt', { ns: meta.id }],
63
68
  onAction: () => relaunch(),
64
69
  },
65
70
  }),
@@ -67,7 +72,7 @@ export default (context: PluginContext) => {
67
72
  }
68
73
  });
69
74
 
70
- const fiber = pipe(
75
+ const fiber = Function.pipe(
71
76
  // prettier-ignore
72
77
  action,
73
78
  Effect.repeat(Schedule.fixed(Duration.hours(1))),
package/src/meta.ts CHANGED
@@ -4,9 +4,7 @@
4
4
 
5
5
  import { type PluginMeta } from '@dxos/app-framework';
6
6
 
7
- export const NATIVE_PLUGIN = 'dxos.org/plugin/native';
8
-
9
7
  export const meta: PluginMeta = {
10
- id: NATIVE_PLUGIN,
8
+ id: 'dxos.org/plugin/native',
11
9
  name: 'Native',
12
10
  };
@@ -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/ollama.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { FetchHttpClient, HttpClient } from '@effect/platform';\nimport { Command } from '@tauri-apps/plugin-shell';\nimport { Context, Effect, Layer, ManagedRuntime } from 'effect';\n\nimport { AiServiceRouter } from '@dxos/ai';\nimport { type Capability, type PluginContext, contributes } from '@dxos/app-framework';\nimport { log } from '@dxos/log';\nimport { AssistantCapabilities } from '@dxos/plugin-assistant';\n\n// Running ollama on non-standard port.\nconst OLLAMA_HOST = 'http://localhost:21434';\n\nexport default (_context: PluginContext): Capability<any> => {\n const runtime = ManagedRuntime.make(OllamaSidecar.layerLive);\n\n // Layer for the sidecar but the lifecycle is managed by the runtime.\n const sidecarLayer = Layer.effectContext(\n runtime.runtimeEffect.pipe(Effect.map((rt) => rt.context.pipe(Context.pick(OllamaSidecar)))),\n );\n\n return contributes(\n AssistantCapabilities.AiModelResolver,\n OllamaSidecarModelResolver.pipe(Layer.provide(sidecarLayer)),\n async () => {\n await runtime.dispose();\n },\n );\n};\n\nclass OllamaSidecar extends Context.Tag('@dxos/plugin-native/OllamaSidecar')<\n OllamaSidecar,\n {\n endpoint: string;\n }\n>() {\n static layerLive = Layer.scoped(\n OllamaSidecar,\n Effect.gen(function* () {\n const command = Command.sidecar('sidecar/ollama', ['serve'], {\n env: {\n OLLAMA_HOST,\n OLLAMA_ORIGINS: '*', // CORS\n },\n });\n\n // NOTE: Keeping those as console.log for consistent formatting.\n command.stdout.on('data', (data) => console.log('[ollama]', data.toString()));\n command.stderr.on('data', (data) => console.error('[ollama]', data.toString()));\n command.on('close', (code) => log.info('Ollama process exited', { code }));\n command.on('error', (error) => log.error('Ollama error', { error }));\n const child = yield* Effect.promise(() => command.spawn());\n yield* Effect.addFinalizer(\n Effect.fn(function* () {\n yield* Effect.promise(() => child.kill());\n }),\n );\n log.info('Running ollama', { pid: child.pid });\n\n return {\n endpoint: OLLAMA_HOST,\n };\n }),\n );\n}\n\nconst OllamaSidecarModelResolver: Layer.Layer<AiServiceRouter.AiModelResolver, never, OllamaSidecar> =\n Layer.unwrapEffect(\n Effect.gen(function* () {\n const { endpoint } = yield* OllamaSidecar;\n return AiServiceRouter.OllamaResolver({\n host: endpoint,\n transformClient: HttpClient.withTracerPropagation(false),\n });\n }),\n ).pipe(Layer.provide(FetchHttpClient.layer));\n"],
5
- "mappings": ";AAIA,SAASA,iBAAiBC,kBAAkB;AAC5C,SAASC,eAAe;AACxB,SAASC,SAASC,QAAQC,OAAOC,sBAAsB;AAEvD,SAASC,uBAAuB;AAChC,SAA8CC,mBAAmB;AACjE,SAASC,WAAW;AACpB,SAASC,6BAA6B;;;;;;;;;;;;;;;AAGtC,IAAMC,cAAc;AAEpB,IAAA,iBAAe,CAACC,aAAAA;AACd,QAAMC,UAAUP,eAAeQ,KAAKC,cAAcC,SAAS;AAG3D,QAAMC,eAAeZ,MAAMa,cACzBL,QAAQM,cAAcC,KAAKhB,OAAOiB,IAAI,CAACC,OAAOA,GAAGC,QAAQH,KAAKjB,QAAQqB,KAAKT,aAAAA,CAAAA,CAAAA,CAAAA,CAAAA;AAG7E,SAAOP,YACLE,sBAAsBe,iBACtBC,2BAA2BN,KAAKf,MAAMsB,QAAQV,YAAAA,CAAAA,GAC9C,YAAA;AACE,UAAMJ,QAAQe,QAAO;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AgB0D,KAAK,CAAA;",
6
- "names": ["FetchHttpClient", "HttpClient", "Command", "Context", "Effect", "Layer", "ManagedRuntime", "AiServiceRouter", "contributes", "log", "AssistantCapabilities", "OLLAMA_HOST", "_context", "runtime", "make", "OllamaSidecar", "layerLive", "sidecarLayer", "effectContext", "runtimeEffect", "pipe", "map", "rt", "context", "pick", "AiModelResolver", "OllamaSidecarModelResolver", "provide", "dispose", "Tag", "scoped", "gen", "command", "sidecar", "env", "OLLAMA_ORIGINS", "stdout", "on", "data", "console", "toString", "stderr", "error", "code", "info", "child", "promise", "spawn", "addFinalizer", "fn", "kill", "pid", "endpoint", "unwrapEffect", "OllamaResolver", "host", "transformClient", "withTracerPropagation", "layer"]
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 { type DownloadEvent, check } from '@tauri-apps/plugin-updater';\nimport { Duration, Effect, Fiber, Match, Schedule, pipe } from 'effect';\n\nimport { Capabilities, LayoutAction, type PluginContext, contributes, createIntent } 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 // Skip updates if not supported or in dev mode.\n const platform = type();\n if (!SUPPORTS_OTA.includes(platform) || window.location.hostname === 'localhost') {\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.verbose('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,SAA6BC,aAAa;AAC1C,SAASC,UAAUC,QAAQC,OAAOC,OAAOC,UAAUC,YAAY;AAE/D,SAASC,cAAcC,cAAkCC,aAAaC,oBAAoB;AAC1F,SAASC,WAAW;;AAIpB,IAAMC,eAAe;EAAC;EAAS;EAAS;;AAExC,IAAA,kBAAe,CAACC,YAAAA;AAEd,QAAMC,WAAWC,KAAAA;AACjB,MAAI,CAACH,aAAaI,SAASF,QAAAA,KAAaG,OAAOC,SAASC,aAAa,aAAa;AAChF,WAAOC,YAAYC,aAAaC,MAAM,IAAA;EACxC;AAEA,QAAM,EAAEC,SAAQ,IAAKV,QAAQW,cAAcH,aAAaI,gBAAgB;AAGxE,QAAMC,SAASC,OAAOC,IAAI,aAAA;AACxBC,QAAIC,K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AAQxB;;IAEZd;IACAC,OAAOsC,OAAOC,SAASC,MAAMC,SAASC,MAAM,CAAA,CAAA,CAAA;IAC5C1C,OAAO2C;EAAO;AAGhB,SAAOlD,YAAYC,aAAaC,MAAM,MAAM,MAAA;AAC1CK,WAAO4C,QAAQC,MAAMC,UAAUT,KAAAA,CAAAA;EACjC,CAAA;AACF;",
6
- "names": ["type", "relaunch", "check", "Duration", "Effect", "Fiber", "Match", "Schedule", "pipe", "Capabilities", "LayoutAction", "contributes", "createIntent", "log", "SUPPORTS_OTA", "context", "platform", "type", "includes", "window", "location", "hostname", "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", "verbose", "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
- }