@sporhq/spor 0.12.0 → 0.12.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.
@@ -2,6 +2,6 @@
2
2
  "name": "spor",
3
3
  "displayName": "Spor Context Compiler",
4
4
  "description": "Maintains a typed, versioned knowledge graph and compiles compact briefings from it: session-start injection, per-prompt relevance digests, capture at discovery, end-of-session distillation, decision queue.",
5
- "version": "0.12.0",
5
+ "version": "0.12.1",
6
6
  "author": { "name": "losthammer" }
7
7
  }
package/bin/spor.js CHANGED
@@ -828,7 +828,10 @@ async function cmdAdd(cfg, { values, positionals }) {
828
828
  if (during) context.during = during;
829
829
  if (blocks) context.blocks = blocks;
830
830
  if (neededBy) context.needed_by = neededBy;
831
- const r = await remote.post(cfg, "/v1/capture", { text: prose, context });
831
+ // Capture ingestion runs an LLM server-side (typically >6s), so the default
832
+ // read timeout would abort a healthy request and silently drop the capture —
833
+ // a one-shot CLI has no hook outbox to retry it (issue-spor-add-cli-timeout-silent-loss).
834
+ const r = await remote.post(cfg, "/v1/capture", { text: prose, context }, { timeoutMs: 30000 });
832
835
  if (r.transport) {
833
836
  err(`offline — capture not shipped (${r.error}). It will be retried by the hooks' outbox in a normal session.`);
834
837
  return 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sporhq/spor",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "Spor — a shared memory substrate for teams and agents. Decisions, their reasons, and the traces they leave. Knowledge-graph context compiler: session-start briefings, per-prompt digests, capture at discovery, end-of-session distillation, decision queue.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Anthony Allen",