@g1cloud/bpmn-modeler-next 5.0.0-alpha.99 → 5.0.0-beta.1
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.
- package/README.md +4 -2
- package/dist/agent/describeProcess.d.ts +5 -1
- package/dist/agent/resolver/documentIndex.d.ts +7 -0
- package/dist/agent/resolver/issues.d.ts +40 -0
- package/dist/agent/resolver/lower.d.ts +9 -0
- package/dist/agent/symbolicOp.d.ts +4 -2
- package/dist/bpmn-modeler.js +6987 -6887
- package/dist/bpmn-modeler.umd.cjs +52 -52
- package/dist/core/ir.d.ts +40 -3
- package/package.json +2 -1
package/dist/core/ir.d.ts
CHANGED
|
@@ -15,9 +15,14 @@
|
|
|
15
15
|
*
|
|
16
16
|
* ⚠ **이 집합은 `ADDABLE_FLOW_NODE_TYPES` 의 상위집합이다** — 읽을 수 있다고 만들 수 있는 것이
|
|
17
17
|
* 아니다. 승격은 **불투명**이다: subProcess 를 노드로 내되 내부는 열지 않는다(내부 요소는
|
|
18
|
-
* `inside-container` 로 알린다).
|
|
18
|
+
* `inside-container` 로 알린다).
|
|
19
|
+
*
|
|
20
|
+
* 🔴 `intermediateCatchEvent` 는 2026-09-30 **timer 한 변형만** 승격했다(B-87 ⓑ 부분 — 사용자 결정
|
|
21
|
+
* *"일단 timer하나로"*). 사람 코퍼스 26종의 중간 catch 이벤트 **9/9 가 timer** 이고, 다른 변형
|
|
22
|
+
* (message·signal 등)은 여전히 `type-outside-mvp` 로 나간다 — 판정은 타입이 아니라 **타입 +
|
|
23
|
+
* eventDefinition** 이다(`IrNode.eventDefinition`). `intermediateThrowEvent` 는 아직 밖이다.
|
|
19
24
|
*/
|
|
20
|
-
export declare const IR_FLOW_NODE_TYPES: readonly ["startEvent", "endEvent", "userTask", "serviceTask", "task", "sendTask", "receiveTask", "exclusiveGateway", "parallelGateway", "subProcess", "boundaryEvent"];
|
|
25
|
+
export declare const IR_FLOW_NODE_TYPES: readonly ["startEvent", "endEvent", "userTask", "serviceTask", "task", "sendTask", "receiveTask", "exclusiveGateway", "parallelGateway", "subProcess", "boundaryEvent", "intermediateCatchEvent"];
|
|
21
26
|
/**
|
|
22
27
|
* **op 가 새로 만들거나 타입 전환할 수 있는 집합**(write 집합) — 배치 하강이 실증된 것만.
|
|
23
28
|
*
|
|
@@ -26,12 +31,39 @@ export declare const IR_FLOW_NODE_TYPES: readonly ["startEvent", "endEvent", "us
|
|
|
26
31
|
* 좌표계를, `boundaryEvent` 는 `attachedToRef` 좌표 종속을 요구해 배치 축이 새로 생기는데
|
|
27
32
|
* (B-87 미측정 축 ①), 그 축은 이번 승격 범위 밖이다. 스키마 enum 이 1차 방어이고
|
|
28
33
|
* validator 의 `node-type-unsupported` 가 2차 방어다(Defense in Depth).
|
|
34
|
+
*
|
|
35
|
+
* `intermediateCatchEvent` 는 read 와 함께 열었다 — 도형이 start/end 와 같은 36×36 이벤트라
|
|
36
|
+
* 배치가 새 축을 요구하지 않는다(subProcess·boundaryEvent 와 다른 점). 단 **`eventDefinition`
|
|
37
|
+
* 을 반드시 함께 준다**(validator `event-definition-mismatch`) — 정의 없는 중간 catch 이벤트는
|
|
38
|
+
* read 가 표현하지 않는 변형이라, 만들면 describe 에서 사라진다.
|
|
29
39
|
*/
|
|
30
|
-
export declare const ADDABLE_FLOW_NODE_TYPES: readonly ["startEvent", "endEvent", "userTask", "serviceTask", "task", "sendTask", "receiveTask", "exclusiveGateway", "parallelGateway"];
|
|
40
|
+
export declare const ADDABLE_FLOW_NODE_TYPES: readonly ["startEvent", "endEvent", "userTask", "serviceTask", "task", "sendTask", "receiveTask", "exclusiveGateway", "parallelGateway", "intermediateCatchEvent"];
|
|
31
41
|
export type IrFlowNodeType = (typeof IR_FLOW_NODE_TYPES)[number];
|
|
32
42
|
export type AddableFlowNodeType = (typeof ADDABLE_FLOW_NODE_TYPES)[number];
|
|
33
43
|
export declare function isIrFlowNodeType(type: string): type is IrFlowNodeType;
|
|
34
44
|
export declare function isAddableFlowNodeType(type: string): type is AddableFlowNodeType;
|
|
45
|
+
/**
|
|
46
|
+
* **이벤트 정의 어휘**(B-87 ⓑ 부분 · 2026-09-30) — 지금은 `timer` 하나다.
|
|
47
|
+
*
|
|
48
|
+
* 🔴 **2026-09-21 결정(「eventDefinition 어휘는 열지 않는다」)을 좁게 뒤집은 것이다** — 그때의 재평가
|
|
49
|
+
* 트리거는 *"에이전트가 이벤트를 구분해 저작하려는 요구"* 였고, 에이전트가 주문 흐름에서 시한 대기를
|
|
50
|
+
* 게이트웨이 라벨로 근사해 보낸 요청이 그것을 발동시켰다. 범위는 사용자 결정으로 timer 하나다
|
|
51
|
+
* (message catch 는 `receiveTask` 로 대체된다 · error 는 boundaryEvent 전용이라 write 가 없다).
|
|
52
|
+
*
|
|
53
|
+
* ⚠ **이 필드를 쓰는 타입은 `intermediateCatchEvent` 하나다** — boundaryEvent 의 error 정의는 read 에도
|
|
54
|
+
* 내지 않는다(종전 그대로). 시한 값(`timeDuration` 등 표현식)은 싣지 않는다 — 조건 라벨과 같은
|
|
55
|
+
* 판단으로 시한은 `name` 이 말하고(A-5), 표현식은 실행 엔진 도입 트리거에 묶인다.
|
|
56
|
+
*/
|
|
57
|
+
export declare const IR_EVENT_DEFINITIONS: readonly ["timer"];
|
|
58
|
+
export type IrEventDefinition = (typeof IR_EVENT_DEFINITIONS)[number];
|
|
59
|
+
/** IR 이벤트 정의 → bpmn `$type`. read(describe)·write(lower)·색인이 같은 출처를 쓴다. */
|
|
60
|
+
export declare const BPMN_EVENT_DEFINITION_TYPES: Readonly<Record<IrEventDefinition, string>>;
|
|
61
|
+
export declare function isIrEventDefinition(v: unknown): v is IrEventDefinition;
|
|
62
|
+
/**
|
|
63
|
+
* `eventDefinitions` 목록(moddle 요소의 `$type` 배열)을 IR 이벤트 정의로 접는다. **정확히 하나이고
|
|
64
|
+
* 어휘 안의 것일 때만** 값을 낸다 — 다중 정의(BPMN 의 multiple 이벤트)와 어휘 밖 정의는 undefined.
|
|
65
|
+
*/
|
|
66
|
+
export declare function irEventDefinitionOf(definitionTypes: readonly string[]): IrEventDefinition | undefined;
|
|
35
67
|
export interface IrLane {
|
|
36
68
|
id: string;
|
|
37
69
|
name?: string;
|
|
@@ -62,6 +94,11 @@ export interface IrNode {
|
|
|
62
94
|
* 잃는다(실측 = `出荷_BNKR` 의 error 경계 이벤트가 subProcess 에 붙어 탈출 간선을 낸다).
|
|
63
95
|
*/
|
|
64
96
|
attachedTo?: string;
|
|
97
|
+
/**
|
|
98
|
+
* `intermediateCatchEvent` 의 이벤트 정의 (B-87 ⓑ 부분 · 2026-09-30). **그 타입에서만 쓰고 그 타입에서는
|
|
99
|
+
* 필수다** — read 는 이 값이 있는 중간 catch 이벤트만 노드로 내고, write 는 짝이 어긋나면 거부한다.
|
|
100
|
+
*/
|
|
101
|
+
eventDefinition?: IrEventDefinition;
|
|
65
102
|
}
|
|
66
103
|
/**
|
|
67
104
|
* 조건은 게이트웨이가 아닌 플로우에 붙인다.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@g1cloud/bpmn-modeler-next",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "5.0.0-
|
|
4
|
+
"version": "5.0.0-beta.1",
|
|
5
5
|
"description": "Vue 3 BPMN document authoring editor (bpmn-js based) with AI agent authoring",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"vue-tsc": "^2.1.0"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
|
+
"skills:sync": "node scripts/sync-agent-skills.mjs",
|
|
51
52
|
"dev": "vite",
|
|
52
53
|
"build": "vue-tsc --noEmit && vite build",
|
|
53
54
|
"preview": "vite preview",
|