clawkit-ai 1.1.0 → 1.1.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/sync.mjs +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawkit-ai",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Transform your OpenClaw agent into a production-ready AI assistant with memory, skills, and a dashboard",
5
5
  "type": "module",
6
6
  "bin": {
package/src/sync.mjs CHANGED
@@ -414,6 +414,16 @@ function gatherState(workspace) {
414
414
  return true;
415
415
  }).slice(0, 20);
416
416
 
417
+ // Agent activity status
418
+ const statusFile = join(workspace, 'logs', 'agent-status.txt');
419
+ if (existsSync(statusFile)) {
420
+ state.agentActivity = readFileSync(statusFile, 'utf8').trim().slice(0, 100);
421
+ } else if (state.recentActivity.length > 0) {
422
+ state.agentActivity = state.recentActivity[0].message.slice(0, 80);
423
+ } else {
424
+ state.agentActivity = 'Waiting for instructions';
425
+ }
426
+
417
427
  // --- Token Usage & Cost ---
418
428
  state.usage = { inputTokens: 0, outputTokens: 0, contextUsed: 0, contextMax: 0, costEstimate: '', model: '', compactions: 0 };
419
429