@houser/edus-plugin 1.0.8 → 1.0.9

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 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,58 +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 = {
262
+ const $remote = createTypertRemoteInfo({
164
263
  package: '@houser/edus-plugin',
165
- face: 'host',
166
- schemas: [
167
- ],
168
- invocations: [
169
- {
170
- id: '@houser/edus-plugin#edus/applyVersion',
264
+ methods: {
265
+ 'edus/applyVersion': {
171
266
  service: 'edus',
172
- namespace: 'edus',
173
- method: 'applyVersion',
174
267
  invocation: { kind: 'direct' },
175
268
  parameters: [
176
269
  {
177
270
  name: 'token',
178
- wire: 'token',
179
271
  source: 'json',
180
272
  codec: {
181
273
  mode: 'strict',
182
274
  typeSymbol: '@houser/edus-plugin#edus/applyVersion:token',
183
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"},
184
283
  },
185
284
  },
186
285
  {
187
286
  name: 'sessionId',
188
- wire: 'sessionId',
189
287
  source: 'json',
190
288
  codec: {
191
289
  mode: 'strict',
192
290
  typeSymbol: '@houser/edus-plugin#edus/applyVersion:sessionId',
193
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"},
194
299
  },
195
300
  },
196
301
  {
197
302
  name: 'path',
198
- wire: 'path',
199
303
  source: 'json',
200
304
  codec: {
201
305
  mode: 'strict',
202
306
  typeSymbol: '@houser/edus-plugin#edus/applyVersion:path',
203
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"},
204
315
  },
205
316
  },
206
317
  {
207
318
  name: 'id',
208
- wire: 'id',
209
319
  source: 'json',
210
320
  codec: {
211
321
  mode: 'strict',
212
322
  typeSymbol: '@houser/edus-plugin#edus/applyVersion:id',
213
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"},
214
331
  },
215
332
  },
216
333
  ],
@@ -218,55 +335,77 @@ export const TYPERT = {
218
335
  mode: 'strict',
219
336
  typeSymbol: '@houser/edus-plugin#edus/applyVersion:result',
220
337
  create: _houser_edus_plugin_edus_applyVersion_result$schema,
338
+ jsonSchema: {"type":"string"},
221
339
  },
222
- 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},
223
341
  },
224
- {
225
- id: '@houser/edus-plugin#edus/htmlList',
342
+ 'edus/htmlList': {
226
343
  service: 'edus',
227
- namespace: 'edus',
228
- method: 'htmlList',
229
344
  invocation: { kind: 'direct' },
230
345
  parameters: [
231
346
  {
232
347
  name: 'token',
233
- wire: 'token',
234
348
  source: 'json',
235
349
  codec: {
236
350
  mode: 'strict',
237
351
  typeSymbol: '@houser/edus-plugin#edus/htmlList:token',
238
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"},
239
360
  },
240
361
  },
241
362
  {
242
363
  name: 'page',
243
- wire: 'page',
244
364
  source: 'json',
245
365
  codec: {
246
366
  mode: 'strict',
247
367
  typeSymbol: '@houser/edus-plugin#edus/htmlList:page',
248
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"},
249
376
  },
250
377
  },
251
378
  {
252
379
  name: 'size',
253
- wire: 'size',
254
380
  source: 'json',
255
381
  codec: {
256
382
  mode: 'strict',
257
383
  typeSymbol: '@houser/edus-plugin#edus/htmlList:size',
258
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"},
259
392
  },
260
393
  },
261
394
  {
262
395
  name: 'search',
263
- wire: 'search',
264
396
  source: 'json',
265
397
  acceptsUndefined: true,
266
398
  codec: {
267
399
  mode: 'strict',
268
400
  typeSymbol: '@houser/edus-plugin#edus/htmlList:search',
269
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"},
270
409
  },
271
410
  },
272
411
  ],
@@ -274,34 +413,44 @@ export const TYPERT = {
274
413
  mode: 'strict',
275
414
  typeSymbol: '@houser/edus-plugin/types#EdusWorkListResult',
276
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},
277
417
  },
278
- 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},
279
419
  },
280
- {
281
- id: '@houser/edus-plugin#edus/htmlShare',
420
+ 'edus/htmlShare': {
282
421
  service: 'edus',
283
- namespace: 'edus',
284
- method: 'htmlShare',
285
422
  invocation: { kind: 'direct' },
286
423
  parameters: [
287
424
  {
288
425
  name: 'token',
289
- wire: 'token',
290
426
  source: 'json',
291
427
  codec: {
292
428
  mode: 'strict',
293
429
  typeSymbol: '@houser/edus-plugin#edus/htmlShare:token',
294
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"},
295
438
  },
296
439
  },
297
440
  {
298
441
  name: 'id',
299
- wire: 'id',
300
442
  source: 'json',
301
443
  codec: {
302
444
  mode: 'strict',
303
445
  typeSymbol: '@houser/edus-plugin#edus/htmlShare:id',
304
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"},
305
454
  },
306
455
  },
307
456
  ],
@@ -309,34 +458,44 @@ export const TYPERT = {
309
458
  mode: 'strict',
310
459
  typeSymbol: '@houser/edus-plugin#edus/htmlShare:result',
311
460
  create: _houser_edus_plugin_edus_htmlShare_result$schema,
461
+ jsonSchema: {"type":"string"},
312
462
  },
313
- 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},
314
464
  },
315
- {
316
- id: '@houser/edus-plugin#edus/htmlVersionDelete',
465
+ 'edus/htmlVersionDelete': {
317
466
  service: 'edus',
318
- namespace: 'edus',
319
- method: 'htmlVersionDelete',
320
467
  invocation: { kind: 'direct' },
321
468
  parameters: [
322
469
  {
323
470
  name: 'token',
324
- wire: 'token',
325
471
  source: 'json',
326
472
  codec: {
327
473
  mode: 'strict',
328
474
  typeSymbol: '@houser/edus-plugin#edus/htmlVersionDelete:token',
329
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"},
330
483
  },
331
484
  },
332
485
  {
333
486
  name: 'id',
334
- wire: 'id',
335
487
  source: 'json',
336
488
  codec: {
337
489
  mode: 'strict',
338
490
  typeSymbol: '@houser/edus-plugin#edus/htmlVersionDelete:id',
339
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"},
340
499
  },
341
500
  },
342
501
  ],
@@ -344,34 +503,44 @@ export const TYPERT = {
344
503
  mode: 'strict',
345
504
  typeSymbol: '@houser/edus-plugin#edus/htmlVersionDelete:result',
346
505
  create: _houser_edus_plugin_edus_htmlVersionDelete_result$schema,
506
+ jsonSchemaError: 'typert tool schema: unsupported void value',
347
507
  },
348
- 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},
349
509
  },
350
- {
351
- id: '@houser/edus-plugin#edus/htmlVersionDetail',
510
+ 'edus/htmlVersionDetail': {
352
511
  service: 'edus',
353
- namespace: 'edus',
354
- method: 'htmlVersionDetail',
355
512
  invocation: { kind: 'direct' },
356
513
  parameters: [
357
514
  {
358
515
  name: 'token',
359
- wire: 'token',
360
516
  source: 'json',
361
517
  codec: {
362
518
  mode: 'strict',
363
519
  typeSymbol: '@houser/edus-plugin#edus/htmlVersionDetail:token',
364
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"},
365
528
  },
366
529
  },
367
530
  {
368
531
  name: 'id',
369
- wire: 'id',
370
532
  source: 'json',
371
533
  codec: {
372
534
  mode: 'strict',
373
535
  typeSymbol: '@houser/edus-plugin#edus/htmlVersionDetail:id',
374
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"},
375
544
  },
376
545
  },
377
546
  ],
@@ -379,34 +548,44 @@ export const TYPERT = {
379
548
  mode: 'strict',
380
549
  typeSymbol: '@houser/edus-plugin#edus/htmlVersionDetail:result',
381
550
  create: _houser_edus_plugin_edus_htmlVersionDetail_result$schema,
551
+ jsonSchema: {"type":"string"},
382
552
  },
383
- 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},
384
554
  },
385
- {
386
- id: '@houser/edus-plugin#edus/htmlVersions',
555
+ 'edus/htmlVersions': {
387
556
  service: 'edus',
388
- namespace: 'edus',
389
- method: 'htmlVersions',
390
557
  invocation: { kind: 'direct' },
391
558
  parameters: [
392
559
  {
393
560
  name: 'token',
394
- wire: 'token',
395
561
  source: 'json',
396
562
  codec: {
397
563
  mode: 'strict',
398
564
  typeSymbol: '@houser/edus-plugin#edus/htmlVersions:token',
399
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"},
400
573
  },
401
574
  },
402
575
  {
403
576
  name: 'htmlId',
404
- wire: 'htmlId',
405
577
  source: 'json',
406
578
  codec: {
407
579
  mode: 'strict',
408
580
  typeSymbol: '@houser/edus-plugin#edus/htmlVersions:htmlId',
409
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"},
410
589
  },
411
590
  },
412
591
  ],
@@ -414,24 +593,28 @@ export const TYPERT = {
414
593
  mode: 'strict',
415
594
  typeSymbol: '@houser/edus-plugin#edus/htmlVersions:result',
416
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}},
417
597
  },
418
- 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},
419
599
  },
420
- {
421
- id: '@houser/edus-plugin#edus/listHtmlFiles',
600
+ 'edus/listHtmlFiles': {
422
601
  service: 'edus',
423
- namespace: 'edus',
424
- method: 'listHtmlFiles',
425
602
  invocation: { kind: 'direct' },
426
603
  parameters: [
427
604
  {
428
605
  name: 'sessionId',
429
- wire: 'sessionId',
430
606
  source: 'json',
431
607
  codec: {
432
608
  mode: 'strict',
433
609
  typeSymbol: '@houser/edus-plugin#edus/listHtmlFiles:sessionId',
434
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"},
435
618
  },
436
619
  },
437
620
  ],
@@ -439,34 +622,44 @@ export const TYPERT = {
439
622
  mode: 'strict',
440
623
  typeSymbol: '@houser/edus-plugin/types#EdusHtmlFileListResult',
441
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},
442
626
  },
443
- 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},
444
628
  },
445
- {
446
- id: '@houser/edus-plugin#edus/login',
629
+ 'edus/login': {
447
630
  service: 'edus',
448
- namespace: 'edus',
449
- method: 'login',
450
631
  invocation: { kind: 'direct' },
451
632
  parameters: [
452
633
  {
453
634
  name: 'phone',
454
- wire: 'phone',
455
635
  source: 'json',
456
636
  codec: {
457
637
  mode: 'strict',
458
638
  typeSymbol: '@houser/edus-plugin#edus/login:phone',
459
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"},
460
647
  },
461
648
  },
462
649
  {
463
650
  name: 'password',
464
- wire: 'password',
465
651
  source: 'json',
466
652
  codec: {
467
653
  mode: 'strict',
468
654
  typeSymbol: '@houser/edus-plugin#edus/login:password',
469
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"},
470
663
  },
471
664
  },
472
665
  ],
@@ -474,34 +667,44 @@ export const TYPERT = {
474
667
  mode: 'strict',
475
668
  typeSymbol: '@houser/edus-plugin/types#EdusLoginResult',
476
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},
477
671
  },
478
- 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},
479
673
  },
480
- {
481
- id: '@houser/edus-plugin#edus/loginByPhone',
674
+ 'edus/loginByPhone': {
482
675
  service: 'edus',
483
- namespace: 'edus',
484
- method: 'loginByPhone',
485
676
  invocation: { kind: 'direct' },
486
677
  parameters: [
487
678
  {
488
679
  name: 'phone',
489
- wire: 'phone',
490
680
  source: 'json',
491
681
  codec: {
492
682
  mode: 'strict',
493
683
  typeSymbol: '@houser/edus-plugin#edus/loginByPhone:phone',
494
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"},
495
692
  },
496
693
  },
497
694
  {
498
695
  name: 'code',
499
- wire: 'code',
500
696
  source: 'json',
501
697
  codec: {
502
698
  mode: 'strict',
503
699
  typeSymbol: '@houser/edus-plugin#edus/loginByPhone:code',
504
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"},
505
708
  },
506
709
  },
507
710
  ],
@@ -509,24 +712,28 @@ export const TYPERT = {
509
712
  mode: 'strict',
510
713
  typeSymbol: '@houser/edus-plugin/types#EdusLoginResult',
511
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},
512
716
  },
513
- 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},
514
718
  },
515
- {
516
- id: '@houser/edus-plugin#edus/loginInfo',
719
+ 'edus/loginInfo': {
517
720
  service: 'edus',
518
- namespace: 'edus',
519
- method: 'loginInfo',
520
721
  invocation: { kind: 'direct' },
521
722
  parameters: [
522
723
  {
523
724
  name: 'token',
524
- wire: 'token',
525
725
  source: 'json',
526
726
  codec: {
527
727
  mode: 'strict',
528
728
  typeSymbol: '@houser/edus-plugin#edus/loginInfo:token',
529
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"},
530
737
  },
531
738
  },
532
739
  ],
@@ -534,76 +741,110 @@ export const TYPERT = {
534
741
  mode: 'strict',
535
742
  typeSymbol: '@houser/edus-plugin/types#EdusLoginResult',
536
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},
537
745
  },
538
- 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},
539
747
  },
540
- {
541
- id: '@houser/edus-plugin#edus/publishFile',
748
+ 'edus/publishFile': {
542
749
  service: 'edus',
543
- namespace: 'edus',
544
- method: 'publishFile',
545
750
  invocation: { kind: 'direct' },
546
751
  parameters: [
547
752
  {
548
753
  name: 'token',
549
- wire: 'token',
550
754
  source: 'json',
551
755
  codec: {
552
756
  mode: 'strict',
553
757
  typeSymbol: '@houser/edus-plugin#edus/publishFile:token',
554
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"},
555
766
  },
556
767
  },
557
768
  {
558
769
  name: 'sessionId',
559
- wire: 'sessionId',
560
770
  source: 'json',
561
771
  codec: {
562
772
  mode: 'strict',
563
773
  typeSymbol: '@houser/edus-plugin#edus/publishFile:sessionId',
564
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"},
565
782
  },
566
783
  },
567
784
  {
568
785
  name: 'path',
569
- wire: 'path',
570
786
  source: 'json',
571
787
  codec: {
572
788
  mode: 'strict',
573
789
  typeSymbol: '@houser/edus-plugin#edus/publishFile:path',
574
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"},
575
798
  },
576
799
  },
577
800
  {
578
801
  name: 'account',
579
- wire: 'account',
580
802
  source: 'json',
581
803
  codec: {
582
804
  mode: 'strict',
583
805
  typeSymbol: '@houser/edus-plugin#edus/publishFile:account',
584
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"},
585
814
  },
586
815
  },
587
816
  {
588
817
  name: 'title',
589
- wire: 'title',
590
818
  source: 'json',
591
819
  acceptsUndefined: true,
592
820
  codec: {
593
821
  mode: 'strict',
594
822
  typeSymbol: '@houser/edus-plugin#edus/publishFile:title',
595
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"},
596
831
  },
597
832
  },
598
833
  {
599
834
  name: 'createNew',
600
- wire: 'createNew',
601
835
  source: 'json',
602
836
  acceptsUndefined: true,
603
837
  codec: {
604
838
  mode: 'strict',
605
839
  typeSymbol: '@houser/edus-plugin#edus/publishFile:createNew',
606
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]},
607
848
  },
608
849
  },
609
850
  ],
@@ -611,34 +852,44 @@ export const TYPERT = {
611
852
  mode: 'strict',
612
853
  typeSymbol: '@houser/edus-plugin/types#EdusPublishResult',
613
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},
614
856
  },
615
- 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},
616
858
  },
617
- {
618
- id: '@houser/edus-plugin#edus/readHtmlFile',
859
+ 'edus/readHtmlFile': {
619
860
  service: 'edus',
620
- namespace: 'edus',
621
- method: 'readHtmlFile',
622
861
  invocation: { kind: 'direct' },
623
862
  parameters: [
624
863
  {
625
864
  name: 'sessionId',
626
- wire: 'sessionId',
627
865
  source: 'json',
628
866
  codec: {
629
867
  mode: 'strict',
630
868
  typeSymbol: '@houser/edus-plugin#edus/readHtmlFile:sessionId',
631
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"},
632
877
  },
633
878
  },
634
879
  {
635
880
  name: 'path',
636
- wire: 'path',
637
881
  source: 'json',
638
882
  codec: {
639
883
  mode: 'strict',
640
884
  typeSymbol: '@houser/edus-plugin#edus/readHtmlFile:path',
641
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"},
642
893
  },
643
894
  },
644
895
  ],
@@ -646,34 +897,44 @@ export const TYPERT = {
646
897
  mode: 'strict',
647
898
  typeSymbol: '@houser/edus-plugin#edus/readHtmlFile:result',
648
899
  create: _houser_edus_plugin_edus_readHtmlFile_result$schema,
900
+ jsonSchema: {"type":"string"},
649
901
  },
650
- 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},
651
903
  },
652
- {
653
- id: '@houser/edus-plugin#edus/sendPhoneCode',
904
+ 'edus/sendPhoneCode': {
654
905
  service: 'edus',
655
- namespace: 'edus',
656
- method: 'sendPhoneCode',
657
906
  invocation: { kind: 'direct' },
658
907
  parameters: [
659
908
  {
660
909
  name: 'phone',
661
- wire: 'phone',
662
910
  source: 'json',
663
911
  codec: {
664
912
  mode: 'strict',
665
913
  typeSymbol: '@houser/edus-plugin#edus/sendPhoneCode:phone',
666
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"},
667
922
  },
668
923
  },
669
924
  {
670
925
  name: 'captcha',
671
- wire: 'captcha',
672
926
  source: 'json',
673
927
  codec: {
674
928
  mode: 'strict',
675
929
  typeSymbol: '@houser/edus-plugin#edus/sendPhoneCode:captcha',
676
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"},
677
938
  },
678
939
  },
679
940
  ],
@@ -681,14 +942,42 @@ export const TYPERT = {
681
942
  mode: 'strict',
682
943
  typeSymbol: '@houser/edus-plugin#edus/sendPhoneCode:result',
683
944
  create: _houser_edus_plugin_edus_sendPhoneCode_result$schema,
945
+ jsonSchemaError: 'typert tool schema: unsupported void value',
684
946
  },
685
- sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":114,"column":34},
947
+ sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":146,"column":34},
686
948
  },
687
- {
688
- id: '@houser/edus-plugin#edus/shareOrigin',
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',
976
+ },
977
+ sourceLocation: {"file":"packages/@houser/edus-plugin/src/auth.ts","line":136,"column":32},
978
+ },
979
+ 'edus/shareOrigin': {
689
980
  service: 'edus',
690
- namespace: 'edus',
691
- method: 'shareOrigin',
692
981
  invocation: { kind: 'direct' },
693
982
  parameters: [
694
983
  ],
@@ -696,44 +985,60 @@ export const TYPERT = {
696
985
  mode: 'strict',
697
986
  typeSymbol: '@houser/edus-plugin#edus/shareOrigin:result',
698
987
  create: _houser_edus_plugin_edus_shareOrigin_result$schema,
988
+ jsonSchema: {"type":"string"},
699
989
  },
700
- 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},
701
991
  },
702
- {
703
- id: '@houser/edus-plugin#edus/writeHtmlFile',
992
+ 'edus/writeHtmlFile': {
704
993
  service: 'edus',
705
- namespace: 'edus',
706
- method: 'writeHtmlFile',
707
994
  invocation: { kind: 'direct' },
708
995
  parameters: [
709
996
  {
710
997
  name: 'sessionId',
711
- wire: 'sessionId',
712
998
  source: 'json',
713
999
  codec: {
714
1000
  mode: 'strict',
715
1001
  typeSymbol: '@houser/edus-plugin#edus/writeHtmlFile:sessionId',
716
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"},
717
1010
  },
718
1011
  },
719
1012
  {
720
1013
  name: 'path',
721
- wire: 'path',
722
1014
  source: 'json',
723
1015
  codec: {
724
1016
  mode: 'strict',
725
1017
  typeSymbol: '@houser/edus-plugin#edus/writeHtmlFile:path',
726
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"},
727
1026
  },
728
1027
  },
729
1028
  {
730
1029
  name: 'content',
731
- wire: 'content',
732
1030
  source: 'json',
733
1031
  codec: {
734
1032
  mode: 'strict',
735
1033
  typeSymbol: '@houser/edus-plugin#edus/writeHtmlFile:content',
736
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"},
737
1042
  },
738
1043
  },
739
1044
  ],
@@ -741,10 +1046,19 @@ export const TYPERT = {
741
1046
  mode: 'strict',
742
1047
  typeSymbol: '@houser/edus-plugin#edus/writeHtmlFile:result',
743
1048
  create: _houser_edus_plugin_edus_writeHtmlFile_result$schema,
1049
+ jsonSchemaError: 'typert tool schema: unsupported void value',
744
1050
  },
745
- 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},
746
1052
  },
1053
+ },
1054
+ }, z)
1055
+
1056
+ export const TYPERT = {
1057
+ package: '@houser/edus-plugin',
1058
+ face: 'host',
1059
+ schemas: [
747
1060
  ],
1061
+ get invocations() { return $remote.descriptors },
748
1062
  model: {
749
1063
  "services": [],
750
1064
  "events": [],