@openkaiden/kdn-api 0.10.0 → 0.12.0

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 (2) hide show
  1. package/index.d.ts +73 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -89,6 +89,7 @@ export type paths = {
89
89
  * "project": "project1",
90
90
  * "agent": "claude",
91
91
  * "model": "model1",
92
+ * "runtime": "podman",
92
93
  * "state": "stopped",
93
94
  * "paths": {
94
95
  * "source": "/home/user/workspace1",
@@ -166,6 +167,7 @@ export type paths = {
166
167
  * "project": "project1",
167
168
  * "agent": "claude",
168
169
  * "model": "model1",
170
+ * "runtime": "podman",
169
171
  * "state": "running",
170
172
  * "paths": {
171
173
  * "source": "/home/user/workspace1",
@@ -188,6 +190,7 @@ export type paths = {
188
190
  * "name": "workspace2",
189
191
  * "project": "project2",
190
192
  * "agent": "claude",
193
+ * "runtime": "podman",
191
194
  * "state": "stopped",
192
195
  * "paths": {
193
196
  * "source": "/home/user/workspace2",
@@ -628,6 +631,67 @@ export type paths = {
628
631
  patch?: never;
629
632
  trace?: never;
630
633
  };
634
+ "/runtime/list": {
635
+ parameters: {
636
+ query?: never;
637
+ header?: never;
638
+ path?: never;
639
+ cookie?: never;
640
+ };
641
+ /** List runtimes */
642
+ get: {
643
+ parameters: {
644
+ query?: never;
645
+ header?: never;
646
+ path?: never;
647
+ cookie?: never;
648
+ };
649
+ requestBody?: never;
650
+ responses: {
651
+ /** @description Successful response */
652
+ 200: {
653
+ headers: {
654
+ [name: string]: unknown;
655
+ };
656
+ content: {
657
+ /**
658
+ * @example {
659
+ * "items": [
660
+ * {
661
+ * "name": "podman",
662
+ * "description": "Container-based runtime using Podman",
663
+ * "local": true
664
+ * }
665
+ * ]
666
+ * }
667
+ */
668
+ "application/json": components["schemas"]["RuntimesList"];
669
+ };
670
+ };
671
+ /** @description Error response */
672
+ 400: {
673
+ headers: {
674
+ [name: string]: unknown;
675
+ };
676
+ content: {
677
+ /**
678
+ * @example {
679
+ * "error": "Error: failed to list runtimes"
680
+ * }
681
+ */
682
+ "application/json": components["schemas"]["Error"];
683
+ };
684
+ };
685
+ };
686
+ };
687
+ put?: never;
688
+ post?: never;
689
+ delete?: never;
690
+ options?: never;
691
+ head?: never;
692
+ patch?: never;
693
+ trace?: never;
694
+ };
631
695
  "/service/list": {
632
696
  parameters: {
633
697
  query?: never;
@@ -728,6 +792,7 @@ export type components = {
728
792
  project: string;
729
793
  agent: string;
730
794
  model?: string;
795
+ runtime: string;
731
796
  state: components["schemas"]["WorkspaceState"];
732
797
  paths: components["schemas"]["WorkspacePaths"];
733
798
  timestamps: components["schemas"]["WorkspaceTimestamps"];
@@ -782,6 +847,14 @@ export type components = {
782
847
  SecretServicesList: {
783
848
  items: components["schemas"]["SecretService"][];
784
849
  };
850
+ RuntimeInfo: {
851
+ name: string;
852
+ description: string;
853
+ local: boolean;
854
+ };
855
+ RuntimesList: {
856
+ items: components["schemas"]["RuntimeInfo"][];
857
+ };
785
858
  };
786
859
  responses: never;
787
860
  parameters: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openkaiden/kdn-api",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "description": "TypeScript types for the kaiden cli (kdn)",
5
5
  "repository": "https://github.com/openkaiden/kdn-api",
6
6
  "publishConfig": {