Skip to content

feat(cli): sync portable upstream foundations - #2

Merged
Pidbid merged 3 commits into
mainfrom
agent/portable-upstream-20260729
Jul 29, 2026
Merged

feat(cli): sync portable upstream foundations#2
Pidbid merged 3 commits into
mainfrom
agent/portable-upstream-20260729

Conversation

@Pidbid

@Pidbid Pidbid commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Summary

Sync 29 foundational upstream pull requests into KKM while preserving the kkm command, KKM product branding, compatibility configuration paths, and the existing multi-Skill prompt support.

Included upstream PRs:

This adds portable improvements such as live Skill/AGENTS/date reminders, disabled and plugin-qualified Skills, repeat-call protection, the Monitor tool, streamed large uploads, global message search, SDK v2 parity, configurable status lines, /context, terminal title and mouse improvements, stricter parsing, and web interaction fixes.

Vendor-business changes were deliberately excluded, including managed usage/plan quota behavior, marketplace business entries, and the conflicting plugin system-prompt proposal. Large unstable multi-instance persistence work was also left out.

KKM release

  • Bump the CLI to 0.29.2-kkm.2
  • Set KKM_RELEASE to v0.29.2-kkm.2
  • Keep native artifact and help output under the kkm name

Validation

  • Type checks passed for 11 affected packages
  • Core domain-layer check passed
  • Web style check passed in baseline mode
  • Full affected-package tests passed
  • CLI regression suite passed after isolated environment and KKM-branding checks
  • Production JS/Web build passed
  • Linux x64 SEA build passed
  • Native kkm version/help/asset smoke passed

Curate 29 foundational, provider-neutral upstream updates, preserve KKM branding, and prepare v0.29.2-kkm.2.
@github-actions

Copy link
Copy Markdown

❌ Nix build failed

    kimi-code> - Using dynamic import() to code-split the application
    kimi-code> - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
    kimi-code> - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
    kimi-code> ✓ built in 23.44s
    kimi-code> Copied Kimi web assets to /build/source/apps/kimi-code/dist-web
    kimi-code> 
    kimi-code> > @moonshot-ai/kimi-code@0.29.2-kkm.2 build:native:sea /build/source/apps/kimi-code
    kimi-code> > node scripts/native/build.mjs --profile=local
    kimi-code> 
    kimi-code> ==> Native build (profile=local)
    kimi-code> [build-vis-asset] building vis web single-file bundle…
    kimi-code> vite v6.4.2 building for production...
    kimi-code> transforming...
    kimi-code> ✓ 136 modules transformed.
    kimi-code> rendering chunks...
    kimi-code> [plugin vite:singlefile]
    kimi-code> 
    kimi-code> [plugin vite:singlefile] Inlining: index-hnWqAAon.js
    kimi-code> [plugin vite:singlefile] Inlining: style-D6lxOw1d.css
    kimi-code> computing gzip size...
    kimi-code> dist-single/index.html  441.27 kB │ gzip: 125.89 kB
    kimi-code> ✓ built in 1.60s
    kimi-code> [build-vis-asset] wrote /build/source/apps/kimi-code/src/generated/vis-web-asset.ts (163 KB base64)
    kimi-code> ℹ tsdown v0.22.0 powered by rolldown v1.0.1
    kimi-code> ℹ config file: /build/source/apps/kimi-code/tsdown.native.config.ts
    kimi-code> ℹ entry: ./src/main.ts
    kimi-code> ℹ target: node24
    kimi-code> ℹ tsconfig: tsconfig.json
    kimi-code> ℹ Build start
    kimi-code> ℹ Granting execute permission to dist-native/intermediates/main.cjs
    kimi-code> ℹ dist-native/intermediates/main.cjs  17.28 MB
    kimi-code> ℹ 1 files, total: 17.28 MB
    kimi-code> ✔ Build complete in 3140ms
    kimi-code> Collected native assets for linux-x64:
    kimi-code> - @mariozechner/clipboard: 2 files
    kimi-code> - @mariozechner/clipboard-linux-x64-gnu: 2 files
    kimi-code> - @moonshot-ai/pi-tui: 1 files
    kimi-code> Collected web assets for linux-x64: 202 files
    kimi-code> Wrote single executable preparation blob to /build/source/apps/kimi-code/dist-native/intermediates/kkm.blob
    kimi-code> Start injection of NODE_SEA_BLOB in /build/source/apps/kimi-code/dist-native/bin/linux-x64/kkm...
    kimi-code> 💉 Injection done!
    kimi-code> warning: Can't find string offset for section name '.note'
    kimi-code> Signed and hashed: /build/source/apps/kimi-code/dist-native/bin/linux-x64/kkm
    kimi-code> Verify step skipped (not macOS)
    kimi-code> ==> Native build complete
    kimi-code> buildPhase completed in 34 seconds
    kimi-code> Running phase: installPhase
    kimi-code> install: cannot stat 'apps/kimi-code/dist-native/bin/linux-x64/kimi': No such file or directory
    error: Cannot build '/nix/store/hzwq9rfiy7g590kaga830vjgcwcfy0w3-kimi-code-0.29.2-kkm.2.drv'.
           Reason: builder failed with exit code 1.
           Output paths:
             /nix/store/0b42lk5dajprijfprprhagis4bsfy4cr-kimi-code-0.29.2-kkm.2
           Last 25 log lines:
           > ℹ tsdown v0.22.0 powered by rolldown v1.0.1
           > ℹ config file: /build/source/apps/kimi-code/tsdown.native.config.ts
           > ℹ entry: ./src/main.ts
           > ℹ target: node24
           > ℹ tsconfig: tsconfig.json
           > ℹ Build start
           > ℹ Granting execute permission to dist-native/intermediates/main.cjs
           > ℹ dist-native/intermediates/main.cjs  17.28 MB
           > ℹ 1 files, total: 17.28 MB
           > ✔ Build complete in 3140ms
           > Collected native assets for linux-x64:
           > - @mariozechner/clipboard: 2 files
           > - @mariozechner/clipboard-linux-x64-gnu: 2 files
           > - @moonshot-ai/pi-tui: 1 files
           > Collected web assets for linux-x64: 202 files
           > Wrote single executable preparation blob to /build/source/apps/kimi-code/dist-native/intermediates/kkm.blob
           > Start injection of NODE_SEA_BLOB in /build/source/apps/kimi-code/dist-native/bin/linux-x64/kkm...
           > 💉 Injection done!
           > warning: Can't find string offset for section name '.note'
           > Signed and hashed: /build/source/apps/kimi-code/dist-native/bin/linux-x64/kkm
           > Verify step skipped (not macOS)
           > ==> Native build complete
           > buildPhase completed in 34 seconds
           > Running phase: installPhase
           > install: cannot stat 'apps/kimi-code/dist-native/bin/linux-x64/kimi': No such file or directory
           For full logs, run:
             nix log /nix/store/hzwq9rfiy7g590kaga830vjgcwcfy0w3-kimi-code-0.29.2-kkm.2.drv

@Pidbid
Pidbid merged commit 232fde7 into main Jul 29, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant