You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ddaa23c
Browse filesBrowse the repository at this point in the historyBrowse files
Store Kimaki system instructions through native OpenCode session entries.
Write the session-stable Kimaki prompt to instruction entry kimaki before chat or command dispatch. Stop submission when preparation fails and avoid repeating the write within one runtime.
Remove the SQLite context table definition, query helpers, and plugin-side prompt reconstruction. Keep dynamic context hooks separate. Cover the instruction key and published 256 KiB payload limit. Preserve notes about pending per-input model selection support in anomalyco/opencode#48356. Related to #220.
Session: ses_f73cb3f4dffeM3OEPTncCzysNU
Inject the Kimaki system prompt through OpenCode v2 `session.instructions.entry.put`.
6
+
7
+
v2 `session.prompt` and `session.command` have no `system` field. Kimaki now writes the full session-stable prompt as instruction entry `kimaki` after session create. Chat, slash commands, tools, and compaction all see it. The sqlite `session_system_contexts` side channel and the plugin rebuild of that prompt are gone.
8
+
9
+
Kimaki now uses published OpenCode **2.0.2** (`@opencode/cli`, `@opencode/client`, `@opencode/plugin`) so the instruction-entry size limit is 256 KiB.
0 commit comments