dsh-agent-enhancer 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/README.en.md +41 -34
  2. package/README.md +41 -34
  3. package/lib/client/context/chart.d.ts +21 -0
  4. package/lib/client/context/chart.d.ts.map +1 -0
  5. package/lib/client/context/dock.d.ts +10 -0
  6. package/lib/client/context/dock.d.ts.map +1 -0
  7. package/lib/client/context/enhance-meter.d.ts +12 -0
  8. package/lib/client/context/enhance-meter.d.ts.map +1 -0
  9. package/lib/client/context/format.d.ts +3 -0
  10. package/lib/client/context/format.d.ts.map +1 -0
  11. package/lib/client/context/icons.d.ts +10 -0
  12. package/lib/client/context/icons.d.ts.map +1 -0
  13. package/lib/client/context/open-tab.d.ts +16 -0
  14. package/lib/client/context/open-tab.d.ts.map +1 -0
  15. package/lib/client/context/right-tab.d.ts +14 -0
  16. package/lib/client/context/right-tab.d.ts.map +1 -0
  17. package/lib/client/context/tab.d.ts +15 -0
  18. package/lib/client/context/tab.d.ts.map +1 -0
  19. package/lib/client/context/title.d.ts +5 -0
  20. package/lib/client/context/title.d.ts.map +1 -0
  21. package/lib/client/dsh/controls.d.ts.map +1 -1
  22. package/lib/client/dsh/model-catalog.d.ts +7 -0
  23. package/lib/client/dsh/model-catalog.d.ts.map +1 -1
  24. package/lib/client/dsh/model-pill-label.d.ts +21 -0
  25. package/lib/client/dsh/model-pill-label.d.ts.map +1 -0
  26. package/lib/client/dsh/provider-balance-chip.d.ts +9 -0
  27. package/lib/client/dsh/provider-balance-chip.d.ts.map +1 -0
  28. package/lib/client/dsh/settings.d.ts +3 -0
  29. package/lib/client/dsh/settings.d.ts.map +1 -1
  30. package/lib/client/dsh/usage-chart.d.ts +28 -0
  31. package/lib/client/dsh/usage-chart.d.ts.map +1 -0
  32. package/lib/client/dsh/usage-dock.d.ts +8 -0
  33. package/lib/client/dsh/usage-dock.d.ts.map +1 -0
  34. package/lib/client/dsh/usage-format.d.ts +5 -0
  35. package/lib/client/dsh/usage-format.d.ts.map +1 -0
  36. package/lib/client/dsh/usage-kind.d.ts +8 -0
  37. package/lib/client/dsh/usage-kind.d.ts.map +1 -0
  38. package/lib/client/dsh/usage-meter.d.ts +16 -0
  39. package/lib/client/dsh/usage-meter.d.ts.map +1 -0
  40. package/lib/client/dsh/usage-panel.d.ts +8 -0
  41. package/lib/client/dsh/usage-panel.d.ts.map +1 -0
  42. package/lib/client/dsh/usage-tab.d.ts +11 -0
  43. package/lib/client/dsh/usage-tab.d.ts.map +1 -0
  44. package/lib/client/index.d.ts.map +1 -1
  45. package/lib/client/locales.d.ts +281 -3
  46. package/lib/client/locales.d.ts.map +1 -1
  47. package/lib/client/remote.d.ts +28 -1
  48. package/lib/client/remote.d.ts.map +1 -1
  49. package/lib/client.js +3130 -207
  50. package/lib/client.js.map +1 -1
  51. package/lib/config.d.ts +21 -2
  52. package/lib/config.d.ts.map +1 -1
  53. package/lib/errors.d.ts +1 -1
  54. package/lib/errors.d.ts.map +1 -1
  55. package/lib/host/auto-route/classifier.d.ts +5 -0
  56. package/lib/host/auto-route/classifier.d.ts.map +1 -0
  57. package/lib/host/auto-route/heuristic.d.ts +16 -0
  58. package/lib/host/auto-route/heuristic.d.ts.map +1 -0
  59. package/lib/host/auto-route/router.d.ts +15 -0
  60. package/lib/host/auto-route/router.d.ts.map +1 -0
  61. package/lib/host/auto-route/sentinel.d.ts +7 -0
  62. package/lib/host/auto-route/sentinel.d.ts.map +1 -0
  63. package/lib/host/auto-route/session-hook.d.ts +6 -0
  64. package/lib/host/auto-route/session-hook.d.ts.map +1 -0
  65. package/lib/host/auto-route/session-resolved-route.d.ts +7 -0
  66. package/lib/host/auto-route/session-resolved-route.d.ts.map +1 -0
  67. package/lib/host/auto-route/session-selection.d.ts +10 -0
  68. package/lib/host/auto-route/session-selection.d.ts.map +1 -0
  69. package/lib/host/auto-route/session-turn-hint.d.ts +8 -0
  70. package/lib/host/auto-route/session-turn-hint.d.ts.map +1 -0
  71. package/lib/host/auto-route/types.d.ts +18 -0
  72. package/lib/host/auto-route/types.d.ts.map +1 -0
  73. package/lib/host/context-compact.d.ts +42 -0
  74. package/lib/host/context-compact.d.ts.map +1 -0
  75. package/lib/host/context-inspect.d.ts +46 -0
  76. package/lib/host/context-inspect.d.ts.map +1 -0
  77. package/lib/host/index.d.ts +57 -1
  78. package/lib/host/index.d.ts.map +1 -1
  79. package/lib/host/model.d.ts +9 -1
  80. package/lib/host/model.d.ts.map +1 -1
  81. package/lib/host/rpc.d.ts +179 -0
  82. package/lib/host/rpc.d.ts.map +1 -1
  83. package/lib/host/update/check.d.ts +32 -0
  84. package/lib/host/update/check.d.ts.map +1 -0
  85. package/lib/host/update/cli.d.ts +15 -0
  86. package/lib/host/update/cli.d.ts.map +1 -0
  87. package/lib/host/update/install-kind.d.ts +3 -0
  88. package/lib/host/update/install-kind.d.ts.map +1 -0
  89. package/lib/host/update/registry.d.ts +16 -0
  90. package/lib/host/update/registry.d.ts.map +1 -0
  91. package/lib/host/update/semver.d.ts +2 -0
  92. package/lib/host/update/semver.d.ts.map +1 -0
  93. package/lib/host/update/types.d.ts +17 -0
  94. package/lib/host/update/types.d.ts.map +1 -0
  95. package/lib/host/usage/balance.d.ts +113 -0
  96. package/lib/host/usage/balance.d.ts.map +1 -0
  97. package/lib/host/usage/history.d.ts +23 -0
  98. package/lib/host/usage/history.d.ts.map +1 -0
  99. package/lib/host/usage/ledger.d.ts +20 -0
  100. package/lib/host/usage/ledger.d.ts.map +1 -0
  101. package/lib/host/usage/observe.d.ts +9 -0
  102. package/lib/host/usage/observe.d.ts.map +1 -0
  103. package/lib/host/usage/pricing.d.ts +55 -0
  104. package/lib/host/usage/pricing.d.ts.map +1 -0
  105. package/lib/host/usage/source.d.ts +14 -0
  106. package/lib/host/usage/source.d.ts.map +1 -0
  107. package/lib/host/usage/summarize.d.ts +7 -0
  108. package/lib/host/usage/summarize.d.ts.map +1 -0
  109. package/lib/host/usage/types.d.ts +105 -0
  110. package/lib/host/usage/types.d.ts.map +1 -0
  111. package/lib/index.js +3151 -356
  112. package/lib/index.js.map +4 -4
  113. package/package.json +26 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage-format.d.ts","sourceRoot":"","sources":["../../../src/client/dsh/usage-format.ts"],"names":[],"mappings":"AAAA,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEtD;AAED,4EAA4E;AAC5E,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAIrD;AAED,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAOlD"}
@@ -0,0 +1,8 @@
1
+ export declare const USAGE_TAB_ID = "dsh-agent-enhancer/usage";
2
+ export declare const USAGE_TAB_KIND = "agentEnhancerUsage";
3
+ declare module '@deepseek-ai/dsh-client-ui-sidebar-right/client' {
4
+ interface SidebarRightTabParamsMap {
5
+ agentEnhancerUsage: Record<string, never>;
6
+ }
7
+ }
8
+ //# sourceMappingURL=usage-kind.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage-kind.d.ts","sourceRoot":"","sources":["../../../src/client/dsh/usage-kind.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,6BAA6B,CAAA;AACtD,eAAO,MAAM,cAAc,uBAAuB,CAAA;AAElD,OAAO,QAAQ,iDAAiD,CAAC;IAC/D,UAAU,wBAAwB;QAChC,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;KAC1C;CACF"}
@@ -0,0 +1,16 @@
1
+ export interface UsageMeterLinkOptions {
2
+ readonly open: () => void;
3
+ readonly label: () => string;
4
+ }
5
+ /** Official Token 用量 popover opened from the composer dock (not System/Tools/Messages). */
6
+ export declare function findOpenTokenUsagePanel(): HTMLElement | null;
7
+ /**
8
+ * The highlighted title row: "Token 用量" + total tok.
9
+ * Prefer the smallest node that still carries both the title and the total.
10
+ */
11
+ export declare function findTokenUsageTitleRow(panel: HTMLElement): HTMLElement | null;
12
+ /**
13
+ * Wire the official Token 用量 title row to open the plugin bill in the right sidebar.
14
+ */
15
+ export declare function installUsageMeterLink(options: UsageMeterLinkOptions): () => void;
16
+ //# sourceMappingURL=usage-meter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage-meter.d.ts","sourceRoot":"","sources":["../../../src/client/dsh/usage-meter.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,IAAI,EAAE,MAAM,IAAI,CAAA;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,MAAM,CAAA;CAC7B;AAqBD,2FAA2F;AAC3F,wBAAgB,uBAAuB,IAAI,WAAW,GAAG,IAAI,CAY5D;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,WAAW,GAAG,WAAW,GAAG,IAAI,CAY7E;AAgCD;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,qBAAqB,GAAG,MAAM,IAAI,CAahF"}
@@ -0,0 +1,8 @@
1
+ import type { TranslateNS } from '@deepseek-ai/dsh-client-ui-slots';
2
+ import type { UsageRange, UsageSummary } from '../../host/usage/types.ts';
3
+ export interface UsagePanelProps {
4
+ readonly t: TranslateNS<'agent-enhancer'>;
5
+ readonly loadUsage?: (range: UsageRange) => Promise<UsageSummary>;
6
+ }
7
+ export declare function UsagePanel({ t, loadUsage }: UsagePanelProps): import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=usage-panel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage-panel.d.ts","sourceRoot":"","sources":["../../../src/client/dsh/usage-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAGnE,OAAO,KAAK,EAEV,UAAU,EAEV,YAAY,EAEb,MAAM,2BAA2B,CAAA;AAiMlC,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAA;IACzC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,OAAO,CAAC,YAAY,CAAC,CAAA;CAClE;AAED,wBAAgB,UAAU,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,eAAe,2CAiQ3D"}
@@ -0,0 +1,11 @@
1
+ import type { PropsRuntime, TranslateNS } from '@deepseek-ai/dsh-client-ui-slots';
2
+ import type { UsageRange, UsageSummary } from '../../host/usage/types.ts';
3
+ export interface UsageRightTabProps extends PropsRuntime<'sidebar.right.pane.tab'> {
4
+ readonly t: TranslateNS<'agent-enhancer'>;
5
+ readonly loadUsage: (range: UsageRange) => Promise<UsageSummary>;
6
+ }
7
+ export declare function UsageRightTab(props: UsageRightTabProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function UsageRightTabTitle(props: PropsRuntime<'sidebar.right.pane.tab.title'> & {
9
+ readonly t: TranslateNS<'agent-enhancer'>;
10
+ }): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=usage-tab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage-tab.d.ts","sourceRoot":"","sources":["../../../src/client/dsh/usage-tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEjF,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAIzE,MAAM,WAAW,kBAAmB,SAAQ,YAAY,CAAC,wBAAwB,CAAC;IAChF,QAAQ,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAA;IACzC,QAAQ,CAAC,SAAS,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,OAAO,CAAC,YAAY,CAAC,CAAA;CACjE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAMtD;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,YAAY,CAAC,8BAA8B,CAAC,GAAG;IACvF,QAAQ,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAA;CAC1C,2CAEA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AA8ClD,eAAO,MAAM,MAAM,UAA2F,CAAA;AAE9G,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CA0MxC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAuElD,eAAO,MAAM,MAAM,UAGlB,CAAA;AAED,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CA2YxC"}
@@ -1,6 +1,6 @@
1
1
  declare module '@deepseek-ai/dsh-client-ui-slots' {
2
2
  interface LocaleNamespaceMap {
3
- 'agent-enhancer': 'historyTitle' | 'historySearch' | 'historyResults' | 'historyClose' | 'optimize' | 'optimizePending' | 'optimizeUndo' | 'optimizeError' | 'optimizeChips' | 'optimizeChipSelection' | 'optimizeModelUnavailable' | 'optimizeRequestFailed' | 'optimizeInvalidOutput' | 'optimizeRollbackFailed' | 'optimizeSessionChanged' | 'settingsTitle' | 'settingsSubtitle' | 'history' | 'historyDescription' | 'optimizeDescription' | 'predict' | 'predictDescription' | 'privacyTitle' | 'privacy' | 'coexistence' | 'settingsError' | 'modelCatalogLoading' | 'modelCatalogError' | 'modelLabel' | 'modelFollowSession' | 'reasoningDefault' | 'overlapHistory' | 'overlapOptimize' | 'overlapPredict' | 'dismissHint' | 'rollback' | 'rollbackDescription' | 'rollbackBoundary' | 'rollbackAction' | 'rollbackUndoAction' | 'rollbackUndoCommandDescription' | 'rollbackTitle' | 'rollbackScope' | 'rollbackUndoTitle' | 'rollbackUndoScope' | 'rollbackUndoScopeConversation' | 'rollbackClose' | 'rollbackConfirm' | 'rollbackConfirmConversation' | 'rollbackUndoConfirm' | 'rollbackUndoConfirmConversation' | 'rollbackCancel' | 'rollbackLoading' | 'rollbackRestoring' | 'rollbackRestoringConversation' | 'rollbackUndoRestoring' | 'rollbackUndoRestoringConversation' | 'rollbackFailed' | 'rollbackTurnOpen' | 'rollbackTurnStartMissing' | 'rollbackMessages' | 'rollbackFiles' | 'rollbackGaps' | 'rollbackFilesLimited' | 'rollbackFilesLimitedHint' | 'rollbackConflicts' | 'rollbackNoMessages' | 'rollbackNoFiles' | 'rollbackFile_create' | 'rollbackFile_modify' | 'rollbackFile_delete' | 'rollbackGapWorkspace' | 'rollbackGapPrompt' | 'rollbackUnavailableCheckpoint' | 'rollbackUnavailableIncomplete' | 'rollbackUnavailableSessionChanged' | 'rollbackUnavailableRunning' | 'rollbackUnavailablePermission' | 'rollbackUnavailableDisabled' | 'rollbackUnavailableFirstTurn' | 'rollbackUnavailableIncompatible' | 'rollbackUnavailableCompacted' | 'rollbackUnavailableSubagent' | 'rollbackUnavailableUnknown' | 'rollbackConflictUnsafe' | 'rollbackConflictSymlink' | 'rollbackConflictRegular' | 'rollbackConflictBinary' | 'rollbackConflictLarge' | 'rollbackConflictBefore' | 'rollbackConflictHash';
3
+ 'agent-enhancer': 'historyTitle' | 'historySearch' | 'historyResults' | 'historyClose' | 'optimize' | 'optimizePending' | 'optimizeUndo' | 'optimizeError' | 'optimizeChips' | 'optimizeChipSelection' | 'optimizeModelUnavailable' | 'optimizeRequestFailed' | 'optimizeInvalidOutput' | 'optimizeRollbackFailed' | 'optimizeSessionChanged' | 'settingsTitle' | 'settingsSubtitle' | 'history' | 'historyDescription' | 'optimizeDescription' | 'predict' | 'predictDescription' | 'privacyTitle' | 'privacy' | 'coexistence' | 'settingsError' | 'modelCatalogLoading' | 'modelCatalogError' | 'modelLabel' | 'modelFollowSession' | 'modelAuto' | 'modelUnconfigured' | 'reasoningDefault' | 'settingsBack' | 'settingsConfigure' | 'usageTitle' | 'usageNote' | 'usageMeterOpen' | 'usageBuckets' | 'usageBucketInput' | 'usageBucketOutput' | 'usageBucketCacheRead' | 'usageBucketCacheWrite' | 'usageReasoningNote' | 'usageChartSources' | 'usageChartModels' | 'usageChartTotal' | 'usageChartEmpty' | 'usageHeatmap' | 'usageHeatmapHint' | 'usageHeatmapHourHint' | 'usageShareBar' | 'usageTotalLabel' | 'usageEstimateLabel' | 'usageEstimateHint' | 'usageUnpriced' | 'usageBalanceLabel' | 'usageBalanceDetail' | 'usageBalanceStale' | 'usageBalanceNoKey' | 'usageBalanceUnavailable' | 'providerBalanceLabel' | 'providerBalanceDetail' | 'providerBalanceStale' | 'providerBalanceLoading' | 'providerBalanceNoKey' | 'providerBalanceSignedOut' | 'providerBalanceUnavailable' | 'providerBalanceRefreshHint' | 'usageRecordModel' | 'usageRecordProvider' | 'usageRecordEffort' | 'usageRecordInput' | 'usageRecordOutput' | 'usageRecordCacheRead' | 'usageRecordCacheWrite' | 'usageModelRouteEffort' | 'usageBack' | 'usageRecordsOpen' | 'usageRecordsHint' | 'usageRecordsEmpty' | 'usageLoading' | 'usageLoadFailed' | 'usageRetry' | 'usageRefresh' | 'usageUnavailable' | 'usageEmpty' | 'usageRangeLabel' | 'usageRange_today' | 'usageRange_7d' | 'usageRange_30d' | 'usageRange_all' | 'usageRecent' | 'usageRetention' | 'usageCalls' | 'usageModelRoute' | 'usageSource_optimize' | 'usageSource_predict' | 'usageSource_compact' | 'usageSource_autoClassifier' | 'usageSource_session' | 'usageSource_compaction' | 'usageSource_sessionTitle' | 'usageSource_other' | 'updateTitle' | 'updateCurrent' | 'updateCheck' | 'updateChecking' | 'updateLatest' | 'updateAvailable' | 'updateApply' | 'updateApplying' | 'updateRestart' | 'updateLinkBlocked' | 'updateManual' | 'updateFailed' | 'updateCheckFailed' | 'updateCopy' | 'updateCopied' | 'autoRouting' | 'autoRoutingDescription' | 'autoClassifier' | 'autoClassifierDescription' | 'autoMappingTitle' | 'autoTier_instant' | 'autoTier_thinking' | 'autoTier_pro' | 'autoTier_classifier' | 'overlapHistory' | 'overlapOptimize' | 'overlapPredict' | 'dismissHint' | 'rollback' | 'rollbackDescription' | 'rollbackBoundary' | 'rollbackAction' | 'rollbackUndoAction' | 'rollbackUndoCommandDescription' | 'rollbackTitle' | 'rollbackScope' | 'rollbackUndoTitle' | 'rollbackUndoScope' | 'rollbackUndoScopeConversation' | 'rollbackClose' | 'rollbackConfirm' | 'rollbackConfirmConversation' | 'rollbackUndoConfirm' | 'rollbackUndoConfirmConversation' | 'rollbackCancel' | 'rollbackLoading' | 'rollbackRestoring' | 'rollbackRestoringConversation' | 'rollbackUndoRestoring' | 'rollbackUndoRestoringConversation' | 'rollbackFailed' | 'rollbackTurnOpen' | 'rollbackTurnStartMissing' | 'rollbackMessages' | 'rollbackFiles' | 'rollbackGaps' | 'rollbackFilesLimited' | 'rollbackFilesLimitedHint' | 'rollbackConflicts' | 'rollbackNoMessages' | 'rollbackNoFiles' | 'rollbackFile_create' | 'rollbackFile_modify' | 'rollbackFile_delete' | 'rollbackGapWorkspace' | 'rollbackGapPrompt' | 'rollbackUnavailableCheckpoint' | 'rollbackUnavailableIncomplete' | 'rollbackUnavailableSessionChanged' | 'rollbackUnavailableRunning' | 'rollbackUnavailablePermission' | 'rollbackUnavailableDisabled' | 'rollbackUnavailableFirstTurn' | 'rollbackUnavailableIncompatible' | 'rollbackUnavailableCompacted' | 'rollbackUnavailableSubagent' | 'rollbackUnavailableUnknown' | 'rollbackConflictUnsafe' | 'rollbackConflictSymlink' | 'rollbackConflictRegular' | 'rollbackConflictBinary' | 'rollbackConflictLarge' | 'rollbackConflictBefore' | 'rollbackConflictHash' | 'contextInspect' | 'contextInspectDescription' | 'contextInspectDetailTitle' | 'contextInspectNote' | 'contextInspectEmpty' | 'contextInspectApproxTotal' | 'contextInspectApproxBadge' | 'contextInspectOpenCategory' | 'contextInspectCategories' | 'contextInspectItemDetail' | 'contextInspectLoading' | 'contextInspectLoadFailed' | 'contextInspectNoSession' | 'contextInspectChartOverview' | 'contextInspectChartCategory' | 'contextInspectChartMessages' | 'contextInspectChartOther' | 'contextInspectCategory_system' | 'contextInspectCategory_tools' | 'contextInspectCategory_messages' | 'contextInspectKind_user' | 'contextInspectKind_inject' | 'contextInspectKind_assistant' | 'contextInspectKind_tool' | 'contextInspectKind_developer' | 'contextInspectHeadroom' | 'contextInspectOccupied' | 'contextInspectEvents' | 'contextInspectEvent_compact' | 'contextInspectEvent_prune' | 'contextInspectEvent_replace' | 'contextInspectReplaced' | 'contextInspectCompact' | 'contextInspectCompactHint' | 'contextInspectCompacting' | 'contextInspectCompactDone' | 'contextInspectCompactNoop' | 'contextInspectCompactUnavailable' | 'contextInspectCompactBusy' | 'contextInspectCompactFailed' | 'contextInspectCompactSummary' | 'contextInspectCompactChanged';
4
4
  }
5
5
  }
6
6
  export declare const agentLocales: {
@@ -31,15 +31,154 @@ export declare const agentLocales: {
31
31
  readonly modelCatalogError: "模型不可用";
32
32
  readonly modelLabel: "模型";
33
33
  readonly modelFollowSession: "跟随会话";
34
+ readonly modelAuto: "Auto";
35
+ readonly modelUnconfigured: "未设置";
34
36
  readonly reasoningDefault: "默认";
37
+ readonly settingsBack: "返回";
38
+ readonly settingsConfigure: "配置";
39
+ readonly usageTitle: "模型账单";
40
+ readonly usageNote: "提供方回报的 token,不是金额。";
41
+ readonly usageMeterOpen: "查看账单";
42
+ readonly usageBuckets: "Token 分项";
43
+ readonly usageBucketInput: "输入";
44
+ readonly usageBucketOutput: "输出";
45
+ readonly usageBucketCacheRead: "缓存读";
46
+ readonly usageBucketCacheWrite: "缓存写";
47
+ readonly usageReasoningNote: "其中推理 {tokens}";
48
+ readonly usageChartSources: "按功能";
49
+ readonly usageChartModels: "按模型";
50
+ readonly usageChartTotal: "token";
51
+ readonly usageChartEmpty: "这个范围没有可绘制的 token。";
52
+ readonly usageHeatmap: "用量热力";
53
+ readonly usageHeatmapHint: "格子越深,当天用得越多。悬停看具体数字。";
54
+ readonly usageHeatmapHourHint: "格子越深,该小时用得越多。悬停看具体数字。";
55
+ readonly usageShareBar: "功能占比";
56
+ readonly usageTotalLabel: "合计 token";
57
+ readonly usageEstimateLabel: "约 ¥{amount}";
58
+ readonly usageEstimateHint: "按官方价估算,不是平台发票";
59
+ readonly usageUnpriced: "{count} 次调用无价目,未计入金额";
60
+ readonly usageBalanceLabel: "余额 ¥{amount}";
61
+ readonly usageBalanceDetail: "赠送 {granted} · 充值 {toppedUp}";
62
+ readonly usageBalanceStale: "余额来自最近一次成功查询";
63
+ readonly usageBalanceNoKey: "未读到 DeepSeek API Key,无法查余额(使用 Desktop 模型页凭据,插件不携带 Key)";
64
+ readonly usageBalanceUnavailable: "余额暂时查不到,可点刷新重试";
65
+ readonly providerBalanceLabel: "余额 ¥{amount}";
66
+ readonly providerBalanceDetail: "赠送 {granted} · 充值 {toppedUp}";
67
+ readonly providerBalanceStale: "来自最近一次成功查询";
68
+ readonly providerBalanceLoading: "正在读取余额…";
69
+ readonly providerBalanceNoKey: "未配置 API Key,无法查余额";
70
+ readonly providerBalanceSignedOut: "未登录,无法查余额";
71
+ readonly providerBalanceUnavailable: "余额暂时查不到,点击重试";
72
+ readonly providerBalanceRefreshHint: "点击刷新余额";
73
+ readonly usageRecordModel: "模型 {model}";
74
+ readonly usageRecordProvider: "线路 {provider}";
75
+ readonly usageRecordEffort: "推理 {effort}";
76
+ readonly usageRecordInput: "输入 {tokens}";
77
+ readonly usageRecordOutput: "输出 {tokens}";
78
+ readonly usageRecordCacheRead: "缓存读 {tokens}";
79
+ readonly usageRecordCacheWrite: "缓存写 {tokens}";
80
+ readonly usageModelRouteEffort: "{provider} / {model} · {effort}";
81
+ readonly usageBack: "返回";
82
+ readonly usageRecordsOpen: "全部";
83
+ readonly usageRecordsHint: "最近会话与插件调用,按时间倒序。数字是该次调用的 token。";
84
+ readonly usageRecordsEmpty: "还没有调用记录。";
85
+ readonly usageLoading: "正在读取账单…";
86
+ readonly usageLoadFailed: "账单读取失败,请重试。";
87
+ readonly usageRetry: "重试";
88
+ readonly usageRefresh: "刷新";
89
+ readonly usageUnavailable: "账单暂时不可用,请稍后再试。";
90
+ readonly usageEmpty: "还没有已回报的调用。";
91
+ readonly usageRangeLabel: "时间范围";
92
+ readonly usageRange_today: "今天";
93
+ readonly usageRange_7d: "7 天";
94
+ readonly usageRange_30d: "30 天";
95
+ readonly usageRange_all: "全部";
96
+ readonly usageRecent: "调用记录";
97
+ readonly usageRetention: "本地保存,不含提示词。插件功能最多保留 90 天 / 2000 次。";
98
+ readonly usageCalls: "{count} 次";
99
+ readonly usageModelRoute: "{provider} / {model}";
100
+ readonly usageSource_optimize: "提示词优化";
101
+ readonly usageSource_predict: "下一条预测";
102
+ readonly usageSource_compact: "上下文压缩";
103
+ readonly usageSource_autoClassifier: "Auto 分类";
104
+ readonly usageSource_session: "桌面会话";
105
+ readonly usageSource_compaction: "官方压缩";
106
+ readonly usageSource_sessionTitle: "会话标题";
107
+ readonly usageSource_other: "其他调用";
108
+ readonly updateTitle: "插件更新";
109
+ readonly updateCurrent: "当前版本 v{version}";
110
+ readonly updateCheck: "检查更新";
111
+ readonly updateChecking: "正在检查…";
112
+ readonly updateLatest: "已是最新版本";
113
+ readonly updateAvailable: "发现 v{version}";
114
+ readonly updateApply: "更新到 v{version}";
115
+ readonly updateApplying: "正在更新…";
116
+ readonly updateRestart: "已更新,请完全退出并重启 Desktop";
117
+ readonly updateLinkBlocked: "当前为开发目录链接,请在本地执行 pnpm build,勿用 npm 覆盖。";
118
+ readonly updateManual: "无法自动更新,请退出 Desktop 后运行:";
119
+ readonly updateFailed: "更新失败。请退出 Desktop 后运行:";
120
+ readonly updateCheckFailed: "检查更新失败,请稍后重试。";
121
+ readonly updateCopy: "复制命令";
122
+ readonly updateCopied: "已复制";
123
+ readonly autoRouting: "Auto 路由";
124
+ readonly autoRoutingDescription: "会话与辅助功能可选 Auto;在此配置档位映射,以及可选的小模型分类";
125
+ readonly autoClassifier: "用小模型协助 Auto 分类";
126
+ readonly autoClassifierDescription: "开启后,选中 Auto 时会额外调用分类模型判定 instant / thinking / pro;关闭则仅用启发式定档";
127
+ readonly autoMappingTitle: "Auto 档位模型映射";
128
+ readonly autoTier_instant: "即时";
129
+ readonly autoTier_thinking: "思考";
130
+ readonly autoTier_pro: "专业";
131
+ readonly autoTier_classifier: "分类器";
35
132
  readonly privacyTitle: "数据与隐私";
36
- readonly privacy: "优化和预测会把所选内容或近期对话发送给所选模型提供商(默认跟随当前会话模型);历史不请求模型;不采集提示词内容或采纳率遥测。";
133
+ readonly privacy: "优化、预测与上下文压缩会把相关内容发送给所选模型提供商(默认跟随当前会话模型);历史不请求模型;不采集提示词内容或采纳率遥测。模型账单只记录功能、模型和 token,留在本机,不上传。";
37
134
  readonly coexistence: "检测到官方或第三方同类能力时仅提示,不会自动停用。";
38
135
  readonly settingsError: "设置未保存,请重试。";
39
136
  readonly overlapHistory: "检测到另一个历史提示词功能。智能体增强的历史仍保持开启。";
40
137
  readonly overlapOptimize: "检测到另一个提示词优化功能。智能体增强的优化仍保持开启。";
41
138
  readonly overlapPredict: "检测到另一个回复建议功能。智能体增强的预测仍保持开启。";
42
139
  readonly dismissHint: "关闭共存提示";
140
+ readonly contextInspect: "上下文明细";
141
+ readonly contextInspectDescription: "点击官方占用环打开右侧明细;可一键官方压缩,并单独选择压缩摘要模型";
142
+ readonly contextInspectDetailTitle: "上下文明细";
143
+ readonly contextInspectNote: "数字为启发式估算(约),按占用排序;用于理解当前窗口构成,非账单精确值。";
144
+ readonly contextInspectEmpty: "这一类当前没有可列出的条目。";
145
+ readonly contextInspectApproxTotal: "约 {tokens}";
146
+ readonly contextInspectApproxBadge: "约";
147
+ readonly contextInspectOpenCategory: "在右侧栏查看{category}明细";
148
+ readonly contextInspectCategories: "上下文分类";
149
+ readonly contextInspectItemDetail: "条目详情";
150
+ readonly contextInspectLoading: "正在加载上下文明细…";
151
+ readonly contextInspectLoadFailed: "上下文明细加载失败,请重试。";
152
+ readonly contextInspectNoSession: "当前没有可检查的会话。";
153
+ readonly contextInspectChartOverview: "窗口构成(约)";
154
+ readonly contextInspectChartCategory: "本类构成(约)";
155
+ readonly contextInspectChartMessages: "消息构成(约)";
156
+ readonly contextInspectChartOther: "其他";
157
+ readonly contextInspectCategory_system: "系统提示词";
158
+ readonly contextInspectCategory_tools: "工具";
159
+ readonly contextInspectCategory_messages: "消息";
160
+ readonly contextInspectKind_user: "用户";
161
+ readonly contextInspectKind_inject: "注入";
162
+ readonly contextInspectKind_assistant: "助手";
163
+ readonly contextInspectKind_tool: "工具结果";
164
+ readonly contextInspectKind_developer: "开发者";
165
+ readonly contextInspectHeadroom: "窗口余量";
166
+ readonly contextInspectOccupied: "当前占用";
167
+ readonly contextInspectEvents: "压缩与裁剪";
168
+ readonly contextInspectEvent_compact: "压缩";
169
+ readonly contextInspectEvent_prune: "裁剪";
170
+ readonly contextInspectEvent_replace: "替换";
171
+ readonly contextInspectReplaced: "经压缩";
172
+ readonly contextInspectCompact: "压缩上下文";
173
+ readonly contextInspectCompactHint: "调用官方 /compact,摘要较早历史并释放窗口";
174
+ readonly contextInspectCompacting: "正在压缩…";
175
+ readonly contextInspectCompactDone: "已压缩 {count} 项(约 {tokens})";
176
+ readonly contextInspectCompactNoop: "当前没有可安全压缩的历史。";
177
+ readonly contextInspectCompactUnavailable: "当前环境未提供官方压缩能力。";
178
+ readonly contextInspectCompactBusy: "智能体忙碌中,请结束后再压缩。";
179
+ readonly contextInspectCompactFailed: "压缩未完成,会话可能未变化,请稍后重试。";
180
+ readonly contextInspectCompactSummary: "未能生成可用摘要,会话未变化;可换模型后重试。";
181
+ readonly contextInspectCompactChanged: "压缩过程中历史已变化,会话未写入;请稍后重试。";
43
182
  readonly rollback: "对话与文件恢复";
44
183
  readonly rollbackDescription: "在合规用户消息旁预览并恢复对话与已跟踪文件";
45
184
  readonly rollbackBoundary: "不恢复进程、终端、后台任务、数据库、网络、部署、第三方服务或未跟踪文件;关闭后保留已有日志和检查点。";
@@ -124,15 +263,154 @@ export declare const agentLocales: {
124
263
  readonly modelCatalogError: "Unavailable";
125
264
  readonly modelLabel: "Model";
126
265
  readonly modelFollowSession: "Follow session";
266
+ readonly modelAuto: "Auto";
267
+ readonly modelUnconfigured: "Not set";
127
268
  readonly reasoningDefault: "Default";
269
+ readonly settingsBack: "Back";
270
+ readonly settingsConfigure: "Configure";
271
+ readonly usageTitle: "Model bill";
272
+ readonly usageNote: "Provider-reported tokens, not currency.";
273
+ readonly usageMeterOpen: "View bill";
274
+ readonly usageBuckets: "Token buckets";
275
+ readonly usageBucketInput: "Input";
276
+ readonly usageBucketOutput: "Output";
277
+ readonly usageBucketCacheRead: "Cache read";
278
+ readonly usageBucketCacheWrite: "Cache write";
279
+ readonly usageReasoningNote: "including {tokens} reasoning";
280
+ readonly usageChartSources: "By feature";
281
+ readonly usageChartModels: "By model";
282
+ readonly usageChartTotal: "tokens";
283
+ readonly usageChartEmpty: "No tokens to chart in this range.";
284
+ readonly usageHeatmap: "Usage heat";
285
+ readonly usageHeatmapHint: "Darker cells used more that day. Hover for exact counts.";
286
+ readonly usageHeatmapHourHint: "Darker cells used more that hour. Hover for exact counts.";
287
+ readonly usageShareBar: "Feature share";
288
+ readonly usageTotalLabel: "Total tokens";
289
+ readonly usageEstimateLabel: "≈ ¥{amount}";
290
+ readonly usageEstimateHint: "Estimated from official rates, not a provider invoice";
291
+ readonly usageUnpriced: "{count} calls have no price row and are excluded from cost";
292
+ readonly usageBalanceLabel: "Balance ¥{amount}";
293
+ readonly usageBalanceDetail: "Granted {granted} · Topped up {toppedUp}";
294
+ readonly usageBalanceStale: "Balance from the last successful check";
295
+ readonly usageBalanceNoKey: "No DeepSeek API key found, so balance is unavailable (uses Desktop model credentials; this plugin ships no keys)";
296
+ readonly usageBalanceUnavailable: "Balance is temporarily unavailable. Try Refresh.";
297
+ readonly providerBalanceLabel: "Balance ¥{amount}";
298
+ readonly providerBalanceDetail: "Granted {granted} · Topped up {toppedUp}";
299
+ readonly providerBalanceStale: "From the last successful check";
300
+ readonly providerBalanceLoading: "Reading balance…";
301
+ readonly providerBalanceNoKey: "No API key configured, so balance is unavailable";
302
+ readonly providerBalanceSignedOut: "Not signed in, so balance is unavailable";
303
+ readonly providerBalanceUnavailable: "Balance is temporarily unavailable. Click to retry";
304
+ readonly providerBalanceRefreshHint: "Click to refresh balance";
305
+ readonly usageRecordModel: "Model {model}";
306
+ readonly usageRecordProvider: "Route {provider}";
307
+ readonly usageRecordEffort: "Effort {effort}";
308
+ readonly usageRecordInput: "In {tokens}";
309
+ readonly usageRecordOutput: "Out {tokens}";
310
+ readonly usageRecordCacheRead: "Cache read {tokens}";
311
+ readonly usageRecordCacheWrite: "Cache write {tokens}";
312
+ readonly usageModelRouteEffort: "{provider} / {model} · {effort}";
313
+ readonly usageBack: "Back";
314
+ readonly usageRecordsOpen: "All";
315
+ readonly usageRecordsHint: "Latest session and plugin calls, newest first. Numbers are tokens for that call.";
316
+ readonly usageRecordsEmpty: "No calls yet.";
317
+ readonly usageLoading: "Reading the bill…";
318
+ readonly usageLoadFailed: "Could not read the bill. Try again.";
319
+ readonly usageRetry: "Try again";
320
+ readonly usageRefresh: "Refresh";
321
+ readonly usageUnavailable: "The bill is not available yet. Try again later.";
322
+ readonly usageEmpty: "No reported calls yet.";
323
+ readonly usageRangeLabel: "Time range";
324
+ readonly usageRange_today: "Today";
325
+ readonly usageRange_7d: "7 days";
326
+ readonly usageRange_30d: "30 days";
327
+ readonly usageRange_all: "All";
328
+ readonly usageRecent: "Calls";
329
+ readonly usageRetention: "Stored locally, no prompt text. Plugin features keep up to 90 days / 2000 calls.";
330
+ readonly usageCalls: "{count} calls";
331
+ readonly usageModelRoute: "{provider} / {model}";
332
+ readonly usageSource_optimize: "Prompt optimize";
333
+ readonly usageSource_predict: "Next-prompt prediction";
334
+ readonly usageSource_compact: "Context compact";
335
+ readonly usageSource_autoClassifier: "Auto classifier";
336
+ readonly usageSource_session: "Desktop session";
337
+ readonly usageSource_compaction: "Official compact";
338
+ readonly usageSource_sessionTitle: "Session title";
339
+ readonly usageSource_other: "Other calls";
340
+ readonly updateTitle: "Plugin update";
341
+ readonly updateCurrent: "Current version v{version}";
342
+ readonly updateCheck: "Check for updates";
343
+ readonly updateChecking: "Checking…";
344
+ readonly updateLatest: "You're up to date";
345
+ readonly updateAvailable: "Update available: v{version}";
346
+ readonly updateApply: "Update to v{version}";
347
+ readonly updateApplying: "Updating…";
348
+ readonly updateRestart: "Updated. Fully quit and restart Desktop.";
349
+ readonly updateLinkBlocked: "This install is a linked dev folder. Run pnpm build locally; do not overwrite via npm.";
350
+ readonly updateManual: "Cannot update automatically. Quit Desktop, then run:";
351
+ readonly updateFailed: "Update failed. Quit Desktop, then run:";
352
+ readonly updateCheckFailed: "Could not check for updates. Try again later.";
353
+ readonly updateCopy: "Copy command";
354
+ readonly updateCopied: "Copied";
355
+ readonly autoRouting: "Auto routing";
356
+ readonly autoRoutingDescription: "Sessions and helpers can pick Auto; configure tier mappings and an optional small-model classifier here";
357
+ readonly autoClassifier: "Use a small model to help Auto classify";
358
+ readonly autoClassifierDescription: "When on, Auto may call a classifier model to pick instant / thinking / pro; when off, Auto uses heuristics only";
359
+ readonly autoMappingTitle: "Auto tier model map";
360
+ readonly autoTier_instant: "Instant";
361
+ readonly autoTier_thinking: "Thinking";
362
+ readonly autoTier_pro: "Pro";
363
+ readonly autoTier_classifier: "Classifier";
128
364
  readonly privacyTitle: "Data and privacy";
129
- readonly privacy: "Optimization and prediction send selected text or recent conversation to the selected model provider (defaults to the current session model). History never requests a model. No prompt content or acceptance-rate telemetry is collected.";
365
+ readonly privacy: "Optimize, predict, and context compact send related content to the selected model provider (defaults to the current session model). History never requests a model. No prompt content or acceptance-rate telemetry is collected. The model bill records only the feature, model, and token counts on this computer, and is not uploaded.";
130
366
  readonly coexistence: "Similar official or third-party features are only reported; they are never disabled automatically.";
131
367
  readonly settingsError: "Setting was not saved. Try again.";
132
368
  readonly overlapHistory: "Another prompt-history feature is enabled. Agent Enhance history remains enabled.";
133
369
  readonly overlapOptimize: "Another prompt-optimization feature is enabled. Agent Enhance optimization remains enabled.";
134
370
  readonly overlapPredict: "Another reply-suggestion feature is enabled. Agent Enhance prediction remains enabled.";
135
371
  readonly dismissHint: "Dismiss coexistence notice";
372
+ readonly contextInspect: "Context details";
373
+ readonly contextInspectDescription: "Open right-sidebar details from the official meter; one-click official compact with an optional summary model";
374
+ readonly contextInspectDetailTitle: "Context details";
375
+ readonly contextInspectNote: "Counts are approximate heuristics sorted by size for understanding the current window, not billing-grade totals.";
376
+ readonly contextInspectEmpty: "Nothing to list in this category right now.";
377
+ readonly contextInspectApproxTotal: "~{tokens}";
378
+ readonly contextInspectApproxBadge: "~";
379
+ readonly contextInspectOpenCategory: "Open {category} details in the right sidebar";
380
+ readonly contextInspectCategories: "Context categories";
381
+ readonly contextInspectItemDetail: "Item detail";
382
+ readonly contextInspectLoading: "Loading context details…";
383
+ readonly contextInspectLoadFailed: "Failed to load context details. Try again.";
384
+ readonly contextInspectNoSession: "No session is available to inspect.";
385
+ readonly contextInspectChartOverview: "Window composition (~)";
386
+ readonly contextInspectChartCategory: "Category composition (~)";
387
+ readonly contextInspectChartMessages: "Message composition (~)";
388
+ readonly contextInspectChartOther: "Other";
389
+ readonly contextInspectCategory_system: "System";
390
+ readonly contextInspectCategory_tools: "Tools";
391
+ readonly contextInspectCategory_messages: "Messages";
392
+ readonly contextInspectKind_user: "User";
393
+ readonly contextInspectKind_inject: "Injected";
394
+ readonly contextInspectKind_assistant: "Assistant";
395
+ readonly contextInspectKind_tool: "Tool result";
396
+ readonly contextInspectKind_developer: "Developer";
397
+ readonly contextInspectHeadroom: "Headroom";
398
+ readonly contextInspectOccupied: "Occupied";
399
+ readonly contextInspectEvents: "Compaction & prune";
400
+ readonly contextInspectEvent_compact: "Compact";
401
+ readonly contextInspectEvent_prune: "Prune";
402
+ readonly contextInspectEvent_replace: "Replace";
403
+ readonly contextInspectReplaced: "Compacted";
404
+ readonly contextInspectCompact: "Compact context";
405
+ readonly contextInspectCompactHint: "Runs official /compact to summarize older history and free window space";
406
+ readonly contextInspectCompacting: "Compacting…";
407
+ readonly contextInspectCompactDone: "Compacted {count} items (~{tokens})";
408
+ readonly contextInspectCompactNoop: "No safe history range to compact yet.";
409
+ readonly contextInspectCompactUnavailable: "Official compaction is not available here.";
410
+ readonly contextInspectCompactBusy: "The agent is busy. Try again when it is idle.";
411
+ readonly contextInspectCompactFailed: "Compaction did not finish. The conversation may be unchanged; try again.";
412
+ readonly contextInspectCompactSummary: "Could not produce a useful summary; the conversation is unchanged. Try another model.";
413
+ readonly contextInspectCompactChanged: "History changed during compaction; nothing was written. Try again.";
136
414
  readonly rollback: "Conversation and file restore";
137
415
  readonly rollbackDescription: "Preview and restore conversation and tracked files from eligible user messages";
138
416
  readonly rollbackBoundary: "Processes, terminals, background jobs, databases, network activity, deployments, third-party state, and untracked files are not restored. Existing logs and checkpoints remain after disable.";
@@ -1 +1 @@
1
- {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../src/client/locales.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,kCAAkC,CAAC;IAChD,UAAU,kBAAkB;QAC1B,gBAAgB,EAAE,cAAc,GAAG,eAAe,GAAG,gBAAgB,GAAG,cAAc,GACpF,UAAU,GAAG,iBAAiB,GAAG,cAAc,GAAG,eAAe,GAAG,eAAe,GAAG,uBAAuB,GAC7G,0BAA0B,GAAG,uBAAuB,GAAG,uBAAuB,GAAG,wBAAwB,GAAG,wBAAwB,GACpI,eAAe,GAAG,kBAAkB,GAAG,SAAS,GAAG,oBAAoB,GAAG,qBAAqB,GAC/F,SAAS,GAAG,oBAAoB,GAAG,cAAc,GAAG,SAAS,GAAG,aAAa,GAAG,eAAe,GAC/F,qBAAqB,GAAG,mBAAmB,GAC3C,YAAY,G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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAidf,CAAA"}
@@ -1,4 +1,8 @@
1
1
  import type { TypertCodec } from '@deepseek-ai/dsh-typert-protocol';
2
+ import type { ContextCompactRequest, ContextCompactResult } from '../host/context-compact.ts';
3
+ import type { ContextInspectRequest, ContextInspectResult } from '../host/context-inspect.ts';
4
+ import type { ApplyUpdateResult, UpdateCheckResult } from '../host/update/types.ts';
5
+ import type { ProviderBalances, ProviderBalancesRequest, UsageRange, UsageSummary } from '../host/usage/types.ts';
2
6
  import type { RpcPayload } from '../host/rpc.ts';
3
7
  import type { AuxiliaryResult } from '../host/types.ts';
4
8
  export declare const clientRemoteInfo: {
@@ -31,7 +35,12 @@ export declare const clientRemoteInfo: {
31
35
  invocation: {
32
36
  kind: "direct";
33
37
  };
34
- parameters: never[];
38
+ parameters: {
39
+ name: string;
40
+ wire: string;
41
+ source: "json";
42
+ codec: TypertCodec;
43
+ }[];
35
44
  result: TypertCodec;
36
45
  })[];
37
46
  };
@@ -40,4 +49,22 @@ export declare const agentEnhancerCall: {
40
49
  readonly payload: RpcPayload;
41
50
  }, signal?: AbortSignal): Promise<AuxiliaryResult | null>;
42
51
  };
52
+ export declare const agentEnhancerInspectContext: {
53
+ invoke(remote: unknown, request: ContextInspectRequest, signal?: AbortSignal): Promise<ContextInspectResult>;
54
+ };
55
+ export declare const agentEnhancerCompactContext: {
56
+ invoke(remote: unknown, request: ContextCompactRequest, signal?: AbortSignal): Promise<ContextCompactResult>;
57
+ };
58
+ export declare const agentEnhancerCheckUpdate: {
59
+ invoke(remote: unknown): Promise<UpdateCheckResult>;
60
+ };
61
+ export declare const agentEnhancerUsageSummary: {
62
+ invoke(remote: unknown, range: UsageRange): Promise<UsageSummary>;
63
+ };
64
+ export declare const agentEnhancerProviderBalances: {
65
+ invoke(remote: unknown, request?: ProviderBalancesRequest): Promise<ProviderBalances>;
66
+ };
67
+ export declare const agentEnhancerApplyUpdate: {
68
+ invoke(remote: unknown): Promise<ApplyUpdateResult>;
69
+ };
43
70
  //# sourceMappingURL=remote.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote.d.ts","sourceRoot":"","sources":["../../src/client/remote.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAA4B,MAAM,kCAAkC,CAAA;AAE7F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAevD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BO,CAAA;AAEpC,eAAO,MAAM,iBAAiB;mBACP,OAAO,SAAS;QAAE,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAA;KAAE,WAAW,WAAW;CAgB5F,CAAA"}
1
+ {"version":3,"file":"remote.d.ts","sourceRoot":"","sources":["../../src/client/remote.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAA4B,MAAM,kCAAkC,CAAA;AAS7F,OAAO,KAAK,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AAC7F,OAAO,KAAK,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AAC7F,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AACnF,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EACvB,UAAU,EACV,YAAY,EACb,MAAM,wBAAwB,CAAA;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAk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