@gemies/sdk 3.0.1 → 3.1.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @gemies/sdk
2
2
 
3
+ ## 3.1.0
4
+
5
+ - **New: `AGENT_ROUTES` and `threadKey` from `@gemies/sdk/runtime`**, the routes and cache key of a
6
+ gemie's thread by its address (`{ handle }` or `{ gemieId }`), so a host opening a thread by id
7
+ reads the same path and invalidates the same key as `GemieChatContent`. A gemie with no Oxy
8
+ account (an external agent, Gemies ADR 0036) has no handle: its thread is addressed by its id.
9
+
3
10
  ## 3.0.1
4
11
 
5
12
  - **A gemie's account colour may be any hex, not only a Bloom preset key.** `readAgentCharacter`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gemies/sdk",
3
- "version": "3.0.1",
3
+ "version": "3.1.0",
4
4
  "description": "The Gemies SDK: the conversation runtime, chat UI, voice calls and dictation for Oxy apps that talk to a gemie",
5
5
  "main": "src/index.ts",
6
6
  "react-native": "src/index.ts",
@@ -124,6 +124,7 @@ export { useThreadHistory } from './use-thread-history';
124
124
  export { useThreadSearch, useThreadWindow } from './use-thread-search';
125
125
  export { useGemieThread } from './use-gemie-thread';
126
126
  export type { GemieThreadInfo } from './use-gemie-thread';
127
+ export { AGENT_ROUTES, threadKey } from './routes';
127
128
  export type { GemieThreadAddress } from './routes';
128
129
  export { useStartConversation } from './use-start-conversation';
129
130
  export type { StartConversationOptions } from './use-start-conversation';