@lapis-notes/api 0.1.3 → 0.2.0
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 +304 -13
- package/README.md +19 -0
- package/dist/__tests__/fixtures/indexed-mutations.json +6862 -0
- package/dist/__tests__/fixtures/memory-storage.json +309 -0
- package/dist/__tests__/fixtures/native-facade-contract.json +3224 -0
- package/dist/__tests__/fixtures/projection-query.json +195 -0
- package/dist/__tests__/fixtures/projection-values.json +60 -0
- package/dist/__tests__/fixtures/search-preparation.json +1513 -0
- package/dist/__tests__/fixtures/search-retrieval.json +15409 -0
- package/dist/__tests__/fixtures/search-semantic-model.json +3691 -0
- package/dist/__tests__/fixtures/search-semantic-retrieval.json +6603 -0
- package/dist/__tests__/fixtures/search-storage.json +409 -0
- package/dist/__tests__/fixtures/task-projection.json +428 -0
- package/dist/__tests__/indexed-mutation-support.js +262 -0
- package/dist/__tests__/projection-query-support.js +40 -0
- package/dist/__tests__/search-retrieval-support.js +47 -0
- package/dist/app-database-host.d.ts +1 -0
- package/dist/app-shell-plugin-persistence.d.ts +3 -2
- package/dist/app-shell-plugin-persistence.js +37 -3
- package/dist/cache.svelte.d.ts +8 -1
- package/dist/cache.svelte.js +103 -5
- package/dist/command.svelte.js +29 -2
- package/dist/components/editor/editor.css +4 -0
- package/dist/components/editor/editor.svelte +24 -11
- package/dist/components/editor/embedded-editor-surface.js +3 -1
- package/dist/components/editor/inline-title-alignment.d.ts +3 -0
- package/dist/components/editor/inline-title-alignment.js +57 -0
- package/dist/configuration.svelte.d.ts +270 -206
- package/dist/configuration.svelte.js +161 -86
- package/dist/context.svelte.d.ts +23 -3
- package/dist/context.svelte.js +68 -30
- package/dist/diagnostics.d.ts +8 -0
- package/dist/diagnostics.js +6 -0
- package/dist/editor-save-context.d.ts +35 -0
- package/dist/editor-save-context.js +132 -0
- package/dist/editor-view-registry.d.ts +10 -0
- package/dist/editor-view-registry.js +44 -4
- package/dist/editor.svelte.d.ts +19 -1
- package/dist/editor.svelte.js +528 -55
- package/dist/embed-registry.d.ts +10 -0
- package/dist/embed-registry.js +15 -0
- package/dist/file-editing-failures.d.ts +2 -0
- package/dist/file-editing-failures.js +29 -0
- package/dist/file-editing-native-issues.d.ts +19 -0
- package/dist/file-editing-native-issues.js +65 -0
- package/dist/file-editing-sessions.d.ts +76 -0
- package/dist/file-editing-sessions.js +367 -0
- package/dist/file-manager.d.ts +9 -1
- package/dist/file-manager.js +45 -3
- package/dist/file-state-store.d.ts +5 -0
- package/dist/file-state-store.js +34 -0
- package/dist/file-text-conflicts.d.ts +25 -0
- package/dist/file-text-conflicts.js +35 -0
- package/dist/file-text-mutation.d.ts +13 -0
- package/dist/file-text-mutation.js +100 -0
- package/dist/file-text-persistence.d.ts +36 -0
- package/dist/file-text-persistence.js +234 -0
- package/dist/file-text-state-writer.d.ts +34 -0
- package/dist/file-text-state-writer.js +183 -0
- package/dist/files-configuration.d.ts +20 -0
- package/dist/files-configuration.js +47 -0
- package/dist/generated/plugin-host-modules.schema.generated.d.ts +114 -34
- package/dist/generated/plugin-host-modules.schema.generated.js +132 -34
- package/dist/glob.d.ts +3 -0
- package/dist/glob.js +2 -1
- package/dist/icons/changes.d.ts +3 -0
- package/dist/icons/changes.js +16 -0
- package/dist/icons/index.d.ts +5 -1
- package/dist/icons/index.js +44 -3
- package/dist/icons/registry.d.ts +35 -0
- package/dist/icons/registry.js +154 -0
- package/dist/icons/safe-svg.d.ts +2 -0
- package/dist/icons/safe-svg.js +44 -0
- package/dist/index.d.ts +6 -1
- package/dist/index.js +4 -1
- package/dist/lapis-extension.d.ts +6 -2
- package/dist/lapis-extension.js +2 -0
- package/dist/metadata-store.d.ts +23 -0
- package/dist/metadata-store.js +1 -0
- package/dist/metadata.svelte.js +45 -2
- package/dist/native-background-indexing.d.ts +48 -0
- package/dist/native-background-indexing.js +208 -0
- package/dist/native-database-protocol.d.ts +29 -0
- package/dist/native-database-protocol.js +1 -0
- package/dist/native-editing-intent-lease.d.ts +17 -0
- package/dist/native-editing-intent-lease.js +188 -0
- package/dist/native-editing-intents-protocol.d.ts +70 -0
- package/dist/native-editing-intents-protocol.js +1 -0
- package/dist/native-editing-intents.d.ts +8 -0
- package/dist/native-editing-intents.js +1 -0
- package/dist/native-editing-problems.d.ts +3 -0
- package/dist/native-editing-problems.js +180 -0
- package/dist/native-editing-recovery.d.ts +24 -0
- package/dist/native-editing-recovery.js +198 -0
- package/dist/native-editing-session.d.ts +51 -0
- package/dist/native-editing-session.js +251 -0
- package/dist/native-history-index-protocol.d.ts +80 -0
- package/dist/native-history-index-protocol.js +1 -0
- package/dist/native-history-index.d.ts +6 -0
- package/dist/native-history-index.js +1 -0
- package/dist/native-indexing-protocol.d.ts +63 -0
- package/dist/native-indexing-protocol.js +1 -0
- package/dist/native-participant-protocol.d.ts +67 -0
- package/dist/native-participant-protocol.js +3 -0
- package/dist/native-queue-protocol.d.ts +73 -0
- package/dist/native-queue-protocol.js +3 -0
- package/dist/native-tasks-protocol.d.ts +264 -0
- package/dist/native-tasks-protocol.js +1 -0
- package/dist/native-tasks.d.ts +35 -0
- package/dist/native-tasks.js +79 -0
- package/dist/native-turn-protocol.d.ts +81 -0
- package/dist/native-turn-protocol.js +1 -0
- package/dist/native-turns.d.ts +29 -0
- package/dist/native-turns.js +2 -0
- package/dist/plugin-asset-server.js +3 -2
- package/dist/plugin-dependency-resolver.d.ts +1 -1
- package/dist/plugin-distribution/compatibility.d.ts +1 -1
- package/dist/plugin-distribution/compatibility.js +10 -5
- package/dist/plugin-distribution/installed-plugin-state.js +2 -1
- package/dist/plugin-distribution/installer.d.ts +6 -0
- package/dist/plugin-distribution/installer.js +90 -37
- package/dist/plugin-distribution/manager.d.ts +4 -1
- package/dist/plugin-distribution/manager.js +12 -5
- package/dist/plugin-distribution/registry-cache.js +2 -1
- package/dist/plugin-distribution/registry-source-state.js +2 -1
- package/dist/plugin-distribution/schemas.d.ts +26 -8
- package/dist/plugin-distribution/schemas.js +2 -1
- package/dist/plugin-distribution/types.d.ts +4 -0
- package/dist/plugin-manager.d.ts +21 -5
- package/dist/plugin-manager.js +228 -64
- package/dist/plugin-runtime-entry.d.ts +1 -1
- package/dist/plugin-runtime-entry.js +16 -0
- package/dist/plugin.d.ts +19 -3
- package/dist/plugin.js +110 -44
- package/dist/registry-schema/catalog-v1.d.ts +60 -9
- package/dist/registry-schema/catalog-v1.js +2 -1
- package/dist/registry-schema/catalog-v2.d.ts +60 -9
- package/dist/registry-schema/catalog-v2.js +1 -1
- package/dist/search-result-provider.d.ts +95 -0
- package/dist/search-result-provider.js +42 -0
- package/dist/status-bar.svelte.d.ts +26 -20
- package/dist/status-bar.svelte.js +1 -0
- package/dist/storage/app-database.d.ts +9 -23
- package/dist/storage/app-database.js +41 -34
- package/dist/storage/desktop-native.d.ts +5 -3
- package/dist/storage/desktop-native.js +59 -6
- package/dist/storage/directory-watcher.d.ts +27 -0
- package/dist/storage/directory-watcher.js +201 -0
- package/dist/storage/fs.d.ts +14 -27
- package/dist/storage/fs.js +2 -168
- package/dist/storage/index-projection.js +33 -15
- package/dist/storage/memory-vault-adapter.d.ts +2 -0
- package/dist/storage/memory-vault-adapter.js +14 -1
- package/dist/storage/path.d.ts +6 -2
- package/dist/storage/path.js +8 -2
- package/dist/storage/projection-query-candidates.d.ts +3 -0
- package/dist/storage/projection-query-candidates.js +69 -0
- package/dist/storage/remote-app-database.d.ts +2 -2
- package/dist/storage/remote-app-database.js +1 -1
- package/dist/storage/runtime.d.ts +3 -0
- package/dist/storage/runtime.js +3 -0
- package/dist/storage/search-embedding-record.d.ts +3 -0
- package/dist/storage/search-embedding-record.js +18 -0
- package/dist/storage/turso-app-database.d.ts +2 -0
- package/dist/storage/turso-app-database.js +67 -30
- package/dist/storage/vault-listing.d.ts +3 -0
- package/dist/storage/vault-listing.js +36 -0
- package/dist/storage/vault-reconciliation.d.ts +19 -0
- package/dist/storage/vault-reconciliation.js +137 -0
- package/dist/storage/vault-session.d.ts +8 -0
- package/dist/storage/vault-session.js +10 -2
- package/dist/storage/vault.svelte.d.ts +53 -4
- package/dist/storage/vault.svelte.js +223 -87
- package/dist/sync-editor-flush.d.ts +6 -0
- package/dist/sync-editor-flush.js +22 -0
- package/dist/sync-host-local.d.ts +15 -0
- package/dist/sync-host-local.js +228 -0
- package/dist/sync-host-security.d.ts +24 -9
- package/dist/sync-host-security.js +47 -14
- package/dist/sync-host.d.ts +33 -4
- package/dist/sync-host.js +160 -10
- package/dist/sync-repository.d.ts +106 -0
- package/dist/sync-repository.js +18 -0
- package/dist/vault-change-views.d.ts +4 -0
- package/dist/vault-change-views.js +43 -0
- package/dist/vault-changes.d.ts +37 -0
- package/dist/vault-changes.js +228 -0
- package/dist/view.svelte.d.ts +182 -149
- package/dist/view.svelte.js +39 -21
- package/dist/workspace-close-guard.d.ts +3 -0
- package/dist/workspace-close-guard.js +35 -0
- package/dist/workspace-host-internal.js +10 -2
- package/dist/workspace-layout-normalizer.d.ts +4 -2
- package/dist/workspace-layout-normalizer.js +5 -5
- package/dist/workspace-view-document.d.ts +3 -0
- package/dist/workspace-view-document.js +12 -0
- package/dist/workspace.svelte.d.ts +13 -2
- package/dist/workspace.svelte.js +371 -82
- package/package.json +61 -8
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { FileTextPersistence } from "./file-text-persistence";
|
|
2
|
+
import { dirname } from "./storage/path";
|
|
3
|
+
/**
|
|
4
|
+
* App-owned mutable text state using the same persistence contract as
|
|
5
|
+
* documents.
|
|
6
|
+
*/
|
|
7
|
+
export class FileTextStateWriter {
|
|
8
|
+
app;
|
|
9
|
+
file;
|
|
10
|
+
reset;
|
|
11
|
+
options;
|
|
12
|
+
#path;
|
|
13
|
+
#persistence;
|
|
14
|
+
#unregister;
|
|
15
|
+
#contents;
|
|
16
|
+
#dirty = false;
|
|
17
|
+
#locks = 0;
|
|
18
|
+
#disposed = false;
|
|
19
|
+
#onSaved;
|
|
20
|
+
constructor(app, file, baseline, reset, options = {}) {
|
|
21
|
+
this.app = app;
|
|
22
|
+
this.file = file;
|
|
23
|
+
this.reset = reset;
|
|
24
|
+
this.options = options;
|
|
25
|
+
this.#path = file.path;
|
|
26
|
+
this.#contents = baseline ?? "";
|
|
27
|
+
if (baseline !== undefined)
|
|
28
|
+
this.#persistence = this.#createPersistence(baseline);
|
|
29
|
+
this.#unregister = app.fileEditingSessions.register(file.path, this);
|
|
30
|
+
}
|
|
31
|
+
#createPersistence(baseline) {
|
|
32
|
+
return new FileTextPersistence({
|
|
33
|
+
vault: this.app.vault,
|
|
34
|
+
file: this.file,
|
|
35
|
+
baseline,
|
|
36
|
+
conflicts: this.app.fileEditingSessions.textConflicts,
|
|
37
|
+
local: () => this.#contents,
|
|
38
|
+
protect: () => {
|
|
39
|
+
const release = this.#protect();
|
|
40
|
+
return {
|
|
41
|
+
release,
|
|
42
|
+
saved: () => {
|
|
43
|
+
this.#dirty = false;
|
|
44
|
+
const notify = this.#onSaved;
|
|
45
|
+
this.#onSaved = undefined;
|
|
46
|
+
notify?.();
|
|
47
|
+
},
|
|
48
|
+
reset: (text) => this.reset(text),
|
|
49
|
+
resetSaved: (text) => {
|
|
50
|
+
this.#contents = text;
|
|
51
|
+
this.#dirty = false;
|
|
52
|
+
this.#onSaved = undefined;
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
},
|
|
56
|
+
serialize: (run) => this.app.fileEditingSessions.recover(this, async () => {
|
|
57
|
+
const result = await run();
|
|
58
|
+
await this.#unregister.idle();
|
|
59
|
+
return result;
|
|
60
|
+
}),
|
|
61
|
+
recoverOutsideQueue: this.options.recoverOutsideQueue,
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
get dirty() {
|
|
65
|
+
return this.#dirty || !!this.#persistence?.hasConflict;
|
|
66
|
+
}
|
|
67
|
+
native = {
|
|
68
|
+
lifetime: "operation",
|
|
69
|
+
hold: () => this.#protect(),
|
|
70
|
+
savedText: () => this.#persistence?.baseline,
|
|
71
|
+
};
|
|
72
|
+
acceptBaseline(contents) {
|
|
73
|
+
if (this.dirty || this.#locks || this.#disposed)
|
|
74
|
+
return false;
|
|
75
|
+
if (this.#persistence)
|
|
76
|
+
this.#persistence.acceptBaseline(contents);
|
|
77
|
+
else
|
|
78
|
+
this.#persistence = this.#createPersistence(contents);
|
|
79
|
+
return true;
|
|
80
|
+
}
|
|
81
|
+
assertEditable() {
|
|
82
|
+
if (this.#disposed || this.app.fileEditingSessions.closed)
|
|
83
|
+
throw new Error("File state writer is closed");
|
|
84
|
+
if (this.#locks)
|
|
85
|
+
throw new Error(`File editing is protected: ${this.#path}`);
|
|
86
|
+
if (this.file.path !== this.#path)
|
|
87
|
+
throw new Error("File state target changed");
|
|
88
|
+
}
|
|
89
|
+
set(contents) {
|
|
90
|
+
return this.#unregister.native
|
|
91
|
+
? this.app.fileEditingSessions.track(() => this.app.fileEditingSessions.recover(this, async () => {
|
|
92
|
+
await this.#unregister.ready();
|
|
93
|
+
this.#captureContents(contents);
|
|
94
|
+
await this.flush();
|
|
95
|
+
}))
|
|
96
|
+
: this.#setContents(contents);
|
|
97
|
+
}
|
|
98
|
+
#captureContents(contents) {
|
|
99
|
+
this.assertEditable();
|
|
100
|
+
this.#contents = contents;
|
|
101
|
+
this.#dirty = true;
|
|
102
|
+
this.#unregister.changed();
|
|
103
|
+
this.#persistence?.updateLocal(contents);
|
|
104
|
+
}
|
|
105
|
+
#setContents(contents) {
|
|
106
|
+
this.#captureContents(contents);
|
|
107
|
+
return this.app.fileEditingSessions.recover(this, () => this.flush());
|
|
108
|
+
}
|
|
109
|
+
/** Calculate a logical change only after every earlier change is acknowledged. */
|
|
110
|
+
update(calculate) {
|
|
111
|
+
if (!this.#unregister.native)
|
|
112
|
+
this.assertEditable();
|
|
113
|
+
return this.app.fileEditingSessions.recover(this, async () => {
|
|
114
|
+
await this.flush();
|
|
115
|
+
if (this.#unregister.native) {
|
|
116
|
+
await this.#unregister.ready();
|
|
117
|
+
this.assertEditable();
|
|
118
|
+
}
|
|
119
|
+
const change = calculate();
|
|
120
|
+
if (!change) {
|
|
121
|
+
await this.#unregister.idle();
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
this.#contents = change.contents;
|
|
125
|
+
this.#dirty = true;
|
|
126
|
+
this.#unregister.changed();
|
|
127
|
+
this.#onSaved = change.onSaved;
|
|
128
|
+
await this.flush();
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
async flush() {
|
|
132
|
+
if (!this.#dirty) {
|
|
133
|
+
await this.#unregister.idle();
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
if (this.#unregister.native)
|
|
137
|
+
await this.#unregister.ready();
|
|
138
|
+
const contents = this.#contents;
|
|
139
|
+
const notify = this.#onSaved;
|
|
140
|
+
try {
|
|
141
|
+
if (!this.#persistence) {
|
|
142
|
+
const adapter = this.app.vault.adapter;
|
|
143
|
+
const baseline = (await adapter.exists(this.#path))
|
|
144
|
+
? await adapter.read(this.#path)
|
|
145
|
+
: null;
|
|
146
|
+
this.#persistence = this.#createPersistence(baseline);
|
|
147
|
+
}
|
|
148
|
+
await this.app.vault.mkpath(dirname(this.#path));
|
|
149
|
+
await this.#persistence.persist(contents);
|
|
150
|
+
}
|
|
151
|
+
catch (error) {
|
|
152
|
+
if (this.#persistence && !this.#persistence.hasConflict)
|
|
153
|
+
await this.#persistence.rejectPersistence(error);
|
|
154
|
+
throw error;
|
|
155
|
+
}
|
|
156
|
+
this.#dirty = this.#contents !== contents;
|
|
157
|
+
if (!this.#dirty)
|
|
158
|
+
this.#onSaved = undefined;
|
|
159
|
+
notify?.();
|
|
160
|
+
if (!this.#dirty)
|
|
161
|
+
await this.#unregister.idle();
|
|
162
|
+
}
|
|
163
|
+
#protect() {
|
|
164
|
+
this.#locks++;
|
|
165
|
+
let held = true;
|
|
166
|
+
return () => {
|
|
167
|
+
if (held) {
|
|
168
|
+
held = false;
|
|
169
|
+
this.#locks--;
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
async protect() {
|
|
174
|
+
// All persistence is on the registry queue; no queued guard is re-entered here.
|
|
175
|
+
return this.#protect();
|
|
176
|
+
}
|
|
177
|
+
dispose() {
|
|
178
|
+
if (this.dirty)
|
|
179
|
+
throw new Error(`File state remains dirty: ${this.#path}`);
|
|
180
|
+
this.#disposed = true;
|
|
181
|
+
this.#unregister();
|
|
182
|
+
}
|
|
183
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { WorkspaceSettingsController } from "@lapismd/design-core/workspace/settings";
|
|
2
|
+
/** Core application settings; no plugin owns file discovery policy. */
|
|
3
|
+
export declare const FILES_CONFIGURATION_SCHEMA: {
|
|
4
|
+
readonly id: "files";
|
|
5
|
+
readonly title: "Files";
|
|
6
|
+
readonly type: "object";
|
|
7
|
+
readonly properties: {
|
|
8
|
+
readonly exclude: {
|
|
9
|
+
readonly type: "array";
|
|
10
|
+
readonly title: "Excluded paths";
|
|
11
|
+
readonly description: "Glob patterns hidden from vault file and folder listings. Matching folders hide their contents at any depth. Explicit metadata access and backup exclusions are separate.";
|
|
12
|
+
readonly items: {
|
|
13
|
+
readonly type: "string";
|
|
14
|
+
};
|
|
15
|
+
readonly default: readonly string[];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
/** Register core discovery policy beside the shell's existing Workspace fields. */
|
|
20
|
+
export declare function registerWorkspaceFileSettings(settings: WorkspaceSettingsController): void;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { DEFAULT_VAULT_EXCLUDES } from "./storage/vault-listing";
|
|
2
|
+
/** Core application settings; no plugin owns file discovery policy. */
|
|
3
|
+
export const FILES_CONFIGURATION_SCHEMA = {
|
|
4
|
+
id: "files",
|
|
5
|
+
title: "Files",
|
|
6
|
+
type: "object",
|
|
7
|
+
properties: {
|
|
8
|
+
exclude: {
|
|
9
|
+
type: "array",
|
|
10
|
+
title: "Excluded paths",
|
|
11
|
+
description: "Glob patterns hidden from vault file and folder listings. Matching folders hide their contents at any depth. Explicit metadata access and backup exclusions are separate.",
|
|
12
|
+
items: { type: "string" },
|
|
13
|
+
default: [...DEFAULT_VAULT_EXCLUDES],
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
/** Register core discovery policy beside the shell's existing Workspace fields. */
|
|
18
|
+
export function registerWorkspaceFileSettings(settings) {
|
|
19
|
+
const workspace = settings.sections.find((section) => section.id === "workspace") ?? {
|
|
20
|
+
id: "workspace",
|
|
21
|
+
title: "Workspace",
|
|
22
|
+
navigationGroupId: "options",
|
|
23
|
+
order: 10,
|
|
24
|
+
};
|
|
25
|
+
settings.registerSection({
|
|
26
|
+
...workspace,
|
|
27
|
+
fields: [
|
|
28
|
+
...(workspace.fields ?? []).filter((field) => field.id !== "workspace.files"),
|
|
29
|
+
{
|
|
30
|
+
id: "workspace.files",
|
|
31
|
+
type: "group",
|
|
32
|
+
title: "File discovery",
|
|
33
|
+
description: "Choose which paths appear in file and folder lists.",
|
|
34
|
+
fields: [
|
|
35
|
+
{
|
|
36
|
+
id: "files.exclude",
|
|
37
|
+
type: "list",
|
|
38
|
+
itemType: "string",
|
|
39
|
+
title: "Excluded paths",
|
|
40
|
+
description: "Glob patterns hidden from file and folder lists. Folder names apply at any depth. Clear the list to show all paths. This does not change backups or delete files.",
|
|
41
|
+
default: [...DEFAULT_VAULT_EXCLUDES],
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
});
|
|
47
|
+
}
|
|
@@ -137,7 +137,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
137
137
|
readonly public: true;
|
|
138
138
|
readonly source: "package-json-export";
|
|
139
139
|
readonly specifier: "@lapis-notes/api";
|
|
140
|
-
readonly version: "0.
|
|
140
|
+
readonly version: "0.2.0";
|
|
141
141
|
};
|
|
142
142
|
readonly "@lapis-notes/api/agent-skills": {
|
|
143
143
|
readonly entry: "@lapis-notes/api/agent-skills";
|
|
@@ -147,7 +147,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
147
147
|
readonly public: true;
|
|
148
148
|
readonly source: "package-json-export";
|
|
149
149
|
readonly specifier: "@lapis-notes/api/agent-skills";
|
|
150
|
-
readonly version: "0.
|
|
150
|
+
readonly version: "0.2.0";
|
|
151
151
|
};
|
|
152
152
|
readonly "@lapis-notes/api/agent-tools": {
|
|
153
153
|
readonly entry: "@lapis-notes/api/agent-tools";
|
|
@@ -157,7 +157,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
157
157
|
readonly public: true;
|
|
158
158
|
readonly source: "package-json-export";
|
|
159
159
|
readonly specifier: "@lapis-notes/api/agent-tools";
|
|
160
|
-
readonly version: "0.
|
|
160
|
+
readonly version: "0.2.0";
|
|
161
161
|
};
|
|
162
162
|
readonly "@lapis-notes/api/app-database": {
|
|
163
163
|
readonly entry: "@lapis-notes/api/app-database";
|
|
@@ -167,7 +167,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
167
167
|
readonly public: true;
|
|
168
168
|
readonly source: "package-json-export";
|
|
169
169
|
readonly specifier: "@lapis-notes/api/app-database";
|
|
170
|
-
readonly version: "0.
|
|
170
|
+
readonly version: "0.2.0";
|
|
171
171
|
};
|
|
172
172
|
readonly "@lapis-notes/api/build/vite": {
|
|
173
173
|
readonly entry: "@lapis-notes/api/build/vite";
|
|
@@ -177,7 +177,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
177
177
|
readonly public: true;
|
|
178
178
|
readonly source: "package-json-export";
|
|
179
179
|
readonly specifier: "@lapis-notes/api/build/vite";
|
|
180
|
-
readonly version: "0.
|
|
180
|
+
readonly version: "0.2.0";
|
|
181
181
|
};
|
|
182
182
|
readonly "@lapis-notes/api/cache": {
|
|
183
183
|
readonly entry: "@lapis-notes/api/cache";
|
|
@@ -187,7 +187,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
187
187
|
readonly public: true;
|
|
188
188
|
readonly source: "package-json-export";
|
|
189
189
|
readonly specifier: "@lapis-notes/api/cache";
|
|
190
|
-
readonly version: "0.
|
|
190
|
+
readonly version: "0.2.0";
|
|
191
191
|
};
|
|
192
192
|
readonly "@lapis-notes/api/copy-button": {
|
|
193
193
|
readonly entry: "@lapis-notes/api/copy-button";
|
|
@@ -197,7 +197,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
197
197
|
readonly public: true;
|
|
198
198
|
readonly source: "package-json-export";
|
|
199
199
|
readonly specifier: "@lapis-notes/api/copy-button";
|
|
200
|
-
readonly version: "0.
|
|
200
|
+
readonly version: "0.2.0";
|
|
201
201
|
};
|
|
202
202
|
readonly "@lapis-notes/api/desktop-native": {
|
|
203
203
|
readonly entry: "@lapis-notes/api/desktop-native";
|
|
@@ -207,7 +207,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
207
207
|
readonly public: true;
|
|
208
208
|
readonly source: "package-json-export";
|
|
209
209
|
readonly specifier: "@lapis-notes/api/desktop-native";
|
|
210
|
-
readonly version: "0.
|
|
210
|
+
readonly version: "0.2.0";
|
|
211
211
|
};
|
|
212
212
|
readonly "@lapis-notes/api/editor": {
|
|
213
213
|
readonly defaultExport: true;
|
|
@@ -218,7 +218,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
218
218
|
readonly public: true;
|
|
219
219
|
readonly source: "package-json-export";
|
|
220
220
|
readonly specifier: "@lapis-notes/api/editor";
|
|
221
|
-
readonly version: "0.
|
|
221
|
+
readonly version: "0.2.0";
|
|
222
222
|
};
|
|
223
223
|
readonly "@lapis-notes/api/editor/core": {
|
|
224
224
|
readonly entry: "@lapis-notes/api/editor/core";
|
|
@@ -228,7 +228,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
228
228
|
readonly public: true;
|
|
229
229
|
readonly source: "package-json-export";
|
|
230
230
|
readonly specifier: "@lapis-notes/api/editor/core";
|
|
231
|
-
readonly version: "0.
|
|
231
|
+
readonly version: "0.2.0";
|
|
232
232
|
};
|
|
233
233
|
readonly "@lapis-notes/api/editor/extensions/autocomplete": {
|
|
234
234
|
readonly entry: "@lapis-notes/api/editor/extensions/autocomplete";
|
|
@@ -238,7 +238,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
238
238
|
readonly public: true;
|
|
239
239
|
readonly source: "package-json-export";
|
|
240
240
|
readonly specifier: "@lapis-notes/api/editor/extensions/autocomplete";
|
|
241
|
-
readonly version: "0.
|
|
241
|
+
readonly version: "0.2.0";
|
|
242
242
|
};
|
|
243
243
|
readonly "@lapis-notes/api/editor/extensions/class-highlighter": {
|
|
244
244
|
readonly entry: "@lapis-notes/api/editor/extensions/class-highlighter";
|
|
@@ -248,7 +248,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
248
248
|
readonly public: true;
|
|
249
249
|
readonly source: "package-json-export";
|
|
250
250
|
readonly specifier: "@lapis-notes/api/editor/extensions/class-highlighter";
|
|
251
|
-
readonly version: "0.
|
|
251
|
+
readonly version: "0.2.0";
|
|
252
252
|
};
|
|
253
253
|
readonly "@lapis-notes/api/editor/extensions/fold-gutter": {
|
|
254
254
|
readonly entry: "@lapis-notes/api/editor/extensions/fold-gutter";
|
|
@@ -258,7 +258,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
258
258
|
readonly public: true;
|
|
259
259
|
readonly source: "package-json-export";
|
|
260
260
|
readonly specifier: "@lapis-notes/api/editor/extensions/fold-gutter";
|
|
261
|
-
readonly version: "0.
|
|
261
|
+
readonly version: "0.2.0";
|
|
262
262
|
};
|
|
263
263
|
readonly "@lapis-notes/api/editor/extensions/gutter-line-style-sync": {
|
|
264
264
|
readonly entry: "@lapis-notes/api/editor/extensions/gutter-line-style-sync";
|
|
@@ -268,7 +268,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
268
268
|
readonly public: true;
|
|
269
269
|
readonly source: "package-json-export";
|
|
270
270
|
readonly specifier: "@lapis-notes/api/editor/extensions/gutter-line-style-sync";
|
|
271
|
-
readonly version: "0.
|
|
271
|
+
readonly version: "0.2.0";
|
|
272
272
|
};
|
|
273
273
|
readonly "@lapis-notes/api/editor/extensions/lint": {
|
|
274
274
|
readonly entry: "@lapis-notes/api/editor/extensions/lint";
|
|
@@ -278,7 +278,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
278
278
|
readonly public: true;
|
|
279
279
|
readonly source: "package-json-export";
|
|
280
280
|
readonly specifier: "@lapis-notes/api/editor/extensions/lint";
|
|
281
|
-
readonly version: "0.
|
|
281
|
+
readonly version: "0.2.0";
|
|
282
282
|
};
|
|
283
283
|
readonly "@lapis-notes/api/editor/extensions/search": {
|
|
284
284
|
readonly entry: "@lapis-notes/api/editor/extensions/search";
|
|
@@ -288,7 +288,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
288
288
|
readonly public: true;
|
|
289
289
|
readonly source: "package-json-export";
|
|
290
290
|
readonly specifier: "@lapis-notes/api/editor/extensions/search";
|
|
291
|
-
readonly version: "0.
|
|
291
|
+
readonly version: "0.2.0";
|
|
292
292
|
};
|
|
293
293
|
readonly "@lapis-notes/api/editor/language-service": {
|
|
294
294
|
readonly entry: "@lapis-notes/api/editor/language-service";
|
|
@@ -298,7 +298,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
298
298
|
readonly public: true;
|
|
299
299
|
readonly source: "package-json-export";
|
|
300
300
|
readonly specifier: "@lapis-notes/api/editor/language-service";
|
|
301
|
-
readonly version: "0.
|
|
301
|
+
readonly version: "0.2.0";
|
|
302
302
|
};
|
|
303
303
|
readonly "@lapis-notes/api/empty-view": {
|
|
304
304
|
readonly entry: "@lapis-notes/api/empty-view";
|
|
@@ -308,7 +308,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
308
308
|
readonly public: true;
|
|
309
309
|
readonly source: "package-json-export";
|
|
310
310
|
readonly specifier: "@lapis-notes/api/empty-view";
|
|
311
|
-
readonly version: "0.
|
|
311
|
+
readonly version: "0.2.0";
|
|
312
312
|
};
|
|
313
313
|
readonly "@lapis-notes/api/icon": {
|
|
314
314
|
readonly entry: "@lapis-notes/api/icon";
|
|
@@ -318,7 +318,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
318
318
|
readonly public: true;
|
|
319
319
|
readonly source: "package-json-export";
|
|
320
320
|
readonly specifier: "@lapis-notes/api/icon";
|
|
321
|
-
readonly version: "0.
|
|
321
|
+
readonly version: "0.2.0";
|
|
322
322
|
};
|
|
323
323
|
readonly "@lapis-notes/api/language-service": {
|
|
324
324
|
readonly entry: "@lapis-notes/api/language-service";
|
|
@@ -328,7 +328,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
328
328
|
readonly public: true;
|
|
329
329
|
readonly source: "package-json-export";
|
|
330
330
|
readonly specifier: "@lapis-notes/api/language-service";
|
|
331
|
-
readonly version: "0.
|
|
331
|
+
readonly version: "0.2.0";
|
|
332
332
|
};
|
|
333
333
|
readonly "@lapis-notes/api/language-service/worker": {
|
|
334
334
|
readonly entry: "@lapis-notes/api/language-service/worker";
|
|
@@ -338,7 +338,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
338
338
|
readonly public: true;
|
|
339
339
|
readonly source: "package-json-export";
|
|
340
340
|
readonly specifier: "@lapis-notes/api/language-service/worker";
|
|
341
|
-
readonly version: "0.
|
|
341
|
+
readonly version: "0.2.0";
|
|
342
342
|
};
|
|
343
343
|
readonly "@lapis-notes/api/menu": {
|
|
344
344
|
readonly defaultExport: true;
|
|
@@ -349,7 +349,17 @@ export declare const pluginHostModuleRegistry: {
|
|
|
349
349
|
readonly public: true;
|
|
350
350
|
readonly source: "package-json-export";
|
|
351
351
|
readonly specifier: "@lapis-notes/api/menu";
|
|
352
|
-
readonly version: "0.
|
|
352
|
+
readonly version: "0.2.0";
|
|
353
|
+
};
|
|
354
|
+
readonly "@lapis-notes/api/metadata-store": {
|
|
355
|
+
readonly entry: "@lapis-notes/api/metadata-store";
|
|
356
|
+
readonly moduleId: "lapis-notes-api-metadata-store";
|
|
357
|
+
readonly packageName: "@lapis-notes/api";
|
|
358
|
+
readonly platforms: readonly [];
|
|
359
|
+
readonly public: true;
|
|
360
|
+
readonly source: "package-json-export";
|
|
361
|
+
readonly specifier: "@lapis-notes/api/metadata-store";
|
|
362
|
+
readonly version: "0.2.0";
|
|
353
363
|
};
|
|
354
364
|
readonly "@lapis-notes/api/metadata-value": {
|
|
355
365
|
readonly entry: "@lapis-notes/api/metadata-value";
|
|
@@ -359,7 +369,47 @@ export declare const pluginHostModuleRegistry: {
|
|
|
359
369
|
readonly public: true;
|
|
360
370
|
readonly source: "package-json-export";
|
|
361
371
|
readonly specifier: "@lapis-notes/api/metadata-value";
|
|
362
|
-
readonly version: "0.
|
|
372
|
+
readonly version: "0.2.0";
|
|
373
|
+
};
|
|
374
|
+
readonly "@lapis-notes/api/native-editing-intents": {
|
|
375
|
+
readonly entry: "@lapis-notes/api/native-editing-intents";
|
|
376
|
+
readonly moduleId: "lapis-notes-api-native-editing-intents";
|
|
377
|
+
readonly packageName: "@lapis-notes/api";
|
|
378
|
+
readonly platforms: readonly ["web", "electron-renderer"];
|
|
379
|
+
readonly public: true;
|
|
380
|
+
readonly source: "package-json-export";
|
|
381
|
+
readonly specifier: "@lapis-notes/api/native-editing-intents";
|
|
382
|
+
readonly version: "0.2.0";
|
|
383
|
+
};
|
|
384
|
+
readonly "@lapis-notes/api/native-history-index": {
|
|
385
|
+
readonly entry: "@lapis-notes/api/native-history-index";
|
|
386
|
+
readonly moduleId: "lapis-notes-api-native-history-index";
|
|
387
|
+
readonly packageName: "@lapis-notes/api";
|
|
388
|
+
readonly platforms: readonly ["web", "electron-renderer"];
|
|
389
|
+
readonly public: true;
|
|
390
|
+
readonly source: "package-json-export";
|
|
391
|
+
readonly specifier: "@lapis-notes/api/native-history-index";
|
|
392
|
+
readonly version: "0.2.0";
|
|
393
|
+
};
|
|
394
|
+
readonly "@lapis-notes/api/native-tasks": {
|
|
395
|
+
readonly entry: "@lapis-notes/api/native-tasks";
|
|
396
|
+
readonly moduleId: "lapis-notes-api-native-tasks";
|
|
397
|
+
readonly packageName: "@lapis-notes/api";
|
|
398
|
+
readonly platforms: readonly ["web", "electron-renderer"];
|
|
399
|
+
readonly public: true;
|
|
400
|
+
readonly source: "package-json-export";
|
|
401
|
+
readonly specifier: "@lapis-notes/api/native-tasks";
|
|
402
|
+
readonly version: "0.2.0";
|
|
403
|
+
};
|
|
404
|
+
readonly "@lapis-notes/api/native-turns": {
|
|
405
|
+
readonly entry: "@lapis-notes/api/native-turns";
|
|
406
|
+
readonly moduleId: "lapis-notes-api-native-turns";
|
|
407
|
+
readonly packageName: "@lapis-notes/api";
|
|
408
|
+
readonly platforms: readonly ["web", "electron-renderer"];
|
|
409
|
+
readonly public: true;
|
|
410
|
+
readonly source: "package-json-export";
|
|
411
|
+
readonly specifier: "@lapis-notes/api/native-turns";
|
|
412
|
+
readonly version: "0.2.0";
|
|
363
413
|
};
|
|
364
414
|
readonly "@lapis-notes/api/path": {
|
|
365
415
|
readonly entry: "@lapis-notes/api/path";
|
|
@@ -369,7 +419,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
369
419
|
readonly public: true;
|
|
370
420
|
readonly source: "package-json-export";
|
|
371
421
|
readonly specifier: "@lapis-notes/api/path";
|
|
372
|
-
readonly version: "0.
|
|
422
|
+
readonly version: "0.2.0";
|
|
373
423
|
};
|
|
374
424
|
readonly "@lapis-notes/api/plugin-assets": {
|
|
375
425
|
readonly entry: "@lapis-notes/api/plugin-assets";
|
|
@@ -379,7 +429,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
379
429
|
readonly public: true;
|
|
380
430
|
readonly source: "package-json-export";
|
|
381
431
|
readonly specifier: "@lapis-notes/api/plugin-assets";
|
|
382
|
-
readonly version: "0.
|
|
432
|
+
readonly version: "0.2.0";
|
|
383
433
|
};
|
|
384
434
|
readonly "@lapis-notes/api/plugin-distribution-host": {
|
|
385
435
|
readonly entry: "@lapis-notes/api/plugin-distribution-host";
|
|
@@ -389,7 +439,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
389
439
|
readonly public: true;
|
|
390
440
|
readonly source: "package-json-export";
|
|
391
441
|
readonly specifier: "@lapis-notes/api/plugin-distribution-host";
|
|
392
|
-
readonly version: "0.
|
|
442
|
+
readonly version: "0.2.0";
|
|
393
443
|
};
|
|
394
444
|
readonly "@lapis-notes/api/plugin-host-modules": {
|
|
395
445
|
readonly entry: "@lapis-notes/api/plugin-host-modules";
|
|
@@ -399,7 +449,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
399
449
|
readonly public: true;
|
|
400
450
|
readonly source: "package-json-export";
|
|
401
451
|
readonly specifier: "@lapis-notes/api/plugin-host-modules";
|
|
402
|
-
readonly version: "0.
|
|
452
|
+
readonly version: "0.2.0";
|
|
403
453
|
};
|
|
404
454
|
readonly "@lapis-notes/api/registry/schema": {
|
|
405
455
|
readonly entry: "@lapis-notes/api/registry/schema";
|
|
@@ -409,7 +459,17 @@ export declare const pluginHostModuleRegistry: {
|
|
|
409
459
|
readonly public: true;
|
|
410
460
|
readonly source: "package-json-export";
|
|
411
461
|
readonly specifier: "@lapis-notes/api/registry/schema";
|
|
412
|
-
readonly version: "0.
|
|
462
|
+
readonly version: "0.2.0";
|
|
463
|
+
};
|
|
464
|
+
readonly "@lapis-notes/api/runtime": {
|
|
465
|
+
readonly entry: "@lapis-notes/api/runtime";
|
|
466
|
+
readonly moduleId: "lapis-notes-api-runtime";
|
|
467
|
+
readonly packageName: "@lapis-notes/api";
|
|
468
|
+
readonly platforms: readonly ["web", "electron-renderer"];
|
|
469
|
+
readonly public: true;
|
|
470
|
+
readonly source: "package-json-export";
|
|
471
|
+
readonly specifier: "@lapis-notes/api/runtime";
|
|
472
|
+
readonly version: "0.2.0";
|
|
413
473
|
};
|
|
414
474
|
readonly "@lapis-notes/api/search-embedding-worker": {
|
|
415
475
|
readonly entry: "@lapis-notes/api/search-embedding-worker";
|
|
@@ -419,7 +479,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
419
479
|
readonly public: true;
|
|
420
480
|
readonly source: "package-json-export";
|
|
421
481
|
readonly specifier: "@lapis-notes/api/search-embedding-worker";
|
|
422
|
-
readonly version: "0.
|
|
482
|
+
readonly version: "0.2.0";
|
|
423
483
|
};
|
|
424
484
|
readonly "@lapis-notes/api/select": {
|
|
425
485
|
readonly entry: "@lapis-notes/api/select";
|
|
@@ -429,7 +489,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
429
489
|
readonly public: true;
|
|
430
490
|
readonly source: "package-json-export";
|
|
431
491
|
readonly specifier: "@lapis-notes/api/select";
|
|
432
|
-
readonly version: "0.
|
|
492
|
+
readonly version: "0.2.0";
|
|
433
493
|
};
|
|
434
494
|
readonly "@lapis-notes/api/server-host": {
|
|
435
495
|
readonly entry: "@lapis-notes/api/server-host";
|
|
@@ -439,7 +499,27 @@ export declare const pluginHostModuleRegistry: {
|
|
|
439
499
|
readonly public: true;
|
|
440
500
|
readonly source: "package-json-export";
|
|
441
501
|
readonly specifier: "@lapis-notes/api/server-host";
|
|
442
|
-
readonly version: "0.
|
|
502
|
+
readonly version: "0.2.0";
|
|
503
|
+
};
|
|
504
|
+
readonly "@lapis-notes/api/sync-repository": {
|
|
505
|
+
readonly entry: "@lapis-notes/api/sync-repository";
|
|
506
|
+
readonly moduleId: "lapis-notes-api-sync-repository";
|
|
507
|
+
readonly packageName: "@lapis-notes/api";
|
|
508
|
+
readonly platforms: readonly ["web", "electron-renderer"];
|
|
509
|
+
readonly public: true;
|
|
510
|
+
readonly source: "package-json-export";
|
|
511
|
+
readonly specifier: "@lapis-notes/api/sync-repository";
|
|
512
|
+
readonly version: "0.2.0";
|
|
513
|
+
};
|
|
514
|
+
readonly "@lapis-notes/api/sync-security-host": {
|
|
515
|
+
readonly entry: "@lapis-notes/api/sync-security-host";
|
|
516
|
+
readonly moduleId: "lapis-notes-api-sync-security-host";
|
|
517
|
+
readonly packageName: "@lapis-notes/api";
|
|
518
|
+
readonly platforms: readonly [];
|
|
519
|
+
readonly public: true;
|
|
520
|
+
readonly source: "package-json-export";
|
|
521
|
+
readonly specifier: "@lapis-notes/api/sync-security-host";
|
|
522
|
+
readonly version: "0.2.0";
|
|
443
523
|
};
|
|
444
524
|
readonly "@lapis-notes/api/telemetry": {
|
|
445
525
|
readonly entry: "@lapis-notes/api/telemetry";
|
|
@@ -449,7 +529,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
449
529
|
readonly public: true;
|
|
450
530
|
readonly source: "package-json-export";
|
|
451
531
|
readonly specifier: "@lapis-notes/api/telemetry";
|
|
452
|
-
readonly version: "0.
|
|
532
|
+
readonly version: "0.2.0";
|
|
453
533
|
};
|
|
454
534
|
readonly "@lapis-notes/api/vault": {
|
|
455
535
|
readonly entry: "@lapis-notes/api/vault";
|
|
@@ -459,7 +539,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
459
539
|
readonly public: true;
|
|
460
540
|
readonly source: "package-json-export";
|
|
461
541
|
readonly specifier: "@lapis-notes/api/vault";
|
|
462
|
-
readonly version: "0.
|
|
542
|
+
readonly version: "0.2.0";
|
|
463
543
|
};
|
|
464
544
|
readonly "@lapis-notes/api/workspace-host": {
|
|
465
545
|
readonly entry: "@lapis-notes/api/workspace-host";
|
|
@@ -469,7 +549,7 @@ export declare const pluginHostModuleRegistry: {
|
|
|
469
549
|
readonly public: true;
|
|
470
550
|
readonly source: "package-json-export";
|
|
471
551
|
readonly specifier: "@lapis-notes/api/workspace-host";
|
|
472
|
-
readonly version: "0.
|
|
552
|
+
readonly version: "0.2.0";
|
|
473
553
|
};
|
|
474
554
|
readonly "@lapis-notes/markdown": {
|
|
475
555
|
readonly entry: "@lapis-notes/markdown";
|