opik 2.0.63 → 2.0.64
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-CSCAOGDC.js +404 -0
- package/dist/index.cjs +36 -36
- package/dist/index.d.cts +40 -0
- package/dist/index.d.ts +40 -0
- package/dist/index.js +1 -1
- package/dist/{suite-VW44JHBV.js → suite-FFCII3V7.js} +1 -1
- package/package.json +1 -1
- package/dist/chunk-LOMLB2OW.js +0 -404
package/dist/index.d.cts
CHANGED
|
@@ -1633,6 +1633,19 @@ interface AuthorizeRequest {
|
|
|
1633
1633
|
state?: string;
|
|
1634
1634
|
}
|
|
1635
1635
|
|
|
1636
|
+
/**
|
|
1637
|
+
* @example
|
|
1638
|
+
* {
|
|
1639
|
+
* clientName: "client_name",
|
|
1640
|
+
* redirectUris: ["redirect_uris"]
|
|
1641
|
+
* }
|
|
1642
|
+
*/
|
|
1643
|
+
interface ClientRegistrationRequest {
|
|
1644
|
+
clientName: string;
|
|
1645
|
+
redirectUris: string[];
|
|
1646
|
+
logoUri?: string;
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1636
1649
|
/**
|
|
1637
1650
|
* @example
|
|
1638
1651
|
* {
|
|
@@ -4164,6 +4177,17 @@ declare const CheckResult: {
|
|
|
4164
4177
|
};
|
|
4165
4178
|
type CheckResult = (typeof CheckResult)[keyof typeof CheckResult];
|
|
4166
4179
|
|
|
4180
|
+
interface ClientRegistrationResponse {
|
|
4181
|
+
clientId?: string;
|
|
4182
|
+
clientIdIssuedAt?: number;
|
|
4183
|
+
clientName?: string;
|
|
4184
|
+
logoUri?: string;
|
|
4185
|
+
redirectUris?: string[];
|
|
4186
|
+
tokenEndpointAuthMethod?: string;
|
|
4187
|
+
grantTypes?: string[];
|
|
4188
|
+
responseTypes?: string[];
|
|
4189
|
+
}
|
|
4190
|
+
|
|
4167
4191
|
interface Column {
|
|
4168
4192
|
name?: string;
|
|
4169
4193
|
types?: ColumnTypesItem[];
|
|
@@ -10291,6 +10315,22 @@ declare class McpOAuthClient {
|
|
|
10291
10315
|
*/
|
|
10292
10316
|
getOAuthAuthorizationServerMetadata(requestOptions?: McpOAuthClient.RequestOptions): HttpResponsePromise<AuthorizationServerMetadata>;
|
|
10293
10317
|
private __getOAuthAuthorizationServerMetadata;
|
|
10318
|
+
/**
|
|
10319
|
+
* OAuth 2.0 Dynamic Client Registration (RFC 7591). Registers a public client for the MCP OAuth flow; throttled per source IP
|
|
10320
|
+
*
|
|
10321
|
+
* @param {OpikApi.ClientRegistrationRequest} request
|
|
10322
|
+
* @param {McpOAuthClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
10323
|
+
*
|
|
10324
|
+
* @throws {@link OpikApi.TooManyRequestsError}
|
|
10325
|
+
*
|
|
10326
|
+
* @example
|
|
10327
|
+
* await client.mcpOAuth.registerOAuthClient({
|
|
10328
|
+
* clientName: "client_name",
|
|
10329
|
+
* redirectUris: ["redirect_uris"]
|
|
10330
|
+
* })
|
|
10331
|
+
*/
|
|
10332
|
+
registerOAuthClient(request: ClientRegistrationRequest, requestOptions?: McpOAuthClient.RequestOptions): HttpResponsePromise<ClientRegistrationResponse>;
|
|
10333
|
+
private __registerOAuthClient;
|
|
10294
10334
|
/**
|
|
10295
10335
|
* OAuth 2.0 token revocation endpoint (RFC 7009). Always returns 200, whether the token was revoked, never existed, or was invalid
|
|
10296
10336
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -1633,6 +1633,19 @@ interface AuthorizeRequest {
|
|
|
1633
1633
|
state?: string;
|
|
1634
1634
|
}
|
|
1635
1635
|
|
|
1636
|
+
/**
|
|
1637
|
+
* @example
|
|
1638
|
+
* {
|
|
1639
|
+
* clientName: "client_name",
|
|
1640
|
+
* redirectUris: ["redirect_uris"]
|
|
1641
|
+
* }
|
|
1642
|
+
*/
|
|
1643
|
+
interface ClientRegistrationRequest {
|
|
1644
|
+
clientName: string;
|
|
1645
|
+
redirectUris: string[];
|
|
1646
|
+
logoUri?: string;
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1636
1649
|
/**
|
|
1637
1650
|
* @example
|
|
1638
1651
|
* {
|
|
@@ -4164,6 +4177,17 @@ declare const CheckResult: {
|
|
|
4164
4177
|
};
|
|
4165
4178
|
type CheckResult = (typeof CheckResult)[keyof typeof CheckResult];
|
|
4166
4179
|
|
|
4180
|
+
interface ClientRegistrationResponse {
|
|
4181
|
+
clientId?: string;
|
|
4182
|
+
clientIdIssuedAt?: number;
|
|
4183
|
+
clientName?: string;
|
|
4184
|
+
logoUri?: string;
|
|
4185
|
+
redirectUris?: string[];
|
|
4186
|
+
tokenEndpointAuthMethod?: string;
|
|
4187
|
+
grantTypes?: string[];
|
|
4188
|
+
responseTypes?: string[];
|
|
4189
|
+
}
|
|
4190
|
+
|
|
4167
4191
|
interface Column {
|
|
4168
4192
|
name?: string;
|
|
4169
4193
|
types?: ColumnTypesItem[];
|
|
@@ -10291,6 +10315,22 @@ declare class McpOAuthClient {
|
|
|
10291
10315
|
*/
|
|
10292
10316
|
getOAuthAuthorizationServerMetadata(requestOptions?: McpOAuthClient.RequestOptions): HttpResponsePromise<AuthorizationServerMetadata>;
|
|
10293
10317
|
private __getOAuthAuthorizationServerMetadata;
|
|
10318
|
+
/**
|
|
10319
|
+
* OAuth 2.0 Dynamic Client Registration (RFC 7591). Registers a public client for the MCP OAuth flow; throttled per source IP
|
|
10320
|
+
*
|
|
10321
|
+
* @param {OpikApi.ClientRegistrationRequest} request
|
|
10322
|
+
* @param {McpOAuthClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
10323
|
+
*
|
|
10324
|
+
* @throws {@link OpikApi.TooManyRequestsError}
|
|
10325
|
+
*
|
|
10326
|
+
* @example
|
|
10327
|
+
* await client.mcpOAuth.registerOAuthClient({
|
|
10328
|
+
* clientName: "client_name",
|
|
10329
|
+
* redirectUris: ["redirect_uris"]
|
|
10330
|
+
* })
|
|
10331
|
+
*/
|
|
10332
|
+
registerOAuthClient(request: ClientRegistrationRequest, requestOptions?: McpOAuthClient.RequestOptions): HttpResponsePromise<ClientRegistrationResponse>;
|
|
10333
|
+
private __registerOAuthClient;
|
|
10294
10334
|
/**
|
|
10295
10335
|
* OAuth 2.0 token revocation endpoint (RFC 7009). Always returns 200, whether the token was revoked, never existed, or was invalid
|
|
10296
10336
|
*
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Fa}from'./chunk-
|
|
1
|
+
import {Fa}from'./chunk-CSCAOGDC.js';export{sa as AgentTaskCompletionJudge,ra as AgentToolCorrectnessJudge,fa as AnswerRelevance,ba as BaseLLMJudgeMetric,C as BaseMetric,D as BaseSuiteEvaluator,p as ChatPrompt,ua as ComplianceRiskJudge,i as ConfigMismatchError,h as ConfigNotFoundError,_ as Contains,y as DEFAULT_EXECUTION_POLICY,j as Dataset,f as DatasetVersion,g as DatasetVersionNotFoundError,ma as DemographicBiasJudge,ka as DialogueHelpfulnessJudge,Z as ExactMatch,ga as GEval,ha as GEvalPreset,oa as GenderBiasJudge,ea as Hallucination,aa as IsJson,Q as LLMJudge,H as ModelConfigurationError,F as ModelError,G as ModelGenerationError,ca as Moderation,Ca as OPIK_PARENT_SPAN_ID_HEADER,Ba as OPIK_TRACE_ID_HEADER,Aa as Opik,E as OpikBaseModel,q as OpikQueryLanguage,d as OpikSpanType,na as PoliticalBiasJudge,o as Prompt,k as PromptType,ta as PromptUncertaintyJudge,la as QARelevanceJudge,$ as RegexMatch,qa as RegionalBiasJudge,pa as ReligiousBiasJudge,P as ResponseSchema,N as SYSTEM_PROMPT,ja as SummarizationCoherenceJudge,ia as SummarizationConsistencyJudge,B as TASK_ERROR_SCORE_NAME,ya as TestSuite,z as TestSuiteResult,s as ThreadsAnnotationQueue,r as TracesAnnotationQueue,O as USER_PROMPT_TEMPLATE,da as Usefulness,J as VercelAIChatModel,v as activateRunner,t as agentConfigContext,A as buildSuiteResult,K as createModel,L as createModelFromInstance,S as deserializeEvaluators,I as detectProvider,c as disableLogger,X as evaluate,Y as evaluatePrompt,V as evaluateTestSuite,u as flushAll,e as generateId,Da as getDistributedTraceHeaders,l as getGlobalClient,w as getTrackContext,a as logger,n as resetGlobalClient,va as resolveEvaluators,T as resolveExecutionPolicy,U as resolveItemExecutionPolicy,M as resolveModel,W as runTests,R as serializeEvaluators,m as setGlobalClient,b as setLoggerLevel,x as track,wa as validateEvaluators,xa as validateExecutionPolicy,Ea as z}from'./chunk-CSCAOGDC.js';Fa();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {za}from'./chunk-
|
|
1
|
+
import {za}from'./chunk-CSCAOGDC.js';export{y as DEFAULT_EXECUTION_POLICY,ya as TestSuite,z as TestSuiteResult,A as buildSuiteResult,S as deserializeEvaluators,V as evaluateTestSuite,T as resolveExecutionPolicy,U as resolveItemExecutionPolicy,W as runTests,R as serializeEvaluators}from'./chunk-CSCAOGDC.js';za();
|