MenuPilot 0.1.0__tar.gz → 0.1.1__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 (39) hide show
  1. {menupilot-0.1.0 → menupilot-0.1.1/MenuPilot.egg-info}/PKG-INFO +6 -6
  2. {menupilot-0.1.0/MenuPilot.egg-info → menupilot-0.1.1}/PKG-INFO +6 -6
  3. {menupilot-0.1.0 → menupilot-0.1.1}/README.md +367 -367
  4. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/__init__.py +1 -1
  5. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/agent/agent_loop.py +126 -6
  6. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/agent/workflow.py +50 -19
  7. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/cli/repl.py +821 -821
  8. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/config.py +3 -0
  9. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/data/mapping_rules.yaml +387 -387
  10. {menupilot-0.1.0 → menupilot-0.1.1}/pyproject.toml +1 -1
  11. {menupilot-0.1.0 → menupilot-0.1.1}/LICENSE +0 -0
  12. {menupilot-0.1.0 → menupilot-0.1.1}/MenuPilot.egg-info/SOURCES.txt +0 -0
  13. {menupilot-0.1.0 → menupilot-0.1.1}/MenuPilot.egg-info/dependency_links.txt +0 -0
  14. {menupilot-0.1.0 → menupilot-0.1.1}/MenuPilot.egg-info/entry_points.txt +0 -0
  15. {menupilot-0.1.0 → menupilot-0.1.1}/MenuPilot.egg-info/requires.txt +0 -0
  16. {menupilot-0.1.0 → menupilot-0.1.1}/MenuPilot.egg-info/top_level.txt +0 -0
  17. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/__main__.py +0 -0
  18. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/agent/__init__.py +0 -0
  19. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/agent/matching_engine.py +0 -0
  20. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/agent/option_expander.py +0 -0
  21. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/agent/orchestration.py +0 -0
  22. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/agent/rule_engine.py +0 -0
  23. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/agent/sandbox.py +0 -0
  24. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/agent/schema_analyzer.py +0 -0
  25. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/agent/template_preprocessor.py +0 -0
  26. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/agent/token_classifier.py +0 -0
  27. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/agent/tools.py +0 -0
  28. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/cli/human_review.py +0 -0
  29. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/data/__init__.py +0 -0
  30. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/data/canonical_schema.py +0 -0
  31. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/data/memory.py +0 -0
  32. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/data/token_dict.py +0 -0
  33. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/excel_io/__init__.py +0 -0
  34. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/excel_io/excel_reader.py +0 -0
  35. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/excel_io/excel_writer.py +0 -0
  36. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/main.py +0 -0
  37. {menupilot-0.1.0 → menupilot-0.1.1}/menupilot/wizard.py +0 -0
  38. {menupilot-0.1.0 → menupilot-0.1.1}/setup.cfg +0 -0
  39. {menupilot-0.1.0 → menupilot-0.1.1}/tests/test_cli.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: MenuPilot
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: 智能 POS 模板映射助手 — 自动将主数据 SOP 代码填入 POS 模板
5
5
  Author-email: yuan wu <694904422@qq.com>
6
6
  License-Expression: MIT
@@ -56,7 +56,7 @@ menupilot expand -m 选项主数据.xlsx -t 选项模板.xlsx -o 输出.xlsx
56
56
 
57
57
  # 自然语言交互模式
58
58
  menupilot
59
- pos-agent> 把主数据匹配到模板,输出到 result.xlsx
59
+ menupilot> 把主数据匹配到模板,输出到 result.xlsx
60
60
  ```
61
61
 
62
62
  ## 这是什么?
@@ -187,7 +187,7 @@ SOP 匹配管线已完成!以下是执行结果汇总:
187
187
  ## 场景二:选项展开(自然语言)
188
188
 
189
189
  ```bash
190
- pos-agent> 帮我把主数据testdata/mainproduct.xlsx 映射到testdata/kouwei.xlsx,输出文件为testdata/0617.xlsx
190
+ menupilot> 帮我把主数据testdata/mainproduct.xlsx 映射到testdata/kouwei.xlsx,输出文件为testdata/0617.xlsx
191
191
 
192
192
 
193
193
  Agent: 我已分析两个文件,以下是识别的列映射方案:
@@ -284,7 +284,7 @@ kouwei模板结构说明:
284
284
  ## 场景三:SOP 匹配(单商品低覆盖率)
285
285
 
286
286
  ```bash
287
- pos-agent> 把主数据testdata/newmaindata映射到testdata/qingticopy.xlsx --sheet 1
287
+ menupilot> 把主数据testdata/newmaindata映射到testdata/qingticopy.xlsx --sheet 1
288
288
 
289
289
 
290
290
  Agent: 我已分析两个文件,以下是自动识别的列映射方案:
@@ -336,7 +336,7 @@ SOP 匹配管线已完成!以下是执行结果汇总:
336
336
  2. **芒果波波** — 主数据中只有「少冰」温度,但模板中有「温热」「去冰」「少冰」三种温度;主数据中有中杯和大杯,但大杯的SOP代码在部分糖度组合下缺失(五分糖、三分糖为NaN)
337
337
 
338
338
  ```bash
339
- pos-agent> 把所有低置信度的值都去掉
339
+ menupilot> 把所有低置信度的值都去掉
340
340
 
341
341
 
342
342
  已完成!所有低置信度的值已去掉,结果保存到新文件。
@@ -367,7 +367,7 @@ pos-agent> 把所有低置信度的值都去掉
367
367
  其余831行的配料列已全部清空(设为NaN)。
368
368
 
369
369
  ```bash
370
- pos-agent> 把testdata/qingticopy.xlsx的配料列的内容以,分隔作为单独的元素,并去重
370
+ menupilot> 把testdata/qingticopy.xlsx的配料列的内容以,分隔作为单独的元素,并去重
371
371
 
372
372
 
373
373
  已完成!以下是处理结果:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: MenuPilot
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: 智能 POS 模板映射助手 — 自动将主数据 SOP 代码填入 POS 模板
5
5
  Author-email: yuan wu <694904422@qq.com>
6
6
  License-Expression: MIT
@@ -56,7 +56,7 @@ menupilot expand -m 选项主数据.xlsx -t 选项模板.xlsx -o 输出.xlsx
56
56
 
57
57
  # 自然语言交互模式
58
58
  menupilot
59
- pos-agent> 把主数据匹配到模板,输出到 result.xlsx
59
+ menupilot> 把主数据匹配到模板,输出到 result.xlsx
60
60
  ```
61
61
 
62
62
  ## 这是什么?
@@ -187,7 +187,7 @@ SOP 匹配管线已完成!以下是执行结果汇总:
187
187
  ## 场景二:选项展开(自然语言)
188
188
 
189
189
  ```bash
190
- pos-agent> 帮我把主数据testdata/mainproduct.xlsx 映射到testdata/kouwei.xlsx,输出文件为testdata/0617.xlsx
190
+ menupilot> 帮我把主数据testdata/mainproduct.xlsx 映射到testdata/kouwei.xlsx,输出文件为testdata/0617.xlsx
191
191
 
192
192
 
193
193
  Agent: 我已分析两个文件,以下是识别的列映射方案:
@@ -284,7 +284,7 @@ kouwei模板结构说明:
284
284
  ## 场景三:SOP 匹配(单商品低覆盖率)
285
285
 
286
286
  ```bash
287
- pos-agent> 把主数据testdata/newmaindata映射到testdata/qingticopy.xlsx --sheet 1
287
+ menupilot> 把主数据testdata/newmaindata映射到testdata/qingticopy.xlsx --sheet 1
288
288
 
289
289
 
290
290
  Agent: 我已分析两个文件,以下是自动识别的列映射方案:
@@ -336,7 +336,7 @@ SOP 匹配管线已完成!以下是执行结果汇总:
336
336
  2. **芒果波波** — 主数据中只有「少冰」温度,但模板中有「温热」「去冰」「少冰」三种温度;主数据中有中杯和大杯,但大杯的SOP代码在部分糖度组合下缺失(五分糖、三分糖为NaN)
337
337
 
338
338
  ```bash
339
- pos-agent> 把所有低置信度的值都去掉
339
+ menupilot> 把所有低置信度的值都去掉
340
340
 
341
341
 
342
342
  已完成!所有低置信度的值已去掉,结果保存到新文件。
@@ -367,7 +367,7 @@ pos-agent> 把所有低置信度的值都去掉
367
367
  其余831行的配料列已全部清空(设为NaN)。
368
368
 
369
369
  ```bash
370
- pos-agent> 把testdata/qingticopy.xlsx的配料列的内容以,分隔作为单独的元素,并去重
370
+ menupilot> 把testdata/qingticopy.xlsx的配料列的内容以,分隔作为单独的元素,并去重
371
371
 
372
372
 
373
373
  已完成!以下是处理结果: