host-execution-mcp 1.0.0 → 2.0.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 (94) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +14 -12
  3. package/SECURITY.md +3 -3
  4. package/dist/access/index.d.ts +21 -10
  5. package/dist/access/index.js +55 -27
  6. package/dist/access/index.js.map +1 -1
  7. package/dist/access/paradi-auth.d.ts +3 -3
  8. package/dist/access/paradi-auth.js +4 -4
  9. package/dist/access/paradi-auth.js.map +1 -1
  10. package/dist/access/paradi-transport.d.ts +1 -1
  11. package/dist/access/paradi-transport.js +3 -3
  12. package/dist/access/paradi-transport.js.map +1 -1
  13. package/dist/access/paradi-username.d.ts +1 -1
  14. package/dist/access/paradi-username.js +2 -2
  15. package/dist/access/paradi-username.js.map +1 -1
  16. package/dist/access/session-pool.d.ts +5 -0
  17. package/dist/access/session-pool.js +7 -0
  18. package/dist/access/session-pool.js.map +1 -1
  19. package/dist/access/ssh-transport.d.ts +1 -1
  20. package/dist/access/ssh-transport.js +3 -2
  21. package/dist/access/ssh-transport.js.map +1 -1
  22. package/dist/config-yaml.d.ts +54 -0
  23. package/dist/config-yaml.js +172 -0
  24. package/dist/config-yaml.js.map +1 -0
  25. package/dist/config.d.ts +45 -1
  26. package/dist/config.js +126 -22
  27. package/dist/config.js.map +1 -1
  28. package/dist/index.js +3 -3
  29. package/dist/index.js.map +1 -1
  30. package/dist/instructions.d.ts +4 -1
  31. package/dist/instructions.js +92 -70
  32. package/dist/instructions.js.map +1 -1
  33. package/dist/kubectl/runner.d.ts +7 -8
  34. package/dist/kubectl/runner.js +18 -21
  35. package/dist/kubectl/runner.js.map +1 -1
  36. package/dist/link-runtime.d.ts +39 -0
  37. package/dist/link-runtime.js +134 -0
  38. package/dist/link-runtime.js.map +1 -0
  39. package/dist/server.d.ts +2 -1
  40. package/dist/server.js +10 -12
  41. package/dist/server.js.map +1 -1
  42. package/dist/sources/guides.d.ts +34 -0
  43. package/dist/sources/guides.js +50 -0
  44. package/dist/sources/guides.js.map +1 -0
  45. package/dist/sources/index.d.ts +5 -0
  46. package/dist/sources/index.js +22 -0
  47. package/dist/sources/index.js.map +1 -0
  48. package/dist/sources/yaml-template.d.ts +31 -0
  49. package/dist/sources/yaml-template.js +35 -0
  50. package/dist/sources/yaml-template.js.map +1 -0
  51. package/dist/ssh/access-client.d.ts +6 -2
  52. package/dist/ssh/access-client.js +58 -27
  53. package/dist/ssh/access-client.js.map +1 -1
  54. package/dist/ssh/access-errors.js +1 -1
  55. package/dist/ssh/access-errors.js.map +1 -1
  56. package/dist/ssh/access-sftp.js +3 -3
  57. package/dist/ssh/access-sftp.js.map +1 -1
  58. package/dist/tools/copy-job-schemas.d.ts +96 -581
  59. package/dist/tools/copy-job-schemas.js +9 -9
  60. package/dist/tools/copy-job-schemas.js.map +1 -1
  61. package/dist/tools/register.d.ts +2 -10
  62. package/dist/tools/register.js +174 -331
  63. package/dist/tools/register.js.map +1 -1
  64. package/dist/tools/remote-schemas.d.ts +156 -708
  65. package/dist/tools/remote-schemas.js +99 -103
  66. package/dist/tools/remote-schemas.js.map +1 -1
  67. package/dist/utils/copy-executor.d.ts +3 -1
  68. package/dist/utils/copy-executor.js +39 -25
  69. package/dist/utils/copy-executor.js.map +1 -1
  70. package/dist/utils/copy-transfer.d.ts +2 -0
  71. package/dist/utils/copy-transfer.js.map +1 -1
  72. package/dist/utils/remote-executor.d.ts +3 -4
  73. package/dist/utils/remote-executor.js +8 -18
  74. package/dist/utils/remote-executor.js.map +1 -1
  75. package/dist/utils/remote-target.js +1 -1
  76. package/dist/utils/remote-target.js.map +1 -1
  77. package/docs/AGENT_GUIDE.md +31 -103
  78. package/docs/CONFIGURATION.md +39 -10
  79. package/docs/GUIDE.md +186 -0
  80. package/docs/PARADI_ACCESS_PLAN.md +6 -6
  81. package/docs/TODO.md +4 -11
  82. package/docs/USER_GUIDE.zh-CN.md +38 -69
  83. package/docs/host-execution.yaml +92 -0
  84. package/docs/paradi-gateway-interactive.png +0 -0
  85. package/package.json +67 -65
  86. package/dist/ssh/bastion-client.d.ts +0 -60
  87. package/dist/ssh/bastion-client.js +0 -423
  88. package/dist/ssh/bastion-client.js.map +0 -1
  89. package/dist/ssh/bastion-errors.d.ts +0 -62
  90. package/dist/ssh/bastion-errors.js +0 -190
  91. package/dist/ssh/bastion-errors.js.map +0 -1
  92. package/dist/ssh/hop1-sftp.d.ts +0 -14
  93. package/dist/ssh/hop1-sftp.js +0 -437
  94. package/dist/ssh/hop1-sftp.js.map +0 -1
@@ -3,178 +3,49 @@
3
3
  * Registered as: remote_copy_start / remote_copy_status / remote_copy_cancel
4
4
  */
5
5
  import { z } from "zod";
6
- import { type RemoteSchemaOpts } from "./remote-schemas.js";
7
- export declare function buildRemoteCopyStartSchema(opts?: RemoteSchemaOpts): z.ZodEffects<z.ZodObject<{
8
- source: z.ZodDiscriminatedUnion<"target", [z.ZodObject<{
9
- path: z.ZodString;
10
- target: z.ZodLiteral<"local">;
11
- }, "strict", z.ZodTypeAny, {
12
- target: "local";
13
- path: string;
14
- }, {
15
- target: "local";
16
- path: string;
17
- }>, z.ZodObject<{
18
- path: z.ZodString;
19
- target: z.ZodLiteral<"landing">;
20
- }, "strict", z.ZodTypeAny, {
21
- target: "landing";
22
- path: string;
23
- }, {
24
- target: "landing";
25
- path: string;
26
- }>, z.ZodObject<{
27
- path: z.ZodString;
28
- namespace: z.ZodString;
29
- pod: z.ZodString;
30
- container: z.ZodOptional<z.ZodString>;
31
- target: z.ZodLiteral<"pod">;
32
- }, "strict", z.ZodTypeAny, {
33
- pod: string;
34
- target: "pod";
35
- path: string;
36
- namespace: string;
37
- container?: string | undefined;
38
- }, {
39
- pod: string;
40
- target: "pod";
41
- path: string;
42
- namespace: string;
43
- container?: string | undefined;
44
- }>]> | z.ZodDiscriminatedUnion<"target", [z.ZodObject<{
45
- path: z.ZodString;
46
- target: z.ZodLiteral<"local">;
47
- }, "strict", z.ZodTypeAny, {
48
- target: "local";
49
- path: string;
50
- }, {
51
- target: "local";
52
- path: string;
53
- }>, z.ZodObject<{
54
- path: z.ZodString;
55
- target: z.ZodLiteral<"landing">;
56
- }, "strict", z.ZodTypeAny, {
57
- target: "landing";
58
- path: string;
59
- }, {
60
- target: "landing";
61
- path: string;
62
- }>, z.ZodObject<{
63
- path: z.ZodString;
64
- namespace: z.ZodString;
65
- pod: z.ZodString;
66
- container: z.ZodOptional<z.ZodString>;
67
- target: z.ZodLiteral<"pod">;
68
- }, "strict", z.ZodTypeAny, {
69
- pod: string;
70
- target: "pod";
71
- path: string;
72
- namespace: string;
73
- container?: string | undefined;
74
- }, {
75
- pod: string;
76
- target: "pod";
77
- path: string;
78
- namespace: string;
79
- container?: string | undefined;
80
- }>, z.ZodObject<{
81
- path: z.ZodString;
82
- contextKey: z.ZodString;
83
- target: z.ZodLiteral<"context">;
84
- }, "strict", z.ZodTypeAny, {
85
- contextKey: string;
86
- target: "context";
87
- path: string;
88
- }, {
89
- contextKey: string;
90
- target: "context";
91
- path: string;
92
- }>]>;
93
- dest: z.ZodDiscriminatedUnion<"target", [z.ZodObject<{
94
- path: z.ZodString;
95
- target: z.ZodLiteral<"local">;
96
- }, "strict", z.ZodTypeAny, {
97
- target: "local";
98
- path: string;
99
- }, {
100
- target: "local";
101
- path: string;
102
- }>, z.ZodObject<{
103
- path: z.ZodString;
104
- target: z.ZodLiteral<"landing">;
105
- }, "strict", z.ZodTypeAny, {
106
- target: "landing";
107
- path: string;
108
- }, {
109
- target: "landing";
110
- path: string;
111
- }>, z.ZodObject<{
112
- path: z.ZodString;
113
- namespace: z.ZodString;
114
- pod: z.ZodString;
6
+ export declare function buildRemoteCopyStartSchema(): z.ZodObject<{
7
+ description: z.ZodOptional<z.ZodString>;
8
+ host: z.ZodOptional<z.ZodString>;
9
+ user: z.ZodOptional<z.ZodString>;
10
+ password: z.ZodOptional<z.ZodString>;
11
+ source: z.ZodObject<{
12
+ target: z.ZodEnum<["local", "remote", "pod"]>;
13
+ path: z.ZodString;
14
+ namespace: z.ZodOptional<z.ZodString>;
15
+ pod: z.ZodOptional<z.ZodString>;
115
16
  container: z.ZodOptional<z.ZodString>;
116
- target: z.ZodLiteral<"pod">;
117
17
  }, "strict", z.ZodTypeAny, {
118
- pod: string;
119
- target: "pod";
120
18
  path: string;
121
- namespace: string;
19
+ target: "pod" | "local" | "remote";
122
20
  container?: string | undefined;
21
+ pod?: string | undefined;
22
+ namespace?: string | undefined;
123
23
  }, {
124
- pod: string;
125
- target: "pod";
126
24
  path: string;
127
- namespace: string;
25
+ target: "pod" | "local" | "remote";
128
26
  container?: string | undefined;
129
- }>]> | z.ZodDiscriminatedUnion<"target", [z.ZodObject<{
130
- path: z.ZodString;
131
- target: z.ZodLiteral<"local">;
132
- }, "strict", z.ZodTypeAny, {
133
- target: "local";
134
- path: string;
135
- }, {
136
- target: "local";
137
- path: string;
138
- }>, z.ZodObject<{
139
- path: z.ZodString;
140
- target: z.ZodLiteral<"landing">;
141
- }, "strict", z.ZodTypeAny, {
142
- target: "landing";
143
- path: string;
144
- }, {
145
- target: "landing";
146
- path: string;
147
- }>, z.ZodObject<{
27
+ pod?: string | undefined;
28
+ namespace?: string | undefined;
29
+ }>;
30
+ dest: z.ZodObject<{
31
+ target: z.ZodEnum<["local", "remote", "pod"]>;
148
32
  path: z.ZodString;
149
- namespace: z.ZodString;
150
- pod: z.ZodString;
33
+ namespace: z.ZodOptional<z.ZodString>;
34
+ pod: z.ZodOptional<z.ZodString>;
151
35
  container: z.ZodOptional<z.ZodString>;
152
- target: z.ZodLiteral<"pod">;
153
36
  }, "strict", z.ZodTypeAny, {
154
- pod: string;
155
- target: "pod";
156
37
  path: string;
157
- namespace: string;
38
+ target: "pod" | "local" | "remote";
158
39
  container?: string | undefined;
40
+ pod?: string | undefined;
41
+ namespace?: string | undefined;
159
42
  }, {
160
- pod: string;
161
- target: "pod";
162
43
  path: string;
163
- namespace: string;
44
+ target: "pod" | "local" | "remote";
164
45
  container?: string | undefined;
165
- }>, z.ZodObject<{
166
- path: z.ZodString;
167
- contextKey: z.ZodString;
168
- target: z.ZodLiteral<"context">;
169
- }, "strict", z.ZodTypeAny, {
170
- contextKey: string;
171
- target: "context";
172
- path: string;
173
- }, {
174
- contextKey: string;
175
- target: "context";
176
- path: string;
177
- }>]>;
46
+ pod?: string | undefined;
47
+ namespace?: string | undefined;
48
+ }>;
178
49
  recursive: z.ZodOptional<z.ZodBoolean>;
179
50
  skipIfComplete: z.ZodOptional<z.ZodBoolean>;
180
51
  verify: z.ZodOptional<z.ZodEnum<["none", "size", "size+sha256"]>>;
@@ -184,122 +55,24 @@ export declare function buildRemoteCopyStartSchema(opts?: RemoteSchemaOpts): z.Z
184
55
  timeoutMs: z.ZodOptional<z.ZodNumber>;
185
56
  }, "strict", z.ZodTypeAny, {
186
57
  source: {
187
- target: "local";
188
- path: string;
189
- } | {
190
- target: "landing";
191
- path: string;
192
- } | {
193
- pod: string;
194
- target: "pod";
195
- path: string;
196
- namespace: string;
197
- container?: string | undefined;
198
- } | {
199
- contextKey: string;
200
- target: "context";
201
- path: string;
202
- };
203
- dest: {
204
- target: "local";
205
- path: string;
206
- } | {
207
- target: "landing";
208
- path: string;
209
- } | {
210
- pod: string;
211
- target: "pod";
212
- path: string;
213
- namespace: string;
214
- container?: string | undefined;
215
- } | {
216
- contextKey: string;
217
- target: "context";
218
- path: string;
219
- };
220
- timeoutMs?: number | undefined;
221
- recursive?: boolean | undefined;
222
- skipIfComplete?: boolean | undefined;
223
- verify?: "none" | "size" | "size+sha256" | undefined;
224
- progressIntervalMs?: number | undefined;
225
- totalTimeoutMs?: number | undefined;
226
- }, {
227
- source: {
228
- target: "local";
229
- path: string;
230
- } | {
231
- target: "landing";
232
- path: string;
233
- } | {
234
- pod: string;
235
- target: "pod";
236
- path: string;
237
- namespace: string;
238
- container?: string | undefined;
239
- } | {
240
- contextKey: string;
241
- target: "context";
242
- path: string;
243
- };
244
- dest: {
245
- target: "local";
246
- path: string;
247
- } | {
248
- target: "landing";
249
- path: string;
250
- } | {
251
- pod: string;
252
- target: "pod";
253
- path: string;
254
- namespace: string;
255
- container?: string | undefined;
256
- } | {
257
- contextKey: string;
258
- target: "context";
259
- path: string;
260
- };
261
- timeoutMs?: number | undefined;
262
- recursive?: boolean | undefined;
263
- skipIfComplete?: boolean | undefined;
264
- verify?: "none" | "size" | "size+sha256" | undefined;
265
- progressIntervalMs?: number | undefined;
266
- totalTimeoutMs?: number | undefined;
267
- }>, {
268
- source: {
269
- target: "local";
270
- path: string;
271
- } | {
272
- target: "landing";
273
58
  path: string;
274
- } | {
275
- pod: string;
276
- target: "pod";
277
- path: string;
278
- namespace: string;
59
+ target: "pod" | "local" | "remote";
279
60
  container?: string | undefined;
280
- } | {
281
- contextKey: string;
282
- target: "context";
283
- path: string;
61
+ pod?: string | undefined;
62
+ namespace?: string | undefined;
284
63
  };
285
64
  dest: {
286
- target: "local";
287
- path: string;
288
- } | {
289
- target: "landing";
290
- path: string;
291
- } | {
292
- pod: string;
293
- target: "pod";
294
65
  path: string;
295
- namespace: string;
66
+ target: "pod" | "local" | "remote";
296
67
  container?: string | undefined;
297
- } | {
298
- contextKey: string;
299
- target: "context";
300
- path: string;
68
+ pod?: string | undefined;
69
+ namespace?: string | undefined;
301
70
  };
71
+ password?: string | undefined;
72
+ description?: string | undefined;
73
+ host?: string | undefined;
302
74
  timeoutMs?: number | undefined;
75
+ user?: string | undefined;
303
76
  recursive?: boolean | undefined;
304
77
  skipIfComplete?: boolean | undefined;
305
78
  verify?: "none" | "size" | "size+sha256" | undefined;
@@ -307,217 +80,73 @@ export declare function buildRemoteCopyStartSchema(opts?: RemoteSchemaOpts): z.Z
307
80
  totalTimeoutMs?: number | undefined;
308
81
  }, {
309
82
  source: {
310
- target: "local";
311
- path: string;
312
- } | {
313
- target: "landing";
314
83
  path: string;
315
- } | {
316
- pod: string;
317
- target: "pod";
318
- path: string;
319
- namespace: string;
84
+ target: "pod" | "local" | "remote";
320
85
  container?: string | undefined;
321
- } | {
322
- contextKey: string;
323
- target: "context";
324
- path: string;
86
+ pod?: string | undefined;
87
+ namespace?: string | undefined;
325
88
  };
326
89
  dest: {
327
- target: "local";
328
90
  path: string;
329
- } | {
330
- target: "landing";
331
- path: string;
332
- } | {
333
- pod: string;
334
- target: "pod";
335
- path: string;
336
- namespace: string;
91
+ target: "pod" | "local" | "remote";
337
92
  container?: string | undefined;
338
- } | {
339
- contextKey: string;
340
- target: "context";
341
- path: string;
93
+ pod?: string | undefined;
94
+ namespace?: string | undefined;
342
95
  };
96
+ password?: string | undefined;
97
+ description?: string | undefined;
98
+ host?: string | undefined;
343
99
  timeoutMs?: number | undefined;
100
+ user?: string | undefined;
344
101
  recursive?: boolean | undefined;
345
102
  skipIfComplete?: boolean | undefined;
346
103
  verify?: "none" | "size" | "size+sha256" | undefined;
347
104
  progressIntervalMs?: number | undefined;
348
105
  totalTimeoutMs?: number | undefined;
349
106
  }>;
350
- export declare const remoteCopyStartSchema: z.ZodEffects<z.ZodObject<{
351
- source: z.ZodDiscriminatedUnion<"target", [z.ZodObject<{
352
- path: z.ZodString;
353
- target: z.ZodLiteral<"local">;
354
- }, "strict", z.ZodTypeAny, {
355
- target: "local";
356
- path: string;
357
- }, {
358
- target: "local";
359
- path: string;
360
- }>, z.ZodObject<{
361
- path: z.ZodString;
362
- target: z.ZodLiteral<"landing">;
363
- }, "strict", z.ZodTypeAny, {
364
- target: "landing";
365
- path: string;
366
- }, {
367
- target: "landing";
368
- path: string;
369
- }>, z.ZodObject<{
370
- path: z.ZodString;
371
- namespace: z.ZodString;
372
- pod: z.ZodString;
373
- container: z.ZodOptional<z.ZodString>;
374
- target: z.ZodLiteral<"pod">;
375
- }, "strict", z.ZodTypeAny, {
376
- pod: string;
377
- target: "pod";
378
- path: string;
379
- namespace: string;
380
- container?: string | undefined;
381
- }, {
382
- pod: string;
383
- target: "pod";
384
- path: string;
385
- namespace: string;
386
- container?: string | undefined;
387
- }>]> | z.ZodDiscriminatedUnion<"target", [z.ZodObject<{
388
- path: z.ZodString;
389
- target: z.ZodLiteral<"local">;
390
- }, "strict", z.ZodTypeAny, {
391
- target: "local";
392
- path: string;
393
- }, {
394
- target: "local";
395
- path: string;
396
- }>, z.ZodObject<{
397
- path: z.ZodString;
398
- target: z.ZodLiteral<"landing">;
399
- }, "strict", z.ZodTypeAny, {
400
- target: "landing";
401
- path: string;
402
- }, {
403
- target: "landing";
404
- path: string;
405
- }>, z.ZodObject<{
406
- path: z.ZodString;
407
- namespace: z.ZodString;
408
- pod: z.ZodString;
409
- container: z.ZodOptional<z.ZodString>;
410
- target: z.ZodLiteral<"pod">;
411
- }, "strict", z.ZodTypeAny, {
412
- pod: string;
413
- target: "pod";
414
- path: string;
415
- namespace: string;
416
- container?: string | undefined;
417
- }, {
418
- pod: string;
419
- target: "pod";
420
- path: string;
421
- namespace: string;
422
- container?: string | undefined;
423
- }>, z.ZodObject<{
424
- path: z.ZodString;
425
- contextKey: z.ZodString;
426
- target: z.ZodLiteral<"context">;
427
- }, "strict", z.ZodTypeAny, {
428
- contextKey: string;
429
- target: "context";
430
- path: string;
431
- }, {
432
- contextKey: string;
433
- target: "context";
434
- path: string;
435
- }>]>;
436
- dest: z.ZodDiscriminatedUnion<"target", [z.ZodObject<{
437
- path: z.ZodString;
438
- target: z.ZodLiteral<"local">;
439
- }, "strict", z.ZodTypeAny, {
440
- target: "local";
441
- path: string;
442
- }, {
443
- target: "local";
444
- path: string;
445
- }>, z.ZodObject<{
446
- path: z.ZodString;
447
- target: z.ZodLiteral<"landing">;
448
- }, "strict", z.ZodTypeAny, {
449
- target: "landing";
450
- path: string;
451
- }, {
452
- target: "landing";
453
- path: string;
454
- }>, z.ZodObject<{
455
- path: z.ZodString;
456
- namespace: z.ZodString;
457
- pod: z.ZodString;
107
+ export declare const remoteCopyStartSchema: z.ZodObject<{
108
+ description: z.ZodOptional<z.ZodString>;
109
+ host: z.ZodOptional<z.ZodString>;
110
+ user: z.ZodOptional<z.ZodString>;
111
+ password: z.ZodOptional<z.ZodString>;
112
+ source: z.ZodObject<{
113
+ target: z.ZodEnum<["local", "remote", "pod"]>;
114
+ path: z.ZodString;
115
+ namespace: z.ZodOptional<z.ZodString>;
116
+ pod: z.ZodOptional<z.ZodString>;
458
117
  container: z.ZodOptional<z.ZodString>;
459
- target: z.ZodLiteral<"pod">;
460
118
  }, "strict", z.ZodTypeAny, {
461
- pod: string;
462
- target: "pod";
463
119
  path: string;
464
- namespace: string;
120
+ target: "pod" | "local" | "remote";
465
121
  container?: string | undefined;
122
+ pod?: string | undefined;
123
+ namespace?: string | undefined;
466
124
  }, {
467
- pod: string;
468
- target: "pod";
469
125
  path: string;
470
- namespace: string;
126
+ target: "pod" | "local" | "remote";
471
127
  container?: string | undefined;
472
- }>]> | z.ZodDiscriminatedUnion<"target", [z.ZodObject<{
473
- path: z.ZodString;
474
- target: z.ZodLiteral<"local">;
475
- }, "strict", z.ZodTypeAny, {
476
- target: "local";
477
- path: string;
478
- }, {
479
- target: "local";
480
- path: string;
481
- }>, z.ZodObject<{
482
- path: z.ZodString;
483
- target: z.ZodLiteral<"landing">;
484
- }, "strict", z.ZodTypeAny, {
485
- target: "landing";
486
- path: string;
487
- }, {
488
- target: "landing";
489
- path: string;
490
- }>, z.ZodObject<{
128
+ pod?: string | undefined;
129
+ namespace?: string | undefined;
130
+ }>;
131
+ dest: z.ZodObject<{
132
+ target: z.ZodEnum<["local", "remote", "pod"]>;
491
133
  path: z.ZodString;
492
- namespace: z.ZodString;
493
- pod: z.ZodString;
134
+ namespace: z.ZodOptional<z.ZodString>;
135
+ pod: z.ZodOptional<z.ZodString>;
494
136
  container: z.ZodOptional<z.ZodString>;
495
- target: z.ZodLiteral<"pod">;
496
137
  }, "strict", z.ZodTypeAny, {
497
- pod: string;
498
- target: "pod";
499
138
  path: string;
500
- namespace: string;
139
+ target: "pod" | "local" | "remote";
501
140
  container?: string | undefined;
141
+ pod?: string | undefined;
142
+ namespace?: string | undefined;
502
143
  }, {
503
- pod: string;
504
- target: "pod";
505
144
  path: string;
506
- namespace: string;
145
+ target: "pod" | "local" | "remote";
507
146
  container?: string | undefined;
508
- }>, z.ZodObject<{
509
- path: z.ZodString;
510
- contextKey: z.ZodString;
511
- target: z.ZodLiteral<"context">;
512
- }, "strict", z.ZodTypeAny, {
513
- contextKey: string;
514
- target: "context";
515
- path: string;
516
- }, {
517
- contextKey: string;
518
- target: "context";
519
- path: string;
520
- }>]>;
147
+ pod?: string | undefined;
148
+ namespace?: string | undefined;
149
+ }>;
521
150
  recursive: z.ZodOptional<z.ZodBoolean>;
522
151
  skipIfComplete: z.ZodOptional<z.ZodBoolean>;
523
152
  verify: z.ZodOptional<z.ZodEnum<["none", "size", "size+sha256"]>>;
@@ -527,122 +156,24 @@ export declare const remoteCopyStartSchema: z.ZodEffects<z.ZodObject<{
527
156
  timeoutMs: z.ZodOptional<z.ZodNumber>;
528
157
  }, "strict", z.ZodTypeAny, {
529
158
  source: {
530
- target: "local";
531
- path: string;
532
- } | {
533
- target: "landing";
534
- path: string;
535
- } | {
536
- pod: string;
537
- target: "pod";
538
- path: string;
539
- namespace: string;
540
- container?: string | undefined;
541
- } | {
542
- contextKey: string;
543
- target: "context";
544
- path: string;
545
- };
546
- dest: {
547
- target: "local";
548
- path: string;
549
- } | {
550
- target: "landing";
551
- path: string;
552
- } | {
553
- pod: string;
554
- target: "pod";
555
- path: string;
556
- namespace: string;
557
- container?: string | undefined;
558
- } | {
559
- contextKey: string;
560
- target: "context";
561
- path: string;
562
- };
563
- timeoutMs?: number | undefined;
564
- recursive?: boolean | undefined;
565
- skipIfComplete?: boolean | undefined;
566
- verify?: "none" | "size" | "size+sha256" | undefined;
567
- progressIntervalMs?: number | undefined;
568
- totalTimeoutMs?: number | undefined;
569
- }, {
570
- source: {
571
- target: "local";
572
- path: string;
573
- } | {
574
- target: "landing";
575
- path: string;
576
- } | {
577
- pod: string;
578
- target: "pod";
579
- path: string;
580
- namespace: string;
581
- container?: string | undefined;
582
- } | {
583
- contextKey: string;
584
- target: "context";
585
- path: string;
586
- };
587
- dest: {
588
- target: "local";
589
- path: string;
590
- } | {
591
- target: "landing";
592
- path: string;
593
- } | {
594
- pod: string;
595
- target: "pod";
596
- path: string;
597
- namespace: string;
598
- container?: string | undefined;
599
- } | {
600
- contextKey: string;
601
- target: "context";
602
- path: string;
603
- };
604
- timeoutMs?: number | undefined;
605
- recursive?: boolean | undefined;
606
- skipIfComplete?: boolean | undefined;
607
- verify?: "none" | "size" | "size+sha256" | undefined;
608
- progressIntervalMs?: number | undefined;
609
- totalTimeoutMs?: number | undefined;
610
- }>, {
611
- source: {
612
- target: "local";
613
- path: string;
614
- } | {
615
- target: "landing";
616
159
  path: string;
617
- } | {
618
- pod: string;
619
- target: "pod";
620
- path: string;
621
- namespace: string;
160
+ target: "pod" | "local" | "remote";
622
161
  container?: string | undefined;
623
- } | {
624
- contextKey: string;
625
- target: "context";
626
- path: string;
162
+ pod?: string | undefined;
163
+ namespace?: string | undefined;
627
164
  };
628
165
  dest: {
629
- target: "local";
630
- path: string;
631
- } | {
632
- target: "landing";
633
- path: string;
634
- } | {
635
- pod: string;
636
- target: "pod";
637
166
  path: string;
638
- namespace: string;
167
+ target: "pod" | "local" | "remote";
639
168
  container?: string | undefined;
640
- } | {
641
- contextKey: string;
642
- target: "context";
643
- path: string;
169
+ pod?: string | undefined;
170
+ namespace?: string | undefined;
644
171
  };
172
+ password?: string | undefined;
173
+ description?: string | undefined;
174
+ host?: string | undefined;
645
175
  timeoutMs?: number | undefined;
176
+ user?: string | undefined;
646
177
  recursive?: boolean | undefined;
647
178
  skipIfComplete?: boolean | undefined;
648
179
  verify?: "none" | "size" | "size+sha256" | undefined;
@@ -650,40 +181,24 @@ export declare const remoteCopyStartSchema: z.ZodEffects<z.ZodObject<{
650
181
  totalTimeoutMs?: number | undefined;
651
182
  }, {
652
183
  source: {
653
- target: "local";
654
- path: string;
655
- } | {
656
- target: "landing";
657
184
  path: string;
658
- } | {
659
- pod: string;
660
- target: "pod";
661
- path: string;
662
- namespace: string;
185
+ target: "pod" | "local" | "remote";
663
186
  container?: string | undefined;
664
- } | {
665
- contextKey: string;
666
- target: "context";
667
- path: string;
187
+ pod?: string | undefined;
188
+ namespace?: string | undefined;
668
189
  };
669
190
  dest: {
670
- target: "local";
671
191
  path: string;
672
- } | {
673
- target: "landing";
674
- path: string;
675
- } | {
676
- pod: string;
677
- target: "pod";
678
- path: string;
679
- namespace: string;
192
+ target: "pod" | "local" | "remote";
680
193
  container?: string | undefined;
681
- } | {
682
- contextKey: string;
683
- target: "context";
684
- path: string;
194
+ pod?: string | undefined;
195
+ namespace?: string | undefined;
685
196
  };
197
+ password?: string | undefined;
198
+ description?: string | undefined;
199
+ host?: string | undefined;
686
200
  timeoutMs?: number | undefined;
201
+ user?: string | undefined;
687
202
  recursive?: boolean | undefined;
688
203
  skipIfComplete?: boolean | undefined;
689
204
  verify?: "none" | "size" | "size+sha256" | undefined;