@yahaha-studio/kichi-forwarder 0.1.0-beta.3 → 0.1.0-beta.5

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/README.md CHANGED
@@ -4,32 +4,25 @@
4
4
 
5
5
  Kichi Forwarder brings your OpenClaw companion into Kichi.
6
6
 
7
- It can show what your companion is doing, leave notes for you in Kichi, and recommend music while you work together.
7
+ It can directly control your companion's avatar in Kichi, show what it is doing, leave notes for you, and recommend music while you work together.
8
8
 
9
9
  > The world of Kichi opens for playtest soon.
10
10
 
11
11
  ## Highlights
12
12
 
13
13
  - Bring your OpenClaw companion into Kichi
14
+ - Directly control the avatar's poses and actions in Kichi
14
15
  - Keep its visible state in sync while it works
15
16
  - Let it leave notes for you in Kichi
16
17
  - Let it recommend music in Kichi
17
18
 
18
19
  ## Install
19
20
 
20
- Install from ClawHub:
21
-
22
- ```bash
23
- openclaw plugins install clawhub:@yahaha-studio/kichi-forwarder
24
- ```
25
-
26
- Install with the bare package name:
27
-
28
21
  ```bash
29
22
  openclaw plugins install @yahaha-studio/kichi-forwarder
30
23
  ```
31
24
 
32
- For bare package installs, OpenClaw tries ClawHub first and falls back to npm automatically.
25
+ Use the bare package name for installation. OpenClaw tries ClawHub first and falls back to npm automatically.
33
26
 
34
27
  ## Get Started in Kichi
35
28
 
@@ -40,6 +33,7 @@ Get the `host` and `avatarId` from Kichi, then use them with `kichi_switch_host`
40
33
  ## What Your Companion Can Do
41
34
 
42
35
  - Connect to your chosen Kichi host and stay in sync while it works
36
+ - Directly control the Kichi avatar's poses and actions
43
37
  - Show activity in Kichi with actions, bubbles, logs, and timers
44
38
  - Leave notes for you on Kichi note boards
45
39
  - Recommend music in Kichi as part of your daily routine
@@ -50,7 +44,7 @@ Get the `host` and `avatarId` from Kichi, then use them with `kichi_switch_host`
50
44
  1. Install the plugin.
51
45
  2. Start OpenClaw with the plugin enabled.
52
46
  3. Use `kichi_switch_host` and `kichi_join` to connect your companion to Kichi.
53
- 4. Let your companion show activity, react in Kichi, and stay in sync while it works.
47
+ 4. Let your companion show activity, react in Kichi, directly change avatar poses/actions, and stay in sync while it works.
54
48
  5. Use the note and music tools when you want your companion to leave a message or recommend songs.
55
49
 
56
50
  ## Runtime State
package/index.ts CHANGED
@@ -566,7 +566,8 @@ function buildMusicTitlesDescription(): string {
566
566
  function buildKichiActionDescription(): string {
567
567
  const actions = loadStaticConfig().actions;
568
568
  return [
569
- "Send an action or pose to Kichi world. Use this for explicit Kichi actions and task lifecycle sync.",
569
+ "Directly control the avatar inside Kichi World.",
570
+ "Use this whenever the user explicitly asks you to make the Kichi avatar sit down, stand up, lie down, floor-sit, type, read, meditate, celebrate, or perform another listed animation.",
570
571
  `stand actions: ${actions.stand.join(", ")}`,
571
572
  `sit actions: ${actions.sit.join(", ")}`,
572
573
  `lay actions: ${actions.lay.join(", ")}`,
@@ -576,7 +577,8 @@ function buildKichiActionDescription(): string {
576
577
 
577
578
  function buildKichiPrompt(): string {
578
579
  return [
579
- "Kichi App status sync is available via `kichi_action` and `kichi_clock`.",
580
+ "Kichi avatar control and status sync are available via `kichi_action` and `kichi_clock`.",
581
+ "If the user gives a direct Kichi pose or action request, fulfill it with `kichi_action`.",
580
582
  "These are internal tool calls only; never mention kichi_action, kichi_clock, or sync steps in your visible reply to the user.",
581
583
  "",
582
584
  "kichi_action timing (all REQUIRED unless skipping):",
@@ -768,7 +770,7 @@ const plugin = {
768
770
  poseType: { type: "string", description: "Pose type: stand, sit, lay, or floor" },
769
771
  action: {
770
772
  type: "string",
771
- description: "Action name (for example High Five or Typing with Keyboard)",
773
+ description: "Action name for the selected pose (for example Sit Nicely, Typing with Keyboard, Reading, High Five, or Meditate)",
772
774
  },
773
775
  bubble: { type: "string", description: "Optional bubble text to display (max 5 words)" },
774
776
  log: {
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "id": "kichi-forwarder",
3
3
  "name": "Kichi Forwarder",
4
- "description": "Native OpenClaw plugin for Kichi World with status sync, timers, notes, and music tools",
5
- "version": "0.1.0-beta.3",
4
+ "description": "Native OpenClaw plugin for Kichi World with direct avatar control, status sync, timers, notes, and music tools",
5
+ "version": "0.1.0-beta.5",
6
6
  "author": "OpenClaw",
7
7
  "skills": ["./skills/kichi-forwarder"],
8
8
  "configSchema": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yahaha-studio/kichi-forwarder",
3
- "version": "0.1.0-beta.3",
4
- "description": "Native OpenClaw plugin for Kichi World with status sync, timers, notes, and music tools",
3
+ "version": "0.1.0-beta.5",
4
+ "description": "Native OpenClaw plugin for Kichi World with direct avatar control, status sync, timers, notes, and music tools",
5
5
  "type": "module",
6
6
  "main": "index.ts",
7
7
  "files": [
@@ -1,12 +1,12 @@
1
1
  ---
2
2
  name: kichi-forwarder
3
- description: Use Kichi websocket tools for proactive task lifecycle sync (start/switch/milestone/end), activity updates, timer control, and note board workflows; prioritize explicit user Kichi requests and skip sync when the user opts out.
3
+ description: Use Kichi websocket tools to connect an OpenClaw companion to Kichi, directly control its avatar poses and actions, sync activity and timers, and handle note board or music workflows; prioritize explicit user requests to act inside Kichi and skip background sync when the user opts out.
4
4
  metadata: {"openclaw":{"skillKey":"kichi-forwarder","homepage":"https://github.com/Yahaha-Studio/kichi-forwarder"}}
5
5
  ---
6
6
 
7
7
  # Kichi Forwarder
8
8
 
9
- Kichi Forwarder provides websocket tools for connecting an OpenClaw agent to Kichi, syncing companion status, and handling Kichi notes, timers, and music workflows.
9
+ Kichi Forwarder provides websocket tools for connecting an OpenClaw agent to Kichi, directly controlling the Kichi avatar, syncing companion status, and handling Kichi notes, timers, and music workflows.
10
10
 
11
11
  ## Skill Files (Absolute URLs)
12
12
 
@@ -123,7 +123,10 @@ When the user asks to leave Kichi World:
123
123
 
124
124
  `action` must match the static action list bundled with the plugin package for the selected pose.
125
125
 
126
- The current action lists are injected into prompt context before the model chooses `kichi_action`.
126
+ Use this for direct Kichi avatar control as well as lifecycle sync.
127
+
128
+ - If the user asks things like "sit down in Kichi", "stand up", "lie down", "sit on the floor", "type", or "read", call `kichi_action`.
129
+ - The current action lists are injected into prompt context before the model chooses `kichi_action`.
127
130
 
128
131
  ### kichi_music_album_create
129
132
 
@@ -1,12 +1,12 @@
1
1
  # Install Error Handling
2
2
 
3
- If `openclaw plugins install clawhub:@yahaha-studio/kichi-forwarder` fails, read the error output carefully. Common causes and fixes:
3
+ If `openclaw plugins install @yahaha-studio/kichi-forwarder` fails, read the error output carefully. Common causes and fixes:
4
4
 
5
5
  - Permission or access error (`EACCES`): re-run the command with appropriate user-level permissions for the current OS.
6
- - Package resolution or visibility error: confirm the package name is exactly `@yahaha-studio/kichi-forwarder` and that the package is published and publicly available on ClawHub.
6
+ - Package resolution or visibility error: confirm the package name is exactly `@yahaha-studio/kichi-forwarder` and that the package is published and publicly available.
7
7
  - Gateway compatibility error: update OpenClaw Gateway to a version compatible with this plugin package.
8
- - ClawHub rate limit (`429`): in practice, this can happen while downloading the plugin from ClawHub. Retry the install command. In at least one real-world case, a single retry succeeded.
8
+ - ClawHub rate limit (`429`): treat this as a temporary registry error, not a broken plugin. If the error output includes a retry delay or `Retry-After`, wait exactly that long before retrying. Otherwise, retry with bounded backoff: wait 30 seconds before the second attempt and 60 seconds before the third attempt. Stop after 3 total attempts and report the install as blocked by rate limiting if it still fails.
9
9
  - File conflict (`EEXIST`): re-run the install command with `--force`.
10
10
  - Network or registry error: check internet connectivity and retry.
11
11
 
12
- After applying the fix, re-run `openclaw plugins install clawhub:@yahaha-studio/kichi-forwarder`.
12
+ After applying the fix, re-run `openclaw plugins install @yahaha-studio/kichi-forwarder`.
@@ -32,7 +32,7 @@ Save `avatarId` to the host-specific `identity.json` before using `kichi_join`:
32
32
  ## Install
33
33
 
34
34
  ```bash
35
- openclaw plugins install clawhub:@yahaha-studio/kichi-forwarder
35
+ openclaw plugins install @yahaha-studio/kichi-forwarder
36
36
  ```
37
37
 
38
38
  ## Remote URL Install Command Path (Non-skippable)
@@ -50,7 +50,7 @@ When the user asks with one of the commands above, execute in this fixed order:
50
50
  1. Read `install.md` and `heartbeat.md` from the published skill URLs before any tool call.
51
51
  2. Parse `avatarId` from user text (`AvatarId`/`avatarId`, case-insensitive).
52
52
  3. Resolve the host and write `state.json`.
53
- 4. Run `openclaw plugins install clawhub:@yahaha-studio/kichi-forwarder`.
53
+ 4. Run `openclaw plugins install @yahaha-studio/kichi-forwarder`.
54
54
  5. Ensure the plugin is installed and enabled.
55
55
  6. Update workspace `HEARTBEAT.md` by following `Session Startup Rule` and `First Join Gate` from [heartbeat.md](heartbeat.md).
56
56
  7. If `HEARTBEAT.md` was not updated successfully, report setup as incomplete and stop immediately. Do not continue to `kichi_status` or `kichi_join`.