@ebowwa/codespaces-types 1.1.0 → 1.2.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 (67) hide show
  1. package/{dist/compile → compile}/index.js +41 -15
  2. package/compile/index.ts +553 -0
  3. package/compile/resources.js +116 -0
  4. package/compile/resources.ts +157 -0
  5. package/compile/schemas/resources.js +127 -0
  6. package/compile/schemas/resources.ts +144 -0
  7. package/{dist/compile → compile}/terminal-websocket.js +4 -1
  8. package/compile/terminal-websocket.ts +133 -0
  9. package/compile/time.js +30 -0
  10. package/compile/time.ts +32 -0
  11. package/{dist/compile → compile}/user/distributions.js +0 -1
  12. package/{dist/compile/user/distributions.d.ts → compile/user/distributions.ts} +0 -1
  13. package/{dist/compile → compile}/validation.js +23 -17
  14. package/compile/validation.ts +98 -0
  15. package/index.js +21 -0
  16. package/index.ts +5 -0
  17. package/package.json +38 -45
  18. package/runtime/ai.js +505 -0
  19. package/runtime/ai.ts +501 -0
  20. package/runtime/api.js +677 -0
  21. package/runtime/api.ts +857 -0
  22. package/runtime/database.js +94 -0
  23. package/runtime/database.ts +107 -0
  24. package/runtime/env.js +63 -0
  25. package/runtime/env.ts +68 -0
  26. package/{dist/runtime → runtime}/glm.js +7 -4
  27. package/runtime/glm.ts +36 -0
  28. package/runtime/index.js +28 -0
  29. package/{dist/runtime/index.js → runtime/index.ts} +1 -0
  30. package/runtime/ssh.js +47 -0
  31. package/runtime/ssh.ts +58 -0
  32. package/README.md +0 -65
  33. package/dist/compile/index.d.ts +0 -437
  34. package/dist/compile/index.d.ts.map +0 -1
  35. package/dist/compile/resources.d.ts +0 -69
  36. package/dist/compile/resources.d.ts.map +0 -1
  37. package/dist/compile/resources.js +0 -113
  38. package/dist/compile/schemas/resources.d.ts +0 -166
  39. package/dist/compile/schemas/resources.d.ts.map +0 -1
  40. package/dist/compile/schemas/resources.js +0 -123
  41. package/dist/compile/terminal-websocket.d.ts +0 -109
  42. package/dist/compile/terminal-websocket.d.ts.map +0 -1
  43. package/dist/compile/time.d.ts +0 -7
  44. package/dist/compile/time.d.ts.map +0 -1
  45. package/dist/compile/time.js +0 -27
  46. package/dist/compile/user/distributions.d.ts.map +0 -1
  47. package/dist/compile/validation.d.ts +0 -44
  48. package/dist/compile/validation.d.ts.map +0 -1
  49. package/dist/runtime/ai.d.ts +0 -1336
  50. package/dist/runtime/ai.d.ts.map +0 -1
  51. package/dist/runtime/ai.js +0 -416
  52. package/dist/runtime/api.d.ts +0 -1304
  53. package/dist/runtime/api.d.ts.map +0 -1
  54. package/dist/runtime/api.js +0 -673
  55. package/dist/runtime/database.d.ts +0 -376
  56. package/dist/runtime/database.d.ts.map +0 -1
  57. package/dist/runtime/database.js +0 -91
  58. package/dist/runtime/env.d.ts +0 -121
  59. package/dist/runtime/env.d.ts.map +0 -1
  60. package/dist/runtime/env.js +0 -54
  61. package/dist/runtime/glm.d.ts +0 -17
  62. package/dist/runtime/glm.d.ts.map +0 -1
  63. package/dist/runtime/index.d.ts +0 -13
  64. package/dist/runtime/index.d.ts.map +0 -1
  65. package/dist/runtime/ssh.d.ts +0 -111
  66. package/dist/runtime/ssh.d.ts.map +0 -1
  67. package/dist/runtime/ssh.js +0 -44
@@ -1,1304 +0,0 @@
1
- /**
2
- * Zod schemas for API request/response validation
3
- */
4
- import { z } from "zod";
5
- /**
6
- * Environment ID validation
7
- */
8
- export declare const EnvironmentIdSchema: z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>;
9
- /**
10
- * Create Environment Request
11
- */
12
- export declare const CreateEnvironmentRequestSchema: z.ZodObject<{
13
- name: z.ZodString;
14
- serverType: z.ZodString;
15
- location: z.ZodString;
16
- sshKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17
- autoInstallSeed: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
18
- metadata: z.ZodOptional<z.ZodObject<{
19
- description: z.ZodOptional<z.ZodString>;
20
- project: z.ZodOptional<z.ZodString>;
21
- owner: z.ZodOptional<z.ZodString>;
22
- purpose: z.ZodOptional<z.ZodString>;
23
- environmentType: z.ZodOptional<z.ZodEnum<["development", "staging", "production", "testing"]>>;
24
- }, "strip", z.ZodTypeAny, {
25
- description?: string | undefined;
26
- project?: string | undefined;
27
- owner?: string | undefined;
28
- purpose?: string | undefined;
29
- environmentType?: "development" | "staging" | "production" | "testing" | undefined;
30
- }, {
31
- description?: string | undefined;
32
- project?: string | undefined;
33
- owner?: string | undefined;
34
- purpose?: string | undefined;
35
- environmentType?: "development" | "staging" | "production" | "testing" | undefined;
36
- }>>;
37
- }, "strip", z.ZodTypeAny, {
38
- name: string;
39
- serverType: string;
40
- location: string;
41
- sshKeys?: string[] | undefined;
42
- autoInstallSeed?: boolean | undefined;
43
- metadata?: {
44
- description?: string | undefined;
45
- project?: string | undefined;
46
- owner?: string | undefined;
47
- purpose?: string | undefined;
48
- environmentType?: "development" | "staging" | "production" | "testing" | undefined;
49
- } | undefined;
50
- }, {
51
- name: string;
52
- serverType: string;
53
- location: string;
54
- sshKeys?: string[] | undefined;
55
- autoInstallSeed?: boolean | undefined;
56
- metadata?: {
57
- description?: string | undefined;
58
- project?: string | undefined;
59
- owner?: string | undefined;
60
- purpose?: string | undefined;
61
- environmentType?: "development" | "staging" | "production" | "testing" | undefined;
62
- } | undefined;
63
- }>;
64
- /**
65
- * Update Metadata Request
66
- */
67
- export declare const UpdateMetadataRequestSchema: z.ZodObject<{
68
- description: z.ZodOptional<z.ZodString>;
69
- project: z.ZodOptional<z.ZodString>;
70
- owner: z.ZodOptional<z.ZodString>;
71
- purpose: z.ZodOptional<z.ZodString>;
72
- environmentType: z.ZodOptional<z.ZodEnum<["development", "staging", "production", "testing"]>>;
73
- }, "strip", z.ZodTypeAny, {
74
- description?: string | undefined;
75
- project?: string | undefined;
76
- owner?: string | undefined;
77
- purpose?: string | undefined;
78
- environmentType?: "development" | "staging" | "production" | "testing" | undefined;
79
- }, {
80
- description?: string | undefined;
81
- project?: string | undefined;
82
- owner?: string | undefined;
83
- purpose?: string | undefined;
84
- environmentType?: "development" | "staging" | "production" | "testing" | undefined;
85
- }>;
86
- /**
87
- * Update Activity Request
88
- */
89
- export declare const UpdateActivityRequestSchema: z.ZodObject<{
90
- hoursActive: z.ZodOptional<z.ZodNumber>;
91
- lastActive: z.ZodOptional<z.ZodString>;
92
- activePorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
93
- port: z.ZodNumber;
94
- protocol: z.ZodEnum<["tcp", "udp"]>;
95
- service: z.ZodOptional<z.ZodString>;
96
- state: z.ZodEnum<["open", "closed", "filtered"]>;
97
- }, "strip", z.ZodTypeAny, {
98
- port: number;
99
- protocol: "tcp" | "udp";
100
- state: "open" | "closed" | "filtered";
101
- service?: string | undefined;
102
- }, {
103
- port: number;
104
- protocol: "tcp" | "udp";
105
- state: "open" | "closed" | "filtered";
106
- service?: string | undefined;
107
- }>, "many">>;
108
- }, "strip", z.ZodTypeAny, {
109
- hoursActive?: number | undefined;
110
- lastActive?: string | undefined;
111
- activePorts?: {
112
- port: number;
113
- protocol: "tcp" | "udp";
114
- state: "open" | "closed" | "filtered";
115
- service?: string | undefined;
116
- }[] | undefined;
117
- }, {
118
- hoursActive?: number | undefined;
119
- lastActive?: string | undefined;
120
- activePorts?: {
121
- port: number;
122
- protocol: "tcp" | "udp";
123
- state: "open" | "closed" | "filtered";
124
- service?: string | undefined;
125
- }[] | undefined;
126
- }>;
127
- /**
128
- * Update Plugins Request
129
- */
130
- export declare const UpdatePluginsRequestSchema: z.ZodObject<{
131
- plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
132
- enabled: z.ZodBoolean;
133
- config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
134
- }, "strip", z.ZodTypeAny, {
135
- enabled: boolean;
136
- config?: Record<string, any> | undefined;
137
- }, {
138
- enabled: boolean;
139
- config?: Record<string, any> | undefined;
140
- }>>>;
141
- }, "strip", z.ZodTypeAny, {
142
- plugins?: Record<string, {
143
- enabled: boolean;
144
- config?: Record<string, any> | undefined;
145
- }> | undefined;
146
- }, {
147
- plugins?: Record<string, {
148
- enabled: boolean;
149
- config?: Record<string, any> | undefined;
150
- }> | undefined;
151
- }>;
152
- /**
153
- * SSH Connection Request
154
- */
155
- export declare const SSHConnectionRequestSchema: z.ZodObject<{
156
- host: z.ZodString;
157
- user: z.ZodOptional<z.ZodDefault<z.ZodString>>;
158
- }, "strip", z.ZodTypeAny, {
159
- host: string;
160
- user?: string | undefined;
161
- }, {
162
- host: string;
163
- user?: string | undefined;
164
- }>;
165
- /**
166
- * SSH Test Request
167
- */
168
- export declare const SSHTestRequestSchema: z.ZodObject<{
169
- host: z.ZodString;
170
- user: z.ZodOptional<z.ZodDefault<z.ZodString>>;
171
- port: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
172
- }, "strip", z.ZodTypeAny, {
173
- host: string;
174
- user?: string | undefined;
175
- port?: number | undefined;
176
- }, {
177
- host: string;
178
- user?: string | undefined;
179
- port?: number | undefined;
180
- }>;
181
- /**
182
- * SSH Fingerprint Request
183
- */
184
- export declare const SSHFingerprintRequestSchema: z.ZodObject<{
185
- host: z.ZodString;
186
- user: z.ZodOptional<z.ZodDefault<z.ZodString>>;
187
- port: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
188
- }, "strip", z.ZodTypeAny, {
189
- host: string;
190
- user?: string | undefined;
191
- port?: number | undefined;
192
- }, {
193
- host: string;
194
- user?: string | undefined;
195
- port?: number | undefined;
196
- }>;
197
- /**
198
- * Terminal Create Session Request
199
- */
200
- export declare const TerminalCreateSessionSchema: z.ZodObject<{
201
- host: z.ZodString;
202
- user: z.ZodOptional<z.ZodDefault<z.ZodString>>;
203
- port: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
204
- rows: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
205
- cols: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
206
- }, "strip", z.ZodTypeAny, {
207
- host: string;
208
- user?: string | undefined;
209
- port?: number | undefined;
210
- rows?: number | undefined;
211
- cols?: number | undefined;
212
- }, {
213
- host: string;
214
- user?: string | undefined;
215
- port?: number | undefined;
216
- rows?: number | undefined;
217
- cols?: number | undefined;
218
- }>;
219
- /**
220
- * Terminal Resize Request
221
- */
222
- export declare const TerminalResizeSchema: z.ZodObject<{
223
- sessionId: z.ZodString;
224
- rows: z.ZodNumber;
225
- cols: z.ZodNumber;
226
- }, "strip", z.ZodTypeAny, {
227
- rows: number;
228
- cols: number;
229
- sessionId: string;
230
- }, {
231
- rows: number;
232
- cols: number;
233
- sessionId: string;
234
- }>;
235
- /**
236
- * SCP Upload Request
237
- */
238
- export declare const SCPUploadRequestSchema: z.ZodObject<{
239
- host: z.ZodString;
240
- user: z.ZodOptional<z.ZodDefault<z.ZodString>>;
241
- source: z.ZodString;
242
- destination: z.ZodString;
243
- recursive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
244
- preserve: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
245
- }, "strip", z.ZodTypeAny, {
246
- host: string;
247
- source: string;
248
- destination: string;
249
- user?: string | undefined;
250
- recursive?: boolean | undefined;
251
- preserve?: boolean | undefined;
252
- }, {
253
- host: string;
254
- source: string;
255
- destination: string;
256
- user?: string | undefined;
257
- recursive?: boolean | undefined;
258
- preserve?: boolean | undefined;
259
- }>;
260
- /**
261
- * SCP Download Request
262
- */
263
- export declare const SCPDownloadRequestSchema: z.ZodObject<{
264
- host: z.ZodString;
265
- user: z.ZodOptional<z.ZodDefault<z.ZodString>>;
266
- source: z.ZodString;
267
- destination: z.ZodString;
268
- recursive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
269
- preserve: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
270
- }, "strip", z.ZodTypeAny, {
271
- host: string;
272
- source: string;
273
- destination: string;
274
- user?: string | undefined;
275
- recursive?: boolean | undefined;
276
- preserve?: boolean | undefined;
277
- }, {
278
- host: string;
279
- source: string;
280
- destination: string;
281
- user?: string | undefined;
282
- recursive?: boolean | undefined;
283
- preserve?: boolean | undefined;
284
- }>;
285
- /**
286
- * Files List Request
287
- */
288
- export declare const FilesListRequestSchema: z.ZodObject<{
289
- host: z.ZodString;
290
- user: z.ZodOptional<z.ZodDefault<z.ZodString>>;
291
- path: z.ZodOptional<z.ZodDefault<z.ZodString>>;
292
- }, "strip", z.ZodTypeAny, {
293
- host: string;
294
- user?: string | undefined;
295
- path?: string | undefined;
296
- }, {
297
- host: string;
298
- user?: string | undefined;
299
- path?: string | undefined;
300
- }>;
301
- /**
302
- * Files Preview Request
303
- */
304
- export declare const FilesPreviewRequestSchema: z.ZodObject<{
305
- host: z.ZodString;
306
- user: z.ZodOptional<z.ZodDefault<z.ZodString>>;
307
- path: z.ZodString;
308
- }, "strip", z.ZodTypeAny, {
309
- path: string;
310
- host: string;
311
- user?: string | undefined;
312
- }, {
313
- path: string;
314
- host: string;
315
- user?: string | undefined;
316
- }>;
317
- /**
318
- * SSH Key ID validation
319
- */
320
- export declare const SSHKeyIdSchema: z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>;
321
- /**
322
- * Create SSH Key Request
323
- */
324
- export declare const CreateSSHKeyRequestSchema: z.ZodObject<{
325
- name: z.ZodString;
326
- public_key: z.ZodString;
327
- labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
328
- }, "strip", z.ZodTypeAny, {
329
- name: string;
330
- public_key: string;
331
- labels?: Record<string, any> | undefined;
332
- }, {
333
- name: string;
334
- public_key: string;
335
- labels?: Record<string, any> | undefined;
336
- }>;
337
- /**
338
- * AI Generate Request
339
- */
340
- export declare const AIGenerateRequestSchema: z.ZodObject<{
341
- prompt: z.ZodString;
342
- model: z.ZodOptional<z.ZodString>;
343
- temperature: z.ZodOptional<z.ZodNumber>;
344
- maxTokens: z.ZodOptional<z.ZodNumber>;
345
- }, "strip", z.ZodTypeAny, {
346
- prompt: string;
347
- model?: string | undefined;
348
- temperature?: number | undefined;
349
- maxTokens?: number | undefined;
350
- }, {
351
- prompt: string;
352
- model?: string | undefined;
353
- temperature?: number | undefined;
354
- maxTokens?: number | undefined;
355
- }>;
356
- /**
357
- * AI Chat Request
358
- */
359
- export declare const AIChatRequestSchema: z.ZodObject<{
360
- messages: z.ZodArray<z.ZodAny, "many">;
361
- model: z.ZodOptional<z.ZodString>;
362
- temperature: z.ZodOptional<z.ZodNumber>;
363
- maxTokens: z.ZodOptional<z.ZodNumber>;
364
- }, "strip", z.ZodTypeAny, {
365
- messages: any[];
366
- model?: string | undefined;
367
- temperature?: number | undefined;
368
- maxTokens?: number | undefined;
369
- }, {
370
- messages: any[];
371
- model?: string | undefined;
372
- temperature?: number | undefined;
373
- maxTokens?: number | undefined;
374
- }>;
375
- /**
376
- * AI Suggest Name Request
377
- */
378
- export declare const AISuggestNameRequestSchema: z.ZodObject<{
379
- project: z.ZodOptional<z.ZodString>;
380
- description: z.ZodOptional<z.ZodString>;
381
- }, "strip", z.ZodTypeAny, {
382
- description?: string | undefined;
383
- project?: string | undefined;
384
- }, {
385
- description?: string | undefined;
386
- project?: string | undefined;
387
- }>;
388
- /**
389
- * AI Suggest Server Type Request
390
- */
391
- export declare const AISuggestServerTypeRequestSchema: z.ZodObject<{
392
- workload: z.ZodString;
393
- }, "strip", z.ZodTypeAny, {
394
- workload: string;
395
- }, {
396
- workload: string;
397
- }>;
398
- /**
399
- * AI Analyze Resources Request
400
- */
401
- export declare const AIAnalyzeResourcesRequestSchema: z.ZodObject<{
402
- cpu: z.ZodNumber;
403
- memory: z.ZodNumber;
404
- disk: z.ZodNumber;
405
- }, "strip", z.ZodTypeAny, {
406
- cpu: number;
407
- memory: number;
408
- disk: number;
409
- }, {
410
- cpu: number;
411
- memory: number;
412
- disk: number;
413
- }>;
414
- /**
415
- * AI Troubleshoot SSH Request
416
- */
417
- export declare const AITroubleshootSSHRequestSchema: z.ZodObject<{
418
- error: z.ZodString;
419
- }, "strip", z.ZodTypeAny, {
420
- error: string;
421
- }, {
422
- error: string;
423
- }>;
424
- /**
425
- * AI Suggest Actions Request
426
- */
427
- export declare const AISuggestActionsRequestSchema: z.ZodObject<{
428
- status: z.ZodString;
429
- age: z.ZodOptional<z.ZodString>;
430
- }, "strip", z.ZodTypeAny, {
431
- status: string;
432
- age?: string | undefined;
433
- }, {
434
- status: string;
435
- age?: string | undefined;
436
- }>;
437
- /**
438
- * AI Status Message Request
439
- */
440
- export declare const AIStatusMessageRequestSchema: z.ZodObject<{
441
- status: z.ZodString;
442
- name: z.ZodString;
443
- }, "strip", z.ZodTypeAny, {
444
- status: string;
445
- name: string;
446
- }, {
447
- status: string;
448
- name: string;
449
- }>;
450
- /**
451
- * Metrics Query Schema (for query parameters)
452
- */
453
- export declare const MetricsQuerySchema: z.ZodObject<{
454
- hours: z.ZodPipeline<z.ZodEffects<z.ZodDefault<z.ZodString>, number, string | undefined>, z.ZodNumber>;
455
- limit: z.ZodPipeline<z.ZodEffects<z.ZodDefault<z.ZodString>, number, string | undefined>, z.ZodNumber>;
456
- }, "strip", z.ZodTypeAny, {
457
- hours: number;
458
- limit: number;
459
- }, {
460
- hours?: string | undefined;
461
- limit?: string | undefined;
462
- }>;
463
- /**
464
- * Insert Metric Request
465
- */
466
- export declare const InsertMetricRequestSchema: z.ZodObject<{
467
- environmentId: z.ZodNumber;
468
- cpuPercent: z.ZodNumber;
469
- memoryPercent: z.ZodNumber;
470
- memoryUsed: z.ZodNumber;
471
- memoryTotal: z.ZodNumber;
472
- diskPercent: z.ZodNumber;
473
- diskUsed: z.ZodNumber;
474
- diskTotal: z.ZodNumber;
475
- gpuPercent: z.ZodOptional<z.ZodNumber>;
476
- gpuMemoryUsed: z.ZodOptional<z.ZodNumber>;
477
- gpuMemoryTotal: z.ZodOptional<z.ZodNumber>;
478
- }, "strip", z.ZodTypeAny, {
479
- environmentId: number;
480
- cpuPercent: number;
481
- memoryPercent: number;
482
- memoryUsed: number;
483
- memoryTotal: number;
484
- diskPercent: number;
485
- diskUsed: number;
486
- diskTotal: number;
487
- gpuPercent?: number | undefined;
488
- gpuMemoryUsed?: number | undefined;
489
- gpuMemoryTotal?: number | undefined;
490
- }, {
491
- environmentId: number;
492
- cpuPercent: number;
493
- memoryPercent: number;
494
- memoryUsed: number;
495
- memoryTotal: number;
496
- diskPercent: number;
497
- diskUsed: number;
498
- diskTotal: number;
499
- gpuPercent?: number | undefined;
500
- gpuMemoryUsed?: number | undefined;
501
- gpuMemoryTotal?: number | undefined;
502
- }>;
503
- /**
504
- * AI Analyze Historical Request
505
- */
506
- export declare const AIAnalyzeHistoricalRequestSchema: z.ZodObject<{
507
- environmentId: z.ZodNumber;
508
- hours: z.ZodDefault<z.ZodNumber>;
509
- }, "strip", z.ZodTypeAny, {
510
- hours: number;
511
- environmentId: number;
512
- }, {
513
- environmentId: number;
514
- hours?: number | undefined;
515
- }>;
516
- /**
517
- * Type exports for TypeScript inference
518
- */
519
- export type CreateEnvironmentRequest = z.infer<typeof CreateEnvironmentRequestSchema>;
520
- export type UpdateMetadataRequest = z.infer<typeof UpdateMetadataRequestSchema>;
521
- export type UpdateActivityRequest = z.infer<typeof UpdateActivityRequestSchema>;
522
- export type UpdatePluginsRequest = z.infer<typeof UpdatePluginsRequestSchema>;
523
- export type SSHConnectionRequest = z.infer<typeof SSHConnectionRequestSchema>;
524
- export type SSHTestRequest = z.infer<typeof SSHTestRequestSchema>;
525
- export type SSHFingerprintRequest = z.infer<typeof SSHFingerprintRequestSchema>;
526
- export type SCPUploadRequest = z.infer<typeof SCPUploadRequestSchema>;
527
- export type SCPDownloadRequest = z.infer<typeof SCPDownloadRequestSchema>;
528
- export type FilesListRequest = z.infer<typeof FilesListRequestSchema>;
529
- export type FilesPreviewRequest = z.infer<typeof FilesPreviewRequestSchema>;
530
- export type AIGenerateRequest = z.infer<typeof AIGenerateRequestSchema>;
531
- export type AIChatRequest = z.infer<typeof AIChatRequestSchema>;
532
- export type AISuggestNameRequest = z.infer<typeof AISuggestNameRequestSchema>;
533
- export type AISuggestServerTypeRequest = z.infer<typeof AISuggestServerTypeRequestSchema>;
534
- export type AIAnalyzeResourcesRequest = z.infer<typeof AIAnalyzeResourcesRequestSchema>;
535
- export type AITroubleshootSSHRequest = z.infer<typeof AITroubleshootSSHRequestSchema>;
536
- export type AISuggestActionsRequest = z.infer<typeof AISuggestActionsRequestSchema>;
537
- export type AIStatusMessageRequest = z.infer<typeof AIStatusMessageRequestSchema>;
538
- export type InsertMetricRequest = z.infer<typeof InsertMetricRequestSchema>;
539
- export type AIAnalyzeHistoricalRequest = z.infer<typeof AIAnalyzeHistoricalRequestSchema>;
540
- export type TerminalCreateSession = z.infer<typeof TerminalCreateSessionSchema>;
541
- export type TerminalResize = z.infer<typeof TerminalResizeSchema>;
542
- export type SSHKeyId = z.infer<typeof SSHKeyIdSchema>;
543
- export type CreateSSHKeyRequest = z.infer<typeof CreateSSHKeyRequestSchema>;
544
- /**
545
- * Seed Install Request
546
- */
547
- export declare const SeedInstallRequestSchema: z.ZodObject<{
548
- environmentId: z.ZodString;
549
- autoConfirm: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
550
- }, "strip", z.ZodTypeAny, {
551
- environmentId: string;
552
- autoConfirm?: boolean | undefined;
553
- }, {
554
- environmentId: string;
555
- autoConfirm?: boolean | undefined;
556
- }>;
557
- /**
558
- * Seed Install Response (partial - actual response includes more fields)
559
- */
560
- export declare const SeedInstallResponseSchema: z.ZodObject<{
561
- success: z.ZodBoolean;
562
- cloned: z.ZodBoolean;
563
- setupRun: z.ZodBoolean;
564
- seedPath: z.ZodString;
565
- error: z.ZodOptional<z.ZodString>;
566
- output: z.ZodArray<z.ZodString, "many">;
567
- }, "strip", z.ZodTypeAny, {
568
- success: boolean;
569
- cloned: boolean;
570
- setupRun: boolean;
571
- seedPath: string;
572
- output: string[];
573
- error?: string | undefined;
574
- }, {
575
- success: boolean;
576
- cloned: boolean;
577
- setupRun: boolean;
578
- seedPath: string;
579
- output: string[];
580
- error?: string | undefined;
581
- }>;
582
- /**
583
- * Seed Status Response
584
- */
585
- export declare const SeedStatusResponseSchema: z.ZodObject<{
586
- installed: z.ZodBoolean;
587
- setupComplete: z.ZodBoolean;
588
- version: z.ZodOptional<z.ZodString>;
589
- branch: z.ZodOptional<z.ZodString>;
590
- }, "strip", z.ZodTypeAny, {
591
- installed: boolean;
592
- setupComplete: boolean;
593
- version?: string | undefined;
594
- branch?: string | undefined;
595
- }, {
596
- installed: boolean;
597
- setupComplete: boolean;
598
- version?: string | undefined;
599
- branch?: string | undefined;
600
- }>;
601
- /**
602
- * Login Commands Response
603
- */
604
- export declare const LoginCommandsResponseSchema: z.ZodObject<{
605
- ssh: z.ZodString;
606
- web: z.ZodString;
607
- claude: z.ZodString;
608
- quick: z.ZodString;
609
- }, "strip", z.ZodTypeAny, {
610
- ssh: string;
611
- web: string;
612
- claude: string;
613
- quick: string;
614
- }, {
615
- ssh: string;
616
- web: string;
617
- claude: string;
618
- quick: string;
619
- }>;
620
- export type SeedInstallRequest = z.infer<typeof SeedInstallRequestSchema>;
621
- export type SeedInstallResponse = z.infer<typeof SeedInstallResponseSchema>;
622
- export type SeedStatusResponse = z.infer<typeof SeedStatusResponseSchema>;
623
- export type LoginCommandsResponse = z.infer<typeof LoginCommandsResponseSchema>;
624
- /**
625
- * Volume ID validation
626
- */
627
- export declare const VolumeIdSchema: z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>;
628
- /**
629
- * Create Volume Request
630
- */
631
- export declare const CreateVolumeRequestSchema: z.ZodObject<{
632
- name: z.ZodString;
633
- size: z.ZodNumber;
634
- server: z.ZodOptional<z.ZodString>;
635
- location: z.ZodOptional<z.ZodString>;
636
- automount: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
637
- format: z.ZodOptional<z.ZodEnum<["ext4", "xfs"]>>;
638
- labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
639
- }, "strip", z.ZodTypeAny, {
640
- name: string;
641
- size: number;
642
- location?: string | undefined;
643
- labels?: Record<string, any> | undefined;
644
- server?: string | undefined;
645
- automount?: boolean | undefined;
646
- format?: "ext4" | "xfs" | undefined;
647
- }, {
648
- name: string;
649
- size: number;
650
- location?: string | undefined;
651
- labels?: Record<string, any> | undefined;
652
- server?: string | undefined;
653
- automount?: boolean | undefined;
654
- format?: "ext4" | "xfs" | undefined;
655
- }>;
656
- /**
657
- * Update Volume Request
658
- */
659
- export declare const UpdateVolumeRequestSchema: z.ZodObject<{
660
- name: z.ZodOptional<z.ZodString>;
661
- labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
662
- }, "strip", z.ZodTypeAny, {
663
- name?: string | undefined;
664
- labels?: Record<string, any> | undefined;
665
- }, {
666
- name?: string | undefined;
667
- labels?: Record<string, any> | undefined;
668
- }>;
669
- /**
670
- * Attach Volume Request
671
- */
672
- export declare const AttachVolumeRequestSchema: z.ZodObject<{
673
- volumeId: z.ZodNumber;
674
- serverId: z.ZodNumber;
675
- automount: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
676
- }, "strip", z.ZodTypeAny, {
677
- volumeId: number;
678
- serverId: number;
679
- automount?: boolean | undefined;
680
- }, {
681
- volumeId: number;
682
- serverId: number;
683
- automount?: boolean | undefined;
684
- }>;
685
- /**
686
- * Detach Volume Request
687
- */
688
- export declare const DetachVolumeRequestSchema: z.ZodObject<{
689
- volumeId: z.ZodNumber;
690
- }, "strip", z.ZodTypeAny, {
691
- volumeId: number;
692
- }, {
693
- volumeId: number;
694
- }>;
695
- /**
696
- * Resize Volume Request
697
- */
698
- export declare const ResizeVolumeRequestSchema: z.ZodObject<{
699
- volumeId: z.ZodNumber;
700
- size: z.ZodNumber;
701
- }, "strip", z.ZodTypeAny, {
702
- size: number;
703
- volumeId: number;
704
- }, {
705
- size: number;
706
- volumeId: number;
707
- }>;
708
- /**
709
- * Volume Protection Request
710
- */
711
- export declare const VolumeProtectionRequestSchema: z.ZodObject<{
712
- delete: z.ZodBoolean;
713
- }, "strip", z.ZodTypeAny, {
714
- delete: boolean;
715
- }, {
716
- delete: boolean;
717
- }>;
718
- /**
719
- * Volume Price Query
720
- */
721
- export declare const VolumePriceQuerySchema: z.ZodObject<{
722
- size: z.ZodNumber;
723
- }, "strip", z.ZodTypeAny, {
724
- size: number;
725
- }, {
726
- size: number;
727
- }>;
728
- export type VolumeId = z.infer<typeof VolumeIdSchema>;
729
- export type CreateVolumeRequest = z.infer<typeof CreateVolumeRequestSchema>;
730
- export type UpdateVolumeRequest = z.infer<typeof UpdateVolumeRequestSchema>;
731
- export type AttachVolumeRequest = z.infer<typeof AttachVolumeRequestSchema>;
732
- export type DetachVolumeRequest = z.infer<typeof DetachVolumeRequestSchema>;
733
- export type ResizeVolumeRequest = z.infer<typeof ResizeVolumeRequestSchema>;
734
- export type VolumeProtectionRequest = z.infer<typeof VolumeProtectionRequestSchema>;
735
- export type VolumePriceQuery = z.infer<typeof VolumePriceQuerySchema>;
736
- /**
737
- * Tmux Send Command Request
738
- */
739
- export declare const TmuxSendCommandSchema: z.ZodObject<{
740
- sessionId: z.ZodString;
741
- command: z.ZodString;
742
- paneIndex: z.ZodOptional<z.ZodDefault<z.ZodString>>;
743
- }, "strip", z.ZodTypeAny, {
744
- sessionId: string;
745
- command: string;
746
- paneIndex?: string | undefined;
747
- }, {
748
- sessionId: string;
749
- command: string;
750
- paneIndex?: string | undefined;
751
- }>;
752
- /**
753
- * Tmux Split Pane Request
754
- */
755
- export declare const TmuxSplitPaneSchema: z.ZodObject<{
756
- sessionId: z.ZodString;
757
- direction: z.ZodDefault<z.ZodEnum<["h", "v"]>>;
758
- command: z.ZodOptional<z.ZodString>;
759
- }, "strip", z.ZodTypeAny, {
760
- sessionId: string;
761
- direction: "h" | "v";
762
- command?: string | undefined;
763
- }, {
764
- sessionId: string;
765
- command?: string | undefined;
766
- direction?: "h" | "v" | undefined;
767
- }>;
768
- /**
769
- * Tmux List Windows Request
770
- */
771
- export declare const TmuxListWindowsSchema: z.ZodObject<{
772
- sessionId: z.ZodString;
773
- }, "strip", z.ZodTypeAny, {
774
- sessionId: string;
775
- }, {
776
- sessionId: string;
777
- }>;
778
- /**
779
- * Tmux List Panes Request
780
- */
781
- export declare const TmuxListPanesSchema: z.ZodObject<{
782
- sessionId: z.ZodString;
783
- windowIndex: z.ZodOptional<z.ZodDefault<z.ZodString>>;
784
- }, "strip", z.ZodTypeAny, {
785
- sessionId: string;
786
- windowIndex?: string | undefined;
787
- }, {
788
- sessionId: string;
789
- windowIndex?: string | undefined;
790
- }>;
791
- /**
792
- * Tmux Capture Pane Request
793
- */
794
- export declare const TmuxCapturePaneSchema: z.ZodObject<{
795
- sessionId: z.ZodString;
796
- paneIndex: z.ZodOptional<z.ZodDefault<z.ZodString>>;
797
- }, "strip", z.ZodTypeAny, {
798
- sessionId: string;
799
- paneIndex?: string | undefined;
800
- }, {
801
- sessionId: string;
802
- paneIndex?: string | undefined;
803
- }>;
804
- /**
805
- * Tmux Get History Request
806
- */
807
- export declare const TmuxGetHistorySchema: z.ZodObject<{
808
- sessionId: z.ZodString;
809
- paneIndex: z.ZodOptional<z.ZodDefault<z.ZodString>>;
810
- lines: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
811
- }, "strip", z.ZodTypeAny, {
812
- sessionId: string;
813
- paneIndex?: string | undefined;
814
- lines?: number | undefined;
815
- }, {
816
- sessionId: string;
817
- paneIndex?: string | undefined;
818
- lines?: number | undefined;
819
- }>;
820
- /**
821
- * Tmux Switch Window Request
822
- */
823
- export declare const TmuxSwitchWindowSchema: z.ZodObject<{
824
- sessionId: z.ZodString;
825
- windowIndex: z.ZodString;
826
- }, "strip", z.ZodTypeAny, {
827
- sessionId: string;
828
- windowIndex: string;
829
- }, {
830
- sessionId: string;
831
- windowIndex: string;
832
- }>;
833
- /**
834
- * Tmux Switch Pane Request
835
- */
836
- export declare const TmuxSwitchPaneSchema: z.ZodObject<{
837
- sessionId: z.ZodString;
838
- paneIndex: z.ZodString;
839
- }, "strip", z.ZodTypeAny, {
840
- sessionId: string;
841
- paneIndex: string;
842
- }, {
843
- sessionId: string;
844
- paneIndex: string;
845
- }>;
846
- /**
847
- * Tmux Rename Window Request
848
- */
849
- export declare const TmuxRenameWindowSchema: z.ZodObject<{
850
- sessionId: z.ZodString;
851
- windowIndex: z.ZodString;
852
- newName: z.ZodString;
853
- }, "strip", z.ZodTypeAny, {
854
- sessionId: string;
855
- windowIndex: string;
856
- newName: string;
857
- }, {
858
- sessionId: string;
859
- windowIndex: string;
860
- newName: string;
861
- }>;
862
- /**
863
- * Tmux Kill Pane Request
864
- */
865
- export declare const TmuxKillPaneSchema: z.ZodObject<{
866
- sessionId: z.ZodString;
867
- paneIndex: z.ZodString;
868
- }, "strip", z.ZodTypeAny, {
869
- sessionId: string;
870
- paneIndex: string;
871
- }, {
872
- sessionId: string;
873
- paneIndex: string;
874
- }>;
875
- /**
876
- * Tmux Detailed Info Request
877
- */
878
- export declare const TmuxDetailedInfoSchema: z.ZodObject<{
879
- sessionId: z.ZodString;
880
- }, "strip", z.ZodTypeAny, {
881
- sessionId: string;
882
- }, {
883
- sessionId: string;
884
- }>;
885
- export type TmuxSendCommand = z.infer<typeof TmuxSendCommandSchema>;
886
- export type TmuxSplitPane = z.infer<typeof TmuxSplitPaneSchema>;
887
- export type TmuxListWindows = z.infer<typeof TmuxListWindowsSchema>;
888
- export type TmuxListPanes = z.infer<typeof TmuxListPanesSchema>;
889
- export type TmuxCapturePane = z.infer<typeof TmuxCapturePaneSchema>;
890
- export type TmuxGetHistory = z.infer<typeof TmuxGetHistorySchema>;
891
- export type TmuxSwitchWindow = z.infer<typeof TmuxSwitchWindowSchema>;
892
- export type TmuxSwitchPane = z.infer<typeof TmuxSwitchPaneSchema>;
893
- export type TmuxRenameWindow = z.infer<typeof TmuxRenameWindowSchema>;
894
- export type TmuxKillPane = z.infer<typeof TmuxKillPaneSchema>;
895
- export type TmuxDetailedInfo = z.infer<typeof TmuxDetailedInfoSchema>;
896
- /**
897
- * Tmux Manager Add Node Request
898
- */
899
- export declare const TmuxManagerAddNodeSchema: z.ZodObject<{
900
- id: z.ZodString;
901
- name: z.ZodString;
902
- ip: z.ZodString;
903
- ipv6: z.ZodOptional<z.ZodNullable<z.ZodString>>;
904
- user: z.ZodDefault<z.ZodString>;
905
- port: z.ZodDefault<z.ZodNumber>;
906
- keyPath: z.ZodOptional<z.ZodString>;
907
- status: z.ZodDefault<z.ZodEnum<["running", "stopped", "unreachable"]>>;
908
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
909
- location: z.ZodOptional<z.ZodString>;
910
- }, "strip", z.ZodTypeAny, {
911
- user: string;
912
- status: "running" | "stopped" | "unreachable";
913
- id: string;
914
- name: string;
915
- port: number;
916
- ip: string;
917
- location?: string | undefined;
918
- ipv6?: string | null | undefined;
919
- keyPath?: string | undefined;
920
- tags?: string[] | undefined;
921
- }, {
922
- id: string;
923
- name: string;
924
- ip: string;
925
- user?: string | undefined;
926
- status?: "running" | "stopped" | "unreachable" | undefined;
927
- location?: string | undefined;
928
- port?: number | undefined;
929
- ipv6?: string | null | undefined;
930
- keyPath?: string | undefined;
931
- tags?: string[] | undefined;
932
- }>;
933
- /**
934
- * Tmux Manager Create Session Request
935
- */
936
- export declare const TmuxManagerCreateSessionSchema: z.ZodObject<{
937
- nodeId: z.ZodString;
938
- sessionName: z.ZodOptional<z.ZodString>;
939
- cwd: z.ZodOptional<z.ZodString>;
940
- initialCommand: z.ZodOptional<z.ZodString>;
941
- layout: z.ZodOptional<z.ZodEnum<["even-horizontal", "even-vertical", "main-horizontal", "main-vertical", "tiled"]>>;
942
- }, "strip", z.ZodTypeAny, {
943
- nodeId: string;
944
- sessionName?: string | undefined;
945
- cwd?: string | undefined;
946
- initialCommand?: string | undefined;
947
- layout?: "even-horizontal" | "even-vertical" | "main-horizontal" | "main-vertical" | "tiled" | undefined;
948
- }, {
949
- nodeId: string;
950
- sessionName?: string | undefined;
951
- cwd?: string | undefined;
952
- initialCommand?: string | undefined;
953
- layout?: "even-horizontal" | "even-vertical" | "main-horizontal" | "main-vertical" | "tiled" | undefined;
954
- }>;
955
- /**
956
- * Tmux Manager Attach Session Request
957
- */
958
- export declare const TmuxManagerAttachSessionSchema: z.ZodObject<{
959
- nodeId: z.ZodString;
960
- sessionName: z.ZodOptional<z.ZodString>;
961
- }, "strip", z.ZodTypeAny, {
962
- nodeId: string;
963
- sessionName?: string | undefined;
964
- }, {
965
- nodeId: string;
966
- sessionName?: string | undefined;
967
- }>;
968
- /**
969
- * Tmux Manager Kill Session Request
970
- */
971
- export declare const TmuxManagerKillSessionSchema: z.ZodObject<{
972
- nodeId: z.ZodString;
973
- sessionName: z.ZodString;
974
- }, "strip", z.ZodTypeAny, {
975
- nodeId: string;
976
- sessionName: string;
977
- }, {
978
- nodeId: string;
979
- sessionName: string;
980
- }>;
981
- /**
982
- * Tmux Manager Send Command Request
983
- */
984
- export declare const TmuxManagerSendCommandSchema: z.ZodObject<{
985
- nodeId: z.ZodString;
986
- sessionName: z.ZodString;
987
- command: z.ZodString;
988
- paneIndex: z.ZodDefault<z.ZodString>;
989
- }, "strip", z.ZodTypeAny, {
990
- command: string;
991
- paneIndex: string;
992
- nodeId: string;
993
- sessionName: string;
994
- }, {
995
- command: string;
996
- nodeId: string;
997
- sessionName: string;
998
- paneIndex?: string | undefined;
999
- }>;
1000
- /**
1001
- * Tmux Manager Batch Send Command Request
1002
- */
1003
- export declare const TmuxManagerBatchSendCommandSchema: z.ZodObject<{
1004
- nodeIds: z.ZodArray<z.ZodString, "many">;
1005
- sessionName: z.ZodString;
1006
- command: z.ZodString;
1007
- paneIndex: z.ZodDefault<z.ZodString>;
1008
- parallel: z.ZodDefault<z.ZodBoolean>;
1009
- continueOnError: z.ZodDefault<z.ZodBoolean>;
1010
- timeout: z.ZodDefault<z.ZodNumber>;
1011
- }, "strip", z.ZodTypeAny, {
1012
- timeout: number;
1013
- command: string;
1014
- paneIndex: string;
1015
- sessionName: string;
1016
- nodeIds: string[];
1017
- parallel: boolean;
1018
- continueOnError: boolean;
1019
- }, {
1020
- command: string;
1021
- sessionName: string;
1022
- nodeIds: string[];
1023
- timeout?: number | undefined;
1024
- paneIndex?: string | undefined;
1025
- parallel?: boolean | undefined;
1026
- continueOnError?: boolean | undefined;
1027
- }>;
1028
- /**
1029
- * Tmux Manager Split Pane Request
1030
- */
1031
- export declare const TmuxManagerSplitPaneSchema: z.ZodObject<{
1032
- nodeId: z.ZodString;
1033
- sessionName: z.ZodString;
1034
- direction: z.ZodDefault<z.ZodEnum<["h", "v"]>>;
1035
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1036
- windowIndex: z.ZodDefault<z.ZodString>;
1037
- }, "strip", z.ZodTypeAny, {
1038
- direction: "h" | "v";
1039
- windowIndex: string;
1040
- nodeId: string;
1041
- sessionName: string;
1042
- command?: string | null | undefined;
1043
- }, {
1044
- nodeId: string;
1045
- sessionName: string;
1046
- command?: string | null | undefined;
1047
- direction?: "h" | "v" | undefined;
1048
- windowIndex?: string | undefined;
1049
- }>;
1050
- /**
1051
- * Tmux Manager Capture Pane Request
1052
- */
1053
- export declare const TmuxManagerCapturePaneSchema: z.ZodObject<{
1054
- nodeId: z.ZodString;
1055
- sessionName: z.ZodString;
1056
- paneIndex: z.ZodDefault<z.ZodString>;
1057
- }, "strip", z.ZodTypeAny, {
1058
- paneIndex: string;
1059
- nodeId: string;
1060
- sessionName: string;
1061
- }, {
1062
- nodeId: string;
1063
- sessionName: string;
1064
- paneIndex?: string | undefined;
1065
- }>;
1066
- /**
1067
- * Tmux Manager Get History Request
1068
- */
1069
- export declare const TmuxManagerGetHistorySchema: z.ZodObject<{
1070
- nodeId: z.ZodString;
1071
- sessionName: z.ZodString;
1072
- paneIndex: z.ZodDefault<z.ZodString>;
1073
- lines: z.ZodDefault<z.ZodNumber>;
1074
- }, "strip", z.ZodTypeAny, {
1075
- paneIndex: string;
1076
- lines: number;
1077
- nodeId: string;
1078
- sessionName: string;
1079
- }, {
1080
- nodeId: string;
1081
- sessionName: string;
1082
- paneIndex?: string | undefined;
1083
- lines?: number | undefined;
1084
- }>;
1085
- /**
1086
- * Tmux Manager List Windows Request
1087
- */
1088
- export declare const TmuxManagerListWindowsSchema: z.ZodObject<{
1089
- nodeId: z.ZodString;
1090
- sessionName: z.ZodString;
1091
- }, "strip", z.ZodTypeAny, {
1092
- nodeId: string;
1093
- sessionName: string;
1094
- }, {
1095
- nodeId: string;
1096
- sessionName: string;
1097
- }>;
1098
- /**
1099
- * Tmux Manager List Panes Request
1100
- */
1101
- export declare const TmuxManagerListPanesSchema: z.ZodObject<{
1102
- nodeId: z.ZodString;
1103
- sessionName: z.ZodString;
1104
- windowIndex: z.ZodDefault<z.ZodString>;
1105
- }, "strip", z.ZodTypeAny, {
1106
- windowIndex: string;
1107
- nodeId: string;
1108
- sessionName: string;
1109
- }, {
1110
- nodeId: string;
1111
- sessionName: string;
1112
- windowIndex?: string | undefined;
1113
- }>;
1114
- /**
1115
- * Tmux Manager Switch Window Request
1116
- */
1117
- export declare const TmuxManagerSwitchWindowSchema: z.ZodObject<{
1118
- nodeId: z.ZodString;
1119
- sessionName: z.ZodString;
1120
- windowIndex: z.ZodString;
1121
- }, "strip", z.ZodTypeAny, {
1122
- windowIndex: string;
1123
- nodeId: string;
1124
- sessionName: string;
1125
- }, {
1126
- windowIndex: string;
1127
- nodeId: string;
1128
- sessionName: string;
1129
- }>;
1130
- /**
1131
- * Tmux Manager Switch Pane Request
1132
- */
1133
- export declare const TmuxManagerSwitchPaneSchema: z.ZodObject<{
1134
- nodeId: z.ZodString;
1135
- sessionName: z.ZodString;
1136
- paneIndex: z.ZodString;
1137
- }, "strip", z.ZodTypeAny, {
1138
- paneIndex: string;
1139
- nodeId: string;
1140
- sessionName: string;
1141
- }, {
1142
- paneIndex: string;
1143
- nodeId: string;
1144
- sessionName: string;
1145
- }>;
1146
- /**
1147
- * Tmux Manager Rename Window Request
1148
- */
1149
- export declare const TmuxManagerRenameWindowSchema: z.ZodObject<{
1150
- nodeId: z.ZodString;
1151
- sessionName: z.ZodString;
1152
- windowIndex: z.ZodString;
1153
- newName: z.ZodString;
1154
- }, "strip", z.ZodTypeAny, {
1155
- windowIndex: string;
1156
- newName: string;
1157
- nodeId: string;
1158
- sessionName: string;
1159
- }, {
1160
- windowIndex: string;
1161
- newName: string;
1162
- nodeId: string;
1163
- sessionName: string;
1164
- }>;
1165
- /**
1166
- * Tmux Manager Kill Pane Request
1167
- */
1168
- export declare const TmuxManagerKillPaneSchema: z.ZodObject<{
1169
- nodeId: z.ZodString;
1170
- sessionName: z.ZodString;
1171
- paneIndex: z.ZodString;
1172
- }, "strip", z.ZodTypeAny, {
1173
- paneIndex: string;
1174
- nodeId: string;
1175
- sessionName: string;
1176
- }, {
1177
- paneIndex: string;
1178
- nodeId: string;
1179
- sessionName: string;
1180
- }>;
1181
- /**
1182
- * Tmux Manager Cleanup Old Sessions Request
1183
- */
1184
- export declare const TmuxManagerCleanupOldSessionsSchema: z.ZodObject<{
1185
- nodeId: z.ZodString;
1186
- ageLimitMs: z.ZodDefault<z.ZodNumber>;
1187
- }, "strip", z.ZodTypeAny, {
1188
- nodeId: string;
1189
- ageLimitMs: number;
1190
- }, {
1191
- nodeId: string;
1192
- ageLimitMs?: number | undefined;
1193
- }>;
1194
- /**
1195
- * Tmux Manager Detailed Session Request
1196
- */
1197
- export declare const TmuxManagerDetailedSessionSchema: z.ZodObject<{
1198
- nodeId: z.ZodString;
1199
- sessionName: z.ZodString;
1200
- }, "strip", z.ZodTypeAny, {
1201
- nodeId: string;
1202
- sessionName: string;
1203
- }, {
1204
- nodeId: string;
1205
- sessionName: string;
1206
- }>;
1207
- /**
1208
- * Tmux Manager List Sessions Query
1209
- */
1210
- export declare const TmuxManagerListSessionsQuerySchema: z.ZodObject<{
1211
- nodeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1212
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1213
- detailed: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1214
- includeInactive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1215
- }, "strip", z.ZodTypeAny, {
1216
- tags?: string[] | undefined;
1217
- nodeIds?: string[] | undefined;
1218
- detailed?: boolean | undefined;
1219
- includeInactive?: boolean | undefined;
1220
- }, {
1221
- tags?: string[] | undefined;
1222
- nodeIds?: string[] | undefined;
1223
- detailed?: boolean | undefined;
1224
- includeInactive?: boolean | undefined;
1225
- }>;
1226
- export type TmuxManagerAddNode = z.infer<typeof TmuxManagerAddNodeSchema>;
1227
- export type TmuxManagerCreateSession = z.infer<typeof TmuxManagerCreateSessionSchema>;
1228
- export type TmuxManagerAttachSession = z.infer<typeof TmuxManagerAttachSessionSchema>;
1229
- export type TmuxManagerKillSession = z.infer<typeof TmuxManagerKillSessionSchema>;
1230
- export type TmuxManagerSendCommand = z.infer<typeof TmuxManagerSendCommandSchema>;
1231
- export type TmuxManagerBatchSendCommand = z.infer<typeof TmuxManagerBatchSendCommandSchema>;
1232
- export type TmuxManagerSplitPane = z.infer<typeof TmuxManagerSplitPaneSchema>;
1233
- export type TmuxManagerCapturePane = z.infer<typeof TmuxManagerCapturePaneSchema>;
1234
- export type TmuxManagerGetHistory = z.infer<typeof TmuxManagerGetHistorySchema>;
1235
- export type TmuxManagerListWindows = z.infer<typeof TmuxManagerListWindowsSchema>;
1236
- export type TmuxManagerListPanes = z.infer<typeof TmuxManagerListPanesSchema>;
1237
- export type TmuxManagerSwitchWindow = z.infer<typeof TmuxManagerSwitchWindowSchema>;
1238
- export type TmuxManagerSwitchPane = z.infer<typeof TmuxManagerSwitchPaneSchema>;
1239
- export type TmuxManagerRenameWindow = z.infer<typeof TmuxManagerRenameWindowSchema>;
1240
- export type TmuxManagerKillPane = z.infer<typeof TmuxManagerKillPaneSchema>;
1241
- export type TmuxManagerCleanupOldSessions = z.infer<typeof TmuxManagerCleanupOldSessionsSchema>;
1242
- export type TmuxManagerDetailedSession = z.infer<typeof TmuxManagerDetailedSessionSchema>;
1243
- export type TmuxManagerListSessionsQuery = z.infer<typeof TmuxManagerListSessionsQuerySchema>;
1244
- /**
1245
- * Add Activity Request
1246
- */
1247
- export declare const AddActivityRequestSchema: z.ZodObject<{
1248
- environmentId: z.ZodString;
1249
- action: z.ZodString;
1250
- environmentName: z.ZodString;
1251
- details: z.ZodOptional<z.ZodString>;
1252
- }, "strip", z.ZodTypeAny, {
1253
- environmentId: string;
1254
- action: string;
1255
- environmentName: string;
1256
- details?: string | undefined;
1257
- }, {
1258
- environmentId: string;
1259
- action: string;
1260
- environmentName: string;
1261
- details?: string | undefined;
1262
- }>;
1263
- /**
1264
- * Activities Query Schema (for query parameters)
1265
- */
1266
- export declare const ActivitiesQueryParamsSchema: z.ZodObject<{
1267
- environmentId: z.ZodOptional<z.ZodString>;
1268
- limit: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodDefault<z.ZodString>, number, string | undefined>, z.ZodNumber>>;
1269
- hours: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
1270
- since: z.ZodOptional<z.ZodString>;
1271
- until: z.ZodOptional<z.ZodString>;
1272
- action: z.ZodOptional<z.ZodString>;
1273
- }, "strip", z.ZodTypeAny, {
1274
- hours?: number | undefined;
1275
- limit?: number | undefined;
1276
- environmentId?: string | undefined;
1277
- action?: string | undefined;
1278
- since?: string | undefined;
1279
- until?: string | undefined;
1280
- }, {
1281
- hours?: string | undefined;
1282
- limit?: string | undefined;
1283
- environmentId?: string | undefined;
1284
- action?: string | undefined;
1285
- since?: string | undefined;
1286
- until?: string | undefined;
1287
- }>;
1288
- /**
1289
- * Cleanup Activities Request
1290
- */
1291
- export declare const CleanupActivitiesRequestSchema: z.ZodObject<{
1292
- environmentId: z.ZodOptional<z.ZodString>;
1293
- keepHours: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1294
- }, "strip", z.ZodTypeAny, {
1295
- environmentId?: string | undefined;
1296
- keepHours?: number | undefined;
1297
- }, {
1298
- environmentId?: string | undefined;
1299
- keepHours?: number | undefined;
1300
- }>;
1301
- export type AddActivityRequest = z.infer<typeof AddActivityRequestSchema>;
1302
- export type ActivitiesQueryParams = z.infer<typeof ActivitiesQueryParamsSchema>;
1303
- export type CleanupActivitiesRequest = z.infer<typeof CleanupActivitiesRequestSchema>;
1304
- //# sourceMappingURL=api.d.ts.map