mirage
strukto-ai
The World's First Unified Virtual Filesystem For AI Agents
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:ChaoYuZhang001/dsh-forge
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Static compatibility and permission verification for DeepSeek Harness plugins.
DSH Forge is a community developer tool, not an official DeepSeek product. A passing receipt is not a security audit.
DSH Forge checks a plugin before it is installed into a real profile:
dsh.bundle install contract;rc versions;packages/, plugins/, or apps/;npm pack --dry-run --ignore-scripts for a local package;The alpha never executes plugin lifecycle scripts and does not mutate ~/.dsh.
npm install
npm run build
node dist/cli/main.js verify fixtures/public/healthy-plugin --smoke
node dist/cli/main.js verify https://github.com/owner/plugin --dsh-version 0.1.0-rc.7 --json receipt.json
node dist/cli/main.js verify https://github.com/owner/monorepo --path packages/plugin --json receipt.json
The default baseline is 0.1.0-rc.7, pinned to the public DSH tag dsh-v0.1.0-rc.7.
For GitHub API rate limits, set a read-only GITHUB_TOKEN in the environment. The token is used only for fetching public package.json content and is never written to a Receipt:
GITHUB_TOKEN=... node dist/cli/main.js verify https://github.com/owner/plugin
When the repository root is not a DSH plugin, DSH Forge scans package manifests under packages/, plugins/, and apps/. One DSH candidate is selected automatically. Multiple candidates fail with their paths so the workflow cannot silently verify the wrong plugin.
Select a package explicitly with either form:
node dist/cli/main.js verify https://github.com/owner/repository --ref main --path packages/plugin
node dist/cli/main.js verify https://github.com/owner/repository/tree/main/packages/plugin
The tree URL form treats the first segment after /tree/ as the ref. For branch names containing /, use the repository URL with separate --ref and --path options.
GitHub Receipts record the requested ref, resolved commit SHA, selected package.json path and blob SHA, numeric repository ID, SPDX license, and archived state. Remote source is read as data only; discovery never runs repository code.
Plugin repositories can verify every pull request without installing or building DSH Forge:
name: DSH plugin compatibility
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ChaoYuZhang001/dsh-forge@v0.3.0-alpha.1
with:
target: .
github-token: ${{ github.token }}
The Action writes a check table to the workflow Summary, uploads a sanitized dsh-forge-receipt.json artifact for 14 days, and fails on a fail Receipt. Pin the full release tag or commit SHA in production workflows. Set upload-receipt: 'false' only when the workflow has its own artifact policy.
This public repository contains source, schemas, tests, sanitized fixtures, CI rules, and public release receipts. It must not contain API keys, signing certificates, .env files, real ~/.dsh profiles, user transcripts, private plugin sources, or raw logs containing machine paths.
See SECURITY.md, CONTRIBUTING.md, and docs/release-policy.md.
v0.3.0-alpha.1 adds deterministic monorepo package selection and immutable GitHub provenance to the reusable Action. It does not yet install plugins or mutate a DSH profile. Transactional profile installation, rollback, and the desktop operator will build on this Receipt contract in later releases.
MIT. See LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: cli、github-action、supply-chain-security。