dsh-observe 0.2.28 → 0.2.30
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 +6 -0
- package/LICENSE +0 -0
- package/README.en.md +27 -17
- package/README.es.md +29 -19
- package/README.hi.md +29 -19
- package/README.md +27 -17
- package/README.pt.md +29 -19
- package/THIRD_PARTY_NOTICES.md +0 -0
- package/cordis.patch.yml +0 -0
- package/docs/assets/dsh-observe-demo.gif +0 -0
- package/docs/assets/dsh-observe-demo.png +0 -0
- package/docs/assets/dsh-observe-flow-dark.svg +31 -0
- package/docs/assets/dsh-observe-flow-light.svg +31 -0
- package/docs/assets/dsh-observe-flow-v5-dark.svg +97 -0
- package/docs/assets/dsh-observe-flow-v5-light.svg +97 -0
- package/docs/assets/dsh-observe-flow.svg +19 -0
- package/docs/assets/dsh-observe-hero-en-dark.webp +0 -0
- package/docs/assets/dsh-observe-hero-en-light.webp +0 -0
- package/docs/assets/dsh-observe-hero-zh-dark.webp +0 -0
- package/docs/assets/dsh-observe-hero-zh-light.webp +0 -0
- package/docs/assets/dsh-observe-hero.png +0 -0
- package/lib/index.js +1 -1
- package/lib/typert.host.js +0 -0
- package/lib/types/backoff.d.ts +0 -0
- package/lib/types/backoff.d.ts.map +0 -0
- package/lib/types/backoff.js +0 -0
- package/lib/types/backoff.js.map +0 -0
- package/lib/types/collector.d.ts +0 -0
- package/lib/types/collector.d.ts.map +0 -0
- package/lib/types/collector.js +0 -0
- package/lib/types/collector.js.map +0 -0
- package/lib/types/config.d.ts +0 -0
- package/lib/types/config.d.ts.map +0 -0
- package/lib/types/config.js +0 -0
- package/lib/types/config.js.map +0 -0
- package/lib/types/ids.d.ts +0 -0
- package/lib/types/ids.d.ts.map +0 -0
- package/lib/types/ids.js +0 -0
- package/lib/types/ids.js.map +0 -0
- package/lib/types/index.d.ts +0 -0
- package/lib/types/index.d.ts.map +0 -0
- package/lib/types/index.js +0 -0
- package/lib/types/index.js.map +0 -0
- package/lib/types/model.d.ts +0 -0
- package/lib/types/model.d.ts.map +0 -0
- package/lib/types/model.js +0 -0
- package/lib/types/model.js.map +0 -0
- package/lib/types/pipeline.d.ts +0 -0
- package/lib/types/pipeline.d.ts.map +0 -0
- package/lib/types/pipeline.js +0 -0
- package/lib/types/pipeline.js.map +0 -0
- package/lib/types/pricing.d.ts +0 -0
- package/lib/types/pricing.d.ts.map +0 -0
- package/lib/types/pricing.js +0 -0
- package/lib/types/pricing.js.map +0 -0
- package/lib/types/project.d.ts +0 -0
- package/lib/types/project.d.ts.map +0 -0
- package/lib/types/project.js +0 -0
- package/lib/types/project.js.map +0 -0
- package/lib/types/remote.d.ts +0 -0
- package/lib/types/remote.d.ts.map +0 -0
- package/lib/types/remote.js +0 -0
- package/lib/types/remote.js.map +0 -0
- package/lib/types/sanitize.d.ts +0 -0
- package/lib/types/sanitize.d.ts.map +0 -0
- package/lib/types/sanitize.js +0 -0
- package/lib/types/sanitize.js.map +0 -0
- package/lib/types/sinks.d.ts +0 -0
- package/lib/types/sinks.d.ts.map +0 -0
- package/lib/types/sinks.js +0 -0
- package/lib/types/sinks.js.map +0 -0
- package/lib/types/spool.d.ts +0 -0
- package/lib/types/spool.d.ts.map +0 -0
- package/lib/types/spool.js +0 -0
- package/lib/types/spool.js.map +0 -0
- package/lib/types/typert.host.d.ts +0 -0
- package/lib/types/typert.host.d.ts.map +0 -0
- package/lib/types/typert.host.js +0 -0
- package/lib/types/typert.host.js.map +0 -0
- package/lib/types/version.d.ts +1 -1
- package/lib/types/version.d.ts.map +0 -0
- package/lib/types/version.js +1 -1
- package/lib/types/version.js.map +0 -0
- package/lib/types/wire.d.ts +0 -0
- package/lib/types/wire.d.ts.map +0 -0
- package/lib/types/wire.js +0 -0
- package/lib/types/wire.js.map +0 -0
- package/package.json +17 -35
- package/src/backoff.ts +0 -0
- package/src/collector.ts +0 -0
- package/src/config.ts +0 -0
- package/src/ids.ts +0 -0
- package/src/index.ts +0 -0
- package/src/model.ts +0 -0
- package/src/pipeline.ts +0 -0
- package/src/pricing.ts +0 -0
- package/src/project.ts +0 -0
- package/src/remote.ts +0 -0
- package/src/sanitize.ts +0 -0
- package/src/sinks.ts +0 -0
- package/src/spool.ts +0 -0
- package/src/typert.host.ts +0 -0
- package/src/version.ts +1 -1
- package/src/wire.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -60,6 +60,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
60
60
|
|
|
61
61
|
## [Unreleased]
|
|
62
62
|
|
|
63
|
+
## [0.2.30] - 2026-11-22
|
|
64
|
+
|
|
65
|
+
- Compatibility: declare DeepSeek Harness 0.2.3-alpha.1 support (>=0.2.3-0 <0.3.0-0 in engines.dsh and every @deepseek-ai/dsh-* peer range) and refresh README verification stamps.
|
|
66
|
+
|
|
67
|
+
## [0.2.29] - 2026-11-18
|
|
68
|
+
|
|
63
69
|
## [0.2.20] - 2026-10-04
|
|
64
70
|
|
|
65
71
|
undefined
|
package/LICENSE
CHANGED
|
File without changes
|
package/README.en.md
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
Observability exporter for DeepSeek Harness: turn/step/tool/LLM spans, token and USD cost metrics, async batching, a bounded offline buffer, and exponential-backoff retries; use OTLP, Langfuse, or both.
|
|
13
13
|
|
|
14
|
+
Last verified on DeepSeek Harness `dsh-v0.2.3-alpha.1` (2026-11-22).
|
|
15
|
+
|
|
14
16
|
[Install](#three-step-setup) · [Configuration](#configuration) · [FAQ](#faq) · [简体中文](README.md) · [English](README.en.md) · [Español](README.es.md) · [Português](README.pt.md) · [हिन्दी](README.hi.md)
|
|
15
17
|
|
|
16
18
|
[](LICENSE)
|
|
@@ -121,6 +123,10 @@ This plugin registers **no model tools** and no user-facing command — it is a
|
|
|
121
123
|
|
|
122
124
|
### Examples
|
|
123
125
|
|
|
126
|
+

|
|
127
|
+
|
|
128
|
+
*Animated replay of a real run recorded in this repository.*
|
|
129
|
+
|
|
124
130
|
There is no manual trigger: after installation, turn `enabled` on with the minimal configuration above and restart; traces and metrics show up in the OTLP backend, observations show up in Langfuse. To confirm it is collecting, look at the first trace the backend receives; to confirm it is shipping, watch `observe/status` queue depths fall back as the session progresses.
|
|
125
131
|
|
|
126
132
|
## Configuration
|
|
@@ -293,7 +299,7 @@ If another observability plugin is installed in the same profile, mind two thing
|
|
|
293
299
|
|
|
294
300
|
| Surface | Status |
|
|
295
301
|
|---|---|
|
|
296
|
-
| Harness | DeepSeek Harness `dsh-v0.2.
|
|
302
|
+
| Harness | DeepSeek Harness `dsh-v0.2.2-rc.4` (adapted 2026-11-18): session format V4 represents a tool result as a first-class `role: 'tool'` message carrying top-level `toolCallId` + `content` + optional `isError` — the V3 `tool-result` content block is gone from the host's `ContentBlockMap`, and this plugin reads only the V4 shape (a pre-upgrade V3 log still projects through a read-only compatibility path). Session format V3's other traits carry over: the assistant stream is embedded in `assistant/message` / `assistant/attempt`, and the system prompt is surface node 0 (`system/message`); the plugin consumes only the live event stream and never reads session log files. `engines.dsh` is `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`; the profile install smoke is covered by the compat workflow. |
|
|
297
303
|
| Node | `^22.19.0 \|\| >=24.9.0`, pure ESM (`"type": "module"`) |
|
|
298
304
|
| Backends | OpenTelemetry OTLP/HTTP (traces + metrics, JSON encoding) and Langfuse (LLM observability) — either or both |
|
|
299
305
|
| Model | Model-agnostic: it exports the session/event stream; no model calls are made |
|
|
@@ -345,17 +351,27 @@ This project is part of the DeepSeek Harness plugin family maintained by [PerryL
|
|
|
345
351
|
| **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** | |
|
|
346
352
|
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | |
|
|
347
353
|
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | 🧊 FROZEN — see the repo README |
|
|
354
|
+
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 RETIRED — see the repo README |
|
|
348
355
|
| **[dsh-bid-ca-precheck](https://github.com/PerryLink/dsh-bid-ca-precheck)** | |
|
|
349
356
|
| **[dsh-bid-qual-check](https://github.com/PerryLink/dsh-bid-qual-check)** | |
|
|
357
|
+
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 FROZEN — see the repo README |
|
|
350
358
|
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | 🧊 FROZEN — see the repo README |
|
|
359
|
+
| **[dsh-check-pack](https://github.com/PerryLink/dsh-check-pack)** | |
|
|
351
360
|
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | |
|
|
361
|
+
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 FROZEN — see the repo README |
|
|
352
362
|
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | |
|
|
363
|
+
| **[dsh-clinic](https://github.com/PerryLink/dsh-clinic)** | |
|
|
364
|
+
| **[dsh-codemod](https://github.com/PerryLink/dsh-codemod)** | |
|
|
365
|
+
| **[dsh-community-bench](https://github.com/PerryLink/dsh-community-bench)** | 🧊 FROZEN — see the repo README |
|
|
353
366
|
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | |
|
|
354
367
|
| **[dsh-contract-stance](https://github.com/PerryLink/dsh-contract-stance)** | |
|
|
355
368
|
| **[dsh-customs-doc-check](https://github.com/PerryLink/dsh-customs-doc-check)** | |
|
|
356
369
|
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | 🧊 FROZEN — see the repo README |
|
|
370
|
+
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 FROZEN — see the repo README |
|
|
357
371
|
| **[dsh-demurrage-ledger](https://github.com/PerryLink/dsh-demurrage-ledger)** | |
|
|
372
|
+
| **[dsh-dida](https://github.com/PerryLink/dsh-dida)** | |
|
|
358
373
|
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | |
|
|
374
|
+
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 FROZEN — see the repo README |
|
|
359
375
|
| **[dsh-drill-script-check](https://github.com/PerryLink/dsh-drill-script-check)** | |
|
|
360
376
|
| **[dsh-eia-guide-check](https://github.com/PerryLink/dsh-eia-guide-check)** | |
|
|
361
377
|
| **[dsh-emergency-plan](https://github.com/PerryLink/dsh-emergency-plan)** | |
|
|
@@ -366,7 +382,7 @@ This project is part of the DeepSeek Harness plugin family maintained by [PerryL
|
|
|
366
382
|
| **[dsh-fmea-table-check](https://github.com/PerryLink/dsh-fmea-table-check)** | |
|
|
367
383
|
| **[dsh-forecast-penalty](https://github.com/PerryLink/dsh-forecast-penalty)** | |
|
|
368
384
|
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | |
|
|
369
|
-
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | |
|
|
385
|
+
| **[dsh-github-bot](https://github.com/PerryLink/dsh-github-bot)** | |
|
|
370
386
|
| **[dsh-gongwen-flow-check](https://github.com/PerryLink/dsh-gongwen-flow-check)** | |
|
|
371
387
|
| **[dsh-gongwen-word-check](https://github.com/PerryLink/dsh-gongwen-word-check)** | |
|
|
372
388
|
| **[dsh-guard-plan-qc](https://github.com/PerryLink/dsh-guard-plan-qc)** | |
|
|
@@ -394,48 +410,42 @@ This project is part of the DeepSeek Harness plugin family maintained by [PerryL
|
|
|
394
410
|
| **[dsh-ota-review-check](https://github.com/PerryLink/dsh-ota-review-check)** | |
|
|
395
411
|
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | |
|
|
396
412
|
| **[dsh-paper-doc-adapter](https://github.com/PerryLink/dsh-paper-doc-adapter)** | |
|
|
413
|
+
| **[dsh-param-repair](https://github.com/PerryLink/dsh-param-repair)** | |
|
|
397
414
|
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | |
|
|
398
415
|
| **[dsh-permit-report-check](https://github.com/PerryLink/dsh-permit-report-check)** | |
|
|
416
|
+
| **[dsh-phocinae](https://github.com/PerryLink/dsh-phocinae)** | |
|
|
417
|
+
| **[dsh-phone-inbox](https://github.com/PerryLink/dsh-phone-inbox)** | |
|
|
399
418
|
| **[dsh-pipeline-check](https://github.com/PerryLink/dsh-pipeline-check)** | |
|
|
400
419
|
| **[dsh-pleading-draft](https://github.com/PerryLink/dsh-pleading-draft)** | |
|
|
401
|
-
| **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | 🚫 RETIRED (repo archived) |
|
|
402
|
-
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | |
|
|
403
|
-
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | 🚫 RETIRED (repo archived) |
|
|
404
|
-
| **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | 🚫 RETIRED (repo archived) |
|
|
405
420
|
| **[dsh-policy-brief-draft](https://github.com/PerryLink/dsh-policy-brief-draft)** | |
|
|
406
421
|
| **[dsh-power-loss-split](https://github.com/PerryLink/dsh-power-loss-split)** | |
|
|
407
422
|
| **[dsh-power-ticket-check](https://github.com/PerryLink/dsh-power-ticket-check)** | |
|
|
408
423
|
| **[dsh-ppap-check](https://github.com/PerryLink/dsh-ppap-check)** | |
|
|
424
|
+
| **[dsh-primer](https://github.com/PerryLink/dsh-primer)** | |
|
|
409
425
|
| **[dsh-protest-deadline](https://github.com/PerryLink/dsh-protest-deadline)** | |
|
|
410
426
|
| **[dsh-railway-window](https://github.com/PerryLink/dsh-railway-window)** | |
|
|
427
|
+
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 FROZEN — see the repo README |
|
|
411
428
|
| **[dsh-repair-order-qc](https://github.com/PerryLink/dsh-repair-order-qc)** | |
|
|
412
429
|
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | |
|
|
413
430
|
| **[dsh-review-reply-check](https://github.com/PerryLink/dsh-review-reply-check)** | |
|
|
414
431
|
| **[dsh-rulefile-check](https://github.com/PerryLink/dsh-rulefile-check)** | |
|
|
415
432
|
| **[dsh-safety-brief-check](https://github.com/PerryLink/dsh-safety-brief-check)** | |
|
|
433
|
+
| **[dsh-scaffold](https://github.com/PerryLink/dsh-scaffold)** | |
|
|
416
434
|
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | 🧊 FROZEN — see the repo README |
|
|
435
|
+
| **[dsh-security-pack](https://github.com/PerryLink/dsh-security-pack)** | |
|
|
436
|
+
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 RETIRED — see the repo README |
|
|
417
437
|
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | |
|
|
418
438
|
| **[dsh-site-log-check](https://github.com/PerryLink/dsh-site-log-check)** | |
|
|
419
|
-
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | |
|
|
420
439
|
| **[dsh-soe-decision-check](https://github.com/PerryLink/dsh-soe-decision-check)** | |
|
|
421
440
|
| **[dsh-soilwater-check](https://github.com/PerryLink/dsh-soilwater-check)** | |
|
|
422
441
|
| **[dsh-sop-sync-check](https://github.com/PerryLink/dsh-sop-sync-check)** | |
|
|
423
442
|
| **[dsh-spc-gbt-adapter](https://github.com/PerryLink/dsh-spc-gbt-adapter)** | |
|
|
424
443
|
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | |
|
|
444
|
+
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 RETIRED — see the repo README |
|
|
425
445
|
| **[dsh-tender-extract](https://github.com/PerryLink/dsh-tender-extract)** | |
|
|
426
446
|
| **[dsh-tender-matrix](https://github.com/PerryLink/dsh-tender-matrix)** | |
|
|
427
447
|
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | |
|
|
428
|
-
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | 🚫 RETIRED (repo archived) |
|
|
429
|
-
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | |
|
|
430
448
|
| **[dsh-warranty-calc](https://github.com/PerryLink/dsh-warranty-calc)** | |
|
|
431
|
-
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 FROZEN — see the repo README |
|
|
432
|
-
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 FROZEN — see the repo README |
|
|
433
|
-
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 FROZEN — see the repo README |
|
|
434
|
-
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 FROZEN — see the repo README |
|
|
435
|
-
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 FROZEN — see the repo README |
|
|
436
|
-
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 RETIRED (repo archived) |
|
|
437
|
-
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 RETIRED (repo archived) |
|
|
438
|
-
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 RETIRED (repo archived) |
|
|
439
449
|
|
|
440
450
|
</details>
|
|
441
451
|
|
package/README.es.md
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
Exportador de observabilidad para DeepSeek Harness: spans de turn/step/llamada de herramienta/generación LLM, métricas de tokens y coste en USD, lotes asíncronos, búfer offline acotado y reintentos con backoff exponencial; usa OTLP, Langfuse o ambos.
|
|
13
13
|
|
|
14
|
+
Última verificación: DeepSeek Harness `dsh-v0.2.3-alpha.1` (2026-11-22).
|
|
15
|
+
|
|
14
16
|
[Instalar](#instalación-en-tres-pasos) · [Configuración](#configuración) · [FAQ](#faq) · [简体中文](README.md) · [English](README.en.md) · [Español](README.es.md) · [Português](README.pt.md) · [हिन्दी](README.hi.md)
|
|
15
17
|
|
|
16
18
|
[](LICENSE)
|
|
@@ -43,6 +45,10 @@ dsh plugin --profile <name> add dsh-observe
|
|
|
43
45
|
<img src="docs/assets/dsh-observe-flow-v5-light.svg" width="100%" alt="Estructura de dsh-observe (una bifurcación en dos canalizaciones alrededor de un búfer acotado): session/event alimenta el collector (spans turn/step/tool/llm y métricas observe.tokens, observe.cost y observe.context_tokens, ids sha256 deterministas), luego sanitize (redacción por nombre de clave, patrones de secretos integrados y presupuestos de prompt/completion 4000 y herramienta 2000/2000) sanea cada registro antes de cualquier cola; el registro se bifurca en dos canalizaciones independientes, otlp y langfuse, cada una con cola (256 registros o 5000ms, maxQueueRecords 2000) → flush/retry (5 intentos, 1000ms × 2 con tope de 60000ms) → su endpoint; el agotamiento de reintentos y el desbordamiento de cola caen en el búfer durable y acotado entre las pistas (10000 registros, expulsión del más antiguo, revalidación zod al leer, sobrevive al reinicio), vaciado de vuelta a ambos endpoints cada 30000ms por el riel discontinuo de la derecha; abajo a la izquierda está la superficie remota opcional observe/status y observe/setEnabled, y la banda inferior fija el contrato de apagado por defecto y los tres eventos escuchados">
|
|
44
46
|
</picture>
|
|
45
47
|
|
|
48
|
+

|
|
49
|
+
|
|
50
|
+
*Repetición animada de una ejecución real registrada en este repositorio.*
|
|
51
|
+
|
|
46
52
|
## Instalación en tres pasos
|
|
47
53
|
|
|
48
54
|
1. **Instalar** (elige una):
|
|
@@ -293,7 +299,7 @@ Si hay otro plugin de observabilidad en el mismo perfil, atención a dos cosas:
|
|
|
293
299
|
|
|
294
300
|
| Dimensión | Estado |
|
|
295
301
|
|---|---|
|
|
296
|
-
| Harness | DeepSeek Harness `dsh-v0.2.
|
|
302
|
+
| Harness | DeepSeek Harness `dsh-v0.2.2-rc.4` (adaptado el 2026-11-18): el formato de sesión V4 representa el resultado de una herramienta como un mensaje de primera clase `role: 'tool'` con `toolCallId` + `content` + `isError` opcional en el nivel superior — el bloque de contenido `tool-result` de V3 ya no está en el `ContentBlockMap` del host, y este plugin solo lee la forma V4 (un log V3 anterior a la actualización todavía se proyecta por una ruta de compatibilidad de solo lectura). Los demás rasgos del formato V3 se mantienen: el flujo del asistente va embebido en `assistant/message` / `assistant/attempt`, y el system prompt es el nodo 0 de la superficie (`system/message`); el plugin consume solo el flujo de eventos en vivo y nunca lee ficheros de log de sesión. `engines.dsh` es `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`; el humo de instalación del perfil lo cubre el workflow de compatibilidad. |
|
|
297
303
|
| Node | `^22.19.0 \|\| >=24.9.0`, ESM puro (`"type": "module"`) |
|
|
298
304
|
| Backends | OpenTelemetry OTLP/HTTP (trazas + métricas, codificación JSON) y Langfuse (observabilidad LLM) — uno u otro, o ambos |
|
|
299
305
|
| Modelo | Independiente del modelo: exporta el flujo session/event; no realiza llamadas a modelos |
|
|
@@ -344,18 +350,28 @@ Este proyecto forma parte de la familia de plugins de DeepSeek Harness mantenida
|
|
|
344
350
|
| **[dsh-aqua-input-check](https://github.com/PerryLink/dsh-aqua-input-check)** | |
|
|
345
351
|
| **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** | |
|
|
346
352
|
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | |
|
|
347
|
-
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | 🧊 CONGELADO — ver el README del
|
|
353
|
+
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | 🧊 CONGELADO — ver el README del repositorio |
|
|
354
|
+
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 RETIRADO — ver el README del repositorio |
|
|
348
355
|
| **[dsh-bid-ca-precheck](https://github.com/PerryLink/dsh-bid-ca-precheck)** | |
|
|
349
356
|
| **[dsh-bid-qual-check](https://github.com/PerryLink/dsh-bid-qual-check)** | |
|
|
350
|
-
| **[dsh-
|
|
357
|
+
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 CONGELADO — ver el README del repositorio |
|
|
358
|
+
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | 🧊 CONGELADO — ver el README del repositorio |
|
|
359
|
+
| **[dsh-check-pack](https://github.com/PerryLink/dsh-check-pack)** | |
|
|
351
360
|
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | |
|
|
361
|
+
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 CONGELADO — ver el README del repositorio |
|
|
352
362
|
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | |
|
|
363
|
+
| **[dsh-clinic](https://github.com/PerryLink/dsh-clinic)** | |
|
|
364
|
+
| **[dsh-codemod](https://github.com/PerryLink/dsh-codemod)** | |
|
|
365
|
+
| **[dsh-community-bench](https://github.com/PerryLink/dsh-community-bench)** | 🧊 CONGELADO — ver el README del repositorio |
|
|
353
366
|
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | |
|
|
354
367
|
| **[dsh-contract-stance](https://github.com/PerryLink/dsh-contract-stance)** | |
|
|
355
368
|
| **[dsh-customs-doc-check](https://github.com/PerryLink/dsh-customs-doc-check)** | |
|
|
356
369
|
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | 🧊 CONGELADO — ver el README del repo |
|
|
370
|
+
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 CONGELADO — ver el README del repositorio |
|
|
357
371
|
| **[dsh-demurrage-ledger](https://github.com/PerryLink/dsh-demurrage-ledger)** | |
|
|
372
|
+
| **[dsh-dida](https://github.com/PerryLink/dsh-dida)** | |
|
|
358
373
|
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | |
|
|
374
|
+
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 CONGELADO — ver el README del repositorio |
|
|
359
375
|
| **[dsh-drill-script-check](https://github.com/PerryLink/dsh-drill-script-check)** | |
|
|
360
376
|
| **[dsh-eia-guide-check](https://github.com/PerryLink/dsh-eia-guide-check)** | |
|
|
361
377
|
| **[dsh-emergency-plan](https://github.com/PerryLink/dsh-emergency-plan)** | |
|
|
@@ -366,7 +382,7 @@ Este proyecto forma parte de la familia de plugins de DeepSeek Harness mantenida
|
|
|
366
382
|
| **[dsh-fmea-table-check](https://github.com/PerryLink/dsh-fmea-table-check)** | |
|
|
367
383
|
| **[dsh-forecast-penalty](https://github.com/PerryLink/dsh-forecast-penalty)** | |
|
|
368
384
|
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | |
|
|
369
|
-
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | |
|
|
385
|
+
| **[dsh-github-bot](https://github.com/PerryLink/dsh-github-bot)** | |
|
|
370
386
|
| **[dsh-gongwen-flow-check](https://github.com/PerryLink/dsh-gongwen-flow-check)** | |
|
|
371
387
|
| **[dsh-gongwen-word-check](https://github.com/PerryLink/dsh-gongwen-word-check)** | |
|
|
372
388
|
| **[dsh-guard-plan-qc](https://github.com/PerryLink/dsh-guard-plan-qc)** | |
|
|
@@ -394,48 +410,42 @@ Este proyecto forma parte de la familia de plugins de DeepSeek Harness mantenida
|
|
|
394
410
|
| **[dsh-ota-review-check](https://github.com/PerryLink/dsh-ota-review-check)** | |
|
|
395
411
|
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | |
|
|
396
412
|
| **[dsh-paper-doc-adapter](https://github.com/PerryLink/dsh-paper-doc-adapter)** | |
|
|
413
|
+
| **[dsh-param-repair](https://github.com/PerryLink/dsh-param-repair)** | |
|
|
397
414
|
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | |
|
|
398
415
|
| **[dsh-permit-report-check](https://github.com/PerryLink/dsh-permit-report-check)** | |
|
|
416
|
+
| **[dsh-phocinae](https://github.com/PerryLink/dsh-phocinae)** | |
|
|
417
|
+
| **[dsh-phone-inbox](https://github.com/PerryLink/dsh-phone-inbox)** | |
|
|
399
418
|
| **[dsh-pipeline-check](https://github.com/PerryLink/dsh-pipeline-check)** | |
|
|
400
419
|
| **[dsh-pleading-draft](https://github.com/PerryLink/dsh-pleading-draft)** | |
|
|
401
|
-
| **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | 🚫 RETIRADO (repo archivado) |
|
|
402
|
-
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | |
|
|
403
|
-
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | 🚫 RETIRADO (repo archivado) |
|
|
404
|
-
| **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | 🚫 RETIRADO (repo archivado) |
|
|
405
420
|
| **[dsh-policy-brief-draft](https://github.com/PerryLink/dsh-policy-brief-draft)** | |
|
|
406
421
|
| **[dsh-power-loss-split](https://github.com/PerryLink/dsh-power-loss-split)** | |
|
|
407
422
|
| **[dsh-power-ticket-check](https://github.com/PerryLink/dsh-power-ticket-check)** | |
|
|
408
423
|
| **[dsh-ppap-check](https://github.com/PerryLink/dsh-ppap-check)** | |
|
|
424
|
+
| **[dsh-primer](https://github.com/PerryLink/dsh-primer)** | |
|
|
409
425
|
| **[dsh-protest-deadline](https://github.com/PerryLink/dsh-protest-deadline)** | |
|
|
410
426
|
| **[dsh-railway-window](https://github.com/PerryLink/dsh-railway-window)** | |
|
|
427
|
+
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 CONGELADO — ver el README del repositorio |
|
|
411
428
|
| **[dsh-repair-order-qc](https://github.com/PerryLink/dsh-repair-order-qc)** | |
|
|
412
429
|
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | |
|
|
413
430
|
| **[dsh-review-reply-check](https://github.com/PerryLink/dsh-review-reply-check)** | |
|
|
414
431
|
| **[dsh-rulefile-check](https://github.com/PerryLink/dsh-rulefile-check)** | |
|
|
415
432
|
| **[dsh-safety-brief-check](https://github.com/PerryLink/dsh-safety-brief-check)** | |
|
|
433
|
+
| **[dsh-scaffold](https://github.com/PerryLink/dsh-scaffold)** | |
|
|
416
434
|
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | 🧊 CONGELADO — ver el README del repo |
|
|
435
|
+
| **[dsh-security-pack](https://github.com/PerryLink/dsh-security-pack)** | |
|
|
436
|
+
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 RETIRADO — ver el README del repositorio |
|
|
417
437
|
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | |
|
|
418
438
|
| **[dsh-site-log-check](https://github.com/PerryLink/dsh-site-log-check)** | |
|
|
419
|
-
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | |
|
|
420
439
|
| **[dsh-soe-decision-check](https://github.com/PerryLink/dsh-soe-decision-check)** | |
|
|
421
440
|
| **[dsh-soilwater-check](https://github.com/PerryLink/dsh-soilwater-check)** | |
|
|
422
441
|
| **[dsh-sop-sync-check](https://github.com/PerryLink/dsh-sop-sync-check)** | |
|
|
423
442
|
| **[dsh-spc-gbt-adapter](https://github.com/PerryLink/dsh-spc-gbt-adapter)** | |
|
|
424
443
|
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | |
|
|
444
|
+
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 RETIRADO — ver el README del repositorio |
|
|
425
445
|
| **[dsh-tender-extract](https://github.com/PerryLink/dsh-tender-extract)** | |
|
|
426
446
|
| **[dsh-tender-matrix](https://github.com/PerryLink/dsh-tender-matrix)** | |
|
|
427
447
|
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | |
|
|
428
|
-
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | 🚫 RETIRADO (repo archivado) |
|
|
429
|
-
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | |
|
|
430
448
|
| **[dsh-warranty-calc](https://github.com/PerryLink/dsh-warranty-calc)** | |
|
|
431
|
-
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 CONGELADO — ver el README del repo |
|
|
432
|
-
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 CONGELADO — ver el README del repo |
|
|
433
|
-
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 CONGELADO — ver el README del repo |
|
|
434
|
-
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 CONGELADO — ver el README del repo |
|
|
435
|
-
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 CONGELADO — ver el README del repo |
|
|
436
|
-
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 RETIRADO (repo archivado) |
|
|
437
|
-
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 RETIRADO (repo archivado) |
|
|
438
|
-
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 RETIRADO (repo archivado) |
|
|
439
449
|
|
|
440
450
|
</details>
|
|
441
451
|
|
package/README.hi.md
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
DeepSeek Harness के लिए अवलोकनीयता एक्सपोर्टर: turn/step/टूल-कॉल/LLM स्पैन, टोकन और USD लागत मेट्रिक्स, असिंक्रोनस बैचिंग, सीमित ऑफ़लाइन बफ़र और एक्सपोनेंशियल बैकऑफ़ पुनःप्रयास; OTLP, Langfuse या दोनों इस्तेमाल करें।
|
|
13
13
|
|
|
14
|
+
अंतिम सत्यापन: DeepSeek Harness `dsh-v0.2.3-alpha.1` (2026-11-22).
|
|
15
|
+
|
|
14
16
|
[इंस्टॉल](#तीन-चरणों-में-शुरुआत) · [कॉन्फ़िगरेशन](#कॉन्फ़िगरेशन) · [FAQ](#faq) · [简体中文](README.md) · [English](README.en.md) · [Español](README.es.md) · [Português](README.pt.md) · [हिन्दी](README.hi.md)
|
|
15
17
|
|
|
16
18
|
[](LICENSE)
|
|
@@ -43,6 +45,10 @@ dsh plugin --profile <name> add dsh-observe
|
|
|
43
45
|
<img src="docs/assets/dsh-observe-flow-v5-light.svg" width="100%" alt="dsh-observe संरचना (एक सीमित spool के इर्द-गिर्द दो पाइपलाइनों में फोर्क): session/event कलेक्टर को feed करता है (turn/step/tool/llm स्पैन तथा observe.tokens, observe.cost, observe.context_tokens मेट्रिक्स, नियतात्मक sha256 id), फिर sanitize (कुंजी-नाम redaction, अंतर्निहित सीक्रेट पैटर्न, prompt/completion 4000 और tool 2000/2000 अक्षर बजट) किसी भी कतार से पहले हर रिकॉर्ड साफ़ करता है; रिकॉर्ड दो स्वतंत्र पाइपलाइनों otlp और langfuse में बँटता है, हर एक कतार (256 रिकॉर्ड या 5000ms, maxQueueRecords 2000) → flush/retry (5 प्रयास, 1000ms × 2 बैकऑफ़, सीमा 60000ms) → अपने endpoint तक; पुनःप्रयास समाप्त होने और कतार भर जाने पर रिकॉर्ड दोनों पटरियों के बीच के सीमित storage-domain spool में जाते हैं (10000 रिकॉर्ड, सबसे पुराना पहले निकलता है, पढ़ते समय zod पुनः सत्यापन, पुनः आरंभ के बाद भी रहता है), और दाईं ओर की बिंदुदार रेल से हर 30000ms में दोनों endpoints को वापस भरे जाते हैं; नीचे बाईं ओर वैकल्पिक remote सतह observe/status और observe/setEnabled है, और नीचे की पट्टी डिफ़ॉल्ट-बंद अनुबंध तथा तीन सुने जाने वाले इवेंट बताती है">
|
|
44
46
|
</picture>
|
|
45
47
|
|
|
48
|
+

|
|
49
|
+
|
|
50
|
+
*इस रिपॉज़िटरी में दर्ज असली रन का एनिमेटेड रीप्ले।*
|
|
51
|
+
|
|
46
52
|
## तीन चरणों में शुरुआत
|
|
47
53
|
|
|
48
54
|
1. **इंस्टॉल** (एक चुनें):
|
|
@@ -293,7 +299,7 @@ id-लक्षित ओवरराइड का उदाहरण (पूर
|
|
|
293
299
|
|
|
294
300
|
| आयाम | स्थिति |
|
|
295
301
|
|---|---|
|
|
296
|
-
| Harness | DeepSeek Harness `dsh-v0.2.
|
|
302
|
+
| Harness | DeepSeek Harness `dsh-v0.2.2-rc.4` (2026-11-18 को अनुकूलित): सत्र प्रारूप V4 टूल परिणाम को प्रथम-श्रेणी `role: 'tool'` संदेश के रूप में दर्शाता है जिसमें शीर्ष स्तर पर `toolCallId` + `content` + वैकल्पिक `isError` होता है — V3 का `tool-result` कंटेंट ब्लॉक होस्ट के `ContentBlockMap` से हट चुका है, और यह प्लगइन केवल V4 आकार पढ़ता है (अपग्रेड-पूर्व V3 लॉग अब भी केवल-पढ़ने योग्य संगतता पथ से प्रक्षेपित होता है)। V3 प्रारूप के बाकी लक्षण जारी हैं: असिस्टेंट स्ट्रीम `assistant/message` / `assistant/attempt` में अंतर्निहित है, और system prompt सतह का नोड 0 (`system/message`) है; प्लगइन केवल लाइव घटना-धारा उपभोग करता है और सत्र लॉग फ़ाइलें कभी नहीं पढ़ता। `engines.dsh` है `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`; profile इंस्टॉल स्मोक compat वर्कफ़्लो से कवर है। |
|
|
297
303
|
| Node | `^22.19.0 \|\| >=24.9.0`, शुद्ध ESM (`"type": "module"`) |
|
|
298
304
|
| बैकएंड | OpenTelemetry OTLP/HTTP (ट्रेस + मेट्रिक्स, JSON एन्कोडिंग) और Langfuse (LLM अवलोकनीयता) — एक या दोनों |
|
|
299
305
|
| मॉडल | मॉडल-निरपेक्ष: यह session/event धारा एक्सपोर्ट करता है; कोई मॉडल कॉल नहीं करता |
|
|
@@ -344,18 +350,28 @@ Topics: `dsh`, `dsh-plugin`, `deepseek-harness`, `deepseek`, `cordis`, `observab
|
|
|
344
350
|
| **[dsh-aqua-input-check](https://github.com/PerryLink/dsh-aqua-input-check)** | |
|
|
345
351
|
| **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** | |
|
|
346
352
|
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | |
|
|
347
|
-
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | 🧊 फ़्रोज़न —
|
|
353
|
+
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
|
|
354
|
+
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 सेवानिवृत्त — रिपॉज़िटरी README देखें |
|
|
348
355
|
| **[dsh-bid-ca-precheck](https://github.com/PerryLink/dsh-bid-ca-precheck)** | |
|
|
349
356
|
| **[dsh-bid-qual-check](https://github.com/PerryLink/dsh-bid-qual-check)** | |
|
|
350
|
-
| **[dsh-
|
|
357
|
+
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
|
|
358
|
+
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
|
|
359
|
+
| **[dsh-check-pack](https://github.com/PerryLink/dsh-check-pack)** | |
|
|
351
360
|
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | |
|
|
361
|
+
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
|
|
352
362
|
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | |
|
|
363
|
+
| **[dsh-clinic](https://github.com/PerryLink/dsh-clinic)** | |
|
|
364
|
+
| **[dsh-codemod](https://github.com/PerryLink/dsh-codemod)** | |
|
|
365
|
+
| **[dsh-community-bench](https://github.com/PerryLink/dsh-community-bench)** | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
|
|
353
366
|
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | |
|
|
354
367
|
| **[dsh-contract-stance](https://github.com/PerryLink/dsh-contract-stance)** | |
|
|
355
368
|
| **[dsh-customs-doc-check](https://github.com/PerryLink/dsh-customs-doc-check)** | |
|
|
356
369
|
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | 🧊 फ़्रोज़न — रेपो README देखें |
|
|
370
|
+
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
|
|
357
371
|
| **[dsh-demurrage-ledger](https://github.com/PerryLink/dsh-demurrage-ledger)** | |
|
|
372
|
+
| **[dsh-dida](https://github.com/PerryLink/dsh-dida)** | |
|
|
358
373
|
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | |
|
|
374
|
+
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
|
|
359
375
|
| **[dsh-drill-script-check](https://github.com/PerryLink/dsh-drill-script-check)** | |
|
|
360
376
|
| **[dsh-eia-guide-check](https://github.com/PerryLink/dsh-eia-guide-check)** | |
|
|
361
377
|
| **[dsh-emergency-plan](https://github.com/PerryLink/dsh-emergency-plan)** | |
|
|
@@ -366,7 +382,7 @@ Topics: `dsh`, `dsh-plugin`, `deepseek-harness`, `deepseek`, `cordis`, `observab
|
|
|
366
382
|
| **[dsh-fmea-table-check](https://github.com/PerryLink/dsh-fmea-table-check)** | |
|
|
367
383
|
| **[dsh-forecast-penalty](https://github.com/PerryLink/dsh-forecast-penalty)** | |
|
|
368
384
|
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | |
|
|
369
|
-
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | |
|
|
385
|
+
| **[dsh-github-bot](https://github.com/PerryLink/dsh-github-bot)** | |
|
|
370
386
|
| **[dsh-gongwen-flow-check](https://github.com/PerryLink/dsh-gongwen-flow-check)** | |
|
|
371
387
|
| **[dsh-gongwen-word-check](https://github.com/PerryLink/dsh-gongwen-word-check)** | |
|
|
372
388
|
| **[dsh-guard-plan-qc](https://github.com/PerryLink/dsh-guard-plan-qc)** | |
|
|
@@ -394,48 +410,42 @@ Topics: `dsh`, `dsh-plugin`, `deepseek-harness`, `deepseek`, `cordis`, `observab
|
|
|
394
410
|
| **[dsh-ota-review-check](https://github.com/PerryLink/dsh-ota-review-check)** | |
|
|
395
411
|
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | |
|
|
396
412
|
| **[dsh-paper-doc-adapter](https://github.com/PerryLink/dsh-paper-doc-adapter)** | |
|
|
413
|
+
| **[dsh-param-repair](https://github.com/PerryLink/dsh-param-repair)** | |
|
|
397
414
|
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | |
|
|
398
415
|
| **[dsh-permit-report-check](https://github.com/PerryLink/dsh-permit-report-check)** | |
|
|
416
|
+
| **[dsh-phocinae](https://github.com/PerryLink/dsh-phocinae)** | |
|
|
417
|
+
| **[dsh-phone-inbox](https://github.com/PerryLink/dsh-phone-inbox)** | |
|
|
399
418
|
| **[dsh-pipeline-check](https://github.com/PerryLink/dsh-pipeline-check)** | |
|
|
400
419
|
| **[dsh-pleading-draft](https://github.com/PerryLink/dsh-pleading-draft)** | |
|
|
401
|
-
| **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | 🚫 रिटायर्ड (रेपो संग्रहीत) |
|
|
402
|
-
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | |
|
|
403
|
-
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | 🚫 रिटायर्ड (रेपो संग्रहीत) |
|
|
404
|
-
| **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | 🚫 रिटायर्ड (रेपो संग्रहीत) |
|
|
405
420
|
| **[dsh-policy-brief-draft](https://github.com/PerryLink/dsh-policy-brief-draft)** | |
|
|
406
421
|
| **[dsh-power-loss-split](https://github.com/PerryLink/dsh-power-loss-split)** | |
|
|
407
422
|
| **[dsh-power-ticket-check](https://github.com/PerryLink/dsh-power-ticket-check)** | |
|
|
408
423
|
| **[dsh-ppap-check](https://github.com/PerryLink/dsh-ppap-check)** | |
|
|
424
|
+
| **[dsh-primer](https://github.com/PerryLink/dsh-primer)** | |
|
|
409
425
|
| **[dsh-protest-deadline](https://github.com/PerryLink/dsh-protest-deadline)** | |
|
|
410
426
|
| **[dsh-railway-window](https://github.com/PerryLink/dsh-railway-window)** | |
|
|
427
|
+
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
|
|
411
428
|
| **[dsh-repair-order-qc](https://github.com/PerryLink/dsh-repair-order-qc)** | |
|
|
412
429
|
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | |
|
|
413
430
|
| **[dsh-review-reply-check](https://github.com/PerryLink/dsh-review-reply-check)** | |
|
|
414
431
|
| **[dsh-rulefile-check](https://github.com/PerryLink/dsh-rulefile-check)** | |
|
|
415
432
|
| **[dsh-safety-brief-check](https://github.com/PerryLink/dsh-safety-brief-check)** | |
|
|
433
|
+
| **[dsh-scaffold](https://github.com/PerryLink/dsh-scaffold)** | |
|
|
416
434
|
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | 🧊 फ़्रोज़न — रेपो README देखें |
|
|
435
|
+
| **[dsh-security-pack](https://github.com/PerryLink/dsh-security-pack)** | |
|
|
436
|
+
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 सेवानिवृत्त — रिपॉज़िटरी README देखें |
|
|
417
437
|
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | |
|
|
418
438
|
| **[dsh-site-log-check](https://github.com/PerryLink/dsh-site-log-check)** | |
|
|
419
|
-
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | |
|
|
420
439
|
| **[dsh-soe-decision-check](https://github.com/PerryLink/dsh-soe-decision-check)** | |
|
|
421
440
|
| **[dsh-soilwater-check](https://github.com/PerryLink/dsh-soilwater-check)** | |
|
|
422
441
|
| **[dsh-sop-sync-check](https://github.com/PerryLink/dsh-sop-sync-check)** | |
|
|
423
442
|
| **[dsh-spc-gbt-adapter](https://github.com/PerryLink/dsh-spc-gbt-adapter)** | |
|
|
424
443
|
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | |
|
|
444
|
+
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 सेवानिवृत्त — रिपॉज़िटरी README देखें |
|
|
425
445
|
| **[dsh-tender-extract](https://github.com/PerryLink/dsh-tender-extract)** | |
|
|
426
446
|
| **[dsh-tender-matrix](https://github.com/PerryLink/dsh-tender-matrix)** | |
|
|
427
447
|
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | |
|
|
428
|
-
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | 🚫 रिटायर्ड (रेपो संग्रहीत) |
|
|
429
|
-
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | |
|
|
430
448
|
| **[dsh-warranty-calc](https://github.com/PerryLink/dsh-warranty-calc)** | |
|
|
431
|
-
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 फ़्रोज़न — रेपो README देखें |
|
|
432
|
-
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 फ़्रोज़न — रेपो README देखें |
|
|
433
|
-
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 फ़्रोज़न — रेपो README देखें |
|
|
434
|
-
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 फ़्रोज़न — रेपो README देखें |
|
|
435
|
-
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 फ़्रोज़न — रेपो README देखें |
|
|
436
|
-
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 रिटायर्ड (रेपो संग्रहीत) |
|
|
437
|
-
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 रिटायर्ड (रेपो संग्रहीत) |
|
|
438
|
-
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 रिटायर्ड (रेपो संग्रहीत) |
|
|
439
449
|
|
|
440
450
|
</details>
|
|
441
451
|
|
package/README.md
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
面向 DeepSeek Harness 的可观测性导出器:turn/step/工具调用/LLM 生成 span,token 与 USD 成本指标,异步批量、有界离线缓冲、指数退避重试;OTLP 与 Langfuse 接其一或两个都接。
|
|
13
13
|
|
|
14
|
+
最近一次核验:DeepSeek Harness `dsh-v0.2.3-alpha.1`(2026-11-22)。
|
|
15
|
+
|
|
14
16
|
[安装](#三步上手) · [配置](#配置) · [FAQ](#faq) · [简体中文](README.md) · [English](README.en.md) · [Español](README.es.md) · [Português](README.pt.md) · [हिन्दी](README.hi.md)
|
|
15
17
|
|
|
16
18
|
[](LICENSE)
|
|
@@ -36,6 +38,10 @@ dsh plugin --profile <name> add dsh-observe
|
|
|
36
38
|
|
|
37
39
|
## 它是什么
|
|
38
40
|
|
|
41
|
+

|
|
42
|
+
|
|
43
|
+
*本仓库一次真实运行的动图回放。*
|
|
44
|
+
|
|
39
45
|
`dsh-observe` 把 harness 的 `session/event` 流翻译成标准可观测协议:一个 turn 一条 trace,step、工具调用与 LLM 生成各是一个 span,token 与成本是累计指标,prompt/completion 正文先脱敏截断再入队。它只做导出——不注册任何模型工具、不注册用户可见命令,全部行为由配置决定;配置了 OTLP 或 Langfuse 之后重启,数据自己流走,没配置就什么都不采集。
|
|
40
46
|
|
|
41
47
|
<picture>
|
|
@@ -293,7 +299,7 @@ session/event 流
|
|
|
293
299
|
|
|
294
300
|
| 维度 | 状态 |
|
|
295
301
|
|---|---|
|
|
296
|
-
| Harness | DeepSeek Harness `dsh-v0.2.
|
|
302
|
+
| Harness | DeepSeek Harness `dsh-v0.2.2-rc.4`(2026-11-18 已适配):会话格式 V4 把工具结果改为 `role: 'tool'` 的一等消息,顶层携带 `toolCallId` + `content` + 可选 `isError` —— V3 的 `tool-result` 内容块已从宿主 `ContentBlockMap` 移除,本插件只读 V4 形状(升级前的 V3 日志仍可经只读兼容路径投影)。会话格式 V3 的其余特征沿用:助手流内嵌到 `assistant/message` / `assistant/attempt`,系统提示词为 surface 节点 0(`system/message`);本插件只消费实时事件流,从不读取会话日志文件。`engines.dsh` 为 `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`,profile 安装冒烟由 compat 工作流覆盖。 |
|
|
297
303
|
| Node | `^22.19.0 \|\| >=24.9.0`,纯 ESM(`"type": "module"`) |
|
|
298
304
|
| 后端 | OpenTelemetry OTLP/HTTP(traces + metrics,JSON 编码)与 Langfuse(LLM 可观测)——二选一或同时 |
|
|
299
305
|
| 模型 | 与模型无关:它导出 session/event 流,自身不调用任何模型 |
|
|
@@ -345,17 +351,27 @@ Topics:`dsh`, `dsh-plugin`, `deepseek-harness`, `deepseek`, `cordis`, `observa
|
|
|
345
351
|
| **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** | |
|
|
346
352
|
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | |
|
|
347
353
|
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | 🧊 已冻结 — 见仓库 README |
|
|
354
|
+
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 已退役 — 见仓库 README |
|
|
348
355
|
| **[dsh-bid-ca-precheck](https://github.com/PerryLink/dsh-bid-ca-precheck)** | |
|
|
349
356
|
| **[dsh-bid-qual-check](https://github.com/PerryLink/dsh-bid-qual-check)** | |
|
|
357
|
+
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 已冻结 — 见仓库 README |
|
|
350
358
|
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | 🧊 已冻结 — 见仓库 README |
|
|
359
|
+
| **[dsh-check-pack](https://github.com/PerryLink/dsh-check-pack)** | |
|
|
351
360
|
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | |
|
|
361
|
+
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 已冻结 — 见仓库 README |
|
|
352
362
|
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | |
|
|
363
|
+
| **[dsh-clinic](https://github.com/PerryLink/dsh-clinic)** | |
|
|
364
|
+
| **[dsh-codemod](https://github.com/PerryLink/dsh-codemod)** | |
|
|
365
|
+
| **[dsh-community-bench](https://github.com/PerryLink/dsh-community-bench)** | 🧊 已冻结 — 见仓库 README |
|
|
353
366
|
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | |
|
|
354
367
|
| **[dsh-contract-stance](https://github.com/PerryLink/dsh-contract-stance)** | |
|
|
355
368
|
| **[dsh-customs-doc-check](https://github.com/PerryLink/dsh-customs-doc-check)** | |
|
|
356
369
|
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | 🧊 已冻结 — 见仓库 README |
|
|
370
|
+
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 已冻结 — 见仓库 README |
|
|
357
371
|
| **[dsh-demurrage-ledger](https://github.com/PerryLink/dsh-demurrage-ledger)** | |
|
|
372
|
+
| **[dsh-dida](https://github.com/PerryLink/dsh-dida)** | |
|
|
358
373
|
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | |
|
|
374
|
+
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 已冻结 — 见仓库 README |
|
|
359
375
|
| **[dsh-drill-script-check](https://github.com/PerryLink/dsh-drill-script-check)** | |
|
|
360
376
|
| **[dsh-eia-guide-check](https://github.com/PerryLink/dsh-eia-guide-check)** | |
|
|
361
377
|
| **[dsh-emergency-plan](https://github.com/PerryLink/dsh-emergency-plan)** | |
|
|
@@ -366,7 +382,7 @@ Topics:`dsh`, `dsh-plugin`, `deepseek-harness`, `deepseek`, `cordis`, `observa
|
|
|
366
382
|
| **[dsh-fmea-table-check](https://github.com/PerryLink/dsh-fmea-table-check)** | |
|
|
367
383
|
| **[dsh-forecast-penalty](https://github.com/PerryLink/dsh-forecast-penalty)** | |
|
|
368
384
|
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | |
|
|
369
|
-
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | |
|
|
385
|
+
| **[dsh-github-bot](https://github.com/PerryLink/dsh-github-bot)** | |
|
|
370
386
|
| **[dsh-gongwen-flow-check](https://github.com/PerryLink/dsh-gongwen-flow-check)** | |
|
|
371
387
|
| **[dsh-gongwen-word-check](https://github.com/PerryLink/dsh-gongwen-word-check)** | |
|
|
372
388
|
| **[dsh-guard-plan-qc](https://github.com/PerryLink/dsh-guard-plan-qc)** | |
|
|
@@ -394,48 +410,42 @@ Topics:`dsh`, `dsh-plugin`, `deepseek-harness`, `deepseek`, `cordis`, `observa
|
|
|
394
410
|
| **[dsh-ota-review-check](https://github.com/PerryLink/dsh-ota-review-check)** | |
|
|
395
411
|
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | |
|
|
396
412
|
| **[dsh-paper-doc-adapter](https://github.com/PerryLink/dsh-paper-doc-adapter)** | |
|
|
413
|
+
| **[dsh-param-repair](https://github.com/PerryLink/dsh-param-repair)** | |
|
|
397
414
|
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | |
|
|
398
415
|
| **[dsh-permit-report-check](https://github.com/PerryLink/dsh-permit-report-check)** | |
|
|
416
|
+
| **[dsh-phocinae](https://github.com/PerryLink/dsh-phocinae)** | |
|
|
417
|
+
| **[dsh-phone-inbox](https://github.com/PerryLink/dsh-phone-inbox)** | |
|
|
399
418
|
| **[dsh-pipeline-check](https://github.com/PerryLink/dsh-pipeline-check)** | |
|
|
400
419
|
| **[dsh-pleading-draft](https://github.com/PerryLink/dsh-pleading-draft)** | |
|
|
401
|
-
| **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | 🚫 已退役(仓库已归档) |
|
|
402
|
-
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | |
|
|
403
|
-
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | 🚫 已退役(仓库已归档) |
|
|
404
|
-
| **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | 🚫 已退役(仓库已归档) |
|
|
405
420
|
| **[dsh-policy-brief-draft](https://github.com/PerryLink/dsh-policy-brief-draft)** | |
|
|
406
421
|
| **[dsh-power-loss-split](https://github.com/PerryLink/dsh-power-loss-split)** | |
|
|
407
422
|
| **[dsh-power-ticket-check](https://github.com/PerryLink/dsh-power-ticket-check)** | |
|
|
408
423
|
| **[dsh-ppap-check](https://github.com/PerryLink/dsh-ppap-check)** | |
|
|
424
|
+
| **[dsh-primer](https://github.com/PerryLink/dsh-primer)** | |
|
|
409
425
|
| **[dsh-protest-deadline](https://github.com/PerryLink/dsh-protest-deadline)** | |
|
|
410
426
|
| **[dsh-railway-window](https://github.com/PerryLink/dsh-railway-window)** | |
|
|
427
|
+
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 已冻结 — 见仓库 README |
|
|
411
428
|
| **[dsh-repair-order-qc](https://github.com/PerryLink/dsh-repair-order-qc)** | |
|
|
412
429
|
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | |
|
|
413
430
|
| **[dsh-review-reply-check](https://github.com/PerryLink/dsh-review-reply-check)** | |
|
|
414
431
|
| **[dsh-rulefile-check](https://github.com/PerryLink/dsh-rulefile-check)** | |
|
|
415
432
|
| **[dsh-safety-brief-check](https://github.com/PerryLink/dsh-safety-brief-check)** | |
|
|
433
|
+
| **[dsh-scaffold](https://github.com/PerryLink/dsh-scaffold)** | |
|
|
416
434
|
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | 🧊 已冻结 — 见仓库 README |
|
|
435
|
+
| **[dsh-security-pack](https://github.com/PerryLink/dsh-security-pack)** | |
|
|
436
|
+
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 已退役 — 见仓库 README |
|
|
417
437
|
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | |
|
|
418
438
|
| **[dsh-site-log-check](https://github.com/PerryLink/dsh-site-log-check)** | |
|
|
419
|
-
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | |
|
|
420
439
|
| **[dsh-soe-decision-check](https://github.com/PerryLink/dsh-soe-decision-check)** | |
|
|
421
440
|
| **[dsh-soilwater-check](https://github.com/PerryLink/dsh-soilwater-check)** | |
|
|
422
441
|
| **[dsh-sop-sync-check](https://github.com/PerryLink/dsh-sop-sync-check)** | |
|
|
423
442
|
| **[dsh-spc-gbt-adapter](https://github.com/PerryLink/dsh-spc-gbt-adapter)** | |
|
|
424
443
|
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | |
|
|
444
|
+
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 已退役 — 见仓库 README |
|
|
425
445
|
| **[dsh-tender-extract](https://github.com/PerryLink/dsh-tender-extract)** | |
|
|
426
446
|
| **[dsh-tender-matrix](https://github.com/PerryLink/dsh-tender-matrix)** | |
|
|
427
447
|
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | |
|
|
428
|
-
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | 🚫 已退役(仓库已归档) |
|
|
429
|
-
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | |
|
|
430
448
|
| **[dsh-warranty-calc](https://github.com/PerryLink/dsh-warranty-calc)** | |
|
|
431
|
-
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 已冻结 — 见仓库 README |
|
|
432
|
-
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 已冻结 — 见仓库 README |
|
|
433
|
-
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 已冻结 — 见仓库 README |
|
|
434
|
-
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 已冻结 — 见仓库 README |
|
|
435
|
-
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 已冻结 — 见仓库 README |
|
|
436
|
-
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 已退役(仓库已归档) |
|
|
437
|
-
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 已退役(仓库已归档) |
|
|
438
|
-
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 已退役(仓库已归档) |
|
|
439
449
|
|
|
440
450
|
</details>
|
|
441
451
|
|