@deepseek-ai/dsh-tool-cordis 0.1.7-rc.2 → 0.2.0-rc.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.
- package/README.i18n.yaml +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/lib/index.js +1 -1
- package/lib/types/api-catalog.js +122 -6
- package/lib/types/index.js +3 -3
- package/package.json +13 -13
package/README.i18n.yaml
CHANGED
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
en: f57a20cd4e76d13c
|
|
40
40
|
zh: 7b673116422bee87
|
|
41
41
|
/deepseek-ai-dsh-tool-cordis/known-limitations-and-deferred-work:
|
|
42
|
-
en:
|
|
43
|
-
zh:
|
|
42
|
+
en: 3c135d9cb67790d2
|
|
43
|
+
zh: ff2d0a444f55d28f
|
|
44
44
|
/deepseek-ai-dsh-tool-cordis/known-limitations-and-deferred-work/dev-note:
|
|
45
45
|
en: 0a1253c6f7b5e8b9
|
|
46
46
|
zh: 9f56528562c7c914
|
package/README.md
CHANGED
|
@@ -68,7 +68,7 @@ Unchanged tool schemas remain prefix-stable. Query results append to history; en
|
|
|
68
68
|
|
|
69
69
|
<a id="known-limitations-and-deferred-work"></a>
|
|
70
70
|
|
|
71
|
-
- Client queries
|
|
71
|
+
- Client queries need a responding page and use the Host runner's [bounded wait and retry policy](../cordis-host-runner/README.md#client-inspection). Inspection cannot invoke service methods, configure plugins, or execute generated code.
|
|
72
72
|
- `Config.listConfigs` walks the profile Loader tree only. Agent preset `plugins` lists mount in detached preset trees, so a plugin present only inside a preset declaration is not listed unless the profile tree also mounts it.
|
|
73
73
|
|
|
74
74
|
<a id="dev-note"></a>
|
package/README.zh.md
CHANGED
|
@@ -68,7 +68,7 @@ Host provider 结合生成的 Service/Event 目录、经 app-boot Config 投影
|
|
|
68
68
|
|
|
69
69
|
<a id="known-limitations-and-deferred-work"></a>
|
|
70
70
|
|
|
71
|
-
- Client
|
|
71
|
+
- Client 查询需要页面响应,并采用 Host runner 的[有界等待与重试策略](../cordis-host-runner/README.zh.md#client-inspection)。检查不能调用服务方法、配置插件或执行生成代码。
|
|
72
72
|
- `Config.listConfigs` 只遍历 profile 的 Loader 树。Agent preset 的 `plugins` 列表挂载在独立的 preset 树中,所以只出现在 preset 声明里的插件不会被列出,除非 profile 树也挂载了它。
|
|
73
73
|
|
|
74
74
|
<a id="dev-note"></a>
|
package/lib/index.js
CHANGED
|
@@ -54,7 +54,7 @@ function apply(ctx) {
|
|
|
54
54
|
}));
|
|
55
55
|
ctx.tools.register(defineTool({
|
|
56
56
|
name: "cordis_inspect_query",
|
|
57
|
-
description: "Run a read-only query declared by an Inspect Provider. platform, provider, and method must come from cordis_inspect_list, and input must satisfy that method's schema. Use this Tool before writing plugin code to read exact Service methods, Event modes, plugin Config schemas, Tool schemas, theme tokens, or live Slot trees and props. Host queries run locally. A Client query waits for the first valid page response
|
|
57
|
+
description: "Run a read-only query declared by an Inspect Provider. platform, provider, and method must come from cordis_inspect_list, and input must satisfy that method's schema. Use this Tool before writing plugin code to read exact Service methods, Event modes, plugin Config schemas, Tool schemas, theme tokens, or live Slot trees and props. Host queries run locally. A Client query waits for the first valid page response within the configured timeout; otherwise it reports a Client failure or asks you to reconnect and retry. This Tool cannot invoke business Service methods or modify the runtime.",
|
|
58
58
|
parameters: {
|
|
59
59
|
platform: {
|
|
60
60
|
type: "string",
|
package/lib/types/api-catalog.js
CHANGED
|
@@ -851,6 +851,12 @@ export const SERVICE_API = [
|
|
|
851
851
|
parameters: [],
|
|
852
852
|
returns: 'a Host-only snapshot, or null while signed out or when the credential changed during the read.',
|
|
853
853
|
},
|
|
854
|
+
{
|
|
855
|
+
signature: 'abstract getDeviceIdentity(): Promise<{ deviceId?: string; userId?: AccountUserId; osVersion: string }>',
|
|
856
|
+
description: 'Read existing login identity without creating a device or returning credentials.',
|
|
857
|
+
parameters: [],
|
|
858
|
+
returns: 'optional device/account identifiers and the provider\'s OS version string.',
|
|
859
|
+
},
|
|
854
860
|
],
|
|
855
861
|
},
|
|
856
862
|
{
|
|
@@ -1473,6 +1479,25 @@ export const SERVICE_API = [
|
|
|
1473
1479
|
},
|
|
1474
1480
|
],
|
|
1475
1481
|
},
|
|
1482
|
+
{
|
|
1483
|
+
key: 'otel',
|
|
1484
|
+
summary: 'Shared transport provider.',
|
|
1485
|
+
description: 'Shared transport provider. Mounting creates no queue, identity, or network connection.',
|
|
1486
|
+
methods: [
|
|
1487
|
+
{
|
|
1488
|
+
signature: 'createEventReporter(options: EventLogOptions): EventLogReporter',
|
|
1489
|
+
description: 'Create an independent ordinary-event channel with count-based batching. The injected consumer must drain it during its fiber disposal.',
|
|
1490
|
+
parameters: [{ name: 'options', description: 'transport, scope, resource, queue, and diagnostic settings selected by the consumer.' }],
|
|
1491
|
+
returns: 'the caller-owned channel; no state is shared with other channels.',
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
signature: 'createSessionLogReporter(options: SessionLogOptions): SessionLogReporter',
|
|
1495
|
+
description: 'Create an independent byte-bounded Session-log channel. Authorization and redaction precede reporting; the consumer owns shutdown and its outer deadline.',
|
|
1496
|
+
parameters: [{ name: 'options', description: 'transport, scope, resource, queue, and diagnostic settings selected by the consumer.' }],
|
|
1497
|
+
returns: 'the caller-owned channel, preserving complete accepted events within the request byte ceiling.',
|
|
1498
|
+
},
|
|
1499
|
+
],
|
|
1500
|
+
},
|
|
1476
1501
|
{
|
|
1477
1502
|
key: 'permissionPresets',
|
|
1478
1503
|
summary: 'Owns the deployment\'s configured permission presets, the fixed Auto integration hook, and their write path.',
|
|
@@ -1629,6 +1654,31 @@ export const SERVICE_API = [
|
|
|
1629
1654
|
},
|
|
1630
1655
|
],
|
|
1631
1656
|
},
|
|
1657
|
+
{
|
|
1658
|
+
key: 'productAnalytics',
|
|
1659
|
+
summary: 'Authenticated event intake; disabled instances do not inspect identity or accept new events.',
|
|
1660
|
+
description: 'Authenticated event intake; disabled instances do not inspect identity or accept new events.',
|
|
1661
|
+
methods: [
|
|
1662
|
+
{
|
|
1663
|
+
signature: '@Remote enabled(): boolean',
|
|
1664
|
+
description: 'Read the collection policy.',
|
|
1665
|
+
parameters: [],
|
|
1666
|
+
returns: 'whether this Host currently accepts Desktop analytics.',
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
signature: '@Remote({ mode: \'stream\' }) async *watchPolicy(signal: AbortSignal): AsyncIterable<boolean>',
|
|
1670
|
+
description: 'Stream the effective policy initially and after live configuration edits.',
|
|
1671
|
+
parameters: [{ name: 'signal', description: 'subscriber lifetime.' }],
|
|
1672
|
+
returns: 'current policy values until cancellation or service disposal.',
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
signature: '@Remote async report(event: ProductEvent): Promise<void>',
|
|
1676
|
+
description: 'Submit selected Desktop fields; missing identity is omitted and never generated.',
|
|
1677
|
+
parameters: [{ name: 'event', description: 'typed product event without message contents or credentials.' }],
|
|
1678
|
+
returns: 'after local submission; no delivery or warehouse acknowledgement.',
|
|
1679
|
+
},
|
|
1680
|
+
],
|
|
1681
|
+
},
|
|
1632
1682
|
{
|
|
1633
1683
|
key: 'productTelemetry',
|
|
1634
1684
|
summary: 'Host analytics sender.',
|
|
@@ -3258,6 +3308,12 @@ export const SERVICE_API = [
|
|
|
3258
3308
|
description: 'Carrier adapter shared by the WebSocket mux and local Host transports.',
|
|
3259
3309
|
parameters: [],
|
|
3260
3310
|
},
|
|
3311
|
+
{
|
|
3312
|
+
signature: 'hasLiveClient(): boolean',
|
|
3313
|
+
description: 'Check for an active Client event stream.',
|
|
3314
|
+
parameters: [],
|
|
3315
|
+
returns: 'whether a stream is open and has not been cancelled.',
|
|
3316
|
+
},
|
|
3261
3317
|
{
|
|
3262
3318
|
signature: 'registerRemoteEvents( source: TypertRemoteEventSource, host: RemoteEventHostInfo, ): () => Promise<void>',
|
|
3263
3319
|
description: 'Register the sole application-selected forwarded-event source.',
|
|
@@ -3284,6 +3340,26 @@ export const SERVICE_API = [
|
|
|
3284
3340
|
summary: '`ctx.userQuestions`: validation plus the scoped answerer waterfall.',
|
|
3285
3341
|
description: '`ctx.userQuestions`: validation plus the scoped answerer waterfall.',
|
|
3286
3342
|
methods: [
|
|
3343
|
+
{
|
|
3344
|
+
signature: '@Remote answer(agent: Agent, callId: ToolCallId, answer: AskUserQuestionAnswer): boolean',
|
|
3345
|
+
description: 'Answer a continued question. The reply is steered into the agent as a user message whose source names the call; that message is also the record that closes the question in the projection.',
|
|
3346
|
+
parameters: [{ name: 'agent', description: 'Live root agent for the owning Session.' }, { name: 'callId', description: 'Continued question identity.' }, { name: 'answer', description: 'Complete structured answer batch, one item per question of the call.' }],
|
|
3347
|
+
returns: 'Whether the question is still continued; an accepted reply stays queued until the agent admits its user message.',
|
|
3348
|
+
throws: ['{UserQuestionError} `BAD_ANSWER` when the batch does not name each question of the call exactly once, or `REPLY_QUEUED` when a reply is already waiting for admission.'],
|
|
3349
|
+
},
|
|
3350
|
+
{
|
|
3351
|
+
signature: '@Remote({ mode: \'stream\' }) async *attachWait(agent: Agent, callId: ToolCallId, signal: AbortSignal): AsyncIterable<{ remainingMs: number }>',
|
|
3352
|
+
description: 'Let one answer UI hold a live timed wait. Closing the stream releases its claim.',
|
|
3353
|
+
parameters: [{ name: 'agent', description: 'Live root agent owning the question.' }, { name: 'callId', description: 'Foreground tool call to attach to.' }, { name: 'signal', description: 'Remote stream cancellation, including Client disconnect.' }],
|
|
3354
|
+
returns: 'One Host-computed remaining duration, or no frames once the wait ended.',
|
|
3355
|
+
},
|
|
3356
|
+
{
|
|
3357
|
+
signature: 'async askTimed( request: AskUserQuestionRequest & { agent: Agent }, callId: ToolCallId, timeoutMs: number, ): Promise<TimedUserQuestionResult>',
|
|
3358
|
+
description: 'Foreground wait whose first settlement the Client decides: the Client rejects with `ASK_TIMED_OUT` when its countdown ends, and this method maps that code to the pending result.',
|
|
3359
|
+
parameters: [{ name: 'request', description: 'Questions, live owner agent, and abort signal.' }, { name: 'callId', description: 'Tool call identity the Client card is keyed by.' }, { name: 'timeoutMs', description: 'Positive foreground wait in milliseconds.' }],
|
|
3360
|
+
returns: 'The answer when it arrives inside the window, otherwise a pending result, also when no connected Client claimed the request by the deadline.',
|
|
3361
|
+
throws: ['{UserQuestionError} `BAD_TIMEOUT` for a non-integer, non-positive, or oversized wait.'],
|
|
3362
|
+
},
|
|
3287
3363
|
{
|
|
3288
3364
|
signature: 'async ask(request: AskUserQuestionRequest): Promise<AskUserQuestionAnswer>',
|
|
3289
3365
|
description: 'Ask the scoped answerer waterfall and wait for the user\'s answer.\n\nWhen a caller supplies an agent, human interaction is valid only for the exact live runtime root. Runtime ownership, not durable session lineage, decides this boundary: an owned child has no human answerer and would block forever, while a lineage-bearing session resumed as a new runtime root may ask normally.',
|
|
@@ -4429,7 +4505,7 @@ export const TYPE_API = [
|
|
|
4429
4505
|
},
|
|
4430
4506
|
{
|
|
4431
4507
|
name: 'AskUserQuestionRequestEvent',
|
|
4432
|
-
declaration: 'export interface AskUserQuestionRequestEvent {\n questions: AskUserQuestionItem[];\n agent?: Agent;\n signal?: AbortSignal;\n}',
|
|
4508
|
+
declaration: 'export interface AskUserQuestionRequestEvent {\n questions: AskUserQuestionItem[];\n agent?: Agent;\n signal?: AbortSignal;\n wait?: {\n callId: ToolCallId;\n timed?: boolean;\n };\n}',
|
|
4433
4509
|
},
|
|
4434
4510
|
{
|
|
4435
4511
|
name: 'AssembleContext',
|
|
@@ -5011,6 +5087,14 @@ export const TYPE_API = [
|
|
|
5011
5087
|
name: 'EpochHeader',
|
|
5012
5088
|
declaration: 'export interface EpochHeader {\n config: LlmCallConfig;\n adapterDefaults?: LlmCallConfigAdapterDefaults;\n tools?: ToolSchema[];\n system?: never;\n}',
|
|
5013
5089
|
},
|
|
5090
|
+
{
|
|
5091
|
+
name: 'EventLogOptions',
|
|
5092
|
+
declaration: 'export interface EventLogOptions {\n exporter: SessionLogOptions[\'exporter\'];\n resourceAttributes: Attributes;\n scope: {\n name: string;\n version?: string;\n };\n processor: Omit<BatchLogRecordProcessorOptions, \'exporter\'>;\n onFailure: SessionLogOptions[\'onFailure\'];\n}',
|
|
5093
|
+
},
|
|
5094
|
+
{
|
|
5095
|
+
name: 'EventLogReporter',
|
|
5096
|
+
declaration: 'export class EventLogReporter {\n constructor(options: EventLogOptions);\n emit(record: OTelEventRecord): void;\n async shutdown(signal?: AbortSignal): Promise<void>;\n}',
|
|
5097
|
+
},
|
|
5014
5098
|
{
|
|
5015
5099
|
name: 'EveryScheduleRecord',
|
|
5016
5100
|
declaration: 'export interface EveryScheduleRecord {\n readonly id: ScheduleId;\n readonly kind: \'every\';\n readonly title: string;\n readonly prompt: string;\n readonly everySeconds: number;\n readonly scheduledAt: string;\n}',
|
|
@@ -5719,6 +5803,10 @@ export const TYPE_API = [
|
|
|
5719
5803
|
name: 'OfficeToPdfResult',
|
|
5720
5804
|
declaration: 'export interface OfficeToPdfResult {\n readonly pdf: Uint8Array;\n readonly missingFonts: string[];\n readonly cacheKey: OfficeToPdfKey;\n readonly generation: OfficeToPdfGeneration;\n}',
|
|
5721
5805
|
},
|
|
5806
|
+
{
|
|
5807
|
+
name: 'OnboardingPage',
|
|
5808
|
+
declaration: 'export type OnboardingPage = \'onboarding_welcome\' | \'onboarding_recharge\' | \'onboarding_use_case\' | \'onboarding_process\';',
|
|
5809
|
+
},
|
|
5722
5810
|
{
|
|
5723
5811
|
name: 'OneShotScheduleRecord',
|
|
5724
5812
|
declaration: 'export type OneShotScheduleRecord = AfterScheduleRecord | AtScheduleRecord;',
|
|
@@ -5731,6 +5819,14 @@ export const TYPE_API = [
|
|
|
5731
5819
|
name: 'OptionalSessionSeq',
|
|
5732
5820
|
declaration: 'export type OptionalSessionSeq = SessionSeq | null;',
|
|
5733
5821
|
},
|
|
5822
|
+
{
|
|
5823
|
+
name: 'OTelEventRecord',
|
|
5824
|
+
declaration: 'export interface OTelEventRecord {\n eventName: string;\n body: string;\n timestamp: number;\n severityNumber?: SeverityNumber;\n attributes?: Record<string, OTelEventScalar | Record<string, OTelEventScalar>>;\n}',
|
|
5825
|
+
},
|
|
5826
|
+
{
|
|
5827
|
+
name: 'OTelEventScalar',
|
|
5828
|
+
declaration: 'export type OTelEventScalar = string | number | boolean;',
|
|
5829
|
+
},
|
|
5734
5830
|
{
|
|
5735
5831
|
name: 'PackageResult',
|
|
5736
5832
|
declaration: 'export interface PackageResult {\n exitCode: number;\n output: string;\n truncated: boolean;\n logPath: string;\n kind?: PluginInstallFailureKind;\n timedOut?: boolean;\n incompatible?: IncompatiblePlugin[];\n}',
|
|
@@ -5860,12 +5956,16 @@ export const TYPE_API = [
|
|
|
5860
5956
|
declaration: 'export type PreToolDecision = {\n kind: \'allow\';\n} | {\n kind: \'deny\';\n reason: string;\n info?: ToolErrorInfo;\n} | {\n kind: \'cancel\';\n} | {\n kind: \'ask\';\n reason?: string;\n displayReason?: {\n readonly en: string;\n readonly [locale: string]: string;\n };\n};',
|
|
5861
5957
|
},
|
|
5862
5958
|
{
|
|
5863
|
-
name: '
|
|
5864
|
-
declaration: 'export
|
|
5959
|
+
name: 'ProductEvent',
|
|
5960
|
+
declaration: 'export type ProductEvent = {\n [K in keyof ProductEventMap]: {\n eventName: K;\n attributes: ProductEventMap[K];\n timestamp: number;\n };\n}[keyof ProductEventMap];',
|
|
5865
5961
|
},
|
|
5866
5962
|
{
|
|
5867
|
-
name: '
|
|
5868
|
-
declaration: 'export
|
|
5963
|
+
name: 'ProductEventMap',
|
|
5964
|
+
declaration: 'export interface ProductEventMap {\n desktop_app_launch: Record<string, never>;\n auth_page_view: Record<string, never>;\n auth_page_click: {\n button_name: \'sign_in\' | \'api-key\';\n };\n api_key_save_click: Record<string, never>;\n onboarding_page_view: {\n page_name: OnboardingPage;\n };\n onboarding_page_click: {\n page_name: OnboardingPage;\n button_name: \'next\' | \'back\' | \'skip\' | \'charge\' | \'later\' | \'continue\';\n selected_content?: \'office\' | \'code\' | \'code_office\' | \'focus_result\' | \'key_detail\' | \'full_process\';\n };\n onboarding_popup_view: {\n popup_name: \'skip_charge\' | \'skip_setting\';\n };\n onboarding_popup_click: {\n popup_name: \'skip_charge\' | \'skip_setting\';\n button_name: \'charge\' | \'know\' | \'enter\' | \'setting\' | \'close\';\n };\n desktop_upgrade_click: Record<string, never>;\n desktop_upgrade_download_result: {\n is_success: boolean;\n error_reason?: string;\n };\n desktop_upgrade_install_restart_click: Record<string, never>;\n send_button_click: {\n session_id?: SessionId;\n model_name?: string;\n thinking_effort?: string;\n run_mode: \'plan\' | \'goal\' | \'default\';\n msg_type: \'default\' | \'steer\' | \'queue\';\n };\n model_switch: {\n session_id?: SessionId;\n switch_from: string;\n switch_to: string;\n };\n thinking_level_switch: {\n session_id?: SessionId;\n switch_from: string;\n switch_to: str /* …truncated — full shape in source */',
|
|
5965
|
+
},
|
|
5966
|
+
{
|
|
5967
|
+
name: 'ProductTelemetryRecord',
|
|
5968
|
+
declaration: 'export type ProductTelemetryRecord = OTelEventRecord;',
|
|
5869
5969
|
},
|
|
5870
5970
|
{
|
|
5871
5971
|
name: 'ProfilePnpmInvocation',
|
|
@@ -6491,6 +6591,18 @@ export const TYPE_API = [
|
|
|
6491
6591
|
name: 'SessionLogOffset',
|
|
6492
6592
|
declaration: 'export type SessionLogOffset = BrandedNumber<\'SessionLogOffset\'>;',
|
|
6493
6593
|
},
|
|
6594
|
+
{
|
|
6595
|
+
name: 'SessionLogOptions',
|
|
6596
|
+
declaration: 'export interface SessionLogOptions {\n exporter: OTLPExporterNodeConfigBase & {\n url: string;\n };\n processor?: Omit<BatchLogRecordProcessorOptions, \'exporter\'>;\n maxRequestBytes?: number;\n scope: {\n name: string;\n version?: string;\n };\n resourceAttributes: Attributes;\n onFailure: (message: string, error?: Error) => void;\n}',
|
|
6597
|
+
},
|
|
6598
|
+
{
|
|
6599
|
+
name: 'SessionLogRecord',
|
|
6600
|
+
declaration: 'export interface SessionLogRecord {\n sessionId: SessionId;\n event: Omit<SessionEvent, \'data\'> & {\n data: unknown;\n };\n attributes?: Attributes;\n severityNumber?: SeverityNumber;\n}',
|
|
6601
|
+
},
|
|
6602
|
+
{
|
|
6603
|
+
name: 'SessionLogReporter',
|
|
6604
|
+
declaration: 'export class SessionLogReporter {\n constructor(options: SessionLogOptions);\n reportSessionLog(record: SessionLogRecord): void;\n stopPending(): void;\n shutdown(): Promise<void>;\n}',
|
|
6605
|
+
},
|
|
6494
6606
|
{
|
|
6495
6607
|
name: 'SessionLogSnapshot',
|
|
6496
6608
|
declaration: 'export interface SessionLogSnapshot {\n session: SessionHeader;\n inheritedEventCount: SessionLogOffset;\n events: SessionEvent[];\n}',
|
|
@@ -6697,7 +6809,7 @@ export const TYPE_API = [
|
|
|
6697
6809
|
},
|
|
6698
6810
|
{
|
|
6699
6811
|
name: 'SessionTelemetryRecord',
|
|
6700
|
-
declaration: 'export interface SessionTelemetryRecord {\n channel: \'ledger\' | \'ops\';\n time: number;\n severity: SessionTelemetrySeverity;\n attributes: Record<string, string | number>;\n body: unknown;\n}',
|
|
6812
|
+
declaration: 'export interface SessionTelemetryRecord {\n sourceEvent?: {\n sessionId: SessionId;\n envelope: Omit<SessionEvent, \'data\'>;\n };\n channel: \'ledger\' | \'ops\';\n time: number;\n severity: SessionTelemetrySeverity;\n attributes: Record<string, string | number>;\n body: unknown;\n}',
|
|
6701
6813
|
},
|
|
6702
6814
|
{
|
|
6703
6815
|
name: 'SessionTelemetrySeverity',
|
|
@@ -7371,6 +7483,10 @@ export const TYPE_API = [
|
|
|
7371
7483
|
name: 'TerminalWaitReason',
|
|
7372
7484
|
declaration: 'export type TerminalWaitReason = \'stdin_read\' | \'inferred_idle\' | \'timeout\' | \'session_exit\';',
|
|
7373
7485
|
},
|
|
7486
|
+
{
|
|
7487
|
+
name: 'TimedUserQuestionResult',
|
|
7488
|
+
declaration: 'export type TimedUserQuestionResult = AskUserQuestionAnswer | {\n pending: true;\n callId: ToolCallId;\n};',
|
|
7489
|
+
},
|
|
7374
7490
|
{
|
|
7375
7491
|
name: 'TimeOutOfRangeError',
|
|
7376
7492
|
declaration: 'export interface TimeOutOfRangeError {\n readonly code: \'time_out_of_range\';\n readonly message: string;\n}',
|
package/lib/types/index.js
CHANGED
|
@@ -34,9 +34,9 @@ export function apply(ctx) {
|
|
|
34
34
|
description: 'Run a read-only query declared by an Inspect Provider. platform, provider, and method must come from '
|
|
35
35
|
+ 'cordis_inspect_list, and input must satisfy that method\'s schema. Use this Tool before writing plugin code '
|
|
36
36
|
+ 'to read exact Service methods, Event modes, plugin Config schemas, Tool schemas, theme tokens, or live '
|
|
37
|
-
+ 'Slot trees and props. Host queries run locally. A Client query waits for the first valid page response
|
|
38
|
-
+ '
|
|
39
|
-
+ 'methods or modify the runtime.',
|
|
37
|
+
+ 'Slot trees and props. Host queries run locally. A Client query waits for the first valid page response '
|
|
38
|
+
+ 'within the configured timeout; otherwise it reports a Client failure or asks you to reconnect and retry. '
|
|
39
|
+
+ 'This Tool cannot invoke business Service methods or modify the runtime.',
|
|
40
40
|
parameters: {
|
|
41
41
|
platform: { type: 'string', required: true, enum: ['host', 'client'], description: 'Runtime platform that owns the Provider.' },
|
|
42
42
|
provider: { type: 'string', required: true, description: 'Exact Provider ID returned by cordis_inspect_list.' },
|
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.
|
|
4
|
+
"version": "0.2.0-rc.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.4",
|
|
36
35
|
"@deepseek-ai/cordis-plugin-loader": "~1.0.5",
|
|
37
|
-
"@deepseek-ai/dsh-agent": "0.
|
|
38
|
-
"@deepseek-ai/
|
|
39
|
-
"@deepseek-ai/dsh-
|
|
40
|
-
"@deepseek-ai/dsh-
|
|
36
|
+
"@deepseek-ai/dsh-agent": "0.2.0-rc.2",
|
|
37
|
+
"@deepseek-ai/cordis": "~4.0.4",
|
|
38
|
+
"@deepseek-ai/dsh-app-boot": "0.2.0-rc.2",
|
|
39
|
+
"@deepseek-ai/dsh-cordis-host-runner": "0.2.0-rc.2",
|
|
40
|
+
"@deepseek-ai/dsh-tools": "0.2.0-rc.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@deepseek-ai/cordis-plugin-group": "~1.0.4",
|
|
44
43
|
"@deepseek-ai/cordis": "~4.0.4",
|
|
44
|
+
"@deepseek-ai/cordis-plugin-group": "~1.0.4",
|
|
45
|
+
"@deepseek-ai/dsh-agent": "0.2.0-rc.2",
|
|
46
|
+
"@deepseek-ai/dsh-app-boot": "0.2.0-rc.2",
|
|
47
|
+
"@deepseek-ai/dsh-cordis-host-runner": "0.2.0-rc.2",
|
|
45
48
|
"@deepseek-ai/cordis-plugin-loader": "~1.0.5",
|
|
46
|
-
"@deepseek-ai/dsh-
|
|
47
|
-
"@deepseek-ai/dsh-
|
|
48
|
-
"@deepseek-ai/
|
|
49
|
-
"@deepseek-ai/dsh-tools": "0.1.7-rc.2",
|
|
50
|
-
"@deepseek-ai/schemastery": "~3.18.4",
|
|
51
|
-
"@deepseek-ai/dsh-cordis-host-runner": "0.1.7-rc.2"
|
|
49
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
|
|
50
|
+
"@deepseek-ai/dsh-tools": "0.2.0-rc.2",
|
|
51
|
+
"@deepseek-ai/schemastery": "~3.18.4"
|
|
52
52
|
}
|
|
53
53
|
}
|