md-feedback 1.4.0 → 1.4.1
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/mcp-server.js +1 -1
- package/package.json +1 -1
package/dist/mcp-server.js
CHANGED
|
@@ -81,4 +81,4 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
81
81
|
`),g=h.split(`
|
|
82
82
|
`),y=[],v=0,b=0,x=!1;for(;b<g.length;){let M=g[b].match(/^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/);if(!M){b++;continue}x=!0;let F=Number(M[1])-1;if(F<v||F>m.length)throw new br(`Invalid patch hunk range for ${f}`,{file:f});for(y.push(...m.slice(v,F)),v=F,b++;b<g.length&&!g[b].startsWith("@@ ");){let P=g[b];if(P.startsWith("\")){b++;continue}let q=P[0],A=P.slice(1);if(q===" "){if(v>=m.length||m[v]!==A)throw new br(`Patch context mismatch in ${f}`,{file:f});y.push(A),v++}else if(q==="-"){if(v>=m.length||m[v]!==A)throw new br(`Patch delete mismatch in ${f}`,{file:f});v++}else if(q==="+")y.push(A);else throw new br(`Unsupported patch line in ${f}: "${P}"`,{file:f});b++}}if(!x)throw new br(`Invalid unified diff for ${f}: no hunks found`,{file:f});return y.push(...m.slice(v)),y.join(`
|
|
83
83
|
`)}return{safeRead:o,safeWrite:s,listDocuments:i,wrapTool:c,ensureDefaultGate:u,updateCursorFromMemos:l,applyUnifiedDiff:d}}function N_(t,e,r){let n=C_({workspace:e,log:r});P_(t,n),I_(t,{safeRead:n.safeRead,safeWrite:n.safeWrite,wrapTool:n.wrapTool,ensureDefaultGate:n.ensureDefaultGate,updateCursorFromMemos:n.updateCursorFromMemos,applyUnifiedDiff:n.applyUnifiedDiff})}function os(t){process.stderr.write(`[md-feedback] ${t}
|
|
84
|
-
`)}function HP(){return A_(process.argv,process.env)}var j_=HP(),Z_=new Ki({name:"md-feedback",version:"1.4.
|
|
84
|
+
`)}function HP(){return A_(process.argv,process.env)}var j_=HP(),Z_=new Ki({name:"md-feedback",version:"1.4.1"});N_(Z_,j_,os);async function GP(){let t=new Qi;await Z_.connect(t);let e=j_||process.cwd();fa(e,{annotatedOnly:!1,maxFiles:200}).length===0&&os(`warning: no markdown files found in workspace=${e}. create/open a .md file to use annotation tools.`),os(`v1.4.1 ready (stdio) workspace=${e}`)}GP().catch(t=>{os(`fatal: ${t}`),process.exit(1)});0&&(module.exports={log});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "md-feedback",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "MCP server for markdown plan review — companion to the MD Feedback VS Code extension. AI agents read annotations, mark tasks done, evaluate quality gates, and generate session handoffs. 27 tools for Claude Code, Cursor, and other MCP-compatible clients.",
|
|
5
5
|
"license": "SUL-1.0",
|
|
6
6
|
"author": "Yeomin Seon",
|