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