Skip to content

Commit 4423096

Browse files
authored
Merge pull request #61 from eru123/mvp
Mvp
2 parents c81c76a + f3f199a commit 4423096

15 files changed

Lines changed: 980 additions & 1240 deletions

.agent/rules/workflow-rules.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
trigger: always_on
3+
---
4+
5+
# Instructions
6+
7+
## Commit Rules
8+
- Commit after every task or change unless told otherwise
9+
- Message must be 1–150 characters, single line only — no body, no footer
10+
- No co-author lines, no "Co-Authored-By", no "Generated with", no attribution of any kind
11+
- Use plain imperative English: "add", "fix", "update", "remove", "rename"
12+
13+
## GitHub
14+
- Use `gh` CLI for all GitHub operations
15+
- Use `/issue <number>` to read an issue with all its comments
16+
- Use `/pr <number>` to read a PR with all its reviews and comments
17+
- Reference issues/PRs as `owner/repo#number`
18+
19+
## General
20+
- Short responses, no summaries of what you just did
21+
- Prefer editing existing files over creating new ones
22+
23+
## Execution Rules
24+
- NEVER run or auto-run the dev server (`pnpm dev`, `pnpm tauri dev`, etc.) yourself.
25+
- NEVER run or auto-run the build command (`pnpm build`, `tsc`, etc.) yourself.
26+
- Assume the user is managing the dev server in a separate terminal. Ask the user to run these commands if they are needed.

.agent/workflows/commit.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
description: Stage and commit all changes with a short message. No co-author. Max 150 chars.
3+
---
4+
5+
Stage all changes and commit. Rules:
6+
1. Run `git status` and `git diff HEAD` to understand what changed
7+
2. Run `git add -A`
8+
3. Write a commit message: imperative mood, 1–150 chars, single line, NO co-author, NO body, NO attribution
9+
4. Run `git commit -m "<message>"`
10+
5. Show result with `git log --oneline -1`
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
description: Check unreleased changelog items, summarize by business value (max 150 chars per item)
3+
---
4+
1. Use `view_file` to read the `CHANGELOG.md` file and locate the `[Unreleased]` section.
5+
2. Extract all the list items located under the `[Unreleased]` section.
6+
3. Consolidate and rewrite these items into a proper list from a **higher business point-of-view** (POV). Focus on user impact, features, enhancements, or resolved critical issues rather than technical implementation details.
7+
4. Ensure each new rewritten list item is **1 to 150 characters maximum**.
8+
5. Use `replace_file_content` to safely replace only the `[Unreleased]` block in `CHANGELOG.md` with the newly formatted list.
9+
6. Commit the changes using the message format `docs: format unreleased changelog [skip ci][skip dependabot]` or similar, ensuring exactly `[skip ci][skip dependabot]` is included at the end.

.agent/workflows/issue.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
description: Fetch a GitHub issue and all its comments. Usage: /issue <number>
3+
---
4+
5+
Fetch and display a GitHub issue with all comments.
6+
7+
Parse the input for the issue number. If it contains `owner/repo#number` or `owner/repo number`, use that repo. Otherwise detect with `gh repo view --json nameWithOwner -q .nameWithOwner`.
8+
9+
Steps:
10+
1. `gh issue view <number> --repo <owner/repo> --json number,title,body,state,labels,author,createdAt`
11+
2. `gh api repos/<owner/repo>/issues/<number>/comments --paginate --jq '.[] | {author: .user.login, body, createdAt: .created_at}'`
12+
3. Display: title, number, state, author, date, full body, then each comment with author and date in order.
13+
14+
If no issue number is provided: `gh issue list --limit 20`

.agent/workflows/pr.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
description: Fetch a GitHub PR with all comments and reviews. Usage: /pr <number>
3+
---
4+
5+
Fetch and display a GitHub PR with all comments and reviews.
6+
7+
Parse the input for the PR number. Detect repo with `gh repo view --json nameWithOwner -q .nameWithOwner` if not provided.
8+
9+
Steps:
10+
1. `gh pr view <number> --repo <owner/repo> --json number,title,body,state,author,baseRefName,headRefName,createdAt,reviewDecision`
11+
2. `gh api repos/<owner/repo>/issues/<number>/comments --paginate --jq '.[] | {author: .user.login, body, createdAt: .created_at}'`
12+
3. `gh api repos/<owner/repo>/pulls/<number>/comments --paginate --jq '.[] | {author: .user.login, body, path, line, createdAt: .created_at}'`
13+
4. `gh api repos/<owner/repo>/pulls/<number>/reviews --paginate --jq '.[] | {author: .user.login, state, body, submittedAt: .submitted_at}'`
14+
5. Display: PR details, full body, reviews, inline comments grouped by file, general comments in order.
15+
16+
If no PR number is provided: `gh pr list --limit 20`

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# Changelog
22

33
## [Unreleased]
4-
- chore(deps): bump pnpm/action-setup from 4 to 5
5-
- feat: Implement initial WorkGrid Studio website and project planning documents.
4+
- Improved application stability and performance via core dependency updates.
5+
- Launched the official WorkGrid Studio website and architecture documentation.
6+
- Enhanced the AI assistant with robust new workflow capabilities and developer rules.
7+
- Upgraded the SQL autocomplete engine for smarter, context-aware query suggestions.
8+
- Integrated advanced code editing features across all query and table builder views.
69

710
## [0.2.0] - 2026-03-21
811
- Introduced a keybindings engine with `when`-expression context guards, a token-bucket notification system (toast + output panel routing), a lazy-loaded SQL formatter, a theme token engine, a connection URL parser, and a viewport-aware popup positioning utility.

package.json

Lines changed: 29 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -22,41 +22,49 @@
2222
"changelog:promote": "node scripts/changelog.mjs promote"
2323
},
2424
"dependencies": {
25+
"@monaco-editor/react": "^4.7.0",
2526
"@tanstack/react-virtual": "^3.13.23",
26-
"@tauri-apps/api": "^2",
27-
"@tauri-apps/plugin-dialog": "^2.6.0",
28-
"@tauri-apps/plugin-fs": "^2.4.5",
29-
"@tauri-apps/plugin-opener": "^2",
27+
"@tauri-apps/api": "^2.10.1",
28+
"@tauri-apps/plugin-dialog": "^2.7.0",
29+
"@tauri-apps/plugin-fs": "^2.5.0",
30+
"@tauri-apps/plugin-opener": "^2.5.3",
3031
"@tauri-apps/plugin-process": "^2.3.1",
31-
"@tauri-apps/plugin-updater": "^2.10.0",
32+
"@tauri-apps/plugin-updater": "^2.10.1",
3233
"@tauri-apps/plugin-window-state": "^2.4.1",
3334
"clsx": "^2.1.1",
3435
"exceljs": "^4.4.0",
3536
"lucide-react": "^0.577.0",
36-
"react": "^19.1.0",
37-
"react-dom": "^19.1.0",
38-
"react-querybuilder": "^8.14.0",
39-
"sql-formatter": "^15.7.2",
40-
"tailwind-merge": "^3.0.1",
37+
"react": "^19.2.4",
38+
"react-dom": "^19.2.4",
39+
"react-querybuilder": "^8.14.4",
40+
"sql-formatter": "^15.7.3",
41+
"tailwind-merge": "^3.5.0",
4142
"zustand": "^5.0.12"
4243
},
4344
"devDependencies": {
4445
"@eslint/js": "^10.0.1",
45-
"@tailwindcss/postcss": "^4",
46-
"@tauri-apps/cli": "^2",
47-
"@types/react": "^19.1.8",
48-
"@types/react-dom": "^19.1.6",
49-
"@typescript-eslint/eslint-plugin": "^8.57.1",
50-
"@typescript-eslint/parser": "^8.57.1",
46+
"@tailwindcss/postcss": "^4.2.2",
47+
"@tauri-apps/cli": "^2.10.1",
48+
"@types/react": "^19.2.14",
49+
"@types/react-dom": "^19.2.3",
50+
"@typescript-eslint/eslint-plugin": "^8.58.0",
51+
"@typescript-eslint/parser": "^8.58.0",
5152
"@vitejs/plugin-react": "^6.0.1",
52-
"eslint": "^10.0.3",
53+
"eslint": "^10.2.0",
5354
"eslint-plugin-react-hooks": "^7.0.1",
5455
"globals": "^17.4.0",
5556
"husky": "^9.1.7",
5657
"rollup-plugin-visualizer": "^7.0.1",
57-
"tailwindcss": "^4",
58+
"tailwindcss": "^4.2.2",
5859
"typescript": "~5.9.3",
59-
"vite": "^8.0.0"
60+
"vite": "^8.0.4"
6061
},
61-
"packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be"
62-
}
62+
"pnpm": {
63+
"peerDependencyRules": {
64+
"allowedVersions": {
65+
"eslint-plugin-react-hooks>eslint": "^10.0.0"
66+
}
67+
}
68+
},
69+
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319"
70+
}

0 commit comments

Comments
 (0)