@atrib/emit 0.4.3 → 0.4.4
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 +6 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -181,8 +181,12 @@ async function handleEmit({ input, key, queue }) {
|
|
|
181
181
|
});
|
|
182
182
|
const contextId = chain.contextId;
|
|
183
183
|
const chainRoot = chain.chainRoot;
|
|
184
|
-
if (chain.inheritedFrom === '
|
|
185
|
-
|
|
184
|
+
if (chain.inheritedFrom === 'fresh-orphan') {
|
|
185
|
+
// Per D072: caller passed no context_id, so the producer synthesized
|
|
186
|
+
// a fresh isolate rather than inheriting from the mirror tail. Surface
|
|
187
|
+
// this as a warning so operators can trace the runtime miswire that
|
|
188
|
+
// caused it (typically a Layer-2 hook that didn't thread session_id).
|
|
189
|
+
warnings.push(`synthesized orphan context_id ${contextId} (caller passed no context_id; fix runtime to thread session_id per D072)`);
|
|
186
190
|
}
|
|
187
191
|
let record;
|
|
188
192
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atrib/emit",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "MCP server for atrib. The producer-side cognitive primitive: lets agents sign explicit observations, annotations, and revisions beyond what middleware auto-signs.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"@noble/ed25519": "^2.3.0",
|
|
14
14
|
"@noble/hashes": "^1.8.0",
|
|
15
15
|
"zod": "^3.25.76",
|
|
16
|
-
"@atrib/mcp": "0.6.
|
|
16
|
+
"@atrib/mcp": "0.6.1"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/node": "^22.19.17",
|