@forge/manifest 7.5.0 → 7.5.1-next.0-experimental-03ab603
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/CHANGELOG.md +13 -0
- package/out/schema/manifest-schema.json +122 -54
- package/out/schema/manifest.d.ts +131 -68
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 7.5.1-next.0-experimental-03ab603
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b55fa5a: Update manifest definitions
|
|
8
|
+
- 116a97f: Update manifest definitions
|
|
9
|
+
|
|
10
|
+
## 7.5.1-next.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 116a97f: Update manifest definitions
|
|
15
|
+
|
|
3
16
|
## 7.5.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
|
@@ -811,64 +811,127 @@
|
|
|
811
811
|
"action": {
|
|
812
812
|
"type": "array",
|
|
813
813
|
"items": {
|
|
814
|
-
"
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
"description": "The description that the Rovo agent will use to decide when to invoke this action.",
|
|
818
|
-
"minLength": 1,
|
|
819
|
-
"maxLength": 255,
|
|
820
|
-
"type": "string"
|
|
821
|
-
},
|
|
822
|
-
"actionType": {
|
|
823
|
-
"description": "The action-type defines the action inputs and how actions can be categorised and discovered. \neg an action-type atlassian:issue:create:comment defines the inputs issueId and comment. \nDifferent implementations of actions with action-type of atlassian:issue:create:comment can be\nswapped depending on what integrations a tenant might have.",
|
|
824
|
-
"type": "string",
|
|
825
|
-
"minLength": 1,
|
|
826
|
-
"maxLength": 255,
|
|
827
|
-
"pattern": "^[a-zA-Z0-9\\-_:]+$"
|
|
828
|
-
},
|
|
829
|
-
"isConsequential": {
|
|
830
|
-
"type": "boolean",
|
|
831
|
-
"description": "If the action changes data then this should be true. \nRead only action should mark isConsequential as false."
|
|
832
|
-
},
|
|
833
|
-
"function": {
|
|
834
|
-
"description": "Name of the key of the function that will handle this action.",
|
|
835
|
-
"type": "string",
|
|
836
|
-
"minLength": 1,
|
|
837
|
-
"maxLength": 255,
|
|
838
|
-
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
839
|
-
},
|
|
840
|
-
"actionVerb": {
|
|
841
|
-
"description": "The operation that will be performed as a result of calling this action",
|
|
842
|
-
"type": "string",
|
|
843
|
-
"enum": [
|
|
844
|
-
"CREATE",
|
|
845
|
-
"UPDATE",
|
|
846
|
-
"DELETE",
|
|
847
|
-
"TRIGGER",
|
|
848
|
-
"GET"
|
|
849
|
-
]
|
|
850
|
-
},
|
|
851
|
-
"inputs": {
|
|
814
|
+
"oneOf": [
|
|
815
|
+
{
|
|
816
|
+
"additionalProperties": false,
|
|
852
817
|
"type": "object",
|
|
853
|
-
"
|
|
854
|
-
"
|
|
818
|
+
"properties": {
|
|
819
|
+
"description": {
|
|
820
|
+
"description": "The description that the Rovo agent will use to decide when to invoke this action.",
|
|
821
|
+
"minLength": 1,
|
|
822
|
+
"maxLength": 255,
|
|
823
|
+
"type": "string"
|
|
824
|
+
},
|
|
825
|
+
"actionType": {
|
|
826
|
+
"description": "The action-type defines the action inputs and how actions can be categorised and discovered. \neg an action-type atlassian:issue:create:comment defines the inputs issueId and comment. \nDifferent implementations of actions with action-type of atlassian:issue:create:comment can be\nswapped depending on what integrations a tenant might have.",
|
|
827
|
+
"type": "string",
|
|
828
|
+
"minLength": 1,
|
|
829
|
+
"maxLength": 255,
|
|
830
|
+
"pattern": "^[a-zA-Z0-9\\-_:]+$"
|
|
831
|
+
},
|
|
832
|
+
"isConsequential": {
|
|
833
|
+
"type": "boolean",
|
|
834
|
+
"description": "If the action changes data then this should be true. \nRead only action should mark isConsequential as false."
|
|
835
|
+
},
|
|
836
|
+
"function": {
|
|
837
|
+
"$ref": "#/definitions/ExtensionKey",
|
|
838
|
+
"description": "Name of the key of the function that will handle this action.",
|
|
839
|
+
"title": "function",
|
|
840
|
+
"type": "string"
|
|
841
|
+
},
|
|
842
|
+
"actionVerb": {
|
|
843
|
+
"description": "The operation that will be performed as a result of calling this action",
|
|
844
|
+
"type": "string",
|
|
845
|
+
"enum": [
|
|
846
|
+
"CREATE",
|
|
847
|
+
"UPDATE",
|
|
848
|
+
"DELETE",
|
|
849
|
+
"TRIGGER",
|
|
850
|
+
"GET"
|
|
851
|
+
]
|
|
852
|
+
},
|
|
853
|
+
"inputs": {
|
|
854
|
+
"type": "object",
|
|
855
|
+
"additionalProperties": {
|
|
856
|
+
"$ref": "#/definitions/ActionInput"
|
|
857
|
+
}
|
|
858
|
+
},
|
|
859
|
+
"key": {
|
|
860
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
861
|
+
}
|
|
862
|
+
},
|
|
863
|
+
"required": [
|
|
864
|
+
"isConsequential",
|
|
865
|
+
"function",
|
|
866
|
+
"description",
|
|
867
|
+
"key"
|
|
868
|
+
],
|
|
869
|
+
"not": {
|
|
870
|
+
"required": [
|
|
871
|
+
"unlicensedAccess"
|
|
872
|
+
]
|
|
855
873
|
}
|
|
856
874
|
},
|
|
857
|
-
|
|
858
|
-
"
|
|
875
|
+
{
|
|
876
|
+
"additionalProperties": false,
|
|
877
|
+
"type": "object",
|
|
878
|
+
"properties": {
|
|
879
|
+
"description": {
|
|
880
|
+
"description": "The description that the Rovo agent will use to decide when to invoke this action.",
|
|
881
|
+
"minLength": 1,
|
|
882
|
+
"maxLength": 255,
|
|
883
|
+
"type": "string"
|
|
884
|
+
},
|
|
885
|
+
"actionType": {
|
|
886
|
+
"description": "The action-type defines the action inputs and how actions can be categorised and discovered. \neg an action-type atlassian:issue:create:comment defines the inputs issueId and comment. \nDifferent implementations of actions with action-type of atlassian:issue:create:comment can be\nswapped depending on what integrations a tenant might have.",
|
|
887
|
+
"type": "string",
|
|
888
|
+
"minLength": 1,
|
|
889
|
+
"maxLength": 255,
|
|
890
|
+
"pattern": "^[a-zA-Z0-9\\-_:]+$"
|
|
891
|
+
},
|
|
892
|
+
"isConsequential": {
|
|
893
|
+
"type": "boolean",
|
|
894
|
+
"description": "If the action changes data then this should be true. \nRead only action should mark isConsequential as false."
|
|
895
|
+
},
|
|
896
|
+
"endpoint": {
|
|
897
|
+
"$ref": "#/definitions/ExtensionKey",
|
|
898
|
+
"title": "endpoint",
|
|
899
|
+
"type": "string"
|
|
900
|
+
},
|
|
901
|
+
"actionVerb": {
|
|
902
|
+
"description": "The operation that will be performed as a result of calling this action",
|
|
903
|
+
"type": "string",
|
|
904
|
+
"enum": [
|
|
905
|
+
"CREATE",
|
|
906
|
+
"UPDATE",
|
|
907
|
+
"DELETE",
|
|
908
|
+
"TRIGGER",
|
|
909
|
+
"GET"
|
|
910
|
+
]
|
|
911
|
+
},
|
|
912
|
+
"inputs": {
|
|
913
|
+
"type": "object",
|
|
914
|
+
"additionalProperties": {
|
|
915
|
+
"$ref": "#/definitions/ActionInput"
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
"key": {
|
|
919
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
"required": [
|
|
923
|
+
"isConsequential",
|
|
924
|
+
"endpoint",
|
|
925
|
+
"description",
|
|
926
|
+
"key"
|
|
927
|
+
],
|
|
928
|
+
"not": {
|
|
929
|
+
"required": [
|
|
930
|
+
"unlicensedAccess"
|
|
931
|
+
]
|
|
932
|
+
}
|
|
859
933
|
}
|
|
860
|
-
|
|
861
|
-
"required": [
|
|
862
|
-
"isConsequential",
|
|
863
|
-
"function",
|
|
864
|
-
"description",
|
|
865
|
-
"key"
|
|
866
|
-
],
|
|
867
|
-
"not": {
|
|
868
|
-
"required": [
|
|
869
|
-
"unlicensedAccess"
|
|
870
|
-
]
|
|
871
|
-
}
|
|
934
|
+
]
|
|
872
935
|
},
|
|
873
936
|
"minItems": 1
|
|
874
937
|
},
|
|
@@ -17551,6 +17614,11 @@
|
|
|
17551
17614
|
"key"
|
|
17552
17615
|
],
|
|
17553
17616
|
"properties": {
|
|
17617
|
+
"icon": {
|
|
17618
|
+
"type": "string",
|
|
17619
|
+
"minLength": 1,
|
|
17620
|
+
"maxLength": 255
|
|
17621
|
+
},
|
|
17554
17622
|
"name": {
|
|
17555
17623
|
"type": "string",
|
|
17556
17624
|
"minLength": 1
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -98,7 +98,18 @@ export type Handler = string;
|
|
|
98
98
|
* Whether this function is used for GDPR cleanup (default false). If set to true, this function has a higher rate limit for ESS list queries.
|
|
99
99
|
*/
|
|
100
100
|
export type Cleanup = boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Name of the key of the function that will handle this action.
|
|
103
|
+
*/
|
|
104
|
+
export type Function3 = string;
|
|
101
105
|
export type CoreActionInputsType = 'boolean' | 'integer' | 'number' | 'string';
|
|
106
|
+
/**
|
|
107
|
+
* The key for an extension in CaaS. That means that this is a reference to another
|
|
108
|
+
* extension in your descriptor / manifest.
|
|
109
|
+
*
|
|
110
|
+
* This key is defined in: https://bitbucket.org/atlassian/connect-service/src/cd7252b/service/cs-apps/api.raml#lines-1094
|
|
111
|
+
*/
|
|
112
|
+
export type Endpoint2 = string;
|
|
102
113
|
export type DisplayConditions =
|
|
103
114
|
| {
|
|
104
115
|
customFieldName: CustomFieldName;
|
|
@@ -385,7 +396,7 @@ export type ActionExtensionKey = string;
|
|
|
385
396
|
/**
|
|
386
397
|
* The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
|
|
387
398
|
*/
|
|
388
|
-
export type
|
|
399
|
+
export type Function4 = string;
|
|
389
400
|
export type CoreSchemaMetaSchema =
|
|
390
401
|
| {
|
|
391
402
|
$id?: string;
|
|
@@ -452,7 +463,7 @@ export type SimpleTypes = 'array' | 'boolean' | 'integer' | 'null' | 'number' |
|
|
|
452
463
|
/**
|
|
453
464
|
* The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
|
|
454
465
|
*/
|
|
455
|
-
export type
|
|
466
|
+
export type Endpoint3 = string;
|
|
456
467
|
export type Scopes = string[];
|
|
457
468
|
export type Scripts = string[];
|
|
458
469
|
export type Styles = 'unsafe-inline'[];
|
|
@@ -962,68 +973,118 @@ export interface Modules {
|
|
|
962
973
|
}[]
|
|
963
974
|
];
|
|
964
975
|
action?: [
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
976
|
+
(
|
|
977
|
+
| {
|
|
978
|
+
/**
|
|
979
|
+
* The description that the Rovo agent will use to decide when to invoke this action.
|
|
980
|
+
*/
|
|
981
|
+
description: string;
|
|
982
|
+
/**
|
|
983
|
+
* The action-type defines the action inputs and how actions can be categorised and discovered.
|
|
984
|
+
* eg an action-type atlassian:issue:create:comment defines the inputs issueId and comment.
|
|
985
|
+
* Different implementations of actions with action-type of atlassian:issue:create:comment can be
|
|
986
|
+
* swapped depending on what integrations a tenant might have.
|
|
987
|
+
*/
|
|
988
|
+
actionType?: string;
|
|
989
|
+
/**
|
|
990
|
+
* If the action changes data then this should be true.
|
|
991
|
+
* Read only action should mark isConsequential as false.
|
|
992
|
+
*/
|
|
993
|
+
isConsequential: boolean;
|
|
994
|
+
function: Function3;
|
|
995
|
+
/**
|
|
996
|
+
* The operation that will be performed as a result of calling this action
|
|
997
|
+
*/
|
|
998
|
+
actionVerb?: 'CREATE' | 'UPDATE' | 'DELETE' | 'TRIGGER' | 'GET';
|
|
999
|
+
inputs?: {
|
|
1000
|
+
[k: string]: ActionInput;
|
|
1001
|
+
};
|
|
1002
|
+
key: ModuleKeySchema;
|
|
1003
|
+
}
|
|
1004
|
+
| {
|
|
1005
|
+
/**
|
|
1006
|
+
* The description that the Rovo agent will use to decide when to invoke this action.
|
|
1007
|
+
*/
|
|
1008
|
+
description: string;
|
|
1009
|
+
/**
|
|
1010
|
+
* The action-type defines the action inputs and how actions can be categorised and discovered.
|
|
1011
|
+
* eg an action-type atlassian:issue:create:comment defines the inputs issueId and comment.
|
|
1012
|
+
* Different implementations of actions with action-type of atlassian:issue:create:comment can be
|
|
1013
|
+
* swapped depending on what integrations a tenant might have.
|
|
1014
|
+
*/
|
|
1015
|
+
actionType?: string;
|
|
1016
|
+
/**
|
|
1017
|
+
* If the action changes data then this should be true.
|
|
1018
|
+
* Read only action should mark isConsequential as false.
|
|
1019
|
+
*/
|
|
1020
|
+
isConsequential: boolean;
|
|
1021
|
+
endpoint: Endpoint2;
|
|
1022
|
+
/**
|
|
1023
|
+
* The operation that will be performed as a result of calling this action
|
|
1024
|
+
*/
|
|
1025
|
+
actionVerb?: 'CREATE' | 'UPDATE' | 'DELETE' | 'TRIGGER' | 'GET';
|
|
1026
|
+
inputs?: {
|
|
1027
|
+
[k: string]: ActionInput;
|
|
1028
|
+
};
|
|
1029
|
+
key: ModuleKeySchema;
|
|
1030
|
+
}
|
|
1031
|
+
),
|
|
1032
|
+
...(
|
|
1033
|
+
| {
|
|
1034
|
+
/**
|
|
1035
|
+
* The description that the Rovo agent will use to decide when to invoke this action.
|
|
1036
|
+
*/
|
|
1037
|
+
description: string;
|
|
1038
|
+
/**
|
|
1039
|
+
* The action-type defines the action inputs and how actions can be categorised and discovered.
|
|
1040
|
+
* eg an action-type atlassian:issue:create:comment defines the inputs issueId and comment.
|
|
1041
|
+
* Different implementations of actions with action-type of atlassian:issue:create:comment can be
|
|
1042
|
+
* swapped depending on what integrations a tenant might have.
|
|
1043
|
+
*/
|
|
1044
|
+
actionType?: string;
|
|
1045
|
+
/**
|
|
1046
|
+
* If the action changes data then this should be true.
|
|
1047
|
+
* Read only action should mark isConsequential as false.
|
|
1048
|
+
*/
|
|
1049
|
+
isConsequential: boolean;
|
|
1050
|
+
function: Function3;
|
|
1051
|
+
/**
|
|
1052
|
+
* The operation that will be performed as a result of calling this action
|
|
1053
|
+
*/
|
|
1054
|
+
actionVerb?: 'CREATE' | 'UPDATE' | 'DELETE' | 'TRIGGER' | 'GET';
|
|
1055
|
+
inputs?: {
|
|
1056
|
+
[k: string]: ActionInput;
|
|
1057
|
+
};
|
|
1058
|
+
key: ModuleKeySchema;
|
|
1059
|
+
}
|
|
1060
|
+
| {
|
|
1061
|
+
/**
|
|
1062
|
+
* The description that the Rovo agent will use to decide when to invoke this action.
|
|
1063
|
+
*/
|
|
1064
|
+
description: string;
|
|
1065
|
+
/**
|
|
1066
|
+
* The action-type defines the action inputs and how actions can be categorised and discovered.
|
|
1067
|
+
* eg an action-type atlassian:issue:create:comment defines the inputs issueId and comment.
|
|
1068
|
+
* Different implementations of actions with action-type of atlassian:issue:create:comment can be
|
|
1069
|
+
* swapped depending on what integrations a tenant might have.
|
|
1070
|
+
*/
|
|
1071
|
+
actionType?: string;
|
|
1072
|
+
/**
|
|
1073
|
+
* If the action changes data then this should be true.
|
|
1074
|
+
* Read only action should mark isConsequential as false.
|
|
1075
|
+
*/
|
|
1076
|
+
isConsequential: boolean;
|
|
1077
|
+
endpoint: Endpoint2;
|
|
1078
|
+
/**
|
|
1079
|
+
* The operation that will be performed as a result of calling this action
|
|
1080
|
+
*/
|
|
1081
|
+
actionVerb?: 'CREATE' | 'UPDATE' | 'DELETE' | 'TRIGGER' | 'GET';
|
|
1082
|
+
inputs?: {
|
|
1083
|
+
[k: string]: ActionInput;
|
|
1084
|
+
};
|
|
1085
|
+
key: ModuleKeySchema;
|
|
1086
|
+
}
|
|
1087
|
+
)[]
|
|
1027
1088
|
];
|
|
1028
1089
|
macro?: [
|
|
1029
1090
|
(
|
|
@@ -8055,6 +8116,7 @@ export interface Modules {
|
|
|
8055
8116
|
];
|
|
8056
8117
|
'rovo:agent'?: [
|
|
8057
8118
|
{
|
|
8119
|
+
icon?: string;
|
|
8058
8120
|
name: string;
|
|
8059
8121
|
description?: string;
|
|
8060
8122
|
prompt: string;
|
|
@@ -8070,6 +8132,7 @@ export interface Modules {
|
|
|
8070
8132
|
key: ModuleKeySchema;
|
|
8071
8133
|
},
|
|
8072
8134
|
...{
|
|
8135
|
+
icon?: string;
|
|
8073
8136
|
name: string;
|
|
8074
8137
|
description?: string;
|
|
8075
8138
|
prompt: string;
|
|
@@ -8093,7 +8156,7 @@ export interface Modules {
|
|
|
8093
8156
|
*/
|
|
8094
8157
|
name: string;
|
|
8095
8158
|
description: string;
|
|
8096
|
-
function:
|
|
8159
|
+
function: Function4;
|
|
8097
8160
|
inputSchema?: CoreSchemaMetaSchema & {
|
|
8098
8161
|
type: 'object';
|
|
8099
8162
|
[k: string]: unknown;
|
|
@@ -8106,7 +8169,7 @@ export interface Modules {
|
|
|
8106
8169
|
*/
|
|
8107
8170
|
name: string;
|
|
8108
8171
|
description: string;
|
|
8109
|
-
endpoint:
|
|
8172
|
+
endpoint: Endpoint3;
|
|
8110
8173
|
inputSchema?: CoreSchemaMetaSchema & {
|
|
8111
8174
|
type: 'object';
|
|
8112
8175
|
[k: string]: unknown;
|
|
@@ -8121,7 +8184,7 @@ export interface Modules {
|
|
|
8121
8184
|
*/
|
|
8122
8185
|
name: string;
|
|
8123
8186
|
description: string;
|
|
8124
|
-
function:
|
|
8187
|
+
function: Function4;
|
|
8125
8188
|
inputSchema?: CoreSchemaMetaSchema & {
|
|
8126
8189
|
type: 'object';
|
|
8127
8190
|
[k: string]: unknown;
|
|
@@ -8134,7 +8197,7 @@ export interface Modules {
|
|
|
8134
8197
|
*/
|
|
8135
8198
|
name: string;
|
|
8136
8199
|
description: string;
|
|
8137
|
-
endpoint:
|
|
8200
|
+
endpoint: Endpoint3;
|
|
8138
8201
|
inputSchema?: CoreSchemaMetaSchema & {
|
|
8139
8202
|
type: 'object';
|
|
8140
8203
|
[k: string]: unknown;
|