@aion0/forge 0.10.2 → 0.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/RELEASE_NOTES.md CHANGED
@@ -1,8 +1,11 @@
1
- # Forge v0.10.2
1
+ # Forge v0.10.3
2
2
 
3
3
  Released: 2026-05-30
4
4
 
5
- ## Changes since v0.10.1
5
+ ## Changes since v0.10.2
6
6
 
7
+ ### Other
8
+ - fix(settings): unmask apiProfiles.*.apiKey on POST (regression in v0.10.0)
7
9
 
8
- **Full Changelog**: https://github.com/aiwatching/forge/compare/v0.10.1...v0.10.2
10
+
11
+ **Full Changelog**: https://github.com/aiwatching/forge/compare/v0.10.2...v0.10.3
@@ -65,6 +65,17 @@ export async function PUT(req: Request) {
65
65
  }
66
66
  }
67
67
  }
68
+ // Same for apiProfiles (the canonical location post-migration). Without
69
+ // this, editing any unrelated setting wipes every saved apiKey.
70
+ if (updated.apiProfiles) {
71
+ for (const [id, p] of Object.entries(updated.apiProfiles)) {
72
+ const newKey = (p as any)?.apiKey;
73
+ if (newKey === '••••••••') {
74
+ const existing = settings.apiProfiles?.[id]?.apiKey;
75
+ if (existing) (p as any).apiKey = existing;
76
+ }
77
+ }
78
+ }
68
79
 
69
80
  // Remove internal fields
70
81
  delete (updated as any)._secretStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aion0/forge",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "description": "Unified AI workflow platform — multi-model task orchestration, persistent sessions, web terminal, remote access",
5
5
  "type": "module",
6
6
  "scripts": {