Skip to content

Let an empty-query namespace search enumerate the full catalog#1387

Draft
RhysSullivan wants to merge 1 commit into
mainfrom
fix-1383-namespace-enumeration
Draft

Let an empty-query namespace search enumerate the full catalog#1387
RhysSullivan wants to merge 1 commit into
mainfrom
fix-1383-namespace-enumeration

Conversation

@RhysSullivan

Copy link
Copy Markdown
Collaborator

tools.search refused empty queries outright, while the sandbox proxy hint pointed agents at it for discovery: an integration's catalog could be counted (integrations.list reports toolCount) but never listed.

An empty query with a namespace now enumerates: the whole catalog, path-sorted at score 0, through the existing limit/offset paging, with total an exact census that reconciles against toolCount. An empty query without a namespace still returns nothing, and ranked search is untouched. The proxy hints in all three runtimes now mention the namespace form.

Fixes #1383

tools.search refused empty queries outright, and the sandbox proxy hint
pointed agents at it as the way to discover tools: a namespace catalog
could be counted (integrations.list reports toolCount) but never listed.
Agents were left unioning keyword searches to lower-bound a catalog they
could not confirm.

An empty query with a namespace now enumerates: the whole catalog,
path-sorted at score 0, through the existing limit/offset paging, with
total an exact census that reconciles against toolCount. An empty query
without a namespace still returns nothing (no scope, no signal, no
arbitrary workspace dump), and ranked search is untouched. The proxy
enumeration hints in all three runtimes now mention the namespace form.

Fixes #1383
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 10, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud d7d04c8 Jul 10 2026, 02:39 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 10, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing d7d04c8 Commit Preview URL

Branch Preview URL
Jul 10 2026, 02:39 AM

@github-actions

Copy link
Copy Markdown
Contributor

Cloudflare preview

Console https://executor-preview-pr-1387.executor-e2e.workers.dev
MCP https://executor-preview-pr-1387.executor-e2e.workers.dev/mcp
Deployed commit d7d04c8

Sign-in is Cloudflare Access (one-time PIN to an allowed email). The preview has its own database and encryption key; it is destroyed when this PR closes.

@pkg-pr-new

pkg-pr-new Bot commented Jul 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@1387

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@1387

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@1387

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@1387

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@1387

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@1387

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@1387

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@1387

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@1387

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@1387

executor

npm i https://pkg.pr.new/executor@1387

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@1387

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@1387

commit: d7d04c8

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

execution: a namespace's tool catalog cannot be enumerated

1 participant