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