Add dated-folder extension - #30600
Open
fanhefeng wants to merge 3 commits into
Open
Conversation
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 15 business days. Once the PR is approved and merged, the extension will be available on our Store. |
Contributor
Greptile SummaryThe PR adds the macOS-only Dated Folder extension, which creates a date-formatted directory and opens it in a selected or system-default terminal.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains; the generated preference type issue is fixed, and the updated terminal selection follows the newest numeric LaunchServices modification date as described in the resolved thread. Important Files Changed
Reviews (5): Last reviewed commit: "Keep single-quoted text literal in the f..." | Re-trigger Greptile |
fanhefeng
force-pushed
the
ext/dated-folder
branch
from
August 28, 2026 03:09
cc9ebcd to
d22ded3
Compare
fanhefeng
force-pushed
the
ext/dated-folder
branch
from
August 28, 2026 05:34
d22ded3 to
61919d6
Compare
… handler - Use the generated Preferences.CreateDatedFolder type instead of a hand-written interface that duplicated the manifest. - When the LaunchServices plist carries several shell-role records for public.unix-executable, follow the one with the newest LSHandlerModificationDate rather than the first record in the file.
- Text wrapped in single quotes is no longer scanned for date tokens, so a format like 'summer'-yyyy yields summer-2026 instead of having the mm inside "summer" expanded to the current minute. '' produces a single quote, following the usual LDML convention. - Document the escape in the preference description and the README. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LV7vNG8uKtCWkeYDyx5CgM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Dated Folder adds one
no-viewcommand, Create Dated Folder: it creates a folder named after today's date (e.g.2026-08-28) inside a parent folder of your choice and opens it straight in a terminal. It is meant for the "I need somewhere to put today's scratch work" moment — one keystroke instead ofmkdir+cd+ opening a terminal window.Preferences:
directory) — defaults to~/Desktop/tempwhen empty.appPicker) — any installed app. When empty, the extension follows the terminal registered in LaunchServices as the shell-role handler forpublic.unix-executable, which is exactly what Ghostty / iTerm2 / Warp write when you accept "make this your default terminal". Falls back to Terminal.app.textfield) —yyyy,MM,dd,HH,mm,sstokens;/nests folders (yyyy/MM/dd). Names containing..segments are rejected so a format string can never escape the parent folder.checkbox) — also reveal the folder in Finder.No network access, no binaries, no third-party dependencies beyond
@raycast/api/@raycast/utils.platformsis["macOS"]only. A Windows launcher is already insrc/lib.ts(Windows Terminal viawt.exe -d, other shells viastart /d, Desktop resolved from the known-folder registry entry so OneDrive redirection is respected), but it has not been exercised on a real Windows machine yet, so the extension does not claim support it cannot back. Windows will be enabled in a follow-up PR after manual QA.Screencast
The command has no UI of its own (
no-view): it creates the folder, opens the terminal, and confirms with a HUD such as📂 Ghostty → ~/Desktop/temp/2026-08-28.Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare located outside the metadata folder if they were not generated with our metadata tool