@yahaha-studio/kichi-forwarder 0.0.1-alpha.49 → 0.0.1-alpha.51

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/src/types.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export type KichiForwarderConfig = {
2
- wsUrl: string;
2
+ defaultHost: string;
3
3
  };
4
4
 
5
5
  export type PoseType = "stand" | "sit" | "lay" | "floor";
@@ -11,9 +11,9 @@ export type ActionResult = {
11
11
  log?: string;
12
12
  };
13
13
 
14
- export type KichiRuntimeConfig = {
14
+ export type KichiStaticConfig = {
15
15
  actions: Record<PoseType, string[]>;
16
- llmRuntimeEnabled: boolean;
16
+ album: Album;
17
17
  };
18
18
 
19
19
  export type Track = {
@@ -28,8 +28,10 @@ export type Album = {
28
28
  track: Track[];
29
29
  };
30
30
 
31
- // Backward-compatible alias for older imports.
32
- export type SkillsConfig = KichiRuntimeConfig;
31
+ export type KichiState = {
32
+ currentHost: string;
33
+ llmRuntimeEnabled: boolean;
34
+ };
33
35
 
34
36
  export type KichiIdentity = {
35
37
  avatarId: string;
@@ -37,7 +39,9 @@ export type KichiIdentity = {
37
39
  };
38
40
 
39
41
  export type KichiConnectionStatus = {
42
+ host: string;
40
43
  wsUrl: string;
44
+ identityPath: string;
41
45
  connected: boolean;
42
46
  websocketState: "idle" | "connecting" | "open" | "closing" | "closed";
43
47
  hasIdentity: boolean;
@@ -96,17 +100,6 @@ export type StatusPayload = {
96
100
  log: string;
97
101
  };
98
102
 
99
- export type AvatarCommand = "look_at_screen";
100
-
101
- export type AvatarCommandPayload = {
102
- type: "avatar_command";
103
- avatarId: string;
104
- authKey: string;
105
- command: AvatarCommand;
106
- bubble?: string;
107
- log?: string;
108
- };
109
-
110
103
  export type HookNotifyType = "message_received" | "before_send_message";
111
104
 
112
105
  export type HookNotifyPayload = {
@@ -116,14 +109,6 @@ export type HookNotifyPayload = {
116
109
  bubble: string;
117
110
  };
118
111
 
119
- export type WorkspaceScreenPayload = {
120
- type: "workspace_screen";
121
- avatarId: string;
122
- authKey: string;
123
- text: string;
124
- ansi?: boolean;
125
- };
126
-
127
112
  export type ClockAction = "set" | "stop";
128
113
 
129
114
  export type ClockMode = "pomodoro" | "countDown" | "countUp";
@@ -1,509 +0,0 @@
1
- {
2
- "albumCount": 10,
3
- "trackCount": 58,
4
- "track": [
5
- {
6
- "album": "Dusty Bookshelves",
7
- "name": "A moment of calm",
8
- "tags": [
9
- "Gentle",
10
- "Relaxing",
11
- "Easy listening"
12
- ]
13
- },
14
- {
15
- "album": "Dusty Bookshelves",
16
- "name": "Closed Love",
17
- "tags": [
18
- "Dark ",
19
- "Magnificent"
20
- ]
21
- },
22
- {
23
- "album": "Dusty Bookshelves",
24
- "name": "In That Mood",
25
- "tags": [
26
- "Lounge Bar Cafe",
27
- "Relaxing"
28
- ]
29
- },
30
- {
31
- "album": "Dusty Bookshelves",
32
- "name": "Let It Happen",
33
- "tags": [
34
- "Lounge Restaurant Cafe",
35
- "Light"
36
- ]
37
- },
38
- {
39
- "album": "Dusty Bookshelves",
40
- "name": "Memories forever",
41
- "tags": [
42
- "Moving",
43
- "Gentle",
44
- "Warm",
45
- "Sad ballad"
46
- ]
47
- },
48
- {
49
- "album": "Dusty Bookshelves",
50
- "name": "Outer Space",
51
- "tags": [
52
- "Space ",
53
- "Magnificent"
54
- ]
55
- },
56
- {
57
- "album": "Dusty Bookshelves",
58
- "name": "Spiritual world",
59
- "tags": [
60
- "Inorganic",
61
- "Unrealistic",
62
- "Simple"
63
- ]
64
- },
65
- {
66
- "album": "Late Night Coder",
67
- "name": "Calm Time",
68
- "tags": [
69
- "Calm ",
70
- "Gentle"
71
- ]
72
- },
73
- {
74
- "album": "Late Night Coder",
75
- "name": "Counting the Stars",
76
- "tags": [
77
- "Gentle",
78
- "Calm",
79
- "Sleep",
80
- "Night",
81
- "Easy listening"
82
- ]
83
- },
84
- {
85
- "album": "Late Night Coder",
86
- "name": "Deserted landscape",
87
- "tags": [
88
- "Inorganic",
89
- "5 beats Polyrhythm"
90
- ]
91
- },
92
- {
93
- "album": "Late Night Coder",
94
- "name": "Dog Days",
95
- "tags": [
96
- "Slightly dark",
97
- "Drowsy"
98
- ]
99
- },
100
- {
101
- "album": "Late Night Coder",
102
- "name": "It Was an Unpleasant Incident",
103
- "tags": [
104
- "Gentle",
105
- "Slightly sad"
106
- ]
107
- },
108
- {
109
- "album": "Late Night Coder",
110
- "name": "The Dark Eternal Night",
111
- "tags": [
112
- "Slightly dark",
113
- "Eerie"
114
- ]
115
- },
116
- {
117
- "album": "Midnight Cyber-Transit",
118
- "name": "Afterimage Metaphor",
119
- "tags": [
120
- "Sad ",
121
- "Lonely",
122
- "Transparent"
123
- ]
124
- },
125
- {
126
- "album": "Midnight Cyber-Transit",
127
- "name": "I keep looking at the floor",
128
- "tags": [
129
- "Somewhat dark",
130
- "Empty"
131
- ]
132
- },
133
- {
134
- "album": "Midnight Cyber-Transit",
135
- "name": "Interstellar matter",
136
- "tags": [
137
- "Space ",
138
- "Floating feeling"
139
- ]
140
- },
141
- {
142
- "album": "Midnight Cyber-Transit",
143
- "name": "Special To Me",
144
- "tags": [
145
- "Bebop jazz",
146
- "Light",
147
- "Radio background music"
148
- ]
149
- },
150
- {
151
- "album": "Midnight Cyber-Transit",
152
- "name": "Specification",
153
- "tags": [
154
- "Slightly happy",
155
- "General"
156
- ]
157
- },
158
- {
159
- "album": "Morning Dew & Drip Coffee",
160
- "name": "Daytime activities",
161
- "tags": [
162
- "General",
163
- "Languid",
164
- "Daytime"
165
- ]
166
- },
167
- {
168
- "album": "Morning Dew & Drip Coffee",
169
- "name": "Enjoy the rest of your day",
170
- "tags": [
171
- "Comical",
172
- "Cheerful",
173
- "Fun",
174
- "Simple"
175
- ]
176
- },
177
- {
178
- "album": "Morning Dew & Drip Coffee",
179
- "name": "Entertainment Committee",
180
- "tags": [
181
- "Slightly bright",
182
- "Relaxing"
183
- ]
184
- },
185
- {
186
- "album": "Morning Dew & Drip Coffee",
187
- "name": "Heavy Rain",
188
- "tags": [
189
- "Inorganic",
190
- "Mysterious"
191
- ]
192
- },
193
- {
194
- "album": "Morning Dew & Drip Coffee",
195
- "name": "Lovely Day",
196
- "tags": [
197
- "Bright",
198
- "Gentle",
199
- "Calm"
200
- ]
201
- },
202
- {
203
- "album": "Morning Dew & Drip Coffee",
204
- "name": "Relax in the shade",
205
- "tags": [
206
- "Bright",
207
- "Kind",
208
- "Warm",
209
- "Fun",
210
- "Relaxing"
211
- ]
212
- },
213
- {
214
- "album": "Morning Dew & Drip Coffee",
215
- "name": "Spring is a nap",
216
- "tags": [
217
- "Relaxing",
218
- "Gentle",
219
- "Cheerful",
220
- "Easy listening"
221
- ]
222
- },
223
- {
224
- "album": "Morning Dew & Drip Coffee",
225
- "name": "Warm tea time",
226
- "tags": [
227
- "Slightly bright",
228
- "Gentle",
229
- "Ennui"
230
- ]
231
- },
232
- {
233
- "album": "Nostalgic Frequencies",
234
- "name": "Full of Energy",
235
- "tags": [
236
- "Slightly bright",
237
- "Uplifting",
238
- "Medium tempo"
239
- ]
240
- },
241
- {
242
- "album": "Nostalgic Frequencies",
243
- "name": "Someday in the Rain",
244
- "tags": [
245
- "Slightly bright",
246
- "Moist"
247
- ]
248
- },
249
- {
250
- "album": "Nostalgic Frequencies",
251
- "name": "Still in Love",
252
- "tags": [
253
- "Slightly sad"
254
- ]
255
- },
256
- {
257
- "album": "Nostalgic Frequencies",
258
- "name": "Trace",
259
- "tags": [
260
- "Melancholic",
261
- "Sentimental",
262
- "Nostalgic"
263
- ]
264
- },
265
- {
266
- "album": "Nostalgic Frequencies",
267
- "name": "Water Town",
268
- "tags": [
269
- "Slightly bright",
270
- "Gentle",
271
- "Simple"
272
- ]
273
- },
274
- {
275
- "album": "Overgrown Ruins",
276
- "name": "Blank and Silence",
277
- "tags": [
278
- "Light",
279
- "General purpose"
280
- ]
281
- },
282
- {
283
- "album": "Overgrown Ruins",
284
- "name": "Darkness of the New Moon",
285
- "tags": [
286
- "Dark",
287
- "Horror"
288
- ]
289
- },
290
- {
291
- "album": "Overgrown Ruins",
292
- "name": "Flowers that Bloom in Sadness",
293
- "tags": [
294
- "Slightly dark ",
295
- "Sad"
296
- ]
297
- },
298
- {
299
- "album": "Overgrown Ruins",
300
- "name": "The Price of Mistakes",
301
- "tags": [
302
- "Sad",
303
- "Painful",
304
- "Serious",
305
- "Flashback"
306
- ]
307
- },
308
- {
309
- "album": "Raindrops on the Windowpane",
310
- "name": "A little love there",
311
- "tags": [
312
- "Gentle ",
313
- "Slumber"
314
- ]
315
- },
316
- {
317
- "album": "Raindrops on the Windowpane",
318
- "name": "Beside You",
319
- "tags": [
320
- "Moving",
321
- "Gentle",
322
- "Warm",
323
- "Sad ballad"
324
- ]
325
- },
326
- {
327
- "album": "Raindrops on the Windowpane",
328
- "name": "Blue Star",
329
- "tags": [
330
- "Calm",
331
- "Night"
332
- ]
333
- },
334
- {
335
- "album": "Raindrops on the Windowpane",
336
- "name": "I want to get to know you",
337
- "tags": [
338
- "Touching",
339
- "Sad",
340
- "Kind"
341
- ]
342
- },
343
- {
344
- "album": "Raindrops on the Windowpane",
345
- "name": "Passing each other",
346
- "tags": [
347
- "Slightly dark",
348
- "Calm",
349
- "Weak"
350
- ]
351
- },
352
- {
353
- "album": "Raindrops on the Windowpane",
354
- "name": "Pieces of a Dream",
355
- "tags": [
356
- "Lounge Bar Relaxation"
357
- ]
358
- },
359
- {
360
- "album": "Raindrops on the Windowpane",
361
- "name": "Puzzle",
362
- "tags": [
363
- "Slightly dark",
364
- "Calm"
365
- ]
366
- },
367
- {
368
- "album": "Raindrops on the Windowpane",
369
- "name": "The meaning of tears",
370
- "tags": [
371
- "Touching ",
372
- "Mellow"
373
- ]
374
- },
375
- {
376
- "album": "Sunday Laundry",
377
- "name": "Abandoned cat in the Rain",
378
- "tags": [
379
- "Little dark",
380
- "Lonely"
381
- ]
382
- },
383
- {
384
- "album": "Sunday Laundry",
385
- "name": "Fairy Forest",
386
- "tags": [
387
- "Bright ",
388
- "Fantasy ",
389
- "Lively"
390
- ]
391
- },
392
- {
393
- "album": "Sunday Laundry",
394
- "name": "In the sunlight filtering through the trees",
395
- "tags": [
396
- "Bright",
397
- "Relaxed",
398
- "Peaceful"
399
- ]
400
- },
401
- {
402
- "album": "Sunday Laundry",
403
- "name": "Perfect Weather for a Walk",
404
- "tags": [
405
- "Cute",
406
- "Bright",
407
- "Simple",
408
- "Fun",
409
- "Relaxing"
410
- ]
411
- },
412
- {
413
- "album": "Sunday Laundry",
414
- "name": "Rural Prairie",
415
- "tags": [
416
- "Bright",
417
- "Pastoral",
418
- "Gentle"
419
- ]
420
- },
421
- {
422
- "album": "Sunday Laundry",
423
- "name": "Spring Classroom",
424
- "tags": [
425
- "Bright",
426
- "Gentle"
427
- ]
428
- },
429
- {
430
- "album": "Sunset at the Pier",
431
- "name": "Deep Sea Passage",
432
- "tags": [
433
- "Slightly bright",
434
- "Inorganic"
435
- ]
436
- },
437
- {
438
- "album": "Sunset at the Pier",
439
- "name": "Memory",
440
- "tags": [
441
- "Slightly dark",
442
- "Magnificent"
443
- ]
444
- },
445
- {
446
- "album": "Sunset at the Pier",
447
- "name": "Smiles and Tears",
448
- "tags": [
449
- "Slightly bright",
450
- "Sad"
451
- ]
452
- },
453
- {
454
- "album": "Sunset at the Pier",
455
- "name": "Surrounded by Silence",
456
- "tags": [
457
- "Gentle",
458
- "Calm",
459
- "Stylish",
460
- "Easy listening"
461
- ]
462
- },
463
- {
464
- "album": "Zenith Garden",
465
- "name": "Cold Sweat",
466
- "tags": [
467
- "Comical",
468
- "Failure",
469
- "Simple"
470
- ]
471
- },
472
- {
473
- "album": "Zenith Garden",
474
- "name": "Hometown Sunset",
475
- "tags": [
476
- "Slightly dark",
477
- "Gentle",
478
- "Simple"
479
- ]
480
- },
481
- {
482
- "album": "Zenith Garden",
483
- "name": "Nostalgia",
484
- "tags": [
485
- "Moving",
486
- "Sad",
487
- "Melancholy",
488
- "Lonely"
489
- ]
490
- },
491
- {
492
- "album": "Zenith Garden",
493
- "name": "Reverie",
494
- "tags": [
495
- "Slightly dark",
496
- "Transparent"
497
- ]
498
- },
499
- {
500
- "album": "Zenith Garden",
501
- "name": "Water Cave",
502
- "tags": [
503
- "Slightly dark",
504
- "Inorganic",
505
- "Transparent"
506
- ]
507
- }
508
- ]
509
- }