@agentxm/client-core 0.7.1 → 0.7.3
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.
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Registry-publish lint surface.
|
|
3
|
+
*
|
|
4
|
+
* This entry point intentionally exports only the primitives the registry
|
|
5
|
+
* publish gate needs. It avoids the full lint barrel because that surface also
|
|
6
|
+
* constructs workspace-settings schemas and workspace catalogs for `axm lint`.
|
|
7
|
+
*
|
|
8
|
+
* @experimental This API is unstable and may change without notice.
|
|
9
|
+
* @packageDocumentation
|
|
10
|
+
*/
|
|
11
|
+
import type { PackRuleContext, SkillRuleContext } from "./context.js";
|
|
12
|
+
import type { LintRule } from "./rule.js";
|
|
13
|
+
export { composePath } from "./compose-path.js";
|
|
14
|
+
export { evaluateContexts, type Evaluated } from "./evaluate.js";
|
|
15
|
+
export type { LintConfig } from "./config.js";
|
|
16
|
+
export type { FileAccessError, PackContent, PackFileAccessor, PackRuleContext, SkillContent, SkillFileAccessor, SkillRuleContext, } from "./context.js";
|
|
17
|
+
export type { LintFinding, LintRule } from "./rule.js";
|
|
18
|
+
export { makeVftPackFileAccessor, type PackVFTNode } from "./catalog/pack-accessor/vft.js";
|
|
19
|
+
export { makeVftSkillFileAccessor, makeVftSkillFileAccessorScoped, type VFTNode, } from "./catalog/skill-accessor/vft.js";
|
|
20
|
+
/**
|
|
21
|
+
* Ordered publish-safe `pack/*` rule catalog.
|
|
22
|
+
*
|
|
23
|
+
* This intentionally avoids `./catalog/pack.js`, whose module-load rule-id
|
|
24
|
+
* registration imports the workspace lint config schema.
|
|
25
|
+
*/
|
|
26
|
+
export declare const packRules: ReadonlyArray<LintRule<PackRuleContext>>;
|
|
27
|
+
/**
|
|
28
|
+
* Ordered publish-safe `skill/*` rule catalog.
|
|
29
|
+
*
|
|
30
|
+
* This intentionally avoids `./catalog/skill.js`, whose module-load rule-id
|
|
31
|
+
* registration imports the workspace lint config schema.
|
|
32
|
+
*/
|
|
33
|
+
export declare const skillRules: ReadonlyArray<LintRule<SkillRuleContext>>;
|
|
34
|
+
//# sourceMappingURL=publish.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../../../src/unstable/lint/publish.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAUH,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AACjE,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,YAAY,EACV,eAAe,EACf,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,cAAc,CAAC;AACtB,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,KAAK,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC3F,OAAO,EACL,wBAAwB,EACxB,8BAA8B,EAC9B,KAAK,OAAO,GACb,MAAM,iCAAiC,CAAC;AAEzC;;;;;GAKG;AACH,eAAO,MAAM,SAAS,EAAE,aAAa,CAAC,QAAQ,CAAC,eAAe,CAAC,CAI9D,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,aAAa,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAMhE,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Registry-publish lint surface.
|
|
3
|
+
*
|
|
4
|
+
* This entry point intentionally exports only the primitives the registry
|
|
5
|
+
* publish gate needs. It avoids the full lint barrel because that surface also
|
|
6
|
+
* constructs workspace-settings schemas and workspace catalogs for `axm lint`.
|
|
7
|
+
*
|
|
8
|
+
* @experimental This API is unstable and may change without notice.
|
|
9
|
+
* @packageDocumentation
|
|
10
|
+
*/
|
|
11
|
+
import { manifestKeysRecognizedRule as packManifestKeysRecognizedRule } from "./catalog/pack/manifest-keys-recognized.js";
|
|
12
|
+
import { manifestPresentRule as packManifestPresentRule } from "./catalog/pack/manifest-present.js";
|
|
13
|
+
import { manifestSchemaValidRule as packManifestSchemaValidRule } from "./catalog/pack/manifest-schema-valid.js";
|
|
14
|
+
import { frontmatterParseableRule as skillFrontmatterParseableRule } from "./catalog/skill/frontmatter-parseable.js";
|
|
15
|
+
import { manifestKeysRecognizedRule as skillManifestKeysRecognizedRule } from "./catalog/skill/manifest-keys-recognized.js";
|
|
16
|
+
import { manifestPresentRule as skillManifestPresentRule } from "./catalog/skill/manifest-present.js";
|
|
17
|
+
import { manifestSchemaValidRule as skillManifestSchemaValidRule } from "./catalog/skill/manifest-schema-valid.js";
|
|
18
|
+
import { skillMdPresentRule } from "./catalog/skill/skill-md-present.js";
|
|
19
|
+
export { composePath } from "./compose-path.js";
|
|
20
|
+
export { evaluateContexts } from "./evaluate.js";
|
|
21
|
+
export { makeVftPackFileAccessor } from "./catalog/pack-accessor/vft.js";
|
|
22
|
+
export { makeVftSkillFileAccessor, makeVftSkillFileAccessorScoped, } from "./catalog/skill-accessor/vft.js";
|
|
23
|
+
/**
|
|
24
|
+
* Ordered publish-safe `pack/*` rule catalog.
|
|
25
|
+
*
|
|
26
|
+
* This intentionally avoids `./catalog/pack.js`, whose module-load rule-id
|
|
27
|
+
* registration imports the workspace lint config schema.
|
|
28
|
+
*/
|
|
29
|
+
export const packRules = [
|
|
30
|
+
packManifestPresentRule,
|
|
31
|
+
packManifestSchemaValidRule,
|
|
32
|
+
packManifestKeysRecognizedRule,
|
|
33
|
+
];
|
|
34
|
+
/**
|
|
35
|
+
* Ordered publish-safe `skill/*` rule catalog.
|
|
36
|
+
*
|
|
37
|
+
* This intentionally avoids `./catalog/skill.js`, whose module-load rule-id
|
|
38
|
+
* registration imports the workspace lint config schema.
|
|
39
|
+
*/
|
|
40
|
+
export const skillRules = [
|
|
41
|
+
skillMdPresentRule,
|
|
42
|
+
skillManifestPresentRule,
|
|
43
|
+
skillFrontmatterParseableRule,
|
|
44
|
+
skillManifestSchemaValidRule,
|
|
45
|
+
skillManifestKeysRecognizedRule,
|
|
46
|
+
];
|
|
47
|
+
//# sourceMappingURL=publish.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publish.js","sourceRoot":"","sources":["../../../../src/unstable/lint/publish.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,0BAA0B,IAAI,8BAA8B,EAAE,MAAM,4CAA4C,CAAC;AAC1H,OAAO,EAAE,mBAAmB,IAAI,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AACpG,OAAO,EAAE,uBAAuB,IAAI,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACjH,OAAO,EAAE,wBAAwB,IAAI,6BAA6B,EAAE,MAAM,0CAA0C,CAAC;AACrH,OAAO,EAAE,0BAA0B,IAAI,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AAC5H,OAAO,EAAE,mBAAmB,IAAI,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AACtG,OAAO,EAAE,uBAAuB,IAAI,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AACnH,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAIzE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAkB,MAAM,eAAe,CAAC;AAYjE,OAAO,EAAE,uBAAuB,EAAoB,MAAM,gCAAgC,CAAC;AAC3F,OAAO,EACL,wBAAwB,EACxB,8BAA8B,GAE/B,MAAM,iCAAiC,CAAC;AAEzC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,SAAS,GAA6C;IACjE,uBAAuB;IACvB,2BAA2B;IAC3B,8BAA8B;CAC/B,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAA8C;IACnE,kBAAkB;IAClB,wBAAwB;IACxB,6BAA6B;IAC7B,4BAA4B;IAC5B,+BAA+B;CAChC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentxm/client-core",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "Core library for the axm agent extension manager. Unstable and unsupported — use the axm.sh CLI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -115,6 +115,10 @@
|
|
|
115
115
|
"types": "./dist/src/unstable/lint/index.d.ts",
|
|
116
116
|
"default": "./dist/src/unstable/lint/index.js"
|
|
117
117
|
},
|
|
118
|
+
"./unstable/lint/publish": {
|
|
119
|
+
"types": "./dist/src/unstable/lint/publish.d.ts",
|
|
120
|
+
"default": "./dist/src/unstable/lint/publish.js"
|
|
121
|
+
},
|
|
118
122
|
"./unstable/workspace": {
|
|
119
123
|
"types": "./dist/src/unstable/workspace/index.d.ts",
|
|
120
124
|
"default": "./dist/src/unstable/workspace/index.js"
|
|
@@ -218,6 +222,6 @@
|
|
|
218
222
|
"typescript": "^5.9.3",
|
|
219
223
|
"vitest": "^4.1.5",
|
|
220
224
|
"yaml": "^2.8.4",
|
|
221
|
-
"@agentxm/client-utils": "^0.7.
|
|
225
|
+
"@agentxm/client-utils": "^0.7.3"
|
|
222
226
|
}
|
|
223
227
|
}
|