eustace 2.4.0__tar.gz → 2.5.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. {eustace-2.4.0 → eustace-2.5.0}/PKG-INFO +35 -40
  2. {eustace-2.4.0 → eustace-2.5.0}/README.md +34 -39
  3. {eustace-2.4.0 → eustace-2.5.0}/cli.py +557 -116
  4. {eustace-2.4.0 → eustace-2.5.0}/eustace.egg-info/PKG-INFO +35 -40
  5. {eustace-2.4.0 → eustace-2.5.0}/eustace.egg-info/SOURCES.txt +2 -0
  6. {eustace-2.4.0 → eustace-2.5.0}/system_prompt.md +15 -13
  7. eustace-2.5.0/tests/test_log.py +207 -0
  8. eustace-2.5.0/tests/test_look.py +624 -0
  9. {eustace-2.4.0 → eustace-2.5.0}/tests/test_screen.py +98 -7
  10. {eustace-2.4.0 → eustace-2.5.0}/tests/test_star.py +248 -64
  11. {eustace-2.4.0 → eustace-2.5.0}/tests/test_uninstall.py +13 -6
  12. {eustace-2.4.0 → eustace-2.5.0}/eustace.egg-info/dependency_links.txt +0 -0
  13. {eustace-2.4.0 → eustace-2.5.0}/eustace.egg-info/entry_points.txt +0 -0
  14. {eustace-2.4.0 → eustace-2.5.0}/eustace.egg-info/requires.txt +0 -0
  15. {eustace-2.4.0 → eustace-2.5.0}/eustace.egg-info/top_level.txt +0 -0
  16. {eustace-2.4.0 → eustace-2.5.0}/fonts/EustaceMono-Regular.ttf +0 -0
  17. {eustace-2.4.0 → eustace-2.5.0}/fonts/OFL.txt +0 -0
  18. {eustace-2.4.0 → eustace-2.5.0}/pyproject.toml +0 -0
  19. {eustace-2.4.0 → eustace-2.5.0}/setup.cfg +0 -0
  20. {eustace-2.4.0 → eustace-2.5.0}/skills/briefing/SKILL.md +0 -0
  21. {eustace-2.4.0 → eustace-2.5.0}/skills/draft-email/SKILL.md +0 -0
  22. {eustace-2.4.0 → eustace-2.5.0}/skills/memo/SKILL.md +0 -0
  23. {eustace-2.4.0 → eustace-2.5.0}/skills/summarize/SKILL.md +0 -0
  24. {eustace-2.4.0 → eustace-2.5.0}/tests/test_agent_loop.py +0 -0
  25. {eustace-2.4.0 → eustace-2.5.0}/tests/test_config.py +0 -0
  26. {eustace-2.4.0 → eustace-2.5.0}/tests/test_email_pdf.py +0 -0
  27. {eustace-2.4.0 → eustace-2.5.0}/tests/test_files.py +0 -0
  28. {eustace-2.4.0 → eustace-2.5.0}/tests/test_guardrails.py +0 -0
  29. {eustace-2.4.0 → eustace-2.5.0}/tests/test_guards.py +0 -0
  30. {eustace-2.4.0 → eustace-2.5.0}/tests/test_guidance.py +0 -0
  31. {eustace-2.4.0 → eustace-2.5.0}/tests/test_office.py +0 -0
  32. {eustace-2.4.0 → eustace-2.5.0}/tests/test_outlook_setup.py +0 -0
  33. {eustace-2.4.0 → eustace-2.5.0}/tests/test_path_spellings.py +0 -0
  34. {eustace-2.4.0 → eustace-2.5.0}/tests/test_permissions.py +0 -0
  35. {eustace-2.4.0 → eustace-2.5.0}/tests/test_plan.py +0 -0
  36. {eustace-2.4.0 → eustace-2.5.0}/tests/test_pptx.py +0 -0
  37. {eustace-2.4.0 → eustace-2.5.0}/tests/test_sessions.py +0 -0
  38. {eustace-2.4.0 → eustace-2.5.0}/tests/test_skills.py +0 -0
  39. {eustace-2.4.0 → eustace-2.5.0}/tests/test_ui.py +0 -0
  40. {eustace-2.4.0 → eustace-2.5.0}/tests/test_update.py +0 -0
  41. {eustace-2.4.0 → eustace-2.5.0}/tests/test_web_search.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eustace
3
- Version: 2.4.0
3
+ Version: 2.5.0
4
4
  Summary: Office-work AI agent for the Windows console: local files, Word, Excel, PowerPoint, PDF, and Outlook
5
5
  Project-URL: Homepage, https://github.com/Colciferr/Eustace
6
6
  Project-URL: Source, https://github.com/Colciferr/Eustace
@@ -35,56 +35,29 @@ Although this was built with GenAI.mil in mind, it can technically access any Op
35
35
 
36
36
  ## Prerequisites
37
37
  * **Windows Workstation** (No administrator rights required)
38
+ * **Python 3.11 or later** (check with `py --version`; if it's missing, see "Other ways to install")
38
39
  * **GenAI.mil API Key and API address** (Eustace will prompt you for both)
39
40
 
40
41
  ---
41
42
 
42
43
  ## Installation
43
44
 
44
- ### 1. Download Eustace
45
- **Option A - Using Git:**
46
- Open PowerShell and run: (use http to bypass signing in)
45
+ ### 1. Install Eustace
46
+ Open PowerShell and run:
47
47
  ```powershell
48
- git clone https://github.com/Colciferr/eustace
49
- ```
50
- or
51
- ```powershell
52
- git clone https://gitlab.com/Colciferr/eustace
48
+ py -m pip install --user pipx; py -m pipx install eustace; py -m pipx ensurepath
53
49
  ```
50
+ If `py` isn't recognized, use `python` in its place.
54
51
 
55
- **Option B - Without Git (ZIP Download):**
56
- 1. Click the green **Code** button on GitHub and select **Download ZIP**.
57
- 2. Extract the ZIP folder to your computer (e.g., `Documents\eustace`).
58
- 3. Open **PowerShell** and navigate into that folder:
59
- ```powershell
60
- cd "$HOME\Documents\eustace"
61
- ```
62
-
63
- **Option C - Manual Copy & Paste (if Git and ZIP downloads are blocked)**
64
- Open PowerShell and run this command to create the folder and empty files:
65
- ```powershell
66
- mkdir "$HOME\Documents\eustace" -Force; cd "$HOME\Documents\eustace"
67
- "cli.py","pyproject.toml","setup.ps1","system_prompt.md" | ForEach-Object { New-Item $_ -ItemType File -Force }
68
- ```
69
-
70
- On GitHub, click into each of those four files, click the "Copy Raw File" button (top-right, next to "Raw"), paste the contents into the matching local file you created, and save.
71
-
72
- ---
73
-
74
- ### 2. Run the Installer Script
75
- In your PowerShell window, from the `\eustace` folder, run:
76
- ```powershell
77
- powershell -ExecutionPolicy Bypass -File .\setup.ps1
78
- ```
79
- **What this script does automatically:**
80
- * Checks for **Python 3.11+** (and installs Python via `winget` in user-scope if missing).
81
- * Installs `pipx` and registers the `eustace` command globally for your user account.
82
- * Creates your user config folder at `C:\Users\<YourUsername>\.eustace\`.
52
+ **What this does:**
53
+ * Installs `pipx`, which keeps Eustace and everything it needs in its own folder.
54
+ * Downloads Eustace from [PyPI](https://pypi.org/project/eustace/) and registers the `eustace` command for your user account.
83
55
 
56
+ If a download times out, run `$env:PIP_DEFAULT_TIMEOUT=180` and then the same line again. Finished downloads are kept, so each run gets further.
84
57
 
85
58
  ---
86
59
 
87
- ### 3. Launch & Enter Your API Address and Key
60
+ ### 2. Launch & Enter Your API Address and Key
88
61
  1. **Close your current PowerShell window** and open a **new** PowerShell terminal (so your updated `PATH` loads).
89
62
  2. Navigate to any folder you want to work in and run:
90
63
  ```powershell
@@ -95,6 +68,27 @@ powershell -ExecutionPolicy Bypass -File .\setup.ps1
95
68
 
96
69
  ---
97
70
 
71
+ ### Other ways to install
72
+ Use these if your PC can't reach PyPI, or has no Python. Download the repository, then run its installer, which also installs Python (via `winget`, user-scope) when it's missing.
73
+
74
+ **Download, Option A - Using Git:** (use http to bypass signing in)
75
+ ```powershell
76
+ git clone https://github.com/Colciferr/eustace
77
+ ```
78
+ or
79
+ ```powershell
80
+ git clone https://gitlab.com/Colciferr/eustace
81
+ ```
82
+
83
+ **Download, Option B - ZIP:** click the green **Code** button on GitHub, select **Download ZIP**, and extract it (e.g., to `Documents\eustace`).
84
+
85
+ **Then run the installer** from inside that folder:
86
+ ```powershell
87
+ powershell -ExecutionPolicy Bypass -File .\setup.ps1
88
+ ```
89
+
90
+ ---
91
+
98
92
  ## Using the Screen
99
93
  Eustace opens in a full-screen view. `eustace --classic` starts the older scrolling layout.
100
94
 
@@ -107,7 +101,8 @@ Eustace opens in a full-screen view. `eustace --classic` starts the older scroll
107
101
  ## What Eustace Can Do
108
102
  * **Files and folders:** read, search, create, and edit files in the folder you start it in.
109
103
  * **Office documents:** read and write Word, Excel, and PowerPoint files, and read PDFs.
110
- * **Outlook:** list mail folders, read calendars, open drafts for you to send, and set up categories and mail rules. It can't read email bodies or send email.
104
+ * **Outlook:** list mail folders, read calendars (shared ones too), open drafts for you to send, and set up categories and mail rules. It can't send email or read an email straight from Outlook.
105
+ * **Reading emails:** drag an email out of Outlook into your working folder and Eustace can read it, search it, or turn a folder of them into PDFs.
111
106
  * **PowerShell:** run commands for you, asking first.
112
107
  * **Clipboard and web:** read or fill the clipboard, and search the web for public information.
113
108
 
@@ -132,7 +127,7 @@ By default, Eustace asks before it writes a file, runs a command, or reads outsi
132
127
 
133
128
  ## Customization & Updating
134
129
  * **Custom Persona:** You can edit `~/.eustace/system_prompt.md` at any time to customize Eustace's instructions or tone.
135
- * **Updating:** Run `eustace --update`. If that is blocked on your PC, pull or download the latest files from GitHub and re-run `powershell -ExecutionPolicy Bypass -File .\setup.ps1`.
130
+ * **Updating:** Run `eustace --update` to install the newest release from PyPI. `eustace --update 2.4.0` installs a specific release, and `eustace --update main` installs the newest commit from GitHub (needs Git).
136
131
  * **Uninstalling:** Run `eustace --uninstall`. Your `.eustace` folder (API key, config, saved sessions) is kept.
137
132
 
138
133
  ## AI Disclaimer
@@ -4,56 +4,29 @@ Although this was built with GenAI.mil in mind, it can technically access any Op
4
4
 
5
5
  ## Prerequisites
6
6
  * **Windows Workstation** (No administrator rights required)
7
+ * **Python 3.11 or later** (check with `py --version`; if it's missing, see "Other ways to install")
7
8
  * **GenAI.mil API Key and API address** (Eustace will prompt you for both)
8
9
 
9
10
  ---
10
11
 
11
12
  ## Installation
12
13
 
13
- ### 1. Download Eustace
14
- **Option A - Using Git:**
15
- Open PowerShell and run: (use http to bypass signing in)
14
+ ### 1. Install Eustace
15
+ Open PowerShell and run:
16
16
  ```powershell
17
- git clone https://github.com/Colciferr/eustace
18
- ```
19
- or
20
- ```powershell
21
- git clone https://gitlab.com/Colciferr/eustace
17
+ py -m pip install --user pipx; py -m pipx install eustace; py -m pipx ensurepath
22
18
  ```
19
+ If `py` isn't recognized, use `python` in its place.
23
20
 
24
- **Option B - Without Git (ZIP Download):**
25
- 1. Click the green **Code** button on GitHub and select **Download ZIP**.
26
- 2. Extract the ZIP folder to your computer (e.g., `Documents\eustace`).
27
- 3. Open **PowerShell** and navigate into that folder:
28
- ```powershell
29
- cd "$HOME\Documents\eustace"
30
- ```
31
-
32
- **Option C - Manual Copy & Paste (if Git and ZIP downloads are blocked)**
33
- Open PowerShell and run this command to create the folder and empty files:
34
- ```powershell
35
- mkdir "$HOME\Documents\eustace" -Force; cd "$HOME\Documents\eustace"
36
- "cli.py","pyproject.toml","setup.ps1","system_prompt.md" | ForEach-Object { New-Item $_ -ItemType File -Force }
37
- ```
38
-
39
- On GitHub, click into each of those four files, click the "Copy Raw File" button (top-right, next to "Raw"), paste the contents into the matching local file you created, and save.
40
-
41
- ---
42
-
43
- ### 2. Run the Installer Script
44
- In your PowerShell window, from the `\eustace` folder, run:
45
- ```powershell
46
- powershell -ExecutionPolicy Bypass -File .\setup.ps1
47
- ```
48
- **What this script does automatically:**
49
- * Checks for **Python 3.11+** (and installs Python via `winget` in user-scope if missing).
50
- * Installs `pipx` and registers the `eustace` command globally for your user account.
51
- * Creates your user config folder at `C:\Users\<YourUsername>\.eustace\`.
21
+ **What this does:**
22
+ * Installs `pipx`, which keeps Eustace and everything it needs in its own folder.
23
+ * Downloads Eustace from [PyPI](https://pypi.org/project/eustace/) and registers the `eustace` command for your user account.
52
24
 
25
+ If a download times out, run `$env:PIP_DEFAULT_TIMEOUT=180` and then the same line again. Finished downloads are kept, so each run gets further.
53
26
 
54
27
  ---
55
28
 
56
- ### 3. Launch & Enter Your API Address and Key
29
+ ### 2. Launch & Enter Your API Address and Key
57
30
  1. **Close your current PowerShell window** and open a **new** PowerShell terminal (so your updated `PATH` loads).
58
31
  2. Navigate to any folder you want to work in and run:
59
32
  ```powershell
@@ -64,6 +37,27 @@ powershell -ExecutionPolicy Bypass -File .\setup.ps1
64
37
 
65
38
  ---
66
39
 
40
+ ### Other ways to install
41
+ Use these if your PC can't reach PyPI, or has no Python. Download the repository, then run its installer, which also installs Python (via `winget`, user-scope) when it's missing.
42
+
43
+ **Download, Option A - Using Git:** (use http to bypass signing in)
44
+ ```powershell
45
+ git clone https://github.com/Colciferr/eustace
46
+ ```
47
+ or
48
+ ```powershell
49
+ git clone https://gitlab.com/Colciferr/eustace
50
+ ```
51
+
52
+ **Download, Option B - ZIP:** click the green **Code** button on GitHub, select **Download ZIP**, and extract it (e.g., to `Documents\eustace`).
53
+
54
+ **Then run the installer** from inside that folder:
55
+ ```powershell
56
+ powershell -ExecutionPolicy Bypass -File .\setup.ps1
57
+ ```
58
+
59
+ ---
60
+
67
61
  ## Using the Screen
68
62
  Eustace opens in a full-screen view. `eustace --classic` starts the older scrolling layout.
69
63
 
@@ -76,7 +70,8 @@ Eustace opens in a full-screen view. `eustace --classic` starts the older scroll
76
70
  ## What Eustace Can Do
77
71
  * **Files and folders:** read, search, create, and edit files in the folder you start it in.
78
72
  * **Office documents:** read and write Word, Excel, and PowerPoint files, and read PDFs.
79
- * **Outlook:** list mail folders, read calendars, open drafts for you to send, and set up categories and mail rules. It can't read email bodies or send email.
73
+ * **Outlook:** list mail folders, read calendars (shared ones too), open drafts for you to send, and set up categories and mail rules. It can't send email or read an email straight from Outlook.
74
+ * **Reading emails:** drag an email out of Outlook into your working folder and Eustace can read it, search it, or turn a folder of them into PDFs.
80
75
  * **PowerShell:** run commands for you, asking first.
81
76
  * **Clipboard and web:** read or fill the clipboard, and search the web for public information.
82
77
 
@@ -101,7 +96,7 @@ By default, Eustace asks before it writes a file, runs a command, or reads outsi
101
96
 
102
97
  ## Customization & Updating
103
98
  * **Custom Persona:** You can edit `~/.eustace/system_prompt.md` at any time to customize Eustace's instructions or tone.
104
- * **Updating:** Run `eustace --update`. If that is blocked on your PC, pull or download the latest files from GitHub and re-run `powershell -ExecutionPolicy Bypass -File .\setup.ps1`.
99
+ * **Updating:** Run `eustace --update` to install the newest release from PyPI. `eustace --update 2.4.0` installs a specific release, and `eustace --update main` installs the newest commit from GitHub (needs Git).
105
100
  * **Uninstalling:** Run `eustace --uninstall`. Your `.eustace` folder (API key, config, saved sessions) is kept.
106
101
 
107
102
  ## AI Disclaimer