No description
Find a file
Vadym Samoilenko 93288aa981 Fix CRM enrichment: correct API filters, note linking, add tasks & transcripts
- Fix Twenty CRM filter syntax (dot notation for composite fields)
- Fix noteTargets/taskTargets to use targetPerson instead of personId
- Handle duplicate person creation gracefully (find existing on 400)
- Add task creation for new leads (follow-up TODO)
- Save conversation transcript to CRM on escalation and rate limit
- Strengthen system prompt to make Claude call update_lead proactively
- Tell Claude that form-submitted leads are already in CRM

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 21:42:56 +00:00
.github/workflows Fix CI/CD: use printf for SSH key to preserve formatting 2026-03-08 13:51:00 +00:00
assets Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00
chatbot-api Fix CRM enrichment: correct API filters, note linking, add tasks & transcripts 2026-03-08 21:42:56 +00:00
email-api Add markdown rendering in chat widget + opportunities for new leads 2026-03-08 21:30:49 +00:00
public Add founder photo to About page 2026-03-08 15:33:09 +00:00
scripts Add reviews.json to public/ so it persists across deploys 2026-03-08 14:46:10 +00:00
server Add Twenty CRM integration + lead enrichment + pulsating chat bubble 2026-03-08 18:13:26 +00:00
src Add markdown rendering in chat widget + opportunities for new leads 2026-03-08 21:30:49 +00:00
.dockerignore Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00
.gitignore Add AI chatbot: FastAPI backend + React chat widget 2026-03-08 17:14:07 +00:00
CLAUDE.md Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00
docker-compose.yml Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00
Dockerfile Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00
eslint.config.js Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00
index.html Add SEO, structured data, AI indexing, and Google Reviews integration 2026-03-08 14:26:05 +00:00
package-lock.json Add SEO, structured data, AI indexing, and Google Reviews integration 2026-03-08 14:26:05 +00:00
package.json Add SEO, structured data, AI indexing, and Google Reviews integration 2026-03-08 14:26:05 +00:00
README.md Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00
tsconfig.app.json Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00
tsconfig.json Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00
tsconfig.node.json Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00
vite.config.ts Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])