Add Pinokio launcher for Teams meeting report pipeline
Pipeline code copied into app/; llama.py now uses launcher-local llama.cpp (app/bin) and Qwen GGUF (app/models) instead of LM Studio. install.js fetches ffmpeg, 7zip, llama.cpp CUDA 13, sherpa-onnx diarization models, bge-m3 and Qwen3.6-35B-A3B, then pre-builds the uv script environments. start.js serves the GUI on fixed port 18765 (hardcoded in the browser extension). reset.js keeps app/out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+104
@@ -0,0 +1,104 @@
|
||||
module.exports = {
|
||||
requires: {
|
||||
bundle: "ai"
|
||||
},
|
||||
run: [
|
||||
{
|
||||
method: "shell.run",
|
||||
params: {
|
||||
message: "conda install -y -c conda-forge ffmpeg 7zip"
|
||||
}
|
||||
},
|
||||
// llama.cpp server (CUDA 13) for the Qwen VLM + bge-m3 embeddings
|
||||
{
|
||||
method: "fs.download",
|
||||
params: {
|
||||
uri: [
|
||||
"https://github.com/ggml-org/llama.cpp/releases/download/b11889/llama-b11889-bin-win-cuda-13.4-x64.zip",
|
||||
"https://github.com/ggml-org/llama.cpp/releases/download/b11889/cudart-llama-bin-win-cuda-13.4-x64.zip"
|
||||
],
|
||||
dir: "app/bin"
|
||||
}
|
||||
},
|
||||
{
|
||||
method: "shell.run",
|
||||
params: {
|
||||
path: "app/bin",
|
||||
message: [
|
||||
"7z x -y llama-b11889-bin-win-cuda-13.4-x64.zip",
|
||||
"7z x -y cudart-llama-bin-win-cuda-13.4-x64.zip"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
method: "fs.rm",
|
||||
params: {
|
||||
path: "app/bin/llama-b11889-bin-win-cuda-13.4-x64.zip"
|
||||
}
|
||||
},
|
||||
{
|
||||
method: "fs.rm",
|
||||
params: {
|
||||
path: "app/bin/cudart-llama-bin-win-cuda-13.4-x64.zip"
|
||||
}
|
||||
},
|
||||
// speaker diarization (sherpa-onnx)
|
||||
{
|
||||
method: "fs.download",
|
||||
params: {
|
||||
uri: "https://github.com/k2-fsa/sherpa-onnx/releases/download/speaker-recongition-models/3dspeaker_speech_eres2net_base_sv_zh-cn_3dspeaker_16k.onnx",
|
||||
path: "app/models/emb.onnx"
|
||||
}
|
||||
},
|
||||
{
|
||||
method: "fs.download",
|
||||
params: {
|
||||
uri: "https://github.com/k2-fsa/sherpa-onnx/releases/download/speaker-segmentation-models/sherpa-onnx-pyannote-segmentation-3-0.tar.bz2",
|
||||
path: "app/models/seg.tar.bz2"
|
||||
}
|
||||
},
|
||||
{
|
||||
method: "shell.run",
|
||||
params: {
|
||||
path: "app/models",
|
||||
message: "tar -xjf seg.tar.bz2"
|
||||
}
|
||||
},
|
||||
// embeddings for cross-meeting memory
|
||||
{
|
||||
method: "hf.download",
|
||||
params: {
|
||||
path: "app",
|
||||
_: ["gpustack/bge-m3-GGUF", "bge-m3-Q8_0.gguf"],
|
||||
"local-dir": "models"
|
||||
}
|
||||
},
|
||||
// LLM + vision projector (~23 GB)
|
||||
{
|
||||
method: "hf.download",
|
||||
params: {
|
||||
path: "app",
|
||||
_: ["unsloth/Qwen3.6-35B-A3B-GGUF", "mmproj-BF16.gguf", "Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf"],
|
||||
"local-dir": "models"
|
||||
}
|
||||
},
|
||||
// pre-build the uv script environments (whisper, prefect, sherpa-onnx, openvino, ...)
|
||||
{
|
||||
method: "shell.run",
|
||||
params: {
|
||||
path: "app",
|
||||
message: [
|
||||
"uv sync --script flow.py",
|
||||
"uv sync --script server.py",
|
||||
"uv sync --script memory.py"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
method: "notify",
|
||||
params: {
|
||||
html: "Installation finished! Click 'Start', then load the browser extension from the 'Extension' tab."
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user