cowork-dash 0.1.4__py3-none-any.whl → 0.1.5__py3-none-any.whl
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.
- cowork_dash/agent.py +4 -4
- cowork_dash/app.py +668 -106
- cowork_dash/assets/app.js +12 -1
- cowork_dash/assets/favicon.ico +0 -0
- cowork_dash/assets/styles.css +144 -2
- cowork_dash/canvas.py +194 -80
- cowork_dash/cli.py +7 -0
- cowork_dash/components.py +194 -104
- cowork_dash/config.py +13 -0
- cowork_dash/file_utils.py +17 -6
- cowork_dash/layout.py +115 -23
- cowork_dash/tools.py +88 -11
- {cowork_dash-0.1.4.dist-info → cowork_dash-0.1.5.dist-info}/METADATA +31 -40
- cowork_dash-0.1.5.dist-info/RECORD +20 -0
- cowork_dash-0.1.4.dist-info/RECORD +0 -19
- {cowork_dash-0.1.4.dist-info → cowork_dash-0.1.5.dist-info}/WHEEL +0 -0
- {cowork_dash-0.1.4.dist-info → cowork_dash-0.1.5.dist-info}/entry_points.txt +0 -0
- {cowork_dash-0.1.4.dist-info → cowork_dash-0.1.5.dist-info}/licenses/LICENSE +0 -0
cowork_dash/agent.py
CHANGED
|
@@ -85,14 +85,14 @@ Work iteratively like a human using Jupyter:
|
|
|
85
85
|
4. Keep cells focused on single tasks for easier debugging
|
|
86
86
|
|
|
87
87
|
### General
|
|
88
|
-
1.
|
|
89
|
-
2.
|
|
88
|
+
1. ALWAYS use write_todos to track your progress and next steps
|
|
89
|
+
2. ALWAYS think_tool to reason through reqests, irrespective of complexity
|
|
90
90
|
3. Be proactive in exploring the filesystem when relevant
|
|
91
91
|
4. Provide clear, helpful responses
|
|
92
92
|
|
|
93
93
|
The workspace is your sandbox - feel free to create files, organize content, and help users manage their projects."""
|
|
94
94
|
|
|
95
|
-
backend = FilesystemBackend(root_dir=str("
|
|
95
|
+
backend = FilesystemBackend(root_dir=str("/"), virtual_mode=True)
|
|
96
96
|
|
|
97
97
|
agent = create_deep_agent(
|
|
98
98
|
system_prompt=SYSTEM_PROMPT,
|
|
@@ -113,6 +113,6 @@ agent = create_deep_agent(
|
|
|
113
113
|
get_notebook_canvas_items,
|
|
114
114
|
clear_notebook_canvas_items,
|
|
115
115
|
],
|
|
116
|
-
|
|
116
|
+
interrupt_on=dict(bash=True),
|
|
117
117
|
checkpointer=InMemorySaver()
|
|
118
118
|
)
|