@g1cloud/bpmn-modeler-next 5.0.0-alpha.81 → 5.0.0-alpha.83

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.
@@ -63,6 +63,23 @@ export interface BpmnEditorController extends CommandSeam {
63
63
  readonly issues: Readonly<Ref<BpmnDocumentIssues>>;
64
64
  /** 수동 재판정 — 자동 트리거(커맨드·임포트) 밖에서 상태를 다시 읽어야 할 때. */
65
65
  revalidate(): void;
66
+ /**
67
+ * 「이번 작업분」 — 패널이 판정 항목을 **이번 회차의 것**과 **base 기저**로 가르는 범위 축(B-109 ⓑ).
68
+ *
69
+ * 🔴 **왜 컨트롤러가 못 구하고 주입받는가** — 판정은 *지금 문서*만 보므로 「이번」의 기준이
70
+ * 문서 안에 없다. 기준선(그 배치 직전 버전)을 아는 것은 호스트이고, 산출기는 `diffBpmnElements`
71
+ * 다. 그래서 여기는 **받아서 들고 있기만** 한다.
72
+ *
73
+ * 🔴 **N20 이 집합의 내용을 정했다**(2026-09-26 · 배치 회차 82 · 패널 항목 621) — 「배치 op 이
74
+ * **만든** id」만 넣으면 사람이 실제로 고친 항목의 **34%** 밖에 못 지킨다. update 회차 결함의
75
+ * 대부분이 *만든 것*이 아니라 ***민 것***이기 때문이다. `touchedElements(diff)`(만든 것 ∪ 만진 것)를
76
+ * 넣으면 **94%** 를 지킨다.
77
+ *
78
+ * `undefined` = 축 없음(현행 동작 그대로 — 태그도 정렬 변경도 없다).
79
+ */
80
+ setChangeScope(ids: Iterable<string> | undefined): void;
81
+ /** 주입된 「이번 작업분」 집합. 패널이 읽는다. */
82
+ readonly changeScope: Readonly<Ref<ReadonlySet<string> | undefined>>;
66
83
  /**
67
84
  * 요소를 화면 중앙으로 끌어오고 선택한다 — 패널 항목 클릭의 착지점.
68
85
  * 없는 id(이미 지워진 요소)는 **조용히 무시**한다: 패널은 판정 시점의 스냅샷이라
package/dist/index.d.ts CHANGED
@@ -9,6 +9,7 @@ export * from './agent/resolver';
9
9
  export * from './agent/describeProcess';
10
10
  export * from './agent/geometryAudit';
11
11
  export * from './agent/semanticAudit';
12
+ export * from './agent/elementDiff';
12
13
  export * from './agent/agentBatch';
13
14
  export * from './editor/controller';
14
15
  export * from './adapter/i18n';
@@ -23,3 +23,12 @@ export declare const SEVERITY_ORDER: Record<IssueSeverity, number>;
23
23
  export declare function toPanelIssues(issues: BpmnDocumentIssues, describe: ElementDescriber): PanelIssue[];
24
24
  /** 심각도별 건수 — 패널 헤더의 카운트 바(접힘 상태에서도 상시 보인다). */
25
25
  export declare function countBySeverity(issues: readonly PanelIssue[]): Record<IssueSeverity, number>;
26
+ /** 이 항목이 「이번 작업분」인가. 범위 축이 없으면(`undefined`) 언제나 false 다. */
27
+ export declare function isInChangeScope(issue: PanelIssue, scope: ReadonlySet<string> | undefined): boolean;
28
+ /** 범위 축을 **노출할 가치가 있는가** = 이번 것과 base 기저가 섞여 있는가(채택 조건 ②). */
29
+ export declare function isChangeScopeMixed(issues: readonly PanelIssue[], scope: ReadonlySet<string> | undefined): boolean;
30
+ /**
31
+ * 표시 순서 — 섞여 있을 때만 「이번 작업분」을 위로 올리고, 그 안에서는 심각도 순이다.
32
+ * ⚠ **거르지 않는다**(채택 조건 ①) — 반환 길이는 입력과 같다.
33
+ */
34
+ export declare function sortPanelIssues(issues: readonly PanelIssue[], scope: ReadonlySet<string> | undefined): PanelIssue[];
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-alpha.81",
4
+ "version": "5.0.0-alpha.83",
5
5
  "description": "Vue 3 BPMN document authoring editor (bpmn-js based) with AI agent authoring",
6
6
  "type": "module",
7
7
  "files": [