@suveren/gateway 0.15.0 → 0.16.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.
@@ -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-Bu58Y583.js"></script>
17
+ <script type="module" crossorigin src="/assets/index-tdGbzBko.js"></script>
18
18
  <link rel="stylesheet" crossorigin href="/assets/index-y1OFeYnS.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.15.0",
3
+ "version": "0.16.1",
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,117 @@
1
+ {
2
+ "id": "github.com/humanagencyprotocol/hap-profiles/delegation@0.1",
3
+ "name": "Delegation",
4
+ "version": "0.1",
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
+ "commitment_modes": [
7
+ "review"
8
+ ],
9
+ "boundsSchema": {
10
+ "actionTypes": [
11
+ "brief",
12
+ "mandate"
13
+ ],
14
+ "keyOrder": [
15
+ "profile",
16
+ "read_access",
17
+ "brief_daily_max",
18
+ "mandate_daily_max"
19
+ ],
20
+ "fields": {
21
+ "profile": {
22
+ "type": "string",
23
+ "required": true
24
+ },
25
+ "read_access": {
26
+ "type": "string",
27
+ "required": true,
28
+ "displayName": "Read setup guides",
29
+ "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.",
30
+ "boundType": {
31
+ "kind": "enum",
32
+ "values": [
33
+ "unlimited",
34
+ "none"
35
+ ]
36
+ },
37
+ "toolsDescription": "setup guides",
38
+ "default": "unlimited"
39
+ },
40
+ "brief_daily_max": {
41
+ "type": "number",
42
+ "required": true,
43
+ "displayName": "Brief proposals per day",
44
+ "description": "How many times per day the agent may propose a new agent brief. Each proposal waits for your approval.",
45
+ "unit": "count",
46
+ "boundType": {
47
+ "kind": "cumulative_count",
48
+ "window": "daily"
49
+ },
50
+ "appliesTo": [
51
+ "brief"
52
+ ],
53
+ "default": 0
54
+ },
55
+ "mandate_daily_max": {
56
+ "type": "number",
57
+ "required": true,
58
+ "displayName": "Mandate proposals per day",
59
+ "description": "How many new mandates per day the agent may propose. Each one waits for your approval and is created only then.",
60
+ "unit": "count",
61
+ "boundType": {
62
+ "kind": "cumulative_count",
63
+ "window": "daily"
64
+ },
65
+ "appliesTo": [
66
+ "mandate"
67
+ ],
68
+ "default": 0
69
+ }
70
+ }
71
+ },
72
+ "executionContextSchema": {
73
+ "fields": {
74
+ "brief_count_daily": {
75
+ "source": "cumulative",
76
+ "cumulativeField": "_count",
77
+ "window": "daily",
78
+ "description": "Running daily count of brief proposals",
79
+ "required": true,
80
+ "constraint": {
81
+ "type": "number",
82
+ "enforceable": [
83
+ "max"
84
+ ]
85
+ }
86
+ },
87
+ "mandate_count_daily": {
88
+ "source": "cumulative",
89
+ "cumulativeField": "_count",
90
+ "window": "daily",
91
+ "description": "Running daily count of mandate proposals",
92
+ "required": true,
93
+ "constraint": {
94
+ "type": "number",
95
+ "enforceable": [
96
+ "max"
97
+ ]
98
+ }
99
+ }
100
+ }
101
+ },
102
+ "requiredGates": [
103
+ "bounds",
104
+ "intent",
105
+ "commitment",
106
+ "decision_owner"
107
+ ],
108
+ "ttl": {
109
+ "default": 86400,
110
+ "max": 2592000
111
+ },
112
+ "retention_minimum": 7776000,
113
+ "content_binding": {
114
+ "version": "1",
115
+ "kind": "jcs"
116
+ }
117
+ }
@@ -29,6 +29,7 @@
29
29
  "github.com/humanagencyprotocol/hap-profiles/email@0.7": "email/0.7.profile.json",
30
30
  "github.com/humanagencyprotocol/hap-profiles/sales@0.3": "sales/0.3.profile.json",
31
31
  "github.com/humanagencyprotocol/hap-profiles/purchase@0.6": "purchase/0.6.profile.json",
32
- "github.com/humanagencyprotocol/hap-profiles/reporting@0.1": "reporting/0.1.profile.json"
32
+ "github.com/humanagencyprotocol/hap-profiles/reporting@0.1": "reporting/0.1.profile.json",
33
+ "github.com/humanagencyprotocol/hap-profiles/delegation@0.1": "delegation/0.1.profile.json"
33
34
  }
34
35
  }