Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .changeset/breakpoint-steps-cse-machine.md

This file was deleted.

10 changes: 10 additions & 0 deletions src/common/cse-machine/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/common/cse-machine/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
15 changes: 15 additions & 0 deletions src/runner/cse-machine/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/runner/cse-machine/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -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": {
Expand Down
15 changes: 15 additions & 0 deletions src/web/cse-machine/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/web/cse-machine/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down