@fbincon/claude-code-statusline 3.15.0 → 3.16.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.
Files changed (55) hide show
  1. package/README.md +86 -84
  2. package/candidate.json +167 -93
  3. package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.d.ts +2 -2
  4. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/.claude-plugin/plugin.json +1 -1
  5. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/forms.ts +1 -1
  6. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/generated-contracts.ts +4 -4
  7. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/generated-locales.ts +10 -4
  8. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/de.ts +2315 -0
  9. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/es.ts +2315 -0
  10. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/fr.ts +2315 -0
  11. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/id.ts +2315 -0
  12. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/pt-BR.ts +2315 -0
  13. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/locales/ru.ts +2315 -0
  14. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/resource-manifest.json +14 -8
  15. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/help.ts +10 -1
  16. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/.claude-plugin/plugin.json +1 -1
  17. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/resource-manifest.json +3 -3
  18. package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.d.ts +3 -3
  19. package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.js +1 -1
  20. package/node_modules/@fbincon/statusline-core/dist/src/editor/forms.js +1 -1
  21. package/node_modules/@fbincon/statusline-core/dist/src/editor/forms.js.map +1 -1
  22. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.d.ts +4 -13890
  23. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js +13881 -3
  24. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js.map +1 -1
  25. package/node_modules/@fbincon/statusline-core/dist/src/i18n/registry.d.ts +1 -1
  26. package/node_modules/@fbincon/statusline-core/dist/src/i18n/registry.js +2 -2
  27. package/node_modules/@fbincon/statusline-core/dist/src/i18n/registry.js.map +1 -1
  28. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/de.d.ts +263 -0
  29. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/de.js +265 -0
  30. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/de.js.map +1 -0
  31. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/es.d.ts +263 -0
  32. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/es.js +265 -0
  33. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/es.js.map +1 -0
  34. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/fr.d.ts +263 -0
  35. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/fr.js +265 -0
  36. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/fr.js.map +1 -0
  37. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/id.d.ts +263 -0
  38. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/id.js +265 -0
  39. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/id.js.map +1 -0
  40. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/pt-BR.d.ts +263 -0
  41. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/pt-BR.js +265 -0
  42. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/pt-BR.js.map +1 -0
  43. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ru.d.ts +263 -0
  44. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ru.js +265 -0
  45. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ru.js.map +1 -0
  46. package/node_modules/@fbincon/statusline-core/dist/src/release.d.ts +1 -1
  47. package/node_modules/@fbincon/statusline-core/dist/src/release.js +1 -1
  48. package/node_modules/@fbincon/statusline-core/resources/i18n/languages.json +24 -0
  49. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/de.json +2313 -0
  50. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/es.json +2313 -0
  51. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/fr.json +2313 -0
  52. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/id.json +2313 -0
  53. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/pt-BR.json +2313 -0
  54. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ru.json +2313 -0
  55. package/package.json +2 -2
@@ -4,7 +4,7 @@ import type { Diagnose } from '../diagnostics/service.js';
4
4
  import * as contracts from '@fbincon/statusline-core/contracts/ui';
5
5
  import type { Draft } from '@fbincon/statusline-core/contracts/ui';
6
6
  import { ConfigurationService, type EffectiveConfig } from '../config/service.js';
7
- export declare const BACKEND_VERSION = "3.15.0";
7
+ export declare const BACKEND_VERSION = "3.16.0";
8
8
  export declare const OPERATIONS: readonly ["review_reuse", "package_execute_start", "package_execute_detach", "package_execute_status", "package_cleanup_review", "package_cleanup_apply", "source_inspect", "source_bindings_review", "source_bindings_cleanup", "source_draft", "package_status", "package_review_start", "package_review_status", "package_review_cancel", "sources_read", "sources_apply", "source_review", "source_context", "source_refresh", "source_status", "source_release", "source_cancel", "source_diagnose", "describe", "read", "preview", "apply", "import", "export", "preset", "read_ui_preferences", "set_ui_language", "review_import", "explain", "diagnose", "diagnose_file", "profiles_read", "profiles_apply", "profile_import", "profile_export", "task_details"];
9
9
  export type Preview = (draft: Draft, width: number, trace?: RenderTrace, scenario?: PreviewScenario) => contracts.PreviewResult;
10
10
  export declare function capabilities(version: readonly number[] | null): contracts.Capabilities;
@@ -202,7 +202,7 @@ export declare function configurationDescription(version: readonly number[] | nu
202
202
  readonly label: "Statusline language (save with display settings)";
203
203
  readonly group: "Appearance";
204
204
  readonly kind: "choice";
205
- readonly choices: readonly ["en", "zh-CN", "zh-TW", "zh-HK", "ja", "ko"];
205
+ readonly choices: readonly ["en", "zh-CN", "zh-TW", "zh-HK", "ja", "ko", "es", "fr", "de", "pt-BR", "ru", "id"];
206
206
  readonly minimum: 0;
207
207
  readonly maximum: 10000;
208
208
  readonly nullable: false;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "statusline-native",
3
- "version": "3.15.0",
3
+ "version": "3.16.0",
4
4
  "description": "In-session Client TUI for statusline configuration",
5
5
  "author": {
6
6
  "name": "fbincon"
@@ -39,7 +39,7 @@ export function fieldMessage(row: SettingRow, view: FormView) {
39
39
  }
40
40
  if (key.startsWith('break:'))
41
41
  return localizedText('layout.break_before', { item: view.editor!.instanceLabel('main', key.slice(6), view.language) });
42
- if (['reuse-style', 'reuse-groups', 'change-history'].includes(key)) return localizedText('settings.' + key);
42
+ if (['reuse-style', 'reuse-groups', 'change-history', 'profiles', 'package-management'].includes(key)) return localizedText('settings.' + key);
43
43
  return localizedText('native.settings.' + key);
44
44
  }
45
45
  export interface FormRow extends SettingRow {
@@ -1,5 +1,5 @@
1
1
  // Generated by tools/generation/resources.ts; do not edit.
2
- export const PROTOCOL_VERSION = 30 as const;
2
+ export const PROTOCOL_VERSION = 31 as const;
3
3
  export const ITEM_DEFAULTS = {"label": null, "icon": null, "priority": 50, "max_width": null, "formatting": {}, "foreground": null, "background": null, "visibility": "always", "visibility_threshold": 70};
4
4
  export const VISIBILITY_ITEMS = {"main": {"git": "git-dirty", "git-changes": "git-dirty", "active-agents": "nonzero", "task-progress": "nonzero", "context-used": "used-at-least", "context-remaining": "used-at-least", "five-hour-limit": "used-at-least", "weekly-limit": "used-at-least", "spend-limit": "used-at-least"}, "subagent": {"context-used": "used-at-least", "context-remaining": "used-at-least"}} as const;
5
5
  export const GUIDANCE_KEYS = {"source_kinds": ["configuration", "official_input", "local_git", "local_system", "transcript", "local_state", "lifecycle", "native_timing", "live_metrics", "telemetry"], "scopes": ["main", "main_context", "session", "all_sessions", "task", "subagent", "subagent_context", "repository", "local", "latest_request"], "requirements": ["observed_field", "subagent_rows", "agent_context", "configured_effort", "agent_effort_optional", "git_repository", "git_upstream", "git_base", "pull_request", "worktree_session", "usage_records", "task_observation", "native_timing", "complete_waits", "live_metrics", "owned_agents", "checklist_events", "tool_events", "complete_stream", "request_coverage", "existing_telemetry", "gateway", "gateway_284", "valid_window", "warm_cache", "fast_mode", "thinking", "agent_mode", "vim_mode", "context_observation", "cost_rate"]} as const;
@@ -101,7 +101,7 @@ export const EDITOR_FIELDS = {
101
101
  "label": "Statusline language (save with display settings)",
102
102
  "group": "Appearance",
103
103
  "kind": "choice",
104
- "choices": ["en", "zh-CN", "zh-TW", "zh-HK", "ja", "ko"],
104
+ "choices": ["en", "zh-CN", "zh-TW", "zh-HK", "ja", "ko", "es", "fr", "de", "pt-BR", "ru", "id"],
105
105
  "minimum": 0,
106
106
  "maximum": 10000,
107
107
  "nullable": false
@@ -491,7 +491,7 @@ export type VisibilityRule = "always" | "git-dirty" | "nonzero" | "used-at-least
491
491
  export type DirectoryStyle = "full" | "home" | "project-relative" | "basename";
492
492
  export type SeparatorStyle = "classic" | "compact" | "powerline";
493
493
  export type ScopeLabels = "off" | "when-subagents" | "always";
494
- export type StatuslineLanguage = "en" | "zh-CN" | "zh-TW" | "zh-HK" | "ja" | "ko";
494
+ export type StatuslineLanguage = "en" | "zh-CN" | "zh-TW" | "zh-HK" | "ja" | "ko" | "es" | "fr" | "de" | "pt-BR" | "ru" | "id";
495
495
  export type Scope = "main" | "subagent";
496
496
  export type UnavailableReason = "not_observed" | "unsupported_host" | "unknown_host_version" | "source_unavailable" | "condition_not_met" | "runtime_disabled" | "native_timing_disabled" | "wait_coverage_missing" | "stale" | "incomplete" | "ambiguous_owner" | "observed_only" | "missing_stream" | "synthetic_response" | "abnormal_clock" | "inconsistent_request" | "request_join_unavailable";
497
497
  export const MAIN_ITEM_IDS = ["model-with-effort", "model", "effort", "fast-mode", "thinking", "current-dir", "project-name", "hostname", "git", "git-branch", "git-changes", "git-ahead-behind", "branch-diff", "pr", "repo", "worktree", "context-remaining", "context-used", "context-window-size", "context-tokens", "five-hour-limit", "five-hour-reset", "weekly-limit", "weekly-reset", "spend-limit", "spend-amount", "spend-period", "tokens", "input-tokens", "output-tokens", "prompt-cache", "cache-state", "cache-expires", "cache-misses", "cache-miss-reason", "api-requests", "task-timer", "task-active-timer", "version", "session", "session-name", "session-id", "session-id-short", "output-style", "cost", "session-cost", "session-cost-rate", "session-duration", "api-duration", "lines-changed", "agent", "vim-mode", "run-state", "permission-mode", "active-agents", "task-progress", "last-tool", "ttft", "output-rate", "prompt-input-tokens", "prompt-output-tokens", "prompt-cost", "text", "spacer", "external-value", "github-pr", "github-ci"] as const;
@@ -503,7 +503,7 @@ export const VISIBILITYRULE_VALUES = ["always", "git-dirty", "nonzero", "used-at
503
503
  export const DIRECTORYSTYLE_VALUES = ["full", "home", "project-relative", "basename"] as const;
504
504
  export const SEPARATORSTYLE_VALUES = ["classic", "compact", "powerline"] as const;
505
505
  export const SCOPELABELS_VALUES = ["off", "when-subagents", "always"] as const;
506
- export const STATUSLINELANGUAGE_VALUES = ["en", "zh-CN", "zh-TW", "zh-HK", "ja", "ko"] as const;
506
+ export const STATUSLINELANGUAGE_VALUES = ["en", "zh-CN", "zh-TW", "zh-HK", "ja", "ko", "es", "fr", "de", "pt-BR", "ru", "id"] as const;
507
507
  export const UNAVAILABLEREASON_VALUES = ["not_observed", "unsupported_host", "unknown_host_version", "source_unavailable", "condition_not_met", "runtime_disabled", "native_timing_disabled", "wait_coverage_missing", "stale", "incomplete", "ambiguous_owner", "observed_only", "missing_stream", "synthetic_response", "abnormal_clock", "inconsistent_request", "request_join_unavailable"] as const;
508
508
  export const OPERATIONS = ['review_reuse', 'package_execute_start', 'package_execute_detach', 'package_execute_status', 'package_cleanup_review', 'package_cleanup_apply', 'source_inspect', 'source_bindings_review', 'source_bindings_cleanup', 'source_draft', 'package_status', 'package_review_start', 'package_review_status', 'package_review_cancel', 'sources_read', 'sources_apply', 'source_review', 'source_context', 'source_refresh', 'source_status', 'source_release', 'source_cancel', 'source_diagnose', 'describe', 'read', 'preview', 'apply', 'import', 'export', 'preset', 'read_ui_preferences', 'set_ui_language', 'review_import', 'explain', 'diagnose', 'diagnose_file', 'profiles_read', 'profiles_apply', 'profile_import', 'profile_export', 'task_details'] as const;
509
509
  export type Operation = typeof OPERATIONS[number];
@@ -1,7 +1,7 @@
1
1
  // Generated by tools/generation/resources.ts; do not edit.
2
- export const LANGUAGES = ["en", "zh-CN", "zh-TW", "zh-HK", "ja", "ko"] as const;
2
+ export const LANGUAGES = ["en", "zh-CN", "zh-TW", "zh-HK", "ja", "ko", "es", "fr", "de", "pt-BR", "ru", "id"] as const;
3
3
  export type Language = typeof LANGUAGES[number];
4
- export const LANGUAGE_NAMES: Record<Language, string> = {"en": "English", "zh-CN": "简体中文", "zh-TW": "繁體中文(台灣)", "zh-HK": "繁體中文(香港)", "ja": "日本語", "ko": "한국어"};
4
+ export const LANGUAGE_NAMES: Record<Language, string> = {"en": "English", "zh-CN": "简体中文", "zh-TW": "繁體中文(台灣)", "zh-HK": "繁體中文(香港)", "ja": "日本語", "ko": "한국어", "es": "Español", "fr": "Français", "de": "Deutsch", "pt-BR": "Português (Brasil)", "ru": "Русский", "id": "Bahasa Indonesia"};
5
5
  export const LANGUAGE_ALIASES: Readonly<Record<string, Language>> = {"zh-Hant": "zh-TW"};
6
6
  export function resolveLanguage(value: unknown): Language | null {
7
7
  const code = typeof value === "string" && Object.hasOwn(LANGUAGE_ALIASES, value) ? LANGUAGE_ALIASES[value] : value;
@@ -13,6 +13,12 @@ import { MESSAGES as locale2, FALLBACK_KEYS as fallback2 } from './locales/zh-TW
13
13
  import { MESSAGES as locale3, FALLBACK_KEYS as fallback3 } from './locales/zh-HK.ts';
14
14
  import { MESSAGES as locale4, FALLBACK_KEYS as fallback4 } from './locales/ja.ts';
15
15
  import { MESSAGES as locale5, FALLBACK_KEYS as fallback5 } from './locales/ko.ts';
16
- export const LOCALES = {"en":locale0,"zh-CN":locale1,"zh-TW":locale2,"zh-HK":locale3,"ja":locale4,"ko":locale5} as const;
16
+ import { MESSAGES as locale6, FALLBACK_KEYS as fallback6 } from './locales/es.ts';
17
+ import { MESSAGES as locale7, FALLBACK_KEYS as fallback7 } from './locales/fr.ts';
18
+ import { MESSAGES as locale8, FALLBACK_KEYS as fallback8 } from './locales/de.ts';
19
+ import { MESSAGES as locale9, FALLBACK_KEYS as fallback9 } from './locales/pt-BR.ts';
20
+ import { MESSAGES as locale10, FALLBACK_KEYS as fallback10 } from './locales/ru.ts';
21
+ import { MESSAGES as locale11, FALLBACK_KEYS as fallback11 } from './locales/id.ts';
22
+ export const LOCALES = {"en":locale0,"zh-CN":locale1,"zh-TW":locale2,"zh-HK":locale3,"ja":locale4,"ko":locale5,"es":locale6,"fr":locale7,"de":locale8,"pt-BR":locale9,"ru":locale10,"id":locale11} as const;
17
23
  export type MessageKey = keyof typeof LOCALES.en;
18
- export const FALLBACK_KEYS = {"en":fallback0,"zh-CN":fallback1,"zh-TW":fallback2,"zh-HK":fallback3,"ja":fallback4,"ko":fallback5} as const;
24
+ export const FALLBACK_KEYS = {"en":fallback0,"zh-CN":fallback1,"zh-TW":fallback2,"zh-HK":fallback3,"ja":fallback4,"ko":fallback5,"es":fallback6,"fr":fallback7,"de":fallback8,"pt-BR":fallback9,"ru":fallback10,"id":fallback11} as const;