deepmate 0.1.0__tar.gz
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.
- deepmate-0.1.0/LICENSE +21 -0
- deepmate-0.1.0/PKG-INFO +231 -0
- deepmate-0.1.0/README.md +203 -0
- deepmate-0.1.0/pyproject.toml +58 -0
- deepmate-0.1.0/setup.cfg +4 -0
- deepmate-0.1.0/src/deepmate/__init__.py +5 -0
- deepmate-0.1.0/src/deepmate/__main__.py +5 -0
- deepmate-0.1.0/src/deepmate/activity/__init__.py +10 -0
- deepmate-0.1.0/src/deepmate/activity/journal.py +269 -0
- deepmate-0.1.0/src/deepmate/app/__init__.py +47 -0
- deepmate-0.1.0/src/deepmate/app/settings.py +1620 -0
- deepmate-0.1.0/src/deepmate/behavior/__init__.py +27 -0
- deepmate-0.1.0/src/deepmate/behavior/rules.py +622 -0
- deepmate-0.1.0/src/deepmate/behavior/runtime.py +406 -0
- deepmate-0.1.0/src/deepmate/builtin_skills/architecture-advisor/SKILL.md +36 -0
- deepmate-0.1.0/src/deepmate/builtin_skills/data-advisor/SKILL.md +36 -0
- deepmate-0.1.0/src/deepmate/builtin_skills/delivery-advisor/SKILL.md +35 -0
- deepmate-0.1.0/src/deepmate/builtin_skills/html-report/SKILL.md +53 -0
- deepmate-0.1.0/src/deepmate/builtin_skills/prd/SKILL.md +63 -0
- deepmate-0.1.0/src/deepmate/builtin_skills/product-advisor/SKILL.md +35 -0
- deepmate-0.1.0/src/deepmate/builtin_skills/research-advisor/SKILL.md +36 -0
- deepmate-0.1.0/src/deepmate/builtin_skills/research-brief/SKILL.md +60 -0
- deepmate-0.1.0/src/deepmate/builtin_skills/tech-diagram/SKILL.md +143 -0
- deepmate-0.1.0/src/deepmate/builtin_skills/technical-architecture/SKILL.md +63 -0
- deepmate-0.1.0/src/deepmate/builtin_skills/ux-advisor/SKILL.md +36 -0
- deepmate-0.1.0/src/deepmate/capabilities/__init__.py +47 -0
- deepmate-0.1.0/src/deepmate/capabilities/maintenance.py +357 -0
- deepmate-0.1.0/src/deepmate/capabilities/state.py +522 -0
- deepmate-0.1.0/src/deepmate/capabilities/surface.py +137 -0
- deepmate-0.1.0/src/deepmate/channels/__init__.py +7 -0
- deepmate-0.1.0/src/deepmate/channels/checkpointing.py +299 -0
- deepmate-0.1.0/src/deepmate/channels/cli.py +6626 -0
- deepmate-0.1.0/src/deepmate/channels/interactive.py +1408 -0
- deepmate-0.1.0/src/deepmate/channels/remote/__init__.py +13 -0
- deepmate-0.1.0/src/deepmate/channels/remote/binding.py +327 -0
- deepmate-0.1.0/src/deepmate/channels/session_lineage.py +289 -0
- deepmate-0.1.0/src/deepmate/channels/session_maintenance.py +1191 -0
- deepmate-0.1.0/src/deepmate/channels/skill_view.py +330 -0
- deepmate-0.1.0/src/deepmate/channels/tui/__init__.py +21 -0
- deepmate-0.1.0/src/deepmate/channels/tui/app.py +5604 -0
- deepmate-0.1.0/src/deepmate/channels/tui/bridge.py +1137 -0
- deepmate-0.1.0/src/deepmate/channels/tui/commands.py +1421 -0
- deepmate-0.1.0/src/deepmate/channels/tui/files.py +536 -0
- deepmate-0.1.0/src/deepmate/channels/tui/formatters.py +654 -0
- deepmate-0.1.0/src/deepmate/channels/tui/render.py +526 -0
- deepmate-0.1.0/src/deepmate/channels/tui/state.py +336 -0
- deepmate-0.1.0/src/deepmate/channels/tui/status.py +398 -0
- deepmate-0.1.0/src/deepmate/channels/wecom/__init__.py +15 -0
- deepmate-0.1.0/src/deepmate/channels/wecom/channel.py +1798 -0
- deepmate-0.1.0/src/deepmate/channels/wecom/client.py +251 -0
- deepmate-0.1.0/src/deepmate/context/__init__.py +27 -0
- deepmate-0.1.0/src/deepmate/context/builder.py +538 -0
- deepmate-0.1.0/src/deepmate/context/snapshot.py +103 -0
- deepmate-0.1.0/src/deepmate/cron/__init__.py +14 -0
- deepmate-0.1.0/src/deepmate/cron/commands.py +262 -0
- deepmate-0.1.0/src/deepmate/cron/model.py +309 -0
- deepmate-0.1.0/src/deepmate/cron/planner.py +335 -0
- deepmate-0.1.0/src/deepmate/cron/runner.py +323 -0
- deepmate-0.1.0/src/deepmate/cron/schedule.py +113 -0
- deepmate-0.1.0/src/deepmate/cron/store.py +187 -0
- deepmate-0.1.0/src/deepmate/domain/__init__.py +24 -0
- deepmate-0.1.0/src/deepmate/domain/approval.py +18 -0
- deepmate-0.1.0/src/deepmate/domain/artifact.py +17 -0
- deepmate-0.1.0/src/deepmate/domain/capability.py +37 -0
- deepmate-0.1.0/src/deepmate/domain/errors.py +18 -0
- deepmate-0.1.0/src/deepmate/domain/event.py +18 -0
- deepmate-0.1.0/src/deepmate/domain/memory.py +34 -0
- deepmate-0.1.0/src/deepmate/domain/message.py +26 -0
- deepmate-0.1.0/src/deepmate/domain/profile.py +19 -0
- deepmate-0.1.0/src/deepmate/evolution/__init__.py +89 -0
- deepmate-0.1.0/src/deepmate/evolution/behavior.py +227 -0
- deepmate-0.1.0/src/deepmate/evolution/changes.py +379 -0
- deepmate-0.1.0/src/deepmate/evolution/evidence_mining.py +358 -0
- deepmate-0.1.0/src/deepmate/evolution/failure_patterns.py +356 -0
- deepmate-0.1.0/src/deepmate/evolution/generated_skills.py +507 -0
- deepmate-0.1.0/src/deepmate/evolution/maintenance.py +892 -0
- deepmate-0.1.0/src/deepmate/foundation/__init__.py +20 -0
- deepmate-0.1.0/src/deepmate/foundation/path.py +15 -0
- deepmate-0.1.0/src/deepmate/foundation/text.py +67 -0
- deepmate-0.1.0/src/deepmate/foundation/time.py +18 -0
- deepmate-0.1.0/src/deepmate/foundation/tool_schema.py +185 -0
- deepmate-0.1.0/src/deepmate/local/__init__.py +40 -0
- deepmate-0.1.0/src/deepmate/local/ollama.py +648 -0
- deepmate-0.1.0/src/deepmate/local/presets.py +201 -0
- deepmate-0.1.0/src/deepmate/local/state.py +161 -0
- deepmate-0.1.0/src/deepmate/mcp/__init__.py +65 -0
- deepmate-0.1.0/src/deepmate/mcp/catalog.py +340 -0
- deepmate-0.1.0/src/deepmate/mcp/client.py +859 -0
- deepmate-0.1.0/src/deepmate/mcp/discovery.py +138 -0
- deepmate-0.1.0/src/deepmate/mcp/executor.py +433 -0
- deepmate-0.1.0/src/deepmate/mcp/output_policy.py +262 -0
- deepmate-0.1.0/src/deepmate/mcp/spec.py +161 -0
- deepmate-0.1.0/src/deepmate/mcp/state.py +361 -0
- deepmate-0.1.0/src/deepmate/memory/__init__.py +63 -0
- deepmate-0.1.0/src/deepmate/memory/curator.py +715 -0
- deepmate-0.1.0/src/deepmate/memory/extractor.py +317 -0
- deepmate-0.1.0/src/deepmate/memory/maintenance.py +787 -0
- deepmate-0.1.0/src/deepmate/memory/manager.py +459 -0
- deepmate-0.1.0/src/deepmate/pet/__init__.py +49 -0
- deepmate-0.1.0/src/deepmate/pet/copy.py +159 -0
- deepmate-0.1.0/src/deepmate/pet/electron_host.py +151 -0
- deepmate-0.1.0/src/deepmate/pet/events.py +328 -0
- deepmate-0.1.0/src/deepmate/pet/learning.py +235 -0
- deepmate-0.1.0/src/deepmate/pet/pets.py +224 -0
- deepmate-0.1.0/src/deepmate/pet/policy.py +39 -0
- deepmate-0.1.0/src/deepmate/pet/service.py +651 -0
- deepmate-0.1.0/src/deepmate/pet/state.py +368 -0
- deepmate-0.1.0/src/deepmate/preview_deploy/__init__.py +14 -0
- deepmate-0.1.0/src/deepmate/preview_deploy/commands.py +996 -0
- deepmate-0.1.0/src/deepmate/preview_deploy/health.py +37 -0
- deepmate-0.1.0/src/deepmate/preview_deploy/state.py +197 -0
- deepmate-0.1.0/src/deepmate/preview_deploy/supervisor.py +242 -0
- deepmate-0.1.0/src/deepmate/preview_deploy/tunnel.py +465 -0
- deepmate-0.1.0/src/deepmate/providers/__init__.py +39 -0
- deepmate-0.1.0/src/deepmate/providers/base.py +15 -0
- deepmate-0.1.0/src/deepmate/providers/chat_completions.py +933 -0
- deepmate-0.1.0/src/deepmate/providers/messages.py +213 -0
- deepmate-0.1.0/src/deepmate/providers/usage.py +20 -0
- deepmate-0.1.0/src/deepmate/qa/__init__.py +33 -0
- deepmate-0.1.0/src/deepmate/qa/commands.py +349 -0
- deepmate-0.1.0/src/deepmate/qa/context.py +82 -0
- deepmate-0.1.0/src/deepmate/qa/discovery.py +231 -0
- deepmate-0.1.0/src/deepmate/qa/engine.py +177 -0
- deepmate-0.1.0/src/deepmate/qa/model.py +255 -0
- deepmate-0.1.0/src/deepmate/qa/planner.py +556 -0
- deepmate-0.1.0/src/deepmate/qa/report.py +165 -0
- deepmate-0.1.0/src/deepmate/qa/runner.py +237 -0
- deepmate-0.1.0/src/deepmate/qa/store.py +306 -0
- deepmate-0.1.0/src/deepmate/runtime/__init__.py +261 -0
- deepmate-0.1.0/src/deepmate/runtime/activation.py +118 -0
- deepmate-0.1.0/src/deepmate/runtime/agent_loop.py +3048 -0
- deepmate-0.1.0/src/deepmate/runtime/checkpoint_update.py +384 -0
- deepmate-0.1.0/src/deepmate/runtime/conversation_budget.py +352 -0
- deepmate-0.1.0/src/deepmate/runtime/cost_summary.py +125 -0
- deepmate-0.1.0/src/deepmate/runtime/delivery_review.py +336 -0
- deepmate-0.1.0/src/deepmate/runtime/diagnostics.py +368 -0
- deepmate-0.1.0/src/deepmate/runtime/followup.py +89 -0
- deepmate-0.1.0/src/deepmate/runtime/hooks/__init__.py +76 -0
- deepmate-0.1.0/src/deepmate/runtime/hooks/diagnostics.py +141 -0
- deepmate-0.1.0/src/deepmate/runtime/hooks/loader.py +820 -0
- deepmate-0.1.0/src/deepmate/runtime/hooks/manager.py +252 -0
- deepmate-0.1.0/src/deepmate/runtime/hooks/matcher.py +106 -0
- deepmate-0.1.0/src/deepmate/runtime/hooks/registry.py +150 -0
- deepmate-0.1.0/src/deepmate/runtime/hooks/signals.py +229 -0
- deepmate-0.1.0/src/deepmate/runtime/hooks/trust.py +123 -0
- deepmate-0.1.0/src/deepmate/runtime/hooks/types.py +279 -0
- deepmate-0.1.0/src/deepmate/runtime/loop_guard.py +226 -0
- deepmate-0.1.0/src/deepmate/runtime/model_request.py +149 -0
- deepmate-0.1.0/src/deepmate/runtime/prefix_cache.py +119 -0
- deepmate-0.1.0/src/deepmate/runtime/process_env.py +30 -0
- deepmate-0.1.0/src/deepmate/runtime/safety.py +677 -0
- deepmate-0.1.0/src/deepmate/runtime/sandbox.py +422 -0
- deepmate-0.1.0/src/deepmate/runtime/session_runtime.py +573 -0
- deepmate-0.1.0/src/deepmate/runtime/session_summary.py +669 -0
- deepmate-0.1.0/src/deepmate/runtime/tool_executor.py +165 -0
- deepmate-0.1.0/src/deepmate/runtime/tool_output_compaction.py +1358 -0
- deepmate-0.1.0/src/deepmate/runtime/tool_policy.py +233 -0
- deepmate-0.1.0/src/deepmate/runtime/tool_repair.py +661 -0
- deepmate-0.1.0/src/deepmate/runtime/wakelock.py +211 -0
- deepmate-0.1.0/src/deepmate/skills/__init__.py +54 -0
- deepmate-0.1.0/src/deepmate/skills/catalog.py +134 -0
- deepmate-0.1.0/src/deepmate/skills/install.py +1644 -0
- deepmate-0.1.0/src/deepmate/skills/loader.py +56 -0
- deepmate-0.1.0/src/deepmate/skills/manifest.py +205 -0
- deepmate-0.1.0/src/deepmate/skills/metadata.py +45 -0
- deepmate-0.1.0/src/deepmate/skills/skill_file.py +173 -0
- deepmate-0.1.0/src/deepmate/storage/__init__.py +68 -0
- deepmate-0.1.0/src/deepmate/storage/atomic.py +89 -0
- deepmate-0.1.0/src/deepmate/storage/checkpoint_store.py +815 -0
- deepmate-0.1.0/src/deepmate/storage/jsonl.py +89 -0
- deepmate-0.1.0/src/deepmate/storage/session_store.py +983 -0
- deepmate-0.1.0/src/deepmate/storage/tool_output_store.py +237 -0
- deepmate-0.1.0/src/deepmate/subagents/__init__.py +56 -0
- deepmate-0.1.0/src/deepmate/subagents/orchestration.py +782 -0
- deepmate-0.1.0/src/deepmate/subagents/runtime.py +595 -0
- deepmate-0.1.0/src/deepmate/subagents/store.py +373 -0
- deepmate-0.1.0/src/deepmate/subagents/tool_executor.py +1388 -0
- deepmate-0.1.0/src/deepmate/subagents/types.py +129 -0
- deepmate-0.1.0/src/deepmate/subagents/verification.py +220 -0
- deepmate-0.1.0/src/deepmate/tasks/__init__.py +77 -0
- deepmate-0.1.0/src/deepmate/tasks/command.py +71 -0
- deepmate-0.1.0/src/deepmate/tasks/execute.py +381 -0
- deepmate-0.1.0/src/deepmate/tasks/json_helpers.py +22 -0
- deepmate-0.1.0/src/deepmate/tasks/render.py +293 -0
- deepmate-0.1.0/src/deepmate/tasks/session.py +172 -0
- deepmate-0.1.0/src/deepmate/tasks/store.py +465 -0
- deepmate-0.1.0/src/deepmate/tasks/update.py +524 -0
- deepmate-0.1.0/src/deepmate/tools/__init__.py +148 -0
- deepmate-0.1.0/src/deepmate/tools/artifacts.py +627 -0
- deepmate-0.1.0/src/deepmate/tools/browser.py +1670 -0
- deepmate-0.1.0/src/deepmate/tools/computer.py +1456 -0
- deepmate-0.1.0/src/deepmate/tools/diagrams.py +1123 -0
- deepmate-0.1.0/src/deepmate/tools/documents.py +799 -0
- deepmate-0.1.0/src/deepmate/tools/filesystem.py +665 -0
- deepmate-0.1.0/src/deepmate/tools/lsp.py +661 -0
- deepmate-0.1.0/src/deepmate/tools/mcp_loader.py +168 -0
- deepmate-0.1.0/src/deepmate/tools/registry.py +91 -0
- deepmate-0.1.0/src/deepmate/tools/reports.py +737 -0
- deepmate-0.1.0/src/deepmate/tools/search.py +438 -0
- deepmate-0.1.0/src/deepmate/tools/shell.py +264 -0
- deepmate-0.1.0/src/deepmate/tools/skill_installer.py +1101 -0
- deepmate-0.1.0/src/deepmate/tools/skill_loader.py +172 -0
- deepmate-0.1.0/src/deepmate/tools/svg_security.py +17 -0
- deepmate-0.1.0/src/deepmate/tools/tool_output.py +177 -0
- deepmate-0.1.0/src/deepmate/tools/url_safety.py +94 -0
- deepmate-0.1.0/src/deepmate/tools/web.py +682 -0
- deepmate-0.1.0/src/deepmate/trace/__init__.py +38 -0
- deepmate-0.1.0/src/deepmate/trace/exporter.py +93 -0
- deepmate-0.1.0/src/deepmate/trace/otel.py +163 -0
- deepmate-0.1.0/src/deepmate/trace/recorder.py +116 -0
- deepmate-0.1.0/src/deepmate/trace/schema.py +134 -0
- deepmate-0.1.0/src/deepmate/trace/semantic.py +225 -0
- deepmate-0.1.0/src/deepmate/trace/sinks.py +19 -0
- deepmate-0.1.0/src/deepmate.egg-info/PKG-INFO +231 -0
- deepmate-0.1.0/src/deepmate.egg-info/SOURCES.txt +274 -0
- deepmate-0.1.0/src/deepmate.egg-info/dependency_links.txt +1 -0
- deepmate-0.1.0/src/deepmate.egg-info/entry_points.txt +2 -0
- deepmate-0.1.0/src/deepmate.egg-info/requires.txt +8 -0
- deepmate-0.1.0/src/deepmate.egg-info/top_level.txt +1 -0
- deepmate-0.1.0/tests/test_activity.py +122 -0
- deepmate-0.1.0/tests/test_behavior_computer.py +909 -0
- deepmate-0.1.0/tests/test_browser_tools.py +1171 -0
- deepmate-0.1.0/tests/test_builtin_tools.py +1957 -0
- deepmate-0.1.0/tests/test_capability_maintenance.py +119 -0
- deepmate-0.1.0/tests/test_capability_state.py +195 -0
- deepmate-0.1.0/tests/test_chat_completions_provider.py +562 -0
- deepmate-0.1.0/tests/test_checkpoint_store.py +713 -0
- deepmate-0.1.0/tests/test_checkpoint_update.py +166 -0
- deepmate-0.1.0/tests/test_context_builder.py +411 -0
- deepmate-0.1.0/tests/test_conversation_budget.py +241 -0
- deepmate-0.1.0/tests/test_cron_jobs.py +440 -0
- deepmate-0.1.0/tests/test_delivery_review.py +162 -0
- deepmate-0.1.0/tests/test_evolution_behavior.py +169 -0
- deepmate-0.1.0/tests/test_evolution_failure_patterns.py +225 -0
- deepmate-0.1.0/tests/test_evolution_generated_skills.py +287 -0
- deepmate-0.1.0/tests/test_evolution_maintenance.py +416 -0
- deepmate-0.1.0/tests/test_hooks_interactive.py +113 -0
- deepmate-0.1.0/tests/test_hooks_kernel.py +523 -0
- deepmate-0.1.0/tests/test_local_runtime.py +412 -0
- deepmate-0.1.0/tests/test_mcp_executor.py +677 -0
- deepmate-0.1.0/tests/test_mcp_http_client.py +278 -0
- deepmate-0.1.0/tests/test_mcp_progressive_disclosure.py +710 -0
- deepmate-0.1.0/tests/test_memory_curator.py +458 -0
- deepmate-0.1.0/tests/test_memory_extractor.py +46 -0
- deepmate-0.1.0/tests/test_memory_maintenance.py +619 -0
- deepmate-0.1.0/tests/test_memory_manager.py +217 -0
- deepmate-0.1.0/tests/test_model_purpose.py +708 -0
- deepmate-0.1.0/tests/test_pet_companion.py +838 -0
- deepmate-0.1.0/tests/test_prefix_cache.py +139 -0
- deepmate-0.1.0/tests/test_preview_deploy.py +615 -0
- deepmate-0.1.0/tests/test_process_env.py +35 -0
- deepmate-0.1.0/tests/test_provider_messages.py +69 -0
- deepmate-0.1.0/tests/test_qa_audit.py +529 -0
- deepmate-0.1.0/tests/test_remote_wecom.py +1519 -0
- deepmate-0.1.0/tests/test_runtime_validation.py +940 -0
- deepmate-0.1.0/tests/test_session_lineage.py +388 -0
- deepmate-0.1.0/tests/test_session_maintenance.py +511 -0
- deepmate-0.1.0/tests/test_session_runtime.py +693 -0
- deepmate-0.1.0/tests/test_session_summary.py +179 -0
- deepmate-0.1.0/tests/test_shell_safety.py +797 -0
- deepmate-0.1.0/tests/test_skill_file.py +57 -0
- deepmate-0.1.0/tests/test_skill_install.py +1046 -0
- deepmate-0.1.0/tests/test_skill_loader_tool.py +388 -0
- deepmate-0.1.0/tests/test_skill_view.py +205 -0
- deepmate-0.1.0/tests/test_storage_jsonl.py +85 -0
- deepmate-0.1.0/tests/test_subagents_runtime.py +1722 -0
- deepmate-0.1.0/tests/test_task_mode.py +1049 -0
- deepmate-0.1.0/tests/test_tool_execution.py +1944 -0
- deepmate-0.1.0/tests/test_tool_output_compaction.py +443 -0
- deepmate-0.1.0/tests/test_tool_output_retrieval.py +54 -0
- deepmate-0.1.0/tests/test_tool_output_store.py +87 -0
- deepmate-0.1.0/tests/test_tool_surface.py +249 -0
- deepmate-0.1.0/tests/test_trace_export_cli.py +198 -0
- deepmate-0.1.0/tests/test_trace_semantic.py +335 -0
- deepmate-0.1.0/tests/test_tui_channel.py +6235 -0
- deepmate-0.1.0/tests/test_wakelock.py +49 -0
deepmate-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Deepmate contributors
|
|
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.
|
deepmate-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: deepmate
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A lightweight long-task personal agent harness.
|
|
5
|
+
Author: Deepmate contributors
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/kevin0x5/deepmate
|
|
8
|
+
Project-URL: Repository, https://github.com/kevin0x5/deepmate
|
|
9
|
+
Project-URL: Issues, https://github.com/kevin0x5/deepmate/issues
|
|
10
|
+
Keywords: agent,automation,coding-assistant,task-management
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Topic :: Software Development
|
|
18
|
+
Requires-Python: >=3.11
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
License-File: LICENSE
|
|
21
|
+
Requires-Dist: textual>=0.60
|
|
22
|
+
Provides-Extra: documents
|
|
23
|
+
Requires-Dist: pypdf>=5.0; extra == "documents"
|
|
24
|
+
Provides-Extra: dev
|
|
25
|
+
Requires-Dist: build>=1.2; extra == "dev"
|
|
26
|
+
Requires-Dist: twine>=5.0; extra == "dev"
|
|
27
|
+
Dynamic: license-file
|
|
28
|
+
|
|
29
|
+
<p align="center">
|
|
30
|
+
<a href="#license"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License"></a>
|
|
31
|
+
<a href="#install"><img src="https://img.shields.io/badge/python-3.11%2B-green.svg" alt="Python 3.11+"></a>
|
|
32
|
+
<a href="https://api-docs.deepseek.com"><img src="https://img.shields.io/badge/DeepSeek%20V4-optimized-5865F2.svg" alt="DeepSeek V4"></a>
|
|
33
|
+
</p>
|
|
34
|
+
|
|
35
|
+
# Deepmate
|
|
36
|
+
|
|
37
|
+
Deepmate is a cost-first local AI workbench for long-running project work, with Task Mode, context management, local model deployment, governed skills/MCP/tools, and DeepSeek V4-specific optimizations.
|
|
38
|
+
|
|
39
|
+
## Highlights
|
|
40
|
+
|
|
41
|
+
- **Prefix cache** — Freeze context snapshots and keep stable prefixes reusable, reducing the cost of repeatedly sending the same project background in long sessions.
|
|
42
|
+
- **Cost governance** — Keep skills and capabilities hot/cold, load MCP schemas and tools on demand, compact large outputs, and retrieve detail only when needed.
|
|
43
|
+
- **Local model deployment** — Prepare, check, and switch Ollama-backed models from Deepmate, keeping suitable work on local models to reduce cost.
|
|
44
|
+
- **Self-evolution** — Mine traces, sessions, failures, corrections, and successful workflows into behavior hints, failure guards, generated skill drafts, and capability state.
|
|
45
|
+
|
|
46
|
+
## Install
|
|
47
|
+
|
|
48
|
+
Requirements: Python 3.11+ and a DeepSeek API key.
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
pip install deepmate
|
|
52
|
+
export DEEPSEEK_API_KEY="<your-deepseek-api-key>"
|
|
53
|
+
deepmate
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
By default, `deepmate` opens the TUI and scopes file access, checkpoints, and
|
|
57
|
+
tool permissions to the current workspace. For a one-shot CLI check:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
deepmate --cli "Summarize this project in one paragraph."
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
For source development:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
git clone https://github.com/kevin0x5/deepmate.git
|
|
67
|
+
cd deepmate
|
|
68
|
+
python3 -m pip install -e .
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Features
|
|
72
|
+
|
|
73
|
+
Deepmate is in active development. Core CLI/TUI workflows are local-first; optional integrations such as Ollama, Computer Use, Enterprise WeChat, preview relays, and the desktop pet need their own setup.
|
|
74
|
+
|
|
75
|
+
| Capability | Description |
|
|
76
|
+
|------------|-------------|
|
|
77
|
+
| **LLM runtime** | Use DeepSeek V4 by default, stream responses, switch models per run, and keep provider-specific options such as thinking mode and reasoning effort explicit. |
|
|
78
|
+
| **Local model deployment** | Prepare, check, and switch Ollama-backed models from Deepmate, then use them in the same session, TUI, and tool workflow. |
|
|
79
|
+
| **Context management** | Assemble workspace rules, profile/project memory, task state, skills, MCP tools, files, and prior outputs into the current model turn. |
|
|
80
|
+
| **Context snapshot, prefix cache, and cost control** | Freeze workspace/profile context for a session, refresh it when needed, keep the stable prefix reusable, and compact large outputs behind retrievable refs. |
|
|
81
|
+
| **Task Mode** | Plan a goal, lock an acceptance contract, execute against it, and preserve decisions and achievements under `task/`. |
|
|
82
|
+
| **Workspace tools** | Read, edit, search, diff, inspect documents/tables, render reports/diagrams, run sandboxed shell checks, automate browser checks, and use LSP helpers. |
|
|
83
|
+
| **Skills** | Load repeatable `SKILL.md` workflows for PRDs, research briefs, reports, diagrams, architecture notes, advisors, and project-specific routines. |
|
|
84
|
+
| **MCP** | Discover configured MCP servers, load schemas on demand, run read-only tools by default, and opt in explicitly to write-capable tools. |
|
|
85
|
+
| **Memory** | Extract stable personal preferences, collaboration habits, recurring terminology, and durable working principles from user-authored text while filtering secrets, logs, and one-off task context. |
|
|
86
|
+
| **Subagents** | Delegate bounded subtasks with tool allowlists, expected outputs, and verification when parallel or isolated work helps. |
|
|
87
|
+
| **Checkpoints** | Persist transcripts, traces, and file checkpoints so workspace changes are inspectable, recoverable, and safe to rewind. |
|
|
88
|
+
| **Session tree** | Inspect session history and branch work with session tree, clone, and fork flows for alternate directions. |
|
|
89
|
+
| **Self-evolution** | Mine traces, sessions, activity notes, failures, and successful workflows to update behavior hints, failure guards, generated skill drafts, and capability state. |
|
|
90
|
+
| **Computer Use** | On macOS, explicitly allow real-screen observation and actions for UI validation or desktop workflows. |
|
|
91
|
+
| **Behavior learning** | Learn successful local tool and Computer Use paths, turn repeated operation flows into reusable workflows, and promote them into generated skill drafts. |
|
|
92
|
+
| **QA Audit** | Create a project-aware QA plan, edit cases, run available checks, generate reports, and turn findings into a Task Mode repair plan. |
|
|
93
|
+
| **Preview Deploy** | Serve generated HTML, reports, static build directories, or existing local services through local/LAN previews, with optional external relay support. |
|
|
94
|
+
| **TUI workbench** | Start with `deepmate` to work from a local interface with sessions, file browsing, previews, diffs, approvals, prompt queue, context usage, and slash commands. |
|
|
95
|
+
| **Desktop Pet** | Show current work state, lightweight progress feedback, reminders, and learning suggestions in a small desktop companion. |
|
|
96
|
+
| **Cron Jobs** | Schedule recurring workspace jobs from natural language or commands, approve before execution, and keep outputs local. |
|
|
97
|
+
| **Enterprise WeChat remote** | Bind remote conversations for long-running work, approvals, status checks, controlled remote commands, progress heartbeats, and wake locks while work is running. |
|
|
98
|
+
| **Hooks** | Apply governed lifecycle policies for approvals, blocking, tracing, checkpoints, memory/evolution signals, and trusted project rules. |
|
|
99
|
+
| **Observability** | Inspect local trace evidence, session details, token/cache signals, and optionally export spans to OTLP-compatible endpoints. |
|
|
100
|
+
| **Security** | Scope writes to the workspace, checkpoint before writes, gate shell/network/MCP writes, sanitize environments, and ask for approval on sensitive actions. |
|
|
101
|
+
|
|
102
|
+
## Configuration
|
|
103
|
+
|
|
104
|
+
You normally do not need to edit YAML before first use. Deepmate creates
|
|
105
|
+
`config/deepmate.yaml`, `config/providers.yaml`, and local profile files with
|
|
106
|
+
safe defaults when it first opens a workspace.
|
|
107
|
+
|
|
108
|
+
The only required setup is a model key in the environment:
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
export DEEPSEEK_API_KEY="<your-deepseek-api-key>"
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Check the base install and optional feature readiness without a model call:
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
deepmate --doctor
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Edit `config/deepmate.yaml` or `config/providers.yaml` only when you want to
|
|
121
|
+
switch providers, tune context budgets, or override the internal summary/memory
|
|
122
|
+
models.
|
|
123
|
+
|
|
124
|
+
Override per run:
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
deepmate --model deepseek-v4-pro --thinking enabled --reasoning-effort max "Review this design."
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
Local model:
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
deepmate # then type /local to prepare and switch to Ollama
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
## Common Commands
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
# Read-only inspection
|
|
140
|
+
deepmate --read-only-tools "Find the main runtime entry points."
|
|
141
|
+
|
|
142
|
+
# Workspace writes (checkpointed)
|
|
143
|
+
deepmate --workspace-write "Update the README wording."
|
|
144
|
+
|
|
145
|
+
# Shell (sandboxed, off by default)
|
|
146
|
+
deepmate --shell "Run the focused tests for the TUI."
|
|
147
|
+
|
|
148
|
+
# Task Mode
|
|
149
|
+
deepmate --task plan "Plan the next auth module changes."
|
|
150
|
+
deepmate --task execute "Implement the approved plan."
|
|
151
|
+
deepmate --task checkpoint "Archive the current stage as an achievement."
|
|
152
|
+
|
|
153
|
+
# QA Audit
|
|
154
|
+
deepmate --qa "Run a release-readiness audit for the web app."
|
|
155
|
+
deepmate --qa run
|
|
156
|
+
|
|
157
|
+
# Cron Jobs
|
|
158
|
+
deepmate --cron add "Every weekday at 09:00, summarize project status into reports/daily"
|
|
159
|
+
deepmate --cron approve <job-id>
|
|
160
|
+
deepmate --cron-runner --cron-watch
|
|
161
|
+
|
|
162
|
+
# Skills
|
|
163
|
+
deepmate --list-skills
|
|
164
|
+
deepmate --show-skill research-brief
|
|
165
|
+
|
|
166
|
+
# MCP
|
|
167
|
+
deepmate --list-mcp
|
|
168
|
+
deepmate --mcp-status
|
|
169
|
+
|
|
170
|
+
# Hooks
|
|
171
|
+
deepmate --hooks-status
|
|
172
|
+
deepmate --validate-hooks
|
|
173
|
+
deepmate --trust-workspace
|
|
174
|
+
|
|
175
|
+
# Remote (Enterprise WeChat)
|
|
176
|
+
deepmate --remote wecom
|
|
177
|
+
|
|
178
|
+
# Pet
|
|
179
|
+
deepmate --pet
|
|
180
|
+
|
|
181
|
+
# Deploy preview
|
|
182
|
+
# In `deepmate`: /deploy ./dist
|
|
183
|
+
|
|
184
|
+
# Observability
|
|
185
|
+
deepmate --show-session <session-id> --trace-events 50
|
|
186
|
+
deepmate --show-session <session-id> --export-otlp --otlp-endpoint https://cloud.langfuse.com/api/public/otel
|
|
187
|
+
deepmate --validate-otlp --otlp-endpoint https://cloud.langfuse.com/api/public/otel
|
|
188
|
+
|
|
189
|
+
# Interactive session lineage
|
|
190
|
+
# In `deepmate`: /session tree, /tree, /session clone, /session fork
|
|
191
|
+
|
|
192
|
+
# Validate runtime without a model call
|
|
193
|
+
deepmate --validate-runtime --thinking disabled
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
## DeepSeek V4 Compatibility
|
|
197
|
+
|
|
198
|
+
- Model names: `deepseek-v4-flash` / `deepseek-v4-pro` (not deprecated V3 names)
|
|
199
|
+
- Context window: 1,000,000 tokens configured by default
|
|
200
|
+
- Reasoning: `thinking` and `reasoning_effort: max` supported
|
|
201
|
+
- No degraded-thinking workarounds recommended
|
|
202
|
+
|
|
203
|
+
Refs: [API docs](https://api-docs.deepseek.com/) · [Thinking mode](https://api-docs.deepseek.com/guides/thinking_mode) · [Pricing](https://api-docs.deepseek.com/quick_start/pricing)
|
|
204
|
+
|
|
205
|
+
## How It Works
|
|
206
|
+
|
|
207
|
+
```text
|
|
208
|
+
User surfaces
|
|
209
|
+
CLI, TUI, Enterprise WeChat, optional desktop pet
|
|
210
|
+
Runtime
|
|
211
|
+
Builds bounded context, calls the model, runs approved tools, checkpoints writes, and records evidence
|
|
212
|
+
Capabilities
|
|
213
|
+
Native tools, skills, MCP, browser automation, Computer Use, and subagents are loaded when useful
|
|
214
|
+
Workspace records
|
|
215
|
+
task/, qa/, cron/, reports, checkpoints, transcripts, and traces keep work inspectable and recoverable
|
|
216
|
+
Optional integrations
|
|
217
|
+
Ollama local models, preview relay, desktop pet, OpenTelemetry / Langfuse-compatible export
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
## Safety and Privacy
|
|
221
|
+
|
|
222
|
+
- API keys and remote secrets are read from environment variables, never committed.
|
|
223
|
+
- Local runtime state is written under `var/` and ignored by Git.
|
|
224
|
+
- Workspace writes are path-guarded and checkpointed.
|
|
225
|
+
- Shell, network, and MCP write tools are off by default and require explicit flags.
|
|
226
|
+
- Tool outputs can be compacted and retrieved by handle rather than replayed in full.
|
|
227
|
+
- Traces are written locally by default and can be exported to OpenTelemetry OTLP endpoints such as Langfuse when configured.
|
|
228
|
+
|
|
229
|
+
## License
|
|
230
|
+
|
|
231
|
+
MIT
|
deepmate-0.1.0/README.md
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="#license"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License"></a>
|
|
3
|
+
<a href="#install"><img src="https://img.shields.io/badge/python-3.11%2B-green.svg" alt="Python 3.11+"></a>
|
|
4
|
+
<a href="https://api-docs.deepseek.com"><img src="https://img.shields.io/badge/DeepSeek%20V4-optimized-5865F2.svg" alt="DeepSeek V4"></a>
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
# Deepmate
|
|
8
|
+
|
|
9
|
+
Deepmate is a cost-first local AI workbench for long-running project work, with Task Mode, context management, local model deployment, governed skills/MCP/tools, and DeepSeek V4-specific optimizations.
|
|
10
|
+
|
|
11
|
+
## Highlights
|
|
12
|
+
|
|
13
|
+
- **Prefix cache** — Freeze context snapshots and keep stable prefixes reusable, reducing the cost of repeatedly sending the same project background in long sessions.
|
|
14
|
+
- **Cost governance** — Keep skills and capabilities hot/cold, load MCP schemas and tools on demand, compact large outputs, and retrieve detail only when needed.
|
|
15
|
+
- **Local model deployment** — Prepare, check, and switch Ollama-backed models from Deepmate, keeping suitable work on local models to reduce cost.
|
|
16
|
+
- **Self-evolution** — Mine traces, sessions, failures, corrections, and successful workflows into behavior hints, failure guards, generated skill drafts, and capability state.
|
|
17
|
+
|
|
18
|
+
## Install
|
|
19
|
+
|
|
20
|
+
Requirements: Python 3.11+ and a DeepSeek API key.
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
pip install deepmate
|
|
24
|
+
export DEEPSEEK_API_KEY="<your-deepseek-api-key>"
|
|
25
|
+
deepmate
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
By default, `deepmate` opens the TUI and scopes file access, checkpoints, and
|
|
29
|
+
tool permissions to the current workspace. For a one-shot CLI check:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
deepmate --cli "Summarize this project in one paragraph."
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
For source development:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
git clone https://github.com/kevin0x5/deepmate.git
|
|
39
|
+
cd deepmate
|
|
40
|
+
python3 -m pip install -e .
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Features
|
|
44
|
+
|
|
45
|
+
Deepmate is in active development. Core CLI/TUI workflows are local-first; optional integrations such as Ollama, Computer Use, Enterprise WeChat, preview relays, and the desktop pet need their own setup.
|
|
46
|
+
|
|
47
|
+
| Capability | Description |
|
|
48
|
+
|------------|-------------|
|
|
49
|
+
| **LLM runtime** | Use DeepSeek V4 by default, stream responses, switch models per run, and keep provider-specific options such as thinking mode and reasoning effort explicit. |
|
|
50
|
+
| **Local model deployment** | Prepare, check, and switch Ollama-backed models from Deepmate, then use them in the same session, TUI, and tool workflow. |
|
|
51
|
+
| **Context management** | Assemble workspace rules, profile/project memory, task state, skills, MCP tools, files, and prior outputs into the current model turn. |
|
|
52
|
+
| **Context snapshot, prefix cache, and cost control** | Freeze workspace/profile context for a session, refresh it when needed, keep the stable prefix reusable, and compact large outputs behind retrievable refs. |
|
|
53
|
+
| **Task Mode** | Plan a goal, lock an acceptance contract, execute against it, and preserve decisions and achievements under `task/`. |
|
|
54
|
+
| **Workspace tools** | Read, edit, search, diff, inspect documents/tables, render reports/diagrams, run sandboxed shell checks, automate browser checks, and use LSP helpers. |
|
|
55
|
+
| **Skills** | Load repeatable `SKILL.md` workflows for PRDs, research briefs, reports, diagrams, architecture notes, advisors, and project-specific routines. |
|
|
56
|
+
| **MCP** | Discover configured MCP servers, load schemas on demand, run read-only tools by default, and opt in explicitly to write-capable tools. |
|
|
57
|
+
| **Memory** | Extract stable personal preferences, collaboration habits, recurring terminology, and durable working principles from user-authored text while filtering secrets, logs, and one-off task context. |
|
|
58
|
+
| **Subagents** | Delegate bounded subtasks with tool allowlists, expected outputs, and verification when parallel or isolated work helps. |
|
|
59
|
+
| **Checkpoints** | Persist transcripts, traces, and file checkpoints so workspace changes are inspectable, recoverable, and safe to rewind. |
|
|
60
|
+
| **Session tree** | Inspect session history and branch work with session tree, clone, and fork flows for alternate directions. |
|
|
61
|
+
| **Self-evolution** | Mine traces, sessions, activity notes, failures, and successful workflows to update behavior hints, failure guards, generated skill drafts, and capability state. |
|
|
62
|
+
| **Computer Use** | On macOS, explicitly allow real-screen observation and actions for UI validation or desktop workflows. |
|
|
63
|
+
| **Behavior learning** | Learn successful local tool and Computer Use paths, turn repeated operation flows into reusable workflows, and promote them into generated skill drafts. |
|
|
64
|
+
| **QA Audit** | Create a project-aware QA plan, edit cases, run available checks, generate reports, and turn findings into a Task Mode repair plan. |
|
|
65
|
+
| **Preview Deploy** | Serve generated HTML, reports, static build directories, or existing local services through local/LAN previews, with optional external relay support. |
|
|
66
|
+
| **TUI workbench** | Start with `deepmate` to work from a local interface with sessions, file browsing, previews, diffs, approvals, prompt queue, context usage, and slash commands. |
|
|
67
|
+
| **Desktop Pet** | Show current work state, lightweight progress feedback, reminders, and learning suggestions in a small desktop companion. |
|
|
68
|
+
| **Cron Jobs** | Schedule recurring workspace jobs from natural language or commands, approve before execution, and keep outputs local. |
|
|
69
|
+
| **Enterprise WeChat remote** | Bind remote conversations for long-running work, approvals, status checks, controlled remote commands, progress heartbeats, and wake locks while work is running. |
|
|
70
|
+
| **Hooks** | Apply governed lifecycle policies for approvals, blocking, tracing, checkpoints, memory/evolution signals, and trusted project rules. |
|
|
71
|
+
| **Observability** | Inspect local trace evidence, session details, token/cache signals, and optionally export spans to OTLP-compatible endpoints. |
|
|
72
|
+
| **Security** | Scope writes to the workspace, checkpoint before writes, gate shell/network/MCP writes, sanitize environments, and ask for approval on sensitive actions. |
|
|
73
|
+
|
|
74
|
+
## Configuration
|
|
75
|
+
|
|
76
|
+
You normally do not need to edit YAML before first use. Deepmate creates
|
|
77
|
+
`config/deepmate.yaml`, `config/providers.yaml`, and local profile files with
|
|
78
|
+
safe defaults when it first opens a workspace.
|
|
79
|
+
|
|
80
|
+
The only required setup is a model key in the environment:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
export DEEPSEEK_API_KEY="<your-deepseek-api-key>"
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Check the base install and optional feature readiness without a model call:
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
deepmate --doctor
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Edit `config/deepmate.yaml` or `config/providers.yaml` only when you want to
|
|
93
|
+
switch providers, tune context budgets, or override the internal summary/memory
|
|
94
|
+
models.
|
|
95
|
+
|
|
96
|
+
Override per run:
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
deepmate --model deepseek-v4-pro --thinking enabled --reasoning-effort max "Review this design."
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Local model:
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
deepmate # then type /local to prepare and switch to Ollama
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
## Common Commands
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
# Read-only inspection
|
|
112
|
+
deepmate --read-only-tools "Find the main runtime entry points."
|
|
113
|
+
|
|
114
|
+
# Workspace writes (checkpointed)
|
|
115
|
+
deepmate --workspace-write "Update the README wording."
|
|
116
|
+
|
|
117
|
+
# Shell (sandboxed, off by default)
|
|
118
|
+
deepmate --shell "Run the focused tests for the TUI."
|
|
119
|
+
|
|
120
|
+
# Task Mode
|
|
121
|
+
deepmate --task plan "Plan the next auth module changes."
|
|
122
|
+
deepmate --task execute "Implement the approved plan."
|
|
123
|
+
deepmate --task checkpoint "Archive the current stage as an achievement."
|
|
124
|
+
|
|
125
|
+
# QA Audit
|
|
126
|
+
deepmate --qa "Run a release-readiness audit for the web app."
|
|
127
|
+
deepmate --qa run
|
|
128
|
+
|
|
129
|
+
# Cron Jobs
|
|
130
|
+
deepmate --cron add "Every weekday at 09:00, summarize project status into reports/daily"
|
|
131
|
+
deepmate --cron approve <job-id>
|
|
132
|
+
deepmate --cron-runner --cron-watch
|
|
133
|
+
|
|
134
|
+
# Skills
|
|
135
|
+
deepmate --list-skills
|
|
136
|
+
deepmate --show-skill research-brief
|
|
137
|
+
|
|
138
|
+
# MCP
|
|
139
|
+
deepmate --list-mcp
|
|
140
|
+
deepmate --mcp-status
|
|
141
|
+
|
|
142
|
+
# Hooks
|
|
143
|
+
deepmate --hooks-status
|
|
144
|
+
deepmate --validate-hooks
|
|
145
|
+
deepmate --trust-workspace
|
|
146
|
+
|
|
147
|
+
# Remote (Enterprise WeChat)
|
|
148
|
+
deepmate --remote wecom
|
|
149
|
+
|
|
150
|
+
# Pet
|
|
151
|
+
deepmate --pet
|
|
152
|
+
|
|
153
|
+
# Deploy preview
|
|
154
|
+
# In `deepmate`: /deploy ./dist
|
|
155
|
+
|
|
156
|
+
# Observability
|
|
157
|
+
deepmate --show-session <session-id> --trace-events 50
|
|
158
|
+
deepmate --show-session <session-id> --export-otlp --otlp-endpoint https://cloud.langfuse.com/api/public/otel
|
|
159
|
+
deepmate --validate-otlp --otlp-endpoint https://cloud.langfuse.com/api/public/otel
|
|
160
|
+
|
|
161
|
+
# Interactive session lineage
|
|
162
|
+
# In `deepmate`: /session tree, /tree, /session clone, /session fork
|
|
163
|
+
|
|
164
|
+
# Validate runtime without a model call
|
|
165
|
+
deepmate --validate-runtime --thinking disabled
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
## DeepSeek V4 Compatibility
|
|
169
|
+
|
|
170
|
+
- Model names: `deepseek-v4-flash` / `deepseek-v4-pro` (not deprecated V3 names)
|
|
171
|
+
- Context window: 1,000,000 tokens configured by default
|
|
172
|
+
- Reasoning: `thinking` and `reasoning_effort: max` supported
|
|
173
|
+
- No degraded-thinking workarounds recommended
|
|
174
|
+
|
|
175
|
+
Refs: [API docs](https://api-docs.deepseek.com/) · [Thinking mode](https://api-docs.deepseek.com/guides/thinking_mode) · [Pricing](https://api-docs.deepseek.com/quick_start/pricing)
|
|
176
|
+
|
|
177
|
+
## How It Works
|
|
178
|
+
|
|
179
|
+
```text
|
|
180
|
+
User surfaces
|
|
181
|
+
CLI, TUI, Enterprise WeChat, optional desktop pet
|
|
182
|
+
Runtime
|
|
183
|
+
Builds bounded context, calls the model, runs approved tools, checkpoints writes, and records evidence
|
|
184
|
+
Capabilities
|
|
185
|
+
Native tools, skills, MCP, browser automation, Computer Use, and subagents are loaded when useful
|
|
186
|
+
Workspace records
|
|
187
|
+
task/, qa/, cron/, reports, checkpoints, transcripts, and traces keep work inspectable and recoverable
|
|
188
|
+
Optional integrations
|
|
189
|
+
Ollama local models, preview relay, desktop pet, OpenTelemetry / Langfuse-compatible export
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
## Safety and Privacy
|
|
193
|
+
|
|
194
|
+
- API keys and remote secrets are read from environment variables, never committed.
|
|
195
|
+
- Local runtime state is written under `var/` and ignored by Git.
|
|
196
|
+
- Workspace writes are path-guarded and checkpointed.
|
|
197
|
+
- Shell, network, and MCP write tools are off by default and require explicit flags.
|
|
198
|
+
- Tool outputs can be compacted and retrieved by handle rather than replayed in full.
|
|
199
|
+
- Traces are written locally by default and can be exported to OpenTelemetry OTLP endpoints such as Langfuse when configured.
|
|
200
|
+
|
|
201
|
+
## License
|
|
202
|
+
|
|
203
|
+
MIT
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "deepmate"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "A lightweight long-task personal agent harness."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.11"
|
|
7
|
+
license = { text = "MIT" }
|
|
8
|
+
authors = [
|
|
9
|
+
{ name = "Deepmate contributors" },
|
|
10
|
+
]
|
|
11
|
+
keywords = [
|
|
12
|
+
"agent",
|
|
13
|
+
"automation",
|
|
14
|
+
"coding-assistant",
|
|
15
|
+
"task-management",
|
|
16
|
+
]
|
|
17
|
+
classifiers = [
|
|
18
|
+
"Development Status :: 3 - Alpha",
|
|
19
|
+
"Environment :: Console",
|
|
20
|
+
"Intended Audience :: Developers",
|
|
21
|
+
"License :: OSI Approved :: MIT License",
|
|
22
|
+
"Programming Language :: Python :: 3",
|
|
23
|
+
"Programming Language :: Python :: 3.11",
|
|
24
|
+
"Topic :: Software Development",
|
|
25
|
+
]
|
|
26
|
+
dependencies = [
|
|
27
|
+
"textual>=0.60",
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
[project.optional-dependencies]
|
|
31
|
+
documents = [
|
|
32
|
+
"pypdf>=5.0",
|
|
33
|
+
]
|
|
34
|
+
dev = [
|
|
35
|
+
"build>=1.2",
|
|
36
|
+
"twine>=5.0",
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
[project.urls]
|
|
40
|
+
Homepage = "https://github.com/kevin0x5/deepmate"
|
|
41
|
+
Repository = "https://github.com/kevin0x5/deepmate"
|
|
42
|
+
Issues = "https://github.com/kevin0x5/deepmate/issues"
|
|
43
|
+
|
|
44
|
+
[project.scripts]
|
|
45
|
+
deepmate = "deepmate.channels.cli:main"
|
|
46
|
+
|
|
47
|
+
[build-system]
|
|
48
|
+
requires = ["setuptools>=68"]
|
|
49
|
+
build-backend = "setuptools.build_meta"
|
|
50
|
+
|
|
51
|
+
[tool.setuptools]
|
|
52
|
+
include-package-data = true
|
|
53
|
+
|
|
54
|
+
[tool.setuptools.packages.find]
|
|
55
|
+
where = ["src"]
|
|
56
|
+
|
|
57
|
+
[tool.setuptools.package-data]
|
|
58
|
+
deepmate = ["builtin_skills/*/SKILL.md"]
|
deepmate-0.1.0/setup.cfg
ADDED