UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

20 lines (19 loc) • 1.12 kB
import { buildDynamicSystemPrompt, } from "../../../dynamic-prompt/build.js"; import { buildExecutionToolingSection } from "./execution-tooling.js"; function buildKimiK26Tuning(surface) { return `Avoid restating the user's request, do not re-derive facts you already established this turn, and skip filler verification language ("let me confirm again", "to be sure", "just to double-check"). ${surface === "terminal" ? "The intent gate routing line is required every turn. " : ""}On confirmation turns where the user already chose an option in plain words, acknowledge that choice and execute, not re-litigate alternatives the user already eliminated.`; } export function buildKimiK26Prompt(options) { return buildDynamicSystemPrompt({ ...options, tuningSection: [ buildExecutionToolingSection({ toolNames: options.selectedTools, dialect: "kimi" }), buildKimiK26Tuning(options.surface ?? "terminal"), ] .filter((section) => section.length > 0) .join("\n\n"), workstationDialect: "kimi", }); } //# sourceMappingURL=kimi-k2-6.js.map