Skip to content

feat/workbench-model-media-capabilities - #4

Merged
ketd merged 1 commit into
mainfrom
feat/workbench-model-media-capabilities
Nov 6, 2026
Merged

ketd merged 1 commit into
mainfrom
feat/workbench-model-media-capabilities

Conversation

@ketd

@ketd ketd commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Sync the template SDK and llm authoring guide with the Desktop Host SDK additions from AoE Desktop branch feat/workbench-model-media-capabilities (OpenSpec add-workbench-model-media-capabilities).

  • ModelInput.images: up to 8 images from a declared directory resource, an https URL (downloaded by the Host) or a data URL; text-only models fail with LLM_IMAGE_INPUT_UNSUPPORTED before any charge.
  • New llm operations: listModels, generateSpeech, generateImage (generation and reference-image edits), decide (platform Jev decision model, default jev-latest).
  • Speech and image results are written to a read-write directory resource and returned as logical references only.
  • DEFAULT_LLM_MODEL still applies to text calls only; media and decision calls use Host catalog defaults.
  • Guide documents HOST_CREDITS_EXHAUSTED (not-executed, Floatboat shows its own credits prompt) and the 330 s default deadline for image generation.

The Host side lands in AoE Desktop; older Hosts report the new operations as unavailable through capabilities.list. Video generation is intentionally not included.

Verification

  • node node_modules/typescript/bin/tsc -p tooling/tsconfig.sdk.json
  • pnpm skills:check — 16 topics, Codex source and Claude entry agree
  • pnpm test:tooling — 33/34 on the first run; the remaining runtime-package case failed on clean main as well because local node_modules lacked javascript-obfuscator, and passed after pnpm install --frozen-lockfile

🤖 Generated with Claude Code

…log llm calls

- ModelInput accepts images from declared resources, https URLs or data URLs
- llm.listModels, generateSpeech, generateImage and decide mirror the Desktop Host SDK
- Media and decision calls keep Host catalog defaults instead of DEFAULT_LLM_MODEL
- llm guide documents output resources, HOST_CREDITS_EXHAUSTED and Jev questions

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ketd
ketd merged commit 9da0d20 into main Nov 6, 2026
1 check 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.

1 participant