dsh-study-tools 0.0.0-stage → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/EDITOR-LICENSES.txt +568 -0
- package/KATEX-LICENSE.txt +21 -0
- package/README.md +26 -2
- package/agent.js +15 -0
- package/client.js +2112 -0
- package/cordis.patch.yml +128 -0
- package/icon.svg +7 -0
- package/index.js +2 -0
- package/lib/protocol.js +100 -0
- package/locale/en.json +6 -0
- package/locale/zh-CN.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +43 -4
- package/src/client.js +1718 -0
- package/src/quiz-ui.css +457 -0
|
@@ -0,0 +1,568 @@
|
|
|
1
|
+
@marijn/find-cluster-break
|
|
2
|
+
MIT License
|
|
3
|
+
|
|
4
|
+
Copyright (C) 2024 by Marijn Haverbeke <marijn@haverbeke.berlin>
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in
|
|
14
|
+
all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22
|
+
THE SOFTWARE.
|
|
23
|
+
|
|
24
|
+
@codemirror/state
|
|
25
|
+
MIT License
|
|
26
|
+
|
|
27
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
28
|
+
|
|
29
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
30
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
31
|
+
in the Software without restriction, including without limitation the rights
|
|
32
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
33
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
34
|
+
furnished to do so, subject to the following conditions:
|
|
35
|
+
|
|
36
|
+
The above copyright notice and this permission notice shall be included in
|
|
37
|
+
all copies or substantial portions of the Software.
|
|
38
|
+
|
|
39
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
40
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
41
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
42
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
43
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
44
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
45
|
+
THE SOFTWARE.
|
|
46
|
+
|
|
47
|
+
style-mod
|
|
48
|
+
Copyright (C) 2018 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
49
|
+
|
|
50
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
51
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
52
|
+
in the Software without restriction, including without limitation the rights
|
|
53
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
54
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
55
|
+
furnished to do so, subject to the following conditions:
|
|
56
|
+
|
|
57
|
+
The above copyright notice and this permission notice shall be included in
|
|
58
|
+
all copies or substantial portions of the Software.
|
|
59
|
+
|
|
60
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
61
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
62
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
63
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
64
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
65
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
66
|
+
THE SOFTWARE.
|
|
67
|
+
|
|
68
|
+
w3c-keyname
|
|
69
|
+
Copyright (C) 2016 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
70
|
+
|
|
71
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
72
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
73
|
+
in the Software without restriction, including without limitation the rights
|
|
74
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
75
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
76
|
+
furnished to do so, subject to the following conditions:
|
|
77
|
+
|
|
78
|
+
The above copyright notice and this permission notice shall be included in
|
|
79
|
+
all copies or substantial portions of the Software.
|
|
80
|
+
|
|
81
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
82
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
83
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
84
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
85
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
86
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
87
|
+
THE SOFTWARE.
|
|
88
|
+
|
|
89
|
+
crelt
|
|
90
|
+
Copyright (C) 2020 by Marijn Haverbeke <marijn@haverbeke.berlin>
|
|
91
|
+
|
|
92
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
93
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
94
|
+
in the Software without restriction, including without limitation the rights
|
|
95
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
96
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
97
|
+
furnished to do so, subject to the following conditions:
|
|
98
|
+
|
|
99
|
+
The above copyright notice and this permission notice shall be included in
|
|
100
|
+
all copies or substantial portions of the Software.
|
|
101
|
+
|
|
102
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
103
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
104
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
105
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
106
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
107
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
108
|
+
THE SOFTWARE.
|
|
109
|
+
|
|
110
|
+
@codemirror/view
|
|
111
|
+
MIT License
|
|
112
|
+
|
|
113
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
114
|
+
|
|
115
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
116
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
117
|
+
in the Software without restriction, including without limitation the rights
|
|
118
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
119
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
120
|
+
furnished to do so, subject to the following conditions:
|
|
121
|
+
|
|
122
|
+
The above copyright notice and this permission notice shall be included in
|
|
123
|
+
all copies or substantial portions of the Software.
|
|
124
|
+
|
|
125
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
126
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
127
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
128
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
129
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
130
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
131
|
+
THE SOFTWARE.
|
|
132
|
+
|
|
133
|
+
@lezer/common
|
|
134
|
+
MIT License
|
|
135
|
+
|
|
136
|
+
Copyright (C) 2018 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
137
|
+
|
|
138
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
139
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
140
|
+
in the Software without restriction, including without limitation the rights
|
|
141
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
142
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
143
|
+
furnished to do so, subject to the following conditions:
|
|
144
|
+
|
|
145
|
+
The above copyright notice and this permission notice shall be included in
|
|
146
|
+
all copies or substantial portions of the Software.
|
|
147
|
+
|
|
148
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
149
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
150
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
151
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
152
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
153
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
154
|
+
THE SOFTWARE.
|
|
155
|
+
|
|
156
|
+
@lezer/highlight
|
|
157
|
+
MIT License
|
|
158
|
+
|
|
159
|
+
Copyright (C) 2018 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
160
|
+
|
|
161
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
162
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
163
|
+
in the Software without restriction, including without limitation the rights
|
|
164
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
165
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
166
|
+
furnished to do so, subject to the following conditions:
|
|
167
|
+
|
|
168
|
+
The above copyright notice and this permission notice shall be included in
|
|
169
|
+
all copies or substantial portions of the Software.
|
|
170
|
+
|
|
171
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
172
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
173
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
174
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
175
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
176
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
177
|
+
THE SOFTWARE.
|
|
178
|
+
|
|
179
|
+
@codemirror/streamparser
|
|
180
|
+
MIT License
|
|
181
|
+
|
|
182
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
183
|
+
|
|
184
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
185
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
186
|
+
in the Software without restriction, including without limitation the rights
|
|
187
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
188
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
189
|
+
furnished to do so, subject to the following conditions:
|
|
190
|
+
|
|
191
|
+
The above copyright notice and this permission notice shall be included in
|
|
192
|
+
all copies or substantial portions of the Software.
|
|
193
|
+
|
|
194
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
195
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
196
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
197
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
198
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
199
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
200
|
+
THE SOFTWARE.
|
|
201
|
+
|
|
202
|
+
@codemirror/language
|
|
203
|
+
MIT License
|
|
204
|
+
|
|
205
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
206
|
+
|
|
207
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
208
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
209
|
+
in the Software without restriction, including without limitation the rights
|
|
210
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
211
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
212
|
+
furnished to do so, subject to the following conditions:
|
|
213
|
+
|
|
214
|
+
The above copyright notice and this permission notice shall be included in
|
|
215
|
+
all copies or substantial portions of the Software.
|
|
216
|
+
|
|
217
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
218
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
219
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
220
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
221
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
222
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
223
|
+
THE SOFTWARE.
|
|
224
|
+
|
|
225
|
+
@codemirror/commands
|
|
226
|
+
MIT License
|
|
227
|
+
|
|
228
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
229
|
+
|
|
230
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
231
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
232
|
+
in the Software without restriction, including without limitation the rights
|
|
233
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
234
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
235
|
+
furnished to do so, subject to the following conditions:
|
|
236
|
+
|
|
237
|
+
The above copyright notice and this permission notice shall be included in
|
|
238
|
+
all copies or substantial portions of the Software.
|
|
239
|
+
|
|
240
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
241
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
242
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
243
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
244
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
245
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
246
|
+
THE SOFTWARE.
|
|
247
|
+
|
|
248
|
+
@codemirror/search
|
|
249
|
+
MIT License
|
|
250
|
+
|
|
251
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
252
|
+
|
|
253
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
254
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
255
|
+
in the Software without restriction, including without limitation the rights
|
|
256
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
257
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
258
|
+
furnished to do so, subject to the following conditions:
|
|
259
|
+
|
|
260
|
+
The above copyright notice and this permission notice shall be included in
|
|
261
|
+
all copies or substantial portions of the Software.
|
|
262
|
+
|
|
263
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
264
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
265
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
266
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
267
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
268
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
269
|
+
THE SOFTWARE.
|
|
270
|
+
|
|
271
|
+
@codemirror/autocomplete
|
|
272
|
+
MIT License
|
|
273
|
+
|
|
274
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
275
|
+
|
|
276
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
277
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
278
|
+
in the Software without restriction, including without limitation the rights
|
|
279
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
280
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
281
|
+
furnished to do so, subject to the following conditions:
|
|
282
|
+
|
|
283
|
+
The above copyright notice and this permission notice shall be included in
|
|
284
|
+
all copies or substantial portions of the Software.
|
|
285
|
+
|
|
286
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
287
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
288
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
289
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
290
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
291
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
292
|
+
THE SOFTWARE.
|
|
293
|
+
|
|
294
|
+
@codemirror/lint
|
|
295
|
+
MIT License
|
|
296
|
+
|
|
297
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
298
|
+
|
|
299
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
300
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
301
|
+
in the Software without restriction, including without limitation the rights
|
|
302
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
303
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
304
|
+
furnished to do so, subject to the following conditions:
|
|
305
|
+
|
|
306
|
+
The above copyright notice and this permission notice shall be included in
|
|
307
|
+
all copies or substantial portions of the Software.
|
|
308
|
+
|
|
309
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
310
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
311
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
312
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
313
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
314
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
315
|
+
THE SOFTWARE.
|
|
316
|
+
|
|
317
|
+
codemirror
|
|
318
|
+
MIT License
|
|
319
|
+
|
|
320
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
321
|
+
|
|
322
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
323
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
324
|
+
in the Software without restriction, including without limitation the rights
|
|
325
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
326
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
327
|
+
furnished to do so, subject to the following conditions:
|
|
328
|
+
|
|
329
|
+
The above copyright notice and this permission notice shall be included in
|
|
330
|
+
all copies or substantial portions of the Software.
|
|
331
|
+
|
|
332
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
333
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
334
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
335
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
336
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
337
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
338
|
+
THE SOFTWARE.
|
|
339
|
+
|
|
340
|
+
@lezer/lr
|
|
341
|
+
MIT License
|
|
342
|
+
|
|
343
|
+
Copyright (C) 2018 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
344
|
+
|
|
345
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
346
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
347
|
+
in the Software without restriction, including without limitation the rights
|
|
348
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
349
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
350
|
+
furnished to do so, subject to the following conditions:
|
|
351
|
+
|
|
352
|
+
The above copyright notice and this permission notice shall be included in
|
|
353
|
+
all copies or substantial portions of the Software.
|
|
354
|
+
|
|
355
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
356
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
357
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
358
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
359
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
360
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
361
|
+
THE SOFTWARE.
|
|
362
|
+
|
|
363
|
+
@lezer/java
|
|
364
|
+
MIT License
|
|
365
|
+
|
|
366
|
+
Copyright (C) 2020 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
367
|
+
|
|
368
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
369
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
370
|
+
in the Software without restriction, including without limitation the rights
|
|
371
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
372
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
373
|
+
furnished to do so, subject to the following conditions:
|
|
374
|
+
|
|
375
|
+
The above copyright notice and this permission notice shall be included in
|
|
376
|
+
all copies or substantial portions of the Software.
|
|
377
|
+
|
|
378
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
379
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
380
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
381
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
382
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
383
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
384
|
+
THE SOFTWARE.
|
|
385
|
+
|
|
386
|
+
@codemirror/lang-java
|
|
387
|
+
MIT License
|
|
388
|
+
|
|
389
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
390
|
+
|
|
391
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
392
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
393
|
+
in the Software without restriction, including without limitation the rights
|
|
394
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
395
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
396
|
+
furnished to do so, subject to the following conditions:
|
|
397
|
+
|
|
398
|
+
The above copyright notice and this permission notice shall be included in
|
|
399
|
+
all copies or substantial portions of the Software.
|
|
400
|
+
|
|
401
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
402
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
403
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
404
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
405
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
406
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
407
|
+
THE SOFTWARE.
|
|
408
|
+
|
|
409
|
+
@lezer/python
|
|
410
|
+
MIT License
|
|
411
|
+
|
|
412
|
+
Copyright (C) 2020 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
413
|
+
|
|
414
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
415
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
416
|
+
in the Software without restriction, including without limitation the rights
|
|
417
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
418
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
419
|
+
furnished to do so, subject to the following conditions:
|
|
420
|
+
|
|
421
|
+
The above copyright notice and this permission notice shall be included in
|
|
422
|
+
all copies or substantial portions of the Software.
|
|
423
|
+
|
|
424
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
425
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
426
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
427
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
428
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
429
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
430
|
+
THE SOFTWARE.
|
|
431
|
+
|
|
432
|
+
@codemirror/lang-python
|
|
433
|
+
MIT License
|
|
434
|
+
|
|
435
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
436
|
+
|
|
437
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
438
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
439
|
+
in the Software without restriction, including without limitation the rights
|
|
440
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
441
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
442
|
+
furnished to do so, subject to the following conditions:
|
|
443
|
+
|
|
444
|
+
The above copyright notice and this permission notice shall be included in
|
|
445
|
+
all copies or substantial portions of the Software.
|
|
446
|
+
|
|
447
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
448
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
449
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
450
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
451
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
452
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
453
|
+
THE SOFTWARE.
|
|
454
|
+
|
|
455
|
+
@lezer/javascript
|
|
456
|
+
MIT License
|
|
457
|
+
|
|
458
|
+
Copyright (C) 2018 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
459
|
+
|
|
460
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
461
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
462
|
+
in the Software without restriction, including without limitation the rights
|
|
463
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
464
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
465
|
+
furnished to do so, subject to the following conditions:
|
|
466
|
+
|
|
467
|
+
The above copyright notice and this permission notice shall be included in
|
|
468
|
+
all copies or substantial portions of the Software.
|
|
469
|
+
|
|
470
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
471
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
472
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
473
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
474
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
475
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
476
|
+
THE SOFTWARE.
|
|
477
|
+
|
|
478
|
+
@codemirror/lang-javascript
|
|
479
|
+
MIT License
|
|
480
|
+
|
|
481
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
482
|
+
|
|
483
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
484
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
485
|
+
in the Software without restriction, including without limitation the rights
|
|
486
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
487
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
488
|
+
furnished to do so, subject to the following conditions:
|
|
489
|
+
|
|
490
|
+
The above copyright notice and this permission notice shall be included in
|
|
491
|
+
all copies or substantial portions of the Software.
|
|
492
|
+
|
|
493
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
494
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
495
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
496
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
497
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
498
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
499
|
+
THE SOFTWARE.
|
|
500
|
+
|
|
501
|
+
@lezer/json
|
|
502
|
+
MIT License
|
|
503
|
+
|
|
504
|
+
Copyright (C) 2020 by Marijn Haverbeke <marijn@haverbeke.berlin>, Arun Srinivasan <rulfzid@gmail.com>, and others
|
|
505
|
+
|
|
506
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
507
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
508
|
+
in the Software without restriction, including without limitation the rights
|
|
509
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
510
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
511
|
+
furnished to do so, subject to the following conditions:
|
|
512
|
+
|
|
513
|
+
The above copyright notice and this permission notice shall be included in
|
|
514
|
+
all copies or substantial portions of the Software.
|
|
515
|
+
|
|
516
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
517
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
518
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
519
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
520
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
521
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
522
|
+
THE SOFTWARE.
|
|
523
|
+
@codemirror/lang-json
|
|
524
|
+
MIT License
|
|
525
|
+
|
|
526
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
527
|
+
|
|
528
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
529
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
530
|
+
in the Software without restriction, including without limitation the rights
|
|
531
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
532
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
533
|
+
furnished to do so, subject to the following conditions:
|
|
534
|
+
|
|
535
|
+
The above copyright notice and this permission notice shall be included in
|
|
536
|
+
all copies or substantial portions of the Software.
|
|
537
|
+
|
|
538
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
539
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
540
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
541
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
542
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
543
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
544
|
+
THE SOFTWARE.
|
|
545
|
+
|
|
546
|
+
@codemirror/theme-one-dark
|
|
547
|
+
MIT License
|
|
548
|
+
|
|
549
|
+
Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
|
|
550
|
+
|
|
551
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
552
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
553
|
+
in the Software without restriction, including without limitation the rights
|
|
554
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
555
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
556
|
+
furnished to do so, subject to the following conditions:
|
|
557
|
+
|
|
558
|
+
The above copyright notice and this permission notice shall be included in
|
|
559
|
+
all copies or substantial portions of the Software.
|
|
560
|
+
|
|
561
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
562
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
563
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
564
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
565
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
566
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
567
|
+
THE SOFTWARE.
|
|
568
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2013-2020 Khan Academy and other contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 学习工作台 · Learning workspace
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
`dsh-study-tools` 在 DeepSeek Harness(DSH)里把模型给出的 `ds_tools` 内容变成选择题、填空题、交互函数图、表格和作答要求。输入区也可以切换到代码编辑模式。
|
|
4
|
+
|
|
5
|
+
## 开始练习
|
|
6
|
+
|
|
7
|
+
启用插件后,新建会话。在空白会话的工作区选择旁,打开当前 Agent 预设菜单,选择「学习模式」(`study`)。这只为当前空白会话选预设,不用更改全局默认或提高权限。学习提示词只随该预设加载;旧卡片仍可阅读,普通会话也可使用「代码」编辑器。
|
|
8
|
+
|
|
9
|
+
发一条实际请求,例如:
|
|
10
|
+
|
|
11
|
+
> 请给我出一道关于一次函数的选择题和一道填空题,各附简短解析。请把两题放在同一个 `ds_tools` 块里,正文先不揭晓答案。
|
|
12
|
+
|
|
13
|
+
回复仍在输出该块时,它按普通代码块显示。DSH 将块标为已经完成且 JSON 可解析后,题目才会变成答题入口;首次实时出题可自动展开。若未自动打开,点「打开题目(2 题)」。选择题点击选项即可看到判定;填空题输入后按 Enter 或点「检查答案」。可展开「解析」,也可通过「题库 / 错题 / 复盘」切换视图。重新打开旧会话时,历史题目不会自行展开。模型没有输出有效块时,界面按文本显示;「出题」按钮也只填入一条草稿,不会代替你发送。
|
|
14
|
+
|
|
15
|
+
可追加请求让模型画两条函数曲线并附数值表,或布置一道带方法签名、作答要求和未完成骨架的编程练习。函数图可缩放、平移;模型给出参数时可用滑块。交点、间断和渐近线是数值估计,不是证明。实时要求栏只会在草稿为空且不含引用时填入代码骨架,有内容就保留;历史要求可点「在输入区显示要求」,同样只在空草稿插入模板。
|
|
16
|
+
|
|
17
|
+
点输入区的「代码」可打开编辑器,也可在输入区用 `Control` + `Shift` + `Space`(Mac 上是 `Control`,不是 `Command`)。用 `Escape` 或「退出」返回;「发送」或 `Control` + `Enter` 才会把代码发给 Agent。编辑器提供高亮和片段提示,不编译或运行代码。LaTeX 公式输入面板和物理仿真不在本包中;题面本身仍支持公式排版。
|
|
18
|
+
|
|
19
|
+
## 图片与学习记录
|
|
20
|
+
|
|
21
|
+
- 已有卡片中的 HTTPS 图片显示来源主机,只有逐张点「加载这张图片」才会向图片主机发送预览请求;「在浏览器打开原图」也是逐张操作。阅读旧卡片不会自行加载图片。
|
|
22
|
+
- 图片搜索卡只有在点击「在 Bing 搜索」后才会把搜索词交给 Bing,由浏览器打开。本发行不向 Agent 注册图片搜索或生图工具。KIE 生图是原工作台的可选接入,本发行未启用,也不读取旧密钥;只有画面描述的卡片照常显示文字。
|
|
23
|
+
- 收藏由用户操作,题干、选项、答案和解析可能保存在当前浏览器的本地存储。常规作答不会把答案另发给模型;点击「让 Agent 复盘」会把题目摘要、答案与判定发到当前会话。只有主动勾选当前批次的「答完自动复盘」,才会在全部作答后自动提交。
|
|
24
|
+
|
|
25
|
+
## 兼容性
|
|
26
|
+
|
|
27
|
+
本包把 DSH `0.2.2-rc.5` 声明为兼容版本;其他版本未验证。学习预设沿用 DSH 自带平台工具:Mac 使用 Bash,Windows 使用 PowerShell,仍遵循 DSH 原有工具权限。插件自带预构建客户端和第三方组件声明,不需要在使用端安装客户端构建依赖。本次适配检查了离线入口、打包成员和 RC.5 的接口契约;Mac/Windows 图形界面的实机验收另行记录。
|
package/agent.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** Host plugin mounted only by the study preset. */
|
|
2
|
+
import { DS_TOOLS_PROTOCOL, PROTOCOL_SECTION_NAME, PROTOCOL_SECTION_ORDER } from './lib/protocol.js'
|
|
3
|
+
|
|
4
|
+
export const name = 'dsh-study-tools'
|
|
5
|
+
export const inject = ['systemPrompt']
|
|
6
|
+
|
|
7
|
+
const MEDIA_AVAILABILITY = `\n## 本发行的配图能力(覆盖上文的图片工具调用说明)\n\n- 本预设不注册图片搜索或 KIE 生图工具。配图格式保留供已有卡片使用;不要为此调用其他工具或外部服务,也不要编造链接或声称已生成。\n- 需要配图时优先使用文本描述,或者用函数图、表格表达;卡片中的外部网址由用户逐项决定是否打开。\n`
|
|
8
|
+
|
|
9
|
+
export function apply(ctx) {
|
|
10
|
+
ctx.effect(() => ctx.systemPrompt.section({
|
|
11
|
+
name: PROTOCOL_SECTION_NAME,
|
|
12
|
+
order: PROTOCOL_SECTION_ORDER,
|
|
13
|
+
text: DS_TOOLS_PROTOCOL + MEDIA_AVAILABILITY,
|
|
14
|
+
}))
|
|
15
|
+
}
|