mirror of
https://github.com/vegu-ai/talemate.git
synced 2026-09-02 12:09:31 +02:00
- **Help Agent** — A new agent that answers questions about Talemate itself — settings, agents, clients, the world editor — grounded in the bundled documentation, and able to change agent and application settings on request. - **Timeline Rollback** — Scrub a slider across a scene's automatic version history, preview the message history at any revision, then roll the scene back in place or fork the revision into a new save. - **Pi Bridge Client** — A new client type that drives generations through the pi coding agent's headless RPC mode, making any model pi can reach usable in Talemate. - **Application Settings** — Settings move out of their modal into an always-available Settings tab, with a single topic-grouped sidebar, a settings search, all API keys on one page, and unsaved-change tracking. - **Scene Library** — The home screen is rebuilt as a full-page landing view with a file-tree scene library, cover thumbnails and per-save metadata, scene and save deletion, and a drag-and-drop import dropzone. - **Fast Character Creation** — Generate a character in a single request instead of one prompt per aspect, with a Consolidate multi-select, a token budget, and a Fill in misses pass. Off by default. - **Scene Backdrop** — Set any scene illustration as a backdrop filling the scene view behind the messages, saved with the scene, with configurable text legibility and an Immersive quick-toggle. - **Scene Visual Manager** — World Editor → Scene gains a Visuals tab to browse, upload, generate and delete the scene's backgrounds and illustrations, and set the cover image and backdrop. - **Visual Prompt Finalization** — Post-processing actions — match and replace, or a free-form AI instruction — rewrite image prompts right before they reach the image backend, with per-scene and per-character overrides and reusable template sets. - fixes #271 - fixes #275 Plus 25 improvements and 39 bug fixes — see [CHANGELOG.md](https://github.com/vegu-ai/talemate/blob/prep-0.39.0/CHANGELOG.md#0390) for the full list.
47 lines
1.3 KiB
Bash
Executable File
47 lines
1.3 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# create a virtual environment with uv
|
|
echo "Creating a virtual environment with uv..."
|
|
uv venv
|
|
|
|
# activate the virtual environment
|
|
echo "Activating the virtual environment..."
|
|
source .venv/bin/activate
|
|
|
|
# install dependencies with uv
|
|
echo "Installing dependencies..."
|
|
uv pip install -e ".[dev]"
|
|
|
|
# copy config.example.yaml to config.yaml only if config.yaml doesn't exist
|
|
if [ ! -f config.yaml ]; then
|
|
echo "Copying config.example.yaml to config.yaml..."
|
|
cp config.example.yaml config.yaml
|
|
fi
|
|
|
|
# provision a portable Node.js runtime (pnpm 11 needs Node >= 22.13)
|
|
echo "Setting up the Node.js runtime..."
|
|
source install-utils/node-env.sh
|
|
if ! install_embedded_node; then
|
|
echo "ERROR: could not provision Node.js. Aborting installation."
|
|
return 1 2>/dev/null || exit 1
|
|
fi
|
|
|
|
# navigate to the frontend directory
|
|
echo "Updating the frontend..."
|
|
cd talemate_frontend
|
|
|
|
# pnpm is provisioned on demand via corepack (bundled with Node.js); the
|
|
# version is pinned by the "packageManager" field in package.json.
|
|
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
|
corepack pnpm install --frozen-lockfile
|
|
|
|
# build the frontend
|
|
echo "Building the frontend..."
|
|
corepack pnpm build
|
|
|
|
# return to the root directory
|
|
cd ..
|
|
|
|
echo "Installation completed successfully."
|
|
read -p "Press [Enter] key to continue..."
|