Skip to content

Add get-note extension#26981

Open
uncleblue wants to merge 9 commits intoraycast:mainfrom
uncleblue:ext/get-note
Open

Add get-note extension#26981
uncleblue wants to merge 9 commits intoraycast:mainfrom
uncleblue:ext/get-note

Conversation

@uncleblue
Copy link
Copy Markdown

@uncleblue uncleblue commented Apr 7, 2026

Description

This PR adds a new Raycast extension, GetNote, for searching, saving, and managing GetNote notes from Raycast and Raycast AI.

Commands

  • Recent Notes: browse the 10 most recent notes with quick actions
  • Search Notes: semantic note search
  • Save Link: save a link note and wait for async processing to finish
  • Save Text Note: save a plain text note with an optional title and tags

AI Tools

  • get-total-note-count
  • search-notes
  • get-note-detail
  • save-link-note
  • save-text-note
  • delete-note
  • list-knowledge-bases
  • create-knowledge-base
  • list-knowledge-base-notes
  • search-knowledge-base-notes
  • add-note-to-knowledge-base
  • add-tags
  • delete-tag

Authentication

The extension supports:

  • manual credentials via Raycast extension preferences
  • in-app OAuth device flow with a stored local session

Manual credentials take precedence over the stored OAuth session.

Notes

  • Includes three metadata screenshots in this PR
  • Supports opening notes in the browser and opening source URLs for link notes
  • Uses the official GetNote icon
  • Platform: macOS

Screencast

get-note-1 get-note-3

Checklist

  • I read the extension guidelines
  • I read the documentation about publishing
  • I ran npm run build and tested this extension in Raycast
  • I checked that files in the assets folder are used by the extension itself
  • I checked that assets used by the README are placed outside of the metadata folder

- chore: prepare Raycast Store submission
- first commit for GetNote Raycast Extension
@raycastbot raycastbot added new extension Label for PRs with new extensions AI Extension platform: macOS labels Apr 7, 2026
@raycastbot
Copy link
Copy Markdown
Collaborator

Congratulations on your new Raycast extension! 🚀

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days.

Once the PR is approved and merged, the extension will be available on our Store.

@uncleblue uncleblue marked this pull request as ready for review April 7, 2026 07:21
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Apr 7, 2026

Greptile Summary

This PR adds the get-note Raycast extension with four view commands, thirteen AI tools, a BigInt-safe JSON parsing layer, and a device OAuth flow for connecting to the GetNote service. The overall structure is clean and well-organised, but there is one unreachable command that needs attention before merging.

  • src/knowledge-bases.tsx is a fully-implemented command that is not listed in package.json's commands array, making it permanently unreachable to users. Either register it or confirm it is intentionally deferred.

Confidence Score: 4/5

Safe to merge once the knowledge-bases command registration question is resolved

One P1 finding — a fully-implemented command that is permanently unreachable because it is not listed in package.json — keeps the score at 4. All other findings are P2 style/cleanup items that don't block correctness.

extensions/get-note/src/knowledge-bases.tsx and extensions/get-note/package.json

Important Files Changed

Filename Overview
extensions/get-note/package.json Main extension config; @raycast/utils dependency is unused and knowledge-bases command is missing from the commands array
extensions/get-note/src/knowledge-bases.tsx Fully-implemented command that is unreachable because it is not registered in package.json
extensions/get-note/CHANGELOG.md Missing {PR_MERGE_DATE} date placeholder in the Initial Version heading
extensions/get-note/src/lib/api.ts Core API layer with BigInt-safe JSON parsing, device OAuth flow, and task-polling helpers
extensions/get-note/src/lib/session.ts Credential resolution correctly prioritises manual preferences over the stored OAuth session
extensions/get-note/src/recent-notes.tsx Recent notes list with proper auth gating, delete confirmation, and local state update after delete
extensions/get-note/src/save-link.tsx Save link command with clipboard prefill, task polling, and graceful error handling
Prompt To Fix All With AI
This is a comment left during a code review.
Path: extensions/get-note/CHANGELOG.md
Line: 3

Comment:
**Missing `{PR_MERGE_DATE}` placeholder**

The heading is missing the required date placeholder. Without it the release date won't be populated automatically on merge.

```suggestion
## [Initial Version] - {PR_MERGE_DATE}
```

**Rule Used:** What: Changelog entries must use `{PR_MERGE_DATE}`... ([source](https://app.greptile.com/review/custom-context?memory=c2214c11-df56-490a-b1c0-09a385df481a))

How can I resolve this? If you propose a fix, please make it concise.

---

This is a comment left during a code review.
Path: extensions/get-note/src/knowledge-bases.tsx
Line: 1-66

Comment:
**`knowledge-bases` command not registered in `package.json`**

This file exports a fully-implemented `KnowledgeBasesCommand` but it is absent from the `commands` array in `package.json`. The four registered commands are `recent-notes`, `search-notes`, `save-link`, and `save-text-note``knowledge-bases` is not among them, so users can never invoke this command from Raycast. Either add the command entry to `package.json` or remove the file if it is not intended for this release.

How can I resolve this? If you propose a fix, please make it concise.

---

This is a comment left during a code review.
Path: extensions/get-note/package.json
Line: 532

Comment:
**Unused `@raycast/utils` dependency**

`@raycast/utils` is declared as a dependency but is never imported in any source file under `src/`. Unused dependencies bloat the install and should be removed.

**Rule Used:** What: Every dependency listed in package.json must... ([source](https://app.greptile.com/review/custom-context?memory=bffc60eb-f9f2-4219-b804-76e29e267d43))

How can I resolve this? If you propose a fix, please make it concise.

Reviews (1): Last reviewed commit: "Add store screenshot 2" | Re-trigger Greptile

Comment thread extensions/get-note/CHANGELOG.md Outdated
Comment thread extensions/get-note/src/knowledge-bases.tsx Outdated
Comment thread extensions/get-note/package.json
@uncleblue
Copy link
Copy Markdown
Author

uncleblue commented Apr 7, 2026

Addressed the review feedback in the latest update:

  • restored {PR_MERGE_DATE} in CHANGELOG.md
  • removed the unreachable src/knowledge-bases.tsx command file
  • removed the unused @raycast/utils dependency
  • also included the follow-up fixes for note detail safety, source URL validation, search state handling, and the delete action in note details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Extension new extension Label for PRs with new extensions platform: macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants