viveworker 0.5.1 → 0.5.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viveworker",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Local mobile companion for Codex Desktop and Claude Desktop — approvals, code review, Moltbook drafts, and A2A (Agent-to-Agent) task relay on your LAN.",
5
5
  "author": "Yuta Hoshino <hoshino.lireneo@gmail.com>",
6
6
  "license": "MIT",
@@ -14564,7 +14564,12 @@ async function executeMoltbookDraftPost(draft, config, runtime, state) {
14564
14564
  const scoutState = rollScoutDayIfNeeded(await readScoutState());
14565
14565
  scoutState.sentToday += 1;
14566
14566
  markPostSeen(scoutState, draft.postId, "published");
14567
- recordComposeAttempt(scoutState, draft.postTitle || draft.postId, draft.postId, "reply");
14567
+ // Note: replies are tracked via sentToday + markPostSeen("published").
14568
+ // They intentionally do NOT flow through recordComposeAttempt because
14569
+ // `composedToday` / `recentComposeTitles` back the "本日の新規投稿数"
14570
+ // settings row, which is labelled for ORIGINAL posts only. Counting
14571
+ // replies there produced a misleading "6 / 3" over-quota display even
14572
+ // when the user only published one actual new post for the day.
14568
14573
  await writeScoutState(scoutState);
14569
14574
  }
14570
14575