@best-agent/cli-win32-x64 0.0.30 → 0.0.31-beta.2

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,147 +1,101 @@
1
- # @best-agent/cli
2
-
3
- Best-Agent v3 的本地 CLI、TUI 与 Application composition 入口。产品合同见:
4
-
5
- - [Composition](../../docs/product-v3/composition.md)
6
- - [Task and Session](../../docs/product-v3/task-session.md)
7
- - [Orchestration](../../docs/product-v3/orchestration.md)
8
- - [Context](../../docs/product-v3/context.md)
9
- - [Presentation](../../docs/product-v3/presentation.md)
10
- - [External Services](../../docs/product-v3/external-services.md)
11
-
12
- ## 当前命令
13
-
14
- ```bash
15
- best-agent run [options] <prompt>
16
- best-agent chat [options]
17
- best-agent subagent [options] <task>
18
- best-agent workflow --workflow <steps.json> [options] <prompt>
19
- best-agent server --stdio [options]
20
- best-agent serve [options]
21
- best-agent daemon [options]
22
- best-agent acp [options]
23
- best-agent --version | -version | -v | version
24
- ```
25
-
26
- 运行 `best-agent --help` 查看当前 composition 与 transport 参数。
27
-
28
- `best-agent --version`(等价 `-version`、`-v`、`version`)是只读查询:不进入任何 composition,只在 stdout 打印一行 CLI 版本后退出
29
- (安装态 npm 包读自身 package manifest,SEA 单文件读构建时注入的版本;无法解析时打印 `dev`),便于在外部脚本或终端里确认当前安装的版本。
30
-
31
- `b8` 是同一入口的短别名(`b` + 省略的 8 个字母):安装该包后 `b8 <subcommand>` 与
32
- `best-agent <subcommand>` 等价,帮助文本中的命令名仍为 `best-agent`。
33
-
34
- ## TUI shell mode(`!` / `!!`)
35
-
36
- Home 或 chat 的空输入框中,用前缀明确选择是否把结果交给模型:
37
-
38
- | 输入 | 行为 | 模型上下文 |
39
- | --- | --- | --- |
40
- | `!git status` | 直接执行一次 | 完成后,命令、工作目录、输出尾和退出事实随该聊天的下一条消息发送;不自动触发回复 |
41
- | `!!git status` | 直接执行一次 | 命令和输出都不发送给模型 |
42
-
43
- 输入框和输出区会显示模式说明。第二个 `!` 会切换为本地模式,粘贴 `!!命令` 也会完整识别前缀;前缀不会传给 shell。命令接受后回到普通消息输入,拒绝则保留草稿。使用 `↑` 回忆 shell 命令时,也会恢复它原来的上下文选择。
44
-
45
- `!` 在首页会先建立一个空聊天固定结果归属,不调用模型;`!!` 无需创建聊天。切换聊天不会改变已经执行的命令的归属。输出区显示“结果已随消息提交”表示消息入口已接受,排队中的消息仍需等待派发。未提交的结果仅保留在当前 CLI 进程中;删除聊天或关闭进程会清理。输出超出保留窗口时会明确显示省略信息;结果过多时会提示先发一条消息。
46
-
47
- 执行中按 `Esc` 停止命令;结果显示时空输入框上的 `Esc` 收起输出区。`Backspace` / `Ctrl+U` 在空 shell 输入框上退出模式。既有优先层序保持:in-flight fork → 对话框 / inspect → shell stop/exit → Run interrupt / exit-confirm。`/theme` 等在 shell 输入框中是命令文本。
48
-
49
- - 环境:命令由你的 shell 以**交互式登录**方式执行(POSIX 为 `$SHELL -ilc <命令>`,`SHELL` 为空时用 `/bin/sh`;Windows 为
50
- `cmd.exe /d /s /c <命令>`)。子进程继承启动这次 TUI 的终端的全部环境变量,shell 再读你的登录文件与 **rc 文件**——因此
51
- `.zshrc` / `.bashrc` 里定义的 **alias 与函数(例如 `gp`、`gpl`)和只在那里赋值的变量都可用**,与你在新开终端里执行一致。
52
- - 代价(已声明):每条命令都会执行一次 rc 文件,所以 rc 自己写到 stderr 的输出(例如 npm 的 warning)会如实出现在 block 里,
53
- 且重 rc(oh-my-zsh 之类)会让每条命令多花约 1 秒启动时间;这些都不做静默过滤,因为 block 是读取端的忠实副本。
54
- - 仍不支持:需要 **TTY** 的交互式程序——`vim`、`top`、需要密码的 `sudo` / `ssh`、以及靠方向键选择的交互式命令(例如
55
- `fzf`、某些 `pnpm run` 选择器、你自己的 `prun`)。子进程的 stdin/stdout 是管道而不是终端(`[ -t 1 ]` 为假、没有 raw mode、
56
- 没有光标寻址),所以这类程序要么直接报 "not a tty",要么只输出纯文本帧;把终端真正交给子进程(PTY 归属与交接)是独立切片。
57
- - 边界:`!!` 与 recall 历史不进入模型上下文;`!` 只有在下一条消息被接受后才进入既有消息历史,后续持久化与 compact 沿用消息本身的规则。
58
- - 运行中的命令在你离开 chat 页面后继续运行,回到 chat 时以运行态恢复显示;离开期间结算的命令以结算态显示,不自动重放。
59
-
60
- ## 安装与发布
1
+ # best-agent native
61
2
 
62
- 无需安装 Node 或 npm:在 [GitHub Releases](https://github.com/Simon-He95/best-agent/releases) 下载当前系统与 CPU 对应的 `best-agent-<version>-<target>.tar.gz`(Windows 为 `.zip`),以及同名 `.sha256`。Linux 当前支持 glibc,不支持 Alpine/musl。
3
+ This standalone candidate contains the Rust terminal chat application with OpenTUI linked into its executable.
4
+ Extract the archive and run
5
+ `bin/best-agent --help`. On Windows, use `bin\best-agent.exe --help`.
63
6
 
64
- macOS / Linux:先在下载目录校验 `shasum -a 256 -c <archive>.sha256`(Linux 也可用 `sha256sum -c`),然后:
7
+ On macOS and Linux, run the installer from the extracted directory. The default prefix is
8
+ `$HOME/.local/best-agent-native`.
65
9
 
66
10
  ```sh
67
- tar -xzf best-agent-<version>-<target>.tar.gz
68
- cd best-agent-<version>-<target>
69
11
  sh install.sh
70
- "$HOME/.local/bin/best-agent" chat
12
+ "$HOME/.local/best-agent-native/bin/best-agent" chat
71
13
  ```
72
14
 
73
- 默认安装到 `$HOME/.local/lib/best-agent`,命令位于 `$HOME/.local/bin`;把该 bin 目录加入 PATH 后可直接使用 `best-agent` 或 `b8`。自定义位置使用 `sh install.sh "/absolute/install prefix"`。安装脚本不修改 shell 配置;更新时安装新归档即可,用户配置与聊天记录保留。
74
-
75
- Windows:用 `Get-FileHash <archive>.zip -Algorithm SHA256` 与同名 `.sha256` 中的值比对,解压后在 PowerShell 中执行:
15
+ On Windows, run the installer from the extracted directory in PowerShell. The default prefix is
16
+ `%LOCALAPPDATA%\Programs\best-agent-native`.
76
17
 
77
18
  ```powershell
78
- powershell -NoProfile -ExecutionPolicy Bypass -File .\install.ps1
79
- & "$env:LOCALAPPDATA\Programs\best-agent\bin\best-agent.exe" chat
80
- ```
81
-
82
- 可用 `-Prefix "C:\absolute\install prefix"` 自定义目录;把安装目录的 `bin` 加入 PATH 后可使用 `best-agent` 和 `b8`。
83
- 归档已包含运行时、CPU supervisor 与所需依赖,解压目录可以在安装后删除。由用户配置启动的外部工具(例如依赖 `npx` 的 MCP server)仍需各自的运行环境。
84
-
85
- - `npm install -g @best-agent/cli@beta`:安装当前平台的 CLI 包;
86
- - `pnpm pack:tui`:构建当前平台 npm 包和独立归档,执行安装与启动验收;
87
- - `pnpm release:tui [version]`:未指定版本时通过 bumpp 交互选择,从干净 main 更新并提交 CLI 版本,等待六平台构建验收和 GitHub Release,再经 OIDC 发布七个 npm 包,等待 npm 扫描完成;
88
- - `pnpm distribute:cli`:从干净的源码 commit 推送六平台 CI 请求,全部验收通过后分发 GitHub Release,不发布 npm;
89
- - `pnpm release:cli --artifact-root .tmp/sea --tag beta --dry-run`:验证发布产物。
90
-
91
- 只打包当前机器的平台,不发布:
92
-
93
- ```sh
94
- pnpm install --frozen-lockfile
95
- pnpm pack:tui
96
- ```
97
-
98
- 六平台公开分发使用 [best-agent-releases](https://github.com/Simon-He95/best-agent-releases)。先提交源码改动,再运行 `pnpm distribute:cli`:命令会推送当前私有源码 commit,仅将公开构建模板和 commit/version 请求同步到分发仓库并触发 CI。CI 使用源码仓库的只读 deploy key;源码仓库保持 private。
99
-
100
- 完整发版在私有仓库的干净 `main` 工作目录执行一条命令。不带版本号时,通过 bumpp 交互选择尚未使用的版本号,随后自动继续发布:
101
-
102
- ```sh
103
- pnpm release:tui
104
- ```
105
-
106
- 也可以显式指定版本号,跳过选择菜单。例如:
107
-
108
- ```sh
109
- pnpm release:tui 0.0.17-beta.3
110
- ```
111
-
112
- 命令会快进同步远端 main,仅更新、提交 `apps/cli/package.json` 的版本,推送源码和公开构建请求,跟踪本次 public commit 对应的六平台 CI。全部验收及装包成功后,自动调用既有 `publish.yml`,等待六个平台包可见且内容一致后发布入口包,并等待入口包可见。预发布版本使用 npm `beta`,无预发布后缀的正式版本使用 `latest`。当前锁文件不记录 CLI 自身版本;此命令不重算依赖版本或更新其他工作区包。
113
-
114
- 只查看计划,不改版本、不提交/推送、不触发 CI 或发布;省略版本号时仍可交互选择,取消选择会停止整个流程:
115
-
116
- ```sh
117
- pnpm release:tui 0.0.17-beta.3 --dry-run
19
+ .\install.ps1
20
+ & "$env:LOCALAPPDATA\Programs\best-agent-native\bin\best-agent.exe" chat
118
21
  ```
119
22
 
120
- 需要当前仓库的 Node/pnpm 环境,以及已登录、可推送两个仓库的 GitHub CLI(gh 2.92 或更新版本)。七个 npm 包既有的 Trusted Publisher 授权继续使用,不需要本机 npm 登录、Access Token 或逐次 2FA。命令需保持运行以衔接后续阶段;任一步失败都会返回非零并停止。中断后若本轮 CI 仍运行,先等待该轮结束,再重跑命令。若 main 仍指向同一发布提交,可显式传入同一版本重跑;已验收的相同 Release 会被复用,不重复修改版本或构建。main 已有新提交时,应按输出的 Release 标签在公开仓库手动恢复原发布,避免把相同 npm 版本用于另一份源码。
121
-
122
- 全部六平台的免 Node/不可用旧 Node 安装和真实 PTY/ConPTY 交互、原生依赖及 CPU supervisor 检查通过后,Release 提供六份独立归档、六份平台 npm tarball 和一份完整入口 npm tarball,以及校验值和验收摘要。失败时保留未发布草稿,原始诊断及内部构建报告只以加密形式传输;最终 Release 不携带它们。该命令不发布 npm registry。公开分发的 SEA 仍包含可被分析的程序代码,不提供不可逆向的保证。
123
-
124
- 在 Apple Silicon Mac 上,产物为:
125
-
126
- ```text
127
- .tmp/npm/best-agent-cli-<version>.tgz
128
- .tmp/npm/best-agent-cli-darwin-arm64-<version>.tgz
129
- .tmp/sea/darwin-arm64/best-agent-<version>-darwin-arm64.tar.gz
130
- .tmp/sea/darwin-arm64/best-agent-<version>-darwin-arm64.tar.gz.sha256
131
- ```
132
-
133
- npm 分发需要入口包和匹配的平台包两者;可将两个 `.tgz` 一并交给对方,通过 `npm install -g <platform.tgz> <cli.tgz>` 安装,运行依赖仍由 npm 获取。免 Node 的独立分发使用 `.tar.gz`/`.zip`。Intel Mac 在 x64 Mac/runner 上运行同一命令,产物 target 为 `darwin-x64`;不能把 arm64 包重命名为 x64 包。
134
-
135
- 已有单平台产物时,只做发布预检(不发布):
136
-
137
- ```sh
138
- pnpm release:cli --artifact-root .tmp/sea --targets darwin-arm64 --allow-partial --tag beta --dry-run
139
- ```
140
-
141
- 其余平台在对应 OS/CPU 环境运行同一条 `pnpm pack:tui`,再收集 `.tmp/sea/<target>/`。构建机需要 `.nvmrc` 中的 Node、pnpm、原生 C 编译器(macOS/Linux 的 clang,Windows 中目标架构与 Node 一致的 Developer PowerShell / MSVC `cl`);POSIX 验收还需要 Python 3 和 pip。Linux 验收环境使用 Ubuntu 24.04;按需安装的 OCR 原生库要求 glibc ≥2.38,不能把 Debian 12 上的 OCR 失败当成 Node 启动失败。
142
-
143
- Linux 构建还需要 binutils 的 `strip`:仅在注入 SEA 前去除 SDK 原生调试信息,保留函数符号;不要对已注入的产物再次执行 strip。
144
-
145
- Windows 打包验收会在 `.tmp/standalone-pty-runner` 安装固定版本的 ConPTY 驱动及终端屏幕解析器,POSIX 屏幕解析器放在 `.tmp/standalone-python`;它们都不进入 npm 包或独立归档。最终独立归档的安装和启动不要求用户安装 Node、Python 或编译器。
146
-
147
- 本地开发使用仓库根目录的 `pnpm build`、`pnpm test:cli` 与相关 capability 测试。
23
+ Pass an absolute path to `install.sh` or use `-Prefix` with `install.ps1` to select another
24
+ installation directory. Add its `bin` directory to PATH to use `best-agent` or `b8` by name.
25
+
26
+ Close running Best Agent instances before reinstalling. Install a new or previous archive into
27
+ the same prefix to replace the executable and its package files. The installer prepares the
28
+ payload before replacement, keeps the prior install on failure, and checks for an interrupted
29
+ replacement on the next install. Conversation data stays in the selected storage root. Keep a
30
+ copy of that root before upgrading when an older release is needed for rollback.
31
+
32
+ Run `best-agent chat` and enter `/connect` to set up an API key or sign in to Codex, Grok Build,
33
+ or Dim.
34
+
35
+ To open an existing conversation, use
36
+ `best-agent chat --storage-root /path/to/storage --resume <thread-id>`.
37
+ If exact continuation is unavailable, the inspection page shows the original transcript.
38
+ Press `c` to check whether the retained history supports compact
39
+ continuation. Review the result and press Enter to continue the same conversation with a compact
40
+ context. The existing transcript stays available in history. For an explicit command-line
41
+ selection, use `--resume-compact` in place of `--resume`.
42
+
43
+ In new interactive Rust threads, the model can discover saved local conversations with
44
+ `history-search` and read their attributed contents with `history-read`. Both tools are scoped
45
+ to the same local storage root. A thread with an earlier tool configuration keeps that
46
+ configuration on exact continuation.
47
+
48
+ New interactive threads also include `now` for the host's current time and `todowrite` for
49
+ replacing the session checklist. Both are available in a chat without a workspace.
50
+ Subagents created with this tool configuration can call `now` without a workspace grant.
51
+ A previously saved child keeps the tool configuration that its exact continuation selected.
52
+
53
+ Enter `/mcp` for MCP connection diagnostics. The panel can reload `mcp.json` and test
54
+ configured stdio, Streamable HTTP, and legacy SSE connections.
55
+ Press F1 or enter `/help` for the built-in manual. `best-agent --help` prints the guide offline.
56
+ Run a linear workflow with `best-agent workflow --workflow steps.json`.
57
+ For a graph, pass `--workflow graph.json --workflow-ledger graph.sqlite --workflow-instance my-run`
58
+ to the same command. Use the same definition, ledger, and instance ID when checking its
59
+ recorded outcome. In a chat using the same storage root, enter `/workflows` to inspect
60
+ runs and saved definitions in `workflows.sqlite`. Use `/workflow <name> {JSON}`
61
+ from an attached chat to start a saved definition and `/workflow-cancel <run-id>`
62
+ to stop an owned run. Use `/workflow-retry <run-id> <node-id>` from an attached
63
+ chat to retry a failed, cancelled, or indeterminate node. Pass `--tool workflow`
64
+ to a durable chat to let its model save and start workflows. Type `!!` in an empty composer for a local shell command. With a selected provider, `!`
65
+ holds a settled shell report for the next human message accepted in the originating conversation.
66
+ For file-based setup with the OpenAI Responses endpoint, set `kind` to `openai`,
67
+ `compatibilityMode` to `native`, and provide `model` and `apiKey`. Set
68
+ `BEST_AGENT_PROVIDER_CONFIG` to its absolute path and run `best-agent chat` with the installed
69
+ executable. Without an override, a transient chat reads `provider.json` in the Best Agent home.
70
+ A chat with a selected storage root reads `provider.json` there.
71
+
72
+ Use `chat --new <storage-root>` to start a durable chat. The terminal displays its thread ID.
73
+ Open the Goal panel with Ctrl+G in a durable chat.
74
+ Use `chat --resume <storage-root> <thread-id>` with the same provider and tool selection to reopen it.
75
+ Add `--artifact-dir <absolute-path>` to select an artifact store. Open an interactive artifact
76
+ from its chat card or from `/tool-results`. The chat card starts collapsed and F toggles the
77
+ focused view. The view saves confirmed changes to the thread. Its Adopt button appends the
78
+ current selection to the draft for review.
79
+
80
+ Select `--tool code-mode` for `run` or `chat` to enable JavaScript cells with session-private
81
+ `store` and `load`. Start with `code_exec` and `capabilities: []`. Read settlement or paged source
82
+ records with `code_wait`. Request cancellation with `code_cancel`.
83
+ With `--artifact-dir` selected, declare `{operation: "artifact_publish"}` in the cell's capabilities
84
+ to publish through the same artifact store. Interactive publications appear as chat cards once
85
+ the model reads the cell settlement.
86
+ Code Mode can also use the selected workspace read, list, search and stat tools. Declare each
87
+ operation and its exact paths, with at most eight operation-path pairs per cell. A path declared
88
+ for stat grants access only to stat.
89
+
90
+ Select `--tool code-mode` on `server`, `serve`, `daemon`, or `acp` to use JavaScript
91
+ computation. Add `--workspace <absolute-path> --workspace-grant read` to select the
92
+ read-only workspace tools, or `--artifact-dir <absolute-path>` to select an Artifact
93
+ Store. Code Mode cells can declare these selected operations in their capabilities.
94
+ On macOS and Linux, select `--execution-profile workspace-sandbox` for sandboxed
95
+ workspace reads. Raw Run snapshots and pages include the committed results. Server
96
+ Session close drains its cells. ACP model changes and
97
+ new durable commands start another Session with a fresh temporary store.
98
+
99
+ A compatible operating system and a terminal are required. Selected workspace commands may also need
100
+ a system shell. The executable and its built-in helper entries are in the archive.
101
+ Licenses for code linked into OpenTUI and the QuickJS-WASM evaluator are included in `notices/`.
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/bin/best-agent.exe
3
- size: 110742016 bytes
4
- sha256: 4e9abb3a88a00594b9840f172d6f16fa00edbc8c6bbfd729d39cc8cf938bee47
3
+ size: 60128256 bytes
4
+ sha256: 38cb1cc826c6cc2bb64311de26a22a7d96c68c54dec265cc2efb18a19ad1fd59
@@ -0,0 +1,72 @@
1
+ Contributors:
2
+ - Aidan O'Loan (aidanol at gmail dot com)
3
+ - Alan Browning (browning at google dot com)
4
+ - Alexandru Ardelean (ardeleanalex at gmail dot com)
5
+ - Anuraag Agrawal (anuraaga at gmail dot com)
6
+ - Arthur Eubanks (aeubanks at google dot com)
7
+ - Brian Ledger (brianpl at google dot com)
8
+ - Charles Munger (clm at google dot com)
9
+ - Cheng Yi (cyi at google dot com)
10
+ - Christian Duvivier (cduvivier at google dot com)
11
+ - Christopher Degawa (ccom at randomderp dot com)
12
+ - Clement Courbet (courbet at google dot com)
13
+ - devtools-clrobot at google dot com (devtools-clrobot@google dot com)
14
+ - Djordje Pesut (djordje dot pesut at imgtec dot com)
15
+ - Frank (1433351828 at qq dot com)
16
+ - Frank Barchard (fbarchard at google dot com)
17
+ - Henner Zeller (hzeller at google dot com)
18
+ - Hui Su (huisu at google dot com)
19
+ - H. Vetinari (h dot vetinari at gmx dot com)
20
+ - Ilya Kurdyukov (jpegqs at gmail dot com)
21
+ - Ingvar Stepanyan (rreverser at google dot com)
22
+ - Istvan Stefan (Istvan dot Stefan at arm dot com)
23
+ - James Zern (jzern at google dot com)
24
+ - Jan Engelhardt (jengelh at medozas dot de)
25
+ - Jehan (jehan at girinstud dot io)
26
+ - Jeremy Maitin-Shepard (jbms at google dot com)
27
+ - Johann Koenig (johann dot koenig at duck dot com)
28
+ - Jonathan Grant (jgrantinfotech at gmail dot com)
29
+ - Jonliu1993 (13720414433 at 163 dot com)
30
+ - Jovan Zelincevic (jovan dot zelincevic at imgtec dot com)
31
+ - Jyrki Alakuijala (jyrki at google dot com)
32
+ - Konstantin Ivlev (tomskside at gmail dot com)
33
+ - Lode Vandevenne (lode at google dot com)
34
+ - Lou Quillio (louquillio at google dot com)
35
+ - Mans Rullgard (mans at mansr dot com)
36
+ - Marcin Kowalczyk (qrczak at google dot com)
37
+ - Martin Olsson (mnemo at minimum dot se)
38
+ - Maryla Ustarroz-Calonge (maryla at google dot com)
39
+ - Masahiro Hanada (hanada at atmark-techno dot com)
40
+ - Mikołaj Zalewski (mikolajz at google dot com)
41
+ - Mislav Bradac (mislavm at google dot com)
42
+ - natewood (natewood at fb dot com)
43
+ - Nico Weber (thakis at chromium dot org)
44
+ - Noel Chromium (noel at chromium dot org)
45
+ - Nozomi Isozaki (nontan at pixiv dot co dot jp)
46
+ - Oliver Wolff (oliver dot wolff at qt dot io)
47
+ - Owen Rodley (orodley at google dot com)
48
+ - Ozkan Sezer (sezeroz at gmail dot com)
49
+ - Parag Salasakar (img dot mips1 at gmail dot com)
50
+ - Pascal Massimino (pascal dot massimino at gmail dot com)
51
+ - Paweł Hajdan, Jr (phajdan dot jr at chromium dot org)
52
+ - Pierre Joye (pierre dot php at gmail dot com)
53
+ - Roberto Alanis (alanisbaez at google dot com)
54
+ - Sam Clegg (sbc at chromium dot org)
55
+ - Scott Hancher (seh at google dot com)
56
+ - Scott LaVarnway (slavarnway at google dot com)
57
+ - Scott Talbot (s at chikachow dot org)
58
+ - Slobodan Prijic (slobodan dot prijic at imgtec dot com)
59
+ - Somnath Banerjee (somnath dot banerjee at gmail dot com)
60
+ - Sriraman Tallam (tmsriram at google dot com)
61
+ - Tamar Levy (tamar dot levy at intel dot com)
62
+ - Thiago Perrotta (tperrotta at google dot com)
63
+ - Timothy Gu (timothygu99 at gmail dot com)
64
+ - Urvang Joshi (urvang at google dot com)
65
+ - Vikas Arora (vikasa at google dot com)
66
+ - Vincent Rabaud (vrabaud at google dot com)
67
+ - Vlad Tsyrklevich (vtsyrklevich at chromium dot org)
68
+ - Wan-Teh Chang (wtc at google dot com)
69
+ - wrv (wrv at utexas dot edu)
70
+ - Yang Zhang (yang dot zhang at arm dot com)
71
+ - Yannis Guyon (yguyon at google dot com)
72
+ - Zhi An Ng (zhin at chromium dot org)
@@ -0,0 +1,26 @@
1
+ The gdtoa number conversion code in MinGW-w64's runtime (mingw-w64-crt/gdtoa), which OpenTUI's
2
+ Windows libraries contain, carries this notice:
3
+
4
+ The author of this software is David M. Gay.
5
+
6
+ Copyright (C) 1998, 1999 by Lucent Technologies
7
+ All Rights Reserved
8
+
9
+ Permission to use, copy, modify, and distribute this software and
10
+ its documentation for any purpose and without fee is hereby
11
+ granted, provided that the above copyright notice appear in all
12
+ copies and that both that the copyright notice and this
13
+ permission notice and warranty disclaimer appear in supporting
14
+ documentation, and that the name of Lucent or any of its entities
15
+ not be used in advertising or publicity pertaining to
16
+ distribution of the software without specific, written prior
17
+ permission.
18
+
19
+ LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
20
+ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
21
+ IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY
22
+ SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
23
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
24
+ IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
25
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
26
+ THIS SOFTWARE.
@@ -0,0 +1,117 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Mitchell Hashimoto, Ghostty contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+ -------------------------------------------------------------------------------
24
+ uucode
25
+ -------------------------------------------------------------------------------
26
+
27
+ MIT License
28
+
29
+ Copyright (c) 2026 Jacob Sandlund
30
+
31
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
32
+ this software and associated documentation files (the "Software"), to deal in
33
+ the Software without restriction, including without limitation the rights to
34
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
35
+ of the Software, and to permit persons to whom the Software is furnished to do
36
+ so, subject to the following conditions:
37
+
38
+ The above copyright notice and this permission notice shall be included in all
39
+ copies or substantial portions of the Software.
40
+
41
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
42
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
43
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
44
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
45
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
46
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
47
+ SOFTWARE.
48
+
49
+ -------------------------------------------------------------------------------
50
+ uucode UTF-8 decoder
51
+ -------------------------------------------------------------------------------
52
+
53
+ From https://bjoern.hoehrmann.de/utf-8/decoder/dfa/
54
+
55
+ Copyright (c) 2008-2009 Bjoern Hoehrmann <bjoern@hoehrmann.de>
56
+
57
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
58
+ this software and associated documentation files (the "Software"), to deal in
59
+ the Software without restriction, including without limitation the rights to
60
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
61
+ of the Software, and to permit persons to whom the Software is furnished to do
62
+ so, subject to the following conditions:
63
+
64
+ The above copyright notice and this permission notice shall be included in all
65
+ copies or substantial portions of the Software.
66
+
67
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
68
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
69
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
70
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
71
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
72
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
73
+ SOFTWARE.
74
+
75
+ -------------------------------------------------------------------------------
76
+ Unicode data
77
+ -------------------------------------------------------------------------------
78
+
79
+ UNICODE LICENSE V3
80
+
81
+ COPYRIGHT AND PERMISSION NOTICE
82
+
83
+ Copyright (c) 1991-2025 Unicode, Inc.
84
+
85
+ NOTICE TO USER: Carefully read the following legal agreement. BY
86
+ DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
87
+ SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
88
+ TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
89
+ DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
90
+
91
+ Permission is hereby granted, free of charge, to any person obtaining a
92
+ copy of data files and any associated documentation (the "Data Files") or
93
+ software and any associated documentation (the "Software") to deal in the
94
+ Data Files or Software without restriction, including without limitation
95
+ the rights to use, copy, modify, merge, publish, distribute, and/or sell
96
+ copies of the Data Files or Software, and to permit persons to whom the
97
+ Data Files or Software are furnished to do so, provided that either (a)
98
+ this copyright and permission notice appear with all copies of the Data
99
+ Files or Software, or (b) this copyright and permission notice appear in
100
+ associated Documentation.
101
+
102
+ THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
103
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
104
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
105
+ THIRD PARTY RIGHTS.
106
+
107
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
108
+ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
109
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
110
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
111
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
112
+ FILES OR SOFTWARE.
113
+
114
+ Except as contained in this notice, the name of a copyright holder shall
115
+ not be used in advertising or otherwise to promote the sale, use or other
116
+ dealings in these Data Files or Software without prior written
117
+ authorization of the copyright holder.
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Marti Maria Saguer
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject
11
+ to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,30 @@
1
+ Copyright (c) 2010, Google Inc. All rights reserved.
2
+
3
+ Redistribution and use in source and binary forms, with or without
4
+ modification, are permitted provided that the following conditions are
5
+ met:
6
+
7
+ * Redistributions of source code must retain the above copyright
8
+ notice, this list of conditions and the following disclaimer.
9
+
10
+ * Redistributions in binary form must reproduce the above copyright
11
+ notice, this list of conditions and the following disclaimer in
12
+ the documentation and/or other materials provided with the
13
+ distribution.
14
+
15
+ * Neither the name of Google nor the names of its contributors may
16
+ be used to endorse or promote products derived from this software
17
+ without specific prior written permission.
18
+
19
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
+