@treestructuredplanning/gateway 0.1.3 → 0.3.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.
- package/README.md +57 -82
- package/dist/cli.js +55 -48
- package/dist/gateway-schema.json +450 -38
- package/dist/{shared-RM5C4AZN.js → shared-KRIZBGVD.js} +3658 -2328
- package/package.json +1 -1
package/dist/gateway-schema.json
CHANGED
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"additionalProperties": false,
|
|
39
39
|
"properties": {
|
|
40
40
|
"protocol_version": {
|
|
41
|
-
"const":
|
|
42
|
-
"default":
|
|
41
|
+
"const": 3,
|
|
42
|
+
"default": 3,
|
|
43
43
|
"title": "Protocol Version",
|
|
44
44
|
"type": "integer"
|
|
45
45
|
},
|
|
@@ -68,11 +68,25 @@
|
|
|
68
68
|
"$ref": "#/components/schemas/HarnessKind"
|
|
69
69
|
},
|
|
70
70
|
"repository": {
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
|
|
71
|
+
"$ref": "#/components/schemas/RepositoryRef"
|
|
72
|
+
},
|
|
73
|
+
"checkout": {
|
|
74
|
+
"discriminator": {
|
|
75
|
+
"mapping": {
|
|
76
|
+
"shared": "#/components/schemas/SharedCheckout",
|
|
77
|
+
"worktree": "#/components/schemas/WorktreeCheckout"
|
|
78
|
+
},
|
|
79
|
+
"propertyName": "mode"
|
|
80
|
+
},
|
|
81
|
+
"oneOf": [
|
|
82
|
+
{
|
|
83
|
+
"$ref": "#/components/schemas/WorktreeCheckout"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"$ref": "#/components/schemas/SharedCheckout"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"title": "Checkout"
|
|
76
90
|
},
|
|
77
91
|
"seed": {
|
|
78
92
|
"maxLength": 32000,
|
|
@@ -92,6 +106,7 @@
|
|
|
92
106
|
"action_id",
|
|
93
107
|
"harness",
|
|
94
108
|
"repository",
|
|
109
|
+
"checkout",
|
|
95
110
|
"seed",
|
|
96
111
|
"session_name"
|
|
97
112
|
],
|
|
@@ -107,12 +122,154 @@
|
|
|
107
122
|
],
|
|
108
123
|
"title": "HarnessKind"
|
|
109
124
|
},
|
|
125
|
+
"RepositoryRef": {
|
|
126
|
+
"properties": {
|
|
127
|
+
"host": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"maxLength": 253,
|
|
130
|
+
"minLength": 3,
|
|
131
|
+
"pattern": "^[A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9])?(\\.[A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9])?)+$",
|
|
132
|
+
"title": "Host",
|
|
133
|
+
"description": "DNS host, such as `github.com`."
|
|
134
|
+
},
|
|
135
|
+
"owner": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"maxLength": 255,
|
|
138
|
+
"minLength": 1,
|
|
139
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]*(/[A-Za-z0-9][A-Za-z0-9_.-]*)*$",
|
|
140
|
+
"title": "Owner",
|
|
141
|
+
"description": "Owner or namespace path."
|
|
142
|
+
},
|
|
143
|
+
"name": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"maxLength": 100,
|
|
146
|
+
"minLength": 1,
|
|
147
|
+
"pattern": "^[A-Za-z0-9_.-]+$",
|
|
148
|
+
"title": "Name",
|
|
149
|
+
"description": "Repository name, without `.git`."
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"additionalProperties": false,
|
|
153
|
+
"type": "object",
|
|
154
|
+
"required": [
|
|
155
|
+
"host",
|
|
156
|
+
"owner",
|
|
157
|
+
"name"
|
|
158
|
+
],
|
|
159
|
+
"title": "RepositoryRef",
|
|
160
|
+
"description": "Which repository, on which host. Equality of meaning is `same_repository`."
|
|
161
|
+
},
|
|
162
|
+
"WorktreeCheckout": {
|
|
163
|
+
"properties": {
|
|
164
|
+
"mode": {
|
|
165
|
+
"type": "string",
|
|
166
|
+
"const": "worktree",
|
|
167
|
+
"title": "Mode",
|
|
168
|
+
"default": "worktree"
|
|
169
|
+
},
|
|
170
|
+
"attempt_id": {
|
|
171
|
+
"type": "string",
|
|
172
|
+
"pattern": "^att_[0-9a-f]{12}$",
|
|
173
|
+
"title": "Attempt Id"
|
|
174
|
+
},
|
|
175
|
+
"branch": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"maxLength": 255,
|
|
178
|
+
"minLength": 1,
|
|
179
|
+
"title": "Branch"
|
|
180
|
+
},
|
|
181
|
+
"base": {
|
|
182
|
+
"oneOf": [
|
|
183
|
+
{
|
|
184
|
+
"$ref": "#/components/schemas/LandingBase"
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"title": "Base",
|
|
188
|
+
"discriminator": {
|
|
189
|
+
"propertyName": "kind",
|
|
190
|
+
"mapping": {
|
|
191
|
+
"landing": "#/components/schemas/LandingBase"
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"additionalProperties": false,
|
|
197
|
+
"type": "object",
|
|
198
|
+
"required": [
|
|
199
|
+
"attempt_id",
|
|
200
|
+
"branch",
|
|
201
|
+
"base"
|
|
202
|
+
],
|
|
203
|
+
"title": "WorktreeCheckout"
|
|
204
|
+
},
|
|
205
|
+
"LandingBase": {
|
|
206
|
+
"properties": {
|
|
207
|
+
"kind": {
|
|
208
|
+
"type": "string",
|
|
209
|
+
"const": "landing",
|
|
210
|
+
"title": "Kind",
|
|
211
|
+
"default": "landing"
|
|
212
|
+
},
|
|
213
|
+
"branch": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"maxLength": 255,
|
|
216
|
+
"minLength": 1,
|
|
217
|
+
"title": "Branch"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"additionalProperties": false,
|
|
221
|
+
"type": "object",
|
|
222
|
+
"required": [
|
|
223
|
+
"branch"
|
|
224
|
+
],
|
|
225
|
+
"title": "LandingBase"
|
|
226
|
+
},
|
|
227
|
+
"SharedCheckout": {
|
|
228
|
+
"properties": {
|
|
229
|
+
"mode": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"const": "shared",
|
|
232
|
+
"title": "Mode",
|
|
233
|
+
"default": "shared"
|
|
234
|
+
},
|
|
235
|
+
"branch": {
|
|
236
|
+
"anyOf": [
|
|
237
|
+
{
|
|
238
|
+
"type": "string",
|
|
239
|
+
"maxLength": 255,
|
|
240
|
+
"minLength": 1
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"type": "null"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"title": "Branch"
|
|
247
|
+
},
|
|
248
|
+
"base": {
|
|
249
|
+
"anyOf": [
|
|
250
|
+
{
|
|
251
|
+
"$ref": "#/components/schemas/LandingBase"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"type": "null"
|
|
255
|
+
}
|
|
256
|
+
]
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"additionalProperties": false,
|
|
260
|
+
"type": "object",
|
|
261
|
+
"required": [
|
|
262
|
+
"branch",
|
|
263
|
+
"base"
|
|
264
|
+
],
|
|
265
|
+
"title": "SharedCheckout"
|
|
266
|
+
},
|
|
110
267
|
"GatewayStopOffer": {
|
|
111
268
|
"additionalProperties": false,
|
|
112
269
|
"properties": {
|
|
113
270
|
"protocol_version": {
|
|
114
|
-
"const":
|
|
115
|
-
"default":
|
|
271
|
+
"const": 3,
|
|
272
|
+
"default": 3,
|
|
116
273
|
"title": "Protocol Version",
|
|
117
274
|
"type": "integer"
|
|
118
275
|
},
|
|
@@ -166,8 +323,8 @@
|
|
|
166
323
|
"additionalProperties": false,
|
|
167
324
|
"properties": {
|
|
168
325
|
"protocol_version": {
|
|
169
|
-
"const":
|
|
170
|
-
"default":
|
|
326
|
+
"const": 3,
|
|
327
|
+
"default": 3,
|
|
171
328
|
"title": "Protocol Version",
|
|
172
329
|
"type": "integer"
|
|
173
330
|
},
|
|
@@ -227,8 +384,8 @@
|
|
|
227
384
|
"additionalProperties": false,
|
|
228
385
|
"properties": {
|
|
229
386
|
"protocol_version": {
|
|
230
|
-
"const":
|
|
231
|
-
"default":
|
|
387
|
+
"const": 3,
|
|
388
|
+
"default": 3,
|
|
232
389
|
"title": "Protocol Version",
|
|
233
390
|
"type": "integer"
|
|
234
391
|
},
|
|
@@ -256,8 +413,8 @@
|
|
|
256
413
|
"description": "Execution grant, or the authoritative terminal receipt on denial.",
|
|
257
414
|
"properties": {
|
|
258
415
|
"protocol_version": {
|
|
259
|
-
"const":
|
|
260
|
-
"default":
|
|
416
|
+
"const": 3,
|
|
417
|
+
"default": 3,
|
|
261
418
|
"title": "Protocol Version",
|
|
262
419
|
"type": "integer"
|
|
263
420
|
},
|
|
@@ -320,8 +477,8 @@
|
|
|
320
477
|
"additionalProperties": false,
|
|
321
478
|
"properties": {
|
|
322
479
|
"protocol_version": {
|
|
323
|
-
"const":
|
|
324
|
-
"default":
|
|
480
|
+
"const": 3,
|
|
481
|
+
"default": 3,
|
|
325
482
|
"title": "Protocol Version",
|
|
326
483
|
"type": "integer"
|
|
327
484
|
},
|
|
@@ -353,8 +510,8 @@
|
|
|
353
510
|
"additionalProperties": false,
|
|
354
511
|
"properties": {
|
|
355
512
|
"protocol_version": {
|
|
356
|
-
"const":
|
|
357
|
-
"default":
|
|
513
|
+
"const": 3,
|
|
514
|
+
"default": 3,
|
|
358
515
|
"title": "Protocol Version",
|
|
359
516
|
"type": "integer"
|
|
360
517
|
},
|
|
@@ -376,6 +533,40 @@
|
|
|
376
533
|
},
|
|
377
534
|
"reason": {
|
|
378
535
|
"$ref": "#/components/schemas/LaunchRefusalReason"
|
|
536
|
+
},
|
|
537
|
+
"detail": {
|
|
538
|
+
"anyOf": [
|
|
539
|
+
{
|
|
540
|
+
"discriminator": {
|
|
541
|
+
"mapping": {
|
|
542
|
+
"busy": "#/components/schemas/CheckoutBusyDetail",
|
|
543
|
+
"failed": "#/components/schemas/CheckoutFailedDetail",
|
|
544
|
+
"fetch_failed": "#/components/schemas/CheckoutFetchFailedDetail",
|
|
545
|
+
"untrusted": "#/components/schemas/WorkspaceUntrustedDetail"
|
|
546
|
+
},
|
|
547
|
+
"propertyName": "kind"
|
|
548
|
+
},
|
|
549
|
+
"oneOf": [
|
|
550
|
+
{
|
|
551
|
+
"$ref": "#/components/schemas/CheckoutBusyDetail"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"$ref": "#/components/schemas/CheckoutFailedDetail"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"$ref": "#/components/schemas/CheckoutFetchFailedDetail"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"$ref": "#/components/schemas/WorkspaceUntrustedDetail"
|
|
561
|
+
}
|
|
562
|
+
]
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"type": "null"
|
|
566
|
+
}
|
|
567
|
+
],
|
|
568
|
+
"default": null,
|
|
569
|
+
"title": "Detail"
|
|
379
570
|
}
|
|
380
571
|
},
|
|
381
572
|
"required": [
|
|
@@ -389,6 +580,9 @@
|
|
|
389
580
|
"LaunchRefusalReason": {
|
|
390
581
|
"type": "string",
|
|
391
582
|
"enum": [
|
|
583
|
+
"checkout_failed",
|
|
584
|
+
"checkout_busy",
|
|
585
|
+
"checkout_fetch_failed",
|
|
392
586
|
"workspace_untrusted",
|
|
393
587
|
"not_signed_in",
|
|
394
588
|
"repository_not_registered",
|
|
@@ -410,6 +604,7 @@
|
|
|
410
604
|
"awaiting_observation",
|
|
411
605
|
"already_running",
|
|
412
606
|
"not_running",
|
|
607
|
+
"launch_superseded",
|
|
413
608
|
"launch_expired",
|
|
414
609
|
"launch_withdrawn",
|
|
415
610
|
"control_expired",
|
|
@@ -418,13 +613,175 @@
|
|
|
418
613
|
"title": "LaunchRefusalReason",
|
|
419
614
|
"description": "Why a gateway or the server refused a launch, stop or resume.\n\nThe start failures a gateway can prove are named for what went wrong:\n``shell_startup_timeout`` (the login shell was too slow to start and the\ngateway had no earlier environment to use instead), ``shell_startup_failed``\n(the login shell exited before running the harness),\n``repository_folder_unavailable`` (the registered folder could not be\nentered), ``harness_exited`` (the harness exited with an error while\nstarting) and ``start_uncertain`` (a retried attempt could not tell whether\nan earlier one started a session, so it did not start a second).\n``start_failed`` is what gateways before 0.1.2 send for all of these."
|
|
420
615
|
},
|
|
616
|
+
"CheckoutBusyDetail": {
|
|
617
|
+
"properties": {
|
|
618
|
+
"kind": {
|
|
619
|
+
"type": "string",
|
|
620
|
+
"const": "busy",
|
|
621
|
+
"title": "Kind",
|
|
622
|
+
"default": "busy"
|
|
623
|
+
},
|
|
624
|
+
"cause": {
|
|
625
|
+
"$ref": "#/components/schemas/CheckoutBusyCause"
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
"additionalProperties": false,
|
|
629
|
+
"type": "object",
|
|
630
|
+
"required": [
|
|
631
|
+
"cause"
|
|
632
|
+
],
|
|
633
|
+
"title": "CheckoutBusyDetail"
|
|
634
|
+
},
|
|
635
|
+
"CheckoutBusyCause": {
|
|
636
|
+
"type": "string",
|
|
637
|
+
"enum": [
|
|
638
|
+
"live_agent",
|
|
639
|
+
"uncommitted_changes"
|
|
640
|
+
],
|
|
641
|
+
"title": "CheckoutBusyCause"
|
|
642
|
+
},
|
|
643
|
+
"CheckoutFailedDetail": {
|
|
644
|
+
"properties": {
|
|
645
|
+
"kind": {
|
|
646
|
+
"type": "string",
|
|
647
|
+
"const": "failed",
|
|
648
|
+
"title": "Kind",
|
|
649
|
+
"default": "failed"
|
|
650
|
+
},
|
|
651
|
+
"step": {
|
|
652
|
+
"$ref": "#/components/schemas/CheckoutFailureStep"
|
|
653
|
+
},
|
|
654
|
+
"location": {
|
|
655
|
+
"anyOf": [
|
|
656
|
+
{
|
|
657
|
+
"$ref": "#/components/schemas/WorktreeLocation"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"type": "null"
|
|
661
|
+
}
|
|
662
|
+
]
|
|
663
|
+
},
|
|
664
|
+
"setting": {
|
|
665
|
+
"anyOf": [
|
|
666
|
+
{
|
|
667
|
+
"$ref": "#/components/schemas/WorktreeRootSetting"
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"type": "null"
|
|
671
|
+
}
|
|
672
|
+
]
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
"additionalProperties": false,
|
|
676
|
+
"type": "object",
|
|
677
|
+
"required": [
|
|
678
|
+
"step",
|
|
679
|
+
"location"
|
|
680
|
+
],
|
|
681
|
+
"title": "CheckoutFailedDetail",
|
|
682
|
+
"description": "Which checkout step failed, and where its worktree folder was.\n\n``setting`` names the gateway setting that chose a custom folder; it is None for the\nfolder inside the repository, and from gateways that predate it."
|
|
683
|
+
},
|
|
684
|
+
"CheckoutFailureStep": {
|
|
685
|
+
"type": "string",
|
|
686
|
+
"enum": [
|
|
687
|
+
"prepare_root",
|
|
688
|
+
"create_worktree",
|
|
689
|
+
"reuse_worktree",
|
|
690
|
+
"switch_branch",
|
|
691
|
+
"branch_namespace",
|
|
692
|
+
"copy_included_files"
|
|
693
|
+
],
|
|
694
|
+
"title": "CheckoutFailureStep"
|
|
695
|
+
},
|
|
696
|
+
"WorktreeLocation": {
|
|
697
|
+
"type": "string",
|
|
698
|
+
"enum": [
|
|
699
|
+
"in_clone",
|
|
700
|
+
"custom"
|
|
701
|
+
],
|
|
702
|
+
"title": "WorktreeLocation"
|
|
703
|
+
},
|
|
704
|
+
"WorktreeRootSetting": {
|
|
705
|
+
"type": "string",
|
|
706
|
+
"enum": [
|
|
707
|
+
"repository",
|
|
708
|
+
"machine"
|
|
709
|
+
],
|
|
710
|
+
"title": "WorktreeRootSetting",
|
|
711
|
+
"description": "Which gateway setting chose a custom worktree folder.\n\n``REPOSITORY`` is the folder set for the registered repository alone, which wins over\n``MACHINE``, the folder set for every repository on that machine. Each is reset by its\nown command, so the canvas offers only the one that was in effect."
|
|
712
|
+
},
|
|
713
|
+
"CheckoutFetchFailedDetail": {
|
|
714
|
+
"properties": {
|
|
715
|
+
"kind": {
|
|
716
|
+
"type": "string",
|
|
717
|
+
"const": "fetch_failed",
|
|
718
|
+
"title": "Kind",
|
|
719
|
+
"default": "fetch_failed"
|
|
720
|
+
},
|
|
721
|
+
"cause": {
|
|
722
|
+
"$ref": "#/components/schemas/CheckoutFetchFailure"
|
|
723
|
+
},
|
|
724
|
+
"landing_line": {
|
|
725
|
+
"type": "string",
|
|
726
|
+
"maxLength": 255,
|
|
727
|
+
"minLength": 1,
|
|
728
|
+
"title": "Landing Line"
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
"additionalProperties": false,
|
|
732
|
+
"type": "object",
|
|
733
|
+
"required": [
|
|
734
|
+
"cause",
|
|
735
|
+
"landing_line"
|
|
736
|
+
],
|
|
737
|
+
"title": "CheckoutFetchFailedDetail"
|
|
738
|
+
},
|
|
739
|
+
"CheckoutFetchFailure": {
|
|
740
|
+
"type": "string",
|
|
741
|
+
"enum": [
|
|
742
|
+
"unreachable",
|
|
743
|
+
"unauthorized",
|
|
744
|
+
"timed_out",
|
|
745
|
+
"no_matching_remote",
|
|
746
|
+
"repository_not_found",
|
|
747
|
+
"unknown"
|
|
748
|
+
],
|
|
749
|
+
"title": "CheckoutFetchFailure",
|
|
750
|
+
"description": "Why the gateway's fetch of the landing line failed, as far as Git's answer tells.\n\n``UNREACHABLE`` is a network failure only (no host, refused or timed-out connection);\n``REPOSITORY_NOT_FOUND`` is a remote that answered but has no repository this machine\nmay read; ``UNKNOWN`` is any failure Git did not explain in a way the gateway recognizes."
|
|
751
|
+
},
|
|
752
|
+
"WorkspaceUntrustedDetail": {
|
|
753
|
+
"properties": {
|
|
754
|
+
"kind": {
|
|
755
|
+
"type": "string",
|
|
756
|
+
"const": "untrusted",
|
|
757
|
+
"title": "Kind",
|
|
758
|
+
"default": "untrusted"
|
|
759
|
+
},
|
|
760
|
+
"location": {
|
|
761
|
+
"anyOf": [
|
|
762
|
+
{
|
|
763
|
+
"$ref": "#/components/schemas/WorktreeLocation"
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"type": "null"
|
|
767
|
+
}
|
|
768
|
+
]
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
"additionalProperties": false,
|
|
772
|
+
"type": "object",
|
|
773
|
+
"required": [
|
|
774
|
+
"location"
|
|
775
|
+
],
|
|
776
|
+
"title": "WorkspaceUntrustedDetail"
|
|
777
|
+
},
|
|
421
778
|
"GatewayRetire": {
|
|
422
779
|
"additionalProperties": false,
|
|
423
780
|
"description": "Forget local tracking for an action TSP has released or no longer resolves.\n\nIt ends tracking only: the gateway leaves any running session alone.",
|
|
424
781
|
"properties": {
|
|
425
782
|
"protocol_version": {
|
|
426
|
-
"const":
|
|
427
|
-
"default":
|
|
783
|
+
"const": 3,
|
|
784
|
+
"default": 3,
|
|
428
785
|
"title": "Protocol Version",
|
|
429
786
|
"type": "integer"
|
|
430
787
|
},
|
|
@@ -495,7 +852,7 @@
|
|
|
495
852
|
"type": "string"
|
|
496
853
|
},
|
|
497
854
|
"protocol_version": {
|
|
498
|
-
"default":
|
|
855
|
+
"default": 3,
|
|
499
856
|
"minimum": 1,
|
|
500
857
|
"title": "Protocol Version",
|
|
501
858
|
"type": "integer"
|
|
@@ -620,12 +977,8 @@
|
|
|
620
977
|
"harness": {
|
|
621
978
|
"$ref": "#/components/schemas/HarnessKind"
|
|
622
979
|
},
|
|
623
|
-
"
|
|
624
|
-
"
|
|
625
|
-
"maxLength": 201,
|
|
626
|
-
"minLength": 3,
|
|
627
|
-
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*/[A-Za-z0-9][A-Za-z0-9_.-]*$",
|
|
628
|
-
"title": "Slug"
|
|
980
|
+
"repository": {
|
|
981
|
+
"$ref": "#/components/schemas/RepositoryRef"
|
|
629
982
|
},
|
|
630
983
|
"trust": {
|
|
631
984
|
"$ref": "#/components/schemas/RepositoryTrust"
|
|
@@ -650,7 +1003,7 @@
|
|
|
650
1003
|
"type": "object",
|
|
651
1004
|
"required": [
|
|
652
1005
|
"harness",
|
|
653
|
-
"
|
|
1006
|
+
"repository",
|
|
654
1007
|
"trust",
|
|
655
1008
|
"available",
|
|
656
1009
|
"signed_in"
|
|
@@ -670,8 +1023,8 @@
|
|
|
670
1023
|
"additionalProperties": false,
|
|
671
1024
|
"properties": {
|
|
672
1025
|
"protocol_version": {
|
|
673
|
-
"const":
|
|
674
|
-
"default":
|
|
1026
|
+
"const": 3,
|
|
1027
|
+
"default": 3,
|
|
675
1028
|
"title": "Protocol Version",
|
|
676
1029
|
"type": "integer"
|
|
677
1030
|
},
|
|
@@ -714,8 +1067,8 @@
|
|
|
714
1067
|
"additionalProperties": false,
|
|
715
1068
|
"properties": {
|
|
716
1069
|
"protocol_version": {
|
|
717
|
-
"const":
|
|
718
|
-
"default":
|
|
1070
|
+
"const": 3,
|
|
1071
|
+
"default": 3,
|
|
719
1072
|
"title": "Protocol Version",
|
|
720
1073
|
"type": "integer"
|
|
721
1074
|
},
|
|
@@ -747,8 +1100,8 @@
|
|
|
747
1100
|
"additionalProperties": false,
|
|
748
1101
|
"properties": {
|
|
749
1102
|
"protocol_version": {
|
|
750
|
-
"const":
|
|
751
|
-
"default":
|
|
1103
|
+
"const": 3,
|
|
1104
|
+
"default": 3,
|
|
752
1105
|
"title": "Protocol Version",
|
|
753
1106
|
"type": "integer"
|
|
754
1107
|
},
|
|
@@ -776,7 +1129,7 @@
|
|
|
776
1129
|
"waiting_for": {
|
|
777
1130
|
"anyOf": [
|
|
778
1131
|
{
|
|
779
|
-
"maxLength":
|
|
1132
|
+
"maxLength": 4000,
|
|
780
1133
|
"minLength": 1,
|
|
781
1134
|
"type": "string"
|
|
782
1135
|
},
|
|
@@ -828,6 +1181,17 @@
|
|
|
828
1181
|
"default": null,
|
|
829
1182
|
"title": "Resumed As"
|
|
830
1183
|
},
|
|
1184
|
+
"checkout": {
|
|
1185
|
+
"anyOf": [
|
|
1186
|
+
{
|
|
1187
|
+
"$ref": "#/components/schemas/GatewayCheckoutReport"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"type": "null"
|
|
1191
|
+
}
|
|
1192
|
+
],
|
|
1193
|
+
"default": null
|
|
1194
|
+
},
|
|
831
1195
|
"activity": {
|
|
832
1196
|
"anyOf": [
|
|
833
1197
|
{
|
|
@@ -885,6 +1249,54 @@
|
|
|
885
1249
|
"title": "AttachHint",
|
|
886
1250
|
"description": "Path-free session identity; command rendering belongs to the consumer."
|
|
887
1251
|
},
|
|
1252
|
+
"GatewayCheckoutReport": {
|
|
1253
|
+
"additionalProperties": false,
|
|
1254
|
+
"properties": {
|
|
1255
|
+
"branch": {
|
|
1256
|
+
"anyOf": [
|
|
1257
|
+
{
|
|
1258
|
+
"maxLength": 255,
|
|
1259
|
+
"minLength": 1,
|
|
1260
|
+
"type": "string"
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"type": "null"
|
|
1264
|
+
}
|
|
1265
|
+
],
|
|
1266
|
+
"title": "Branch"
|
|
1267
|
+
},
|
|
1268
|
+
"base_sha": {
|
|
1269
|
+
"anyOf": [
|
|
1270
|
+
{
|
|
1271
|
+
"maxLength": 40,
|
|
1272
|
+
"minLength": 7,
|
|
1273
|
+
"pattern": "^[0-9a-fA-F]+$",
|
|
1274
|
+
"type": "string"
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"type": "null"
|
|
1278
|
+
}
|
|
1279
|
+
],
|
|
1280
|
+
"title": "Base Sha"
|
|
1281
|
+
},
|
|
1282
|
+
"created": {
|
|
1283
|
+
"title": "Created",
|
|
1284
|
+
"type": "boolean"
|
|
1285
|
+
},
|
|
1286
|
+
"shares_checkout": {
|
|
1287
|
+
"title": "Shares Checkout",
|
|
1288
|
+
"type": "boolean"
|
|
1289
|
+
}
|
|
1290
|
+
},
|
|
1291
|
+
"required": [
|
|
1292
|
+
"branch",
|
|
1293
|
+
"base_sha",
|
|
1294
|
+
"created",
|
|
1295
|
+
"shares_checkout"
|
|
1296
|
+
],
|
|
1297
|
+
"title": "GatewayCheckoutReport",
|
|
1298
|
+
"type": "object"
|
|
1299
|
+
},
|
|
888
1300
|
"GatewaySessionActivity": {
|
|
889
1301
|
"additionalProperties": false,
|
|
890
1302
|
"description": "The snapshot as the gateway sends it, relative to its own send time.",
|
|
@@ -948,8 +1360,8 @@
|
|
|
948
1360
|
"additionalProperties": false,
|
|
949
1361
|
"properties": {
|
|
950
1362
|
"protocol_version": {
|
|
951
|
-
"const":
|
|
952
|
-
"default":
|
|
1363
|
+
"const": 3,
|
|
1364
|
+
"default": 3,
|
|
953
1365
|
"title": "Protocol Version",
|
|
954
1366
|
"type": "integer"
|
|
955
1367
|
},
|