mindroot 10.7.0__py3-none-any.whl → 10.9.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.

@@ -369,6 +369,7 @@ class Agent:
369
369
  if result == "SYSTEM: WARNING - Command interrupted!\n\n":
370
370
  logger.warning("Command was interrupted. Stopping processing.")
371
371
  await context.chat_log.drop_last('assistant')
372
+ await asyncio.sleep(0.5)
372
373
  break
373
374
  return results, full_cmds
374
375
 
@@ -669,9 +669,13 @@ async def cancel_active_response(log_id: str, context=None):
669
669
  # DEBUG TRACE
670
670
  print("\033[91;107m[DEBUG TRACE 6/6] Active command task found and cancelled.\033[0m")
671
671
  print(f"Cancelled active command task for session {log_id}")
672
+ print(f"Removing last assistant message from chat log for session {log_id}")
673
+ await context.chat_log.drop_last('assistant')
674
+
672
675
  except Exception as e:
673
676
  print(f"Error cancelling active command task: {e}")
674
-
677
+
678
+
675
679
  await context.save_context()
676
680
 
677
681
  print(f"Cancelled active response for session {log_id}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mindroot
3
- Version: 10.7.0
3
+ Version: 10.9.0
4
4
  Summary: MindRoot AI Agent Framework
5
5
  Requires-Python: >=3.9
6
6
  License-File: LICENSE
@@ -439,7 +439,7 @@ mindroot/coreplugins/admin/static/js/lit-html/node/directives/when.js,sha256=NLe
439
439
  mindroot/coreplugins/admin/static/js/lit-html/node/directives/when.js.map,sha256=tOonih_-EaqrunhNGshA9xN--WIVdGikjg8MkVp0itQ,1534
440
440
  mindroot/coreplugins/admin/templates/admin.jinja2,sha256=H_oDqoWWk0Da0Jre67LIKvB3h30fmjcZz2T5knUyz0k,13272
441
441
  mindroot/coreplugins/admin/templates/model-preferences-v2.jinja2,sha256=5J3rXYmtp_yMTFCk85SYN03gc4lbidF0Nip6YcqcIW4,891
442
- mindroot/coreplugins/agent/agent.py,sha256=m28_7JNXbqDjo5ZQ2H2goPA1bGoeCLc1riUiDaNa_6E,22903
442
+ mindroot/coreplugins/agent/agent.py,sha256=Idb9MbW-jn-42yuuNqDe2j5jPhuSz-RdfVy8dUxZ5sA,22956
443
443
  mindroot/coreplugins/agent/agent.py.bak,sha256=X-EmtrpEpdfo-iUw9gj7mLveRVzAApsDWPTwMAuv7Ww,20715
444
444
  mindroot/coreplugins/agent/buagentz1.py,sha256=XVRKf-jEHgv6ru-iESg1uPJGgUz3pzeAG-0UjPA4bqw,22404
445
445
  mindroot/coreplugins/agent/cmd_start_example.py,sha256=Mdcd9st6viI6-M7a0-zqkw3IxR9FAxIiZ_8G-tLdIJk,1416
@@ -470,7 +470,7 @@ mindroot/coreplugins/chat/mod.py,sha256=Xydjv3feKJJRbwdiB7raqiQnWtaS_2GcdC9bXYQX
470
470
  mindroot/coreplugins/chat/models.py,sha256=GRcRuDUAJFpyWERPMxkxUaZ21igNlWeeamriruEKiEQ,692
471
471
  mindroot/coreplugins/chat/router.py,sha256=vq9UwYoFoGQMVmDC0TkjH7TWivFwkIe6OU0Scu-dtHg,15998
472
472
  mindroot/coreplugins/chat/router_dedup_patch.py,sha256=lDSpVMSd26pXJwrrdirUmR1Jv_N5VHiDzTS8t3XswDU,918
473
- mindroot/coreplugins/chat/services.py,sha256=pufIrviR5KD5LcuuQW-lfU9mgZTP0GPy3ayDSBb3PaI,27081
473
+ mindroot/coreplugins/chat/services.py,sha256=92KSkTWP5cqbcAg15r89FlDrYSR2jUVyeiIkCMmOaf4,27235
474
474
  mindroot/coreplugins/chat/utils.py,sha256=BiE14PpsAcQSO5vbU88klHGm8cAXJDXxgVgva-EXybU,155
475
475
  mindroot/coreplugins/chat/widget_manager.py,sha256=LrMbZlHqpxbLwdN4XZ4GkLxORwxa1o6IVCrlUDBmGQs,4786
476
476
  mindroot/coreplugins/chat/widget_routes.py,sha256=iV3OwLFnvLDsMHdckJnmVXcUgyyng-zIPNXyK2LAUjc,11802
@@ -2252,9 +2252,9 @@ mindroot/protocols/services/stream_chat.py,sha256=fMnPfwaB5fdNMBLTEg8BXKAGvrELKH
2252
2252
  mindroot/registry/__init__.py,sha256=40Xy9bmPHsgdIrOzbtBGzf4XMqXVi9P8oZTJhn0r654,151
2253
2253
  mindroot/registry/component_manager.py,sha256=WZFNPg4SNvpqsM5NFiC2DpgmrJQCyR9cNhrCBpp30Qk,995
2254
2254
  mindroot/registry/data_access.py,sha256=81In5TwETpaqnnY1_-tBQM7rfWvUxZUZkG7lEelRUfU,5321
2255
- mindroot-10.7.0.dist-info/licenses/LICENSE,sha256=8plAmZh8y9ccuuqFFz4kp7G-cO_qsPgAOoHNvabSB4U,1070
2256
- mindroot-10.7.0.dist-info/METADATA,sha256=xSlNhS5t0OcnEBR_5RmPECCguk-qPcRDF_BRZJoaSqc,1035
2257
- mindroot-10.7.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
2258
- mindroot-10.7.0.dist-info/entry_points.txt,sha256=0bpyjMccLttx6VcjDp6zfJPN0Kk0rffor6IdIbP0j4c,50
2259
- mindroot-10.7.0.dist-info/top_level.txt,sha256=gwKm7DmNjhdrCJTYCrxa9Szne4lLpCtrEBltfsX-Mm8,9
2260
- mindroot-10.7.0.dist-info/RECORD,,
2255
+ mindroot-10.9.0.dist-info/licenses/LICENSE,sha256=8plAmZh8y9ccuuqFFz4kp7G-cO_qsPgAOoHNvabSB4U,1070
2256
+ mindroot-10.9.0.dist-info/METADATA,sha256=8J-76N19uWnRU5rzdfvZR0pG83qGfRqrF8u0aqqSUdo,1035
2257
+ mindroot-10.9.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
2258
+ mindroot-10.9.0.dist-info/entry_points.txt,sha256=0bpyjMccLttx6VcjDp6zfJPN0Kk0rffor6IdIbP0j4c,50
2259
+ mindroot-10.9.0.dist-info/top_level.txt,sha256=gwKm7DmNjhdrCJTYCrxa9Szne4lLpCtrEBltfsX-Mm8,9
2260
+ mindroot-10.9.0.dist-info/RECORD,,