Skip to content

Commit 3d6c72f

Browse files
authored
Merge pull request #3 from jhd3197/dev
Identity/RBAC, public API + MCP, workflow v2 & fleet policy
2 parents 9b872d5 + 2e04cc8 commit 3d6c72f

313 files changed

Lines changed: 46564 additions & 2333 deletions

File tree

Some content is hidden

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

‎.env.example‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# DeviceKit Environment Configuration
22

33
# API
4-
API_PORT=5050
4+
API_PORT=7317
55
API_HOST=0.0.0.0
66

77
# AWS
@@ -19,7 +19,7 @@ DYNAMODB_ENDPOINT=http://localhost:8000
1919
# DEVICEKIT_DATABASE_URL=sqlite:///devicekit.db
2020

2121
# CORS
22-
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
22+
CORS_ORIGINS=http://localhost:7318,http://localhost:3000
2323

2424
# Devices (comma-separated serial numbers)
2525
DEVICE_IDS=
@@ -34,3 +34,8 @@ OPENAI_API_KEY=sk-...
3434
# GROQ_API_KEY=gsk_...
3535
# GOOGLE_API_KEY=AI...
3636
# OLLAMA_HOST=http://localhost:11434
37+
38+
# Prompture Hub (optional AI backend — ai.backend=hub in Settings → AI).
39+
# HUB_ADMIN_TOKEN lets DeviceKit mint per-extension scoped hub keys (model whitelist +
40+
# daily spend cap). Must match the token the hub itself runs with. Env-only on purpose.
41+
# HUB_ADMIN_TOKEN=change-me

‎.github/workflows/device-tests.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
env:
1212
PYTHON_VERSION: "3.11"
13-
DEVICEKIT_URL: ${{ secrets.DEVICEKIT_URL || 'http://127.0.0.1:5050' }}
13+
DEVICEKIT_URL: ${{ secrets.DEVICEKIT_URL || 'http://127.0.0.1:7317' }}
1414
DEVICEKIT_API_KEY: ${{ secrets.DEVICEKIT_API_KEY }}
1515

1616
jobs:
@@ -47,7 +47,7 @@ jobs:
4747
python app.py &
4848
echo "Waiting for backend to start..."
4949
for i in $(seq 1 30); do
50-
if curl -sf http://127.0.0.1:5050/health > /dev/null 2>&1; then
50+
if curl -sf http://127.0.0.1:7317/health > /dev/null 2>&1; then
5151
echo "Backend is ready"
5252
break
5353
fi

‎.gitignore‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ instance/
7272
backend/devicekit.db
7373
backend/recordings/
7474
backend/output/debug_bundles/
75+
# OTA (plan 25): signed APK releases + the Ed25519 private signing key — never commit these
76+
backend/output/ota/
77+
# Backups (plan 25): tarballs contain full DB snapshots — never commit these
78+
backend/output/backups/
7579
backend/.apk_cache/
7680

7781
# Installed extensions are extracted here at runtime (tracked: only the package marker)
@@ -236,3 +240,8 @@ docs/plans/prompt.md
236240

237241
# Generated PR descriptions (create-pr skill output — local scratch)
238242
.pr/
243+
image.png
244+
*.png
245+
# …but the README/demo screenshots are committed (captured via `npm run shots`).
246+
!docs/screenshots/*.png
247+
!docs/assets/*.png

0 commit comments

Comments
 (0)