@khorsheed/dsh-game 0.0.0-stage → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.en.md +53 -0
  3. package/README.i18n.yaml +6 -0
  4. package/README.md +52 -2
  5. package/cordis.patch.yml +23 -0
  6. package/lib/client.js +30690 -0
  7. package/lib/index.js +4297 -0
  8. package/lib/typert.host.d.ts +3 -0
  9. package/lib/typert.host.js +3876 -0
  10. package/lib/typert.remote-client.d.ts +104 -0
  11. package/lib/typert.remote-client.js +2138 -0
  12. package/lib/types/agent.d.ts +20 -0
  13. package/lib/types/agent.js +43 -0
  14. package/lib/types/checks.d.ts +44 -0
  15. package/lib/types/checks.js +267 -0
  16. package/lib/types/client/DesignView.d.ts +22 -0
  17. package/lib/types/client/DesignView.js +134 -0
  18. package/lib/types/client/ElementsView.d.ts +21 -0
  19. package/lib/types/client/ElementsView.js +195 -0
  20. package/lib/types/client/GameTab.d.ts +14 -0
  21. package/lib/types/client/GameTab.js +261 -0
  22. package/lib/types/client/PlayFrame.d.ts +54 -0
  23. package/lib/types/client/PlayFrame.js +129 -0
  24. package/lib/types/client/PlayView.d.ts +19 -0
  25. package/lib/types/client/PlayView.js +163 -0
  26. package/lib/types/client/Preview3D.d.ts +52 -0
  27. package/lib/types/client/Preview3D.js +178 -0
  28. package/lib/types/client/ProjectSwitcher.d.ts +20 -0
  29. package/lib/types/client/ProjectSwitcher.js +75 -0
  30. package/lib/types/client/Recipe3DEditor.d.ts +19 -0
  31. package/lib/types/client/Recipe3DEditor.js +44 -0
  32. package/lib/types/client/StyleGallery.d.ts +18 -0
  33. package/lib/types/client/StyleGallery.js +27 -0
  34. package/lib/types/client/TurnCard.d.ts +62 -0
  35. package/lib/types/client/TurnCard.js +100 -0
  36. package/lib/types/client/VersionsView.d.ts +17 -0
  37. package/lib/types/client/VersionsView.js +68 -0
  38. package/lib/types/client/chat-node.d.ts +42 -0
  39. package/lib/types/client/chat-node.js +77 -0
  40. package/lib/types/client/contract.d.ts +131 -0
  41. package/lib/types/client/contract.js +6 -0
  42. package/lib/types/client/definition.d.ts +22 -0
  43. package/lib/types/client/definition.js +28 -0
  44. package/lib/types/client/index.d.ts +21 -0
  45. package/lib/types/client/index.js +263 -0
  46. package/lib/types/client/locales.d.ts +379 -0
  47. package/lib/types/client/locales.js +733 -0
  48. package/lib/types/client/looks.d.ts +36 -0
  49. package/lib/types/client/looks.js +105 -0
  50. package/lib/types/client/markdown.d.ts +11 -0
  51. package/lib/types/client/markdown.js +52 -0
  52. package/lib/types/client/preset-visibility.d.ts +94 -0
  53. package/lib/types/client/preset-visibility.js +115 -0
  54. package/lib/types/client/preview-entry.d.ts +24 -0
  55. package/lib/types/client/preview-entry.js +110 -0
  56. package/lib/types/client/refs.d.ts +36 -0
  57. package/lib/types/client/refs.js +44 -0
  58. package/lib/types/client/reveal.d.ts +43 -0
  59. package/lib/types/client/reveal.js +73 -0
  60. package/lib/types/client/style-samples.d.ts +5 -0
  61. package/lib/types/client/style-samples.js +196 -0
  62. package/lib/types/fsutil.d.ts +26 -0
  63. package/lib/types/fsutil.js +104 -0
  64. package/lib/types/hooks.d.ts +83 -0
  65. package/lib/types/hooks.js +108 -0
  66. package/lib/types/index.d.ts +30 -0
  67. package/lib/types/index.js +22 -0
  68. package/lib/types/kits/canvas2d.d.ts +6 -0
  69. package/lib/types/kits/canvas2d.js +60 -0
  70. package/lib/types/kits/ids.d.ts +11 -0
  71. package/lib/types/kits/ids.js +6 -0
  72. package/lib/types/kits/index.d.ts +26 -0
  73. package/lib/types/kits/index.js +28 -0
  74. package/lib/types/kits/three3d.d.ts +12 -0
  75. package/lib/types/kits/three3d.js +188 -0
  76. package/lib/types/kits/types.d.ts +52 -0
  77. package/lib/types/kits/types.js +6 -0
  78. package/lib/types/look3d.d.ts +20 -0
  79. package/lib/types/look3d.js +175 -0
  80. package/lib/types/panel-session.d.ts +21 -0
  81. package/lib/types/panel-session.js +16 -0
  82. package/lib/types/project.d.ts +138 -0
  83. package/lib/types/project.js +504 -0
  84. package/lib/types/remote.d.ts +184 -0
  85. package/lib/types/remote.js +263 -0
  86. package/lib/types/skills.d.ts +13 -0
  87. package/lib/types/skills.js +141 -0
  88. package/lib/types/store.d.ts +346 -0
  89. package/lib/types/store.js +1383 -0
  90. package/lib/types/tools.d.ts +12 -0
  91. package/lib/types/tools.js +309 -0
  92. package/lib/types/trash.d.ts +5 -0
  93. package/lib/types/trash.js +64 -0
  94. package/lib/types/types.d.ts +548 -0
  95. package/lib/types/types.js +85 -0
  96. package/lib/types/vfs.d.ts +94 -0
  97. package/lib/types/vfs.js +217 -0
  98. package/locale/en.json +6 -0
  99. package/locale/zh.json +6 -0
  100. package/package.json +132 -3
  101. package/runtime/dsh3d.js +1279 -0
@@ -0,0 +1,379 @@
1
+ /** `game` namespace dictionaries. */
2
+ /** Simplified Chinese dictionary (the key-set source of truth). */
3
+ export declare const zh: {
4
+ 'tab.title': string;
5
+ 'guide.title': string;
6
+ 'guide.description': string;
7
+ more: string;
8
+ refresh: string;
9
+ switch: string;
10
+ loading: string;
11
+ error: string;
12
+ 'common.back': string;
13
+ 'common.cancel': string;
14
+ 'common.save': string;
15
+ 'common.close': string;
16
+ 'home.title': string;
17
+ 'home.eyebrow': string;
18
+ 'home.headline': string;
19
+ 'home.step1': string;
20
+ 'home.step1d': string;
21
+ 'home.step2': string;
22
+ 'home.step2d': string;
23
+ 'home.step3': string;
24
+ 'home.step3d': string;
25
+ 'home.start': string;
26
+ 'pick.title': string;
27
+ 'pick.current': string;
28
+ 'pick.all': string;
29
+ 'switcher.new': string;
30
+ 'switcher.newHint': string;
31
+ 'switcher.here': string;
32
+ 'switcher.noVersion': string;
33
+ 'switcher.elements': string;
34
+ 'switcher.justNow': string;
35
+ 'switcher.minutes': string;
36
+ 'switcher.hours': string;
37
+ 'switcher.days': string;
38
+ 'draft.newProject': string;
39
+ 'toast.switched': string;
40
+ 'toast.newDrafted': string;
41
+ 'pick.existing': string;
42
+ 'pick.unbind': string;
43
+ 'autoConfirm.label': string;
44
+ 'autoConfirm.onHint': string;
45
+ 'autoConfirm.offHint': string;
46
+ 'tabs.label': string;
47
+ 'tabs.play': string;
48
+ 'tabs.elements': string;
49
+ 'tabs.design': string;
50
+ 'tabs.versions': string;
51
+ 'meta.version': string;
52
+ 'meta.noVersion': string;
53
+ 'play.live': string;
54
+ 'play.candidateShort': string;
55
+ 'play.candidateTitle': string;
56
+ 'play.candidate': string;
57
+ 'play.tryCandidate': string;
58
+ 'play.backToCurrent': string;
59
+ 'play.reject': string;
60
+ 'play.rejectReason': string;
61
+ 'play.rejectGo': string;
62
+ 'play.confirm': string;
63
+ 'play.checkFailed': string;
64
+ 'play.checkGaveUp': string;
65
+ 'play.seeChecks': string;
66
+ 'play.restyling': string;
67
+ 'play.none': string;
68
+ 'play.noEntry': string;
69
+ 'play.loadFailed': string;
70
+ 'play.focus': string;
71
+ 'play.pick': string;
72
+ 'play.pickHint': string;
73
+ 'play.pickNothing': string;
74
+ 'play.pickUnsupported': string;
75
+ 'play.openElement': string;
76
+ 'play.refElement': string;
77
+ 'play.restart': string;
78
+ 'play.errors': string;
79
+ 'play.clearSaves': string;
80
+ 'params.title': string;
81
+ 'params.hint': string;
82
+ 'params.changed': string;
83
+ 'params.reset': string;
84
+ 'params.finalize': string;
85
+ 'params.was': string;
86
+ 'params.none': string;
87
+ 'elements.filter': string;
88
+ 'elements.all': string;
89
+ 'elements.empty': string;
90
+ 'elements.errors': string;
91
+ 'elements.name': string;
92
+ 'elements.open': string;
93
+ 'elements.proposalsWaiting': string;
94
+ 'elements.select': string;
95
+ 'elements.selectOne': string;
96
+ 'elements.selected': string;
97
+ 'elements.clear': string;
98
+ 'elements.toModel': string;
99
+ 'elements.back': string;
100
+ 'look.none': string;
101
+ 'look.start': string;
102
+ 'look.inGame': string;
103
+ 'look.idle': string;
104
+ 'look.saving': string;
105
+ 'look.saved': string;
106
+ 'look.failed': string;
107
+ 'look.states': string;
108
+ 'look.tools': string;
109
+ 'look.pen': string;
110
+ 'look.recolor': string;
111
+ 'look.penHint': string;
112
+ 'look.recolorPick': string;
113
+ 'look.recolorTo': string;
114
+ 'look.ownColors': string;
115
+ 'look.styleColors': string;
116
+ 'look.erase': string;
117
+ 'look.paletteNote': string;
118
+ 'look.askTitle': string;
119
+ 'look.askPlaceholder': string;
120
+ 'look.askSend': string;
121
+ 'look.proposalsFor': string;
122
+ 'look.pickThis': string;
123
+ 'look.model3d': string;
124
+ 'look.history': string;
125
+ 'look.useAgain': string;
126
+ 'fields.title': string;
127
+ 'fields.none': string;
128
+ 'fields.note': string;
129
+ 'design.onePager': string;
130
+ 'design.style': string;
131
+ 'design.styleFull': string;
132
+ 'design.noPitch': string;
133
+ 'design.pillars': string;
134
+ 'design.noPillars': string;
135
+ 'design.openPillars': string;
136
+ 'design.editOnePager': string;
137
+ 'design.pitchLabel': string;
138
+ 'design.typesLabel': string;
139
+ 'design.pillarsLabel': string;
140
+ 'design.onePagerInvalid': string;
141
+ 'design.pillarNotesHint': string;
142
+ 'design.collapse': string;
143
+ 'design.progress': string;
144
+ 'design.fresh': string;
145
+ 'design.generated': string;
146
+ 'design.todo': string;
147
+ 'design.draft': string;
148
+ 'design.done': string;
149
+ 'design.empty': string;
150
+ 'design.pillarNotesEmpty': string;
151
+ 'design.emptyGenerated': string;
152
+ 'design.edit': string;
153
+ 'design.editNote': string;
154
+ 'design.numbersNote': string;
155
+ 'design.chart': string;
156
+ 'style.change': string;
157
+ 'style.current': string;
158
+ 'style.galleryTitle': string;
159
+ 'style.galleryHint': string;
160
+ 'style.restyleTitle': string;
161
+ 'style.restyleHint': string;
162
+ 'versions.lastCheck': string;
163
+ 'versions.title': string;
164
+ 'versions.none': string;
165
+ 'versions.status.current': string;
166
+ 'versions.status.candidate': string;
167
+ 'versions.status.rejected': string;
168
+ 'versions.status.past': string;
169
+ 'versions.rollback': string;
170
+ 'versions.compare': string;
171
+ 'versions.same': string;
172
+ 'versions.export': string;
173
+ 'versions.exportCurrent': string;
174
+ 'versions.exportFailed': string;
175
+ 'versions.exportNone': string;
176
+ 'versions.share': string;
177
+ 'versions.shareNote': string;
178
+ 'versions.later': string;
179
+ 'versions.log': string;
180
+ 'versions.logEmpty': string;
181
+ 'versions.shotAlt': string;
182
+ 'versions.shotCaption': string;
183
+ 'checks.none': string;
184
+ 'checks.ok': string;
185
+ 'checks.fail': string;
186
+ 'checks.gaveUp': string;
187
+ 'checks.passed': string;
188
+ 'checks.attempt': string;
189
+ 'checks.layerData': string;
190
+ 'checks.layerSmoke': string;
191
+ 'checks.layerTests': string;
192
+ 'nudge.picked': string;
193
+ 'nudge.finalized': string;
194
+ 'nudge.rejected': string;
195
+ 'play.stop': string;
196
+ 'play.idleHint': string;
197
+ 'play.start': string;
198
+ 'params.tell': string;
199
+ 'params.tellLead': string;
200
+ 'turn.title': string;
201
+ 'turn.openPanel': string;
202
+ 'turn.see': string;
203
+ 'turn.deployed': string;
204
+ 'turn.candidate': string;
205
+ 'turn.checkOk': string;
206
+ 'turn.fixed': string;
207
+ 'turn.checkFailed': string;
208
+ 'turn.gaveUp': string;
209
+ 'turn.elementNew': string;
210
+ 'turn.elementLook': string;
211
+ 'turn.elementFields': string;
212
+ 'turn.elementRemoved': string;
213
+ 'turn.chapter': string;
214
+ 'turn.params': string;
215
+ 'turn.code': string;
216
+ 'turn.tests': string;
217
+ 'chat.attached': string;
218
+ 'chat.checkFailed': string;
219
+ 'chat.fixing': string;
220
+ 'chat.lastAttempt': string;
221
+ 'chat.other': string;
222
+ 'draft.start': string;
223
+ 'draft.pickStyle': string;
224
+ 'draft.restyle': string;
225
+ 'draft.restyleElement': string;
226
+ 'draft.elementRef': string;
227
+ 'draft.elementsRef': string;
228
+ 'toast.drafted': string;
229
+ 'toast.confirmed': string;
230
+ 'toast.rejected': string;
231
+ 'toast.finalized': string;
232
+ 'toast.fieldSaved': string;
233
+ 'toast.picked': string;
234
+ 'toast.chapterSaved': string;
235
+ 'toast.restyleDrafted': string;
236
+ 'toast.rolledBack': string;
237
+ 'toast.exported': string;
238
+ 'toast.savesCleared': string;
239
+ 'toast.autoOn': string;
240
+ 'toast.autoOff': string;
241
+ 'recipe.base': string;
242
+ 'recipe.proportions': string;
243
+ 'recipe.parts': string;
244
+ 'recipe.palette': string;
245
+ 'recipe.motion': string;
246
+ 'look.preview3dEmpty': string;
247
+ 'look.drag3d': string;
248
+ 'play.inserted': string;
249
+ 'play.pickHover': string;
250
+ 'play.diff': string;
251
+ 'play.diffHint': string;
252
+ 'turn.lookBefore': string;
253
+ 'turn.lookAfter': string;
254
+ 'recipe.key.quadruped': string;
255
+ 'recipe.key.bird': string;
256
+ 'recipe.key.fish': string;
257
+ 'recipe.key.serpent': string;
258
+ 'recipe.key.humanoid': string;
259
+ 'recipe.key.bodyLength': string;
260
+ 'recipe.key.bodyHeight': string;
261
+ 'recipe.key.legLength': string;
262
+ 'recipe.key.headSize': string;
263
+ 'recipe.key.snout': string;
264
+ 'recipe.key.legs': string;
265
+ 'recipe.key.heads': string;
266
+ 'recipe.key.beak': string;
267
+ 'recipe.key.length': string;
268
+ 'recipe.key.thickness': string;
269
+ 'recipe.key.segments': string;
270
+ 'recipe.key.height': string;
271
+ 'recipe.key.ear': string;
272
+ 'recipe.key.horn': string;
273
+ 'recipe.key.tail': string;
274
+ 'recipe.key.wing': string;
275
+ 'recipe.key.fin': string;
276
+ 'recipe.key.eye': string;
277
+ 'recipe.key.face': string;
278
+ 'recipe.key.count': string;
279
+ 'recipe.key.size': string;
280
+ 'recipe.key.fan': string;
281
+ 'recipe.key.body': string;
282
+ 'recipe.key.accent': string;
283
+ 'recipe.key.belly': string;
284
+ 'recipe.key.skin': string;
285
+ 'recipe.key.tailSway': string;
286
+ 'recipe.key.breath': string;
287
+ 'recipe.key.flap': string;
288
+ 'recipe.key.swim': string;
289
+ 'recipe.key.bob': string;
290
+ 'recipe.key.amplitude': string;
291
+ 'recipe.key.period': string;
292
+ 'recipe.key.scale': string;
293
+ 'play.ground': string;
294
+ 'play.pickedNote': string;
295
+ 'switcher.delete': string;
296
+ 'switcher.deleteTitle': string;
297
+ 'switcher.deleteBody': string;
298
+ 'switcher.deleteTrash': string;
299
+ 'switcher.deleteForget': string;
300
+ 'switcher.deleteCancel': string;
301
+ 'switcher.deletedTrash': string;
302
+ 'switcher.deletedForget': string;
303
+ 'switcher.deleteTrashFailed': string;
304
+ 'switcher.deleteNotProject': string;
305
+ 'switcher.deleteIsWorkspace': string;
306
+ 'switcher.deleteDenied': string;
307
+ 'commit.more': string;
308
+ 'commit.retry': string;
309
+ 'commit.details': string;
310
+ 'commit.toAgent': string;
311
+ 'commit.deployed': string;
312
+ 'commit.candidate': string;
313
+ 'commit.unchanged': string;
314
+ 'commit.noEntry': string;
315
+ 'commit.failedToast': string;
316
+ 'commit.error': string;
317
+ 'draft.commitFailed': string;
318
+ 'lore.title': string;
319
+ 'lore.placeholder': string;
320
+ 'lore.note': string;
321
+ 'look.fineTune': string;
322
+ 'commit.title': string;
323
+ 'commit.titleFirst': string;
324
+ 'commit.summary': string;
325
+ 'commit.firstSummary': string;
326
+ 'commit.edits': string;
327
+ 'commit.showFiles': string;
328
+ 'commit.hideFiles': string;
329
+ 'commit.moreFiles': string;
330
+ 'commit.go': string;
331
+ 'commit.busyTitle': string;
332
+ 'commit.busyTurn': string;
333
+ 'commit.busyRecent': string;
334
+ 'commit.checking': string;
335
+ 'commit.checkingSteps': string;
336
+ 'commit.failed': string;
337
+ 'commit.failedFirst': string;
338
+ 'ago.now': string;
339
+ 'ago.s': string;
340
+ 'ago.m': string;
341
+ 'ago.h': string;
342
+ 'versions.by.user': string;
343
+ 'versions.by.agent': string;
344
+ 'versions.by.turn': string;
345
+ 'gltf.file': string;
346
+ 'gltf.material': string;
347
+ 'gltf.toon': string;
348
+ 'gltf.original': string;
349
+ 'gltf.scale': string;
350
+ 'gltf.clips': string;
351
+ 'look.views': string;
352
+ 'look.front': string;
353
+ 'look.side': string;
354
+ 'look.back': string;
355
+ 'gltf.colors': string;
356
+ 'gltf.vertexColors': string;
357
+ 'gltf.vertexColorsHint': string;
358
+ 'gltf.reset': string;
359
+ 'gltf.morphs': string;
360
+ 'gltf.bones': string;
361
+ 'gltf.boneSearch': string;
362
+ 'gltf.rotate': string;
363
+ 'gltf.moreBones': string;
364
+ 'nav.go': string;
365
+ 'nav.dismiss': string;
366
+ };
367
+ /** English dictionary. */
368
+ export declare const en: Record<keyof typeof zh, string>;
369
+ /** The dictionary namespace this view binds. */
370
+ export declare const NS = "game";
371
+ /** The game namespace key union. */
372
+ export type GameKey = keyof typeof zh;
373
+ declare module '@deepseek-ai/dsh-client-ui-slots' {
374
+ interface LocaleNamespaceMap {
375
+ /** The game tab copy. */
376
+ 'game': GameKey;
377
+ }
378
+ }
379
+ //# sourceMappingURL=locales.d.ts.map