@isdk/ai-tool 0.8.2 → 0.9.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-BIJ2JH4U.mjs +1 -0
- package/dist/chunk-OYMVHUDZ.mjs +1 -0
- package/dist/funcs.d.mts +16 -5
- package/dist/funcs.d.ts +16 -5
- package/dist/funcs.js +1 -1
- package/dist/funcs.mjs +1 -1
- package/dist/index.d.mts +839 -563
- package/dist/index.d.ts +839 -563
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/test/util.d.mts +1 -1
- package/dist/test/util.d.ts +1 -1
- package/dist/test/util.js +1 -1
- package/dist/test/util.mjs +1 -1
- package/docs/api/@isdk/namespaces/ClientTools/README.md +11 -0
- package/docs/api/@isdk/namespaces/ClientTools/functions/get.md +27 -0
- package/docs/api/@isdk/namespaces/EventStates/variables/ABORT.md +1 -1
- package/docs/api/@isdk/namespaces/EventStates/variables/CONTINUE.md +1 -1
- package/docs/api/@isdk/namespaces/EventStates/variables/DONE.md +1 -1
- package/docs/api/@isdk/namespaces/EventStates/variables/STOPPED.md +1 -1
- package/docs/api/classes/BinarySemaphore.md +148 -67
- package/docs/api/classes/CancelableAbility.md +95 -43
- package/docs/api/classes/ClientToolTransport.md +31 -16
- package/docs/api/classes/ClientTools.md +868 -158
- package/docs/api/classes/CmdArgLexer.md +82 -0
- package/docs/api/classes/CmdArgParser.md +56 -0
- package/docs/api/classes/ConfigFile.md +6 -6
- package/docs/api/classes/EnvPromptTemplate.md +224 -52
- package/docs/api/classes/EventClient.md +902 -192
- package/docs/api/classes/EventEmitter.md +62 -12
- package/docs/api/classes/EventServer.md +895 -182
- package/docs/api/classes/EventToolFunc.md +801 -123
- package/docs/api/classes/FStringPromptTemplate.md +224 -52
- package/docs/api/classes/FewShotPromptTemplate.md +231 -59
- package/docs/api/classes/GolangPromptTemplate.md +224 -52
- package/docs/api/classes/HttpClientToolTransport.md +33 -19
- package/docs/api/classes/HttpServerToolTransport.md +15 -15
- package/docs/api/classes/IntSet.md +21 -21
- package/docs/api/classes/MailboxClientTransport.md +398 -0
- package/docs/api/classes/MailboxServerTransport.md +433 -0
- package/docs/api/classes/PromptExampleSelector.md +11 -11
- package/docs/api/classes/PromptTemplate.md +199 -51
- package/docs/api/classes/ReadableStreamError.md +2 -2
- package/docs/api/classes/ResClientTools.md +875 -165
- package/docs/api/classes/ResServerTools.md +869 -156
- package/docs/api/classes/RpcMethodsClientTool.md +870 -160
- package/docs/api/classes/RpcMethodsServerTool.md +865 -152
- package/docs/api/classes/SSEChannel.md +23 -23
- package/docs/api/classes/Semaphore.md +148 -76
- package/docs/api/classes/ServerToolTransport.md +14 -13
- package/docs/api/classes/ServerTools.md +854 -138
- package/docs/api/classes/SignalGate.md +12 -12
- package/docs/api/classes/SseClientPubSubTransport.md +4 -4
- package/docs/api/classes/SseServerPubSubTransport.md +13 -13
- package/docs/api/classes/TaskAbortController.md +33 -11
- package/docs/api/classes/ToolFunc.md +725 -119
- package/docs/api/classes/ToolTransport.md +7 -7
- package/docs/api/classes/YamlTypeBaseObject.md +2 -2
- package/docs/api/enumerations/AsyncFeatureBits.md +4 -4
- package/docs/api/enumerations/AsyncFeatures.md +4 -4
- package/docs/api/enumerations/CmdArgTokenType.md +129 -0
- package/docs/api/enumerations/HashAlgorithm.md +38 -12
- package/docs/api/functions/AIArgProcessor.md +8 -17
- package/docs/api/functions/AIStream.md +1 -1
- package/docs/api/functions/ChoiceArgProcessor.md +13 -15
- package/docs/api/functions/DefaultDateFormat.md +1 -1
- package/docs/api/functions/ObjectArgsToArgsInfo.md +11 -9
- package/docs/api/functions/RateLimit.md +33 -6
- package/docs/api/functions/TemplateArgProcessor.md +13 -15
- package/docs/api/functions/assignDirs.md +1 -1
- package/docs/api/functions/beforeShutdown.md +3 -3
- package/docs/api/functions/calcPerplexity.md +3 -3
- package/docs/api/functions/calcPerplexitySimple.md +3 -3
- package/docs/api/functions/cmdArgEvaluate.md +28 -0
- package/docs/api/functions/cmdArgsToMergedObject.md +34 -0
- package/docs/api/functions/completeSentences.md +1 -1
- package/docs/api/functions/concatText.md +1 -1
- package/docs/api/functions/countLLMTokens.md +1 -1
- package/docs/api/functions/countRegexMatches.md +1 -1
- package/docs/api/functions/createCallbacksTransformer.md +23 -19
- package/docs/api/functions/createEmptyReadableStream.md +1 -1
- package/docs/api/functions/createEndWithRepetitionDetector.md +4 -4
- package/docs/api/functions/createEventStreamTransformer.md +1 -1
- package/docs/api/functions/createHfValueFunc.md +1 -1
- package/docs/api/functions/createLRUCache.md +1 -1
- package/docs/api/functions/createYamlObjectTag.md +1 -1
- package/docs/api/functions/dateToText.md +1 -1
- package/docs/api/functions/decodeCharset.md +1 -1
- package/docs/api/functions/defaultsWithConcat.md +1 -1
- package/docs/api/functions/detectCharset.md +1 -1
- package/docs/api/functions/encodeLLMTokens.md +1 -1
- package/docs/api/functions/ensureQuoted.md +3 -1
- package/docs/api/functions/evaluateExpression.md +40 -0
- package/docs/api/functions/eventable.md +1 -1
- package/docs/api/functions/expandConfig.md +1 -1
- package/docs/api/functions/expandEnv.md +1 -1
- package/docs/api/functions/expandObjEnv.md +1 -1
- package/docs/api/functions/expandPath.md +1 -1
- package/docs/api/functions/expandPathInObject.md +1 -1
- package/docs/api/functions/expandPaths.md +1 -1
- package/docs/api/functions/extNameLevel.md +1 -1
- package/docs/api/functions/extractCodeBlock.md +51 -0
- package/docs/api/functions/fileIsExists.md +3 -3
- package/docs/api/functions/filterValidFnScope.md +3 -3
- package/docs/api/functions/findIndexNonEmptyFrom.md +1 -1
- package/docs/api/functions/findPort.md +13 -5
- package/docs/api/functions/formatTextWithSpace.md +1 -1
- package/docs/api/functions/funcGetMeta.md +1 -1
- package/docs/api/functions/funcWithMeta.md +4 -4
- package/docs/api/functions/genUrlParamsStr.md +1 -1
- package/docs/api/functions/getAllEnumKeys.md +1 -1
- package/docs/api/functions/getConfigFileNames.md +1 -1
- package/docs/api/functions/getConfigs.md +1 -1
- package/docs/api/functions/getEnvVairables.md +1 -1
- package/docs/api/functions/getFileMetaInfo.md +1 -1
- package/docs/api/functions/getHashAlgoBySize.md +1 -1
- package/docs/api/functions/getKeysPath.md +1 -1
- package/docs/api/functions/getLLMTokenizer.md +1 -1
- package/docs/api/functions/getMultiLevelExtname.md +1 -1
- package/docs/api/functions/getPackageDir.md +1 -1
- package/docs/api/functions/getRealFilepath.md +1 -1
- package/docs/api/functions/getResponseErrorReadableStream.md +2 -2
- package/docs/api/functions/getXDGConfigs.md +1 -1
- package/docs/api/functions/hasDirectoryIn.md +3 -3
- package/docs/api/functions/hash.md +25 -4
- package/docs/api/functions/hashFile.md +1 -1
- package/docs/api/functions/hashObject.md +23 -1
- package/docs/api/functions/hashStream.md +25 -4
- package/docs/api/functions/initShutdown.md +1 -1
- package/docs/api/functions/isIdentifier.md +30 -0
- package/docs/api/functions/isLangUsingSpaces.md +1 -1
- package/docs/api/functions/isListItemString.md +3 -3
- package/docs/api/functions/isModelNameMatched.md +3 -3
- package/docs/api/functions/isPathIdentifier.md +23 -0
- package/docs/api/functions/isPunctuationChar.md +1 -1
- package/docs/api/functions/isQuoted.md +4 -1
- package/docs/api/functions/isRegExp.md +20 -1
- package/docs/api/functions/isSameString.md +1 -1
- package/docs/api/functions/isSectionString.md +3 -3
- package/docs/api/functions/isSentenceEnding.md +1 -1
- package/docs/api/functions/isSepLineString.md +3 -3
- package/docs/api/functions/isStrWrapped.md +3 -1
- package/docs/api/functions/isSubdirectory.md +1 -1
- package/docs/api/functions/isTitleString.md +3 -3
- package/docs/api/functions/isValidFilename.md +1 -1
- package/docs/api/functions/isValidFilepath.md +1 -1
- package/docs/api/functions/isWebStream.md +1 -1
- package/docs/api/functions/joinSplitWords.md +1 -1
- package/docs/api/functions/jsonFilterToWhere.md +1 -1
- package/docs/api/functions/jsonToMarkdownStr.md +1 -1
- package/docs/api/functions/loadAIConfig.md +1 -1
- package/docs/api/functions/loadConfig.md +1 -1
- package/docs/api/functions/loadConfigFile.md +1 -1
- package/docs/api/functions/loadFileFromPaths.md +1 -1
- package/docs/api/functions/loadTextFromPaths.md +1 -1
- package/docs/api/functions/lrucache.md +1 -1
- package/docs/api/functions/matchUrlProtocol.md +3 -3
- package/docs/api/functions/memoize.md +1 -1
- package/docs/api/functions/mergeArray.md +1 -1
- package/docs/api/functions/messagesToText.md +1 -1
- package/docs/api/functions/normalizePath.md +1 -1
- package/docs/api/functions/paramsSizeToScaleStr.md +1 -1
- package/docs/api/functions/parseCommand.md +21 -4
- package/docs/api/functions/parseJsJson.md +1 -1
- package/docs/api/functions/parseJsJsonSimpleSync.md +1 -1
- package/docs/api/functions/parseObjectArguments.md +17 -33
- package/docs/api/functions/parseYaml.md +1 -1
- package/docs/api/functions/prependNewlineIfMultiline.md +39 -0
- package/docs/api/functions/pruneSubdirectories.md +1 -1
- package/docs/api/functions/pruneSubdirectoriesInPlace.md +1 -1
- package/docs/api/functions/quoteStr.md +4 -1
- package/docs/api/functions/readFilenamesRecursiveSync.md +1 -1
- package/docs/api/functions/readTextFileChunks.md +1 -1
- package/docs/api/functions/readTextFileChunksEx.md +1 -1
- package/docs/api/functions/readableFromAsyncIterable.md +1 -1
- package/docs/api/functions/registerCoreTools.md +1 -1
- package/docs/api/functions/registerYamlTag.md +2 -2
- package/docs/api/functions/removeMarkdownBold.md +1 -1
- package/docs/api/functions/removeMarkdownBoldAndItalic.md +1 -1
- package/docs/api/functions/removeMarkdownItalic.md +1 -1
- package/docs/api/functions/replaceWithPlaceholder.md +3 -18
- package/docs/api/functions/restoreFromPlacehoders.md +2 -20
- package/docs/api/functions/sanitizeFilename.md +1 -1
- package/docs/api/functions/sanitizeFilepath.md +1 -1
- package/docs/api/functions/saveConfigFile.md +1 -1
- package/docs/api/functions/scaleStrToParamsSize.md +1 -1
- package/docs/api/functions/shutdown.md +2 -2
- package/docs/api/functions/simplifyObjectArguments.md +4 -1
- package/docs/api/functions/simplifyResult.md +34 -0
- package/docs/api/functions/sleep.md +1 -1
- package/docs/api/functions/sortedValues.md +1 -1
- package/docs/api/functions/splitChunks.md +1 -1
- package/docs/api/functions/splitParagraph.md +1 -1
- package/docs/api/functions/splitSentence.md +1 -1
- package/docs/api/functions/splitWords.md +1 -1
- package/docs/api/functions/stringifyYaml.md +1 -1
- package/docs/api/functions/stripConsoleColor.md +1 -1
- package/docs/api/functions/textToDate.md +1 -1
- package/docs/api/functions/textify.md +43 -0
- package/docs/api/functions/toDateTime.md +3 -3
- package/docs/api/functions/toRegExp.md +1 -1
- package/docs/api/functions/trimStartOfStreamHelper.md +1 -1
- package/docs/api/functions/truncTo.md +1 -1
- package/docs/api/functions/truncateByToken.md +1 -1
- package/docs/api/functions/truncateToTokenLimit.md +1 -1
- package/docs/api/functions/truncateToTokenLimitEx.md +1 -1
- package/docs/api/functions/uuid.md +1 -1
- package/docs/api/functions/wrapEventEmitter.md +1 -1
- package/docs/api/functions/wrapFlagValue.md +29 -0
- package/docs/api/functions/xxhash.md +27 -6
- package/docs/api/functions/xxhash32.md +22 -4
- package/docs/api/functions/xxhash64.md +22 -4
- package/docs/api/functions/xxhashAsStr.md +27 -6
- package/docs/api/functions/yieldExec.md +1 -1
- package/docs/api/globals.md +51 -18
- package/docs/api/interfaces/AIChatAssistantMessageParam.md +14 -14
- package/docs/api/interfaces/AIChatContentPartBase.md +26 -0
- package/docs/api/interfaces/AIChatContentPartImage.md +15 -3
- package/docs/api/interfaces/AIChatContentPartText.md +15 -3
- package/docs/api/interfaces/AIChatMessageParamBase.md +9 -9
- package/docs/api/interfaces/AIChatMessageToolCall.md +12 -8
- package/docs/api/interfaces/AIChatSystemMessageParam.md +10 -10
- package/docs/api/interfaces/AIChatToolChoiceFuncObject.md +3 -3
- package/docs/api/interfaces/AIChatToolChoiceObject.md +2 -2
- package/docs/api/interfaces/AIChatToolDefinition.md +45 -0
- package/docs/api/interfaces/AIChatToolFunc.md +5 -5
- package/docs/api/interfaces/AIChatToolFuncParam.md +3 -3
- package/docs/api/interfaces/AIChatToolMessageParam.md +13 -13
- package/docs/api/interfaces/AIChatToolParam.md +2 -2
- package/docs/api/interfaces/AIChatToolTypeObject.md +2 -2
- package/docs/api/interfaces/AIChatUserMessageParam.md +14 -14
- package/docs/api/interfaces/AIResult.md +7 -7
- package/docs/api/interfaces/AIStreamParser.md +2 -2
- package/docs/api/interfaces/AIStreamParserOptions.md +2 -2
- package/docs/api/interfaces/BaseFunc.md +15 -15
- package/docs/api/interfaces/BaseFuncItem.md +16 -16
- package/docs/api/interfaces/BinarySemaphoreAcquireOptions.md +9 -2
- package/docs/api/interfaces/BinarySemaphoreOptions.md +22 -5
- package/docs/api/interfaces/BinarySemaphoreReleaseOptions.md +7 -5
- package/docs/api/interfaces/CancelableAbilityOptions.md +4 -4
- package/docs/api/interfaces/ClientFuncItem.md +70 -19
- package/docs/api/interfaces/CmdArgAIChoiceConfig.md +97 -0
- package/docs/api/interfaces/CmdArgArgsInfo.md +31 -0
- package/docs/api/interfaces/CmdArgContext.md +103 -0
- package/docs/api/interfaces/CmdArgFlagMetadata.md +21 -0
- package/docs/api/interfaces/CmdArgMapResult.md +41 -0
- package/docs/api/interfaces/CmdArgParseResult.md +51 -0
- package/docs/api/interfaces/CmdArgParsedCommand.md +41 -0
- package/docs/api/interfaces/CmdArgParserOptions.md +225 -0
- package/docs/api/interfaces/CmdArgProcessorResultOptions.md +22 -0
- package/docs/api/interfaces/CmdArgSimplifyOptions.md +101 -0
- package/docs/api/interfaces/CmdArgToken.md +51 -0
- package/docs/api/interfaces/EventClientFuncParams.md +5 -5
- package/docs/api/interfaces/EventServerFuncParams.md +21 -7
- package/docs/api/interfaces/FewShotPromptTemplateOptions.md +18 -6
- package/docs/api/interfaces/FuncItem.md +19 -15
- package/docs/api/interfaces/FuncParam.md +5 -5
- package/docs/api/interfaces/FuncParams.md +1 -1
- package/docs/api/interfaces/Funcs.md +1 -1
- package/docs/api/interfaces/HashAlgoParams.md +36 -5
- package/docs/api/interfaces/IClientToolTransport.md +24 -10
- package/docs/api/interfaces/IFileMetaInfo.md +8 -8
- package/docs/api/interfaces/IPubSubClientTransport.md +4 -4
- package/docs/api/interfaces/IPubSubServerTransport.md +14 -14
- package/docs/api/interfaces/IReadTextFileChunksOptions.md +11 -11
- package/docs/api/interfaces/IServerToolTransport.md +8 -8
- package/docs/api/interfaces/IToolTransport.md +5 -5
- package/docs/api/interfaces/ITruncateToTokenLimitOptions.md +10 -10
- package/docs/api/interfaces/JsonFilter.md +1 -1
- package/docs/api/interfaces/MailboxClientOptions.md +74 -0
- package/docs/api/interfaces/MailboxServerOptions.md +69 -0
- package/docs/api/interfaces/ProbabilityItem.md +4 -4
- package/docs/api/interfaces/PromptExampleSelectorOptions.md +3 -3
- package/docs/api/interfaces/PromptTemplateOptions.md +8 -0
- package/docs/api/interfaces/PubSubClientStream.md +11 -11
- package/docs/api/interfaces/PubSubServerSession.md +8 -8
- package/docs/api/interfaces/RegisterOptions.md +298 -0
- package/docs/api/interfaces/RemoteFuncItem.md +63 -20
- package/docs/api/interfaces/ReplacePlacehoderOptions.md +5 -5
- package/docs/api/interfaces/ResClientFuncParams.md +3 -3
- package/docs/api/interfaces/ResServerFuncParams.md +20 -6
- package/docs/api/interfaces/RpcMethodsClientFuncParams.md +2 -2
- package/docs/api/interfaces/RpcMethodsServerFuncParams.md +18 -4
- package/docs/api/interfaces/SanitizeFilenameOptions.md +3 -3
- package/docs/api/interfaces/SectionStringOptions.md +3 -3
- package/docs/api/interfaces/SemaphoreOptions.md +30 -7
- package/docs/api/interfaces/SemaphoreTaskItem.md +18 -5
- package/docs/api/interfaces/ServerFuncItem.md +71 -20
- package/docs/api/interfaces/ServerFuncParams.md +14 -4
- package/docs/api/interfaces/SplitSentenceOptions.md +5 -5
- package/docs/api/interfaces/StreamCallbacksAndOptions.md +80 -7
- package/docs/api/interfaces/TaskAbortControllers.md +2 -2
- package/docs/api/interfaces/TaskPromise.md +6 -6
- package/docs/api/interfaces/TextifyInlineOptions.md +51 -0
- package/docs/api/interfaces/TextifyOptions.md +108 -0
- package/docs/api/interfaces/ToolFuncContext.md +73 -0
- package/docs/api/interfaces/ToolFuncPackage.md +4 -4
- package/docs/api/interfaces/ToolFuncRegistryIsolateOptions.md +41 -0
- package/docs/api/interfaces/UnregisterOptions.md +56 -0
- package/docs/api/type-aliases/AIChatContentPart.md +2 -2
- package/docs/api/type-aliases/AIChatMessageParam.md +1 -1
- package/docs/api/type-aliases/AIChatRole.md +2 -2
- package/docs/api/type-aliases/AIChatTemplateCaps.md +239 -0
- package/docs/api/type-aliases/AIChatToolChoiceParam.md +1 -1
- package/docs/api/type-aliases/AIMessageType.md +1 -1
- package/docs/api/type-aliases/AIModelNameRule.md +1 -1
- package/docs/api/type-aliases/AIModelNameRuleFn.md +1 -1
- package/docs/api/type-aliases/AIModelNameRules.md +1 -1
- package/docs/api/type-aliases/AITextGenerationFinishReason.md +1 -1
- package/docs/api/type-aliases/ActionName.md +1 -1
- package/docs/api/type-aliases/ArgProcessor.md +24 -0
- package/docs/api/type-aliases/ArrayMergeWay.md +1 -1
- package/docs/api/type-aliases/AsyncTaskId.md +1 -1
- package/docs/api/type-aliases/BeforeShutdownListener.md +1 -1
- package/docs/api/type-aliases/CmdArgFlagValue.md +14 -0
- package/docs/api/type-aliases/CmdArgFlagsRecord.md +13 -0
- package/docs/api/type-aliases/EventErrorListenerFn.md +1 -1
- package/docs/api/type-aliases/EventListenerFn.md +1 -1
- package/docs/api/type-aliases/FuncParamType.md +1 -1
- package/docs/api/type-aliases/PromptExamples.md +1 -1
- package/docs/api/type-aliases/PubSubClientId.md +1 -1
- package/docs/api/type-aliases/PubSubCtx.md +6 -6
- package/docs/api/type-aliases/RpcMethodHandler.md +1 -1
- package/docs/api/type-aliases/SSEClient.md +5 -5
- package/docs/api/type-aliases/SemaphoreIsReadyFuncType.md +4 -1
- package/docs/api/type-aliases/SimplifiedResultType.md +14 -0
- package/docs/api/type-aliases/StreamCloseStatus.md +16 -0
- package/docs/api/type-aliases/TFunc.md +1 -1
- package/docs/api/type-aliases/TextifyInlineStyleMode.md +16 -0
- package/docs/api/type-aliases/TextifyStringQuoting.md +16 -0
- package/docs/api/type-aliases/UUIDVersions.md +3 -1
- package/docs/api/variables/AIChatRoles.md +2 -2
- package/docs/api/variables/AIMessageTypes.md +1 -1
- package/docs/api/variables/AITextGenerationFinishReasons.md +1 -1
- package/docs/api/variables/ActionNames.md +1 -1
- package/docs/api/variables/ArrayMergeWay.md +1 -1
- package/docs/api/variables/ArrayMergeWaySymbol.md +1 -1
- package/docs/api/variables/CMD_ARG_FLAG_SYMBOL.md +21 -0
- package/docs/api/variables/CMD_ARG_PROCESSOR_RESULT.md +22 -0
- package/docs/api/variables/CMD_ARG_UNRESOLVED_SYMBOL.md +16 -0
- package/docs/api/variables/ClientEventPrefix.md +2 -2
- package/docs/api/variables/ClientToolFuncSchema.md +27 -17
- package/docs/api/variables/DEFAULT_CONFIG_NAME.md +1 -1
- package/docs/api/variables/DefaultAsyncSemaphoreCapacity.md +4 -1
- package/docs/api/variables/EventBusName.md +2 -2
- package/docs/api/variables/EventName.md +2 -2
- package/docs/api/variables/FilenameReservedRegex.md +1 -1
- package/docs/api/variables/FuncMetaSymbol.md +2 -2
- package/docs/api/variables/IDENTIFIER_REGEX.md +14 -0
- package/docs/api/variables/LLM_TOKENIZER_NAMES.md +1 -1
- package/docs/api/variables/LLM_TOKENIZER_NAMES_MAP.md +1 -1
- package/docs/api/variables/PASSING_SCORE.md +1 -1
- package/docs/api/variables/PATH_IDENTIFIER_REGEX.md +13 -0
- package/docs/api/variables/RESERVED_WORDS.md +13 -0
- package/docs/api/variables/RStreamErrCode.md +1 -1
- package/docs/api/variables/RemoteToolFuncSchema.md +36 -4
- package/docs/api/variables/ResponseRStreamErrCode.md +1 -1
- package/docs/api/variables/RpcMethodsClientToolSchema.md +2 -2
- package/docs/api/variables/RpcMethodsServerToolSchema.md +2 -2
- package/docs/api/variables/SHUTDOWN_SIGNALS.md +1 -1
- package/docs/api/variables/SSEChannelAlreadyClosedErrCode.md +1 -1
- package/docs/api/variables/SecondaryCache.md +1 -1
- package/docs/api/variables/ServerToolFuncSchema.md +27 -17
- package/docs/api/variables/StrangeHumanName.md +1 -1
- package/docs/api/variables/ToolAsyncCancelableBit.md +1 -1
- package/docs/api/variables/ToolAsyncMultiTaskBit.md +1 -1
- package/docs/api/variables/ToolAsyncPriorityBit.md +1 -1
- package/docs/api/variables/ToolFuncSchema.md +13 -13
- package/docs/api/variables/WindowsReservedNameRegex.md +1 -1
- package/docs/api/variables/backendEventable.md +23 -3
- package/docs/api/variables/base32768.md +2 -2
- package/docs/api/variables/event.md +1 -1
- package/docs/api/variables/eventClient.md +1 -1
- package/docs/api/variables/eventServer.md +1 -1
- package/docs/api/variables/lrucache.md +1 -1
- package/docs/api/variables/makeToolFuncCancelable.md +23 -3
- package/docs/api/variables/wait.md +1 -1
- package/docs/transport.dev.md +206 -0
- package/package.json +12 -10
- package/dist/chunk-4FKBOPZI.mjs +0 -1
- package/dist/chunk-TGTHY57V.mjs +0 -1
- package/dist/find-port-qS1CZ9c-.d.mts +0 -3
- package/dist/find-port-qS1CZ9c-.d.ts +0 -3
- package/dist/index-BLW3R7VS.d.mts +0 -1826
- package/dist/index-BLW3R7VS.d.ts +0 -1826
- package/docs/api/@isdk/namespaces/uuidv5/README.md +0 -12
- package/docs/api/@isdk/namespaces/uuidv5/variables/DNS.md +0 -11
- package/docs/api/@isdk/namespaces/uuidv5/variables/URL.md +0 -11
- package/docs/api/functions/nanoid.md +0 -45
- package/docs/api/functions/parseObjectArgInfo.md +0 -33
- package/docs/api/functions/parseObjectArgumentInfos.md +0 -29
- package/docs/api/functions/parseObjectArgumentsAsArgInfos.md +0 -46
- package/docs/api/functions/uuidParse.md +0 -21
- package/docs/api/functions/uuidStringify.md +0 -25
- package/docs/api/functions/uuidValidate.md +0 -21
- package/docs/api/functions/uuidVersion.md +0 -21
- package/docs/api/functions/uuidv1.md +0 -61
- package/docs/api/functions/uuidv4.md +0 -61
- package/docs/api/functions/uuidv5.md +0 -69
- package/docs/api/functions/uuidv6.md +0 -61
- package/docs/api/functions/uuidv7.md +0 -61
- package/docs/api/interfaces/AIChoiceConfig.md +0 -65
- package/docs/api/interfaces/BinarySemaphoreReleaserFunc.md +0 -37
- package/docs/api/interfaces/ParseObjectArgumentOptions.md +0 -89
- package/docs/api/variables/uuidNIL.md +0 -11
package/docs/api/globals.md
CHANGED
|
@@ -14,10 +14,11 @@
|
|
|
14
14
|
|
|
15
15
|
## Other
|
|
16
16
|
|
|
17
|
+
- [ClientTools](@isdk/namespaces/ClientTools/README.md)
|
|
17
18
|
- [EventStates](@isdk/namespaces/EventStates/README.md)
|
|
18
|
-
- [uuidv5](@isdk/namespaces/uuidv5/README.md)
|
|
19
19
|
- [AsyncFeatureBits](enumerations/AsyncFeatureBits.md)
|
|
20
20
|
- [AsyncFeatures](enumerations/AsyncFeatures.md)
|
|
21
|
+
- [CmdArgTokenType](enumerations/CmdArgTokenType.md)
|
|
21
22
|
- [ErrorCode](enumerations/ErrorCode.md)
|
|
22
23
|
- [HashAlgorithm](enumerations/HashAlgorithm.md)
|
|
23
24
|
- [AbortError](classes/AbortError.md)
|
|
@@ -27,6 +28,8 @@
|
|
|
27
28
|
- [CancelableAbility](classes/CancelableAbility.md)
|
|
28
29
|
- [ClientTools](classes/ClientTools.md)
|
|
29
30
|
- [ClientToolTransport](classes/ClientToolTransport.md)
|
|
31
|
+
- [CmdArgLexer](classes/CmdArgLexer.md)
|
|
32
|
+
- [CmdArgParser](classes/CmdArgParser.md)
|
|
30
33
|
- [CommonError](classes/CommonError.md)
|
|
31
34
|
- [ConfigFile](classes/ConfigFile.md)
|
|
32
35
|
- [EnvPromptTemplate](classes/EnvPromptTemplate.md)
|
|
@@ -41,6 +44,8 @@
|
|
|
41
44
|
- [HttpServerToolTransport](classes/HttpServerToolTransport.md)
|
|
42
45
|
- [IntSet](classes/IntSet.md)
|
|
43
46
|
- [LRUCache](classes/LRUCache.md)
|
|
47
|
+
- [MailboxClientTransport](classes/MailboxClientTransport.md)
|
|
48
|
+
- [MailboxServerTransport](classes/MailboxServerTransport.md)
|
|
44
49
|
- [NotFoundError](classes/NotFoundError.md)
|
|
45
50
|
- [NotImplementationError](classes/NotImplementationError.md)
|
|
46
51
|
- [PromptExampleSelector](classes/PromptExampleSelector.md)
|
|
@@ -62,6 +67,7 @@
|
|
|
62
67
|
- [ToolTransport](classes/ToolTransport.md)
|
|
63
68
|
- [YamlTypeBaseObject](classes/YamlTypeBaseObject.md)
|
|
64
69
|
- [AIChatAssistantMessageParam](interfaces/AIChatAssistantMessageParam.md)
|
|
70
|
+
- [AIChatContentPartBase](interfaces/AIChatContentPartBase.md)
|
|
65
71
|
- [AIChatContentPartImage](interfaces/AIChatContentPartImage.md)
|
|
66
72
|
- [AIChatContentPartText](interfaces/AIChatContentPartText.md)
|
|
67
73
|
- [AIChatMessageParamBase](interfaces/AIChatMessageParamBase.md)
|
|
@@ -69,13 +75,13 @@
|
|
|
69
75
|
- [AIChatSystemMessageParam](interfaces/AIChatSystemMessageParam.md)
|
|
70
76
|
- [AIChatToolChoiceFuncObject](interfaces/AIChatToolChoiceFuncObject.md)
|
|
71
77
|
- [AIChatToolChoiceObject](interfaces/AIChatToolChoiceObject.md)
|
|
78
|
+
- [AIChatToolDefinition](interfaces/AIChatToolDefinition.md)
|
|
72
79
|
- [AIChatToolFunc](interfaces/AIChatToolFunc.md)
|
|
73
80
|
- [AIChatToolFuncParam](interfaces/AIChatToolFuncParam.md)
|
|
74
81
|
- [AIChatToolMessageParam](interfaces/AIChatToolMessageParam.md)
|
|
75
82
|
- [AIChatToolParam](interfaces/AIChatToolParam.md)
|
|
76
83
|
- [AIChatToolTypeObject](interfaces/AIChatToolTypeObject.md)
|
|
77
84
|
- [AIChatUserMessageParam](interfaces/AIChatUserMessageParam.md)
|
|
78
|
-
- [AIChoiceConfig](interfaces/AIChoiceConfig.md)
|
|
79
85
|
- [AIResult](interfaces/AIResult.md)
|
|
80
86
|
- [AIStreamParser](interfaces/AIStreamParser.md)
|
|
81
87
|
- [AIStreamParserOptions](interfaces/AIStreamParserOptions.md)
|
|
@@ -84,9 +90,19 @@
|
|
|
84
90
|
- [BinarySemaphoreAcquireOptions](interfaces/BinarySemaphoreAcquireOptions.md)
|
|
85
91
|
- [BinarySemaphoreOptions](interfaces/BinarySemaphoreOptions.md)
|
|
86
92
|
- [BinarySemaphoreReleaseOptions](interfaces/BinarySemaphoreReleaseOptions.md)
|
|
87
|
-
- [BinarySemaphoreReleaserFunc](interfaces/BinarySemaphoreReleaserFunc.md)
|
|
88
93
|
- [CancelableAbilityOptions](interfaces/CancelableAbilityOptions.md)
|
|
89
94
|
- [ClientFuncItem](interfaces/ClientFuncItem.md)
|
|
95
|
+
- [CmdArgAIChoiceConfig](interfaces/CmdArgAIChoiceConfig.md)
|
|
96
|
+
- [CmdArgArgsInfo](interfaces/CmdArgArgsInfo.md)
|
|
97
|
+
- [CmdArgContext](interfaces/CmdArgContext.md)
|
|
98
|
+
- [CmdArgFlagMetadata](interfaces/CmdArgFlagMetadata.md)
|
|
99
|
+
- [CmdArgMapResult](interfaces/CmdArgMapResult.md)
|
|
100
|
+
- [CmdArgParsedCommand](interfaces/CmdArgParsedCommand.md)
|
|
101
|
+
- [CmdArgParseResult](interfaces/CmdArgParseResult.md)
|
|
102
|
+
- [CmdArgParserOptions](interfaces/CmdArgParserOptions.md)
|
|
103
|
+
- [CmdArgProcessorResultOptions](interfaces/CmdArgProcessorResultOptions.md)
|
|
104
|
+
- [CmdArgSimplifyOptions](interfaces/CmdArgSimplifyOptions.md)
|
|
105
|
+
- [CmdArgToken](interfaces/CmdArgToken.md)
|
|
90
106
|
- [EventClientFuncParams](interfaces/EventClientFuncParams.md)
|
|
91
107
|
- [EventServerFuncParams](interfaces/EventServerFuncParams.md)
|
|
92
108
|
- [FewShotPromptTemplateOptions](interfaces/FewShotPromptTemplateOptions.md)
|
|
@@ -104,12 +120,14 @@
|
|
|
104
120
|
- [IToolTransport](interfaces/IToolTransport.md)
|
|
105
121
|
- [ITruncateToTokenLimitOptions](interfaces/ITruncateToTokenLimitOptions.md)
|
|
106
122
|
- [JsonFilter](interfaces/JsonFilter.md)
|
|
107
|
-
- [
|
|
123
|
+
- [MailboxClientOptions](interfaces/MailboxClientOptions.md)
|
|
124
|
+
- [MailboxServerOptions](interfaces/MailboxServerOptions.md)
|
|
108
125
|
- [ProbabilityItem](interfaces/ProbabilityItem.md)
|
|
109
126
|
- [PromptExampleSelectorOptions](interfaces/PromptExampleSelectorOptions.md)
|
|
110
127
|
- [PromptTemplateOptions](interfaces/PromptTemplateOptions.md)
|
|
111
128
|
- [PubSubClientStream](interfaces/PubSubClientStream.md)
|
|
112
129
|
- [PubSubServerSession](interfaces/PubSubServerSession.md)
|
|
130
|
+
- [RegisterOptions](interfaces/RegisterOptions.md)
|
|
113
131
|
- [RemoteFuncItem](interfaces/RemoteFuncItem.md)
|
|
114
132
|
- [ReplacePlacehoderOptions](interfaces/ReplacePlacehoderOptions.md)
|
|
115
133
|
- [ResClientFuncParams](interfaces/ResClientFuncParams.md)
|
|
@@ -126,20 +144,29 @@
|
|
|
126
144
|
- [StreamCallbacksAndOptions](interfaces/StreamCallbacksAndOptions.md)
|
|
127
145
|
- [TaskAbortControllers](interfaces/TaskAbortControllers.md)
|
|
128
146
|
- [TaskPromise](interfaces/TaskPromise.md)
|
|
147
|
+
- [TextifyInlineOptions](interfaces/TextifyInlineOptions.md)
|
|
148
|
+
- [TextifyOptions](interfaces/TextifyOptions.md)
|
|
149
|
+
- [ToolFuncContext](interfaces/ToolFuncContext.md)
|
|
129
150
|
- [ToolFuncPackage](interfaces/ToolFuncPackage.md)
|
|
151
|
+
- [ToolFuncRegistryIsolateOptions](interfaces/ToolFuncRegistryIsolateOptions.md)
|
|
152
|
+
- [UnregisterOptions](interfaces/UnregisterOptions.md)
|
|
130
153
|
- [ActionName](type-aliases/ActionName.md)
|
|
131
154
|
- [AIChatContentPart](type-aliases/AIChatContentPart.md)
|
|
132
155
|
- [AIChatMessageParam](type-aliases/AIChatMessageParam.md)
|
|
133
156
|
- [AIChatRole](type-aliases/AIChatRole.md)
|
|
157
|
+
- [AIChatTemplateCaps](type-aliases/AIChatTemplateCaps.md)
|
|
134
158
|
- [AIChatToolChoiceParam](type-aliases/AIChatToolChoiceParam.md)
|
|
135
159
|
- [AIMessageType](type-aliases/AIMessageType.md)
|
|
136
160
|
- [AIModelNameRule](type-aliases/AIModelNameRule.md)
|
|
137
161
|
- [AIModelNameRuleFn](type-aliases/AIModelNameRuleFn.md)
|
|
138
162
|
- [AIModelNameRules](type-aliases/AIModelNameRules.md)
|
|
139
163
|
- [AITextGenerationFinishReason](type-aliases/AITextGenerationFinishReason.md)
|
|
164
|
+
- [ArgProcessor](type-aliases/ArgProcessor.md)
|
|
140
165
|
- [ArrayMergeWay](type-aliases/ArrayMergeWay.md)
|
|
141
166
|
- [AsyncTaskId](type-aliases/AsyncTaskId.md)
|
|
142
167
|
- [BeforeShutdownListener](type-aliases/BeforeShutdownListener.md)
|
|
168
|
+
- [CmdArgFlagsRecord](type-aliases/CmdArgFlagsRecord.md)
|
|
169
|
+
- [CmdArgFlagValue](type-aliases/CmdArgFlagValue.md)
|
|
143
170
|
- [EventErrorListenerFn](type-aliases/EventErrorListenerFn.md)
|
|
144
171
|
- [EventListenerFn](type-aliases/EventListenerFn.md)
|
|
145
172
|
- [FuncParamType](type-aliases/FuncParamType.md)
|
|
@@ -148,7 +175,11 @@
|
|
|
148
175
|
- [PubSubCtx](type-aliases/PubSubCtx.md)
|
|
149
176
|
- [RpcMethodHandler](type-aliases/RpcMethodHandler.md)
|
|
150
177
|
- [SemaphoreIsReadyFuncType](type-aliases/SemaphoreIsReadyFuncType.md)
|
|
178
|
+
- [SimplifiedResultType](type-aliases/SimplifiedResultType.md)
|
|
151
179
|
- [SSEClient](type-aliases/SSEClient.md)
|
|
180
|
+
- [StreamCloseStatus](type-aliases/StreamCloseStatus.md)
|
|
181
|
+
- [TextifyInlineStyleMode](type-aliases/TextifyInlineStyleMode.md)
|
|
182
|
+
- [TextifyStringQuoting](type-aliases/TextifyStringQuoting.md)
|
|
152
183
|
- [TFunc](type-aliases/TFunc.md)
|
|
153
184
|
- [UUIDVersions](type-aliases/UUIDVersions.md)
|
|
154
185
|
- [AbortErrorCode](variables/AbortErrorCode.md)
|
|
@@ -163,6 +194,9 @@
|
|
|
163
194
|
- [base32768](variables/base32768.md)
|
|
164
195
|
- [ClientEventPrefix](variables/ClientEventPrefix.md)
|
|
165
196
|
- [ClientToolFuncSchema](variables/ClientToolFuncSchema.md)
|
|
197
|
+
- [CMD\_ARG\_FLAG\_SYMBOL](variables/CMD_ARG_FLAG_SYMBOL.md)
|
|
198
|
+
- [CMD\_ARG\_PROCESSOR\_RESULT](variables/CMD_ARG_PROCESSOR_RESULT.md)
|
|
199
|
+
- [CMD\_ARG\_UNRESOLVED\_SYMBOL](variables/CMD_ARG_UNRESOLVED_SYMBOL.md)
|
|
166
200
|
- [DEFAULT\_CONFIG\_NAME](variables/DEFAULT_CONFIG_NAME.md)
|
|
167
201
|
- [DefaultAsyncSemaphoreCapacity](variables/DefaultAsyncSemaphoreCapacity.md)
|
|
168
202
|
- [defaultTemplateFormat](variables/defaultTemplateFormat.md)
|
|
@@ -173,6 +207,7 @@
|
|
|
173
207
|
- [eventServer](variables/eventServer.md)
|
|
174
208
|
- [FilenameReservedRegex](variables/FilenameReservedRegex.md)
|
|
175
209
|
- [FuncMetaSymbol](variables/FuncMetaSymbol.md)
|
|
210
|
+
- [IDENTIFIER\_REGEX](variables/IDENTIFIER_REGEX.md)
|
|
176
211
|
- [InternalErrorCode](variables/InternalErrorCode.md)
|
|
177
212
|
- [LLM\_TOKENIZER\_NAMES](variables/LLM_TOKENIZER_NAMES.md)
|
|
178
213
|
- [LLM\_TOKENIZER\_NAMES\_MAP](variables/LLM_TOKENIZER_NAMES_MAP.md)
|
|
@@ -182,7 +217,9 @@
|
|
|
182
217
|
- [NotFoundErrorCode](variables/NotFoundErrorCode.md)
|
|
183
218
|
- [NotImplementedErrorCode](variables/NotImplementedErrorCode.md)
|
|
184
219
|
- [PASSING\_SCORE](variables/PASSING_SCORE.md)
|
|
220
|
+
- [PATH\_IDENTIFIER\_REGEX](variables/PATH_IDENTIFIER_REGEX.md)
|
|
185
221
|
- [RemoteToolFuncSchema](variables/RemoteToolFuncSchema.md)
|
|
222
|
+
- [RESERVED\_WORDS](variables/RESERVED_WORDS.md)
|
|
186
223
|
- [ResponseRStreamErrCode](variables/ResponseRStreamErrCode.md)
|
|
187
224
|
- [RpcMethodsClientToolSchema](variables/RpcMethodsClientToolSchema.md)
|
|
188
225
|
- [RpcMethodsServerToolSchema](variables/RpcMethodsServerToolSchema.md)
|
|
@@ -196,7 +233,6 @@
|
|
|
196
233
|
- [ToolAsyncMultiTaskBit](variables/ToolAsyncMultiTaskBit.md)
|
|
197
234
|
- [ToolAsyncPriorityBit](variables/ToolAsyncPriorityBit.md)
|
|
198
235
|
- [ToolFuncSchema](variables/ToolFuncSchema.md)
|
|
199
|
-
- [uuidNIL](variables/uuidNIL.md)
|
|
200
236
|
- [~~wait~~](variables/wait.md)
|
|
201
237
|
- [WindowsReservedNameRegex](variables/WindowsReservedNameRegex.md)
|
|
202
238
|
- [\_lrucache](functions/lrucache.md)
|
|
@@ -208,6 +244,8 @@
|
|
|
208
244
|
- [calcPerplexitySimple](functions/calcPerplexitySimple.md)
|
|
209
245
|
- [canonicalize](functions/canonicalize.md)
|
|
210
246
|
- [ChoiceArgProcessor](functions/ChoiceArgProcessor.md)
|
|
247
|
+
- [cmdArgEvaluate](functions/cmdArgEvaluate.md)
|
|
248
|
+
- [cmdArgsToMergedObject](functions/cmdArgsToMergedObject.md)
|
|
211
249
|
- [completeSentences](functions/completeSentences.md)
|
|
212
250
|
- [concatText](functions/concatText.md)
|
|
213
251
|
- [countLLMTokens](functions/countLLMTokens.md)
|
|
@@ -228,6 +266,7 @@
|
|
|
228
266
|
- [detectCharset](functions/detectCharset.md)
|
|
229
267
|
- [encodeLLMTokens](functions/encodeLLMTokens.md)
|
|
230
268
|
- [ensureQuoted](functions/ensureQuoted.md)
|
|
269
|
+
- [evaluateExpression](functions/evaluateExpression.md)
|
|
231
270
|
- [eventable](functions/eventable.md)
|
|
232
271
|
- [expandConfig](functions/expandConfig.md)
|
|
233
272
|
- [expandEnv](functions/expandEnv.md)
|
|
@@ -236,6 +275,7 @@
|
|
|
236
275
|
- [expandPathInObject](functions/expandPathInObject.md)
|
|
237
276
|
- [expandPaths](functions/expandPaths.md)
|
|
238
277
|
- [extNameLevel](functions/extNameLevel.md)
|
|
278
|
+
- [extractCodeBlock](functions/extractCodeBlock.md)
|
|
239
279
|
- [fileIsExists](functions/fileIsExists.md)
|
|
240
280
|
- [filterValidFnScope](functions/filterValidFnScope.md)
|
|
241
281
|
- [findIndexNonEmptyFrom](functions/findIndexNonEmptyFrom.md)
|
|
@@ -263,9 +303,11 @@
|
|
|
263
303
|
- [hashObject](functions/hashObject.md)
|
|
264
304
|
- [hashStream](functions/hashStream.md)
|
|
265
305
|
- [initShutdown](functions/initShutdown.md)
|
|
306
|
+
- [isIdentifier](functions/isIdentifier.md)
|
|
266
307
|
- [isLangUsingSpaces](functions/isLangUsingSpaces.md)
|
|
267
308
|
- [isListItemString](functions/isListItemString.md)
|
|
268
309
|
- [isModelNameMatched](functions/isModelNameMatched.md)
|
|
310
|
+
- [isPathIdentifier](functions/isPathIdentifier.md)
|
|
269
311
|
- [isPunctuationChar](functions/isPunctuationChar.md)
|
|
270
312
|
- [isQuoted](functions/isQuoted.md)
|
|
271
313
|
- [isRegExp](functions/isRegExp.md)
|
|
@@ -291,18 +333,15 @@
|
|
|
291
333
|
- [memoize](functions/memoize.md)
|
|
292
334
|
- [mergeArray](functions/mergeArray.md)
|
|
293
335
|
- [messagesToText](functions/messagesToText.md)
|
|
294
|
-
- [nanoid](functions/nanoid.md)
|
|
295
336
|
- [normalizePath](functions/normalizePath.md)
|
|
296
337
|
- [ObjectArgsToArgsInfo](functions/ObjectArgsToArgsInfo.md)
|
|
297
338
|
- [paramsSizeToScaleStr](functions/paramsSizeToScaleStr.md)
|
|
298
339
|
- [parseCommand](functions/parseCommand.md)
|
|
299
340
|
- [parseJsJson](functions/parseJsJson.md)
|
|
300
341
|
- [parseJsJsonSimpleSync](functions/parseJsJsonSimpleSync.md)
|
|
301
|
-
- [parseObjectArgInfo](functions/parseObjectArgInfo.md)
|
|
302
|
-
- [parseObjectArgumentInfos](functions/parseObjectArgumentInfos.md)
|
|
303
342
|
- [parseObjectArguments](functions/parseObjectArguments.md)
|
|
304
|
-
- [parseObjectArgumentsAsArgInfos](functions/parseObjectArgumentsAsArgInfos.md)
|
|
305
343
|
- [parseYaml](functions/parseYaml.md)
|
|
344
|
+
- [prependNewlineIfMultiline](functions/prependNewlineIfMultiline.md)
|
|
306
345
|
- [pruneSubdirectories](functions/pruneSubdirectories.md)
|
|
307
346
|
- [pruneSubdirectoriesInPlace](functions/pruneSubdirectoriesInPlace.md)
|
|
308
347
|
- [quoteStr](functions/quoteStr.md)
|
|
@@ -324,6 +363,7 @@
|
|
|
324
363
|
- [scaleStrToParamsSize](functions/scaleStrToParamsSize.md)
|
|
325
364
|
- [shutdown](functions/shutdown.md)
|
|
326
365
|
- [simplifyObjectArguments](functions/simplifyObjectArguments.md)
|
|
366
|
+
- [simplifyResult](functions/simplifyResult.md)
|
|
327
367
|
- [sleep](functions/sleep.md)
|
|
328
368
|
- [sortedValues](functions/sortedValues.md)
|
|
329
369
|
- [splitChunks](functions/splitChunks.md)
|
|
@@ -333,6 +373,7 @@
|
|
|
333
373
|
- [stringifyYaml](functions/stringifyYaml.md)
|
|
334
374
|
- [stripConsoleColor](functions/stripConsoleColor.md)
|
|
335
375
|
- [TemplateArgProcessor](functions/TemplateArgProcessor.md)
|
|
376
|
+
- [textify](functions/textify.md)
|
|
336
377
|
- [textToDate](functions/textToDate.md)
|
|
337
378
|
- [throwError](functions/throwError.md)
|
|
338
379
|
- [toDateTime](functions/toDateTime.md)
|
|
@@ -343,16 +384,8 @@
|
|
|
343
384
|
- [truncateToTokenLimitEx](functions/truncateToTokenLimitEx.md)
|
|
344
385
|
- [truncTo](functions/truncTo.md)
|
|
345
386
|
- [uuid](functions/uuid.md)
|
|
346
|
-
- [uuidParse](functions/uuidParse.md)
|
|
347
|
-
- [uuidStringify](functions/uuidStringify.md)
|
|
348
|
-
- [uuidv1](functions/uuidv1.md)
|
|
349
|
-
- [uuidv4](functions/uuidv4.md)
|
|
350
|
-
- [uuidv5](functions/uuidv5.md)
|
|
351
|
-
- [uuidv6](functions/uuidv6.md)
|
|
352
|
-
- [uuidv7](functions/uuidv7.md)
|
|
353
|
-
- [uuidValidate](functions/uuidValidate.md)
|
|
354
|
-
- [uuidVersion](functions/uuidVersion.md)
|
|
355
387
|
- [wrapEventEmitter](functions/wrapEventEmitter.md)
|
|
388
|
+
- [wrapFlagValue](functions/wrapFlagValue.md)
|
|
356
389
|
- [xxhash](functions/xxhash.md)
|
|
357
390
|
- [xxhash32](functions/xxhash32.md)
|
|
358
391
|
- [xxhash64](functions/xxhash64.md)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: AIChatAssistantMessageParam
|
|
8
8
|
|
|
9
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
9
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:115](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L115)
|
|
10
10
|
|
|
11
11
|
## Extends
|
|
12
12
|
|
|
@@ -20,9 +20,9 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:99](https://githu
|
|
|
20
20
|
|
|
21
21
|
### content?
|
|
22
22
|
|
|
23
|
-
> `optional` **content**: `
|
|
23
|
+
> `optional` **content**: `string` \| `null`
|
|
24
24
|
|
|
25
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
25
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:117](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L117)
|
|
26
26
|
|
|
27
27
|
***
|
|
28
28
|
|
|
@@ -30,7 +30,7 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:101](https://gith
|
|
|
30
30
|
|
|
31
31
|
> `optional` **createdAt**: `string` \| `Date`
|
|
32
32
|
|
|
33
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
33
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:120](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L120)
|
|
34
34
|
|
|
35
35
|
***
|
|
36
36
|
|
|
@@ -38,7 +38,7 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:104](https://gith
|
|
|
38
38
|
|
|
39
39
|
> `optional` **private**: `boolean`
|
|
40
40
|
|
|
41
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
41
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:68](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L68)
|
|
42
42
|
|
|
43
43
|
#### Inherited from
|
|
44
44
|
|
|
@@ -50,7 +50,7 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:58](https://githu
|
|
|
50
50
|
|
|
51
51
|
> `optional` **replies**: `Record`\<`string`, `Partial`\<[`AIChatMessageParam`](../type-aliases/AIChatMessageParam.md)\>\>
|
|
52
52
|
|
|
53
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
53
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:67](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L67)
|
|
54
54
|
|
|
55
55
|
#### Inherited from
|
|
56
56
|
|
|
@@ -62,7 +62,7 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:57](https://githu
|
|
|
62
62
|
|
|
63
63
|
> **role**: `"assistant"`
|
|
64
64
|
|
|
65
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
65
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:116](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L116)
|
|
66
66
|
|
|
67
67
|
#### Overrides
|
|
68
68
|
|
|
@@ -74,7 +74,7 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:100](https://gith
|
|
|
74
74
|
|
|
75
75
|
> `optional` **templateFormat**: `string`
|
|
76
76
|
|
|
77
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
77
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:122](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L122)
|
|
78
78
|
|
|
79
79
|
***
|
|
80
80
|
|
|
@@ -82,7 +82,7 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:106](https://gith
|
|
|
82
82
|
|
|
83
83
|
> `optional` **thinking**: `string`
|
|
84
84
|
|
|
85
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
85
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:70](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L70)
|
|
86
86
|
|
|
87
87
|
#### Inherited from
|
|
88
88
|
|
|
@@ -94,15 +94,15 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:60](https://githu
|
|
|
94
94
|
|
|
95
95
|
> `optional` **tool\_calls**: [`AIChatMessageToolCall`](AIChatMessageToolCall.md)[]
|
|
96
96
|
|
|
97
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
97
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:118](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L118)
|
|
98
98
|
|
|
99
99
|
***
|
|
100
100
|
|
|
101
101
|
### tools?
|
|
102
102
|
|
|
103
|
-
> `optional` **tools**: `
|
|
103
|
+
> `optional` **tools**: [`AIChatToolDefinition`](AIChatToolDefinition.md)[]
|
|
104
104
|
|
|
105
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
105
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:69](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L69)
|
|
106
106
|
|
|
107
107
|
#### Inherited from
|
|
108
108
|
|
|
@@ -114,7 +114,7 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:59](https://githu
|
|
|
114
114
|
|
|
115
115
|
> `optional` **toRole**: `string` \| `string`[] \| `Record`\<`string`, `Partial`\<[`AIChatMessageParam`](../type-aliases/AIChatMessageParam.md)\>\>
|
|
116
116
|
|
|
117
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
117
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:66](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L66)
|
|
118
118
|
|
|
119
119
|
#### Inherited from
|
|
120
120
|
|
|
@@ -126,4 +126,4 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:56](https://githu
|
|
|
126
126
|
|
|
127
127
|
> `optional` **updatedAt**: `string` \| `Date`
|
|
128
128
|
|
|
129
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
129
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:121](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L121)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[**@isdk/ai-tool**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@isdk/ai-tool](../globals.md) / AIChatContentPartBase
|
|
6
|
+
|
|
7
|
+
# Interface: AIChatContentPartBase
|
|
8
|
+
|
|
9
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:98](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L98)
|
|
10
|
+
|
|
11
|
+
## Extended by
|
|
12
|
+
|
|
13
|
+
- [`AIChatContentPartImage`](AIChatContentPartImage.md)
|
|
14
|
+
- [`AIChatContentPartText`](AIChatContentPartText.md)
|
|
15
|
+
|
|
16
|
+
## Indexable
|
|
17
|
+
|
|
18
|
+
\[`name`: `string`\]: `any`
|
|
19
|
+
|
|
20
|
+
## Properties
|
|
21
|
+
|
|
22
|
+
### type
|
|
23
|
+
|
|
24
|
+
> **type**: `string`
|
|
25
|
+
|
|
26
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:99](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L99)
|
|
@@ -6,7 +6,15 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: AIChatContentPartImage
|
|
8
8
|
|
|
9
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
9
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:103](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L103)
|
|
10
|
+
|
|
11
|
+
## Extends
|
|
12
|
+
|
|
13
|
+
- [`AIChatContentPartBase`](AIChatContentPartBase.md)
|
|
14
|
+
|
|
15
|
+
## Indexable
|
|
16
|
+
|
|
17
|
+
\[`name`: `string`\]: `any`
|
|
10
18
|
|
|
11
19
|
## Properties
|
|
12
20
|
|
|
@@ -14,7 +22,7 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:87](https://githu
|
|
|
14
22
|
|
|
15
23
|
> **image\_url**: `object`
|
|
16
24
|
|
|
17
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
25
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:105](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L105)
|
|
18
26
|
|
|
19
27
|
#### url
|
|
20
28
|
|
|
@@ -26,4 +34,8 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:89](https://githu
|
|
|
26
34
|
|
|
27
35
|
> **type**: `"image_url"`
|
|
28
36
|
|
|
29
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
37
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:104](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L104)
|
|
38
|
+
|
|
39
|
+
#### Overrides
|
|
40
|
+
|
|
41
|
+
[`AIChatContentPartBase`](AIChatContentPartBase.md).[`type`](AIChatContentPartBase.md#type)
|
|
@@ -6,7 +6,15 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: AIChatContentPartText
|
|
8
8
|
|
|
9
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
9
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:110](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L110)
|
|
10
|
+
|
|
11
|
+
## Extends
|
|
12
|
+
|
|
13
|
+
- [`AIChatContentPartBase`](AIChatContentPartBase.md)
|
|
14
|
+
|
|
15
|
+
## Indexable
|
|
16
|
+
|
|
17
|
+
\[`name`: `string`\]: `any`
|
|
10
18
|
|
|
11
19
|
## Properties
|
|
12
20
|
|
|
@@ -14,7 +22,7 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:94](https://githu
|
|
|
14
22
|
|
|
15
23
|
> **text**: `string`
|
|
16
24
|
|
|
17
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
25
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:112](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L112)
|
|
18
26
|
|
|
19
27
|
***
|
|
20
28
|
|
|
@@ -22,4 +30,8 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:96](https://githu
|
|
|
22
30
|
|
|
23
31
|
> **type**: `"text"`
|
|
24
32
|
|
|
25
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
33
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:111](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L111)
|
|
34
|
+
|
|
35
|
+
#### Overrides
|
|
36
|
+
|
|
37
|
+
[`AIChatContentPartBase`](AIChatContentPartBase.md).[`type`](AIChatContentPartBase.md#type)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: AIChatMessageParamBase
|
|
8
8
|
|
|
9
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
9
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:64](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L64)
|
|
10
10
|
|
|
11
11
|
## Extended by
|
|
12
12
|
|
|
@@ -25,7 +25,7 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:54](https://githu
|
|
|
25
25
|
|
|
26
26
|
> `optional` **private**: `boolean`
|
|
27
27
|
|
|
28
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
28
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:68](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L68)
|
|
29
29
|
|
|
30
30
|
***
|
|
31
31
|
|
|
@@ -33,15 +33,15 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:58](https://githu
|
|
|
33
33
|
|
|
34
34
|
> `optional` **replies**: `Record`\<`string`, `Partial`\<[`AIChatMessageParam`](../type-aliases/AIChatMessageParam.md)\>\>
|
|
35
35
|
|
|
36
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
36
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:67](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L67)
|
|
37
37
|
|
|
38
38
|
***
|
|
39
39
|
|
|
40
40
|
### role
|
|
41
41
|
|
|
42
|
-
> **role**: `
|
|
42
|
+
> **role**: [`AIChatRole`](../type-aliases/AIChatRole.md)
|
|
43
43
|
|
|
44
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
44
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:65](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L65)
|
|
45
45
|
|
|
46
46
|
***
|
|
47
47
|
|
|
@@ -49,15 +49,15 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:55](https://githu
|
|
|
49
49
|
|
|
50
50
|
> `optional` **thinking**: `string`
|
|
51
51
|
|
|
52
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
52
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:70](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L70)
|
|
53
53
|
|
|
54
54
|
***
|
|
55
55
|
|
|
56
56
|
### tools?
|
|
57
57
|
|
|
58
|
-
> `optional` **tools**: `
|
|
58
|
+
> `optional` **tools**: [`AIChatToolDefinition`](AIChatToolDefinition.md)[]
|
|
59
59
|
|
|
60
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
60
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:69](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L69)
|
|
61
61
|
|
|
62
62
|
***
|
|
63
63
|
|
|
@@ -65,4 +65,4 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:59](https://githu
|
|
|
65
65
|
|
|
66
66
|
> `optional` **toRole**: `string` \| `string`[] \| `Record`\<`string`, `Partial`\<[`AIChatMessageParam`](../type-aliases/AIChatMessageParam.md)\>\>
|
|
67
67
|
|
|
68
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
68
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:66](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L66)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: AIChatMessageToolCall
|
|
8
8
|
|
|
9
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
9
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:125](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L125)
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
@@ -14,11 +14,15 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:109](https://gith
|
|
|
14
14
|
|
|
15
15
|
> **function**: `object`
|
|
16
16
|
|
|
17
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
17
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:128](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L128)
|
|
18
18
|
|
|
19
|
-
#### arguments
|
|
19
|
+
#### arguments?
|
|
20
20
|
|
|
21
|
-
> **arguments**: `
|
|
21
|
+
> `optional` **arguments**: `any`
|
|
22
|
+
|
|
23
|
+
#### description?
|
|
24
|
+
|
|
25
|
+
> `optional` **description**: `string`
|
|
22
26
|
|
|
23
27
|
#### name
|
|
24
28
|
|
|
@@ -26,11 +30,11 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:112](https://gith
|
|
|
26
30
|
|
|
27
31
|
***
|
|
28
32
|
|
|
29
|
-
### id
|
|
33
|
+
### id?
|
|
30
34
|
|
|
31
|
-
> **id**: `string`
|
|
35
|
+
> `optional` **id**: `string`
|
|
32
36
|
|
|
33
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
37
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:127](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L127)
|
|
34
38
|
|
|
35
39
|
***
|
|
36
40
|
|
|
@@ -38,4 +42,4 @@ Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:111](https://gith
|
|
|
38
42
|
|
|
39
43
|
> **type**: `"function"`
|
|
40
44
|
|
|
41
|
-
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:
|
|
45
|
+
Defined in: [@isdk/ai-tools/packages/ai-tool/src/utils/chat.ts:126](https://github.com/isdk/ai-tool.js/blob/d10fb4cda65fc1975152a2c3ab327ecab008dea1/src/utils/chat.ts#L126)
|