@a16njs/models 0.3.0 → 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 +11 -3
- package/dist/helpers.d.ts +12 -3
- package/dist/helpers.d.ts.map +1 -1
- package/dist/helpers.js +14 -3
- package/dist/helpers.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +43 -6
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +4 -2
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @a16njs/models
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@a16njs/models)
|
|
4
|
+
|
|
3
5
|
Type definitions and plugin interface for a16n.
|
|
4
6
|
|
|
5
7
|
## Installation
|
|
@@ -25,10 +27,11 @@ import {
|
|
|
25
27
|
|
|
26
28
|
### Types
|
|
27
29
|
|
|
28
|
-
- `CustomizationType` - Enum of customization types (GlobalPrompt,
|
|
30
|
+
- `CustomizationType` - Enum of customization types (GlobalPrompt, SimpleAgentSkill, AgentSkillIO, FileRule, AgentIgnore, ManualPrompt)
|
|
29
31
|
- `AgentCustomization` - Base interface for all customizations
|
|
30
32
|
- `GlobalPrompt` - Always-applied prompts
|
|
31
|
-
- `
|
|
33
|
+
- `SimpleAgentSkill` - Context-triggered by description
|
|
34
|
+
- `AgentSkillIO` - Complex skills with resources/files
|
|
32
35
|
- `FileRule` - Triggered by file patterns
|
|
33
36
|
- `AgentIgnore` - Ignore patterns
|
|
34
37
|
- `ManualPrompt` - User-invoked prompts (e.g., `/command`), stored in `.cursor/skills/` or `.claude/skills/` with `disable-model-invocation: true`
|
|
@@ -48,8 +51,13 @@ import {
|
|
|
48
51
|
### Helpers
|
|
49
52
|
|
|
50
53
|
- `isGlobalPrompt(item)` - Type guard for GlobalPrompt
|
|
51
|
-
- `
|
|
54
|
+
- `isSimpleAgentSkill(item)` - Type guard for SimpleAgentSkill
|
|
55
|
+
- `isAgentSkillIO(item)` - Type guard for AgentSkillIO
|
|
52
56
|
- `isFileRule(item)` - Type guard for FileRule
|
|
53
57
|
- `isAgentIgnore(item)` - Type guard for AgentIgnore
|
|
54
58
|
- `isManualPrompt(item)` - Type guard for ManualPrompt
|
|
55
59
|
- `createId(type, sourcePath)` - Create unique ID
|
|
60
|
+
|
|
61
|
+
## Documentation
|
|
62
|
+
|
|
63
|
+
Full documentation available at <https://texarkanine.github.io/a16n/models>.
|
package/dist/helpers.d.ts
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
|
-
import { type AgentCustomization, type GlobalPrompt, type
|
|
1
|
+
import { type AgentCustomization, type GlobalPrompt, type SimpleAgentSkill, type AgentSkillIO, type FileRule, type AgentIgnore, type ManualPrompt, CustomizationType } from './types.js';
|
|
2
2
|
/**
|
|
3
3
|
* Type guard to check if an item is a GlobalPrompt.
|
|
4
4
|
*/
|
|
5
5
|
export declare function isGlobalPrompt(item: AgentCustomization): item is GlobalPrompt;
|
|
6
6
|
/**
|
|
7
|
-
* Type guard to check if an item is
|
|
7
|
+
* Type guard to check if an item is a SimpleAgentSkill.
|
|
8
8
|
*/
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function isSimpleAgentSkill(item: AgentCustomization): item is SimpleAgentSkill;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Use isSimpleAgentSkill instead.
|
|
12
|
+
* This alias is provided for backward compatibility.
|
|
13
|
+
*/
|
|
14
|
+
export declare const isAgentSkill: typeof isSimpleAgentSkill;
|
|
15
|
+
/**
|
|
16
|
+
* Type guard to check if an item is an AgentSkillIO (full AgentSkills.io skill).
|
|
17
|
+
*/
|
|
18
|
+
export declare function isAgentSkillIO(item: AgentCustomization): item is AgentSkillIO;
|
|
10
19
|
/**
|
|
11
20
|
* Type guard to check if an item is a FileRule.
|
|
12
21
|
*/
|
package/dist/helpers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,iBAAiB,EAClB,MAAM,YAAY,CAAC;AAEpB;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,kBAAkB,GAAG,IAAI,IAAI,YAAY,CAE7E;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,kBAAkB,GAAG,IAAI,IAAI,gBAAgB,CAErF;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,2BAAqB,CAAC;AAE/C;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,kBAAkB,GAAG,IAAI,IAAI,YAAY,CAE7E;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,kBAAkB,GAAG,IAAI,IAAI,QAAQ,CAErE;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,kBAAkB,GAAG,IAAI,IAAI,WAAW,CAE3E;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,kBAAkB,GAAG,IAAI,IAAI,YAAY,CAE7E;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,EACtB,SAAS,SAAK,GACb,MAAM,CASR;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAE5E"}
|
package/dist/helpers.js
CHANGED
|
@@ -6,10 +6,21 @@ export function isGlobalPrompt(item) {
|
|
|
6
6
|
return item.type === CustomizationType.GlobalPrompt;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
|
-
* Type guard to check if an item is
|
|
9
|
+
* Type guard to check if an item is a SimpleAgentSkill.
|
|
10
10
|
*/
|
|
11
|
-
export function
|
|
12
|
-
return item.type === CustomizationType.
|
|
11
|
+
export function isSimpleAgentSkill(item) {
|
|
12
|
+
return item.type === CustomizationType.SimpleAgentSkill;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated Use isSimpleAgentSkill instead.
|
|
16
|
+
* This alias is provided for backward compatibility.
|
|
17
|
+
*/
|
|
18
|
+
export const isAgentSkill = isSimpleAgentSkill;
|
|
19
|
+
/**
|
|
20
|
+
* Type guard to check if an item is an AgentSkillIO (full AgentSkills.io skill).
|
|
21
|
+
*/
|
|
22
|
+
export function isAgentSkillIO(item) {
|
|
23
|
+
return item.type === CustomizationType.AgentSkillIO;
|
|
13
24
|
}
|
|
14
25
|
/**
|
|
15
26
|
* Type guard to check if an item is a FileRule.
|
package/dist/helpers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,iBAAiB,GAClB,MAAM,YAAY,CAAC;AAEpB;;GAEG;AACH,MAAM,UAAU,cAAc,CAAC,IAAwB;IACrD,OAAO,IAAI,CAAC,IAAI,KAAK,iBAAiB,CAAC,YAAY,CAAC;AACtD,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAAC,IAAwB;IACzD,OAAO,IAAI,CAAC,IAAI,KA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gentCustomization, type GlobalPrompt, type
|
|
1
|
+
export { CustomizationType, type AgentCustomization, type GlobalPrompt, type SimpleAgentSkill, type AgentSkill, // Deprecated alias for SimpleAgentSkill
|
|
2
|
+
type AgentSkillIO, type FileRule, type AgentIgnore, type ManualPrompt, } from './types.js';
|
|
2
3
|
export { type A16nPlugin, type DiscoveryResult, type EmitResult, type EmitOptions, type WrittenFile, } from './plugin.js';
|
|
3
4
|
export { WarningCode, type Warning } from './warnings.js';
|
|
4
|
-
export { isGlobalPrompt,
|
|
5
|
+
export { isGlobalPrompt, isSimpleAgentSkill, isAgentSkill, // Deprecated alias for isSimpleAgentSkill
|
|
6
|
+
isAgentSkillIO, isFileRule, isAgentIgnore, isManualPrompt, getUniqueFilename, createId, } from './helpers.js';
|
|
5
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,iBAAiB,EACjB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,iBAAiB,EACjB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,UAAU,EAAE,wCAAwC;AACzD,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,YAAY,GAClB,MAAM,YAAY,CAAC;AAGpB,OAAO,EACL,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,WAAW,GACjB,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,WAAW,EAAE,KAAK,OAAO,EAAE,MAAM,eAAe,CAAC;AAG1D,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,YAAY,EAAE,0CAA0C;AACxD,cAAc,EACd,UAAU,EACV,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,QAAQ,GACT,MAAM,cAAc,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -4,5 +4,6 @@ export { CustomizationType, } from './types.js';
|
|
|
4
4
|
// Warnings
|
|
5
5
|
export { WarningCode } from './warnings.js';
|
|
6
6
|
// Helpers
|
|
7
|
-
export { isGlobalPrompt,
|
|
7
|
+
export { isGlobalPrompt, isSimpleAgentSkill, isAgentSkill, // Deprecated alias for isSimpleAgentSkill
|
|
8
|
+
isAgentSkillIO, isFileRule, isAgentIgnore, isManualPrompt, getUniqueFilename, createId, } from './helpers.js';
|
|
8
9
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAElE,QAAQ;AACR,OAAO,EACL,iBAAiB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAElE,QAAQ;AACR,OAAO,EACL,iBAAiB,GASlB,MAAM,YAAY,CAAC;AAWpB,WAAW;AACX,OAAO,EAAE,WAAW,EAAgB,MAAM,eAAe,CAAC;AAE1D,UAAU;AACV,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,YAAY,EAAE,0CAA0C;AACxD,cAAc,EACd,UAAU,EACV,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,QAAQ,GACT,MAAM,cAAc,CAAC"}
|
package/dist/types.d.ts
CHANGED
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
export declare enum CustomizationType {
|
|
6
6
|
/** Always-applied prompts (CLAUDE.md, alwaysApply rules) */
|
|
7
7
|
GlobalPrompt = "global-prompt",
|
|
8
|
-
/**
|
|
9
|
-
|
|
8
|
+
/** Simple skill triggered by description matching (no resources or extra files) */
|
|
9
|
+
SimpleAgentSkill = "simple-agent-skill",
|
|
10
|
+
/** Full AgentSkills.io standard skill with resources and multiple files (NO hooks) */
|
|
11
|
+
AgentSkillIO = "agent-skill-io",
|
|
10
12
|
/** Triggered by file glob patterns */
|
|
11
13
|
FileRule = "file-rule",
|
|
12
14
|
/** Files/patterns to exclude from agent context */
|
|
@@ -38,14 +40,49 @@ export interface GlobalPrompt extends AgentCustomization {
|
|
|
38
40
|
type: CustomizationType.GlobalPrompt;
|
|
39
41
|
}
|
|
40
42
|
/**
|
|
41
|
-
* A skill that is activated by description matching.
|
|
42
|
-
* Examples: Cursor rules with description but no globs
|
|
43
|
+
* A simple skill that is activated by description matching.
|
|
44
|
+
* Examples: Cursor rules with description but no globs, simple SKILL.md files
|
|
45
|
+
*
|
|
46
|
+
* For full AgentSkills.io standard skills with resources and files,
|
|
47
|
+
* use AgentSkillIO instead.
|
|
43
48
|
*/
|
|
44
|
-
export interface
|
|
45
|
-
type: CustomizationType.
|
|
49
|
+
export interface SimpleAgentSkill extends AgentCustomization {
|
|
50
|
+
type: CustomizationType.SimpleAgentSkill;
|
|
46
51
|
/** What triggers this skill */
|
|
47
52
|
description: string;
|
|
48
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated Use SimpleAgentSkill instead.
|
|
56
|
+
* This type alias is provided for backward compatibility.
|
|
57
|
+
*/
|
|
58
|
+
export type AgentSkill = SimpleAgentSkill;
|
|
59
|
+
/**
|
|
60
|
+
* Full AgentSkills.io standard skill.
|
|
61
|
+
* Supports multiple resource files in the skill directory.
|
|
62
|
+
*
|
|
63
|
+
* NOTE: Hooks are NOT part of AgentSkills.io and are not supported.
|
|
64
|
+
* Skills with hooks should be skipped during discovery with a warning.
|
|
65
|
+
*
|
|
66
|
+
* Use this type for skills that include:
|
|
67
|
+
* - Resource files (checklists, configs, scripts)
|
|
68
|
+
* - Multiple files in a skill directory
|
|
69
|
+
*/
|
|
70
|
+
export interface AgentSkillIO extends AgentCustomization {
|
|
71
|
+
type: CustomizationType.AgentSkillIO;
|
|
72
|
+
/** Skill name (from frontmatter or directory name) */
|
|
73
|
+
name: string;
|
|
74
|
+
/** Description for activation matching (required) */
|
|
75
|
+
description: string;
|
|
76
|
+
/** Optional: Resource file paths relative to skill directory */
|
|
77
|
+
resources?: string[];
|
|
78
|
+
/** Optional: If true, only invoked via /name */
|
|
79
|
+
disableModelInvocation?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Map of additional files in the skill directory.
|
|
82
|
+
* Key: relative path, Value: file content
|
|
83
|
+
*/
|
|
84
|
+
files: Record<string, string>;
|
|
85
|
+
}
|
|
49
86
|
/**
|
|
50
87
|
* A rule that is triggered by file patterns.
|
|
51
88
|
* Examples: Cursor rules with globs
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,oBAAY,iBAAiB;IAC3B,4DAA4D;IAC5D,YAAY,kBAAkB;IAC9B,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,oBAAY,iBAAiB;IAC3B,4DAA4D;IAC5D,YAAY,kBAAkB;IAC9B,mFAAmF;IACnF,gBAAgB,uBAAuB;IACvC,sFAAsF;IACtF,YAAY,mBAAmB;IAC/B,sCAAsC;IACtC,QAAQ,cAAc;IACtB,mDAAmD;IACnD,WAAW,iBAAiB;IAC5B,wFAAwF;IACxF,YAAY,kBAAkB;CAC/B;AAED;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,sCAAsC;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,gCAAgC;IAChC,IAAI,EAAE,iBAAiB,CAAC;IACxB,mDAAmD;IACnD,UAAU,EAAE,MAAM,CAAC;IACnB,qCAAqC;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,6DAA6D;IA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}
|
package/dist/types.js
CHANGED
|
@@ -6,8 +6,10 @@ export var CustomizationType;
|
|
|
6
6
|
(function (CustomizationType) {
|
|
7
7
|
/** Always-applied prompts (CLAUDE.md, alwaysApply rules) */
|
|
8
8
|
CustomizationType["GlobalPrompt"] = "global-prompt";
|
|
9
|
-
/**
|
|
10
|
-
CustomizationType["
|
|
9
|
+
/** Simple skill triggered by description matching (no resources or extra files) */
|
|
10
|
+
CustomizationType["SimpleAgentSkill"] = "simple-agent-skill";
|
|
11
|
+
/** Full AgentSkills.io standard skill with resources and multiple files (NO hooks) */
|
|
12
|
+
CustomizationType["AgentSkillIO"] = "agent-skill-io";
|
|
11
13
|
/** Triggered by file glob patterns */
|
|
12
14
|
CustomizationType["FileRule"] = "file-rule";
|
|
13
15
|
/** Files/patterns to exclude from agent context */
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAN,IAAY,iBAaX;AAbD,WAAY,iBAAiB;IAC3B,4DAA4D;IAC5D,mDAA8B,CAAA;IAC9B,mFAAmF;IACnF,4DAAuC,CAAA;IACvC,sFAAsF;IACtF,oDAA+B,CAAA;IAC/B,sCAAsC;IACtC,2CAAsB,CAAA;IACtB,mDAAmD;IACnD,iDAA4B,CAAA;IAC5B,wFAAwF;IACxF,mDAA8B,CAAA;AAChC,CAAC,EAbW,iBAAiB,KAAjB,iBAAiB,QAa5B"}
|