sphica 0.6.6 → 0.6.7

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.6",
4
+ "version": "0.6.7",
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.6",
3
+ "version": "0.6.7",
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/mcp.js CHANGED
@@ -46497,23 +46497,26 @@ async function lines(db, u) {
46497
46497
  `)}"`;
46498
46498
  const from = (s) => s.url ? ` <${inline(s.url)}>` : "";
46499
46499
  const said = (e) => ` - ${inline(speaker(e))}${e.reported_speaker ? ` reporting what ${inline(e.reported_speaker)} said` : ""}, ${e.created_at}, ${e.kind} ${inline(e.artifact)} (${e.role}): ${words(e.text, e.span_start, e.span_end)}${from(e)}`;
46500
+ const kept = (t) => plain(t).split(`
46501
+ `).join(`
46502
+ `);
46500
46503
  const out = [
46501
46504
  `key: ${inline(u.key)} (u${u.id})`,
46502
46505
  `kind: ${u.kind}${u.stance ? ` ${u.stance}` : ""}`,
46503
- `text: ${inline(u.text)}`
46506
+ `text: ${kept(u.text)}`
46504
46507
  ];
46505
46508
  if (u.why)
46506
- out.push(`why: ${inline(u.why)}`);
46509
+ out.push(`why: ${kept(u.why)}`);
46507
46510
  if (u.scope_note)
46508
- out.push(`scope: ${inline(u.scope_note)}`);
46511
+ out.push(`scope: ${kept(u.scope_note)}`);
46509
46512
  if (u.revisit_when)
46510
- out.push(`revisit when: ${inline(u.revisit_when)}`);
46513
+ out.push(`revisit when: ${kept(u.revisit_when)}`);
46511
46514
  if (options.length) {
46512
46515
  out.push("options:");
46513
46516
  for (const o of options) {
46514
- out.push(`- ${inline(o.text)}: ${o.outcome}${o.why ? `, because ${inline(o.why)}` : ""}`);
46517
+ out.push(`- ${kept(o.text)}: ${o.outcome}${o.why ? `, because ${kept(o.why)}` : ""}`);
46515
46518
  if (o.reconsider_when && evidence.some((e) => e.option_id === o.id && e.role === "reconsiders"))
46516
- out.push(` reconsider when: ${inline(o.reconsider_when)}`);
46519
+ out.push(` reconsider when: ${kept(o.reconsider_when)}`);
46517
46520
  for (const e of evidence.filter((x) => x.option_id === o.id))
46518
46521
  out.push(said(e));
46519
46522
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sphica",
3
- "version": "0.6.6",
3
+ "version": "0.6.7",
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",