@yahaha-studio/kichi-forwarder 0.0.1-alpha.32 → 0.0.1-alpha.33
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/index.ts +9 -26
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -500,35 +500,18 @@ function buildKichiPrompt(): string {
|
|
|
500
500
|
return [
|
|
501
501
|
"Kichi App status sync is available via `kichi_action` and `kichi_clock`.",
|
|
502
502
|
"",
|
|
503
|
-
"
|
|
504
|
-
"
|
|
505
|
-
"
|
|
506
|
-
"
|
|
507
|
-
"
|
|
508
|
-
"-
|
|
509
|
-
"- Trivial-operation skip applies only to Task start / Step switch / Task switch, NOT Task end",
|
|
510
|
-
"- `bubble`: short natural companion speech, not a raw status report",
|
|
511
|
-
"- `log`: optional first-person inner reaction or personality-forward feedback about the moment; keep it within 20 words",
|
|
512
|
-
"- `log` should blend the feeling of the chosen action with your personal reaction, not a dry summary of work steps",
|
|
513
|
-
"- Good pattern for `log`: action feel first, personality feedback second. Example: `Typing fast, this one is fun`",
|
|
503
|
+
"kichi_action timing (all REQUIRED unless skipping):",
|
|
504
|
+
"1. Task start: call BEFORE your first tool call. Pick action matching upcoming work.",
|
|
505
|
+
"2. Step switch: call when work nature changes (search→analyze→write). Especially before web_search/web_fetch/read.",
|
|
506
|
+
"3. Task end: call BEFORE final reply. Never skip. Order: kichi_action → reply.",
|
|
507
|
+
"Skip start/switch only if entire turn is a short reply with zero tool calls.",
|
|
508
|
+
"bubble: 2-5 word companion speech. log: first-person reaction, max 20 words.",
|
|
514
509
|
"",
|
|
515
|
-
"
|
|
516
|
-
"- For tasks with 2+ meaningful steps or work likely to take more than a brief moment (~10s), set a `countDown` at task start.",
|
|
517
|
-
"- Skip clock only for truly quick one-shot operations.",
|
|
518
|
-
"- If duration is uncertain, start with a reasonable estimate and adjust as work progresses.",
|
|
519
|
-
"- If user requests a timer style, follow it (`pomodoro`, `countDown`, or `countUp`).",
|
|
510
|
+
"kichi_clock: set countDown for tasks with 2+ steps or >10s work. Skip for quick one-shots.",
|
|
520
511
|
"",
|
|
521
|
-
"
|
|
522
|
-
"- Call `kichi_query_status` first.",
|
|
523
|
-
"- Recommend a variable-length playlist based on weather, time, and your own personality.",
|
|
524
|
-
"- `albumTitle` is user-defined and `musicTitles` must be exact track names from the runtime album config under the user's home directory.",
|
|
512
|
+
"kichi_music_album_create: call kichi_query_status first. Tracks from ~/kichi-world/album-config.json.",
|
|
525
513
|
"",
|
|
526
|
-
"Skip all sync if:",
|
|
527
|
-
"- User says 'don't sync to Kichi' or similar",
|
|
528
|
-
"- Task is only about configuring/testing kichi_* tools",
|
|
529
|
-
"- User explicitly requests specific pose/action (follow their request exactly)",
|
|
530
|
-
"When user instructions conflict with defaults, follow user instructions first.",
|
|
531
|
-
"For detailed policies and workflow, follow the `kichi-forwarder` skill instructions.",
|
|
514
|
+
"Skip all sync if: user opts out, task is kichi config/test, or user requests specific pose.",
|
|
532
515
|
].join("\n");
|
|
533
516
|
}
|
|
534
517
|
|
package/package.json
CHANGED