Skip to content

Update val-town extension - #30434

Merged
raycastbot merged 14 commits into
raycast:mainfrom
KevinBatdorf:ext/val-town
Aug 22, 2026
Merged

raycastbot merged 14 commits into
raycast:mainfrom
KevinBatdorf:ext/val-town

Conversation

@KevinBatdorf

@KevinBatdorf KevinBatdorf commented Aug 22, 2026 •

Copy link
Copy Markdown
Contributor

Description

The extension was using the defunct older api, so was essentially dead. This rewrites it against the current API. It also adds AI tools that let agents interact with the user's vals: reading files, blobs, and recent runs, and running a val (using an opt-in allow list gate). No writes on account or vals.

Screencast

valtown-update-2x.mp4

Checklist

KevinBatdorf and others added 12 commits October 16, 2023 09:58
- Pull store contributions, keeping the rewrite
- Pull contributions
- Merge pull request #4 from KevinBatdorf/fix/5xx-handling
- Survive Val Town 5xx responses in the details pane
- Merge pull request #3 from KevinBatdorf/deps/api-2.0.5
- Bump deps within what the toolchain supports
- Merge pull request #2 from KevinBatdorf/claude/angry-wiles-27f45b
- Finish the run-first configure screen, gate get-val-info, rewrite README
- Run vals from Raycast, and split configure from AI access
- Read structuredContent, and give every failure a UI state
- Make the fallbacks honest
- Cache each val by its main-branch version, and parse SSE per spec
- Clean up after the review sweep
- Drop the Errors menu bar
- Strip the dropdown-hunt instrumentation
- Rebuild around a single command and an allow list
- Drop the raycast-tool tag and rebuild Manage Tools around rows
- Cut the helper and instruction text down
- Stop leaking an implementation note into a tool\'s AI instructions
- Rewrite as an observability-first extension with AI tools
- Put loading check after error
- Improve startup  state
- Allow searching when auth error
- Re-impliment recent runs
- Fix type check
- Temp disable recent runs
- Add link to val.town
- Touch up for submission
- wip
- first commit
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: val-town Issues related to the val-town extension AI Extension platform: macOS OP is author The OP of the PR is the author of the extension labels Aug 22, 2026
@raycastbot

Copy link
Copy Markdown
Collaborator

Thank you for the update! 🎉

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

@greptile-apps

greptile-apps Bot commented Aug 22, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

The extension is comprehensively rewritten against Val Town’s current API, adding account browsing, val inspection and execution, and allow-listed AI tools.

  • Replaces the obsolete API integration with MCP-backed access to vals, files, blobs, runs, schedules, traces, and SQLite data.
  • Adds per-val configuration and an account-level allow list governing AI access and execution.
  • Updates the Raycast API, TypeScript, ESLint, and supporting project configuration.

Confidence Score: 5/5

The PR appears safe to merge because no blocking failure remains.

No blocking failure remains.

Important Files Changed

Filename Overview
extensions/val-town/src/views/SqliteQuery.tsx Adds the SQLite query UI and a lexical guard that checks a WITH statement’s top-level operation before invoking the API.
extensions/val-town/src/lib/tools.ts Implements configured val execution, including entrypoint resolution, confirmation, and authenticated requests for restricted vals.
extensions/val-town/src/lib/api.ts Centralizes the rewritten Val Town MCP operations used by the command and AI tools.
extensions/val-town/src/lib/allowed.ts Implements storage and management of the account-level allow list for AI-accessible vals.
extensions/val-town/eslint.config.js Replaces the legacy ESLint configuration with a flat config correctly wrapped by defineConfig.
extensions/val-town/package.json Updates extension metadata, commands, AI tools, preferences, scripts, and Raycast dependencies for the rewrite.

Reviews (3): Last reviewed commit: "Update CHANGELOG.md, add platforms field..." | Re-trigger Greptile

Comment thread extensions/val-town/CHANGELOG.md Resolved
Comment thread extensions/val-town/eslint.config.js Resolved
@KevinBatdorf
KevinBatdorf marked this pull request as ready for review August 22, 2026 13:18
@0xdhrv 0xdhrv self-assigned this Aug 22, 2026

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me, approved ✅

@raycastbot
raycastbot merged commit 0390b6a into raycast:main Aug 22, 2026
2 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

@KevinBatdorf

Copy link
Copy Markdown
Contributor Author

Hey @0xdhrv thanks. The bot added "platforms": ["macOS"] but this should work on Windows too since it's just an http api.

Was that just an automated default or did it detect something? Will a pr with "platforms": ["macOS", "Windows"] unlock it? I can test it on my pc today if so.

@KevinBatdorf
KevinBatdorf deleted the ext/val-town branch August 23, 2026 02:22
@0xdhrv

0xdhrv commented Aug 23, 2026

Copy link
Copy Markdown
Member

Hey @0xdhrv thanks. The bot added "platforms": ["macOS"] but this should work on Windows too since it's just an http api.

Was that just an automated default or did it detect something? Will a pr with "platforms": ["macOS", "Windows"] unlock it? I can test it on my pc today if so.

Yes that is correct, you can create a PR to update. Also, the bot only reads the package.json file and adds labels based on that.

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

Labels

AI Extension extension fix / improvement Label for PRs with extension's fix improvements extension: val-town Issues related to the val-town extension OP is author The OP of the PR is the author of the extension platform: macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants