@komputer-ai/sdk 0.11.1 → 0.11.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.
Files changed (211) hide show
  1. package/.openapi-generator/FILES +69 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/README.md +147 -122
  4. package/dist/apis/AgentsApi.d.ts +173 -0
  5. package/dist/apis/AgentsApi.js +383 -0
  6. package/dist/apis/ConnectorsApi.d.ts +118 -0
  7. package/dist/apis/ConnectorsApi.js +247 -0
  8. package/dist/apis/MemoriesApi.d.ts +115 -0
  9. package/dist/apis/MemoriesApi.js +252 -0
  10. package/dist/apis/OfficesApi.d.ts +98 -0
  11. package/dist/apis/OfficesApi.js +208 -0
  12. package/dist/apis/SchedulesApi.d.ts +111 -0
  13. package/dist/apis/SchedulesApi.js +252 -0
  14. package/dist/apis/SecretsApi.d.ts +98 -0
  15. package/dist/apis/SecretsApi.js +211 -0
  16. package/dist/apis/SkillsApi.d.ts +115 -0
  17. package/dist/apis/SkillsApi.js +252 -0
  18. package/dist/apis/TemplatesApi.d.ts +56 -0
  19. package/dist/apis/TemplatesApi.js +109 -0
  20. package/dist/apis/index.d.ts +8 -0
  21. package/dist/apis/index.js +26 -0
  22. package/dist/client.d.ts +175 -0
  23. package/dist/client.js +293 -0
  24. package/dist/esm/apis/AgentsApi.d.ts +173 -0
  25. package/dist/esm/apis/AgentsApi.js +379 -0
  26. package/dist/esm/apis/ConnectorsApi.d.ts +118 -0
  27. package/dist/esm/apis/ConnectorsApi.js +243 -0
  28. package/dist/esm/apis/MemoriesApi.d.ts +115 -0
  29. package/dist/esm/apis/MemoriesApi.js +248 -0
  30. package/dist/esm/apis/OfficesApi.d.ts +98 -0
  31. package/dist/esm/apis/OfficesApi.js +204 -0
  32. package/dist/esm/apis/SchedulesApi.d.ts +111 -0
  33. package/dist/esm/apis/SchedulesApi.js +248 -0
  34. package/dist/esm/apis/SecretsApi.d.ts +98 -0
  35. package/dist/esm/apis/SecretsApi.js +207 -0
  36. package/dist/esm/apis/SkillsApi.d.ts +115 -0
  37. package/dist/esm/apis/SkillsApi.js +248 -0
  38. package/dist/esm/apis/TemplatesApi.d.ts +56 -0
  39. package/dist/esm/apis/TemplatesApi.js +105 -0
  40. package/dist/esm/apis/index.d.ts +8 -0
  41. package/dist/esm/client.d.ts +175 -0
  42. package/dist/esm/client.js +289 -0
  43. package/{src/index.ts → dist/esm/index.d.ts} +0 -2
  44. package/dist/esm/index.js +6 -0
  45. package/dist/esm/models/AgentListResponse.d.ts +33 -0
  46. package/dist/esm/models/AgentListResponse.js +42 -0
  47. package/dist/esm/models/AgentResponse.d.ts +134 -0
  48. package/dist/esm/models/AgentResponse.js +75 -0
  49. package/dist/esm/models/ConnectorResponse.d.ts +104 -0
  50. package/{src/models/ConnectorResponse.ts → dist/esm/models/ConnectorResponse.js} +6 -102
  51. package/dist/esm/models/CreateAgentRequest.d.ts +104 -0
  52. package/dist/esm/models/CreateAgentRequest.js +69 -0
  53. package/dist/esm/models/CreateConnectorRequest.d.ts +92 -0
  54. package/{src/models/CreateConnectorRequest.ts → dist/esm/models/CreateConnectorRequest.js} +12 -93
  55. package/dist/esm/models/CreateMemoryRequest.d.ts +50 -0
  56. package/{src/models/CreateMemoryRequest.ts → dist/esm/models/CreateMemoryRequest.js} +10 -50
  57. package/dist/esm/models/CreateScheduleAgentSpec.d.ts +56 -0
  58. package/{src/models/CreateScheduleAgentSpec.ts → dist/esm/models/CreateScheduleAgentSpec.js} +6 -54
  59. package/dist/esm/models/CreateScheduleRequest.d.ts +81 -0
  60. package/dist/esm/models/CreateScheduleRequest.js +64 -0
  61. package/dist/esm/models/CreateSecretRequest.d.ts +46 -0
  62. package/dist/esm/models/CreateSecretRequest.js +49 -0
  63. package/dist/esm/models/CreateSkillRequest.d.ts +50 -0
  64. package/dist/esm/models/CreateSkillRequest.js +53 -0
  65. package/dist/esm/models/MemoryResponse.d.ts +68 -0
  66. package/dist/esm/models/MemoryResponse.js +53 -0
  67. package/dist/esm/models/OfficeListResponse.d.ts +33 -0
  68. package/dist/esm/models/OfficeListResponse.js +42 -0
  69. package/dist/esm/models/OfficeMemberResponse.d.ts +50 -0
  70. package/dist/esm/models/OfficeMemberResponse.js +47 -0
  71. package/dist/esm/models/OfficeResponse.d.ts +93 -0
  72. package/dist/esm/models/OfficeResponse.js +62 -0
  73. package/dist/esm/models/PatchAgentRequest.d.ts +80 -0
  74. package/{src/models/PatchAgentRequest.ts → dist/esm/models/PatchAgentRequest.js} +6 -78
  75. package/dist/esm/models/PatchMemoryRequest.d.ts +38 -0
  76. package/dist/esm/models/PatchMemoryRequest.js +43 -0
  77. package/dist/esm/models/PatchScheduleRequest.d.ts +32 -0
  78. package/dist/esm/models/PatchScheduleRequest.js +41 -0
  79. package/dist/esm/models/PatchSkillRequest.d.ts +38 -0
  80. package/{src/models/PatchSkillRequest.ts → dist/esm/models/PatchSkillRequest.js} +6 -36
  81. package/dist/esm/models/ScheduleListResponse.d.ts +33 -0
  82. package/dist/esm/models/ScheduleListResponse.js +42 -0
  83. package/dist/esm/models/ScheduleResponse.d.ts +140 -0
  84. package/dist/esm/models/ScheduleResponse.js +77 -0
  85. package/dist/esm/models/SecretListResponse.d.ts +33 -0
  86. package/dist/esm/models/SecretListResponse.js +42 -0
  87. package/dist/esm/models/SecretResponse.d.ts +74 -0
  88. package/dist/esm/models/SecretResponse.js +55 -0
  89. package/dist/esm/models/SkillResponse.d.ts +74 -0
  90. package/dist/esm/models/SkillResponse.js +55 -0
  91. package/dist/esm/models/UpdateSecretRequest.d.ts +40 -0
  92. package/{src/models/UpdateSecretRequest.ts → dist/esm/models/UpdateSecretRequest.js} +8 -37
  93. package/dist/esm/models/index.d.ts +24 -0
  94. package/dist/esm/runtime.d.ts +184 -0
  95. package/dist/esm/runtime.js +349 -0
  96. package/dist/esm/watch.d.ts +32 -0
  97. package/dist/esm/watch.js +96 -0
  98. package/dist/index.d.ts +5 -0
  99. package/dist/index.js +24 -0
  100. package/dist/models/AgentListResponse.d.ts +33 -0
  101. package/dist/models/AgentListResponse.js +49 -0
  102. package/dist/models/AgentResponse.d.ts +134 -0
  103. package/{src/models/AgentResponse.ts → dist/models/AgentResponse.js} +13 -132
  104. package/dist/models/ConnectorResponse.d.ts +104 -0
  105. package/dist/models/ConnectorResponse.js +72 -0
  106. package/dist/models/CreateAgentRequest.d.ts +104 -0
  107. package/dist/models/CreateAgentRequest.js +76 -0
  108. package/dist/models/CreateConnectorRequest.d.ts +92 -0
  109. package/dist/models/CreateConnectorRequest.js +74 -0
  110. package/dist/models/CreateMemoryRequest.d.ts +50 -0
  111. package/dist/models/CreateMemoryRequest.js +58 -0
  112. package/dist/models/CreateScheduleAgentSpec.d.ts +56 -0
  113. package/dist/models/CreateScheduleAgentSpec.js +56 -0
  114. package/dist/models/CreateScheduleRequest.d.ts +81 -0
  115. package/dist/models/CreateScheduleRequest.js +71 -0
  116. package/dist/models/CreateSecretRequest.d.ts +46 -0
  117. package/dist/models/CreateSecretRequest.js +56 -0
  118. package/dist/models/CreateSkillRequest.d.ts +50 -0
  119. package/{src/models/CreateSkillRequest.ts → dist/models/CreateSkillRequest.js} +19 -51
  120. package/dist/models/MemoryResponse.d.ts +68 -0
  121. package/{src/models/MemoryResponse.ts → dist/models/MemoryResponse.js} +13 -66
  122. package/dist/models/OfficeListResponse.d.ts +33 -0
  123. package/dist/models/OfficeListResponse.js +49 -0
  124. package/dist/models/OfficeMemberResponse.d.ts +50 -0
  125. package/{src/models/OfficeMemberResponse.ts → dist/models/OfficeMemberResponse.js} +13 -48
  126. package/dist/models/OfficeResponse.d.ts +93 -0
  127. package/dist/models/OfficeResponse.js +69 -0
  128. package/dist/models/PatchAgentRequest.d.ts +80 -0
  129. package/dist/models/PatchAgentRequest.js +64 -0
  130. package/dist/models/PatchMemoryRequest.d.ts +38 -0
  131. package/{src/models/PatchMemoryRequest.ts → dist/models/PatchMemoryRequest.js} +13 -36
  132. package/dist/models/PatchScheduleRequest.d.ts +32 -0
  133. package/{src/models/PatchScheduleRequest.ts → dist/models/PatchScheduleRequest.js} +13 -30
  134. package/dist/models/PatchSkillRequest.d.ts +38 -0
  135. package/dist/models/PatchSkillRequest.js +50 -0
  136. package/dist/models/ScheduleListResponse.d.ts +33 -0
  137. package/dist/models/ScheduleListResponse.js +49 -0
  138. package/dist/models/ScheduleResponse.d.ts +140 -0
  139. package/{src/models/ScheduleResponse.ts → dist/models/ScheduleResponse.js} +13 -138
  140. package/dist/models/SecretListResponse.d.ts +33 -0
  141. package/dist/models/SecretListResponse.js +49 -0
  142. package/dist/models/SecretResponse.d.ts +74 -0
  143. package/{src/models/SecretResponse.ts → dist/models/SecretResponse.js} +13 -72
  144. package/dist/models/SkillResponse.d.ts +74 -0
  145. package/{src/models/SkillResponse.ts → dist/models/SkillResponse.js} +13 -72
  146. package/dist/models/UpdateSecretRequest.d.ts +40 -0
  147. package/dist/models/UpdateSecretRequest.js +52 -0
  148. package/dist/models/index.d.ts +24 -0
  149. package/dist/models/index.js +42 -0
  150. package/dist/runtime.d.ts +184 -0
  151. package/dist/runtime.js +365 -0
  152. package/dist/watch.d.ts +32 -0
  153. package/dist/watch.js +100 -0
  154. package/package.json +6 -3
  155. package/.openapi-generator-ignore +0 -31
  156. package/docs/AgentListResponse.md +0 -34
  157. package/docs/AgentResponse.md +0 -68
  158. package/docs/AgentsApi.md +0 -584
  159. package/docs/ConnectorResponse.md +0 -58
  160. package/docs/ConnectorsApi.md +0 -366
  161. package/docs/CreateAgentRequest.md +0 -58
  162. package/docs/CreateConnectorRequest.md +0 -54
  163. package/docs/CreateMemoryRequest.md +0 -40
  164. package/docs/CreateScheduleAgentSpec.md +0 -42
  165. package/docs/CreateScheduleRequest.md +0 -50
  166. package/docs/CreateSecretRequest.md +0 -38
  167. package/docs/CreateSkillRequest.md +0 -40
  168. package/docs/MemoriesApi.md +0 -368
  169. package/docs/MemoryResponse.md +0 -46
  170. package/docs/OfficeListResponse.md +0 -34
  171. package/docs/OfficeMemberResponse.md +0 -40
  172. package/docs/OfficeResponse.md +0 -54
  173. package/docs/OfficesApi.md +0 -300
  174. package/docs/PatchAgentRequest.md +0 -50
  175. package/docs/PatchMemoryRequest.md +0 -36
  176. package/docs/PatchScheduleRequest.md +0 -34
  177. package/docs/PatchSkillRequest.md +0 -36
  178. package/docs/ScheduleListResponse.md +0 -34
  179. package/docs/ScheduleResponse.md +0 -70
  180. package/docs/SchedulesApi.md +0 -369
  181. package/docs/SecretListResponse.md +0 -34
  182. package/docs/SecretResponse.md +0 -48
  183. package/docs/SecretsApi.md +0 -298
  184. package/docs/SkillResponse.md +0 -48
  185. package/docs/SkillsApi.md +0 -368
  186. package/docs/TemplatesApi.md +0 -138
  187. package/docs/UpdateSecretRequest.md +0 -36
  188. package/src/apis/AgentsApi.ts +0 -485
  189. package/src/apis/ConnectorsApi.ts +0 -301
  190. package/src/apis/MemoriesApi.ts +0 -315
  191. package/src/apis/OfficesApi.ts +0 -253
  192. package/src/apis/SchedulesApi.ts +0 -318
  193. package/src/apis/SecretsApi.ts +0 -267
  194. package/src/apis/SkillsApi.ts +0 -315
  195. package/src/apis/TemplatesApi.ts +0 -109
  196. package/src/client.test.ts +0 -88
  197. package/src/client.ts +0 -212
  198. package/src/models/AgentListResponse.ts +0 -73
  199. package/src/models/CreateAgentRequest.ts +0 -163
  200. package/src/models/CreateScheduleRequest.ts +0 -140
  201. package/src/models/CreateSecretRequest.ts +0 -83
  202. package/src/models/OfficeListResponse.ts +0 -73
  203. package/src/models/OfficeResponse.ts +0 -153
  204. package/src/models/ScheduleListResponse.ts +0 -73
  205. package/src/models/SecretListResponse.ts +0 -73
  206. package/src/runtime.ts +0 -450
  207. package/src/watch.ts +0 -89
  208. package/tsconfig.esm.json +0 -7
  209. package/tsconfig.json +0 -18
  210. /package/{src/apis/index.ts → dist/esm/apis/index.js} +0 -0
  211. /package/{src/models/index.ts → dist/esm/models/index.js} +0 -0
@@ -0,0 +1,80 @@
1
+ /**
2
+ * komputer.ai API
3
+ * API-first platform for running persistent Claude AI agents on Kubernetes. Designed to be driven by external systems — create agents, send tasks, and stream real-time results via REST + WebSocket.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PatchAgentRequest
16
+ */
17
+ export interface PatchAgentRequest {
18
+ /**
19
+ * connector names to attach
20
+ * @type {Array<string>}
21
+ * @memberof PatchAgentRequest
22
+ */
23
+ connectors?: Array<string>;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PatchAgentRequest
28
+ */
29
+ instructions?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PatchAgentRequest
34
+ */
35
+ lifecycle?: string;
36
+ /**
37
+ * memory names to attach
38
+ * @type {Array<string>}
39
+ * @memberof PatchAgentRequest
40
+ */
41
+ memories?: Array<string>;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof PatchAgentRequest
46
+ */
47
+ model?: string;
48
+ /**
49
+ * full replacement list of K8s secret names
50
+ * @type {Array<string>}
51
+ * @memberof PatchAgentRequest
52
+ */
53
+ secretRefs?: Array<string>;
54
+ /**
55
+ * skill names to attach
56
+ * @type {Array<string>}
57
+ * @memberof PatchAgentRequest
58
+ */
59
+ skills?: Array<string>;
60
+ /**
61
+ * custom system prompt
62
+ * @type {string}
63
+ * @memberof PatchAgentRequest
64
+ */
65
+ systemPrompt?: string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof PatchAgentRequest
70
+ */
71
+ templateRef?: string;
72
+ }
73
+ /**
74
+ * Check if a given object implements the PatchAgentRequest interface.
75
+ */
76
+ export declare function instanceOfPatchAgentRequest(value: object): value is PatchAgentRequest;
77
+ export declare function PatchAgentRequestFromJSON(json: any): PatchAgentRequest;
78
+ export declare function PatchAgentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchAgentRequest;
79
+ export declare function PatchAgentRequestToJSON(json: any): PatchAgentRequest;
80
+ export declare function PatchAgentRequestToJSONTyped(value?: PatchAgentRequest | null, ignoreDiscriminator?: boolean): any;
@@ -5,93 +5,26 @@
5
5
  * API-first platform for running persistent Claude AI agents on Kubernetes. Designed to be driven by external systems — create agents, send tasks, and stream real-time results via REST + WebSocket.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface PatchAgentRequest
20
- */
21
- export interface PatchAgentRequest {
22
- /**
23
- * connector names to attach
24
- * @type {Array<string>}
25
- * @memberof PatchAgentRequest
26
- */
27
- connectors?: Array<string>;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof PatchAgentRequest
32
- */
33
- instructions?: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof PatchAgentRequest
38
- */
39
- lifecycle?: string;
40
- /**
41
- * memory names to attach
42
- * @type {Array<string>}
43
- * @memberof PatchAgentRequest
44
- */
45
- memories?: Array<string>;
46
- /**
47
- *
48
- * @type {string}
49
- * @memberof PatchAgentRequest
50
- */
51
- model?: string;
52
- /**
53
- * full replacement list of K8s secret names
54
- * @type {Array<string>}
55
- * @memberof PatchAgentRequest
56
- */
57
- secretRefs?: Array<string>;
58
- /**
59
- * skill names to attach
60
- * @type {Array<string>}
61
- * @memberof PatchAgentRequest
62
- */
63
- skills?: Array<string>;
64
- /**
65
- * custom system prompt
66
- * @type {string}
67
- * @memberof PatchAgentRequest
68
- */
69
- systemPrompt?: string;
70
- /**
71
- *
72
- * @type {string}
73
- * @memberof PatchAgentRequest
74
- */
75
- templateRef?: string;
76
- }
77
-
78
14
  /**
79
15
  * Check if a given object implements the PatchAgentRequest interface.
80
16
  */
81
- export function instanceOfPatchAgentRequest(value: object): value is PatchAgentRequest {
17
+ export function instanceOfPatchAgentRequest(value) {
82
18
  return true;
83
19
  }
84
-
85
- export function PatchAgentRequestFromJSON(json: any): PatchAgentRequest {
20
+ export function PatchAgentRequestFromJSON(json) {
86
21
  return PatchAgentRequestFromJSONTyped(json, false);
87
22
  }
88
-
89
- export function PatchAgentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchAgentRequest {
23
+ export function PatchAgentRequestFromJSONTyped(json, ignoreDiscriminator) {
90
24
  if (json == null) {
91
25
  return json;
92
26
  }
93
27
  return {
94
-
95
28
  'connectors': json['connectors'] == null ? undefined : json['connectors'],
96
29
  'instructions': json['instructions'] == null ? undefined : json['instructions'],
97
30
  'lifecycle': json['lifecycle'] == null ? undefined : json['lifecycle'],
@@ -103,18 +36,14 @@ export function PatchAgentRequestFromJSONTyped(json: any, ignoreDiscriminator: b
103
36
  'templateRef': json['templateRef'] == null ? undefined : json['templateRef'],
104
37
  };
105
38
  }
106
-
107
- export function PatchAgentRequestToJSON(json: any): PatchAgentRequest {
39
+ export function PatchAgentRequestToJSON(json) {
108
40
  return PatchAgentRequestToJSONTyped(json, false);
109
41
  }
110
-
111
- export function PatchAgentRequestToJSONTyped(value?: PatchAgentRequest | null, ignoreDiscriminator: boolean = false): any {
42
+ export function PatchAgentRequestToJSONTyped(value, ignoreDiscriminator = false) {
112
43
  if (value == null) {
113
44
  return value;
114
45
  }
115
-
116
46
  return {
117
-
118
47
  'connectors': value['connectors'],
119
48
  'instructions': value['instructions'],
120
49
  'lifecycle': value['lifecycle'],
@@ -126,4 +55,3 @@ export function PatchAgentRequestToJSONTyped(value?: PatchAgentRequest | null, i
126
55
  'templateRef': value['templateRef'],
127
56
  };
128
57
  }
129
-
@@ -0,0 +1,38 @@
1
+ /**
2
+ * komputer.ai API
3
+ * API-first platform for running persistent Claude AI agents on Kubernetes. Designed to be driven by external systems — create agents, send tasks, and stream real-time results via REST + WebSocket.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PatchMemoryRequest
16
+ */
17
+ export interface PatchMemoryRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PatchMemoryRequest
22
+ */
23
+ content?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PatchMemoryRequest
28
+ */
29
+ description?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PatchMemoryRequest interface.
33
+ */
34
+ export declare function instanceOfPatchMemoryRequest(value: object): value is PatchMemoryRequest;
35
+ export declare function PatchMemoryRequestFromJSON(json: any): PatchMemoryRequest;
36
+ export declare function PatchMemoryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchMemoryRequest;
37
+ export declare function PatchMemoryRequestToJSON(json: any): PatchMemoryRequest;
38
+ export declare function PatchMemoryRequestToJSONTyped(value?: PatchMemoryRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * komputer.ai API
5
+ * API-first platform for running persistent Claude AI agents on Kubernetes. Designed to be driven by external systems — create agents, send tasks, and stream real-time results via REST + WebSocket.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PatchMemoryRequest interface.
16
+ */
17
+ export function instanceOfPatchMemoryRequest(value) {
18
+ return true;
19
+ }
20
+ export function PatchMemoryRequestFromJSON(json) {
21
+ return PatchMemoryRequestFromJSONTyped(json, false);
22
+ }
23
+ export function PatchMemoryRequestFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'content': json['content'] == null ? undefined : json['content'],
29
+ 'description': json['description'] == null ? undefined : json['description'],
30
+ };
31
+ }
32
+ export function PatchMemoryRequestToJSON(json) {
33
+ return PatchMemoryRequestToJSONTyped(json, false);
34
+ }
35
+ export function PatchMemoryRequestToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'content': value['content'],
41
+ 'description': value['description'],
42
+ };
43
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * komputer.ai API
3
+ * API-first platform for running persistent Claude AI agents on Kubernetes. Designed to be driven by external systems — create agents, send tasks, and stream real-time results via REST + WebSocket.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PatchScheduleRequest
16
+ */
17
+ export interface PatchScheduleRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PatchScheduleRequest
22
+ */
23
+ schedule?: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the PatchScheduleRequest interface.
27
+ */
28
+ export declare function instanceOfPatchScheduleRequest(value: object): value is PatchScheduleRequest;
29
+ export declare function PatchScheduleRequestFromJSON(json: any): PatchScheduleRequest;
30
+ export declare function PatchScheduleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchScheduleRequest;
31
+ export declare function PatchScheduleRequestToJSON(json: any): PatchScheduleRequest;
32
+ export declare function PatchScheduleRequestToJSONTyped(value?: PatchScheduleRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,41 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * komputer.ai API
5
+ * API-first platform for running persistent Claude AI agents on Kubernetes. Designed to be driven by external systems — create agents, send tasks, and stream real-time results via REST + WebSocket.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PatchScheduleRequest interface.
16
+ */
17
+ export function instanceOfPatchScheduleRequest(value) {
18
+ return true;
19
+ }
20
+ export function PatchScheduleRequestFromJSON(json) {
21
+ return PatchScheduleRequestFromJSONTyped(json, false);
22
+ }
23
+ export function PatchScheduleRequestFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'schedule': json['schedule'] == null ? undefined : json['schedule'],
29
+ };
30
+ }
31
+ export function PatchScheduleRequestToJSON(json) {
32
+ return PatchScheduleRequestToJSONTyped(json, false);
33
+ }
34
+ export function PatchScheduleRequestToJSONTyped(value, ignoreDiscriminator = false) {
35
+ if (value == null) {
36
+ return value;
37
+ }
38
+ return {
39
+ 'schedule': value['schedule'],
40
+ };
41
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * komputer.ai API
3
+ * API-first platform for running persistent Claude AI agents on Kubernetes. Designed to be driven by external systems — create agents, send tasks, and stream real-time results via REST + WebSocket.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PatchSkillRequest
16
+ */
17
+ export interface PatchSkillRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PatchSkillRequest
22
+ */
23
+ content?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PatchSkillRequest
28
+ */
29
+ description?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PatchSkillRequest interface.
33
+ */
34
+ export declare function instanceOfPatchSkillRequest(value: object): value is PatchSkillRequest;
35
+ export declare function PatchSkillRequestFromJSON(json: any): PatchSkillRequest;
36
+ export declare function PatchSkillRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchSkillRequest;
37
+ export declare function PatchSkillRequestToJSON(json: any): PatchSkillRequest;
38
+ export declare function PatchSkillRequestToJSONTyped(value?: PatchSkillRequest | null, ignoreDiscriminator?: boolean): any;
@@ -5,69 +5,39 @@
5
5
  * API-first platform for running persistent Claude AI agents on Kubernetes. Designed to be driven by external systems — create agents, send tasks, and stream real-time results via REST + WebSocket.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface PatchSkillRequest
20
- */
21
- export interface PatchSkillRequest {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof PatchSkillRequest
26
- */
27
- content?: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof PatchSkillRequest
32
- */
33
- description?: string;
34
- }
35
-
36
14
  /**
37
15
  * Check if a given object implements the PatchSkillRequest interface.
38
16
  */
39
- export function instanceOfPatchSkillRequest(value: object): value is PatchSkillRequest {
17
+ export function instanceOfPatchSkillRequest(value) {
40
18
  return true;
41
19
  }
42
-
43
- export function PatchSkillRequestFromJSON(json: any): PatchSkillRequest {
20
+ export function PatchSkillRequestFromJSON(json) {
44
21
  return PatchSkillRequestFromJSONTyped(json, false);
45
22
  }
46
-
47
- export function PatchSkillRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchSkillRequest {
23
+ export function PatchSkillRequestFromJSONTyped(json, ignoreDiscriminator) {
48
24
  if (json == null) {
49
25
  return json;
50
26
  }
51
27
  return {
52
-
53
28
  'content': json['content'] == null ? undefined : json['content'],
54
29
  'description': json['description'] == null ? undefined : json['description'],
55
30
  };
56
31
  }
57
-
58
- export function PatchSkillRequestToJSON(json: any): PatchSkillRequest {
32
+ export function PatchSkillRequestToJSON(json) {
59
33
  return PatchSkillRequestToJSONTyped(json, false);
60
34
  }
61
-
62
- export function PatchSkillRequestToJSONTyped(value?: PatchSkillRequest | null, ignoreDiscriminator: boolean = false): any {
35
+ export function PatchSkillRequestToJSONTyped(value, ignoreDiscriminator = false) {
63
36
  if (value == null) {
64
37
  return value;
65
38
  }
66
-
67
39
  return {
68
-
69
40
  'content': value['content'],
70
41
  'description': value['description'],
71
42
  };
72
43
  }
73
-
@@ -0,0 +1,33 @@
1
+ /**
2
+ * komputer.ai API
3
+ * API-first platform for running persistent Claude AI agents on Kubernetes. Designed to be driven by external systems — create agents, send tasks, and stream real-time results via REST + WebSocket.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ScheduleResponse } from './ScheduleResponse';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ScheduleListResponse
17
+ */
18
+ export interface ScheduleListResponse {
19
+ /**
20
+ *
21
+ * @type {Array<ScheduleResponse>}
22
+ * @memberof ScheduleListResponse
23
+ */
24
+ schedules?: Array<ScheduleResponse>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ScheduleListResponse interface.
28
+ */
29
+ export declare function instanceOfScheduleListResponse(value: object): value is ScheduleListResponse;
30
+ export declare function ScheduleListResponseFromJSON(json: any): ScheduleListResponse;
31
+ export declare function ScheduleListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScheduleListResponse;
32
+ export declare function ScheduleListResponseToJSON(json: any): ScheduleListResponse;
33
+ export declare function ScheduleListResponseToJSONTyped(value?: ScheduleListResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * komputer.ai API
5
+ * API-first platform for running persistent Claude AI agents on Kubernetes. Designed to be driven by external systems — create agents, send tasks, and stream real-time results via REST + WebSocket.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ScheduleResponseFromJSON, ScheduleResponseToJSON, } from './ScheduleResponse';
15
+ /**
16
+ * Check if a given object implements the ScheduleListResponse interface.
17
+ */
18
+ export function instanceOfScheduleListResponse(value) {
19
+ return true;
20
+ }
21
+ export function ScheduleListResponseFromJSON(json) {
22
+ return ScheduleListResponseFromJSONTyped(json, false);
23
+ }
24
+ export function ScheduleListResponseFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'schedules': json['schedules'] == null ? undefined : (json['schedules'].map(ScheduleResponseFromJSON)),
30
+ };
31
+ }
32
+ export function ScheduleListResponseToJSON(json) {
33
+ return ScheduleListResponseToJSONTyped(json, false);
34
+ }
35
+ export function ScheduleListResponseToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'schedules': value['schedules'] == null ? undefined : (value['schedules'].map(ScheduleResponseToJSON)),
41
+ };
42
+ }
@@ -0,0 +1,140 @@
1
+ /**
2
+ * komputer.ai API
3
+ * API-first platform for running persistent Claude AI agents on Kubernetes. Designed to be driven by external systems — create agents, send tasks, and stream real-time results via REST + WebSocket.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ScheduleResponse
16
+ */
17
+ export interface ScheduleResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ScheduleResponse
22
+ */
23
+ agentName?: string;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof ScheduleResponse
28
+ */
29
+ autoDelete?: boolean;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ScheduleResponse
34
+ */
35
+ createdAt?: string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof ScheduleResponse
40
+ */
41
+ failedRuns?: number;
42
+ /**
43
+ *
44
+ * @type {boolean}
45
+ * @memberof ScheduleResponse
46
+ */
47
+ keepAgents?: boolean;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof ScheduleResponse
52
+ */
53
+ lastRunCostUSD?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof ScheduleResponse
58
+ */
59
+ lastRunStatus?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof ScheduleResponse
64
+ */
65
+ lastRunTime?: string;
66
+ /**
67
+ *
68
+ * @type {number}
69
+ * @memberof ScheduleResponse
70
+ */
71
+ lastRunTokens?: number;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof ScheduleResponse
76
+ */
77
+ name?: string;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof ScheduleResponse
82
+ */
83
+ namespace?: string;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof ScheduleResponse
88
+ */
89
+ nextRunTime?: string;
90
+ /**
91
+ *
92
+ * @type {string}
93
+ * @memberof ScheduleResponse
94
+ */
95
+ phase?: string;
96
+ /**
97
+ *
98
+ * @type {number}
99
+ * @memberof ScheduleResponse
100
+ */
101
+ runCount?: number;
102
+ /**
103
+ *
104
+ * @type {string}
105
+ * @memberof ScheduleResponse
106
+ */
107
+ schedule?: string;
108
+ /**
109
+ *
110
+ * @type {number}
111
+ * @memberof ScheduleResponse
112
+ */
113
+ successfulRuns?: number;
114
+ /**
115
+ *
116
+ * @type {string}
117
+ * @memberof ScheduleResponse
118
+ */
119
+ timezone?: string;
120
+ /**
121
+ *
122
+ * @type {string}
123
+ * @memberof ScheduleResponse
124
+ */
125
+ totalCostUSD?: string;
126
+ /**
127
+ *
128
+ * @type {number}
129
+ * @memberof ScheduleResponse
130
+ */
131
+ totalTokens?: number;
132
+ }
133
+ /**
134
+ * Check if a given object implements the ScheduleResponse interface.
135
+ */
136
+ export declare function instanceOfScheduleResponse(value: object): value is ScheduleResponse;
137
+ export declare function ScheduleResponseFromJSON(json: any): ScheduleResponse;
138
+ export declare function ScheduleResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScheduleResponse;
139
+ export declare function ScheduleResponseToJSON(json: any): ScheduleResponse;
140
+ export declare function ScheduleResponseToJSONTyped(value?: ScheduleResponse | null, ignoreDiscriminator?: boolean): any;