@meshagent/meshagent-ts-auth 0.39.5 → 0.39.7
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 +9 -0
- package/dist/browser/ma-auth.global.js +31 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [0.39.7]
|
|
2
|
+
- Updated Meshagent JS/TS package manifests so inter-package dependencies are aligned to the new Meshagent version (`@meshagent/*` packages now depend on the updated `^0.39.6` versions).
|
|
3
|
+
|
|
4
|
+
## [0.39.6]
|
|
5
|
+
- Chat thread message sending now supports an “agent messages” mode: it selects participants that advertise agent-message support and sends `agent-message` payloads using `meshagent.agent.turn.start` / `meshagent.agent.turn.steer` types (including turn/thread scoping), with Promise-based sending and cancellation when recipients never materialize.
|
|
6
|
+
- Chat UI/logic now determines the correct outbound message type (chat vs steer) and turn context from thread status, and passes that into message sending.
|
|
7
|
+
- DatasetsClient now adds strongly typed `importFromStorage` and `exportToStorage` APIs with dataset storage format + import mode options, optional `namespace`/`branch` scoping, and `batch_size` support that is omitted when unset.
|
|
8
|
+
- Unit tests were updated to verify the new import/export request payload shapes and defaults.
|
|
9
|
+
|
|
1
10
|
## [0.39.5]
|
|
2
11
|
- Stability
|
|
3
12
|
|
|
@@ -13002,11 +13002,16 @@ ${err.toString()}`);
|
|
|
13002
13002
|
throw this.unexpectedResponseError("list");
|
|
13003
13003
|
}
|
|
13004
13004
|
const nameRaw = entry["name"];
|
|
13005
|
+
const portsRaw = entry["ports"];
|
|
13005
13006
|
const serviceIdRaw = entry["service_id"];
|
|
13007
|
+
if (!Array.isArray(portsRaw) || !portsRaw.every((port) => typeof port === "number" && Number.isInteger(port))) {
|
|
13008
|
+
throw this.unexpectedResponseError("list");
|
|
13009
|
+
}
|
|
13006
13010
|
items.push({
|
|
13007
13011
|
id: id2,
|
|
13008
13012
|
image,
|
|
13009
13013
|
name: typeof nameRaw === "string" ? nameRaw : void 0,
|
|
13014
|
+
ports: portsRaw,
|
|
13010
13015
|
startedBy: {
|
|
13011
13016
|
id: startedById,
|
|
13012
13017
|
name: startedByName
|
|
@@ -30557,6 +30562,32 @@ return true;`);
|
|
|
30557
30562
|
}
|
|
30558
30563
|
});
|
|
30559
30564
|
}
|
|
30565
|
+
async importFromStorage({ table, path, mode = "create", format = "auto", on, sheet, batchSize, namespace, branch }) {
|
|
30566
|
+
const input = {
|
|
30567
|
+
table,
|
|
30568
|
+
path,
|
|
30569
|
+
mode,
|
|
30570
|
+
format,
|
|
30571
|
+
on: on ?? null,
|
|
30572
|
+
sheet: sheet ?? null,
|
|
30573
|
+
namespace: namespace ?? null,
|
|
30574
|
+
branch: branch ?? null
|
|
30575
|
+
};
|
|
30576
|
+
if (batchSize != null) {
|
|
30577
|
+
input.batch_size = batchSize;
|
|
30578
|
+
}
|
|
30579
|
+
await this.invoke("import_storage", input);
|
|
30580
|
+
}
|
|
30581
|
+
async exportToStorage({ table, path, format, namespace, branch, version: version2 }) {
|
|
30582
|
+
await this.invoke("export_storage", {
|
|
30583
|
+
table,
|
|
30584
|
+
path,
|
|
30585
|
+
format,
|
|
30586
|
+
namespace: namespace ?? null,
|
|
30587
|
+
branch: branch ?? null,
|
|
30588
|
+
version: version2 ?? null
|
|
30589
|
+
});
|
|
30590
|
+
}
|
|
30560
30591
|
async dropIndex({ table, name, namespace, branch }) {
|
|
30561
30592
|
await this.room.invoke({
|
|
30562
30593
|
toolkit: "dataset",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshagent/meshagent-ts-auth",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.7",
|
|
4
4
|
"description": "Meshagent Typescript Auth",
|
|
5
5
|
"homepage": "https://github.com/meshagent/meshagent-ts-auth",
|
|
6
6
|
"scripts": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@meshagent/meshagent": "^0.39.
|
|
42
|
+
"@meshagent/meshagent": "^0.39.7",
|
|
43
43
|
"typescript": "^5.8.3"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|