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