hack-dance / island-ai

https://island.novy.work
MIT License
125 stars 11 forks source link

adding types to the included meta #34

Closed roodboi closed 8 months ago

roodboi commented 8 months ago

we include _activePath, _completedPaths and _isValid on the stream obj - im now nesting it to avoid polluting the final obj to much and adding a type so it can used without error and clear what it is when using it.

also added a little utility for checking paths - I think adding optional callbacks might be useful too - like:

onPathComplete etc..

I also am still trying to think through best way to include something specific for array items - maybe too much for here

changeset-bot[bot] commented 8 months ago

🦋 Changeset detected

Latest commit: 1f6b63175bf5baa787b0e38e8decb1c811a49bec

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages | Name | Type | | ----------------- | ----- | | zod-stream | Major | | island-next-demos | Patch | | evalz | Major | | stream-hooks | Major |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
island-ai-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2024 5:59pm