@suveren/gateway 0.21.0 → 0.23.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/content/integrations/crm.json +212 -21
- package/content/integrations/erp.json +14 -2
- package/dist/control-plane/index.mjs +180 -47
- package/dist/mcp-server/http.mjs +485 -174
- package/dist/ui/assets/{index-D5hgQ_8Z.css → index-C604QQYJ.css} +1 -1
- package/dist/ui/assets/index-C98JiZLb.js +119 -0
- package/dist/ui/index.html +2 -2
- package/package.json +1 -1
- package/profiles/customers/0.10.profile.json +186 -0
- package/profiles/index.json +2 -1
- package/dist/ui/assets/index-BBjT8ue7.js +0 -116
package/dist/ui/index.html
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
<meta name="apple-mobile-web-app-title" content="Suveren" />
|
|
15
15
|
<meta name="theme-color" content="#111111" />
|
|
16
16
|
<title>Suveren</title>
|
|
17
|
-
<script type="module" crossorigin src="/assets/index-
|
|
18
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
17
|
+
<script type="module" crossorigin src="/assets/index-C98JiZLb.js"></script>
|
|
18
|
+
<link rel="stylesheet" crossorigin href="/assets/index-C604QQYJ.css">
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
21
21
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@suveren/gateway",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"description": "Suveren gateway — local agent gateway built in compliance with the Human Agency Protocol (HAP). Runs the UI, control plane, and MCP server in one Node process.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "server.js",
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "github.com/humanagencyprotocol/hap-profiles/customers@0.10",
|
|
3
|
+
"name": "Customer Management",
|
|
4
|
+
"version": "0.10",
|
|
5
|
+
"description": "Customer authority — governs CRM operations: contacts, activities, deals, tasks",
|
|
6
|
+
"whatsNew": "The contact type is now required for write and delete actions: a call that does not say which contact type it changes is refused, so a mandate limited to some contact types cannot touch others by leaving the type out. Limits are unchanged.",
|
|
7
|
+
"boundsSchema": {
|
|
8
|
+
"actionTypes": [
|
|
9
|
+
"delete",
|
|
10
|
+
"write",
|
|
11
|
+
"setup"
|
|
12
|
+
],
|
|
13
|
+
"keyOrder": [
|
|
14
|
+
"profile",
|
|
15
|
+
"read_access",
|
|
16
|
+
"export_access",
|
|
17
|
+
"write_daily_max",
|
|
18
|
+
"delete_daily_max",
|
|
19
|
+
"setup_daily_max"
|
|
20
|
+
],
|
|
21
|
+
"fields": {
|
|
22
|
+
"profile": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"required": true
|
|
25
|
+
},
|
|
26
|
+
"read_access": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"required": true,
|
|
29
|
+
"displayName": "Read access",
|
|
30
|
+
"description": "Allow the agent to browse contacts, timelines, pipeline and tasks. Bulk export is governed separately by Export access.",
|
|
31
|
+
"boundType": {
|
|
32
|
+
"kind": "enum",
|
|
33
|
+
"values": [
|
|
34
|
+
"unlimited",
|
|
35
|
+
"none"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"toolsDescription": "find_contacts, get_timeline, get_pipeline, list_tasks",
|
|
39
|
+
"default": "unlimited"
|
|
40
|
+
},
|
|
41
|
+
"export_access": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"required": true,
|
|
44
|
+
"displayName": "Export access",
|
|
45
|
+
"description": "Allow the agent to export the ENTIRE CRM in one call. Separate from read access because the risk is different in kind: reading one contact and extracting the whole customer database are not the same decision.",
|
|
46
|
+
"boundType": {
|
|
47
|
+
"kind": "enum",
|
|
48
|
+
"values": [
|
|
49
|
+
"allowed",
|
|
50
|
+
"none"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"toolsDescription": "export_crm",
|
|
54
|
+
"default": "none"
|
|
55
|
+
},
|
|
56
|
+
"write_daily_max": {
|
|
57
|
+
"type": "number",
|
|
58
|
+
"required": true,
|
|
59
|
+
"displayName": "Daily write limit",
|
|
60
|
+
"description": "Maximum CRM write operations per day (creates, updates)",
|
|
61
|
+
"unit": "count",
|
|
62
|
+
"boundType": {
|
|
63
|
+
"kind": "cumulative_count",
|
|
64
|
+
"window": "daily"
|
|
65
|
+
},
|
|
66
|
+
"appliesTo": [
|
|
67
|
+
"write"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"delete_daily_max": {
|
|
71
|
+
"type": "number",
|
|
72
|
+
"required": true,
|
|
73
|
+
"displayName": "Daily delete limit",
|
|
74
|
+
"description": "Maximum CRM delete operations per day",
|
|
75
|
+
"unit": "count",
|
|
76
|
+
"boundType": {
|
|
77
|
+
"kind": "cumulative_count",
|
|
78
|
+
"window": "daily"
|
|
79
|
+
},
|
|
80
|
+
"appliesTo": [
|
|
81
|
+
"delete"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"setup_daily_max": {
|
|
85
|
+
"type": "number",
|
|
86
|
+
"required": true,
|
|
87
|
+
"displayName": "Test-data loads per day",
|
|
88
|
+
"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.",
|
|
89
|
+
"unit": "count",
|
|
90
|
+
"boundType": {
|
|
91
|
+
"kind": "cumulative_count",
|
|
92
|
+
"window": "daily"
|
|
93
|
+
},
|
|
94
|
+
"appliesTo": [
|
|
95
|
+
"setup"
|
|
96
|
+
],
|
|
97
|
+
"default": 0
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"scopeSchema": {
|
|
102
|
+
"keyOrder": [
|
|
103
|
+
"contact_type"
|
|
104
|
+
],
|
|
105
|
+
"fields": {
|
|
106
|
+
"contact_type": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"required": true,
|
|
109
|
+
"displayName": "Contact types the agent may create or modify",
|
|
110
|
+
"description": "Contact types the agent may create, update or delete. Does NOT restrict reading — reads are governed by read_access.",
|
|
111
|
+
"enum": [
|
|
112
|
+
"customer",
|
|
113
|
+
"lead",
|
|
114
|
+
"partner",
|
|
115
|
+
"vendor"
|
|
116
|
+
],
|
|
117
|
+
"constraint": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"enforceable": [
|
|
120
|
+
"subset"
|
|
121
|
+
],
|
|
122
|
+
"requiredFor": [
|
|
123
|
+
"write",
|
|
124
|
+
"delete"
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"executionContextSchema": {
|
|
131
|
+
"fields": {
|
|
132
|
+
"contact_type": {
|
|
133
|
+
"source": "declared",
|
|
134
|
+
"description": "Contact type being accessed",
|
|
135
|
+
"required": true,
|
|
136
|
+
"constraint": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"enforceable": [
|
|
139
|
+
"subset"
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"write_count_daily": {
|
|
144
|
+
"source": "cumulative",
|
|
145
|
+
"cumulativeField": "_count",
|
|
146
|
+
"window": "daily",
|
|
147
|
+
"description": "Running daily write operation count",
|
|
148
|
+
"required": true,
|
|
149
|
+
"constraint": {
|
|
150
|
+
"type": "number",
|
|
151
|
+
"enforceable": [
|
|
152
|
+
"max"
|
|
153
|
+
]
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"setup_count_daily": {
|
|
157
|
+
"source": "cumulative",
|
|
158
|
+
"cumulativeField": "_count",
|
|
159
|
+
"window": "daily",
|
|
160
|
+
"description": "Running daily count of test-data loads",
|
|
161
|
+
"required": true,
|
|
162
|
+
"constraint": {
|
|
163
|
+
"type": "number",
|
|
164
|
+
"enforceable": [
|
|
165
|
+
"max"
|
|
166
|
+
]
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"requiredGates": [
|
|
172
|
+
"bounds",
|
|
173
|
+
"intent",
|
|
174
|
+
"commitment",
|
|
175
|
+
"mandate_owner"
|
|
176
|
+
],
|
|
177
|
+
"ttl": {
|
|
178
|
+
"default": 86400,
|
|
179
|
+
"max": 31536000
|
|
180
|
+
},
|
|
181
|
+
"retention_minimum": 7776000,
|
|
182
|
+
"content_binding": {
|
|
183
|
+
"version": "1",
|
|
184
|
+
"kind": "jcs"
|
|
185
|
+
}
|
|
186
|
+
}
|
package/profiles/index.json
CHANGED
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"github.com/humanagencyprotocol/hap-profiles/purchase@0.7": "purchase/0.7.profile.json",
|
|
44
44
|
"github.com/humanagencyprotocol/hap-profiles/records@0.6": "records/0.6.profile.json",
|
|
45
45
|
"github.com/humanagencyprotocol/hap-profiles/reporting@0.3": "reporting/0.3.profile.json",
|
|
46
|
-
"github.com/humanagencyprotocol/hap-profiles/sales@0.4": "sales/0.4.profile.json"
|
|
46
|
+
"github.com/humanagencyprotocol/hap-profiles/sales@0.4": "sales/0.4.profile.json",
|
|
47
|
+
"github.com/humanagencyprotocol/hap-profiles/customers@0.10": "customers/0.10.profile.json"
|
|
47
48
|
}
|
|
48
49
|
}
|