Remove SDK discovery wrappers and document direct discovery#1453
Remove SDK discovery wrappers and document direct discovery#1453
Conversation
Deletes five wrapper methods from the Node SDK. Developers should now call iii.trigger() directly against the engine system functions (engine::functions::list, engine::workers::list, engine::triggers::list, engine::trigger-types::list) or compose register_function + register_trigger on type engine::functions-available for subscriptions. Also re-exports EngineFunctions, EngineTriggers, FunctionInfo, and WorkerInfo from the package root so consumers have type-safe identifiers and result types after the wrappers are gone.
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Why
main, the active CI format/lint checks still needed local cleanup to pass cleanlyImpact
trigger()/register_trigger()usageValidation
cargo +stable fmt --all -- --checkcargo +stable fmt -p iii-sdk -- --checkcargo +stable clippy -p iii-sdk --all-targets --all-features -- -D warningscd sdk/packages/python/iii && uv run ruff check src && uv run mypy srccd frameworks/motia/motia-py/packages/motia && uv run ruff check src && uv run mypy srcpnpm --filter console-frontend lintbash scripts/generate-api-docs.shpnpm --filter iii-browser-sdk docs:json && pnpm tsx docs/scripts/generate-api-docs.mtsNote
target/doc/iii_sdk.json, so the Rust API reference callout was synced manually to match the generated pages.