dsh-task-time-cost 0.0.0-stage → 0.2.8-beta.2
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 +29 -0
- package/COMPATIBILITY.md +26 -0
- package/CONTRIBUTING.md +11 -0
- package/LICENSE +21 -0
- package/README.en.md +60 -0
- package/README.md +59 -2
- package/THIRD_PARTY_NOTICES.md +113 -0
- package/cordis.patch.yml +4 -0
- package/data/baselines.json +12 -0
- package/data/defaults.json +21 -0
- package/data/models-dev-prices.json +1 -0
- package/data/prices.json +7 -0
- package/data/sources.json +15 -0
- package/docs/public/DETAIL.md +1 -0
- package/docs/public/DETAIL.zh.md +1 -0
- package/docs/public/acceptance.md +26 -0
- package/docs/public/guide.en.md +33 -0
- package/docs/public/guide.zh.md +35 -0
- package/docs/public/preview.svg +1 -0
- package/docs/public/privacy.md +13 -0
- package/docs/public/publishing.md +9 -0
- package/icon.svg +1 -0
- package/lib/client.js +175 -0
- package/lib/index.js +22948 -0
- package/lib/index.js.map +7 -0
- package/locale/en.json +7 -0
- package/locale/zh.json +7 -0
- package/package.json +122 -4
- package/scripts/import-public-prices.mjs +35 -0
- package/src/client/INTEGRATION.md +61 -0
- package/src/client/config.ts +24 -0
- package/src/client/details.tsx +126 -0
- package/src/client/format.ts +218 -0
- package/src/client/index.tsx +225 -0
- package/src/client/locale.ts +353 -0
- package/src/client/management.tsx +246 -0
- package/src/client/placement.ts +26 -0
- package/src/client/remote.ts +59 -0
- package/src/client/store.ts +210 -0
- package/src/client/styles.ts +94 -0
- package/src/client/use-panel-placement.ts +54 -0
- package/src/client-entry.ts +12 -0
- package/src/host/config-entry.ts +47 -0
- package/src/host/config.ts +85 -0
- package/src/host/engine.ts +580 -0
- package/src/host/facts.ts +170 -0
- package/src/host/forecast-cost.ts +16 -0
- package/src/host/index.ts +269 -0
- package/src/host/record-schema.ts +175 -0
- package/src/host/repository.ts +167 -0
- package/src/host/runtime.ts +99 -0
- package/src/shared/ai-plan.ts +45 -0
- package/src/shared/baseline-selection.ts +43 -0
- package/src/shared/baselines.ts +135 -0
- package/src/shared/call-size.ts +32 -0
- package/src/shared/config.ts +65 -0
- package/src/shared/forecast.ts +91 -0
- package/src/shared/index.ts +12 -0
- package/src/shared/ledger.ts +38 -0
- package/src/shared/money.ts +46 -0
- package/src/shared/performance.ts +216 -0
- package/src/shared/pricing.ts +293 -0
- package/src/shared/public-prices.ts +57 -0
- package/src/shared/remote-contract.ts +72 -0
- package/src/shared/retained-time.ts +14 -0
- package/src/shared/time.ts +207 -0
- package/src/shared/types.ts +66 -0
- package/src/shared/usage.ts +232 -0
- package/src/shared/wire.ts +134 -0
- package/src/shared/workload.ts +265 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Changelog / 发行说明
|
|
2
|
+
|
|
3
|
+
## 0.2.8-beta.2 — npm preview distribution
|
|
4
|
+
|
|
5
|
+
- Enables public npm publication with the beta tag and adds direct DSH installation instructions.
|
|
6
|
+
- Keeps the frozen GitHub beta.1 intact; runtime estimation, prices and algorithm p0-0.2.4 are unchanged.
|
|
7
|
+
|
|
8
|
+
## 0.2.8-beta.1 — public preview
|
|
9
|
+
|
|
10
|
+
- Adds public repository/support metadata, pinned prebuilt installation instructions, bilingual single-image details and an original transparent icon.
|
|
11
|
+
- Adds Windows CI and a sanitized bug-report template; retains known compatibility/acceptance limits.
|
|
12
|
+
- Runtime estimation, pricing parameters and algorithm p0-0.2.4 are unchanged from0.2.7.
|
|
13
|
+
|
|
14
|
+
## 0.2.7 — prepublication candidate
|
|
15
|
+
|
|
16
|
+
- Separate public user material from internal development notes; narrow the archive whitelist and check packed documents for machine-specific narratives.
|
|
17
|
+
- Replace stale cross-version acceptance claims with explicitly scoped current reports.
|
|
18
|
+
- Focus invalid configuration JSON or numeric controls, preserve their drafts, and give management fields stable names with autocomplete disabled.
|
|
19
|
+
- Clarify engineering baseline provenance versus the separately bundled public price catalog.
|
|
20
|
+
- Preserve pricing/model parameters, original usage, historical valuations and algorithm p0-0.2.4. Current UI and data checks remain independently recorded; P0 is incomplete and nothing is publicly published.
|
|
21
|
+
|
|
22
|
+
## Earlier local candidates
|
|
23
|
+
|
|
24
|
+
- 0.2.6 fixed cross-Agent-lifecycle calibration deduplication using committed call identities, with real JSON reopen/raw-record preservation regression and197 passing tests.
|
|
25
|
+
- 0.2.5 bounded expanded management panels using owned geometry and internal scrolling.
|
|
26
|
+
- 0.2.4 fixed initial keyboard focus, export-preparation feedback and optional session aggregates stripped by the remote schema.
|
|
27
|
+
- 0.2.3 added native-style composer placement, durable last-valid references and the public list-price catalog.
|
|
28
|
+
- 0.2.2 aligned the rc.2 SDK and added bounded plans from the executing AI.
|
|
29
|
+
- 0.1.0 was withdrawn after a real Client boot failure and must not be installed. Later candidates fixed independent namespace access and configuration ownership; earlier evidence keeps its original scope.
|
package/COMPATIBILITY.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Compatibility / 兼容范围
|
|
2
|
+
|
|
3
|
+
| Area | Target or boundary |
|
|
4
|
+
| --- | --- |
|
|
5
|
+
| Candidate | 0.2.8-beta.2 public preview; original P0 incomplete |
|
|
6
|
+
| Host | Windows DSH Desktop 0.2.2-rc.2 |
|
|
7
|
+
| Runtime | Node 24+, Cordis 4.1.0, Typert 0.2.2-rc.2, aligned Zod 4.6.6 |
|
|
8
|
+
| Client | DSH module factory, one external Host React, public Slot contracts and theme tokens |
|
|
9
|
+
| Algorithm | p0-0.2.4; current-turn records plus explicit optional session aggregates |
|
|
10
|
+
| Other environments | Other DSH releases, macOS/Linux, ACP and mobile unverified |
|
|
11
|
+
|
|
12
|
+
## Lifecycle / 生命周期
|
|
13
|
+
|
|
14
|
+
Package import, factory evaluation, Client apply, rendered UI, cold page boot and full process restart are distinct checks. Replacing an installed package requires the Host's normal restart to load a new JavaScript generation. Do not infer updated code from an unchanged slot id.
|
|
15
|
+
|
|
16
|
+
Native graph-stream failures and shared-batch404s have been observed. A later recovered page can demonstrate recovery and allow a new lifecycle test; it does not prove a Core fix. A failed old observation is retained alongside the successful retest, with its version and document scope.
|
|
17
|
+
|
|
18
|
+
精确原生运行状态行内 ETA 仍缺已核验的公开扩展槽;本插件不改写宿主 DOM 或修改核心。历史 UI、Console、保留及归档结果均不自动变成本版通过。
|
|
19
|
+
|
|
20
|
+
## Durable data / 持久数据
|
|
21
|
+
|
|
22
|
+
Streaming IDs are only Agent-lifecycle unique. Profile training uses committed session/sequence identities while raw attempt IDs, usage, initial estimates and original price resolutions are retained. Incremental projections and schema-validated real JSON storage are covered by regression tests.
|
|
23
|
+
|
|
24
|
+
Missing or ambiguous values remain unknown. Old derived summaries are refreshed from original facts when their sessions are loaded; an exporter version does not mean every historical record was migrated.
|
|
25
|
+
|
|
26
|
+
The current external report is authoritative for version, bytes, tests, lifecycle, screenshots and remaining gates. See [acceptance](docs/public/acceptance.md) and [privacy](docs/public/privacy.md).
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Contributing / 贡献
|
|
2
|
+
|
|
3
|
+
Use Node24+ and the exact SDK versions in the lockfile. From the complete source checkout, run `npm ci`, `npm run check` and `npm run pack:check`. The runtime archive is not a complete test checkout.
|
|
4
|
+
|
|
5
|
+
Read [acceptance](docs/public/acceptance.md) before changing behavior. Inspect exact running Service/Event/Slot contracts before using SDK APIs. Keep Host facts, shared estimation and Client rendering separate; use public extension seats and retain caller-owned disposal. Do not modify DSH Core, other plugins or user credentials as an implementation shortcut.
|
|
6
|
+
|
|
7
|
+
Missing values are not zero. Final usage replaces streaming usage. Prices use fixed-point arithmetic; currencies stay separate. Preserve raw call identity, original price resolution and initial forecasts. Calibration deduplication uses committed session/sequence, not a cross-lifecycle stream id.
|
|
8
|
+
|
|
9
|
+
Add meaningful regressions for changed accounting, persistence or lifecycle behavior. Use actual Cordis/Gateway/JSON storage where relevant; synthetic fixtures and factory execution do not establish actual UI acceptance. UI styling inherits Host tokens and fonts. Keyboard, focus, narrow layout and reduced motion need actual verification.
|
|
10
|
+
|
|
11
|
+
Keep temporary profiles, raw exports, screenshots containing conversation content and diagnostics outside the public source/package. Publish only reviewed cropped real captures. Record test/evidence scope and retain failures. Do not relax acceptance gates or relabel old evidence to report completion.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Task Time & Cost Estimator contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.en.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# DSH task time and cost estimator
|
|
2
|
+
|
|
3
|
+
**A reference for the wait.** See remaining time, actual duration and cost references beside native Token statistics in DeepSeek Harness, calibrated to local routes without a separate estimator-model call.
|
|
4
|
+
|
|
5
|
+
[中文](README.md) · [Download preview](https://github.com/leicheng42/dsh-task-time-cost/releases/tag/v0.2.8-beta.2) · [User guide](docs/public/guide.en.md) · [Report an issue](https://github.com/leicheng42/dsh-task-time-cost/issues/new/choose)
|
|
6
|
+
|
|
7
|
+
[](https://github.com/leicheng42/dsh-task-time-cost/releases) [](https://github.com/leicheng42/dsh-task-time-cost/actions/workflows/ci.yml) [](LICENSE)
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
## What it does
|
|
12
|
+
|
|
13
|
+
- **Estimate the wait:** compact ETA beside native usage; open it for elapsed time and estimated total.
|
|
14
|
+
- **Explain cost coverage:** known-model public list-price references with explicit overrides, without treating missing prices as free.
|
|
15
|
+
- **Learn locally:** route latency/speed, sources, samples and dates, plus JSON/CSV baselines and local statistics export.
|
|
16
|
+
- **Keep useful references:** retain the last valid time reference with its date when current planning is insufficient; bounded plans from the executing AI help estimate remaining work.
|
|
17
|
+
|
|
18
|
+
## Install
|
|
19
|
+
|
|
20
|
+
In DSH **Plugin Manager → Add plugin**, enter `dsh-task-time-cost@beta` for the preview. Both channels supply prebuilt files with no installation scripts.
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
dsh plugin --profile desktop add dsh-task-time-cost@beta
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Alternatively, install the pinned GitHub Release archive:
|
|
27
|
+
|
|
28
|
+
1. In DSH **Plugin Manager → Add plugin**, paste the archive URL below, or download it and select the local archive.
|
|
29
|
+
2. Enable **Task time and cost estimator** and restart when the Host asks.
|
|
30
|
+
3. Open the **clock beside Token statistics**. **Settings and calibration** shows route samples.
|
|
31
|
+
|
|
32
|
+
```text
|
|
33
|
+
https://github.com/leicheng42/dsh-task-time-cost/releases/download/v0.2.8-beta.2/dsh-task-time-cost-0.2.8-beta.2.tgz
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
CLI (replace desktop with your profile):
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
dsh plugin --profile desktop add https://github.com/leicheng42/dsh-task-time-cost/releases/download/v0.2.8-beta.2/dsh-task-time-cost-0.2.8-beta.2.tgz
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Preview scope
|
|
43
|
+
|
|
44
|
+
**0.2.8-beta.2: Windows / DSH Desktop 0.2.2-rc.2 / Node24+.** Other environments remain unverified. [Compatibility](COMPATIBILITY.md) and [acceptance](docs/public/acceptance.md) retain open gates.
|
|
45
|
+
|
|
46
|
+
Time ranges are references, not promises or confidence intervals. Startup values are engineering priors. Full online-task accuracy, controlled provider comparisons and observer overhead remain unmeasured. Exact native running-line placement has no verified public seat; the entry is beside Tokens.
|
|
47
|
+
|
|
48
|
+
Prices are versioned list-price references or user rates, not subscription/relay invoices. Ambiguous reasoning/cache usage or incomplete future budgets stay unknown; currencies remain separate. Original price resolutions and initial forecasts are retained.
|
|
49
|
+
|
|
50
|
+
## Privacy and trust
|
|
51
|
+
|
|
52
|
+
No prompts, code bodies, tool arguments or credentials are saved by default. No statistics uploads, background price refresh or separate estimator call. Exports include configuration and route/session identities; review before sharing. [Privacy](docs/public/privacy.md)
|
|
53
|
+
|
|
54
|
+
Releases include SHA-256 and verification summaries. Follow Host restart requirements after updates. Keep diagnostics for repeated load failures instead of repeatedly reloading.
|
|
55
|
+
|
|
56
|
+
## Help improve it
|
|
57
|
+
|
|
58
|
+
[Report](https://github.com/leicheng42/dsh-task-time-cost/issues/new/choose) versions, steps and sanitized logs. Do not upload raw sessions or complete statistics exports. [Contributing](CONTRIBUTING.md)
|
|
59
|
+
|
|
60
|
+
An unofficial community plugin, not affiliated with DeepSeek. Public list-price references come from [models.dev](https://models.dev/). [Changes](CHANGELOG.md) · [MIT](LICENSE)
|
package/README.md
CHANGED
|
@@ -1,3 +1,60 @@
|
|
|
1
|
-
#
|
|
1
|
+
# DSH 任务耗时与费用预估
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**让等待有个参考。** 在 DeepSeek Harness 的 Token 统计旁,查看剩余时间、实际用时和费用参考;预估随本地路由表现持续校准,无需另起估价模型。
|
|
4
|
+
|
|
5
|
+
[English](README.en.md) · [下载预览版](https://github.com/leicheng42/dsh-task-time-cost/releases/tag/v0.2.8-beta.2) · [使用指南](docs/public/guide.zh.md) · [反馈问题](https://github.com/leicheng42/dsh-task-time-cost/issues/new/choose)
|
|
6
|
+
|
|
7
|
+
[](https://github.com/leicheng42/dsh-task-time-cost/releases) [](https://github.com/leicheng42/dsh-task-time-cost/actions/workflows/ci.yml) [](LICENSE)
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
## 它能帮你做什么
|
|
12
|
+
|
|
13
|
+
- **估计还要多久**:紧挨原生 Token 用量的简洁 ETA,点开看实际用时和预计总耗时。
|
|
14
|
+
- **看懂费用覆盖**:已知模型自动匹配公共目录参考价,自定义费率优先;缺价和部分已知金额明确区分。
|
|
15
|
+
- **留下本地经验**:按路由显示延迟、速度、来源、样本数和日期,支持 JSON/CSV 基线与本地统计导出。
|
|
16
|
+
- **长任务保留参考**:当前计划不足时可保留最后有效时间参考并标注更新时间;执行 AI 的有界计划用于换算剩余工作。
|
|
17
|
+
|
|
18
|
+
## 安装
|
|
19
|
+
|
|
20
|
+
在 DSH 的**插件管理 → 添加插件**中输入 `dsh-task-time-cost@beta` 安装预览版;两个分发渠道均提供预构建文件,无需运行安装脚本。
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
dsh plugin --profile desktop add dsh-task-time-cost@beta
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
也可从 GitHub Release 安装固定版本归档:
|
|
27
|
+
|
|
28
|
+
1. 打开 DSH 的**插件管理 → 添加插件**,粘贴下方归档地址;也可先下载归档,再选择本地文件安装。
|
|
29
|
+
2. 启用**任务耗时与费用预估**,按宿主提示重启。
|
|
30
|
+
3. 在会话底部 **Token 统计旁点击时钟**;从**设置与校准**查看本地路由数据。
|
|
31
|
+
|
|
32
|
+
```text
|
|
33
|
+
https://github.com/leicheng42/dsh-task-time-cost/releases/download/v0.2.8-beta.2/dsh-task-time-cost-0.2.8-beta.2.tgz
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
CLI(将 desktop 换成你的实际 profile):
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
dsh plugin --profile desktop add https://github.com/leicheng42/dsh-task-time-cost/releases/download/v0.2.8-beta.2/dsh-task-time-cost-0.2.8-beta.2.tgz
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## 预览版适用范围
|
|
43
|
+
|
|
44
|
+
**0.2.8-beta.2:Windows / DSH Desktop 0.2.2-rc.2 / Node 24+。** 当前支持范围内提供试用;其他平台和宿主版本未验证。[兼容记录](COMPATIBILITY.md)与[验收标准](docs/public/acceptance.md)保留未完成项。
|
|
45
|
+
|
|
46
|
+
时间范围是参考,不是完成承诺或统计置信区间。默认性能基线是工程起点;完整在线整任务准确率、供应商对比和观察开销尚未测量。精确“深度求索中,用时…”旁的位置缺公开扩展槽,目前入口位于 Token 旁。
|
|
47
|
+
|
|
48
|
+
费用使用带版本的公共目录或用户费率,不代表订阅或中转渠道账单。隐藏推理、缓存语义或未来预算不完整时保留未知;不同币种分开。旧价格版本和初始预测保留。
|
|
49
|
+
|
|
50
|
+
## 隐私与信任
|
|
51
|
+
|
|
52
|
+
默认不保存提示词、代码正文、工具参数或凭证,不上传统计,不后台联网更新价格,也不另起估价模型请求。导出包含配置与路由/会话身份,分享前请检查。[隐私说明](docs/public/privacy.md)
|
|
53
|
+
|
|
54
|
+
每个 Release 附 SHA-256 与验证摘要。更新包后按宿主提示重启;出现反复加载错误时保留诊断,避免连续刷新。
|
|
55
|
+
|
|
56
|
+
## 一起改进
|
|
57
|
+
|
|
58
|
+
欢迎通过 [Issue](https://github.com/leicheng42/dsh-task-time-cost/issues/new/choose)提供宿主/插件版本、重现步骤和已去除秘密的日志。不要上传原始会话或完整统计导出。[贡献指南](CONTRIBUTING.md)
|
|
59
|
+
|
|
60
|
+
本项目是社区插件,与 DeepSeek 无官方隶属关系。公共价格参考来自 [models.dev](https://models.dev/)。[发行说明](CHANGELOG.md) · [MIT 许可](LICENSE)
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
The prebuilt Host and Client bundles include Zod 4.6.6, licensed under MIT. The license below is reproduced from the installed package. React and the DSH runtime packages are external host-provided dependencies; this archive does not redistribute those runtimes. TypeScript, esbuild, the Node/React declarations and the SDK development packages are build/test dependencies, not contents of this archive. The clock-and-coin icon and the bundled engineering assumptions were authored for this project; no third-party benchmark dataset or supplier price table is included.
|
|
4
|
+
|
|
5
|
+
## Zod 4.6.6
|
|
6
|
+
|
|
7
|
+
Source: https://github.com/colinhacks/zod
|
|
8
|
+
|
|
9
|
+
MIT License
|
|
10
|
+
|
|
11
|
+
Copyright (c) 2025 Colin McDonnell
|
|
12
|
+
|
|
13
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
14
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
15
|
+
in the Software without restriction, including without limitation the rights
|
|
16
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
17
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
18
|
+
furnished to do so, subject to the following conditions:
|
|
19
|
+
|
|
20
|
+
The above copyright notice and this permission notice shall be included in all
|
|
21
|
+
copies or substantial portions of the Software.
|
|
22
|
+
|
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
24
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
26
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
27
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
29
|
+
SOFTWARE.
|
|
30
|
+
|
|
31
|
+
## DSH statistics card styles
|
|
32
|
+
|
|
33
|
+
The plugin's statistics-card and compact-control styles adapt markup/CSS patterns from `@deepseek-ai/dsh-client-ui-chat` 0.2.2-rc.2 (`StatsPills.module.css`, `TurnUsagePanel.module.css`, `stat-dialog.module.css` and `stat-dialog.ts`). The plugin owns the adapted markup and lifecycle, and does not import a private DSH Client runtime.
|
|
34
|
+
|
|
35
|
+
Source: https://github.com/deepseek-ai/deepseek-harness/tree/main/packages/client/ui-chat
|
|
36
|
+
|
|
37
|
+
MIT License
|
|
38
|
+
|
|
39
|
+
Copyright (c) 2026 DeepSeek
|
|
40
|
+
|
|
41
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
42
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
43
|
+
in the Software without restriction, including without limitation the rights
|
|
44
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
45
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
46
|
+
furnished to do so, subject to the following conditions:
|
|
47
|
+
|
|
48
|
+
The above copyright notice and this permission notice shall be included in all
|
|
49
|
+
copies or substantial portions of the Software.
|
|
50
|
+
|
|
51
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
52
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
53
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
54
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
55
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
56
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
57
|
+
SOFTWARE.
|
|
58
|
+
|
|
59
|
+
## models.dev public price data
|
|
60
|
+
|
|
61
|
+
The bundled `data/models-dev-prices.json` is derived from https://models.dev/api.json. It records the retrieval time and SHA-256-based version. It contains public list-price references, not provider invoices or Magpie account data. Original license: https://github.com/sst/models.dev/blob/dev/LICENSE.
|
|
62
|
+
|
|
63
|
+
MIT License
|
|
64
|
+
|
|
65
|
+
Copyright (c) 2025 models.dev
|
|
66
|
+
|
|
67
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
68
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
69
|
+
in the Software without restriction, including without limitation the rights
|
|
70
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
71
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
72
|
+
furnished to do so, subject to the following conditions:
|
|
73
|
+
|
|
74
|
+
The above copyright notice and this permission notice shall be included in all
|
|
75
|
+
copies or substantial portions of the Software.
|
|
76
|
+
|
|
77
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
78
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
79
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
80
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
81
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
82
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
83
|
+
SOFTWARE.
|
|
84
|
+
|
|
85
|
+
## React DOM 19.2.0
|
|
86
|
+
|
|
87
|
+
The Client bundles React DOM's public `createPortal` API. React itself remains supplied by the DSH ModuleLoader. Source: https://github.com/facebook/react/tree/v19.2.0/packages/react-dom.
|
|
88
|
+
|
|
89
|
+
MIT License
|
|
90
|
+
|
|
91
|
+
Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
92
|
+
|
|
93
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
94
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
95
|
+
in the Software without restriction, including without limitation the rights
|
|
96
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
97
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
98
|
+
furnished to do so, subject to the following conditions:
|
|
99
|
+
|
|
100
|
+
The above copyright notice and this permission notice shall be included in all
|
|
101
|
+
copies or substantial portions of the Software.
|
|
102
|
+
|
|
103
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
104
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
105
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
106
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
107
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
108
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
109
|
+
SOFTWARE.
|
|
110
|
+
|
|
111
|
+
## Runtime compatibility
|
|
112
|
+
|
|
113
|
+
Runtime peers: @deepseek-ai/cordis 4.1.0, @deepseek-ai/schemastery 3.19.0 and @deepseek-ai/dsh-typert-protocol 0.2.2-rc.2, resolved by the DSH host. React is loaded from the host ModuleLoader. Their applicable licenses remain in their original distributions. No model credentials or provider settings are bundled.
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"records": [
|
|
4
|
+
{ "seedId": "engineering-question-v1", "taskKind": "question", "appliesTo": { "modelId": "*", "endpointFingerprint": "*" }, "date": "2026-11-12", "sourceUrl": null, "dataVersion": "engineering-v1", "timingBasis": "active-execution-excluding-user-wait", "statistic": "assumption-range", "sampleCount": null, "scope": "Startup assumption for short questions; not a benchmark", "sourceKind": "heuristic", "metrics": { "requestCount": { "low": 1, "high": 1 }, "visibleOutputTokens": { "low": 80, "high": 500 }, "toolMs": { "low": 0, "high": 0 } } },
|
|
5
|
+
{ "seedId": "engineering-writing-v1", "taskKind": "writing", "appliesTo": { "modelId": "*", "endpointFingerprint": "*" }, "date": "2026-11-12", "sourceUrl": null, "dataVersion": "engineering-v1", "timingBasis": "active-execution-excluding-user-wait", "statistic": "assumption-range", "sampleCount": null, "scope": "Startup assumption for writing/summary; not a benchmark", "sourceKind": "heuristic", "metrics": { "requestCount": { "low": 1, "high": 2 }, "visibleOutputTokens": { "low": 800, "high": 3000 }, "toolMs": { "low": 0, "high": 3000 } } },
|
|
6
|
+
{ "seedId": "engineering-file-analysis-v1", "taskKind": "file-analysis", "appliesTo": { "modelId": "*", "endpointFingerprint": "*" }, "date": "2026-11-12", "sourceUrl": null, "dataVersion": "engineering-v1", "timingBasis": "active-execution-excluding-user-wait", "statistic": "assumption-range", "sampleCount": null, "scope": "Startup assumption for file analysis; byte sizes are not Token observations", "sourceKind": "heuristic", "metrics": { "requestCount": { "low": 1, "high": 4 }, "visibleOutputTokens": { "low": 400, "high": 2500 }, "toolMs": { "low": 1000, "high": 30000 } } },
|
|
7
|
+
{ "seedId": "engineering-code-v1", "taskKind": "code", "appliesTo": { "modelId": "*", "endpointFingerprint": "*" }, "date": "2026-11-12", "sourceUrl": null, "dataVersion": "engineering-v1", "timingBasis": "active-execution-excluding-user-wait", "statistic": "assumption-range", "sampleCount": null, "scope": "Startup assumption for repository edits with tools; not a benchmark", "sourceKind": "heuristic", "metrics": { "requestCount": { "low": 2, "high": 8 }, "visibleOutputTokens": { "low": 800, "high": 6000 }, "toolMs": { "low": 5000, "high": 120000 } } },
|
|
8
|
+
{ "seedId": "engineering-research-v1", "taskKind": "research", "appliesTo": { "modelId": "*", "endpointFingerprint": "*" }, "date": "2026-11-12", "sourceUrl": null, "dataVersion": "engineering-v1", "timingBasis": "active-execution-excluding-user-wait", "statistic": "assumption-range", "sampleCount": null, "scope": "Startup assumption for multi-step research; not a benchmark", "sourceKind": "heuristic", "metrics": { "requestCount": { "low": 3, "high": 10 }, "visibleOutputTokens": { "low": 1500, "high": 8000 }, "toolMs": { "low": 5000, "high": 90000 } } },
|
|
9
|
+
{ "seedId": "engineering-unknown-v1", "taskKind": "unknown", "appliesTo": { "modelId": "*", "endpointFingerprint": "*" }, "date": "2026-11-12", "sourceUrl": null, "dataVersion": "engineering-v1", "timingBasis": "active-execution-excluding-user-wait", "statistic": "assumption-range", "sampleCount": null, "scope": "Wide fallback for unclassified tasks, using total call duration where body mode is unknown", "sourceKind": "heuristic", "metrics": { "requestCount": { "low": 1, "high": 6 }, "visibleOutputTokens": { "low": 200, "high": 4000 }, "toolMs": { "low": 0, "high": 90000 } } },
|
|
10
|
+
{ "seedId": "engineering-performance-v1", "taskKind": "unknown", "appliesTo": { "modelId": "*", "endpointFingerprint": "*" }, "date": "2026-11-12", "sourceUrl": null, "dataVersion": "engineering-v1", "timingBasis": "first-text-wait-includes-pretext-reasoning;body-generation-window-only;total-call-for-other-modes", "statistic": "assumption-range", "sampleCount": null, "scope": "Configurable engineering centers, widened by reference factors 0.5/2.5; no measured provider performance", "sourceKind": "heuristic", "metrics": { "firstTextMs": { "low": 10000, "high": 10000 }, "visibleTps": { "low": 50, "high": 50 }, "totalCallMs": { "low": 30000, "high": 30000 } } }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"performanceAlpha": 0.2,
|
|
3
|
+
"workloadAlpha": 0.2,
|
|
4
|
+
"predictionRefreshMs": 5000,
|
|
5
|
+
"timerRefreshMs": 1000,
|
|
6
|
+
"historyRetentionDays": 90,
|
|
7
|
+
"profileStaleDays": 7,
|
|
8
|
+
"maxSamplesPerBucket": 200,
|
|
9
|
+
"minConditionalSamples": 5,
|
|
10
|
+
"heuristicFirstTextMs": 10000,
|
|
11
|
+
"heuristicVisibleTps": 80,
|
|
12
|
+
"heuristicTotalCallMs": 30000,
|
|
13
|
+
"referenceLowFactor": 0.5,
|
|
14
|
+
"referenceHighFactor": 2.5,
|
|
15
|
+
"minGenerationWindowMs": 250,
|
|
16
|
+
"maxVisibleTps": 2000,
|
|
17
|
+
"toolResultTokensPerCall": { "low": 0, "high": 4000 },
|
|
18
|
+
"extraPlanningCall": false,
|
|
19
|
+
"magpieIntegration": false,
|
|
20
|
+
"saveRawContent": false
|
|
21
|
+
}
|