@robota-sdk/agent-transport-http 3.0.0-beta.85 → 3.0.0-beta.87
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 +19 -0
- package/package.json +12 -13
- package/src/__tests__/routes.test.ts +1 -1
- package/src/__tests__/submit-stream.test.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @robota-sdk/agent-transport-http
|
|
2
2
|
|
|
3
|
+
## 3.0.0-beta.87
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Release the migrated Robota product with its public SDK namespace, robota command, compatible SDK exports, internal product configuration, and verified CLI startup and delivery corrections.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- Updated dependencies [7d9cc66]
|
|
10
|
+
- @robota-sdk/agent-interface-session@3.0.0-beta.87
|
|
11
|
+
- @robota-sdk/agent-interface-transport@3.0.0-beta.87
|
|
12
|
+
- @robota-sdk/agent-transport@3.0.0-beta.87
|
|
13
|
+
|
|
14
|
+
## 3.0.0-beta.86
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- @robota-sdk/agent-interface-session@3.0.0-beta.86
|
|
19
|
+
- @robota-sdk/agent-interface-transport@3.0.0-beta.86
|
|
20
|
+
- @robota-sdk/agent-transport@3.0.0-beta.86
|
|
21
|
+
|
|
3
22
|
## 3.0.0-beta.85
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@robota-sdk/agent-transport-http",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.87",
|
|
4
4
|
"description": "HTTP (Hono) transport for the Robota SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/node/index.js",
|
|
@@ -31,15 +31,6 @@
|
|
|
31
31
|
},
|
|
32
32
|
"./package.json": "./package.json"
|
|
33
33
|
},
|
|
34
|
-
"repository": {
|
|
35
|
-
"type": "git",
|
|
36
|
-
"url": "https://github.com/woojubb/robota.git",
|
|
37
|
-
"directory": "packages/agent-transport-http"
|
|
38
|
-
},
|
|
39
|
-
"homepage": "https://docs.robota.io/en/packages/agent-transport-http/",
|
|
40
|
-
"bugs": {
|
|
41
|
-
"url": "https://github.com/woojubb/robota/issues"
|
|
42
|
-
},
|
|
43
34
|
"engines": {
|
|
44
35
|
"node": ">=22.12.0"
|
|
45
36
|
},
|
|
@@ -50,9 +41,9 @@
|
|
|
50
41
|
],
|
|
51
42
|
"dependencies": {
|
|
52
43
|
"hono": "^4.12.32",
|
|
53
|
-
"@robota-sdk/agent-interface-session": "3.0.0-beta.
|
|
54
|
-
"@robota-sdk/agent-interface-transport": "3.0.0-beta.
|
|
55
|
-
"@robota-sdk/agent-transport": "3.0.0-beta.
|
|
44
|
+
"@robota-sdk/agent-interface-session": "3.0.0-beta.87",
|
|
45
|
+
"@robota-sdk/agent-interface-transport": "3.0.0-beta.87",
|
|
46
|
+
"@robota-sdk/agent-transport": "3.0.0-beta.87"
|
|
56
47
|
},
|
|
57
48
|
"devDependencies": {
|
|
58
49
|
"rimraf": "^5.0.10",
|
|
@@ -67,6 +58,14 @@
|
|
|
67
58
|
"volta": {
|
|
68
59
|
"extends": "../../package.json"
|
|
69
60
|
},
|
|
61
|
+
"repository": {
|
|
62
|
+
"type": "git",
|
|
63
|
+
"url": "https://github.com/woojubb/robota"
|
|
64
|
+
},
|
|
65
|
+
"bugs": {
|
|
66
|
+
"url": "https://github.com/woojubb/robota/issues"
|
|
67
|
+
},
|
|
68
|
+
"homepage": "https://robota.io/",
|
|
70
69
|
"scripts": {
|
|
71
70
|
"build": "rimraf dist && tsdown",
|
|
72
71
|
"build:js": "pnpm run build",
|
|
@@ -1020,7 +1020,7 @@ describe('a session that builds itself in the background', () => {
|
|
|
1020
1020
|
});
|
|
1021
1021
|
|
|
1022
1022
|
it('answers 500 without the reason when the session fails to start', async () => {
|
|
1023
|
-
const failed = Promise.reject(new Error('settings at /home/me/.
|
|
1023
|
+
const failed = Promise.reject(new Error('settings at /home/me/.fixture-state are broken'));
|
|
1024
1024
|
const session = createStartingSession(failed);
|
|
1025
1025
|
|
|
1026
1026
|
const response = await submit(session);
|
|
@@ -39,7 +39,7 @@ describe('what a client learns from a stream that failed after it opened', () =>
|
|
|
39
39
|
// that the stream failed, which is the part it can act on.
|
|
40
40
|
const { stream, written } = fakeStream();
|
|
41
41
|
|
|
42
|
-
await reportStreamFailure(new Error('ENOENT /home/op/.
|
|
42
|
+
await reportStreamFailure(new Error('ENOENT /home/op/.fixture-state/providers/key.json'), stream);
|
|
43
43
|
|
|
44
44
|
expect(written).toHaveLength(1);
|
|
45
45
|
expect(written[0].data).not.toContain('key.json');
|
|
@@ -63,7 +63,7 @@ describe('a failure in the callback never escapes to the runner', () => {
|
|
|
63
63
|
const detail = vi.fn();
|
|
64
64
|
const session = createTestInteractiveSession({
|
|
65
65
|
on: ((event: string) => {
|
|
66
|
-
if (event === 'text_delta') throw new Error('ENOENT /home/op/.
|
|
66
|
+
if (event === 'text_delta') throw new Error('ENOENT /home/op/.fixture-state/key.json');
|
|
67
67
|
}) as IInteractiveSession['on'],
|
|
68
68
|
});
|
|
69
69
|
const { stream, written } = fakeStream();
|