scream-code 0.16.7 → 0.16.9
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 +1 -1
- package/dist/{app-DDepBvBx.mjs → app-BJSym649.mjs} +150 -55
- package/dist/{dispatch-Vw9ccFm7.mjs → dispatch-CIOuINvn.mjs} +2139 -2961
- package/dist/{dispatch-CIGyjBDa.mjs → dispatch-ChbwC2I5.mjs} +1 -1
- package/dist/main.mjs +1 -1
- package/dist/src-BhZujafw.mjs +4141 -0
- package/dist/{src-h6ZExh4A.mjs → src-CUURS-i6.mjs} +1 -1
- package/dist/{text-input-dialog-B-6Pgo6m.mjs → text-input-dialog-DBgQwxaO.mjs} +1 -1
- package/dist/{text-input-dialog-D9ByqSsK.mjs → text-input-dialog-XT3cOEjD.mjs} +7 -3
- package/package.json +5 -2
- package/dist/src-tDEINaMV.mjs +0 -2249
|
@@ -3,5 +3,5 @@ import { fileURLToPath as __cjsShimFileURLToPath } from 'node:url';
|
|
|
3
3
|
import { dirname as __cjsShimDirname } from 'node:path';
|
|
4
4
|
const __filename = __cjsShimFileURLToPath(import.meta.url);
|
|
5
5
|
const __dirname = __cjsShimDirname(__filename);
|
|
6
|
-
import { n as multiSearchWithTrace } from "./src-
|
|
6
|
+
import { n as multiSearchWithTrace } from "./src-BhZujafw.mjs";
|
|
7
7
|
export { multiSearchWithTrace };
|
|
@@ -3,5 +3,5 @@ import { fileURLToPath as __cjsShimFileURLToPath } from 'node:url';
|
|
|
3
3
|
import { dirname as __cjsShimDirname } from 'node:path';
|
|
4
4
|
const __filename = __cjsShimFileURLToPath(import.meta.url);
|
|
5
5
|
const __dirname = __cjsShimDirname(__filename);
|
|
6
|
-
import { t as TextInputDialogComponent } from "./text-input-dialog-
|
|
6
|
+
import { t as TextInputDialogComponent } from "./text-input-dialog-XT3cOEjD.mjs";
|
|
7
7
|
export { TextInputDialogComponent };
|
|
@@ -6,8 +6,8 @@ const __dirname = __cjsShimDirname(__filename);
|
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
8
8
|
import { join } from "node:path";
|
|
9
|
-
import { execFileSync } from "node:child_process";
|
|
10
9
|
import { arch, hostname, release, type } from "node:os";
|
|
10
|
+
import { execFileSync } from "node:child_process";
|
|
11
11
|
import chalk from "chalk";
|
|
12
12
|
import { Container, Input, Key, matchesKey, truncateToWidth, visibleWidth } from "@liutod-scream/pi-tui";
|
|
13
13
|
//#region ../../packages/config/dist/index.mjs
|
|
@@ -190,6 +190,7 @@ const dictionaries = {
|
|
|
190
190
|
"error.load_failed": "加载失败: {msg}",
|
|
191
191
|
"error.internal": "内部错误",
|
|
192
192
|
"error.no_session": "没有活跃的会话。",
|
|
193
|
+
"error.session_header_hint": "请在 config.toml 对应服务商下设置 session_header = \"{name}\",以提供网关要求的会话标识。",
|
|
193
194
|
"footer.shift_tab": "shift+tab: 计划模式",
|
|
194
195
|
"footer.model": "/model: 切换模型",
|
|
195
196
|
"footer.ctrl_s": "ctrl+s: 中途干预",
|
|
@@ -308,6 +309,8 @@ const dictionaries = {
|
|
|
308
309
|
"knowledge.search_fail": "搜索失败",
|
|
309
310
|
"knowledge.search_result": "搜索结果",
|
|
310
311
|
"knowledge.no_hits": "查询 \"{query}\" 未命中任何 chunk",
|
|
312
|
+
"knowledge.search_deep": "深度搜索",
|
|
313
|
+
"knowledge.search_deep_desc": "走 LLM 实体抽取+重排:更准但更慢(默认搜索为纯本地快速模式)",
|
|
311
314
|
"knowledge.vector_degraded": "向量模型未就绪,当前为关键词检索模式。可在 /knowledge 菜单重新下载模型。",
|
|
312
315
|
"knowledge.query_label": "查询",
|
|
313
316
|
"knowledge.no_title": "(无标题)",
|
|
@@ -325,7 +328,6 @@ const dictionaries = {
|
|
|
325
328
|
"knowledge.deleted": "已删除",
|
|
326
329
|
"knowledge.doc_removed": "文档已从知识库移除",
|
|
327
330
|
"knowledge.cancelled": "已取消",
|
|
328
|
-
"knowledge.no_delete_doc": "未删除任何文档",
|
|
329
331
|
"knowledge.stats": "知识库统计",
|
|
330
332
|
"knowledge.stats_desc": "查看知识库整体统计",
|
|
331
333
|
"knowledge.stats_note": "说明",
|
|
@@ -1472,6 +1474,7 @@ const dictionaries = {
|
|
|
1472
1474
|
"error.load_failed": "Load failed: {msg}",
|
|
1473
1475
|
"error.internal": "Internal error",
|
|
1474
1476
|
"error.no_session": "No active session.",
|
|
1477
|
+
"error.session_header_hint": "Set session_header = \"{name}\" under this provider in config.toml to supply the required session id.",
|
|
1475
1478
|
"footer.shift_tab": "shift+tab: Plan mode",
|
|
1476
1479
|
"footer.model": "/model: Switch model",
|
|
1477
1480
|
"footer.ctrl_s": "ctrl+s: Interrupt",
|
|
@@ -1590,6 +1593,8 @@ const dictionaries = {
|
|
|
1590
1593
|
"knowledge.search_fail": "Search failed",
|
|
1591
1594
|
"knowledge.search_result": "Search Results",
|
|
1592
1595
|
"knowledge.no_hits": "Query \"{query}\" matched no chunks",
|
|
1596
|
+
"knowledge.search_deep": "Deep search",
|
|
1597
|
+
"knowledge.search_deep_desc": "LLM entity recall + rerank: slower but more precise (default search is local-only fast mode)",
|
|
1593
1598
|
"knowledge.vector_degraded": "Vector model not ready, using keyword search mode. You can retry the download from the /knowledge menu.",
|
|
1594
1599
|
"knowledge.query_label": "Query",
|
|
1595
1600
|
"knowledge.no_title": "(untitled)",
|
|
@@ -1607,7 +1612,6 @@ const dictionaries = {
|
|
|
1607
1612
|
"knowledge.deleted": "Deleted",
|
|
1608
1613
|
"knowledge.doc_removed": "Document removed from knowledge base",
|
|
1609
1614
|
"knowledge.cancelled": "Cancelled",
|
|
1610
|
-
"knowledge.no_delete_doc": "No documents deleted",
|
|
1611
1615
|
"knowledge.stats": "Knowledge Base Stats",
|
|
1612
1616
|
"knowledge.stats_desc": "View knowledge base statistics",
|
|
1613
1617
|
"knowledge.stats_note": "Notes",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scream-code",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.9",
|
|
4
4
|
"description": "A terminal-native AI agent for builders",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ScreamCli",
|
|
@@ -63,7 +63,6 @@
|
|
|
63
63
|
"cli-highlight": "^2.1.11",
|
|
64
64
|
"commander": "^13.1.0",
|
|
65
65
|
"diff": "^9.0.0",
|
|
66
|
-
"fastembed": "^2.1.0",
|
|
67
66
|
"grok-mermaid": "^0.2.3",
|
|
68
67
|
"marked": "^15.0.7",
|
|
69
68
|
"mupdf": "^1.28.0",
|
|
@@ -74,11 +73,15 @@
|
|
|
74
73
|
"ws": "^8.21.1",
|
|
75
74
|
"zod": "^4.3.6"
|
|
76
75
|
},
|
|
76
|
+
"optionalDependencies": {
|
|
77
|
+
"fastembed": "^2.1.0"
|
|
78
|
+
},
|
|
77
79
|
"devDependencies": {
|
|
78
80
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
79
81
|
"@scream-code/agent-core": "workspace:^",
|
|
80
82
|
"@scream-code/config": "workspace:^",
|
|
81
83
|
"@scream-code/evals": "workspace:^",
|
|
84
|
+
"@scream-code/jian": "workspace:^",
|
|
82
85
|
"@scream-code/knowledge": "workspace:*",
|
|
83
86
|
"@scream-code/memory": "workspace:*",
|
|
84
87
|
"@scream-code/scream-code-sdk": "workspace:^",
|