md-feedback 1.3.10 → 1.3.11
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 +3 -3
package/dist/mcp-server.js
CHANGED
|
@@ -77,4 +77,4 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
77
77
|
`),f=h.split(`
|
|
78
78
|
`),y=[],g=0,_=0,v=!1;for(;_<f.length;){let S=f[_].match(/^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/);if(!S){_++;continue}v=!0;let I=Number(S[1])-1;if(I<g||I>p.length)throw new vr(`Invalid patch hunk range for ${m}`,{file:m});for(y.push(...p.slice(g,I)),g=I,_++;_<f.length&&!f[_].startsWith("@@ ");){let Q=f[_];if(Q.startsWith("\")){_++;continue}let $e=Q[0],X=Q.slice(1);if($e===" "){if(g>=p.length||p[g]!==X)throw new vr(`Patch context mismatch in ${m}`,{file:m});y.push(X),g++}else if($e==="-"){if(g>=p.length||p[g]!==X)throw new vr(`Patch delete mismatch in ${m}`,{file:m});g++}else if($e==="+")y.push(X);else throw new vr(`Unsupported patch line in ${m}: "${Q}"`,{file:m});_++}}if(!v)throw new vr(`Invalid unified diff for ${m}: no hunks found`,{file:m});return y.push(...p.slice(g)),y.join(`
|
|
79
79
|
`)}return{safeRead:o,safeWrite:s,wrapTool:a,ensureDefaultGate:c,updateCursorFromMemos:u,applyUnifiedDiff:d}}function z_(t,e,r){let n=T_({workspace:e,log:r});b_(t,n),$_(t,{safeRead:n.safeRead,safeWrite:n.safeWrite,wrapTool:n.wrapTool,ensureDefaultGate:n.ensureDefaultGate,updateCursorFromMemos:n.updateCursorFromMemos,applyUnifiedDiff:n.applyUnifiedDiff})}function E_(t,e){let r=t.filter(o=>o.startsWith("--workspace=")),n=r.length>0?r[r.length-1]:void 0;if(n){let o=n.slice(12);if(o)return o}return e.MD_FEEDBACK_WORKSPACE||void 0}function sa(t){process.stderr.write(`[md-feedback] ${t}
|
|
80
|
-
`)}function IP(){return E_(process.argv,process.env)}var P_=IP(),R_=new Fi({name:"md-feedback",version:"1.3.
|
|
80
|
+
`)}function IP(){return E_(process.argv,process.env)}var P_=IP(),R_=new Fi({name:"md-feedback",version:"1.3.11"});z_(R_,P_,sa);async function OP(){let t=new Vi;await R_.connect(t);let e=P_||process.cwd();sa(`v1.3.11 ready (stdio) workspace=${e}`)}OP().catch(t=>{sa(`fatal: ${t}`),process.exit(1)});0&&(module.exports={log});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "md-feedback",
|
|
3
|
-
"version": "1.3.
|
|
1
|
+
{
|
|
2
|
+
"name": "md-feedback",
|
|
3
|
+
"version": "1.3.11",
|
|
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. 19 tools for Claude Code, Cursor, Copilot, and 8 more AI tools.",
|
|
5
5
|
"license": "SUL-1.0",
|
|
6
6
|
"author": "Yeomin Seon",
|