instar 1.3.45 → 1.3.46
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/dist/commands/server.d.ts.map +1 -1
- package/dist/commands/server.js +9 -1
- package/dist/commands/server.js.map +1 -1
- package/dist/core/PostUpdateMigrator.d.ts.map +1 -1
- package/dist/core/PostUpdateMigrator.js +20 -0
- package/dist/core/PostUpdateMigrator.js.map +1 -1
- package/dist/lifeline/TelegramLifeline.d.ts +16 -0
- package/dist/lifeline/TelegramLifeline.d.ts.map +1 -1
- package/dist/lifeline/TelegramLifeline.js +52 -6
- package/dist/lifeline/TelegramLifeline.js.map +1 -1
- package/dist/scaffold/templates.d.ts.map +1 -1
- package/dist/scaffold/templates.js +6 -0
- package/dist/scaffold/templates.js.map +1 -1
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +19 -19
- package/src/scaffold/templates.ts +6 -0
- package/upgrades/1.3.46.md +46 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/commands/server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA+RH,UAAU,YAAY;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;2DACuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAksDD,wBAAsB,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/commands/server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA+RH,UAAU,YAAY;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;2DACuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAksDD,wBAAsB,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAksNtE;AAED,wBAAsB,UAAU,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAsDzE;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,aAAa,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAuD5E"}
|
package/dist/commands/server.js
CHANGED
|
@@ -4792,7 +4792,15 @@ export async function startServer(options) {
|
|
|
4792
4792
|
// Phase 1C of GRACEFUL_UPDATES: reduce noise for routine maintenance.
|
|
4793
4793
|
const runningSessions = sessionManager.listRunningSessions();
|
|
4794
4794
|
if (runningSessions.length > 0) {
|
|
4795
|
-
|
|
4795
|
+
// Route the pre-restart heads-up to the dedicated Agent Updates
|
|
4796
|
+
// topic, not the central-notify default (Attention). Every other
|
|
4797
|
+
// update-class emitter (AutoUpdater, AutoDispatcher, the restart
|
|
4798
|
+
// handshake, /telegram/post-update) routes here; this caller was
|
|
4799
|
+
// the lone path going to Attention. Falls through to the central
|
|
4800
|
+
// default when Updates is unset, preserving prior behavior for
|
|
4801
|
+
// agents without an Updates topic.
|
|
4802
|
+
const updatesTopicId = state.get('agent-updates-topic') || undefined;
|
|
4803
|
+
notify('IMMEDIATE', 'system', `Applying update to v${request.targetVersion} — restarting now. Active sessions will resume automatically.`, updatesTopicId);
|
|
4796
4804
|
}
|
|
4797
4805
|
else {
|
|
4798
4806
|
console.log(`[ForegroundRestartWatcher] Silent restart — no active sessions (v${request.previousVersion} → v${request.targetVersion})`);
|