@isdk/ai-tool 0.4.0 → 0.5.1
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-VIG2GB47.mjs +39 -1
- package/dist/chunk-VJ45JQBR.mjs +7829 -0
- package/dist/funcs.d.mts +3 -2
- package/dist/funcs.d.ts +3 -2
- package/dist/funcs.js +5156 -1
- package/dist/funcs.mjs +29 -1
- package/dist/index-Br-4ZYgE.d.mts +892 -0
- package/dist/index-Br-4ZYgE.d.ts +892 -0
- package/dist/index.d.mts +204 -237
- package/dist/index.d.ts +204 -237
- package/dist/index.js +8132 -1
- package/dist/index.mjs +476 -1
- package/dist/test/util.js +101 -1
- package/dist/test/util.mjs +30 -1
- package/docs/README.md +1 -1
- package/docs/classes/AbortError.md +80 -82
- package/docs/classes/AlreadyExistsError.md +80 -82
- package/docs/classes/BaseError.md +81 -81
- package/docs/classes/BinarySemaphore.md +418 -0
- package/docs/classes/CancelableAbility.md +193 -105
- package/docs/classes/ClientTools.md +655 -631
- package/docs/classes/CommonError.md +85 -85
- package/docs/classes/ConfigFile.md +131 -111
- package/docs/classes/EnvPromptTemplate.md +1158 -0
- package/docs/classes/EventClient.md +766 -736
- package/docs/classes/EventEmitter.md +299 -0
- package/docs/classes/EventServer.md +783 -757
- package/docs/classes/EventToolFunc.md +612 -588
- package/docs/classes/FStringPromptTemplate.md +246 -238
- package/docs/classes/FewShotPromptTemplate.md +240 -246
- package/docs/classes/GolangPromptTemplate.md +246 -238
- package/docs/classes/HFEnvironment.md +42 -44
- package/docs/classes/HFInterpreter.md +22 -20
- package/docs/classes/HFTemplate.md +19 -19
- package/docs/classes/HfPromptTemplate.md +246 -238
- package/docs/classes/IntSet.md +53 -53
- package/docs/classes/LRUCache.md +601 -0
- package/docs/classes/NotFoundError.md +80 -82
- package/docs/classes/NotImplementationError.md +80 -82
- package/docs/classes/PromptExampleSelector.md +39 -39
- package/docs/classes/PromptTemplate.md +235 -226
- package/docs/classes/ReadableStreamError.md +82 -84
- package/docs/classes/ResClientTools.md +662 -630
- package/docs/classes/ResServerTools.md +648 -626
- package/docs/classes/SSEChannel.md +61 -61
- package/docs/classes/Semaphore.md +401 -40
- package/docs/classes/ServerTools.md +622 -608
- package/docs/classes/SignalGate.md +182 -0
- package/docs/classes/TaskAbortController.md +27 -33
- package/docs/classes/ToolFunc.md +582 -552
- package/docs/classes/YamlTypeBaseObject.md +9 -7
- package/docs/enumerations/AsyncFeatureBits.md +6 -10
- package/docs/enumerations/AsyncFeatures.md +6 -10
- package/docs/enumerations/ErrorCode.md +24 -64
- package/docs/enumerations/HashAlgorithm.md +14 -34
- package/docs/functions/AIArgProcessor.md +15 -9
- package/docs/functions/AIStream.md +9 -7
- package/docs/functions/ChoiceArgProcessor.md +15 -9
- package/docs/functions/ObjectArgsToArgsInfo.md +29 -0
- package/docs/functions/RateLimit.md +13 -9
- package/docs/functions/TemplateArgProcessor.md +15 -9
- package/docs/functions/assignDirs.md +33 -0
- package/docs/functions/backendEventable.md +14 -8
- package/docs/functions/beforeShutdown.md +29 -0
- package/docs/functions/canonicalize.md +6 -6
- package/docs/functions/completeSentences.md +9 -7
- package/docs/functions/concatText.md +8 -6
- package/docs/functions/countLLMTokens.md +9 -7
- package/docs/functions/countRegexMatches.md +9 -7
- package/docs/functions/createAbilityInjector.md +66 -34
- package/docs/functions/createCallbacksTransformer.md +6 -6
- package/docs/functions/createEmptyReadableStream.md +3 -5
- package/docs/functions/createEndWithRepetitionDetector.md +9 -7
- package/docs/functions/createError.md +12 -8
- package/docs/functions/createEventStreamTransformer.md +8 -8
- package/docs/functions/createHfValueFunc.md +9 -7
- package/docs/functions/createLRUCache.md +9 -7
- package/docs/functions/createYamlObjectTag.md +9 -7
- package/docs/functions/dateToText.md +9 -7
- package/docs/functions/decodeCharset.md +9 -7
- package/docs/functions/detectCharset.md +9 -7
- package/docs/functions/encodeLLMTokens.md +9 -7
- package/docs/functions/ensureQuoted.md +25 -0
- package/docs/functions/eventable.md +82 -0
- package/docs/functions/expandConfig.md +25 -0
- package/docs/functions/expandEnv.md +6 -6
- package/docs/functions/expandObjEnv.md +12 -8
- package/docs/functions/expandPath.md +25 -0
- package/docs/functions/extNameLevel.md +6 -6
- package/docs/functions/fileIsExists.md +6 -6
- package/docs/functions/filenameReservedRegex.md +3 -5
- package/docs/functions/filterValidFnScope.md +6 -6
- package/docs/functions/findIndexNonEmptyFrom.md +9 -7
- package/docs/functions/findPort.md +9 -7
- package/docs/functions/formatISO.md +9 -11
- package/docs/functions/formatTextWithSpace.md +13 -9
- package/docs/functions/getAllEnumKeys.md +8 -8
- package/docs/functions/getConfigFileNames.md +9 -7
- package/docs/functions/getConfigs.md +9 -7
- package/docs/functions/getEnvVairables.md +21 -0
- package/docs/functions/getFileMetaInfo.md +6 -6
- package/docs/functions/getHashAlgoBySize.md +6 -6
- package/docs/functions/getKeysPath.md +6 -6
- package/docs/functions/getLLMTokenizer.md +6 -6
- package/docs/functions/getMultiLevelExtname.md +9 -7
- package/docs/functions/getPackageDir.md +6 -6
- package/docs/functions/getRealFilepath.md +6 -6
- package/docs/functions/getResponseErrorReadableStream.md +6 -6
- package/docs/functions/getXDGConfigs.md +37 -0
- package/docs/functions/hasDirectoryIn.md +9 -7
- package/docs/functions/hash.md +25 -0
- package/docs/functions/hashFile.md +10 -8
- package/docs/functions/hashStream.md +10 -8
- package/docs/functions/hfParse.md +6 -6
- package/docs/functions/hfTokenize.md +9 -7
- package/docs/functions/initShutdown.md +15 -0
- package/docs/functions/interpolateEnv.md +13 -9
- package/docs/functions/interpolateFString.md +9 -7
- package/docs/functions/interpolateGolangTemplate.md +12 -8
- package/docs/functions/isLangUsingSpaces.md +6 -6
- package/docs/functions/isListItemString.md +6 -6
- package/docs/functions/isModelNameMatched.md +9 -7
- package/docs/functions/isPunctuationChar.md +6 -6
- package/docs/functions/isQuoted.md +21 -0
- package/docs/functions/isRegExp.md +6 -6
- package/docs/functions/isSameString.md +36 -0
- package/docs/functions/isSectionString.md +9 -7
- package/docs/functions/isSentenceEnding.md +6 -6
- package/docs/functions/isSepLineString.md +6 -6
- package/docs/functions/isStrWrapped.md +25 -0
- package/docs/functions/isSubdirectory.md +9 -7
- package/docs/functions/isTitleString.md +9 -7
- package/docs/functions/isValidFilename.md +6 -6
- package/docs/functions/isValidFilepath.md +6 -6
- package/docs/functions/isWebStream.md +6 -6
- package/docs/functions/jsonFilterToWhere.md +9 -7
- package/docs/functions/jsonToMarkdownStr.md +18 -10
- package/docs/functions/loadAIConfig.md +21 -0
- package/docs/functions/loadConfig.md +25 -0
- package/docs/functions/loadConfigFile.md +25 -0
- package/docs/functions/loadFileFromPaths.md +24 -14
- package/docs/functions/loadTextFromPaths.md +18 -10
- package/docs/functions/lrucache.md +17 -11
- package/docs/functions/makeToolFuncCancelable.md +14 -8
- package/docs/functions/matchUrlProtocol.md +6 -6
- package/docs/functions/memoize.md +9 -7
- package/docs/functions/messagesToText.md +6 -6
- package/docs/functions/paramsSizeToScaleStr.md +9 -7
- package/docs/functions/parseCommand.md +13 -9
- package/docs/functions/parseDateFormat.md +15 -13
- package/docs/functions/parseFString.md +6 -6
- package/docs/functions/parseISO.md +9 -11
- package/docs/functions/parseJsJson.md +9 -7
- package/docs/functions/parseJsJsonSimpleSync.md +9 -7
- package/docs/functions/parseObjectArgInfo.md +15 -9
- package/docs/functions/parseObjectArgumentInfos.md +12 -8
- package/docs/functions/parseObjectArguments.md +12 -8
- package/docs/functions/parseObjectArgumentsAsArgInfos.md +12 -8
- package/docs/functions/parseYaml.md +11 -7
- package/docs/functions/quoteStr.md +6 -6
- package/docs/functions/reControlCharsRegex.md +3 -5
- package/docs/functions/readFilenamesRecursiveSync.md +16 -10
- package/docs/functions/readTextFileChunks.md +9 -7
- package/docs/functions/readTextFileChunksEx.md +9 -7
- package/docs/functions/readableFromAsyncIterable.md +6 -6
- package/docs/functions/registerCoreTools.md +3 -5
- package/docs/functions/registerYamlTag.md +6 -6
- package/docs/functions/removeMarkdownBold.md +9 -7
- package/docs/functions/removeMarkdownBoldAndItalic.md +9 -7
- package/docs/functions/removeMarkdownItalic.md +9 -7
- package/docs/functions/replaceWithPlaceholder.md +11 -9
- package/docs/functions/restoreFromPlacehoders.md +12 -8
- package/docs/functions/sanitizeFilename.md +9 -7
- package/docs/functions/sanitizeFilepath.md +9 -7
- package/docs/functions/saveConfigFile.md +12 -8
- package/docs/functions/scaleStrToParamsSize.md +6 -6
- package/docs/functions/shutdown.md +33 -0
- package/docs/functions/simplifyObjectArguments.md +6 -6
- package/docs/functions/sortedValues.md +6 -6
- package/docs/functions/splitChunks.md +9 -7
- package/docs/functions/splitParagraph.md +9 -7
- package/docs/functions/splitSentence.md +9 -7
- package/docs/functions/stringifyYaml.md +11 -7
- package/docs/functions/stripConsoleColor.md +6 -6
- package/docs/functions/textToDate.md +9 -7
- package/docs/functions/throwError.md +12 -8
- package/docs/functions/toDate.md +9 -11
- package/docs/functions/toDateTime.md +6 -6
- package/docs/functions/toRegExp.md +6 -6
- package/docs/functions/trimStartOfStreamHelper.md +6 -6
- package/docs/functions/truncTo.md +12 -8
- package/docs/functions/truncateByToken.md +9 -7
- package/docs/functions/truncateToTokenLimit.md +9 -7
- package/docs/functions/truncateToTokenLimitEx.md +9 -7
- package/docs/functions/uuid.md +9 -7
- package/docs/functions/uuidParse.md +6 -6
- package/docs/functions/uuidStringify.md +10 -8
- package/docs/functions/uuidValidate.md +6 -6
- package/docs/functions/uuidVersion.md +6 -6
- package/docs/functions/uuidv1.md +28 -20
- package/docs/functions/uuidv4.md +28 -20
- package/docs/functions/uuidv5.md +34 -22
- package/docs/functions/wait.md +6 -6
- package/docs/functions/wrapEventEmitter.md +27 -0
- package/docs/functions/xxhash.md +12 -8
- package/docs/functions/xxhash32.md +9 -7
- package/docs/functions/xxhash64.md +9 -7
- package/docs/functions/xxhashAsStr.md +12 -8
- package/docs/globals.md +45 -1
- package/docs/interfaces/AIChatAssistantMessageParam.md +42 -30
- package/docs/interfaces/AIChatContentPartImage.md +6 -8
- package/docs/interfaces/AIChatContentPartText.md +5 -7
- package/docs/interfaces/AIChatMessageParamBase.md +23 -13
- package/docs/interfaces/AIChatMessageToolCall.md +7 -11
- package/docs/interfaces/AIChatSystemMessageParam.md +40 -22
- package/docs/interfaces/AIChatToolChoiceFuncObject.md +37 -0
- package/docs/interfaces/AIChatToolChoiceObject.md +25 -0
- package/docs/interfaces/AIChatToolFunc.md +41 -0
- package/docs/interfaces/AIChatToolFuncParam.md +37 -0
- package/docs/interfaces/AIChatToolMessageParam.md +40 -24
- package/docs/interfaces/AIChatToolParam.md +25 -0
- package/docs/interfaces/AIChatToolTypeObject.md +17 -0
- package/docs/interfaces/AIChatUserMessageParam.md +44 -34
- package/docs/interfaces/AIChoiceConfig.md +10 -22
- package/docs/interfaces/AIResult.md +13 -21
- package/docs/interfaces/AIStreamParser.md +11 -7
- package/docs/interfaces/AIStreamParserOptions.md +5 -5
- package/docs/interfaces/BaseFunc.md +30 -40
- package/docs/interfaces/BaseFuncItem.md +18 -28
- package/docs/interfaces/BinarySemaphoreAcquireOptions.md +25 -0
- package/docs/interfaces/BinarySemaphoreOptions.md +57 -0
- package/docs/interfaces/BinarySemaphoreReleaseOptions.md +25 -0
- package/docs/interfaces/BinarySemaphoreReleaserFunc.md +37 -0
- package/docs/interfaces/CancelableAbilityOptions.md +27 -29
- package/docs/interfaces/ClientFuncItem.md +31 -47
- package/docs/interfaces/DotenvExpandOptions.md +8 -12
- package/docs/interfaces/DotenvExpandOutput.md +5 -7
- package/docs/interfaces/DotenvParseInput.md +4 -2
- package/docs/interfaces/DotenvParseOutput.md +4 -2
- package/docs/interfaces/DotenvPopulateInput.md +4 -2
- package/docs/interfaces/EventClientFuncParams.md +11 -15
- package/docs/interfaces/EventServerFuncParams.md +14 -18
- package/docs/interfaces/FewShotPromptTemplateOptions.md +29 -45
- package/docs/interfaces/FuncItem.md +26 -38
- package/docs/interfaces/FuncParam.md +11 -21
- package/docs/interfaces/FuncParams.md +4 -2
- package/docs/interfaces/Funcs.md +4 -2
- package/docs/interfaces/HashAlgoParams.md +6 -10
- package/docs/interfaces/IFileMetaInfo.md +10 -22
- package/docs/interfaces/IReadTextFileChunksOptions.md +29 -43
- package/docs/interfaces/ITruncateToTokenLimitOptions.md +19 -31
- package/docs/interfaces/JsonFilter.md +4 -2
- package/docs/interfaces/ParseObjectArgumentOptions.md +13 -31
- package/docs/interfaces/PromptExampleSelectorOptions.md +8 -10
- package/docs/interfaces/PromptTemplateOptions.md +10 -20
- package/docs/interfaces/RemoteFuncItem.md +28 -44
- package/docs/interfaces/ReplacePlacehoderOptions.md +7 -13
- package/docs/interfaces/ResClientFuncParams.md +10 -8
- package/docs/interfaces/ResServerFuncParams.md +15 -19
- package/docs/interfaces/SanitizeFilenameOptions.md +5 -7
- package/docs/interfaces/SectionStringOptions.md +5 -7
- package/docs/interfaces/SemaphoreOptions.md +89 -0
- package/docs/interfaces/SemaphoreTaskItem.md +73 -0
- package/docs/interfaces/ServerFuncItem.md +32 -50
- package/docs/interfaces/ServerFuncParams.md +6 -8
- package/docs/interfaces/SplitSentenceOptions.md +7 -13
- package/docs/interfaces/StreamCallbacksAndOptions.md +26 -22
- package/docs/interfaces/TaskAbortControllers.md +4 -2
- package/docs/interfaces/TaskPromise.md +24 -24
- package/docs/interfaces/ToolFuncPackage.md +11 -13
- package/docs/namespaces/EventStates/README.md +14 -0
- package/docs/namespaces/EventStates/variables/ABORT.md +11 -0
- package/docs/namespaces/EventStates/variables/CONTINUE.md +11 -0
- package/docs/namespaces/EventStates/variables/DONE.md +11 -0
- package/docs/namespaces/EventStates/variables/STOPPED.md +11 -0
- package/docs/namespaces/uuidv5/README.md +12 -0
- package/docs/namespaces/uuidv5/variables/DNS.md +11 -0
- package/docs/namespaces/uuidv5/variables/URL.md +11 -0
- package/docs/type-aliases/AIChatContentPart.md +2 -4
- package/docs/type-aliases/AIChatMessageParam.md +3 -5
- package/docs/type-aliases/AIChatRole.md +2 -4
- package/docs/type-aliases/AIChatToolChoiceParam.md +11 -0
- package/docs/type-aliases/AIMessageType.md +2 -4
- package/docs/type-aliases/AIModelNameRule.md +2 -4
- package/docs/type-aliases/AIModelNameRuleFn.md +6 -6
- package/docs/type-aliases/AIModelNameRules.md +2 -4
- package/docs/type-aliases/AITextGenerationFinishReason.md +2 -4
- package/docs/type-aliases/ActionName.md +2 -4
- package/docs/type-aliases/AsyncTaskId.md +2 -4
- package/docs/type-aliases/BeforeShutdownListener.md +23 -0
- package/docs/type-aliases/EventErrorListenerFn.md +15 -9
- package/docs/type-aliases/EventListenerFn.md +12 -8
- package/docs/type-aliases/FStringPromptTemplateNode.md +4 -6
- package/docs/type-aliases/FuncParamType.md +2 -4
- package/docs/type-aliases/PromptExamples.md +3 -5
- package/docs/type-aliases/PromptTemplateType.md +2 -4
- package/docs/type-aliases/PromptType.md +2 -4
- package/docs/type-aliases/SemaphoreIsReadyFuncType.md +15 -0
- package/docs/type-aliases/TFunc.md +9 -7
- package/docs/variables/AIChatRoles.md +3 -5
- package/docs/variables/AIMessageTypes.md +3 -5
- package/docs/variables/AITextGenerationFinishReasons.md +3 -5
- package/docs/variables/AbortErrorCode.md +2 -4
- package/docs/variables/ActionNames.md +3 -5
- package/docs/variables/AlreadyExistsErrorCode.md +2 -4
- package/docs/variables/ClientToolFuncSchema.md +40 -26
- package/docs/variables/DEFAULT_CONFIG_NAME.md +11 -0
- package/docs/variables/DefaultAsyncSemaphoreCapacity.md +2 -4
- package/docs/variables/EventBusName.md +2 -4
- package/docs/variables/EventName.md +2 -4
- package/docs/variables/FilenameReservedRegex.md +3 -5
- package/docs/variables/HFBuiltins.md +42 -12
- package/docs/variables/InternalErrorCode.md +2 -4
- package/docs/variables/LLM_TOKENIZER_NAMES.md +5 -7
- package/docs/variables/LLM_TOKENIZER_NAMES_MAP.md +2 -4
- package/docs/variables/NotFoundErrorCode.md +2 -4
- package/docs/variables/NotImplementedErrorCode.md +2 -4
- package/docs/variables/PASSING_SCORE.md +2 -4
- package/docs/variables/PromptTemplateTypes.md +3 -5
- package/docs/variables/PromptTypes.md +4 -6
- package/docs/variables/RStreamErrCode.md +2 -4
- package/docs/variables/RemoteToolFuncSchema.md +40 -26
- package/docs/variables/ResponseRStreamErrCode.md +2 -4
- package/docs/variables/SHUTDOWN_SIGNALS.md +17 -0
- package/docs/variables/SSEChannelAlreadyClosedErrCode.md +2 -4
- package/docs/variables/SecondaryCache.md +11 -0
- package/docs/variables/ServerToolFuncSchema.md +40 -26
- package/docs/variables/ToolAsyncCancelableBit.md +2 -4
- package/docs/variables/ToolAsyncMultiTaskBit.md +2 -4
- package/docs/variables/ToolAsyncPriorityBit.md +2 -4
- package/docs/variables/ToolFuncSchema.md +33 -25
- package/docs/variables/WindowsReservedNameRegex.md +3 -5
- package/docs/variables/base32768.md +2 -4
- package/docs/variables/defaultTemplateFormat.md +2 -4
- package/docs/variables/event.md +2 -4
- package/docs/variables/eventClient.md +2 -4
- package/docs/variables/eventServer.md +2 -4
- package/docs/variables/lrucache.md +2 -4
- package/docs/variables/mimeType.md +2 -4
- package/docs/variables/uuidNIL.md +3 -5
- package/package.json +31 -31
- package/dist/chunk-SIP3XWIH.mjs +0 -1
- package/dist/index-BC3GQn6-.d.mts +0 -488
- package/dist/index-BC3GQn6-.d.ts +0 -488
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@isdk/ai-tool**](../README.md)
|
|
1
|
+
[**@isdk/ai-tool**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,13 +6,15 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: ClientTools
|
|
8
8
|
|
|
9
|
+
Defined in: [packages/ai-tool/src/client-tools.ts:8](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/client-tools.ts#L8)
|
|
10
|
+
|
|
9
11
|
## Extends
|
|
10
12
|
|
|
11
13
|
- [`ClientFuncItem`](../interfaces/ClientFuncItem.md).[`ToolFunc`](ToolFunc.md)
|
|
12
14
|
|
|
13
15
|
## Indexable
|
|
14
16
|
|
|
15
|
-
|
|
17
|
+
\[`name`: `string`\]: `any`
|
|
16
18
|
|
|
17
19
|
## Constructors
|
|
18
20
|
|
|
@@ -20,13 +22,19 @@
|
|
|
20
22
|
|
|
21
23
|
> **new ClientTools**(`name`, `options`): [`ClientTools`](ClientTools.md)
|
|
22
24
|
|
|
25
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:192](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L192)
|
|
26
|
+
|
|
23
27
|
The initial value of Object.prototype.constructor is the standard built-in Object constructor.
|
|
24
28
|
|
|
25
29
|
#### Parameters
|
|
26
30
|
|
|
27
|
-
|
|
31
|
+
##### name
|
|
32
|
+
|
|
33
|
+
`string` | `Function` | [`FuncItem`](../interfaces/FuncItem.md)
|
|
28
34
|
|
|
29
|
-
|
|
35
|
+
##### options
|
|
36
|
+
|
|
37
|
+
`any` = `{}`
|
|
30
38
|
|
|
31
39
|
#### Returns
|
|
32
40
|
|
|
@@ -36,63 +44,51 @@ The initial value of Object.prototype.constructor is the standard built-in Objec
|
|
|
36
44
|
|
|
37
45
|
[`ToolFunc`](ToolFunc.md).[`constructor`](ToolFunc.md#constructors)
|
|
38
46
|
|
|
39
|
-
#### Defined in
|
|
40
|
-
|
|
41
|
-
[packages/ai-tool/src/tool-func.ts:210](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L210)
|
|
42
|
-
|
|
43
47
|
## Properties
|
|
44
48
|
|
|
45
49
|
### $attributes
|
|
46
50
|
|
|
47
51
|
> **$attributes**: `Properties`
|
|
48
52
|
|
|
53
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/advance.d.ts:5
|
|
54
|
+
|
|
49
55
|
#### Inherited from
|
|
50
56
|
|
|
51
57
|
[`ToolFunc`](ToolFunc.md).[`$attributes`](ToolFunc.md#$attributes)
|
|
52
58
|
|
|
53
|
-
#### Defined in
|
|
54
|
-
|
|
55
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/advance.d.ts:5
|
|
56
|
-
|
|
57
59
|
***
|
|
58
60
|
|
|
59
61
|
### action?
|
|
60
62
|
|
|
61
63
|
> `optional` **action**: `"get"` \| `"post"` \| `"put"` \| `"delete"` \| `"patch"` \| `"list"` \| `"res"`
|
|
62
64
|
|
|
65
|
+
Defined in: [packages/ai-tool/src/utils/consts.ts:35](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/consts.ts#L35)
|
|
66
|
+
|
|
63
67
|
#### Inherited from
|
|
64
68
|
|
|
65
69
|
[`ClientFuncItem`](../interfaces/ClientFuncItem.md).[`action`](../interfaces/ClientFuncItem.md#action)
|
|
66
70
|
|
|
67
|
-
#### Defined in
|
|
68
|
-
|
|
69
|
-
[packages/ai-tool/src/utils/consts.ts:35](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/consts.ts#L35)
|
|
70
|
-
|
|
71
71
|
***
|
|
72
72
|
|
|
73
73
|
### apiRoot
|
|
74
74
|
|
|
75
75
|
> **apiRoot**: `undefined` \| `string`
|
|
76
76
|
|
|
77
|
+
Defined in: [packages/ai-tool/src/client-tools.ts:16](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/client-tools.ts#L16)
|
|
78
|
+
|
|
77
79
|
#### Inherited from
|
|
78
80
|
|
|
79
81
|
[`ClientFuncItem`](../interfaces/ClientFuncItem.md).[`apiRoot`](../interfaces/ClientFuncItem.md#apiroot)
|
|
80
82
|
|
|
81
|
-
#### Defined in
|
|
82
|
-
|
|
83
|
-
[packages/ai-tool/src/client-tools.ts:16](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/client-tools.ts#L16)
|
|
84
|
-
|
|
85
83
|
***
|
|
86
84
|
|
|
87
85
|
### constructor
|
|
88
86
|
|
|
89
87
|
> **constructor**: `Function`
|
|
90
88
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
#### Defined in
|
|
89
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:125
|
|
94
90
|
|
|
95
|
-
|
|
91
|
+
The initial value of Object.prototype.constructor is the standard built-in Object constructor.
|
|
96
92
|
|
|
97
93
|
***
|
|
98
94
|
|
|
@@ -100,6 +96,8 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
100
96
|
|
|
101
97
|
> **defaultOptions**: `object`
|
|
102
98
|
|
|
99
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:74
|
|
100
|
+
|
|
103
101
|
The default options for export and assign
|
|
104
102
|
|
|
105
103
|
#### assign?
|
|
@@ -114,51 +112,41 @@ The default options for export and assign
|
|
|
114
112
|
|
|
115
113
|
[`ToolFunc`](ToolFunc.md).[`defaultOptions`](ToolFunc.md#defaultoptions)
|
|
116
114
|
|
|
117
|
-
#### Defined in
|
|
118
|
-
|
|
119
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:74
|
|
120
|
-
|
|
121
115
|
***
|
|
122
116
|
|
|
123
117
|
### fetchOptions?
|
|
124
118
|
|
|
125
119
|
> `optional` **fetchOptions**: `any`
|
|
126
120
|
|
|
121
|
+
Defined in: [packages/ai-tool/src/utils/consts.ts:36](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/consts.ts#L36)
|
|
122
|
+
|
|
127
123
|
#### Inherited from
|
|
128
124
|
|
|
129
125
|
[`ClientFuncItem`](../interfaces/ClientFuncItem.md).[`fetchOptions`](../interfaces/ClientFuncItem.md#fetchoptions)
|
|
130
126
|
|
|
131
|
-
#### Defined in
|
|
132
|
-
|
|
133
|
-
[packages/ai-tool/src/utils/consts.ts:36](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/utils/consts.ts#L36)
|
|
134
|
-
|
|
135
127
|
***
|
|
136
128
|
|
|
137
129
|
### isApi?
|
|
138
130
|
|
|
139
131
|
> `optional` **isApi**: `boolean`
|
|
140
132
|
|
|
133
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:29](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L29)
|
|
134
|
+
|
|
141
135
|
#### Inherited from
|
|
142
136
|
|
|
143
137
|
[`ToolFunc`](ToolFunc.md).[`isApi`](ToolFunc.md#isapi)
|
|
144
138
|
|
|
145
|
-
#### Defined in
|
|
146
|
-
|
|
147
|
-
[packages/ai-tool/src/tool-func.ts:47](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L47)
|
|
148
|
-
|
|
149
139
|
***
|
|
150
140
|
|
|
151
141
|
### name?
|
|
152
142
|
|
|
153
143
|
> `optional` **name**: `string`
|
|
154
144
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
[`ToolFunc`](ToolFunc.md).[`name`](ToolFunc.md#name)
|
|
145
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:23](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L23)
|
|
158
146
|
|
|
159
|
-
####
|
|
147
|
+
#### Inherited from
|
|
160
148
|
|
|
161
|
-
[
|
|
149
|
+
[`ToolFunc`](ToolFunc.md).[`name`](ToolFunc.md#name-1)
|
|
162
150
|
|
|
163
151
|
***
|
|
164
152
|
|
|
@@ -166,69 +154,67 @@ node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/ab
|
|
|
166
154
|
|
|
167
155
|
> **nonExported1stChar**: `string`
|
|
168
156
|
|
|
157
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:78
|
|
158
|
+
|
|
169
159
|
the property with the default prefix '$' will not be exported.
|
|
170
160
|
|
|
171
161
|
#### Inherited from
|
|
172
162
|
|
|
173
163
|
[`ToolFunc`](ToolFunc.md).[`nonExported1stChar`](ToolFunc.md#nonexported1stchar)
|
|
174
164
|
|
|
175
|
-
#### Defined in
|
|
176
|
-
|
|
177
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:78
|
|
178
|
-
|
|
179
165
|
***
|
|
180
166
|
|
|
181
167
|
### params?
|
|
182
168
|
|
|
183
169
|
> `optional` **params**: [`FuncParams`](../interfaces/FuncParams.md) \| [`FuncParam`](../interfaces/FuncParam.md)[]
|
|
184
170
|
|
|
171
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:24](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L24)
|
|
172
|
+
|
|
185
173
|
#### Inherited from
|
|
186
174
|
|
|
187
175
|
[`ToolFunc`](ToolFunc.md).[`params`](ToolFunc.md#params)
|
|
188
176
|
|
|
189
|
-
#### Defined in
|
|
190
|
-
|
|
191
|
-
[packages/ai-tool/src/tool-func.ts:42](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L42)
|
|
192
|
-
|
|
193
177
|
***
|
|
194
178
|
|
|
195
179
|
### result?
|
|
196
180
|
|
|
197
181
|
> `optional` **result**: `string`
|
|
198
182
|
|
|
183
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:25](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L25)
|
|
184
|
+
|
|
199
185
|
#### Inherited from
|
|
200
186
|
|
|
201
187
|
[`ToolFunc`](ToolFunc.md).[`result`](ToolFunc.md#result)
|
|
202
188
|
|
|
203
|
-
#### Defined in
|
|
204
|
-
|
|
205
|
-
[packages/ai-tool/src/tool-func.ts:43](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L43)
|
|
206
|
-
|
|
207
189
|
***
|
|
208
190
|
|
|
209
191
|
### scope?
|
|
210
192
|
|
|
211
193
|
> `optional` **scope**: `any`
|
|
212
194
|
|
|
195
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:26](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L26)
|
|
196
|
+
|
|
213
197
|
#### Inherited from
|
|
214
198
|
|
|
215
199
|
[`ToolFunc`](ToolFunc.md).[`scope`](ToolFunc.md#scope)
|
|
216
200
|
|
|
217
|
-
#### Defined in
|
|
218
|
-
|
|
219
|
-
[packages/ai-tool/src/tool-func.ts:44](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L44)
|
|
220
|
-
|
|
221
201
|
***
|
|
222
202
|
|
|
223
203
|
### setup()?
|
|
224
204
|
|
|
225
205
|
> `optional` **setup**: (`this`, `options`?) => `void`
|
|
226
206
|
|
|
207
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:28](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L28)
|
|
208
|
+
|
|
227
209
|
#### Parameters
|
|
228
210
|
|
|
229
|
-
|
|
211
|
+
##### this
|
|
212
|
+
|
|
213
|
+
[`ToolFunc`](ToolFunc.md)
|
|
230
214
|
|
|
231
|
-
|
|
215
|
+
##### options?
|
|
216
|
+
|
|
217
|
+
[`FuncItem`](../interfaces/FuncItem.md)
|
|
232
218
|
|
|
233
219
|
#### Returns
|
|
234
220
|
|
|
@@ -238,87 +224,65 @@ node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/ab
|
|
|
238
224
|
|
|
239
225
|
[`ToolFunc`](ToolFunc.md).[`setup`](ToolFunc.md#setup)
|
|
240
226
|
|
|
241
|
-
#### Defined in
|
|
242
|
-
|
|
243
|
-
[packages/ai-tool/src/tool-func.ts:46](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L46)
|
|
244
|
-
|
|
245
|
-
***
|
|
246
|
-
|
|
247
|
-
### should
|
|
248
|
-
|
|
249
|
-
> **should**: `Assertion`
|
|
250
|
-
|
|
251
|
-
#### Inherited from
|
|
252
|
-
|
|
253
|
-
[`ToolFunc`](ToolFunc.md).[`should`](ToolFunc.md#should)
|
|
254
|
-
|
|
255
|
-
#### Defined in
|
|
256
|
-
|
|
257
|
-
node\_modules/.pnpm/@types+chai@4.3.20/node\_modules/@types/chai/index.d.ts:2100
|
|
258
|
-
|
|
259
227
|
***
|
|
260
228
|
|
|
261
229
|
### stream?
|
|
262
230
|
|
|
263
231
|
> `optional` **stream**: `boolean`
|
|
264
232
|
|
|
233
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:30](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L30)
|
|
234
|
+
|
|
265
235
|
#### Inherited from
|
|
266
236
|
|
|
267
237
|
[`ToolFunc`](ToolFunc.md).[`stream`](ToolFunc.md#stream)
|
|
268
238
|
|
|
269
|
-
#### Defined in
|
|
270
|
-
|
|
271
|
-
[packages/ai-tool/src/tool-func.ts:48](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L48)
|
|
272
|
-
|
|
273
239
|
***
|
|
274
240
|
|
|
275
241
|
### tags?
|
|
276
242
|
|
|
277
243
|
> `optional` **tags**: `string` \| `string`[]
|
|
278
244
|
|
|
245
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:27](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L27)
|
|
246
|
+
|
|
279
247
|
#### Inherited from
|
|
280
248
|
|
|
281
249
|
[`ToolFunc`](ToolFunc.md).[`tags`](ToolFunc.md#tags)
|
|
282
250
|
|
|
283
|
-
#### Defined in
|
|
284
|
-
|
|
285
|
-
[packages/ai-tool/src/tool-func.ts:45](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L45)
|
|
286
|
-
|
|
287
251
|
***
|
|
288
252
|
|
|
289
253
|
### dataPath
|
|
290
254
|
|
|
291
255
|
> `static` **dataPath**: `string`
|
|
292
256
|
|
|
257
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:57](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L57)
|
|
258
|
+
|
|
293
259
|
#### Inherited from
|
|
294
260
|
|
|
295
261
|
[`ToolFunc`](ToolFunc.md).[`dataPath`](ToolFunc.md#datapath)
|
|
296
262
|
|
|
297
|
-
#### Defined in
|
|
298
|
-
|
|
299
|
-
[packages/ai-tool/src/tool-func.ts:75](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L75)
|
|
300
|
-
|
|
301
263
|
***
|
|
302
264
|
|
|
303
265
|
### items
|
|
304
266
|
|
|
305
267
|
> `static` **items**: [`Funcs`](../interfaces/Funcs.md) = `{}`
|
|
306
268
|
|
|
269
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:56](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L56)
|
|
270
|
+
|
|
307
271
|
#### Inherited from
|
|
308
272
|
|
|
309
273
|
[`ToolFunc`](ToolFunc.md).[`items`](ToolFunc.md#items)
|
|
310
274
|
|
|
311
|
-
#### Defined in
|
|
312
|
-
|
|
313
|
-
[packages/ai-tool/src/tool-func.ts:74](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L74)
|
|
314
|
-
|
|
315
275
|
## Accessors
|
|
316
276
|
|
|
317
277
|
### apiRoot
|
|
318
278
|
|
|
319
|
-
|
|
279
|
+
#### Get Signature
|
|
320
280
|
|
|
321
|
-
|
|
281
|
+
> **get** `static` **apiRoot**(): `undefined` \| `string`
|
|
282
|
+
|
|
283
|
+
Defined in: [packages/ai-tool/src/client-tools.ts:19](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/client-tools.ts#L19)
|
|
284
|
+
|
|
285
|
+
##### Returns
|
|
322
286
|
|
|
323
287
|
`undefined` \| `string`
|
|
324
288
|
|
|
@@ -326,19 +290,19 @@ node\_modules/.pnpm/@types+chai@4.3.20/node\_modules/@types/chai/index.d.ts:2100
|
|
|
326
290
|
|
|
327
291
|
`ClientFuncItem.apiRoot`
|
|
328
292
|
|
|
329
|
-
#### Defined in
|
|
330
|
-
|
|
331
|
-
[packages/ai-tool/src/client-tools.ts:19](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/client-tools.ts#L19)
|
|
332
|
-
|
|
333
293
|
## Methods
|
|
334
294
|
|
|
335
295
|
### arr2ObjParams()
|
|
336
296
|
|
|
337
297
|
> **arr2ObjParams**(`params`): `any`[]
|
|
338
298
|
|
|
299
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:236](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L236)
|
|
300
|
+
|
|
339
301
|
#### Parameters
|
|
340
302
|
|
|
341
|
-
|
|
303
|
+
##### params
|
|
304
|
+
|
|
305
|
+
`any`[]
|
|
342
306
|
|
|
343
307
|
#### Returns
|
|
344
308
|
|
|
@@ -348,25 +312,27 @@ node\_modules/.pnpm/@types+chai@4.3.20/node\_modules/@types/chai/index.d.ts:2100
|
|
|
348
312
|
|
|
349
313
|
[`ToolFunc`](ToolFunc.md).[`arr2ObjParams`](ToolFunc.md#arr2objparams)
|
|
350
314
|
|
|
351
|
-
#### Defined in
|
|
352
|
-
|
|
353
|
-
[packages/ai-tool/src/tool-func.ts:254](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L254)
|
|
354
|
-
|
|
355
315
|
***
|
|
356
316
|
|
|
357
317
|
### assign()
|
|
358
318
|
|
|
359
319
|
> **assign**(`src`, `options`?): `this`
|
|
360
320
|
|
|
321
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:106
|
|
322
|
+
|
|
361
323
|
Assign the values from the src object.
|
|
362
324
|
|
|
363
325
|
#### Parameters
|
|
364
326
|
|
|
365
|
-
|
|
327
|
+
##### src
|
|
328
|
+
|
|
329
|
+
`any`
|
|
366
330
|
|
|
367
331
|
the source object
|
|
368
332
|
|
|
369
|
-
|
|
333
|
+
##### options?
|
|
334
|
+
|
|
335
|
+
`IMergeOptions`
|
|
370
336
|
|
|
371
337
|
#### Returns
|
|
372
338
|
|
|
@@ -376,11 +342,7 @@ this object
|
|
|
376
342
|
|
|
377
343
|
#### Inherited from
|
|
378
344
|
|
|
379
|
-
[`ToolFunc`](ToolFunc.md).[`assign`](ToolFunc.md#assign
|
|
380
|
-
|
|
381
|
-
#### Defined in
|
|
382
|
-
|
|
383
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:106
|
|
345
|
+
[`ToolFunc`](ToolFunc.md).[`assign`](ToolFunc.md#assign)
|
|
384
346
|
|
|
385
347
|
***
|
|
386
348
|
|
|
@@ -388,27 +350,39 @@ node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/ab
|
|
|
388
350
|
|
|
389
351
|
> **assignProperty**(`src`, `name`, `value`, `attrs`?, `options`?): `void`
|
|
390
352
|
|
|
353
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:117
|
|
354
|
+
|
|
391
355
|
Assign a property of src to this object.
|
|
392
356
|
|
|
393
357
|
#### Parameters
|
|
394
358
|
|
|
395
|
-
|
|
359
|
+
##### src
|
|
360
|
+
|
|
361
|
+
`any`
|
|
396
362
|
|
|
397
363
|
the src object
|
|
398
364
|
|
|
399
|
-
|
|
365
|
+
##### name
|
|
366
|
+
|
|
367
|
+
`string`
|
|
400
368
|
|
|
401
369
|
the property name to assign
|
|
402
370
|
|
|
403
|
-
|
|
371
|
+
##### value
|
|
372
|
+
|
|
373
|
+
`any`
|
|
404
374
|
|
|
405
375
|
the property value to assign
|
|
406
376
|
|
|
407
|
-
|
|
377
|
+
##### attrs?
|
|
378
|
+
|
|
379
|
+
`any`
|
|
408
380
|
|
|
409
381
|
the attributes object
|
|
410
382
|
|
|
411
|
-
|
|
383
|
+
##### options?
|
|
384
|
+
|
|
385
|
+
`IMergeOptions`
|
|
412
386
|
|
|
413
387
|
#### Returns
|
|
414
388
|
|
|
@@ -418,41 +392,51 @@ the attributes object
|
|
|
418
392
|
|
|
419
393
|
[`ToolFunc`](ToolFunc.md).[`assignProperty`](ToolFunc.md#assignproperty)
|
|
420
394
|
|
|
421
|
-
#### Defined in
|
|
422
|
-
|
|
423
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:117
|
|
424
|
-
|
|
425
395
|
***
|
|
426
396
|
|
|
427
397
|
### assignPropertyTo()
|
|
428
398
|
|
|
429
399
|
> `abstract` **assignPropertyTo**(`dest`, `src`, `name`, `value`, `attrs`?, `options`?): `void`
|
|
430
400
|
|
|
401
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:131
|
|
402
|
+
|
|
431
403
|
Assign the property value from the src to destination object.
|
|
432
404
|
|
|
433
405
|
#### Parameters
|
|
434
406
|
|
|
435
|
-
|
|
407
|
+
##### dest
|
|
408
|
+
|
|
409
|
+
`any`
|
|
436
410
|
|
|
437
411
|
The destination object
|
|
438
412
|
|
|
439
|
-
|
|
413
|
+
##### src
|
|
414
|
+
|
|
415
|
+
`any`
|
|
440
416
|
|
|
441
417
|
The src object
|
|
442
418
|
|
|
443
|
-
|
|
419
|
+
##### name
|
|
420
|
+
|
|
421
|
+
`string`
|
|
444
422
|
|
|
445
423
|
The property name
|
|
446
424
|
|
|
447
|
-
|
|
425
|
+
##### value
|
|
426
|
+
|
|
427
|
+
`any`
|
|
448
428
|
|
|
449
429
|
The property value
|
|
450
430
|
|
|
451
|
-
|
|
431
|
+
##### attrs?
|
|
432
|
+
|
|
433
|
+
`any`
|
|
452
434
|
|
|
453
435
|
The attributes object of the property
|
|
454
436
|
|
|
455
|
-
|
|
437
|
+
##### options?
|
|
438
|
+
|
|
439
|
+
`IMergeOptions`
|
|
456
440
|
|
|
457
441
|
#### Returns
|
|
458
442
|
|
|
@@ -462,25 +446,27 @@ The attributes object of the property
|
|
|
462
446
|
|
|
463
447
|
[`ToolFunc`](ToolFunc.md).[`assignPropertyTo`](ToolFunc.md#assignpropertyto)
|
|
464
448
|
|
|
465
|
-
#### Defined in
|
|
466
|
-
|
|
467
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:131
|
|
468
|
-
|
|
469
449
|
***
|
|
470
450
|
|
|
471
451
|
### assignTo()
|
|
472
452
|
|
|
473
453
|
> **assignTo**(`dest`?, `options`?): `any`
|
|
474
454
|
|
|
455
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:191
|
|
456
|
+
|
|
475
457
|
Assign this attributes to the dest object
|
|
476
458
|
|
|
477
459
|
#### Parameters
|
|
478
460
|
|
|
479
|
-
|
|
461
|
+
##### dest?
|
|
462
|
+
|
|
463
|
+
`any`
|
|
480
464
|
|
|
481
465
|
the destination object
|
|
482
466
|
|
|
483
|
-
|
|
467
|
+
##### options?
|
|
468
|
+
|
|
469
|
+
`IMergeOptions`
|
|
484
470
|
|
|
485
471
|
#### Returns
|
|
486
472
|
|
|
@@ -492,21 +478,21 @@ the dest object
|
|
|
492
478
|
|
|
493
479
|
[`ToolFunc`](ToolFunc.md).[`assignTo`](ToolFunc.md#assignto)
|
|
494
480
|
|
|
495
|
-
#### Defined in
|
|
496
|
-
|
|
497
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:191
|
|
498
|
-
|
|
499
481
|
***
|
|
500
482
|
|
|
501
483
|
### clone()
|
|
502
484
|
|
|
503
485
|
> **clone**(`options`?): `any`
|
|
504
486
|
|
|
487
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:155
|
|
488
|
+
|
|
505
489
|
Create a new object with the same values of attributes.
|
|
506
490
|
|
|
507
491
|
#### Parameters
|
|
508
492
|
|
|
509
|
-
|
|
493
|
+
##### options?
|
|
494
|
+
|
|
495
|
+
`IMergeOptions`
|
|
510
496
|
|
|
511
497
|
#### Returns
|
|
512
498
|
|
|
@@ -518,25 +504,27 @@ the new object
|
|
|
518
504
|
|
|
519
505
|
[`ToolFunc`](ToolFunc.md).[`clone`](ToolFunc.md#clone)
|
|
520
506
|
|
|
521
|
-
#### Defined in
|
|
522
|
-
|
|
523
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:155
|
|
524
|
-
|
|
525
507
|
***
|
|
526
508
|
|
|
527
509
|
### cloneTo()
|
|
528
510
|
|
|
529
511
|
> **cloneTo**(`dest`, `options`?): `any`
|
|
530
512
|
|
|
513
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:148
|
|
514
|
+
|
|
531
515
|
Create and assign the values to the destination object.
|
|
532
516
|
|
|
533
517
|
#### Parameters
|
|
534
518
|
|
|
535
|
-
|
|
519
|
+
##### dest
|
|
520
|
+
|
|
521
|
+
`any`
|
|
536
522
|
|
|
537
523
|
the destination object
|
|
538
524
|
|
|
539
|
-
|
|
525
|
+
##### options?
|
|
526
|
+
|
|
527
|
+
`IMergeOptions`
|
|
540
528
|
|
|
541
529
|
#### Returns
|
|
542
530
|
|
|
@@ -548,21 +536,21 @@ the new dest object
|
|
|
548
536
|
|
|
549
537
|
[`ToolFunc`](ToolFunc.md).[`cloneTo`](ToolFunc.md#cloneto)
|
|
550
538
|
|
|
551
|
-
#### Defined in
|
|
552
|
-
|
|
553
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:148
|
|
554
|
-
|
|
555
539
|
***
|
|
556
540
|
|
|
557
541
|
### defineProperties()
|
|
558
542
|
|
|
559
543
|
> `abstract` **defineProperties**(`aProperties`): `any`
|
|
560
544
|
|
|
545
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:89
|
|
546
|
+
|
|
561
547
|
Define the attributes of this object.
|
|
562
548
|
|
|
563
549
|
#### Parameters
|
|
564
550
|
|
|
565
|
-
|
|
551
|
+
##### aProperties
|
|
552
|
+
|
|
553
|
+
`SimplePropDescriptors`
|
|
566
554
|
|
|
567
555
|
the defined attributes of the object
|
|
568
556
|
|
|
@@ -574,43 +562,45 @@ the defined attributes of the object
|
|
|
574
562
|
|
|
575
563
|
[`ToolFunc`](ToolFunc.md).[`defineProperties`](ToolFunc.md#defineproperties)
|
|
576
564
|
|
|
577
|
-
#### Defined in
|
|
578
|
-
|
|
579
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:89
|
|
580
|
-
|
|
581
565
|
***
|
|
582
566
|
|
|
583
567
|
### errorFrom()
|
|
584
568
|
|
|
585
569
|
> **errorFrom**(`res`): `Promise`\<[`CommonError`](CommonError.md)\>
|
|
586
570
|
|
|
571
|
+
Defined in: [packages/ai-tool/src/client-tools.ts:118](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/client-tools.ts#L118)
|
|
572
|
+
|
|
587
573
|
#### Parameters
|
|
588
574
|
|
|
589
|
-
|
|
575
|
+
##### res
|
|
576
|
+
|
|
577
|
+
`Response`
|
|
590
578
|
|
|
591
579
|
#### Returns
|
|
592
580
|
|
|
593
581
|
`Promise`\<[`CommonError`](CommonError.md)\>
|
|
594
582
|
|
|
595
|
-
#### Defined in
|
|
596
|
-
|
|
597
|
-
[packages/ai-tool/src/client-tools.ts:112](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/client-tools.ts#L112)
|
|
598
|
-
|
|
599
583
|
***
|
|
600
584
|
|
|
601
585
|
### exportTo()
|
|
602
586
|
|
|
603
587
|
> **exportTo**(`dest`, `options`?): `any`
|
|
604
588
|
|
|
589
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:173
|
|
590
|
+
|
|
605
591
|
Export attributes to the dest json object.
|
|
606
592
|
|
|
607
593
|
#### Parameters
|
|
608
594
|
|
|
609
|
-
|
|
595
|
+
##### dest
|
|
596
|
+
|
|
597
|
+
`any`
|
|
610
598
|
|
|
611
599
|
the destination object
|
|
612
600
|
|
|
613
|
-
|
|
601
|
+
##### options?
|
|
602
|
+
|
|
603
|
+
`IExportOptions`
|
|
614
604
|
|
|
615
605
|
#### Returns
|
|
616
606
|
|
|
@@ -622,31 +612,31 @@ the dest object.
|
|
|
622
612
|
|
|
623
613
|
[`ToolFunc`](ToolFunc.md).[`exportTo`](ToolFunc.md#exportto)
|
|
624
614
|
|
|
625
|
-
#### Defined in
|
|
626
|
-
|
|
627
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:173
|
|
628
|
-
|
|
629
615
|
***
|
|
630
616
|
|
|
631
617
|
### fetch()
|
|
632
618
|
|
|
633
619
|
> **fetch**(`objParam`?, `act`?, `subName`?): `Promise`\<`Response`\>
|
|
634
620
|
|
|
621
|
+
Defined in: [packages/ai-tool/src/client-tools.ts:74](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/client-tools.ts#L74)
|
|
622
|
+
|
|
635
623
|
#### Parameters
|
|
636
624
|
|
|
637
|
-
|
|
625
|
+
##### objParam?
|
|
638
626
|
|
|
639
|
-
|
|
627
|
+
`any`
|
|
640
628
|
|
|
641
|
-
|
|
629
|
+
##### act?
|
|
642
630
|
|
|
643
|
-
|
|
631
|
+
`"get"` | `"post"` | `"put"` | `"delete"` | `"patch"` | `"list"` | `"res"`
|
|
644
632
|
|
|
645
|
-
|
|
633
|
+
##### subName?
|
|
646
634
|
|
|
647
|
-
|
|
635
|
+
`any`
|
|
648
636
|
|
|
649
|
-
|
|
637
|
+
#### Returns
|
|
638
|
+
|
|
639
|
+
`Promise`\<`Response`\>
|
|
650
640
|
|
|
651
641
|
***
|
|
652
642
|
|
|
@@ -654,9 +644,13 @@ node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/ab
|
|
|
654
644
|
|
|
655
645
|
> **func**(`objParam`): `Promise`\<`any`\>
|
|
656
646
|
|
|
647
|
+
Defined in: [packages/ai-tool/src/client-tools.ts:149](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/client-tools.ts#L149)
|
|
648
|
+
|
|
657
649
|
#### Parameters
|
|
658
650
|
|
|
659
|
-
|
|
651
|
+
##### objParam
|
|
652
|
+
|
|
653
|
+
`any`
|
|
660
654
|
|
|
661
655
|
#### Returns
|
|
662
656
|
|
|
@@ -666,19 +660,19 @@ node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/ab
|
|
|
666
660
|
|
|
667
661
|
[`ToolFunc`](ToolFunc.md).[`func`](ToolFunc.md#func)
|
|
668
662
|
|
|
669
|
-
#### Defined in
|
|
670
|
-
|
|
671
|
-
[packages/ai-tool/src/client-tools.ts:143](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/client-tools.ts#L143)
|
|
672
|
-
|
|
673
663
|
***
|
|
674
664
|
|
|
675
665
|
### getFunc()
|
|
676
666
|
|
|
677
667
|
> **getFunc**(`name`?): `any`
|
|
678
668
|
|
|
669
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:289](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L289)
|
|
670
|
+
|
|
679
671
|
#### Parameters
|
|
680
672
|
|
|
681
|
-
|
|
673
|
+
##### name?
|
|
674
|
+
|
|
675
|
+
`string`
|
|
682
676
|
|
|
683
677
|
#### Returns
|
|
684
678
|
|
|
@@ -688,19 +682,19 @@ node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/ab
|
|
|
688
682
|
|
|
689
683
|
[`ToolFunc`](ToolFunc.md).[`getFunc`](ToolFunc.md#getfunc)
|
|
690
684
|
|
|
691
|
-
#### Defined in
|
|
692
|
-
|
|
693
|
-
[packages/ai-tool/src/tool-func.ts:307](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L307)
|
|
694
|
-
|
|
695
685
|
***
|
|
696
686
|
|
|
697
687
|
### getFuncWithPos()
|
|
698
688
|
|
|
699
689
|
> **getFuncWithPos**(`name`?): `any`
|
|
700
690
|
|
|
691
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:313](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L313)
|
|
692
|
+
|
|
701
693
|
#### Parameters
|
|
702
694
|
|
|
703
|
-
|
|
695
|
+
##### name?
|
|
696
|
+
|
|
697
|
+
`string`
|
|
704
698
|
|
|
705
699
|
#### Returns
|
|
706
700
|
|
|
@@ -710,16 +704,14 @@ node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/ab
|
|
|
710
704
|
|
|
711
705
|
[`ToolFunc`](ToolFunc.md).[`getFuncWithPos`](ToolFunc.md#getfuncwithpos)
|
|
712
706
|
|
|
713
|
-
#### Defined in
|
|
714
|
-
|
|
715
|
-
[packages/ai-tool/src/tool-func.ts:331](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L331)
|
|
716
|
-
|
|
717
707
|
***
|
|
718
708
|
|
|
719
709
|
### getProperties()
|
|
720
710
|
|
|
721
711
|
> `abstract` **getProperties**(): `PropDescriptors`
|
|
722
712
|
|
|
713
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:98
|
|
714
|
+
|
|
723
715
|
Get the defined attributes.
|
|
724
716
|
|
|
725
717
|
#### Returns
|
|
@@ -732,37 +724,37 @@ the descriptors of properties object
|
|
|
732
724
|
|
|
733
725
|
[`ToolFunc`](ToolFunc.md).[`getProperties`](ToolFunc.md#getproperties)
|
|
734
726
|
|
|
735
|
-
#### Defined in
|
|
736
|
-
|
|
737
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:98
|
|
738
|
-
|
|
739
727
|
***
|
|
740
728
|
|
|
741
729
|
### getUrlParams()
|
|
742
730
|
|
|
743
731
|
> **getUrlParams**(`objParam`): `string`
|
|
744
732
|
|
|
733
|
+
Defined in: [packages/ai-tool/src/client-tools.ts:63](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/client-tools.ts#L63)
|
|
734
|
+
|
|
745
735
|
#### Parameters
|
|
746
736
|
|
|
747
|
-
|
|
737
|
+
##### objParam
|
|
738
|
+
|
|
739
|
+
`any`
|
|
748
740
|
|
|
749
741
|
#### Returns
|
|
750
742
|
|
|
751
743
|
`string`
|
|
752
744
|
|
|
753
|
-
#### Defined in
|
|
754
|
-
|
|
755
|
-
[packages/ai-tool/src/client-tools.ts:63](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/client-tools.ts#L63)
|
|
756
|
-
|
|
757
745
|
***
|
|
758
746
|
|
|
759
747
|
### hasAsyncFeature()
|
|
760
748
|
|
|
761
749
|
> **hasAsyncFeature**(`feature`): `boolean`
|
|
762
750
|
|
|
751
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:318](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L318)
|
|
752
|
+
|
|
763
753
|
#### Parameters
|
|
764
754
|
|
|
765
|
-
|
|
755
|
+
##### feature
|
|
756
|
+
|
|
757
|
+
[`AsyncFeatureBits`](../enumerations/AsyncFeatureBits.md)
|
|
766
758
|
|
|
767
759
|
#### Returns
|
|
768
760
|
|
|
@@ -772,21 +764,21 @@ node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/ab
|
|
|
772
764
|
|
|
773
765
|
[`ToolFunc`](ToolFunc.md).[`hasAsyncFeature`](ToolFunc.md#hasasyncfeature)
|
|
774
766
|
|
|
775
|
-
#### Defined in
|
|
776
|
-
|
|
777
|
-
[packages/ai-tool/src/tool-func.ts:336](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L336)
|
|
778
|
-
|
|
779
767
|
***
|
|
780
768
|
|
|
781
769
|
### hasOwnProperty()
|
|
782
770
|
|
|
783
771
|
> **hasOwnProperty**(`v`): `boolean`
|
|
784
772
|
|
|
773
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:140
|
|
774
|
+
|
|
785
775
|
Determines whether an object has a property with the specified name.
|
|
786
776
|
|
|
787
777
|
#### Parameters
|
|
788
778
|
|
|
789
|
-
|
|
779
|
+
##### v
|
|
780
|
+
|
|
781
|
+
`PropertyKey`
|
|
790
782
|
|
|
791
783
|
A property name.
|
|
792
784
|
|
|
@@ -798,21 +790,21 @@ A property name.
|
|
|
798
790
|
|
|
799
791
|
[`ToolFunc`](ToolFunc.md).[`hasOwnProperty`](ToolFunc.md#hasownproperty)
|
|
800
792
|
|
|
801
|
-
#### Defined in
|
|
802
|
-
|
|
803
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:140
|
|
804
|
-
|
|
805
793
|
***
|
|
806
794
|
|
|
807
795
|
### initialize()
|
|
808
796
|
|
|
809
797
|
> **initialize**(`src`?): `this`
|
|
810
798
|
|
|
799
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:139
|
|
800
|
+
|
|
811
801
|
Initialize object and assign attribute values from src if src exists.
|
|
812
802
|
|
|
813
803
|
#### Parameters
|
|
814
804
|
|
|
815
|
-
|
|
805
|
+
##### src?
|
|
806
|
+
|
|
807
|
+
`any`
|
|
816
808
|
|
|
817
809
|
#### Returns
|
|
818
810
|
|
|
@@ -824,21 +816,21 @@ this object.
|
|
|
824
816
|
|
|
825
817
|
[`ToolFunc`](ToolFunc.md).[`initialize`](ToolFunc.md#initialize)
|
|
826
818
|
|
|
827
|
-
#### Defined in
|
|
828
|
-
|
|
829
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:139
|
|
830
|
-
|
|
831
819
|
***
|
|
832
820
|
|
|
833
821
|
### isPrototypeOf()
|
|
834
822
|
|
|
835
823
|
> **isPrototypeOf**(`v`): `boolean`
|
|
836
824
|
|
|
825
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:146
|
|
826
|
+
|
|
837
827
|
Determines whether an object exists in another object's prototype chain.
|
|
838
828
|
|
|
839
829
|
#### Parameters
|
|
840
830
|
|
|
841
|
-
|
|
831
|
+
##### v
|
|
832
|
+
|
|
833
|
+
`Object`
|
|
842
834
|
|
|
843
835
|
Another object whose prototype chain is to be checked.
|
|
844
836
|
|
|
@@ -850,25 +842,27 @@ Another object whose prototype chain is to be checked.
|
|
|
850
842
|
|
|
851
843
|
[`ToolFunc`](ToolFunc.md).[`isPrototypeOf`](ToolFunc.md#isprototypeof)
|
|
852
844
|
|
|
853
|
-
#### Defined in
|
|
854
|
-
|
|
855
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:146
|
|
856
|
-
|
|
857
845
|
***
|
|
858
846
|
|
|
859
847
|
### isSame()
|
|
860
848
|
|
|
861
849
|
> **isSame**(`src`, `options`?): `boolean`
|
|
862
850
|
|
|
851
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:200
|
|
852
|
+
|
|
863
853
|
Check the src object whether “equals” this object.
|
|
864
854
|
|
|
865
855
|
#### Parameters
|
|
866
856
|
|
|
867
|
-
|
|
857
|
+
##### src
|
|
858
|
+
|
|
859
|
+
`any`
|
|
868
860
|
|
|
869
861
|
The source object
|
|
870
862
|
|
|
871
|
-
|
|
863
|
+
##### options?
|
|
864
|
+
|
|
865
|
+
`IMergeOptions`
|
|
872
866
|
|
|
873
867
|
#### Returns
|
|
874
868
|
|
|
@@ -878,19 +872,19 @@ The source object
|
|
|
878
872
|
|
|
879
873
|
[`ToolFunc`](ToolFunc.md).[`isSame`](ToolFunc.md#issame)
|
|
880
874
|
|
|
881
|
-
#### Defined in
|
|
882
|
-
|
|
883
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:200
|
|
884
|
-
|
|
885
875
|
***
|
|
886
876
|
|
|
887
877
|
### isStream()
|
|
888
878
|
|
|
889
879
|
> **isStream**(`params`): `undefined` \| `boolean`
|
|
890
880
|
|
|
881
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:324](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L324)
|
|
882
|
+
|
|
891
883
|
#### Parameters
|
|
892
884
|
|
|
893
|
-
|
|
885
|
+
##### params
|
|
886
|
+
|
|
887
|
+
`any`
|
|
894
888
|
|
|
895
889
|
#### Returns
|
|
896
890
|
|
|
@@ -900,25 +894,27 @@ node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/ab
|
|
|
900
894
|
|
|
901
895
|
[`ToolFunc`](ToolFunc.md).[`isStream`](ToolFunc.md#isstream)
|
|
902
896
|
|
|
903
|
-
#### Defined in
|
|
904
|
-
|
|
905
|
-
[packages/ai-tool/src/tool-func.ts:342](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L342)
|
|
906
|
-
|
|
907
897
|
***
|
|
908
898
|
|
|
909
899
|
### mergeTo()
|
|
910
900
|
|
|
911
901
|
> **mergeTo**(`dest`, `options`?): `any`
|
|
912
902
|
|
|
903
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:164
|
|
904
|
+
|
|
913
905
|
Merge this attributes to dest object.
|
|
914
906
|
|
|
915
907
|
#### Parameters
|
|
916
908
|
|
|
917
|
-
|
|
909
|
+
##### dest
|
|
910
|
+
|
|
911
|
+
`any`
|
|
918
912
|
|
|
919
913
|
The destination object
|
|
920
914
|
|
|
921
|
-
|
|
915
|
+
##### options?
|
|
916
|
+
|
|
917
|
+
`IMergeOptions`
|
|
922
918
|
|
|
923
919
|
#### Returns
|
|
924
920
|
|
|
@@ -930,19 +926,19 @@ the dest object.
|
|
|
930
926
|
|
|
931
927
|
[`ToolFunc`](ToolFunc.md).[`mergeTo`](ToolFunc.md#mergeto)
|
|
932
928
|
|
|
933
|
-
#### Defined in
|
|
934
|
-
|
|
935
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:164
|
|
936
|
-
|
|
937
929
|
***
|
|
938
930
|
|
|
939
931
|
### obj2ArrParams()
|
|
940
932
|
|
|
941
933
|
> **obj2ArrParams**(`params`?): `any`[]
|
|
942
934
|
|
|
935
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:249](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L249)
|
|
936
|
+
|
|
943
937
|
#### Parameters
|
|
944
938
|
|
|
945
|
-
|
|
939
|
+
##### params?
|
|
940
|
+
|
|
941
|
+
`any`
|
|
946
942
|
|
|
947
943
|
#### Returns
|
|
948
944
|
|
|
@@ -952,21 +948,21 @@ node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/ab
|
|
|
952
948
|
|
|
953
949
|
[`ToolFunc`](ToolFunc.md).[`obj2ArrParams`](ToolFunc.md#obj2arrparams)
|
|
954
950
|
|
|
955
|
-
#### Defined in
|
|
956
|
-
|
|
957
|
-
[packages/ai-tool/src/tool-func.ts:267](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L267)
|
|
958
|
-
|
|
959
951
|
***
|
|
960
952
|
|
|
961
953
|
### propertyIsEnumerable()
|
|
962
954
|
|
|
963
955
|
> **propertyIsEnumerable**(`v`): `boolean`
|
|
964
956
|
|
|
957
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:152
|
|
958
|
+
|
|
965
959
|
Determines whether a specified property is enumerable.
|
|
966
960
|
|
|
967
961
|
#### Parameters
|
|
968
962
|
|
|
969
|
-
|
|
963
|
+
##### v
|
|
964
|
+
|
|
965
|
+
`PropertyKey`
|
|
970
966
|
|
|
971
967
|
A property name.
|
|
972
968
|
|
|
@@ -978,16 +974,14 @@ A property name.
|
|
|
978
974
|
|
|
979
975
|
[`ToolFunc`](ToolFunc.md).[`propertyIsEnumerable`](ToolFunc.md#propertyisenumerable)
|
|
980
976
|
|
|
981
|
-
#### Defined in
|
|
982
|
-
|
|
983
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:152
|
|
984
|
-
|
|
985
977
|
***
|
|
986
978
|
|
|
987
979
|
### register()
|
|
988
980
|
|
|
989
981
|
> **register**(): `boolean` \| [`ToolFunc`](ToolFunc.md)
|
|
990
982
|
|
|
983
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:219](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L219)
|
|
984
|
+
|
|
991
985
|
#### Returns
|
|
992
986
|
|
|
993
987
|
`boolean` \| [`ToolFunc`](ToolFunc.md)
|
|
@@ -996,19 +990,19 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
996
990
|
|
|
997
991
|
[`ToolFunc`](ToolFunc.md).[`register`](ToolFunc.md#register)
|
|
998
992
|
|
|
999
|
-
#### Defined in
|
|
1000
|
-
|
|
1001
|
-
[packages/ai-tool/src/tool-func.ts:237](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L237)
|
|
1002
|
-
|
|
1003
993
|
***
|
|
1004
994
|
|
|
1005
995
|
### run()
|
|
1006
996
|
|
|
1007
997
|
> **run**(`params`?): `Promise`\<`any`\>
|
|
1008
998
|
|
|
999
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:276](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L276)
|
|
1000
|
+
|
|
1009
1001
|
#### Parameters
|
|
1010
1002
|
|
|
1011
|
-
|
|
1003
|
+
##### params?
|
|
1004
|
+
|
|
1005
|
+
`any`
|
|
1012
1006
|
|
|
1013
1007
|
#### Returns
|
|
1014
1008
|
|
|
@@ -1018,21 +1012,23 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
1018
1012
|
|
|
1019
1013
|
[`ToolFunc`](ToolFunc.md).[`run`](ToolFunc.md#run)
|
|
1020
1014
|
|
|
1021
|
-
#### Defined in
|
|
1022
|
-
|
|
1023
|
-
[packages/ai-tool/src/tool-func.ts:294](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L294)
|
|
1024
|
-
|
|
1025
1015
|
***
|
|
1026
1016
|
|
|
1027
1017
|
### runAs()
|
|
1028
1018
|
|
|
1029
1019
|
> **runAs**(`name`, `params`?): `Promise`\<`any`\>
|
|
1030
1020
|
|
|
1021
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:280](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L280)
|
|
1022
|
+
|
|
1031
1023
|
#### Parameters
|
|
1032
1024
|
|
|
1033
|
-
|
|
1025
|
+
##### name
|
|
1026
|
+
|
|
1027
|
+
`string`
|
|
1028
|
+
|
|
1029
|
+
##### params?
|
|
1034
1030
|
|
|
1035
|
-
|
|
1031
|
+
`any`
|
|
1036
1032
|
|
|
1037
1033
|
#### Returns
|
|
1038
1034
|
|
|
@@ -1042,21 +1038,23 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
1042
1038
|
|
|
1043
1039
|
[`ToolFunc`](ToolFunc.md).[`runAs`](ToolFunc.md#runas)
|
|
1044
1040
|
|
|
1045
|
-
#### Defined in
|
|
1046
|
-
|
|
1047
|
-
[packages/ai-tool/src/tool-func.ts:298](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L298)
|
|
1048
|
-
|
|
1049
1041
|
***
|
|
1050
1042
|
|
|
1051
1043
|
### runAsSync()
|
|
1052
1044
|
|
|
1053
1045
|
> **runAsSync**(`name`, `params`?): `any`
|
|
1054
1046
|
|
|
1047
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:284](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L284)
|
|
1048
|
+
|
|
1055
1049
|
#### Parameters
|
|
1056
1050
|
|
|
1057
|
-
|
|
1051
|
+
##### name
|
|
1052
|
+
|
|
1053
|
+
`string`
|
|
1058
1054
|
|
|
1059
|
-
|
|
1055
|
+
##### params?
|
|
1056
|
+
|
|
1057
|
+
`any`
|
|
1060
1058
|
|
|
1061
1059
|
#### Returns
|
|
1062
1060
|
|
|
@@ -1066,19 +1064,19 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
1066
1064
|
|
|
1067
1065
|
[`ToolFunc`](ToolFunc.md).[`runAsSync`](ToolFunc.md#runassync)
|
|
1068
1066
|
|
|
1069
|
-
#### Defined in
|
|
1070
|
-
|
|
1071
|
-
[packages/ai-tool/src/tool-func.ts:302](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L302)
|
|
1072
|
-
|
|
1073
1067
|
***
|
|
1074
1068
|
|
|
1075
1069
|
### runSync()
|
|
1076
1070
|
|
|
1077
1071
|
> **runSync**(`params`?): `any`
|
|
1078
1072
|
|
|
1073
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:262](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L262)
|
|
1074
|
+
|
|
1079
1075
|
#### Parameters
|
|
1080
1076
|
|
|
1081
|
-
|
|
1077
|
+
##### params?
|
|
1078
|
+
|
|
1079
|
+
`any`
|
|
1082
1080
|
|
|
1083
1081
|
#### Returns
|
|
1084
1082
|
|
|
@@ -1088,19 +1086,19 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
1088
1086
|
|
|
1089
1087
|
[`ToolFunc`](ToolFunc.md).[`runSync`](ToolFunc.md#runsync)
|
|
1090
1088
|
|
|
1091
|
-
#### Defined in
|
|
1092
|
-
|
|
1093
|
-
[packages/ai-tool/src/tool-func.ts:280](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L280)
|
|
1094
|
-
|
|
1095
1089
|
***
|
|
1096
1090
|
|
|
1097
1091
|
### runWithPos()
|
|
1098
1092
|
|
|
1099
1093
|
> **runWithPos**(...`params`): `Promise`\<`any`\>
|
|
1100
1094
|
|
|
1095
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:305](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L305)
|
|
1096
|
+
|
|
1101
1097
|
#### Parameters
|
|
1102
1098
|
|
|
1103
|
-
|
|
1099
|
+
##### params
|
|
1100
|
+
|
|
1101
|
+
...`any`[]
|
|
1104
1102
|
|
|
1105
1103
|
#### Returns
|
|
1106
1104
|
|
|
@@ -1110,21 +1108,23 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
1110
1108
|
|
|
1111
1109
|
[`ToolFunc`](ToolFunc.md).[`runWithPos`](ToolFunc.md#runwithpos)
|
|
1112
1110
|
|
|
1113
|
-
#### Defined in
|
|
1114
|
-
|
|
1115
|
-
[packages/ai-tool/src/tool-func.ts:323](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L323)
|
|
1116
|
-
|
|
1117
1111
|
***
|
|
1118
1112
|
|
|
1119
1113
|
### runWithPosAs()
|
|
1120
1114
|
|
|
1121
1115
|
> **runWithPosAs**(`name`, ...`params`): `Promise`\<`any`\>
|
|
1122
1116
|
|
|
1117
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:309](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L309)
|
|
1118
|
+
|
|
1123
1119
|
#### Parameters
|
|
1124
1120
|
|
|
1125
|
-
|
|
1121
|
+
##### name
|
|
1122
|
+
|
|
1123
|
+
`string`
|
|
1124
|
+
|
|
1125
|
+
##### params
|
|
1126
1126
|
|
|
1127
|
-
|
|
1127
|
+
...`any`[]
|
|
1128
1128
|
|
|
1129
1129
|
#### Returns
|
|
1130
1130
|
|
|
@@ -1134,21 +1134,23 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
1134
1134
|
|
|
1135
1135
|
[`ToolFunc`](ToolFunc.md).[`runWithPosAs`](ToolFunc.md#runwithposas)
|
|
1136
1136
|
|
|
1137
|
-
#### Defined in
|
|
1138
|
-
|
|
1139
|
-
[packages/ai-tool/src/tool-func.ts:327](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L327)
|
|
1140
|
-
|
|
1141
1137
|
***
|
|
1142
1138
|
|
|
1143
1139
|
### runWithPosAsSync()
|
|
1144
1140
|
|
|
1145
1141
|
> **runWithPosAsSync**(`name`, ...`params`): `any`
|
|
1146
1142
|
|
|
1143
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:301](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L301)
|
|
1144
|
+
|
|
1147
1145
|
#### Parameters
|
|
1148
1146
|
|
|
1149
|
-
|
|
1147
|
+
##### name
|
|
1150
1148
|
|
|
1151
|
-
|
|
1149
|
+
`string`
|
|
1150
|
+
|
|
1151
|
+
##### params
|
|
1152
|
+
|
|
1153
|
+
...`any`[]
|
|
1152
1154
|
|
|
1153
1155
|
#### Returns
|
|
1154
1156
|
|
|
@@ -1158,19 +1160,19 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
1158
1160
|
|
|
1159
1161
|
[`ToolFunc`](ToolFunc.md).[`runWithPosAsSync`](ToolFunc.md#runwithposassync)
|
|
1160
1162
|
|
|
1161
|
-
#### Defined in
|
|
1162
|
-
|
|
1163
|
-
[packages/ai-tool/src/tool-func.ts:319](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L319)
|
|
1164
|
-
|
|
1165
1163
|
***
|
|
1166
1164
|
|
|
1167
1165
|
### runWithPosSync()
|
|
1168
1166
|
|
|
1169
1167
|
> **runWithPosSync**(...`params`): `any`
|
|
1170
1168
|
|
|
1169
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:294](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L294)
|
|
1170
|
+
|
|
1171
1171
|
#### Parameters
|
|
1172
1172
|
|
|
1173
|
-
|
|
1173
|
+
##### params
|
|
1174
|
+
|
|
1175
|
+
...`any`[]
|
|
1174
1176
|
|
|
1175
1177
|
#### Returns
|
|
1176
1178
|
|
|
@@ -1180,16 +1182,14 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
1180
1182
|
|
|
1181
1183
|
[`ToolFunc`](ToolFunc.md).[`runWithPosSync`](ToolFunc.md#runwithpossync)
|
|
1182
1184
|
|
|
1183
|
-
#### Defined in
|
|
1184
|
-
|
|
1185
|
-
[packages/ai-tool/src/tool-func.ts:312](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L312)
|
|
1186
|
-
|
|
1187
1185
|
***
|
|
1188
1186
|
|
|
1189
1187
|
### toJSON()
|
|
1190
1188
|
|
|
1191
1189
|
> **toJSON**(): `any`
|
|
1192
1190
|
|
|
1191
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:182
|
|
1192
|
+
|
|
1193
1193
|
#### Returns
|
|
1194
1194
|
|
|
1195
1195
|
`any`
|
|
@@ -1198,16 +1198,14 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
1198
1198
|
|
|
1199
1199
|
[`ToolFunc`](ToolFunc.md).[`toJSON`](ToolFunc.md#tojson)
|
|
1200
1200
|
|
|
1201
|
-
#### Defined in
|
|
1202
|
-
|
|
1203
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:182
|
|
1204
|
-
|
|
1205
1201
|
***
|
|
1206
1202
|
|
|
1207
1203
|
### toLocaleString()
|
|
1208
1204
|
|
|
1209
1205
|
> **toLocaleString**(): `string`
|
|
1210
1206
|
|
|
1207
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:131
|
|
1208
|
+
|
|
1211
1209
|
Returns a date converted to a string using the current locale.
|
|
1212
1210
|
|
|
1213
1211
|
#### Returns
|
|
@@ -1218,21 +1216,21 @@ Returns a date converted to a string using the current locale.
|
|
|
1218
1216
|
|
|
1219
1217
|
[`ToolFunc`](ToolFunc.md).[`toLocaleString`](ToolFunc.md#tolocalestring)
|
|
1220
1218
|
|
|
1221
|
-
#### Defined in
|
|
1222
|
-
|
|
1223
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:131
|
|
1224
|
-
|
|
1225
1219
|
***
|
|
1226
1220
|
|
|
1227
1221
|
### toObject()
|
|
1228
1222
|
|
|
1229
1223
|
> **toObject**(`options`?): `any`
|
|
1230
1224
|
|
|
1225
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:181
|
|
1226
|
+
|
|
1231
1227
|
Convert the attributes to the json object
|
|
1232
1228
|
|
|
1233
1229
|
#### Parameters
|
|
1234
1230
|
|
|
1235
|
-
|
|
1231
|
+
##### options?
|
|
1232
|
+
|
|
1233
|
+
`any`
|
|
1236
1234
|
|
|
1237
1235
|
#### Returns
|
|
1238
1236
|
|
|
@@ -1244,16 +1242,14 @@ the json object.
|
|
|
1244
1242
|
|
|
1245
1243
|
[`ToolFunc`](ToolFunc.md).[`toObject`](ToolFunc.md#toobject)
|
|
1246
1244
|
|
|
1247
|
-
#### Defined in
|
|
1248
|
-
|
|
1249
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:181
|
|
1250
|
-
|
|
1251
1245
|
***
|
|
1252
1246
|
|
|
1253
1247
|
### toString()
|
|
1254
1248
|
|
|
1255
1249
|
> **toString**(): `string`
|
|
1256
1250
|
|
|
1251
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:128
|
|
1252
|
+
|
|
1257
1253
|
Returns a string representation of an object.
|
|
1258
1254
|
|
|
1259
1255
|
#### Returns
|
|
@@ -1264,16 +1260,14 @@ Returns a string representation of an object.
|
|
|
1264
1260
|
|
|
1265
1261
|
[`ToolFunc`](ToolFunc.md).[`toString`](ToolFunc.md#tostring)
|
|
1266
1262
|
|
|
1267
|
-
#### Defined in
|
|
1268
|
-
|
|
1269
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:128
|
|
1270
|
-
|
|
1271
1263
|
***
|
|
1272
1264
|
|
|
1273
1265
|
### unregister()
|
|
1274
1266
|
|
|
1275
1267
|
> **unregister**(): `any`
|
|
1276
1268
|
|
|
1269
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:232](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L232)
|
|
1270
|
+
|
|
1277
1271
|
#### Returns
|
|
1278
1272
|
|
|
1279
1273
|
`any`
|
|
@@ -1282,16 +1276,14 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
1282
1276
|
|
|
1283
1277
|
[`ToolFunc`](ToolFunc.md).[`unregister`](ToolFunc.md#unregister)
|
|
1284
1278
|
|
|
1285
|
-
#### Defined in
|
|
1286
|
-
|
|
1287
|
-
[packages/ai-tool/src/tool-func.ts:250](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L250)
|
|
1288
|
-
|
|
1289
1279
|
***
|
|
1290
1280
|
|
|
1291
1281
|
### valueOf()
|
|
1292
1282
|
|
|
1293
1283
|
> **valueOf**(): `Object`
|
|
1294
1284
|
|
|
1285
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:134
|
|
1286
|
+
|
|
1295
1287
|
Returns the primitive value of the specified object.
|
|
1296
1288
|
|
|
1297
1289
|
#### Returns
|
|
@@ -1302,18 +1294,16 @@ Returns the primitive value of the specified object.
|
|
|
1302
1294
|
|
|
1303
1295
|
[`ToolFunc`](ToolFunc.md).[`valueOf`](ToolFunc.md#valueof)
|
|
1304
1296
|
|
|
1305
|
-
#### Defined in
|
|
1306
|
-
|
|
1307
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:134
|
|
1308
|
-
|
|
1309
1297
|
***
|
|
1310
1298
|
|
|
1311
1299
|
### assign()
|
|
1312
1300
|
|
|
1313
|
-
####
|
|
1301
|
+
#### Call Signature
|
|
1314
1302
|
|
|
1315
1303
|
> `static` **assign**\<`T`, `U`\>(`target`, `source`): `T` & `U`
|
|
1316
1304
|
|
|
1305
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2015.core.d.ts:286
|
|
1306
|
+
|
|
1317
1307
|
Copy the values of all of the enumerable own properties from one or more source objects to a
|
|
1318
1308
|
target object. Returns the target object.
|
|
1319
1309
|
|
|
@@ -1325,11 +1315,15 @@ target object. Returns the target object.
|
|
|
1325
1315
|
|
|
1326
1316
|
##### Parameters
|
|
1327
1317
|
|
|
1328
|
-
|
|
1318
|
+
###### target
|
|
1319
|
+
|
|
1320
|
+
`T`
|
|
1329
1321
|
|
|
1330
1322
|
The target object to copy to.
|
|
1331
1323
|
|
|
1332
|
-
|
|
1324
|
+
###### source
|
|
1325
|
+
|
|
1326
|
+
`U`
|
|
1333
1327
|
|
|
1334
1328
|
The source object from which to copy properties.
|
|
1335
1329
|
|
|
@@ -1341,14 +1335,12 @@ The source object from which to copy properties.
|
|
|
1341
1335
|
|
|
1342
1336
|
[`ToolFunc`](ToolFunc.md).[`assign`](ToolFunc.md#assign-2)
|
|
1343
1337
|
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:286
|
|
1347
|
-
|
|
1348
|
-
#### assign(target, source1, source2)
|
|
1338
|
+
#### Call Signature
|
|
1349
1339
|
|
|
1350
1340
|
> `static` **assign**\<`T`, `U`, `V`\>(`target`, `source1`, `source2`): `T` & `U` & `V`
|
|
1351
1341
|
|
|
1342
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2015.core.d.ts:295
|
|
1343
|
+
|
|
1352
1344
|
Copy the values of all of the enumerable own properties from one or more source objects to a
|
|
1353
1345
|
target object. Returns the target object.
|
|
1354
1346
|
|
|
@@ -1362,15 +1354,21 @@ target object. Returns the target object.
|
|
|
1362
1354
|
|
|
1363
1355
|
##### Parameters
|
|
1364
1356
|
|
|
1365
|
-
|
|
1357
|
+
###### target
|
|
1358
|
+
|
|
1359
|
+
`T`
|
|
1366
1360
|
|
|
1367
1361
|
The target object to copy to.
|
|
1368
1362
|
|
|
1369
|
-
|
|
1363
|
+
###### source1
|
|
1364
|
+
|
|
1365
|
+
`U`
|
|
1370
1366
|
|
|
1371
1367
|
The first source object from which to copy properties.
|
|
1372
1368
|
|
|
1373
|
-
|
|
1369
|
+
###### source2
|
|
1370
|
+
|
|
1371
|
+
`V`
|
|
1374
1372
|
|
|
1375
1373
|
The second source object from which to copy properties.
|
|
1376
1374
|
|
|
@@ -1382,14 +1380,12 @@ The second source object from which to copy properties.
|
|
|
1382
1380
|
|
|
1383
1381
|
[`ToolFunc`](ToolFunc.md).[`assign`](ToolFunc.md#assign-2)
|
|
1384
1382
|
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:295
|
|
1388
|
-
|
|
1389
|
-
#### assign(target, source1, source2, source3)
|
|
1383
|
+
#### Call Signature
|
|
1390
1384
|
|
|
1391
1385
|
> `static` **assign**\<`T`, `U`, `V`, `W`\>(`target`, `source1`, `source2`, `source3`): `T` & `U` & `V` & `W`
|
|
1392
1386
|
|
|
1387
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2015.core.d.ts:305
|
|
1388
|
+
|
|
1393
1389
|
Copy the values of all of the enumerable own properties from one or more source objects to a
|
|
1394
1390
|
target object. Returns the target object.
|
|
1395
1391
|
|
|
@@ -1405,19 +1401,27 @@ target object. Returns the target object.
|
|
|
1405
1401
|
|
|
1406
1402
|
##### Parameters
|
|
1407
1403
|
|
|
1408
|
-
|
|
1404
|
+
###### target
|
|
1405
|
+
|
|
1406
|
+
`T`
|
|
1409
1407
|
|
|
1410
1408
|
The target object to copy to.
|
|
1411
1409
|
|
|
1412
|
-
|
|
1410
|
+
###### source1
|
|
1411
|
+
|
|
1412
|
+
`U`
|
|
1413
1413
|
|
|
1414
1414
|
The first source object from which to copy properties.
|
|
1415
1415
|
|
|
1416
|
-
|
|
1416
|
+
###### source2
|
|
1417
|
+
|
|
1418
|
+
`V`
|
|
1417
1419
|
|
|
1418
1420
|
The second source object from which to copy properties.
|
|
1419
1421
|
|
|
1420
|
-
|
|
1422
|
+
###### source3
|
|
1423
|
+
|
|
1424
|
+
`W`
|
|
1421
1425
|
|
|
1422
1426
|
The third source object from which to copy properties.
|
|
1423
1427
|
|
|
@@ -1429,24 +1433,26 @@ The third source object from which to copy properties.
|
|
|
1429
1433
|
|
|
1430
1434
|
[`ToolFunc`](ToolFunc.md).[`assign`](ToolFunc.md#assign-2)
|
|
1431
1435
|
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:305
|
|
1435
|
-
|
|
1436
|
-
#### assign(target, sources)
|
|
1436
|
+
#### Call Signature
|
|
1437
1437
|
|
|
1438
1438
|
> `static` **assign**(`target`, ...`sources`): `any`
|
|
1439
1439
|
|
|
1440
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2015.core.d.ts:313
|
|
1441
|
+
|
|
1440
1442
|
Copy the values of all of the enumerable own properties from one or more source objects to a
|
|
1441
1443
|
target object. Returns the target object.
|
|
1442
1444
|
|
|
1443
1445
|
##### Parameters
|
|
1444
1446
|
|
|
1445
|
-
|
|
1447
|
+
###### target
|
|
1448
|
+
|
|
1449
|
+
`object`
|
|
1446
1450
|
|
|
1447
1451
|
The target object to copy to.
|
|
1448
1452
|
|
|
1449
|
-
|
|
1453
|
+
###### sources
|
|
1454
|
+
|
|
1455
|
+
...`any`[]
|
|
1450
1456
|
|
|
1451
1457
|
One or more source objects from which to copy properties
|
|
1452
1458
|
|
|
@@ -1458,26 +1464,26 @@ One or more source objects from which to copy properties
|
|
|
1458
1464
|
|
|
1459
1465
|
[`ToolFunc`](ToolFunc.md).[`assign`](ToolFunc.md#assign-2)
|
|
1460
1466
|
|
|
1461
|
-
##### Defined in
|
|
1462
|
-
|
|
1463
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:313
|
|
1464
|
-
|
|
1465
1467
|
***
|
|
1466
1468
|
|
|
1467
1469
|
### create()
|
|
1468
1470
|
|
|
1469
|
-
####
|
|
1471
|
+
#### Call Signature
|
|
1470
1472
|
|
|
1471
1473
|
> `static` **create**(`o`): `any`
|
|
1472
1474
|
|
|
1475
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:188
|
|
1476
|
+
|
|
1473
1477
|
Creates an object that has the specified prototype or that has null prototype.
|
|
1474
1478
|
|
|
1475
1479
|
##### Parameters
|
|
1476
1480
|
|
|
1477
|
-
|
|
1481
|
+
###### o
|
|
1478
1482
|
|
|
1479
1483
|
Object to use as a prototype. May be null.
|
|
1480
1484
|
|
|
1485
|
+
`null` | `object`
|
|
1486
|
+
|
|
1481
1487
|
##### Returns
|
|
1482
1488
|
|
|
1483
1489
|
`any`
|
|
@@ -1486,23 +1492,25 @@ Object to use as a prototype. May be null.
|
|
|
1486
1492
|
|
|
1487
1493
|
[`ToolFunc`](ToolFunc.md).[`create`](ToolFunc.md#create)
|
|
1488
1494
|
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:188
|
|
1492
|
-
|
|
1493
|
-
#### create(o, properties)
|
|
1495
|
+
#### Call Signature
|
|
1494
1496
|
|
|
1495
1497
|
> `static` **create**(`o`, `properties`): `any`
|
|
1496
1498
|
|
|
1499
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:195
|
|
1500
|
+
|
|
1497
1501
|
Creates an object that has the specified prototype, and that optionally contains specified properties.
|
|
1498
1502
|
|
|
1499
1503
|
##### Parameters
|
|
1500
1504
|
|
|
1501
|
-
|
|
1505
|
+
###### o
|
|
1502
1506
|
|
|
1503
1507
|
Object to use as a prototype. May be null
|
|
1504
1508
|
|
|
1505
|
-
|
|
1509
|
+
`null` | `object`
|
|
1510
|
+
|
|
1511
|
+
###### properties
|
|
1512
|
+
|
|
1513
|
+
`PropertyDescriptorMap` & `ThisType`\<`any`\>
|
|
1506
1514
|
|
|
1507
1515
|
JavaScript object that contains one or more property descriptors.
|
|
1508
1516
|
|
|
@@ -1514,25 +1522,29 @@ JavaScript object that contains one or more property descriptors.
|
|
|
1514
1522
|
|
|
1515
1523
|
[`ToolFunc`](ToolFunc.md).[`create`](ToolFunc.md#create)
|
|
1516
1524
|
|
|
1517
|
-
##### Defined in
|
|
1518
|
-
|
|
1519
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:195
|
|
1520
|
-
|
|
1521
1525
|
***
|
|
1522
1526
|
|
|
1523
1527
|
### defineProperties()
|
|
1524
1528
|
|
|
1525
1529
|
> `static` **defineProperties**(`aTarget`, `aProperties`, `recreate`?): `any`
|
|
1526
1530
|
|
|
1531
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/advance.d.ts:11
|
|
1532
|
+
|
|
1527
1533
|
Adds one or more properties to an object, and/or modifies attributes of existing properties.
|
|
1528
1534
|
|
|
1529
1535
|
#### Parameters
|
|
1530
1536
|
|
|
1531
|
-
|
|
1537
|
+
##### aTarget
|
|
1538
|
+
|
|
1539
|
+
`any`
|
|
1540
|
+
|
|
1541
|
+
##### aProperties
|
|
1542
|
+
|
|
1543
|
+
`PropDescriptors`
|
|
1532
1544
|
|
|
1533
|
-
|
|
1545
|
+
##### recreate?
|
|
1534
1546
|
|
|
1535
|
-
|
|
1547
|
+
`boolean`
|
|
1536
1548
|
|
|
1537
1549
|
#### Returns
|
|
1538
1550
|
|
|
@@ -1540,11 +1552,7 @@ Adds one or more properties to an object, and/or modifies attributes of existing
|
|
|
1540
1552
|
|
|
1541
1553
|
#### Inherited from
|
|
1542
1554
|
|
|
1543
|
-
[`ToolFunc`](ToolFunc.md).[`defineProperties`](ToolFunc.md#defineproperties-
|
|
1544
|
-
|
|
1545
|
-
#### Defined in
|
|
1546
|
-
|
|
1547
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/advance.d.ts:11
|
|
1555
|
+
[`ToolFunc`](ToolFunc.md).[`defineProperties`](ToolFunc.md#defineproperties-2)
|
|
1548
1556
|
|
|
1549
1557
|
***
|
|
1550
1558
|
|
|
@@ -1552,6 +1560,8 @@ node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/ad
|
|
|
1552
1560
|
|
|
1553
1561
|
> `static` **defineProperty**\<`T`\>(`o`, `p`, `attributes`): `T`
|
|
1554
1562
|
|
|
1563
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:203
|
|
1564
|
+
|
|
1555
1565
|
Adds a property to an object, or modifies attributes of an existing property.
|
|
1556
1566
|
|
|
1557
1567
|
#### Type Parameters
|
|
@@ -1560,15 +1570,21 @@ Adds a property to an object, or modifies attributes of an existing property.
|
|
|
1560
1570
|
|
|
1561
1571
|
#### Parameters
|
|
1562
1572
|
|
|
1563
|
-
|
|
1573
|
+
##### o
|
|
1574
|
+
|
|
1575
|
+
`T`
|
|
1564
1576
|
|
|
1565
1577
|
Object on which to add or modify the property. This can be a native JavaScript object (that is, a user-defined object or a built in object) or a DOM object.
|
|
1566
1578
|
|
|
1567
|
-
|
|
1579
|
+
##### p
|
|
1580
|
+
|
|
1581
|
+
`PropertyKey`
|
|
1568
1582
|
|
|
1569
1583
|
The property name.
|
|
1570
1584
|
|
|
1571
|
-
|
|
1585
|
+
##### attributes
|
|
1586
|
+
|
|
1587
|
+
`PropertyDescriptor` & `ThisType`\<`any`\>
|
|
1572
1588
|
|
|
1573
1589
|
Descriptor for the property. It can be for a data property or an accessor property.
|
|
1574
1590
|
|
|
@@ -1580,17 +1596,15 @@ Descriptor for the property. It can be for a data property or an accessor proper
|
|
|
1580
1596
|
|
|
1581
1597
|
[`ToolFunc`](ToolFunc.md).[`defineProperty`](ToolFunc.md#defineproperty)
|
|
1582
1598
|
|
|
1583
|
-
#### Defined in
|
|
1584
|
-
|
|
1585
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:203
|
|
1586
|
-
|
|
1587
1599
|
***
|
|
1588
1600
|
|
|
1589
1601
|
### entries()
|
|
1590
1602
|
|
|
1591
|
-
####
|
|
1603
|
+
#### Call Signature
|
|
1604
|
+
|
|
1605
|
+
> `static` **entries**\<`T`\>(`o`): \[`string`, `T`\][]
|
|
1592
1606
|
|
|
1593
|
-
|
|
1607
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2017.object.d.ts:36
|
|
1594
1608
|
|
|
1595
1609
|
Returns an array of key/values of the enumerable own properties of an object
|
|
1596
1610
|
|
|
@@ -1600,74 +1614,74 @@ Returns an array of key/values of the enumerable own properties of an object
|
|
|
1600
1614
|
|
|
1601
1615
|
##### Parameters
|
|
1602
1616
|
|
|
1603
|
-
|
|
1617
|
+
###### o
|
|
1604
1618
|
|
|
1605
1619
|
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
1606
1620
|
|
|
1621
|
+
\{\} | `ArrayLike`\<`T`\>
|
|
1622
|
+
|
|
1607
1623
|
##### Returns
|
|
1608
1624
|
|
|
1609
|
-
[`string`, `T
|
|
1625
|
+
\[`string`, `T`\][]
|
|
1610
1626
|
|
|
1611
1627
|
##### Inherited from
|
|
1612
1628
|
|
|
1613
1629
|
[`ToolFunc`](ToolFunc.md).[`entries`](ToolFunc.md#entries)
|
|
1614
1630
|
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2017.object.d.ts:36
|
|
1631
|
+
#### Call Signature
|
|
1618
1632
|
|
|
1619
|
-
|
|
1633
|
+
> `static` **entries**(`o`): \[`string`, `any`\][]
|
|
1620
1634
|
|
|
1621
|
-
|
|
1635
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2017.object.d.ts:42
|
|
1622
1636
|
|
|
1623
1637
|
Returns an array of key/values of the enumerable own properties of an object
|
|
1624
1638
|
|
|
1625
1639
|
##### Parameters
|
|
1626
1640
|
|
|
1627
|
-
|
|
1641
|
+
###### o
|
|
1628
1642
|
|
|
1629
1643
|
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
1630
1644
|
|
|
1631
1645
|
##### Returns
|
|
1632
1646
|
|
|
1633
|
-
[`string`, `any
|
|
1647
|
+
\[`string`, `any`\][]
|
|
1634
1648
|
|
|
1635
1649
|
##### Inherited from
|
|
1636
1650
|
|
|
1637
1651
|
[`ToolFunc`](ToolFunc.md).[`entries`](ToolFunc.md#entries)
|
|
1638
1652
|
|
|
1639
|
-
##### Defined in
|
|
1640
|
-
|
|
1641
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2017.object.d.ts:42
|
|
1642
|
-
|
|
1643
1653
|
***
|
|
1644
1654
|
|
|
1645
1655
|
### fetch()
|
|
1646
1656
|
|
|
1647
1657
|
> `static` **fetch**(`name`, `objParam`?): `Promise`\<`any`\>
|
|
1648
1658
|
|
|
1659
|
+
Defined in: [packages/ai-tool/src/client-tools.ts:56](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/client-tools.ts#L56)
|
|
1660
|
+
|
|
1649
1661
|
#### Parameters
|
|
1650
1662
|
|
|
1651
|
-
|
|
1663
|
+
##### name
|
|
1664
|
+
|
|
1665
|
+
`string`
|
|
1666
|
+
|
|
1667
|
+
##### objParam?
|
|
1652
1668
|
|
|
1653
|
-
|
|
1669
|
+
`any`
|
|
1654
1670
|
|
|
1655
1671
|
#### Returns
|
|
1656
1672
|
|
|
1657
1673
|
`Promise`\<`any`\>
|
|
1658
1674
|
|
|
1659
|
-
#### Defined in
|
|
1660
|
-
|
|
1661
|
-
[packages/ai-tool/src/client-tools.ts:56](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/client-tools.ts#L56)
|
|
1662
|
-
|
|
1663
1675
|
***
|
|
1664
1676
|
|
|
1665
1677
|
### freeze()
|
|
1666
1678
|
|
|
1667
|
-
####
|
|
1679
|
+
#### Call Signature
|
|
1668
1680
|
|
|
1669
1681
|
> `static` **freeze**\<`T`\>(`f`): `T`
|
|
1670
1682
|
|
|
1683
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:222
|
|
1684
|
+
|
|
1671
1685
|
Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
|
|
1672
1686
|
|
|
1673
1687
|
##### Type Parameters
|
|
@@ -1676,7 +1690,9 @@ Prevents the modification of existing property attributes and values, and preven
|
|
|
1676
1690
|
|
|
1677
1691
|
##### Parameters
|
|
1678
1692
|
|
|
1679
|
-
|
|
1693
|
+
###### f
|
|
1694
|
+
|
|
1695
|
+
`T`
|
|
1680
1696
|
|
|
1681
1697
|
Object on which to lock the attributes.
|
|
1682
1698
|
|
|
@@ -1688,14 +1704,12 @@ Object on which to lock the attributes.
|
|
|
1688
1704
|
|
|
1689
1705
|
[`ToolFunc`](ToolFunc.md).[`freeze`](ToolFunc.md#freeze)
|
|
1690
1706
|
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:222
|
|
1694
|
-
|
|
1695
|
-
#### freeze(o)
|
|
1707
|
+
#### Call Signature
|
|
1696
1708
|
|
|
1697
1709
|
> `static` **freeze**\<`T`, `U`\>(`o`): `Readonly`\<`T`\>
|
|
1698
1710
|
|
|
1711
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:228
|
|
1712
|
+
|
|
1699
1713
|
Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
|
|
1700
1714
|
|
|
1701
1715
|
##### Type Parameters
|
|
@@ -1706,7 +1720,9 @@ Prevents the modification of existing property attributes and values, and preven
|
|
|
1706
1720
|
|
|
1707
1721
|
##### Parameters
|
|
1708
1722
|
|
|
1709
|
-
|
|
1723
|
+
###### o
|
|
1724
|
+
|
|
1725
|
+
`T`
|
|
1710
1726
|
|
|
1711
1727
|
Object on which to lock the attributes.
|
|
1712
1728
|
|
|
@@ -1718,14 +1734,12 @@ Object on which to lock the attributes.
|
|
|
1718
1734
|
|
|
1719
1735
|
[`ToolFunc`](ToolFunc.md).[`freeze`](ToolFunc.md#freeze)
|
|
1720
1736
|
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:228
|
|
1724
|
-
|
|
1725
|
-
#### freeze(o)
|
|
1737
|
+
#### Call Signature
|
|
1726
1738
|
|
|
1727
1739
|
> `static` **freeze**\<`T`\>(`o`): `Readonly`\<`T`\>
|
|
1728
1740
|
|
|
1741
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:234
|
|
1742
|
+
|
|
1729
1743
|
Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
|
|
1730
1744
|
|
|
1731
1745
|
##### Type Parameters
|
|
@@ -1734,7 +1748,9 @@ Prevents the modification of existing property attributes and values, and preven
|
|
|
1734
1748
|
|
|
1735
1749
|
##### Parameters
|
|
1736
1750
|
|
|
1737
|
-
|
|
1751
|
+
###### o
|
|
1752
|
+
|
|
1753
|
+
`T`
|
|
1738
1754
|
|
|
1739
1755
|
Object on which to lock the attributes.
|
|
1740
1756
|
|
|
@@ -1746,18 +1762,16 @@ Object on which to lock the attributes.
|
|
|
1746
1762
|
|
|
1747
1763
|
[`ToolFunc`](ToolFunc.md).[`freeze`](ToolFunc.md#freeze)
|
|
1748
1764
|
|
|
1749
|
-
##### Defined in
|
|
1750
|
-
|
|
1751
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:234
|
|
1752
|
-
|
|
1753
1765
|
***
|
|
1754
1766
|
|
|
1755
1767
|
### fromEntries()
|
|
1756
1768
|
|
|
1757
|
-
####
|
|
1769
|
+
#### Call Signature
|
|
1758
1770
|
|
|
1759
1771
|
> `static` **fromEntries**\<`T`\>(`entries`): `object`
|
|
1760
1772
|
|
|
1773
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2019.object.d.ts:26
|
|
1774
|
+
|
|
1761
1775
|
Returns an object created by key-value entries for properties and methods
|
|
1762
1776
|
|
|
1763
1777
|
##### Type Parameters
|
|
@@ -1766,7 +1780,9 @@ Returns an object created by key-value entries for properties and methods
|
|
|
1766
1780
|
|
|
1767
1781
|
##### Parameters
|
|
1768
1782
|
|
|
1769
|
-
|
|
1783
|
+
###### entries
|
|
1784
|
+
|
|
1785
|
+
`Iterable`\<readonly \[`PropertyKey`, `T`\]\>
|
|
1770
1786
|
|
|
1771
1787
|
An iterable object that contains key-value entries for properties and methods.
|
|
1772
1788
|
|
|
@@ -1778,19 +1794,19 @@ An iterable object that contains key-value entries for properties and methods.
|
|
|
1778
1794
|
|
|
1779
1795
|
[`ToolFunc`](ToolFunc.md).[`fromEntries`](ToolFunc.md#fromentries)
|
|
1780
1796
|
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2019.object.d.ts:26
|
|
1784
|
-
|
|
1785
|
-
#### fromEntries(entries)
|
|
1797
|
+
#### Call Signature
|
|
1786
1798
|
|
|
1787
1799
|
> `static` **fromEntries**(`entries`): `any`
|
|
1788
1800
|
|
|
1801
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2019.object.d.ts:32
|
|
1802
|
+
|
|
1789
1803
|
Returns an object created by key-value entries for properties and methods
|
|
1790
1804
|
|
|
1791
1805
|
##### Parameters
|
|
1792
1806
|
|
|
1793
|
-
|
|
1807
|
+
###### entries
|
|
1808
|
+
|
|
1809
|
+
`Iterable`\<readonly `any`[]\>
|
|
1794
1810
|
|
|
1795
1811
|
An iterable object that contains key-value entries for properties and methods.
|
|
1796
1812
|
|
|
@@ -1802,19 +1818,19 @@ An iterable object that contains key-value entries for properties and methods.
|
|
|
1802
1818
|
|
|
1803
1819
|
[`ToolFunc`](ToolFunc.md).[`fromEntries`](ToolFunc.md#fromentries)
|
|
1804
1820
|
|
|
1805
|
-
##### Defined in
|
|
1806
|
-
|
|
1807
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2019.object.d.ts:32
|
|
1808
|
-
|
|
1809
1821
|
***
|
|
1810
1822
|
|
|
1811
1823
|
### get()
|
|
1812
1824
|
|
|
1813
1825
|
> `static` **get**(`name`): [`ToolFunc`](ToolFunc.md)
|
|
1814
1826
|
|
|
1827
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:59](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L59)
|
|
1828
|
+
|
|
1815
1829
|
#### Parameters
|
|
1816
1830
|
|
|
1817
|
-
|
|
1831
|
+
##### name
|
|
1832
|
+
|
|
1833
|
+
`string`
|
|
1818
1834
|
|
|
1819
1835
|
#### Returns
|
|
1820
1836
|
|
|
@@ -1824,19 +1840,19 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2019.obj
|
|
|
1824
1840
|
|
|
1825
1841
|
[`ToolFunc`](ToolFunc.md).[`get`](ToolFunc.md#get)
|
|
1826
1842
|
|
|
1827
|
-
#### Defined in
|
|
1828
|
-
|
|
1829
|
-
[packages/ai-tool/src/tool-func.ts:77](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L77)
|
|
1830
|
-
|
|
1831
1843
|
***
|
|
1832
1844
|
|
|
1833
1845
|
### getAllByTag()
|
|
1834
1846
|
|
|
1835
1847
|
> `static` **getAllByTag**(`tagName`): [`ToolFunc`](ToolFunc.md)[]
|
|
1836
1848
|
|
|
1849
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:87](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L87)
|
|
1850
|
+
|
|
1837
1851
|
#### Parameters
|
|
1838
1852
|
|
|
1839
|
-
|
|
1853
|
+
##### tagName
|
|
1854
|
+
|
|
1855
|
+
`string`
|
|
1840
1856
|
|
|
1841
1857
|
#### Returns
|
|
1842
1858
|
|
|
@@ -1846,19 +1862,19 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2019.obj
|
|
|
1846
1862
|
|
|
1847
1863
|
[`ToolFunc`](ToolFunc.md).[`getAllByTag`](ToolFunc.md#getallbytag)
|
|
1848
1864
|
|
|
1849
|
-
#### Defined in
|
|
1850
|
-
|
|
1851
|
-
[packages/ai-tool/src/tool-func.ts:105](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L105)
|
|
1852
|
-
|
|
1853
1865
|
***
|
|
1854
1866
|
|
|
1855
1867
|
### getByTag()
|
|
1856
1868
|
|
|
1857
1869
|
> `static` **getByTag**(`tagName`): `undefined` \| [`ToolFunc`](ToolFunc.md)
|
|
1858
1870
|
|
|
1871
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:67](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L67)
|
|
1872
|
+
|
|
1859
1873
|
#### Parameters
|
|
1860
1874
|
|
|
1861
|
-
|
|
1875
|
+
##### tagName
|
|
1876
|
+
|
|
1877
|
+
`string`
|
|
1862
1878
|
|
|
1863
1879
|
#### Returns
|
|
1864
1880
|
|
|
@@ -1868,19 +1884,19 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2019.obj
|
|
|
1868
1884
|
|
|
1869
1885
|
[`ToolFunc`](ToolFunc.md).[`getByTag`](ToolFunc.md#getbytag)
|
|
1870
1886
|
|
|
1871
|
-
#### Defined in
|
|
1872
|
-
|
|
1873
|
-
[packages/ai-tool/src/tool-func.ts:85](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L85)
|
|
1874
|
-
|
|
1875
1887
|
***
|
|
1876
1888
|
|
|
1877
1889
|
### getFunc()
|
|
1878
1890
|
|
|
1879
1891
|
> `static` **getFunc**(`name`): `any`
|
|
1880
1892
|
|
|
1893
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:128](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L128)
|
|
1894
|
+
|
|
1881
1895
|
#### Parameters
|
|
1882
1896
|
|
|
1883
|
-
|
|
1897
|
+
##### name
|
|
1898
|
+
|
|
1899
|
+
`string`
|
|
1884
1900
|
|
|
1885
1901
|
#### Returns
|
|
1886
1902
|
|
|
@@ -1888,11 +1904,7 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2019.obj
|
|
|
1888
1904
|
|
|
1889
1905
|
#### Inherited from
|
|
1890
1906
|
|
|
1891
|
-
[`ToolFunc`](ToolFunc.md).[`getFunc`](ToolFunc.md#getfunc-
|
|
1892
|
-
|
|
1893
|
-
#### Defined in
|
|
1894
|
-
|
|
1895
|
-
[packages/ai-tool/src/tool-func.ts:146](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L146)
|
|
1907
|
+
[`ToolFunc`](ToolFunc.md).[`getFunc`](ToolFunc.md#getfunc-2)
|
|
1896
1908
|
|
|
1897
1909
|
***
|
|
1898
1910
|
|
|
@@ -1900,9 +1912,13 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2019.obj
|
|
|
1900
1912
|
|
|
1901
1913
|
> `static` **getFuncWithPos**(`name`): `any`
|
|
1902
1914
|
|
|
1915
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:149](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L149)
|
|
1916
|
+
|
|
1903
1917
|
#### Parameters
|
|
1904
1918
|
|
|
1905
|
-
|
|
1919
|
+
##### name
|
|
1920
|
+
|
|
1921
|
+
`string`
|
|
1906
1922
|
|
|
1907
1923
|
#### Returns
|
|
1908
1924
|
|
|
@@ -1910,11 +1926,7 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2019.obj
|
|
|
1910
1926
|
|
|
1911
1927
|
#### Inherited from
|
|
1912
1928
|
|
|
1913
|
-
[`ToolFunc`](ToolFunc.md).[`getFuncWithPos`](ToolFunc.md#getfuncwithpos-
|
|
1914
|
-
|
|
1915
|
-
#### Defined in
|
|
1916
|
-
|
|
1917
|
-
[packages/ai-tool/src/tool-func.ts:167](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L167)
|
|
1929
|
+
[`ToolFunc`](ToolFunc.md).[`getFuncWithPos`](ToolFunc.md#getfuncwithpos-2)
|
|
1918
1930
|
|
|
1919
1931
|
***
|
|
1920
1932
|
|
|
@@ -1922,16 +1934,22 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2019.obj
|
|
|
1922
1934
|
|
|
1923
1935
|
> `static` **getOwnPropertyDescriptor**(`o`, `p`): `undefined` \| `PropertyDescriptor`
|
|
1924
1936
|
|
|
1937
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:175
|
|
1938
|
+
|
|
1925
1939
|
Gets the own property descriptor of the specified object.
|
|
1926
1940
|
An own property descriptor is one that is defined directly on the object and is not inherited from the object's prototype.
|
|
1927
1941
|
|
|
1928
1942
|
#### Parameters
|
|
1929
1943
|
|
|
1930
|
-
|
|
1944
|
+
##### o
|
|
1945
|
+
|
|
1946
|
+
`any`
|
|
1931
1947
|
|
|
1932
1948
|
Object that contains the property.
|
|
1933
1949
|
|
|
1934
|
-
|
|
1950
|
+
##### p
|
|
1951
|
+
|
|
1952
|
+
`PropertyKey`
|
|
1935
1953
|
|
|
1936
1954
|
Name of the property.
|
|
1937
1955
|
|
|
@@ -1943,16 +1961,14 @@ Name of the property.
|
|
|
1943
1961
|
|
|
1944
1962
|
[`ToolFunc`](ToolFunc.md).[`getOwnPropertyDescriptor`](ToolFunc.md#getownpropertydescriptor)
|
|
1945
1963
|
|
|
1946
|
-
#### Defined in
|
|
1947
|
-
|
|
1948
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:175
|
|
1949
|
-
|
|
1950
1964
|
***
|
|
1951
1965
|
|
|
1952
1966
|
### getOwnPropertyDescriptors()
|
|
1953
1967
|
|
|
1954
1968
|
> `static` **getOwnPropertyDescriptors**\<`T`\>(`o`): \{ \[P in string \| number \| symbol\]: TypedPropertyDescriptor\<T\[P\]\> \} & `object`
|
|
1955
1969
|
|
|
1970
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2017.object.d.ts:48
|
|
1971
|
+
|
|
1956
1972
|
Returns an object containing all own property descriptors of an object
|
|
1957
1973
|
|
|
1958
1974
|
#### Type Parameters
|
|
@@ -1961,7 +1977,9 @@ Returns an object containing all own property descriptors of an object
|
|
|
1961
1977
|
|
|
1962
1978
|
#### Parameters
|
|
1963
1979
|
|
|
1964
|
-
|
|
1980
|
+
##### o
|
|
1981
|
+
|
|
1982
|
+
`T`
|
|
1965
1983
|
|
|
1966
1984
|
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
1967
1985
|
|
|
@@ -1973,22 +1991,22 @@ Object that contains the properties and methods. This can be an object that you
|
|
|
1973
1991
|
|
|
1974
1992
|
[`ToolFunc`](ToolFunc.md).[`getOwnPropertyDescriptors`](ToolFunc.md#getownpropertydescriptors)
|
|
1975
1993
|
|
|
1976
|
-
#### Defined in
|
|
1977
|
-
|
|
1978
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2017.object.d.ts:48
|
|
1979
|
-
|
|
1980
1994
|
***
|
|
1981
1995
|
|
|
1982
1996
|
### getOwnPropertyNames()
|
|
1983
1997
|
|
|
1984
1998
|
> `static` **getOwnPropertyNames**(`o`): `string`[]
|
|
1985
1999
|
|
|
2000
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:182
|
|
2001
|
+
|
|
1986
2002
|
Returns the names of the own properties of an object. The own properties of an object are those that are defined directly
|
|
1987
2003
|
on that object, and are not inherited from the object's prototype. The properties of an object include both fields (objects) and functions.
|
|
1988
2004
|
|
|
1989
2005
|
#### Parameters
|
|
1990
2006
|
|
|
1991
|
-
|
|
2007
|
+
##### o
|
|
2008
|
+
|
|
2009
|
+
`any`
|
|
1992
2010
|
|
|
1993
2011
|
Object that contains the own properties.
|
|
1994
2012
|
|
|
@@ -2000,21 +2018,21 @@ Object that contains the own properties.
|
|
|
2000
2018
|
|
|
2001
2019
|
[`ToolFunc`](ToolFunc.md).[`getOwnPropertyNames`](ToolFunc.md#getownpropertynames)
|
|
2002
2020
|
|
|
2003
|
-
#### Defined in
|
|
2004
|
-
|
|
2005
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:182
|
|
2006
|
-
|
|
2007
2021
|
***
|
|
2008
2022
|
|
|
2009
2023
|
### getOwnPropertySymbols()
|
|
2010
2024
|
|
|
2011
2025
|
> `static` **getOwnPropertySymbols**(`o`): `symbol`[]
|
|
2012
2026
|
|
|
2027
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2015.core.d.ts:319
|
|
2028
|
+
|
|
2013
2029
|
Returns an array of all symbol properties found directly on object o.
|
|
2014
2030
|
|
|
2015
2031
|
#### Parameters
|
|
2016
2032
|
|
|
2017
|
-
|
|
2033
|
+
##### o
|
|
2034
|
+
|
|
2035
|
+
`any`
|
|
2018
2036
|
|
|
2019
2037
|
Object to retrieve the symbols from.
|
|
2020
2038
|
|
|
@@ -2026,16 +2044,14 @@ Object to retrieve the symbols from.
|
|
|
2026
2044
|
|
|
2027
2045
|
[`ToolFunc`](ToolFunc.md).[`getOwnPropertySymbols`](ToolFunc.md#getownpropertysymbols)
|
|
2028
2046
|
|
|
2029
|
-
#### Defined in
|
|
2030
|
-
|
|
2031
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:319
|
|
2032
|
-
|
|
2033
2047
|
***
|
|
2034
2048
|
|
|
2035
2049
|
### getProperties()
|
|
2036
2050
|
|
|
2037
2051
|
> `static` **getProperties**(): `PropDescriptors`
|
|
2038
2052
|
|
|
2053
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/advance.d.ts:10
|
|
2054
|
+
|
|
2039
2055
|
get all properties descriptor include inherited.
|
|
2040
2056
|
|
|
2041
2057
|
#### Returns
|
|
@@ -2044,11 +2060,7 @@ get all properties descriptor include inherited.
|
|
|
2044
2060
|
|
|
2045
2061
|
#### Inherited from
|
|
2046
2062
|
|
|
2047
|
-
[`ToolFunc`](ToolFunc.md).[`getProperties`](ToolFunc.md#getproperties-
|
|
2048
|
-
|
|
2049
|
-
#### Defined in
|
|
2050
|
-
|
|
2051
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/advance.d.ts:10
|
|
2063
|
+
[`ToolFunc`](ToolFunc.md).[`getProperties`](ToolFunc.md#getproperties-2)
|
|
2052
2064
|
|
|
2053
2065
|
***
|
|
2054
2066
|
|
|
@@ -2056,11 +2068,15 @@ node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/ad
|
|
|
2056
2068
|
|
|
2057
2069
|
> `static` **getPrototypeOf**(`o`): `any`
|
|
2058
2070
|
|
|
2071
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:167
|
|
2072
|
+
|
|
2059
2073
|
Returns the prototype of an object.
|
|
2060
2074
|
|
|
2061
2075
|
#### Parameters
|
|
2062
2076
|
|
|
2063
|
-
|
|
2077
|
+
##### o
|
|
2078
|
+
|
|
2079
|
+
`any`
|
|
2064
2080
|
|
|
2065
2081
|
The object that references the prototype.
|
|
2066
2082
|
|
|
@@ -2072,19 +2088,19 @@ The object that references the prototype.
|
|
|
2072
2088
|
|
|
2073
2089
|
[`ToolFunc`](ToolFunc.md).[`getPrototypeOf`](ToolFunc.md#getprototypeof)
|
|
2074
2090
|
|
|
2075
|
-
#### Defined in
|
|
2076
|
-
|
|
2077
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:167
|
|
2078
|
-
|
|
2079
2091
|
***
|
|
2080
2092
|
|
|
2081
2093
|
### hasAsyncFeature()
|
|
2082
2094
|
|
|
2083
2095
|
> `static` **hasAsyncFeature**(`feature`): `boolean`
|
|
2084
2096
|
|
|
2097
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:105](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L105)
|
|
2098
|
+
|
|
2085
2099
|
#### Parameters
|
|
2086
2100
|
|
|
2087
|
-
|
|
2101
|
+
##### feature
|
|
2102
|
+
|
|
2103
|
+
[`AsyncFeatureBits`](../enumerations/AsyncFeatureBits.md)
|
|
2088
2104
|
|
|
2089
2105
|
#### Returns
|
|
2090
2106
|
|
|
@@ -2092,11 +2108,7 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
2092
2108
|
|
|
2093
2109
|
#### Inherited from
|
|
2094
2110
|
|
|
2095
|
-
[`ToolFunc`](ToolFunc.md).[`hasAsyncFeature`](ToolFunc.md#hasasyncfeature-
|
|
2096
|
-
|
|
2097
|
-
#### Defined in
|
|
2098
|
-
|
|
2099
|
-
[packages/ai-tool/src/tool-func.ts:123](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L123)
|
|
2111
|
+
[`ToolFunc`](ToolFunc.md).[`hasAsyncFeature`](ToolFunc.md#hasasyncfeature-2)
|
|
2100
2112
|
|
|
2101
2113
|
***
|
|
2102
2114
|
|
|
@@ -2104,15 +2116,21 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
2104
2116
|
|
|
2105
2117
|
> `static` **hasOwn**(`o`, `v`): `boolean`
|
|
2106
2118
|
|
|
2119
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2022.object.d.ts:25
|
|
2120
|
+
|
|
2107
2121
|
Determines whether an object has a property with the specified name.
|
|
2108
2122
|
|
|
2109
2123
|
#### Parameters
|
|
2110
2124
|
|
|
2111
|
-
|
|
2125
|
+
##### o
|
|
2126
|
+
|
|
2127
|
+
`object`
|
|
2112
2128
|
|
|
2113
2129
|
An object.
|
|
2114
2130
|
|
|
2115
|
-
|
|
2131
|
+
##### v
|
|
2132
|
+
|
|
2133
|
+
`PropertyKey`
|
|
2116
2134
|
|
|
2117
2135
|
A property name.
|
|
2118
2136
|
|
|
@@ -2124,25 +2142,27 @@ A property name.
|
|
|
2124
2142
|
|
|
2125
2143
|
[`ToolFunc`](ToolFunc.md).[`hasOwn`](ToolFunc.md#hasown)
|
|
2126
2144
|
|
|
2127
|
-
#### Defined in
|
|
2128
|
-
|
|
2129
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2022.object.d.ts:25
|
|
2130
|
-
|
|
2131
2145
|
***
|
|
2132
2146
|
|
|
2133
2147
|
### is()
|
|
2134
2148
|
|
|
2135
2149
|
> `static` **is**(`value1`, `value2`): `boolean`
|
|
2136
2150
|
|
|
2151
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2015.core.d.ts:332
|
|
2152
|
+
|
|
2137
2153
|
Returns true if the values are the same value, false otherwise.
|
|
2138
2154
|
|
|
2139
2155
|
#### Parameters
|
|
2140
2156
|
|
|
2141
|
-
|
|
2157
|
+
##### value1
|
|
2158
|
+
|
|
2159
|
+
`any`
|
|
2142
2160
|
|
|
2143
2161
|
The first value.
|
|
2144
2162
|
|
|
2145
|
-
|
|
2163
|
+
##### value2
|
|
2164
|
+
|
|
2165
|
+
`any`
|
|
2146
2166
|
|
|
2147
2167
|
The second value.
|
|
2148
2168
|
|
|
@@ -2154,21 +2174,21 @@ The second value.
|
|
|
2154
2174
|
|
|
2155
2175
|
[`ToolFunc`](ToolFunc.md).[`is`](ToolFunc.md#is)
|
|
2156
2176
|
|
|
2157
|
-
#### Defined in
|
|
2158
|
-
|
|
2159
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:332
|
|
2160
|
-
|
|
2161
2177
|
***
|
|
2162
2178
|
|
|
2163
2179
|
### isExtensible()
|
|
2164
2180
|
|
|
2165
2181
|
> `static` **isExtensible**(`o`): `boolean`
|
|
2166
2182
|
|
|
2183
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:258
|
|
2184
|
+
|
|
2167
2185
|
Returns a value that indicates whether new properties can be added to an object.
|
|
2168
2186
|
|
|
2169
2187
|
#### Parameters
|
|
2170
2188
|
|
|
2171
|
-
|
|
2189
|
+
##### o
|
|
2190
|
+
|
|
2191
|
+
`any`
|
|
2172
2192
|
|
|
2173
2193
|
Object to test.
|
|
2174
2194
|
|
|
@@ -2180,21 +2200,21 @@ Object to test.
|
|
|
2180
2200
|
|
|
2181
2201
|
[`ToolFunc`](ToolFunc.md).[`isExtensible`](ToolFunc.md#isextensible)
|
|
2182
2202
|
|
|
2183
|
-
#### Defined in
|
|
2184
|
-
|
|
2185
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:258
|
|
2186
|
-
|
|
2187
2203
|
***
|
|
2188
2204
|
|
|
2189
2205
|
### isFrozen()
|
|
2190
2206
|
|
|
2191
2207
|
> `static` **isFrozen**(`o`): `boolean`
|
|
2192
2208
|
|
|
2209
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:252
|
|
2210
|
+
|
|
2193
2211
|
Returns true if existing property attributes and values cannot be modified in an object, and new properties cannot be added to the object.
|
|
2194
2212
|
|
|
2195
2213
|
#### Parameters
|
|
2196
2214
|
|
|
2197
|
-
|
|
2215
|
+
##### o
|
|
2216
|
+
|
|
2217
|
+
`any`
|
|
2198
2218
|
|
|
2199
2219
|
Object to test.
|
|
2200
2220
|
|
|
@@ -2206,21 +2226,21 @@ Object to test.
|
|
|
2206
2226
|
|
|
2207
2227
|
[`ToolFunc`](ToolFunc.md).[`isFrozen`](ToolFunc.md#isfrozen)
|
|
2208
2228
|
|
|
2209
|
-
#### Defined in
|
|
2210
|
-
|
|
2211
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:252
|
|
2212
|
-
|
|
2213
2229
|
***
|
|
2214
2230
|
|
|
2215
2231
|
### isSealed()
|
|
2216
2232
|
|
|
2217
2233
|
> `static` **isSealed**(`o`): `boolean`
|
|
2218
2234
|
|
|
2235
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:246
|
|
2236
|
+
|
|
2219
2237
|
Returns true if existing property attributes cannot be modified in an object and new properties cannot be added to the object.
|
|
2220
2238
|
|
|
2221
2239
|
#### Parameters
|
|
2222
2240
|
|
|
2223
|
-
|
|
2241
|
+
##### o
|
|
2242
|
+
|
|
2243
|
+
`any`
|
|
2224
2244
|
|
|
2225
2245
|
Object to test.
|
|
2226
2246
|
|
|
@@ -2232,23 +2252,23 @@ Object to test.
|
|
|
2232
2252
|
|
|
2233
2253
|
[`ToolFunc`](ToolFunc.md).[`isSealed`](ToolFunc.md#issealed)
|
|
2234
2254
|
|
|
2235
|
-
#### Defined in
|
|
2236
|
-
|
|
2237
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:246
|
|
2238
|
-
|
|
2239
2255
|
***
|
|
2240
2256
|
|
|
2241
2257
|
### keys()
|
|
2242
2258
|
|
|
2243
|
-
####
|
|
2259
|
+
#### Call Signature
|
|
2244
2260
|
|
|
2245
2261
|
> `static` **keys**(`o`): `string`[]
|
|
2246
2262
|
|
|
2263
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:264
|
|
2264
|
+
|
|
2247
2265
|
Returns the names of the enumerable string properties and methods of an object.
|
|
2248
2266
|
|
|
2249
2267
|
##### Parameters
|
|
2250
2268
|
|
|
2251
|
-
|
|
2269
|
+
###### o
|
|
2270
|
+
|
|
2271
|
+
`object`
|
|
2252
2272
|
|
|
2253
2273
|
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
2254
2274
|
|
|
@@ -2260,19 +2280,17 @@ Object that contains the properties and methods. This can be an object that you
|
|
|
2260
2280
|
|
|
2261
2281
|
[`ToolFunc`](ToolFunc.md).[`keys`](ToolFunc.md#keys)
|
|
2262
2282
|
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:264
|
|
2266
|
-
|
|
2267
|
-
#### keys(o)
|
|
2283
|
+
#### Call Signature
|
|
2268
2284
|
|
|
2269
2285
|
> `static` **keys**(`o`): `string`[]
|
|
2270
2286
|
|
|
2287
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2015.core.d.ts:325
|
|
2288
|
+
|
|
2271
2289
|
Returns the names of the enumerable string properties and methods of an object.
|
|
2272
2290
|
|
|
2273
2291
|
##### Parameters
|
|
2274
2292
|
|
|
2275
|
-
|
|
2293
|
+
###### o
|
|
2276
2294
|
|
|
2277
2295
|
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
2278
2296
|
|
|
@@ -2284,16 +2302,14 @@ Object that contains the properties and methods. This can be an object that you
|
|
|
2284
2302
|
|
|
2285
2303
|
[`ToolFunc`](ToolFunc.md).[`keys`](ToolFunc.md#keys)
|
|
2286
2304
|
|
|
2287
|
-
##### Defined in
|
|
2288
|
-
|
|
2289
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:325
|
|
2290
|
-
|
|
2291
2305
|
***
|
|
2292
2306
|
|
|
2293
2307
|
### list()
|
|
2294
2308
|
|
|
2295
2309
|
> `static` **list**(): [`Funcs`](../interfaces/Funcs.md)
|
|
2296
2310
|
|
|
2311
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:63](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L63)
|
|
2312
|
+
|
|
2297
2313
|
#### Returns
|
|
2298
2314
|
|
|
2299
2315
|
[`Funcs`](../interfaces/Funcs.md)
|
|
@@ -2302,48 +2318,44 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2015.cor
|
|
|
2302
2318
|
|
|
2303
2319
|
[`ToolFunc`](ToolFunc.md).[`list`](ToolFunc.md#list)
|
|
2304
2320
|
|
|
2305
|
-
#### Defined in
|
|
2306
|
-
|
|
2307
|
-
[packages/ai-tool/src/tool-func.ts:81](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L81)
|
|
2308
|
-
|
|
2309
2321
|
***
|
|
2310
2322
|
|
|
2311
2323
|
### loadFrom()
|
|
2312
2324
|
|
|
2313
2325
|
> `static` **loadFrom**(): `Promise`\<`void`\>
|
|
2314
2326
|
|
|
2327
|
+
Defined in: [packages/ai-tool/src/client-tools.ts:29](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/client-tools.ts#L29)
|
|
2328
|
+
|
|
2315
2329
|
#### Returns
|
|
2316
2330
|
|
|
2317
2331
|
`Promise`\<`void`\>
|
|
2318
2332
|
|
|
2319
|
-
#### Defined in
|
|
2320
|
-
|
|
2321
|
-
[packages/ai-tool/src/client-tools.ts:29](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/client-tools.ts#L29)
|
|
2322
|
-
|
|
2323
2333
|
***
|
|
2324
2334
|
|
|
2325
2335
|
### loadFromSync()
|
|
2326
2336
|
|
|
2327
2337
|
> `static` **loadFromSync**(`items`): `void`
|
|
2328
2338
|
|
|
2339
|
+
Defined in: [packages/ai-tool/src/client-tools.ts:41](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/client-tools.ts#L41)
|
|
2340
|
+
|
|
2329
2341
|
#### Parameters
|
|
2330
2342
|
|
|
2331
|
-
|
|
2343
|
+
##### items
|
|
2344
|
+
|
|
2345
|
+
[`Funcs`](../interfaces/Funcs.md)
|
|
2332
2346
|
|
|
2333
2347
|
#### Returns
|
|
2334
2348
|
|
|
2335
2349
|
`void`
|
|
2336
2350
|
|
|
2337
|
-
#### Defined in
|
|
2338
|
-
|
|
2339
|
-
[packages/ai-tool/src/client-tools.ts:41](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/client-tools.ts#L41)
|
|
2340
|
-
|
|
2341
2351
|
***
|
|
2342
2352
|
|
|
2343
2353
|
### preventExtensions()
|
|
2344
2354
|
|
|
2345
2355
|
> `static` **preventExtensions**\<`T`\>(`o`): `T`
|
|
2346
2356
|
|
|
2357
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:240
|
|
2358
|
+
|
|
2347
2359
|
Prevents the addition of new properties to an object.
|
|
2348
2360
|
|
|
2349
2361
|
#### Type Parameters
|
|
@@ -2352,7 +2364,9 @@ Prevents the addition of new properties to an object.
|
|
|
2352
2364
|
|
|
2353
2365
|
#### Parameters
|
|
2354
2366
|
|
|
2355
|
-
|
|
2367
|
+
##### o
|
|
2368
|
+
|
|
2369
|
+
`T`
|
|
2356
2370
|
|
|
2357
2371
|
Object to make non-extensible.
|
|
2358
2372
|
|
|
@@ -2364,23 +2378,25 @@ Object to make non-extensible.
|
|
|
2364
2378
|
|
|
2365
2379
|
[`ToolFunc`](ToolFunc.md).[`preventExtensions`](ToolFunc.md#preventextensions)
|
|
2366
2380
|
|
|
2367
|
-
#### Defined in
|
|
2368
|
-
|
|
2369
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:240
|
|
2370
|
-
|
|
2371
2381
|
***
|
|
2372
2382
|
|
|
2373
2383
|
### register()
|
|
2374
2384
|
|
|
2375
|
-
####
|
|
2385
|
+
#### Call Signature
|
|
2376
2386
|
|
|
2377
2387
|
> `static` **register**(`name`, `options`): `boolean` \| [`ToolFunc`](ToolFunc.md)
|
|
2378
2388
|
|
|
2389
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:154](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L154)
|
|
2390
|
+
|
|
2379
2391
|
##### Parameters
|
|
2380
2392
|
|
|
2381
|
-
|
|
2393
|
+
###### name
|
|
2394
|
+
|
|
2395
|
+
`string`
|
|
2396
|
+
|
|
2397
|
+
###### options
|
|
2382
2398
|
|
|
2383
|
-
|
|
2399
|
+
[`FuncItem`](../interfaces/FuncItem.md)
|
|
2384
2400
|
|
|
2385
2401
|
##### Returns
|
|
2386
2402
|
|
|
@@ -2388,21 +2404,23 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:2
|
|
|
2388
2404
|
|
|
2389
2405
|
##### Inherited from
|
|
2390
2406
|
|
|
2391
|
-
[`ToolFunc`](ToolFunc.md).[`register`](ToolFunc.md#register-
|
|
2392
|
-
|
|
2393
|
-
##### Defined in
|
|
2394
|
-
|
|
2395
|
-
[packages/ai-tool/src/tool-func.ts:172](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L172)
|
|
2407
|
+
[`ToolFunc`](ToolFunc.md).[`register`](ToolFunc.md#register-2)
|
|
2396
2408
|
|
|
2397
|
-
####
|
|
2409
|
+
#### Call Signature
|
|
2398
2410
|
|
|
2399
2411
|
> `static` **register**(`func`, `options`): `boolean` \| [`ToolFunc`](ToolFunc.md)
|
|
2400
2412
|
|
|
2413
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:155](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L155)
|
|
2414
|
+
|
|
2401
2415
|
##### Parameters
|
|
2402
2416
|
|
|
2403
|
-
|
|
2417
|
+
###### func
|
|
2418
|
+
|
|
2419
|
+
`Function`
|
|
2404
2420
|
|
|
2405
|
-
|
|
2421
|
+
###### options
|
|
2422
|
+
|
|
2423
|
+
[`FuncItem`](../interfaces/FuncItem.md)
|
|
2406
2424
|
|
|
2407
2425
|
##### Returns
|
|
2408
2426
|
|
|
@@ -2410,21 +2428,23 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:2
|
|
|
2410
2428
|
|
|
2411
2429
|
##### Inherited from
|
|
2412
2430
|
|
|
2413
|
-
[`ToolFunc`](ToolFunc.md).[`register`](ToolFunc.md#register-
|
|
2414
|
-
|
|
2415
|
-
##### Defined in
|
|
2431
|
+
[`ToolFunc`](ToolFunc.md).[`register`](ToolFunc.md#register-2)
|
|
2416
2432
|
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
#### register(name, options)
|
|
2433
|
+
#### Call Signature
|
|
2420
2434
|
|
|
2421
2435
|
> `static` **register**(`name`, `options`?): `boolean` \| [`ToolFunc`](ToolFunc.md)
|
|
2422
2436
|
|
|
2437
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:156](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L156)
|
|
2438
|
+
|
|
2423
2439
|
##### Parameters
|
|
2424
2440
|
|
|
2425
|
-
|
|
2441
|
+
###### name
|
|
2442
|
+
|
|
2443
|
+
`string` | `Function` | [`ToolFunc`](ToolFunc.md) | [`FuncItem`](../interfaces/FuncItem.md)
|
|
2444
|
+
|
|
2445
|
+
###### options?
|
|
2426
2446
|
|
|
2427
|
-
|
|
2447
|
+
[`FuncItem`](../interfaces/FuncItem.md)
|
|
2428
2448
|
|
|
2429
2449
|
##### Returns
|
|
2430
2450
|
|
|
@@ -2432,11 +2452,7 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:2
|
|
|
2432
2452
|
|
|
2433
2453
|
##### Inherited from
|
|
2434
2454
|
|
|
2435
|
-
[`ToolFunc`](ToolFunc.md).[`register`](ToolFunc.md#register-
|
|
2436
|
-
|
|
2437
|
-
##### Defined in
|
|
2438
|
-
|
|
2439
|
-
[packages/ai-tool/src/tool-func.ts:174](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L174)
|
|
2455
|
+
[`ToolFunc`](ToolFunc.md).[`register`](ToolFunc.md#register-2)
|
|
2440
2456
|
|
|
2441
2457
|
***
|
|
2442
2458
|
|
|
@@ -2444,11 +2460,17 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:2
|
|
|
2444
2460
|
|
|
2445
2461
|
> `static` **run**(`name`, `params`?): `Promise`\<`any`\>
|
|
2446
2462
|
|
|
2463
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:112](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L112)
|
|
2464
|
+
|
|
2447
2465
|
#### Parameters
|
|
2448
2466
|
|
|
2449
|
-
|
|
2467
|
+
##### name
|
|
2468
|
+
|
|
2469
|
+
`string`
|
|
2470
|
+
|
|
2471
|
+
##### params?
|
|
2450
2472
|
|
|
2451
|
-
|
|
2473
|
+
`any`
|
|
2452
2474
|
|
|
2453
2475
|
#### Returns
|
|
2454
2476
|
|
|
@@ -2456,11 +2478,7 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:2
|
|
|
2456
2478
|
|
|
2457
2479
|
#### Inherited from
|
|
2458
2480
|
|
|
2459
|
-
[`ToolFunc`](ToolFunc.md).[`run`](ToolFunc.md#run-
|
|
2460
|
-
|
|
2461
|
-
#### Defined in
|
|
2462
|
-
|
|
2463
|
-
[packages/ai-tool/src/tool-func.ts:130](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L130)
|
|
2481
|
+
[`ToolFunc`](ToolFunc.md).[`run`](ToolFunc.md#run-2)
|
|
2464
2482
|
|
|
2465
2483
|
***
|
|
2466
2484
|
|
|
@@ -2468,23 +2486,25 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:2
|
|
|
2468
2486
|
|
|
2469
2487
|
> `static` **runSync**(`name`, `params`?): `any`
|
|
2470
2488
|
|
|
2489
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:120](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L120)
|
|
2490
|
+
|
|
2471
2491
|
#### Parameters
|
|
2472
2492
|
|
|
2473
|
-
|
|
2493
|
+
##### name
|
|
2474
2494
|
|
|
2475
|
-
|
|
2495
|
+
`string`
|
|
2476
2496
|
|
|
2477
|
-
|
|
2497
|
+
##### params?
|
|
2478
2498
|
|
|
2479
2499
|
`any`
|
|
2480
2500
|
|
|
2481
|
-
####
|
|
2501
|
+
#### Returns
|
|
2482
2502
|
|
|
2483
|
-
|
|
2503
|
+
`any`
|
|
2484
2504
|
|
|
2485
|
-
####
|
|
2505
|
+
#### Inherited from
|
|
2486
2506
|
|
|
2487
|
-
[
|
|
2507
|
+
[`ToolFunc`](ToolFunc.md).[`runSync`](ToolFunc.md#runsync-2)
|
|
2488
2508
|
|
|
2489
2509
|
***
|
|
2490
2510
|
|
|
@@ -2492,11 +2512,17 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:2
|
|
|
2492
2512
|
|
|
2493
2513
|
> `static` **runWithPos**(`name`, ...`params`): `Promise`\<`any`\>
|
|
2494
2514
|
|
|
2515
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:133](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L133)
|
|
2516
|
+
|
|
2495
2517
|
#### Parameters
|
|
2496
2518
|
|
|
2497
|
-
|
|
2519
|
+
##### name
|
|
2520
|
+
|
|
2521
|
+
`string`
|
|
2522
|
+
|
|
2523
|
+
##### params
|
|
2498
2524
|
|
|
2499
|
-
|
|
2525
|
+
...`any`[]
|
|
2500
2526
|
|
|
2501
2527
|
#### Returns
|
|
2502
2528
|
|
|
@@ -2504,11 +2530,7 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:2
|
|
|
2504
2530
|
|
|
2505
2531
|
#### Inherited from
|
|
2506
2532
|
|
|
2507
|
-
[`ToolFunc`](ToolFunc.md).[`runWithPos`](ToolFunc.md#runwithpos-
|
|
2508
|
-
|
|
2509
|
-
#### Defined in
|
|
2510
|
-
|
|
2511
|
-
[packages/ai-tool/src/tool-func.ts:151](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L151)
|
|
2533
|
+
[`ToolFunc`](ToolFunc.md).[`runWithPos`](ToolFunc.md#runwithpos-2)
|
|
2512
2534
|
|
|
2513
2535
|
***
|
|
2514
2536
|
|
|
@@ -2516,11 +2538,17 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:2
|
|
|
2516
2538
|
|
|
2517
2539
|
> `static` **runWithPosSync**(`name`, ...`params`): `any`
|
|
2518
2540
|
|
|
2541
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:141](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L141)
|
|
2542
|
+
|
|
2519
2543
|
#### Parameters
|
|
2520
2544
|
|
|
2521
|
-
|
|
2545
|
+
##### name
|
|
2546
|
+
|
|
2547
|
+
`string`
|
|
2548
|
+
|
|
2549
|
+
##### params
|
|
2522
2550
|
|
|
2523
|
-
|
|
2551
|
+
...`any`[]
|
|
2524
2552
|
|
|
2525
2553
|
#### Returns
|
|
2526
2554
|
|
|
@@ -2528,11 +2556,7 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:2
|
|
|
2528
2556
|
|
|
2529
2557
|
#### Inherited from
|
|
2530
2558
|
|
|
2531
|
-
[`ToolFunc`](ToolFunc.md).[`runWithPosSync`](ToolFunc.md#runwithpossync-
|
|
2532
|
-
|
|
2533
|
-
#### Defined in
|
|
2534
|
-
|
|
2535
|
-
[packages/ai-tool/src/tool-func.ts:159](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L159)
|
|
2559
|
+
[`ToolFunc`](ToolFunc.md).[`runWithPosSync`](ToolFunc.md#runwithpossync-2)
|
|
2536
2560
|
|
|
2537
2561
|
***
|
|
2538
2562
|
|
|
@@ -2540,6 +2564,8 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:2
|
|
|
2540
2564
|
|
|
2541
2565
|
> `static` **seal**\<`T`\>(`o`): `T`
|
|
2542
2566
|
|
|
2567
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:216
|
|
2568
|
+
|
|
2543
2569
|
Prevents the modification of attributes of existing properties, and prevents the addition of new properties.
|
|
2544
2570
|
|
|
2545
2571
|
#### Type Parameters
|
|
@@ -2548,7 +2574,9 @@ Prevents the modification of attributes of existing properties, and prevents the
|
|
|
2548
2574
|
|
|
2549
2575
|
#### Parameters
|
|
2550
2576
|
|
|
2551
|
-
|
|
2577
|
+
##### o
|
|
2578
|
+
|
|
2579
|
+
`T`
|
|
2552
2580
|
|
|
2553
2581
|
Object on which to lock the attributes.
|
|
2554
2582
|
|
|
@@ -2560,46 +2588,48 @@ Object on which to lock the attributes.
|
|
|
2560
2588
|
|
|
2561
2589
|
[`ToolFunc`](ToolFunc.md).[`seal`](ToolFunc.md#seal)
|
|
2562
2590
|
|
|
2563
|
-
#### Defined in
|
|
2564
|
-
|
|
2565
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:216
|
|
2566
|
-
|
|
2567
2591
|
***
|
|
2568
2592
|
|
|
2569
2593
|
### setApiRoot()
|
|
2570
2594
|
|
|
2571
2595
|
> `static` **setApiRoot**(`v`): `void`
|
|
2572
2596
|
|
|
2597
|
+
Defined in: [packages/ai-tool/src/client-tools.ts:23](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/client-tools.ts#L23)
|
|
2598
|
+
|
|
2573
2599
|
#### Parameters
|
|
2574
2600
|
|
|
2575
|
-
|
|
2601
|
+
##### v
|
|
2602
|
+
|
|
2603
|
+
`string`
|
|
2576
2604
|
|
|
2577
2605
|
#### Returns
|
|
2578
2606
|
|
|
2579
2607
|
`void`
|
|
2580
2608
|
|
|
2581
|
-
#### Defined in
|
|
2582
|
-
|
|
2583
|
-
[packages/ai-tool/src/client-tools.ts:23](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/client-tools.ts#L23)
|
|
2584
|
-
|
|
2585
2609
|
***
|
|
2586
2610
|
|
|
2587
2611
|
### setPrototypeOf()
|
|
2588
2612
|
|
|
2589
2613
|
> `static` **setPrototypeOf**(`o`, `proto`): `any`
|
|
2590
2614
|
|
|
2615
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2015.core.d.ts:339
|
|
2616
|
+
|
|
2591
2617
|
Sets the prototype of a specified object o to object proto or null. Returns the object o.
|
|
2592
2618
|
|
|
2593
2619
|
#### Parameters
|
|
2594
2620
|
|
|
2595
|
-
|
|
2621
|
+
##### o
|
|
2622
|
+
|
|
2623
|
+
`any`
|
|
2596
2624
|
|
|
2597
2625
|
The object to change its prototype.
|
|
2598
2626
|
|
|
2599
|
-
|
|
2627
|
+
##### proto
|
|
2600
2628
|
|
|
2601
2629
|
The value of the new prototype or null.
|
|
2602
2630
|
|
|
2631
|
+
`null` | `object`
|
|
2632
|
+
|
|
2603
2633
|
#### Returns
|
|
2604
2634
|
|
|
2605
2635
|
`any`
|
|
@@ -2608,19 +2638,19 @@ The value of the new prototype or null.
|
|
|
2608
2638
|
|
|
2609
2639
|
[`ToolFunc`](ToolFunc.md).[`setPrototypeOf`](ToolFunc.md#setprototypeof)
|
|
2610
2640
|
|
|
2611
|
-
#### Defined in
|
|
2612
|
-
|
|
2613
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:339
|
|
2614
|
-
|
|
2615
2641
|
***
|
|
2616
2642
|
|
|
2617
2643
|
### unregister()
|
|
2618
2644
|
|
|
2619
2645
|
> `static` **unregister**(`name`): `undefined` \| [`ToolFunc`](ToolFunc.md)
|
|
2620
2646
|
|
|
2647
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:184](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L184)
|
|
2648
|
+
|
|
2621
2649
|
#### Parameters
|
|
2622
2650
|
|
|
2623
|
-
|
|
2651
|
+
##### name
|
|
2652
|
+
|
|
2653
|
+
`string`
|
|
2624
2654
|
|
|
2625
2655
|
#### Returns
|
|
2626
2656
|
|
|
@@ -2628,20 +2658,18 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2015.cor
|
|
|
2628
2658
|
|
|
2629
2659
|
#### Inherited from
|
|
2630
2660
|
|
|
2631
|
-
[`ToolFunc`](ToolFunc.md).[`unregister`](ToolFunc.md#unregister-
|
|
2632
|
-
|
|
2633
|
-
#### Defined in
|
|
2634
|
-
|
|
2635
|
-
[packages/ai-tool/src/tool-func.ts:202](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L202)
|
|
2661
|
+
[`ToolFunc`](ToolFunc.md).[`unregister`](ToolFunc.md#unregister-2)
|
|
2636
2662
|
|
|
2637
2663
|
***
|
|
2638
2664
|
|
|
2639
2665
|
### values()
|
|
2640
2666
|
|
|
2641
|
-
####
|
|
2667
|
+
#### Call Signature
|
|
2642
2668
|
|
|
2643
2669
|
> `static` **values**\<`T`\>(`o`): `T`[]
|
|
2644
2670
|
|
|
2671
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2017.object.d.ts:24
|
|
2672
|
+
|
|
2645
2673
|
Returns an array of values of the enumerable own properties of an object
|
|
2646
2674
|
|
|
2647
2675
|
##### Type Parameters
|
|
@@ -2650,10 +2678,12 @@ Returns an array of values of the enumerable own properties of an object
|
|
|
2650
2678
|
|
|
2651
2679
|
##### Parameters
|
|
2652
2680
|
|
|
2653
|
-
|
|
2681
|
+
###### o
|
|
2654
2682
|
|
|
2655
2683
|
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
2656
2684
|
|
|
2685
|
+
\{\} | `ArrayLike`\<`T`\>
|
|
2686
|
+
|
|
2657
2687
|
##### Returns
|
|
2658
2688
|
|
|
2659
2689
|
`T`[]
|
|
@@ -2662,19 +2692,17 @@ Object that contains the properties and methods. This can be an object that you
|
|
|
2662
2692
|
|
|
2663
2693
|
[`ToolFunc`](ToolFunc.md).[`values`](ToolFunc.md#values)
|
|
2664
2694
|
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2017.object.d.ts:24
|
|
2668
|
-
|
|
2669
|
-
#### values(o)
|
|
2695
|
+
#### Call Signature
|
|
2670
2696
|
|
|
2671
2697
|
> `static` **values**(`o`): `any`[]
|
|
2672
2698
|
|
|
2699
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2017.object.d.ts:30
|
|
2700
|
+
|
|
2673
2701
|
Returns an array of values of the enumerable own properties of an object
|
|
2674
2702
|
|
|
2675
2703
|
##### Parameters
|
|
2676
2704
|
|
|
2677
|
-
|
|
2705
|
+
###### o
|
|
2678
2706
|
|
|
2679
2707
|
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
2680
2708
|
|
|
@@ -2685,7 +2713,3 @@ Object that contains the properties and methods. This can be an object that you
|
|
|
2685
2713
|
##### Inherited from
|
|
2686
2714
|
|
|
2687
2715
|
[`ToolFunc`](ToolFunc.md).[`values`](ToolFunc.md#values)
|
|
2688
|
-
|
|
2689
|
-
##### Defined in
|
|
2690
|
-
|
|
2691
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2017.object.d.ts:30
|