@alexwkleung/reika 0.13.0 → 0.14.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 +22 -37
- package/README.zh-CN.md +21 -32
- package/dist/{chunk-EZFZS4IN.js → chunk-INK4ZHJA.js} +24 -12
- package/dist/{chunk-M2M7UUOO.js → chunk-JTRHYW55.js} +2 -2
- package/dist/{chunk-FDLVLGX4.js → chunk-LNUPGYM7.js} +107 -7
- package/dist/{chunk-KS3VH2ZV.js → chunk-YCKCJJ3W.js} +2 -0
- package/dist/cli.js +6 -6
- package/dist/{command-G3BS2Z74.js → command-YGWQJ3QL.js} +6 -4
- package/dist/{config-DMQZBLY6.js → config-7EI2MRT3.js} +1 -1
- package/dist/{headless-AVX3VQQ6.js → headless-BPAOJXR5.js} +3 -3
- package/dist/{laststate-ADHYSRTE.js → laststate-3OSWMDIJ.js} +2 -2
- package/dist/{tui-UYYUTKEU.js → tui-CNIX2X67.js} +58 -43
- package/dist/web/app.css +1 -1
- package/dist/web/app.js +38 -38
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -22,41 +22,34 @@
|
|
|
22
22
|
|
|
23
23
|
<sup>A real local run of Qwen3.6 35B A3B (Unsloth UD-IQ2_M) via llama.cpp, sped up 3×. The model fixes its own indentation, adds a test for the delays, and the tests pass on the first run.</sup>
|
|
24
24
|
|
|
25
|
-
Reika is a coding agent CLI for local and hosted models. It was designed around small local models first (8B–35B, often at Q2–Q4, on a 16–32k context window), so it is careful with context, fails
|
|
25
|
+
Reika is a coding agent CLI for local and hosted models. It was designed around small local models first (8B–35B, often at Q2–Q4, on a 16–32k context window), so it is careful with context, fails gracefully, and tells you when it's stuck. It doesn't make a small model smarter, but it makes working with one less frustrating.
|
|
26
26
|
|
|
27
|
-
It
|
|
27
|
+
It gets used and tested on both small local models and large hosted ones. In testing, 14–35B models handled multi-file tasks most reliably, 8–9B models managed simple, well-scoped ones, and 4B-class models rarely got past short tasks. Reika is pre-1.0, so commands, settings and behavior can still change between releases.
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
## Highlights
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
- **Context discipline.** Old tool output collapses to one-line summaries, the engine's prompt cache is kept valid, and before older turns are folded away the model writes down what it found.
|
|
32
|
+
- **Loop breaking.** Repeated reads and runaway reasoning are caught and answered in escalating steps, ending in an honest stop instead of a 30-minute spiral.
|
|
33
|
+
- **Checks on the model's work.** Edits to unread files go back for a read first, TypeScript edits are typechecked, and plan progress is tracked from what actually happened.
|
|
34
|
+
- **A mode for the job.** Agent mode does the work by default; plan, grind, minimal and chat are there when a task calls for them (see [Modes](#modes)).
|
|
35
|
+
- **Safe by default.** Dangerous commands still prompt, and on macOS shell commands run in a kernel sandbox. No telemetry.
|
|
36
|
+
- **Extensible.** Stdio MCP servers add tools, and Markdown skills become slash commands, with `/issue` and `/review` built in.
|
|
37
|
+
- **Built for slow local engines.** It waits out long prefills, handles models without a native tool-call template, and shows decode speed, context fill and cache hits in the status bar.
|
|
32
38
|
|
|
33
39
|
## What the measurements say
|
|
34
40
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
- **The harness's own context management cost more than the model did.** One mid-context rewrite re-processed 8,453 tokens of prompt — 7.9 minutes of prefill — where an append in the same session cost 25 tokens and 3.5 seconds.
|
|
38
|
-
- **Ask the model for its findings before a fold drops them.** In the A/B behind this, the arm whose findings were dropped folded five times, re-read files it had already read, and never answered; the arm that was asked answered from the digest.
|
|
39
|
-
- **A small model takes tool output literally.** A grep that said "0 matches" for a call it couldn't serve sent a model rewording a correct pattern for five rounds; a loop blamed on a 35B at Q2 was reika feeding the model its own tool-call markup back.
|
|
40
|
-
- **Prompt wording is the weakest lever.** On a vague task at Q2 a model converges or spirals about 50/50, and the harness cannot move that rate — only what the failing half costs.
|
|
41
|
-
- **The loop detectors separate cleanly.** Healthy reasoning rounds measure 0.2–0.3 on cross-round similarity; locked loops sit at 1.00, and a 38-round productive turn never fired the detector.
|
|
41
|
+
Reika's design choices were measured rather than assumed, and the results are published in [docs/findings.md](docs/findings.md). A few of them:
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
- **
|
|
46
|
-
- **Loop and spiral breaking.** Repeated reads, re-derived reasoning, and runaway thinking blocks are detected and answered with an escalating ladder (nudge, pinned ledger, tool withdrawal, honest stop) rather than a 30-minute spiral.
|
|
47
|
-
- **Checks on what the model does.** Blind edits are bounced to a read first, TypeScript edits are typechecked against a pre-edit baseline, and a written plan is tracked step by step from what the harness observes, not what the model claims.
|
|
48
|
-
- **Plan → implement.** A read-only plan mode that ends in a numbered, file-specific plan — refine it over as many turns as you like before executing — and a vibe mode that chains plan and implementation on every prompt.
|
|
49
|
-
- **Safe by default.** Ordinary edits run, dangerous commands still prompt, and on macOS model-chosen shell commands run under a kernel sandbox (writes confined to the project, network denied).
|
|
50
|
-
- **Extensible.** Stdio MCP servers add tools, and each tool also becomes a slash command. Markdown skills become slash commands too; `/issue` and `/review` ship with Reika and appear wherever `gh` and a GitHub remote are.
|
|
51
|
-
- **No telemetry.** Your code goes to the model server you configure and nowhere else: with a local server it never leaves your machine, and with a cloud API it goes to that provider. The only other requests are the web tools, when a web tool is used or you paste a link, a download of the public models.dev catalog to look up context limits (only for hosted endpoints, and never with your data), and whatever the MCP servers you configure do on their own.
|
|
52
|
-
- **Built for slow local engines.** Tolerates long prefills, handles tool-call dialects from models without a native template, and shows decode speed, context fill, and cache hit rate in the status bar.
|
|
43
|
+
- **The harness's own context management cost more than the model did.** One rewrite mid-context re-processed 8,453 tokens (7.9 minutes of prefill); an append cost 25 tokens and 3.5 seconds.
|
|
44
|
+
- **A small model takes tool output literally.** A loop blamed on a 35B at Q2 turned out to be Reika feeding the model its own tool-call markup.
|
|
45
|
+
- **Prompt wording is the weakest lever.** On a vague task at Q2 a model spirals about half the time. The harness can't change that rate, only what the failing half costs.
|
|
53
46
|
|
|
54
47
|
## Requirements
|
|
55
48
|
|
|
56
49
|
- Node.js 22 or newer (macOS 11+ or glibc 2.28+ Linux — see [Platforms](docs/platforms.md)).
|
|
57
50
|
- An OpenAI-compatible model server: llama.cpp, MLX, vLLM, or a cloud API.
|
|
58
51
|
- macOS is the primary platform. Linux works, but without the shell sandbox or image-paste OCR (set `REIKA_VISION_MODEL` to read pasted images with a vision model instead). Windows may work under WSL2.
|
|
59
|
-
- A modern terminal
|
|
52
|
+
- A modern terminal such as iTerm2, Ghostty or Kitty, so the TUI renders properly.
|
|
60
53
|
|
|
61
54
|
## Quick start
|
|
62
55
|
|
|
@@ -68,26 +61,17 @@ pnpm add -g @alexwkleung/reika
|
|
|
68
61
|
brew install alexwkleung/tap/reika
|
|
69
62
|
```
|
|
70
63
|
|
|
71
|
-
Serve a model
|
|
64
|
+
Serve a model, for example with llama.cpp, then point Reika at it:
|
|
72
65
|
|
|
73
66
|
```sh
|
|
74
67
|
llama-server -m <model.gguf> -c 24576 --jinja <other-launch-args>
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
Then point Reika at it:
|
|
78
|
-
|
|
79
|
-
```sh
|
|
80
68
|
export REIKA_MODEL=model # or put it in ~/.config/reika/.env
|
|
81
69
|
cd your-project && reika
|
|
82
70
|
```
|
|
83
71
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
`REIKA_BASE_URL` defaults to `http://localhost:9931/v1`, llama-server's default since llama.cpp v0.7.0 (older builds and its Docker images use 8080). The context window is read from the server when it reports one, and for hosted endpoints from the models.dev catalog; set `REIKA_CONTEXT_WINDOW` when neither has it. Reika sends no sampling parameters of its own, so your server's flags are what apply.
|
|
87
|
-
|
|
88
|
-
To run from a checkout instead — `git clone https://github.com/alexwkleung/reika.git && cd reika`, then `pnpm install` (npm users: `npm i -g pnpm`) and `pnpm run install:global` to build and install the `reika` binary, or `cp .env.example .env` and `pnpm run dev` to run without installing. `pnpm run uninstall:global` removes the global binary.
|
|
72
|
+
[Install and first run](docs/getting-started.md) covers hosted APIs, the default port, the context window and running from a checkout.
|
|
89
73
|
|
|
90
|
-
Prefer a window to a terminal? `reika web` serves the same agent to a browser tab on this machine, and `reika web --window` opens it in its own app window. It
|
|
74
|
+
Prefer a window to a terminal? `reika web` serves the same agent to a browser tab on this machine, and `reika web --window` opens it in its own app window. It's experimental; [docs/web.md](docs/web.md) covers what it does and what it doesn't do yet.
|
|
91
75
|
|
|
92
76
|

|
|
93
77
|
|
|
@@ -106,7 +90,7 @@ Set these in your shell, a project `.env`, or `~/.config/reika/.env` (in that or
|
|
|
106
90
|
|
|
107
91
|
## Modes
|
|
108
92
|
|
|
109
|
-
`Shift+Tab` cycles modes, or switch with a slash command. The
|
|
93
|
+
`Shift+Tab` cycles through the modes, or switch with a slash command. The next session opens in the mode and model you ended the last one in.
|
|
110
94
|
|
|
111
95
|
| Mode | What it does |
|
|
112
96
|
| --------- | ---------------------------------------------------------------------------- |
|
|
@@ -120,10 +104,11 @@ Set these in your shell, a project `.env`, or `~/.config/reika/.env` (in that or
|
|
|
120
104
|
|
|
121
105
|
`reika -p "<prompt>"` runs a single turn headless and prints the reply, for scripts and other harnesses. See [docs/usage.md](docs/usage.md) for modes in detail, headless flags, and every slash command.
|
|
122
106
|
|
|
123
|
-
## Safety
|
|
107
|
+
## Safety and privacy
|
|
124
108
|
|
|
125
|
-
- **Approvals** default to `safe`: ordinary edits and commands run on their own, but
|
|
109
|
+
- **Approvals** default to `safe`: ordinary edits and commands run on their own, but a dangerous command (`rm -rf`, a force push, a package install, `curl`) or a write outside the project still asks you first. `bypass` can only be set at launch, never mid-session.
|
|
126
110
|
- **Sandbox** (macOS, on by default): model-chosen shell commands can write only inside the project, temp, and cache directories, and have no network apart from loopback and read-only `git`/`gh`. A command you explicitly approve runs unsandboxed. `REIKA_SANDBOX=0` turns it off.
|
|
111
|
+
- **No telemetry.** Your code goes to the model server you configure and nowhere else: with a local server it never leaves your machine, and with a cloud API it goes to that provider. The only other requests are the web tools (when the model uses one or you paste a link), a download of the public models.dev catalog to look up context limits (hosted endpoints only, and never with your data), and whatever the MCP servers you configure do on their own.
|
|
127
112
|
|
|
128
113
|
Found a way around one of these? Report it privately; see [SECURITY.md](SECURITY.md).
|
|
129
114
|
|
package/README.zh-CN.md
CHANGED
|
@@ -22,41 +22,34 @@
|
|
|
22
22
|
|
|
23
23
|
<sup>一次真实的本地运行:Qwen3.6 35B A3B(Unsloth UD-IQ2_M)经 llama.cpp,加速 3×。模型修正了自己的缩进,为延迟添加了一个测试,第一次运行就全部通过。</sup>
|
|
24
24
|
|
|
25
|
-
Reika 是一个适用于本地与托管模型的编码代理 CLI。它首先围绕小型本地模型设计(8B–35B,通常处于 Q2–Q4,16–32k
|
|
25
|
+
Reika 是一个适用于本地与托管模型的编码代理 CLI。它首先围绕小型本地模型设计(8B–35B,通常处于 Q2–Q4,16–32k 上下文窗口),因此对上下文很节制,失败时更体面,卡住时会直说。它不会让小模型变得更聪明,只是让使用小模型的体验少一些挫败。
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
它在小型本地模型和大型托管模型上都有日常使用和测试。测试中,14–35B 模型处理多文件任务最可靠,8–9B 模型能完成简单、范围明确的任务,4B 级别的模型很少能完成简短任务以外的工作。Reika 还处于 1.0 之前,命令、设置和行为在不同版本之间仍可能变化。
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
## 亮点
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
- **上下文纪律。** 旧的工具输出折叠成一行摘要,引擎的 prompt 缓存保持有效;较早的轮次被折叠之前,模型会先写下自己的发现。
|
|
32
|
+
- **循环中断。** 重复读取和失控的推理会被检测到,并逐级升级地回应,最后以坦诚终止收场,而不是打转半小时。
|
|
33
|
+
- **对模型工作的检查。** 对未读文件的编辑会被退回,要求先读;TypeScript 编辑会做类型检查;计划进度按实际发生的事情追踪。
|
|
34
|
+
- **按任务选择模式。** 默认的 agent 模式直接完成工作;plan、grind、minimal 和 chat 在任务需要时使用(见[模式](#模式))。
|
|
35
|
+
- **默认安全。** 危险命令仍会询问;在 macOS 上,shell 命令运行在内核沙箱里。无遥测。
|
|
36
|
+
- **可扩展。** Stdio MCP 服务器可以添加工具,Markdown 技能会变成斜杠命令,并内置 `/issue` 和 `/review`。
|
|
37
|
+
- **为慢速本地引擎而做。** 容忍长预填充,能处理没有原生工具调用模板的模型,并在状态栏显示解码速度、上下文占用和缓存命中率。
|
|
32
38
|
|
|
33
39
|
## 测量结果
|
|
34
40
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
- **框架自己的上下文管理,代价比模型本身更大。** 一次发生在上下文中段的改写重新预填充了 8,453 个 token —— 7.9 分钟;而同一会话里的一次追加只花 25 个 token、3.5 秒。
|
|
38
|
-
- **折叠之前先向模型要它的发现。** 支撑这一点的 A/B 中,发现被丢弃的那一臂折叠了五次,反复重读已经读过的文件,始终没有作答;被问过的那一臂直接从笔记里给出了答案。
|
|
39
|
-
- **小模型会照字面理解工具输出。** grep 对一个它根本无法执行的调用也回答"0 matches",结果模型花了五轮去改写一个本来正确的模式;一个被归咎于 Q2 下 35B 模型的循环,其实是 Reika 把模型自己的工具调用标记又喂了回去。
|
|
40
|
-
- **提示词措辞是最弱的杠杆。** 在 Q2 下面对含糊任务,模型收敛与打转大约各占一半,框架改变不了这个比例 —— 只能改变失败那一半的代价。
|
|
41
|
-
- **循环检测器的区分度很干净。** 健康的推理轮次在跨轮相似度上测得 0.2–0.3;锁死的循环停在 1.00,而一个跑了 38 轮的有效轮次从未触发检测。
|
|
41
|
+
Reika 的设计取舍是测量出来的,而不是假设的,结果公开在 [docs/findings.md](docs/findings.md)。举几个例子:
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
-
|
|
46
|
-
- **循环与打转中断。** 重复读取、反复重推的推理、以及失控的思考块都会被检测到,并用一套逐级升级的手段回应(轻推、固定台账、收回工具、坦诚终止),而不是让它打转半小时。
|
|
47
|
-
- **对模型行为的检查。** 盲改会被退回,要求先读;TypeScript 编辑会对照编辑前的基线做类型检查;写下的计划按框架观察到的事实逐步追踪,而不是按模型自己声称的进度。
|
|
48
|
-
- **计划 → 实现。** 只读的计划模式最终产出一份带编号、落到具体文件的计划 —— 你可以在执行之前用任意多轮来打磨它 —— 而 vibe 模式会在每次提示时把计划和实现串起来。
|
|
49
|
-
- **默认安全。** 普通编辑直接执行,危险命令仍会询问;在 macOS 上,由模型选择的 shell 命令运行在内核沙箱里(写入限制在项目内,网络被禁止)。
|
|
50
|
-
- **可扩展。** Stdio MCP 服务器可以添加工具,每个工具同时也会变成一个斜杠命令。Markdown 技能同样会变成斜杠命令;`/issue` 和 `/review` 随 Reika 一起发布,只要有 `gh` 和 GitHub 远程仓库就会出现。
|
|
51
|
-
- **无遥测。** 你的代码只会发往你自己配置的模型服务器,别处不去:用本地服务器时它从不离开你的机器,用云端 API 时它只发给该提供商。除此之外的请求只有:使用网络工具或粘贴链接时发起的请求;为查询上下文上限而下载公开的 models.dev 目录(仅针对托管端点,且从不携带你的数据);以及你配置的 MCP 服务器各自的行为。
|
|
52
|
-
- **为慢速本地引擎而做。** 容忍长预填充,能处理没有原生模板的模型发出的工具调用方言,并在状态栏显示解码速度、上下文占用和缓存命中率。
|
|
43
|
+
- **框架自己的上下文管理,代价比模型本身更大。** 一次发生在上下文中段的改写重新预填充了 8,453 个 token(7.9 分钟);一次追加只花 25 个 token、3.5 秒。
|
|
44
|
+
- **小模型会照字面理解工具输出。** 一个被归咎于 Q2 下 35B 模型的循环,其实是 Reika 把模型自己的工具调用标记又喂了回去。
|
|
45
|
+
- **提示词措辞是最弱的杠杆。** 在 Q2 下面对含糊任务,模型大约有一半时间会打转。框架改变不了这个比例,只能改变失败那一半的代价。
|
|
53
46
|
|
|
54
47
|
## 要求
|
|
55
48
|
|
|
56
49
|
- Node.js 22 或更新版本(macOS 11+,或 glibc 2.28+ 的 Linux —— 见[平台](docs/zh/platforms.md))。
|
|
57
50
|
- 一个 OpenAI 兼容的模型服务器:llama.cpp、MLX、vLLM 或云端 API。
|
|
58
51
|
- macOS 是主要平台。Linux 可用,但没有 shell 沙箱和图片粘贴 OCR(可以设置 `REIKA_VISION_MODEL`,改用视觉模型读取粘贴的图片)。Windows 或许能在 WSL2 下运行。
|
|
59
|
-
-
|
|
52
|
+
- 现代终端,例如 iTerm2、Ghostty 或 Kitty,以便 TUI 正确渲染。
|
|
60
53
|
|
|
61
54
|
## 快速开始
|
|
62
55
|
|
|
@@ -68,24 +61,19 @@ pnpm add -g @alexwkleung/reika
|
|
|
68
61
|
brew install alexwkleung/tap/reika
|
|
69
62
|
```
|
|
70
63
|
|
|
71
|
-
|
|
64
|
+
启动一个模型(下面以 llama.cpp 为例),然后把 Reika 指向它:
|
|
72
65
|
|
|
73
66
|
```sh
|
|
74
67
|
llama-server -m <model.gguf> -c 24576 --jinja <other-launch-args>
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
然后把 Reika 指向它:
|
|
78
|
-
|
|
79
|
-
```sh
|
|
80
68
|
export REIKA_MODEL=model # 或写进 ~/.config/reika/.env
|
|
81
69
|
cd your-project && reika
|
|
82
70
|
```
|
|
83
71
|
|
|
84
|
-
|
|
72
|
+
托管 API、默认端口、上下文窗口以及从检出目录运行,见[安装与首次运行](docs/zh/getting-started.md)。
|
|
85
73
|
|
|
86
|
-
`
|
|
74
|
+
更喜欢窗口而不是终端?`reika web` 把同一个代理提供给本机的浏览器标签页,`reika web --window` 则在独立的应用窗口中打开它。这一功能仍是实验性的;它能做什么、暂时还做不到什么,见 [docs/web.md](docs/zh/web.md)。
|
|
87
75
|
|
|
88
|
-
|
|
76
|
+

|
|
89
77
|
|
|
90
78
|
## 常用配置
|
|
91
79
|
|
|
@@ -116,10 +104,11 @@ cd your-project && reika
|
|
|
116
104
|
|
|
117
105
|
`reika -p "<prompt>"` 无头运行单个轮次并打印回复,用于脚本和其他框架。模式细节、无头参数以及全部斜杠命令见[用法文档](docs/usage.md)。
|
|
118
106
|
|
|
119
|
-
##
|
|
107
|
+
## 安全与隐私
|
|
120
108
|
|
|
121
109
|
- **审批**默认是 `safe`:普通编辑和命令自行执行,但任何匹配危险模式的命令(`rm -rf`、强制推送、安装软件包、`curl`……)以及项目之外的任何写入,仍会先问你。`bypass` 只能在启动时设置,会话中无法切换。
|
|
122
110
|
- **沙箱**(macOS,默认开启):由模型选择的 shell 命令只能写入项目、临时和缓存目录内,且除回环地址和只读的 `git`/`gh` 之外没有网络。你明确批准的命令不做沙箱隔离运行。`REIKA_SANDBOX=0` 可将其关闭。
|
|
111
|
+
- **无遥测。** 你的代码只会发往你自己配置的模型服务器,别处不去:用本地服务器时它从不离开你的机器,用云端 API 时它只发给该提供商。除此之外的请求只有:使用网络工具或粘贴链接时发起的请求;为查询上下文上限而下载公开的 models.dev 目录(仅针对托管端点,且从不携带你的数据);以及你配置的 MCP 服务器各自的行为。
|
|
123
112
|
|
|
124
113
|
发现了绕过其中某一道的方式?请私下报告,见 [SECURITY.md](SECURITY.md)。
|
|
125
114
|
|
|
@@ -70,20 +70,20 @@ import {
|
|
|
70
70
|
turnTools,
|
|
71
71
|
urlsToConfirm,
|
|
72
72
|
writeSession
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-LNUPGYM7.js";
|
|
74
74
|
import {
|
|
75
75
|
spillResult
|
|
76
76
|
} from "./chunk-S4S44BI2.js";
|
|
77
77
|
import {
|
|
78
78
|
persistableMode,
|
|
79
79
|
startProfiles
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-JTRHYW55.js";
|
|
81
81
|
import {
|
|
82
82
|
inheritProfile,
|
|
83
83
|
isOffline,
|
|
84
84
|
modeSwitchProfile,
|
|
85
85
|
resolveProfile
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-YCKCJJ3W.js";
|
|
87
87
|
import {
|
|
88
88
|
debugLog,
|
|
89
89
|
processSessionStem
|
|
@@ -1246,6 +1246,7 @@ function createController(opts) {
|
|
|
1246
1246
|
const attachSession = (attached, own) => {
|
|
1247
1247
|
session = attached;
|
|
1248
1248
|
ownProfile = own;
|
|
1249
|
+
if (modeSide(snapshot.mode) === "chat") attached.switchSide("chat");
|
|
1249
1250
|
startPrPoll();
|
|
1250
1251
|
};
|
|
1251
1252
|
const createSession2 = opts.createSession ?? createSession;
|
|
@@ -1976,6 +1977,10 @@ function createController(opts) {
|
|
|
1976
1977
|
];
|
|
1977
1978
|
},
|
|
1978
1979
|
sides: bothSides,
|
|
1980
|
+
offScreen: () => {
|
|
1981
|
+
const side = modeSide(snapshot.mode) === "chat" ? "agent" : "chat";
|
|
1982
|
+
return { side, turns: countRealTurns(stashed[side] ?? []) };
|
|
1983
|
+
},
|
|
1979
1984
|
get sessionPath() {
|
|
1980
1985
|
return sessionPath;
|
|
1981
1986
|
},
|
|
@@ -2063,6 +2068,7 @@ function createController(opts) {
|
|
|
2063
2068
|
};
|
|
2064
2069
|
},
|
|
2065
2070
|
sessionList: async (scope) => {
|
|
2071
|
+
await saveChain;
|
|
2066
2072
|
if (scope === "root") return session ? listSessions(historyRoot, true) : [];
|
|
2067
2073
|
const dir = projectDir();
|
|
2068
2074
|
return dir ? listSessions(dir) : [];
|
|
@@ -2690,8 +2696,8 @@ var chalk = createChalk();
|
|
|
2690
2696
|
var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
2691
2697
|
var source_default = chalk;
|
|
2692
2698
|
|
|
2693
|
-
// src/
|
|
2694
|
-
var
|
|
2699
|
+
// src/display/palette.ts
|
|
2700
|
+
var palette = {
|
|
2695
2701
|
accent: "#d68cd6",
|
|
2696
2702
|
// soft orchid magenta — pastel but luminous enough to read as focus/selection
|
|
2697
2703
|
// Soft lilac: the one purple slot the palette had free — redder and brighter than the vibe
|
|
@@ -2701,7 +2707,9 @@ var truecolor = {
|
|
|
2701
2707
|
// brightened by some terminals) made it outweigh the prose it sits in.
|
|
2702
2708
|
inlineCode: "#d5afee",
|
|
2703
2709
|
tool: "#c8c8c8",
|
|
2704
|
-
|
|
2710
|
+
// Named terminal colours in the TUI (theme.ts), so the user's terminal theme picks them; the
|
|
2711
|
+
// page takes these, chosen to sit with the pastels.
|
|
2712
|
+
info: "#7fd3dc",
|
|
2705
2713
|
secondary: "#a0a0a0",
|
|
2706
2714
|
muted: "#808080",
|
|
2707
2715
|
reasoning: "#6495ed",
|
|
@@ -2726,8 +2734,8 @@ var truecolor = {
|
|
|
2726
2734
|
// approvals` red on the same severity ladder, and off the `queued` orange that also lives
|
|
2727
2735
|
// in the chrome.
|
|
2728
2736
|
autoApprove: "#e8a090",
|
|
2729
|
-
error: "
|
|
2730
|
-
success: "
|
|
2737
|
+
error: "#ef7b7b",
|
|
2738
|
+
success: "#9fd49f",
|
|
2731
2739
|
userBg: "#303030",
|
|
2732
2740
|
// Status-line mode tags. Every mode gets its own soft hue so the tag reads at a glance
|
|
2733
2741
|
// (none of them near the yellow warning); the heavily-used modes take the brighter pastels
|
|
@@ -2738,16 +2746,16 @@ var truecolor = {
|
|
|
2738
2746
|
// soft teal-cyan; also the plan-checklist header (PlanProgress) — teal = plan everywhere
|
|
2739
2747
|
modeVibe: "#b4aee0",
|
|
2740
2748
|
// soft periwinkle between plan teal and agent magenta — vibe runs both phases
|
|
2741
|
-
// Heather: a desaturated violet, greyer and darker than the vibe periwinkle and agent magenta
|
|
2742
|
-
// on either side of it in hue. Purple-tinted so it no longer reads as a disabled/grey chip
|
|
2743
|
-
// (#380), but the low saturation keeps it a secondary mode that recedes next to the two
|
|
2744
|
-
// pastel workhorses.
|
|
2745
2749
|
// Minimal: a desaturated slate, deliberately the quietest of the work-mode tags — the mode is
|
|
2746
2750
|
// the harness doing LESS, and the chip should not read as louder than agent's.
|
|
2747
2751
|
modeMinimal: "#9aa8b8",
|
|
2748
2752
|
// Grind (#556): dusty rose — warm like the effort the mode asks for, pinker than the coral
|
|
2749
2753
|
// auto-approve badge on the same line and well off the warning yellow.
|
|
2750
2754
|
modeGrind: "#d89aa8",
|
|
2755
|
+
// Heather: a desaturated violet, greyer and darker than the vibe periwinkle and agent magenta
|
|
2756
|
+
// on either side of it in hue. Purple-tinted so it no longer reads as a disabled/grey chip
|
|
2757
|
+
// (#380), but the low saturation keeps it a secondary mode that recedes next to the two
|
|
2758
|
+
// pastel workhorses.
|
|
2751
2759
|
modeChat: "#a892c4",
|
|
2752
2760
|
modeShell: "#9fd49f",
|
|
2753
2761
|
// soft green, tied to the $ prompt
|
|
@@ -2763,6 +2771,9 @@ var truecolor = {
|
|
|
2763
2771
|
// than the agent tag's soft magenta at the other end of that line.
|
|
2764
2772
|
prMerged: "#b48cf0"
|
|
2765
2773
|
};
|
|
2774
|
+
|
|
2775
|
+
// src/ui/theme.ts
|
|
2776
|
+
var truecolor = { ...palette, info: "cyan", error: "red", success: "green" };
|
|
2766
2777
|
var ansi16 = {
|
|
2767
2778
|
accent: "magentaBright",
|
|
2768
2779
|
inlineCode: "magenta",
|
|
@@ -2802,6 +2813,7 @@ export {
|
|
|
2802
2813
|
acceptSuggestion,
|
|
2803
2814
|
createController,
|
|
2804
2815
|
source_default,
|
|
2816
|
+
palette,
|
|
2805
2817
|
theme,
|
|
2806
2818
|
themeChalk
|
|
2807
2819
|
};
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
modeSwitchProfile,
|
|
5
5
|
resolveDefaultMode,
|
|
6
6
|
setAtLaunch
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YCKCJJ3W.js";
|
|
8
8
|
|
|
9
9
|
// src/laststate.ts
|
|
10
10
|
import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
11
11
|
import { homedir } from "node:os";
|
|
12
12
|
import { dirname, join } from "node:path";
|
|
13
13
|
var LAST_STATE_PATH = join(homedir(), ".config", "reika", "state.json");
|
|
14
|
-
var DEFAULT_MODES = ["agent", "plan", "vibe", "minimal", "grind"];
|
|
14
|
+
var DEFAULT_MODES = ["agent", "plan", "vibe", "minimal", "grind", "chat"];
|
|
15
15
|
function persistableMode(mode) {
|
|
16
16
|
return DEFAULT_MODES.includes(mode) ? mode : null;
|
|
17
17
|
}
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
streamDispatcher,
|
|
30
30
|
tokenize,
|
|
31
31
|
withProbedLimits
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-YCKCJJ3W.js";
|
|
33
33
|
import {
|
|
34
34
|
API_USER_AGENT,
|
|
35
35
|
DOCS_DIR,
|
|
@@ -2671,7 +2671,7 @@ var require_emoji_regex = __commonJS({
|
|
|
2671
2671
|
}
|
|
2672
2672
|
});
|
|
2673
2673
|
|
|
2674
|
-
// src/
|
|
2674
|
+
// src/display/format.ts
|
|
2675
2675
|
var HIDDEN_TOOL_ARGS = {
|
|
2676
2676
|
edit: /* @__PURE__ */ new Set(["old_string", "new_string"]),
|
|
2677
2677
|
write: /* @__PURE__ */ new Set(["content"])
|
|
@@ -2790,6 +2790,20 @@ function changeLabel(f) {
|
|
|
2790
2790
|
return `(+${f.added} -${f.removed})`;
|
|
2791
2791
|
}
|
|
2792
2792
|
}
|
|
2793
|
+
var TRAILING_STAT = /\((?:(?:new|deleted),\s+)?(?:\+\d+)?(?:\s*-\d+)?\)$/;
|
|
2794
|
+
function diffStatRuns(text) {
|
|
2795
|
+
const m = TRAILING_STAT.exec(text);
|
|
2796
|
+
if (!m || !/[+-]\d/.test(m[0])) return [{ text }];
|
|
2797
|
+
const runs = [{ text: text.slice(0, m.index) }];
|
|
2798
|
+
for (const piece of m[0].split(/([+-]\d+)/)) {
|
|
2799
|
+
if (!piece) continue;
|
|
2800
|
+
const counted = /^[+-]\d+$/.test(piece) && Number(piece.slice(1)) > 0;
|
|
2801
|
+
runs.push(
|
|
2802
|
+
counted ? { text: piece, side: piece[0] === "+" ? "added" : "removed" } : { text: piece }
|
|
2803
|
+
);
|
|
2804
|
+
}
|
|
2805
|
+
return runs.filter((r) => r.text);
|
|
2806
|
+
}
|
|
2793
2807
|
function formatContext(contextTokens, contextWindow, contextUsable) {
|
|
2794
2808
|
if (contextTokens == null || contextTokens <= 0) return "";
|
|
2795
2809
|
if (!contextWindow) return `ctx ${kFormat(contextTokens)}`;
|
|
@@ -4178,7 +4192,7 @@ function pasteIsNative(config) {
|
|
|
4178
4192
|
return config.vision === "native";
|
|
4179
4193
|
}
|
|
4180
4194
|
|
|
4181
|
-
// src/
|
|
4195
|
+
// src/display/pastes.ts
|
|
4182
4196
|
var PASTE_LINE_THRESHOLD = 12;
|
|
4183
4197
|
var PASTE_CHAR_THRESHOLD = 1500;
|
|
4184
4198
|
var MAX_PASTE_STORE_CHARS = 4e6;
|
|
@@ -11400,7 +11414,7 @@ var writeTool = {
|
|
|
11400
11414
|
// src/tools/bash.ts
|
|
11401
11415
|
import { spawn as spawn2 } from "node:child_process";
|
|
11402
11416
|
|
|
11403
|
-
// src/
|
|
11417
|
+
// src/display/commandtail.ts
|
|
11404
11418
|
var OUTPUT_TAIL_BYTES = 2 * 1024;
|
|
11405
11419
|
var OUTPUT_TAIL_LINES = 10;
|
|
11406
11420
|
function commandTail(retained, omittedEarlier = false) {
|
|
@@ -17222,6 +17236,42 @@ var ReasoningTrace = class {
|
|
|
17222
17236
|
}
|
|
17223
17237
|
};
|
|
17224
17238
|
|
|
17239
|
+
// src/agent/contentspin.ts
|
|
17240
|
+
var CONTENT_SPIN_MIN_CHARS = 16e3;
|
|
17241
|
+
var CONTENT_SPIN_RATIO = 0.8;
|
|
17242
|
+
var CONTENT_SPIN_DEBOUNCE = 2e3;
|
|
17243
|
+
var CONTENT_SPIN_WINDOWS = [CONTENT_SPIN_MIN_CHARS, 32e3, 64e3];
|
|
17244
|
+
function fenceOpenAtTail(text) {
|
|
17245
|
+
let open2 = null;
|
|
17246
|
+
for (const m of text.matchAll(/^ {0,3}(`{3,}|~{3,})(.*)$/gm)) {
|
|
17247
|
+
const fence = m[1];
|
|
17248
|
+
if (!open2) open2 = fence;
|
|
17249
|
+
else if (fence[0] === open2[0] && fence.length >= open2.length && !m[2].trim()) open2 = null;
|
|
17250
|
+
}
|
|
17251
|
+
return open2 !== null;
|
|
17252
|
+
}
|
|
17253
|
+
function contentSpinSignal(content) {
|
|
17254
|
+
const chars = content.length;
|
|
17255
|
+
if (chars < CONTENT_SPIN_MIN_CHARS)
|
|
17256
|
+
return { spinning: false, ratio: 0, window: 0, chars, fence: false };
|
|
17257
|
+
let ratio = 0;
|
|
17258
|
+
let window = 0;
|
|
17259
|
+
for (const w of CONTENT_SPIN_WINDOWS) {
|
|
17260
|
+
const r = selfRepeatRatio(content.slice(-w));
|
|
17261
|
+
if (r > ratio) {
|
|
17262
|
+
ratio = r;
|
|
17263
|
+
window = Math.min(w, chars);
|
|
17264
|
+
}
|
|
17265
|
+
}
|
|
17266
|
+
return {
|
|
17267
|
+
spinning: ratio >= CONTENT_SPIN_RATIO,
|
|
17268
|
+
ratio,
|
|
17269
|
+
window,
|
|
17270
|
+
chars,
|
|
17271
|
+
fence: fenceOpenAtTail(content)
|
|
17272
|
+
};
|
|
17273
|
+
}
|
|
17274
|
+
|
|
17225
17275
|
// src/agent/continuation.ts
|
|
17226
17276
|
var CONTINUATION_TAIL_CHARS = envInt("REIKA_CONTINUE_TAIL_CHARS", 6e3);
|
|
17227
17277
|
var BOUNDARY_SEARCH_FRACTION = 0.25;
|
|
@@ -18213,6 +18263,8 @@ var MAX_VERBATIM_RECOVERIES = 2;
|
|
|
18213
18263
|
var REASONING_HARD_CEIL = ceilFromEnv("REIKA_REASONING_CEIL", 32e3);
|
|
18214
18264
|
var FORCE_WRITE_REASONING_CEIL = 12e3;
|
|
18215
18265
|
var VERBATIM_ABORT = process.env.REIKA_VERBATIM_ABORT !== "0";
|
|
18266
|
+
var CONTENT_SPIN = process.env.REIKA_CONTENT_SPIN !== "0";
|
|
18267
|
+
var MAX_CONTENT_SPIN_RECOVERIES = 1;
|
|
18216
18268
|
var CONTINUE = process.env.REIKA_CONTINUE !== "0";
|
|
18217
18269
|
var CONTINUE_NUDGE = "(your previous response was cut off at the token limit. the text above is your own work \u2014 it ends mid-thought. continue from that exact point. any earlier part was trimmed to fit; what remains is your most recent working. do not start over, and do not re-run tools you have already called \u2014 their results are above.)";
|
|
18218
18270
|
var PLAN_WRITE_CONTINUE_NUDGE = "(your plan write was cut off at the reasoning length limit. the text above is your own work \u2014 it ends mid-thought. continue from that exact point and then write the numbered plan. any earlier part was trimmed to fit; what remains is your most recent working. do not start over.)";
|
|
@@ -18623,6 +18675,7 @@ ${SUBAGENT_REPORT_FRAME}` : promptForMode;
|
|
|
18623
18675
|
} : void 0;
|
|
18624
18676
|
const shrink = { ...opts.priorShrink ?? { sheds: 0, folds: 0 } };
|
|
18625
18677
|
let lengthRetries = 0;
|
|
18678
|
+
let contentSpinRecoveries = 0;
|
|
18626
18679
|
const continuation = new ContinuationGate();
|
|
18627
18680
|
let pendingContinuation = "";
|
|
18628
18681
|
let pendingReasoning = "";
|
|
@@ -19374,13 +19427,40 @@ ${roundSuffix}` : dropped;
|
|
|
19374
19427
|
callAbort.abort();
|
|
19375
19428
|
}
|
|
19376
19429
|
} : opts.onReasoningDelta;
|
|
19430
|
+
let roundContent = "";
|
|
19431
|
+
let contentCheckedAt = 0;
|
|
19432
|
+
let contentSpinCut = false;
|
|
19433
|
+
const contentSpinExempt = i >= opts.config.maxTurns - 1 || planForceWrite || convergeSteerNow || !!logitBias;
|
|
19434
|
+
const contentSpinBudgetLeft = contentSpinRecoveries < MAX_CONTENT_SPIN_RECOVERIES;
|
|
19435
|
+
const canCutContentSpin = CONTENT_SPIN && contentSpinBudgetLeft && !contentSpinExempt;
|
|
19436
|
+
const onContentDelta = canCutContentSpin || debugEnabled() ? (delta) => {
|
|
19437
|
+
opts.onContentDelta?.(delta);
|
|
19438
|
+
roundContent += delta;
|
|
19439
|
+
if (contentSpinCut) return;
|
|
19440
|
+
if (roundContent.length - contentCheckedAt < CONTENT_SPIN_DEBOUNCE) return;
|
|
19441
|
+
contentCheckedAt = roundContent.length;
|
|
19442
|
+
const reading = contentSpinSignal(roundContent);
|
|
19443
|
+
if (reading.chars < CONTENT_SPIN_MIN_CHARS) return;
|
|
19444
|
+
const cut = canCutContentSpin && reading.spinning;
|
|
19445
|
+
const gate = cut ? "cut" : !reading.spinning ? "measure" : !CONTENT_SPIN ? "off" : contentSpinExempt ? "exempt" : "spent";
|
|
19446
|
+
if (debugEnabled()) {
|
|
19447
|
+
debugLog(
|
|
19448
|
+
`[reika:debug] content-spin round=${i} ratio=${reading.ratio.toFixed(2)} window=${reading.window} chars=${reading.chars} fence=${reading.fence ? "yes" : "no"} gate=${gate}
|
|
19449
|
+
`
|
|
19450
|
+
);
|
|
19451
|
+
}
|
|
19452
|
+
if (cut) {
|
|
19453
|
+
contentSpinCut = true;
|
|
19454
|
+
callAbort.abort();
|
|
19455
|
+
}
|
|
19456
|
+
} : opts.onContentDelta;
|
|
19377
19457
|
const live = startLiveRound(() => sentEstimate);
|
|
19378
19458
|
const response = await callModel({
|
|
19379
19459
|
system,
|
|
19380
19460
|
history: callHistory,
|
|
19381
19461
|
tools: sentTools,
|
|
19382
19462
|
config: withGenReserve(opts.config, genReserve),
|
|
19383
|
-
onContentDelta
|
|
19463
|
+
onContentDelta,
|
|
19384
19464
|
onReasoningDelta,
|
|
19385
19465
|
onOutputDelta: live && ((text) => live.add(text)),
|
|
19386
19466
|
onEngineTimings: live && ((timings, prompt) => live.engine(timings, prompt)),
|
|
@@ -19617,6 +19697,25 @@ ${roundReasoning}` : roundReasoning;
|
|
|
19617
19697
|
);
|
|
19618
19698
|
return;
|
|
19619
19699
|
}
|
|
19700
|
+
if (contentSpinCut) {
|
|
19701
|
+
contentSpinRecoveries++;
|
|
19702
|
+
pendingContinuation = "";
|
|
19703
|
+
pendingReasoning = "";
|
|
19704
|
+
opts.onReasoningReset?.();
|
|
19705
|
+
opts.onMessage({
|
|
19706
|
+
role: "system",
|
|
19707
|
+
tone: "warn",
|
|
19708
|
+
content: "Output was repeating itself \u2014 stopped it and retrying."
|
|
19709
|
+
});
|
|
19710
|
+
opts.history.push({
|
|
19711
|
+
role: "user",
|
|
19712
|
+
content: "(your previous response was repeating the same text over and over and was stopped. answer the question or call a tool directly, without repeating yourself)",
|
|
19713
|
+
// Not a turn boundary (#287), for the same reason the truncation nudge isn't: this fires on
|
|
19714
|
+
// rounds where the task spec matters most, and re-electing the pin costs the model a re-fetch.
|
|
19715
|
+
harness: true
|
|
19716
|
+
});
|
|
19717
|
+
continue;
|
|
19718
|
+
}
|
|
19620
19719
|
const toolCalls = planForceWrite || subagentForceReport ? [] : response.toolCalls ?? [];
|
|
19621
19720
|
const isFinal = toolCalls.length === 0;
|
|
19622
19721
|
const rsn = response.reasoning ?? "";
|
|
@@ -21218,7 +21317,7 @@ function scrubLines(s) {
|
|
|
21218
21317
|
return s.split("\n").map((line) => scrubDisplay(line)).join("\n");
|
|
21219
21318
|
}
|
|
21220
21319
|
|
|
21221
|
-
// src/
|
|
21320
|
+
// src/display/harnessecho.ts
|
|
21222
21321
|
var HARNESS_ECHO_LINE = /^\s*(?:\[reika:[^\]\n]*\]|\(reika:[^)\n]*\)|\[tool (?:result|output)[^\]\n]*\])\s*$/;
|
|
21223
21322
|
function stripHarnessEcho(content) {
|
|
21224
21323
|
let rest = content;
|
|
@@ -21232,7 +21331,7 @@ function stripHarnessEcho(content) {
|
|
|
21232
21331
|
return rest === content ? content : rest.trimStart();
|
|
21233
21332
|
}
|
|
21234
21333
|
|
|
21235
|
-
// src/
|
|
21334
|
+
// src/display/reasoningfold.ts
|
|
21236
21335
|
var RUN_DELIMITERS = ["`", "'", '"'];
|
|
21237
21336
|
function countChar(line, ch) {
|
|
21238
21337
|
let n = 0;
|
|
@@ -21770,6 +21869,7 @@ export {
|
|
|
21770
21869
|
toolVerb,
|
|
21771
21870
|
toolTimer,
|
|
21772
21871
|
changeLabel,
|
|
21872
|
+
diffStatRuns,
|
|
21773
21873
|
formatContext,
|
|
21774
21874
|
formatCache,
|
|
21775
21875
|
autoApproves,
|
package/dist/cli.js
CHANGED
|
@@ -147,7 +147,7 @@ void sweepDebugLogs();
|
|
|
147
147
|
var web = null;
|
|
148
148
|
if (process.argv[2] === "web") {
|
|
149
149
|
try {
|
|
150
|
-
const { parseWebArgs } = await import("./command-
|
|
150
|
+
const { parseWebArgs } = await import("./command-YGWQJ3QL.js");
|
|
151
151
|
web = parseWebArgs(process.argv.slice(2));
|
|
152
152
|
} catch (e) {
|
|
153
153
|
process.stderr.write(`reika: ${e.message}
|
|
@@ -156,14 +156,14 @@ if (process.argv[2] === "web") {
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
if (web) {
|
|
159
|
-
const { runWeb, terminalLink, WEB_USAGE } = await import("./command-
|
|
159
|
+
const { runWeb, terminalLink, WEB_USAGE } = await import("./command-YGWQJ3QL.js");
|
|
160
160
|
if (web.help) {
|
|
161
161
|
process.stdout.write(`${WEB_USAGE}
|
|
162
162
|
`);
|
|
163
163
|
process.exit(0);
|
|
164
164
|
}
|
|
165
|
-
const { loadConfig } = await import("./config-
|
|
166
|
-
const { loadLastState, saveLastState } = await import("./laststate-
|
|
165
|
+
const { loadConfig } = await import("./config-7EI2MRT3.js");
|
|
166
|
+
const { loadLastState, saveLastState } = await import("./laststate-3OSWMDIJ.js");
|
|
167
167
|
const run = await runWeb(web, {
|
|
168
168
|
stdout: (text) => void process.stdout.write(text),
|
|
169
169
|
stderr: (text) => void process.stderr.write(text),
|
|
@@ -215,7 +215,7 @@ if (headless?.help) {
|
|
|
215
215
|
await exitAfterDrain(0);
|
|
216
216
|
}
|
|
217
217
|
if (headless) {
|
|
218
|
-
const { runHeadless, terminalSafeWriter } = await import("./headless-
|
|
218
|
+
const { runHeadless, terminalSafeWriter } = await import("./headless-BPAOJXR5.js");
|
|
219
219
|
const code = await runHeadless(headless, {
|
|
220
220
|
stdout: terminalSafeWriter(process.stdout),
|
|
221
221
|
stderr: terminalSafeWriter(process.stderr),
|
|
@@ -237,6 +237,6 @@ ${USAGE}
|
|
|
237
237
|
});
|
|
238
238
|
await exitAfterDrain(code);
|
|
239
239
|
} else {
|
|
240
|
-
const { startTui } = await loadWithProductionReact(() => import("./tui-
|
|
240
|
+
const { startTui } = await loadWithProductionReact(() => import("./tui-CNIX2X67.js"));
|
|
241
241
|
startTui();
|
|
242
242
|
}
|