mindroot 10.0.0__py3-none-any.whl → 10.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mindroot might be problematic. Click here for more details.
- mindroot/coreplugins/chat/services.py +2 -2
- mindroot/coreplugins/chat/static/js/chat.js +4 -4
- mindroot/docs/_build/doctrees/developer_documentation.doctree +0 -0
- mindroot/docs/_build/doctrees/embed_chat.doctree +0 -0
- mindroot/docs/_build/doctrees/environment.pickle +0 -0
- mindroot/docs/_build/doctrees/source/mindroot.coreplugins.check_list.doctree +0 -0
- mindroot/docs/_build/doctrees/source/mindroot.lib.doctree +0 -0
- mindroot/docs/_build/doctrees/user_documentation.doctree +0 -0
- mindroot/docs/_build/html/_images/apikey.png +0 -0
- mindroot/docs/_build/html/_images/chatwidgetx.png +0 -0
- mindroot/docs/_build/html/_images/disablechatavatar.png +0 -0
- mindroot/docs/_build/html/_images/widgetform.png +0 -0
- mindroot/docs/_build/html/_images/widgetonpage.png +0 -0
- mindroot/docs/_build/html/_modules/index.html +1 -0
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/agent_importer.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/agent_router.html +281 -88
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/asset_manager.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/command_router.html +281 -88
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/mcp_catalog_routes.html +279 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/mcp_publish_routes.html +284 -91
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/mcp_registry_routes.html +284 -91
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/mcp_routes.html +281 -88
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/mod.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/oauth_callback_router.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/persona_handler.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/persona_router.html +285 -89
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/plugin_manager.html +281 -88
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/plugin_router.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/plugin_routes.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/registry_settings_routes.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/router.html +281 -88
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/server_router.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/service_models.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/admin/settings_router.html +1 -0
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/api_keys/api_key_manager.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/api_keys/mod.html +279 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/api_keys/router.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/chat/commands.html +281 -88
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/chat/mod.html +279 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/chat/models.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/chat/router.html +281 -88
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/chat/services.html +283 -90
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/chat/widget_manager.html +279 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/chat/widget_routes.html +279 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/check_list/mod.html +669 -213
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/credits/conversion.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/credits/ledger.html +281 -88
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/credits/mod.html +281 -88
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/credits/models.html +279 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/credits/router.html +279 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/credits/storage.html +279 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/email/email_provider.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/email/imap_handler.html +284 -91
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/email/mod.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/email/services.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/email/smtp_handler.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/email/test_email_service.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/env_manager/mod.html +281 -88
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/env_manager/router.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/events/router.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/index/handlers/agent_ops.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/index/handlers/index_ops.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/index/handlers/plugin_ops.html +284 -91
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/index/handlers/publish.html +281 -88
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/index/mod.html +279 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/index/models.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/index/router.html +284 -91
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/index/utils.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/jwt_auth/middleware.html +1 -0
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/jwt_auth/mod.html +279 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/jwt_auth/router.html +280 -87
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/l8n/language_detection.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/l8n/middleware.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/l8n/mod.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/l8n/test_enhanced.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/l8n/test_l8n_standalone.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/l8n/test_middleware.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/l8n/utils.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/mcp_/catalog_commands.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/mcp_/catalog_manager.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/mcp_/dynamic_commands.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/mcp_/mcp_manager.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/mcp_/mod.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/mcp_/oauth_storage.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/mcp_/server_installer.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/mcp_/testmcpclient.html +285 -89
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/persona/init_persona.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/persona/mod.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/startup/mod.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/subscriptions/credit_integration.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/subscriptions/mod.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/subscriptions/models.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/subscriptions/router.html +285 -89
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/subscriptions/storage.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/subscriptions/stripe_integration.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/subscriptions/subscription_manager.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/subscriptions/webhook_handler.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/usage/handlers.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/usage/mod.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/usage/models.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/usage/reporting.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/usage/router.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/usage/storage.html +285 -89
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/user_service/admin_init.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/user_service/email_service.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/user_service/mod.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/user_service/models.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/user_service/password_reset_service.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/user_service/role_service.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/coreplugins/user_service/router.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/lib/auth/api_key.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/lib/auth/auth.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/lib/buchatlog.html +285 -89
- mindroot/docs/_build/html/_modules/mindroot/lib/buchatlog2.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/lib/butemplates.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/lib/chatcontext.html +285 -89
- mindroot/docs/_build/html/_modules/mindroot/lib/chatlog.html +440 -91
- mindroot/docs/_build/html/_modules/mindroot/lib/chatlog_optimized.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/lib/json_escape.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/lib/json_str_block/json_str_block.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/lib/parent_templates.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/lib/plugins/installation.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/lib/plugins/l8n_static_handler.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/lib/plugins/loader.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/lib/plugins/loader_with_l8n.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/lib/plugins/manifest.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/lib/plugins/mapping.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/lib/plugins/paths.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/lib/plugins_install.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/lib/providers/commands.html +282 -87
- mindroot/docs/_build/html/_modules/mindroot/lib/providers/hooks.html +280 -85
- mindroot/docs/_build/html/_modules/mindroot/lib/providers/missing.html +282 -87
- mindroot/docs/_build/html/_modules/mindroot/lib/providers/model_preferences_v2.html +1 -0
- mindroot/docs/_build/html/_modules/mindroot/lib/providers/services.html +282 -87
- mindroot/docs/_build/html/_modules/mindroot/lib/providers.html +285 -89
- mindroot/docs/_build/html/_modules/mindroot/lib/route_decorators.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/lib/session_files.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/lib/streamcmd.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/lib/templates.html +1 -0
- mindroot/docs/_build/html/_modules/mindroot/lib/token_counter.html +280 -84
- mindroot/docs/_build/html/_modules/mindroot/migrate.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/registry/component_manager.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/registry/data_access.html +285 -89
- mindroot/docs/_build/html/_modules/mindroot/server.html +1 -0
- mindroot/docs/_build/html/_modules/mindroot/server_missing_normal_args.html +282 -86
- mindroot/docs/_build/html/_modules/mindroot/server_prev.html +282 -86
- mindroot/docs/_build/html/_sources/developer_documentation.rst.txt +1 -1
- mindroot/docs/_build/html/_sources/embed_chat.rst.txt +54 -0
- mindroot/docs/_build/html/_sources/user_documentation.rst.txt +6 -1
- mindroot/docs/_build/html/chat_with_assistant.html +1 -0
- mindroot/docs/_build/html/developer_documentation.html +5 -4
- mindroot/docs/_build/html/embed_chat.html +381 -0
- mindroot/docs/_build/html/genindex.html +9 -2
- mindroot/docs/_build/html/getting_started.html +1 -0
- mindroot/docs/_build/html/index.html +2 -0
- mindroot/docs/_build/html/install_plugins_with_tools.html +1 -0
- mindroot/docs/_build/html/installation.html +1 -0
- mindroot/docs/_build/html/llm_api_key.html +1 -0
- mindroot/docs/_build/html/llm_plugin_installation.html +1 -0
- mindroot/docs/_build/html/objects.inv +0 -0
- mindroot/docs/_build/html/programming_task.html +4 -3
- mindroot/docs/_build/html/py-modindex.html +2 -1
- mindroot/docs/_build/html/search.html +1 -0
- mindroot/docs/_build/html/searchindex.js +1 -1
- mindroot/docs/_build/html/source/ahp.html +1 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.admin.html +1 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.api_keys.html +1 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.chat.html +1 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.chat_avatar.html +1 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.check_list.html +76 -45
- mindroot/docs/_build/html/source/mindroot.coreplugins.credits.html +1 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.email.html +1 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.env_manager.html +1 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.events.html +1 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.html +3 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.index.handlers.html +1 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.index.html +1 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.jwt_auth.html +1 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.l8n.html +1 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.mcp_.html +1 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.persona.html +1 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.startup.html +1 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.subscriptions.html +1 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.usage.html +1 -0
- mindroot/docs/_build/html/source/mindroot.coreplugins.user_service.html +1 -0
- mindroot/docs/_build/html/source/mindroot.html +2 -0
- mindroot/docs/_build/html/source/mindroot.lib.auth.html +1 -0
- mindroot/docs/_build/html/source/mindroot.lib.html +34 -3
- mindroot/docs/_build/html/source/mindroot.lib.json_str_block.html +1 -0
- mindroot/docs/_build/html/source/mindroot.lib.plugins.html +1 -0
- mindroot/docs/_build/html/source/mindroot.lib.providers.backup.html +1 -0
- mindroot/docs/_build/html/source/mindroot.lib.providers.html +1 -0
- mindroot/docs/_build/html/source/mindroot.registry.html +1 -0
- mindroot/docs/_build/html/source/modules.html +1 -0
- mindroot/docs/_build/html/source/mr_agent_expert_instr.html +1 -0
- mindroot/docs/_build/html/starting_mindroot.html +1 -0
- mindroot/docs/_build/html/user_documentation.html +9 -0
- mindroot/docs/apikey.png +0 -0
- mindroot/docs/chatwidget1.png +0 -0
- mindroot/docs/chatwidgetx.png +0 -0
- mindroot/docs/disablechatavatar.png +0 -0
- mindroot/docs/embed_chat.rst +54 -0
- mindroot/docs/user_documentation.rst +6 -1
- mindroot/docs/widgetform.png +0 -0
- mindroot/docs/widgetonpage.png +0 -0
- {mindroot-10.0.0.dist-info → mindroot-10.2.0.dist-info}/METADATA +1 -1
- {mindroot-10.0.0.dist-info → mindroot-10.2.0.dist-info}/RECORD +211 -245
- mindroot/docs/_build/html/.buildinfo.bak +0 -4
- mindroot/docs/_build/html/_static/_sphinx_javascript_frameworks_compat.js +0 -123
- mindroot/docs/_build/html/_static/css/badge_only.css +0 -1
- mindroot/docs/_build/html/_static/css/fonts/Roboto-Slab-Bold.woff +0 -0
- mindroot/docs/_build/html/_static/css/fonts/Roboto-Slab-Bold.woff2 +0 -0
- mindroot/docs/_build/html/_static/css/fonts/Roboto-Slab-Regular.woff +0 -0
- mindroot/docs/_build/html/_static/css/fonts/Roboto-Slab-Regular.woff2 +0 -0
- mindroot/docs/_build/html/_static/css/fonts/fontawesome-webfont.eot +0 -0
- mindroot/docs/_build/html/_static/css/fonts/fontawesome-webfont.svg +0 -2671
- mindroot/docs/_build/html/_static/css/fonts/fontawesome-webfont.ttf +0 -0
- mindroot/docs/_build/html/_static/css/fonts/fontawesome-webfont.woff +0 -0
- mindroot/docs/_build/html/_static/css/fonts/fontawesome-webfont.woff2 +0 -0
- mindroot/docs/_build/html/_static/css/fonts/lato-bold-italic.woff +0 -0
- mindroot/docs/_build/html/_static/css/fonts/lato-bold-italic.woff2 +0 -0
- mindroot/docs/_build/html/_static/css/fonts/lato-bold.woff +0 -0
- mindroot/docs/_build/html/_static/css/fonts/lato-bold.woff2 +0 -0
- mindroot/docs/_build/html/_static/css/fonts/lato-normal-italic.woff +0 -0
- mindroot/docs/_build/html/_static/css/fonts/lato-normal-italic.woff2 +0 -0
- mindroot/docs/_build/html/_static/css/fonts/lato-normal.woff +0 -0
- mindroot/docs/_build/html/_static/css/fonts/lato-normal.woff2 +0 -0
- mindroot/docs/_build/html/_static/css/theme.css +0 -4
- mindroot/docs/_build/html/_static/fonts/Lato/lato-bold.eot +0 -0
- mindroot/docs/_build/html/_static/fonts/Lato/lato-bold.ttf +0 -0
- mindroot/docs/_build/html/_static/fonts/Lato/lato-bold.woff +0 -0
- mindroot/docs/_build/html/_static/fonts/Lato/lato-bold.woff2 +0 -0
- mindroot/docs/_build/html/_static/fonts/Lato/lato-bolditalic.eot +0 -0
- mindroot/docs/_build/html/_static/fonts/Lato/lato-bolditalic.ttf +0 -0
- mindroot/docs/_build/html/_static/fonts/Lato/lato-bolditalic.woff +0 -0
- mindroot/docs/_build/html/_static/fonts/Lato/lato-bolditalic.woff2 +0 -0
- mindroot/docs/_build/html/_static/fonts/Lato/lato-italic.eot +0 -0
- mindroot/docs/_build/html/_static/fonts/Lato/lato-italic.ttf +0 -0
- mindroot/docs/_build/html/_static/fonts/Lato/lato-italic.woff +0 -0
- mindroot/docs/_build/html/_static/fonts/Lato/lato-italic.woff2 +0 -0
- mindroot/docs/_build/html/_static/fonts/Lato/lato-regular.eot +0 -0
- mindroot/docs/_build/html/_static/fonts/Lato/lato-regular.ttf +0 -0
- mindroot/docs/_build/html/_static/fonts/Lato/lato-regular.woff +0 -0
- mindroot/docs/_build/html/_static/fonts/Lato/lato-regular.woff2 +0 -0
- mindroot/docs/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot +0 -0
- mindroot/docs/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf +0 -0
- mindroot/docs/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff +0 -0
- mindroot/docs/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2 +0 -0
- mindroot/docs/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot +0 -0
- mindroot/docs/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf +0 -0
- mindroot/docs/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff +0 -0
- mindroot/docs/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2 +0 -0
- mindroot/docs/_build/html/_static/jquery.js +0 -2
- mindroot/docs/_build/html/_static/js/badge_only.js +0 -1
- mindroot/docs/_build/html/_static/js/theme.js +0 -1
- mindroot/docs/_build/html/_static/js/versions.js +0 -228
- {mindroot-10.0.0.dist-info → mindroot-10.2.0.dist-info}/WHEEL +0 -0
- {mindroot-10.0.0.dist-info → mindroot-10.2.0.dist-info}/entry_points.txt +0 -0
- {mindroot-10.0.0.dist-info → mindroot-10.2.0.dist-info}/licenses/LICENSE +0 -0
- {mindroot-10.0.0.dist-info → mindroot-10.2.0.dist-info}/top_level.txt +0 -0
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -266,79 +267,86 @@
|
|
|
266
267
|
</section>
|
|
267
268
|
<section id="module-mindroot.coreplugins.check_list.mod">
|
|
268
269
|
<span id="mindroot-coreplugins-check-list-mod-module"></span><h2>mindroot.coreplugins.check_list.mod module<a class="headerlink" href="#module-mindroot.coreplugins.check_list.mod" title="Link to this heading">¶</a></h2>
|
|
269
|
-
<p>checklist helper for an LLM
|
|
270
|
-
|
|
270
|
+
<p>checklist helper for an LLM-agent system
|
|
271
|
+
————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
|
|
271
272
|
Purpose
|
|
272
|
-
|
|
273
|
-
• Parse a Markdown “## Checklist” section where each subtask is</p>
|
|
274
|
-
<blockquote>
|
|
275
|
-
<div><p>written as a task‑list line:</p>
|
|
276
|
-
<blockquote>
|
|
277
|
-
<div><ul class="simple">
|
|
278
|
-
<li><dl class="simple">
|
|
279
|
-
<dt>[ ] label of subtask</dt><dd><p>arbitrary markdown body… (until next task or heading)</p>
|
|
280
|
-
</dd>
|
|
281
|
-
</dl>
|
|
282
|
-
</li>
|
|
283
|
-
</ul>
|
|
284
|
-
</div></blockquote>
|
|
285
|
-
</div></blockquote>
|
|
273
|
+
——-</p>
|
|
286
274
|
<ul class="simple">
|
|
287
|
-
<li><p>
|
|
288
|
-
<li><
|
|
289
|
-
<
|
|
290
|
-
|
|
291
|
-
goto_subtask(subtask_id, context) → move to a specific subtask
|
|
292
|
-
clear_subtask(subtask_id, context) → mark a subtask as incomplete
|
|
293
|
-
get_checklist_status(context) → show the full checklist status</p>
|
|
294
|
-
</dd>
|
|
295
|
-
</dl>
|
|
296
|
-
</li>
|
|
275
|
+
<li><p>Parse a Markdown checklist section where each subtask is written as a task-list line</p></li>
|
|
276
|
+
<li><p>Store parsed tasks + cursor in <cite>context.data[‘checklist’]</cite></p></li>
|
|
277
|
+
<li><p>Support nested subtasks within parent task bodies</p></li>
|
|
278
|
+
<li><p>Runtime helpers for managing both top-level and nested subtasks</p></li>
|
|
297
279
|
</ul>
|
|
298
280
|
<p><cite>complete_subtask</cite> and other commands live at module level so the agent can call them
|
|
299
|
-
as tools. No third
|
|
281
|
+
as tools. No third-party deps—only Python’s <cite>re</cite> module.</p>
|
|
300
282
|
<dl class="py function">
|
|
301
283
|
<dt class="sig sig-object py" id="mindroot.coreplugins.check_list.mod.clear_subtask">
|
|
302
284
|
<em class="property"><span class="k"><span class="pre">async</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">mindroot.coreplugins.check_list.mod.</span></span><span class="sig-name descname"><span class="pre">clear_subtask</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">subtask_id</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">context</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/mindroot/coreplugins/check_list/mod.html#clear_subtask"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#mindroot.coreplugins.check_list.mod.clear_subtask" title="Link to this definition">¶</a></dt>
|
|
303
|
-
<dd><p>Mark a subtask as incomplete (not done)
|
|
285
|
+
<dd><p>Mark a subtask as incomplete (not done).
|
|
286
|
+
Now supports both top-level and nested subtasks.</p>
|
|
304
287
|
<p>Parameters:
|
|
305
288
|
- subtask_id: Optional. The subtask to clear, specified by:</p>
|
|
306
289
|
<blockquote>
|
|
307
290
|
<div><ul class="simple">
|
|
308
|
-
<li><p>The exact subtask label text</p></li>
|
|
291
|
+
<li><p>The exact subtask label text (top-level or nested)</p></li>
|
|
309
292
|
<li><p>Omit to clear the current subtask</p></li>
|
|
310
293
|
</ul>
|
|
311
294
|
</div></blockquote>
|
|
312
295
|
<p>Example:
|
|
313
296
|
{ “clear_subtask”: {} } # Clear current subtask
|
|
314
|
-
{ “clear_subtask”: { “subtask_id”: “Review documents” } } # Clear by label
|
|
297
|
+
{ “clear_subtask”: { “subtask_id”: “Review documents” } } # Clear top-level by label
|
|
298
|
+
{ “clear_subtask”: { “subtask_id”: “USP” } } # Clear nested subtask</p>
|
|
315
299
|
</dd></dl>
|
|
316
300
|
|
|
317
301
|
<dl class="py function">
|
|
318
302
|
<dt class="sig sig-object py" id="mindroot.coreplugins.check_list.mod.complete_subtask">
|
|
319
303
|
<em class="property"><span class="k"><span class="pre">async</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">mindroot.coreplugins.check_list.mod.</span></span><span class="sig-name descname"><span class="pre">complete_subtask</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">subtask_id</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">context</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/mindroot/coreplugins/check_list/mod.html#complete_subtask"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#mindroot.coreplugins.check_list.mod.complete_subtask" title="Link to this definition">¶</a></dt>
|
|
320
|
-
<dd><p>Mark a subtask complete and return a Markdown status message
|
|
304
|
+
<dd><p>Mark a subtask complete and return a Markdown status message.
|
|
305
|
+
Now supports both top-level and nested subtasks.</p>
|
|
321
306
|
<p>Parameters:
|
|
322
307
|
- subtask_id: Optional. The subtask to complete, specified by:</p>
|
|
323
308
|
<blockquote>
|
|
324
309
|
<div><ul class="simple">
|
|
325
|
-
<li><p>The exact subtask label text</p></li>
|
|
310
|
+
<li><p>The exact subtask label text (top-level or nested)</p></li>
|
|
326
311
|
<li><p>Omit to complete the current subtask</p></li>
|
|
327
312
|
</ul>
|
|
328
313
|
</div></blockquote>
|
|
329
314
|
<p>Example:
|
|
330
315
|
{ “complete_subtask”: {} } # Complete current subtask
|
|
331
|
-
{ “complete_subtask”: { “subtask_id”: “Review documents” } } # Complete by label
|
|
316
|
+
{ “complete_subtask”: { “subtask_id”: “Review documents” } } # Complete by label
|
|
317
|
+
{ “complete_subtask”: { “subtask_id”: “USP” } } # Complete nested subtask</p>
|
|
318
|
+
</dd></dl>
|
|
319
|
+
|
|
320
|
+
<dl class="py function">
|
|
321
|
+
<dt class="sig sig-object py" id="mindroot.coreplugins.check_list.mod.delegate_subtask">
|
|
322
|
+
<em class="property"><span class="k"><span class="pre">async</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">mindroot.coreplugins.check_list.mod.</span></span><span class="sig-name descname"><span class="pre">delegate_subtask</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">subtask_id</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">details</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">agent</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">context</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/mindroot/coreplugins/check_list/mod.html#delegate_subtask"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#mindroot.coreplugins.check_list.mod.delegate_subtask" title="Link to this definition">¶</a></dt>
|
|
323
|
+
<dd><p>Delegate a subtask to an agent, automatically passing the subtask body as
|
|
324
|
+
instructions, along with any details you add.
|
|
325
|
+
Now supports both top-level and nested subtasks.</p>
|
|
326
|
+
<p>IMPORTANT: You can only delegate ONE task a time.
|
|
327
|
+
You must wait for this task delegation to complete before issuing
|
|
328
|
+
more delegate_subtask commands.</p>
|
|
329
|
+
<p>If agent is not specified, the current agent name will be used for the subtask.</p>
|
|
330
|
+
<p>IMPORTANT: Subtask ID may only contain alphanumerics; all other special characters are invalid.</p>
|
|
331
|
+
<p>Example:
|
|
332
|
+
{ “delegate_subtask”: { “subtask_id”: “Research”,</p>
|
|
333
|
+
<blockquote>
|
|
334
|
+
<div><p>“details”: “Session data in /data/sess_1234/” }}</p>
|
|
335
|
+
</div></blockquote>
|
|
336
|
+
<dl class="simple">
|
|
337
|
+
<dt>{ “delegate_subtask”: { “subtask_id”: “USP”,</dt><dd><p>“details”: “Focus on unique selling proposition analysis” }}</p>
|
|
338
|
+
</dd>
|
|
339
|
+
</dl>
|
|
340
|
+
<p>Note that you do not need to repeat the text of the subtask item from the checklist
|
|
341
|
+
in your details.</p>
|
|
332
342
|
</dd></dl>
|
|
333
343
|
|
|
334
344
|
<dl class="py function">
|
|
335
345
|
<dt class="sig sig-object py" id="mindroot.coreplugins.check_list.mod.extract_checklist_section">
|
|
336
346
|
<span class="sig-prename descclassname"><span class="pre">mindroot.coreplugins.check_list.mod.</span></span><span class="sig-name descname"><span class="pre">extract_checklist_section</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">md</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/mindroot/coreplugins/check_list/mod.html#extract_checklist_section"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#mindroot.coreplugins.check_list.mod.extract_checklist_section" title="Link to this definition">¶</a></dt>
|
|
337
|
-
<dd><p>Extract
|
|
338
|
-
<p>
|
|
339
|
-
|
|
340
|
-
or the end of the text.</p>
|
|
341
|
-
<p>Returns the extracted section, or the original text if no checklist section is found.</p>
|
|
347
|
+
<dd><p>Extract checklist items from the entire markdown text.</p>
|
|
348
|
+
<p>No longer requires a specific ‘Checklist’ heading - processes the entire text
|
|
349
|
+
and extracts only top-level checklist items, leaving nested ones intact.</p>
|
|
342
350
|
</dd></dl>
|
|
343
351
|
|
|
344
352
|
<dl class="py function">
|
|
@@ -349,19 +357,42 @@ or the end of the text.</p>
|
|
|
349
357
|
{ “get_checklist_status”: {} }</p>
|
|
350
358
|
</dd></dl>
|
|
351
359
|
|
|
360
|
+
<dl class="py function">
|
|
361
|
+
<dt class="sig sig-object py" id="mindroot.coreplugins.check_list.mod.get_parsed_subtasks">
|
|
362
|
+
<em class="property"><span class="k"><span class="pre">async</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">mindroot.coreplugins.check_list.mod.</span></span><span class="sig-name descname"><span class="pre">get_parsed_subtasks</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">subtask_id</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">context</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/mindroot/coreplugins/check_list/mod.html#get_parsed_subtasks"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#mindroot.coreplugins.check_list.mod.get_parsed_subtasks" title="Link to this definition">¶</a></dt>
|
|
363
|
+
<dd><p>Return parsed subtasks with their name/id and body for verification.
|
|
364
|
+
Now supports getting nested subtasks from within parent tasks.</p>
|
|
365
|
+
<p>Parameters:
|
|
366
|
+
- subtask_id: Optional. If provided, parse subtasks from the body of this specific subtask.</p>
|
|
367
|
+
<blockquote>
|
|
368
|
+
<div><p>If omitted, returns all top-level subtasks from the main checklist.</p>
|
|
369
|
+
</div></blockquote>
|
|
370
|
+
<p>Returns a list of dictionaries with:
|
|
371
|
+
- label: The subtask name/label
|
|
372
|
+
- body: The subtask body content
|
|
373
|
+
- done: Whether the subtask is marked as complete
|
|
374
|
+
- index: The 0-based index of the subtask</p>
|
|
375
|
+
<p>Example:
|
|
376
|
+
{ “get_parsed_subtasks”: {} } # Get all top-level subtasks
|
|
377
|
+
{ “get_parsed_subtasks”: { “subtask_id”: “Research phase” } } # Get nested subtasks from “Research phase”
|
|
378
|
+
{ “get_parsed_subtasks”: { “subtask_id”: “Core” } } # Get nested subtasks from “Core”</p>
|
|
379
|
+
</dd></dl>
|
|
380
|
+
|
|
352
381
|
<dl class="py function">
|
|
353
382
|
<dt class="sig sig-object py" id="mindroot.coreplugins.check_list.mod.goto_subtask">
|
|
354
383
|
<em class="property"><span class="k"><span class="pre">async</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">mindroot.coreplugins.check_list.mod.</span></span><span class="sig-name descname"><span class="pre">goto_subtask</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">subtask_id</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">context</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/mindroot/coreplugins/check_list/mod.html#goto_subtask"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#mindroot.coreplugins.check_list.mod.goto_subtask" title="Link to this definition">¶</a></dt>
|
|
355
|
-
<dd><p>Move to a specific subtask without changing its completion status
|
|
384
|
+
<dd><p>Move to a specific subtask without changing its completion status.
|
|
385
|
+
Now supports both top-level and nested subtasks.</p>
|
|
356
386
|
<p>Parameters:
|
|
357
387
|
- subtask_id: Required. The subtask to navigate to, specified by:</p>
|
|
358
388
|
<blockquote>
|
|
359
389
|
<div><ul class="simple">
|
|
360
|
-
<li><p>The exact subtask label text</p></li>
|
|
390
|
+
<li><p>The exact subtask label text (top-level or nested)</p></li>
|
|
361
391
|
</ul>
|
|
362
392
|
</div></blockquote>
|
|
363
393
|
<p>Example:
|
|
364
|
-
{ “goto_subtask”: { “subtask_id”: “Data analysis” } } # Go to
|
|
394
|
+
{ “goto_subtask”: { “subtask_id”: “Data analysis” } } # Go to top-level task
|
|
395
|
+
{ “goto_subtask”: { “subtask_id”: “USP” } } # Go to nested task</p>
|
|
365
396
|
</dd></dl>
|
|
366
397
|
|
|
367
398
|
<dl class="py function">
|
|
@@ -373,10 +404,8 @@ or the end of the text.</p>
|
|
|
373
404
|
<dl class="py function">
|
|
374
405
|
<dt class="sig sig-object py" id="mindroot.coreplugins.check_list.mod.load_checklist_from_instructions">
|
|
375
406
|
<em class="property"><span class="k"><span class="pre">async</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">mindroot.coreplugins.check_list.mod.</span></span><span class="sig-name descname"><span class="pre">load_checklist_from_instructions</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">md</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">context</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/mindroot/coreplugins/check_list/mod.html#load_checklist_from_instructions"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#mindroot.coreplugins.check_list.mod.load_checklist_from_instructions" title="Link to this definition">¶</a></dt>
|
|
376
|
-
<dd><p>
|
|
377
|
-
<p>
|
|
378
|
-
<p>Example:
|
|
379
|
-
{ “load_checklist_from_instructions”: { “md”: “Full instructions with embedded checklist” } }</p>
|
|
407
|
+
<dd><p>Load checklist from instructions.</p>
|
|
408
|
+
<p>Processes the entire text and extracts top-level checklist items.</p>
|
|
380
409
|
</dd></dl>
|
|
381
410
|
|
|
382
411
|
</section>
|
|
@@ -427,8 +456,10 @@ or the end of the text.</p>
|
|
|
427
456
|
<li><a class="reference internal" href="#module-mindroot.coreplugins.check_list.mod">mindroot.coreplugins.check_list.mod module</a><ul>
|
|
428
457
|
<li><a class="reference internal" href="#mindroot.coreplugins.check_list.mod.clear_subtask"><code class="docutils literal notranslate"><span class="pre">clear_subtask()</span></code></a></li>
|
|
429
458
|
<li><a class="reference internal" href="#mindroot.coreplugins.check_list.mod.complete_subtask"><code class="docutils literal notranslate"><span class="pre">complete_subtask()</span></code></a></li>
|
|
459
|
+
<li><a class="reference internal" href="#mindroot.coreplugins.check_list.mod.delegate_subtask"><code class="docutils literal notranslate"><span class="pre">delegate_subtask()</span></code></a></li>
|
|
430
460
|
<li><a class="reference internal" href="#mindroot.coreplugins.check_list.mod.extract_checklist_section"><code class="docutils literal notranslate"><span class="pre">extract_checklist_section()</span></code></a></li>
|
|
431
461
|
<li><a class="reference internal" href="#mindroot.coreplugins.check_list.mod.get_checklist_status"><code class="docutils literal notranslate"><span class="pre">get_checklist_status()</span></code></a></li>
|
|
462
|
+
<li><a class="reference internal" href="#mindroot.coreplugins.check_list.mod.get_parsed_subtasks"><code class="docutils literal notranslate"><span class="pre">get_parsed_subtasks()</span></code></a></li>
|
|
432
463
|
<li><a class="reference internal" href="#mindroot.coreplugins.check_list.mod.goto_subtask"><code class="docutils literal notranslate"><span class="pre">goto_subtask()</span></code></a></li>
|
|
433
464
|
<li><a class="reference internal" href="#mindroot.coreplugins.check_list.mod.load_checklist"><code class="docutils literal notranslate"><span class="pre">load_checklist()</span></code></a></li>
|
|
434
465
|
<li><a class="reference internal" href="#mindroot.coreplugins.check_list.mod.load_checklist_from_instructions"><code class="docutils literal notranslate"><span class="pre">load_checklist_from_instructions()</span></code></a></li>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -812,8 +813,10 @@
|
|
|
812
813
|
<li class="toctree-l2"><a class="reference internal" href="mindroot.coreplugins.check_list.html#module-mindroot.coreplugins.check_list.mod">mindroot.coreplugins.check_list.mod module</a><ul>
|
|
813
814
|
<li class="toctree-l3"><a class="reference internal" href="mindroot.coreplugins.check_list.html#mindroot.coreplugins.check_list.mod.clear_subtask"><code class="docutils literal notranslate"><span class="pre">clear_subtask()</span></code></a></li>
|
|
814
815
|
<li class="toctree-l3"><a class="reference internal" href="mindroot.coreplugins.check_list.html#mindroot.coreplugins.check_list.mod.complete_subtask"><code class="docutils literal notranslate"><span class="pre">complete_subtask()</span></code></a></li>
|
|
816
|
+
<li class="toctree-l3"><a class="reference internal" href="mindroot.coreplugins.check_list.html#mindroot.coreplugins.check_list.mod.delegate_subtask"><code class="docutils literal notranslate"><span class="pre">delegate_subtask()</span></code></a></li>
|
|
815
817
|
<li class="toctree-l3"><a class="reference internal" href="mindroot.coreplugins.check_list.html#mindroot.coreplugins.check_list.mod.extract_checklist_section"><code class="docutils literal notranslate"><span class="pre">extract_checklist_section()</span></code></a></li>
|
|
816
818
|
<li class="toctree-l3"><a class="reference internal" href="mindroot.coreplugins.check_list.html#mindroot.coreplugins.check_list.mod.get_checklist_status"><code class="docutils literal notranslate"><span class="pre">get_checklist_status()</span></code></a></li>
|
|
819
|
+
<li class="toctree-l3"><a class="reference internal" href="mindroot.coreplugins.check_list.html#mindroot.coreplugins.check_list.mod.get_parsed_subtasks"><code class="docutils literal notranslate"><span class="pre">get_parsed_subtasks()</span></code></a></li>
|
|
817
820
|
<li class="toctree-l3"><a class="reference internal" href="mindroot.coreplugins.check_list.html#mindroot.coreplugins.check_list.mod.goto_subtask"><code class="docutils literal notranslate"><span class="pre">goto_subtask()</span></code></a></li>
|
|
818
821
|
<li class="toctree-l3"><a class="reference internal" href="mindroot.coreplugins.check_list.html#mindroot.coreplugins.check_list.mod.load_checklist"><code class="docutils literal notranslate"><span class="pre">load_checklist()</span></code></a></li>
|
|
819
822
|
<li class="toctree-l3"><a class="reference internal" href="mindroot.coreplugins.check_list.html#mindroot.coreplugins.check_list.mod.load_checklist_from_instructions"><code class="docutils literal notranslate"><span class="pre">load_checklist_from_instructions()</span></code></a></li>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -374,6 +375,7 @@
|
|
|
374
375
|
<li class="toctree-l4"><a class="reference internal" href="mindroot.lib.html#mindroot.lib.chatlog.ChatLog.save_log"><code class="docutils literal notranslate"><span class="pre">ChatLog.save_log()</span></code></a></li>
|
|
375
376
|
</ul>
|
|
376
377
|
</li>
|
|
378
|
+
<li class="toctree-l3"><a class="reference internal" href="mindroot.lib.html#mindroot.lib.chatlog.build_token_hierarchy"><code class="docutils literal notranslate"><span class="pre">build_token_hierarchy()</span></code></a></li>
|
|
377
379
|
<li class="toctree-l3"><a class="reference internal" href="mindroot.lib.html#mindroot.lib.chatlog.count_tokens_for_log_id"><code class="docutils literal notranslate"><span class="pre">count_tokens_for_log_id()</span></code></a></li>
|
|
378
380
|
<li class="toctree-l3"><a class="reference internal" href="mindroot.lib.html#mindroot.lib.chatlog.extract_delegate_task_log_ids"><code class="docutils literal notranslate"><span class="pre">extract_delegate_task_log_ids()</span></code></a></li>
|
|
379
381
|
<li class="toctree-l3"><a class="reference internal" href="mindroot.lib.html#mindroot.lib.chatlog.find_chatlog_file"><code class="docutils literal notranslate"><span class="pre">find_chatlog_file()</span></code></a></li>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -849,16 +850,45 @@ Creates the directory if it doesn’t exist.</p>
|
|
|
849
850
|
|
|
850
851
|
</dd></dl>
|
|
851
852
|
|
|
853
|
+
<dl class="py function">
|
|
854
|
+
<dt class="sig sig-object py" id="mindroot.lib.chatlog.build_token_hierarchy">
|
|
855
|
+
<em class="property"><span class="k"><span class="pre">async</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">mindroot.lib.chatlog.</span></span><span class="sig-name descname"><span class="pre">build_token_hierarchy</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">log_id</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">user</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">visited</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">set</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">Dict</span></span></span><a class="reference internal" href="../_modules/mindroot/lib/chatlog.html#build_token_hierarchy"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#mindroot.lib.chatlog.build_token_hierarchy" title="Link to this definition">¶</a></dt>
|
|
856
|
+
<dd><p>Build a hierarchical token count structure for a log and its children.</p>
|
|
857
|
+
<dl class="field-list simple">
|
|
858
|
+
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
|
|
859
|
+
<dd class="field-odd"><ul class="simple">
|
|
860
|
+
<li><p><strong>log_id</strong> – The log ID to build hierarchy for</p></li>
|
|
861
|
+
<li><p><strong>user</strong> – User for the log</p></li>
|
|
862
|
+
<li><p><strong>visited</strong> – Set of already visited log IDs to prevent infinite recursion</p></li>
|
|
863
|
+
</ul>
|
|
864
|
+
</dd>
|
|
865
|
+
<dt class="field-even">Returns<span class="colon">:</span></dt>
|
|
866
|
+
<dd class="field-even"><p><ul class="simple">
|
|
867
|
+
<li><p>log_id: The log ID</p></li>
|
|
868
|
+
<li><p>individual_counts: Token counts for this log only</p></li>
|
|
869
|
+
<li><p>cumulative_counts: Token counts including all children</p></li>
|
|
870
|
+
<li><p>children: List of child hierarchies</p></li>
|
|
871
|
+
</ul>
|
|
872
|
+
</p>
|
|
873
|
+
</dd>
|
|
874
|
+
<dt class="field-odd">Return type<span class="colon">:</span></dt>
|
|
875
|
+
<dd class="field-odd"><p>Dictionary with hierarchical structure containing</p>
|
|
876
|
+
</dd>
|
|
877
|
+
</dl>
|
|
878
|
+
</dd></dl>
|
|
879
|
+
|
|
852
880
|
<dl class="py function">
|
|
853
881
|
<dt class="sig sig-object py" id="mindroot.lib.chatlog.count_tokens_for_log_id">
|
|
854
|
-
<em class="property"><span class="k"><span class="pre">async</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">mindroot.lib.chatlog.</span></span><span class="sig-name descname"><span class="pre">count_tokens_for_log_id</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">log_id</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">Dict</span><span class="p"><span class="pre">[</span></span><span class="pre">str</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">int</span><span class="p"><span class="pre">]</span></span></span></span><a class="reference internal" href="../_modules/mindroot/lib/chatlog.html#count_tokens_for_log_id"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#mindroot.lib.chatlog.count_tokens_for_log_id" title="Link to this definition">¶</a></dt>
|
|
882
|
+
<em class="property"><span class="k"><span class="pre">async</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">mindroot.lib.chatlog.</span></span><span class="sig-name descname"><span class="pre">count_tokens_for_log_id</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">log_id</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">user</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">hierarchical</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">bool</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">Dict</span><span class="p"><span class="pre">[</span></span><span class="pre">str</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">int</span><span class="p"><span class="pre">]</span></span></span></span><a class="reference internal" href="../_modules/mindroot/lib/chatlog.html#count_tokens_for_log_id"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#mindroot.lib.chatlog.count_tokens_for_log_id" title="Link to this definition">¶</a></dt>
|
|
855
883
|
<dd><p>Count tokens for a chat log identified by log_id, including any delegated tasks.</p>
|
|
856
884
|
<dl class="field-list simple">
|
|
857
885
|
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
|
|
858
886
|
<dd class="field-odd"><p><strong>log_id</strong> – The log ID to count tokens for</p>
|
|
859
887
|
</dd>
|
|
860
888
|
<dt class="field-even">Returns<span class="colon">:</span></dt>
|
|
861
|
-
<dd class="field-even"><p>Dictionary with token counts or None if log not found
|
|
889
|
+
<dd class="field-even"><p>Dictionary with token counts or None if log not found.
|
|
890
|
+
If hierarchical=True, includes ‘hierarchy’ key with tree structure.
|
|
891
|
+
If hierarchical=False (default), returns flat structure for backwards compatibility.</p>
|
|
862
892
|
</dd>
|
|
863
893
|
</dl>
|
|
864
894
|
</dd></dl>
|
|
@@ -866,7 +896,7 @@ Creates the directory if it doesn’t exist.</p>
|
|
|
866
896
|
<dl class="py function">
|
|
867
897
|
<dt class="sig sig-object py" id="mindroot.lib.chatlog.extract_delegate_task_log_ids">
|
|
868
898
|
<span class="sig-prename descclassname"><span class="pre">mindroot.lib.chatlog.</span></span><span class="sig-name descname"><span class="pre">extract_delegate_task_log_ids</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">messages</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><span class="pre">Dict</span><span class="p"><span class="pre">]</span></span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><span class="pre">str</span><span class="p"><span class="pre">]</span></span></span></span><a class="reference internal" href="../_modules/mindroot/lib/chatlog.html#extract_delegate_task_log_ids"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#mindroot.lib.chatlog.extract_delegate_task_log_ids" title="Link to this definition">¶</a></dt>
|
|
869
|
-
<dd><p>Extract log IDs from delegate_task commands in messages.</p>
|
|
899
|
+
<dd><p>Extract log IDs from delegate_task and delegate_subtask commands in messages.</p>
|
|
870
900
|
<dl class="field-list simple">
|
|
871
901
|
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
|
|
872
902
|
<dd class="field-odd"><p><strong>messages</strong> – List of chat messages</p>
|
|
@@ -1898,6 +1928,7 @@ Creates the directory if it doesn’t exist.</p>
|
|
|
1898
1928
|
<li><a class="reference internal" href="#mindroot.lib.chatlog.ChatLog.save_log"><code class="docutils literal notranslate"><span class="pre">ChatLog.save_log()</span></code></a></li>
|
|
1899
1929
|
</ul>
|
|
1900
1930
|
</li>
|
|
1931
|
+
<li><a class="reference internal" href="#mindroot.lib.chatlog.build_token_hierarchy"><code class="docutils literal notranslate"><span class="pre">build_token_hierarchy()</span></code></a></li>
|
|
1901
1932
|
<li><a class="reference internal" href="#mindroot.lib.chatlog.count_tokens_for_log_id"><code class="docutils literal notranslate"><span class="pre">count_tokens_for_log_id()</span></code></a></li>
|
|
1902
1933
|
<li><a class="reference internal" href="#mindroot.lib.chatlog.extract_delegate_task_log_ids"><code class="docutils literal notranslate"><span class="pre">extract_delegate_task_log_ids()</span></code></a></li>
|
|
1903
1934
|
<li><a class="reference internal" href="#mindroot.lib.chatlog.find_chatlog_file"><code class="docutils literal notranslate"><span class="pre">find_chatlog_file()</span></code></a></li>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
<li class="toctree-l2"><a class="reference internal" href="../chat_with_assistant.html">Chat with Assistant</a></li>
|
|
214
214
|
<li class="toctree-l2"><a class="reference internal" href="../install_plugins_with_tools.html">Install Plugins with Tools</a></li>
|
|
215
215
|
<li class="toctree-l2"><a class="reference internal" href="../programming_task.html">Give Assistant a Programming Task</a></li>
|
|
216
|
+
<li class="toctree-l2"><a class="reference internal" href="../embed_chat.html">Embed Agent Chat on Your Website</a></li>
|
|
216
217
|
</ul>
|
|
217
218
|
</li>
|
|
218
219
|
</ul>
|