tickmarkr 1.48.1 → 1.48.2
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/dist/adapters/kimi.js +9 -4
- package/package.json +1 -1
package/dist/adapters/kimi.js
CHANGED
|
@@ -64,10 +64,15 @@ export const kimi = {
|
|
|
64
64
|
: { ...h, authed: false, note: "no valid ~/.kimi-code/credentials/kimi-code.json (kimi login to fix)" };
|
|
65
65
|
},
|
|
66
66
|
channels: (cfg) => channelsFromConfig("kimi", cfg),
|
|
67
|
-
// KIMI-02 headless. -p prompt mode +
|
|
68
|
-
// with -y at parse time
|
|
69
|
-
|
|
70
|
-
|
|
67
|
+
// KIMI-02 headless. -p prompt mode + explicit model, NO permission flag: kimi 0.26.0 rejects
|
|
68
|
+
// -p combined with -y/--auto at argument parse time ("Cannot combine --prompt with --yolo",
|
|
69
|
+
// OBS-67 — doctor probes all failed on it), and prompt mode is already non-interactive with
|
|
70
|
+
// tool actions auto-approved (live-verified 2026-07-17: unattended file write succeeded).
|
|
71
|
+
headlessCommand: (promptFile, model) => `kimi -p "$(cat ${shq(promptFile)})" --model ${shq(model)} --output-format text`,
|
|
72
|
+
// kimi 0.26.0 has NO TUI argv-seeding surface: a positional prompt parses as a subcommand
|
|
73
|
+
// ("unknown command '…'", live-verified 2026-07-17, OBS-67) and -p is non-interactive-only.
|
|
74
|
+
// null → the daemon's print fallback (types.ts:101) keeps kimi workers visible without a TUI.
|
|
75
|
+
interactiveCommand: () => null,
|
|
71
76
|
invoke(task, _cwd, a, ctx) {
|
|
72
77
|
return { command: this.headlessCommand(ctx.promptFile, a.model) };
|
|
73
78
|
},
|