-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.env
More file actions
79 lines (61 loc) · 3.45 KB
/
example.env
File metadata and controls
79 lines (61 loc) · 3.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Ten Second Tom - Environment Configuration
# Copy this file to .env and customize for your local development
# Environment (Development, Staging, Production)
DOTNET_ENVIRONMENT=Development
# Native macOS notifier override (optional for local builds)
# Point this at your locally built TenSecondTom.Extensions.MacOS.app so CLI development builds
# use the dev bundle without affecting the Homebrew-installed helper.
# TenSecondTom__Notifications__ExtensionDirectory=$HOME/Repos/ten-second-tom/bin/TenSecondTom.Extensions.MacOS.app
# LLM Configuration (Standard .NET convention: use __ for nested keys)
# The setup wizard saves to user secrets, but you can override here for development
# Llm__Provider=Anthropic
# Llm__ApiKey=your-api-key-here
# Llm__Model=claude-3-5-sonnet-20241022
# Maximum input tokens to send to the LLM (optional)
# Controls how much context is sent and helps manage costs
# OpenAI default: 50000 (from 128K context window)
# Anthropic default: 80000 (from 200K context window)
# Set lower to reduce costs, higher to include more context
# TenSecondTom__Llm__MaxInputTokens=50000
# Storage Configuration (default: ~/ten-second-tom)
# TenSecondTom__MemoryDirectory=~/ten-second-tom
# SSH Configuration (not typically needed in .env, managed by setup wizard)
# Ssh__KeySource=ManualPath
# Ssh__KeyPath=~/.ssh/id_ed25519
# Advanced SSH Configuration (if needed)
# TenSecondTom__Auth__PublicKey=ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA...
# TenSecondTom__Auth__PublicKeyPath=~/.ssh/id_ed25519.pub
# 1Password SSH Agent Socket (auto-detected on macOS)
# SSH_AUTH_SOCK=/Users/yourusername/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock
# For detailed setup instructions, see: docs/AUTHENTICATION.md and docs/CONFIGURATION.md
# Logging Configuration
# Serilog__MinimumLevel__Default=Debug
# Audio Configuration (Voice Notes and Recording)
# Speech-to-text provider: "built-in-local" (default), "whisper-cpp", "openai"
# TenSecondTom__Audio__SttProvider=built-in-local
# STT API Key (required for cloud providers like OpenAI)
# TenSecondTom__Audio__SttApiKey=sk-...
# Keep audio files after transcription (true/false)
# TenSecondTom__Audio__KeepFiles=true
# FFmpeg path (default: "ffmpeg" - assumes ffmpeg is on PATH)
# Install FFmpeg: https://ffmpeg.org/download.html or `brew install ffmpeg` on macOS
# TenSecondTom__Audio__Recorder__FfmpegPath=ffmpeg
# Local Whisper.cpp Configuration (for offline speech-to-text)
# Binary path (default: "whisper-cli" - assumes installed via Homebrew)
# Install: `brew install whisper-cpp`
# TenSecondTom__Audio__LocalWhisper__BinaryPath=whisper-cli
# Model path (default: "~/.cache/whisper/ggml-base.en.bin")
# Download model (142 MB):
# mkdir -p ~/.cache/whisper
# curl -L -o ~/.cache/whisper/ggml-base.en.bin \
# https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.en.bin
# TenSecondTom__Audio__LocalWhisper__ModelPath=~/.cache/whisper/ggml-base.en.bin
# Recording Timeouts (in seconds)
# Maximum duration for 'today --voice' before prompting to continue (default: 180 = 3 minutes)
# TenSecondTom__Audio__Timeouts__TodaySeconds=180
# Maximum duration for 'record' command before prompting (default: 900 = 15 minutes)
# TenSecondTom__Audio__Timeouts__RecordSeconds=900
# Audio Preprocessing (forward-compatible - not implemented in MVP)
# TenSecondTom__Audio__Preprocessing__RemoveSilence=false
# TenSecondTom__Audio__Preprocessing__SilenceThresholdDb=-40
# TenSecondTom__Audio__Preprocessing__MinimumSilenceDurationMs=500