Show local AI activity feedback
Build and publish static assets / publish (push) Successful in 8m21s

This commit is contained in:
Ein Anderssono
2026-10-19 12:36:43 +02:00
parent 2794b8904c
commit 214f3b5cbd
9 changed files with 67 additions and 45 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ const root = process.cwd();
const output = join(root, 'public', 'static', assetPrefix);
const onnxSource = join(root, 'node_modules', 'onnxruntime-web', 'dist');
const piperSource = join(root, 'node_modules', '@diffusionstudio', 'piper-wasm', 'build');
const localAiPrefix = 'wllama-gemma3-v1';
const localAiPrefix = 'wllama-gemma3-v2';
const wllamaUrl = 'https://registry.npmjs.org/@wllama/wllama/-/wllama-3.8.1.tgz';
const wllamaSha512 = 'Pl7BEJhPU8OHnV/yhn3DFZYhLLOdSHh+4TND79WCftHnlUAdQPAsyc/CfIOY+4mVxvf5VW3Xw3Uf7BBfotS1gw==';
const gemmaUrl = 'https://huggingface.co/ggml-org/gemma-3-1b-it-GGUF/resolve/f9c28bcd85737ffc5aef028638d3341d49869c27/gemma-3-1b-it-Q4_K_M.gguf';
+4 -4
View File
@@ -12,14 +12,14 @@ grep -q 'application/wasm wasm;' nginx/default.conf
grep -Fq 'try_files $uri =404;' nginx/default.conf
grep -q 'version.json' Dockerfile
grep -q 'location = /static/version.json' nginx/default.conf
grep -q 'location = /static/wllama-gemma3-v1/manifest.json' nginx/default.conf
grep -q 'location = /static/wllama-gemma3-v1/local-ai.js' nginx/default.conf
grep -q 'location = /static/wllama-gemma3-v2/manifest.json' nginx/default.conf
grep -q 'location = /static/wllama-gemma3-v2/local-ai.js' nginx/default.conf
grep -q 'Cache-Control "no-cache"' nginx/default.conf
grep -q 'text/html html;' nginx/default.conf
grep -q 'application/octet-stream onnx data gguf;' nginx/default.conf
grep -q "client', 'local-ai.js" scripts/build-assets.mjs
grep -q 'wllama-gemma3-v1' scripts/build-assets.mjs
grep -q 'test -s public/static/wllama-gemma3-v1/local-ai.js' .gitea/workflows/publish.yaml
grep -q 'wllama-gemma3-v2' scripts/build-assets.mjs
grep -q 'test -s public/static/wllama-gemma3-v2/local-ai.js' .gitea/workflows/publish.yaml
grep -q 'lokal ai godkänn villkor' client/local-ai.js
grep -q 'acceptance_id' scripts/build-assets.mjs
grep -q 'GEMMA_TERMS.html' .gitea/workflows/publish.yaml