DeepSeek Harness Plugin

loshanvren/dsh-codex-reset-tracker

Stars ★ 2 Category Usage & Billing Added 2026-10-18

Reports Codex reset probabilities and schedules in the DSH composer, with opt-in system notifications for completed resets and a read-only status and history tool.

Install

# from a prebuilt release tarball

dsh plugin --profile web add -w "https://github.com/loshanvren/dsh-codex-reset-tracker/releases/latest/download/dsh-codex-reset-tracker.tgz"

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:loshanvren/dsh-codex-reset-tracker

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

English | 简体中文

dsh-codex-reset-tracker

DeepSeek Harness plugin for Codex reset status. It adds a composer entry with a compact status popover and registers the read-only codex_reset agent tool.

Acknowledgements

Reset signals and available translations are provided by Did Codex Reset. Thank you to its maintainers for collecting and organizing these public reset signals and providing the read-only API and OpenAPI specification. This repository is a DSH integration of that upstream work; the API does not include account-specific quota information.

Original reset announcements are from Tibo Sottiaux (@thsottiaux).

Screenshots

Light theme Dark theme

What it shows

  • The composer stays compact: Codex ≥86%. A blue globe identifies Global resets, an amber card identifies Banked resets, and joint events show both icons. Tooltips and accessible labels give the full type; unknown types use a question-mark icon.
  • The popover places a large Yes or No at the right of “Reset today?”. The confirmed type and, for a single event with a known completion time, its time appear below the question. If the status is unavailable, the answer is a dash. The next forecast follows the summary.
  • Tibo’s post appears directly below the forecast. When a confirmed reset has no post of its own, the tracker can show a recent announcement linked to that reset by the source. The post shows when it was published; the history shows when the reset was completed. One button switches the post to the other language when both are available. The post starts in the interface language when available, and the choice persists when reopening the popover during this page session. Switching sends no extra API request. The latest Global and Banked resets appear beneath the post, newest first, followed by the footer with fetch time and icon actions.
  • Completion priority remains type-aware: a Banked completion does not hide a pending Global forecast, and joint schedules need both types completed. Confidence comes directly from the API; the dock retains its rounded 80% threshold while the popover can show lower probabilities.
  • Refreshes run every 10 minutes, with 60-second freshness checks on opening, foregrounding or reconnecting. Timeout, rate-limit, retry and error fallback behavior remains. Completion notifications name the type, deduplicate joint events, and can notify sequential events on the same day; first-load silence, browser permission via the bell, Web Locks and recent-ID deduplication remain.

Install from source

Clone the repository, then add it to a DSH profile:

git clone https://github.com/loshanvren/dsh-codex-reset-tracker.git
cd dsh-codex-reset-tracker
dsh plugin --profile <profile> add .

The package and client loader are named dsh-codex-reset-tracker as of v0.4.0.

Upgrade from v0.3.x

The old package was named dsh-codex-reset. Remove that package from the same DSH profile before installing the new package, so the old tool and composer entry do not remain enabled alongside the new ones:

dsh plugin --profile <profile> remove dsh-codex-reset
dsh plugin --profile <profile> add https://github.com/loshanvren/dsh-codex-reset-tracker/releases/latest/download/dsh-codex-reset-tracker.tgz

Restart DSH after replacing the package. If you applied the patch manually, change its package name to dsh-codex-reset-tracker, preserve the codex-reset row ID and your config, and do not keep a second old row.

Prebuilt install

dsh plugin --profile <profile> add https://github.com/loshanvren/dsh-codex-reset-tracker/releases/latest/download/dsh-codex-reset-tracker.tgz

The release tarball contains the same JavaScript, manifest, patch and locale files as a source install; there is no install-time build script.

Agent tool

codex_reset supports:

  • action: "status" — the latest global and Banked reset signals and the next scheduled reset.
  • action: "records" — one page of records, filtered by kind, page, and pageSize.

Every record carries resetType: global (global reset), banked (banked reset) or global_and_banked (one event covering both). kind (reset_scheduled / reset_completed) is a separate axis and never substitutes for a type. Missing or unknown values are rendered as unknown, not guessed.

The tool accepts an optional lang for record translations. Successful responses are cached for 60 seconds by default.

Config Default Purpose
apiBaseUrl https://didcodexreset.com/openapi/v1 Public API base URL used by the agent tool
cacheTtlSeconds 60 Tool response cache, from 5 to 3600 seconds
timeoutMs 20000 Tool call timeout, from 1000 to 120000 milliseconds

Override these values under the plugin row's config in cordis.patch.yml. The public API documents a shared limit of 60 requests per hour per IP.

License

The MIT License applies to this repository's code only. It does not relicense Did Codex Reset's data or translations, or Tibo Sottiaux's post and profile image.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.