kiki-agent-lite 0.4.2 → 0.5.0
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/docs/en/configuration/config-files.md +32 -19
- package/dist/docs/en/configuration/data-locations.md +23 -1
- package/dist/docs/en/configuration/env-vars.md +6 -8
- package/dist/docs/en/configuration/overrides.md +19 -8
- package/dist/docs/en/configuration/providers.md +75 -4
- package/dist/docs/en/customization/agents-and-subagents.md +6 -2
- package/dist/docs/en/customization/personas.md +36 -2
- package/dist/docs/en/customization/plugins.md +41 -1
- package/dist/docs/en/customization/prompt-fields.md +4 -0
- package/dist/docs/en/features/agent-workflows.md +8 -8
- package/dist/docs/en/features/browser-and-computer.md +40 -0
- package/dist/docs/en/features/daily.md +10 -10
- package/dist/docs/en/features/ecosystem.md +5 -5
- package/dist/docs/en/features/extend.md +9 -8
- package/dist/docs/en/features/freedom.md +8 -8
- package/dist/docs/en/features/index.md +44 -28
- package/dist/docs/en/features/long-work.md +9 -9
- package/dist/docs/en/features/look.md +5 -5
- package/dist/docs/en/features/people.md +6 -6
- package/dist/docs/en/features/phone.md +5 -3
- package/dist/docs/en/features/spaces.md +7 -7
- package/dist/docs/en/features/workbench.md +8 -8
- package/dist/docs/en/guides/interface.md +16 -4
- package/dist/docs/en/guides/sessions.md +6 -2
- package/dist/docs/en/guides/settings.md +15 -2
- package/dist/docs/en/reference/command.md +58 -1
- package/dist/docs/en/reference/tools.md +25 -5
- package/dist/docs/en/server/acp.md +3 -1
- package/dist/docs/en/server/mcp.md +5 -1
- package/dist/docs/en/server/rest-api.md +115 -4
- package/dist/docs/zh/configuration/config-files.md +32 -19
- package/dist/docs/zh/configuration/data-locations.md +23 -1
- package/dist/docs/zh/configuration/env-vars.md +6 -8
- package/dist/docs/zh/configuration/overrides.md +19 -8
- package/dist/docs/zh/configuration/providers.md +75 -4
- package/dist/docs/zh/customization/agents-and-subagents.md +6 -2
- package/dist/docs/zh/customization/personas.md +36 -2
- package/dist/docs/zh/customization/plugins.md +41 -1
- package/dist/docs/zh/customization/prompt-fields.md +4 -0
- package/dist/docs/zh/features/agent-workflows.md +10 -10
- package/dist/docs/zh/features/browser-and-computer.md +40 -0
- package/dist/docs/zh/features/daily.md +10 -10
- package/dist/docs/zh/features/ecosystem.md +5 -5
- package/dist/docs/zh/features/extend.md +8 -7
- package/dist/docs/zh/features/freedom.md +8 -8
- package/dist/docs/zh/features/index.md +44 -28
- package/dist/docs/zh/features/long-work.md +8 -8
- package/dist/docs/zh/features/look.md +5 -5
- package/dist/docs/zh/features/people.md +5 -5
- package/dist/docs/zh/features/phone.md +5 -3
- package/dist/docs/zh/features/spaces.md +7 -7
- package/dist/docs/zh/features/workbench.md +8 -8
- package/dist/docs/zh/guides/interface.md +16 -4
- package/dist/docs/zh/guides/sessions.md +6 -2
- package/dist/docs/zh/guides/settings.md +15 -2
- package/dist/docs/zh/reference/command.md +58 -1
- package/dist/docs/zh/reference/tools.md +25 -5
- package/dist/docs/zh/server/acp.md +3 -1
- package/dist/docs/zh/server/mcp.md +5 -1
- package/dist/docs/zh/server/rest-api.md +114 -3
- package/dist/hostRunner.mjs +92 -1
- package/dist/mailbox-worker.mjs +297 -0
- package/dist/main.mjs +2 -2
- package/dist/native/windows-process-helper.exe +0 -0
- package/dist/query-store-worker.mjs +446 -0
- package/dist/sqlite-indexer.mjs +223 -401
- package/dist/sqlite-query-worker.mjs +226 -249
- package/dist/usage-parser-worker.mjs +24 -5
- package/dist/web/assets/AppErrorBoundary-BN6IDdP1.js +1 -0
- package/dist/web/assets/{LifeMark-CL6-HWDu.js → LifeMark-UBMVaTWr.js} +1 -1
- package/dist/web/assets/{NavScopeBoundary-CFCnvZR0.js → NavScopeBoundary-BCryw-UG.js} +1 -1
- package/dist/web/assets/{arc-DYDCMlOS.js → arc-C7IAvCCJ.js} +1 -1
- package/dist/web/assets/{architectureDiagram-3BPJPVTR-C9Y7T0O2.js → architectureDiagram-3BPJPVTR-CbwFBxn7.js} +1 -1
- package/dist/web/assets/{blockDiagram-GPEHLZMM-CdUrp-tD.js → blockDiagram-GPEHLZMM-B20N4t8r.js} +1 -1
- package/dist/web/assets/{c4Diagram-AAUBKEIU-PrwvB9IJ.js → c4Diagram-AAUBKEIU-3BYtlcP-.js} +1 -1
- package/dist/web/assets/channel-BJs5vJuh.js +1 -0
- package/dist/web/assets/{chunk-2J33WTMH-BL56g_Es.js → chunk-2J33WTMH-CpjgczxM.js} +1 -1
- package/dist/web/assets/{chunk-4BX2VUAB-DvJD5M9M.js → chunk-4BX2VUAB-BScxUF5G.js} +1 -1
- package/dist/web/assets/{chunk-55IACEB6-C8f-nzvx.js → chunk-55IACEB6-CrcLYJXd.js} +1 -1
- package/dist/web/assets/{chunk-727SXJPM-DOGkWKkV.js → chunk-727SXJPM-BwlyIOjw.js} +1 -1
- package/dist/web/assets/{chunk-AQP2D5EJ-fFOuz7g6.js → chunk-AQP2D5EJ-DKKIRkRv.js} +1 -1
- package/dist/web/assets/{chunk-FMBD7UC4-BpeXZ9LM.js → chunk-FMBD7UC4-CVDMj2kX.js} +1 -1
- package/dist/web/assets/{chunk-ND2GUHAM-CRUh76fb.js → chunk-ND2GUHAM-CL-PM6r8.js} +1 -1
- package/dist/web/assets/{chunk-QZHKN3VN-uNfxaPk0.js → chunk-QZHKN3VN-DPV2KbKZ.js} +1 -1
- package/dist/web/assets/classDiagram-4FO5ZUOK-BookeACB.js +1 -0
- package/dist/web/assets/classDiagram-v2-Q7XG4LA2-BookeACB.js +1 -0
- package/dist/web/assets/client-CXcrCawx.js +3 -0
- package/dist/web/assets/connection-C8nwzwXB.js +1 -0
- package/dist/web/assets/{cose-bilkent-S5V4N54A-BNkxG-qX.js → cose-bilkent-S5V4N54A-D1CEiQM6.js} +1 -1
- package/dist/web/assets/{dagre-BM42HDAG-BerioUei.js → dagre-BM42HDAG-BlFV941E.js} +1 -1
- package/dist/web/assets/{diagram-2AECGRRQ-Czv2SR07.js → diagram-2AECGRRQ-BC0ldkFY.js} +1 -1
- package/dist/web/assets/{diagram-5GNKFQAL-Uzi1weGK.js → diagram-5GNKFQAL-B22Iej6G.js} +1 -1
- package/dist/web/assets/{diagram-KO2AKTUF-W36h_ff3.js → diagram-KO2AKTUF-B75UNw6D.js} +1 -1
- package/dist/web/assets/{diagram-LMA3HP47-FG4dDk52.js → diagram-LMA3HP47-CypI7IJM.js} +1 -1
- package/dist/web/assets/{diagram-OG6HWLK6-CQoEjIAY.js → diagram-OG6HWLK6-OsXumvcD.js} +1 -1
- package/dist/web/assets/{erDiagram-TEJ5UH35-Ck06KVyZ.js → erDiagram-TEJ5UH35-3756GOvS.js} +1 -1
- package/dist/web/assets/{export-T_izwEkQ.js → export-Bn8PqPg4.js} +1 -1
- package/dist/web/assets/{flowDiagram-I6XJVG4X-C5hgxdFZ.js → flowDiagram-I6XJVG4X-DB6Y_UDg.js} +1 -1
- package/dist/web/assets/{ganttDiagram-6RSMTGT7-BS52Pw5_.js → ganttDiagram-6RSMTGT7-CHJeuoAY.js} +1 -1
- package/dist/web/assets/{gitGraphDiagram-PVQCEYII-DLlQKZHs.js → gitGraphDiagram-PVQCEYII-Dj85554Y.js} +1 -1
- package/dist/web/assets/{highlighted-body-OFNGDK62-Btm6MuZ4.js → highlighted-body-OFNGDK62-DMgPHetp.js} +1 -1
- package/dist/web/assets/{index-CZX3qUe2.js → index-0tHq8zh2.js} +1 -1
- package/dist/web/assets/index-7ySDqvaN.css +1 -0
- package/dist/web/assets/index-B0KPRi1U.js +166 -0
- package/dist/web/assets/{index-CRDDqofN.js → index-B599VnpP.js} +1 -1
- package/dist/web/assets/{index-Cd62y0wD.js → index-BFK-GypQ.js} +1 -1
- package/dist/web/assets/{index-BMWid2q9.js → index-BPX8gmpB.js} +1 -1
- package/dist/web/assets/{index-5_yzg61S.js → index-BSGYc1tb.js} +1 -1
- package/dist/web/assets/{index-CJ92kLtO.js → index-BTt9Q5iv.js} +1 -1
- package/dist/web/assets/{index-B4iu4SJW.js → index-BWzUsoY_.js} +1 -1
- package/dist/web/assets/{index-CgcJPsK6.js → index-BYlSV3FO.js} +1 -1
- package/dist/web/assets/{index-BkPV0psm.js → index-BpXQ1q-u.js} +1 -1
- package/dist/web/assets/{index-Dceu0bqY.js → index-BqPxpGUh.js} +1 -1
- package/dist/web/assets/{index-CM-nNfuV.js → index-C6qeLCPw.js} +4 -4
- package/dist/web/assets/{index-ByiwExpV.js → index-C7mOS2T4.js} +1 -1
- package/dist/web/assets/{index-CG8uIlD7.js → index-C8OFfbEs.js} +1 -1
- package/dist/web/assets/{index-B-6LiYTY.js → index-CI7yuMGZ.js} +1 -1
- package/dist/web/assets/{index-B2Pu0Iuu.js → index-CJqIcuAl.js} +1 -1
- package/dist/web/assets/{index-BECSk4If.js → index-CTRJmDep.js} +1 -1
- package/dist/web/assets/{index-Bezli3SF.js → index-CXGCKoId.js} +1 -1
- package/dist/web/assets/{index-hG2s2Spn.js → index-CsY571EL.js} +1 -1
- package/dist/web/assets/{index-BFcyN2Zw.js → index-CwQG_9rB.js} +1 -1
- package/dist/web/assets/{index-BLU8_Um7.js → index-D--cw39y.js} +1 -1
- package/dist/web/assets/{index-B9MlqF7J.js → index-D260jsUJ.js} +1 -1
- package/dist/web/assets/{index-D_oPSlBL.js → index-DJjmEXx4.js} +1 -1
- package/dist/web/assets/{index-BNch_a4L.js → index-DRMjjql1.js} +1 -1
- package/dist/web/assets/{index-BeMvPEXs.js → index-DUxOVxHS.js} +1 -1
- package/dist/web/assets/{index-Ca607_hK.js → index-DZMkZKhW.js} +1 -1
- package/dist/web/assets/{index-BwcG86o3.js → index-DqK8MfQN.js} +1 -1
- package/dist/web/assets/{index-DKIysLbI.js → index-DxUmR9aV.js} +1 -1
- package/dist/web/assets/{index-Cy8C_eFR.js → index-GK8aa9pT.js} +1 -1
- package/dist/web/assets/{index-Bg99yVX_.js → index-bYtKyBMB.js} +1 -1
- package/dist/web/assets/{index-eUyF-8Sq.js → index-wxHFHTgD.js} +1 -1
- package/dist/web/assets/{infoDiagram-5YYISTIA-CD4XJGFm.js → infoDiagram-5YYISTIA-DeDPIdEH.js} +1 -1
- package/dist/web/assets/{ishikawaDiagram-YF4QCWOH-fu5E3_CT.js → ishikawaDiagram-YF4QCWOH-ButuBiBW.js} +1 -1
- package/dist/web/assets/{journeyDiagram-JHISSGLW-CXcnKBfJ.js → journeyDiagram-JHISSGLW-Dlbmqm-j.js} +1 -1
- package/dist/web/assets/{kanban-definition-UN3LZRKU-BawKH6Pl.js → kanban-definition-UN3LZRKU-tlQK1cOz.js} +1 -1
- package/dist/web/assets/{linear-BplJuXph.js → linear-iXuNfUWp.js} +1 -1
- package/dist/web/assets/mermaid-GHXKKRXX-sDJax95P.js +624 -0
- package/dist/web/assets/{mindmap-definition-RKZ34NQL-DA1SE2uy.js → mindmap-definition-RKZ34NQL-2qPv-mwT.js} +1 -1
- package/dist/web/assets/{pieDiagram-4H26LBE5-6i021QeX.js → pieDiagram-4H26LBE5-CrLe1C-O.js} +1 -1
- package/dist/web/assets/{quadrantDiagram-W4KKPZXB-CcKSZDMT.js → quadrantDiagram-W4KKPZXB-DfeIFxc0.js} +1 -1
- package/dist/web/assets/{requirementDiagram-4Y6WPE33-lYVuWRuD.js → requirementDiagram-4Y6WPE33-BWtjdxie.js} +1 -1
- package/dist/web/assets/{sankeyDiagram-5OEKKPKP-4Zfb4_h4.js → sankeyDiagram-5OEKKPKP-B5TxJ6mb.js} +1 -1
- package/dist/web/assets/{sequenceDiagram-3UESZ5HK-DqltKmlY.js → sequenceDiagram-3UESZ5HK-Cf92ZCl1.js} +1 -1
- package/dist/web/assets/{spaces-CjuXbmxF.js → spaces-DqMTtCXX.js} +1 -1
- package/dist/web/assets/{stateDiagram-AJRCARHV-HFdhqxzx.js → stateDiagram-AJRCARHV-NR9I-Q4d.js} +1 -1
- package/dist/web/assets/stateDiagram-v2-BHNVJYJU-BiegFWxE.js +1 -0
- package/dist/web/assets/{theme-beWE_6f8.js → theme-6OL1RXgY.js} +1 -1
- package/dist/web/assets/{timeline-definition-PNZ67QCA-HNRxaB3t.js → timeline-definition-PNZ67QCA-CBAOVMfm.js} +1 -1
- package/dist/web/assets/{vennDiagram-CIIHVFJN-DwsCTyaD.js → vennDiagram-CIIHVFJN-C68x6TdS.js} +1 -1
- package/dist/web/assets/{wardley-L42UT6IY-BWW2wtVO.js → wardley-L42UT6IY-DuZZr5jm.js} +1 -1
- package/dist/web/assets/{wardleyDiagram-YWT4CUSO-C-ktKm7v.js → wardleyDiagram-YWT4CUSO-D6dVGtHd.js} +1 -1
- package/dist/web/assets/{xychartDiagram-2RQKCTM6-48AxNW9k.js → xychartDiagram-2RQKCTM6-DYLUhZX4.js} +1 -1
- package/dist/web/index.html +2 -2
- package/native/auth-native/prebuilds/linux-arm64/auth-native.node +0 -0
- package/native/auth-native/prebuilds/linux-x64/auth-native.node +0 -0
- package/native/auth-native/prebuilds/win32-arm64/auth-native.node +0 -0
- package/native/auth-native/prebuilds/win32-x64/auth-native.node +0 -0
- package/package.json +2 -2
- package/dist/search-worker.mjs +0 -14177
- package/dist/web/assets/AppErrorBoundary-DiGMUg4r.js +0 -1
- package/dist/web/assets/channel-Bj_gZ_Lv.js +0 -1
- package/dist/web/assets/classDiagram-4FO5ZUOK-ssCwe2R4.js +0 -1
- package/dist/web/assets/classDiagram-v2-Q7XG4LA2-ssCwe2R4.js +0 -1
- package/dist/web/assets/client-DGj93bGT.js +0 -3
- package/dist/web/assets/connection-Bpf-EjrL.js +0 -1
- package/dist/web/assets/index-BIebkSEI.css +0 -1
- package/dist/web/assets/index-D8z7lcQn.js +0 -166
- package/dist/web/assets/mermaid-GHXKKRXX-BO9hkP3Z.js +0 -621
- package/dist/web/assets/stateDiagram-v2-BHNVJYJU-Dx28QuZF.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
|
-
title:
|
|
2
|
+
title: Personas & Discussion Rooms
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# Personas & Discussion Rooms
|
|
6
6
|
|
|
7
7
|
A persona is a long-term identity: a name, an avatar, a job description, the standing rules for how it should work, and its own memory. It is a Markdown file you can read and edit, it has a fixed daily conversation you can return to, and it can take part in a **room** where several of them discuss a topic. This page covers the persona card, the daily entry, the memory it keeps, and rooms.
|
|
8
8
|
|
|
@@ -40,7 +40,7 @@ The persona card: name, avatar, responsibility, and the standing rules it works
|
|
|
40
40
|
|
|
41
41
|
One persona's settings: the profile it rides on, its model and effort, the working directory, how it is delivered, whether it is pinned or hidden from the sidebar, and which memory it can read\.
|
|
42
42
|
|
|
43
|
-
##
|
|
43
|
+
## Daily conversation
|
|
44
44
|
|
|
45
45
|
Every persona has a stable address for its daily conversation — the same entry the sidebar row, the switcher, the header, and the persona page all point at. Clicking a persona's name lands you in that one conversation, so "ask Xiaolan" means the same thing every time. If it does not exist yet, the entry opens a fresh daily draft and adopts it once it exists.
|
|
46
46
|
|
|
@@ -50,13 +50,13 @@ This same conversation is where a persona is reachable without you typing to it.
|
|
|
50
50
|
|
|
51
51
|
One persona and the several conversations it holds, listed under its name\.
|
|
52
52
|
|
|
53
|
-
##
|
|
53
|
+
## Persona memory
|
|
54
54
|
|
|
55
55
|
Persona memory follows the persona, across profiles and models — switching the model does not lose what it knows. Persona-specific entries stay isolated from other personas. By default the persona can also read the shared global and workspace memory; set `memory.shared: []` to exclude those. Deleting a persona also removes its persona memory namespaces, and if that cleanup fails the deletion reports the error and keeps the card so you can retry.
|
|
56
56
|
|
|
57
57
|
The **/memory** page exposes the persona scope alongside global and workspace, including the namespaces its persistent conversation uses. See [Memory](/en/guides/memory#personas) and [Personas, Bots, and rooms](/en/customization/personas#memory-and-character-cards).
|
|
58
58
|
|
|
59
|
-
##
|
|
59
|
+
## Discussion rooms
|
|
60
60
|
|
|
61
61
|
A room gives two to six members a shared conversation with a host, a budget, and pause and continue. Persona members get their own message-mode sessions inside the room; existing threads can join as themselves, keeping their own sessions, workspaces, and permissions. In the GUI, Ctrl/⌘-click threads in the sidebar and choose **Pull into a new room**, use **Add to room…** on a thread, add them from the **Threads** tab under **Add member**, or pick **Open a room with these threads** on a thread link.
|
|
62
62
|
|
|
@@ -82,6 +82,6 @@ A room that also holds threads, listed under their own tab when you go to add a
|
|
|
82
82
|
|
|
83
83
|
- [Personas, Bots, and rooms](/en/customization/personas) — the full reference for personas, home conversations, and rooms
|
|
84
84
|
- [Agent profiles: concepts and design](/en/customization/agent-profiles) — the execution side: tools, permissions, model, prompt
|
|
85
|
-
- [
|
|
85
|
+
- [Goals, Queues, Cron & Memory](/en/features/long-work) — what personas remember across sessions
|
|
86
86
|
|
|
87
87
|
[Online version with images](https://x-t-e-r.github.io/kiki/en/features/people.html)
|
|
@@ -4,11 +4,13 @@ title: Phone session
|
|
|
4
4
|
|
|
5
5
|
# Phone session
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Connect an IM account and bind each of its channels to a persona's daily conversation or a thread you pick. Different contacts, chats or supported group topics can use different targets under the same account. Open **Settings → Notifications & messages**, where **Two-way chat**, **Push channels**, and **System alerts** are organized into separate tabs with **Two-way chat** open by default.
|
|
8
8
|
|
|
9
|
-
Paste a setup and check it, or scan a WeChat code from this page. WeChat does not ask for a token or a numeric id here.
|
|
9
|
+
Paste a setup and check it, or scan a WeChat code from this page. WeChat does not ask for a token or a numeric id here. Under the connected account, choose **Add channel**, start listening, and send a message from the contact, group or topic you want to add. Kiki shows the sender, channel and a short preview; choose a persona or thread for that discovery, then **Bind**. Each discovery has its own target. Adding another channel needs no new scan or setup paste, and a chat id inside the paste is not a binding. The current WeChat connection supports direct messages only: contacts can have separate bindings, while group discoveries remain visible with binding disabled.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
If authorization expires, choose **Authorize again** for that account. If its connection stops, choose **Retry connection**. A reconnecting account shows the reported failure when available; expand it for numeric details.
|
|
12
|
+
|
|
13
|
+
Each bound row has its own target, **IM conversation** switch and **Options**. Change the target, busy behavior, message text mode, approvals and questions, or restore the binding default there. Editing or confirming a paused binding does not turn it back on; enable it explicitly and check its conversation switch. While a turn is busy, the next phone message can wait in the queue or steer into the current turn. The phone can show the full visible text when the turn settles, or the text already written. Several questions stay together until each one has an answer. Approvals and questions can be answered from the phone, including after Kiki restarts, as long as they are still open. On QQ and WeChat, each number answers the next open question, and words that are not one of the choices stay with that question. A sign-in that asks for a password stays on the desktop SSH screen. If Kiki restarts before the phone has the whole visible text, the rest of that text still arrives. The turn is not started again.
|
|
12
14
|
|
|
13
15
|
QQ and WeChat use full-text replies without message editing or buttons; answer questions with the numbered choices. QQ cannot take a file, and the generic OneBot bridge has no identifiable message-too-long error category. A rejected QQ reply is not marked as delivered, and the complete reply remains available on the desktop. Kiki does not treat an unknown failure as a length rejection and automatically resend it in pieces. When WeChat rejects a message as too long, the full text goes out as one file. A voice the platform cannot send as voice is sent as the original file, and that difference is counted on its own.
|
|
14
16
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
---
|
|
2
|
-
title:
|
|
2
|
+
title: Spaces, Remote Links & SSH
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# Spaces, Remote Links & SSH
|
|
6
6
|
|
|
7
7
|
Kiki runs where you run it, and the things it can reach are yours to decide. This page covers the four places that reach: **spaces**, which model the Kikis you open; **remote connections**, which point one Kiki at another with an approval on each side; **thread bridges**, which let one Kiki send messages into another without being able to browse it; and **Web access**, which opens this Kiki in a browser. It ends with in-session SSH, the one reach that is just a session's own resource.
|
|
8
8
|
|
|
9
9
|
Nothing here is a relay through someone else's server. Sessions live under your Kiki home on the machine the server runs on; a remote connection or a web link is a door you open, with a credential you can revoke.
|
|
10
10
|
|
|
11
|
-
## Spaces
|
|
11
|
+
## Spaces & work modes {#spaces-the-kikis-you-open}
|
|
12
12
|
|
|
13
13
|
A **space** is one Kiki you work in. The main space manages the list; the spaces themselves are what you open. Each one can have its own shortcuts, its own window behavior, and its own credential scope, so a work Kiki and a personal Kiki can sit side by side without sharing what they can sign in to.
|
|
14
14
|
|
|
15
15
|
Credentials are the decision each subspace makes. **Shared** means the subspace reuses the main space's credentials; **isolated** means it keeps its own, so signing into a personal account in one subspace does not change the other. The space settings detail also shows, per item, what the space follows and what it fixes, so you can see whether a value is inherited or pinned. You can copy SSH profiles from one space into another, or copy one here, without moving anything by hand.
|
|
16
16
|
|
|
17
|
-
Change the credential scope on the subspace's own card in **Settings → Spaces**. See [Settings pages](/en/guides/settings) for the other sections of that dialog, and [
|
|
17
|
+
Change the credential scope on the subspace's own card in **Settings → Spaces**. See [Settings pages](/en/guides/settings) for the other sections of that dialog, and [Models, Prompts & Permissions](/en/features/freedom) for what those credentials reach.
|
|
18
18
|
|
|
19
19
|
A **work mode** is a working surface inside a space, not another data boundary. The mode picker offers Kiki and Work by default; explicitly setting `KIKI_EXPERIMENTAL_WORK_PRESETS=false` or `[experimental] work_presets = false` keeps it off. Each space has its own Work setup, name and preferred task. Selecting Work offers Office, writing, extraction and table-check starters; its setup shows the packages that are actually installed and asks before installing missing packages or OfficeCLI. A failed setup retains the packages that succeeded so you can retry the rest. Switching modes does not change an existing session's model, profile or permissions, and removing a mode keeps its documents, sessions and shared plugins.
|
|
20
20
|
|
|
@@ -26,7 +26,7 @@ One space's own settings sheet, where each row says whether it follows the main
|
|
|
26
26
|
|
|
27
27
|
Choosing a space's credential scope: share the main space's accounts and keys, or keep this space's separate\.
|
|
28
28
|
|
|
29
|
-
## Remote connections
|
|
29
|
+
## Remote connections
|
|
30
30
|
|
|
31
31
|
A remote connection is a directed link from this Kiki's home to another Kiki home on another machine. It is not a shared login: the target has its own identity, and it must approve the source before anything flows.
|
|
32
32
|
|
|
@@ -42,7 +42,7 @@ The remote connections list: one row per peer Kiki, each with its own state and
|
|
|
42
42
|
|
|
43
43
|
This Kiki's identity string, and the gate deciding which other Kikis may connect to it — off by default, with each allowed one listed and revocable\.
|
|
44
44
|
|
|
45
|
-
## Thread bridges
|
|
45
|
+
## Thread bridges
|
|
46
46
|
|
|
47
47
|
A thread bridge is a one-way channel for thread messages between two homes. It is deliberately narrower than a remote connection: the target home approves the exact source and target scopes, the operations — `read`, `send`, `wait`, and `wake` only if you ask for it — and an expiry, and the bridge carries nothing else. Without `wake`, sends stay pending rather than starting a model turn on the other side.
|
|
48
48
|
|
|
@@ -50,7 +50,7 @@ A bridge never grants GUI browsing access, and GUI tokens and SSH logins do not
|
|
|
50
50
|
|
|
51
51
|
See [`kiki bridges`](/en/reference/command#kiki-bridges).
|
|
52
52
|
|
|
53
|
-
## Web access
|
|
53
|
+
## Web access
|
|
54
54
|
|
|
55
55
|
Web access opens **this** Kiki from a browser on another device. Whoever holds the link can use it in full, with the same access you have — it is not a read-only share, and a temporary entry is temporary only in how long it stays open.
|
|
56
56
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
|
-
title:
|
|
2
|
+
title: Subagents & Multi-Model
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# Subagents & Multi-Model
|
|
6
6
|
|
|
7
7
|
Every Kiki session has one **main agent**. When the job is bigger than a single turn, the main agent splits it and dispatches **subagents** — each with its own isolated context — and you can watch all of it in one window. This page covers what the workbench does with one task: how the main session fans out, how each role can run a different model, where a subagent's own work lives, and what happens in the background while you talk to the lead.
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## One local daemon
|
|
10
10
|
|
|
11
11
|
The desktop app, the terminal UI (`kiki`), and the browser UI (`kiki web`) are three front ends to the same local daemon. They read and write the same session data, so a session you start in the terminal is the session you open in the browser, and vice versa. That is the "one workbench" part: pick whichever surface fits the moment.
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ The desktop app, the terminal UI (`kiki`), and the browser UI (`kiki web`) are t
|
|
|
14
14
|
- [First launch](/en/getting-started/first-launch) for the terminal path
|
|
15
15
|
- [Local server and API](/en/server/local-server) for the browser path
|
|
16
16
|
|
|
17
|
-
##
|
|
17
|
+
## Subagent dispatch
|
|
18
18
|
|
|
19
19
|
You hand the main agent a task — a coding change, a research question, a bug to track down. It plans, calls tools, and when the work divides cleanly it dispatches subagents to handle the focused pieces: exploring an unfamiliar codebase, reviewing several implementations in parallel, or planning a large refactor without touching the main context.
|
|
20
20
|
|
|
@@ -24,7 +24,7 @@ Fresh installs ship two subagent profiles: `general`, a general-purpose assistan
|
|
|
24
24
|
|
|
25
25
|
See [Agents and Sub-Agents](/en/customization/agents-and-subagents) for the full dispatch contract, context isolation, and permission inheritance.
|
|
26
26
|
|
|
27
|
-
##
|
|
27
|
+
## Per-role models
|
|
28
28
|
|
|
29
29
|
Different lines of work do not have to share a model. Bind the main agent, each subagent, and the reviewer to different models — or different vendors — and one session runs all of them at once. A strong reasoning model can plan while cheaper models do the routine work, and a reviewer running on a different model family brings an outside perspective to the decision the implementer already made.
|
|
30
30
|
|
|
@@ -36,7 +36,7 @@ The dispatch tree of one session, with each role bound to its own model\.
|
|
|
36
36
|
|
|
37
37
|
One session running several roles at once: the right rail lists the main agent's state, its todos, and each child agent with the model it is bound to\.
|
|
38
38
|
|
|
39
|
-
##
|
|
39
|
+
## Subagent transcripts {#a-subagent-keeps-its-own-record}
|
|
40
40
|
|
|
41
41
|
Open any dispatched subagent to read its own transcript: what it was asked, what it did, and what it concluded — next to the main session, without loading the main agent's conversation. The same right rail follows you into the subagent, so you can inspect its context and cost the same way.
|
|
42
42
|
|
|
@@ -46,7 +46,7 @@ A subagent's own session: its separate transcript, its own composer, and a compo
|
|
|
46
46
|
|
|
47
47
|
The right rail of a subagent, showing the same state, todos, working notes, and session overview the main agent gets\.
|
|
48
48
|
|
|
49
|
-
## Background tasks
|
|
49
|
+
## Background tasks
|
|
50
50
|
|
|
51
51
|
Long shell commands and subagents do not have to hold the foreground. Send them to the background and Kiki notifies the main agent automatically when they finish, with the result inline and the full-output path retained — so neither you nor the agent has to keep checking. You can inspect a running task's status and output, and stop one at any time. Stopping an agent task also reports any direct subagents still running under it.
|
|
52
52
|
|
|
@@ -58,7 +58,7 @@ The tasks page filtered to all tasks, one running, one completed, and one failed
|
|
|
58
58
|
|
|
59
59
|
## Next steps
|
|
60
60
|
|
|
61
|
-
- [
|
|
61
|
+
- [Goals, Queues, Cron & Memory](/en/features/long-work) — goals, the queue, scheduled tasks, the board, and memory
|
|
62
62
|
- [Agents and Sub-Agents](/en/customization/agents-and-subagents) — the full dispatch and model-binding reference
|
|
63
63
|
- [Interface overview](/en/guides/interface) — how the workbench window is arranged
|
|
64
64
|
|
|
@@ -6,7 +6,9 @@ The desktop app and the browser UI are the same interface, and a session in eith
|
|
|
6
6
|
|
|
7
7
|
This is the session timeline: assistant messages, tool calls, approvals, questions, and background-task notices.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
If a turn ends without a reply, its footer says whether background work is still running, no work is executing, or the activity is unknown. If **Send again** is available, it restores the original message text to the input box without sending it.
|
|
10
|
+
|
|
11
|
+
Messages from another agent or conversation show the source title above the body, falling back to its task name or short ID when no title is available. Hover over the label to see its full identity; select it to open the source agent or a conversation available in the current connection. Copying or quoting uses the body without repeating the label; editing keeps the original source prefix. A source label you type yourself stays literal. Context injected after a user message stays after that message when you reopen or continue loading the conversation.
|
|
10
12
|
|
|
11
13
|
Anything that has been resolved — a question you answered, an approval you granted, a marker — collapses into a compact one-line entry that stays where it happened. Several in a row fold into an **Activity history** row you can expand. Expanding or collapsing a conversation row keeps your reading position; scrolling takes over again. Failed and cancelled entries always stay visible on their own. Repeating markers such as goal updates show the latest one with a count ("Goal updated ×12") when nothing else separates them.
|
|
12
14
|
|
|
@@ -38,7 +40,13 @@ Scheduled prompts in the same queue have a **Scheduled job** label and a text pr
|
|
|
38
40
|
|
|
39
41
|
Waiting prompts set to **Insert when idle** share one group at the front of the queue, with each job's text and **Remove** action inside it. A prompt set to **Insert immediately** shows its timing on its own row. Both modes stay outside the ordinary send order, so they are not counted among messages waiting to send and have no reorder or send-now controls. **Remove** cancels only that pending occurrence; a recurring job stays scheduled and can fire again at its next scheduled time.
|
|
40
42
|
|
|
41
|
-
To pick the timing for a message you submit, hover the send button or focus it and press `↓`. Besides the default, you can send the message into the current turn so the agent reads it at its next safe step (
|
|
43
|
+
To pick the timing for a message you submit, hover the send button or focus it and press `↓`. Besides the default, you can send the message into the current turn so the agent reads it at its next safe step (`Ctrl-Enter` with the default send shortcut), start it after the running subagents finish, or start it after all background tasks finish. The timing you choose applies to that one message. The menu only appears while the agent is busy.
|
|
44
|
+
|
|
45
|
+
With the native executor, compatible queued messages ready at the same safe step are sent together as one model input. Steering and submit hooks run once for that batch; each original message keeps its own history entry and result. A message added after that step has begun stays in a later batch.
|
|
46
|
+
|
|
47
|
+
A profile or engine change needs a separate turn even with **Send now**. Messages with different execution settings are not batched together. If the message stays queued, Kiki explains the reported reason.
|
|
48
|
+
|
|
49
|
+
When the main agent is blocked waiting on a foreground `AgentRun`, **Send now** moves that wait to the background without stopping the child, which still reports back when it completes; plain queueing does not.
|
|
42
50
|
|
|
43
51
|
Stop the main agent before it has replied or called a tool and the interrupted prompt goes back into the session draft with its attachments, next to any edits you had not sent. A prompt the agent already answered or was steered by is not restored, and recovered attachments need the full prompt in the loaded transcript and stay in memory until you restart the app.
|
|
44
52
|
|
|
@@ -52,11 +60,15 @@ An approval appears in the timeline before a protected operation runs, with the
|
|
|
52
60
|
|
|
53
61
|
## Right rail
|
|
54
62
|
|
|
55
|
-
The rail describes one agent at a time — whichever you last clicked into or focused. The main agent and every subagent get the same page, and the rail follows you into a subagent's transcript. It shows what that agent is doing now,
|
|
63
|
+
The rail describes one agent at a time — whichever you last clicked into or focused. The main agent and every subagent get the same page, and the rail follows you into a subagent's transcript. It shows what that agent is doing now, items waiting on you, the activity feed, and two independently folded capability sections.
|
|
56
64
|
|
|
57
65
|
The agent tree labels external executors beside each agent's name. An **off** thinking effort is shown only when it was explicitly selected.
|
|
58
66
|
|
|
59
|
-
|
|
67
|
+
**Capability inventory** has **Tools**, **Skills**, and **Subagents** tabs. The tools list includes plugin and MCP tools. Each subagent row names the profile and route, and whether that child can be launched now. Who this agent may start is set on the profile under **Child agents** — see [Dispatch capabilities](./settings.md#dispatch-capabilities).
|
|
68
|
+
|
|
69
|
+
**Capability controls** holds plugin usage, system-capability switches, and MCP server choices for this conversation. These controls stay separate from the inventory. Enabling **Browser** allows browser tools within the current tool policy; browser settings show the available connections and any connection failures. Ego Lite uses the native `browser__ego_run` tool rather than a separate list of typed page tools.
|
|
70
|
+
|
|
71
|
+
**IM conversation** lists the channels bound to this conversation, with a separate switch for each binding. Channels from one account, including Telegram topics, can belong to different conversations. An unrelated account's reconnecting state does not appear here. When an incoming channel is awaiting confirmation, **Bind here** explicitly links it to this conversation.
|
|
60
72
|
|
|
61
73
|
On desktop-width screens the rail is open by default. **Standard / Cockpit** in its header widens it over the preview space while the conversation and composer stay in the main column; **Standard** or **Exit cockpit** puts the previous preview content, tabs, draft and width back.
|
|
62
74
|
|
|
@@ -24,6 +24,8 @@ Sessions are saved under `$KIKI_HOME/sessions/` (default: `~/.kiki/sessions/`),
|
|
|
24
24
|
- `state.json`: session metadata such as title and creation time.
|
|
25
25
|
- `agents/*/wire.jsonl`: the agent event stream, used for session recovery and replay. It also carries a request trace — the tool definitions, request parameters, and MCP tool listings sent to the model — for debugging.
|
|
26
26
|
|
|
27
|
+
[`kiki session seal`](../reference/command.md#kiki-session) keeps each `wire.jsonl` and does not shrink it. An active session is refused. A read that is already open waits. A damaged seal fails instead of quietly using the raw file, and [`kiki session unseal`](../reference/command.md#kiki-session) removes the seal so later reads use the original file again.
|
|
28
|
+
|
|
27
29
|
::: warning
|
|
28
30
|
Do not manually edit files inside the `sessions/` directory — doing so may prevent sessions from being restored correctly.
|
|
29
31
|
:::
|
|
@@ -60,7 +62,9 @@ In the workspace view, the title row of a real workspace shows a plus while you
|
|
|
60
62
|
|
|
61
63
|
To use a [Profile Markdown file](../customization/agent-profiles.md) directly, open the execution menu beside the composer and choose **Use a profile file…**. Enter its path on the connected host, preview it, then choose **Use this profile**. Relative paths use the selected workspace or directory; automatic workspace creation requires an absolute path. A valid file does not need to appear in the main-profile menu, and selecting it does not register or copy it. If preview fails, keep the draft and retry or choose another profile.
|
|
62
64
|
|
|
63
|
-
Stopping creation keeps the draft and waits for the request's result; it does not undo a session already created on the server. Once creation is confirmed, send again with the same choices to reuse that session, or choose **Open created session** without sending.
|
|
65
|
+
Stopping creation keeps the draft and waits for the request's result; it does not undo a session already created on the server. Once creation is confirmed, send again with the same choices to reuse that session, or choose **Open created session** without sending.
|
|
66
|
+
|
|
67
|
+
If creation is unconfirmed, sending again with the same choices reuses the original creation request. You can also open that session to check it. With **Persist composer drafts** on, the draft and creation identity survive refresh; refreshing does not resend.
|
|
64
68
|
|
|
65
69
|
Opening a saved session reads its history without waking an inactive session's agents, and selecting a subagent reads that subagent's history without the main agent's conversation. The session activates when you send, edit or regenerate a message, answer an approval or question, or steer a prompt. If activation fails, nothing is sent and the history stays readable. Reading a session never stops work already running in it.
|
|
66
70
|
|
|
@@ -118,7 +122,7 @@ Open **Settings → Sessions → Manage archived conversations** to browse saved
|
|
|
118
122
|
**Delete** permanently removes that conversation and its still-attached archived descendants; explicitly top-level threads remain independent, and unarchived conversations are kept. **Delete all archived conversations** covers every archive in the current connection's home, across all pages and regardless of the search. Both actions ask for confirmation; cancelling leaves the data unchanged. Deletion cannot be undone. The page stays pending until the operation finishes, then refreshes the list. If some items fail, it lists those items rather than reporting complete success; check the refreshed list before retrying.
|
|
119
123
|
|
|
120
124
|
|
|
121
|
-
If
|
|
125
|
+
If opening or refreshing an existing conversation fails, the GUI stays on that conversation and keeps its loaded history and draft. The error appears above the history, with a request ID when available. Choose **Retry** to read the conversation again; a temporary read failure does not create a new session.
|
|
122
126
|
|
|
123
127
|
Editing a queued prompt's text or delivery timing through Kiki keeps its identity on recovery; you do not need to restore the original text or send a duplicate. Messages not yet launched stay pending when Kiki's backend shuts down normally. After recovery, review and resume the saved queue. Already launched messages are not automatically resent if their result is unknown; check the saved result before resending. Explicitly cancelled requests stay cancelled, including those cancelled by archiving or deleting the session.
|
|
124
128
|
|
|
@@ -14,6 +14,7 @@ The settings sidebar groups twenty entries under seven headings: **App**, **Mode
|
|
|
14
14
|
| Agent profiles, prompt-field overrides | **Models & agents → Agents → Agent profiles** |
|
|
15
15
|
| Low-frequency long-term memory reminders | [`loop_control.continuity_cadence.memory_maintenance`](../configuration/config-files.md#continuity-reminder-settings) in `config.toml` |
|
|
16
16
|
| Whether input drafts are remembered | **App → General** |
|
|
17
|
+
| Move selected settings to another home or device | **App → General → Settings transfer** |
|
|
17
18
|
| Background-task limits and scheduled tasks | **Sessions & work → Sessions** |
|
|
18
19
|
| Search and retrieval configuration source | **Capabilities → Search & retrieval** |
|
|
19
20
|
| Installed plugins, skills, and MCP servers | **Capabilities → Extensions & tools** |
|
|
@@ -29,6 +30,18 @@ The settings sidebar groups twenty entries under seven headings: **App**, **Mode
|
|
|
29
30
|
| Send usage to another service | **Usage → External sync** |
|
|
30
31
|
| TUI theme, editor, and other CLI-side preferences | The `/config` commands in the terminal, see [CLI counterpart](#cli-counterpart) |
|
|
31
32
|
|
|
33
|
+
## Import and export settings
|
|
34
|
+
|
|
35
|
+
Open **Settings → App → General → Settings transfer**, then **Import or export**. Export lets you select several categories, with item counts: models and providers, agents and prompts, permissions and sessions, tools/MCP/plugins, browser and computer, notifications/IM, and appearance/device preferences. **Include credentials** is off by default. Turn it on only when the downloaded JSON file will stay private; the file contains the stored credentials, not masked placeholders. External account sign-ins are not transferred.
|
|
36
|
+
|
|
37
|
+
On the target, choose **Import** and select a `kiki.settings` JSON file up to 8 MiB. Check the target home and space, select the categories, then review the new, conflicting and skipped counts. **Keep existing**, the default, preserves existing IDs, keys and resources, including explicit inherited restrictions. **Replace selected** replaces only keys and resources present in the selected categories, retaining everything else. Importing without credentials also retains the target's existing credentials. **Cancel** writes nothing.
|
|
38
|
+
|
|
39
|
+
The package contains explicit settings from the source home, valid user Profiles and `SYSTEM.md`, referenced prompt TOML files, user MCP definitions, and saved device preferences. It does not copy inherited defaults, project or system-wide profile directories, chat history, caches, installed plugin/Recipe packages, or skin assets. Install required components separately and check machine-specific paths and commands on the target. A missing or unsafe referenced prompt file prevents the package from being exported or applied.
|
|
40
|
+
|
|
41
|
+
**Include credentials** also transfers search API keys saved in Kiki, checked against their provider, slot and endpoint bindings. Environment-variable names in settings are retained, but keys from process environment variables or another app's login or credential files are not copied. MCP definitions with inline header or token arguments are omitted when credentials are not selected.
|
|
42
|
+
|
|
43
|
+
After **Apply**, Kiki reads the saved values back and reports each changed item's status. A partial result means some items were saved; review the statuses and preview again before retrying. Configuration is reloaded after saving. Profile changes and settings that apply only to new sessions take effect in a new session; an existing conversation keeps its bound prompt sources until you [rebuild its context](../customization/agents-and-subagents.md#rebuilding-a-session-context).
|
|
44
|
+
|
|
32
45
|
## Connections
|
|
33
46
|
|
|
34
47
|
**Settings → Models & agents → Models & providers** opens **Providers & accounts** (`/settings/ai?tab=providers`), the first of the page's four tabs; **Models**, **Defaults**, and **Identity** sit beside it. `/settings/providers` opens the same tab. The page has three blocks, in this order.
|
|
@@ -231,10 +244,10 @@ Open **Usage** in the sidebar (`/usage`). The tabs are **Live**, **History**, **
|
|
|
231
244
|
|
|
232
245
|
- **Live:** model requests and live agents appear as two vertically arranged groups, each with its own expandable details. Request details show running and queued native-request counts across this service, breakdowns by model, provider and role, and waiting rows with blocking rule IDs and elapsed queue time. Agent details show main, subagent and independent execution counts, with breakdowns by executor, profile, model or role. If the connection fails, the last counts are marked stale. On the same tab, **Concurrency limits** lets you add or edit rules, choose a model or provider target, and set a shared or per-session cap. The switch pauses a rule without deleting it. Saving applies the rule to new and queued requests without stopping active streams.
|
|
233
246
|
- **History:** costs and token usage for a date range, defaulting to today. Follow a trend bar to its consumption sources, then open session records and recorded turns on demand; filters stay with the view. Previous-period comparisons are read only when requested. Token usage and cost have separate completeness indicators; **Data reliability** distinguishes unknown accounting from empty ranges. Existing filtered usage links open History. See [Usage statistics](./sessions.md#gui-usage-statistics).
|
|
234
|
-
- **Quotas:** balances, credits, usage windows and other metrics reported by configured providers and services, separate from Kiki's local usage accounting. Cards show the source account, status and available meters. Use **Refresh quotas** to refresh eligible sources, or a card's refresh action for one source.
|
|
247
|
+
- **Quotas:** balances, credits, usage windows and other metrics reported by configured providers and services, separate from Kiki's local usage accounting. Cards show the source account, status and available meters. A source that requires authentication offers the appropriate sign-in or settings action. Signing in rereads the account and locally cached quota status without querying the vendor or turning on a paused check. Use **Refresh quotas** to refresh eligible sources, or a card's refresh action for one source. Missing or unsupported metrics are not treated as a zero balance.
|
|
235
248
|
- **External sync:** destinations that receive this server's own usage. Three kinds are available: **vibecafe.ai**, **Kiki webhook**, and **Script**. Only the model, the UTC half-hour, the four token counts, quality and cost go out — never a prompt, answer, title, workspace name or path.
|
|
236
249
|
|
|
237
|
-
A **vibecafe.ai** destination signs in from the page itself: press **Sign in to VibeCafe
|
|
250
|
+
A **vibecafe.ai** destination signs in from the page itself: press **Sign in to VibeCafe** and approve the displayed code in your browser. No address, client id, key or storage choice is needed. Kiki saves the credential on the connected server, using its system keyring or, if unavailable, a private file protected by filesystem permissions rather than encryption at rest. The saved connection survives a restart. If saving fails, use **Try again**; the previous credential is kept. To supply your own endpoint or key, choose **Kiki webhook** instead.
|
|
238
251
|
|
|
239
252
|
A **Kiki webhook** destination takes your own HTTPS endpoint, with `none`, `bearer`, or `hmac` authentication and optional gzip. A secret is stored either in the system keyring or, if you choose that explicitly, in a private file on the server — the keyring is not silently substituted if it fails, and the file is protected by filesystem permissions rather than encrypted at rest.
|
|
240
253
|
|
|
@@ -149,7 +149,64 @@ Thread communication is allowed and off by default. A user setting of `[thread_c
|
|
|
149
149
|
|
|
150
150
|
## Subcommands
|
|
151
151
|
|
|
152
|
-
`kiki` provides the following subcommands: `serve` (start, reuse, or stop the shared daemon), `seat` (manage external-caller seats), `mcp` (run the stdio MCP edge), `doctor` (diagnose the daemon connection), `prompt-fields` (discover and validate prompt fields), `login` (non-interactive OAuth login), `acp` (ACP IDE mode), `web` (the compatible foreground REST/WebSocket/web service), `export` (export a session), and `provider` (manage providers).
|
|
152
|
+
`kiki` provides the following subcommands: `session` (inspect saved timelines), `storage` (upgrade and back up canonical mailboxes), `serve` (start, reuse, or stop the shared daemon), `seat` (manage external-caller seats), `mcp` (run the stdio MCP edge), `doctor` (diagnose the daemon connection), `prompt-fields` (discover and validate prompt fields), `login` (non-interactive OAuth login), `acp` (ACP IDE mode), `web` (the compatible foreground REST/WebSocket/web service), `export` (export a session), and `provider` (manage providers).
|
|
153
|
+
|
|
154
|
+
### `kiki session`
|
|
155
|
+
|
|
156
|
+
Read saved session timelines without resuming the session, acquiring its writer lock, or sending model requests:
|
|
157
|
+
|
|
158
|
+
```sh
|
|
159
|
+
kiki session list
|
|
160
|
+
kiki session show <session_id> --agent main
|
|
161
|
+
kiki session show <session_id> --agent main --json
|
|
162
|
+
kiki session show <session_id> --agent main --before <cursor>
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
`show` accepts a `session_<uuid>` ID, a bare UUID, or an `/s/session_<uuid>` link. Use `--workspace <workspace-id>` to select a copy when the same session exists in more than one workspace. For a different home, set the `KIKI_HOME` environment variable before running the command.
|
|
166
|
+
|
|
167
|
+
Large timelines open in bounded windows rather than failing at a whole-file size limit. The default target is the newest 8 MiB of wire records. `--max-bytes <bytes>` sets a target from 1 to 8,388,608 bytes. The reader searches back up to another 64 MiB for a turn opening; actual reads can therefore exceed the target. A page spans at most 72 MiB, with at most 136 MiB plus one 64 KiB alignment block of total read I/O. If a long turn has no opening within that search, the page starts at a complete record instead and remains pageable. A single record exceeding the 64 MiB limit is reported as a resource limit, with JSON error code `inspection_limit`, without changing or declaring the session damaged.
|
|
168
|
+
|
|
169
|
+
JSON identifies page edges with `wire.startBoundary` (`turn` or `record`) and `wire.endBoundary` (`turn`, `record` or `watermark`). When either edge is `record`, the page is a turn continuation: `timeline` contains `type: "wire-record"` entries with absolute `byteOffset`, stable `id` (`<agent>:wire:<byteOffset>`) and the original `record`, rather than reconstructed complete-turn messages. JSON consumers must handle these entries as raw records. Text output labels them `turn continuation`. This preserves records such as a tool result whose call is on another page; continue with `Older` to read that earlier context.
|
|
170
|
+
|
|
171
|
+
Text output includes an `Older` command. JSON returns `wire.nextCursor`, byte boundaries and the original `watermark` (the file size fixed when this pagination began). Pass the cursor with the same session, workspace and agent to read the preceding window. The cursor is bound to that wire file's identity and first size. Normal appends do not shift the page boundaries; replacement, shortening or a same-size edit that changes the modification time rejects the cursor. Same-size edits preserving that time, and same-file prefix edits followed by growth, are not detected by this check. Cursor mismatches and invalid window arguments return `invalid_option` in JSON.
|
|
172
|
+
|
|
173
|
+
`selectedAgent.wireComplete=false` means the selected timeline is partial; each agent summary has its own `wireComplete`. Complete-turn pages contain timeline projections, while continuation pages contain raw records. Neither represents a complete session-state snapshot: messages and state changes outside the window have not been replayed. The session header and summaries of other agents describe the currently saved files, not their state at the selected page's watermark. Continue paging to inspect earlier records; the canonical journal remains intact.
|
|
174
|
+
|
|
175
|
+
`--follow` observes saved changes without attaching to the running agent. With `--json`, it writes one snapshot per NDJSON line. `--before` and `--follow` are mutually exclusive.
|
|
176
|
+
|
|
177
|
+
`seal` stores a compressed, sealed copy of each agent journal in one persisted session. Later journal reads use that copy. The original `wire.jsonl` stays on disk at its current size, so sealing does not reduce its disk use and the extra sealed data can increase the home directory's size. `unseal` removes the seal without modifying the original file; later reads use that file again.
|
|
178
|
+
|
|
179
|
+
```sh
|
|
180
|
+
kiki session seal <session_id>
|
|
181
|
+
kiki session unseal <session_id> --json
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
Both commands accept the same session reference forms and `--workspace <workspace-id>` selection as `show`. They do not resume the session or send model requests. If another Kiki process holds the session writer lock, the command refuses to run and leaves the journal unchanged; the JSON error code is `session_active`.
|
|
185
|
+
|
|
186
|
+
If a sealed journal is already being read, `seal` and `unseal` wait until that read finishes or the reading process exits before removing its sealed segments. A damaged seal fails the read with `Cold journal cannot be read` (`storage.corrupted`), rather than silently reading the original file. Run `unseal` to remove that seal and return to the retained file.
|
|
187
|
+
|
|
188
|
+
On success, text output reports how many journals were sealed or unsealed. `--json` returns `schemaVersion`, `action` (`seal` or `unseal`), `sessionId`, `workspaceId`, `wires`, and `originalRetained: true`.
|
|
189
|
+
|
|
190
|
+
### `kiki storage`
|
|
191
|
+
|
|
192
|
+
Upgrade the canonical peer-message mailbox before opening an older home in Kiki 0.5.x. Interactive and print startup report `mailbox.migration_required` rather than creating an empty mailbox. `status` reads the upgrade state without starting the engine or changing mailbox authority:
|
|
193
|
+
|
|
194
|
+
```sh
|
|
195
|
+
kiki storage status --home /path/to/home --json
|
|
196
|
+
kiki storage migrate --home /path/to/home
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
Close every other Kiki writer using that home before `migrate`. If a writer still owns it, the command reports `waiting` and exits with code `2`; it does not take the writer's lock. After the writer exits, repeat `migrate`. The upgrade backs up the source, imports and verifies records, then switches to SQLite. Interrupting a cancellable phase preserves the source and committed import pages; repeat `migrate` to resume. Legacy imports belong to the 0.5.x upgrade series: complete this step with the latest 0.5.x tool before moving to 0.6.
|
|
200
|
+
|
|
201
|
+
Every storage subcommand accepts `--home` and `--json`. JSON status and progress are newline-delimited objects, including `authority`, `phase`, `state`, `progress`, optional `failure` or `warning`, `canCancel`, and `canRollback`. If `mailbox.checkpoint_warning` appears with `authority: "sqlite"` and `state: "complete"`, the mailbox remains usable; the old migration record needs repair before rollback, so `canRollback` is `false`. A failed operation exits `1`; a cancelled upgrade exits `130`. The recovery commands are:
|
|
202
|
+
|
|
203
|
+
```sh
|
|
204
|
+
kiki storage cancel --home /path/to/home
|
|
205
|
+
kiki storage rollback --home /path/to/home
|
|
206
|
+
kiki storage backup /path/to/mailbox-backup.sqlite --home /path/to/home
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
`cancel` requests cancellation at a committed batch boundary; authority switching finishes once it has begun. `rollback` restores the retained original only before SQLite has accepted new canonical writes. After new writes, keep SQLite authority and retain its backups. `backup` creates and verifies a consistent SQLite copy without overwriting an existing destination; it requires a completed upgrade. Keep the [canonical mailbox directory and its recovery copies](../configuration/data-locations.md#canonical-mailbox), not only the search or query caches.
|
|
153
210
|
|
|
154
211
|
### `kiki serve`
|
|
155
212
|
|
|
@@ -4,6 +4,8 @@ Built-in tools are the tool set provided by Kiki alongside its core engine — n
|
|
|
4
4
|
|
|
5
5
|
Compared to MCP tools, built-in tools are managed directly by the runtime, their lifecycle is bound to the session, and no external process is required. Both follow the same unified approval mechanism: **read-only tools** (such as `Read`, `Grep`, `Glob`) are automatically allowed by default, while **execution tools** (such as `Bash`) require user approval by default. File writes follow the workspace trust model: in a trusted working directory, `Write` / `Edit` inside that directory run without per-file approval; external targets require approval. Sensitive targets are checked at their resolved location: manual and Auto modes ask for approval, while YOLO mode skips the prompt unless an explicit deny rule applies. Plan mode exit approval is not affected.
|
|
6
6
|
|
|
7
|
+
When a result reports `Tool output formatting failed after execution`, use `Read` or `Grep` on its `output_path` before rerunning the tool. Execution has already happened; the saved text and attached media remain available. The result states whether it saved the complete text or only a retention-limited prefix.
|
|
8
|
+
|
|
7
9
|
## File Tools
|
|
8
10
|
|
|
9
11
|
File tools handle reading, writing, and searching the local filesystem — the foundation for code analysis and modification tasks.
|
|
@@ -96,6 +98,18 @@ The response has `source: "mailbox"`; hits carry `communication` metadata with m
|
|
|
96
98
|
|
|
97
99
|
In non-interactive prompt runs (`kiki -p`), `HistoryList` reads a bounded prefix of the persisted transcript without starting a server or search worker: at most 2 MiB, 10,000 records and 256 KiB per record; agent rosters inspect at most 256 directory entries. Results explicitly report `partial` coverage and do not contain navigation `ref` values. You can list the current session or specify another persisted `session_id`. `HistorySearch` and `HistoryRead` remain unavailable in this print host; use an interactive session or the server for indexed search and full history reads.
|
|
98
100
|
|
|
101
|
+
## IM chat history
|
|
102
|
+
|
|
103
|
+
`ReadMessageHistory` reads received group messages through an enabled inbound IM binding of the current conversation. It is available to the main agent and follows the normal tool policy and approval checks; it does not borrow unbound channels. If more than one inbound channel is bound, specify `channel: "im:<binding-id>"`. Sender-only bindings keep reads isolated to that exact sender ID, even when members have the same display name. Topic reads stay within the bound topic unless the binding explicitly covers the whole chat.
|
|
104
|
+
|
|
105
|
+
The default `source: "local"` searches the retained received timeline, including quiet messages that did not wake the agent. Use `keyword` for case-insensitive matching against the full retained text, `sender_id` for an exact sender, `before` for an exclusive epoch-millisecond cutoff, and `limit` from 1 to 50. Results are newest first and contain bounded previews. Continue with the returned opaque `nextCursor` and the same filters; edits, retractions or expired retention can require a fresh read. `coverage: "received_only"` means only messages Kiki received, not a complete platform archive; `retention_limited` means older received entries were evicted. `end: "reached"` marks the end of that local retained view.
|
|
106
|
+
|
|
107
|
+
For a result with `original.message_id`, pass that ID as `message_id` to read its complete retained text in segments. `text_offset` counts UTF-16 units; `text_limit` defaults to 8,192 and accepts 1–16,384. Follow `text_range.next_offset` until absent. The result keeps media descriptors and the real sender; text segments do not fetch or execute media. An offset beyond the original length is rejected. Exact reads cannot combine `message_id` with `keyword`, `before` or `cursor`, and retain the same channel, topic and sender restrictions. Distinct received parts with the same real source ID form one original; repeated event IDs are deduplicated.
|
|
108
|
+
|
|
109
|
+
Explicit `source: "platform"` uses the adapter's optional history API and requires an explicit chat/topic binding. It does not support local keyword, sender or time filters, or exact `message_id` reads. Unsupported adapters return `status: "unsupported"`; successful pages report their own order, coverage and end. A short or empty page does not establish exhaustion: `coverage` and `end` can be `unknown`. Platform reads do not automatically synchronize the local timeline.
|
|
110
|
+
|
|
111
|
+
Quiet collection and automatic background follow the binding's [group policy](../server/rest-api.md#im-account-and-channel-bindings). Background consumption advances a separate watermark while retaining the received timeline. All results, sender names, mentions and quoted text remain untrusted external data, not instructions or permission grants.
|
|
112
|
+
|
|
99
113
|
## Web Tools
|
|
100
114
|
|
|
101
115
|
Both web tools are backed by Kiki's built-in search and retrieval module, which ships with the product — there is nothing to install. General-web search and URL fetching work without configuration or an API key. See [`nb_search`](../configuration/config-files.md#nb-search) for configuration.
|
|
@@ -175,19 +189,21 @@ Both tools share the same execution model:
|
|
|
175
189
|
|
|
176
190
|
## Browser Tools
|
|
177
191
|
|
|
178
|
-
Browser tools appear only when the `native_browser` experimental flag is on
|
|
192
|
+
Browser tools appear only when the `native_browser` experimental flag is on. Saved connections choose the managed agent-browser backend, an extension bridge, or Ego Lite on the Kiki server. See [Browser control](../guides/settings.md#browser-control) for the settings page and what each connection style targets.
|
|
179
193
|
|
|
180
194
|
**`BrowserConnections`** works on the connection itself: `action: "list"` (the default) returns saved connections, the new-session default, and an installed unsaved Ego Lite candidate when one is available; `"select"` binds the connection this agent will use, `"status"` and `"check"` read runtime state, `"connect"` and `"disconnect"` start or attach and release it, and `"tools"` loads the backend's page operations on demand. Selecting the discovered Ego candidate is the explicit step that saves and connects it; a connection is then named by its saved id, including a custom id, and a display name is never resolved to an id. Omitting `browser` uses this agent's bound connection or the new-session default — never a guessed or merely ready browser.
|
|
181
195
|
|
|
182
196
|
`"tools"` registers only the groups or tool names you ask for. Each loaded operation becomes a tool named `browser__agent_browser_<name>`, keeps the backend's own schema, and additionally takes `browser` and `browserTab`. Element references from a snapshot are valid only in the browser, tab and frame that produced them, so read a new snapshot after the page changes. Browser installation, plugin, and cross-session administration operations are not offered as page tools.
|
|
183
197
|
|
|
184
|
-
**`BrowserTabs`** manages the target inside one connection: `list`, `open`, `window`, `select`, `close`, and `frame` (`main` returns to the top frame).
|
|
198
|
+
**`BrowserTabs`** manages the target inside one connection: `list`, `open`, `window`, `select`, `close`, and `frame` (`main` returns to the top frame). Use the exact target identity returned by that connection, not a tab position; these tools never follow the user's foreground tab. After changing tab or frame, or reconnecting, element references need a fresh snapshot.
|
|
199
|
+
|
|
200
|
+
**WebBridge command connections** use `wb:<decimal id>` targets. Each agent has its own command session and can operate, select or close only the tab its last navigate opened. Open a tab through `BrowserTabs` before running snapshot, click, fill, evaluate, screenshot, network, upload, PDF or extension CDP actions. The extension CDP action is a command, not a DevTools endpoint attachment. Selecting another tab by URL, windows and frames are unavailable. Disconnect leaves tabs open; use `agent_browser_end_session` only when the user wants that agent's command-session tabs closed. A lost response or cancellation after send leaves the outcome `unconfirmed`, without retry: check the connection, reconnect after it returns `idle`, and open and observe a tab before the next page action.
|
|
185
201
|
|
|
186
202
|
**Ego Lite** is a separate connection. Install Ego Lite yourself, finish its own setup window, check it in browser settings, and select that connection. Kiki does not install it and does not import Chrome data. After an agent selects an Ego connection, later calls that omit `browser` keep using that selection; pass the saved id explicitly when choosing among multiple Ego connections. `browser__ego_run` takes an optional `browser` id and a required `script`, and runs that script in the connection. The script receives `shotDir`, an absolute directory for this call. Pass an absolute file, for example `page.screenshot({ path: shotDir + '/shot.png' })`. A png or jpeg written there is attached when it is 20 MiB or smaller. Omitting `path` leaves the file in the system temp directory, and that file is not attached. On an Ego Lite connection, `BrowserTabs` lists, opens, selects, and closes pages; a tab id is the page label, such as `p1`, and close applies only to a tab the agent opened. Window and frame are not available there. Denying browser tools also denies the Ego script. A subagent needs the script tool named.
|
|
187
203
|
|
|
188
204
|
Results carry the resolved connection, runtime session, tab and frame. An artifact Kiki named for the call — a screenshot, HAR, trace, profiler output or recording — is attached to the timeline up to 20 MiB; a larger file stays on the execution host and has to be retrieved over the existing file channel. A timeout does not confirm the action: observe the same target again before repeating it.
|
|
189
205
|
|
|
190
|
-
Cancelling a tool call stops the browser work when the cancellation lands before the action is sent — while the call is still queued, and again after the target is found but before the action goes out. A cancelled call that was never sent does not disturb the connection, and it does not close a browser that other work is using. Once an action has been sent, cancellation does not take it back
|
|
206
|
+
Cancelling a tool call stops the browser work when the cancellation lands before the action is sent — while the call is still queued, and again after the target is found but before the action goes out. A cancelled call that was never sent does not disturb the connection, and it does not close a browser that other work is using. Once an action has been sent, cancellation does not take it back. Managed agent-browser calls keep running to completion and their results still apply; WebBridge command calls can instead become `unconfirmed` when the response is lost. Neither path replays or retries the action for you. Read the outcome instead of assuming the cancel reversed it.
|
|
191
207
|
|
|
192
208
|
## Plan Mode
|
|
193
209
|
|
|
@@ -268,16 +284,20 @@ For the three-scope model, the review inbox, the undoable change history, and th
|
|
|
268
284
|
|
|
269
285
|
## Collaboration Tools
|
|
270
286
|
|
|
271
|
-
|
|
287
|
+
The default main-agent profile includes five thread tools (`ThreadCreate`, `ThreadList`, `ThreadRead`, `ThreadSend`, and `ThreadWait`) and two room tools (`RoomRead` and `RoomAdd`). `ThreadCreate` opens an independent top-level session; the other four thread tools address existing sessions through `host_id`, `workspace_id`, and `session_id`. `ThreadSend`, `RoomRead`, and `RoomAdd` stay main-only. A subagent profile can opt in to `ThreadCreate`, `ThreadList`, `ThreadRead`, and `ThreadWait` (see [`subagent`](../configuration/config-files.md#subagent)), but cannot gain room access.
|
|
272
288
|
|
|
273
289
|
Omitting `host_id`, leaving it empty, or using `"local"` addresses the executing agent's home, not the space currently open in the GUI. Same-home communication can cross workspaces. Another local or remote space requires an owner-approved one-way [thread bridge](./command.md#kiki-bridges); use its returned host-qualified reference and `bridge_id` or `connection_id`. Identical session IDs in different homes remain different threads. GUI browsing permission does not grant bridge permission.
|
|
274
290
|
|
|
275
291
|
- `ThreadCreate` is for an explicit user request to create a new thread or session, not for routine delegation. Optional `cwd` must be an absolute path to an existing directory, including one outside the current workspace; omitted `cwd` uses the current session's workspace root. Optional `profile` must name an enabled main-agent profile; omitted `profile` uses the default. Optional `prompt` (at most 100,000 characters) becomes the new thread's first user message and starts its turn immediately; without it, the thread stays empty until the user sends a message. Optional `title` overrides the default: with a prompt and no title, the first line (up to 80 characters) becomes the title. The result returns `id`, `title`, `cwd`, `profile`, and `prompt_started`; the thread then appears in the left session list within a few seconds, and `ThreadSend` and `ThreadWait` continue the conversation.
|
|
276
292
|
- `ThreadList` lists enabled, unarchived sessions, optionally filtered by `workspace_id`. With no bridge selector it lists the executing home; with a selector it lists only the approved target scope and requires `read`. Local results are newest first. `limit` defaults to 50 and accepts 1–100; use the returned opaque cursor for another page.
|
|
277
|
-
- `ThreadRead` reads completed main-agent turns locally without resuming a cold session. Across a bridge it requires `read` and returns a bounded `view.transcript` page with coverage and cursors; omitted text or frames carry `contentRefs`.
|
|
293
|
+
- `ThreadRead` reads completed main-agent turns locally without resuming a cold session. Small local turns keep complete input and output. For an oversized local input or output, the turn keeps a preview and returns a stable `contentRefs` reference; pass it as `content_ref` with the same thread to receive bounded `view.segment` chunks of up to 16,384 UTF-16 units and follow `next` until it is absent. While the local history projection is preparing, it can return `turns: []`, `incomplete: "history_preparing"`, and an opaque `nextCursor`; this means the history is not ready, not that the thread has no conversation. Preparation cursors bind the projection generation and a fixed source watermark while retaining the original older-turn boundary. Continue with that cursor and the same thread and bridge scope until preparation completes. Across a bridge it requires `read` and returns a bounded `view.transcript` page with coverage and cursors; omitted text or frames carry `contentRefs`. `limit` defaults to 20 and accepts 1–100, and the normal chronological order is unchanged. Existing read cursors remain accepted; a rewrite or generation change invalidates its cursor, so restart from the first page when the server rejects it.
|
|
278
294
|
- `ThreadSend` durably saves an explicit message and records the executing main-agent session as its verified source. Supply the target, non-empty `content` of at most 100,000 characters, and `idempotency_key` of at most 256 characters. There is no source parameter; reuse a key only for the same message. A bridge needs `send`, plus `wake` to deliver into a model prompt or resume a cold thread; without wake it stays pending. `delivered` confirms prompt delivery, not a reply. After durable acceptance, slow delivery returns `pending` instead of holding the sender indefinitely; delivery continues in the background. Cancelling that wait does not recall the accepted message. Bridge pending records retry with the original key for up to 15 minutes; use bridge receipts to inspect rejection reasons. Ordinary assistant text is never forwarded automatically.
|
|
279
295
|
- `ThreadSend({ room, content, mentions? })` posts to a room the current thread belongs to. Room content is limited to 20,000 characters; mentions use thread session IDs or persona IDs, and the retry key defaults to the tool call ID. ThreadSend is how this thread speaks in the room; text in the thread stays in the thread. A user message with no mention goes to the room host. A message from a member wakes only the members it mentions. Room `delivered` means the room log has the message, not that every member has answered; thread members queue while busy by default.
|
|
280
296
|
- `ThreadWait` waits for terminal, attention, lifecycle, or undeliverable-message activity on 1–8 distinct local or approved bridge threads. Bridge waits require `wait`; they do not wake the target. `timeout_ms` defaults to 30,000 and accepts 0–60,000; `0` checks once. Carry each returned cursor into the next call, and cancel the tool call to stop waiting.
|
|
297
|
+
- `RoomRead({ room: "room-id", limit: 50 })` returns a room's host, member roster, pause/archive state, and saved log. `limit` accepts 1–100 and defaults to 50; pass the returned `nextCursor` as `after_id` for the next page. Roster `id` values are the exact thread or persona IDs accepted by room mentions. Reading does not wake members, mark notifications read, or change membership; empty `entries` mean no new saved messages, not that members have exited.
|
|
298
|
+
- `RoomAdd({ room: "room-id", session_id: "thread-id" })` adds an existing unarchived top-level thread only when the user asks. Find its `session_id` with `ThreadList`. The room keeps its host, existing member settings, six-member limit, and each thread's permissions. An already joined thread is returned unchanged with `added: false`. This tool does not create a room, persona, or session, or join the calling thread to a room.
|
|
299
|
+
|
|
300
|
+
Both room tools require enabled thread communication and a main agent whose current thread already belongs to that room. They accept room IDs in the executing home, not bridge selectors. Create a room or join the current thread through the user interface before asking the agent to read it or add another existing thread.
|
|
281
301
|
|
|
282
302
|
`ThreadCreate` stays available by default and has its own switch under Settings → Permissions → Tools, so it can be turned off without turning off the other thread tools. Peer communication is allowed and off by default. A user `[thread_communication] enabled = false` turns it off completely; `enabled = true` keeps the older default-on behavior until [`optional_capabilities.defaults.thread`](../configuration/config-files.md#optional-capabilities) is written. Turning the current session off keeps peer tools closed for that session even when its profile names them. Only a child run that names those tools opens that child. A persisted workspace mailbox override still applies. Bridge receiving stays off until the target owner approves it; disabling target communication or inbound access stops bridge delivery without deleting sessions.
|
|
283
303
|
|
|
@@ -79,7 +79,9 @@ To use an IDE that sends stdio MCP servers, explicitly start Kiki with `kiki acp
|
|
|
79
79
|
|
|
80
80
|
### Kiki tools in an external harness
|
|
81
81
|
|
|
82
|
-
The forwarding above is inbound: an IDE supplies MCP servers to `kiki acp`. When Kiki runs an external harness, it can supply a session-local bridge bound to the exact Kiki session and agent. The adapter must accept stdio MCP;
|
|
82
|
+
The forwarding above is inbound: an IDE supplies MCP servers to `kiki acp`. When Kiki runs an external harness, it can supply a session-local bridge bound to the exact Kiki session and agent. The adapter must accept stdio MCP; OpenClaw and Pi cannot receive this bridge. Model settings, vendor login and permissions remain the harness's own. You do not copy the managed bridge's temporary credentials into vendor configuration.
|
|
83
|
+
|
|
84
|
+
The session's capability list shows authentication observations reported by its running adapter. ACP's explicit authentication-required error appears as **Authentication required** for that session. Codex's account updates appear as the engine-reported account status; unrecognized modes stay **Sign-in unknown**. The tooltip identifies the protocol source, working directory and observation time. These saved observations remain readable after the session closes and are cleared when its execution binding changes; they do not replace the connection check in Settings.
|
|
83
85
|
|
|
84
86
|
Set `inject_kiki_mcp` under `[agent_executor_overrides.<executor-id>.defaults]` to choose the engine default. A Profile's `inject_kiki_mcp` overrides it, and `execution.overrides.inject_kiki_mcp` overrides the Profile for a session. Set the session value to `null` to inherit again. These choices take effect on the next binding, including named external child profiles; cold restore keeps the saved choice. Once an agent binds `false`, existing bridge credentials can no longer list or call its tools.
|
|
85
87
|
|
|
@@ -43,7 +43,7 @@ Run `/kiki-ops help me configure MCP` in the TUI to interactively add, edit, or
|
|
|
43
43
|
|
|
44
44
|
Deleting a server from the configuration does not interrupt open sessions: the server stays listed in `/mcp` as `removed`, its tools remain visible there, and calls to them fail with a removal notice, while new sessions do not register the tools at all. Conversely, a server added mid-session — by editing `mcp.json` or installing a plugin — is not registered in already-open sessions; it only joins sessions created later.
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
Before trusting a folder, the TUI shows project MCP launch targets and their defining configuration files, configured additional directories and their source, and available AGENTS.md, skill and agent-profile sources. It inspects these sources without connecting MCP servers. If inspection fails, the prompt shows a warning rather than implying that no configuration exists. The prompt defaults to `Trust this folder`; review the commands, arguments, remote URLs and paths before confirming. Trusting the folder enables its project-level MCP servers and configured additional directories.
|
|
47
47
|
|
|
48
48
|
Structure of `mcp.json`:
|
|
49
49
|
|
|
@@ -81,6 +81,10 @@ Optional fields:
|
|
|
81
81
|
| `enabledTools` | `string[]` | All | Tool allowlist |
|
|
82
82
|
| `disabledTools` | `string[]` | All | Tool blocklist |
|
|
83
83
|
|
|
84
|
+
On Windows, `command` can be an executable path or a name such as `node` or `npx`. Names are resolved through the child's effective `PATH`/`PATHEXT`, not by searching its working directory; `env` overrides such as `Path` replace inherited values without case sensitivity. To run a file in the child working directory, give `command` an explicit relative path such as `.\server.cmd`. Keep paths unquoted in `command` and put each argument in its own `args` entry, including arguments containing spaces, quotes or `&`.
|
|
85
|
+
|
|
86
|
+
Kiki launches Windows `.cmd`/`.bat` wrappers automatically; do not add `cmd /c` for them. Batch-wrapper arguments cannot contain NUL or line breaks; for multiline arguments, launch the underlying executable directly, such as `node` with the script path as its first argument. A missing command reports `ENOENT`; install it or provide its absolute path.
|
|
87
|
+
|
|
84
88
|
You do not have to set the connection timeout or the single tool-call timeout per server: `[mcp] startup_timeout_ms` / `[mcp] tool_timeout_ms` in `config.toml` or the `KIKI_MCP_STARTUP_TIMEOUT_MS` / `KIKI_MCP_TOOL_TIMEOUT_MS` environment variables change the global defaults. Precedence is: per-server field > environment variable > `config.toml` > built-in default. See [Configuration files](../configuration/config-files.md#mcp).
|
|
85
89
|
|
|
86
90
|
HTTP and SSE servers support providing static credentials via `headers` or `bearerTokenEnvVar`. When OAuth is needed, run `/kiki-ops help me log in to MCP <server-name>` to complete browser-based authorization. If the server's authorization metadata says it supports `offline_access`, Kiki asks for that scope during login so the authorization can be refreshed later without a new sign-in; otherwise your original scopes are used as they are. A server that advertises the scope may still show an extra consent page, and does not guarantee it issues a refresh token. An already-signed-in server keeps its existing grant and goes on refreshing it — a new scope does not sign you out.
|