@agentyx/core 0.5.0 → 0.7.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/dist/index.d.mts +317 -30
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +569 -87
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/schema/agentyx.schema.json +31 -0
package/package.json
CHANGED
|
@@ -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"],
|