Skip to content

Commit aa4a659

Browse files
committed
feat: Localcode v4.0.0 - full-featured AI coding agent
- 139 specialized agents with auto-dispatch and multi-agent orchestration - NEXUS pipeline with 7 phases, quality gates, and Dev/QA loops - VS Code extension with chat, inline edits, completions, and agent views - 10 built-in tools (read/write/patch/delete/move files, shell, search, find, list, git) - Professional command picker with category grouping and detail panes - Extensive settings system with 30+ configurable options - GitHub Actions CI/CD, PR templates, issue templates - CODE_OF_CONDUCT, CONTRIBUTING, SECURITY, CHANGELOG, .editorconfig - Rebranded from Claude Code to Localcode (Anthropic -> TheAlxLabs) - Removed all opencode and secret-stuff remnants
1 parent bf57274 commit aa4a659

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+7768
-384
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[Makefile]
15+
indent_style = tab
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
name: Bug Report
2+
description: File a bug report
3+
title: "bug: "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill out this bug report!
10+
- type: input
11+
id: version
12+
attributes:
13+
label: Localcode Version
14+
description: What version of Localcode are you running?
15+
placeholder: v4.0.0
16+
validations:
17+
required: true
18+
- type: dropdown
19+
id: provider
20+
attributes:
21+
label: Provider
22+
description: Which provider are you using?
23+
options:
24+
- Ollama
25+
- OpenAI
26+
- Anthropic
27+
- Groq
28+
- OpenRouter
29+
- Custom
30+
validations:
31+
required: true
32+
- type: input
33+
id: model
34+
attributes:
35+
label: Model
36+
description: Which model are you using?
37+
placeholder: qwen2.5-coder:7b
38+
- type: input
39+
id: os
40+
attributes:
41+
label: Operating System
42+
description: What OS are you using?
43+
placeholder: macOS 14.0 / Ubuntu 22.04 / Windows 11
44+
validations:
45+
required: true
46+
- type: textarea
47+
id: what-happened
48+
attributes:
49+
label: What happened?
50+
description: Also tell us what you expected to happen.
51+
placeholder: Describe the bug...
52+
validations:
53+
required: true
54+
- type: textarea
55+
id: reproduce
56+
attributes:
57+
label: Steps to Reproduce
58+
description: How can we reproduce this issue?
59+
placeholder: |
60+
1. Run `localcode`
61+
2. Type `/model xyz`
62+
3. See error
63+
validations:
64+
required: true
65+
- type: textarea
66+
id: logs
67+
attributes:
68+
label: Relevant Log Output
69+
description: Copy and paste any relevant log output.
70+
render: shell

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Discord Community
4+
url: https://discord.gg/localcode
5+
about: Ask questions and discuss with the community
6+
- name: Documentation
7+
url: https://github.com/thealxlabs/localcode#readme
8+
about: Check the README for setup and usage guides
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Feature Request
2+
description: Suggest an idea for Localcode
3+
title: "feat: "
4+
labels: ["enhancement"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for suggesting a feature! Please describe your idea.
10+
- type: textarea
11+
id: problem
12+
attributes:
13+
label: Problem Statement
14+
description: Is your feature request related to a problem?
15+
placeholder: I'm always frustrated when...
16+
- type: textarea
17+
id: solution
18+
attributes:
19+
label: Proposed Solution
20+
description: Describe the solution you'd like.
21+
placeholder: It would be great if Localcode could...
22+
validations:
23+
required: true
24+
- type: textarea
25+
id: alternatives
26+
attributes:
27+
label: Alternatives Considered
28+
description: Describe any alternative solutions you've considered.
29+
- type: dropdown
30+
id: scope
31+
attributes:
32+
label: Scope
33+
options:
34+
- Core CLI
35+
- VS Code Extension
36+
- Agent System
37+
- Settings/Config
38+
- Documentation
39+
- Other
40+
validations:
41+
required: true
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Security Report
2+
description: Report a security vulnerability
3+
title: "security: "
4+
labels: ["security"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
**Please do NOT report security vulnerabilities through public GitHub issues.**
10+
Send reports to security@thealxlabs.com for faster response.
11+
- type: textarea
12+
id: description
13+
attributes:
14+
label: Vulnerability Description
15+
description: Describe the vulnerability and its impact.
16+
validations:
17+
required: true
18+
- type: textarea
19+
id: reproduction
20+
attributes:
21+
label: Reproduction Steps
22+
description: How can this vulnerability be reproduced?
23+
- type: input
24+
id: version
25+
attributes:
26+
label: Affected Version
27+
placeholder: v4.0.0

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
name: 'Pull Request'
2+
description: 'Describe your changes'
3+
title: 'type: description'
4+
labels: []
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for contributing to Localcode! Please fill out the sections below.
10+
11+
- type: dropdown
12+
id: type
13+
attributes:
14+
label: Change Type
15+
description: What kind of change is this?
16+
options:
17+
- feat (New feature)
18+
- fix (Bug fix)
19+
- docs (Documentation)
20+
- style (Formatting, no code change)
21+
- refactor (Code restructuring)
22+
- perf (Performance improvement)
23+
- test (Adding/updating tests)
24+
- chore (Build process, deps)
25+
- ci (CI/CD changes)
26+
validations:
27+
required: true
28+
29+
- type: textarea
30+
id: description
31+
attributes:
32+
label: Description
33+
description: What does this PR do? Why is it needed?
34+
placeholder: This PR adds...
35+
validations:
36+
required: true
37+
38+
- type: textarea
39+
id: testing
40+
attributes:
41+
label: Testing
42+
description: How did you test these changes?
43+
placeholder: |
44+
- [ ] npm run build succeeds
45+
- [ ] Manual testing with Ollama
46+
- [ ] Manual testing with OpenAI
47+
- [ ] VS Code extension tested
48+
validations:
49+
required: true
50+
51+
- type: textarea
52+
id: screenshots
53+
attributes:
54+
label: Screenshots
55+
description: If applicable, add screenshots or GIFs showing the changes.
56+
57+
- type: checkboxes
58+
id: checklist
59+
attributes:
60+
label: Checklist
61+
options:
62+
- label: Code compiles without errors (npm run build)
63+
required: true
64+
- label: Changes follow the project code style
65+
required: true
66+
- label: Self-review completed
67+
required: true
68+
- label: Documentation updated if needed
69+
required: false
70+
- label: No breaking changes (or documented below)
71+
required: false
72+
73+
- type: textarea
74+
id: breaking
75+
attributes:
76+
label: Breaking Changes
77+
description: If this introduces breaking changes, describe them here.
78+
placeholder: None

.github/workflows/ci.yml

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main, develop]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
build:
11+
name: Build & Test
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
node-version: [18, 20, 22]
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Setup Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
cache: 'npm'
25+
26+
- name: Install dependencies
27+
run: npm ci
28+
29+
- name: Type check
30+
run: npx tsc --noEmit
31+
32+
- name: Build
33+
run: npm run build
34+
35+
- name: Verify dist output
36+
run: |
37+
FILE_COUNT=$(find dist -name "*.js" | wc -l)
38+
echo "Compiled $FILE_COUNT files"
39+
if [ "$FILE_COUNT" -lt 100 ]; then
40+
echo "ERROR: Expected at least 100 compiled files"
41+
exit 1
42+
fi
43+
44+
extension:
45+
name: VS Code Extension
46+
runs-on: ubuntu-latest
47+
48+
steps:
49+
- uses: actions/checkout@v4
50+
51+
- name: Setup Node.js
52+
uses: actions/setup-node@v4
53+
with:
54+
node-version: 20
55+
cache: 'npm'
56+
57+
- name: Install extension dependencies
58+
run: cd extensions/vscode && npm ci
59+
60+
- name: Compile extension
61+
run: cd extensions/vscode && npm run compile
62+
63+
- name: Package extension
64+
run: cd extensions/vscode && npm run package
65+
66+
- name: Upload .vsix artifact
67+
uses: actions/upload-artifact@v4
68+
with:
69+
name: localcode-vscode
70+
path: extensions/vscode/*.vsix
71+
72+
lint:
73+
name: Lint
74+
runs-on: ubuntu-latest
75+
76+
steps:
77+
- uses: actions/checkout@v4
78+
79+
- name: Setup Node.js
80+
uses: actions/setup-node@v4
81+
with:
82+
node-version: 20
83+
cache: 'npm'
84+
85+
- name: Install dependencies
86+
run: npm ci
87+
88+
- name: Check formatting
89+
run: npx prettier --check "src/**/*.{ts,tsx}" "extensions/vscode/src/**/*.ts" 2>/dev/null || true

0 commit comments

Comments
 (0)