@memnexus-ai/mx-agent-cli 0.1.295-next.0 → 0.1.296-next.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/dist/__tests__/claude-local-sanitizer.test.d.ts +24 -0
- package/dist/__tests__/claude-local-sanitizer.test.d.ts.map +1 -0
- package/dist/__tests__/claude-local-sanitizer.test.js +906 -0
- package/dist/__tests__/claude-local-sanitizer.test.js.map +1 -0
- package/dist/__tests__/coordination-client.test.js +90 -1
- package/dist/__tests__/coordination-client.test.js.map +1 -1
- package/dist/__tests__/coordination-credential-endpoint.test.js +90 -30
- package/dist/__tests__/coordination-credential-endpoint.test.js.map +1 -1
- package/dist/__tests__/coordination-status-registration.test.js +8 -8
- package/dist/__tests__/coordination-status-registration.test.js.map +1 -1
- package/dist/__tests__/coordination-token-multitenant.test.js +14 -14
- package/dist/__tests__/coordination-token-multitenant.test.js.map +1 -1
- package/dist/__tests__/provision-completion-rows.test.js +96 -4
- package/dist/__tests__/provision-completion-rows.test.js.map +1 -1
- package/dist/__tests__/row15-detail-sanitizer.test.d.ts +20 -0
- package/dist/__tests__/row15-detail-sanitizer.test.d.ts.map +1 -0
- package/dist/__tests__/row15-detail-sanitizer.test.js +61 -0
- package/dist/__tests__/row15-detail-sanitizer.test.js.map +1 -0
- package/dist/commands/coordination.d.ts.map +1 -1
- package/dist/commands/coordination.js +5 -0
- package/dist/commands/coordination.js.map +1 -1
- package/dist/commands/create.d.ts +9 -0
- package/dist/commands/create.d.ts.map +1 -1
- package/dist/commands/create.js +98 -43
- package/dist/commands/create.js.map +1 -1
- package/dist/commands/start.d.ts.map +1 -1
- package/dist/commands/start.js +6 -0
- package/dist/commands/start.js.map +1 -1
- package/dist/lib/behavioral-injection.d.ts +9 -0
- package/dist/lib/behavioral-injection.d.ts.map +1 -1
- package/dist/lib/behavioral-injection.js +10 -1
- package/dist/lib/behavioral-injection.js.map +1 -1
- package/dist/lib/claude.d.ts +48 -0
- package/dist/lib/claude.d.ts.map +1 -1
- package/dist/lib/claude.js +172 -22
- package/dist/lib/claude.js.map +1 -1
- package/dist/lib/coordination-client.d.ts +29 -1
- package/dist/lib/coordination-client.d.ts.map +1 -1
- package/dist/lib/coordination-client.js +52 -0
- package/dist/lib/coordination-client.js.map +1 -1
- package/dist/lib/coordination-token.d.ts +42 -13
- package/dist/lib/coordination-token.d.ts.map +1 -1
- package/dist/lib/coordination-token.js +52 -28
- package/dist/lib/coordination-token.js.map +1 -1
- package/dist/lib/roster.d.ts +13 -1
- package/dist/lib/roster.d.ts.map +1 -1
- package/dist/lib/roster.js +7 -3
- package/dist/lib/roster.js.map +1 -1
- package/dist/lib/roster.test.js +4 -4
- package/dist/lib/roster.test.js.map +1 -1
- package/dist/lib/team-identity.js +2 -2
- package/dist/lib/team-identity.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Values interpolated into a generated CLAUDE.local.md pass a sanitizer built
|
|
3
|
+
* for a model reader, not only one built for a terminal (#460, plan #500).
|
|
4
|
+
*
|
|
5
|
+
* `CLAUDE.local.md` is injected into every turn of a team's sessions. Before
|
|
6
|
+
* this change the values below reached it either through `sanitizeForMessage`
|
|
7
|
+
* (which strips C0, C1 and DEL only) or through nothing at all, so U+202E,
|
|
8
|
+
* U+200B, U+2028, U+2029, U+FEFF and backticks were written into the file.
|
|
9
|
+
*
|
|
10
|
+
* ONE TEST PER VALUE SOURCE, so a call site that loses the sanitizer fails on
|
|
11
|
+
* its own rather than inside a combined assertion (plan #500, criterion 1).
|
|
12
|
+
*
|
|
13
|
+
* THE GIT-DERIVED VALUES ARE INJECTED THROUGH A STUB of
|
|
14
|
+
* `describeTeamGitIdentityState`, not through a real git fixture. The sink is
|
|
15
|
+
* what is under test. A real fixture cannot reach every character through
|
|
16
|
+
* every value: `git config --show-origin` C-quotes a path holding non-ASCII
|
|
17
|
+
* bytes, so U+2028 and U+202E never arrive in `effectiveNameOrigin`, and
|
|
18
|
+
* `sanitizeOneLine` collapses `\s` (which includes U+2028, U+2029 and U+FEFF)
|
|
19
|
+
* before `effectiveAuthor` and the mismatch `reason` reach this module. The
|
|
20
|
+
* stub removes those upstream accidents so each test measures the sink alone.
|
|
21
|
+
* The real-git path is covered by `git-identity-isolation.test.ts`.
|
|
22
|
+
*/
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=claude-local-sanitizer.test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"claude-local-sanitizer.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/claude-local-sanitizer.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG"}
|