Skip to content

feat(local-explorer-ui): Add agent prompt card#13407

Merged
NuroDev merged 22 commits intomainfrom
NuroDev/local-explorer-api-prompt
Apr 13, 2026
Merged

feat(local-explorer-ui): Add agent prompt card#13407
NuroDev merged 22 commits intomainfrom
NuroDev/local-explorer-api-prompt

Conversation

@NuroDev
Copy link
Copy Markdown
Member

@NuroDev NuroDev commented Apr 10, 2026

Fixes N/A.

Summary

  • Upgrades @cloudflare/kumo to version 1.18.0
  • Adds a new layer card to the homepage
    • Includes a prompt to provide agents / LLMs for how to use the local explorer API
  • Ran the workspace prettify script to format a number of other Local Explorer files

  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: WIP Experimental feature

A picture of a cute animal (not mandatory, but encouraged)


Open with Devin

@NuroDev NuroDev self-assigned this Apr 10, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 10, 2026

🦋 Changeset detected

Latest commit: 893bf3f

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 10, 2026

⚠️ Issues found

.changeset/fuzzy-years-cover.md

Version Type: This changeset describes adding a new "Copy prompt for agent" button, which is a new feature. According to the changeset guidelines, new features should be minor, not patch:

  • minor: New features, new CLI commands, new configuration options, deprecations, and changes to experimental/beta/pre-1.0 features

Please change the version type from patch to minor.


.changeset/tangy-wings-cover.md looks good - patch is appropriate for a bug fix.

ask-bonk[bot]

This comment was marked as resolved.

@ask-bonk
Copy link
Copy Markdown
Contributor

ask-bonk bot commented Apr 10, 2026

I'm Bonk, and I've done a quick review of your PR.

This PR adds an agent/LLM prompt card to the Local Explorer homepage, upgrades @cloudflare/kumo to 1.18.0, and includes a clipboard-copy feature for the prompt text.

Issues found (ranked by severity):

  1. Incorrect OpenAPI schema URL in prompt (packages/local-explorer-ui/src/routes/index.tsx:14) -- The prompt tells LLMs to "Fetch the OpenAPI schema from /api", but the OpenAPI spec is actually served at the full API endpoint path (/cdn-cgi/explorer/api). An LLM will request either <origin>/api (absolute) or <apiEndpoint>/api (appended), both of which are wrong. I posted a suggestion comment with the fix.

github run

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 10, 2026

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@13407

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@13407

miniflare

npm i https://pkg.pr.new/miniflare@13407

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@13407

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@13407

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@13407

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@13407

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@13407

wrangler

npm i https://pkg.pr.new/wrangler@13407

commit: 893bf3f

@NuroDev NuroDev marked this pull request as ready for review April 10, 2026 19:53
@workers-devprod workers-devprod requested review from a team and penalosa and removed request for a team April 10, 2026 19:53
@workers-devprod
Copy link
Copy Markdown
Contributor

workers-devprod commented Apr 10, 2026

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler
Show detailed file reviewers

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

devin-ai-integration[bot]

This comment was marked as resolved.

Copy link
Copy Markdown
Contributor

@workers-devprod workers-devprod left a comment

Choose a reason for hiding this comment

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

Codeowners reviews satisfied

@github-project-automation github-project-automation bot moved this from Untriaged to Approved in workers-sdk Apr 13, 2026
@NuroDev NuroDev merged commit 496c5d5 into main Apr 13, 2026
64 of 65 checks passed
@NuroDev NuroDev deleted the NuroDev/local-explorer-api-prompt branch April 13, 2026 08:42
@github-project-automation github-project-automation bot moved this from Approved to Done in workers-sdk Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants