hinacode 0.1.0-alpha.10 → 0.1.0-alpha.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.
@@ -42666,7 +42666,8 @@ const handlers = {
42666
42666
  "notifications.askPermission": ({ title, body: body2 }, desktop) => desktop?.askNotificationPermission(title, body2) ?? succeed$3("noAnswer"),
42667
42667
  "models.list": ({ provider }) => AgentRunner.use((runner) => runner.listModels(provider)),
42668
42668
  "agents.account": ({ provider, accountId }) => AgentLogins.use((logins) => logins.account(provider, accountId)),
42669
- "agents.updates": () => availableUpdates,
42669
+ // e2e runs on machines with real, possibly outdated CLIs, whose update toast would cover the UI under test.
42670
+ "agents.updates": () => process.env["HINACODE_SKIP_AGENT_UPDATES"] ? succeed$3([]) : availableUpdates,
42670
42671
  "agents.update": ({ provider }) => installUpdate(provider),
42671
42672
  "limits.list": () => AgentRunner.use((runner) => runner.limits),
42672
42673
  "accounts.list": () => AgentAccounts.use((accounts) => accounts.list),
@@ -2,7 +2,7 @@ import { mkdirSync, readlinkSync, writeFileSync, readFileSync, rmSync } from "no
2
2
  import { createRequire } from "node:module";
3
3
  import { homedir, hostname } from "node:os";
4
4
  import { join } from "node:path";
5
- import { s as serveConfig, h as hydratePath, m as make, a as makeAppLayer, b as succeed, u as unsupported, U as Updates, n as noKeyring, R as RemoteAccess, p as pairingUrl, v as void_ } from "./chunks/shellPath-CTpvrcAe.js";
5
+ import { s as serveConfig, h as hydratePath, m as make, a as makeAppLayer, b as succeed, u as unsupported, U as Updates, n as noKeyring, R as RemoteAccess, p as pairingUrl, v as void_ } from "./chunks/shellPath-D5HLkjJ4.js";
6
6
  import "node:crypto";
7
7
  import "node:url";
8
8
  import "node:stream";
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, Menu, net, session } from "electron";
5
- import { c as sync, d as catchDefect, e as succeed, f as callback, t as timeoutOrElse, g as seconds, T as TaggedError, S as String$1, i as promise, j as tryPromise, k as Struct, o as optional, l as RpcCall, q as decodeUnknownOption, E as EVENT_CHANNEL, r as RPC_CHANNEL, w as isTrustedSender, x as gen, y as getOrUndefined, z as dispatch, A as Environments, B as flatMap, C as catch_, D as all$1, F as map, G as decodeUnknownEffect, H as RpcMethods, I as inlineSource, u as unsupported, J as Events, K as runFork, L as logWarning, M as repeat, N as spaced, O as forkScoped, U as Updates, P as suspend, Q as effect, v as void_, V as ignore, h as hydratePath, W as ATTACHMENT_PROTOCOL, X as GITHUB_ASSET_PROTOCOL, Y as PROJECT_FILE_PROTOCOL, b as succeed$1, Z as Keyring, m as make$1, a as makeAppLayer, _ as isInside, $ as githubAssetId, a0 as GitHub, a1 as externalUrl, a2 as projectFileRequest, a3 as Files, a4 as BROWSER_PARTITION, a5 as lockDownWebview, a6 as isAllowedNavigation } from "./chunks/shellPath-CTpvrcAe.js";
5
+ import { c as sync, d as catchDefect, e as succeed, f as callback, t as timeoutOrElse, g as seconds, T as TaggedError, S as String$1, i as promise, j as tryPromise, k as Struct, o as optional, l as RpcCall, q as decodeUnknownOption, E as EVENT_CHANNEL, r as RPC_CHANNEL, w as isTrustedSender, x as gen, y as getOrUndefined, z as dispatch, A as Environments, B as flatMap, C as catch_, D as all$1, F as map, G as decodeUnknownEffect, H as RpcMethods, I as inlineSource, u as unsupported, J as Events, K as runFork, L as logWarning, M as repeat, N as spaced, O as forkScoped, U as Updates, P as suspend, Q as effect, v as void_, V as ignore, h as hydratePath, W as ATTACHMENT_PROTOCOL, X as GITHUB_ASSET_PROTOCOL, Y as PROJECT_FILE_PROTOCOL, b as succeed$1, Z as Keyring, m as make$1, a as makeAppLayer, _ as isInside, $ as githubAssetId, a0 as GitHub, a1 as externalUrl, a2 as projectFileRequest, a3 as Files, a4 as BROWSER_PARTITION, a5 as lockDownWebview, a6 as isAllowedNavigation } from "./chunks/shellPath-D5HLkjJ4.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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hinacode",
3
- "version": "0.1.0-alpha.10",
3
+ "version": "0.1.0-alpha.11",
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": {