ardent-cli-beta 0.0.18 → 0.0.20
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.
- package/README.md +98 -28
- package/dist/api/client.d.ts +2 -0
- package/dist/api/client.js +13 -2
- package/dist/auth/credentials.d.ts +1 -0
- package/dist/auth/credentials.js +44 -4
- package/dist/branches/client.d.ts +4 -2
- package/dist/branches/client.js +43 -6
- package/dist/branches/connection.d.ts +21 -0
- package/dist/branches/connection.js +143 -0
- package/dist/branches/credentials.d.ts +18 -0
- package/dist/branches/credentials.js +188 -0
- package/dist/branches/drivers.d.ts +6 -0
- package/dist/branches/drivers.js +77 -0
- package/dist/branches/env.d.ts +1 -0
- package/dist/branches/env.js +55 -0
- package/dist/branches/poll.d.ts +3 -0
- package/dist/branches/poll.js +40 -0
- package/dist/branches/psql.d.ts +14 -0
- package/dist/branches/psql.js +159 -0
- package/dist/branches/recovery.d.ts +19 -0
- package/dist/branches/recovery.js +211 -0
- package/dist/commands/branch/connect.d.ts +13 -0
- package/dist/commands/branch/connect.js +96 -0
- package/dist/commands/branch/create.d.ts +10 -1
- package/dist/commands/branch/create.js +75 -16
- package/dist/commands/branch/recover.d.ts +11 -0
- package/dist/commands/branch/recover.js +37 -0
- package/dist/commands/branch/suspend.d.ts +11 -0
- package/dist/commands/branch/suspend.js +37 -0
- package/dist/commands/branch/switch.js +1 -1
- package/dist/commands/branch/wake.d.ts +11 -0
- package/dist/commands/branch/wake.js +37 -0
- package/dist/commands/connector/create.d.ts +2 -0
- package/dist/commands/connector/create.js +20 -2
- package/dist/commands/connector/delete.d.ts +10 -0
- package/dist/commands/connector/delete.js +62 -0
- package/dist/commands/connector/status.d.ts +10 -0
- package/dist/commands/connector/status.js +28 -0
- package/dist/commands/connector/switch.d.ts +12 -0
- package/dist/commands/connector/switch.js +45 -0
- package/dist/commands/login.js +7 -1
- package/dist/commands/project/switch.js +1 -1
- package/dist/connectors/client.d.ts +8 -4
- package/dist/connectors/client.js +62 -13
- package/dist/terminal.d.ts +1 -0
- package/dist/terminal.js +7 -0
- package/oclif.manifest.json +336 -2
- package/openapi.json +48 -7
- package/package.json +5 -1
package/oclif.manifest.json
CHANGED
|
@@ -95,6 +95,73 @@
|
|
|
95
95
|
"status.js"
|
|
96
96
|
]
|
|
97
97
|
},
|
|
98
|
+
"branch:connect": {
|
|
99
|
+
"aliases": [],
|
|
100
|
+
"args": {},
|
|
101
|
+
"description": "Connect to the selected active branch with psql, or print a connection string for your driver",
|
|
102
|
+
"flags": {
|
|
103
|
+
"json": {
|
|
104
|
+
"description": "Format output as json.",
|
|
105
|
+
"helpGroup": "GLOBAL",
|
|
106
|
+
"name": "json",
|
|
107
|
+
"allowNo": false,
|
|
108
|
+
"type": "boolean"
|
|
109
|
+
},
|
|
110
|
+
"driver": {
|
|
111
|
+
"description": "The driver --print writes a connection string for: libpq (psql, psycopg, pgx), node (node-postgres, postgres.js), jdbc (pgjdbc) or prisma (Prisma)",
|
|
112
|
+
"name": "driver",
|
|
113
|
+
"default": "libpq",
|
|
114
|
+
"hasDynamicHelp": false,
|
|
115
|
+
"multiple": false,
|
|
116
|
+
"options": [
|
|
117
|
+
"libpq",
|
|
118
|
+
"node",
|
|
119
|
+
"jdbc",
|
|
120
|
+
"prisma"
|
|
121
|
+
],
|
|
122
|
+
"type": "option"
|
|
123
|
+
},
|
|
124
|
+
"print": {
|
|
125
|
+
"description": "Print a connection string for --driver and keep the credential active, instead of opening psql",
|
|
126
|
+
"name": "print",
|
|
127
|
+
"allowNo": false,
|
|
128
|
+
"type": "boolean"
|
|
129
|
+
},
|
|
130
|
+
"to-env": {
|
|
131
|
+
"description": "Write DATABASE_URL to .env instead of opening psql",
|
|
132
|
+
"exclusive": [
|
|
133
|
+
"print",
|
|
134
|
+
"json"
|
|
135
|
+
],
|
|
136
|
+
"name": "to-env",
|
|
137
|
+
"allowNo": false,
|
|
138
|
+
"type": "boolean"
|
|
139
|
+
},
|
|
140
|
+
"role": {
|
|
141
|
+
"description": "Sign in as this source role on the branch (for example postgres), with a fresh password that works on this branch only",
|
|
142
|
+
"name": "role",
|
|
143
|
+
"hasDynamicHelp": false,
|
|
144
|
+
"multiple": false,
|
|
145
|
+
"type": "option"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"hasDynamicHelp": false,
|
|
149
|
+
"hiddenAliases": [],
|
|
150
|
+
"id": "branch:connect",
|
|
151
|
+
"pluginAlias": "ardent-cli-beta",
|
|
152
|
+
"pluginName": "ardent-cli-beta",
|
|
153
|
+
"pluginType": "core",
|
|
154
|
+
"strict": true,
|
|
155
|
+
"enableJsonFlag": true,
|
|
156
|
+
"helpGroup": "Branches",
|
|
157
|
+
"isESM": true,
|
|
158
|
+
"relativePath": [
|
|
159
|
+
"dist",
|
|
160
|
+
"commands",
|
|
161
|
+
"branch",
|
|
162
|
+
"connect.js"
|
|
163
|
+
]
|
|
164
|
+
},
|
|
98
165
|
"branch:create": {
|
|
99
166
|
"aliases": [],
|
|
100
167
|
"args": {
|
|
@@ -104,7 +171,7 @@
|
|
|
104
171
|
"required": true
|
|
105
172
|
}
|
|
106
173
|
},
|
|
107
|
-
"description": "Create a branch in the selected connector",
|
|
174
|
+
"description": "Create a branch in the selected connector and print its connection URL when ready",
|
|
108
175
|
"flags": {
|
|
109
176
|
"json": {
|
|
110
177
|
"description": "Format output as json.",
|
|
@@ -112,6 +179,43 @@
|
|
|
112
179
|
"name": "json",
|
|
113
180
|
"allowNo": false,
|
|
114
181
|
"type": "boolean"
|
|
182
|
+
},
|
|
183
|
+
"allow-cidr": {
|
|
184
|
+
"description": "Allow connections only from these IPv4/IPv6 CIDRs; repeat for each network. Fixed at creation; omitted means unrestricted.",
|
|
185
|
+
"name": "allow-cidr",
|
|
186
|
+
"hasDynamicHelp": false,
|
|
187
|
+
"multiple": true,
|
|
188
|
+
"type": "option"
|
|
189
|
+
},
|
|
190
|
+
"driver": {
|
|
191
|
+
"description": "Connection string format: libpq, node, jdbc or prisma",
|
|
192
|
+
"name": "driver",
|
|
193
|
+
"default": "libpq",
|
|
194
|
+
"hasDynamicHelp": false,
|
|
195
|
+
"multiple": false,
|
|
196
|
+
"options": [
|
|
197
|
+
"libpq",
|
|
198
|
+
"node",
|
|
199
|
+
"jdbc",
|
|
200
|
+
"prisma"
|
|
201
|
+
],
|
|
202
|
+
"type": "option"
|
|
203
|
+
},
|
|
204
|
+
"print": {
|
|
205
|
+
"description": "Print the connection string when ready (the default behavior)",
|
|
206
|
+
"name": "print",
|
|
207
|
+
"allowNo": false,
|
|
208
|
+
"type": "boolean"
|
|
209
|
+
},
|
|
210
|
+
"to-env": {
|
|
211
|
+
"description": "Write DATABASE_URL to .env instead of printing it",
|
|
212
|
+
"exclusive": [
|
|
213
|
+
"print",
|
|
214
|
+
"json"
|
|
215
|
+
],
|
|
216
|
+
"name": "to-env",
|
|
217
|
+
"allowNo": false,
|
|
218
|
+
"type": "boolean"
|
|
115
219
|
}
|
|
116
220
|
},
|
|
117
221
|
"hasDynamicHelp": false,
|
|
@@ -197,6 +301,78 @@
|
|
|
197
301
|
"list.js"
|
|
198
302
|
]
|
|
199
303
|
},
|
|
304
|
+
"branch:recover": {
|
|
305
|
+
"aliases": [],
|
|
306
|
+
"args": {
|
|
307
|
+
"name": {
|
|
308
|
+
"description": "Branch name",
|
|
309
|
+
"name": "name",
|
|
310
|
+
"required": true
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"description": "Recover a failed branch in the selected connector on its retained disk",
|
|
314
|
+
"flags": {
|
|
315
|
+
"json": {
|
|
316
|
+
"description": "Format output as json.",
|
|
317
|
+
"helpGroup": "GLOBAL",
|
|
318
|
+
"name": "json",
|
|
319
|
+
"allowNo": false,
|
|
320
|
+
"type": "boolean"
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"hasDynamicHelp": false,
|
|
324
|
+
"hiddenAliases": [],
|
|
325
|
+
"id": "branch:recover",
|
|
326
|
+
"pluginAlias": "ardent-cli-beta",
|
|
327
|
+
"pluginName": "ardent-cli-beta",
|
|
328
|
+
"pluginType": "core",
|
|
329
|
+
"strict": false,
|
|
330
|
+
"enableJsonFlag": true,
|
|
331
|
+
"helpGroup": "Branches",
|
|
332
|
+
"isESM": true,
|
|
333
|
+
"relativePath": [
|
|
334
|
+
"dist",
|
|
335
|
+
"commands",
|
|
336
|
+
"branch",
|
|
337
|
+
"recover.js"
|
|
338
|
+
]
|
|
339
|
+
},
|
|
340
|
+
"branch:suspend": {
|
|
341
|
+
"aliases": [],
|
|
342
|
+
"args": {
|
|
343
|
+
"name": {
|
|
344
|
+
"description": "Branch name",
|
|
345
|
+
"name": "name",
|
|
346
|
+
"required": true
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"description": "Park a branch in the selected connector; it refuses connections until woken",
|
|
350
|
+
"flags": {
|
|
351
|
+
"json": {
|
|
352
|
+
"description": "Format output as json.",
|
|
353
|
+
"helpGroup": "GLOBAL",
|
|
354
|
+
"name": "json",
|
|
355
|
+
"allowNo": false,
|
|
356
|
+
"type": "boolean"
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"hasDynamicHelp": false,
|
|
360
|
+
"hiddenAliases": [],
|
|
361
|
+
"id": "branch:suspend",
|
|
362
|
+
"pluginAlias": "ardent-cli-beta",
|
|
363
|
+
"pluginName": "ardent-cli-beta",
|
|
364
|
+
"pluginType": "core",
|
|
365
|
+
"strict": false,
|
|
366
|
+
"enableJsonFlag": true,
|
|
367
|
+
"helpGroup": "Branches",
|
|
368
|
+
"isESM": true,
|
|
369
|
+
"relativePath": [
|
|
370
|
+
"dist",
|
|
371
|
+
"commands",
|
|
372
|
+
"branch",
|
|
373
|
+
"suspend.js"
|
|
374
|
+
]
|
|
375
|
+
},
|
|
200
376
|
"branch:switch": {
|
|
201
377
|
"aliases": [],
|
|
202
378
|
"args": {
|
|
@@ -233,6 +409,42 @@
|
|
|
233
409
|
"switch.js"
|
|
234
410
|
]
|
|
235
411
|
},
|
|
412
|
+
"branch:wake": {
|
|
413
|
+
"aliases": [],
|
|
414
|
+
"args": {
|
|
415
|
+
"name": {
|
|
416
|
+
"description": "Branch name",
|
|
417
|
+
"name": "name",
|
|
418
|
+
"required": true
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"description": "Wake a parked branch in the selected connector; a parked branch refuses connections until woken",
|
|
422
|
+
"flags": {
|
|
423
|
+
"json": {
|
|
424
|
+
"description": "Format output as json.",
|
|
425
|
+
"helpGroup": "GLOBAL",
|
|
426
|
+
"name": "json",
|
|
427
|
+
"allowNo": false,
|
|
428
|
+
"type": "boolean"
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"hasDynamicHelp": false,
|
|
432
|
+
"hiddenAliases": [],
|
|
433
|
+
"id": "branch:wake",
|
|
434
|
+
"pluginAlias": "ardent-cli-beta",
|
|
435
|
+
"pluginName": "ardent-cli-beta",
|
|
436
|
+
"pluginType": "core",
|
|
437
|
+
"strict": false,
|
|
438
|
+
"enableJsonFlag": true,
|
|
439
|
+
"helpGroup": "Branches",
|
|
440
|
+
"isESM": true,
|
|
441
|
+
"relativePath": [
|
|
442
|
+
"dist",
|
|
443
|
+
"commands",
|
|
444
|
+
"branch",
|
|
445
|
+
"wake.js"
|
|
446
|
+
]
|
|
447
|
+
},
|
|
236
448
|
"connector:create": {
|
|
237
449
|
"aliases": [],
|
|
238
450
|
"args": {
|
|
@@ -270,6 +482,20 @@
|
|
|
270
482
|
"hasDynamicHelp": false,
|
|
271
483
|
"multiple": false,
|
|
272
484
|
"type": "option"
|
|
485
|
+
},
|
|
486
|
+
"tls-client-cert": {
|
|
487
|
+
"description": "PEM client certificate file (requires sslmode=require in the URL)",
|
|
488
|
+
"name": "tls-client-cert",
|
|
489
|
+
"hasDynamicHelp": false,
|
|
490
|
+
"multiple": false,
|
|
491
|
+
"type": "option"
|
|
492
|
+
},
|
|
493
|
+
"tls-client-key": {
|
|
494
|
+
"description": "PEM client private-key file (requires sslmode=require in the URL)",
|
|
495
|
+
"name": "tls-client-key",
|
|
496
|
+
"hasDynamicHelp": false,
|
|
497
|
+
"multiple": false,
|
|
498
|
+
"type": "option"
|
|
273
499
|
}
|
|
274
500
|
},
|
|
275
501
|
"hasDynamicHelp": false,
|
|
@@ -289,6 +515,42 @@
|
|
|
289
515
|
"create.js"
|
|
290
516
|
]
|
|
291
517
|
},
|
|
518
|
+
"connector:delete": {
|
|
519
|
+
"aliases": [],
|
|
520
|
+
"args": {
|
|
521
|
+
"name": {
|
|
522
|
+
"description": "Connector name",
|
|
523
|
+
"name": "name",
|
|
524
|
+
"required": true
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
"description": "Delete a connector in the selected project after its branches are deleted",
|
|
528
|
+
"flags": {
|
|
529
|
+
"json": {
|
|
530
|
+
"description": "Format output as json.",
|
|
531
|
+
"helpGroup": "GLOBAL",
|
|
532
|
+
"name": "json",
|
|
533
|
+
"allowNo": false,
|
|
534
|
+
"type": "boolean"
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
"hasDynamicHelp": false,
|
|
538
|
+
"hiddenAliases": [],
|
|
539
|
+
"id": "connector:delete",
|
|
540
|
+
"pluginAlias": "ardent-cli-beta",
|
|
541
|
+
"pluginName": "ardent-cli-beta",
|
|
542
|
+
"pluginType": "core",
|
|
543
|
+
"strict": true,
|
|
544
|
+
"enableJsonFlag": true,
|
|
545
|
+
"helpGroup": "Connectors",
|
|
546
|
+
"isESM": true,
|
|
547
|
+
"relativePath": [
|
|
548
|
+
"dist",
|
|
549
|
+
"commands",
|
|
550
|
+
"connector",
|
|
551
|
+
"delete.js"
|
|
552
|
+
]
|
|
553
|
+
},
|
|
292
554
|
"connector:list": {
|
|
293
555
|
"aliases": [],
|
|
294
556
|
"args": {},
|
|
@@ -319,6 +581,78 @@
|
|
|
319
581
|
"list.js"
|
|
320
582
|
]
|
|
321
583
|
},
|
|
584
|
+
"connector:status": {
|
|
585
|
+
"aliases": [],
|
|
586
|
+
"args": {
|
|
587
|
+
"id": {
|
|
588
|
+
"description": "Connector ID returned by create or delete",
|
|
589
|
+
"name": "id",
|
|
590
|
+
"required": true
|
|
591
|
+
}
|
|
592
|
+
},
|
|
593
|
+
"description": "Show connector registration or deletion status by ID",
|
|
594
|
+
"flags": {
|
|
595
|
+
"json": {
|
|
596
|
+
"description": "Format output as json.",
|
|
597
|
+
"helpGroup": "GLOBAL",
|
|
598
|
+
"name": "json",
|
|
599
|
+
"allowNo": false,
|
|
600
|
+
"type": "boolean"
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
"hasDynamicHelp": false,
|
|
604
|
+
"hiddenAliases": [],
|
|
605
|
+
"id": "connector:status",
|
|
606
|
+
"pluginAlias": "ardent-cli-beta",
|
|
607
|
+
"pluginName": "ardent-cli-beta",
|
|
608
|
+
"pluginType": "core",
|
|
609
|
+
"strict": true,
|
|
610
|
+
"enableJsonFlag": true,
|
|
611
|
+
"helpGroup": "Connectors",
|
|
612
|
+
"isESM": true,
|
|
613
|
+
"relativePath": [
|
|
614
|
+
"dist",
|
|
615
|
+
"commands",
|
|
616
|
+
"connector",
|
|
617
|
+
"status.js"
|
|
618
|
+
]
|
|
619
|
+
},
|
|
620
|
+
"connector:switch": {
|
|
621
|
+
"aliases": [],
|
|
622
|
+
"args": {
|
|
623
|
+
"name": {
|
|
624
|
+
"description": "Connector name",
|
|
625
|
+
"name": "name",
|
|
626
|
+
"required": true
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
"description": "Switch to a connector in the selected project",
|
|
630
|
+
"flags": {
|
|
631
|
+
"json": {
|
|
632
|
+
"description": "Format output as json.",
|
|
633
|
+
"helpGroup": "GLOBAL",
|
|
634
|
+
"name": "json",
|
|
635
|
+
"allowNo": false,
|
|
636
|
+
"type": "boolean"
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
"hasDynamicHelp": false,
|
|
640
|
+
"hiddenAliases": [],
|
|
641
|
+
"id": "connector:switch",
|
|
642
|
+
"pluginAlias": "ardent-cli-beta",
|
|
643
|
+
"pluginName": "ardent-cli-beta",
|
|
644
|
+
"pluginType": "core",
|
|
645
|
+
"strict": true,
|
|
646
|
+
"enableJsonFlag": true,
|
|
647
|
+
"helpGroup": "Connectors",
|
|
648
|
+
"isESM": true,
|
|
649
|
+
"relativePath": [
|
|
650
|
+
"dist",
|
|
651
|
+
"commands",
|
|
652
|
+
"connector",
|
|
653
|
+
"switch.js"
|
|
654
|
+
]
|
|
655
|
+
},
|
|
322
656
|
"member:delete": {
|
|
323
657
|
"aliases": [],
|
|
324
658
|
"args": {
|
|
@@ -574,5 +908,5 @@
|
|
|
574
908
|
]
|
|
575
909
|
}
|
|
576
910
|
},
|
|
577
|
-
"version": "0.0.
|
|
911
|
+
"version": "0.0.20"
|
|
578
912
|
}
|
package/openapi.json
CHANGED
|
@@ -650,12 +650,11 @@
|
|
|
650
650
|
{
|
|
651
651
|
"name": "Idempotency-Key",
|
|
652
652
|
"in": "header",
|
|
653
|
-
"required":
|
|
653
|
+
"required": false,
|
|
654
654
|
"schema": {
|
|
655
|
-
"type": "string"
|
|
656
|
-
"minLength": 1
|
|
655
|
+
"type": "string"
|
|
657
656
|
},
|
|
658
|
-
"description": "
|
|
657
|
+
"description": "Optional. Trimmed, at most 200 UTF-8 bytes. Omit for a fresh creation; resource conflicts return 409. The same key and inputs replay the original creation result; changed inputs return 409 idempotency_key_conflict."
|
|
659
658
|
}
|
|
660
659
|
],
|
|
661
660
|
"requestBody": {
|
|
@@ -1534,6 +1533,18 @@
|
|
|
1534
1533
|
"format": "date-time"
|
|
1535
1534
|
}
|
|
1536
1535
|
}
|
|
1536
|
+
},
|
|
1537
|
+
"ddl_channel": {
|
|
1538
|
+
"type": "object",
|
|
1539
|
+
"required": ["health", "required_version"],
|
|
1540
|
+
"properties": {
|
|
1541
|
+
"health": {"type": "string", "enum": ["healthy", "degraded", "unknown"]},
|
|
1542
|
+
"required_version": {"type": "integer", "minimum": 1},
|
|
1543
|
+
"observed_version": {"type": "integer", "minimum": 0},
|
|
1544
|
+
"status": {"type": "string", "enum": ["current", "worker_upgrade_required", "fresh_origin_required", "binding_repair_failed", "unavailable"]},
|
|
1545
|
+
"observed_at": {"type": "string", "format": "date-time"},
|
|
1546
|
+
"attempted_at": {"type": "string", "format": "date-time"}
|
|
1547
|
+
}
|
|
1537
1548
|
}
|
|
1538
1549
|
}
|
|
1539
1550
|
},
|
|
@@ -1564,6 +1575,7 @@
|
|
|
1564
1575
|
"registering",
|
|
1565
1576
|
"registered",
|
|
1566
1577
|
"failed",
|
|
1578
|
+
"halted",
|
|
1567
1579
|
"deleting",
|
|
1568
1580
|
"deleted"
|
|
1569
1581
|
]
|
|
@@ -1575,7 +1587,7 @@
|
|
|
1575
1587
|
"type": "string"
|
|
1576
1588
|
}
|
|
1577
1589
|
},
|
|
1578
|
-
"description": "Registration workflow completion is not replication readiness. Deletion status can also be returned by this endpoint."
|
|
1590
|
+
"description": "Registration workflow completion is not replication readiness. Deletion status can also be returned by this endpoint. halted means a source runtime component reported a standing halt; failure is then <component>:<classification>."
|
|
1579
1591
|
},
|
|
1580
1592
|
"Branch": {
|
|
1581
1593
|
"type": "object",
|
|
@@ -1596,6 +1608,12 @@
|
|
|
1596
1608
|
"updated_at"
|
|
1597
1609
|
],
|
|
1598
1610
|
"properties": {
|
|
1611
|
+
"allowed_cidrs": {
|
|
1612
|
+
"type": "array",
|
|
1613
|
+
"maxItems": 64,
|
|
1614
|
+
"items": {"type": "string"},
|
|
1615
|
+
"description": "IPv4/IPv6 CIDRs allowed to connect. Empty or omitted means unrestricted. Immutable after creation; host bits are masked and duplicates removed. Mapped IPv6 prefixes are refused."
|
|
1616
|
+
},
|
|
1599
1617
|
"id": {
|
|
1600
1618
|
"type": "string"
|
|
1601
1619
|
},
|
|
@@ -1831,10 +1849,20 @@
|
|
|
1831
1849
|
"minLength": 1,
|
|
1832
1850
|
"writeOnly": true,
|
|
1833
1851
|
"description": "PostgreSQL connection URL, including source credentials. Do not log this value."
|
|
1852
|
+
},
|
|
1853
|
+
"tls_client_certificate": {
|
|
1854
|
+
"type": "string",
|
|
1855
|
+
"writeOnly": true,
|
|
1856
|
+
"description": "Optional PEM client certificate, retained byte-for-byte. Must be supplied with tls_client_key."
|
|
1857
|
+
},
|
|
1858
|
+
"tls_client_key": {
|
|
1859
|
+
"type": "string",
|
|
1860
|
+
"writeOnly": true,
|
|
1861
|
+
"description": "Optional PEM private key, retained byte-for-byte. Must be supplied with tls_client_certificate."
|
|
1834
1862
|
}
|
|
1835
1863
|
},
|
|
1836
1864
|
"additionalProperties": false,
|
|
1837
|
-
"description": "One JSON object, at most
|
|
1865
|
+
"description": "One JSON object, at most 160 KiB. Identifier, name, and URL fields are trimmed; PEM fields retain their exact bytes. Unknown fields are rejected."
|
|
1838
1866
|
},
|
|
1839
1867
|
"BranchName": {
|
|
1840
1868
|
"type": "string",
|
|
@@ -1850,6 +1878,12 @@
|
|
|
1850
1878
|
"request_id"
|
|
1851
1879
|
],
|
|
1852
1880
|
"properties": {
|
|
1881
|
+
"allowed_cidrs": {
|
|
1882
|
+
"type": "array",
|
|
1883
|
+
"maxItems": 64,
|
|
1884
|
+
"items": {"type": "string"},
|
|
1885
|
+
"description": "IPv4/IPv6 CIDRs allowed to connect. Empty or omitted means unrestricted. Immutable after creation; host bits are masked and duplicates removed. Mapped IPv6 prefixes are refused."
|
|
1886
|
+
},
|
|
1853
1887
|
"connector_id": {
|
|
1854
1888
|
"type": "string",
|
|
1855
1889
|
"minLength": 1
|
|
@@ -1861,6 +1895,13 @@
|
|
|
1861
1895
|
"type": "string",
|
|
1862
1896
|
"minLength": 1,
|
|
1863
1897
|
"description": "Trimmed, then limited to 128 UTF-8 bytes; NUL is forbidden. Reuse for retries."
|
|
1898
|
+
},
|
|
1899
|
+
"source_ownership": {
|
|
1900
|
+
"type": "string",
|
|
1901
|
+
"enum": [
|
|
1902
|
+
"seed_origin_v1"
|
|
1903
|
+
],
|
|
1904
|
+
"description": "Optional birth ownership restoration at the selected latest mark only. Returns 409 source_ownership_unavailable unless that mark matches a supported installation seed origin. Credentials retain public_read_write_v1."
|
|
1864
1905
|
}
|
|
1865
1906
|
},
|
|
1866
1907
|
"additionalProperties": false
|
|
@@ -1885,7 +1926,7 @@
|
|
|
1885
1926
|
"CLICallback": {
|
|
1886
1927
|
"type": "string",
|
|
1887
1928
|
"format": "uri",
|
|
1888
|
-
"description": "Exactly http://127.0.0.1:<port>/callback, port 1
|
|
1929
|
+
"description": "Exactly http://127.0.0.1:<port>/callback, port 1\u201365535; no user information, query, or fragment."
|
|
1889
1930
|
},
|
|
1890
1931
|
"CLIRandomValue": {
|
|
1891
1932
|
"type": "string",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ardent-cli-beta",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"description": "The Ardent command-line interface",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -50,5 +50,9 @@
|
|
|
50
50
|
"@types/node": "^22.0.0",
|
|
51
51
|
"oclif": "^5.0.1",
|
|
52
52
|
"typescript": "^5.9.0"
|
|
53
|
+
},
|
|
54
|
+
"repository": {
|
|
55
|
+
"type": "git",
|
|
56
|
+
"url": "git+https://github.com/ArdentAILabs/ardent-cli.git"
|
|
53
57
|
}
|
|
54
58
|
}
|