dulus 3.15.6__tar.gz → 3.15.8__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.
- {dulus-3.15.6/dulus.egg-info → dulus-3.15.8}/PKG-INFO +2 -2
- dulus-3.15.8/analytics.py +189 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/CHANGELOG.md +6 -6
- {dulus-3.15.6 → dulus-3.15.8}/docs/FAQ.md +7 -7
- {dulus-3.15.6 → dulus-3.15.8}/docs/GETTING_STARTED.md +2 -2
- {dulus-3.15.6 → dulus-3.15.8}/docs/SECURITY.md +1 -1
- {dulus-3.15.6 → dulus-3.15.8}/docs/news.md +2 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/termux-edge.md +3 -4
- {dulus-3.15.6 → dulus-3.15.8/dulus.egg-info}/PKG-INFO +2 -2
- {dulus-3.15.6 → dulus-3.15.8}/dulus.egg-info/SOURCES.txt +4 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus.egg-info/requires.txt +1 -1
- {dulus-3.15.6 → dulus-3.15.8}/dulus.egg-info/top_level.txt +1 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus.py +43 -28
- {dulus-3.15.6 → dulus-3.15.8}/input.py +3 -3
- {dulus-3.15.6 → dulus-3.15.8}/providers.py +13 -27
- {dulus-3.15.6 → dulus-3.15.8}/pyproject.toml +4 -5
- dulus-3.15.8/retired_web.py +46 -0
- dulus-3.15.8/tests/test_analytics.py +181 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_provider_errors.py +10 -1
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_repl_resilience.py +4 -2
- dulus-3.15.8/tests/test_retired_web_providers.py +164 -0
- dulus-3.15.8/ui/history.py +23 -0
- {dulus-3.15.6 → dulus-3.15.8}/ui/input.py +3 -3
- {dulus-3.15.6 → dulus-3.15.8}/welcome.py +5 -5
- dulus-3.15.6/analytics.py +0 -200
- {dulus-3.15.6 → dulus-3.15.8}/LICENSE +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/MANIFEST.in +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/README.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/agent.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/algolia_search.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/app_installer.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/backend/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/backend/agents_bridge.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/backend/compressor.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/backend/context.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/backend/githook.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/backend/marketplace.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/backend/mempalace_bridge.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/backend/paths.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/backend/personas.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/backend/plugins.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/backend/server.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/backend/session_utils.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/backend/tasks.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/backend/theme_pack.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/backend/themes.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/banners/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/banners/banner_rotator.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/banners/banners_dulus_ai.txt +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/batch_api.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/checkpoint/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/checkpoint/hooks.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/checkpoint/store.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/checkpoint/types.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/cli_animations/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/cli_animations/__main__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/cli_animations/ansi.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/cli_animations/assets/ascii/dulus_logo.txt +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/cli_animations/assets/ascii/eagle.txt +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/cli_animations/assets/ascii/terminal_art.txt +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/cli_animations/banners.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/cli_animations/demo.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/cli_animations/effects.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/cli_animations/effort_slider.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/cli_animations/progress.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/cli_animations/py.typed +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/cli_animations/spinners.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/cli_animations/status.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/clipboard_utils.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/cloudsave.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/common.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/compaction.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/config.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/context.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/data/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/data/plugins/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/data/plugins/composio/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/data/plugins/composio/composio_plugin/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/data/plugins/composio/composio_plugin/session_manager.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/data/plugins/composio/composio_plugin/tool_generator.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/data/plugins/composio/plugin.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/data/plugins/composio/plugin_tool.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/display_blocks.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/API.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/APP_VS_OPEN_SOURCE.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/BRAND_GUIDE.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/CONTRIBUTING.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/DEPLOYMENT.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/architecture.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/dashboard/index.html +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/divider.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/dulus-bird.png +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/generate.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/nvidia-models.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/particle-playground.html +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/personas/index.html +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/preview.html +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/python-console.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/readme/dulus-os.png +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/readme/hero.png +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/readme/pyc_heap.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/readme/pyc_receipts.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/readme/pyc_trap.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/readme/task-board.png +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/readme/webchat.png +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/sec-agents.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/sec-brainstorm.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/sec-bridges.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/sec-features.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/sec-freetier.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/sec-memory.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/sec-models.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/sec-perms.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/sec-plugins.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/sec-quickstart.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/sec-ssj.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/spinners.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/split-pane.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/docs/terminal-boot.svg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus.egg-info/dependency_links.txt +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus.egg-info/entry_points.txt +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_account.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_bar_client.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_mcp/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_mcp/client.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_mcp/commands.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_mcp/config.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_mcp/hub.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_mcp/tools.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_mcp/types.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_quick_menu.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_tools/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_tools/add_dir_manager.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_tools/afk_mode.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_tools/approval_runtime.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_tools/background_tasks.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_tools/clipboard_utils.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_tools/diff_visualizer.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_tools/export_import.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_tools/hook_engine.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_tools/isolate.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_tools/notification_manager.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_tools/session_fork.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_tools/shell_mode.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_tools/todo_visualizer.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_tools/tree_ls.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_tools/wire_events.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/dulus_tools/yolo_mode.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/file_filter.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/fs_compass.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/governance.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/license_manager.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/audit.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/consolidator.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/context.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/mempalace_bridge.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/offload.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/palace.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/scan.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/seeds/insights/askuserquestion_after_numbered_list.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/seeds/insights/background_jobs_no_extra_timers.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/seeds/insights/cleverness_over_resources.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/seeds/insights/corporate_tls_breaks_curl_cffi.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/seeds/insights/hardened_rules.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/seeds/insights/investigator_workflow_heuristic.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/seeds/insights/native_code_over_sketchy_plugins.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/seeds/insights/no_personal_info_in_code.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/seeds/insights/searches_include_modified_date.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/seeds/insights/tmux_send_keys_power_patterns.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/seeds/insights/token_optimization_technique.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/seeds/insights/tool_chaining_capability.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/seeds/insights/webbridge_evaluate_first_pattern.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/seeds/short_memory.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/sessions.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/store.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/tools.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/types.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/memory/vector_search.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/model_params.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/multi_agent/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/multi_agent/subagent.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/multi_agent/tools.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/paste_placeholders.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/personality_config.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/plugin/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/plugin/loader.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/plugin/recommend.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/plugin/store.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/plugin/types.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/profiles.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/pyconsole.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/setup.cfg +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/builtin.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/LICENSE-obsidian-skills +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/README.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/defuddle/SKILL.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/json-canvas/SKILL.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/json-canvas/references/EXAMPLES.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/obsidian-bases/SKILL.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/obsidian-bases/references/FUNCTIONS_REFERENCE.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/obsidian-cli/SKILL.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/obsidian-markdown/SKILL.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/obsidian-markdown/references/CALLOUTS.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/obsidian-markdown/references/EMBEDS.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/obsidian-markdown/references/PROPERTIES.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/README.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/SKILL.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/addresses.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/advancedbackgroundchecks.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/beenverified.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/clustal.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/clustrmaps.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/cyberbackgroundchecks.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/familytreenow.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/fastpeoplesearch.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/intelius.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/mylife.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/nuwber.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/peekyou.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/peoplefinders.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/radaris.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/rehold.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/searchpeoplefree.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/socialcatfish.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/spokeo.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/thatsthem.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/truepeoplesearch.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/usphonebook.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/brokers/whitepages.json +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/legal/ccpa.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/legal/drop.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/legal/gdpr.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/methods.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/site-playbooks.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/references/state-machine.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/autopilot.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/badbool.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/brokers.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/cdp.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/config.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/crypto.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/dossier.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/email_modes.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/emailer.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/ledger.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/legal.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/paths.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/pdd.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/registry.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/report.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/scan.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/storage.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/tiers.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/scripts/vectors.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/templates/consent/authorization.md +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/templates/emails/ccpa-authorized-agent.txt +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/templates/emails/ccpa-deletion.txt +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/templates/emails/ccpa-indirect-deletion.txt +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/templates/emails/gdpr-erasure.txt +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/bundled/unbroker/templates/emails/generic-optout.txt +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/clawhub.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/executor.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/loader.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skill/tools.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/skills.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/soul.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/spinner.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/steer_input.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/subagent.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/task/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/task/store.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/task/tools.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/task/types.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_afk_yolo.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_agent_tool_inputs.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_app_installer.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_approval_runtime.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_background_task_tools.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_background_tasks.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_chatgpt_oauth.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_checkpoint.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_cli_animations_integration.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_clipboard_utils.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_compaction.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_compaction_failures.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_composio_tool_generator.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_diff_view.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_diff_visualization.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_display_blocks.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_dulus_account.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_empty_assistant_turn.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_export_import.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_grok_usage.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_headless_login.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_hook_engine.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_injection_fix.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_interruptible_stream.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_json_protocol.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_license.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_login_gate.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_mcp.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_mcp_algolia.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_memory.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_memory_home_resolution.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_news_radio.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_notification_manager.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_persistence_safety.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_plugin.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_profile_isolation.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_profile_plugin_scope.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_provider_stability.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_public_surface.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_sentry_reporting.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_session_fork.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_shell_detection.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_shell_mode.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_skills.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_skillssh_algolia.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_steer_input.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_streamed_tool_names.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_subagent.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_task.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_telegram_buffer.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_think_tool.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_todo_tool.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_todo_visualization.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_tool_registry.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_tool_safety.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_tree_ls.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_voice.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_webbridge_tabs.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tests/test_wire_events.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tmux_tools.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/token_budget.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tool_registry.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tools.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tools_background.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tools_think.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/tools_todo.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/ui/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/ui/render.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/updater.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/voice/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/voice/audio_utils.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/voice/keyterms.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/voice/recorder.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/voice/stt.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/voice/tts.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/voice/wake_word.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/webbridge/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/webbridge/core.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/webbridge/tools.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/webchat.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/webchat_server.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/webchat_ui/__init__.py +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/webchat_ui/app.js +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/webchat_ui/index.html +0 -0
- {dulus-3.15.6 → dulus-3.15.8}/webchat_ui/style.css +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: dulus
|
|
3
|
-
Version: 3.15.
|
|
3
|
+
Version: 3.15.8
|
|
4
4
|
Summary: Provider-independent agent runtime for the terminal — cloud and local models, real tools, MCP, plugins, memory, sub-agents, and Dulus OS.
|
|
5
5
|
Author-email: KevRojo <dev@dulus.ai>
|
|
6
6
|
Maintainer-email: KevRojo <dev@dulus.ai>
|
|
@@ -57,7 +57,7 @@ Requires-Dist: pyttsx3
|
|
|
57
57
|
Requires-Dist: composio>=1.0.0rc2
|
|
58
58
|
Requires-Dist: beautifulsoup4>=4.12.0
|
|
59
59
|
Requires-Dist: segno>=1.6.0
|
|
60
|
-
Requires-Dist: sentry-sdk
|
|
60
|
+
Requires-Dist: sentry-sdk<3,>=2.0.0
|
|
61
61
|
Requires-Dist: truststore>=0.9
|
|
62
62
|
Requires-Dist: pytesseract>=0.3.10
|
|
63
63
|
Requires-Dist: dulus-bar>=0.5.1
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
"""Always-on usage analytics for the public Dulus CLI.
|
|
2
|
+
|
|
3
|
+
The CLI sends session, message, tool, command, and model-selection events
|
|
4
|
+
to Mixpanel and Amplitude. Events contain a locally generated random ID,
|
|
5
|
+
Dulus and Python versions, the OS, and the relevant provider, model, tool,
|
|
6
|
+
or command name. Prompts, replies, tool arguments, and file contents are
|
|
7
|
+
excluded. Delivery runs in background threads and can fail offline.
|
|
8
|
+
"""
|
|
9
|
+
from __future__ import annotations
|
|
10
|
+
|
|
11
|
+
import base64
|
|
12
|
+
import json
|
|
13
|
+
import os
|
|
14
|
+
import platform
|
|
15
|
+
import sys
|
|
16
|
+
import tempfile
|
|
17
|
+
import threading
|
|
18
|
+
import time
|
|
19
|
+
import uuid
|
|
20
|
+
from pathlib import Path
|
|
21
|
+
|
|
22
|
+
# Mixpanel PROJECT TOKEN for the public Dulus project.
|
|
23
|
+
# NOTE: Mixpanel ingestion tokens are write-only and designed to ship in
|
|
24
|
+
# client code (every website using Mixpanel exposes theirs). It cannot be
|
|
25
|
+
# used to read any data. Override with DULUS_MP_TOKEN.
|
|
26
|
+
_DEFAULT_MP_TOKEN = "966ce8f5ccb32f06788f51be9f8bf8f5"
|
|
27
|
+
MP_TOKEN = os.environ.get("DULUS_MP_TOKEN", _DEFAULT_MP_TOKEN).strip()
|
|
28
|
+
|
|
29
|
+
_MP_ENDPOINT = "https://api.mixpanel.com/track?ip=0"
|
|
30
|
+
|
|
31
|
+
# Amplitude receives the same usage events and random ID.
|
|
32
|
+
# Ingestion keys are write-only by design — they cannot read any data.
|
|
33
|
+
_DEFAULT_AMP_KEY = "dbdb0e42b0fc29bfdb4061612c3c8a7e"
|
|
34
|
+
AMP_KEY = os.environ.get("DULUS_AMP_KEY", _DEFAULT_AMP_KEY).strip()
|
|
35
|
+
|
|
36
|
+
# Allow routing to either provider alone. Empty overrides for both use the public projects.
|
|
37
|
+
if not (MP_TOKEN or AMP_KEY):
|
|
38
|
+
MP_TOKEN, AMP_KEY = _DEFAULT_MP_TOKEN, _DEFAULT_AMP_KEY
|
|
39
|
+
|
|
40
|
+
_AMP_ENDPOINT = "https://api2.amplitude.com/2/httpapi"
|
|
41
|
+
|
|
42
|
+
# Populated by init_telemetry() at CLI startup.
|
|
43
|
+
_distinct_id: str | None = None
|
|
44
|
+
_dulus_version: str = ""
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def is_enabled() -> bool:
|
|
48
|
+
"""Return whether the client is initialized and has a delivery destination."""
|
|
49
|
+
return bool(_distinct_id and (MP_TOKEN or AMP_KEY))
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def _anonymous_id(value: object) -> str | None:
|
|
53
|
+
"""Accept the random UUID format used by existing Dulus installations."""
|
|
54
|
+
if isinstance(value, str):
|
|
55
|
+
try:
|
|
56
|
+
if uuid.UUID(value).version == 4:
|
|
57
|
+
return value
|
|
58
|
+
except ValueError:
|
|
59
|
+
pass
|
|
60
|
+
return None
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
def _installation_id() -> str:
|
|
64
|
+
"""Share one random ID across launches without creating the wizard's config.json."""
|
|
65
|
+
from config import CONFIG_DIR, atomic_write_text
|
|
66
|
+
|
|
67
|
+
path = CONFIG_DIR / "cli-analytics" / "id"
|
|
68
|
+
new_id = uuid.uuid4().hex
|
|
69
|
+
try:
|
|
70
|
+
if not path.is_file():
|
|
71
|
+
# A rename cannot replace another launch's nonempty directory on POSIX or Windows.
|
|
72
|
+
with tempfile.TemporaryDirectory(dir=CONFIG_DIR) as staging:
|
|
73
|
+
candidate = Path(staging) / "ready"
|
|
74
|
+
candidate.mkdir(mode=0o700)
|
|
75
|
+
(candidate / "id").write_text(new_id, encoding="ascii")
|
|
76
|
+
try:
|
|
77
|
+
candidate.rename(path.parent)
|
|
78
|
+
except OSError:
|
|
79
|
+
if not path.is_file():
|
|
80
|
+
raise
|
|
81
|
+
stored = _anonymous_id(path.read_text(encoding="utf-8", errors="replace").strip())
|
|
82
|
+
if stored:
|
|
83
|
+
return stored
|
|
84
|
+
atomic_write_text(path, new_id)
|
|
85
|
+
except OSError:
|
|
86
|
+
pass # A read-only config directory can still use an ID for this session.
|
|
87
|
+
return new_id
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def init_telemetry(config: dict, version: str = "") -> None:
|
|
91
|
+
"""Initialize analytics for a CLI session, reusing its existing anonymous ID."""
|
|
92
|
+
global _distinct_id, _dulus_version
|
|
93
|
+
_dulus_version = version or _dulus_version
|
|
94
|
+
distinct_id = _anonymous_id(config.get("telemetry_id")) or _installation_id()
|
|
95
|
+
config["telemetry_id"] = distinct_id
|
|
96
|
+
_distinct_id = distinct_id
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
def track(event: str, properties: dict | None = None) -> None:
|
|
100
|
+
"""Dispatch a usage event to each configured provider in the background."""
|
|
101
|
+
distinct_id = _distinct_id
|
|
102
|
+
if not is_enabled() or not distinct_id:
|
|
103
|
+
return
|
|
104
|
+
os_name = platform.system()
|
|
105
|
+
event_properties = {
|
|
106
|
+
"dulus_version": _dulus_version,
|
|
107
|
+
"os": os_name,
|
|
108
|
+
"python": f"{sys.version_info.major}.{sys.version_info.minor}",
|
|
109
|
+
**(properties or {}),
|
|
110
|
+
}
|
|
111
|
+
payload = {
|
|
112
|
+
"event": event,
|
|
113
|
+
"properties": {
|
|
114
|
+
"token": MP_TOKEN,
|
|
115
|
+
"distinct_id": distinct_id,
|
|
116
|
+
"time": int(time.time()),
|
|
117
|
+
"$ip": 0, # disable Mixpanel geolocation
|
|
118
|
+
**event_properties,
|
|
119
|
+
},
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
def _post(endpoint: str, data: bytes, content_type: str) -> None:
|
|
123
|
+
from urllib.request import Request, urlopen
|
|
124
|
+
|
|
125
|
+
# The active profile may change while the worker is waiting.
|
|
126
|
+
if _distinct_id != distinct_id:
|
|
127
|
+
return
|
|
128
|
+
req = Request(endpoint, data=data, headers={"Content-Type": content_type}, method="POST")
|
|
129
|
+
with urlopen(req, timeout=4) as response:
|
|
130
|
+
response.read()
|
|
131
|
+
|
|
132
|
+
def _send_mixpanel() -> None:
|
|
133
|
+
try:
|
|
134
|
+
from urllib.parse import urlencode
|
|
135
|
+
|
|
136
|
+
data = urlencode(
|
|
137
|
+
{"data": base64.b64encode(json.dumps([payload]).encode()).decode()}
|
|
138
|
+
).encode()
|
|
139
|
+
_post(_MP_ENDPOINT, data, "application/x-www-form-urlencoded")
|
|
140
|
+
except Exception:
|
|
141
|
+
pass # telemetry must never break Dulus
|
|
142
|
+
|
|
143
|
+
def _send_amplitude() -> None:
|
|
144
|
+
try:
|
|
145
|
+
body = json.dumps({
|
|
146
|
+
"api_key": AMP_KEY,
|
|
147
|
+
"events": [{
|
|
148
|
+
"device_id": distinct_id,
|
|
149
|
+
"event_type": event,
|
|
150
|
+
"event_properties": event_properties,
|
|
151
|
+
"platform": os_name,
|
|
152
|
+
}],
|
|
153
|
+
}).encode()
|
|
154
|
+
_post(_AMP_ENDPOINT, body, "application/json")
|
|
155
|
+
except Exception:
|
|
156
|
+
pass # telemetry must never break Dulus
|
|
157
|
+
|
|
158
|
+
if MP_TOKEN:
|
|
159
|
+
threading.Thread(target=_send_mixpanel, daemon=True, name="telemetry").start()
|
|
160
|
+
if AMP_KEY:
|
|
161
|
+
threading.Thread(target=_send_amplitude, daemon=True, name="telemetry-amp").start()
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
def track_session_start(config: dict) -> None:
|
|
165
|
+
"""Convenience: one event per REPL boot (enough for DAU/MAU counts)."""
|
|
166
|
+
track("session_start", {
|
|
167
|
+
"provider": str(config.get("provider", "")),
|
|
168
|
+
"model": str(config.get("model", "")),
|
|
169
|
+
})
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
def track_message_sent(model: str = "") -> None:
|
|
173
|
+
"""One event per user prompt sent to the LLM (no content — count only)."""
|
|
174
|
+
track("message_sent", {"model": model})
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
def track_tool_used(tool_name: str) -> None:
|
|
178
|
+
"""One event per tool invocation (tool NAME only — never inputs)."""
|
|
179
|
+
track("tool_used", {"tool": tool_name})
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
def track_command_used(command: str) -> None:
|
|
183
|
+
"""One event per slash command (command NAME only — never args)."""
|
|
184
|
+
track("command_used", {"command": command})
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
def track_model_selected(model: str, provider: str = "") -> None:
|
|
188
|
+
"""Fired when the user switches models via /model."""
|
|
189
|
+
track("model_selected", {"model": model, "provider": provider})
|
|
@@ -32,18 +32,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
32
32
|
option that runs the OAuth sign-in; the returning-user tip now points at
|
|
33
33
|
`/login dulus` or `/config <provider>_api_key=…`.
|
|
34
34
|
- Supported no-API-key routes are now the Dulus router plus subscription OAuth
|
|
35
|
-
(`/login claude`, `/login chatgpt`, `/login kimi`, `/login grok`)
|
|
36
|
-
|
|
35
|
+
(`/login claude`, `/login chatgpt`, `/login kimi`, `/login grok`) and
|
|
36
|
+
local Ollama / LM Studio / `edge`. NVIDIA NIM uses your `NVIDIA_API_KEY`.
|
|
37
37
|
|
|
38
38
|
### Fixed
|
|
39
39
|
- `config.py` declared `license_key` twice in `DEFAULTS`; removed the duplicate.
|
|
40
40
|
- Regenerated `docs/api.html`, which was stale well before this change.
|
|
41
41
|
|
|
42
42
|
### Migration
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
After updating public Dulus, a saved browser-session model stops before any
|
|
44
|
+
provider request, even if the old cookies or a valid API key are present.
|
|
45
|
+
You can resume the conversation and choose a supported model with `/model`.
|
|
46
|
+
For Fuel-metered inference, run `/login dulus` and `/model dulus/dulus-b-27b`.
|
|
47
47
|
|
|
48
48
|
## 3.13.9 — 2026-09-01
|
|
49
49
|
|
|
@@ -30,7 +30,7 @@ $DULUS is a utility token on Solana that powers the Dulus business layer (cloud
|
|
|
30
30
|
|
|
31
31
|
- **11 native providers:** Anthropic, OpenAI, Gemini, DeepSeek, Qwen, Kimi, Zhipu, MiniMax, Ollama, LM Studio, Custom
|
|
32
32
|
- **100+ via LiteLLM:** OpenRouter, Groq, Together, Bedrock, Vertex, Mistral, xAI, Fireworks, Azure, and more
|
|
33
|
-
-
|
|
33
|
+
- The Dulus router uses Fuel. Claude, ChatGPT, Kimi and Grok use your subscription via OAuth. Ollama runs locally. NVIDIA NIM requires your own `NVIDIA_API_KEY`.
|
|
34
34
|
|
|
35
35
|
### Does Dulus work offline?
|
|
36
36
|
|
|
@@ -68,9 +68,9 @@ Use a model that supports function calling: `qwen2.5-coder`, `llama3.3`, `mistra
|
|
|
68
68
|
### Is my data safe?
|
|
69
69
|
|
|
70
70
|
- API keys are encrypted (XOR + base64) before saving to disk
|
|
71
|
-
-
|
|
71
|
+
- Local models process prompts on your machine.
|
|
72
72
|
- MemPalace data stays on your machine
|
|
73
|
-
-
|
|
73
|
+
- The public CLI always sends usage analytics when connected. Mixpanel and Amplitude receive event names, a random ID, and runtime and feature metadata. Prompts and replies are excluded.
|
|
74
74
|
- Open source — you can audit every line
|
|
75
75
|
|
|
76
76
|
---
|
|
@@ -129,7 +129,7 @@ The token is the fuel layer for the Dulus business layer. The open-source REPL s
|
|
|
129
129
|
|
|
130
130
|
### Is the token required to use Dulus?
|
|
131
131
|
|
|
132
|
-
|
|
132
|
+
You can use the open-source REPL with your own provider credentials or a local model. Dulus-hosted inference is metered in Fuel.
|
|
133
133
|
|
|
134
134
|
### Contract address?
|
|
135
135
|
|
|
@@ -202,7 +202,7 @@ Dulus es tu companero de IA — un agente autonomo en Python que se conecta a cu
|
|
|
202
202
|
|
|
203
203
|
- **11 proveedores nativos:** Anthropic, OpenAI, Gemini, DeepSeek, Qwen, Kimi, Zhipu, MiniMax, Ollama, LM Studio, Custom
|
|
204
204
|
- **100+ via LiteLLM:** OpenRouter, Groq, Together, Bedrock, Vertex, Mistral, xAI, y mas
|
|
205
|
-
-
|
|
205
|
+
- El router de Dulus consume Fuel. Claude, ChatGPT, Kimi y Grok usan tu suscripción mediante OAuth. Ollama funciona en tu equipo. NVIDIA NIM requiere tu propia `NVIDIA_API_KEY`.
|
|
206
206
|
|
|
207
207
|
### Como funciona el login por suscripcion?
|
|
208
208
|
|
|
@@ -211,9 +211,9 @@ Dulus es tu companero de IA — un agente autonomo en Python que se conecta a cu
|
|
|
211
211
|
### Mis datos estan seguros?
|
|
212
212
|
|
|
213
213
|
- Las API keys se encriptan antes de guardarse
|
|
214
|
-
-
|
|
214
|
+
- Los modelos locales procesan los prompts en tu dispositivo.
|
|
215
215
|
- MemPalace permanece en tu maquina
|
|
216
|
-
-
|
|
216
|
+
- La CLI pública siempre envía estadísticas de uso cuando hay conexión. Mixpanel y Amplitude reciben nombres de eventos, un identificador aleatorio y datos sobre el entorno y las funciones utilizadas. Los mensajes y las respuestas quedan excluidos.
|
|
217
217
|
- Codigo abierto — puedes auditar cada linea
|
|
218
218
|
|
|
219
219
|
### Como conecto a una GPU remota?
|
|
@@ -124,7 +124,7 @@ How should I call you? [amigo]
|
|
|
124
124
|
Que proveedor queres usar de entrada?
|
|
125
125
|
1. Dulus account (hosted models, Fuel-metered)
|
|
126
126
|
2. Ollama (local, free)
|
|
127
|
-
3. NVIDIA NIM (
|
|
127
|
+
3. NVIDIA NIM (your API key)
|
|
128
128
|
4. Anthropic Claude
|
|
129
129
|
5. Kimi for Coding
|
|
130
130
|
6. Moonshot Kimi K2
|
|
@@ -184,7 +184,7 @@ cat error.log | dulus -p "what caused this error"
|
|
|
184
184
|
/model # show current
|
|
185
185
|
/model gpt-4o # switch to OpenAI
|
|
186
186
|
/model ollama/llama3.3 # switch to local
|
|
187
|
-
/model nvidia-web/deepseek-r1 #
|
|
187
|
+
/model nvidia-web/deepseek-ai/deepseek-r1 # uses your NVIDIA_API_KEY
|
|
188
188
|
```
|
|
189
189
|
|
|
190
190
|
### Use Memory
|
|
@@ -54,7 +54,7 @@ protection.
|
|
|
54
54
|
- Prompts and tool context are sent to the provider you select unless you use a local model.
|
|
55
55
|
- Plugins, MCP servers, browser-backed providers, search tools, and bridges may contact their own services; review them before enabling them.
|
|
56
56
|
- Memory stays under `~/.dulus/memory/` and project-local `.dulus/memory/` unless a configured integration moves that data.
|
|
57
|
-
-
|
|
57
|
+
- Usage analytics are always on in the public CLI, including headless runs. The CLI sends session, message, tool, command, and model-selection events to Mixpanel and Amplitude by default. Events include a random local ID, Dulus and Python versions, the OS, and the relevant provider, model, tool, or command name. Event payloads exclude conversation text, tool arguments, and file contents.
|
|
58
58
|
|
|
59
59
|
---
|
|
60
60
|
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## 🔥🔥🔥 News (Pacific Time)
|
|
4
4
|
|
|
5
|
+
- November 25, 2026 (**🔒 v3.15.8 — retired browser sessions stay retired**): **Public Dulus no longer runs the retired browser-session (Harvest) providers.** A config or saved conversation still pinned to one of those models now stops before any provider request, even when old cookies or a valid API key are present, instead of quietly routing somewhere else. Your history is intact: resume it and pick a supported model with `/model`, or run `/login dulus` and `/model dulus/dulus-b-27b` for Fuel-metered inference. `pip install -U dulus`. 🦅
|
|
6
|
+
- November 24, 2026 (**🛡️ v3.15.7 — crash reports work again**): **Sentry was silently off for fresh installs.** `sentry-sdk` 3.0.0 dropped options Dulus passes at startup, so on new installs the crash reporter failed inside a guarded block and stayed off without a word. Dulus now keeps `sentry-sdk` on 2.x until the 3.x migration lands. `pip install -U dulus`. 🦅
|
|
5
7
|
- November 24, 2026 (**📲 v3.15.6 — `/app` gets you the desktop app**): **One command from the terminal to the app.** `/app` (also `/install-app`, `/get-app`) picks the Dulus desktop build for your OS from the latest release, downloads it resumably, checks its published sha256 and hands it to your system installer — then shows the exact command to retire the pip copy if you want. `/app check` only looks, `/app download` only fetches. `/update` now means the app; the PyPI upgrade lives on as `/update pip`, and the startup check only pip-upgrades where there is no app build. Telegram, the web chat and pipes get the download link instead, and containers are pointed at the host. The welcome wizard offers the app right after your name. `pip install -U dulus`, then `/app`. 🦅
|
|
6
8
|
|
|
7
9
|
- November 21, 2026 (**🧹 v3.15.5 — your typos stay yours**): **A mistyped value is not a crash.** `/config max_tokens=8k` already told you the value was wrong, but the same message was also sent to our error tracker as a production `ValueError`. Now the argument checks of `/config`, `/budget`, `/proactive`, `/wake`, `/checkpoint`, `/worker`, `/bg`, `/ssj` and `/fork` only answer you; real errors, including a command that crashes, are still reported. The test suite no longer reports its own deliberate failures either. Plus a refreshed README with the desktop app at work, in English and Spanish. `pip install -U dulus`. 🦅
|
|
@@ -101,10 +101,9 @@ pip install dulus
|
|
|
101
101
|
dulus --model edge/gemma-3-1b
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
-
|
|
105
|
-
is
|
|
106
|
-
|
|
107
|
-
nothing leaves the phone.
|
|
104
|
+
The `edge/` prefix routes prompts to the local server. The model name after it
|
|
105
|
+
is a label for the model loaded with `-m`. Inference runs on the phone. The CLI
|
|
106
|
+
sends anonymous usage events when connected.
|
|
108
107
|
|
|
109
108
|
---
|
|
110
109
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: dulus
|
|
3
|
-
Version: 3.15.
|
|
3
|
+
Version: 3.15.8
|
|
4
4
|
Summary: Provider-independent agent runtime for the terminal — cloud and local models, real tools, MCP, plugins, memory, sub-agents, and Dulus OS.
|
|
5
5
|
Author-email: KevRojo <dev@dulus.ai>
|
|
6
6
|
Maintainer-email: KevRojo <dev@dulus.ai>
|
|
@@ -57,7 +57,7 @@ Requires-Dist: pyttsx3
|
|
|
57
57
|
Requires-Dist: composio>=1.0.0rc2
|
|
58
58
|
Requires-Dist: beautifulsoup4>=4.12.0
|
|
59
59
|
Requires-Dist: segno>=1.6.0
|
|
60
|
-
Requires-Dist: sentry-sdk
|
|
60
|
+
Requires-Dist: sentry-sdk<3,>=2.0.0
|
|
61
61
|
Requires-Dist: truststore>=0.9
|
|
62
62
|
Requires-Dist: pytesseract>=0.3.10
|
|
63
63
|
Requires-Dist: dulus-bar>=0.5.1
|
|
@@ -29,6 +29,7 @@ profiles.py
|
|
|
29
29
|
providers.py
|
|
30
30
|
pyconsole.py
|
|
31
31
|
pyproject.toml
|
|
32
|
+
retired_web.py
|
|
32
33
|
skills.py
|
|
33
34
|
soul.py
|
|
34
35
|
spinner.py
|
|
@@ -276,6 +277,7 @@ task/tools.py
|
|
|
276
277
|
task/types.py
|
|
277
278
|
tests/test_afk_yolo.py
|
|
278
279
|
tests/test_agent_tool_inputs.py
|
|
280
|
+
tests/test_analytics.py
|
|
279
281
|
tests/test_app_installer.py
|
|
280
282
|
tests/test_approval_runtime.py
|
|
281
283
|
tests/test_background_task_tools.py
|
|
@@ -315,6 +317,7 @@ tests/test_provider_errors.py
|
|
|
315
317
|
tests/test_provider_stability.py
|
|
316
318
|
tests/test_public_surface.py
|
|
317
319
|
tests/test_repl_resilience.py
|
|
320
|
+
tests/test_retired_web_providers.py
|
|
318
321
|
tests/test_sentry_reporting.py
|
|
319
322
|
tests/test_session_fork.py
|
|
320
323
|
tests/test_shell_detection.py
|
|
@@ -336,6 +339,7 @@ tests/test_voice.py
|
|
|
336
339
|
tests/test_webbridge_tabs.py
|
|
337
340
|
tests/test_wire_events.py
|
|
338
341
|
ui/__init__.py
|
|
342
|
+
ui/history.py
|
|
339
343
|
ui/input.py
|
|
340
344
|
ui/render.py
|
|
341
345
|
voice/__init__.py
|
|
@@ -257,6 +257,8 @@ from datetime import datetime
|
|
|
257
257
|
from pathlib import Path
|
|
258
258
|
from typing import Optional, Union, Any, Callable
|
|
259
259
|
|
|
260
|
+
from retired_web import retired_command_error, retired_provider_message, retired_web_provider
|
|
261
|
+
|
|
260
262
|
if sys.platform == "win32":
|
|
261
263
|
os.system("") # Enable ANSI escape codes on Windows CMD
|
|
262
264
|
# IDLE wraps stdout/stderr in StdOutputFile which lacks .reconfigure —
|
|
@@ -311,7 +313,7 @@ try:
|
|
|
311
313
|
from importlib.metadata import version as _pkg_version
|
|
312
314
|
VERSION = _pkg_version("dulus")
|
|
313
315
|
except Exception:
|
|
314
|
-
VERSION = "3.15.
|
|
316
|
+
VERSION = "3.15.8" # dev fallback — keep in sync with pyproject.toml
|
|
315
317
|
|
|
316
318
|
# ── Sentry error tracking (optional — graceful degradation if not installed) ─
|
|
317
319
|
# Off-switch for demos/privacy: set DULUS_NO_SENTRY=1 (or SENTRY_DSN="") to skip.
|
|
@@ -1346,8 +1348,11 @@ def cmd_model(args: str, _state, config) -> bool:
|
|
|
1346
1348
|
while len(_seg) >= 2 and _seg[0] == _seg[1] and _seg[0] in PROVIDERS:
|
|
1347
1349
|
_seg.pop(1)
|
|
1348
1350
|
m = "/".join(_seg)
|
|
1349
|
-
config["model"] = m
|
|
1350
1351
|
pname = detect_provider(m)
|
|
1352
|
+
if pname not in PROVIDERS:
|
|
1353
|
+
err(retired_provider_message(pname), report=False)
|
|
1354
|
+
return True
|
|
1355
|
+
config["model"] = m
|
|
1351
1356
|
ok(f"Model set to {m} (provider: {pname})")
|
|
1352
1357
|
from config import save_config
|
|
1353
1358
|
save_config(config)
|
|
@@ -1671,7 +1676,7 @@ def _print_login_nag(config: dict) -> None:
|
|
|
1671
1676
|
print(" " + clr("TODAY", "yellow", "bold")
|
|
1672
1677
|
+ ": " + clr("Qwen UNCENSORED", "cyan", "bold")
|
|
1673
1678
|
+ " drops on our endpoint. Stock Fuel now.")
|
|
1674
|
-
print(clr("
|
|
1679
|
+
print(clr(" You can also use your own provider credentials or a local model.", "dim"))
|
|
1675
1680
|
print()
|
|
1676
1681
|
print(" Buy $DULUS now:")
|
|
1677
1682
|
print(f" {styled_dx_url}")
|
|
@@ -1764,6 +1769,10 @@ def cmd_clear(_args: str, state, config) -> bool:
|
|
|
1764
1769
|
return True
|
|
1765
1770
|
|
|
1766
1771
|
_SECRET_PATTERNS = ("api_key", "token", "secret", "password", "passwd", "credential")
|
|
1772
|
+
_TELEMETRY_NOTICE = (
|
|
1773
|
+
"Anonymous CLI usage analytics are always on. "
|
|
1774
|
+
"The default destinations are Mixpanel and Amplitude."
|
|
1775
|
+
)
|
|
1767
1776
|
|
|
1768
1777
|
def _redact_secret(value) -> str:
|
|
1769
1778
|
"""Mask all but last 4 chars of a secret value."""
|
|
@@ -1779,6 +1788,9 @@ def _is_secret_key(key: str) -> bool:
|
|
|
1779
1788
|
|
|
1780
1789
|
def cmd_config(args: str, _state, config) -> bool:
|
|
1781
1790
|
from config import DEFAULTS, as_whole_number, save_config
|
|
1791
|
+
if args and args.partition("=")[0].strip().lower() == "telemetry":
|
|
1792
|
+
info(_TELEMETRY_NOTICE)
|
|
1793
|
+
return True
|
|
1782
1794
|
if not args:
|
|
1783
1795
|
# Redact anything that looks like a secret (api_key/*_token/etc).
|
|
1784
1796
|
display = {}
|
|
@@ -1786,16 +1798,17 @@ def cmd_config(args: str, _state, config) -> bool:
|
|
|
1786
1798
|
if k.startswith("_"):
|
|
1787
1799
|
continue
|
|
1788
1800
|
display[k] = _redact_secret(v) if _is_secret_key(k) else v
|
|
1801
|
+
display["telemetry"] = True
|
|
1789
1802
|
print(json.dumps(display, indent=2))
|
|
1790
1803
|
elif "=" in args:
|
|
1791
1804
|
key, _, val = args.partition("=")
|
|
1792
1805
|
key, val = key.strip(), val.strip()
|
|
1806
|
+
if key == "model" and (removed := retired_web_provider(val)):
|
|
1807
|
+
err(retired_provider_message(removed), report=False)
|
|
1808
|
+
return True
|
|
1793
1809
|
# Type coercion
|
|
1794
1810
|
if val.lower() in ("true", "false"):
|
|
1795
1811
|
val = val.lower() == "true"
|
|
1796
|
-
elif key == "telemetry":
|
|
1797
|
-
# Accept friendly aliases: /config telemetry=off|on
|
|
1798
|
-
val = val.lower() in ("on", "1", "yes", "y", "enabled")
|
|
1799
1812
|
elif val.isdigit():
|
|
1800
1813
|
val = int(val)
|
|
1801
1814
|
# Numeric settings feed arithmetic in every provider call: "8k" used
|
|
@@ -1808,12 +1821,6 @@ def cmd_config(args: str, _state, config) -> bool:
|
|
|
1808
1821
|
err(f"{key} must be a whole number, e.g. /config {key}={_default}", report=False)
|
|
1809
1822
|
return True
|
|
1810
1823
|
config[key] = val
|
|
1811
|
-
if key == "telemetry":
|
|
1812
|
-
try:
|
|
1813
|
-
import analytics as _telemetry
|
|
1814
|
-
_telemetry.init_telemetry(config)
|
|
1815
|
-
except Exception:
|
|
1816
|
-
pass
|
|
1817
1824
|
# Immediate env-bridge for keys that submodules read from os.environ
|
|
1818
1825
|
if key == "azure_speech_key" and val:
|
|
1819
1826
|
os.environ["AZURE_SPEECH_KEY"] = str(val)
|
|
@@ -9904,7 +9911,9 @@ def cmd_doctor(args: str, state, config) -> bool:
|
|
|
9904
9911
|
provider = detect_provider(model)
|
|
9905
9912
|
key = get_api_key(provider, config)
|
|
9906
9913
|
|
|
9907
|
-
if
|
|
9914
|
+
if provider not in PROVIDERS:
|
|
9915
|
+
fail(retired_provider_message(provider))
|
|
9916
|
+
elif key:
|
|
9908
9917
|
ok(f"API key for {provider}: set ({key[:4]}...{key[-4:]})")
|
|
9909
9918
|
elif provider in ("ollama", "lmstudio"):
|
|
9910
9919
|
ok(f"Provider {provider}: no key needed (local)")
|
|
@@ -10803,6 +10812,11 @@ def handle_slash(line: str, state, config, *, raise_errors: bool = False) -> Uni
|
|
|
10803
10812
|
return result
|
|
10804
10813
|
return True
|
|
10805
10814
|
|
|
10815
|
+
# An old trigger stored in a user's skills must not revive a retired command.
|
|
10816
|
+
if reason := retired_command_error(line):
|
|
10817
|
+
err(reason, report=False)
|
|
10818
|
+
return True
|
|
10819
|
+
|
|
10806
10820
|
# Fall through to skill lookup
|
|
10807
10821
|
from skill import find_skill
|
|
10808
10822
|
skill = find_skill(line)
|
|
@@ -13526,22 +13540,13 @@ def main():
|
|
|
13526
13540
|
if _protocol_enabled():
|
|
13527
13541
|
config["rich_live"] = False
|
|
13528
13542
|
|
|
13529
|
-
# ── Anonymous
|
|
13530
|
-
# Asks ONCE on an interactive boot when the user has never answered.
|
|
13531
|
-
# Nothing is ever sent unless the user says yes. See analytics.py for
|
|
13532
|
-
# the full privacy contract (no prompts/paths/PII — event names only).
|
|
13543
|
+
# ── Anonymous CLI usage analytics ───────────────────────────────────
|
|
13533
13544
|
try:
|
|
13534
13545
|
import analytics as _telemetry
|
|
13535
|
-
if (
|
|
13536
|
-
|
|
13537
|
-
and sys.stdin.isatty()
|
|
13538
|
-
and not args.print_mode
|
|
13539
|
-
and not args.exec_cmd
|
|
13540
|
-
and not args.run_tool
|
|
13541
|
-
and not args.daemon
|
|
13546
|
+
if sys.stdin.isatty() and not (
|
|
13547
|
+
args.print_mode or args.exec_cmd or args.run_tool or args.daemon or _protocol_enabled()
|
|
13542
13548
|
):
|
|
13543
|
-
|
|
13544
|
-
save_config(config)
|
|
13549
|
+
print(_TELEMETRY_NOTICE, file=sys.stderr)
|
|
13545
13550
|
_telemetry.init_telemetry(config, version=VERSION)
|
|
13546
13551
|
_telemetry.track_session_start(config)
|
|
13547
13552
|
except Exception:
|
|
@@ -13635,7 +13640,10 @@ def main():
|
|
|
13635
13640
|
|
|
13636
13641
|
print(clr(f"\n [Dulus Command] Executing: {cmd_str}", "cyan", "bold"))
|
|
13637
13642
|
|
|
13638
|
-
|
|
13643
|
+
if reason := retired_command_error(cmd_str):
|
|
13644
|
+
_emit_error(reason)
|
|
13645
|
+
err(reason, report=False)
|
|
13646
|
+
sys.exit(1)
|
|
13639
13647
|
result = handle_slash(cmd_str, state, config, raise_errors=True)
|
|
13640
13648
|
|
|
13641
13649
|
# Check if command returned a tuple (skill execution request)
|
|
@@ -13720,7 +13728,14 @@ def main():
|
|
|
13720
13728
|
config["_cli_soul"] = args.soul
|
|
13721
13729
|
|
|
13722
13730
|
# Check API key for active provider (warn only, don't block local providers)
|
|
13723
|
-
if
|
|
13731
|
+
if removed := retired_web_provider(config["model"]):
|
|
13732
|
+
message = retired_provider_message(removed)
|
|
13733
|
+
if args.model or args.prompt or args.print_mode or _protocol_enabled():
|
|
13734
|
+
_emit_error(message)
|
|
13735
|
+
err(message, report=False)
|
|
13736
|
+
sys.exit(1)
|
|
13737
|
+
warn(message)
|
|
13738
|
+
elif not has_api_key(config):
|
|
13724
13739
|
pname = detect_provider(config["model"])
|
|
13725
13740
|
prov = PROVIDERS.get(pname, {})
|
|
13726
13741
|
env = prov.get("api_key_env", "")
|
|
@@ -18,7 +18,6 @@ from typing import Any, Callable, Optional
|
|
|
18
18
|
|
|
19
19
|
try:
|
|
20
20
|
from prompt_toolkit import PromptSession, Application
|
|
21
|
-
from prompt_toolkit.auto_suggest import AutoSuggestFromHistory
|
|
22
21
|
from prompt_toolkit.completion import (
|
|
23
22
|
Completer, Completion, FuzzyCompleter, WordCompleter, merge_completers,
|
|
24
23
|
)
|
|
@@ -30,6 +29,7 @@ try:
|
|
|
30
29
|
from prompt_toolkit.patch_stdout import patch_stdout
|
|
31
30
|
from prompt_toolkit.styles import Style
|
|
32
31
|
from prompt_toolkit.enums import EditingMode
|
|
32
|
+
from ui.history import DulusHistorySuggest
|
|
33
33
|
HAS_PROMPT_TOOLKIT = True
|
|
34
34
|
except ImportError:
|
|
35
35
|
HAS_PROMPT_TOOLKIT = False
|
|
@@ -407,7 +407,7 @@ def _build_session(history_path: Optional[Path]):
|
|
|
407
407
|
return PromptSession(
|
|
408
408
|
history=history,
|
|
409
409
|
completer=completer,
|
|
410
|
-
auto_suggest=
|
|
410
|
+
auto_suggest=DulusHistorySuggest(),
|
|
411
411
|
complete_while_typing=True,
|
|
412
412
|
enable_history_search=False,
|
|
413
413
|
mouse_support=False,
|
|
@@ -695,7 +695,7 @@ def read_line_split(prompt: str = "> ", history_path: Optional[Path] = None) ->
|
|
|
695
695
|
_split_buffer = Buffer(
|
|
696
696
|
history=history,
|
|
697
697
|
completer=completer,
|
|
698
|
-
auto_suggest=
|
|
698
|
+
auto_suggest=DulusHistorySuggest(),
|
|
699
699
|
complete_while_typing=True,
|
|
700
700
|
enable_history_search=False,
|
|
701
701
|
multiline=False,
|