@zerwiz/sessrumnir 0.1.23 → 0.1.25

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/out/main/index.js CHANGED
@@ -5200,7 +5200,7 @@ function loadEffectiveRules(cwd, globalPath, options) {
5200
5200
  return { rules: [], source: "none", ...workspaceError ? { error: workspaceError } : {} };
5201
5201
  }
5202
5202
  const AGENT_ENGINE_LABELS = {
5203
- pi: "Pi",
5203
+ pi: "Brokk",
5204
5204
  omp: "OMP"
5205
5205
  };
5206
5206
  const DEFAULT_AGENT_ENGINE_LABEL = AGENT_ENGINE_LABELS.pi;
@@ -9200,7 +9200,7 @@ function registerSystemHandlers(ctx) {
9200
9200
  return activityStatsStore.computeStats();
9201
9201
  });
9202
9202
  }
9203
- const UPDATE_REPO = "FaqFirebase/pi-desktop";
9203
+ const UPDATE_REPO = "zerwiz/sessrumnir";
9204
9204
  const UPDATE_CHECK_TIMEOUT_MS = 8e3;
9205
9205
  async function checkForUpdate() {
9206
9206
  const currentVersion = electron.app.getVersion();
@@ -9209,7 +9209,7 @@ async function checkForUpdate() {
9209
9209
  const controller = new AbortController();
9210
9210
  const timer = setTimeout(() => controller.abort(), UPDATE_CHECK_TIMEOUT_MS);
9211
9211
  const res = await fetch(`https://api.github.com/repos/${UPDATE_REPO}/releases?per_page=10`, {
9212
- headers: { Accept: "application/vnd.github+json", "User-Agent": "Pi-Desktop" },
9212
+ headers: { Accept: "application/vnd.github+json", "User-Agent": "Sessrumnir" },
9213
9213
  signal: controller.signal
9214
9214
  });
9215
9215
  clearTimeout(timer);
@@ -9320,7 +9320,13 @@ async function collectDiagnostics(workspaceManager2) {
9320
9320
  return {
9321
9321
  generatedAt: Date.now(),
9322
9322
  app: {
9323
- version: electron.app.getVersion(),
9323
+ version: (() => {
9324
+ try {
9325
+ return require("../../package.json").version;
9326
+ } catch {
9327
+ return electron.app.getVersion();
9328
+ }
9329
+ })(),
9324
9330
  electron: process.versions.electron ?? "unknown",
9325
9331
  chrome: process.versions.chrome ?? "unknown",
9326
9332
  node: process.versions.node ?? "unknown",
@@ -4107,10 +4107,12 @@
4107
4107
  }
4108
4108
 
4109
4109
  .ember-bg {
4110
- z-index: -1;
4110
+ z-index: 0;
4111
4111
  pointer-events: none;
4112
- opacity: .55;
4112
+ opacity: .6;
4113
4113
  mix-blend-mode: screen;
4114
+ width: 100vw;
4115
+ height: 100vh;
4114
4116
  position: fixed;
4115
4117
  inset: 0;
4116
4118
  }
@@ -20829,7 +20829,7 @@ function processStatusLabel(status2, t2) {
20829
20829
  }
20830
20830
  }
20831
20831
  const AGENT_ENGINE_LABELS = {
20832
- pi: "Pi",
20832
+ pi: "Brokk",
20833
20833
  omp: "OMP"
20834
20834
  };
20835
20835
  const DEFAULT_AGENT_ENGINE_LABEL = AGENT_ENGINE_LABELS.pi;
@@ -21157,7 +21157,7 @@ function StatusPopover() {
21157
21157
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "px-4 py-2 border-t border-border flex items-center justify-between text-[10px] text-faint", children: [
21158
21158
  /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { children: [
21159
21159
  "v",
21160
- "0.1.23"
21160
+ "0.1.25"
21161
21161
  ] }),
21162
21162
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
21163
21163
  "button",
@@ -10,8 +10,8 @@
10
10
  <link rel="icon" type="image/svg+xml" href="./assets/ymir-mark-kY-7e1x6.svg" />
11
11
  <title>Sessrúmnir</title>
12
12
  <script src="./theme-boot.js"></script>
13
- <script type="module" crossorigin src="./assets/index-BJJuWz5h.js"></script>
14
- <link rel="stylesheet" crossorigin href="./assets/index-BDCZuN3N.css">
13
+ <script type="module" crossorigin src="./assets/index-gwwSytS5.js"></script>
14
+ <link rel="stylesheet" crossorigin href="./assets/index-CbSna89q.css">
15
15
  </head>
16
16
  <body class="bg-app text-primary antialiased">
17
17
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zerwiz/sessrumnir",
3
- "version": "0.1.23",
3
+ "version": "0.1.25",
4
4
  "description": "Desktop GUI frontend for the Pi coding agent",
5
5
  "main": "out/main/index.js",
6
6
  "desktopName": "pi-desktop.desktop",
@@ -72,7 +72,9 @@ export async function collectDiagnostics(
72
72
  return {
73
73
  generatedAt: Date.now(),
74
74
  app: {
75
- version: app.getVersion(),
75
+ version: (() => {
76
+ try { return require('../../package.json').version } catch { return app.getVersion() }
77
+ })(),
76
78
  electron: process.versions.electron ?? 'unknown',
77
79
  chrome: process.versions.chrome ?? 'unknown',
78
80
  node: process.versions.node ?? 'unknown',
@@ -4,7 +4,7 @@ import { IPC_CHANNELS } from '../../shared/ipc-contracts'
4
4
  import { isNewerVersion } from '../../shared/version-compare'
5
5
  import { appLog } from '../app-log'
6
6
 
7
- const UPDATE_REPO = 'FaqFirebase/pi-desktop'
7
+ const UPDATE_REPO = 'zerwiz/sessrumnir'
8
8
  const UPDATE_CHECK_TIMEOUT_MS = 8000
9
9
 
10
10
  interface GithubRelease {
@@ -24,7 +24,7 @@ async function checkForUpdate(): Promise<UpdateCheckResult> {
24
24
  const controller = new AbortController()
25
25
  const timer = setTimeout(() => controller.abort(), UPDATE_CHECK_TIMEOUT_MS)
26
26
  const res = await fetch(`https://api.github.com/repos/${UPDATE_REPO}/releases?per_page=10`, {
27
- headers: { Accept: 'application/vnd.github+json', 'User-Agent': 'Pi-Desktop' },
27
+ headers: { Accept: 'application/vnd.github+json', 'User-Agent': 'Sessrumnir' },
28
28
  signal: controller.signal,
29
29
  })
30
30
  clearTimeout(timer)
@@ -378,5 +378,5 @@
378
378
  at build time, so they can't live here. */
379
379
 
380
380
  /* The hearth — embers rising over the cloth. */
381
- .ember-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55; mix-blend-mode: screen; }
381
+ .ember-bg { position: fixed; inset: 0; z-index: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: 0.6; mix-blend-mode: screen; }
382
382
  html, body { background-color: var(--app, #0e0c09); }
@@ -10,7 +10,7 @@ import type { AgentEngineKind } from './ipc-contracts'
10
10
  * "OMP" when OMP is the engine.
11
11
  */
12
12
  const AGENT_ENGINE_LABELS: Record<AgentEngineKind, string> = {
13
- pi: 'Pi',
13
+ pi: 'Brokk',
14
14
  omp: 'OMP',
15
15
  }
16
16