@lensmcp/core 1.26.13 → 1.26.15

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/lib/lens-dir.d.ts CHANGED
@@ -13,7 +13,9 @@
13
13
  * and, under it, `.lensmcp/team/skills/<name>/`: the project's own skills, each a SKILL.md with its references and the
14
14
  * pins of the sources it was written from (`@lensmcp/storage` skill-layers.ts). `team` lets the whole folder back in,
15
15
  * so the skills need no line of their own (lens-dir.spec.ts holds that) —
16
- * and `.lensmcp/team-design/`: the project's own instructions to the run that designs that team.
16
+ * and `.lensmcp/team-design/`: the project's own instructions to the run that designs that team — and
17
+ * `.lensmcp/lint/`: the lints the person ignored, each a rule in a project with why (`ignores.json`,
18
+ * `@lensmcp/protocol-types` lint-ignores.ts), so every checkout and every agent leaves out the same.
17
19
  *
18
20
  * The .gitignore that keeps both right ignores the folder's children — at any depth, as `.lensmcp/` did — and lets
19
21
  * the team's back in:
package/lib/lens-dir.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var u=Object.defineProperty;var n=(i,e)=>u(i,"name",{value:e,configurable:!0});var p=Object.defineProperty,m=n((i,e)=>p(i,"name",{value:e,configurable:!0}),"c");export const LENS_SHARED_DIRS=["sql-review","route-review","flow-review","ui-review","cache-review","queue-review","ai-review","ai-names","team","team-design"],LENS_SHARED_FILES=["team/skills/a-skill/SKILL.md","team/skills/a-skill/sources.json","team/skills/a-skill/references/more.md"];export function lensGitignoreLines(i="**/"){return[`${i}.lensmcp/*`,...LENS_SHARED_DIRS.map(e=>`!${i}.lensmcp/${e}/`)]}n(lensGitignoreLines,"lensGitignoreLines"),m(lensGitignoreLines,"lensGitignoreLines");const $="# LensMCP: this machine's runtime state is ignored; the team's analyzer instructions are kept";export function fixLensGitignore(i){const e=i.split(`
1
+ "use strict";var u=Object.defineProperty;var n=(i,e)=>u(i,"name",{value:e,configurable:!0});var p=Object.defineProperty,m=n((i,e)=>p(i,"name",{value:e,configurable:!0}),"l");export const LENS_SHARED_DIRS=["sql-review","route-review","flow-review","ui-review","cache-review","queue-review","ai-review","ai-names","team","team-design","lint"],LENS_SHARED_FILES=["team/skills/a-skill/SKILL.md","team/skills/a-skill/sources.json","team/skills/a-skill/references/more.md"];export function lensGitignoreLines(i="**/"){return[`${i}.lensmcp/*`,...LENS_SHARED_DIRS.map(e=>`!${i}.lensmcp/${e}/`)]}n(lensGitignoreLines,"lensGitignoreLines"),m(lensGitignoreLines,"lensGitignoreLines");const $="# LensMCP: this machine's runtime state is ignored; the team's analyzer instructions are kept";export function fixLensGitignore(i){const e=i.split(`
2
2
  `),c=/^(\/|\*\*\/)?\.lensmcp\/?(\*)?$/;let s=e.findIndex(t=>c.test(t.trim())),r=!1;if(s<0){const t=i.length&&!i.endsWith(`
3
3
  `)?`${i}
4
4
  `:i;return{text:`${t}${t.trim()?`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lensmcp/core",
3
- "version": "1.26.13",
3
+ "version": "1.26.15",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
@@ -109,7 +109,7 @@
109
109
  }
110
110
  },
111
111
  "dependencies": {
112
- "@lensmcp/protocol-types": "1.26.13",
112
+ "@lensmcp/protocol-types": "1.26.15",
113
113
  "tslib": "^2.3.0"
114
114
  },
115
115
  "license": "Apache-2.0",