@hydraharness/harness-host-plugin-inventory 0.1.1-rc.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.
@@ -0,0 +1,71 @@
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
+
11
+ declare module '@hydraharness/harness-typert-protocol' {
12
+ interface TypertRemoteNamespace$706c7567696e496e76656e746f7279 {
13
+ addMarketplace: (request: AddPluginMarketplaceRequest) => Promise<RemoteResult<PluginMarketplaceSnapshot>>
14
+ defineHookRecord: (request: HookRecordDefinitionRequest) => Promise<RemoteResult<HookRecordSnapshot>>
15
+ defineMcpServer: (request: McpServerDefinitionRequest) => Promise<RemoteResult<McpServerSnapshot>>
16
+ disablePlugin: (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
17
+ enablePlugin: (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
18
+ importPlugin: (source: PluginImportSource) => Promise<RemoteResult<ImportedPluginSnapshot>>
19
+ infoPlugin: (identityOrName: string) => Promise<RemoteResult<ImportedPluginEntry>>
20
+ list: () => Promise<RemoteResult<PluginInventorySnapshot>>
21
+ listHookRecords: () => Promise<RemoteResult<HookRecordSnapshot>>
22
+ listImportedPlugins: () => Promise<RemoteResult<ImportedPluginSnapshot>>
23
+ listMarketplaces: () => Promise<RemoteResult<PluginMarketplaceSnapshot>>
24
+ listMcpServers: () => Promise<RemoteResult<McpServerSnapshot>>
25
+ removeHookRecord: (name: string) => Promise<RemoteResult<HookRecordSnapshot>>
26
+ removeMarketplace: (source: string) => Promise<RemoteResult<PluginMarketplaceSnapshot>>
27
+ removeMcpServer: (name: string) => Promise<RemoteResult<McpServerSnapshot>>
28
+ removePlugin: (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
29
+ setEnabled: (request: PluginEnablementRequest) => Promise<RemoteResult<PluginEnablementResult>>
30
+ setHookRecordEnabled: (request: HookRecordEnablementRequest) => Promise<RemoteResult<HookRecordSnapshot>>
31
+ setMarketplaceEnabled: (request: SetPluginMarketplaceEnablementRequest) => Promise<RemoteResult<PluginMarketplaceSnapshot>>
32
+ setMcpServerEnabled: (request: McpServerEnablementRequest) => Promise<RemoteResult<McpServerSnapshot>>
33
+ setPluginMcpServerEnabled: (request: ImportedPluginMcpServerEnablementRequest) => Promise<RemoteResult<ImportedPluginSnapshot>>
34
+ setPluginMcpToolApproval: (request: ImportedPluginMcpToolApprovalRequest) => Promise<RemoteResult<ImportedPluginSnapshot>>
35
+ trustPlugin: (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
36
+ untrustPlugin: (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
37
+ }
38
+ interface TypertRemoteMap {
39
+ 'pluginInventory/addMarketplace': (request: AddPluginMarketplaceRequest) => Promise<RemoteResult<PluginMarketplaceSnapshot>>
40
+ 'pluginInventory/defineHookRecord': (request: HookRecordDefinitionRequest) => Promise<RemoteResult<HookRecordSnapshot>>
41
+ 'pluginInventory/defineMcpServer': (request: McpServerDefinitionRequest) => Promise<RemoteResult<McpServerSnapshot>>
42
+ 'pluginInventory/disablePlugin': (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
43
+ 'pluginInventory/enablePlugin': (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
44
+ 'pluginInventory/importPlugin': (source: PluginImportSource) => Promise<RemoteResult<ImportedPluginSnapshot>>
45
+ 'pluginInventory/infoPlugin': (identityOrName: string) => Promise<RemoteResult<ImportedPluginEntry>>
46
+ 'pluginInventory/list': () => Promise<RemoteResult<PluginInventorySnapshot>>
47
+ 'pluginInventory/listHookRecords': () => Promise<RemoteResult<HookRecordSnapshot>>
48
+ 'pluginInventory/listImportedPlugins': () => Promise<RemoteResult<ImportedPluginSnapshot>>
49
+ 'pluginInventory/listMarketplaces': () => Promise<RemoteResult<PluginMarketplaceSnapshot>>
50
+ 'pluginInventory/listMcpServers': () => Promise<RemoteResult<McpServerSnapshot>>
51
+ 'pluginInventory/removeHookRecord': (name: string) => Promise<RemoteResult<HookRecordSnapshot>>
52
+ 'pluginInventory/removeMarketplace': (source: string) => Promise<RemoteResult<PluginMarketplaceSnapshot>>
53
+ 'pluginInventory/removeMcpServer': (name: string) => Promise<RemoteResult<McpServerSnapshot>>
54
+ 'pluginInventory/removePlugin': (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
55
+ 'pluginInventory/setEnabled': (request: PluginEnablementRequest) => Promise<RemoteResult<PluginEnablementResult>>
56
+ 'pluginInventory/setHookRecordEnabled': (request: HookRecordEnablementRequest) => Promise<RemoteResult<HookRecordSnapshot>>
57
+ 'pluginInventory/setMarketplaceEnabled': (request: SetPluginMarketplaceEnablementRequest) => Promise<RemoteResult<PluginMarketplaceSnapshot>>
58
+ 'pluginInventory/setMcpServerEnabled': (request: McpServerEnablementRequest) => Promise<RemoteResult<McpServerSnapshot>>
59
+ 'pluginInventory/setPluginMcpServerEnabled': (request: ImportedPluginMcpServerEnablementRequest) => Promise<RemoteResult<ImportedPluginSnapshot>>
60
+ 'pluginInventory/setPluginMcpToolApproval': (request: ImportedPluginMcpToolApprovalRequest) => Promise<RemoteResult<ImportedPluginSnapshot>>
61
+ 'pluginInventory/trustPlugin': (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
62
+ 'pluginInventory/untrustPlugin': (identityOrName: string) => Promise<RemoteResult<ImportedPluginSnapshot>>
63
+ }
64
+ interface TypertRemoteNamespaceMap {
65
+ 'pluginInventory': TypertRemoteNamespace$706c7567696e496e76656e746f7279
66
+ }
67
+ }
68
+
69
+ export declare const TYPERT_REMOTE: TypertRemoteContribution
70
+ export default TYPERT_REMOTE
71
+ //# sourceMappingURL=typert.remote-client.d.ts.map