@mitralab.io/functions-sdk 0.2.10 → 0.3.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
@@ -2,6 +2,19 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## 0.3.0
6
+
7
+ - Depend on `@mitralab.io/sdk-core@0.3.0`, the agent session that follows T3. A message sent while
8
+ a reply runs no longer waits in a local queue of the SDK: it goes to the box at once with its
9
+ `clientMessageId` and no mode by default, and T3 decides, steering it into the running turn or
10
+ queueing it. `send(prompt, { mode: "queue" | "steer" })` asks on purpose, and `send` returns the
11
+ message's `clientMessageId`. `session.history` is the live conversation in the box's order, asked
12
+ with `kinds=all`, with a tool's call and result as two items, as in 0.2.13, the question as the
13
+ person wrote it, and T3's approvals and mid-turn questions where they came. `queue` mirrors T3's
14
+ queue, with `steerQueueItem`, `resumeQueue` and `backgroundTasks`. The history keeps the 0.2.13
15
+ format; against an old box the new functions show nothing.
16
+ - Pin the SDK-PARITY-001 corpus to Core `0.3.0` with its digest and immutable source commit.
17
+
5
18
  ## 0.2.10
6
19
 
7
20
  - Depend on `@mitralab.io/sdk-core@0.2.14`: `apps.update()` (and `currentApp.update()`) takes
@@ -0,0 +1,15 @@
1
+ {
2
+ "contract": "SDK-PARITY-001",
3
+ "version": "0.3.0",
4
+ "dependency": {
5
+ "package": "@mitralab.io/sdk-core",
6
+ "version": "0.3.0",
7
+ "contractPath": "contracts/v0.3.0/sdk-parity.json"
8
+ },
9
+ "sha256": "dc7dceb99e29810dfd2cf30d76ec80ea8c5d6dbf5c8dac3038f58a2d36cbc793",
10
+ "source": {
11
+ "repository": "https://github.com/mitralab-dev/mitra-core-sdk",
12
+ "commit": "ff356e49af09aa238beaf94043680226edb9de66",
13
+ "path": "contracts/v0.3.0/sdk-parity.json"
14
+ }
15
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mitralab.io/functions-sdk",
3
- "version": "0.2.10",
3
+ "version": "0.3.0",
4
4
  "description": "JavaScript and TypeScript SDK for Mitra Server Functions",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -67,7 +67,7 @@
67
67
  "node": ">=18.0.0"
68
68
  },
69
69
  "dependencies": {
70
- "@mitralab.io/sdk-core": "0.2.14",
70
+ "@mitralab.io/sdk-core": "0.3.0",
71
71
  "mitra-sdk": "1.0.63-beta.42"
72
72
  },
73
73
  "devDependencies": {