@lapis-notes/search 0.1.2 → 0.1.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 +37 -0
- package/LICENSE.md +3 -7
- package/README.md +1 -1
- package/dist/native-search.d.ts +5 -0
- package/dist/native-search.js +24 -0
- package/dist/search-history-versions.svelte +197 -0
- package/dist/search-history-versions.svelte.d.ts +8 -0
- package/dist/search-manager.d.ts +3 -0
- package/dist/search-manager.js +76 -7
- package/dist/search-panel.css +103 -0
- package/dist/search-panel.svelte +343 -41
- package/dist/search-panel.svelte.d.ts +8 -1
- package/dist/search-plugin.d.ts +7 -1
- package/dist/search-plugin.js +97 -15
- package/dist/search-provider-controller.d.ts +25 -0
- package/dist/search-provider-controller.js +157 -0
- package/dist/search-provider-groups.d.ts +14 -0
- package/dist/search-provider-groups.js +60 -0
- package/dist/search-settings-observer.d.ts +4 -0
- package/dist/search-settings-observer.js +10 -0
- package/dist/search-settings-tab.js +2 -2
- package/dist/search-tool-result.css +2 -7
- package/dist/search-tool-result.svelte +9 -2
- package/dist/search-view.d.ts +5 -1
- package/dist/search-view.js +32 -4
- package/manifest.json +19 -2
- package/package.json +15 -9
- package/registry-content/overview.md +8 -0
- package/registry.json +151 -2
package/manifest.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "search",
|
|
3
3
|
"name": "Search",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.4",
|
|
5
5
|
"minAppVersion": "0.1.0",
|
|
6
6
|
"description": "Search files, metadata, tags, and note content.",
|
|
7
7
|
"author": "Lapis Notes",
|
|
8
|
+
"authorAvatarUrl": "https://gravatar.com/avatar/f7226d5f9cf07af2a6a60d3ab11413abb9d2e2eb60f2d5cce17356845a166155?size=256&d=initials",
|
|
9
|
+
"isDesktopOnly": false,
|
|
8
10
|
"lapis": {
|
|
9
11
|
"manifestVersion": 1,
|
|
10
12
|
"source": "official",
|
|
@@ -18,7 +20,22 @@
|
|
|
18
20
|
"sharedDependencies": [
|
|
19
21
|
"@lapis-notes/api",
|
|
20
22
|
"@lapis-notes/api/agent-skills",
|
|
21
|
-
"@lapis-notes/api/agent-tools"
|
|
23
|
+
"@lapis-notes/api/agent-tools",
|
|
24
|
+
"@codemirror/autocomplete",
|
|
25
|
+
"@codemirror/commands",
|
|
26
|
+
"@codemirror/language",
|
|
27
|
+
"@codemirror/state",
|
|
28
|
+
"@codemirror/view",
|
|
29
|
+
"@lezer/common",
|
|
30
|
+
"@lezer/highlight",
|
|
31
|
+
"@lezer/lr",
|
|
32
|
+
"svelte/renderer/5.56.10",
|
|
33
|
+
"svelte/renderer/5.56.10/attachments",
|
|
34
|
+
"svelte/renderer/5.56.10/events",
|
|
35
|
+
"svelte/renderer/5.56.10/internal/client",
|
|
36
|
+
"svelte/renderer/5.56.10/internal/disclose-version",
|
|
37
|
+
"svelte/renderer/5.56.10/internal/flags/legacy",
|
|
38
|
+
"svelte/renderer/5.56.10/reactivity"
|
|
22
39
|
],
|
|
23
40
|
"requiresReloadOnUpdate": false
|
|
24
41
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lapis-notes/search",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Lapis Notes vault search plugin",
|
|
5
|
-
"license": "
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist",
|
|
9
9
|
"manifest.json",
|
|
10
10
|
"registry.json",
|
|
11
|
+
"registry-content",
|
|
11
12
|
"styles.css",
|
|
12
13
|
"README.md",
|
|
13
14
|
"CHANGELOG.md",
|
|
@@ -37,14 +38,19 @@
|
|
|
37
38
|
"./registry.json": "./registry.json"
|
|
38
39
|
},
|
|
39
40
|
"dependencies": {
|
|
40
|
-
"@lapismd/design-core": "^0.
|
|
41
|
+
"@lapismd/design-core": "^0.7.0",
|
|
41
42
|
"@lucide/svelte": "^0.523.0"
|
|
42
43
|
},
|
|
43
44
|
"peerDependencies": {
|
|
44
|
-
"@codemirror/
|
|
45
|
-
"@codemirror/
|
|
46
|
-
"@codemirror/
|
|
47
|
-
"@
|
|
45
|
+
"@codemirror/autocomplete": "^6.18.6",
|
|
46
|
+
"@codemirror/commands": "^6.8.1",
|
|
47
|
+
"@codemirror/language": "^6.11.3",
|
|
48
|
+
"@codemirror/state": "^6.6.0",
|
|
49
|
+
"@codemirror/view": "^6.42.1",
|
|
50
|
+
"@lapis-notes/api": "^0.2.0",
|
|
51
|
+
"@lezer/common": "^1.5.2",
|
|
52
|
+
"@lezer/highlight": "^1.2.3",
|
|
53
|
+
"@lezer/lr": "^1.4.2",
|
|
48
54
|
"svelte": "^5.0.0"
|
|
49
55
|
},
|
|
50
56
|
"devDependencies": {
|
|
@@ -55,8 +61,8 @@
|
|
|
55
61
|
"svelte": "^5.38.2",
|
|
56
62
|
"svelte-check": "^4.3.1",
|
|
57
63
|
"typescript": "~5.8.3",
|
|
58
|
-
"vite": "^6.4.
|
|
59
|
-
"vitest": "^4.1.
|
|
64
|
+
"vite": "^6.4.4",
|
|
65
|
+
"vitest": "^4.1.12"
|
|
60
66
|
},
|
|
61
67
|
"repository": {
|
|
62
68
|
"type": "git",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Search
|
|
2
|
+
|
|
3
|
+
Search finds files by name, path, metadata, tags, and note content. Results open
|
|
4
|
+
through the normal workspace, making the panel a reusable navigation surface as
|
|
5
|
+
well as a way to explore the vault index.
|
|
6
|
+
|
|
7
|
+
Compatible agent tools can use the same scoped search boundary, while Lapis
|
|
8
|
+
continues to own the index and result navigation.
|
package/registry.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://registry.lapis.md/schemas/plugin-source.schema.json",
|
|
3
|
-
"schemaVersion":
|
|
3
|
+
"schemaVersion": 2,
|
|
4
4
|
"categories": ["navigation", "search"],
|
|
5
5
|
"highlights": [
|
|
6
6
|
"Search file names, metadata, tags, and note content.",
|
|
@@ -8,5 +8,154 @@
|
|
|
8
8
|
"Expose scoped search capabilities to compatible agent tools."
|
|
9
9
|
],
|
|
10
10
|
"documentationUrl": "https://github.com/lapismd/lapis-plugins/tree/main/packages/search#readme",
|
|
11
|
-
"
|
|
11
|
+
"appearance": {
|
|
12
|
+
"icon": "search",
|
|
13
|
+
"accent": "#F59E0B"
|
|
14
|
+
},
|
|
15
|
+
"media": {
|
|
16
|
+
"banner": {
|
|
17
|
+
"alt": "Lapis Search with populated indexed results in the primary left sidebar beside an empty main workspace.",
|
|
18
|
+
"images": {
|
|
19
|
+
"preview": {
|
|
20
|
+
"path": "registry-assets/banner.preview.webp"
|
|
21
|
+
},
|
|
22
|
+
"full": {
|
|
23
|
+
"path": "registry-assets/banner.full.webp"
|
|
24
|
+
},
|
|
25
|
+
"light": {
|
|
26
|
+
"path": "registry-assets/banner.light.webp"
|
|
27
|
+
},
|
|
28
|
+
"dark": {
|
|
29
|
+
"path": "registry-assets/banner.dark.webp"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"capture": {
|
|
33
|
+
"storyId": "plugins-search-registry-screenshots--overview",
|
|
34
|
+
"focus": "left-sidebar"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"overview": {
|
|
38
|
+
"alt": "Lapis Search with populated results and its filter and view settings open.",
|
|
39
|
+
"images": {
|
|
40
|
+
"preview": {
|
|
41
|
+
"path": "registry-assets/overview.preview.webp"
|
|
42
|
+
},
|
|
43
|
+
"full": {
|
|
44
|
+
"path": "registry-assets/overview.full.webp"
|
|
45
|
+
},
|
|
46
|
+
"light": {
|
|
47
|
+
"path": "registry-assets/overview.light.webp"
|
|
48
|
+
},
|
|
49
|
+
"dark": {
|
|
50
|
+
"path": "registry-assets/overview.dark.webp"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"capture": {
|
|
54
|
+
"storyId": "plugins-search-registry-screenshots--search-filters",
|
|
55
|
+
"focus": "full-shell"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"gallery": [
|
|
60
|
+
{
|
|
61
|
+
"id": "search-sidebar",
|
|
62
|
+
"alt": "Left Search sidebar showing populated indexed results and expanded match context from notes and metadata.",
|
|
63
|
+
"images": {
|
|
64
|
+
"preview": {
|
|
65
|
+
"path": "registry-assets/gallery/search-sidebar.preview.webp"
|
|
66
|
+
},
|
|
67
|
+
"full": {
|
|
68
|
+
"path": "registry-assets/gallery/search-sidebar.full.webp"
|
|
69
|
+
},
|
|
70
|
+
"light": {
|
|
71
|
+
"path": "registry-assets/gallery/search-sidebar.light.webp"
|
|
72
|
+
},
|
|
73
|
+
"dark": {
|
|
74
|
+
"path": "registry-assets/gallery/search-sidebar.dark.webp"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"capture": {
|
|
78
|
+
"storyId": "plugins-search-registry-screenshots--search-sidebar",
|
|
79
|
+
"focus": "left-sidebar"
|
|
80
|
+
},
|
|
81
|
+
"card": {
|
|
82
|
+
"headline": [
|
|
83
|
+
{
|
|
84
|
+
"text": "Find the right note",
|
|
85
|
+
"tone": "neutral"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"text": "from one query",
|
|
89
|
+
"tone": "amber"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"description": [
|
|
93
|
+
{
|
|
94
|
+
"text": "Search",
|
|
95
|
+
"tone": "neutral"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"text": "filenames, properties, tags, and content",
|
|
99
|
+
"tone": "amber"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"text": "from a reusable indexed sidebar.",
|
|
103
|
+
"tone": "neutral"
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"id": "search-filters",
|
|
110
|
+
"alt": "Left Search sidebar with populated results and its file type, retrieval, and view settings open.",
|
|
111
|
+
"images": {
|
|
112
|
+
"preview": {
|
|
113
|
+
"path": "registry-assets/gallery/search-filters.preview.webp"
|
|
114
|
+
},
|
|
115
|
+
"full": {
|
|
116
|
+
"path": "registry-assets/gallery/search-filters.full.webp"
|
|
117
|
+
},
|
|
118
|
+
"light": {
|
|
119
|
+
"path": "registry-assets/gallery/search-filters.light.webp"
|
|
120
|
+
},
|
|
121
|
+
"dark": {
|
|
122
|
+
"path": "registry-assets/gallery/search-filters.dark.webp"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"capture": {
|
|
126
|
+
"storyId": "plugins-search-registry-screenshots--search-filters",
|
|
127
|
+
"focus": "left-sidebar"
|
|
128
|
+
},
|
|
129
|
+
"card": {
|
|
130
|
+
"headline": [
|
|
131
|
+
{
|
|
132
|
+
"text": "Shape every query",
|
|
133
|
+
"tone": "neutral"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"text": "without leaving Search",
|
|
137
|
+
"tone": "cyan"
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"description": [
|
|
141
|
+
{
|
|
142
|
+
"text": "Tune",
|
|
143
|
+
"tone": "neutral"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"text": "file type, retrieval, case, context,",
|
|
147
|
+
"tone": "amber"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"text": "and structured semantic matching",
|
|
151
|
+
"tone": "violet"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"text": "from one compact panel.",
|
|
155
|
+
"tone": "neutral"
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
]
|
|
12
161
|
}
|