release

A guide to building and packaging the project’s release files into a ZIP archive for Chrome Web Store submission. The release build is stored in a dist/ folder and is bundled and minified.

In plain words
What is it for?
Use it to create the dist/ build, make the Chrome Web Store ZIP, package an existing build, or choose a custom output path.
Why use it?
It separates the packaged version from the development files and provides the commands needed to build or package a consistent release.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/windviki/vbookmarks/release
Clone the repo
git clone --depth 1 https://github.com/windviki/vBookmarks
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,072 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.02072
Opus 5 $0.00000 $0.01036
Sonnet 5 $0.00000 $0.00414
Haiku 4.5 $0.00000 $0.00207

Measured 2d ago against content hash 4a9be969f723, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

release scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/agents/release.md · 61 lines

How it starts

The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Release: Build, Package & Publish (detail)

Extracted verbatim from AGENTS.md — the detailed halves of "Build (release)", "Packaging (deployment)" and "Release process". AGENTS.md keeps the command summary and the step outline.

Build & Packaging

Since 4.1.0 the release form is dist/ (esbuild bundle + Terser minify, same-path structure — the dev flow stays build-free):

npm run build            # dist/ + build-time self-checks (fails on contract breaks; see docs/plan-4.1.0/build-and-performance-plan.md §3.1)
npm run package          # build + zip from dist/ → tmp/vBookmarks_<version>.zip
python3 scripts/package.py --root dist    # zip from an existing dist/ (no rebuild)
python3 scripts/package.py --output x.zip # custom output path

Packaging (deployment)

npm run package                            # 4.1.0+ default: build dist/ then zip it → tmp/vBookmarks_<version>.zip
python3 scripts/package.py --root dist     # zip from an existing dist/ (no rebuild)
python3 scripts/package.py                 # source-root zip (dev form, 134 files — legacy/对照)

The zip is for Chrome Web Store submission. Runtime file lists live in scripts/runtime-files.json — the single source of truth shared by build.mjs and package.py (keep it in sync when adding or removing runtime files). The JS seed is classicJs + esmEntries (15 files); resolve_js_imports walks the import graph recursively (IMPORT_RE matches static from/import '…' and dynamic import('…') alike), so a module reachable only through imports — e.g. src/dropdown.js, pulled in by src/view-dupes.js — ships without being listed in source-root mode; dist bundles contain no imports, so nothing is added there (78 files). An unresolvable target prints a WARNING.

Release process (发布流程 = git发布 + 商店发布)

The release is one process with two sequential steps. git发布 prepares version / changelog / tag / package and pushes; 商店发布 uploads the packaged zip to the Chrome Web Store via the CWS API V2 and submits it for review. Store publishing requires git发布 to have been executed for the same version — enforced automatically by the pre-check in scripts/webstore/publish.js (见 Step 2)。

Read the full file on GitHub · 61 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 61 lines · 0 tokens per session scan A 4a9be969f723

Subscribe to this mod's changes

release is an agent published in the GitHub repository windviki/vBookmarks (134 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,072 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.