kiki-agent 0.4.2 → 0.5.1
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/README.md +3 -3
- package/dist/cpu-worker.mjs +52744 -0
- package/dist/docs/en/configuration/config-files.md +121 -46
- package/dist/docs/en/configuration/data-locations.md +34 -7
- package/dist/docs/en/configuration/env-vars.md +37 -9
- package/dist/docs/en/configuration/overrides.md +20 -9
- package/dist/docs/en/configuration/providers.md +114 -9
- package/dist/docs/en/customization/agent-profiles.md +1 -1
- package/dist/docs/en/customization/agents-and-subagents.md +55 -12
- package/dist/docs/en/customization/hooks.md +3 -3
- package/dist/docs/en/customization/personas.md +36 -2
- package/dist/docs/en/customization/plugins.md +56 -3
- package/dist/docs/en/customization/prompt-fields.md +65 -5
- package/dist/docs/en/customization/recipes.md +77 -0
- package/dist/docs/en/customization/skins.md +2 -2
- package/dist/docs/en/customization/themes.md +1 -1
- 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 +13 -13
- package/dist/docs/en/features/ecosystem.md +6 -6
- package/dist/docs/en/features/extend.md +11 -10
- package/dist/docs/en/features/freedom.md +9 -9
- package/dist/docs/en/features/index.md +58 -28
- package/dist/docs/en/features/long-work.md +18 -14
- package/dist/docs/en/features/look.md +6 -6
- package/dist/docs/en/features/people.md +6 -6
- package/dist/docs/en/features/phone.md +13 -3
- package/dist/docs/en/features/spaces.md +12 -12
- package/dist/docs/en/features/workbench.md +8 -8
- package/dist/docs/en/getting-started/desktop-app.md +4 -8
- package/dist/docs/en/getting-started/first-launch.md +1 -1
- package/dist/docs/en/guides/goals.md +4 -2
- package/dist/docs/en/guides/interface.md +32 -10
- package/dist/docs/en/guides/memory.md +64 -10
- package/dist/docs/en/guides/sessions.md +21 -9
- package/dist/docs/en/guides/settings.md +64 -40
- package/dist/docs/en/index.md +3 -1
- package/dist/docs/en/reference/command.md +90 -31
- package/dist/docs/en/reference/model-vocabulary.md +2 -2
- package/dist/docs/en/reference/slash-commands.md +1 -1
- package/dist/docs/en/reference/tools.md +65 -20
- package/dist/docs/en/server/acp.md +9 -3
- package/dist/docs/en/server/local-server.md +19 -27
- package/dist/docs/en/server/mcp.md +9 -5
- package/dist/docs/en/server/rest-api.md +350 -22
- package/dist/docs/en/server/script-tools.md +268 -0
- package/dist/docs/zh/configuration/config-files.md +121 -46
- package/dist/docs/zh/configuration/data-locations.md +34 -7
- package/dist/docs/zh/configuration/env-vars.md +37 -9
- package/dist/docs/zh/configuration/overrides.md +20 -9
- package/dist/docs/zh/configuration/providers.md +114 -9
- package/dist/docs/zh/customization/agent-profiles.md +1 -1
- package/dist/docs/zh/customization/agents-and-subagents.md +55 -12
- package/dist/docs/zh/customization/hooks.md +3 -3
- package/dist/docs/zh/customization/personas.md +36 -2
- package/dist/docs/zh/customization/plugins.md +56 -3
- package/dist/docs/zh/customization/prompt-fields.md +65 -5
- package/dist/docs/zh/customization/recipes.md +77 -0
- package/dist/docs/zh/customization/skins.md +2 -2
- package/dist/docs/zh/customization/themes.md +1 -1
- 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 +13 -13
- package/dist/docs/zh/features/ecosystem.md +6 -6
- package/dist/docs/zh/features/extend.md +10 -9
- package/dist/docs/zh/features/freedom.md +9 -9
- package/dist/docs/zh/features/index.md +58 -28
- package/dist/docs/zh/features/long-work.md +17 -13
- package/dist/docs/zh/features/look.md +6 -6
- package/dist/docs/zh/features/people.md +5 -5
- package/dist/docs/zh/features/phone.md +13 -3
- package/dist/docs/zh/features/spaces.md +12 -12
- package/dist/docs/zh/features/workbench.md +8 -8
- package/dist/docs/zh/getting-started/desktop-app.md +4 -8
- package/dist/docs/zh/getting-started/first-launch.md +1 -1
- package/dist/docs/zh/guides/goals.md +4 -2
- package/dist/docs/zh/guides/interface.md +32 -10
- package/dist/docs/zh/guides/memory.md +64 -10
- package/dist/docs/zh/guides/sessions.md +21 -9
- package/dist/docs/zh/guides/settings.md +64 -40
- package/dist/docs/zh/index.md +4 -2
- package/dist/docs/zh/reference/command.md +90 -31
- package/dist/docs/zh/reference/model-vocabulary.md +2 -2
- package/dist/docs/zh/reference/slash-commands.md +1 -1
- package/dist/docs/zh/reference/tools.md +65 -20
- package/dist/docs/zh/server/acp.md +9 -3
- package/dist/docs/zh/server/local-server.md +19 -27
- package/dist/docs/zh/server/mcp.md +9 -5
- package/dist/docs/zh/server/rest-api.md +338 -21
- package/dist/docs/zh/server/script-tools.md +268 -0
- package/dist/external-harness/agy-cli-acp.mjs +168 -162
- package/dist/external-harness/agy-hook-registration.mjs +69 -30
- package/dist/external-harness/agy-mcp-plugin.mjs +19 -0
- package/dist/external-harness/agy-permission-hook.mjs +29 -2
- package/dist/hostRunner.mjs +112 -3
- package/dist/mailbox-worker.mjs +403 -0
- package/dist/main.mjs +2 -2
- package/dist/memory-worker.mjs +1008 -0
- package/dist/native/windows-process-helper.exe +0 -0
- package/dist/query-store-worker.mjs +487 -0
- package/dist/sqlite-indexer.mjs +255 -403
- package/dist/sqlite-query-worker.mjs +261 -249
- package/dist/usage-parser-worker.mjs +3977 -9
- package/dist/usage-read-model-worker.mjs +761 -0
- package/dist/web/assets/AppErrorBoundary-B5Fc4f6-.js +1 -0
- package/dist/web/assets/NavScopeBoundary-C7MnGQio.js +1 -0
- package/dist/web/assets/{arc-DYDCMlOS.js → arc-DGB9OVgQ.js} +1 -1
- package/dist/web/assets/{architectureDiagram-3BPJPVTR-C9Y7T0O2.js → architectureDiagram-3BPJPVTR-glnQCMub.js} +1 -1
- package/dist/web/assets/{blockDiagram-GPEHLZMM-CdUrp-tD.js → blockDiagram-GPEHLZMM-bM0tnGby.js} +1 -1
- package/dist/web/assets/{c4Diagram-AAUBKEIU-PrwvB9IJ.js → c4Diagram-AAUBKEIU-DMf_rTtt.js} +1 -1
- package/dist/web/assets/channel-Cj8SKJ38.js +1 -0
- package/dist/web/assets/{chunk-2J33WTMH-BL56g_Es.js → chunk-2J33WTMH-mTccJ3tW.js} +1 -1
- package/dist/web/assets/{chunk-4BX2VUAB-DvJD5M9M.js → chunk-4BX2VUAB-DhqPYMjY.js} +1 -1
- package/dist/web/assets/{chunk-55IACEB6-C8f-nzvx.js → chunk-55IACEB6-BujrYRoO.js} +1 -1
- package/dist/web/assets/{chunk-727SXJPM-DOGkWKkV.js → chunk-727SXJPM-ciMmSI4G.js} +1 -1
- package/dist/web/assets/{chunk-AQP2D5EJ-fFOuz7g6.js → chunk-AQP2D5EJ-CZW9pKTc.js} +1 -1
- package/dist/web/assets/{chunk-FMBD7UC4-BpeXZ9LM.js → chunk-FMBD7UC4-hdALNnnU.js} +1 -1
- package/dist/web/assets/{chunk-ND2GUHAM-CRUh76fb.js → chunk-ND2GUHAM-CgKyqUdb.js} +1 -1
- package/dist/web/assets/{chunk-QZHKN3VN-uNfxaPk0.js → chunk-QZHKN3VN-B2mmUz_E.js} +1 -1
- package/dist/web/assets/classDiagram-4FO5ZUOK-f8V9p-dD.js +1 -0
- package/dist/web/assets/classDiagram-v2-Q7XG4LA2-f8V9p-dD.js +1 -0
- package/dist/web/assets/client-ClWQBErG.js +3 -0
- package/dist/web/assets/connection-C0J3BPgk.js +1 -0
- package/dist/web/assets/{cose-bilkent-S5V4N54A-BNkxG-qX.js → cose-bilkent-S5V4N54A-UV3uPjkK.js} +1 -1
- package/dist/web/assets/{dagre-BM42HDAG-BerioUei.js → dagre-BM42HDAG-Zjy-gQ6C.js} +1 -1
- package/dist/web/assets/{diagram-2AECGRRQ-Czv2SR07.js → diagram-2AECGRRQ-DL-kilIf.js} +1 -1
- package/dist/web/assets/{diagram-5GNKFQAL-Uzi1weGK.js → diagram-5GNKFQAL-CjB_xR5B.js} +1 -1
- package/dist/web/assets/{diagram-KO2AKTUF-W36h_ff3.js → diagram-KO2AKTUF-CjN4i3b9.js} +1 -1
- package/dist/web/assets/{diagram-LMA3HP47-FG4dDk52.js → diagram-LMA3HP47-CPCAMndo.js} +1 -1
- package/dist/web/assets/{diagram-OG6HWLK6-CQoEjIAY.js → diagram-OG6HWLK6-DVeBWBKd.js} +1 -1
- package/dist/web/assets/{erDiagram-TEJ5UH35-Ck06KVyZ.js → erDiagram-TEJ5UH35-CHKzBHrr.js} +1 -1
- package/dist/web/assets/export-CXoWon32.js +2 -0
- package/dist/web/assets/{flowDiagram-I6XJVG4X-C5hgxdFZ.js → flowDiagram-I6XJVG4X-C5rQa2pq.js} +1 -1
- package/dist/web/assets/{ganttDiagram-6RSMTGT7-BS52Pw5_.js → ganttDiagram-6RSMTGT7-BrLjEsNJ.js} +1 -1
- package/dist/web/assets/{gitGraphDiagram-PVQCEYII-DLlQKZHs.js → gitGraphDiagram-PVQCEYII-3DRR5VZj.js} +1 -1
- package/dist/web/assets/highlighted-body-OFNGDK62-Bdj5SJfv.js +1 -0
- package/dist/web/assets/index-2Vx5mHRn.js +1 -0
- package/dist/web/assets/index-B1UXw2C9.js +1 -0
- package/dist/web/assets/{index-CM-nNfuV.js → index-BJxtlf4P.js} +4 -4
- package/dist/web/assets/{index-DKIysLbI.js → index-BY7jPurv.js} +1 -1
- package/dist/web/assets/index-Bq79v-Sa.js +1 -0
- package/dist/web/assets/index-BqD3iTIl.js +1 -0
- package/dist/web/assets/index-Br3AlBrQ.js +1 -0
- package/dist/web/assets/{index-Ca607_hK.js → index-BvRBCpc6.js} +2 -2
- package/dist/web/assets/index-BxYCSNg_.js +3 -0
- package/dist/web/assets/{index-B2Pu0Iuu.js → index-C62wjCF_.js} +1 -1
- package/dist/web/assets/index-CBvwNH_H.js +1 -0
- package/dist/web/assets/{index-BNch_a4L.js → index-CG9e6lgq.js} +1 -1
- package/dist/web/assets/{index-ByiwExpV.js → index-CPSWYh_R.js} +2 -2
- package/dist/web/assets/index-CS4xJLZV.js +1 -0
- package/dist/web/assets/index-CjvqtF2I.js +1 -0
- package/dist/web/assets/index-CprdjRRk.js +13 -0
- package/dist/web/assets/{index-Bg99yVX_.js → index-CypTtrCB.js} +1 -1
- package/dist/web/assets/{index-BwcG86o3.js → index-DDJQGcUL.js} +1 -1
- package/dist/web/assets/index-DLWzxUOO.js +1 -0
- package/dist/web/assets/index-DQxkxZmn.js +7 -0
- package/dist/web/assets/index-DRo5Y_9p.js +1 -0
- package/dist/web/assets/index-De_LkTZx.js +1 -0
- package/dist/web/assets/{index-CZX3qUe2.js → index-DfUpwUTM.js} +2 -2
- package/dist/web/assets/{index-BLU8_Um7.js → index-Dkbz748K.js} +2 -2
- package/dist/web/assets/index-DmwFFSkV.js +1 -0
- package/dist/web/assets/index-DpcWEDhW.js +1 -0
- package/dist/web/assets/index-Dqq1RDP4.js +1 -0
- package/dist/web/assets/index-H1uMvIoa.css +1 -0
- package/dist/web/assets/index-ICHWJ2SM.js +1 -0
- package/dist/web/assets/index-O5fSd569.js +229 -0
- package/dist/web/assets/index-odjtqLLS.js +1 -0
- package/dist/web/assets/index-v_yAQ0Am.js +1 -0
- package/dist/web/assets/{infoDiagram-5YYISTIA-CD4XJGFm.js → infoDiagram-5YYISTIA-CCwV4Z0v.js} +1 -1
- package/dist/web/assets/{ishikawaDiagram-YF4QCWOH-fu5E3_CT.js → ishikawaDiagram-YF4QCWOH-BwwZcGyZ.js} +1 -1
- package/dist/web/assets/{journeyDiagram-JHISSGLW-CXcnKBfJ.js → journeyDiagram-JHISSGLW-Dc6WqniQ.js} +1 -1
- package/dist/web/assets/{kanban-definition-UN3LZRKU-BawKH6Pl.js → kanban-definition-UN3LZRKU-DVUqULOS.js} +1 -1
- package/dist/web/assets/{linear-BplJuXph.js → linear-d6rWsNOU.js} +1 -1
- package/dist/web/assets/memoryAdvisor-DBQXJB1o.js +1 -0
- package/dist/web/assets/mermaid-GHXKKRXX-Ik6SkVDT.js +642 -0
- package/dist/web/assets/{mindmap-definition-RKZ34NQL-DA1SE2uy.js → mindmap-definition-RKZ34NQL-_JHAkhHL.js} +1 -1
- package/dist/web/assets/navViewState-DaCMIYWA.js +1 -0
- package/dist/web/assets/{pieDiagram-4H26LBE5-6i021QeX.js → pieDiagram-4H26LBE5-BlhlygGy.js} +1 -1
- package/dist/web/assets/{quadrantDiagram-W4KKPZXB-CcKSZDMT.js → quadrantDiagram-W4KKPZXB-jn6R_C0S.js} +1 -1
- package/dist/web/assets/{requirementDiagram-4Y6WPE33-lYVuWRuD.js → requirementDiagram-4Y6WPE33-B9fXCHBr.js} +1 -1
- package/dist/web/assets/{sankeyDiagram-5OEKKPKP-4Zfb4_h4.js → sankeyDiagram-5OEKKPKP-fPJwIxkl.js} +1 -1
- package/dist/web/assets/{sequenceDiagram-3UESZ5HK-DqltKmlY.js → sequenceDiagram-3UESZ5HK-1v1DTNGt.js} +1 -1
- package/dist/web/assets/{spaces-CjuXbmxF.js → spaces-CvL2DRZM.js} +1 -1
- package/dist/web/assets/{stateDiagram-AJRCARHV-HFdhqxzx.js → stateDiagram-AJRCARHV-CEc_PLov.js} +1 -1
- package/dist/web/assets/stateDiagram-v2-BHNVJYJU-iAMctzaT.js +1 -0
- package/dist/web/assets/theme-LRSmy8mD.js +1 -0
- package/dist/web/assets/{timeline-definition-PNZ67QCA-HNRxaB3t.js → timeline-definition-PNZ67QCA-CEjhuitj.js} +1 -1
- package/dist/web/assets/{vennDiagram-CIIHVFJN-DwsCTyaD.js → vennDiagram-CIIHVFJN-CActt9h9.js} +1 -1
- package/dist/web/assets/{wardley-L42UT6IY-BWW2wtVO.js → wardley-L42UT6IY-Bp3q2izt.js} +1 -1
- package/dist/web/assets/{wardleyDiagram-YWT4CUSO-C-ktKm7v.js → wardleyDiagram-YWT4CUSO-C_zutiQ2.js} +1 -1
- package/dist/web/assets/{xychartDiagram-2RQKCTM6-48AxNW9k.js → xychartDiagram-2RQKCTM6-CRafvv33.js} +1 -1
- package/dist/web/icons/apple-touch-icon.png +0 -0
- package/dist/web/icons/icon-192.png +0 -0
- package/dist/web/icons/icon-512.png +0 -0
- package/dist/web/icons/maskable-512.png +0 -0
- package/dist/web/index.html +12 -2
- package/dist/web/manifest.webmanifest +16 -0
- 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 +23 -4
- package/dist/search-worker.mjs +0 -14177
- package/dist/web/assets/AppErrorBoundary-DiGMUg4r.js +0 -1
- package/dist/web/assets/LifeMark-CL6-HWDu.js +0 -1
- package/dist/web/assets/NavScopeBoundary-CFCnvZR0.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/export-T_izwEkQ.js +0 -2
- package/dist/web/assets/highlighted-body-OFNGDK62-Btm6MuZ4.js +0 -1
- package/dist/web/assets/index-5_yzg61S.js +0 -1
- package/dist/web/assets/index-B-6LiYTY.js +0 -1
- package/dist/web/assets/index-B4iu4SJW.js +0 -1
- package/dist/web/assets/index-B9MlqF7J.js +0 -1
- package/dist/web/assets/index-BECSk4If.js +0 -1
- package/dist/web/assets/index-BFcyN2Zw.js +0 -1
- package/dist/web/assets/index-BIebkSEI.css +0 -1
- package/dist/web/assets/index-BMWid2q9.js +0 -1
- package/dist/web/assets/index-BeMvPEXs.js +0 -1
- package/dist/web/assets/index-Bezli3SF.js +0 -1
- package/dist/web/assets/index-BkPV0psm.js +0 -1
- package/dist/web/assets/index-CG8uIlD7.js +0 -1
- package/dist/web/assets/index-CJ92kLtO.js +0 -1
- package/dist/web/assets/index-CRDDqofN.js +0 -1
- package/dist/web/assets/index-Cd62y0wD.js +0 -1
- package/dist/web/assets/index-CgcJPsK6.js +0 -3
- package/dist/web/assets/index-Cy8C_eFR.js +0 -7
- package/dist/web/assets/index-D8z7lcQn.js +0 -166
- package/dist/web/assets/index-D_oPSlBL.js +0 -1
- package/dist/web/assets/index-Dceu0bqY.js +0 -1
- package/dist/web/assets/index-eUyF-8Sq.js +0 -1
- package/dist/web/assets/index-hG2s2Spn.js +0 -13
- package/dist/web/assets/mermaid-GHXKKRXX-BO9hkP3Z.js +0 -621
- package/dist/web/assets/stateDiagram-v2-BHNVJYJU-Dx28QuZF.js +0 -1
- package/dist/web/assets/theme-beWE_6f8.js +0 -1
|
@@ -24,13 +24,17 @@ 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
|
:::
|
|
30
32
|
|
|
31
33
|
In the desktop and browser GUI, the model, effort, workspace, working directory and profile (the agent's configuration file) you pick for a new session can be remembered across navigation and refresh. Turn that on with **Composer → Persist composer drafts** in Settings; turning it off clears what was saved. Drafts in the page you currently have open survive the switch, but the next refresh starts with nothing restored. This is separate from the session files above, which is why the two behave differently.
|
|
32
34
|
|
|
33
|
-
|
|
35
|
+
Before you choose an effort manually, changing the model or profile uses the profile's effort default for the selected model, including matching [`model_profiles` entries](../customization/agent-profiles.md), then the model's own default. A new persona draft uses the persona's own effort pin first. A manual effort choice stays with the draft through model, profile and persona changes and is remembered on refresh.
|
|
36
|
+
|
|
37
|
+
An existing conversation reopens on its committed model and effort. Old composer display values do not undo a later model switch. Ordinary direct model and effort picks apply without sending a message; context-renewing or explicitly ordered switches keep their queue position. Profile and engine choices stay in the draft through binding refreshes and apply with the next submitted message. See [Input box](./interface.md#input-box) for application timing. A completed model switch remains completed after recovery and needs no retry.
|
|
34
38
|
|
|
35
39
|
## Task board
|
|
36
40
|
|
|
@@ -60,13 +64,17 @@ In the workspace view, the title row of a real workspace shows a plus while you
|
|
|
60
64
|
|
|
61
65
|
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
66
|
|
|
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.
|
|
67
|
+
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.
|
|
68
|
+
|
|
69
|
+
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
70
|
|
|
65
71
|
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
72
|
|
|
67
73
|
A subagent resumed with the same model reads **Resumed · continuing with…**, not **Switched to…**. Actual model changes, thinking-effort updates and context rebuilds keep their own labels.
|
|
68
74
|
|
|
69
|
-
The GUI opens with a small window of the latest messages.
|
|
75
|
+
The GUI opens with a small window of the latest messages. As you scroll near the top, it loads an earlier page of up to 40 turns and can fetch one adjacent page ahead; staying in the conversation does not load its entire history in the background. When earlier pages remain, **Load earlier messages** is available even if the current window has no visible messages. Loading status stays at the top of the history. If a page fails or loading reaches ten seconds, choose **Retry** to continue from the saved page boundary without losing loaded messages. This limit also applies when [Reading timeout](./settings.md#timeouts) is disabled.
|
|
76
|
+
|
|
77
|
+
Visible messages and session information load their remaining text automatically in bounded segments. Expand a folded step group, or choose **Continue loading** beside its steps, to read the remaining steps and frames without repeated clicks. A failed read offers **Try again**; one retry continues the remaining segments. The group stays expanded as earlier steps load, and a history refresh continues its unfinished reads. Collapsing the group or leaving its view cancels unfinished reads and keeps content already read. Jumping to an older message or returning to a saved reading position continues loading until that place is found; scrolling yourself cancels the old jump. Older message previews may be fetched again as you scroll to keep the reading cache small. Leaving the conversation cancels its pending reads, not the agent's work.
|
|
70
78
|
|
|
71
79
|
If only part of the message records has loaded, the bottom-right status area shows **More message records**, even when no loaded message is queued. Open it and choose **Continue loading** to read one more page; a failed read offers **Try again** without removing existing queue rows. The progress counts message records, including completed ones, not just messages waiting to send. An empty queue does not leave a blank bar above the composer.
|
|
72
80
|
|
|
@@ -111,14 +119,16 @@ A thread created by another thread nests under its creator by default. **Show at
|
|
|
111
119
|
|
|
112
120
|
The same menu also offers **Copy thread link** and **Add to conversation**, which inserts a reference into the conversation you have open.
|
|
113
121
|
|
|
114
|
-
Archiving a thread also archives its attached conversations, including deeper descendants and conversations not loaded in the sidebar. A thread explicitly shown at top level, together with its descendants, stays independent when its ancestor is archived; archiving that top-level thread itself still includes its attached conversations. A filter or workspace group that merely displays a child as a top-level row does not make it independent.
|
|
122
|
+
Archiving a thread also archives its attached conversations, including deeper descendants and conversations not loaded in the sidebar. A thread explicitly shown at top level, together with its descendants, stays independent when its ancestor is archived; archiving that top-level thread itself still includes its attached conversations. A filter or workspace group that merely displays a child as a top-level row does not make it independent. If only some conversations are archived, retry to finish the remaining ones. Restoring a thread restores only that thread, not every previously archived descendant.
|
|
123
|
+
|
|
124
|
+
Archive preserves history and keeps the worktree unless you select **Also remove its worktree** in the confirmation. If archiving is refused, the dialog shows the reason and keeps your choice for retry; the worktree is not removed. Resolve the reported issue before retrying. After a successful archive, worktree removal still keeps checkouts with uncommitted changes or unpushed commits.
|
|
115
125
|
|
|
116
126
|
Open **Settings → Sessions → Manage archived conversations** to browse saved archives by title, workspace and time. Search matches titles and workspaces across pages; opening a conversation reads its history without restoring it. Return to the archive manager to continue browsing.
|
|
117
127
|
|
|
118
128
|
**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
129
|
|
|
120
130
|
|
|
121
|
-
If
|
|
131
|
+
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
132
|
|
|
123
133
|
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
134
|
|
|
@@ -144,11 +154,11 @@ Start with the cost trend, then select a bar to see the consumption sources for
|
|
|
144
154
|
|
|
145
155
|
For a bounded date range, request the previous-period comparison when you need it. Missing prior data is shown as unavailable, not zero; a failed comparison leaves the current period readable. The collapsed live reference remains separate from the selected history.
|
|
146
156
|
|
|
147
|
-
When a scan has not finished, the page says so and shows only the counted subtotal; an unfinished empty total appears as a dash, not zero. **Continue counting** resumes
|
|
157
|
+
When a scan has not finished, the page says so and shows only the counted subtotal; an unfinished empty total appears as a dash, not zero. Scans paused by a time or record limit resume automatically from saved progress. **Continue counting** also resumes that progress rather than starting a full rescan. Leaving History cancels its pending reads.
|
|
148
158
|
|
|
149
159
|
Token usage and estimated cost each carry their own completeness marker. If a provider returned no usage, Kiki shows that as unknown rather than as a real zero, and mixed results show the recorded subtotal with an incomplete-accounting notice. A missing model price affects the cost estimate only, never the recorded token count. **Data reliability** tells these cases apart from an empty range or a failed request.
|
|
150
160
|
|
|
151
|
-
|
|
161
|
+
In the main conversation, the context card's cumulative tokens and cost cover the whole session. In a subagent conversation, they cover that subagent only. The right panel's **This agent** view covers the selected agent alone, while **Whole tree** also includes its descendants. The context-window gauge is separate: it measures the current engine's occupied window, not cumulative billing tokens or a sum of agent windows.
|
|
152
162
|
|
|
153
163
|
## Context compression
|
|
154
164
|
|
|
@@ -166,11 +176,13 @@ You can pass a hint to tell the model what to prioritize when compressing:
|
|
|
166
176
|
|
|
167
177
|
You can ask for a compaction while the agent is already working. Kiki queues the request and runs it once the current response and the tools it called have finished, without waiting for the rest of the turn. Asking again while a manual compaction is queued or running does nothing — there is only ever one. The line above the context meter says which one you are watching and how far along it is: **Manual compaction queued**, then **running**, then **complete**. A run that cannot compact ends as **failed**. The automatic one from the context limit reads the same way, with *Automatic* in place of *Manual*.
|
|
168
178
|
|
|
179
|
+
If a summary response is empty or contains only thinking, Kiki retries the same input within the compaction attempt limit (three attempts by default). Filtered responses are not retried. The original context stays intact until a valid result is saved.
|
|
180
|
+
|
|
169
181
|
The timeline distinguishes **Manual compaction queued · waiting for a safe boundary** from **Compacting context…**. Once context is committed, a summarize run says **summary generated**, while a fresh-context run says **handoff retained**. Older records without an explicit mode say only **Context compacted**. Cancellation leaves context unchanged only before the new context is committed; a later cancellation request keeps the successful result. Failure, cancellation and an interrupted cold-session run do not count as successes. Consecutive successful commits of the same kind may share one divider labelled **3 successful compactions**, for example; expand it for each commit's time and recorded reasons. This count is not the number of generation retries.
|
|
170
182
|
|
|
171
183
|
The context meter under the composer shows the same numbers, lets you set the compaction point, and carries the renewal strategy: **summarize**, **fresh**, or **auto**. Fresh-context compaction does not call a summarizing model or delete session history. It replaces earlier model context with working notes, history pointers and a handoff, retaining user input and recent messages within their budgets. **Auto** is the built-in main-agent default: use a fresh context when the safety conditions are met, otherwise summarize. The timeline names the mode actually used. `/autocompact` shows or moves the compaction point from the terminal. Facts that must survive compression belong in [memory](./memory.md), which outlives the session.
|
|
172
184
|
|
|
173
|
-
Both renewal modes keep media in unanswered user input. Historical images, audio and video share a 20,000-token estimated allowance across retained
|
|
185
|
+
Both renewal modes keep media in unanswered user input. Historical images, audio and video share a 20,000-token estimated allowance across retained original messages and recent tool output; user-provided media takes priority over tool media. Retained media stays in its original user message or tool result, in conversation order; the handoff itself is text-only. Compaction does not delete session history or saved attachments, so the agent can reread an earlier image when needed. This allowance uses Kiki's media estimate, not the provider's actual image-token count.
|
|
174
186
|
|
|
175
187
|
## Forking a session
|
|
176
188
|
|
|
@@ -196,7 +208,7 @@ Omitting `sessionId` exports the most recent session in the current directory (w
|
|
|
196
208
|
kiki export <sessionId> -o ~/Desktop/my-session.zip
|
|
197
209
|
```
|
|
198
210
|
|
|
199
|
-
The export includes everything in the session directory, diagnostic logs included, plus the global log at `~/.kiki/logs/kimi-code.log
|
|
211
|
+
The export includes everything in the session directory, diagnostic logs included, plus the current home's global log at `<home>/logs/kimi-code.log` (default `~/.kiki/logs/kimi-code.log`; the name is inherited from the project's earlier naming). Add `--no-include-global-log` to leave that one out.
|
|
200
212
|
|
|
201
213
|
You can also export from inside the TUI without leaving the interactive session:
|
|
202
214
|
|
|
@@ -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** |
|
|
@@ -26,12 +27,24 @@ The settings sidebar groups twenty entries under seven headings: **App**, **Mode
|
|
|
26
27
|
| Token usage and cost | **Usage → History** |
|
|
27
28
|
| Running or queued model requests | **Usage → Live** |
|
|
28
29
|
| Model/provider request concurrency | **Usage → Live → Concurrency limits** |
|
|
29
|
-
| Send usage to another service | **Usage →
|
|
30
|
+
| Send usage to another service | **Usage → Export** |
|
|
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
|
-
**Settings → Models & agents → Models & providers** opens **Providers & accounts** (`/settings/ai?tab=providers`), the
|
|
47
|
+
**Settings → Models & agents → Models & providers** opens **Providers & accounts** (`/settings/ai?tab=providers`), the default tab; **Defaults** (`/settings/ai?tab=defaults`) and **Identity** (`/settings/ai?tab=identity`) sit beside it. `/settings/providers` and `/settings/models` open the same tab. The page has three blocks, in this order, plus a folded **Maintenance** section at the bottom.
|
|
35
48
|
|
|
36
49
|
**① API key providers** lists hosted APIs you reach with a key. An empty list in this block does not mean the page has no connections.
|
|
37
50
|
|
|
@@ -40,11 +53,11 @@ The settings sidebar groups twenty entries under seven headings: **App**, **Mode
|
|
|
40
53
|
- **From the directory** — pick a service from models.dev and Kiki fills in its address and model list. An id that already exists updates that connection, and the form says so before you press.
|
|
41
54
|
- **Enter it myself** — a protocol, an address and a key, for a service the directory does not have, including a local server.
|
|
42
55
|
|
|
43
|
-
Once any connection exists, search covers every configured connection. The new row appears in the block for how it is reached.
|
|
56
|
+
For either path, use **Add model** inside the connection form, then choose **Save provider**. Once any connection exists, search covers every configured connection and also finds a connection by the IDs and names of its models. The new row appears in the block for how it is reached.
|
|
44
57
|
|
|
45
58
|
**② Account sign-in (subscription)** lists the subscription accounts already connected: Kimi Code, a ChatGPT account for Codex, a Grok Build account, GitHub Copilot. An account that is not connected yet has **Sign in** in this block. An account you already have a connection for is not offered again; a sign-in that has gone stale is recovered on that connection's own row.
|
|
46
59
|
|
|
47
|
-
**③ Local HTTP and CLI** holds a server on this machine and local programs such as AGY CLI, Codex, and Claude Code. Once a CLI program is enabled, choose it from the conversation's runtime picker. **Let an outside client use Kiki** opens **Connection & remote → Access from elsewhere** (`/settings/connection-services`). `/settings/external-clients` opens the same
|
|
60
|
+
**③ Local HTTP and CLI** holds a server on this machine and local programs such as AGY CLI, Codex, and Claude Code. Once a CLI program is enabled, choose it from the conversation's runtime picker. **Let an outside client use Kiki** opens **Connection & remote → Access from elsewhere → External clients** (`/settings/connection-services?tab=clients`). `/settings/external-clients` opens the same tab. The **Browser** tab holds web access and the Cloudflare tunnel; **Other Kiki** holds the Kikis allowed to connect to you.
|
|
48
61
|
|
|
49
62
|
An account connection is written by the sign-in, so its row has no protocol, address or key to fill in. Expand it to see which account is behind it, what the vendor says it has left, and the action that changes the sign-in:
|
|
50
63
|
|
|
@@ -53,7 +66,7 @@ An account connection is written by the sign-in, so its row has no protocol, add
|
|
|
53
66
|
- **Sign-in didn't finish** — the flow ended without a credential: you declined it, the code expired, or it failed. One line says which, and the row is left as the server reports it.
|
|
54
67
|
- **Waiting for you** — a sign-in is running, with the code, **Open verification page**, how long it stays valid, and **Cancel sign-in**.
|
|
55
68
|
|
|
56
|
-
A completed sign-in adds that account's models to the catalog on the server.
|
|
69
|
+
A completed sign-in adds that account's models to the catalog on the server. In **Providers & accounts**, expand the connection row to see its **Models** list and sign-in state.
|
|
57
70
|
|
|
58
71
|
Signing out here affects Kiki only. The provider keeps its own record of your subscription, and signing in again reconnects the same account.
|
|
59
72
|
|
|
@@ -80,19 +93,21 @@ A reading timeout only bounds waiting; it never limits how much can be read. A c
|
|
|
80
93
|
|
|
81
94
|
## Models and Recipes
|
|
82
95
|
|
|
83
|
-
**Settings → Models & agents → Models & providers** opens **Providers & accounts**. **Models**
|
|
96
|
+
**Settings → Models & agents → Models & providers** opens **Providers & accounts**. To edit a model, expand its connection row, open its **Models** list, and click the model; the full editor opens in a side panel. **Defaults** (`/settings/ai?tab=defaults`) is where the other task models are set. **Identity** (`/settings/ai?tab=identity`) decides how outbound requests introduce themselves. `/settings/ai?tab=models` and `/settings/models` open **Providers & accounts**, while `/settings/ai?tab=providers&model=<model id>` opens that model's editor directly.
|
|
84
97
|
|
|
85
|
-
Above the tabs, **New sessions use**
|
|
98
|
+
Above the tabs, the **New sessions use** bar and the star on a model row set the global model for new sessions. The titles, fast model, and subagents listed beside it open **Defaults**, where you change them.
|
|
86
99
|
|
|
87
|
-
|
|
100
|
+
In **Providers & accounts → Decision services**, add Jev, a compatible System One service or a reranker using the existing connection credentials. These services need a remote model name, not a chat-model entry. In **Defaults → Who decides**, choose a decision connection or existing chat model independently for permission review and Memory Advisor. A connection keeps its protocol, endpoint and key; each job can override its remote model name. Pair-score services are offered only for memory ranking. See [decision connections](../configuration/providers.md#decision-connections).
|
|
88
101
|
|
|
89
|
-
|
|
102
|
+
In the model editor, change request settings and prompt text, then **Save** once. The identity selector keeps **Shared**, **Main agent**, and **Delegated agent** drafts separate; saving includes edits made in all three. Advanced fields edit the same model rather than a second form. Editing text loaded from a file stores an inline copy on the model, leaving the source file unchanged. **Remove model** is at the bottom of the editor and asks for confirmation.
|
|
103
|
+
|
|
104
|
+
Opening a prompt does not by itself leave the shared group. While **Main agent** or **Delegated agent** still follows that group, the first **Save** of a prompt copies the whole effective group onto that identity, including unchanged file references and timing. Later edits to the shared group no longer change it. A steering source set to **Follow the user-message setting** uses the steering text and timing already in effect for user messages on the selected identity. That is the saved steering, not the words of the user message. After the identity has its own prompt copy, this reads the steering on that copy. A source left unconfigured stays off.
|
|
90
105
|
|
|
91
106
|
Usage fields on an identity are separate from that copy. Changing **Default thinking effort**, **Service tier**, **Max generated tokens**, **Automatic compaction point**, or **Context budget** writes only that field. When a shared **Context budget** or **Max generated tokens** is already set, a higher value on the identity does not raise it, and a lower value tightens it. **Default thinking effort**, **Service tier**, and **Automatic compaction point** take the identity's value. **Use shared again** restores that field; leaving a field out of the save keeps it.
|
|
92
107
|
|
|
93
108
|
**Model switching** is under **Defaults** on that page (`/settings/ai?tab=defaults`). It sets the default and **Ask before switching**. **Direct** keeps the current context, **Summarize first** compacts it, and **Fresh context** starts a new window. Exception rules match canonical model ids. `*` and `?` are the only wildcards, an empty side matches any model, and the first enabled rule wins. **Save rules** replaces that list and does not change the default or the ask setting. The fields are [`[model_switch]`](../configuration/config-files.md#model-switch).
|
|
94
109
|
|
|
95
|
-
A [Recipe](../customization/
|
|
110
|
+
A [Recipe](../customization/recipes.md) contributes a reusable set of prompt and model-setting overrides. In the model editor, choose **Choose a Recipe**, then browse installed packages, configured markets or **Import**. Preview a URL or an absolute path on the server; HTTPS ZIP imports also need their SHA-256 checksum. Reading or selecting a package does not apply it.
|
|
96
111
|
|
|
97
112
|
- **Apply to model** commits the selected Recipe together with the model's current unsaved edits. **Restore manual settings** removes that model's Recipe reference and saves those edits too; it does not erase saved manual values or a profile's separate Recipe.
|
|
98
113
|
- **Install and apply** installs the preview and performs that same model save. **Install only** stores the package without applying it or saving model drafts. If applying fails, the installation, selection and drafts remain; correct the reported problem and retry **Apply to model** without reinstalling.
|
|
@@ -109,6 +124,10 @@ The **Identity** tab is the central page for request identity: the global defaul
|
|
|
109
124
|
|
|
110
125
|
The dialog's three choices are saved rather than repeated each time: **Remind me tomorrow** comes back 24 hours later, **Skip this version** silences that version on that channel only, and a newer version still comes either way. Before installing, Kiki re-checks the channel and the version and refuses an offer that has changed underneath you. If a choice cannot be saved, the dialog stays open and asks you to try again. See [Kiki desktop](../getting-started/desktop-app.md#update).
|
|
111
126
|
|
|
127
|
+
## Memory
|
|
128
|
+
|
|
129
|
+
**Settings → Memory** (`/settings/memory`) separates the overall **Allow memory** switch from **Memory Advisor**. The advisor card shows its source and links to **Defaults → Who decides** to change it. Choose a source and enable the advisor to start using it, or test the saved source with sample data. **Advanced** contains selection and request budgets and diagnostics. The memory-page header and `Ctrl-K` provide the same global advisor switch; turning it off retains the configuration and restores the previous memory selection and text. See [Memory Advisor](./memory.md#memory-advisor) for setup.
|
|
130
|
+
|
|
112
131
|
## Agents
|
|
113
132
|
|
|
114
133
|
**Settings → Models & agents → Agents** has two tabs. **Agent profiles** (`/settings/agents?tab=profiles`), the default, lists the selected workspace's main and subagent profiles in one table — role, engine, model, effort, and who may dispatch whom — and marks the file each profile comes from. Open a row to edit its instructions and settings; a file-backed profile can also be edited at the source shown. The same tab holds **Identity and agent loading** and **Prompt fields**, which edits the `[prompt]` prompt-field overrides section in `config.toml`; expand the card first. **Subagents & dispatch** (`/settings/agents?tab=dispatch`) holds the defaults that apply across profiles — see [Dispatch capabilities](#dispatch-capabilities). See [Agents and subagents](../customization/agents-and-subagents.md#capability-visibility) and [Prompt field overrides](../customization/prompt-fields.md).
|
|
@@ -117,13 +136,15 @@ The periodic long-term memory reminders run on their own schedule. To stop just
|
|
|
117
136
|
|
|
118
137
|
## Notifications & messages
|
|
119
138
|
|
|
120
|
-
**Settings → App → Notifications & messages** (`/settings/notifications`) is its own entry in the settings sidebar.
|
|
139
|
+
**Settings → App → Notifications & messages** (`/settings/notifications`) is its own entry in the settings sidebar. It has three tabs: **Channels & accounts** (`/settings/notifications?tab=accounts`), **When to notify** (`/settings/notifications?tab=rules`), and **This device** (`/settings/notifications?tab=device`). Old `?tab=im` and `?tab=channels` links open **Channels & accounts**; `?tab=away` opens **This device**.
|
|
140
|
+
|
|
141
|
+
**Channels & accounts** has a single **My channels** card: two-way accounts such as QQ, Telegram, and WeChat (tagged **Two-way**) and one-way bots and webhooks (tagged **Alerts only**) share one list, which you can search and filter once it grows. **Add channel** opens a side panel where you pick a platform, and then **Talk with Kiki** or **Alerts only** when that platform offers both; the steps for binding a chat are in [Phone session](../features/phone.md). Expand **Advanced** on a two-way account row for QQ's **Configure account** link, which opens the kiki-qq plugin settings. QQ 0.4.0 offers mobile QQ QR setup alongside manual credentials and OneBot settings. Confirm the bot on your phone, check the returned AppID, then choose **Save this account**. Saving leaves a stopped connection stopped; an enabled connection reconnects using the new credentials.
|
|
121
142
|
|
|
122
|
-
|
|
143
|
+
**When to notify** has **Notification rules**: the master **Send notifications** switch, quiet hours, **Skip the session you are viewing**, and **Skip short work**. Its **Which channel hears what** table has one row per push channel and one checkbox column for each event, **The conversation finishes** and **A question is waiting**; **The conversation finishes** uses the same work-completion decision. This table is the only place to choose which events a channel receives; per-channel event checkboxes are no longer in each channel row. Previously disabled masters, connections and channels stay disabled. New configurations default to on with **Skip short work** at `0` seconds, so short replies qualify too. Raising it filters short-work notices for those channels, without changing what completion means. Channel rules are saved by the connected server.
|
|
123
144
|
|
|
124
|
-
|
|
145
|
+
Under **This device**, **System notifications**, **Allow system notifications** controls session notifications and pending-input reminders from other spaces on this device. The default-on **Notify when the conversation finishes** switch notifies when you are not viewing that conversation, including when another conversation or Settings is open in Kiki. Completion means the assigned work has settled: the main agent has finished, finite background tasks and subagents have settled, and their results and any automatic continuation have been handled. A turn ending alone does not notify. Resident servers, watchers and future schedules do not keep work unfinished; approvals, questions, failures and user stops are not completion notices. In a browser, allow this site to send notifications; if you previously denied permission, restore it in the address bar’s site permissions.
|
|
125
146
|
|
|
126
|
-
|
|
147
|
+
Open the notified conversation to clear its unread badge. Focusing Kiki, visiting Home or Settings, or opening another conversation does not mark it read. Notification clicks open the same conversation in its original home and connection; other conversations remain unread. A conversation left open in a hidden or unfocused window is not marked read until you return to it. After a brief disconnect or app reopen, Kiki catches up completion receipts retained by the running server for ten minutes, without repeating receipts already observed on this device. The first launch does not replay historical completions. System-notification switches are saved on this device.
|
|
127
148
|
|
|
128
149
|
## Search & retrieval
|
|
129
150
|
|
|
@@ -133,37 +154,38 @@ The same section's **Advanced & diagnostics** tab carries a **Full-text index**
|
|
|
133
154
|
|
|
134
155
|
## Browser control
|
|
135
156
|
|
|
136
|
-
**Settings → Capabilities → Browser & computer** opens on its **Browser control** tab (`/settings/browser-control?tab=browser`), which
|
|
157
|
+
**Settings → Capabilities → Browser & computer** opens on its **Browser control** tab (`/settings/browser-control?tab=browser`), which brings together the overall browser verdict, the connection list, and four setup sources. **Computer control** is the second tab.
|
|
137
158
|
|
|
138
|
-
**Allow browser** sits at the top of the page. It stays allowed unless this server has turned it off. **On
|
|
159
|
+
**Allow browser** sits at the top of the page beside a single verdict line that states whether the agent can currently use a browser, how many browsers are allowed, which default is active, or the first gate that blocks browser control. It stays allowed unless this server has turned it off. **On for new sessions** chooses whether a new conversation starts with the tools. A conversation can turn them off, or back on while they are allowed. The next model request uses that choice. The allow switch does not change which browsers are installed. It makes browser tools available subject to the conversation’s tool settings. If the open conversation still has an older tool selection, **Apply current tool settings** previews the target conversation and updates only its tools after confirmation. Its prompt, model and history stay unchanged; explicit tool selections and denied tools remain restricted. Older bindings whose tool source is unknown are never widened automatically.
|
|
139
160
|
|
|
140
|
-
|
|
141
|
-
- **Independent browser**: Kiki manages a separate browser and sign-in profile. **Set up** downloads its components; **Connect** starts control, and **Open browser** opens or activates its window. **Advanced options** provides **Check and update** and, on a Windows server, **Create desktop shortcut**. Updates keep a running browser unchanged; shortcuts appear on the server's desktop without overwriting unrelated shortcuts.
|
|
142
|
-
- **Codex / ChatGPT browser extension**: a setup route for the Codex or ChatGPT desktop app and its browser extension. It is not a connection type in the editor below. **Set up** prepares the bridge components. Choose a discovered **Available extension connection**, then **Save connection**. These are unverified endpoint candidates: desktop app tools share the same pipe-name prefix. Saving reports that the configuration is saved and connection verification is pending; only a successful browser handshake marks it **Connected**. Saving does not open the pipe, approve the extension, register a native host, or restart the browser. Kiki handles a real permission request when the app or extension sends one. **Official instructions** stay on the route. If no candidates are listed, check the official host and runtime diagnostics; an empty list alone does not mean the extension is disabled. Checking a discovered candidate that is not saved yet saves that connection, then allows the agent to use it, and leaves the current default unchanged. **Save connection** remains the way to save the candidate you picked in the list. If that save fails, the checkbox stays clear and the page says why, so you can try again.
|
|
143
|
-
- **Ego Lite**: install Ego Lite yourself from its official download page and finish its own setup window. Kiki does not install Ego Lite and does not import Chrome data. There is no component-install button. When Ego Lite is not installed, the row links to the download. If it is already installed and its own setup is finished, this page checks that installation and can show it ready; an unfinished Ego setup window stays unfinished, and a process that merely exits is not treated as ready. **Check Ego Lite** runs that check again. After it is ready, select that connection for an agent. Advanced fields on the connection are the CLI path, an optional profile id, and an optional service name.
|
|
161
|
+
Under **Browser connections**, every saved browser appears in one list with its name, connection type, location, runtime state, a **Default** tag on the active default, and, on the right, the row's allow switch and **⋯** menu. Turn a browser's switch on to let the agent use it; turn it off to take the permission back immediately. The **⋯** menu holds **Set as default** (**Clear default** when it already is), check, connect or **Disconnect**, and delete; it is the single place to choose which browser new sessions use. With no default, the verdict line reads **no default, each call names one**. Allowing a browser and choosing the default are separate: turning off a switch leaves the default where it is (and the verdict line calls out when the selected default is not allowed), and a failed default change leaves the allowed browsers as they were so you can try again.
|
|
144
162
|
|
|
145
|
-
|
|
163
|
+
Pressing **Add browser** on the list's heading row opens a side panel in two steps. The first step, **Pick a browser for the Agent to drive.**, lists the four routes in order (Kimi Browser Extension, Independent browser, Codex browser extension, Ego Lite), each with one line of description and the server's readiness word, followed by **Configure manually**. The second step opens that route's own setup (or the manual form), with a back button in the panel header; finishing a route keeps the panel on its connected state while the list behind it refreshes. The same four sources also stay manageable in the **Browser sources** fold under the connection list:
|
|
146
164
|
|
|
147
|
-
|
|
165
|
+
- **Kimi Browser Extension**: drives the browser you already use, with your own sign-ins. Kiki installs the plugin and local bridge; add the extension from your browser's store and approve it there. An existing usable bridge can connect even when its version differs from the bundled download. **Advanced options → Check and update** downloads the verified release; a failed update keeps the previous installation, and a running bridge stays on its current version. The **WebBridge readiness** fold inside this route states whether the local bridge is working, offers **Check again**, and — while a component is missing — the consented **Set up WebBridge** action.
|
|
166
|
+
- **Independent browser**: Kiki manages a separate browser and sign-in profile. **Set up** downloads its components; **Connect** starts control, and **Open browser** opens or activates its window. **Advanced options** provides **Check and update** and, on a Windows server, **Create desktop shortcut**. Updates keep a running browser unchanged; shortcuts appear on the server's desktop without overwriting unrelated shortcuts.
|
|
167
|
+
- **Codex / ChatGPT browser extension**: a setup source for the Codex or ChatGPT desktop app and its browser extension. **Set up** prepares the bridge components. Discovered pipes that are not yet saved appear under **Found here, not saved yet. Tick one to save it and let the Agent use it.**: checking one saves that connection, allows the agent to use it, and leaves the current default unchanged. These are unverified endpoint candidates (desktop app tools share the same pipe-name prefix), so a newly saved pipe reports that approval is not yet confirmed until a browser handshake succeeds. Saving does not open the pipe, approve the extension, register a native host, or restart the browser. Kiki handles a real permission request when the app or extension sends one. **Official instructions** stay on the route. If no candidates are listed, check the official host and runtime diagnostics; an empty list alone does not mean the extension is disabled. If saving fails, the checkbox stays clear and the page says why, so you can try again.
|
|
168
|
+
- **Ego Lite**: install Ego Lite yourself from its official download page and finish its own setup window. Kiki does not install Ego Lite and does not import Chrome data. There is no component-install button. When Ego Lite is not installed, the row links to the download. If it is already installed and its own setup is finished, this page checks that installation and can show it ready; an unfinished Ego setup window stays unfinished, and a process that merely exits is not treated as ready. **Check Ego Lite** runs that check again. When ready with no saved connection yet, checking its discovered item under **Found here, not saved yet. Tick one to save it and let the Agent use it.** saves and allows it. Advanced fields on the connection are the CLI path, an optional profile id, and an optional service name.
|
|
148
169
|
|
|
149
|
-
Each
|
|
170
|
+
Each source has its own switch. Turn a source off to stop discovery, connection and tool use for that source. The connections you had checked stay checked, and turning the source back on restores those same allowed connections. A connection that was not checked, including one found while the source was off, stays unchecked.
|
|
150
171
|
|
|
151
|
-
|
|
172
|
+
Each source row states its own status and **what it still needs**, and puts the next action on that same line: **Set up** while a component is missing, the store link while only the approval is left, and **Allow browser control** while only the capability switch is. Once everything Kiki can install is in place, the Kimi and Independent rows stop asking you to install. Step details sit in the **What this server checked** fold.
|
|
173
|
+
|
|
174
|
+
**Allow browser control** is the same consented action, on this page. When the capability switch is the only thing missing, that one confirmation installs whatever is still missing — nothing at all when the components are already in place — enables the plugin, and allows browser control (launching or attaching) for the server. The confirmation says all three before you accept. Browser control is available by default; components still need consented setup and a connection starts only when requested. The action also restores a saved off choice when you explicitly confirm it.
|
|
152
175
|
|
|
153
176
|
If something outside this page holds browser control off — an environment variable, or a runtime override on that host — no action here can change it. The row says exactly that instead of offering a button, and **See what holds it off** names the override responsible.
|
|
154
177
|
|
|
155
|
-
|
|
178
|
+
Opening a row in **Browser connections** expands that connection's editor under the row while the list stays visible; opening a row never changes state, and allowance stays on the row's switch. Existing connections retain their id, type and default after upgrades; a display name never selects a provider. Saved Codex connections can be renamed here without changing their runtime or browser binding. Under **Add browser → Configure manually**, you can create a connection in one of three styles:
|
|
156
179
|
|
|
157
180
|
- **Profile (Independent agent browser)**: Kiki starts and manages a browser of its own on the server, with a profile (sign-in state) of its own — your everyday browser cookies are not copied. Optional extras: an installed Chrome or Edge instead of the bundled one, and **Show the browser window** (off by default, so it starts headless).
|
|
158
181
|
- **CDP (Existing or remote browser)**: attaches to a browser that already exposes a CDP address and starts nothing new. That address names the machine the browser runs on, which may be a different machine.
|
|
182
|
+
- **Kimi WebBridge**: creates a record bound to the local Kimi WebBridge HTTP daemon on the server, with no endpoint address required.
|
|
159
183
|
|
|
160
|
-
Each connection can be checked, connected and disconnected on its own. A check starts the managed driver and reads its session and tab state; a CDP connection handshakes with the endpoint and lists its targets.
|
|
184
|
+
Each connection can be checked, connected and disconnected on its own. A check starts the managed driver and reads its session and tab state; a CDP connection handshakes with the endpoint and lists its targets; a Kimi WebBridge connection checks the local bridge. None of them opens a page. Saving writes configuration only and ends that connection's current running session first. **Disconnect** releases the connection: a borrowed CDP or WebBridge browser stays, an instance Kiki started is closed. The default browser applies to sessions created afterwards; turning a connection off never swaps in another one.
|
|
161
185
|
|
|
162
186
|
The driver, and any browser Kiki starts, run on the Kiki server — not on the device showing this window; the components live under `<Kiki home>/browser/resources` on the machine that runs them.
|
|
163
187
|
|
|
164
|
-
Agents use these connections through the [browser tools](../reference/tools.md#browser-tools), naming a connection by its id — never by display name. The
|
|
165
|
-
|
|
166
|
-
The **WebBridge readiness** card sits on this page too, below the routes. It states whether the Kimi Browser Extension bridge is working, offers **Check again**, and — while a component is missing — the consented **Set up WebBridge** action. Kimi WebBridge checks one fixed local bridge. A list of Codex extension pipes, or several independent-browser profiles, does not add Kimi WebBridge instances.
|
|
188
|
+
Agents use these connections through the [browser tools](../reference/tools.md#browser-tools), naming a connection by its id — never by display name. The capability flag and the connections themselves live under [`[experimental]`](../configuration/config-files.md#experimental) and [`[browser_control]`](../configuration/config-files.md#browser-control) respectively.
|
|
167
189
|
|
|
168
190
|
## Plugins
|
|
169
191
|
|
|
@@ -183,13 +205,15 @@ The page has its own address, so you can copy it, refresh, or use the browser's
|
|
|
183
205
|
|
|
184
206
|
## Computer control
|
|
185
207
|
|
|
186
|
-
**Settings → Capabilities → Browser & computer**, then the **Computer control** tab (`/settings/computer-control` opens that tab),
|
|
208
|
+
**Settings → Capabilities → Browser & computer**, then the **Computer control** tab (`/settings/computer-control` opens that tab), leads with the overall desktop verdict and the allow switch, then the computer MCP connections; the machine facts, executor install details, and model usage preference sit in the **Advanced** fold under the connection list. Desktop actions run on the machine hosting the Kiki server, through a pinned open-source executor; nothing is installed or connected automatically.
|
|
209
|
+
|
|
210
|
+
**Allow computer control** sits at the top of this tab beside a single verdict line that states whether the agent can currently drive the desktop, which connection is active, or the first gate to resolve (such as **Install executor** when the active CUA path is not installed yet). It stays allowed unless this server has turned it off. **On for new sessions** chooses whether a new conversation starts with the tools. Off for one conversation leaves them out of that conversation. Turning allow off leaves them out everywhere, including a task that names them. Changing allow updates the tools a computer connection that is already running offers. Tool policy can still deny those tools, or only some of them, and the page says so. The switch does not install the executor or connect the desktop. The usage preference below does not grant or remove the tools.
|
|
187
211
|
|
|
188
|
-
**
|
|
212
|
+
**Install executor** downloads and verifies that release, then registers a global MCP connection named `kiki-computer` (the driver's path plus `mcp` arguments). **Installed** on the **Bundled CUA executor** line means the pinned files verified — it does not check that anything can actually be controlled, and it does not touch the desktop. The machine line names the host that would be driven (**Kiki server** is the connected server, so over a remote or SSH connection the desktop is that host's own graphical session), with **Check status** and an **Install details** fold for step-by-step verification.
|
|
189
213
|
|
|
190
|
-
**
|
|
214
|
+
Under **Computer control connections**, **Active connection** on the list header chooses which computer MCP connection runs (defaulting to the CUA default path), Opening a connection row expands its form under the row to edit its command, arguments, run location, or environment variables, **Test** the connection, or **Stop control**. **Add** on the heading row opens the add view: **Add manually** creates a custom connection, and on a Windows server the **Register an installed Windows-MCP 0.8.8 environment** fold there registers an existing Python interpreter and `--config` file into the global MCP configuration without running `uv`, `install`, `auth`, or `serve`, and without automatically switching the active connection.
|
|
191
215
|
|
|
192
|
-
**
|
|
216
|
+
**Model usage preference** only guides the model. It does not grant or remove the permission the switch and tool policy decide. It defaults to **Avoid**: models generally avoid computer control unless you or your rules explicitly request it, and prefer existing CLI, API, MCP, short-script, and browser-specific capabilities. **Prefer** favors computer control for suitable interactive tasks. Both choices respect your current explicit instructions, tool availability, correctness, and permissions. Picking **Avoid** or **Prefer** saves immediately and applies on the next model request without changing tool permissions or installation; a failed save reverts to the stored value and reports the error. The source tag shows the effective configuration layer; **Restore inherited** removes this server's override and adopts the inherited value, which can also be **Prefer**.
|
|
193
217
|
|
|
194
218
|
The main agent of each session uses the executor's own tools through the existing [MCP](../server/mcp.md) mechanism and permissions. Children need an explicit computer-tool opt-in; the usage preference does not enable their tools. See [`computer_control`](../configuration/config-files.md#computer-control) for the field and tool-selection rules. The pinned Windows executor watches the primary display and cannot pick a different one. On macOS the desktop permission travels in the calling process, so grant it where the driver reports it missing.
|
|
195
219
|
|
|
@@ -207,7 +231,7 @@ On **Settings → Models & agents → Agents → Agent profiles** (`/settings/ag
|
|
|
207
231
|
|
|
208
232
|
Session controls stay at `/settings/sessions` (**Sessions & work → Sessions**). **Sessions & work → Workspaces** opens workspaces and does not replace these addresses.
|
|
209
233
|
|
|
210
|
-
That page also carries **Task and background policy** — how many background tasks may run, the timeout that applies to Bash tasks, and what a non-interactive run does with work still in flight
|
|
234
|
+
That page also carries **Task and background policy** — how many background tasks may run, the timeout that applies to Bash tasks, and what a non-interactive run does with work still in flight. The task fields are stored under [`background`](../configuration/config-files.md#background). **Cron operations**, the scheduled-task runtime's read-only diagnostics, lives under **Advanced → Developer & labs** (`/settings/developer#st-card-cron`). Existing cron links open the card there.
|
|
211
235
|
|
|
212
236
|
**Import history** (`/settings/sessions/import`) opens Kiki's built-in importer, also available from **New session**. No plugin installation or activation is needed for the built-in formats; see [Session history import](../customization/plugins.md#session-history-import).
|
|
213
237
|
|
|
@@ -227,14 +251,14 @@ On desktop-width screens, **Standard / Cockpit** in the right-panel header switc
|
|
|
227
251
|
|
|
228
252
|
## Usage
|
|
229
253
|
|
|
230
|
-
Open **Usage** in the sidebar (`/usage`). The tabs are **Live**, **History**, **Quotas**, and **
|
|
254
|
+
Open **Usage** in the sidebar (`/usage`). The tabs are **Live**, **History**, **Quotas**, and **Export**, in that order. With no history filter and no `panel=` choice, the page opens **Live**. An address that already filters history, or `panel=history`, opens **History**. `panel=realtime` and `panel=limits` open **Live**.
|
|
231
255
|
|
|
232
|
-
- **Live:** model requests and live agents appear as two vertically arranged groups
|
|
256
|
+
- **Live:** model requests and live agents appear as two vertically arranged groups. The model-request group leads with running and queued totals across this service and a **By dimension** switch for model, provider or role, and its waiting rows name the blocking rule IDs with 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
257
|
- **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.
|
|
235
|
-
- **
|
|
258
|
+
- **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.
|
|
259
|
+
- **Export:** 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
260
|
|
|
237
|
-
A **vibecafe.ai** destination signs in from the page itself: press **Sign in to VibeCafe
|
|
261
|
+
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
262
|
|
|
239
263
|
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
264
|
|
|
@@ -248,7 +272,7 @@ On upgrade, an explicit off choice for the retired `usage_export` flag pauses ex
|
|
|
248
272
|
|
|
249
273
|
A **Script** destination runs your command as your own OS user with your ordinary permissions — it can read files and reach the network on its own, and this is not a sandbox. Kiki writes only the content-free batch to its stdin and reads a receipt from its output.
|
|
250
274
|
|
|
251
|
-
For a request that looks stuck, open **Live
|
|
275
|
+
For a request that looks stuck, open **Live** and its waiting rows before changing a limit. A queued row names the local rule blocking it, and a provider HTTP 429 is diagnosed from the provider's own error — a full local queue, a timeout and a rejection each need a different fix. [`request_governance`](../configuration/config-files.md#request-governance) has the fields, examples and error codes. The rules cover the model requests this service sends itself: when you run a turn on Codex, Claude Code, or Grok Build as the engine, those requests are the engine's own and are not counted here, while an external tool calling back into Kiki for a native request is.
|
|
252
276
|
|
|
253
277
|
## CLI counterpart
|
|
254
278
|
|
package/dist/docs/en/index.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: home
|
|
3
|
+
title: Kiki (kiki-agent) — Multi-Model AI Agent Workbench
|
|
4
|
+
titleTemplate: false
|
|
3
5
|
hero:
|
|
4
6
|
name: Kiki
|
|
5
7
|
text: Hand over a folder and a task.
|
|
6
|
-
tagline: An open-source AI agent workbench on your machine. Map a codebase, cross-check PDFs and spreadsheets, or finish a draft — the lead session dispatches subagents on the models you choose, while sessions stay in one local store shared by desktop, terminal, and browser.
|
|
8
|
+
tagline: An open-source multi-model AI agent workbench on your machine. Map a codebase, cross-check PDFs and spreadsheets, or finish a draft — the lead session dispatches subagents on the models you choose, while sessions stay in one local store shared by desktop, terminal, and browser.
|
|
7
9
|
actions:
|
|
8
10
|
- theme: brand
|
|
9
11
|
text: Get Started
|