@agentxm/extension-model 0.28.7 → 0.28.9
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.
|
@@ -82,22 +82,69 @@ export const parseVersionRange = (sourceString) => {
|
|
|
82
82
|
export const isValidVersionRange = (range) => semver.validRange(range) !== null;
|
|
83
83
|
/** Return one range representing the complete intersection, or undefined when unsatisfiable. */
|
|
84
84
|
export const intersectVersionConstraints = (constraints) => {
|
|
85
|
-
|
|
85
|
+
// A comparator conjunction admits a prerelease when *any* comparator names
|
|
86
|
+
// its version tuple. Intersection instead requires *every contributor* to
|
|
87
|
+
// admit that tuple, so preserve this information before flattening the sets.
|
|
88
|
+
let intersections = [{ comparators: [], prereleaseBases: undefined }];
|
|
86
89
|
for (const constraint of constraints) {
|
|
87
90
|
const validRange = semver.validRange(constraint);
|
|
88
91
|
if (validRange === null)
|
|
89
92
|
return undefined;
|
|
90
93
|
const range = new semver.Range(validRange);
|
|
91
94
|
intersections = intersections.flatMap((current) => range.set.flatMap((comparators) => {
|
|
92
|
-
const
|
|
93
|
-
|
|
95
|
+
const combined = [...current.comparators, ...comparators];
|
|
96
|
+
const candidate = combined
|
|
97
|
+
.map((comparator) => comparator.value)
|
|
98
|
+
.filter((value) => value.length > 0)
|
|
94
99
|
.join(" ");
|
|
95
|
-
|
|
100
|
+
if (semver.minVersion(candidate) === null)
|
|
101
|
+
return [];
|
|
102
|
+
const bases = new Set(comparators.flatMap((comparator) => comparator.value !== "" && comparator.semver.prerelease.length > 0
|
|
103
|
+
? [`${comparator.semver.major}.${comparator.semver.minor}.${comparator.semver.patch}`]
|
|
104
|
+
: []));
|
|
105
|
+
return [
|
|
106
|
+
{
|
|
107
|
+
comparators: combined,
|
|
108
|
+
prereleaseBases: current.prereleaseBases === undefined
|
|
109
|
+
? bases
|
|
110
|
+
: new Set([...current.prereleaseBases].filter((base) => bases.has(base))),
|
|
111
|
+
},
|
|
112
|
+
];
|
|
96
113
|
}));
|
|
97
114
|
if (intersections.length === 0)
|
|
98
115
|
return undefined;
|
|
99
116
|
}
|
|
100
|
-
|
|
117
|
+
const ranges = intersections.flatMap(({ comparators, prereleaseBases }) => {
|
|
118
|
+
const original = comparators
|
|
119
|
+
.map((comparator) => comparator.value)
|
|
120
|
+
.filter((value) => value.length > 0)
|
|
121
|
+
.join(" ");
|
|
122
|
+
const stable = comparators
|
|
123
|
+
.map((comparator) => {
|
|
124
|
+
if (comparator.value === "" || comparator.semver.prerelease.length === 0)
|
|
125
|
+
return comparator.value;
|
|
126
|
+
const base = `${comparator.semver.major}.${comparator.semver.minor}.${comparator.semver.patch}`;
|
|
127
|
+
switch (comparator.operator) {
|
|
128
|
+
case ">":
|
|
129
|
+
case ">=":
|
|
130
|
+
return `>=${base}`;
|
|
131
|
+
case "<":
|
|
132
|
+
case "<=":
|
|
133
|
+
return `<${base}`;
|
|
134
|
+
// An exact prerelease admits no stable version.
|
|
135
|
+
default:
|
|
136
|
+
return "<0.0.0-0";
|
|
137
|
+
}
|
|
138
|
+
})
|
|
139
|
+
.filter((value) => value.length > 0)
|
|
140
|
+
.join(" ") || "*";
|
|
141
|
+
const candidates = [
|
|
142
|
+
stable,
|
|
143
|
+
...[...(prereleaseBases ?? [])].map((base) => `${original} >=${base}-0 <${base}`),
|
|
144
|
+
];
|
|
145
|
+
return candidates.filter((candidate) => semver.minVersion(candidate) !== null);
|
|
146
|
+
});
|
|
147
|
+
return ranges.length === 0 ? undefined : [...new Set(ranges)].join(" || ");
|
|
101
148
|
};
|
|
102
149
|
/**
|
|
103
150
|
* Check whether moving from `previousVersion` to `currentVersion` includes at
|
package/package.json
CHANGED
|
@@ -1,337 +1,337 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"version": "0.28.7",
|
|
4
|
-
"description": "Shared AgentXM extension model: identities, manifests, version constraints, and agent capabilities. Unstable and unsupported — use the axm.sh CLI.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"license": "FSL-1.1-MIT",
|
|
7
|
-
"homepage": "https://axm.sh",
|
|
2
|
+
"author": "AgentXM <hello@agentxm.ai> (https://agentxm.ai)",
|
|
8
3
|
"bugs": {
|
|
9
4
|
"url": "https://github.com/agentxm/axm/issues"
|
|
10
5
|
},
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"effect": "4.0.0-rc.112",
|
|
8
|
+
"packageurl-js": "^2.0.1",
|
|
9
|
+
"semver": "^7.8.5",
|
|
10
|
+
"spdx-expression-parse": "4.0.0"
|
|
11
|
+
},
|
|
12
|
+
"description": "Shared AgentXM extension model: identities, manifests, version constraints, and agent capabilities. Unstable and unsupported — use the axm.sh CLI.",
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"@effect/vitest": "4.0.0-rc.112",
|
|
15
|
+
"@types/semver": "^7.7.1",
|
|
16
|
+
"@types/spdx-expression-parse": "4.0.0",
|
|
17
|
+
"@typescript/native": "npm:typescript@^7.0.2",
|
|
18
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
19
|
+
"vitest": "^4.1.10"
|
|
20
|
+
},
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=22.19.0"
|
|
16
23
|
},
|
|
17
|
-
"sideEffects": false,
|
|
18
24
|
"exports": {
|
|
19
25
|
"./unstable/agent-capabilities": {
|
|
20
|
-
"types": "./dist/src/unstable/agent-capabilities/index.d.ts",
|
|
21
26
|
"axm-source": "./src/unstable/agent-capabilities/index.ts",
|
|
22
|
-
"default": "./dist/src/unstable/agent-capabilities/index.js"
|
|
27
|
+
"default": "./dist/src/unstable/agent-capabilities/index.js",
|
|
28
|
+
"types": "./dist/src/unstable/agent-capabilities/index.d.ts"
|
|
23
29
|
},
|
|
24
30
|
"./unstable/agent-capabilities/catalog": {
|
|
25
|
-
"types": "./dist/src/unstable/agent-capabilities/catalog.d.ts",
|
|
26
31
|
"axm-source": "./src/unstable/agent-capabilities/catalog.ts",
|
|
27
|
-
"default": "./dist/src/unstable/agent-capabilities/catalog.js"
|
|
32
|
+
"default": "./dist/src/unstable/agent-capabilities/catalog.js",
|
|
33
|
+
"types": "./dist/src/unstable/agent-capabilities/catalog.d.ts"
|
|
28
34
|
},
|
|
29
35
|
"./unstable/agent-capabilities/derive": {
|
|
30
|
-
"types": "./dist/src/unstable/agent-capabilities/derive.d.ts",
|
|
31
36
|
"axm-source": "./src/unstable/agent-capabilities/derive.ts",
|
|
32
|
-
"default": "./dist/src/unstable/agent-capabilities/derive.js"
|
|
37
|
+
"default": "./dist/src/unstable/agent-capabilities/derive.js",
|
|
38
|
+
"types": "./dist/src/unstable/agent-capabilities/derive.d.ts"
|
|
33
39
|
},
|
|
34
40
|
"./unstable/agents/registry": {
|
|
35
|
-
"types": "./dist/src/unstable/agents/registry.d.ts",
|
|
36
41
|
"axm-source": "./src/unstable/agents/registry.ts",
|
|
37
|
-
"default": "./dist/src/unstable/agents/registry.js"
|
|
42
|
+
"default": "./dist/src/unstable/agents/registry.js",
|
|
43
|
+
"types": "./dist/src/unstable/agents/registry.d.ts"
|
|
38
44
|
},
|
|
39
45
|
"./unstable/agents/types": {
|
|
40
|
-
"types": "./dist/src/unstable/agents/types.d.ts",
|
|
41
46
|
"axm-source": "./src/unstable/agents/types.ts",
|
|
42
|
-
"default": "./dist/src/unstable/agents/types.js"
|
|
47
|
+
"default": "./dist/src/unstable/agents/types.js",
|
|
48
|
+
"types": "./dist/src/unstable/agents/types.d.ts"
|
|
43
49
|
},
|
|
44
50
|
"./unstable/date-time": {
|
|
45
|
-
"types": "./dist/src/unstable/date-time.d.ts",
|
|
46
51
|
"axm-source": "./src/unstable/date-time.ts",
|
|
47
|
-
"default": "./dist/src/unstable/date-time.js"
|
|
52
|
+
"default": "./dist/src/unstable/date-time.js",
|
|
53
|
+
"types": "./dist/src/unstable/date-time.d.ts"
|
|
48
54
|
},
|
|
49
55
|
"./unstable/discovery-walk": {
|
|
50
|
-
"types": "./dist/src/unstable/discovery-walk.d.ts",
|
|
51
56
|
"axm-source": "./src/unstable/discovery-walk.ts",
|
|
52
|
-
"default": "./dist/src/unstable/discovery-walk.js"
|
|
57
|
+
"default": "./dist/src/unstable/discovery-walk.js",
|
|
58
|
+
"types": "./dist/src/unstable/discovery-walk.d.ts"
|
|
53
59
|
},
|
|
54
60
|
"./unstable/extension-types": {
|
|
55
|
-
"types": "./dist/src/unstable/extension-types/index.d.ts",
|
|
56
61
|
"axm-source": "./src/unstable/extension-types/index.ts",
|
|
57
|
-
"default": "./dist/src/unstable/extension-types/index.js"
|
|
62
|
+
"default": "./dist/src/unstable/extension-types/index.js",
|
|
63
|
+
"types": "./dist/src/unstable/extension-types/index.d.ts"
|
|
58
64
|
},
|
|
59
65
|
"./unstable/extension-types/schema": {
|
|
60
|
-
"types": "./dist/src/unstable/extension-types/schema.d.ts",
|
|
61
66
|
"axm-source": "./src/unstable/extension-types/schema.ts",
|
|
62
|
-
"default": "./dist/src/unstable/extension-types/schema.js"
|
|
67
|
+
"default": "./dist/src/unstable/extension-types/schema.js",
|
|
68
|
+
"types": "./dist/src/unstable/extension-types/schema.d.ts"
|
|
63
69
|
},
|
|
64
70
|
"./unstable/extension-types/standards": {
|
|
65
|
-
"types": "./dist/src/unstable/extension-types/standards.d.ts",
|
|
66
71
|
"axm-source": "./src/unstable/extension-types/standards.ts",
|
|
67
|
-
"default": "./dist/src/unstable/extension-types/standards.js"
|
|
72
|
+
"default": "./dist/src/unstable/extension-types/standards.js",
|
|
73
|
+
"types": "./dist/src/unstable/extension-types/standards.d.ts"
|
|
68
74
|
},
|
|
69
75
|
"./unstable/extensions": {
|
|
70
|
-
"types": "./dist/src/unstable/extensions/index.d.ts",
|
|
71
76
|
"axm-source": "./src/unstable/extensions/index.ts",
|
|
72
|
-
"default": "./dist/src/unstable/extensions/index.js"
|
|
77
|
+
"default": "./dist/src/unstable/extensions/index.js",
|
|
78
|
+
"types": "./dist/src/unstable/extensions/index.d.ts"
|
|
73
79
|
},
|
|
74
80
|
"./unstable/extensions/common": {
|
|
75
|
-
"types": "./dist/src/unstable/extensions/common.d.ts",
|
|
76
81
|
"axm-source": "./src/unstable/extensions/common.ts",
|
|
77
|
-
"default": "./dist/src/unstable/extensions/common.js"
|
|
82
|
+
"default": "./dist/src/unstable/extensions/common.js",
|
|
83
|
+
"types": "./dist/src/unstable/extensions/common.d.ts"
|
|
78
84
|
},
|
|
79
85
|
"./unstable/extensions/deprecation": {
|
|
80
|
-
"types": "./dist/src/unstable/extensions/deprecation.d.ts",
|
|
81
86
|
"axm-source": "./src/unstable/extensions/deprecation.ts",
|
|
82
|
-
"default": "./dist/src/unstable/extensions/deprecation.js"
|
|
87
|
+
"default": "./dist/src/unstable/extensions/deprecation.js",
|
|
88
|
+
"types": "./dist/src/unstable/extensions/deprecation.d.ts"
|
|
83
89
|
},
|
|
84
90
|
"./unstable/extensions/fqn": {
|
|
85
|
-
"types": "./dist/src/unstable/extensions/fqn.d.ts",
|
|
86
91
|
"axm-source": "./src/unstable/extensions/fqn.ts",
|
|
87
|
-
"default": "./dist/src/unstable/extensions/fqn.js"
|
|
92
|
+
"default": "./dist/src/unstable/extensions/fqn.js",
|
|
93
|
+
"types": "./dist/src/unstable/extensions/fqn.d.ts"
|
|
88
94
|
},
|
|
89
95
|
"./unstable/extensions/fqn-pattern": {
|
|
90
|
-
"types": "./dist/src/unstable/extensions/fqn-pattern.d.ts",
|
|
91
96
|
"axm-source": "./src/unstable/extensions/fqn-pattern.ts",
|
|
92
|
-
"default": "./dist/src/unstable/extensions/fqn-pattern.js"
|
|
97
|
+
"default": "./dist/src/unstable/extensions/fqn-pattern.js",
|
|
98
|
+
"types": "./dist/src/unstable/extensions/fqn-pattern.d.ts"
|
|
93
99
|
},
|
|
94
100
|
"./unstable/extensions/handle": {
|
|
95
|
-
"types": "./dist/src/unstable/extensions/handle.d.ts",
|
|
96
101
|
"axm-source": "./src/unstable/extensions/handle.ts",
|
|
97
|
-
"default": "./dist/src/unstable/extensions/handle.js"
|
|
102
|
+
"default": "./dist/src/unstable/extensions/handle.js",
|
|
103
|
+
"types": "./dist/src/unstable/extensions/handle.d.ts"
|
|
98
104
|
},
|
|
99
105
|
"./unstable/extensions/installable-types": {
|
|
100
|
-
"types": "./dist/src/unstable/extensions/installable-types.d.ts",
|
|
101
106
|
"axm-source": "./src/unstable/extensions/installable-types.ts",
|
|
102
|
-
"default": "./dist/src/unstable/extensions/installable-types.js"
|
|
107
|
+
"default": "./dist/src/unstable/extensions/installable-types.js",
|
|
108
|
+
"types": "./dist/src/unstable/extensions/installable-types.d.ts"
|
|
103
109
|
},
|
|
104
110
|
"./unstable/extensions/license": {
|
|
105
|
-
"types": "./dist/src/unstable/extensions/license.d.ts",
|
|
106
111
|
"axm-source": "./src/unstable/extensions/license.ts",
|
|
107
|
-
"default": "./dist/src/unstable/extensions/license.js"
|
|
112
|
+
"default": "./dist/src/unstable/extensions/license.js",
|
|
113
|
+
"types": "./dist/src/unstable/extensions/license.d.ts"
|
|
108
114
|
},
|
|
109
115
|
"./unstable/extensions/manifest-metadata": {
|
|
110
|
-
"types": "./dist/src/unstable/extensions/manifest-metadata.d.ts",
|
|
111
116
|
"axm-source": "./src/unstable/extensions/manifest-metadata.ts",
|
|
112
|
-
"default": "./dist/src/unstable/extensions/manifest-metadata.js"
|
|
117
|
+
"default": "./dist/src/unstable/extensions/manifest-metadata.js",
|
|
118
|
+
"types": "./dist/src/unstable/extensions/manifest-metadata.d.ts"
|
|
113
119
|
},
|
|
114
120
|
"./unstable/extensions/refs/extension-ref": {
|
|
115
|
-
"types": "./dist/src/unstable/extensions/refs/extension-ref.d.ts",
|
|
116
121
|
"axm-source": "./src/unstable/extensions/refs/extension-ref.ts",
|
|
117
|
-
"default": "./dist/src/unstable/extensions/refs/extension-ref.js"
|
|
122
|
+
"default": "./dist/src/unstable/extensions/refs/extension-ref.js",
|
|
123
|
+
"types": "./dist/src/unstable/extensions/refs/extension-ref.d.ts"
|
|
118
124
|
},
|
|
119
125
|
"./unstable/extensions/refs/hook": {
|
|
120
|
-
"types": "./dist/src/unstable/extensions/refs/hook.d.ts",
|
|
121
126
|
"axm-source": "./src/unstable/extensions/refs/hook.ts",
|
|
122
|
-
"default": "./dist/src/unstable/extensions/refs/hook.js"
|
|
127
|
+
"default": "./dist/src/unstable/extensions/refs/hook.js",
|
|
128
|
+
"types": "./dist/src/unstable/extensions/refs/hook.d.ts"
|
|
123
129
|
},
|
|
124
130
|
"./unstable/extensions/refs/knowledge": {
|
|
125
|
-
"types": "./dist/src/unstable/extensions/refs/knowledge.d.ts",
|
|
126
131
|
"axm-source": "./src/unstable/extensions/refs/knowledge.ts",
|
|
127
|
-
"default": "./dist/src/unstable/extensions/refs/knowledge.js"
|
|
132
|
+
"default": "./dist/src/unstable/extensions/refs/knowledge.js",
|
|
133
|
+
"types": "./dist/src/unstable/extensions/refs/knowledge.d.ts"
|
|
128
134
|
},
|
|
129
135
|
"./unstable/extensions/refs/mcp-server": {
|
|
130
|
-
"types": "./dist/src/unstable/extensions/refs/mcp-server.d.ts",
|
|
131
136
|
"axm-source": "./src/unstable/extensions/refs/mcp-server.ts",
|
|
132
|
-
"default": "./dist/src/unstable/extensions/refs/mcp-server.js"
|
|
137
|
+
"default": "./dist/src/unstable/extensions/refs/mcp-server.js",
|
|
138
|
+
"types": "./dist/src/unstable/extensions/refs/mcp-server.d.ts"
|
|
133
139
|
},
|
|
134
140
|
"./unstable/extensions/refs/pack": {
|
|
135
|
-
"types": "./dist/src/unstable/extensions/refs/pack.d.ts",
|
|
136
141
|
"axm-source": "./src/unstable/extensions/refs/pack.ts",
|
|
137
|
-
"default": "./dist/src/unstable/extensions/refs/pack.js"
|
|
142
|
+
"default": "./dist/src/unstable/extensions/refs/pack.js",
|
|
143
|
+
"types": "./dist/src/unstable/extensions/refs/pack.d.ts"
|
|
138
144
|
},
|
|
139
145
|
"./unstable/extensions/refs/ref-base": {
|
|
140
|
-
"types": "./dist/src/unstable/extensions/refs/ref-base.d.ts",
|
|
141
146
|
"axm-source": "./src/unstable/extensions/refs/ref-base.ts",
|
|
142
|
-
"default": "./dist/src/unstable/extensions/refs/ref-base.js"
|
|
147
|
+
"default": "./dist/src/unstable/extensions/refs/ref-base.js",
|
|
148
|
+
"types": "./dist/src/unstable/extensions/refs/ref-base.d.ts"
|
|
143
149
|
},
|
|
144
150
|
"./unstable/extensions/refs/rule": {
|
|
145
|
-
"types": "./dist/src/unstable/extensions/refs/rule.d.ts",
|
|
146
151
|
"axm-source": "./src/unstable/extensions/refs/rule.ts",
|
|
147
|
-
"default": "./dist/src/unstable/extensions/refs/rule.js"
|
|
152
|
+
"default": "./dist/src/unstable/extensions/refs/rule.js",
|
|
153
|
+
"types": "./dist/src/unstable/extensions/refs/rule.d.ts"
|
|
148
154
|
},
|
|
149
155
|
"./unstable/extensions/refs/skill": {
|
|
150
|
-
"types": "./dist/src/unstable/extensions/refs/skill.d.ts",
|
|
151
156
|
"axm-source": "./src/unstable/extensions/refs/skill.ts",
|
|
152
|
-
"default": "./dist/src/unstable/extensions/refs/skill.js"
|
|
157
|
+
"default": "./dist/src/unstable/extensions/refs/skill.js",
|
|
158
|
+
"types": "./dist/src/unstable/extensions/refs/skill.d.ts"
|
|
153
159
|
},
|
|
154
160
|
"./unstable/extensions/refs/subagent": {
|
|
155
|
-
"types": "./dist/src/unstable/extensions/refs/subagent.d.ts",
|
|
156
161
|
"axm-source": "./src/unstable/extensions/refs/subagent.ts",
|
|
157
|
-
"default": "./dist/src/unstable/extensions/refs/subagent.js"
|
|
162
|
+
"default": "./dist/src/unstable/extensions/refs/subagent.js",
|
|
163
|
+
"types": "./dist/src/unstable/extensions/refs/subagent.d.ts"
|
|
158
164
|
},
|
|
159
165
|
"./unstable/extensions/registry-source": {
|
|
160
|
-
"types": "./dist/src/unstable/extensions/registry-source.d.ts",
|
|
161
166
|
"axm-source": "./src/unstable/extensions/registry-source.ts",
|
|
162
|
-
"default": "./dist/src/unstable/extensions/registry-source.js"
|
|
167
|
+
"default": "./dist/src/unstable/extensions/registry-source.js",
|
|
168
|
+
"types": "./dist/src/unstable/extensions/registry-source.d.ts"
|
|
163
169
|
},
|
|
164
170
|
"./unstable/extensions/release-age": {
|
|
165
|
-
"types": "./dist/src/unstable/extensions/release-age.d.ts",
|
|
166
171
|
"axm-source": "./src/unstable/extensions/release-age.ts",
|
|
167
|
-
"default": "./dist/src/unstable/extensions/release-age.js"
|
|
172
|
+
"default": "./dist/src/unstable/extensions/release-age.js",
|
|
173
|
+
"types": "./dist/src/unstable/extensions/release-age.d.ts"
|
|
168
174
|
},
|
|
169
175
|
"./unstable/extensions/universal-skills-dir": {
|
|
170
|
-
"types": "./dist/src/unstable/extensions/universal-skills-dir.d.ts",
|
|
171
176
|
"axm-source": "./src/unstable/extensions/universal-skills-dir.ts",
|
|
172
|
-
"default": "./dist/src/unstable/extensions/universal-skills-dir.js"
|
|
177
|
+
"default": "./dist/src/unstable/extensions/universal-skills-dir.js",
|
|
178
|
+
"types": "./dist/src/unstable/extensions/universal-skills-dir.d.ts"
|
|
173
179
|
},
|
|
174
180
|
"./unstable/hooks/manifest-schema": {
|
|
175
|
-
"types": "./dist/src/unstable/hooks/manifest-schema.d.ts",
|
|
176
181
|
"axm-source": "./src/unstable/hooks/manifest-schema.ts",
|
|
177
|
-
"default": "./dist/src/unstable/hooks/manifest-schema.js"
|
|
182
|
+
"default": "./dist/src/unstable/hooks/manifest-schema.js",
|
|
183
|
+
"types": "./dist/src/unstable/hooks/manifest-schema.d.ts"
|
|
178
184
|
},
|
|
179
185
|
"./unstable/knowledge": {
|
|
180
|
-
"types": "./dist/src/unstable/knowledge/index.d.ts",
|
|
181
186
|
"axm-source": "./src/unstable/knowledge/index.ts",
|
|
182
|
-
"default": "./dist/src/unstable/knowledge/index.js"
|
|
187
|
+
"default": "./dist/src/unstable/knowledge/index.js",
|
|
188
|
+
"types": "./dist/src/unstable/knowledge/index.d.ts"
|
|
183
189
|
},
|
|
184
190
|
"./unstable/knowledge/concept-ref": {
|
|
185
|
-
"types": "./dist/src/unstable/knowledge/concept-ref.d.ts",
|
|
186
191
|
"axm-source": "./src/unstable/knowledge/concept-ref.ts",
|
|
187
|
-
"default": "./dist/src/unstable/knowledge/concept-ref.js"
|
|
192
|
+
"default": "./dist/src/unstable/knowledge/concept-ref.js",
|
|
193
|
+
"types": "./dist/src/unstable/knowledge/concept-ref.d.ts"
|
|
188
194
|
},
|
|
189
195
|
"./unstable/knowledge/manifest-schema": {
|
|
190
|
-
"types": "./dist/src/unstable/knowledge/manifest-schema.d.ts",
|
|
191
196
|
"axm-source": "./src/unstable/knowledge/manifest-schema.ts",
|
|
192
|
-
"default": "./dist/src/unstable/knowledge/manifest-schema.js"
|
|
197
|
+
"default": "./dist/src/unstable/knowledge/manifest-schema.js",
|
|
198
|
+
"types": "./dist/src/unstable/knowledge/manifest-schema.d.ts"
|
|
193
199
|
},
|
|
194
200
|
"./unstable/mcps/manifest-schema": {
|
|
195
|
-
"types": "./dist/src/unstable/mcps/manifest-schema.d.ts",
|
|
196
201
|
"axm-source": "./src/unstable/mcps/manifest-schema.ts",
|
|
197
|
-
"default": "./dist/src/unstable/mcps/manifest-schema.js"
|
|
202
|
+
"default": "./dist/src/unstable/mcps/manifest-schema.js",
|
|
203
|
+
"types": "./dist/src/unstable/mcps/manifest-schema.d.ts"
|
|
198
204
|
},
|
|
199
205
|
"./unstable/package-urls": {
|
|
200
|
-
"types": "./dist/src/unstable/package-urls/index.d.ts",
|
|
201
206
|
"axm-source": "./src/unstable/package-urls/index.ts",
|
|
202
|
-
"default": "./dist/src/unstable/package-urls/index.js"
|
|
207
|
+
"default": "./dist/src/unstable/package-urls/index.js",
|
|
208
|
+
"types": "./dist/src/unstable/package-urls/index.d.ts"
|
|
203
209
|
},
|
|
204
210
|
"./unstable/packaging": {
|
|
205
|
-
"types": "./dist/src/unstable/packaging/index.d.ts",
|
|
206
211
|
"axm-source": "./src/unstable/packaging/index.ts",
|
|
207
|
-
"default": "./dist/src/unstable/packaging/index.js"
|
|
212
|
+
"default": "./dist/src/unstable/packaging/index.js",
|
|
213
|
+
"types": "./dist/src/unstable/packaging/index.d.ts"
|
|
208
214
|
},
|
|
209
215
|
"./unstable/packaging/package-type": {
|
|
210
|
-
"types": "./dist/src/unstable/packaging/package-type.d.ts",
|
|
211
216
|
"axm-source": "./src/unstable/packaging/package-type.ts",
|
|
212
|
-
"default": "./dist/src/unstable/packaging/package-type.js"
|
|
217
|
+
"default": "./dist/src/unstable/packaging/package-type.js",
|
|
218
|
+
"types": "./dist/src/unstable/packaging/package-type.d.ts"
|
|
213
219
|
},
|
|
214
220
|
"./unstable/packaging/package-url": {
|
|
215
|
-
"types": "./dist/src/unstable/packaging/package-url.d.ts",
|
|
216
221
|
"axm-source": "./src/unstable/packaging/package-url.ts",
|
|
217
|
-
"default": "./dist/src/unstable/packaging/package-url.js"
|
|
222
|
+
"default": "./dist/src/unstable/packaging/package-url.js",
|
|
223
|
+
"types": "./dist/src/unstable/packaging/package-url.d.ts"
|
|
218
224
|
},
|
|
219
225
|
"./unstable/packs/manifest-schema": {
|
|
220
|
-
"types": "./dist/src/unstable/packs/manifest-schema.d.ts",
|
|
221
226
|
"axm-source": "./src/unstable/packs/manifest-schema.ts",
|
|
222
|
-
"default": "./dist/src/unstable/packs/manifest-schema.js"
|
|
227
|
+
"default": "./dist/src/unstable/packs/manifest-schema.js",
|
|
228
|
+
"types": "./dist/src/unstable/packs/manifest-schema.d.ts"
|
|
223
229
|
},
|
|
224
230
|
"./unstable/path-types": {
|
|
225
|
-
"types": "./dist/src/unstable/path-types.d.ts",
|
|
226
231
|
"axm-source": "./src/unstable/path-types.ts",
|
|
227
|
-
"default": "./dist/src/unstable/path-types.js"
|
|
232
|
+
"default": "./dist/src/unstable/path-types.js",
|
|
233
|
+
"types": "./dist/src/unstable/path-types.d.ts"
|
|
228
234
|
},
|
|
229
235
|
"./unstable/release-channel": {
|
|
230
|
-
"types": "./dist/src/unstable/release-channel.d.ts",
|
|
231
236
|
"axm-source": "./src/unstable/release-channel.ts",
|
|
232
|
-
"default": "./dist/src/unstable/release-channel.js"
|
|
237
|
+
"default": "./dist/src/unstable/release-channel.js",
|
|
238
|
+
"types": "./dist/src/unstable/release-channel.d.ts"
|
|
233
239
|
},
|
|
234
240
|
"./unstable/rules/manifest-schema": {
|
|
235
|
-
"types": "./dist/src/unstable/rules/manifest-schema.d.ts",
|
|
236
241
|
"axm-source": "./src/unstable/rules/manifest-schema.ts",
|
|
237
|
-
"default": "./dist/src/unstable/rules/manifest-schema.js"
|
|
242
|
+
"default": "./dist/src/unstable/rules/manifest-schema.js",
|
|
243
|
+
"types": "./dist/src/unstable/rules/manifest-schema.d.ts"
|
|
238
244
|
},
|
|
239
245
|
"./unstable/schema-issues": {
|
|
240
|
-
"types": "./dist/src/unstable/schema-issues.d.ts",
|
|
241
246
|
"axm-source": "./src/unstable/schema-issues.ts",
|
|
242
|
-
"default": "./dist/src/unstable/schema-issues.js"
|
|
247
|
+
"default": "./dist/src/unstable/schema-issues.js",
|
|
248
|
+
"types": "./dist/src/unstable/schema-issues.d.ts"
|
|
243
249
|
},
|
|
244
250
|
"./unstable/skills/manifest-schema": {
|
|
245
|
-
"types": "./dist/src/unstable/skills/manifest-schema.d.ts",
|
|
246
251
|
"axm-source": "./src/unstable/skills/manifest-schema.ts",
|
|
247
|
-
"default": "./dist/src/unstable/skills/manifest-schema.js"
|
|
252
|
+
"default": "./dist/src/unstable/skills/manifest-schema.js",
|
|
253
|
+
"types": "./dist/src/unstable/skills/manifest-schema.d.ts"
|
|
248
254
|
},
|
|
249
255
|
"./unstable/sources/forge-grammar": {
|
|
250
|
-
"types": "./dist/src/unstable/sources/forge-grammar.d.ts",
|
|
251
256
|
"axm-source": "./src/unstable/sources/forge-grammar.ts",
|
|
252
|
-
"default": "./dist/src/unstable/sources/forge-grammar.js"
|
|
257
|
+
"default": "./dist/src/unstable/sources/forge-grammar.js",
|
|
258
|
+
"types": "./dist/src/unstable/sources/forge-grammar.d.ts"
|
|
253
259
|
},
|
|
254
260
|
"./unstable/sources/parser": {
|
|
255
|
-
"types": "./dist/src/unstable/sources/parser.d.ts",
|
|
256
261
|
"axm-source": "./src/unstable/sources/parser.ts",
|
|
257
|
-
"default": "./dist/src/unstable/sources/parser.js"
|
|
262
|
+
"default": "./dist/src/unstable/sources/parser.js",
|
|
263
|
+
"types": "./dist/src/unstable/sources/parser.d.ts"
|
|
258
264
|
},
|
|
259
265
|
"./unstable/sources/printer": {
|
|
260
|
-
"types": "./dist/src/unstable/sources/printer.d.ts",
|
|
261
266
|
"axm-source": "./src/unstable/sources/printer.ts",
|
|
262
|
-
"default": "./dist/src/unstable/sources/printer.js"
|
|
267
|
+
"default": "./dist/src/unstable/sources/printer.js",
|
|
268
|
+
"types": "./dist/src/unstable/sources/printer.d.ts"
|
|
263
269
|
},
|
|
264
270
|
"./unstable/sources/source-hash": {
|
|
265
|
-
"types": "./dist/src/unstable/sources/source-hash.d.ts",
|
|
266
271
|
"axm-source": "./src/unstable/sources/source-hash.ts",
|
|
267
|
-
"default": "./dist/src/unstable/sources/source-hash.js"
|
|
272
|
+
"default": "./dist/src/unstable/sources/source-hash.js",
|
|
273
|
+
"types": "./dist/src/unstable/sources/source-hash.d.ts"
|
|
268
274
|
},
|
|
269
275
|
"./unstable/sources/source-host-provider": {
|
|
270
|
-
"types": "./dist/src/unstable/sources/source-host-provider.d.ts",
|
|
271
276
|
"axm-source": "./src/unstable/sources/source-host-provider.ts",
|
|
272
|
-
"default": "./dist/src/unstable/sources/source-host-provider.js"
|
|
277
|
+
"default": "./dist/src/unstable/sources/source-host-provider.js",
|
|
278
|
+
"types": "./dist/src/unstable/sources/source-host-provider.d.ts"
|
|
273
279
|
},
|
|
274
280
|
"./unstable/sources/types": {
|
|
275
|
-
"types": "./dist/src/unstable/sources/types.d.ts",
|
|
276
281
|
"axm-source": "./src/unstable/sources/types.ts",
|
|
277
|
-
"default": "./dist/src/unstable/sources/types.js"
|
|
282
|
+
"default": "./dist/src/unstable/sources/types.js",
|
|
283
|
+
"types": "./dist/src/unstable/sources/types.d.ts"
|
|
278
284
|
},
|
|
279
285
|
"./unstable/sources/workspace": {
|
|
280
|
-
"types": "./dist/src/unstable/sources/workspace.d.ts",
|
|
281
286
|
"axm-source": "./src/unstable/sources/workspace.ts",
|
|
282
|
-
"default": "./dist/src/unstable/sources/workspace.js"
|
|
287
|
+
"default": "./dist/src/unstable/sources/workspace.js",
|
|
288
|
+
"types": "./dist/src/unstable/sources/workspace.d.ts"
|
|
283
289
|
},
|
|
284
290
|
"./unstable/specifications": {
|
|
285
|
-
"types": "./dist/src/unstable/specifications/index.d.ts",
|
|
286
291
|
"axm-source": "./src/unstable/specifications/index.ts",
|
|
287
|
-
"default": "./dist/src/unstable/specifications/index.js"
|
|
292
|
+
"default": "./dist/src/unstable/specifications/index.js",
|
|
293
|
+
"types": "./dist/src/unstable/specifications/index.d.ts"
|
|
288
294
|
},
|
|
289
295
|
"./unstable/subagents/manifest-schema": {
|
|
290
|
-
"types": "./dist/src/unstable/subagents/manifest-schema.d.ts",
|
|
291
296
|
"axm-source": "./src/unstable/subagents/manifest-schema.ts",
|
|
292
|
-
"default": "./dist/src/unstable/subagents/manifest-schema.js"
|
|
297
|
+
"default": "./dist/src/unstable/subagents/manifest-schema.js",
|
|
298
|
+
"types": "./dist/src/unstable/subagents/manifest-schema.d.ts"
|
|
293
299
|
},
|
|
294
300
|
"./unstable/version-constraints": {
|
|
295
|
-
"types": "./dist/src/unstable/version-constraints/version-constraints.d.ts",
|
|
296
301
|
"axm-source": "./src/unstable/version-constraints/version-constraints.ts",
|
|
297
|
-
"default": "./dist/src/unstable/version-constraints/version-constraints.js"
|
|
302
|
+
"default": "./dist/src/unstable/version-constraints/version-constraints.js",
|
|
303
|
+
"types": "./dist/src/unstable/version-constraints/version-constraints.d.ts"
|
|
298
304
|
},
|
|
299
305
|
"./unstable/workspace-files": {
|
|
300
|
-
"types": "./dist/src/unstable/workspace-files.d.ts",
|
|
301
306
|
"axm-source": "./src/unstable/workspace-files.ts",
|
|
302
|
-
"default": "./dist/src/unstable/workspace-files.js"
|
|
307
|
+
"default": "./dist/src/unstable/workspace-files.js",
|
|
308
|
+
"types": "./dist/src/unstable/workspace-files.d.ts"
|
|
303
309
|
},
|
|
304
310
|
"./unstable/workspace-scope": {
|
|
305
|
-
"types": "./dist/src/unstable/workspace-scope.d.ts",
|
|
306
311
|
"axm-source": "./src/unstable/workspace-scope.ts",
|
|
307
|
-
"default": "./dist/src/unstable/workspace-scope.js"
|
|
312
|
+
"default": "./dist/src/unstable/workspace-scope.js",
|
|
313
|
+
"types": "./dist/src/unstable/workspace-scope.d.ts"
|
|
308
314
|
}
|
|
309
315
|
},
|
|
310
316
|
"files": [
|
|
311
317
|
"dist/src/",
|
|
312
318
|
"!**/*.map"
|
|
313
319
|
],
|
|
314
|
-
"
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
"engines": {
|
|
318
|
-
"node": ">=22.19.0"
|
|
319
|
-
},
|
|
320
|
+
"homepage": "https://axm.sh",
|
|
321
|
+
"license": "FSL-1.1-MIT",
|
|
322
|
+
"name": "@agentxm/extension-model",
|
|
320
323
|
"nx": {
|
|
321
324
|
"includedScripts": []
|
|
322
325
|
},
|
|
323
|
-
"
|
|
324
|
-
"
|
|
325
|
-
"packageurl-js": "^2.0.1",
|
|
326
|
-
"semver": "^7.8.5",
|
|
327
|
-
"spdx-expression-parse": "4.0.0"
|
|
326
|
+
"publishConfig": {
|
|
327
|
+
"access": "public"
|
|
328
328
|
},
|
|
329
|
-
"
|
|
330
|
-
"
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
}
|
|
329
|
+
"repository": {
|
|
330
|
+
"directory": "packages/extension-model",
|
|
331
|
+
"type": "git",
|
|
332
|
+
"url": "https://github.com/agentxm/axm.git"
|
|
333
|
+
},
|
|
334
|
+
"sideEffects": false,
|
|
335
|
+
"type": "module",
|
|
336
|
+
"version": "0.28.9"
|
|
337
|
+
}
|