pour application android simpl-liste
- TypeScript 78.5%
- JavaScript 19.3%
- Python 2%
- Dockerfile 0.1%
- CSS 0.1%
The page where a user of the pilot creates, limits and revokes agent tokens, finds how to connect an assistant, and sees what each token wrote. - app/(app)/assistants/page.tsx: server component; no session redirects to /auth, an account outside the pilot gets notFound() before anything is read; it reads the tokens and the first 50 lines of the journal at one instant and sends plain data to the client components. - components/Assistants*.tsx: five blocks (warning, tokens and creation form, the token just created, connection help, journal). The value of a token lives in the state of AssistantsPanel only. - GET /api/agent-actions: requireAssistantsSession(), the `read` limit, a validated `?before=` cursor (400 when it is not one), 50 lines per page. - lib/assistants.ts: label keys, connection templates, what the browser receives, the journal cursor, and the dates as pure functions of the instant, the locale and the time zone. Type-only imports: it goes to the browser. - Header.tsx: `showAssistants` adds the menu entry, which (app)/layout.tsx sets from mcpAllowed(). - i18n: the 65 texts of the issue under `assistants`, generated from its two tables; parity.test.ts compares fr.json and en.json. Resolves #205 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| .vscode | ||
| app | ||
| assets | ||
| patches | ||
| scripts | ||
| src | ||
| tests | ||
| web | ||
| .gitignore | ||
| app.json | ||
| babel.config.js | ||
| CLAUDE.md | ||
| DECISIONS.md | ||
| drizzle.config.ts | ||
| eas.json | ||
| index.js | ||
| masterplan.md | ||
| metro.config.js | ||
| nativewind-env.d.ts | ||
| package-lock.json | ||
| package.json | ||
| REVIEW.md | ||
| SECURITY.md | ||
| spec-decisions-mcp-agents.md | ||
| spec-decisions-sync-suites.md | ||
| spec-plan-mcp-agents.md | ||
| spec-plan-sync-delai-comptes-etiquettes.md | ||
| spec-plan-sync-suites.md | ||
| spec-plan-sync-ws-tests-sonde.md | ||
| spec-simpl-liste-web.md | ||
| sql-transformer.js | ||
| STATE.md | ||
| tailwind.config.js | ||
| tsconfig.json | ||