Skip to content

feat(updates): add npm-aware version checks and opt-out update notices #22

Closed

Description

@abruption

Python supports update --check, cached client/skill notices and package-manager-aware guidance. TS accepts --no-update-notice as a no-op but implements no update command or notices. Python's self-updating standalone-script mechanism cannot be copied onto npm-owned files.

Scope and completion criteria

  • Implement an explicit update --check against the TS npm package/stable channel, with current/latest/channel/source and an appropriate npm upgrade command; never compare Python and npm version numbers as one release stream.
  • If cached notices are added, make cache writes private/atomic, refresh bounded and single-flight, support --no-update-notice and SESSION_PEER_NO_UPDATE_NOTICE, and isolate network failures from list/send results.
  • Keep normal JSON deterministic except for documented additive metadata; text notices use stderr and multi-host execution must not multiply client refreshes.
  • Honor installation-manager ownership: ordinary checks/notices do not modify package files, Python installs, remote hosts or separately managed skills.
  • Test stable/prerelease tags, offline/invalid/expired cache, concurrent refresh, opt-out, package-manager guidance and a separate TS-aware skill version contract.

Dependencies and priority

Dependencies: None; implement within the existing guarded local/SSH contract.

Planning priority: P2 (P1 = foundational/common workflow; P2 = subsequent or optional capability). Milestone is a planning group, not a release or deployment approval.

Evidence

Compared Python 1.0.2 (47c2371) with TS 0.1.0 (0edc4f8), both main heads verified on 2026-09-27.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions