@riocrypto/common 1.0.2727 → 1.0.2729

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/build/index.d.ts CHANGED
@@ -525,6 +525,11 @@ export * from "./types/compliance-rule-set";
525
525
  export * from "./types/compliance-session";
526
526
  export * from "./types/compliance-session-status";
527
527
  export * from "./types/compliance-user-cache";
528
+ export * from "./types/internal-support-session-status";
529
+ export * from "./types/internal-support-chat-kind";
530
+ export * from "./types/internal-support-audit-type";
531
+ export * from "./types/internal-support-security-signal-type";
532
+ export * from "./types/internal-support-case-confidence";
528
533
  export * from "./types/position";
529
534
  export * from "./types/residual";
530
535
  export * from "./types/liquidity-sourcing-plan";
package/build/index.js CHANGED
@@ -541,6 +541,11 @@ __exportStar(require("./types/compliance-rule-set"), exports);
541
541
  __exportStar(require("./types/compliance-session"), exports);
542
542
  __exportStar(require("./types/compliance-session-status"), exports);
543
543
  __exportStar(require("./types/compliance-user-cache"), exports);
544
+ __exportStar(require("./types/internal-support-session-status"), exports);
545
+ __exportStar(require("./types/internal-support-chat-kind"), exports);
546
+ __exportStar(require("./types/internal-support-audit-type"), exports);
547
+ __exportStar(require("./types/internal-support-security-signal-type"), exports);
548
+ __exportStar(require("./types/internal-support-case-confidence"), exports);
544
549
  __exportStar(require("./types/position"), exports);
545
550
  __exportStar(require("./types/residual"), exports);
546
551
  __exportStar(require("./types/liquidity-sourcing-plan"), exports);
@@ -7,5 +7,6 @@ export declare enum AdminAuthSpecialPermission {
7
7
  ModifyCryptoAddresses = "modifyCryptoAddresses",
8
8
  ModifyTeamMembers = "modifyTeamMembers",
9
9
  ModifyOnboardingStatus = "modifyOnboardingStatus",
10
- UseDexter = "useDexter"
10
+ UseDexter = "useDexter",
11
+ UseInternalSupportBot = "useInternalSupportBot"
11
12
  }
@@ -12,4 +12,5 @@ var AdminAuthSpecialPermission;
12
12
  AdminAuthSpecialPermission["ModifyTeamMembers"] = "modifyTeamMembers";
13
13
  AdminAuthSpecialPermission["ModifyOnboardingStatus"] = "modifyOnboardingStatus";
14
14
  AdminAuthSpecialPermission["UseDexter"] = "useDexter";
15
+ AdminAuthSpecialPermission["UseInternalSupportBot"] = "useInternalSupportBot";
15
16
  })(AdminAuthSpecialPermission = exports.AdminAuthSpecialPermission || (exports.AdminAuthSpecialPermission = {}));
@@ -0,0 +1,10 @@
1
+ export declare enum InternalSupportAuditType {
2
+ SessionCreated = "sessionCreated",
3
+ Question = "question",
4
+ ToolCall = "toolCall",
5
+ ToolResult = "toolResult",
6
+ ToolError = "toolError",
7
+ Answer = "answer",
8
+ Error = "error",
9
+ Stopped = "stopped"
10
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InternalSupportAuditType = void 0;
4
+ var InternalSupportAuditType;
5
+ (function (InternalSupportAuditType) {
6
+ InternalSupportAuditType["SessionCreated"] = "sessionCreated";
7
+ InternalSupportAuditType["Question"] = "question";
8
+ InternalSupportAuditType["ToolCall"] = "toolCall";
9
+ InternalSupportAuditType["ToolResult"] = "toolResult";
10
+ InternalSupportAuditType["ToolError"] = "toolError";
11
+ InternalSupportAuditType["Answer"] = "answer";
12
+ InternalSupportAuditType["Error"] = "error";
13
+ InternalSupportAuditType["Stopped"] = "stopped";
14
+ })(InternalSupportAuditType = exports.InternalSupportAuditType || (exports.InternalSupportAuditType = {}));
@@ -0,0 +1 @@
1
+ export type InternalSupportCaseConfidence = "low" | "medium" | "high";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export declare enum InternalSupportChatKind {
2
+ User = "user",
3
+ Assistant = "assistant",
4
+ Tool = "tool",
5
+ System = "system"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InternalSupportChatKind = void 0;
4
+ var InternalSupportChatKind;
5
+ (function (InternalSupportChatKind) {
6
+ InternalSupportChatKind["User"] = "user";
7
+ InternalSupportChatKind["Assistant"] = "assistant";
8
+ InternalSupportChatKind["Tool"] = "tool";
9
+ InternalSupportChatKind["System"] = "system";
10
+ })(InternalSupportChatKind = exports.InternalSupportChatKind || (exports.InternalSupportChatKind = {}));
@@ -0,0 +1,11 @@
1
+ export declare enum InternalSupportSecuritySignalType {
2
+ ProbingQuestion = "probingQuestion",
3
+ ToolRefused = "toolRefused",
4
+ OutputGuardRedaction = "outputGuardRedaction",
5
+ HeavyRedaction = "heavyRedaction",
6
+ InjectionMarker = "injectionMarker",
7
+ ScopeProbe = "scopeProbe",
8
+ RateLimited = "rateLimited",
9
+ BulkLookup = "bulkLookup",
10
+ DailyCapReached = "dailyCapReached"
11
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InternalSupportSecuritySignalType = void 0;
4
+ var InternalSupportSecuritySignalType;
5
+ (function (InternalSupportSecuritySignalType) {
6
+ // The question itself asked for secrets, credentials or bulk PII.
7
+ InternalSupportSecuritySignalType["ProbingQuestion"] = "probingQuestion";
8
+ // A tool refused a repo, path, namespace or collection outside policy.
9
+ InternalSupportSecuritySignalType["ToolRefused"] = "toolRefused";
10
+ // The final answer contained something the output guard had to mask.
11
+ InternalSupportSecuritySignalType["OutputGuardRedaction"] = "outputGuardRedaction";
12
+ // A single tool result needed an unusual number of redactions.
13
+ InternalSupportSecuritySignalType["HeavyRedaction"] = "heavyRedaction";
14
+ // Raw tool output contained instruction-like text aimed at the model.
15
+ InternalSupportSecuritySignalType["InjectionMarker"] = "injectionMarker";
16
+ // Someone asked for data they are not entitled to (other admins' sessions).
17
+ InternalSupportSecuritySignalType["ScopeProbe"] = "scopeProbe";
18
+ // The request rate limiter fired.
19
+ InternalSupportSecuritySignalType["RateLimited"] = "rateLimited";
20
+ // Many distinct users or orders resolved by one admin in a short time.
21
+ InternalSupportSecuritySignalType["BulkLookup"] = "bulkLookup";
22
+ // A daily question or token cap was reached.
23
+ InternalSupportSecuritySignalType["DailyCapReached"] = "dailyCapReached";
24
+ })(InternalSupportSecuritySignalType = exports.InternalSupportSecuritySignalType || (exports.InternalSupportSecuritySignalType = {}));
@@ -0,0 +1,5 @@
1
+ export declare enum InternalSupportSessionStatus {
2
+ Idle = "idle",
3
+ Thinking = "thinking",
4
+ Failed = "failed"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InternalSupportSessionStatus = void 0;
4
+ var InternalSupportSessionStatus;
5
+ (function (InternalSupportSessionStatus) {
6
+ InternalSupportSessionStatus["Idle"] = "idle";
7
+ InternalSupportSessionStatus["Thinking"] = "thinking";
8
+ InternalSupportSessionStatus["Failed"] = "failed";
9
+ })(InternalSupportSessionStatus = exports.InternalSupportSessionStatus || (exports.InternalSupportSessionStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.2727",
3
+ "version": "1.0.2729",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",