@@ -6,14 +6,14 @@ import { inspect } from 'util';
66
77import * as _cache from '@/cache' ;
88import _Sentinel from '@/sentinel' ;
9- import * as _Tools from '@/tools' ;
109import { ansiToHtml } from '@/utils/ansiToHtml' ;
1110import { cachebust as _cachebust } from '@/utils/cachebust' ;
1211import { $ as _$ } from '@/utils/child_process' ;
1312import { fsPath as _fsPath } from '@/utils/fsPath' ;
1413import { jsxToHTML as _jsxToHTML } from '@/utils/jsxToHTML' ;
1514import { Logger } from '@/utils/logger' ;
1615import { paste as _paste } from '@/utils/paste' ;
16+ import { toId as _toId } from '@/utils/toId' ;
1717
1818import type { PSCommandContext } from '@/types/chat' ;
1919import type { PSMessage } from '@/types/ps' ;
@@ -26,7 +26,7 @@ const fs = _fs;
2626const fsSync = _fsSync ;
2727const fsPath = _fsPath ;
2828const path = _path ;
29- const Tools = _Tools ;
29+ const toId = _toId ;
3030const $ = _$ ;
3131const Sentinel = _Sentinel ;
3232const jsxToHTML = _jsxToHTML ;
@@ -36,7 +36,7 @@ const paste = _paste;
3636const E : Record < string , unknown > = { } ;
3737
3838// Storing in context for eval()
39- const _evalContext = [ cache , cachebust , fs , fsSync , fsPath , path , Tools , $ , Sentinel , E , jsxToHTML , paste ] ;
39+ const _evalContext = [ cache , cachebust , fs , fsSync , fsPath , path , toId , $ , Sentinel , E , jsxToHTML , paste ] ;
4040
4141export type EvalModes = 'COLOR_OUTPUT_HTML' | 'COLOR_OUTPUT_ANSI' | 'FULL_OUTPUT' | 'ABBR_OUTPUT' | 'NO_OUTPUT' ;
4242export type EvalOutput = {
0 commit comments