@isdk/ai-tool 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-JHHFTTVE.mjs → chunk-SIP3XWIH.mjs} +1 -1
- package/dist/funcs.mjs +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/docs/classes/CancelableAbility.md +20 -20
- package/docs/classes/ClientTools.md +54 -54
- package/docs/classes/EventClient.md +76 -76
- package/docs/classes/EventServer.md +78 -78
- package/docs/classes/EventToolFunc.md +46 -46
- package/docs/classes/FStringPromptTemplate.md +18 -18
- package/docs/classes/FewShotPromptTemplate.md +22 -22
- package/docs/classes/GolangPromptTemplate.md +18 -18
- package/docs/classes/HFEnvironment.md +9 -9
- package/docs/classes/HFInterpreter.md +4 -4
- package/docs/classes/HFTemplate.md +4 -4
- package/docs/classes/HfPromptTemplate.md +18 -18
- package/docs/classes/IntSet.md +11 -11
- package/docs/classes/PromptExampleSelector.md +8 -8
- package/docs/classes/PromptTemplate.md +17 -17
- package/docs/classes/ReadableStreamError.md +1 -1
- package/docs/classes/ResClientTools.md +61 -61
- package/docs/classes/ResServerTools.md +62 -62
- package/docs/classes/SSEChannel.md +14 -14
- package/docs/classes/Semaphore.md +8 -8
- package/docs/classes/ServerTools.md +50 -50
- package/docs/classes/TaskAbortController.md +7 -7
- package/docs/classes/ToolFunc.md +43 -43
- package/docs/classes/YamlTypeBaseObject.md +1 -1
- package/docs/enumerations/AsyncFeatureBits.md +3 -3
- package/docs/enumerations/AsyncFeatures.md +3 -3
- package/docs/enumerations/HashAlgorithm.md +11 -11
- package/docs/functions/AIArgProcessor.md +1 -1
- package/docs/functions/AIStream.md +1 -1
- package/docs/functions/ChoiceArgProcessor.md +1 -1
- package/docs/functions/RateLimit.md +1 -1
- package/docs/functions/TemplateArgProcessor.md +1 -1
- package/docs/functions/backendEventable.md +1 -1
- package/docs/functions/completeSentences.md +1 -1
- package/docs/functions/concatText.md +1 -1
- package/docs/functions/countLLMTokens.md +1 -1
- package/docs/functions/countRegexMatches.md +1 -1
- package/docs/functions/createCallbacksTransformer.md +1 -1
- package/docs/functions/createEmptyReadableStream.md +1 -1
- package/docs/functions/createEndWithRepetitionDetector.md +1 -1
- package/docs/functions/createEventStreamTransformer.md +1 -1
- package/docs/functions/createHfValueFunc.md +1 -1
- package/docs/functions/createLRUCache.md +1 -1
- package/docs/functions/createYamlObjectTag.md +1 -1
- package/docs/functions/dateToText.md +1 -1
- package/docs/functions/decodeCharset.md +1 -1
- package/docs/functions/detectCharset.md +1 -1
- package/docs/functions/encodeLLMTokens.md +1 -1
- package/docs/functions/expandEnv.md +1 -1
- package/docs/functions/expandObjEnv.md +1 -1
- package/docs/functions/extNameLevel.md +1 -1
- package/docs/functions/fileIsExists.md +1 -1
- package/docs/functions/filenameReservedRegex.md +1 -1
- package/docs/functions/filterValidFnScope.md +1 -1
- package/docs/functions/findIndexNonEmptyFrom.md +1 -1
- package/docs/functions/findPort.md +1 -1
- package/docs/functions/formatTextWithSpace.md +1 -1
- package/docs/functions/getAllEnumKeys.md +1 -1
- package/docs/functions/getConfigFileNames.md +1 -1
- package/docs/functions/getConfigs.md +1 -1
- package/docs/functions/getFileMetaInfo.md +1 -1
- package/docs/functions/getHashAlgoBySize.md +1 -1
- package/docs/functions/getKeysPath.md +1 -1
- package/docs/functions/getLLMTokenizer.md +1 -1
- package/docs/functions/getMultiLevelExtname.md +1 -1
- package/docs/functions/getPackageDir.md +1 -1
- package/docs/functions/getRealFilepath.md +1 -1
- package/docs/functions/getResponseErrorReadableStream.md +1 -1
- package/docs/functions/hasDirectoryIn.md +1 -1
- package/docs/functions/hashFile.md +1 -1
- package/docs/functions/hashStream.md +1 -1
- package/docs/functions/hfParse.md +1 -1
- package/docs/functions/hfTokenize.md +1 -1
- package/docs/functions/interpolateEnv.md +1 -1
- package/docs/functions/interpolateFString.md +1 -1
- package/docs/functions/interpolateGolangTemplate.md +1 -1
- package/docs/functions/isLangUsingSpaces.md +1 -1
- package/docs/functions/isListItemString.md +1 -1
- package/docs/functions/isModelNameMatched.md +1 -1
- package/docs/functions/isPunctuationChar.md +1 -1
- package/docs/functions/isRegExp.md +1 -1
- package/docs/functions/isSectionString.md +1 -1
- package/docs/functions/isSentenceEnding.md +1 -1
- package/docs/functions/isSepLineString.md +1 -1
- package/docs/functions/isSubdirectory.md +1 -1
- package/docs/functions/isTitleString.md +1 -1
- package/docs/functions/isValidFilename.md +1 -1
- package/docs/functions/isValidFilepath.md +1 -1
- package/docs/functions/isWebStream.md +1 -1
- package/docs/functions/jsonFilterToWhere.md +1 -1
- package/docs/functions/jsonToMarkdownStr.md +1 -1
- package/docs/functions/loadFileFromPaths.md +1 -1
- package/docs/functions/loadTextFromPaths.md +1 -1
- package/docs/functions/lrucache.md +1 -1
- package/docs/functions/makeToolFuncCancelable.md +1 -1
- package/docs/functions/matchUrlProtocol.md +1 -1
- package/docs/functions/memoize.md +1 -1
- package/docs/functions/messagesToText.md +1 -1
- package/docs/functions/paramsSizeToScaleStr.md +1 -1
- package/docs/functions/parseCommand.md +3 -11
- package/docs/functions/parseFString.md +1 -1
- package/docs/functions/parseJsJson.md +1 -1
- package/docs/functions/parseJsJsonSimpleSync.md +1 -1
- package/docs/functions/parseObjectArgInfo.md +1 -1
- package/docs/functions/parseObjectArgumentInfos.md +1 -1
- package/docs/functions/parseObjectArguments.md +1 -1
- package/docs/functions/parseObjectArgumentsAsArgInfos.md +1 -1
- package/docs/functions/parseYaml.md +1 -1
- package/docs/functions/quoteStr.md +1 -1
- package/docs/functions/reControlCharsRegex.md +1 -1
- package/docs/functions/readFilenamesRecursiveSync.md +1 -1
- package/docs/functions/readTextFileChunks.md +1 -1
- package/docs/functions/readTextFileChunksEx.md +1 -1
- package/docs/functions/readableFromAsyncIterable.md +1 -1
- package/docs/functions/registerCoreTools.md +1 -1
- package/docs/functions/registerYamlTag.md +1 -1
- package/docs/functions/removeMarkdownBold.md +1 -1
- package/docs/functions/removeMarkdownBoldAndItalic.md +1 -1
- package/docs/functions/removeMarkdownItalic.md +1 -1
- package/docs/functions/replaceWithPlaceholder.md +1 -1
- package/docs/functions/restoreFromPlacehoders.md +1 -1
- package/docs/functions/sanitizeFilename.md +1 -1
- package/docs/functions/sanitizeFilepath.md +1 -1
- package/docs/functions/saveConfigFile.md +1 -1
- package/docs/functions/scaleStrToParamsSize.md +1 -1
- package/docs/functions/simplifyObjectArguments.md +1 -1
- package/docs/functions/sortedValues.md +1 -1
- package/docs/functions/splitChunks.md +1 -1
- package/docs/functions/splitParagraph.md +1 -1
- package/docs/functions/splitSentence.md +1 -1
- package/docs/functions/stringifyYaml.md +1 -1
- package/docs/functions/stripConsoleColor.md +1 -1
- package/docs/functions/textToDate.md +1 -1
- package/docs/functions/toDateTime.md +1 -1
- package/docs/functions/trimStartOfStreamHelper.md +1 -1
- package/docs/functions/truncTo.md +1 -1
- package/docs/functions/truncateByToken.md +1 -1
- package/docs/functions/truncateToTokenLimit.md +1 -1
- package/docs/functions/truncateToTokenLimitEx.md +1 -1
- package/docs/functions/uuid.md +1 -1
- package/docs/functions/wait.md +1 -1
- package/docs/functions/xxhash.md +1 -1
- package/docs/functions/xxhash32.md +1 -1
- package/docs/functions/xxhash64.md +1 -1
- package/docs/functions/xxhashAsStr.md +1 -1
- package/docs/interfaces/AIChatAssistantMessageParam.md +9 -9
- package/docs/interfaces/AIChatContentPartImage.md +2 -2
- package/docs/interfaces/AIChatContentPartText.md +2 -2
- package/docs/interfaces/AIChatMessageParamBase.md +4 -4
- package/docs/interfaces/AIChatMessageToolCall.md +3 -3
- package/docs/interfaces/AIChatSystemMessageParam.md +6 -6
- package/docs/interfaces/AIChatToolMessageParam.md +7 -7
- package/docs/interfaces/AIChatUserMessageParam.md +10 -10
- package/docs/interfaces/AIChoiceConfig.md +7 -7
- package/docs/interfaces/AIResult.md +5 -5
- package/docs/interfaces/AIStreamParser.md +1 -1
- package/docs/interfaces/AIStreamParserOptions.md +1 -1
- package/docs/interfaces/BaseFunc.md +9 -9
- package/docs/interfaces/BaseFuncItem.md +8 -8
- package/docs/interfaces/CancelableAbilityOptions.md +2 -2
- package/docs/interfaces/ClientFuncItem.md +11 -11
- package/docs/interfaces/DotenvExpandOptions.md +3 -3
- package/docs/interfaces/DotenvExpandOutput.md +2 -2
- package/docs/interfaces/EventClientFuncParams.md +4 -4
- package/docs/interfaces/EventServerFuncParams.md +5 -5
- package/docs/interfaces/FewShotPromptTemplateOptions.md +11 -11
- package/docs/interfaces/FuncItem.md +9 -9
- package/docs/interfaces/FuncParam.md +6 -6
- package/docs/interfaces/HashAlgoParams.md +3 -3
- package/docs/interfaces/IFileMetaInfo.md +7 -7
- package/docs/interfaces/IReadTextFileChunksOptions.md +10 -10
- package/docs/interfaces/ITruncateToTokenLimitOptions.md +9 -9
- package/docs/interfaces/ParseObjectArgumentOptions.md +19 -9
- package/docs/interfaces/PromptExampleSelectorOptions.md +2 -2
- package/docs/interfaces/PromptTemplateOptions.md +6 -6
- package/docs/interfaces/RemoteFuncItem.md +11 -11
- package/docs/interfaces/ReplacePlacehoderOptions.md +4 -4
- package/docs/interfaces/ResClientFuncParams.md +2 -2
- package/docs/interfaces/ResServerFuncParams.md +5 -5
- package/docs/interfaces/SanitizeFilenameOptions.md +2 -2
- package/docs/interfaces/SectionStringOptions.md +2 -2
- package/docs/interfaces/ServerFuncItem.md +12 -12
- package/docs/interfaces/ServerFuncParams.md +2 -2
- package/docs/interfaces/SplitSentenceOptions.md +4 -4
- package/docs/interfaces/StreamCallbacksAndOptions.md +4 -4
- package/docs/interfaces/TaskPromise.md +1 -1
- package/docs/interfaces/ToolFuncPackage.md +3 -3
- package/docs/type-aliases/AIChatContentPart.md +1 -1
- package/docs/type-aliases/AIChatMessageParam.md +1 -1
- package/docs/type-aliases/AIChatRole.md +1 -1
- package/docs/type-aliases/AIMessageType.md +1 -1
- package/docs/type-aliases/AIModelNameRule.md +1 -1
- package/docs/type-aliases/AIModelNameRuleFn.md +1 -1
- package/docs/type-aliases/AIModelNameRules.md +1 -1
- package/docs/type-aliases/AITextGenerationFinishReason.md +1 -1
- package/docs/type-aliases/ActionName.md +1 -1
- package/docs/type-aliases/AsyncTaskId.md +1 -1
- package/docs/type-aliases/EventErrorListenerFn.md +1 -1
- package/docs/type-aliases/EventListenerFn.md +1 -1
- package/docs/type-aliases/FStringPromptTemplateNode.md +1 -1
- package/docs/type-aliases/FuncParamType.md +1 -1
- package/docs/type-aliases/PromptExamples.md +1 -1
- package/docs/type-aliases/PromptTemplateType.md +1 -1
- package/docs/type-aliases/PromptType.md +1 -1
- package/docs/type-aliases/TFunc.md +1 -1
- package/docs/variables/AIChatRoles.md +1 -1
- package/docs/variables/AIMessageTypes.md +1 -1
- package/docs/variables/AITextGenerationFinishReasons.md +1 -1
- package/docs/variables/ActionNames.md +1 -1
- package/docs/variables/ClientToolFuncSchema.md +1 -1
- package/docs/variables/DefaultAsyncSemaphoreCapacity.md +1 -1
- package/docs/variables/EventBusName.md +1 -1
- package/docs/variables/EventName.md +1 -1
- package/docs/variables/FilenameReservedRegex.md +1 -1
- package/docs/variables/HFBuiltins.md +1 -1
- package/docs/variables/LLM_TOKENIZER_NAMES.md +1 -1
- package/docs/variables/LLM_TOKENIZER_NAMES_MAP.md +1 -1
- package/docs/variables/PASSING_SCORE.md +1 -1
- package/docs/variables/PromptTemplateTypes.md +1 -1
- package/docs/variables/PromptTypes.md +1 -1
- package/docs/variables/RStreamErrCode.md +1 -1
- package/docs/variables/RemoteToolFuncSchema.md +1 -1
- package/docs/variables/ResponseRStreamErrCode.md +1 -1
- package/docs/variables/SSEChannelAlreadyClosedErrCode.md +1 -1
- package/docs/variables/ServerToolFuncSchema.md +1 -1
- package/docs/variables/ToolAsyncCancelableBit.md +1 -1
- package/docs/variables/ToolAsyncMultiTaskBit.md +1 -1
- package/docs/variables/ToolAsyncPriorityBit.md +1 -1
- package/docs/variables/ToolFuncSchema.md +1 -1
- package/docs/variables/WindowsReservedNameRegex.md +1 -1
- package/docs/variables/base32768.md +1 -1
- package/docs/variables/defaultTemplateFormat.md +1 -1
- package/docs/variables/event.md +1 -1
- package/docs/variables/eventClient.md +1 -1
- package/docs/variables/eventServer.md +1 -1
- package/docs/variables/lrucache.md +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{AIArgProcessor as s,AIChatRoles as a,AIMessageTypes as u,AIStream as i,AITextGenerationFinishReasons as e,AbortError as r,AbortErrorCode as n,ActionNames as t,AlreadyExistsError as d,AlreadyExistsErrorCode as m,AsyncFeatureBits as o,AsyncFeatures as
|
|
1
|
+
import{AIArgProcessor as s,AIChatRoles as a,AIMessageTypes as u,AIStream as i,AITextGenerationFinishReasons as e,AbortError as r,AbortErrorCode as n,ActionNames as t,AlreadyExistsError as d,AlreadyExistsErrorCode as m,AsyncFeatureBits as o,AsyncFeatures as f,BaseError as p,CancelableAbility as H,ChoiceArgProcessor as I,ClientToolFuncSchema as h,ClientTools as v,CommonError as F,ConfigFile as k,DefaultAsyncSemaphoreCapacity as l,EnvironmentEx as P,ErrorCode as V,EventBusName as c,EventClient as j,EventName as B,EventServer as G,EventToolFunc as S,FStringPromptTemplate as T,FewShotPromptTemplate as g,FilenameReservedRegex as x,GolangPromptTemplate as y,HashAlgorithm as z,HfPromptTemplate as E,IntSet as L,InternalErrorCode as N,Interpreter as W,LLM_TOKENIZER_NAMES as X,LLM_TOKENIZER_NAMES_MAP as b,NIL as q,NotFoundError as w,NotFoundErrorCode as A,NotImplementationError as C,NotImplementedErrorCode as D,PASSING_SCORE as J,PromptExampleSelector as K,PromptTemplate as M,PromptTemplateTypes as O,PromptTypes as Q,RStreamErrCode as R,RateLimit as U,ReadableStreamError as Y,RemoteToolFuncSchema as Z,ResClientTools as $,ResServerTools as _,ResponseRStreamErrCode as ss,SSEChannel as as,SSEChannelAlreadyClosedErrCode as us,Semaphore as is,ServerToolFuncSchema as es,ServerTools as rs,TaskAbortController as ns,Template as ts,TemplateArgProcessor as ds,ToolAsyncCancelableBit as ms,ToolAsyncMultiTaskBit as os,ToolAsyncPriorityBit as fs,ToolFunc as ps,ToolFuncSchema as Hs,WindowsReservedNameRegex as Is,YamlTypeBaseObject as hs,_lrucache as vs,backendEventable as Fs,base32768 as ks,builtins as ls,canonicalize as Ps,completeSentences as Vs,concatText as cs,countLLMTokens as js,countRegexMatches as Bs,createAbilityInjector as Gs,createCallbacksTransformer as Ss,createEmptyReadableStream as Ts,createEndWithRepetitionDetector as gs,createError as xs,createEventStreamTransformer as ys,createHfValueFunc as zs,createLRUCache as Es,createYamlObjectTag as Ls,dateToText as Ns,decodeCharset as Ws,defaultTemplateFormat as Xs,detectCharset as bs,encodeLLMTokens as qs,event as ws,eventClient as As,eventServer as Cs,expandEnv as Ds,expandObjEnv as Js,extNameLevel as Ks,fileIsExists as Ms,filenameReservedRegex as Os,filterValidFnScope as Qs,findIndexNonEmptyFrom as Rs,formatISO as Us,formatTextWithSpace as Ys,getAllEnumKeys as Zs,getConfigFileNames as $s,getConfigs as _s,getFileMetaInfo as sa,getHashAlgoBySize as aa,getKeysPath as ua,getLLMTokenizer as ia,getMultiLevelExtname as ea,getPackageDir as ra,getRealFilepath as na,getResponseErrorReadableStream as ta,hasDirectoryIn as da,hashFile as ma,hashStream as oa,interpolateEnv as fa,interpolateFString as pa,interpolateGolangTemplate as Ha,isLangUsingSpaces as Ia,isListItemString as ha,isModelNameMatched as va,isPunctuationChar as Fa,isRegExp as ka,isSectionString as la,isSentenceEnding as Pa,isSepLineString as Va,isSubdirectory as ca,isTitleString as ja,isValidFilename as Ba,isValidFilepath as Ga,isWebStream as Sa,jsonFilterToWhere as Ta,jsonToMarkdownStr as ga,loadFileFromPaths as xa,loadTextFromPaths as ya,lrucache as za,makeToolFuncCancelable as Ea,matchUrlProtocol as La,memoize as Na,messagesToText as Wa,mimeType as Xa,paramsSizeToScaleStr as ba,parse as qa,parse2 as wa,parseCommand as Aa,parseDateFormat as Ca,parseFString as Da,parseISO as Ja,parseJsJson as Ka,parseJsJsonSimpleSync as Ma,parseObjectArgInfo as Oa,parseObjectArgumentInfos as Qa,parseObjectArguments as Ra,parseObjectArgumentsAsArgInfos as Ua,parseYaml as Ya,quoteStr as Za,reControlCharsRegex as $a,readFilenamesRecursiveSync as _a,readTextFileChunks as su,readTextFileChunksEx as au,readableFromAsyncIterable as uu,registerCoreTools as iu,registerYamlTag as eu,removeMarkdownBold as ru,removeMarkdownBoldAndItalic as nu,removeMarkdownItalic as tu,replaceWithPlaceholder as du,restoreFromPlacehoders as mu,sanitizeFilename as ou,sanitizeFilepath as fu,saveConfigFile as pu,scaleStrToParamsSize as Hu,simplifyObjectArguments as Iu,sortedValues as hu,splitChunks as vu,splitParagraph as Fu,splitSentence as ku,stringify as lu,stringifyYaml as Pu,stripConsoleColor as Vu,textToDate as cu,throwError as ju,toDate as Bu,toDateTime as Gu,toRegExp as Su,tokenize as Tu,trimStartOfStreamHelper as gu,truncTo as xu,truncateByToken as yu,truncateToTokenLimit as zu,truncateToTokenLimitEx as Eu,uuid as Lu,v1 as Nu,v4 as Wu,v5 as Xu,validate as bu,version as qu,wait as wu,xxhash as Au,xxhash32 as Cu,xxhash64 as Du,xxhashAsStr as Ju}from"./chunk-SIP3XWIH.mjs";import{findPort as Ku}from"./chunk-VIG2GB47.mjs";export{s as AIArgProcessor,a as AIChatRoles,u as AIMessageTypes,i as AIStream,e as AITextGenerationFinishReasons,r as AbortError,n as AbortErrorCode,t as ActionNames,d as AlreadyExistsError,m as AlreadyExistsErrorCode,o as AsyncFeatureBits,f as AsyncFeatures,p as BaseError,H as CancelableAbility,I as ChoiceArgProcessor,h as ClientToolFuncSchema,v as ClientTools,F as CommonError,k as ConfigFile,l as DefaultAsyncSemaphoreCapacity,V as ErrorCode,c as EventBusName,j as EventClient,B as EventName,G as EventServer,S as EventToolFunc,T as FStringPromptTemplate,g as FewShotPromptTemplate,x as FilenameReservedRegex,y as GolangPromptTemplate,ls as HFBuiltins,P as HFEnvironment,W as HFInterpreter,ts as HFTemplate,z as HashAlgorithm,E as HfPromptTemplate,L as IntSet,N as InternalErrorCode,X as LLM_TOKENIZER_NAMES,b as LLM_TOKENIZER_NAMES_MAP,w as NotFoundError,A as NotFoundErrorCode,C as NotImplementationError,D as NotImplementedErrorCode,J as PASSING_SCORE,K as PromptExampleSelector,M as PromptTemplate,O as PromptTemplateTypes,Q as PromptTypes,R as RStreamErrCode,U as RateLimit,Y as ReadableStreamError,Z as RemoteToolFuncSchema,$ as ResClientTools,_ as ResServerTools,ss as ResponseRStreamErrCode,as as SSEChannel,us as SSEChannelAlreadyClosedErrCode,is as Semaphore,es as ServerToolFuncSchema,rs as ServerTools,ns as TaskAbortController,ds as TemplateArgProcessor,ms as ToolAsyncCancelableBit,os as ToolAsyncMultiTaskBit,fs as ToolAsyncPriorityBit,ps as ToolFunc,Hs as ToolFuncSchema,Is as WindowsReservedNameRegex,hs as YamlTypeBaseObject,vs as _lrucache,Fs as backendEventable,ks as base32768,Ps as canonicalize,Vs as completeSentences,cs as concatText,js as countLLMTokens,Bs as countRegexMatches,Gs as createAbilityInjector,Ss as createCallbacksTransformer,Ts as createEmptyReadableStream,gs as createEndWithRepetitionDetector,xs as createError,ys as createEventStreamTransformer,zs as createHfValueFunc,Es as createLRUCache,Ls as createYamlObjectTag,Ns as dateToText,Ws as decodeCharset,Xs as defaultTemplateFormat,bs as detectCharset,qs as encodeLLMTokens,ws as event,As as eventClient,Cs as eventServer,Ds as expandEnv,Js as expandObjEnv,Ks as extNameLevel,Ms as fileIsExists,Os as filenameReservedRegex,Qs as filterValidFnScope,Rs as findIndexNonEmptyFrom,Ku as findPort,Us as formatISO,Ys as formatTextWithSpace,Zs as getAllEnumKeys,$s as getConfigFileNames,_s as getConfigs,sa as getFileMetaInfo,aa as getHashAlgoBySize,ua as getKeysPath,ia as getLLMTokenizer,ea as getMultiLevelExtname,ra as getPackageDir,na as getRealFilepath,ta as getResponseErrorReadableStream,da as hasDirectoryIn,ma as hashFile,oa as hashStream,qa as hfParse,Tu as hfTokenize,fa as interpolateEnv,pa as interpolateFString,Ha as interpolateGolangTemplate,Ia as isLangUsingSpaces,ha as isListItemString,va as isModelNameMatched,Fa as isPunctuationChar,ka as isRegExp,la as isSectionString,Pa as isSentenceEnding,Va as isSepLineString,ca as isSubdirectory,ja as isTitleString,Ba as isValidFilename,Ga as isValidFilepath,Sa as isWebStream,Ta as jsonFilterToWhere,ga as jsonToMarkdownStr,xa as loadFileFromPaths,ya as loadTextFromPaths,za as lrucache,Ea as makeToolFuncCancelable,La as matchUrlProtocol,Na as memoize,Wa as messagesToText,Xa as mimeType,ba as paramsSizeToScaleStr,Aa as parseCommand,Ca as parseDateFormat,Da as parseFString,Ja as parseISO,Ka as parseJsJson,Ma as parseJsJsonSimpleSync,Oa as parseObjectArgInfo,Qa as parseObjectArgumentInfos,Ra as parseObjectArguments,Ua as parseObjectArgumentsAsArgInfos,Ya as parseYaml,Za as quoteStr,$a as reControlCharsRegex,_a as readFilenamesRecursiveSync,su as readTextFileChunks,au as readTextFileChunksEx,uu as readableFromAsyncIterable,iu as registerCoreTools,eu as registerYamlTag,ru as removeMarkdownBold,nu as removeMarkdownBoldAndItalic,tu as removeMarkdownItalic,du as replaceWithPlaceholder,mu as restoreFromPlacehoders,ou as sanitizeFilename,fu as sanitizeFilepath,pu as saveConfigFile,Hu as scaleStrToParamsSize,Iu as simplifyObjectArguments,hu as sortedValues,vu as splitChunks,Fu as splitParagraph,ku as splitSentence,Pu as stringifyYaml,Vu as stripConsoleColor,cu as textToDate,ju as throwError,Bu as toDate,Gu as toDateTime,Su as toRegExp,gu as trimStartOfStreamHelper,xu as truncTo,yu as truncateByToken,zu as truncateToTokenLimit,Eu as truncateToTokenLimitEx,Lu as uuid,q as uuidNIL,wa as uuidParse,lu as uuidStringify,bu as uuidValidate,qu as uuidVersion,Nu as uuidv1,Wu as uuidv4,Xu as uuidv5,wu as wait,Au as xxhash,Cu as xxhash32,Du as xxhash64,Ju as xxhashAsStr};
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
|
|
29
29
|
#### Defined in
|
|
30
30
|
|
|
31
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:65](https://github.com/isdk/ai-tool.js/blob/
|
|
31
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:65](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L65)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
#### Defined in
|
|
40
40
|
|
|
41
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:66](https://github.com/isdk/ai-tool.js/blob/
|
|
41
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:66](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L66)
|
|
42
42
|
|
|
43
43
|
***
|
|
44
44
|
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
|
|
49
49
|
#### Defined in
|
|
50
50
|
|
|
51
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:55](https://github.com/isdk/ai-tool.js/blob/
|
|
51
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:55](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L55)
|
|
52
52
|
|
|
53
53
|
***
|
|
54
54
|
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
|
|
59
59
|
#### Defined in
|
|
60
60
|
|
|
61
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:56](https://github.com/isdk/ai-tool.js/blob/
|
|
61
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:56](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L56)
|
|
62
62
|
|
|
63
63
|
***
|
|
64
64
|
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
|
|
79
79
|
#### Defined in
|
|
80
80
|
|
|
81
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:63](https://github.com/isdk/ai-tool.js/blob/
|
|
81
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:63](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L63)
|
|
82
82
|
|
|
83
83
|
***
|
|
84
84
|
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
|
|
99
99
|
#### Defined in
|
|
100
100
|
|
|
101
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:62](https://github.com/isdk/ai-tool.js/blob/
|
|
101
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:62](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L62)
|
|
102
102
|
|
|
103
103
|
## Accessors
|
|
104
104
|
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
|
|
113
113
|
#### Defined in
|
|
114
114
|
|
|
115
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:68](https://github.com/isdk/ai-tool.js/blob/
|
|
115
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:68](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L68)
|
|
116
116
|
|
|
117
117
|
***
|
|
118
118
|
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
|
|
127
127
|
#### Defined in
|
|
128
128
|
|
|
129
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:72](https://github.com/isdk/ai-tool.js/blob/
|
|
129
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:72](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L72)
|
|
130
130
|
|
|
131
131
|
## Methods
|
|
132
132
|
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
|
|
147
147
|
#### Defined in
|
|
148
148
|
|
|
149
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:234](https://github.com/isdk/ai-tool.js/blob/
|
|
149
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:234](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L234)
|
|
150
150
|
|
|
151
151
|
***
|
|
152
152
|
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
|
|
167
167
|
#### Defined in
|
|
168
168
|
|
|
169
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:134](https://github.com/isdk/ai-tool.js/blob/
|
|
169
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:134](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L134)
|
|
170
170
|
|
|
171
171
|
***
|
|
172
172
|
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
|
|
187
187
|
#### Defined in
|
|
188
188
|
|
|
189
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:214](https://github.com/isdk/ai-tool.js/blob/
|
|
189
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:214](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L214)
|
|
190
190
|
|
|
191
191
|
***
|
|
192
192
|
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
|
|
207
207
|
#### Defined in
|
|
208
208
|
|
|
209
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:147](https://github.com/isdk/ai-tool.js/blob/
|
|
209
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:147](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L147)
|
|
210
210
|
|
|
211
211
|
***
|
|
212
212
|
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
|
|
227
227
|
#### Defined in
|
|
228
228
|
|
|
229
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:291](https://github.com/isdk/ai-tool.js/blob/
|
|
229
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:291](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L291)
|
|
230
230
|
|
|
231
231
|
***
|
|
232
232
|
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
|
|
245
245
|
#### Defined in
|
|
246
246
|
|
|
247
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:224](https://github.com/isdk/ai-tool.js/blob/
|
|
247
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:224](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L224)
|
|
248
248
|
|
|
249
249
|
***
|
|
250
250
|
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
|
|
267
267
|
#### Defined in
|
|
268
268
|
|
|
269
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:158](https://github.com/isdk/ai-tool.js/blob/
|
|
269
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:158](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L158)
|
|
270
270
|
|
|
271
271
|
***
|
|
272
272
|
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
|
|
297
297
|
#### Defined in
|
|
298
298
|
|
|
299
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:238](https://github.com/isdk/ai-tool.js/blob/
|
|
299
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:238](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L238)
|
|
300
300
|
|
|
301
301
|
***
|
|
302
302
|
|
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
|
|
315
315
|
#### Defined in
|
|
316
316
|
|
|
317
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:96](https://github.com/isdk/ai-tool.js/blob/
|
|
317
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:96](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L96)
|
|
318
318
|
|
|
319
319
|
***
|
|
320
320
|
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
|
|
329
329
|
#### Defined in
|
|
330
330
|
|
|
331
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:119](https://github.com/isdk/ai-tool.js/blob/
|
|
331
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:119](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L119)
|
|
332
332
|
|
|
333
333
|
***
|
|
334
334
|
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
|
|
347
347
|
#### Defined in
|
|
348
348
|
|
|
349
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:81](https://github.com/isdk/ai-tool.js/blob/
|
|
349
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:81](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L81)
|
|
350
350
|
|
|
351
351
|
***
|
|
352
352
|
|
|
@@ -376,4 +376,4 @@
|
|
|
376
376
|
|
|
377
377
|
#### Defined in
|
|
378
378
|
|
|
379
|
-
[packages/ai-tool/src/utils/cancelable-ability.ts:276](https://github.com/isdk/ai-tool.js/blob/
|
|
379
|
+
[packages/ai-tool/src/utils/cancelable-ability.ts:276](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/cancelable-ability.ts#L276)
|