kiki-agent 0.5.0 → 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 +92 -30
- package/dist/docs/en/configuration/data-locations.md +14 -9
- package/dist/docs/en/configuration/env-vars.md +32 -2
- package/dist/docs/en/configuration/overrides.md +1 -1
- package/dist/docs/en/configuration/providers.md +44 -10
- package/dist/docs/en/customization/agent-profiles.md +1 -1
- package/dist/docs/en/customization/agents-and-subagents.md +49 -10
- package/dist/docs/en/customization/hooks.md +3 -3
- package/dist/docs/en/customization/personas.md +1 -1
- package/dist/docs/en/customization/plugins.md +16 -3
- package/dist/docs/en/customization/prompt-fields.md +62 -6
- 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/browser-and-computer.md +5 -5
- package/dist/docs/en/features/daily.md +3 -3
- package/dist/docs/en/features/ecosystem.md +1 -1
- package/dist/docs/en/features/extend.md +2 -2
- package/dist/docs/en/features/freedom.md +1 -1
- package/dist/docs/en/features/index.md +15 -1
- package/dist/docs/en/features/long-work.md +9 -5
- package/dist/docs/en/features/look.md +1 -1
- package/dist/docs/en/features/phone.md +11 -3
- package/dist/docs/en/features/spaces.md +5 -5
- 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 +18 -8
- package/dist/docs/en/guides/memory.md +64 -10
- package/dist/docs/en/guides/sessions.md +15 -7
- package/dist/docs/en/guides/settings.md +49 -38
- package/dist/docs/en/index.md +3 -1
- package/dist/docs/en/reference/command.md +35 -33
- 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 +40 -15
- package/dist/docs/en/server/acp.md +6 -2
- package/dist/docs/en/server/local-server.md +19 -27
- package/dist/docs/en/server/mcp.md +4 -4
- package/dist/docs/en/server/rest-api.md +240 -23
- package/dist/docs/en/server/script-tools.md +268 -0
- package/dist/docs/zh/configuration/config-files.md +92 -30
- package/dist/docs/zh/configuration/data-locations.md +14 -9
- package/dist/docs/zh/configuration/env-vars.md +32 -2
- package/dist/docs/zh/configuration/overrides.md +1 -1
- package/dist/docs/zh/configuration/providers.md +44 -10
- package/dist/docs/zh/customization/agent-profiles.md +1 -1
- package/dist/docs/zh/customization/agents-and-subagents.md +49 -10
- package/dist/docs/zh/customization/hooks.md +3 -3
- package/dist/docs/zh/customization/personas.md +1 -1
- package/dist/docs/zh/customization/plugins.md +16 -3
- package/dist/docs/zh/customization/prompt-fields.md +62 -6
- 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/browser-and-computer.md +5 -5
- package/dist/docs/zh/features/daily.md +3 -3
- package/dist/docs/zh/features/ecosystem.md +1 -1
- package/dist/docs/zh/features/extend.md +2 -2
- package/dist/docs/zh/features/freedom.md +1 -1
- package/dist/docs/zh/features/index.md +16 -2
- package/dist/docs/zh/features/long-work.md +9 -5
- package/dist/docs/zh/features/look.md +1 -1
- package/dist/docs/zh/features/phone.md +11 -3
- package/dist/docs/zh/features/spaces.md +5 -5
- 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 +18 -8
- package/dist/docs/zh/guides/memory.md +64 -10
- package/dist/docs/zh/guides/sessions.md +15 -7
- package/dist/docs/zh/guides/settings.md +49 -38
- package/dist/docs/zh/index.md +4 -2
- package/dist/docs/zh/reference/command.md +35 -33
- 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 +40 -15
- package/dist/docs/zh/server/acp.md +6 -2
- package/dist/docs/zh/server/local-server.md +19 -27
- package/dist/docs/zh/server/mcp.md +4 -4
- package/dist/docs/zh/server/rest-api.md +229 -23
- 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 +24 -6
- package/dist/mailbox-worker.mjs +111 -5
- 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 +52 -11
- package/dist/sqlite-indexer.mjs +32 -2
- package/dist/sqlite-query-worker.mjs +35 -0
- package/dist/usage-parser-worker.mjs +3953 -4
- package/dist/usage-read-model-worker.mjs +761 -0
- package/dist/web/assets/{AppErrorBoundary-BN6IDdP1.js → AppErrorBoundary-B5Fc4f6-.js} +1 -1
- package/dist/web/assets/NavScopeBoundary-C7MnGQio.js +1 -0
- package/dist/web/assets/{arc-C7IAvCCJ.js → arc-DGB9OVgQ.js} +1 -1
- package/dist/web/assets/{architectureDiagram-3BPJPVTR-CbwFBxn7.js → architectureDiagram-3BPJPVTR-glnQCMub.js} +1 -1
- package/dist/web/assets/{blockDiagram-GPEHLZMM-B20N4t8r.js → blockDiagram-GPEHLZMM-bM0tnGby.js} +1 -1
- package/dist/web/assets/{c4Diagram-AAUBKEIU-3BYtlcP-.js → c4Diagram-AAUBKEIU-DMf_rTtt.js} +1 -1
- package/dist/web/assets/channel-Cj8SKJ38.js +1 -0
- package/dist/web/assets/{chunk-2J33WTMH-CpjgczxM.js → chunk-2J33WTMH-mTccJ3tW.js} +1 -1
- package/dist/web/assets/{chunk-4BX2VUAB-BScxUF5G.js → chunk-4BX2VUAB-DhqPYMjY.js} +1 -1
- package/dist/web/assets/{chunk-55IACEB6-CrcLYJXd.js → chunk-55IACEB6-BujrYRoO.js} +1 -1
- package/dist/web/assets/{chunk-727SXJPM-BwlyIOjw.js → chunk-727SXJPM-ciMmSI4G.js} +1 -1
- package/dist/web/assets/{chunk-AQP2D5EJ-DKKIRkRv.js → chunk-AQP2D5EJ-CZW9pKTc.js} +1 -1
- package/dist/web/assets/{chunk-FMBD7UC4-CVDMj2kX.js → chunk-FMBD7UC4-hdALNnnU.js} +1 -1
- package/dist/web/assets/{chunk-ND2GUHAM-CL-PM6r8.js → chunk-ND2GUHAM-CgKyqUdb.js} +1 -1
- package/dist/web/assets/{chunk-QZHKN3VN-DPV2KbKZ.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-D1CEiQM6.js → cose-bilkent-S5V4N54A-UV3uPjkK.js} +1 -1
- package/dist/web/assets/{dagre-BM42HDAG-BlFV941E.js → dagre-BM42HDAG-Zjy-gQ6C.js} +1 -1
- package/dist/web/assets/{diagram-2AECGRRQ-BC0ldkFY.js → diagram-2AECGRRQ-DL-kilIf.js} +1 -1
- package/dist/web/assets/{diagram-5GNKFQAL-B22Iej6G.js → diagram-5GNKFQAL-CjB_xR5B.js} +1 -1
- package/dist/web/assets/{diagram-KO2AKTUF-B75UNw6D.js → diagram-KO2AKTUF-CjN4i3b9.js} +1 -1
- package/dist/web/assets/{diagram-LMA3HP47-CypI7IJM.js → diagram-LMA3HP47-CPCAMndo.js} +1 -1
- package/dist/web/assets/{diagram-OG6HWLK6-OsXumvcD.js → diagram-OG6HWLK6-DVeBWBKd.js} +1 -1
- package/dist/web/assets/{erDiagram-TEJ5UH35-3756GOvS.js → erDiagram-TEJ5UH35-CHKzBHrr.js} +1 -1
- package/dist/web/assets/export-CXoWon32.js +2 -0
- package/dist/web/assets/{flowDiagram-I6XJVG4X-DB6Y_UDg.js → flowDiagram-I6XJVG4X-C5rQa2pq.js} +1 -1
- package/dist/web/assets/{ganttDiagram-6RSMTGT7-CHJeuoAY.js → ganttDiagram-6RSMTGT7-BrLjEsNJ.js} +1 -1
- package/dist/web/assets/{gitGraphDiagram-PVQCEYII-Dj85554Y.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-C6qeLCPw.js → index-BJxtlf4P.js} +4 -4
- package/dist/web/assets/{index-DxUmR9aV.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-DZMkZKhW.js → index-BvRBCpc6.js} +2 -2
- package/dist/web/assets/index-BxYCSNg_.js +3 -0
- package/dist/web/assets/{index-CJqIcuAl.js → index-C62wjCF_.js} +1 -1
- package/dist/web/assets/index-CBvwNH_H.js +1 -0
- package/dist/web/assets/{index-DRMjjql1.js → index-CG9e6lgq.js} +1 -1
- package/dist/web/assets/{index-C7mOS2T4.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-bYtKyBMB.js → index-CypTtrCB.js} +1 -1
- package/dist/web/assets/{index-DqK8MfQN.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-0tHq8zh2.js → index-DfUpwUTM.js} +2 -2
- package/dist/web/assets/{index-D--cw39y.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-DeDPIdEH.js → infoDiagram-5YYISTIA-CCwV4Z0v.js} +1 -1
- package/dist/web/assets/{ishikawaDiagram-YF4QCWOH-ButuBiBW.js → ishikawaDiagram-YF4QCWOH-BwwZcGyZ.js} +1 -1
- package/dist/web/assets/{journeyDiagram-JHISSGLW-Dlbmqm-j.js → journeyDiagram-JHISSGLW-Dc6WqniQ.js} +1 -1
- package/dist/web/assets/{kanban-definition-UN3LZRKU-tlQK1cOz.js → kanban-definition-UN3LZRKU-DVUqULOS.js} +1 -1
- package/dist/web/assets/{linear-iXuNfUWp.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-2qPv-mwT.js → mindmap-definition-RKZ34NQL-_JHAkhHL.js} +1 -1
- package/dist/web/assets/navViewState-DaCMIYWA.js +1 -0
- package/dist/web/assets/{pieDiagram-4H26LBE5-CrLe1C-O.js → pieDiagram-4H26LBE5-BlhlygGy.js} +1 -1
- package/dist/web/assets/{quadrantDiagram-W4KKPZXB-DfeIFxc0.js → quadrantDiagram-W4KKPZXB-jn6R_C0S.js} +1 -1
- package/dist/web/assets/{requirementDiagram-4Y6WPE33-BWtjdxie.js → requirementDiagram-4Y6WPE33-B9fXCHBr.js} +1 -1
- package/dist/web/assets/{sankeyDiagram-5OEKKPKP-B5TxJ6mb.js → sankeyDiagram-5OEKKPKP-fPJwIxkl.js} +1 -1
- package/dist/web/assets/{sequenceDiagram-3UESZ5HK-Cf92ZCl1.js → sequenceDiagram-3UESZ5HK-1v1DTNGt.js} +1 -1
- package/dist/web/assets/{spaces-DqMTtCXX.js → spaces-CvL2DRZM.js} +1 -1
- package/dist/web/assets/{stateDiagram-AJRCARHV-NR9I-Q4d.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-CBAOVMfm.js → timeline-definition-PNZ67QCA-CEjhuitj.js} +1 -1
- package/dist/web/assets/{vennDiagram-CIIHVFJN-C68x6TdS.js → vennDiagram-CIIHVFJN-CActt9h9.js} +1 -1
- package/dist/web/assets/{wardley-L42UT6IY-DuZZr5jm.js → wardley-L42UT6IY-Bp3q2izt.js} +1 -1
- package/dist/web/assets/{wardleyDiagram-YWT4CUSO-D6dVGtHd.js → wardleyDiagram-YWT4CUSO-C_zutiQ2.js} +1 -1
- package/dist/web/assets/{xychartDiagram-2RQKCTM6-DYLUhZX4.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 +22 -3
- package/dist/web/assets/LifeMark-UBMVaTWr.js +0 -1
- package/dist/web/assets/NavScopeBoundary-BCryw-UG.js +0 -1
- package/dist/web/assets/channel-BJs5vJuh.js +0 -1
- package/dist/web/assets/classDiagram-4FO5ZUOK-BookeACB.js +0 -1
- package/dist/web/assets/classDiagram-v2-Q7XG4LA2-BookeACB.js +0 -1
- package/dist/web/assets/client-CXcrCawx.js +0 -3
- package/dist/web/assets/connection-C8nwzwXB.js +0 -1
- package/dist/web/assets/export-Bn8PqPg4.js +0 -2
- package/dist/web/assets/highlighted-body-OFNGDK62-DMgPHetp.js +0 -1
- package/dist/web/assets/index-7ySDqvaN.css +0 -1
- package/dist/web/assets/index-B0KPRi1U.js +0 -166
- package/dist/web/assets/index-B599VnpP.js +0 -1
- package/dist/web/assets/index-BFK-GypQ.js +0 -1
- package/dist/web/assets/index-BPX8gmpB.js +0 -1
- package/dist/web/assets/index-BSGYc1tb.js +0 -1
- package/dist/web/assets/index-BTt9Q5iv.js +0 -1
- package/dist/web/assets/index-BWzUsoY_.js +0 -1
- package/dist/web/assets/index-BYlSV3FO.js +0 -3
- package/dist/web/assets/index-BpXQ1q-u.js +0 -1
- package/dist/web/assets/index-BqPxpGUh.js +0 -1
- package/dist/web/assets/index-C8OFfbEs.js +0 -1
- package/dist/web/assets/index-CI7yuMGZ.js +0 -1
- package/dist/web/assets/index-CTRJmDep.js +0 -1
- package/dist/web/assets/index-CXGCKoId.js +0 -1
- package/dist/web/assets/index-CsY571EL.js +0 -13
- package/dist/web/assets/index-CwQG_9rB.js +0 -1
- package/dist/web/assets/index-D260jsUJ.js +0 -1
- package/dist/web/assets/index-DJjmEXx4.js +0 -1
- package/dist/web/assets/index-DUxOVxHS.js +0 -1
- package/dist/web/assets/index-GK8aa9pT.js +0 -7
- package/dist/web/assets/index-wxHFHTgD.js +0 -1
- package/dist/web/assets/mermaid-GHXKKRXX-sDJax95P.js +0 -624
- package/dist/web/assets/stateDiagram-v2-BHNVJYJU-BiegFWxE.js +0 -1
- package/dist/web/assets/theme-6OL1RXgY.js +0 -1
|
@@ -32,7 +32,9 @@ Do not manually edit files inside the `sessions/` directory — doing so may pre
|
|
|
32
32
|
|
|
33
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.
|
|
34
34
|
|
|
35
|
-
|
|
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.
|
|
36
38
|
|
|
37
39
|
## Task board
|
|
38
40
|
|
|
@@ -70,7 +72,9 @@ Opening a saved session reads its history without waking an inactive session's a
|
|
|
70
72
|
|
|
71
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.
|
|
72
74
|
|
|
73
|
-
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.
|
|
74
78
|
|
|
75
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.
|
|
76
80
|
|
|
@@ -115,7 +119,9 @@ A thread created by another thread nests under its creator by default. **Show at
|
|
|
115
119
|
|
|
116
120
|
The same menu also offers **Copy thread link** and **Add to conversation**, which inserts a reference into the conversation you have open.
|
|
117
121
|
|
|
118
|
-
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.
|
|
119
125
|
|
|
120
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.
|
|
121
127
|
|
|
@@ -148,11 +154,11 @@ Start with the cost trend, then select a bar to see the consumption sources for
|
|
|
148
154
|
|
|
149
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.
|
|
150
156
|
|
|
151
|
-
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.
|
|
152
158
|
|
|
153
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.
|
|
154
160
|
|
|
155
|
-
|
|
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.
|
|
156
162
|
|
|
157
163
|
## Context compression
|
|
158
164
|
|
|
@@ -170,11 +176,13 @@ You can pass a hint to tell the model what to prioritize when compressing:
|
|
|
170
176
|
|
|
171
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*.
|
|
172
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
|
+
|
|
173
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.
|
|
174
182
|
|
|
175
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.
|
|
176
184
|
|
|
177
|
-
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.
|
|
178
186
|
|
|
179
187
|
## Forking a session
|
|
180
188
|
|
|
@@ -200,7 +208,7 @@ Omitting `sessionId` exports the most recent session in the current directory (w
|
|
|
200
208
|
kiki export <sessionId> -o ~/Desktop/my-session.zip
|
|
201
209
|
```
|
|
202
210
|
|
|
203
|
-
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.
|
|
204
212
|
|
|
205
213
|
You can also export from inside the TUI without leaving the interactive session:
|
|
206
214
|
|
|
@@ -27,7 +27,7 @@ The settings sidebar groups twenty entries under seven headings: **App**, **Mode
|
|
|
27
27
|
| Token usage and cost | **Usage → History** |
|
|
28
28
|
| Running or queued model requests | **Usage → Live** |
|
|
29
29
|
| Model/provider request concurrency | **Usage → Live → Concurrency limits** |
|
|
30
|
-
| Send usage to another service | **Usage →
|
|
30
|
+
| Send usage to another service | **Usage → Export** |
|
|
31
31
|
| TUI theme, editor, and other CLI-side preferences | The `/config` commands in the terminal, see [CLI counterpart](#cli-counterpart) |
|
|
32
32
|
|
|
33
33
|
## Import and export settings
|
|
@@ -44,7 +44,7 @@ After **Apply**, Kiki reads the saved values back and reports each changed item'
|
|
|
44
44
|
|
|
45
45
|
## Connections
|
|
46
46
|
|
|
47
|
-
**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.
|
|
48
48
|
|
|
49
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.
|
|
50
50
|
|
|
@@ -53,11 +53,11 @@ After **Apply**, Kiki reads the saved values back and reports each changed item'
|
|
|
53
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.
|
|
54
54
|
- **Enter it myself** — a protocol, an address and a key, for a service the directory does not have, including a local server.
|
|
55
55
|
|
|
56
|
-
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.
|
|
57
57
|
|
|
58
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.
|
|
59
59
|
|
|
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** (`/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.
|
|
61
61
|
|
|
62
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:
|
|
63
63
|
|
|
@@ -66,7 +66,7 @@ An account connection is written by the sign-in, so its row has no protocol, add
|
|
|
66
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.
|
|
67
67
|
- **Waiting for you** — a sign-in is running, with the code, **Open verification page**, how long it stays valid, and **Cancel sign-in**.
|
|
68
68
|
|
|
69
|
-
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.
|
|
70
70
|
|
|
71
71
|
Signing out here affects Kiki only. The provider keeps its own record of your subscription, and signing in again reconnects the same account.
|
|
72
72
|
|
|
@@ -93,19 +93,21 @@ A reading timeout only bounds waiting; it never limits how much can be read. A c
|
|
|
93
93
|
|
|
94
94
|
## Models and Recipes
|
|
95
95
|
|
|
96
|
-
**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.
|
|
97
97
|
|
|
98
|
-
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.
|
|
99
99
|
|
|
100
|
-
|
|
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).
|
|
101
101
|
|
|
102
|
-
|
|
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.
|
|
103
105
|
|
|
104
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.
|
|
105
107
|
|
|
106
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).
|
|
107
109
|
|
|
108
|
-
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.
|
|
109
111
|
|
|
110
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.
|
|
111
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.
|
|
@@ -122,6 +124,10 @@ The **Identity** tab is the central page for request identity: the global defaul
|
|
|
122
124
|
|
|
123
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).
|
|
124
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
|
+
|
|
125
131
|
## Agents
|
|
126
132
|
|
|
127
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).
|
|
@@ -130,13 +136,15 @@ The periodic long-term memory reminders run on their own schedule. To stop just
|
|
|
130
136
|
|
|
131
137
|
## Notifications & messages
|
|
132
138
|
|
|
133
|
-
**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**.
|
|
134
140
|
|
|
135
|
-
|
|
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.
|
|
136
142
|
|
|
137
|
-
|
|
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.
|
|
138
144
|
|
|
139
|
-
|
|
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.
|
|
146
|
+
|
|
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.
|
|
140
148
|
|
|
141
149
|
## Search & retrieval
|
|
142
150
|
|
|
@@ -146,37 +154,38 @@ The same section's **Advanced & diagnostics** tab carries a **Full-text index**
|
|
|
146
154
|
|
|
147
155
|
## Browser control
|
|
148
156
|
|
|
149
|
-
**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.
|
|
150
158
|
|
|
151
|
-
**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.
|
|
152
160
|
|
|
153
|
-
|
|
154
|
-
- **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.
|
|
155
|
-
- **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.
|
|
156
|
-
- **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.
|
|
157
162
|
|
|
158
|
-
|
|
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:
|
|
159
164
|
|
|
160
|
-
|
|
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.
|
|
169
|
+
|
|
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.
|
|
161
171
|
|
|
162
|
-
Each 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 **
|
|
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.
|
|
163
173
|
|
|
164
|
-
**
|
|
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.
|
|
165
175
|
|
|
166
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.
|
|
167
177
|
|
|
168
|
-
|
|
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:
|
|
169
179
|
|
|
170
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).
|
|
171
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.
|
|
172
183
|
|
|
173
|
-
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.
|
|
174
185
|
|
|
175
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.
|
|
176
187
|
|
|
177
|
-
Agents use these connections through the [browser tools](../reference/tools.md#browser-tools), naming a connection by its id — never by display name. The
|
|
178
|
-
|
|
179
|
-
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.
|
|
180
189
|
|
|
181
190
|
## Plugins
|
|
182
191
|
|
|
@@ -196,13 +205,15 @@ The page has its own address, so you can copy it, refresh, or use the browser's
|
|
|
196
205
|
|
|
197
206
|
## Computer control
|
|
198
207
|
|
|
199
|
-
**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.
|
|
200
211
|
|
|
201
|
-
**
|
|
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.
|
|
202
213
|
|
|
203
|
-
**
|
|
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.
|
|
204
215
|
|
|
205
|
-
**
|
|
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**.
|
|
206
217
|
|
|
207
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.
|
|
208
219
|
|
|
@@ -220,7 +231,7 @@ On **Settings → Models & agents → Agents → Agent profiles** (`/settings/ag
|
|
|
220
231
|
|
|
221
232
|
Session controls stay at `/settings/sessions` (**Sessions & work → Sessions**). **Sessions & work → Workspaces** opens workspaces and does not replace these addresses.
|
|
222
233
|
|
|
223
|
-
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.
|
|
224
235
|
|
|
225
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).
|
|
226
237
|
|
|
@@ -240,12 +251,12 @@ On desktop-width screens, **Standard / Cockpit** in the right-panel header switc
|
|
|
240
251
|
|
|
241
252
|
## Usage
|
|
242
253
|
|
|
243
|
-
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**.
|
|
244
255
|
|
|
245
|
-
- **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.
|
|
246
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).
|
|
247
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.
|
|
248
|
-
- **
|
|
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.
|
|
249
260
|
|
|
250
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.
|
|
251
262
|
|
|
@@ -261,7 +272,7 @@ On upgrade, an explicit off choice for the retired `usage_export` flag pauses ex
|
|
|
261
272
|
|
|
262
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.
|
|
263
274
|
|
|
264
|
-
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.
|
|
265
276
|
|
|
266
277
|
## CLI counterpart
|
|
267
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
|
|
@@ -149,7 +149,7 @@ 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: `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).
|
|
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), [`tools`](../server/script-tools.md) (call shared tools and download saved results as JSON), `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
153
|
|
|
154
154
|
### `kiki session`
|
|
155
155
|
|
|
@@ -198,7 +198,7 @@ kiki storage migrate --home /path/to/home
|
|
|
198
198
|
|
|
199
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
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:
|
|
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`. A source's `exists` means its directory was detected; `stage` tracks its backup, import, and verification. `failure.source` names the failing source; for invalid or conflicting legacy records, `failure.key` names the exact row, while other failures may report the last committed key. 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
202
|
|
|
203
203
|
```sh
|
|
204
204
|
kiki storage cancel --home /path/to/home
|
|
@@ -206,7 +206,16 @@ kiki storage rollback --home /path/to/home
|
|
|
206
206
|
kiki storage backup /path/to/mailbox-backup.sqlite --home /path/to/home
|
|
207
207
|
```
|
|
208
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.
|
|
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.
|
|
210
|
+
|
|
211
|
+
To reclaim duplicate recovery copies after rollback has closed, first preview the exact directories and byte counts. Once all Kiki writers for this home have stopped, confirm with a new backup destination outside the home:
|
|
212
|
+
|
|
213
|
+
```sh
|
|
214
|
+
kiki storage cleanup-recovery --home /path/to/home --json
|
|
215
|
+
kiki storage cleanup-recovery --home /path/to/home --backup /path/outside-home/mailbox-cleanup.sqlite --confirm
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
The confirmed command verifies that every frozen `sources/` file matches its moved original, creates and checks an independent SQLite backup, then removes only matching `sources/` copies for this migration. New migrations already discard their temporary import archive when switching to SQLite; this command also compacts archives left in previously migrated databases. It preserves `originals/` (including older activity epochs), mailbox fences, and the independent backup. If an old or current writer is active, a copy differs, or backup verification fails, no recovery copy is removed. Resume an interrupted cleanup with `--confirm` and its recorded backup, without supplying `--backup` again; if another mailbox writer took ownership since then, choose a new backup destination. Keep the [canonical mailbox directory and retained originals](../configuration/data-locations.md#canonical-mailbox), not only the search or query caches.
|
|
210
219
|
|
|
211
220
|
### `kiki serve`
|
|
212
221
|
|
|
@@ -442,41 +451,34 @@ Client-provided stdio MCP servers are disabled by default. To trust an IDE to st
|
|
|
442
451
|
|
|
443
452
|
### `kiki web`
|
|
444
453
|
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
When the server is running, `GET /openapi.json` returns the REST OpenAPI document and `GET /asyncapi.json` returns the local WebSocket AsyncAPI document. For an end-to-end walkthrough of driving sessions over the API, see [Local server and API](../server/local-server.md); for the protocol details, see the [Server API](../server/rest-api.md) reference.
|
|
454
|
+
Turn on Web access on this home's shared daemon so a browser on another device can enter this Kiki. If no daemon is reachable, one is started first and kept running until you stop it (as `kiki serve --ensure --idle-exit 0ms` would). Kiki then signs a single-use entry link, prints it, opens it in the local browser by default, and the command returns instead of holding the terminal. The output never contains `#token=` or the local-owner capability.
|
|
448
455
|
|
|
449
456
|
```sh
|
|
450
|
-
kiki web
|
|
451
|
-
kiki web --no-open
|
|
452
|
-
kiki web --
|
|
457
|
+
kiki web # temporary Web access (eight hours), print a single-use link
|
|
458
|
+
kiki web --persistent --no-open # always on, print the link only
|
|
459
|
+
kiki web --status # query only; does not start a daemon
|
|
460
|
+
kiki web --off # close Web access; Kiki and its tasks keep running
|
|
461
|
+
kiki web --revoke [session-id] # sign out one browser, or all without an id
|
|
453
462
|
```
|
|
454
463
|
|
|
455
|
-
Multiple instances can run concurrently under the same home: each registers itself in `~/.kiki/server/instances/`, and port collisions increment automatically (58628, 58629, etc.).
|
|
456
|
-
|
|
457
464
|
| Option | Description |
|
|
458
465
|
| --- | --- |
|
|
459
|
-
| `--
|
|
460
|
-
| `--
|
|
461
|
-
| `--
|
|
462
|
-
| `--
|
|
463
|
-
| `--
|
|
464
|
-
| `--
|
|
465
|
-
| `--
|
|
466
|
-
| `--
|
|
467
|
-
| `--
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
:::
|
|
476
|
-
|
|
477
|
-
::: danger Warning
|
|
478
|
-
`--dangerous-bypass-auth` exposes legacy APIs without authentication: anyone with access to the port can control sessions, files and shell. Connection management and forwarding still require local-owner access; effective peer admission is unavailable, and saved grants cannot authorize incoming peers in this mode. Use only in trusted networks or behind an authenticating reverse proxy, and stop the server when finished.
|
|
479
|
-
:::
|
|
466
|
+
| `--home <dir>` | Kiki home to operate on |
|
|
467
|
+
| `--temporary` | Open for eight hours, then close by itself (default) |
|
|
468
|
+
| `--persistent` | Stay open across daemon restarts until you turn it off |
|
|
469
|
+
| `--status` | Show whether it is on and which browsers are signed in; does not start a daemon |
|
|
470
|
+
| `--off` | Close Web access and revoke every link and browser session; Kiki and its tasks keep running |
|
|
471
|
+
| `--revoke [session-id]` | Sign out one browser, or all of them without an id |
|
|
472
|
+
| `--port <port>` | Port for the Web listener; omitted, it reuses the daemon's local port |
|
|
473
|
+
| `--host [host]` | Web listener address; bare `--host` listens on all IPv4 interfaces. A non-loopback address needs an HTTPS `--public-url` or `--insecure-no-tls` |
|
|
474
|
+
| `--public-url <url>` | The origin browsers actually use, for example your HTTPS reverse proxy |
|
|
475
|
+
| `--insecure-no-tls` | Allow plain LAN HTTP; traffic and browser access are not encrypted |
|
|
476
|
+
| `--json` | Print the result as JSON (including `link` when turning on) |
|
|
477
|
+
| `--no-open` | Do not open the link in the local default browser |
|
|
478
|
+
|
|
479
|
+
Choose at most one of `--status`, `--off`, and `--revoke`, and not both `--temporary` and `--persistent`. A single-use link is valid for ten minutes and signs in one browser; Web access is a full-access entry into this Kiki rather than a read-only share. See [Use Kiki in a browser](../server/local-server.md#use-kiki-in-a-browser) for the session and revocation model. The same operations are available as `/web temporary|persistent|status|off|link|revoke [id]` in the interactive TUI, and under **Settings → Connection & remote → Access from elsewhere → Web access** in the GUI.
|
|
480
|
+
|
|
481
|
+
The daemon's own lifecycle belongs to [`kiki serve`](#kiki-serve). While it runs, `GET /openapi.json` returns the REST OpenAPI document and `GET /asyncapi.json` returns the local WebSocket AsyncAPI document; see [Local server and API](../server/local-server.md) for driving sessions over the API and the [Server API](../server/rest-api.md) reference for protocol details. The legacy `kiki server …` command is no longer supported.
|
|
480
482
|
|
|
481
483
|
#### `kiki web rotate-token`
|
|
482
484
|
|
|
@@ -497,7 +499,7 @@ kiki export [sessionId] [options]
|
|
|
497
499
|
| `--yes` | `-y` | Skip confirmation when exporting the default session |
|
|
498
500
|
| `--no-include-global-log` | | Exclude the global diagnostic log. Included by default |
|
|
499
501
|
|
|
500
|
-
The export includes all files in the target session directory. The global diagnostic log (`~/.kiki/logs/kimi-code.log`) is included by default because it may contain events from other sessions or projects; add `--no-include-global-log` if you do not want to share it.
|
|
502
|
+
The export includes all files in the target session directory. The global diagnostic log (`<home>/logs/kimi-code.log`; default `~/.kiki/logs/kimi-code.log`) is included by default because it may contain events from other sessions or projects; add `--no-include-global-log` if you do not want to share it.
|
|
501
503
|
|
|
502
504
|
```sh
|
|
503
505
|
# Export the most recent session in the current directory, skipping confirmation
|
|
@@ -25,7 +25,7 @@ A newly spawned subagent selects its model in this order:
|
|
|
25
25
|
|
|
26
26
|
With none of these sources, the spawn fails with `model.not_configured`; neither the caller's model nor the main-agent `default_model` is a silent fallback. `model_alias: inherit` on a profile, route, or caller lease binds the caller's current model and thinking effort unless an explicit tool `effort` or an applicable effort pin overrides them. `AgentRun` itself rejects `model_alias: "inherit"` — pass a concrete configured model name, or omit the parameter to use the target default. An unknown alias or a model on a denylist fails before the child starts. Choosing a model outside `preferred_models` / `discouraged_models` is allowed as long as it is inside every hard model and effort limit.
|
|
27
27
|
|
|
28
|
-
A resumed or retried subagent keeps its persisted binding unless the `AgentRun` `resume` explicitly requests a change. Omitting both `model_alias` and `effort` keeps the current binding; an explicit effort applies to the next idle run. `AgentRun` rejects `model_alias: "inherit"` on resume as well; specify a concrete model name for an explicit change, or omit it to keep the saved model. Switching to a different canonical model requires `allow_model_change: true
|
|
28
|
+
A resumed or retried subagent keeps its persisted binding unless the `AgentRun` `resume` explicitly requests a change. Omitting both `model_alias` and `effort` keeps the current binding; an explicit effort applies to the next idle run. `AgentRun` rejects `model_alias: "inherit"` on resume as well; specify a concrete model name for an explicit change, or omit it to keep the saved model. Switching to a different canonical model requires an explicit [`context_mode`](../customization/agents-and-subagents.md#named-child-agents), or the legacy `allow_model_change: true` / `new_window: true` confirmation. Do not mix `context_mode` with either legacy parameter. An alias resolving to the same canonical model is a no-op; `compact` and `fresh` can still rebuild its context without changing models.
|
|
29
29
|
|
|
30
30
|
## Agent files and routes
|
|
31
31
|
|
|
@@ -45,7 +45,7 @@ Identity is who the model is serving, not which profile is selected, so switchin
|
|
|
45
45
|
|
|
46
46
|
The context budget and the generated-token ceiling are caps, not preferences: the effective value is the lower of the shared cap and any identity value, so an identity can tighten them but never raise them past what the model allows.
|
|
47
47
|
|
|
48
|
-
In Settings › Models,
|
|
48
|
+
In Settings › Models & providers › Providers & accounts, expand a connection, open its Models list, and click a model row to open the side-panel editor. It opens on the shared values; switch to Main agent to see and edit only that identity's differences, and the editor shows what each field inherits and what it resolves to.
|
|
49
49
|
|
|
50
50
|
## Model ID resolution
|
|
51
51
|
|