dsh-agent-plugins-market 0.14.0 → 0.14.2

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.
Files changed (24) hide show
  1. package/client/client.js +368 -132
  2. package/client/client.js.map +1 -1
  3. package/lib/packages/market-catalog/src/application/source-store.js +4 -0
  4. package/lib/packages/market-catalog/src/scanning/paths.js +31 -10
  5. package/lib/packages/market-catalog/src/scanning/source-name.js +40 -0
  6. package/lib/packages/market-mcp/src/application/mcp/mcp-bridge-config.js +13 -6
  7. package/lib/packages/market-mcp/src/runtime/mcp/bridge/bridge.js +7 -4
  8. package/lib/packages/market-mcp/src/runtime/mcp/bridge/host-contract.js +18 -5
  9. package/lib/packages/market-runtime/src/runtime/agents/teammate-role-runtime.js +23 -1
  10. package/lib/packages/market-runtime/src/runtime/host/extension-progress.js +62 -17
  11. package/lib/packages/market-runtime/src/runtime/host/extension-runtime.js +46 -4
  12. package/lib/packages/market-runtime/src/runtime/host/extension-tool-gates.js +20 -5
  13. package/lib/packages/market-runtime/src/runtime/surfaces/extension-hooks.js +11 -2
  14. package/lib/types/packages/market-catalog/src/scanning/paths.d.ts +24 -0
  15. package/lib/types/packages/market-catalog/src/scanning/source-name.d.ts +39 -0
  16. package/lib/types/packages/market-contracts/src/contracts/market.d.ts +6 -0
  17. package/lib/types/packages/market-mcp/src/application/mcp/mcp-bridge-config.d.ts +13 -6
  18. package/lib/types/packages/market-mcp/src/runtime/mcp/bridge/host-contract.d.ts +60 -49
  19. package/lib/types/packages/market-mcp/src/runtime/mcp/bridge/projection.d.ts +2 -2
  20. package/lib/types/packages/market-runtime/src/runtime/host/extension-progress.d.ts +14 -5
  21. package/lib/types/packages/market-runtime/src/runtime/host/extension-runtime.d.ts +21 -4
  22. package/lib/types/packages/market-runtime/src/runtime/host/extension-tool-gates.d.ts +11 -3
  23. package/lib/types/packages/market-runtime/src/runtime/surfaces/extension-hooks.d.ts +9 -0
  24. package/package.json +74 -65
@@ -1,15 +1,67 @@
1
1
  /**
2
- * Structural mirrors of the harness tool-registration surface the bridge
3
- * registers against: the runtime accepts the same object shape the upstream
4
- * `@deepseek-ai/dsh-tools` bridge registers, so the model-facing behavior is
5
- * identical. Mirrored rather than imported so the market never loads a second
6
- * copy of the host runtime.
2
+ * The host's tool registration contract, named in one place.
3
+ *
4
+ * The bridge hands its tools to the host's registry, so the shapes it hands over are the
5
+ * host's own. This module used to mirror them by hand — the host's `ToolDefinition`,
6
+ * `ToolExecution` and `ToolExecutionResult` written out field by field — and the mirror
7
+ * drifted: the host's result is a discriminated union whose failure variant carries no
8
+ * `value`, and the host's execution context grew the call identity, the parsed arguments
9
+ * and the step admission. A hand-written copy of a discriminated union is exactly what a
10
+ * compiler cannot check, so the drift surfaced only as a cast at the registration seam.
11
+ *
12
+ * The host's shapes are therefore taken from the host — imported TYPE-ONLY, so the market
13
+ * still loads no second copy of the host runtime — and the compiler now checks the
14
+ * bridge's definitions against the host's real contract instead of against a copy of it.
15
+ *
16
+ * What stays written here is the plugin's own side of the seam: the execution facts the
17
+ * bridge reads, and the `ToolHost` it talks to. Both are consumer shapes rather than
18
+ * copies of the host's, and both are checked against the host where it matters: the
19
+ * definition the bridge registers must satisfy the host's `ToolDefinition`.
7
20
  *
8
21
  * @module runtime/mcp-client/host-contract
9
22
  */
10
- import type { ContentBlock } from '@deepseek-ai/dsh-llm';
11
- import type { JsonSchemaNode } from '@deepseek-ai/dsh-tools';
12
- /** Lossless JSON value vocabulary the bridge exchanges with the registry. */
23
+ import type { Agent } from '@deepseek-ai/dsh-agent';
24
+ import type { ToolDefinition as HostToolDefinition, ToolExecution, ToolExecutionResult } from '@deepseek-ai/dsh-tools';
25
+ /**
26
+ * The execution facts the bridge reads.
27
+ *
28
+ * The host's execution context carries the call identity, the parsed arguments, the step
29
+ * admission and an executor-assigned token. The bridge needs two of them: the caller's
30
+ * cancellation, and the calling agent — because a result carrying an image is stored
31
+ * against the model route that will read it. The agent is optional here: a tool may run
32
+ * outside a session, and the bridge then refuses the image rather than guessing a route.
33
+ */
34
+ export interface BridgeExecution {
35
+ readonly signal: AbortSignal;
36
+ readonly agent?: Agent;
37
+ }
38
+ /**
39
+ * The host's registered-tool shape, with the execution context the bridge reads.
40
+ *
41
+ * Everything but the execution body is the host's own declaration, so the output schema,
42
+ * the projection callbacks and the presentation hooks are checked against the contract
43
+ * the host enforces. The execution body takes the facts the bridge reads: the host's
44
+ * context satisfies them, so a definition built here registers on the host's registry
45
+ * without a cast.
46
+ */
47
+ export interface ToolDefinition extends Omit<HostToolDefinition, 'execute'> {
48
+ execute(args: unknown, exec: BridgeExecution): Promise<unknown>;
49
+ }
50
+ /**
51
+ * The host's execution context and its settled outcome.
52
+ *
53
+ * The outcome is the host's discriminated union: a success carries the canonical value, a
54
+ * failure carries the error and no value. The bridge's finalization reads the value only
55
+ * on the success branch, which the union is what makes checkable.
56
+ */
57
+ export type { ToolExecution, ToolExecutionResult };
58
+ /**
59
+ * Lossless JSON value vocabulary the bridge exchanges with the registry.
60
+ *
61
+ * The host keeps its own `JsonValue` in a package this plugin does not depend on; the
62
+ * vocabulary is the same one (null, boolean, number, string, array, string-keyed object),
63
+ * so a value written here is a value the host's schema accepts.
64
+ */
13
65
  export type JsonValue = string | number | boolean | null | JsonValue[] | {
14
66
  [key: string]: JsonValue;
15
67
  };
@@ -18,46 +70,6 @@ export type McpResult<Structured extends JsonValue = JsonValue> = {
18
70
  content: JsonValue[];
19
71
  structuredContent?: Structured;
20
72
  };
21
- /** The agent on whose behalf a tool call runs (structural mirror). */
22
- interface ToolExecutionAgent {
23
- session?: {
24
- requestHeader?: () => {
25
- config?: {
26
- provider?: string;
27
- model?: string;
28
- };
29
- } | undefined;
30
- };
31
- options?: {
32
- provider?: string;
33
- model?: string;
34
- };
35
- }
36
- /** Execution identity handed to a tool body (structural mirror). */
37
- export interface ToolExecution {
38
- /** Caller-owned cancellation for this invocation. */
39
- readonly signal: AbortSignal;
40
- /** The calling agent, when the call came from one. */
41
- readonly agent?: ToolExecutionAgent;
42
- }
43
- /** A settled tool outcome (structural mirror). */
44
- export interface ToolExecutionResult {
45
- readonly value: JsonValue;
46
- readonly content: ContentBlock[];
47
- readonly isError: boolean;
48
- }
49
- /** One registered tool (structural mirror of the host registration shape). */
50
- export interface ToolDefinition {
51
- readonly name: string;
52
- readonly description: string;
53
- readonly parameters: Record<string, unknown>;
54
- readonly output: {
55
- readonly schema: JsonSchemaNode;
56
- render(args: unknown, value: JsonValue): ContentBlock[];
57
- };
58
- execute(args: unknown, exec: ToolExecution): Promise<unknown>;
59
- finalizeContent?(exec: Readonly<ToolExecution>, result: Readonly<ToolExecutionResult>): ContentBlock[] | undefined;
60
- }
61
73
  /**
62
74
  * The host surface the bridge needs: a tool registry, a logger, and the two
63
75
  * optional services image projection consults. Structural — the cordis
@@ -75,4 +87,3 @@ export interface ToolHost {
75
87
  /** Optional service lookup; image projection degrades when absent. */
76
88
  getService?(name: 'attachments' | 'llm'): unknown;
77
89
  }
78
- export {};
@@ -16,7 +16,7 @@
16
16
  * @module runtime/mcp-client/projection
17
17
  */
18
18
  import type { ContentBlock } from '@deepseek-ai/dsh-llm';
19
- import type { JsonValue, McpResult, ToolExecution, ToolHost } from './host-contract.js';
19
+ import type { BridgeExecution, JsonValue, McpResult, ToolHost } from './host-contract.js';
20
20
  /** Async rich projection staged for one exact execution. */
21
21
  export interface PreparedProjection {
22
22
  /** Canonical MCP value returned by execute before registry materialization. */
@@ -33,7 +33,7 @@ export declare function containsImage(content: JsonValue[]): boolean;
33
33
  * Any refusal projects every image as text while retaining the canonical raw
34
34
  * value for programmatic callers.
35
35
  */
36
- export declare function prepareImageProjection(host: ToolHost, exec: ToolExecution, content: JsonValue[], toolName: string): Promise<ContentBlock[]>;
36
+ export declare function prepareImageProjection(host: ToolHost, exec: BridgeExecution, content: JsonValue[], toolName: string): Promise<ContentBlock[]>;
37
37
  /**
38
38
  * Extract text from an MCP content array into a single string.
39
39
  * - text blocks: join with '\n'
@@ -61,14 +61,23 @@ export declare function scanExtensionProgress(session: Session): boolean;
61
61
  * reader guards it with its own disposal flag and owns the injected fiber: a
62
62
  * disposed reader never registers again, and an older effect cleanup never
63
63
  * clears a newer registration pointer.
64
+ *
65
+ * The host registers asynchronously: the handle arrives after the effect that
66
+ * started it, so the attempt tracks the handle it waits for. A handle that
67
+ * lands after its effect was cleaned up is released rather than kept, and it
68
+ * never passes for a newer registration.
64
69
  */
65
70
  export declare class ExtensionProgressReader {
66
71
  private readonly ctx;
67
- private unregister;
72
+ private attempt;
73
+ private handle;
68
74
  private injection;
69
75
  private disposed;
70
- /** Settles once the current registration attempt has run; production reads do not await it. */
71
- readonly ready: PromiseLike<unknown>;
76
+ /**
77
+ * Settles once the current registration attempt has run; production reads do not await it.
78
+ * @returns the current attempt's settlement, or the injection's when no attempt has started.
79
+ */
80
+ get ready(): PromiseLike<unknown>;
72
81
  /**
73
82
  * Register the projection for the lifetime of the calling context.
74
83
  * @param ctx - context whose fiber owns the registration.
@@ -79,13 +88,13 @@ export declare class ExtensionProgressReader {
79
88
  /**
80
89
  * Whether one session carries authored progress.
81
90
  * @param session - session to answer for.
82
- * @returns the folded answer, or the log scan when no registry is published.
91
+ * @returns the folded answer, or the log scan while no handle has landed.
83
92
  */
84
93
  read(session: Session): boolean;
85
94
  /**
86
95
  * Unregister the projection and release the injected fiber, so a registry that
87
96
  * arrives or cycles later cannot register this reader again.
88
- * @returns after the injected fiber has unloaded.
97
+ * @returns after the projection is released and the injected fiber has unloaded.
89
98
  */
90
99
  dispose(): Promise<void>;
91
100
  }
@@ -3,6 +3,7 @@ import type { Agent } from '@deepseek-ai/dsh-agent';
3
3
  import { type ExtensionResource, type ExtensionSelection, type ExtensionPresetInput, type ExtensionWindowPayload, type ExtensionHooksOverview, type ExtensionHookRunInput, type ExtensionHookRunResult } from '../../../../market-contracts/src/contracts/extension-presets.js';
4
4
  import type { ExtensionRouteService } from '../../extension-service.js';
5
5
  import { ExtensionSessionState, type ExtensionApplyReceipt } from './extension-session-state.js';
6
+ import type { ExtensionToolDenialReason } from './extension-tool-gates.js';
6
7
  import { type InventoryRetryPolicy } from './inventory-retry.js';
7
8
  export interface ExtensionRuntimePorts {
8
9
  dataRoot: string;
@@ -67,13 +68,14 @@ export declare class ExtensionRuntime implements ExtensionRouteService {
67
68
  /**
68
69
  * Why one agent's managed capabilities are denied right now, if they are.
69
70
  *
70
- * A stale agent and a withdrawn resource produce the same model-facing
71
- * failure, so the status surface needs the difference: "still reading the
72
- * catalog" is transient, "the resource is gone" is not.
71
+ * A stale agent, a session that has not published its selection yet and a
72
+ * withdrawn resource produce the same model-facing failure, so the status
73
+ * surface needs the difference: the first two are transient, the third is
74
+ * not.
73
75
  * @param agent - the agent to describe.
74
76
  * @returns the reason one of its capabilities is denied, or undefined.
75
77
  */
76
- denialReason(agent: Agent): 'extension-inventory-pending' | undefined;
78
+ denialReason(agent: Agent): ExtensionToolDenialReason | undefined;
77
79
  allows(agent: Agent, resourceId: string, suiteId?: string): boolean;
78
80
  private availableIds;
79
81
  /**
@@ -128,6 +130,21 @@ export declare class ExtensionRuntime implements ExtensionRouteService {
128
130
  /** One declared hook's dry run: the composition resolves the command, this service only gates availability and forwards. */
129
131
  hookRun(input: ExtensionHookRunInput): Promise<ExtensionHookRunResult>;
130
132
  private agent;
133
+ /**
134
+ * The selection a child session starts from.
135
+ *
136
+ * A child session has no panel of its own: nobody chooses its resources, so a
137
+ * capture that invents an authorization the parent never gave is a guess, and
138
+ * the gate then denies what the parent's own session granted. The parent's
139
+ * committed selection is the answer, and the fork path already treats it as
140
+ * the child's own: a forked child's log carries the parent's committed
141
+ * binding, which the session state commits as the child's revision 1.
142
+ *
143
+ * @param agent - the child agent.
144
+ * @returns the parent's committed selection, or undefined when there is no
145
+ * live parent or the parent has no selection of its own.
146
+ */
147
+ private inheritedSelection;
131
148
  private initialSelection;
132
149
  window(sessionId: string): Promise<ExtensionWindowPayload>;
133
150
  /**
@@ -20,16 +20,24 @@ export interface ExtensionToolOwnership {
20
20
  lspProviders(): readonly ExtensionLspProvider[];
21
21
  ownsLspTool(): boolean;
22
22
  }
23
+ /**
24
+ * Why a managed capability is denied right now, when the cause is transient.
25
+ *
26
+ * The codes are stable identifiers: a reader tells the two transient causes
27
+ * apart without parsing the text.
28
+ */
29
+ export type ExtensionToolDenialReason = 'extension-inventory-pending' | 'extension-selection-pending';
23
30
  export interface ExtensionToolPolicy {
24
31
  ready(agent: Agent): boolean;
25
32
  allows(agent: Agent, resourceId: string, suiteId?: string): boolean;
26
33
  /**
27
34
  * Why managed capabilities are denied right now, when the cause is transient.
28
35
  *
29
- * A pending catalog read and a withdrawn resource deny identically, so the
30
- * model-facing reason names the difference. Omitted keeps the withdrawal text.
36
+ * A pending catalog read, a session that has not published its selection yet
37
+ * and a withdrawn resource deny identically, so the model-facing reason names
38
+ * the difference. Omitted keeps the withdrawal text.
31
39
  */
32
- denialReason?(agent: Agent): 'extension-inventory-pending' | undefined;
40
+ denialReason?(agent: Agent): ExtensionToolDenialReason | undefined;
33
41
  }
34
42
  export interface ExtensionToolGates {
35
43
  /** Refresh presentation after acknowledged selection changes or provider reconciliation. */
@@ -108,6 +108,15 @@ export declare class ExtensionHooks {
108
108
  private sessionEnd;
109
109
  private observeSubagent;
110
110
  private track;
111
+ /**
112
+ * The turn the current open turn is in.
113
+ *
114
+ * The registry-level read of the host's `turnBoundary` projection is
115
+ * deprecated, so the boundary comes from the agent registry's own typed
116
+ * accessor. The answer is the one it always was: no open turn means no turn,
117
+ * not turn zero. The projection reports `lastTurn` as 0 before the first
118
+ * turn, so the open-turn check is what keeps that zero out of the answer.
119
+ */
111
120
  private lastTurn;
112
121
  /** Fold one point's hooks into the single decision its caller applies. */
113
122
  private runPoint;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "dsh-agent-plugins-market",
3
3
  "icon": "./assets/dsh-agent-plugins.png",
4
4
  "description": "One-stop skills, subagent, MCP and LSP manager inside DeepSeek Harness (DSH), compatible with Claude Code, Codex, Cursor, Kimi and other agent plugin layouts.",
5
- "version": "0.14.0",
5
+ "version": "0.14.2",
6
6
  "type": "module",
7
7
  "main": "lib/index.js",
8
8
  "types": "lib/types/index.d.ts",
@@ -79,31 +79,31 @@
79
79
  ],
80
80
  "peerDependencies": {
81
81
  "@deepseek-ai/cordis": "~4.0.4",
82
- "@deepseek-ai/dsh-agent": ">=0.2.0-rc.2 <0.3.0-0",
83
- "@deepseek-ai/dsh-agent-instructions": ">=0.2.0-rc.2 <0.3.0-0",
84
- "@deepseek-ai/dsh-agent-loop": ">=0.2.0-rc.2 <0.3.0-0",
85
- "@deepseek-ai/dsh-agent-loop-testkit": ">=0.2.0-rc.2 <0.3.0-0",
86
- "@deepseek-ai/dsh-attachment": ">=0.2.0-rc.2 <0.3.0-0",
87
- "@deepseek-ai/dsh-credentials": ">=0.2.0-rc.2 <0.3.0-0",
88
- "@deepseek-ai/dsh-experimental-agent-team": ">=0.2.0-rc.2 <0.3.0-0",
89
- "@deepseek-ai/dsh-experimental-tool-agent-team": ">=0.2.0-rc.2 <0.3.0-0",
90
- "@deepseek-ai/dsh-hooks-claude-code": ">=0.2.0-rc.2 <0.3.0-0",
91
- "@deepseek-ai/dsh-llm": ">=0.2.0-rc.2 <0.3.0-0",
92
- "@deepseek-ai/dsh-mcp-client": ">=0.2.0-rc.2 <0.3.0-0",
93
- "@deepseek-ai/dsh-scope": ">=0.2.0-rc.2 <0.3.0-0",
94
- "@deepseek-ai/dsh-session": ">=0.2.0-rc.2 <0.3.0-0",
95
- "@deepseek-ai/dsh-session-persistence-jsonl": ">=0.2.0-rc.2 <0.3.0-0",
96
- "@deepseek-ai/dsh-session-projection": ">=0.2.0-rc.2 <0.3.0-0",
97
- "@deepseek-ai/dsh-session-query": ">=0.2.0-rc.2 <0.3.0-0",
98
- "@deepseek-ai/dsh-shell": ">=0.2.0-rc.2 <0.3.0-0",
99
- "@deepseek-ai/dsh-skill": ">=0.2.0-rc.2 <0.3.0-0",
100
- "@deepseek-ai/dsh-subagent": ">=0.2.0-rc.2 <0.3.0-0",
101
- "@deepseek-ai/dsh-subagent-spawn-in-process": ">=0.2.0-rc.2 <0.3.0-0",
102
- "@deepseek-ai/dsh-subprocess": ">=0.2.0-rc.2 <0.3.0-0",
103
- "@deepseek-ai/dsh-system-prompt": ">=0.2.0-rc.2 <0.3.0-0",
104
- "@deepseek-ai/dsh-timeout": ">=0.2.0-rc.2 <0.3.0-0",
105
- "@deepseek-ai/dsh-tools": ">=0.2.0-rc.2 <0.3.0-0",
106
- "@deepseek-ai/dsh-util-workspace-path": ">=0.2.0-rc.2 <0.3.0-0"
82
+ "@deepseek-ai/dsh-agent": ">=0.2.2-rc.1 <0.3.0-0",
83
+ "@deepseek-ai/dsh-agent-instructions": ">=0.2.2-rc.1 <0.3.0-0",
84
+ "@deepseek-ai/dsh-agent-loop": ">=0.2.2-rc.1 <0.3.0-0",
85
+ "@deepseek-ai/dsh-agent-loop-testkit": ">=0.2.2-rc.1 <0.3.0-0",
86
+ "@deepseek-ai/dsh-attachment": ">=0.2.2-rc.1 <0.3.0-0",
87
+ "@deepseek-ai/dsh-credentials": ">=0.2.2-rc.1 <0.3.0-0",
88
+ "@deepseek-ai/dsh-experimental-agent-team": ">=0.2.2-rc.1 <0.3.0-0",
89
+ "@deepseek-ai/dsh-experimental-tool-agent-team": ">=0.2.2-rc.1 <0.3.0-0",
90
+ "@deepseek-ai/dsh-hooks-claude-code": ">=0.2.2-rc.1 <0.3.0-0",
91
+ "@deepseek-ai/dsh-llm": ">=0.2.2-rc.1 <0.3.0-0",
92
+ "@deepseek-ai/dsh-mcp-client": ">=0.2.2-rc.1 <0.3.0-0",
93
+ "@deepseek-ai/dsh-scope": ">=0.2.2-rc.1 <0.3.0-0",
94
+ "@deepseek-ai/dsh-session": ">=0.2.2-rc.1 <0.3.0-0",
95
+ "@deepseek-ai/dsh-session-persistence-jsonl": ">=0.2.2-rc.1 <0.3.0-0",
96
+ "@deepseek-ai/dsh-session-projection": ">=0.2.2-rc.1 <0.3.0-0",
97
+ "@deepseek-ai/dsh-session-query": ">=0.2.2-rc.1 <0.3.0-0",
98
+ "@deepseek-ai/dsh-shell": ">=0.2.2-rc.1 <0.3.0-0",
99
+ "@deepseek-ai/dsh-skill": ">=0.2.2-rc.1 <0.3.0-0",
100
+ "@deepseek-ai/dsh-subagent": ">=0.2.2-rc.1 <0.3.0-0",
101
+ "@deepseek-ai/dsh-subagent-spawn-in-process": ">=0.2.2-rc.1 <0.3.0-0",
102
+ "@deepseek-ai/dsh-subprocess": ">=0.2.2-rc.1 <0.3.0-0",
103
+ "@deepseek-ai/dsh-system-prompt": ">=0.2.2-rc.1 <0.3.0-0",
104
+ "@deepseek-ai/dsh-timeout": ">=0.2.2-rc.1 <0.3.0-0",
105
+ "@deepseek-ai/dsh-tools": ">=0.2.2-rc.1 <0.3.0-0",
106
+ "@deepseek-ai/dsh-util-workspace-path": ">=0.2.2-rc.1 <0.3.0-0"
107
107
  },
108
108
  "peerDependenciesMeta": {
109
109
  "@deepseek-ai/dsh-agent-instructions": {
@@ -123,13 +123,13 @@
123
123
  }
124
124
  },
125
125
  "dependencies": {
126
- "@deepseek-ai/dsh-atomic-write": ">=0.2.0-rc.2 <0.3.0-0",
127
- "@deepseek-ai/dsh-home-paths": ">=0.2.0-rc.2 <0.3.0-0",
128
- "@deepseek-ai/dsh-hook-protocol": ">=0.2.0-rc.2 <0.3.0-0",
129
- "@deepseek-ai/dsh-lsp": ">=0.2.0-rc.2 <0.3.0-0",
130
- "@deepseek-ai/dsh-lsp-stdio": ">=0.2.0-rc.2 <0.3.0-0",
131
- "@deepseek-ai/dsh-tool-lsp": ">=0.2.0-rc.2 <0.3.0-0",
132
- "@deepseek-ai/schemastery": "^3.18.4",
126
+ "@deepseek-ai/dsh-atomic-write": ">=0.2.2-rc.1 <0.3.0-0",
127
+ "@deepseek-ai/dsh-home-paths": ">=0.2.2-rc.1 <0.3.0-0",
128
+ "@deepseek-ai/dsh-hook-protocol": ">=0.2.2-rc.1 <0.3.0-0",
129
+ "@deepseek-ai/dsh-lsp": ">=0.2.2-rc.1 <0.3.0-0",
130
+ "@deepseek-ai/dsh-lsp-stdio": ">=0.2.2-rc.1 <0.3.0-0",
131
+ "@deepseek-ai/dsh-tool-lsp": ">=0.2.2-rc.1 <0.3.0-0",
132
+ "@deepseek-ai/schemastery": "^3.19.0",
133
133
  "@modelcontextprotocol/sdk": "^1.30.0",
134
134
  "ajv": "^8.17.1",
135
135
  "fflate": "^0.8.3",
@@ -151,38 +151,47 @@
151
151
  "@codemirror/state": "^6.7.6",
152
152
  "@codemirror/view": "^6.43.12",
153
153
  "@deepseek-ai/cordis": "~4.0.4",
154
- "@deepseek-ai/cosmokit": "^1.8.5",
155
- "@deepseek-ai/dsh-agent": "0.2.1-rc.5",
156
- "@deepseek-ai/dsh-agent-instructions": "0.2.1-rc.5",
157
- "@deepseek-ai/dsh-agent-loop": "0.2.1-rc.5",
158
- "@deepseek-ai/dsh-agent-loop-testkit": "0.2.1-rc.5",
159
- "@deepseek-ai/dsh-attachment": "0.2.1-rc.5",
160
- "@deepseek-ai/dsh-client-store": "0.2.1-rc.5",
161
- "@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.1-rc.5",
162
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.1-rc.5",
163
- "@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.5",
164
- "@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.5",
165
- "@deepseek-ai/dsh-credentials": "0.2.1-rc.5",
166
- "@deepseek-ai/dsh-experimental-agent-team": "0.2.1-rc.5",
167
- "@deepseek-ai/dsh-experimental-tool-agent-team": "0.2.1-rc.5",
168
- "@deepseek-ai/dsh-hooks-claude-code": "0.2.1-rc.5",
169
- "@deepseek-ai/dsh-llm": "0.2.1-rc.5",
170
- "@deepseek-ai/dsh-mcp-client": "0.2.1-rc.5",
171
- "@deepseek-ai/dsh-scope": "0.2.1-rc.5",
172
- "@deepseek-ai/dsh-session": "0.2.1-rc.5",
173
- "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.1-rc.5",
174
- "@deepseek-ai/dsh-session-projection": "0.2.1-rc.5",
175
- "@deepseek-ai/dsh-session-query": "0.2.1-rc.5",
176
- "@deepseek-ai/dsh-shell": "0.2.1-rc.5",
177
- "@deepseek-ai/dsh-skill": "0.2.1-rc.5",
178
- "@deepseek-ai/dsh-subagent": "0.2.1-rc.5",
179
- "@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.1-rc.5",
180
- "@deepseek-ai/dsh-subprocess": "0.2.1-rc.5",
181
- "@deepseek-ai/dsh-system-prompt": "0.2.1-rc.5",
182
- "@deepseek-ai/dsh-timeout": "0.2.1-rc.5",
183
- "@deepseek-ai/dsh-tools": "0.2.1-rc.5",
184
- "@deepseek-ai/dsh-util-code-language": "0.2.1-rc.5",
185
- "@deepseek-ai/dsh-util-workspace-path": "0.2.1-rc.5",
154
+ "@deepseek-ai/cosmokit": "^1.9.0",
155
+ "@deepseek-ai/dsh-agent": "0.2.2-rc.1",
156
+ "@deepseek-ai/dsh-agent-instructions": "0.2.2-rc.1",
157
+ "@deepseek-ai/dsh-agent-loop": "0.2.2-rc.1",
158
+ "@deepseek-ai/dsh-agent-loop-testkit": "0.2.2-rc.1",
159
+ "@deepseek-ai/dsh-attachment": "0.2.2-rc.1",
160
+ "@deepseek-ai/dsh-brand": "0.2.2-rc.1",
161
+ "@deepseek-ai/dsh-client-store": "0.2.2-rc.1",
162
+ "@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.2-rc.1",
163
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.1",
164
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.1",
165
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1",
166
+ "@deepseek-ai/dsh-credentials": "0.2.2-rc.1",
167
+ "@deepseek-ai/dsh-experimental-agent-team": "0.2.2-rc.1",
168
+ "@deepseek-ai/dsh-experimental-tool-agent-team": "0.2.2-rc.1",
169
+ "@deepseek-ai/dsh-fs": "0.2.2-rc.1",
170
+ "@deepseek-ai/dsh-fs-local": "0.2.2-rc.1",
171
+ "@deepseek-ai/dsh-hooks-claude-code": "0.2.2-rc.1",
172
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.1",
173
+ "@deepseek-ai/dsh-mcp-client": "0.2.2-rc.1",
174
+ "@deepseek-ai/dsh-ptc-runtime": "0.2.2-rc.1",
175
+ "@deepseek-ai/dsh-sandbox": "0.2.2-rc.1",
176
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.2-rc.1",
177
+ "@deepseek-ai/dsh-scope": "0.2.2-rc.1",
178
+ "@deepseek-ai/dsh-session": "0.2.2-rc.1",
179
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-rc.1",
180
+ "@deepseek-ai/dsh-session-projection": "0.2.2-rc.1",
181
+ "@deepseek-ai/dsh-session-query": "0.2.2-rc.1",
182
+ "@deepseek-ai/dsh-shell": "0.2.2-rc.1",
183
+ "@deepseek-ai/dsh-skill": "0.2.2-rc.1",
184
+ "@deepseek-ai/dsh-subagent": "0.2.2-rc.1",
185
+ "@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.2-rc.1",
186
+ "@deepseek-ai/dsh-subprocess": "0.2.2-rc.1",
187
+ "@deepseek-ai/dsh-system-prompt": "0.2.2-rc.1",
188
+ "@deepseek-ai/dsh-timeout": "0.2.2-rc.1",
189
+ "@deepseek-ai/dsh-tool-executor-ptc": "0.2.2-rc.1",
190
+ "@deepseek-ai/dsh-tools": "0.2.2-rc.1",
191
+ "@deepseek-ai/dsh-user-approval": "0.2.2-rc.1",
192
+ "@deepseek-ai/dsh-util-code-language": "0.2.2-rc.1",
193
+ "@deepseek-ai/dsh-util-workspace-path": "0.2.2-rc.1",
194
+ "@deepseek-ai/dsh-working-directory": "0.2.2-rc.1",
186
195
  "@eslint/js": "^10.0.1",
187
196
  "@shikijs/langs": "^4.4.3",
188
197
  "@tsdown/css": "^0.22.14",