@openhoo/hoopilot 2.1.7 → 2.1.9

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/codexx.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  buildCodexxInvocation,
4
4
  main,
5
5
  verifyCodexxModel
6
- } from "./chunk-2GLKVNAA.js";
6
+ } from "./chunk-FH6WSFOC.js";
7
7
  export {
8
8
  buildCodexxInvocation,
9
9
  main,
package/dist/index.d.ts CHANGED
@@ -50,6 +50,7 @@ type LogFields = Record<string, unknown>;
50
50
  type LogFormat = "json" | "pretty";
51
51
  type LogLevel = "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "silent";
52
52
  type StreamingProxyMode = "auto" | "buffer" | "live";
53
+ type UsageAccountingMode = "basic" | "full" | "off";
53
54
  interface LogMethod {
54
55
  (message: string): void;
55
56
  (fields: LogFields, message: string): void;
@@ -89,6 +90,7 @@ interface CopilotAccess {
89
90
  token: string;
90
91
  }
91
92
  interface HoopilotServerOptions extends CopilotAuthOptions {
93
+ accessLog?: boolean;
92
94
  allowUnauthenticated?: boolean;
93
95
  apiKey?: string;
94
96
  host?: string;
@@ -98,6 +100,7 @@ interface HoopilotServerOptions extends CopilotAuthOptions {
98
100
  metrics?: MetricsRegistry;
99
101
  port?: number;
100
102
  streamingProxyMode?: StreamingProxyMode | (string & {});
103
+ usageAccountingMode?: UsageAccountingMode | (string & {});
101
104
  }
102
105
  interface StartedHoopilotServer {
103
106
  server: Bun.Server<undefined>;