Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions extensions/promptty/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# Raycast specific files
raycast-env.d.ts
.raycast-swift-build
.swiftpm
compiled_raycast_swift
compiled_raycast_rust

# misc
.DS_Store
3 changes: 3 additions & 0 deletions extensions/promptty/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"printWidth": 120
}
11 changes: 11 additions & 0 deletions extensions/promptty/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Changelog

## [Initial Version] - {PR_MERGE_DATE}

- Search local Promptty prompts by title, content, and category.
- Preview full prompt content and metadata.
- Paste or copy a selected prompt.
- Rank favorites first with Raycast-local frecency.
- Fall back to a bounded last-known-good local cache.
- Require Promptty for Mac 1.4.0 or later, with Open Promptty and App Store update actions for missing or older versions.
- Explain missing, empty, stale, malformed, incompatible, partial-record, and permission states, including a command-preferences action when access is blocked.
21 changes: 21 additions & 0 deletions extensions/promptty/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 Michal Kos

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
45 changes: 45 additions & 0 deletions extensions/promptty/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Promptty for Raycast

Search your local Promptty library, preview a saved prompt, and paste or copy it without opening Promptty.

## Requirements

- macOS
- Raycast
- Promptty for Mac 1.4.0 or later

If the extension detects an export from an older Promptty version, it blocks access and links directly to the App Store update. Open Promptty for Mac once after installing or updating it. Promptty creates a local, read-only integration snapshot that remains available while the app is closed.

## Use

1. Run **Search Promptty** in Raycast.
2. Search titles, prompt content, or categories.
3. Press Return to **Paste Prompt** into the previously active app.
4. Press `⌘ Return` to **Copy Prompt**.

The detail pane shows the full prompt, category, and its most relevant activity date.

## Local-only privacy

Promptty for Raycast:

- reads only Promptty’s versioned local JSON export;
- does not read SwiftData, SQLite, CloudKit, or the Promptty web API;
- does not create, edit, delete, or favorite prompts;
- does not update Promptty usage counters;
- makes no network requests and includes no analytics or crash-reporting SDK;
- never logs prompt content or search queries.

Raycast keeps a bounded last-known-good copy in its local extension cache so prompts remain available if the latest export is temporarily malformed or unavailable.

Default snapshot:

`~/Library/Group Containers/group.codes.kos.Promptty/Library/Application Support/RaycastIntegration/prompts-v1.json`

## Troubleshooting access

If the snapshot is missing, open Promptty for Mac once and return to Raycast.

If Raycast reports a permission error, use **Open Command Preferences** from the empty state (or open the **Search Promptty** command preferences), then choose **Snapshot File** and select Promptty’s `prompts-v1.json`.

The preference is an explicit fallback only. The extension never scans broad filesystem locations and never writes into Promptty’s App Group.
Binary file added extensions/promptty/assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions extensions/promptty/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import raycastConfig from "@raycast/eslint-config";

export default [
...raycastConfig,
{
ignores: ["dist/**"],
},
];
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading