Spaces:
Paused
Paused
Merge branch 'main' into hf
Browse files- CHANGELOG.md +11 -0
- README.md +8 -3
- src/app.py +8 -14
- tests/data/calendar.ics +58 -55
CHANGELOG.md
CHANGED
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file. See [commit
|
|
5 |
## [0.5.4](///compare/v0.5.3...v0.5.4) (2025-06-20)
|
6 |
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
### β BREAKING CHANGES
|
9 |
|
10 |
* add task pinning system and refactor existing systems
|
|
|
5 |
## [0.5.4](///compare/v0.5.3...v0.5.4) (2025-06-20)
|
6 |
|
7 |
|
8 |
+
### β BREAKING CHANGES
|
9 |
+
|
10 |
+
* add task pinning system and refactor existing systems
|
11 |
+
|
12 |
+
### Features
|
13 |
+
|
14 |
+
* add task pinning system and refactor existing systems e3a1efe
|
15 |
+
|
16 |
+
## [0.5.4](///compare/v0.5.3...v0.5.4) (2025-06-20)
|
17 |
+
|
18 |
+
|
19 |
### β BREAKING CHANGES
|
20 |
|
21 |
* add task pinning system and refactor existing systems
|
README.md
CHANGED
@@ -175,18 +175,23 @@ Currently, the **Gradio web demo** and **MCP personal tool** operate as separate
|
|
175 |
cd yuga-planner
|
176 |
```
|
177 |
|
178 |
-
2. **
|
|
|
|
|
|
|
|
|
|
|
179 |
```bash
|
180 |
make install
|
181 |
```
|
182 |
|
183 |
-
|
184 |
```bash
|
185 |
make setup-secrets
|
186 |
# Then edit tests/secrets/cred.py to add your API credentials
|
187 |
```
|
188 |
|
189 |
-
|
190 |
```bash
|
191 |
make run
|
192 |
```
|
|
|
175 |
cd yuga-planner
|
176 |
```
|
177 |
|
178 |
+
2. **Create a virtual environment:**
|
179 |
+
```bash
|
180 |
+
make venv
|
181 |
+
```
|
182 |
+
|
183 |
+
3. **Install dependencies:**
|
184 |
```bash
|
185 |
make install
|
186 |
```
|
187 |
|
188 |
+
4. **Set up environment variables / secrets:**
|
189 |
```bash
|
190 |
make setup-secrets
|
191 |
# Then edit tests/secrets/cred.py to add your API credentials
|
192 |
```
|
193 |
|
194 |
+
5. **Run the app:**
|
195 |
```bash
|
196 |
make run
|
197 |
```
|
src/app.py
CHANGED
@@ -51,8 +51,14 @@ def app(debug: bool = False):
|
|
51 |
with gr.Blocks() as demo:
|
52 |
gr.Markdown(
|
53 |
"""
|
54 |
-
# Yuga Planner
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
"""
|
57 |
)
|
58 |
|
@@ -66,18 +72,6 @@ def app(debug: bool = False):
|
|
66 |
|
67 |
def _draw_info_page(debug: bool = False):
|
68 |
with gr.Tab("π Information"):
|
69 |
-
gr.Markdown(
|
70 |
-
"""
|
71 |
-
# π Yuga Planner
|
72 |
-
|
73 |
-
**Yuga Planner** is a neuro-symbolic system that combines AI agents with constraint optimization
|
74 |
-
for intelligent scheduling.
|
75 |
-
|
76 |
-
## π **Using as MCP Tool**
|
77 |
-
|
78 |
-
You can use Yuga Planner as an MCP server to integrate scheduling into your AI workflows.
|
79 |
-
"""
|
80 |
-
)
|
81 |
|
82 |
def get_server_url():
|
83 |
try:
|
|
|
51 |
with gr.Blocks() as demo:
|
52 |
gr.Markdown(
|
53 |
"""
|
54 |
+
# π Yuga Planner
|
55 |
+
|
56 |
+
**Yuga Planner** is a neuro-symbolic system that combines AI agents with constraint optimization
|
57 |
+
for intelligent scheduling.
|
58 |
+
|
59 |
+
## π **Using as MCP Tool**
|
60 |
+
|
61 |
+
You can use Yuga Planner as an MCP server to integrate scheduling into your AI workflows.
|
62 |
"""
|
63 |
)
|
64 |
|
|
|
72 |
|
73 |
def _draw_info_page(debug: bool = False):
|
74 |
with gr.Tab("π Information"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
|
76 |
def get_server_url():
|
77 |
try:
|
tests/data/calendar.ics
CHANGED
@@ -1,56 +1,59 @@
|
|
1 |
-
BEGIN:VCALENDAR
|
2 |
-
VERSION:2.0
|
3 |
-
PRODID:-//
|
4 |
-
CALSCALE:GREGORIAN
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
BEGIN:VEVENT
|
25 |
-
|
26 |
-
|
27 |
-
DTSTART;TZID=
|
28 |
-
DTEND;TZID=
|
29 |
-
SUMMARY:
|
30 |
-
END:VEVENT
|
31 |
-
|
32 |
-
|
33 |
-
UID:single-event-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
|
|
|
|
|
|
56 |
END:VCALENDAR
|
|
|
1 |
+
BEGIN:VCALENDAR
|
2 |
+
VERSION:2.0
|
3 |
+
PRODID:-//ical.marudot.com//iCal Event Maker
|
4 |
+
CALSCALE:GREGORIAN
|
5 |
+
BEGIN:VTIMEZONE
|
6 |
+
TZID:Africa/Lagos
|
7 |
+
LAST-MODIFIED:20240422T053450Z
|
8 |
+
TZURL:https://www.tzurl.org/zoneinfo-outlook/Africa/Lagos
|
9 |
+
X-LIC-LOCATION:Africa/Lagos
|
10 |
+
BEGIN:STANDARD
|
11 |
+
TZNAME:WAT
|
12 |
+
TZOFFSETFROM:+0100
|
13 |
+
TZOFFSETTO:+0100
|
14 |
+
DTSTART:19700101T000000
|
15 |
+
END:STANDARD
|
16 |
+
END:VTIMEZONE
|
17 |
+
BEGIN:VEVENT
|
18 |
+
DTSTAMP:20250620T134120Z
|
19 |
+
UID:recur-meeting-2@mock
|
20 |
+
DTSTART;TZID=Africa/Lagos:20250602T150000
|
21 |
+
DTEND;TZID=Africa/Lagos:20250602T160000
|
22 |
+
SUMMARY:Project Review
|
23 |
+
END:VEVENT
|
24 |
+
BEGIN:VEVENT
|
25 |
+
DTSTAMP:20250620T134120Z
|
26 |
+
UID:recur-meeting-1@mock
|
27 |
+
DTSTART;TZID=Africa/Lagos:20250603T100000
|
28 |
+
DTEND;TZID=Africa/Lagos:20250603T110000
|
29 |
+
SUMMARY:Team Sync
|
30 |
+
END:VEVENT
|
31 |
+
BEGIN:VEVENT
|
32 |
+
DTSTAMP:20250620T134120Z
|
33 |
+
UID:single-event-1@mock
|
34 |
+
DTSTART;TZID=Africa/Lagos:20250605T140000
|
35 |
+
DTEND;TZID=Africa/Lagos:20250605T150000
|
36 |
+
SUMMARY:Client Call
|
37 |
+
END:VEVENT
|
38 |
+
BEGIN:VEVENT
|
39 |
+
DTSTAMP:20250620T134120Z
|
40 |
+
UID:single-event-2@mock
|
41 |
+
DTSTART;TZID=Africa/Lagos:20250616T160000
|
42 |
+
DTEND;TZID=Africa/Lagos:20250616T170000
|
43 |
+
SUMMARY:Workshop
|
44 |
+
END:VEVENT
|
45 |
+
BEGIN:VEVENT
|
46 |
+
DTSTAMP:20250620T134120Z
|
47 |
+
UID:single-event-3@mock
|
48 |
+
DTSTART;TZID=Africa/Lagos:20250707T110000
|
49 |
+
DTEND;TZID=Africa/Lagos:20250707T120000
|
50 |
+
SUMMARY:Planning Session
|
51 |
+
END:VEVENT
|
52 |
+
BEGIN:VEVENT
|
53 |
+
DTSTAMP:20250620T134120Z
|
54 |
+
UID:single-event-4@mock
|
55 |
+
DTSTART;TZID=Africa/Lagos:20250722T090000
|
56 |
+
DTEND;TZID=Africa/Lagos:20250722T100000
|
57 |
+
SUMMARY:Demo
|
58 |
+
END:VEVENT
|
59 |
END:VCALENDAR
|