@agentxm/client-core 0.7.2 → 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.
|
@@ -8,13 +8,27 @@
|
|
|
8
8
|
* @experimental This API is unstable and may change without notice.
|
|
9
9
|
* @packageDocumentation
|
|
10
10
|
*/
|
|
11
|
+
import type { PackRuleContext, SkillRuleContext } from "./context.js";
|
|
12
|
+
import type { LintRule } from "./rule.js";
|
|
11
13
|
export { composePath } from "./compose-path.js";
|
|
12
14
|
export { evaluateContexts, type Evaluated } from "./evaluate.js";
|
|
13
15
|
export type { LintConfig } from "./config.js";
|
|
14
16
|
export type { FileAccessError, PackContent, PackFileAccessor, PackRuleContext, SkillContent, SkillFileAccessor, SkillRuleContext, } from "./context.js";
|
|
15
17
|
export type { LintFinding, LintRule } from "./rule.js";
|
|
16
|
-
export { packRules } from "./catalog/pack.js";
|
|
17
|
-
export { skillRules } from "./catalog/skill.js";
|
|
18
18
|
export { makeVftPackFileAccessor, type PackVFTNode } from "./catalog/pack-accessor/vft.js";
|
|
19
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>>;
|
|
20
34
|
//# sourceMappingURL=publish.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../../../src/unstable/lint/publish.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;
|
|
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"}
|
|
@@ -8,10 +8,40 @@
|
|
|
8
8
|
* @experimental This API is unstable and may change without notice.
|
|
9
9
|
* @packageDocumentation
|
|
10
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";
|
|
11
19
|
export { composePath } from "./compose-path.js";
|
|
12
20
|
export { evaluateContexts } from "./evaluate.js";
|
|
13
|
-
export { packRules } from "./catalog/pack.js";
|
|
14
|
-
export { skillRules } from "./catalog/skill.js";
|
|
15
21
|
export { makeVftPackFileAccessor } from "./catalog/pack-accessor/vft.js";
|
|
16
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
|
+
];
|
|
17
47
|
//# sourceMappingURL=publish.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish.js","sourceRoot":"","sources":["../../../../src/unstable/lint/publish.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,
|
|
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",
|
|
@@ -222,6 +222,6 @@
|
|
|
222
222
|
"typescript": "^5.9.3",
|
|
223
223
|
"vitest": "^4.1.5",
|
|
224
224
|
"yaml": "^2.8.4",
|
|
225
|
-
"@agentxm/client-utils": "^0.7.
|
|
225
|
+
"@agentxm/client-utils": "^0.7.3"
|
|
226
226
|
}
|
|
227
227
|
}
|