instar 0.26.4 → 0.26.6

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.
Files changed (44) hide show
  1. package/README.md +61 -7
  2. package/dist/commands/server.d.ts.map +1 -1
  3. package/dist/commands/server.js +156 -3
  4. package/dist/commands/server.js.map +1 -1
  5. package/dist/core/SessionManager.d.ts +31 -0
  6. package/dist/core/SessionManager.d.ts.map +1 -1
  7. package/dist/core/SessionManager.js +164 -20
  8. package/dist/core/SessionManager.js.map +1 -1
  9. package/dist/core/TopicResumeMap.d.ts +5 -0
  10. package/dist/core/TopicResumeMap.d.ts.map +1 -1
  11. package/dist/core/TopicResumeMap.js +7 -0
  12. package/dist/core/TopicResumeMap.js.map +1 -1
  13. package/dist/core/types.d.ts +0 -4
  14. package/dist/core/types.d.ts.map +1 -1
  15. package/dist/core/types.js.map +1 -1
  16. package/dist/messaging/imessage/IMessageAdapter.d.ts +16 -0
  17. package/dist/messaging/imessage/IMessageAdapter.d.ts.map +1 -1
  18. package/dist/messaging/imessage/IMessageAdapter.js +60 -2
  19. package/dist/messaging/imessage/IMessageAdapter.js.map +1 -1
  20. package/dist/messaging/imessage/types.d.ts +11 -0
  21. package/dist/messaging/imessage/types.d.ts.map +1 -1
  22. package/dist/messaging/slack/SlackAdapter.d.ts.map +1 -1
  23. package/dist/messaging/slack/SlackAdapter.js +46 -12
  24. package/dist/messaging/slack/SlackAdapter.js.map +1 -1
  25. package/dist/scaffold/templates.d.ts +1 -1
  26. package/dist/scaffold/templates.d.ts.map +1 -1
  27. package/dist/scaffold/templates.js +32 -1
  28. package/dist/scaffold/templates.js.map +1 -1
  29. package/dist/server/AgentServer.d.ts +1 -0
  30. package/dist/server/AgentServer.d.ts.map +1 -1
  31. package/dist/server/AgentServer.js +1 -0
  32. package/dist/server/AgentServer.js.map +1 -1
  33. package/dist/server/routes.d.ts +1 -0
  34. package/dist/server/routes.d.ts.map +1 -1
  35. package/dist/server/routes.js +155 -0
  36. package/dist/server/routes.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/data/builtin-manifest.json +65 -49
  39. package/src/templates/hooks/intercept-imsg-send.js +68 -0
  40. package/src/templates/scripts/imessage-reply.sh +130 -0
  41. package/upgrades/0.26.5.md +15 -0
  42. package/upgrades/0.26.6.md +23 -0
  43. package/upgrades/NEXT.md +0 -35
  44. /package/.claude/skills/secret-setup/{SKILL.md → skill.md} +0 -0
@@ -0,0 +1,23 @@
1
+ # Upgrade Guide — vNEXT
2
+
3
+ <!-- bump: patch -->
4
+ <!-- Valid values: patch, minor, major -->
5
+ <!-- patch = bug fixes, refactors, test additions, doc updates -->
6
+ <!-- minor = new features, new APIs, new capabilities (backwards-compatible) -->
7
+ <!-- major = breaking changes to existing APIs or behavior -->
8
+
9
+ ## What Changed
10
+
11
+ **Fix Slack session resume** — The resume heartbeat (60s interval) was saving Slack channel resume UUIDs to the wrong file. It wrote to `topic-resume-map.json` using synthetic numeric IDs, but the Slack message handler reads from `slack-channel-resume-map.json` using real channel IDs. The heartbeat now writes to both files, ensuring that when a Slack session dies, the next message in that channel correctly resumes the previous session.
12
+
13
+ Also fixed a stale unit test for `findUuidForSession()` and added a public `jsonlExistsPublic()` method to `TopicResumeMap` for external UUID validation.
14
+
15
+ ## What to Tell Your User
16
+
17
+ - **Session resume in Slack**: "When a conversation session stops in a Slack channel, the next message you send will now properly pick up where you left off instead of starting fresh. This was a bug where the resume data was being saved in the wrong place."
18
+
19
+ ## Summary of New Capabilities
20
+
21
+ | Capability | How to Use |
22
+ |-----------|-----------|
23
+ | Reliable Slack session resume | Automatic — sessions resume on next message after dying |
package/upgrades/NEXT.md DELETED
@@ -1,35 +0,0 @@
1
- # Upgrade Guide — vNEXT
2
-
3
- <!-- bump: patch -->
4
- <!-- Valid values: patch, minor, major -->
5
- <!-- patch = bug fixes, refactors, test additions, doc updates -->
6
- <!-- minor = new features, new APIs, new capabilities (backwards-compatible) -->
7
- <!-- major = breaking changes to existing APIs or behavior -->
8
-
9
- ## What Changed
10
-
11
- <!-- Describe what changed technically. What new features, APIs, behavioral changes? -->
12
- <!-- Write this for the AGENT — they need to understand the system deeply. -->
13
-
14
- ## What to Tell Your User
15
-
16
- <!-- Write talking points the agent should relay to their user. -->
17
- <!-- This should be warm, conversational, user-facing — not a changelog. -->
18
- <!-- Focus on what THEY can now do, not internal plumbing. -->
19
- <!-- -->
20
- <!-- PROHIBITED in this section (will fail validation): -->
21
- <!-- camelCase config keys: silentReject, maxRetries, telegramNotify -->
22
- <!-- Inline code backtick references like silentReject: false -->
23
- <!-- Fenced code blocks -->
24
- <!-- Instructions to edit files or run commands -->
25
- <!-- -->
26
- <!-- CORRECT style: "I can turn that on for you" not "set X to false" -->
27
- <!-- The agent relays this to their user — keep it human. -->
28
-
29
- - **[Feature name]**: "[Brief, friendly description of what this means for the user]"
30
-
31
- ## Summary of New Capabilities
32
-
33
- | Capability | How to Use |
34
- |-----------|-----------|
35
- | [Capability] | [Endpoint, command, or "automatic"] |