Repository navigation
fix(types): Added some missing type exports - #489
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
| resolveWorkflowKeyEnvVar | ||
| } from './paths.js'; | ||
| export type { CredentialsProvider } from './types.js'; | ||
| export type { CredentialsProvider, GlobalContext, WorkflowContext } from './types.js'; |
There was a problem hiding this comment.
Nice-to-have (Quality): WorkflowContext collides by name with the unrelated WorkflowContext already exported from @outputai/core (src/interface/workflow.d.ts). Consider CredentialsWorkflowContext / CredentialsGlobalContext before these become public.
This comment was marked as outdated.
This comment was marked as outdated.
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
This comment was marked as outdated.
This comment was marked as outdated.
| /** Stop conditions accepted by text generation calls. */ | ||
| export type StopWhen<Tools extends ToolSet = ToolSet> = | ||
| StopCondition<NoInfer<Tools>, Record<string, unknown>> | | ||
| Array<StopCondition<NoInfer<Tools>, Record<string, unknown>>>; |
There was a problem hiding this comment.
Nice-to-have (Quality): DefaultRuntimeContext was removed and Record<string, unknown> is now inlined in 7 public signatures. Exporting the alias (as was done for AnyAiOutput) would keep the runtime-context slot named and single-sourced.
PR reviewVerdict✅ PASS Findings
Categories
|
Summary
WorkflowContextValidation
pnpm --filter @outputai/core buildpnpm run docs:validate- 0 errors and 0 warnings