@suveren/gateway 0.6.2 → 0.6.3
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/content/integrations/calendar.json +6 -3
- package/content/integrations/crm.json +6 -3
- package/content/integrations/deploy-github.json +2 -1
- package/content/integrations/gmail.json +16 -6
- package/content/integrations/linkedin.json +75 -16
- package/content/integrations/records.json +76 -14
- package/dist/mcp-server/http.mjs +169 -27
- package/dist/ui/assets/index-DIcuh0I4.css +1 -0
- package/dist/ui/assets/index-Dl5isaOV.js +105 -0
- package/dist/ui/index.html +2 -2
- package/dist/ui/mockups/audit-and-header.html +192 -0
- package/node_modules/@hap/core/dist/index.d.mts +117 -6
- package/node_modules/@hap/core/dist/index.d.ts +117 -6
- package/node_modules/@hap/core/dist/index.js +93 -0
- package/node_modules/@hap/core/dist/index.mjs +88 -0
- package/node_modules/@hap/core/package.json +1 -1
- package/node_modules/@hap/core/src/content-binding.ts +168 -0
- package/node_modules/@hap/core/src/types.ts +62 -5
- package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +8 -0
- package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +1 -1
- package/node_modules/jose/dist/webapi/jwks/local.js +3 -3
- package/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
- package/node_modules/jose/dist/webapi/key/generate_key_pair.js +3 -3
- package/node_modules/jose/dist/webapi/key/generate_secret.js +2 -2
- package/node_modules/jose/dist/webapi/lib/asn1.js +3 -3
- package/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +6 -15
- package/node_modules/jose/dist/webapi/lib/jws_algorithms.js +2 -5
- package/node_modules/jose/dist/webapi/lib/key.js +1 -1
- package/node_modules/jose/dist/webapi/lib/key_algorithm.js +8 -8
- package/node_modules/jose/package.json +1 -1
- package/package.json +2 -2
- package/profiles/email/0.5.profile.json +200 -0
- package/profiles/index.json +1 -0
- package/dist/ui/assets/index-DoZvxHLN.js +0 -105
- package/dist/ui/assets/index-JHaCddDE.css +0 -1
|
@@ -138,7 +138,8 @@
|
|
|
138
138
|
},
|
|
139
139
|
"staticExecution": {
|
|
140
140
|
"action_type": "booking"
|
|
141
|
-
}
|
|
141
|
+
},
|
|
142
|
+
"actionLabel": "Event created"
|
|
142
143
|
},
|
|
143
144
|
"update_event": {
|
|
144
145
|
"executionMapping": {
|
|
@@ -158,7 +159,8 @@
|
|
|
158
159
|
"action_type": "booking",
|
|
159
160
|
"duration": 0,
|
|
160
161
|
"lookahead": 0
|
|
161
|
-
}
|
|
162
|
+
},
|
|
163
|
+
"actionLabel": "Event updated"
|
|
162
164
|
},
|
|
163
165
|
"delete_event": {
|
|
164
166
|
"executionMapping": {
|
|
@@ -168,7 +170,8 @@
|
|
|
168
170
|
"action_type": "delete",
|
|
169
171
|
"duration": 0,
|
|
170
172
|
"lookahead": 0
|
|
171
|
-
}
|
|
173
|
+
},
|
|
174
|
+
"actionLabel": "Event deleted"
|
|
172
175
|
}
|
|
173
176
|
}
|
|
174
177
|
},
|
|
@@ -40,21 +40,24 @@
|
|
|
40
40
|
},
|
|
41
41
|
"staticExecution": {
|
|
42
42
|
"action_type": "write"
|
|
43
|
-
}
|
|
43
|
+
},
|
|
44
|
+
"actionLabel": "Contact created"
|
|
44
45
|
},
|
|
45
46
|
"update_contact": {
|
|
46
47
|
"executionMapping": {},
|
|
47
48
|
"staticExecution": {
|
|
48
49
|
"contact_type": "customer",
|
|
49
50
|
"action_type": "write"
|
|
50
|
-
}
|
|
51
|
+
},
|
|
52
|
+
"actionLabel": "Contact updated"
|
|
51
53
|
},
|
|
52
54
|
"delete_contact": {
|
|
53
55
|
"executionMapping": {},
|
|
54
56
|
"staticExecution": {
|
|
55
57
|
"contact_type": "customer",
|
|
56
58
|
"action_type": "delete"
|
|
57
|
-
}
|
|
59
|
+
},
|
|
60
|
+
"actionLabel": "Contact deleted"
|
|
58
61
|
},
|
|
59
62
|
"log_activity": {
|
|
60
63
|
"executionMapping": {},
|
|
@@ -86,7 +86,11 @@
|
|
|
86
86
|
},
|
|
87
87
|
"blockedArgs": [
|
|
88
88
|
"raw"
|
|
89
|
-
]
|
|
89
|
+
],
|
|
90
|
+
"argEncoding": {
|
|
91
|
+
"subject": "rfc2047"
|
|
92
|
+
},
|
|
93
|
+
"actionLabel": "Email sent"
|
|
90
94
|
},
|
|
91
95
|
"create_draft": {
|
|
92
96
|
"executionMapping": {
|
|
@@ -110,14 +114,19 @@
|
|
|
110
114
|
},
|
|
111
115
|
"blockedArgs": [
|
|
112
116
|
"raw"
|
|
113
|
-
]
|
|
117
|
+
],
|
|
118
|
+
"argEncoding": {
|
|
119
|
+
"subject": "rfc2047"
|
|
120
|
+
},
|
|
121
|
+
"actionLabel": "Email drafted"
|
|
114
122
|
},
|
|
115
123
|
"send_draft": {
|
|
116
124
|
"executionMapping": {},
|
|
117
125
|
"staticExecution": {
|
|
118
126
|
"recipient_count": 1,
|
|
119
127
|
"action_type": "send"
|
|
120
|
-
}
|
|
128
|
+
},
|
|
129
|
+
"actionLabel": "Draft sent"
|
|
121
130
|
},
|
|
122
131
|
"list_messages": {
|
|
123
132
|
"category": "read",
|
|
@@ -178,7 +187,8 @@
|
|
|
178
187
|
"staticExecution": {
|
|
179
188
|
"recipient_count": 0,
|
|
180
189
|
"action_type": "delete"
|
|
181
|
-
}
|
|
190
|
+
},
|
|
191
|
+
"actionLabel": "Draft deleted"
|
|
182
192
|
},
|
|
183
193
|
"get_attachment": {
|
|
184
194
|
"category": "read",
|
|
@@ -193,7 +203,7 @@
|
|
|
193
203
|
"get_profile": {
|
|
194
204
|
"category": "read",
|
|
195
205
|
"readGovernance": "none",
|
|
196
|
-
"readGovernanceReason": "Returns the account's own address and message counts
|
|
206
|
+
"readGovernanceReason": "Returns the account's own address and message counts — the connector's own identity, no correspondence content."
|
|
197
207
|
}
|
|
198
208
|
}
|
|
199
209
|
},
|
|
@@ -236,7 +246,7 @@
|
|
|
236
246
|
"allowed_recipients": "",
|
|
237
247
|
"allowed_domains": ""
|
|
238
248
|
},
|
|
239
|
-
"intent": "Read my inbox and compose emails. Every send requires my review
|
|
249
|
+
"intent": "Read my inbox and compose emails. Every send requires my review — I see the recipient, subject, and body before it goes out.",
|
|
240
250
|
"ttl": 2592000,
|
|
241
251
|
"tags": [
|
|
242
252
|
"5 recipients/email",
|
|
@@ -12,8 +12,18 @@
|
|
|
12
12
|
},
|
|
13
13
|
"credentials": {
|
|
14
14
|
"fields": [
|
|
15
|
-
{
|
|
16
|
-
|
|
15
|
+
{
|
|
16
|
+
"key": "clientId",
|
|
17
|
+
"label": "Client ID",
|
|
18
|
+
"type": "text",
|
|
19
|
+
"placeholder": "From LinkedIn Developer Portal"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"key": "clientSecret",
|
|
23
|
+
"label": "Client Secret",
|
|
24
|
+
"type": "password",
|
|
25
|
+
"placeholder": "OAuth2 client secret"
|
|
26
|
+
}
|
|
17
27
|
],
|
|
18
28
|
"envMapping": {
|
|
19
29
|
"LINKEDIN_CLIENT_ID": "clientId",
|
|
@@ -24,42 +34,72 @@
|
|
|
24
34
|
"oauth": {
|
|
25
35
|
"authUrl": "https://www.linkedin.com/oauth/v2/authorization",
|
|
26
36
|
"tokenUrl": "https://www.linkedin.com/oauth/v2/accessToken",
|
|
27
|
-
"scopes": [
|
|
28
|
-
|
|
37
|
+
"scopes": [
|
|
38
|
+
"openid",
|
|
39
|
+
"profile",
|
|
40
|
+
"w_member_social"
|
|
41
|
+
],
|
|
42
|
+
"credentialKeys": {
|
|
43
|
+
"clientId": "clientId",
|
|
44
|
+
"clientSecret": "clientSecret"
|
|
45
|
+
},
|
|
29
46
|
"tokenStorage": "accessToken",
|
|
30
47
|
"extraParams": {},
|
|
31
48
|
"healthCheck": {
|
|
32
49
|
"url": "https://api.linkedin.com/v2/userinfo",
|
|
33
|
-
"accountFields": [
|
|
50
|
+
"accountFields": [
|
|
51
|
+
"name"
|
|
52
|
+
]
|
|
34
53
|
}
|
|
35
54
|
},
|
|
36
55
|
"toolGating": {
|
|
37
56
|
"default": {
|
|
38
57
|
"executionMapping": {},
|
|
39
|
-
"staticExecution": {
|
|
58
|
+
"staticExecution": {
|
|
59
|
+
"allowed_platforms": "linkedin"
|
|
60
|
+
}
|
|
40
61
|
},
|
|
41
62
|
"overrides": {
|
|
42
63
|
"create_post": {
|
|
43
64
|
"executionMapping": {
|
|
44
65
|
"visibility": "audience"
|
|
45
66
|
},
|
|
46
|
-
"staticExecution": {
|
|
67
|
+
"staticExecution": {
|
|
68
|
+
"allowed_platforms": "linkedin",
|
|
69
|
+
"content_type": "text",
|
|
70
|
+
"action_type": "post"
|
|
71
|
+
},
|
|
72
|
+
"actionLabel": "Post published"
|
|
47
73
|
},
|
|
48
74
|
"create_image_post": {
|
|
49
75
|
"executionMapping": {
|
|
50
76
|
"visibility": "audience"
|
|
51
77
|
},
|
|
52
|
-
"staticExecution": {
|
|
78
|
+
"staticExecution": {
|
|
79
|
+
"allowed_platforms": "linkedin",
|
|
80
|
+
"content_type": "image",
|
|
81
|
+
"action_type": "post"
|
|
82
|
+
},
|
|
83
|
+
"actionLabel": "Image post published"
|
|
53
84
|
},
|
|
54
85
|
"create_article_post": {
|
|
55
86
|
"executionMapping": {
|
|
56
87
|
"visibility": "audience"
|
|
57
88
|
},
|
|
58
|
-
"staticExecution": {
|
|
89
|
+
"staticExecution": {
|
|
90
|
+
"allowed_platforms": "linkedin",
|
|
91
|
+
"content_type": "article",
|
|
92
|
+
"action_type": "post"
|
|
93
|
+
},
|
|
94
|
+
"actionLabel": "Article published"
|
|
59
95
|
},
|
|
60
96
|
"delete_post": {
|
|
61
97
|
"executionMapping": {},
|
|
62
|
-
"staticExecution": {
|
|
98
|
+
"staticExecution": {
|
|
99
|
+
"allowed_platforms": "linkedin",
|
|
100
|
+
"action_type": "delete"
|
|
101
|
+
},
|
|
102
|
+
"actionLabel": "Post deleted"
|
|
63
103
|
},
|
|
64
104
|
"get_post": {
|
|
65
105
|
"category": "read",
|
|
@@ -84,22 +124,41 @@
|
|
|
84
124
|
"description": "View your profile and list existing posts. Cannot publish or delete.",
|
|
85
125
|
"risk": "low",
|
|
86
126
|
"mode": "automatic",
|
|
87
|
-
"bounds": {
|
|
88
|
-
|
|
127
|
+
"bounds": {
|
|
128
|
+
"post_daily_max": "0",
|
|
129
|
+
"post_monthly_max": "0"
|
|
130
|
+
},
|
|
131
|
+
"context": {
|
|
132
|
+
"allowed_platforms": "linkedin",
|
|
133
|
+
"content_type": "text",
|
|
134
|
+
"audience": "public"
|
|
135
|
+
},
|
|
89
136
|
"intent": "Allow the agent to read my LinkedIn profile and list existing posts. No publishing or deleting.",
|
|
90
137
|
"ttl": 2592000,
|
|
91
|
-
"tags": [
|
|
138
|
+
"tags": [
|
|
139
|
+
"read-only"
|
|
140
|
+
]
|
|
92
141
|
},
|
|
93
142
|
{
|
|
94
143
|
"name": "Publish with Review",
|
|
95
144
|
"description": "Create and delete posts. Every action requires your approval first.",
|
|
96
145
|
"risk": "high",
|
|
97
146
|
"mode": "review",
|
|
98
|
-
"bounds": {
|
|
99
|
-
|
|
147
|
+
"bounds": {
|
|
148
|
+
"post_daily_max": "5",
|
|
149
|
+
"post_monthly_max": "30"
|
|
150
|
+
},
|
|
151
|
+
"context": {
|
|
152
|
+
"allowed_platforms": "linkedin",
|
|
153
|
+
"content_type": "text,image,article",
|
|
154
|
+
"audience": "public"
|
|
155
|
+
},
|
|
100
156
|
"intent": "Allow the agent to create and manage LinkedIn posts. Every publish or delete action requires my review before it goes live.",
|
|
101
157
|
"ttl": 2592000,
|
|
102
|
-
"tags": [
|
|
158
|
+
"tags": [
|
|
159
|
+
"5 posts/day",
|
|
160
|
+
"review mode"
|
|
161
|
+
]
|
|
103
162
|
}
|
|
104
163
|
],
|
|
105
164
|
"setupHint": "Requires a LinkedIn App with 'Share on LinkedIn' product.",
|
|
@@ -13,9 +13,17 @@
|
|
|
13
13
|
},
|
|
14
14
|
"credentials": {
|
|
15
15
|
"fields": [
|
|
16
|
-
{
|
|
16
|
+
{
|
|
17
|
+
"key": "databaseUrl",
|
|
18
|
+
"label": "Database URL (optional)",
|
|
19
|
+
"type": "text",
|
|
20
|
+
"placeholder": "Leave empty for local SQLite",
|
|
21
|
+
"optional": true
|
|
22
|
+
}
|
|
17
23
|
],
|
|
18
|
-
"envMapping": {
|
|
24
|
+
"envMapping": {
|
|
25
|
+
"DATABASE_URL": "databaseUrl"
|
|
26
|
+
}
|
|
19
27
|
},
|
|
20
28
|
"oauth": null,
|
|
21
29
|
"toolGating": {
|
|
@@ -24,14 +32,53 @@
|
|
|
24
32
|
"staticExecution": {}
|
|
25
33
|
},
|
|
26
34
|
"overrides": {
|
|
27
|
-
"list_records": {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
"list_records": {
|
|
36
|
+
"category": "read",
|
|
37
|
+
"boundField": "read_access",
|
|
38
|
+
"requiredValue": "unlimited"
|
|
39
|
+
},
|
|
40
|
+
"get_record": {
|
|
41
|
+
"category": "read",
|
|
42
|
+
"boundField": "read_access",
|
|
43
|
+
"requiredValue": "unlimited"
|
|
44
|
+
},
|
|
45
|
+
"search_records": {
|
|
46
|
+
"category": "read",
|
|
47
|
+
"boundField": "read_access",
|
|
48
|
+
"requiredValue": "unlimited"
|
|
49
|
+
},
|
|
50
|
+
"export_records": {
|
|
51
|
+
"category": "disabled"
|
|
52
|
+
},
|
|
53
|
+
"create_record": {
|
|
54
|
+
"executionMapping": {},
|
|
55
|
+
"staticExecution": {
|
|
56
|
+
"action_type": "write"
|
|
57
|
+
},
|
|
58
|
+
"actionLabel": "Record created"
|
|
59
|
+
},
|
|
60
|
+
"archive_record": {
|
|
61
|
+
"boundField": "archive_access",
|
|
62
|
+
"requiredValue": "allowed",
|
|
63
|
+
"executionMapping": {},
|
|
64
|
+
"staticExecution": {
|
|
65
|
+
"action_type": "archive"
|
|
66
|
+
},
|
|
67
|
+
"actionLabel": "Record archived"
|
|
68
|
+
},
|
|
69
|
+
"update_record": {
|
|
70
|
+
"category": "disabled",
|
|
71
|
+
"actionLabel": "Record updated"
|
|
72
|
+
},
|
|
73
|
+
"delete_record": {
|
|
74
|
+
"boundField": "delete_access",
|
|
75
|
+
"requiredValue": "allowed",
|
|
76
|
+
"executionMapping": {},
|
|
77
|
+
"staticExecution": {
|
|
78
|
+
"action_type": "delete"
|
|
79
|
+
},
|
|
80
|
+
"actionLabel": "Record deleted"
|
|
81
|
+
}
|
|
35
82
|
}
|
|
36
83
|
},
|
|
37
84
|
"templates": [
|
|
@@ -40,22 +87,37 @@
|
|
|
40
87
|
"description": "List, search, and read records. Cannot create, modify, delete, or export.",
|
|
41
88
|
"risk": "low",
|
|
42
89
|
"mode": "automatic",
|
|
43
|
-
"bounds": {
|
|
90
|
+
"bounds": {
|
|
91
|
+
"read_access": "true",
|
|
92
|
+
"write_daily_max": "0",
|
|
93
|
+
"delete_access": "false",
|
|
94
|
+
"archive_access": "false"
|
|
95
|
+
},
|
|
44
96
|
"context": {},
|
|
45
97
|
"intent": "Allow the agent to search and read records. Read-only — no modifications.",
|
|
46
98
|
"ttl": 2592000,
|
|
47
|
-
"tags": [
|
|
99
|
+
"tags": [
|
|
100
|
+
"read-only"
|
|
101
|
+
]
|
|
48
102
|
},
|
|
49
103
|
{
|
|
50
104
|
"name": "Manage with Review",
|
|
51
105
|
"description": "Create, update, archive, delete, and export records. Every write requires approval.",
|
|
52
106
|
"risk": "high",
|
|
53
107
|
"mode": "review",
|
|
54
|
-
"bounds": {
|
|
108
|
+
"bounds": {
|
|
109
|
+
"read_access": "true",
|
|
110
|
+
"write_daily_max": "50",
|
|
111
|
+
"delete_access": "true",
|
|
112
|
+
"archive_access": "true"
|
|
113
|
+
},
|
|
55
114
|
"context": {},
|
|
56
115
|
"intent": "Full records management. Every write, delete, and export action requires my review before execution.",
|
|
57
116
|
"ttl": 2592000,
|
|
58
|
-
"tags": [
|
|
117
|
+
"tags": [
|
|
118
|
+
"50 writes/day",
|
|
119
|
+
"review mode"
|
|
120
|
+
]
|
|
59
121
|
}
|
|
60
122
|
],
|
|
61
123
|
"setupHint": "No configuration needed — works out of the box.",
|