scream-code 0.17.0 → 0.17.1

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/dist/main.mjs CHANGED
@@ -6,7 +6,7 @@ const __dirname = __cjsShimDirname(__filename);
6
6
  import "./suppress-sqlite-warning-C2VB0doZ.mjs";
7
7
  //#region src/main.ts
8
8
  try {
9
- (await import("./app-BL4emsvp.mjs")).main();
9
+ (await import("./app-BZ9l7yHr.mjs")).main();
10
10
  } catch (error) {
11
11
  process.stderr.write(`${error instanceof Error ? error.stack ?? error.message : String(error)}\n`);
12
12
  process.exit(1);
@@ -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-XT3cOEjD.mjs";
6
+ import { t as TextInputDialogComponent } from "./text-input-dialog-CNY1NVhy.mjs";
7
7
  export { TextInputDialogComponent };
@@ -500,6 +500,29 @@ const dictionaries = {
500
500
  "auth.error_empty_base_url": "API 地址不能为空。",
501
501
  "auth.error_empty_model_id": "模型名称不能为空。",
502
502
  "auth.error_invalid_context_size": "上下文长度必须是 >= 4096 的数字。",
503
+ "image.provider_title": "选择生图服务商",
504
+ "image.provider_hint": "选择 API 兼容形态,下一步填写地址与密钥",
505
+ "image.already_configured": "当前已配置生图模型为:{model}({provider} · {url})——继续将覆盖原配置,Esc 取消",
506
+ "image.provider_openai": "OpenAI 官方",
507
+ "image.provider_volcengine": "豆包 Seedream(火山方舟)",
508
+ "image.provider_generic": "自定义服务商(OpenAI 兼容 URL)",
509
+ "image.input_url": "输入生图 API 地址",
510
+ "image.url_hint": "OpenAI 兼容网关或中转地址,按你填的原样使用(如 https://host/v1)",
511
+ "image.input_key": "输入生图 API 密钥",
512
+ "image.key_hint": "仅保存到本地配置文件,不会出现在对话中(Esc 取消)",
513
+ "image.error_empty_url": "生图 API 地址不能为空。",
514
+ "image.error_empty_key": "生图 API 密钥不能为空。",
515
+ "image.input_model": "输入生图模型 ID",
516
+ "image.model_hint": "回车使用默认 gpt-image-2",
517
+ "image.input_edit_url": "输入图生图地址(可选)",
518
+ "image.edit_url_hint": "与文生图不同的服务商才需要填;回车 = 与文生图相同",
519
+ "image.input_edit_model": "输入图生图模型 ID(可选)",
520
+ "image.edit_model_hint": "改图专用模型(如 xxx-edit)才需要填;回车 = 与文生图相同",
521
+ "image.checking": "正在检测生图 API...",
522
+ "image.check_ok": "连通性正常",
523
+ "image.check_failed": "连通性检测失败(配置已保存)",
524
+ "image.check_model_missing": "已连通,但未找到该模型(配置已保存)",
525
+ "image.configured": "生图已配置 · {provider} · {model}",
503
526
  "like.priority": "用户通过 /like 设置的偏好具有最高优先级,每次回复都必须遵守。",
504
527
  "like.nickname": "设置昵称",
505
528
  "like.nickname_hint": "你希望我怎么称呼你?留空表示不设置。",
@@ -1784,6 +1807,29 @@ const dictionaries = {
1784
1807
  "auth.error_empty_base_url": "Base URL cannot be empty.",
1785
1808
  "auth.error_empty_model_id": "Model name cannot be empty.",
1786
1809
  "auth.error_invalid_context_size": "Context size must be a number >= 4096.",
1810
+ "image.provider_title": "Select image service",
1811
+ "image.provider_hint": "Pick the API compatibility shape, then enter URL and key",
1812
+ "image.already_configured": "Image model already configured: {model} ({provider} · {url}) — continuing overwrites it; Esc cancels",
1813
+ "image.provider_openai": "OpenAI official",
1814
+ "image.provider_volcengine": "Doubao Seedream (Volcano Ark)",
1815
+ "image.provider_generic": "Custom service (OpenAI-compatible URL)",
1816
+ "image.input_url": "Enter image API base URL",
1817
+ "image.url_hint": "OpenAI-compatible gateway or relay URL, used exactly as typed (e.g. https://host/v1)",
1818
+ "image.input_key": "Enter image API key",
1819
+ "image.key_hint": "Saved to the local config file only; never appears in the conversation (Esc cancels)",
1820
+ "image.error_empty_url": "Image API URL cannot be empty.",
1821
+ "image.error_empty_key": "Image API key cannot be empty.",
1822
+ "image.input_model": "Enter image model ID",
1823
+ "image.model_hint": "Press Enter to keep the default gpt-image-2",
1824
+ "image.input_edit_url": "Enter image-edit base URL (optional)",
1825
+ "image.edit_url_hint": "Only needed when image editing uses a different service; Enter = same as text-to-image",
1826
+ "image.input_edit_model": "Enter image-edit model ID (optional)",
1827
+ "image.edit_model_hint": "Only needed for edit-specific models (e.g. xxx-edit); Enter = same as text-to-image",
1828
+ "image.checking": "Checking image API...",
1829
+ "image.check_ok": "Connectivity OK",
1830
+ "image.check_failed": "Connectivity check failed (config saved)",
1831
+ "image.check_model_missing": "Reachable, but the model was not listed (config saved)",
1832
+ "image.configured": "Image generation configured · {provider} · {model}",
1787
1833
  "like.priority": "User preferences set via /like have the highest priority and must be followed in every response.",
1788
1834
  "like.nickname": "Set nickname",
1789
1835
  "like.nickname_hint": "What should I call you? Leave empty to skip.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scream-code",
3
- "version": "0.17.0",
3
+ "version": "0.17.1",
4
4
  "description": "A terminal-native AI agent for builders",
5
5
  "license": "MIT",
6
6
  "author": "ScreamCli",