Commit 6992c8c
feat(typescript): Full SDK parity — PolicyEngine + Identity + tests (#269)
* Initial plan
* Update repo tagline and subtitle for discoverability (P0)
Replace generic tagline 'Application-level security middleware for autonomous AI agents'
with Option B: 'Runtime governance for AI agents — the only toolkit covering all 10
OWASP Agentic risks with 6,100+ tests'
Also update subtitle to highlight all three key differentiators:
- Agent ACTIONS (not LLM outputs): 'Governs what agents DO, not just what they say'
- OWASP 10/10 coverage (unique to this toolkit)
- One pip install full stack
Resolves: Update repo tagline and positioning for discoverability
Co-authored-by: imran-siddique <45405841+imran-siddique@users.noreply.github.com>
* feat(typescript): full SDK parity — PolicyEngine + Identity + tests
PolicyEngine parity:
- Rich Policy document model (apiVersion, scope, default_action)
- Expression-based conditions (equality, comparison, in/not-in, and/or)
- Configurable conflict resolution (deny-overrides, allow-overrides,
priority-first-match, most-specific-wins)
- PolicyConflictResolver with full strategy dispatch
- Rich PolicyDecisionResult (matchedRule, policyName, timing, approvers)
- Rate limiting support (e.g., '100/hour')
- Policy scoping (agent, agents, wildcard)
- Backward compatible with v0.1 flat rules API
AgentIdentity parity:
- Lifecycle management (active/suspended/revoked) with state transitions
- Capability wildcards (*, prefix:*)
- Delegation chains with capability narrowing
- JWK/JWKS import/export (RFC 7517)
- W3C DID Document export
- Metadata (name, description, sponsor, organization, expiresAt)
- IdentityRegistry with sponsor indexing and cascade revocation
Tests: 136 total (57 existing + 79 new parity tests), all passing
Types: clean compile, zero errors
Closes #229
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 187f8cc commit 6992c8c
File tree
9 files changed
+7416
-52
lines changed- packages/agent-mesh/sdks/typescript
- src
- tests
9 files changed
+7416
-52
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments