dsh-observe 0.2.29 → 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 +4 -0
- package/README.en.md +26 -16
- package/README.es.md +28 -18
- package/README.hi.md +28 -18
- package/README.md +26 -16
- package/README.pt.md +28 -18
- 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/types/version.d.ts +1 -1
- package/lib/types/version.js +1 -1
- package/package.json +9 -8
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -60,6 +60,10 @@ 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
|
+
|
|
63
67
|
## [0.2.29] - 2026-11-18
|
|
64
68
|
|
|
65
69
|
## [0.2.20] - 2026-10-04
|
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
|
|
@@ -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):
|
|
@@ -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. **इंस्टॉल** (एक चुनें):
|
|
@@ -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>
|
|
@@ -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
|
|
package/README.pt.md
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
Exportador de observabilidade para o DeepSeek Harness: spans de turn/step/chamada de ferramenta/geração LLM, métricas de tokens e custo em USD, lotes assíncronos, buffer offline limitado e novas tentativas com backoff exponencial; use OTLP, Langfuse ou ambos.
|
|
13
13
|
|
|
14
|
+
Última verificação: DeepSeek Harness `dsh-v0.2.3-alpha.1` (2026-11-22).
|
|
15
|
+
|
|
14
16
|
[Instalar](#instalação-em-três-passos) · [Configuração](#configuração) · [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 @@ O `dsh-observe` traduz o fluxo `session/event` do harness em protocolos de obser
|
|
|
43
45
|
<img src="docs/assets/dsh-observe-flow-v5-light.svg" width="100%" alt="Estrutura do dsh-observe (uma bifurcação em duas canalizações em torno de um buffer limitado): session/event alimenta o collector (spans turn/step/tool/llm e métricas observe.tokens, observe.cost e observe.context_tokens, ids sha256 determinísticos), depois sanitize (redação por nome de chave, padrões de segredos embutidos e orçamentos de prompt/completion 4000 e ferramenta 2000/2000) sanea cada registro antes de qualquer fila; o registro bifurca em duas canalizações independentes, otlp e langfuse, cada uma com fila (256 registros ou 5000ms, maxQueueRecords 2000) → flush/retry (5 tentativas, 1000ms × 2 com teto de 60000ms) → seu endpoint; o esgotamento de tentativas e o transbordo da fila caem no buffer durável e limitado entre as pistas (10000 registros, expulsão do mais antigo, revalidação zod na leitura, sobrevive ao reinício), esvaziado de volta para ambos os endpoints a cada 30000ms pelo trilho tracejado da direita; embaixo à esquerda fica a superfície remota opcional observe/status e observe/setEnabled, e a faixa inferior fixa o contrato de desligado por padrão e os três eventos escutados">
|
|
44
46
|
</picture>
|
|
45
47
|
|
|
48
|
+

|
|
49
|
+
|
|
50
|
+
*Repetição animada de uma execução real registrada neste repositório.*
|
|
51
|
+
|
|
46
52
|
## Instalação em três passos
|
|
47
53
|
|
|
48
54
|
1. **Instalar** (escolha uma):
|
|
@@ -344,18 +350,28 @@ Este projeto faz parte da família de plugins do DeepSeek Harness mantida pela [
|
|
|
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 o README do
|
|
353
|
+
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | 🧊 CONGELADO — ver o README do repositório |
|
|
354
|
+
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 RETIRADO — ver o README do repositório |
|
|
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 o README do repositório |
|
|
358
|
+
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | 🧊 CONGELADO — ver o README do repositório |
|
|
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 o README do repositório |
|
|
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 o README do repositório |
|
|
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 o README do repo |
|
|
370
|
+
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 CONGELADO — ver o README do repositório |
|
|
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 o README do repositório |
|
|
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 projeto faz parte da família de plugins do DeepSeek Harness mantida pela [
|
|
|
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 projeto faz parte da família de plugins do DeepSeek Harness mantida pela [
|
|
|
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)** | 🚫 APOSENTADO (repo arquivado) |
|
|
402
|
-
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | |
|
|
403
|
-
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | 🚫 APOSENTADO (repo arquivado) |
|
|
404
|
-
| **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | 🚫 APOSENTADO (repo arquivado) |
|
|
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 o README do repositório |
|
|
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 o README do 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 o README do repositório |
|
|
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 o README do repositório |
|
|
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)** | 🚫 APOSENTADO (repo arquivado) |
|
|
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 o README do repo |
|
|
432
|
-
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 CONGELADO — ver o README do repo |
|
|
433
|
-
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 CONGELADO — ver o README do repo |
|
|
434
|
-
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 CONGELADO — ver o README do repo |
|
|
435
|
-
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 CONGELADO — ver o README do repo |
|
|
436
|
-
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 APOSENTADO (repo arquivado) |
|
|
437
|
-
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 APOSENTADO (repo arquivado) |
|
|
438
|
-
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 APOSENTADO (repo arquivado) |
|
|
439
449
|
|
|
440
450
|
</details>
|
|
441
451
|
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="420" viewBox="0 0 1200 420" role="img" aria-label="dsh-observe pipeline: session/event to collector to sanitize to otlp/langfuse pipeline, with a bounded durable spool">
|
|
2
|
+
<title>dsh-observe pipeline</title>
|
|
3
|
+
<rect width="1200" height="420" rx="18" fill="#0d1117"/>
|
|
4
|
+
<text x="60" y="58" fill="#f0f6fc" font-family="ui-sans-serif,system-ui,sans-serif" font-size="30" font-weight="700">dsh-observe</text>
|
|
5
|
+
<text x="60" y="88" fill="#8b949e" font-family="ui-monospace,monospace" font-size="15">session/event · spans · metrics · otlp · langfuse</text>
|
|
6
|
+
<line x1="60" y1="108" x2="1140" y2="108" stroke="#30363d"/>
|
|
7
|
+
<rect x="60" y="140" width="240" height="96" rx="14" fill="#161b22" stroke="#30363d" stroke-width="2"/>
|
|
8
|
+
<text x="180" y="182" fill="#f0f6fc" text-anchor="middle" font-family="ui-monospace,monospace" font-size="17" font-weight="700">session/event</text>
|
|
9
|
+
<text x="180" y="212" fill="#8b949e" text-anchor="middle" font-family="ui-monospace,monospace" font-size="12">turn · step · tool · llm</text>
|
|
10
|
+
<path d="M306 188h28" stroke="#8b949e" stroke-width="3"/>
|
|
11
|
+
<path d="M332 181l10 7-10 7" fill="none" stroke="#8b949e" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
+
<rect x="340" y="140" width="240" height="96" rx="14" fill="#161b22" stroke="#4B67B4" stroke-width="2"/>
|
|
13
|
+
<text x="460" y="182" fill="#f0f6fc" text-anchor="middle" font-family="ui-monospace,monospace" font-size="17" font-weight="700">collector</text>
|
|
14
|
+
<text x="460" y="212" fill="#8b949e" text-anchor="middle" font-family="ui-monospace,monospace" font-size="12">spans · metrics · pricing</text>
|
|
15
|
+
<path d="M586 188h28" stroke="#8b949e" stroke-width="3"/>
|
|
16
|
+
<path d="M612 181l10 7-10 7" fill="none" stroke="#8b949e" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
17
|
+
<rect x="620" y="140" width="240" height="96" rx="14" fill="#161b22" stroke="#4B67B4" stroke-width="2"/>
|
|
18
|
+
<text x="740" y="182" fill="#f0f6fc" text-anchor="middle" font-family="ui-monospace,monospace" font-size="17" font-weight="700">sanitize</text>
|
|
19
|
+
<text x="740" y="212" fill="#8b949e" text-anchor="middle" font-family="ui-monospace,monospace" font-size="12">redactKeys · truncate*</text>
|
|
20
|
+
<path d="M866 188h28" stroke="#8b949e" stroke-width="3"/>
|
|
21
|
+
<path d="M892 181l10 7-10 7" fill="none" stroke="#8b949e" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
22
|
+
<rect x="900" y="140" width="240" height="96" rx="14" fill="#161b22" stroke="#3fb950" stroke-width="2"/>
|
|
23
|
+
<text x="1020" y="182" fill="#f0f6fc" text-anchor="middle" font-family="ui-monospace,monospace" font-size="17" font-weight="700">pipeline</text>
|
|
24
|
+
<text x="1020" y="212" fill="#8b949e" text-anchor="middle" font-family="ui-monospace,monospace" font-size="12">otlp · langfuse · retry</text>
|
|
25
|
+
<path d="M740 236v36" stroke="#4B67B4" stroke-width="2" stroke-dasharray="5 5"/>
|
|
26
|
+
<path d="M1020 236v36" stroke="#4B67B4" stroke-width="2" stroke-dasharray="5 5"/>
|
|
27
|
+
<rect x="60" y="272" width="1080" height="48" rx="10" fill="#21262d" stroke="#4B67B4" stroke-width="2"/>
|
|
28
|
+
<text x="600" y="302" fill="#f0f6fc" text-anchor="middle" font-family="ui-monospace,monospace" font-size="13">spool · batch.maxBufferRecords 10000 · oldest-first · re-validated</text>
|
|
29
|
+
<text x="60" y="352" fill="#8b949e" font-family="ui-monospace,monospace" font-size="13">otlp.endpoint → /v1/traces · /v1/metrics · langfuse → ingestion</text>
|
|
30
|
+
<text x="60" y="380" fill="#8b949e" font-family="ui-monospace,monospace" font-size="13">enabled: false · sanitize → queue → flush → spool · retry.maxAttempts 5</text>
|
|
31
|
+
</svg>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="420" viewBox="0 0 1200 420" role="img" aria-label="dsh-observe pipeline: session/event to collector to sanitize to otlp/langfuse pipeline, with a bounded durable spool">
|
|
2
|
+
<title>dsh-observe pipeline</title>
|
|
3
|
+
<rect width="1200" height="420" rx="18" fill="#ffffff"/>
|
|
4
|
+
<text x="60" y="58" fill="#1f2328" font-family="ui-sans-serif,system-ui,sans-serif" font-size="30" font-weight="700">dsh-observe</text>
|
|
5
|
+
<text x="60" y="88" fill="#57606a" font-family="ui-monospace,monospace" font-size="15">session/event · spans · metrics · otlp · langfuse</text>
|
|
6
|
+
<line x1="60" y1="108" x2="1140" y2="108" stroke="#d0d7de"/>
|
|
7
|
+
<rect x="60" y="140" width="240" height="96" rx="14" fill="#f6f8fa" stroke="#d0d7de" stroke-width="2"/>
|
|
8
|
+
<text x="180" y="182" fill="#1f2328" text-anchor="middle" font-family="ui-monospace,monospace" font-size="17" font-weight="700">session/event</text>
|
|
9
|
+
<text x="180" y="212" fill="#57606a" text-anchor="middle" font-family="ui-monospace,monospace" font-size="12">turn · step · tool · llm</text>
|
|
10
|
+
<path d="M306 188h28" stroke="#57606a" stroke-width="3"/>
|
|
11
|
+
<path d="M332 181l10 7-10 7" fill="none" stroke="#57606a" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
+
<rect x="340" y="140" width="240" height="96" rx="14" fill="#f6f8fa" stroke="#4B67B4" stroke-width="2"/>
|
|
13
|
+
<text x="460" y="182" fill="#1f2328" text-anchor="middle" font-family="ui-monospace,monospace" font-size="17" font-weight="700">collector</text>
|
|
14
|
+
<text x="460" y="212" fill="#57606a" text-anchor="middle" font-family="ui-monospace,monospace" font-size="12">spans · metrics · pricing</text>
|
|
15
|
+
<path d="M586 188h28" stroke="#57606a" stroke-width="3"/>
|
|
16
|
+
<path d="M612 181l10 7-10 7" fill="none" stroke="#57606a" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
17
|
+
<rect x="620" y="140" width="240" height="96" rx="14" fill="#f6f8fa" stroke="#4B67B4" stroke-width="2"/>
|
|
18
|
+
<text x="740" y="182" fill="#1f2328" text-anchor="middle" font-family="ui-monospace,monospace" font-size="17" font-weight="700">sanitize</text>
|
|
19
|
+
<text x="740" y="212" fill="#57606a" text-anchor="middle" font-family="ui-monospace,monospace" font-size="12">redactKeys · truncate*</text>
|
|
20
|
+
<path d="M866 188h28" stroke="#57606a" stroke-width="3"/>
|
|
21
|
+
<path d="M892 181l10 7-10 7" fill="none" stroke="#57606a" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
22
|
+
<rect x="900" y="140" width="240" height="96" rx="14" fill="#f6f8fa" stroke="#16a34a" stroke-width="2"/>
|
|
23
|
+
<text x="1020" y="182" fill="#1f2328" text-anchor="middle" font-family="ui-monospace,monospace" font-size="17" font-weight="700">pipeline</text>
|
|
24
|
+
<text x="1020" y="212" fill="#57606a" text-anchor="middle" font-family="ui-monospace,monospace" font-size="12">otlp · langfuse · retry</text>
|
|
25
|
+
<path d="M740 236v36" stroke="#4B67B4" stroke-width="2" stroke-dasharray="5 5"/>
|
|
26
|
+
<path d="M1020 236v36" stroke="#4B67B4" stroke-width="2" stroke-dasharray="5 5"/>
|
|
27
|
+
<rect x="60" y="272" width="1080" height="48" rx="10" fill="#eaeef2" stroke="#4B67B4" stroke-width="2"/>
|
|
28
|
+
<text x="600" y="302" fill="#1f2328" text-anchor="middle" font-family="ui-monospace,monospace" font-size="13">spool · batch.maxBufferRecords 10000 · oldest-first · re-validated</text>
|
|
29
|
+
<text x="60" y="352" fill="#57606a" font-family="ui-monospace,monospace" font-size="13">otlp.endpoint → /v1/traces · /v1/metrics · langfuse → ingestion</text>
|
|
30
|
+
<text x="60" y="380" fill="#57606a" font-family="ui-monospace,monospace" font-size="13">enabled: false · sanitize → queue → flush → spool · retry.maxAttempts 5</text>
|
|
31
|
+
</svg>
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1100" height="660" viewBox="0 0 1100 660" role="img" aria-labelledby="t d">
|
|
2
|
+
<title id="t">dsh-observe delivery shape: the session/event capture spine forks into two independent backend pipelines — otlp and langfuse — that each queue, flush with retry, and post to their own endpoint, around one bounded storage-domain spool that both spill into and that drains back into both endpoints on a timer</title>
|
|
3
|
+
<desc id="d">Left column, capture: session/event boundary events feed the collector (turn, step, tool and llm spans; observe.tokens, observe.cost and observe.context_tokens metrics; deterministic sha256 ids), then sanitize (key redaction, five builtin secret patterns, prompt/completion 4000, tool 2000/2000, attributes 512) runs at capture, before any queue. The record then forks into two lanes. Each lane is a pipeline (queue 256 records or 5000ms, maxQueueRecords 2000) into flush and retry (maxAttempts 5, 1000ms x2 capped at 60000ms, deterministic backoff) into its wire endpoint: OTLP POST /v1/traces and /v1/metrics with service.name deepseek-harness, or Langfuse POST /api/public/ingestion with trace-create, span-create and generation-create under Basic auth. Retry-exhausted batches and queue overflow spill into the bounded storage-domain spool between the lanes (maxBufferRecords 10000, oldest-first eviction, zod re-validation on read, survives restart); a dashed return rail on the right drains it back into both endpoints every 30000ms. Bottom left is the optional remote surface, observe/status and observe/setEnabled. The bottom band states the flush, retry and drain cadence and the off-by-default contract.</desc>
|
|
4
|
+
<defs>
|
|
5
|
+
<linearGradient id="bg" x1="0" y1="0" x2="0.32" y2="1"><stop offset="0" stop-color="#131a2a"/><stop offset="1" stop-color="#0c1016"/></linearGradient>
|
|
6
|
+
<filter id="soft" x="-30%" y="-30%" width="160%" height="180%"><feDropShadow dx="0" dy="8" stdDeviation="11" flood-color="#000000" flood-opacity=".45"/></filter>
|
|
7
|
+
<pattern id="dots" width="26" height="26" patternUnits="userSpaceOnUse"><circle cx="1.4" cy="1.4" r="1.4" fill="#2c3549"/></pattern>
|
|
8
|
+
<marker id="arr" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#8496f5"/></marker>
|
|
9
|
+
</defs>
|
|
10
|
+
<rect width="1100" height="660" fill="url(#bg)"/>
|
|
11
|
+
<rect width="1100" height="660" fill="url(#dots)" opacity=".45"/>
|
|
12
|
+
<text x="44" y="58" fill="#f0f3f9" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="30" font-weight="700">dsh-observe</text>
|
|
13
|
+
<text x="44" y="86" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13.5">session/event → collector → sanitize → 2 pipelines · bounded spool · deterministic ids</text>
|
|
14
|
+
<text x="1056" y="56" fill="#8791a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="12" text-anchor="end">v0.2.27 · OTLP/HTTP + Langfuse</text>
|
|
15
|
+
<text x="1056" y="84" fill="#8791a4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="11.5" text-anchor="end">solid = sync · dashed = async / optional</text>
|
|
16
|
+
<line x1="40" y1="100" x2="1060" y2="100" stroke="#2e374b" stroke-width="2"/>
|
|
17
|
+
<text x="60" y="126" fill="#8791a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11" font-weight="700" letter-spacing="1.4">CAPTURE</text>
|
|
18
|
+
<rect x="44" y="134" width="248" height="64" rx="16" fill="#1b2231" stroke="#2e374b" stroke-width="1" filter="url(#soft)"/>
|
|
19
|
+
<text x="60" y="162" fill="#f0f3f9" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" font-weight="700">session/event</text>
|
|
20
|
+
<text x="60" y="182" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">turn/step/tool/llm boundaries</text>
|
|
21
|
+
<path d="M168 198 L168 210" fill="none" stroke="#8496f5" stroke-width="1.8" marker-end="url(#arr)"/>
|
|
22
|
+
<rect x="44" y="212" width="248" height="138" rx="18" fill="#1b2231" stroke="#2e374b" stroke-width="1" filter="url(#soft)"/>
|
|
23
|
+
<text x="60" y="240" fill="#f0f3f9" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="16" font-weight="700">collector</text>
|
|
24
|
+
<text x="60" y="266" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">span: turn · step · tool · llm</text>
|
|
25
|
+
<text x="60" y="288" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">metric: observe.tokens · cost</text>
|
|
26
|
+
<text x="60" y="310" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">observe.context_tokens (gauge)</text>
|
|
27
|
+
<text x="60" y="338" fill="#8791a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11">ids = sha256(session, turn, part)</text>
|
|
28
|
+
<path d="M168 350 L168 362" fill="none" stroke="#8496f5" stroke-width="1.8" marker-end="url(#arr)"/>
|
|
29
|
+
<rect x="44" y="364" width="248" height="138" rx="18" fill="#1b2231" stroke="#2e374b" stroke-width="1" filter="url(#soft)"/>
|
|
30
|
+
<text x="60" y="392" fill="#f0f3f9" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="16" font-weight="700">sanitize</text>
|
|
31
|
+
<text x="60" y="418" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">redactKeys + 5 builtin patterns</text>
|
|
32
|
+
<text x="60" y="440" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">prompt 4000 · completion 4000</text>
|
|
33
|
+
<text x="60" y="462" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">tool 2000/2000 · attr 512</text>
|
|
34
|
+
<text x="60" y="490" fill="#8791a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11">before any queue · [REDACTED]</text>
|
|
35
|
+
<path d="M292 433 H312 V208 H320" fill="none" stroke="#8496f5" stroke-width="1.8" marker-end="url(#arr)"/>
|
|
36
|
+
<path d="M312 433 V484 H320" fill="none" stroke="#8496f5" stroke-width="1.8" marker-end="url(#arr)"/>
|
|
37
|
+
<text x="320" y="128" fill="#8496f5" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11" font-weight="700" letter-spacing="1.4">BACKEND · otlp</text>
|
|
38
|
+
<rect x="320" y="140" width="192" height="136" rx="18" fill="#1b2231" stroke="#2e374b" stroke-width="1" filter="url(#soft)"/>
|
|
39
|
+
<text x="336" y="170" fill="#f0f3f9" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" font-weight="700">pipeline "otlp"</text>
|
|
40
|
+
<text x="336" y="196" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">queue 256 / 5000ms</text>
|
|
41
|
+
<text x="336" y="218" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">maxQueueRecords 2000</text>
|
|
42
|
+
<text x="336" y="246" fill="#8791a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11">push is synchronous</text>
|
|
43
|
+
<rect x="536" y="140" width="224" height="136" rx="18" fill="#1b2231" stroke="#2e374b" stroke-width="1" filter="url(#soft)"/>
|
|
44
|
+
<text x="552" y="170" fill="#f0f3f9" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" font-weight="700">flush · retry</text>
|
|
45
|
+
<text x="552" y="196" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">maxAttempts 5</text>
|
|
46
|
+
<text x="552" y="218" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">1000ms × 2 → 60000ms</text>
|
|
47
|
+
<text x="552" y="246" fill="#8791a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11">deterministic backoff</text>
|
|
48
|
+
<path d="M735 175 A9 9 0 1 1 742 168" fill="none" stroke="#8496f5" stroke-width="1.6" stroke-linecap="round" marker-end="url(#arr)"/>
|
|
49
|
+
<rect x="784" y="140" width="272" height="136" rx="18" fill="#1b2231" stroke="#2e374b" stroke-width="1" filter="url(#soft)"/>
|
|
50
|
+
<text x="800" y="170" fill="#f0f3f9" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="14" font-weight="700">POST /v1/traces</text>
|
|
51
|
+
<text x="800" y="196" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">POST /v1/metrics</text>
|
|
52
|
+
<text x="800" y="218" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">service.name deepseek-harness</text>
|
|
53
|
+
<text x="800" y="246" fill="#8791a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11">JSON · cumulative sums</text>
|
|
54
|
+
<path d="M512 208 L532 208" fill="none" stroke="#8496f5" stroke-width="1.8" marker-end="url(#arr)"/>
|
|
55
|
+
<path d="M760 208 L780 208" fill="none" stroke="#8496f5" stroke-width="1.8" marker-end="url(#arr)"/>
|
|
56
|
+
<text x="320" y="404" fill="#8496f5" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11" font-weight="700" letter-spacing="1.4">BACKEND · langfuse</text>
|
|
57
|
+
<rect x="320" y="416" width="192" height="136" rx="18" fill="#1b2231" stroke="#2e374b" stroke-width="1" filter="url(#soft)"/>
|
|
58
|
+
<text x="336" y="446" fill="#f0f3f9" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="13.5" font-weight="700">pipeline "langfuse"</text>
|
|
59
|
+
<text x="336" y="472" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">queue 256 / 5000ms</text>
|
|
60
|
+
<text x="336" y="494" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">maxQueueRecords 2000</text>
|
|
61
|
+
<text x="336" y="522" fill="#8791a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11">push is synchronous</text>
|
|
62
|
+
<rect x="536" y="416" width="224" height="136" rx="18" fill="#1b2231" stroke="#2e374b" stroke-width="1" filter="url(#soft)"/>
|
|
63
|
+
<text x="552" y="446" fill="#f0f3f9" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" font-weight="700">flush · retry</text>
|
|
64
|
+
<text x="552" y="472" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">maxAttempts 5</text>
|
|
65
|
+
<text x="552" y="494" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">1000ms × 2 → 60000ms</text>
|
|
66
|
+
<text x="552" y="522" fill="#8791a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11">deterministic backoff</text>
|
|
67
|
+
<path d="M735 451 A9 9 0 1 1 742 444" fill="none" stroke="#8496f5" stroke-width="1.6" stroke-linecap="round" marker-end="url(#arr)"/>
|
|
68
|
+
<rect x="784" y="416" width="272" height="136" rx="18" fill="#1b2231" stroke="#2e374b" stroke-width="1" filter="url(#soft)"/>
|
|
69
|
+
<text x="800" y="446" fill="#f0f3f9" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="14" font-weight="700">POST /api/public/ingestion</text>
|
|
70
|
+
<text x="800" y="472" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">trace-create · span-create</text>
|
|
71
|
+
<text x="800" y="494" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">generation-create · Basic auth</text>
|
|
72
|
+
<text x="800" y="522" fill="#8791a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11">one ingestion POST per batch</text>
|
|
73
|
+
<path d="M512 484 L532 484" fill="none" stroke="#8496f5" stroke-width="1.8" marker-end="url(#arr)"/>
|
|
74
|
+
<path d="M760 484 L780 484" fill="none" stroke="#8496f5" stroke-width="1.8" marker-end="url(#arr)"/>
|
|
75
|
+
<rect x="320" y="300" width="736" height="88" rx="18" fill="#202939" stroke="#8496f5" stroke-width="1" filter="url(#soft)"/>
|
|
76
|
+
<text x="336" y="328" fill="#f0f3f9" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" font-weight="700">spool · storage-domain "observe"</text>
|
|
77
|
+
<text x="336" y="354" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">maxBufferRecords 10000 · oldest-first eviction</text>
|
|
78
|
+
<text x="336" y="376" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">zod re-validate on read · survives restart</text>
|
|
79
|
+
<rect x="966" y="312" width="72" height="24" rx="12" fill="#8496f5" opacity=".14"/>
|
|
80
|
+
<text x="1002" y="328" fill="#8496f5" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11" font-weight="700" text-anchor="middle">bounded</text>
|
|
81
|
+
<text x="1040" y="376" fill="#8791a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11" text-anchor="end">storage:write</text>
|
|
82
|
+
<path d="M612 276 L612 296" fill="none" stroke="#8496f5" stroke-width="1.8" stroke-dasharray="5 5" marker-end="url(#arr)"/>
|
|
83
|
+
<path d="M652 276 L652 296" fill="none" stroke="#8496f5" stroke-width="1.8" stroke-dasharray="5 5" marker-end="url(#arr)"/>
|
|
84
|
+
<text x="672" y="294" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="11">retry exhausted</text>
|
|
85
|
+
<path d="M612 416 L612 392" fill="none" stroke="#8496f5" stroke-width="1.8" stroke-dasharray="5 5" marker-end="url(#arr)"/>
|
|
86
|
+
<path d="M652 416 L652 392" fill="none" stroke="#8496f5" stroke-width="1.8" stroke-dasharray="5 5" marker-end="url(#arr)"/>
|
|
87
|
+
<text x="672" y="412" fill="#a8b1c4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="11">queue full</text>
|
|
88
|
+
<path d="M1056 344 H1080 V484 H1058" fill="none" stroke="#8496f5" stroke-width="1.6" stroke-dasharray="5 5" marker-end="url(#arr)"/>
|
|
89
|
+
<path d="M1080 344 V208 H1058" fill="none" stroke="#8496f5" stroke-width="1.6" stroke-dasharray="5 5" marker-end="url(#arr)"/>
|
|
90
|
+
<text x="1052" y="406" fill="#8791a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11" text-anchor="end">drainSpool · 30000ms</text>
|
|
91
|
+
<rect x="44" y="514" width="248" height="84" rx="16" fill="#202939" stroke="#2e374b" stroke-width="1" stroke-dasharray="5 5" filter="url(#soft)"/>
|
|
92
|
+
<text x="60" y="536" fill="#8791a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11" font-weight="700" letter-spacing="1.4">OPTIONAL REMOTE</text>
|
|
93
|
+
<text x="60" y="560" fill="#8496f5" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="13" font-weight="700">observe/status</text>
|
|
94
|
+
<text x="60" y="582" fill="#8496f5" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="13" font-weight="700">observe/setEnabled</text>
|
|
95
|
+
<text x="44" y="626" fill="#a8b1c4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11.5">flush: 256 records or 5000ms · retry: 5 attempts, 1s × 2 capped at 60s · drain: 30000ms · metrics skip retry</text>
|
|
96
|
+
<text x="44" y="648" fill="#8791a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11.5">off by default: enabled: true + at least one backend · no model tools · no commands · only session/event, session/flush, session/disposed</text>
|
|
97
|
+
</svg>
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1100" height="660" viewBox="0 0 1100 660" role="img" aria-labelledby="t d">
|
|
2
|
+
<title id="t">dsh-observe delivery shape: the session/event capture spine forks into two independent backend pipelines — otlp and langfuse — that each queue, flush with retry, and post to their own endpoint, around one bounded storage-domain spool that both spill into and that drains back into both endpoints on a timer</title>
|
|
3
|
+
<desc id="d">Left column, capture: session/event boundary events feed the collector (turn, step, tool and llm spans; observe.tokens, observe.cost and observe.context_tokens metrics; deterministic sha256 ids), then sanitize (key redaction, five builtin secret patterns, prompt/completion 4000, tool 2000/2000, attributes 512) runs at capture, before any queue. The record then forks into two lanes. Each lane is a pipeline (queue 256 records or 5000ms, maxQueueRecords 2000) into flush and retry (maxAttempts 5, 1000ms x2 capped at 60000ms, deterministic backoff) into its wire endpoint: OTLP POST /v1/traces and /v1/metrics with service.name deepseek-harness, or Langfuse POST /api/public/ingestion with trace-create, span-create and generation-create under Basic auth. Retry-exhausted batches and queue overflow spill into the bounded storage-domain spool between the lanes (maxBufferRecords 10000, oldest-first eviction, zod re-validation on read, survives restart); a dashed return rail on the right drains it back into both endpoints every 30000ms. Bottom left is the optional remote surface, observe/status and observe/setEnabled. The bottom band states the flush, retry and drain cadence and the off-by-default contract.</desc>
|
|
4
|
+
<defs>
|
|
5
|
+
<linearGradient id="bg" x1="0" y1="0" x2="0.32" y2="1"><stop offset="0" stop-color="#f9f6fd"/><stop offset="1" stop-color="#e4eaf8"/></linearGradient>
|
|
6
|
+
<filter id="soft" x="-30%" y="-30%" width="160%" height="180%"><feDropShadow dx="0" dy="8" stdDeviation="11" flood-color="#1b1735" flood-opacity=".10"/></filter>
|
|
7
|
+
<pattern id="dots" width="26" height="26" patternUnits="userSpaceOnUse"><circle cx="1.4" cy="1.4" r="1.4" fill="#d9d3ea"/></pattern>
|
|
8
|
+
<marker id="arr" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" markerUnits="userSpaceOnUse" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#4B67B4"/></marker>
|
|
9
|
+
</defs>
|
|
10
|
+
<rect width="1100" height="660" fill="url(#bg)"/>
|
|
11
|
+
<rect width="1100" height="660" fill="url(#dots)" opacity=".45"/>
|
|
12
|
+
<text x="44" y="58" fill="#141419" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="30" font-weight="700">dsh-observe</text>
|
|
13
|
+
<text x="44" y="86" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13.5">session/event → collector → sanitize → 2 pipelines · bounded spool · deterministic ids</text>
|
|
14
|
+
<text x="1056" y="56" fill="#8f94a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="12" text-anchor="end">v0.2.27 · OTLP/HTTP + Langfuse</text>
|
|
15
|
+
<text x="1056" y="84" fill="#8f94a4" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="11.5" text-anchor="end">solid = sync · dashed = async / optional</text>
|
|
16
|
+
<line x1="40" y1="100" x2="1060" y2="100" stroke="#e4e1ee" stroke-width="2"/>
|
|
17
|
+
<text x="60" y="126" fill="#8f94a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11" font-weight="700" letter-spacing="1.4">CAPTURE</text>
|
|
18
|
+
<rect x="44" y="134" width="248" height="64" rx="16" fill="#ffffff" stroke="#e4e1ee" stroke-width="1" filter="url(#soft)"/>
|
|
19
|
+
<text x="60" y="162" fill="#141419" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" font-weight="700">session/event</text>
|
|
20
|
+
<text x="60" y="182" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">turn/step/tool/llm boundaries</text>
|
|
21
|
+
<path d="M168 198 L168 210" fill="none" stroke="#4B67B4" stroke-width="1.8" marker-end="url(#arr)"/>
|
|
22
|
+
<rect x="44" y="212" width="248" height="138" rx="18" fill="#ffffff" stroke="#e4e1ee" stroke-width="1" filter="url(#soft)"/>
|
|
23
|
+
<text x="60" y="240" fill="#141419" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="16" font-weight="700">collector</text>
|
|
24
|
+
<text x="60" y="266" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">span: turn · step · tool · llm</text>
|
|
25
|
+
<text x="60" y="288" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">metric: observe.tokens · cost</text>
|
|
26
|
+
<text x="60" y="310" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">observe.context_tokens (gauge)</text>
|
|
27
|
+
<text x="60" y="338" fill="#8f94a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11">ids = sha256(session, turn, part)</text>
|
|
28
|
+
<path d="M168 350 L168 362" fill="none" stroke="#4B67B4" stroke-width="1.8" marker-end="url(#arr)"/>
|
|
29
|
+
<rect x="44" y="364" width="248" height="138" rx="18" fill="#ffffff" stroke="#e4e1ee" stroke-width="1" filter="url(#soft)"/>
|
|
30
|
+
<text x="60" y="392" fill="#141419" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="16" font-weight="700">sanitize</text>
|
|
31
|
+
<text x="60" y="418" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">redactKeys + 5 builtin patterns</text>
|
|
32
|
+
<text x="60" y="440" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">prompt 4000 · completion 4000</text>
|
|
33
|
+
<text x="60" y="462" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">tool 2000/2000 · attr 512</text>
|
|
34
|
+
<text x="60" y="490" fill="#8f94a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11">before any queue · [REDACTED]</text>
|
|
35
|
+
<path d="M292 433 H312 V208 H320" fill="none" stroke="#4B67B4" stroke-width="1.8" marker-end="url(#arr)"/>
|
|
36
|
+
<path d="M312 433 V484 H320" fill="none" stroke="#4B67B4" stroke-width="1.8" marker-end="url(#arr)"/>
|
|
37
|
+
<text x="320" y="128" fill="#4B67B4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11" font-weight="700" letter-spacing="1.4">BACKEND · otlp</text>
|
|
38
|
+
<rect x="320" y="140" width="192" height="136" rx="18" fill="#ffffff" stroke="#e4e1ee" stroke-width="1" filter="url(#soft)"/>
|
|
39
|
+
<text x="336" y="170" fill="#141419" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" font-weight="700">pipeline "otlp"</text>
|
|
40
|
+
<text x="336" y="196" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">queue 256 / 5000ms</text>
|
|
41
|
+
<text x="336" y="218" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">maxQueueRecords 2000</text>
|
|
42
|
+
<text x="336" y="246" fill="#8f94a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11">push is synchronous</text>
|
|
43
|
+
<rect x="536" y="140" width="224" height="136" rx="18" fill="#ffffff" stroke="#e4e1ee" stroke-width="1" filter="url(#soft)"/>
|
|
44
|
+
<text x="552" y="170" fill="#141419" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" font-weight="700">flush · retry</text>
|
|
45
|
+
<text x="552" y="196" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">maxAttempts 5</text>
|
|
46
|
+
<text x="552" y="218" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">1000ms × 2 → 60000ms</text>
|
|
47
|
+
<text x="552" y="246" fill="#8f94a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11">deterministic backoff</text>
|
|
48
|
+
<path d="M735 175 A9 9 0 1 1 742 168" fill="none" stroke="#4B67B4" stroke-width="1.6" stroke-linecap="round" marker-end="url(#arr)"/>
|
|
49
|
+
<rect x="784" y="140" width="272" height="136" rx="18" fill="#ffffff" stroke="#e4e1ee" stroke-width="1" filter="url(#soft)"/>
|
|
50
|
+
<text x="800" y="170" fill="#141419" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="14" font-weight="700">POST /v1/traces</text>
|
|
51
|
+
<text x="800" y="196" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">POST /v1/metrics</text>
|
|
52
|
+
<text x="800" y="218" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">service.name deepseek-harness</text>
|
|
53
|
+
<text x="800" y="246" fill="#8f94a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11">JSON · cumulative sums</text>
|
|
54
|
+
<path d="M512 208 L532 208" fill="none" stroke="#4B67B4" stroke-width="1.8" marker-end="url(#arr)"/>
|
|
55
|
+
<path d="M760 208 L780 208" fill="none" stroke="#4B67B4" stroke-width="1.8" marker-end="url(#arr)"/>
|
|
56
|
+
<text x="320" y="404" fill="#4B67B4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11" font-weight="700" letter-spacing="1.4">BACKEND · langfuse</text>
|
|
57
|
+
<rect x="320" y="416" width="192" height="136" rx="18" fill="#ffffff" stroke="#e4e1ee" stroke-width="1" filter="url(#soft)"/>
|
|
58
|
+
<text x="336" y="446" fill="#141419" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="13.5" font-weight="700">pipeline "langfuse"</text>
|
|
59
|
+
<text x="336" y="472" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">queue 256 / 5000ms</text>
|
|
60
|
+
<text x="336" y="494" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">maxQueueRecords 2000</text>
|
|
61
|
+
<text x="336" y="522" fill="#8f94a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11">push is synchronous</text>
|
|
62
|
+
<rect x="536" y="416" width="224" height="136" rx="18" fill="#ffffff" stroke="#e4e1ee" stroke-width="1" filter="url(#soft)"/>
|
|
63
|
+
<text x="552" y="446" fill="#141419" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" font-weight="700">flush · retry</text>
|
|
64
|
+
<text x="552" y="472" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">maxAttempts 5</text>
|
|
65
|
+
<text x="552" y="494" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">1000ms × 2 → 60000ms</text>
|
|
66
|
+
<text x="552" y="522" fill="#8f94a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11">deterministic backoff</text>
|
|
67
|
+
<path d="M735 451 A9 9 0 1 1 742 444" fill="none" stroke="#4B67B4" stroke-width="1.6" stroke-linecap="round" marker-end="url(#arr)"/>
|
|
68
|
+
<rect x="784" y="416" width="272" height="136" rx="18" fill="#ffffff" stroke="#e4e1ee" stroke-width="1" filter="url(#soft)"/>
|
|
69
|
+
<text x="800" y="446" fill="#141419" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="14" font-weight="700">POST /api/public/ingestion</text>
|
|
70
|
+
<text x="800" y="472" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">trace-create · span-create</text>
|
|
71
|
+
<text x="800" y="494" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">generation-create · Basic auth</text>
|
|
72
|
+
<text x="800" y="522" fill="#8f94a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11">one ingestion POST per batch</text>
|
|
73
|
+
<path d="M512 484 L532 484" fill="none" stroke="#4B67B4" stroke-width="1.8" marker-end="url(#arr)"/>
|
|
74
|
+
<path d="M760 484 L780 484" fill="none" stroke="#4B67B4" stroke-width="1.8" marker-end="url(#arr)"/>
|
|
75
|
+
<rect x="320" y="300" width="736" height="88" rx="18" fill="#f7f4fd" stroke="#4B67B4" stroke-width="1" filter="url(#soft)"/>
|
|
76
|
+
<text x="336" y="328" fill="#141419" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" font-weight="700">spool · storage-domain "observe"</text>
|
|
77
|
+
<text x="336" y="354" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">maxBufferRecords 10000 · oldest-first eviction</text>
|
|
78
|
+
<text x="336" y="376" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="13">zod re-validate on read · survives restart</text>
|
|
79
|
+
<rect x="966" y="312" width="72" height="24" rx="12" fill="#4B67B4" opacity=".14"/>
|
|
80
|
+
<text x="1002" y="328" fill="#4B67B4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11" font-weight="700" text-anchor="middle">bounded</text>
|
|
81
|
+
<text x="1040" y="376" fill="#8f94a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11" text-anchor="end">storage:write</text>
|
|
82
|
+
<path d="M612 276 L612 296" fill="none" stroke="#4B67B4" stroke-width="1.8" stroke-dasharray="5 5" marker-end="url(#arr)"/>
|
|
83
|
+
<path d="M652 276 L652 296" fill="none" stroke="#4B67B4" stroke-width="1.8" stroke-dasharray="5 5" marker-end="url(#arr)"/>
|
|
84
|
+
<text x="672" y="294" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="11">retry exhausted</text>
|
|
85
|
+
<path d="M612 416 L612 392" fill="none" stroke="#4B67B4" stroke-width="1.8" stroke-dasharray="5 5" marker-end="url(#arr)"/>
|
|
86
|
+
<path d="M652 416 L652 392" fill="none" stroke="#4B67B4" stroke-width="1.8" stroke-dasharray="5 5" marker-end="url(#arr)"/>
|
|
87
|
+
<text x="672" y="412" fill="#4d5261" font-family="Segoe UI, Microsoft YaHei, ui-sans-serif, system-ui, sans-serif" font-size="11">queue full</text>
|
|
88
|
+
<path d="M1056 344 H1080 V484 H1058" fill="none" stroke="#4B67B4" stroke-width="1.6" stroke-dasharray="5 5" marker-end="url(#arr)"/>
|
|
89
|
+
<path d="M1080 344 V208 H1058" fill="none" stroke="#4B67B4" stroke-width="1.6" stroke-dasharray="5 5" marker-end="url(#arr)"/>
|
|
90
|
+
<text x="1052" y="406" fill="#8f94a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11" text-anchor="end">drainSpool · 30000ms</text>
|
|
91
|
+
<rect x="44" y="514" width="248" height="84" rx="16" fill="#f7f4fd" stroke="#e4e1ee" stroke-width="1" stroke-dasharray="5 5" filter="url(#soft)"/>
|
|
92
|
+
<text x="60" y="536" fill="#8f94a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11" font-weight="700" letter-spacing="1.4">OPTIONAL REMOTE</text>
|
|
93
|
+
<text x="60" y="560" fill="#4B67B4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="13" font-weight="700">observe/status</text>
|
|
94
|
+
<text x="60" y="582" fill="#4B67B4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="13" font-weight="700">observe/setEnabled</text>
|
|
95
|
+
<text x="44" y="626" fill="#4d5261" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11.5">flush: 256 records or 5000ms · retry: 5 attempts, 1s × 2 capped at 60s · drain: 30000ms · metrics skip retry</text>
|
|
96
|
+
<text x="44" y="648" fill="#8f94a4" font-family="Consolas, ui-monospace, SFMono-Regular, Menlo, monospace" font-size="11.5">off by default: enabled: true + at least one backend · no model tools · no commands · only session/event, session/flush, session/disposed</text>
|
|
97
|
+
</svg>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="360" viewBox="0 0 1200 360" role="img" aria-label="dsh-observe workflow">
|
|
2
|
+
<title>dsh-observe workflow</title>
|
|
3
|
+
<rect width="1200" height="360" rx="18" fill="#0d1117"/>
|
|
4
|
+
<text x="60" y="58" fill="#f0f6fc" font-family="ui-sans-serif,system-ui,sans-serif" font-size="30" font-weight="700">dsh-observe</text>
|
|
5
|
+
<text x="60" y="92" fill="#8b949e" font-family="ui-monospace,monospace" font-size="16">DeepSeek Harness plugin</text>
|
|
6
|
+
<line x1="60" y1="118" x2="1140" y2="118" stroke="#30363d"/>
|
|
7
|
+
<rect x="120" y="150" width="240" height="140" rx="14" fill="#161b22" stroke="#7c3aed" stroke-width="2"/>
|
|
8
|
+
<path d="M240 189v38m0 0l13-13m-13 13L227 214" stroke="#7c3aed" stroke-width="3" fill="none" stroke-linecap="round"/><path d="M217 235h46" stroke="#7c3aed" stroke-width="3"/>
|
|
9
|
+
<circle cx="330" cy="270" r="13" fill="#7c3aed"/><text x="330" y="276" fill="#0d1117" text-anchor="middle" font-family="ui-monospace,monospace" font-size="14" font-weight="700">1</text>
|
|
10
|
+
<path d="M368 220h64" stroke="#7c3aed" stroke-width="3"/><path d="M422 213l10 7-10 7" fill="none" stroke="#7c3aed" stroke-width="3" stroke-linecap="round"/>
|
|
11
|
+
<rect x="480" y="150" width="240" height="140" rx="14" fill="#161b22" stroke="#7c3aed" stroke-width="2"/>
|
|
12
|
+
<rect x="576" y="189" width="48" height="50" rx="7" fill="none" stroke="#7c3aed" stroke-width="3"/><path d="M576 203h48M585 196h4m6 0h4" stroke="#7c3aed" stroke-width="3"/>
|
|
13
|
+
<circle cx="690" cy="270" r="13" fill="#7c3aed"/><text x="690" y="276" fill="#0d1117" text-anchor="middle" font-family="ui-monospace,monospace" font-size="14" font-weight="700">2</text>
|
|
14
|
+
<path d="M728 220h64" stroke="#7c3aed" stroke-width="3"/><path d="M782 213l10 7-10 7" fill="none" stroke="#7c3aed" stroke-width="3" stroke-linecap="round"/>
|
|
15
|
+
<rect x="840" y="150" width="240" height="140" rx="14" fill="#161b22" stroke="#7c3aed" stroke-width="2"/>
|
|
16
|
+
<path d="M947 193l30 32-14 2-8 15z" fill="none" stroke="#7c3aed" stroke-width="3" stroke-linejoin="round"/>
|
|
17
|
+
<circle cx="1050" cy="270" r="13" fill="#7c3aed"/><text x="1050" y="276" fill="#0d1117" text-anchor="middle" font-family="ui-monospace,monospace" font-size="14" font-weight="700">3</text>
|
|
18
|
+
<text x="60" y="332" fill="#8b949e" font-family="ui-monospace,monospace" font-size="14">PerryLink DSH plugin family · Apache-2.0</text>
|
|
19
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/index.js
CHANGED
|
@@ -606,7 +606,7 @@ function langfuseId(...parts) {
|
|
|
606
606
|
* @module dsh-observe/version
|
|
607
607
|
*/
|
|
608
608
|
/** The dsh-observe package version, kept in sync with package.json. */
|
|
609
|
-
const VERSION = "0.2.
|
|
609
|
+
const VERSION = "0.2.30";
|
|
610
610
|
// src/sinks.ts
|
|
611
611
|
/** POST a JSON body with a timeout; throws on non-2xx. */
|
|
612
612
|
async function postJson(url, headers, body, timeoutMs) {
|
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-observe",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.30",
|
|
4
4
|
"description": "OpenTelemetry and Langfuse observability exporter for DeepSeek Harness: turn/step/tool/LLM spans, token and cost metrics, and sanitized LLM prompt/completion capture from the session/event stream, with async batching, bounded offline buffering, and retry with backoff.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"README.es.md",
|
|
38
38
|
"README.pt.md",
|
|
39
39
|
"README.hi.md",
|
|
40
|
+
"docs/assets/*",
|
|
40
41
|
"LICENSE"
|
|
41
42
|
],
|
|
42
43
|
"sideEffects": false,
|
|
@@ -108,17 +109,17 @@
|
|
|
108
109
|
],
|
|
109
110
|
"engines": {
|
|
110
111
|
"node": "^22.19.0 || >=24.9.0",
|
|
111
|
-
"dsh": ">=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0"
|
|
112
|
+
"dsh": ">=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0 || >=0.2.3-0 <0.3.0-0"
|
|
112
113
|
},
|
|
113
114
|
"packageManager": "pnpm@11.7.0",
|
|
114
115
|
"peerDependencies": {
|
|
115
116
|
"@deepseek-ai/cordis": "^4.0.5-alpha.1",
|
|
116
|
-
"@deepseek-ai/dsh-llm": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
|
|
117
|
-
"@deepseek-ai/dsh-session": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
|
|
118
|
-
"@deepseek-ai/dsh-storage": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
|
|
119
|
-
"@deepseek-ai/dsh-storage-domain": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
|
|
120
|
-
"@deepseek-ai/dsh-storage-json": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
|
|
121
|
-
"@deepseek-ai/dsh-typert-protocol": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
|
|
117
|
+
"@deepseek-ai/dsh-llm": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0 || >=0.2.3-0 <0.3.0-0",
|
|
118
|
+
"@deepseek-ai/dsh-session": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0 || >=0.2.3-0 <0.3.0-0",
|
|
119
|
+
"@deepseek-ai/dsh-storage": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0 || >=0.2.3-0 <0.3.0-0",
|
|
120
|
+
"@deepseek-ai/dsh-storage-domain": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0 || >=0.2.3-0 <0.3.0-0",
|
|
121
|
+
"@deepseek-ai/dsh-storage-json": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0 || >=0.2.3-0 <0.3.0-0",
|
|
122
|
+
"@deepseek-ai/dsh-typert-protocol": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0 || >=0.2.3-0 <0.3.0-0",
|
|
122
123
|
"@deepseek-ai/schemastery": "^3.18.5"
|
|
123
124
|
},
|
|
124
125
|
"dependencies": {
|
package/src/version.ts
CHANGED