From c52460bac02d248c1476a1ddae03f855eda2047f Mon Sep 17 00:00:00 2001 From: Fabien Masson Date: Tue, 1 Sep 2026 19:45:29 +0200 Subject: [PATCH] gestion des espaces dans l'url --- backend/lassistanoque.db-wal | Bin 313152 -> 358472 bytes backend/web/src/lib/components/Sidebar.svelte | 10 ++-- .../src/routes/(authenticated)/+page.svelte | 9 ++++ .../web/src/routes/(authenticated)/+page.ts | 6 +++ .../{ => [space]}/(chat)/+page.svelte | 0 .../{ => [space]}/(chat)/+page.ts | 0 .../{ => [space]}/history/+page.svelte | 0 .../{ => [space]}/history/+page.ts | 0 .../{ => [space]}/kb/+page.svelte | 0 .../(authenticated)/{ => [space]}/kb/+page.ts | 0 .../{ => [space]}/settings/+page.svelte | 47 ++++++++++-------- .../{ => [space]}/settings/+page.ts | 0 .../settings/agents/+page.svelte | 0 .../{ => [space]}/settings/agents/+page.ts | 0 .../settings/channels/+page.svelte | 0 .../{ => [space]}/settings/channels/+page.ts | 0 .../{ => [space]}/settings/kb/+page.svelte | 0 .../{ => [space]}/settings/kb/+page.ts | 0 .../settings/memory/+page.svelte | 0 .../{ => [space]}/settings/memory/+page.ts | 0 .../settings/models/+page.svelte | 0 .../{ => [space]}/settings/models/+page.ts | 0 .../settings/models/ProviderForm.svelte | 0 .../settings/skills/+page.svelte | 0 .../{ => [space]}/settings/skills/+page.ts | 0 .../{ => [space]}/settings/tools/+page.svelte | 0 .../{ => [space]}/settings/tools/+page.ts | 0 .../{ => [space]}/settings/users/+page.svelte | 0 .../{ => [space]}/settings/users/+page.ts | 0 .../{ => [space]}/tasks/+page.svelte | 0 .../{ => [space]}/tasks/+page.ts | 0 .../(authenticated)/profile/+page.svelte | 2 +- go.mod | 15 ++++++ go.sum | 47 +++++++++++++++++- 34 files changed, 108 insertions(+), 28 deletions(-) create mode 100644 backend/web/src/routes/(authenticated)/+page.svelte create mode 100644 backend/web/src/routes/(authenticated)/+page.ts rename backend/web/src/routes/(authenticated)/{ => [space]}/(chat)/+page.svelte (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/(chat)/+page.ts (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/history/+page.svelte (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/history/+page.ts (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/kb/+page.svelte (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/kb/+page.ts (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/+page.svelte (77%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/+page.ts (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/agents/+page.svelte (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/agents/+page.ts (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/channels/+page.svelte (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/channels/+page.ts (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/kb/+page.svelte (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/kb/+page.ts (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/memory/+page.svelte (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/memory/+page.ts (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/models/+page.svelte (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/models/+page.ts (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/models/ProviderForm.svelte (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/skills/+page.svelte (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/skills/+page.ts (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/tools/+page.svelte (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/tools/+page.ts (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/users/+page.svelte (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/settings/users/+page.ts (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/tasks/+page.svelte (100%) rename backend/web/src/routes/(authenticated)/{ => [space]}/tasks/+page.ts (100%) diff --git a/backend/lassistanoque.db-wal b/backend/lassistanoque.db-wal index a8b7f8821d9aa7553b2032d58a7048c21a92c2f0..ba3d0a9858bfc9f23aa3765e72709cbf01801886 100644 GIT binary patch delta 1286 zcmc(eQD_r)9LMi2hZt*esZwemI?*c9m5X=(yUYLn@gzk<2YV1ia4-g&rY;p!9J4A&U$)mV#tN!N6t}mj(IxpMy3YC;WdGu8q-l{clYU1!kVV8O{BY zaKFT({pqfsb&?EhYMO~3b2%I8UA?__Uzz%9M@F%-nqjY$sg~|{d`ps71iUB<9Pg|8 zj%7tPC8teAHgYGG-t2&`CqlUUZd@C-gTLHby#UJpR!%>n9G(MP$bZ|My+8j`eR%DW zVkk_Wp|HVM?&;4c%)YS=v+t5aXGK*%nYV%y8mk&=bZW?|$zIDT`q+?Y1jZC|JYUef zhE~`%1@r^pMG^;PBtf`N9}ZX{b~GG}j~1~ykFsUDz{w4<`YcittIiR!Vjhnh^fBz+Y)c*Vsz0;08ceF;{ z9=ibjJoNem4v8WFsET_$I8yA31|f={RzE6nsM>|J8(n7H!GE3@q<^IO&o{vfIvx>*2U5wrJ znBHx--lXp&HklTYmzNL{c@C}LNb-b{V$WK`274;kmCWm%7SIQ<^p>!#{&D6`%dh+X ztA_0b;eLT3{)WTWusLjp*Tc4_8n*BxMyMU_RxCYVD|jOC^RicjKFA9azdq@3$v7^6 iOtM3c1PA3(Je=m*BiPQC;C06B`c?Dk4`1Wpd0qp>3X3`b delta 17 YcmX@{LG(bMa6=1Y3sVd878Zx&07h2_00000 diff --git a/backend/web/src/lib/components/Sidebar.svelte b/backend/web/src/lib/components/Sidebar.svelte index d209f38..883d7eb 100644 --- a/backend/web/src/lib/components/Sidebar.svelte +++ b/backend/web/src/lib/components/Sidebar.svelte @@ -38,11 +38,11 @@ {/if}
diff --git a/backend/web/src/routes/(authenticated)/+page.svelte b/backend/web/src/routes/(authenticated)/+page.svelte new file mode 100644 index 0000000..6b419d2 --- /dev/null +++ b/backend/web/src/routes/(authenticated)/+page.svelte @@ -0,0 +1,9 @@ + diff --git a/backend/web/src/routes/(authenticated)/+page.ts b/backend/web/src/routes/(authenticated)/+page.ts new file mode 100644 index 0000000..c14e9c2 --- /dev/null +++ b/backend/web/src/routes/(authenticated)/+page.ts @@ -0,0 +1,6 @@ +import type { PageLoad } from './$types'; + +export const load: PageLoad = async ({ parent }) => { + const { me } = await parent(); + return { me }; +}; diff --git a/backend/web/src/routes/(authenticated)/(chat)/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/(chat)/+page.svelte similarity index 100% rename from backend/web/src/routes/(authenticated)/(chat)/+page.svelte rename to backend/web/src/routes/(authenticated)/[space]/(chat)/+page.svelte diff --git a/backend/web/src/routes/(authenticated)/(chat)/+page.ts b/backend/web/src/routes/(authenticated)/[space]/(chat)/+page.ts similarity index 100% rename from backend/web/src/routes/(authenticated)/(chat)/+page.ts rename to backend/web/src/routes/(authenticated)/[space]/(chat)/+page.ts diff --git a/backend/web/src/routes/(authenticated)/history/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/history/+page.svelte similarity index 100% rename from backend/web/src/routes/(authenticated)/history/+page.svelte rename to backend/web/src/routes/(authenticated)/[space]/history/+page.svelte diff --git a/backend/web/src/routes/(authenticated)/history/+page.ts b/backend/web/src/routes/(authenticated)/[space]/history/+page.ts similarity index 100% rename from backend/web/src/routes/(authenticated)/history/+page.ts rename to backend/web/src/routes/(authenticated)/[space]/history/+page.ts diff --git a/backend/web/src/routes/(authenticated)/kb/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/kb/+page.svelte similarity index 100% rename from backend/web/src/routes/(authenticated)/kb/+page.svelte rename to backend/web/src/routes/(authenticated)/[space]/kb/+page.svelte diff --git a/backend/web/src/routes/(authenticated)/kb/+page.ts b/backend/web/src/routes/(authenticated)/[space]/kb/+page.ts similarity index 100% rename from backend/web/src/routes/(authenticated)/kb/+page.ts rename to backend/web/src/routes/(authenticated)/[space]/kb/+page.ts diff --git a/backend/web/src/routes/(authenticated)/settings/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/+page.svelte similarity index 77% rename from backend/web/src/routes/(authenticated)/settings/+page.svelte rename to backend/web/src/routes/(authenticated)/[space]/settings/+page.svelte index c3d7eb0..7f81800 100644 --- a/backend/web/src/routes/(authenticated)/settings/+page.svelte +++ b/backend/web/src/routes/(authenticated)/[space]/settings/+page.svelte @@ -1,15 +1,24 @@ + +
+ href="settings/models"> Modèles - mistral-medium-latest + + + + Agents Outils 12 @@ -17,41 +26,39 @@ - Skills + href="settings/skills"> + Compétences 3 - - Canaux de communication - 12 - + href="settings/kb"> Bases de connaissance - - Agents - + + href="settings/memory"> Mémoire standard + + Canaux de communication + 12 + + + + href="settings/users"> Utilisateurs 1 diff --git a/backend/web/src/routes/(authenticated)/settings/+page.ts b/backend/web/src/routes/(authenticated)/[space]/settings/+page.ts similarity index 100% rename from backend/web/src/routes/(authenticated)/settings/+page.ts rename to backend/web/src/routes/(authenticated)/[space]/settings/+page.ts diff --git a/backend/web/src/routes/(authenticated)/settings/agents/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/agents/+page.svelte similarity index 100% rename from backend/web/src/routes/(authenticated)/settings/agents/+page.svelte rename to backend/web/src/routes/(authenticated)/[space]/settings/agents/+page.svelte diff --git a/backend/web/src/routes/(authenticated)/settings/agents/+page.ts b/backend/web/src/routes/(authenticated)/[space]/settings/agents/+page.ts similarity index 100% rename from backend/web/src/routes/(authenticated)/settings/agents/+page.ts rename to backend/web/src/routes/(authenticated)/[space]/settings/agents/+page.ts diff --git a/backend/web/src/routes/(authenticated)/settings/channels/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/channels/+page.svelte similarity index 100% rename from backend/web/src/routes/(authenticated)/settings/channels/+page.svelte rename to backend/web/src/routes/(authenticated)/[space]/settings/channels/+page.svelte diff --git a/backend/web/src/routes/(authenticated)/settings/channels/+page.ts b/backend/web/src/routes/(authenticated)/[space]/settings/channels/+page.ts similarity index 100% rename from backend/web/src/routes/(authenticated)/settings/channels/+page.ts rename to backend/web/src/routes/(authenticated)/[space]/settings/channels/+page.ts diff --git a/backend/web/src/routes/(authenticated)/settings/kb/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/kb/+page.svelte similarity index 100% rename from backend/web/src/routes/(authenticated)/settings/kb/+page.svelte rename to backend/web/src/routes/(authenticated)/[space]/settings/kb/+page.svelte diff --git a/backend/web/src/routes/(authenticated)/settings/kb/+page.ts b/backend/web/src/routes/(authenticated)/[space]/settings/kb/+page.ts similarity index 100% rename from backend/web/src/routes/(authenticated)/settings/kb/+page.ts rename to backend/web/src/routes/(authenticated)/[space]/settings/kb/+page.ts diff --git a/backend/web/src/routes/(authenticated)/settings/memory/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/memory/+page.svelte similarity index 100% rename from backend/web/src/routes/(authenticated)/settings/memory/+page.svelte rename to backend/web/src/routes/(authenticated)/[space]/settings/memory/+page.svelte diff --git a/backend/web/src/routes/(authenticated)/settings/memory/+page.ts b/backend/web/src/routes/(authenticated)/[space]/settings/memory/+page.ts similarity index 100% rename from backend/web/src/routes/(authenticated)/settings/memory/+page.ts rename to backend/web/src/routes/(authenticated)/[space]/settings/memory/+page.ts diff --git a/backend/web/src/routes/(authenticated)/settings/models/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/models/+page.svelte similarity index 100% rename from backend/web/src/routes/(authenticated)/settings/models/+page.svelte rename to backend/web/src/routes/(authenticated)/[space]/settings/models/+page.svelte diff --git a/backend/web/src/routes/(authenticated)/settings/models/+page.ts b/backend/web/src/routes/(authenticated)/[space]/settings/models/+page.ts similarity index 100% rename from backend/web/src/routes/(authenticated)/settings/models/+page.ts rename to backend/web/src/routes/(authenticated)/[space]/settings/models/+page.ts diff --git a/backend/web/src/routes/(authenticated)/settings/models/ProviderForm.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/models/ProviderForm.svelte similarity index 100% rename from backend/web/src/routes/(authenticated)/settings/models/ProviderForm.svelte rename to backend/web/src/routes/(authenticated)/[space]/settings/models/ProviderForm.svelte diff --git a/backend/web/src/routes/(authenticated)/settings/skills/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/skills/+page.svelte similarity index 100% rename from backend/web/src/routes/(authenticated)/settings/skills/+page.svelte rename to backend/web/src/routes/(authenticated)/[space]/settings/skills/+page.svelte diff --git a/backend/web/src/routes/(authenticated)/settings/skills/+page.ts b/backend/web/src/routes/(authenticated)/[space]/settings/skills/+page.ts similarity index 100% rename from backend/web/src/routes/(authenticated)/settings/skills/+page.ts rename to backend/web/src/routes/(authenticated)/[space]/settings/skills/+page.ts diff --git a/backend/web/src/routes/(authenticated)/settings/tools/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/tools/+page.svelte similarity index 100% rename from backend/web/src/routes/(authenticated)/settings/tools/+page.svelte rename to backend/web/src/routes/(authenticated)/[space]/settings/tools/+page.svelte diff --git a/backend/web/src/routes/(authenticated)/settings/tools/+page.ts b/backend/web/src/routes/(authenticated)/[space]/settings/tools/+page.ts similarity index 100% rename from backend/web/src/routes/(authenticated)/settings/tools/+page.ts rename to backend/web/src/routes/(authenticated)/[space]/settings/tools/+page.ts diff --git a/backend/web/src/routes/(authenticated)/settings/users/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/users/+page.svelte similarity index 100% rename from backend/web/src/routes/(authenticated)/settings/users/+page.svelte rename to backend/web/src/routes/(authenticated)/[space]/settings/users/+page.svelte diff --git a/backend/web/src/routes/(authenticated)/settings/users/+page.ts b/backend/web/src/routes/(authenticated)/[space]/settings/users/+page.ts similarity index 100% rename from backend/web/src/routes/(authenticated)/settings/users/+page.ts rename to backend/web/src/routes/(authenticated)/[space]/settings/users/+page.ts diff --git a/backend/web/src/routes/(authenticated)/tasks/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/tasks/+page.svelte similarity index 100% rename from backend/web/src/routes/(authenticated)/tasks/+page.svelte rename to backend/web/src/routes/(authenticated)/[space]/tasks/+page.svelte diff --git a/backend/web/src/routes/(authenticated)/tasks/+page.ts b/backend/web/src/routes/(authenticated)/[space]/tasks/+page.ts similarity index 100% rename from backend/web/src/routes/(authenticated)/tasks/+page.ts rename to backend/web/src/routes/(authenticated)/[space]/tasks/+page.ts diff --git a/backend/web/src/routes/(authenticated)/profile/+page.svelte b/backend/web/src/routes/(authenticated)/profile/+page.svelte index ca0af48..db7b6cb 100644 --- a/backend/web/src/routes/(authenticated)/profile/+page.svelte +++ b/backend/web/src/routes/(authenticated)/profile/+page.svelte @@ -118,7 +118,7 @@
-
diff --git a/go.mod b/go.mod index 62871fa..73a5680 100644 --- a/go.mod +++ b/go.mod @@ -9,6 +9,7 @@ require ( github.com/joho/godotenv v1.5.1 github.com/labstack/echo/v5 v5.3.1 github.com/mattn/go-sqlite3 v1.14.42 + github.com/mozilla-ai/any-llm-go v0.9.0 github.com/sixafter/nanoid v1.64.5 github.com/spf13/cobra v1.10.2 golang.org/x/crypto v0.54.0 @@ -16,12 +17,26 @@ require ( ) require ( + github.com/anthropics/anthropic-sdk-go v1.26.0 // indirect + github.com/bahlo/generic-list-go v0.2.0 // indirect + github.com/buger/jsonparser v1.1.1 // indirect github.com/ebitengine/purego v0.9.1 // indirect + github.com/google/uuid v1.6.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect + github.com/mailru/easyjson v0.7.7 // indirect + github.com/ollama/ollama v0.17.6 // indirect + github.com/openai/openai-go v1.12.0 // indirect github.com/sixafter/aes-ctr-drbg v1.19.2 // indirect github.com/sixafter/prng-chacha v1.16.5 // indirect github.com/spf13/pflag v1.0.9 // indirect + github.com/tidwall/gjson v1.18.0 // indirect + github.com/tidwall/match v1.1.1 // indirect + github.com/tidwall/pretty v1.2.1 // indirect + github.com/tidwall/sjson v1.2.5 // indirect github.com/tursodatabase/turso-go-platform-libs v0.7.2 // indirect + github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect + golang.org/x/sync v0.18.0 // indirect golang.org/x/sys v0.47.0 // indirect golang.org/x/time v0.15.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 95ec3e8..bc230d8 100644 --- a/go.sum +++ b/go.sum @@ -1,10 +1,16 @@ -gitea.trankilou.fr/fabien/lasebuche v0.0.0-20260808210109-480734046bca h1:83fRxFj6Fb/yLIyz6b3JFNINWfalX7Ia+D3WPct/oIw= -gitea.trankilou.fr/fabien/lasebuche v0.0.0-20260808210109-480734046bca/go.mod h1:/Vk2CqBfE7O8jGSQ8H0tB7CI0paO0DAveK2WIgi1FIg= gitea.trankilou.fr/fabien/lasebuche v0.0.0-20260808210632-98bd52d7c29e h1:M73kAt45VlJCVwbyFXrBn9oTZRPcoImlUMm0Qj96Y2U= gitea.trankilou.fr/fabien/lasebuche v0.0.0-20260808210632-98bd52d7c29e/go.mod h1:/Vk2CqBfE7O8jGSQ8H0tB7CI0paO0DAveK2WIgi1FIg= +github.com/anthropics/anthropic-sdk-go v1.26.0 h1:oUTzFaUpAevfuELAP1sjL6CQJ9HHAfT7CoSYSac11PY= +github.com/anthropics/anthropic-sdk-go v1.26.0/go.mod h1:qUKmaW+uuPB64iy1l+4kOSvaLqPXnHTTBKH6RVZ7q5Q= +github.com/bahlo/generic-list-go v0.2.0 h1:5sz/EEAK+ls5wF+NeqDpk5+iNdMDXrh3z3nPnH1Wvgk= +github.com/bahlo/generic-list-go v0.2.0/go.mod h1:2KvAjgMlE5NNynlg/5iLrrCCZ2+5xWbdbCW3pNTGyYg= +github.com/buger/jsonparser v1.1.1 h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs= +github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= +github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/ebitengine/purego v0.9.1 h1:a/k2f2HQU3Pi399RPW1MOaZyhKJL9w/xFpKAg4q1s0A= @@ -13,26 +19,43 @@ github.com/golang-jwt/jwt/v5 v5.3.1 h1:kYf81DTWFe7t+1VvL7eS+jKFVWaUnK9cB1qbwn63Y github.com/golang-jwt/jwt/v5 v5.3.1/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE= github.com/golang-migrate/migrate/v4 v4.19.1 h1:OCyb44lFuQfYXYLx1SCxPZQGU7mcaZ7gH9yH4jSFbBA= github.com/golang-migrate/migrate/v4 v4.19.1/go.mod h1:CTcgfjxhaUtsLipnLoQRWCrjYXycRz/g5+RWDuYgPrE= +github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= +github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0= github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4= +github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= +github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= +github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/labstack/echo/v5 v5.3.1 h1:75maCxkQVGualckLc/5s/ihgpH1a1Dc6AuGWNVNs6bw= github.com/labstack/echo/v5 v5.3.1/go.mod h1:4iEGNQiPPZnkfYpNR/L6fINd3NLiGWUD5+eBotFALas= github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw= github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= +github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mattn/go-isatty v0.0.24 h1:tGZZoVgT/KiqK1c8ocVLeDS8BSWMRd47J3Lbz7vsReI= github.com/mattn/go-isatty v0.0.24/go.mod h1:nMCL3Zebbrt45jsMDgnfIwz6ydEQApk5oEI3HqDio6A= github.com/mattn/go-sqlite3 v1.14.42 h1:MigqEP4ZmHw3aIdIT7T+9TLa90Z6smwcthx+Azv4Cgo= github.com/mattn/go-sqlite3 v1.14.42/go.mod h1:pjEuOr8IwzLJP2MfGeTb0A35jauH+C2kbHKBr7yXKVQ= +github.com/mozilla-ai/any-llm-go v0.9.0 h1:+pRG33idm22qcDTyaE97IqX9EGpWocfOUT6QIocnWjI= +github.com/mozilla-ai/any-llm-go v0.9.0/go.mod h1:L86RiIeF62s1SzHbMr+tKUj9lZ7AgOPJTxpjveCZMnM= github.com/ncruces/go-strftime v1.0.0 h1:HMFp8mLCTPp341M/ZnA4qaf7ZlsbTc+miZjCLOFAw7w= github.com/ncruces/go-strftime v1.0.0/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls= +github.com/ollama/ollama v0.17.6 h1:zxInCopQToAMm+OniZSiHFcry03kiL6i1mmcTvpK4Us= +github.com/ollama/ollama v0.17.6/go.mod h1:tCX4IMV8DHjl3zY0THxuEkpWDZSOchJpzTuLACpMwFw= +github.com/openai/openai-go v1.12.0 h1:NBQCnXzqOTv5wsgNC36PrFEiskGfO5wccfCWDo9S1U0= +github.com/openai/openai-go v1.12.0/go.mod h1:g461MYGXEXBVdV5SaR/5tNzNbSfwTBBefwc+LlDCK0Y= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= +github.com/rogpeppe/go-internal v1.8.0 h1:FCbCCtXNOY3UtUuHUYaghJg4y7Fd14rXifAYUAtL9R8= +github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sixafter/aes-ctr-drbg v1.19.2 h1:+Bd1tS9/y/GapqgyyRjmrce6a5wUAQPusJXlAOh44yM= github.com/sixafter/aes-ctr-drbg v1.19.2/go.mod h1:iOBiPPkiy5Z5cEWm2yCoqEtnkfafxNTokJLL0zOPZeQ= @@ -46,8 +69,20 @@ github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY= github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= +github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= +github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY= +github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= +github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= +github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= +github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= +github.com/tidwall/pretty v1.2.1 h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4= +github.com/tidwall/pretty v1.2.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= +github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY= +github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28= github.com/tursodatabase/turso-go-platform-libs v0.7.2 h1:5ysGFHJC+I39jT1CFq2TukwscyEjMJN8zAPFXTSwvFE= github.com/tursodatabase/turso-go-platform-libs v0.7.2/go.mod h1:bo+Lpv5OYOX1gRV9L5DLKMsYxmDs56SkZwnCOLEFcxU= +github.com/wk8/go-ordered-map/v2 v2.1.8 h1:5h/BUHu93oj4gIdvHHHGsScSTMijfx5PeYkE/fJgbpc= +github.com/wk8/go-ordered-map/v2 v2.1.8/go.mod h1:5nJHM5DyteebpVlHnWMV0rPz6Zp7+xBAnxjb1X5vnTw= go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= golang.org/x/crypto v0.54.0 h1:YLIA59K4fiNzHzjnZt2tUJQjQtUWfWbeHBqKtk3eScw= golang.org/x/crypto v0.54.0/go.mod h1:KWL8ny2AZdGR2cWmzeHrp2azQPGogOv+HeQaVEXC2dk= @@ -55,13 +90,21 @@ golang.org/x/exp v0.0.0-20260112195511-716be5621a96 h1:Z/6YuSHTLOHfNFdb8zVZomZr7 golang.org/x/exp v0.0.0-20260112195511-716be5621a96/go.mod h1:nzimsREAkjBCIEFtHiYkrJyT+2uy9YZJB7H1k68CXZU= golang.org/x/net v0.57.0 h1:K5+3DljvIuDG9/Jv9rvyMywYNFCQ9RSUY6OOTTkT+tE= golang.org/x/net v0.57.0/go.mod h1:KpXc8iv+r3XplLAG/f7Jsf9RPszJzdR0f58q9vGOuEU= +golang.org/x/sync v0.18.0 h1:kr88TuHDroi+UVf+0hZnirlk8o8T+4MrK6mr60WkH/I= +golang.org/x/sync v0.18.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs= golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/term v0.45.0 h1:NwWyBmoJCbfTHpxrWoZ9C6/VxOf7ic219I8xZZFdrf0= +golang.org/x/term v0.45.0/go.mod h1:9aqxs0blBcrm/n0L9QW0aRVD+ktan8ssZromtqJC43w= golang.org/x/text v0.40.0 h1:Ub2Z6/xjgF1WrYQz2nuITOEegKFtiIy+rieRJ5lHZKs= golang.org/x/text v0.40.0/go.mod h1:hpnzDAfGV753zIKo+wk3u1bVKCGPbrnF7+7LBF/UHVY= golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U= golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= +gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= modernc.org/libc v1.74.4 h1:fX1Omw4o2/1C2iRkkIsrQTasJQldLhRmuPreXLoWs9k=