@mitralab.io/platform-sdk 1.8.1 → 1.8.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,25 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## 1.8.3
6
+
7
+ - Depend on `@mitralab.io/sdk-core@0.3.4`: the `notification` history item carries `source`,
8
+ `outcome`, `summary` and `detail` on top, as the live `notification` event does, with `payload`
9
+ kept; and a redial the box opens with its state no longer leaves the session `streaming` with no
10
+ `delta` and no `turnEnd`.
11
+
12
+ ## 1.8.2
13
+
14
+ - Depend on `@mitralab.io/sdk-core@0.3.3`: background work that ended reaches the agent session as
15
+ a `notification` event and a `notification` history item (`AgentTimelineItem` gains that member,
16
+ with `payload` and no `text`), tool events and items carry the tool's `title`, and the README
17
+ says a `send` without `mode` goes into the running turn.
18
+ - `NativeAgentTimelineItem` gains `kind: "notification"`, whose `payload` replaces `text`: code that
19
+ handles the known kinds and reads `item.text` in a catch-all branch has to handle it (TypeScript
20
+ says where). A patch release, as the 0.3.x core is: the runtime changes nothing for an app that
21
+ does not receive the item, and the item only comes once the box and the Copilot that send it are
22
+ live, after this release (mitra-core-sdk 0.3.3 CHANGELOG).
23
+
5
24
  ## 1.8.1
6
25
 
7
26
  - Depend on `@mitralab.io/sdk-core@0.3.2`: a message still pending when the agent session closes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mitralab.io/platform-sdk",
3
- "version": "1.8.1",
3
+ "version": "1.8.3",
4
4
  "description": "JavaScript/TypeScript SDK for building apps on the Mitra Platform",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -62,7 +62,7 @@
62
62
  "url": "https://github.com/mitralab-dev/mitra-platform-sdk/issues"
63
63
  },
64
64
  "dependencies": {
65
- "@mitralab.io/sdk-core": "0.3.2",
65
+ "@mitralab.io/sdk-core": "0.3.4",
66
66
  "mitra-interactions-sdk": "1.0.60-beta.48"
67
67
  },
68
68
  "devDependencies": {