hinacode 0.1.0-alpha.13 → 0.1.0-alpha.15

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.
@@ -4,7 +4,7 @@ import { homedir, hostname } from "node:os";
4
4
  import { dirname, delimiter, basename, join } from "node:path";
5
5
  import { fileURLToPath } from "node:url";
6
6
  import QRCode from "qrcode";
7
- import { S as Struct, e as effect, U as Updates, g as gen, u as unsupported, E as Events, t as tryPromise, d as decodeUnknownSync, m as make$1, s as suspend, r as repeat, a as spaced, f as forkScoped, T as Threads, W as Worktrees, b as Terminals, c as forEach, o as orElseSucceed, h as sync, i as isThreadBusy, j as String$1, v as void_, k as andThen, l as matchEffect, n as forkDetach, p as flatMap, q as UsageError, w as USAGE, x as parseCommand, y as serveConfig, z as hydratePath, A as make$2, B as makeAppLayer, C as autoUpdate, D as layer$1, F as provideMerge, G as mergeAll, H as layer$2, I as layer$3, J as provide, K as noKeyring, L as layer$4, M as succeed, N as MinimumLogLevel, O as Settings, R as RemoteAccess, P as pairingUrl, Q as isPortInUse, V as restartCommand } from "./chunks/shellPath-Ccnlw2g1.js";
7
+ import { S as Struct, e as effect, U as Updates, g as gen, u as unsupported, E as Events, t as tryPromise, d as decodeUnknownSync, m as make$1, s as suspend, r as repeat, a as spaced, f as forkScoped, T as Threads, W as Worktrees, b as Terminals, c as forEach, o as orElseSucceed, h as sync, i as isThreadBusy, j as String$1, v as void_, k as andThen, l as matchEffect, n as forkDetach, p as flatMap, q as UsageError, w as USAGE, x as parseCommand, y as serveConfig, z as hydratePath, A as make$2, B as makeAppLayer, C as autoUpdate, D as layer$1, F as provideMerge, G as mergeAll, H as layer$2, I as layer$3, J as provide, K as noKeyring, L as layer$4, M as succeed, N as MinimumLogLevel, O as Settings, R as RemoteAccess, P as pairingUrl, Q as isPortInUse, V as restartCommand } from "./chunks/shellPath-Bu35qy-f.js";
8
8
  import { execFile } from "node:child_process";
9
9
  import { promisify } from "node:util";
10
10
  import "node:crypto";
package/out/main/index.js CHANGED
@@ -2,7 +2,7 @@ import { existsSync, renameSync } from "node:fs";
2
2
  import { join, delimiter } from "node:path";
3
3
  import { pathToFileURL } from "node:url";
4
4
  import { Notification, nativeImage, BrowserWindow, ipcMain, app, dialog, shell, protocol, safeStorage, powerMonitor, Menu, net, session } from "electron";
5
- import { h as sync, X as catchDefect, Y as succeed, Z as callback, _ as timeoutOrElse, $ as seconds, a0 as TaggedError, j as String$1, a1 as promise, t as tryPromise, S as Struct, a2 as optional, a3 as RpcCall, a4 as decodeUnknownOption, a5 as EVENT_CHANNEL, a6 as RPC_CHANNEL, a7 as isTrustedSender, g as gen, a8 as getOrUndefined, a9 as dispatch, aa as Environments, p as flatMap, ab as catch_, ac as all$1, ad as map, ae as decodeUnknownEffect, af as RpcMethods, ag as inlineSource, u as unsupported, E as Events, ah as runFork, ai as logWarning, r as repeat, a as spaced, f as forkScoped, U as Updates, s as suspend, e as effect, v as void_, aj as ignore, z as hydratePath, ak as ATTACHMENT_PROTOCOL, al as GITHUB_ASSET_PROTOCOL, am as PROJECT_FILE_PROTOCOL, M as succeed$1, an as Keyring, A as make$1, B as makeAppLayer, ao as isInside, ap as githubAssetId, aq as GitHub, ar as externalUrl, as as projectFileRequest, at as Files, au as BROWSER_PARTITION, av as lockDownWebview, aw as isAllowedNavigation } from "./chunks/shellPath-Ccnlw2g1.js";
5
+ import { h as sync, X as catchDefect, Y as succeed, Z as callback, _ as timeoutOrElse, $ as seconds, a0 as TaggedError, j as String$1, a1 as promise, t as tryPromise, S as Struct, a2 as optional, a3 as RpcCall, a4 as decodeUnknownOption, a5 as EVENT_CHANNEL, a6 as RPC_CHANNEL, a7 as isTrustedSender, g as gen, a8 as getOrUndefined, a9 as dispatch, aa as Environments, p as flatMap, ab as catch_, ac as all$1, ad as map, ae as decodeUnknownEffect, af as RpcMethods, ag as inlineSource, u as unsupported, E as Events, ah as runFork, ai as logWarning, r as repeat, a as spaced, f as forkScoped, U as Updates, s as suspend, e as effect, v as void_, aj as ignore, z as hydratePath, ak as ATTACHMENT_PROTOCOL, al as GITHUB_ASSET_PROTOCOL, am as PROJECT_FILE_PROTOCOL, M as succeed$1, an as Keyring, A as make$1, B as makeAppLayer, ao as isInside, ap as githubAssetId, aq as GitHub, ar as externalUrl, as as projectFileRequest, at as Files, au as BROWSER_PARTITION, av as lockDownWebview, aw as isAllowedNavigation } from "./chunks/shellPath-Bu35qy-f.js";
6
6
  import { createRequire } from "node:module";
7
7
  import { execFile, spawn } from "node:child_process";
8
8
  import { access } from "node:fs/promises";
@@ -75,6 +75,9 @@ const routes = {
75
75
  "github.auth": named,
76
76
  "github.pullRequest": named,
77
77
  "github.pullRequestDetail": named,
78
+ "github.pullRequestFiles": named,
79
+ "pullRequestGuides.get": named,
80
+ "pullRequestGuides.retry": named,
78
81
  "github.merge": named,
79
82
  "github.close": named,
80
83
  "vm.host": named,
@@ -117,6 +120,8 @@ const routes = {
117
120
  "search.files": thread,
118
121
  "subagents.list": thread,
119
122
  "subagents.stop": thread,
123
+ "backgroundTasks.list": thread,
124
+ "backgroundTasks.stop": thread,
120
125
  "pullRequests.list": thread,
121
126
  "pullRequests.unlink": thread,
122
127
  "pullRequests.create": thread,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hinacode",
3
- "version": "0.1.0-alpha.13",
3
+ "version": "0.1.0-alpha.15",
4
4
  "description": "Run coding agents on this machine and drive them from the HinaCode desktop or phone app",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -17,7 +17,7 @@
17
17
  "type": "module",
18
18
  "main": "./out/main/index.js",
19
19
  "scripts": {
20
- "dev": "node scripts/dev-app-identity.mjs && node scripts/build-resource-monitor.mjs && electron-vite dev",
20
+ "dev": "node scripts/dev-app-identity.ts && node scripts/build-resource-monitor.ts && electron-vite dev",
21
21
  "dev:markdown": "HINACODE_MOCK_CLAUDE=markdown HINACODE_USER_DATA=/tmp/kk-markdown pnpm dev",
22
22
  "build": "electron-vite build",
23
23
  "preview": "electron-vite preview",
@@ -25,10 +25,10 @@
25
25
  "start:xvfb": "DISPLAY=:99 electron-vite preview -- --no-sandbox --disable-gpu --remote-debugging-port=9222",
26
26
  "serve": "electron-vite build && node out/main/daemon.js serve",
27
27
  "paraglide": "paraglide-js compile --project ./project.inlang --outdir ./src/renderer/paraglide --strategy globalVariable baseLocale --silent",
28
- "typecheck": "pnpm paraglide && tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tsconfig.web.json && tsc --noEmit -p tsconfig.web-test.json && tsc --noEmit -p tsconfig.e2e.json",
28
+ "typecheck": "pnpm paraglide && tsrs --noEmit -p tsconfig.node.json && tsrs --noEmit -p tsconfig.web.json && tsrs --noEmit -p tsconfig.web-test.json && tsrs --noEmit -p tsconfig.e2e.json && tsrs --noEmit -p tsconfig.scripts.json",
29
29
  "lint": "oxlint",
30
- "check:specs": "node scripts/tlc.mjs",
31
- "chart:thread": "node scripts/thread-chart.mjs",
30
+ "check:specs": "node scripts/tlc.ts",
31
+ "chart:thread": "node scripts/thread-chart.ts",
32
32
  "resource-monitor": "tools/resource-monitor/bin/resource-monitor",
33
33
  "format": "oxfmt",
34
34
  "test": "vitest run",
@@ -68,6 +68,7 @@
68
68
  "@novnc/novnc": "1.7.0",
69
69
  "@pierre/diffs": "1.5.2",
70
70
  "@playwright/test": "1.64.0",
71
+ "@pulls.review/core": "0.3.4",
71
72
  "@tailwindcss/vite": "4.3.3",
72
73
  "@tanstack/react-hotkeys": "0.13.0",
73
74
  "@tanstack/react-router": "1.170.42",
@@ -82,7 +83,7 @@
82
83
  "babel-plugin-react-compiler": "1.0.0",
83
84
  "class-variance-authority": "^0.7.1",
84
85
  "cn": "^0.4.0",
85
- "electron": "44.7.0",
86
+ "electron": "44.9.3",
86
87
  "electron-builder": "26.17.0",
87
88
  "electron-vite": "5.0.0",
88
89
  "fuzzysort": "4.0.2",
@@ -101,6 +102,7 @@
101
102
  "shadcn": "4.21.4",
102
103
  "sonner": "2.0.8",
103
104
  "tailwindcss": "4.3.3",
105
+ "tsrs": "0.18.0-ts7.1.0-dev.20260929",
104
106
  "tw-shimmer": "^0.4.13",
105
107
  "typescript": "6.0.3",
106
108
  "vite": "7.3.7",
@@ -108,7 +110,7 @@
108
110
  "zustand": "5.0.15"
109
111
  },
110
112
  "engines": {
111
- "node": ">=24"
113
+ "node": "^24.22.1 || >=26.12.1"
112
114
  },
113
115
  "packageManager": "pnpm@12.10.1"
114
116
  }