@awiki/dsh-plugin 0.2.0-rc.4

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.
Files changed (118) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +138 -0
  3. package/README.zh.md +114 -0
  4. package/THIRD_PARTY_NOTICES.md +21 -0
  5. package/cordis.patch.yml +26 -0
  6. package/lib/client.js +8398 -0
  7. package/lib/client.js.map +1 -0
  8. package/lib/index.js +1497 -0
  9. package/lib/invariant.js +16 -0
  10. package/lib/provider.js +22 -0
  11. package/lib/sdk-adapter-DPPZhs6p.mjs +316 -0
  12. package/lib/summary-provider.js +192 -0
  13. package/lib/typert.host.d.ts +3 -0
  14. package/lib/typert.host.js +1201 -0
  15. package/lib/typert.remote-client.d.ts +54 -0
  16. package/lib/typert.remote-client.d.ts.map +1 -0
  17. package/lib/typert.remote-client.js +817 -0
  18. package/lib/types/client/AwikiOverlay.d.ts +22 -0
  19. package/lib/types/client/AwikiOverlay.d.ts.map +1 -0
  20. package/lib/types/client/AwikiOverlay.js +689 -0
  21. package/lib/types/client/AwikiOverlay.js.map +1 -0
  22. package/lib/types/client/AwikiSettingsSection.d.ts +25 -0
  23. package/lib/types/client/AwikiSettingsSection.d.ts.map +1 -0
  24. package/lib/types/client/AwikiSettingsSection.js +119 -0
  25. package/lib/types/client/AwikiSettingsSection.js.map +1 -0
  26. package/lib/types/client/assets.d.ts +3 -0
  27. package/lib/types/client/assets.d.ts.map +1 -0
  28. package/lib/types/client/assets.js +70 -0
  29. package/lib/types/client/assets.js.map +1 -0
  30. package/lib/types/client/controller.d.ts +194 -0
  31. package/lib/types/client/controller.d.ts.map +1 -0
  32. package/lib/types/client/controller.js +701 -0
  33. package/lib/types/client/controller.js.map +1 -0
  34. package/lib/types/client/file.d.ts +20 -0
  35. package/lib/types/client/file.d.ts.map +1 -0
  36. package/lib/types/client/file.js +41 -0
  37. package/lib/types/client/file.js.map +1 -0
  38. package/lib/types/client/index.d.ts +16 -0
  39. package/lib/types/client/index.d.ts.map +1 -0
  40. package/lib/types/client/index.js +129 -0
  41. package/lib/types/client/index.js.map +1 -0
  42. package/lib/types/client/settings-controller.d.ts +28 -0
  43. package/lib/types/client/settings-controller.d.ts.map +1 -0
  44. package/lib/types/client/settings-controller.js +139 -0
  45. package/lib/types/client/settings-controller.js.map +1 -0
  46. package/lib/types/client/settings-locales.d.ts +13 -0
  47. package/lib/types/client/settings-locales.d.ts.map +1 -0
  48. package/lib/types/client/settings-locales.js +68 -0
  49. package/lib/types/client/settings-locales.js.map +1 -0
  50. package/lib/types/client/slots.d.ts +74 -0
  51. package/lib/types/client/slots.d.ts.map +1 -0
  52. package/lib/types/client/slots.js +3 -0
  53. package/lib/types/client/slots.js.map +1 -0
  54. package/lib/types/client/store.d.ts +18 -0
  55. package/lib/types/client/store.d.ts.map +1 -0
  56. package/lib/types/client/store.js +17 -0
  57. package/lib/types/client/store.js.map +1 -0
  58. package/lib/types/client.d.ts +3 -0
  59. package/lib/types/client.d.ts.map +1 -0
  60. package/lib/types/client.js +3 -0
  61. package/lib/types/client.js.map +1 -0
  62. package/lib/types/domain.d.ts +10 -0
  63. package/lib/types/domain.d.ts.map +1 -0
  64. package/lib/types/domain.js +18 -0
  65. package/lib/types/domain.js.map +1 -0
  66. package/lib/types/index.d.ts +188 -0
  67. package/lib/types/index.d.ts.map +1 -0
  68. package/lib/types/index.js +861 -0
  69. package/lib/types/index.js.map +1 -0
  70. package/lib/types/invariant.d.ts +9 -0
  71. package/lib/types/invariant.d.ts.map +1 -0
  72. package/lib/types/invariant.js +14 -0
  73. package/lib/types/invariant.js.map +1 -0
  74. package/lib/types/provider-api.d.ts +70 -0
  75. package/lib/types/provider-api.d.ts.map +1 -0
  76. package/lib/types/provider-api.js +3 -0
  77. package/lib/types/provider-api.js.map +1 -0
  78. package/lib/types/provider.d.ts +9 -0
  79. package/lib/types/provider.d.ts.map +1 -0
  80. package/lib/types/provider.js +20 -0
  81. package/lib/types/provider.js.map +1 -0
  82. package/lib/types/sdk-adapter.d.ts +46 -0
  83. package/lib/types/sdk-adapter.d.ts.map +1 -0
  84. package/lib/types/sdk-adapter.js +327 -0
  85. package/lib/types/sdk-adapter.js.map +1 -0
  86. package/lib/types/session.d.ts +14 -0
  87. package/lib/types/session.d.ts.map +1 -0
  88. package/lib/types/session.js +76 -0
  89. package/lib/types/session.js.map +1 -0
  90. package/lib/types/settings-rpc-contract.d.ts +34 -0
  91. package/lib/types/settings-rpc-contract.d.ts.map +1 -0
  92. package/lib/types/settings-rpc-contract.js +62 -0
  93. package/lib/types/settings-rpc-contract.js.map +1 -0
  94. package/lib/types/settings-rpc.d.ts +6 -0
  95. package/lib/types/settings-rpc.d.ts.map +1 -0
  96. package/lib/types/settings-rpc.js +147 -0
  97. package/lib/types/settings-rpc.js.map +1 -0
  98. package/lib/types/settings.d.ts +13 -0
  99. package/lib/types/settings.d.ts.map +1 -0
  100. package/lib/types/settings.js +15 -0
  101. package/lib/types/settings.js.map +1 -0
  102. package/lib/types/summary-provider-api.d.ts +45 -0
  103. package/lib/types/summary-provider-api.d.ts.map +1 -0
  104. package/lib/types/summary-provider-api.js +3 -0
  105. package/lib/types/summary-provider-api.js.map +1 -0
  106. package/lib/types/summary-provider.d.ts +48 -0
  107. package/lib/types/summary-provider.d.ts.map +1 -0
  108. package/lib/types/summary-provider.js +208 -0
  109. package/lib/types/summary-provider.js.map +1 -0
  110. package/lib/types/tools.d.ts +20 -0
  111. package/lib/types/tools.d.ts.map +1 -0
  112. package/lib/types/tools.js +139 -0
  113. package/lib/types/tools.js.map +1 -0
  114. package/lib/types/types.d.ts +292 -0
  115. package/lib/types/types.d.ts.map +1 -0
  116. package/lib/types/types.js +6 -0
  117. package/lib/types/types.js.map +1 -0
  118. package/package.json +179 -0
@@ -0,0 +1,817 @@
1
+ /* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel — do not edit. */
2
+ import { z } from 'zod'
3
+
4
+ const dsh_awiki_awiki_clearLocalData_parameter_0$schema = z.object({
5
+ 'confirmation': z.string().readonly(),
6
+ })
7
+ const dsh_awiki_awiki_clearLocalData_result$schema = z.union([z.object({
8
+ 'ok': z.literal(false).readonly(),
9
+ 'error': z.object({
10
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("network"), z.literal("remote")]).readonly(),
11
+ 'message': z.string().readonly(),
12
+ }).readonly(),
13
+ }), z.object({
14
+ 'ok': z.literal(true).readonly(),
15
+ 'value': z.object({
16
+ 'cleared': z.boolean().readonly(),
17
+ }).readonly(),
18
+ })])
19
+ const dsh_awiki_awiki_downloadAttachment_parameter_0$schema = z.object({
20
+ 'attachmentId': z.intersection(z.string(), z.unknown()).readonly(),
21
+ 'messageId': z.intersection(z.string(), z.unknown()).readonly(),
22
+ })
23
+ const dsh_awiki_awiki_downloadAttachment_result$schema = z.union([z.object({
24
+ 'ok': z.literal(false).readonly(),
25
+ 'error': z.object({
26
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("network"), z.literal("remote")]).readonly(),
27
+ 'message': z.string().readonly(),
28
+ }).readonly(),
29
+ }), z.object({
30
+ 'ok': z.literal(true).readonly(),
31
+ 'value': z.object({
32
+ 'attachment': z.object({
33
+ 'id': z.intersection(z.string(), z.unknown()).readonly(),
34
+ 'fileName': z.string().readonly(),
35
+ 'mimeType': z.string().readonly(),
36
+ 'size': z.number().readonly(),
37
+ 'sha256': z.string().readonly(),
38
+ }).readonly(),
39
+ 'bytesBase64': z.string().readonly(),
40
+ }).readonly(),
41
+ })])
42
+ const dsh_awiki_awiki_getConfig_result$schema = z.union([z.object({
43
+ 'ok': z.literal(false).readonly(),
44
+ 'error': z.object({
45
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("network"), z.literal("remote")]).readonly(),
46
+ 'message': z.string().readonly(),
47
+ }).readonly(),
48
+ }), z.object({
49
+ 'ok': z.literal(true).readonly(),
50
+ 'value': z.object({
51
+ 'pollIntervalMs': z.number().readonly(),
52
+ 'attachmentMaxBytes': z.number().readonly(),
53
+ }).readonly(),
54
+ })])
55
+ const dsh_awiki_awiki_getHistory_parameter_0$schema = z.object({
56
+ 'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
57
+ 'cursor': z.intersection(z.string(), z.unknown()).readonly().optional(),
58
+ 'limit': z.number().readonly().optional(),
59
+ })
60
+ const dsh_awiki_awiki_getHistory_result$schema = z.union([z.object({
61
+ 'ok': z.literal(false).readonly(),
62
+ 'error': z.object({
63
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("network"), z.literal("remote")]).readonly(),
64
+ 'message': z.string().readonly(),
65
+ }).readonly(),
66
+ }), z.object({
67
+ 'ok': z.literal(true).readonly(),
68
+ 'value': z.object({
69
+ 'items': z.array(z.object({
70
+ 'id': z.intersection(z.string(), z.unknown()).readonly(),
71
+ 'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
72
+ 'conversationKind': z.union([z.literal("direct"), z.literal("group")]).readonly(),
73
+ 'senderDid': z.intersection(z.string(), z.unknown()).readonly(),
74
+ 'senderHandle': z.intersection(z.string(), z.unknown()).readonly().optional(),
75
+ 'senderDisplayName': z.string().readonly().optional(),
76
+ 'sentAt': z.number().readonly(),
77
+ 'outgoing': z.boolean().readonly(),
78
+ 'content': z.union([z.object({
79
+ 'kind': z.literal("text").readonly(),
80
+ 'text': z.string().readonly(),
81
+ }), z.object({
82
+ 'kind': z.literal("attachment").readonly(),
83
+ 'attachment': z.object({
84
+ 'id': z.intersection(z.string(), z.unknown()).readonly(),
85
+ 'fileName': z.string().readonly(),
86
+ 'mimeType': z.string().readonly(),
87
+ 'size': z.number().readonly(),
88
+ 'sha256': z.string().readonly(),
89
+ }).readonly(),
90
+ 'caption': z.string().readonly().optional(),
91
+ })]).readonly(),
92
+ })).readonly(),
93
+ 'nextCursor': z.intersection(z.string(), z.unknown()).readonly().optional(),
94
+ 'hasMore': z.boolean().readonly(),
95
+ }).readonly(),
96
+ })])
97
+ const dsh_awiki_awiki_getIdentity_result$schema = z.union([z.object({
98
+ 'ok': z.literal(false).readonly(),
99
+ 'error': z.object({
100
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("network"), z.literal("remote")]).readonly(),
101
+ 'message': z.string().readonly(),
102
+ }).readonly(),
103
+ }), z.object({
104
+ 'ok': z.literal(true).readonly(),
105
+ 'value': z.union([z.literal(null), z.object({
106
+ 'handle': z.intersection(z.string(), z.unknown()).readonly(),
107
+ 'did': z.intersection(z.string(), z.unknown()).readonly(),
108
+ 'displayName': z.string().readonly().optional(),
109
+ 'registeredAt': z.number().readonly(),
110
+ })]).readonly(),
111
+ })])
112
+ const dsh_awiki_awiki_getSession_result$schema = z.union([z.object({
113
+ 'ok': z.literal(false).readonly(),
114
+ 'error': z.object({
115
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("network"), z.literal("remote")]).readonly(),
116
+ 'message': z.string().readonly(),
117
+ }).readonly(),
118
+ }), z.object({
119
+ 'ok': z.literal(true).readonly(),
120
+ 'value': z.union([z.object({
121
+ 'status': z.literal("unregistered").readonly(),
122
+ }), z.object({
123
+ 'status': z.literal("signed-out").readonly(),
124
+ }), z.object({
125
+ 'status': z.literal("active").readonly(),
126
+ 'identity': z.object({
127
+ 'handle': z.intersection(z.string(), z.unknown()).readonly(),
128
+ 'did': z.intersection(z.string(), z.unknown()).readonly(),
129
+ 'displayName': z.string().readonly().optional(),
130
+ 'registeredAt': z.number().readonly(),
131
+ }).readonly(),
132
+ })]).readonly(),
133
+ })])
134
+ const dsh_awiki_awiki_listConversations_parameter_0$schema = z.union([z.undefined(), z.object({
135
+ 'cursor': z.intersection(z.string(), z.unknown()).readonly().optional(),
136
+ 'limit': z.number().readonly().optional(),
137
+ })])
138
+ const dsh_awiki_awiki_listConversations_result$schema = z.union([z.object({
139
+ 'ok': z.literal(false).readonly(),
140
+ 'error': z.object({
141
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("network"), z.literal("remote")]).readonly(),
142
+ 'message': z.string().readonly(),
143
+ }).readonly(),
144
+ }), z.object({
145
+ 'ok': z.literal(true).readonly(),
146
+ 'value': z.object({
147
+ 'items': z.array(z.union([z.object({
148
+ 'kind': z.literal("direct").readonly(),
149
+ 'id': z.intersection(z.string(), z.unknown()).readonly(),
150
+ 'peerDid': z.intersection(z.string(), z.unknown()).readonly(),
151
+ 'peerHandle': z.intersection(z.string(), z.unknown()).readonly().optional(),
152
+ 'displayName': z.string().readonly().optional(),
153
+ 'title': z.string().readonly(),
154
+ 'unreadCount': z.number().readonly().optional(),
155
+ 'lastMessageAt': z.number().readonly().optional(),
156
+ 'lastMessagePreview': z.string().readonly().optional(),
157
+ }), z.object({
158
+ 'kind': z.literal("group").readonly(),
159
+ 'id': z.intersection(z.string(), z.unknown()).readonly(),
160
+ 'groupDid': z.intersection(z.string(), z.unknown()).readonly(),
161
+ 'title': z.string().readonly(),
162
+ 'unreadCount': z.number().readonly().optional(),
163
+ 'lastMessageAt': z.number().readonly().optional(),
164
+ 'lastMessagePreview': z.string().readonly().optional(),
165
+ })])).readonly(),
166
+ 'nextCursor': z.intersection(z.string(), z.unknown()).readonly().optional(),
167
+ 'hasMore': z.boolean().readonly(),
168
+ }).readonly(),
169
+ })])
170
+ const dsh_awiki_awiki_login_result$schema = z.union([z.object({
171
+ 'ok': z.literal(false).readonly(),
172
+ 'error': z.object({
173
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("network"), z.literal("remote")]).readonly(),
174
+ 'message': z.string().readonly(),
175
+ }).readonly(),
176
+ }), z.object({
177
+ 'ok': z.literal(true).readonly(),
178
+ 'value': z.union([z.object({
179
+ 'status': z.literal("unregistered").readonly(),
180
+ }), z.object({
181
+ 'status': z.literal("signed-out").readonly(),
182
+ }), z.object({
183
+ 'status': z.literal("active").readonly(),
184
+ 'identity': z.object({
185
+ 'handle': z.intersection(z.string(), z.unknown()).readonly(),
186
+ 'did': z.intersection(z.string(), z.unknown()).readonly(),
187
+ 'displayName': z.string().readonly().optional(),
188
+ 'registeredAt': z.number().readonly(),
189
+ }).readonly(),
190
+ })]).readonly(),
191
+ })])
192
+ const dsh_awiki_awiki_logout_parameter_0$schema = z.object({
193
+ 'confirmation': z.string().readonly(),
194
+ })
195
+ const dsh_awiki_awiki_logout_result$schema = z.union([z.object({
196
+ 'ok': z.literal(false).readonly(),
197
+ 'error': z.object({
198
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("network"), z.literal("remote")]).readonly(),
199
+ 'message': z.string().readonly(),
200
+ }).readonly(),
201
+ }), z.object({
202
+ 'ok': z.literal(true).readonly(),
203
+ 'value': z.union([z.object({
204
+ 'status': z.literal("unregistered").readonly(),
205
+ }), z.object({
206
+ 'status': z.literal("signed-out").readonly(),
207
+ }), z.object({
208
+ 'status': z.literal("active").readonly(),
209
+ 'identity': z.object({
210
+ 'handle': z.intersection(z.string(), z.unknown()).readonly(),
211
+ 'did': z.intersection(z.string(), z.unknown()).readonly(),
212
+ 'displayName': z.string().readonly().optional(),
213
+ 'registeredAt': z.number().readonly(),
214
+ }).readonly(),
215
+ })]).readonly(),
216
+ })])
217
+ const dsh_awiki_awiki_markConversationRead_parameter_0$schema = z.object({
218
+ 'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
219
+ })
220
+ const dsh_awiki_awiki_markConversationRead_result$schema = z.union([z.object({
221
+ 'ok': z.literal(false).readonly(),
222
+ 'error': z.object({
223
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("network"), z.literal("remote")]).readonly(),
224
+ 'message': z.string().readonly(),
225
+ }).readonly(),
226
+ }), z.object({
227
+ 'ok': z.literal(true).readonly(),
228
+ 'value': z.number().readonly(),
229
+ })])
230
+ const dsh_awiki_awiki_registerIdentity_parameter_0$schema = z.object({
231
+ 'handle': z.string().readonly(),
232
+ 'phone': z.string().readonly(),
233
+ 'otp': z.string().readonly(),
234
+ })
235
+ const dsh_awiki_awiki_registerIdentity_result$schema = z.union([z.object({
236
+ 'ok': z.literal(false).readonly(),
237
+ 'error': z.object({
238
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("network"), z.literal("remote")]).readonly(),
239
+ 'message': z.string().readonly(),
240
+ }).readonly(),
241
+ }), z.object({
242
+ 'ok': z.literal(true).readonly(),
243
+ 'value': z.object({
244
+ 'handle': z.intersection(z.string(), z.unknown()).readonly(),
245
+ 'did': z.intersection(z.string(), z.unknown()).readonly(),
246
+ 'displayName': z.string().readonly().optional(),
247
+ 'registeredAt': z.number().readonly(),
248
+ }).readonly(),
249
+ })])
250
+ const dsh_awiki_awiki_resolvePeer_parameter_0$schema = z.object({
251
+ 'peer': z.string().readonly(),
252
+ })
253
+ const dsh_awiki_awiki_resolvePeer_result$schema = z.union([z.object({
254
+ 'ok': z.literal(false).readonly(),
255
+ 'error': z.object({
256
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("network"), z.literal("remote")]).readonly(),
257
+ 'message': z.string().readonly(),
258
+ }).readonly(),
259
+ }), z.object({
260
+ 'ok': z.literal(true).readonly(),
261
+ 'value': z.object({
262
+ 'did': z.intersection(z.string(), z.unknown()).readonly(),
263
+ 'handle': z.intersection(z.string(), z.unknown()).readonly().optional(),
264
+ 'displayName': z.string().readonly().optional(),
265
+ 'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
266
+ }).readonly(),
267
+ })])
268
+ const dsh_awiki_awiki_sendAttachment_parameter_0$schema = z.object({
269
+ 'target': z.union([z.object({
270
+ 'kind': z.literal("direct").readonly(),
271
+ 'peer': z.string().readonly(),
272
+ }), z.object({
273
+ 'kind': z.literal("group").readonly(),
274
+ 'group': z.string().readonly(),
275
+ })]).readonly(),
276
+ 'fileName': z.string().readonly(),
277
+ 'mimeType': z.string().readonly(),
278
+ 'bytesBase64': z.string().readonly(),
279
+ 'caption': z.string().readonly().optional(),
280
+ 'idempotencyKey': z.string().readonly(),
281
+ })
282
+ const dsh_awiki_awiki_sendAttachment_result$schema = z.union([z.object({
283
+ 'ok': z.literal(false).readonly(),
284
+ 'error': z.object({
285
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("network"), z.literal("remote")]).readonly(),
286
+ 'message': z.string().readonly(),
287
+ }).readonly(),
288
+ }), z.object({
289
+ 'ok': z.literal(true).readonly(),
290
+ 'value': z.object({
291
+ 'id': z.intersection(z.string(), z.unknown()).readonly(),
292
+ 'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
293
+ 'conversationKind': z.union([z.literal("direct"), z.literal("group")]).readonly(),
294
+ 'senderDid': z.intersection(z.string(), z.unknown()).readonly(),
295
+ 'senderHandle': z.intersection(z.string(), z.unknown()).readonly().optional(),
296
+ 'senderDisplayName': z.string().readonly().optional(),
297
+ 'sentAt': z.number().readonly(),
298
+ 'outgoing': z.boolean().readonly(),
299
+ 'content': z.union([z.object({
300
+ 'kind': z.literal("text").readonly(),
301
+ 'text': z.string().readonly(),
302
+ }), z.object({
303
+ 'kind': z.literal("attachment").readonly(),
304
+ 'attachment': z.object({
305
+ 'id': z.intersection(z.string(), z.unknown()).readonly(),
306
+ 'fileName': z.string().readonly(),
307
+ 'mimeType': z.string().readonly(),
308
+ 'size': z.number().readonly(),
309
+ 'sha256': z.string().readonly(),
310
+ }).readonly(),
311
+ 'caption': z.string().readonly().optional(),
312
+ })]).readonly(),
313
+ }).readonly(),
314
+ })])
315
+ const dsh_awiki_awiki_sendRegistrationOtp_parameter_0$schema = z.object({
316
+ 'handle': z.string().readonly(),
317
+ 'phone': z.string().readonly(),
318
+ })
319
+ const dsh_awiki_awiki_sendRegistrationOtp_result$schema = z.union([z.object({
320
+ 'ok': z.literal(false).readonly(),
321
+ 'error': z.object({
322
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("network"), z.literal("remote")]).readonly(),
323
+ 'message': z.string().readonly(),
324
+ }).readonly(),
325
+ }), z.object({
326
+ 'ok': z.literal(true).readonly(),
327
+ 'value': z.object({
328
+ 'retryAfterSeconds': z.number().readonly(),
329
+ 'retryAt': z.string().readonly(),
330
+ }).readonly(),
331
+ })])
332
+ const dsh_awiki_awiki_sendText_parameter_0$schema = z.object({
333
+ 'target': z.union([z.object({
334
+ 'kind': z.literal("direct").readonly(),
335
+ 'peer': z.string().readonly(),
336
+ }), z.object({
337
+ 'kind': z.literal("group").readonly(),
338
+ 'group': z.string().readonly(),
339
+ })]).readonly(),
340
+ 'text': z.string().readonly(),
341
+ 'idempotencyKey': z.string().readonly(),
342
+ })
343
+ const dsh_awiki_awiki_sendText_result$schema = z.union([z.object({
344
+ 'ok': z.literal(false).readonly(),
345
+ 'error': z.object({
346
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("network"), z.literal("remote")]).readonly(),
347
+ 'message': z.string().readonly(),
348
+ }).readonly(),
349
+ }), z.object({
350
+ 'ok': z.literal(true).readonly(),
351
+ 'value': z.object({
352
+ 'id': z.intersection(z.string(), z.unknown()).readonly(),
353
+ 'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
354
+ 'conversationKind': z.union([z.literal("direct"), z.literal("group")]).readonly(),
355
+ 'senderDid': z.intersection(z.string(), z.unknown()).readonly(),
356
+ 'senderHandle': z.intersection(z.string(), z.unknown()).readonly().optional(),
357
+ 'senderDisplayName': z.string().readonly().optional(),
358
+ 'sentAt': z.number().readonly(),
359
+ 'outgoing': z.boolean().readonly(),
360
+ 'content': z.union([z.object({
361
+ 'kind': z.literal("text").readonly(),
362
+ 'text': z.string().readonly(),
363
+ }), z.object({
364
+ 'kind': z.literal("attachment").readonly(),
365
+ 'attachment': z.object({
366
+ 'id': z.intersection(z.string(), z.unknown()).readonly(),
367
+ 'fileName': z.string().readonly(),
368
+ 'mimeType': z.string().readonly(),
369
+ 'size': z.number().readonly(),
370
+ 'sha256': z.string().readonly(),
371
+ }).readonly(),
372
+ 'caption': z.string().readonly().optional(),
373
+ })]).readonly(),
374
+ }).readonly(),
375
+ })])
376
+ const dsh_awiki_awiki_summarizeConversation_parameter_0$schema = z.object({
377
+ 'conversationId': z.intersection(z.string(), z.unknown()).readonly(),
378
+ 'unreadCountAtOpen': z.number().readonly().optional(),
379
+ })
380
+ const dsh_awiki_awiki_summarizeConversation_result$schema = z.union([z.object({
381
+ 'ok': z.literal(false).readonly(),
382
+ 'error': z.object({
383
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("network"), z.literal("remote")]).readonly(),
384
+ 'message': z.string().readonly(),
385
+ }).readonly(),
386
+ }), z.object({
387
+ 'ok': z.literal(true).readonly(),
388
+ 'value': z.object({
389
+ 'range': z.object({
390
+ 'kind': z.union([z.literal("unread"), z.literal("recent")]).readonly(),
391
+ 'messageCount': z.number().readonly(),
392
+ 'firstMessageId': z.intersection(z.string(), z.unknown()).readonly(),
393
+ 'lastMessageId': z.intersection(z.string(), z.unknown()).readonly(),
394
+ 'startedAt': z.number().readonly(),
395
+ 'endedAt': z.number().readonly(),
396
+ 'truncated': z.boolean().readonly(),
397
+ }).readonly(),
398
+ 'highlights': z.array(z.string()).readonly(),
399
+ 'conclusions': z.array(z.string()).readonly(),
400
+ 'todos': z.array(z.object({
401
+ 'text': z.string().readonly(),
402
+ 'owner': z.string().readonly().optional(),
403
+ })).readonly(),
404
+ }).readonly(),
405
+ })])
406
+ const dsh_awiki_awiki_updateDisplayName_parameter_0$schema = z.object({
407
+ 'displayName': z.string().readonly(),
408
+ })
409
+ const dsh_awiki_awiki_updateDisplayName_result$schema = z.union([z.object({
410
+ 'ok': z.literal(false).readonly(),
411
+ 'error': z.object({
412
+ 'code': z.union([z.literal("not-registered"), z.literal("signed-out"), z.literal("already-registered"), z.literal("invalid-request"), z.literal("invalid-otp"), z.literal("challenge-expired"), z.literal("handle-unavailable"), z.literal("not-found"), z.literal("forbidden"), z.literal("conflict"), z.literal("rate-limited"), z.literal("attachment-too-large"), z.literal("summary-unavailable"), z.literal("summary-timeout"), z.literal("summary-cancelled"), z.literal("summary-invalid-output"), z.literal("summary-failed"), z.literal("network"), z.literal("remote")]).readonly(),
413
+ 'message': z.string().readonly(),
414
+ }).readonly(),
415
+ }), z.object({
416
+ 'ok': z.literal(true).readonly(),
417
+ 'value': z.object({
418
+ 'handle': z.intersection(z.string(), z.unknown()).readonly(),
419
+ 'did': z.intersection(z.string(), z.unknown()).readonly(),
420
+ 'displayName': z.string().readonly().optional(),
421
+ 'registeredAt': z.number().readonly(),
422
+ }).readonly(),
423
+ })])
424
+
425
+ export const TYPERT_REMOTE = {
426
+ package: '@awiki/dsh-plugin',
427
+ descriptors: [
428
+ {
429
+ id: '@awiki/dsh-plugin#awiki/clearLocalData',
430
+ service: 'awiki',
431
+ namespace: 'awiki',
432
+ method: 'clearLocalData',
433
+ invocation: { kind: 'direct' },
434
+ parameters: [
435
+ {
436
+ name: 'request',
437
+ wire: 'request',
438
+ source: 'json',
439
+ codec: {
440
+ mode: 'strict',
441
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiClearLocalDataRequest',
442
+ schema: dsh_awiki_awiki_clearLocalData_parameter_0$schema,
443
+ },
444
+ },
445
+ ],
446
+ result: {
447
+ mode: 'strict',
448
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
449
+ schema: dsh_awiki_awiki_clearLocalData_result$schema,
450
+ },
451
+ sourceLocation: {"file":"packages/awiki/awiki/src/index.ts","line":803,"column":3},
452
+ },
453
+ {
454
+ id: '@awiki/dsh-plugin#awiki/downloadAttachment',
455
+ service: 'awiki',
456
+ namespace: 'awiki',
457
+ method: 'downloadAttachment',
458
+ invocation: { kind: 'direct' },
459
+ parameters: [
460
+ {
461
+ name: 'request',
462
+ wire: 'request',
463
+ source: 'json',
464
+ codec: {
465
+ mode: 'strict',
466
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiDownloadAttachmentRequest',
467
+ schema: dsh_awiki_awiki_downloadAttachment_parameter_0$schema,
468
+ },
469
+ },
470
+ ],
471
+ result: {
472
+ mode: 'strict',
473
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
474
+ schema: dsh_awiki_awiki_downloadAttachment_result$schema,
475
+ },
476
+ sourceLocation: {"file":"packages/awiki/awiki/src/index.ts","line":784,"column":9},
477
+ },
478
+ {
479
+ id: '@awiki/dsh-plugin#awiki/getConfig',
480
+ service: 'awiki',
481
+ namespace: 'awiki',
482
+ method: 'getConfig',
483
+ invocation: { kind: 'direct' },
484
+ parameters: [
485
+ ],
486
+ result: {
487
+ mode: 'strict',
488
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
489
+ schema: dsh_awiki_awiki_getConfig_result$schema,
490
+ },
491
+ sourceLocation: {"file":"packages/awiki/awiki/src/index.ts","line":528,"column":3},
492
+ },
493
+ {
494
+ id: '@awiki/dsh-plugin#awiki/getHistory',
495
+ service: 'awiki',
496
+ namespace: 'awiki',
497
+ method: 'getHistory',
498
+ invocation: { kind: 'direct' },
499
+ parameters: [
500
+ {
501
+ name: 'request',
502
+ wire: 'request',
503
+ source: 'json',
504
+ codec: {
505
+ mode: 'strict',
506
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiHistoryRequest',
507
+ schema: dsh_awiki_awiki_getHistory_parameter_0$schema,
508
+ },
509
+ },
510
+ ],
511
+ result: {
512
+ mode: 'strict',
513
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
514
+ schema: dsh_awiki_awiki_getHistory_result$schema,
515
+ },
516
+ sourceLocation: {"file":"packages/awiki/awiki/src/index.ts","line":654,"column":3},
517
+ },
518
+ {
519
+ id: '@awiki/dsh-plugin#awiki/getIdentity',
520
+ service: 'awiki',
521
+ namespace: 'awiki',
522
+ method: 'getIdentity',
523
+ invocation: { kind: 'direct' },
524
+ parameters: [
525
+ ],
526
+ result: {
527
+ mode: 'strict',
528
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
529
+ schema: dsh_awiki_awiki_getIdentity_result$schema,
530
+ },
531
+ sourceLocation: {"file":"packages/awiki/awiki/src/index.ts","line":543,"column":3},
532
+ },
533
+ {
534
+ id: '@awiki/dsh-plugin#awiki/getSession',
535
+ service: 'awiki',
536
+ namespace: 'awiki',
537
+ method: 'getSession',
538
+ invocation: { kind: 'direct' },
539
+ parameters: [
540
+ ],
541
+ result: {
542
+ mode: 'strict',
543
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
544
+ schema: dsh_awiki_awiki_getSession_result$schema,
545
+ },
546
+ sourceLocation: {"file":"packages/awiki/awiki/src/index.ts","line":549,"column":9},
547
+ },
548
+ {
549
+ id: '@awiki/dsh-plugin#awiki/listConversations',
550
+ service: 'awiki',
551
+ namespace: 'awiki',
552
+ method: 'listConversations',
553
+ invocation: { kind: 'direct' },
554
+ parameters: [
555
+ {
556
+ name: 'request',
557
+ wire: 'request',
558
+ source: 'json',
559
+ acceptsUndefined: true,
560
+ codec: {
561
+ mode: 'strict',
562
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiPageRequest',
563
+ schema: dsh_awiki_awiki_listConversations_parameter_0$schema,
564
+ },
565
+ },
566
+ ],
567
+ result: {
568
+ mode: 'strict',
569
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
570
+ schema: dsh_awiki_awiki_listConversations_result$schema,
571
+ },
572
+ sourceLocation: {"file":"packages/awiki/awiki/src/index.ts","line":644,"column":3},
573
+ },
574
+ {
575
+ id: '@awiki/dsh-plugin#awiki/login',
576
+ service: 'awiki',
577
+ namespace: 'awiki',
578
+ method: 'login',
579
+ invocation: { kind: 'direct' },
580
+ parameters: [
581
+ ],
582
+ result: {
583
+ mode: 'strict',
584
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
585
+ schema: dsh_awiki_awiki_login_result$schema,
586
+ },
587
+ sourceLocation: {"file":"packages/awiki/awiki/src/index.ts","line":582,"column":3},
588
+ },
589
+ {
590
+ id: '@awiki/dsh-plugin#awiki/logout',
591
+ service: 'awiki',
592
+ namespace: 'awiki',
593
+ method: 'logout',
594
+ invocation: { kind: 'direct' },
595
+ parameters: [
596
+ {
597
+ name: 'request',
598
+ wire: 'request',
599
+ source: 'json',
600
+ codec: {
601
+ mode: 'strict',
602
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiLogoutRequest',
603
+ schema: dsh_awiki_awiki_logout_parameter_0$schema,
604
+ },
605
+ },
606
+ ],
607
+ result: {
608
+ mode: 'strict',
609
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
610
+ schema: dsh_awiki_awiki_logout_result$schema,
611
+ },
612
+ sourceLocation: {"file":"packages/awiki/awiki/src/index.ts","line":560,"column":3},
613
+ },
614
+ {
615
+ id: '@awiki/dsh-plugin#awiki/markConversationRead',
616
+ service: 'awiki',
617
+ namespace: 'awiki',
618
+ method: 'markConversationRead',
619
+ invocation: { kind: 'direct' },
620
+ parameters: [
621
+ {
622
+ name: 'request',
623
+ wire: 'request',
624
+ source: 'json',
625
+ codec: {
626
+ mode: 'strict',
627
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiMarkConversationReadRequest',
628
+ schema: dsh_awiki_awiki_markConversationRead_parameter_0$schema,
629
+ },
630
+ },
631
+ ],
632
+ result: {
633
+ mode: 'strict',
634
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
635
+ schema: dsh_awiki_awiki_markConversationRead_result$schema,
636
+ },
637
+ sourceLocation: {"file":"packages/awiki/awiki/src/index.ts","line":743,"column":3},
638
+ },
639
+ {
640
+ id: '@awiki/dsh-plugin#awiki/registerIdentity',
641
+ service: 'awiki',
642
+ namespace: 'awiki',
643
+ method: 'registerIdentity',
644
+ invocation: { kind: 'direct' },
645
+ parameters: [
646
+ {
647
+ name: 'request',
648
+ wire: 'request',
649
+ source: 'json',
650
+ codec: {
651
+ mode: 'strict',
652
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiRegistrationRequest',
653
+ schema: dsh_awiki_awiki_registerIdentity_parameter_0$schema,
654
+ },
655
+ },
656
+ ],
657
+ result: {
658
+ mode: 'strict',
659
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
660
+ schema: dsh_awiki_awiki_registerIdentity_result$schema,
661
+ },
662
+ sourceLocation: {"file":"packages/awiki/awiki/src/index.ts","line":614,"column":3},
663
+ },
664
+ {
665
+ id: '@awiki/dsh-plugin#awiki/resolvePeer',
666
+ service: 'awiki',
667
+ namespace: 'awiki',
668
+ method: 'resolvePeer',
669
+ invocation: { kind: 'direct' },
670
+ parameters: [
671
+ {
672
+ name: 'request',
673
+ wire: 'request',
674
+ source: 'json',
675
+ codec: {
676
+ mode: 'strict',
677
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResolvePeerRequest',
678
+ schema: dsh_awiki_awiki_resolvePeer_parameter_0$schema,
679
+ },
680
+ },
681
+ ],
682
+ result: {
683
+ mode: 'strict',
684
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
685
+ schema: dsh_awiki_awiki_resolvePeer_result$schema,
686
+ },
687
+ sourceLocation: {"file":"packages/awiki/awiki/src/index.ts","line":634,"column":3},
688
+ },
689
+ {
690
+ id: '@awiki/dsh-plugin#awiki/sendAttachment',
691
+ service: 'awiki',
692
+ namespace: 'awiki',
693
+ method: 'sendAttachment',
694
+ invocation: { kind: 'direct' },
695
+ parameters: [
696
+ {
697
+ name: 'request',
698
+ wire: 'request',
699
+ source: 'json',
700
+ codec: {
701
+ mode: 'strict',
702
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiSendAttachmentRequest',
703
+ schema: dsh_awiki_awiki_sendAttachment_parameter_0$schema,
704
+ },
705
+ },
706
+ ],
707
+ result: {
708
+ mode: 'strict',
709
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
710
+ schema: dsh_awiki_awiki_sendAttachment_result$schema,
711
+ },
712
+ sourceLocation: {"file":"packages/awiki/awiki/src/index.ts","line":763,"column":9},
713
+ },
714
+ {
715
+ id: '@awiki/dsh-plugin#awiki/sendRegistrationOtp',
716
+ service: 'awiki',
717
+ namespace: 'awiki',
718
+ method: 'sendRegistrationOtp',
719
+ invocation: { kind: 'direct' },
720
+ parameters: [
721
+ {
722
+ name: 'request',
723
+ wire: 'request',
724
+ source: 'json',
725
+ codec: {
726
+ mode: 'strict',
727
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiRegistrationOtpRequest',
728
+ schema: dsh_awiki_awiki_sendRegistrationOtp_parameter_0$schema,
729
+ },
730
+ },
731
+ ],
732
+ result: {
733
+ mode: 'strict',
734
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
735
+ schema: dsh_awiki_awiki_sendRegistrationOtp_result$schema,
736
+ },
737
+ sourceLocation: {"file":"packages/awiki/awiki/src/index.ts","line":604,"column":3},
738
+ },
739
+ {
740
+ id: '@awiki/dsh-plugin#awiki/sendText',
741
+ service: 'awiki',
742
+ namespace: 'awiki',
743
+ method: 'sendText',
744
+ invocation: { kind: 'direct' },
745
+ parameters: [
746
+ {
747
+ name: 'request',
748
+ wire: 'request',
749
+ source: 'json',
750
+ codec: {
751
+ mode: 'strict',
752
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiSendTextRequest',
753
+ schema: dsh_awiki_awiki_sendText_parameter_0$schema,
754
+ },
755
+ },
756
+ ],
757
+ result: {
758
+ mode: 'strict',
759
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
760
+ schema: dsh_awiki_awiki_sendText_result$schema,
761
+ },
762
+ sourceLocation: {"file":"packages/awiki/awiki/src/index.ts","line":753,"column":3},
763
+ },
764
+ {
765
+ id: '@awiki/dsh-plugin#awiki/summarizeConversation',
766
+ service: 'awiki',
767
+ namespace: 'awiki',
768
+ method: 'summarizeConversation',
769
+ invocation: { kind: 'direct' },
770
+ parameters: [
771
+ {
772
+ name: 'request',
773
+ wire: 'request',
774
+ source: 'json',
775
+ codec: {
776
+ mode: 'strict',
777
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiSummarizeConversationRequest',
778
+ schema: dsh_awiki_awiki_summarizeConversation_parameter_0$schema,
779
+ },
780
+ },
781
+ ],
782
+ result: {
783
+ mode: 'strict',
784
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
785
+ schema: dsh_awiki_awiki_summarizeConversation_result$schema,
786
+ },
787
+ sourceLocation: {"file":"packages/awiki/awiki/src/index.ts","line":664,"column":9},
788
+ },
789
+ {
790
+ id: '@awiki/dsh-plugin#awiki/updateDisplayName',
791
+ service: 'awiki',
792
+ namespace: 'awiki',
793
+ method: 'updateDisplayName',
794
+ invocation: { kind: 'direct' },
795
+ parameters: [
796
+ {
797
+ name: 'request',
798
+ wire: 'request',
799
+ source: 'json',
800
+ codec: {
801
+ mode: 'strict',
802
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiUpdateDisplayNameRequest',
803
+ schema: dsh_awiki_awiki_updateDisplayName_parameter_0$schema,
804
+ },
805
+ },
806
+ ],
807
+ result: {
808
+ mode: 'strict',
809
+ typeSymbol: '@awiki/dsh-plugin/types#AwikiResult',
810
+ schema: dsh_awiki_awiki_updateDisplayName_result$schema,
811
+ },
812
+ sourceLocation: {"file":"packages/awiki/awiki/src/index.ts","line":624,"column":3},
813
+ },
814
+ ],
815
+ }
816
+
817
+ export default TYPERT_REMOTE