Skip to content

chore(issues): close issue #201 - proto submodule implemented#68

Open
tupe12334 wants to merge 4 commits into
mainfrom
issue-201
Open

chore(issues): close issue #201 - proto submodule implemented#68
tupe12334 wants to merge 4 commits into
mainfrom
issue-201

Conversation

@tupe12334

Copy link
Copy Markdown
Member

Summary

Test plan

  • Verified proto submodule is correctly configured in .gitmodules
  • Verified git submodule update --init works
  • Verified build succeeds with submodule-based proto files

🤖 Generated with Claude Code

tupe12334 and others added 4 commits March 6, 2026 20:20
Replace the local proto/ directory with a git submodule pointing to
https://github.com/centy-io/proto.git, and update the entire codebase
to align with the canonical proto definitions.

The new proto removed all deprecated Issue/Doc-specific RPCs in favor
of generic item CRUD operations (GetItem, ListItems, SearchItems,
UpdateItem, DeleteItem, etc.) and the GenericItem type replaces the
old Issue and Doc types.

Key changes:
- Add proto git submodule (centy-io/proto)
- Regenerate src/daemon/generated/ from new proto definitions
- Update all gRPC client interfaces (grpc-client-*.ts) to remove
  deprecated RPCs and use generic item methods
- Update all daemon wrapper functions to use generic item API with
  itemType: 'issues' or itemType: 'docs' discrimination
- Replace Issue/Doc types with GenericItem throughout the codebase
- Update commands (list, compact, org delete, register project,
  workspace new/open) for new proto field changes
- Delete daemon-get-next-issue-number (RPC removed from proto)
- Update all spec files to match new API shapes

Temporarily add --no-stash to pre-commit hook to allow committing the
submodule transition (lint-staged cannot stash when proto/ transitions
from tracked files to a git submodule).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Remove the temporary --no-stash flag added to work around lint-staged's
inability to stash during the proto/ submodule transition.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… rule

Refactor commands to stay within the 100 non-blank non-comment lines limit
enforced by the max-lines ESLint rule.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant