pi-ask emits events on pi.events at ask-flow boundaries. Other extensions listen with plain pi.events.on() — no imports from pi-ask needed.
Two events:
| Channel | Payload | When |
|---|
| ################################################################################ | |
| # GAME PARAMETERS | |
| ################################################################################ | |
| seed: | |
| - AAAAAAA | |
| deck: | |
| - RED |
| { | |
| "$schema": "https://json-schema.org/draft/2020-12/schema", | |
| "title": "BalatroLLM Strategy Manifest", | |
| "description": "Schema for strategy manifest.json files in BalatroLLM", | |
| "type": "object", | |
| "required": ["name", "description", "author", "version", "tags"], | |
| "additionalProperties": false, | |
| "properties": { | |
| "name": { | |
| "type": "string", |
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "title": "BalatroBot and BalatroLLM Test Fixtures Schema", | |
| "type": "object", | |
| "properties": { | |
| "$schema": {"type": "string"} | |
| }, | |
| "additionalProperties": { | |
| "type": "object", | |
| "additionalProperties": { |
| #include <stdio.h> | |
| #include <unistd.h> | |
| #define COLS 25 | |
| #define ROWS 25 | |
| #define ALIVE 1 | |
| #define DEAD 0 | |
| void printgrid(char *grid) { | |
| printf("\033[H\033[2J"); |
| #!/bin/bash | |
| # Check if running on macOS | |
| if [[ "$OSTYPE" != "darwin"* ]]; then | |
| echo "Error: This script is only supported on macOS" >&2 | |
| exit 1 | |
| fi | |
| # Cleanup function for signal handling | |
| cleanup() { |
| local wezterm = require("wezterm") | |
| local config = wezterm.config_builder() | |
| local action = wezterm.action | |
| -------------------------------------------------------------------------------- | |
| -- Workspaces | |
| -------------------------------------------------------------------------------- | |
| local function project_dirs() | |
| local projects = { wezterm.home_dir } |
| """ | |
| title: Install Deps | |
| author: S1M0N38 | |
| date: 2024-09-29 | |
| version: 1.0 | |
| license: MIT | |
| description: A dummy pipeline just to install deps | |
| requirements: llama-index | |
| """ |
| # Tokionight | |
| curl -L -o $XDG_CONFIG_HOME/alacritty/themes/tokyonight.toml https://raw.githubusercontent.com/folke/tokyonight.nvim/refs/heads/main/extras/alacritty/tokyonight_moon.toml | |
| curl -L -o $XDG_CONFIG_HOME/alacritty/themes/tokyonight-moon.toml https://raw.githubusercontent.com/folke/tokyonight.nvim/refs/heads/main/extras/alacritty/tokyonight_moon.toml | |
| curl -L -o $XDG_CONFIG_HOME/alacritty/themes/tokyonight-day.toml https://raw.githubusercontent.com/folke/tokyonight.nvim/refs/heads/main/extras/alacritty/tokyonight_day.toml | |
| curl -L -o $XDG_CONFIG_HOME/alacritty/themes/tokyonight-night.toml https://raw.githubusercontent.com/folke/tokyonight.nvim/refs/heads/main/extras/alacritty/tokyonight_night.toml | |
| curl -L -o $XDG_CONFIG_HOME/alacritty/themes/tokyonight-storm.toml https://raw.githubusercontent.com/folke/tokyonight.nvim/refs/heads/main/extras/alacritty/tokyonight_storm.toml | |
| # Catppuccin | |
| curl -L -o $XDG_CONFIG_HOME/alacritty/themes/catppuccin-frappe.toml https://raw.githubusercontent.com/catppuccin/alacrit |
| #!/bin/bash | |
| NVIM_APPNAME=test-nvim | |
| XDG_DATA_HOME="$HOME/.local/share" | |
| echo "--------------------------------------------------------------------------------" | |
| echo "0. Remove file from previous tests" | |
| rm -rf ~/.config/$NVIM_APPNAME | |
| rm -rf ~/.local/share/$NVIM_APPNAME |