generative-agent-assistant 0.1.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.
Files changed (72) hide show
  1. gca/__init__.py +1 -0
  2. gca/agent/__init__.py +1 -0
  3. gca/agent/loop.py +846 -0
  4. gca/agent/mcp_client.py +412 -0
  5. gca/agent/tools.py +479 -0
  6. gca/api/__init__.py +1 -0
  7. gca/api/deps.py +34 -0
  8. gca/api/v1/__init__.py +1 -0
  9. gca/api/v1/endpoints/README.md +6 -0
  10. gca/api/v1/endpoints/__init__.py +1 -0
  11. gca/api/v1/endpoints/agent.py +65 -0
  12. gca/api/v1/endpoints/auth.py +29 -0
  13. gca/api/v1/endpoints/chat.py +44 -0
  14. gca/api/v1/endpoints/folders.py +42 -0
  15. gca/api/v1/endpoints/health.py +13 -0
  16. gca/api/v1/endpoints/materials.py +28 -0
  17. gca/api/v1/endpoints/sessions.py +74 -0
  18. gca/api/v1/router.py +24 -0
  19. gca/cli.py +835 -0
  20. gca/config.py +232 -0
  21. gca/data/001_schema_ddl.sql +173 -0
  22. gca/main.py +150 -0
  23. gca/middleware/README.md +6 -0
  24. gca/models/README.md +6 -0
  25. gca/observability/__init__.py +3 -0
  26. gca/observability/langfuse.py +255 -0
  27. gca/orm/README.md +6 -0
  28. gca/orm/__init__.py +1 -0
  29. gca/orm/database.py +632 -0
  30. gca/py.typed +0 -0
  31. gca/schemas/README.md +6 -0
  32. gca/schemas/__init__.py +13 -0
  33. gca/schemas/auth.py +34 -0
  34. gca/schemas/chat.py +35 -0
  35. gca/schemas/folder.py +11 -0
  36. gca/schemas/session.py +21 -0
  37. gca/services/README.md +6 -0
  38. gca/services/__init__.py +1 -0
  39. gca/services/agent_service.py +428 -0
  40. gca/services/auth_service.py +48 -0
  41. gca/services/chat_service.py +381 -0
  42. gca/services/folder_service.py +39 -0
  43. gca/services/material_service.py +199 -0
  44. gca/services/session_service.py +213 -0
  45. gca/static/THIRD_PARTY_NOTICES.md +119 -0
  46. gca/static/bg.png +0 -0
  47. gca/static/echarts.min.js +45 -0
  48. gca/static/index.html +1835 -0
  49. gca/static/marked.min.js +6 -0
  50. gca/static/purify.min.js +3 -0
  51. gca/tasks/README.md +6 -0
  52. gca/tasks/__init__.py +0 -0
  53. gca/tasks/agent_bash.sb +11 -0
  54. gca/tasks/agent_tasks.py +102 -0
  55. gca/tasks/broker.py +160 -0
  56. gca/tasks/parse_tasks.py +128 -0
  57. gca/tasks/scheduler.py +24 -0
  58. gca/utils/README.md +6 -0
  59. gca/utils/__init__.py +1 -0
  60. gca/utils/doc_parser.py +108 -0
  61. gca/utils/llm_client.py +683 -0
  62. gca/utils/minio_client.py +141 -0
  63. gca/utils/nacos_client.py +278 -0
  64. gca/utils/security.py +74 -0
  65. gca/utils/snowflake.py +150 -0
  66. gca/utils/somark_client.py +125 -0
  67. gca/workers/README.md +6 -0
  68. generative_agent_assistant-0.1.0.dist-info/METADATA +324 -0
  69. generative_agent_assistant-0.1.0.dist-info/RECORD +72 -0
  70. generative_agent_assistant-0.1.0.dist-info/WHEEL +4 -0
  71. generative_agent_assistant-0.1.0.dist-info/entry_points.txt +2 -0
  72. generative_agent_assistant-0.1.0.dist-info/licenses/LICENSE +21 -0
gca/__init__.py ADDED
@@ -0,0 +1 @@
1
+ """generative_chat_agent 后端应用包。"""
gca/agent/__init__.py ADDED
@@ -0,0 +1 @@
1
+ """最小 agent loop 内核(P0):Tool 注册表 / 文件三件套 / 沙箱 / run_loop。"""