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