@atrib/summarize 0.4.6 → 0.4.8

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.
package/dist/index.js CHANGED
@@ -28,7 +28,7 @@ const SummarizeInput = z.object({
28
28
  record_hashes: z.array(z.string().regex(SHA256_REF_PATTERN)).optional().describe("Explicit list of 'sha256:<64-hex>' record hashes to summarize. Records not " +
29
29
  "in the local mirror are silently skipped (use trace to inspect dangling)."),
30
30
  focus: z.string().min(1).max(2000).optional().describe('Optional steering for the synthesis (e.g. "what decisions did I make", ' +
31
- '"why did I revise X", "what are the load-bearing claims"). Defaults to a ' +
31
+ '"why did I revise X", "which claims shaped the outcome"). Defaults to a ' +
32
32
  'general "summarize what the agent did and why" focus.'),
33
33
  max_records: z.number().int().min(1).max(200).optional().describe('Cap on records fed to the LLM, default 50. Records beyond the cap (after ' +
34
34
  'sorting by timestamp ascending) are skipped and counted in records_skipped. ' +
package/dist/prompt.js CHANGED
@@ -9,7 +9,7 @@ Each record has:
9
9
  Your job: produce a coherent narrative across the records that surfaces:
10
10
  - What the agent was doing (decisions, observations, revisions)
11
11
  - What informed what (causal chains via informed_by)
12
- - What's load-bearing vs incidental
12
+ - What shaped the outcome vs what was incidental
13
13
  - Honest gaps (when records are impoverished, say so; do not invent semantics)
14
14
 
15
15
  Cite specific records by short hash (first 12 chars of record_hash) when making claims.
@@ -38,7 +38,7 @@ export function buildUserMessage(records, focus) {
38
38
  }
39
39
  else {
40
40
  lines.push(`# Default focus`);
41
- lines.push('Summarize what the agent did and why, surfacing the load-bearing decisions and the causal chain.');
41
+ lines.push('Summarize what the agent did and why, surfacing the decisions that shaped the work and the causal chain.');
42
42
  }
43
43
  return lines.join('\n');
44
44
  }
package/package.json CHANGED
@@ -1,7 +1,21 @@
1
1
  {
2
2
  "name": "@atrib/summarize",
3
- "version": "0.4.6",
3
+ "version": "0.4.8",
4
4
  "description": "MCP server for atrib. Synthesizes a narrative across N records via an OpenAI-compatible LLM so agents read context, not raw record bytes.",
5
+ "author": "atrib <hello@atrib.dev>",
6
+ "keywords": [
7
+ "atrib",
8
+ "mcp",
9
+ "model-context-protocol",
10
+ "attribution",
11
+ "verifiable",
12
+ "agent",
13
+ "cognitive-primitive",
14
+ "summarization",
15
+ "llm",
16
+ "memory"
17
+ ],
18
+ "homepage": "https://atrib.dev",
5
19
  "license": "Apache-2.0",
6
20
  "type": "module",
7
21
  "main": "./dist/index.js",
@@ -11,7 +25,7 @@
11
25
  "dependencies": {
12
26
  "@modelcontextprotocol/sdk": "^1.29.0",
13
27
  "zod": "^3.25.76",
14
- "@atrib/mcp": "0.15.0"
28
+ "@atrib/mcp": "0.15.1"
15
29
  },
16
30
  "devDependencies": {
17
31
  "@types/node": "^25.9.1",