Skip to content

chore: narrow the example to the order desk and the invoice list - #42

Merged
wzslr321 merged 4 commits into
mainfrom
chore/narrow-examples
Oct 26, 2026
Merged

wzslr321 merged 4 commits into
mainfrom
chore/narrow-examples

Conversation

@wzslr321

Copy link
Copy Markdown
Member

What

The example app runs two examples: the order desk with a scripted agent in lib/main.dart, and the invoice list on Apple's on-device model in lib/main_apple.dart. The gallery, the recipes of doc/examples.md and the shopping list are gone, and the README, example/README.md and both example.md files quote only code that stays. The README and the skills say Tandem is tested with Claude Code only, OnDeviceAgent is marked experimental, and CI has no macOS job.

Why

For 0.3.0 the example keeps one screen to quote and test, and one for the on-device model. Cursor, Codex and Apple's small model are outside what is checked before a release, so the docs say that. Two separate apps would need a second set of platform folders for the same hosts, so one app has two entry points.

How

Start at OrderDeskApp in example/lib/desk/ui/order_desk_app.dart, which adds the switch to a backend and the reset around OrderDeskScreen; the script is orderDeskAgent() in order_desk_agent.dart. Check closely the README wording on Cursor, Codex and the Apple model. The order desk was tried on the iOS 26.2 simulator and an Android API 37 emulator: the script, set_quantity through TandemBridge, the approval and the reset.

Not here

Moving example/agent to example/agents/adk comes with the backends work. feat/genui (#39) imports the removed shopping list in drawn_list.dart, so it needs a rebase onto this. On Android the invoice list says "Could not finish. Please try again." when Apple's model is missing, as in 0.2.2.

The docs now show only what the example runs: the order desk with a
scripted agent, and the invoice list on Apple's on-device model. The
gallery, the recipes of doc/examples.md and the shopping list go.
@wzslr321
wzslr321 force-pushed the chore/narrow-examples branch from 816e691 to bbf1b29 Compare October 26, 2026 10:39
Apple's on-device model is experimental, and a macOS runner costs ten
times a Linux one. A broken Swift plugin still shows before a release,
when the app is tried on iOS.
Entries written with each change picked the version early, so main
showed 0.2.3 before it was out.
@wzslr321
wzslr321 force-pushed the chore/narrow-examples branch from bbf1b29 to 923c93d Compare October 26, 2026 10:52
@wzslr321
wzslr321 merged commit beb2797 into main Oct 26, 2026
12 checks passed
@wzslr321
wzslr321 deleted the chore/narrow-examples branch October 26, 2026 10:55
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