Skip to content

feat(cli): add project management commands - #1

Merged
hyochan merged 1 commit into
mainfrom
codex/gitdog-cli
Nov 3, 2026
Merged

hyochan merged 1 commit into
mainfrom
codex/gitdog-cli

Conversation

@hyochan

@hyochan hyochan commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Introduce the gitdog npm CLI with a dog ASCII banner, GitHub browser login, Firebase-style project initialization and aliases, automation configuration, tickets/actions, indexing, teams, invitations, account/billing commands and a generated catalog of 86 public operations.

Project API keys are saved only to private credential files; commands output metadata rather than secrets. Key-only requests never fall back to an owner session. The implementation includes strict callback/state checks, serialized refresh/logout, whole-login Ctrl+C cancellation and atomic desired-state project enable/disable.

Validation:

  • All 86 compiled Node tests, typecheck, formatting and production dependency audit pass.
  • The npm archive installs and runs under Node 22.14, including banner, key commands and the shipped API catalog. All 21 archive files match the validated tree.
  • Real Convex development lifecycle test: 39 CLI executions plus HTTP assertions cover project creation, concurrent pause/resume, key issuance/use/revocation, expiry, access denial, actual cached GitHub file content and disconnection.
  • Test users, sessions, project, keys and 39 unshared file blobs were removed; independent readback found zero test data/storage.
  • Two clean self-review snapshots of the complete change set, at least five minutes apart, with exact-tree checks.

This is a terminal product; visual verification covers the ASCII banner and command output. Browser login exchanges and cancellation phases have real local HTTP regression coverage. No website UI is changed.

The npm package is prepared but is not published. The companion backend must be deployed before these project-key and desired-activity operations are used.

Companion backend: https://github.com/hyodotdev/gitdog.dev/pull/55

@hyochan hyochan added 🎯 feature New feature 💨 ci Cloud integration 📖 documentation Improvements or additions to documentation 🧪 test Issue or pr related to testing labels Nov 3, 2026

@hyochan hyochan left a comment •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-review of this exact head found no actionable issues. The complete CLI tree passed two clean snapshots at 15:09:23 and 15:14:34 KST, with staged/working/committed byte equality checks. All 86 compiled Node tests, typecheck, formatting, production dependency audit and npm archive installation pass. The installed gitdog executable, dog banner, key commands and 86-entry catalog run on Node 22.14. Regression tests cover Ctrl+C throughout login and concurrent desired activity commands. Real development E2E passed 39 CLI executions plus HTTP assertions, and removed fixture data and 39 unshared blobs with zero-data readback. This terminal-only change has verified command output and no website visual changes. The companion backend must be available before using the new operations.

@hyochan
hyochan merged commit 4e85529 into main Nov 3, 2026
1 check passed
@hyochan
hyochan deleted the codex/gitdog-cli branch November 3, 2026 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💨 ci Cloud integration 📖 documentation Improvements or additions to documentation 🎯 feature New feature 🧪 test Issue or pr related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant