@snoai/mem-claude 1.2.1 → 1.2.3
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/session-activity.js +1 -0
- package/dist/skill-runs.js +1 -0
- package/package.json +1 -1
package/dist/session-activity.js
CHANGED
|
@@ -80,6 +80,7 @@ export async function reportSessionActivity(cursor, input, hook, persist = async
|
|
|
80
80
|
if (folded.payload) {
|
|
81
81
|
const projectId = input.cwd ? detectProjectId(await workspaceRoot(input.cwd)) : undefined;
|
|
82
82
|
appendObserveLedgerRows(getSnoProfileDir(), [{
|
|
83
|
+
agent_id: "claude-code",
|
|
83
84
|
ts_ms: folded.payload.window_end_ms,
|
|
84
85
|
...(projectId === undefined ? {} : { project_id: projectId }),
|
|
85
86
|
event_type: "session.activity",
|
package/dist/skill-runs.js
CHANGED
|
@@ -91,6 +91,7 @@ export async function readSkillRuns(input) {
|
|
|
91
91
|
const { skills, failed, last } = await scanTranscript(await readFile(transcriptPath, "utf8"), configDir);
|
|
92
92
|
const projectId = input.cwd ? detectProjectId(await workspaceRoot(input.cwd)) : undefined;
|
|
93
93
|
return skills.map((skill, index) => ({
|
|
94
|
+
agent_id: "claude-code",
|
|
94
95
|
ts_ms: skill.ts,
|
|
95
96
|
...(projectId === undefined ? {} : { project_id: projectId }),
|
|
96
97
|
event_type: "skill.run",
|