mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-30 06:12:03 +00:00
* fix(ui): improve review dialog rendering for tool calls and tables - Replace Markdown component with LogViewer in plan-approval-dialog to properly format tool calls with collapsible sections and JSON highlighting - Add remark-gfm plugin to Markdown component for GitHub Flavored Markdown support including tables, task lists, and strikethrough - Add table styling classes to Markdown component for proper table rendering - Install remark-gfm and rehype-sanitize dependencies Fixes mixed/broken rendering in review dialog where tool calls showed as raw text and markdown tables showed as pipe-separated text. * chore: fix git+ssh URL and prettier formatting - Convert git+ssh:// to git+https:// in package-lock.json for @electron/node-gyp - Apply prettier formatting to plan-approval-dialog.tsx * fix(ui): create PlanContentViewer for better plan display The previous LogViewer approach showed tool calls prominently but hid the actual plan/specification markdown content. The new PlanContentViewer: - Separates tool calls (exploration) from plan markdown - Shows the plan/specification markdown prominently using Markdown component - Collapses tool calls by default in an "Exploration" section - Properly renders GFM tables in the plan content This provides a better UX where users see the important plan content first, with tool calls available but not distracting. * fix(ui): add show more/less toggle for feature description The feature description in the plan approval dialog header was truncated at 150 characters with no way to see the full text. Now users can click "show more" to expand and "show less" to collapse. * fix(ui): increase description limit and add feature title to dialog - Increase description character limit from 150 to 250 characters - Add feature title to dialog header (e.g., "Review Plan - Feature Title") only if title exists and is <= 50 characters * feat(ui): render tasks code blocks as proper checkbox lists When markdown contains a ```tasks code block, it now renders as: - Phase headers (## Phase 1: ...) as styled section headings - Task items (- [ ] or - [x]) with proper checkbox icons - Checked items show green checkmark and strikethrough text - Unchecked items show empty square icon This makes implementation task lists in plans much more readable compared to rendering them as raw code blocks. * fix(ui): improve plan content parsing robustness Address CodeRabbit review feedback: 1. Relax heading detection regex to match emoji and non-word chars - Change \w to \S so headings like "## ✅ Plan" are detected - Change \*\*[A-Z] to \*\*\S for bold section detection 2. Flush active tool call when heading is detected - Prevents plan content being dropped when heading follows tool call without a blank line separator 3. Support tool names with dots/hyphens - Change \w+ to [^\s]+ so names like "web.run" or "file-read" work --------- Co-authored-by: Claude <noreply@anthropic.com>
265 lines
8.0 KiB
JSON
265 lines
8.0 KiB
JSON
{
|
|
"name": "@automaker/ui",
|
|
"version": "0.13.0",
|
|
"description": "An autonomous AI development studio that helps you build software faster using AI-powered agents",
|
|
"homepage": "https://github.com/AutoMaker-Org/automaker",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/AutoMaker-Org/automaker.git"
|
|
},
|
|
"author": "AutoMaker Team",
|
|
"license": "SEE LICENSE IN LICENSE",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=22.0.0 <23.0.0"
|
|
},
|
|
"main": "dist-electron/main.js",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"dev:web": "cross-env VITE_SKIP_ELECTRON=true vite",
|
|
"dev:electron": "vite",
|
|
"dev:electron:debug": "cross-env OPEN_DEVTOOLS=true vite",
|
|
"build": "vite build",
|
|
"build:electron": "node scripts/prepare-server.mjs && vite build && electron-builder",
|
|
"build:electron:dir": "node scripts/prepare-server.mjs && vite build && electron-builder --dir",
|
|
"build:electron:win": "node scripts/prepare-server.mjs && vite build && electron-builder --win",
|
|
"build:electron:win:dir": "node scripts/prepare-server.mjs && vite build && electron-builder --win --dir",
|
|
"build:electron:mac": "node scripts/prepare-server.mjs && vite build && electron-builder --mac",
|
|
"build:electron:mac:dir": "node scripts/prepare-server.mjs && vite build && electron-builder --mac --dir",
|
|
"build:electron:linux": "node scripts/prepare-server.mjs && vite build && electron-builder --linux",
|
|
"build:electron:linux:dir": "node scripts/prepare-server.mjs && vite build && electron-builder --linux --dir",
|
|
"postinstall": "electron-builder install-app-deps",
|
|
"preview": "vite preview",
|
|
"lint": "npx eslint",
|
|
"typecheck": "tsc --noEmit",
|
|
"pretest": "node scripts/kill-test-servers.mjs && node scripts/setup-e2e-fixtures.mjs",
|
|
"test": "playwright test",
|
|
"test:headed": "playwright test --headed",
|
|
"dev:electron:wsl": "cross-env vite",
|
|
"dev:electron:wsl:gpu": "cross-env MESA_D3D12_DEFAULT_ADAPTER_NAME=NVIDIA vite"
|
|
},
|
|
"dependencies": {
|
|
"@automaker/dependency-resolver": "1.0.0",
|
|
"@automaker/spec-parser": "1.0.0",
|
|
"@automaker/types": "1.0.0",
|
|
"@codemirror/lang-xml": "6.1.0",
|
|
"@codemirror/language": "^6.12.1",
|
|
"@codemirror/legacy-modes": "^6.5.2",
|
|
"@codemirror/theme-one-dark": "6.1.3",
|
|
"@dnd-kit/core": "6.3.1",
|
|
"@dnd-kit/sortable": "10.0.0",
|
|
"@dnd-kit/utilities": "3.2.2",
|
|
"@fontsource/cascadia-code": "^5.2.3",
|
|
"@fontsource/fira-code": "^5.2.7",
|
|
"@fontsource/ibm-plex-mono": "^5.2.7",
|
|
"@fontsource/inconsolata": "^5.2.8",
|
|
"@fontsource/inter": "^5.2.8",
|
|
"@fontsource/iosevka": "^5.2.5",
|
|
"@fontsource/jetbrains-mono": "^5.2.8",
|
|
"@fontsource/lato": "^5.2.7",
|
|
"@fontsource/montserrat": "^5.2.8",
|
|
"@fontsource/open-sans": "^5.2.7",
|
|
"@fontsource/poppins": "^5.2.7",
|
|
"@fontsource/raleway": "^5.2.8",
|
|
"@fontsource/roboto": "^5.2.9",
|
|
"@fontsource/source-code-pro": "^5.2.7",
|
|
"@fontsource/source-sans-3": "^5.2.9",
|
|
"@fontsource/work-sans": "^5.2.8",
|
|
"@lezer/highlight": "1.2.3",
|
|
"@radix-ui/react-checkbox": "1.3.3",
|
|
"@radix-ui/react-collapsible": "1.1.12",
|
|
"@radix-ui/react-dialog": "1.1.15",
|
|
"@radix-ui/react-dropdown-menu": "2.1.16",
|
|
"@radix-ui/react-label": "2.1.8",
|
|
"@radix-ui/react-popover": "1.1.15",
|
|
"@radix-ui/react-radio-group": "1.3.8",
|
|
"@radix-ui/react-scroll-area": "^1.2.10",
|
|
"@radix-ui/react-select": "2.2.6",
|
|
"@radix-ui/react-slider": "1.3.6",
|
|
"@radix-ui/react-slot": "1.2.4",
|
|
"@radix-ui/react-switch": "1.2.6",
|
|
"@radix-ui/react-tabs": "1.1.13",
|
|
"@radix-ui/react-tooltip": "1.2.8",
|
|
"@tanstack/react-query": "^5.90.17",
|
|
"@tanstack/react-query-devtools": "^5.91.2",
|
|
"@tanstack/react-router": "1.141.6",
|
|
"@uiw/react-codemirror": "4.25.4",
|
|
"@xterm/addon-fit": "0.10.0",
|
|
"@xterm/addon-search": "0.15.0",
|
|
"@xterm/addon-web-links": "0.11.0",
|
|
"@xterm/addon-webgl": "0.18.0",
|
|
"@xterm/xterm": "5.5.0",
|
|
"@xyflow/react": "12.10.0",
|
|
"class-variance-authority": "0.7.1",
|
|
"clsx": "2.1.1",
|
|
"cmdk": "1.1.1",
|
|
"dagre": "0.8.5",
|
|
"dotenv": "17.2.3",
|
|
"geist": "1.5.1",
|
|
"lucide-react": "0.562.0",
|
|
"react": "19.2.3",
|
|
"react-dom": "19.2.3",
|
|
"react-markdown": "10.1.0",
|
|
"react-resizable-panels": "3.0.6",
|
|
"rehype-raw": "7.0.0",
|
|
"rehype-sanitize": "^6.0.0",
|
|
"remark-gfm": "^4.0.1",
|
|
"sonner": "2.0.7",
|
|
"tailwind-merge": "3.4.0",
|
|
"usehooks-ts": "3.1.1",
|
|
"zustand": "5.0.9"
|
|
},
|
|
"optionalDependencies": {
|
|
"lightningcss-darwin-arm64": "1.29.2",
|
|
"lightningcss-darwin-x64": "1.29.2",
|
|
"lightningcss-linux-arm-gnueabihf": "1.29.2",
|
|
"lightningcss-linux-arm64-gnu": "1.29.2",
|
|
"lightningcss-linux-arm64-musl": "1.29.2",
|
|
"lightningcss-linux-x64-gnu": "1.29.2",
|
|
"lightningcss-linux-x64-musl": "1.29.2",
|
|
"lightningcss-win32-arm64-msvc": "1.29.2",
|
|
"lightningcss-win32-x64-msvc": "1.29.2"
|
|
},
|
|
"devDependencies": {
|
|
"@electron/rebuild": "4.0.2",
|
|
"@eslint/js": "9.0.0",
|
|
"@playwright/test": "1.57.0",
|
|
"@tailwindcss/vite": "4.1.18",
|
|
"@tanstack/router-plugin": "1.141.7",
|
|
"@types/dagre": "0.7.53",
|
|
"@types/node": "22.19.3",
|
|
"@types/react": "19.2.7",
|
|
"@types/react-dom": "19.2.3",
|
|
"@typescript-eslint/eslint-plugin": "8.50.0",
|
|
"@typescript-eslint/parser": "8.50.0",
|
|
"@vitejs/plugin-react": "5.1.2",
|
|
"cross-env": "10.1.0",
|
|
"electron": "39.2.7",
|
|
"electron-builder": "26.0.12",
|
|
"eslint": "9.39.2",
|
|
"tailwindcss": "4.1.18",
|
|
"tw-animate-css": "1.4.0",
|
|
"typescript": "5.9.3",
|
|
"vite": "7.3.0",
|
|
"vite-plugin-electron": "0.29.0",
|
|
"vite-plugin-electron-renderer": "0.14.6"
|
|
},
|
|
"build": {
|
|
"appId": "com.automaker.app",
|
|
"productName": "Automaker",
|
|
"artifactName": "${productName}-${version}-${arch}.${ext}",
|
|
"npmRebuild": false,
|
|
"publish": null,
|
|
"afterPack": "./scripts/rebuild-server-natives.cjs",
|
|
"directories": {
|
|
"output": "release"
|
|
},
|
|
"files": [
|
|
"dist/**/*",
|
|
"dist-electron/**/*",
|
|
"public/**/*",
|
|
"!node_modules/**/*"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "server-bundle/dist",
|
|
"to": "server"
|
|
},
|
|
{
|
|
"from": "server-bundle/node_modules",
|
|
"to": "server/node_modules"
|
|
},
|
|
{
|
|
"from": "server-bundle/package.json",
|
|
"to": "server/package.json"
|
|
},
|
|
{
|
|
"from": "../../.env",
|
|
"to": ".env",
|
|
"filter": [
|
|
"**/*"
|
|
]
|
|
}
|
|
],
|
|
"mac": {
|
|
"category": "public.app-category.developer-tools",
|
|
"target": [
|
|
{
|
|
"target": "dmg",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
},
|
|
{
|
|
"target": "zip",
|
|
"arch": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
}
|
|
],
|
|
"icon": "public/logo_larger.png"
|
|
},
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
],
|
|
"icon": "public/icon.ico"
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
{
|
|
"target": "AppImage",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
},
|
|
{
|
|
"target": "deb",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
},
|
|
{
|
|
"target": "rpm",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
],
|
|
"category": "Development",
|
|
"icon": "public/logo_larger.png",
|
|
"maintainer": "webdevcody@gmail.com",
|
|
"executableName": "automaker",
|
|
"description": "An autonomous AI development studio that helps you build software faster using AI-powered agents",
|
|
"synopsis": "AI-powered autonomous development studio"
|
|
},
|
|
"rpm": {
|
|
"depends": [
|
|
"gtk3",
|
|
"libnotify",
|
|
"nss",
|
|
"libXScrnSaver",
|
|
"libXtst",
|
|
"xdg-utils",
|
|
"at-spi2-core",
|
|
"libuuid"
|
|
],
|
|
"compression": "xz",
|
|
"vendor": "AutoMaker Team"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true
|
|
}
|
|
}
|
|
}
|