83 Commits

Author SHA1 Message Date
CrazyBoyM
59dce97350 fix & remove ugly code 2025-09-20 15:14:38 +08:00
CrazyBoyM
d4abb2abee clean code 2025-09-20 15:14:38 +08:00
Xinlu Lai
78b49355cd
Merge pull request #89 from glide-the/update_build_docker
chore(docker): update Dockerfile to copy built application from dist …
2025-09-14 15:02:03 +08:00
glide-the
fbb2db6963 chore(docker): update Dockerfile to copy built application from dist and set entrypoint correctly\n\n- Adjusted COPY command to reference the new dist directory\n- Updated entrypoint to use the correct path for cli.js 2025-09-13 22:52:39 +08:00
CrazyBoyM
d0d1dca009 upgrade for win & remove some un-use code 2025-09-12 00:44:15 +08:00
CrazyBoyM
6bbaa6c559 fix win 2025-09-11 09:57:38 +08:00
CrazyBoyM
b0d9f58d76 fix(multi-edit): pass structuredPatch to update UI; harden FileEditToolUpdatedMessage against undefined patches\n\n- MultiEditTool: compute diff via getPatch and render standard update message\n- FileEditToolUpdatedMessage: treat missing structuredPatch as empty to avoid crash\n- Preserves existing feature and UI while eliminating reduce-on-undefined 2025-09-10 15:33:58 +08:00
CrazyBoyM
a7af9834ef chore(update): disable auto-update flow; keep version-check banner only\n\n- Remove AutoUpdater UI and NPM prefix/permissions flows\n- Simplify Doctor to passive health-check\n- Keep only getLatestVersion/assertMinVersion/update suggestions\n- Clean REPL/PromptInput to avoid extra renders and flicker\n- No hardcoding; no auto-install; docstrings tidy 2025-09-10 14:22:33 +08:00
Xinlu Lai
53234ba2d9
Merge pull request #67 from xiaomao87/fix-dockerfile
Dockerfile: fix runtime error `Module not found "/app/src/entrypoints/cli.tsx"`
2025-09-03 00:49:12 +08:00
Xinlu Lai
20111a0a26
Update README.zh-CN.md 2025-09-03 00:48:03 +08:00
Xinlu Lai
f857fb9577
Update README.md 2025-09-03 00:47:22 +08:00
dev
da15ca5a5f Dockerfile: fix runtime error Module not found "/app/src/entrypoints/cli.tsx" 2025-09-02 16:22:22 +08:00
Xinlu Lai
f23787f50d
Merge pull request #60 from burncloud/feat/burncloud
 feat: add BurnCloud as new AI model provider
2025-09-01 02:59:33 +08:00
Wei
32a9badecd feat: add new model provider BurnCloud fix default models 2025-08-30 16:01:14 +08:00
Xinlu Lai
5471b2d5fc
Update README.md 2025-08-30 01:38:51 +08:00
Xinlu Lai
97684a3208
Update README.md 2025-08-30 01:29:04 +08:00
CrazyBoyM
612234cdcc docs: add Windows support announcement to README files
Added update log section announcing Windows support via Git Bash, Unix subsystems,
or WSL (Windows Subsystem for Linux) for all Windows users.

- Added Update Log section to English README
- Added 更新日志 section to Chinese README
- Dated announcement as 2025-08-29
2025-08-29 02:22:14 +08:00
CrazyBoyM
92acc3a002 feat: transition from AGPLv3 to Apache 2.0 license
This is a major license change to better encourage open source contributions
and accelerate the global advancement of AI agent development.

Changes:
- Replace AGPLv3 LICENSE file with Apache 2.0 license text
- Update package.json license field from ISC to Apache-2.0
- Add prominent announcement in both README files about the license change
- Update license badges in README files

The Apache 2.0 license allows free use in both open source and commercial projects
with only attribution requirements, removing barriers to innovation and collaboration.
2025-08-29 02:15:44 +08:00
Xinlu Lai
c8fcc90911
Merge pull request #61 from geoffyli/add-web-tools
feat: Add WebSearchTool and URLFetcherTool for web content access
2025-08-29 01:45:21 +08:00
Xinlu Lai
9e21c5f48f
Merge pull request #62 from bing-zhub/fix_custom_claude
fix: claude streaming tool use and add cache control;
2025-08-29 01:05:08 +08:00
Bing Zhu
c45e28a806 feat: claude support cache control; 2025-08-28 23:11:31 +08:00
Bing Zhu
2875af774e fix: claude tool use msg seq; 2025-08-28 23:11:31 +08:00
Bing Zhu
7d2e0e3832 fix: claude streaming tool use; 2025-08-28 23:11:17 +08:00
Yulong Li
e3d903e7bc feat: Add WebSearchTool and URLFetcherTool for web content access
- Add WebSearchTool with DuckDuckGo integration for web search
    - Provides titles, snippets, and links for current information

  - Add URLFetcherTool for AI-powered web content analysis
    - Fetches and converts HTML content to markdown
    - Processes content using AI with user-provided prompts
    - Includes 15-minute caching for efficiency
    - Uses queryQuick for fast content analysis

  - Register both tools in the tools registry
  - Update documentation to reflect new web capabilities
2025-08-28 17:50:02 +08:00
Wei
efe00eee3b feat: add new model provider BurnCloud 2025-08-28 17:04:34 +08:00
Xinlu Lai
fd5ed25230
Merge pull request #55 from MrCatAI/win-usage-issue
feat: enhance PersistentShell to support shell detection
2025-08-28 16:37:27 +08:00
mrcat
0151defb21 feat: enhance PersistentShell with robust PATH splitting for Windows and POSIX
- Added a new function to split PATH entries correctly for both Windows and POSIX environments.
- Improved shell detection logic to utilize the new PATH splitting function, ensuring accurate path handling across different platforms.
2025-08-28 11:24:36 +08:00
mrcat
6362d58c13 feat: enhance PersistentShell to support shell detection and path normalization
- Implemented shell detection for POSIX, MSYS, and WSL environments.
- Added functions for quoting strings and converting paths for Bash compatibility.
- Updated command execution to handle different shell types and ensure proper path handling.
- Improved initialization by sourcing ~/.bashrc when available and managing file paths for stdout, stderr, and cwd.
2025-08-28 09:43:00 +08:00
Xinlu Lai
3d963fb4a6
Update README.md 2025-08-28 04:39:47 +08:00
Xinlu Lai
44421a594e
Update README.md 2025-08-28 04:34:48 +08:00
Xinlu Lai
2fc581865d
Merge pull request #47 from bing-zhub/fix_custom_claude
fix: custom calude;
2025-08-26 13:16:47 +08:00
Bing Zhu
b103540b99 fix: custom calude; 2025-08-26 12:28:17 +08:00
CrazyBoyM
2daa265de1 fix: unify all logs to ~/.kode directory instead of platform-specific cache paths
- Change debugLogger to use ~/.kode as the base directory for all logs
- API error logs now save to ~/.kode/logs/error/api/
- Debug logs save to ~/.kode/<project-dir>/debug/
- Remove dependency on env-paths cache directory for logs
2025-08-26 02:43:00 +08:00
CrazyBoyM
3c13c20587 fix: correct API error log file path display 2025-08-25 06:40:30 +08:00
CrazyBoyM
b6a2e7e41b feat: add comprehensive API error logging and fix npm publish workflow
- Add elegant API error logging system with file storage in ~/.kode/logs/error/api/
- Show API responses in terminal during errors (verbose mode only)
- Fix tool description usage (prompt vs description methods)
- Remove unnecessary bundledDependencies check in publish workflow
- Bump version to 1.0.80
2025-08-25 06:28:37 +08:00
CrazyBoyM
9370dc20b8 chore: bump version to 1.0.76 2025-08-25 05:47:55 +08:00
CrazyBoyM
ac3dac2150 1.0.76 2025-08-25 05:46:15 +08:00
CrazyBoyM
c644de196e fix: use prompt() method for tool descriptions in API calls
- Changed Anthropic API to use tool.prompt() instead of description()
- Ensures full tool instructions are sent to the model
- Both Anthropic and OpenAI paths now consistently use prompt() method
- Resolves issue where short descriptions were being sent instead of full documentation
2025-08-25 05:46:09 +08:00
CrazyBoyM
a089fe44b0 chore: bump version to 1.0.75
- Fix tsx dependency issue with local tsx path
- Improve ESC key cancellation handling
- Update security documentation for YOLO mode
2025-08-25 04:38:46 +08:00
CrazyBoyM
183d36c5ee 1.0.74 2025-08-25 04:37:54 +08:00
CrazyBoyM
14e8ee736f docs: Refine security notice for YOLO mode usage
- Clarify YOLO mode should only be used in trusted environments on non-critical projects
- Add strong recommendation for --safe mode when working with important files
- Add guidance for using --safe mode with questionable model capabilities
- Update both English and Chinese README files
2025-08-25 04:36:07 +08:00
CrazyBoyM
6aa73a950a fix: Use local tsx instead of global tsx dependency
- Update cli.js wrapper to use node_modules/.bin/tsx
- Fix ESC key cancellation error display in openai.ts stream processing
- Simplify REPL onCancel function
- Add security notice and model performance recommendations to README
2025-08-25 04:23:44 +08:00
CrazyBoyM
994579fadc feat: Add comprehensive documentation and update README with Bun installation
- Add CLAUDE.md with development guidelines and architecture overview
- Add AGENTS.md for Claude Code compatibility with subagent system details
- Update README.md and README.zh-CN.md with recommended Bun installation method
- Remove bundledDependencies from package.json to fix npm publish hard link issues
- Add .npmignore for proper package distribution
- Remove obsolete CONTEXT.md and next_todo.md files
- Update .gitignore to include AGENTS.md and CLAUDE.md in version control

Key documentation improvements:
- Complete development workflow commands and build system details
- Multi-model architecture explanation with 3-layer design
- Agent system with 5-tier priority configuration loading
- Tool architecture patterns and service layer documentation
- Critical implementation details like async tool descriptions
- Development patterns for adding tools, commands, models, and agents

Installation improvements:
- Bun installation now recommended as fastest method
- Fallback to npm for compatibility
- Clear step-by-step installation instructions in both languages
2025-08-24 05:48:46 +08:00
CrazyBoyM
7abf61b804 fix: Add koding mode handling for backspace/delete to prevent premature mode change
Similar to the bash mode fix, ensure koding mode only exits when deleting
the last character (#) instead of exiting prematurely during deletion.
2025-08-24 05:17:21 +08:00
Xinlu Lai
90a5d2db64
Merge pull request #32 from szis-ai/main
Fix [BUG]ERROR: failed to build: failed to solve: dockerfile parse error on line 54: unknown instruction: /root/.bun/bin/bun
2025-08-24 04:46:48 +08:00
Xinlu Lai
20a7cb34fc
Merge pull request #34 from luojiyin1987/feat/security-secure-file-service
Feat/security secure file service
2025-08-24 04:45:54 +08:00
Xinlu Lai
df745ac15c
Merge pull request #36 from glide-the/fix-docker
Update Dockerfile to copy only package.json for dependency installation
2025-08-24 04:44:38 +08:00
Xinlu Lai
9b971a7b38
Merge pull request #35 from luojiyin1987/feat/Docker=multi-stage-build-with-Node.js22
feat: Docker multi-stage build with Node.js 22
2025-08-24 04:43:57 +08:00
Xinlu Lai
25c179e6b6
Merge pull request #42 from CrazyBoyM/main
Add sub-agent & terminal-like input
2025-08-24 04:43:06 +08:00
CrazyBoyM
c279f15ba4 Merge shareAI-lab main: integrate Docker support with existing features
- Resolved conflicts in README.md by combining @ mention system docs with Docker usage instructions
- Auto-merged PromptInput.tsx improvements from shareAI-lab
- Added Docker support with .dockerignore and Dockerfile
- Updated Chinese README with latest changes
- Maintains full backward compatibility with existing @ mention and AGENTS.md features
2025-08-24 04:42:07 +08:00