kaijibot 2026.7.12 → 2026.7.14
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.en.md +38 -1
- package/README.md +38 -1
- package/dist/.buildstamp +1 -1
- package/dist/{abort-DbGrdDw6.js → abort-CpetqIHA.js} +3 -3
- package/dist/{abort.runtime-BA2GKaGj.js → abort.runtime-CfIyhp-n.js} +1 -1
- package/dist/abort.runtime.js +1 -1
- package/dist/{acp-spawn-cnXaF2db.js → acp-spawn-V--MlhmC.js} +2 -2
- package/dist/{acp-stateful-target-driver-C475sY-b.js → acp-stateful-target-driver-DyMY5T0M.js} +2 -2
- package/dist/{action-info-AhQdLU16.js → action-info-BhXnqXYe.js} +1 -1
- package/dist/{action-kill-h0n4qafj.js → action-kill-D3OM-X5H.js} +2 -2
- package/dist/{action-send-ob_8yGNU.js → action-send-DcYTnm1d.js} +2 -2
- package/dist/{action-spawn-BH3jRM55.js → action-spawn-ieD94T-b.js} +1 -1
- package/dist/agent-VW1MDeSt.js +2 -0
- package/dist/{agent-command-DxQlSWMJ.js → agent-command-Al4qR8C6.js} +5 -5
- package/dist/{agent-runner.runtime-DEzWg7ft.js → agent-runner.runtime-gmD7baXm.js} +4 -4
- package/dist/agent-runner.runtime.js +1 -1
- package/dist/{api-DGyODNm_.js → api-DLFaACI3.js} +1 -1
- package/dist/api-LU_yqdSz.js +2 -0
- package/dist/{backend-config-BgkVTElk.js → backend-config-CvRj2_ql.js} +2 -2
- package/dist/{binding-routing-Ci_SHhM8.js → binding-routing-lIWxghwI.js} +1 -1
- package/dist/{binding-targets-Tpv8ESIw.js → binding-targets-DRQEqy0l.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/{capability-cli-CbFAqokC.js → capability-cli-BO5-Hgrg.js} +4 -4
- package/dist/{channel-core-BdTfIU_v.js → channel-core-CeN1Otf9.js} +1 -1
- package/dist/{channel.runtime-BgHnNNIs.js → channel.runtime-CEPPKWZZ.js} +1 -1
- package/dist/channel.runtime.js +1 -1
- package/dist/cli-ZXlKvKGu.js +2 -0
- package/dist/{cli-Cb7vOmvo.js → cli-sbgsaQWm.js} +1 -1
- package/dist/cli-startup-metadata.json +1 -1
- package/dist/{cli.runtime-CSOYc5A4.js → cli.runtime-BCRb9kzF.js} +4 -4
- package/dist/cli.runtime.js +1 -1
- package/dist/{command-auth-BYrFaYsU.js → command-auth-Dg-ZMcYj.js} +1 -1
- package/dist/{command-registry-Cj06OreQ.js → command-registry-BNgauTyV.js} +6 -6
- package/dist/{command-registry-CspRpvJ-.js → command-registry-BghEP4jf.js} +1 -1
- package/dist/{commands-acp-DBbP3ohr.js → commands-acp-B_M5G6xo.js} +3 -3
- package/dist/{commands-compact.runtime-Ix07A7pA.js → commands-compact.runtime-DEyjOgU8.js} +2 -2
- package/dist/commands-compact.runtime.js +1 -1
- package/dist/{commands-handlers.runtime-BGJzXpfx.js → commands-handlers.runtime-Bty3CNcc.js} +12 -12
- package/dist/commands-handlers.runtime.js +1 -1
- package/dist/{commands-status-DQJgVOfC.js → commands-status-CsD8AJqE.js} +3 -3
- package/dist/{commands-status.runtime-CwyioRgq.js → commands-status.runtime-aXAW07eZ.js} +1 -1
- package/dist/commands-status.runtime.js +1 -1
- package/dist/commands-subagents-control.runtime-40-kwmbu.js +2 -0
- package/dist/{commands-subagents-control.runtime-DWdTx34G.js → commands-subagents-control.runtime-CzYTo2sC.js} +2 -2
- package/dist/commands-subagents-control.runtime.js +1 -1
- package/dist/{commands.runtime-CkUo5Mg9.js → commands.runtime-C7d77JJ8.js} +3 -3
- package/dist/commands.runtime.js +1 -1
- package/dist/{compact-BR7oxnRy.js → compact-0GrpRMY1.js} +5 -5
- package/dist/{compact.runtime-acpU3yd7.js → compact.runtime-BcMi38kp.js} +1 -1
- package/dist/compact.runtime.js +1 -1
- package/dist/{completion-cli-CD1h2HDV.js → completion-cli-LUYd-QKx.js} +1 -1
- package/dist/{completion-cli-DjCG2nyR.js → completion-cli-sDGHIwsA.js} +2 -2
- package/dist/{conversation-runtime-D3_2E5C7.js → conversation-runtime-QutDSrDB.js} +2 -2
- package/dist/{core-DK_HdwV7.js → core-Y0alsTcb.js} +2 -2
- package/dist/{delegate-C4KV9pfd.js → delegate-_pgetKZ9.js} +1 -1
- package/dist/{direct-dm-2rBAMvyo.js → direct-dm-BtwxjEEP.js} +1 -1
- package/dist/{dispatch-DpcVb7U_.js → dispatch-9PVdhmjQ.js} +2 -2
- package/dist/{dispatch-acp-BHK7MCGT.js → dispatch-acp-CdUu0tnG.js} +1 -1
- package/dist/{dispatch-acp-manager.runtime-CgByS1Yh.js → dispatch-acp-manager.runtime-DMR3gKv4.js} +1 -1
- package/dist/dispatch-acp-manager.runtime.js +1 -1
- package/dist/{dispatch-acp.runtime-CnSMytAt.js → dispatch-acp.runtime-0WJ_atSe.js} +1 -1
- package/dist/dispatch-acp.runtime.js +1 -1
- package/dist/{doctor-completion-DNkgzpsU.js → doctor-completion-lOvbW8WO.js} +1 -1
- package/dist/{embedding-provider-CVjZNubh.js → embedding-provider-7oAtGAQy.js} +1 -1
- package/dist/{embedding-provider-C3RatWKK.js → embedding-provider-DAS0qzGy.js} +1 -1
- package/dist/{engine-embeddings-BWYgpMyB.js → engine-embeddings-Cu4EUFkI.js} +1 -1
- package/dist/{engine-qmd-Drdj_gG1.js → engine-qmd-CaO3ORDQ.js} +1 -1
- package/dist/{engine-storage-BJK5nb-p.js → engine-storage-XyWy4a08.js} +4 -3
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/extensions/browser/test-support.js +1 -1
- package/dist/extensions/deepinfra/api.js +1 -1
- package/dist/extensions/deepinfra/embedding-provider.js +1 -1
- package/dist/extensions/deepinfra/memory-embedding-adapter.js +1 -1
- package/dist/extensions/device-pair/api.js +1 -1
- package/dist/extensions/device-pair/index.js +3 -3
- package/dist/extensions/device-pair/notify.js +1 -1
- package/dist/extensions/device-pair/pair-command-approve.js +1 -1
- package/dist/extensions/diffs/.kaijibot-runtime-deps-stamp.json +1 -1
- package/dist/extensions/feishu/.kaijibot-runtime-deps-stamp.json +1 -1
- package/dist/extensions/feishu/api.js +6 -6
- package/dist/extensions/feishu/contract-api.js +1 -1
- package/dist/extensions/feishu/node_modules/.package-lock.json +65 -13
- package/dist/extensions/feishu/node_modules/@larksuiteoapi/node-sdk/README.md +13 -0
- package/dist/extensions/feishu/node_modules/@larksuiteoapi/node-sdk/README.zh.md +12 -0
- package/dist/extensions/feishu/node_modules/@larksuiteoapi/node-sdk/es/index.js +8470 -2989
- package/dist/extensions/feishu/node_modules/@larksuiteoapi/node-sdk/lib/index.js +8470 -2989
- package/dist/extensions/feishu/node_modules/@larksuiteoapi/node-sdk/package.json +1 -1
- package/dist/extensions/feishu/node_modules/agent-base/README.md +145 -0
- package/dist/extensions/feishu/node_modules/agent-base/dist/src/index.d.ts +78 -0
- package/dist/extensions/feishu/node_modules/agent-base/dist/src/index.js +203 -0
- package/dist/extensions/feishu/node_modules/agent-base/dist/src/promisify.d.ts +4 -0
- package/dist/extensions/feishu/node_modules/agent-base/dist/src/promisify.js +18 -0
- package/dist/extensions/feishu/node_modules/agent-base/package.json +64 -0
- package/dist/extensions/feishu/node_modules/agent-base/src/index.ts +345 -0
- package/dist/extensions/feishu/node_modules/agent-base/src/promisify.ts +33 -0
- package/dist/extensions/feishu/node_modules/axios/CHANGELOG.md +458 -2
- package/dist/extensions/feishu/node_modules/axios/README.md +1056 -418
- package/dist/extensions/feishu/node_modules/axios/dist/axios.js +2036 -1250
- package/dist/extensions/feishu/node_modules/axios/dist/axios.min.js +3 -3
- package/dist/extensions/feishu/node_modules/axios/dist/browser/axios.cjs +2169 -1262
- package/dist/extensions/feishu/node_modules/axios/dist/esm/axios.js +2187 -1282
- package/dist/extensions/feishu/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/dist/extensions/feishu/node_modules/axios/dist/node/axios.cjs +3547 -3194
- package/dist/extensions/feishu/node_modules/axios/index.d.cts +66 -44
- package/dist/extensions/feishu/node_modules/axios/index.d.ts +176 -231
- package/dist/extensions/feishu/node_modules/axios/index.js +2 -0
- package/dist/extensions/feishu/node_modules/axios/lib/adapters/adapters.js +5 -3
- package/dist/extensions/feishu/node_modules/axios/lib/adapters/fetch.js +349 -40
- package/dist/extensions/feishu/node_modules/axios/lib/adapters/http.js +668 -200
- package/dist/extensions/feishu/node_modules/axios/lib/adapters/xhr.js +9 -3
- package/dist/extensions/feishu/node_modules/axios/lib/core/Axios.js +30 -10
- package/dist/extensions/feishu/node_modules/axios/lib/core/AxiosError.js +133 -35
- package/dist/extensions/feishu/node_modules/axios/lib/core/AxiosHeaders.js +17 -10
- package/dist/extensions/feishu/node_modules/axios/lib/core/buildFullPath.js +30 -2
- package/dist/extensions/feishu/node_modules/axios/lib/core/dispatchRequest.js +19 -7
- package/dist/extensions/feishu/node_modules/axios/lib/core/mergeConfig.js +56 -4
- package/dist/extensions/feishu/node_modules/axios/lib/core/settle.js +7 -11
- package/dist/extensions/feishu/node_modules/axios/lib/defaults/index.js +14 -9
- package/dist/extensions/feishu/node_modules/axios/lib/defaults/transitional.js +2 -0
- package/dist/extensions/feishu/node_modules/axios/lib/env/data.js +1 -1
- package/dist/extensions/feishu/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +2 -5
- package/dist/extensions/feishu/node_modules/axios/lib/helpers/Http2Sessions.js +119 -0
- package/dist/extensions/feishu/node_modules/axios/lib/helpers/buildURL.js +10 -7
- package/dist/extensions/feishu/node_modules/axios/lib/helpers/composeSignals.js +48 -47
- package/dist/extensions/feishu/node_modules/axios/lib/helpers/cookies.js +18 -2
- package/dist/extensions/feishu/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +37 -5
- package/dist/extensions/feishu/node_modules/axios/lib/helpers/formDataToJSON.js +29 -5
- package/dist/extensions/feishu/node_modules/axios/lib/helpers/formDataToStream.js +4 -3
- package/dist/extensions/feishu/node_modules/axios/lib/helpers/fromDataURI.js +20 -5
- package/dist/extensions/feishu/node_modules/axios/lib/helpers/parseProtocol.js +1 -1
- package/dist/extensions/feishu/node_modules/axios/lib/helpers/progressEventReducer.js +8 -5
- package/dist/extensions/feishu/node_modules/axios/lib/helpers/resolveConfig.js +77 -28
- package/dist/extensions/feishu/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
- package/dist/extensions/feishu/node_modules/axios/lib/helpers/shouldBypassProxy.js +210 -0
- package/dist/extensions/feishu/node_modules/axios/lib/helpers/toFormData.js +51 -7
- package/dist/extensions/feishu/node_modules/axios/lib/helpers/validator.js +4 -2
- package/dist/extensions/feishu/node_modules/axios/lib/utils.js +137 -39
- package/dist/extensions/feishu/node_modules/axios/package.json +112 -137
- package/dist/extensions/feishu/node_modules/debug/LICENSE +20 -0
- package/dist/extensions/feishu/node_modules/debug/README.md +481 -0
- package/dist/extensions/feishu/node_modules/debug/package.json +64 -0
- package/dist/extensions/feishu/node_modules/debug/src/browser.js +272 -0
- package/dist/extensions/feishu/node_modules/debug/src/common.js +292 -0
- package/dist/extensions/feishu/node_modules/debug/src/index.js +10 -0
- package/dist/extensions/feishu/node_modules/debug/src/node.js +263 -0
- package/dist/extensions/feishu/node_modules/https-proxy-agent/README.md +137 -0
- package/dist/extensions/feishu/node_modules/https-proxy-agent/dist/agent.d.ts +30 -0
- package/dist/extensions/feishu/node_modules/https-proxy-agent/dist/agent.js +177 -0
- package/dist/extensions/feishu/node_modules/https-proxy-agent/dist/index.d.ts +23 -0
- package/dist/extensions/feishu/node_modules/https-proxy-agent/dist/index.js +14 -0
- package/dist/extensions/feishu/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
- package/dist/extensions/feishu/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
- package/dist/extensions/feishu/node_modules/https-proxy-agent/package.json +56 -0
- package/dist/extensions/feishu/node_modules/ms/index.js +162 -0
- package/dist/extensions/feishu/node_modules/ms/license.md +21 -0
- package/dist/extensions/feishu/node_modules/ms/package.json +38 -0
- package/dist/extensions/feishu/node_modules/ms/readme.md +59 -0
- package/dist/extensions/feishu/node_modules/proxy-from-env/README.md +43 -11
- package/dist/extensions/feishu/node_modules/proxy-from-env/index.cjs +105 -0
- package/dist/extensions/feishu/node_modules/proxy-from-env/index.js +14 -19
- package/dist/extensions/feishu/node_modules/proxy-from-env/package.json +20 -11
- package/dist/extensions/feishu/runtime-api.js +1 -1
- package/dist/extensions/kindle-portal/.kaijibot-runtime-deps-stamp.json +1 -1
- package/dist/extensions/memory-core/cli-metadata.js +2 -2
- package/dist/extensions/memory-core/index.js +7 -7
- package/dist/extensions/memory-core/manager-runtime.js +1 -1
- package/dist/extensions/memory-core/runtime-api.js +6 -6
- package/dist/extensions/memory-lancedb/cli-metadata.js +1 -1
- package/dist/extensions/mistral/embedding-provider.js +1 -1
- package/dist/extensions/mistral/memory-embedding-adapter.js +2 -2
- package/dist/extensions/openshell/index.js +1 -1
- package/dist/extensions/webhooks/.kaijibot-runtime-deps-stamp.json +1 -1
- package/dist/extensions/webhooks/api.js +1 -1
- package/dist/extensions/webhooks/index.js +1 -1
- package/dist/extensions/wechat/api.js +1 -1
- package/dist/{gateway-cli-CmDDS2DV.js → gateway-cli-62Zyz90C.js} +1 -1
- package/dist/get-reply-from-config.runtime-MKvLaIg7.js +2 -0
- package/dist/get-reply-from-config.runtime.js +1 -1
- package/dist/{heartbeat-runner-C9ufteN7.js → heartbeat-runner-CUkkJOm7.js} +1 -1
- package/dist/{heartbeat-runner-C8H4o80s.js → heartbeat-runner-Dos8PIm7.js} +2 -2
- package/dist/heartbeat-runner.runtime-C3kFXfUV.js +2 -0
- package/dist/heartbeat-runner.runtime.js +1 -1
- package/dist/{inbound-reply-dispatch-Byw1TXnx.js → inbound-reply-dispatch-MVQQj_70.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/{internal-DjY6F8_S.js → internal-Dd-4M-6U.js} +6 -0
- package/dist/{kaijibot-tools-CKWN6jfe.js → kaijibot-tools-BY3FemV5.js} +9 -9
- package/dist/kaijibot-tools.runtime-CS__V5Rj.js +2 -0
- package/dist/kaijibot-tools.runtime.js +1 -1
- package/dist/{library-Banpc3rk.js → library-Bz02l-q2.js} +1 -1
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{manager-C2Q1PFR9.js → manager-B-lr2EKR.js} +1 -1
- package/dist/{manager-uM_duTQ7.js → manager-DhJNTEUw.js} +11 -11
- package/dist/memory-BLu6rKYk.js +3 -0
- package/dist/{memory-DGuqGAVo.js → memory-D1d2ogYO.js} +7 -7
- package/dist/memory-core-host-engine-embeddings-D4qAkGsw.js +2 -0
- package/dist/{memory-core-host-engine-foundation-DMhed-Oq.js → memory-core-host-engine-foundation-DtreQy8m.js} +1 -1
- package/dist/memory-core-host-engine-qmd-Ciy_8hwf.js +2 -0
- package/dist/memory-core-host-engine-storage-Bou7v7vY.js +2 -0
- package/dist/{memory-core-host-runtime-core-CAOTzGOG.js → memory-core-host-runtime-core-2scqys_a.js} +1 -1
- package/dist/memory-core-host-runtime-files-Br70sgXP.js +3 -0
- package/dist/{memory-embedding-adapter-DZzB934G.js → memory-embedding-adapter-SUd7C2v7.js} +2 -2
- package/dist/{memory-search-CkloG1kI.js → memory-search-DBJmZcrB.js} +1 -1
- package/dist/{models-BXLIF9tS.js → models-C4yCkxDi.js} +1 -1
- package/dist/{models-cli-gD18ANzV.js → models-cli-CQhq4OYp.js} +1 -1
- package/dist/{models-C66xfmQh.js → models-pcralMvt.js} +1 -1
- package/dist/{monitor-BZxq1FSS.js → monitor-CIPwxHHu.js} +4 -4
- package/dist/{monitor-oSZZCZyd.js → monitor-DuTj_1YS.js} +1 -1
- package/dist/{notify-kfq8HKAz.js → notify-DjK9wP39.js} +1 -1
- package/dist/{onboard-DqnYpUF2.js → onboard-Ikt1-ZNw.js} +1 -1
- package/dist/{pair-command-approve-HYTCwWQg.js → pair-command-approve-V3ZKrJTV.js} +2 -2
- package/dist/{persistent-bindings.lifecycle-7O0Nqesd.js → persistent-bindings.lifecycle-BwY1nibu.js} +1 -1
- package/dist/pi-embedded-D0xhUYiI.js +2 -0
- package/dist/{pi-embedded-Bg3Ytwbm.js → pi-embedded-IJpVFK1s.js} +3 -3
- package/dist/{pi-embedded-runner-B7mb-vc8.js → pi-embedded-runner-IzDq1Vdd.js} +3 -3
- package/dist/{pi-embedded.runtime-Eyex26yk.js → pi-embedded.runtime-Cor0rgmF.js} +2 -2
- package/dist/pi-embedded.runtime.js +1 -1
- package/dist/plugin-sdk/.boundary-entry-shims.stamp +1 -1
- package/dist/plugin-sdk/acp-binding-runtime.js +1 -1
- package/dist/plugin-sdk/acp-runtime.js +2 -2
- package/dist/plugin-sdk/agent-runtime.js +1 -1
- package/dist/plugin-sdk/channel-core.js +2 -2
- package/dist/plugin-sdk/channel-inbound.js +1 -1
- package/dist/plugin-sdk/command-auth.js +2 -2
- package/dist/plugin-sdk/compat.js +1 -1
- package/dist/plugin-sdk/conversation-binding-runtime.js +1 -1
- package/dist/plugin-sdk/conversation-runtime.js +3 -3
- package/dist/plugin-sdk/core.js +3 -3
- package/dist/plugin-sdk/direct-dm.js +1 -1
- package/dist/plugin-sdk/extensions/memory-core/src/memory/manager-search.d.ts +1 -1
- package/dist/plugin-sdk/gateway-method-runtime.js +1 -1
- package/dist/plugin-sdk/inbound-reply-dispatch.js +1 -1
- package/dist/plugin-sdk/index.js +1 -1
- package/dist/plugin-sdk/memory-core-host-engine-embeddings.js +3 -3
- package/dist/plugin-sdk/memory-core-host-engine-foundation.js +2 -2
- package/dist/plugin-sdk/memory-core-host-engine-qmd.js +3 -3
- package/dist/plugin-sdk/memory-core-host-engine-storage.js +4 -4
- package/dist/plugin-sdk/memory-core-host-runtime-core.js +2 -2
- package/dist/plugin-sdk/memory-core-host-runtime-files.js +3 -3
- package/dist/plugin-sdk/memory-core.js +5 -5
- package/dist/plugin-sdk/memory-host-core.js +2 -2
- package/dist/plugin-sdk/memory-host-files.js +3 -3
- package/dist/plugin-sdk/plugin-test-runtime.js +1 -1
- package/dist/plugin-sdk/reply-dispatch-runtime.js +1 -1
- package/dist/plugin-sdk/reply-runtime.js +4 -4
- package/dist/plugin-sdk/src/agents/memory-search.d.ts +1 -1
- package/dist/plugin-sdk/src/config/types.tools.d.ts +2 -2
- package/dist/plugin-sdk/src/memory-host-sdk/host/memory-schema.d.ts +1 -1
- package/dist/plugin-sdk/src/memory-host-sdk/host/query-expansion.d.ts +3 -3
- package/dist/plugin-sdk/testing.js +3 -3
- package/dist/plugins/runtime/index.js +1 -1
- package/dist/{program-CR7UZRV7.js → program-BZAXS6cO.js} +1 -1
- package/dist/{prompt-select-styled-Bzf-DxYR.js → prompt-select-styled-DycdPj-6.js} +8 -8
- package/dist/{provider-dispatcher-cNqT15Xs.js → provider-dispatcher-X-nEZKhO.js} +1 -1
- package/dist/{push-apns-CBHQAqXM.js → push-apns-B1YSNOaa.js} +1 -1
- package/dist/{qmd-manager-DNmL19DI.js → qmd-manager-il4Yd4XC.js} +8 -8
- package/dist/{register.agent-Dznw3ka5.js → register.agent-o8trDBmv.js} +3 -3
- package/dist/{register.maintenance-CqHd2exH.js → register.maintenance-igmdrKCE.js} +1 -1
- package/dist/{register.onboard-CxTUmI2F.js → register.onboard-BmMqljJ0.js} +1 -1
- package/dist/{register.setup-C_P9_Vt0.js → register.setup-CQWWOtu3.js} +1 -1
- package/dist/{register.status-health-sessions-BXxCRKnv.js → register.status-health-sessions-BgTfbfHd.js} +5 -5
- package/dist/{register.subclis-CH67Hms1.js → register.subclis-DBixRovz.js} +1 -1
- package/dist/{register.subclis-DtT4y-IS.js → register.subclis-DZXbhtmm.js} +5 -5
- package/dist/{reply-C_pu6R17.js → reply-BpcAcyAs.js} +6 -6
- package/dist/reply.runtime-BG9Em4Bo.js +2 -0
- package/dist/reply.runtime.js +1 -1
- package/dist/{run-main-C498nKe2.js → run-main-B_FJdhFV.js} +7 -7
- package/dist/{runtime-api-BLGrT0HL.js → runtime-api-D8GFWA1p.js} +1 -1
- package/dist/runtime-embedded-pi.runtime-CrJNdnld.js +3 -0
- package/dist/runtime-embedded-pi.runtime.js +1 -1
- package/dist/{runtime-DmD3iPbE.js → runtime-gyy4WyF_.js} +9 -9
- package/dist/runtime-internal-CIf6qG2v.js +2 -0
- package/dist/{runtime-plugins-AU6kFrAc.js → runtime-plugins-CoCHqg9Y.js} +1 -1
- package/dist/{runtime-provider-DEQwxi36.js → runtime-provider-j72VrKB9.js} +3 -3
- package/dist/{runtime-taskflow-FbbS3u-W.js → runtime-taskflow-93X302zO.js} +2 -2
- package/dist/{server-C0rWnGht.js → server-CBPF77FS.js} +1 -1
- package/dist/{server-methods-D6jowVtk.js → server-methods--LbVQqiE.js} +19 -19
- package/dist/{server-node-events-Cf4VC8EO.js → server-node-events-DnEY-gHH.js} +3 -3
- package/dist/{server.impl-Bt_AlLFP.js → server.impl-C8p4gN4l.js} +19 -19
- package/dist/session-files-BLV8lnaN.js +2 -0
- package/dist/{session-files-Dzv6qxHV.js → session-files-CJYfqlMd.js} +1 -1
- package/dist/{session-reset-service-CV27D2q4.js → session-reset-service-Zcun1AFy.js} +4 -4
- package/dist/{session-subagent-reactivation.runtime-D4IR-bf-.js → session-subagent-reactivation.runtime-zRBkaEPF.js} +1 -1
- package/dist/session-subagent-reactivation.runtime.js +1 -1
- package/dist/{sessions.runtime-BvrOZKYA.js → sessions.runtime-dLC7va_D.js} +1 -1
- package/dist/sessions.runtime.js +1 -1
- package/dist/{setup-D9U3qnoi.js → setup-BDweO6Cw.js} +1 -1
- package/dist/{setup.finalize-Du0KtGQX.js → setup.finalize-CgJi_42c.js} +2 -2
- package/dist/status-B-pxOvAR.js +3 -0
- package/dist/{status-mWb-MyMP.js → status-BiPqOok9.js} +4 -4
- package/dist/{status-all-rBSb4jpr.js → status-all-CZIIuHlv.js} +1 -1
- package/dist/{status-json-iOxq3IPD.js → status-json-DR7wAeiT.js} +1 -1
- package/dist/{status.scan-D7WEu3i-.js → status.scan-CbU3DH2r.js} +2 -2
- package/dist/{status.scan-overview-DfHxSgIZ.js → status.scan-overview-DMvtankr.js} +1 -1
- package/dist/{status.scan.fast-json-yKLERGTy.js → status.scan.fast-json-B1u_nFGY.js} +1 -1
- package/dist/{status.scan.fast-json-D4-x7WM1.js → status.scan.fast-json-DU0lyG3X.js} +2 -2
- package/dist/{status.summary-BiPBLylB.js → status.summary-DEU69DpI.js} +1 -1
- package/dist/{status.summary-_nFXp10w.js → status.summary-DkwRiBan.js} +1 -1
- package/dist/{subagent-announce.registry.runtime-DfFd2GeY.js → subagent-announce.registry.runtime-WyrTRntA.js} +2 -2
- package/dist/subagent-announce.registry.runtime.js +1 -1
- package/dist/{subagent-control-BlwUMpJd.js → subagent-control-CXfFlYvd.js} +1 -1
- package/dist/{subagent-orphan-recovery-Bp3MFuB4.js → subagent-orphan-recovery-BR8_fYcr.js} +2 -2
- package/dist/{subagent-registry-YdbC89Gt.js → subagent-registry-DhD9W_qk.js} +4 -4
- package/dist/subagent-registry-runtime-F1gIs6--.js +2 -0
- package/dist/{subagent-registry.runtime-BhGK_CxS.js → subagent-registry.runtime-D1e4_-RI.js} +1 -1
- package/dist/subagent-registry.runtime.js +1 -1
- package/dist/{subagent-spawn-C7FgTnVf.js → subagent-spawn-C6pvd1_Z.js} +1 -1
- package/dist/{task-executor-DEjt01Xp.js → task-executor-BuFlonoD.js} +2 -2
- package/dist/{task-owner-access-Begcb-bi.js → task-owner-access-BSR7a2-3.js} +1 -1
- package/dist/{task-registry-BiJ5ImTH.js → task-registry-CEOnjcKC.js} +1 -1
- package/dist/task-registry-control.runtime-1qMolZ-O.js +3 -0
- package/dist/task-registry-control.runtime.js +1 -1
- package/dist/{task-registry.maintenance-dl8u-u0X.js → task-registry.maintenance-C62uV2uc.js} +2 -2
- package/dist/{task-registry.maintenance-BaUFT3d5.js → task-registry.maintenance-DFCKERAV.js} +1 -1
- package/dist/{testing-MNke-xt3.js → testing-B25v85h4.js} +2 -2
- package/dist/{thread-bindings-DblYrqTk.js → thread-bindings-DsalESUy.js} +1 -1
- package/dist/{tools-effective-inventory-DxZk8cUD.js → tools-effective-inventory-D9rXe56i.js} +1 -1
- package/dist/tools.runtime-CbDcuNev.js +4 -0
- package/dist/tools.runtime.js +1 -1
- package/dist/{update-cli-CqCMzyK4.js → update-cli-DjYdtVo7.js} +3 -3
- package/package.json +1 -1
- package/dist/agent-BaYX2B9m.js +0 -2
- package/dist/api-C1Nj-1j8.js +0 -2
- package/dist/cli-D-Vf4Z5R.js +0 -2
- package/dist/commands-subagents-control.runtime-B30sDFhG.js +0 -2
- package/dist/extensions/feishu/node_modules/proxy-from-env/.eslintrc +0 -29
- package/dist/extensions/feishu/node_modules/proxy-from-env/.travis.yml +0 -10
- package/dist/extensions/feishu/node_modules/proxy-from-env/test.js +0 -483
- package/dist/get-reply-from-config.runtime-BcntKVds.js +0 -2
- package/dist/heartbeat-runner.runtime-D9ej80D_.js +0 -2
- package/dist/kaijibot-tools.runtime-Ds3cZv3D.js +0 -2
- package/dist/memory-8y6RF4n5.js +0 -3
- package/dist/memory-core-host-engine-embeddings-CVfRZJxq.js +0 -2
- package/dist/memory-core-host-engine-qmd-CmaJUYhJ.js +0 -2
- package/dist/memory-core-host-engine-storage-UCeHD5pw.js +0 -2
- package/dist/memory-core-host-runtime-files-FkPAInMX.js +0 -3
- package/dist/pi-embedded-Ee8hyOZz.js +0 -2
- package/dist/reply.runtime-CoXQpcSo.js +0 -2
- package/dist/runtime-embedded-pi.runtime-rvBrHYSx.js +0 -3
- package/dist/runtime-internal-C_tGkShO.js +0 -2
- package/dist/session-files-RvD3RLS-.js +0 -2
- package/dist/status-BjrrRB2h.js +0 -3
- package/dist/subagent-registry-runtime-B78JtfZf.js +0 -2
- package/dist/task-registry-control.runtime-Dlyaal7a.js +0 -3
- package/dist/tools.runtime-BJJJlkPR.js +0 -4
package/README.en.md
CHANGED
|
@@ -203,9 +203,46 @@ export TAVILY_API_KEY="your-key"
|
|
|
203
203
|
|
|
204
204
|
Config file at `~/.kaijibot/kaijibot.json`, supports hot reload. Cognitive system can be disabled via `cognitive.enabled: false`. For detailed configuration, see `AGENTS.md`.
|
|
205
205
|
|
|
206
|
+
## 🏗️ Relationship with OpenClaw
|
|
207
|
+
|
|
208
|
+
KaijiBot was originally forked from [OpenClaw](https://github.com/openclaw/openclaw) (the general-purpose AI agent ranked #1 globally on OpenRouter by token consumption, 382K+ GitHub stars), but has evolved into an independent project. **KaijiBot does three things, not just "OpenClaw + cognitive layer"**:
|
|
209
|
+
|
|
210
|
+
### 1. Hardened and simplified the base
|
|
211
|
+
|
|
212
|
+
OpenClaw is a massive project built for a global, multi-channel, multilingual audience. KaijiBot consolidates the base layer on top of it:
|
|
213
|
+
|
|
214
|
+
- **Type system modernization** — migrated from AJV/JSON Schema validators to TypeBox, unifying runtime and compile-time types
|
|
215
|
+
- **Dependency tracking** — pi-ai SDK 0.65.2→0.79.4, keeping pace with the LLM abstraction layer's rapid evolution
|
|
216
|
+
- **Code quality cleanup** — fixed 1220 pre-existing lint errors inherited from upstream (across 191 files)
|
|
217
|
+
- **Critical bug fixes** — resolved upstream issues like the Windows dual-gateway race condition and Android rendering crashes
|
|
218
|
+
- **Plugin SDK completion** — backfilled 13 missing plugin-sdk subpath barrels from upstream
|
|
219
|
+
- **Native module loading** — `.js` plugins take the native `require` fast path, `.ts` falls back to jiti
|
|
220
|
+
|
|
221
|
+
### 2. Rewrote the memory layer
|
|
222
|
+
|
|
223
|
+
OpenClaw's original "dreaming"-style memory consolidation was replaced with a **memory consolidation engine**:
|
|
224
|
+
|
|
225
|
+
- Daily cron scans historical sessions, LLM extracts structured knowledge (domain knowledge, behavioral patterns, preferences, goals)
|
|
226
|
+
- Jaccard deduplication prevents redundant entries from accumulating
|
|
227
|
+
- Routes to `PersonaStore` / `FragmentStore` / `CorrectionStore` + MEMORY.md inline sections
|
|
228
|
+
- Category-aware routing (domain_knowledge / behavioral_pattern / stated_preference / goal_or_aspiration) → different inline sections
|
|
229
|
+
- MEMORY.md 8KB budget auto-balancing — high-frequency content inlined, low-frequency content kept as pointers
|
|
230
|
+
|
|
231
|
+
### 3. Added the cognitive layer (KaijiBot's differentiator)
|
|
232
|
+
|
|
233
|
+
- **Persona profile system** — TypedInsight 6 categories + category-aware decay half-lives
|
|
234
|
+
- **Proactive insight generation** — PRISM cost-sensitive gate + SIRI search-identify-resolve loop
|
|
235
|
+
- **Self-evolution** — Agent-driven skill generation (code layer does noise filtering only; the Agent judges value)
|
|
236
|
+
- **Correction self-evolution** — dual-path detection (Agent self-report + post-session LLM extraction) + Jaccard dedup + system prompt injection
|
|
237
|
+
- **Interest lifecycle** — emergent → stable → declining → dormant → revived
|
|
238
|
+
|
|
239
|
+
> Want a slimmed-down OpenClaw experience? Set `cognitive.enabled: false` in config to disable the entire cognitive layer, falling back to the "hardened base + rewritten memory layer" state — which is already a step beyond upstream OpenClaw in memory and stability.
|
|
240
|
+
|
|
241
|
+
KaijiBot continuously syncs critical fixes and architectural improvements from upstream (see the `sync from upstream OpenClaw` commit series in git history). If you only want the OpenClaw base + improved memory layer without the cognitive layer, that's a fully supported usage.
|
|
242
|
+
|
|
206
243
|
## Acknowledgments
|
|
207
244
|
|
|
208
|
-
|
|
245
|
+
KaijiBot stands on the shoulders of [OpenClaw](https://github.com/openclaw/openclaw) (built by Peter Steinberger and the community). OpenClaw provides the Gateway architecture, Plugin SDK boundaries, agent loop, multi-channel integrations, and a complete tool ecosystem — these are the foundation that lets KaijiBot focus on the cognitive layer.
|
|
209
246
|
|
|
210
247
|
### Academic Research
|
|
211
248
|
|
package/README.md
CHANGED
|
@@ -238,9 +238,46 @@ export TAVILY_API_KEY="your-key"
|
|
|
238
238
|
|
|
239
239
|
配置文件位于 `~/.kaijibot/kaijibot.json`,支持热重载。认知系统可通过 `cognitive.enabled: false` 关闭。详细配置参考 `AGENTS.md`。
|
|
240
240
|
|
|
241
|
+
## 🏗️ 与 OpenClaw 的关系
|
|
242
|
+
|
|
243
|
+
KaijiBot 最初 fork 自 [OpenClaw](https://github.com/openclaw/openclaw)(OpenRouter 全球 Token 消耗榜首的通用 AI Agent,382K+ GitHub stars),但已发展为独立项目。**KaijiBot 做了三件事,不只是"OpenClaw + 认知层"**:
|
|
244
|
+
|
|
245
|
+
### 1. 加固并简化基座
|
|
246
|
+
|
|
247
|
+
OpenClaw 是一个面向全球、多渠道、多语言的庞大项目。KaijiBot 在它的基础上做了基座层面的收敛:
|
|
248
|
+
|
|
249
|
+
- **类型系统现代化** — 从 AJV/JSON Schema 验证器迁移到 TypeBox,运行时与编译时类型统一
|
|
250
|
+
- **依赖跟进** — pi-ai SDK 0.65.2→0.79.4,跟上 LLM 抽象层的快速演进
|
|
251
|
+
- **代码质量整治** — 修复上游遗留的 1220 处 lint 错误(覆盖 191 个文件)
|
|
252
|
+
- **关键 Bug 修复** — 修复 Windows 上双 Gateway 竞争条件、Android 渲染崩溃等上游问题
|
|
253
|
+
- **Plugin SDK 补完** — 补齐 13 个上游缺失的 plugin-sdk 子路径导出
|
|
254
|
+
- **原生模块加载** — `.js` 插件走原生 `require` 快速路径,`.ts` 走 jiti 兜底
|
|
255
|
+
|
|
256
|
+
### 2. 重写记忆层
|
|
257
|
+
|
|
258
|
+
OpenClaw 原有的「dreaming」式记忆整合被替换为 **memory consolidation engine**:
|
|
259
|
+
|
|
260
|
+
- 每日 cron 扫描历史会话,LLM 抽取结构化知识(领域知识、行为模式、偏好、目标)
|
|
261
|
+
- Jaccard 去重,避免重复条目堆积
|
|
262
|
+
- 路由分发到 `PersonaStore` / `FragmentStore` / `CorrectionStore` + MEMORY.md 内联区
|
|
263
|
+
- 类别感知(domain_knowledge / behavioral_pattern / stated_preference / goal_or_aspiration)路由到不同 inline section
|
|
264
|
+
- MEMORY.md 8KB 预算自动平衡,高频内容内联,低频内容存指针
|
|
265
|
+
|
|
266
|
+
### 3. 加入认知层(KaijiBot 的差异化)
|
|
267
|
+
|
|
268
|
+
- **Persona 画像系统** — TypedInsight 6 类别 + 类别感知衰减半衰期
|
|
269
|
+
- **主动洞察生成** — PRISM cost-sensitive gate + SIRI search-identify-resolve loop
|
|
270
|
+
- **自我进化** — Agent 驱动的技能生成(代码层只做噪音过滤,由 Agent 判断价值)
|
|
271
|
+
- **纠错自进化** — 双路径检测(Agent 自报 + 会话结束 LLM 抽取)+ Jaccard 去重 + 系统提示注入
|
|
272
|
+
- **兴趣生命周期** — emergent → stable → declining → dormant → revived
|
|
273
|
+
|
|
274
|
+
> 想要精简的 OpenClaw 体验?配置里设 `cognitive.enabled: false` 即可关闭整个认知层,回到「加固基座 + 重写记忆层」的状态——这本身已经比上游 OpenClaw 在记忆和稳定性上更进一步。
|
|
275
|
+
|
|
276
|
+
KaijiBot 持续从上游同步关键修复和架构改进(参见 commit 历史中的 `sync from upstream OpenClaw` 系列)。如果你只想用 OpenClaw 基础功能 + 改进的记忆层,不想用认知层,这也是完全支持的用法。
|
|
277
|
+
|
|
241
278
|
## 致谢
|
|
242
279
|
|
|
243
|
-
|
|
280
|
+
KaijiBot 站在 [OpenClaw](https://github.com/openclaw/openclaw)(由 Peter Steinberger 和社区构建)的肩膀上。OpenClaw 提供了 Gateway 架构、Plugin SDK 边界、Agent 循环、多渠道接入和完整的工具生态——这些是 KaijiBot 能够专注于认知层的地基。
|
|
244
281
|
|
|
245
282
|
### 学术研究
|
|
246
283
|
|
package/dist/.buildstamp
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"builtAt":
|
|
1
|
+
{"builtAt":1784036426383,"head":"dd37e592ee33fb82136b996e9292adba615df982"}
|
|
@@ -7,12 +7,12 @@ import { a as resolveSessionStoreEntry, c as updateSessionStore } from "./store-
|
|
|
7
7
|
import "./sessions-BT45s50I.js";
|
|
8
8
|
import { l as resolveStorePath } from "./paths-BMb28gYd.js";
|
|
9
9
|
import { t as loadSessionStore } from "./store-load-Cqa0J3mD.js";
|
|
10
|
-
import { o as getLatestSubagentRunByChildSessionKey, p as markSubagentRunTerminated, u as listSubagentRunsForController } from "./subagent-registry-
|
|
10
|
+
import { o as getLatestSubagentRunByChildSessionKey, p as markSubagentRunTerminated, u as listSubagentRunsForController } from "./subagent-registry-DhD9W_qk.js";
|
|
11
11
|
import { b as resolveMainSessionAlias, y as resolveInternalSessionKey } from "./subagents-format-CDKBuREN.js";
|
|
12
12
|
import { i as clearSessionQueues } from "./queue-B18QFnqI.js";
|
|
13
13
|
import { h as replyRunRegistry, t as abortEmbeddedPiRun } from "./runs-Xp3HE6q4.js";
|
|
14
|
-
import { n as getAcpSessionManager } from "./manager-
|
|
15
|
-
import "./pi-embedded-
|
|
14
|
+
import { n as getAcpSessionManager } from "./manager-B-lr2EKR.js";
|
|
15
|
+
import "./pi-embedded-D0xhUYiI.js";
|
|
16
16
|
import { i as setAbortMemory, n as isAbortRequestText } from "./abort-primitives-BsZVPqUz.js";
|
|
17
17
|
import { o as stripMentions, s as stripStructuralPrefixes } from "./mentions-BYF3cH31.js";
|
|
18
18
|
import { t as resolveCommandAuthorization } from "./command-auth-DpT0n4Pc.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as tryFastAbortFromMessage, t as formatAbortReplyText } from "./abort-
|
|
1
|
+
import { i as tryFastAbortFromMessage, t as formatAbortReplyText } from "./abort-CpetqIHA.js";
|
|
2
2
|
export { formatAbortReplyText, tryFastAbortFromMessage };
|
package/dist/abort.runtime.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./abort.runtime-
|
|
1
|
+
export * from "./abort.runtime-CfIyhp-n.js";
|
|
@@ -21,10 +21,10 @@ import { i as enqueueSystemEvent } from "./system-events-DNB0RvhI.js";
|
|
|
21
21
|
import { r as callGateway } from "./call-CS60NhVQ.js";
|
|
22
22
|
import { b as resolveMainSessionAlias, y as resolveInternalSessionKey } from "./subagents-format-CDKBuREN.js";
|
|
23
23
|
import { l as onAgentEvent } from "./agent-events-Ca7zRDTb.js";
|
|
24
|
-
import { i as createRunningTaskRun, s as recordTaskRunProgressByRunId } from "./task-executor-
|
|
24
|
+
import { i as createRunningTaskRun, s as recordTaskRunProgressByRunId } from "./task-executor-BuFlonoD.js";
|
|
25
25
|
import { i as isSessionBindingError, r as getSessionBindingService } from "./session-binding-service-DHVv6XOb.js";
|
|
26
26
|
import { t as resolveConversationIdFromTargets } from "./conversation-id-MgqhpfhV.js";
|
|
27
|
-
import { n as getAcpSessionManager } from "./manager-
|
|
27
|
+
import { n as getAcpSessionManager } from "./manager-B-lr2EKR.js";
|
|
28
28
|
import { n as readAcpSessionEntry } from "./session-meta-m1tP5IN2.js";
|
|
29
29
|
import { n as resolveAcpAgentPolicyError, t as isAcpEnabledByPolicy } from "./policy-DF7rflrk.js";
|
|
30
30
|
import { r as resolveAcpThreadSessionDetailLines, t as resolveAcpSessionCwd } from "./session-identifiers-CIbSlRFe.js";
|
package/dist/{acp-stateful-target-driver-C475sY-b.js → acp-stateful-target-driver-DyMY5T0M.js}
RENAMED
|
@@ -2,8 +2,8 @@ import { n as isAcpSessionKey } from "./session-key-utils-eHkaEFHT.js";
|
|
|
2
2
|
import { u as resolveAgentIdFromSessionKey } from "./session-key-DzP4SC-U.js";
|
|
3
3
|
import { n as readAcpSessionEntry } from "./session-meta-m1tP5IN2.js";
|
|
4
4
|
import { c as resolveConfiguredAcpBindingSpecFromRecord } from "./binding-registry-B15WJGVf.js";
|
|
5
|
-
import { i as resolveConfiguredAcpBindingSpecBySessionKey, n as ensureConfiguredAcpBindingSession, t as ensureConfiguredAcpBindingReady } from "./persistent-bindings.lifecycle-
|
|
6
|
-
import { a as performGatewaySessionReset } from "./session-reset-service-
|
|
5
|
+
import { i as resolveConfiguredAcpBindingSpecBySessionKey, n as ensureConfiguredAcpBindingSession, t as ensureConfiguredAcpBindingReady } from "./persistent-bindings.lifecycle-BwY1nibu.js";
|
|
6
|
+
import { a as performGatewaySessionReset } from "./session-reset-service-Zcun1AFy.js";
|
|
7
7
|
//#region src/channels/plugins/acp-stateful-target-driver.ts
|
|
8
8
|
function toAcpStatefulBindingTargetDescriptor(params) {
|
|
9
9
|
const sessionKey = params.sessionKey.trim();
|
|
@@ -4,7 +4,7 @@ import { m as subagentRuns, s as countPendingDescendantRunsFromRuns, t as getSub
|
|
|
4
4
|
import { t as formatDurationCompact } from "./format-duration-JlwIRMc8.js";
|
|
5
5
|
import { i as formatRunLabel } from "./subagents-format-CDKBuREN.js";
|
|
6
6
|
import { a as sanitizeTaskStatusText } from "./task-status-BtztI7-A.js";
|
|
7
|
-
import { r as findTaskByRunIdForOwner } from "./task-owner-access-
|
|
7
|
+
import { r as findTaskByRunIdForOwner } from "./task-owner-access-BSR7a2-3.js";
|
|
8
8
|
import { a as loadSubagentSessionEntry, d as resolveSubagentEntryForToken, i as formatTimestampWithAge, p as stopWithText, s as resolveDisplayStatus } from "./shared-DjYNudgX.js";
|
|
9
9
|
//#region src/auto-reply/reply/commands-subagents/action-info.ts
|
|
10
10
|
function handleSubagentsInfoAction(ctx) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as killControlledSubagentRun, r as killAllControlledSubagentRuns } from "./subagent-control-
|
|
1
|
+
import { i as killControlledSubagentRun, r as killAllControlledSubagentRuns } from "./subagent-control-CXfFlYvd.js";
|
|
2
2
|
import { d as resolveSubagentEntryForToken, o as resolveCommandSubagentController, p as stopWithText } from "./shared-DjYNudgX.js";
|
|
3
|
-
import "./commands-subagents-control.runtime-
|
|
3
|
+
import "./commands-subagents-control.runtime-40-kwmbu.js";
|
|
4
4
|
//#region src/auto-reply/reply/commands-subagents/action-kill.ts
|
|
5
5
|
async function handleSubagentsKillAction(ctx) {
|
|
6
6
|
const { params, handledPrefix, requesterKey, runs, restTokens } = ctx;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as formatRunLabel } from "./subagents-format-CDKBuREN.js";
|
|
2
|
-
import { l as sendControlledSubagentMessage, u as steerControlledSubagentRun } from "./subagent-control-
|
|
2
|
+
import { l as sendControlledSubagentMessage, u as steerControlledSubagentRun } from "./subagent-control-CXfFlYvd.js";
|
|
3
3
|
import { d as resolveSubagentEntryForToken, o as resolveCommandSubagentController, p as stopWithText } from "./shared-DjYNudgX.js";
|
|
4
|
-
import "./commands-subagents-control.runtime-
|
|
4
|
+
import "./commands-subagents-control.runtime-40-kwmbu.js";
|
|
5
5
|
//#region src/auto-reply/reply/commands-subagents/action-send.ts
|
|
6
6
|
async function handleSubagentsSendAction(ctx, steerRequested) {
|
|
7
7
|
const { params, handledPrefix, runs, restTokens } = ctx;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as normalizeOptionalString } from "./string-coerce-CIT1-v_a.js";
|
|
2
|
-
import { n as spawnSubagentDirect } from "./subagent-spawn-
|
|
2
|
+
import { n as spawnSubagentDirect } from "./subagent-spawn-C6pvd1_Z.js";
|
|
3
3
|
import { p as stopWithText } from "./shared-DjYNudgX.js";
|
|
4
4
|
//#region src/auto-reply/reply/commands-subagents/action-spawn.ts
|
|
5
5
|
async function handleSubagentsSpawnAction(ctx) {
|
|
@@ -33,11 +33,11 @@ import { j as hasInternalRuntimeContext } from "./errors-BFViOtgD.js";
|
|
|
33
33
|
import { i as supportsXHighThinking, t as formatThinkingLevels } from "./thinking-BT0jk-3X.js";
|
|
34
34
|
import { i as normalizeOutboundPayloadsForJson, n as formatOutboundPayloadLog, r as normalizeOutboundPayloads, t as deliverOutboundPayloads } from "./deliver-jwIGCL6R.js";
|
|
35
35
|
import { r as getRemoteSkillEligibility, t as canExecRequestNode } from "./exec-defaults-DupFQAcJ.js";
|
|
36
|
-
import { A as AGENT_LANE_NESTED, P as formatAgentInternalEventsForPrompt, j as AGENT_LANE_SUBAGENT } from "./subagent-registry-
|
|
36
|
+
import { A as AGENT_LANE_NESTED, P as formatAgentInternalEventsForPrompt, j as AGENT_LANE_SUBAGENT } from "./subagent-registry-DhD9W_qk.js";
|
|
37
37
|
import { n as resolveMessageChannelSelection } from "./channel-selection-DC5hpEvR.js";
|
|
38
38
|
import { t as buildOutboundSessionContext } from "./session-context-wCPsjrHX.js";
|
|
39
39
|
import { i as resolveSessionDeliveryTarget, r as resolveOutboundTarget } from "./targets-BoqBAlmx.js";
|
|
40
|
-
import { f as LiveSessionModelSwitchError, l as runWithModelFallback } from "./kaijibot-tools-
|
|
40
|
+
import { f as LiveSessionModelSwitchError, l as runWithModelFallback } from "./kaijibot-tools-BY3FemV5.js";
|
|
41
41
|
import { t as FailoverError } from "./failover-error-CPFKAGOA.js";
|
|
42
42
|
import { t as getAgentRuntimeCommandSecretTargetIds } from "./command-secret-targets-L8qie7JC.js";
|
|
43
43
|
import { i as emitAgentEvent, t as clearAgentRunContext, u as registerAgentRunContext } from "./agent-events-Ca7zRDTb.js";
|
|
@@ -45,15 +45,15 @@ import { t as normalizeReplyPayload } from "./normalize-reply-CGzGJKFO.js";
|
|
|
45
45
|
import { t as applyModelOverrideToSessionEntry } from "./model-overrides-DcZLZ0-k.js";
|
|
46
46
|
import { t as resolveAgentTimeoutMs } from "./timeout-RQnmVIUm.js";
|
|
47
47
|
import { i as toAcpRuntimeError } from "./errors-BAN-CU9T.js";
|
|
48
|
-
import { n as getAcpSessionManager } from "./manager-
|
|
48
|
+
import { n as getAcpSessionManager } from "./manager-B-lr2EKR.js";
|
|
49
49
|
import { n as resolveAcpAgentPolicyError, r as resolveAcpDispatchPolicyError } from "./policy-DF7rflrk.js";
|
|
50
50
|
import { t as resolveAcpSessionCwd } from "./session-identifiers-CIbSlRFe.js";
|
|
51
51
|
import { n as normalizeSpawnedRunMetadata } from "./spawned-context-UyNMRm0s.js";
|
|
52
52
|
import { a as shouldRefreshSnapshotForVersion, n as getSkillsSnapshotVersion } from "./refresh-state-Ik5QkW2V.js";
|
|
53
53
|
import { r as buildWorkspaceSkillSnapshot } from "./skills-BlZ1xJRL.js";
|
|
54
|
-
import { i as resolveSession, r as prepareSessionManagerForRun, t as runEmbeddedPiAgent } from "./pi-embedded-runner-
|
|
54
|
+
import { i as resolveSession, r as prepareSessionManagerForRun, t as runEmbeddedPiAgent } from "./pi-embedded-runner-IzDq1Vdd.js";
|
|
55
55
|
import { o as resolveBootstrapWarningSignaturesSeen } from "./bootstrap-budget-KgH8wOEh.js";
|
|
56
|
-
import "./pi-embedded-
|
|
56
|
+
import "./pi-embedded-D0xhUYiI.js";
|
|
57
57
|
import { n as resolveSendPolicy } from "./send-policy-DWVERwdL.js";
|
|
58
58
|
import { t as clearSessionAuthProfileOverride } from "./session-override-BD-PTy5i.js";
|
|
59
59
|
import { t as createReplyPrefixContext } from "./reply-prefix-DeUeZFNT.js";
|
|
@@ -18,7 +18,7 @@ import "./sessions-BT45s50I.js";
|
|
|
18
18
|
import { a as resolveSessionTranscriptPath, i as resolveSessionFilePathOptions, r as resolveSessionFilePath } from "./paths-BMb28gYd.js";
|
|
19
19
|
import { a as resolveFreshSessionTotalTokens } from "./types-Bv1ycKCa.js";
|
|
20
20
|
import { t as loadSessionStore } from "./store-load-Cqa0J3mD.js";
|
|
21
|
-
import { N as readPostCompactionContext, t as compactEmbeddedPiSession } from "./compact-
|
|
21
|
+
import { N as readPostCompactionContext, t as compactEmbeddedPiSession } from "./compact-0GrpRMY1.js";
|
|
22
22
|
import { o as resolveContextTokensForModel } from "./context-BySGedzX.js";
|
|
23
23
|
import { a as resolveModelCostConfig, i as formatUsd, n as estimateUsageCost, r as formatTokenCount } from "./usage-format-U497pm9n.js";
|
|
24
24
|
import { a as normalizeUsage, n as deriveSessionTotalTokens, r as hasNonzeroUsage, t as derivePromptTokens } from "./usage-De98Jnw9.js";
|
|
@@ -43,16 +43,16 @@ import { p as resolveSendableOutboundReplyParts, s as hasOutboundReplyContent }
|
|
|
43
43
|
import { i as isRenderablePayload, n as applyReplyThreading, t as applyReplyTagsToPayload } from "./reply-payloads-C6J6ckbq.js";
|
|
44
44
|
import { i as resolveReplyToMode, t as createReplyToModeFilterForChannel } from "./reply-threading-3nolzXu6.js";
|
|
45
45
|
import { n as filterMessagingToolMediaDuplicates, r as shouldSuppressMessagingToolReplies, t as filterMessagingToolDuplicates } from "./reply-payloads-dedupe-CZOgxVwH.js";
|
|
46
|
-
import { c as isFallbackSummaryError, f as LiveSessionModelSwitchError, l as runWithModelFallback } from "./kaijibot-tools-
|
|
46
|
+
import { c as isFallbackSummaryError, f as LiveSessionModelSwitchError, l as runWithModelFallback } from "./kaijibot-tools-BY3FemV5.js";
|
|
47
47
|
import { u as saveMediaSource } from "./store-ip-v5ldx.js";
|
|
48
48
|
import { i as emitAgentEvent, u as registerAgentRunContext } from "./agent-events-Ca7zRDTb.js";
|
|
49
49
|
import { a as scheduleFollowupDrain, n as enqueueFollowupRun, o as refreshQueuedFollowupSession } from "./queue-B18QFnqI.js";
|
|
50
50
|
import { n as routeReply, t as isRoutableChannel } from "./route-reply-DEe3OuBB.js";
|
|
51
51
|
import { h as replyRunRegistry, m as createReplyOperation, p as ReplyRunAlreadyActiveError, s as queueEmbeddedPiMessage } from "./runs-Xp3HE6q4.js";
|
|
52
52
|
import { a as ensureSandboxWorkspaceForSession } from "./sandbox-BX3WMWUp.js";
|
|
53
|
-
import { n as isLikelyExecutionAckPrompt, t as runEmbeddedPiAgent } from "./pi-embedded-runner-
|
|
53
|
+
import { n as isLikelyExecutionAckPrompt, t as runEmbeddedPiAgent } from "./pi-embedded-runner-IzDq1Vdd.js";
|
|
54
54
|
import { o as resolveBootstrapWarningSignaturesSeen } from "./bootstrap-budget-KgH8wOEh.js";
|
|
55
|
-
import "./pi-embedded-
|
|
55
|
+
import "./pi-embedded-D0xhUYiI.js";
|
|
56
56
|
import { n as resolveCronStorePath, t as loadCronStore } from "./store-DaJMsIJ-.js";
|
|
57
57
|
import { r as resolveEffectiveBlockStreamingConfig } from "./block-streaming-CCaYyamB.js";
|
|
58
58
|
import { n as resolveOriginMessageProvider, r as resolveOriginMessageTo, t as resolveOriginAccountId } from "./origin-routing-BLPQZQBB.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./agent-runner.runtime-
|
|
1
|
+
export * from "./agent-runner.runtime-gmD7baXm.js";
|
|
@@ -4,8 +4,8 @@ import { c as normalizeAgentId } from "./session-key-DzP4SC-U.js";
|
|
|
4
4
|
import { p as resolveAgentWorkspaceDir } from "./agent-scope-CzQEcQv9.js";
|
|
5
5
|
import { t as parseDurationMs } from "./parse-duration-DVysApOl.js";
|
|
6
6
|
import { t as splitShellArgs } from "./shell-argv-DDXyM5Jp.js";
|
|
7
|
-
import { t as resolveMemorySearchConfig } from "./memory-search-
|
|
8
|
-
import { l as normalizeExtraMemoryPaths, m as statRegularFile, p as isFileMissingError, s as isMemoryPath } from "./internal-
|
|
7
|
+
import { t as resolveMemorySearchConfig } from "./memory-search-DBJmZcrB.js";
|
|
8
|
+
import { l as normalizeExtraMemoryPaths, m as statRegularFile, p as isFileMissingError, s as isMemoryPath } from "./internal-Dd-4M-6U.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { u as resolveAgentIdFromSessionKey } from "./session-key-DzP4SC-U.js";
|
|
2
2
|
import { n as deriveLastRoutePolicy } from "./resolve-route-CuNp6VKX.js";
|
|
3
3
|
import { n as resolveConfiguredBinding } from "./binding-registry-B15WJGVf.js";
|
|
4
|
-
import { t as ensureConfiguredBindingTargetReady } from "./binding-targets-
|
|
4
|
+
import { t as ensureConfiguredBindingTargetReady } from "./binding-targets-DRQEqy0l.js";
|
|
5
5
|
//#region src/channels/plugins/binding-routing.ts
|
|
6
6
|
function resolveConfiguredBindingConversationRef(params) {
|
|
7
7
|
if ("conversation" in params) return params.conversation;
|
|
@@ -42,7 +42,7 @@ async function ensureStatefulTargetBuiltinsRegistered() {
|
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
44
44
|
builtinsRegisteredPromise = (async () => {
|
|
45
|
-
const { acpStatefulBindingTargetDriver } = await import("./acp-stateful-target-driver-
|
|
45
|
+
const { acpStatefulBindingTargetDriver } = await import("./acp-stateful-target-driver-DyMY5T0M.js");
|
|
46
46
|
registerStatefulBindingTargetDriver(acpStatefulBindingTargetDriver);
|
|
47
47
|
})();
|
|
48
48
|
try {
|
package/dist/build-info.json
CHANGED
|
@@ -10,8 +10,8 @@ import { l as resolveStorePath } from "../../paths-BMb28gYd.js";
|
|
|
10
10
|
import { t as loadSessionStore } from "../../store-load-Cqa0J3mD.js";
|
|
11
11
|
import { n as SILENT_REPLY_TOKEN } from "../../tokens-D7__FElY.js";
|
|
12
12
|
import { t as createDefaultDeps } from "../../deps-C5ZeMbG2.js";
|
|
13
|
-
import { n as agentCommand } from "../../agent-command-
|
|
14
|
-
import "../../agent-
|
|
13
|
+
import { n as agentCommand } from "../../agent-command-Al4qR8C6.js";
|
|
14
|
+
import "../../agent-VW1MDeSt.js";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import fs from "node:fs/promises";
|
|
17
17
|
import crypto from "node:crypto";
|
|
@@ -19,20 +19,20 @@ import { a as getImageMetadata } from "./image-ops-C3jhTqvm.js";
|
|
|
19
19
|
import { c as randomIdempotencyKey, r as callGateway } from "./call-CS60NhVQ.js";
|
|
20
20
|
import { t as buildGatewayConnectionDetailsWithResolvers } from "./connection-details-CYJ6V-p8.js";
|
|
21
21
|
import { c as normalizeMimeType, n as extensionForMime, t as detectMime } from "./mime-DdtsYZLw.js";
|
|
22
|
-
import { i as resolveWebFetchDefinition, n as isWebFetchProviderConfigured, r as listWebFetchProviders } from "./kaijibot-tools-
|
|
22
|
+
import { i as resolveWebFetchDefinition, n as isWebFetchProviderConfigured, r as listWebFetchProviders } from "./kaijibot-tools-BY3FemV5.js";
|
|
23
23
|
import { n as listRuntimeImageGenerationProviders, t as generateImage } from "./runtime-D3qkEwMr.js";
|
|
24
24
|
import { l as saveMediaBuffer } from "./store-ip-v5ldx.js";
|
|
25
25
|
import { r as buildMediaUnderstandingRegistry } from "./entry-capabilities-CgHDur-O.js";
|
|
26
26
|
import { n as listRuntimeVideoGenerationProviders, t as generateVideo } from "./runtime-BnKARET7.js";
|
|
27
27
|
import { r as listWebSearchProviders, s as runWebSearch, t as isWebSearchProviderConfigured } from "./runtime-C0QIR1aD.js";
|
|
28
|
-
import { t as resolveMemorySearchConfig } from "./memory-search-
|
|
28
|
+
import { t as resolveMemorySearchConfig } from "./memory-search-DBJmZcrB.js";
|
|
29
29
|
import { t as createDefaultDeps } from "./deps-C5ZeMbG2.js";
|
|
30
|
-
import { n as agentCommand } from "./agent-command-
|
|
30
|
+
import { n as agentCommand } from "./agent-command-Al4qR8C6.js";
|
|
31
31
|
import { r as listSpeechProviders, t as canonicalizeSpeechProviderId } from "./provider-registry-Ccngc-q8.js";
|
|
32
32
|
import { n as runCommandWithRuntime } from "./cli-utils-Ci4zO3tv.js";
|
|
33
33
|
import { a as transcribeAudioFile, r as describeVideoFile, t as describeImageFile } from "./runtime-BrwqkyvP.js";
|
|
34
34
|
import { n as registerBuiltInMemoryEmbeddingProviders, t as createEmbeddingProvider } from "./memory-core-bundled-runtime-DCY1t8To.js";
|
|
35
|
-
import { i as modelsStatusCommand, v as modelsAuthLoginCommand } from "./models-
|
|
35
|
+
import { i as modelsStatusCommand, v as modelsAuthLoginCommand } from "./models-C4yCkxDi.js";
|
|
36
36
|
import { t as collectOption } from "./helpers-BEhqFUuN.js";
|
|
37
37
|
import path from "node:path";
|
|
38
38
|
import fs from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as createChannelPluginBase$1 } from "./core-
|
|
1
|
+
import { n as createChannelPluginBase$1 } from "./core-Y0alsTcb.js";
|
|
2
2
|
//#region src/plugin-sdk/channel-core.ts
|
|
3
3
|
const createChannelPluginBase = (params) => createChannelPluginBase$1(params);
|
|
4
4
|
//#endregion
|
|
@@ -5,7 +5,7 @@ import { i as createAttachedChannelResultAdapter } from "./channel-send-result-B
|
|
|
5
5
|
import { a as createFeishuClient, d as resolveFeishuAccount, f as resolveFeishuRuntimeAccount, t as probeFeishu } from "./probe-DuNYUH3D.js";
|
|
6
6
|
import { o as parseFeishuCommentTarget, r as replyComment } from "./drive-BATb4KBd.js";
|
|
7
7
|
import { a as listFeishuDirectoryGroups, n as getChatMembers, o as listFeishuDirectoryPeers, r as getFeishuMemberInfo, t as getChatInfo } from "./chat-BZHACYhu.js";
|
|
8
|
-
import "./runtime-api-
|
|
8
|
+
import "./runtime-api-D8GFWA1p.js";
|
|
9
9
|
import { a as sendCardFeishu, c as sendStructuredCardFeishu, m as sendMediaFeishu, n as getMessageFeishu, o as sendMarkdownCardFeishu, s as sendMessageFeishu, t as editMessageFeishu } from "./send-DagIp3G1.js";
|
|
10
10
|
import fs from "fs";
|
|
11
11
|
import path from "path";
|
package/dist/channel.runtime.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./channel.runtime-
|
|
1
|
+
export * from "./channel.runtime-CEPPKWZZ.js";
|
|
@@ -6,7 +6,7 @@ import { t as DEFAULT_PROMOTION_MIN_SCORE } from "./short-term-promotion-C886uNj
|
|
|
6
6
|
//#region extensions/memory-core/src/cli.ts
|
|
7
7
|
let memoryCliRuntimePromise = null;
|
|
8
8
|
async function loadMemoryCliRuntime() {
|
|
9
|
-
memoryCliRuntimePromise ??= import("./cli.runtime-
|
|
9
|
+
memoryCliRuntimePromise ??= import("./cli.runtime-BCRb9kzF.js");
|
|
10
10
|
return await memoryCliRuntimePromise;
|
|
11
11
|
}
|
|
12
12
|
async function runMemoryStatus(opts) {
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
],
|
|
15
15
|
"channelCatalogSignature": "a99b78ac99491ac5c8d64c4a6973088cc21688cb",
|
|
16
16
|
"rootHelpBundleSignature": "3b4ccfacc9e8109c2ab6e3439e6413b49469969e",
|
|
17
|
-
"rootHelpText": "\n👾 KaijiBot 2026.7.
|
|
17
|
+
"rootHelpText": "\n👾 KaijiBot 2026.7.14 (dd37e59) — Thinking takes courage — because thinking means you might change.\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
|
}
|
|
@@ -13,13 +13,13 @@ import { t as buildAgentSessionKey } from "./resolve-route-CuNp6VKX.js";
|
|
|
13
13
|
import "./routing-nDFoyfdl.js";
|
|
14
14
|
import "./text-runtime-DolsxydS.js";
|
|
15
15
|
import { r as withManager } from "./cli-utils-Ci4zO3tv.js";
|
|
16
|
-
import "./memory-core-host-runtime-core-
|
|
16
|
+
import "./memory-core-host-runtime-core-2scqys_a.js";
|
|
17
17
|
import { n as withProgress, r as withProgressTotals } from "./progress-BCqymZyX.js";
|
|
18
18
|
import "./memory-core-host-runtime-cli-wuSd6g0o.js";
|
|
19
|
-
import { c as listMemoryFiles, l as normalizeExtraMemoryPaths } from "./internal-
|
|
20
|
-
import "./memory-core-host-runtime-files-
|
|
19
|
+
import { c as listMemoryFiles, l as normalizeExtraMemoryPaths } from "./internal-Dd-4M-6U.js";
|
|
20
|
+
import "./memory-core-host-runtime-files-Br70sgXP.js";
|
|
21
21
|
import { a as rankShortTermPromotionCandidates, c as repairShortTermPromotionArtifacts, d as resolveShortTermRecallStorePath, l as resolveShortTermPromotionConfig, n as applyShortTermPromotions, o as recordShortTermRecalls, r as auditShortTermPromotionArtifacts, u as resolveShortTermRecallLockPath } from "./short-term-promotion-C886uNjd.js";
|
|
22
|
-
import { n as getMemorySearchManager } from "./memory-
|
|
22
|
+
import { n as getMemorySearchManager } from "./memory-D1d2ogYO.js";
|
|
23
23
|
import fs from "node:fs";
|
|
24
24
|
import path from "node:path";
|
|
25
25
|
import os from "node:os";
|
package/dist/cli.runtime.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./cli.runtime-
|
|
1
|
+
export * from "./cli.runtime-BCRb9kzF.js";
|
|
@@ -5,7 +5,7 @@ import "./command-auth-DpT0n4Pc.js";
|
|
|
5
5
|
import "./stored-model-override-Dp9EpdSQ.js";
|
|
6
6
|
import "./commands-models-QADXi-XZ.js";
|
|
7
7
|
import { n as buildCommandsMessagePaginated$1, r as buildHelpMessage$1, t as buildCommandsMessage$1 } from "./command-status-builders-B6M4diSK.js";
|
|
8
|
-
import "./direct-dm-
|
|
8
|
+
import "./direct-dm-BtwxjEEP.js";
|
|
9
9
|
import "./skill-commands-Dbbz0r-c.js";
|
|
10
10
|
//#region src/plugin-sdk/command-auth.ts
|
|
11
11
|
/** Fast-path DM command authorization when only policy and sender allowlist state matter. */
|
|
@@ -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-Du-7TtlG.js";
|
|
3
|
-
import { a as defineImportedCommandGroupSpec, i as buildCommandGroupEntries, o as defineImportedProgramCommandGroupSpecs, r as registerSubCliCommands } from "./register.subclis-
|
|
3
|
+
import { a as defineImportedCommandGroupSpec, i as buildCommandGroupEntries, o as defineImportedProgramCommandGroupSpecs, r as registerSubCliCommands } from "./register.subclis-DZXbhtmm.js";
|
|
4
4
|
import { i as registerCommandGroups, r as registerCommandGroupByName } from "./register-command-groups-ghQRzjGg.js";
|
|
5
5
|
import { n as getCoreCliCommandNames$1, t as getCoreCliCommandDescriptors } from "./core-command-descriptors-CjpIGFkK.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-
|
|
19
|
+
loadModule: () => import("./register.setup-CQWWOtu3.js"),
|
|
20
20
|
exportName: "registerSetupCommand"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
commandNames: ["onboard"],
|
|
24
|
-
loadModule: () => import("./register.onboard-
|
|
24
|
+
loadModule: () => import("./register.onboard-BmMqljJ0.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-
|
|
49
|
+
loadModule: () => import("./register.maintenance-igmdrKCE.js"),
|
|
50
50
|
exportName: "registerMaintenanceCommands"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
@@ -68,7 +68,7 @@ const coreEntrySpecs = [
|
|
|
68
68
|
loadModule: () => import("./mcp-cli-CIdyYFs1.js"),
|
|
69
69
|
exportName: "registerMcpCli"
|
|
70
70
|
}])),
|
|
71
|
-
defineImportedCommandGroupSpec(["agent", "agents"], () => import("./register.agent-
|
|
71
|
+
defineImportedCommandGroupSpec(["agent", "agents"], () => import("./register.agent-o8trDBmv.js"), (mod, { program, ctx }) => {
|
|
72
72
|
mod.registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
73
73
|
}),
|
|
74
74
|
...withProgramOnlySpecs(defineImportedProgramCommandGroupSpecs([{
|
|
@@ -78,7 +78,7 @@ const coreEntrySpecs = [
|
|
|
78
78
|
"sessions",
|
|
79
79
|
"tasks"
|
|
80
80
|
],
|
|
81
|
-
loadModule: () => import("./register.status-health-sessions-
|
|
81
|
+
loadModule: () => import("./register.status-health-sessions-BgTfbfHd.js"),
|
|
82
82
|
exportName: "registerStatusHealthSessionsCommands"
|
|
83
83
|
}]))
|
|
84
84
|
];
|
|
@@ -8,11 +8,11 @@ import "./sessions-BT45s50I.js";
|
|
|
8
8
|
import { t as loadSessionStore } from "./store-load-Cqa0J3mD.js";
|
|
9
9
|
import { a as sanitizeTaskStatusText } from "./task-status-BtztI7-A.js";
|
|
10
10
|
import { r as getSessionBindingService } from "./session-binding-service-DHVv6XOb.js";
|
|
11
|
-
import { n as findLatestTaskForRelatedSessionKeyForOwner } from "./task-owner-access-
|
|
11
|
+
import { n as findLatestTaskForRelatedSessionKeyForOwner } from "./task-owner-access-BSR7a2-3.js";
|
|
12
12
|
import { i as toAcpRuntimeError } from "./errors-BAN-CU9T.js";
|
|
13
|
-
import { c as parseRuntimeTimeoutSecondsInput, d as validateRuntimeModeInput, f as validateRuntimeModelInput, i as getAcpRuntimeBackend, l as validateRuntimeConfigOptionInput, m as resolveAcpSessionResolutionError, n as getAcpSessionManager, o as requireAcpRuntimeBackend, p as validateRuntimePermissionProfileInput, u as validateRuntimeCwdInput } from "./manager-
|
|
13
|
+
import { c as parseRuntimeTimeoutSecondsInput, d as validateRuntimeModeInput, f as validateRuntimeModelInput, i as getAcpRuntimeBackend, l as validateRuntimeConfigOptionInput, m as resolveAcpSessionResolutionError, n as getAcpSessionManager, o as requireAcpRuntimeBackend, p as validateRuntimePermissionProfileInput, u as validateRuntimeCwdInput } from "./manager-B-lr2EKR.js";
|
|
14
14
|
import { r as resolveSessionStorePathForAcp } from "./session-meta-m1tP5IN2.js";
|
|
15
|
-
import { i as cleanupFailedAcpSpawn, n as resolveAcpSpawnRuntimePolicyError } from "./acp-spawn-
|
|
15
|
+
import { i as cleanupFailedAcpSpawn, n as resolveAcpSpawnRuntimePolicyError } from "./acp-spawn-V--MlhmC.js";
|
|
16
16
|
import { i as resolveAcpDispatchPolicyMessage, n as resolveAcpAgentPolicyError, r as resolveAcpDispatchPolicyError, t as isAcpEnabledByPolicy } from "./policy-DF7rflrk.js";
|
|
17
17
|
import { n as resolveAcpSessionIdentifierLinesFromIdentity, r as resolveAcpThreadSessionDetailLines, t as resolveAcpSessionCwd } from "./session-identifiers-CIbSlRFe.js";
|
|
18
18
|
import { i as resolveThreadBindingThreadName, r as resolveThreadBindingIntroText } from "./thread-bindings-messages-BV1crj8L.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./sessions-BT45s50I.js";
|
|
2
2
|
import { i as resolveSessionFilePathOptions, r as resolveSessionFilePath } from "./paths-BMb28gYd.js";
|
|
3
3
|
import { a as resolveFreshSessionTotalTokens } from "./types-Bv1ycKCa.js";
|
|
4
|
-
import { t as compactEmbeddedPiSession } from "./compact-
|
|
4
|
+
import { t as compactEmbeddedPiSession } from "./compact-0GrpRMY1.js";
|
|
5
5
|
import { i as enqueueSystemEvent } from "./system-events-DNB0RvhI.js";
|
|
6
6
|
import { a as isEmbeddedPiRunActive, f as waitForEmbeddedPiRunEnd, t as abortEmbeddedPiRun } from "./runs-Xp3HE6q4.js";
|
|
7
|
-
import "./pi-embedded-
|
|
7
|
+
import "./pi-embedded-D0xhUYiI.js";
|
|
8
8
|
import { n as incrementCompactionCount } from "./session-updates-0cAKO58H.js";
|
|
9
9
|
import { i as formatTokenCount, r as formatContextUsageShort } from "./status-CGnwhlsB.js";
|
|
10
10
|
export { abortEmbeddedPiRun, compactEmbeddedPiSession, enqueueSystemEvent, formatContextUsageShort, formatTokenCount, incrementCompactionCount, isEmbeddedPiRunActive, resolveFreshSessionTotalTokens, resolveSessionFilePath, resolveSessionFilePathOptions, waitForEmbeddedPiRunEnd };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./commands-compact.runtime-
|
|
1
|
+
export * from "./commands-compact.runtime-DEyjOgU8.js";
|