Compare commits

..

1 Commits

Author SHA1 Message Date
ycl
a31d02392d 更新 template/.gitignore 2025-12-28 12:12:15 +08:00
10 changed files with 15 additions and 20 deletions

2
template/.gitignore vendored
View File

@@ -33,6 +33,8 @@ logs/
!modules/.gitkeep
.gitattributes
.toco/config.local.yml
## fossil
_FOSSIL_
_FOSSIL_-journal
.fslckout

View File

@@ -1,8 +1,8 @@
The .toco directory is used to store rules (supporting .md files only). The internal structure is defined as follows:
目录用于存放rules只支持.md文件。
global/ Contains general rules applicable to all Agents. These rules take effect globally across the entire system.
toco/ Contains rules specific to the Toco Agent. These are used for high-level process control (e.g., "modeling prohibited," "planning mandatory"). Typically, no new rules need to be added here.
modeling/ Contains rules specific to the Domain Architect Agent, used during the domain modeling phase.
plan/ Contains rules specific to the Planner Agent, used during the planning and analysis phase.
design/ Contains rules specific to the Designer Agent, used for operating and managing TOCO design elements.
coding/ Contains rules specific to the Developer Agent, used during the code implementation phase.
global: 目录用于存放所有agent通用rules
toco: 目录用于存放Toco Agent专用rules用于外层流程整体控制
modeling:目录用于存放Modeling Agent专用rules用于领域建模阶段
plan: 目录用于存放Plan Agent专用rules用于整体规划阶段
design:目录用于存放Design Agent专用rules用于TOCO设计元素设计
coding:目录用于存放Coding Agent专用rules用于编码阶段

View File

@@ -1 +0,0 @@
This directory is used to store rules specific to the Developer Agent for code implementation. Only .md files are supported.

View File

@@ -1 +1 @@
This directory is used to store rules specific to the Design Agent for designing TOCO design elements. Only .md files are supported.
目录用于存放Design Agent专用rules用于TOCO设计元素设计只支持.md文件

View File

@@ -1 +1 @@
This directory is used to store general rules applicable to all agents. Only .md files are supported.
目录用于存放所有agent通用rules只支持.md文件

View File

@@ -1 +1 @@
This directory is used to store rules specific to the Modeling Agent for the domain modeling phase. Only .md files are supported.
目录用于存放Modeling Agent专用rules用于领域建模阶段只支持.md文件

View File

@@ -1 +1 @@
This directory is used to store rules specific to the Plan Agent for the overall planning phase. Only .md files are supported.
目录用于存放Plan Agent专用rules用于整体规划阶段只支持.md文件

View File

@@ -1 +1 @@
This directory is used to store rules specific to the Toco Agent for overall high-level process control. Only .md files are supported. Adding new rules here is generally not recommended.
目录用于存放Toco Agent专用rules用于外层流程整体控制只支持.md文件

View File

@@ -5,9 +5,6 @@ import com.fasterxml.jackson.core.JsonParser.Feature;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.fasterxml.jackson.databind.module.SimpleModule;
import java.math.BigDecimal;
public class ObjectMapperFactory {
private static final ObjectMapper objectMapper = new ObjectMapper();
@@ -21,9 +18,6 @@ public class ObjectMapperFactory {
static {
objectMapper.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES).disable(SerializationFeature.FAIL_ON_EMPTY_BEANS).disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS).configure(Feature.ALLOW_SINGLE_QUOTES, true);
SimpleModule bigDecimalModule = new SimpleModule();
bigDecimalModule.addSerializer(BigDecimal.class, new ToStringSerializer());
objectMapper.registerModule(bigDecimalModule);
objectMapper.setDateFormat(new MyDateFormat());
}
}

View File

@@ -203,7 +203,7 @@
<dependency>
<groupId>io.github.think-1024</groupId>
<artifactId>toco-all-spring5-springboot2-community</artifactId>
<version>2.0</version>
<version>1.5</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>