Skip to content

docs: complete the per-edge routing example and release 0.0.5 notes - #56

Merged
Zhoujie628 merged 1 commit into
project-openan:mainfrom
Zhoujie628:main
Sep 9, 2026
Merged

Zhoujie628 merged 1 commit into
project-openan:mainfrom
Zhoujie628:main

Conversation

@Zhoujie628

@Zhoujie628 Zhoujie628 commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add a complete onRoute usage example to the callback contract (zh/en): declaring one unconditional plus two conditional edges on the workflow side, and a host-side per-edge implementation reading currentResults() and answering RouteDecision.allow()/deny() — the example compiles verbatim against the shipped API
  • Fold the per-edge routing breaking changes into the [0.0.5] changelog section ahead of the tag

Docs-only change; accompanies the v0.0.5 release.

Add a full onRoute usage example to the callback contract (zh/en): the
workflow side declaring one unconditional and two conditional edges, and
the host side reading currentResults and answering allow/deny per edge.
The example compiles verbatim against the shipped API. Fold the routing
breaking changes into the 0.0.5 changelog section.

Signed-off-by: Zhoujie628 <zhoujie628@users.noreply.github.com>
@Zhoujie628
Zhoujie628 requested a review from a team as a code owner September 9, 2026 07:09
@Zhoujie628
Zhoujie628 merged commit d53d834 into project-openan:main Sep 9, 2026
3 checks 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