akpm-knowledge-base-chat 2.0.71 → 2.0.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CDN/akb-chat.js +8936 -7560
  2. package/README.md +54 -14
  3. package/package.json +5 -1
package/README.md CHANGED
@@ -1,20 +1,60 @@
1
1
  # AKS Knowledge Base Chat
2
- Questa repo è un Web Component di una chat che interagisce con la Knowledge Base
3
2
 
4
- ## Linguaggi Utilizzati
5
- - Typescript
6
- - Svelte 5 (Framework)
3
+ Web component per la chat AI integrata in Aksilia Suite. Permette agli utenti di interagire con la Knowledge Base, documenti normativi, manuali Suite, GenDoc e trascrizioni riunioni.
7
4
 
8
- ## Procedura di Avvio
9
- - Scaricare la repo
10
- - Eseguire da terminale `npm i`
11
- - Per avviare `npm run dev`
5
+ ## Stack tecnologico
12
6
 
13
- ## Deploy
14
- - Commentare il contenuto del `.env`.
15
- - Per Pubblicare in Latest: `npm run cdn`.
16
- - Per Quality: `npm run cdn:dev`
17
- - Per Produzione: `npm run cdn:stable`
7
+ - **TypeScript**
8
+ - **Svelte 5** (framework)
9
+ - **Vite 5** (build tool)
10
+ - **Paraglide JS** (i18n italiano e inglese)
11
+
12
+ ## Avvio in sviluppo
13
+
14
+ ```bash
15
+ # Requisiti: Node.js 20+
16
+ npm install
17
+ npm run dev
18
+ ```
19
+
20
+ Il server di sviluppo si avvia su `http://localhost:5173`. La pagina di sandbox è `src/routes/+page.svelte`.
21
+
22
+ Per connettersi ai backend locali, usare `env-id="aks_svi"` nel componente (vedi [docs/development.md](docs/development.md)).
23
+
24
+ ## Comandi principali
25
+
26
+ | Comando | Descrizione |
27
+ |---|---|
28
+ | `npm run dev` | Avvia il server di sviluppo |
29
+ | `npm run build` | Compila la libreria in `CDN/` |
30
+ | `npm run check` | Type-check Svelte/TypeScript |
31
+ | `npm run check:watch` | Type-check in modalità watch |
32
+ | `npm run cdn` | Build + bump versione + pubblica su npm (`@latest`) |
33
+ | `npm run cdn:dev` | Aggiunge il tag `dev` alla versione corrente (Quality) |
34
+ | `npm run cdn:stable` | Aggiunge il tag `stable` alla versione corrente (Produzione) |
35
+
36
+ ## Pubblicazione
37
+
38
+ ```bash
39
+ npm run cdn # Pubblica come @latest
40
+ npm run cdn:dev # Promuove a Quality
41
+ npm run cdn:stable # Promuove a Produzione
42
+ ```
43
+
44
+ Vedi [docs/deployment.md](docs/deployment.md) per la procedura completa.
18
45
 
19
46
  ## Dipendenze
20
- - AKS Knowledge Base Back
47
+
48
+ - **AKS Knowledge Base Back** — backend principale (orchestrator, KB, Forge, GenDoc, Transcription)
49
+
50
+ ## Documentazione
51
+
52
+ - [Panoramica](docs/index.md)
53
+ - [Installazione e integrazione](docs/installation.md)
54
+ - [Configurazione](docs/configuration.md)
55
+ - [Architettura](docs/architecture.md)
56
+ - [Sviluppo](docs/development.md)
57
+ - [Testing](docs/testing.md)
58
+ - [Deploy](docs/deployment.md)
59
+ - [Troubleshooting](docs/troubleshooting.md)
60
+ - [Servizi esterni](docs/integration.md)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "akpm-knowledge-base-chat",
3
3
  "private": false,
4
- "version": "2.0.71",
4
+ "version": "2.0.73",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "CDN"
@@ -22,6 +22,7 @@
22
22
  "@sveltejs/kit": "^2.0.0",
23
23
  "@sveltejs/vite-plugin-svelte": "^4.0.0",
24
24
  "@tsconfig/svelte": "^5.0.4",
25
+ "@types/node": "^25.9.1",
25
26
  "svelte": "^5.0.0",
26
27
  "svelte-check": "^4.0.0",
27
28
  "svelte-loading-spinners": "^0.3.6",
@@ -32,5 +33,8 @@
32
33
  "@inlang/paraglide-js": "^2.12.0",
33
34
  "@sveltejs/adapter-static": "^3.0.8",
34
35
  "marked": "^15.0.7"
36
+ },
37
+ "engines": {
38
+ "node": ">=20"
35
39
  }
36
40
  }