@intentic/extension-manifest 1.408.0 → 1.409.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 +14 -0
- package/dist/manifest.d.ts +175 -2
- package/dist/manifest.d.ts.map +1 -1
- package/dist/points/capabilities.d.ts +372 -4
- package/dist/points/capabilities.d.ts.map +1 -1
- package/dist/points/capabilities.js +70 -3
- package/dist/points/capabilities.js.map +1 -1
- package/dist/points/capability-field-shapes.d.ts +37 -0
- package/dist/points/capability-field-shapes.d.ts.map +1 -0
- package/dist/points/capability-field-shapes.js +35 -0
- package/dist/points/capability-field-shapes.js.map +1 -0
- package/dist/points/index.d.ts +351 -4
- package/dist/points/index.d.ts.map +1 -1
- package/dist/points/index.js +1 -0
- package/dist/points/index.js.map +1 -1
- package/intentic-extension.schema.json +692 -46
- package/package.json +2 -2
- package/src/points/capabilities.ts +115 -7
- package/src/points/capability-field-shapes.test.ts +56 -0
- package/src/points/capability-field-shapes.ts +64 -0
- package/src/points/index.ts +1 -0
|
@@ -576,6 +576,30 @@
|
|
|
576
576
|
}
|
|
577
577
|
},
|
|
578
578
|
"additionalProperties": false
|
|
579
|
+
},
|
|
580
|
+
"links": {
|
|
581
|
+
"description": "Links each connected card of this kind offers on its row, for a step taken on the service's own site after connecting (inviting a bot to a server). A template naming a secret field is refused: the editor is never shown one.",
|
|
582
|
+
"type": "array",
|
|
583
|
+
"items": {
|
|
584
|
+
"type": "object",
|
|
585
|
+
"properties": {
|
|
586
|
+
"label": {
|
|
587
|
+
"type": "string",
|
|
588
|
+
"minLength": 1,
|
|
589
|
+
"description": "What the link says on the connected card: \"Add to your server\"."
|
|
590
|
+
},
|
|
591
|
+
"url": {
|
|
592
|
+
"type": "string",
|
|
593
|
+
"minLength": 1,
|
|
594
|
+
"description": "The address, templated over the card's non-secret fields like `env`: `${field}` substitutes, `${field:uri}` percent-encodes. Offered only once every field it names holds a value."
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
"required": [
|
|
598
|
+
"label",
|
|
599
|
+
"url"
|
|
600
|
+
],
|
|
601
|
+
"additionalProperties": false
|
|
602
|
+
}
|
|
579
603
|
}
|
|
580
604
|
},
|
|
581
605
|
"required": [
|
|
@@ -662,6 +686,71 @@
|
|
|
662
686
|
"totp": {
|
|
663
687
|
"description": "This field holds a TOTP seed, the base32 key or otpauth:// URI a service shows when enrolling an authenticator app. Declare it with `secret: true`. Unlike an ordinary secret it never enters the agent's environment: the daemon mints the six-digit codes on demand and only those cross.",
|
|
664
688
|
"type": "boolean"
|
|
689
|
+
},
|
|
690
|
+
"connection": {
|
|
691
|
+
"type": "object",
|
|
692
|
+
"properties": {
|
|
693
|
+
"kind": {
|
|
694
|
+
"type": "string",
|
|
695
|
+
"pattern": "^[a-z][a-z0-9-]*$",
|
|
696
|
+
"description": "The kind of connection it names: `device`, `exit`, `identity`, `cli`."
|
|
697
|
+
},
|
|
698
|
+
"provider": {
|
|
699
|
+
"description": "For a kind several cards share, the card it was added from: a cli card's `provider` (`imap`), a site's `platform`.",
|
|
700
|
+
"type": "string",
|
|
701
|
+
"minLength": 1
|
|
702
|
+
}
|
|
703
|
+
},
|
|
704
|
+
"required": [
|
|
705
|
+
"kind"
|
|
706
|
+
],
|
|
707
|
+
"description": "Answer this field by picking one of the owner's existing connections of this kind, by name, instead of typing the name. The empty choice is what leaving the field empty means, labelled with `placeholder`; with none of that kind connected, the field says so. The value stored is the connection's name, and the sandbox refuses a name that is not one.",
|
|
708
|
+
"additionalProperties": false
|
|
709
|
+
},
|
|
710
|
+
"keyValue": {
|
|
711
|
+
"description": "Render it as rows of a name and a value with add and remove, for a block of `KEY=VALUE` lines (an agent's environment). What is stored is those lines, the same text a `multiline` box holds. With `secret: true` the values are masked.",
|
|
712
|
+
"type": "boolean"
|
|
713
|
+
},
|
|
714
|
+
"keyRequest": {
|
|
715
|
+
"type": "object",
|
|
716
|
+
"properties": {
|
|
717
|
+
"subject": {
|
|
718
|
+
"type": "object",
|
|
719
|
+
"propertyNames": {
|
|
720
|
+
"type": "string",
|
|
721
|
+
"enum": [
|
|
722
|
+
"C",
|
|
723
|
+
"ST",
|
|
724
|
+
"L",
|
|
725
|
+
"O",
|
|
726
|
+
"OU",
|
|
727
|
+
"CN",
|
|
728
|
+
"emailAddress"
|
|
729
|
+
]
|
|
730
|
+
},
|
|
731
|
+
"additionalProperties": {
|
|
732
|
+
"type": "string"
|
|
733
|
+
},
|
|
734
|
+
"description": "The request's subject, attribute by attribute, as templates over the other fields (`${organization}`). An attribute that comes out empty is left out; letters with diacritics are written without them."
|
|
735
|
+
},
|
|
736
|
+
"request": {
|
|
737
|
+
"description": "A non-secret `multiline` field the request itself is kept in, so the card shows it again later; the form draws it inside this one rather than as a box of its own.",
|
|
738
|
+
"type": "string"
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
"required": [
|
|
742
|
+
"subject"
|
|
743
|
+
],
|
|
744
|
+
"description": "This secret field holds a private key the sandbox generates and keeps (RSA 2048): the form shows a PKCS#10 certificate signing request for it to copy or download, and the key itself never reaches the browser. For a service that issues a certificate from a request, which the card then takes in another field.",
|
|
745
|
+
"additionalProperties": false
|
|
746
|
+
},
|
|
747
|
+
"signIn": {
|
|
748
|
+
"description": "Fill this field with a sign-in button instead of a text box, and the refresh token lands here for Save to store, with nobody pasting a token. `google`: the platform's own OAuth client runs the consent screen, and the card's CLI trades the token for access tokens through the daemon's `POST /capabilities/{id}/oauth-access`, since the client secret stays on the platform. `microsoft`: the sandbox runs the device-code sign-in the card's `refreshToken.deviceCode` declares, against the card's own app. Only on the secret field the card's `refreshToken` names.",
|
|
749
|
+
"type": "string",
|
|
750
|
+
"enum": [
|
|
751
|
+
"google",
|
|
752
|
+
"microsoft"
|
|
753
|
+
]
|
|
665
754
|
}
|
|
666
755
|
},
|
|
667
756
|
"required": [
|
|
@@ -704,72 +793,123 @@
|
|
|
704
793
|
"minLength": 1
|
|
705
794
|
},
|
|
706
795
|
"probe": {
|
|
707
|
-
"description": "One authenticated request that tests this card's settings before they are saved, so a wrong token or an unreachable host is answered on the form rather than by a card that says 'not connected' afterwards.",
|
|
708
|
-
"
|
|
709
|
-
|
|
710
|
-
"oauth": {
|
|
711
|
-
"description": "Trade the card's refresh token for an access token before the request, sent as `Authorization: Bearer`. For Microsoft's identity platform the request goes to the Graph cloud paired with the token endpoint's host, whatever host `url` names.",
|
|
796
|
+
"description": "One authenticated request that tests this card's settings before they are saved, so a wrong token or an unreachable host is answered on the form rather than by a card that says 'not connected' afterwards. For a service not spoken to over HTTP, `connect` names the protocol the daemon dials it with instead of `url`.",
|
|
797
|
+
"anyOf": [
|
|
798
|
+
{
|
|
712
799
|
"type": "object",
|
|
713
800
|
"properties": {
|
|
714
|
-
"
|
|
801
|
+
"oauth": {
|
|
802
|
+
"description": "Trade the card's refresh token, or its app's client secret, for an access token before the request, sent as `Authorization: Bearer`. For Microsoft's identity platform the request goes to the Graph cloud paired with the token endpoint's host, whatever host `url` names.",
|
|
803
|
+
"type": "object",
|
|
804
|
+
"properties": {
|
|
805
|
+
"tokenUrl": {
|
|
806
|
+
"type": "string",
|
|
807
|
+
"minLength": 1,
|
|
808
|
+
"description": "The token endpoint, templated like `url`. Only Microsoft identity platform hosts are served today."
|
|
809
|
+
},
|
|
810
|
+
"form": {
|
|
811
|
+
"type": "object",
|
|
812
|
+
"propertyNames": {
|
|
813
|
+
"type": "string"
|
|
814
|
+
},
|
|
815
|
+
"additionalProperties": {
|
|
816
|
+
"type": "string"
|
|
817
|
+
},
|
|
818
|
+
"description": "The grant's form fields, templated like `url`; a field that comes out empty is left out. `grant_type` is `refresh_token` (a delegated sign-in: nothing to test until someone has signed in) or `client_credentials` (an app's own secret, with `scope` naming the resource's `.default`)."
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
"required": [
|
|
822
|
+
"tokenUrl",
|
|
823
|
+
"form"
|
|
824
|
+
],
|
|
825
|
+
"additionalProperties": false
|
|
826
|
+
},
|
|
827
|
+
"url": {
|
|
715
828
|
"type": "string",
|
|
716
829
|
"minLength": 1,
|
|
717
|
-
"description": "The
|
|
830
|
+
"description": "The URL to call, as a template over the fields: `${field}` substitutes, `${field:uri}` percent-encodes. Same spelling as `env`."
|
|
718
831
|
},
|
|
719
|
-
"
|
|
832
|
+
"method": {
|
|
833
|
+
"description": "Defaults to GET.",
|
|
834
|
+
"type": "string",
|
|
835
|
+
"enum": [
|
|
836
|
+
"GET",
|
|
837
|
+
"POST",
|
|
838
|
+
"HEAD"
|
|
839
|
+
]
|
|
840
|
+
},
|
|
841
|
+
"headers": {
|
|
842
|
+
"description": "The request headers, templated the same way: `{\"Authorization\": \"Bearer ${token}\"}`.",
|
|
720
843
|
"type": "object",
|
|
721
844
|
"propertyNames": {
|
|
722
845
|
"type": "string"
|
|
723
846
|
},
|
|
724
847
|
"additionalProperties": {
|
|
725
848
|
"type": "string"
|
|
726
|
-
}
|
|
727
|
-
|
|
849
|
+
}
|
|
850
|
+
},
|
|
851
|
+
"identity": {
|
|
852
|
+
"description": "A dotted path into the JSON answer naming who the caller is (\"login\", \"user.name\"), so success can say which account answered.",
|
|
853
|
+
"type": "string"
|
|
854
|
+
},
|
|
855
|
+
"ok": {
|
|
856
|
+
"description": "A dotted path into the JSON answer that must hold `true` for the answer to count (\"ok\"), for a service that answers 200 either way and says in the body whether the call worked. Anything else fails the test, naming the answer's `error` code.",
|
|
857
|
+
"type": "string"
|
|
858
|
+
},
|
|
859
|
+
"insecure": {
|
|
860
|
+
"description": "Accept a self-signed certificate, for a service whose local install ships one (Obsidian's Local REST API).",
|
|
861
|
+
"type": "boolean"
|
|
728
862
|
}
|
|
729
863
|
},
|
|
730
864
|
"required": [
|
|
731
|
-
"
|
|
732
|
-
"form"
|
|
865
|
+
"url"
|
|
733
866
|
],
|
|
734
867
|
"additionalProperties": false
|
|
735
868
|
},
|
|
736
|
-
|
|
737
|
-
"type": "string",
|
|
738
|
-
"minLength": 1,
|
|
739
|
-
"description": "The URL to call, as a template over the fields: `${field}` substitutes, `${field:uri}` percent-encodes. Same spelling as `env`."
|
|
740
|
-
},
|
|
741
|
-
"method": {
|
|
742
|
-
"description": "Defaults to GET.",
|
|
743
|
-
"type": "string",
|
|
744
|
-
"enum": [
|
|
745
|
-
"GET",
|
|
746
|
-
"POST",
|
|
747
|
-
"HEAD"
|
|
748
|
-
]
|
|
749
|
-
},
|
|
750
|
-
"headers": {
|
|
751
|
-
"description": "The request headers, templated the same way: `{\"Authorization\": \"Bearer ${token}\"}`.",
|
|
869
|
+
{
|
|
752
870
|
"type": "object",
|
|
753
|
-
"
|
|
754
|
-
"
|
|
871
|
+
"properties": {
|
|
872
|
+
"connect": {
|
|
873
|
+
"type": "string",
|
|
874
|
+
"enum": [
|
|
875
|
+
"tcp",
|
|
876
|
+
"postgres",
|
|
877
|
+
"mysql",
|
|
878
|
+
"imap"
|
|
879
|
+
],
|
|
880
|
+
"description": "What to dial. `tcp`: only that something accepts a connection there. `postgres` and `mysql`: sign in to the database (TLS when the server offers it, as their command-line clients do) and name the server's version. `imap`: sign in with LOGIN, over implicit TLS on 993 and STARTTLS where offered elsewhere; with no password it only checks the greeting."
|
|
881
|
+
},
|
|
882
|
+
"host": {
|
|
883
|
+
"type": "string",
|
|
884
|
+
"minLength": 1,
|
|
885
|
+
"description": "The host to dial, templated: `${host}`."
|
|
886
|
+
},
|
|
887
|
+
"port": {
|
|
888
|
+
"type": "string",
|
|
889
|
+
"minLength": 1,
|
|
890
|
+
"description": "The port, templated: `${port}`."
|
|
891
|
+
},
|
|
892
|
+
"user": {
|
|
893
|
+
"description": "Who to sign in as, templated.",
|
|
894
|
+
"type": "string"
|
|
895
|
+
},
|
|
896
|
+
"password": {
|
|
897
|
+
"description": "The password, templated.",
|
|
898
|
+
"type": "string"
|
|
899
|
+
},
|
|
900
|
+
"database": {
|
|
901
|
+
"description": "The database to open, for `postgres` and `mysql`; the one a success names.",
|
|
902
|
+
"type": "string"
|
|
903
|
+
}
|
|
755
904
|
},
|
|
756
|
-
"
|
|
757
|
-
"
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
"
|
|
762
|
-
"type": "string"
|
|
763
|
-
},
|
|
764
|
-
"insecure": {
|
|
765
|
-
"description": "Accept a self-signed certificate, for a service whose local install ships one (Obsidian's Local REST API).",
|
|
766
|
-
"type": "boolean"
|
|
905
|
+
"required": [
|
|
906
|
+
"connect",
|
|
907
|
+
"host",
|
|
908
|
+
"port"
|
|
909
|
+
],
|
|
910
|
+
"additionalProperties": false
|
|
767
911
|
}
|
|
768
|
-
|
|
769
|
-
"required": [
|
|
770
|
-
"url"
|
|
771
|
-
],
|
|
772
|
-
"additionalProperties": false
|
|
912
|
+
]
|
|
773
913
|
},
|
|
774
914
|
"refreshToken": {
|
|
775
915
|
"description": "This card's credential is a delegated OAuth refresh token the extension's own CLI or process obtains and rotates. They store it through `POST /capabilities/{id}/oauth-token` (an extension process also needs that route in `permissions.daemon`) instead of printing it for someone to paste.",
|
|
@@ -785,6 +925,67 @@
|
|
|
785
925
|
"type": "string"
|
|
786
926
|
},
|
|
787
927
|
"description": "Fields a token is only good for as filled in at sign-in (tenant, client, cloud, access level); a token arriving after one of them changed is refused."
|
|
928
|
+
},
|
|
929
|
+
"deviceCode": {
|
|
930
|
+
"description": "How the form signs in on its own (RFC 8628 device authorization), for the field declaring `signIn: \"microsoft\"`: the sandbox asks for a code, shows it with the provider's page, waits for the person there, and fills the field. The CLI's own sign-in stays for the agent.",
|
|
931
|
+
"type": "object",
|
|
932
|
+
"properties": {
|
|
933
|
+
"when": {
|
|
934
|
+
"description": "Only while this condition over the answers holds does the button stand in for the field (`!clientSecret`: an app with a secret of its own brings its own token). Otherwise the field stays a box to paste into.",
|
|
935
|
+
"type": "string"
|
|
936
|
+
},
|
|
937
|
+
"authorizeUrl": {
|
|
938
|
+
"type": "string",
|
|
939
|
+
"minLength": 1,
|
|
940
|
+
"description": "The device authorization endpoint, templated like `probe.url`: `https://${authority}/${tenantId:uri}/oauth2/v2.0/devicecode`."
|
|
941
|
+
},
|
|
942
|
+
"tokenUrl": {
|
|
943
|
+
"type": "string",
|
|
944
|
+
"minLength": 1,
|
|
945
|
+
"description": "The token endpoint the sandbox polls until the person finishes, templated the same way. Only Microsoft identity platform hosts are served today."
|
|
946
|
+
},
|
|
947
|
+
"clientId": {
|
|
948
|
+
"type": "string",
|
|
949
|
+
"minLength": 1,
|
|
950
|
+
"description": "The public client the sign-in runs as, templated: `${clientId}`."
|
|
951
|
+
},
|
|
952
|
+
"scope": {
|
|
953
|
+
"anyOf": [
|
|
954
|
+
{
|
|
955
|
+
"type": "string",
|
|
956
|
+
"minLength": 1
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
"minItems": 1,
|
|
960
|
+
"type": "array",
|
|
961
|
+
"items": {
|
|
962
|
+
"type": "object",
|
|
963
|
+
"properties": {
|
|
964
|
+
"when": {
|
|
965
|
+
"type": "string"
|
|
966
|
+
},
|
|
967
|
+
"scope": {
|
|
968
|
+
"type": "string",
|
|
969
|
+
"minLength": 1
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
"required": [
|
|
973
|
+
"scope"
|
|
974
|
+
],
|
|
975
|
+
"additionalProperties": false
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
],
|
|
979
|
+
"description": "What the sign-in asks for, templated: one string, or a list whose first entry with no `when`, or a `when` that holds, is asked (read permissions alone for a read-only card). On Microsoft's identity platform a scope naming `https://graph.microsoft.com/` is asked of the Graph paired with the token endpoint's cloud."
|
|
980
|
+
}
|
|
981
|
+
},
|
|
982
|
+
"required": [
|
|
983
|
+
"authorizeUrl",
|
|
984
|
+
"tokenUrl",
|
|
985
|
+
"clientId",
|
|
986
|
+
"scope"
|
|
987
|
+
],
|
|
988
|
+
"additionalProperties": false
|
|
788
989
|
}
|
|
789
990
|
},
|
|
790
991
|
"required": [
|
|
@@ -1013,6 +1214,30 @@
|
|
|
1013
1214
|
}
|
|
1014
1215
|
},
|
|
1015
1216
|
"additionalProperties": false
|
|
1217
|
+
},
|
|
1218
|
+
"links": {
|
|
1219
|
+
"description": "Links each connected card of this kind offers on its row, for a step taken on the service's own site after connecting (inviting a bot to a server). A template naming a secret field is refused: the editor is never shown one.",
|
|
1220
|
+
"type": "array",
|
|
1221
|
+
"items": {
|
|
1222
|
+
"type": "object",
|
|
1223
|
+
"properties": {
|
|
1224
|
+
"label": {
|
|
1225
|
+
"type": "string",
|
|
1226
|
+
"minLength": 1,
|
|
1227
|
+
"description": "What the link says on the connected card: \"Add to your server\"."
|
|
1228
|
+
},
|
|
1229
|
+
"url": {
|
|
1230
|
+
"type": "string",
|
|
1231
|
+
"minLength": 1,
|
|
1232
|
+
"description": "The address, templated over the card's non-secret fields like `env`: `${field}` substitutes, `${field:uri}` percent-encodes. Offered only once every field it names holds a value."
|
|
1233
|
+
}
|
|
1234
|
+
},
|
|
1235
|
+
"required": [
|
|
1236
|
+
"label",
|
|
1237
|
+
"url"
|
|
1238
|
+
],
|
|
1239
|
+
"additionalProperties": false
|
|
1240
|
+
}
|
|
1016
1241
|
}
|
|
1017
1242
|
},
|
|
1018
1243
|
"required": [
|
|
@@ -1098,6 +1323,71 @@
|
|
|
1098
1323
|
"totp": {
|
|
1099
1324
|
"description": "This field holds a TOTP seed, the base32 key or otpauth:// URI a service shows when enrolling an authenticator app. Declare it with `secret: true`. Unlike an ordinary secret it never enters the agent's environment: the daemon mints the six-digit codes on demand and only those cross.",
|
|
1100
1325
|
"type": "boolean"
|
|
1326
|
+
},
|
|
1327
|
+
"connection": {
|
|
1328
|
+
"type": "object",
|
|
1329
|
+
"properties": {
|
|
1330
|
+
"kind": {
|
|
1331
|
+
"type": "string",
|
|
1332
|
+
"pattern": "^[a-z][a-z0-9-]*$",
|
|
1333
|
+
"description": "The kind of connection it names: `device`, `exit`, `identity`, `cli`."
|
|
1334
|
+
},
|
|
1335
|
+
"provider": {
|
|
1336
|
+
"description": "For a kind several cards share, the card it was added from: a cli card's `provider` (`imap`), a site's `platform`.",
|
|
1337
|
+
"type": "string",
|
|
1338
|
+
"minLength": 1
|
|
1339
|
+
}
|
|
1340
|
+
},
|
|
1341
|
+
"required": [
|
|
1342
|
+
"kind"
|
|
1343
|
+
],
|
|
1344
|
+
"description": "Answer this field by picking one of the owner's existing connections of this kind, by name, instead of typing the name. The empty choice is what leaving the field empty means, labelled with `placeholder`; with none of that kind connected, the field says so. The value stored is the connection's name, and the sandbox refuses a name that is not one.",
|
|
1345
|
+
"additionalProperties": false
|
|
1346
|
+
},
|
|
1347
|
+
"keyValue": {
|
|
1348
|
+
"description": "Render it as rows of a name and a value with add and remove, for a block of `KEY=VALUE` lines (an agent's environment). What is stored is those lines, the same text a `multiline` box holds. With `secret: true` the values are masked.",
|
|
1349
|
+
"type": "boolean"
|
|
1350
|
+
},
|
|
1351
|
+
"keyRequest": {
|
|
1352
|
+
"type": "object",
|
|
1353
|
+
"properties": {
|
|
1354
|
+
"subject": {
|
|
1355
|
+
"type": "object",
|
|
1356
|
+
"propertyNames": {
|
|
1357
|
+
"type": "string",
|
|
1358
|
+
"enum": [
|
|
1359
|
+
"C",
|
|
1360
|
+
"ST",
|
|
1361
|
+
"L",
|
|
1362
|
+
"O",
|
|
1363
|
+
"OU",
|
|
1364
|
+
"CN",
|
|
1365
|
+
"emailAddress"
|
|
1366
|
+
]
|
|
1367
|
+
},
|
|
1368
|
+
"additionalProperties": {
|
|
1369
|
+
"type": "string"
|
|
1370
|
+
},
|
|
1371
|
+
"description": "The request's subject, attribute by attribute, as templates over the other fields (`${organization}`). An attribute that comes out empty is left out; letters with diacritics are written without them."
|
|
1372
|
+
},
|
|
1373
|
+
"request": {
|
|
1374
|
+
"description": "A non-secret `multiline` field the request itself is kept in, so the card shows it again later; the form draws it inside this one rather than as a box of its own.",
|
|
1375
|
+
"type": "string"
|
|
1376
|
+
}
|
|
1377
|
+
},
|
|
1378
|
+
"required": [
|
|
1379
|
+
"subject"
|
|
1380
|
+
],
|
|
1381
|
+
"description": "This secret field holds a private key the sandbox generates and keeps (RSA 2048): the form shows a PKCS#10 certificate signing request for it to copy or download, and the key itself never reaches the browser. For a service that issues a certificate from a request, which the card then takes in another field.",
|
|
1382
|
+
"additionalProperties": false
|
|
1383
|
+
},
|
|
1384
|
+
"signIn": {
|
|
1385
|
+
"description": "Fill this field with a sign-in button instead of a text box, and the refresh token lands here for Save to store, with nobody pasting a token. `google`: the platform's own OAuth client runs the consent screen, and the card's CLI trades the token for access tokens through the daemon's `POST /capabilities/{id}/oauth-access`, since the client secret stays on the platform. `microsoft`: the sandbox runs the device-code sign-in the card's `refreshToken.deviceCode` declares, against the card's own app. Only on the secret field the card's `refreshToken` names.",
|
|
1386
|
+
"type": "string",
|
|
1387
|
+
"enum": [
|
|
1388
|
+
"google",
|
|
1389
|
+
"microsoft"
|
|
1390
|
+
]
|
|
1101
1391
|
}
|
|
1102
1392
|
},
|
|
1103
1393
|
"required": [
|
|
@@ -1203,6 +1493,30 @@
|
|
|
1203
1493
|
}
|
|
1204
1494
|
},
|
|
1205
1495
|
"additionalProperties": false
|
|
1496
|
+
},
|
|
1497
|
+
"links": {
|
|
1498
|
+
"description": "Links each connected card of this kind offers on its row, for a step taken on the service's own site after connecting (inviting a bot to a server). A template naming a secret field is refused: the editor is never shown one.",
|
|
1499
|
+
"type": "array",
|
|
1500
|
+
"items": {
|
|
1501
|
+
"type": "object",
|
|
1502
|
+
"properties": {
|
|
1503
|
+
"label": {
|
|
1504
|
+
"type": "string",
|
|
1505
|
+
"minLength": 1,
|
|
1506
|
+
"description": "What the link says on the connected card: \"Add to your server\"."
|
|
1507
|
+
},
|
|
1508
|
+
"url": {
|
|
1509
|
+
"type": "string",
|
|
1510
|
+
"minLength": 1,
|
|
1511
|
+
"description": "The address, templated over the card's non-secret fields like `env`: `${field}` substitutes, `${field:uri}` percent-encodes. Offered only once every field it names holds a value."
|
|
1512
|
+
}
|
|
1513
|
+
},
|
|
1514
|
+
"required": [
|
|
1515
|
+
"label",
|
|
1516
|
+
"url"
|
|
1517
|
+
],
|
|
1518
|
+
"additionalProperties": false
|
|
1519
|
+
}
|
|
1206
1520
|
}
|
|
1207
1521
|
},
|
|
1208
1522
|
"required": [
|
|
@@ -1288,6 +1602,71 @@
|
|
|
1288
1602
|
"totp": {
|
|
1289
1603
|
"description": "This field holds a TOTP seed, the base32 key or otpauth:// URI a service shows when enrolling an authenticator app. Declare it with `secret: true`. Unlike an ordinary secret it never enters the agent's environment: the daemon mints the six-digit codes on demand and only those cross.",
|
|
1290
1604
|
"type": "boolean"
|
|
1605
|
+
},
|
|
1606
|
+
"connection": {
|
|
1607
|
+
"type": "object",
|
|
1608
|
+
"properties": {
|
|
1609
|
+
"kind": {
|
|
1610
|
+
"type": "string",
|
|
1611
|
+
"pattern": "^[a-z][a-z0-9-]*$",
|
|
1612
|
+
"description": "The kind of connection it names: `device`, `exit`, `identity`, `cli`."
|
|
1613
|
+
},
|
|
1614
|
+
"provider": {
|
|
1615
|
+
"description": "For a kind several cards share, the card it was added from: a cli card's `provider` (`imap`), a site's `platform`.",
|
|
1616
|
+
"type": "string",
|
|
1617
|
+
"minLength": 1
|
|
1618
|
+
}
|
|
1619
|
+
},
|
|
1620
|
+
"required": [
|
|
1621
|
+
"kind"
|
|
1622
|
+
],
|
|
1623
|
+
"description": "Answer this field by picking one of the owner's existing connections of this kind, by name, instead of typing the name. The empty choice is what leaving the field empty means, labelled with `placeholder`; with none of that kind connected, the field says so. The value stored is the connection's name, and the sandbox refuses a name that is not one.",
|
|
1624
|
+
"additionalProperties": false
|
|
1625
|
+
},
|
|
1626
|
+
"keyValue": {
|
|
1627
|
+
"description": "Render it as rows of a name and a value with add and remove, for a block of `KEY=VALUE` lines (an agent's environment). What is stored is those lines, the same text a `multiline` box holds. With `secret: true` the values are masked.",
|
|
1628
|
+
"type": "boolean"
|
|
1629
|
+
},
|
|
1630
|
+
"keyRequest": {
|
|
1631
|
+
"type": "object",
|
|
1632
|
+
"properties": {
|
|
1633
|
+
"subject": {
|
|
1634
|
+
"type": "object",
|
|
1635
|
+
"propertyNames": {
|
|
1636
|
+
"type": "string",
|
|
1637
|
+
"enum": [
|
|
1638
|
+
"C",
|
|
1639
|
+
"ST",
|
|
1640
|
+
"L",
|
|
1641
|
+
"O",
|
|
1642
|
+
"OU",
|
|
1643
|
+
"CN",
|
|
1644
|
+
"emailAddress"
|
|
1645
|
+
]
|
|
1646
|
+
},
|
|
1647
|
+
"additionalProperties": {
|
|
1648
|
+
"type": "string"
|
|
1649
|
+
},
|
|
1650
|
+
"description": "The request's subject, attribute by attribute, as templates over the other fields (`${organization}`). An attribute that comes out empty is left out; letters with diacritics are written without them."
|
|
1651
|
+
},
|
|
1652
|
+
"request": {
|
|
1653
|
+
"description": "A non-secret `multiline` field the request itself is kept in, so the card shows it again later; the form draws it inside this one rather than as a box of its own.",
|
|
1654
|
+
"type": "string"
|
|
1655
|
+
}
|
|
1656
|
+
},
|
|
1657
|
+
"required": [
|
|
1658
|
+
"subject"
|
|
1659
|
+
],
|
|
1660
|
+
"description": "This secret field holds a private key the sandbox generates and keeps (RSA 2048): the form shows a PKCS#10 certificate signing request for it to copy or download, and the key itself never reaches the browser. For a service that issues a certificate from a request, which the card then takes in another field.",
|
|
1661
|
+
"additionalProperties": false
|
|
1662
|
+
},
|
|
1663
|
+
"signIn": {
|
|
1664
|
+
"description": "Fill this field with a sign-in button instead of a text box, and the refresh token lands here for Save to store, with nobody pasting a token. `google`: the platform's own OAuth client runs the consent screen, and the card's CLI trades the token for access tokens through the daemon's `POST /capabilities/{id}/oauth-access`, since the client secret stays on the platform. `microsoft`: the sandbox runs the device-code sign-in the card's `refreshToken.deviceCode` declares, against the card's own app. Only on the secret field the card's `refreshToken` names.",
|
|
1665
|
+
"type": "string",
|
|
1666
|
+
"enum": [
|
|
1667
|
+
"google",
|
|
1668
|
+
"microsoft"
|
|
1669
|
+
]
|
|
1291
1670
|
}
|
|
1292
1671
|
},
|
|
1293
1672
|
"required": [
|
|
@@ -1384,6 +1763,30 @@
|
|
|
1384
1763
|
}
|
|
1385
1764
|
},
|
|
1386
1765
|
"additionalProperties": false
|
|
1766
|
+
},
|
|
1767
|
+
"links": {
|
|
1768
|
+
"description": "Links each connected card of this kind offers on its row, for a step taken on the service's own site after connecting (inviting a bot to a server). A template naming a secret field is refused: the editor is never shown one.",
|
|
1769
|
+
"type": "array",
|
|
1770
|
+
"items": {
|
|
1771
|
+
"type": "object",
|
|
1772
|
+
"properties": {
|
|
1773
|
+
"label": {
|
|
1774
|
+
"type": "string",
|
|
1775
|
+
"minLength": 1,
|
|
1776
|
+
"description": "What the link says on the connected card: \"Add to your server\"."
|
|
1777
|
+
},
|
|
1778
|
+
"url": {
|
|
1779
|
+
"type": "string",
|
|
1780
|
+
"minLength": 1,
|
|
1781
|
+
"description": "The address, templated over the card's non-secret fields like `env`: `${field}` substitutes, `${field:uri}` percent-encodes. Offered only once every field it names holds a value."
|
|
1782
|
+
}
|
|
1783
|
+
},
|
|
1784
|
+
"required": [
|
|
1785
|
+
"label",
|
|
1786
|
+
"url"
|
|
1787
|
+
],
|
|
1788
|
+
"additionalProperties": false
|
|
1789
|
+
}
|
|
1387
1790
|
}
|
|
1388
1791
|
},
|
|
1389
1792
|
"required": [
|
|
@@ -1469,6 +1872,71 @@
|
|
|
1469
1872
|
"totp": {
|
|
1470
1873
|
"description": "This field holds a TOTP seed, the base32 key or otpauth:// URI a service shows when enrolling an authenticator app. Declare it with `secret: true`. Unlike an ordinary secret it never enters the agent's environment: the daemon mints the six-digit codes on demand and only those cross.",
|
|
1471
1874
|
"type": "boolean"
|
|
1875
|
+
},
|
|
1876
|
+
"connection": {
|
|
1877
|
+
"type": "object",
|
|
1878
|
+
"properties": {
|
|
1879
|
+
"kind": {
|
|
1880
|
+
"type": "string",
|
|
1881
|
+
"pattern": "^[a-z][a-z0-9-]*$",
|
|
1882
|
+
"description": "The kind of connection it names: `device`, `exit`, `identity`, `cli`."
|
|
1883
|
+
},
|
|
1884
|
+
"provider": {
|
|
1885
|
+
"description": "For a kind several cards share, the card it was added from: a cli card's `provider` (`imap`), a site's `platform`.",
|
|
1886
|
+
"type": "string",
|
|
1887
|
+
"minLength": 1
|
|
1888
|
+
}
|
|
1889
|
+
},
|
|
1890
|
+
"required": [
|
|
1891
|
+
"kind"
|
|
1892
|
+
],
|
|
1893
|
+
"description": "Answer this field by picking one of the owner's existing connections of this kind, by name, instead of typing the name. The empty choice is what leaving the field empty means, labelled with `placeholder`; with none of that kind connected, the field says so. The value stored is the connection's name, and the sandbox refuses a name that is not one.",
|
|
1894
|
+
"additionalProperties": false
|
|
1895
|
+
},
|
|
1896
|
+
"keyValue": {
|
|
1897
|
+
"description": "Render it as rows of a name and a value with add and remove, for a block of `KEY=VALUE` lines (an agent's environment). What is stored is those lines, the same text a `multiline` box holds. With `secret: true` the values are masked.",
|
|
1898
|
+
"type": "boolean"
|
|
1899
|
+
},
|
|
1900
|
+
"keyRequest": {
|
|
1901
|
+
"type": "object",
|
|
1902
|
+
"properties": {
|
|
1903
|
+
"subject": {
|
|
1904
|
+
"type": "object",
|
|
1905
|
+
"propertyNames": {
|
|
1906
|
+
"type": "string",
|
|
1907
|
+
"enum": [
|
|
1908
|
+
"C",
|
|
1909
|
+
"ST",
|
|
1910
|
+
"L",
|
|
1911
|
+
"O",
|
|
1912
|
+
"OU",
|
|
1913
|
+
"CN",
|
|
1914
|
+
"emailAddress"
|
|
1915
|
+
]
|
|
1916
|
+
},
|
|
1917
|
+
"additionalProperties": {
|
|
1918
|
+
"type": "string"
|
|
1919
|
+
},
|
|
1920
|
+
"description": "The request's subject, attribute by attribute, as templates over the other fields (`${organization}`). An attribute that comes out empty is left out; letters with diacritics are written without them."
|
|
1921
|
+
},
|
|
1922
|
+
"request": {
|
|
1923
|
+
"description": "A non-secret `multiline` field the request itself is kept in, so the card shows it again later; the form draws it inside this one rather than as a box of its own.",
|
|
1924
|
+
"type": "string"
|
|
1925
|
+
}
|
|
1926
|
+
},
|
|
1927
|
+
"required": [
|
|
1928
|
+
"subject"
|
|
1929
|
+
],
|
|
1930
|
+
"description": "This secret field holds a private key the sandbox generates and keeps (RSA 2048): the form shows a PKCS#10 certificate signing request for it to copy or download, and the key itself never reaches the browser. For a service that issues a certificate from a request, which the card then takes in another field.",
|
|
1931
|
+
"additionalProperties": false
|
|
1932
|
+
},
|
|
1933
|
+
"signIn": {
|
|
1934
|
+
"description": "Fill this field with a sign-in button instead of a text box, and the refresh token lands here for Save to store, with nobody pasting a token. `google`: the platform's own OAuth client runs the consent screen, and the card's CLI trades the token for access tokens through the daemon's `POST /capabilities/{id}/oauth-access`, since the client secret stays on the platform. `microsoft`: the sandbox runs the device-code sign-in the card's `refreshToken.deviceCode` declares, against the card's own app. Only on the secret field the card's `refreshToken` names.",
|
|
1935
|
+
"type": "string",
|
|
1936
|
+
"enum": [
|
|
1937
|
+
"google",
|
|
1938
|
+
"microsoft"
|
|
1939
|
+
]
|
|
1472
1940
|
}
|
|
1473
1941
|
},
|
|
1474
1942
|
"required": [
|
|
@@ -1570,6 +2038,30 @@
|
|
|
1570
2038
|
}
|
|
1571
2039
|
},
|
|
1572
2040
|
"additionalProperties": false
|
|
2041
|
+
},
|
|
2042
|
+
"links": {
|
|
2043
|
+
"description": "Links each connected card of this kind offers on its row, for a step taken on the service's own site after connecting (inviting a bot to a server). A template naming a secret field is refused: the editor is never shown one.",
|
|
2044
|
+
"type": "array",
|
|
2045
|
+
"items": {
|
|
2046
|
+
"type": "object",
|
|
2047
|
+
"properties": {
|
|
2048
|
+
"label": {
|
|
2049
|
+
"type": "string",
|
|
2050
|
+
"minLength": 1,
|
|
2051
|
+
"description": "What the link says on the connected card: \"Add to your server\"."
|
|
2052
|
+
},
|
|
2053
|
+
"url": {
|
|
2054
|
+
"type": "string",
|
|
2055
|
+
"minLength": 1,
|
|
2056
|
+
"description": "The address, templated over the card's non-secret fields like `env`: `${field}` substitutes, `${field:uri}` percent-encodes. Offered only once every field it names holds a value."
|
|
2057
|
+
}
|
|
2058
|
+
},
|
|
2059
|
+
"required": [
|
|
2060
|
+
"label",
|
|
2061
|
+
"url"
|
|
2062
|
+
],
|
|
2063
|
+
"additionalProperties": false
|
|
2064
|
+
}
|
|
1573
2065
|
}
|
|
1574
2066
|
},
|
|
1575
2067
|
"required": [
|
|
@@ -1655,6 +2147,71 @@
|
|
|
1655
2147
|
"totp": {
|
|
1656
2148
|
"description": "This field holds a TOTP seed, the base32 key or otpauth:// URI a service shows when enrolling an authenticator app. Declare it with `secret: true`. Unlike an ordinary secret it never enters the agent's environment: the daemon mints the six-digit codes on demand and only those cross.",
|
|
1657
2149
|
"type": "boolean"
|
|
2150
|
+
},
|
|
2151
|
+
"connection": {
|
|
2152
|
+
"type": "object",
|
|
2153
|
+
"properties": {
|
|
2154
|
+
"kind": {
|
|
2155
|
+
"type": "string",
|
|
2156
|
+
"pattern": "^[a-z][a-z0-9-]*$",
|
|
2157
|
+
"description": "The kind of connection it names: `device`, `exit`, `identity`, `cli`."
|
|
2158
|
+
},
|
|
2159
|
+
"provider": {
|
|
2160
|
+
"description": "For a kind several cards share, the card it was added from: a cli card's `provider` (`imap`), a site's `platform`.",
|
|
2161
|
+
"type": "string",
|
|
2162
|
+
"minLength": 1
|
|
2163
|
+
}
|
|
2164
|
+
},
|
|
2165
|
+
"required": [
|
|
2166
|
+
"kind"
|
|
2167
|
+
],
|
|
2168
|
+
"description": "Answer this field by picking one of the owner's existing connections of this kind, by name, instead of typing the name. The empty choice is what leaving the field empty means, labelled with `placeholder`; with none of that kind connected, the field says so. The value stored is the connection's name, and the sandbox refuses a name that is not one.",
|
|
2169
|
+
"additionalProperties": false
|
|
2170
|
+
},
|
|
2171
|
+
"keyValue": {
|
|
2172
|
+
"description": "Render it as rows of a name and a value with add and remove, for a block of `KEY=VALUE` lines (an agent's environment). What is stored is those lines, the same text a `multiline` box holds. With `secret: true` the values are masked.",
|
|
2173
|
+
"type": "boolean"
|
|
2174
|
+
},
|
|
2175
|
+
"keyRequest": {
|
|
2176
|
+
"type": "object",
|
|
2177
|
+
"properties": {
|
|
2178
|
+
"subject": {
|
|
2179
|
+
"type": "object",
|
|
2180
|
+
"propertyNames": {
|
|
2181
|
+
"type": "string",
|
|
2182
|
+
"enum": [
|
|
2183
|
+
"C",
|
|
2184
|
+
"ST",
|
|
2185
|
+
"L",
|
|
2186
|
+
"O",
|
|
2187
|
+
"OU",
|
|
2188
|
+
"CN",
|
|
2189
|
+
"emailAddress"
|
|
2190
|
+
]
|
|
2191
|
+
},
|
|
2192
|
+
"additionalProperties": {
|
|
2193
|
+
"type": "string"
|
|
2194
|
+
},
|
|
2195
|
+
"description": "The request's subject, attribute by attribute, as templates over the other fields (`${organization}`). An attribute that comes out empty is left out; letters with diacritics are written without them."
|
|
2196
|
+
},
|
|
2197
|
+
"request": {
|
|
2198
|
+
"description": "A non-secret `multiline` field the request itself is kept in, so the card shows it again later; the form draws it inside this one rather than as a box of its own.",
|
|
2199
|
+
"type": "string"
|
|
2200
|
+
}
|
|
2201
|
+
},
|
|
2202
|
+
"required": [
|
|
2203
|
+
"subject"
|
|
2204
|
+
],
|
|
2205
|
+
"description": "This secret field holds a private key the sandbox generates and keeps (RSA 2048): the form shows a PKCS#10 certificate signing request for it to copy or download, and the key itself never reaches the browser. For a service that issues a certificate from a request, which the card then takes in another field.",
|
|
2206
|
+
"additionalProperties": false
|
|
2207
|
+
},
|
|
2208
|
+
"signIn": {
|
|
2209
|
+
"description": "Fill this field with a sign-in button instead of a text box, and the refresh token lands here for Save to store, with nobody pasting a token. `google`: the platform's own OAuth client runs the consent screen, and the card's CLI trades the token for access tokens through the daemon's `POST /capabilities/{id}/oauth-access`, since the client secret stays on the platform. `microsoft`: the sandbox runs the device-code sign-in the card's `refreshToken.deviceCode` declares, against the card's own app. Only on the secret field the card's `refreshToken` names.",
|
|
2210
|
+
"type": "string",
|
|
2211
|
+
"enum": [
|
|
2212
|
+
"google",
|
|
2213
|
+
"microsoft"
|
|
2214
|
+
]
|
|
1658
2215
|
}
|
|
1659
2216
|
},
|
|
1660
2217
|
"required": [
|
|
@@ -1756,6 +2313,30 @@
|
|
|
1756
2313
|
}
|
|
1757
2314
|
},
|
|
1758
2315
|
"additionalProperties": false
|
|
2316
|
+
},
|
|
2317
|
+
"links": {
|
|
2318
|
+
"description": "Links each connected card of this kind offers on its row, for a step taken on the service's own site after connecting (inviting a bot to a server). A template naming a secret field is refused: the editor is never shown one.",
|
|
2319
|
+
"type": "array",
|
|
2320
|
+
"items": {
|
|
2321
|
+
"type": "object",
|
|
2322
|
+
"properties": {
|
|
2323
|
+
"label": {
|
|
2324
|
+
"type": "string",
|
|
2325
|
+
"minLength": 1,
|
|
2326
|
+
"description": "What the link says on the connected card: \"Add to your server\"."
|
|
2327
|
+
},
|
|
2328
|
+
"url": {
|
|
2329
|
+
"type": "string",
|
|
2330
|
+
"minLength": 1,
|
|
2331
|
+
"description": "The address, templated over the card's non-secret fields like `env`: `${field}` substitutes, `${field:uri}` percent-encodes. Offered only once every field it names holds a value."
|
|
2332
|
+
}
|
|
2333
|
+
},
|
|
2334
|
+
"required": [
|
|
2335
|
+
"label",
|
|
2336
|
+
"url"
|
|
2337
|
+
],
|
|
2338
|
+
"additionalProperties": false
|
|
2339
|
+
}
|
|
1759
2340
|
}
|
|
1760
2341
|
},
|
|
1761
2342
|
"required": [
|
|
@@ -1841,6 +2422,71 @@
|
|
|
1841
2422
|
"totp": {
|
|
1842
2423
|
"description": "This field holds a TOTP seed, the base32 key or otpauth:// URI a service shows when enrolling an authenticator app. Declare it with `secret: true`. Unlike an ordinary secret it never enters the agent's environment: the daemon mints the six-digit codes on demand and only those cross.",
|
|
1843
2424
|
"type": "boolean"
|
|
2425
|
+
},
|
|
2426
|
+
"connection": {
|
|
2427
|
+
"type": "object",
|
|
2428
|
+
"properties": {
|
|
2429
|
+
"kind": {
|
|
2430
|
+
"type": "string",
|
|
2431
|
+
"pattern": "^[a-z][a-z0-9-]*$",
|
|
2432
|
+
"description": "The kind of connection it names: `device`, `exit`, `identity`, `cli`."
|
|
2433
|
+
},
|
|
2434
|
+
"provider": {
|
|
2435
|
+
"description": "For a kind several cards share, the card it was added from: a cli card's `provider` (`imap`), a site's `platform`.",
|
|
2436
|
+
"type": "string",
|
|
2437
|
+
"minLength": 1
|
|
2438
|
+
}
|
|
2439
|
+
},
|
|
2440
|
+
"required": [
|
|
2441
|
+
"kind"
|
|
2442
|
+
],
|
|
2443
|
+
"description": "Answer this field by picking one of the owner's existing connections of this kind, by name, instead of typing the name. The empty choice is what leaving the field empty means, labelled with `placeholder`; with none of that kind connected, the field says so. The value stored is the connection's name, and the sandbox refuses a name that is not one.",
|
|
2444
|
+
"additionalProperties": false
|
|
2445
|
+
},
|
|
2446
|
+
"keyValue": {
|
|
2447
|
+
"description": "Render it as rows of a name and a value with add and remove, for a block of `KEY=VALUE` lines (an agent's environment). What is stored is those lines, the same text a `multiline` box holds. With `secret: true` the values are masked.",
|
|
2448
|
+
"type": "boolean"
|
|
2449
|
+
},
|
|
2450
|
+
"keyRequest": {
|
|
2451
|
+
"type": "object",
|
|
2452
|
+
"properties": {
|
|
2453
|
+
"subject": {
|
|
2454
|
+
"type": "object",
|
|
2455
|
+
"propertyNames": {
|
|
2456
|
+
"type": "string",
|
|
2457
|
+
"enum": [
|
|
2458
|
+
"C",
|
|
2459
|
+
"ST",
|
|
2460
|
+
"L",
|
|
2461
|
+
"O",
|
|
2462
|
+
"OU",
|
|
2463
|
+
"CN",
|
|
2464
|
+
"emailAddress"
|
|
2465
|
+
]
|
|
2466
|
+
},
|
|
2467
|
+
"additionalProperties": {
|
|
2468
|
+
"type": "string"
|
|
2469
|
+
},
|
|
2470
|
+
"description": "The request's subject, attribute by attribute, as templates over the other fields (`${organization}`). An attribute that comes out empty is left out; letters with diacritics are written without them."
|
|
2471
|
+
},
|
|
2472
|
+
"request": {
|
|
2473
|
+
"description": "A non-secret `multiline` field the request itself is kept in, so the card shows it again later; the form draws it inside this one rather than as a box of its own.",
|
|
2474
|
+
"type": "string"
|
|
2475
|
+
}
|
|
2476
|
+
},
|
|
2477
|
+
"required": [
|
|
2478
|
+
"subject"
|
|
2479
|
+
],
|
|
2480
|
+
"description": "This secret field holds a private key the sandbox generates and keeps (RSA 2048): the form shows a PKCS#10 certificate signing request for it to copy or download, and the key itself never reaches the browser. For a service that issues a certificate from a request, which the card then takes in another field.",
|
|
2481
|
+
"additionalProperties": false
|
|
2482
|
+
},
|
|
2483
|
+
"signIn": {
|
|
2484
|
+
"description": "Fill this field with a sign-in button instead of a text box, and the refresh token lands here for Save to store, with nobody pasting a token. `google`: the platform's own OAuth client runs the consent screen, and the card's CLI trades the token for access tokens through the daemon's `POST /capabilities/{id}/oauth-access`, since the client secret stays on the platform. `microsoft`: the sandbox runs the device-code sign-in the card's `refreshToken.deviceCode` declares, against the card's own app. Only on the secret field the card's `refreshToken` names.",
|
|
2485
|
+
"type": "string",
|
|
2486
|
+
"enum": [
|
|
2487
|
+
"google",
|
|
2488
|
+
"microsoft"
|
|
2489
|
+
]
|
|
1844
2490
|
}
|
|
1845
2491
|
},
|
|
1846
2492
|
"required": [
|