easymagic 0.0.0-stage → 0.5.0

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,3 +1,207 @@
1
- # Temporary Holding Version
1
+ # EasyMagic CLI
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ 管理 EasyMagic 账户、API 密钥与用量,并配置 18 种编码 Agent。提供手动控制台与 AI 命令模式:人使用菜单,AI 使用稳定的 JSON 接口。`onboard` 将浏览器登录、创建专用推理密钥、选择兼容模型、写入客户端配置串成可恢复的流程。
4
+
5
+ 0.4.1 的数据扫描结果、已修复流程及凭据边界见 [审计报告](AUDIT.md),也可执行 `easymagic guide audit` 离线查看。
6
+
7
+ ## 安装
8
+
9
+ 需要 Node.js 22 或更新版本。从 npm 安装:
10
+
11
+ ```sh
12
+ npm install -g easymagic
13
+ easymagic --help
14
+ ```
15
+
16
+ 也可以不全局安装,直接执行 `npx --yes easymagic --help`。离线分发则使用安装包:`npm install -g ./easymagic-0.5.0.tgz`。
17
+
18
+ 源码构建需要 Bun:
19
+
20
+ ```sh
21
+ bun install --frozen-lockfile
22
+ bun run build
23
+ node dist/cli.js --help
24
+ ```
25
+
26
+ ## 手动模式与 AI 模式
27
+
28
+ 双模式入口从 0.5.0 开始提供,可用 `easymagic --version` 确认当前版本。
29
+
30
+ 在终端直接运行:
31
+
32
+ ```sh
33
+ easymagic
34
+ # 也可明确进入手动控制台
35
+ easymagic interactive
36
+ ```
37
+
38
+ 手动控制台使用方向键选择、Enter 确认,按 Ctrl+C 取消当前操作或退出。`TERM=dumb` 的交互终端改用编号输入,输入 `q` 返回或退出;`NO_COLOR` 会关闭颜色。首页包含配置 Agent、登录与切换账号、密钥管理、模型和用量、诊断、配置恢复及操作记录。开始时读取本地账号状态,实际请求和变更在选择具体操作后执行。密码式 PAT 输入不回显,删除、恢复等变更需要确认;取消不会被当成确认。
39
+
40
+ AI 和脚本使用明确的另一种入口:
41
+
42
+ ```sh
43
+ easymagic ai
44
+ easymagic ai guide ai
45
+ easymagic ai schema onboard
46
+ easymagic ai onboard codex
47
+ # 等价的全局选项
48
+ easymagic --ai onboard codex
49
+ ```
50
+
51
+ `ai` 模式始终输出 JSON,不进入菜单、不自动打开浏览器,也不提示输入。登录或配置需要用户授权时返回 `authorization_pending` 和恢复编号;用户完成网页授权后再用同一编号继续。只有显式 `--wait` 才等待授权。原有 `--json` 和各子命令仍兼容。
52
+
53
+ 菜单要求标准输入和输出都连接交互终端(TTY)。重定向、管道或无终端工具调用中,直接运行不会等待输入,而会显示模式说明;`interactive` 则明确报错。CLI 不通过调用者进程名或 AI 环境变量猜测模式。
54
+
55
+ ## 一条命令完成配置
56
+
57
+ 先安装目标 Agent,然后运行:
58
+
59
+ ```sh
60
+ easymagic onboard claude-code
61
+ # 或
62
+ easymagic onboard codex
63
+ ```
64
+
65
+ CLI 会复用当前有效登录;未登录时会打开本站授权页。用户登录网站、核对终端配对码并确认授权后,CLI 自动取得管理 PAT、创建客户端专用推理密钥、选择可用分组与模型并写入配置。需要签署 API 密钥使用协议时,由用户在浏览器中阅读并勾选。授权后无需手工复制密钥。
66
+
67
+ 浏览器登录要求网站已部署配套 device-login 后端,见 [BACKEND_INTEGRATION.md](BACKEND_INTEGRATION.md)。当前源码已集成,尚未部署生产站;不能将本地通过测试理解为线上已经可用。未更新的站点使用下面的 PAT 登录,然后运行 `onboard`,仍可自动建密钥与配置。
68
+
69
+ 可显式指定分组、模型和协议:
70
+
71
+ ```sh
72
+ easymagic onboard codex --group codex --model YOUR_MODEL
73
+ easymagic onboard opencode --protocol anthropic --group cc
74
+ # 模型容量必须来自供应商文档或已有有效配置,不能猜测
75
+ easymagic onboard kimi-code --model YOUR_MODEL --context-window YOUR_MODEL_CONTEXT
76
+ ```
77
+
78
+ 默认不会发推理请求。添加 `--check` 会在写配置前发送一次小量、可能计费的推理请求。自动创建的推理密钥默认不设额度上限、不设过期时间;可随后用 `keys update` 调整。PAT 有效期为 30 天,两者用途与有效期独立。
79
+
80
+ 配置成功后按输出重启客户端。WorkBuddy、ZCode、DeepSeek Harness 等还可能需要在客户端中选择新增的模型/provider;CLI 会输出 `manualSteps`。CLI 不负责安装这些客户端。
81
+
82
+ ## 给 AI 调用
83
+
84
+ 完整调用规范见 [AI_USAGE.md](AI_USAGE.md) 和 [CLI_CONTRACT.md](CLI_CONTRACT.md),这些文档也随安装包内置,离线可读:
85
+
86
+ ```sh
87
+ easymagic ai guide ai
88
+ easymagic ai schema onboard
89
+ easymagic ai setup list
90
+
91
+ # 不长时间占用工具调用;将返回的授权链接和配对码交给用户
92
+ easymagic ai onboard claude-code --start
93
+
94
+ # 用户确认后用同一编号继续;不要另起一次 onboard
95
+ easymagic ai onboard --resume ONBOARDING_ID
96
+ ```
97
+
98
+ 读取 JSON 的 `status`:`authorization_pending` 表示等待用户,`configured` 才表示配置完成。两者退出码均为 0,因此不能仅靠退出码判断全流程完成。`action_required`、`expired`、`denied`、`cancelled` 返回 1。网络、参数等常规错误在 stderr 的 `error` 对象中;恢复流程可操作的结果在 stdout。等待事件使用 stderr JSON,不混入 stdout。
99
+
100
+ 同一已完成编号重复 `--resume` 返回原结果,不再创建密钥。创建结果不明时保存操作编号,先回查;不会通过反复发创建请求“重试”。AI 无需读取密钥文件,不得代用户确认网页授权或协议。
101
+
102
+ ## 单独登录与多账户
103
+
104
+ ```sh
105
+ easymagic login
106
+ # 无浏览器/远程终端:输出链接,在自己的浏览器中打开
107
+ easymagic login --no-browser
108
+ # AI 非阻塞登录
109
+ easymagic ai login
110
+ easymagic ai login --resume FLOW_ID
111
+ ```
112
+
113
+ 兼容旧站点:在个人设置创建具有 `profile:read`、`api_key:read`、`api_key:write`、`api_key:reveal`、`usage:read` 的 PAT(`nap_…`),从标准输入传入。Bash 隐藏输入示例:
114
+
115
+ ```sh
116
+ read -rsp 'PAT: ' EASYMAGIC_LOGIN_PAT
117
+ printf '\n'
118
+ printf '%s' "$EASYMAGIC_LOGIN_PAT" | easymagic login --token-stdin
119
+ unset EASYMAGIC_LOGIN_PAT
120
+ easymagic onboard codex
121
+ ```
122
+
123
+ PAT 用于账户管理;推理密钥(`sk-…`)用于模型请求。`--token` 会暴露在进程参数/终端历史中,优先使用标准输入。CI 可注入 `EASYMAGIC_TOKEN` 和 `EASYMAGIC_BASE_URL`。
124
+
125
+ ```sh
126
+ easymagic --profile work login --base-url https://YOUR_SITE
127
+ easymagic profile list
128
+ easymagic profile use work
129
+ easymagic --profile work whoami
130
+ easymagic --profile work onboard codex
131
+ ```
132
+
133
+ 默认 `--credential-store auto` 优先使用 macOS Keychain、Linux Secret Service 或 Windows 当前用户 DPAPI;不可用时回退私有文件。`keychain` 模式失败不会回退;`file` 明确使用文件。元数据、操作记录与恢复状态位于 `~/.easymagic`,可用 `EASYMAGIC_CONFIG_DIR` 更改。POSIX 秘密文件为 0600;Windows 使用当前用户 DPAPI或目录 ACL。
134
+
135
+ `logout` 只移除选中 profile 的本地登录,不撤销服务端 PAT,也不清除 shell 环境变量。更换站点域名不会把已有 PAT 发往新域名。恢复流程固定原账户、站点和 profile。
136
+
137
+ ## 已支持的 Agent
138
+
139
+ `claude-code`、`codex`、`opencode`、`openclaw`、`hermes`、`pi`、`oh-my-pi`、`gemini`、`kimi-code`、`grok-build`、`minimax-code`、`claude-desktop`、`agy`、`copilot`、`workbuddy`、`zcode`、`deepseek-harness`、`codebuddy`。
140
+
141
+ 完整协议、路径、别名、客户端激活限制和验证范围见 [AGENT_SUPPORT.md](AGENT_SUPPORT.md)。Gemini 需要原生 Gemini 接口;Kimi/Grok 在容量未知时必须显式提供。可配置不代表所有客户端支持相同协议或所有模型。
142
+
143
+ ## 使用已有密钥、预览与恢复
144
+
145
+ ```sh
146
+ easymagic setup codex --key-id 123 --dry-run
147
+ easymagic setup codex --key-id 123
148
+ easymagic setup claude-code --create-key --group cc
149
+ # 批量配置多个客户端;逐客户端报告结果
150
+ easymagic setup all --clients claude-code,codex,opencode --key-id 123 --yes
151
+
152
+ easymagic setup history --json
153
+ easymagic setup restore RESTORE_ID --dry-run
154
+ easymagic setup restore RESTORE_ID --yes
155
+ ```
156
+
157
+ `--dry-run` 不创建密钥、不读取完整密钥、不写配置。`--config-dir` 可隔离客户端目录;默认目录与环境变量见 Agent 文档。配置器保留非管理项,为现有文件生成原文备份,使用文件锁与写前校验;失败时回滚。恢复时拒绝覆盖后续人工修改,除非显式 `--force`。不会改变客户端自动审批或沙盒权限。
158
+
159
+ ## 密钥、用量与诊断
160
+
161
+ ```sh
162
+ easymagic groups --json
163
+ easymagic models --group codex --json
164
+ easymagic keys list --all --json
165
+ easymagic keys create --name demo --group cc --quota 10 --expires-in 7d
166
+ easymagic keys update 123 --quota 20 --expires-in 30d
167
+ easymagic keys disable --search demo --dry-run
168
+ easymagic keys disable --search demo --yes
169
+ easymagic keys delete 123 --yes
170
+ easymagic keys export --all --file keys.json
171
+ easymagic keys import keys.json --mode update --dry-run
172
+ easymagic usage --since 7d --limit 20
173
+ easymagic doctor --client codex --key-id 123
174
+ ```
175
+
176
+ 密钥默认遮罩;只有 `--reveal` 显示完整秘密。金额单位是人民币,精度为 0.000002 元。创建默认无限额/不过期;批量启停、删除和导入写入需相应确认参数。导入先校验全文件;部分失败保留已成功项并返回非零。
177
+
178
+ `usage` 仅输出用量统计和模型调用元数据,不透传 IP、原始日志正文或请求扩展字段。
179
+
180
+ `doctor` 检查登录、分组、模型/协议兼容性、客户端安装与配置。只有显式 `--check` 的真实推理通过后才能确认该时刻请求成功。`api GET /api/user/self` 可调用管理接口;写方法需要 `--yes`。
181
+
182
+ ## 中断或未知结果
183
+
184
+ ```sh
185
+ easymagic operations list --json
186
+ easymagic operations show OPERATION_ID --json
187
+ easymagic operations reconcile OPERATION_ID --json
188
+ easymagic operations resume OPERATION_ID --dry-run --json
189
+ easymagic operations retry OPERATION_ID --yes --json
190
+ # 根据记录继续原流程
191
+ easymagic onboard --resume ONBOARDING_ID --json
192
+ ```
193
+
194
+ 操作日志绑定账户和站点。`resume` 只发送从未尝试的项;`retry` 只重试已确认失败项;`unknown` 先根据创建前基线、唯一名称、时间和属性回查,有多个候选时要求核对。它不是服务端幂等协议,不保证能自动恢复所有不确定情况。`onboard --resume ID --retry` 可纠正模型/容量等参数或重试已确认失败的创建;如果旧密钥已由本流程确认清理,也可创建替代密钥。未知创建或未知清理结果都先核对,不盲目重发。
195
+
196
+ 多个进程同时修改 profile 会明确报忙,避免覆盖彼此的账户配置。损坏的配置文件会保留原文并拒绝修改,需先备份和修复 `config.json`。
197
+
198
+ ## 验证与发布
199
+
200
+ ```sh
201
+ bun run check
202
+ bun run e2e
203
+ ```
204
+
205
+ `check` 包含类型检查、单元/恢复流程测试、构建、安装包离线安装、18 个客户端的配置/备份/恢复检查。真实客户端验证范围见 Agent 文档。`e2e` 需独立 loopback 测试后端,使用 `EASYMAGIC_E2E_BASE_URL` 和 `EASYMAGIC_E2E_TOKEN_FILE`;禁止连接生产环境。
206
+
207
+ 代码仓库:[XzlmTech/easymagic-cli](https://github.com/XzlmTech/easymagic-cli)。发布流程默认构建安装包;实际 npm 发布需要配置具有包发布权限的 npm 身份或可信发布者。
@@ -0,0 +1,278 @@
1
+ # Third-party notices
2
+
3
+ The bundled CLI includes the following dependencies. Native configuration schemas were independently implemented with reference to CC Switch and official client sources listed in AGENT_SUPPORT.md.
4
+
5
+ ## commander 12.1.0
6
+
7
+ (The MIT License)
8
+
9
+ Copyright (c) 2011 TJ Holowaychuk <tj@vision-media.ca>
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining
12
+ a copy of this software and associated documentation files (the
13
+ 'Software'), to deal in the Software without restriction, including
14
+ without limitation the rights to use, copy, modify, merge, publish,
15
+ distribute, sublicense, and/or sell copies of the Software, and to
16
+ permit persons to whom the Software is furnished to do so, subject to
17
+ the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be
20
+ included in all copies or substantial portions of the Software.
21
+
22
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
23
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
26
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
27
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
28
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29
+
30
+ ## chalk 5.6.2
31
+
32
+ MIT License
33
+
34
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
35
+
36
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
37
+
38
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
39
+
40
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
41
+
42
+ ## @iarna/toml 2.2.5
43
+
44
+ Copyright (c) 2016, Rebecca Turner <me@re-becca.org>
45
+
46
+ Permission to use, copy, modify, and/or distribute this software for any
47
+ purpose with or without fee is hereby granted, provided that the above
48
+ copyright notice and this permission notice appear in all copies.
49
+
50
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
51
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
52
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
53
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
54
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
55
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
56
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
57
+
58
+
59
+ ## jsonc-parser 3.3.1
60
+
61
+ The MIT License (MIT)
62
+
63
+ Copyright (c) Microsoft
64
+
65
+ Permission is hereby granted, free of charge, to any person obtaining a copy
66
+ of this software and associated documentation files (the "Software"), to deal
67
+ in the Software without restriction, including without limitation the rights
68
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
69
+ copies of the Software, and to permit persons to whom the Software is
70
+ furnished to do so, subject to the following conditions:
71
+
72
+ The above copyright notice and this permission notice shall be included in all
73
+ copies or substantial portions of the Software.
74
+
75
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
76
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
77
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
78
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
79
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
80
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
81
+ SOFTWARE.
82
+
83
+ ## yaml 2.9.1
84
+
85
+ Copyright Eemeli Aro <eemeli@gmail.com>
86
+
87
+ Permission to use, copy, modify, and/or distribute this software for any purpose
88
+ with or without fee is hereby granted, provided that the above copyright notice
89
+ and this permission notice appear in all copies.
90
+
91
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
92
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
93
+ FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
94
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
95
+ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
96
+ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
97
+ THIS SOFTWARE.
98
+
99
+ ## json5 2.2.3
100
+
101
+ MIT License
102
+
103
+ Copyright (c) 2012-2018 Aseem Kishore, and [others].
104
+
105
+ Permission is hereby granted, free of charge, to any person obtaining a copy
106
+ of this software and associated documentation files (the "Software"), to deal
107
+ in the Software without restriction, including without limitation the rights
108
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
109
+ copies of the Software, and to permit persons to whom the Software is
110
+ furnished to do so, subject to the following conditions:
111
+
112
+ The above copyright notice and this permission notice shall be included in all
113
+ copies or substantial portions of the Software.
114
+
115
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
116
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
117
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
118
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
119
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
120
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
121
+ SOFTWARE.
122
+
123
+ [others]: https://github.com/json5/json5/contributors
124
+
125
+
126
+ ## @clack/prompts 1.9.0
127
+
128
+ MIT License
129
+
130
+ MIT License Copyright (c) 2025-Present [Bombshell contributors](https://bomb.sh/team)
131
+
132
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
133
+
134
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
135
+
136
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
137
+
138
+
139
+ ## @clack/core 1.6.0
140
+
141
+ MIT License
142
+
143
+ MIT License Copyright (c) 2025-Present [Bombshell contributors](https://bomb.sh/team)
144
+
145
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
146
+
147
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
148
+
149
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
150
+
151
+
152
+ ## sisteransi 2.0.1
153
+
154
+ MIT License
155
+
156
+ Copyright (c) 2018 Terkel Gjervig Nielsen
157
+
158
+ Permission is hereby granted, free of charge, to any person obtaining a copy
159
+ of this software and associated documentation files (the "Software"), to deal
160
+ in the Software without restriction, including without limitation the rights
161
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
162
+ copies of the Software, and to permit persons to whom the Software is
163
+ furnished to do so, subject to the following conditions:
164
+
165
+ The above copyright notice and this permission notice shall be included in all
166
+ copies or substantial portions of the Software.
167
+
168
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
169
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
170
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
171
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
172
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
173
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
174
+ SOFTWARE.
175
+
176
+
177
+ ## fast-wrap-ansi 0.2.2
178
+
179
+ MIT License
180
+
181
+ Copyright (c) 2025 James Garbutt
182
+
183
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
184
+
185
+ Permission is hereby granted, free of charge, to any person obtaining a copy
186
+ of this software and associated documentation files (the "Software"), to deal
187
+ in the Software without restriction, including without limitation the rights
188
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
189
+ copies of the Software, and to permit persons to whom the Software is
190
+ furnished to do so, subject to the following conditions:
191
+
192
+ The above copyright notice and this permission notice shall be included in all
193
+ copies or substantial portions of the Software.
194
+
195
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
196
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
197
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
198
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
199
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
200
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
201
+ SOFTWARE.
202
+
203
+
204
+ ## fast-string-width 3.0.2
205
+
206
+ The MIT License (MIT)
207
+
208
+ Copyright (c) 2024-present Fabio Spampinato
209
+
210
+ Permission is hereby granted, free of charge, to any person obtaining a
211
+ copy of this software and associated documentation files (the "Software"),
212
+ to deal in the Software without restriction, including without limitation
213
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
214
+ and/or sell copies of the Software, and to permit persons to whom the
215
+ Software is furnished to do so, subject to the following conditions:
216
+
217
+ The above copyright notice and this permission notice shall be included in
218
+ all copies or substantial portions of the Software.
219
+
220
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
221
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
222
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
223
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
224
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
225
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
226
+ DEALINGS IN THE SOFTWARE.
227
+
228
+
229
+ ## string-width 9.0.0
230
+
231
+ MIT License
232
+
233
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
234
+
235
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
236
+
237
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
238
+
239
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
240
+
241
+
242
+ ## get-east-asian-width 1.7.0
243
+
244
+ MIT License
245
+
246
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
247
+
248
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
249
+
250
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
251
+
252
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
253
+
254
+
255
+ ## strip-ansi 7.2.0
256
+
257
+ MIT License
258
+
259
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
260
+
261
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
262
+
263
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
264
+
265
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
266
+
267
+
268
+ ## ansi-regex 6.6.0
269
+
270
+ MIT License
271
+
272
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
273
+
274
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
275
+
276
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
277
+
278
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.