liaojianjin/dsh-large-jsonl-viewer--packages-plugins-large-jsonl-viewer ↗★ 0

dsh-large-jsonl-viewer

为DSH提供已索引、只读的JSONL和NDJSON文件预览器 适合需要在DSH中快速预览和检索超大JSONL/NDJSON数据集的用户。

包名
dsh-large-jsonl-viewer
兼容性
待验证
Harness 依赖范围
0.2.1-rc.2
Cordis 依赖范围
4.0.5
版本
0.1.1
许可证
MIT
最近更新
2026年10月21日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:liaojianjin/dsh-large-jsonl-viewer#b3eccec373bfb857be01981ad11998ea0f5313e1&path:packages/plugins/large-jsonl-viewer

⚙️ Configuration & limits

Defaults suit stable, uncompressed UTF-8 regular files. The source may be an object, array or scalar; blank lines still count as physical lines. Final-path symlinks, directories, devices and unknown-size sources are refused.

Host configuration

Override the plugin row in the profile's cordis.patch.yml using a complete configuration object:

- id: large-jsonl-viewer
  config:
    cacheDirectory: /absolute/path/to/jsonl-cache
    scanChunkMiB: 4
    recordLimitMiB: 8
    cacheLimitMiB: 512
    maxLines: 10000000
    maxFiles: 2
    maxViews: 32
    maxRecordTasks: 2
    pollMs: 2000

Scan chunks accept 1/4/8 MiB; the ordinary-record budget accepts 1–16 MiB. The default formatting budget is 16 MiB, 100,000 nodes, 128 levels and about 2 seconds; exceeding it switches to streaming mode. Streaming metadata is capped at 2,000 nodes and the parser stack at 2,048 levels. Later pages of long containers may require another scan.

Cache, filesystem and export boundaries

  • Host cache defaults to ~/.cache/dsh-large-jsonl-viewer. It stores byte indexes, versions and fingerprints, not record contents. An unwritable directory or writer-lock conflict falls back to temporary storage; temporary indexes are removed on close. Stale crash locks are not forcibly reclaimed.
  • Inactive caches use LRU eviction. Active indexes have explicit line and concurrency limits. Dense short-line files may reach the default 10-million-line cap; this is not a promise of unrestricted 100 GB support.
  • A browser connected to a remote Host reads that Host's filesystem. Stable source files are required; version checks are not transactional snapshots.
  • File System Access saves in chunks where supported. Other carriers use a Blob download capped at 16 MiB. Clipboard copying is limited to ordinary, valid UTF-8 records.
  • Preferences and history last until the tab closes. Record text is not stored in the persistent layout.

Scope: read-only viewing. Editing, automatic tailing, compressed files, whole-file search and cross-record JSONPath are not implemented. Windows/Linux, SSH, 50/100 GB, cold-cache performance, full browser p95 and long-run browser memory remain unverified. Compatibility notes →