@agentyx/core 0.4.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.4.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",
@@ -37,6 +37,174 @@
37
37
  "minLength": 1
38
38
  },
39
39
  "description": "Coding-agent providers this project targets."
40
+ },
41
+ "skillDirectories": {
42
+ "type": "array",
43
+ "items": {
44
+ "type": "string",
45
+ "minLength": 1,
46
+ "pattern": "^(?!\\/)(?![A-Za-z]:)(?!.*(?:^|\\/)\\.\\.(?:\\/|$))[^\\\\\\0]+$"
47
+ },
48
+ "description": "Project-relative roots containing local Agent Skills."
49
+ },
50
+ "localPacks": {
51
+ "type": "array",
52
+ "items": {
53
+ "type": "object",
54
+ "properties": {
55
+ "name": {
56
+ "type": "string",
57
+ "minLength": 1,
58
+ "description": "Unique pack identifier."
59
+ },
60
+ "category": {
61
+ "default": "engineering",
62
+ "type": "string",
63
+ "enum": ["engineering", "language", "framework", "efficiency", "workflow"],
64
+ "description": "Discoverability category; does not affect resolution."
65
+ },
66
+ "description": {
67
+ "type": "string",
68
+ "minLength": 1,
69
+ "description": "Short human-readable summary of the pack."
70
+ },
71
+ "skills": {
72
+ "default": [],
73
+ "type": "array",
74
+ "items": {
75
+ "type": "string",
76
+ "minLength": 1,
77
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
78
+ },
79
+ "description": "Skills this pack contributes, in declaration order."
80
+ },
81
+ "mcpServers": {
82
+ "type": "array",
83
+ "items": {
84
+ "anyOf": [
85
+ {
86
+ "type": "string",
87
+ "minLength": 1,
88
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
89
+ },
90
+ {
91
+ "type": "object",
92
+ "properties": {
93
+ "name": {
94
+ "type": "string",
95
+ "minLength": 1,
96
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
97
+ "description": "MCP server identifier."
98
+ },
99
+ "activation": {
100
+ "default": "default",
101
+ "type": "string",
102
+ "enum": ["default", "optional"],
103
+ "description": "Whether this MCP capability is active by default or explicit opt-in."
104
+ }
105
+ },
106
+ "required": ["name"],
107
+ "additionalProperties": false
108
+ }
109
+ ]
110
+ },
111
+ "description": "MCP servers this pack contributes, in declaration order."
112
+ },
113
+ "tools": {
114
+ "type": "array",
115
+ "items": {
116
+ "anyOf": [
117
+ {
118
+ "type": "string",
119
+ "minLength": 1,
120
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
121
+ },
122
+ {
123
+ "type": "object",
124
+ "properties": {
125
+ "name": {
126
+ "type": "string",
127
+ "minLength": 1,
128
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
129
+ "description": "Tool identifier."
130
+ },
131
+ "activation": {
132
+ "default": "default",
133
+ "type": "string",
134
+ "enum": ["default", "optional"]
135
+ }
136
+ },
137
+ "required": ["name"],
138
+ "additionalProperties": false
139
+ }
140
+ ]
141
+ },
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."
174
+ }
175
+ },
176
+ "required": ["name"],
177
+ "additionalProperties": false
178
+ },
179
+ "description": "Project-owned packs that can reference built-in or local Skills."
180
+ },
181
+ "trustedSources": {
182
+ "type": "array",
183
+ "items": {
184
+ "type": "object",
185
+ "properties": {
186
+ "name": {
187
+ "type": "string",
188
+ "minLength": 1,
189
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
190
+ "description": "Known trusted source identifier."
191
+ },
192
+ "path": {
193
+ "type": "string",
194
+ "minLength": 1,
195
+ "pattern": "^(?!\\/)(?![A-Za-z]:)(?!.*(?:^|\\/)\\.\\.(?:\\/|$))[^\\\\\\0]+$",
196
+ "description": "Project-relative checkout path for this source."
197
+ },
198
+ "ref": {
199
+ "type": "string",
200
+ "minLength": 1,
201
+ "description": "Reviewed immutable commit, signed tag or pinned release identifier."
202
+ }
203
+ },
204
+ "required": ["name", "path", "ref"],
205
+ "additionalProperties": false
206
+ },
207
+ "description": "Pinned local checkouts of known external skill/plugin sources."
40
208
  }
41
209
  },
42
210
  "additionalProperties": false