dsh-llm-verifier 0.1.13 → 0.1.14
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/LICENSE +22 -22
- package/README.md +301 -301
- package/cordis.patch.yml +4 -4
- package/lib/client.js +176 -14
- package/lib/index.js +418 -43
- package/lib/types/client-i18n.d.ts +27 -0
- package/lib/types/client-i18n.js +18 -0
- package/lib/types/client.d.ts +15 -2
- package/lib/types/client.js +134 -9
- package/lib/types/config.d.ts +4 -0
- package/lib/types/config.js +5 -3
- package/lib/types/index.d.ts +2 -0
- package/lib/types/index.js +185 -4
- package/lib/types/plan-gate.d.ts +14 -0
- package/lib/types/plan-gate.js +70 -0
- package/lib/types/router.d.ts +10 -1
- package/lib/types/router.js +37 -7
- package/lib/types/session.js +25 -10
- package/lib/types/team-gate.d.ts +11 -0
- package/lib/types/team-gate.js +51 -0
- package/package.json +112 -112
- package/src/auto.test.ts +86 -86
- package/src/auto.ts +133 -133
- package/src/cache.ts +115 -115
- package/src/caller.test.ts +34 -34
- package/src/caller.ts +151 -151
- package/src/client-i18n.ts +18 -0
- package/src/client.tsx +385 -213
- package/src/config.ts +189 -183
- package/src/core.test.ts +71 -71
- package/src/core.ts +205 -205
- package/src/engine.test.ts +136 -136
- package/src/engine.ts +140 -140
- package/src/images.ts +33 -33
- package/src/index.ts +416 -247
- package/src/parity.test.ts +85 -85
- package/src/plan-gate.test.ts +56 -0
- package/src/plan-gate.ts +77 -0
- package/src/router.test.ts +107 -89
- package/src/router.ts +349 -309
- package/src/session.test.ts +53 -36
- package/src/session.ts +117 -103
- package/src/statistics.test.ts +80 -80
- package/src/statistics.ts +328 -328
- package/src/team-gate.test.ts +56 -0
- package/src/team-gate.ts +63 -0
- package/src/top-logprobs.test.ts +84 -84
- package/src/top-logprobs.ts +153 -153
- package/src/topic-storage.test.ts +31 -31
- package/src/topic-storage.ts +42 -42
package/src/client-i18n.ts
CHANGED
|
@@ -151,6 +151,15 @@ export const zh = {
|
|
|
151
151
|
|
|
152
152
|
// Slot label
|
|
153
153
|
'slot.statistics': '工具统计',
|
|
154
|
+
'slot.globalDashboard': 'Verifier 看板',
|
|
155
|
+
'global.panelTitle': 'LLM Verifier 全局监控中心',
|
|
156
|
+
'global.panelIntro': '跨会话全局统计、裁判模型效能大盘与任务验收总览。',
|
|
157
|
+
'guide.verifier.title': 'Verifier 统计',
|
|
158
|
+
'guide.verifier.desc': '大模型复核工具调用、耗时与成本统计',
|
|
159
|
+
'field.autoVerifyTeamTasks.title': '自动验收 Team 任务',
|
|
160
|
+
'field.autoVerifyTeamTasks.help': '当 Agent Teams 中的任务状态变更或进入完成状态时,自动路由进度追踪与任务验收。',
|
|
161
|
+
'field.autoVerifyPlanMode.title': '计划模式自动预审',
|
|
162
|
+
'field.autoVerifyPlanMode.help': '在 Agent 调用 exit_plan_mode 提交计划交付人类评审前,自动对计划完整度与风险进行独立预审。',
|
|
154
163
|
}
|
|
155
164
|
|
|
156
165
|
export type I18nDict = typeof zh
|
|
@@ -306,6 +315,15 @@ export const en: I18nDict = {
|
|
|
306
315
|
|
|
307
316
|
// Slot label
|
|
308
317
|
'slot.statistics': 'Statistics',
|
|
318
|
+
'slot.globalDashboard': 'Verifier Dashboard',
|
|
319
|
+
'global.panelTitle': 'LLM Verifier Global Dashboard',
|
|
320
|
+
'global.panelIntro': 'Cross-session statistics, judge model metrics, and task acceptance overview.',
|
|
321
|
+
'guide.verifier.title': 'Verifier Stats',
|
|
322
|
+
'guide.verifier.desc': 'LLM verifier tool calls, duration and cost statistics',
|
|
323
|
+
'field.autoVerifyTeamTasks.title': 'Verify Team Tasks',
|
|
324
|
+
'field.autoVerifyTeamTasks.help': 'Automatically route progress and verify tasks when Agent Teams task status changes or completes.',
|
|
325
|
+
'field.autoVerifyPlanMode.title': 'Plan Mode Pre-verification',
|
|
326
|
+
'field.autoVerifyPlanMode.help': 'Automatically pre-verify plan feasibility and risks before exit_plan_mode presents it for user review.',
|
|
309
327
|
}
|
|
310
328
|
|
|
311
329
|
export const dictionaries = { zh, en }
|