@agentproto/corpus-cli 0.11.2 → 0.11.4

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 (34) hide show
  1. package/dist/cli.mjs +1 -1
  2. package/dist/cli.mjs.map +1 -1
  3. package/dist/specs/resources/aip-11/draft/LESSON.schema.json +2 -2
  4. package/dist/specs/resources/aip-12/draft/PLAYBOOK.schema.json +2 -1
  5. package/dist/specs/resources/aip-14/draft/TOOL.schema.json +2 -2
  6. package/dist/specs/resources/aip-22/draft/OFFICE.schema.json +8 -8
  7. package/dist/specs/resources/aip-23/draft/IDENTITY.schema.json +2 -2
  8. package/dist/specs/resources/aip-3/draft/SKILL.schema.json +2 -2
  9. package/dist/specs/resources/aip-34/draft/EXPORT.schema.json +2 -2
  10. package/dist/specs/resources/aip-34/draft/LOCK.schema.json +3 -3
  11. package/dist/specs/resources/aip-34/draft/PRESENCE.schema.json +3 -3
  12. package/dist/specs/resources/aip-34/draft/TYPES.schema.json +3 -3
  13. package/dist/specs/resources/aip-34/draft/WORKSPACE.schema.json +6 -3
  14. package/dist/specs/resources/aip-38/draft/POLICY.schema.json +36 -5
  15. package/dist/specs/resources/aip-4/draft/DESIGN.schema.json +2 -2
  16. package/dist/specs/resources/aip-42/draft/AGENT.schema.json +42 -4
  17. package/dist/specs/resources/aip-43/draft/Selector.schema.json +245 -0
  18. package/dist/specs/resources/aip-45/draft/{AGENT-CLI.schema.json → HARNESS.schema.json} +156 -9
  19. package/dist/specs/resources/aip-45/draft/STREAM-EVENTS.schema.json +151 -0
  20. package/dist/specs/resources/aip-46/draft/SessionConfig.schema.json +293 -0
  21. package/dist/specs/resources/aip-47/draft/ROLE.schema.json +93 -1
  22. package/dist/specs/resources/aip-48/draft/MultiAgentRuntime.schema.json +3 -3
  23. package/dist/specs/resources/aip-53/draft/APP.schema.json +36 -19
  24. package/dist/specs/resources/aip-54/draft/WS-REF.schema.json +2 -1
  25. package/dist/specs/resources/aip-6/draft/COMPANY.schema.json +69 -107
  26. package/dist/specs/resources/aip-62/draft/ATTESTATION.schema.json +11 -4
  27. package/dist/specs/resources/aip-63/draft/RECORDING.schema.json +2 -2
  28. package/dist/specs/resources/aip-69/draft/AuthProfile.schema.json +127 -0
  29. package/dist/specs/resources/aip-7/draft/GOVERNANCE.schema.json +436 -105
  30. package/dist/specs/resources/{pending/memory → aip-72}/draft/MEMORY.schema.json +115 -62
  31. package/dist/specs/resources/aip-9/draft/OPERATOR.schema.json +230 -139
  32. package/package.json +3 -3
  33. package/dist/specs/resources/pending/harness/HARNESS.schema.json +0 -254
  34. package/dist/specs/resources/pending/services/SERVICES.schema.json +0 -55
@@ -0,0 +1,127 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://agentproto.sh/schemas/aip-69/AuthProfile.schema.json",
4
+ "title": "AIP-69 AuthProfile, auth-profile/v1",
5
+ "description": "A named reference to the credential a session bills or authenticates through. Never contains credential material. Host-specific keys MUST be prefixed x-.",
6
+ "type": "object",
7
+ "required": [
8
+ "id",
9
+ "endpoint",
10
+ "method"
11
+ ],
12
+ "additionalProperties": false,
13
+ "patternProperties": {
14
+ "^x-": {}
15
+ },
16
+ "not": {
17
+ "required": [
18
+ "credentialRef",
19
+ "source"
20
+ ]
21
+ },
22
+ "properties": {
23
+ "id": {
24
+ "type": "string",
25
+ "minLength": 1
26
+ },
27
+ "label": {
28
+ "type": "string"
29
+ },
30
+ "endpoint": {
31
+ "type": "string",
32
+ "minLength": 1,
33
+ "description": "The billing endpoint (who bills), not the model builder."
34
+ },
35
+ "routes": {
36
+ "type": "array",
37
+ "items": {
38
+ "type": "string",
39
+ "minLength": 1
40
+ },
41
+ "uniqueItems": true
42
+ },
43
+ "method": {
44
+ "type": "string",
45
+ "minLength": 1,
46
+ "description": "api-key | oauth-bearer | host-extensible."
47
+ },
48
+ "credentialRef": {
49
+ "type": "string",
50
+ "minLength": 1,
51
+ "description": "Opaque handle into the host credential store (an AIP-19 slug when available)."
52
+ },
53
+ "source": {
54
+ "type": "string",
55
+ "minLength": 1,
56
+ "description": "A credential source the host resolves at spawn and does not store."
57
+ },
58
+ "subaccount": {
59
+ "type": "object",
60
+ "required": [
61
+ "kind",
62
+ "id"
63
+ ],
64
+ "additionalProperties": false,
65
+ "properties": {
66
+ "kind": {
67
+ "type": "string"
68
+ },
69
+ "id": {
70
+ "type": "string"
71
+ },
72
+ "name": {
73
+ "type": "string"
74
+ }
75
+ }
76
+ },
77
+ "subscription": {
78
+ "$ref": "#/$defs/Subscription"
79
+ },
80
+ "policy": {
81
+ "description": "AIP-38 PolicyRef: the profile as a resource."
82
+ },
83
+ "disabled": {
84
+ "type": "boolean",
85
+ "default": false
86
+ },
87
+ "origin": {
88
+ "type": "string"
89
+ }
90
+ },
91
+ "$defs": {
92
+ "Subscription": {
93
+ "type": "object",
94
+ "required": [
95
+ "monthlyUsd"
96
+ ],
97
+ "additionalProperties": false,
98
+ "properties": {
99
+ "monthlyUsd": {
100
+ "type": "number",
101
+ "minimum": 0
102
+ },
103
+ "windows": {
104
+ "type": "array",
105
+ "items": {
106
+ "type": "object",
107
+ "required": [
108
+ "kind"
109
+ ],
110
+ "additionalProperties": false,
111
+ "properties": {
112
+ "kind": {
113
+ "type": "string",
114
+ "minLength": 1,
115
+ "description": "Provider-defined window name (5h, weekly), not a duration."
116
+ },
117
+ "limit": {
118
+ "type": "number",
119
+ "minimum": 0
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }