instar 0.28.3 → 0.28.4
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/dashboard/index.html +1 -1
- package/dist/core/types.d.ts +3 -0
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js.map +1 -1
- package/dist/monitoring/QuotaTracker.js +4 -4
- package/dist/monitoring/QuotaTracker.js.map +1 -1
- package/dist/scheduler/JobScheduler.d.ts.map +1 -1
- package/dist/scheduler/JobScheduler.js +12 -2
- package/dist/scheduler/JobScheduler.js.map +1 -1
- package/dist/threadline/AgentTrustManager.d.ts +3 -15
- package/dist/threadline/AgentTrustManager.d.ts.map +1 -1
- package/dist/threadline/AgentTrustManager.js +11 -40
- package/dist/threadline/AgentTrustManager.js.map +1 -1
- package/dist/threadline/ThreadlineMCPServer.d.ts.map +1 -1
- package/dist/threadline/ThreadlineMCPServer.js +10 -32
- package/dist/threadline/ThreadlineMCPServer.js.map +1 -1
- package/dist/threadline/client/ThreadlineClient.d.ts +1 -9
- package/dist/threadline/client/ThreadlineClient.d.ts.map +1 -1
- package/dist/threadline/client/ThreadlineClient.js +10 -64
- package/dist/threadline/client/ThreadlineClient.js.map +1 -1
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +3 -3
- package/upgrades/0.28.4.md +22 -0
- package/upgrades/0.28.3.md +0 -35
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Upgrade Guide — v0.28.4
|
|
2
|
+
|
|
3
|
+
<!-- bump: patch -->
|
|
4
|
+
|
|
5
|
+
## What Changed
|
|
6
|
+
|
|
7
|
+
- **Startup grace period for gate evaluation**: Job gates (health checks, quota checks) that require HTTP endpoints are now evaluated after a configurable grace period (default 5 seconds) at startup, rather than immediately. This fixes a race condition where health-gated jobs would permanently fail because the HTTP server wasn't ready yet during the initial missed-job catch-up evaluation. Configurable via startupGraceMs in JobScheduler config. Set to 0 to disable.
|
|
8
|
+
|
|
9
|
+
- **QuotaTracker stale data handling**: When quota data is older than the staleness threshold (default 30 minutes), the tracker now returns null instead of the stale values. This triggers the existing fail-open path, allowing jobs to run when quota data is unavailable rather than blocking them with outdated percentages.
|
|
10
|
+
|
|
11
|
+
## What to Tell Your User
|
|
12
|
+
|
|
13
|
+
- **"Scheduled jobs should start running more reliably"**: If your user noticed that certain scheduled jobs never seemed to execute despite being enabled and due, that should be resolved now. The system was accidentally blocking them during startup.
|
|
14
|
+
|
|
15
|
+
- **"The system handles missing data more gracefully"**: When usage tracking data gets stale, the system now allows work to continue rather than blocking it based on outdated information.
|
|
16
|
+
|
|
17
|
+
## Summary of New Capabilities
|
|
18
|
+
|
|
19
|
+
| Capability | How to Use |
|
|
20
|
+
|-----------|-----------|
|
|
21
|
+
| Startup grace period | Automatic — 5s default delay before first gate evaluation |
|
|
22
|
+
| Stale quota fail-open | Automatic — stale data allows all jobs to proceed |
|
package/upgrades/0.28.3.md
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# Upgrade Guide — v0.28.3
|
|
2
|
-
|
|
3
|
-
<!-- bump: patch -->
|
|
4
|
-
|
|
5
|
-
## What Changed
|
|
6
|
-
|
|
7
|
-
- **activationChallenge forwarding**: The `/features/:id/transition` route handler now correctly forwards the `activationChallenge` field when transitioning feature states. Previously, the field was missing from the destructured request body and the `transition()` options, causing activation challenges to silently fail.
|
|
8
|
-
|
|
9
|
-
- **Slack session continuity**: Fixed an issue where Slack-connected sessions could lose context after compaction or recovery events. Sessions now properly restore their conversation state, preventing the "amnesia" behavior where the agent forgets the ongoing conversation.
|
|
10
|
-
|
|
11
|
-
- **Supervisor restart cascade prevention**: Added protection against runaway supervisor restart loops under high CPU load. The supervisor now tracks restart frequency and backs off exponentially when it detects a cascade pattern, preventing resource exhaustion.
|
|
12
|
-
|
|
13
|
-
- **Dashboard session names**: The dashboard now resolves session display names from Telegram topic names instead of showing raw session IDs, making it easier to identify which session is which.
|
|
14
|
-
|
|
15
|
-
- **Config path respect**: Sessions now properly honor `sessions.claudePath` and `sessions.tmuxPath` from config.json instead of always auto-detecting. This fixes environments where the auto-detected paths were wrong.
|
|
16
|
-
|
|
17
|
-
- **iMessage mention trigger**: Fixed handling of the `iMessage;-;` prefix in chatId detection so that mention trigger mode no longer incorrectly gates 1:1 conversations. Direct messages now always reach the agent regardless of mention settings.
|
|
18
|
-
|
|
19
|
-
## What to Tell Your User
|
|
20
|
-
|
|
21
|
-
- **"Feature activation should work more reliably now"**: If your user was having trouble with feature activation challenges not completing, that should be resolved. The system was accidentally dropping part of the activation handshake.
|
|
22
|
-
|
|
23
|
-
- **"Slack conversations should keep their context better"**: If your user noticed you forgetting things mid-conversation on Slack, that has been fixed. You will now maintain context even after internal recovery events.
|
|
24
|
-
|
|
25
|
-
- **"The system is more stable under heavy load"**: Under the hood, the restart behavior is smarter now. Your user does not need to do anything — things should just be more reliable.
|
|
26
|
-
|
|
27
|
-
## Summary of New Capabilities
|
|
28
|
-
|
|
29
|
-
| Capability | How to Use |
|
|
30
|
-
|-----------|-----------|
|
|
31
|
-
| activationChallenge fix | Automatic — feature transitions now forward all required fields |
|
|
32
|
-
| Slack session continuity | Automatic — sessions restore context after compaction/recovery |
|
|
33
|
-
| Supervisor stability | Automatic — cascade protection kicks in under high CPU |
|
|
34
|
-
| Config path respect | Set `sessions.claudePath` and `sessions.tmuxPath` in config.json |
|
|
35
|
-
| iMessage mention fix | Automatic — 1:1 DMs always reach the agent |
|