pro-craft 0.1.14__tar.gz → 0.1.16__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 (28) hide show
  1. {pro_craft-0.1.14 → pro_craft-0.1.16}/PKG-INFO +1 -1
  2. {pro_craft-0.1.14 → pro_craft-0.1.16}/pyproject.toml +1 -1
  3. {pro_craft-0.1.14 → pro_craft-0.1.16}/src/pro_craft/__init__.py +2 -4
  4. {pro_craft-0.1.14 → pro_craft-0.1.16}/src/pro_craft/code_helper/coder.py +1 -1
  5. {pro_craft-0.1.14 → pro_craft-0.1.16}/src/pro_craft/file_manager.py +2 -3
  6. pro_craft-0.1.16/src/pro_craft/prompt_craft/__init__.py +3 -0
  7. pro_craft-0.1.16/src/pro_craft/prompt_craft/async_.py +633 -0
  8. pro_craft-0.1.16/src/pro_craft/prompt_craft/evals.py +61 -0
  9. pro_craft-0.1.16/src/pro_craft/prompt_craft/new.py +605 -0
  10. pro_craft-0.1.16/src/pro_craft/prompt_craft/sync.py +602 -0
  11. pro_craft-0.1.14/src/pro_craft/server/mcp/weather.py → pro_craft-0.1.16/src/pro_craft/server/mcp/prompt.py +1 -2
  12. {pro_craft-0.1.14 → pro_craft-0.1.16}/src/pro_craft/server/router/prompt.py +1 -2
  13. {pro_craft-0.1.14 → pro_craft-0.1.16}/src/pro_craft.egg-info/PKG-INFO +1 -1
  14. {pro_craft-0.1.14 → pro_craft-0.1.16}/src/pro_craft.egg-info/SOURCES.txt +6 -2
  15. {pro_craft-0.1.14 → pro_craft-0.1.16}/README.md +0 -0
  16. {pro_craft-0.1.14 → pro_craft-0.1.16}/setup.cfg +0 -0
  17. {pro_craft-0.1.14 → pro_craft-0.1.16}/src/pro_craft/code_helper/designer.py +0 -0
  18. {pro_craft-0.1.14 → pro_craft-0.1.16}/src/pro_craft/database.py +0 -0
  19. {pro_craft-0.1.14 → pro_craft-0.1.16}/src/pro_craft/log.py +0 -0
  20. {pro_craft-0.1.14 → pro_craft-0.1.16}/src/pro_craft/server/mcp/__init__.py +0 -0
  21. {pro_craft-0.1.14 → pro_craft-0.1.16}/src/pro_craft/server/router/__init__.py +0 -0
  22. {pro_craft-0.1.14 → pro_craft-0.1.16}/src/pro_craft/utils.py +0 -0
  23. {pro_craft-0.1.14 → pro_craft-0.1.16}/src/pro_craft.egg-info/dependency_links.txt +0 -0
  24. {pro_craft-0.1.14 → pro_craft-0.1.16}/src/pro_craft.egg-info/requires.txt +0 -0
  25. {pro_craft-0.1.14 → pro_craft-0.1.16}/src/pro_craft.egg-info/top_level.txt +0 -0
  26. {pro_craft-0.1.14 → pro_craft-0.1.16}/tests/test22.py +0 -0
  27. {pro_craft-0.1.14 → pro_craft-0.1.16}/tests/test_coder.py +0 -0
  28. {pro_craft-0.1.14 → pro_craft-0.1.16}/tests/test_designer.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pro-craft
3
- Version: 0.1.14
3
+ Version: 0.1.16
4
4
  Summary: Add your description here
5
5
  Requires-Python: >=3.12
6
6
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pro-craft"
3
- version = "0.1.14"
3
+ version = "0.1.16"
4
4
  description = "Add your description here"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
@@ -12,14 +12,12 @@ Log_.set_super_log(logger.critical)
12
12
  super_log = Log_.super_log # 调试工具
13
13
 
14
14
  def slog(s, target: str = "target",logger = logger.info):
15
- COLOR_RED = "\033[91m"
16
15
  COLOR_GREEN = "\033[92m"
17
- COLOR_YELLOW = "\033[93m"
18
- COLOR_BLUE = "\033[94m"
19
16
  COLOR_RESET = "\033[0m" # 重置颜色
20
-
21
17
  logger("\n"+f"{COLOR_GREEN}=={COLOR_RESET}" * 50)
22
18
  logger(target + "\n "+"--" * 40)
23
19
  logger(type(s))
24
20
  logger(s)
25
21
  logger("\n"+f"{COLOR_GREEN}=={COLOR_RESET}" * 50)
22
+
23
+ from .prompt_craft import AsyncIntel, Intel, IntelNew
@@ -1,4 +1,4 @@
1
- from pro_craft.prompt_helper import Intel,IntellectType
1
+ from pro_craft import Intel
2
2
  from pro_craft.log import Log
3
3
  from pro_craft.utils import extract_
4
4
  from typing import List, Dict, Any
@@ -2,9 +2,8 @@
2
2
  from db_help.qdrant import QdrantManager
3
3
  from pydantic import BaseModel
4
4
  from datetime import datetime
5
- from pro_craft.utils import get_adler32_hash, embedding_inputs
6
- from pro_craft.prompt_helper import Intel, IntellectType
7
- from pro_craft.utils import extract_
5
+ from pro_craft.utils import get_adler32_hash, embedding_inputs,extract_
6
+ from pro_craft import Intel
8
7
  from enum import Enum
9
8
  import json
10
9
 
@@ -0,0 +1,3 @@
1
+ from .async_ import AsyncIntel
2
+ from .sync import Intel
3
+ from .new import IntelNew