@dosu/seshi-client 0.16.0 → 0.18.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/README.md +1 -1
- package/dist/index.js +8 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<img src="https://raw.githubusercontent.com/dosu-ai/seshi/v0.
|
|
1
|
+
<img src="https://raw.githubusercontent.com/dosu-ai/seshi/v0.18.0/brand/glyph/seshi-glyph-badge.svg" alt="" width="64" height="64">
|
|
2
2
|
|
|
3
3
|
# @dosu/seshi-client
|
|
4
4
|
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,10 @@ async function send(transport, method, path, options = {}) {
|
|
|
36
36
|
const timeoutMs = transport.timeoutMs ?? 120000;
|
|
37
37
|
const url = new URL(`${server}${path}`);
|
|
38
38
|
for (const [key, value] of Object.entries(options.query ?? {})) {
|
|
39
|
-
if (value
|
|
39
|
+
if (Array.isArray(value))
|
|
40
|
+
for (const item of value)
|
|
41
|
+
url.searchParams.append(key, String(item));
|
|
42
|
+
else if (value !== undefined)
|
|
40
43
|
url.searchParams.set(key, String(value));
|
|
41
44
|
}
|
|
42
45
|
const headers = {
|
|
@@ -268,6 +271,10 @@ class HttpSessionDB {
|
|
|
268
271
|
agent: request.agent,
|
|
269
272
|
repo: request.repo,
|
|
270
273
|
branch: request.branch,
|
|
274
|
+
harness: request.harness,
|
|
275
|
+
agent_version: request.agent_version,
|
|
276
|
+
model: request.model,
|
|
277
|
+
label: Object.entries(request.labels ?? {}).map(([key, value]) => `${key}=${value}`),
|
|
271
278
|
source: request.source,
|
|
272
279
|
since: request.since,
|
|
273
280
|
until: request.until,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dosu/seshi-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://github.com/dosu-ai/seshi#readme",
|
|
6
6
|
"repository": {
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"node": ">=20"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@dosu/seshi-model": "0.
|
|
33
|
+
"@dosu/seshi-model": "0.18.0"
|
|
34
34
|
}
|
|
35
35
|
}
|