sphica 0.6.53 → 0.6.54

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,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://anthropic.com/claude-code/plugin.schema.json",
3
3
  "name": "sphica",
4
- "version": "0.6.53",
4
+ "version": "0.6.54",
5
5
  "description": "Records Claude Code and Codex sessions on your machine and keeps past implementation and decisions, with their sources, for your agent to find.",
6
6
  "author": {
7
7
  "name": "iroha924",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sphica",
3
- "version": "0.6.53",
3
+ "version": "0.6.54",
4
4
  "description": "Records Claude Code and Codex sessions on your machine and keeps past implementation and decisions, with their sources, for your agent to find.",
5
5
  "author": {
6
6
  "name": "iroha924",
package/dist/deliver.js CHANGED
@@ -13116,10 +13116,11 @@ function parseDiff(text3) {
13116
13116
  };
13117
13117
  const rows = text3.split(/\r?\n/);
13118
13118
  for (const [i, raw] of rows.entries()) {
13119
- if (cur && (oldLeft > 0 || newLeft > 0)) {
13119
+ if (oldLeft > 0 || newLeft > 0) {
13120
13120
  if (raw.startsWith("+")) {
13121
- cur.added.push(raw.slice(1));
13122
- cur.lines.push(line++);
13121
+ cur?.added.push(raw.slice(1));
13122
+ cur?.lines.push(line);
13123
+ line++;
13123
13124
  newLeft--;
13124
13125
  } else if (raw.startsWith("-"))
13125
13126
  oldLeft--;
package/dist/mcp.js CHANGED
@@ -48409,10 +48409,11 @@ function parseDiff(text3) {
48409
48409
  };
48410
48410
  const rows = text3.split(/\r?\n/);
48411
48411
  for (const [i, raw] of rows.entries()) {
48412
- if (cur && (oldLeft > 0 || newLeft > 0)) {
48412
+ if (oldLeft > 0 || newLeft > 0) {
48413
48413
  if (raw.startsWith("+")) {
48414
- cur.added.push(raw.slice(1));
48415
- cur.lines.push(line++);
48414
+ cur?.added.push(raw.slice(1));
48415
+ cur?.lines.push(line);
48416
+ line++;
48416
48417
  newLeft--;
48417
48418
  } else if (raw.startsWith("-"))
48418
48419
  oldLeft--;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sphica",
3
- "version": "0.6.53",
3
+ "version": "0.6.54",
4
4
  "description": "Records Claude Code and Codex sessions on your machine and keeps past implementation and decisions, with their sources, for your agent to find.",
5
5
  "license": "MIT",
6
6
  "type": "module",