This commit is contained in:
2026-03-08 04:00:32 -04:00
parent 8beb186aff
commit 790904a094
3 changed files with 13 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
# Manual Slop - OpenCode Configuration
## MCP TOOL PARAMETERS - CRITICAL
- **ALWAYS use snake_case**: `old_string`, `new_string`, `replace_all`
- **NEVER use camelCase**: `oldString`, `newString`, `replaceAll`
## Project Overview
**Manual Slop** is a local GUI application designed as an experimental, "manual" AI coding assistant. It allows users to curate and send context (files, screenshots, and discussion history) to AI APIs (Gemini and Anthropic). The AI can then execute PowerShell scripts within the project directory to modify files, requiring explicit user confirmation before execution.

View File

@@ -3,6 +3,10 @@
This file provides guidance to Claude Code when working with this repository.
## MCP TOOL PARAMETERS - CRITICAL
- **ALWAYS use snake_case**: `old_string`, `new_string`, `replace_all`
- **NEVER use camelCase**: `oldString`, `newString`, `replaceAll`
## Critical Context (Read First)
- **Tech Stack**: Python 3.11+, Dear PyGui / ImGui, FastAPI, Uvicorn
- **Main File**: `gui_2.py` (primary GUI), `ai_client.py` (multi-provider LLM abstraction)

View File

@@ -138,6 +138,11 @@ def build_file_items(base_dir: Path, files: list[str | dict[str, Any]]) -> list[
tier = entry_raw.get("tier")
auto_aggregate = entry_raw.get("auto_aggregate", True)
force_full = entry_raw.get("force_full", False)
elif hasattr(entry_raw, "path"):
entry = entry_raw.path
tier = getattr(entry_raw, "tier", None)
auto_aggregate = getattr(entry_raw, "auto_aggregate", True)
force_full = getattr(entry_raw, "force_full", False)
else:
entry = entry_raw
tier = None