Skip to content

feat(find): show core's platform suggestions for an unknown platform (v2.9.0) - #213

Merged
paulkr merged 1 commit into
mainfrom
feat/find-unknown-platform
Oct 19, 2026
Merged

paulkr merged 1 commit into
mainfrom
feat/find-unknown-platform

Conversation

@paulkr

@paulkr paulkr commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Summary

Core now answers a platform name no active platform has (clickup for click-up) with selector: "unknown_platform" and a suggestions list, instead of an empty none_fit (withoneai/pica-v2#1033, live in internal-7.36.0). The CLI tolerated the new selector but dropped the suggestions and told the agent "no action fits", so it rephrased the intent instead of fixing the platform name.

  • FindSelector gains unknown_platform, and FoundActions and FindAnswer gain an optional suggestions.
  • status for unknown_platform names the suggestions: "No active platform is named clickup. Did you mean click-up, click-send? Find again with the platform you meant." With no suggestions, it points at one platforms.
  • suggestions is passed through in --agent output, and left out when empty, so every other answer is unchanged. The human renderer prints status, so it shows the suggestions with no change.
  • Docs: SKILL.md, guide-content.ts and the README describe suggestions and the new status.
  • Version 2.9.0 (package.json and the lockfile's two version fields, by hand).

Before and after

one --agent actions find clickup "create a task". The "after" uses core's live production answer for clickup (checked against api.withone.ai), rendered by the new code as the unit test does:

before: "status": "No action fits this intent, and nothing close was found. Rephrase it, or check the platform name."
after:  "status": "No active platform is named `clickup`. Did you mean `click-up`, `click-send`, `click-house`, `clio`? Find again with the platform you meant.",
        "selector": "unknown_platform",
        "suggestions": ["click-up", "click-send", "click-house", "clio"]

Test plan

  • npm run typecheck and npm run build
  • src/lib/find.test.ts: 24/24, including new tests for an unknown platform with and without suggestions, and for no suggestions field on a normal answer
  • Full suite: 673/679. The 6 failures are the resolveConfig tests, which fail the same way on main on macOS (/private/var vs /var temp paths)
  • After merge: release tag v2.9.0

🤖 Generated with Claude Code

…(v2.9.0)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@paulkr
paulkr merged commit f69615a into main Oct 19, 2026
7 checks passed
@paulkr
paulkr deleted the feat/find-unknown-platform branch October 19, 2026 15:00
@paulkr paulkr changed the title feat(find): show core's platform suggestions for an unknown platform (v2.9.0) feat(find): show core's platform suggestions for an unknown platform, and count 1000+ platforms (v2.9.0) Oct 19, 2026
@paulkr paulkr changed the title feat(find): show core's platform suggestions for an unknown platform, and count 1000+ platforms (v2.9.0) feat(find): show core's platform suggestions for an unknown platform (v2.9.0) Oct 19, 2026
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.

1 participant