@agent-vm/agent-portal-sdk 0.0.143 → 0.0.145

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.
Files changed (36) hide show
  1. package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-long-namespace-name.fixture.json +5 -5
  2. package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-namespace-names-code-point-order.fixture.json +5 -5
  3. package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-namespace-names-code-point-reverse.fixture.json +2 -2
  4. package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-namespace-names-duplicate.fixture.json +2 -2
  5. package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-namespace-names-unsorted.fixture.json +2 -2
  6. package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-old-authority-rejected.fixture.json +2 -2
  7. package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-self-root-rejected.fixture.json +2 -2
  8. package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-work-root-rejected.fixture.json +2 -2
  9. package/dist/adapter-boundary/index.d.ts +1 -1
  10. package/dist/adapter-boundary/index.js +1 -1
  11. package/dist/{adapter-boundary-BIagsTUH.js → adapter-boundary-CuGmOM0c.js} +1 -3
  12. package/dist/adapter-boundary-CuGmOM0c.js.map +1 -0
  13. package/dist/capability-description-surface/index.d.ts +1 -1
  14. package/dist/cli/tool-portal.js +1 -1
  15. package/dist/contracts/index.d.ts +1 -1
  16. package/dist/contracts/index.js +1 -1
  17. package/dist/{contracts-mBPxCxoG.js → contracts-X9wWs2lP.js} +5 -8
  18. package/dist/{contracts-mBPxCxoG.js.map → contracts-X9wWs2lP.js.map} +1 -1
  19. package/dist/gateway-runtime-client/index.d.ts +1 -1
  20. package/dist/gateway-runtime-client/index.js +1 -1
  21. package/dist/{index-Badq9e6i.d.ts → index-DwxCTubj.d.ts} +1 -4
  22. package/dist/index-DwxCTubj.d.ts.map +1 -0
  23. package/dist/{index-tmZkznV6.d.ts → index-ksJ4wmQG.d.ts} +12 -33
  24. package/dist/{index-tmZkznV6.d.ts.map → index-ksJ4wmQG.d.ts.map} +1 -1
  25. package/dist/{index-BIvLq827.d.ts → index-m4Mlc5zK.d.ts} +2 -2
  26. package/dist/{index-BIvLq827.d.ts.map → index-m4Mlc5zK.d.ts.map} +1 -1
  27. package/dist/index.d.ts +3 -3
  28. package/dist/index.js +3 -3
  29. package/dist/portable-contracts/index.js +1 -1
  30. package/dist/{portable-contracts-CKeFnjAA.js → portable-contracts-BJEMMNwI.js} +2 -2
  31. package/dist/{portable-contracts-CKeFnjAA.js.map → portable-contracts-BJEMMNwI.js.map} +1 -1
  32. package/package.json +1 -1
  33. package/portable-contract-schema-manifest.json +25 -65
  34. package/contract-fixtures/portable-contracts/gateway/managed-agent-projection-openclaw-valid.fixture.json +0 -33
  35. package/dist/adapter-boundary-BIagsTUH.js.map +0 -1
  36. package/dist/index-Badq9e6i.d.ts.map +0 -1
@@ -3522,7 +3522,7 @@
3522
3522
  },
3523
3523
  "clientKind": {
3524
3524
  "type": "string",
3525
- "enum": ["openclaw-managed-plugin", "hermes-managed-plugin"]
3525
+ "const": "hermes-managed-plugin"
3526
3526
  },
3527
3527
  "configuredAgentIds": {
3528
3528
  "minItems": 1,
@@ -3592,40 +3592,20 @@
3592
3592
  },
3593
3593
  "frameworkIdentity": {
3594
3594
  "readOnly": true,
3595
- "oneOf": [
3596
- {
3597
- "type": "object",
3598
- "properties": {
3599
- "agentId": {
3600
- "type": "string",
3601
- "minLength": 1,
3602
- "maxLength": 256
3603
- },
3604
- "kind": {
3605
- "type": "string",
3606
- "const": "openclaw"
3607
- }
3608
- },
3609
- "required": ["agentId", "kind"],
3610
- "additionalProperties": false
3595
+ "type": "object",
3596
+ "properties": {
3597
+ "kind": {
3598
+ "type": "string",
3599
+ "const": "hermes"
3611
3600
  },
3612
- {
3613
- "type": "object",
3614
- "properties": {
3615
- "kind": {
3616
- "type": "string",
3617
- "const": "hermes"
3618
- },
3619
- "profileName": {
3620
- "type": "string",
3621
- "minLength": 1,
3622
- "maxLength": 256
3623
- }
3624
- },
3625
- "required": ["kind", "profileName"],
3626
- "additionalProperties": false
3601
+ "profileName": {
3602
+ "type": "string",
3603
+ "minLength": 1,
3604
+ "maxLength": 256
3627
3605
  }
3628
- ]
3606
+ },
3607
+ "required": ["kind", "profileName"],
3608
+ "additionalProperties": false
3629
3609
  },
3630
3610
  "profileAssignmentRevision": {
3631
3611
  "type": "string",
@@ -3713,40 +3693,20 @@
3713
3693
  },
3714
3694
  "frameworkIdentity": {
3715
3695
  "readOnly": true,
3716
- "oneOf": [
3717
- {
3718
- "type": "object",
3719
- "properties": {
3720
- "agentId": {
3721
- "type": "string",
3722
- "minLength": 1,
3723
- "maxLength": 256
3724
- },
3725
- "kind": {
3726
- "type": "string",
3727
- "const": "openclaw"
3728
- }
3729
- },
3730
- "required": ["agentId", "kind"],
3731
- "additionalProperties": false
3696
+ "type": "object",
3697
+ "properties": {
3698
+ "kind": {
3699
+ "type": "string",
3700
+ "const": "hermes"
3732
3701
  },
3733
- {
3734
- "type": "object",
3735
- "properties": {
3736
- "kind": {
3737
- "type": "string",
3738
- "const": "hermes"
3739
- },
3740
- "profileName": {
3741
- "type": "string",
3742
- "minLength": 1,
3743
- "maxLength": 256
3744
- }
3745
- },
3746
- "required": ["kind", "profileName"],
3747
- "additionalProperties": false
3702
+ "profileName": {
3703
+ "type": "string",
3704
+ "minLength": 1,
3705
+ "maxLength": 256
3748
3706
  }
3749
- ]
3707
+ },
3708
+ "required": ["kind", "profileName"],
3709
+ "additionalProperties": false
3750
3710
  },
3751
3711
  "profileAssignmentRevision": {
3752
3712
  "type": "string",
@@ -1,33 +0,0 @@
1
- {
2
- "caseId": "gateway-managed-agent-projection-openclaw-valid",
3
- "schemaId": "gateway.managed-agent-projection",
4
- "tags": ["accepted", "managed-agent-projection", "openclaw"],
5
- "input": {
6
- "agentId": "agent-a",
7
- "frameworkIdentity": {
8
- "agentId": "agent-a",
9
- "kind": "openclaw"
10
- },
11
- "profileAssignmentRevision": "profile-assignment-a",
12
- "toolPortalNamespaces": [],
13
- "toolPortalProfileId": "engineering"
14
- },
15
- "expectation": {
16
- "kind": "accepted",
17
- "normalized": {
18
- "agentId": "agent-a",
19
- "frameworkIdentity": {
20
- "agentId": "agent-a",
21
- "kind": "openclaw"
22
- },
23
- "profileAssignmentRevision": "profile-assignment-a",
24
- "toolPortalNamespaces": [],
25
- "toolPortalProfileId": "engineering"
26
- },
27
- "canonicalJson": "{\"agentId\":\"agent-a\",\"frameworkIdentity\":{\"agentId\":\"agent-a\",\"kind\":\"openclaw\"},\"profileAssignmentRevision\":\"profile-assignment-a\",\"toolPortalNamespaces\":[],\"toolPortalProfileId\":\"engineering\"}",
28
- "refinementIdentities": [
29
- "gateway.managed-agent-projection.namespaces",
30
- "portal.namespace-discovery.summary-code-points"
31
- ]
32
- }
33
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"adapter-boundary-BIagsTUH.js","names":[],"sources":["../src/adapter-boundary/models/portal-adapter-envelope-schema.ts"],"sourcesContent":["import { z } from 'zod';\n\nexport const TrustedAgentScopeSchema = z\n\t.object({\n\t\tagentId: z.string().min(1),\n\t\tprofileId: z.string().min(1),\n\t\tsource: z.enum(['mcp-portal', 'tool-portal', 'openclaw-plugin', 'controller']),\n\t\tuserId: z.string().min(1).optional(),\n\t})\n\t.strict();\n\nexport type TrustedAgentScope = z.infer<typeof TrustedAgentScopeSchema>;\n\nexport const PortalAdapterEnvelopeSchema = z\n\t.object({\n\t\tadapter: z.enum(['mcp-provider', 'tool-portal', 'openclaw-plugin', 'cli', 'sdk', 'http-api']),\n\t\tauditCorrelationId: z.string().min(1).optional(),\n\t\ttrustedScope: TrustedAgentScopeSchema,\n\t})\n\t.strict();\n\nexport type PortalAdapterEnvelope = z.infer<typeof PortalAdapterEnvelopeSchema>;\n"],"mappings":";;AAEA,MAAa,0BAA0B,EACrC,OAAO;CACP,SAAS,EAAE,QAAQ,CAAC,IAAI,EAAE;CAC1B,WAAW,EAAE,QAAQ,CAAC,IAAI,EAAE;CAC5B,QAAQ,EAAE,KAAK;EAAC;EAAc;EAAe;EAAmB;EAAa,CAAC;CAC9E,QAAQ,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC,UAAU;CACpC,CAAC,CACD,QAAQ;AAIV,MAAa,8BAA8B,EACzC,OAAO;CACP,SAAS,EAAE,KAAK;EAAC;EAAgB;EAAe;EAAmB;EAAO;EAAO;EAAW,CAAC;CAC7F,oBAAoB,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC,UAAU;CAChD,cAAc;CACd,CAAC,CACD,QAAQ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-Badq9e6i.d.ts","names":[],"sources":["../src/adapter-boundary/models/portal-adapter-envelope-schema.ts"],"mappings":";;;cAEa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;KASxB,iBAAA,GAAoB,CAAA,CAAE,KAAA,QAAa,uBAAA;AAAA,cAElC,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;KAQ5B,qBAAA,GAAwB,CAAA,CAAE,KAAA,QAAa,2BAAA"}