Skip to content
Merged

V2 #25

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
3af73a0
chore: v2 scaffold — clean old packages, create services/ structure, …
gagan-devv May 16, 2026
65ee2f9
feat(auth): crypto package - RSA verify, HMAC challenge, JWT RS256 is…
gagan-devv May 16, 2026
4cff050
feat(auth): config, domain, db connections, migrations, laptop+sessio…
gagan-devv May 16, 2026
551b8e4
feat(auth): http handlers, laptop-auth middleware, main.go, Dockerfile
gagan-devv May 16, 2026
2491ef6
feat(relay): websocket hub — JWT auth, session routing, revocation wa…
gagan-devv May 17, 2026
e513f4b
feat(extension): auth, session, diff engine, WsClient, pairing webvie…
gagan-devv May 17, 2026
0092a97
feat(mobile): Expo app — QR pairing, WS client, patch engine, diff vi…
gagan-devv May 19, 2026
1a46722
feat(protocol): v2 message types, type guards, buildEnvelope, parseEn…
gagan-devv May 19, 2026
b00b235
refactor: use @codelink/protocol types and guards in extension and mo…
gagan-devv May 19, 2026
c32cdea
chore: fix minor issues
gagan-devv May 19, 2026
f9b8fe3
fix(protocol): set outDir in tsconfig, rebuild dist
gagan-devv May 20, 2026
bc8d6ef
fix: add .eslintignore, make workspace build order explicit
gagan-devv May 20, 2026
ccf7e4d
chore: add launch.json and tasks.json for extension development host
gagan-devv May 20, 2026
1939568
chore: update README.md
gagan-devv May 20, 2026
28f118c
chore: align documentation, CI pipelines, and Git hooks with V2 struc…
gagan-devv May 23, 2026
174863f
test(extension): add comprehensive unit tests for AntigravityAdapter …
gagan-devv May 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules/
dist/
coverage/
packages/mobile/.expo/
infra/
*.js
49 changes: 21 additions & 28 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint and Type Check
name: CI Pipeline

on:
push:
Expand All @@ -9,8 +9,8 @@ on:
- main

jobs:
lint:
name: Lint and Type Check
validate:
name: Lint, Type Check, and Test
runs-on: ubuntu-latest

steps:
Expand All @@ -23,36 +23,29 @@ jobs:
node-version: '20.x'
cache: 'npm'

- name: Install dependencies
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: true

- name: Install Node dependencies
run: npm ci --legacy-peer-deps

- name: Build protocol package
run: |
cd packages/protocol
npm run build
- name: Build TypeScript packages
run: npm run build

- name: Run ESLint
run: npm run lint
continue-on-error: false

- name: Check code formatting
run: npm run format:check
continue-on-error: false

- name: TypeScript check - Protocol
run: |
cd packages/protocol
npx tsc --noEmit
continue-on-error: false

- name: TypeScript check - Relay Server
run: |
cd packages/relay-server
npx tsc --noEmit
continue-on-error: false

- name: TypeScript check - VSCode Extension
run: |
cd packages/vscode-extension
npx tsc --noEmit
continue-on-error: false

- name: TypeScript type checking
run: npm run typecheck

- name: Run Vitest unit tests
run: npm run test

- name: Run Go unit tests
run: npm run test:go
47 changes: 23 additions & 24 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,38 +1,37 @@
node_modules/
dist/
*.log
.DS_Store
.vscode-test/
*.vsix
.vscode
.kiro

# Test directory (centralized testing infrastructure)
tests/
coverage/

docs/
MANUAL_TESTING_EDITOR_ADAPTERS.md
QUICK_START_TESTING.md
# DESIGN FILES
design/
# Build artifacts
coverage/
logs/
*.tsbuildinfo

# ANDORID TESTING MANUALS
ANDROID_TESTING_GUIDE.md
ANDROID_TESTING_NOTES.md
ANDROID_TESTING_VERIFICATION.md
QUICK_START_ANDROID_TESTING.md
README_ANDROID_TESTING.md
# Go binaries
services/auth/bin/
services/relay/bin/

# IOS TESING MANUAL
IOS_TESTING_GUIDE.md
IOS_TESTING_VERIFICATION.md
QUICK_START_IOS_TESTING.md
PROJECT_ANALYSIS.md
TESTING_SPEC_SUMMARY.md
CI_CD_SETUP.md
COVERAGE_VERIFICATION.md
STITCH_UI_DESIGN_PROMPT.md
QUICK_REFERENCE.md
CI_CD_IMPROVEMENTS_SUMMARY.md
# Env files
infra/.env
*.pem

# DESIGN FILES
design/
# Expo / React Native
packages/mobile/.expo/
packages/mobile/node_modules/
packages/mobile/dist/

# Go workspace sum
go.work.sum

# RSA
dev-private.pem
dev-public.pem
13 changes: 13 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Run CodeLink Extension",
"type": "extensionHost",
"request": "launch",
"args": ["--extensionDevelopmentPath=${workspaceFolder}/packages/vscode-extension"],
"outFiles": ["${workspaceFolder}/packages/vscode-extension/dist/**/*.js"],
"preLaunchTask": "build-extension"
}
]
}
21 changes: 21 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build-extension",
"type": "shell",
"command": "npm run build",
"options": {
"cwd": "${workspaceFolder}/packages/vscode-extension"
},
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "silent"
},
"problemMatcher": "$tsc"
}
]
}
Loading
Loading