@agentyx/core 0.3.1 → 0.5.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/README.md +5 -1
- package/dist/index.d.mts +250 -93
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +478 -213
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/schema/agentyx.schema.json +138 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentyx/core",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Shared domain foundations for Agentyx: configuration model,
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"description": "Shared domain foundations for Agentyx: configuration model, pack resolution and skills.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Andersseen",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"configuration",
|
|
21
21
|
"developer-tools",
|
|
22
22
|
"skills",
|
|
23
|
-
"
|
|
23
|
+
"packs"
|
|
24
24
|
],
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"exports": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://
|
|
3
|
+
"$id": "https://raw.githubusercontent.com/Andersseen/agentyx/main/packages/core/schema/agentyx.schema.json",
|
|
4
4
|
"title": "Agentyx project configuration",
|
|
5
5
|
"description": "Configuration for an Agentyx project (.agentyx.json).",
|
|
6
6
|
"type": "object",
|
|
@@ -37,6 +37,143 @@
|
|
|
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
|
+
},
|
|
145
|
+
"required": ["name"],
|
|
146
|
+
"additionalProperties": false
|
|
147
|
+
},
|
|
148
|
+
"description": "Project-owned packs that can reference built-in or local Skills."
|
|
149
|
+
},
|
|
150
|
+
"trustedSources": {
|
|
151
|
+
"type": "array",
|
|
152
|
+
"items": {
|
|
153
|
+
"type": "object",
|
|
154
|
+
"properties": {
|
|
155
|
+
"name": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"minLength": 1,
|
|
158
|
+
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
|
|
159
|
+
"description": "Known trusted source identifier."
|
|
160
|
+
},
|
|
161
|
+
"path": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"minLength": 1,
|
|
164
|
+
"pattern": "^(?!\\/)(?![A-Za-z]:)(?!.*(?:^|\\/)\\.\\.(?:\\/|$))[^\\\\\\0]+$",
|
|
165
|
+
"description": "Project-relative checkout path for this source."
|
|
166
|
+
},
|
|
167
|
+
"ref": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"minLength": 1,
|
|
170
|
+
"description": "Reviewed immutable commit, signed tag or pinned release identifier."
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"required": ["name", "path", "ref"],
|
|
174
|
+
"additionalProperties": false
|
|
175
|
+
},
|
|
176
|
+
"description": "Pinned local checkouts of known external skill/plugin sources."
|
|
40
177
|
}
|
|
41
178
|
},
|
|
42
179
|
"additionalProperties": false
|