Skip to content

Commit 384ecf0

Browse files
committed
fix: CI build command, replay engine restart state, restore local scripts
1 parent 4ff2c1b commit 384ecf0

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
run: pnpm install --frozen-lockfile
6060

6161
- name: Build standalone bundle
62-
run: pnpm build:local
62+
run: ./scripts/build-local.sh
6363
env:
6464
AGENTIS_LOCAL_MODE: 'true'
6565
NEXT_PUBLIC_AGENTIS_LOCAL: 'true'

.github/workflows/release-local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: pnpm install --frozen-lockfile
4444

4545
- name: Build standalone bundle
46-
run: pnpm build:local
46+
run: ./scripts/build-local.sh
4747
env:
4848
AGENTIS_LOCAL_MODE: 'true'
4949
NEXT_PUBLIC_AGENTIS_LOCAL: 'true'

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
"test:watch": "vitest",
1313
"test:coverage": "vitest run --coverage",
1414
"test:e2e": "playwright test",
15-
"test:e2e:headed": "playwright test --headed"
15+
"test:e2e:headed": "playwright test --headed",
16+
"build:local": "./scripts/build-local.sh",
17+
"local:run": "node packages/local-runner/bin/agentis-local.js",
18+
"local:pack-run": "cd packages/local-runner && npm pack --ignore-scripts && npx ./$(ls -t *.tgz | head -1)",
19+
"local:clean": "rm -rf packages/local-runner/bundle packages/local-runner/*.tgz"
1620
},
1721
"devDependencies": {
1822
"@playwright/test": "^1.58.2",

packages/engine/src/replay/engine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export class ReplayEngine {
7777
restart(): void {
7878
this.clearTimer()
7979
this.updateState({
80-
playbackState: 'paused',
80+
playbackState: 'idle',
8181
currentEventIndex: 0,
8282
progress: 0,
8383
})

0 commit comments

Comments
 (0)