Skip to content

Populate the Demo tool catalog - #764

Merged
luokerenx4 merged 1 commit into
devfrom
codex/demo-tool-catalog
Jul 29, 2026
Merged

Populate the Demo tool catalog#764
luokerenx4 merged 1 commit into
devfrom
codex/demo-tool-catalog

Conversation

@luokerenx4

Copy link
Copy Markdown
Contributor

What changed

  • replace the Demo's permanently empty tool inventory with four representative tools drawn from the current ToolCenter surface
  • expose realistic tool details, JSON schemas, and prefilled examples in Dev Panel
  • return clearly marked recorded execution results while echoing submitted input
  • keep tool enable/disable changes in memory for the active Demo session
  • add handler contract coverage for inventory, detail, execution, mutation, and unknown-tool behavior

Why

A real Demo walkthrough showed that Dev Panel → Tools rendered a filter with no tool list and still instructed the user to select a tool from the left panel. Settings → Tools likewise fell through to an empty state. The Demo handler hard-coded /api/tools to { inventory: [], disabled: [] }, so two otherwise complete product surfaces could not be evaluated or demonstrated.

User impact

The static Demo now lets prospective users browse representative OpenAlice capabilities, inspect runnable schemas, execute a recorded example, and exercise tool configuration without a backend. Recorded results are explicitly labeled so the Demo does not imply live market-data execution.

Verification

  • pnpm vitest run ui/src/demo/handlers/toolsSimulator.spec.ts
  • npx tsc --noEmit
  • cd ui && npx tsc -b
  • pnpm test — 358 files passed, 1 skipped; 3391 tests passed, 9 skipped
  • pnpm -F open-alice-ui build:demo
  • real pnpm -F open-alice-ui dev:demo browser walkthrough:
    • confirmed four tool groups render in Dev Panel
    • opened searchBars and confirmed the AAPL example is prefilled
    • executed it and confirmed the recorded-result note and broker/vendor candidates render
    • toggled searchBars in Settings and confirmed the active-session disabled state updates

@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openalice-demo Ready Ready Preview, Comment Jul 28, 2026 10:12pm

Request Review

@luokerenx4 luokerenx4 added area:demo Demo runtime, fixtures, handlers, or banner theme:demo Demo fidelity, fixtures, or simulated interactions workflow:parallel Autonomous parallel contribution; leave open for later acceptance labels Jul 29, 2026 — with ChatGPT Codex Connector
@luokerenx4
luokerenx4 marked this pull request as ready for review July 29, 2026 05:37
@luokerenx4
luokerenx4 merged commit 7d18468 into dev Jul 29, 2026
7 checks passed
@luokerenx4
luokerenx4 deleted the codex/demo-tool-catalog branch July 29, 2026 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:demo Demo runtime, fixtures, handlers, or banner theme:demo Demo fidelity, fixtures, or simulated interactions workflow:parallel Autonomous parallel contribution; leave open for later acceptance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant