@rigkit/runtime-client 0.2.2 → 0.2.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rigkit/runtime-client",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
package/src/api.ts CHANGED
@@ -46,16 +46,6 @@ export const RuntimeControlProjectInfoEffectSchema = Schema.Struct({
46
46
  workflows: Schema.Array(RuntimeControlWorkflowSummaryEffectSchema),
47
47
  }).annotations({ identifier: "ProjectInfo" });
48
48
 
49
- export const RuntimeControlHostMethodRequirementEffectSchema = Schema.Struct({
50
- id: Schema.String,
51
- modes: Schema.optional(Schema.Array(Schema.String)),
52
- }).annotations({ identifier: "HostMethodRequirement" });
53
-
54
- export const RuntimeControlHostCapabilityRequirementEffectSchema = Schema.Struct({
55
- id: Schema.String,
56
- schemaHash: OptionalString,
57
- }).annotations({ identifier: "HostCapabilityRequirement" });
58
-
59
49
  export const RuntimeControlOperationCliEffectSchema = Schema.Struct({
60
50
  positionals: Schema.optional(Schema.Array(Schema.Struct({
61
51
  name: Schema.String,
@@ -79,22 +69,13 @@ export const RuntimeControlOperationEffectSchema = Schema.Struct({
79
69
  title: Schema.String,
80
70
  description: Schema.String,
81
71
  createsWorkspace: Schema.optional(Schema.Boolean),
82
- requiredHostMethods: Schema.optional(Schema.Array(RuntimeControlHostMethodRequirementEffectSchema)),
83
- requiredHostCapabilities: Schema.optional(Schema.Array(RuntimeControlHostCapabilityRequirementEffectSchema)),
84
72
  cli: Schema.optional(RuntimeControlOperationCliEffectSchema),
85
73
  inputSchema: UnknownRecord,
86
74
  }).annotations({ identifier: "RuntimeOperation" });
87
75
 
88
76
  export const RuntimeControlOperationsManifestEffectSchema = Schema.Struct({
89
- hostMethods: Schema.Struct({
90
- known: Schema.Array(RuntimeControlHostMethodRequirementEffectSchema),
91
- requiredByOperations: Schema.Record({ key: Schema.String, value: Schema.Array(Schema.String) }),
92
- }),
93
- hostCapabilities: Schema.Struct({
94
- optional: Schema.Array(RuntimeControlHostCapabilityRequirementEffectSchema),
95
- requiredByOperations: Schema.Record({ key: Schema.String, value: Schema.Array(Schema.String) }),
96
- }),
97
77
  operations: Schema.Array(RuntimeControlOperationEffectSchema),
78
+ workspaceOperations: Schema.Array(RuntimeControlOperationEffectSchema),
98
79
  }).annotations({ identifier: "OperationsManifest" });
99
80
 
100
81
  export const RuntimeControlWorkflowsResponseEffectSchema = Schema.Struct({
@@ -104,14 +85,8 @@ export const RuntimeControlWorkflowsResponseEffectSchema = Schema.Struct({
104
85
  export const RuntimeControlWorkspaceEffectSchema = Schema.Struct({
105
86
  id: Schema.String,
106
87
  name: Schema.String,
107
- providerId: Schema.String,
108
88
  workflow: Schema.String,
109
- resourceId: OptionalString,
110
- snapshotId: OptionalString,
111
- sourceRef: Schema.Unknown,
112
- context: UnknownRecord,
113
- metadata: UnknownRecord,
114
- data: UnknownRecord,
89
+ ctx: UnknownRecord,
115
90
  createdAt: Schema.String,
116
91
  updatedAt: Schema.String,
117
92
  }).annotations({ identifier: "Workspace" });
@@ -175,8 +150,6 @@ export type RuntimeControlHealth = Schema.Schema.Type<typeof RuntimeControlHealt
175
150
  export type RuntimeControlMetadata = Schema.Schema.Type<typeof RuntimeControlMetadataEffectSchema>;
176
151
  export type RuntimeControlWorkflowSummary = Schema.Schema.Type<typeof RuntimeControlWorkflowSummaryEffectSchema>;
177
152
  export type RuntimeControlProjectInfo = Schema.Schema.Type<typeof RuntimeControlProjectInfoEffectSchema>;
178
- export type RuntimeControlHostMethodRequirement = Schema.Schema.Type<typeof RuntimeControlHostMethodRequirementEffectSchema>;
179
- export type RuntimeControlHostCapabilityRequirement = Schema.Schema.Type<typeof RuntimeControlHostCapabilityRequirementEffectSchema>;
180
153
  export type RuntimeControlOperationCli = Schema.Schema.Type<typeof RuntimeControlOperationCliEffectSchema>;
181
154
  export type RuntimeControlOperation = Schema.Schema.Type<typeof RuntimeControlOperationEffectSchema>;
182
155
  export type RuntimeControlOperationsManifest = Schema.Schema.Type<typeof RuntimeControlOperationsManifestEffectSchema>;
package/src/index.ts CHANGED
@@ -25,8 +25,6 @@ export {
25
25
  } from "./client.ts";
26
26
  export {
27
27
  RuntimeControlHealthEffectSchema,
28
- RuntimeControlHostCapabilityRequirementEffectSchema,
29
- RuntimeControlHostMethodRequirementEffectSchema,
30
28
  RuntimeControlHostResponseEffectSchema,
31
29
  RuntimeControlMetadataEffectSchema,
32
30
  RuntimeControlOkResponseEffectSchema,
@@ -45,8 +43,6 @@ export {
45
43
  RuntimeControlWorkspacesResponseEffectSchema,
46
44
  runtimeControlApi,
47
45
  type RuntimeControlHealth,
48
- type RuntimeControlHostCapabilityRequirement,
49
- type RuntimeControlHostMethodRequirement,
50
46
  type RuntimeControlHostResponse,
51
47
  type RuntimeControlMetadata,
52
48
  type RuntimeControlOkResponse,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const RIGKIT_RUNTIME_CLIENT_VERSION = "0.2.2";
1
+ export const RIGKIT_RUNTIME_CLIENT_VERSION = "0.2.3";