codex-devtools 0.1.10 → 0.1.11

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.
@@ -93,6 +93,7 @@ function runDesktop() {
93
93
  const child = spawn(electronBinary, [APP_ROOT, ...forwardedArgs], {
94
94
  stdio: 'inherit',
95
95
  env: process.env,
96
+ argv0: APP_DISPLAY_NAME,
96
97
  });
97
98
 
98
99
  child.on('error', (error) => {
@@ -240,6 +240,7 @@ function disposeServices() {
240
240
  }
241
241
  }
242
242
  electron.app.setName(APP_DISPLAY_NAME);
243
+ process.title = APP_DISPLAY_NAME;
243
244
  void electron.app.whenReady().then(() => {
244
245
  const iconPath = resolveAppIconPath();
245
246
  if (iconPath && process.platform === "darwin" && electron.app.dock) {
@@ -7142,6 +7142,7 @@ function resolveApi() {
7142
7142
  }
7143
7143
  return cachedHttpApi;
7144
7144
  }
7145
+ const isElectronMode = () => getWindowApi() !== null;
7145
7146
  const api = new Proxy({}, {
7146
7147
  get(_target, prop, receiver) {
7147
7148
  const impl = resolveApi();
@@ -7484,6 +7485,7 @@ function isCodexBootstrapMessage(content) {
7484
7485
  }
7485
7486
  const logger = createLogger("Store:sessionSlice");
7486
7487
  const PREVIEW_PREFETCH_LIMIT = 25;
7488
+ const DEFAULT_PREFETCH_PREVIEWS = isElectronMode();
7487
7489
  function normalizeFilePath(value) {
7488
7490
  return value.trim().replace(/\\/g, "/").replace(/\/+/g, "/");
7489
7491
  }
@@ -7527,7 +7529,7 @@ const createSessionSlice = (client2) => (set, get) => ({
7527
7529
  set({ sessions: [], activeSessionId: null });
7528
7530
  return;
7529
7531
  }
7530
- const shouldPrefetchPreviews = (_a = options == null ? void 0 : options.prefetchPreviews) != null ? _a : true;
7532
+ const shouldPrefetchPreviews = (_a = options == null ? void 0 : options.prefetchPreviews) != null ? _a : DEFAULT_PREFETCH_PREVIEWS;
7531
7533
  const isBackgroundRefresh = (_b = options == null ? void 0 : options.background) != null ? _b : false;
7532
7534
  if (!isBackgroundRefresh) {
7533
7535
  set({ sessionsLoading: true, sessionsError: null });
@@ -7734,7 +7736,7 @@ const createAppStore = (client2 = api) => create()((...args) => ({
7734
7736
  }));
7735
7737
  const useAppStore = createAppStore();
7736
7738
  const REFRESH_DEBOUNCE_MS = 120;
7737
- const FALLBACK_POLL_INTERVAL_MS = 15e3;
7739
+ const FALLBACK_POLL_INTERVAL_MS = 5e3;
7738
7740
  function initializeEventListeners(store = useAppStore, client2 = api) {
7739
7741
  let refreshTimer = null;
7740
7742
  let pollTimer = null;
@@ -7,7 +7,7 @@
7
7
  <link rel="icon" type="image/png" sizes="32x32" href="./assets/32x32-DQgygEFU.png" />
8
8
  <link rel="icon" type="image/png" sizes="16x16" href="./assets/16x16-B2_QkmoB.png" />
9
9
  <title>codex-devtools</title>
10
- <script type="module" crossorigin src="./assets/index-C1DUQHyp.js"></script>
10
+ <script type="module" crossorigin src="./assets/index-BEzdp8iI.js"></script>
11
11
  <link rel="stylesheet" crossorigin href="./assets/index-BTmVA30y.css">
12
12
  </head>
13
13
  <body>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "codex-devtools",
3
3
  "type": "module",
4
- "version": "0.1.10",
4
+ "version": "0.1.11",
5
5
  "description": "Desktop app for inspecting Codex session data",
6
6
  "license": "MIT",
7
7
  "author": {