dsh-observe 0.2.28 → 0.2.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/LICENSE +0 -0
- package/README.en.md +27 -17
- package/README.es.md +29 -19
- package/README.hi.md +29 -19
- package/README.md +27 -17
- package/README.pt.md +29 -19
- package/THIRD_PARTY_NOTICES.md +0 -0
- package/cordis.patch.yml +0 -0
- package/docs/assets/dsh-observe-demo.gif +0 -0
- package/docs/assets/dsh-observe-demo.png +0 -0
- package/docs/assets/dsh-observe-flow-dark.svg +31 -0
- package/docs/assets/dsh-observe-flow-light.svg +31 -0
- package/docs/assets/dsh-observe-flow-v5-dark.svg +97 -0
- package/docs/assets/dsh-observe-flow-v5-light.svg +97 -0
- package/docs/assets/dsh-observe-flow.svg +19 -0
- package/docs/assets/dsh-observe-hero-en-dark.webp +0 -0
- package/docs/assets/dsh-observe-hero-en-light.webp +0 -0
- package/docs/assets/dsh-observe-hero-zh-dark.webp +0 -0
- package/docs/assets/dsh-observe-hero-zh-light.webp +0 -0
- package/docs/assets/dsh-observe-hero.png +0 -0
- package/lib/index.js +1 -1
- package/lib/typert.host.js +0 -0
- package/lib/types/backoff.d.ts +0 -0
- package/lib/types/backoff.d.ts.map +0 -0
- package/lib/types/backoff.js +0 -0
- package/lib/types/backoff.js.map +0 -0
- package/lib/types/collector.d.ts +0 -0
- package/lib/types/collector.d.ts.map +0 -0
- package/lib/types/collector.js +0 -0
- package/lib/types/collector.js.map +0 -0
- package/lib/types/config.d.ts +0 -0
- package/lib/types/config.d.ts.map +0 -0
- package/lib/types/config.js +0 -0
- package/lib/types/config.js.map +0 -0
- package/lib/types/ids.d.ts +0 -0
- package/lib/types/ids.d.ts.map +0 -0
- package/lib/types/ids.js +0 -0
- package/lib/types/ids.js.map +0 -0
- package/lib/types/index.d.ts +0 -0
- package/lib/types/index.d.ts.map +0 -0
- package/lib/types/index.js +0 -0
- package/lib/types/index.js.map +0 -0
- package/lib/types/model.d.ts +0 -0
- package/lib/types/model.d.ts.map +0 -0
- package/lib/types/model.js +0 -0
- package/lib/types/model.js.map +0 -0
- package/lib/types/pipeline.d.ts +0 -0
- package/lib/types/pipeline.d.ts.map +0 -0
- package/lib/types/pipeline.js +0 -0
- package/lib/types/pipeline.js.map +0 -0
- package/lib/types/pricing.d.ts +0 -0
- package/lib/types/pricing.d.ts.map +0 -0
- package/lib/types/pricing.js +0 -0
- package/lib/types/pricing.js.map +0 -0
- package/lib/types/project.d.ts +0 -0
- package/lib/types/project.d.ts.map +0 -0
- package/lib/types/project.js +0 -0
- package/lib/types/project.js.map +0 -0
- package/lib/types/remote.d.ts +0 -0
- package/lib/types/remote.d.ts.map +0 -0
- package/lib/types/remote.js +0 -0
- package/lib/types/remote.js.map +0 -0
- package/lib/types/sanitize.d.ts +0 -0
- package/lib/types/sanitize.d.ts.map +0 -0
- package/lib/types/sanitize.js +0 -0
- package/lib/types/sanitize.js.map +0 -0
- package/lib/types/sinks.d.ts +0 -0
- package/lib/types/sinks.d.ts.map +0 -0
- package/lib/types/sinks.js +0 -0
- package/lib/types/sinks.js.map +0 -0
- package/lib/types/spool.d.ts +0 -0
- package/lib/types/spool.d.ts.map +0 -0
- package/lib/types/spool.js +0 -0
- package/lib/types/spool.js.map +0 -0
- package/lib/types/typert.host.d.ts +0 -0
- package/lib/types/typert.host.d.ts.map +0 -0
- package/lib/types/typert.host.js +0 -0
- package/lib/types/typert.host.js.map +0 -0
- package/lib/types/version.d.ts +1 -1
- package/lib/types/version.d.ts.map +0 -0
- package/lib/types/version.js +1 -1
- package/lib/types/version.js.map +0 -0
- package/lib/types/wire.d.ts +0 -0
- package/lib/types/wire.d.ts.map +0 -0
- package/lib/types/wire.js +0 -0
- package/lib/types/wire.js.map +0 -0
- package/package.json +17 -35
- package/src/backoff.ts +0 -0
- package/src/collector.ts +0 -0
- package/src/config.ts +0 -0
- package/src/ids.ts +0 -0
- package/src/index.ts +0 -0
- package/src/model.ts +0 -0
- package/src/pipeline.ts +0 -0
- package/src/pricing.ts +0 -0
- package/src/project.ts +0 -0
- package/src/remote.ts +0 -0
- package/src/sanitize.ts +0 -0
- package/src/sinks.ts +0 -0
- package/src/spool.ts +0 -0
- package/src/typert.host.ts +0 -0
- package/src/version.ts +1 -1
- package/src/wire.ts +0 -0
package/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):
|
|
@@ -293,7 +299,7 @@ Se houver outro plugin de observabilidade no mesmo perfil, atenção a duas cois
|
|
|
293
299
|
|
|
294
300
|
| Dimensão | Estado |
|
|
295
301
|
|---|---|
|
|
296
|
-
| Harness | DeepSeek Harness `dsh-v0.2.
|
|
302
|
+
| Harness | DeepSeek Harness `dsh-v0.2.2-rc.4` (adaptado em 2026-11-18): o formato de sessão V4 representa o resultado de uma ferramenta como uma mensagem de primeira classe `role: 'tool'` com `toolCallId` + `content` + `isError` opcional no nível superior — o bloco de conteúdo `tool-result` do V3 saiu do `ContentBlockMap` do host, e este plugin lê só a forma V4 (um log V3 anterior à atualização ainda é projetado por um caminho de compatibilidade somente leitura). Os demais traços do formato V3 continuam: o fluxo do assistente vem embutido em `assistant/message` / `assistant/attempt`, e o system prompt é o nó 0 da superfície (`system/message`); o plugin consome apenas o fluxo de eventos ao vivo e nunca lê arquivos de log de sessão. `engines.dsh` é `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`; o teste de fumaça de instalação do perfil é coberto pelo workflow de compatibilidade. |
|
|
297
303
|
| Node | `^22.19.0 \|\| >=24.9.0`, ESM puro (`"type": "module"`) |
|
|
298
304
|
| Backends | OpenTelemetry OTLP/HTTP (traces + métricas, codificação JSON) e Langfuse (observabilidade LLM) — um ou outro, ou ambos |
|
|
299
305
|
| Modelo | Independente de modelo: exporta o fluxo session/event; não faz chamadas a modelos |
|
|
@@ -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
|
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
File without changes
|
package/cordis.patch.yml
CHANGED
|
File without changes
|
|
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/typert.host.js
CHANGED
|
File without changes
|
package/lib/types/backoff.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/backoff.js
CHANGED
|
File without changes
|
package/lib/types/backoff.js.map
CHANGED
|
File without changes
|
package/lib/types/collector.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/collector.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/config.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/config.js
CHANGED
|
File without changes
|
package/lib/types/config.js.map
CHANGED
|
File without changes
|
package/lib/types/ids.d.ts
CHANGED
|
File without changes
|
package/lib/types/ids.d.ts.map
CHANGED
|
File without changes
|
package/lib/types/ids.js
CHANGED
|
File without changes
|
package/lib/types/ids.js.map
CHANGED
|
File without changes
|
package/lib/types/index.d.ts
CHANGED
|
File without changes
|
package/lib/types/index.d.ts.map
CHANGED
|
File without changes
|
package/lib/types/index.js
CHANGED
|
File without changes
|
package/lib/types/index.js.map
CHANGED
|
File without changes
|
package/lib/types/model.d.ts
CHANGED
|
File without changes
|
package/lib/types/model.d.ts.map
CHANGED
|
File without changes
|
package/lib/types/model.js
CHANGED
|
File without changes
|
package/lib/types/model.js.map
CHANGED
|
File without changes
|
package/lib/types/pipeline.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/pipeline.js
CHANGED
|
File without changes
|
|
File without changes
|