dsh-fast 0.1.1 → 0.1.3
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 +16 -0
- package/README.es.md +3 -3
- package/README.hi.md +3 -3
- package/README.md +4 -3
- package/README.pt.md +3 -3
- package/README.zh.md +3 -3
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/lib/index.js +2 -2
- package/lib/types/analyze.d.ts +2 -2
- package/lib/types/collector.d.ts +2 -2
- package/lib/types/index.d.ts +9 -9
- package/lib/types/store.d.ts +2 -2
- package/lib/types/store.js +1 -1
- package/lib/types/version.d.ts +1 -1
- package/lib/types/version.js +1 -1
- package/package.json +25 -21
- package/src/store.ts +1 -1
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,22 @@ All notable changes to this project are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.1.3] - 2026-08-22
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- DeepSeek Harness rc2 compatibility release: every `@deepseek-ai/dsh-*` peer moves from `0.1.0-rc.8` to `0.1.1-rc.2` (devDependencies pinned to the exact `0.1.1-rc.2`, peerDependencies kept at `>=0.1.0-rc.8 <0.2.0`), and the five-language READMEs, AGENTS.md, THIRD_PARTY_NOTICES.md, the pnpm release-age exclusions, and the CI workflows now target the `0.1.1-rc.2` family. The commands/tools/storage seams are verified against the rc2 peers unchanged.
|
|
13
|
+
|
|
14
|
+
## [0.1.2] - 2026-08-21
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- DeepSeek Harness rc8 compatibility release: every `@deepseek-ai/dsh-*` peer moves from `0.1.0-rc.6` to `0.1.0-rc.8` (devDependencies pinned to the exact `0.1.0-rc.8`, peerDependencies widened to `>=0.1.0-rc.8 <0.2.0`), and the five-language READMEs, AGENTS.md, THIRD_PARTY_NOTICES.md, the pnpm release-age exclusions, and the CI workflows now target the `0.1.0-rc.8` family.
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- `test/index.spec.ts` and `scripts/loader-runner.mjs` pass the rc8 `CommandRuntime.execute(agent, line, images, signal)` signature (explicit empty image list); the collector, storage-domain, tools, commands, and compaction seams are verified against the rc8 peers unchanged.
|
|
23
|
+
|
|
8
24
|
## [0.1.1] - 2026-08-17
|
|
9
25
|
|
|
10
26
|
### Fixed
|
package/README.es.md
CHANGED
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
|
|
23
23
|
## Compatibility
|
|
24
24
|
|
|
25
|
-
- DeepSeek Harness `0.1.
|
|
25
|
+
- DeepSeek Harness `0.1.1-rc.2` (peers fijados a `0.1.1-rc.2`).
|
|
26
26
|
- Node `^22.19.0 || >=24.0.0`, solo ESM (`"type": "module"`).
|
|
27
|
-
- Peers: `@deepseek-ai/cordis ^4.0.1`, `@deepseek-ai/schemastery ^3.18.0`, y `@deepseek-ai/dsh-session`, `@deepseek-ai/dsh-tools`, `@deepseek-ai/dsh-commands`, `@deepseek-ai/dsh-compaction`, `@deepseek-ai/dsh-storage-domain` en `0.1.
|
|
27
|
+
- Peers: `@deepseek-ai/cordis ^4.0.1`, `@deepseek-ai/schemastery ^3.18.0`, y `@deepseek-ai/dsh-session`, `@deepseek-ai/dsh-tools`, `@deepseek-ai/dsh-commands`, `@deepseek-ai/dsh-compaction`, `@deepseek-ai/dsh-storage-domain` en `0.1.1-rc.2`.
|
|
28
28
|
|
|
29
29
|
## What you get
|
|
30
30
|
|
|
@@ -100,7 +100,7 @@ Todos los ajustes son campos Schemastery `Config`; valores inválidos fallan la
|
|
|
100
100
|
|
|
101
101
|
## Known limitations
|
|
102
102
|
|
|
103
|
-
- **Dominio de almacenamiento, no eventos de sesión** — el `Session.append` de rc.
|
|
103
|
+
- **Dominio de almacenamiento, no eventos de sesión** — el `Session.append` de rc.2 no ofrece marcador `ignorable` ni superficie de registro de eventos externa; un evento `fast/*` haría que el coordinador de persistencia rechace el log al restaurar. Las métricas van al dominio de almacenamiento; los eventos crudos siguen siendo la fuente reconstruible.
|
|
104
104
|
- **La detección de spill es heurística** — lee el aviso persistente (`Full … stored at:`); no hay evento de sesión dedicado.
|
|
105
105
|
- **El system prompt es un solo cajón** — AGENTS.md, skills y persona forman el system prompt ensamblado; no hay contabilidad por sección.
|
|
106
106
|
- **El tiempo de carga empieza en la publicación** — la lectura de disco de una restauración ocurre antes de `session/created`; la duración reportada es publicación→primera petición.
|
package/README.hi.md
CHANGED
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
|
|
23
23
|
## Compatibility
|
|
24
24
|
|
|
25
|
-
- DeepSeek Harness `0.1.
|
|
25
|
+
- DeepSeek Harness `0.1.1-rc.2` (peers `0.1.1-rc.2` पर पिन किए गए)।
|
|
26
26
|
- Node `^22.19.0 || >=24.0.0`, केवल ESM (`"type": "module"`)।
|
|
27
|
-
- Peers: `@deepseek-ai/cordis ^4.0.1`, `@deepseek-ai/schemastery ^3.18.0`, और `@deepseek-ai/dsh-session`, `@deepseek-ai/dsh-tools`, `@deepseek-ai/dsh-commands`, `@deepseek-ai/dsh-compaction`, `@deepseek-ai/dsh-storage-domain` (`0.1.
|
|
27
|
+
- Peers: `@deepseek-ai/cordis ^4.0.1`, `@deepseek-ai/schemastery ^3.18.0`, और `@deepseek-ai/dsh-session`, `@deepseek-ai/dsh-tools`, `@deepseek-ai/dsh-commands`, `@deepseek-ai/dsh-compaction`, `@deepseek-ai/dsh-storage-domain` (`0.1.1-rc.2`)।
|
|
28
28
|
|
|
29
29
|
## What you get
|
|
30
30
|
|
|
@@ -100,7 +100,7 @@ dsh plugin --profile demo remove dsh-fast # हटाएँ
|
|
|
100
100
|
|
|
101
101
|
## Known limitations
|
|
102
102
|
|
|
103
|
-
- **स्टोरेज डोमेन, सत्र घटनाएँ नहीं** — rc.
|
|
103
|
+
- **स्टोरेज डोमेन, सत्र घटनाएँ नहीं** — rc.2 का `Session.append` `ignorable` मार्कर या बाहरी घटना-पंजीकरण सतह नहीं देता; कस्टम `fast/*` घटना पुनर्स्थापना पर लॉग को अस्वीकार करवा देती। इसलिए मेट्रिक्स स्टोरेज डोमेन में जाते हैं; कच्ची घटनाएँ पुनर्निर्माण-योग्य स्रोत बनी रहती हैं।
|
|
104
104
|
- **spill पहचान अनुमानी है** — यह स्थायी सूचना (`Full … stored at:`) पढ़ती है; कोई समर्पित सत्र घटना नहीं है।
|
|
105
105
|
- **system prompt एक ही बकेट है** — AGENTS.md, skills और persona असेंबल किए गए system prompt का हिस्सा हैं; header में प्रति-अनुभाग गणना नहीं होती।
|
|
106
106
|
- **लोड समय प्रकाशन से शुरू होता है** — पुनर्स्थापना का डिस्क-रीड `session/created` से पहले होता है; रिपोर्ट की गई अवधि प्रकाशन→पहली अनुरोध है।
|
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
3
|
# ⚡ dsh-fast
|
|
4
|
+
[](https://gitee.com/perrylink/dsh-fast)
|
|
4
5
|
|
|
5
6
|
**Read-only performance diagnostics for DeepSeek Harness.**
|
|
6
7
|
|
|
@@ -22,9 +23,9 @@
|
|
|
22
23
|
|
|
23
24
|
## Compatibility
|
|
24
25
|
|
|
25
|
-
- DeepSeek Harness `0.1.
|
|
26
|
+
- DeepSeek Harness `0.1.1-rc.2` (peers pinned to `0.1.1-rc.2`).
|
|
26
27
|
- Node `^22.19.0 || >=24.0.0`, ESM only (`"type": "module"`).
|
|
27
|
-
- Peer dependencies: `@deepseek-ai/cordis ^4.0.1`, `@deepseek-ai/schemastery ^3.18.0`, and `@deepseek-ai/dsh-session`, `@deepseek-ai/dsh-tools`, `@deepseek-ai/dsh-commands`, `@deepseek-ai/dsh-compaction`, `@deepseek-ai/dsh-storage-domain` at `0.1.
|
|
28
|
+
- Peer dependencies: `@deepseek-ai/cordis ^4.0.1`, `@deepseek-ai/schemastery ^3.18.0`, and `@deepseek-ai/dsh-session`, `@deepseek-ai/dsh-tools`, `@deepseek-ai/dsh-commands`, `@deepseek-ai/dsh-compaction`, `@deepseek-ai/dsh-storage-domain` at `0.1.1-rc.2`.
|
|
28
29
|
|
|
29
30
|
## What you get
|
|
30
31
|
|
|
@@ -100,7 +101,7 @@ All tunables are Schemastery `Config` fields; invalid values fail the profile lo
|
|
|
100
101
|
|
|
101
102
|
## Known limitations
|
|
102
103
|
|
|
103
|
-
- **Storage domain, not session events** — rc.
|
|
104
|
+
- **Storage domain, not session events** — rc.2 `Session.append` offers no `ignorable` marker and no external event-registration surface, so a custom `fast/*` session event would make the persistence coordinator refuse the log on restore. Metrics are therefore persisted to the storage domain; the raw events remain the reconstructable source of truth.
|
|
104
105
|
- **Spill detection is heuristic** — it reads the durable spill notice (`Full … stored at:`); no dedicated session event exists.
|
|
105
106
|
- **System prompt is one bucket** — AGENTS.md, skill directory, and persona are all part of the assembled system prompt; the header carries no per-section token accounting, so they are reported together.
|
|
106
107
|
- **Load timing starts at publication** — the disk-read portion of a restore happens before `session/created` (owned by `sessionPersistence`) and is not observable from this plugin's allowed events; the reported duration is publication-to-first-request.
|
package/README.pt.md
CHANGED
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
|
|
23
23
|
## Compatibility
|
|
24
24
|
|
|
25
|
-
- DeepSeek Harness `0.1.
|
|
25
|
+
- DeepSeek Harness `0.1.1-rc.2` (peers fixados em `0.1.1-rc.2`).
|
|
26
26
|
- Node `^22.19.0 || >=24.0.0`, somente ESM (`"type": "module"`).
|
|
27
|
-
- Peers: `@deepseek-ai/cordis ^4.0.1`, `@deepseek-ai/schemastery ^3.18.0`, e `@deepseek-ai/dsh-session`, `@deepseek-ai/dsh-tools`, `@deepseek-ai/dsh-commands`, `@deepseek-ai/dsh-compaction`, `@deepseek-ai/dsh-storage-domain` em `0.1.
|
|
27
|
+
- Peers: `@deepseek-ai/cordis ^4.0.1`, `@deepseek-ai/schemastery ^3.18.0`, e `@deepseek-ai/dsh-session`, `@deepseek-ai/dsh-tools`, `@deepseek-ai/dsh-commands`, `@deepseek-ai/dsh-compaction`, `@deepseek-ai/dsh-storage-domain` em `0.1.1-rc.2`.
|
|
28
28
|
|
|
29
29
|
## What you get
|
|
30
30
|
|
|
@@ -100,7 +100,7 @@ O `dsh-fast` consome apenas seams públicos: eventos `session/*` e `agent/*`, o
|
|
|
100
100
|
|
|
101
101
|
## Known limitations
|
|
102
102
|
|
|
103
|
-
- **Domínio de armazenamento, não eventos de sessão** — o `Session.append` do rc.
|
|
103
|
+
- **Domínio de armazenamento, não eventos de sessão** — o `Session.append` do rc.2 não oferece marcador `ignorable` nem superfície de registro de eventos externa; um evento `fast/*` faria o coordenador de persistência recusar o log ao restaurar. As métricas vão ao domínio de armazenamento; os eventos brutos seguem como fonte reconstruível.
|
|
104
104
|
- **A detecção de spill é heurística** — lê o aviso persistente (`Full … stored at:`); não há evento de sessão dedicado.
|
|
105
105
|
- **O system prompt é um único balde** — AGENTS.md, skills e persona formam o system prompt montado; não há contagem por seção.
|
|
106
106
|
- **O tempo de carga começa na publicação** — a leitura de disco de uma restauração ocorre antes de `session/created`; a duração reportada é publicação→primeira requisição.
|
package/README.zh.md
CHANGED
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
|
|
23
23
|
## Compatibility
|
|
24
24
|
|
|
25
|
-
- DeepSeek Harness `0.1.
|
|
25
|
+
- DeepSeek Harness `0.1.1-rc.2`(peer 钉在 `0.1.1-rc.2`)。
|
|
26
26
|
- Node `^22.19.0 || >=24.0.0`,纯 ESM(`"type": "module"`)。
|
|
27
|
-
- peer 依赖:`@deepseek-ai/cordis ^4.0.1`、`@deepseek-ai/schemastery ^3.18.0`,以及 `@deepseek-ai/dsh-session`、`@deepseek-ai/dsh-tools`、`@deepseek-ai/dsh-commands`、`@deepseek-ai/dsh-compaction`、`@deepseek-ai/dsh-storage-domain`(`0.1.
|
|
27
|
+
- peer 依赖:`@deepseek-ai/cordis ^4.0.1`、`@deepseek-ai/schemastery ^3.18.0`,以及 `@deepseek-ai/dsh-session`、`@deepseek-ai/dsh-tools`、`@deepseek-ai/dsh-commands`、`@deepseek-ai/dsh-compaction`、`@deepseek-ai/dsh-storage-domain`(`0.1.1-rc.2`)。
|
|
28
28
|
|
|
29
29
|
## What you get
|
|
30
30
|
|
|
@@ -100,7 +100,7 @@ dsh plugin --profile demo remove dsh-fast # 卸载
|
|
|
100
100
|
|
|
101
101
|
## Known limitations
|
|
102
102
|
|
|
103
|
-
- **用存储域而非会话事件** —— rc.
|
|
103
|
+
- **用存储域而非会话事件** —— rc.2 的 `Session.append` 没有 `ignorable` 标记能力,也没有外部事件注册面,写自定义 `fast/*` 会话事件会让持久化协调器在恢复时拒绝日志。因此度量改为持久化到存储域;原始事件仍是可重建的事实来源。
|
|
104
104
|
- **spill 检测是启发式** —— 读取持久化的 spill 提示(`Full … stored at:`);没有专门的会话事件。
|
|
105
105
|
- **系统提示词是单个桶** —— AGENTS.md、技能目录与人设都属于组装后的系统提示词;header 不携带分段 token 统计,因此合并上报。
|
|
106
106
|
- **加载耗时从发布时刻起算** —— 恢复时的磁盘读取发生在 `session/created` 之前(由 `sessionPersistence` 负责),本插件允许的事件观察不到;上报的时长是发布到首次请求的延迟。
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -14,7 +14,7 @@ published tarball except where noted; these are install-time dependencies:
|
|
|
14
14
|
| [zod](https://github.com/colinhacks/zod) | `^4.4.3` | MIT | Runtime value schema for the `dsh_fast` storage-domain table (bundled into `lib/`) |
|
|
15
15
|
| [@deepseek-ai/cordis](https://www.npmjs.com/package/@deepseek-ai/cordis) | `^4.0.1` (peer) | See package | The plugin runtime |
|
|
16
16
|
| [@deepseek-ai/schemastery](https://www.npmjs.com/package/@deepseek-ai/schemastery) | `^3.18.0` (peer) | See package | Configuration schema |
|
|
17
|
-
| `@deepseek-ai/dsh-*` peers | `0.1.
|
|
17
|
+
| `@deepseek-ai/dsh-*` peers | `0.1.1-rc.2` (peer) | See packages | Official harness seams (`dsh-session`, `dsh-tools`, `dsh-commands`, `dsh-compaction`, `dsh-storage-domain`) |
|
|
18
18
|
|
|
19
19
|
At runtime the plugin only talks to the harness services listed as
|
|
20
20
|
peerDependencies; it performs no network requests and stores no credentials.
|
package/lib/index.js
CHANGED
|
@@ -504,7 +504,7 @@ function buildReport(snapshot, meta, config, version) {
|
|
|
504
504
|
* Durable metric storage over the harness storage domain. The `dsh-fast`
|
|
505
505
|
* domain keeps one bounded history per session, so `/fast` and `fast_report`
|
|
506
506
|
* metrics survive a restart and the trend stays queryable without touching the
|
|
507
|
-
* session log (the rc.
|
|
507
|
+
* session log (the rc.2 `Session.append` offers no `ignorable` marker and no
|
|
508
508
|
* external event-registration surface, so a custom session event would make
|
|
509
509
|
* the persistence coordinator refuse the log on restore).
|
|
510
510
|
* @module dsh-fast/store
|
|
@@ -579,7 +579,7 @@ function appendSample(history, sample, maxSamples) {
|
|
|
579
579
|
//#endregion
|
|
580
580
|
//#region src/version.ts
|
|
581
581
|
/** Single-source plugin version, bumped by `scripts/release.mjs`. @module dsh-fast/version */
|
|
582
|
-
const VERSION = "0.1.
|
|
582
|
+
const VERSION = "0.1.3";
|
|
583
583
|
//#endregion
|
|
584
584
|
//#region src/index.ts
|
|
585
585
|
const name = "fast";
|
package/lib/types/analyze.d.ts
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* unit-tested and safe to replay.
|
|
6
6
|
* @module dsh-fast/analyze
|
|
7
7
|
*/
|
|
8
|
-
import type { FastReport, FastSnapshot } from './model.
|
|
9
|
-
import type { ResolvedConfig } from './config.
|
|
8
|
+
import type { FastReport, FastSnapshot } from './model.js';
|
|
9
|
+
import type { ResolvedConfig } from './config.js';
|
|
10
10
|
/** Report metadata supplied by the caller (identity, optional cwd, time). */
|
|
11
11
|
export interface ReportMeta {
|
|
12
12
|
sessionId: string;
|
package/lib/types/collector.d.ts
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* @module dsh-fast/collector
|
|
9
9
|
*/
|
|
10
10
|
import type { Session, SessionEvent, ToolResultMessage } from '@deepseek-ai/dsh-session';
|
|
11
|
-
import type { FastSnapshot, ContextStats } from './model.
|
|
12
|
-
import type { ResolvedConfig } from './config.
|
|
11
|
+
import type { FastSnapshot, ContextStats } from './model.js';
|
|
12
|
+
import type { ResolvedConfig } from './config.js';
|
|
13
13
|
/**
|
|
14
14
|
* The structural surface of the optional `ctx.tokenMeter` service. Only the
|
|
15
15
|
* fields dsh-fast reads are declared; the service is optional, so a host
|
package/lib/types/index.d.ts
CHANGED
|
@@ -13,18 +13,18 @@
|
|
|
13
13
|
* @module dsh-fast
|
|
14
14
|
*/
|
|
15
15
|
import type { Context } from '@deepseek-ai/cordis';
|
|
16
|
-
import { Config } from './config.
|
|
16
|
+
import { Config } from './config.js';
|
|
17
17
|
export declare const name = "fast";
|
|
18
18
|
/** The `/fast` command, the `fast_report` tool, and the durable metric domain. */
|
|
19
19
|
export declare const inject: string[];
|
|
20
|
-
export { Config, resolveConfig } from './config.
|
|
21
|
-
export type { Config as FastConfig, ResolvedConfig } from './config.
|
|
22
|
-
export { VERSION } from './version.
|
|
23
|
-
export { stripControl, truncate, sanitizeText, sanitizePath } from './sanitize.
|
|
24
|
-
export type { FastReport, FastSnapshot, LoadStats, SpillStats, CompactionStats, ContextStats, CacheStats, StoredSample, } from './model.
|
|
25
|
-
export { FastCollector, detectSpilledResult, flattenToolResultText, sharesOf, hitRateOf } from './collector.
|
|
26
|
-
export { buildReport, buildSuggestions, renderFastText } from './analyze.
|
|
27
|
-
export { fastDomainSpec, appendSample, historySchema } from './store.
|
|
20
|
+
export { Config, resolveConfig } from './config.js';
|
|
21
|
+
export type { Config as FastConfig, ResolvedConfig } from './config.js';
|
|
22
|
+
export { VERSION } from './version.js';
|
|
23
|
+
export { stripControl, truncate, sanitizeText, sanitizePath } from './sanitize.js';
|
|
24
|
+
export type { FastReport, FastSnapshot, LoadStats, SpillStats, CompactionStats, ContextStats, CacheStats, StoredSample, } from './model.js';
|
|
25
|
+
export { FastCollector, detectSpilledResult, flattenToolResultText, sharesOf, hitRateOf } from './collector.js';
|
|
26
|
+
export { buildReport, buildSuggestions, renderFastText } from './analyze.js';
|
|
27
|
+
export { fastDomainSpec, appendSample, historySchema } from './store.js';
|
|
28
28
|
/**
|
|
29
29
|
* Mount the diagnostics. The resolved config is validated first (fail loud);
|
|
30
30
|
* with `enabled: false` the plugin registers nothing and stays inert.
|
package/lib/types/store.d.ts
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* Durable metric storage over the harness storage domain. The `dsh-fast`
|
|
3
3
|
* domain keeps one bounded history per session, so `/fast` and `fast_report`
|
|
4
4
|
* metrics survive a restart and the trend stays queryable without touching the
|
|
5
|
-
* session log (the rc.
|
|
5
|
+
* session log (the rc.2 `Session.append` offers no `ignorable` marker and no
|
|
6
6
|
* external event-registration surface, so a custom session event would make
|
|
7
7
|
* the persistence coordinator refuse the log on restore).
|
|
8
8
|
* @module dsh-fast/store
|
|
9
9
|
*/
|
|
10
10
|
import z from 'zod';
|
|
11
|
-
import type { StoredSample } from './model.
|
|
11
|
+
import type { StoredSample } from './model.js';
|
|
12
12
|
/** The per-session value: a bounded history of samples. */
|
|
13
13
|
export declare const historySchema: z.ZodObject<{
|
|
14
14
|
samples: z.ZodArray<z.ZodObject<{
|
package/lib/types/store.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Durable metric storage over the harness storage domain. The `dsh-fast`
|
|
3
3
|
* domain keeps one bounded history per session, so `/fast` and `fast_report`
|
|
4
4
|
* metrics survive a restart and the trend stays queryable without touching the
|
|
5
|
-
* session log (the rc.
|
|
5
|
+
* session log (the rc.2 `Session.append` offers no `ignorable` marker and no
|
|
6
6
|
* external event-registration surface, so a custom session event would make
|
|
7
7
|
* the persistence coordinator refuse the log on restore).
|
|
8
8
|
* @module dsh-fast/store
|
package/lib/types/version.d.ts
CHANGED
package/lib/types/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-fast",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Read-only performance diagnostics for DeepSeek Harness: session load (open/restore) timing, spill-hit counts, compaction count and trigger, context-injection volume (AGENTS.md/skills/tool-schema token share), and LLM cache hit rate — surfaced via the /fast command and the fast_report tool, persisted as reconstructable fast/* session events with async sampling off the model path.",
|
|
5
5
|
"author": "dsh-fast contributors",
|
|
6
6
|
"repository": {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
],
|
|
66
66
|
"compatibility": {
|
|
67
67
|
"dshVersions": [
|
|
68
|
-
"0.1.
|
|
68
|
+
"0.1.1-rc.2"
|
|
69
69
|
]
|
|
70
70
|
},
|
|
71
71
|
"capability": {
|
|
@@ -99,14 +99,14 @@
|
|
|
99
99
|
"packageManager": "pnpm@11.7.0",
|
|
100
100
|
"peerDependencies": {
|
|
101
101
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
102
|
-
"@deepseek-ai/
|
|
103
|
-
"@deepseek-ai/dsh-
|
|
104
|
-
"@deepseek-ai/dsh-
|
|
105
|
-
"@deepseek-ai/dsh-
|
|
106
|
-
"@deepseek-ai/dsh-
|
|
107
|
-
"@deepseek-ai/dsh-storage": "0.1.0-rc.
|
|
108
|
-
"@deepseek-ai/dsh-
|
|
109
|
-
"@deepseek-ai/
|
|
102
|
+
"@deepseek-ai/dsh-commands": ">=0.1.0-rc.8 <0.2.0",
|
|
103
|
+
"@deepseek-ai/dsh-compaction": ">=0.1.0-rc.8 <0.2.0",
|
|
104
|
+
"@deepseek-ai/dsh-session": ">=0.1.0-rc.8 <0.2.0",
|
|
105
|
+
"@deepseek-ai/dsh-storage": ">=0.1.0-rc.8 <0.2.0",
|
|
106
|
+
"@deepseek-ai/dsh-storage-domain": ">=0.1.0-rc.8 <0.2.0",
|
|
107
|
+
"@deepseek-ai/dsh-storage-json": ">=0.1.0-rc.8 <0.2.0",
|
|
108
|
+
"@deepseek-ai/dsh-tools": ">=0.1.0-rc.8 <0.2.0",
|
|
109
|
+
"@deepseek-ai/schemastery": "^3.18.0"
|
|
110
110
|
},
|
|
111
111
|
"dependencies": {
|
|
112
112
|
"tsdown": "^0.22.14",
|
|
@@ -115,20 +115,23 @@
|
|
|
115
115
|
},
|
|
116
116
|
"devDependencies": {
|
|
117
117
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
118
|
+
"@deepseek-ai/cordis-plugin-include": "1.0.6",
|
|
119
|
+
"@deepseek-ai/cordis-plugin-loader": "1.0.2",
|
|
120
|
+
"@deepseek-ai/dsh-agent": "0.1.1-rc.2",
|
|
121
|
+
"@deepseek-ai/dsh-commands": "0.1.1-rc.2",
|
|
122
|
+
"@deepseek-ai/dsh-compaction": "0.1.1-rc.2",
|
|
123
|
+
"@deepseek-ai/dsh-llm": "0.1.1-rc.2",
|
|
124
|
+
"@deepseek-ai/dsh-session": "0.1.1-rc.2",
|
|
125
|
+
"@deepseek-ai/dsh-storage": "0.1.1-rc.2",
|
|
126
|
+
"@deepseek-ai/dsh-storage-domain": "0.1.1-rc.2",
|
|
127
|
+
"@deepseek-ai/dsh-storage-json": "0.1.1-rc.2",
|
|
128
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.1-rc.2",
|
|
129
|
+
"@deepseek-ai/dsh-token-meter": "0.1.1-rc.2",
|
|
130
|
+
"@deepseek-ai/dsh-tools": "0.1.1-rc.2",
|
|
118
131
|
"@deepseek-ai/schemastery": "^3.18.0",
|
|
119
|
-
"@deepseek-ai/dsh-session": "0.1.0-rc.6",
|
|
120
|
-
"@deepseek-ai/dsh-tools": "0.1.0-rc.6",
|
|
121
|
-
"@deepseek-ai/dsh-commands": "0.1.0-rc.6",
|
|
122
|
-
"@deepseek-ai/dsh-system-prompt": "0.1.0-rc.6",
|
|
123
|
-
"@deepseek-ai/dsh-token-meter": "0.1.0-rc.6",
|
|
124
|
-
"@deepseek-ai/dsh-compaction": "0.1.0-rc.6",
|
|
125
|
-
"@deepseek-ai/dsh-storage-domain": "0.1.0-rc.6",
|
|
126
|
-
"@deepseek-ai/dsh-storage": "0.1.0-rc.6",
|
|
127
|
-
"@deepseek-ai/dsh-storage-json": "0.1.0-rc.6",
|
|
128
|
-
"@deepseek-ai/dsh-llm": "0.1.0-rc.6",
|
|
129
|
-
"@deepseek-ai/dsh-agent": "0.1.0-rc.6",
|
|
130
132
|
"@types/node": "^22.19.0",
|
|
131
133
|
"@vitest/coverage-v8": "^3.2.0",
|
|
134
|
+
"oxlint": "0.18.1",
|
|
132
135
|
"vitest": "^3.2.0"
|
|
133
136
|
},
|
|
134
137
|
"scripts": {
|
|
@@ -137,6 +140,7 @@
|
|
|
137
140
|
"typecheck:ci": "tsc -p tsconfig.ci.json --noEmit",
|
|
138
141
|
"test": "vitest run",
|
|
139
142
|
"test:coverage": "vitest run --coverage",
|
|
143
|
+
"lint": "oxlint",
|
|
140
144
|
"prepare": "node scripts/prepare.mjs",
|
|
141
145
|
"verify:self-contained": "node scripts/verify-self-contained.mjs",
|
|
142
146
|
"verify:artifacts": "node scripts/verify-artifacts.mjs",
|
package/src/store.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Durable metric storage over the harness storage domain. The `dsh-fast`
|
|
3
3
|
* domain keeps one bounded history per session, so `/fast` and `fast_report`
|
|
4
4
|
* metrics survive a restart and the trend stays queryable without touching the
|
|
5
|
-
* session log (the rc.
|
|
5
|
+
* session log (the rc.2 `Session.append` offers no `ignorable` marker and no
|
|
6
6
|
* external event-registration surface, so a custom session event would make
|
|
7
7
|
* the persistence coordinator refuse the log on restore).
|
|
8
8
|
* @module dsh-fast/store
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Single-source plugin version, bumped by `scripts/release.mjs`. @module dsh-fast/version */
|
|
2
|
-
export const VERSION = '0.1.
|
|
2
|
+
export const VERSION = '0.1.3'
|