@suveren/gateway 0.34.0 → 0.35.1
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/crm.json +18 -2
- package/content/integrations/erp.json +83 -8
- package/content/integrations/gmail.json +8 -1
- package/content/integrations/mail.json +13 -3
- package/content/integrations/mollie.json +8 -0
- package/dist/control-plane/index.mjs +79 -0
- package/dist/mcp-server/http.mjs +944 -117
- package/dist/ui/assets/index-BHxzXFpf.js +123 -0
- package/dist/ui/assets/{index-BiGnI2Tk.css → index-XiOgY6b5.css} +1 -1
- package/dist/ui/index.html +2 -2
- package/package.json +1 -1
- package/profiles/email/0.9.profile.json +252 -0
- package/profiles/index.json +2 -1
- package/dist/ui/assets/index-DKBwi4Yw.js +0 -123
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "github.com/humanagencyprotocol/hap-profiles/email@0.9",
|
|
3
|
+
"name": "Email",
|
|
4
|
+
"version": "0.9",
|
|
5
|
+
"description": "Email authority — governs sending, drafting, and reading email via Gmail",
|
|
6
|
+
"whatsNew": "Emails can carry documents by reference (e.g. an issued invoice PDF): the mandate lists the allowed attachment sources (none by default), and the signed ticket seals each attachment's file name and fingerprint. Everything else is unchanged.",
|
|
7
|
+
"boundsSchema": {
|
|
8
|
+
"actionTypes": [
|
|
9
|
+
"delete",
|
|
10
|
+
"send",
|
|
11
|
+
"setup"
|
|
12
|
+
],
|
|
13
|
+
"keyOrder": [
|
|
14
|
+
"profile",
|
|
15
|
+
"read_access",
|
|
16
|
+
"recipient_max",
|
|
17
|
+
"send_daily_max",
|
|
18
|
+
"read_max_age_days",
|
|
19
|
+
"setup_daily_max"
|
|
20
|
+
],
|
|
21
|
+
"fields": {
|
|
22
|
+
"profile": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"required": true
|
|
25
|
+
},
|
|
26
|
+
"recipient_max": {
|
|
27
|
+
"type": "number",
|
|
28
|
+
"required": false,
|
|
29
|
+
"displayName": "Recipients per email",
|
|
30
|
+
"description": "Maximum recipients per email",
|
|
31
|
+
"unit": "count",
|
|
32
|
+
"boundType": {
|
|
33
|
+
"kind": "per_transaction",
|
|
34
|
+
"of": "recipient_count"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"send_daily_max": {
|
|
38
|
+
"type": "number",
|
|
39
|
+
"required": false,
|
|
40
|
+
"displayName": "Daily send limit",
|
|
41
|
+
"description": "Maximum emails sent or drafted per day",
|
|
42
|
+
"unit": "count",
|
|
43
|
+
"boundType": {
|
|
44
|
+
"kind": "cumulative_count",
|
|
45
|
+
"window": "daily"
|
|
46
|
+
},
|
|
47
|
+
"appliesTo": [
|
|
48
|
+
"send"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"read_max_age_days": {
|
|
52
|
+
"type": "number",
|
|
53
|
+
"required": false,
|
|
54
|
+
"displayName": "Max email age (days)",
|
|
55
|
+
"description": "Maximum age in days for email search. Enforced locally by the Gatekeeper, never by the Authority Server: reads carry no ticket, so no signed check ever reads this value. Set it on the integration instead, where it is live-editable. Kept in the schema as the fallback for grants issued before that setting existed.",
|
|
56
|
+
"unit": "days",
|
|
57
|
+
"enforcedBy": "gatekeeper",
|
|
58
|
+
"boundType": {
|
|
59
|
+
"kind": "per_transaction",
|
|
60
|
+
"of": "read_age_days"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"read_access": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"required": true,
|
|
66
|
+
"displayName": "Read access",
|
|
67
|
+
"description": "Allow the agent to list and read messages in the mailbox (simulated or real). Sending is governed separately.",
|
|
68
|
+
"boundType": {
|
|
69
|
+
"kind": "enum",
|
|
70
|
+
"values": [
|
|
71
|
+
"unlimited",
|
|
72
|
+
"none"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"toolsDescription": "list_messages, get_message",
|
|
76
|
+
"default": "unlimited"
|
|
77
|
+
},
|
|
78
|
+
"setup_daily_max": {
|
|
79
|
+
"type": "number",
|
|
80
|
+
"required": true,
|
|
81
|
+
"displayName": "Test-data loads per day",
|
|
82
|
+
"description": "How many times per day the simulated system may be loaded with a simulation package (load_simulation). Only works while the connector runs in simulation mode, and only into an empty system — a load cannot edit or replace existing test data. 0 = not allowed. Grant it only in a separate setup mandate, never in the mandate the AI uses for its work.",
|
|
83
|
+
"unit": "count",
|
|
84
|
+
"boundType": {
|
|
85
|
+
"kind": "cumulative_count",
|
|
86
|
+
"window": "daily"
|
|
87
|
+
},
|
|
88
|
+
"appliesTo": [
|
|
89
|
+
"setup"
|
|
90
|
+
],
|
|
91
|
+
"default": 0
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"scopeSchema": {
|
|
96
|
+
"keyOrder": [
|
|
97
|
+
"allowed_recipients",
|
|
98
|
+
"allowed_domains",
|
|
99
|
+
"allowed_attachment_sources"
|
|
100
|
+
],
|
|
101
|
+
"fields": {
|
|
102
|
+
"allowed_recipients": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"required": false,
|
|
105
|
+
"displayName": "Allowed recipients",
|
|
106
|
+
"format": "email",
|
|
107
|
+
"description": "Comma-separated list of allowed email addresses",
|
|
108
|
+
"constraint": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"enforceable": [
|
|
111
|
+
"subset"
|
|
112
|
+
],
|
|
113
|
+
"requiredFor": [
|
|
114
|
+
"send"
|
|
115
|
+
]
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"allowed_domains": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"required": false,
|
|
121
|
+
"displayName": "Allowed domains",
|
|
122
|
+
"format": "domain",
|
|
123
|
+
"description": "Comma-separated list of allowed recipient domains (e.g. acme.com,partner.org)",
|
|
124
|
+
"constraint": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"enforceable": [
|
|
127
|
+
"subset"
|
|
128
|
+
],
|
|
129
|
+
"requiredFor": [
|
|
130
|
+
"send"
|
|
131
|
+
]
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"allowed_attachment_sources": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"required": false,
|
|
137
|
+
"displayName": "Allowed attachment sources",
|
|
138
|
+
"format": "connector:kind",
|
|
139
|
+
"description": "Comma-separated list of document sources this mandate may attach, as connector:kind (e.g. erp:invoice-pdf,erp:credit-note-pdf). Empty = no attachments. The gateway fetches each attached document itself; the AI only names it.",
|
|
140
|
+
"constraint": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"enforceable": [
|
|
143
|
+
"subset"
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"executionContextSchema": {
|
|
150
|
+
"fields": {
|
|
151
|
+
"recipient_count": {
|
|
152
|
+
"source": "declared",
|
|
153
|
+
"description": "Number of recipients in this email",
|
|
154
|
+
"required": true,
|
|
155
|
+
"constraint": {
|
|
156
|
+
"type": "number",
|
|
157
|
+
"enforceable": [
|
|
158
|
+
"max"
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"allowed_recipients": {
|
|
163
|
+
"source": "declared",
|
|
164
|
+
"description": "Comma-separated recipient addresses from this call (checked against context)",
|
|
165
|
+
"required": false,
|
|
166
|
+
"constraint": {
|
|
167
|
+
"type": "string",
|
|
168
|
+
"enforceable": [
|
|
169
|
+
"subset"
|
|
170
|
+
]
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"allowed_domains": {
|
|
174
|
+
"source": "declared",
|
|
175
|
+
"description": "Comma-separated unique recipient domains from this call (checked against context)",
|
|
176
|
+
"required": false,
|
|
177
|
+
"constraint": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"enforceable": [
|
|
180
|
+
"subset"
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"send_count_daily": {
|
|
185
|
+
"source": "cumulative",
|
|
186
|
+
"cumulativeField": "_count",
|
|
187
|
+
"window": "daily",
|
|
188
|
+
"description": "Running daily send/draft count (resolved from execution log)",
|
|
189
|
+
"required": true,
|
|
190
|
+
"constraint": {
|
|
191
|
+
"type": "number",
|
|
192
|
+
"enforceable": [
|
|
193
|
+
"max"
|
|
194
|
+
]
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"setup_count_daily": {
|
|
198
|
+
"source": "cumulative",
|
|
199
|
+
"cumulativeField": "_count",
|
|
200
|
+
"window": "daily",
|
|
201
|
+
"description": "Running daily count of test-data loads",
|
|
202
|
+
"required": true,
|
|
203
|
+
"constraint": {
|
|
204
|
+
"type": "number",
|
|
205
|
+
"enforceable": [
|
|
206
|
+
"max"
|
|
207
|
+
]
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"allowed_attachment_sources": {
|
|
211
|
+
"source": "declared",
|
|
212
|
+
"description": "Comma-separated connector:kind sources of this call's attachments (checked against scope; absent when the email has none)",
|
|
213
|
+
"required": false,
|
|
214
|
+
"constraint": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"enforceable": [
|
|
217
|
+
"subset"
|
|
218
|
+
]
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"requiredGates": [
|
|
224
|
+
"bounds",
|
|
225
|
+
"intent",
|
|
226
|
+
"commitment",
|
|
227
|
+
"mandate_owner"
|
|
228
|
+
],
|
|
229
|
+
"ttl": {
|
|
230
|
+
"default": 86400,
|
|
231
|
+
"max": 31536000
|
|
232
|
+
},
|
|
233
|
+
"retention_minimum": 7776000,
|
|
234
|
+
"content_binding": {
|
|
235
|
+
"version": "2",
|
|
236
|
+
"kind": "jcs",
|
|
237
|
+
"fields": [
|
|
238
|
+
"to",
|
|
239
|
+
"cc",
|
|
240
|
+
"subject",
|
|
241
|
+
"body",
|
|
242
|
+
"attachments"
|
|
243
|
+
],
|
|
244
|
+
"required_fields": [
|
|
245
|
+
"to",
|
|
246
|
+
"body"
|
|
247
|
+
],
|
|
248
|
+
"appliesTo": [
|
|
249
|
+
"send"
|
|
250
|
+
]
|
|
251
|
+
}
|
|
252
|
+
}
|
package/profiles/index.json
CHANGED
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"github.com/humanagencyprotocol/hap-profiles/reporting@0.4": "reporting/0.4.profile.json",
|
|
54
54
|
"github.com/humanagencyprotocol/hap-profiles/delegation@0.5": "delegation/0.5.profile.json",
|
|
55
55
|
"github.com/humanagencyprotocol/hap-profiles/invoicing@0.1": "invoicing/0.1.profile.json",
|
|
56
|
-
"github.com/humanagencyprotocol/hap-profiles/charge@0.7": "charge/0.7.profile.json"
|
|
56
|
+
"github.com/humanagencyprotocol/hap-profiles/charge@0.7": "charge/0.7.profile.json",
|
|
57
|
+
"github.com/humanagencyprotocol/hap-profiles/email@0.9": "email/0.9.profile.json"
|
|
57
58
|
}
|
|
58
59
|
}
|