diff --git a/.changeset/breakpoint-steps-cse-machine.md b/.changeset/breakpoint-steps-cse-machine.md deleted file mode 100644 index 5f2daaf..0000000 --- a/.changeset/breakpoint-steps-cse-machine.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@sourceacademy/common-cse-machine": minor -"@sourceacademy/runner-cse-machine": minor -"@sourceacademy/web-cse-machine": minor ---- - -Add `breakpointSteps` to the CSE snapshot protocol: a run-level array of 0-based step indices -where a breakpoint (e.g. Python's `breakpoint()`) sits on top of the control. `CseMachinePlugin.sendSnapshots` -takes it as an optional second argument (defaulting to `[]`); `CseMachineHostPlugin.receiveSnapshots` -now receives it as a second parameter. Enables host apps to wire breakpoint-navigation controls -for CSE-machine-based evaluators, matching the stepper's existing `redexNodeType` contract. diff --git a/src/common/cse-machine/CHANGELOG.md b/src/common/cse-machine/CHANGELOG.md index 96c35ef..9bb65e8 100644 --- a/src/common/cse-machine/CHANGELOG.md +++ b/src/common/cse-machine/CHANGELOG.md @@ -1,5 +1,15 @@ # @sourceacademy/common-cse-machine +## 0.3.0 + +### Minor Changes + +- 6672299: Add `breakpointSteps` to the CSE snapshot protocol: a run-level array of 0-based step indices + where a breakpoint (e.g. Python's `breakpoint()`) sits on top of the control. `CseMachinePlugin.sendSnapshots` + takes it as an optional second argument (defaulting to `[]`); `CseMachineHostPlugin.receiveSnapshots` + now receives it as a second parameter. Enables host apps to wire breakpoint-navigation controls + for CSE-machine-based evaluators, matching the stepper's existing `redexNodeType` contract. + ## 0.2.0 ### Minor Changes diff --git a/src/common/cse-machine/package.json b/src/common/cse-machine/package.json index 000e98c..0555d25 100644 --- a/src/common/cse-machine/package.json +++ b/src/common/cse-machine/package.json @@ -1,6 +1,6 @@ { "name": "@sourceacademy/common-cse-machine", - "version": "0.2.0", + "version": "0.3.0", "packageManager": "yarn@4.6.0", "description": "Shared protocol/types for the Source Academy CSE machine plugin pair", "scripts": { diff --git a/src/runner/cse-machine/CHANGELOG.md b/src/runner/cse-machine/CHANGELOG.md index 97124ab..67c95ef 100644 --- a/src/runner/cse-machine/CHANGELOG.md +++ b/src/runner/cse-machine/CHANGELOG.md @@ -1,5 +1,20 @@ # @sourceacademy/runner-cse-machine +## 3.0.0 + +### Minor Changes + +- 6672299: Add `breakpointSteps` to the CSE snapshot protocol: a run-level array of 0-based step indices + where a breakpoint (e.g. Python's `breakpoint()`) sits on top of the control. `CseMachinePlugin.sendSnapshots` + takes it as an optional second argument (defaulting to `[]`); `CseMachineHostPlugin.receiveSnapshots` + now receives it as a second parameter. Enables host apps to wire breakpoint-navigation controls + for CSE-machine-based evaluators, matching the stepper's existing `redexNodeType` contract. + +### Patch Changes + +- Updated dependencies [6672299] + - @sourceacademy/common-cse-machine@0.3.0 + ## 2.0.0 ### Patch Changes diff --git a/src/runner/cse-machine/package.json b/src/runner/cse-machine/package.json index 3250e5b..dc1ef20 100644 --- a/src/runner/cse-machine/package.json +++ b/src/runner/cse-machine/package.json @@ -1,6 +1,6 @@ { "name": "@sourceacademy/runner-cse-machine", - "version": "2.0.0", + "version": "3.0.0", "packageManager": "yarn@4.6.0", "description": "The runner-side CSE machine plugin: sends evaluation snapshots to the host", "scripts": { @@ -25,7 +25,7 @@ } }, "peerDependencies": { - "@sourceacademy/common-cse-machine": ">=0.2.0", + "@sourceacademy/common-cse-machine": ">=0.3.0", "@sourceacademy/conductor": ">=0.3.0" }, "devDependencies": { diff --git a/src/web/cse-machine/CHANGELOG.md b/src/web/cse-machine/CHANGELOG.md index e6dbd5d..a2a0b96 100644 --- a/src/web/cse-machine/CHANGELOG.md +++ b/src/web/cse-machine/CHANGELOG.md @@ -1,5 +1,20 @@ # @sourceacademy/web-cse-machine +## 3.0.0 + +### Minor Changes + +- 6672299: Add `breakpointSteps` to the CSE snapshot protocol: a run-level array of 0-based step indices + where a breakpoint (e.g. Python's `breakpoint()`) sits on top of the control. `CseMachinePlugin.sendSnapshots` + takes it as an optional second argument (defaulting to `[]`); `CseMachineHostPlugin.receiveSnapshots` + now receives it as a second parameter. Enables host apps to wire breakpoint-navigation controls + for CSE-machine-based evaluators, matching the stepper's existing `redexNodeType` contract. + +### Patch Changes + +- Updated dependencies [6672299] + - @sourceacademy/common-cse-machine@0.3.0 + ## 2.0.0 ### Patch Changes diff --git a/src/web/cse-machine/package.json b/src/web/cse-machine/package.json index 229b30e..47a9740 100644 --- a/src/web/cse-machine/package.json +++ b/src/web/cse-machine/package.json @@ -1,6 +1,6 @@ { "name": "@sourceacademy/web-cse-machine", - "version": "2.0.0", + "version": "3.0.0", "packageManager": "yarn@4.6.0", "description": "The web/host-side CSE machine plugin: receives evaluation snapshots for rendering", "scripts": { @@ -25,7 +25,7 @@ } }, "peerDependencies": { - "@sourceacademy/common-cse-machine": ">=0.2.0", + "@sourceacademy/common-cse-machine": ">=0.3.0", "@sourceacademy/conductor": ">=0.3.0" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 4dd4ef1..1af1a2e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2045,7 +2045,7 @@ __metadata: typescript: "npm:^6.0.3" vitest: "npm:^4.1.9" peerDependencies: - "@sourceacademy/common-cse-machine": ">=0.2.0" + "@sourceacademy/common-cse-machine": ">=0.3.0" "@sourceacademy/conductor": ">=0.3.0" languageName: unknown linkType: soft @@ -2133,7 +2133,7 @@ __metadata: typescript: "npm:^6.0.3" vitest: "npm:^4.1.9" peerDependencies: - "@sourceacademy/common-cse-machine": ">=0.2.0" + "@sourceacademy/common-cse-machine": ">=0.3.0" "@sourceacademy/conductor": ">=0.3.0" languageName: unknown linkType: soft