opencode-tbot 0.1.20 → 0.1.21

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/plugin.js CHANGED
@@ -2144,14 +2144,14 @@ var SUPPORTED_BOT_LANGUAGES = [
2144
2144
  var EN_BOT_COPY = {
2145
2145
  locale: "en",
2146
2146
  commands: {
2147
- start: "Welcome and quick start",
2147
+ start: "Show welcome and quick start",
2148
2148
  status: "Show system status",
2149
2149
  new: "Create a new session",
2150
- agents: "View and switch agents",
2151
- sessions: "View and switch sessions",
2150
+ agents: "Show and switch agents",
2151
+ sessions: "Show and switch sessions",
2152
2152
  cancel: "Cancel rename or abort running request",
2153
- model: "View and switch models",
2154
- language: "View and switch language"
2153
+ model: "Show and switch models",
2154
+ language: "Show and switch language"
2155
2155
  },
2156
2156
  start: { lines: [
2157
2157
  "# Welcome to opencode-tbot",
@@ -2244,7 +2244,7 @@ var EN_BOT_COPY = {
2244
2244
  none: "No sessions available in the current project.",
2245
2245
  title: "Session List",
2246
2246
  actionTitle: "Session Actions",
2247
- chooseAction: "Choose what to do with this session.",
2247
+ chooseAction: "Choose an action for this session.",
2248
2248
  currentProject(worktree) {
2249
2249
  return `Current project: ${worktree}`;
2250
2250
  },
@@ -2270,7 +2270,7 @@ var EN_BOT_COPY = {
2270
2270
  },
2271
2271
  switchAction: "Switch",
2272
2272
  renameAction: "Rename",
2273
- backToList: "Back",
2273
+ backToList: "Back to list",
2274
2274
  expired: "The session is no longer available. Run /sessions again."
2275
2275
  },
2276
2276
  lsp: {
@@ -2343,20 +2343,20 @@ var EN_BOT_COPY = {
2343
2343
  expired: "The language option is no longer available. Run /language again.",
2344
2344
  labels: {
2345
2345
  en: "English",
2346
- "zh-CN": "Simplified Chinese",
2347
- ja: "Japanese"
2346
+ "zh-CN": "简体中文",
2347
+ ja: "日本語"
2348
2348
  }
2349
2349
  }
2350
2350
  };
2351
2351
  var ZH_CN_BOT_COPY = {
2352
2352
  locale: "zh-CN",
2353
2353
  commands: {
2354
- start: "查看欢迎与快速开始",
2354
+ start: "查看欢迎信息与快速开始",
2355
2355
  status: "查看系统状态",
2356
2356
  new: "新建会话",
2357
- agents: "查看并切换代理",
2357
+ agents: "查看并切换 Agent",
2358
2358
  sessions: "查看并切换会话",
2359
- cancel: "取消重命名或中止运行中的请求",
2359
+ cancel: "取消重命名或中止当前请求",
2360
2360
  model: "查看并切换模型",
2361
2361
  language: "查看并切换语言"
2362
2362
  },
@@ -2451,7 +2451,7 @@ var ZH_CN_BOT_COPY = {
2451
2451
  none: "当前项目下没有可用会话。",
2452
2452
  title: "会话列表",
2453
2453
  actionTitle: "会话操作",
2454
- chooseAction: "请选择对该会话执行的操作。",
2454
+ chooseAction: "请选择该会话的操作。",
2455
2455
  currentProject(worktree) {
2456
2456
  return `当前项目: ${worktree}`;
2457
2457
  },
@@ -2459,7 +2459,7 @@ var ZH_CN_BOT_COPY = {
2459
2459
  return `当前会话: ${session}`;
2460
2460
  },
2461
2461
  selectedSession(session) {
2462
- return `目标会话: ${session}`;
2462
+ return `已选会话: ${session}`;
2463
2463
  },
2464
2464
  switched: "会话已切换。",
2465
2465
  created: "会话已创建。",
@@ -2506,13 +2506,13 @@ var ZH_CN_BOT_COPY = {
2506
2506
  }
2507
2507
  },
2508
2508
  agents: {
2509
- none: "没有可用代理。",
2510
- title: "代理列表",
2509
+ none: "没有可用 Agent。",
2510
+ title: "Agent 列表",
2511
2511
  current(agent) {
2512
- return `当前代理: ${agent}`;
2512
+ return `当前 Agent: ${agent}`;
2513
2513
  },
2514
- switched: "代理已切换。",
2515
- expired: "该代理已不可用。请重新运行 /agents。"
2514
+ switched: "Agent 已切换。",
2515
+ expired: " Agent 已不可用。请重新运行 /agents。"
2516
2516
  },
2517
2517
  models: {
2518
2518
  none: "没有可用模型。",
@@ -2542,7 +2542,7 @@ var ZH_CN_BOT_COPY = {
2542
2542
  },
2543
2543
  language: {
2544
2544
  title: "语言",
2545
- choose: "选择机器人菜单和回复信息的显示语言。",
2545
+ choose: "选择 Bot 菜单和回复的显示语言。",
2546
2546
  current(label) {
2547
2547
  return `当前语言: ${label}`;
2548
2548
  },
@@ -2551,17 +2551,17 @@ var ZH_CN_BOT_COPY = {
2551
2551
  labels: {
2552
2552
  en: "English",
2553
2553
  "zh-CN": "简体中文",
2554
- ja: "日语"
2554
+ ja: "日本語"
2555
2555
  }
2556
2556
  }
2557
2557
  };
2558
2558
  var JA_BOT_COPY = {
2559
2559
  locale: "ja",
2560
2560
  commands: {
2561
- start: "ようこそ / クイックスタート",
2561
+ start: "ようこそとクイックスタートを表示",
2562
2562
  status: "システム状態を表示",
2563
2563
  new: "新しいセッションを作成",
2564
- agents: "agent を表示して切り替え",
2564
+ agents: "エージェントを表示して切り替え",
2565
2565
  sessions: "セッションを表示して切り替え",
2566
2566
  cancel: "名前変更を取り消すか実行中のリクエストを中止",
2567
2567
  model: "モデルを表示して切り替え",
@@ -2684,7 +2684,7 @@ var JA_BOT_COPY = {
2684
2684
  },
2685
2685
  switchAction: "切り替え",
2686
2686
  renameAction: "名前変更",
2687
- backToList: "戻る",
2687
+ backToList: "一覧に戻る",
2688
2688
  expired: "このセッションはもう利用できません。/sessions を再実行してください。"
2689
2689
  },
2690
2690
  lsp: {
@@ -2713,13 +2713,13 @@ var JA_BOT_COPY = {
2713
2713
  }
2714
2714
  },
2715
2715
  agents: {
2716
- none: "利用可能な agent はありません。",
2717
- title: "agent 一覧",
2716
+ none: "利用可能なエージェントはありません。",
2717
+ title: "エージェント一覧",
2718
2718
  current(agent) {
2719
- return `現在の agent: ${agent}`;
2719
+ return `現在のエージェント: ${agent}`;
2720
2720
  },
2721
- switched: "agent を切り替えました。",
2722
- expired: "この agent はもう利用できません。/agents を再実行してください。"
2721
+ switched: "エージェントを切り替えました。",
2722
+ expired: "このエージェントはもう利用できません。/agents を再実行してください。"
2723
2723
  },
2724
2724
  models: {
2725
2725
  none: "利用可能なモデルはありません。",
@@ -2749,7 +2749,7 @@ var JA_BOT_COPY = {
2749
2749
  },
2750
2750
  language: {
2751
2751
  title: "言語",
2752
- choose: "bot のメニューと返信に使う表示言語を選択してください。",
2752
+ choose: "Bot のメニューと返信に使う表示言語を選択してください。",
2753
2753
  current(label) {
2754
2754
  return `現在の言語: ${label}`;
2755
2755
  },
@@ -3147,10 +3147,6 @@ function presentStatusPlainLspLines(input, copy, layout) {
3147
3147
  return input.lsp.data.statuses.flatMap((status) => presentPlainStatusGroup(status.name, [{
3148
3148
  label: layout.statusLabel,
3149
3149
  value: formatLspStatusBadge(status)
3150
- }, {
3151
- codeValue: !!status.root,
3152
- label: layout.rootLabel,
3153
- value: status.root || "-"
3154
3150
  }]));
3155
3151
  }
3156
3152
  function presentStatusMarkdownLspLines(input, copy, layout) {
@@ -3159,10 +3155,6 @@ function presentStatusMarkdownLspLines(input, copy, layout) {
3159
3155
  return input.lsp.data.statuses.flatMap((status) => presentMarkdownStatusGroup(status.name, [{
3160
3156
  label: layout.statusLabel,
3161
3157
  value: formatLspStatusBadge(status)
3162
- }, {
3163
- codeValue: !!status.root,
3164
- label: layout.rootLabel,
3165
- value: status.root || "-"
3166
3158
  }]));
3167
3159
  }
3168
3160
  function presentStatusPlainMcpLines(input, copy, layout) {
@@ -3276,7 +3268,6 @@ function getStatusLayoutCopy(copy) {
3276
3268
  openCodeVersionLabel: "OpenCode Version",
3277
3269
  overviewTitle: "🖥️ Overview",
3278
3270
  pluginsTitle: "🧩 Plugins",
3279
- rootLabel: "Root",
3280
3271
  statusLabel: "Status",
3281
3272
  tbotVersionLabel: "opencode-tbot Version",
3282
3273
  workspaceTitle: "📁 Workspace"
@@ -3298,7 +3289,6 @@ function getStatusLayoutCopy(copy) {
3298
3289
  openCodeVersionLabel: "OpenCode バージョン",
3299
3290
  overviewTitle: "🖥️ 概要",
3300
3291
  pluginsTitle: "🧩 プラグイン",
3301
- rootLabel: "ルート",
3302
3292
  statusLabel: "状態",
3303
3293
  tbotVersionLabel: "opencode-tbot バージョン",
3304
3294
  workspaceTitle: "📁 ワークスペース"
@@ -3320,7 +3310,6 @@ function getStatusLayoutCopy(copy) {
3320
3310
  openCodeVersionLabel: "OpenCode版本",
3321
3311
  overviewTitle: "🖥️ 概览",
3322
3312
  pluginsTitle: "🧩 插件",
3323
- rootLabel: "根目录",
3324
3313
  statusLabel: "状态",
3325
3314
  tbotVersionLabel: "opencode-tbot版本",
3326
3315
  workspaceTitle: "📁 工作区"