Skip to content

Commit 9a04b49

Browse files
authored
Merge pull request #21 from sampleXbro/develop
Develop
2 parents 73a4a54 + a27a822 commit 9a04b49

103 files changed

Lines changed: 7581 additions & 1967 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.agentsmesh/.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Auto-generated. DO NOT EDIT MANUALLY.
22
# Tracks the state of all config files for team conflict resolution.
33

4-
generated_at: 2026-04-26T17:53:14.541Z
4+
generated_at: 2026-04-28T07:39:22.899Z
55
generated_by: serhii
6-
lib_version: 0.6.0
6+
lib_version: 0.7.0
77
checksums:
88
agents/code-debugger.md: sha256:dcbf5dc2242b943edee53346eff39ccaf2abc496e3375b1f13577e046a63fadc
99
agents/code-documenter.md: sha256:a19a55b62a2ae9de7d264ef862516b2022e0d18e54234199ed8e9045e495ee88
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
'agentsmesh': minor
3+
---
4+
5+
Adds three new `agentsmesh lint` diagnostics, a recommended `.gitignore` policy for materialized packs, and a one-step `agentsmesh target-scaffold` workflow.
6+
7+
Added:
8+
- New lint diagnostics: `silent-drop-guard` flags canonical content a target would otherwise drop without trace, `hook-script-references` reports hook commands pointing at missing wrapper scripts, and `rule-scope-inversion` catches manual-activation rules whose scope contradicts the target's projection rules. They are wired into `runLint` for every target via descriptor capabilities, so existing configs may surface new warnings; no rule has been removed.
9+
- `agentsmesh init` now writes `.agentsmesh/packs/` into `.gitignore` alongside `agentsmesh.local.yaml`, `.agentsmeshcache`, and `.agentsmesh/.lock.tmp`. Materialized packs are treated like `node_modules``installs.yaml` is committed and `agentsmesh install --sync` reproduces the tree deterministically post-clone.
10+
- `agentsmesh target-scaffold` post-steps collapse the previous three-edit sequence into one `pnpm catalog:generate` invocation, backed by a new auto-discovered builtin-target catalog (`scripts/generate-target-catalog.ts` + `pnpm catalog:verify` drift guard in CI).
11+
12+
Changed:
13+
- The `agentsmesh.json` and `pack.json` schemas now list `targets` enums alphabetically. Schema consumers that pin order will see a one-time diff; values are unchanged.
14+
- README documents the commit-vs-gitignore convention for generated tool folders and clarifies native Windows support (no WSL).
15+
16+
Internal:
17+
- Per-target importers (`antigravity`, `claude-code`, `continue`, `copilot`, `cursor`, `gemini-cli`, `junie`, `kiro`, `roo-code`) migrated to the descriptor-driven import runner with mapper functions extracted into `import-mappers.ts` to keep `index.ts``importer.ts` cycles out of the TDZ.
18+
- New shared link-format registry (`src/core/reference/link-format-registry.ts`) consolidates per-target link rendering rules.

.gitattributes

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Force LF line endings for all text files regardless of platform.
2+
#
3+
# Without this, Windows checkouts under `core.autocrlf=true` (the default on
4+
# GitHub Actions Windows runners) rewrite text files to CRLF on checkout,
5+
# which breaks `agentsmesh generate --check` whose lock checksums are computed
6+
# over LF-normalized output, and breaks fixture-driven e2e tests that copy
7+
# canonical content into temp dirs and then assert byte-stable artifacts.
8+
#
9+
# `text=auto eol=lf` lets git autodetect text vs binary but normalizes any
10+
# detected text file to LF on checkout AND on commit. Binary files matched
11+
# below are excluded explicitly.
12+
13+
* text=auto eol=lf
14+
15+
# Explicit text categories — guard against autodetection misclassifying.
16+
*.md text eol=lf
17+
*.mdc text eol=lf
18+
*.mdx text eol=lf
19+
*.markdown text eol=lf
20+
*.json text eol=lf
21+
*.yaml text eol=lf
22+
*.yml text eol=lf
23+
*.toml text eol=lf
24+
*.ts text eol=lf
25+
*.tsx text eol=lf
26+
*.js text eol=lf
27+
*.jsx text eol=lf
28+
*.cjs text eol=lf
29+
*.mjs text eol=lf
30+
*.sh text eol=lf
31+
*.css text eol=lf
32+
*.html text eol=lf
33+
*.xml text eol=lf
34+
*.svg text eol=lf
35+
*.txt text eol=lf
36+
37+
# Lock and config files.
38+
.gitignore text eol=lf
39+
.gitattributes text eol=lf
40+
.editorconfig text eol=lf
41+
LICENSE text eol=lf
42+
43+
# Binary files — never normalize.
44+
*.png binary
45+
*.jpg binary
46+
*.jpeg binary
47+
*.gif binary
48+
*.ico binary
49+
*.webp binary
50+
*.pdf binary
51+
*.zip binary
52+
*.tgz binary
53+
*.tar binary
54+
*.tar.gz binary
55+
*.gz binary
56+
*.woff binary
57+
*.woff2 binary
58+
*.ttf binary
59+
*.eot binary
60+
61+
# Generated lock files keep LF so checksums are reproducible across platforms.
62+
pnpm-lock.yaml text eol=lf
63+
package-lock.json text eol=lf
64+
.agentsmesh/.lock text eol=lf

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ jobs:
9292
- name: Contract matrix
9393
run: pnpm test:contract
9494

95+
- name: Builtin target catalog drift guard
96+
run: pnpm catalog:verify
97+
9598
- name: Support matrix docs match catalog
9699
run: pnpm matrix:verify
97100

0 commit comments

Comments
 (0)