@menasehk/sera 1.0.4 → 1.6.1
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.
- package/README.md +78 -27
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/managers/conversation.d.ts +3 -1
- package/dist/managers/conversation.d.ts.map +1 -1
- package/dist/managers/conversation.js +1 -1
- package/dist/managers/conversation.js.map +1 -1
- package/dist/managers/setup.js +1 -1
- package/dist/providers/anthropic.js +1 -1
- package/dist/providers/index.js +1 -1
- package/dist/providers/ollama.js +1 -1
- package/dist/providers/openai.js +1 -1
- package/dist/storage/index.js +1 -1
- package/dist/storage/json-storage.js +1 -1
- package/dist/storage/sqlite-storage.js +1 -1
- package/dist/tools/browser.js +1 -1
- package/dist/tools/database.js +1 -1
- package/dist/tools/documents.d.ts +3 -0
- package/dist/tools/documents.d.ts.map +1 -0
- package/dist/tools/documents.js +1 -0
- package/dist/tools/documents.js.map +1 -0
- package/dist/tools/filesystem.js +1 -1
- package/dist/tools/glossary.d.ts +4 -0
- package/dist/tools/glossary.d.ts.map +1 -0
- package/dist/tools/glossary.js +1 -0
- package/dist/tools/glossary.js.map +1 -0
- package/dist/tools/index.d.ts +2 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/memory.js +1 -1
- package/dist/tools/native.js +1 -1
- package/dist/tools/notification.js +1 -1
- package/dist/tools/shell.js +1 -1
- package/dist/tools/system.js +1 -1
- package/dist/tools/tasks.js +1 -1
- package/dist/types.js +1 -1
- package/dist/utils/amharic-glossary.d.ts +48 -0
- package/dist/utils/amharic-glossary.d.ts.map +1 -0
- package/dist/utils/amharic-glossary.js +1 -0
- package/dist/utils/amharic-glossary.js.map +1 -0
- package/dist/utils/config.js +1 -1
- package/dist/utils/daemon.js +1 -1
- package/dist/utils/errors.js +1 -1
- package/dist/utils/logger.js +1 -1
- package/dist/utils/memory.js +1 -1
- package/dist/utils/permissions.js +1 -1
- package/dist/utils/recurrence.js +1 -1
- package/dist/utils/retry.js +1 -1
- package/dist/utils/sanitize.js +1 -1
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ sera setup
|
|
|
34
34
|
|
|
35
35
|
## What you can do
|
|
36
36
|
|
|
37
|
-
Just open SERA and talk to it naturally
|
|
37
|
+
Just open SERA and talk to it naturally:
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
40
|
sera # open and start chatting
|
|
@@ -48,29 +48,27 @@ sera # open and start chatting
|
|
|
48
48
|
"Add Sarah Connor to my contacts, phone 555-0123"
|
|
49
49
|
"What do I have on Friday?"
|
|
50
50
|
"Remember that I prefer short responses"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
51
|
+
"Write an MOU between us and Acme Corp"
|
|
52
|
+
"ቃለ-ጉባኤ ጻፍ — ዛሬ ጠዋት የነበረው ስብሰባ"
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
SERA figures out what you mean and does it — including creating tasks, scheduling calendar events, saving contacts, running shell commands, reading files, and more.
|
|
56
|
-
|
|
57
55
|
---
|
|
58
56
|
|
|
59
57
|
## Quick commands
|
|
60
58
|
|
|
61
59
|
```bash
|
|
62
|
-
sera # Start chatting
|
|
63
|
-
sera setup # First-time setup
|
|
64
|
-
sera today # Today's tasks and appointments
|
|
60
|
+
sera # Start chatting
|
|
61
|
+
sera setup # First-time setup
|
|
62
|
+
sera today # Today's tasks and appointments
|
|
65
63
|
sera tasks # View all active tasks
|
|
66
64
|
sera add "Buy groceries" -p low # Quick-add a task
|
|
67
65
|
sera done "Buy groceries" # Mark a task done
|
|
68
66
|
sera cal # Upcoming appointments
|
|
69
|
-
sera remind 15 "Stand up call" # Desktop notification in 15
|
|
67
|
+
sera remind 15 "Stand up call" # Desktop notification in 15 min
|
|
70
68
|
sera note "Great idea I had" # Save a quick note
|
|
71
69
|
sera notes # View all notes
|
|
72
70
|
sera memory # See what SERA remembers about you
|
|
73
|
-
sera daemon start # Run in
|
|
71
|
+
sera daemon start # Run in background (notifications when closed)
|
|
74
72
|
sera daemon install # Auto-start at login
|
|
75
73
|
sera export # Back up all your data
|
|
76
74
|
```
|
|
@@ -86,13 +84,70 @@ sera export # Back up all your data
|
|
|
86
84
|
| **Ollama** | llama3.1, mistral, gemma3 (runs locally, free) |
|
|
87
85
|
| **Groq** | llama-3.3-70b, mixtral, … |
|
|
88
86
|
|
|
89
|
-
Run `sera setup` to choose your provider and paste in your API key.
|
|
87
|
+
Run `sera setup` to choose your provider and paste in your API key. Ollama needs no API key.
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## Amharic Document Generation
|
|
92
|
+
|
|
93
|
+
SERA writes professional Word (`.docx`) documents in Amharic or English. Files are saved to your Desktop and opened automatically.
|
|
94
|
+
|
|
95
|
+
**Supported document types:**
|
|
96
|
+
|
|
97
|
+
| Type | Amharic Name |
|
|
98
|
+
|---|---|
|
|
99
|
+
| MOU | የስምምነት ማስታወሻ |
|
|
100
|
+
| Meeting Minutes | ቃለ-ጉባኤ |
|
|
101
|
+
| Official Letter | ደብዳቤ |
|
|
102
|
+
| Report | ሪፖርት |
|
|
103
|
+
| Agreement | ስምምነት |
|
|
104
|
+
| Contract | ውል |
|
|
105
|
+
| Custom | any structure |
|
|
106
|
+
|
|
107
|
+
**Examples:**
|
|
108
|
+
|
|
109
|
+
```
|
|
110
|
+
"Write an MOU between Tagcodi and the Ministry of Education"
|
|
111
|
+
"ቃለ-ጉባኤ ጻፍ — ዛሬ ጠዋት ከቦርዱ ጋር የነበረው ስብሰባ"
|
|
112
|
+
"Draft an official letter to the Ministry of Finance"
|
|
113
|
+
"Create meeting minutes — attendees were Kassu, Sara, and John"
|
|
114
|
+
"Write a 1-year service contract between us and our client"
|
|
115
|
+
"ሪፖርት ጻፍ — Q1 የስራ አፈጻጸም"
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
All documents use proper Ethiopic fonts (Nyala on Windows, Kefa on macOS) with correct structure — signature lines, reference numbers, section headings, and standard Amharic phrasing.
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## Amharic Terminology & Learning
|
|
123
|
+
|
|
124
|
+
SERA comes with a built-in Amharic glossary of 60+ standard document terms — legal words, titles, phrases, and document sections — and learns new ones as you teach it.
|
|
125
|
+
|
|
126
|
+
**Pre-loaded categories:**
|
|
127
|
+
|
|
128
|
+
- Document types — `ቃለ-ጉባኤ`, `ደብዳቤ`, `የስምምነት ማስታወሻ`, `ውል`, `ሪፖርት`
|
|
129
|
+
- Legal terms — `ወገን`, `አንቀጽ`, `ፊርማ`, `ግዴታ`, `መብት`, `ቅጣት`
|
|
130
|
+
- Titles & roles — `ሰብሳቢ`, `ፀሐፊ`, `ሃላፊ`, `ወኪል`, `ዳይሬክተር`
|
|
131
|
+
- Formal phrases — `ለክቡርነትዎ`, `በአክብሮት`, `ተዋዋይ ወገኖች`
|
|
132
|
+
- Document sections — `ጉዳዩ`, `ዓላማ`, `ምክረ-ሃሳብ`, `አጀንዳ`, `አባሪ`
|
|
133
|
+
- Ethiopic numerals — ፩ ፪ ፫ ፬ ፭ …
|
|
134
|
+
|
|
135
|
+
**Teaching SERA new words:**
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
"Learn the word ተጠቃሚ — it means beneficiary in legal documents"
|
|
139
|
+
"ሰብሳቢ is also written as ሊቀ-ወንበር — remember that variant"
|
|
140
|
+
"How do you spell the Amharic word for arbitration?"
|
|
141
|
+
"What does ቃለ-ጉባኤ mean?"
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
Every learned term is saved permanently and immediately used in future documents.
|
|
90
145
|
|
|
91
146
|
---
|
|
92
147
|
|
|
93
148
|
## AI Memory
|
|
94
149
|
|
|
95
|
-
SERA remembers things about you across sessions automatically — no prompting needed.
|
|
150
|
+
SERA remembers things about you across sessions automatically — no prompting needed.
|
|
96
151
|
|
|
97
152
|
```
|
|
98
153
|
"My name is Kassu and I live in Helsinki"
|
|
@@ -100,25 +155,21 @@ SERA remembers things about you across sessions automatically — no prompting n
|
|
|
100
155
|
"I'm working on a mobile app called Fana"
|
|
101
156
|
```
|
|
102
157
|
|
|
103
|
-
Next time you open SERA it already knows all of this. View or clear memories any time:
|
|
104
|
-
|
|
105
158
|
```bash
|
|
106
159
|
sera memory # See everything SERA remembers
|
|
107
160
|
sera memory --forget "timezone" # Remove one memory
|
|
108
161
|
sera memory --forget-all # Start fresh
|
|
109
162
|
```
|
|
110
163
|
|
|
111
|
-
Or type `/memory` while chatting.
|
|
112
|
-
|
|
113
164
|
---
|
|
114
165
|
|
|
115
166
|
## Calendar & Contacts
|
|
116
167
|
|
|
117
|
-
On macOS SERA talks directly to Calendar.app and Contacts.app. On other platforms it creates `.ics` / `.vcf` files that open in
|
|
168
|
+
On macOS SERA talks directly to Calendar.app and Contacts.app. On other platforms it creates `.ics` / `.vcf` files that open in your default app.
|
|
118
169
|
|
|
119
170
|
```
|
|
120
|
-
"Add dentist appointment Friday 3pm
|
|
121
|
-
"Add John Smith to my contacts, email john@acme.com
|
|
171
|
+
"Add dentist appointment Friday 3pm with a 30 minute reminder"
|
|
172
|
+
"Add John Smith to my contacts, email john@acme.com"
|
|
122
173
|
"Look up Alice in my contacts"
|
|
123
174
|
"Put this on my Google Calendar: team lunch, Thursday noon"
|
|
124
175
|
```
|
|
@@ -127,18 +178,19 @@ SERA always asks your permission before touching your calendar or contacts.
|
|
|
127
178
|
|
|
128
179
|
---
|
|
129
180
|
|
|
130
|
-
## Background
|
|
181
|
+
## Background Daemon
|
|
131
182
|
|
|
132
|
-
|
|
183
|
+
Runs silently in the background and sends desktop notifications even when SERA is closed.
|
|
133
184
|
|
|
134
185
|
```bash
|
|
135
186
|
sera daemon start # Start background monitoring
|
|
136
187
|
sera daemon install # Auto-start every time you log in
|
|
137
188
|
sera daemon status # Check if it's running
|
|
138
189
|
sera daemon stop # Turn it off
|
|
190
|
+
sera daemon logs # View recent activity
|
|
139
191
|
```
|
|
140
192
|
|
|
141
|
-
|
|
193
|
+
Monitors: overdue tasks, appointment reminders (15 min + at start), daily 9 AM briefing.
|
|
142
194
|
|
|
143
195
|
---
|
|
144
196
|
|
|
@@ -147,10 +199,10 @@ The daemon sends desktop notifications for overdue tasks, upcoming appointments
|
|
|
147
199
|
SERA asks before doing anything that touches your system. You choose how strict:
|
|
148
200
|
|
|
149
201
|
- `ask` — confirm every action
|
|
150
|
-
- `auto` — auto-allow safe actions, ask for risky ones
|
|
202
|
+
- `auto` — auto-allow safe actions, ask for risky ones
|
|
151
203
|
- `allow` — allow everything
|
|
152
204
|
|
|
153
|
-
You can always allow or deny permanently per tool so you're never asked twice
|
|
205
|
+
You can always allow or deny permanently per tool so you're never asked twice.
|
|
154
206
|
|
|
155
207
|
---
|
|
156
208
|
|
|
@@ -164,15 +216,14 @@ Everything stays on your machine. No cloud sync, no tracking.
|
|
|
164
216
|
| `~/.ai-daily-cli/data.json` | Tasks, appointments, notes |
|
|
165
217
|
| `~/.ai-daily-cli/memory.json` | Things SERA remembers about you |
|
|
166
218
|
| `~/.ai-daily-cli/collections.json` | Custom data collections |
|
|
219
|
+
| `~/.ai-daily-cli/amharic-glossary.json` | Amharic terms and learned words |
|
|
167
220
|
|
|
168
|
-
The only outbound traffic is your conversation
|
|
221
|
+
The only outbound traffic is your conversation sent to your chosen AI provider's API.
|
|
169
222
|
|
|
170
223
|
---
|
|
171
224
|
|
|
172
225
|
## In-chat slash commands
|
|
173
226
|
|
|
174
|
-
While chatting you can type these shortcuts:
|
|
175
|
-
|
|
176
227
|
| Command | What it does |
|
|
177
228
|
|---|---|
|
|
178
229
|
| `/help` | Show all slash commands |
|