Commit 63bfc76
fix(cloud): unblock api/frontend typecheck — more bang-equals + index exports
Round 2 of cloud typecheck fixes after Cloud CF Deploy verify failed.
bang-equals (5 more):
- agent-gateway-router.ts (3 lines): `!owner.organization_id !== args.organizationId`
→ `owner.organization_id !== args.organizationId`
- node-autoscaler.ts: `!bootstrap.controlPlanePublicKey.trim().length === 0`
→ `bootstrap.controlPlanePublicKey.trim().length === 0`
- runtime-factory.ts: `!context.characterId === DEFAULT_AGENT_ID_STRING`
→ `context.characterId === DEFAULT_AGENT_ID_STRING`
other typecheck blockers:
- n8n-credential-bridge.ts: `!k.expires_at > now` was comparing boolean to Date.
Fixed to `(!k.expires_at || k.expires_at > now)` matching intent.
- character.ts:155: added `!character.messageExamples ||` null guard
exposed by the earlier bang-equals fix.
missing exports (storage proxy + vendor-connections work landed but
never wired into index):
- packages/db/repositories/index.ts + schemas/index.ts: add
./org-storage-quota + ./vendor-connections.
Verified: bun run --cwd cloud/apps/{api,frontend} typecheck both PASS.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 9aecbec commit 63bfc76
7 files changed
Lines changed: 13 additions & 7 deletions
File tree
- cloud/packages
- db
- repositories
- schemas
- lib
- eliza
- plugin-n8n-bridge
- services
- containers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| |||
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| 123 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
318 | 320 | | |
319 | 321 | | |
320 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1816 | 1816 | | |
1817 | 1817 | | |
1818 | 1818 | | |
1819 | | - | |
| 1819 | + | |
1820 | 1820 | | |
1821 | 1821 | | |
1822 | 1822 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
| 334 | + | |
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
581 | | - | |
| 581 | + | |
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
| |||
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
670 | | - | |
| 670 | + | |
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
0 commit comments