@deepseek-ai/dsh-tool-cordis 0.1.7-alpha.1 → 0.1.7-alpha.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.
@@ -1585,6 +1585,20 @@ export const SERVICE_API = [
1585
1585
  },
1586
1586
  ],
1587
1587
  },
1588
+ {
1589
+ key: 'pluginRegistryProbe',
1590
+ summary: 'Compares public registry responses on the Host; the Client owns the initial selection.',
1591
+ description: 'Compares public registry responses on the Host; the Client owns the initial selection.',
1592
+ methods: [
1593
+ {
1594
+ signature: '@Remote async fastest(): Promise<string | null>',
1595
+ description: 'Race npm and npmmirror HTTPS ping responses through the Host\'s fetch proxy. Concurrent readers share a probe; a winner cancels and awaits the other request.',
1596
+ parameters: [],
1597
+ returns: 'the first registry with a successful response, or null when disabled or neither responds successfully; results are cached.',
1598
+ throws: ['rejects when the service has been unloaded.'],
1599
+ },
1600
+ ],
1601
+ },
1588
1602
  {
1589
1603
  key: 'productTelemetry',
1590
1604
  summary: 'Host analytics sender.',
@@ -6127,7 +6141,7 @@ export const TYPE_API = [
6127
6141
  },
6128
6142
  {
6129
6143
  name: 'SessionFollowRequest',
6130
- declaration: 'export interface SessionFollowRequest {\n readonly address: SessionAddress;\n readonly maxMessages?: number;\n readonly assistantStream?: true;\n}',
6144
+ declaration: 'export interface SessionFollowRequest extends Pick<SessionPageRequest, \'maxMessages\' | \'turnWindow\'> {\n readonly address: SessionAddress;\n readonly assistantStream?: true;\n}',
6131
6145
  },
6132
6146
  {
6133
6147
  name: 'SessionForkRequest',
@@ -6231,7 +6245,7 @@ export const TYPE_API = [
6231
6245
  },
6232
6246
  {
6233
6247
  name: 'SessionPageRequest',
6234
- declaration: 'export interface SessionPageRequest {\n readonly address: SessionAddress;\n readonly throughSeq: number;\n readonly beforeSeq?: number;\n readonly maxMessages?: number;\n}',
6248
+ declaration: 'export interface SessionPageRequest {\n readonly address: SessionAddress;\n readonly throughSeq: number;\n readonly beforeSeq?: number;\n readonly maxMessages?: number;\n readonly turnWindow?: {\n readonly minMessages: number;\n readonly minTurns: number;\n };\n}',
6235
6249
  },
6236
6250
  {
6237
6251
  name: 'SessionPersistenceCreateOptions',
@@ -7115,7 +7129,7 @@ export const TYPE_API = [
7115
7129
  },
7116
7130
  {
7117
7131
  name: 'ToolDefinition',
7118
- declaration: 'export interface ToolDefinition extends ToolSchema {\n readonly output: ToolOutputDefinition;\n execute(args: unknown, exec: ToolRunContext): Promise<unknown>;\n finalizeContent?(exec: Readonly<ToolExecution>, result: Readonly<ToolExecutionResult>): ContentBlock[] | undefined;\n timeoutMs?: number;\n isConcurrencySafe?(args: unknown): boolean;\n presentCall?(args: unknown): ToolCallView | undefined;\n presentResult?(args: unknown, result: ToolResult): ToolResultView | undefined;\n}',
7132
+ declaration: 'export interface ToolDefinition extends ToolSchema {\n readonly output: ToolOutputDefinition;\n execute(args: unknown, exec: ToolRunContext): Promise<unknown>;\n projectContent?(exec: Readonly<ToolExecution>, result: Readonly<ToolExecutionResult>): ContentBlock[] | undefined;\n finalizeContent?(exec: Readonly<ToolExecution>, result: Readonly<ToolExecutionResult>): ContentBlock[] | undefined;\n timeoutMs?: number;\n isConcurrencySafe?(args: unknown): boolean;\n presentCall?(args: unknown): ToolCallView | undefined;\n presentResult?(args: unknown, result: ToolResult): ToolResultView | undefined;\n}',
7119
7133
  },
7120
7134
  {
7121
7135
  name: 'ToolDispatchExecution',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-tool-cordis",
3
3
  "description": "Read-only runtime API inspection for Harness plugin development",
4
- "version": "0.1.7-alpha.1",
4
+ "version": "0.1.7-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -32,22 +32,22 @@
32
32
  ],
33
33
  "license": "MIT",
34
34
  "peerDependencies": {
35
- "@deepseek-ai/cordis": "^4.0.3",
36
- "@deepseek-ai/cordis-plugin-loader": "^1.0.4",
37
- "@deepseek-ai/dsh-agent": "^0.1.7-alpha.1",
38
- "@deepseek-ai/dsh-app-boot": "^0.1.7-alpha.1",
39
- "@deepseek-ai/dsh-cordis-host-runner": "^0.1.7-alpha.1",
40
- "@deepseek-ai/dsh-tools": "^0.1.7-alpha.1"
35
+ "@deepseek-ai/cordis": "~4.0.4",
36
+ "@deepseek-ai/cordis-plugin-loader": "~1.0.5",
37
+ "@deepseek-ai/dsh-agent": "0.1.7-alpha.2",
38
+ "@deepseek-ai/dsh-app-boot": "0.1.7-alpha.2",
39
+ "@deepseek-ai/dsh-tools": "0.1.7-alpha.2",
40
+ "@deepseek-ai/dsh-cordis-host-runner": "0.1.7-alpha.2"
41
41
  },
42
42
  "devDependencies": {
43
- "@deepseek-ai/cordis": "^4.0.3",
44
- "@deepseek-ai/cordis-plugin-group": "^1.0.3",
45
- "@deepseek-ai/cordis-plugin-loader": "^1.0.4",
46
- "@deepseek-ai/dsh-agent": "^0.1.7-alpha.1",
47
- "@deepseek-ai/dsh-app-boot": "^0.1.7-alpha.1",
48
- "@deepseek-ai/dsh-cordis-host-runner": "^0.1.7-alpha.1",
49
- "@deepseek-ai/dsh-system-prompt": "^0.1.7-alpha.1",
50
- "@deepseek-ai/dsh-tools": "^0.1.7-alpha.1",
51
- "@deepseek-ai/schemastery": "^3.18.3"
43
+ "@deepseek-ai/cordis": "~4.0.4",
44
+ "@deepseek-ai/cordis-plugin-group": "~1.0.4",
45
+ "@deepseek-ai/cordis-plugin-loader": "~1.0.5",
46
+ "@deepseek-ai/dsh-agent": "0.1.7-alpha.2",
47
+ "@deepseek-ai/dsh-cordis-host-runner": "0.1.7-alpha.2",
48
+ "@deepseek-ai/dsh-app-boot": "0.1.7-alpha.2",
49
+ "@deepseek-ai/dsh-tools": "0.1.7-alpha.2",
50
+ "@deepseek-ai/dsh-system-prompt": "0.1.7-alpha.2",
51
+ "@deepseek-ai/schemastery": "~3.18.4"
52
52
  }
53
53
  }