@suveren/gateway 0.23.2 → 0.24.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/dist/ui/index.html
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
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-
|
|
17
|
+
<script type="module" crossorigin src="/assets/index-BydbZb1A.js"></script>
|
|
18
18
|
<link rel="stylesheet" crossorigin href="/assets/index-C604QQYJ.css">
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@suveren/gateway",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.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,194 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "github.com/humanagencyprotocol/hap-profiles/delegation@0.4",
|
|
3
|
+
"name": "Delegation",
|
|
4
|
+
"version": "0.4",
|
|
5
|
+
"description": "Delegation authority — lets an agent propose changes to its own setup: the agent brief and new mandates. Every proposal waits for a person's approval; nothing takes effect before it. Also lets the agent read the setup guides.",
|
|
6
|
+
"whatsNew": "Says which kind of mandate the agent may propose: the profiles it may propose mandates for, and the modes (review only, or review and automatic). A proposal outside that is refused before anyone sees it. Needed for delegation on real systems, outside simulation mode. Limits are unchanged.",
|
|
7
|
+
"commitment_modes": [
|
|
8
|
+
"review"
|
|
9
|
+
],
|
|
10
|
+
"boundsSchema": {
|
|
11
|
+
"actionTypes": [
|
|
12
|
+
"brief",
|
|
13
|
+
"mandate"
|
|
14
|
+
],
|
|
15
|
+
"keyOrder": [
|
|
16
|
+
"profile",
|
|
17
|
+
"read_access",
|
|
18
|
+
"brief_daily_max",
|
|
19
|
+
"mandate_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 setup guides",
|
|
30
|
+
"description": "Allow the agent to read the guides for setting up a test: interview, test data, mandates, agent brief, the agent's own process, risks.",
|
|
31
|
+
"boundType": {
|
|
32
|
+
"kind": "enum",
|
|
33
|
+
"values": [
|
|
34
|
+
"unlimited",
|
|
35
|
+
"none"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"toolsDescription": "setup guides",
|
|
39
|
+
"default": "unlimited"
|
|
40
|
+
},
|
|
41
|
+
"brief_daily_max": {
|
|
42
|
+
"type": "number",
|
|
43
|
+
"required": true,
|
|
44
|
+
"displayName": "Brief proposals per day",
|
|
45
|
+
"description": "How many times per day the agent may propose a new agent brief. Each proposal waits for your approval.",
|
|
46
|
+
"unit": "count",
|
|
47
|
+
"boundType": {
|
|
48
|
+
"kind": "cumulative_count",
|
|
49
|
+
"window": "daily"
|
|
50
|
+
},
|
|
51
|
+
"appliesTo": [
|
|
52
|
+
"brief"
|
|
53
|
+
],
|
|
54
|
+
"default": 5
|
|
55
|
+
},
|
|
56
|
+
"mandate_daily_max": {
|
|
57
|
+
"type": "number",
|
|
58
|
+
"required": true,
|
|
59
|
+
"displayName": "Mandate proposals per day",
|
|
60
|
+
"description": "How many new mandates per day the agent may propose. Each one waits for your approval and is created only then.",
|
|
61
|
+
"unit": "count",
|
|
62
|
+
"boundType": {
|
|
63
|
+
"kind": "cumulative_count",
|
|
64
|
+
"window": "daily"
|
|
65
|
+
},
|
|
66
|
+
"appliesTo": [
|
|
67
|
+
"mandate"
|
|
68
|
+
],
|
|
69
|
+
"default": 30
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"executionContextSchema": {
|
|
74
|
+
"fields": {
|
|
75
|
+
"brief_count_daily": {
|
|
76
|
+
"source": "cumulative",
|
|
77
|
+
"cumulativeField": "_count",
|
|
78
|
+
"window": "daily",
|
|
79
|
+
"description": "Running daily count of brief proposals",
|
|
80
|
+
"required": true,
|
|
81
|
+
"constraint": {
|
|
82
|
+
"type": "number",
|
|
83
|
+
"enforceable": [
|
|
84
|
+
"max"
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"mandate_count_daily": {
|
|
89
|
+
"source": "cumulative",
|
|
90
|
+
"cumulativeField": "_count",
|
|
91
|
+
"window": "daily",
|
|
92
|
+
"description": "Running daily count of mandate proposals",
|
|
93
|
+
"required": true,
|
|
94
|
+
"constraint": {
|
|
95
|
+
"type": "number",
|
|
96
|
+
"enforceable": [
|
|
97
|
+
"max"
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"allowed_profiles": {
|
|
102
|
+
"source": "declared",
|
|
103
|
+
"description": "Short name of the profile a mandate proposal is for",
|
|
104
|
+
"required": false,
|
|
105
|
+
"constraint": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"enforceable": [
|
|
108
|
+
"subset"
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"allowed_modes": {
|
|
113
|
+
"source": "declared",
|
|
114
|
+
"description": "Commitment mode a mandate proposal asks for",
|
|
115
|
+
"required": false,
|
|
116
|
+
"constraint": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"enforceable": [
|
|
119
|
+
"subset"
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"requiredGates": [
|
|
126
|
+
"bounds",
|
|
127
|
+
"intent",
|
|
128
|
+
"commitment",
|
|
129
|
+
"mandate_owner"
|
|
130
|
+
],
|
|
131
|
+
"ttl": {
|
|
132
|
+
"default": 86400,
|
|
133
|
+
"max": 2592000
|
|
134
|
+
},
|
|
135
|
+
"retention_minimum": 7776000,
|
|
136
|
+
"content_binding": {
|
|
137
|
+
"version": "1",
|
|
138
|
+
"kind": "jcs"
|
|
139
|
+
},
|
|
140
|
+
"scopeSchema": {
|
|
141
|
+
"keyOrder": [
|
|
142
|
+
"allowed_profiles",
|
|
143
|
+
"allowed_modes"
|
|
144
|
+
],
|
|
145
|
+
"fields": {
|
|
146
|
+
"allowed_profiles": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"required": true,
|
|
149
|
+
"displayName": "Profiles the agent may propose mandates for",
|
|
150
|
+
"description": "Short profile names (e.g. sales, customers). A mandate proposal for any other profile is refused before a person sees it. Delegation itself can never be proposed.",
|
|
151
|
+
"enum": [
|
|
152
|
+
"calendar",
|
|
153
|
+
"charge",
|
|
154
|
+
"customers",
|
|
155
|
+
"deploy",
|
|
156
|
+
"email",
|
|
157
|
+
"publish",
|
|
158
|
+
"purchase",
|
|
159
|
+
"records",
|
|
160
|
+
"reporting",
|
|
161
|
+
"sales"
|
|
162
|
+
],
|
|
163
|
+
"constraint": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"enforceable": [
|
|
166
|
+
"subset"
|
|
167
|
+
],
|
|
168
|
+
"requiredFor": [
|
|
169
|
+
"mandate"
|
|
170
|
+
]
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"allowed_modes": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"required": true,
|
|
176
|
+
"displayName": "Modes the agent may propose",
|
|
177
|
+
"description": "review = every action under the proposed mandate needs approval; automatic = actions run within its limits. Choose review only, or review and automatic.",
|
|
178
|
+
"enum": [
|
|
179
|
+
"review",
|
|
180
|
+
"automatic"
|
|
181
|
+
],
|
|
182
|
+
"constraint": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"enforceable": [
|
|
185
|
+
"subset"
|
|
186
|
+
],
|
|
187
|
+
"requiredFor": [
|
|
188
|
+
"mandate"
|
|
189
|
+
]
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
package/profiles/index.json
CHANGED
|
@@ -44,6 +44,7 @@
|
|
|
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
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
|
+
"github.com/humanagencyprotocol/hap-profiles/customers@0.10": "customers/0.10.profile.json",
|
|
48
|
+
"github.com/humanagencyprotocol/hap-profiles/delegation@0.4": "delegation/0.4.profile.json"
|
|
48
49
|
}
|
|
49
50
|
}
|