@mossbear/protocol 0.1.0-alpha.60 → 0.1.0-alpha.61
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/dist/aliasPaths.d.ts +4 -4
- package/dist/aliasPaths.d.ts.map +1 -1
- package/dist/aliasPaths.js +20 -5
- package/dist/aliasPaths.js.map +1 -1
- package/dist/aliasPaths.test.js +10 -8
- package/dist/aliasPaths.test.js.map +1 -1
- package/dist/schemas.d.ts +1 -1
- package/dist/schemas.js +1 -1
- package/package.json +1 -1
package/dist/aliasPaths.d.ts
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* (`alias-instruction-file-identity-plan.md` → Decision 5, *same
|
|
4
4
|
* root, different path*).
|
|
5
5
|
*
|
|
6
|
-
* A repo that uses
|
|
7
|
-
* `AGENTS.md` with the same rules in both, and
|
|
8
|
-
* guide with nothing keeping them together. This module is the one definition
|
|
6
|
+
* A repo that uses Cursor alongside anything else can hold `.cursorrules` and
|
|
7
|
+
* `AGENTS.md` with the same rules in both, and without this each imports as its
|
|
8
|
+
* own guide with nothing keeping them together. This module is the one definition
|
|
9
9
|
* of "these two paths are one rule", so the server can collapse an identical
|
|
10
10
|
* pair into a single guide and the CLI can derive the mirror in the checkout
|
|
11
11
|
* from the same list.
|
|
@@ -37,7 +37,7 @@ export declare const SKILL_ALIAS_GROUP_PREFIX = "skill:";
|
|
|
37
37
|
* bytes by the time anything consults it, so this only decides which row keeps
|
|
38
38
|
* the body and which become aliases of it, **and only when the set is new**: a
|
|
39
39
|
* set with a guide already stored keeps the body where that guide has it,
|
|
40
|
-
* whichever path that is. Lower wins, and the vendor-neutral standard wins: `AGENTS.md` over
|
|
40
|
+
* whichever path that is. Lower wins, and the vendor-neutral standard wins: `AGENTS.md` over `.cursorrules`, and
|
|
41
41
|
* `.agents/skills/` over `.claude/skills/`. That is the same direction
|
|
42
42
|
* `cross-harness-global-guidance` takes for delivery, so a repo does not end up
|
|
43
43
|
* with its canonical body under one vendor's directory and its delivery under
|
package/dist/aliasPaths.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aliasPaths.d.ts","sourceRoot":"","sources":["../src/aliasPaths.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAIH,4EAA4E;AAC5E,eAAO,MAAM,6BAA6B,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"aliasPaths.d.ts","sourceRoot":"","sources":["../src/aliasPaths.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAIH,4EAA4E;AAC5E,eAAO,MAAM,6BAA6B,sBAAsB,CAAA;AAoBhE,iFAAiF;AACjF,eAAO,MAAM,wBAAwB,WAAW,CAAA;AAShD;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAA;IACb,4DAA4D;IAC5D,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAsBD;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB,GAAG,IAAI,CAsBxE;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAqBxD"}
|
package/dist/aliasPaths.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* (`alias-instruction-file-identity-plan.md` → Decision 5, *same
|
|
4
4
|
* root, different path*).
|
|
5
5
|
*
|
|
6
|
-
* A repo that uses
|
|
7
|
-
* `AGENTS.md` with the same rules in both, and
|
|
8
|
-
* guide with nothing keeping them together. This module is the one definition
|
|
6
|
+
* A repo that uses Cursor alongside anything else can hold `.cursorrules` and
|
|
7
|
+
* `AGENTS.md` with the same rules in both, and without this each imports as its
|
|
8
|
+
* own guide with nothing keeping them together. This module is the one definition
|
|
9
9
|
* of "these two paths are one rule", so the server can collapse an identical
|
|
10
10
|
* pair into a single guide and the CLI can derive the mirror in the checkout
|
|
11
11
|
* from the same list.
|
|
@@ -28,6 +28,21 @@
|
|
|
28
28
|
import { AGENT_GUIDANCE_FILES } from './agentGuidancePaths.js';
|
|
29
29
|
/** Group key for the root instruction files — `AGENTS.md` and its twins. */
|
|
30
30
|
export const ROOT_INSTRUCTIONS_ALIAS_GROUP = 'root-instructions';
|
|
31
|
+
/**
|
|
32
|
+
* The root instruction files that are one set, in preference order.
|
|
33
|
+
*
|
|
34
|
+
* **`CLAUDE.md` is deliberately not one of them.** Claude Code reads a
|
|
35
|
+
* `CLAUDE.md` *instead of* `AGENTS.md` when both exist, and the documented way
|
|
36
|
+
* to make it read both is a `CLAUDE.md` that imports `AGENTS.md`
|
|
37
|
+
* (`@AGENTS.md`). So `CLAUDE.md` belongs to whoever keeps it — a one-line
|
|
38
|
+
* redirect, Claude-specific notes, or both — and Mossbear's only business with
|
|
39
|
+
* it is that the import is there. Treating it as a byte twin of `AGENTS.md`
|
|
40
|
+
* merged the two on the server and had the CLI copy edits between them, which
|
|
41
|
+
* carried a Claude-only line into the file every other agent reads. Leaving it
|
|
42
|
+
* out here is what stops both halves at once: the import route no longer merges
|
|
43
|
+
* it, and no alias row exists for the CLI to mirror.
|
|
44
|
+
*/
|
|
45
|
+
const ROOT_INSTRUCTION_ALIAS_FILES = AGENT_GUIDANCE_FILES.filter((file) => file !== 'CLAUDE.md');
|
|
31
46
|
/** Group-key prefix for one skill's `SKILL.md` under either skills directory. */
|
|
32
47
|
export const SKILL_ALIAS_GROUP_PREFIX = 'skill:';
|
|
33
48
|
/**
|
|
@@ -66,7 +81,7 @@ function collapseSeparators(path) {
|
|
|
66
81
|
*/
|
|
67
82
|
export function aliasPathIdentity(path) {
|
|
68
83
|
const normalized = normalize(path);
|
|
69
|
-
const rootFileRank =
|
|
84
|
+
const rootFileRank = ROOT_INSTRUCTION_ALIAS_FILES.findIndex((candidate) => candidate.toLowerCase() === normalized);
|
|
70
85
|
if (rootFileRank !== -1) {
|
|
71
86
|
return { group: ROOT_INSTRUCTIONS_ALIAS_GROUP, rank: rootFileRank };
|
|
72
87
|
}
|
|
@@ -111,7 +126,7 @@ export function aliasPathSiblings(path) {
|
|
|
111
126
|
const collapsed = collapseSeparators(path);
|
|
112
127
|
const lowered = collapsed.toLowerCase();
|
|
113
128
|
if (identity.group === ROOT_INSTRUCTIONS_ALIAS_GROUP) {
|
|
114
|
-
return
|
|
129
|
+
return ROOT_INSTRUCTION_ALIAS_FILES.filter((candidate) => candidate.toLowerCase() !== lowered);
|
|
115
130
|
}
|
|
116
131
|
const dir = SKILL_DIRS.find((candidate) => lowered.startsWith(candidate));
|
|
117
132
|
if (dir === undefined)
|
package/dist/aliasPaths.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aliasPaths.js","sourceRoot":"","sources":["../src/aliasPaths.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAE9D,4EAA4E;AAC5E,MAAM,CAAC,MAAM,6BAA6B,GAAG,mBAAmB,CAAA;AAEhE,iFAAiF;AACjF,MAAM,CAAC,MAAM,wBAAwB,GAAG,QAAQ,CAAA;AAEhD;;;;GAIG;AACH,MAAM,UAAU,GAA0B,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,CAAA;AAuBhF;;;;;;GAMG;AACH,SAAS,SAAS,CAAC,IAAY;IAC7B,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,CAAA;AAC/C,CAAC;AAED;;;;GAIG;AACH,SAAS,kBAAkB,CAAC,IAAY;IACtC,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AACxD,CAAC;AAED;;;;;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AAC,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAA;IACzE,IAAI,GAAG,KAAK,SAAS;QAAE,OAAO,EAAE,CAAA;IAChC,4EAA4E;IAC5E,MAAM,MAAM,GAAG,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACrE,MAAM,IAAI,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAA;IAC1E,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,KAAK,GAAG,CAAC,CAAC,GAAG,CAC5D,CAAC,SAAS,EAAE,EAAE,CAAC,GAAG,SAAS,GAAG,IAAI,GAAG,MAAM,EAAE,CAC9C,CAAA;AACH,CAAC"}
|
package/dist/aliasPaths.test.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { describe, expect, it } from 'vitest';
|
|
2
2
|
import { ROOT_INSTRUCTIONS_ALIAS_GROUP, aliasPathIdentity, aliasPathSiblings, } from './aliasPaths.js';
|
|
3
3
|
describe('aliasPathIdentity', () => {
|
|
4
|
-
it('puts
|
|
4
|
+
it('puts AGENTS.md and .cursorrules in one set, AGENTS.md preferred', () => {
|
|
5
5
|
const agents = aliasPathIdentity('AGENTS.md');
|
|
6
|
-
const claude = aliasPathIdentity('CLAUDE.md');
|
|
7
6
|
const cursor = aliasPathIdentity('.cursorrules');
|
|
8
7
|
expect(agents?.group).toBe(ROOT_INSTRUCTIONS_ALIAS_GROUP);
|
|
9
|
-
expect(claude?.group).toBe(ROOT_INSTRUCTIONS_ALIAS_GROUP);
|
|
10
8
|
expect(cursor?.group).toBe(ROOT_INSTRUCTIONS_ALIAS_GROUP);
|
|
11
|
-
expect(agents?.rank).toBeLessThan(
|
|
12
|
-
|
|
9
|
+
expect(agents?.rank).toBeLessThan(cursor?.rank ?? Infinity);
|
|
10
|
+
});
|
|
11
|
+
it('leaves CLAUDE.md out of the set: it imports AGENTS.md rather than mirroring it', () => {
|
|
12
|
+
expect(aliasPathIdentity('CLAUDE.md')).toBeNull();
|
|
13
|
+
expect(aliasPathIdentity('claude.md')).toBeNull();
|
|
13
14
|
});
|
|
14
15
|
it('reads a differently-cased file name as the same file', () => {
|
|
15
16
|
expect(aliasPathIdentity('agents.md')?.group).toBe(ROOT_INSTRUCTIONS_ALIAS_GROUP);
|
|
@@ -40,8 +41,9 @@ describe('aliasPathIdentity', () => {
|
|
|
40
41
|
});
|
|
41
42
|
describe('aliasPathSiblings', () => {
|
|
42
43
|
it('names the other root instruction files, and never the path itself', () => {
|
|
43
|
-
expect(aliasPathSiblings('AGENTS.md')).toEqual(['
|
|
44
|
-
expect(aliasPathSiblings('.cursorrules')).toEqual(['AGENTS.md'
|
|
44
|
+
expect(aliasPathSiblings('AGENTS.md')).toEqual(['.cursorrules']);
|
|
45
|
+
expect(aliasPathSiblings('.cursorrules')).toEqual(['AGENTS.md']);
|
|
46
|
+
expect(aliasPathSiblings('CLAUDE.md')).toEqual([]);
|
|
45
47
|
});
|
|
46
48
|
it('names the twin skills directory, keeping the skill name as written', () => {
|
|
47
49
|
expect(aliasPathSiblings('.claude/skills/Design-Review/SKILL.md')).toEqual([
|
|
@@ -52,7 +54,7 @@ describe('aliasPathSiblings', () => {
|
|
|
52
54
|
]);
|
|
53
55
|
});
|
|
54
56
|
it('reads a differently-cased path as the same file, and hands back its spelling', () => {
|
|
55
|
-
expect(aliasPathSiblings('agents.md')).toEqual(['
|
|
57
|
+
expect(aliasPathSiblings('agents.md')).toEqual(['.cursorrules']);
|
|
56
58
|
expect(aliasPathSiblings('.claude//skills/review/SKILL.md')).toEqual([
|
|
57
59
|
'.agents/skills/review/SKILL.md',
|
|
58
60
|
]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aliasPaths.test.js","sourceRoot":"","sources":["../src/aliasPaths.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAA;AAE7C,OAAO,EACL,6BAA6B,EAC7B,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,iBAAiB,CAAA;AAExB,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;IACjC,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"aliasPaths.test.js","sourceRoot":"","sources":["../src/aliasPaths.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAA;AAE7C,OAAO,EACL,6BAA6B,EAC7B,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,iBAAiB,CAAA;AAExB,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;IACjC,EAAE,CAAC,iEAAiE,EAAE,GAAG,EAAE;QACzE,MAAM,MAAM,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAA;QAC7C,MAAM,MAAM,GAAG,iBAAiB,CAAC,cAAc,CAAC,CAAA;QAEhD,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAA;QACzD,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAA;QACzD,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,IAAI,QAAQ,CAAC,CAAA;IAC7D,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,gFAAgF,EAAE,GAAG,EAAE;QACxF,MAAM,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAA;QACjD,MAAM,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAA;IACnD,CAAC,CAAC,CA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C,OAAO,CAAC;YACnE,gCAAgC;SACjC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACvD,MAAM,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;QAC7D,MAAM,CAAC,iBAAiB,CAAC,sCAAsC,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;QAC7E,MAAM,CAAC,iBAAiB,CAAC,yBAAyB,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;IAClE,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
package/dist/schemas.d.ts
CHANGED
|
@@ -359,7 +359,7 @@ export declare const MAX_GUIDE_IMPORT_DIVERGENCES = 64;
|
|
|
359
359
|
* 2026-09-03).
|
|
360
360
|
*
|
|
361
361
|
* Reporting rather than refusing is the whole point. An identical
|
|
362
|
-
* `AGENTS.md
|
|
362
|
+
* `AGENTS.md`/`.cursorrules` pair becomes one guide; a divergent one imports as
|
|
363
363
|
* two guides exactly as it does today, and this names the paths so the user can
|
|
364
364
|
* see the drift the product would otherwise have kept silent. Nothing about the
|
|
365
365
|
* import fails, and nothing the user does today stops working.
|
package/dist/schemas.js
CHANGED
|
@@ -436,7 +436,7 @@ export const MAX_GUIDE_IMPORT_DIVERGENCES = 64;
|
|
|
436
436
|
* 2026-09-03).
|
|
437
437
|
*
|
|
438
438
|
* Reporting rather than refusing is the whole point. An identical
|
|
439
|
-
* `AGENTS.md
|
|
439
|
+
* `AGENTS.md`/`.cursorrules` pair becomes one guide; a divergent one imports as
|
|
440
440
|
* two guides exactly as it does today, and this names the paths so the user can
|
|
441
441
|
* see the drift the product would otherwise have kept silent. Nothing about the
|
|
442
442
|
* import fails, and nothing the user does today stops working.
|
package/package.json
CHANGED