Files
smartagent/ts/plugins.ts

28 lines
484 B
TypeScript

// node native
import * as path from 'path';
export { path };
// ai-sdk core
import { streamText, generateText, stepCountIs } from 'ai';
export { streamText, generateText, stepCountIs };
export type {
ModelMessage,
ToolSet,
StreamTextResult,
} from 'ai';
// @push.rocks/smartai
import { tool, jsonSchema } from '@push.rocks/smartai';
export { tool, jsonSchema };
export type { LanguageModelV3 } from '@push.rocks/smartai';
// zod
import { z } from 'zod';
export { z };