@nanobpm/urban 0.51.0 → 0.52.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/runtime/core/execContext.d.ts +5 -0
- package/dist/runtime/core/lineage.d.ts +116 -0
- package/dist/runtime/core/lineage.js +186 -0
- package/dist/runtime/core/modules/datasource.d.ts +6 -0
- package/dist/runtime/core/modules/datasource.js +8 -0
- package/dist/runtime/core/modules/lineage-store.d.ts +81 -0
- package/dist/runtime/core/modules/lineage-store.js +175 -0
- package/dist/runtime/core/modules/workers.js +69 -2
- package/dist/runtime/engine/nanosdk.js +8 -2
- package/dist/runtime/index.d.ts +4 -0
- package/dist/runtime/index.js +5 -0
- package/package.json +1 -1
- package/src/runtime/core/execContext.ts +5 -0
- package/src/runtime/core/lineage.test.ts +215 -0
- package/src/runtime/core/lineage.ts +297 -0
- package/src/runtime/core/modules/datasource.ts +9 -0
- package/src/runtime/core/modules/lineage-store.test.ts +177 -0
- package/src/runtime/core/modules/lineage-store.ts +239 -0
- package/src/runtime/core/modules/workers.test.ts +136 -1
- package/src/runtime/core/modules/workers.ts +72 -6
- package/src/runtime/engine/nanosdk.test.ts +97 -3
- package/src/runtime/engine/nanosdk.ts +8 -2
- package/src/runtime/index.ts +35 -0
package/src/runtime/index.ts
CHANGED
|
@@ -143,6 +143,41 @@ export type {
|
|
|
143
143
|
} from "./core/modules/llm.ts";
|
|
144
144
|
export { evalCorrelation } from "./core/modules/triggers.ts";
|
|
145
145
|
|
|
146
|
+
// Lineage — the framework-level lineage primitive (issue #254): the `_urban.lineage`
|
|
147
|
+
// envelope + auto-threading, and the generic read projection that stitches user intent →
|
|
148
|
+
// progress (a root request → the instances/PRs/tasks it causes).
|
|
149
|
+
export {
|
|
150
|
+
applyAmbientLineage,
|
|
151
|
+
buildLineageTree,
|
|
152
|
+
deriveLineage,
|
|
153
|
+
LINEAGE_KEY,
|
|
154
|
+
LINEAGE_NAMESPACE,
|
|
155
|
+
mintRootRequestKey,
|
|
156
|
+
readLineage,
|
|
157
|
+
writeLineage,
|
|
158
|
+
} from "./core/lineage.ts";
|
|
159
|
+
export type {
|
|
160
|
+
ApplyLineageOptions,
|
|
161
|
+
LineageAttachment,
|
|
162
|
+
LineageEdge,
|
|
163
|
+
LineageEdgeType,
|
|
164
|
+
LineageEnvelope,
|
|
165
|
+
LineageNode,
|
|
166
|
+
LineageTree,
|
|
167
|
+
} from "./core/lineage.ts";
|
|
168
|
+
export {
|
|
169
|
+
LINEAGE_ATTACHMENTS_TABLE,
|
|
170
|
+
LINEAGE_EDGES_TABLE,
|
|
171
|
+
LINEAGE_SCHEMA_SQL,
|
|
172
|
+
LineageStore,
|
|
173
|
+
systemClock as lineageSystemClock,
|
|
174
|
+
} from "./core/modules/lineage-store.ts";
|
|
175
|
+
export type {
|
|
176
|
+
Clock as LineageClock,
|
|
177
|
+
LineageJobLike,
|
|
178
|
+
LineageStoreOptions,
|
|
179
|
+
} from "./core/modules/lineage-store.ts";
|
|
180
|
+
|
|
146
181
|
// Model deploy (deploy-by-convention under `resources/`, ADR 0062)
|
|
147
182
|
export { deployModels, RESOURCES_DIR } from "./core/modules/deploy.ts";
|
|
148
183
|
export { defaultScheduler, MAX_TIMER_DELAY_MS } from "./core/modules/scheduler.ts";
|