codex-blocker 0.0.4 → 0.0.6

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/bin.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  DEFAULT_PORT,
4
4
  startServer
5
- } from "./chunk-7IRFKJUB.js";
5
+ } from "./chunk-FXDFFIXM.js";
6
6
 
7
7
  // src/bin.ts
8
8
  import { createInterface } from "readline";
@@ -242,15 +242,9 @@ function handleLine(line, fileState) {
242
242
  if (entryType === "event_msg" && innerTypeString === "user_message") {
243
243
  shouldMarkWorking = true;
244
244
  }
245
- if (entryType === "event_msg" && (innerTypeString === "agent_message" || innerTypeString === "turn_aborted")) {
245
+ if (entryType === "event_msg" && innerTypeString === "agent_message") {
246
246
  shouldMarkIdle = true;
247
247
  }
248
- if (entryType === "response_item" && innerTypeString === "message") {
249
- const role = innerPayload && typeof innerPayload === "object" ? innerPayload.role : void 0;
250
- if (role === "assistant") {
251
- shouldMarkIdle = true;
252
- }
253
- }
254
248
  } catch {
255
249
  }
256
250
  state.markCodexSessionSeen(sessionId, cwd);
package/dist/server.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  startServer
3
- } from "./chunk-7IRFKJUB.js";
3
+ } from "./chunk-FXDFFIXM.js";
4
4
  export {
5
5
  startServer
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codex-blocker",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "Block distracting websites unless Codex is actively running inference. Forked from Theo Browne's (T3) Claude Blocker",
5
5
  "author": "Adam Blumoff ",
6
6
  "repository": {