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