docs: update AGENTS.md with api-helpers.ts and corrected test counts
- Added api-helpers.ts to web lib repo layout - Backend tests: 18 → 19 (11 files) after saved-views route test
This commit is contained in:
parent
b651210edc
commit
724a6659df
@ -68,6 +68,7 @@ learning_ai_notes/
|
||||
│ │ │ └── AgentTimeline.tsx
|
||||
│ │ └── lib/ # Pure TS clients + config
|
||||
│ │ ├── product-config.ts # Product identity + API URLs
|
||||
│ │ ├── api-helpers.ts # Shared getAccessToken() + createNotesApiClient()
|
||||
│ │ ├── auth.ts # @bytelyst/react-auth provider
|
||||
│ │ ├── notes-client.ts # Notes API client (backend)
|
||||
│ │ ├── review-client.ts # Approval queue, timeline, batch review
|
||||
@ -135,7 +136,7 @@ learning_ai_notes/
|
||||
| **Platform** | platform-service (port 4003) for auth, flags, telemetry, billing, blob |
|
||||
| **Extraction** | extraction-service (port 4005) for AI-powered task extraction |
|
||||
| **Database** | Azure Cosmos DB via `@bytelyst/datastore` — `productId: "notelett"` |
|
||||
| **Tests** | Vitest — 18 backend tests (10 files), 6 web tests (5 files) |
|
||||
| **Tests** | Vitest — 19 backend tests (11 files), 6 web tests (5 files) |
|
||||
|
||||
## 4. Coding Conventions
|
||||
|
||||
@ -194,7 +195,7 @@ learning_ai_notes/
|
||||
# ── Backend ────────────────────────────────────────
|
||||
cd backend && npm run dev # Dev server (port 4016)
|
||||
cd backend && npm run typecheck # tsc --noEmit
|
||||
cd backend && npm test # 18 Vitest tests
|
||||
cd backend && npm test # 19 Vitest tests
|
||||
|
||||
# ── Web ────────────────────────────────────────────
|
||||
cd web && npm run dev -- --webpack # Dev server (port 3000)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user