@lapis-notes/app-profile 0.3.2 → 0.3.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @lapis-notes/app-profile
2
2
 
3
+ ## 0.3.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#223](https://github.com/lapismd/lapis-notes/pull/223)
8
+ [`f5e513e`](https://github.com/lapismd/lapis-notes/commit/f5e513ebd3eecfd5f7306a6ad633454346d6c0d3)
9
+ Thanks [@stevejuma](https://github.com/stevejuma)! - Let native AI draft tabs
10
+ and conversation History persist when no agents are configured. Passive
11
+ snapshot refreshes no longer restart layout saving, and scope changes remain
12
+ observable independently of agent selection.
13
+
14
+ ## 0.3.3
15
+
16
+ ### Patch Changes
17
+
18
+ - [#218](https://github.com/lapismd/lapis-notes/pull/218)
19
+ [`b009ab2`](https://github.com/lapismd/lapis-notes/commit/b009ab298f977fefbf72160e77f31054b820a7ed)
20
+ Thanks [@stevejuma](https://github.com/stevejuma)! - Add an explicitly
21
+ admitted, activation-scoped plugin.services API for bounded native service
22
+ calls. Native hosts retain service admission, durable execution and credential
23
+ custody; cancellation never retries accepted operations or falls back to
24
+ renderer IO.
25
+ - Updated dependencies
26
+ [[`b009ab2`](https://github.com/lapismd/lapis-notes/commit/b009ab298f977fefbf72160e77f31054b820a7ed)]:
27
+ - @lapis-notes/api@0.6.21
28
+
3
29
  ## 0.3.2
4
30
 
5
31
  ### Patch Changes
@@ -67,6 +67,7 @@
67
67
  history.syncScope();
68
68
  });
69
69
  let previous = "";
70
+ let previousScope: string | undefined;
70
71
  $effect(() => {
71
72
  const snapshot = controller.snapshot;
72
73
  if (!snapshot) return;
@@ -77,11 +78,12 @@
77
78
  snapshot.agents.find(
78
79
  (agent) => agent.id === controller.session?.agent,
79
80
  )?.id || snapshot.agents[0]?.id || "";
81
+ }
82
+ const scope = controller.session?.scope ?? initialScope ?? "";
83
+ if (previous !== port.selected || previousScope !== scope) {
80
84
  previous = port.selected;
81
- onSelection?.(
82
- port.selected,
83
- controller.session?.scope ?? initialScope ?? "",
84
- );
85
+ previousScope = scope;
86
+ onSelection?.(port.selected, scope);
85
87
  }
86
88
  });
87
89
  });
@@ -8,6 +8,7 @@ export function createNotesApplication(options) {
8
8
  session: options.session,
9
9
  syncHost: options.host?.syncHost,
10
10
  pluginSecretsHost: options.host?.pluginSecretsHost,
11
+ pluginServicesHost: options.host?.pluginServicesHost,
11
12
  pluginAssetServer: options.pluginAssetServer,
12
13
  pluginDistributionOptions: options.pluginDistributionOptions,
13
14
  unavailablePlugins: options.host?.unavailablePlugins ?? {
@@ -6,6 +6,7 @@ type AppOptions = ConstructorParameters<typeof App>[0];
6
6
  export interface NotesWorkspaceHost {
7
7
  syncHost?: AppOptions["syncHost"];
8
8
  pluginSecretsHost?: AppOptions["pluginSecretsHost"];
9
+ pluginServicesHost?: AppOptions["pluginServicesHost"];
9
10
  unavailablePlugins?: AppOptions["unavailablePlugins"];
10
11
  attach?(app: App, syncHost: SyncHostService): () => void;
11
12
  configure?(app: App): Promise<(() => void) | void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lapis-notes/app-profile",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -41,7 +41,7 @@
41
41
  }
42
42
  },
43
43
  "dependencies": {
44
- "@lapis-notes/api": "^0.6.16",
44
+ "@lapis-notes/api": "^0.6.21",
45
45
  "@lapis-notes/file-explorer": "^0.2.8",
46
46
  "@lapis-notes/history": "^0.5.1",
47
47
  "@lapis-notes/markdown": "^0.3.3",