dailyos 0.1.0-beta.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/LICENSE +21 -0
- package/README.md +64 -0
- package/bin/dailyos.js +21 -0
- package/dist/index.js +17010 -0
- package/package.json +59 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Sashank Tadimeti
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# DailyOS
|
|
2
|
+
|
|
3
|
+
**Your local-first AI planner for your inbox, calendar, tasks, and real-world day.**
|
|
4
|
+
|
|
5
|
+
DailyOS turns Google Calendar commitments, important Gmail messages, local tasks, weather, time, and work preferences into a validated daily timeline. It keeps configuration, SQLite state, approvals, and secret-redacted logs on your machine; protected external actions stop for application-enforced approval.
|
|
6
|
+
|
|
7
|
+
> **Early beta:** Google integrations have automated coverage but have not yet been fully validated against live accounts. Use a dedicated test account.
|
|
8
|
+
|
|
9
|
+
## Quick Start
|
|
10
|
+
|
|
11
|
+
Requires Node.js 20 or newer.
|
|
12
|
+
|
|
13
|
+
```console
|
|
14
|
+
npm install --global dailyos@beta
|
|
15
|
+
dailyos setup
|
|
16
|
+
dailyos
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Offline demo
|
|
20
|
+
|
|
21
|
+
Experience planning, parallel context gathering, weather impact, a proposed focus block, approval, simulated execution, and the local action log without setup, accounts, API keys, model calls, or internet access:
|
|
22
|
+
|
|
23
|
+
```console
|
|
24
|
+
dailyos demo
|
|
25
|
+
dailyos demo --scenario travel-day
|
|
26
|
+
dailyos demo --scenario inbox-overload
|
|
27
|
+
dailyos demo --scenario partial-failure
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Inside the demo, ask `Plan my day.`, then `Approve a focus block.`, then `Show the action log.`
|
|
31
|
+
|
|
32
|
+
The demo also supports `Show schedules.` and `Run morning briefing.` with a deterministic local schedule simulation.
|
|
33
|
+
|
|
34
|
+
## Weekday morning briefing
|
|
35
|
+
|
|
36
|
+
```console
|
|
37
|
+
dailyos schedules add
|
|
38
|
+
dailyos schedules
|
|
39
|
+
dailyos start
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
The briefing stores a weather-aware daily plan and proposed actions locally without sending email or changing Calendar. `dailyos start` is a foreground worker and must remain running; this package does not install a background service.
|
|
43
|
+
|
|
44
|
+
## Core commands
|
|
45
|
+
|
|
46
|
+
```console
|
|
47
|
+
dailyos run "Plan my day."
|
|
48
|
+
dailyos status
|
|
49
|
+
dailyos integrations
|
|
50
|
+
dailyos approvals
|
|
51
|
+
dailyos logs --errors
|
|
52
|
+
dailyos doctor
|
|
53
|
+
dailyos schedules
|
|
54
|
+
dailyos schedules run <id>
|
|
55
|
+
dailyos start --once
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
DailyOS stores local data in `~/.dailyos` by default. Set `DAILYOS_HOME` to use another directory. Gmail and Calendar reads are opt-in through Google OAuth; send and Calendar mutation capabilities use incremental scopes and exact approval prompts.
|
|
59
|
+
|
|
60
|
+
Architecture, security, setup, and development documentation are available in the [DailyOS repository](https://github.com/stadimeti19/DailyOS).
|
|
61
|
+
|
|
62
|
+
## License
|
|
63
|
+
|
|
64
|
+
[MIT](LICENSE)
|
package/bin/dailyos.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const minimumNodeMajor = 20;
|
|
4
|
+
const detectedVersion = process.versions.node;
|
|
5
|
+
const detectedMajor = Number.parseInt(detectedVersion.split(".")[0] ?? "0", 10);
|
|
6
|
+
|
|
7
|
+
if (!Number.isInteger(detectedMajor) || detectedMajor < minimumNodeMajor) {
|
|
8
|
+
console.error(
|
|
9
|
+
`DailyOS requires Node.js ${minimumNodeMajor} or newer. You are running Node.js ${detectedVersion}.\n` +
|
|
10
|
+
"Install a current Node.js LTS release from https://nodejs.org/ and try again.",
|
|
11
|
+
);
|
|
12
|
+
process.exitCode = 1;
|
|
13
|
+
} else {
|
|
14
|
+
try {
|
|
15
|
+
await import("../dist/index.js");
|
|
16
|
+
} catch (error) {
|
|
17
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
18
|
+
console.error(`DailyOS failed to start: ${message}`);
|
|
19
|
+
process.exitCode = 1;
|
|
20
|
+
}
|
|
21
|
+
}
|