@omniviewdev/runtime 0.3.0 → 0.4.1

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.
Files changed (145) hide show
  1. package/dist/api.cjs +1 -1
  2. package/dist/api.d.ts +16 -14
  3. package/dist/api.js +111 -125
  4. package/dist/bindings/encoding/json/index.d.ts +1 -0
  5. package/dist/bindings/encoding/json/models.d.ts +6 -0
  6. package/dist/bindings/github.com/omniviewdev/omniview/appservice.d.ts +18 -0
  7. package/dist/bindings/github.com/omniviewdev/omniview/backend/diagnostics/diagnosticsclient.d.ts +51 -0
  8. package/dist/bindings/github.com/omniviewdev/omniview/backend/diagnostics/index.d.ts +2 -0
  9. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/data/index.d.ts +2 -0
  10. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/data/servicewrapper.d.ts +5 -0
  11. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/index.d.ts +3 -0
  12. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/models.d.ts +132 -0
  13. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/servicewrapper.d.ts +12 -0
  14. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/index.d.ts +2 -0
  15. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/servicewrapper.d.ts +22 -0
  16. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/index.d.ts +3 -0
  17. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/lifecycle/index.d.ts +1 -0
  18. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/lifecycle/models.d.ts +29 -0
  19. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/index.d.ts +2 -0
  20. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/servicewrapper.d.ts +11 -0
  21. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/index.d.ts +3 -0
  22. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/models.d.ts +39 -0
  23. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/servicewrapper.d.ts +16 -0
  24. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/models.d.ts +99 -0
  25. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/index.d.ts +2 -0
  26. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/servicewrapper.d.ts +11 -0
  27. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/index.d.ts +3 -0
  28. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/models.d.ts +24 -0
  29. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/servicewrapper.d.ts +7 -0
  30. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/registry/index.d.ts +1 -0
  31. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/registry/models.d.ts +94 -0
  32. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/index.d.ts +2 -0
  33. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/models.d.ts +53 -0
  34. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graphservice.d.ts +14 -0
  35. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/index.d.ts +4 -0
  36. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts +61 -0
  37. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +92 -0
  38. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/servicewrapper.d.ts +24 -0
  39. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/index.d.ts +2 -0
  40. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/servicewrapper.d.ts +18 -0
  41. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/types/index.d.ts +1 -0
  42. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/types/models.d.ts +22 -0
  43. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/index.d.ts +3 -0
  44. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/models.d.ts +55 -0
  45. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/servicewrapper.d.ts +7 -0
  46. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/client.d.ts +6 -0
  47. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/index.d.ts +3 -0
  48. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/models.d.ts +10 -0
  49. package/dist/bindings/github.com/omniviewdev/omniview/index.d.ts +3 -0
  50. package/dist/bindings/github.com/omniviewdev/omniview/internal/settings/index.d.ts +2 -0
  51. package/dist/bindings/github.com/omniviewdev/omniview/internal/settings/servicewrapper.d.ts +48 -0
  52. package/dist/bindings/github.com/omniviewdev/omniview/internal/telemetry/index.d.ts +2 -0
  53. package/dist/bindings/github.com/omniviewdev/omniview/internal/telemetry/telemetrybinding.d.ts +7 -0
  54. package/dist/bindings/github.com/omniviewdev/omniview/models.d.ts +38 -0
  55. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/index.d.ts +1 -0
  56. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models.d.ts +101 -0
  57. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/index.d.ts +1 -0
  58. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models.d.ts +199 -0
  59. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/index.d.ts +1 -0
  60. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models.d.ts +79 -0
  61. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/index.d.ts +1 -0
  62. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models.d.ts +133 -0
  63. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/index.d.ts +1 -0
  64. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models.d.ts +207 -0
  65. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/index.d.ts +2 -0
  66. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models.d.ts +96 -0
  67. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/index.d.ts +2 -0
  68. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models.d.ts +1199 -0
  69. package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/index.d.ts +2 -0
  70. package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/models.d.ts +169 -0
  71. package/dist/bindings/github.com/wailsapp/wails/v3/internal/eventcreate.d.ts +1 -0
  72. package/dist/bindings/time/index.d.ts +1 -0
  73. package/dist/bindings/time/models.d.ts +33 -0
  74. package/dist/calls-BmUnjINC.js +677 -0
  75. package/dist/calls-DZctVyoQ.cjs +1 -0
  76. package/dist/compat/legacyEnum.d.ts +10 -0
  77. package/dist/compat/resource.d.ts +4 -0
  78. package/dist/compat/types.d.ts +4 -0
  79. package/dist/context/plugins/PluginContext.d.ts +2 -2
  80. package/dist/events-BTiuwc-0.cjs +1 -0
  81. package/dist/events-DDTGFACO.js +371 -0
  82. package/dist/graphservice-CRRwkBcy.cjs +1 -0
  83. package/dist/graphservice-CXr8ZCEY.js +726 -0
  84. package/dist/hooks/connection/useConnection.d.ts +5 -5
  85. package/dist/hooks/connection/useConnectionStatus.d.ts +7 -0
  86. package/dist/hooks/connection/useConnections.d.ts +4 -4
  87. package/dist/hooks/exec/useExecSession.d.ts +2 -2
  88. package/dist/hooks/logs/useLogSession.d.ts +1 -2
  89. package/dist/hooks/metric/useMetricProviders.d.ts +3 -3
  90. package/dist/hooks/metric/useMetricStream.d.ts +2 -2
  91. package/dist/hooks/metric/useResourceMetrics.d.ts +4 -3
  92. package/dist/hooks/networker/types.d.ts +3 -3
  93. package/dist/hooks/networker/usePortForwardSessions.d.ts +4 -4
  94. package/dist/hooks/networker/useResourcePortForwarder.d.ts +3 -4
  95. package/dist/hooks/resource/index.d.ts +2 -0
  96. package/dist/hooks/resource/useDependencyTree.d.ts +41 -0
  97. package/dist/hooks/resource/useEditorSchemas.d.ts +2 -2
  98. package/dist/hooks/resource/useEventBatcher.d.ts +3 -0
  99. package/dist/hooks/resource/useRelatedResources.d.ts +82 -0
  100. package/dist/hooks/resource/useResource.d.ts +3 -4
  101. package/dist/hooks/resource/useResourceActions.d.ts +2 -3
  102. package/dist/hooks/resource/useResourceAreaComponent.d.ts +3 -3
  103. package/dist/hooks/resource/useResourceGroups.d.ts +6 -6
  104. package/dist/hooks/resource/useResourceMutations.d.ts +3 -4
  105. package/dist/hooks/resource/useResourceType.d.ts +1 -1
  106. package/dist/hooks/resource/useResourceTypes.d.ts +6 -6
  107. package/dist/hooks/resource/useResources.d.ts +3 -4
  108. package/dist/index-D2mKAO8s.js +1069 -0
  109. package/dist/index-D_aIcqH0.cjs +6 -0
  110. package/dist/index.cjs +2 -2
  111. package/dist/index.js +1281 -1599
  112. package/dist/legacyEnum-DORXlU_y.js +13 -0
  113. package/dist/legacyEnum-DkV5yRdA.cjs +1 -0
  114. package/dist/models-BoBl5Kgj.js +159 -0
  115. package/dist/models-BvR5jdms.js +2358 -0
  116. package/dist/models-CHycLCM0.cjs +1 -0
  117. package/dist/models-DOdc96z9.cjs +1 -0
  118. package/dist/models.cjs +1 -1
  119. package/dist/models.d.ts +28 -1
  120. package/dist/models.js +263 -2244
  121. package/dist/runtime.cjs +1 -1
  122. package/dist/runtime.d.ts +1 -1
  123. package/dist/runtime.js +198 -205
  124. package/dist/types/watch.d.ts +4 -5
  125. package/package.json +17 -13
  126. package/LICENSE +0 -661
  127. package/dist/Client-07zrOerN.js +0 -636
  128. package/dist/Client-CLvQWnuz.cjs +0 -1
  129. package/dist/wailsjs/go/data/Client.d.ts +0 -10
  130. package/dist/wailsjs/go/devserver/DevServerManager.d.ts +0 -24
  131. package/dist/wailsjs/go/diagnostics/DiagnosticsClient.d.ts +0 -18
  132. package/dist/wailsjs/go/exec/Client.d.ts +0 -26
  133. package/dist/wailsjs/go/logs/Client.d.ts +0 -16
  134. package/dist/wailsjs/go/main/App.d.ts +0 -8
  135. package/dist/wailsjs/go/metric/Client.d.ts +0 -12
  136. package/dist/wailsjs/go/models.d.ts +0 -1060
  137. package/dist/wailsjs/go/networker/Client.d.ts +0 -14
  138. package/dist/wailsjs/go/plugin/pluginManager.d.ts +0 -52
  139. package/dist/wailsjs/go/pluginlog/Manager.d.ts +0 -18
  140. package/dist/wailsjs/go/resource/Client.d.ts +0 -90
  141. package/dist/wailsjs/go/settings/Client.d.ts +0 -14
  142. package/dist/wailsjs/go/settings/provider.d.ts +0 -48
  143. package/dist/wailsjs/go/ui/Client.d.ts +0 -6
  144. package/dist/wailsjs/go/utils/Client.d.ts +0 -2
  145. package/dist/wailsjs/runtime/runtime.d.ts +0 -249
@@ -0,0 +1,22 @@
1
+ import * as lifecycle$0 from "../lifecycle/models.js";
2
+ import * as config$0 from "../../../../../plugin-sdk/pkg/config/models.js";
3
+ /**
4
+ * PluginStateRecord is the subset of PluginRecord that gets persisted to disk.
5
+ */
6
+ export declare class PluginStateRecord {
7
+ "id": string;
8
+ "phase": lifecycle$0.PluginPhase;
9
+ "metadata": config$0.PluginMeta;
10
+ "enabled": boolean;
11
+ "devMode": boolean;
12
+ "devPath"?: string;
13
+ "lastError"?: string;
14
+ "errorCount": number;
15
+ "installedAt": string;
16
+ /** Creates a new PluginStateRecord instance. */
17
+ constructor($$source?: Partial<PluginStateRecord>);
18
+ /**
19
+ * Creates a new PluginStateRecord instance from a string or object.
20
+ */
21
+ static createFrom($$source?: any): PluginStateRecord;
22
+ }
@@ -0,0 +1,3 @@
1
+ import * as ServiceWrapper from "./servicewrapper.js";
2
+ export { ServiceWrapper };
3
+ export { GetPluginComponentsInput, GetResourceAreaComponentInput, GetResourceComponentsInput, ResourceComponent, ResourceComponentArea } from './models.js';
@@ -0,0 +1,55 @@
1
+ export declare class GetPluginComponentsInput {
2
+ "plugin": string;
3
+ /** Creates a new GetPluginComponentsInput instance. */
4
+ constructor($$source?: Partial<GetPluginComponentsInput>);
5
+ /**
6
+ * Creates a new GetPluginComponentsInput instance from a string or object.
7
+ */
8
+ static createFrom($$source?: any): GetPluginComponentsInput;
9
+ }
10
+ export declare class GetResourceAreaComponentInput {
11
+ "plugin": string;
12
+ "resource": string;
13
+ "area": ResourceComponentArea;
14
+ /** Creates a new GetResourceAreaComponentInput instance. */
15
+ constructor($$source?: Partial<GetResourceAreaComponentInput>);
16
+ /**
17
+ * Creates a new GetResourceAreaComponentInput instance from a string or object.
18
+ */
19
+ static createFrom($$source?: any): GetResourceAreaComponentInput;
20
+ }
21
+ export declare class GetResourceComponentsInput {
22
+ "plugin": string;
23
+ "resource": string;
24
+ /** Creates a new GetResourceComponentsInput instance. */
25
+ constructor($$source?: Partial<GetResourceComponentsInput>);
26
+ /**
27
+ * Creates a new GetResourceComponentsInput instance from a string or object.
28
+ */
29
+ static createFrom($$source?: any): GetResourceComponentsInput;
30
+ }
31
+ /**
32
+ * ResourceComponent represents a UI component that can be displayed as part of the UI.
33
+ */
34
+ export declare class ResourceComponent {
35
+ "owner": string;
36
+ "name": string;
37
+ "plugin": string;
38
+ "resource": string;
39
+ "area": ResourceComponentArea;
40
+ "extension": string;
41
+ /** Creates a new ResourceComponent instance. */
42
+ constructor($$source?: Partial<ResourceComponent>);
43
+ /**
44
+ * Creates a new ResourceComponent instance from a string or object.
45
+ */
46
+ static createFrom($$source?: any): ResourceComponent;
47
+ }
48
+ export declare enum ResourceComponentArea {
49
+ /**
50
+ * The Go zero value for the underlying type of the enum.
51
+ */
52
+ $zero = "",
53
+ ResourceComponentAreaSidebar = "SIDEBAR",
54
+ ResourceComponentAreaTable = "TABLE"
55
+ }
@@ -0,0 +1,7 @@
1
+ import { CancellablePromise as $CancellablePromise } from '@wailsio/runtime';
2
+ import * as $models from "./models.js";
3
+ export declare function GetPluginComponents(params: $models.GetPluginComponentsInput): $CancellablePromise<{
4
+ [_ in string]?: $models.ResourceComponent[];
5
+ }>;
6
+ export declare function GetResourceAreaComponent(params: $models.GetResourceAreaComponentInput): $CancellablePromise<$models.ResourceComponent | null>;
7
+ export declare function GetResourceComponents(params: $models.GetResourceComponentsInput): $CancellablePromise<$models.ResourceComponent[]>;
@@ -0,0 +1,6 @@
1
+ import { CancellablePromise as $CancellablePromise } from '@wailsio/runtime';
2
+ import * as $models from "./models.js";
3
+ /**
4
+ * DetectLanguage detects the language of a file based on its filename and contents.
5
+ */
6
+ export declare function DetectLanguage(params: $models.GetLanguageInput): $CancellablePromise<string>;
@@ -0,0 +1,3 @@
1
+ import * as Client from "./client.js";
2
+ export { Client };
3
+ export { GetLanguageInput } from './models.js';
@@ -0,0 +1,10 @@
1
+ export declare class GetLanguageInput {
2
+ "filename": string;
3
+ "contents": string;
4
+ /** Creates a new GetLanguageInput instance. */
5
+ constructor($$source?: Partial<GetLanguageInput>);
6
+ /**
7
+ * Creates a new GetLanguageInput instance from a string or object.
8
+ */
9
+ static createFrom($$source?: any): GetLanguageInput;
10
+ }
@@ -0,0 +1,3 @@
1
+ import * as AppService from "./appservice.js";
2
+ export { AppService };
3
+ export { FileDialogOptions, FileFilter } from './models.js';
@@ -0,0 +1,2 @@
1
+ import * as ServiceWrapper from "./servicewrapper.js";
2
+ export { ServiceWrapper };
@@ -0,0 +1,48 @@
1
+ import { CancellablePromise as $CancellablePromise } from '@wailsio/runtime';
2
+ import * as settings$0 from "../../../plugin-sdk/settings/models.js";
3
+ export declare function GetBool(id: string): $CancellablePromise<boolean>;
4
+ /**
5
+ * GetCategories returns all category metadata for the UI settings navigation.
6
+ */
7
+ export declare function GetCategories(): $CancellablePromise<settings$0.Category[]>;
8
+ /**
9
+ * GetCategory returns a single settings category by ID, including full metadata
10
+ * (Label, Icon, Description) from the registered category definitions and live
11
+ * setting values from the in-memory provider.
12
+ */
13
+ export declare function GetCategory(id: string): $CancellablePromise<settings$0.Category>;
14
+ /**
15
+ * GetCategoryValues returns a flat map of setting values for a single category.
16
+ */
17
+ export declare function GetCategoryValues(id: string): $CancellablePromise<{
18
+ [_ in string]?: any;
19
+ }>;
20
+ export declare function GetFloat(id: string): $CancellablePromise<number>;
21
+ export declare function GetFloatSlice(id: string): $CancellablePromise<number[]>;
22
+ export declare function GetInt(id: string): $CancellablePromise<number>;
23
+ export declare function GetIntSlice(id: string): $CancellablePromise<number[]>;
24
+ export declare function GetSetting(id: string): $CancellablePromise<settings$0.Setting>;
25
+ export declare function GetSettingValue(id: string): $CancellablePromise<any>;
26
+ export declare function GetString(id: string): $CancellablePromise<string>;
27
+ export declare function GetStringSlice(id: string): $CancellablePromise<string[]>;
28
+ export declare function ListSettings(): $CancellablePromise<settings$0.Store>;
29
+ /**
30
+ * LoadSettings is a no-op reload trigger for the frontend. With bbolt-backed
31
+ * persistence, settings are always in memory — this exists so the frontend's
32
+ * "reload" button still has a valid binding. It re-reads from the in-memory
33
+ * store (which is already current).
34
+ */
35
+ export declare function LoadSettings(): $CancellablePromise<void>;
36
+ export declare function SetSetting(id: string, value: any): $CancellablePromise<void>;
37
+ export declare function SetSettings(settingsMap: {
38
+ [_ in string]?: any;
39
+ }): $CancellablePromise<void>;
40
+ /**
41
+ * Values returns a flat map of all setting values keyed by "category.settingID".
42
+ * This is a host-side convenience for the frontend — it was removed from the SDK
43
+ * Provider interface (plugins don't need it) but the UI settings context uses it
44
+ * to populate the full settings state.
45
+ */
46
+ export declare function Values(): $CancellablePromise<{
47
+ [_ in string]?: any;
48
+ }>;
@@ -0,0 +1,2 @@
1
+ import * as TelemetryBinding from "./telemetrybinding.js";
2
+ export { TelemetryBinding };
@@ -0,0 +1,7 @@
1
+ import { CancellablePromise as $CancellablePromise } from '@wailsio/runtime';
2
+ /**
3
+ * IngestFrontendSignals accepts a JSON payload from the frontend containing
4
+ * logs, errors, and measurements, and converts them into backend telemetry
5
+ * signals (Zap logs, OTel trace span events).
6
+ */
7
+ export declare function IngestFrontendSignals(payload: string): $CancellablePromise<void>;
@@ -0,0 +1,38 @@
1
+ /**
2
+ * FileDialogOptions defines options for file dialogs exposed to the frontend.
3
+ */
4
+ export declare class FileDialogOptions {
5
+ "defaultDirectory": string;
6
+ "defaultFilename": string;
7
+ "title": string;
8
+ "filters": FileFilter[];
9
+ "showHiddenFiles": boolean;
10
+ "canCreateDirectories": boolean;
11
+ "resolvesAliases": boolean;
12
+ "treatPackagesAsDirectories": boolean;
13
+ /** Creates a new FileDialogOptions instance. */
14
+ constructor($$source?: Partial<FileDialogOptions>);
15
+ /**
16
+ * Creates a new FileDialogOptions instance from a string or object.
17
+ */
18
+ static createFrom($$source?: any): FileDialogOptions;
19
+ }
20
+ /**
21
+ * FileFilter defines a filter for dialog boxes.
22
+ */
23
+ export declare class FileFilter {
24
+ /**
25
+ * Filter information EG: "Image Files (*.jpg, *.png)"
26
+ */
27
+ "displayName": string;
28
+ /**
29
+ * semicolon separated list of extensions, EG: "*.jpg;*.png"
30
+ */
31
+ "pattern": string;
32
+ /** Creates a new FileFilter instance. */
33
+ constructor($$source?: Partial<FileFilter>);
34
+ /**
35
+ * Creates a new FileFilter instance from a string or object.
36
+ */
37
+ static createFrom($$source?: any): FileFilter;
38
+ }
@@ -0,0 +1 @@
1
+ export { PluginAuthor, PluginComponentArea, PluginComponents, PluginMaintainer, PluginMeta, PluginResourceComponent, PluginTheme, PluginThemeColors } from './models.js';
@@ -0,0 +1,101 @@
1
+ export declare class PluginAuthor {
2
+ "name": string;
3
+ "email": string;
4
+ "url": string;
5
+ /** Creates a new PluginAuthor instance. */
6
+ constructor($$source?: Partial<PluginAuthor>);
7
+ /**
8
+ * Creates a new PluginAuthor instance from a string or object.
9
+ */
10
+ static createFrom($$source?: any): PluginAuthor;
11
+ }
12
+ export declare enum PluginComponentArea {
13
+ /**
14
+ * The Go zero value for the underlying type of the enum.
15
+ */
16
+ $zero = "",
17
+ PluginComponentAreaEditor = "EDITOR",
18
+ PluginComponentAreaSidebar = "SIDEBAR"
19
+ }
20
+ export declare class PluginComponents {
21
+ "resource": PluginResourceComponent[];
22
+ /** Creates a new PluginComponents instance. */
23
+ constructor($$source?: Partial<PluginComponents>);
24
+ /**
25
+ * Creates a new PluginComponents instance from a string or object.
26
+ */
27
+ static createFrom($$source?: any): PluginComponents;
28
+ }
29
+ export declare class PluginMaintainer {
30
+ "name": string;
31
+ "email": string;
32
+ /** Creates a new PluginMaintainer instance. */
33
+ constructor($$source?: Partial<PluginMaintainer>);
34
+ /**
35
+ * Creates a new PluginMaintainer instance from a string or object.
36
+ */
37
+ static createFrom($$source?: any): PluginMaintainer;
38
+ }
39
+ /**
40
+ * PluginMeta is the plugin description file located at the root of a plugin.
41
+ */
42
+ export declare class PluginMeta {
43
+ "id": string;
44
+ "version": string;
45
+ "name": string;
46
+ "icon": string;
47
+ "icon_url": string;
48
+ "description": string;
49
+ "repository": string;
50
+ "website": string;
51
+ "category": string;
52
+ "license": string;
53
+ "author"?: PluginAuthor | null;
54
+ "maintainers": PluginMaintainer[];
55
+ "tags": string[];
56
+ "dependencies": string[];
57
+ "capabilities": string[];
58
+ "theme": PluginTheme;
59
+ "components": PluginComponents;
60
+ "schema_version": number;
61
+ "sdk_protocol_version": number;
62
+ /** Creates a new PluginMeta instance. */
63
+ constructor($$source?: Partial<PluginMeta>);
64
+ /**
65
+ * Creates a new PluginMeta instance from a string or object.
66
+ */
67
+ static createFrom($$source?: any): PluginMeta;
68
+ }
69
+ export declare class PluginResourceComponent {
70
+ "name": string;
71
+ "plugin": string;
72
+ "area": PluginComponentArea;
73
+ "resources": string[];
74
+ "extension": string;
75
+ /** Creates a new PluginResourceComponent instance. */
76
+ constructor($$source?: Partial<PluginResourceComponent>);
77
+ /**
78
+ * Creates a new PluginResourceComponent instance from a string or object.
79
+ */
80
+ static createFrom($$source?: any): PluginResourceComponent;
81
+ }
82
+ export declare class PluginTheme {
83
+ "colors": PluginThemeColors;
84
+ /** Creates a new PluginTheme instance. */
85
+ constructor($$source?: Partial<PluginTheme>);
86
+ /**
87
+ * Creates a new PluginTheme instance from a string or object.
88
+ */
89
+ static createFrom($$source?: any): PluginTheme;
90
+ }
91
+ export declare class PluginThemeColors {
92
+ "primary": string;
93
+ "secondary": string;
94
+ "tertiary": string;
95
+ /** Creates a new PluginThemeColors instance. */
96
+ constructor($$source?: Partial<PluginThemeColors>);
97
+ /**
98
+ * Creates a new PluginThemeColors instance from a string or object.
99
+ */
100
+ static createFrom($$source?: any): PluginThemeColors;
101
+ }
@@ -0,0 +1 @@
1
+ export { Capability, Connection, ConnectionAutoConnect, ConnectionAutoConnectRetry, ConnectionAutoConnectTrigger, ConnectionLifecycle, ConnectionStatus, ConnectionStatusCode, PluginInfo } from './models.js';
@@ -0,0 +1,199 @@
1
+ import * as config$0 from "../config/models.js";
2
+ import * as time$0 from "../../../../../time/models.js";
3
+ /**
4
+ * Capability represents a plugin capability as a string type.
5
+ * Using strings allows direct matching with YAML/JSON config values
6
+ * and makes adding new capabilities non-breaking.
7
+ */
8
+ export declare enum Capability {
9
+ /**
10
+ * The Go zero value for the underlying type of the enum.
11
+ */
12
+ $zero = "",
13
+ CapabilityResource = "resource",
14
+ CapabilityExec = "exec",
15
+ CapabilityNetworker = "networker",
16
+ CapabilityLog = "log",
17
+ CapabilityMetric = "metric",
18
+ CapabilitySettings = "settings",
19
+ CapabilityUI = "ui"
20
+ }
21
+ /**
22
+ * Connection holds the current state (and configuration data) for an
23
+ * connection target for a plugin (e.g. a Kubernetes cluster, a cloud role, etc)
24
+ *
25
+ * This will be passed within the PluginContext so that it may be used across all requests,
26
+ * and data here not within the sensitiveStore will be exposed to the user in the UI for the
27
+ * plugin.
28
+ */
29
+ export declare class Connection {
30
+ /**
31
+ * LastRefresh is the time when the auth context was last refreshed
32
+ * +optional
33
+ */
34
+ "last_refresh": string;
35
+ /**
36
+ * Data is an optional map of arbitrary data that can be used to store additional information about the connection,
37
+ * such as credential file locations, etc.
38
+ *
39
+ * This data is exposed to the user in the UI under the settings panel for the namespace. If the data is sensitive,
40
+ * it should be stored in the SensitiveData field.
41
+ * +optional
42
+ */
43
+ "data": {
44
+ [_ in string]?: any;
45
+ };
46
+ /**
47
+ * Labels is a map of arbitrary key-value pairs that can be used to store additional information about the connection.
48
+ * Users will likely use and modify these labels to help organize and categorize their connections.
49
+ */
50
+ "labels": {
51
+ [_ in string]?: any;
52
+ };
53
+ /**
54
+ * Lifecycle contains IDE-managed lifecycle behavior for the connection.
55
+ * This is used by the host to orchestrate behaviors like auto-connect.
56
+ */
57
+ "lifecycle": ConnectionLifecycle;
58
+ /**
59
+ * ID is the unique identifier for the connection that makes sense to the plugin implementation.
60
+ * +required
61
+ */
62
+ "id": string;
63
+ /**
64
+ * UID is an autogenerated unique identifier for the connection that the IDE will use to identify and track.
65
+ */
66
+ "uid": string;
67
+ /**
68
+ * Name is the readable name of the connection. Editable by the user.
69
+ * +required
70
+ */
71
+ "name": string;
72
+ /**
73
+ * Description is an optional description of the connection. This is primarily for the user to customize
74
+ * the visual representation of the connection.
75
+ * +optional
76
+ */
77
+ "description": string;
78
+ /**
79
+ * Avatar is an optional image that can be used to represent the connection. This is primarily for the user to customize
80
+ * the visual representation of the connection in the UI.
81
+ * +optional
82
+ */
83
+ "avatar": string;
84
+ /**
85
+ * ExpiryTime is the amount of time before the connection expires.
86
+ * +optional
87
+ */
88
+ "expiry_time": time$0.Duration;
89
+ /**
90
+ * Client is a client structure that should be populated when the connection is created and used for connections
91
+ */
92
+ "Client": any;
93
+ /** Creates a new Connection instance. */
94
+ constructor($$source?: Partial<Connection>);
95
+ /**
96
+ * Creates a new Connection instance from a string or object.
97
+ */
98
+ static createFrom($$source?: any): Connection;
99
+ }
100
+ export declare class ConnectionAutoConnect {
101
+ "enabled": boolean;
102
+ "triggers": ConnectionAutoConnectTrigger[];
103
+ "retry": ConnectionAutoConnectRetry;
104
+ /** Creates a new ConnectionAutoConnect instance. */
105
+ constructor($$source?: Partial<ConnectionAutoConnect>);
106
+ /**
107
+ * Creates a new ConnectionAutoConnect instance from a string or object.
108
+ */
109
+ static createFrom($$source?: any): ConnectionAutoConnect;
110
+ }
111
+ export declare enum ConnectionAutoConnectRetry {
112
+ /**
113
+ * The Go zero value for the underlying type of the enum.
114
+ */
115
+ $zero = "",
116
+ ConnectionAutoConnectRetryNone = "NONE",
117
+ ConnectionAutoConnectRetryOnChange = "ON_CHANGE"
118
+ }
119
+ export declare enum ConnectionAutoConnectTrigger {
120
+ /**
121
+ * The Go zero value for the underlying type of the enum.
122
+ */
123
+ $zero = "",
124
+ ConnectionAutoConnectTriggerPluginStart = "PLUGIN_START",
125
+ ConnectionAutoConnectTriggerConnectionDiscovered = "CONNECTION_DISCOVERED"
126
+ }
127
+ export declare class ConnectionLifecycle {
128
+ "auto_connect"?: ConnectionAutoConnect | null;
129
+ /** Creates a new ConnectionLifecycle instance. */
130
+ constructor($$source?: Partial<ConnectionLifecycle>);
131
+ /**
132
+ * Creates a new ConnectionLifecycle instance from a string or object.
133
+ */
134
+ static createFrom($$source?: any): ConnectionLifecycle;
135
+ }
136
+ export declare class ConnectionStatus {
137
+ /**
138
+ * Connection is the connection that the status is for.
139
+ */
140
+ "connection": Connection | null;
141
+ /**
142
+ * StatusCode is the status code of the connection status.
143
+ */
144
+ "status": ConnectionStatusCode;
145
+ /**
146
+ * Error is the error that occurred when checking the connection status.
147
+ */
148
+ "error": string;
149
+ /**
150
+ * Message is a human readable message that describes the status.
151
+ */
152
+ "details": string;
153
+ /** Creates a new ConnectionStatus instance. */
154
+ constructor($$source?: Partial<ConnectionStatus>);
155
+ /**
156
+ * Creates a new ConnectionStatus instance from a string or object.
157
+ */
158
+ static createFrom($$source?: any): ConnectionStatus;
159
+ }
160
+ export declare enum ConnectionStatusCode {
161
+ /**
162
+ * The Go zero value for the underlying type of the enum.
163
+ */
164
+ $zero = "",
165
+ ConnectionStatusUnknown = "UNKNOWN",
166
+ ConnectionStatusConnected = "CONNECTED",
167
+ ConnectionStatusDisconnected = "DISCONNECTED",
168
+ ConnectionStatusPending = "PENDING",
169
+ ConnectionStatusFailed = "FAILED",
170
+ ConnectionStatusError = "ERROR",
171
+ ConnectionStatusUnauthorized = "UNAUTHORIZED",
172
+ ConnectionStatusForbidden = "FORBIDDEN",
173
+ ConnectionStatusBadRequest = "BAD_REQUEST",
174
+ ConnectionStatusNotFound = "NOT_FOUND",
175
+ ConnectionStatusTimeout = "TIMEOUT",
176
+ ConnectionStatusUnavailable = "UNAVAILABLE",
177
+ ConnectionStatusRequestEntityTooLarge = "REQUEST_ENTITY_TOO_LARGE"
178
+ }
179
+ /**
180
+ * PluginInfo represents the display/API-facing view of a plugin.
181
+ * This type is safe to serialize to JSON for the frontend.
182
+ * Runtime fields (RPCClient, PluginClient) live in the host-only PluginRecord.
183
+ */
184
+ export declare class PluginInfo {
185
+ "id": string;
186
+ "metadata": config$0.PluginMeta;
187
+ "phase": string;
188
+ "enabled": boolean;
189
+ "devMode": boolean;
190
+ "devPath"?: string;
191
+ "capabilities": Capability[];
192
+ "lastError"?: string;
193
+ /** Creates a new PluginInfo instance. */
194
+ constructor($$source?: Partial<PluginInfo>);
195
+ /**
196
+ * Creates a new PluginInfo instance from a string or object.
197
+ */
198
+ static createFrom($$source?: any): PluginInfo;
199
+ }
@@ -0,0 +1 @@
1
+ export { ActionTargetBuilder, Handler, Session, SessionOptions } from './models.js';
@@ -0,0 +1,79 @@
1
+ /**
2
+ * ActionTargetBuilder builds a dynamic list of targets for an action.
3
+ */
4
+ export declare class ActionTargetBuilder {
5
+ "label": string;
6
+ "label_selector": string;
7
+ "paths": string[];
8
+ "selectors": {
9
+ [_ in string]?: string;
10
+ };
11
+ /** Creates a new ActionTargetBuilder instance. */
12
+ constructor($$source?: Partial<ActionTargetBuilder>);
13
+ /**
14
+ * Creates a new ActionTargetBuilder instance from a string or object.
15
+ */
16
+ static createFrom($$source?: any): ActionTargetBuilder;
17
+ }
18
+ /**
19
+ * Handler handles running commands and creating sessions for a resource.
20
+ */
21
+ export declare class Handler {
22
+ "plugin": string;
23
+ "resource": string;
24
+ "target_builder": ActionTargetBuilder;
25
+ "default_command": string[];
26
+ /** Creates a new Handler instance. */
27
+ constructor($$source?: Partial<Handler>);
28
+ /**
29
+ * Creates a new Handler instance from a string or object.
30
+ */
31
+ static createFrom($$source?: any): Handler;
32
+ }
33
+ /**
34
+ * Session is a snapshot value type — safe for concurrent reads, returned by
35
+ * the public API. It carries no mutable internal state.
36
+ */
37
+ export declare class Session {
38
+ "created_at": string;
39
+ "labels": {
40
+ [_ in string]?: string;
41
+ };
42
+ "params": {
43
+ [_ in string]?: string;
44
+ };
45
+ "id": string;
46
+ "command": string[];
47
+ "attached": boolean;
48
+ /** Creates a new Session instance. */
49
+ constructor($$source?: Partial<Session>);
50
+ /**
51
+ * Creates a new Session instance from a string or object.
52
+ */
53
+ static createFrom($$source?: any): Session;
54
+ }
55
+ /**
56
+ * SessionOptions contains options for creating a new terminal session.
57
+ */
58
+ export declare class SessionOptions {
59
+ "params": {
60
+ [_ in string]?: string;
61
+ };
62
+ "labels": {
63
+ [_ in string]?: string;
64
+ };
65
+ "id": string;
66
+ "resource_plugin": string;
67
+ "resource_key": string;
68
+ "resource_data": {
69
+ [_ in string]?: any;
70
+ };
71
+ "command": string[];
72
+ "tty": boolean;
73
+ /** Creates a new SessionOptions instance. */
74
+ constructor($$source?: Partial<SessionOptions>);
75
+ /**
76
+ * Creates a new SessionOptions instance from a string or object.
77
+ */
78
+ static createFrom($$source?: any): SessionOptions;
79
+ }
@@ -0,0 +1 @@
1
+ export { ActionTargetBuilder, CreateSessionOptions, Handler, LogSession, LogSessionOptions, LogSessionStatus, LogSource, LogStreamCommand } from './models.js';