Skip to content

Commit c474d04

Browse files
Shawclaude
andcommitted
chore: drop vendored steward fork, use @stwd npm packages
Removes the entire cloud/packages/steward/ vendored copy of github.com/Steward-Fi/steward and the prepare-steward-workspaces.sh / steward-cloud-workspaces.patch / railpack.json machinery that maintained it. External code only ever imported @stwd/sdk and @stwd/react, both already published on npm. The 8 file: deps on private packages (@stwd/api, @stwd/auth, @stwd/db, @stwd/policy-engine, @stwd/redis, @stwd/shared, @stwd/vault, @stwd/webhooks) declared in cloud/apps/api/package.json had no source-level imports and are removed. cloud/package.json drops the !packages/steward exclude and packages/steward/packages/* include from workspaces. CI workflows lose their Prepare Steward workspaces and Build Steward (@stwd/react dist for typecheck) steps in nine YAMLs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 534f40a commit c474d04

440 files changed

Lines changed: 5 additions & 77057 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/cloud-cf-deploy.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,9 @@ jobs:
7272
with:
7373
bun-version: latest
7474

75-
- name: Prepare Steward workspaces
76-
run: bash packages/scripts/prepare-steward-workspaces.sh
77-
7875
- name: Install dependencies
7976
run: bun install --frozen-lockfile
8077

81-
- name: Build Steward (@stwd/react dist for typecheck)
82-
run: bun run --cwd packages/steward/packages/react build
83-
8478
- name: Verify Worker
8579
run: bun run --cwd apps/api typecheck
8680

@@ -141,15 +135,9 @@ jobs:
141135
with:
142136
bun-version: latest
143137

144-
- name: Prepare Steward workspaces
145-
run: bash packages/scripts/prepare-steward-workspaces.sh
146-
147138
- name: Install dependencies
148139
run: bun install --frozen-lockfile
149140

150-
- name: Build Steward (@stwd/react dist for typecheck)
151-
run: bun run --cwd packages/steward/packages/react build
152-
153141
- name: Verify Frontend
154142
run: bun run --cwd apps/frontend typecheck
155143

.github/workflows/cloud-deploy-backend.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ jobs:
8888
with:
8989
bun-version: ${{ env.BUN_VERSION }}
9090

91-
- name: Prepare Steward workspaces
92-
run: bash packages/scripts/prepare-steward-workspaces.sh
93-
9491
- name: Install dependencies
9592
run: |
9693
for attempt in 1 2 3; do
@@ -163,9 +160,6 @@ jobs:
163160
with:
164161
bun-version: ${{ env.BUN_VERSION }}
165162

166-
- name: Prepare Steward workspaces
167-
run: bash packages/scripts/prepare-steward-workspaces.sh
168-
169163
- name: Install dependencies
170164
run: |
171165
for attempt in 1 2 3; do
@@ -315,7 +309,6 @@ jobs:
315309
curl -fsSL https://bun.sh/install | bash
316310
export PATH="$BUN_INSTALL/bin:$PATH"
317311
fi
318-
bash packages/scripts/prepare-steward-workspaces.sh
319312
for attempt in 1 2 3; do
320313
if bun install --frozen-lockfile; then
321314
break

.github/workflows/cloud-gateway-discord.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,9 +413,6 @@ jobs:
413413
with:
414414
bun-version: ${{ env.BUN_VERSION }}
415415

416-
- name: Prepare Steward workspaces
417-
run: bash packages/scripts/prepare-steward-workspaces.sh
418-
419416
- name: Install root dependencies
420417
run: bun install --frozen-lockfile
421418

.github/workflows/cloud-gateway-webhook.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ jobs:
3737
with:
3838
bun-version: ${{ env.BUN_VERSION }}
3939

40-
- name: Prepare Steward workspaces
41-
run: bash packages/scripts/prepare-steward-workspaces.sh
42-
4340
- name: Install root dependencies
4441
run: bun install --frozen-lockfile
4542

apps/app-steward/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@noble/curves": "^2.0.1",
2323
"@simplewebauthn/browser": "^13.0.0",
2424
"@solana/web3.js": "^1.98.4",
25-
"@stwd/sdk": "^0.8.0",
25+
"@stwd/sdk": "^0.8.1",
2626
"@elizaos/app-core": "workspace:*",
2727
"@elizaos/core": "workspace:*",
2828
"@elizaos/shared": "workspace:*",

cloud/.github/actions/setup-test-env/action.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ runs:
2626
with:
2727
bun-version: ${{ inputs.bun-version }}
2828

29-
- name: Prepare Steward workspaces
30-
shell: bash
31-
working-directory: cloud
32-
run: bash packages/scripts/prepare-steward-workspaces.sh
33-
3429
- name: Install dependencies
3530
shell: bash
3631
working-directory: cloud
@@ -48,14 +43,6 @@ runs:
4843
4944
exit 1
5045
51-
# Steward packages are vendored without dist/ (gitignored). The frontend
52-
# typecheck pulls in @stwd/react via package.json's `types: dist/index.d.ts`
53-
# field, so dist/ must exist before any typecheck job runs. Cheap (~5s).
54-
- name: Build Steward packages
55-
shell: bash
56-
working-directory: cloud/packages/steward/packages/react
57-
run: bun run build
58-
5946
- name: Validate migration journal
6047
shell: bash
6148
working-directory: cloud

cloud/.github/workflows/cf-deploy.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ jobs:
6666
with:
6767
bun-version: latest
6868

69-
- name: Prepare Steward workspaces
70-
run: bash packages/scripts/prepare-steward-workspaces.sh
71-
7269
- name: Install dependencies
7370
run: bun install --frozen-lockfile
7471

@@ -118,9 +115,6 @@ jobs:
118115
with:
119116
bun-version: latest
120117

121-
- name: Prepare Steward workspaces
122-
run: bash packages/scripts/prepare-steward-workspaces.sh
123-
124118
- name: Install dependencies
125119
run: bun install --frozen-lockfile
126120

cloud/.github/workflows/deploy-backend.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ jobs:
8282
with:
8383
bun-version: ${{ env.BUN_VERSION }}
8484

85-
- name: Prepare Steward workspaces
86-
run: bash packages/scripts/prepare-steward-workspaces.sh
87-
8885
- name: Install dependencies
8986
run: |
9087
for attempt in 1 2 3; do
@@ -157,9 +154,6 @@ jobs:
157154
with:
158155
bun-version: ${{ env.BUN_VERSION }}
159156

160-
- name: Prepare Steward workspaces
161-
run: bash packages/scripts/prepare-steward-workspaces.sh
162-
163157
- name: Install dependencies
164158
run: |
165159
for attempt in 1 2 3; do
@@ -309,7 +303,6 @@ jobs:
309303
curl -fsSL https://bun.sh/install | bash
310304
export PATH="$BUN_INSTALL/bin:$PATH"
311305
fi
312-
bash packages/scripts/prepare-steward-workspaces.sh
313306
for attempt in 1 2 3; do
314307
if bun install --frozen-lockfile; then
315308
break

cloud/.github/workflows/gateway-discord.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,9 +413,6 @@ jobs:
413413
with:
414414
bun-version: ${{ env.BUN_VERSION }}
415415

416-
- name: Prepare Steward workspaces
417-
run: bash packages/scripts/prepare-steward-workspaces.sh
418-
419416
- name: Install root dependencies
420417
run: bun install --frozen-lockfile
421418

cloud/.github/workflows/gateway-webhook.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ jobs:
3131
with:
3232
bun-version: ${{ env.BUN_VERSION }}
3333

34-
- name: Prepare Steward workspaces
35-
run: bash packages/scripts/prepare-steward-workspaces.sh
36-
3734
- name: Install root dependencies
3835
run: bun install --frozen-lockfile
3936

0 commit comments

Comments
 (0)