Skip to content

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

Merged
RhysSullivan merged 1 commit into
mainfrom
fix-1383-namespace-enumeration
Jul 10, 2026
Merged

Let an empty-query namespace search enumerate the full catalog#1387
RhysSullivan merged 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

@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 aeaca66 Jul 10 2026, 08:07 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 aeaca66 Commit Preview URL

Branch Preview URL
Jul 10 2026, 08:06 AM

@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@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/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

@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

commit: aeaca66

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
@RhysSullivan RhysSullivan force-pushed the fix-1383-namespace-enumeration branch from d7d04c8 to aeaca66 Compare July 10, 2026 08:03
@RhysSullivan RhysSullivan marked this pull request as ready for review July 10, 2026 09:32
@RhysSullivan RhysSullivan merged commit 4fd94dc into main Jul 10, 2026
21 checks passed
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