dsh-injection-manager 1.10.4 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +267 -0
- package/CONTRIBUTING.md +2 -2
- package/README.md +282 -94
- package/README.zh.md +236 -97
- package/client.js +3325 -295
- package/docs/ARCHITECTURE.md +111 -24
- package/docs/COMPATIBILITY.md +28 -7
- package/docs/DETAIL.md +148 -0
- package/docs/DETAIL.zh.md +105 -1
- package/docs/FAQ.md +49 -7
- package/docs/PERFORMANCE.md +60 -6
- package/docs/images/demo.gif +0 -0
- package/docs/images/dock.png +0 -0
- package/docs/images/panel-dark.png +0 -0
- package/docs/images/panel-drawer.png +0 -0
- package/docs/images/panel-insights.png +0 -0
- package/docs/images/panel-manage-expanded.png +0 -0
- package/docs/images/panel-manage.png +0 -0
- package/docs/images/panel-settings.png +0 -0
- package/docs/images/panel-sidebar.png +0 -0
- package/docs/preview.svg +177 -23
- package/icon.svg +19 -5
- package/index.js +100 -14
- package/lib/actions.js +12 -4
- package/lib/apply.js +14 -2
- package/lib/compaction.js +126 -0
- package/lib/content.js +360 -0
- package/lib/events.js +216 -0
- package/lib/health.js +210 -0
- package/lib/pressure.js +146 -0
- package/lib/routes.js +293 -9
- package/lib/snapshot.js +256 -29
- package/lib/stats.js +394 -0
- package/lib/text.js +160 -0
- package/lib/trend.js +168 -0
- package/locale/de.json +251 -6
- package/locale/en.json +251 -6
- package/locale/es.json +251 -6
- package/locale/fr.json +251 -6
- package/locale/ja.json +251 -6
- package/locale/pt.json +251 -6
- package/locale/ru.json +252 -7
- package/locale/zh.json +249 -4
- package/package.json +16 -3
- package/screenshots.json +7 -5
- package/docs/images/panel-about.png +0 -0
- package/docs/images/panel-budget.png +0 -0
- package/docs/images/panel-policy.png +0 -0
- package/docs/images/panel-suites.png +0 -0
package/locale/en.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
|
-
"title": "Context
|
|
4
|
-
"description": "
|
|
3
|
+
"title": "Context Injection Manager",
|
|
4
|
+
"description": "See and control everything a new session injects before its first request — prompt sections, runtime contexts, the skill catalog, tool schemas and workspace rules, clustered into suites with one switch per MCP server. v2 adds a content browser with source paths and search highlighting, a cross-session first-turn trend, an event timeline, health checks and per-session cards, each number stating its source and coverage. Presets, custom prefix/suffix and a token budget are supported; a policy only applies to sessions created afterwards and every switch is reversible. Entries: the sidebar injection icon (manage / insights / settings), the composer dock chip, the read-only context_injection model tool and the /inject command.",
|
|
5
5
|
"detail": "docs/DETAIL.md"
|
|
6
6
|
},
|
|
7
7
|
"client": {
|
|
8
|
-
"panelLabel": "
|
|
8
|
+
"panelLabel": "Context injection",
|
|
9
9
|
"panelTitle": "Context injection",
|
|
10
|
-
"pageTitle": "Context
|
|
10
|
+
"pageTitle": "Context Injection Manager",
|
|
11
11
|
"subtitle": "What the first request of a new session carries; switches apply to sessions created later",
|
|
12
12
|
"refresh": "Refresh",
|
|
13
13
|
"retry": "Retry",
|
|
@@ -158,11 +158,256 @@
|
|
|
158
158
|
"showDock": "Show chip under the composer",
|
|
159
159
|
"dockHint": "Estimated first-turn injection for this session; click to open the panel",
|
|
160
160
|
"dockCardTitle": "Composer chip",
|
|
161
|
-
"dockCardHint": "The small chip under the composer shows the first-turn token count and
|
|
161
|
+
"dockCardHint": "The small chip under the composer shows the first-turn token count and the context-window percentage. Close it with its × or this switch; you can turn it back on any time.",
|
|
162
162
|
"sortByName": "By name",
|
|
163
163
|
"closedTitle": "Switched off",
|
|
164
164
|
"closedHint": "These are not in the prompt right now; their size is remembered. Restore re-enables them by name.",
|
|
165
165
|
"restoreGroup": "Restore suite",
|
|
166
|
-
"sessionNotApplied": "This session predates the policy, so it is unaffected; \"after policy\" is the estimate for your next new session."
|
|
166
|
+
"sessionNotApplied": "This session predates the policy, so it is unaffected; \"after policy\" is the estimate for your next new session.",
|
|
167
|
+
"baseline": "Without policy",
|
|
168
|
+
"mixed": "Mixed",
|
|
169
|
+
"sortHint": "Click to sort",
|
|
170
|
+
"topSuites": "Largest suites",
|
|
171
|
+
"window": "Context window",
|
|
172
|
+
"windowHint": "Occupancy is the host's own measurement: the next request's expected prompt over the model's window.",
|
|
173
|
+
"noWindow": "window unknown",
|
|
174
|
+
"noWindowHint": "No measured request yet in this session; send one message and the number appears.",
|
|
175
|
+
"windowUsedOf": "{used} / {window}",
|
|
176
|
+
"remain": "left",
|
|
177
|
+
"windowBarLabel": "Context window {pct}% used",
|
|
178
|
+
"systemPart": "system",
|
|
179
|
+
"toolsPart": "tools",
|
|
180
|
+
"messagesPart": "messages",
|
|
181
|
+
"windowBreakdownHint": "Composition is an estimate and includes conversation history, not just the first turn.",
|
|
182
|
+
"compactionLine": "compacted {count}× · freed {saved}",
|
|
183
|
+
"compactionHint": "Compaction receipts are counted from when this plugin loaded; earlier compactions are not included.",
|
|
184
|
+
"compactionFailed": "{count} failed",
|
|
185
|
+
"trendLabel": "injected total trend, {min} to {max} tokens",
|
|
186
|
+
"requestComposition": "Request composition",
|
|
187
|
+
"injectionComposition": "First-turn injection",
|
|
188
|
+
"noTrim": "nothing trimmed",
|
|
189
|
+
"mixedOff": "partly off",
|
|
190
|
+
"skillsCallout": "Collected skills live in every request",
|
|
191
|
+
"skillsLine": "{tokens} tokens · {share}% of the first turn · about {avg} each · {providers} providers",
|
|
192
|
+
"skillsUnit": "skills",
|
|
193
|
+
"skillsManage": "Manage",
|
|
194
|
+
"skillsJump": "Filter the list to skills",
|
|
195
|
+
"truncatedHint": "{count} descriptions are longer than the catalog line, so they are cut off",
|
|
196
|
+
"heaviestSkill": "Largest: {name} ({tokens})",
|
|
197
|
+
"scopeLabel": "View scope",
|
|
198
|
+
"scopeGlobal": "Default policy",
|
|
199
|
+
"scopeGlobalHint": "What a session created right now would receive",
|
|
200
|
+
"scopeSession": "This session",
|
|
201
|
+
"scopeSessionHint": "What the conversation on screen is actually sending right now",
|
|
202
|
+
"closedBadge": "off",
|
|
203
|
+
"closedRestoreHint": "Closed for new sessions; switch it back on here",
|
|
204
|
+
"kindsLabel": "what takes the room",
|
|
205
|
+
"kindsNote": "Tool schemas outgrow the catalog by {tools} — the biggest server alone is {top} ({topTokens}). MCP tools are not skills: each one is a JSON declaration.",
|
|
206
|
+
"filterLabel": "Filter by channel",
|
|
207
|
+
"activeFilters": "Filtered:",
|
|
208
|
+
"tabManage": "Manage",
|
|
209
|
+
"tabStats": "History",
|
|
210
|
+
"tabSettings": "Settings",
|
|
211
|
+
"statsEmpty": "No history yet. Open a conversation with the panel — every measured conversation lands here.",
|
|
212
|
+
"statsSessions": "Conversations",
|
|
213
|
+
"statsSessionsSub": "measured by this plugin",
|
|
214
|
+
"statsAvg": "Average first turn",
|
|
215
|
+
"statsAvgSub": "tokens per conversation",
|
|
216
|
+
"statsSkills": "Average skills",
|
|
217
|
+
"statsSkillsSub": "tokens per conversation",
|
|
218
|
+
"statsPeak": "Largest",
|
|
219
|
+
"statsSkillsShort": "skills",
|
|
220
|
+
"statsPeakShort": "peak",
|
|
221
|
+
"statsWhen": "last measured",
|
|
222
|
+
"statsByDay": "Average first turn per day",
|
|
223
|
+
"statsSessionsTitle": "Every measured conversation",
|
|
224
|
+
"statsCoverage": "{recorded} of {known} conversations on this machine measured",
|
|
225
|
+
"statsUnmeasured": "not measured",
|
|
226
|
+
"statsSubagent": "subagent",
|
|
227
|
+
"statsBackfilled": "just read {count} older logs",
|
|
228
|
+
"statsCurrent": "This conversation",
|
|
229
|
+
"statsHistory": "History",
|
|
230
|
+
"content.heading": "Content",
|
|
231
|
+
"content.loading": "Loading content…",
|
|
232
|
+
"content.failed": "Could not load content",
|
|
233
|
+
"content.retry": "Retry",
|
|
234
|
+
"content.close": "Close",
|
|
235
|
+
"content.copy": "Copy full text",
|
|
236
|
+
"content.copied": "Copied",
|
|
237
|
+
"content.copyFailed": "Copy failed",
|
|
238
|
+
"content.copyPath": "Copy path",
|
|
239
|
+
"content.pathCopied": "Path copied",
|
|
240
|
+
"content.lines": "Line numbers",
|
|
241
|
+
"content.search": "Search inside content",
|
|
242
|
+
"content.matches": "{count} matches",
|
|
243
|
+
"content.linesMeta": "{count} lines",
|
|
244
|
+
"content.truncated": "Content is larger than {limit} bytes; truncated to a valid UTF-8 prefix",
|
|
245
|
+
"content.source": "Source",
|
|
246
|
+
"content.meta": "{bytes} bytes · {chars} chars · ~{tokens} tokens",
|
|
247
|
+
"content.type.json": "JSON",
|
|
248
|
+
"content.type.markdown": "Markdown",
|
|
249
|
+
"content.type.text": "Plain text",
|
|
250
|
+
"content.note.catalog": "Skill catalog entry (no SKILL.md found)",
|
|
251
|
+
"content.note.file": "From a file on disk",
|
|
252
|
+
"content.note.assemble": "From the system prompt assembly",
|
|
253
|
+
"content.note.snapshot": "From the session snapshot",
|
|
254
|
+
"content.empty": "This item has no readable content",
|
|
255
|
+
"content.escHint": "Esc to close",
|
|
256
|
+
"content.readonly": "Read-only",
|
|
257
|
+
"content.clipped": "Only the first {count} lines are rendered; copy still gets the full text",
|
|
258
|
+
"ev.session-created": "New session",
|
|
259
|
+
"ev.policy-saved": "Policy saved",
|
|
260
|
+
"ev.preset": "Preset changed",
|
|
261
|
+
"ev.budget": "Budget changed",
|
|
262
|
+
"ev.switch": "Switch flipped",
|
|
263
|
+
"ev.undo": "Undo",
|
|
264
|
+
"ev.import": "Policy imported",
|
|
265
|
+
"ev.compaction": "Compaction",
|
|
266
|
+
"ev.prune": "Prune",
|
|
267
|
+
"ev.model-switch": "Model switched",
|
|
268
|
+
"ev.mode-toggle": "Mode toggled",
|
|
269
|
+
"ev.diagnostic": "Diagnostic",
|
|
270
|
+
"ev.unknown": "Event",
|
|
271
|
+
"health.heavy-suite": "“{label}” is {share}% of the first turn: {count} items · {tokens} tokens",
|
|
272
|
+
"health.duplicate-skill": "{label} is provided by {count} sources",
|
|
273
|
+
"health.tool-name-collision": "Tool name collision: {label}",
|
|
274
|
+
"health.budget-gap": "{tokens} tokens from the budget target",
|
|
275
|
+
"health.catalog-truncated": "{count} skill descriptions are truncated",
|
|
276
|
+
"health.locked-items": "{count} items cannot be switched off ({share}%)",
|
|
277
|
+
"health.unknown-window": "Window occupancy is unknown; send a message first",
|
|
278
|
+
"health.no-policy": "Some sessions never changed the policy",
|
|
279
|
+
"health.empty-catalog": "The skill catalog is empty",
|
|
280
|
+
"health.failed": "Could not load health checks",
|
|
281
|
+
"health.action.switch-group": "Switch this suite off",
|
|
282
|
+
"health.action.set-budget": "Set a budget",
|
|
283
|
+
"health.action.open-content": "View content",
|
|
284
|
+
"health.action.open-tab": "Open",
|
|
285
|
+
"trend.title": "First-turn injection trend",
|
|
286
|
+
"trend.range7": "Last 7 days",
|
|
287
|
+
"trend.range30": "Last 30 days",
|
|
288
|
+
"trend.rangeAll": "All time",
|
|
289
|
+
"trend.rangeLabel": "Time range",
|
|
290
|
+
"trend.empty": "Nothing recorded in this range yet. Open the panel or start a session and data will appear here.",
|
|
291
|
+
"trend.sessions": "{count} sessions",
|
|
292
|
+
"trend.measured": "{count} measured",
|
|
293
|
+
"trend.avg": "Average",
|
|
294
|
+
"trend.max": "Peak",
|
|
295
|
+
"trend.saved": "Total savable",
|
|
296
|
+
"trend.unknown": "Channels unknown",
|
|
297
|
+
"trend.logHint": "From a historical log: only the total was measured, so the channel split is unknown (hatched).",
|
|
298
|
+
"trend.striped": "Hatched = channels unknown",
|
|
299
|
+
"trend.summary": "First-turn injection trend: {count} sessions, average {avg} tokens, peak {max} tokens",
|
|
300
|
+
"trend.keyboardHint": "Tab focuses a bar, ← → moves between them",
|
|
301
|
+
"trend.legendHint": "Click a legend entry to hide that channel",
|
|
302
|
+
"trend.coverage": "Recorded {recorded} sessions / {known} on this machine",
|
|
303
|
+
"trend.coverageFootnote": "The trend only covers this plugin’s own measurements and a bounded log backfill; unmeasured sessions are not drawn, and channel splits exist only for new snapshots.",
|
|
304
|
+
"trend.effective": "After policy",
|
|
305
|
+
"trend.loadFailed": "Could not load the trend",
|
|
306
|
+
"trend.retry": "Retry",
|
|
307
|
+
"v2.tabsLabel": "Panel sections",
|
|
308
|
+
"v2.tabManageHint": "Manage the first turn",
|
|
309
|
+
"v2.tabInsights": "Insights",
|
|
310
|
+
"v2.tabInsightsHint": "Cross-session trend, composition, events and coverage",
|
|
311
|
+
"v2.tabSettingsHint": "Policy and preferences",
|
|
312
|
+
"v2.apiOld": "The host still speaks API v1: insights, content view and health checks need the v2 host plugin and appear after upgrading.",
|
|
313
|
+
"v2.health": "Health checks",
|
|
314
|
+
"v2.healthAllClear": "No problems found",
|
|
315
|
+
"v2.sevHigh": "high",
|
|
316
|
+
"v2.sevWarn": "warn",
|
|
317
|
+
"v2.sevInfo": "info",
|
|
318
|
+
"v2.healthChecked": "Checked {time}",
|
|
319
|
+
"v2.moreChecks": "{count} more checks",
|
|
320
|
+
"v2.openContent": "View content",
|
|
321
|
+
"v2.previewLabel": "Inline preview",
|
|
322
|
+
"v2.noPreview": "The host did not send an inline preview for this item",
|
|
323
|
+
"v2.expandPreview": "Expand the inline preview",
|
|
324
|
+
"v2.collapsePreview": "Collapse the inline preview",
|
|
325
|
+
"v2.noBudget": "No budget set",
|
|
326
|
+
"v2.budgetOver": "Over by {tokens}",
|
|
327
|
+
"v2.budgetUnder": "{tokens} left",
|
|
328
|
+
"v2.badgeMeasured": "Measured",
|
|
329
|
+
"v2.badgeLog": "Log",
|
|
330
|
+
"v2.samples": "{count} samples",
|
|
331
|
+
"v2.compactions": "{count} compactions · {saved} freed",
|
|
332
|
+
"v2.scope.startup": "Startup",
|
|
333
|
+
"v2.scope.clear": "After clear",
|
|
334
|
+
"v2.scope.backfill": "Backfill",
|
|
335
|
+
"v2.crossTitle": "Average composition across sessions",
|
|
336
|
+
"v2.crossEmpty": "No session has a channel split yet",
|
|
337
|
+
"v2.crossNote": "Only sessions whose channel split is known are counted",
|
|
338
|
+
"v2.heaviestTitle": "Heaviest suites",
|
|
339
|
+
"v2.heaviestHint": "Suite size in this session; the faded part is what the policy switched off",
|
|
340
|
+
"v2.heaviestEmpty": "No suites to rank",
|
|
341
|
+
"v2.sessions": "Sessions",
|
|
342
|
+
"v2.sessionsCount": "{count} sessions",
|
|
343
|
+
"v2.sessionSearch": "Search sessions (id / title / cwd)",
|
|
344
|
+
"v2.sortLabel": "Sort",
|
|
345
|
+
"v2.sortRecent": "Newest",
|
|
346
|
+
"v2.sortHeavy": "Heaviest",
|
|
347
|
+
"v2.sortSaved": "Most savable",
|
|
348
|
+
"v2.noSessions": "No sessions in this range",
|
|
349
|
+
"v2.showMore": "Show {count} more",
|
|
350
|
+
"v2.currentSession": "This session",
|
|
351
|
+
"v2.channelsUnknown": "Channel split unknown",
|
|
352
|
+
"v2.eventsTitle": "This session’s event timeline",
|
|
353
|
+
"v2.eventsEmpty": "No events yet. Switches, budgets, compactions and imports will show up here.",
|
|
354
|
+
"v2.eventsCoverage": "Last {count} · limit {limit}",
|
|
355
|
+
"v2.eventsFailed": "Could not load events",
|
|
356
|
+
"v2.eventsMore": "Show {count} more",
|
|
357
|
+
"v2.insightsSub": "Cross-session records plus this session’s events; all data comes from this plugin’s own local measurements.",
|
|
358
|
+
"v2.version": "Version",
|
|
359
|
+
"v2.versionHost": "Host",
|
|
360
|
+
"v2.versionLine": "Host DSH {version} (tested {tested})",
|
|
361
|
+
"v2.versionUnknown": "Unknown",
|
|
362
|
+
"v2.apiVersionLabel": "API version",
|
|
363
|
+
"v2.languageLabel": "UI language",
|
|
364
|
+
"v2.prefs": "Preferences",
|
|
365
|
+
"v2.prefLines": "Show line numbers in the content drawer",
|
|
366
|
+
"v2.prefRange": "Default insights range",
|
|
367
|
+
"v2.prefNote": "Preferences stay in this browser and never touch the policy file.",
|
|
368
|
+
"v2.aboutV2": "The content drawer (raw text / path / search highlight), cross-session trend, event timeline, health checks and inline previews. All read-only.",
|
|
369
|
+
"v2.aboutData": "The trend comes from stats.json (measured rows plus a bounded log backfill), events from events.json (at most 300); conversation text is never collected or uploaded.",
|
|
370
|
+
"v2.aboutHonesty": "Channel splits are only written by new snapshots; older records show as unknown (hatched) instead of pretending to be zero.",
|
|
371
|
+
"v2.docsHint": "Full details in docs/DETAIL.zh.md",
|
|
372
|
+
"v2.retry": "Retry",
|
|
373
|
+
"v2.gateTitle": "This panel needs the v2 host",
|
|
374
|
+
"v2.gateBody": "The host still returns API v1: the new insights, content view and health checks need the v2 host plugin. They appear after upgrading; manage, settings and switches keep working.",
|
|
375
|
+
"v2.gateCurrent": "Current",
|
|
376
|
+
"v2.gateMin": "Required",
|
|
377
|
+
"v2.gateDismiss": "Got it",
|
|
378
|
+
"v2.savedHint": "{tokens} tokens saved versus an all-on policy",
|
|
379
|
+
"v2.filters": "Filters",
|
|
380
|
+
"v2.noFilters": "No filters applied",
|
|
381
|
+
"v2.clearAll": "Clear all",
|
|
382
|
+
"v2.filterSuite": "Show only suite “{label}”",
|
|
383
|
+
"content.viewLabel": "Content view",
|
|
384
|
+
"content.viewDesc": "Description",
|
|
385
|
+
"content.viewParams": "Parameters",
|
|
386
|
+
"content.viewRaw": "Raw JSON",
|
|
387
|
+
"content.paramName": "Parameter",
|
|
388
|
+
"content.paramType": "Type",
|
|
389
|
+
"content.paramRequired": "Required",
|
|
390
|
+
"content.paramDesc": "Description",
|
|
391
|
+
"content.noDesc": "This tool declaration has no description",
|
|
392
|
+
"content.noParams": "This tool takes no parameters",
|
|
393
|
+
"content.copyJson": "Copy JSON",
|
|
394
|
+
"content.tokensHint": "Estimated tokens (ASCII÷4, non-ASCII÷1.6), not a tokenizer result",
|
|
395
|
+
"trend.overviewNote": "Overview: {count} sessions merged into {buckets} buckets so bars stay readable",
|
|
396
|
+
"trend.allHint": "All-time view is chronological; the newest point is on the right.",
|
|
397
|
+
"trend.pinHint": "Hover for values, click to pin, Esc to clear",
|
|
398
|
+
"trend.pinned": "Pinned (Esc to clear)",
|
|
399
|
+
"trend.bucketCount": "{count} sessions merged",
|
|
400
|
+
"v2.kpiMeasured": "Measured sessions",
|
|
401
|
+
"v2.kpiMeasuredSub": "recorded here / on this machine",
|
|
402
|
+
"trend.avgSub": "first-turn average per session",
|
|
403
|
+
"trend.maxSub": "highest first turn in one session",
|
|
404
|
+
"trend.savedSub": "total saved after the policy",
|
|
405
|
+
"v2.goManage": "Manage",
|
|
406
|
+
"v2.windowHint2": "Host contextPressure projection: includes conversation history, so it is not the same measure as first-turn injection.",
|
|
407
|
+
"v2.overviewComposition": "First-turn composition",
|
|
408
|
+
"content.matchSummary": "{lines} lines / {count} matches",
|
|
409
|
+
"v2.closedLight": "Faded = switched off",
|
|
410
|
+
"v2.scopeUnknown": "Unknown source",
|
|
411
|
+
"trend.backfilling": "Backfilling history…"
|
|
167
412
|
}
|
|
168
413
|
}
|
package/locale/es.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
|
-
"title": "
|
|
4
|
-
"description": "
|
|
3
|
+
"title": "Gestor de inyección de contexto",
|
|
4
|
+
"description": "Ve y controla todo lo que una sesión nueva inyecta antes de su primera petición: secciones del prompt, contextos de ejecución, catálogo de skills, esquemas de herramientas y reglas del workspace, agrupados en suites con un interruptor por servidor MCP. La v2 añade un visor de contenido con rutas y búsqueda, una tendencia del primer turno entre sesiones, una cronología de eventos, controles de salud y tarjetas por sesión, indicando siempre de dónde salen los números y su cobertura. Incluye presets, prefijo/sufijo propios y presupuesto de tokens; la política solo se aplica a sesiones creadas después y todo interruptor es reversible. Entradas: el icono de inyección de la barra lateral (gestión / perspectivas / ajustes), el chip junto al compositor, la herramienta de solo lectura context_injection y el comando /inject.",
|
|
5
5
|
"detail": "docs/DETAIL.es.md"
|
|
6
6
|
},
|
|
7
7
|
"client": {
|
|
8
|
-
"panelLabel": "Inyección",
|
|
8
|
+
"panelLabel": "Inyección de contexto",
|
|
9
9
|
"panelTitle": "Inyección de contexto",
|
|
10
|
-
"pageTitle": "
|
|
10
|
+
"pageTitle": "Gestor de inyección de contexto",
|
|
11
11
|
"subtitle": "Lo que lleva la primera petición de una sesión nueva; los interruptores afectan a las sesiones creadas después",
|
|
12
12
|
"refresh": "Actualizar",
|
|
13
13
|
"retry": "Reintentar",
|
|
@@ -158,11 +158,256 @@
|
|
|
158
158
|
"showDock": "Mostrar chip bajo el compositor",
|
|
159
159
|
"dockHint": "Inyección estimada del primer turno de esta sesión; haz clic para abrir el panel",
|
|
160
160
|
"dockCardTitle": "Chip del compositor",
|
|
161
|
-
"dockCardHint": "El chip bajo el compositor muestra solo los tokens del primer turno y la
|
|
161
|
+
"dockCardHint": "El chip bajo el compositor muestra solo los tokens del primer turno y el porcentaje de la ventana de contexto. Ciérralo con su × o con este interruptor; puedes volver a mostrarlo cuando quieras.",
|
|
162
162
|
"sortByName": "Por nombre",
|
|
163
163
|
"closedTitle": "Desactivados",
|
|
164
164
|
"closedHint": "Ahora no están en el prompt, pero se recuerda su tamaño. Restaurar los vuelve a activar por nombre.",
|
|
165
165
|
"restoreGroup": "Restaurar suite",
|
|
166
|
-
"sessionNotApplied": "Esta sesión es anterior a la política y no se ve afectada; «tras la política» es la estimación para la próxima sesión."
|
|
166
|
+
"sessionNotApplied": "Esta sesión es anterior a la política y no se ve afectada; «tras la política» es la estimación para la próxima sesión.",
|
|
167
|
+
"baseline": "Sin política",
|
|
168
|
+
"mixed": "Varios",
|
|
169
|
+
"sortHint": "Clic para ordenar",
|
|
170
|
+
"topSuites": "Suites más grandes",
|
|
171
|
+
"window": "Ventana de contexto",
|
|
172
|
+
"windowHint": "La ocupación la mide el propio host: prompt previsto de la próxima petición ÷ ventana del modelo.",
|
|
173
|
+
"noWindow": "ventana desconocida",
|
|
174
|
+
"noWindowHint": "Aún no hay medición en esta sesión; envía un mensaje y aparecerá.",
|
|
175
|
+
"windowUsedOf": "{used} / {window}",
|
|
176
|
+
"remain": "libre",
|
|
177
|
+
"windowBarLabel": "Ventana de contexto usada al {pct}%",
|
|
178
|
+
"systemPart": "sistema",
|
|
179
|
+
"toolsPart": "herramientas",
|
|
180
|
+
"messagesPart": "mensajes",
|
|
181
|
+
"windowBreakdownHint": "La composición es una estimación e incluye el historial, no solo el primer turno.",
|
|
182
|
+
"compactionLine": "compactado {count}× · liberados {saved}",
|
|
183
|
+
"compactionHint": "Los recibos de compactación cuentan desde que se cargó el plugin.",
|
|
184
|
+
"compactionFailed": "{count} fallos",
|
|
185
|
+
"trendLabel": "tendencia de la inyección inicial, {min} a {max} tokens",
|
|
186
|
+
"requestComposition": "Composición de la petición",
|
|
187
|
+
"injectionComposition": "Inyección del primer turno",
|
|
188
|
+
"noTrim": "sin recortes",
|
|
189
|
+
"mixedOff": "parcial",
|
|
190
|
+
"skillsCallout": "Las skills guardadas viajan en cada petición",
|
|
191
|
+
"skillsLine": "{tokens} tokens · {share}% del primer turno · {avg} de media · {providers} proveedores",
|
|
192
|
+
"skillsUnit": "skills",
|
|
193
|
+
"skillsManage": "Gestionar",
|
|
194
|
+
"skillsJump": "Filtrar solo skills",
|
|
195
|
+
"truncatedHint": "{count} descripciones superan el límite de la línea y se recortan",
|
|
196
|
+
"heaviestSkill": "La mayor: {name} ({tokens})",
|
|
197
|
+
"scopeLabel": "Ámbito",
|
|
198
|
+
"scopeGlobal": "Política por defecto",
|
|
199
|
+
"scopeGlobalHint": "Lo que recibiría una sesión creada ahora",
|
|
200
|
+
"scopeSession": "Esta sesión",
|
|
201
|
+
"scopeSessionHint": "Lo que la conversación en pantalla envía ahora mismo",
|
|
202
|
+
"closedBadge": "off",
|
|
203
|
+
"closedRestoreHint": "Cerrado para sesiones nuevas; vuelve a activarlo aquí",
|
|
204
|
+
"kindsLabel": "qué ocupa el espacio",
|
|
205
|
+
"kindsNote": "Los schemas de tools superan al catálogo: {tools}, y el mayor servidor es {top} ({topTokens}). Las tools MCP no son skills: son declaraciones JSON.",
|
|
206
|
+
"filterLabel": "Filtrar por canal",
|
|
207
|
+
"activeFilters": "Filtrado:",
|
|
208
|
+
"tabManage": "Gestión",
|
|
209
|
+
"tabStats": "Estadísticas",
|
|
210
|
+
"tabSettings": "Ajustes",
|
|
211
|
+
"statsEmpty": "Aún no hay historial. Cada conversación medida por el panel aparece aquí.",
|
|
212
|
+
"statsSessions": "Conversaciones",
|
|
213
|
+
"statsSessionsSub": "medidas por el plugin",
|
|
214
|
+
"statsAvg": "Media del primer turno",
|
|
215
|
+
"statsAvgSub": "tokens por conversación",
|
|
216
|
+
"statsSkills": "Media de skills",
|
|
217
|
+
"statsSkillsSub": "tokens por conversación",
|
|
218
|
+
"statsPeak": "Máximo",
|
|
219
|
+
"statsSkillsShort": "skills",
|
|
220
|
+
"statsPeakShort": "pico",
|
|
221
|
+
"statsWhen": "última medición",
|
|
222
|
+
"statsByDay": "Media del primer turno por día",
|
|
223
|
+
"statsSessionsTitle": "Cada conversación medida",
|
|
224
|
+
"statsCoverage": "{recorded} de {known} conversaciones de este equipo medidas",
|
|
225
|
+
"statsUnmeasured": "sin medir",
|
|
226
|
+
"statsSubagent": "subagente",
|
|
227
|
+
"statsBackfilled": "se leyeron {count} registros antiguos",
|
|
228
|
+
"statsCurrent": "Esta conversación",
|
|
229
|
+
"statsHistory": "Historial",
|
|
230
|
+
"content.heading": "Contenido",
|
|
231
|
+
"content.loading": "Cargando contenido…",
|
|
232
|
+
"content.failed": "No se pudo cargar el contenido",
|
|
233
|
+
"content.retry": "Reintentar",
|
|
234
|
+
"content.close": "Cerrar",
|
|
235
|
+
"content.copy": "Copiar todo",
|
|
236
|
+
"content.copied": "Copiado",
|
|
237
|
+
"content.copyFailed": "Error al copiar",
|
|
238
|
+
"content.copyPath": "Copiar ruta",
|
|
239
|
+
"content.pathCopied": "Ruta copiada",
|
|
240
|
+
"content.lines": "Números de línea",
|
|
241
|
+
"content.search": "Buscar en el contenido",
|
|
242
|
+
"content.matches": "{count} coincidencias",
|
|
243
|
+
"content.linesMeta": "{count} líneas",
|
|
244
|
+
"content.truncated": "El contenido supera {limit} bytes; se truncó a un prefijo UTF-8 válido",
|
|
245
|
+
"content.source": "Origen",
|
|
246
|
+
"content.meta": "{bytes} bytes · {chars} caracteres · ~{tokens} tokens",
|
|
247
|
+
"content.type.json": "JSON",
|
|
248
|
+
"content.type.markdown": "Markdown",
|
|
249
|
+
"content.type.text": "Texto plano",
|
|
250
|
+
"content.note.catalog": "Entrada del catálogo de skills (sin SKILL.md)",
|
|
251
|
+
"content.note.file": "Desde un archivo del disco",
|
|
252
|
+
"content.note.assemble": "Del montaje del prompt del sistema",
|
|
253
|
+
"content.note.snapshot": "De la instantánea de la sesión",
|
|
254
|
+
"content.empty": "Este elemento no tiene contenido legible",
|
|
255
|
+
"content.escHint": "Esc para cerrar",
|
|
256
|
+
"content.readonly": "Solo lectura",
|
|
257
|
+
"content.clipped": "Solo se muestran las primeras {count} líneas; copiar sigue copiando todo",
|
|
258
|
+
"ev.session-created": "Nueva sesión",
|
|
259
|
+
"ev.policy-saved": "Política guardada",
|
|
260
|
+
"ev.preset": "Cambio de preset",
|
|
261
|
+
"ev.budget": "Cambio de presupuesto",
|
|
262
|
+
"ev.switch": "Interruptor cambiado",
|
|
263
|
+
"ev.undo": "Deshacer",
|
|
264
|
+
"ev.import": "Política importada",
|
|
265
|
+
"ev.compaction": "Compactación",
|
|
266
|
+
"ev.prune": "Poda",
|
|
267
|
+
"ev.model-switch": "Cambio de modelo",
|
|
268
|
+
"ev.mode-toggle": "Cambio de modo",
|
|
269
|
+
"ev.diagnostic": "Diagnóstico",
|
|
270
|
+
"ev.unknown": "Evento",
|
|
271
|
+
"health.heavy-suite": "«{label}» es el {share}% del primer turno: {count} elementos · {tokens} tokens",
|
|
272
|
+
"health.duplicate-skill": "{label} procede de {count} fuentes",
|
|
273
|
+
"health.tool-name-collision": "Conflicto de nombres de herramienta: {label}",
|
|
274
|
+
"health.budget-gap": "A {tokens} tokens del presupuesto",
|
|
275
|
+
"health.catalog-truncated": "Se truncan {count} descripciones de skills",
|
|
276
|
+
"health.locked-items": "{count} elementos no se pueden desactivar ({share}%)",
|
|
277
|
+
"health.unknown-window": "La ocupación de la ventana es desconocida; envía un mensaje",
|
|
278
|
+
"health.no-policy": "Hay sesiones que nunca cambiaron la política",
|
|
279
|
+
"health.empty-catalog": "El catálogo de skills está vacío",
|
|
280
|
+
"health.failed": "No se pudo cargar la salud",
|
|
281
|
+
"health.action.switch-group": "Desactivar esta suite",
|
|
282
|
+
"health.action.set-budget": "Definir presupuesto",
|
|
283
|
+
"health.action.open-content": "Ver contenido",
|
|
284
|
+
"health.action.open-tab": "Abrir",
|
|
285
|
+
"trend.title": "Tendencia de la inyección del primer turno",
|
|
286
|
+
"trend.range7": "Últimos 7 días",
|
|
287
|
+
"trend.range30": "Últimos 30 días",
|
|
288
|
+
"trend.rangeAll": "Todo",
|
|
289
|
+
"trend.rangeLabel": "Rango de tiempo",
|
|
290
|
+
"trend.empty": "Aún no hay registros en este rango. Abre el panel o crea una sesión y aparecerán datos.",
|
|
291
|
+
"trend.sessions": "{count} sesiones",
|
|
292
|
+
"trend.measured": "{count} medidos",
|
|
293
|
+
"trend.avg": "Media",
|
|
294
|
+
"trend.max": "Máximo",
|
|
295
|
+
"trend.saved": "Ahorro acumulado",
|
|
296
|
+
"trend.unknown": "Canales desconocidos",
|
|
297
|
+
"trend.logHint": "De un registro histórico: solo se midió el total, sin desglose por canal (rayado).",
|
|
298
|
+
"trend.striped": "Rayado = canales desconocidos",
|
|
299
|
+
"trend.summary": "Tendencia: {count} sesiones, media {avg} tokens, máximo {max} tokens",
|
|
300
|
+
"trend.keyboardHint": "Tab enfoca una barra, ← → para moverte",
|
|
301
|
+
"trend.legendHint": "Clic en la leyenda para ocultar un canal",
|
|
302
|
+
"trend.coverage": "{recorded} sesiones registradas / {known} en este equipo",
|
|
303
|
+
"trend.coverageFootnote": "La tendencia solo incluye las mediciones del plugin y un relleno limitado desde logs; las sesiones sin medir no se dibujan y el desglose por canal solo existe en instantáneas nuevas.",
|
|
304
|
+
"trend.effective": "Con política",
|
|
305
|
+
"trend.loadFailed": "No se pudo cargar la tendencia",
|
|
306
|
+
"trend.retry": "Reintentar",
|
|
307
|
+
"v2.tabsLabel": "Secciones del panel",
|
|
308
|
+
"v2.tabManageHint": "Gestiona el primer turno",
|
|
309
|
+
"v2.tabInsights": "Perspectivas",
|
|
310
|
+
"v2.tabInsightsHint": "Tendencia, composición, eventos y cobertura entre sesiones",
|
|
311
|
+
"v2.tabSettingsHint": "Política y preferencias",
|
|
312
|
+
"v2.apiOld": "El host aún usa la API v1: perspectivas, contenido y salud necesitan el plugin host v2 y aparecen al actualizar.",
|
|
313
|
+
"v2.health": "Salud",
|
|
314
|
+
"v2.healthAllClear": "No se encontraron problemas",
|
|
315
|
+
"v2.sevHigh": "alta",
|
|
316
|
+
"v2.sevWarn": "aviso",
|
|
317
|
+
"v2.sevInfo": "info",
|
|
318
|
+
"v2.healthChecked": "Comprobado {time}",
|
|
319
|
+
"v2.moreChecks": "{count} más",
|
|
320
|
+
"v2.openContent": "Ver contenido",
|
|
321
|
+
"v2.previewLabel": "Vista previa",
|
|
322
|
+
"v2.noPreview": "El host no envió una vista previa para este elemento",
|
|
323
|
+
"v2.expandPreview": "Expandir la vista previa",
|
|
324
|
+
"v2.collapsePreview": "Contraer la vista previa",
|
|
325
|
+
"v2.noBudget": "Sin presupuesto",
|
|
326
|
+
"v2.budgetOver": "Excede en {tokens}",
|
|
327
|
+
"v2.budgetUnder": "Quedan {tokens}",
|
|
328
|
+
"v2.badgeMeasured": "Medido",
|
|
329
|
+
"v2.badgeLog": "Registro",
|
|
330
|
+
"v2.samples": "{count} muestras",
|
|
331
|
+
"v2.compactions": "{count} compactaciones · {saved} liberados",
|
|
332
|
+
"v2.scope.startup": "Inicio",
|
|
333
|
+
"v2.scope.clear": "Tras limpiar",
|
|
334
|
+
"v2.scope.backfill": "Relleno",
|
|
335
|
+
"v2.crossTitle": "Composición media entre sesiones",
|
|
336
|
+
"v2.crossEmpty": "Aún no hay sesiones con desglose por canal",
|
|
337
|
+
"v2.crossNote": "Solo cuentan las sesiones con desglose conocido",
|
|
338
|
+
"v2.heaviestTitle": "Suites más pesadas",
|
|
339
|
+
"v2.heaviestHint": "Tamaño por suite en esta sesión; la parte tenue es lo desactivado por la política",
|
|
340
|
+
"v2.heaviestEmpty": "No hay suites que ordenar",
|
|
341
|
+
"v2.sessions": "Sesiones",
|
|
342
|
+
"v2.sessionsCount": "{count} sesiones",
|
|
343
|
+
"v2.sessionSearch": "Buscar sesiones (id / título / carpeta)",
|
|
344
|
+
"v2.sortLabel": "Ordenar",
|
|
345
|
+
"v2.sortRecent": "Recientes",
|
|
346
|
+
"v2.sortHeavy": "Más pesadas",
|
|
347
|
+
"v2.sortSaved": "Más ahorro",
|
|
348
|
+
"v2.noSessions": "No hay sesiones en este rango",
|
|
349
|
+
"v2.showMore": "Mostrar {count} más",
|
|
350
|
+
"v2.currentSession": "Esta sesión",
|
|
351
|
+
"v2.channelsUnknown": "Desglose por canal desconocido",
|
|
352
|
+
"v2.eventsTitle": "Cronología de eventos de esta sesión",
|
|
353
|
+
"v2.eventsEmpty": "Aún no hay eventos. Interruptores, presupuestos, compactaciones e importaciones aparecerán aquí.",
|
|
354
|
+
"v2.eventsCoverage": "Últimos {count} · límite {limit}",
|
|
355
|
+
"v2.eventsFailed": "No se pudieron cargar los eventos",
|
|
356
|
+
"v2.eventsMore": "Mostrar {count} más",
|
|
357
|
+
"v2.insightsSub": "Registros entre sesiones y eventos de esta sesión; todo viene de las mediciones locales del plugin.",
|
|
358
|
+
"v2.version": "Versión",
|
|
359
|
+
"v2.versionHost": "Host",
|
|
360
|
+
"v2.versionLine": "DSH host {version} (probado {tested})",
|
|
361
|
+
"v2.versionUnknown": "Desconocido",
|
|
362
|
+
"v2.apiVersionLabel": "Versión de API",
|
|
363
|
+
"v2.languageLabel": "Idioma",
|
|
364
|
+
"v2.prefs": "Preferencias",
|
|
365
|
+
"v2.prefLines": "Mostrar números de línea en el contenido",
|
|
366
|
+
"v2.prefRange": "Rango predeterminado de perspectivas",
|
|
367
|
+
"v2.prefNote": "Las preferencias se quedan en este navegador y no tocan el archivo de política.",
|
|
368
|
+
"v2.aboutV2": "El panel de contenido (texto / ruta / resaltado), la tendencia entre sesiones, la cronología de eventos, la salud y las vistas previas. Todo de solo lectura.",
|
|
369
|
+
"v2.aboutData": "La tendencia viene de stats.json (mediciones y relleno limitado), los eventos de events.json (máximo 300); nunca se recoge ni se sube el texto de la conversación.",
|
|
370
|
+
"v2.aboutHonesty": "El desglose por canal solo lo escriben las instantáneas nuevas; los registros antiguos aparecen como desconocidos (rayado), no como cero.",
|
|
371
|
+
"v2.docsHint": "Detalles completos en docs/DETAIL.zh.md",
|
|
372
|
+
"v2.retry": "Reintentar",
|
|
373
|
+
"v2.gateTitle": "Este panel necesita el host v2",
|
|
374
|
+
"v2.gateBody": "El host sigue devolviendo la API v1: las nuevas perspectivas, el contenido y la salud necesitan el plugin host v2. Aparecen al actualizar; gestión, ajustes e interruptores siguen funcionando.",
|
|
375
|
+
"v2.gateCurrent": "Versión actual",
|
|
376
|
+
"v2.gateMin": "Requerido",
|
|
377
|
+
"v2.gateDismiss": "Entendido",
|
|
378
|
+
"v2.savedHint": "{tokens} tokens ahorrados frente a la política completa",
|
|
379
|
+
"v2.filters": "Filtros",
|
|
380
|
+
"v2.noFilters": "No hay filtros",
|
|
381
|
+
"v2.clearAll": "Limpiar todo",
|
|
382
|
+
"v2.filterSuite": "Ver solo la suite «{label}»",
|
|
383
|
+
"content.viewLabel": "Vista del contenido",
|
|
384
|
+
"content.viewDesc": "Descripción",
|
|
385
|
+
"content.viewParams": "Parámetros",
|
|
386
|
+
"content.viewRaw": "JSON original",
|
|
387
|
+
"content.paramName": "Parámetro",
|
|
388
|
+
"content.paramType": "Tipo",
|
|
389
|
+
"content.paramRequired": "Obligatorio",
|
|
390
|
+
"content.paramDesc": "Descripción",
|
|
391
|
+
"content.noDesc": "Esta herramienta no tiene descripción",
|
|
392
|
+
"content.noParams": "Esta herramienta no tiene parámetros",
|
|
393
|
+
"content.copyJson": "Copiar JSON",
|
|
394
|
+
"content.tokensHint": "Tokens estimados (ASCII÷4, no ASCII÷1.6); no es un tokenizador",
|
|
395
|
+
"trend.overviewNote": "Vista general: {count} sesiones agrupadas en {buckets} bloques para que las barras sigan legibles",
|
|
396
|
+
"trend.allHint": "La vista completa es cronológica; el punto más reciente está a la derecha.",
|
|
397
|
+
"trend.pinHint": "Pasa el cursor para ver valores, clic para fijar, Esc para soltar",
|
|
398
|
+
"trend.pinned": "Fijado (Esc para soltar)",
|
|
399
|
+
"trend.bucketCount": "{count} sesiones agrupadas",
|
|
400
|
+
"v2.kpiMeasured": "Sesiones medidas",
|
|
401
|
+
"v2.kpiMeasuredSub": "registradas aquí / en este equipo",
|
|
402
|
+
"trend.avgSub": "media del primer turno por sesión",
|
|
403
|
+
"trend.maxSub": "máximo del primer turno en una sesión",
|
|
404
|
+
"trend.savedSub": "ahorro acumulado tras la política",
|
|
405
|
+
"v2.goManage": "Gestionar",
|
|
406
|
+
"v2.windowHint2": "Proyección contextPressure del host: incluye el historial, así que no es la misma medida que la inyección del primer turno.",
|
|
407
|
+
"v2.overviewComposition": "Composición del primer turno",
|
|
408
|
+
"content.matchSummary": "{lines} líneas / {count} coincidencias",
|
|
409
|
+
"v2.closedLight": "Tenue = desactivado",
|
|
410
|
+
"v2.scopeUnknown": "Origen desconocido",
|
|
411
|
+
"trend.backfilling": "Rellenando historial…"
|
|
167
412
|
}
|
|
168
413
|
}
|