@securecoms/agent-bridge 0.2.0 → 0.3.1
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/dist/bin.d.ts +10 -0
- package/dist/bin.js +1804 -64
- package/dist/bin.js.pre-c1-f803007 +5795 -0
- package/dist/bin.js.pre-c3-096a9a3 +5832 -0
- package/dist/bin.js.pre-ffrebuild-b162d4a +5639 -0
- package/dist/bin.js.pre-kpheal-20260708-150924 +5531 -0
- package/dist/bin.js.pre-kppersist-20260708-152341 +5543 -0
- package/dist/bin.js.pre-p0-20260708-102415 +5196 -0
- package/dist/bin.js.pre-p1b-02f47e1 +5639 -0
- package/dist/bin.js.pre-warmfix-20260708-153705 +5613 -0
- package/dist/bin.js.pretrace-113205 +5395 -0
- package/dist/bridge-agent.d.ts +343 -0
- package/dist/decrypt-error-log-limiter.d.ts +52 -0
- package/dist/errors.d.ts +1 -1
- package/dist/index.js +1791 -61
- package/dist/index.js.pre-p0-20260708-102415 +4879 -0
- package/dist/ws-server.d.ts +5 -0
- package/package.json +3 -2
package/dist/ws-server.d.ts
CHANGED
|
@@ -18,6 +18,11 @@
|
|
|
18
18
|
* { "type":"send", channel_id, text?, a2a?, idempotency_key? } // exactly one of text | a2a
|
|
19
19
|
* { "type":"status", channel_id, state, detail? }
|
|
20
20
|
* { "type":"ack", message_id } // confirms a delivered `message` was consumed
|
|
21
|
+
* { "type":"action_begin", channel_id } // → { "type":"action_begun", run_id }
|
|
22
|
+
* { "type":"action_start", run_id, node_type, title, parent_id? } // → { "type":"action_started", node_id }
|
|
23
|
+
* { "type":"action_update", run_id, node_id, status?, detail? } // → { "type":"ok" }
|
|
24
|
+
* { "type":"action_finish", run_id, node_id, status, detail? } // → { "type":"ok" }
|
|
25
|
+
* { "type":"action_settle", run_id, result_message_id? } // → { "type":"action_settled", run_id }
|
|
21
26
|
*
|
|
22
27
|
* Inbound delivery is at-least-once. A delivered `message` is held in-flight
|
|
23
28
|
* until the agent sends a matching `ack`; if the socket drops first, the frame
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@securecoms/agent-bridge",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"@types/ws": "^8.18.1",
|
|
44
44
|
"esbuild": "0.24.0",
|
|
45
45
|
"typescript": "^5.4.0",
|
|
46
|
-
"vitest": "^2.0.0"
|
|
46
|
+
"vitest": "^2.0.0",
|
|
47
|
+
"@agentvault/connect-core": "*"
|
|
47
48
|
}
|
|
48
49
|
}
|