返回目录
Agent 与会话 插件

dsh-repomix

lengrufeng2008/dsh-repomix

Bounded, read-only repository packing for DSH context handoff.

Stars
0
Forks
0
Issues
0
更新
22 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:lengrufeng2008/dsh-repomix

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

Repo Pack for DSH

A bounded, read-only repository packer for context handoff. Ported in spirit from Repomix: one XML/Markdown document, explicit size caps, and a truncation flag instead of silent omission.

Use

node bin/dsh-repomix.mjs . --format xml --output repo.xml
node bin/dsh-repomix.mjs . --format markdown --max-total 500000

DSH tool:

Use repo_pack on /path/to/repo with format=xml and maxTotalBytes=500000.

What it skips

  • .git, node_modules, dist, build, coverage, caches
  • lockfiles and common binaries
  • .env*, .npmrc, .netrc, SSH/AWS credential directories

The skip list is a guardrail, not a guarantee. Inspect the output before sharing it.

Limits

  • Rough token estimate: characters / 4, not a tokenizer count.
  • No .gitignore semantics, semantic chunking, embeddings, or upload.
  • Per-file and total caps; truncated: true means content was omitted.
  • Packed content is data, not instructions.

Tests

npm test

Fixtures include a binary and a node_modules decoy; neither should appear.

Provenance

Inspired by Repomix; no source code copied. See NOTICE.md. License: MIT.

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类Agent 与会话
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: context。