pisha-server 0.0.0-stage → 0.0.12

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 (129) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +40 -2
  3. package/accounts/accounts.js +754 -0
  4. package/accounts/index.js +1 -0
  5. package/accounts/passwords.js +41 -0
  6. package/accounts/totp.js +54 -0
  7. package/boards/boards.js +1087 -0
  8. package/boards/github.js +212 -0
  9. package/boards/index.js +1 -0
  10. package/boards/sync.js +980 -0
  11. package/companies.js +294 -0
  12. package/company-export.js +101 -0
  13. package/company.js +82 -0
  14. package/dashboard/dashboard.js +408 -0
  15. package/dashboard/index.js +1 -0
  16. package/data-upgrade.js +69 -0
  17. package/install/linux.sh +181 -0
  18. package/install/macos.sh +121 -0
  19. package/install/windows.bat +54 -0
  20. package/machines/index.js +3 -0
  21. package/machines/machines.js +910 -0
  22. package/messaging/inbox.js +252 -0
  23. package/messaging/index.js +3 -0
  24. package/messaging/messaging.js +551 -0
  25. package/messaging/plans.js +67 -0
  26. package/observation/index.js +1 -0
  27. package/observation/observation.js +231 -0
  28. package/organization/index.js +1 -0
  29. package/organization/organization.js +218 -0
  30. package/package.json +55 -4
  31. package/permissions/index.js +1 -0
  32. package/permissions/permissions.js +211 -0
  33. package/pisha-host.mjs +3303 -0
  34. package/pisha-host.mjs.sig +1 -0
  35. package/platform/acme.js +207 -0
  36. package/platform/basics.js +14 -0
  37. package/platform/config.js +154 -0
  38. package/platform/control.js +93 -0
  39. package/platform/credentials.js +151 -0
  40. package/platform/database.js +251 -0
  41. package/platform/errors.js +13 -0
  42. package/platform/files.js +50 -0
  43. package/platform/http.js +207 -0
  44. package/platform/index.js +58 -0
  45. package/platform/limits.js +122 -0
  46. package/platform/listen.js +183 -0
  47. package/platform/roles.js +6 -0
  48. package/platform/stream.js +19 -0
  49. package/platform/text.js +83 -0
  50. package/platform/ws.js +186 -0
  51. package/routes.js +405 -0
  52. package/server.js +65 -0
  53. package/sessions/index.js +1 -0
  54. package/sessions/sessions.js +533 -0
  55. package/ui/LICENSE-affectui.txt +26 -0
  56. package/ui/addmachine.js +151 -0
  57. package/ui/api.js +20 -0
  58. package/ui/app.js +143 -0
  59. package/ui/attention.js +78 -0
  60. package/ui/back.js +168 -0
  61. package/ui/boards.js +958 -0
  62. package/ui/chat.js +388 -0
  63. package/ui/content.js +157 -0
  64. package/ui/dialogs.js +135 -0
  65. package/ui/doing.js +112 -0
  66. package/ui/dom.js +6 -0
  67. package/ui/ds-base.css +146 -0
  68. package/ui/ds-components.css +229 -0
  69. package/ui/fonts/LICENSE-space-grotesk.txt +93 -0
  70. package/ui/fonts/space-grotesk-latin-700-normal.woff2 +0 -0
  71. package/ui/fonts/space-grotesk-latin-ext-700-normal.woff2 +0 -0
  72. package/ui/format.js +25 -0
  73. package/ui/i18n.js +2145 -0
  74. package/ui/icons/apple-touch-icon.png +0 -0
  75. package/ui/icons/icon-192.png +0 -0
  76. package/ui/icons/icon-512.png +0 -0
  77. package/ui/icons/maskable-512.png +0 -0
  78. package/ui/icons.js +41 -0
  79. package/ui/inbox.js +535 -0
  80. package/ui/index.html +105 -0
  81. package/ui/machines.js +261 -0
  82. package/ui/manifest.webmanifest +16 -0
  83. package/ui/mosaic.js +189 -0
  84. package/ui/nav.js +142 -0
  85. package/ui/newteam.js +223 -0
  86. package/ui/org.js +669 -0
  87. package/ui/overlays.css +126 -0
  88. package/ui/palette.js +180 -0
  89. package/ui/people.js +371 -0
  90. package/ui/permissions.js +202 -0
  91. package/ui/qr.js +158 -0
  92. package/ui/router.js +173 -0
  93. package/ui/routes.js +47 -0
  94. package/ui/screen-boards.css +241 -0
  95. package/ui/screen-inbox.css +201 -0
  96. package/ui/screen-machines.css +76 -0
  97. package/ui/screen-mosaic.css +26 -0
  98. package/ui/screen-newteam.css +90 -0
  99. package/ui/screen-org.css +119 -0
  100. package/ui/screen-session.css +99 -0
  101. package/ui/screen-signin.css +28 -0
  102. package/ui/screen-team.css +80 -0
  103. package/ui/screen-teams.css +41 -0
  104. package/ui/screen-usage.css +60 -0
  105. package/ui/session.js +42 -0
  106. package/ui/shell.css +122 -0
  107. package/ui/signin.js +120 -0
  108. package/ui/squads.js +371 -0
  109. package/ui/state.js +59 -0
  110. package/ui/stream.js +269 -0
  111. package/ui/styles.css +343 -0
  112. package/ui/team.js +115 -0
  113. package/ui/teams.js +58 -0
  114. package/ui/terminal.js +261 -0
  115. package/ui/theme.js +32 -0
  116. package/ui/timeline.js +163 -0
  117. package/ui/topbar.js +211 -0
  118. package/ui/usage.js +175 -0
  119. package/ui/voice-parse.js +98 -0
  120. package/ui/voice.js +320 -0
  121. package/usage/index.js +1 -0
  122. package/usage/usage.js +127 -0
  123. package/vendor/InterVariable.woff2 +0 -0
  124. package/vendor/LICENSE-inter +92 -0
  125. package/vendor/LICENSE-xterm +21 -0
  126. package/vendor/README.md +8 -0
  127. package/vendor/addon-fit.js +2 -0
  128. package/vendor/xterm.css +218 -0
  129. package/vendor/xterm.js +2 -0
package/ui/i18n.js ADDED
@@ -0,0 +1,2145 @@
1
+ import { store } from './dom.js'
2
+
3
+ // language: browser language (Spanish → es, anything else → en), switchable
4
+ export const LANG = (() => {
5
+ const saved = store.get('pishaLang')
6
+ if (saved === 'es' || saved === 'en') return saved
7
+ return (navigator.language || 'en').toLowerCase().startsWith('es') ? 'es' : 'en'
8
+ })()
9
+ export const LOCALE = LANG === 'es' ? 'es-ES' : 'en-GB'
10
+
11
+ // One collator for every sort: localeCompare builds one per call, which
12
+ // with hundreds of sessions re-sorted every second adds up.
13
+ export const COLLATOR = new Intl.Collator(LOCALE, { numeric: true })
14
+ const I18N = {
15
+ en: {
16
+ offline: ago => `Disconnected · seen ${ago} ago`,
17
+ working: d => `Working · ${d}`,
18
+ waitingTool: what => `Waiting for permission · ${what}`,
19
+ waitingInput: w => `Waiting: ${w || 'your answer'}`,
20
+ compacting: 'Compacting context',
21
+ // Permission profiles (permissions.js).
22
+ tabPermissions: 'Agent permissions',
23
+ tqPermissions: 'Permissions',
24
+ permIntro: 'What the agents may do without asking. A team follows a profile, and so does each session opened from the dashboard for it, unless that session follows another. Its machine passes it to Claude Code as permission rules, which Claude Code enforces: what you write in your own words reaches each session as the reason for them.',
25
+ permNew: 'New profile',
26
+ permBuiltin: { readonly: 'Read only', dev: 'Development' },
27
+ permBuiltinTag: 'Built in',
28
+ permCopy: 'Make a copy',
29
+ permCopyWord: 'copy',
30
+ permEdit: 'Edit',
31
+ permDelete: 'Delete',
32
+ permDeleteTitle: name => `Delete “${name}”?`,
33
+ permDeleteText: n => n ? `${n === 1 ? 'One team or session follows' : `${n} teams and sessions follow`} it: from now on they follow none. Sessions already running keep it until they are opened again.` : 'Nobody follows it.',
34
+ permUsedBy: n => n === 1 ? 'Followed by 1 team or session' : `Followed by ${n} teams and sessions`,
35
+ permEditTitle: name => `Edit “${name}”`,
36
+ permName: 'Name',
37
+ permNotes: 'In your own words',
38
+ permNotesPlaceholder: 'They may commit and run the tests, but never push or touch the production database.',
39
+ permNotesHint: 'It goes to each session as the reason for its rules. Fill in the lines below from it, then check each one.',
40
+ permFill: 'Fill in from the text',
41
+ permFilled: n => `${n === 1 ? 'One line' : `${n} lines`} filled in from the text (marked): check ${n === 1 ? 'it' : 'them'} before saving.`,
42
+ permFillNone: 'Nothing in the text matches a line below: choose them yourself.',
43
+ permCapsH: 'What they may do',
44
+ permStates: { default: 'Claude Code decides', allow: 'Allowed', ask: 'Always asked', deny: 'Forbidden' },
45
+ permCaps: {
46
+ edit: 'Edit the files in their folder', tests: 'Run tests, builds and linters', install: 'Install dependencies', commit: 'Make commits',
47
+ push: 'Push (git push)', history: 'Rewrite history (force push, reset --hard, clean, rebase)', remove: 'Delete files (rm)',
48
+ web: 'Look things up on the web', docker: 'Use Docker', sudo: 'Use sudo',
49
+ },
50
+ permCapShort: { edit: 'edit', tests: 'tests', install: 'dependencies', commit: 'commits', push: 'push', history: 'rewriting history', remove: 'deleting files', web: 'web', docker: 'Docker', sudo: 'sudo' },
51
+ permCapHint: {
52
+ edit: 'Edit(./**): anything inside the folder the session was opened in.', tests: 'npm test, npm run build, pytest, go test, cargo test, phpunit…',
53
+ install: 'npm install, pip install, composer require…', commit: 'git add, commit, status, diff, log, stash, switch. Forbidden: only git commit.',
54
+ push: 'git push, any branch.', history: 'Forbidden also while push is allowed.', remove: 'rm, rmdir, git rm.',
55
+ web: 'WebFetch and WebSearch.', docker: 'docker, docker-compose.', sudo: 'A machine never takes “Allowed” for this one from the dashboard.',
56
+ },
57
+ permOwnRules: 'Rules of its own (advanced)',
58
+ permOwnHint: 'Claude Code permission rules, one per line: Bash(make deploy *), Edit(./docs/**), WebFetch(domain:example.com), mcp__github__create_issue. ./path is the session’s folder, //path an absolute one. A rule that forbids always wins.',
59
+ permOwnCount: n => n === 1 ? '1 rule of its own' : `${n} rules of its own`,
60
+ permNothingSet: 'Nothing set: Claude Code decides everything',
61
+ permAppliesWhen: 'It applies when a session is opened from the dashboard: one already running keeps what it was opened with until it is opened again.',
62
+ permMachinesH: 'On each machine',
63
+ permMachinesHint: 'Each machine decides how far it takes them, with <code>permissions_from_dashboard</code> in its <code>settings.json</code>. Whatever it says, nothing from the dashboard allows sudo, any command at all, an interpreter with any arguments or files outside the session’s folder.',
64
+ permTakes: { allow: 'Takes everything: what allows, asks and forbids', restrict: 'Takes only what asks and forbids', off: 'Takes none: a session that follows one is not opened', old: 'Too old to apply them: update it' },
65
+ permNoMachines: 'No machines yet.',
66
+ permNoProfile: 'No profile: Claude Code asks as it always does',
67
+ permFollows: name => `Follows “${name}”`,
68
+ permFollowsTeam: name => `Follows its team’s, “${name}”`,
69
+ permRunningWith: name => `Running with “${name}” (opened before the change)`,
70
+ permChange: 'Change',
71
+ permAssignTitle: who => `Permissions of ${who}`,
72
+ permProfile: 'Profile',
73
+ permNone: 'None',
74
+ permFromTeam: name => name ? `Its team’s (“${name}”)` : 'Its team’s (none now)',
75
+ permAssignTeamHint: 'Its coordinator and every worker of the team follow it, unless one follows another.',
76
+ permAssignSessionHint: 'Only this session: “None” leaves it without one, whatever its team’s.',
77
+ // What a session is doing now (doing.js).
78
+ nowTests: 'Running the tests',
79
+ nowCommit: 'Making a commit',
80
+ nowPush: 'Pushing the changes',
81
+ nowPull: 'Bringing in changes',
82
+ nowBranch: 'Changing branch',
83
+ nowMerge: 'Combining branches',
84
+ nowDiff: 'Looking at the changes',
85
+ nowGitLog: 'Looking at the git history',
86
+ nowGitStatus: 'Checking the state of the repository',
87
+ nowInstall: 'Installing dependencies',
88
+ nowLint: 'Checking the code style',
89
+ nowBuild: 'Building',
90
+ nowMigrate: 'Running database migrations',
91
+ nowContainers: 'Starting containers',
92
+ nowImage: 'Building a Docker image',
93
+ nowSearch: (term, where) => `Searching for “${term}”${where ? ` in ${where}` : ''}`,
94
+ nowListFiles: 'Looking through the files',
95
+ nowFindFiles: pattern => `Looking for files ${pattern}`,
96
+ nowFetch: host => `Fetching from ${host}`,
97
+ nowSsh: host => `Connecting to ${host}`,
98
+ nowWait: 'Waiting',
99
+ nowRun: prog => `Running ${prog}`,
100
+ nowRunSome: 'Running a command',
101
+ nowSecretCommand: 'Running a command (not shown: it touches secrets)',
102
+ nowRead: file => `Reading ${file}`,
103
+ nowWrite: file => `Writing ${file}`,
104
+ nowEdit: file => `Editing ${file}`,
105
+ nowWebSearch: q => `Searching the web for “${q}”`,
106
+ nowAgent: what => `Subagent: ${what}`,
107
+ nowTodos: 'Updating its to-do list',
108
+ nowSkill: name => `Using the ${name} skill`,
109
+ nowReply: to => `Writing to ${to}`,
110
+ nowWriting: 'Writing a message',
111
+ nowAsk: 'Asking you something in the inbox',
112
+ nowTell: 'Leaving you a note in the inbox',
113
+ nowPlan: 'Updating the plan',
114
+ nowPing: 'Checking who is connected',
115
+ nowEditInbox: 'Changing something in the inbox',
116
+ nowDownload: 'Downloading an attachment',
117
+ nowMcp: (tool, server) => `Using ${tool} (${server})`,
118
+ nowTool: name => `Using ${name}`,
119
+ idle: d => `Idle · ${d}`,
120
+ ended: 'Session closed',
121
+ connectedNoObs: 'Connected (not observed)',
122
+ connected: 'Connected',
123
+ tool: 'Tool',
124
+ jump: n => n ? `↓ ${n} new` : '↓ new',
125
+ sessionEnded: 'Your session has ended: sign in again.',
126
+ loading: 'Loading…',
127
+ scrollMore: 'Scroll up to see more',
128
+ clearedEmpty: when => `Chat cleared on ${when}. New activity will show up here.`,
129
+ clearedTop: when => `Chat cleared on ${when}`,
130
+ noActivity: 'No activity yet. It shows up once the session runs <code>/pisha:login</code> with observation «activity» or «full».',
131
+ historyStart: 'Start of saved history',
132
+ serverNotice: 'server notice',
133
+ you: 'You',
134
+ inGroup: g => ` in ${g}`,
135
+ turnEnded: 'turn ended',
136
+ background: n => `${n} in background`,
137
+ sessionStarted: resumed => `Session ${resumed ? 'resumed' : 'started'}`,
138
+ inDir: d => ` in <code>${d}</code>`,
139
+ sessionEnded: 'Session closed',
140
+ observing: lvl => `Connected to Pisha · observation «${lvl}»`,
141
+ compactingLine: 'Compacting context',
142
+ waitingPermission: 'waiting for permission',
143
+ running: n => n > 1 ? `${n} running` : 'running',
144
+ withErrors: n => `${n} failed`,
145
+ subagent: started => `Subagent ${started ? 'started' : 'finished'}`,
146
+ result: 'result',
147
+ tools: n => `${n} tool${n === 1 ? '' : 's'}`,
148
+ permShort: 'permission',
149
+ noResult: 'no result',
150
+ interrupted: 'interrupted',
151
+ error: 'error',
152
+ input: 'input',
153
+ output: 'output',
154
+ // the shell (sidebar, header, Ctrl+K, settings)
155
+ railLabel: 'Pisha',
156
+ mainNav: 'Main',
157
+ teams: 'Teams',
158
+ yourTeams: 'Your teams',
159
+ noTeams: 'No teams yet',
160
+ newTeam: 'New team',
161
+ goTo: 'Go to…',
162
+ goToShort: 'Go to',
163
+ backTo: where => `Back to ${where}`,
164
+ switchCompany: 'Switch to this company',
165
+ searchShortcut: mac => (mac ? '⌘K' : 'Ctrl K'),
166
+ ofTotal: (n, all) => `${n} of ${all}`,
167
+ company: 'Company',
168
+ foldTeam: (name, open) => (open ? `Fold ${name}` : `Unfold ${name}`),
169
+ roleName: { coordinator: 'Coordinator', worker: 'Worker', solo: 'Standalone' },
170
+ agentName: { claude: 'Claude Code (Anthropic)', codex: 'Codex CLI (OpenAI)', grok: 'Grok CLI (xAI)' },
171
+ agent: 'Agent',
172
+ waitingOnYou: 'Waiting on you',
173
+ unreadN: n => `${n} unread`,
174
+ settings: 'Settings',
175
+ settingsSections: 'Settings sections',
176
+ closeSettings: 'Close settings',
177
+ setMine: 'My account',
178
+ setServer: 'Server',
179
+ setAppearance: 'Language, theme and notices',
180
+ setProfile: 'Profile and password',
181
+ theme: 'Theme',
182
+ themeSystem: 'System',
183
+ themeLight: 'Light',
184
+ themeDark: 'Dark',
185
+ language: 'Language',
186
+ version: v => `Pisha ${v}`,
187
+ palLabel: 'Go to or do',
188
+ palPlaceholder: 'Go to a session, team or action',
189
+ palGroup: { sessions: 'Sessions', teams: 'Teams', inbox: 'Inbox', screens: 'Go to', actions: 'Actions', companies: 'Companies' },
190
+ palHint: '↑↓ to move · Enter to open',
191
+ palEsc: 'Esc to close',
192
+ palNothing: q => `Nothing matches “${q}”`,
193
+ actNewSession: 'New session',
194
+ actAddMachine: 'Add a machine',
195
+ actNewTeam: 'New team',
196
+ actInvite: 'Invite someone',
197
+ actTheme: 'Switch between light and dark',
198
+ actSettings: 'Open settings',
199
+ allSessions: 'All sessions',
200
+ leads: 'Coordinators',
201
+ leadsCount: n => `${n} coordinator${n === 1 ? '' : 's'}`,
202
+ leadsSub: (c, w) => `${c} coordinator${c === 1 ? '' : 's'} · ${w} worker${w === 1 ? '' : 's'}`,
203
+ leadsEmpty: 'No coordinators yet: open one with <b>+ New session</b> (Role: Coordinator).',
204
+ modeTerms: 'Terminals',
205
+ modeChats: 'Chats',
206
+ wWorking: d => `working ${d}`,
207
+ wIdle: d => `idle ${d}`,
208
+ wWaiting: 'waiting for permission',
209
+ wOffline: 'disconnected',
210
+ teamSummary: (t, wk, id, wa) => `${t} worker${t === 1 ? '' : 's'} · ${wk} working · ${id} idle${wa ? ` · ${wa} waiting for permission` : ''}`,
211
+ giveWork: 'Give work',
212
+ giveWorkTitle: (w, c) => `${w} is idle: talk to ${c} in its terminal`,
213
+ activeOf: (a, t) => `${a} of ${t} active`,
214
+ coordinators: 'Coordinators',
215
+ squads: 'Teams',
216
+ noCoordinator: 'Without a coordinator',
217
+ squadToggle: (n, open) => `${open ? 'Hide' : 'Show'} ${n} worker${n === 1 ? '' : 's'}`,
218
+ squadCount: (on, n) => `${on} of ${n} worker${n === 1 ? '' : 's'} connected`,
219
+ noWorkers: 'No workers yet',
220
+ squadOf: n => `Team ${n}`,
221
+ viewSquad: 'View team',
222
+ viewSquadTitle: n => `Show only ${n} and its workers in the mosaic`,
223
+ addWorker: 'Add a worker',
224
+ addWorkerTo: n => `Add a worker to ${n}`,
225
+ squadEmpty: n => `${n} is not here.`,
226
+ needsYou: 'Needs you:',
227
+ alertPerm: (n, what) => `<b>${n}</b> is waiting${what ? ` · ${what}` : ''}`,
228
+ alertCtx: (n, p) => `<b>${n}</b> at ${p}% of its context before auto-compaction`,
229
+ alertMore: n => `+${n} more`,
230
+ workers: 'Workers',
231
+ archived: 'Archived',
232
+ archivedCount: n => n ? `${n} session${n === 1 ? '' : 's'}` : 'None',
233
+ roleCoordinator: 'coordinator',
234
+ roleWorker: 'worker',
235
+ roleSolo: 'standalone',
236
+ reopen: 'Reopen',
237
+ reopenTitle: n => `Reopen ${n}`,
238
+ reopenHint: 'Same name, role and folder as before. Once it opens, type <code>/resume</code> in its terminal to pick up the conversation where it was left.',
239
+ roleSoloOption: 'Standalone session (no coordinator)',
240
+ soloHint: 'A normal Claude Code session, outside any team: no Pisha instructions and no messages from other sessions. The dashboard still shows what it does.',
241
+ standalone: 'Standalone',
242
+ columns: 'Columns',
243
+ auto: 'Auto',
244
+ archivedTitle: 'Archived sessions',
245
+ inbox: 'Inbox',
246
+ inboxTitle: 'Inbox',
247
+ inboxSub: 'What your coordinators left for you',
248
+ inboxEmpty: 'Nothing is waiting for you.',
249
+ inboxAsk: 'Needs your decision',
250
+ inboxTell: 'For you to know',
251
+ inboxOptions: 'Options',
252
+ inboxRecommended: 'Recommended',
253
+ inboxAnswer: 'Answer in its session',
254
+ inboxResolve: 'Done',
255
+ inboxDismiss: 'Dismiss',
256
+ inboxDismissed: by => `${by} dismissed it without answering`,
257
+ inboxDismissNotTold: who => `Dismissed, but ${who} couldn't be told from here. If it is waiting for this, tell it in its session.`,
258
+ inboxDone: 'done',
259
+ inboxDoneList: n => `Done (${n})`,
260
+ inboxOpenN: n => `${n} open`,
261
+ reportWord: { done: 'Done', blocked: 'Blocked', failed: 'Failed', question: 'Question' },
262
+ svChat: 'Conversation',
263
+ ntSteps: 'Steps',
264
+ ntGoalStep: 'What it is for',
265
+ ntWhoStep: 'Who',
266
+ ntWhereStep: 'Where',
267
+ ntLaunchStep: 'Open it',
268
+ ntTitle: 'Team name',
269
+ ntGoal: 'Goal (optional)',
270
+ ntTitleHint: 'Development, QA, Content…',
271
+ ntGoalHint: 'What it should get done, in a sentence',
272
+ ntStartWith: 'Start with',
273
+ ntWithWorkers: 'A coordinator and workers',
274
+ ntWithWorkersHint: 'You lead the coordinator; it hands out the work',
275
+ ntJustCoord: 'Just a coordinator',
276
+ ntJustCoordHint: 'You add workers when needed',
277
+ ntTemplate: name => `Template: ${name}`,
278
+ ntWillOpen: 'Sessions it will open',
279
+ ntPersonasNote: 'Personas are the skills and agents already in that folder: Pisha lists them, it doesn\'t change them.',
280
+ ntNameOf: role => `${role}'s name`,
281
+ ntRemove: name => `Remove ${name}`,
282
+ ntBadName: name => `"${name}" can't be a name: letters, digits, - and _ only, up to 32.`,
283
+ ntSameName: 'Two sessions have the same name.',
284
+ ntBusy: name => `${name} is already open: pick another name.`,
285
+ ntLaunch: n => (n === 1 ? 'Open the team (1 session)' : `Open the team (${n} sessions)`),
286
+ ntOpened: 'Opened',
287
+ ntNotAllowed: 'Opening sessions needs the operator role.',
288
+ planTitle: 'The plan',
289
+ planBy: (who, when) => `Kept by ${who} · ${when}`,
290
+ planTask: 'Task',
291
+ planWho: 'Who',
292
+ planNobody: 'nobody yet',
293
+ planState: { todo: 'To do', doing: 'In progress', done: 'Done', blocked: 'Blocked', waiting: 'Waits on you' },
294
+ planDone: (n, all) => `${n} of ${all} done`,
295
+ planDoing: n => `${n} in progress`,
296
+ planBlocked: n => `${n} blocked`,
297
+ planWaiting: n => `${n} wait${n === 1 ? 's' : ''} on you`,
298
+ planSays: (done, all, doing, blocked, waiting) => `${done} of ${all} done, ${doing} in progress, ${blocked} blocked, ${waiting} waiting on you`,
299
+ planWhose: 'The coordinator tells it. A reference takes you to where it comes from, to check.',
300
+ fsTitle: 'Put your first team to work',
301
+ fsSub: 'Three steps. Your agent stays yours, with all its settings.',
302
+ fsAccount: 'Make your account with codes',
303
+ fsMachine: 'Connect a machine',
304
+ fsMachineHint: 'Where the agent will work: a server, your laptop or a Mac mini.',
305
+ fsTeam: 'Make a team and give it its first order',
306
+ fsTeamHint: 'A coordinator, and the workers it hands the work to.',
307
+ fsDone: 'done',
308
+ fsLogin: 'Already have a Claude Code session open? Connect it with <code>/pisha:login</code> and it shows up here.',
309
+ mcMachine: 'Machine',
310
+ mcState: 'State',
311
+ mcSessions: 'Sessions',
312
+ mcVersion: 'Version',
313
+ mcUpdate: v => `${v}: update it`,
314
+ mcNotAnswering: name => `${name} isn't answering`,
315
+ mcNotAnsweringHint: 'Its sessions stay open there if the machine is on, and come back when it reconnects. Check pisha-host on that machine:',
316
+ mcOnline: (n, all) => `${n} of ${all} connected`,
317
+ subagentShort: 'Agent',
318
+ svMore: name => `More actions for ${name}`,
319
+ svMoreShort: 'More',
320
+ svTeam: 'Team',
321
+ svSeeTeam: 'See the team',
322
+ svDetails: 'Details',
323
+ svMachine: 'Machine',
324
+ svFolder: 'Folder',
325
+ svContext: 'Context',
326
+ svPersona: 'Persona',
327
+ svOpened: 'Opened',
328
+ svCoordinator: 'Coordinator',
329
+ svNotObserved: 'What it does is not shown here: its observation is off.',
330
+ tqGone: name => `${name} isn't here any more`,
331
+ tqGoal: 'What it is for',
332
+ tqEdit: 'Edit',
333
+ tqReports: 'Latest reports',
334
+ tqReportsHint: 'What its workers said when they finished a task',
335
+ tqNoReports: 'No reports yet.',
336
+ tqTeam: 'The team',
337
+ tqWho: 'Who they are',
338
+ tqNoMachine: 'opened by hand',
339
+ tqLinks: 'Links',
340
+ tqLinkedTo: l => `Linked with ${l}: their coordinators hand work to each other.`,
341
+ tqNoLinks: 'Not linked with any other team.',
342
+ tqManageLinks: 'Manage links',
343
+ tqTemplate: 'Template',
344
+ tqTemplateHint: 'Save this team to open others like it.',
345
+ tqSaveTemplate: 'Save as template',
346
+ tqLive: 'See them all at once',
347
+ tqLiveTitle: name => `${name}, all at once`,
348
+ tqAddWorker: 'Add a worker',
349
+ tqGiveOrder: 'Give an order',
350
+ viewList: 'List',
351
+ viewMosaic: 'Mosaic',
352
+ tmCount: (t, n) => `${t === 1 ? '1 team' : `${t} teams`} · ${n === 1 ? '1 session' : `${n} sessions`}`,
353
+ tmSessions: n => (n === 1 ? '1 session' : `${n} sessions`),
354
+ tmNoGoal: 'No goal described yet',
355
+ tmEmptyHint: 'A team is a coordinator and the workers it hands work to. Open a coordinator to start one.',
356
+ ibxDecide: 'Needs you',
357
+ ibxDone: 'Done',
358
+ ibxPending: 'Pending',
359
+ ibxDoneTab: 'Done',
360
+ ibxRunningTab: 'Running',
361
+ ibxWorkingNow: 'Working',
362
+ ibxNoneRunning: 'Nobody is at work right now',
363
+ ibxNoneRunningHint: 'Sessions show here while they work, each with how long it has been at it.',
364
+ ibxTag: { perm: 'Permission', approve: 'To approve', ask: 'Decision', tell: 'Note', running: 'Working', answered: 'Answered', dismissed: 'Dismissed', closed: 'Closed' },
365
+ ibxDays: n => `${n} d`,
366
+ ibxDoneHint: 'What was answered, put away or closed, newest first. Pick one to see it.',
367
+ ibxReadAll: 'Mark all as read',
368
+ ibxSearch: 'Search what is done',
369
+ ibxTeam: 'Team',
370
+ ibxAllTeams: 'All teams',
371
+ ibxLoadMore: 'Load more',
372
+ ibxLoading: 'Loading…',
373
+ ibxLoadFailed: 'It could not be loaded.',
374
+ ibxEnd: 'That is everything kept.',
375
+ ibxNoDone: 'Nothing done yet.',
376
+ ibxNoMatch: 'Nothing done matches.',
377
+ dayToday: 'Today',
378
+ dayYesterday: 'Yesterday',
379
+ notifyAsk: who => `${who} asks you`,
380
+ notifyTell: who => `${who}: for you to know`,
381
+ notifyMore: n => (n === 1 ? 'and 1 more' : `and ${n} more`),
382
+ notifyTitle: 'Notices',
383
+ notifyOff: 'Off',
384
+ notifyOn: 'On',
385
+ notifySound: 'With a sound',
386
+ notifyHint: 'When something reaches the inbox and the dashboard is not in view. Only while it is open in this browser.',
387
+ notifyBlocked: 'This browser blocks notices from this site: allow them in its settings.',
388
+ notifyUnsupported: 'This browser can not show notices.',
389
+ retentionInbox: 'Inbox, what is done (days)',
390
+ retentionUsage: 'Token usage (days)',
391
+ ibxWaiting: n => (n === 1 ? '1 waiting on you' : `${n} waiting on you`),
392
+ ibxNothingListed: 'Nothing here yet.',
393
+ ibxEmptyHint: 'When a coordinator needs a decision, or has something for you, it shows up here.',
394
+ ibxPermission: 'Permission',
395
+ ibxKindAsk: 'Decision',
396
+ tlAside: name => `What ${name} is doing, and what mattered`,
397
+ tlNow: 'Now',
398
+ tlImportant: 'What mattered',
399
+ tlEmpty: 'Nothing worth noting yet.',
400
+ tlKept: 'From what is kept: its activity for a day, its messages for a week (Settings › Activity & data).',
401
+ tlHide: 'Hide the side panel',
402
+ tlShow: 'Show the side panel',
403
+ tlTask: 'Its task',
404
+ tlStart: 'Started',
405
+ tlCleared: 'Started afresh',
406
+ tlEnd: 'Session ended',
407
+ tlTyped: 'Typed in its terminal',
408
+ tlInboxAnswer: 'Your answer, from the inbox',
409
+ tlOrder: who => `Order from ${who}`,
410
+ tlEdits: n => n === 1 ? 'Edited a file' : `Edited ${n} files`,
411
+ tlTestsPassed: 'Tests passed',
412
+ tlTestsFailed: 'Tests failed',
413
+ tlPassedN: n => `${n} passed`,
414
+ tlCommit: 'Commit',
415
+ tlPush: 'Pushed',
416
+ tlPlan: 'Updated the plan',
417
+ tlPerm: 'Asked for permission',
418
+ tlCompact: 'Compacted its context',
419
+ tlReport: { done: 'Report: done', blocked: 'Report: blocked', failed: 'Report: failed', question: 'Report: a question' },
420
+ tlReportFrom: (who, r) => `Report from ${who}: ${{ done: 'done', blocked: 'blocked', failed: 'failed', question: 'a question' }[r] ?? r}`,
421
+ tlAsked: 'Left you a decision',
422
+ tlTold: 'Left you a note',
423
+ tlAnswered: 'You answered',
424
+ tlDismissed: 'You dismissed it',
425
+ ibxPermTitle: (name, what) => (what ? `${name} asks for permission: ${what}` : `${name} asks for permission`),
426
+ ibxPermHint: 'It is answered in its session: open it to see exactly what it wants to run.',
427
+ ibxApproveTitle: name => `${name} wants to coordinate`,
428
+ ibxApproveHint: 'A name nobody has used before took the coordinator role. Approve it from its session if you know it.',
429
+ ibxOpenSession: 'Open its session',
430
+ ibxSessionShort: 'Session',
431
+ ibxOwnWords: 'Your answer',
432
+ ibxOwnWordsOr: 'Add a detail, or answer in your own words',
433
+ ibxReachesTo: name => `Your answer reaches ${name}`,
434
+ ibxReplyTell: 'Reply, if it needs something from you',
435
+ vListen: 'Listen',
436
+ vStop: 'Stop',
437
+ vNext: 'Next',
438
+ vListening: 'Listening…',
439
+ vSpeaking: 'Reading',
440
+ vSending: 'Sending',
441
+ vLink: 'a link',
442
+ vPath: 'a file',
443
+ vStart: (a, t) => `You have ${[a ? `${a} ${a === 1 ? 'decision' : 'decisions'}` : '', t ? `${t} ${t === 1 ? 'note' : 'notes'}` : ''].filter(Boolean).join(' and ')}. Say "stop" whenever you want to end.`,
444
+ vNothing: 'Nothing is waiting for you.',
445
+ vAskFrom: (s, team) => `A decision from ${s}${team && team !== s ? `, in ${team}` : ''}.`,
446
+ vTellFrom: (s, team) => `A note from ${s}${team && team !== s ? `, in ${team}` : ''}.`,
447
+ vOption: (n, text) => `Option ${n}: ${text}.`,
448
+ vRecommends: n => `It recommends ${n}.`,
449
+ vHowAnswerOptions: "Say the option's number, with anything you want to add, or answer in your own words.",
450
+ vHowAnswer: 'Answer in your own words.',
451
+ vHowTell: 'Say "done", "next", or reply to it.',
452
+ vHowDoneOnly: 'Say "done" or "next".',
453
+ vAnswerInSession: "This one is answered in its session: I'll leave it.",
454
+ vConfirm: what => `${what}. Shall I send it?`,
455
+ vOptionSaid: (n, choice, detail) => `Option ${n}, ${choice}${detail ? `, and: ${detail}` : ''}`,
456
+ vWordsSaid: text => `Your answer: ${text}`,
457
+ vSent: 'Sent.',
458
+ vChanged: 'It changed while I was reading it. Here it is again.',
459
+ vFailed: m => `That didn't work: ${m}`,
460
+ vSayAgain: 'OK, say it again.',
461
+ vYesOrNo: 'Say yes or no.',
462
+ vDidntHear: "I didn't hear you.",
463
+ vMovingOn: 'Moving on.',
464
+ vSkipped: "I'll leave it for later.",
465
+ vMarkedDone: 'Marked as done.',
466
+ vConfirmDismiss: 'Dismiss it without an answer? Say yes or no.',
467
+ vDismissed: 'Dismissed.',
468
+ vEnd: 'Nothing left.',
469
+ vEndSome: "That's all for now. What you left is still in the inbox.",
470
+ vNeedsHttps: 'To use the microphone, the dashboard must be opened over https (or on localhost).',
471
+ vUnsupported: "This browser can't recognise speech. Try Chrome or Safari.",
472
+ vMicDenied: "The browser won't let the dashboard use the microphone: allow it in the site's settings.",
473
+ vConsentTitle: 'Listen to the inbox',
474
+ vConsent: 'I read aloud what waits on you, and you answer by speaking. Before sending anything I say back what I understood and wait for your "yes". The voices and the speech recognition are your browser\'s, which may use its maker\'s servers to recognise what you say (Google in Chrome, Apple in Safari).',
475
+ vConsentOk: 'Start',
476
+ vSpeed: r => `Reading speed: ${r}. Tap to change it`,
477
+ vRates: ['Normal', 'Fast', 'Faster'],
478
+ // Task boards
479
+ boards: 'Boards',
480
+ usage: 'Usage',
481
+ usageSub: 'Tokens spent by the agents',
482
+ usagePeriod: 'Period',
483
+ usageRanges: { today: 'Today', d7: '7 days', d30: '30 days', d90: '90 days' },
484
+ usageExport: 'Export CSV',
485
+ usageLoading: 'Loading…',
486
+ usageAllTeams: 'All teams',
487
+ usageAllAgents: 'All agents',
488
+ usageAllModels: 'All models',
489
+ usageNoTeam: '(no team)',
490
+ usageTotal: 'Tokens',
491
+ usageKinds: { input: 'Input', output: 'Output', cache_read: 'Cache read', cache_write: 'Cache write' },
492
+ usageCached: p => `${p} % of input from cache`,
493
+ usageCalls: n => `${n.toLocaleString('en-GB')} model call${n === 1 ? '' : 's'}`,
494
+ usageOverTime: 'Over time',
495
+ usageByTeam: 'By team',
496
+ usageByCause: 'By what started the work',
497
+ usageByTask: 'By board task',
498
+ usageByModel: 'By model',
499
+ usageBySession: 'By session',
500
+ usageNoTasks: 'Nothing spent on a board task in this period.',
501
+ usageEmpty: 'Nothing spent in this period',
502
+ usageEmptyHint: 'Each session reports the tokens it spends as it works: Claude Code, Codex CLI and Grok CLI.',
503
+ usageCauses: { user: 'Your orders', inbox: 'Your answers from the inbox', coordinator: 'From their coordinator', worker: 'Workers\' reports', link: 'Between linked teams', board: 'Board notices', system: 'Server notices', other: 'Other messages', self: 'On its own' },
504
+ usageCauseHints: { user: 'Turns started by what you typed in a session\'s terminal', inbox: 'Turns started by your answers from the inbox', coordinator: 'Workers\' turns on what their coordinator handed them', worker: 'Coordinators\' turns on their workers\' reports', link: 'Turns started by a message from a linked team', board: 'Turns started by the task board', system: 'Turns started by the server\'s notices', other: 'Turns started by another message', self: 'Before any prompt: a session starting, or after a compaction' },
505
+ boardsCount: n => `${n} board${n === 1 ? '' : 's'}`,
506
+ noBoards: 'No boards yet',
507
+ noBoardsHint: 'A board keeps the company\'s tasks. People and agents work on them, and each team sees the boards it is given.',
508
+ newBoard: 'New board',
509
+ createBoard: 'Create board',
510
+ boardName: 'Name',
511
+ boardDescription: 'What it is for',
512
+ boardTeams: 'Teams that see it',
513
+ boardTeamsHint: 'Their coordinators and workers can be given its tasks, and see them with the board tool.',
514
+ noTeamsForBoard: 'No teams yet: create one to give it tasks.',
515
+ defaultStatuses: [['Backlog', 'backlog'], ['To do', 'unstarted'], ['In progress', 'started'], ['In review', 'review'], ['Done', 'done'], ['Cancelled', 'closed']],
516
+ defaultTypes: [['Task', 'blue'], ['Bug', 'red']],
517
+ categories: { backlog: 'Backlog (never notifies)', unstarted: 'Not started', started: 'In progress', review: 'In review', done: 'Done', closed: 'Cancelled' },
518
+ colors: { gray: 'Gray', blue: 'Blue', green: 'Green', yellow: 'Yellow', orange: 'Orange', red: 'Red', purple: 'Purple', pink: 'Pink' },
519
+ ghSection: 'GitHub',
520
+ ghNone: 'Not connected. Connected, the board and a GitHub project stay in step both ways: the project\'s Status options are the columns, tasks are issues, and comments, labels and sub-issues go both ways.',
521
+ ghConnect: 'Connect to GitHub',
522
+ ghChange: 'Change',
523
+ ghTitle: 'Connect to a GitHub project',
524
+ ghUrl: 'Project',
525
+ ghUrlPh: 'https://github.com/orgs/acme/projects/3',
526
+ ghRepo: 'Repository for new tasks',
527
+ ghRepoPh: 'acme/web',
528
+ ghRepoHint: 'A task made here becomes an issue in this repository.',
529
+ ghToken: 'Token',
530
+ ghTokenKeep: 'Leave empty to keep the saved one',
531
+ ghTokenHint: 'An organization\'s project: a fine-grained token, with the organization as owner, Projects read and write, and Issues read and write on its repositories. A personal account\'s project: a classic token with the project and repo scopes. It is kept encrypted and never shown again.',
532
+ ghColumnsNote: 'The project\'s columns become this board\'s, and its cards, tasks. Nobody is told of anything that comes from GitHub: you say when.',
533
+ ghConnectBtn: 'Connect',
534
+ ghSyncNow: 'Sync now',
535
+ ghDisconnect: 'Disconnect',
536
+ ghDisconnectTitle: 'Disconnect from GitHub?',
537
+ ghDisconnectText: name => `The board stops following <b>${name}</b>. Its tasks stay here, and the issues stay on GitHub.`,
538
+ ghStatus: (title, repo) => `${title} · new issues in ${repo}`,
539
+ ghSynced: when => `Synced ${when}`,
540
+ ghStSynced: when => `synced ${when}`,
541
+ ghStNever: 'not synced yet',
542
+ ghStSyncing: 'syncing…',
543
+ ghStSending: n => `sending ${n} change${n === 1 ? '' : 's'}…`,
544
+ ghStUnsent: n => `${n} change${n === 1 ? '' : 's'} not sent yet`,
545
+ ghStFailed: 'it failed',
546
+ ghStLastToday: t => `Last sync: today at ${t}`,
547
+ ghStLastOn: d => `Last sync: ${d}`,
548
+ ghStNow: 'Sync with GitHub now',
549
+ ghStFailedTitle: 'GitHub sync failed',
550
+ ghStFailedText: (error, n) => `GitHub said: ${String(error).replace(/\.?$/, '.')}${n ? ` ${n} change${n === 1 ? '' : 's'} made here ${n === 1 ? 'is' : 'are'} kept and sent once it works again.` : ''}`,
551
+ ghSyncing: 'Syncing…',
552
+ ghError: 'GitHub: it failed',
553
+ ghLinked: n => `${n} task${n === 1 ? '' : 's'} linked`,
554
+ ghIssue: n => `#${n} on GitHub`,
555
+ ghDraft: 'Draft on GitHub',
556
+ boardSettings: 'Board settings',
557
+ bStatuses: 'Statuses',
558
+ bStatusesHint: 'Its category decides what it means: a task in Backlog never notifies anyone; Done and Cancelled are left out of what agents list. Who handles each column and where a task goes next is set with ⋯ on the column.',
559
+ bLabels: 'Labels',
560
+ bTypes: 'Types',
561
+ bAdd: 'Add',
562
+ bMoveUp: 'Move up',
563
+ bMoveDown: 'Move down',
564
+ bRemove: 'Remove',
565
+ bCategory: 'Category',
566
+ bColor: 'Colour',
567
+ taskPrefix: 'Task id prefix (the whole company)',
568
+ archiveBoard: 'Archive board',
569
+ unarchiveBoard: 'Bring back',
570
+ archivedTag: 'Archived',
571
+ deleteBoard: 'Delete board',
572
+ deleteBoardTitle: name => `Delete ${name}?`,
573
+ deleteBoardText: name => `${name} and all its tasks, comments and history are deleted for good.`,
574
+ boardGone: 'This board no longer exists.',
575
+ bColumns: 'Columns',
576
+ bList: 'List',
577
+ newTask: 'New task',
578
+ createTask: 'Create task',
579
+ taskTitle: 'Title',
580
+ taskDescription: 'Description',
581
+ taskStatus: 'Status',
582
+ taskType: 'Type',
583
+ noType: 'No type',
584
+ taskPriority: 'Priority',
585
+ priorities: ['No priority', 'Low', 'Medium', 'High', 'Urgent'],
586
+ taskDue: 'Due date',
587
+ taskAssignee: 'Assigned to',
588
+ taskAgent: 'Agent',
589
+ taskPeople: 'People',
590
+ bNoGithubUser: 'no GitHub user in their profile',
591
+ ghUserTitle: 'GitHub',
592
+ ghUserLabel: 'Your GitHub user',
593
+ ghUserHint: 'Boards in step with GitHub assign you its issues by it, and you theirs.',
594
+ ghUserSaved: 'Saved.',
595
+ nobody: 'Nobody',
596
+ bPeople: 'People',
597
+ bTeamOf: name => `Team ${name}`,
598
+ taskLabels: 'Labels',
599
+ noAssignable: 'Give this board to a team to assign tasks to its agents.',
600
+ bComments: 'Comments',
601
+ bComment: 'Comment',
602
+ bCommentPh: 'Write a comment…',
603
+ bNotifyCoord: name => `Tell its coordinator (${name}): it gets it as your order`,
604
+ bToldTo: name => `told ${name}`,
605
+ bHistory: 'History',
606
+ bCreatedIt: 'created it',
607
+ bChangedIt: 'changed it',
608
+ bToldIt: name => `told ${name}`,
609
+ bBy: (who, when) => `${who}, ${when}`,
610
+ pendingTag: 'Not told',
611
+ pendingTitle: 'Given to an agent: its coordinator hasn\'t been told yet',
612
+ notifyTeams: n => `Notify the teams (${n})`,
613
+ notifyTitle: 'Notify the teams',
614
+ notifyText: 'Each coordinator gets one message with its team\'s tasks, as your order, and may start on them:',
615
+ notifyConfirm: 'Notify',
616
+ notifyDone: n => `${n} team${n === 1 ? '' : 's'} told.`,
617
+ notifyFailed: teams => `Could not tell: ${teams}.`,
618
+ askNotifyTitle: name => `Tell ${name} now?`,
619
+ askNotifyText: (coord, id) => `${coord} gets ${id} as your order and may start on it. Choose “Not yet” to keep handing out tasks, then notify the teams together.`,
620
+ notYet: 'Not yet',
621
+ notifyNow: 'Notify',
622
+ deleteTask: 'Delete task',
623
+ deleteTaskTitle: id => `Delete ${id}?`,
624
+ deleteTaskText: id => `${id} goes to the board's trash, with its comments and history: it can be restored from there. If an agent was told about it, its coordinator is told it is gone.`,
625
+ deleteWithSubtasks: n => `Delete its ${n === 1 ? 'subtask' : `${n} subtasks`} too (if not, ${n === 1 ? 'it stays' : 'they stay'} on the board with no parent)`,
626
+ bTrash: n => `Trash (${n})`,
627
+ bTrashTitle: name => `Trash of «${name}»`,
628
+ bTrashEmpty: 'The trash is empty.',
629
+ bTrashBy: (who, when) => `Deleted by ${who}, ${when}`,
630
+ bTrashSubOf: (id, trashed) => `subtask of ${id}${trashed ? ' (in the trash)' : ''}`,
631
+ bTrashWith: n => `with ${n === 1 ? 'its subtask' : `${n} subtasks`}`,
632
+ restoreTask: 'Restore',
633
+ restoreTitle: id => `Restore ${id}?`,
634
+ restoreText: id => `${id} goes back to the board.`,
635
+ restoreNoParent: (id, parent) => `Its parent, ${parent}, is in the trash: ${id} is restored with no parent.`,
636
+ restoreWithSubtasks: n => `Restore its ${n === 1 ? 'subtask' : `${n} subtasks`} too (if not, ${n === 1 ? 'it stays' : 'they stay'} in the trash)`,
637
+ restoredNoParent: (id, parent) => `${id} is back with no parent: ${parent} can't take it.`,
638
+ bDeletedIt: 'deleted it',
639
+ bRestoredIt: 'restored it',
640
+ bEdited: 'edited',
641
+ bPrs: 'Pull requests',
642
+ prState: { open: 'Open', draft: 'Draft', merged: 'Merged', closed: 'Closed' },
643
+ prReview: { approved: 'Approved', changes: 'Changes requested', required: 'Review required' },
644
+ bPrIt: e => (e.linked ? `linked pull request #${e.number}` : e.state === 'merged' ? `merged pull request #${e.number}` : `closed pull request #${e.number} without merging it`),
645
+ bPrsTag: n => `${n} pull request${n === 1 ? '' : 's'}`,
646
+ ghMergeMoves: 'When a linked pull request is merged, move its task to the first Done column',
647
+ ghPrsHint: 'A pull request is linked to a task when it names the task (SQ-12) in its title, branch or description, or closes its issue (Closes #30).',
648
+ changedMeanwhile: 'Someone changed it while you were editing: this is how it is now. Make your changes again.',
649
+ bFilter: 'Filter tasks',
650
+ bAnyone: 'Anyone',
651
+ bAnyLabel: 'Any label',
652
+ bAnyType: 'Any type',
653
+ bOnlyPending: 'Not told',
654
+ bTasks: n => `${n} task${n === 1 ? '' : 's'}`,
655
+ bNoTasks: 'No tasks here yet.',
656
+ bNoMatch: 'No task matches the filter.',
657
+ bAddTo: name => `Add a task to ${name}`,
658
+ taskParent: 'Subtask of',
659
+ noParent: 'None (a task of its own)',
660
+ bSubtasks: 'Subtasks',
661
+ bAddSubtask: 'Add a subtask',
662
+ bSubOf: (id, title) => `Subtask of ${id}${title ? ` «${title}»` : ''}`,
663
+ bSubProgress: (done, total) => `${done} of ${total} subtasks finished`,
664
+ stepTitle: name => `Step: ${name}`,
665
+ stepHint: 'Make this column a step of the board’s flow. A task moved here goes to whoever handles it; when an agent moved it, their coordinator is told at once, and when a person did, they are asked first.',
666
+ stepHandler: 'Handled by',
667
+ stepHandlerHint: 'A team’s coordinator (it hands it out), one agent, or a person. Nobody: a task keeps who has it.',
668
+ stepInstructions: 'What to do here',
669
+ stepInstructionsPh: 'Review the change against the task and its tests…',
670
+ stepNext: 'When done, move to',
671
+ stepNoNext: '— (as the agent sees fit)',
672
+ stepBack: 'If it isn’t acceptable, back to',
673
+ stepNoBack: '—',
674
+ stepBy: name => `→ ${name}`,
675
+ stepThen: name => `then ${name}`,
676
+ stepInstructionsOnly: 'With instructions',
677
+ bClosePanel: 'Close task',
678
+ bTaskGone: 'This task no longer exists.',
679
+ bOpenBoard: name => `Open ${name}`,
680
+ ibxReplyTellNote: 'It reaches its coordinator along with what it told you. Done closes it without a reply.',
681
+ ibxOptionDetail: 'Pick an option and send it: what you type here goes with it.',
682
+ ibxGoesOn: 'It goes on with the rest meanwhile.',
683
+ ibxRef: 'Reference',
684
+ ibxLeft: 'Left',
685
+ ibxChanged: 'Changed',
686
+ ibxClosedAt: 'Closed',
687
+ inboxUpdated: t => `updated ${t}`,
688
+ inboxChangedSince: 'It changed since you opened it: read it again',
689
+ inboxDetail: 'Detail, or your own answer',
690
+ inboxSend: 'Send',
691
+ inboxAnswered: (by, a) => `${by} answered: ${a}`,
692
+ inboxClosed: r => `Closed by its coordinator: ${r}`,
693
+ inboxNoMachine: 'Not opened from the dashboard, or its machine is offline: answer in its session.',
694
+ inboxOldMachine: 'Its machine is too old to type answers: update it, or answer in its session.',
695
+ inboxTypingOff: "Its machine doesn't let the dashboard type: answer in its session.",
696
+ archivedSub: 'Hidden from the mosaic. A session that reconnects is unarchived automatically.',
697
+ backArchived: 'Archived',
698
+ archivedTag: 'archived',
699
+ context: k => `context ${k} tokens`,
700
+ contextPct: p => `${p}% before auto-compact`,
701
+ contextTitle: (p, k, at) => `Context: ${k} tokens, ${p}% of the ${at} tokens at which it auto-compacts`,
702
+ compactedLine: auto => `Context compacted (${auto ? 'automatic' : 'manual'}); Pisha role and recent messages restored`,
703
+ compactSummary: 'summary',
704
+ coordinatorOf: c => `coordinator: ${c}`,
705
+ clearChat: 'Clear chat',
706
+ unarchive: 'Unarchive',
707
+ archive: 'Archive',
708
+ delete: 'Delete',
709
+ deleteSession: 'Delete session',
710
+ approve: 'Approve as coordinator',
711
+ approveNote: 'Not approved',
712
+ approveTitle: n => `Approve ${n}`,
713
+ approveText: who => `${who} registered with the join token and acts as a coordinator, or a worker expects it to. Until you approve it, it can't write to its workers. Approve it only if you started it: if you didn't, someone with the join token may have taken that name. In that case delete it, and rotate the join token.`,
714
+ openChat: 'Open chat',
715
+ viewChat: 'View chat',
716
+ offlineHint: 'Archive and delete only work on disconnected sessions.',
717
+ actions: n => `Actions for ${n}`,
718
+ mosaicEmpty: arch => `${arch ? `No active sessions (${arch} archived). ` : 'No sessions yet. '}Open one from <a href="#/hosts">Machines</a>, or start Claude with the <code>claude-pisha</code> alias and run <code>/pisha:login coordinator</code> or <code>/pisha:login worker1</code>.`,
719
+ cancel: 'Cancel',
720
+ unauthorized: 'unauthorized',
721
+ sessionOnline: 'The session is connected: disconnect it first (/pisha:logout or close Claude).',
722
+ clearTitle: n => `Clear ${n}'s chat`,
723
+ moreChars: n => `… (${n} more characters)`,
724
+ machineSays: 'the machine says',
725
+ olderHidden: n => `${n} older item${n === 1 ? '' : 's'} not shown here (too large to draw at once)`,
726
+ machineNotFound: 'That machine isn\'t here (it was disconnected, or the link is wrong).',
727
+ notListed: 'not listed by this machine',
728
+ editedMark: 'edited',
729
+ coordOwn: 'opened from this dashboard',
730
+ coordSelf: 'says it is a coordinator (not opened from here)',
731
+ coordOffline: 'disconnected',
732
+ coordPick: '— choose a coordinator —',
733
+ coordNoneYet: 'There is no coordinator yet: open one first (Role: Coordinator), then add its workers.',
734
+ coordRequired: 'Choose the worker\'s coordinator',
735
+ noFoldersHere: 'This machine has no allowed folders yet: add one with <b>Add folder</b> (here, or in the More menu of the machine\'s card).',
736
+ folderRequired: 'Choose a folder (the machine has none allowed yet)',
737
+ clearText: (who, online) => `Deletes ${who}'s activity from the server (prompts, tools, Claude's text). Messages between sessions are hidden in this chat but stay in the other sessions' chats.${online ? ' The session stays connected and new activity keeps showing up.' : ''} The conversation inside Claude itself is not touched.`,
738
+ archiveTitle: n => `Archive ${n}`,
739
+ archiveText: who => `${who} disappears from the mosaic and the list and moves to «Archived» with all its history. If it reconnects, it is unarchived automatically.`,
740
+ deleteTitle: n => `Delete ${n}`,
741
+ deleteText: (who, n) => `Deletes ${who}'s identity and all its activity from the server, with its attachments and the messages it had queued for others. Its messages go too: what it wrote, and what was written to it directly, also from the other sessions' chats. If it registers again (<code>/pisha:login ${n}</code> on a machine with the join token, or opened again from the dashboard), it is a new identity: sessions that talked to it won't take its messages until they run <code>/pisha:access unpin ${n}</code> (if it was a coordinator, its workers also need <code>coordinator-pin.json</code> deleted from their state folder and a new login). This cannot be undone.`,
742
+ couldNotComplete: 'Could not complete',
743
+ ok: 'OK',
744
+ archivedAt: d => `Archived ${d}`,
745
+ noArchived: 'No archived sessions. Archive a disconnected session from its ⋯ menu.',
746
+ live: 'live',
747
+ reconnecting: 'reconnecting…',
748
+ connecting: 'Connecting…',
749
+ tooManyTries: 'Too many tries: wait a few minutes.',
750
+ cannotConnect: m => `Can't reach the server: ${m}`,
751
+ logout: 'Log out',
752
+ darkMode: 'Dark mode',
753
+ lightMode: 'Light mode',
754
+ sessionsMenu: 'Sessions',
755
+ loginIntro: 'Sign in with your email and password.',
756
+ ownerIntro: 'This server has nobody yet. Create the first owner with the server token: <code>pisha-server</code> prints it the first time it starts, and it is in <code>server-token</code> in its data folder (<code>~/.pisha</code>, or <code>/data</code> in Docker).',
757
+ tokenPlaceholder: 'Server token',
758
+ email: 'Email',
759
+ password: 'Password',
760
+ currentPassword: 'Current password',
761
+ setupQr: 'QR code to scan with your authenticator app',
762
+ newPassword: 'New password (at least 12 characters)',
763
+ yourName: 'Your name',
764
+ createOwner: 'Create the owner',
765
+ codeIntro: 'Enter the 6-digit code from your authenticator app.',
766
+ code: 'Code',
767
+ useRecovery: 'Use a recovery code',
768
+ useCode: 'Use a code from the app',
769
+ recoveryIntro: 'Enter one of your recovery codes. Each works once.',
770
+ recoveryCode: 'Recovery code',
771
+ setupIntro: 'Whoever can write in terminals signs in with codes. Scan this with your authenticator app (Google Authenticator, 1Password, Aegis…) and enter the code it shows.',
772
+ setupKey: 'Or type this key in the app:',
773
+ setupLink: 'Open it in an app on this device',
774
+ setupConfirm: 'Turn on codes',
775
+ recoveryShow: 'Keep these recovery codes somewhere safe: they get you in if you lose the app, and they are only shown now.',
776
+ recoverySaved: 'I have saved them',
777
+ inviteTo: (company, role) => `You are invited to <b>${company}</b> as ${role}:`,
778
+ inviteServer: 'You are invited to this server:',
779
+ acceptInvite: 'Accept',
780
+ resetIntro: 'Choose a new password. Your open sessions will end.',
781
+ setPassword: 'Set the password',
782
+ passwordSet: 'The password has been changed.',
783
+ linkGone: 'This link is wrong, was used already, or has expired. Ask for another.',
784
+ noCompany: 'You are not in any company yet. Ask for an invitation.',
785
+ people: 'People',
786
+ tabMembers: 'This company',
787
+ tabCompanies: 'Companies',
788
+ tabUsers: 'Users',
789
+ tabMachines: 'Machines',
790
+ tabCompany: 'Activity & data',
791
+ auditTitle: 'What has been done',
792
+ auditEmpty: 'Nothing yet.',
793
+ retentionTitle: 'How long things are kept',
794
+ retentionDays: 'Messages and attachments (days)',
795
+ eventHours: 'Activity of sessions (hours)',
796
+ saved: 'Saved.',
797
+ exportTitle: 'Export',
798
+ exportHint: 'A file with this company\'s database and attachments. It holds everything it has said: keep it safe.',
799
+ exportBtn: 'Download',
800
+ deleteCompanyTitle: 'Delete this company',
801
+ deleteCompanyHint: 'It stops at once and is deleted in 30 days, with all its data. Until then an owner can bring it back.',
802
+ deleteCompanyConfirm: name => `Write its name to confirm: ${name}`,
803
+ deleteCompanyBtn: 'Delete the company',
804
+ deleteCompanyWrong: 'That is not its name: nothing was deleted.',
805
+ deletesOn: when => `Will be deleted on ${when}`,
806
+ restore: 'Bring it back',
807
+ machineSessions: n => `${n} session${n === 1 ? '' : 's'} in all`,
808
+ instanceSessions: (n, max) => `${n}${max ? ` of ${max}` : ''} sessions`,
809
+ isolation: { unknown: 'It doesn\'t say (an older pisha-host)', dedicated: 'One company', 'os-user': 'Shared, with a system user per company', 'same-user': 'Shared under one system user' },
810
+ sharedUserWarn: 'Another company runs on this machine under the same system user. They are kept apart against accidents only: an agent with a shell, or someone at a terminal, can read the other one\'s files.',
811
+ noMachines: 'No machines yet.',
812
+ osUser: 'System user for this company (optional)',
813
+ osUserHint: 'Created if it doesn\'t exist, and needs sudo. It is what really keeps companies apart on one machine.',
814
+ tabAccount: 'My account',
815
+ close: 'Close',
816
+ remove: 'Remove',
817
+ role: 'Role',
818
+ roles: { observer: 'Observer', operator: 'Operator', manager: 'Manager', owner: 'Owner' },
819
+ invite: 'Create an invitation',
820
+ inviteTitle: 'Invite someone',
821
+ setAllCompanies: 'All companies',
822
+ evPerson: 'Person',
823
+ evYou: 'you',
824
+ evRoleIn: (who, co) => `${who}'s role in ${co}`,
825
+ evSameRole: 'Same role in every company',
826
+ evAdmin: 'Also an administrator of the server',
827
+ evInviteHint: 'One link: they join every company you give them a role in.',
828
+ evOnlyHere: 'They join this company only.',
829
+ evSeeAll: 'People in all companies',
830
+ rolesWhat: 'What each role can do',
831
+ roleHelp: {
832
+ observer: 'Sees teams, the org chart, conversations and activity; changes nothing.',
833
+ operator: 'Also opens and stops sessions, uses their terminals and answers in the inbox.',
834
+ manager: 'Also edits the org chart and templates, approves coordinators, and manages machines, people and the join token.',
835
+ owner: 'Also changes how long things are kept, exports or deletes the company, and gives the owner role.',
836
+ },
837
+ passwordTitle: 'Password',
838
+ linkOnce: 'Send this link yourself: it works once. There is no email in this server.',
839
+ pendingInvites: 'Invitations not used yet',
840
+ pendingLinks: 'Links not used yet',
841
+ linkReset: 'new password',
842
+ linkInvite: 'invitation',
843
+ cancelInvite: 'Cancel',
844
+ rotateAdvice: 'That person could see the join token: replace it below.',
845
+ rotateAdviceIn: companies => `That person could see the join token of ${companies}: replace it in each.`,
846
+ joinToken: 'Join token',
847
+ joinTokenHint: 'What this company\'s machines use to register new sessions, nothing else.',
848
+ rotate: 'Replace it',
849
+ disabled: 'disabled',
850
+ unavailable: 'could not start: see the server log',
851
+ openCompany: 'Open',
852
+ joinCompany: 'Join (it is recorded)',
853
+ companyName: 'Name of the new company',
854
+ createCompany: 'Create',
855
+ administrator: 'administrator',
856
+ resetLink: 'Password link',
857
+ enable: 'Enable',
858
+ disable: 'Disable',
859
+ enter: 'Sign in',
860
+ machines: 'Machines',
861
+ tabSessions: 'Sessions',
862
+ allMachines: 'All machines',
863
+ hostSessions: n => `${n} session${n === 1 ? '' : 's'}`,
864
+ machinesCount: (on, n) => n ? `${on} of ${n} connected` : 'None yet',
865
+ machinesTitle: 'Machines',
866
+ machinesSub: 'Computers running pisha-host: open sessions on them and use their terminals from here.',
867
+ addMachine: 'Add machine',
868
+ newSession: 'New session',
869
+ mcEmptyHint: 'Add a computer with Claude Code: its agents run there, with its own login, and you watch and steer them from here.',
870
+ hostOffline: ago => `Disconnected · seen ${ago} ago`,
871
+ hostPending: ago => `Waiting to connect · added ${ago} ago`,
872
+ hostOnline: 'Connected',
873
+ folders: 'Folders',
874
+ noFolders: 'none yet',
875
+ addFolder: 'Add folder',
876
+ hostOld: (v, s) => `pisha-host ${v} is older than the server (${s}): on the machine run <code>pisha-host update</code> (from 0.0.2: add the machine again with <b>+ Add machine</b> and remove this one)`,
877
+ addFolderTitle: n => `Allow a folder on ${n}`,
878
+ addFolderText: 'Sessions can be opened in this folder and anything inside it. A path on that machine, such as <code>~/projects</code> or <code>/home/me/work</code>.',
879
+ addFolderHome: 'Your whole home folder (<code>~</code>) only if pisha-host was started with <code>--allow-home</code>.',
880
+ folderPath: 'Folder',
881
+ allow: 'Allow',
882
+ removeFolder: f => `Stop allowing ${f}`,
883
+ removeFolderTitle: 'Stop allowing this folder?',
884
+ stopAllowing: 'Stop allowing',
885
+ removeFolderText: f => `No new sessions can be opened in <code>${f}</code>. Sessions already open there keep running.`,
886
+ homeFolder: 'home folder: all your files; permissions only in its terminal',
887
+ foldersLocal: 'changed only on the machine, with <code>pisha-host folders add &lt;path&gt;</code>',
888
+ homeSession: 'This is your home folder: the session reaches all your files, and its permission prompts are answered only in its terminal (not by the coordinator).',
889
+ maxSessions: n => `up to ${n} sessions`,
890
+ typingOn: 'typing from here: allowed',
891
+ typingOff: 'watch only (typing turned off on the machine)',
892
+ noTerminals: 'No sessions open on this machine.',
893
+ pluginOk: v => `Pisha plugin ${v ? `v${v}` : 'installed'}`,
894
+ mcInstalled: 'Installed',
895
+ mcPlugin: 'Pisha plugin', mcSystem: 'System', mcHostname: 'Host name', mcYes: 'installed',
896
+ mcLimits: 'Limits',
897
+ pluginMissing: missing => `Pisha plugin ${missing ? 'not installed' : 'disabled'}: run <code>pisha-host plugin</code> on the machine`,
898
+ terminal: 'Terminal',
899
+ chat: 'Chat',
900
+ closeSession: 'Close session',
901
+ closeSessionTitle: n => `Close ${n}`,
902
+ closeSessionText: (n, h) => `Ends the Claude Code session <b>${n}</b> on <b>${h}</b> (like closing its terminal). Its conversation stays in Claude's history and can be picked up again with <code>/resume</code> in a new session in that folder.`,
903
+ rename: 'Rename',
904
+ renameTitle: 'Rename machine',
905
+ disconnect: 'Remove',
906
+ disconnectTitle: n => `Remove ${n}`,
907
+ disconnectSessions: 'Also disconnect the sessions opened there: their secrets stop working. If you gave it the join token, replace that too.',
908
+ disconnectText: n => `<b>${n}</b> leaves this list and can no longer connect: its credential is revoked and pisha-host (0.0.2 or later) stops on that machine if it is running. Sessions already open there keep running (<code>tmux -L pisha ls</code>). To add it again you need a new command from «+ Add machine».`,
909
+ save: 'Save',
910
+ name: 'Name',
911
+ addTitle: 'Add a machine',
912
+ amNameStep: 'Name',
913
+ amInstallStep: 'Install',
914
+ amConnectStep: 'Connect',
915
+ amReadyStep: 'Ready',
916
+ amInstallLater: 'Generate the command first: it shows here, for the machine\'s system.',
917
+ amConnectLater: 'Once the command runs on that computer, it shows up here by itself.',
918
+ amReadyLater: 'Then choose where its sessions may work, and open a team on it.',
919
+ amAdvanced: 'Advanced options',
920
+ amAgents: 'Agents to install',
921
+ amSignIn: 'Sign in to each agent once, in a terminal on the machine:',
922
+ amThenFolders: 'Then choose here the folders where its sessions may work.',
923
+ amAgentHint: { claude: 'Sign in with your Claude account (Pro, Max, Team or Enterprise) or an API key.', codex: 'Sign in with your ChatGPT account or an OpenAI API key.', grok: 'Sign in with your SuperGrok account.' },
924
+ amAgentsNone: 'Choose at least one agent: its sessions run in it.',
925
+ amSlow: 'Not here yet? Check that the command finished without errors on that computer, and that it reaches this server\'s address.',
926
+ amExpired: 'This code has expired: generate a new one.',
927
+ amAnother: 'Generate a new one',
928
+ amFolders: 'Folders where it may work',
929
+ amNewTeam: 'New team',
930
+ amToMachines: 'Go to Machines',
931
+ addIntro: 'You will get one command to run on the machine: it installs everything it needs and joins it to this server.',
932
+ machineName: 'Name for the machine (optional)',
933
+ machineNameHint: 'Defaults to its hostname.',
934
+ configurePlugin: 'Also give that machine the join token, so sessions started there by hand can join (sessions opened from this dashboard don\'t need it). Anyone who sees the command could take it.',
935
+ generate: 'Generate command',
936
+ osPick: 'The machine runs',
937
+ runOn: os => os === 'windows' ? 'Run this in <b>PowerShell</b> on the machine:' : 'Run this in a terminal on the machine (as your user):',
938
+ runWhat: 'It installs what is missing (tmux, Node.js 22 and the agents you chose), joins the machine with a single-use code, sets Pisha up in each agent and the <code>pisha-host</code> command, and leaves it running in the background. Keep the command private until it is used.',
939
+ windowsNote: 'On Windows, Pisha runs inside WSL (Ubuntu): if WSL isn\'t installed, the command tells you how. Windows stops WSL when it looks idle, so leave an Ubuntu window open.',
940
+ allowRoot: 'I\'ll run it as <b>root</b> (<code>--allow-root</code>): sessions get full control of the machine, to change the system. Otherwise run it as your own user.',
941
+ allowHome: 'Also allow my whole home folder for sessions (<code>--allow-home</code>): to let Claude manage the computer. Sessions there reach all your files, and their permission prompts are answered only in their own terminal.',
942
+ manualCmd: 'Already have tmux, Node.js 22 and Claude Code? Just pisha-host:',
943
+ copy: 'Copy',
944
+ copied: 'Copied ✓',
945
+ imageSent: 'Image sent to Claude ✓',
946
+ imageFailed: 'That image could not be pasted',
947
+ codeValid: t => `Single-use code, valid until ${t}.`,
948
+ waitingMachine: 'Waiting for the machine to connect…',
949
+ machineJoined: n => `✓ <b>${n}</b> is connected.`,
950
+ done: 'Done',
951
+ newSessionTitle: 'New session',
952
+ persona: 'Persona (skill or agent)',
953
+ personaNone: 'None: plain Claude Code',
954
+ personaSkill: 'Skill',
955
+ personaAgent: 'Agent',
956
+ personaSkillsProject: 'Skills in this project',
957
+ personaSkillsUser: 'Your skills (~/.claude)',
958
+ personaAgentsProject: 'Agents in this project',
959
+ personaAgentsUser: 'Your agents (~/.claude)',
960
+ personaHint: 'The session follows it for as long as it runs: it goes into its system prompt, so compactions and other skills don\'t replace it.',
961
+ personaNoDescription: '(no description)',
962
+ personaLoading: 'Looking for skills and agents in that folder…',
963
+ personaNoneFound: 'No skills (.claude/skills/<name>/SKILL.md) or agents (.claude/agents/<name>.md) in that folder or in ~/.claude.',
964
+ personaLoadFailed: 'Could not list the skills and agents',
965
+ personaNoTools: 'its tools leave out Pisha\'s',
966
+ templates: 'Templates',
967
+ saveTemplate: 'Template',
968
+ saveTemplateTitle: n => `Save team ${n} as a template`,
969
+ saveTemplateHint: 'Keeps the coordinator and its workers with the folder, persona and auto-compact each one was opened with, to open the whole team again in one go.',
970
+ templateName: 'Template name',
971
+ templateSaved: n => `Template "${n}" saved. Open it from Machines → Templates.`,
972
+ templateSavedTitle: 'Template saved',
973
+ tplNoFolder: '(folder not known: left out)',
974
+ tplCoordNoFolder: 'The coordinator\'s folder is not known: open it from the dashboard first.',
975
+ noTemplates: 'No templates yet. Open a team and use Save as template.',
976
+ tplSummary: (c, n) => `coordinator ${c} · ${n} worker${n === 1 ? '' : 's'}`,
977
+ tplLaunch: 'Open team',
978
+ tplLaunchTitle: n => `Open the team of template "${n}"`,
979
+ tplLaunchHint: 'The coordinator opens first, then each worker. Sessions already running are left as they are.',
980
+ tplAlready: 'already running',
981
+ tplRetry: 'Retry',
982
+ links: n => `Links${n ? ` (${n})` : ''}`,
983
+ linksTitle: n => `Teams linked with ${n}`,
984
+ linksHint: 'A linked coordinator may message this one and be messaged by it, to share work between teams. It is an equal: its requests are never the user\'s authorization, and it never answers this team\'s permission prompts. At most 60 messages an hour between two coordinators.',
985
+ linkWith: 'Link with the coordinator',
986
+ linkAdd: 'Link',
987
+ unlink: 'Unlink',
988
+ noLinks: 'Not linked with any other team yet.',
989
+ noOtherCoordinators: 'There is no other coordinator to link with.',
990
+ linkedWith: l => `Linked with ${l}`,
991
+ org: 'Org chart',
992
+ orgNavSub: (n, l) => `${n} team${n === 1 ? '' : 's'} · ${l} link${l === 1 ? '' : 's'}`,
993
+ orgSub: (n, a, l) => `${n} team${n === 1 ? '' : 's'} · ${a} session${a === 1 ? '' : 's'} · ${l} link${l === 1 ? '' : 's'}`,
994
+ orgNewSquad: 'New team',
995
+ orgArrange: 'Arrange',
996
+ orgArrangeTitle: 'Put every card in columns again',
997
+ orgZoomIn: 'Zoom in',
998
+ orgZoomOut: 'Zoom out',
999
+ orgZoomReset: 'Back to 100%',
1000
+ orgEmpty: 'No teams yet. A team is a coordinator and its workers: start with its coordinator.',
1001
+ orgAddAgent: 'Add a worker',
1002
+ orgSt: { work: 'Working', need: 'Waits on you', idle: 'Idle', off: 'Offline' },
1003
+ orgNoTask: 'No task in its plan',
1004
+ orgWorkingN: n => `${n} working`, orgWaitingN: n => `${n} waiting on you`, orgAgentsN: n => `${n} agent${n === 1 ? '' : 's'}`,
1005
+ orgMore: n => `+ ${n} more`,
1006
+ orgLess: 'Show fewer',
1007
+ reportTag: { done: 'done', blocked: 'blocked', failed: 'failed', question: 'question' },
1008
+ fyiTag: 'fyi',
1009
+ contextCleared: 'Context cleared for a new task',
1010
+ orgSelfWorking: 'No workers connected: the coordinator does the team\'s work itself',
1011
+ orgLinkHandle: 'Drag onto another team to link them',
1012
+ orgSquadMenu: n => `Team ${n}: actions`,
1013
+ orgAgentMenu: n => `${n}: actions`,
1014
+ orgNoPurpose: 'Not described yet: ⋯ → Describe.',
1015
+ orgNoGoal: 'No goal yet: ⋯ → Name and goal.',
1016
+ orgLinkRecent: n => `${n} message${n === 1 ? '' : 's'} in the last hour (at most 60)`,
1017
+ orgEditSquad: 'Name and goal…',
1018
+ orgEditSquadTitle: n => `Team ${n}`,
1019
+ orgSquadTitle: 'Name shown',
1020
+ orgGoal: 'Goal',
1021
+ orgGoalHint: 'What this team is for. Its coordinator is told, to put its effort there (its workers aren\'t: it gives them what each task needs); coordinators linked with it see it in ping, to know what to ask it for.',
1022
+ orgSquadTitleOpt: 'Team name (optional)',
1023
+ orgGoalOpt: 'Team goal (optional)',
1024
+ orgDescribe: 'Describe…',
1025
+ orgDescribeTitle: n => `What ${n} is for`,
1026
+ orgPurpose: 'Description',
1027
+ orgDescribeHint: 'You see it on hover. A coordinator is told its own; a worker isn\'t (its coordinator sees it in ping). Empty: its persona\'s description.',
1028
+ orgReshape: 'Change persona or team…',
1029
+ orgReshapeTitle: n => `Change ${n}`,
1030
+ orgReshapeHint: f => `The persona and the team are fixed when a session starts: it is closed and opened again with them, in ${f}.`,
1031
+ orgSquad: 'Team',
1032
+ orgResume: 'Continue its conversation',
1033
+ orgNoResume: 'This machine doesn\'t continue earlier conversations: it starts a new one.',
1034
+ orgReopenBtn: 'Close and open again',
1035
+ orgReopening: 'Opening again…',
1036
+ orgStillOn: n => `"${n}" is still connected: try again in a few seconds.`,
1037
+ orgNeedsMachine: 'Its machine is not connected.',
1038
+ orgNoFolder: n => `The folder of "${n}" is not known: open it from the dashboard first.`,
1039
+ orgCloseSquad: 'Close team',
1040
+ orgCloseSquadTitle: n => `Close team ${n}?`,
1041
+ orgCloseSquadText: l => `Closes the terminals of ${l}. What they were doing stops; their chats stay, and each one can be opened again.`,
1042
+ orgDeleteSquad: 'Delete team',
1043
+ orgDeleteSquadTitle: n => `Delete team ${n}?`,
1044
+ orgDeleteSquadText: l => `Deletes ${l} from the dashboard, with their chats, and its links with other teams. It can't be undone.`,
1045
+ machine: 'Machine',
1046
+ noOnlineMachines: 'No machine is connected. Add one, or start pisha-host on it.',
1047
+ role: 'Role',
1048
+ sessionName: 'Session name',
1049
+ coordinatorName: 'Coordinator',
1050
+ folder: 'Folder',
1051
+ subfolder: 'Subfolder (optional)',
1052
+ subfolderHint: 'e.g. my-repo/api',
1053
+ compact: 'Auto-compact at',
1054
+ compactDefault: 'Claude Code default (~967K on 1M models, 200K on others)',
1055
+ compactRec: '600K tokens — recommended for 1M-context models',
1056
+ compactK: k => `${k}K tokens`,
1057
+ compactHint: 'Never above the model\'s own window: on 200K models it stays at 200K.',
1058
+ resumeHint: 'To pick up an earlier conversation, type <code>/resume</code> in the session\'s terminal once it opens.',
1059
+ open: 'Open',
1060
+ opening: 'Opening…',
1061
+ nameTaken: n => `A session named "${n}" already exists and is connected.`,
1062
+ openOnHost: n => `A session named "${n}" is already open on that machine (its terminal is still there): close it first, or choose another name.`,
1063
+ termHintTyped: (h, a) => `Typing goes straight to ${a} on ${h}. On first start trust the folder if asked (Codex CLI also asks once to trust the Pisha hooks): that also trusts the folder's own Codex or Grok settings, which can run code, so only for repositories you trust. Selecting text copies it (hold Shift while dragging if it doesn't select); Ctrl+Shift+C copies too.`,
1064
+ termHint: h => `Typing goes straight to Claude on ${h}. On first start accept the development-channels prompt and, if asked, trust the folder and sign in with /login. Selecting text copies it (hold Shift while dragging if it doesn't select); Ctrl+Shift+C copies too. Paste an image (Ctrl+V) to give it to Claude.`,
1065
+ readOnly: 'Watch only',
1066
+ redraw: 'Redraw',
1067
+ termEnded: 'The session ended on the machine.',
1068
+ termHostDown: 'The machine is disconnected. Waiting for it to come back…',
1069
+ termLinkDown: 'Reconnecting to the server…',
1070
+ termLoading: 'Loading the terminal…',
1071
+ termLoadFailed: 'Could not load the terminal component (/vendor/xterm.js on this server).',
1072
+ onHost: h => `on ${h}`,
1073
+ openLink: 'Open this link from the terminal in a new tab?',
1074
+ kick: 'Disconnect session',
1075
+ kickTitle: n => `Disconnect ${n}`,
1076
+ kickText: who => `Cuts ${who} off Pisha now and cancels its secret: whoever has a copy of it can't come back. Use it for a session that misbehaves or holds a name it shouldn't. Then you can archive or delete it; to use the name again, close its terminal and open it again from its machine (if it was opened from the dashboard), or delete it.`,
1077
+ httpWarn: 'This address is plain http: machines refuse it unless you add --insecure, and only do that on a trusted private network. Serve the dashboard over https.',
1078
+ },
1079
+ es: {
1080
+ offline: ago => `Desconectada · vista hace ${ago}`,
1081
+ working: d => `Trabajando · ${d}`,
1082
+ waitingTool: what => `Esperando permiso · ${what}`,
1083
+ waitingInput: w => `Esperando: ${w || 'tu respuesta'}`,
1084
+ compacting: 'Compactando contexto',
1085
+ // Perfiles de permisos (permissions.js).
1086
+ tabPermissions: 'Permisos de los agentes',
1087
+ tqPermissions: 'Permisos',
1088
+ permIntro: 'Lo que los agentes pueden hacer sin preguntar. Un equipo sigue un perfil, y con él cada sesión que se abre desde el panel para ese equipo, salvo que esa sesión siga otro. Su máquina se lo pasa a Claude Code como reglas de permiso, que Claude Code hace cumplir: lo que escribas con tus palabras llega a cada sesión como el porqué de esas reglas.',
1089
+ permNew: 'Nuevo perfil',
1090
+ permBuiltin: { readonly: 'Solo lectura', dev: 'Desarrollo' },
1091
+ permBuiltinTag: 'Incluido',
1092
+ permCopy: 'Hacer una copia',
1093
+ permCopyWord: 'copia',
1094
+ permEdit: 'Editar',
1095
+ permDelete: 'Borrar',
1096
+ permDeleteTitle: name => `¿Borrar «${name}»?`,
1097
+ permDeleteText: n => n ? `${n === 1 ? 'Lo sigue un equipo o sesión' : `Lo siguen ${n} equipos y sesiones`}: a partir de ahora no seguirán ninguno. Las sesiones que ya están abiertas lo conservan hasta que se vuelvan a abrir.` : 'No lo sigue nadie.',
1098
+ permUsedBy: n => n === 1 ? 'Lo sigue 1 equipo o sesión' : `Lo siguen ${n} equipos y sesiones`,
1099
+ permEditTitle: name => `Editar «${name}»`,
1100
+ permName: 'Nombre',
1101
+ permNotes: 'En tus palabras',
1102
+ permNotesPlaceholder: 'Pueden hacer commit y pasar los tests, pero nunca push ni tocar la base de datos de producción.',
1103
+ permNotesHint: 'Llega a cada sesión como el porqué de sus reglas. Rellena desde aquí las líneas de abajo y revisa cada una.',
1104
+ permFill: 'Rellenar desde el texto',
1105
+ permFilled: n => `${n === 1 ? 'Una línea rellenada' : `${n} líneas rellenadas`} desde el texto (marcadas): revísa${n === 1 ? 'la' : 'las'} antes de guardar.`,
1106
+ permFillNone: 'Nada del texto coincide con las líneas de abajo: elígelas tú.',
1107
+ permCapsH: 'Qué pueden hacer',
1108
+ permStates: { default: 'Lo decide Claude Code', allow: 'Permitido', ask: 'Preguntar siempre', deny: 'Prohibido' },
1109
+ permCaps: {
1110
+ edit: 'Editar los ficheros de su carpeta', tests: 'Ejecutar tests, compilar y revisar el estilo', install: 'Instalar dependencias', commit: 'Hacer commits',
1111
+ push: 'Subir cambios (git push)', history: 'Reescribir la historia (force push, reset --hard, clean, rebase)', remove: 'Borrar ficheros (rm)',
1112
+ web: 'Consultar la web', docker: 'Usar Docker', sudo: 'Usar sudo',
1113
+ },
1114
+ permCapShort: { edit: 'editar', tests: 'tests', install: 'dependencias', commit: 'commits', push: 'push', history: 'reescribir la historia', remove: 'borrar ficheros', web: 'web', docker: 'Docker', sudo: 'sudo' },
1115
+ permCapHint: {
1116
+ edit: 'Edit(./**): todo lo que hay dentro de la carpeta en la que se abrió la sesión.', tests: 'npm test, npm run build, pytest, go test, cargo test, phpunit…',
1117
+ install: 'npm install, pip install, composer require…', commit: 'git add, commit, status, diff, log, stash, switch. Prohibido: solo git commit.',
1118
+ push: 'git push, a cualquier rama.', history: 'Prohibido también si el push está permitido.', remove: 'rm, rmdir, git rm.',
1119
+ web: 'WebFetch y WebSearch.', docker: 'docker, docker-compose.', sudo: 'Ninguna máquina acepta «Permitido» en este desde el panel.',
1120
+ },
1121
+ permOwnRules: 'Reglas propias (avanzado)',
1122
+ permOwnHint: 'Reglas de permiso de Claude Code, una por línea: Bash(make deploy *), Edit(./docs/**), WebFetch(domain:example.com), mcp__github__create_issue. ./ruta es la carpeta de la sesión y //ruta una absoluta. Una regla que prohíbe gana siempre.',
1123
+ permOwnCount: n => n === 1 ? '1 regla propia' : `${n} reglas propias`,
1124
+ permNothingSet: 'Nada elegido: todo lo decide Claude Code',
1125
+ permAppliesWhen: 'Se aplica al abrir una sesión desde el panel: una que ya está abierta conserva lo que tenía hasta que se vuelva a abrir.',
1126
+ permMachinesH: 'En cada máquina',
1127
+ permMachinesHint: 'Cada máquina decide hasta dónde los acepta, con <code>permissions_from_dashboard</code> en su <code>settings.json</code>. Diga lo que diga, nada del panel permite sudo, cualquier comando, un intérprete con cualquier argumento ni ficheros fuera de la carpeta de la sesión.',
1128
+ permTakes: { allow: 'Acepta todo: lo que permite, pregunta y prohíbe', restrict: 'Solo acepta lo que pregunta y prohíbe', off: 'No acepta ninguno: una sesión que siga uno no se abre', old: 'Demasiado antigua para aplicarlos: actualízala' },
1129
+ permNoMachines: 'Aún no hay máquinas.',
1130
+ permNoProfile: 'Sin perfil: Claude Code pregunta como siempre',
1131
+ permFollows: name => `Sigue «${name}»`,
1132
+ permFollowsTeam: name => `Sigue el de su equipo, «${name}»`,
1133
+ permRunningWith: name => `Abierta con «${name}» (antes del cambio)`,
1134
+ permChange: 'Cambiar',
1135
+ permAssignTitle: who => `Permisos de ${who}`,
1136
+ permProfile: 'Perfil',
1137
+ permNone: 'Ninguno',
1138
+ permFromTeam: name => name ? `El de su equipo («${name}»)` : 'El de su equipo (ahora ninguno)',
1139
+ permAssignTeamHint: 'Lo siguen su coordinador y todos los workers del equipo, salvo los que sigan otro.',
1140
+ permAssignSessionHint: 'Solo esta sesión: «Ninguno» la deja sin perfil, tenga su equipo el que tenga.',
1141
+ // Lo que una sesión está haciendo ahora (doing.js).
1142
+ nowTests: 'Ejecutando los tests',
1143
+ nowCommit: 'Haciendo un commit',
1144
+ nowPush: 'Subiendo los cambios',
1145
+ nowPull: 'Trayendo cambios',
1146
+ nowBranch: 'Cambiando de rama',
1147
+ nowMerge: 'Juntando ramas',
1148
+ nowDiff: 'Mirando los cambios',
1149
+ nowGitLog: 'Mirando el historial de git',
1150
+ nowGitStatus: 'Revisando el estado del repositorio',
1151
+ nowInstall: 'Instalando dependencias',
1152
+ nowLint: 'Revisando el estilo del código',
1153
+ nowBuild: 'Compilando',
1154
+ nowMigrate: 'Ejecutando migraciones de la base de datos',
1155
+ nowContainers: 'Levantando contenedores',
1156
+ nowImage: 'Construyendo una imagen de Docker',
1157
+ nowSearch: (term, where) => `Buscando «${term}»${where ? ` en ${where}` : ''}`,
1158
+ nowListFiles: 'Revisando los ficheros',
1159
+ nowFindFiles: pattern => `Buscando ficheros ${pattern}`,
1160
+ nowFetch: host => `Consultando ${host}`,
1161
+ nowSsh: host => `Conectando a ${host}`,
1162
+ nowWait: 'Esperando',
1163
+ nowRun: prog => `Ejecutando ${prog}`,
1164
+ nowRunSome: 'Ejecutando un comando',
1165
+ nowSecretCommand: 'Ejecutando un comando (no se muestra: toca secretos)',
1166
+ nowRead: file => `Leyendo ${file}`,
1167
+ nowWrite: file => `Escribiendo ${file}`,
1168
+ nowEdit: file => `Editando ${file}`,
1169
+ nowWebSearch: q => `Buscando en la web «${q}»`,
1170
+ nowAgent: what => `Subagente: ${what}`,
1171
+ nowTodos: 'Actualizando su lista de tareas',
1172
+ nowSkill: name => `Usando la skill ${name}`,
1173
+ nowReply: to => `Escribiendo a ${to}`,
1174
+ nowWriting: 'Escribiendo un mensaje',
1175
+ nowAsk: 'Preguntándote algo en la bandeja',
1176
+ nowTell: 'Dejándote una nota en la bandeja',
1177
+ nowPlan: 'Actualizando el plan',
1178
+ nowPing: 'Comprobando quién está conectado',
1179
+ nowEditInbox: 'Cambiando algo de la bandeja',
1180
+ nowDownload: 'Descargando un adjunto',
1181
+ nowMcp: (tool, server) => `Usando ${tool} (${server})`,
1182
+ nowTool: name => `Usando ${name}`,
1183
+ idle: d => `Inactiva · ${d}`,
1184
+ ended: 'Sesión cerrada',
1185
+ connectedNoObs: 'Conectada (sin observación)',
1186
+ connected: 'Conectada',
1187
+ tool: 'Herramienta',
1188
+ jump: n => n ? `↓ ${n} nuevo${n > 1 ? 's' : ''}` : '↓ nuevo',
1189
+ sessionEnded: 'Tu sesión ha terminado: vuelve a entrar.',
1190
+ loading: 'Cargando…',
1191
+ scrollMore: 'Desplázate hacia arriba para ver más',
1192
+ clearedEmpty: when => `Chat limpiado el ${when}. Lo nuevo aparecerá aquí.`,
1193
+ clearedTop: when => `Chat limpiado el ${when}`,
1194
+ noActivity: 'Sin actividad todavía. Aparece cuando la sesión hace <code>/pisha:login</code> con observación «activity» o «full».',
1195
+ historyStart: 'Inicio del historial guardado',
1196
+ serverNotice: 'aviso del servidor',
1197
+ you: 'Tú',
1198
+ inGroup: g => ` en ${g}`,
1199
+ turnEnded: 'turno terminado',
1200
+ background: n => `${n} en segundo plano`,
1201
+ sessionStarted: resumed => `Sesión ${resumed ? 'retomada' : 'iniciada'}`,
1202
+ inDir: d => ` en <code>${d}</code>`,
1203
+ sessionEnded: 'Sesión cerrada',
1204
+ observing: lvl => `Conectada a Pisha · observación «${lvl}»`,
1205
+ compactingLine: 'Compactando contexto',
1206
+ waitingPermission: 'esperando permiso',
1207
+ running: n => n > 1 ? `${n} en curso` : 'en curso',
1208
+ withErrors: n => `${n} con error`,
1209
+ subagent: started => `Subagente ${started ? 'iniciado' : 'terminado'}`,
1210
+ result: 'resultado',
1211
+ tools: n => `${n} herramienta${n === 1 ? '' : 's'}`,
1212
+ permShort: 'permiso',
1213
+ noResult: 'sin resultado',
1214
+ interrupted: 'interrumpido',
1215
+ error: 'error',
1216
+ input: 'entrada',
1217
+ output: 'salida',
1218
+ // el armazón (barra lateral, cabecera, Ctrl+K, ajustes)
1219
+ railLabel: 'Pisha',
1220
+ mainNav: 'Principal',
1221
+ teams: 'Equipos',
1222
+ yourTeams: 'Tus equipos',
1223
+ noTeams: 'Aún no hay equipos',
1224
+ newTeam: 'Nuevo equipo',
1225
+ goTo: 'Ir a…',
1226
+ goToShort: 'Ir a',
1227
+ backTo: where => `Volver a ${where}`,
1228
+ switchCompany: 'Cambiar a esta empresa',
1229
+ searchShortcut: mac => (mac ? '⌘K' : 'Ctrl K'),
1230
+ ofTotal: (n, all) => `${n} de ${all}`,
1231
+ company: 'Empresa',
1232
+ foldTeam: (name, open) => (open ? `Plegar ${name}` : `Desplegar ${name}`),
1233
+ roleName: { coordinator: 'Coordinador', worker: 'Worker', solo: 'Independiente' },
1234
+ agentName: { claude: 'Claude Code (Anthropic)', codex: 'Codex CLI (OpenAI)', grok: 'Grok CLI (xAI)' },
1235
+ agent: 'Agente',
1236
+ waitingOnYou: 'Te está esperando',
1237
+ unreadN: n => `${n} sin leer`,
1238
+ settings: 'Ajustes',
1239
+ settingsSections: 'Secciones de ajustes',
1240
+ closeSettings: 'Cerrar ajustes',
1241
+ setMine: 'Mi cuenta',
1242
+ setServer: 'Servidor',
1243
+ setAppearance: 'Idioma, tema y avisos',
1244
+ setProfile: 'Perfil y contraseña',
1245
+ theme: 'Tema',
1246
+ themeSystem: 'Sistema',
1247
+ themeLight: 'Claro',
1248
+ themeDark: 'Oscuro',
1249
+ language: 'Idioma',
1250
+ version: v => `Pisha ${v}`,
1251
+ palLabel: 'Ir a o hacer',
1252
+ palPlaceholder: 'Ir a una sesión, equipo o acción',
1253
+ palGroup: { sessions: 'Sesiones', teams: 'Equipos', inbox: 'Bandeja', screens: 'Ir a', actions: 'Acciones', companies: 'Empresas' },
1254
+ palHint: '↑↓ moverse · Enter abrir',
1255
+ palEsc: 'Esc cerrar',
1256
+ palNothing: q => `Nada coincide con «${q}»`,
1257
+ actNewSession: 'Nueva sesión',
1258
+ actAddMachine: 'Añadir máquina',
1259
+ actNewTeam: 'Nuevo equipo',
1260
+ actInvite: 'Invitar a alguien',
1261
+ actTheme: 'Cambiar entre claro y oscuro',
1262
+ actSettings: 'Abrir ajustes',
1263
+ allSessions: 'Todas las sesiones',
1264
+ leads: 'Coordinadores',
1265
+ leadsCount: n => `${n} coordinador${n === 1 ? '' : 'es'}`,
1266
+ leadsSub: (c, w) => `${c} coordinador${c === 1 ? '' : 'es'} · ${w} worker${w === 1 ? '' : 's'}`,
1267
+ leadsEmpty: 'Todavía no hay coordinadores: abre uno con <b>+ Nueva sesión</b> (Rol: Coordinador).',
1268
+ modeTerms: 'Terminales',
1269
+ modeChats: 'Chats',
1270
+ wWorking: d => `trabajando ${d}`,
1271
+ wIdle: d => `parado ${d}`,
1272
+ wWaiting: 'espera permiso',
1273
+ wOffline: 'desconectado',
1274
+ teamSummary: (t, wk, id, wa) => `${t} worker${t === 1 ? '' : 's'} · ${wk} trabajando · ${id} parado${id === 1 ? '' : 's'}${wa ? ` · ${wa} espera${wa === 1 ? '' : 'n'} permiso` : ''}`,
1275
+ giveWork: 'Dar trabajo',
1276
+ giveWorkTitle: (w, c) => `${w} está parado: habla con ${c} en su terminal`,
1277
+ activeOf: (a, t) => `${a} de ${t} activas`,
1278
+ coordinators: 'Coordinadores',
1279
+ squads: 'Equipos',
1280
+ noCoordinator: 'Sin coordinador',
1281
+ squadToggle: (n, open) => `${open ? 'Ocultar' : 'Mostrar'} ${n} worker${n === 1 ? '' : 's'}`,
1282
+ squadCount: (on, n) => `${on} de ${n} worker${n === 1 ? '' : 's'} conectado${n === 1 ? '' : 's'}`,
1283
+ noWorkers: 'Todavía sin workers',
1284
+ squadOf: n => `Equipo ${n}`,
1285
+ viewSquad: 'Ver equipo',
1286
+ viewSquadTitle: n => `Ver en el mosaico solo a ${n} y sus workers`,
1287
+ addWorker: 'Añadir worker',
1288
+ addWorkerTo: n => `Añadir un worker a ${n}`,
1289
+ squadEmpty: n => `${n} no está.`,
1290
+ needsYou: 'Te necesitan:',
1291
+ alertPerm: (n, what) => `<b>${n}</b> espera${what ? ` · ${what}` : ''}`,
1292
+ alertCtx: (n, p) => `<b>${n}</b> al ${p}% de su contexto antes de autocompactar`,
1293
+ alertMore: n => `y ${n} más`,
1294
+ workers: 'Workers',
1295
+ archived: 'Archivadas',
1296
+ archivedCount: n => n ? `${n} ${n === 1 ? 'sesión' : 'sesiones'}` : 'Ninguna',
1297
+ roleCoordinator: 'coordinador',
1298
+ roleWorker: 'worker',
1299
+ roleSolo: 'independiente',
1300
+ reopen: 'Reabrir',
1301
+ reopenTitle: n => `Reabrir ${n}`,
1302
+ reopenHint: 'Mismo nombre, rol y carpeta que antes. Cuando se abra, escribe <code>/resume</code> en su terminal para retomar la conversación donde se quedó.',
1303
+ roleSoloOption: 'Sesión independiente (sin coordinador)',
1304
+ soloHint: 'Una sesión normal de Claude Code, fuera de cualquier equipo: sin instrucciones de Pisha ni mensajes de otras sesiones. El panel sigue mostrando lo que hace.',
1305
+ standalone: 'Independientes',
1306
+ columns: 'Columnas',
1307
+ auto: 'Auto',
1308
+ archivedTitle: 'Sesiones archivadas',
1309
+ inbox: 'Bandeja',
1310
+ inboxTitle: 'Bandeja',
1311
+ inboxSub: 'Lo que tus coordinadores te han dejado',
1312
+ inboxEmpty: 'Nada te está esperando.',
1313
+ inboxAsk: 'Necesita tu decisión',
1314
+ inboxTell: 'Para que lo sepas',
1315
+ inboxOptions: 'Opciones',
1316
+ inboxRecommended: 'Recomendada',
1317
+ inboxAnswer: 'Responder en su sesión',
1318
+ inboxResolve: 'Hecho',
1319
+ inboxDismiss: 'Descartar',
1320
+ inboxDismissed: by => `${by} la descartó sin responder`,
1321
+ inboxDismissNotTold: who => `Descartada, pero no se ha podido avisar a ${who} desde aquí. Si la está esperando, díselo en su sesión.`,
1322
+ inboxDone: 'hecho',
1323
+ inboxDoneList: n => `Hechos (${n})`,
1324
+ inboxOpenN: n => (n === 1 ? '1 abierta' : `${n} abiertas`),
1325
+ reportWord: { done: 'Hecho', blocked: 'Bloqueado', failed: 'Falló', question: 'Pregunta' },
1326
+ svChat: 'Conversación',
1327
+ ntSteps: 'Pasos',
1328
+ ntGoalStep: 'Para qué es',
1329
+ ntWhoStep: 'Quiénes',
1330
+ ntWhereStep: 'Dónde',
1331
+ ntLaunchStep: 'Abrirlo',
1332
+ ntTitle: 'Nombre del equipo',
1333
+ ntGoal: 'Objetivo (opcional)',
1334
+ ntTitleHint: 'Desarrollo, QA, Contenidos…',
1335
+ ntGoalHint: 'Lo que debe conseguir, en una frase',
1336
+ ntStartWith: 'Empieza con',
1337
+ ntWithWorkers: 'Coordinador y workers',
1338
+ ntWithWorkersHint: 'Tú diriges al coordinador; él reparte',
1339
+ ntJustCoord: 'Solo un coordinador',
1340
+ ntJustCoordHint: 'Añades workers cuando haga falta',
1341
+ ntTemplate: name => `Plantilla: ${name}`,
1342
+ ntWillOpen: 'Sesiones que se abrirán',
1343
+ ntPersonasNote: 'Las personas son las skills y agentes que ya tienes en esa carpeta: Pisha las lista, no las cambia.',
1344
+ ntNameOf: role => `Nombre del ${role.toLowerCase()}`,
1345
+ ntRemove: name => `Quitar ${name}`,
1346
+ ntBadName: name => `«${name}» no sirve como nombre: solo letras, cifras, - y _, hasta 32.`,
1347
+ ntSameName: 'Dos sesiones tienen el mismo nombre.',
1348
+ ntBusy: name => `${name} ya está abierta: elige otro nombre.`,
1349
+ ntLaunch: n => (n === 1 ? 'Abrir el equipo (1 sesión)' : `Abrir el equipo (${n} sesiones)`),
1350
+ ntOpened: 'Abierta',
1351
+ ntNotAllowed: 'Para abrir sesiones hace falta el rol de operador.',
1352
+ planTitle: 'El plan',
1353
+ planBy: (who, when) => `Lo lleva ${who} · ${when}`,
1354
+ planTask: 'Tarea',
1355
+ planWho: 'Quién',
1356
+ planNobody: 'sin asignar',
1357
+ planState: { todo: 'Pendiente', doing: 'En curso', done: 'Hecha', blocked: 'Bloqueada', waiting: 'Espera tu decisión' },
1358
+ planDone: (n, all) => `${n} de ${all} hechas`,
1359
+ planDoing: n => `${n} en curso`,
1360
+ planBlocked: n => (n === 1 ? '1 bloqueada' : `${n} bloqueadas`),
1361
+ planWaiting: n => (n === 1 ? '1 espera tu decisión' : `${n} esperan tu decisión`),
1362
+ planSays: (done, all, doing, blocked, waiting) => `${done} de ${all} hechas, ${doing} en curso, ${blocked} bloqueadas, ${waiting} esperan tu decisión`,
1363
+ planWhose: 'Lo cuenta el coordinador. La referencia te lleva a su origen para comprobarlo.',
1364
+ fsTitle: 'Pon a trabajar a tu primer equipo',
1365
+ fsSub: 'Tres pasos. Tu agente sigue siendo el tuyo, con toda su configuración.',
1366
+ fsAccount: 'Crea tu cuenta con códigos',
1367
+ fsMachine: 'Conecta una máquina',
1368
+ fsMachineHint: 'Donde trabajará el agente: un servidor, tu portátil o un Mac mini.',
1369
+ fsTeam: 'Crea un equipo y dale su primera orden',
1370
+ fsTeamHint: 'Un coordinador, y los workers a los que reparte el trabajo.',
1371
+ fsDone: 'hecho',
1372
+ fsLogin: '¿Ya tienes una sesión de Claude Code abierta? Conéctala con <code>/pisha:login</code> y aparecerá aquí.',
1373
+ mcMachine: 'Máquina',
1374
+ mcState: 'Estado',
1375
+ mcSessions: 'Sesiones',
1376
+ mcVersion: 'Versión',
1377
+ mcUpdate: v => `${v}: actualizar`,
1378
+ mcNotAnswering: name => `${name} no responde`,
1379
+ mcNotAnsweringHint: 'Sus sesiones siguen abiertas allí si la máquina está encendida, y vuelven cuando reconecte. Comprueba pisha-host en esa máquina:',
1380
+ mcOnline: (n, all) => `${n} de ${all} conectadas`,
1381
+ subagentShort: 'Agente',
1382
+ svMore: name => `Más acciones de ${name}`,
1383
+ svMoreShort: 'Más',
1384
+ svTeam: 'Equipo',
1385
+ svSeeTeam: 'Ver el equipo',
1386
+ svDetails: 'Detalles',
1387
+ svMachine: 'Máquina',
1388
+ svFolder: 'Carpeta',
1389
+ svContext: 'Contexto',
1390
+ svPersona: 'Persona',
1391
+ svOpened: 'Abierta',
1392
+ svCoordinator: 'Coordinador',
1393
+ svNotObserved: 'Lo que hace no se ve aquí: su observación está apagada.',
1394
+ tqGone: name => `${name} ya no está`,
1395
+ tqGoal: 'Para qué es',
1396
+ tqEdit: 'Editar',
1397
+ tqReports: 'Últimos informes',
1398
+ tqReportsHint: 'Lo que dijeron sus workers al acabar una tarea',
1399
+ tqNoReports: 'Aún no hay informes.',
1400
+ tqTeam: 'El equipo',
1401
+ tqWho: 'Quiénes son',
1402
+ tqNoMachine: 'abierta a mano',
1403
+ tqLinks: 'Enlaces',
1404
+ tqLinkedTo: l => `Enlazado con ${l}: sus coordinadores se pasan trabajo.`,
1405
+ tqNoLinks: 'No está enlazado con otros equipos.',
1406
+ tqManageLinks: 'Gestionar enlaces',
1407
+ tqTemplate: 'Plantilla',
1408
+ tqTemplateHint: 'Guarda este equipo para crear otros iguales.',
1409
+ tqSaveTemplate: 'Guardar como plantilla',
1410
+ tqLive: 'Ver todas a la vez',
1411
+ tqLiveTitle: name => `${name} a la vez`,
1412
+ tqAddWorker: 'Añadir worker',
1413
+ tqGiveOrder: 'Dar una orden',
1414
+ viewList: 'Lista',
1415
+ viewMosaic: 'Mosaico',
1416
+ tmCount: (t, n) => `${t === 1 ? '1 equipo' : `${t} equipos`} · ${n === 1 ? '1 sesión' : `${n} sesiones`}`,
1417
+ tmSessions: n => (n === 1 ? '1 sesión' : `${n} sesiones`),
1418
+ tmNoGoal: 'Sin objetivo descrito todavía',
1419
+ tmEmptyHint: 'Un equipo es un coordinador y los workers a los que reparte el trabajo. Abre un coordinador para empezar uno.',
1420
+ ibxDecide: 'Te necesita',
1421
+ ibxDone: 'Hechas',
1422
+ ibxPending: 'Pendiente',
1423
+ ibxDoneTab: 'Hecho',
1424
+ ibxRunningTab: 'En curso',
1425
+ ibxWorkingNow: 'Trabajando',
1426
+ ibxNoneRunning: 'Ahora no trabaja nadie',
1427
+ ibxNoneRunningHint: 'Aquí salen las sesiones mientras trabajan, cada una con el tiempo que lleva.',
1428
+ ibxTag: { perm: 'Permiso', approve: 'Por aprobar', ask: 'Decisión', tell: 'Aviso', running: 'Trabajando', answered: 'Respondida', dismissed: 'Descartada', closed: 'Cerrada' },
1429
+ ibxDays: n => `${n} d`,
1430
+ ibxDoneHint: 'Lo respondido, descartado o cerrado, lo más reciente primero. Elige uno para verlo.',
1431
+ ibxReadAll: 'Marcar todo como leído',
1432
+ ibxSearch: 'Buscar en lo hecho',
1433
+ ibxTeam: 'Equipo',
1434
+ ibxAllTeams: 'Todos los equipos',
1435
+ ibxLoadMore: 'Cargar más',
1436
+ ibxLoading: 'Cargando…',
1437
+ ibxLoadFailed: 'No se ha podido cargar.',
1438
+ ibxEnd: 'No hay nada más guardado.',
1439
+ ibxNoDone: 'Aún no hay nada hecho.',
1440
+ ibxNoMatch: 'Nada de lo hecho coincide.',
1441
+ dayToday: 'Hoy',
1442
+ dayYesterday: 'Ayer',
1443
+ notifyAsk: who => `${who} te pregunta`,
1444
+ notifyTell: who => `${who}: para que lo sepas`,
1445
+ notifyMore: n => (n === 1 ? 'y 1 más' : `y ${n} más`),
1446
+ notifyTitle: 'Avisos',
1447
+ notifyOff: 'No',
1448
+ notifyOn: 'Sí',
1449
+ notifySound: 'Con sonido',
1450
+ notifyHint: 'Cuando llega algo a la bandeja y el panel no está a la vista. Solo mientras está abierto en este navegador.',
1451
+ notifyBlocked: 'Este navegador bloquea los avisos de este sitio: permítelos en sus ajustes.',
1452
+ notifyUnsupported: 'Este navegador no puede mostrar avisos.',
1453
+ retentionInbox: 'Bandeja, lo hecho (días)',
1454
+ retentionUsage: 'Consumo de tokens (días)',
1455
+ ibxWaiting: n => (n === 1 ? '1 te espera' : `${n} te esperan`),
1456
+ ibxNothingListed: 'Aún no hay nada.',
1457
+ ibxEmptyHint: 'Cuando un coordinador necesite una decisión, o tenga algo para ti, aparecerá aquí.',
1458
+ ibxPermission: 'Permiso',
1459
+ ibxKindAsk: 'Decisión',
1460
+ tlAside: name => `Qué hace ${name}, y lo importante`,
1461
+ tlNow: 'Ahora',
1462
+ tlImportant: 'Lo importante',
1463
+ tlEmpty: 'Aún nada que destacar.',
1464
+ tlKept: 'Según lo que se guarda: su actividad, un día; sus mensajes, una semana (Ajustes › Actividad y datos).',
1465
+ tlHide: 'Ocultar el panel',
1466
+ tlShow: 'Mostrar el panel',
1467
+ tlTask: 'Su tarea',
1468
+ tlStart: 'Empezó',
1469
+ tlCleared: 'Empezó de cero',
1470
+ tlEnd: 'Sesión terminada',
1471
+ tlTyped: 'Escrito en su terminal',
1472
+ tlInboxAnswer: 'Tu respuesta, desde la bandeja',
1473
+ tlOrder: who => `Orden de ${who}`,
1474
+ tlEdits: n => n === 1 ? 'Editó un fichero' : `Editó ${n} ficheros`,
1475
+ tlTestsPassed: 'Pruebas en verde',
1476
+ tlTestsFailed: 'Pruebas en rojo',
1477
+ tlPassedN: n => `${n} pasan`,
1478
+ tlCommit: 'Commit',
1479
+ tlPush: 'Push',
1480
+ tlPlan: 'Actualizó el plan',
1481
+ tlPerm: 'Pidió permiso',
1482
+ tlCompact: 'Compactó su contexto',
1483
+ tlReport: { done: 'Informe: hecho', blocked: 'Informe: bloqueado', failed: 'Informe: fallido', question: 'Informe: una pregunta' },
1484
+ tlReportFrom: (who, r) => `Informe de ${who}: ${{ done: 'hecho', blocked: 'bloqueado', failed: 'fallido', question: 'una pregunta' }[r] ?? r}`,
1485
+ tlAsked: 'Te dejó una decisión',
1486
+ tlTold: 'Te dejó un aviso',
1487
+ tlAnswered: 'Respondiste',
1488
+ tlDismissed: 'La descartaste',
1489
+ ibxPermTitle: (name, what) => (what ? `${name} pide permiso: ${what}` : `${name} pide permiso`),
1490
+ ibxPermHint: 'Se responde en su sesión: ábrela para ver exactamente qué quiere ejecutar.',
1491
+ ibxApproveTitle: name => `${name} quiere coordinar`,
1492
+ ibxApproveHint: 'Un nombre que nadie había usado tomó el rol de coordinador. Apruébalo desde su sesión si lo conoces.',
1493
+ ibxOpenSession: 'Abrir su sesión',
1494
+ ibxSessionShort: 'Sesión',
1495
+ ibxOwnWords: 'Tu respuesta',
1496
+ ibxOwnWordsOr: 'Añade un detalle, o responde con tus palabras',
1497
+ ibxReachesTo: name => `Tu respuesta llega a ${name}`,
1498
+ ibxReplyTell: 'Respóndele, si hace falta',
1499
+ vListen: 'Escuchar',
1500
+ vStop: 'Terminar',
1501
+ vNext: 'Siguiente',
1502
+ vListening: 'Te escucho…',
1503
+ vSpeaking: 'Leyendo',
1504
+ vSending: 'Enviando',
1505
+ vLink: 'un enlace',
1506
+ vPath: 'un fichero',
1507
+ vStart: (a, t) => `Tienes ${[a ? `${a} ${a === 1 ? 'decisión' : 'decisiones'}` : '', t ? `${t} ${t === 1 ? 'aviso' : 'avisos'}` : ''].filter(Boolean).join(' y ')}. Di «para» cuando quieras terminar.`,
1508
+ vNothing: 'No tienes nada pendiente.',
1509
+ vAskFrom: (s, team) => `Decisión de ${s}${team && team !== s ? `, de ${team}` : ''}.`,
1510
+ vTellFrom: (s, team) => `Aviso de ${s}${team && team !== s ? `, de ${team}` : ''}.`,
1511
+ vOption: (n, text) => `Opción ${n}: ${text}.`,
1512
+ vRecommends: n => `Recomienda la ${n}.`,
1513
+ vHowAnswerOptions: 'Di el número de la opción, con lo que quieras añadir, o responde con tus palabras.',
1514
+ vHowAnswer: 'Responde con tus palabras.',
1515
+ vHowTell: 'Di «hecho», «siguiente» o respóndele.',
1516
+ vHowDoneOnly: 'Di «hecho» o «siguiente».',
1517
+ vAnswerInSession: 'Esta se responde en su sesión: la dejo para luego.',
1518
+ vConfirm: what => `${what}. ¿Lo envío?`,
1519
+ vOptionSaid: (n, choice, detail) => `Opción ${n}, ${choice}${detail ? `, y: ${detail}` : ''}`,
1520
+ vWordsSaid: text => `Tu respuesta: ${text}`,
1521
+ vSent: 'Enviado.',
1522
+ vChanged: 'Ha cambiado mientras la leía. Te la leo de nuevo.',
1523
+ vFailed: m => `No se ha podido: ${m}`,
1524
+ vSayAgain: 'Vale, dímelo otra vez.',
1525
+ vYesOrNo: 'Di sí o no.',
1526
+ vDidntHear: 'No te he oído.',
1527
+ vMovingOn: 'Paso a la siguiente.',
1528
+ vSkipped: 'La dejo para luego.',
1529
+ vMarkedDone: 'Marcado como hecho.',
1530
+ vConfirmDismiss: '¿La descarto sin responder? Di sí o no.',
1531
+ vDismissed: 'Descartada.',
1532
+ vEnd: 'Ya no queda nada pendiente.',
1533
+ vEndSome: 'Eso es todo por ahora. Lo que has dejado sigue en la bandeja.',
1534
+ vNeedsHttps: 'Para usar el micrófono, el panel tiene que abrirse por https (o en localhost).',
1535
+ vUnsupported: 'Este navegador no reconoce la voz. Prueba con Chrome o Safari.',
1536
+ vMicDenied: 'El navegador no deja usar el micrófono: permítelo en los ajustes del sitio.',
1537
+ vConsentTitle: 'Escuchar la bandeja',
1538
+ vConsent: 'Te leo en voz alta lo que te espera y respondes hablando. Antes de enviar nada, te repito lo que he entendido y espero tu «sí». Las voces y el reconocimiento son los de tu navegador, que puede usar los servidores de su fabricante para entender lo que dices (Google en Chrome, Apple en Safari).',
1539
+ vConsentOk: 'Empezar',
1540
+ vSpeed: r => `Velocidad de lectura: ${r}. Toca para cambiarla`,
1541
+ vRates: ['Normal', 'Rápido', 'Muy rápido'],
1542
+ // Tableros de tareas
1543
+ boards: 'Tableros',
1544
+ usage: 'Consumo',
1545
+ usageSub: 'Los tokens que gastan los agentes',
1546
+ usagePeriod: 'Periodo',
1547
+ usageRanges: { today: 'Hoy', d7: '7 días', d30: '30 días', d90: '90 días' },
1548
+ usageExport: 'Exportar CSV',
1549
+ usageLoading: 'Cargando…',
1550
+ usageAllTeams: 'Todos los equipos',
1551
+ usageAllAgents: 'Todos los agentes',
1552
+ usageAllModels: 'Todos los modelos',
1553
+ usageNoTeam: '(sin equipo)',
1554
+ usageTotal: 'Tokens',
1555
+ usageKinds: { input: 'Entrada', output: 'Salida', cache_read: 'Lectura de caché', cache_write: 'Escritura de caché' },
1556
+ usageCached: p => `${p} % de la entrada, desde la caché`,
1557
+ usageCalls: n => `${n.toLocaleString('es-ES')} llamada${n === 1 ? '' : 's'} al modelo`,
1558
+ usageOverTime: 'En el tiempo',
1559
+ usageByTeam: 'Por equipo',
1560
+ usageByCause: 'Por lo que empezó el trabajo',
1561
+ usageByTask: 'Por tarea del tablero',
1562
+ usageByModel: 'Por modelo',
1563
+ usageBySession: 'Por sesión',
1564
+ usageNoTasks: 'Nada gastado en tareas del tablero en este periodo.',
1565
+ usageEmpty: 'Nada gastado en este periodo',
1566
+ usageEmptyHint: 'Cada sesión informa de los tokens que gasta mientras trabaja: Claude Code, Codex CLI y Grok CLI.',
1567
+ usageCauses: { user: 'Tus órdenes', inbox: 'Tus respuestas desde la bandeja', coordinator: 'De su coordinador', worker: 'Informes de los workers', link: 'Entre equipos enlazados', board: 'Avisos del tablero', system: 'Avisos del servidor', other: 'Otros mensajes', self: 'Por su cuenta' },
1568
+ usageCauseHints: { user: 'Turnos empezados por lo que escribiste en el terminal de una sesión', inbox: 'Turnos empezados por tus respuestas desde la bandeja', coordinator: 'Turnos de los workers con lo que les pasó su coordinador', worker: 'Turnos de los coordinadores con los informes de sus workers', link: 'Turnos empezados por un mensaje de un equipo enlazado', board: 'Turnos empezados por el tablero de tareas', system: 'Turnos empezados por avisos del servidor', other: 'Turnos empezados por otro mensaje', self: 'Antes de cualquier prompt: una sesión que empieza, o tras una compactación' },
1569
+ boardsCount: n => `${n} tablero${n === 1 ? '' : 's'}`,
1570
+ noBoards: 'Todavía no hay tableros',
1571
+ noBoardsHint: 'Un tablero guarda las tareas de la empresa. Personas y agentes trabajan en ellas, y cada equipo ve los tableros que se le asignan.',
1572
+ newBoard: 'Nuevo tablero',
1573
+ createBoard: 'Crear tablero',
1574
+ boardName: 'Nombre',
1575
+ boardDescription: 'Para qué es',
1576
+ boardTeams: 'Equipos que lo ven',
1577
+ boardTeamsHint: 'Sus coordinadores y workers pueden recibir sus tareas, y las ven con la herramienta board.',
1578
+ noTeamsForBoard: 'Todavía no hay equipos: crea uno para darle tareas.',
1579
+ defaultStatuses: [['Backlog', 'backlog'], ['Por hacer', 'unstarted'], ['En curso', 'started'], ['En revisión', 'review'], ['Hecho', 'done'], ['Cancelada', 'closed']],
1580
+ defaultTypes: [['Tarea', 'blue'], ['Error', 'red']],
1581
+ categories: { backlog: 'Backlog (nunca avisa)', unstarted: 'Por empezar', started: 'En curso', review: 'En revisión', done: 'Hecho', closed: 'Cancelada' },
1582
+ colors: { gray: 'Gris', blue: 'Azul', green: 'Verde', yellow: 'Amarillo', orange: 'Naranja', red: 'Rojo', purple: 'Morado', pink: 'Rosa' },
1583
+ ghSection: 'GitHub',
1584
+ ghNone: 'Sin conectar. Conectado, el tablero y un proyecto de GitHub van a la par en los dos sentidos: las opciones de Status del proyecto son las columnas, las tareas son issues, y los comentarios, etiquetas y sub-issues van y vienen.',
1585
+ ghConnect: 'Conectar con GitHub',
1586
+ ghChange: 'Cambiar',
1587
+ ghTitle: 'Conectar con un proyecto de GitHub',
1588
+ ghUrl: 'Proyecto',
1589
+ ghUrlPh: 'https://github.com/orgs/acme/projects/3',
1590
+ ghRepo: 'Repositorio para las tareas nuevas',
1591
+ ghRepoPh: 'acme/web',
1592
+ ghRepoHint: 'Una tarea creada aquí se convierte en una issue de este repositorio.',
1593
+ ghToken: 'Token',
1594
+ ghTokenKeep: 'Déjalo vacío para conservar el guardado',
1595
+ ghTokenHint: 'Proyecto de una organización: un token fine-grained con la organización como propietaria, Projects de lectura y escritura, e Issues de lectura y escritura en sus repositorios. Proyecto de una cuenta personal: un token clásico con los permisos project y repo. Se guarda cifrado y no se vuelve a mostrar.',
1596
+ ghColumnsNote: 'Las columnas del proyecto pasan a ser las de este tablero, y sus tarjetas, tareas. No se avisa a nadie de lo que llega de GitHub: lo dices tú.',
1597
+ ghConnectBtn: 'Conectar',
1598
+ ghSyncNow: 'Sincronizar ahora',
1599
+ ghDisconnect: 'Desconectar',
1600
+ ghDisconnectTitle: '¿Desconectar de GitHub?',
1601
+ ghDisconnectText: name => `El tablero deja de seguir a <b>${name}</b>. Sus tareas se quedan aquí, y las issues, en GitHub.`,
1602
+ ghStatus: (title, repo) => `${title} · issues nuevas en ${repo}`,
1603
+ ghSynced: when => `Sincronizado ${when}`,
1604
+ ghStSynced: when => `sincronizado ${when}`,
1605
+ ghStNever: 'aún sin sincronizar',
1606
+ ghStSyncing: 'sincronizando…',
1607
+ ghStSending: n => `enviando ${n} cambio${n === 1 ? '' : 's'}…`,
1608
+ ghStUnsent: n => `${n} cambio${n === 1 ? '' : 's'} sin enviar`,
1609
+ ghStFailed: 'ha fallado',
1610
+ ghStLastToday: t => `Última sincronización: hoy a las ${t}`,
1611
+ ghStLastOn: d => `Última sincronización: ${d}`,
1612
+ ghStNow: 'Sincronizar ahora con GitHub',
1613
+ ghStFailedTitle: 'La sincronización con GitHub ha fallado',
1614
+ ghStFailedText: (error, n) => `GitHub dijo: ${String(error).replace(/\.?$/, '.')}${n ? ` ${n === 1 ? 'El cambio hecho aquí se guarda' : `Los ${n} cambios hechos aquí se guardan`} y se envía${n === 1 ? '' : 'n'} cuando vuelva a funcionar.` : ''}`,
1615
+ ghSyncing: 'Sincronizando…',
1616
+ ghError: 'GitHub: ha fallado',
1617
+ ghLinked: n => `${n} tarea${n === 1 ? '' : 's'} enlazada${n === 1 ? '' : 's'}`,
1618
+ ghIssue: n => `#${n} en GitHub`,
1619
+ ghDraft: 'Borrador en GitHub',
1620
+ boardSettings: 'Ajustes del tablero',
1621
+ bStatuses: 'Estados',
1622
+ bStatusesHint: 'Su categoría dice qué significa: una tarea en Backlog nunca avisa a nadie; Hecho y Cancelada no salen en lo que listan los agentes. Quién atiende cada columna y a dónde pasa una tarea después se elige con ⋯ en la columna.',
1623
+ bLabels: 'Etiquetas',
1624
+ bTypes: 'Tipos',
1625
+ bAdd: 'Añadir',
1626
+ bMoveUp: 'Subir',
1627
+ bMoveDown: 'Bajar',
1628
+ bRemove: 'Quitar',
1629
+ bCategory: 'Categoría',
1630
+ bColor: 'Color',
1631
+ taskPrefix: 'Prefijo de las tareas (toda la empresa)',
1632
+ archiveBoard: 'Archivar tablero',
1633
+ unarchiveBoard: 'Recuperar',
1634
+ archivedTag: 'Archivado',
1635
+ deleteBoard: 'Borrar tablero',
1636
+ deleteBoardTitle: name => `¿Borrar ${name}?`,
1637
+ deleteBoardText: name => `${name} y todas sus tareas, comentarios e historial se borran para siempre.`,
1638
+ boardGone: 'Este tablero ya no existe.',
1639
+ bColumns: 'Columnas',
1640
+ bList: 'Lista',
1641
+ newTask: 'Nueva tarea',
1642
+ createTask: 'Crear tarea',
1643
+ taskTitle: 'Título',
1644
+ taskDescription: 'Descripción',
1645
+ taskStatus: 'Estado',
1646
+ taskType: 'Tipo',
1647
+ noType: 'Sin tipo',
1648
+ taskPriority: 'Prioridad',
1649
+ priorities: ['Sin prioridad', 'Baja', 'Media', 'Alta', 'Urgente'],
1650
+ taskDue: 'Fecha límite',
1651
+ taskAssignee: 'Asignada a',
1652
+ taskAgent: 'Agente',
1653
+ taskPeople: 'Personas',
1654
+ bNoGithubUser: 'sin usuario de GitHub en su perfil',
1655
+ ghUserTitle: 'GitHub',
1656
+ ghUserLabel: 'Tu usuario de GitHub',
1657
+ ghUserHint: 'Con él, los tableros sincronizados con GitHub te asignan sus issues y las tuyas llegan allí.',
1658
+ ghUserSaved: 'Guardado.',
1659
+ nobody: 'Nadie',
1660
+ bPeople: 'Personas',
1661
+ bTeamOf: name => `Equipo ${name}`,
1662
+ taskLabels: 'Etiquetas',
1663
+ noAssignable: 'Asigna este tablero a un equipo para darle tareas a sus agentes.',
1664
+ bComments: 'Comentarios',
1665
+ bComment: 'Comentar',
1666
+ bCommentPh: 'Escribe un comentario…',
1667
+ bNotifyCoord: name => `Avisar a su coordinador (${name}): le llega como orden tuya`,
1668
+ bToldTo: name => `avisado a ${name}`,
1669
+ bHistory: 'Historial',
1670
+ bCreatedIt: 'la creó',
1671
+ bChangedIt: 'la cambió',
1672
+ bToldIt: name => `avisó a ${name}`,
1673
+ bBy: (who, when) => `${who}, ${when}`,
1674
+ pendingTag: 'Sin avisar',
1675
+ pendingTitle: 'Asignada a un agente: su coordinador todavía no lo sabe',
1676
+ notifyTeams: n => `Avisar a los equipos (${n})`,
1677
+ notifyTitle: 'Avisar a los equipos',
1678
+ notifyText: 'Cada coordinador recibe un mensaje con las tareas de su equipo, como orden tuya, y puede ponerse con ellas:',
1679
+ notifyConfirm: 'Avisar',
1680
+ notifyDone: n => `${n === 1 ? 'Avisado 1 equipo' : `Avisados ${n} equipos`}.`,
1681
+ notifyFailed: teams => `No se pudo avisar a: ${teams}.`,
1682
+ askNotifyTitle: name => `¿Avisar ahora a ${name}?`,
1683
+ askNotifyText: (coord, id) => `${coord} recibe ${id} como orden tuya y puede ponerse con ella. Elige «Todavía no» para seguir repartiendo y luego avisar a los equipos todos juntos.`,
1684
+ notYet: 'Todavía no',
1685
+ notifyNow: 'Avisar',
1686
+ deleteTask: 'Borrar tarea',
1687
+ deleteTaskTitle: id => `¿Borrar ${id}?`,
1688
+ deleteTaskText: id => `${id} va a la papelera del tablero, con sus comentarios y su historial: se puede restaurar desde allí. Si se avisó a un agente, su coordinador sabrá que ya no existe.`,
1689
+ deleteWithSubtasks: n => `Borrar también ${n === 1 ? 'su subtarea' : `sus ${n} subtareas`} (si no, se ${n === 1 ? 'queda' : 'quedan'} en el tablero sin tarea padre)`,
1690
+ bTrash: n => `Papelera (${n})`,
1691
+ bTrashTitle: name => `Papelera de «${name}»`,
1692
+ bTrashEmpty: 'La papelera está vacía.',
1693
+ bTrashBy: (who, when) => `Borrada por ${who}, ${when}`,
1694
+ bTrashSubOf: (id, trashed) => `subtarea de ${id}${trashed ? ' (en la papelera)' : ''}`,
1695
+ bTrashWith: n => `con ${n === 1 ? 'su subtarea' : `${n} subtareas`}`,
1696
+ restoreTask: 'Restaurar',
1697
+ restoreTitle: id => `¿Restaurar ${id}?`,
1698
+ restoreText: id => `${id} vuelve al tablero.`,
1699
+ restoreNoParent: (id, parent) => `Su tarea padre, ${parent}, está en la papelera: ${id} se restaurará sin tarea padre.`,
1700
+ restoreWithSubtasks: n => `Restaurar también ${n === 1 ? 'su subtarea' : `sus ${n} subtareas`} (si no, se ${n === 1 ? 'queda' : 'quedan'} en la papelera)`,
1701
+ restoredNoParent: (id, parent) => `${id} ha vuelto sin tarea padre: ${parent} no puede tenerla.`,
1702
+ bDeletedIt: 'la borró',
1703
+ bRestoredIt: 'la restauró',
1704
+ bEdited: 'editado',
1705
+ bPrs: 'Pull requests',
1706
+ prState: { open: 'Abierto', draft: 'Borrador', merged: 'Fusionado', closed: 'Cerrado' },
1707
+ prReview: { approved: 'Aprobado', changes: 'Cambios pedidos', required: 'Falta revisión' },
1708
+ bPrIt: e => (e.linked ? `enlazó el pull request #${e.number}` : e.state === 'merged' ? `fusionó el pull request #${e.number}` : `cerró sin fusionar el pull request #${e.number}`),
1709
+ bPrsTag: n => `${n} pull request${n === 1 ? '' : 's'}`,
1710
+ ghMergeMoves: 'Al fusionar un pull request enlazado, pasar su tarea a la primera columna de Hecho',
1711
+ ghPrsHint: 'Un pull request se enlaza a una tarea cuando la nombra (SQ-12) en su título, rama o descripción, o cierra su issue (Closes #30).',
1712
+ changedMeanwhile: 'Alguien la cambió mientras la editabas: así está ahora. Vuelve a hacer tus cambios.',
1713
+ bFilter: 'Filtrar tareas',
1714
+ bAnyone: 'Cualquiera',
1715
+ bAnyLabel: 'Cualquier etiqueta',
1716
+ bAnyType: 'Cualquier tipo',
1717
+ bOnlyPending: 'Sin avisar',
1718
+ bTasks: n => `${n} tarea${n === 1 ? '' : 's'}`,
1719
+ bNoTasks: 'Todavía no hay tareas aquí.',
1720
+ bNoMatch: 'Ninguna tarea coincide con el filtro.',
1721
+ bAddTo: name => `Añadir una tarea a ${name}`,
1722
+ taskParent: 'Subtarea de',
1723
+ noParent: 'Ninguna (es una tarea suelta)',
1724
+ bSubtasks: 'Subtareas',
1725
+ bAddSubtask: 'Añadir una subtarea',
1726
+ bSubOf: (id, title) => `Subtarea de ${id}${title ? ` «${title}»` : ''}`,
1727
+ bSubProgress: (done, total) => `${done} de ${total} subtareas terminadas`,
1728
+ stepTitle: name => `Paso: ${name}`,
1729
+ stepHint: 'Haz de esta columna un paso del flujo del tablero. Una tarea que llega aquí pasa a quien lo atiende. Si la movió un agente, se avisa a su coordinador en el momento; si la movió una persona, se le pregunta antes.',
1730
+ stepHandler: 'Lo atiende',
1731
+ stepHandlerHint: 'El coordinador de un equipo (la reparte él), un agente concreto o una persona. Nadie: la tarea sigue con quien la tenga.',
1732
+ stepInstructions: 'Qué hacer en este paso',
1733
+ stepInstructionsPh: 'Revisa el cambio contra la tarea y sus pruebas…',
1734
+ stepNext: 'Al terminar, pasar a',
1735
+ stepNoNext: '— (lo decide el agente)',
1736
+ stepBack: 'Si no vale, devolver a',
1737
+ stepNoBack: '—',
1738
+ stepBy: name => `→ ${name}`,
1739
+ stepThen: name => `luego ${name}`,
1740
+ stepInstructionsOnly: 'Con instrucciones',
1741
+ bClosePanel: 'Cerrar la tarea',
1742
+ bTaskGone: 'Esta tarea ya no existe.',
1743
+ bOpenBoard: name => `Abrir ${name}`,
1744
+ ibxReplyTellNote: 'Le llega a su coordinador junto con lo que te contó. Hecho lo cierra sin responder.',
1745
+ ibxOptionDetail: 'Elige una opción y envíala: lo que escribas aquí va con ella.',
1746
+ ibxGoesOn: 'Mientras tanto sigue con lo demás.',
1747
+ ibxRef: 'Referencia',
1748
+ ibxLeft: 'Recibida',
1749
+ ibxChanged: 'Cambiada',
1750
+ ibxClosedAt: 'Cerrada',
1751
+ inboxUpdated: t => `actualizada ${t}`,
1752
+ inboxChangedSince: 'Ha cambiado desde que la abriste: léela de nuevo',
1753
+ inboxDetail: 'Detalle, o tu propia respuesta',
1754
+ inboxSend: 'Enviar',
1755
+ inboxAnswered: (by, a) => `${by} respondió: ${a}`,
1756
+ inboxClosed: r => `Cerrada por su coordinador: ${r}`,
1757
+ inboxNoMachine: 'No se abrió desde el panel, o su máquina está desconectada: responde en su sesión.',
1758
+ inboxOldMachine: 'Su máquina es demasiado antigua para escribir respuestas: actualízala, o responde en su sesión.',
1759
+ inboxTypingOff: 'Su máquina no deja escribir desde el panel: responde en su sesión.',
1760
+ archivedSub: 'No aparecen en el mosaico. Si una vuelve a conectarse, se desarchiva sola.',
1761
+ backArchived: 'Archivadas',
1762
+ archivedTag: 'archivada',
1763
+ context: k => `contexto ${k} tokens`,
1764
+ contextPct: p => `${p}% antes de autocompactar`,
1765
+ contextTitle: (p, k, at) => `Contexto: ${k} tokens, el ${p}% de los ${at} tokens en los que se autocompacta`,
1766
+ compactedLine: auto => `Contexto compactado (${auto ? 'automático' : 'manual'}); rol de Pisha y mensajes recientes restaurados`,
1767
+ compactSummary: 'resumen',
1768
+ coordinatorOf: c => `coordinador: ${c}`,
1769
+ clearChat: 'Limpiar chat',
1770
+ unarchive: 'Desarchivar',
1771
+ archive: 'Archivar',
1772
+ delete: 'Eliminar',
1773
+ deleteSession: 'Eliminar sesión',
1774
+ approve: 'Aprobar como coordinador',
1775
+ approveNote: 'Sin aprobar',
1776
+ approveTitle: n => `Aprobar ${n}`,
1777
+ approveText: who => `${who} se registró con el token de alta y actúa como coordinador, o un worker espera que lo sea. Hasta que lo apruebes, no puede escribir a sus workers. Apruébalo solo si lo iniciaste tú: si no, alguien con el token de alta puede haberse quedado ese nombre. En ese caso, elimínalo y rota el token de alta.`,
1778
+ openChat: 'Abrir chat',
1779
+ viewChat: 'Ver chat',
1780
+ offlineHint: 'Archivar y eliminar solo con la sesión desconectada.',
1781
+ actions: n => `Acciones de ${n}`,
1782
+ mosaicEmpty: arch => `${arch ? `No hay sesiones activas (${arch} archivada${arch === 1 ? '' : 's'}). ` : 'Todavía no hay sesiones. '}Abre una desde <a href="#/hosts">Máquinas</a>, o arranca Claude con el alias <code>claude-pisha</code> y haz <code>/pisha:login coordinador</code> o <code>/pisha:login worker1</code>.`,
1783
+ cancel: 'Cancelar',
1784
+ unauthorized: 'sin autorización',
1785
+ sessionOnline: 'La sesión está conectada: desconéctala primero (/pisha:logout o cerrando Claude).',
1786
+ clearTitle: n => `Limpiar el chat de ${n}`,
1787
+ moreChars: n => `… (${n} caracteres más)`,
1788
+ machineSays: 'la máquina dice',
1789
+ olderHidden: n => `${n} ${n === 1 ? 'elemento anterior no se muestra' : 'elementos anteriores no se muestran'} aquí (demasiado grandes para dibujarlos a la vez)`,
1790
+ machineNotFound: 'Esa máquina no está aquí (se desconectó o el enlace no es correcto).',
1791
+ notListed: 'esta máquina no la lista',
1792
+ editedMark: 'editado',
1793
+ coordOwn: 'abierta desde este panel',
1794
+ coordSelf: 'dice ser coordinador (no abierta desde aquí)',
1795
+ coordOffline: 'desconectado',
1796
+ coordPick: '— elige un coordinador —',
1797
+ coordNoneYet: 'Todavía no hay ningún coordinador: abre uno primero (Rol: Coordinador) y después añade sus workers.',
1798
+ coordRequired: 'Elige el coordinador del worker',
1799
+ noFoldersHere: 'Esta máquina aún no tiene carpetas permitidas: añade una con <b>Añadir carpeta</b> (aquí, o en el menú Más de la tarjeta de la máquina).',
1800
+ folderRequired: 'Elige una carpeta (la máquina aún no tiene ninguna permitida)',
1801
+ clearText: (who, online) => `Se borra del servidor la actividad de ${who} (prompts, herramientas, textos de Claude). Los mensajes entre sesiones se ocultan en este chat, pero siguen en el de las otras sesiones.${online ? ' La sesión sigue conectada y lo nuevo seguirá apareciendo.' : ''} La conversación en el propio Claude no se toca.`,
1802
+ archiveTitle: n => `Archivar ${n}`,
1803
+ archiveText: who => `${who} deja de aparecer en el mosaico y en la lista, y pasa a «Archivadas» con todo su historial. Si vuelve a conectarse, se desarchiva sola.`,
1804
+ deleteTitle: n => `Eliminar ${n}`,
1805
+ deleteText: (who, n) => `Se borran del servidor la identidad y toda la actividad de ${who}, con sus adjuntos y los mensajes que tenía en cola para otras sesiones. También se borran sus mensajes: lo que escribió y lo que le escribieron directamente, incluso de los chats de las otras sesiones. Si se registra de nuevo (<code>/pisha:login ${n}</code> en una máquina con el token de alta, o abriéndola otra vez desde el panel), será una identidad nueva: las sesiones que hablaban con ella no aceptarán sus mensajes hasta que ejecuten <code>/pisha:access unpin ${n}</code> (si era un coordinador, sus workers necesitan además borrar <code>coordinator-pin.json</code> de su carpeta de estado y volver a hacer login). No se puede deshacer.`,
1806
+ couldNotComplete: 'No se ha podido completar',
1807
+ ok: 'Vale',
1808
+ archivedAt: d => `Archivada ${d}`,
1809
+ noArchived: 'No hay sesiones archivadas. Desde el menú ⋯ de una sesión desconectada puedes archivarla.',
1810
+ live: 'en directo',
1811
+ reconnecting: 'reconectando…',
1812
+ connecting: 'Conectando…',
1813
+ tooManyTries: 'Demasiados intentos: espera unos minutos.',
1814
+ cannotConnect: m => `No se puede conectar con el servidor: ${m}`,
1815
+ logout: 'Salir',
1816
+ darkMode: 'Modo oscuro',
1817
+ lightMode: 'Modo claro',
1818
+ sessionsMenu: 'Sesiones',
1819
+ loginIntro: 'Entra con tu email y tu contraseña.',
1820
+ ownerIntro: 'Este servidor aún no tiene a nadie. Crea el primer propietario con el token del servidor: <code>pisha-server</code> lo muestra la primera vez que arranca, y está en <code>server-token</code> dentro de su carpeta de datos (<code>~/.pisha</code>, o <code>/data</code> en Docker).',
1821
+ tokenPlaceholder: 'Token del servidor',
1822
+ email: 'Email',
1823
+ password: 'Contraseña',
1824
+ currentPassword: 'Contraseña actual',
1825
+ setupQr: 'Código QR para escanear con tu app de autenticación',
1826
+ newPassword: 'Contraseña nueva (12 caracteres como mínimo)',
1827
+ yourName: 'Tu nombre',
1828
+ createOwner: 'Crear el propietario',
1829
+ codeIntro: 'Escribe el código de 6 cifras de tu app de autenticación.',
1830
+ code: 'Código',
1831
+ useRecovery: 'Usar un código de recuperación',
1832
+ useCode: 'Usar un código de la app',
1833
+ recoveryIntro: 'Escribe uno de tus códigos de recuperación. Cada uno sirve una vez.',
1834
+ recoveryCode: 'Código de recuperación',
1835
+ setupIntro: 'Quien puede escribir en terminales entra con códigos. Escanea esto con tu app de autenticación (Google Authenticator, 1Password, Aegis…) y escribe el código que muestre.',
1836
+ setupKey: 'O escribe esta clave en la app:',
1837
+ setupLink: 'Abrirla en una app de este dispositivo',
1838
+ setupConfirm: 'Activar los códigos',
1839
+ recoveryShow: 'Guarda estos códigos de recuperación en un sitio seguro: te dejan entrar si pierdes la app, y solo se muestran ahora.',
1840
+ recoverySaved: 'Ya los he guardado',
1841
+ inviteTo: (company, role) => `Te han invitado a <b>${company}</b> como ${role}:`,
1842
+ inviteServer: 'Te han invitado a este servidor:',
1843
+ acceptInvite: 'Aceptar',
1844
+ resetIntro: 'Elige una contraseña nueva. Tus sesiones abiertas terminarán.',
1845
+ setPassword: 'Cambiar la contraseña',
1846
+ passwordSet: 'La contraseña se ha cambiado.',
1847
+ linkGone: 'Este enlace no es correcto, ya se usó o ha caducado. Pide otro.',
1848
+ noCompany: 'Aún no estás en ninguna empresa. Pide una invitación.',
1849
+ people: 'Personas',
1850
+ tabMembers: 'Esta empresa',
1851
+ tabCompanies: 'Empresas',
1852
+ tabUsers: 'Usuarios',
1853
+ tabMachines: 'Máquinas',
1854
+ tabCompany: 'Actividad y datos',
1855
+ auditTitle: 'Qué se ha hecho',
1856
+ auditEmpty: 'Nada todavía.',
1857
+ retentionTitle: 'Cuánto se guarda',
1858
+ retentionDays: 'Mensajes y adjuntos (días)',
1859
+ eventHours: 'Actividad de las sesiones (horas)',
1860
+ saved: 'Guardado.',
1861
+ exportTitle: 'Exportar',
1862
+ exportHint: 'Un fichero con la base de datos y los adjuntos de esta empresa. Contiene todo lo que se ha dicho: guárdalo bien.',
1863
+ exportBtn: 'Descargar',
1864
+ deleteCompanyTitle: 'Borrar esta empresa',
1865
+ deleteCompanyHint: 'Se detiene al momento y se borra a los 30 días, con todos sus datos. Hasta entonces, un propietario puede recuperarla.',
1866
+ deleteCompanyConfirm: name => `Escribe su nombre para confirmar: ${name}`,
1867
+ deleteCompanyBtn: 'Borrar la empresa',
1868
+ deleteCompanyWrong: 'Ese no es su nombre: no se ha borrado nada.',
1869
+ deletesOn: when => `Se borrará el ${when}`,
1870
+ restore: 'Recuperarla',
1871
+ machineSessions: n => `${n} ${n === 1 ? 'sesión' : 'sesiones'} en total`,
1872
+ instanceSessions: (n, max) => `${n}${max ? ` de ${max}` : ''} sesiones`,
1873
+ isolation: { unknown: 'No lo dice (un pisha-host antiguo)', dedicated: 'Una empresa', 'os-user': 'Compartida, con un usuario del sistema por empresa', 'same-user': 'Compartida bajo un solo usuario del sistema' },
1874
+ sharedUserWarn: 'En esta máquina hay otra empresa con el mismo usuario del sistema. Solo están separadas ante accidentes: un agente con terminal, o alguien en ella, puede leer los ficheros de la otra.',
1875
+ noMachines: 'Aún no hay máquinas.',
1876
+ osUser: 'Usuario del sistema para esta empresa (opcional)',
1877
+ osUserHint: 'Se crea si no existe y necesita sudo. Es lo que separa de verdad a las empresas en una máquina.',
1878
+ tabAccount: 'Mi cuenta',
1879
+ close: 'Cerrar',
1880
+ remove: 'Quitar',
1881
+ role: 'Rol',
1882
+ roles: { observer: 'Observador', operator: 'Operador', manager: 'Gestor', owner: 'Propietario' },
1883
+ invite: 'Crear una invitación',
1884
+ inviteTitle: 'Invitar a alguien',
1885
+ setAllCompanies: 'Todas las empresas',
1886
+ evPerson: 'Persona',
1887
+ evYou: 'tú',
1888
+ evRoleIn: (who, co) => `Rol de ${who} en ${co}`,
1889
+ evSameRole: 'El mismo rol en todas las empresas',
1890
+ evAdmin: 'También administrador del servidor',
1891
+ evInviteHint: 'Un solo enlace: entra en todas las empresas en las que le des un rol.',
1892
+ evOnlyHere: 'Entra solo en esta empresa.',
1893
+ evSeeAll: 'Personas de todas las empresas',
1894
+ rolesWhat: 'Qué puede hacer cada rol',
1895
+ roleHelp: {
1896
+ observer: 'Ve los equipos, el organigrama, las conversaciones y la actividad; no cambia nada.',
1897
+ operator: 'Además abre y para sesiones, usa sus terminales y responde en la bandeja.',
1898
+ manager: 'Además edita el organigrama y las plantillas, aprueba coordinadores y gestiona máquinas, personas y el join token.',
1899
+ owner: 'Además cambia cuánto se guarda, exporta o borra la empresa y da el rol de propietario.',
1900
+ },
1901
+ passwordTitle: 'Contraseña',
1902
+ linkOnce: 'Envía tú este enlace: sirve una vez. Este servidor no envía emails.',
1903
+ pendingInvites: 'Invitaciones sin usar',
1904
+ pendingLinks: 'Enlaces sin usar',
1905
+ linkReset: 'contraseña nueva',
1906
+ linkInvite: 'invitación',
1907
+ cancelInvite: 'Cancelar',
1908
+ rotateAdvice: 'Esa persona podía ver el join token: sustitúyelo abajo.',
1909
+ rotateAdviceIn: companies => `Esa persona podía ver el join token de ${companies}: sustitúyelo en cada una.`,
1910
+ joinToken: 'Join token',
1911
+ joinTokenHint: 'Lo que usan las máquinas de esta empresa para registrar sesiones nuevas, y nada más.',
1912
+ rotate: 'Sustituirlo',
1913
+ disabled: 'desactivado',
1914
+ unavailable: 'no ha podido arrancar: mira el registro del servidor',
1915
+ openCompany: 'Abrir',
1916
+ joinCompany: 'Entrar (queda registrado)',
1917
+ companyName: 'Nombre de la empresa nueva',
1918
+ createCompany: 'Crear',
1919
+ administrator: 'administrador',
1920
+ resetLink: 'Enlace de contraseña',
1921
+ enable: 'Activar',
1922
+ disable: 'Desactivar',
1923
+ enter: 'Entrar',
1924
+ machines: 'Máquinas',
1925
+ tabSessions: 'Sesiones',
1926
+ allMachines: 'Todas las máquinas',
1927
+ hostSessions: n => `${n} sesi${n === 1 ? 'ón' : 'ones'}`,
1928
+ machinesCount: (on, n) => n ? `${on} de ${n} conectadas` : 'Ninguna todavía',
1929
+ machinesTitle: 'Máquinas',
1930
+ machinesSub: 'Ordenadores con pisha-host: abre sesiones en ellos y usa sus terminales desde aquí.',
1931
+ addMachine: 'Añadir máquina',
1932
+ newSession: 'Nueva sesión',
1933
+ mcEmptyHint: 'Añade un ordenador con Claude Code: sus agentes trabajan allí, con su propia cuenta, y tú los ves y diriges desde aquí.',
1934
+ hostOffline: ago => `Desconectada · vista hace ${ago}`,
1935
+ hostPending: ago => `Pendiente de conectar · añadida hace ${ago}`,
1936
+ hostOnline: 'Conectada',
1937
+ folders: 'Carpetas',
1938
+ noFolders: 'ninguna todavía',
1939
+ addFolder: 'Añadir carpeta',
1940
+ hostOld: (v, s) => `pisha-host ${v} es más antiguo que el servidor (${s}): en la máquina ejecuta <code>pisha-host update</code> (desde la 0.0.2: vuelve a añadir la máquina con <b>+ Añadir máquina</b> y elimina esta)`,
1941
+ addFolderTitle: n => `Permitir una carpeta en ${n}`,
1942
+ addFolderText: 'Se podrán abrir sesiones en esta carpeta y en todo lo que contiene. Una ruta de esa máquina, como <code>~/proyectos</code> o <code>/home/yo/trabajo</code>.',
1943
+ addFolderHome: 'Tu carpeta personal entera (<code>~</code>) solo si pisha-host se arrancó con <code>--allow-home</code>.',
1944
+ folderPath: 'Carpeta',
1945
+ allow: 'Permitir',
1946
+ removeFolder: f => `Dejar de permitir ${f}`,
1947
+ removeFolderTitle: '¿Dejar de permitir esta carpeta?',
1948
+ stopAllowing: 'Dejar de permitir',
1949
+ removeFolderText: f => `No se podrán abrir sesiones nuevas en <code>${f}</code>. Las que ya están abiertas ahí siguen funcionando.`,
1950
+ homeFolder: 'carpeta personal: todos tus ficheros; permisos solo en su terminal',
1951
+ foldersLocal: 'se cambian solo en la máquina, con <code>pisha-host folders add &lt;ruta&gt;</code>',
1952
+ homeSession: 'Es tu carpeta personal: la sesión accede a todos tus ficheros, y sus permisos se aprueban solo en su terminal (no el coordinador).',
1953
+ maxSessions: n => `hasta ${n} sesiones`,
1954
+ typingOn: 'escribir desde aquí: permitido',
1955
+ typingOff: 'solo ver (escribir está desactivado en la máquina)',
1956
+ noTerminals: 'No hay sesiones abiertas en esta máquina.',
1957
+ pluginOk: v => `Plugin de Pisha ${v ? `v${v}` : 'instalado'}`,
1958
+ mcInstalled: 'Instalado',
1959
+ mcPlugin: 'Plugin de Pisha', mcSystem: 'Sistema', mcHostname: 'Nombre del equipo', mcYes: 'instalado',
1960
+ mcLimits: 'Límites',
1961
+ pluginMissing: missing => `Plugin de Pisha ${missing ? 'sin instalar' : 'desactivado'}: ejecuta <code>pisha-host plugin</code> en la máquina`,
1962
+ terminal: 'Terminal',
1963
+ chat: 'Chat',
1964
+ closeSession: 'Cerrar sesión',
1965
+ closeSessionTitle: n => `Cerrar ${n}`,
1966
+ closeSessionText: (n, h) => `Termina la sesión de Claude Code <b>${n}</b> en <b>${h}</b> (como cerrar su terminal). Su conversación queda en el historial de Claude y se puede retomar con <code>/resume</code> en una sesión nueva en esa carpeta.`,
1967
+ rename: 'Renombrar',
1968
+ renameTitle: 'Renombrar máquina',
1969
+ disconnect: 'Eliminar',
1970
+ disconnectTitle: n => `Eliminar ${n}`,
1971
+ disconnectSessions: 'Desconectar también las sesiones abiertas allí: sus secretos dejan de valer. Si le diste el join token, sustitúyelo también.',
1972
+ disconnectText: n => `<b>${n}</b> desaparece de esta lista y ya no puede conectarse: se revoca su credencial y pisha-host (0.0.2 o posterior) se detiene en esa máquina si está en marcha. Las sesiones ya abiertas allí siguen funcionando (<code>tmux -L pisha ls</code>). Para volver a añadirla necesitas un comando nuevo de «+ Añadir máquina».`,
1973
+ save: 'Guardar',
1974
+ name: 'Nombre',
1975
+ addTitle: 'Añadir una máquina',
1976
+ amNameStep: 'Nombre',
1977
+ amInstallStep: 'Instalar',
1978
+ amConnectStep: 'Conectar',
1979
+ amReadyStep: 'Lista',
1980
+ amInstallLater: 'Primero genera el comando: aparecerá aquí, para el sistema de la máquina.',
1981
+ amConnectLater: 'Cuando el comando se ejecute en ese ordenador, aparecerá aquí sola.',
1982
+ amReadyLater: 'Después eliges dónde pueden trabajar sus sesiones y abres un equipo en ella.',
1983
+ amAdvanced: 'Opciones avanzadas',
1984
+ amAgents: 'Agentes que instalar',
1985
+ amSignIn: 'Inicia sesión una vez en cada agente, en una terminal de la máquina:',
1986
+ amThenFolders: 'Después elige aquí las carpetas donde pueden trabajar sus sesiones.',
1987
+ amAgentHint: { claude: 'Se inicia sesión con tu cuenta de Claude (Pro, Max, Team o Enterprise) o una clave de API.', codex: 'Se inicia sesión con tu cuenta de ChatGPT o una clave de API de OpenAI.', grok: 'Se inicia sesión con tu cuenta de SuperGrok.' },
1988
+ amAgentsNone: 'Elige al menos un agente: sus sesiones funcionan con él.',
1989
+ amSlow: '¿Aún no llega? Comprueba que el comando terminó sin errores en ese ordenador y que llega a la dirección de este servidor.',
1990
+ amExpired: 'Este código ha caducado: genera otro.',
1991
+ amAnother: 'Generar otro',
1992
+ amFolders: 'Carpetas donde puede trabajar',
1993
+ amNewTeam: 'Nuevo equipo',
1994
+ amToMachines: 'Ir a Máquinas',
1995
+ addIntro: 'Obtendrás un único comando para ejecutar en la máquina: instala todo lo necesario y la da de alta en este servidor.',
1996
+ machineName: 'Nombre de la máquina (opcional)',
1997
+ machineNameHint: 'Por defecto, su hostname.',
1998
+ configurePlugin: 'Dar también a esa máquina el token de alta, para que puedan unirse sesiones abiertas allí a mano (las que se abren desde este panel no lo necesitan). Quien vea el comando podría quedárselo.',
1999
+ generate: 'Generar comando',
2000
+ osPick: 'La máquina usa',
2001
+ runOn: os => os === 'windows' ? 'Ejecuta esto en <b>PowerShell</b> en la máquina:' : 'Ejecuta esto en una terminal de la máquina (con tu usuario):',
2002
+ runWhat: 'Instala lo que falte (tmux, Node.js 22 y los agentes que elijas), da de alta la máquina con un código de un solo uso, prepara Pisha en cada agente y el comando <code>pisha-host</code>, y la deja funcionando en segundo plano. Guarda el comando en privado hasta usarlo.',
2003
+ windowsNote: 'En Windows, Pisha funciona dentro de WSL (Ubuntu): si no tienes WSL, el comando te dice cómo instalarlo. Windows detiene WSL cuando lo ve inactivo, así que deja abierta una ventana de Ubuntu.',
2004
+ allowRoot: 'Lo ejecutaré como <b>root</b> (<code>--allow-root</code>): las sesiones tendrán control total de la máquina, para modificar el sistema. Si no, ejecútalo con tu usuario.',
2005
+ allowHome: 'Permitir también mi carpeta personal entera para las sesiones (<code>--allow-home</code>): para que Claude administre el equipo. Las sesiones ahí acceden a todos tus ficheros, y sus permisos se aprueban solo en su propia terminal.',
2006
+ manualCmd: '¿Ya tienes tmux, Node.js 22 y Claude Code? Solo pisha-host:',
2007
+ copy: 'Copiar',
2008
+ copied: 'Copiado ✓',
2009
+ imageSent: 'Imagen enviada a Claude ✓',
2010
+ imageFailed: 'No se pudo pegar esa imagen',
2011
+ codeValid: t => `Código de un solo uso, válido hasta las ${t}.`,
2012
+ waitingMachine: 'Esperando a que la máquina se conecte…',
2013
+ machineJoined: n => `✓ <b>${n}</b> está conectada.`,
2014
+ done: 'Hecho',
2015
+ newSessionTitle: 'Nueva sesión',
2016
+ persona: 'Persona (skill o agente)',
2017
+ personaNone: 'Ninguna: Claude Code normal',
2018
+ personaSkill: 'Skill',
2019
+ personaAgent: 'Agente',
2020
+ personaSkillsProject: 'Skills de este proyecto',
2021
+ personaSkillsUser: 'Tus skills (~/.claude)',
2022
+ personaAgentsProject: 'Agentes de este proyecto',
2023
+ personaAgentsUser: 'Tus agentes (~/.claude)',
2024
+ personaHint: 'La sesión la sigue mientras esté abierta: va en su system prompt, así que ni las compactaciones ni otras skills la sustituyen.',
2025
+ personaNoDescription: '(sin descripción)',
2026
+ personaLoading: 'Buscando skills y agentes en esa carpeta…',
2027
+ personaNoneFound: 'No hay skills (.claude/skills/<nombre>/SKILL.md) ni agentes (.claude/agents/<nombre>.md) en esa carpeta ni en ~/.claude.',
2028
+ personaLoadFailed: 'No se pudieron listar las skills y agentes',
2029
+ personaNoTools: 'sus herramientas no incluyen las de Pisha',
2030
+ templates: 'Plantillas',
2031
+ saveTemplate: 'Plantilla',
2032
+ saveTemplateTitle: n => `Guardar el equipo ${n} como plantilla`,
2033
+ saveTemplateHint: 'Guarda el coordinador y sus workers con la carpeta, la persona y el auto-compact con que se abrió cada uno, para volver a abrir todo el equipo de una vez.',
2034
+ templateName: 'Nombre de la plantilla',
2035
+ templateSaved: n => `Plantilla "${n}" guardada. Ábrela desde Máquinas → Plantillas.`,
2036
+ templateSavedTitle: 'Plantilla guardada',
2037
+ tplNoFolder: '(carpeta desconocida: se queda fuera)',
2038
+ tplCoordNoFolder: 'No se conoce la carpeta del coordinador: ábrelo antes desde el dashboard.',
2039
+ noTemplates: 'Aún no hay plantillas. Abre un equipo y usa Guardar como plantilla.',
2040
+ tplSummary: (c, n) => `coordinador ${c} · ${n} worker${n === 1 ? '' : 's'}`,
2041
+ tplLaunch: 'Abrir el equipo',
2042
+ tplLaunchTitle: n => `Abrir el equipo de la plantilla "${n}"`,
2043
+ tplLaunchHint: 'Primero se abre el coordinador y después cada worker. Las sesiones que ya estén abiertas se dejan como están.',
2044
+ tplAlready: 'ya abierta',
2045
+ tplRetry: 'Reintentar',
2046
+ links: n => `Enlaces${n ? ` (${n})` : ''}`,
2047
+ linksTitle: n => `Equipos enlazados con ${n}`,
2048
+ linksHint: 'Un coordinador enlazado puede escribir a este y recibir sus mensajes, para repartir trabajo entre equipos. Es un igual: lo que pide nunca es la autorización del usuario, y nunca responde a los permisos de este equipo. Como mucho 60 mensajes por hora entre dos coordinadores.',
2049
+ linkWith: 'Enlazar con el coordinador',
2050
+ linkAdd: 'Enlazar',
2051
+ unlink: 'Quitar enlace',
2052
+ noLinks: 'Todavía no está enlazado con ningún otro equipo.',
2053
+ noOtherCoordinators: 'No hay otro coordinador con el que enlazarla.',
2054
+ linkedWith: l => `Enlazado con ${l}`,
2055
+ org: 'Organigrama',
2056
+ orgNavSub: (n, l) => `${n} equipo${n === 1 ? '' : 's'} · ${l} enlace${l === 1 ? '' : 's'}`,
2057
+ orgSub: (n, a, l) => `${n} equipo${n === 1 ? '' : 's'} · ${a} sesi${a === 1 ? 'ón' : 'ones'} · ${l} enlace${l === 1 ? '' : 's'}`,
2058
+ orgNewSquad: 'Nuevo equipo',
2059
+ orgArrange: 'Ordenar',
2060
+ orgArrangeTitle: 'Vuelve a colocar todas las tarjetas en columnas',
2061
+ orgZoomIn: 'Acercar',
2062
+ orgZoomOut: 'Alejar',
2063
+ orgZoomReset: 'Volver al 100 %',
2064
+ orgEmpty: 'Aún no hay equipos. Un equipo es un coordinador y sus workers: empieza por su coordinador.',
2065
+ orgAddAgent: 'Añadir worker',
2066
+ orgSt: { work: 'Trabajando', need: 'Te espera', idle: 'Parado', off: 'Desconectado' },
2067
+ orgNoTask: 'Sin tarea en su plan',
2068
+ orgWorkingN: n => `${n} trabajando`, orgWaitingN: n => `${n} te ${n === 1 ? 'espera' : 'esperan'}`, orgAgentsN: n => `${n} agente${n === 1 ? '' : 's'}`,
2069
+ orgMore: n => `+ ${n} más`,
2070
+ orgLess: 'Mostrar menos',
2071
+ reportTag: { done: 'hecho', blocked: 'bloqueado', failed: 'fallido', question: 'pregunta' },
2072
+ fyiTag: 'informativo',
2073
+ contextCleared: 'Contexto limpiado para una tarea nueva',
2074
+ orgSelfWorking: 'Sin workers conectados: el coordinador hace él mismo el trabajo del equipo',
2075
+ orgLinkHandle: 'Arrástralo a otro equipo para enlazarlas',
2076
+ orgSquadMenu: n => `Equipo ${n}: acciones`,
2077
+ orgAgentMenu: n => `${n}: acciones`,
2078
+ orgNoPurpose: 'Sin describir: ⋯ → Describir.',
2079
+ orgNoGoal: 'Sin objetivo: ⋯ → Nombre y objetivo.',
2080
+ orgLinkRecent: n => `${n} mensaje${n === 1 ? '' : 's'} en la última hora (como mucho 60)`,
2081
+ orgEditSquad: 'Nombre y objetivo…',
2082
+ orgEditSquadTitle: n => `Equipo ${n}`,
2083
+ orgSquadTitle: 'Nombre visible',
2084
+ orgGoal: 'Objetivo',
2085
+ orgGoalHint: 'Para qué sirve este equipo. Se le dice a su coordinador, para que ponga su esfuerzo ahí (a sus workers no: él les da lo que necesita cada tarea); los coordinadores enlazados lo ven en ping, para saber qué pedirle.',
2086
+ orgSquadTitleOpt: 'Nombre del equipo (opcional)',
2087
+ orgGoalOpt: 'Objetivo del equipo (opcional)',
2088
+ orgDescribe: 'Describir…',
2089
+ orgDescribeTitle: n => `Para qué sirve ${n}`,
2090
+ orgPurpose: 'Descripción',
2091
+ orgDescribeHint: 'La ves al pasar el ratón. Un coordinador recibe la suya; un worker no (su coordinador la ve en ping). Vacía: la descripción de su persona.',
2092
+ orgReshape: 'Cambiar persona o equipo…',
2093
+ orgReshapeTitle: n => `Cambiar ${n}`,
2094
+ orgReshapeHint: f => `La persona y el equipo se fijan al arrancar la sesión: se cierra y se vuelve a abrir con ellas, en ${f}.`,
2095
+ orgSquad: 'Equipo',
2096
+ orgResume: 'Continuar su conversación',
2097
+ orgNoResume: 'Esta máquina no continúa conversaciones anteriores: empezará una nueva.',
2098
+ orgReopenBtn: 'Cerrar y volver a abrir',
2099
+ orgReopening: 'Volviendo a abrir…',
2100
+ orgStillOn: n => `"${n}" sigue conectada: prueba otra vez en unos segundos.`,
2101
+ orgNeedsMachine: 'Su máquina no está conectada.',
2102
+ orgNoFolder: n => `No se conoce la carpeta de "${n}": ábrela antes desde el panel.`,
2103
+ orgCloseSquad: 'Cerrar el equipo',
2104
+ orgCloseSquadTitle: n => `¿Cerrar el equipo ${n}?`,
2105
+ orgCloseSquadText: l => `Cierra los terminales de ${l}. Lo que estaban haciendo se detiene; sus chats se quedan, y cada uno se puede volver a abrir.`,
2106
+ orgDeleteSquad: 'Borrar el equipo',
2107
+ orgDeleteSquadTitle: n => `¿Borrar el equipo ${n}?`,
2108
+ orgDeleteSquadText: l => `Borra ${l} del panel, con sus chats, y sus enlaces con otros equipos. No se puede deshacer.`,
2109
+ machine: 'Máquina',
2110
+ noOnlineMachines: 'No hay ninguna máquina conectada. Añade una o arranca pisha-host en ella.',
2111
+ role: 'Rol',
2112
+ sessionName: 'Nombre de la sesión',
2113
+ coordinatorName: 'Coordinador',
2114
+ folder: 'Carpeta',
2115
+ subfolder: 'Subcarpeta (opcional)',
2116
+ subfolderHint: 'p. ej. mi-repo/api',
2117
+ compact: 'Autocompactar a los',
2118
+ compactDefault: 'Lo que haga Claude Code (~967K en modelos de 1M, 200K en el resto)',
2119
+ compactRec: '600K tokens — recomendado para modelos de 1M de contexto',
2120
+ compactK: k => `${k}K tokens`,
2121
+ compactHint: 'Nunca por encima de la ventana del modelo: en modelos de 200K se queda en 200K.',
2122
+ resumeHint: 'Para retomar una conversación anterior, escribe <code>/resume</code> en la terminal de la sesión cuando se abra.',
2123
+ open: 'Abrir',
2124
+ opening: 'Abriendo…',
2125
+ nameTaken: n => `Ya hay una sesión conectada con el nombre "${n}".`,
2126
+ openOnHost: n => `Ya hay una sesión abierta con el nombre "${n}" en esa máquina (su terminal sigue ahí): ciérrala primero o elige otro nombre.`,
2127
+ termHintTyped: (h, a) => `Lo que escribas va directo a ${a} en ${h}. En el primer arranque confía en la carpeta si lo pide (Codex CLI pide también una vez confiar en los hooks de Pisha): así confías también en los ajustes de Codex o Grok de esa carpeta, que pueden ejecutar código; hazlo solo con repositorios de confianza. Al seleccionar texto se copia solo (mantén Mayús al arrastrar si no selecciona); Ctrl+Mayús+C también copia.`,
2128
+ termHint: h => `Lo que escribas va directo a Claude en ${h}. En el primer arranque acepta el aviso de channels de desarrollo y, si lo pide, confía en la carpeta e inicia sesión con /login. Al seleccionar texto se copia solo (mantén Mayús al arrastrar si no selecciona); Ctrl+Mayús+C también copia. Pega una imagen (Ctrl+V) para dársela a Claude.`,
2129
+ readOnly: 'Solo ver',
2130
+ redraw: 'Redibujar',
2131
+ termEnded: 'La sesión terminó en la máquina.',
2132
+ termHostDown: 'La máquina está desconectada. Esperando a que vuelva…',
2133
+ termLinkDown: 'Reconectando con el servidor…',
2134
+ termLoading: 'Cargando el terminal…',
2135
+ termLoadFailed: 'No se ha podido cargar el componente del terminal (/vendor/xterm.js de este servidor).',
2136
+ onHost: h => `en ${h}`,
2137
+ openLink: '¿Abrir este enlace del terminal en una pestaña nueva?',
2138
+ kick: 'Desconectar sesión',
2139
+ kickTitle: n => `Desconectar ${n}`,
2140
+ kickText: who => `Saca ya a ${who} de Pisha y anula su secreto: quien tenga una copia no podrá volver. Úsalo con una sesión que se porte mal o tenga un nombre que no le corresponde. Después podrás archivarla o eliminarla; para volver a usar el nombre, cierra su terminal y ábrela de nuevo desde su máquina (si se abrió desde el panel), o elimínala.`,
2141
+ httpWarn: 'Esta dirección es http sin cifrar: las máquinas la rechazan salvo que añadas --insecure, y hazlo solo en una red privada de confianza. Sirve el panel por https.',
2142
+ },
2143
+ }
2144
+ export const T = I18N[LANG]
2145
+ document.documentElement.lang = LANG