dsh-plugin-soulbridge 0.0.116 → 0.0.117

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.
Files changed (2) hide show
  1. package/index.js +8 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1426,7 +1426,7 @@ async function runExtraction(text, turnId, turnNo, origin = 'live', thread = nul
1426
1426
  const inferred = result.facts.filter((fact) => fact.source === 'inferred').length;
1427
1427
  log(
1428
1428
  `extract ok: by=${draft.by} reason=${draft.reason ?? '-'} entities=${result.entities.length} facts=${result.facts.length}` +
1429
- ` gaps=${result.gaps.length} skipped=${result.skipped.length}` +
1429
+ ` gaps=${result.gaps.length} skipped=${result.skipped.length} draftSkipped=${(draft.skipped ?? []).length}` +
1430
1430
  ` slots->text=${result.droppedSlots.length} holder->world=${result.holderFallbacks.length}` +
1431
1431
  ` inferred=${inferred}` +
1432
1432
  ` unit=${turns ? `${turns.length}turns` : '1turn'} threadId=${thread?.id ?? '-'}` +
@@ -1438,6 +1438,12 @@ async function runExtraction(text, turnId, turnNo, origin = 'live', thread = nul
1438
1438
  for (const skipped of result.skipped.slice(0, 3)) {
1439
1439
  log(` extract skipped: ${skipped.what} (${skipped.reason})`);
1440
1440
  }
1441
+ // Draft-level drops are the extractor's own decisions (a sentence it could not
1442
+ // structure, an item the model wrote and the gate refused). Visible here so the
1443
+ // floor cannot throw work away silently.
1444
+ for (const dropped of (draft.skipped ?? []).slice(0, 3)) {
1445
+ log(` extract dropped: ${dropped.what} (${dropped.reason})`);
1446
+ }
1441
1447
  for (const slot of result.droppedSlots.slice(0, 3)) {
1442
1448
  log(` extract slot kept as text: ${slot.slot}=${slot.value} (undeclared)`);
1443
1449
  }
@@ -1450,6 +1456,7 @@ async function runExtraction(text, turnId, turnNo, origin = 'live', thread = nul
1450
1456
  facts: result.facts.length,
1451
1457
  gaps: result.gaps.length,
1452
1458
  skipped: result.skipped,
1459
+ draftSkipped: (draft.skipped ?? []).slice(0, 5),
1453
1460
  droppedSlots: result.droppedSlots,
1454
1461
  holderFallbacks: result.holderFallbacks,
1455
1462
  thread: attribution.threadId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin-soulbridge",
3
- "version": "0.0.116",
3
+ "version": "0.0.117",
4
4
  "description": "Inject soulbridge context into DSH sessions and feed user turns back as observations.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -42,6 +42,6 @@
42
42
  "setup": "node scripts/install-hooks.mjs"
43
43
  },
44
44
  "dependencies": {
45
- "soulbridge": ">=0.0.115 <0.1.0"
45
+ "soulbridge": ">=0.0.116 <0.1.0"
46
46
  }
47
47
  }