fix(website): point workflow references at @rivet-dev/workflows - #72
Merged
Merged
Conversation
The /workflows hero example loaded the old rivetkit/workflow snippet from the actors docs root; it now reads the workflows docs root. GitHub links, FAQ copy, the agentOS code tab, and the agent setup issues URL move to the standalone package.
…e-refs # Conflicts: # HIDDEN.md # src/data/agentSetupPrompt.ts # src/pages/actors.astro # src/pages/workflows.astro
| import pi from "@agentos-software/pi"; | ||
| import { actor, queue } from "rivetkit"; | ||
| import { workflow } from "rivetkit/workflow"; | ||
| import { queue, workflow } from "@rivet-dev/workflows"; |
There was a problem hiding this comment.
🟠 Medium · The combined agentOS workflow example still does not type-check
The dependency mismatch remains on the refreshed head: current agentOS still pins rivetkit@2.3.10, while @rivet-dev/workflows requires >=2.3.11 <2.4.0. A clean install therefore loads two nominally incompatible RivetKit Registry/ActorDefinition classes, and this snippet fails at step.client<typeof registry>() with TS2344 because the private class members come from different copies. Land and release the agentOS dependency fix before publishing this example, or keep the example off the page until the packages can be installed together.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Workflows moved from `rivetkit/workflow` to the standalone `@rivet-dev/workflows` package. This updates the website-owned references.
The vendored actors, agentOS, and Dynamic Apps docs still carry old snippets until they are re-synced from the product repos. The actors fix is rivet-dev/rivet#5752.
Checked on a local dev server: `/workflows`, `/actors`, and `/agentos` contain no `rivetkit/workflow` references.