teamsmith 0.0.0-stage → 0.1.2

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 (245) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +158 -2
  3. package/bin/team.mjs +59 -0
  4. package/install.sh +94 -0
  5. package/package.json +37 -4
  6. package/skills/teamsmith/CHANGELOG.md +763 -0
  7. package/skills/teamsmith/SKILL.md +312 -0
  8. package/skills/teamsmith/extension/team-bg.ts +435 -0
  9. package/skills/teamsmith/extension/team-inbox-watch.ts +1412 -0
  10. package/skills/teamsmith/extension/team-notify.ts +663 -0
  11. package/skills/teamsmith/references/agent-adapters.md +643 -0
  12. package/skills/teamsmith/references/config.md +477 -0
  13. package/skills/teamsmith/references/meeting.md +124 -0
  14. package/skills/teamsmith/references/memory.md +133 -0
  15. package/skills/teamsmith/references/migration.md +227 -0
  16. package/skills/teamsmith/references/openspec.md +222 -0
  17. package/skills/teamsmith/references/philosophy.md +95 -0
  18. package/skills/teamsmith/references/protocol.md +712 -0
  19. package/skills/teamsmith/references/troubleshooting.md +1384 -0
  20. package/skills/teamsmith/references/workflows.md +448 -0
  21. package/skills/teamsmith/scripts/lib/cmd-agents.sh +1709 -0
  22. package/skills/teamsmith/scripts/lib/cmd-bg.sh +284 -0
  23. package/skills/teamsmith/scripts/lib/cmd-bootstrap.sh +311 -0
  24. package/skills/teamsmith/scripts/lib/cmd-config.sh +1156 -0
  25. package/skills/teamsmith/scripts/lib/cmd-death.sh +562 -0
  26. package/skills/teamsmith/scripts/lib/cmd-docs.sh +149 -0
  27. package/skills/teamsmith/scripts/lib/cmd-draft.sh +124 -0
  28. package/skills/teamsmith/scripts/lib/cmd-init.sh +212 -0
  29. package/skills/teamsmith/scripts/lib/cmd-meeting.sh +904 -0
  30. package/skills/teamsmith/scripts/lib/cmd-outbox.sh +196 -0
  31. package/skills/teamsmith/scripts/lib/cmd-project.sh +642 -0
  32. package/skills/teamsmith/scripts/lib/cmd-review.sh +1393 -0
  33. package/skills/teamsmith/scripts/lib/cmd-status.sh +1399 -0
  34. package/skills/teamsmith/scripts/lib/cmd-update.sh +191 -0
  35. package/skills/teamsmith/scripts/lib/cmd-watch.sh +1681 -0
  36. package/skills/teamsmith/scripts/lib/common.sh +4964 -0
  37. package/skills/teamsmith/scripts/lib/draft-entry.sh +51 -0
  38. package/skills/teamsmith/scripts/lib/outbox.sh +2042 -0
  39. package/skills/teamsmith/scripts/lib/tmux-argv.sh +165 -0
  40. package/skills/teamsmith/scripts/monitor.mjs +616 -0
  41. package/skills/teamsmith/scripts/panel/README.md +192 -0
  42. package/skills/teamsmith/scripts/panel/build.sh +47 -0
  43. package/skills/teamsmith/scripts/panel/bun.lock +109 -0
  44. package/skills/teamsmith/scripts/panel/draft-send.sh +68 -0
  45. package/skills/teamsmith/scripts/panel/package.json +24 -0
  46. package/skills/teamsmith/scripts/panel/panel.js +388 -0
  47. package/skills/teamsmith/scripts/panel/src/App.tsx +2150 -0
  48. package/skills/teamsmith/scripts/panel/src/clipboard.ts +154 -0
  49. package/skills/teamsmith/scripts/panel/src/compose.ts +691 -0
  50. package/skills/teamsmith/scripts/panel/src/data.ts +555 -0
  51. package/skills/teamsmith/scripts/panel/src/format.ts +50 -0
  52. package/skills/teamsmith/scripts/panel/src/layout.ts +2562 -0
  53. package/skills/teamsmith/scripts/panel/src/main.tsx +894 -0
  54. package/skills/teamsmith/scripts/panel/src/markdown.ts +340 -0
  55. package/skills/teamsmith/scripts/panel/src/sanitize.ts +42 -0
  56. package/skills/teamsmith/scripts/panel/src/settings.ts +154 -0
  57. package/skills/teamsmith/scripts/panel/src/strings/en.ts +416 -0
  58. package/skills/teamsmith/scripts/panel/src/strings/index.ts +65 -0
  59. package/skills/teamsmith/scripts/panel/src/strings/types.ts +9 -0
  60. package/skills/teamsmith/scripts/panel/src/strings/zh.ts +414 -0
  61. package/skills/teamsmith/scripts/panel/src/theme.ts +116 -0
  62. package/skills/teamsmith/scripts/panel/src/types.ts +652 -0
  63. package/skills/teamsmith/scripts/panel/src/width.ts +105 -0
  64. package/skills/teamsmith/scripts/panel/tsconfig.json +16 -0
  65. package/skills/teamsmith/scripts/shim/signal-gate +156 -0
  66. package/skills/teamsmith/scripts/shim/tmux +403 -0
  67. package/skills/teamsmith/scripts/team +143 -0
  68. package/skills/teamsmith/templates/AGENTS.section.md.tmpl +147 -0
  69. package/skills/teamsmith/templates/BOARD.md.tmpl +18 -0
  70. package/skills/teamsmith/templates/DECISIONS.md.tmpl +22 -0
  71. package/skills/teamsmith/templates/OWNERSHIP.md.tmpl +25 -0
  72. package/skills/teamsmith/templates/PROTOCOL.md.tmpl +84 -0
  73. package/skills/teamsmith/templates/ROADMAP.md.tmpl +29 -0
  74. package/skills/teamsmith/templates/config.sh.tmpl +106 -0
  75. package/skills/teamsmith/templates/memory-seed.md.tmpl +46 -0
  76. package/skills/teamsmith/templates/pm-prompt.md.tmpl +110 -0
  77. package/skills/teamsmith/templates/report.md.tmpl +36 -0
  78. package/skills/teamsmith/templates/task.md.tmpl +65 -0
  79. package/skills/teamsmith/templates/threads-README.md +17 -0
  80. package/skills/teamsmith/tests/bg-ledger-harness.mjs +682 -0
  81. package/skills/teamsmith/tests/bg-ledger.sh +307 -0
  82. package/skills/teamsmith/tests/checkout-shape-probe.sh +800 -0
  83. package/skills/teamsmith/tests/config-cli.sh +1562 -0
  84. package/skills/teamsmith/tests/container-tmux.sh +493 -0
  85. package/skills/teamsmith/tests/coverage-inventory.sh +173 -0
  86. package/skills/teamsmith/tests/death-cause.sh +564 -0
  87. package/skills/teamsmith/tests/delivery-truth.sh +1231 -0
  88. package/skills/teamsmith/tests/fake-tui.py +450 -0
  89. package/skills/teamsmith/tests/fixtures/delivery-truth-real/README.md +60 -0
  90. package/skills/teamsmith/tests/fixtures/delivery-truth-real/judge-second.py +139 -0
  91. package/skills/teamsmith/tests/fixtures/delivery-truth-real/mock-server.py +29 -0
  92. package/skills/teamsmith/tests/fixtures/delivery-truth-real/observe.ts +20 -0
  93. package/skills/teamsmith/tests/fixtures/delivery-truth-real/run-case.sh +79 -0
  94. package/skills/teamsmith/tests/fixtures/delivery-truth-real/scenario.sh +175 -0
  95. package/skills/teamsmith/tests/fixtures/p55/flip-p49.sh +229 -0
  96. package/skills/teamsmith/tests/fixtures/p71-incident/README.md +22 -0
  97. package/skills/teamsmith/tests/fixtures/p71-incident/dev2.seen +8 -0
  98. package/skills/teamsmith/tests/fixtures/p71-incident/dev2.wake +9 -0
  99. package/skills/teamsmith/tests/fixtures/p71-incident/pm-nudges.wake +3 -0
  100. package/skills/teamsmith/tests/fixtures/signal-lint-cases.txt +40 -0
  101. package/skills/teamsmith/tests/flip-glue.sh +162 -0
  102. package/skills/teamsmith/tests/flip-m12-26c.sh +129 -0
  103. package/skills/teamsmith/tests/flip-m12.sh +185 -0
  104. package/skills/teamsmith/tests/flip-m16.sh +166 -0
  105. package/skills/teamsmith/tests/flip-m17.sh +204 -0
  106. package/skills/teamsmith/tests/flip-m33.sh +284 -0
  107. package/skills/teamsmith/tests/flip-m34.sh +96 -0
  108. package/skills/teamsmith/tests/flip-m37.sh +185 -0
  109. package/skills/teamsmith/tests/flip-m4.3.sh +375 -0
  110. package/skills/teamsmith/tests/flip-m43.sh +128 -0
  111. package/skills/teamsmith/tests/flip-m44.sh +262 -0
  112. package/skills/teamsmith/tests/flip-m45.sh +244 -0
  113. package/skills/teamsmith/tests/flip-m46.sh +238 -0
  114. package/skills/teamsmith/tests/flip-m48.sh +304 -0
  115. package/skills/teamsmith/tests/flip-m6.2.sh +205 -0
  116. package/skills/teamsmith/tests/flip-m6.3.sh +283 -0
  117. package/skills/teamsmith/tests/flip-m6.4.sh +267 -0
  118. package/skills/teamsmith/tests/flip-m6.5.sh +113 -0
  119. package/skills/teamsmith/tests/flip-m7.1.sh +135 -0
  120. package/skills/teamsmith/tests/flip-m7.2.sh +321 -0
  121. package/skills/teamsmith/tests/flip-p144.sh +112 -0
  122. package/skills/teamsmith/tests/flip-p156.sh +133 -0
  123. package/skills/teamsmith/tests/flip-p158.sh +301 -0
  124. package/skills/teamsmith/tests/flip-p160.sh +182 -0
  125. package/skills/teamsmith/tests/flip-p171.sh +249 -0
  126. package/skills/teamsmith/tests/flip-p18.1.sh +95 -0
  127. package/skills/teamsmith/tests/flip-p20.sh +286 -0
  128. package/skills/teamsmith/tests/flip-p201.sh +249 -0
  129. package/skills/teamsmith/tests/flip-p210.sh +239 -0
  130. package/skills/teamsmith/tests/flip-p211.sh +152 -0
  131. package/skills/teamsmith/tests/flip-p217.sh +288 -0
  132. package/skills/teamsmith/tests/flip-p22.sh +123 -0
  133. package/skills/teamsmith/tests/flip-p23.sh +239 -0
  134. package/skills/teamsmith/tests/flip-p25.sh +165 -0
  135. package/skills/teamsmith/tests/flip-p71.sh +184 -0
  136. package/skills/teamsmith/tests/flip-p72.sh +202 -0
  137. package/skills/teamsmith/tests/frames/README.md +176 -0
  138. package/skills/teamsmith/tests/frames/p78-conversation-rule-below-box.txt +6 -0
  139. package/skills/teamsmith/tests/frames/p78-cursor-mid-draft.txt +6 -0
  140. package/skills/teamsmith/tests/frames/p78-draft-rule-below-cursor-line.txt +6 -0
  141. package/skills/teamsmith/tests/frames/p78-draft-rule-below-cursor.txt +6 -0
  142. package/skills/teamsmith/tests/frames/p78-draft-rule-blank-region.txt +6 -0
  143. package/skills/teamsmith/tests/frames/p78-draft-rule-only.txt +5 -0
  144. package/skills/teamsmith/tests/frames/p78-spinner-row-below-cursor.txt +6 -0
  145. package/skills/teamsmith/tests/frames/p78-wider-rule-below-cursor.txt +6 -0
  146. package/skills/teamsmith/tests/frames/p86-f1-mixed-width-disjoint-box.txt +8 -0
  147. package/skills/teamsmith/tests/frames/p86-f1-narrower-width-disjoint-box.txt +8 -0
  148. package/skills/teamsmith/tests/frames/p86-f1-spinner-top-disjoint-box.txt +8 -0
  149. package/skills/teamsmith/tests/frames/pi-0.85.1-update-banner.txt +30 -0
  150. package/skills/teamsmith/tests/frames/pi-0.87.0-draft-half-sentence.txt +30 -0
  151. package/skills/teamsmith/tests/frames/pi-0.87.0-empty-box.txt +30 -0
  152. package/skills/teamsmith/tests/frames/pi-0.87.0-one-line-draft.txt +30 -0
  153. package/skills/teamsmith/tests/frames/pi-0.87.0-project-trust-prompt.txt +30 -0
  154. package/skills/teamsmith/tests/frames/pi-0.99.2-empty-editor.txt +32 -0
  155. package/skills/teamsmith/tests/frames/pi-0.99.2-human-draft.txt +32 -0
  156. package/skills/teamsmith/tests/frames/pi-1.0.0-git-error-in-box.txt +32 -0
  157. package/skills/teamsmith/tests/gate-guard.sh +112 -0
  158. package/skills/teamsmith/tests/guard-matrix.sh +233 -0
  159. package/skills/teamsmith/tests/install-shape.sh +731 -0
  160. package/skills/teamsmith/tests/ledger-ban.sh +612 -0
  161. package/skills/teamsmith/tests/lib/box-judge.sh +68 -0
  162. package/skills/teamsmith/tests/lib/checkout-shape.sh +129 -0
  163. package/skills/teamsmith/tests/lib/loop-scan.awk +114 -0
  164. package/skills/teamsmith/tests/lib/pty-wait.sh +676 -0
  165. package/skills/teamsmith/tests/lib/section-guard.sh +855 -0
  166. package/skills/teamsmith/tests/lib/shell-lex.pl +261 -0
  167. package/skills/teamsmith/tests/lib/tmp-root.sh +528 -0
  168. package/skills/teamsmith/tests/lib/tmux-cap.sh +35 -0
  169. package/skills/teamsmith/tests/lib/tmux-iso-call-probe.sh +81 -0
  170. package/skills/teamsmith/tests/lib/tmux-iso-probe.sh +46 -0
  171. package/skills/teamsmith/tests/lib/tmux-iso.sh +381 -0
  172. package/skills/teamsmith/tests/load-experiment.sh +290 -0
  173. package/skills/teamsmith/tests/loop-inventory.tsv +84 -0
  174. package/skills/teamsmith/tests/panel-b2-slow-stub.sh +19 -0
  175. package/skills/teamsmith/tests/panel-b2.sh +1183 -0
  176. package/skills/teamsmith/tests/panel-b3-pty-mouse.py +240 -0
  177. package/skills/teamsmith/tests/panel-b3-pty-tmux-mouse.py +138 -0
  178. package/skills/teamsmith/tests/panel-b3-stub.sh +279 -0
  179. package/skills/teamsmith/tests/panel-b3.sh +1301 -0
  180. package/skills/teamsmith/tests/panel-choices.sh +572 -0
  181. package/skills/teamsmith/tests/panel-clipboard-model.ts +187 -0
  182. package/skills/teamsmith/tests/panel-compose-model.ts +290 -0
  183. package/skills/teamsmith/tests/panel-contrast.mjs +81 -0
  184. package/skills/teamsmith/tests/panel-cpu-premise.sh +173 -0
  185. package/skills/teamsmith/tests/panel-cpu.sh +391 -0
  186. package/skills/teamsmith/tests/panel-flip-m54.sh +207 -0
  187. package/skills/teamsmith/tests/panel-flip-p123.sh +278 -0
  188. package/skills/teamsmith/tests/panel-flip-p125.sh +318 -0
  189. package/skills/teamsmith/tests/panel-flip-p128.sh +259 -0
  190. package/skills/teamsmith/tests/panel-keyprobe-pty.py +99 -0
  191. package/skills/teamsmith/tests/panel-keyprobe-stub.sh +41 -0
  192. package/skills/teamsmith/tests/panel-keyprobe.sh +82 -0
  193. package/skills/teamsmith/tests/panel-keyprobe.tsx +116 -0
  194. package/skills/teamsmith/tests/panel-knobs.sh +83 -0
  195. package/skills/teamsmith/tests/panel-p21.sh +2181 -0
  196. package/skills/teamsmith/tests/panel-snapshots.sh +802 -0
  197. package/skills/teamsmith/tests/panel-strings.mjs +195 -0
  198. package/skills/teamsmith/tests/perf.sh +740 -0
  199. package/skills/teamsmith/tests/pm-box-real.sh +350 -0
  200. package/skills/teamsmith/tests/pulse-nudge-key.sh +563 -0
  201. package/skills/teamsmith/tests/routes.sh +1652 -0
  202. package/skills/teamsmith/tests/section-budgets.tsv +150 -0
  203. package/skills/teamsmith/tests/section-guard.sh +231 -0
  204. package/skills/teamsmith/tests/section-needs-audit.sh +94 -0
  205. package/skills/teamsmith/tests/section-paths.tsv +142 -0
  206. package/skills/teamsmith/tests/section-select.sh +655 -0
  207. package/skills/teamsmith/tests/signal-gate.sh +366 -0
  208. package/skills/teamsmith/tests/signal-lint-legacy.txt +14 -0
  209. package/skills/teamsmith/tests/signal-lint.pl +416 -0
  210. package/skills/teamsmith/tests/skill-load.mjs +65 -0
  211. package/skills/teamsmith/tests/smoke.sh +19711 -0
  212. package/skills/teamsmith/tests/snapshots/zh-dark-120-detail.txt +32 -0
  213. package/skills/teamsmith/tests/snapshots/zh-dark-120-p4.txt +32 -0
  214. package/skills/teamsmith/tests/snapshots/zh-dark-120.txt +32 -0
  215. package/skills/teamsmith/tests/snapshots/zh-dark-160-p4.txt +32 -0
  216. package/skills/teamsmith/tests/snapshots/zh-dark-160.txt +32 -0
  217. package/skills/teamsmith/tests/snapshots/zh-dark-59-detail.txt +32 -0
  218. package/skills/teamsmith/tests/snapshots/zh-dark-59-p4.txt +32 -0
  219. package/skills/teamsmith/tests/snapshots/zh-dark-59.txt +32 -0
  220. package/skills/teamsmith/tests/snapshots/zh-dark-99-p4.txt +32 -0
  221. package/skills/teamsmith/tests/snapshots/zh-dark-99.txt +32 -0
  222. package/skills/teamsmith/tests/snapshots/zh-light-120-detail.txt +32 -0
  223. package/skills/teamsmith/tests/snapshots/zh-light-120-p4.txt +32 -0
  224. package/skills/teamsmith/tests/snapshots/zh-light-120.txt +32 -0
  225. package/skills/teamsmith/tests/snapshots/zh-light-160-p4.txt +32 -0
  226. package/skills/teamsmith/tests/snapshots/zh-light-160.txt +32 -0
  227. package/skills/teamsmith/tests/snapshots/zh-light-59-detail.txt +32 -0
  228. package/skills/teamsmith/tests/snapshots/zh-light-59-p4.txt +32 -0
  229. package/skills/teamsmith/tests/snapshots/zh-light-59.txt +32 -0
  230. package/skills/teamsmith/tests/snapshots/zh-light-99-p4.txt +32 -0
  231. package/skills/teamsmith/tests/snapshots/zh-light-99.txt +32 -0
  232. package/skills/teamsmith/tests/spec-ledger-refs.tsv +78 -0
  233. package/skills/teamsmith/tests/spec-refs.sh +826 -0
  234. package/skills/teamsmith/tests/task-header-model.sh +267 -0
  235. package/skills/teamsmith/tests/team-bg-flip.sh +239 -0
  236. package/skills/teamsmith/tests/team-bg-harness.mjs +392 -0
  237. package/skills/teamsmith/tests/team-bg-stop.sh +434 -0
  238. package/skills/teamsmith/tests/team-inbox-watch-flip.sh +191 -0
  239. package/skills/teamsmith/tests/team-inbox-watch-harness.mjs +1559 -0
  240. package/skills/teamsmith/tests/tmp-hygiene.sh +1190 -0
  241. package/skills/teamsmith/tests/tmux-lint-legacy.txt +31 -0
  242. package/skills/teamsmith/tests/tmux-lint.pl +604 -0
  243. package/skills/teamsmith-init/SKILL.md +100 -0
  244. package/skills/teamsmith-init/references/bootstrap.md +74 -0
  245. package/skills/teamsmith-init/templates/bootstrap-prompt.md.tmpl +46 -0
@@ -0,0 +1,416 @@
1
+ // English interface strings.
2
+ //
3
+ // Every rendered string comes from a table; see zh.ts for the contract. The English table is a
4
+ // translation, never a second source of truth: the key set, placeholders and value shapes are
5
+ // asserted equal to the Chinese table by `tests/panel-strings.mjs`.
6
+
7
+ /** @type {import('./types.js').Strings} */
8
+ export const en = {
9
+ // Title band and status banner
10
+ appTitle: 'teamsmith pulse',
11
+ patrolLabel: 'patrol',
12
+ patrolSeconds: 'patrol {n}s',
13
+ standbyLabel: 'standby',
14
+ standbyOn: 'standby on (reason: {reason})',
15
+ standbyOff: 'standby off',
16
+ standbyDash: 'standby —',
17
+ pmLabel: 'PM',
18
+ // M53: the consequence is part of {reason} (no registration → paste path; degraded watcher → slower, no loss).
19
+ pmDeliveryWarning: 'delivery degraded: {reason}',
20
+ pendingLabel: 'pending',
21
+ pendingNone: 'none',
22
+ outboxLabel: 'deferred',
23
+ outboxHeldSuffix: ' (held {n})',
24
+ outboxImpededSuffix: ' · impeded {n}',
25
+ capacityLabel: 'capacity',
26
+ capacityRam: 'RAM {mb}',
27
+ capacitySwap: 'swap {mb}',
28
+ capacityAgents: '{n} more agents fit',
29
+ capacityDisk: '{path} {mb} (inode {ino})',
30
+ dash: '—',
31
+
32
+ // Project progress
33
+ progressLabel: 'progress',
34
+ progressTasks: 'tasks {parts}',
35
+ taskTodo: 'todo',
36
+ taskWip: 'wip',
37
+ taskReview: 'review',
38
+ taskBlocked: 'blocked',
39
+ taskDone: 'done',
40
+ taskDropped: 'dropped',
41
+ progressChanges: 'changes {n}',
42
+ progressSpecs: 'specs {specs} · {reqs} requirements',
43
+ progressDecisions: 'decisions {n}',
44
+ countPair: '{label} {n}',
45
+
46
+ // Recent deliveries
47
+ deliveriesLabel: 'recent deliveries',
48
+ deliveryLine: '{id} · {agent} · {time}',
49
+ deliveriesEmpty: '(no deliveries yet)',
50
+
51
+ // Agent table
52
+ agentsHeader: 'agent',
53
+ tableState: 'state',
54
+ tableTask: 'task',
55
+ tableBranch: 'branch',
56
+ tableSession: 'session',
57
+ agentRunning: 'running',
58
+ agentExited: 'exited',
59
+ agentAbsent: 'no window',
60
+ pmRunning: 'running',
61
+ pmStarting: 'starting',
62
+ pmAbsent: 'not running',
63
+ pmForeign: 'another project holds it',
64
+ pmUnknown: 'not a PM process',
65
+ agentEmpty: '(no agents)',
66
+
67
+ // Activity and recent actions
68
+ activityHeading: 'activity (windows running in this session)',
69
+ activitySource: 'source {path}',
70
+ activityEmpty: '(no session activity)',
71
+ recentHeading: 'recent actions',
72
+ recentEmpty: '(no actions recorded yet)',
73
+
74
+ // Pages and tabs
75
+ pageOverview: 'overview',
76
+ pageWork: 'work',
77
+ pageMessages: 'messages & logs',
78
+ pageBoard: 'board',
79
+ pageTab: ' {name} ',
80
+ pageTabActive: '▸{name}◂',
81
+
82
+ // Board
83
+ boardHeading: 'board',
84
+ boardHeadingCount: 'board ({n})',
85
+ boardCounts: '{todo} todo · {wip} wip · {review} review · {blocked} blocked · {done} done',
86
+ boardDoneCollapsed: '… {n} older done/dropped rows folded',
87
+ boardEmpty: '(board is empty)',
88
+ kanbanEmptyLane: '·',
89
+ laneFolded: ' (folded)',
90
+ laneHiddenAbove: '↑{n}',
91
+ laneHiddenBelow: '↓{n}',
92
+
93
+ // Detail view (read-only)
94
+ detailTitle: 'detail {id}',
95
+ detailNoFiles: '(no associated files for this entry)',
96
+ detailTruncated: '… truncated (first 128 KiB shown)',
97
+ detailLoading: '… loading',
98
+
99
+ // Changes and specs
100
+ changesHeading: 'active changes',
101
+ changesHeadingCount: 'active changes ({n})',
102
+ changeLine: '{done}/{total} · {phase}',
103
+ changePhaseExplore: 'explore',
104
+ changePhasePropose: 'propose',
105
+ changePhaseApply: 'apply',
106
+ changePhaseVerify: 'verify',
107
+ changePhaseArchive: 'archive',
108
+ specsHeading: 'specs',
109
+ specsCount: '{specs} specs · {reqs} requirements',
110
+ specsLine: '{name} {n}',
111
+
112
+ // Decisions
113
+ decisionsHeading: 'recent decisions',
114
+ decisionsCountSuffix: '{n} total',
115
+ decisionsEmpty: '(no decisions recorded)',
116
+
117
+ // Deferred queue
118
+ queueHeading: 'deferred queue',
119
+ queueHeadingCount: 'deferred queue {queued} (held {held})',
120
+ queueLine: '{index}. [{state}] {name} · {age}',
121
+ queueStateQueued: 'queued',
122
+ queueStateHeld: 'held',
123
+ queueHeldReason: 'held reason: {reason}',
124
+ queueViewHint: 'Enter to view the full text',
125
+ queueImpededLine: 'delivery impeded {n}: {reasons}',
126
+ queueImpededItem: ' {entry} → {reason} ({when})',
127
+ queueImpededUnavailable: ' (diagnostics unavailable; read HOLDING.log)',
128
+ queueBackHint: 'Esc back to the list',
129
+ queueEmpty: '(queue is empty)',
130
+ queueFullHeading: 'full text: {name}',
131
+ queueMeta: 'kind={kind} target={target} from={from}',
132
+
133
+ // Inbox and threads
134
+ inboxHeading: 'inbox and threads',
135
+ inboxLine: 'inbox {inbox} · thread {thread} · {age}',
136
+ inboxEmpty: '(no inbox/thread files)',
137
+
138
+ // Patrol log and capacity trend
139
+ patrolHeading: 'patrol log',
140
+ patrolEmpty: '(no patrol records yet)',
141
+ trendHeading: 'capacity trend',
142
+ trendLine: 'RAM {mb} · swap {swap}',
143
+
144
+ // Health
145
+ healthHeading: 'health',
146
+ healthLine: 'skill {version} · doctor {doctor} · last gates {gates}',
147
+ healthDoctorOk: 'ok',
148
+ healthDoctorWarn: 'warn',
149
+ healthDoctorFail: 'fail',
150
+ healthDoctorNA: 'unavailable',
151
+
152
+ // Settings overlay
153
+ settingsTitle: 'settings',
154
+ settingsCursor: '›',
155
+ prefLang: 'language',
156
+ prefDefaultPage: 'default page',
157
+ prefActivity: 'activity column',
158
+ prefMouse: 'mouse',
159
+ prefDensity: 'density',
160
+ toggleOn: 'on',
161
+ toggleOff: 'off',
162
+ langNameZh: '中文',
163
+ langNameEn: 'English',
164
+ densityComfortable: 'comfortable',
165
+ densityCompact: 'compact',
166
+ settingsHint: '↑/↓ select · Enter toggle · Esc/, close',
167
+
168
+ // Project-settings view (P22/B2)
169
+ prefProjectSettings: 'Project settings',
170
+ prefNavArrow: '›',
171
+ settingsViewTitle: 'Project settings',
172
+ // P30/D2: the grouping comes from the schema row's tenth column (`group_<token>`), never from
173
+ // the class — the three class-group labels are gone.
174
+ group_identity: 'Identity & ledger layout',
175
+ group_branch: 'Branch & forge',
176
+ group_policy: 'Permissions & dependencies',
177
+ group_roster: 'Roster, models & adapters',
178
+ 'group_seat-model': 'Per-seat models',
179
+ group_workflow: 'Workflow & gates',
180
+ group_delivery: 'Capacity & delivery',
181
+ group_panel: 'Pulse & panel',
182
+ group_patrol: 'Patrol policy',
183
+ 'group_pm-lifecycle': 'PM lifecycle',
184
+ group_session: 'Live sessions',
185
+ group_meeting: 'Cross-project meetings',
186
+ settingsGroupUngrouped: 'Ungrouped',
187
+ settingsGroupSeats: 'Seats',
188
+ settingsBadgeApply: 'apply',
189
+ settingsBadgeRestart: 'restart',
190
+ settingsBadgeRefuse: 'read-only',
191
+ settingsUnknownBadge: 'unknown key',
192
+ settingsUnset: 'unset · default {value}',
193
+ settingsAuditHeading: 'Audit (newest)',
194
+ settingsKeyHint: '↑/↓ rows · Enter edit · / filter · Esc back',
195
+ keyFilter: '/ filter',
196
+ settingFilterTitle: 'Filter settings',
197
+ settingConfirm: 'Confirm: {key} {old} → {next} · {timing} (Enter again to write)',
198
+ settingTimingApply: 'the next process that reads it',
199
+ settingTimingRestart: 'needs a restart',
200
+ settingDanger: 'Danger: {reason} (press Enter once more to confirm)',
201
+ settingRejected: '✗ refused: {line}',
202
+ settingWritten: '✓ wrote {key} = {value} · {timing}',
203
+ settingRefused: '✗ read-only key: {line}',
204
+ settingInvalid: '✗ invalid value: {line}',
205
+ settingConflict: '! the contract changed under the editor (fingerprint mismatch) — nothing written; reloaded',
206
+ settingWriteError: '✗ write failed (file unchanged): {line}',
207
+ settingsRefusedRoute: 'read-only key: edit .pi/team/config.sh by hand',
208
+ settingsSeatHint: 'seat model: team config set-agent-model {seat} <model>',
209
+ settingsPairlistHint: 'seat models: team config set-agent-model <seat> <model|-> — this row’s editor is the seats block (Enter moves there; the pair list is never composed here)',
210
+ settingsCliHint: 'CLI: team config set {key} <value>',
211
+ settingsRefusedHint: 'read-only: edit {key} in .pi/team/config.sh by hand',
212
+ settingsUnknownHint: 'unknown key: {key} is in the file but not in the command schema',
213
+ settingsChoiceTitle: 'Choose a value for {label} · {key}',
214
+ settingsChoiceHint: '↑/↓ choose · Enter writes that value now (danger needs one more) · only free text opens the editor · Esc back',
215
+ settingsChoiceCurrent: 'current',
216
+ settingsChoiceDefault: 'default',
217
+ settingsChoiceKeepUnset: 'keep unset (cancel writes nothing and leaves no audit line)',
218
+ settingsChoiceClear: 'clear (write the empty value)',
219
+ settingsChoiceFree: '… (free text)',
220
+ settingsChoiceInterval: 'accepted interval {min}–{max} (empty = unbounded)',
221
+ settingsChoiceNoChoice: 'the kind {kind} has no choice set; the command still validates the write (Enter opens free text)',
222
+ settingsChoicePairlist: 'The seats block is this row’s editor (command: team config set-agent-model <seat> <model|->)',
223
+ settingsBoolOn: 'on (1)',
224
+ settingsBoolOff: 'off (0)',
225
+ settingsPathExists: 'exists',
226
+ settingsPathMissing: 'missing',
227
+ settingsPathNotExec: 'not executable',
228
+ seatPickerTitle: 'Pick the model for {seat}',
229
+ seatPickerHint: '↑/↓ select · Enter edit that value · Esc back (a running window keeps its model until the next dispatch/resume)',
230
+ seatPickerRemove: '- (remove the override, fall back to the default)',
231
+ seatPickerFree: '… (free text provider/model)',
232
+ settingSeatConfirm: 'Confirm seat {seat}: {old} → {next} · takes effect on the next dispatch/resume (a running window keeps its model) (Enter again to write)',
233
+ settingSeatWritten: '✓ wrote seat {seat} = {value} · effective on the next dispatch/resume',
234
+ settingSeatRemoved: '✓ removed the override of seat {seat} · back to the default {value}',
235
+ keySeatPick: 'Enter select',
236
+ seatSourceConfig: 'config',
237
+ seatSourceExplicit: 'explicit',
238
+ seatSourceRecord: 'stale record',
239
+ seatOverride: 'override',
240
+ seatFallback: 'fallback',
241
+
242
+ // The human labels of the contract keys (M49): one per key of `lib/cmd-config.sh`'s schema, and
243
+ // the row's main text — the bare TEAM_* stays where it aligns with the CLI (the editor's title,
244
+ // the confirmation line, the view's command hint). A key the schema does not know has no label
245
+ // and falls back to its raw name (`keyLabel()`). Completeness is asserted by
246
+ // tests/panel-strings.mjs (schema ↔ both tables, both directions). Order follows the schema.
247
+ // -- identity and ledger layout (read-only)
248
+ label_TEAM_PROJECT: 'Project name',
249
+ label_TEAM_SESSION: 'Session name',
250
+ label_TEAM_PM_WINDOW: 'PM window',
251
+ label_TEAM_AGENTS: 'Roster',
252
+ label_TEAM_DOCS_DIR: 'Ledger dir',
253
+ label_TEAM_WORKTREES_DIR: 'Worktree dir',
254
+ label_TEAM_STATE_DIR: 'State dir',
255
+ label_TEAM_MEETINGS_DIR: 'Meeting dir',
256
+ label_TEAM_SPEC_DIR: 'Spec dir',
257
+ label_TEAM_ROOT: 'Project root',
258
+ label_TEAM_MAIN_ROOT: 'Main checkout root',
259
+ label_TEAM_CONFIG_FILE: 'Contract file',
260
+ // -- branch and forge (read-only)
261
+ label_TEAM_BRANCH_MODE: 'Branch naming mode',
262
+ label_TEAM_TASK_BRANCH_PREFIX: 'Task branch prefix',
263
+ label_TEAM_AGENT_BRANCH_PREFIX: 'Seat branch prefix',
264
+ label_TEAM_PROTECTED_BRANCH: 'Protected branch',
265
+ label_TEAM_REMOTE: 'Remote',
266
+ label_TEAM_VCS: 'Forge',
267
+ label_TEAM_TOKEN_FILE: 'Token file',
268
+ label_TEAM_GITLAB_HOST: 'GitLab host',
269
+ label_TEAM_GITLAB_PROJECT: 'GitLab project',
270
+ label_TEAM_GITLAB_TOKEN_FILE: 'GitLab token file',
271
+ label_TEAM_MERGE_PREFER_THEIRS: 'Prefer branch side',
272
+ // -- permissions and dependencies (read-only)
273
+ label_TEAM_CONFIRM_WRITES: 'Confirm writes',
274
+ label_TEAM_ALLOW_FOREIGN_IDENTITY: 'Allow foreign ID',
275
+ label_TEAM_ALLOW_FOREIGN_SESSION: 'Allow foreign window',
276
+ label_TEAM_GUARD_FOREIGN_TARGET: 'Guard foreign targets',
277
+ label_TEAM_REPLACE_FOREIGN_PM: 'Replace foreign PM',
278
+ label_TEAM_ALLOW_DESTRUCTIVE_TMUX: 'Allow destructive ops',
279
+ label_TEAM_ASSUME_YES: 'Assume yes',
280
+ label_TEAM_REQUIRE_JS: 'Require JS runtime',
281
+ label_TEAM_REQUIRE_OPENSPEC: 'Require OpenSpec',
282
+ label_TEAM_REQUIRE_MAGIC_CONTEXT: 'Require Magic Context',
283
+ label_TEAM_PI_AGENT_DIR: 'Pi agent dir',
284
+ label_TEAM_PI_SETTINGS_FILE: 'Pi settings file',
285
+ label_TEAM_MEMINFO_FILE: 'meminfo file',
286
+ label_TEAM_DISK_STATS_FILE: 'Disk stats fixture',
287
+ label_TEAM_SMOKE_FAST: 'Smoke fast mode',
288
+ // -- roster, model resolution and adapters
289
+ label_TEAM_MODEL_LIMITS: 'Concurrency limits',
290
+ label_TEAM_MODEL_WINDOWS: 'Context windows',
291
+ label_TEAM_SESSION_WARN_TOKENS: 'Context warn tokens',
292
+ label_TEAM_EXTRA_PI_ARGS: 'Seat extra args',
293
+ label_TEAM_AGENT_CMD: 'Seat launch command',
294
+ label_TEAM_AGENT_NOTIFY_CMD: 'Turn-end notify cmd',
295
+ label_TEAM_AGENT_LOG_GLOB: 'Seat log glob',
296
+ label_TEAM_PI_BIN: 'pi binary',
297
+ label_TEAM_AGENT_BIN: 'Seat binary',
298
+ label_TEAM_OPENSPEC_BIN: 'openspec binary',
299
+ label_TEAM_JS_BIN: 'JS runtime',
300
+ // -- per-seat models (needs a restart)
301
+ label_TEAM_DEFAULT_MODEL: 'Default model',
302
+ label_TEAM_AGENT_MODELS: 'Per-seat models',
303
+ label_TEAM_PM_MODEL: 'PM model',
304
+ // -- workflow and gates
305
+ label_TEAM_GATES: 'Gate commands',
306
+ label_TEAM_INSTALL_CMD: 'Install command',
307
+ label_TEAM_TASK_BRANCH_RESET: 'Reset task branch',
308
+ label_TEAM_DISPATCH_VERIFY_SEC: 'Dispatch check wait',
309
+ label_TEAM_DISPATCH_ALIVE_SEC: 'Alive check wait',
310
+ label_TEAM_SQUASH_LOOKBACK: 'Squash look-back',
311
+ label_TEAM_REVIEW_TIMEOUT: 'Review timeout',
312
+ label_TEAM_REVIEW_TIMEOUT_GRACE: 'Timeout grace',
313
+ label_TEAM_REVIEW_ALLOW_DIRTY: 'Allow dirty checkout',
314
+ label_TEAM_REVIEW_ALLOW_IGNORED: 'Allow ignored files',
315
+ label_TEAM_REVIEW_ALLOW_UNRESOLVED_BRANCH: 'Allow unresolved tip',
316
+ label_TEAM_REVIEW_ANY_DIR: 'Skip checkout guard',
317
+ label_TEAM_BOARD_DONE_FORCE: 'Force board done',
318
+ label_TEAM_BOARD_DONE_REASON: 'Force-done reason',
319
+ // -- capacity and delivery
320
+ label_TEAM_MIN_FREE_SWAP_MB: 'Free swap floor',
321
+ label_TEAM_MIN_TOTAL_MB: 'RAM+swap floor',
322
+ label_TEAM_MIN_AVAIL_MB: 'Free memory floor',
323
+ label_TEAM_TMP_MIN_FREE_MB: 'Temp root space floor',
324
+ label_TEAM_TMP_MIN_FREE_INODES: 'Temp root inode floor',
325
+ label_TEAM_WARN_AVAIL_MB: 'Memory warn line',
326
+ label_TEAM_ZRAM_WARN_PCT: 'zram warn percent',
327
+ label_TEAM_AGENT_MEM_MB: 'Seat memory cap',
328
+ label_TEAM_NOTIFY_TMUX: 'tmux delivery',
329
+ label_TEAM_NOTIFY_DEDUP_SEC: 'Notify dedup window',
330
+ label_TEAM_INBOX_MAX_CHARS: 'Inbox summary chars',
331
+ label_TEAM_NOTIFY_LOG: 'Notify debug log',
332
+ label_TEAM_DEFER_TTL: 'Queued delivery TTL',
333
+ label_TEAM_OUTBOX_MAX: 'Outbox cap',
334
+ label_TEAM_PANEL_DETAIL_CAP: 'Detail read cap',
335
+ // -- pulse and panel (needs a restart)
336
+ label_TEAM_PULSE_INTERVAL: 'Patrol interval',
337
+ label_TEAM_MONITOR_REFRESH: 'Panel refresh period',
338
+ label_TEAM_MONITOR_EVENTS: 'Initial event rows',
339
+ label_TEAM_MONITOR_UI: 'Panel renderer',
340
+ label_TEAM_MONITOR_ACTIVITY: 'Activity column',
341
+ label_TEAM_AGENT_LOG_TAIL_BYTES: 'Log tail read cap',
342
+ label_TEAM_PULSE_WINDOW: 'Pulse window name',
343
+ // -- patrol policy
344
+ label_TEAM_PULSE_NUDGE_GAP: 'Nudge gap',
345
+ label_TEAM_PULSE_PENDING_BOARD: 'Wake on board to-do',
346
+ label_TEAM_PULSE_REBUILD_TMUX: 'Rebuild tmux server',
347
+ label_TEAM_PULSE_MAX_RESTARTS: 'Max auto-restarts',
348
+ // -- PM lifecycle (needs a restart)
349
+ label_TEAM_PM_SESSION_ID: 'PM session id',
350
+ label_TEAM_PM_CMD: 'PM launch command',
351
+ label_TEAM_PM_BIN: 'PM binary',
352
+ label_TEAM_PM_EXTRA_PI_ARGS: 'PM extra args',
353
+ label_TEAM_PM_RESUME_ARGS: 'PM resume args',
354
+ label_TEAM_PM_START_WAIT: 'PM start wait',
355
+ // -- live sessions (needs a restart)
356
+ label_TEAM_INBOX_WATCH_MAX_BYTES: 'Watcher read cap',
357
+ label_TEAM_INBOX_WATCH_PREVIEW: 'Preview lines',
358
+ label_TEAM_INBOX_WATCH_REPLAY_MAX: 'Replay cap',
359
+ label_TEAM_INBOX_WATCH_SEEN_MAX: 'Seen-record cap',
360
+ label_TEAM_INBOX_WATCH_STALE: 'Stale threshold',
361
+ label_TEAM_INBOX_WATCH_STALE_SEC: 'Wake freshness (s)',
362
+ label_TEAM_INBOX_WATCH_FORCE_FAIL: 'Force watch failure',
363
+ label_TEAM_IW_REQUIRE_WATCH: 'Strict gate mode',
364
+ label_TEAM_INBOX_WATCH_POLL_MS: 'Poll interval',
365
+ label_TEAM_INBOX_WATCH_HEARTBEAT_MS: 'Heartbeat interval',
366
+ label_TEAM_INBOX_WATCH_TARGET: 'Delivery target',
367
+ label_TEAM_BG_LOG_MAX_BYTES: 'Background log cap',
368
+ // -- signal discipline (P159)
369
+ label_TEAM_SIGNAL_CALLS_LOG: 'Signal call log',
370
+ label_TEAM_SIGNAL_REAL: 'Real signal tool',
371
+ label_TEAM_BG_STOP_GRACE: 'Job stop grace',
372
+ // -- cross-project meetings
373
+ label_TEAM_MEETING_TTL_HOURS: 'Meeting TTL',
374
+ label_TEAM_MEETING_MAX_TURNS: 'Meeting turn cap',
375
+ label_TEAM_MEETING_KNOCK: 'Allow knocking',
376
+ label_TEAM_MEETING_ALLOW_USER_ID: 'Users who may knock',
377
+
378
+ // Global keys (footer)
379
+ keyCompose: 'm compose',
380
+ keyFlush: 'f flush',
381
+ keyStandby: 's standby',
382
+ keySettings: ', settings',
383
+ keyPages: 'Tab/1-4 pages',
384
+ keyScroll: '↑/↓ scroll',
385
+ keyLanes: '←/→ lanes',
386
+ keyCards: '↑/↓ cards',
387
+ keyFold: 'c fold',
388
+ keyRows: '↑/↓ rows',
389
+ keyOpen: 'Enter open',
390
+ keyDetailClose: 'Esc/q back',
391
+ keyDetailTabs: '←/→ file',
392
+ keyDetailScroll: '↑/↓ scroll',
393
+ keyQuit: 'q collapse',
394
+
395
+ // Input line and receipts
396
+ composeHint: 'Enter send · C-j newline · Esc cancel (draft kept) · C-o editor',
397
+ composeHiddenAbove: '↑{n} rows',
398
+ composeReasonHint: 'Enter standby · C-j newline (as a space) · Esc cancel',
399
+ composeTitle: 'Message',
400
+ composeStandbyTitle: 'Standby reason',
401
+ receiptDelivered: '✓ delivered to the PM · delivered',
402
+ receiptQueued: '… queued (the PM is typing) · queued',
403
+ receiptHeld: '! held (copy under state/outbox/held/) · held',
404
+ receiptError: '✗ delivery unconfirmed · {detail}',
405
+ flushOk: '✓ flush · {detail}',
406
+ flushFail: '✗ flush failed · {detail}',
407
+ standbyOkOn: '✓ standby on (reason: {reason})',
408
+ standbyOkOff: '✓ standby off',
409
+ standbyFail: '✗ standby failed · {detail}',
410
+ busySend: 'sending…',
411
+ busyAction: 'working…',
412
+ editorClosed: 'editor closed: draft {n} chars',
413
+ noTeamCli: 'teamsmith CLI not found',
414
+ sendUnconfirmed: 'delivery unconfirmed (no result token)',
415
+ queuePending: 'the queue still holds entries',
416
+ }
@@ -0,0 +1,65 @@
1
+ // The language tables, selected by the `lang` preference, and the one substitution helper.
2
+ //
3
+ // `TABLES` is the single lookup point: the layout takes a `Strings` object as an argument and never
4
+ // imports a concrete table, which is what makes the language switch a repaint rather than a reload.
5
+ // The tables themselves are plain ESM (JSDoc-typed) so `tests/panel-strings.mjs` can import them
6
+ // with any JS runtime — including one without a TypeScript loader.
7
+
8
+ import { en } from './en.js'
9
+ import { zh } from './zh.js'
10
+ import { dispWidth } from '../width.js'
11
+ import type { Strings } from './types.js'
12
+
13
+ export type { Strings } from './types.js'
14
+
15
+ export const TABLES = { zh, en } as const
16
+
17
+ export type Lang = keyof typeof TABLES
18
+
19
+ export function isLang(value: string): value is Lang {
20
+ return value === 'zh' || value === 'en'
21
+ }
22
+
23
+ /** The table for a language; unknown values fall back to `zh` (the default UI language). */
24
+ export function stringsFor(lang: string): Strings {
25
+ return isLang(lang) ? TABLES[lang] : TABLES.zh
26
+ }
27
+
28
+ /** The five settings-overlay labels — the keys the overlay's column plan has to hold. */
29
+ const OVERLAY_LABEL_KEYS = ['prefLang', 'prefDefaultPage', 'prefActivity', 'prefMouse', 'prefDensity'] as const satisfies readonly (keyof Strings)[]
30
+
31
+ /**
32
+ * The settings overlay's key column, in display cells: the widest of those five labels over *both*
33
+ * tables (`activity column` = 15 beats zh `默认页面` = 8). One width for both languages, so
34
+ * switching the language repaints the same geometry and the value column never migrates; derived
35
+ * from the tables themselves, so a longer label widens the column instead of silently touching the
36
+ * value.
37
+ */
38
+ export const OVERLAY_LABEL_W: number = OVERLAY_LABEL_KEYS.reduce(
39
+ (max, key) => Math.max(max, dispWidth(zh[key]), dispWidth(en[key])),
40
+ 0,
41
+ )
42
+
43
+ /** `{name}` substitution; a missing key yields the key itself so a gap is visible, not silent. */
44
+ export function fill(template: string, vars: Record<string, string | number>): string {
45
+ return String(template).replace(/\{(\w+)\}/g, (whole, name: string) =>
46
+ Object.prototype.hasOwnProperty.call(vars, name) ? String(vars[name]) : whole,
47
+ )
48
+ }
49
+
50
+ /** The label prefix of a contract key in the tables: `TEAM_PROJECT` → `label_TEAM_PROJECT`. */
51
+ const KEY_LABEL_PREFIX = 'label_'
52
+
53
+ /**
54
+ * The human label of a contract key (M49), looked up in the table by the key the **command**
55
+ * reported — the panel carries no key list of its own, so a key added to the schema still shows up
56
+ * (its row, class and default come from the command); a key the table has no label for (a key the
57
+ * schema does not know, e.g. hand-added to the file) falls back to its **raw name**, which is
58
+ * deliberate: a nameless row would be worse, and the raw name is what the file and the CLI carry.
59
+ *
60
+ * Static lookup, no file read: the render path stays inside the CPU contract.
61
+ */
62
+ export function keyLabel(s: Strings, name: string): string {
63
+ const label = s[KEY_LABEL_PREFIX + name]
64
+ return typeof label === 'string' && label.length > 0 ? label : String(name)
65
+ }
@@ -0,0 +1,9 @@
1
+ // The shape every language table satisfies.
2
+ //
3
+ // A flat `key → string` map is deliberate: the key-set assertion (`tests/panel-strings.mjs`) is a
4
+ // plain set comparison, the placeholder check is a token comparison, and the layout can substitute
5
+ // with `fill()`. Values carry `{placeholders}`; both tables must use the same ones per key.
6
+
7
+ export interface Strings {
8
+ readonly [key: string]: string
9
+ }