@fbincon/claude-code-statusline 3.3.0 → 3.4.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 (106) hide show
  1. package/README.md +73 -70
  2. package/candidate.json +190 -139
  3. package/node_modules/@fbincon/statusline-cli/dist/src/config/profile-command.d.ts +12 -0
  4. package/node_modules/@fbincon/statusline-cli/dist/src/config/profile-command.js +101 -0
  5. package/node_modules/@fbincon/statusline-cli/dist/src/config/profile-command.js.map +1 -0
  6. package/node_modules/@fbincon/statusline-cli/dist/src/config/profiles.d.ts +54 -0
  7. package/node_modules/@fbincon/statusline-cli/dist/src/config/profiles.js +199 -0
  8. package/node_modules/@fbincon/statusline-cli/dist/src/config/profiles.js.map +1 -0
  9. package/node_modules/@fbincon/statusline-cli/dist/src/config/service.js +5 -1
  10. package/node_modules/@fbincon/statusline-cli/dist/src/config/service.js.map +1 -1
  11. package/node_modules/@fbincon/statusline-cli/dist/src/config/transfer.d.ts +1 -0
  12. package/node_modules/@fbincon/statusline-cli/dist/src/config/transfer.js +4 -1
  13. package/node_modules/@fbincon/statusline-cli/dist/src/config/transfer.js.map +1 -1
  14. package/node_modules/@fbincon/statusline-cli/dist/src/diagnostics/command.js +9 -2
  15. package/node_modules/@fbincon/statusline-cli/dist/src/diagnostics/command.js.map +1 -1
  16. package/node_modules/@fbincon/statusline-cli/dist/src/diagnostics/service.d.ts +8 -2
  17. package/node_modules/@fbincon/statusline-cli/dist/src/diagnostics/service.js +6 -3
  18. package/node_modules/@fbincon/statusline-cli/dist/src/diagnostics/service.js.map +1 -1
  19. package/node_modules/@fbincon/statusline-cli/dist/src/help.js +9 -0
  20. package/node_modules/@fbincon/statusline-cli/dist/src/help.js.map +1 -1
  21. package/node_modules/@fbincon/statusline-cli/dist/src/integration/configure.d.ts +2 -1
  22. package/node_modules/@fbincon/statusline-cli/dist/src/integration/configure.js +3 -1
  23. package/node_modules/@fbincon/statusline-cli/dist/src/integration/configure.js.map +1 -1
  24. package/node_modules/@fbincon/statusline-cli/dist/src/integration/install.js +4 -1
  25. package/node_modules/@fbincon/statusline-cli/dist/src/integration/install.js.map +1 -1
  26. package/node_modules/@fbincon/statusline-cli/dist/src/main.js +30 -8
  27. package/node_modules/@fbincon/statusline-cli/dist/src/main.js.map +1 -1
  28. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/journal.js +1 -1
  29. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/journal.js.map +1 -1
  30. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/configuration.d.ts +12 -0
  31. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/configuration.js +59 -0
  32. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/configuration.js.map +1 -0
  33. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/main.js +15 -2
  34. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/main.js.map +1 -1
  35. package/node_modules/@fbincon/statusline-cli/dist/src/tasks/command.d.ts +3 -0
  36. package/node_modules/@fbincon/statusline-cli/dist/src/tasks/command.js +25 -0
  37. package/node_modules/@fbincon/statusline-cli/dist/src/tasks/command.js.map +1 -0
  38. package/node_modules/@fbincon/statusline-cli/dist/src/tasks/service.d.ts +4 -0
  39. package/node_modules/@fbincon/statusline-cli/dist/src/tasks/service.js +93 -0
  40. package/node_modules/@fbincon/statusline-cli/dist/src/tasks/service.js.map +1 -0
  41. package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.d.ts +5 -3
  42. package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.js +33 -8
  43. package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.js.map +1 -1
  44. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/.claude-plugin/plugin.json +1 -1
  45. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/hooks/register.ts +89 -3
  46. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/backend.ts +54 -4
  47. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/keys.ts +8 -1
  48. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/settings.ts +1 -0
  49. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/draft.ts +2 -0
  50. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/profile-manager.ts +239 -0
  51. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/task-detail.ts +27 -0
  52. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/generated-contracts.ts +53 -3
  53. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/generated-locales.ts +768 -6
  54. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/session.ts +2 -1
  55. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/resource-manifest.json +16 -14
  56. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/draw.ts +6 -2
  57. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/help.ts +1 -0
  58. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/.claude-plugin/plugin.json +1 -1
  59. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/resource-manifest.json +3 -3
  60. package/node_modules/@fbincon/statusline-core/dist/src/config/profiles.d.ts +16 -0
  61. package/node_modules/@fbincon/statusline-core/dist/src/config/profiles.js +69 -0
  62. package/node_modules/@fbincon/statusline-core/dist/src/config/profiles.js.map +1 -0
  63. package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.d.ts +82 -3
  64. package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.js +1 -1
  65. package/node_modules/@fbincon/statusline-core/dist/src/editor/backend.js +71 -4
  66. package/node_modules/@fbincon/statusline-core/dist/src/editor/backend.js.map +1 -1
  67. package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.d.ts +2 -0
  68. package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.js +1 -0
  69. package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.js.map +1 -1
  70. package/node_modules/@fbincon/statusline-core/dist/src/editor/profile-manager.d.ts +60 -0
  71. package/node_modules/@fbincon/statusline-core/dist/src/editor/profile-manager.js +330 -0
  72. package/node_modules/@fbincon/statusline-core/dist/src/editor/profile-manager.js.map +1 -0
  73. package/node_modules/@fbincon/statusline-core/dist/src/editor/task-detail.d.ts +4 -0
  74. package/node_modules/@fbincon/statusline-core/dist/src/editor/task-detail.js +25 -0
  75. package/node_modules/@fbincon/statusline-core/dist/src/editor/task-detail.js.map +1 -0
  76. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.d.ts +762 -0
  77. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js +768 -6
  78. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js.map +1 -1
  79. package/node_modules/@fbincon/statusline-core/dist/src/release.d.ts +1 -1
  80. package/node_modules/@fbincon/statusline-core/dist/src/release.js +1 -1
  81. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/details.d.ts +24 -0
  82. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/details.js +153 -0
  83. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/details.js.map +1 -0
  84. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/en.json +128 -1
  85. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ja.json +128 -1
  86. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ko.json +128 -1
  87. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-CN.json +128 -1
  88. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-HK.json +128 -1
  89. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-TW.json +128 -1
  90. package/node_modules/@fbincon/statusline-platform/dist/src/project-paths.d.ts +8 -0
  91. package/node_modules/@fbincon/statusline-platform/dist/src/project-paths.js +41 -0
  92. package/node_modules/@fbincon/statusline-platform/dist/src/project-paths.js.map +1 -0
  93. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/pages.js +5 -0
  94. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/pages.js.map +1 -1
  95. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/presentation.js +2 -0
  96. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/presentation.js.map +1 -1
  97. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/shortcuts.js +2 -0
  98. package/node_modules/@fbincon/statusline-tui/dist/src/drawing/shortcuts.js.map +1 -1
  99. package/node_modules/@fbincon/statusline-tui/dist/src/drawing.js +3 -2
  100. package/node_modules/@fbincon/statusline-tui/dist/src/drawing.js.map +1 -1
  101. package/node_modules/@fbincon/statusline-tui/dist/src/session.js +7 -3
  102. package/node_modules/@fbincon/statusline-tui/dist/src/session.js.map +1 -1
  103. package/node_modules/@fbincon/statusline-tui/dist/src/state.d.ts +1 -1
  104. package/node_modules/@fbincon/statusline-tui/dist/src/state.js +18 -2
  105. package/node_modules/@fbincon/statusline-tui/dist/src/state.js.map +1 -1
  106. package/package.json +1 -1
@@ -1505,5 +1505,132 @@
1505
1505
  "diagnose.error.required": "--input FILE 또는 --input -를 지정하세요.",
1506
1506
  "diagnose.error.file": "입력 파일이 없습니다: {value}",
1507
1507
  "diagnose.error.size": "진단 입력이 32 MiB를 초과합니다.",
1508
- "diagnose.error.read": "진단 입력을 읽을 수 없습니다."
1508
+ "diagnose.error.read": "진단 입력을 읽을 수 없습니다.",
1509
+ "profiles.title": "표시 프로필 및 프로젝트",
1510
+ "profiles.user": "사용자 기본값",
1511
+ "profiles.target": "편집: {name} · 루트 {root} · 연결 {count}개",
1512
+ "profiles.resolution": "프로필: {name}; 루트: {root}; 선택 이유: {reason}",
1513
+ "profiles.empty": "저장된 항목이 없습니다.",
1514
+ "profiles.sample": "샘플 미리 보기 · 선택만으로 저장되지 않습니다",
1515
+ "profiles.saved": "저장했습니다. 현재 편집 초안은 유지됩니다.",
1516
+ "profiles.unchanged": "변경 사항이 없습니다.",
1517
+ "profiles.loading": "불러오는 중…",
1518
+ "profiles.refresh": "새로 고침",
1519
+ "profiles.required": "값을 입력하세요.",
1520
+ "profiles.field.name": "이름",
1521
+ "profiles.field.path": "경로",
1522
+ "profiles.form_help": "Enter 다음/검토 · Tab 필드 · Ctrl+G 뒤로",
1523
+ "profiles.navigation": "↑↓ 선택 · Enter 열기/확인 · R 새로 고침 · Ctrl+G 뒤로",
1524
+ "profiles.confirm": "이 변경 사항 저장",
1525
+ "profiles.cancel": "취소",
1526
+ "profiles.save": "초안을 저장하고 전환",
1527
+ "profiles.discard": "초안을 버리고 전환",
1528
+ "profiles.dirty": "저장하지 않은 변경 사항이 있습니다. 전환 방법을 선택하세요.",
1529
+ "profiles.shared": "저장하면 연결된 프로젝트 {count}개에 이 프로필의 변경 사항이 적용됩니다.",
1530
+ "profiles.import_review": "표시 설정만 가져왔습니다. 샘플을 검토한 후 이름을 지정해 저장하세요.",
1531
+ "profiles.overwrite": "기존 항목이 있습니다. 덮어쓰기를 확인하거나 취소하세요.",
1532
+ "profiles.uncertain": "저장 결과를 알 수 없습니다. R을 눌러 저장된 상태를 확인하세요.",
1533
+ "profiles.review_saved": "저장된 상태를 다시 불러왔습니다. 다시 변경하기 전에 확인하세요. 초안은 유지됩니다.",
1534
+ "profiles.invalid_draft": "잘못된 필드를 수정한 후 저장하세요.",
1535
+ "profiles.failed": "작업 실패: {value}",
1536
+ "profiles.help": "프로필에는 표시 설정만 포함됩니다. 기본값으로 활성화하면 복사본을 만들고, 프로젝트에 연결하면 프로필을 공유합니다.",
1537
+ "profiles.action.edit": "선택한 프로필 편집",
1538
+ "profiles.action.activate": "기본 초안으로 불러오기 · 저장 후 적용",
1539
+ "profiles.action.save": "현재 표시를 다른 이름으로 저장…",
1540
+ "profiles.action.save_bind": "현재 표시를 다른 이름으로 저장하고 연결…",
1541
+ "profiles.action.rename": "선택한 프로필 이름 바꾸기",
1542
+ "profiles.action.delete": "선택한 프로필 삭제",
1543
+ "profiles.action.bind": "프로젝트를 선택한 프로필에 연결",
1544
+ "profiles.action.unbind": "프로젝트 연결 해제",
1545
+ "profiles.action.import": "표시 프로필 가져오기",
1546
+ "profiles.action.export": "선택한 프로필 내보내기",
1547
+ "profiles.error.name": "이름은 제어 문자 없이 1~128자로 입력하세요.",
1548
+ "profiles.error.invalid": "프로필 모음 또는 요청이 잘못되었습니다. 기존 파일은 유지됩니다.",
1549
+ "profiles.error.duplicate": "프로필 {value}이(가) 이미 있습니다. 덮어쓰기를 명시적으로 확인하세요.",
1550
+ "profiles.error.missing": "프로필을 찾을 수 없습니다: {value}",
1551
+ "profiles.error.format": "버전 1 표시 프로필 파일이 필요합니다. 포터블 설정 파일과는 별도 형식입니다.",
1552
+ "profiles.error.conflict": "다른 작업에서 설정을 변경했습니다. 다시 불러와 검토한 후 저장하세요.",
1553
+ "profiles.error.path": "존재하는 프로젝트 디렉터리를 선택하세요.",
1554
+ "profiles.error.bound": "프로젝트 {value}은(는) 다른 프로필에 연결되어 있습니다. 교체를 명시적으로 확인하세요.",
1555
+ "profiles.error.referenced": "프로필 {value}을(를) 삭제하기 전에 프로젝트 연결을 해제하세요.",
1556
+ "profiles.error.size": "프로필 파일 또는 모음의 크기가 지원 한도를 초과했습니다.",
1557
+ "profiles.error.file": "프로필 파일을 읽을 수 없습니다: {value}",
1558
+ "profiles.error.width": "미리 보기 너비는 2~10000 사이의 정수여야 합니다.",
1559
+ "profiles.reason.user_default": "사용자 기본값",
1560
+ "profiles.reason.profile": "일치하는 프로필",
1561
+ "profiles.reason.unbound": "연결 없음 · 사용자 기본값 사용",
1562
+ "profiles.reason.path_unavailable": "디렉터리 확인 불가 · 사용자 기본값 사용",
1563
+ "profiles.reason.missing_profile": "연결된 프로필 없음 · 사용자 기본값 사용",
1564
+ "profiles.reason.ambiguous_binding": "경로 연결 충돌 · 사용자 기본값 사용",
1565
+ "profiles.reason.invalid_collection": "프로필 모음 오류 · 사용자 기본값 사용",
1566
+ "task.title": "작업 상세",
1567
+ "task.unknown": "알 수 없음",
1568
+ "task.close": "닫기",
1569
+ "task.readonly": "읽기 전용 · 필요할 때 새로 고침",
1570
+ "task.session": "세션: {value}",
1571
+ "task.prompt": "작업 ID: {value}",
1572
+ "task.captured": "읽은 시각: {value}",
1573
+ "task.status": "관측된 상태: {value}; 단계: {phase}",
1574
+ "task.elapsed": "작업 총 시간: {value}",
1575
+ "task.active": "증거로 확인된 활성 시간: {value}",
1576
+ "task.progress": "체크리스트 완료 / 전체: {value}",
1577
+ "task.agents": "소속을 확인할 수 있는 에이전트",
1578
+ "task.sources": "증거 및 확인 범위",
1579
+ "task.evidence": "{source} · {scope} · {status} · {time} · {freshness}",
1580
+ "task.fallback": "Claude 터미널에서 열거나 claude-statusline task show --session-id ID를 실행하세요.",
1581
+ "task.help": "지정한 세션의 기존 관측 정보를 읽습니다. 수집이나 상태 복구는 수행하지 않습니다.",
1582
+ "task.error.input": "유효한 세션 ID와 선택적으로 프롬프트 ID 또는 에이전트 스냅샷을 제공하세요.",
1583
+ "task.limit.independent_snapshots": "각 출처는 독립된 스냅샷이며, 한 시점의 완전한 기록이 아닙니다.",
1584
+ "task.limit.ambiguous_current_task": "현재 작업 참조가 서로 다릅니다. 작업을 추측하지 않았습니다.",
1585
+ "task.limit.no_current_task": "명확한 현재 작업이 관측되지 않았습니다.",
1586
+ "task.limit.ambiguous_owner": "작업 또는 에이전트의 소속이 불명확합니다.",
1587
+ "task.limit.missing_start": "작업 시작이 관측되지 않았습니다.",
1588
+ "task.limit.elapsed_unavailable": "현재 증거로 총 시간을 확인할 수 없습니다.",
1589
+ "task.limit.parent_not_observed": "일부 상위 에이전트 관계가 관측되지 않았습니다.",
1590
+ "task.limit.ambiguous_parent": "일치하지 않는 상위 정보로 계층을 구성하지 않았습니다.",
1591
+ "settings.profiles": "표시 프로필 및 프로젝트",
1592
+ "ui.actions.profiles": "표시 프로필 및 프로젝트",
1593
+ "cli.help.display_profiles": "표시 프로필 및 프로젝트",
1594
+ "cli.help.project_bindings": "표시 프로필 및 프로젝트",
1595
+ "cli.help.task_details": "작업 상세",
1596
+ "task.value.observed": "관측됨",
1597
+ "task.value.not_observed": "관측되지 않음",
1598
+ "task.value.partial": "부분 관측",
1599
+ "task.value.stale": "오래된 관측",
1600
+ "task.value.invalid_field": "잘못된 필드",
1601
+ "task.value.session_mismatch": "세션 또는 대화 기록 불일치",
1602
+ "task.value.source_unavailable": "소스 사용 불가",
1603
+ "task.value.newer_than_input": "입력보다 나중 관측",
1604
+ "task.value.association_unavailable": "연결 확인 불가",
1605
+ "task.value.prompt_mismatch": "프롬프트 불일치",
1606
+ "task.value.current": "소스 최신성 기준 내",
1607
+ "task.value.unknown": "알 수 없음",
1608
+ "task.limit.native_timing_disabled": "네이티브 시간 측정 꺼짐",
1609
+ "task.value.native_timing_disabled": "네이티브 시간 측정 꺼짐",
1610
+ "task.limit.runtime_disabled": "실시간 지표 꺼짐",
1611
+ "task.value.runtime_disabled": "실시간 지표 꺼짐",
1612
+ "task.limit.incomplete": "확인 범위 불완전",
1613
+ "task.value.incomplete": "확인 범위 불완전",
1614
+ "task.limit.abnormal_clock": "시계 증거를 신뢰할 수 없음",
1615
+ "task.value.abnormal_clock": "시계 증거를 신뢰할 수 없음",
1616
+ "task.limit.not_observed": "관측되지 않음",
1617
+ "task.limit.stale": "오래된 관측",
1618
+ "task.limit.wait_coverage_missing": "대기 증거 불완전",
1619
+ "task.value.wait_coverage_missing": "대기 증거 불완전",
1620
+ "task.limit.task_not_observed": "관측되지 않음",
1621
+ "task.value.running": "실행 중",
1622
+ "task.value.waiting": "대기 중",
1623
+ "task.value.completed": "완료",
1624
+ "task.value.failed": "실패",
1625
+ "task.value.interrupted": "중단됨",
1626
+ "task.value.pending": "대기",
1627
+ "task.value.idle": "유휴",
1628
+ "task.value.killed": "중지됨",
1629
+ "task.value.main": "주 실행",
1630
+ "task.value.waiting_subagents": "에이전트 대기",
1631
+ "task.value.resuming_main": "주 작업 마무리",
1632
+ "task.value.stop_pending": "중지 확인 대기",
1633
+ "task.value.queued": "대기열",
1634
+ "task.value.waiting agents": "에이전트 대기",
1635
+ "task.value.main wrap-up": "주 작업 마무리"
1509
1636
  }
@@ -1505,5 +1505,132 @@
1505
1505
  "diagnose.error.required": "请提供 --input 文件 或 --input -。",
1506
1506
  "diagnose.error.file": "输入文件不存在:{value}",
1507
1507
  "diagnose.error.size": "诊断输入超过 32 MiB。",
1508
- "diagnose.error.read": "无法读取诊断输入。"
1508
+ "diagnose.error.read": "无法读取诊断输入。",
1509
+ "profiles.title": "显示方案与项目",
1510
+ "profiles.user": "用户默认",
1511
+ "profiles.target": "编辑:{name} · 根目录 {root} · {count} 个绑定",
1512
+ "profiles.resolution": "方案:{name};根目录:{root};选择原因:{reason}",
1513
+ "profiles.empty": "尚无保存记录。",
1514
+ "profiles.sample": "示例预览 · 选择不会保存",
1515
+ "profiles.saved": "已保存,当前编辑草稿保留。",
1516
+ "profiles.unchanged": "已是当前状态。",
1517
+ "profiles.loading": "正在读取…",
1518
+ "profiles.refresh": "刷新",
1519
+ "profiles.required": "请输入非空内容。",
1520
+ "profiles.field.name": "名称",
1521
+ "profiles.field.path": "路径",
1522
+ "profiles.form_help": "Enter 下一项/审阅 · Tab 字段 · Ctrl+G 返回",
1523
+ "profiles.navigation": "↑↓ 选择 · Enter 打开/确认 · R 刷新 · Ctrl+G 返回",
1524
+ "profiles.confirm": "保存这项更改",
1525
+ "profiles.cancel": "取消",
1526
+ "profiles.save": "保存草稿后切换",
1527
+ "profiles.discard": "放弃草稿后切换",
1528
+ "profiles.dirty": "存在未保存修改,请选择切换方式。",
1529
+ "profiles.shared": "保存编辑会为 {count} 个绑定项目更新此方案。",
1530
+ "profiles.import_review": "仅导入显示设置。请审阅示例,再命名保存。",
1531
+ "profiles.overwrite": "目标已存在,请明确确认覆盖或取消。",
1532
+ "profiles.uncertain": "保存结果未知,请按 R 读取已保存状态后再继续。",
1533
+ "profiles.review_saved": "已重新读取保存状态,请核对后再修改;草稿保留。",
1534
+ "profiles.invalid_draft": "请修正无效字段后再保存。",
1535
+ "profiles.failed": "操作失败:{value}",
1536
+ "profiles.help": "方案仅包含显示设置;激活会复制为用户默认快照,项目绑定则共享方案。",
1537
+ "profiles.action.edit": "编辑所选方案",
1538
+ "profiles.action.activate": "载入默认草稿,保存后生效",
1539
+ "profiles.action.save": "当前显示另存为…",
1540
+ "profiles.action.save_bind": "当前显示另存为并绑定…",
1541
+ "profiles.action.rename": "重命名所选方案",
1542
+ "profiles.action.delete": "删除所选方案",
1543
+ "profiles.action.bind": "项目绑定到所选方案",
1544
+ "profiles.action.unbind": "解除项目绑定",
1545
+ "profiles.action.import": "导入显示方案",
1546
+ "profiles.action.export": "导出所选方案",
1547
+ "profiles.error.name": "名称须为 1–128 个字符,不能含控制字符。",
1548
+ "profiles.error.invalid": "方案库或请求无效;原文件保留。",
1549
+ "profiles.error.duplicate": "方案 {value} 已存在,须明确确认覆盖。",
1550
+ "profiles.error.missing": "找不到方案:{value}",
1551
+ "profiles.error.format": "需要版本 1 的单显示方案文件,不能使用 portable 整体配置包。",
1552
+ "profiles.error.conflict": "配置已被并发修改,请重新读取并核对后保存。",
1553
+ "profiles.error.path": "请选择存在的项目目录。",
1554
+ "profiles.error.bound": "项目 {value} 已绑定其他方案,须明确确认替换。",
1555
+ "profiles.error.referenced": "方案 {value} 被项目引用,请先解绑再删除。",
1556
+ "profiles.error.size": "方案文件或方案库超过支持的大小。",
1557
+ "profiles.error.file": "无法读取方案文件:{value}",
1558
+ "profiles.error.width": "预览宽度须为 2–10000 的整数。",
1559
+ "profiles.reason.user_default": "用户默认",
1560
+ "profiles.reason.profile": "匹配方案",
1561
+ "profiles.reason.unbound": "未绑定项目,使用用户默认",
1562
+ "profiles.reason.path_unavailable": "目录不可用,使用用户默认",
1563
+ "profiles.reason.missing_profile": "绑定方案缺失,使用用户默认",
1564
+ "profiles.reason.ambiguous_binding": "路径绑定冲突,使用用户默认",
1565
+ "profiles.reason.invalid_collection": "方案库无效,使用用户默认",
1566
+ "task.title": "任务详情",
1567
+ "task.unknown": "未知",
1568
+ "task.close": "关闭",
1569
+ "task.readonly": "只读 · 按需刷新",
1570
+ "task.session": "会话:{value}",
1571
+ "task.prompt": "任务标识:{value}",
1572
+ "task.captured": "读取时间:{value}",
1573
+ "task.status": "观测状态:{value};阶段:{phase}",
1574
+ "task.elapsed": "任务总耗时:{value}",
1575
+ "task.active": "有证据支持的活跃耗时:{value}",
1576
+ "task.progress": "清单完成数/总数:{value}",
1577
+ "task.agents": "可归属代理",
1578
+ "task.sources": "证据与覆盖范围",
1579
+ "task.evidence": "{source} · {scope} · {status} · {time} · {freshness}",
1580
+ "task.fallback": "请在 Claude 终端打开,或运行 claude-statusline task show --session-id ID。",
1581
+ "task.help": "读取指定会话的既有观测,不采集或修复状态。",
1582
+ "task.error.input": "请提供有效会话 ID,以及可选的 prompt ID 或代理快照。",
1583
+ "task.limit.independent_snapshots": "来源是独立快照,不代表原子快照或完整历史。",
1584
+ "task.limit.ambiguous_current_task": "当前任务指针不一致,未猜测任务归属。",
1585
+ "task.limit.no_current_task": "未观测到明确的当前任务。",
1586
+ "task.limit.ambiguous_owner": "任务或代理归属不明确。",
1587
+ "task.limit.missing_start": "未观测到任务开始。",
1588
+ "task.limit.elapsed_unavailable": "现有证据不足以提供总耗时。",
1589
+ "task.limit.parent_not_observed": "部分父代理关系未被观测。",
1590
+ "task.limit.ambiguous_parent": "不一致的父节点元数据未用于构建层级。",
1591
+ "settings.profiles": "显示方案与项目",
1592
+ "ui.actions.profiles": "显示方案与项目",
1593
+ "cli.help.display_profiles": "显示方案与项目",
1594
+ "cli.help.project_bindings": "显示方案与项目",
1595
+ "cli.help.task_details": "任务详情",
1596
+ "task.value.observed": "已观测",
1597
+ "task.value.not_observed": "未观测到",
1598
+ "task.value.partial": "部分覆盖",
1599
+ "task.value.stale": "已陈旧",
1600
+ "task.value.invalid_field": "字段无效",
1601
+ "task.value.session_mismatch": "会话或转录不匹配",
1602
+ "task.value.source_unavailable": "来源不可用",
1603
+ "task.value.newer_than_input": "观测晚于输入",
1604
+ "task.value.association_unavailable": "无法建立关联",
1605
+ "task.value.prompt_mismatch": "prompt 不匹配",
1606
+ "task.value.current": "符合来源时效规则",
1607
+ "task.value.unknown": "未知",
1608
+ "task.limit.native_timing_disabled": "原生计时已关闭",
1609
+ "task.value.native_timing_disabled": "原生计时已关闭",
1610
+ "task.limit.runtime_disabled": "实时指标已关闭",
1611
+ "task.value.runtime_disabled": "实时指标已关闭",
1612
+ "task.limit.incomplete": "覆盖不完整",
1613
+ "task.value.incomplete": "覆盖不完整",
1614
+ "task.limit.abnormal_clock": "时钟证据不可靠",
1615
+ "task.value.abnormal_clock": "时钟证据不可靠",
1616
+ "task.limit.not_observed": "未观测到",
1617
+ "task.limit.stale": "已陈旧",
1618
+ "task.limit.wait_coverage_missing": "等待证据不完整",
1619
+ "task.value.wait_coverage_missing": "等待证据不完整",
1620
+ "task.limit.task_not_observed": "未观测到",
1621
+ "task.value.running": "运行中",
1622
+ "task.value.waiting": "等待中",
1623
+ "task.value.completed": "已完成",
1624
+ "task.value.failed": "失败",
1625
+ "task.value.interrupted": "已中断",
1626
+ "task.value.pending": "待执行",
1627
+ "task.value.idle": "空闲",
1628
+ "task.value.killed": "已停止",
1629
+ "task.value.main": "主执行",
1630
+ "task.value.waiting_subagents": "等待代理",
1631
+ "task.value.resuming_main": "主任务收尾",
1632
+ "task.value.stop_pending": "等待停止确认",
1633
+ "task.value.queued": "排队中",
1634
+ "task.value.waiting agents": "等待代理",
1635
+ "task.value.main wrap-up": "主任务收尾"
1509
1636
  }
@@ -1505,5 +1505,132 @@
1505
1505
  "diagnose.error.required": "請提供 --input 檔案 或 --input -。",
1506
1506
  "diagnose.error.file": "輸入檔案不存在:{value}",
1507
1507
  "diagnose.error.size": "診斷輸入超過 32 MiB。",
1508
- "diagnose.error.read": "無法讀取診斷輸入。"
1508
+ "diagnose.error.read": "無法讀取診斷輸入。",
1509
+ "profiles.title": "顯示方案與專案",
1510
+ "profiles.user": "使用者預設",
1511
+ "profiles.target": "編輯:{name} · 根目錄 {root} · {count} 個綁定",
1512
+ "profiles.resolution": "方案:{name};根目錄:{root};選擇原因:{reason}",
1513
+ "profiles.empty": "尚無儲存記錄。",
1514
+ "profiles.sample": "範例預覽 · 選擇不會儲存",
1515
+ "profiles.saved": "已儲存,目前編輯草稿保留。",
1516
+ "profiles.unchanged": "已是目前狀態。",
1517
+ "profiles.loading": "正在讀取…",
1518
+ "profiles.refresh": "重新整理",
1519
+ "profiles.required": "請輸入非空內容。",
1520
+ "profiles.field.name": "名稱",
1521
+ "profiles.field.path": "路徑",
1522
+ "profiles.form_help": "Enter 下一項/檢閱 · Tab 欄位 · Ctrl+G 返回",
1523
+ "profiles.navigation": "↑↓ 選擇 · Enter 開啟/確認 · R 重新整理 · Ctrl+G 返回",
1524
+ "profiles.confirm": "儲存這項變更",
1525
+ "profiles.cancel": "取消",
1526
+ "profiles.save": "儲存草稿後切換",
1527
+ "profiles.discard": "捨棄草稿後切換",
1528
+ "profiles.dirty": "有未儲存修改,請選擇切換方式。",
1529
+ "profiles.shared": "儲存編輯會為 {count} 個綁定專案更新此方案。",
1530
+ "profiles.import_review": "僅匯入顯示設定。請檢閱範例,再命名儲存。",
1531
+ "profiles.overwrite": "目標已存在,請明確確認覆寫或取消。",
1532
+ "profiles.uncertain": "儲存結果未知,請按 R 讀取已儲存狀態後再繼續。",
1533
+ "profiles.review_saved": "已重新讀取儲存狀態,請核對後再修改;草稿保留。",
1534
+ "profiles.invalid_draft": "請修正無效欄位後再儲存。",
1535
+ "profiles.failed": "操作失敗:{value}",
1536
+ "profiles.help": "方案僅包含顯示設定;啟用會複製為使用者預設快照,專案綁定則共用方案。",
1537
+ "profiles.action.edit": "編輯所選方案",
1538
+ "profiles.action.activate": "載入預設草稿,儲存後生效",
1539
+ "profiles.action.save": "目前顯示另存為…",
1540
+ "profiles.action.save_bind": "目前顯示另存為並綁定…",
1541
+ "profiles.action.rename": "重新命名所選方案",
1542
+ "profiles.action.delete": "刪除所選方案",
1543
+ "profiles.action.bind": "專案綁定到所選方案",
1544
+ "profiles.action.unbind": "解除專案綁定",
1545
+ "profiles.action.import": "匯入顯示方案",
1546
+ "profiles.action.export": "匯出所選方案",
1547
+ "profiles.error.name": "名稱須為 1–128 個字元,不可含控制字元。",
1548
+ "profiles.error.invalid": "方案庫或請求無效;原檔案保留。",
1549
+ "profiles.error.duplicate": "方案 {value} 已存在,須明確確認覆寫。",
1550
+ "profiles.error.missing": "找不到方案:{value}",
1551
+ "profiles.error.format": "需要版本 1 的單顯示方案檔,不能使用 portable 整體設定包。",
1552
+ "profiles.error.conflict": "設定已被同時修改,請重新讀取並核對後儲存。",
1553
+ "profiles.error.path": "請選擇存在的專案目錄。",
1554
+ "profiles.error.bound": "專案 {value} 已綁定其他方案,須明確確認取代。",
1555
+ "profiles.error.referenced": "方案 {value} 被專案引用,請先解除綁定再刪除。",
1556
+ "profiles.error.size": "方案檔或方案庫超過支援的大小。",
1557
+ "profiles.error.file": "無法讀取方案檔:{value}",
1558
+ "profiles.error.width": "預覽寬度須為 2–10000 的整數。",
1559
+ "profiles.reason.user_default": "使用者預設",
1560
+ "profiles.reason.profile": "符合方案",
1561
+ "profiles.reason.unbound": "未綁定專案,使用使用者預設",
1562
+ "profiles.reason.path_unavailable": "目錄無法使用,使用使用者預設",
1563
+ "profiles.reason.missing_profile": "綁定方案缺失,使用使用者預設",
1564
+ "profiles.reason.ambiguous_binding": "路徑綁定衝突,使用使用者預設",
1565
+ "profiles.reason.invalid_collection": "方案庫無效,使用使用者預設",
1566
+ "task.title": "任務詳情",
1567
+ "task.unknown": "未知",
1568
+ "task.close": "關閉",
1569
+ "task.readonly": "唯讀 · 按需重新整理",
1570
+ "task.session": "工作階段:{value}",
1571
+ "task.prompt": "任務識別:{value}",
1572
+ "task.captured": "讀取時間:{value}",
1573
+ "task.status": "觀測狀態:{value};階段:{phase}",
1574
+ "task.elapsed": "任務總耗時:{value}",
1575
+ "task.active": "有證據支持的活躍耗時:{value}",
1576
+ "task.progress": "清單完成數/總數:{value}",
1577
+ "task.agents": "可歸屬代理",
1578
+ "task.sources": "證據與涵蓋範圍",
1579
+ "task.evidence": "{source} · {scope} · {status} · {time} · {freshness}",
1580
+ "task.fallback": "請在 Claude 終端開啟,或執行 claude-statusline task show --session-id ID。",
1581
+ "task.help": "讀取指定工作階段的既有觀測,不收集或修復狀態。",
1582
+ "task.error.input": "請提供有效工作階段 ID,以及選用的 prompt ID 或代理快照。",
1583
+ "task.limit.independent_snapshots": "來源是獨立快照,不代表原子快照或完整歷史。",
1584
+ "task.limit.ambiguous_current_task": "目前任務指標不一致,未猜測任務歸屬。",
1585
+ "task.limit.no_current_task": "未觀測到明確的目前任務。",
1586
+ "task.limit.ambiguous_owner": "任務或代理歸屬不明確。",
1587
+ "task.limit.missing_start": "未觀測到任務開始。",
1588
+ "task.limit.elapsed_unavailable": "現有證據不足以提供總耗時。",
1589
+ "task.limit.parent_not_observed": "部分父代理關係未被觀測。",
1590
+ "task.limit.ambiguous_parent": "不一致的父節點資料未用於建立階層。",
1591
+ "settings.profiles": "顯示方案與專案",
1592
+ "ui.actions.profiles": "顯示方案與專案",
1593
+ "cli.help.display_profiles": "顯示方案與專案",
1594
+ "cli.help.project_bindings": "顯示方案與專案",
1595
+ "cli.help.task_details": "任務詳情",
1596
+ "task.value.observed": "已觀測",
1597
+ "task.value.not_observed": "未觀測到",
1598
+ "task.value.partial": "部分涵蓋",
1599
+ "task.value.stale": "已過時",
1600
+ "task.value.invalid_field": "欄位無效",
1601
+ "task.value.session_mismatch": "工作階段或轉錄不符",
1602
+ "task.value.source_unavailable": "來源不可用",
1603
+ "task.value.newer_than_input": "觀測晚於輸入",
1604
+ "task.value.association_unavailable": "無法建立關聯",
1605
+ "task.value.prompt_mismatch": "prompt 不符",
1606
+ "task.value.current": "符合來源時效規則",
1607
+ "task.value.unknown": "未知",
1608
+ "task.limit.native_timing_disabled": "原生計時已關閉",
1609
+ "task.value.native_timing_disabled": "原生計時已關閉",
1610
+ "task.limit.runtime_disabled": "即時指標已關閉",
1611
+ "task.value.runtime_disabled": "即時指標已關閉",
1612
+ "task.limit.incomplete": "涵蓋不完整",
1613
+ "task.value.incomplete": "涵蓋不完整",
1614
+ "task.limit.abnormal_clock": "時鐘證據不可靠",
1615
+ "task.value.abnormal_clock": "時鐘證據不可靠",
1616
+ "task.limit.not_observed": "未觀測到",
1617
+ "task.limit.stale": "已過時",
1618
+ "task.limit.wait_coverage_missing": "等待證據不完整",
1619
+ "task.value.wait_coverage_missing": "等待證據不完整",
1620
+ "task.limit.task_not_observed": "未觀測到",
1621
+ "task.value.running": "執行中",
1622
+ "task.value.waiting": "等待中",
1623
+ "task.value.completed": "已完成",
1624
+ "task.value.failed": "失敗",
1625
+ "task.value.interrupted": "已中斷",
1626
+ "task.value.pending": "待執行",
1627
+ "task.value.idle": "閒置",
1628
+ "task.value.killed": "已停止",
1629
+ "task.value.main": "主執行",
1630
+ "task.value.waiting_subagents": "等待代理",
1631
+ "task.value.resuming_main": "主任務收尾",
1632
+ "task.value.stop_pending": "等待停止確認",
1633
+ "task.value.queued": "排隊中",
1634
+ "task.value.waiting agents": "等待代理",
1635
+ "task.value.main wrap-up": "主任務收尾"
1509
1636
  }
@@ -1505,5 +1505,132 @@
1505
1505
  "diagnose.error.required": "請提供 --input 檔案 或 --input -。",
1506
1506
  "diagnose.error.file": "輸入檔案不存在:{value}",
1507
1507
  "diagnose.error.size": "診斷輸入超過 32 MiB。",
1508
- "diagnose.error.read": "無法讀取診斷輸入。"
1508
+ "diagnose.error.read": "無法讀取診斷輸入。",
1509
+ "profiles.title": "顯示方案與專案",
1510
+ "profiles.user": "使用者預設",
1511
+ "profiles.target": "編輯:{name} · 根目錄 {root} · {count} 個綁定",
1512
+ "profiles.resolution": "方案:{name};根目錄:{root};選擇原因:{reason}",
1513
+ "profiles.empty": "尚無儲存記錄。",
1514
+ "profiles.sample": "範例預覽 · 選擇不會儲存",
1515
+ "profiles.saved": "已儲存,目前編輯草稿保留。",
1516
+ "profiles.unchanged": "已是目前狀態。",
1517
+ "profiles.loading": "正在讀取…",
1518
+ "profiles.refresh": "重新整理",
1519
+ "profiles.required": "請輸入非空內容。",
1520
+ "profiles.field.name": "名稱",
1521
+ "profiles.field.path": "路徑",
1522
+ "profiles.form_help": "Enter 下一項/檢閱 · Tab 欄位 · Ctrl+G 返回",
1523
+ "profiles.navigation": "↑↓ 選擇 · Enter 開啟/確認 · R 重新整理 · Ctrl+G 返回",
1524
+ "profiles.confirm": "儲存這項變更",
1525
+ "profiles.cancel": "取消",
1526
+ "profiles.save": "儲存草稿後切換",
1527
+ "profiles.discard": "捨棄草稿後切換",
1528
+ "profiles.dirty": "有未儲存修改,請選擇切換方式。",
1529
+ "profiles.shared": "儲存編輯會為 {count} 個綁定專案更新此方案。",
1530
+ "profiles.import_review": "僅匯入顯示設定。請檢閱範例,再命名儲存。",
1531
+ "profiles.overwrite": "目標已存在,請明確確認覆寫或取消。",
1532
+ "profiles.uncertain": "儲存結果未知,請按 R 讀取已儲存狀態後再繼續。",
1533
+ "profiles.review_saved": "已重新讀取儲存狀態,請核對後再修改;草稿保留。",
1534
+ "profiles.invalid_draft": "請修正無效欄位後再儲存。",
1535
+ "profiles.failed": "操作失敗:{value}",
1536
+ "profiles.help": "方案僅包含顯示設定;啟用會複製為使用者預設快照,專案綁定則共用方案。",
1537
+ "profiles.action.edit": "編輯所選方案",
1538
+ "profiles.action.activate": "載入預設草稿,儲存後生效",
1539
+ "profiles.action.save": "目前顯示另存為…",
1540
+ "profiles.action.save_bind": "目前顯示另存為並綁定…",
1541
+ "profiles.action.rename": "重新命名所選方案",
1542
+ "profiles.action.delete": "刪除所選方案",
1543
+ "profiles.action.bind": "專案綁定到所選方案",
1544
+ "profiles.action.unbind": "解除專案綁定",
1545
+ "profiles.action.import": "匯入顯示方案",
1546
+ "profiles.action.export": "匯出所選方案",
1547
+ "profiles.error.name": "名稱須為 1–128 個字元,不可含控制字元。",
1548
+ "profiles.error.invalid": "方案庫或請求無效;原檔案保留。",
1549
+ "profiles.error.duplicate": "方案 {value} 已存在,須明確確認覆寫。",
1550
+ "profiles.error.missing": "找不到方案:{value}",
1551
+ "profiles.error.format": "需要版本 1 的單顯示方案檔,不能使用 portable 整體設定包。",
1552
+ "profiles.error.conflict": "設定已被同時修改,請重新讀取並核對後儲存。",
1553
+ "profiles.error.path": "請選擇存在的專案目錄。",
1554
+ "profiles.error.bound": "專案 {value} 已綁定其他方案,須明確確認取代。",
1555
+ "profiles.error.referenced": "方案 {value} 被專案引用,請先解除綁定再刪除。",
1556
+ "profiles.error.size": "方案檔或方案庫超過支援的大小。",
1557
+ "profiles.error.file": "無法讀取方案檔:{value}",
1558
+ "profiles.error.width": "預覽寬度須為 2–10000 的整數。",
1559
+ "profiles.reason.user_default": "使用者預設",
1560
+ "profiles.reason.profile": "符合方案",
1561
+ "profiles.reason.unbound": "未綁定專案,使用使用者預設",
1562
+ "profiles.reason.path_unavailable": "目錄無法使用,使用使用者預設",
1563
+ "profiles.reason.missing_profile": "綁定方案缺失,使用使用者預設",
1564
+ "profiles.reason.ambiguous_binding": "路徑綁定衝突,使用使用者預設",
1565
+ "profiles.reason.invalid_collection": "方案庫無效,使用使用者預設",
1566
+ "task.title": "任務詳情",
1567
+ "task.unknown": "未知",
1568
+ "task.close": "關閉",
1569
+ "task.readonly": "唯讀 · 按需重新整理",
1570
+ "task.session": "工作階段:{value}",
1571
+ "task.prompt": "任務識別:{value}",
1572
+ "task.captured": "讀取時間:{value}",
1573
+ "task.status": "觀測狀態:{value};階段:{phase}",
1574
+ "task.elapsed": "任務總耗時:{value}",
1575
+ "task.active": "有證據支持的活躍耗時:{value}",
1576
+ "task.progress": "清單完成數/總數:{value}",
1577
+ "task.agents": "可歸屬代理",
1578
+ "task.sources": "證據與涵蓋範圍",
1579
+ "task.evidence": "{source} · {scope} · {status} · {time} · {freshness}",
1580
+ "task.fallback": "請在 Claude 終端開啟,或執行 claude-statusline task show --session-id ID。",
1581
+ "task.help": "讀取指定工作階段的既有觀測,不收集或修復狀態。",
1582
+ "task.error.input": "請提供有效工作階段 ID,以及選用的 prompt ID 或代理快照。",
1583
+ "task.limit.independent_snapshots": "來源是獨立快照,不代表原子快照或完整歷史。",
1584
+ "task.limit.ambiguous_current_task": "目前任務指標不一致,未猜測任務歸屬。",
1585
+ "task.limit.no_current_task": "未觀測到明確的目前任務。",
1586
+ "task.limit.ambiguous_owner": "任務或代理歸屬不明確。",
1587
+ "task.limit.missing_start": "未觀測到任務開始。",
1588
+ "task.limit.elapsed_unavailable": "現有證據不足以提供總耗時。",
1589
+ "task.limit.parent_not_observed": "部分父代理關係未被觀測。",
1590
+ "task.limit.ambiguous_parent": "不一致的父節點資料未用於建立階層。",
1591
+ "settings.profiles": "顯示方案與專案",
1592
+ "ui.actions.profiles": "顯示方案與專案",
1593
+ "cli.help.display_profiles": "顯示方案與專案",
1594
+ "cli.help.project_bindings": "顯示方案與專案",
1595
+ "cli.help.task_details": "任務詳情",
1596
+ "task.value.observed": "已觀測",
1597
+ "task.value.not_observed": "未觀測到",
1598
+ "task.value.partial": "部分涵蓋",
1599
+ "task.value.stale": "已過時",
1600
+ "task.value.invalid_field": "欄位無效",
1601
+ "task.value.session_mismatch": "工作階段或轉錄不符",
1602
+ "task.value.source_unavailable": "來源不可用",
1603
+ "task.value.newer_than_input": "觀測晚於輸入",
1604
+ "task.value.association_unavailable": "無法建立關聯",
1605
+ "task.value.prompt_mismatch": "prompt 不符",
1606
+ "task.value.current": "符合來源時效規則",
1607
+ "task.value.unknown": "未知",
1608
+ "task.limit.native_timing_disabled": "原生計時已關閉",
1609
+ "task.value.native_timing_disabled": "原生計時已關閉",
1610
+ "task.limit.runtime_disabled": "即時指標已關閉",
1611
+ "task.value.runtime_disabled": "即時指標已關閉",
1612
+ "task.limit.incomplete": "涵蓋不完整",
1613
+ "task.value.incomplete": "涵蓋不完整",
1614
+ "task.limit.abnormal_clock": "時鐘證據不可靠",
1615
+ "task.value.abnormal_clock": "時鐘證據不可靠",
1616
+ "task.limit.not_observed": "未觀測到",
1617
+ "task.limit.stale": "已過時",
1618
+ "task.limit.wait_coverage_missing": "等待證據不完整",
1619
+ "task.value.wait_coverage_missing": "等待證據不完整",
1620
+ "task.limit.task_not_observed": "未觀測到",
1621
+ "task.value.running": "執行中",
1622
+ "task.value.waiting": "等待中",
1623
+ "task.value.completed": "已完成",
1624
+ "task.value.failed": "失敗",
1625
+ "task.value.interrupted": "已中斷",
1626
+ "task.value.pending": "待執行",
1627
+ "task.value.idle": "閒置",
1628
+ "task.value.killed": "已停止",
1629
+ "task.value.main": "主執行",
1630
+ "task.value.waiting_subagents": "等待代理",
1631
+ "task.value.resuming_main": "主任務收尾",
1632
+ "task.value.stop_pending": "等待停止確認",
1633
+ "task.value.queued": "排隊中",
1634
+ "task.value.waiting agents": "等待代理",
1635
+ "task.value.main wrap-up": "主任務收尾"
1509
1636
  }
@@ -0,0 +1,8 @@
1
+ export interface ProjectPaths {
2
+ canonical(path: string): string | null;
3
+ contains(root: string, directory: string): boolean;
4
+ depth(path: string): number;
5
+ }
6
+ /** Native directory identity preserves case-sensitive Windows/macOS volumes too. */
7
+ export declare const projectPaths: ProjectPaths;
8
+ export declare function explicitProjectPath(path: string): string;
@@ -0,0 +1,41 @@
1
+ import { realpathSync, statSync } from 'node:fs';
2
+ import { dirname, isAbsolute, resolve } from 'node:path';
3
+ import { expandUser } from './commands.js';
4
+ function canonical(path) {
5
+ if (!isAbsolute(path) || path.includes('\0'))
6
+ return null;
7
+ try {
8
+ const resolved = realpathSync.native(path);
9
+ return statSync(resolved).isDirectory() ? resolved : null;
10
+ }
11
+ catch {
12
+ return null;
13
+ }
14
+ }
15
+ /** Native directory identity preserves case-sensitive Windows/macOS volumes too. */
16
+ export const projectPaths = {
17
+ canonical,
18
+ contains(root, directory) {
19
+ try {
20
+ const wanted = statSync(root, { bigint: true });
21
+ for (let current = directory;; current = dirname(current)) {
22
+ const actual = statSync(current, { bigint: true });
23
+ // Some supported Windows/libuv versions report an unknown volume as zero.
24
+ // Such file IDs cannot establish that two differently named paths are aliases.
25
+ if (current === root || wanted.dev !== 0n && wanted.ino !== 0n && wanted.ino === actual.ino && wanted.dev === actual.dev)
26
+ return true;
27
+ if (dirname(current) === current)
28
+ return false;
29
+ }
30
+ }
31
+ catch {
32
+ return false;
33
+ }
34
+ },
35
+ depth(path) { let count = 0; for (let next = path; dirname(next) !== next; next = dirname(next))
36
+ count++; return count; },
37
+ };
38
+ export function explicitProjectPath(path) {
39
+ return resolve(expandUser(path));
40
+ }
41
+ //# sourceMappingURL=project-paths.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project-paths.js","sourceRoot":"","sources":["../../src/project-paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAO3C,SAAS,SAAS,CAAC,IAAY;IAC3B,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IAC1D,IAAI,CAAC;QACD,MAAM,QAAQ,GAAG,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAC3C,OAAO,QAAQ,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC;IAC9D,CAAC;IAAC,MAAM,CAAC;QAAC,OAAO,IAAI,CAAC;IAAC,CAAC;AAC5B,CAAC;AACD,oFAAoF;AACpF,MAAM,CAAC,MAAM,YAAY,GAAiB;IACtC,SAAS;IACT,QAAQ,CAAC,IAAI,EAAE,SAAS;QACpB,IAAI,CAAC;YACD,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;YAChD,KAAK,IAAI,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;gBACxD,MAAM,MAAM,GAAG,QAAQ,CAAC,OAAO,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;gBACnD,0EAA0E;gBAC1E,+EAA+E;gBAC/E,IAAI,OAAO,KAAK,IAAI,IAAI,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,MAAM,CAAC,GAAG,KAAK,MAAM,CAAC,GAAG,IAAI,MAAM,CAAC,GAAG,KAAK,MAAM,CAAC,GAAG;oBAAE,OAAO,IAAI,CAAC;gBACtI,IAAI,OAAO,CAAC,OAAO,CAAC,KAAK,OAAO;oBAAE,OAAO,KAAK,CAAC;YACnD,CAAC;QACL,CAAC;QAAC,MAAM,CAAC;YAAC,OAAO,KAAK,CAAC;QAAC,CAAC;IAC7B,CAAC;IACD,KAAK,CAAC,IAAI,IAAI,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,IAAI,GAAG,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;QAAE,KAAK,EAAE,CAAC,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC;CAC5H,CAAC;AACF,MAAM,UAAU,mBAAmB,CAAC,IAAY;IAC5C,OAAO,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC;AACrC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { explanationLines } from '@fbincon/statusline-core/editor/explanation';
2
+ import { profilesView } from '@fbincon/statusline-core/editor/profile-manager';
2
3
  import { quickView } from '@fbincon/statusline-core/editor/quick-setup';
3
4
  /** Page content, using one bounded canvas and shared terminal geometry. */
4
5
  import { displayWidth } from '@fbincon/statusline-core/unicode/index';
@@ -15,6 +16,10 @@ export function drawPage(canvas, state, size) {
15
16
  const panel = size.content;
16
17
  const width = panel.innerWidth;
17
18
  const tr = (key, params = {}) => t(key, state.language, params);
19
+ if (e.profiles) {
20
+ profilesView(e, state.language, width, panel.innerHeight - 1).forEach((row, index) => canvas.content(panel, index, [paint(row.text, false, row.selected)], row.selected));
21
+ return tr('profiles.sample');
22
+ }
18
23
  if (e.explanation) {
19
24
  const lines = explanationLines(e, state.language, width), count = Math.max(1, panel.innerHeight - 1);
20
25
  const start = Math.min(e.explanation.scroll, Math.max(0, lines.length - count));