feat(agent): integrate procurement AI agent with Bale bot, real-time draft sync, and git history bundle

This commit is contained in:
2026-09-21 20:23:13 +03:30
parent 4cfb9ec6f6
commit 9e19be8354
44 changed files with 4582 additions and 0 deletions
+86
View File
@@ -0,0 +1,86 @@
{
"step1_topic_and_supplier": {
"topic": "آهن‌آلات و مقاطع فولادی",
"supplier_name": "فولاد آذرخش",
"is_official": true,
"new_supplier_details": {
"location": "تهران - ونک",
"phone": "02188776655",
"contact_person": "حسینی"
}
},
"step2_line_items": [
{
"material_name": "میلگرد",
"brand": "فولاد مبارکه",
"specs": [
"A3",
"سایز ۱۴"
],
"quantity": 12500.0,
"unit": "کیلوگرم",
"unit_price": 48500.0,
"total_price": 606250000.0
},
{
"material_name": "میلگرد",
"brand": "فولاد مبارکه",
"specs": [
"A3",
"سایز ۱۶"
],
"quantity": 8000.0,
"unit": "کیلوگرم",
"unit_price": 47200.0,
"total_price": 377600000.0
}
],
"step3_termsheets": [
{
"label": "گزینه ۱",
"milestones": [
{
"due_date": "2026-09-22",
"amount": 300000000.0
},
{
"due_date": "2026-09-28",
"amount": 450000000.0
},
{
"due_date": "2026-10-15",
"amount": 233850000.0
}
],
"covered_items": [
"میلگرد - فولاد مبارکه - A3 - سایز ۱۴",
"میلگرد - فولاد مبارکه - A3 - سایز ۱۶"
]
}
],
"step4_projects": {
"projects": [
"برج آسمان"
],
"item_project_assignments": [
{
"item_name": "میلگرد - فولاد مبارکه - A3 - سایز ۱۴",
"assigned_projects": [
"برج آسمان"
]
},
{
"item_name": "میلگرد - فولاد مبارکه - A3 - سایز ۱۶",
"assigned_projects": [
"برج آسمان"
]
}
]
},
"step5_review_and_metadata": {
"quote_date": "2026-09-19T08:30:00Z",
"expiry_date": "2026-10-05",
"notes": "تحویل پای کارگاه برج آسمان. کرایه حمل با فروشنده است.",
"proforma_file": "پیش‌فاکتور_فولاد_آذرخش_۱۴۰۳.pdf"
}
}