File tree Expand file tree Collapse file tree 7 files changed +65
-10
lines changed
src/main/java/com/alibaba/agentic/core/engine Expand file tree Collapse file tree 7 files changed +65
-10
lines changed Original file line number Diff line number Diff line change 7474 <artifactId >rxjava</artifactId >
7575 </dependency >
7676
77- <dependency >
77+ <!-- < dependency>
7878 <groupId>com.alibaba.smart.framework</groupId>
7979 <artifactId>smart-engine-core</artifactId>
8080 <version>2.6.0</version>
8383 <groupId>com.alibaba.smart.framework</groupId>
8484 <artifactId>smart-engine-extension-storage-custom</artifactId>
8585 <version>2.6.0</version>
86+ </dependency> -->
87+ <!-- Use JitPack to get github repository commit -->
88+ <dependency >
89+ <groupId >com.alibaba</groupId >
90+ <artifactId >SmartEngine</artifactId >
91+ <version >8acf58f966</version >
8692 </dependency >
8793
8894 <dependency >
234240 </plugin >
235241 </plugins >
236242 </build >
237- </project >
243+ </project >
Original file line number Diff line number Diff line change 2121import com .alibaba .smart .framework .engine .bpmn .assembly .gateway .ExclusiveGateway ;
2222import com .alibaba .smart .framework .engine .context .ExecutionContext ;
2323import com .alibaba .smart .framework .engine .exception .EngineException ;
24- import com .alibaba .smart .framework .engine .extension .annoation .ExtensionBinding ;
24+ import com .alibaba .smart .framework .engine .extension .annotation .ExtensionBinding ;
2525import com .alibaba .smart .framework .engine .extension .constant .ExtensionConstant ;
2626import com .alibaba .smart .framework .engine .pvm .PvmActivity ;
2727import com .alibaba .smart .framework .engine .pvm .PvmTransition ;
28- import com .alibaba .smart .framework .engine .pvm .event .PvmEventConstant ;
28+ import com .alibaba .smart .framework .engine .pvm .event .EventConstant ;
2929import io .reactivex .rxjava3 .core .Flowable ;
3030import lombok .extern .slf4j .Slf4j ;
3131
@@ -50,7 +50,7 @@ public ExclusiveGatewayBehavior() {
5050
5151 @ Override
5252 public void leave (ExecutionContext context , PvmActivity pvmActivity ) {
53- fireEvent (context , pvmActivity , PvmEventConstant .ACTIVITY_END );
53+ fireEvent (context , pvmActivity , EventConstant .ACTIVITY_END );
5454
5555 Map <String , PvmTransition > outcomeTransitions = pvmActivity .getOutcomeTransitions ();
5656
Original file line number Diff line number Diff line change 2424import com .alibaba .smart .framework .engine .behavior .base .AbstractTransitionBehavior ;
2525import com .alibaba .smart .framework .engine .bpmn .assembly .process .SequenceFlow ;
2626import com .alibaba .smart .framework .engine .context .ExecutionContext ;
27- import com .alibaba .smart .framework .engine .extension .annoation .ExtensionBinding ;
27+ import com .alibaba .smart .framework .engine .extension .annotation .ExtensionBinding ;
2828import com .alibaba .smart .framework .engine .extension .constant .ExtensionConstant ;
2929import com .alibaba .smart .framework .engine .model .assembly .Transition ;
3030import lombok .extern .slf4j .Slf4j ;
Original file line number Diff line number Diff line change 2323import com .alibaba .smart .framework .engine .configuration .impl .DefaultListenerExecutor ;
2424import com .alibaba .smart .framework .engine .context .ExecutionContext ;
2525import com .alibaba .smart .framework .engine .model .assembly .ExtensionElementContainer ;
26- import com .alibaba .smart .framework .engine .pvm .event .PvmEventConstant ;
26+ import com .alibaba .smart .framework .engine .pvm .event .EventConstant ;
2727import lombok .extern .slf4j .Slf4j ;
2828import org .springframework .stereotype .Service ;
2929
@@ -46,9 +46,9 @@ public class EndListenerExecutor extends DefaultListenerExecutor {
4646
4747
4848 @ Override
49- public void execute (PvmEventConstant event , ExtensionElementContainer extensionElementContainer , ExecutionContext context ) {
49+ public void execute (EventConstant event , ExtensionElementContainer extensionElementContainer , ExecutionContext context ) {
5050 SystemContext systemContext = (SystemContext ) context .getRequest ().get (ExecutionConstant .SYSTEM_CONTEXT );
51- if (PvmEventConstant .PROCESS_END .equals (event ) && InvokeMode .ASYNC .equals (systemContext .getInvokeMode ())) {
51+ if (EventConstant .PROCESS_END .equals (event ) && InvokeMode .ASYNC .equals (systemContext .getInvokeMode ())) {
5252 Result result = (Result ) context .getResponse ().get (ExecutionConstant .CALLBACK_RESULT );
5353 asyncConsumerList .ifPresent (asyncConsumers ->
5454 asyncConsumers .forEach (asyncConsumer ->
Original file line number Diff line number Diff line change 2121
2222import com .alibaba .smart .framework .engine .bpmn .assembly .process .SequenceFlow ;
2323import com .alibaba .smart .framework .engine .bpmn .assembly .process .parser .AbstractBpmnParser ;
24- import com .alibaba .smart .framework .engine .extension .annoation .ExtensionBinding ;
24+ import com .alibaba .smart .framework .engine .extension .annotation .ExtensionBinding ;
2525import com .alibaba .smart .framework .engine .extension .constant .ExtensionConstant ;
2626import com .alibaba .smart .framework .engine .xml .parser .ParseContext ;
2727import com .alibaba .smart .framework .engine .xml .util .XmlParseUtil ;
Original file line number Diff line number Diff line change 7777 <module >ali-agentic-adk-core</module >
7878 <module >ali-agentic-adk-extension/ali-agentic-example</module >
7979 <module >ali-agentic-adk-extension/ali-agentic-adk-computer-use</module >
80+ <module >smartengine</module >
8081
8182 </modules >
8283 <dependencyManagement >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+ <modelVersion >4.0.0</modelVersion >
6+
7+ <groupId >com.alibaba</groupId >
8+ <artifactId >SmartEngine</artifactId >
9+ <version >8acf58f966</version >
10+ <packaging >pom</packaging >
11+
12+ <properties >
13+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
14+ <maven .compiler.source>8</maven .compiler.source>
15+ <maven .compiler.target>8</maven .compiler.target>
16+ </properties >
17+
18+ <repositories >
19+ <repository >
20+ <id >jitpack.io</id >
21+ <url >https://jitpack.io</url >
22+ </repository >
23+ </repositories >
24+
25+ <dependencies >
26+ <dependency >
27+ <groupId >com.github.alibaba.SmartEngine</groupId >
28+ <artifactId >smart-engine-core</artifactId >
29+ <version >8acf58f966</version >
30+ </dependency >
31+ <dependency >
32+ <groupId >com.github.alibaba.SmartEngine</groupId >
33+ <artifactId >smart-engine-extension-storage-common</artifactId >
34+ <version >8acf58f966</version >
35+ </dependency >
36+ <dependency >
37+ <groupId >com.github.alibaba.SmartEngine</groupId >
38+ <artifactId >smart-engine-extension-storage-custom</artifactId >
39+ <version >8acf58f966</version >
40+ </dependency >
41+ </dependencies >
42+
43+ <build >
44+ <plugins >
45+
46+ </plugins >
47+ </build >
48+ </project >
You can’t perform that action at this time.
0 commit comments