@deepseek-ai/dsh-tool-cordis 0.2.1-alpha.3 → 0.2.1-alpha.5
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/lib/types/api-catalog.js +125 -4
- package/package.json +10 -10
package/lib/types/api-catalog.js
CHANGED
|
@@ -1708,6 +1708,39 @@ export const SERVICE_API = [
|
|
|
1708
1708
|
},
|
|
1709
1709
|
],
|
|
1710
1710
|
},
|
|
1711
|
+
{
|
|
1712
|
+
key: 'pluginMarket',
|
|
1713
|
+
summary: 'Fetches, validates, and caches configured market indexes; annotates entries with the profile\'s installation facts.',
|
|
1714
|
+
description: 'Fetches, validates, and caches configured market indexes; annotates entries with the profile\'s installation facts.',
|
|
1715
|
+
methods: [
|
|
1716
|
+
{
|
|
1717
|
+
signature: '@Remote listIndexes(): MarketIndexSummary[]',
|
|
1718
|
+
description: 'List the configured index sources without fetching them.',
|
|
1719
|
+
parameters: [],
|
|
1720
|
+
returns: 'every source in order, with the title of its last successful read and, when the last read failed, its error.',
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
signature: '@Remote async setIndexes(urls: string[]): Promise<void>',
|
|
1724
|
+
description: 'Replace the configured index sources through Settings, without remounting this service. `plugin-market/changed` announces the committed list. A URL already configured is kept as written, so a client can add or remove sources beside one that `listIndexes` reports as unusable.',
|
|
1725
|
+
parameters: [{ name: 'urls', description: 'index URLs in display order.' }],
|
|
1726
|
+
throws: ['{RemoteError} `plugin-market/invalid-index-url` for an invalid new URL or a repeated URL; `plugin-market/settings-unavailable` without Settings or a profile entry.'],
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
signature: '@Remote async search(url: string, query: MarketQuery): Promise<MarketSearchResult>',
|
|
1730
|
+
description: 'Return one page of the plugins of a configured index that match a query. Concurrent reads of a URL share one fetch; a successful document is reused for `cacheTtlMs` unless `refresh` is set. Matching and ordering read only the document; installation status and compatibility are computed for the returned page on every call.',
|
|
1731
|
+
parameters: [{ name: 'url', description: 'a configured index URL.' }, { name: 'query', description: 'text, filters, order, page, and whether to bypass the cached document.' }],
|
|
1732
|
+
returns: 'the index header, the page\'s plugins with each plugin\'s default version and installation status and each version\'s compatibility and install arguments, the number of matches, and the next page\'s offset.',
|
|
1733
|
+
throws: ['{RemoteError} `plugin-market/invalid-query`, `plugin-market/unknown-index`, `plugin-market/invalid-index-url`, `plugin-market/fetch-failed`, or `plugin-market/invalid-index`.'],
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
signature: 'async entry(url: string, name: string): Promise<MarketListingEntry | undefined>',
|
|
1737
|
+
description: 'Read one plugin of a configured index, using the cached document as `search` does.',
|
|
1738
|
+
parameters: [{ name: 'url', description: 'a configured index URL.' }, { name: 'name', description: 'the plugin\'s package name.' }],
|
|
1739
|
+
returns: 'the plugin with its default version, installation status, and annotated versions; undefined when the index does not list it.',
|
|
1740
|
+
throws: ['{RemoteError} `plugin-market/unknown-index`, `plugin-market/invalid-index-url`, `plugin-market/fetch-failed`, or `plugin-market/invalid-index`.'],
|
|
1741
|
+
},
|
|
1742
|
+
],
|
|
1743
|
+
},
|
|
1711
1744
|
{
|
|
1712
1745
|
key: 'pluginRegistryProbe',
|
|
1713
1746
|
summary: 'Compares public registry responses on the Host; the Client owns the initial selection.',
|
|
@@ -1741,7 +1774,7 @@ export const SERVICE_API = [
|
|
|
1741
1774
|
},
|
|
1742
1775
|
{
|
|
1743
1776
|
signature: '@Remote async report(event: ProductEvent): Promise<void>',
|
|
1744
|
-
description: 'Submit selected Desktop fields;
|
|
1777
|
+
description: 'Submit selected Desktop fields with cached static environment and fresh identity. The first intake waits for bounded environment queries; concurrent intakes share them. Missing identity is omitted; failed environment fields carry fixed reasons.',
|
|
1745
1778
|
parameters: [{ name: 'event', description: 'typed product event without message contents or credentials.' }],
|
|
1746
1779
|
returns: 'after local submission; no delivery or warehouse acknowledgement.',
|
|
1747
1780
|
},
|
|
@@ -4303,6 +4336,14 @@ export const EVENT_API = [
|
|
|
4303
4336
|
description: 'An installation moved between its Host phases. `installing` is announced once per registry the installation asks, with the attempt\'s registry and position; `cancelling` and `applying` once.',
|
|
4304
4337
|
parameters: [{ name: 'progress', description: 'the installation\'s request id and phase, with the attempt while installing.' }],
|
|
4305
4338
|
},
|
|
4339
|
+
{
|
|
4340
|
+
name: 'plugin-market/changed',
|
|
4341
|
+
mode: 'emit',
|
|
4342
|
+
signature: '\'plugin-market/changed\'(): void',
|
|
4343
|
+
summary: 'The configured index sources changed.',
|
|
4344
|
+
description: 'The configured index sources changed.',
|
|
4345
|
+
parameters: [],
|
|
4346
|
+
},
|
|
4306
4347
|
{
|
|
4307
4348
|
name: 'schedule/changed',
|
|
4308
4349
|
mode: 'emit',
|
|
@@ -4552,7 +4593,7 @@ export const TYPE_API = [
|
|
|
4552
4593
|
},
|
|
4553
4594
|
{
|
|
4554
4595
|
name: 'AccountBonusNotification',
|
|
4555
|
-
declaration: 'export interface AccountBonusNotification {\n readonly orderId: AccountBonusOrderId;\n readonly campaign
|
|
4596
|
+
declaration: 'export interface AccountBonusNotification {\n readonly title?: string;\n readonly orderId: AccountBonusOrderId;\n readonly campaign?: JsonValue;\n readonly amount?: JsonValue;\n readonly currency?: JsonValue;\n readonly grantedAt?: JsonValue;\n readonly expiresAt: string;\n readonly message: string;\n}',
|
|
4556
4597
|
},
|
|
4557
4598
|
{
|
|
4558
4599
|
name: 'AccountBonusOrderId',
|
|
@@ -5568,7 +5609,7 @@ export const TYPE_API = [
|
|
|
5568
5609
|
},
|
|
5569
5610
|
{
|
|
5570
5611
|
name: 'IncompatiblePlugin',
|
|
5571
|
-
declaration: 'export interface IncompatiblePlugin {\n name: string;\n version: string;\n runtimeVersion: string;\n
|
|
5612
|
+
declaration: 'export interface IncompatiblePlugin {\n name: string;\n version: string;\n runtimeVersion: string;\n requirements: Record<string, string>;\n}',
|
|
5572
5613
|
},
|
|
5573
5614
|
{
|
|
5574
5615
|
name: 'IndexInjection',
|
|
@@ -5922,6 +5963,82 @@ export const TYPE_API = [
|
|
|
5922
5963
|
name: 'ManualCompactAgentContext',
|
|
5923
5964
|
declaration: 'export interface ManualCompactAgentContext extends CompactionAgentContext {\n runMaintenance<T>(task: (signal: AbortSignal) => Promise<T>): Promise<T>;\n}',
|
|
5924
5965
|
},
|
|
5966
|
+
{
|
|
5967
|
+
name: 'MarketCompatibility',
|
|
5968
|
+
declaration: 'export type MarketCompatibility = {\n readonly compatible: true;\n} | {\n readonly compatible: false;\n readonly runtimeVersion: string;\n readonly requirements: Readonly<Record<string, string>>;\n readonly exempted: boolean;\n};',
|
|
5969
|
+
},
|
|
5970
|
+
{
|
|
5971
|
+
name: 'MarketDeclaration',
|
|
5972
|
+
declaration: 'export interface MarketDeclaration {\n readonly title: LocalizedText;\n}',
|
|
5973
|
+
},
|
|
5974
|
+
{
|
|
5975
|
+
name: 'MarketEngines',
|
|
5976
|
+
declaration: 'export interface MarketEngines {\n readonly dsh?: string;\n}',
|
|
5977
|
+
},
|
|
5978
|
+
{
|
|
5979
|
+
name: 'MarketIndexMetadata',
|
|
5980
|
+
declaration: 'export interface MarketIndexMetadata {\n readonly categories: Readonly<Record<string, MarketDeclaration>>;\n readonly labels: Readonly<Record<string, MarketDeclaration>>;\n readonly sortKeys: Readonly<Record<string, MarketSortKeyDeclaration>>;\n}',
|
|
5981
|
+
},
|
|
5982
|
+
{
|
|
5983
|
+
name: 'MarketIndexSummary',
|
|
5984
|
+
declaration: 'export interface MarketIndexSummary {\n readonly url: string;\n readonly title?: LocalizedText;\n readonly description?: LocalizedText;\n readonly error?: string;\n}',
|
|
5985
|
+
},
|
|
5986
|
+
{
|
|
5987
|
+
name: 'MarketInstallation',
|
|
5988
|
+
declaration: 'export interface MarketInstallation {\n readonly status: MarketInstallationStatus;\n readonly installedVersion?: string;\n}',
|
|
5989
|
+
},
|
|
5990
|
+
{
|
|
5991
|
+
name: 'MarketInstallationStatus',
|
|
5992
|
+
declaration: 'export type MarketInstallationStatus = \'not-installed\' | \'installed\' | \'update-available\' | \'different-version\' | \'provided\';',
|
|
5993
|
+
},
|
|
5994
|
+
{
|
|
5995
|
+
name: 'MarketInstallTarget',
|
|
5996
|
+
declaration: 'export interface MarketInstallTarget {\n readonly spec: string;\n readonly registry?: string;\n}',
|
|
5997
|
+
},
|
|
5998
|
+
{
|
|
5999
|
+
name: 'MarketListingEntry',
|
|
6000
|
+
declaration: 'export interface MarketListingEntry extends Omit<MarketPlugin, \'versions\'> {\n readonly versions: readonly MarketListingVersion[];\n readonly defaultVersion?: string;\n readonly installation: MarketInstallation;\n}',
|
|
6001
|
+
},
|
|
6002
|
+
{
|
|
6003
|
+
name: 'MarketListingVersion',
|
|
6004
|
+
declaration: 'export interface MarketListingVersion extends MarketVersion {\n readonly install: MarketInstallTarget;\n readonly compatibility: MarketCompatibility;\n}',
|
|
6005
|
+
},
|
|
6006
|
+
{
|
|
6007
|
+
name: 'MarketPlugin',
|
|
6008
|
+
declaration: 'export interface MarketPlugin {\n readonly name: string;\n readonly title?: LocalizedText;\n readonly description?: LocalizedText;\n readonly icon?: string;\n readonly author?: string;\n readonly homepage?: string;\n readonly repository?: MarketRepository;\n readonly metadata: MarketPluginMetadata;\n readonly versions: readonly MarketVersion[];\n}',
|
|
6009
|
+
},
|
|
6010
|
+
{
|
|
6011
|
+
name: 'MarketPluginMetadata',
|
|
6012
|
+
declaration: 'export interface MarketPluginMetadata {\n readonly category?: string;\n readonly keywords: readonly string[];\n readonly labels: readonly string[];\n readonly sortKeys: Readonly<Record<string, number>>;\n}',
|
|
6013
|
+
},
|
|
6014
|
+
{
|
|
6015
|
+
name: 'MarketQuery',
|
|
6016
|
+
declaration: 'export interface MarketQuery {\n readonly text?: string;\n readonly category?: string;\n readonly labels?: readonly string[];\n readonly sort: MarketSort;\n readonly offset: number;\n readonly limit: number;\n readonly refresh?: boolean;\n readonly fetchedAt?: number;\n}',
|
|
6017
|
+
},
|
|
6018
|
+
{
|
|
6019
|
+
name: 'MarketRepository',
|
|
6020
|
+
declaration: 'export interface MarketRepository {\n readonly url: string;\n readonly directory?: string;\n}',
|
|
6021
|
+
},
|
|
6022
|
+
{
|
|
6023
|
+
name: 'MarketSearchResult',
|
|
6024
|
+
declaration: 'export interface MarketSearchResult {\n readonly url: string;\n readonly title: LocalizedText;\n readonly description?: LocalizedText;\n readonly metadata: MarketIndexMetadata;\n readonly fetchedAt: number;\n readonly entries: readonly MarketListingEntry[];\n readonly total: number;\n readonly nextOffset: number | null;\n}',
|
|
6025
|
+
},
|
|
6026
|
+
{
|
|
6027
|
+
name: 'MarketSort',
|
|
6028
|
+
declaration: 'export type MarketSort = {\n readonly kind: \'index\';\n} | {\n readonly kind: \'relevance\';\n} | {\n readonly kind: \'published\';\n readonly direction: \'asc\' | \'desc\';\n} | {\n readonly kind: \'key\';\n readonly id: string;\n readonly direction: \'asc\' | \'desc\';\n};',
|
|
6029
|
+
},
|
|
6030
|
+
{
|
|
6031
|
+
name: 'MarketSortKeyDeclaration',
|
|
6032
|
+
declaration: 'export interface MarketSortKeyDeclaration {\n readonly title: LocalizedText;\n readonly order: \'asc\' | \'desc\';\n}',
|
|
6033
|
+
},
|
|
6034
|
+
{
|
|
6035
|
+
name: 'MarketSource',
|
|
6036
|
+
declaration: 'export type MarketSource = {\n readonly type: \'npm\';\n readonly registry?: string;\n} | {\n readonly type: \'git\';\n readonly url: string;\n readonly commit: string;\n readonly path?: string;\n};',
|
|
6037
|
+
},
|
|
6038
|
+
{
|
|
6039
|
+
name: 'MarketVersion',
|
|
6040
|
+
declaration: 'export interface MarketVersion {\n readonly version: string;\n readonly publishTimestamp: number;\n readonly source: MarketSource;\n readonly engines: MarketEngines;\n}',
|
|
6041
|
+
},
|
|
5925
6042
|
{
|
|
5926
6043
|
name: 'MatcherValue',
|
|
5927
6044
|
declaration: 'export type MatcherValue = string | number | boolean | null | RegExp | readonly (string | number | boolean | null)[];',
|
|
@@ -8380,7 +8497,11 @@ export const TYPE_API = [
|
|
|
8380
8497
|
},
|
|
8381
8498
|
{
|
|
8382
8499
|
name: 'WebBootGraph',
|
|
8383
|
-
declaration: 'export interface WebBootGraph {\n rev: string;\n entries: WebBootEntry[];\n batches: WebBootBatch[];\n}',
|
|
8500
|
+
declaration: 'export interface WebBootGraph {\n rev: string;\n release?: WebBootRelease;\n entries: WebBootEntry[];\n batches: WebBootBatch[];\n}',
|
|
8501
|
+
},
|
|
8502
|
+
{
|
|
8503
|
+
name: 'WebBootRelease',
|
|
8504
|
+
declaration: 'export interface WebBootRelease {\n version: string;\n commit?: string;\n}',
|
|
8384
8505
|
},
|
|
8385
8506
|
{
|
|
8386
8507
|
name: 'WebFetchBody',
|
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.2.1-alpha.
|
|
4
|
+
"version": "0.2.1-alpha.5",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -38,20 +38,20 @@
|
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@deepseek-ai/cordis": "~4.0.5-alpha.2",
|
|
40
40
|
"@deepseek-ai/cordis-plugin-loader": "~1.0.6-alpha.2",
|
|
41
|
-
"@deepseek-ai/dsh-agent": "0.2.1-alpha.
|
|
42
|
-
"@deepseek-ai/dsh-app-boot": "0.2.1-alpha.
|
|
43
|
-
"@deepseek-ai/dsh-cordis-host-runner": "0.2.1-alpha.
|
|
44
|
-
"@deepseek-ai/dsh-tools": "0.2.1-alpha.
|
|
41
|
+
"@deepseek-ai/dsh-agent": "0.2.1-alpha.5",
|
|
42
|
+
"@deepseek-ai/dsh-app-boot": "0.2.1-alpha.5",
|
|
43
|
+
"@deepseek-ai/dsh-cordis-host-runner": "0.2.1-alpha.5",
|
|
44
|
+
"@deepseek-ai/dsh-tools": "0.2.1-alpha.5"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@deepseek-ai/cordis": "~4.0.5-alpha.2",
|
|
48
48
|
"@deepseek-ai/cordis-plugin-group": "~1.0.5-alpha.2",
|
|
49
49
|
"@deepseek-ai/cordis-plugin-loader": "~1.0.6-alpha.2",
|
|
50
|
-
"@deepseek-ai/dsh-agent": "0.2.1-alpha.
|
|
51
|
-
"@deepseek-ai/dsh-app-boot": "0.2.1-alpha.
|
|
52
|
-
"@deepseek-ai/dsh-cordis-host-runner": "0.2.1-alpha.
|
|
53
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.
|
|
54
|
-
"@deepseek-ai/dsh-tools": "0.2.1-alpha.
|
|
50
|
+
"@deepseek-ai/dsh-agent": "0.2.1-alpha.5",
|
|
51
|
+
"@deepseek-ai/dsh-app-boot": "0.2.1-alpha.5",
|
|
52
|
+
"@deepseek-ai/dsh-cordis-host-runner": "0.2.1-alpha.5",
|
|
53
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.5",
|
|
54
|
+
"@deepseek-ai/dsh-tools": "0.2.1-alpha.5",
|
|
55
55
|
"@deepseek-ai/schemastery": "~3.18.5-alpha.2"
|
|
56
56
|
}
|
|
57
57
|
}
|