INNER CODE UNIT · TypeScript

getPanelSession

steipete/summarize · apps/chrome-extension/src/entrypoints/sidepanel/main.ts:73

const getPanelSession = () => panelState.panelSession;
const updatePanelSession = (value: Partial<typeof panelState.panelSession>) => {
  patchPanelState(panelState, "panelSession", value);
};

const panelMessagingRuntime = createPanelMessagingRuntime({
  panelState,

  onMessage: (msg) => {
    handleBgMessage(msg);
  },
});
const { resolveLocalSlides, send } = panelMessagingRuntime;

const LINE_HEIGHT_STEP = 0.1;

const daemonHintRuntime = createDaemonHintRuntime({
  hintEl: dom.daemonHintEl,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…