Skip to content

fix: support piped content in note updates - #112

Merged
Yukaii merged 1 commit into
developfrom
feature/dev-3150
Sep 16, 2026
Merged

Yukaii merged 1 commit into
developfrom
feature/dev-3150

Conversation

@EastSun5566

Copy link
Copy Markdown
Contributor

Summary

  • Support piped content in personal and team note updates.
  • Reject conflicting content sources and empty updates.
  • Add tests and CLI examples.

Testing

  • pnpm test:unit
  • pnpm lint
  • pnpm build
  • Created a note, updated it through stdin, verified the exact content, and removed it.

Closes #110

Copilot AI lite review requested due to automatic review settings September 16, 2026 10:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

A critical TypeScript typing error in src/note-update.ts prevents the build from succeeding.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Adds piped stdin support for personal and team note updates, with validation for conflicting or empty content.

Changes:

  • Adds shared payload construction and validation.
  • Supports piped content in both update commands.
  • Adds tests and CLI documentation examples.
File summaries
File Description
test/note-update.test.ts Tests payload and validation behavior.
src/note-update.ts Builds validated update payloads.
src/commands/team-notes/update.ts Supports piped team note content.
src/commands/notes/update.ts Supports piped personal note content.
README.md Documents piped update commands.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/note-update.ts
@EastSun5566
EastSun5566 requested a review from Yukaii September 16, 2026 16:24
@EastSun5566
EastSun5566 added this pull request to stack #116 September 16, 2026 18:45
@Yukaii
Yukaii merged commit 12652bb into develop Sep 16, 2026
4 checks passed
@Yukaii
Yukaii deleted the feature/dev-3150 branch September 16, 2026 21:22
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.

Support piped content in note update commands

3 participants