fabricatio 0.2.0.dev16__tar.gz → 0.2.0.dev17__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 (74) hide show
  1. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/PKG-INFO +6 -1
  2. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/pyproject.toml +9 -6
  3. fabricatio-0.2.0.dev17/templates.tar.gz +0 -0
  4. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/uv.lock +17 -15
  5. fabricatio-0.2.0.dev16/templates.tar.gz +0 -0
  6. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/.github/workflows/build-package.yaml +0 -0
  7. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/.github/workflows/ruff.yaml +0 -0
  8. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/.github/workflows/tests.yaml +0 -0
  9. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/.gitignore +0 -0
  10. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/.python-version +0 -0
  11. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/Cargo.lock +0 -0
  12. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/Cargo.toml +0 -0
  13. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/LICENSE +0 -0
  14. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/Makefile +0 -0
  15. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/README.md +0 -0
  16. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/examples/llm_usages/llm_usage.py +0 -0
  17. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/examples/minor/hello_fabricatio.py +0 -0
  18. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/examples/propose_task/propose.py +0 -0
  19. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/examples/simple_chat/chat.py +0 -0
  20. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/__init__.py +0 -0
  21. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/_rust.pyi +0 -0
  22. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/_rust_instances.py +0 -0
  23. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/actions/__init__.py +0 -0
  24. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/actions/communication.py +0 -0
  25. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/actions/transmission.py +0 -0
  26. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/config.py +0 -0
  27. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/core.py +0 -0
  28. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/decorators.py +0 -0
  29. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/fs/__init__.py +0 -0
  30. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/fs/curd.py +0 -0
  31. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/fs/readers.py +0 -0
  32. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/journal.py +0 -0
  33. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/models/action.py +0 -0
  34. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/models/advanced.py +0 -0
  35. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/models/events.py +0 -0
  36. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/models/generic.py +0 -0
  37. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/models/role.py +0 -0
  38. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/models/task.py +0 -0
  39. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/models/tool.py +0 -0
  40. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/models/usages.py +0 -0
  41. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/models/utils.py +0 -0
  42. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/parser.py +0 -0
  43. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/py.typed +0 -0
  44. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/toolboxes/__init__.py +0 -0
  45. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/toolboxes/arithmetic.py +0 -0
  46. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/toolboxes/fs.py +0 -0
  47. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/python/fabricatio/toolboxes/task.py +0 -0
  48. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/src/lib.rs +0 -0
  49. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/src/templates.rs +0 -0
  50. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/templates/built-in/binary-exploitation-ctf-solver.hbs +0 -0
  51. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/templates/built-in/claude-xml.hbs +0 -0
  52. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/templates/built-in/clean-up-code.hbs +0 -0
  53. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/templates/built-in/cryptography-ctf-solver.hbs +0 -0
  54. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/templates/built-in/document-the-code.hbs +0 -0
  55. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/templates/built-in/find-security-vulnerabilities.hbs +0 -0
  56. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/templates/built-in/fix-bugs.hbs +0 -0
  57. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/templates/built-in/improve-performance.hbs +0 -0
  58. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/templates/built-in/make_choice.hbs +0 -0
  59. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/templates/built-in/make_judgment.hbs +0 -0
  60. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/templates/built-in/propose_task.hbs +0 -0
  61. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/templates/built-in/refactor.hbs +0 -0
  62. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/templates/built-in/reverse-engineering-ctf-solver.hbs +0 -0
  63. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/templates/built-in/web-ctf-solver.hbs +0 -0
  64. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/templates/built-in/write-git-commit.hbs +0 -0
  65. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/templates/built-in/write-github-pull-request.hbs +0 -0
  66. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/templates/built-in/write-github-readme.hbs +0 -0
  67. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/tests/test_config.py +0 -0
  68. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/tests/test_models/test_action.py +0 -0
  69. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/tests/test_models/test_advanced.py +0 -0
  70. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/tests/test_models/test_generic.py +0 -0
  71. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/tests/test_models/test_role.py +0 -0
  72. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/tests/test_models/test_task.py +0 -0
  73. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/tests/test_models/test_tool.py +0 -0
  74. {fabricatio-0.2.0.dev16 → fabricatio-0.2.0.dev17}/tests/test_models/test_usages.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fabricatio
3
- Version: 0.2.0.dev16
3
+ Version: 0.2.0.dev17
4
4
  Classifier: License :: OSI Approved :: MIT License
5
5
  Classifier: Programming Language :: Rust
6
6
  Classifier: Programming Language :: Python :: 3.12
@@ -22,6 +22,11 @@ Requires-Dist: pymitter>=1.0.0
22
22
  Requires-Dist: questionary>=2.1.0
23
23
  Requires-Dist: regex>=2024.11.6
24
24
  Requires-Dist: rich>=13.9.4
25
+ Requires-Dist: faiss-cpu>=1.10.0 ; extra == 'rag'
26
+ Requires-Dist: pymilvus>=2.5.4 ; extra == 'rag'
27
+ Requires-Dist: fabricatio[rag] ; extra == 'full'
28
+ Provides-Extra: rag
29
+ Provides-Extra: full
25
30
  License-File: LICENSE
26
31
  Summary: A LLM multi-agent framework.
27
32
  Keywords: ai,agents,multi-agent,llm,pyo3
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "fabricatio"
3
- version = "0.2.0-dev.16"
3
+ version = "0.2.0-dev.17"
4
4
  description = "A LLM multi-agent framework."
5
5
  readme = "README.md"
6
6
  license = { file = "LICENSE" }
@@ -47,6 +47,8 @@ dependencies = [
47
47
  Homepage = "https://github.com/Whth/fabricatio"
48
48
  Repository = "https://github.com/Whth/fabricatio"
49
49
  Issues = "https://github.com/Whth/fabricatio/issues"
50
+
51
+
50
52
  [build-system]
51
53
  requires = ["maturin>=1.0,<2.0"]
52
54
  build-backend = "maturin"
@@ -59,6 +61,9 @@ data = "extra"
59
61
  dev = [
60
62
  "maturin>=1.8.2",
61
63
  "maturin-import-hook>=0.2.0",
64
+ "ruff>=0.9.4",
65
+ "uv>=0.5.29",
66
+ "viztracer>=1.0.2",
62
67
  "pytest>=8.3.4",
63
68
  "pytest-asyncio>=0.25.3",
64
69
  "pytest-cov>=6.0.0",
@@ -67,10 +72,9 @@ dev = [
67
72
  "pytest-mock>=3.14.0",
68
73
  "pytest-rerunfailures>=15.0",
69
74
  "pytest-xdist>=3.6.1",
70
- "ruff>=0.9.4",
71
- "uv>=0.5.29",
72
- "viztracer>=1.0.2",
73
75
  ]
76
+
77
+ [project.optional-dependencies]
74
78
  rag = [
75
79
  "faiss-cpu>=1.10.0",
76
80
  "pymilvus>=2.5.4",
@@ -80,7 +84,6 @@ full = [
80
84
  "fabricatio[rag]",
81
85
  ]
82
86
 
83
-
84
87
  [tool.ruff]
85
88
  include = ["pyproject.toml", "python/fabricatio/*.py","python/fabricatio/*.pyi", "examples/*.py"]
86
89
  line-length = 120
@@ -136,7 +139,7 @@ testpaths = [
136
139
  ]
137
140
 
138
141
  [tool.uv.sources]
139
- code2prompt = { git = "https://github.com/mufeedvh/code2prompt" }
142
+ code2prompt = { git = "https://github.com/mufeedvh/code2prompt", rev = "d157ee84827458bd6816142e213886487d28bd3d" }
140
143
 
141
144
  [[tool.uv.index]]
142
145
  url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
Binary file
@@ -179,7 +179,7 @@ wheels = [
179
179
  [[package]]
180
180
  name = "code2prompt"
181
181
  version = "2.0.0"
182
- source = { git = "https://github.com/mufeedvh/code2prompt#28bf1dc0f9b847a890045a2b0bb95a84aa54520b" }
182
+ source = { git = "https://github.com/mufeedvh/code2prompt?rev=d157ee84827458bd6816142e213886487d28bd3d#d157ee84827458bd6816142e213886487d28bd3d" }
183
183
 
184
184
  [[package]]
185
185
  name = "colorama"
@@ -260,7 +260,7 @@ wheels = [
260
260
 
261
261
  [[package]]
262
262
  name = "fabricatio"
263
- version = "0.2.0.dev16"
263
+ version = "0.2.0.dev17"
264
264
  source = { editable = "." }
265
265
  dependencies = [
266
266
  { name = "appdirs" },
@@ -279,6 +279,16 @@ dependencies = [
279
279
  { name = "rich" },
280
280
  ]
281
281
 
282
+ [package.optional-dependencies]
283
+ full = [
284
+ { name = "faiss-cpu" },
285
+ { name = "pymilvus" },
286
+ ]
287
+ rag = [
288
+ { name = "faiss-cpu" },
289
+ { name = "pymilvus" },
290
+ ]
291
+
282
292
  [package.dev-dependencies]
283
293
  dev = [
284
294
  { name = "maturin" },
@@ -295,19 +305,14 @@ dev = [
295
305
  { name = "uv" },
296
306
  { name = "viztracer" },
297
307
  ]
298
- full = [
299
- { name = "fabricatio" },
300
- ]
301
- rag = [
302
- { name = "faiss-cpu" },
303
- { name = "pymilvus" },
304
- ]
305
308
 
306
309
  [package.metadata]
307
310
  requires-dist = [
308
311
  { name = "appdirs", specifier = ">=1.4.4" },
309
312
  { name = "asyncio", specifier = ">=3.4.3" },
310
- { name = "code2prompt", git = "https://github.com/mufeedvh/code2prompt" },
313
+ { name = "code2prompt", git = "https://github.com/mufeedvh/code2prompt?rev=d157ee84827458bd6816142e213886487d28bd3d" },
314
+ { name = "fabricatio", extras = ["rag"], marker = "extra == 'full'" },
315
+ { name = "faiss-cpu", marker = "extra == 'rag'", specifier = ">=1.10.0" },
311
316
  { name = "gitpython", specifier = ">=3.1.44" },
312
317
  { name = "litellm", specifier = ">=1.60.0" },
313
318
  { name = "loguru", specifier = ">=0.7.3" },
@@ -315,11 +320,13 @@ requires-dist = [
315
320
  { name = "orjson", specifier = ">=3.10.15" },
316
321
  { name = "pydantic", specifier = ">=2.10.6" },
317
322
  { name = "pydantic-settings", specifier = ">=2.7.1" },
323
+ { name = "pymilvus", marker = "extra == 'rag'", specifier = ">=2.5.4" },
318
324
  { name = "pymitter", specifier = ">=1.0.0" },
319
325
  { name = "questionary", specifier = ">=2.1.0" },
320
326
  { name = "regex", specifier = ">=2024.11.6" },
321
327
  { name = "rich", specifier = ">=13.9.4" },
322
328
  ]
329
+ provides-extras = ["rag", "full"]
323
330
 
324
331
  [package.metadata.requires-dev]
325
332
  dev = [
@@ -337,11 +344,6 @@ dev = [
337
344
  { name = "uv", specifier = ">=0.5.29" },
338
345
  { name = "viztracer", specifier = ">=1.0.2" },
339
346
  ]
340
- full = [{ name = "fabricatio", extras = ["rag"] }]
341
- rag = [
342
- { name = "faiss-cpu", specifier = ">=1.10.0" },
343
- { name = "pymilvus", specifier = ">=2.5.4" },
344
- ]
345
347
 
346
348
  [[package]]
347
349
  name = "faiss-cpu"
Binary file