Skip to content

Commit c40b610

Browse files
committed
Merge branch 'feature/tasks' into development
2 parents b022e74 + acf7196 commit c40b610

146 files changed

Lines changed: 6686 additions & 8020 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ cover/
6767
*.log
6868
local_settings.py
6969
db.sqlite3
70-
db.sqlite3-journal
70+
db.sqlite3-tasks
7171

7272
# Flask stuff:
7373
instance/

README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@
5555
![Journl](https://github.com/user-attachments/assets/467fd26d-18a4-4107-98a9-05fa83b26a77)
5656

5757
<div align="center">
58-
<p>The Journal page is the central page of the app - use it to track your day and Sentient gets stuff done.</p>
58+
<p>The Organizer page is the central page of the app - use it to track your day and Sentient gets stuff done.</p>
5959
</div>
6060

6161
![image](https://github.com/user-attachments/assets/fcf05b39-7f8d-46f8-9702-e0791f27f918)
6262

6363
<div align="center">
64-
<p>Sentient co-authors the journal with you.</p>
64+
<p>Sentient co-authors the organizer with you.</p>
6565
</div>
6666

6767
![image](https://github.com/user-attachments/assets/319d7c35-9046-4ea1-a369-88ab1a9ded8e)
@@ -78,24 +78,24 @@ Sentient automatically collects information from connected applications like **G
7878

7979
### 📝 Memory System
8080

81-
- **SuperMemory:** Permanent facts about you—your preferences, relationships, and key details—are stored and managed through an integration with **Supermemory**, creating a rich, personalized knowledge base that the agent can update and retrieve from anytime.
82-
- **Notes & Journal:** A full-featured journal allows you to simply write down what's on your mind and have Sentient manage it for you. Sentient can also write to this journal, giving you updates on what it's doing and more. The journal also helps you keep track of scheduled and recurring tasks created by Sentient. Any information obtained from your context sources is also populated in the journal.
81+
- **SuperMemory:** Permanent facts about you—your preferences, relationships, and key details—are stored and managed through an integration with **Supermemory**, creating a rich, personalized knowledge base that the agent can update and retrieve from anytime.
82+
- **Notes & Organizer:** A full-featured organizer allows you to simply write down what's on your mind and have Sentient manage it for you. Sentient can also write to this organizer, giving you updates on what it's doing and more. The organizer also helps you keep track of scheduled and recurring tasks created by Sentient. Any information obtained from your context sources is also populated in the organizer.
8383

8484
### 🤖 Autonomous Task & Agent System
8585

86-
- **Generate Plans from Goals:** Sentient can generate detailed plans to execute tasks using connected tools, all from a simple high-level goal.
87-
- **Asynchronous Execution:** Once approved, tasks are handled **asynchronously** in the background - you can approve as many tasks as you want simultaneously. The executor agent intelligently uses the available tools to complete the plan, providing real-time progress updates.
88-
- **View & Manage Tasks:** A dedicated **Tasks page** lets you view active, pending, and completed tasks, check their progress, and see the final results.
86+
- **Generate Plans from Goals:** Sentient can generate detailed plans to execute tasks using connected tools, all from a simple high-level goal.
87+
- **Asynchronous Execution:** Once approved, tasks are handled **asynchronously** in the background - you can approve as many tasks as you want simultaneously. The executor agent intelligently uses the available tools to complete the plan, providing real-time progress updates.
88+
- **View & Manage Tasks:** A dedicated **Tasks page** lets you view active, pending, and completed tasks, check their progress, and see the final results.
8989

9090
### 🔌 Extensive Integrations (MCP Hub)
9191

9292
Our **Model Context Protocol (MCP)** hub allows for a powerful, distributed system of tools. Current integrations include:
9393

94-
- **Google Suite:** Gmail, Google Calendar, Google Drive, Google Docs, Google Sheets, and Google Slides.
95-
- **Productivity:** Slack and Notion.
96-
- **Developer:** GitHub.
97-
- **Information:** Internet Search (Google Search), News (NewsAPI), Weather (AccuWeather), Google Shopping and Google Maps.
98-
- **Miscellaneous:** QuickChart for generating charts on the fly.
94+
- **Google Suite:** Gmail, Google Calendar, Google Drive, Google Docs, Google Sheets, and Google Slides.
95+
- **Productivity:** Slack and Notion.
96+
- **Developer:** GitHub.
97+
- **Information:** Internet Search (Google Search), News (NewsAPI), Weather (AccuWeather), Google Shopping and Google Maps.
98+
- **Miscellaneous:** QuickChart for generating charts on the fly.
9999

100100
More tools will be added soon.
101101

@@ -107,9 +107,9 @@ A chat interface is available on any page. It allows you to have conversations w
107107

108108
A central settings page gives you complete control:
109109

110-
- Connect or disconnect applications with OAuth (for applications supporting OAuth) or manually.
111-
- Set custom privacy filters to prevent Sentient from processing context containing sensitive information.
112-
- Configure WhatsApp notifications to stay updated on the go.
110+
- Connect or disconnect applications with OAuth (for applications supporting OAuth) or manually.
111+
- Set custom privacy filters to prevent Sentient from processing context containing sensitive information.
112+
- Configure WhatsApp notifications to stay updated on the go.
113113

114114
### 🔒 Self-Hostable
115115

@@ -121,12 +121,12 @@ The entire platform can be self-hosted and configured to run fully locally. [Che
121121

122122
We are constantly working to expand Sentient's capabilities. Here is a glimpse of what's planned for the future:
123123

124-
- **Make the Web App as feature-rich as possible:** There is a lot that can be improved in the existing webapp.
125-
- **OS-Level Integration:** Launch native apps for `Windows`, `MacOS`, `Android` and `iOS` that allow for deeper integrations.
126-
- **Expanded Integrations:** Add support for more popular services, such as the `Microsoft 365 Suite`, `Spotify`, and so on.
127-
- **Advanced Reasoning & Planning:** Reasoning improvements for the planning and execution pipeline.
128-
- **Tool-Specific UI:** Enhance the interface with custom UI components for specific tool outputs, such as maps for location-based results.
129-
- **Custom Tool Integrations:** Let users add any app of their choice.
124+
- **Make the Web App as feature-rich as possible:** There is a lot that can be improved in the existing webapp.
125+
- **OS-Level Integration:** Launch native apps for `Windows`, `MacOS`, `Android` and `iOS` that allow for deeper integrations.
126+
- **Expanded Integrations:** Add support for more popular services, such as the `Microsoft 365 Suite`, `Spotify`, and so on.
127+
- **Advanced Reasoning & Planning:** Reasoning improvements for the planning and execution pipeline.
128+
- **Tool-Specific UI:** Enhance the interface with custom UI components for specific tool outputs, such as maps for location-based results.
129+
- **Custom Tool Integrations:** Let users add any app of their choice.
130130

131131
## :wave: Contributing
132132

dev/null

Whitespace-only changes.

src/client/.env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ AUTH0_ISSUER_BASE_URL="" # Your Auth0 domain with protocol, e.g. "https://YOUR_T
1111
AUTH0_CLIENT_ID=
1212
AUTH0_CLIENT_SECRET=
1313
AUTH0_AUDIENCE=
14-
AUTH0_SCOPE='openid profile email offline_access read:chat write:chat read:profile write:profile manage:google_auth read:tasks write:tasks read:notifications read:config write:config admin:user_metadata read:contacts write:contacts'
14+
AUTH0_SCOPE='openid profile email offline_access read:profile write:profile read:tasks write:tasks read:notifications read:config write:config admin:user_metadata read:contacts write:contacts'
1515

1616
# --- Analytics (Optional) ---
1717
# If you want to enable product analytics, provide your PostHog project key.

src/client/app/api/chat/message/route.js

Lines changed: 0 additions & 78 deletions
This file was deleted.

src/client/app/api/journal/route.js

Lines changed: 0 additions & 128 deletions
This file was deleted.

src/client/app/api/notifications/route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const GET = withAuth(async function GET(request, { authHeader }) {
1616

1717
const data = await response.json()
1818
if (!response.ok) {
19-
throw new Error(data.error || "Failed to fetch notifications")
19+
throw new Error(data.detail || "Failed to fetch notifications")
2020
}
2121
return NextResponse.json(data)
2222
} catch (error) {

src/client/app/api/onboarding/route.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ const appServerUrl =
99
export const POST = withAuth(async function POST(request, { authHeader }) {
1010
try {
1111
const onboardingData = await request.json()
12-
// FIX: The request body from the client is already in the correct format { data: ... }.
13-
// It should not be wrapped again.
1412
const response = await fetch(`${appServerUrl}/api/onboarding`, {
1513
method: "POST",
1614
headers: { "Content-Type": "application/json", ...authHeader },

src/client/app/api/tasks/[taskId]/route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const GET = withAuth(async function GET(
2121

2222
try {
2323
const response = await fetch(
24-
`${APP_SERVER_URL}/agents/tasks/${taskId}`,
24+
`${APP_SERVER_URL}/tasks/tasks/${taskId}`,
2525
{
2626
headers: { "Content-Type": "application/json", ...authHeader }
2727
}

src/client/app/api/tasks/add/route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const appServerUrl =
1010
export const POST = withAuth(async function POST(request, { authHeader }) {
1111
try {
1212
const taskData = await request.json()
13-
const response = await fetch(`${appServerUrl}/agents/add-task`, {
13+
const response = await fetch(`${appServerUrl}/tasks/add-task`, {
1414
method: "POST",
1515
headers: { "Content-Type": "application/json", ...authHeader },
1616
body: JSON.stringify(taskData)

0 commit comments

Comments
 (0)