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.
package/bin/codex-devtools.cjs
CHANGED
|
@@ -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 :
|
|
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 =
|
|
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;
|
package/out/renderer/index.html
CHANGED
|
@@ -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-
|
|
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>
|