Skip to content

Commit f4496ad

Browse files
committed
fix(sdk): replace @loop-engine/dsl with @loop-engine/loop-definition
- Move DSL implementation into @loop-engine/loop-definition (shared with registry-client) - SDK re-exports LoopBuilder, YAML helpers, validateLoopDefinition; add sdk/dsl subpath - Remove @loop-engine/dsl workspace package; registry-client imports loop-definition - Update check-boundary, schema note, and tsconfig examples paths - Honors deprecation: consumers use @loop-engine/sdk (and sdk/dsl) as the published surface
1 parent 4778f3f commit f4496ad

31 files changed

Lines changed: 65 additions & 100 deletions

apps/playground/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"test": "vitest run --passWithNoTests"
1010
},
1111
"dependencies": {
12-
"@loop-engine/dsl": "workspace:*",
1312
"@loop-engine/events": "workspace:*",
1413
"@loop-engine/guards": "workspace:*",
1514
"@loop-engine/runtime": "workspace:*",

apps/playground/src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use client";
22

33
import { useMemo, useState } from "react";
4-
import { parseLoopYaml } from "@loop-engine/dsl";
4+
import { parseLoopYaml } from "@loop-engine/sdk/dsl";
55
import { InMemoryEventBus } from "@loop-engine/events";
66
import { GuardRegistry } from "@loop-engine/guards";
77
import { createLoopSystem } from "@loop-engine/runtime";

packages/dsl/.gitkeep

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/dsl/CHANGELOG.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/dsl/README.md

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{
2-
"name": "@loop-engine/dsl",
3-
"version": "0.2.0",
2+
"name": "@loop-engine/loop-definition",
3+
"version": "0.1.0",
4+
"description": "YAML parse/serialize, validation, and LoopBuilder for loop definitions (shared by @loop-engine/sdk and @loop-engine/registry-client).",
45
"license": "Apache-2.0",
56
"repository": {
67
"type": "git",
78
"url": "git+https://github.com/loopengine/loop-engine.git",
8-
"directory": "packages/dsl"
9+
"directory": "packages/loop-definition"
910
},
10-
"description": "Internal: YAML/builder/validator for the monorepo. Published API: @loop-engine/sdk.",
11-
"private": true,
1211
"type": "module",
1312
"main": "./dist/index.cjs",
1413
"module": "./dist/index.js",
@@ -32,7 +31,6 @@
3231
},
3332
"files": [
3433
"dist/",
35-
"README.md",
3634
"LICENSE"
3735
],
3836
"engines": {
@@ -42,12 +40,11 @@
4240
"sideEffects": false,
4341
"keywords": [
4442
"loop-engine",
45-
"core",
46-
"state-machine",
47-
"ai-governance",
48-
"human-in-the-loop",
4943
"yaml",
50-
"builder",
51-
"definition"
52-
]
44+
"state-machine",
45+
"loop-definition"
46+
],
47+
"publishConfig": {
48+
"access": "public"
49+
}
5350
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)