@lmzhen/dsh-evolution-platform-contract 0.58.0 → 0.59.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.
@@ -1,14 +1,17 @@
1
1
  /**
2
2
  * The tools half of the family's platform contract.
3
3
  */
4
- import type { ToolDefinition, ToolGuard, ToolRestriction } from '@deepseek-ai/dsh-tools';
4
+ import type { ToolDefinition, ToolGuard, ToolRegistrationOptions, ToolRestriction } from '@deepseek-ai/dsh-tools';
5
5
  /** The subset of the platform tools registry the family consumes. */
6
+ export type { ToolDefinition, ToolRegistrationOptions } from '@deepseek-ai/dsh-tools';
6
7
  export interface ToolsPort {
7
- register(definition: ToolDefinition): () => void;
8
+ register(definition: ToolDefinition, options?: ToolRegistrationOptions): () => void;
8
9
  guard(guard: ToolGuard): () => void;
9
10
  restrict(filter: ToolRestriction): () => void;
10
11
  /** The visible tool under this scope, or undefined; the opt-in probe reads this. */
11
12
  get(name: string, scope?: unknown): unknown;
13
+ /** Resolve the step admission for one review child agent. */
14
+ resolve?(context: unknown): Promise<unknown>;
12
15
  /** Raw execute for callers that own the platform call shape (review aux path). */
13
16
  execute?<T = unknown>(input: unknown): Promise<T>;
14
17
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-platform-contract",
3
3
  "description": "Pure family-facing platform capabilities and result vocabulary for the dsh-evolution family (community build)",
4
- "version": "0.58.0",
4
+ "version": "0.59.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },