Files
kit/examples/scripts/default-values-demo.sh
T
Ed Zynda 7fc94018a9 rename: fork mcphost to kit (github.com/mark3labs/kit)
Rename the entire project from mcphost to kit, including:
- Go module path and all import paths
- SDK type MCPHost -> Kit, file renames mcphost.go -> kit.go
- CLI command name, usage strings, UI labels (KIT in literature)
- Config paths (.mcphost -> .kit), env prefix (MCPHOST_ -> KIT_)
- Data/credential/hooks directory paths
- Remove legacy .mcp config fallbacks
- Session metadata field (mcphost_version -> kit_version)
- MCP client identity name
- Build output, goreleaser binary name
- All documentation, examples, scripts, and test files
2026-02-26 16:59:59 +03:00

39 lines
1.1 KiB
Bash
Executable File

#!/usr/bin/env -S kit script
---
# Demo script showcasing default values in KIT scripts
model: "anthropic/claude-sonnet-4-5-20250929"
mcpServers:
filesystem:
type: "builtin"
name: "fs"
options:
allowed_directories: ["${work_dir:-/tmp}", "${home_dir:-/home}"]
bash:
type: "builtin"
name: "bash"
todo:
type: "builtin"
name: "todo"
---
# Default Values Demo Script
Hello ${user_name:-Anonymous User}!
This script demonstrates the new default values feature in KIT scripts.
## Your Configuration:
- Working directory: ${work_dir:-/tmp}
- Home directory: ${home_dir:-/home}
- Preferred editor: ${editor:-nano}
- Log level: ${log_level:-info}
- Output format: ${format:-text}
## Tasks to Complete:
1. **Directory Analysis**: Analyze the contents of ${work_dir:-/tmp}
2. **System Info**: Show system information using ${info_command:-uname -a}
3. **File Operations**: Create a test file named ${test_file:-demo_test.txt}
4. **Report Generation**: Generate a ${format:-text} format report
Please complete these tasks and provide a summary of what you accomplished.