linkitty-desktop 0.17.0 → 0.17.4
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 +26 -9
- package/README.zh-CN.md +35 -0
- package/THIRD_PARTY_NOTICES.md +2 -2
- package/THIRD_PARTY_NOTICES.zh-CN.md +5 -0
- package/artifacts.json +1 -1
- package/bin/linkitty-desktop.cjs +2 -4
- package/package.json +5 -4
- package/payload/darwin-arm64.tgz +2 -2
- package/README.en.md +0 -18
package/README.md
CHANGED
|
@@ -1,18 +1,35 @@
|
|
|
1
1
|
# Linkitty Desktop
|
|
2
2
|
|
|
3
|
-
[
|
|
3
|
+
English · [简体中文](README.zh-CN.md)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The desktop manager shares one background connection service with the Linkitty CLI. Install matching CLI and desktop packages from npm, then launch:
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
linkitty-desktop --lang zh
|
|
7
|
+
## Published npm 0.17.4 and upgrades
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
The immutable macOS Apple Silicon desktop package 0.17.4 is published and requires Node.js 22+. It installs the exact `linkitty=0.17.4` dependency:
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
```sh
|
|
12
|
+
npm install -g linkitty-desktop@0.17.4
|
|
13
|
+
```
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
For existing installations upgraded with npm12, update and rebuild both components:
|
|
15
16
|
|
|
16
|
-
|
|
17
|
+
```sh
|
|
18
|
+
npm install -g linkitty@0.17.4 linkitty-desktop@0.17.4
|
|
19
|
+
npm rebuild -g linkitty linkitty-desktop --allow-scripts=linkitty,linkitty-desktop
|
|
20
|
+
```
|
|
17
21
|
|
|
18
|
-
|
|
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.
|
package/README.zh-CN.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Linkitty 桌面端
|
|
2
|
+
|
|
3
|
+
[English](README.md) · 简体中文
|
|
4
|
+
|
|
5
|
+
桌面管理端与 Linkitty CLI 共用一个后台连接服务。从 npm 安装匹配的 CLI 和桌面包,然后启动:
|
|
6
|
+
|
|
7
|
+
## 已发布的 npm 0.17.4 与升级
|
|
8
|
+
|
|
9
|
+
macOS Apple Silicon 桌面包0.17.4不可变包已发布,需要Node.js 22+,自动安装精确的 `linkitty=0.17.4` 依赖:
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
npm install -g linkitty-desktop@0.17.4
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
已有安装使用npm12升级时同步更新并重建两项组件:
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
npm install -g linkitty@0.17.4 linkitty-desktop@0.17.4
|
|
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 采用临时签名,尚未公证,请保持系统安全保护开启。
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Third-party software
|
|
2
2
|
|
|
3
|
-
|
|
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.
|
package/artifacts.json
CHANGED
package/bin/linkitty-desktop.cjs
CHANGED
|
@@ -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 {
|
|
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
|
|
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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "linkitty-desktop",
|
|
3
|
-
"version": "0.17.
|
|
4
|
-
"description": "Linkitty
|
|
3
|
+
"version": "0.17.4",
|
|
4
|
+
"description": "Linkitty \u684c\u9762\u7ba1\u7406\u5ba2\u6237\u7aef\u4e0e\u672c\u673a\u670d\u52a1\u63a5\u5165",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=22"
|
|
@@ -16,12 +16,13 @@
|
|
|
16
16
|
"payload",
|
|
17
17
|
"README.md",
|
|
18
18
|
"THIRD_PARTY_NOTICES.md",
|
|
19
|
-
"
|
|
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.
|
|
26
|
+
"linkitty": "0.17.4"
|
|
26
27
|
}
|
|
27
28
|
}
|
package/payload/darwin-arm64.tgz
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/payload/darwin-arm64.tgz
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 50062485 bytes
|
|
4
|
+
sha256: 3d86f8abfa5647618f3709dc65d1a8ab5e3807e0fb2a757388167f09daaed639
|
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.
|