xibecode 0.7.5 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -44
- package/dist/commands/chat.d.ts.map +1 -1
- package/dist/commands/chat.js +9 -1457
- package/dist/commands/chat.js.map +1 -1
- package/dist/commands/run-pr.d.ts.map +1 -1
- package/dist/commands/run-pr.js +12 -1
- package/dist/commands/run-pr.js.map +1 -1
- package/dist/commands/run.d.ts.map +1 -1
- package/dist/commands/run.js +48 -1
- package/dist/commands/run.js.map +1 -1
- package/dist/components/AssistantMarkdown.d.ts +10 -0
- package/dist/components/AssistantMarkdown.d.ts.map +1 -0
- package/dist/components/AssistantMarkdown.js +25 -0
- package/dist/components/AssistantMarkdown.js.map +1 -0
- package/dist/components/design-system/ThemeProvider.d.ts +13 -0
- package/dist/components/design-system/ThemeProvider.d.ts.map +1 -0
- package/dist/components/design-system/ThemeProvider.js +21 -0
- package/dist/components/design-system/ThemeProvider.js.map +1 -0
- package/dist/components/design-system/ThemedBox.d.ts +18 -0
- package/dist/components/design-system/ThemedBox.d.ts.map +1 -0
- package/dist/components/design-system/ThemedBox.js +27 -0
- package/dist/components/design-system/ThemedBox.js.map +1 -0
- package/dist/components/design-system/ThemedText.d.ts +11 -0
- package/dist/components/design-system/ThemedText.d.ts.map +1 -0
- package/dist/components/design-system/ThemedText.js +23 -0
- package/dist/components/design-system/ThemedText.js.map +1 -0
- package/dist/core/agent-tool-policies.d.ts +5 -0
- package/dist/core/agent-tool-policies.d.ts.map +1 -0
- package/dist/core/agent-tool-policies.js +18 -0
- package/dist/core/agent-tool-policies.js.map +1 -0
- package/dist/core/agent.d.ts +33 -0
- package/dist/core/agent.d.ts.map +1 -1
- package/dist/core/agent.js +325 -101
- package/dist/core/agent.js.map +1 -1
- package/dist/core/background-agent.d.ts.map +1 -1
- package/dist/core/background-agent.js +4 -0
- package/dist/core/background-agent.js.map +1 -1
- package/dist/core/context-compactor.d.ts +10 -0
- package/dist/core/context-compactor.d.ts.map +1 -0
- package/dist/core/context-compactor.js +158 -0
- package/dist/core/context-compactor.js.map +1 -0
- package/dist/core/conversation-recovery.d.ts +9 -0
- package/dist/core/conversation-recovery.d.ts.map +1 -0
- package/dist/core/conversation-recovery.js +15 -0
- package/dist/core/conversation-recovery.js.map +1 -0
- package/dist/core/debug-workflow.d.ts +9 -0
- package/dist/core/debug-workflow.d.ts.map +1 -0
- package/dist/core/debug-workflow.js +19 -0
- package/dist/core/debug-workflow.js.map +1 -0
- package/dist/core/memory-promotions.d.ts +15 -0
- package/dist/core/memory-promotions.d.ts.map +1 -0
- package/dist/core/memory-promotions.js +38 -0
- package/dist/core/memory-promotions.js.map +1 -0
- package/dist/core/memory.d.ts +3 -1
- package/dist/core/memory.d.ts.map +1 -1
- package/dist/core/memory.js +27 -3
- package/dist/core/memory.js.map +1 -1
- package/dist/core/modes.d.ts +1 -0
- package/dist/core/modes.d.ts.map +1 -1
- package/dist/core/modes.js +94 -5
- package/dist/core/modes.js.map +1 -1
- package/dist/core/permission-store.d.ts +15 -0
- package/dist/core/permission-store.d.ts.map +1 -0
- package/dist/core/permission-store.js +30 -0
- package/dist/core/permission-store.js.map +1 -0
- package/dist/core/permissions.d.ts +33 -0
- package/dist/core/permissions.d.ts.map +1 -0
- package/dist/core/permissions.js +139 -0
- package/dist/core/permissions.js.map +1 -0
- package/dist/core/plan-artifacts.d.ts +10 -0
- package/dist/core/plan-artifacts.d.ts.map +1 -0
- package/dist/core/plan-artifacts.js +53 -0
- package/dist/core/plan-artifacts.js.map +1 -0
- package/dist/core/plan-session.d.ts +25 -0
- package/dist/core/plan-session.d.ts.map +1 -0
- package/dist/core/plan-session.js +95 -0
- package/dist/core/plan-session.js.map +1 -0
- package/dist/core/planMode.d.ts +5 -0
- package/dist/core/planMode.d.ts.map +1 -1
- package/dist/core/planMode.js +58 -3
- package/dist/core/planMode.js.map +1 -1
- package/dist/core/session-bridge.d.ts +12 -1
- package/dist/core/session-bridge.d.ts.map +1 -1
- package/dist/core/session-bridge.js +46 -0
- package/dist/core/session-bridge.js.map +1 -1
- package/dist/core/session-manager.d.ts +2 -0
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js +3 -1
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/skill-selection.d.ts +36 -0
- package/dist/core/skill-selection.d.ts.map +1 -0
- package/dist/core/skill-selection.js +172 -0
- package/dist/core/skill-selection.js.map +1 -0
- package/dist/core/skills.d.ts +14 -0
- package/dist/core/skills.d.ts.map +1 -1
- package/dist/core/skills.js +51 -0
- package/dist/core/skills.js.map +1 -1
- package/dist/core/swarm.d.ts.map +1 -1
- package/dist/core/swarm.js +2 -0
- package/dist/core/swarm.js.map +1 -1
- package/dist/core/task-status.d.ts +13 -0
- package/dist/core/task-status.d.ts.map +1 -0
- package/dist/core/task-status.js +17 -0
- package/dist/core/task-status.js.map +1 -0
- package/dist/core/tool-orchestrator.d.ts +22 -0
- package/dist/core/tool-orchestrator.d.ts.map +1 -0
- package/dist/core/tool-orchestrator.js +56 -0
- package/dist/core/tool-orchestrator.js.map +1 -0
- package/dist/core/tools.d.ts +6 -0
- package/dist/core/tools.d.ts.map +1 -1
- package/dist/core/tools.js +30 -1
- package/dist/core/tools.js.map +1 -1
- package/dist/core/transcript-cleanup.d.ts +8 -0
- package/dist/core/transcript-cleanup.d.ts.map +1 -0
- package/dist/core/transcript-cleanup.js +52 -0
- package/dist/core/transcript-cleanup.js.map +1 -0
- package/dist/ink.d.ts +24 -0
- package/dist/ink.d.ts.map +1 -0
- package/dist/ink.js +56 -0
- package/dist/ink.js.map +1 -0
- package/dist/interactiveHelpers.d.ts +9 -0
- package/dist/interactiveHelpers.d.ts.map +1 -0
- package/dist/interactiveHelpers.js +20 -0
- package/dist/interactiveHelpers.js.map +1 -0
- package/dist/types/command.d.ts +24 -0
- package/dist/types/command.d.ts.map +1 -0
- package/dist/types/command.js +2 -0
- package/dist/types/command.js.map +1 -0
- package/dist/ui/claude-style-chat.d.ts +11 -0
- package/dist/ui/claude-style-chat.d.ts.map +1 -0
- package/dist/ui/claude-style-chat.js +492 -0
- package/dist/ui/claude-style-chat.js.map +1 -0
- package/dist/utils/config.d.ts +6 -1
- package/dist/utils/config.d.ts.map +1 -1
- package/dist/utils/config.js +1 -1
- package/dist/utils/config.js.map +1 -1
- package/dist/utils/renderOptions.d.ts +7 -0
- package/dist/utils/renderOptions.d.ts.map +1 -0
- package/dist/utils/renderOptions.js +60 -0
- package/dist/utils/renderOptions.js.map +1 -0
- package/dist/utils/tool-display.d.ts +8 -0
- package/dist/utils/tool-display.d.ts.map +1 -0
- package/dist/utils/tool-display.js +213 -0
- package/dist/utils/tool-display.js.map +1 -0
- package/dist/utils/tui-theme.d.ts +78 -0
- package/dist/utils/tui-theme.d.ts.map +1 -0
- package/dist/utils/tui-theme.js +76 -0
- package/dist/utils/tui-theme.js.map +1 -0
- package/dist/webui/server.d.ts +2 -0
- package/dist/webui/server.d.ts.map +1 -1
- package/dist/webui/server.js +9 -1
- package/dist/webui/server.js.map +1 -1
- package/package.json +9 -6
- package/skills/accessibility-web.md +22 -0
- package/skills/ci-cd-github.md +20 -0
- package/skills/code-review-pr.md +25 -0
- package/skills/css-design-tokens.md +18 -0
- package/skills/data-privacy-gdpr.md +18 -0
- package/skills/database-patterns.md +21 -0
- package/skills/debug-production.md +49 -0
- package/skills/dependency-security.md +18 -0
- package/skills/docker-containers.md +19 -0
- package/skills/documentation.md +21 -0
- package/skills/go-conventions.md +19 -0
- package/skills/graphql-apis.md +18 -0
- package/skills/grpc-protobuf.md +18 -0
- package/skills/i18n-l10n.md +18 -0
- package/skills/incident-response.md +18 -0
- package/skills/java-jvm.md +18 -0
- package/skills/kubernetes-basics.md +19 -0
- package/skills/llm-integration.md +18 -0
- package/skills/message-queues-events.md +18 -0
- package/skills/microservices-boundaries.md +18 -0
- package/skills/mobile-native-ui.md +18 -0
- package/skills/mobile-responsive.md +18 -0
- package/skills/monorepo-workflows.md +18 -0
- package/skills/node-api-design.md +21 -0
- package/skills/observability-logging.md +21 -0
- package/skills/openapi-rest.md +18 -0
- package/skills/optimize-performance.md +90 -0
- package/skills/playwright-e2e.md +18 -0
- package/skills/python-quality.md +21 -0
- package/skills/react-next-patterns.md +24 -0
- package/skills/redis-caching.md +18 -0
- package/skills/refactor-clean-code.md +38 -0
- package/skills/rust-patterns.md +18 -0
- package/skills/sandbox-autonomous.md +25 -0
- package/skills/security-audit.md +79 -0
- package/skills/seo-web.md +18 -0
- package/skills/shell-scripting.md +18 -0
- package/skills/terraform-iac.md +18 -0
- package/skills/typescript-quality.md +23 -0
- package/skills/websockets-realtime.md +18 -0
- package/skills/write-tests.md +62 -0
package/README.md
CHANGED
|
@@ -10,58 +10,34 @@ AI-powered autonomous coding assistant for your terminal, browser, and desktop.
|
|
|
10
10
|
|
|
11
11
|
XibeCode is a CLI agent that can read and edit code, run commands, and iterate on tasks from your terminal using LLMs. It includes a **WebUI** for a browser-based experience, a **Desktop App** (Electron) for native IDE-like usage, **AI-powered test generation**, and **multi-model support** for both Anthropic and OpenAI models.
|
|
12
12
|
|
|
13
|
-
## What's New in v0.
|
|
13
|
+
## What's New in v0.9.0
|
|
14
14
|
|
|
15
|
-
###
|
|
15
|
+
### Reliability and anti-hallucination upgrades
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
- **Evidence-aware completion gate**: the agent now requires grounded signals before declaring a task complete.
|
|
18
|
+
- **Post-edit verification**: write/edit operations are validated with read-back checks to reduce silent bad edits.
|
|
19
|
+
- **Improved loop resistance**: canonicalized loop detection blocks repeated or low-variation command/tool loops.
|
|
20
|
+
- **Safer memory recall**: recalled memories are labeled as unverified hints and filtered by minimum relevance score.
|
|
21
|
+
- **Grounded context compaction**: old context now keeps a **Grounded Facts Ledger** + conversation summary instead of blind truncation.
|
|
18
22
|
|
|
19
|
-
|
|
20
|
-
- **Direct Integration**: Use your Google API Key without proxies.
|
|
23
|
+
### Better chat UX and tool transparency
|
|
21
24
|
|
|
22
|
-
|
|
25
|
+
- **Large transcript retention** in terminal chat (much less history loss during long sessions).
|
|
26
|
+
- **Token-aware auto compaction** around large context budgets (near 120k token estimate) instead of fixed message-count trimming.
|
|
27
|
+
- **Richer tool rendering** in chat: tool call arguments and result summaries are shown for better observability.
|
|
28
|
+
- **Improved Markdown rendering** for assistant output in the TUI.
|
|
23
29
|
|
|
24
|
-
|
|
25
|
-
- **Improved Masking**: Better feedback for existing keys.
|
|
26
|
-
- **Native Providers**: Added native Google option in the provider dropdown.
|
|
30
|
+
### Model and provider improvements
|
|
27
31
|
|
|
28
|
-
|
|
32
|
+
- **`/model` picker refresh** with provider/base-url-aware model loading.
|
|
33
|
+
- **`/format` command** to switch request wire format (`auto`, `anthropic`, `openai`) and persist it.
|
|
34
|
+
- Continued support for Anthropic, OpenAI-compatible providers, Gemini, and custom endpoints.
|
|
29
35
|
|
|
30
|
-
|
|
36
|
+
### CI and release workflow hardening
|
|
31
37
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
- **
|
|
35
|
-
- **UI Fixes**: Improved "Apply Custom Model" button feedback and settings persistence.
|
|
36
|
-
- **Performance**: Optimized model list loading and configuration handling.
|
|
37
|
-
|
|
38
|
-
### v0.5.4
|
|
39
|
-
|
|
40
|
-
- **Context Chips** - Terminal context (full buffer or selections) is now added as "chips" to the chat instead of raw text, keeping the interface clean while giving the AI full context.
|
|
41
|
-
- **Interactive Plan Mode** - Plan mode now asks clarifying questions, searches the web, and generates detailed `implementations.md` with checkboxes. Click "Build" to auto-execute the plan.
|
|
42
|
-
- **Chat History** - Full conversation persistence with per-project storage. Resume any previous chat from the History panel.
|
|
43
|
-
- **Environment Variables Editor** - Visual `.env` file editor with auto-detection, secret masking, and live editing.
|
|
44
|
-
- **Media File Preview** - Images, videos, and audio files render as proper previews instead of binary in the editor.
|
|
45
|
-
- **Thinking Animation** - Loading spinner and "Thinking..." indicator shown while the AI processes your request.
|
|
46
|
-
- **Improved Tool Rendering** - Tool calls display with descriptive icons, status badges, and live progress indicators.
|
|
47
|
-
- **Session Info Bar** - Status bar shows model, mode, session name, tools status, and theme.
|
|
48
|
-
- **XibeCode ASCII Banner** - Beautiful gradient ASCII art branding in the chat welcome screen.
|
|
49
|
-
- **Donate Button** - Support XibeCode development via the activity bar.
|
|
50
|
-
- **Smart Auto-Scroll** - Chat no longer force-scrolls when you're reading earlier messages.
|
|
51
|
-
|
|
52
|
-
### Previous (v0.4.x)
|
|
53
|
-
|
|
54
|
-
- **v0.dev-inspired UI** - Modern split-panel layout with resizable chat and code areas
|
|
55
|
-
- **Multi-Terminal Support** - Create/manage multiple terminal tabs with + and X buttons
|
|
56
|
-
- **Monaco Code Editor** - Full syntax highlighting and IntelliSense in the browser
|
|
57
|
-
- **Settings Modal** - Configure AI provider, display, dev settings, and MCP servers
|
|
58
|
-
- **MCP JSON Editor** - Edit mcp-servers.json directly with Monaco syntax highlighting
|
|
59
|
-
- **Git History Graph** - Visual commit timeline with branch/tag indicators
|
|
60
|
-
- **Custom Model Support** - Add any model (Claude, GPT, DeepSeek, etc.) via WebUI or CLI
|
|
61
|
-
- **Real PTY Terminal** - Fully interactive shell with colors, tab-completion, and all terminal features
|
|
62
|
-
- **File Tree Explorer** - Browse and open files with recursive directory tree
|
|
63
|
-
- **Current Model Display** - Status bar shows active AI model
|
|
64
|
-
- **Drag-to-Resize Panels** - Adjustable chat/code split layout
|
|
38
|
+
- **GitHub Actions reliability fixes** for TypeScript + dependency install paths.
|
|
39
|
+
- **Playwright browser download skip** in non-E2E installs for faster/stabler CI.
|
|
40
|
+
- **Type declarations for `marked-terminal`** included in source to prevent clean-CI type failures.
|
|
65
41
|
|
|
66
42
|
## Screenshots
|
|
67
43
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/commands/chat.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/commands/chat.ts"],"names":[],"mappings":"AAIA,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,iBAQrD"}
|