feat: integrate new AI tools and enhance API functionality

- Added '@nuxtjs/mdc' module to nuxt.config.ts for improved UI components.
- Configured MDC settings to disable anchor links for headings.
- Updated API proxy settings to include '/api/uses' and a general '/api/' endpoint.
- Introduced new dependencies for AI SDKs and tools in package.json.
- Created a new chat API endpoint to handle AI interactions with various tools.
- Implemented utility functions for activity tracking, resource reading, resume retrieval, statistics, status monitoring, and categorized tool usage.
- Updated social links in types/index.ts to redirect through a custom domain.
- Updated worker configuration to include AI binding for Cloudflare.
This commit is contained in:
2025-12-19 17:57:43 +01:00
parent 929899722b
commit 6e28fdd17a
16 changed files with 717 additions and 328 deletions

View File

@@ -2,6 +2,7 @@ export default defineNuxtConfig({
modules: [
'@nuxt/ui',
'@nuxtjs/mdc',
'@nuxt/content',
'@nuxthub/core',
'@nuxt/eslint',
@@ -33,6 +34,12 @@ export default defineNuxtConfig({
fallback: 'light'
},
mdc: {
headings: {
anchorLinks: false
}
},
ui: {
theme: {
colors: [
@@ -72,6 +79,12 @@ export default defineNuxtConfig({
},
'/api/stats': {
proxy: `${process.env.NUXT_API_URL}/api/stats`
},
'/api/uses': {
proxy: `${process.env.NUXT_API_URL}/api/uses`
},
'/api/': {
proxy: `${process.env.NUXT_API_URL}/api/`
}
},