@hydraharness/harness-host-plugin-inventory 0.1.1-rc.10
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/LICENSE +21 -0
- package/README.md +38 -0
- package/lib/index.js +1375 -0
- package/lib/invariant.js +13 -0
- package/lib/typert.host.d.ts +3 -0
- package/lib/typert.host.js +1437 -0
- package/lib/typert.remote-client.d.ts +72 -0
- package/lib/typert.remote-client.js +1431 -0
- package/lib/types/index.d.ts +250 -0
- package/lib/types/index.js +1230 -0
- package/lib/types/invariant.d.ts +9 -0
- package/lib/types/invariant.js +12 -0
- package/lib/types/types.d.ts +106 -0
- package/lib/types/types.js +2 -0
- package/package.json +94 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/* Generated by @hydraharness/harness-typert-generator from the Host FaceModel — do not edit. */
|
|
2
|
+
import type {
|
|
3
|
+
RemoteResult,
|
|
4
|
+
TypertRemoteContribution,
|
|
5
|
+
} from '@hydraharness/harness-typert-protocol'
|
|
6
|
+
import type { HookRecordDefinitionRequest, HookRecordEnablementRequest, HookRecordSnapshot } from '@hydraharness/harness-hooks-registry/types'
|
|
7
|
+
import type { AddPluginMarketplaceRequest, ImportedPluginMcpServerEnablementRequest, ImportedPluginMcpToolApprovalRequest, PluginEnablementRequest, PluginEnablementResult, PluginInventorySnapshot, PluginMarketplaceSnapshot, SetPluginMarketplaceEnablementRequest } from '@hydraharness/harness-host-plugin-inventory/types'
|
|
8
|
+
import type { McpServerDefinitionRequest, McpServerEnablementRequest, McpServerSnapshot } from '@hydraharness/harness-mcp-registry/types'
|
|
9
|
+
import type { ImportedPluginEntry, ImportedPluginSnapshot, PluginImportSource } from '@hydraharness/harness-plugin-runtime/types'
|
|
10
|
+
import type { SettingsTarget } from '@hydraharness/harness-workspace-config/types'
|
|
11
|
+
|
|
12
|
+
declare module '@hydraharness/harness-typert-protocol' {
|
|
13
|
+
interface TypertRemoteNamespace$706c7567696e496e76656e746f7279 {
|
|
14
|
+
addMarketplace: (request: AddPluginMarketplaceRequest) => Promise<RemoteResult<PluginMarketplaceSnapshot>>
|
|
15
|
+
defineHookRecord: (request: HookRecordDefinitionRequest & SettingsTarget) => Promise<RemoteResult<HookRecordSnapshot & SettingsTarget>>
|
|
16
|
+
defineMcpServer: (request: McpServerDefinitionRequest & SettingsTarget) => Promise<RemoteResult<McpServerSnapshot & SettingsTarget>>
|
|
17
|
+
disablePlugin: (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
|
|
18
|
+
enablePlugin: (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
|
|
19
|
+
importPlugin: (source: PluginImportSource) => Promise<RemoteResult<ImportedPluginSnapshot>>
|
|
20
|
+
infoPlugin: (identityOrName: string) => Promise<RemoteResult<ImportedPluginEntry>>
|
|
21
|
+
list: (request?: SettingsTarget) => Promise<RemoteResult<PluginInventorySnapshot>>
|
|
22
|
+
listHookRecords: (request?: SettingsTarget) => Promise<RemoteResult<HookRecordSnapshot & SettingsTarget>>
|
|
23
|
+
listImportedPlugins: () => Promise<RemoteResult<ImportedPluginSnapshot>>
|
|
24
|
+
listMarketplaces: () => Promise<RemoteResult<PluginMarketplaceSnapshot>>
|
|
25
|
+
listMcpServers: (request?: SettingsTarget) => Promise<RemoteResult<McpServerSnapshot & SettingsTarget>>
|
|
26
|
+
removeHookRecord: (request: string | ({ name: string; } & SettingsTarget)) => Promise<RemoteResult<HookRecordSnapshot & SettingsTarget>>
|
|
27
|
+
removeMarketplace: (source: string) => Promise<RemoteResult<PluginMarketplaceSnapshot>>
|
|
28
|
+
removeMcpServer: (request: string | ({ name: string; } & SettingsTarget)) => Promise<RemoteResult<McpServerSnapshot & SettingsTarget>>
|
|
29
|
+
removePlugin: (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
|
|
30
|
+
setEnabled: (request: PluginEnablementRequest) => Promise<RemoteResult<PluginEnablementResult>>
|
|
31
|
+
setHookRecordEnabled: (request: HookRecordEnablementRequest & SettingsTarget) => Promise<RemoteResult<HookRecordSnapshot & SettingsTarget>>
|
|
32
|
+
setMarketplaceEnabled: (request: SetPluginMarketplaceEnablementRequest) => Promise<RemoteResult<PluginMarketplaceSnapshot>>
|
|
33
|
+
setMcpServerEnabled: (request: McpServerEnablementRequest & SettingsTarget) => Promise<RemoteResult<McpServerSnapshot & SettingsTarget>>
|
|
34
|
+
setPluginMcpServerEnabled: (request: ImportedPluginMcpServerEnablementRequest) => Promise<RemoteResult<ImportedPluginSnapshot>>
|
|
35
|
+
setPluginMcpToolApproval: (request: ImportedPluginMcpToolApprovalRequest) => Promise<RemoteResult<ImportedPluginSnapshot>>
|
|
36
|
+
trustPlugin: (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
|
|
37
|
+
untrustPlugin: (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
|
|
38
|
+
}
|
|
39
|
+
interface TypertRemoteMap {
|
|
40
|
+
'pluginInventory/addMarketplace': (request: AddPluginMarketplaceRequest) => Promise<RemoteResult<PluginMarketplaceSnapshot>>
|
|
41
|
+
'pluginInventory/defineHookRecord': (request: HookRecordDefinitionRequest & SettingsTarget) => Promise<RemoteResult<HookRecordSnapshot & SettingsTarget>>
|
|
42
|
+
'pluginInventory/defineMcpServer': (request: McpServerDefinitionRequest & SettingsTarget) => Promise<RemoteResult<McpServerSnapshot & SettingsTarget>>
|
|
43
|
+
'pluginInventory/disablePlugin': (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
|
|
44
|
+
'pluginInventory/enablePlugin': (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
|
|
45
|
+
'pluginInventory/importPlugin': (source: PluginImportSource) => Promise<RemoteResult<ImportedPluginSnapshot>>
|
|
46
|
+
'pluginInventory/infoPlugin': (identityOrName: string) => Promise<RemoteResult<ImportedPluginEntry>>
|
|
47
|
+
'pluginInventory/list': (request?: SettingsTarget) => Promise<RemoteResult<PluginInventorySnapshot>>
|
|
48
|
+
'pluginInventory/listHookRecords': (request?: SettingsTarget) => Promise<RemoteResult<HookRecordSnapshot & SettingsTarget>>
|
|
49
|
+
'pluginInventory/listImportedPlugins': () => Promise<RemoteResult<ImportedPluginSnapshot>>
|
|
50
|
+
'pluginInventory/listMarketplaces': () => Promise<RemoteResult<PluginMarketplaceSnapshot>>
|
|
51
|
+
'pluginInventory/listMcpServers': (request?: SettingsTarget) => Promise<RemoteResult<McpServerSnapshot & SettingsTarget>>
|
|
52
|
+
'pluginInventory/removeHookRecord': (request: string | ({ name: string; } & SettingsTarget)) => Promise<RemoteResult<HookRecordSnapshot & SettingsTarget>>
|
|
53
|
+
'pluginInventory/removeMarketplace': (source: string) => Promise<RemoteResult<PluginMarketplaceSnapshot>>
|
|
54
|
+
'pluginInventory/removeMcpServer': (request: string | ({ name: string; } & SettingsTarget)) => Promise<RemoteResult<McpServerSnapshot & SettingsTarget>>
|
|
55
|
+
'pluginInventory/removePlugin': (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
|
|
56
|
+
'pluginInventory/setEnabled': (request: PluginEnablementRequest) => Promise<RemoteResult<PluginEnablementResult>>
|
|
57
|
+
'pluginInventory/setHookRecordEnabled': (request: HookRecordEnablementRequest & SettingsTarget) => Promise<RemoteResult<HookRecordSnapshot & SettingsTarget>>
|
|
58
|
+
'pluginInventory/setMarketplaceEnabled': (request: SetPluginMarketplaceEnablementRequest) => Promise<RemoteResult<PluginMarketplaceSnapshot>>
|
|
59
|
+
'pluginInventory/setMcpServerEnabled': (request: McpServerEnablementRequest & SettingsTarget) => Promise<RemoteResult<McpServerSnapshot & SettingsTarget>>
|
|
60
|
+
'pluginInventory/setPluginMcpServerEnabled': (request: ImportedPluginMcpServerEnablementRequest) => Promise<RemoteResult<ImportedPluginSnapshot>>
|
|
61
|
+
'pluginInventory/setPluginMcpToolApproval': (request: ImportedPluginMcpToolApprovalRequest) => Promise<RemoteResult<ImportedPluginSnapshot>>
|
|
62
|
+
'pluginInventory/trustPlugin': (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
|
|
63
|
+
'pluginInventory/untrustPlugin': (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
|
|
64
|
+
}
|
|
65
|
+
interface TypertRemoteNamespaceMap {
|
|
66
|
+
'pluginInventory': TypertRemoteNamespace$706c7567696e496e76656e746f7279
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export declare const TYPERT_REMOTE: TypertRemoteContribution
|
|
71
|
+
export default TYPERT_REMOTE
|
|
72
|
+
//# sourceMappingURL=typert.remote-client.d.ts.map
|