move Permission into hive-types, drop swarm-controller's hive-sh4re dep
This commit is contained in:
parent
04786da58f
commit
e4a9005468
27 changed files with 221 additions and 175 deletions
|
|
@ -8,6 +8,8 @@ Foundational shared **newtypes** for the hyperhive workspace. A zero-dependency
|
|||
|
||||
## What's here
|
||||
|
||||
- **`Permission`** — the set of named permissions an agent may hold, with its
|
||||
stored `snake_case` names and the MCP and built-in tools each grants.
|
||||
- **`Ident`** — a validated agent-name newtype. Typing agent-name fields as
|
||||
`Ident` (rather than bare `String`) gets serde-validated parsing **at the
|
||||
socket boundary for free**: a malformed name is rejected at deserialize time
|
||||
|
|
|
|||
Loading…
Reference in a new issue