@konvert7/klint 0.33.1 → 0.34.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 +3 -1
- package/cli/help.ts +1 -1
- package/cli/install-skill.ts +1 -0
- package/core/skill.ts +1 -0
- package/klint.schema.json +1 -1
- package/klint.schema.yaml +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -127,6 +127,8 @@ klint install-skill
|
|
|
127
127
|
|
|
128
128
|
The skill is embedded in the native engine, so this works from every distribution — the npm package, the PyPI wheel, the NuGet tool, and the standalone binary — not just Node projects.
|
|
129
129
|
|
|
130
|
+
Run on a terminal without `--agents`, `--symlink`, or `--copy`, it asks which agents to install for and how to store the skill. That is true of every distribution: the npm CLI prompts through `@clack/prompts`, and the native engine — which the wheel, the NuGet tool, and the standalone binary all wrap — prompts through `inquire`. Passing any of those flags, or piping stdin (CI, scripts, hooks), skips the questions and uses the defaults.
|
|
131
|
+
|
|
130
132
|
### Shared layout (default)
|
|
131
133
|
|
|
132
134
|
By default the skill lives in exactly one place and every other agent directory points at it:
|
|
@@ -137,7 +139,7 @@ By default the skill lives in exactly one place and every other agent directory
|
|
|
137
139
|
.cursor/skills/klint-rules -> ../../.agents/skills/klint-rules
|
|
138
140
|
```
|
|
139
141
|
|
|
140
|
-
`.agents/skills` is where opencode and
|
|
142
|
+
`.agents/skills` is where opencode, Codex, and GitHub Copilot already read from, so it doubles as the hub. One source of truth means one file to diff, one receipt, and one warning when it drifts. The links are relative and stay inside the repo — nothing points into `node_modules`, so reinstalling dependencies can never break them.
|
|
141
143
|
|
|
142
144
|
Pass `--copy` instead to give every agent directory its own independent copy and receipt.
|
|
143
145
|
|
package/cli/help.ts
CHANGED
|
@@ -23,7 +23,7 @@ export function printHelp(): void {
|
|
|
23
23
|
" --debug print file resolution and rule progress to stderr",
|
|
24
24
|
"",
|
|
25
25
|
" install-skill install the rule-authoring skill into agent config directories",
|
|
26
|
-
" --agents <list> comma-separated: claude,opencode,cursor,codex (default: all)",
|
|
26
|
+
" --agents <list> comma-separated: claude,opencode,cursor,codex,copilot (default: all)",
|
|
27
27
|
" --symlink keep one skill in .agents/skills and symlink the",
|
|
28
28
|
" other agents to it (default)",
|
|
29
29
|
" --copy give every agent directory its own copy",
|
package/cli/install-skill.ts
CHANGED
|
@@ -20,6 +20,7 @@ const AGENT_TARGETS = [
|
|
|
20
20
|
{ value: "opencode", label: "opencode" },
|
|
21
21
|
{ value: "cursor", label: "Cursor" },
|
|
22
22
|
{ value: "codex", label: "Codex" },
|
|
23
|
+
{ value: "copilot", label: "GitHub Copilot" },
|
|
23
24
|
] as const satisfies ReadonlyArray<{ value: AgentKey; label: string }>;
|
|
24
25
|
|
|
25
26
|
interface InstallPlan {
|
package/core/skill.ts
CHANGED
package/klint.schema.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://raw.githubusercontent.com/konvert7/klint/refs/tags/v0.
|
|
3
|
+
"$id": "https://raw.githubusercontent.com/konvert7/klint/refs/tags/v0.34.0/klint.schema.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"$schema": {
|
package/klint.schema.yaml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
$schema: http://json-schema.org/draft-07/schema#
|
|
2
|
-
$id: https://raw.githubusercontent.com/konvert7/klint/refs/tags/v0.
|
|
2
|
+
$id: https://raw.githubusercontent.com/konvert7/klint/refs/tags/v0.34.0/klint.schema.json
|
|
3
3
|
type: object
|
|
4
4
|
properties:
|
|
5
5
|
$schema:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@konvert7/klint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.0",
|
|
4
4
|
"description": "Architecture-as-Code linter for TypeScript. Enforce layer boundaries, import rules, and singleton patterns in YAML.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -70,10 +70,10 @@
|
|
|
70
70
|
"zod": "^4.4.3"
|
|
71
71
|
},
|
|
72
72
|
"optionalDependencies": {
|
|
73
|
-
"@konvert7/klint-darwin-arm64": "0.
|
|
74
|
-
"@konvert7/klint-darwin-x64": "0.
|
|
75
|
-
"@konvert7/klint-linux-x64": "0.
|
|
76
|
-
"@konvert7/klint-win32-x64": "0.
|
|
73
|
+
"@konvert7/klint-darwin-arm64": "0.34.0",
|
|
74
|
+
"@konvert7/klint-darwin-x64": "0.34.0",
|
|
75
|
+
"@konvert7/klint-linux-x64": "0.34.0",
|
|
76
|
+
"@konvert7/klint-win32-x64": "0.34.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@biomejs/biome": "2.4.7",
|