kaijibot 2026.8.12 → 2026.8.13

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.
Files changed (31) hide show
  1. package/dist/.buildstamp +1 -1
  2. package/dist/build-info.json +3 -3
  3. package/dist/cli-startup-metadata.json +1 -1
  4. package/dist/{command-registry-Dm-NOKfF.js → command-registry-CzIjJqSd.js} +1 -1
  5. package/dist/{command-registry-zmPW46lk.js → command-registry-Dzmy-Fk9.js} +4 -4
  6. package/dist/{completion-cli-xTD0LI-c.js → completion-cli-BZCZHpRI.js} +1 -1
  7. package/dist/{completion-cli-DU4XCxns.js → completion-cli-szFn0gi3.js} +2 -2
  8. package/dist/{doctor-completion-4NAVzgO_.js → doctor-completion--iv9THPR.js} +1 -1
  9. package/dist/entry.js +1 -1
  10. package/dist/extensions/diffs/.kaijibot-runtime-deps-stamp.json +1 -1
  11. package/dist/extensions/feishu/.kaijibot-runtime-deps-stamp.json +1 -1
  12. package/dist/extensions/kindle-portal/.kaijibot-runtime-deps-stamp.json +1 -1
  13. package/dist/extensions/webhooks/.kaijibot-runtime-deps-stamp.json +1 -1
  14. package/dist/{gateway-cli-BxtWDdYA.js → gateway-cli-Cd7M2y_Z.js} +1 -1
  15. package/dist/index.js +1 -1
  16. package/dist/{onboard-DfRxIzGa.js → onboard-DSFaXaL7.js} +1 -1
  17. package/dist/plugin-sdk/.boundary-entry-shims.stamp +1 -1
  18. package/dist/{program-BJNGJQ7i.js → program-B3lZPnSC.js} +1 -1
  19. package/dist/{prompt-select-styled-Cp-y9M9U.js → prompt-select-styled-6MiY59Sc.js} +1 -1
  20. package/dist/{register.maintenance-ZR_WPsUf.js → register.maintenance-5NrRo9Zr.js} +1 -1
  21. package/dist/{register.onboard-CrWkd5Es.js → register.onboard-D32_hhFQ.js} +1 -1
  22. package/dist/{register.setup-DK9QFaqV.js → register.setup-BOwYy5l_.js} +1 -1
  23. package/dist/{register.subclis-BxAr9pE8.js → register.subclis-CEg_SDKu.js} +1 -1
  24. package/dist/{register.subclis-MieKlAhq.js → register.subclis-I8urwqJl.js} +3 -3
  25. package/dist/{run-main-Wh7L3IyR.js → run-main-BltFpmGU.js} +3 -3
  26. package/dist/{server-BZq5P06_.js → server-BkIH7LGX.js} +1 -1
  27. package/dist/{server.impl-nRWhR63b.js → server.impl-C2DYRouz.js} +2 -13
  28. package/dist/{setup-BbKIF81A.js → setup-DGy74tPn.js} +1 -1
  29. package/dist/{setup.finalize-Cq3eih-P.js → setup.finalize-BxYICl5i.js} +2 -2
  30. package/dist/{update-cli-D2FXMVpk.js → update-cli-Cd30mlXy.js} +3 -3
  31. package/package.json +1 -1
package/dist/.buildstamp CHANGED
@@ -1 +1 @@
1
- {"builtAt":1786504688353,"head":"f282d96d5831f96e552b6cac353133be15737c08"}
1
+ {"builtAt":1786506823235,"head":"88d1d1f1395783b5d562a6ddf8b59fd294d0ec99"}
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2026.8.12",
3
- "commit": "f282d96d5831f96e552b6cac353133be15737c08",
4
- "builtAt": "2026-08-12T03:19:09.646Z"
2
+ "version": "2026.8.13",
3
+ "commit": "88d1d1f1395783b5d562a6ddf8b59fd294d0ec99",
4
+ "builtAt": "2026-08-12T03:54:36.866Z"
5
5
  }
@@ -14,5 +14,5 @@
14
14
  ],
15
15
  "channelCatalogSignature": "a99b78ac99491ac5c8d64c4a6973088cc21688cb",
16
16
  "rootHelpBundleSignature": "8520d7aba9638401504ce3128c98e059de7ceb60",
17
- "rootHelpText": "\n👾 KaijiBot 2026.8.12 (f282d96)\n Compound interest of knowledge is the most powerful force — a little daily progress compounds beyond imagination over a decade.\n\nUsage: kaijibot [options] [command]\n\nOptions:\n --container <name> Run the CLI inside a running Podman/Docker container\n named <name> (default: env KAIJIBOT_CONTAINER)\n --dev Dev profile: isolate state under ~/.kaijibot-dev, default\n gateway port 19001, and shift derived ports\n (browser/canvas)\n -h, --help Display help for command\n --log-level <level> Global log level override for file + console\n (silent|fatal|error|warn|info|debug|trace)\n --no-color Disable ANSI colors\n --profile <name> Use a named profile (isolates\n KAIJIBOT_STATE_DIR/KAIJIBOT_CONFIG_PATH under\n ~/.kaijibot-<name>)\n -V, --version output the version number\n\nCommands:\n Hint: commands suffixed with * have subcommands. Run <command> --help for details.\n acp * Agent Control Protocol tools\n agent Run one agent turn via the Gateway\n agents * Manage isolated agents (workspaces, auth, routing)\n android-install Set up KaijiBot on Android/Termux (auto-installs\n packages, boot script, battery settings)\n approvals * Manage exec approvals (gateway or node host)\n backup * Create and verify local backup archives for KaijiBot\n state\n capability * Run provider-backed inference commands (fallback alias:\n infer)\n channels * Manage connected chat channels (Telegram, Discord, etc.)\n clawbot * Legacy clawbot command aliases\n completion Generate shell completion script\n config * Non-interactive config helpers\n (get/set/unset/file/validate). Default: starts guided\n setup.\n configure Interactive configuration for credentials, channels,\n gateway, and agent defaults\n cron * Manage cron jobs via the Gateway scheduler\n daemon * Gateway service (legacy alias)\n dashboard Open the Control UI with your current token\n devices * Device pairing + token management\n directory * Lookup contact and group IDs (self, peers, groups) for\n supported chat channels\n dns * DNS helpers for wide-area discovery (Tailscale + CoreDNS)\n docs Search the live KaijiBot docs\n doctor Health checks + quick fixes for the gateway and channels\n gateway * Run, inspect, and query the WebSocket Gateway\n health Fetch health from the running gateway\n help Display help for command\n hooks * Manage internal agent hooks\n infer * Run provider-backed inference commands\n logs Tail gateway file logs via RPC\n mcp * Manage KaijiBot MCP config and channel bridge\n memory Search, inspect, and reindex memory files\n message * Send, read, and manage messages\n migrate Migrate data from OpenClaw or legacy installations to\n KaijiBot\n models * Discover, scan, and configure models\n node * Run and manage the headless node host service\n nodes * Manage gateway-owned node pairing and node commands\n onboard Interactive onboarding for the gateway, workspace, and\n skills\n pairing * Secure DM pairing (approve inbound requests)\n plugins * Manage KaijiBot plugins and extensions\n qa * Run QA scenarios and launch the private QA debugger UI\n qr Generate mobile pairing QR/setup code\n reset Reset local config/state (keeps the CLI installed)\n sandbox * Manage sandbox containers for agent isolation\n secrets * Secrets runtime reload controls\n security * Security tools and local config audits\n sessions * List stored conversation sessions\n setup Initialize local config and agent workspace\n skills * List and inspect available skills\n soul * Manage soul presets (MBTI-based personality profiles)\n status Show channel health and recent session recipients\n system * System events, heartbeat, and presence\n tasks * Inspect durable background task state\n tui Open a terminal UI connected to the Gateway\n uninstall Uninstall the gateway service + local data (CLI remains)\n update * Update KaijiBot and inspect update channel status\n webhooks * Webhook helpers and integrations\n\nExamples:\n kaijibot models --help\n Show detailed help for the models command.\n kaijibot channels login --verbose\n Link personal WhatsApp Web and show QR + connection logs.\n kaijibot message send --target +15555550123 --message \"Hi\" --json\n Send via your web session and print JSON result.\n kaijibot gateway --port 18789\n Run the WebSocket Gateway locally.\n kaijibot --dev gateway\n Run a dev Gateway (isolated state/config) on ws://127.0.0.1:19001.\n kaijibot gateway --force\n Kill anything bound to the default gateway port, then start it.\n kaijibot gateway ...\n Gateway control via WebSocket.\n kaijibot agent --to +15555550123 --message \"Run summary\" --deliver\n Talk directly to the agent using the Gateway; optionally send the WhatsApp reply.\n kaijibot message send --channel feishu --target ou_xxx --message \"Hi\"\n Send via your Telegram bot.\n\nDocs: https://gitee.com/kaiji1126/kaijibot/blob/main/docs/cli.md\n\n"
17
+ "rootHelpText": "\n👾 KaijiBot 2026.8.13 (88d1d1f) — A real conversation isn't exchanging opinions — it's co-creating new understanding.\n\nUsage: kaijibot [options] [command]\n\nOptions:\n --container <name> Run the CLI inside a running Podman/Docker container\n named <name> (default: env KAIJIBOT_CONTAINER)\n --dev Dev profile: isolate state under ~/.kaijibot-dev, default\n gateway port 19001, and shift derived ports\n (browser/canvas)\n -h, --help Display help for command\n --log-level <level> Global log level override for file + console\n (silent|fatal|error|warn|info|debug|trace)\n --no-color Disable ANSI colors\n --profile <name> Use a named profile (isolates\n KAIJIBOT_STATE_DIR/KAIJIBOT_CONFIG_PATH under\n ~/.kaijibot-<name>)\n -V, --version output the version number\n\nCommands:\n Hint: commands suffixed with * have subcommands. Run <command> --help for details.\n acp * Agent Control Protocol tools\n agent Run one agent turn via the Gateway\n agents * Manage isolated agents (workspaces, auth, routing)\n android-install Set up KaijiBot on Android/Termux (auto-installs\n packages, boot script, battery settings)\n approvals * Manage exec approvals (gateway or node host)\n backup * Create and verify local backup archives for KaijiBot\n state\n capability * Run provider-backed inference commands (fallback alias:\n infer)\n channels * Manage connected chat channels (Telegram, Discord, etc.)\n clawbot * Legacy clawbot command aliases\n completion Generate shell completion script\n config * Non-interactive config helpers\n (get/set/unset/file/validate). Default: starts guided\n setup.\n configure Interactive configuration for credentials, channels,\n gateway, and agent defaults\n cron * Manage cron jobs via the Gateway scheduler\n daemon * Gateway service (legacy alias)\n dashboard Open the Control UI with your current token\n devices * Device pairing + token management\n directory * Lookup contact and group IDs (self, peers, groups) for\n supported chat channels\n dns * DNS helpers for wide-area discovery (Tailscale + CoreDNS)\n docs Search the live KaijiBot docs\n doctor Health checks + quick fixes for the gateway and channels\n gateway * Run, inspect, and query the WebSocket Gateway\n health Fetch health from the running gateway\n help Display help for command\n hooks * Manage internal agent hooks\n infer * Run provider-backed inference commands\n logs Tail gateway file logs via RPC\n mcp * Manage KaijiBot MCP config and channel bridge\n memory Search, inspect, and reindex memory files\n message * Send, read, and manage messages\n migrate Migrate data from OpenClaw or legacy installations to\n KaijiBot\n models * Discover, scan, and configure models\n node * Run and manage the headless node host service\n nodes * Manage gateway-owned node pairing and node commands\n onboard Interactive onboarding for the gateway, workspace, and\n skills\n pairing * Secure DM pairing (approve inbound requests)\n plugins * Manage KaijiBot plugins and extensions\n qa * Run QA scenarios and launch the private QA debugger UI\n qr Generate mobile pairing QR/setup code\n reset Reset local config/state (keeps the CLI installed)\n sandbox * Manage sandbox containers for agent isolation\n secrets * Secrets runtime reload controls\n security * Security tools and local config audits\n sessions * List stored conversation sessions\n setup Initialize local config and agent workspace\n skills * List and inspect available skills\n soul * Manage soul presets (MBTI-based personality profiles)\n status Show channel health and recent session recipients\n system * System events, heartbeat, and presence\n tasks * Inspect durable background task state\n tui Open a terminal UI connected to the Gateway\n uninstall Uninstall the gateway service + local data (CLI remains)\n update * Update KaijiBot and inspect update channel status\n webhooks * Webhook helpers and integrations\n\nExamples:\n kaijibot models --help\n Show detailed help for the models command.\n kaijibot channels login --verbose\n Link personal WhatsApp Web and show QR + connection logs.\n kaijibot message send --target +15555550123 --message \"Hi\" --json\n Send via your web session and print JSON result.\n kaijibot gateway --port 18789\n Run the WebSocket Gateway locally.\n kaijibot --dev gateway\n Run a dev Gateway (isolated state/config) on ws://127.0.0.1:19001.\n kaijibot gateway --force\n Kill anything bound to the default gateway port, then start it.\n kaijibot gateway ...\n Gateway control via WebSocket.\n kaijibot agent --to +15555550123 --message \"Run summary\" --deliver\n Talk directly to the agent using the Gateway; optionally send the WhatsApp reply.\n kaijibot message send --channel feishu --target ou_xxx --message \"Hi\"\n Send via your Telegram bot.\n\nDocs: https://gitee.com/kaiji1126/kaijibot/blob/main/docs/cli.md\n\n"
18
18
  }
@@ -1,3 +1,3 @@
1
1
  import "./core-command-descriptors-C6sYXgBr.js";
2
- import { n as registerCoreCliByName } from "./command-registry-zmPW46lk.js";
2
+ import { n as registerCoreCliByName } from "./command-registry-Dzmy-Fk9.js";
3
3
  export { registerCoreCliByName };
@@ -1,6 +1,6 @@
1
1
  import { t as resolveCliArgvInvocation } from "./argv-invocation-CagzCjnZ.js";
2
2
  import { n as shouldRegisterPrimaryCommandOnly } from "./command-registration-policy-BMA0d51Q.js";
3
- import { a as defineImportedCommandGroupSpec, i as buildCommandGroupEntries, o as defineImportedProgramCommandGroupSpecs, r as registerSubCliCommands } from "./register.subclis-MieKlAhq.js";
3
+ import { a as defineImportedCommandGroupSpec, i as buildCommandGroupEntries, o as defineImportedProgramCommandGroupSpecs, r as registerSubCliCommands } from "./register.subclis-I8urwqJl.js";
4
4
  import { i as registerCommandGroups, r as registerCommandGroupByName } from "./register-command-groups-EWuTSFO0.js";
5
5
  import { n as getCoreCliCommandNames$1, t as getCoreCliCommandDescriptors } from "./core-command-descriptors-C6sYXgBr.js";
6
6
  //#region src/cli/program/command-registry.ts
@@ -16,12 +16,12 @@ const coreEntrySpecs = [
16
16
  ...withProgramOnlySpecs(defineImportedProgramCommandGroupSpecs([
17
17
  {
18
18
  commandNames: ["setup"],
19
- loadModule: () => import("./register.setup-DK9QFaqV.js"),
19
+ loadModule: () => import("./register.setup-BOwYy5l_.js"),
20
20
  exportName: "registerSetupCommand"
21
21
  },
22
22
  {
23
23
  commandNames: ["onboard"],
24
- loadModule: () => import("./register.onboard-CrWkd5Es.js"),
24
+ loadModule: () => import("./register.onboard-D32_hhFQ.js"),
25
25
  exportName: "registerOnboardCommand"
26
26
  },
27
27
  {
@@ -46,7 +46,7 @@ const coreEntrySpecs = [
46
46
  "reset",
47
47
  "uninstall"
48
48
  ],
49
- loadModule: () => import("./register.maintenance-ZR_WPsUf.js"),
49
+ loadModule: () => import("./register.maintenance-5NrRo9Zr.js"),
50
50
  exportName: "registerMaintenanceCommands"
51
51
  },
52
52
  {
@@ -1,2 +1,2 @@
1
- import { a as registerCompletionCli, c as usesSlowDynamicCompletion, i as isCompletionInstalled, n as getCompletionScript, o as resolveCompletionCachePath, r as installCompletion, s as resolveShellFromEnv, t as completionCacheExists } from "./completion-cli-DU4XCxns.js";
1
+ import { a as registerCompletionCli, c as usesSlowDynamicCompletion, i as isCompletionInstalled, n as getCompletionScript, o as resolveCompletionCachePath, r as installCompletion, s as resolveShellFromEnv, t as completionCacheExists } from "./completion-cli-szFn0gi3.js";
2
2
  export { completionCacheExists, getCompletionScript, installCompletion, isCompletionInstalled, registerCompletionCli, resolveCompletionCachePath, resolveShellFromEnv, usesSlowDynamicCompletion };
@@ -5,8 +5,8 @@ import { t as formatDocsLink } from "./links-DG6HlfoL.js";
5
5
  import { r as theme } from "./theme-BtqB6Mz_.js";
6
6
  import { _ as resolveStateDir } from "./paths-BzRif4MR.js";
7
7
  import { r as t } from "./translate-CZMssHoF.js";
8
- import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-MieKlAhq.js";
9
- import { n as registerCoreCliByName, t as getCoreCliCommandNames } from "./command-registry-zmPW46lk.js";
8
+ import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-I8urwqJl.js";
9
+ import { n as registerCoreCliByName, t as getCoreCliCommandNames } from "./command-registry-Dzmy-Fk9.js";
10
10
  import { t as getProgramContext } from "./program-context-beQs52o_.js";
11
11
  import path from "node:path";
12
12
  import os from "node:os";
@@ -1,7 +1,7 @@
1
1
  import { t as resolveKaijiBotPackageRoot } from "./kaijibot-root-BjhI7uOk.js";
2
2
  import { n as resolveCliName } from "./cli-name-mbXbS_Xz.js";
3
3
  import { t as note } from "./note-o9JlpIK2.js";
4
- import { c as usesSlowDynamicCompletion, i as isCompletionInstalled, o as resolveCompletionCachePath, r as installCompletion, s as resolveShellFromEnv, t as completionCacheExists } from "./completion-cli-DU4XCxns.js";
4
+ import { c as usesSlowDynamicCompletion, i as isCompletionInstalled, o as resolveCompletionCachePath, r as installCompletion, s as resolveShellFromEnv, t as completionCacheExists } from "./completion-cli-szFn0gi3.js";
5
5
  import path from "node:path";
6
6
  import { spawnSync } from "node:child_process";
7
7
  //#region src/commands/doctor-completion.ts
package/dist/entry.js CHANGED
@@ -203,7 +203,7 @@ function tryHandleRootHelpFastPath(argv, deps = {}) {
203
203
  }
204
204
  function runMainOrRootHelp(argv) {
205
205
  if (tryHandleRootHelpFastPath(argv)) return;
206
- import("./run-main-Wh7L3IyR.js").then(({ runCli }) => runCli(argv)).catch((error) => {
206
+ import("./run-main-BltFpmGU.js").then(({ runCli }) => runCli(argv)).catch((error) => {
207
207
  console.error("[kaijibot] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
208
208
  process$1.exitCode = 1;
209
209
  });
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "fingerprint": "7f9a14455059d2608f7b54d385279434b5706b102c321092d95562543bbefe89",
3
- "generatedAt": "2026-08-12T03:18:02.540Z"
3
+ "generatedAt": "2026-08-12T03:53:37.235Z"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "fingerprint": "0e863d9e866384b501fe67a8493a59d491638c0b14dbd959b9a842c395597683",
3
- "generatedAt": "2026-08-12T03:18:05.412Z"
3
+ "generatedAt": "2026-08-12T03:53:40.242Z"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "fingerprint": "f6b459898ce2a3c3ffaab0a08be3597be3c465e286ddf8b3b439b3cc96a48291",
3
- "generatedAt": "2026-08-12T03:18:08.060Z"
3
+ "generatedAt": "2026-08-12T03:53:42.947Z"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "fingerprint": "e14e27d86a5c2cd6c7799ab20222469b1730dec59a22bdb6fdc2634a5d690d4f",
3
- "generatedAt": "2026-08-12T03:18:08.122Z"
3
+ "generatedAt": "2026-08-12T03:53:43.005Z"
4
4
  }
@@ -1181,7 +1181,7 @@ async function runGatewayCommand$1(opts) {
1181
1181
  const { startGatewayServer } = await withProgress({
1182
1182
  label: t("cli.gateway.run.loadingModules"),
1183
1183
  indeterminate: true
1184
- }, async () => import("./server-BZq5P06_.js"));
1184
+ }, async () => import("./server-BkIH7LGX.js"));
1185
1185
  setConsoleTimestampPrefix(true);
1186
1186
  if (devMode) await ensureDevGatewayConfig({ reset: Boolean(opts.reset) });
1187
1187
  gatewayLog.info("loading configuration…");
package/dist/index.js CHANGED
@@ -26,7 +26,7 @@ let runExec;
26
26
  let saveSessionStore;
27
27
  let waitForever;
28
28
  async function loadLegacyCliDeps() {
29
- const [{ installGaxiosFetchCompat }, { runCli }] = await Promise.all([import("./gaxios-fetch-compat-C7uLN0yt.js"), import("./run-main-Wh7L3IyR.js")]);
29
+ const [{ installGaxiosFetchCompat }, { runCli }] = await Promise.all([import("./gaxios-fetch-compat-C7uLN0yt.js"), import("./run-main-BltFpmGU.js")]);
30
30
  return {
31
31
  installGaxiosFetchCompat,
32
32
  runCli
@@ -16,7 +16,7 @@ import { t as WizardCancelledError } from "./prompts-BxqZMpRa.js";
16
16
  import { n as logConfigUpdated } from "./logging-Cfo_m4oX.js";
17
17
  import { t as createClackPrompter } from "./clack-prompter-Dt70PlIh.js";
18
18
  import { c as resolveManifestProviderOnboardAuthFlags, i as resolveDeprecatedAuthChoiceReplacement, n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice, t as formatDeprecatedNonInteractiveAuthChoiceError } from "./auth-choice-legacy-B36i1CbP.js";
19
- import { t as runSetupWizard } from "./setup-BbKIF81A.js";
19
+ import { t as runSetupWizard } from "./setup-DGy74tPn.js";
20
20
  import { r as applyLocalSetupWorkspaceConfig } from "./onboard-config-D6HSppfR.js";
21
21
  //#region src/commands/onboard-core-auth-flags.ts
22
22
  const CORE_ONBOARD_AUTH_FLAGS = [];
@@ -1 +1 @@
1
- 2026-08-12T03:19:08.080Z
1
+ 2026-08-12T03:54:35.554Z
@@ -4,7 +4,7 @@ import { n as VERSION } from "./version-Bhg28AYn.js";
4
4
  import "./globals-BZWRdOIN.js";
5
5
  import { n as resolveCliName } from "./cli-name-mbXbS_Xz.js";
6
6
  import { n as resolveCliChannelOptions } from "./channel-options-B7HU3KNx.js";
7
- import { i as registerProgramCommands } from "./command-registry-zmPW46lk.js";
7
+ import { i as registerProgramCommands } from "./command-registry-Dzmy-Fk9.js";
8
8
  import { n as setProgramContext } from "./program-context-beQs52o_.js";
9
9
  import { t as isCommandJsonOutputMode } from "./json-mode-DqdU2QKj.js";
10
10
  import { t as forceFreePort } from "./ports-Dkq3wtgj.js";
@@ -112,7 +112,7 @@ import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-PPA7ao
112
112
  import { t as formatHealthCheckFailure } from "./health-format-Ce_JDIhc.js";
113
113
  import { a as stripUnknownConfigKeys, i as resolveConfigPathTarget, n as formatConfigPath, r as noteOpencodeProviderOverrides, t as runDoctorConfigPreflight } from "./doctor-config-preflight-Btf1cOWg.js";
114
114
  import { a as runChannelPluginStartupMaintenance, i as normalizeCronJobIdentityFields, t as coerceFiniteScheduleNumber } from "./schedule-CwecsZBq.js";
115
- import { n as doctorShellCompletion } from "./doctor-completion-4NAVzgO_.js";
115
+ import { n as doctorShellCompletion } from "./doctor-completion--iv9THPR.js";
116
116
  import { t as collectChannelStatusIssues } from "./channels-status-issues-D2AdlEnC.js";
117
117
  import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-ANQKjlHX.js";
118
118
  import { a as runLegacyStateMigrations, n as detectLegacyStateMigrations } from "./state-migrations-Cbd6TTGf.js";
@@ -15,7 +15,7 @@ import { i as formatControlUiSshHint } from "./onboard-helpers-BdaHbjnc.js";
15
15
  import { a as tryResolveGatewayService } from "./service-Dh0bwr9G.js";
16
16
  import { a as removeStateAndLinkedPaths, i as removePath, o as removeWorkspaceDirs, r as listAgentSessionDirs, t as buildCleanupPlan } from "./cleanup-utils-Bd_rHZ0n.js";
17
17
  import { n as runCommandWithRuntime } from "./cli-utils-IZWWFneu.js";
18
- import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-Cp-y9M9U.js";
18
+ import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-6MiY59Sc.js";
19
19
  import path from "node:path";
20
20
  import { cancel, confirm, isCancel, multiselect } from "@clack/prompts";
21
21
  //#region src/infra/clipboard.ts
@@ -5,7 +5,7 @@ import { i as resolveCliLocale, n as initCliI18n, r as t } from "./translate-CZM
5
5
  import { n as runCommandWithRuntime } from "./cli-utils-IZWWFneu.js";
6
6
  import { c as resolveManifestProviderOnboardAuthFlags } from "./auth-choice-legacy-B36i1CbP.js";
7
7
  import { n as formatAuthChoiceChoicesForCli } from "./auth-choice-options-0pERI0ul.js";
8
- import { n as CORE_ONBOARD_AUTH_FLAGS, t as setupWizardCommand } from "./onboard-DfRxIzGa.js";
8
+ import { n as CORE_ONBOARD_AUTH_FLAGS, t as setupWizardCommand } from "./onboard-DSFaXaL7.js";
9
9
  //#region src/cli/program/register.onboard.ts
10
10
  function resolveInstallDaemonFlag(command, opts) {
11
11
  if (!command || typeof command !== "object") return;
@@ -11,7 +11,7 @@ import { s as resolveSessionTranscriptsDir } from "./paths-DSl3hU-R.js";
11
11
  import { n as safeParseWithSchema } from "./zod-parse-Cu9hgbVC.js";
12
12
  import { n as logConfigUpdated, t as formatConfigPath } from "./logging-Cfo_m4oX.js";
13
13
  import { n as runCommandWithRuntime } from "./cli-utils-IZWWFneu.js";
14
- import { t as setupWizardCommand } from "./onboard-DfRxIzGa.js";
14
+ import { t as setupWizardCommand } from "./onboard-DSFaXaL7.js";
15
15
  import fs from "node:fs/promises";
16
16
  import JSON5 from "json5";
17
17
  import { z } from "zod";
@@ -1,3 +1,3 @@
1
- import { n as registerSubCliByName } from "./register.subclis-MieKlAhq.js";
1
+ import { n as registerSubCliByName } from "./register.subclis-I8urwqJl.js";
2
2
  import "./subcli-descriptors-BumU40t_.js";
3
3
  export { registerSubCliByName };
@@ -58,7 +58,7 @@ const entrySpecs = [
58
58
  },
59
59
  {
60
60
  commandNames: ["gateway"],
61
- loadModule: () => import("./gateway-cli-BxtWDdYA.js"),
61
+ loadModule: () => import("./gateway-cli-Cd7M2y_Z.js"),
62
62
  exportName: "registerGatewayCli"
63
63
  },
64
64
  {
@@ -201,12 +201,12 @@ const entrySpecs = [
201
201
  },
202
202
  {
203
203
  commandNames: ["update"],
204
- loadModule: () => import("./update-cli-D2FXMVpk.js"),
204
+ loadModule: () => import("./update-cli-Cd30mlXy.js"),
205
205
  exportName: "registerUpdateCli"
206
206
  },
207
207
  {
208
208
  commandNames: ["completion"],
209
- loadModule: () => import("./completion-cli-xTD0LI-c.js"),
209
+ loadModule: () => import("./completion-cli-BZCZHpRI.js"),
210
210
  exportName: "registerCompletionCli"
211
211
  }
212
212
  ])
@@ -396,7 +396,7 @@ async function runCli(argv = process$1.argv) {
396
396
  if (await tryRouteCli(normalizedArgv)) return;
397
397
  enableConsoleCapture();
398
398
  const [{ buildProgram }, { installUnhandledRejectionHandler }, { restoreTerminalState }] = await Promise.all([
399
- import("./program-BJNGJQ7i.js"),
399
+ import("./program-B3lZPnSC.js"),
400
400
  import("./unhandled-rejections-B7jiLc5X.js"),
401
401
  import("./restore-ADlpnb-M.js")
402
402
  ]);
@@ -413,10 +413,10 @@ async function runCli(argv = process$1.argv) {
413
413
  const { getProgramContext } = await import("./program-context-Bk8VQcWK.js");
414
414
  const ctx = getProgramContext(program);
415
415
  if (ctx) {
416
- const { registerCoreCliByName } = await import("./command-registry-Dm-NOKfF.js");
416
+ const { registerCoreCliByName } = await import("./command-registry-CzIjJqSd.js");
417
417
  await registerCoreCliByName(program, ctx, primary, parseArgv);
418
418
  }
419
- const { registerSubCliByName } = await import("./register.subclis-BxAr9pE8.js");
419
+ const { registerSubCliByName } = await import("./register.subclis-CEg_SDKu.js");
420
420
  await registerSubCliByName(program, primary);
421
421
  }
422
422
  if (!shouldSkipPluginCommandRegistration({
@@ -1,7 +1,7 @@
1
1
  import { t as truncateCloseReason } from "./close-reason-DgNNQTUr.js";
2
2
  //#region src/gateway/server.ts
3
3
  async function loadServerImpl() {
4
- return await import("./server.impl-nRWhR63b.js");
4
+ return await import("./server.impl-C2DYRouz.js");
5
5
  }
6
6
  async function startGatewayServer(...args) {
7
7
  return await (await loadServerImpl()).startGatewayServer(...args);
@@ -199,7 +199,7 @@ import { t as loadWorkspaceHookEntries } from "./workspace-BKDWfnPa.js";
199
199
  import { i as resolveGatewayStartupPluginIds, r as resolveConfiguredDeferredChannelPluginIds } from "./channel-plugin-ids-BmwxN62G.js";
200
200
  import { a as runChannelPluginStartupMaintenance, i as normalizeCronJobIdentityFields, n as computeNextRunAtMs, r as computePreviousRunAtMs, t as coerceFiniteScheduleNumber } from "./schedule-CwecsZBq.js";
201
201
  import { i as migrateOrphanedSessionKeys } from "./state-migrations-Cbd6TTGf.js";
202
- import { t as runSetupWizard } from "./setup-BbKIF81A.js";
202
+ import { t as runSetupWizard } from "./setup-DGy74tPn.js";
203
203
  import { d as startTaskRegistryMaintenance, f as stopTaskRegistryMaintenance, g as markCronJobActive, h as clearCronJobActive, n as getInspectableTaskRegistrySummary } from "./task-registry.maintenance-BxKIUdLh.js";
204
204
  import { n as collectEnabledInsecureOrDangerousFlags, t as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-1weJroFG.js";
205
205
  import { _ as buildGogWatchStartArgs, g as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, w as resolveGmailHookRuntimeConfig } from "./gmail-setup-utils-BjTvHWj-.js";
@@ -18817,24 +18817,13 @@ async function startGatewayServer(port = 18789, opts = {}) {
18817
18817
  insightDeliveryOutcomeHandler = async ({ agentId, sessionKey, insightId, delivered }) => {
18818
18818
  const { resolveCognitiveUserId } = await import("./identity-DN9QMF_Z.js");
18819
18819
  const userId = resolveCognitiveUserId(sessionKey);
18820
- if (!userId) {
18821
- console.warn("[insight-outcome] no userId for sessionKey:", sessionKey);
18822
- return;
18823
- }
18824
- console.warn("[insight-outcome]", {
18825
- agentId,
18826
- userId,
18827
- insightId,
18828
- delivered
18829
- });
18820
+ if (!userId) return;
18830
18821
  if (delivered) {
18831
18822
  await cognitiveStore.update(agentId, userId, (persona) => {
18832
18823
  const awaiting = persona.feedbackProfile.awaitingDeliveryConfirmation;
18833
- console.warn("[insight-outcome] awaiting:", awaiting ? "found" : "null");
18834
18824
  if (awaiting) {
18835
18825
  persona = ProactiveScheduler.finalizeDelivery(persona, awaiting.eventTimestamp, awaiting.candidate, awaiting.opportunityType);
18836
18826
  persona.feedbackProfile.awaitingDeliveryConfirmation = null;
18837
- console.warn("[insight-outcome] finalized, lastProactiveAt:", persona.feedbackProfile.lastProactiveAt);
18838
18827
  }
18839
18828
  if (persona.feedbackProfile.pendingInsightDelivery) persona.feedbackProfile.pendingInsightDelivery = null;
18840
18829
  return persona;
@@ -483,7 +483,7 @@ async function runSetupWizard(opts, runtime = defaultRuntime, prompter) {
483
483
  mode
484
484
  });
485
485
  await writeConfigFile(nextConfig);
486
- const { finalizeSetupWizard } = await import("./setup.finalize-Cq3eih-P.js");
486
+ const { finalizeSetupWizard } = await import("./setup.finalize-BxYICl5i.js");
487
487
  const { launchedTui } = await finalizeSetupWizard({
488
488
  flow,
489
489
  opts,
@@ -14,11 +14,11 @@ import { i as isSystemdUserServiceAvailable } from "./systemd-CWxWaH1R.js";
14
14
  import { a as tryResolveGatewayService, t as describeGatewayServiceRestart } from "./service-Dh0bwr9G.js";
15
15
  import { n as listConfiguredWebSearchProviders } from "./runtime-CQHmcblN.js";
16
16
  import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DNv5eSv-.js";
17
- import { r as installCompletion } from "./completion-cli-DU4XCxns.js";
17
+ import { r as installCompletion } from "./completion-cli-szFn0gi3.js";
18
18
  import { r as healthCommand } from "./health-CGERlBuw.js";
19
19
  import { t as resolveSetupSecretInputString } from "./setup.secret-input-DhUIgaP4.js";
20
20
  import { t as formatHealthCheckFailure } from "./health-format-Ce_JDIhc.js";
21
- import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-4NAVzgO_.js";
21
+ import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion--iv9THPR.js";
22
22
  import { t as runTui } from "./tui-BM_07QIG.js";
23
23
  import path from "node:path";
24
24
  import os from "node:os";
@@ -29,10 +29,10 @@ import { d as formatUpdateChannelLabel, g as resolveUpdateChannelDisplay, h as r
29
29
  import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-W1QbnUdM.js";
30
30
  import { a as createGlobalInstallEnv, c as globalInstallArgs, d as resolveGlobalInstallTarget, f as normalizePackageTagInput, i as collectInstalledGlobalPackageErrors, l as resolveExpectedInstalledVersionFromSpec, m as readPackageVersion, n as canResolveRegistryVersionForPackageTarget, o as detectGlobalInstallManagerByPresence, p as readPackageName, r as cleanupGlobalRenameDirs, s as detectGlobalInstallManagerForRoot, t as runGatewayUpdate, u as resolveGlobalInstallSpec } from "./update-runner-CFPiEpEV.js";
31
31
  import { n as renderTable, t as getTerminalTableWidth } from "./table-Bwd5JCmV.js";
32
- import { r as installCompletion } from "./completion-cli-DU4XCxns.js";
32
+ import { r as installCompletion } from "./completion-cli-szFn0gi3.js";
33
33
  import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-Dxt6Te--.js";
34
- import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-Cp-y9M9U.js";
35
- import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-4NAVzgO_.js";
34
+ import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-6MiY59Sc.js";
35
+ import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion--iv9THPR.js";
36
36
  import path from "node:path";
37
37
  import { spawn, spawnSync } from "node:child_process";
38
38
  import os from "node:os";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaijibot",
3
- "version": "2026.8.12",
3
+ "version": "2026.8.13",
4
4
  "description": "Proactive cognitive AI assistant with Feishu/WeChat integration — learns user interests, pushes cross-domain insights, evolves skills, self-corrects. 40+ LLM providers, runs on cloud/desktop/Android.",
5
5
  "keywords": [
6
6
  "ai",