mirror of
https://github.com/hansjone/dsh-search-mcp.git
synced 2026-10-11 12:53:19 +08:00
Remove settings.plugin.item inject that crashes Desktop 0.2 boot.
Align with dsh-im-ops: settings.section only, plus optional plugins.item after configForms (0.2.5). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
ae0353dd12
commit
1d9a8e75c9
4 changed files with 116 additions and 142 deletions
|
|
@ -12,7 +12,7 @@ test('package exports resolve and peerDependencies stay open', async () => {
|
|||
assert.equal(pkg.exports['.'], './lib/index.js');
|
||||
assert.equal(pkg.exports['./client'], './lib/client.browser.js');
|
||||
assert.equal(pkg.engines.node, '>=20');
|
||||
assert.equal(pkg.version, '0.2.4');
|
||||
assert.equal(pkg.version, '0.2.5');
|
||||
|
||||
for (const name of [
|
||||
'@deepseek-ai/dsh-api-remotes',
|
||||
|
|
@ -35,8 +35,7 @@ test('browser half registers Settings sidebar + deferred form attach', async ()
|
|||
assert.match(client, /SearchMcpSection/);
|
||||
assert.match(client, /createDeferredScope/);
|
||||
assert.match(client, /createMemoryScope/);
|
||||
assert.match(client, /name: "settings\.plugin\.item",\s+key: NS,/);
|
||||
assert.doesNotMatch(client, /name: "settings\.plugin\.item",\s+id:/);
|
||||
assert.doesNotMatch(client, /settings\.plugin\.item/);
|
||||
assert.match(client, /name: "plugins\.item"/);
|
||||
assert.match(client, /configForms/);
|
||||
assert.match(client, /whileServed/);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue