@hachej/boring-agent 0.1.105 → 0.1.108
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/{chunk-K25PK5EC.js → chunk-3JFPS2O6.js} +1 -0
- package/dist/{chunk-JNEKOVMJ.js → chunk-6OANSUEI.js} +1 -1
- package/dist/{chunk-4IQ4HHBG.js → chunk-7XAOVFSN.js} +7 -0
- package/dist/{chunk-F2OJI2LX.js → chunk-GS4ADE34.js} +863 -358
- package/dist/{chunk-LFN45QDZ.js → chunk-KDXIXVF6.js} +5076 -3640
- package/dist/{chunk-6DRHERVK.js → chunk-MVKXLMH3.js} +44 -2
- package/dist/chunk-YTUZFKB3.js +78 -0
- package/dist/core/index.d.ts +5 -5
- package/dist/core/index.js +2 -2
- package/dist/{createHarness-GMBZZPTN.js → createHarness-AHWSC36D.js} +3 -3
- package/dist/{errors-DH7C01Pm.d.ts → errors-CEU4iujR.d.ts} +59 -4
- package/dist/{file-search-qcD5zItr.d.ts → file-search-BGUHnW9o.d.ts} +3 -3
- package/dist/front/index.d.ts +36 -7
- package/dist/front/index.js +1491 -727
- package/dist/front/styles.css +57 -0
- package/dist/{harness-Dcd08yKr.d.ts → harness-Ct0e4RWc.d.ts} +6 -3
- package/dist/{lease-DffrPrQn.d.ts → lease-nASWv2tU.d.ts} +1 -1
- package/dist/{piChatEvent-iNSXiFQq.d.ts → piChatEvent-BUWIzw5l.d.ts} +67 -36
- package/dist/{piChatSessionService-DQSQ_kWZ.d.ts → piChatSessionService-nvroRAVk.d.ts} +13 -11
- package/dist/server/agent-host/testing/gatewayConformance.d.ts +6 -5
- package/dist/server/agent-host/testing/gatewayConformance.js +57 -8
- package/dist/server/index.d.ts +167 -212
- package/dist/server/index.js +13 -9
- package/dist/server/worker/index.js +7 -7
- package/dist/shared/index.d.ts +34 -28
- package/dist/shared/index.js +8 -8
- package/dist/{types-BTsdaAQ2.d.ts → types-B7-PN5jV.d.ts} +47 -14
- package/docs/AGENT_GATEWAY_V0.md +40 -2
- package/docs/ERROR_CODES.md +1 -0
- package/docs/README.md +1 -0
- package/docs/SESSION_IDENTITY.md +91 -0
- package/docs/tools.md +4 -0
- package/package.json +11 -10
- package/dist/chunk-WSQ5QNIY.js +0 -18
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
// src/shared/session.ts
|
|
2
2
|
var SAFE_NATIVE_SESSION_ID = /^[a-zA-Z0-9_-]+(?:\.[a-zA-Z0-9_-]+)*$/;
|
|
3
|
+
function compareSessionOrder(left, right) {
|
|
4
|
+
return right[0] - left[0] || compareSessionIdentity(left[1], right[1]) || compareSessionIdentity(left[2], right[2]);
|
|
5
|
+
}
|
|
6
|
+
function compareSessionIdentity(left, right) {
|
|
7
|
+
return left < right ? -1 : left > right ? 1 : 0;
|
|
8
|
+
}
|
|
3
9
|
|
|
4
10
|
// src/shared/telemetry.ts
|
|
5
11
|
var noopTelemetry = {
|
|
@@ -16,6 +22,7 @@ function safeCapture(telemetry, event) {
|
|
|
16
22
|
|
|
17
23
|
export {
|
|
18
24
|
SAFE_NATIVE_SESSION_ID,
|
|
25
|
+
compareSessionOrder,
|
|
19
26
|
noopTelemetry,
|
|
20
27
|
safeCapture
|
|
21
28
|
};
|