@houser/edus-plugin 1.0.8 → 1.0.10

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.
@@ -1,6 +1,8 @@
1
1
  /* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel — do not edit. */
2
2
  import { z } from 'zod'
3
3
 
4
+ import { createTypertRemoteInfo } from '@deepseek-ai/dsh-typert-protocol/remote-info'
5
+
4
6
  let _houser_edus_plugin_edus_applyVersion_parameter_0$schema$value
5
7
  const _houser_edus_plugin_edus_applyVersion_parameter_0$schema = () => (_houser_edus_plugin_edus_applyVersion_parameter_0$schema$value ??= z.string())
6
8
  let _houser_edus_plugin_edus_applyVersion_parameter_1$schema$value
@@ -90,6 +92,13 @@ const _houser_edus_plugin_edus_login_result$schema = () => (_houser_edus_plugin_
90
92
  'isVip': z.boolean().readonly(),
91
93
  'title': z.string().readonly(),
92
94
  'vipLevel': z.number().readonly(),
95
+ 'vipLevelName': z.union([z.undefined(), z.string()]).readonly().optional().describe('VIP 版本名称,如「标准版」,未开通为空串。'),
96
+ 'vipMonthLimit': z.union([z.undefined(), z.number()]).readonly().optional().describe('VIP 月消费上限(元),0 表示无上限或未开通。'),
97
+ 'vipEndTime': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional().describe('VIP 到期时间(ISO 字符串)。'),
98
+ 'llmStatus': z.union([z.undefined(), z.literal(null), z.number()]).readonly().optional().describe('模型 key 状态:1 可用,其它值停用,null 表示未开通。'),
99
+ 'llmTotalCost': z.union([z.undefined(), z.string()]).readonly().optional().describe('累计消费(元),decimal 字符串。'),
100
+ 'llmMonthCost': z.union([z.undefined(), z.string()]).readonly().optional().describe('本月消费(元),decimal 字符串。'),
101
+ 'llmLastUsedAt': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional().describe('最近一次模型调用时间(ISO 字符串)。'),
93
102
  }))
94
103
  let _houser_edus_plugin_edus_loginByPhone_parameter_0$schema$value
95
104
  const _houser_edus_plugin_edus_loginByPhone_parameter_0$schema = () => (_houser_edus_plugin_edus_loginByPhone_parameter_0$schema$value ??= z.string())
@@ -104,6 +113,13 @@ const _houser_edus_plugin_edus_loginByPhone_result$schema = () => (_houser_edus_
104
113
  'isVip': z.boolean().readonly(),
105
114
  'title': z.string().readonly(),
106
115
  'vipLevel': z.number().readonly(),
116
+ 'vipLevelName': z.union([z.undefined(), z.string()]).readonly().optional().describe('VIP 版本名称,如「标准版」,未开通为空串。'),
117
+ 'vipMonthLimit': z.union([z.undefined(), z.number()]).readonly().optional().describe('VIP 月消费上限(元),0 表示无上限或未开通。'),
118
+ 'vipEndTime': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional().describe('VIP 到期时间(ISO 字符串)。'),
119
+ 'llmStatus': z.union([z.undefined(), z.literal(null), z.number()]).readonly().optional().describe('模型 key 状态:1 可用,其它值停用,null 表示未开通。'),
120
+ 'llmTotalCost': z.union([z.undefined(), z.string()]).readonly().optional().describe('累计消费(元),decimal 字符串。'),
121
+ 'llmMonthCost': z.union([z.undefined(), z.string()]).readonly().optional().describe('本月消费(元),decimal 字符串。'),
122
+ 'llmLastUsedAt': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional().describe('最近一次模型调用时间(ISO 字符串)。'),
107
123
  }))
108
124
  let _houser_edus_plugin_edus_loginInfo_parameter_0$schema$value
109
125
  const _houser_edus_plugin_edus_loginInfo_parameter_0$schema = () => (_houser_edus_plugin_edus_loginInfo_parameter_0$schema$value ??= z.string())
@@ -116,6 +132,13 @@ const _houser_edus_plugin_edus_loginInfo_result$schema = () => (_houser_edus_plu
116
132
  'isVip': z.boolean().readonly(),
117
133
  'title': z.string().readonly(),
118
134
  'vipLevel': z.number().readonly(),
135
+ 'vipLevelName': z.union([z.undefined(), z.string()]).readonly().optional().describe('VIP 版本名称,如「标准版」,未开通为空串。'),
136
+ 'vipMonthLimit': z.union([z.undefined(), z.number()]).readonly().optional().describe('VIP 月消费上限(元),0 表示无上限或未开通。'),
137
+ 'vipEndTime': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional().describe('VIP 到期时间(ISO 字符串)。'),
138
+ 'llmStatus': z.union([z.undefined(), z.literal(null), z.number()]).readonly().optional().describe('模型 key 状态:1 可用,其它值停用,null 表示未开通。'),
139
+ 'llmTotalCost': z.union([z.undefined(), z.string()]).readonly().optional().describe('累计消费(元),decimal 字符串。'),
140
+ 'llmMonthCost': z.union([z.undefined(), z.string()]).readonly().optional().describe('本月消费(元),decimal 字符串。'),
141
+ 'llmLastUsedAt': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional().describe('最近一次模型调用时间(ISO 字符串)。'),
119
142
  }))
120
143
  let _houser_edus_plugin_edus_publishFile_parameter_0$schema$value
121
144
  const _houser_edus_plugin_edus_publishFile_parameter_0$schema = () => (_houser_edus_plugin_edus_publishFile_parameter_0$schema$value ??= z.string())
@@ -149,6 +172,10 @@ let _houser_edus_plugin_edus_sendPhoneCode_parameter_1$schema$value
149
172
  const _houser_edus_plugin_edus_sendPhoneCode_parameter_1$schema = () => (_houser_edus_plugin_edus_sendPhoneCode_parameter_1$schema$value ??= z.string())
150
173
  let _houser_edus_plugin_edus_sendPhoneCode_result$schema$value
151
174
  const _houser_edus_plugin_edus_sendPhoneCode_result$schema = () => (_houser_edus_plugin_edus_sendPhoneCode_result$schema$value ??= z.void())
175
+ let _houser_edus_plugin_edus_setLlmToken_parameter_0$schema$value
176
+ const _houser_edus_plugin_edus_setLlmToken_parameter_0$schema = () => (_houser_edus_plugin_edus_setLlmToken_parameter_0$schema$value ??= z.string())
177
+ let _houser_edus_plugin_edus_setLlmToken_result$schema$value
178
+ const _houser_edus_plugin_edus_setLlmToken_result$schema = () => (_houser_edus_plugin_edus_setLlmToken_result$schema$value ??= z.void())
152
179
  let _houser_edus_plugin_edus_shareOrigin_result$schema$value
153
180
  const _houser_edus_plugin_edus_shareOrigin_result$schema = () => (_houser_edus_plugin_edus_shareOrigin_result$schema$value ??= z.string())
154
181
  let _houser_edus_plugin_edus_writeHtmlFile_parameter_0$schema$value
@@ -159,55 +186,148 @@ let _houser_edus_plugin_edus_writeHtmlFile_parameter_2$schema$value
159
186
  const _houser_edus_plugin_edus_writeHtmlFile_parameter_2$schema = () => (_houser_edus_plugin_edus_writeHtmlFile_parameter_2$schema$value ??= z.string())
160
187
  let _houser_edus_plugin_edus_writeHtmlFile_result$schema$value
161
188
  const _houser_edus_plugin_edus_writeHtmlFile_result$schema = () => (_houser_edus_plugin_edus_writeHtmlFile_result$schema$value ??= z.void())
189
+ let _houser_edus_plugin_edus_applyVersion_parameter_0_strict$schema$value
190
+ const _houser_edus_plugin_edus_applyVersion_parameter_0_strict$schema = () => (_houser_edus_plugin_edus_applyVersion_parameter_0_strict$schema$value ??= z.string())
191
+ let _houser_edus_plugin_edus_applyVersion_parameter_1_strict$schema$value
192
+ const _houser_edus_plugin_edus_applyVersion_parameter_1_strict$schema = () => (_houser_edus_plugin_edus_applyVersion_parameter_1_strict$schema$value ??= z.string())
193
+ let _houser_edus_plugin_edus_applyVersion_parameter_2_strict$schema$value
194
+ const _houser_edus_plugin_edus_applyVersion_parameter_2_strict$schema = () => (_houser_edus_plugin_edus_applyVersion_parameter_2_strict$schema$value ??= z.string())
195
+ let _houser_edus_plugin_edus_applyVersion_parameter_3_strict$schema$value
196
+ const _houser_edus_plugin_edus_applyVersion_parameter_3_strict$schema = () => (_houser_edus_plugin_edus_applyVersion_parameter_3_strict$schema$value ??= z.string())
197
+ let _houser_edus_plugin_edus_htmlList_parameter_0_strict$schema$value
198
+ const _houser_edus_plugin_edus_htmlList_parameter_0_strict$schema = () => (_houser_edus_plugin_edus_htmlList_parameter_0_strict$schema$value ??= z.string())
199
+ let _houser_edus_plugin_edus_htmlList_parameter_1_strict$schema$value
200
+ const _houser_edus_plugin_edus_htmlList_parameter_1_strict$schema = () => (_houser_edus_plugin_edus_htmlList_parameter_1_strict$schema$value ??= z.number())
201
+ let _houser_edus_plugin_edus_htmlList_parameter_2_strict$schema$value
202
+ const _houser_edus_plugin_edus_htmlList_parameter_2_strict$schema = () => (_houser_edus_plugin_edus_htmlList_parameter_2_strict$schema$value ??= z.number())
203
+ let _houser_edus_plugin_edus_htmlList_parameter_3_strict$schema$value
204
+ const _houser_edus_plugin_edus_htmlList_parameter_3_strict$schema = () => (_houser_edus_plugin_edus_htmlList_parameter_3_strict$schema$value ??= z.union([z.undefined(), z.string()]))
205
+ let _houser_edus_plugin_edus_htmlShare_parameter_0_strict$schema$value
206
+ const _houser_edus_plugin_edus_htmlShare_parameter_0_strict$schema = () => (_houser_edus_plugin_edus_htmlShare_parameter_0_strict$schema$value ??= z.string())
207
+ let _houser_edus_plugin_edus_htmlShare_parameter_1_strict$schema$value
208
+ const _houser_edus_plugin_edus_htmlShare_parameter_1_strict$schema = () => (_houser_edus_plugin_edus_htmlShare_parameter_1_strict$schema$value ??= z.string())
209
+ let _houser_edus_plugin_edus_htmlVersionDelete_parameter_0_strict$schema$value
210
+ const _houser_edus_plugin_edus_htmlVersionDelete_parameter_0_strict$schema = () => (_houser_edus_plugin_edus_htmlVersionDelete_parameter_0_strict$schema$value ??= z.string())
211
+ let _houser_edus_plugin_edus_htmlVersionDelete_parameter_1_strict$schema$value
212
+ const _houser_edus_plugin_edus_htmlVersionDelete_parameter_1_strict$schema = () => (_houser_edus_plugin_edus_htmlVersionDelete_parameter_1_strict$schema$value ??= z.string())
213
+ let _houser_edus_plugin_edus_htmlVersionDetail_parameter_0_strict$schema$value
214
+ const _houser_edus_plugin_edus_htmlVersionDetail_parameter_0_strict$schema = () => (_houser_edus_plugin_edus_htmlVersionDetail_parameter_0_strict$schema$value ??= z.string())
215
+ let _houser_edus_plugin_edus_htmlVersionDetail_parameter_1_strict$schema$value
216
+ const _houser_edus_plugin_edus_htmlVersionDetail_parameter_1_strict$schema = () => (_houser_edus_plugin_edus_htmlVersionDetail_parameter_1_strict$schema$value ??= z.string())
217
+ let _houser_edus_plugin_edus_htmlVersions_parameter_0_strict$schema$value
218
+ const _houser_edus_plugin_edus_htmlVersions_parameter_0_strict$schema = () => (_houser_edus_plugin_edus_htmlVersions_parameter_0_strict$schema$value ??= z.string())
219
+ let _houser_edus_plugin_edus_htmlVersions_parameter_1_strict$schema$value
220
+ const _houser_edus_plugin_edus_htmlVersions_parameter_1_strict$schema = () => (_houser_edus_plugin_edus_htmlVersions_parameter_1_strict$schema$value ??= z.string())
221
+ let _houser_edus_plugin_edus_listHtmlFiles_parameter_0_strict$schema$value
222
+ const _houser_edus_plugin_edus_listHtmlFiles_parameter_0_strict$schema = () => (_houser_edus_plugin_edus_listHtmlFiles_parameter_0_strict$schema$value ??= z.string())
223
+ let _houser_edus_plugin_edus_login_parameter_0_strict$schema$value
224
+ const _houser_edus_plugin_edus_login_parameter_0_strict$schema = () => (_houser_edus_plugin_edus_login_parameter_0_strict$schema$value ??= z.string())
225
+ let _houser_edus_plugin_edus_login_parameter_1_strict$schema$value
226
+ const _houser_edus_plugin_edus_login_parameter_1_strict$schema = () => (_houser_edus_plugin_edus_login_parameter_1_strict$schema$value ??= z.string())
227
+ let _houser_edus_plugin_edus_loginByPhone_parameter_0_strict$schema$value
228
+ const _houser_edus_plugin_edus_loginByPhone_parameter_0_strict$schema = () => (_houser_edus_plugin_edus_loginByPhone_parameter_0_strict$schema$value ??= z.string())
229
+ let _houser_edus_plugin_edus_loginByPhone_parameter_1_strict$schema$value
230
+ const _houser_edus_plugin_edus_loginByPhone_parameter_1_strict$schema = () => (_houser_edus_plugin_edus_loginByPhone_parameter_1_strict$schema$value ??= z.string())
231
+ let _houser_edus_plugin_edus_loginInfo_parameter_0_strict$schema$value
232
+ const _houser_edus_plugin_edus_loginInfo_parameter_0_strict$schema = () => (_houser_edus_plugin_edus_loginInfo_parameter_0_strict$schema$value ??= z.string())
233
+ let _houser_edus_plugin_edus_publishFile_parameter_0_strict$schema$value
234
+ const _houser_edus_plugin_edus_publishFile_parameter_0_strict$schema = () => (_houser_edus_plugin_edus_publishFile_parameter_0_strict$schema$value ??= z.string())
235
+ let _houser_edus_plugin_edus_publishFile_parameter_1_strict$schema$value
236
+ const _houser_edus_plugin_edus_publishFile_parameter_1_strict$schema = () => (_houser_edus_plugin_edus_publishFile_parameter_1_strict$schema$value ??= z.string())
237
+ let _houser_edus_plugin_edus_publishFile_parameter_2_strict$schema$value
238
+ const _houser_edus_plugin_edus_publishFile_parameter_2_strict$schema = () => (_houser_edus_plugin_edus_publishFile_parameter_2_strict$schema$value ??= z.string())
239
+ let _houser_edus_plugin_edus_publishFile_parameter_3_strict$schema$value
240
+ const _houser_edus_plugin_edus_publishFile_parameter_3_strict$schema = () => (_houser_edus_plugin_edus_publishFile_parameter_3_strict$schema$value ??= z.string())
241
+ let _houser_edus_plugin_edus_publishFile_parameter_4_strict$schema$value
242
+ const _houser_edus_plugin_edus_publishFile_parameter_4_strict$schema = () => (_houser_edus_plugin_edus_publishFile_parameter_4_strict$schema$value ??= z.union([z.undefined(), z.string()]))
243
+ let _houser_edus_plugin_edus_publishFile_parameter_5_strict$schema$value
244
+ const _houser_edus_plugin_edus_publishFile_parameter_5_strict$schema = () => (_houser_edus_plugin_edus_publishFile_parameter_5_strict$schema$value ??= z.union([z.undefined(), z.literal(false), z.literal(true)]))
245
+ let _houser_edus_plugin_edus_readHtmlFile_parameter_0_strict$schema$value
246
+ const _houser_edus_plugin_edus_readHtmlFile_parameter_0_strict$schema = () => (_houser_edus_plugin_edus_readHtmlFile_parameter_0_strict$schema$value ??= z.string())
247
+ let _houser_edus_plugin_edus_readHtmlFile_parameter_1_strict$schema$value
248
+ const _houser_edus_plugin_edus_readHtmlFile_parameter_1_strict$schema = () => (_houser_edus_plugin_edus_readHtmlFile_parameter_1_strict$schema$value ??= z.string())
249
+ let _houser_edus_plugin_edus_sendPhoneCode_parameter_0_strict$schema$value
250
+ const _houser_edus_plugin_edus_sendPhoneCode_parameter_0_strict$schema = () => (_houser_edus_plugin_edus_sendPhoneCode_parameter_0_strict$schema$value ??= z.string())
251
+ let _houser_edus_plugin_edus_sendPhoneCode_parameter_1_strict$schema$value
252
+ const _houser_edus_plugin_edus_sendPhoneCode_parameter_1_strict$schema = () => (_houser_edus_plugin_edus_sendPhoneCode_parameter_1_strict$schema$value ??= z.string())
253
+ let _houser_edus_plugin_edus_setLlmToken_parameter_0_strict$schema$value
254
+ const _houser_edus_plugin_edus_setLlmToken_parameter_0_strict$schema = () => (_houser_edus_plugin_edus_setLlmToken_parameter_0_strict$schema$value ??= z.string())
255
+ let _houser_edus_plugin_edus_writeHtmlFile_parameter_0_strict$schema$value
256
+ const _houser_edus_plugin_edus_writeHtmlFile_parameter_0_strict$schema = () => (_houser_edus_plugin_edus_writeHtmlFile_parameter_0_strict$schema$value ??= z.string())
257
+ let _houser_edus_plugin_edus_writeHtmlFile_parameter_1_strict$schema$value
258
+ const _houser_edus_plugin_edus_writeHtmlFile_parameter_1_strict$schema = () => (_houser_edus_plugin_edus_writeHtmlFile_parameter_1_strict$schema$value ??= z.string())
259
+ let _houser_edus_plugin_edus_writeHtmlFile_parameter_2_strict$schema$value
260
+ const _houser_edus_plugin_edus_writeHtmlFile_parameter_2_strict$schema = () => (_houser_edus_plugin_edus_writeHtmlFile_parameter_2_strict$schema$value ??= z.string())
162
261
 
163
- export const TYPERT_REMOTE = {
262
+ export const TYPERT_REMOTE = createTypertRemoteInfo({
164
263
  package: '@houser/edus-plugin',
165
- descriptors: [
166
- {
167
- id: '@houser/edus-plugin#edus/applyVersion',
264
+ methods: {
265
+ 'edus/applyVersion': {
168
266
  service: 'edus',
169
- namespace: 'edus',
170
- method: 'applyVersion',
171
267
  invocation: { kind: 'direct' },
172
268
  parameters: [
173
269
  {
174
270
  name: 'token',
175
- wire: 'token',
176
271
  source: 'json',
177
272
  codec: {
178
273
  mode: 'strict',
179
274
  typeSymbol: '@houser/edus-plugin#edus/applyVersion:token',
180
275
  create: _houser_edus_plugin_edus_applyVersion_parameter_0$schema,
276
+ jsonSchema: {"type":"string"},
277
+ },
278
+ strictCodec: {
279
+ mode: 'strict',
280
+ typeSymbol: '@houser/edus-plugin#edus/applyVersion:token',
281
+ create: _houser_edus_plugin_edus_applyVersion_parameter_0_strict$schema,
282
+ jsonSchema: {"type":"string"},
181
283
  },
182
284
  },
183
285
  {
184
286
  name: 'sessionId',
185
- wire: 'sessionId',
186
287
  source: 'json',
187
288
  codec: {
188
289
  mode: 'strict',
189
290
  typeSymbol: '@houser/edus-plugin#edus/applyVersion:sessionId',
190
291
  create: _houser_edus_plugin_edus_applyVersion_parameter_1$schema,
292
+ jsonSchema: {"type":"string"},
293
+ },
294
+ strictCodec: {
295
+ mode: 'strict',
296
+ typeSymbol: '@houser/edus-plugin#edus/applyVersion:sessionId',
297
+ create: _houser_edus_plugin_edus_applyVersion_parameter_1_strict$schema,
298
+ jsonSchema: {"type":"string"},
191
299
  },
192
300
  },
193
301
  {
194
302
  name: 'path',
195
- wire: 'path',
196
303
  source: 'json',
197
304
  codec: {
198
305
  mode: 'strict',
199
306
  typeSymbol: '@houser/edus-plugin#edus/applyVersion:path',
200
307
  create: _houser_edus_plugin_edus_applyVersion_parameter_2$schema,
308
+ jsonSchema: {"type":"string"},
309
+ },
310
+ strictCodec: {
311
+ mode: 'strict',
312
+ typeSymbol: '@houser/edus-plugin#edus/applyVersion:path',
313
+ create: _houser_edus_plugin_edus_applyVersion_parameter_2_strict$schema,
314
+ jsonSchema: {"type":"string"},
201
315
  },
202
316
  },
203
317
  {
204
318
  name: 'id',
205
- wire: 'id',
206
319
  source: 'json',
207
320
  codec: {
208
321
  mode: 'strict',
209
322
  typeSymbol: '@houser/edus-plugin#edus/applyVersion:id',
210
323
  create: _houser_edus_plugin_edus_applyVersion_parameter_3$schema,
324
+ jsonSchema: {"type":"string"},
325
+ },
326
+ strictCodec: {
327
+ mode: 'strict',
328
+ typeSymbol: '@houser/edus-plugin#edus/applyVersion:id',
329
+ create: _houser_edus_plugin_edus_applyVersion_parameter_3_strict$schema,
330
+ jsonSchema: {"type":"string"},
211
331
  },
212
332
  },
213
333
  ],
@@ -215,55 +335,77 @@ export const TYPERT_REMOTE = {
215
335
  mode: 'strict',
216
336
  typeSymbol: '@houser/edus-plugin#edus/applyVersion:result',
217
337
  create: _houser_edus_plugin_edus_applyVersion_result$schema,
338
+ jsonSchema: {"type":"string"},
218
339
  },
219
- sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":215,"column":33},
340
+ sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":247,"column":33},
220
341
  },
221
- {
222
- id: '@houser/edus-plugin#edus/htmlList',
342
+ 'edus/htmlList': {
223
343
  service: 'edus',
224
- namespace: 'edus',
225
- method: 'htmlList',
226
344
  invocation: { kind: 'direct' },
227
345
  parameters: [
228
346
  {
229
347
  name: 'token',
230
- wire: 'token',
231
348
  source: 'json',
232
349
  codec: {
233
350
  mode: 'strict',
234
351
  typeSymbol: '@houser/edus-plugin#edus/htmlList:token',
235
352
  create: _houser_edus_plugin_edus_htmlList_parameter_0$schema,
353
+ jsonSchema: {"type":"string"},
354
+ },
355
+ strictCodec: {
356
+ mode: 'strict',
357
+ typeSymbol: '@houser/edus-plugin#edus/htmlList:token',
358
+ create: _houser_edus_plugin_edus_htmlList_parameter_0_strict$schema,
359
+ jsonSchema: {"type":"string"},
236
360
  },
237
361
  },
238
362
  {
239
363
  name: 'page',
240
- wire: 'page',
241
364
  source: 'json',
242
365
  codec: {
243
366
  mode: 'strict',
244
367
  typeSymbol: '@houser/edus-plugin#edus/htmlList:page',
245
368
  create: _houser_edus_plugin_edus_htmlList_parameter_1$schema,
369
+ jsonSchema: {"type":"number"},
370
+ },
371
+ strictCodec: {
372
+ mode: 'strict',
373
+ typeSymbol: '@houser/edus-plugin#edus/htmlList:page',
374
+ create: _houser_edus_plugin_edus_htmlList_parameter_1_strict$schema,
375
+ jsonSchema: {"type":"number"},
246
376
  },
247
377
  },
248
378
  {
249
379
  name: 'size',
250
- wire: 'size',
251
380
  source: 'json',
252
381
  codec: {
253
382
  mode: 'strict',
254
383
  typeSymbol: '@houser/edus-plugin#edus/htmlList:size',
255
384
  create: _houser_edus_plugin_edus_htmlList_parameter_2$schema,
385
+ jsonSchema: {"type":"number"},
386
+ },
387
+ strictCodec: {
388
+ mode: 'strict',
389
+ typeSymbol: '@houser/edus-plugin#edus/htmlList:size',
390
+ create: _houser_edus_plugin_edus_htmlList_parameter_2_strict$schema,
391
+ jsonSchema: {"type":"number"},
256
392
  },
257
393
  },
258
394
  {
259
395
  name: 'search',
260
- wire: 'search',
261
396
  source: 'json',
262
397
  acceptsUndefined: true,
263
398
  codec: {
264
399
  mode: 'strict',
265
400
  typeSymbol: '@houser/edus-plugin#edus/htmlList:search',
266
401
  create: _houser_edus_plugin_edus_htmlList_parameter_3$schema,
402
+ jsonSchema: {"type":"string"},
403
+ },
404
+ strictCodec: {
405
+ mode: 'strict',
406
+ typeSymbol: '@houser/edus-plugin#edus/htmlList:search',
407
+ create: _houser_edus_plugin_edus_htmlList_parameter_3_strict$schema,
408
+ jsonSchema: {"type":"string"},
267
409
  },
268
410
  },
269
411
  ],
@@ -271,34 +413,44 @@ export const TYPERT_REMOTE = {
271
413
  mode: 'strict',
272
414
  typeSymbol: '@houser/edus-plugin/types#EdusWorkListResult',
273
415
  create: _houser_edus_plugin_edus_htmlList_result$schema,
416
+ jsonSchema: {"type":"object","properties":{"list":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"text":{"type":"string"},"images":{"type":"string"},"status":{"type":"number"},"views":{"type":"number"},"thumb":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"from":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","title","text","images","status","views","thumb","from","createdAt","updatedAt"],"additionalProperties":true}},"total":{"type":"number"},"page":{"type":"number"},"size":{"type":"number"}},"required":["list","total","page","size"],"additionalProperties":true},
274
417
  },
275
- sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":118,"column":9},
418
+ sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":150,"column":9},
276
419
  },
277
- {
278
- id: '@houser/edus-plugin#edus/htmlShare',
420
+ 'edus/htmlShare': {
279
421
  service: 'edus',
280
- namespace: 'edus',
281
- method: 'htmlShare',
282
422
  invocation: { kind: 'direct' },
283
423
  parameters: [
284
424
  {
285
425
  name: 'token',
286
- wire: 'token',
287
426
  source: 'json',
288
427
  codec: {
289
428
  mode: 'strict',
290
429
  typeSymbol: '@houser/edus-plugin#edus/htmlShare:token',
291
430
  create: _houser_edus_plugin_edus_htmlShare_parameter_0$schema,
431
+ jsonSchema: {"type":"string"},
432
+ },
433
+ strictCodec: {
434
+ mode: 'strict',
435
+ typeSymbol: '@houser/edus-plugin#edus/htmlShare:token',
436
+ create: _houser_edus_plugin_edus_htmlShare_parameter_0_strict$schema,
437
+ jsonSchema: {"type":"string"},
292
438
  },
293
439
  },
294
440
  {
295
441
  name: 'id',
296
- wire: 'id',
297
442
  source: 'json',
298
443
  codec: {
299
444
  mode: 'strict',
300
445
  typeSymbol: '@houser/edus-plugin#edus/htmlShare:id',
301
446
  create: _houser_edus_plugin_edus_htmlShare_parameter_1$schema,
447
+ jsonSchema: {"type":"string"},
448
+ },
449
+ strictCodec: {
450
+ mode: 'strict',
451
+ typeSymbol: '@houser/edus-plugin#edus/htmlShare:id',
452
+ create: _houser_edus_plugin_edus_htmlShare_parameter_1_strict$schema,
453
+ jsonSchema: {"type":"string"},
302
454
  },
303
455
  },
304
456
  ],
@@ -306,34 +458,44 @@ export const TYPERT_REMOTE = {
306
458
  mode: 'strict',
307
459
  typeSymbol: '@houser/edus-plugin#edus/htmlShare:result',
308
460
  create: _houser_edus_plugin_edus_htmlShare_result$schema,
461
+ jsonSchema: {"type":"string"},
309
462
  },
310
- sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":141,"column":9},
463
+ sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":173,"column":9},
311
464
  },
312
- {
313
- id: '@houser/edus-plugin#edus/htmlVersionDelete',
465
+ 'edus/htmlVersionDelete': {
314
466
  service: 'edus',
315
- namespace: 'edus',
316
- method: 'htmlVersionDelete',
317
467
  invocation: { kind: 'direct' },
318
468
  parameters: [
319
469
  {
320
470
  name: 'token',
321
- wire: 'token',
322
471
  source: 'json',
323
472
  codec: {
324
473
  mode: 'strict',
325
474
  typeSymbol: '@houser/edus-plugin#edus/htmlVersionDelete:token',
326
475
  create: _houser_edus_plugin_edus_htmlVersionDelete_parameter_0$schema,
476
+ jsonSchema: {"type":"string"},
477
+ },
478
+ strictCodec: {
479
+ mode: 'strict',
480
+ typeSymbol: '@houser/edus-plugin#edus/htmlVersionDelete:token',
481
+ create: _houser_edus_plugin_edus_htmlVersionDelete_parameter_0_strict$schema,
482
+ jsonSchema: {"type":"string"},
327
483
  },
328
484
  },
329
485
  {
330
486
  name: 'id',
331
- wire: 'id',
332
487
  source: 'json',
333
488
  codec: {
334
489
  mode: 'strict',
335
490
  typeSymbol: '@houser/edus-plugin#edus/htmlVersionDelete:id',
336
491
  create: _houser_edus_plugin_edus_htmlVersionDelete_parameter_1$schema,
492
+ jsonSchema: {"type":"string"},
493
+ },
494
+ strictCodec: {
495
+ mode: 'strict',
496
+ typeSymbol: '@houser/edus-plugin#edus/htmlVersionDelete:id',
497
+ create: _houser_edus_plugin_edus_htmlVersionDelete_parameter_1_strict$schema,
498
+ jsonSchema: {"type":"string"},
337
499
  },
338
500
  },
339
501
  ],
@@ -341,34 +503,44 @@ export const TYPERT_REMOTE = {
341
503
  mode: 'strict',
342
504
  typeSymbol: '@houser/edus-plugin#edus/htmlVersionDelete:result',
343
505
  create: _houser_edus_plugin_edus_htmlVersionDelete_result$schema,
506
+ jsonSchemaError: 'typert tool schema: unsupported void value',
344
507
  },
345
- sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":219,"column":38},
508
+ sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":251,"column":38},
346
509
  },
347
- {
348
- id: '@houser/edus-plugin#edus/htmlVersionDetail',
510
+ 'edus/htmlVersionDetail': {
349
511
  service: 'edus',
350
- namespace: 'edus',
351
- method: 'htmlVersionDetail',
352
512
  invocation: { kind: 'direct' },
353
513
  parameters: [
354
514
  {
355
515
  name: 'token',
356
- wire: 'token',
357
516
  source: 'json',
358
517
  codec: {
359
518
  mode: 'strict',
360
519
  typeSymbol: '@houser/edus-plugin#edus/htmlVersionDetail:token',
361
520
  create: _houser_edus_plugin_edus_htmlVersionDetail_parameter_0$schema,
521
+ jsonSchema: {"type":"string"},
522
+ },
523
+ strictCodec: {
524
+ mode: 'strict',
525
+ typeSymbol: '@houser/edus-plugin#edus/htmlVersionDetail:token',
526
+ create: _houser_edus_plugin_edus_htmlVersionDetail_parameter_0_strict$schema,
527
+ jsonSchema: {"type":"string"},
362
528
  },
363
529
  },
364
530
  {
365
531
  name: 'id',
366
- wire: 'id',
367
532
  source: 'json',
368
533
  codec: {
369
534
  mode: 'strict',
370
535
  typeSymbol: '@houser/edus-plugin#edus/htmlVersionDetail:id',
371
536
  create: _houser_edus_plugin_edus_htmlVersionDetail_parameter_1$schema,
537
+ jsonSchema: {"type":"string"},
538
+ },
539
+ strictCodec: {
540
+ mode: 'strict',
541
+ typeSymbol: '@houser/edus-plugin#edus/htmlVersionDetail:id',
542
+ create: _houser_edus_plugin_edus_htmlVersionDetail_parameter_1_strict$schema,
543
+ jsonSchema: {"type":"string"},
372
544
  },
373
545
  },
374
546
  ],
@@ -376,34 +548,44 @@ export const TYPERT_REMOTE = {
376
548
  mode: 'strict',
377
549
  typeSymbol: '@houser/edus-plugin#edus/htmlVersionDetail:result',
378
550
  create: _houser_edus_plugin_edus_htmlVersionDetail_result$schema,
551
+ jsonSchema: {"type":"string"},
379
552
  },
380
- sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":214,"column":38},
553
+ sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":246,"column":38},
381
554
  },
382
- {
383
- id: '@houser/edus-plugin#edus/htmlVersions',
555
+ 'edus/htmlVersions': {
384
556
  service: 'edus',
385
- namespace: 'edus',
386
- method: 'htmlVersions',
387
557
  invocation: { kind: 'direct' },
388
558
  parameters: [
389
559
  {
390
560
  name: 'token',
391
- wire: 'token',
392
561
  source: 'json',
393
562
  codec: {
394
563
  mode: 'strict',
395
564
  typeSymbol: '@houser/edus-plugin#edus/htmlVersions:token',
396
565
  create: _houser_edus_plugin_edus_htmlVersions_parameter_0$schema,
566
+ jsonSchema: {"type":"string"},
567
+ },
568
+ strictCodec: {
569
+ mode: 'strict',
570
+ typeSymbol: '@houser/edus-plugin#edus/htmlVersions:token',
571
+ create: _houser_edus_plugin_edus_htmlVersions_parameter_0_strict$schema,
572
+ jsonSchema: {"type":"string"},
397
573
  },
398
574
  },
399
575
  {
400
576
  name: 'htmlId',
401
- wire: 'htmlId',
402
577
  source: 'json',
403
578
  codec: {
404
579
  mode: 'strict',
405
580
  typeSymbol: '@houser/edus-plugin#edus/htmlVersions:htmlId',
406
581
  create: _houser_edus_plugin_edus_htmlVersions_parameter_1$schema,
582
+ jsonSchema: {"type":"string"},
583
+ },
584
+ strictCodec: {
585
+ mode: 'strict',
586
+ typeSymbol: '@houser/edus-plugin#edus/htmlVersions:htmlId',
587
+ create: _houser_edus_plugin_edus_htmlVersions_parameter_1_strict$schema,
588
+ jsonSchema: {"type":"string"},
407
589
  },
408
590
  },
409
591
  ],
@@ -411,24 +593,28 @@ export const TYPERT_REMOTE = {
411
593
  mode: 'strict',
412
594
  typeSymbol: '@houser/edus-plugin#edus/htmlVersions:result',
413
595
  create: _houser_edus_plugin_edus_htmlVersions_result$schema,
596
+ jsonSchema: {"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"number"},"createdAt":{"type":"string"}},"required":["id","status","createdAt"],"additionalProperties":true}},
414
597
  },
415
- sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":210,"column":33},
598
+ sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":242,"column":33},
416
599
  },
417
- {
418
- id: '@houser/edus-plugin#edus/listHtmlFiles',
600
+ 'edus/listHtmlFiles': {
419
601
  service: 'edus',
420
- namespace: 'edus',
421
- method: 'listHtmlFiles',
422
602
  invocation: { kind: 'direct' },
423
603
  parameters: [
424
604
  {
425
605
  name: 'sessionId',
426
- wire: 'sessionId',
427
606
  source: 'json',
428
607
  codec: {
429
608
  mode: 'strict',
430
609
  typeSymbol: '@houser/edus-plugin#edus/listHtmlFiles:sessionId',
431
610
  create: _houser_edus_plugin_edus_listHtmlFiles_parameter_0$schema,
611
+ jsonSchema: {"type":"string"},
612
+ },
613
+ strictCodec: {
614
+ mode: 'strict',
615
+ typeSymbol: '@houser/edus-plugin#edus/listHtmlFiles:sessionId',
616
+ create: _houser_edus_plugin_edus_listHtmlFiles_parameter_0_strict$schema,
617
+ jsonSchema: {"type":"string"},
432
618
  },
433
619
  },
434
620
  ],
@@ -436,34 +622,44 @@ export const TYPERT_REMOTE = {
436
622
  mode: 'strict',
437
623
  typeSymbol: '@houser/edus-plugin/types#EdusHtmlFileListResult',
438
624
  create: _houser_edus_plugin_edus_listHtmlFiles_result$schema,
625
+ jsonSchema: {"type":"object","properties":{"files":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"name":{"type":"string"},"size":{"type":"number"},"modifiedAt":{"type":"string"}},"required":["path","name","size","modifiedAt"],"additionalProperties":true}},"truncated":{"type":"boolean"}},"required":["files","truncated"],"additionalProperties":true},
439
626
  },
440
- sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":147,"column":9},
627
+ sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":179,"column":9},
441
628
  },
442
- {
443
- id: '@houser/edus-plugin#edus/login',
629
+ 'edus/login': {
444
630
  service: 'edus',
445
- namespace: 'edus',
446
- method: 'login',
447
631
  invocation: { kind: 'direct' },
448
632
  parameters: [
449
633
  {
450
634
  name: 'phone',
451
- wire: 'phone',
452
635
  source: 'json',
453
636
  codec: {
454
637
  mode: 'strict',
455
638
  typeSymbol: '@houser/edus-plugin#edus/login:phone',
456
639
  create: _houser_edus_plugin_edus_login_parameter_0$schema,
640
+ jsonSchema: {"type":"string"},
641
+ },
642
+ strictCodec: {
643
+ mode: 'strict',
644
+ typeSymbol: '@houser/edus-plugin#edus/login:phone',
645
+ create: _houser_edus_plugin_edus_login_parameter_0_strict$schema,
646
+ jsonSchema: {"type":"string"},
457
647
  },
458
648
  },
459
649
  {
460
650
  name: 'password',
461
- wire: 'password',
462
651
  source: 'json',
463
652
  codec: {
464
653
  mode: 'strict',
465
654
  typeSymbol: '@houser/edus-plugin#edus/login:password',
466
655
  create: _houser_edus_plugin_edus_login_parameter_1$schema,
656
+ jsonSchema: {"type":"string"},
657
+ },
658
+ strictCodec: {
659
+ mode: 'strict',
660
+ typeSymbol: '@houser/edus-plugin#edus/login:password',
661
+ create: _houser_edus_plugin_edus_login_parameter_1_strict$schema,
662
+ jsonSchema: {"type":"string"},
467
663
  },
468
664
  },
469
665
  ],
@@ -471,34 +667,44 @@ export const TYPERT_REMOTE = {
471
667
  mode: 'strict',
472
668
  typeSymbol: '@houser/edus-plugin/types#EdusLoginResult',
473
669
  create: _houser_edus_plugin_edus_login_result$schema,
670
+ jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"phone":{"type":"string"},"token":{"type":"string"},"isAdmin":{"type":"boolean"},"isVip":{"type":"boolean"},"title":{"type":"string"},"vipLevel":{"type":"number"},"vipLevelName":{"type":"string","description":"VIP 版本名称,如「标准版」,未开通为空串。"},"vipMonthLimit":{"type":"number","description":"VIP 月消费上限(元),0 表示无上限或未开通。"},"vipEndTime":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"VIP 到期时间(ISO 字符串)。"},"llmStatus":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"模型 key 状态:1 可用,其它值停用,null 表示未开通。"},"llmTotalCost":{"type":"string","description":"累计消费(元),decimal 字符串。"},"llmMonthCost":{"type":"string","description":"本月消费(元),decimal 字符串。"},"llmLastUsedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"最近一次模型调用时间(ISO 字符串)。"}},"required":["id","phone","token","isAdmin","isVip","title","vipLevel"],"additionalProperties":true},
474
671
  },
475
- sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":108,"column":26},
672
+ sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":140,"column":26},
476
673
  },
477
- {
478
- id: '@houser/edus-plugin#edus/loginByPhone',
674
+ 'edus/loginByPhone': {
479
675
  service: 'edus',
480
- namespace: 'edus',
481
- method: 'loginByPhone',
482
676
  invocation: { kind: 'direct' },
483
677
  parameters: [
484
678
  {
485
679
  name: 'phone',
486
- wire: 'phone',
487
680
  source: 'json',
488
681
  codec: {
489
682
  mode: 'strict',
490
683
  typeSymbol: '@houser/edus-plugin#edus/loginByPhone:phone',
491
684
  create: _houser_edus_plugin_edus_loginByPhone_parameter_0$schema,
685
+ jsonSchema: {"type":"string"},
686
+ },
687
+ strictCodec: {
688
+ mode: 'strict',
689
+ typeSymbol: '@houser/edus-plugin#edus/loginByPhone:phone',
690
+ create: _houser_edus_plugin_edus_loginByPhone_parameter_0_strict$schema,
691
+ jsonSchema: {"type":"string"},
492
692
  },
493
693
  },
494
694
  {
495
695
  name: 'code',
496
- wire: 'code',
497
696
  source: 'json',
498
697
  codec: {
499
698
  mode: 'strict',
500
699
  typeSymbol: '@houser/edus-plugin#edus/loginByPhone:code',
501
700
  create: _houser_edus_plugin_edus_loginByPhone_parameter_1$schema,
701
+ jsonSchema: {"type":"string"},
702
+ },
703
+ strictCodec: {
704
+ mode: 'strict',
705
+ typeSymbol: '@houser/edus-plugin#edus/loginByPhone:code',
706
+ create: _houser_edus_plugin_edus_loginByPhone_parameter_1_strict$schema,
707
+ jsonSchema: {"type":"string"},
502
708
  },
503
709
  },
504
710
  ],
@@ -506,24 +712,28 @@ export const TYPERT_REMOTE = {
506
712
  mode: 'strict',
507
713
  typeSymbol: '@houser/edus-plugin/types#EdusLoginResult',
508
714
  create: _houser_edus_plugin_edus_loginByPhone_result$schema,
715
+ jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"phone":{"type":"string"},"token":{"type":"string"},"isAdmin":{"type":"boolean"},"isVip":{"type":"boolean"},"title":{"type":"string"},"vipLevel":{"type":"number"},"vipLevelName":{"type":"string","description":"VIP 版本名称,如「标准版」,未开通为空串。"},"vipMonthLimit":{"type":"number","description":"VIP 月消费上限(元),0 表示无上限或未开通。"},"vipEndTime":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"VIP 到期时间(ISO 字符串)。"},"llmStatus":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"模型 key 状态:1 可用,其它值停用,null 表示未开通。"},"llmTotalCost":{"type":"string","description":"累计消费(元),decimal 字符串。"},"llmMonthCost":{"type":"string","description":"本月消费(元),decimal 字符串。"},"llmLastUsedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"最近一次模型调用时间(ISO 字符串)。"}},"required":["id","phone","token","isAdmin","isVip","title","vipLevel"],"additionalProperties":true},
509
716
  },
510
- sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":115,"column":33},
717
+ sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":147,"column":33},
511
718
  },
512
- {
513
- id: '@houser/edus-plugin#edus/loginInfo',
719
+ 'edus/loginInfo': {
514
720
  service: 'edus',
515
- namespace: 'edus',
516
- method: 'loginInfo',
517
721
  invocation: { kind: 'direct' },
518
722
  parameters: [
519
723
  {
520
724
  name: 'token',
521
- wire: 'token',
522
725
  source: 'json',
523
726
  codec: {
524
727
  mode: 'strict',
525
728
  typeSymbol: '@houser/edus-plugin#edus/loginInfo:token',
526
729
  create: _houser_edus_plugin_edus_loginInfo_parameter_0$schema,
730
+ jsonSchema: {"type":"string"},
731
+ },
732
+ strictCodec: {
733
+ mode: 'strict',
734
+ typeSymbol: '@houser/edus-plugin#edus/loginInfo:token',
735
+ create: _houser_edus_plugin_edus_loginInfo_parameter_0_strict$schema,
736
+ jsonSchema: {"type":"string"},
527
737
  },
528
738
  },
529
739
  ],
@@ -531,76 +741,110 @@ export const TYPERT_REMOTE = {
531
741
  mode: 'strict',
532
742
  typeSymbol: '@houser/edus-plugin/types#EdusLoginResult',
533
743
  create: _houser_edus_plugin_edus_loginInfo_result$schema,
744
+ jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"phone":{"type":"string"},"token":{"type":"string"},"isAdmin":{"type":"boolean"},"isVip":{"type":"boolean"},"title":{"type":"string"},"vipLevel":{"type":"number"},"vipLevelName":{"type":"string","description":"VIP 版本名称,如「标准版」,未开通为空串。"},"vipMonthLimit":{"type":"number","description":"VIP 月消费上限(元),0 表示无上限或未开通。"},"vipEndTime":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"VIP 到期时间(ISO 字符串)。"},"llmStatus":{"oneOf":[{"type":"null","const":null},{"type":"number"}],"description":"模型 key 状态:1 可用,其它值停用,null 表示未开通。"},"llmTotalCost":{"type":"string","description":"累计消费(元),decimal 字符串。"},"llmMonthCost":{"type":"string","description":"本月消费(元),decimal 字符串。"},"llmLastUsedAt":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"最近一次模型调用时间(ISO 字符串)。"}},"required":["id","phone","token","isAdmin","isVip","title","vipLevel"],"additionalProperties":true},
534
745
  },
535
- sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":110,"column":9},
746
+ sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":142,"column":9},
536
747
  },
537
- {
538
- id: '@houser/edus-plugin#edus/publishFile',
748
+ 'edus/publishFile': {
539
749
  service: 'edus',
540
- namespace: 'edus',
541
- method: 'publishFile',
542
750
  invocation: { kind: 'direct' },
543
751
  parameters: [
544
752
  {
545
753
  name: 'token',
546
- wire: 'token',
547
754
  source: 'json',
548
755
  codec: {
549
756
  mode: 'strict',
550
757
  typeSymbol: '@houser/edus-plugin#edus/publishFile:token',
551
758
  create: _houser_edus_plugin_edus_publishFile_parameter_0$schema,
759
+ jsonSchema: {"type":"string"},
760
+ },
761
+ strictCodec: {
762
+ mode: 'strict',
763
+ typeSymbol: '@houser/edus-plugin#edus/publishFile:token',
764
+ create: _houser_edus_plugin_edus_publishFile_parameter_0_strict$schema,
765
+ jsonSchema: {"type":"string"},
552
766
  },
553
767
  },
554
768
  {
555
769
  name: 'sessionId',
556
- wire: 'sessionId',
557
770
  source: 'json',
558
771
  codec: {
559
772
  mode: 'strict',
560
773
  typeSymbol: '@houser/edus-plugin#edus/publishFile:sessionId',
561
774
  create: _houser_edus_plugin_edus_publishFile_parameter_1$schema,
775
+ jsonSchema: {"type":"string"},
776
+ },
777
+ strictCodec: {
778
+ mode: 'strict',
779
+ typeSymbol: '@houser/edus-plugin#edus/publishFile:sessionId',
780
+ create: _houser_edus_plugin_edus_publishFile_parameter_1_strict$schema,
781
+ jsonSchema: {"type":"string"},
562
782
  },
563
783
  },
564
784
  {
565
785
  name: 'path',
566
- wire: 'path',
567
786
  source: 'json',
568
787
  codec: {
569
788
  mode: 'strict',
570
789
  typeSymbol: '@houser/edus-plugin#edus/publishFile:path',
571
790
  create: _houser_edus_plugin_edus_publishFile_parameter_2$schema,
791
+ jsonSchema: {"type":"string"},
792
+ },
793
+ strictCodec: {
794
+ mode: 'strict',
795
+ typeSymbol: '@houser/edus-plugin#edus/publishFile:path',
796
+ create: _houser_edus_plugin_edus_publishFile_parameter_2_strict$schema,
797
+ jsonSchema: {"type":"string"},
572
798
  },
573
799
  },
574
800
  {
575
801
  name: 'account',
576
- wire: 'account',
577
802
  source: 'json',
578
803
  codec: {
579
804
  mode: 'strict',
580
805
  typeSymbol: '@houser/edus-plugin#edus/publishFile:account',
581
806
  create: _houser_edus_plugin_edus_publishFile_parameter_3$schema,
807
+ jsonSchema: {"type":"string"},
808
+ },
809
+ strictCodec: {
810
+ mode: 'strict',
811
+ typeSymbol: '@houser/edus-plugin#edus/publishFile:account',
812
+ create: _houser_edus_plugin_edus_publishFile_parameter_3_strict$schema,
813
+ jsonSchema: {"type":"string"},
582
814
  },
583
815
  },
584
816
  {
585
817
  name: 'title',
586
- wire: 'title',
587
818
  source: 'json',
588
819
  acceptsUndefined: true,
589
820
  codec: {
590
821
  mode: 'strict',
591
822
  typeSymbol: '@houser/edus-plugin#edus/publishFile:title',
592
823
  create: _houser_edus_plugin_edus_publishFile_parameter_4$schema,
824
+ jsonSchema: {"type":"string"},
825
+ },
826
+ strictCodec: {
827
+ mode: 'strict',
828
+ typeSymbol: '@houser/edus-plugin#edus/publishFile:title',
829
+ create: _houser_edus_plugin_edus_publishFile_parameter_4_strict$schema,
830
+ jsonSchema: {"type":"string"},
593
831
  },
594
832
  },
595
833
  {
596
834
  name: 'createNew',
597
- wire: 'createNew',
598
835
  source: 'json',
599
836
  acceptsUndefined: true,
600
837
  codec: {
601
838
  mode: 'strict',
602
839
  typeSymbol: '@houser/edus-plugin#edus/publishFile:createNew',
603
840
  create: _houser_edus_plugin_edus_publishFile_parameter_5$schema,
841
+ jsonSchema: {"type":"boolean","enum":[false,true]},
842
+ },
843
+ strictCodec: {
844
+ mode: 'strict',
845
+ typeSymbol: '@houser/edus-plugin#edus/publishFile:createNew',
846
+ create: _houser_edus_plugin_edus_publishFile_parameter_5_strict$schema,
847
+ jsonSchema: {"type":"boolean","enum":[false,true]},
604
848
  },
605
849
  },
606
850
  ],
@@ -608,34 +852,44 @@ export const TYPERT_REMOTE = {
608
852
  mode: 'strict',
609
853
  typeSymbol: '@houser/edus-plugin/types#EdusPublishResult',
610
854
  create: _houser_edus_plugin_edus_publishFile_result$schema,
855
+ jsonSchema: {"type":"object","properties":{"id":{"type":"string"},"content":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"unchanged":{"type":"boolean"},"reassigned":{"type":"boolean"},"shareUrl":{"oneOf":[{"type":"null","const":null},{"type":"string"}]}},"required":["id","content","unchanged","reassigned","shareUrl"],"additionalProperties":true},
611
856
  },
612
- sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":172,"column":9},
857
+ sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":204,"column":9},
613
858
  },
614
- {
615
- id: '@houser/edus-plugin#edus/readHtmlFile',
859
+ 'edus/readHtmlFile': {
616
860
  service: 'edus',
617
- namespace: 'edus',
618
- method: 'readHtmlFile',
619
861
  invocation: { kind: 'direct' },
620
862
  parameters: [
621
863
  {
622
864
  name: 'sessionId',
623
- wire: 'sessionId',
624
865
  source: 'json',
625
866
  codec: {
626
867
  mode: 'strict',
627
868
  typeSymbol: '@houser/edus-plugin#edus/readHtmlFile:sessionId',
628
869
  create: _houser_edus_plugin_edus_readHtmlFile_parameter_0$schema,
870
+ jsonSchema: {"type":"string"},
871
+ },
872
+ strictCodec: {
873
+ mode: 'strict',
874
+ typeSymbol: '@houser/edus-plugin#edus/readHtmlFile:sessionId',
875
+ create: _houser_edus_plugin_edus_readHtmlFile_parameter_0_strict$schema,
876
+ jsonSchema: {"type":"string"},
629
877
  },
630
878
  },
631
879
  {
632
880
  name: 'path',
633
- wire: 'path',
634
881
  source: 'json',
635
882
  codec: {
636
883
  mode: 'strict',
637
884
  typeSymbol: '@houser/edus-plugin#edus/readHtmlFile:path',
638
885
  create: _houser_edus_plugin_edus_readHtmlFile_parameter_1$schema,
886
+ jsonSchema: {"type":"string"},
887
+ },
888
+ strictCodec: {
889
+ mode: 'strict',
890
+ typeSymbol: '@houser/edus-plugin#edus/readHtmlFile:path',
891
+ create: _houser_edus_plugin_edus_readHtmlFile_parameter_1_strict$schema,
892
+ jsonSchema: {"type":"string"},
639
893
  },
640
894
  },
641
895
  ],
@@ -643,34 +897,44 @@ export const TYPERT_REMOTE = {
643
897
  mode: 'strict',
644
898
  typeSymbol: '@houser/edus-plugin#edus/readHtmlFile:result',
645
899
  create: _houser_edus_plugin_edus_readHtmlFile_result$schema,
900
+ jsonSchema: {"type":"string"},
646
901
  },
647
- sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":168,"column":33},
902
+ sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":200,"column":33},
648
903
  },
649
- {
650
- id: '@houser/edus-plugin#edus/sendPhoneCode',
904
+ 'edus/sendPhoneCode': {
651
905
  service: 'edus',
652
- namespace: 'edus',
653
- method: 'sendPhoneCode',
654
906
  invocation: { kind: 'direct' },
655
907
  parameters: [
656
908
  {
657
909
  name: 'phone',
658
- wire: 'phone',
659
910
  source: 'json',
660
911
  codec: {
661
912
  mode: 'strict',
662
913
  typeSymbol: '@houser/edus-plugin#edus/sendPhoneCode:phone',
663
914
  create: _houser_edus_plugin_edus_sendPhoneCode_parameter_0$schema,
915
+ jsonSchema: {"type":"string"},
916
+ },
917
+ strictCodec: {
918
+ mode: 'strict',
919
+ typeSymbol: '@houser/edus-plugin#edus/sendPhoneCode:phone',
920
+ create: _houser_edus_plugin_edus_sendPhoneCode_parameter_0_strict$schema,
921
+ jsonSchema: {"type":"string"},
664
922
  },
665
923
  },
666
924
  {
667
925
  name: 'captcha',
668
- wire: 'captcha',
669
926
  source: 'json',
670
927
  codec: {
671
928
  mode: 'strict',
672
929
  typeSymbol: '@houser/edus-plugin#edus/sendPhoneCode:captcha',
673
930
  create: _houser_edus_plugin_edus_sendPhoneCode_parameter_1$schema,
931
+ jsonSchema: {"type":"string"},
932
+ },
933
+ strictCodec: {
934
+ mode: 'strict',
935
+ typeSymbol: '@houser/edus-plugin#edus/sendPhoneCode:captcha',
936
+ create: _houser_edus_plugin_edus_sendPhoneCode_parameter_1_strict$schema,
937
+ jsonSchema: {"type":"string"},
674
938
  },
675
939
  },
676
940
  ],
@@ -678,14 +942,42 @@ export const TYPERT_REMOTE = {
678
942
  mode: 'strict',
679
943
  typeSymbol: '@houser/edus-plugin#edus/sendPhoneCode:result',
680
944
  create: _houser_edus_plugin_edus_sendPhoneCode_result$schema,
945
+ jsonSchemaError: 'typert tool schema: unsupported void value',
946
+ },
947
+ sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":146,"column":34},
948
+ },
949
+ 'edus/setLlmToken': {
950
+ service: 'edus',
951
+ description: '客户端登录态变化时同步:有 token 就写入模型网关密钥,退出登录则删除。',
952
+ invocation: { kind: 'direct' },
953
+ parameters: [
954
+ {
955
+ name: 'token',
956
+ source: 'json',
957
+ codec: {
958
+ mode: 'strict',
959
+ typeSymbol: '@houser/edus-plugin#edus/setLlmToken:token',
960
+ create: _houser_edus_plugin_edus_setLlmToken_parameter_0$schema,
961
+ jsonSchema: {"type":"string"},
962
+ },
963
+ strictCodec: {
964
+ mode: 'strict',
965
+ typeSymbol: '@houser/edus-plugin#edus/setLlmToken:token',
966
+ create: _houser_edus_plugin_edus_setLlmToken_parameter_0_strict$schema,
967
+ jsonSchema: {"type":"string"},
968
+ },
969
+ },
970
+ ],
971
+ result: {
972
+ mode: 'strict',
973
+ typeSymbol: '@houser/edus-plugin#edus/setLlmToken:result',
974
+ create: _houser_edus_plugin_edus_setLlmToken_result$schema,
975
+ jsonSchemaError: 'typert tool schema: unsupported void value',
681
976
  },
682
- sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":114,"column":34},
977
+ sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":136,"column":32},
683
978
  },
684
- {
685
- id: '@houser/edus-plugin#edus/shareOrigin',
979
+ 'edus/shareOrigin': {
686
980
  service: 'edus',
687
- namespace: 'edus',
688
- method: 'shareOrigin',
689
981
  invocation: { kind: 'direct' },
690
982
  parameters: [
691
983
  ],
@@ -693,44 +985,60 @@ export const TYPERT_REMOTE = {
693
985
  mode: 'strict',
694
986
  typeSymbol: '@houser/edus-plugin#edus/shareOrigin:result',
695
987
  create: _houser_edus_plugin_edus_shareOrigin_result$schema,
988
+ jsonSchema: {"type":"string"},
696
989
  },
697
- sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":107,"column":26},
990
+ sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":134,"column":26},
698
991
  },
699
- {
700
- id: '@houser/edus-plugin#edus/writeHtmlFile',
992
+ 'edus/writeHtmlFile': {
701
993
  service: 'edus',
702
- namespace: 'edus',
703
- method: 'writeHtmlFile',
704
994
  invocation: { kind: 'direct' },
705
995
  parameters: [
706
996
  {
707
997
  name: 'sessionId',
708
- wire: 'sessionId',
709
998
  source: 'json',
710
999
  codec: {
711
1000
  mode: 'strict',
712
1001
  typeSymbol: '@houser/edus-plugin#edus/writeHtmlFile:sessionId',
713
1002
  create: _houser_edus_plugin_edus_writeHtmlFile_parameter_0$schema,
1003
+ jsonSchema: {"type":"string"},
1004
+ },
1005
+ strictCodec: {
1006
+ mode: 'strict',
1007
+ typeSymbol: '@houser/edus-plugin#edus/writeHtmlFile:sessionId',
1008
+ create: _houser_edus_plugin_edus_writeHtmlFile_parameter_0_strict$schema,
1009
+ jsonSchema: {"type":"string"},
714
1010
  },
715
1011
  },
716
1012
  {
717
1013
  name: 'path',
718
- wire: 'path',
719
1014
  source: 'json',
720
1015
  codec: {
721
1016
  mode: 'strict',
722
1017
  typeSymbol: '@houser/edus-plugin#edus/writeHtmlFile:path',
723
1018
  create: _houser_edus_plugin_edus_writeHtmlFile_parameter_1$schema,
1019
+ jsonSchema: {"type":"string"},
1020
+ },
1021
+ strictCodec: {
1022
+ mode: 'strict',
1023
+ typeSymbol: '@houser/edus-plugin#edus/writeHtmlFile:path',
1024
+ create: _houser_edus_plugin_edus_writeHtmlFile_parameter_1_strict$schema,
1025
+ jsonSchema: {"type":"string"},
724
1026
  },
725
1027
  },
726
1028
  {
727
1029
  name: 'content',
728
- wire: 'content',
729
1030
  source: 'json',
730
1031
  codec: {
731
1032
  mode: 'strict',
732
1033
  typeSymbol: '@houser/edus-plugin#edus/writeHtmlFile:content',
733
1034
  create: _houser_edus_plugin_edus_writeHtmlFile_parameter_2$schema,
1035
+ jsonSchema: {"type":"string"},
1036
+ },
1037
+ strictCodec: {
1038
+ mode: 'strict',
1039
+ typeSymbol: '@houser/edus-plugin#edus/writeHtmlFile:content',
1040
+ create: _houser_edus_plugin_edus_writeHtmlFile_parameter_2_strict$schema,
1041
+ jsonSchema: {"type":"string"},
734
1042
  },
735
1043
  },
736
1044
  ],
@@ -738,10 +1046,11 @@ export const TYPERT_REMOTE = {
738
1046
  mode: 'strict',
739
1047
  typeSymbol: '@houser/edus-plugin#edus/writeHtmlFile:result',
740
1048
  create: _houser_edus_plugin_edus_writeHtmlFile_result$schema,
1049
+ jsonSchemaError: 'typert tool schema: unsupported void value',
741
1050
  },
742
- sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":169,"column":34},
1051
+ sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":201,"column":34},
743
1052
  },
744
- ],
745
- }
1053
+ },
1054
+ }, z)
746
1055
 
747
1056
  export default TYPERT_REMOTE