ext-apps/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Olivier Chafik 666952980f
feat(app): throw helpful error when callServerTool is called with a string (#449)
Users frequently call callServerTool("tool_name", args) instead of the
correct callServerTool({ name: "tool_name", arguments: args }), resulting
in a silent/confusing failure. Detect this and throw immediately with
a message that shows the correct call shape.

Also fixes the incorrect example in examples/pdf-server/README.md that
demonstrated this same wrong usage pattern.

Fixes #386

https://claude.ai/code/session_01GqAyN4Ux7svWoU2HqsSLZF

Co-authored-by: Claude <noreply@anthropic.com>
2026-02-13 21:05:21 +00:00
..
generated Replace "external" with "network" in CSP documentation 2026-02-02 10:50:06 -06:00
react Improve patterns guide with concrete examples and safe area insets 2026-01-27 17:32:41 -06:00
server Clarify spec and SDK: accept UIResourceMeta in both resources/list and resources/read (#410) 2026-02-04 14:26:09 +00:00
app-bridge.examples.ts docs: standardize UI terminology to use "view" consistently (#325) 2026-01-23 04:36:52 +02:00
app-bridge.test.ts feat(app): throw helpful error when callServerTool is called with a string (#449) 2026-02-13 21:05:21 +00:00
app-bridge.ts Merge pull request #294 from matteo8p/create-helper-functions-tool-visibility 2026-02-02 23:15:46 +00:00
app.examples.ts Improve patterns guide with concrete examples and safe area insets 2026-01-27 17:32:41 -06:00
app.ts feat(app): throw helpful error when callServerTool is called with a string (#449) 2026-02-13 21:05:21 +00:00
message-transport.examples.ts docs: standardize UI terminology to use "view" consistently (#325) 2026-01-23 04:36:52 +02:00
message-transport.ts fix(message-transport): only ignore messages that lack jsonrpc: "2.0" (#448) 2026-02-12 15:28:32 +00:00
spec.types.ts Replace "external" with "network" in CSP documentation 2026-02-02 10:50:06 -06:00
styles.examples.ts Improve patterns guide with concrete examples and safe area insets 2026-01-27 17:32:41 -06:00
styles.ts Improve patterns guide with concrete examples and safe area insets 2026-01-27 17:32:41 -06:00
types.ts feat(server): add getUiCapability helper for capability negotiation (#313) 2026-01-23 16:26:49 +00:00