@lapis-notes/api 0.2.3 → 0.2.6

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.
@@ -2101,8 +2101,10 @@ export class Workspace extends EventDispatcher {
2101
2101
  this.installCommandBridge(this.#workspaceHostController);
2102
2102
  this.installWorkspaceLayoutCommands();
2103
2103
  this.on("file-open", (file) => {
2104
- if (file)
2104
+ if (file) {
2105
+ this.lastActiveFile = file;
2105
2106
  this.recordRecentFile(file);
2107
+ }
2106
2108
  });
2107
2109
  this.installStatusBarBridge(this.#workspaceHostController);
2108
2110
  this.installNotificationProgressBridge(this.#workspaceHostController);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lapis-notes/api",
3
- "version": "0.2.3",
3
+ "version": "0.2.6",
4
4
  "description": "Lapis Notes API",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -17,14 +17,13 @@
17
17
  },
18
18
  "type": "module",
19
19
  "dependencies": {
20
- "@lapismd/ai-host": "^0.1.0",
21
- "@lapismd/design-core": "^0.7.2",
22
- "@lapismd/mira": "~0.1.3",
23
20
  "@huggingface/transformers": "^4.2.0",
24
- "@tursodatabase/database-wasm": "0.7.2",
25
21
  "@iconify-json/lucide": "^1.2.63",
26
22
  "@iconify/types": "^2.0.0",
27
23
  "@iconify/utils": "^2.3.0",
24
+ "@lapismd/ai-host": "^0.3.0",
25
+ "@lapismd/design-core": "^0.10.1",
26
+ "@lapismd/mira": "~0.1.4",
28
27
  "@lezer/common": "^1.2.3",
29
28
  "@lezer/lr": "^1.4.2",
30
29
  "@lucide/svelte": "^0.523.0",
@@ -33,6 +32,7 @@
33
32
  "@replit/codemirror-indentation-markers": "^6.5.3",
34
33
  "@tanstack/svelte-virtual": "^3.13.12",
35
34
  "@tanstack/virtual-core": "^3.13.12",
35
+ "@tursodatabase/database-wasm": "0.7.2",
36
36
  "@types/lodash-es": "^4.17.12",
37
37
  "bits-ui": "2.20.2",
38
38
  "clsx": "^2.1.1",
@@ -96,8 +96,6 @@
96
96
  },
97
97
  "peerDependencies": {
98
98
  "@codemirror/autocomplete": "^6.18.6",
99
- "@dnd-kit/dom": "^0.4.0",
100
- "@dnd-kit/svelte": "^0.4.0",
101
99
  "@codemirror/commands": "^6.8.1",
102
100
  "@codemirror/lang-markdown": "^6.3.4",
103
101
  "@codemirror/lang-yaml": "^6.1.2",
@@ -108,8 +106,10 @@
108
106
  "@codemirror/search": "^6.5.11",
109
107
  "@codemirror/state": "^6.4.1",
110
108
  "@codemirror/view": "^6.35.0",
111
- "@lapis-notes/ui": "^0.1.5",
112
- "@lapismd/design-core": "^0.7.2",
109
+ "@dnd-kit/dom": "^0.4.0",
110
+ "@dnd-kit/svelte": "^0.4.0",
111
+ "@lapis-notes/ui": "^0.1.7",
112
+ "@lapismd/design-core": "^0.8.0 || ^0.9.0 || ^0.10.0",
113
113
  "@lapismd/mira": "~0.1.3",
114
114
  "@lezer/highlight": "^1.2.1",
115
115
  "@lezer/markdown": "^1.4.3",
@@ -279,7 +279,6 @@
279
279
  }
280
280
  },
281
281
  "devDependencies": {
282
- "@tursodatabase/database": "0.7.2",
283
282
  "@codemirror/autocomplete": "^6.18.6",
284
283
  "@codemirror/commands": "^6.8.1",
285
284
  "@codemirror/lang-markdown": "^6.3.4",
@@ -291,14 +290,15 @@
291
290
  "@codemirror/search": "^6.5.11",
292
291
  "@codemirror/state": "^6.6.0",
293
292
  "@codemirror/view": "^6.42.1",
294
- "@lezer/markdown": "^1.4.3",
295
293
  "@dnd-kit/dom": "^0.4.0",
296
294
  "@dnd-kit/svelte": "^0.4.0",
297
295
  "@lezer/generator": "^1.7.3",
298
296
  "@lezer/highlight": "^1.2.1",
297
+ "@lezer/markdown": "^1.4.3",
299
298
  "@sveltejs/package": "^2.5.0",
300
299
  "@sveltejs/vite-plugin-svelte": "^5.1.1",
301
300
  "@tsconfig/svelte": "^5.0.5",
301
+ "@tursodatabase/database": "0.7.2",
302
302
  "@types/luxon": "^3.7.1",
303
303
  "autoprefixer": "^10.4.21",
304
304
  "fake-indexeddb": "^6.2.5",