2026-03-06 11:39:01 +00:00
|
|
|
// node native
|
2026-05-15 05:38:35 +00:00
|
|
|
import * as childProcess from 'node:child_process';
|
|
|
|
|
import * as fs from 'node:fs';
|
|
|
|
|
import * as path from 'node:path';
|
2026-03-06 11:39:01 +00:00
|
|
|
|
2026-05-15 05:38:35 +00:00
|
|
|
export { childProcess, fs, path };
|
2026-03-06 11:39:01 +00:00
|
|
|
|
|
|
|
|
// zod
|
|
|
|
|
import { z } from 'zod';
|
|
|
|
|
|
|
|
|
|
export { z };
|
|
|
|
|
|
|
|
|
|
// ai-sdk
|
|
|
|
|
import { tool } from '@push.rocks/smartai';
|
|
|
|
|
|
|
|
|
|
export { tool };
|
|
|
|
|
|
|
|
|
|
export type { ToolSet } from 'ai';
|
|
|
|
|
|
|
|
|
|
// @push.rocks scope
|
|
|
|
|
import * as smartfs from '@push.rocks/smartfs';
|
|
|
|
|
import * as smartshell from '@push.rocks/smartshell';
|
|
|
|
|
import * as smartrequest from '@push.rocks/smartrequest';
|
|
|
|
|
|
|
|
|
|
export { smartfs, smartshell, smartrequest };
|
|
|
|
|
|
|
|
|
|
// cross-folder import
|
|
|
|
|
import { truncateOutput } from '../ts/smartagent.utils.truncation.js';
|
|
|
|
|
|
|
|
|
|
export { truncateOutput };
|
|
|
|
|
export type { ITruncateResult } from '../ts/smartagent.utils.truncation.js';
|