@lapis-notes/app-profile 0.3.3 → 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,16 @@
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
+
3
14
  ## 0.3.3
4
15
 
5
16
  ### 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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lapis-notes/app-profile",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {