shadowshell 202600000012__tar.gz → 202600000013__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.
Files changed (135) hide show
  1. {shadowshell-202600000012 → shadowshell-202600000013}/PKG-INFO +1 -1
  2. {shadowshell-202600000012 → shadowshell-202600000013}/pyproject.toml +1 -1
  3. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/server.py +4 -0
  4. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell.egg-info/PKG-INFO +1 -1
  5. {shadowshell-202600000012 → shadowshell-202600000013}/README.md +0 -0
  6. {shadowshell-202600000012 → shadowshell-202600000013}/setup.cfg +0 -0
  7. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/__init__.py +0 -0
  8. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/boot/__init__.py +0 -0
  9. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/boot/starter.py +0 -0
  10. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/__init__.py +0 -0
  11. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/common/__init__.py +0 -0
  12. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/common/llm_client.py +0 -0
  13. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/__init__.py +0 -0
  14. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/action/__init__.py +0 -0
  15. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/action/action_handler.py +0 -0
  16. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/action/dispatcher/__init__.py +0 -0
  17. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/action/dispatcher/action_handler_dispatcher.py +0 -0
  18. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/action/dispatcher/impl/__init__.py +0 -0
  19. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/action/dispatcher/impl/default_action_handler_dispatcher.py +0 -0
  20. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/action/dispatcher/impl/default_tree_action_handler_dispatcher.py +0 -0
  21. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/action/factory/__init__.py +0 -0
  22. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/action/factory/action_handler_dispatcher_factory.py +0 -0
  23. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/action/factory/action_handler_factory.py +0 -0
  24. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/action/factory/impl/__init__.py +0 -0
  25. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/action/factory/impl/default_action_handler_factory.py +0 -0
  26. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/action/factory/impl/dummy_action_handler_factory.py +0 -0
  27. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/action/impl/__init__.py +0 -0
  28. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/action/impl/script_generation_handler.py +0 -0
  29. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/chat.py +0 -0
  30. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/chat_core_constants.py +0 -0
  31. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/defaults/__init__.py +0 -0
  32. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/defaults/default_chat.py +0 -0
  33. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/evaluation/__init__.py +0 -0
  34. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/evaluation/test_tester.py +0 -0
  35. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/intention/__init__.py +0 -0
  36. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/intention/impl/__init__.py +0 -0
  37. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/intention/impl/chat_xot.py +0 -0
  38. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/intention/impl/default_chat_xot.py +0 -0
  39. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/intention/impl/llm_intention_recognizer.py +0 -0
  40. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/intention/intention_recognizer.py +0 -0
  41. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/intention/intention_recognizer_factory.py +0 -0
  42. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/model/__init__.py +0 -0
  43. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/model/chat_base_model.py +0 -0
  44. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/model/chat_business_scene.py +0 -0
  45. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/model/chat_intention_example.py +0 -0
  46. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/model/chat_intention_node.py +0 -0
  47. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/model/chat_intention_trigger.py +0 -0
  48. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/model/chat_shot.py +0 -0
  49. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/model/chat_tenant.py +0 -0
  50. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/service/__init__.py +0 -0
  51. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/service/chat_business_scene_service.py +0 -0
  52. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/service/chat_intention_node_service.py +0 -0
  53. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/service/impl/__init__.py +0 -0
  54. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/service/impl/chat_business_scene_service_impl.py +0 -0
  55. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/core/service/impl/chat_intention_node_service_impl.py +0 -0
  56. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/ext/__init__.py +0 -0
  57. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/ext/rdb/__init__.py +0 -0
  58. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/ext/rdb/action/__init__.py +0 -0
  59. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/ext/rdb/action/factory/__init__.py +0 -0
  60. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/ext/rdb/action/factory/rdb_action_handler_factory.py +0 -0
  61. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/ext/rdb/intention/__init__.py +0 -0
  62. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/ext/rdb/intention/impl/__init__.py +0 -0
  63. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/ext/rdb/intention/impl/rdb_chat_xot.py +0 -0
  64. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/ext/rdb/intention/impl/rdb_llm_intention_recognizer.py +0 -0
  65. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/ext/rdb/intention/impl/rdb_tree.py +0 -0
  66. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/ext/rdb/rdb_chat.py +0 -0
  67. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/__init__.py +0 -0
  68. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/controller/__init__.py +0 -0
  69. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/controller/action_controller.py +0 -0
  70. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/controller/auth_controller.py +0 -0
  71. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/controller/business_scene_controller.py +0 -0
  72. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/controller/intention_controller.py +0 -0
  73. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/controller/response_helper.py +0 -0
  74. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/controller/shot_controller.py +0 -0
  75. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/controller/tenant_controller.py +0 -0
  76. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/controller/user_controller.py +0 -0
  77. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/dao/__init__.py +0 -0
  78. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/dao/action_dao.py +0 -0
  79. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/dao/base_dao.py +0 -0
  80. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/dao/business_scene_dao.py +0 -0
  81. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/dao/intention_dao.py +0 -0
  82. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/dao/shot_dao.py +0 -0
  83. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/dao/tenant_dao.py +0 -0
  84. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/dao/user_dao.py +0 -0
  85. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/service/__init__.py +0 -0
  86. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/service/action_service.py +0 -0
  87. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/service/auth_service.py +0 -0
  88. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/service/business_scene_service.py +0 -0
  89. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/service/intention_service.py +0 -0
  90. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/service/shot_service.py +0 -0
  91. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/service/tenant_service.py +0 -0
  92. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/service/user_service.py +0 -0
  93. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/sop.py +0 -0
  94. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/chat/op/sync_roomie_rd_sop.py +0 -0
  95. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/common/__init__.py +0 -0
  96. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/common/response_helper.py +0 -0
  97. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/config/__init__.py +0 -0
  98. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/config/configurator.py +0 -0
  99. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/db/__init__.py +0 -0
  100. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/db/db_client.py +0 -0
  101. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/db/db_starter.py +0 -0
  102. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/file/__init__.py +0 -0
  103. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/file/file_util.py +0 -0
  104. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/logging/__init__.py +0 -0
  105. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/logging/console_logger.py +0 -0
  106. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/logging/logger.py +0 -0
  107. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/logging/logger_factory.py +0 -0
  108. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/logging/logging_constants.py +0 -0
  109. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/logging/logging_logger.py +0 -0
  110. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/model/__init__.py +0 -0
  111. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/model/dataset.py +0 -0
  112. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/model/tree.py +0 -0
  113. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/monitor/__init__.py +0 -0
  114. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/monitor/monitor.py +0 -0
  115. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/request/__init__.py +0 -0
  116. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/request/request.py +0 -0
  117. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/serialize/__init__.py +0 -0
  118. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/serialize/serializable.py +0 -0
  119. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/serialize/serializer.py +0 -0
  120. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/serialize/serializer_factory.py +0 -0
  121. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/serialize/serializer_json.py +0 -0
  122. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/test/__init__.py +0 -0
  123. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/test/case/cp_testcase_builder.py +0 -0
  124. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/test/case/testcase_builder.py +0 -0
  125. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/test/case/testcase_tree.py +0 -0
  126. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/test/test.py +0 -0
  127. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/test/test_starter.py +0 -0
  128. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/test/testee/testee.py +0 -0
  129. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/test/tester/tester.py +0 -0
  130. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/xyz/__init__.py +0 -0
  131. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell/xyz/xyz.py +0 -0
  132. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell.egg-info/SOURCES.txt +0 -0
  133. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell.egg-info/dependency_links.txt +0 -0
  134. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell.egg-info/requires.txt +0 -0
  135. {shadowshell-202600000012 → shadowshell-202600000013}/src/shadowshell.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: shadowshell
3
- Version: 202600000012
3
+ Version: 202600000013
4
4
  Summary: www.shadowshell.xyz
5
5
  Author-email: shadowshell <shadowshell@foxmail.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "shadowshell" # 全局唯一名称(检查PyPI是否被占用)
7
- version = "202600000012" # 版本号(每次更新需递增)
7
+ version = "202600000013" # 版本号(每次更新需递增)
8
8
  authors = [{ name = "shadowshell", email = "shadowshell@foxmail.com" }]
9
9
  description = "www.shadowshell.xyz"
10
10
  readme = "README.md"
@@ -37,6 +37,10 @@ def register_chat_op(app: Flask, config_path: str = None) -> Flask:
37
37
  config_path: path to the ``app.ini`` (needs a ``[datasource]``
38
38
  section). Falls back to the chat.op default when omitted.
39
39
  """
40
+ # Enable CORS so cross-origin requests (e.g. from roomie-xyz-portal)
41
+ # are not blocked by the browser.
42
+ CORS(app)
43
+
40
44
  config_path = config_path or _DEFAULT_CONFIG_PATH
41
45
  config = Configurator(config_path)
42
46
  starter = DbStarter(config_path)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: shadowshell
3
- Version: 202600000012
3
+ Version: 202600000013
4
4
  Summary: www.shadowshell.xyz
5
5
  Author-email: shadowshell <shadowshell@foxmail.com>
6
6
  License: MIT