daily-focus 1.2.0-dev.9 → 2.0.0-dev.14
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 +18 -4
- package/SETUP.md +156 -105
- package/dist/{audit-DNTFZOHH.js → audit-AQUBVWPA.js} +4 -3
- package/dist/{chunk-KZNY45XW.js → chunk-72NUDSOV.js} +126 -119
- package/dist/{chunk-GQ3NCWRT.js → chunk-ITUK7XKS.js} +6 -19
- package/dist/{chunk-KL6RU4XT.js → chunk-JTMBBUMD.js} +316 -10
- package/dist/chunk-QG4XXKBP.js +18 -0
- package/dist/chunk-U6EPOXEW.js +570 -0
- package/dist/{chunk-P3E2B2SD.js → chunk-WPXIQPYX.js} +1 -1
- package/dist/{chunk-6SMUSPZG.js → chunk-YPGKXTBX.js} +2 -2
- package/dist/cli.js +19 -12
- package/dist/{demo-TIIXODJG.js → demo-KE6WDWMA.js} +159 -37
- package/dist/{init-XDMAXU2S.js → init-5KJVHWJU.js} +41 -6
- package/dist/{seed-TWT7EDXJ.js → seed-T4VEY6DT.js} +4 -3
- package/dist/{server-WT4CQ3VX.js → server-FFRNYEAO.js} +2000 -743
- package/dist/{service-ZUHI3VKH.js → service-LQ46YRCZ.js} +7 -6
- package/package.json +2 -2
- package/prompts/README.md +20 -4
- package/prompts/assistant.md +7 -1
- package/prompts/morning-brief-personal.md +37 -0
- package/prompts/morning-brief-work.md +37 -0
- package/prompts/onboarding.md +41 -0
- package/public/app.js +740 -279
- package/public/style.css +671 -75
- package/dist/chunk-V2UN3JYL.js +0 -140
package/dist/chunk-V2UN3JYL.js
DELETED
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
// src/templates.ts
|
|
2
|
-
var FOCUS_TEMPLATE = `---
|
|
3
|
-
objective:
|
|
4
|
-
blocker:
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
<!--
|
|
8
|
-
Fill in the two lines above: the one thing you are actually trying to achieve right
|
|
9
|
-
now, and what is in the way today, if anything. Leaving \`objective\` blank is fine:
|
|
10
|
-
the dashboard shows a quiet reminder instead. Delete this file to turn the feature
|
|
11
|
-
off entirely.
|
|
12
|
-
|
|
13
|
-
The dashboard renders them at the top of the board, and the briefing agent ranks the
|
|
14
|
-
whole day against them \u2014 so an objective phrased as a project ("ship the thing")
|
|
15
|
-
gives it less to work with than one phrased as a next move ("get the staging path
|
|
16
|
-
working again").
|
|
17
|
-
|
|
18
|
-
Prose below the frontmatter is shown under the objective. Comments like this one are
|
|
19
|
-
not. Keep it short and keep it current. This file is the only input describing what
|
|
20
|
-
you are trying to do, as opposed to what other people sent you overnight.
|
|
21
|
-
-->
|
|
22
|
-
|
|
23
|
-
<!-- agent-only -->
|
|
24
|
-
Everything below this marker is read by the agent and never shown on the board. The
|
|
25
|
-
dashboard shows it only in the editor you open to change it.
|
|
26
|
-
|
|
27
|
-
Put context here that should steer the ranking but shouldn't be on screen during a
|
|
28
|
-
screen share: why this objective matters right now, who is watching it, what is
|
|
29
|
-
riding on it. The agent weighs it, and is told never to quote it into a title or
|
|
30
|
-
detail.
|
|
31
|
-
`;
|
|
32
|
-
var WORK_SOURCES_TEMPLATE = `# Sources
|
|
33
|
-
|
|
34
|
-
The personal half of your morning brief. The prompt next to this file
|
|
35
|
-
(\`prompt.md\`) says *what* to gather and how to judge it; this file says *who* and
|
|
36
|
-
*where*. The briefing agent reads it; the dashboard shows it only in its editor.
|
|
37
|
-
|
|
38
|
-
Replace the placeholders below and delete whatever doesn't apply. A section you leave
|
|
39
|
-
out is fine \u2014 the agent falls back to your primary calendar and connected accounts,
|
|
40
|
-
and reports the gap. A section that is *wrong* is worse than one that is missing.
|
|
41
|
-
|
|
42
|
-
## Identity
|
|
43
|
-
|
|
44
|
-
Meeting notes, Doc assignments and tickets attribute work by name rather than by
|
|
45
|
-
account, so the agent needs to know which name is yours before it can tell your action
|
|
46
|
-
items from everyone else's. Leaving this out doesn't fail loudly \u2014 it just quietly
|
|
47
|
-
stops raising anything from those sources.
|
|
48
|
-
|
|
49
|
-
- Name, as meeting notes and Doc assignments write it: \`Your Name\`
|
|
50
|
-
- Work email: \`you@example.com\`
|
|
51
|
-
- GitHub login: \`your-github-login\` \u2014 review requests and authorship are judged
|
|
52
|
-
against it
|
|
53
|
-
|
|
54
|
-
## Calendars
|
|
55
|
-
|
|
56
|
-
Query:
|
|
57
|
-
|
|
58
|
-
- the primary work calendar
|
|
59
|
-
- \`Some Shared Calendar\` \u2014 a second calendar whose events should still block time
|
|
60
|
-
|
|
61
|
-
Never query or include: \`Some Noisy Calendar\`.
|
|
62
|
-
|
|
63
|
-
## Holiday calendars
|
|
64
|
-
|
|
65
|
-
- \`Holidays in <where your colleagues are>\` \u2014 a holiday there means slow replies, and
|
|
66
|
-
it is worth saying so.
|
|
67
|
-
- \`Holidays in <where you are>\` \u2014 call one out today, or within the next 14 days.
|
|
68
|
-
|
|
69
|
-
## Recurring meeting notes
|
|
70
|
-
|
|
71
|
-
Documents to re-read on every run. Name the tab where it matters, since these tend to
|
|
72
|
-
be long and only one part is current:
|
|
73
|
-
|
|
74
|
-
- https://docs.google.com/document/d/<document id>/edit?tab=t.0 \u2014 what meeting it is
|
|
75
|
-
`;
|
|
76
|
-
var PERSONAL_SOURCES_TEMPLATE = `# Sources
|
|
77
|
-
|
|
78
|
-
The private half of your morning brief. The prompt next to this file
|
|
79
|
-
(\`prompt.md\`) says *what* to gather and how to judge it; this file says *who* and
|
|
80
|
-
*where*. The briefing agent reads it; the dashboard shows it only in its editor.
|
|
81
|
-
|
|
82
|
-
Replace the placeholders below and delete whatever doesn't apply. A section you leave
|
|
83
|
-
out is fine \u2014 the agent reports the gap. A section that is *wrong* is worse than one
|
|
84
|
-
that is missing.
|
|
85
|
-
|
|
86
|
-
## Identity
|
|
87
|
-
|
|
88
|
-
- Name: \`Your Name\`
|
|
89
|
-
- Personal email: \`you@personal.example\`
|
|
90
|
-
- GitHub login: \`your-github-login\` \u2014 review requests and authorship are judged
|
|
91
|
-
against it
|
|
92
|
-
|
|
93
|
-
## My weeks
|
|
94
|
-
|
|
95
|
-
What decides how much of a day is yours, so the agent can set the day's bounds: when
|
|
96
|
-
work ends, regular pickups, a rhythm that alternates week to week and how to tell
|
|
97
|
-
which week it is.
|
|
98
|
-
|
|
99
|
-
- Workdays end at 16:00; personal time is from then until 22:00.
|
|
100
|
-
|
|
101
|
-
## Calendars
|
|
102
|
-
|
|
103
|
-
- \`Personal\`
|
|
104
|
-
- \`Family\` \u2014 shared; its events block time too
|
|
105
|
-
|
|
106
|
-
Never query or include: \`Some Noisy Calendar\`.
|
|
107
|
-
|
|
108
|
-
## Holiday calendars
|
|
109
|
-
|
|
110
|
-
- \`Holidays in <where you live>\` \u2014 including school holidays, if there is one
|
|
111
|
-
|
|
112
|
-
## Email
|
|
113
|
-
|
|
114
|
-
Which tool reaches the account, and any senders to always raise or always skip.
|
|
115
|
-
|
|
116
|
-
## e-Boks
|
|
117
|
-
|
|
118
|
-
Which tool or CLI reaches it.
|
|
119
|
-
|
|
120
|
-
## Reminders
|
|
121
|
-
|
|
122
|
-
Which tool reaches Apple Reminders, and which lists to read. Unset means all of them.
|
|
123
|
-
|
|
124
|
-
## Messages
|
|
125
|
-
|
|
126
|
-
Which tool reaches Apple Messages, and any conversations to skip.
|
|
127
|
-
|
|
128
|
-
## GitHub
|
|
129
|
-
|
|
130
|
-
Which repositories or organisations are your own projects. Unset means everything
|
|
131
|
-
the login above has open.
|
|
132
|
-
`;
|
|
133
|
-
function sourcesTemplate(profile) {
|
|
134
|
-
return profile === "personal" ? PERSONAL_SOURCES_TEMPLATE : WORK_SOURCES_TEMPLATE;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export {
|
|
138
|
-
FOCUS_TEMPLATE,
|
|
139
|
-
sourcesTemplate
|
|
140
|
-
};
|