@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
package/docs/classes/ToolFunc.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@isdk/ai-tool**](../README.md)
|
|
1
|
+
[**@isdk/ai-tool**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: ToolFunc
|
|
8
8
|
|
|
9
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:51](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L51)
|
|
10
|
+
|
|
9
11
|
## Extends
|
|
10
12
|
|
|
11
13
|
- [`BaseFunc`](../interfaces/BaseFunc.md).`AdvancePropertyManager`
|
|
@@ -18,7 +20,7 @@
|
|
|
18
20
|
|
|
19
21
|
## Indexable
|
|
20
22
|
|
|
21
|
-
|
|
23
|
+
\[`name`: `string`\]: `any`
|
|
22
24
|
|
|
23
25
|
## Constructors
|
|
24
26
|
|
|
@@ -26,11 +28,17 @@
|
|
|
26
28
|
|
|
27
29
|
> **new ToolFunc**(`name`, `options`): [`ToolFunc`](ToolFunc.md)
|
|
28
30
|
|
|
31
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:192](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L192)
|
|
32
|
+
|
|
29
33
|
#### Parameters
|
|
30
34
|
|
|
31
|
-
|
|
35
|
+
##### name
|
|
36
|
+
|
|
37
|
+
`string` | `Function` | [`FuncItem`](../interfaces/FuncItem.md)
|
|
38
|
+
|
|
39
|
+
##### options
|
|
32
40
|
|
|
33
|
-
|
|
41
|
+
`any` = `{}`
|
|
34
42
|
|
|
35
43
|
#### Returns
|
|
36
44
|
|
|
@@ -40,19 +48,13 @@
|
|
|
40
48
|
|
|
41
49
|
`BaseFunc.constructor`
|
|
42
50
|
|
|
43
|
-
#### Defined in
|
|
44
|
-
|
|
45
|
-
[packages/ai-tool/src/tool-func.ts:210](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L210)
|
|
46
|
-
|
|
47
51
|
## Properties
|
|
48
52
|
|
|
49
53
|
### $attributes
|
|
50
54
|
|
|
51
55
|
> **$attributes**: `Properties`
|
|
52
56
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/advance.d.ts:5
|
|
57
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/advance.d.ts:5
|
|
56
58
|
|
|
57
59
|
***
|
|
58
60
|
|
|
@@ -60,11 +62,9 @@ node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/ad
|
|
|
60
62
|
|
|
61
63
|
> **constructor**: `Function`
|
|
62
64
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
#### Defined in
|
|
65
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:125
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
The initial value of Object.prototype.constructor is the standard built-in Object constructor.
|
|
68
68
|
|
|
69
69
|
***
|
|
70
70
|
|
|
@@ -72,6 +72,8 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
72
72
|
|
|
73
73
|
> **defaultOptions**: `object`
|
|
74
74
|
|
|
75
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:74
|
|
76
|
+
|
|
75
77
|
The default options for export and assign
|
|
76
78
|
|
|
77
79
|
#### assign?
|
|
@@ -82,49 +84,39 @@ The default options for export and assign
|
|
|
82
84
|
|
|
83
85
|
> `optional` **export**: `IMergeOptions`
|
|
84
86
|
|
|
85
|
-
#### Defined in
|
|
86
|
-
|
|
87
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:74
|
|
88
|
-
|
|
89
87
|
***
|
|
90
88
|
|
|
91
89
|
### isApi?
|
|
92
90
|
|
|
93
91
|
> `optional` **isApi**: `boolean`
|
|
94
92
|
|
|
93
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:29](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L29)
|
|
94
|
+
|
|
95
95
|
#### Inherited from
|
|
96
96
|
|
|
97
97
|
[`BaseFunc`](../interfaces/BaseFunc.md).[`isApi`](../interfaces/BaseFunc.md#isapi)
|
|
98
98
|
|
|
99
|
-
#### Defined in
|
|
100
|
-
|
|
101
|
-
[packages/ai-tool/src/tool-func.ts:47](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L47)
|
|
102
|
-
|
|
103
99
|
***
|
|
104
100
|
|
|
105
101
|
### name?
|
|
106
102
|
|
|
107
103
|
> `optional` **name**: `string`
|
|
108
104
|
|
|
105
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:23](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L23)
|
|
106
|
+
|
|
109
107
|
#### Inherited from
|
|
110
108
|
|
|
111
109
|
[`BaseFunc`](../interfaces/BaseFunc.md).[`name`](../interfaces/BaseFunc.md#name)
|
|
112
110
|
|
|
113
|
-
#### Defined in
|
|
114
|
-
|
|
115
|
-
[packages/ai-tool/src/tool-func.ts:41](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L41)
|
|
116
|
-
|
|
117
111
|
***
|
|
118
112
|
|
|
119
113
|
### nonExported1stChar
|
|
120
114
|
|
|
121
115
|
> **nonExported1stChar**: `string`
|
|
122
116
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
#### Defined in
|
|
117
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:78
|
|
126
118
|
|
|
127
|
-
|
|
119
|
+
the property with the default prefix '$' will not be exported.
|
|
128
120
|
|
|
129
121
|
***
|
|
130
122
|
|
|
@@ -132,53 +124,53 @@ node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/ab
|
|
|
132
124
|
|
|
133
125
|
> `optional` **params**: [`FuncParams`](../interfaces/FuncParams.md) \| [`FuncParam`](../interfaces/FuncParam.md)[]
|
|
134
126
|
|
|
127
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:24](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L24)
|
|
128
|
+
|
|
135
129
|
#### Inherited from
|
|
136
130
|
|
|
137
131
|
[`BaseFunc`](../interfaces/BaseFunc.md).[`params`](../interfaces/BaseFunc.md#params)
|
|
138
132
|
|
|
139
|
-
#### Defined in
|
|
140
|
-
|
|
141
|
-
[packages/ai-tool/src/tool-func.ts:42](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L42)
|
|
142
|
-
|
|
143
133
|
***
|
|
144
134
|
|
|
145
135
|
### result?
|
|
146
136
|
|
|
147
137
|
> `optional` **result**: `string`
|
|
148
138
|
|
|
139
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:25](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L25)
|
|
140
|
+
|
|
149
141
|
#### Inherited from
|
|
150
142
|
|
|
151
143
|
[`BaseFunc`](../interfaces/BaseFunc.md).[`result`](../interfaces/BaseFunc.md#result)
|
|
152
144
|
|
|
153
|
-
#### Defined in
|
|
154
|
-
|
|
155
|
-
[packages/ai-tool/src/tool-func.ts:43](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L43)
|
|
156
|
-
|
|
157
145
|
***
|
|
158
146
|
|
|
159
147
|
### scope?
|
|
160
148
|
|
|
161
149
|
> `optional` **scope**: `any`
|
|
162
150
|
|
|
151
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:26](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L26)
|
|
152
|
+
|
|
163
153
|
#### Inherited from
|
|
164
154
|
|
|
165
155
|
[`BaseFunc`](../interfaces/BaseFunc.md).[`scope`](../interfaces/BaseFunc.md#scope)
|
|
166
156
|
|
|
167
|
-
#### Defined in
|
|
168
|
-
|
|
169
|
-
[packages/ai-tool/src/tool-func.ts:44](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L44)
|
|
170
|
-
|
|
171
157
|
***
|
|
172
158
|
|
|
173
159
|
### setup()?
|
|
174
160
|
|
|
175
161
|
> `optional` **setup**: (`this`, `options`?) => `void`
|
|
176
162
|
|
|
163
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:28](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L28)
|
|
164
|
+
|
|
177
165
|
#### Parameters
|
|
178
166
|
|
|
179
|
-
|
|
167
|
+
##### this
|
|
168
|
+
|
|
169
|
+
[`ToolFunc`](ToolFunc.md)
|
|
170
|
+
|
|
171
|
+
##### options?
|
|
180
172
|
|
|
181
|
-
|
|
173
|
+
[`FuncItem`](../interfaces/FuncItem.md)
|
|
182
174
|
|
|
183
175
|
#### Returns
|
|
184
176
|
|
|
@@ -188,57 +180,37 @@ node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/ab
|
|
|
188
180
|
|
|
189
181
|
[`BaseFunc`](../interfaces/BaseFunc.md).[`setup`](../interfaces/BaseFunc.md#setup)
|
|
190
182
|
|
|
191
|
-
#### Defined in
|
|
192
|
-
|
|
193
|
-
[packages/ai-tool/src/tool-func.ts:46](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L46)
|
|
194
|
-
|
|
195
|
-
***
|
|
196
|
-
|
|
197
|
-
### should
|
|
198
|
-
|
|
199
|
-
> **should**: `Assertion`
|
|
200
|
-
|
|
201
|
-
#### Defined in
|
|
202
|
-
|
|
203
|
-
node\_modules/.pnpm/@types+chai@4.3.20/node\_modules/@types/chai/index.d.ts:2100
|
|
204
|
-
|
|
205
183
|
***
|
|
206
184
|
|
|
207
185
|
### stream?
|
|
208
186
|
|
|
209
187
|
> `optional` **stream**: `boolean`
|
|
210
188
|
|
|
189
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:30](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L30)
|
|
190
|
+
|
|
211
191
|
#### Inherited from
|
|
212
192
|
|
|
213
193
|
[`BaseFunc`](../interfaces/BaseFunc.md).[`stream`](../interfaces/BaseFunc.md#stream)
|
|
214
194
|
|
|
215
|
-
#### Defined in
|
|
216
|
-
|
|
217
|
-
[packages/ai-tool/src/tool-func.ts:48](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L48)
|
|
218
|
-
|
|
219
195
|
***
|
|
220
196
|
|
|
221
197
|
### tags?
|
|
222
198
|
|
|
223
199
|
> `optional` **tags**: `string` \| `string`[]
|
|
224
200
|
|
|
201
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:27](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L27)
|
|
202
|
+
|
|
225
203
|
#### Inherited from
|
|
226
204
|
|
|
227
205
|
[`BaseFunc`](../interfaces/BaseFunc.md).[`tags`](../interfaces/BaseFunc.md#tags)
|
|
228
206
|
|
|
229
|
-
#### Defined in
|
|
230
|
-
|
|
231
|
-
[packages/ai-tool/src/tool-func.ts:45](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L45)
|
|
232
|
-
|
|
233
207
|
***
|
|
234
208
|
|
|
235
209
|
### dataPath
|
|
236
210
|
|
|
237
211
|
> `static` **dataPath**: `string`
|
|
238
212
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
[packages/ai-tool/src/tool-func.ts:75](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L75)
|
|
213
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:57](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L57)
|
|
242
214
|
|
|
243
215
|
***
|
|
244
216
|
|
|
@@ -246,9 +218,7 @@ node\_modules/.pnpm/@types+chai@4.3.20/node\_modules/@types/chai/index.d.ts:2100
|
|
|
246
218
|
|
|
247
219
|
> `static` **items**: [`Funcs`](../interfaces/Funcs.md) = `{}`
|
|
248
220
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
[packages/ai-tool/src/tool-func.ts:74](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L74)
|
|
221
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:56](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L56)
|
|
252
222
|
|
|
253
223
|
## Methods
|
|
254
224
|
|
|
@@ -256,17 +226,17 @@ node\_modules/.pnpm/@types+chai@4.3.20/node\_modules/@types/chai/index.d.ts:2100
|
|
|
256
226
|
|
|
257
227
|
> **arr2ObjParams**(`params`): `any`[]
|
|
258
228
|
|
|
259
|
-
|
|
229
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:236](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L236)
|
|
260
230
|
|
|
261
|
-
|
|
231
|
+
#### Parameters
|
|
262
232
|
|
|
263
|
-
|
|
233
|
+
##### params
|
|
264
234
|
|
|
265
235
|
`any`[]
|
|
266
236
|
|
|
267
|
-
####
|
|
237
|
+
#### Returns
|
|
268
238
|
|
|
269
|
-
[
|
|
239
|
+
`any`[]
|
|
270
240
|
|
|
271
241
|
***
|
|
272
242
|
|
|
@@ -274,15 +244,21 @@ node\_modules/.pnpm/@types+chai@4.3.20/node\_modules/@types/chai/index.d.ts:2100
|
|
|
274
244
|
|
|
275
245
|
> **assign**(`src`, `options`?): `this`
|
|
276
246
|
|
|
247
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:106
|
|
248
|
+
|
|
277
249
|
Assign the values from the src object.
|
|
278
250
|
|
|
279
251
|
#### Parameters
|
|
280
252
|
|
|
281
|
-
|
|
253
|
+
##### src
|
|
254
|
+
|
|
255
|
+
`any`
|
|
282
256
|
|
|
283
257
|
the source object
|
|
284
258
|
|
|
285
|
-
|
|
259
|
+
##### options?
|
|
260
|
+
|
|
261
|
+
`IMergeOptions`
|
|
286
262
|
|
|
287
263
|
#### Returns
|
|
288
264
|
|
|
@@ -290,101 +266,121 @@ the source object
|
|
|
290
266
|
|
|
291
267
|
this object
|
|
292
268
|
|
|
293
|
-
#### Defined in
|
|
294
|
-
|
|
295
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:106
|
|
296
|
-
|
|
297
269
|
***
|
|
298
270
|
|
|
299
271
|
### assignProperty()
|
|
300
272
|
|
|
301
273
|
> **assignProperty**(`src`, `name`, `value`, `attrs`?, `options`?): `void`
|
|
302
274
|
|
|
275
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:117
|
|
276
|
+
|
|
303
277
|
Assign a property of src to this object.
|
|
304
278
|
|
|
305
279
|
#### Parameters
|
|
306
280
|
|
|
307
|
-
|
|
281
|
+
##### src
|
|
282
|
+
|
|
283
|
+
`any`
|
|
308
284
|
|
|
309
285
|
the src object
|
|
310
286
|
|
|
311
|
-
|
|
287
|
+
##### name
|
|
288
|
+
|
|
289
|
+
`string`
|
|
312
290
|
|
|
313
291
|
the property name to assign
|
|
314
292
|
|
|
315
|
-
|
|
293
|
+
##### value
|
|
294
|
+
|
|
295
|
+
`any`
|
|
316
296
|
|
|
317
297
|
the property value to assign
|
|
318
298
|
|
|
319
|
-
|
|
299
|
+
##### attrs?
|
|
300
|
+
|
|
301
|
+
`any`
|
|
320
302
|
|
|
321
303
|
the attributes object
|
|
322
304
|
|
|
323
|
-
|
|
305
|
+
##### options?
|
|
306
|
+
|
|
307
|
+
`IMergeOptions`
|
|
324
308
|
|
|
325
309
|
#### Returns
|
|
326
310
|
|
|
327
311
|
`void`
|
|
328
312
|
|
|
329
|
-
#### Defined in
|
|
330
|
-
|
|
331
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:117
|
|
332
|
-
|
|
333
313
|
***
|
|
334
314
|
|
|
335
315
|
### assignPropertyTo()
|
|
336
316
|
|
|
337
317
|
> `abstract` **assignPropertyTo**(`dest`, `src`, `name`, `value`, `attrs`?, `options`?): `void`
|
|
338
318
|
|
|
319
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:131
|
|
320
|
+
|
|
339
321
|
Assign the property value from the src to destination object.
|
|
340
322
|
|
|
341
323
|
#### Parameters
|
|
342
324
|
|
|
343
|
-
|
|
325
|
+
##### dest
|
|
326
|
+
|
|
327
|
+
`any`
|
|
344
328
|
|
|
345
329
|
The destination object
|
|
346
330
|
|
|
347
|
-
|
|
331
|
+
##### src
|
|
332
|
+
|
|
333
|
+
`any`
|
|
348
334
|
|
|
349
335
|
The src object
|
|
350
336
|
|
|
351
|
-
|
|
337
|
+
##### name
|
|
338
|
+
|
|
339
|
+
`string`
|
|
352
340
|
|
|
353
341
|
The property name
|
|
354
342
|
|
|
355
|
-
|
|
343
|
+
##### value
|
|
344
|
+
|
|
345
|
+
`any`
|
|
356
346
|
|
|
357
347
|
The property value
|
|
358
348
|
|
|
359
|
-
|
|
349
|
+
##### attrs?
|
|
350
|
+
|
|
351
|
+
`any`
|
|
360
352
|
|
|
361
353
|
The attributes object of the property
|
|
362
354
|
|
|
363
|
-
|
|
355
|
+
##### options?
|
|
356
|
+
|
|
357
|
+
`IMergeOptions`
|
|
364
358
|
|
|
365
359
|
#### Returns
|
|
366
360
|
|
|
367
361
|
`void`
|
|
368
362
|
|
|
369
|
-
#### Defined in
|
|
370
|
-
|
|
371
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:131
|
|
372
|
-
|
|
373
363
|
***
|
|
374
364
|
|
|
375
365
|
### assignTo()
|
|
376
366
|
|
|
377
367
|
> **assignTo**(`dest`?, `options`?): `any`
|
|
378
368
|
|
|
369
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:191
|
|
370
|
+
|
|
379
371
|
Assign this attributes to the dest object
|
|
380
372
|
|
|
381
373
|
#### Parameters
|
|
382
374
|
|
|
383
|
-
|
|
375
|
+
##### dest?
|
|
376
|
+
|
|
377
|
+
`any`
|
|
384
378
|
|
|
385
379
|
the destination object
|
|
386
380
|
|
|
387
|
-
|
|
381
|
+
##### options?
|
|
382
|
+
|
|
383
|
+
`IMergeOptions`
|
|
388
384
|
|
|
389
385
|
#### Returns
|
|
390
386
|
|
|
@@ -392,21 +388,21 @@ the destination object
|
|
|
392
388
|
|
|
393
389
|
the dest object
|
|
394
390
|
|
|
395
|
-
#### Defined in
|
|
396
|
-
|
|
397
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:191
|
|
398
|
-
|
|
399
391
|
***
|
|
400
392
|
|
|
401
393
|
### clone()
|
|
402
394
|
|
|
403
395
|
> **clone**(`options`?): `any`
|
|
404
396
|
|
|
397
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:155
|
|
398
|
+
|
|
405
399
|
Create a new object with the same values of attributes.
|
|
406
400
|
|
|
407
401
|
#### Parameters
|
|
408
402
|
|
|
409
|
-
|
|
403
|
+
##### options?
|
|
404
|
+
|
|
405
|
+
`IMergeOptions`
|
|
410
406
|
|
|
411
407
|
#### Returns
|
|
412
408
|
|
|
@@ -414,25 +410,27 @@ Create a new object with the same values of attributes.
|
|
|
414
410
|
|
|
415
411
|
the new object
|
|
416
412
|
|
|
417
|
-
#### Defined in
|
|
418
|
-
|
|
419
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:155
|
|
420
|
-
|
|
421
413
|
***
|
|
422
414
|
|
|
423
415
|
### cloneTo()
|
|
424
416
|
|
|
425
417
|
> **cloneTo**(`dest`, `options`?): `any`
|
|
426
418
|
|
|
419
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:148
|
|
420
|
+
|
|
427
421
|
Create and assign the values to the destination object.
|
|
428
422
|
|
|
429
423
|
#### Parameters
|
|
430
424
|
|
|
431
|
-
|
|
425
|
+
##### dest
|
|
426
|
+
|
|
427
|
+
`any`
|
|
432
428
|
|
|
433
429
|
the destination object
|
|
434
430
|
|
|
435
|
-
|
|
431
|
+
##### options?
|
|
432
|
+
|
|
433
|
+
`IMergeOptions`
|
|
436
434
|
|
|
437
435
|
#### Returns
|
|
438
436
|
|
|
@@ -440,21 +438,21 @@ the destination object
|
|
|
440
438
|
|
|
441
439
|
the new dest object
|
|
442
440
|
|
|
443
|
-
#### Defined in
|
|
444
|
-
|
|
445
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:148
|
|
446
|
-
|
|
447
441
|
***
|
|
448
442
|
|
|
449
443
|
### defineProperties()
|
|
450
444
|
|
|
451
445
|
> `abstract` **defineProperties**(`aProperties`): `any`
|
|
452
446
|
|
|
447
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:89
|
|
448
|
+
|
|
453
449
|
Define the attributes of this object.
|
|
454
450
|
|
|
455
451
|
#### Parameters
|
|
456
452
|
|
|
457
|
-
|
|
453
|
+
##### aProperties
|
|
454
|
+
|
|
455
|
+
`SimplePropDescriptors`
|
|
458
456
|
|
|
459
457
|
the defined attributes of the object
|
|
460
458
|
|
|
@@ -462,25 +460,27 @@ the defined attributes of the object
|
|
|
462
460
|
|
|
463
461
|
`any`
|
|
464
462
|
|
|
465
|
-
#### Defined in
|
|
466
|
-
|
|
467
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:89
|
|
468
|
-
|
|
469
463
|
***
|
|
470
464
|
|
|
471
465
|
### exportTo()
|
|
472
466
|
|
|
473
467
|
> **exportTo**(`dest`, `options`?): `any`
|
|
474
468
|
|
|
469
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:173
|
|
470
|
+
|
|
475
471
|
Export attributes to the dest json object.
|
|
476
472
|
|
|
477
473
|
#### Parameters
|
|
478
474
|
|
|
479
|
-
|
|
475
|
+
##### dest
|
|
476
|
+
|
|
477
|
+
`any`
|
|
480
478
|
|
|
481
479
|
the destination object
|
|
482
480
|
|
|
483
|
-
|
|
481
|
+
##### options?
|
|
482
|
+
|
|
483
|
+
`IExportOptions`
|
|
484
484
|
|
|
485
485
|
#### Returns
|
|
486
486
|
|
|
@@ -488,19 +488,19 @@ the destination object
|
|
|
488
488
|
|
|
489
489
|
the dest object.
|
|
490
490
|
|
|
491
|
-
#### Defined in
|
|
492
|
-
|
|
493
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:173
|
|
494
|
-
|
|
495
491
|
***
|
|
496
492
|
|
|
497
493
|
### func()
|
|
498
494
|
|
|
499
495
|
> **func**(...`params`): `any`
|
|
500
496
|
|
|
497
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:38](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L38)
|
|
498
|
+
|
|
501
499
|
#### Parameters
|
|
502
500
|
|
|
503
|
-
|
|
501
|
+
##### params
|
|
502
|
+
|
|
503
|
+
...`any`
|
|
504
504
|
|
|
505
505
|
#### Returns
|
|
506
506
|
|
|
@@ -510,52 +510,50 @@ node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/ab
|
|
|
510
510
|
|
|
511
511
|
[`BaseFunc`](../interfaces/BaseFunc.md).[`func`](../interfaces/BaseFunc.md#func)
|
|
512
512
|
|
|
513
|
-
#### Defined in
|
|
514
|
-
|
|
515
|
-
[packages/ai-tool/src/tool-func.ts:56](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L56)
|
|
516
|
-
|
|
517
513
|
***
|
|
518
514
|
|
|
519
515
|
### getFunc()
|
|
520
516
|
|
|
521
517
|
> **getFunc**(`name`?): `any`
|
|
522
518
|
|
|
519
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:289](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L289)
|
|
520
|
+
|
|
523
521
|
#### Parameters
|
|
524
522
|
|
|
525
|
-
|
|
523
|
+
##### name?
|
|
524
|
+
|
|
525
|
+
`string`
|
|
526
526
|
|
|
527
527
|
#### Returns
|
|
528
528
|
|
|
529
529
|
`any`
|
|
530
530
|
|
|
531
|
-
#### Defined in
|
|
532
|
-
|
|
533
|
-
[packages/ai-tool/src/tool-func.ts:307](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L307)
|
|
534
|
-
|
|
535
531
|
***
|
|
536
532
|
|
|
537
533
|
### getFuncWithPos()
|
|
538
534
|
|
|
539
535
|
> **getFuncWithPos**(`name`?): `any`
|
|
540
536
|
|
|
537
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:313](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L313)
|
|
538
|
+
|
|
541
539
|
#### Parameters
|
|
542
540
|
|
|
543
|
-
|
|
541
|
+
##### name?
|
|
542
|
+
|
|
543
|
+
`string`
|
|
544
544
|
|
|
545
545
|
#### Returns
|
|
546
546
|
|
|
547
547
|
`any`
|
|
548
548
|
|
|
549
|
-
#### Defined in
|
|
550
|
-
|
|
551
|
-
[packages/ai-tool/src/tool-func.ts:331](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L331)
|
|
552
|
-
|
|
553
549
|
***
|
|
554
550
|
|
|
555
551
|
### getProperties()
|
|
556
552
|
|
|
557
553
|
> `abstract` **getProperties**(): `PropDescriptors`
|
|
558
554
|
|
|
555
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:98
|
|
556
|
+
|
|
559
557
|
Get the defined attributes.
|
|
560
558
|
|
|
561
559
|
#### Returns
|
|
@@ -564,39 +562,39 @@ Get the defined attributes.
|
|
|
564
562
|
|
|
565
563
|
the descriptors of properties object
|
|
566
564
|
|
|
567
|
-
#### Defined in
|
|
568
|
-
|
|
569
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:98
|
|
570
|
-
|
|
571
565
|
***
|
|
572
566
|
|
|
573
567
|
### hasAsyncFeature()
|
|
574
568
|
|
|
575
569
|
> **hasAsyncFeature**(`feature`): `boolean`
|
|
576
570
|
|
|
571
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:318](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L318)
|
|
572
|
+
|
|
577
573
|
#### Parameters
|
|
578
574
|
|
|
579
|
-
|
|
575
|
+
##### feature
|
|
576
|
+
|
|
577
|
+
[`AsyncFeatureBits`](../enumerations/AsyncFeatureBits.md)
|
|
580
578
|
|
|
581
579
|
#### Returns
|
|
582
580
|
|
|
583
581
|
`boolean`
|
|
584
582
|
|
|
585
|
-
#### Defined in
|
|
586
|
-
|
|
587
|
-
[packages/ai-tool/src/tool-func.ts:336](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L336)
|
|
588
|
-
|
|
589
583
|
***
|
|
590
584
|
|
|
591
585
|
### hasOwnProperty()
|
|
592
586
|
|
|
593
587
|
> **hasOwnProperty**(`v`): `boolean`
|
|
594
588
|
|
|
589
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:140
|
|
590
|
+
|
|
595
591
|
Determines whether an object has a property with the specified name.
|
|
596
592
|
|
|
597
593
|
#### Parameters
|
|
598
594
|
|
|
599
|
-
|
|
595
|
+
##### v
|
|
596
|
+
|
|
597
|
+
`PropertyKey`
|
|
600
598
|
|
|
601
599
|
A property name.
|
|
602
600
|
|
|
@@ -604,21 +602,21 @@ A property name.
|
|
|
604
602
|
|
|
605
603
|
`boolean`
|
|
606
604
|
|
|
607
|
-
#### Defined in
|
|
608
|
-
|
|
609
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:140
|
|
610
|
-
|
|
611
605
|
***
|
|
612
606
|
|
|
613
607
|
### initialize()
|
|
614
608
|
|
|
615
609
|
> **initialize**(`src`?): `this`
|
|
616
610
|
|
|
611
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:139
|
|
612
|
+
|
|
617
613
|
Initialize object and assign attribute values from src if src exists.
|
|
618
614
|
|
|
619
615
|
#### Parameters
|
|
620
616
|
|
|
621
|
-
|
|
617
|
+
##### src?
|
|
618
|
+
|
|
619
|
+
`any`
|
|
622
620
|
|
|
623
621
|
#### Returns
|
|
624
622
|
|
|
@@ -626,21 +624,21 @@ Initialize object and assign attribute values from src if src exists.
|
|
|
626
624
|
|
|
627
625
|
this object.
|
|
628
626
|
|
|
629
|
-
#### Defined in
|
|
630
|
-
|
|
631
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:139
|
|
632
|
-
|
|
633
627
|
***
|
|
634
628
|
|
|
635
629
|
### isPrototypeOf()
|
|
636
630
|
|
|
637
631
|
> **isPrototypeOf**(`v`): `boolean`
|
|
638
632
|
|
|
633
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:146
|
|
634
|
+
|
|
639
635
|
Determines whether an object exists in another object's prototype chain.
|
|
640
636
|
|
|
641
637
|
#### Parameters
|
|
642
638
|
|
|
643
|
-
|
|
639
|
+
##### v
|
|
640
|
+
|
|
641
|
+
`Object`
|
|
644
642
|
|
|
645
643
|
Another object whose prototype chain is to be checked.
|
|
646
644
|
|
|
@@ -648,67 +646,71 @@ Another object whose prototype chain is to be checked.
|
|
|
648
646
|
|
|
649
647
|
`boolean`
|
|
650
648
|
|
|
651
|
-
#### Defined in
|
|
652
|
-
|
|
653
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:146
|
|
654
|
-
|
|
655
649
|
***
|
|
656
650
|
|
|
657
651
|
### isSame()
|
|
658
652
|
|
|
659
653
|
> **isSame**(`src`, `options`?): `boolean`
|
|
660
654
|
|
|
655
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:200
|
|
656
|
+
|
|
661
657
|
Check the src object whether “equals” this object.
|
|
662
658
|
|
|
663
659
|
#### Parameters
|
|
664
660
|
|
|
665
|
-
|
|
661
|
+
##### src
|
|
662
|
+
|
|
663
|
+
`any`
|
|
666
664
|
|
|
667
665
|
The source object
|
|
668
666
|
|
|
669
|
-
|
|
667
|
+
##### options?
|
|
668
|
+
|
|
669
|
+
`IMergeOptions`
|
|
670
670
|
|
|
671
671
|
#### Returns
|
|
672
672
|
|
|
673
673
|
`boolean`
|
|
674
674
|
|
|
675
|
-
#### Defined in
|
|
676
|
-
|
|
677
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:200
|
|
678
|
-
|
|
679
675
|
***
|
|
680
676
|
|
|
681
677
|
### isStream()
|
|
682
678
|
|
|
683
679
|
> **isStream**(`params`): `undefined` \| `boolean`
|
|
684
680
|
|
|
681
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:324](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L324)
|
|
682
|
+
|
|
685
683
|
#### Parameters
|
|
686
684
|
|
|
687
|
-
|
|
685
|
+
##### params
|
|
686
|
+
|
|
687
|
+
`any`
|
|
688
688
|
|
|
689
689
|
#### Returns
|
|
690
690
|
|
|
691
691
|
`undefined` \| `boolean`
|
|
692
692
|
|
|
693
|
-
#### Defined in
|
|
694
|
-
|
|
695
|
-
[packages/ai-tool/src/tool-func.ts:342](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L342)
|
|
696
|
-
|
|
697
693
|
***
|
|
698
694
|
|
|
699
695
|
### mergeTo()
|
|
700
696
|
|
|
701
697
|
> **mergeTo**(`dest`, `options`?): `any`
|
|
702
698
|
|
|
699
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:164
|
|
700
|
+
|
|
703
701
|
Merge this attributes to dest object.
|
|
704
702
|
|
|
705
703
|
#### Parameters
|
|
706
704
|
|
|
707
|
-
|
|
705
|
+
##### dest
|
|
706
|
+
|
|
707
|
+
`any`
|
|
708
708
|
|
|
709
709
|
The destination object
|
|
710
710
|
|
|
711
|
-
|
|
711
|
+
##### options?
|
|
712
|
+
|
|
713
|
+
`IMergeOptions`
|
|
712
714
|
|
|
713
715
|
#### Returns
|
|
714
716
|
|
|
@@ -716,39 +718,39 @@ The destination object
|
|
|
716
718
|
|
|
717
719
|
the dest object.
|
|
718
720
|
|
|
719
|
-
#### Defined in
|
|
720
|
-
|
|
721
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:164
|
|
722
|
-
|
|
723
721
|
***
|
|
724
722
|
|
|
725
723
|
### obj2ArrParams()
|
|
726
724
|
|
|
727
725
|
> **obj2ArrParams**(`params`?): `any`[]
|
|
728
726
|
|
|
727
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:249](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L249)
|
|
728
|
+
|
|
729
729
|
#### Parameters
|
|
730
730
|
|
|
731
|
-
|
|
731
|
+
##### params?
|
|
732
|
+
|
|
733
|
+
`any`
|
|
732
734
|
|
|
733
735
|
#### Returns
|
|
734
736
|
|
|
735
737
|
`any`[]
|
|
736
738
|
|
|
737
|
-
#### Defined in
|
|
738
|
-
|
|
739
|
-
[packages/ai-tool/src/tool-func.ts:267](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L267)
|
|
740
|
-
|
|
741
739
|
***
|
|
742
740
|
|
|
743
741
|
### propertyIsEnumerable()
|
|
744
742
|
|
|
745
743
|
> **propertyIsEnumerable**(`v`): `boolean`
|
|
746
744
|
|
|
745
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:152
|
|
746
|
+
|
|
747
747
|
Determines whether a specified property is enumerable.
|
|
748
748
|
|
|
749
749
|
#### Parameters
|
|
750
750
|
|
|
751
|
-
|
|
751
|
+
##### v
|
|
752
|
+
|
|
753
|
+
`PropertyKey`
|
|
752
754
|
|
|
753
755
|
A property name.
|
|
754
756
|
|
|
@@ -756,61 +758,57 @@ A property name.
|
|
|
756
758
|
|
|
757
759
|
`boolean`
|
|
758
760
|
|
|
759
|
-
#### Defined in
|
|
760
|
-
|
|
761
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:152
|
|
762
|
-
|
|
763
761
|
***
|
|
764
762
|
|
|
765
763
|
### register()
|
|
766
764
|
|
|
767
765
|
> **register**(): `boolean` \| [`ToolFunc`](ToolFunc.md)
|
|
768
766
|
|
|
767
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:219](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L219)
|
|
768
|
+
|
|
769
769
|
#### Returns
|
|
770
770
|
|
|
771
771
|
`boolean` \| [`ToolFunc`](ToolFunc.md)
|
|
772
772
|
|
|
773
|
-
#### Defined in
|
|
774
|
-
|
|
775
|
-
[packages/ai-tool/src/tool-func.ts:237](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L237)
|
|
776
|
-
|
|
777
773
|
***
|
|
778
774
|
|
|
779
775
|
### run()
|
|
780
776
|
|
|
781
777
|
> **run**(`params`?): `Promise`\<`any`\>
|
|
782
778
|
|
|
779
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:276](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L276)
|
|
780
|
+
|
|
783
781
|
#### Parameters
|
|
784
782
|
|
|
785
|
-
|
|
783
|
+
##### params?
|
|
784
|
+
|
|
785
|
+
`any`
|
|
786
786
|
|
|
787
787
|
#### Returns
|
|
788
788
|
|
|
789
789
|
`Promise`\<`any`\>
|
|
790
790
|
|
|
791
|
-
#### Defined in
|
|
792
|
-
|
|
793
|
-
[packages/ai-tool/src/tool-func.ts:294](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L294)
|
|
794
|
-
|
|
795
791
|
***
|
|
796
792
|
|
|
797
793
|
### runAs()
|
|
798
794
|
|
|
799
795
|
> **runAs**(`name`, `params`?): `Promise`\<`any`\>
|
|
800
796
|
|
|
797
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:280](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L280)
|
|
798
|
+
|
|
801
799
|
#### Parameters
|
|
802
800
|
|
|
803
|
-
|
|
801
|
+
##### name
|
|
804
802
|
|
|
805
|
-
|
|
803
|
+
`string`
|
|
806
804
|
|
|
807
|
-
|
|
805
|
+
##### params?
|
|
808
806
|
|
|
809
|
-
`
|
|
807
|
+
`any`
|
|
810
808
|
|
|
811
|
-
####
|
|
809
|
+
#### Returns
|
|
812
810
|
|
|
813
|
-
|
|
811
|
+
`Promise`\<`any`\>
|
|
814
812
|
|
|
815
813
|
***
|
|
816
814
|
|
|
@@ -818,19 +816,21 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
818
816
|
|
|
819
817
|
> **runAsSync**(`name`, `params`?): `any`
|
|
820
818
|
|
|
819
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:284](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L284)
|
|
820
|
+
|
|
821
821
|
#### Parameters
|
|
822
822
|
|
|
823
|
-
|
|
823
|
+
##### name
|
|
824
824
|
|
|
825
|
-
|
|
825
|
+
`string`
|
|
826
826
|
|
|
827
|
-
|
|
827
|
+
##### params?
|
|
828
828
|
|
|
829
829
|
`any`
|
|
830
830
|
|
|
831
|
-
####
|
|
831
|
+
#### Returns
|
|
832
832
|
|
|
833
|
-
|
|
833
|
+
`any`
|
|
834
834
|
|
|
835
835
|
***
|
|
836
836
|
|
|
@@ -838,17 +838,17 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
838
838
|
|
|
839
839
|
> **runSync**(`params`?): `any`
|
|
840
840
|
|
|
841
|
-
|
|
841
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:262](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L262)
|
|
842
842
|
|
|
843
|
-
|
|
843
|
+
#### Parameters
|
|
844
844
|
|
|
845
|
-
|
|
845
|
+
##### params?
|
|
846
846
|
|
|
847
847
|
`any`
|
|
848
848
|
|
|
849
|
-
####
|
|
849
|
+
#### Returns
|
|
850
850
|
|
|
851
|
-
|
|
851
|
+
`any`
|
|
852
852
|
|
|
853
853
|
***
|
|
854
854
|
|
|
@@ -856,37 +856,39 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
856
856
|
|
|
857
857
|
> **runWithPos**(...`params`): `Promise`\<`any`\>
|
|
858
858
|
|
|
859
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:305](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L305)
|
|
860
|
+
|
|
859
861
|
#### Parameters
|
|
860
862
|
|
|
861
|
-
|
|
863
|
+
##### params
|
|
864
|
+
|
|
865
|
+
...`any`[]
|
|
862
866
|
|
|
863
867
|
#### Returns
|
|
864
868
|
|
|
865
869
|
`Promise`\<`any`\>
|
|
866
870
|
|
|
867
|
-
#### Defined in
|
|
868
|
-
|
|
869
|
-
[packages/ai-tool/src/tool-func.ts:323](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L323)
|
|
870
|
-
|
|
871
871
|
***
|
|
872
872
|
|
|
873
873
|
### runWithPosAs()
|
|
874
874
|
|
|
875
875
|
> **runWithPosAs**(`name`, ...`params`): `Promise`\<`any`\>
|
|
876
876
|
|
|
877
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:309](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L309)
|
|
878
|
+
|
|
877
879
|
#### Parameters
|
|
878
880
|
|
|
879
|
-
|
|
881
|
+
##### name
|
|
880
882
|
|
|
881
|
-
|
|
883
|
+
`string`
|
|
882
884
|
|
|
883
|
-
|
|
885
|
+
##### params
|
|
884
886
|
|
|
885
|
-
`
|
|
887
|
+
...`any`[]
|
|
886
888
|
|
|
887
|
-
####
|
|
889
|
+
#### Returns
|
|
888
890
|
|
|
889
|
-
|
|
891
|
+
`Promise`\<`any`\>
|
|
890
892
|
|
|
891
893
|
***
|
|
892
894
|
|
|
@@ -894,19 +896,21 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
894
896
|
|
|
895
897
|
> **runWithPosAsSync**(`name`, ...`params`): `any`
|
|
896
898
|
|
|
899
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:301](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L301)
|
|
900
|
+
|
|
897
901
|
#### Parameters
|
|
898
902
|
|
|
899
|
-
|
|
903
|
+
##### name
|
|
900
904
|
|
|
901
|
-
|
|
905
|
+
`string`
|
|
902
906
|
|
|
903
|
-
|
|
907
|
+
##### params
|
|
904
908
|
|
|
905
|
-
|
|
909
|
+
...`any`[]
|
|
906
910
|
|
|
907
|
-
####
|
|
911
|
+
#### Returns
|
|
908
912
|
|
|
909
|
-
|
|
913
|
+
`any`
|
|
910
914
|
|
|
911
915
|
***
|
|
912
916
|
|
|
@@ -914,59 +918,59 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:1
|
|
|
914
918
|
|
|
915
919
|
> **runWithPosSync**(...`params`): `any`
|
|
916
920
|
|
|
921
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:294](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L294)
|
|
922
|
+
|
|
917
923
|
#### Parameters
|
|
918
924
|
|
|
919
|
-
|
|
925
|
+
##### params
|
|
926
|
+
|
|
927
|
+
...`any`[]
|
|
920
928
|
|
|
921
929
|
#### Returns
|
|
922
930
|
|
|
923
931
|
`any`
|
|
924
932
|
|
|
925
|
-
#### Defined in
|
|
926
|
-
|
|
927
|
-
[packages/ai-tool/src/tool-func.ts:312](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L312)
|
|
928
|
-
|
|
929
933
|
***
|
|
930
934
|
|
|
931
935
|
### toJSON()
|
|
932
936
|
|
|
933
937
|
> **toJSON**(): `any`
|
|
934
938
|
|
|
939
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:182
|
|
940
|
+
|
|
935
941
|
#### Returns
|
|
936
942
|
|
|
937
943
|
`any`
|
|
938
944
|
|
|
939
|
-
#### Defined in
|
|
940
|
-
|
|
941
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:182
|
|
942
|
-
|
|
943
945
|
***
|
|
944
946
|
|
|
945
947
|
### toLocaleString()
|
|
946
948
|
|
|
947
949
|
> **toLocaleString**(): `string`
|
|
948
950
|
|
|
951
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:131
|
|
952
|
+
|
|
949
953
|
Returns a date converted to a string using the current locale.
|
|
950
954
|
|
|
951
955
|
#### Returns
|
|
952
956
|
|
|
953
957
|
`string`
|
|
954
958
|
|
|
955
|
-
#### Defined in
|
|
956
|
-
|
|
957
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:131
|
|
958
|
-
|
|
959
959
|
***
|
|
960
960
|
|
|
961
961
|
### toObject()
|
|
962
962
|
|
|
963
963
|
> **toObject**(`options`?): `any`
|
|
964
964
|
|
|
965
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:181
|
|
966
|
+
|
|
965
967
|
Convert the attributes to the json object
|
|
966
968
|
|
|
967
969
|
#### Parameters
|
|
968
970
|
|
|
969
|
-
|
|
971
|
+
##### options?
|
|
972
|
+
|
|
973
|
+
`any`
|
|
970
974
|
|
|
971
975
|
#### Returns
|
|
972
976
|
|
|
@@ -974,64 +978,56 @@ Convert the attributes to the json object
|
|
|
974
978
|
|
|
975
979
|
the json object.
|
|
976
980
|
|
|
977
|
-
#### Defined in
|
|
978
|
-
|
|
979
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/abstract.d.ts:181
|
|
980
|
-
|
|
981
981
|
***
|
|
982
982
|
|
|
983
983
|
### toString()
|
|
984
984
|
|
|
985
985
|
> **toString**(): `string`
|
|
986
986
|
|
|
987
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:128
|
|
988
|
+
|
|
987
989
|
Returns a string representation of an object.
|
|
988
990
|
|
|
989
991
|
#### Returns
|
|
990
992
|
|
|
991
993
|
`string`
|
|
992
994
|
|
|
993
|
-
#### Defined in
|
|
994
|
-
|
|
995
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:128
|
|
996
|
-
|
|
997
995
|
***
|
|
998
996
|
|
|
999
997
|
### unregister()
|
|
1000
998
|
|
|
1001
999
|
> **unregister**(): `any`
|
|
1002
1000
|
|
|
1001
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:232](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L232)
|
|
1002
|
+
|
|
1003
1003
|
#### Returns
|
|
1004
1004
|
|
|
1005
1005
|
`any`
|
|
1006
1006
|
|
|
1007
|
-
#### Defined in
|
|
1008
|
-
|
|
1009
|
-
[packages/ai-tool/src/tool-func.ts:250](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L250)
|
|
1010
|
-
|
|
1011
1007
|
***
|
|
1012
1008
|
|
|
1013
1009
|
### valueOf()
|
|
1014
1010
|
|
|
1015
1011
|
> **valueOf**(): `Object`
|
|
1016
1012
|
|
|
1013
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:134
|
|
1014
|
+
|
|
1017
1015
|
Returns the primitive value of the specified object.
|
|
1018
1016
|
|
|
1019
1017
|
#### Returns
|
|
1020
1018
|
|
|
1021
1019
|
`Object`
|
|
1022
1020
|
|
|
1023
|
-
#### Defined in
|
|
1024
|
-
|
|
1025
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:134
|
|
1026
|
-
|
|
1027
1021
|
***
|
|
1028
1022
|
|
|
1029
1023
|
### assign()
|
|
1030
1024
|
|
|
1031
|
-
####
|
|
1025
|
+
#### Call Signature
|
|
1032
1026
|
|
|
1033
1027
|
> `static` **assign**\<`T`, `U`\>(`target`, `source`): `T` & `U`
|
|
1034
1028
|
|
|
1029
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2015.core.d.ts:286
|
|
1030
|
+
|
|
1035
1031
|
Copy the values of all of the enumerable own properties from one or more source objects to a
|
|
1036
1032
|
target object. Returns the target object.
|
|
1037
1033
|
|
|
@@ -1043,11 +1039,15 @@ target object. Returns the target object.
|
|
|
1043
1039
|
|
|
1044
1040
|
##### Parameters
|
|
1045
1041
|
|
|
1046
|
-
|
|
1042
|
+
###### target
|
|
1043
|
+
|
|
1044
|
+
`T`
|
|
1047
1045
|
|
|
1048
1046
|
The target object to copy to.
|
|
1049
1047
|
|
|
1050
|
-
|
|
1048
|
+
###### source
|
|
1049
|
+
|
|
1050
|
+
`U`
|
|
1051
1051
|
|
|
1052
1052
|
The source object from which to copy properties.
|
|
1053
1053
|
|
|
@@ -1055,14 +1055,12 @@ The source object from which to copy properties.
|
|
|
1055
1055
|
|
|
1056
1056
|
`T` & `U`
|
|
1057
1057
|
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:286
|
|
1061
|
-
|
|
1062
|
-
#### assign(target, source1, source2)
|
|
1058
|
+
#### Call Signature
|
|
1063
1059
|
|
|
1064
1060
|
> `static` **assign**\<`T`, `U`, `V`\>(`target`, `source1`, `source2`): `T` & `U` & `V`
|
|
1065
1061
|
|
|
1062
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2015.core.d.ts:295
|
|
1063
|
+
|
|
1066
1064
|
Copy the values of all of the enumerable own properties from one or more source objects to a
|
|
1067
1065
|
target object. Returns the target object.
|
|
1068
1066
|
|
|
@@ -1076,15 +1074,21 @@ target object. Returns the target object.
|
|
|
1076
1074
|
|
|
1077
1075
|
##### Parameters
|
|
1078
1076
|
|
|
1079
|
-
|
|
1077
|
+
###### target
|
|
1078
|
+
|
|
1079
|
+
`T`
|
|
1080
1080
|
|
|
1081
1081
|
The target object to copy to.
|
|
1082
1082
|
|
|
1083
|
-
|
|
1083
|
+
###### source1
|
|
1084
|
+
|
|
1085
|
+
`U`
|
|
1084
1086
|
|
|
1085
1087
|
The first source object from which to copy properties.
|
|
1086
1088
|
|
|
1087
|
-
|
|
1089
|
+
###### source2
|
|
1090
|
+
|
|
1091
|
+
`V`
|
|
1088
1092
|
|
|
1089
1093
|
The second source object from which to copy properties.
|
|
1090
1094
|
|
|
@@ -1092,14 +1096,12 @@ The second source object from which to copy properties.
|
|
|
1092
1096
|
|
|
1093
1097
|
`T` & `U` & `V`
|
|
1094
1098
|
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:295
|
|
1098
|
-
|
|
1099
|
-
#### assign(target, source1, source2, source3)
|
|
1099
|
+
#### Call Signature
|
|
1100
1100
|
|
|
1101
1101
|
> `static` **assign**\<`T`, `U`, `V`, `W`\>(`target`, `source1`, `source2`, `source3`): `T` & `U` & `V` & `W`
|
|
1102
1102
|
|
|
1103
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2015.core.d.ts:305
|
|
1104
|
+
|
|
1103
1105
|
Copy the values of all of the enumerable own properties from one or more source objects to a
|
|
1104
1106
|
target object. Returns the target object.
|
|
1105
1107
|
|
|
@@ -1115,19 +1117,27 @@ target object. Returns the target object.
|
|
|
1115
1117
|
|
|
1116
1118
|
##### Parameters
|
|
1117
1119
|
|
|
1118
|
-
|
|
1120
|
+
###### target
|
|
1121
|
+
|
|
1122
|
+
`T`
|
|
1119
1123
|
|
|
1120
1124
|
The target object to copy to.
|
|
1121
1125
|
|
|
1122
|
-
|
|
1126
|
+
###### source1
|
|
1127
|
+
|
|
1128
|
+
`U`
|
|
1123
1129
|
|
|
1124
1130
|
The first source object from which to copy properties.
|
|
1125
1131
|
|
|
1126
|
-
|
|
1132
|
+
###### source2
|
|
1133
|
+
|
|
1134
|
+
`V`
|
|
1127
1135
|
|
|
1128
1136
|
The second source object from which to copy properties.
|
|
1129
1137
|
|
|
1130
|
-
|
|
1138
|
+
###### source3
|
|
1139
|
+
|
|
1140
|
+
`W`
|
|
1131
1141
|
|
|
1132
1142
|
The third source object from which to copy properties.
|
|
1133
1143
|
|
|
@@ -1135,24 +1145,26 @@ The third source object from which to copy properties.
|
|
|
1135
1145
|
|
|
1136
1146
|
`T` & `U` & `V` & `W`
|
|
1137
1147
|
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:305
|
|
1141
|
-
|
|
1142
|
-
#### assign(target, sources)
|
|
1148
|
+
#### Call Signature
|
|
1143
1149
|
|
|
1144
1150
|
> `static` **assign**(`target`, ...`sources`): `any`
|
|
1145
1151
|
|
|
1152
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2015.core.d.ts:313
|
|
1153
|
+
|
|
1146
1154
|
Copy the values of all of the enumerable own properties from one or more source objects to a
|
|
1147
1155
|
target object. Returns the target object.
|
|
1148
1156
|
|
|
1149
1157
|
##### Parameters
|
|
1150
1158
|
|
|
1151
|
-
|
|
1159
|
+
###### target
|
|
1160
|
+
|
|
1161
|
+
`object`
|
|
1152
1162
|
|
|
1153
1163
|
The target object to copy to.
|
|
1154
1164
|
|
|
1155
|
-
|
|
1165
|
+
###### sources
|
|
1166
|
+
|
|
1167
|
+
...`any`[]
|
|
1156
1168
|
|
|
1157
1169
|
One or more source objects from which to copy properties
|
|
1158
1170
|
|
|
@@ -1160,47 +1172,49 @@ One or more source objects from which to copy properties
|
|
|
1160
1172
|
|
|
1161
1173
|
`any`
|
|
1162
1174
|
|
|
1163
|
-
##### Defined in
|
|
1164
|
-
|
|
1165
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:313
|
|
1166
|
-
|
|
1167
1175
|
***
|
|
1168
1176
|
|
|
1169
1177
|
### create()
|
|
1170
1178
|
|
|
1171
|
-
####
|
|
1179
|
+
#### Call Signature
|
|
1172
1180
|
|
|
1173
1181
|
> `static` **create**(`o`): `any`
|
|
1174
1182
|
|
|
1183
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:188
|
|
1184
|
+
|
|
1175
1185
|
Creates an object that has the specified prototype or that has null prototype.
|
|
1176
1186
|
|
|
1177
1187
|
##### Parameters
|
|
1178
1188
|
|
|
1179
|
-
|
|
1189
|
+
###### o
|
|
1180
1190
|
|
|
1181
1191
|
Object to use as a prototype. May be null.
|
|
1182
1192
|
|
|
1193
|
+
`null` | `object`
|
|
1194
|
+
|
|
1183
1195
|
##### Returns
|
|
1184
1196
|
|
|
1185
1197
|
`any`
|
|
1186
1198
|
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:188
|
|
1190
|
-
|
|
1191
|
-
#### create(o, properties)
|
|
1199
|
+
#### Call Signature
|
|
1192
1200
|
|
|
1193
1201
|
> `static` **create**(`o`, `properties`): `any`
|
|
1194
1202
|
|
|
1203
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:195
|
|
1204
|
+
|
|
1195
1205
|
Creates an object that has the specified prototype, and that optionally contains specified properties.
|
|
1196
1206
|
|
|
1197
1207
|
##### Parameters
|
|
1198
1208
|
|
|
1199
|
-
|
|
1209
|
+
###### o
|
|
1200
1210
|
|
|
1201
1211
|
Object to use as a prototype. May be null
|
|
1202
1212
|
|
|
1203
|
-
|
|
1213
|
+
`null` | `object`
|
|
1214
|
+
|
|
1215
|
+
###### properties
|
|
1216
|
+
|
|
1217
|
+
`PropertyDescriptorMap` & `ThisType`\<`any`\>
|
|
1204
1218
|
|
|
1205
1219
|
JavaScript object that contains one or more property descriptors.
|
|
1206
1220
|
|
|
@@ -1208,33 +1222,33 @@ JavaScript object that contains one or more property descriptors.
|
|
|
1208
1222
|
|
|
1209
1223
|
`any`
|
|
1210
1224
|
|
|
1211
|
-
##### Defined in
|
|
1212
|
-
|
|
1213
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:195
|
|
1214
|
-
|
|
1215
1225
|
***
|
|
1216
1226
|
|
|
1217
1227
|
### defineProperties()
|
|
1218
1228
|
|
|
1219
1229
|
> `static` **defineProperties**(`aTarget`, `aProperties`, `recreate`?): `any`
|
|
1220
1230
|
|
|
1231
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/advance.d.ts:11
|
|
1232
|
+
|
|
1221
1233
|
Adds one or more properties to an object, and/or modifies attributes of existing properties.
|
|
1222
1234
|
|
|
1223
1235
|
#### Parameters
|
|
1224
1236
|
|
|
1225
|
-
|
|
1237
|
+
##### aTarget
|
|
1226
1238
|
|
|
1227
|
-
|
|
1239
|
+
`any`
|
|
1228
1240
|
|
|
1229
|
-
|
|
1241
|
+
##### aProperties
|
|
1230
1242
|
|
|
1231
|
-
|
|
1243
|
+
`PropDescriptors`
|
|
1232
1244
|
|
|
1233
|
-
|
|
1245
|
+
##### recreate?
|
|
1234
1246
|
|
|
1235
|
-
|
|
1247
|
+
`boolean`
|
|
1236
1248
|
|
|
1237
|
-
|
|
1249
|
+
#### Returns
|
|
1250
|
+
|
|
1251
|
+
`any`
|
|
1238
1252
|
|
|
1239
1253
|
***
|
|
1240
1254
|
|
|
@@ -1242,6 +1256,8 @@ node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/ad
|
|
|
1242
1256
|
|
|
1243
1257
|
> `static` **defineProperty**\<`T`\>(`o`, `p`, `attributes`): `T`
|
|
1244
1258
|
|
|
1259
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:203
|
|
1260
|
+
|
|
1245
1261
|
Adds a property to an object, or modifies attributes of an existing property.
|
|
1246
1262
|
|
|
1247
1263
|
#### Type Parameters
|
|
@@ -1250,15 +1266,21 @@ Adds a property to an object, or modifies attributes of an existing property.
|
|
|
1250
1266
|
|
|
1251
1267
|
#### Parameters
|
|
1252
1268
|
|
|
1253
|
-
|
|
1269
|
+
##### o
|
|
1270
|
+
|
|
1271
|
+
`T`
|
|
1254
1272
|
|
|
1255
1273
|
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.
|
|
1256
1274
|
|
|
1257
|
-
|
|
1275
|
+
##### p
|
|
1276
|
+
|
|
1277
|
+
`PropertyKey`
|
|
1258
1278
|
|
|
1259
1279
|
The property name.
|
|
1260
1280
|
|
|
1261
|
-
|
|
1281
|
+
##### attributes
|
|
1282
|
+
|
|
1283
|
+
`PropertyDescriptor` & `ThisType`\<`any`\>
|
|
1262
1284
|
|
|
1263
1285
|
Descriptor for the property. It can be for a data property or an accessor property.
|
|
1264
1286
|
|
|
@@ -1266,17 +1288,15 @@ Descriptor for the property. It can be for a data property or an accessor proper
|
|
|
1266
1288
|
|
|
1267
1289
|
`T`
|
|
1268
1290
|
|
|
1269
|
-
#### Defined in
|
|
1270
|
-
|
|
1271
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:203
|
|
1272
|
-
|
|
1273
1291
|
***
|
|
1274
1292
|
|
|
1275
1293
|
### entries()
|
|
1276
1294
|
|
|
1277
|
-
####
|
|
1295
|
+
#### Call Signature
|
|
1296
|
+
|
|
1297
|
+
> `static` **entries**\<`T`\>(`o`): \[`string`, `T`\][]
|
|
1278
1298
|
|
|
1279
|
-
|
|
1299
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2017.object.d.ts:36
|
|
1280
1300
|
|
|
1281
1301
|
Returns an array of key/values of the enumerable own properties of an object
|
|
1282
1302
|
|
|
@@ -1286,46 +1306,44 @@ Returns an array of key/values of the enumerable own properties of an object
|
|
|
1286
1306
|
|
|
1287
1307
|
##### Parameters
|
|
1288
1308
|
|
|
1289
|
-
|
|
1309
|
+
###### o
|
|
1290
1310
|
|
|
1291
1311
|
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
1292
1312
|
|
|
1293
|
-
|
|
1313
|
+
\{\} | `ArrayLike`\<`T`\>
|
|
1294
1314
|
|
|
1295
|
-
|
|
1315
|
+
##### Returns
|
|
1296
1316
|
|
|
1297
|
-
|
|
1317
|
+
\[`string`, `T`\][]
|
|
1298
1318
|
|
|
1299
|
-
|
|
1319
|
+
#### Call Signature
|
|
1300
1320
|
|
|
1301
|
-
|
|
1321
|
+
> `static` **entries**(`o`): \[`string`, `any`\][]
|
|
1302
1322
|
|
|
1303
|
-
|
|
1323
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2017.object.d.ts:42
|
|
1304
1324
|
|
|
1305
1325
|
Returns an array of key/values of the enumerable own properties of an object
|
|
1306
1326
|
|
|
1307
1327
|
##### Parameters
|
|
1308
1328
|
|
|
1309
|
-
|
|
1329
|
+
###### o
|
|
1310
1330
|
|
|
1311
1331
|
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
1312
1332
|
|
|
1313
1333
|
##### Returns
|
|
1314
1334
|
|
|
1315
|
-
[`string`, `any
|
|
1316
|
-
|
|
1317
|
-
##### Defined in
|
|
1318
|
-
|
|
1319
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2017.object.d.ts:42
|
|
1335
|
+
\[`string`, `any`\][]
|
|
1320
1336
|
|
|
1321
1337
|
***
|
|
1322
1338
|
|
|
1323
1339
|
### freeze()
|
|
1324
1340
|
|
|
1325
|
-
####
|
|
1341
|
+
#### Call Signature
|
|
1326
1342
|
|
|
1327
1343
|
> `static` **freeze**\<`T`\>(`f`): `T`
|
|
1328
1344
|
|
|
1345
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:222
|
|
1346
|
+
|
|
1329
1347
|
Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
|
|
1330
1348
|
|
|
1331
1349
|
##### Type Parameters
|
|
@@ -1334,7 +1352,9 @@ Prevents the modification of existing property attributes and values, and preven
|
|
|
1334
1352
|
|
|
1335
1353
|
##### Parameters
|
|
1336
1354
|
|
|
1337
|
-
|
|
1355
|
+
###### f
|
|
1356
|
+
|
|
1357
|
+
`T`
|
|
1338
1358
|
|
|
1339
1359
|
Object on which to lock the attributes.
|
|
1340
1360
|
|
|
@@ -1342,14 +1362,12 @@ Object on which to lock the attributes.
|
|
|
1342
1362
|
|
|
1343
1363
|
`T`
|
|
1344
1364
|
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:222
|
|
1348
|
-
|
|
1349
|
-
#### freeze(o)
|
|
1365
|
+
#### Call Signature
|
|
1350
1366
|
|
|
1351
1367
|
> `static` **freeze**\<`T`, `U`\>(`o`): `Readonly`\<`T`\>
|
|
1352
1368
|
|
|
1369
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:228
|
|
1370
|
+
|
|
1353
1371
|
Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
|
|
1354
1372
|
|
|
1355
1373
|
##### Type Parameters
|
|
@@ -1360,7 +1378,9 @@ Prevents the modification of existing property attributes and values, and preven
|
|
|
1360
1378
|
|
|
1361
1379
|
##### Parameters
|
|
1362
1380
|
|
|
1363
|
-
|
|
1381
|
+
###### o
|
|
1382
|
+
|
|
1383
|
+
`T`
|
|
1364
1384
|
|
|
1365
1385
|
Object on which to lock the attributes.
|
|
1366
1386
|
|
|
@@ -1368,14 +1388,12 @@ Object on which to lock the attributes.
|
|
|
1368
1388
|
|
|
1369
1389
|
`Readonly`\<`T`\>
|
|
1370
1390
|
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:228
|
|
1374
|
-
|
|
1375
|
-
#### freeze(o)
|
|
1391
|
+
#### Call Signature
|
|
1376
1392
|
|
|
1377
1393
|
> `static` **freeze**\<`T`\>(`o`): `Readonly`\<`T`\>
|
|
1378
1394
|
|
|
1395
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:234
|
|
1396
|
+
|
|
1379
1397
|
Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
|
|
1380
1398
|
|
|
1381
1399
|
##### Type Parameters
|
|
@@ -1384,7 +1402,9 @@ Prevents the modification of existing property attributes and values, and preven
|
|
|
1384
1402
|
|
|
1385
1403
|
##### Parameters
|
|
1386
1404
|
|
|
1387
|
-
|
|
1405
|
+
###### o
|
|
1406
|
+
|
|
1407
|
+
`T`
|
|
1388
1408
|
|
|
1389
1409
|
Object on which to lock the attributes.
|
|
1390
1410
|
|
|
@@ -1392,18 +1412,16 @@ Object on which to lock the attributes.
|
|
|
1392
1412
|
|
|
1393
1413
|
`Readonly`\<`T`\>
|
|
1394
1414
|
|
|
1395
|
-
##### Defined in
|
|
1396
|
-
|
|
1397
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:234
|
|
1398
|
-
|
|
1399
1415
|
***
|
|
1400
1416
|
|
|
1401
1417
|
### fromEntries()
|
|
1402
1418
|
|
|
1403
|
-
####
|
|
1419
|
+
#### Call Signature
|
|
1404
1420
|
|
|
1405
1421
|
> `static` **fromEntries**\<`T`\>(`entries`): `object`
|
|
1406
1422
|
|
|
1423
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2019.object.d.ts:26
|
|
1424
|
+
|
|
1407
1425
|
Returns an object created by key-value entries for properties and methods
|
|
1408
1426
|
|
|
1409
1427
|
##### Type Parameters
|
|
@@ -1412,7 +1430,9 @@ Returns an object created by key-value entries for properties and methods
|
|
|
1412
1430
|
|
|
1413
1431
|
##### Parameters
|
|
1414
1432
|
|
|
1415
|
-
|
|
1433
|
+
###### entries
|
|
1434
|
+
|
|
1435
|
+
`Iterable`\<readonly \[`PropertyKey`, `T`\]\>
|
|
1416
1436
|
|
|
1417
1437
|
An iterable object that contains key-value entries for properties and methods.
|
|
1418
1438
|
|
|
@@ -1420,19 +1440,19 @@ An iterable object that contains key-value entries for properties and methods.
|
|
|
1420
1440
|
|
|
1421
1441
|
`object`
|
|
1422
1442
|
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2019.object.d.ts:26
|
|
1426
|
-
|
|
1427
|
-
#### fromEntries(entries)
|
|
1443
|
+
#### Call Signature
|
|
1428
1444
|
|
|
1429
1445
|
> `static` **fromEntries**(`entries`): `any`
|
|
1430
1446
|
|
|
1447
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2019.object.d.ts:32
|
|
1448
|
+
|
|
1431
1449
|
Returns an object created by key-value entries for properties and methods
|
|
1432
1450
|
|
|
1433
1451
|
##### Parameters
|
|
1434
1452
|
|
|
1435
|
-
|
|
1453
|
+
###### entries
|
|
1454
|
+
|
|
1455
|
+
`Iterable`\<readonly `any`[]\>
|
|
1436
1456
|
|
|
1437
1457
|
An iterable object that contains key-value entries for properties and methods.
|
|
1438
1458
|
|
|
@@ -1440,116 +1460,118 @@ An iterable object that contains key-value entries for properties and methods.
|
|
|
1440
1460
|
|
|
1441
1461
|
`any`
|
|
1442
1462
|
|
|
1443
|
-
##### Defined in
|
|
1444
|
-
|
|
1445
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2019.object.d.ts:32
|
|
1446
|
-
|
|
1447
1463
|
***
|
|
1448
1464
|
|
|
1449
1465
|
### get()
|
|
1450
1466
|
|
|
1451
1467
|
> `static` **get**(`name`): [`ToolFunc`](ToolFunc.md)
|
|
1452
1468
|
|
|
1469
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:59](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L59)
|
|
1470
|
+
|
|
1453
1471
|
#### Parameters
|
|
1454
1472
|
|
|
1455
|
-
|
|
1473
|
+
##### name
|
|
1474
|
+
|
|
1475
|
+
`string`
|
|
1456
1476
|
|
|
1457
1477
|
#### Returns
|
|
1458
1478
|
|
|
1459
1479
|
[`ToolFunc`](ToolFunc.md)
|
|
1460
1480
|
|
|
1461
|
-
#### Defined in
|
|
1462
|
-
|
|
1463
|
-
[packages/ai-tool/src/tool-func.ts:77](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L77)
|
|
1464
|
-
|
|
1465
1481
|
***
|
|
1466
1482
|
|
|
1467
1483
|
### getAllByTag()
|
|
1468
1484
|
|
|
1469
1485
|
> `static` **getAllByTag**(`tagName`): [`ToolFunc`](ToolFunc.md)[]
|
|
1470
1486
|
|
|
1487
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:87](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L87)
|
|
1488
|
+
|
|
1471
1489
|
#### Parameters
|
|
1472
1490
|
|
|
1473
|
-
|
|
1491
|
+
##### tagName
|
|
1492
|
+
|
|
1493
|
+
`string`
|
|
1474
1494
|
|
|
1475
1495
|
#### Returns
|
|
1476
1496
|
|
|
1477
1497
|
[`ToolFunc`](ToolFunc.md)[]
|
|
1478
1498
|
|
|
1479
|
-
#### Defined in
|
|
1480
|
-
|
|
1481
|
-
[packages/ai-tool/src/tool-func.ts:105](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L105)
|
|
1482
|
-
|
|
1483
1499
|
***
|
|
1484
1500
|
|
|
1485
1501
|
### getByTag()
|
|
1486
1502
|
|
|
1487
1503
|
> `static` **getByTag**(`tagName`): `undefined` \| [`ToolFunc`](ToolFunc.md)
|
|
1488
1504
|
|
|
1505
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:67](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L67)
|
|
1506
|
+
|
|
1489
1507
|
#### Parameters
|
|
1490
1508
|
|
|
1491
|
-
|
|
1509
|
+
##### tagName
|
|
1510
|
+
|
|
1511
|
+
`string`
|
|
1492
1512
|
|
|
1493
1513
|
#### Returns
|
|
1494
1514
|
|
|
1495
1515
|
`undefined` \| [`ToolFunc`](ToolFunc.md)
|
|
1496
1516
|
|
|
1497
|
-
#### Defined in
|
|
1498
|
-
|
|
1499
|
-
[packages/ai-tool/src/tool-func.ts:85](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L85)
|
|
1500
|
-
|
|
1501
1517
|
***
|
|
1502
1518
|
|
|
1503
1519
|
### getFunc()
|
|
1504
1520
|
|
|
1505
1521
|
> `static` **getFunc**(`name`): `any`
|
|
1506
1522
|
|
|
1523
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:128](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L128)
|
|
1524
|
+
|
|
1507
1525
|
#### Parameters
|
|
1508
1526
|
|
|
1509
|
-
|
|
1527
|
+
##### name
|
|
1528
|
+
|
|
1529
|
+
`string`
|
|
1510
1530
|
|
|
1511
1531
|
#### Returns
|
|
1512
1532
|
|
|
1513
1533
|
`any`
|
|
1514
1534
|
|
|
1515
|
-
#### Defined in
|
|
1516
|
-
|
|
1517
|
-
[packages/ai-tool/src/tool-func.ts:146](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L146)
|
|
1518
|
-
|
|
1519
1535
|
***
|
|
1520
1536
|
|
|
1521
1537
|
### getFuncWithPos()
|
|
1522
1538
|
|
|
1523
1539
|
> `static` **getFuncWithPos**(`name`): `any`
|
|
1524
1540
|
|
|
1541
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:149](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L149)
|
|
1542
|
+
|
|
1525
1543
|
#### Parameters
|
|
1526
1544
|
|
|
1527
|
-
|
|
1545
|
+
##### name
|
|
1546
|
+
|
|
1547
|
+
`string`
|
|
1528
1548
|
|
|
1529
1549
|
#### Returns
|
|
1530
1550
|
|
|
1531
1551
|
`any`
|
|
1532
1552
|
|
|
1533
|
-
#### Defined in
|
|
1534
|
-
|
|
1535
|
-
[packages/ai-tool/src/tool-func.ts:167](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L167)
|
|
1536
|
-
|
|
1537
1553
|
***
|
|
1538
1554
|
|
|
1539
1555
|
### getOwnPropertyDescriptor()
|
|
1540
1556
|
|
|
1541
1557
|
> `static` **getOwnPropertyDescriptor**(`o`, `p`): `undefined` \| `PropertyDescriptor`
|
|
1542
1558
|
|
|
1559
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:175
|
|
1560
|
+
|
|
1543
1561
|
Gets the own property descriptor of the specified object.
|
|
1544
1562
|
An own property descriptor is one that is defined directly on the object and is not inherited from the object's prototype.
|
|
1545
1563
|
|
|
1546
1564
|
#### Parameters
|
|
1547
1565
|
|
|
1548
|
-
|
|
1566
|
+
##### o
|
|
1567
|
+
|
|
1568
|
+
`any`
|
|
1549
1569
|
|
|
1550
1570
|
Object that contains the property.
|
|
1551
1571
|
|
|
1552
|
-
|
|
1572
|
+
##### p
|
|
1573
|
+
|
|
1574
|
+
`PropertyKey`
|
|
1553
1575
|
|
|
1554
1576
|
Name of the property.
|
|
1555
1577
|
|
|
@@ -1557,16 +1579,14 @@ Name of the property.
|
|
|
1557
1579
|
|
|
1558
1580
|
`undefined` \| `PropertyDescriptor`
|
|
1559
1581
|
|
|
1560
|
-
#### Defined in
|
|
1561
|
-
|
|
1562
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:175
|
|
1563
|
-
|
|
1564
1582
|
***
|
|
1565
1583
|
|
|
1566
1584
|
### getOwnPropertyDescriptors()
|
|
1567
1585
|
|
|
1568
1586
|
> `static` **getOwnPropertyDescriptors**\<`T`\>(`o`): \{ \[P in string \| number \| symbol\]: TypedPropertyDescriptor\<T\[P\]\> \} & `object`
|
|
1569
1587
|
|
|
1588
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2017.object.d.ts:48
|
|
1589
|
+
|
|
1570
1590
|
Returns an object containing all own property descriptors of an object
|
|
1571
1591
|
|
|
1572
1592
|
#### Type Parameters
|
|
@@ -1575,7 +1595,9 @@ Returns an object containing all own property descriptors of an object
|
|
|
1575
1595
|
|
|
1576
1596
|
#### Parameters
|
|
1577
1597
|
|
|
1578
|
-
|
|
1598
|
+
##### o
|
|
1599
|
+
|
|
1600
|
+
`T`
|
|
1579
1601
|
|
|
1580
1602
|
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
1581
1603
|
|
|
@@ -1583,22 +1605,22 @@ Object that contains the properties and methods. This can be an object that you
|
|
|
1583
1605
|
|
|
1584
1606
|
\{ \[P in string \| number \| symbol\]: TypedPropertyDescriptor\<T\[P\]\> \} & `object`
|
|
1585
1607
|
|
|
1586
|
-
#### Defined in
|
|
1587
|
-
|
|
1588
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2017.object.d.ts:48
|
|
1589
|
-
|
|
1590
1608
|
***
|
|
1591
1609
|
|
|
1592
1610
|
### getOwnPropertyNames()
|
|
1593
1611
|
|
|
1594
1612
|
> `static` **getOwnPropertyNames**(`o`): `string`[]
|
|
1595
1613
|
|
|
1614
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:182
|
|
1615
|
+
|
|
1596
1616
|
Returns the names of the own properties of an object. The own properties of an object are those that are defined directly
|
|
1597
1617
|
on that object, and are not inherited from the object's prototype. The properties of an object include both fields (objects) and functions.
|
|
1598
1618
|
|
|
1599
1619
|
#### Parameters
|
|
1600
1620
|
|
|
1601
|
-
|
|
1621
|
+
##### o
|
|
1622
|
+
|
|
1623
|
+
`any`
|
|
1602
1624
|
|
|
1603
1625
|
Object that contains the own properties.
|
|
1604
1626
|
|
|
@@ -1606,21 +1628,21 @@ Object that contains the own properties.
|
|
|
1606
1628
|
|
|
1607
1629
|
`string`[]
|
|
1608
1630
|
|
|
1609
|
-
#### Defined in
|
|
1610
|
-
|
|
1611
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:182
|
|
1612
|
-
|
|
1613
1631
|
***
|
|
1614
1632
|
|
|
1615
1633
|
### getOwnPropertySymbols()
|
|
1616
1634
|
|
|
1617
1635
|
> `static` **getOwnPropertySymbols**(`o`): `symbol`[]
|
|
1618
1636
|
|
|
1637
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2015.core.d.ts:319
|
|
1638
|
+
|
|
1619
1639
|
Returns an array of all symbol properties found directly on object o.
|
|
1620
1640
|
|
|
1621
1641
|
#### Parameters
|
|
1622
1642
|
|
|
1623
|
-
|
|
1643
|
+
##### o
|
|
1644
|
+
|
|
1645
|
+
`any`
|
|
1624
1646
|
|
|
1625
1647
|
Object to retrieve the symbols from.
|
|
1626
1648
|
|
|
@@ -1628,37 +1650,35 @@ Object to retrieve the symbols from.
|
|
|
1628
1650
|
|
|
1629
1651
|
`symbol`[]
|
|
1630
1652
|
|
|
1631
|
-
#### Defined in
|
|
1632
|
-
|
|
1633
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:319
|
|
1634
|
-
|
|
1635
1653
|
***
|
|
1636
1654
|
|
|
1637
1655
|
### getProperties()
|
|
1638
1656
|
|
|
1639
1657
|
> `static` **getProperties**(): `PropDescriptors`
|
|
1640
1658
|
|
|
1659
|
+
Defined in: node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/advance.d.ts:10
|
|
1660
|
+
|
|
1641
1661
|
get all properties descriptor include inherited.
|
|
1642
1662
|
|
|
1643
1663
|
#### Returns
|
|
1644
1664
|
|
|
1645
1665
|
`PropDescriptors`
|
|
1646
1666
|
|
|
1647
|
-
#### Defined in
|
|
1648
|
-
|
|
1649
|
-
node\_modules/.pnpm/property-manager@2.0.0/node\_modules/property-manager/lib/advance.d.ts:10
|
|
1650
|
-
|
|
1651
1667
|
***
|
|
1652
1668
|
|
|
1653
1669
|
### getPrototypeOf()
|
|
1654
1670
|
|
|
1655
1671
|
> `static` **getPrototypeOf**(`o`): `any`
|
|
1656
1672
|
|
|
1673
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:167
|
|
1674
|
+
|
|
1657
1675
|
Returns the prototype of an object.
|
|
1658
1676
|
|
|
1659
1677
|
#### Parameters
|
|
1660
1678
|
|
|
1661
|
-
|
|
1679
|
+
##### o
|
|
1680
|
+
|
|
1681
|
+
`any`
|
|
1662
1682
|
|
|
1663
1683
|
The object that references the prototype.
|
|
1664
1684
|
|
|
@@ -1666,43 +1686,45 @@ The object that references the prototype.
|
|
|
1666
1686
|
|
|
1667
1687
|
`any`
|
|
1668
1688
|
|
|
1669
|
-
#### Defined in
|
|
1670
|
-
|
|
1671
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:167
|
|
1672
|
-
|
|
1673
1689
|
***
|
|
1674
1690
|
|
|
1675
1691
|
### hasAsyncFeature()
|
|
1676
1692
|
|
|
1677
1693
|
> `static` **hasAsyncFeature**(`feature`): `boolean`
|
|
1678
1694
|
|
|
1695
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:105](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L105)
|
|
1696
|
+
|
|
1679
1697
|
#### Parameters
|
|
1680
1698
|
|
|
1681
|
-
|
|
1699
|
+
##### feature
|
|
1700
|
+
|
|
1701
|
+
[`AsyncFeatureBits`](../enumerations/AsyncFeatureBits.md)
|
|
1682
1702
|
|
|
1683
1703
|
#### Returns
|
|
1684
1704
|
|
|
1685
1705
|
`boolean`
|
|
1686
1706
|
|
|
1687
|
-
#### Defined in
|
|
1688
|
-
|
|
1689
|
-
[packages/ai-tool/src/tool-func.ts:123](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L123)
|
|
1690
|
-
|
|
1691
1707
|
***
|
|
1692
1708
|
|
|
1693
1709
|
### hasOwn()
|
|
1694
1710
|
|
|
1695
1711
|
> `static` **hasOwn**(`o`, `v`): `boolean`
|
|
1696
1712
|
|
|
1713
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2022.object.d.ts:25
|
|
1714
|
+
|
|
1697
1715
|
Determines whether an object has a property with the specified name.
|
|
1698
1716
|
|
|
1699
1717
|
#### Parameters
|
|
1700
1718
|
|
|
1701
|
-
|
|
1719
|
+
##### o
|
|
1720
|
+
|
|
1721
|
+
`object`
|
|
1702
1722
|
|
|
1703
1723
|
An object.
|
|
1704
1724
|
|
|
1705
|
-
|
|
1725
|
+
##### v
|
|
1726
|
+
|
|
1727
|
+
`PropertyKey`
|
|
1706
1728
|
|
|
1707
1729
|
A property name.
|
|
1708
1730
|
|
|
@@ -1710,25 +1732,27 @@ A property name.
|
|
|
1710
1732
|
|
|
1711
1733
|
`boolean`
|
|
1712
1734
|
|
|
1713
|
-
#### Defined in
|
|
1714
|
-
|
|
1715
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2022.object.d.ts:25
|
|
1716
|
-
|
|
1717
1735
|
***
|
|
1718
1736
|
|
|
1719
1737
|
### is()
|
|
1720
1738
|
|
|
1721
1739
|
> `static` **is**(`value1`, `value2`): `boolean`
|
|
1722
1740
|
|
|
1741
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2015.core.d.ts:332
|
|
1742
|
+
|
|
1723
1743
|
Returns true if the values are the same value, false otherwise.
|
|
1724
1744
|
|
|
1725
1745
|
#### Parameters
|
|
1726
1746
|
|
|
1727
|
-
|
|
1747
|
+
##### value1
|
|
1748
|
+
|
|
1749
|
+
`any`
|
|
1728
1750
|
|
|
1729
1751
|
The first value.
|
|
1730
1752
|
|
|
1731
|
-
|
|
1753
|
+
##### value2
|
|
1754
|
+
|
|
1755
|
+
`any`
|
|
1732
1756
|
|
|
1733
1757
|
The second value.
|
|
1734
1758
|
|
|
@@ -1736,21 +1760,21 @@ The second value.
|
|
|
1736
1760
|
|
|
1737
1761
|
`boolean`
|
|
1738
1762
|
|
|
1739
|
-
#### Defined in
|
|
1740
|
-
|
|
1741
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:332
|
|
1742
|
-
|
|
1743
1763
|
***
|
|
1744
1764
|
|
|
1745
1765
|
### isExtensible()
|
|
1746
1766
|
|
|
1747
1767
|
> `static` **isExtensible**(`o`): `boolean`
|
|
1748
1768
|
|
|
1769
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:258
|
|
1770
|
+
|
|
1749
1771
|
Returns a value that indicates whether new properties can be added to an object.
|
|
1750
1772
|
|
|
1751
1773
|
#### Parameters
|
|
1752
1774
|
|
|
1753
|
-
|
|
1775
|
+
##### o
|
|
1776
|
+
|
|
1777
|
+
`any`
|
|
1754
1778
|
|
|
1755
1779
|
Object to test.
|
|
1756
1780
|
|
|
@@ -1758,21 +1782,21 @@ Object to test.
|
|
|
1758
1782
|
|
|
1759
1783
|
`boolean`
|
|
1760
1784
|
|
|
1761
|
-
#### Defined in
|
|
1762
|
-
|
|
1763
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:258
|
|
1764
|
-
|
|
1765
1785
|
***
|
|
1766
1786
|
|
|
1767
1787
|
### isFrozen()
|
|
1768
1788
|
|
|
1769
1789
|
> `static` **isFrozen**(`o`): `boolean`
|
|
1770
1790
|
|
|
1791
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:252
|
|
1792
|
+
|
|
1771
1793
|
Returns true if existing property attributes and values cannot be modified in an object, and new properties cannot be added to the object.
|
|
1772
1794
|
|
|
1773
1795
|
#### Parameters
|
|
1774
1796
|
|
|
1775
|
-
|
|
1797
|
+
##### o
|
|
1798
|
+
|
|
1799
|
+
`any`
|
|
1776
1800
|
|
|
1777
1801
|
Object to test.
|
|
1778
1802
|
|
|
@@ -1780,21 +1804,21 @@ Object to test.
|
|
|
1780
1804
|
|
|
1781
1805
|
`boolean`
|
|
1782
1806
|
|
|
1783
|
-
#### Defined in
|
|
1784
|
-
|
|
1785
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:252
|
|
1786
|
-
|
|
1787
1807
|
***
|
|
1788
1808
|
|
|
1789
1809
|
### isSealed()
|
|
1790
1810
|
|
|
1791
1811
|
> `static` **isSealed**(`o`): `boolean`
|
|
1792
1812
|
|
|
1813
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:246
|
|
1814
|
+
|
|
1793
1815
|
Returns true if existing property attributes cannot be modified in an object and new properties cannot be added to the object.
|
|
1794
1816
|
|
|
1795
1817
|
#### Parameters
|
|
1796
1818
|
|
|
1797
|
-
|
|
1819
|
+
##### o
|
|
1820
|
+
|
|
1821
|
+
`any`
|
|
1798
1822
|
|
|
1799
1823
|
Object to test.
|
|
1800
1824
|
|
|
@@ -1802,23 +1826,23 @@ Object to test.
|
|
|
1802
1826
|
|
|
1803
1827
|
`boolean`
|
|
1804
1828
|
|
|
1805
|
-
#### Defined in
|
|
1806
|
-
|
|
1807
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:246
|
|
1808
|
-
|
|
1809
1829
|
***
|
|
1810
1830
|
|
|
1811
1831
|
### keys()
|
|
1812
1832
|
|
|
1813
|
-
####
|
|
1833
|
+
#### Call Signature
|
|
1814
1834
|
|
|
1815
1835
|
> `static` **keys**(`o`): `string`[]
|
|
1816
1836
|
|
|
1837
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:264
|
|
1838
|
+
|
|
1817
1839
|
Returns the names of the enumerable string properties and methods of an object.
|
|
1818
1840
|
|
|
1819
1841
|
##### Parameters
|
|
1820
1842
|
|
|
1821
|
-
|
|
1843
|
+
###### o
|
|
1844
|
+
|
|
1845
|
+
`object`
|
|
1822
1846
|
|
|
1823
1847
|
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
1824
1848
|
|
|
@@ -1826,19 +1850,17 @@ Object that contains the properties and methods. This can be an object that you
|
|
|
1826
1850
|
|
|
1827
1851
|
`string`[]
|
|
1828
1852
|
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:264
|
|
1832
|
-
|
|
1833
|
-
#### keys(o)
|
|
1853
|
+
#### Call Signature
|
|
1834
1854
|
|
|
1835
1855
|
> `static` **keys**(`o`): `string`[]
|
|
1836
1856
|
|
|
1857
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2015.core.d.ts:325
|
|
1858
|
+
|
|
1837
1859
|
Returns the names of the enumerable string properties and methods of an object.
|
|
1838
1860
|
|
|
1839
1861
|
##### Parameters
|
|
1840
1862
|
|
|
1841
|
-
|
|
1863
|
+
###### o
|
|
1842
1864
|
|
|
1843
1865
|
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
1844
1866
|
|
|
@@ -1846,30 +1868,26 @@ Object that contains the properties and methods. This can be an object that you
|
|
|
1846
1868
|
|
|
1847
1869
|
`string`[]
|
|
1848
1870
|
|
|
1849
|
-
##### Defined in
|
|
1850
|
-
|
|
1851
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:325
|
|
1852
|
-
|
|
1853
1871
|
***
|
|
1854
1872
|
|
|
1855
1873
|
### list()
|
|
1856
1874
|
|
|
1857
1875
|
> `static` **list**(): [`Funcs`](../interfaces/Funcs.md)
|
|
1858
1876
|
|
|
1877
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:63](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L63)
|
|
1878
|
+
|
|
1859
1879
|
#### Returns
|
|
1860
1880
|
|
|
1861
1881
|
[`Funcs`](../interfaces/Funcs.md)
|
|
1862
1882
|
|
|
1863
|
-
#### Defined in
|
|
1864
|
-
|
|
1865
|
-
[packages/ai-tool/src/tool-func.ts:81](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L81)
|
|
1866
|
-
|
|
1867
1883
|
***
|
|
1868
1884
|
|
|
1869
1885
|
### preventExtensions()
|
|
1870
1886
|
|
|
1871
1887
|
> `static` **preventExtensions**\<`T`\>(`o`): `T`
|
|
1872
1888
|
|
|
1889
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:240
|
|
1890
|
+
|
|
1873
1891
|
Prevents the addition of new properties to an object.
|
|
1874
1892
|
|
|
1875
1893
|
#### Type Parameters
|
|
@@ -1878,7 +1896,9 @@ Prevents the addition of new properties to an object.
|
|
|
1878
1896
|
|
|
1879
1897
|
#### Parameters
|
|
1880
1898
|
|
|
1881
|
-
|
|
1899
|
+
##### o
|
|
1900
|
+
|
|
1901
|
+
`T`
|
|
1882
1902
|
|
|
1883
1903
|
Object to make non-extensible.
|
|
1884
1904
|
|
|
@@ -1886,67 +1906,69 @@ Object to make non-extensible.
|
|
|
1886
1906
|
|
|
1887
1907
|
`T`
|
|
1888
1908
|
|
|
1889
|
-
#### Defined in
|
|
1890
|
-
|
|
1891
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:240
|
|
1892
|
-
|
|
1893
1909
|
***
|
|
1894
1910
|
|
|
1895
1911
|
### register()
|
|
1896
1912
|
|
|
1897
|
-
####
|
|
1913
|
+
#### Call Signature
|
|
1898
1914
|
|
|
1899
1915
|
> `static` **register**(`name`, `options`): `boolean` \| [`ToolFunc`](ToolFunc.md)
|
|
1900
1916
|
|
|
1917
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:154](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L154)
|
|
1918
|
+
|
|
1901
1919
|
##### Parameters
|
|
1902
1920
|
|
|
1903
|
-
|
|
1921
|
+
###### name
|
|
1904
1922
|
|
|
1905
|
-
|
|
1923
|
+
`string`
|
|
1906
1924
|
|
|
1907
|
-
|
|
1925
|
+
###### options
|
|
1908
1926
|
|
|
1909
|
-
|
|
1927
|
+
[`FuncItem`](../interfaces/FuncItem.md)
|
|
1910
1928
|
|
|
1911
|
-
#####
|
|
1929
|
+
##### Returns
|
|
1912
1930
|
|
|
1913
|
-
[
|
|
1931
|
+
`boolean` \| [`ToolFunc`](ToolFunc.md)
|
|
1914
1932
|
|
|
1915
|
-
####
|
|
1933
|
+
#### Call Signature
|
|
1916
1934
|
|
|
1917
1935
|
> `static` **register**(`func`, `options`): `boolean` \| [`ToolFunc`](ToolFunc.md)
|
|
1918
1936
|
|
|
1937
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:155](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L155)
|
|
1938
|
+
|
|
1919
1939
|
##### Parameters
|
|
1920
1940
|
|
|
1921
|
-
|
|
1941
|
+
###### func
|
|
1922
1942
|
|
|
1923
|
-
|
|
1943
|
+
`Function`
|
|
1924
1944
|
|
|
1925
|
-
|
|
1945
|
+
###### options
|
|
1926
1946
|
|
|
1927
|
-
|
|
1947
|
+
[`FuncItem`](../interfaces/FuncItem.md)
|
|
1928
1948
|
|
|
1929
|
-
#####
|
|
1949
|
+
##### Returns
|
|
1930
1950
|
|
|
1931
|
-
[
|
|
1951
|
+
`boolean` \| [`ToolFunc`](ToolFunc.md)
|
|
1932
1952
|
|
|
1933
|
-
####
|
|
1953
|
+
#### Call Signature
|
|
1934
1954
|
|
|
1935
1955
|
> `static` **register**(`name`, `options`?): `boolean` \| [`ToolFunc`](ToolFunc.md)
|
|
1936
1956
|
|
|
1957
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:156](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L156)
|
|
1958
|
+
|
|
1937
1959
|
##### Parameters
|
|
1938
1960
|
|
|
1939
|
-
|
|
1961
|
+
###### name
|
|
1940
1962
|
|
|
1941
|
-
|
|
1963
|
+
`string` | `Function` | [`ToolFunc`](ToolFunc.md) | [`FuncItem`](../interfaces/FuncItem.md)
|
|
1942
1964
|
|
|
1943
|
-
|
|
1965
|
+
###### options?
|
|
1944
1966
|
|
|
1945
|
-
|
|
1967
|
+
[`FuncItem`](../interfaces/FuncItem.md)
|
|
1946
1968
|
|
|
1947
|
-
#####
|
|
1969
|
+
##### Returns
|
|
1948
1970
|
|
|
1949
|
-
[
|
|
1971
|
+
`boolean` \| [`ToolFunc`](ToolFunc.md)
|
|
1950
1972
|
|
|
1951
1973
|
***
|
|
1952
1974
|
|
|
@@ -1954,39 +1976,43 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:2
|
|
|
1954
1976
|
|
|
1955
1977
|
> `static` **run**(`name`, `params`?): `Promise`\<`any`\>
|
|
1956
1978
|
|
|
1979
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:112](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L112)
|
|
1980
|
+
|
|
1957
1981
|
#### Parameters
|
|
1958
1982
|
|
|
1959
|
-
|
|
1983
|
+
##### name
|
|
1984
|
+
|
|
1985
|
+
`string`
|
|
1986
|
+
|
|
1987
|
+
##### params?
|
|
1960
1988
|
|
|
1961
|
-
|
|
1989
|
+
`any`
|
|
1962
1990
|
|
|
1963
1991
|
#### Returns
|
|
1964
1992
|
|
|
1965
1993
|
`Promise`\<`any`\>
|
|
1966
1994
|
|
|
1967
|
-
#### Defined in
|
|
1968
|
-
|
|
1969
|
-
[packages/ai-tool/src/tool-func.ts:130](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L130)
|
|
1970
|
-
|
|
1971
1995
|
***
|
|
1972
1996
|
|
|
1973
1997
|
### runSync()
|
|
1974
1998
|
|
|
1975
1999
|
> `static` **runSync**(`name`, `params`?): `any`
|
|
1976
2000
|
|
|
2001
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:120](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L120)
|
|
2002
|
+
|
|
1977
2003
|
#### Parameters
|
|
1978
2004
|
|
|
1979
|
-
|
|
2005
|
+
##### name
|
|
1980
2006
|
|
|
1981
|
-
|
|
2007
|
+
`string`
|
|
1982
2008
|
|
|
1983
|
-
|
|
2009
|
+
##### params?
|
|
1984
2010
|
|
|
1985
2011
|
`any`
|
|
1986
2012
|
|
|
1987
|
-
####
|
|
2013
|
+
#### Returns
|
|
1988
2014
|
|
|
1989
|
-
|
|
2015
|
+
`any`
|
|
1990
2016
|
|
|
1991
2017
|
***
|
|
1992
2018
|
|
|
@@ -1994,19 +2020,21 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:2
|
|
|
1994
2020
|
|
|
1995
2021
|
> `static` **runWithPos**(`name`, ...`params`): `Promise`\<`any`\>
|
|
1996
2022
|
|
|
2023
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:133](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L133)
|
|
2024
|
+
|
|
1997
2025
|
#### Parameters
|
|
1998
2026
|
|
|
1999
|
-
|
|
2027
|
+
##### name
|
|
2000
2028
|
|
|
2001
|
-
|
|
2029
|
+
`string`
|
|
2002
2030
|
|
|
2003
|
-
|
|
2031
|
+
##### params
|
|
2004
2032
|
|
|
2005
|
-
`
|
|
2033
|
+
...`any`[]
|
|
2006
2034
|
|
|
2007
|
-
####
|
|
2035
|
+
#### Returns
|
|
2008
2036
|
|
|
2009
|
-
|
|
2037
|
+
`Promise`\<`any`\>
|
|
2010
2038
|
|
|
2011
2039
|
***
|
|
2012
2040
|
|
|
@@ -2014,19 +2042,21 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:2
|
|
|
2014
2042
|
|
|
2015
2043
|
> `static` **runWithPosSync**(`name`, ...`params`): `any`
|
|
2016
2044
|
|
|
2045
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:141](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L141)
|
|
2046
|
+
|
|
2017
2047
|
#### Parameters
|
|
2018
2048
|
|
|
2019
|
-
|
|
2049
|
+
##### name
|
|
2020
2050
|
|
|
2021
|
-
|
|
2051
|
+
`string`
|
|
2022
2052
|
|
|
2023
|
-
|
|
2053
|
+
##### params
|
|
2024
2054
|
|
|
2025
|
-
|
|
2055
|
+
...`any`[]
|
|
2026
2056
|
|
|
2027
|
-
####
|
|
2057
|
+
#### Returns
|
|
2028
2058
|
|
|
2029
|
-
|
|
2059
|
+
`any`
|
|
2030
2060
|
|
|
2031
2061
|
***
|
|
2032
2062
|
|
|
@@ -2034,6 +2064,8 @@ node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:2
|
|
|
2034
2064
|
|
|
2035
2065
|
> `static` **seal**\<`T`\>(`o`): `T`
|
|
2036
2066
|
|
|
2067
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es5.d.ts:216
|
|
2068
|
+
|
|
2037
2069
|
Prevents the modification of attributes of existing properties, and prevents the addition of new properties.
|
|
2038
2070
|
|
|
2039
2071
|
#### Type Parameters
|
|
@@ -2042,7 +2074,9 @@ Prevents the modification of attributes of existing properties, and prevents the
|
|
|
2042
2074
|
|
|
2043
2075
|
#### Parameters
|
|
2044
2076
|
|
|
2045
|
-
|
|
2077
|
+
##### o
|
|
2078
|
+
|
|
2079
|
+
`T`
|
|
2046
2080
|
|
|
2047
2081
|
Object on which to lock the attributes.
|
|
2048
2082
|
|
|
@@ -2050,62 +2084,62 @@ Object on which to lock the attributes.
|
|
|
2050
2084
|
|
|
2051
2085
|
`T`
|
|
2052
2086
|
|
|
2053
|
-
#### Defined in
|
|
2054
|
-
|
|
2055
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es5.d.ts:216
|
|
2056
|
-
|
|
2057
2087
|
***
|
|
2058
2088
|
|
|
2059
2089
|
### setPrototypeOf()
|
|
2060
2090
|
|
|
2061
2091
|
> `static` **setPrototypeOf**(`o`, `proto`): `any`
|
|
2062
2092
|
|
|
2093
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2015.core.d.ts:339
|
|
2094
|
+
|
|
2063
2095
|
Sets the prototype of a specified object o to object proto or null. Returns the object o.
|
|
2064
2096
|
|
|
2065
2097
|
#### Parameters
|
|
2066
2098
|
|
|
2067
|
-
|
|
2099
|
+
##### o
|
|
2100
|
+
|
|
2101
|
+
`any`
|
|
2068
2102
|
|
|
2069
2103
|
The object to change its prototype.
|
|
2070
2104
|
|
|
2071
|
-
|
|
2105
|
+
##### proto
|
|
2072
2106
|
|
|
2073
2107
|
The value of the new prototype or null.
|
|
2074
2108
|
|
|
2109
|
+
`null` | `object`
|
|
2110
|
+
|
|
2075
2111
|
#### Returns
|
|
2076
2112
|
|
|
2077
2113
|
`any`
|
|
2078
2114
|
|
|
2079
|
-
#### Defined in
|
|
2080
|
-
|
|
2081
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2015.core.d.ts:339
|
|
2082
|
-
|
|
2083
2115
|
***
|
|
2084
2116
|
|
|
2085
2117
|
### unregister()
|
|
2086
2118
|
|
|
2087
2119
|
> `static` **unregister**(`name`): `undefined` \| [`ToolFunc`](ToolFunc.md)
|
|
2088
2120
|
|
|
2121
|
+
Defined in: [packages/ai-tool/src/tool-func.ts:184](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/tool-func.ts#L184)
|
|
2122
|
+
|
|
2089
2123
|
#### Parameters
|
|
2090
2124
|
|
|
2091
|
-
|
|
2125
|
+
##### name
|
|
2126
|
+
|
|
2127
|
+
`string`
|
|
2092
2128
|
|
|
2093
2129
|
#### Returns
|
|
2094
2130
|
|
|
2095
2131
|
`undefined` \| [`ToolFunc`](ToolFunc.md)
|
|
2096
2132
|
|
|
2097
|
-
#### Defined in
|
|
2098
|
-
|
|
2099
|
-
[packages/ai-tool/src/tool-func.ts:202](https://github.com/isdk/ai-tool.js/blob/b0813174e9b350ae47231f8e5f885150313123b0/src/tool-func.ts#L202)
|
|
2100
|
-
|
|
2101
2133
|
***
|
|
2102
2134
|
|
|
2103
2135
|
### values()
|
|
2104
2136
|
|
|
2105
|
-
####
|
|
2137
|
+
#### Call Signature
|
|
2106
2138
|
|
|
2107
2139
|
> `static` **values**\<`T`\>(`o`): `T`[]
|
|
2108
2140
|
|
|
2141
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2017.object.d.ts:24
|
|
2142
|
+
|
|
2109
2143
|
Returns an array of values of the enumerable own properties of an object
|
|
2110
2144
|
|
|
2111
2145
|
##### Type Parameters
|
|
@@ -2114,34 +2148,30 @@ Returns an array of values of the enumerable own properties of an object
|
|
|
2114
2148
|
|
|
2115
2149
|
##### Parameters
|
|
2116
2150
|
|
|
2117
|
-
|
|
2151
|
+
###### o
|
|
2118
2152
|
|
|
2119
2153
|
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
2120
2154
|
|
|
2155
|
+
\{\} | `ArrayLike`\<`T`\>
|
|
2156
|
+
|
|
2121
2157
|
##### Returns
|
|
2122
2158
|
|
|
2123
2159
|
`T`[]
|
|
2124
2160
|
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2017.object.d.ts:24
|
|
2128
|
-
|
|
2129
|
-
#### values(o)
|
|
2161
|
+
#### Call Signature
|
|
2130
2162
|
|
|
2131
2163
|
> `static` **values**(`o`): `any`[]
|
|
2132
2164
|
|
|
2165
|
+
Defined in: node\_modules/.pnpm/typescript@5.7.2/node\_modules/typescript/lib/lib.es2017.object.d.ts:30
|
|
2166
|
+
|
|
2133
2167
|
Returns an array of values of the enumerable own properties of an object
|
|
2134
2168
|
|
|
2135
2169
|
##### Parameters
|
|
2136
2170
|
|
|
2137
|
-
|
|
2171
|
+
###### o
|
|
2138
2172
|
|
|
2139
2173
|
Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
2140
2174
|
|
|
2141
2175
|
##### Returns
|
|
2142
2176
|
|
|
2143
2177
|
`any`[]
|
|
2144
|
-
|
|
2145
|
-
##### Defined in
|
|
2146
|
-
|
|
2147
|
-
node\_modules/.pnpm/typescript@5.6.3/node\_modules/typescript/lib/lib.es2017.object.d.ts:30
|