@lapis-notes/app-profile 0.3.3 → 0.3.5

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,27 @@
1
1
  # @lapis-notes/app-profile
2
2
 
3
+ ## 0.3.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ [[`a2e4ec3`](https://github.com/lapismd/lapis-notes/commit/a2e4ec311f7dec944a23b4b6c5bce471062b3bc3),
9
+ [`4e60b6e`](https://github.com/lapismd/lapis-notes/commit/4e60b6e76e2f78a25c779060125bf274aa694ecc)]:
10
+ - @lapis-notes/api@0.7.0
11
+ - @lapis-notes/file-explorer@0.2.9
12
+ - @lapis-notes/workspace@0.4.14
13
+
14
+ ## 0.3.4
15
+
16
+ ### Patch Changes
17
+
18
+ - [#223](https://github.com/lapismd/lapis-notes/pull/223)
19
+ [`f5e513e`](https://github.com/lapismd/lapis-notes/commit/f5e513ebd3eecfd5f7306a6ad633454346d6c0d3)
20
+ Thanks [@stevejuma](https://github.com/stevejuma)! - Let native AI draft tabs
21
+ and conversation History persist when no agents are configured. Passive
22
+ snapshot refreshes no longer restart layout saving, and scope changes remain
23
+ observable independently of agent selection.
24
+
3
25
  ## 0.3.3
4
26
 
5
27
  ### 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.5",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -41,15 +41,15 @@
41
41
  }
42
42
  },
43
43
  "dependencies": {
44
- "@lapis-notes/api": "^0.6.21",
45
- "@lapis-notes/file-explorer": "^0.2.8",
44
+ "@lapis-notes/api": "^0.7.0",
45
+ "@lapis-notes/file-explorer": "^0.2.9",
46
46
  "@lapis-notes/history": "^0.5.1",
47
47
  "@lapis-notes/markdown": "^0.3.3",
48
48
  "@lapis-notes/search": "^0.1.13",
49
49
  "@lapis-notes/source-editor": "^0.1.12",
50
- "@lapis-notes/workspace": "^0.4.11",
50
+ "@lapis-notes/workspace": "^0.4.14",
51
51
  "@lapismd/agent-ui": "^0.2.8",
52
- "@lapismd/design-core": "^0.13.7",
52
+ "@lapismd/design-core": "^0.14.0",
53
53
  "@lapismd/jj-history": "^0.1.0"
54
54
  },
55
55
  "devDependencies": {