@2cmddev/2cmd 0.0.0-stage → 0.1.5

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 (93) hide show
  1. package/.opencode/command/2cmd-audit.md +5 -0
  2. package/.opencode/command/2cmd-debt.md +5 -0
  3. package/.opencode/command/2cmd-gain.md +5 -0
  4. package/.opencode/command/2cmd-help.md +5 -0
  5. package/.opencode/command/2cmd-review.md +5 -0
  6. package/.opencode/command/2cmd.md +5 -0
  7. package/.opencode/plugins/2cmd-frontmatter.cjs +63 -0
  8. package/.opencode/plugins/2cmd.mjs +206 -0
  9. package/.opencode/plugins/index.js +4 -0
  10. package/.qoder/rules/2cmd.md +31 -0
  11. package/.qoder-plugin/plugin.json +16 -0
  12. package/.zcode-plugin/plugin.json +13 -0
  13. package/AGENTS.md +33 -0
  14. package/LICENSE +22 -0
  15. package/README.md +133 -2
  16. package/codex/answer.mjs +164 -0
  17. package/codex/data.mjs +31 -0
  18. package/codex/pty.py +80 -0
  19. package/codex/stats.mjs +105 -0
  20. package/codex/terminal.mjs +388 -0
  21. package/dsh/LICENSE +22 -0
  22. package/dsh/board.js +782 -0
  23. package/dsh/build.mjs +47 -0
  24. package/dsh/bundle.json +2104 -0
  25. package/dsh/client.js +877 -0
  26. package/dsh/cordis.patch.yml +3 -0
  27. package/dsh/index.js +185 -0
  28. package/dsh/ledger.js +50 -0
  29. package/dsh/market.js +152 -0
  30. package/dsh/package.json +24 -0
  31. package/dsh/prices.json +1812 -0
  32. package/dsh/settings-text.mjs +520 -0
  33. package/dsh/settings.js +42 -0
  34. package/dsh/stats.js +106 -0
  35. package/dsh/store.js +32 -0
  36. package/dsh/update-prices.mjs +9 -0
  37. package/dsh/update.js +27 -0
  38. package/dsh/voice-helper/Info.plist +13 -0
  39. package/dsh/voice-helper/Transcript.swift +21 -0
  40. package/dsh/voice-helper/build.sh +10 -0
  41. package/dsh/voice-helper/main.swift +70 -0
  42. package/dsh/voice-helper/test.swift +17 -0
  43. package/dsh/voice.js +63 -0
  44. package/hooks/2cmd-activate.js +219 -0
  45. package/hooks/2cmd-antigravity.js +64 -0
  46. package/hooks/2cmd-band-import.js +305 -0
  47. package/hooks/2cmd-config.js +186 -0
  48. package/hooks/2cmd-instructions.js +104 -0
  49. package/hooks/2cmd-map.js +200 -0
  50. package/hooks/2cmd-mode-tracker.js +248 -0
  51. package/hooks/2cmd-runtime.js +245 -0
  52. package/hooks/2cmd-statusline.ps1 +24 -0
  53. package/hooks/2cmd-statusline.sh +18 -0
  54. package/hooks/2cmd-subagent.js +100 -0
  55. package/hooks/band/board.ts +720 -0
  56. package/hooks/band/buttons.ts +60 -0
  57. package/hooks/band/i18n/de.ts +149 -0
  58. package/hooks/band/i18n/en.ts +150 -0
  59. package/hooks/band/i18n/es.ts +149 -0
  60. package/hooks/band/i18n/fr.ts +149 -0
  61. package/hooks/band/i18n/index.ts +42 -0
  62. package/hooks/band/i18n/ja.ts +149 -0
  63. package/hooks/band/i18n/ko.ts +149 -0
  64. package/hooks/band/i18n/pt.ts +149 -0
  65. package/hooks/band/i18n/ru.ts +149 -0
  66. package/hooks/band/i18n/vi.ts +149 -0
  67. package/hooks/band/i18n/zh-Hans.ts +149 -0
  68. package/hooks/band/i18n/zh-Hant.ts +149 -0
  69. package/hooks/band/logo.ts +3 -0
  70. package/hooks/band/metrics.ts +373 -0
  71. package/hooks/band/register.tsx +681 -0
  72. package/hooks/band/types.d.ts +45 -0
  73. package/hooks/band/windows-board.mjs +20 -0
  74. package/hooks/claude-band.json +6 -0
  75. package/hooks/claude-codex-hooks.json +41 -0
  76. package/hooks/codebuddy-hooks.json +20 -0
  77. package/hooks/copilot-hooks.json +21 -0
  78. package/hooks/cursor-hooks.json +17 -0
  79. package/hooks/qoder-hooks.json +26 -0
  80. package/hooks/zcode-hooks.json +26 -0
  81. package/package.json +56 -4
  82. package/pi-extension/index.js +258 -0
  83. package/pi-extension/names.js +19 -0
  84. package/pi-extension/package.json +8 -0
  85. package/scripts/cursor-hooks.js +145 -0
  86. package/scripts/uninstall.js +92 -0
  87. package/skills/2cmd/SKILL.md +55 -0
  88. package/skills/2cmd-audit/SKILL.md +105 -0
  89. package/skills/2cmd-debt/SKILL.md +46 -0
  90. package/skills/2cmd-gain/SKILL.md +53 -0
  91. package/skills/2cmd-help/SKILL.md +87 -0
  92. package/skills/2cmd-review/SKILL.md +143 -0
  93. package/skills/plugin.json +5 -0
@@ -0,0 +1,60 @@
1
+ // The panel's three buttons before Board and Less. Shared by Claude Code, DSH, Codex and ZCode.
2
+ // Every button but Copy puts one sentence in the message box; the person sends it.
3
+
4
+ export type ButtonKind = 'fix' | 'commit' | 'push' | 'copy' | 'review' | 'audit' | 'tool' | 'prompt' | 'none'
5
+ export type PanelButton = { kind: ButtonKind; label?: string; text?: string }
6
+
7
+ /** Each host's skill commands; `tool` is the host's own code review, which DSH, Codex, ZCode, Antigravity and WorkBuddy do not have. */
8
+ export const COMMANDS = {
9
+ claude: { fix: '/2cmd:2cmd-review fix', commit: '/2cmd:2cmd-review commit', push: '/2cmd:2cmd-review push', review: '/2cmd:2cmd-review', audit: '/2cmd:2cmd-audit', tool: '/code-review' },
10
+ dsh: { fix: '/2cmd-review fix', commit: '/2cmd-review commit', push: '/2cmd-review push', review: '/2cmd-review', audit: '/2cmd-audit' },
11
+ codex: { fix: '$2cmd:2cmd-review fix', commit: '$2cmd:2cmd-review commit', push: '$2cmd:2cmd-review push', review: '$2cmd:2cmd-review', audit: '$2cmd:2cmd-audit' },
12
+ zcode: { fix: '/2cmd-review fix', commit: '/2cmd-review commit', push: '/2cmd-review push', review: '/2cmd-review', audit: '/2cmd-audit' },
13
+ antigravity: { fix: '/2cmd-review fix', commit: '/2cmd-review commit', push: '/2cmd-review push', review: '/2cmd-review', audit: '/2cmd-audit' },
14
+ workbuddy: { fix: '/2cmd-review fix', commit: '/2cmd-review commit', push: '/2cmd-review push', review: '/2cmd-review', audit: '/2cmd-audit' },
15
+ } as const
16
+ export type Host = keyof typeof COMMANDS
17
+
18
+ // Review and fix, then also commit, then also push: what people do after every change.
19
+ export const DEFAULT_BUTTONS: readonly PanelButton[] = [{ kind: 'fix' }, { kind: 'commit' }, { kind: 'push' }]
20
+ // The panel row has room for about this many characters per button.
21
+ export const MAX_LABEL = 8
22
+ export const MAX_TEXT = 4000
23
+
24
+ export const buttonKinds = (host: Host): ButtonKind[] => ['fix', 'commit', 'push', 'copy', 'review', 'audit', ...(host === 'claude' ? ['tool' as const] : []), 'prompt', 'none']
25
+
26
+ /** Anything stored or pasted comes back as three valid buttons; a broken one falls back to its default. */
27
+ export function normalizeButtons(value: unknown, host: Host): PanelButton[] {
28
+ const list = Array.isArray(value) ? value : []
29
+ // The defaults before 2026-12-02, saved untouched along with other settings, mean "not customized": show today's.
30
+ if (list.map(item => item?.kind).join() === 'copy,review,audit' && list.every(item => Object.keys(item).length === 1)) return [...DEFAULT_BUTTONS]
31
+ return DEFAULT_BUTTONS.map((fallback, i) => {
32
+ const item = list[i] as Partial<PanelButton> | undefined
33
+ const kind = item?.kind
34
+ if (kind === 'prompt') {
35
+ const label = typeof item?.label === 'string' ? item.label.replace(/\s+/g, ' ').trim() : ''
36
+ const text = typeof item?.text === 'string' ? item.text.trim() : ''
37
+ return label && [...label].length <= MAX_LABEL && text && text.length <= MAX_TEXT ? { kind, label, text } : fallback
38
+ }
39
+ return typeof kind === 'string' && (buttonKinds(host) as string[]).includes(kind) ? { kind } : fallback
40
+ })
41
+ }
42
+
43
+ /** The sentence a button puts in the box, or undefined for Copy and hidden buttons. */
44
+ export function buttonText(button: PanelButton, host: Host): string | undefined {
45
+ if (button.kind === 'prompt') return button.text
46
+ return (COMMANDS[host] as Record<string, string>)[button.kind]
47
+ }
48
+
49
+ // A command already in the box, with the fix/commit/push word a review button adds after it.
50
+ export const REPLACED = /^\/\S+(?:(?<=2cmd-review)\s+(?:fix|commit|push)(?=\s|$))?\s*/
51
+
52
+ /**
53
+ * A command goes first with the draft after it, replacing a command already there, so pressing Audit after Review
54
+ * does not stack them. Plain text goes at the cursor, so it returns undefined.
55
+ */
56
+ export function commandDraft(text: string, draft: string): string | undefined {
57
+ if (!text.startsWith('/')) return undefined
58
+ const rest = draft.trim().replace(REPLACED, '')
59
+ return rest ? `${text} ${rest}` : `${text} `
60
+ }
@@ -0,0 +1,149 @@
1
+ import type { Strings } from './en'
2
+
3
+ export const de: Strings = {
4
+ modeOff: "Aus",
5
+ hindsight: "Rückblick",
6
+ reuse: "Nachnutzen",
7
+ pushback: "Einspruch",
8
+ scout: "Vorbilder",
9
+ turnOn: "An",
10
+ turnOff: "Aus",
11
+ copy: "Kopieren",
12
+ review: "Review",
13
+ audit: "Audit",
14
+ reviewFix: "Fixen",
15
+ reviewCommit: "Commit",
16
+ reviewPush: "Push",
17
+ board: "Board",
18
+ expand: "Auf",
19
+ collapse: "Zu",
20
+ tipOn: "Regeln an, mit dem letzten Modus",
21
+ tipOff: "Chat ohne Regeln, KI arbeitet wie immer",
22
+ tipHindsight: "KI arbeitet erst, dann kommen Vorschläge",
23
+ tipReuse: "Erst wiederverwenden, dann neu schreiben",
24
+ tipPushback: "Hinterfragt Unnötiges, dann wie Nachnutzen",
25
+ tipScout: "Externe Ideen zur Wahl (Websuche nötig)",
26
+ tipLevel: "Aktueller Status, zum Wechseln klicken",
27
+ tipCopy: "Aufgabendaten kopieren, ohne Tokens",
28
+ btnCopied: "Kopiert",
29
+ btnReset: "Zurücksetzen",
30
+ btnHow: "In das Eingabefeld von Claude Code einfügen und Enter drücken. Geht an keine KI, kostet keine Tokens.",
31
+ btnCommand: "Befehl kopieren",
32
+ btnKind: "Art",
33
+ btnConfirm: "OK",
34
+ btnDone: "Befehl kopiert. In das Eingabefeld von Claude Code einfügen und Enter drücken.",
35
+ btnApplied: "Schaltflächen aktualisiert",
36
+ btnInvalid: "Namen (höchstens 8 Zeichen) und Text eingeben",
37
+ btnSave: "Speichern",
38
+ btnText: "Text für das Eingabefeld",
39
+ btnName: "Name",
40
+ btnNone: "Ausgeblendet",
41
+ btnCustom: "Eigene",
42
+ btnTool: "Eigenes Code-Review des Tools",
43
+ btnAudit: "2Cmd-Audit",
44
+ btnReview: "2Cmd-Review",
45
+ btnFix: "2Cmd-Review + Fix",
46
+ btnCommit: "2Cmd-Review + Fix + Commit",
47
+ btnPush: "2Cmd-Review + Fix + Commit + Push",
48
+ btnCopy: "Statistik kopieren",
49
+ btnSlot: "Button {n}",
50
+ btnNote: "Board und Weniger bleiben. Ein Button setzt nur Text ins Feld; senden tun Sie.",
51
+ btnTitle: "Panel-Schaltflächen",
52
+ tipTool: "Ins Feld: das eigene Code-Review des Tools",
53
+ toolReview: "Code-Review",
54
+ tipReview: "Ins Feld: Änderung prüfen",
55
+ tipAudit: "Ins Feld: ganzes Projekt prüfen",
56
+ tipFix: "Ins Feld: prüfen und Fehler beheben",
57
+ tipCommit: "Ins Feld: prüfen, beheben, lokal committen",
58
+ tipPush: "Ins Feld: prüfen, beheben, committen, pushen",
59
+ tipBoard: "Lokale Projektdaten öffnen, ohne Tokens",
60
+ tipExpand: "Panel öffnen und Details zeigen",
61
+ tipCollapse: "Panel einklappen und Details ausblenden",
62
+ pending: "Nächste Nachr.",
63
+ current: "Aktueller Status",
64
+ cost: "Kosten",
65
+ tokens: "Tokens",
66
+ cache: "Cache-Treffer",
67
+ cacheSub: "Ø ({n}): {v} %",
68
+ time: "KI-Zeit",
69
+ callers: "Aufrufe prüfen",
70
+ tests: "Tests",
71
+ costSub: "zuletzt {last} · Ø {avg}",
72
+ last: "zuletzt {v}",
73
+ turnsN: "Runden: {n}",
74
+ avgTurn: "Ø {t} / Runde",
75
+ callersWarn: "Aufrufe prüfen: {n}",
76
+ untested: "Seit Änderung ungetestet",
77
+ afterChange: "nach Änderung",
78
+ lastRun: "letzter Lauf",
79
+ changedSince: "seither geändert",
80
+ passed: "bestanden",
81
+ failed: "fehlerhaft",
82
+ stale: "veraltet",
83
+ notRun: "nicht gelaufen",
84
+ hookStatus: "Webhook-Antwort: {n}",
85
+ hookDown: "Webhook nicht erreichbar",
86
+ hookInvalid: "Ungültige Webhook-URL",
87
+ hookHttps: "Webhook benötigt https",
88
+ ledgerFail: "Aufgabe konnte nicht gespeichert werden",
89
+ saveFail: "Modus konnte nicht gespeichert werden",
90
+ boardFail: "Board konnte nicht geöffnet werden",
91
+ copied: "Als Markdown kopiert",
92
+ copyFail: "Kopieren fehlgeschlagen: {r}",
93
+ project: "Projekt",
94
+ started: "Beginn",
95
+ model: "Modell",
96
+ turns: "Runden",
97
+ tokenDetail: "Eingabe {i}, Ausgabe {o}, Cache gelesen {r}, Cache geschrieben {w}",
98
+ mode: "2Cmd-Modus",
99
+ session: "Sitzung",
100
+ sessions: "Sitzungen",
101
+ untitled: "Sitzung ohne Titel",
102
+ projects: "Projekte",
103
+ allProjects: "Alle Projekte",
104
+ sessionsN: "Sitzungen: {n}",
105
+ sinceN: "Sitzungen: {n} · seit {d}",
106
+ projectsN: "Projekte: {n}",
107
+ allTime: "Gesamter Zeitraum",
108
+ lastDays: "Letzte {n} T",
109
+ vsPrev: "ggü. {n} T davor",
110
+ days: "{n} T",
111
+ longest: "Längste: {n} T",
112
+ all: "Alle",
113
+ noPeriod: "Keine Sitzungen in diesem Zeitraum",
114
+ noMatch: "Keine passenden Sitzungen",
115
+ noSessions: "Noch keine Sitzungen. Sie erscheinen nach der ersten Runde.",
116
+ noSession: "keine Sitzung",
117
+ less: "Weniger",
118
+ more: "Mehr",
119
+ busiest: "Aktivster Tag",
120
+ longestSession: "Längste Sitzung",
121
+ avgSession: "Ø Zeit pro Sitzung",
122
+ avgCost: "Ø Kosten pro Sitzung",
123
+ theme: "Design: {a}",
124
+ switchTo: "Wechseln zu: {a}",
125
+ dark: "dunkel",
126
+ light: "hell",
127
+ system: "System",
128
+ localBoard: "Lokales Board",
129
+ period: "Zeitraum",
130
+ metric: "Messwert",
131
+ share: "Karte teilen",
132
+ perDay: "Nach Projekt und Tag",
133
+ search: "Sitzungen suchen",
134
+ activity: "Aktivität",
135
+ activity12: "KI-Zeit pro Tag, letzte 12 Wochen",
136
+ activeDays: "Aktive Tage",
137
+ streak: "Serie",
138
+ measured: "in Claude Code gemessen",
139
+ footer: "Daten aus dem Panel in Claude Code. Kosten sind eine API-Schätzung (/cost), keine Rechnung.",
140
+ cmpTitle: "Mit und ohne 2Cmd",
141
+ cmpCost: "Kosten pro Aufgabe",
142
+ cmpOutput: "Ausgabe-Tokens pro Runde",
143
+ cmpTurns: "Runden pro Aufgabe",
144
+ cmpNote: "Mediane, gepaart nach Projekt und Modell · {on} mit, {off} ohne · zeigt einen Zusammenhang, keinen Beweis",
145
+ cmpShort: "Noch zu wenige Aufgaben: {on} mit und {off} ohne 2Cmd im selben Projekt und Modell; je {n} sind nötig.",
146
+ savePng: "PNG speichern",
147
+ saveSvg: "SVG speichern",
148
+ close: "Schließen",
149
+ }
@@ -0,0 +1,150 @@
1
+ // English is the source: a new language copies these keys and keeps every {placeholder}.
2
+ export const en = {
3
+ modeOff: "Off",
4
+ hindsight: "Hindsight",
5
+ reuse: "Reuse First",
6
+ pushback: "Pushback",
7
+ scout: "Scout",
8
+ turnOn: "Turn on",
9
+ turnOff: "Turn off",
10
+ copy: "Copy",
11
+ review: "Review",
12
+ audit: "Audit",
13
+ reviewFix: "Fix",
14
+ reviewCommit: "Commit",
15
+ reviewPush: "Push",
16
+ board: "Board",
17
+ expand: "More",
18
+ collapse: "Less",
19
+ tipOn: "Turn rules on, restoring your last mode",
20
+ tipOff: "Rules off in this chat, AI works as usual",
21
+ tipHindsight: "AI finishes first, then suggests improvements",
22
+ tipReuse: "Reuse first, write new code only if needed",
23
+ tipPushback: "Questions needless work, then as Reuse First",
24
+ tipScout: "Finds outside ideas to pick (needs web search)",
25
+ tipLevel: "Current status, click to expand and switch",
26
+ tipCopy: "Copy this task’s stats, uses no tokens",
27
+ btnCopied: "Copied",
28
+ btnReset: "Reset",
29
+ btnHow: "Paste it into Claude Code’s message box and press Enter. It goes to no AI and uses no tokens.",
30
+ btnCommand: "Copy command",
31
+ btnKind: "Type",
32
+ btnConfirm: "OK",
33
+ btnDone: "Command copied. Paste it into Claude Code's message box and press Enter.",
34
+ btnApplied: "Panel buttons updated",
35
+ btnInvalid: "Enter a name of up to 8 characters and some text",
36
+ btnSave: "Save",
37
+ btnText: "Command or text",
38
+ btnName: "Name",
39
+ btnNone: "Hidden",
40
+ btnCustom: "Custom",
41
+ btnTool: "The tool’s own code review",
42
+ btnAudit: "2Cmd audit",
43
+ btnReview: "2Cmd review",
44
+ btnFix: "2Cmd review + fix",
45
+ btnCommit: "2Cmd review + fix + commit",
46
+ btnPush: "2Cmd review + fix + commit + push",
47
+ btnCopy: "Copy stats",
48
+ btnSlot: "Button {n}",
49
+ btnNote: "Board and Less always show. A button only puts text in the message box; you send it.",
50
+ btnTitle: "Panel buttons",
51
+ tipTool: "Puts the tool’s own /code-review in the box",
52
+ toolReview: "Code review",
53
+ tipReview: "Puts a change review in the box",
54
+ tipAudit: "Puts a whole-project review in the box",
55
+ tipFix: "Puts review and fix in the box",
56
+ tipCommit: "Puts review, fix and a local commit in the box",
57
+ tipPush: "Puts review, fix, commit and push in the box",
58
+ tipBoard: "Open local stats for all projects, no tokens",
59
+ tipExpand: "Expand the panel and show details",
60
+ tipCollapse: "Collapse the panel and hide details",
61
+ pending: "Next message",
62
+ current: "Current status",
63
+ cost: "Cost",
64
+ tokens: "Tokens",
65
+ cache: "Cache hits",
66
+ cacheSub: "{n}-turn avg {v}%",
67
+ time: "Agent time",
68
+ callers: "Check callers",
69
+ tests: "Tests",
70
+ costSub: "last {last} · avg {avg}",
71
+ last: "last {v}",
72
+ turnsN: "Turns: {n}",
73
+ avgTurn: "avg {t} / turn",
74
+ callersWarn: "Check callers: {n}",
75
+ untested: "Not tested since change",
76
+ afterChange: "after last change",
77
+ lastRun: "last run",
78
+ changedSince: "changed since",
79
+ passed: "passed",
80
+ failed: "failed",
81
+ stale: "outdated",
82
+ notRun: "not run",
83
+ hookStatus: "Webhook returned {n}",
84
+ hookDown: "Webhook unreachable",
85
+ hookInvalid: "Invalid webhook URL",
86
+ hookHttps: "Webhook needs https",
87
+ ledgerFail: "Could not save task stats",
88
+ saveFail: "Could not save the mode",
89
+ boardFail: "Could not open the board",
90
+ copied: "Copied as Markdown",
91
+ copyFail: "Copy failed: {r}",
92
+ project: "Project",
93
+ started: "Started",
94
+ model: "Model",
95
+ turns: "Turns",
96
+ tokenDetail: "input {i}, output {o}, cache read {r}, cache write {w}",
97
+ mode: "2Cmd mode",
98
+ session: "Session",
99
+ sessions: "Sessions",
100
+ untitled: "Untitled session",
101
+ projects: "Projects",
102
+ allProjects: "All projects",
103
+ sessionsN: "Sessions: {n}",
104
+ sinceN: "Sessions: {n} · since {d}",
105
+ projectsN: "Projects: {n}",
106
+ allTime: "All time",
107
+ lastDays: "Last {n} d",
108
+ vsPrev: "vs previous {n} d",
109
+ days: "{n} d",
110
+ longest: "Longest: {n} d",
111
+ all: "All",
112
+ noPeriod: "No sessions in this period",
113
+ noMatch: "No matching sessions",
114
+ noSessions: "No sessions yet. They appear after the first turn.",
115
+ noSession: "no session",
116
+ less: "Less",
117
+ more: "More",
118
+ busiest: "Busiest day",
119
+ longestSession: "Longest session",
120
+ avgSession: "Average time per session",
121
+ avgCost: "Average cost per session",
122
+ theme: "Theme: {a}",
123
+ switchTo: "Switch to: {a}",
124
+ dark: "dark",
125
+ light: "light",
126
+ system: "system",
127
+ localBoard: "Local board",
128
+ period: "Period",
129
+ metric: "Metric",
130
+ share: "Share card",
131
+ perDay: "By project and day",
132
+ search: "Search sessions",
133
+ activity: "Activity",
134
+ activity12: "Agent time per day, last 12 weeks",
135
+ activeDays: "Active days",
136
+ streak: "Streak",
137
+ measured: "measured in Claude Code",
138
+ footer: "Measured in Claude Code. Cost is its API-price estimate (/cost), not a bill.",
139
+ cmpTitle: "With vs without 2Cmd",
140
+ cmpCost: "Cost per task",
141
+ cmpOutput: "Output tokens per turn",
142
+ cmpTurns: "Turns per task",
143
+ cmpNote: "Medians of tasks paired by project and model · {on} with, {off} without · shows a link, not proof",
144
+ cmpShort: "Not enough tasks yet: {on} with and {off} without 2Cmd in the same project and model; {n} of each needed.",
145
+ savePng: "Save PNG",
146
+ saveSvg: "Save SVG",
147
+ close: "Close",
148
+ }
149
+
150
+ export type Strings = Record<keyof typeof en, string>
@@ -0,0 +1,149 @@
1
+ import type { Strings } from './en'
2
+
3
+ export const es: Strings = {
4
+ modeOff: "Inactivo",
5
+ hindsight: "Repaso",
6
+ reuse: "Reutilizar",
7
+ pushback: "Réplica",
8
+ scout: "Explorar",
9
+ turnOn: "Encender",
10
+ turnOff: "Apagar",
11
+ copy: "Copiar",
12
+ review: "Revisar",
13
+ audit: "Auditar",
14
+ reviewFix: "Corregir",
15
+ reviewCommit: "Commit",
16
+ reviewPush: "Push",
17
+ board: "Panel",
18
+ expand: "Más",
19
+ collapse: "Menos",
20
+ tipOn: "Activa las reglas con el último modo",
21
+ tipOff: "Sin reglas en este chat, IA como siempre",
22
+ tipHindsight: "La IA termina y luego sugiere mejoras",
23
+ tipReuse: "Reutiliza primero, código nuevo si hace falta",
24
+ tipPushback: "Cuestiona lo innecesario; luego, Reutilizar",
25
+ tipScout: "Busca ideas fuera (requiere búsqueda web)",
26
+ tipLevel: "Estado actual, clic para abrir y cambiar",
27
+ tipCopy: "Copia los datos de la tarea, sin tokens",
28
+ btnCopied: "Copiado",
29
+ btnReset: "Restablecer",
30
+ btnHow: "Pégalo en el cuadro de Claude Code y pulsa Intro. No va a ninguna IA ni gasta tokens.",
31
+ btnCommand: "Copiar comando",
32
+ btnKind: "Tipo",
33
+ btnConfirm: "Aceptar",
34
+ btnDone: "Comando copiado. Pégalo en el cuadro de mensaje de Claude Code y pulsa Intro.",
35
+ btnApplied: "Botones actualizados",
36
+ btnInvalid: "Escribe un nombre de hasta 8 caracteres y un texto",
37
+ btnSave: "Guardar",
38
+ btnText: "Texto para el cuadro",
39
+ btnName: "Nombre",
40
+ btnNone: "Oculto",
41
+ btnCustom: "Personalizado",
42
+ btnTool: "Revisión propia de la herramienta",
43
+ btnAudit: "Auditoría 2Cmd",
44
+ btnReview: "Revisión 2Cmd",
45
+ btnFix: "Revisión 2Cmd + corrección",
46
+ btnCommit: "Revisión 2Cmd + corrección + commit",
47
+ btnPush: "Revisión 2Cmd + corrección + commit + push",
48
+ btnCopy: "Copiar datos",
49
+ btnSlot: "Botón {n}",
50
+ btnNote: "Panel y Menos siempre se muestran. Un botón solo pone texto en el cuadro; lo envías tú.",
51
+ btnTitle: "Botones del panel",
52
+ tipTool: "Al cuadro: revisión de la herramienta",
53
+ toolReview: "Revisión",
54
+ tipReview: "Al cuadro: revisar el cambio",
55
+ tipAudit: "Al cuadro: revisar todo el proyecto",
56
+ tipFix: "Al cuadro: revisar el cambio y corregir",
57
+ tipCommit: "Al cuadro: revisar, corregir y commit local",
58
+ tipPush: "Al cuadro: revisar, corregir, commit y push",
59
+ tipBoard: "Abre los datos locales, sin tokens",
60
+ tipExpand: "Abre el panel y muestra los detalles",
61
+ tipCollapse: "Cierra el panel y oculta los detalles",
62
+ pending: "Próximo msj.",
63
+ current: "Estado actual",
64
+ cost: "Coste",
65
+ tokens: "Tokens",
66
+ cache: "Aciertos caché",
67
+ cacheSub: "media ({n}): {v}%",
68
+ time: "Tiempo de IA",
69
+ callers: "Revisar usos",
70
+ tests: "Pruebas",
71
+ costSub: "últ. {last} · media {avg}",
72
+ last: "últ. {v}",
73
+ turnsN: "Turnos: {n}",
74
+ avgTurn: "media {t} / turno",
75
+ callersWarn: "Revisar usos: {n}",
76
+ untested: "Sin probar tras el cambio",
77
+ afterChange: "tras el último cambio",
78
+ lastRun: "última ejecución",
79
+ changedSince: "cambió después",
80
+ passed: "correctas",
81
+ failed: "fallidas",
82
+ stale: "desfasadas",
83
+ notRun: "sin ejecutar",
84
+ hookStatus: "Webhook respondió {n}",
85
+ hookDown: "No se puede conectar al webhook",
86
+ hookInvalid: "URL de webhook no válida",
87
+ hookHttps: "El webhook necesita https",
88
+ ledgerFail: "No se pudo guardar la tarea",
89
+ saveFail: "No se pudo guardar el modo",
90
+ boardFail: "No se pudo abrir el panel",
91
+ copied: "Copiado como Markdown",
92
+ copyFail: "Error al copiar: {r}",
93
+ project: "Proyecto",
94
+ started: "Inicio",
95
+ model: "Modelo",
96
+ turns: "Turnos",
97
+ tokenDetail: "entrada {i}, salida {o}, lectura de caché {r}, escritura de caché {w}",
98
+ mode: "Modo de 2Cmd",
99
+ session: "Sesión",
100
+ sessions: "Sesiones",
101
+ untitled: "Sesión sin título",
102
+ projects: "Proyectos",
103
+ allProjects: "Todos los proyectos",
104
+ sessionsN: "Sesiones: {n}",
105
+ sinceN: "Sesiones: {n} · desde {d}",
106
+ projectsN: "Proyectos: {n}",
107
+ allTime: "Todo el tiempo",
108
+ lastDays: "Últimos {n} d",
109
+ vsPrev: "frente a {n} d antes",
110
+ days: "{n} d",
111
+ longest: "Máximo: {n} d",
112
+ all: "Todo",
113
+ noPeriod: "No hay sesiones en este período",
114
+ noMatch: "No hay sesiones que coincidan",
115
+ noSessions: "Aún no hay sesiones. Aparecerán tras el primer turno.",
116
+ noSession: "sin sesiones",
117
+ less: "Menos",
118
+ more: "Más",
119
+ busiest: "Día más activo",
120
+ longestSession: "Sesión más larga",
121
+ avgSession: "Tiempo medio por sesión",
122
+ avgCost: "Coste medio por sesión",
123
+ theme: "Tema: {a}",
124
+ switchTo: "Cambiar a: {a}",
125
+ dark: "oscuro",
126
+ light: "claro",
127
+ system: "sistema",
128
+ localBoard: "Panel local",
129
+ period: "Período",
130
+ metric: "Métrica",
131
+ share: "Tarjeta para compartir",
132
+ perDay: "Por proyecto y día",
133
+ search: "Buscar sesiones",
134
+ activity: "Actividad",
135
+ activity12: "Tiempo diario de IA, últimas 12 semanas",
136
+ activeDays: "Días activos",
137
+ streak: "Racha",
138
+ measured: "medido en Claude Code",
139
+ footer: "Datos del panel de Claude Code. El coste es una estimación a precio de API (/cost), no una factura.",
140
+ cmpTitle: "Con y sin 2Cmd",
141
+ cmpCost: "Coste por tarea",
142
+ cmpOutput: "Tokens de salida por turno",
143
+ cmpTurns: "Turnos por tarea",
144
+ cmpNote: "Medianas de tareas emparejadas por proyecto y modelo · {on} con, {off} sin · muestra una relación, no una prueba",
145
+ cmpShort: "Aún faltan tareas: {on} con y {off} sin 2Cmd en el mismo proyecto y modelo; se necesitan {n} de cada.",
146
+ savePng: "Guardar PNG",
147
+ saveSvg: "Guardar SVG",
148
+ close: "Cerrar",
149
+ }
@@ -0,0 +1,149 @@
1
+ import type { Strings } from './en'
2
+
3
+ export const fr: Strings = {
4
+ modeOff: "Inactif",
5
+ hindsight: "Après-coup",
6
+ reuse: "Réutiliser",
7
+ pushback: "Objection",
8
+ scout: "Repérage",
9
+ turnOn: "Activer",
10
+ turnOff: "Couper",
11
+ copy: "Copier",
12
+ review: "Revue",
13
+ audit: "Audit",
14
+ reviewFix: "Corriger",
15
+ reviewCommit: "Commit",
16
+ reviewPush: "Push",
17
+ board: "Stats",
18
+ expand: "Plus",
19
+ collapse: "Moins",
20
+ tipOn: "Active les règles avec le dernier mode",
21
+ tipOff: "Sans règles dans ce chat, IA habituelle",
22
+ tipHindsight: "L’IA termine, puis suggère des idées",
23
+ tipReuse: "Réutilise d’abord, code neuf si besoin",
24
+ tipPushback: "Questionne l’inutile, puis comme Réutiliser",
25
+ tipScout: "Des idées au choix (recherche web requise)",
26
+ tipLevel: "État actuel, cliquez pour en changer",
27
+ tipCopy: "Copie les stats de la tâche, sans tokens",
28
+ btnCopied: "Copié",
29
+ btnReset: "Réinitialiser",
30
+ btnHow: "Collez-la dans la zone de Claude Code et appuyez sur Entrée. Rien n’est envoyé à l’IA, aucun token.",
31
+ btnCommand: "Copier la commande",
32
+ btnKind: "Type",
33
+ btnConfirm: "OK",
34
+ btnDone: "Commande copiée. Collez-la dans la zone de message de Claude Code et appuyez sur Entrée.",
35
+ btnApplied: "Boutons mis à jour",
36
+ btnInvalid: "Saisissez un nom de 8 caractères au plus et un texte",
37
+ btnSave: "Enregistrer",
38
+ btnText: "Texte à mettre dans la zone",
39
+ btnName: "Nom",
40
+ btnNone: "Masqué",
41
+ btnCustom: "Personnalisé",
42
+ btnTool: "Revue de code de l’outil",
43
+ btnAudit: "Audit 2Cmd",
44
+ btnReview: "Revue 2Cmd",
45
+ btnFix: "Revue 2Cmd + correction",
46
+ btnCommit: "Revue 2Cmd + correction + commit",
47
+ btnPush: "Revue 2Cmd + correction + commit + push",
48
+ btnCopy: "Copier les stats",
49
+ btnSlot: "Bouton {n}",
50
+ btnNote: "Tableau et Moins restent affichés. Un bouton met seulement du texte dans la zone ; vous l’envoyez.",
51
+ btnTitle: "Boutons du panneau",
52
+ tipTool: "Dans la zone : la revue de code de l’outil",
53
+ toolReview: "Revue native",
54
+ tipReview: "Dans la zone : revue du changement",
55
+ tipAudit: "Dans la zone : revue du projet",
56
+ tipFix: "Dans la zone : revue et correction",
57
+ tipCommit: "Dans la zone : revue, correction, commit local",
58
+ tipPush: "Dans la zone : revue, correction, commit, push",
59
+ tipBoard: "Ouvre les stats locales, sans tokens",
60
+ tipExpand: "Ouvre le panneau et affiche les détails",
61
+ tipCollapse: "Réduit le panneau et masque les détails",
62
+ pending: "Msg. suivant",
63
+ current: "État actuel",
64
+ cost: "Coût",
65
+ tokens: "Tokens",
66
+ cache: "Cache utilisé",
67
+ cacheSub: "moy. ({n}) : {v} %",
68
+ time: "Temps IA",
69
+ callers: "Appels à vérifier",
70
+ tests: "Tests",
71
+ costSub: "dern. {last} · moy. {avg}",
72
+ last: "dern. {v}",
73
+ turnsN: "Tours : {n}",
74
+ avgTurn: "moy. {t} / tour",
75
+ callersWarn: "Appels à vérifier : {n}",
76
+ untested: "Non testé depuis",
77
+ afterChange: "après modification",
78
+ lastRun: "dernier essai",
79
+ changedSince: "modifié depuis",
80
+ passed: "réussis",
81
+ failed: "échoués",
82
+ stale: "à relancer",
83
+ notRun: "non lancés",
84
+ hookStatus: "Réponse du webhook : {n}",
85
+ hookDown: "Webhook injoignable",
86
+ hookInvalid: "URL du webhook invalide",
87
+ hookHttps: "Le webhook exige https",
88
+ ledgerFail: "Impossible d’enregistrer la tâche",
89
+ saveFail: "Impossible d’enregistrer le mode",
90
+ boardFail: "Impossible d’ouvrir le tableau",
91
+ copied: "Copié en Markdown",
92
+ copyFail: "Échec de la copie : {r}",
93
+ project: "Projet",
94
+ started: "Début",
95
+ model: "Modèle",
96
+ turns: "Tours",
97
+ tokenDetail: "entrée {i}, sortie {o}, lecture cache {r}, écriture cache {w}",
98
+ mode: "Mode 2Cmd",
99
+ session: "Session",
100
+ sessions: "Sessions",
101
+ untitled: "Session sans titre",
102
+ projects: "Projets",
103
+ allProjects: "Tous les projets",
104
+ sessionsN: "Sessions : {n}",
105
+ sinceN: "Sessions : {n} · depuis le {d}",
106
+ projectsN: "Projets : {n}",
107
+ allTime: "Depuis le début",
108
+ lastDays: "{n} derniers j",
109
+ vsPrev: "vs {n} j précédents",
110
+ days: "{n} j",
111
+ longest: "Record : {n} j",
112
+ all: "Tout",
113
+ noPeriod: "Aucune session sur cette période",
114
+ noMatch: "Aucune session trouvée",
115
+ noSessions: "Aucune session. Elles apparaîtront après le premier tour.",
116
+ noSession: "aucune session",
117
+ less: "Moins",
118
+ more: "Plus",
119
+ busiest: "Jour le plus actif",
120
+ longestSession: "Session la plus longue",
121
+ avgSession: "Temps moyen par session",
122
+ avgCost: "Coût moyen par session",
123
+ theme: "Thème : {a}",
124
+ switchTo: "Passer à : {a}",
125
+ dark: "sombre",
126
+ light: "clair",
127
+ system: "système",
128
+ localBoard: "Tableau local",
129
+ period: "Période",
130
+ metric: "Mesure",
131
+ share: "Carte à partager",
132
+ perDay: "Par projet et par jour",
133
+ search: "Rechercher",
134
+ activity: "Activité",
135
+ activity12: "Temps IA par jour, 12 dernières semaines",
136
+ activeDays: "Jours actifs",
137
+ streak: "Série",
138
+ measured: "mesuré dans Claude Code",
139
+ footer: "Données du panneau Claude Code. Le coût est une estimation au tarif API (/cost), pas une facture.",
140
+ cmpTitle: "Avec ou sans 2Cmd",
141
+ cmpCost: "Coût par tâche",
142
+ cmpOutput: "Tokens de sortie par tour",
143
+ cmpTurns: "Tours par tâche",
144
+ cmpNote: "Médianes des tâches appariées par projet et modèle · {on} avec, {off} sans · un lien, pas une preuve",
145
+ cmpShort: "Pas encore assez de tâches : {on} avec et {off} sans 2Cmd dans le même projet et modèle ; il en faut {n} de chaque.",
146
+ savePng: "Enregistrer en PNG",
147
+ saveSvg: "Enregistrer en SVG",
148
+ close: "Fermer",
149
+ }