@agentyx/core 0.5.0 → 0.6.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentyx/core",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Shared domain foundations for Agentyx: configuration model, pack resolution and skills.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -140,6 +140,37 @@
140
140
  ]
141
141
  },
142
142
  "description": "Local tools this pack contributes, in declaration order."
143
+ },
144
+ "hooks": {
145
+ "type": "array",
146
+ "items": {
147
+ "anyOf": [
148
+ {
149
+ "type": "string",
150
+ "minLength": 1,
151
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
152
+ },
153
+ {
154
+ "type": "object",
155
+ "properties": {
156
+ "name": {
157
+ "type": "string",
158
+ "minLength": 1,
159
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
160
+ "description": "Hook identifier."
161
+ },
162
+ "activation": {
163
+ "default": "default",
164
+ "type": "string",
165
+ "enum": ["default", "optional"]
166
+ }
167
+ },
168
+ "required": ["name"],
169
+ "additionalProperties": false
170
+ }
171
+ ]
172
+ },
173
+ "description": "Provider lifecycle hooks this pack contributes, in declaration order."
143
174
  }
144
175
  },
145
176
  "required": ["name"],