dsh-kb-picker 0.0.0-stage → 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/LICENSE +21 -0
- package/README.md +26 -2
- package/cordis.patch.yml +3 -0
- package/lib/client.js +281 -0
- package/lib/index.js +14 -0
- package/package.json +48 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 wang678678
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
-
#
|
|
1
|
+
# dsh-kb-picker
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
DSH 输入框增强:知识库选择器(dsh-knowledge)+ 原生附件回形针。
|
|
4
|
+
|
|
5
|
+
Composer controls for DeepSeek Harness: knowledge-base picker and native-attachment paperclip.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```powershell
|
|
10
|
+
dsh plugin --profile desktop add dsh-kb-picker
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Or from GitHub:
|
|
14
|
+
|
|
15
|
+
```powershell
|
|
16
|
+
dsh plugin --profile desktop add file:C:/path/to/dsh-kb-picker
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Files
|
|
20
|
+
|
|
21
|
+
- `lib/index.js` — host side
|
|
22
|
+
- `lib/client.js` — web client side (if present)
|
|
23
|
+
- `cordis.patch.yml` — bundle patch
|
|
24
|
+
|
|
25
|
+
## License
|
|
26
|
+
|
|
27
|
+
MIT © 2026 wang678678
|
package/cordis.patch.yml
ADDED
package/lib/client.js
ADDED
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
window.__ModuleLoader__.load({ id: 'dsh-kb-picker', factory: (require) => {
|
|
2
|
+
var module = { exports: {} };
|
|
3
|
+
var exports = module.exports;
|
|
4
|
+
var React = require('react');
|
|
5
|
+
var h = React.createElement;
|
|
6
|
+
|
|
7
|
+
var BORDER = '1px solid var(--dsh-border, rgba(127,127,127,.35))';
|
|
8
|
+
var TOKEN_PREFIX = '@知识库:';
|
|
9
|
+
var POP_WIDTH = 300;
|
|
10
|
+
|
|
11
|
+
function tokenOf(b) { return TOKEN_PREFIX + b.name; }
|
|
12
|
+
function stripTokens(s) {
|
|
13
|
+
return String(s || '').replace(/@知识库:[^\s]+/g, '').replace(/[ \t]{2,}/g, ' ').replace(/\n{3,}/g, '\n\n').trim();
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function iconPaperclip() {
|
|
17
|
+
return h('svg', { width: 16, height: 16, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 1.8, strokeLinecap: 'round', strokeLinejoin: 'round', 'aria-hidden': 'true' },
|
|
18
|
+
h('path', { d: 'M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48' }));
|
|
19
|
+
}
|
|
20
|
+
function iconFileSearch(size, color) {
|
|
21
|
+
size = size || 17;
|
|
22
|
+
return h('svg', { width: size, height: size, viewBox: '0 0 24 24', fill: 'none', stroke: color || 'currentColor', strokeWidth: size <= 14 ? 1.9 : 1.8, strokeLinecap: 'round', strokeLinejoin: 'round', 'aria-hidden': 'true' },
|
|
23
|
+
h('path', { d: 'M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z' }),
|
|
24
|
+
h('path', { d: 'M14 2v6h6' }),
|
|
25
|
+
h('circle', { cx: 8.7, cy: 16.7, r: 3.2 }),
|
|
26
|
+
h('path', { d: 'M10.9 18.9 13.4 21.4' }));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
var btnStyle = {
|
|
30
|
+
width: 24, height: 24, padding: 0, borderRadius: 6, border: 0,
|
|
31
|
+
background: 'transparent', color: 'var(--dsh-text-tertiary, #8a8a8a)',
|
|
32
|
+
cursor: 'pointer', display: 'inline-flex', alignItems: 'center', justifyContent: 'center'
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
function useDraft(props) {
|
|
36
|
+
var state = typeof props.useInput === 'function' ? props.useInput(function (s) { return s; }) : null;
|
|
37
|
+
if (state && typeof state.draft === 'string') return state.draft;
|
|
38
|
+
if (props.input && typeof props.input.draft === 'string') return props.input.draft;
|
|
39
|
+
return '';
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
var pluginCtx = null;
|
|
43
|
+
|
|
44
|
+
function AttachButton(props) {
|
|
45
|
+
var ref = React.useRef(null);
|
|
46
|
+
var sessionId = props.sessionId || (props.session && props.session.sessionId);
|
|
47
|
+
function openPicker() { if (ref.current) ref.current.click(); }
|
|
48
|
+
function onChange(e) {
|
|
49
|
+
var files = Array.prototype.slice.call((e.target && e.target.files) || []);
|
|
50
|
+
if (e.target) e.target.value = '';
|
|
51
|
+
if (!files.length) return;
|
|
52
|
+
try {
|
|
53
|
+
var conv = pluginCtx && pluginCtx.get('conversation');
|
|
54
|
+
if (!conv || !sessionId) return;
|
|
55
|
+
var shell = conv.input.shell(sessionId);
|
|
56
|
+
var drafts = conv.createDrafts(sessionId, files);
|
|
57
|
+
var ids = drafts.map(function (d) { return d.id; });
|
|
58
|
+
if (!shell.addAttachments(ids)) {
|
|
59
|
+
drafts.forEach(function (d) { try { conv.releaseDraftAttachment(d.id); } catch (err) {} });
|
|
60
|
+
}
|
|
61
|
+
} catch (err) {
|
|
62
|
+
if (typeof console !== 'undefined') console.warn('dsh-kb-picker attach failed', err);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
return h('span', { style: { display: 'inline-flex', alignItems: 'center' } },
|
|
66
|
+
h('input', { ref: ref, type: 'file', multiple: true, style: { display: 'none' }, onChange: onChange }),
|
|
67
|
+
h('button', { type: 'button', className: 'dsh-kb-picker-btn', title: '上传文件', 'aria-label': '上传文件', onClick: openPicker, style: btnStyle }, iconPaperclip())
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
function KbButton(props) {
|
|
72
|
+
var useState = React.useState;
|
|
73
|
+
var useEffect = React.useEffect;
|
|
74
|
+
var useRef = React.useRef;
|
|
75
|
+
|
|
76
|
+
var draft = useDraft(props);
|
|
77
|
+
var draftRef = useRef(draft);
|
|
78
|
+
draftRef.current = draft;
|
|
79
|
+
var actions = props.inputActions || {};
|
|
80
|
+
|
|
81
|
+
var anchorRef = useRef(null);
|
|
82
|
+
var popRef = useRef(null);
|
|
83
|
+
var basesRef = useRef(null);
|
|
84
|
+
var selectedRef = useRef(null);
|
|
85
|
+
var lastDraftRef = useRef('');
|
|
86
|
+
|
|
87
|
+
var openPair = useState(false);
|
|
88
|
+
var open = openPair[0], setOpen = openPair[1];
|
|
89
|
+
var selPair = useState(null);
|
|
90
|
+
var selected = selPair[0], setSelectedState = selPair[1];
|
|
91
|
+
var errPair = useState('');
|
|
92
|
+
var err = errPair[0], setErr = errPair[1];
|
|
93
|
+
|
|
94
|
+
useEffect(function () { selectedRef.current = selected; }, [selected]);
|
|
95
|
+
|
|
96
|
+
function setSelected(b) {
|
|
97
|
+
selectedRef.current = b;
|
|
98
|
+
setSelectedState(b);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
function fill() {
|
|
102
|
+
var el = popRef.current;
|
|
103
|
+
if (!el) return;
|
|
104
|
+
while (el.firstChild) el.removeChild(el.firstChild);
|
|
105
|
+
var title = document.createElement('div');
|
|
106
|
+
title.textContent = '选择知识库';
|
|
107
|
+
title.style.cssText = 'padding:4px 8px 6px;font-size:12px;opacity:.65';
|
|
108
|
+
el.appendChild(title);
|
|
109
|
+
|
|
110
|
+
if (basesRef.current === null) {
|
|
111
|
+
var loading = document.createElement('div');
|
|
112
|
+
loading.textContent = err ? ('加载失败:' + err) : '加载中…';
|
|
113
|
+
loading.style.cssText = 'padding:8px;font-size:12px;opacity:.6';
|
|
114
|
+
el.appendChild(loading);
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
if (!basesRef.current.length) {
|
|
118
|
+
var empty = document.createElement('div');
|
|
119
|
+
empty.textContent = '没有知识库';
|
|
120
|
+
empty.style.cssText = 'padding:8px;font-size:12px;opacity:.6';
|
|
121
|
+
el.appendChild(empty);
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
basesRef.current.forEach(function (b) {
|
|
125
|
+
var row = document.createElement('button');
|
|
126
|
+
row.type = 'button';
|
|
127
|
+
row.style.cssText = 'display:flex;width:100%;align-items:center;justify-content:space-between;gap:8px;padding:8px;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer;font-size:13px;text-align:left';
|
|
128
|
+
row.onmouseenter = function () { row.style.background = 'var(--dsh-hover, rgba(127,127,127,.12))'; };
|
|
129
|
+
row.onmouseleave = function () { row.style.background = 'transparent'; };
|
|
130
|
+
var name = document.createElement('span');
|
|
131
|
+
name.textContent = b.name;
|
|
132
|
+
var count = document.createElement('span');
|
|
133
|
+
count.textContent = (b.count || 0) + ' 文档';
|
|
134
|
+
count.style.cssText = 'font-size:12px;opacity:.6';
|
|
135
|
+
row.appendChild(name);
|
|
136
|
+
row.appendChild(count);
|
|
137
|
+
row.onclick = function () { pick(b); };
|
|
138
|
+
el.appendChild(row);
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
function position() {
|
|
143
|
+
var el = popRef.current, anchor = anchorRef.current;
|
|
144
|
+
if (!el || !anchor) return;
|
|
145
|
+
var r = anchor.getBoundingClientRect();
|
|
146
|
+
el.style.left = Math.max(8, Math.min(r.left, window.innerWidth - POP_WIDTH - 8)) + 'px';
|
|
147
|
+
el.style.bottom = Math.max(8, window.innerHeight - r.top + 8) + 'px';
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
function close() {
|
|
151
|
+
if (popRef.current) {
|
|
152
|
+
var el = popRef.current;
|
|
153
|
+
popRef.current = null;
|
|
154
|
+
if (el.parentNode) el.parentNode.removeChild(el);
|
|
155
|
+
}
|
|
156
|
+
document.removeEventListener('mousedown', onDocDown, true);
|
|
157
|
+
document.removeEventListener('keydown', onKey, true);
|
|
158
|
+
window.removeEventListener('scroll', close, true);
|
|
159
|
+
window.removeEventListener('resize', close, true);
|
|
160
|
+
setOpen(false);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
function onDocDown(e) {
|
|
164
|
+
if (popRef.current && !popRef.current.contains(e.target) && !(anchorRef.current && anchorRef.current.contains(e.target))) close();
|
|
165
|
+
}
|
|
166
|
+
function onKey(e) { if (e.key === 'Escape') close(); }
|
|
167
|
+
|
|
168
|
+
function ensureBases() {
|
|
169
|
+
if (basesRef.current !== null) return;
|
|
170
|
+
fetch('/knowledge/bases').then(function (r) { return r.json(); }).then(function (j) {
|
|
171
|
+
var list = (j && j.value) || [];
|
|
172
|
+
basesRef.current = list.map(function (b) {
|
|
173
|
+
return { id: b.id, name: b.name, count: (b.documentCount != null ? b.documentCount : b.storedDocCount) || 0 };
|
|
174
|
+
});
|
|
175
|
+
fill();
|
|
176
|
+
}).catch(function (e) {
|
|
177
|
+
setErr(String((e && e.message) || e));
|
|
178
|
+
basesRef.current = [];
|
|
179
|
+
fill();
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
function openPopover() {
|
|
184
|
+
if (popRef.current) { close(); return; }
|
|
185
|
+
var el = document.createElement('div');
|
|
186
|
+
el.style.cssText = 'position:fixed;z-index:2147483647;width:' + POP_WIDTH + 'px;max-height:360px;overflow:auto;padding:6px;border-radius:10px;border:' + BORDER + ';background:var(--dsh-surface,#fff);box-shadow:0 8px 28px rgba(0,0,0,.22);font-size:13px;color:var(--dsh-text,inherit)';
|
|
187
|
+
document.body.appendChild(el);
|
|
188
|
+
popRef.current = el;
|
|
189
|
+
position();
|
|
190
|
+
setOpen(true);
|
|
191
|
+
fill();
|
|
192
|
+
ensureBases();
|
|
193
|
+
document.addEventListener('mousedown', onDocDown, true);
|
|
194
|
+
document.addEventListener('keydown', onKey, true);
|
|
195
|
+
window.addEventListener('scroll', close, true);
|
|
196
|
+
window.addEventListener('resize', close, true);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
function pick(b) {
|
|
200
|
+
var cur = stripTokens(draftRef.current);
|
|
201
|
+
var next = (cur ? cur + (/\s$/.test(cur) ? '' : ' ') : '') + tokenOf(b);
|
|
202
|
+
if (typeof actions.setDraft === 'function') actions.setDraft(next);
|
|
203
|
+
setSelected(b);
|
|
204
|
+
close();
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
function clear() {
|
|
208
|
+
var next = stripTokens(draftRef.current);
|
|
209
|
+
if (typeof actions.setDraft === 'function') actions.setDraft(next);
|
|
210
|
+
setSelected(null);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
useEffect(function () {
|
|
214
|
+
var d = String(draft || '');
|
|
215
|
+
var prev = lastDraftRef.current;
|
|
216
|
+
lastDraftRef.current = d;
|
|
217
|
+
if (!selected) return;
|
|
218
|
+
var tok = tokenOf(selected);
|
|
219
|
+
if (d.indexOf(tok) >= 0) return;
|
|
220
|
+
if (d.trim() === '') return;
|
|
221
|
+
if (prev.indexOf(tok) >= 0) { setSelected(null); return; }
|
|
222
|
+
if (typeof actions.setDraft === 'function') actions.setDraft(tok + ' ' + d);
|
|
223
|
+
}, [draft, selected && selected.id]);
|
|
224
|
+
|
|
225
|
+
useEffect(function () { return function () { close(); }; }, []);
|
|
226
|
+
|
|
227
|
+
var chip = selected ? h('span', {
|
|
228
|
+
title: '检索范围:' + selected.name + '(发送后仍保留,点 × 取消)',
|
|
229
|
+
style: {
|
|
230
|
+
display: 'inline-flex', alignItems: 'center', gap: 4, maxWidth: 160,
|
|
231
|
+
padding: '2px 6px', borderRadius: 999, border: BORDER, fontSize: 12,
|
|
232
|
+
whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis',
|
|
233
|
+
background: 'var(--dsh-hover, rgba(127,127,127,.10))'
|
|
234
|
+
}
|
|
235
|
+
}, iconFileSearch(13, '#00B96B'), selected.name, h('button', {
|
|
236
|
+
type: 'button', title: '取消知识库', 'aria-label': '取消知识库',
|
|
237
|
+
onClick: clear,
|
|
238
|
+
style: { border: 0, background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0, fontSize: 12, opacity: 0.7 }
|
|
239
|
+
}, '×')) : null;
|
|
240
|
+
|
|
241
|
+
return h('span', { style: { display: 'inline-flex', alignItems: 'center', gap: 4 } },
|
|
242
|
+
h('button', {
|
|
243
|
+
ref: anchorRef, type: 'button', className: 'dsh-kb-picker-btn', title: '选择知识库', 'aria-label': '选择知识库',
|
|
244
|
+
onClick: openPopover, style: btnStyle
|
|
245
|
+
}, iconFileSearch(17, selected ? '#00B96B' : undefined)),
|
|
246
|
+
chip
|
|
247
|
+
);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
var hoverStyleId = 'dsh-kb-picker-style';
|
|
251
|
+
function ensureStyle() {
|
|
252
|
+
if (typeof document === 'undefined' || document.getElementById(hoverStyleId)) return;
|
|
253
|
+
var st = document.createElement('style');
|
|
254
|
+
st.id = hoverStyleId;
|
|
255
|
+
st.textContent = '.dsh-kb-picker-btn:hover{background:var(--dsh-hover,rgba(127,127,127,.10))}';
|
|
256
|
+
document.head.appendChild(st);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
function apply(ctx) {
|
|
260
|
+
pluginCtx = ctx;
|
|
261
|
+
ensureStyle();
|
|
262
|
+
ctx.effect(function () {
|
|
263
|
+
var d1 = ctx.slots.inject('conversation.input.left', function () {
|
|
264
|
+
return ctx.slots.register(
|
|
265
|
+
{ name: 'conversation.input.left', id: 'kb-attach', order: 90, label: '上传文件' },
|
|
266
|
+
AttachButton
|
|
267
|
+
);
|
|
268
|
+
});
|
|
269
|
+
var d2 = ctx.slots.inject('conversation.input.left', function () {
|
|
270
|
+
return ctx.slots.register(
|
|
271
|
+
{ name: 'conversation.input.left', id: 'kb-picker', order: 100, label: '知识库' },
|
|
272
|
+
KbButton
|
|
273
|
+
);
|
|
274
|
+
});
|
|
275
|
+
return function () { d1(); d2(); };
|
|
276
|
+
}, 'dsh-kb-picker: composer slots');
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
module.exports = { apply: apply, inject: ['slots'] };
|
|
280
|
+
return module.exports;
|
|
281
|
+
} });
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const name = 'dsh-kb-picker'
|
|
2
|
+
|
|
3
|
+
export const inject = ['systemPrompt']
|
|
4
|
+
|
|
5
|
+
// Host half: teach every agent how to read the composer's compact scope token.
|
|
6
|
+
// The token is inserted by the client half; keeping the rule here means the five
|
|
7
|
+
// project presets do not need their persona text edited.
|
|
8
|
+
export function apply(ctx) {
|
|
9
|
+
ctx.effect(() => ctx.systemPrompt.section({
|
|
10
|
+
name: 'kb-picker-scope',
|
|
11
|
+
order: 400,
|
|
12
|
+
text: '当用户消息中出现 @知识库:<名称> 时,表示本轮只在该知识库内检索:先调用 knowledge_list_bases 找到与 <名称> 匹配的 baseId,再用 knowledge_search 并带上该 baseId;不要跨库检索。没有该标记时按正常方式处理。'
|
|
13
|
+
}), 'dsh-kb-picker: scope instruction')
|
|
14
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,50 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-kb-picker",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "DSH 输入框增强:知识库选择器(dsh-knowledge)+ 原生附件回形针。 / Composer controls for DeepSeek Harness: knowledge-base picker and native-attachment paperclip.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./lib/index.js",
|
|
9
|
+
"./client": "./lib/client.js",
|
|
10
|
+
"./package.json": "./package.json"
|
|
11
|
+
},
|
|
12
|
+
"dsh": {
|
|
13
|
+
"bundle": {
|
|
14
|
+
"patch": "./cordis.patch.yml"
|
|
15
|
+
},
|
|
16
|
+
"client": {
|
|
17
|
+
"inject": [
|
|
18
|
+
"@deepseek-ai/dsh-client-runtime",
|
|
19
|
+
"@deepseek-ai/dsh-client-locale"
|
|
20
|
+
],
|
|
21
|
+
"platform": "web"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"react": ">=18"
|
|
26
|
+
},
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"author": "wang678678",
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/wang678678/dsh-local-plugins.git",
|
|
32
|
+
"directory": "packages/dsh-kb-picker"
|
|
33
|
+
},
|
|
34
|
+
"homepage": "https://github.com/wang678678/dsh-local-plugins/tree/main/packages/dsh-kb-picker",
|
|
35
|
+
"bugs": {
|
|
36
|
+
"url": "https://github.com/wang678678/dsh-local-plugins/issues"
|
|
37
|
+
},
|
|
38
|
+
"files": [
|
|
39
|
+
"lib",
|
|
40
|
+
"cordis.patch.yml",
|
|
41
|
+
"README.md",
|
|
42
|
+
"LICENSE"
|
|
43
|
+
],
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public"
|
|
46
|
+
},
|
|
47
|
+
"engines": {
|
|
48
|
+
"dsh": ">=0.2.1-rc.1 <0.3.0"
|
|
49
|
+
}
|
|
50
|
+
}
|