@zh-xx/antu 0.9.0

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 (118) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +11 -0
  3. package/THIRD-PARTY-NOTICES.md +739 -0
  4. package/assets/viewer.html +1503 -0
  5. package/bin/antu-mcp.mjs +1549 -0
  6. package/bin/antu.mjs +1494 -0
  7. package/examples/agent/fact/1-minimal.en.json +57 -0
  8. package/examples/agent/fact/1-minimal.zh-CN.json +29 -0
  9. package/examples/agent/fact/2-single-actor.en.json +66 -0
  10. package/examples/agent/fact/2-single-actor.zh-CN.json +28 -0
  11. package/examples/agent/fact/3-groups.en.json +34 -0
  12. package/examples/agent/fact/3-groups.zh-CN.json +34 -0
  13. package/examples/agent/fact/4-views.en.json +44 -0
  14. package/examples/agent/fact/4-views.zh-CN.json +44 -0
  15. package/examples/agent/fact/5-duration.en.json +28 -0
  16. package/examples/agent/fact/5-duration.zh-CN.json +28 -0
  17. package/examples/agent/fact/6-sources.en.json +30 -0
  18. package/examples/agent/fact/6-sources.zh-CN.json +30 -0
  19. package/examples/agent/fact/7-undated.en.json +34 -0
  20. package/examples/agent/fact/7-undated.zh-CN.json +34 -0
  21. package/examples/agent/justification/1-minimal.en.json +83 -0
  22. package/examples/agent/justification/1-minimal.zh-CN.json +83 -0
  23. package/examples/agent/justification/2-against-and-rejected.en.json +82 -0
  24. package/examples/agent/justification/2-against-and-rejected.zh-CN.json +82 -0
  25. package/examples/agent/justification/3-issues.en.json +107 -0
  26. package/examples/agent/justification/3-issues.zh-CN.json +107 -0
  27. package/examples/agent/justification/4-shared-fact.en.json +111 -0
  28. package/examples/agent/justification/4-shared-fact.zh-CN.json +111 -0
  29. package/examples/agent/justification/5-sources.en.json +97 -0
  30. package/examples/agent/justification/5-sources.zh-CN.json +97 -0
  31. package/examples/agent/justification/6-all-or-any.en.json +98 -0
  32. package/examples/agent/justification/6-all-or-any.zh-CN.json +98 -0
  33. package/examples/agent/procedure/1-minimal.en.json +15 -0
  34. package/examples/agent/procedure/1-minimal.zh-CN.json +15 -0
  35. package/examples/agent/procedure/2-decision.en.json +17 -0
  36. package/examples/agent/procedure/2-decision.zh-CN.json +17 -0
  37. package/examples/agent/procedure/3-branches.en.json +22 -0
  38. package/examples/agent/procedure/3-branches.zh-CN.json +22 -0
  39. package/examples/agent/procedure/4-stages.en.json +34 -0
  40. package/examples/agent/procedure/4-stages.zh-CN.json +34 -0
  41. package/examples/agent/procedure/5-inferred-spine.en.json +21 -0
  42. package/examples/agent/procedure/5-inferred-spine.zh-CN.json +21 -0
  43. package/examples/agent/procedure/6-merged-edges.en.json +19 -0
  44. package/examples/agent/procedure/6-merged-edges.zh-CN.json +19 -0
  45. package/examples/agent/procedure/7-rules.en.json +30 -0
  46. package/examples/agent/procedure/7-rules.zh-CN.json +30 -0
  47. package/examples/agent/relationship/1-minimal.en.json +28 -0
  48. package/examples/agent/relationship/1-minimal.zh-CN.json +28 -0
  49. package/examples/agent/relationship/2-equity.en.json +59 -0
  50. package/examples/agent/relationship/2-equity.zh-CN.json +59 -0
  51. package/examples/agent/relationship/3-guarantee.en.json +51 -0
  52. package/examples/agent/relationship/3-guarantee.zh-CN.json +51 -0
  53. package/examples/agent/relationship/4-groups.en.json +68 -0
  54. package/examples/agent/relationship/4-groups.zh-CN.json +68 -0
  55. package/examples/agent/relationship/5-kinship.en.json +69 -0
  56. package/examples/agent/relationship/5-kinship.zh-CN.json +69 -0
  57. package/examples/fact/fang-yuan-loan-and-conflict.en.json +330 -0
  58. package/examples/fact/fang-yuan-loan-and-conflict.zh-CN.json +237 -0
  59. package/examples/fact/gym-membership-face-scan.en.json +181 -0
  60. package/examples/fact/gym-membership-face-scan.zh-CN.json +181 -0
  61. package/examples/fact/lin-fang-v-zhao-lei-private-lending.en.json +122 -0
  62. package/examples/fact/lin-fang-v-zhao-lei-private-lending.zh-CN.json +122 -0
  63. package/examples/fact/marketplace-platform-liability.en.json +192 -0
  64. package/examples/fact/marketplace-platform-liability.zh-CN.json +192 -0
  65. package/examples/fact/neighbour-corridor-charging.en.json +201 -0
  66. package/examples/fact/neighbour-corridor-charging.zh-CN.json +201 -0
  67. package/examples/fact/sample-construction-payment.en.json +220 -0
  68. package/examples/fact/sample-construction-payment.zh-CN.json +139 -0
  69. package/examples/fact/sample-four-parties-four-slots.en.json +202 -0
  70. package/examples/fact/sample-four-parties-four-slots.zh-CN.json +121 -0
  71. package/examples/fact/sample-no-groups.en.json +100 -0
  72. package/examples/fact/sample-no-groups.zh-CN.json +100 -0
  73. package/examples/fact/sample-three-slots.en.json +102 -0
  74. package/examples/fact/sample-three-slots.zh-CN.json +102 -0
  75. package/examples/fact/sample-two-actors-one-side.en.json +143 -0
  76. package/examples/fact/sample-two-actors-one-side.zh-CN.json +143 -0
  77. package/examples/fact/sample-two-parties-each-side.en.json +183 -0
  78. package/examples/fact/sample-two-parties-each-side.zh-CN.json +183 -0
  79. package/examples/justification/fang-yuan-defense-excess.en.json +636 -0
  80. package/examples/justification/fang-yuan-defense-excess.zh-CN.json +636 -0
  81. package/examples/justification/neighbour-corridor-liability.en.json +571 -0
  82. package/examples/justification/neighbour-corridor-liability.zh-CN.json +571 -0
  83. package/examples/procedure/01-software-development-contract.en.json +290 -0
  84. package/examples/procedure/01-software-development-contract.zh-CN.json +290 -0
  85. package/examples/procedure/02-purchase-contract.en.json +46 -0
  86. package/examples/procedure/02-purchase-contract.zh-CN.json +46 -0
  87. package/examples/procedure/03-labour-outsourcing-contract.en.json +251 -0
  88. package/examples/procedure/03-labour-outsourcing-contract.zh-CN.json +251 -0
  89. package/examples/procedure/04-non-disclosure-agreement.en.json +79 -0
  90. package/examples/procedure/04-non-disclosure-agreement.zh-CN.json +79 -0
  91. package/examples/procedure/05-premises-lease.en.json +344 -0
  92. package/examples/procedure/05-premises-lease.zh-CN.json +344 -0
  93. package/examples/procedure/06-epc-general-contract.en.json +375 -0
  94. package/examples/procedure/06-epc-general-contract.zh-CN.json +375 -0
  95. package/examples/procedure/07-share-acquisition-agreement.en.json +368 -0
  96. package/examples/procedure/07-share-acquisition-agreement.zh-CN.json +368 -0
  97. package/examples/raw//351/207/207/350/264/255/345/220/210/345/220/214-PO-2026-088.md +31 -0
  98. package/examples/raw//357/274/2102031/357/274/211/347/244/272/345/210/221/345/210/2353/345/217/267-/350/231/232/346/236/204/347/275/221/347/273/234/345/225/206/345/237/216/346/241/210-/344/270/200/345/256/241.md +36 -0
  99. package/examples/raw//357/274/2102031/357/274/211/347/244/272/346/260/221/345/210/2351/345/217/267-/346/260/221/351/227/264/345/200/237/350/264/267/346/241/210-/344/270/200/345/256/241.md +31 -0
  100. package/examples/raw//357/274/2102031/357/274/211/347/244/272/346/260/221/345/210/2352/345/217/267-/345/201/245/350/272/253/346/210/277/345/210/267/350/204/270/345/205/245/345/234/272/346/241/210-/344/270/200/345/256/241.md +40 -0
  101. package/examples/raw//357/274/2102031/357/274/211/347/244/272/346/260/221/347/273/2101/345/217/267-/346/245/274/351/201/223/345/205/205/347/224/265/345/212/235/351/230/273/346/241/210-/344/272/214/345/256/241.md +38 -0
  102. package/examples/raw//357/274/2102032/357/274/211/347/244/272/345/210/221/347/273/2101/345/217/267-/346/226/271/350/277/234/346/241/210-/344/272/214/345/256/241.md +49 -0
  103. package/examples/relationship/fang-yuan-parties.en.json +226 -0
  104. package/examples/relationship/fang-yuan-parties.zh-CN.json +226 -0
  105. package/examples/relationship/lin-fang-v-zhao-lei-parties.en.json +140 -0
  106. package/examples/relationship/lin-fang-v-zhao-lei-parties.zh-CN.json +140 -0
  107. package/examples/relationship/marketplace-parties.en.json +259 -0
  108. package/examples/relationship/marketplace-parties.zh-CN.json +259 -0
  109. package/examples/relationship/sample-group-guarantee.en.json +138 -0
  110. package/examples/relationship/sample-group-guarantee.zh-CN.json +138 -0
  111. package/examples/relationship/sample-loan-guarantee.en.json +122 -0
  112. package/examples/relationship/sample-loan-guarantee.zh-CN.json +122 -0
  113. package/package.json +35 -0
  114. package/server.json +20 -0
  115. package/spec/agent/fact/guide.md +114 -0
  116. package/spec/agent/justification/guide.md +100 -0
  117. package/spec/agent/procedure/guide.md +109 -0
  118. package/spec/agent/relationship/guide.md +92 -0
@@ -0,0 +1,183 @@
1
+ {
2
+ "specVersion": 1,
3
+ "type": "fact",
4
+ "title": "建设工程施工合同纠纷 · 两侧各两个主体(示意数据)",
5
+
6
+ "actors": [
7
+ { "id": "a-1", "name": "建设单位", "role": "发包方" },
8
+ { "id": "a-2", "name": "监理单位", "role": "受发包方委托" },
9
+ { "id": "a-3", "name": "总包单位", "role": "承包方" },
10
+ { "id": "a-4", "name": "分包单位", "role": "受总包方分包" }
11
+ ],
12
+
13
+ "groups": [
14
+ { "id": "g-1", "label": "发包方的行为" },
15
+ { "id": "g-2", "label": "承包方的行为" },
16
+ { "id": "g-3", "label": "双方共同或客观经过" }
17
+ ],
18
+
19
+ "views": [
20
+ { "label": "发包方 vs 承包方", "splitBy": "actor",
21
+ "side1": { "label": "发包方", "actors": ["a-1", "a-2"] },
22
+ "side2": { "label": "承包方", "actors": ["a-3", "a-4"] },
23
+ "axis": { "label": "双方共同或客观经过" } },
24
+ { "label": "按分组分侧", "splitBy": "group" },
25
+ { "label": "建设单位 vs 总包", "splitBy": "actor",
26
+ "side1": { "label": "建设单位", "actors": ["a-1"] },
27
+ "side2": { "label": "总包单位", "actors": ["a-3"] },
28
+ "axis": { "label": "其余经过" } },
29
+ { "label": "只看建设单位", "splitBy": "actor",
30
+ "side1": { "label": "建设单位", "actors": ["a-1"] },
31
+ "side2": { "actors": [] },
32
+ "axis": { "label": "其余经过" } },
33
+ { "label": "只看时间先后", "splitBy": "actor", "side1": { "actors": [] }, "side2": { "actors": [] } }
34
+ ],
35
+
36
+ "sources": [
37
+ {
38
+ "id": "s-1",
39
+ "type": "contract",
40
+ "name": "建设工程施工合同",
41
+ "loc": { "file": "施工合同.pdf", "page": 1 },
42
+ "quote": "工期 180 日历天,质量标准为合格。"
43
+ },
44
+ {
45
+ "id": "s-2",
46
+ "type": "document",
47
+ "name": "监理月报",
48
+ "loc": { "file": "监理月报.pdf", "page": 5 },
49
+ "quote": "第二层顶板局部存在蜂窝麻面,已签发监理通知单要求整改。"
50
+ },
51
+ {
52
+ "id": "s-3",
53
+ "type": "evidence",
54
+ "name": "竣工验收记录",
55
+ "loc": { "file": "竣工验收记录.pdf", "page": 1 },
56
+ "quote": "整改完成,复检合格,同意进入竣工验收程序。"
57
+ }
58
+ ],
59
+
60
+ "slots": [
61
+ {
62
+ "events": [
63
+ {
64
+ "id": "ev-1",
65
+ "date": "2024-04-01",
66
+ "label": "建设单位与总包单位签订施工合同",
67
+ "summary": "工期 180 日历天,质量标准合格",
68
+ "actorIds": ["a-1", "a-3"],
69
+ "groupId": "g-3",
70
+ "detail": "约定工期 180 日历天,质量标准为合格,价款按进度分三期支付。",
71
+ "sourceIds": ["s-1"]
72
+ }
73
+ ]
74
+ },
75
+ {
76
+ "events": [
77
+ {
78
+ "id": "ev-2",
79
+ "date": "2024-04-10",
80
+ "label": "建设单位发出开工通知",
81
+ "summary": "指定开工日为 4 月 15 日",
82
+ "actorIds": ["a-1"],
83
+ "groupId": "g-1",
84
+ "detail": "建设单位书面通知总包单位,指定 2024 年 4 月 15 日为开工日。"
85
+ },
86
+ {
87
+ "id": "ev-3",
88
+ "date": "2024-04-10",
89
+ "label": "监理单位进场",
90
+ "summary": "同日进驻,开始旁站",
91
+ "actorIds": ["a-2"],
92
+ "groupId": "g-1",
93
+ "detail": "监理单位同日进驻现场,对关键工序开始旁站并出具监理日志。"
94
+ }
95
+ ]
96
+ },
97
+ {
98
+ "events": [
99
+ {
100
+ "id": "ev-4",
101
+ "date": "2024-05-06",
102
+ "label": "分包单位进场施工",
103
+ "summary": "承接防水工程,报审已通过",
104
+ "actorIds": ["a-4"],
105
+ "groupId": "g-2",
106
+ "detail": "总包单位将防水工程分包给分包单位,分包单位进场施工,资质报审已通过。"
107
+ }
108
+ ]
109
+ },
110
+ {
111
+ "events": [
112
+ {
113
+ "id": "ev-5",
114
+ "date": "2024-07-18",
115
+ "label": "监理单位检查发现质量问题",
116
+ "summary": "顶板局部蜂窝麻面",
117
+ "actorIds": ["a-2"],
118
+ "groupId": "g-1",
119
+ "detail": "监理单位检查发现第二层顶板局部存在蜂窝麻面,签发监理通知单要求整改。",
120
+ "sourceIds": ["s-2"]
121
+ },
122
+ {
123
+ "id": "ev-6",
124
+ "date": "2024-07-20",
125
+ "label": "总包单位暂停该部位施工",
126
+ "summary": "暂停顶板作业,等待整改方案",
127
+ "actorIds": ["a-3"],
128
+ "groupId": "g-2",
129
+ "detail": "总包单位暂停第二层顶板作业,等待整改方案确定后复工。"
130
+ }
131
+ ]
132
+ },
133
+ {
134
+ "events": [
135
+ {
136
+ "id": "ev-7",
137
+ "date": "2024-07-25",
138
+ "label": "三方协商确定整改方案",
139
+ "summary": "由分包单位凿除重做",
140
+ "actorIds": ["a-1", "a-3", "a-4"],
141
+ "groupId": "g-3",
142
+ "detail": "建设单位、总包单位与分包单位共同确认整改方案,由分包单位凿除重做并按原标准验收。"
143
+ }
144
+ ]
145
+ },
146
+ {
147
+ "events": [
148
+ {
149
+ "id": "ev-8",
150
+ "date": "2024-08-12",
151
+ "label": "分包单位完成整改",
152
+ "summary": "凿除重做完毕,报请复检",
153
+ "actorIds": ["a-4"],
154
+ "groupId": "g-2",
155
+ "detail": "分包单位完成凿除重做,报请监理单位复检。"
156
+ },
157
+ {
158
+ "id": "ev-9",
159
+ "date": "2024-08-15",
160
+ "label": "监理单位复检合格",
161
+ "summary": "出具复检合格意见",
162
+ "actorIds": ["a-2"],
163
+ "groupId": "g-1",
164
+ "detail": "监理单位复检合格,出具书面意见同意进入竣工验收程序。",
165
+ "sourceIds": ["s-3"]
166
+ }
167
+ ]
168
+ },
169
+ {
170
+ "events": [
171
+ {
172
+ "id": "ev-10",
173
+ "date": "2024-09-01",
174
+ "label": "总包单位申请竣工验收",
175
+ "summary": "工程于 9 月 30 日通过验收",
176
+ "actorIds": ["a-3"],
177
+ "groupId": "g-2",
178
+ "detail": "总包单位提交竣工验收申请,工程于 2024 年 9 月 30 日通过验收,但工程款未按期支付。"
179
+ }
180
+ ]
181
+ }
182
+ ]
183
+ }