musubix2 0.5.11 → 0.5.12

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.
@@ -1 +1 @@
1
- {"generator":"musubix2","version":"0.5.11","timestamp":"2026-07-09T10:51:51.652Z"}
1
+ {"generator":"musubix2","version":"0.5.12","timestamp":"2026-07-09T10:58:51.392Z"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0",
3
- "generatedAt": "2026-07-09T10:51:51.684Z",
3
+ "generatedAt": "2026-07-09T10:58:51.425Z",
4
4
  "entries": [
5
5
  {
6
6
  "platform": "copilot",
package/dist/cli.js CHANGED
@@ -12089,6 +12089,9 @@ var init_transport = __esm({
12089
12089
  output;
12090
12090
  handler = null;
12091
12091
  rl = null;
12092
+ // Serializes request handling so stateful tools (load → mutate → save) never
12093
+ // interleave. Each incoming line is chained after the previous completes.
12094
+ queue = Promise.resolve();
12092
12095
  constructor(input, output) {
12093
12096
  this.input = input ?? process.stdin;
12094
12097
  this.output = output ?? process.stdout;
@@ -12096,7 +12099,7 @@ var init_transport = __esm({
12096
12099
  async start() {
12097
12100
  this.rl = readline.createInterface({ input: this.input });
12098
12101
  this.rl.on("line", (line) => {
12099
- void this.processLine(line);
12102
+ this.queue = this.queue.then(() => this.processLine(line));
12100
12103
  });
12101
12104
  }
12102
12105
  async processLine(line) {
package/dist/index.js CHANGED
@@ -12089,6 +12089,9 @@ var init_transport = __esm({
12089
12089
  output;
12090
12090
  handler = null;
12091
12091
  rl = null;
12092
+ // Serializes request handling so stateful tools (load → mutate → save) never
12093
+ // interleave. Each incoming line is chained after the previous completes.
12094
+ queue = Promise.resolve();
12092
12095
  constructor(input, output) {
12093
12096
  this.input = input ?? process.stdin;
12094
12097
  this.output = output ?? process.stdout;
@@ -12096,7 +12099,7 @@ var init_transport = __esm({
12096
12099
  async start() {
12097
12100
  this.rl = readline.createInterface({ input: this.input });
12098
12101
  this.rl.on("line", (line) => {
12099
- void this.processLine(line);
12102
+ this.queue = this.queue.then(() => this.processLine(line));
12100
12103
  });
12101
12104
  }
12102
12105
  async processLine(line) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musubix2",
3
- "version": "0.5.11",
3
+ "version": "0.5.12",
4
4
  "description": "MUSUBIX2 — Specification Driven Development System",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",