linkitty-desktop 0.17.0 → 0.17.3

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/README.md CHANGED
@@ -1,18 +1,35 @@
1
1
  # Linkitty Desktop
2
2
 
3
- [English](README.en.md) · 简体中文
3
+ English · [简体中文](README.zh-CN.md)
4
4
 
5
- 从[官网下载页](https://linkitty.spark-data.cn/#downloads)取得同版 CLI 和桌面 tarball,使用页面给出的配套安装命令;npm 公共仓库目前暂缓发布。
5
+ The desktop manager shares one background connection service with the Linkitty CLI. Install matching CLI and desktop tarballs from the [download page](https://linkitty.spark-data.cn/?lang=en#downloads), then launch:
6
6
 
7
- linkitty-desktop
8
- linkitty-desktop --lang zh
7
+ ## Published npm 0.17.0 and upgrades
9
8
 
10
- 桌面具有服务、插件市场、分享审批、账号与设备管理,并提供本机应用/网站接入。与 Linkitty CLI 共用账号和单个后台连接进程。退出窗口后连接继续;管理后台使用 linkitty service。
9
+ The immutable macOS Apple Silicon desktop package 0.17.0 is published and requires Node.js 22+. It installs the exact `linkitty=0.17.0` dependency:
11
10
 
12
- macOS 首次接入 Codex 时,请先完成任务并退出正在独立运行的 Codex,再点击“接入”;成功后正常打开 Codex。桌面自带与 CLI 同版的共享服务组件,无需先安装 CLI,不会为现有会话另起执行器。
11
+ ```sh
12
+ npm install -g linkitty-desktop@0.17.0
13
+ ```
13
14
 
14
- 安装包仅提供已构建的平台制品;公开发布、系统签名和各平台实机结果以发布记录为准。
15
+ For existing installations upgraded with npm12, update and rebuild both components:
15
16
 
16
- 界面支持中文、英文、日文、俄文。`--lang zh|en|ja|ru` 保存与 CLI 共用的语言偏好,已运行的桌面程序在下次启动时读取。语言与账号地域独立。
17
+ ```sh
18
+ npm install -g linkitty@0.17.0 linkitty-desktop@0.17.0
19
+ npm rebuild -g linkitty linkitty-desktop --allow-scripts=linkitty,linkitty-desktop
20
+ ```
17
21
 
18
- macOS 安装器在 `~/Applications/Linkitty.app` 创建受管链接,不覆盖其他来源的既有程序。当前原生制品已验证 macOS Apple Silicon;Linux、Windows 桌面分发需在对应系统构建与验收。缺少目标制品时安装明确失败。
22
+ Use the same custom `--prefix` for installation and rebuilding. New npm12 installations verify/extract on first native use or desktop launch. See publication acceptance. New source features require a matching verified release. Use matching verified CLI and desktop payloads.
23
+
24
+ ```sh
25
+ linkitty-desktop
26
+ linkitty-desktop --lang en
27
+ ```
28
+
29
+ Sign in, connect a local service and manage plugins, access and sharing. The interface supports Chinese, English, Japanese and Russian. `--lang zh|en|ja|ru` saves a preference shared with the CLI; an existing application reads it at next launch. Account region is configured separately.
30
+
31
+ On macOS, installation creates a managed link at `~/Applications/Linkitty.app` without overwriting unrelated applications. Closing the window leaves the background connection running; sleep, network loss or stopping the service makes the computer unavailable.
32
+
33
+ Codex session sharing supports macOS. Finish tasks and quit independently running Codex before the first connection; open it normally after success. Model sign-in and existing agent permissions remain with your agent.
34
+
35
+ Native distribution currently targets macOS Apple Silicon. Linux and Windows desktop builds require verification on those systems; missing payloads fail explicitly. The macOS App is ad-hoc signed and not notarized. Keep system security protections enabled.
@@ -0,0 +1,35 @@
1
+ # Linkitty 桌面端
2
+
3
+ [English](README.md) · 简体中文
4
+
5
+ 桌面管理端与 Linkitty CLI 共用一个后台连接服务。从[下载页](https://linkitty.spark-data.cn/?lang=zh#downloads)安装匹配的 CLI 和桌面 tarball,然后启动:
6
+
7
+ ## 已发布的 npm 0.17.0 与升级
8
+
9
+ macOS Apple Silicon 桌面包0.17.0不可变包已发布,需要Node.js 22+,自动安装精确的 `linkitty=0.17.0` 依赖:
10
+
11
+ ```sh
12
+ npm install -g linkitty-desktop@0.17.0
13
+ ```
14
+
15
+ 已有安装使用npm12升级时同步更新并重建两项组件:
16
+
17
+ ```sh
18
+ npm install -g linkitty@0.17.0 linkitty-desktop@0.17.0
19
+ npm rebuild -g linkitty linkitty-desktop --allow-scripts=linkitty,linkitty-desktop
20
+ ```
21
+
22
+ 安装和重建的自定义 `--prefix` 必须相同。npm12新装在首次原生操作或桌面启动时校验解压,见发行验收。新源码功能须使用相匹配的已验证发行,CLI和桌面须使用匹配的已验证制品。
23
+
24
+ ```sh
25
+ linkitty-desktop
26
+ linkitty-desktop --lang zh
27
+ ```
28
+
29
+ 登录后接入本机服务,管理插件、授权和分享。界面支持中文、英文、日文、俄文。`--lang zh|en|ja|ru` 保存与 CLI 共用的语言,已有应用下次启动时读取;账号地域单独配置。
30
+
31
+ macOS 安装在 `~/Applications/Linkitty.app` 创建受管理链接,不覆盖无关应用。关闭窗口后后台连接继续;休眠、断网或停止服务时不可达。
32
+
33
+ Codex 会话共用支持 macOS。首次接入前完成任务并退出独立运行的 Codex,成功后正常打开。模型登录和既有执行权限仍由 Agent 管理。
34
+
35
+ 原生发行目前面向 macOS Apple Silicon;Linux 和 Windows 桌面构建需对应系统验证,缺少制品时明确失败。macOS App 采用临时签名,尚未公证,请保持系统安全保护开启。
@@ -1,5 +1,5 @@
1
- # 第三方软件 / Third-party software
1
+ # Third-party software
2
2
 
3
- 原生组件使用 Rust/iroh、Flutter 及各自依赖,许可证不因 Linkitty 包名改变。制品内 licenses 目录保留对应通知。Linkitty 自有代码未另行授予开源许可。
3
+ [简体中文](THIRD_PARTY_NOTICES.zh-CN.md)
4
4
 
5
5
  Native components use Rust/iroh, Flutter and their dependencies. Their licenses are unchanged by the Linkitty package name; corresponding notices are included in the payload licenses directory. No open-source license is granted for Linkitty first-party code at this stage.
@@ -0,0 +1,5 @@
1
+ # 第三方软件
2
+
3
+ [English](THIRD_PARTY_NOTICES.md)
4
+
5
+ 原生组件使用 Rust/iroh、Flutter 及各自依赖,许可证不因 Linkitty 包名改变。制品内 licenses 目录保留对应通知。Linkitty 自有代码未另行授予开源许可。
package/artifacts.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "darwin-arm64": {
3
3
  "archive": "payload/darwin-arm64.tgz",
4
- "sha256": "98612bfb776d509c54dcef15bbe6e0bf077f12d84e48d72d2b975b5b0661e4ed",
4
+ "sha256": "f6fb71d90449f966a4cc6f0dc95c810027bc111cb313112d0c45fce31827c60c",
5
5
  "executable": "Linkitty.app"
6
6
  }
7
7
  }
@@ -4,15 +4,13 @@ const {t,setLanguage}=require("linkitty/lib/i18n.cjs");
4
4
  const fs=require('node:fs');
5
5
  const path=require('node:path');
6
6
  const {spawn}=require('node:child_process');
7
- const {home,install}=require('linkitty');
7
+ const {ensureInstalled}=require('linkitty');
8
8
  try{
9
9
  const languageIndex=process.argv.indexOf('--lang');
10
10
  if(languageIndex>=0)setLanguage(process.argv[languageIndex+1]);
11
11
  if(process.argv.includes('--version')){console.log(require('../package.json').version);process.exit(0);}
12
12
  if(process.argv.includes('--help')){console.log(t('linkitty-desktop:打开桌面客户端;连接管理与 linkitty CLI 共用。'));process.exit(0);}
13
- const file=path.join(home(),'config','desktop.json');
14
- if(!fs.existsSync(file))install(path.resolve(__dirname,'..'),'linkitty-desktop');
15
- const {executable}=JSON.parse(fs.readFileSync(file,'utf8'));
13
+ const {executable}=ensureInstalled(path.resolve(__dirname,'..'),'linkitty-desktop');
16
14
  if(!path.isAbsolute(executable)||!fs.existsSync(executable))throw new Error(t('桌面程序缺失,请重新安装。'));
17
15
  const child=process.platform==='darwin'
18
16
  ?spawn('/usr/bin/open',['-a',executable],{stdio:'ignore',detached:true})
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkitty-desktop",
3
- "version": "0.17.0",
3
+ "version": "0.17.3",
4
4
  "description": "Linkitty 桌面管理客户端与本机服务接入",
5
5
  "license": "UNLICENSED",
6
6
  "engines": {
@@ -16,12 +16,13 @@
16
16
  "payload",
17
17
  "README.md",
18
18
  "THIRD_PARTY_NOTICES.md",
19
- "README.en.md"
19
+ "THIRD_PARTY_NOTICES.zh-CN.md",
20
+ "README.zh-CN.md"
20
21
  ],
21
22
  "scripts": {
22
23
  "postinstall": "node lib/install.cjs"
23
24
  },
24
25
  "dependencies": {
25
- "linkitty": "0.17.0"
26
+ "linkitty": "0.17.3"
26
27
  }
27
28
  }
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/payload/darwin-arm64.tgz
3
- size: 49573348 bytes
4
- sha256: 98612bfb776d509c54dcef15bbe6e0bf077f12d84e48d72d2b975b5b0661e4ed
3
+ size: 50052414 bytes
4
+ sha256: f6fb71d90449f966a4cc6f0dc95c810027bc111cb313112d0c45fce31827c60c
package/README.en.md DELETED
@@ -1,18 +0,0 @@
1
- # Linkitty Desktop
2
-
3
- English · [简体中文](README.md)
4
-
5
- The Linkitty desktop manager shares one background connection service with the `linkitty` CLI. Install the matching CLI and desktop tarballs from the [official download page](https://linkitty.spark-data.cn/?lang=en#downloads), then open the application:
6
-
7
- ```sh
8
- linkitty-desktop
9
- linkitty-desktop --lang en
10
- ```
11
-
12
- The interface supports Chinese, English, Japanese and Russian. `--lang zh|en|ja|ru` saves a preference shared with the CLI; an already running application reads it on its next launch. Account region is configured separately.
13
-
14
- On macOS, installation places a managed link under `~/Applications/Linkitty.app`. Existing applications that are not managed by Linkitty are not overwritten. Closing the desktop window leaves the background connection running; sleep, loss of network or stopping the background service makes the computer unavailable.
15
-
16
- Codex session sharing currently supports macOS. Before first connection, finish your task and exit independently running Codex; open it normally after connection succeeds. Your own model sign-in and existing agent permissions remain in effect.
17
-
18
- Published native artifacts are verified on macOS Apple Silicon. Linux and Windows desktop distribution requires builds and verification on those systems. A missing target artifact causes installation to fail explicitly.