host-execution-mcp 1.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 (126) hide show
  1. package/CHANGELOG.md +330 -0
  2. package/LICENSE +21 -0
  3. package/README.md +92 -0
  4. package/SECURITY.md +72 -0
  5. package/dist/access/docker-runtime.d.ts +38 -0
  6. package/dist/access/docker-runtime.js +61 -0
  7. package/dist/access/docker-runtime.js.map +1 -0
  8. package/dist/access/index.d.ts +110 -0
  9. package/dist/access/index.js +174 -0
  10. package/dist/access/index.js.map +1 -0
  11. package/dist/access/paradi-auth.d.ts +33 -0
  12. package/dist/access/paradi-auth.js +89 -0
  13. package/dist/access/paradi-auth.js.map +1 -0
  14. package/dist/access/paradi-transport.d.ts +10 -0
  15. package/dist/access/paradi-transport.js +39 -0
  16. package/dist/access/paradi-transport.js.map +1 -0
  17. package/dist/access/paradi-username.d.ts +5 -0
  18. package/dist/access/paradi-username.js +14 -0
  19. package/dist/access/paradi-username.js.map +1 -0
  20. package/dist/access/probe.d.ts +14 -0
  21. package/dist/access/probe.js +63 -0
  22. package/dist/access/probe.js.map +1 -0
  23. package/dist/access/session-pool.d.ts +25 -0
  24. package/dist/access/session-pool.js +46 -0
  25. package/dist/access/session-pool.js.map +1 -0
  26. package/dist/access/ssh-transport.d.ts +16 -0
  27. package/dist/access/ssh-transport.js +74 -0
  28. package/dist/access/ssh-transport.js.map +1 -0
  29. package/dist/access/types.d.ts +43 -0
  30. package/dist/access/types.js +21 -0
  31. package/dist/access/types.js.map +1 -0
  32. package/dist/config.d.ts +52 -0
  33. package/dist/config.js +179 -0
  34. package/dist/config.js.map +1 -0
  35. package/dist/index.d.ts +2 -0
  36. package/dist/index.js +19 -0
  37. package/dist/index.js.map +1 -0
  38. package/dist/instructions.d.ts +4 -0
  39. package/dist/instructions.js +93 -0
  40. package/dist/instructions.js.map +1 -0
  41. package/dist/kubectl/runner.d.ts +32 -0
  42. package/dist/kubectl/runner.js +79 -0
  43. package/dist/kubectl/runner.js.map +1 -0
  44. package/dist/server.d.ts +3 -0
  45. package/dist/server.js +24 -0
  46. package/dist/server.js.map +1 -0
  47. package/dist/ssh/access-client.d.ts +62 -0
  48. package/dist/ssh/access-client.js +470 -0
  49. package/dist/ssh/access-client.js.map +1 -0
  50. package/dist/ssh/access-errors.d.ts +53 -0
  51. package/dist/ssh/access-errors.js +180 -0
  52. package/dist/ssh/access-errors.js.map +1 -0
  53. package/dist/ssh/access-sftp.d.ts +14 -0
  54. package/dist/ssh/access-sftp.js +456 -0
  55. package/dist/ssh/access-sftp.js.map +1 -0
  56. package/dist/ssh/bastion-client.d.ts +60 -0
  57. package/dist/ssh/bastion-client.js +423 -0
  58. package/dist/ssh/bastion-client.js.map +1 -0
  59. package/dist/ssh/bastion-errors.d.ts +62 -0
  60. package/dist/ssh/bastion-errors.js +190 -0
  61. package/dist/ssh/bastion-errors.js.map +1 -0
  62. package/dist/ssh/hop1-sftp.d.ts +14 -0
  63. package/dist/ssh/hop1-sftp.js +437 -0
  64. package/dist/ssh/hop1-sftp.js.map +1 -0
  65. package/dist/tools/copy-job-schemas.d.ts +709 -0
  66. package/dist/tools/copy-job-schemas.js +48 -0
  67. package/dist/tools/copy-job-schemas.js.map +1 -0
  68. package/dist/tools/register.d.ts +14 -0
  69. package/dist/tools/register.js +619 -0
  70. package/dist/tools/register.js.map +1 -0
  71. package/dist/tools/remote-schemas.d.ts +879 -0
  72. package/dist/tools/remote-schemas.js +214 -0
  73. package/dist/tools/remote-schemas.js.map +1 -0
  74. package/dist/utils/copy-executor.d.ts +41 -0
  75. package/dist/utils/copy-executor.js +231 -0
  76. package/dist/utils/copy-executor.js.map +1 -0
  77. package/dist/utils/copy-job-manager.d.ts +34 -0
  78. package/dist/utils/copy-job-manager.js +400 -0
  79. package/dist/utils/copy-job-manager.js.map +1 -0
  80. package/dist/utils/copy-job-store.d.ts +18 -0
  81. package/dist/utils/copy-job-store.js +104 -0
  82. package/dist/utils/copy-job-store.js.map +1 -0
  83. package/dist/utils/copy-job-types.d.ts +133 -0
  84. package/dist/utils/copy-job-types.js +37 -0
  85. package/dist/utils/copy-job-types.js.map +1 -0
  86. package/dist/utils/copy-transfer.d.ts +59 -0
  87. package/dist/utils/copy-transfer.js +86 -0
  88. package/dist/utils/copy-transfer.js.map +1 -0
  89. package/dist/utils/remote-copy.d.ts +14 -0
  90. package/dist/utils/remote-copy.js +115 -0
  91. package/dist/utils/remote-copy.js.map +1 -0
  92. package/dist/utils/remote-executor.d.ts +15 -0
  93. package/dist/utils/remote-executor.js +34 -0
  94. package/dist/utils/remote-executor.js.map +1 -0
  95. package/dist/utils/remote-target.d.ts +22 -0
  96. package/dist/utils/remote-target.js +75 -0
  97. package/dist/utils/remote-target.js.map +1 -0
  98. package/dist/utils/result.d.ts +87 -0
  99. package/dist/utils/result.js +81 -0
  100. package/dist/utils/result.js.map +1 -0
  101. package/dist/utils/shell-quote.d.ts +22 -0
  102. package/dist/utils/shell-quote.js +55 -0
  103. package/dist/utils/shell-quote.js.map +1 -0
  104. package/dist/utils/timeout.d.ts +1 -0
  105. package/dist/utils/timeout.js +18 -0
  106. package/dist/utils/timeout.js.map +1 -0
  107. package/dist/utils/truncate.d.ts +5 -0
  108. package/dist/utils/truncate.js +12 -0
  109. package/dist/utils/truncate.js.map +1 -0
  110. package/dist/version.d.ts +1 -0
  111. package/dist/version.js +7 -0
  112. package/dist/version.js.map +1 -0
  113. package/docs/AGENT_GUIDE.md +161 -0
  114. package/docs/CONFIGURATION.md +130 -0
  115. package/docs/COPY_SPECIALIZED_TEST_CHECKLIST.md +9 -0
  116. package/docs/HOP1_E2E_CHECKLIST.md +128 -0
  117. package/docs/HOP1_E2E_RESULTS.json +647 -0
  118. package/docs/PARADI_ACCESS_PLAN.md +272 -0
  119. package/docs/REMOTE_COPY_JOB_API.md +92 -0
  120. package/docs/TODO.md +66 -0
  121. package/docs/USER_GUIDE.zh-CN.md +93 -0
  122. package/docs/clients/claude-desktop.json.example +12 -0
  123. package/docs/clients/cursor-npx.json.example +12 -0
  124. package/docs/clients/cursor.json.example +12 -0
  125. package/docs/clients/vscode.json.example +12 -0
  126. package/package.json +65 -0
@@ -0,0 +1,709 @@
1
+ /**
2
+ * Zod schemas for async copy tools.
3
+ * Registered as: remote_copy_start / remote_copy_status / remote_copy_cancel
4
+ */
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;
115
+ container: z.ZodOptional<z.ZodString>;
116
+ target: z.ZodLiteral<"pod">;
117
+ }, "strict", z.ZodTypeAny, {
118
+ pod: string;
119
+ target: "pod";
120
+ path: string;
121
+ namespace: string;
122
+ container?: string | undefined;
123
+ }, {
124
+ pod: string;
125
+ target: "pod";
126
+ path: string;
127
+ namespace: string;
128
+ 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<{
148
+ path: z.ZodString;
149
+ namespace: z.ZodString;
150
+ pod: z.ZodString;
151
+ container: z.ZodOptional<z.ZodString>;
152
+ target: z.ZodLiteral<"pod">;
153
+ }, "strict", z.ZodTypeAny, {
154
+ pod: string;
155
+ target: "pod";
156
+ path: string;
157
+ namespace: string;
158
+ container?: string | undefined;
159
+ }, {
160
+ pod: string;
161
+ target: "pod";
162
+ path: string;
163
+ namespace: string;
164
+ 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
+ }>]>;
178
+ recursive: z.ZodOptional<z.ZodBoolean>;
179
+ skipIfComplete: z.ZodOptional<z.ZodBoolean>;
180
+ verify: z.ZodOptional<z.ZodEnum<["none", "size", "size+sha256"]>>;
181
+ progressIntervalMs: z.ZodOptional<z.ZodNumber>;
182
+ totalTimeoutMs: z.ZodOptional<z.ZodNumber>;
183
+ /** @deprecated prefer totalTimeoutMs */
184
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
185
+ }, "strict", z.ZodTypeAny, {
186
+ 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
+ path: string;
274
+ } | {
275
+ pod: string;
276
+ target: "pod";
277
+ path: string;
278
+ namespace: string;
279
+ container?: string | undefined;
280
+ } | {
281
+ contextKey: string;
282
+ target: "context";
283
+ path: string;
284
+ };
285
+ dest: {
286
+ target: "local";
287
+ path: string;
288
+ } | {
289
+ target: "landing";
290
+ path: string;
291
+ } | {
292
+ pod: string;
293
+ target: "pod";
294
+ path: string;
295
+ namespace: string;
296
+ container?: string | undefined;
297
+ } | {
298
+ contextKey: string;
299
+ target: "context";
300
+ path: string;
301
+ };
302
+ timeoutMs?: number | undefined;
303
+ recursive?: boolean | undefined;
304
+ skipIfComplete?: boolean | undefined;
305
+ verify?: "none" | "size" | "size+sha256" | undefined;
306
+ progressIntervalMs?: number | undefined;
307
+ totalTimeoutMs?: number | undefined;
308
+ }, {
309
+ source: {
310
+ target: "local";
311
+ path: string;
312
+ } | {
313
+ target: "landing";
314
+ path: string;
315
+ } | {
316
+ pod: string;
317
+ target: "pod";
318
+ path: string;
319
+ namespace: string;
320
+ container?: string | undefined;
321
+ } | {
322
+ contextKey: string;
323
+ target: "context";
324
+ path: string;
325
+ };
326
+ dest: {
327
+ target: "local";
328
+ path: string;
329
+ } | {
330
+ target: "landing";
331
+ path: string;
332
+ } | {
333
+ pod: string;
334
+ target: "pod";
335
+ path: string;
336
+ namespace: string;
337
+ container?: string | undefined;
338
+ } | {
339
+ contextKey: string;
340
+ target: "context";
341
+ path: string;
342
+ };
343
+ timeoutMs?: number | undefined;
344
+ recursive?: boolean | undefined;
345
+ skipIfComplete?: boolean | undefined;
346
+ verify?: "none" | "size" | "size+sha256" | undefined;
347
+ progressIntervalMs?: number | undefined;
348
+ totalTimeoutMs?: number | undefined;
349
+ }>;
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;
458
+ container: z.ZodOptional<z.ZodString>;
459
+ target: z.ZodLiteral<"pod">;
460
+ }, "strict", z.ZodTypeAny, {
461
+ pod: string;
462
+ target: "pod";
463
+ path: string;
464
+ namespace: string;
465
+ container?: string | undefined;
466
+ }, {
467
+ pod: string;
468
+ target: "pod";
469
+ path: string;
470
+ namespace: string;
471
+ 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<{
491
+ path: z.ZodString;
492
+ namespace: z.ZodString;
493
+ pod: z.ZodString;
494
+ container: z.ZodOptional<z.ZodString>;
495
+ target: z.ZodLiteral<"pod">;
496
+ }, "strict", z.ZodTypeAny, {
497
+ pod: string;
498
+ target: "pod";
499
+ path: string;
500
+ namespace: string;
501
+ container?: string | undefined;
502
+ }, {
503
+ pod: string;
504
+ target: "pod";
505
+ path: string;
506
+ namespace: string;
507
+ 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
+ }>]>;
521
+ recursive: z.ZodOptional<z.ZodBoolean>;
522
+ skipIfComplete: z.ZodOptional<z.ZodBoolean>;
523
+ verify: z.ZodOptional<z.ZodEnum<["none", "size", "size+sha256"]>>;
524
+ progressIntervalMs: z.ZodOptional<z.ZodNumber>;
525
+ totalTimeoutMs: z.ZodOptional<z.ZodNumber>;
526
+ /** @deprecated prefer totalTimeoutMs */
527
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
528
+ }, "strict", z.ZodTypeAny, {
529
+ 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
+ path: string;
617
+ } | {
618
+ pod: string;
619
+ target: "pod";
620
+ path: string;
621
+ namespace: string;
622
+ container?: string | undefined;
623
+ } | {
624
+ contextKey: string;
625
+ target: "context";
626
+ path: string;
627
+ };
628
+ dest: {
629
+ target: "local";
630
+ path: string;
631
+ } | {
632
+ target: "landing";
633
+ path: string;
634
+ } | {
635
+ pod: string;
636
+ target: "pod";
637
+ path: string;
638
+ namespace: string;
639
+ container?: string | undefined;
640
+ } | {
641
+ contextKey: string;
642
+ target: "context";
643
+ path: string;
644
+ };
645
+ timeoutMs?: number | undefined;
646
+ recursive?: boolean | undefined;
647
+ skipIfComplete?: boolean | undefined;
648
+ verify?: "none" | "size" | "size+sha256" | undefined;
649
+ progressIntervalMs?: number | undefined;
650
+ totalTimeoutMs?: number | undefined;
651
+ }, {
652
+ source: {
653
+ target: "local";
654
+ path: string;
655
+ } | {
656
+ target: "landing";
657
+ path: string;
658
+ } | {
659
+ pod: string;
660
+ target: "pod";
661
+ path: string;
662
+ namespace: string;
663
+ container?: string | undefined;
664
+ } | {
665
+ contextKey: string;
666
+ target: "context";
667
+ path: string;
668
+ };
669
+ dest: {
670
+ target: "local";
671
+ path: string;
672
+ } | {
673
+ target: "landing";
674
+ path: string;
675
+ } | {
676
+ pod: string;
677
+ target: "pod";
678
+ path: string;
679
+ namespace: string;
680
+ container?: string | undefined;
681
+ } | {
682
+ contextKey: string;
683
+ target: "context";
684
+ path: string;
685
+ };
686
+ timeoutMs?: number | undefined;
687
+ recursive?: boolean | undefined;
688
+ skipIfComplete?: boolean | undefined;
689
+ verify?: "none" | "size" | "size+sha256" | undefined;
690
+ progressIntervalMs?: number | undefined;
691
+ totalTimeoutMs?: number | undefined;
692
+ }>;
693
+ export type RemoteCopyStartInput = z.infer<typeof remoteCopyStartSchema>;
694
+ export declare const remoteCopyStatusSchema: z.ZodObject<{
695
+ transferId: z.ZodString;
696
+ }, "strict", z.ZodTypeAny, {
697
+ transferId: string;
698
+ }, {
699
+ transferId: string;
700
+ }>;
701
+ export type RemoteCopyStatusInput = z.infer<typeof remoteCopyStatusSchema>;
702
+ export declare const remoteCopyCancelSchema: z.ZodObject<{
703
+ transferId: z.ZodString;
704
+ }, "strict", z.ZodTypeAny, {
705
+ transferId: string;
706
+ }, {
707
+ transferId: string;
708
+ }>;
709
+ export type RemoteCopyCancelInput = z.infer<typeof remoteCopyCancelSchema>;