File tree Expand file tree Collapse file tree 5 files changed +20
-6
lines changed
Expand file tree Collapse file tree 5 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 44# THIS GETS TEMPLATED vvv
55crush.json
66
7- # Data folder
8- data /
9-
107# VICTORIA.md master is kept in victoria-main
118VICTORIA.md
129
Original file line number Diff line number Diff line change 44You are Victoria, Elcano's adtech AI agent. Your full identity and capabilities are defined in ` VICTORIA.md ` .
55
66## Data Access
7- - Data files in ` data/ ` folder (CSV and Excel files via MotherDuck MCP)
7+ - Data files in ` ~/Victoria ` folder (CSV and Excel files via MotherDuck MCP)
88- Snowflake databases (read-only access via Snowflake MCP)
99
1010## Quick Start
Original file line number Diff line number Diff line change 1414 "args" : [
1515 " mcp-server-motherduck" ,
1616 " --db-path" ,
17- " data /adtech.duckdb"
17+ " ${VICTORIA_HOME} /adtech.duckdb"
1818 ]
1919 }
2020 }
Original file line number Diff line number Diff line change 3737
3838APP_HOME = Path .home () / "Victoria"
3939APP_HOME .mkdir (exist_ok = True )
40+ os .environ .setdefault ("VICTORIA_HOME" , str (APP_HOME ))
4041
4142def resource_path (name : str ) -> Path :
4243 base = Path (getattr (sys , "_MEIPASS" , Path (__file__ ).resolve ().parent ))
@@ -685,12 +686,28 @@ def remove_local_duckdb():
685686 except Exception as e :
686687 warn (f"Could not remove { db_path } : { e } " )
687688
689+ def open_victoria_folder ():
690+ """Open the Victoria data folder in the system file browser."""
691+ try :
692+ if os .name == "nt" :
693+ os .startfile (str (APP_HOME )) # type: ignore[attr-defined]
694+ elif sys .platform == "darwin" :
695+ subprocess .run (["open" , str (APP_HOME )], check = False )
696+ else :
697+ subprocess .run (["xdg-open" , str (APP_HOME )], check = False )
698+ except Exception as e :
699+ warn (f"Could not open Victoria folder: { e } " )
700+
688701def main ():
689702 ensure_default_files ()
690703 clear_screen ()
691704 banner ()
692705 remove_local_duckdb ()
693-
706+
707+ print (f"{ T .CYAN } { T .FOLDER } Place files to analyze in: { T .WHITE } { APP_HOME } { T .NC } " )
708+ print (f"{ T .DIM } file://{ APP_HOME } { T .NC } " )
709+ open_victoria_folder ()
710+
694711 print (f"{ T .GREEN } { T .ROCKET } Welcome to Victoria - Your AdTech Data Navigator!{ T .NC } " )
695712
696713 # Show terminal capabilities for debugging (remove in production)
You can’t perform that action at this time.
0 commit comments