sa2kit 3.7.0 → 3.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-ZJLS5JU5.mjs → chunk-6KD4CD7O.mjs} +7 -16
- package/dist/chunk-6KD4CD7O.mjs.map +1 -0
- package/dist/chunk-FV7IHC23.js +751 -0
- package/dist/chunk-FV7IHC23.js.map +1 -0
- package/dist/chunk-GJVEYCS4.js +12 -0
- package/dist/chunk-GJVEYCS4.js.map +1 -0
- package/dist/chunk-OOVINE7M.mjs +715 -0
- package/dist/chunk-OOVINE7M.mjs.map +1 -0
- package/dist/chunk-PPV4IEWR.mjs +8 -0
- package/dist/chunk-PPV4IEWR.mjs.map +1 -0
- package/dist/{chunk-XPY45Y75.js → chunk-VVHFMAE7.js} +9 -21
- package/dist/chunk-VVHFMAE7.js.map +1 -0
- package/dist/common/aiApi/client/index.d.mts +66 -4
- package/dist/common/aiApi/client/index.d.ts +66 -4
- package/dist/common/aiApi/client/index.js +360 -15
- package/dist/common/aiApi/client/index.js.map +1 -1
- package/dist/common/aiApi/client/index.mjs +345 -11
- package/dist/common/aiApi/client/index.mjs.map +1 -1
- package/dist/common/aiApi/index.d.mts +2 -2
- package/dist/common/aiApi/index.d.ts +2 -2
- package/dist/common/aiApi/index.js +63 -62
- package/dist/common/aiApi/index.mjs +2 -1
- package/dist/common/aiApi/server/index.d.mts +1 -1
- package/dist/common/aiApi/server/index.d.ts +1 -1
- package/dist/common/aiApi/server/index.js +63 -62
- package/dist/common/aiApi/server/index.mjs +2 -1
- package/dist/common/appLauncher/index.d.mts +32 -0
- package/dist/common/appLauncher/index.d.ts +32 -0
- package/dist/common/appLauncher/index.js +149 -0
- package/dist/common/appLauncher/index.js.map +1 -0
- package/dist/common/appLauncher/index.mjs +4 -0
- package/dist/common/appLauncher/index.mjs.map +1 -0
- package/dist/common/appLauncher/rn/index.d.mts +35 -0
- package/dist/common/appLauncher/rn/index.d.ts +35 -0
- package/dist/common/appLauncher/rn/index.js +100 -0
- package/dist/common/appLauncher/rn/index.js.map +1 -0
- package/dist/common/appLauncher/rn/index.mjs +31 -0
- package/dist/common/appLauncher/rn/index.mjs.map +1 -0
- package/dist/index-BHgDdlJW.d.mts +177 -0
- package/dist/index-BHgDdlJW.d.ts +177 -0
- package/dist/index.d.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +3 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -9
- package/dist/index.mjs.map +1 -1
- package/dist/{types-CiqMQ-uu.d.mts → types-DgbG0Of-.d.mts} +9 -1
- package/dist/{types-CiqMQ-uu.d.ts → types-DgbG0Of-.d.ts} +9 -1
- package/package.json +11 -1
- package/dist/chunk-XPY45Y75.js.map +0 -1
- package/dist/chunk-ZJLS5JU5.mjs.map +0 -1
|
@@ -1,217 +1,218 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVVHFMAE7_js = require('../../chunk-VVHFMAE7.js');
|
|
4
|
+
var chunkGJVEYCS4_js = require('../../chunk-GJVEYCS4.js');
|
|
4
5
|
require('../../chunk-NSBPE2FW.js');
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
8
|
-
Object.defineProperty(exports, "CORE_CONNECTIVITY_TEST_TASK_ID", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunkXPY45Y75_js.CORE_CONNECTIVITY_TEST_TASK_ID; }
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "CORE_LLM_COMPLETION_TASK_ID", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return chunkXPY45Y75_js.CORE_LLM_COMPLETION_TASK_ID; }
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "CORE_STRUCTURED_MULTIMODAL_TASK_ID", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return chunkXPY45Y75_js.CORE_STRUCTURED_MULTIMODAL_TASK_ID; }
|
|
19
|
-
});
|
|
20
9
|
Object.defineProperty(exports, "DEFAULT_OPENAI_BASE_URL", {
|
|
21
10
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkVVHFMAE7_js.DEFAULT_OPENAI_BASE_URL; }
|
|
23
12
|
});
|
|
24
13
|
Object.defineProperty(exports, "DEFAULT_TEXT_MODEL", {
|
|
25
14
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkVVHFMAE7_js.DEFAULT_TEXT_MODEL; }
|
|
27
16
|
});
|
|
28
17
|
Object.defineProperty(exports, "appendTranscriptionsToPrompt", {
|
|
29
18
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkVVHFMAE7_js.appendTranscriptionsToPrompt; }
|
|
31
20
|
});
|
|
32
21
|
Object.defineProperty(exports, "assertMultimodalCapableModel", {
|
|
33
22
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkVVHFMAE7_js.assertMultimodalCapableModel; }
|
|
35
24
|
});
|
|
36
25
|
Object.defineProperty(exports, "assertValidAudioInput", {
|
|
37
26
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkVVHFMAE7_js.assertValidAudioInput; }
|
|
39
28
|
});
|
|
40
29
|
Object.defineProperty(exports, "assertValidImageInput", {
|
|
41
30
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkVVHFMAE7_js.assertValidImageInput; }
|
|
43
32
|
});
|
|
44
33
|
Object.defineProperty(exports, "assertValidMultimodalMedia", {
|
|
45
34
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkVVHFMAE7_js.assertValidMultimodalMedia; }
|
|
47
36
|
});
|
|
48
37
|
Object.defineProperty(exports, "assertVisionCapableModel", {
|
|
49
38
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkVVHFMAE7_js.assertVisionCapableModel; }
|
|
51
40
|
});
|
|
52
41
|
Object.defineProperty(exports, "base64ToBlob", {
|
|
53
42
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkVVHFMAE7_js.base64ToBlob; }
|
|
55
44
|
});
|
|
56
45
|
Object.defineProperty(exports, "buildMultimodalMessages", {
|
|
57
46
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkVVHFMAE7_js.buildMultimodalMessages; }
|
|
59
48
|
});
|
|
60
49
|
Object.defineProperty(exports, "callChat", {
|
|
61
50
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkVVHFMAE7_js.callChat; }
|
|
63
52
|
});
|
|
64
53
|
Object.defineProperty(exports, "callCompletion", {
|
|
65
54
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkVVHFMAE7_js.callCompletion; }
|
|
67
56
|
});
|
|
68
57
|
Object.defineProperty(exports, "callMultimodalChat", {
|
|
69
58
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkVVHFMAE7_js.callMultimodalChat; }
|
|
71
60
|
});
|
|
72
61
|
Object.defineProperty(exports, "clearAiTasksForTest", {
|
|
73
62
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkVVHFMAE7_js.clearAiTasksForTest; }
|
|
75
64
|
});
|
|
76
65
|
Object.defineProperty(exports, "coreConnectivityTestTask", {
|
|
77
66
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkVVHFMAE7_js.coreConnectivityTestTask; }
|
|
79
68
|
});
|
|
80
69
|
Object.defineProperty(exports, "coreLlmCompletionTask", {
|
|
81
70
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkVVHFMAE7_js.coreLlmCompletionTask; }
|
|
83
72
|
});
|
|
84
73
|
Object.defineProperty(exports, "coreStructuredMultimodalTask", {
|
|
85
74
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkVVHFMAE7_js.coreStructuredMultimodalTask; }
|
|
87
76
|
});
|
|
88
77
|
Object.defineProperty(exports, "detectVisionMessageFormat", {
|
|
89
78
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkVVHFMAE7_js.detectVisionMessageFormat; }
|
|
91
80
|
});
|
|
92
81
|
Object.defineProperty(exports, "ensureCoreAiTasksRegistered", {
|
|
93
82
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkVVHFMAE7_js.ensureCoreAiTasksRegistered; }
|
|
95
84
|
});
|
|
96
85
|
Object.defineProperty(exports, "extractJsonObject", {
|
|
97
86
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkVVHFMAE7_js.extractJsonObject; }
|
|
99
88
|
});
|
|
100
89
|
Object.defineProperty(exports, "fileToAiAudioInput", {
|
|
101
90
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkVVHFMAE7_js.fileToAiAudioInput; }
|
|
103
92
|
});
|
|
104
93
|
Object.defineProperty(exports, "fileToAiImageInput", {
|
|
105
94
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkVVHFMAE7_js.fileToAiImageInput; }
|
|
107
96
|
});
|
|
108
97
|
Object.defineProperty(exports, "filterChatModels", {
|
|
109
98
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkVVHFMAE7_js.filterChatModels; }
|
|
111
100
|
});
|
|
112
101
|
Object.defineProperty(exports, "filterSttModels", {
|
|
113
102
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkVVHFMAE7_js.filterSttModels; }
|
|
115
104
|
});
|
|
116
105
|
Object.defineProperty(exports, "filterVisionModels", {
|
|
117
106
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkVVHFMAE7_js.filterVisionModels; }
|
|
119
108
|
});
|
|
120
109
|
Object.defineProperty(exports, "getAiTask", {
|
|
121
110
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkVVHFMAE7_js.getAiTask; }
|
|
123
112
|
});
|
|
124
113
|
Object.defineProperty(exports, "isAudioInputError", {
|
|
125
114
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkVVHFMAE7_js.isAudioInputError; }
|
|
127
116
|
});
|
|
128
117
|
Object.defineProperty(exports, "isImageUrlVariantError", {
|
|
129
118
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkVVHFMAE7_js.isImageUrlVariantError; }
|
|
131
120
|
});
|
|
132
121
|
Object.defineProperty(exports, "isKnownTextOnlyModel", {
|
|
133
122
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkVVHFMAE7_js.isKnownTextOnlyModel; }
|
|
135
124
|
});
|
|
136
125
|
Object.defineProperty(exports, "isLikelyNativeAudioChatModel", {
|
|
137
126
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkVVHFMAE7_js.isLikelyNativeAudioChatModel; }
|
|
139
128
|
});
|
|
140
129
|
Object.defineProperty(exports, "isLikelySttModel", {
|
|
141
130
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkVVHFMAE7_js.isLikelySttModel; }
|
|
143
132
|
});
|
|
144
133
|
Object.defineProperty(exports, "isLikelyVisionModel", {
|
|
145
134
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkVVHFMAE7_js.isLikelyVisionModel; }
|
|
147
136
|
});
|
|
148
137
|
Object.defineProperty(exports, "listAiTasks", {
|
|
149
138
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkVVHFMAE7_js.listAiTasks; }
|
|
151
140
|
});
|
|
152
141
|
Object.defineProperty(exports, "listOpenAiCompatibleModels", {
|
|
153
142
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkVVHFMAE7_js.listOpenAiCompatibleModels; }
|
|
155
144
|
});
|
|
156
145
|
Object.defineProperty(exports, "mimeToAudioFormat", {
|
|
157
146
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkVVHFMAE7_js.mimeToAudioFormat; }
|
|
159
148
|
});
|
|
160
149
|
Object.defineProperty(exports, "pickDefaultSttModel", {
|
|
161
150
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkVVHFMAE7_js.pickDefaultSttModel; }
|
|
163
152
|
});
|
|
164
153
|
Object.defineProperty(exports, "pickDefaultVisionModel", {
|
|
165
154
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkVVHFMAE7_js.pickDefaultVisionModel; }
|
|
167
156
|
});
|
|
168
157
|
Object.defineProperty(exports, "registerAiTask", {
|
|
169
158
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkVVHFMAE7_js.registerAiTask; }
|
|
171
160
|
});
|
|
172
161
|
Object.defineProperty(exports, "registerCoreAiTasks", {
|
|
173
162
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkVVHFMAE7_js.registerCoreAiTasks; }
|
|
175
164
|
});
|
|
176
165
|
Object.defineProperty(exports, "requestJson", {
|
|
177
166
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkVVHFMAE7_js.requestJson; }
|
|
179
168
|
});
|
|
180
169
|
Object.defineProperty(exports, "requireAiConnectionConfig", {
|
|
181
170
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkVVHFMAE7_js.requireAiConnectionConfig; }
|
|
183
172
|
});
|
|
184
173
|
Object.defineProperty(exports, "resetCoreAiTasksForTest", {
|
|
185
174
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkVVHFMAE7_js.resetCoreAiTasksForTest; }
|
|
187
176
|
});
|
|
188
177
|
Object.defineProperty(exports, "resolveAiConnectionConfig", {
|
|
189
178
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunkVVHFMAE7_js.resolveAiConnectionConfig; }
|
|
191
180
|
});
|
|
192
181
|
Object.defineProperty(exports, "resolveAudioHandling", {
|
|
193
182
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunkVVHFMAE7_js.resolveAudioHandling; }
|
|
195
184
|
});
|
|
196
185
|
Object.defineProperty(exports, "runAiTask", {
|
|
197
186
|
enumerable: true,
|
|
198
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunkVVHFMAE7_js.runAiTask; }
|
|
199
188
|
});
|
|
200
189
|
Object.defineProperty(exports, "splitMediaByKind", {
|
|
201
190
|
enumerable: true,
|
|
202
|
-
get: function () { return
|
|
191
|
+
get: function () { return chunkVVHFMAE7_js.splitMediaByKind; }
|
|
203
192
|
});
|
|
204
193
|
Object.defineProperty(exports, "toVisionApiErrorMessage", {
|
|
205
194
|
enumerable: true,
|
|
206
|
-
get: function () { return
|
|
195
|
+
get: function () { return chunkVVHFMAE7_js.toVisionApiErrorMessage; }
|
|
207
196
|
});
|
|
208
197
|
Object.defineProperty(exports, "transcribeAudio", {
|
|
209
198
|
enumerable: true,
|
|
210
|
-
get: function () { return
|
|
199
|
+
get: function () { return chunkVVHFMAE7_js.transcribeAudio; }
|
|
211
200
|
});
|
|
212
201
|
Object.defineProperty(exports, "transcribeAudios", {
|
|
213
202
|
enumerable: true,
|
|
214
|
-
get: function () { return
|
|
203
|
+
get: function () { return chunkVVHFMAE7_js.transcribeAudios; }
|
|
204
|
+
});
|
|
205
|
+
Object.defineProperty(exports, "CORE_CONNECTIVITY_TEST_TASK_ID", {
|
|
206
|
+
enumerable: true,
|
|
207
|
+
get: function () { return chunkGJVEYCS4_js.CORE_CONNECTIVITY_TEST_TASK_ID; }
|
|
208
|
+
});
|
|
209
|
+
Object.defineProperty(exports, "CORE_LLM_COMPLETION_TASK_ID", {
|
|
210
|
+
enumerable: true,
|
|
211
|
+
get: function () { return chunkGJVEYCS4_js.CORE_LLM_COMPLETION_TASK_ID; }
|
|
212
|
+
});
|
|
213
|
+
Object.defineProperty(exports, "CORE_STRUCTURED_MULTIMODAL_TASK_ID", {
|
|
214
|
+
enumerable: true,
|
|
215
|
+
get: function () { return chunkGJVEYCS4_js.CORE_STRUCTURED_MULTIMODAL_TASK_ID; }
|
|
215
216
|
});
|
|
216
217
|
//# sourceMappingURL=index.js.map
|
|
217
218
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { DEFAULT_OPENAI_BASE_URL, DEFAULT_TEXT_MODEL, appendTranscriptionsToPrompt, assertMultimodalCapableModel, assertValidAudioInput, assertValidImageInput, assertValidMultimodalMedia, assertVisionCapableModel, base64ToBlob, buildMultimodalMessages, callChat, callCompletion, callMultimodalChat, clearAiTasksForTest, coreConnectivityTestTask, coreLlmCompletionTask, coreStructuredMultimodalTask, detectVisionMessageFormat, ensureCoreAiTasksRegistered, extractJsonObject, fileToAiAudioInput, fileToAiImageInput, filterChatModels, filterSttModels, filterVisionModels, getAiTask, isAudioInputError, isImageUrlVariantError, isKnownTextOnlyModel, isLikelyNativeAudioChatModel, isLikelySttModel, isLikelyVisionModel, listAiTasks, listOpenAiCompatibleModels, mimeToAudioFormat, pickDefaultSttModel, pickDefaultVisionModel, registerAiTask, registerCoreAiTasks, requestJson, requireAiConnectionConfig, resetCoreAiTasksForTest, resolveAiConnectionConfig, resolveAudioHandling, runAiTask, splitMediaByKind, toVisionApiErrorMessage, transcribeAudio, transcribeAudios } from '../../chunk-6KD4CD7O.mjs';
|
|
2
|
+
export { CORE_CONNECTIVITY_TEST_TASK_ID, CORE_LLM_COMPLETION_TASK_ID, CORE_STRUCTURED_MULTIMODAL_TASK_ID } from '../../chunk-PPV4IEWR.mjs';
|
|
2
3
|
import '../../chunk-MAI35PU6.mjs';
|
|
3
4
|
//# sourceMappingURL=index.mjs.map
|
|
4
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { q as AiApiErrorBody, r as AiApiErrorCode, a as AiApiResponse, s as AiApiResponseMeta, o as AiApiRunRequest, h as AiAudioInput, v as AiAudioMediaInput, A as AiClientSettings, e as AiConnectionConfig, n as AiConnectionSettings, g as AiImageInput, u as AiImageMediaInput, i as AiMediaInput, t as AiMediaKind, z as AiModelsListRequest, b as AiModelsListResponse, d as AiServerConfigStatus, k as AiTaskContext, j as AiTaskDefinition, p as AiTaskRunOptions, c as AudioStrategy, y as CORE_CONNECTIVITY_TEST_TASK_ID, w as CORE_LLM_COMPLETION_TASK_ID, x as CORE_STRUCTURED_MULTIMODAL_TASK_ID, C as ConnectivityTestOutput, M as MultimodalChatParams, f as MultimodalChatResult, S as StructuredMultimodalInput, m as StructuredMultimodalOutput, T as TextCompletionInput, l as TextCompletionOutput } from '../../../types-DgbG0Of-.mjs';
|
|
2
2
|
export { CallChatOptions, CallChatResult, CallCompletionParams, CallCompletionResult, ChatMessage, ChatRole, ChatUsage, DEFAULT_OPENAI_BASE_URL, DEFAULT_TEXT_MODEL, JsonRequestOptions, ListModelsResult, ResolvedAudioHandling, TranscribeAudioOptions, VisionMessageFormat, appendTranscriptionsToPrompt, assertMultimodalCapableModel, assertValidAudioInput, assertValidImageInput, assertValidMultimodalMedia, assertVisionCapableModel, base64ToBlob, buildMultimodalMessages, callChat, callCompletion, callMultimodalChat, clearAiTasksForTest, coreConnectivityTestTask, coreLlmCompletionTask, coreStructuredMultimodalTask, detectVisionMessageFormat, ensureCoreAiTasksRegistered, extractJsonObject, fileToAiAudioInput, fileToAiImageInput, filterChatModels, filterSttModels, filterVisionModels, getAiTask, isAudioInputError, isImageUrlVariantError, isKnownTextOnlyModel, isLikelyNativeAudioChatModel, isLikelySttModel, isLikelyVisionModel, listAiTasks, listOpenAiCompatibleModels, mimeToAudioFormat, pickDefaultSttModel, pickDefaultVisionModel, registerAiTask, registerCoreAiTasks, requestJson, requireAiConnectionConfig, resetCoreAiTasksForTest, resolveAiConnectionConfig, resolveAudioHandling, runAiTask, splitMediaByKind, toVisionApiErrorMessage, transcribeAudio, transcribeAudios } from '../index.mjs';
|
|
3
3
|
import '../../../types-CbTsi9CZ.mjs';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { q as AiApiErrorBody, r as AiApiErrorCode, a as AiApiResponse, s as AiApiResponseMeta, o as AiApiRunRequest, h as AiAudioInput, v as AiAudioMediaInput, A as AiClientSettings, e as AiConnectionConfig, n as AiConnectionSettings, g as AiImageInput, u as AiImageMediaInput, i as AiMediaInput, t as AiMediaKind, z as AiModelsListRequest, b as AiModelsListResponse, d as AiServerConfigStatus, k as AiTaskContext, j as AiTaskDefinition, p as AiTaskRunOptions, c as AudioStrategy, y as CORE_CONNECTIVITY_TEST_TASK_ID, w as CORE_LLM_COMPLETION_TASK_ID, x as CORE_STRUCTURED_MULTIMODAL_TASK_ID, C as ConnectivityTestOutput, M as MultimodalChatParams, f as MultimodalChatResult, S as StructuredMultimodalInput, m as StructuredMultimodalOutput, T as TextCompletionInput, l as TextCompletionOutput } from '../../../types-DgbG0Of-.js';
|
|
2
2
|
export { CallChatOptions, CallChatResult, CallCompletionParams, CallCompletionResult, ChatMessage, ChatRole, ChatUsage, DEFAULT_OPENAI_BASE_URL, DEFAULT_TEXT_MODEL, JsonRequestOptions, ListModelsResult, ResolvedAudioHandling, TranscribeAudioOptions, VisionMessageFormat, appendTranscriptionsToPrompt, assertMultimodalCapableModel, assertValidAudioInput, assertValidImageInput, assertValidMultimodalMedia, assertVisionCapableModel, base64ToBlob, buildMultimodalMessages, callChat, callCompletion, callMultimodalChat, clearAiTasksForTest, coreConnectivityTestTask, coreLlmCompletionTask, coreStructuredMultimodalTask, detectVisionMessageFormat, ensureCoreAiTasksRegistered, extractJsonObject, fileToAiAudioInput, fileToAiImageInput, filterChatModels, filterSttModels, filterVisionModels, getAiTask, isAudioInputError, isImageUrlVariantError, isKnownTextOnlyModel, isLikelyNativeAudioChatModel, isLikelySttModel, isLikelyVisionModel, listAiTasks, listOpenAiCompatibleModels, mimeToAudioFormat, pickDefaultSttModel, pickDefaultVisionModel, registerAiTask, registerCoreAiTasks, requestJson, requireAiConnectionConfig, resetCoreAiTasksForTest, resolveAiConnectionConfig, resolveAudioHandling, runAiTask, splitMediaByKind, toVisionApiErrorMessage, transcribeAudio, transcribeAudios } from '../index.js';
|
|
3
3
|
import '../../../types-CbTsi9CZ.js';
|
|
@@ -1,217 +1,218 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVVHFMAE7_js = require('../../../chunk-VVHFMAE7.js');
|
|
4
|
+
var chunkGJVEYCS4_js = require('../../../chunk-GJVEYCS4.js');
|
|
4
5
|
require('../../../chunk-NSBPE2FW.js');
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
8
|
-
Object.defineProperty(exports, "CORE_CONNECTIVITY_TEST_TASK_ID", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunkXPY45Y75_js.CORE_CONNECTIVITY_TEST_TASK_ID; }
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "CORE_LLM_COMPLETION_TASK_ID", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return chunkXPY45Y75_js.CORE_LLM_COMPLETION_TASK_ID; }
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "CORE_STRUCTURED_MULTIMODAL_TASK_ID", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return chunkXPY45Y75_js.CORE_STRUCTURED_MULTIMODAL_TASK_ID; }
|
|
19
|
-
});
|
|
20
9
|
Object.defineProperty(exports, "DEFAULT_OPENAI_BASE_URL", {
|
|
21
10
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkVVHFMAE7_js.DEFAULT_OPENAI_BASE_URL; }
|
|
23
12
|
});
|
|
24
13
|
Object.defineProperty(exports, "DEFAULT_TEXT_MODEL", {
|
|
25
14
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkVVHFMAE7_js.DEFAULT_TEXT_MODEL; }
|
|
27
16
|
});
|
|
28
17
|
Object.defineProperty(exports, "appendTranscriptionsToPrompt", {
|
|
29
18
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkVVHFMAE7_js.appendTranscriptionsToPrompt; }
|
|
31
20
|
});
|
|
32
21
|
Object.defineProperty(exports, "assertMultimodalCapableModel", {
|
|
33
22
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkVVHFMAE7_js.assertMultimodalCapableModel; }
|
|
35
24
|
});
|
|
36
25
|
Object.defineProperty(exports, "assertValidAudioInput", {
|
|
37
26
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkVVHFMAE7_js.assertValidAudioInput; }
|
|
39
28
|
});
|
|
40
29
|
Object.defineProperty(exports, "assertValidImageInput", {
|
|
41
30
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkVVHFMAE7_js.assertValidImageInput; }
|
|
43
32
|
});
|
|
44
33
|
Object.defineProperty(exports, "assertValidMultimodalMedia", {
|
|
45
34
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkVVHFMAE7_js.assertValidMultimodalMedia; }
|
|
47
36
|
});
|
|
48
37
|
Object.defineProperty(exports, "assertVisionCapableModel", {
|
|
49
38
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkVVHFMAE7_js.assertVisionCapableModel; }
|
|
51
40
|
});
|
|
52
41
|
Object.defineProperty(exports, "base64ToBlob", {
|
|
53
42
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkVVHFMAE7_js.base64ToBlob; }
|
|
55
44
|
});
|
|
56
45
|
Object.defineProperty(exports, "buildMultimodalMessages", {
|
|
57
46
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkVVHFMAE7_js.buildMultimodalMessages; }
|
|
59
48
|
});
|
|
60
49
|
Object.defineProperty(exports, "callChat", {
|
|
61
50
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkVVHFMAE7_js.callChat; }
|
|
63
52
|
});
|
|
64
53
|
Object.defineProperty(exports, "callCompletion", {
|
|
65
54
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkVVHFMAE7_js.callCompletion; }
|
|
67
56
|
});
|
|
68
57
|
Object.defineProperty(exports, "callMultimodalChat", {
|
|
69
58
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkVVHFMAE7_js.callMultimodalChat; }
|
|
71
60
|
});
|
|
72
61
|
Object.defineProperty(exports, "clearAiTasksForTest", {
|
|
73
62
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkVVHFMAE7_js.clearAiTasksForTest; }
|
|
75
64
|
});
|
|
76
65
|
Object.defineProperty(exports, "coreConnectivityTestTask", {
|
|
77
66
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkVVHFMAE7_js.coreConnectivityTestTask; }
|
|
79
68
|
});
|
|
80
69
|
Object.defineProperty(exports, "coreLlmCompletionTask", {
|
|
81
70
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkVVHFMAE7_js.coreLlmCompletionTask; }
|
|
83
72
|
});
|
|
84
73
|
Object.defineProperty(exports, "coreStructuredMultimodalTask", {
|
|
85
74
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkVVHFMAE7_js.coreStructuredMultimodalTask; }
|
|
87
76
|
});
|
|
88
77
|
Object.defineProperty(exports, "detectVisionMessageFormat", {
|
|
89
78
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkVVHFMAE7_js.detectVisionMessageFormat; }
|
|
91
80
|
});
|
|
92
81
|
Object.defineProperty(exports, "ensureCoreAiTasksRegistered", {
|
|
93
82
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkVVHFMAE7_js.ensureCoreAiTasksRegistered; }
|
|
95
84
|
});
|
|
96
85
|
Object.defineProperty(exports, "extractJsonObject", {
|
|
97
86
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkVVHFMAE7_js.extractJsonObject; }
|
|
99
88
|
});
|
|
100
89
|
Object.defineProperty(exports, "fileToAiAudioInput", {
|
|
101
90
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkVVHFMAE7_js.fileToAiAudioInput; }
|
|
103
92
|
});
|
|
104
93
|
Object.defineProperty(exports, "fileToAiImageInput", {
|
|
105
94
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkVVHFMAE7_js.fileToAiImageInput; }
|
|
107
96
|
});
|
|
108
97
|
Object.defineProperty(exports, "filterChatModels", {
|
|
109
98
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkVVHFMAE7_js.filterChatModels; }
|
|
111
100
|
});
|
|
112
101
|
Object.defineProperty(exports, "filterSttModels", {
|
|
113
102
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkVVHFMAE7_js.filterSttModels; }
|
|
115
104
|
});
|
|
116
105
|
Object.defineProperty(exports, "filterVisionModels", {
|
|
117
106
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkVVHFMAE7_js.filterVisionModels; }
|
|
119
108
|
});
|
|
120
109
|
Object.defineProperty(exports, "getAiTask", {
|
|
121
110
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkVVHFMAE7_js.getAiTask; }
|
|
123
112
|
});
|
|
124
113
|
Object.defineProperty(exports, "isAudioInputError", {
|
|
125
114
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkVVHFMAE7_js.isAudioInputError; }
|
|
127
116
|
});
|
|
128
117
|
Object.defineProperty(exports, "isImageUrlVariantError", {
|
|
129
118
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkVVHFMAE7_js.isImageUrlVariantError; }
|
|
131
120
|
});
|
|
132
121
|
Object.defineProperty(exports, "isKnownTextOnlyModel", {
|
|
133
122
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkVVHFMAE7_js.isKnownTextOnlyModel; }
|
|
135
124
|
});
|
|
136
125
|
Object.defineProperty(exports, "isLikelyNativeAudioChatModel", {
|
|
137
126
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkVVHFMAE7_js.isLikelyNativeAudioChatModel; }
|
|
139
128
|
});
|
|
140
129
|
Object.defineProperty(exports, "isLikelySttModel", {
|
|
141
130
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkVVHFMAE7_js.isLikelySttModel; }
|
|
143
132
|
});
|
|
144
133
|
Object.defineProperty(exports, "isLikelyVisionModel", {
|
|
145
134
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkVVHFMAE7_js.isLikelyVisionModel; }
|
|
147
136
|
});
|
|
148
137
|
Object.defineProperty(exports, "listAiTasks", {
|
|
149
138
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkVVHFMAE7_js.listAiTasks; }
|
|
151
140
|
});
|
|
152
141
|
Object.defineProperty(exports, "listOpenAiCompatibleModels", {
|
|
153
142
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkVVHFMAE7_js.listOpenAiCompatibleModels; }
|
|
155
144
|
});
|
|
156
145
|
Object.defineProperty(exports, "mimeToAudioFormat", {
|
|
157
146
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkVVHFMAE7_js.mimeToAudioFormat; }
|
|
159
148
|
});
|
|
160
149
|
Object.defineProperty(exports, "pickDefaultSttModel", {
|
|
161
150
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkVVHFMAE7_js.pickDefaultSttModel; }
|
|
163
152
|
});
|
|
164
153
|
Object.defineProperty(exports, "pickDefaultVisionModel", {
|
|
165
154
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkVVHFMAE7_js.pickDefaultVisionModel; }
|
|
167
156
|
});
|
|
168
157
|
Object.defineProperty(exports, "registerAiTask", {
|
|
169
158
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkVVHFMAE7_js.registerAiTask; }
|
|
171
160
|
});
|
|
172
161
|
Object.defineProperty(exports, "registerCoreAiTasks", {
|
|
173
162
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkVVHFMAE7_js.registerCoreAiTasks; }
|
|
175
164
|
});
|
|
176
165
|
Object.defineProperty(exports, "requestJson", {
|
|
177
166
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkVVHFMAE7_js.requestJson; }
|
|
179
168
|
});
|
|
180
169
|
Object.defineProperty(exports, "requireAiConnectionConfig", {
|
|
181
170
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkVVHFMAE7_js.requireAiConnectionConfig; }
|
|
183
172
|
});
|
|
184
173
|
Object.defineProperty(exports, "resetCoreAiTasksForTest", {
|
|
185
174
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkVVHFMAE7_js.resetCoreAiTasksForTest; }
|
|
187
176
|
});
|
|
188
177
|
Object.defineProperty(exports, "resolveAiConnectionConfig", {
|
|
189
178
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunkVVHFMAE7_js.resolveAiConnectionConfig; }
|
|
191
180
|
});
|
|
192
181
|
Object.defineProperty(exports, "resolveAudioHandling", {
|
|
193
182
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunkVVHFMAE7_js.resolveAudioHandling; }
|
|
195
184
|
});
|
|
196
185
|
Object.defineProperty(exports, "runAiTask", {
|
|
197
186
|
enumerable: true,
|
|
198
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunkVVHFMAE7_js.runAiTask; }
|
|
199
188
|
});
|
|
200
189
|
Object.defineProperty(exports, "splitMediaByKind", {
|
|
201
190
|
enumerable: true,
|
|
202
|
-
get: function () { return
|
|
191
|
+
get: function () { return chunkVVHFMAE7_js.splitMediaByKind; }
|
|
203
192
|
});
|
|
204
193
|
Object.defineProperty(exports, "toVisionApiErrorMessage", {
|
|
205
194
|
enumerable: true,
|
|
206
|
-
get: function () { return
|
|
195
|
+
get: function () { return chunkVVHFMAE7_js.toVisionApiErrorMessage; }
|
|
207
196
|
});
|
|
208
197
|
Object.defineProperty(exports, "transcribeAudio", {
|
|
209
198
|
enumerable: true,
|
|
210
|
-
get: function () { return
|
|
199
|
+
get: function () { return chunkVVHFMAE7_js.transcribeAudio; }
|
|
211
200
|
});
|
|
212
201
|
Object.defineProperty(exports, "transcribeAudios", {
|
|
213
202
|
enumerable: true,
|
|
214
|
-
get: function () { return
|
|
203
|
+
get: function () { return chunkVVHFMAE7_js.transcribeAudios; }
|
|
204
|
+
});
|
|
205
|
+
Object.defineProperty(exports, "CORE_CONNECTIVITY_TEST_TASK_ID", {
|
|
206
|
+
enumerable: true,
|
|
207
|
+
get: function () { return chunkGJVEYCS4_js.CORE_CONNECTIVITY_TEST_TASK_ID; }
|
|
208
|
+
});
|
|
209
|
+
Object.defineProperty(exports, "CORE_LLM_COMPLETION_TASK_ID", {
|
|
210
|
+
enumerable: true,
|
|
211
|
+
get: function () { return chunkGJVEYCS4_js.CORE_LLM_COMPLETION_TASK_ID; }
|
|
212
|
+
});
|
|
213
|
+
Object.defineProperty(exports, "CORE_STRUCTURED_MULTIMODAL_TASK_ID", {
|
|
214
|
+
enumerable: true,
|
|
215
|
+
get: function () { return chunkGJVEYCS4_js.CORE_STRUCTURED_MULTIMODAL_TASK_ID; }
|
|
215
216
|
});
|
|
216
217
|
//# sourceMappingURL=index.js.map
|
|
217
218
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { DEFAULT_OPENAI_BASE_URL, DEFAULT_TEXT_MODEL, appendTranscriptionsToPrompt, assertMultimodalCapableModel, assertValidAudioInput, assertValidImageInput, assertValidMultimodalMedia, assertVisionCapableModel, base64ToBlob, buildMultimodalMessages, callChat, callCompletion, callMultimodalChat, clearAiTasksForTest, coreConnectivityTestTask, coreLlmCompletionTask, coreStructuredMultimodalTask, detectVisionMessageFormat, ensureCoreAiTasksRegistered, extractJsonObject, fileToAiAudioInput, fileToAiImageInput, filterChatModels, filterSttModels, filterVisionModels, getAiTask, isAudioInputError, isImageUrlVariantError, isKnownTextOnlyModel, isLikelyNativeAudioChatModel, isLikelySttModel, isLikelyVisionModel, listAiTasks, listOpenAiCompatibleModels, mimeToAudioFormat, pickDefaultSttModel, pickDefaultVisionModel, registerAiTask, registerCoreAiTasks, requestJson, requireAiConnectionConfig, resetCoreAiTasksForTest, resolveAiConnectionConfig, resolveAudioHandling, runAiTask, splitMediaByKind, toVisionApiErrorMessage, transcribeAudio, transcribeAudios } from '../../../chunk-6KD4CD7O.mjs';
|
|
2
|
+
export { CORE_CONNECTIVITY_TEST_TASK_ID, CORE_LLM_COMPLETION_TASK_ID, CORE_STRUCTURED_MULTIMODAL_TASK_ID } from '../../../chunk-PPV4IEWR.mjs';
|
|
2
3
|
import '../../../chunk-MAI35PU6.mjs';
|
|
3
4
|
//# sourceMappingURL=index.mjs.map
|
|
4
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { u as AppLaunchAdapter, v as AppLaunchProvider } from '../../index-BHgDdlJW.mjs';
|
|
2
|
+
export { I as AmapNavigationOptions, j as AppLaunchCallbacks, H as AppLaunchError, k as AppLaunchOptions, B as AppLaunchPlatform, C as AppLaunchRequest, q as AppLaunchResult, D as AppLaunchStatus, E as AppLaunchUrls, F as AppLauncherConfig, G as AppProviderId, A as AppReturnPayload, L as LaunchExecutionOptions, M as MAP_NAVIGATION_OPTIONS, J as MapNavigationOption, K as MapNavigationOptions, t as MapNavigationProviderId, Q as QqShareOptions, R as RnLinkingLike, W as WechatShareOptions, c as configureAppLauncher, a as createRnAppLaunchAdapter, b as createRnAppLaunchAdapterFromReactNative, g as getAppLauncherConfig, x as getAppProvider, d as launchAmapNavigation, l as launchApp, e as launchGenericUrl, i as launchMapNavigation, f as launchQqShare, h as launchWechatShare, y as listAppProviders, m as matchesReturnUrl, n as notifyAppReturn, z as openAmapNavigation, o as openMapNavigation, p as parseReturnUrl, r as registerAppProvider, w as resetAppLauncherConfig, s as subscribeAppReturn } from '../../index-BHgDdlJW.mjs';
|
|
3
|
+
|
|
4
|
+
declare function createWebAppLaunchAdapter(): AppLaunchAdapter;
|
|
5
|
+
|
|
6
|
+
declare function isAndroid(userAgent?: string): boolean;
|
|
7
|
+
declare function isIOS(userAgent?: string): boolean;
|
|
8
|
+
declare function isMobileDevice(userAgent?: string): boolean;
|
|
9
|
+
|
|
10
|
+
declare const amapProvider: AppLaunchProvider;
|
|
11
|
+
declare function buildAmapNavigationUrl(destination: string, sourceApplication?: string): string;
|
|
12
|
+
|
|
13
|
+
declare const baiduProvider: AppLaunchProvider;
|
|
14
|
+
declare function buildBaiduNavigationUrl(destination: string, sourceApplication?: string): string;
|
|
15
|
+
|
|
16
|
+
/** 通用 scheme / https 唤起 */
|
|
17
|
+
declare const genericProvider: AppLaunchProvider;
|
|
18
|
+
|
|
19
|
+
declare const googleProvider: AppLaunchProvider;
|
|
20
|
+
declare function buildGoogleNavigationUrl(destination: string): string;
|
|
21
|
+
|
|
22
|
+
/** QQ 好友分享 — mqqapi scheme */
|
|
23
|
+
declare const qqProvider: AppLaunchProvider;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* 微信外链唤起能力受场景限制:
|
|
27
|
+
* - 微信内 H5 通常需 JS-SDK
|
|
28
|
+
* - 外部浏览器多仅能打开微信或跳转 Universal Link
|
|
29
|
+
*/
|
|
30
|
+
declare const wechatProvider: AppLaunchProvider;
|
|
31
|
+
|
|
32
|
+
export { AppLaunchAdapter, AppLaunchProvider, amapProvider, baiduProvider, buildAmapNavigationUrl, buildBaiduNavigationUrl, buildGoogleNavigationUrl, createWebAppLaunchAdapter, genericProvider, googleProvider, isAndroid, isIOS, isMobileDevice, qqProvider, wechatProvider };
|