@operato/twin-kernel 0.7.90 → 0.8.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.
- package/dist/index.d.ts +2 -22
- package/dist/index.js +17 -21
- package/dist-cjs/index.cjs +35 -2224
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,40 +1,20 @@
|
|
|
1
|
-
export * from '@operato/operations-contract';
|
|
2
|
-
export * from '@operato/operations-contract';
|
|
3
|
-
export * from '@operato/operations-contract';
|
|
4
1
|
export * from './counterfactual.ts';
|
|
5
2
|
export * from './forecast.ts';
|
|
6
3
|
export * from './twin-observer.ts';
|
|
7
4
|
export * from './event-journal.ts';
|
|
8
|
-
export * from '@operato/operations-contract';
|
|
9
5
|
export * from './divergence.ts';
|
|
10
|
-
export * from '@operato/operations-contract';
|
|
11
|
-
export * from '@operato/operations-contract';
|
|
12
|
-
export * from '@operato/operations-contract';
|
|
13
|
-
export * from '@operato/operations-contract';
|
|
14
|
-
export * from '@operato/operations-contract';
|
|
15
6
|
export * from './allocation-policy.ts';
|
|
16
7
|
export * from './duration-estimator.ts';
|
|
17
|
-
export * from '@operato/operations-contract';
|
|
18
8
|
export * from './observed-reducer.ts';
|
|
19
9
|
export * from './state-projector.ts';
|
|
20
10
|
export * from './task-fold.ts';
|
|
21
11
|
export * from './job-response.ts';
|
|
22
|
-
export * from '@operato/operations-contract';
|
|
23
12
|
export * from './runtime.ts';
|
|
24
|
-
export * from '@operato/operations-contract';
|
|
25
|
-
export * from '@operato/operations-contract';
|
|
26
13
|
export * from './flow-engine.ts';
|
|
27
|
-
export * from '@operato/operations-contract';
|
|
28
|
-
export * from '@operato/operations-contract';
|
|
29
14
|
export { WmsKernel } from './kernel.ts';
|
|
30
15
|
export { YmsKernel } from './yms-kernel.ts';
|
|
31
16
|
export { MesKernel } from './mes-kernel.ts';
|
|
32
17
|
export { EmsKernel, DEMAND_WINDOW_MS, demandWindowStart } from './ems-kernel.ts';
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export type { OperationalKind, OperationalRecord, OperationalIngestOptions } from '@operato/operations-contract';
|
|
36
|
-
export { attributeEnergy, electricityCost, energyIntensity, energyOfWindows } from './energy-attribution.ts';
|
|
37
|
-
export type { AttributionBasis, AttributionResult, ElectricityCost, EnergyConsumer, EnergyPool, EnergyShare, IntensityInput, IntensityResult, IntensityDenominator, TariffDeclaration, WeightKind, WindowedEnergy } from './energy-attribution.ts';
|
|
38
|
-
export type { EnergyRecord, EnergyEquipmentRecord, EnergyGenerationRecord, EnergyUsagePeriodRecord, EnergyBillRecord, EnergyTariffBasisRecord, EnergyGenerationPriceRecord, EnergyGenerationPeriodRecord, EnergyIngestOptions, EnergyIngestResult } from '@operato/operations-contract';
|
|
39
|
-
export * from '@operato/operations-contract';
|
|
18
|
+
export * from './energy-attribution.ts';
|
|
19
|
+
export * from './make-to-order.ts';
|
|
40
20
|
export { ClassMasterTable } from './class-master-table.ts';
|
package/dist/index.js
CHANGED
|
@@ -1,39 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/*
|
|
2
|
+
* 커널의 진입점 — **엔진만 내보낸다.**
|
|
3
|
+
*
|
|
4
|
+
* ── 계약을 다시 내보내지 않는다 (2026-08-30) ──────────────────────────────
|
|
5
|
+
* 어휘·타입·판별 함수는 `@operato/operations-contract` 에 있다. 여기서 그것을 다시 내보내면 같은 이름을
|
|
6
|
+
* **두 경로로** 가져올 수 있게 되고, 새 코드가 편한 쪽을 쓰면 계약이 커널 뒤에 숨는다. 그때 층은
|
|
7
|
+
* 이름만 남는다 — 사실을 만들기만 하는 쪽(MES · WMS · 커넥터)이 엔진을 거쳐 어휘를 얻게 된다.
|
|
8
|
+
*
|
|
9
|
+
* 처음에는 다시 내보냈다. 이유는 「소비처를 한 줄도 안 고쳐도 되게」였고, 그것은 **관리 편의**이지
|
|
10
|
+
* 구조의 근거가 아니었다. 세는 시험으로 덮으려 했는데, 세는 시험은 층이 깨졌다는 것을 인정하고 빚을
|
|
11
|
+
* 재는 도구다.
|
|
12
|
+
*
|
|
13
|
+
* 계약이 필요한 소비처는 그것을 **직접 의존한다.** 한 줄이면 된다.
|
|
14
|
+
*/
|
|
4
15
|
export * from "./counterfactual.js";
|
|
5
16
|
export * from "./forecast.js";
|
|
6
17
|
export * from "./twin-observer.js";
|
|
7
18
|
export * from "./event-journal.js";
|
|
8
|
-
export * from '@operato/operations-contract';
|
|
9
19
|
export * from "./divergence.js";
|
|
10
|
-
export * from '@operato/operations-contract';
|
|
11
|
-
export * from '@operato/operations-contract';
|
|
12
|
-
export * from '@operato/operations-contract';
|
|
13
|
-
export * from '@operato/operations-contract';
|
|
14
|
-
export * from '@operato/operations-contract';
|
|
15
20
|
export * from "./allocation-policy.js";
|
|
16
21
|
export * from "./duration-estimator.js";
|
|
17
|
-
export * from '@operato/operations-contract';
|
|
18
22
|
export * from "./observed-reducer.js";
|
|
19
23
|
export * from "./state-projector.js";
|
|
20
24
|
export * from "./task-fold.js";
|
|
21
25
|
export * from "./job-response.js";
|
|
22
|
-
export * from '@operato/operations-contract';
|
|
23
26
|
export * from "./runtime.js";
|
|
24
|
-
export * from '@operato/operations-contract';
|
|
25
|
-
export * from '@operato/operations-contract';
|
|
26
27
|
export * from "./flow-engine.js";
|
|
27
|
-
export * from '@operato/operations-contract';
|
|
28
|
-
export * from '@operato/operations-contract';
|
|
29
28
|
export { WmsKernel } from "./kernel.js";
|
|
30
29
|
export { YmsKernel } from "./yms-kernel.js";
|
|
31
30
|
export { MesKernel } from "./mes-kernel.js";
|
|
32
31
|
export { EmsKernel, DEMAND_WINDOW_MS, demandWindowStart } from "./ems-kernel.js";
|
|
33
|
-
export
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
export { attributeEnergy, electricityCost, energyIntensity, energyOfWindows } from "./energy-attribution.js";
|
|
37
|
-
/* 에너지 상태 타입은 **계약**에 있다(상태의 모양은 계약이다) — contract 의 `export *` 가 이미 낸다. */
|
|
38
|
-
export * from '@operato/operations-contract';
|
|
32
|
+
export * from "./energy-attribution.js";
|
|
33
|
+
export * from "./make-to-order.js";
|
|
34
|
+
/* 클래스 마스터 표 — 상태를 들므로 계약이 아니라 커널이다. */
|
|
39
35
|
export { ClassMasterTable } from "./class-master-table.js";
|