New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

iudex

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iudex - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

154

dist/index.d.ts

@@ -12,9 +12,9 @@ import z$1, { z } from 'zod';

}, "strip", z.ZodTypeAny, {
type: string;
id: string;
type: string;
sender: string;
timestamp: string;
}, {
type: string;
id: string;
type: string;
sender: string;

@@ -34,4 +34,4 @@ timestamp: string;

}, "strip", z.ZodTypeAny, {
type: "text";
id: string;
type: "text";
sender: string;

@@ -41,4 +41,4 @@ timestamp: string;

}, {
type: "text";
id: string;
type: "text";
sender: string;

@@ -59,4 +59,4 @@ timestamp: string;

}, "strip", z.ZodTypeAny, {
type: "error";
id: string;
type: "error";
sender: string;

@@ -69,4 +69,4 @@ timestamp: string;

}, {
type: "error";
id: string;
type: "error";
sender: string;

@@ -92,15 +92,15 @@ timestamp: string;

}, "strip", z.ZodTypeAny, {
type: "image";
id: string;
type: "image";
sender: string;
timestamp: string;
image: string;
description: string;
image: string;
}, {
type: "image";
id: string;
type: "image";
sender: string;
timestamp: string;
image: string;
description: string;
image: string;
}>;

@@ -115,4 +115,4 @@ type ChatImage = z.infer<typeof chatImageSchema>;

}, "strip", z.ZodTypeAny, {
type: "list";
id: string;
type: "list";
sender: string;

@@ -122,4 +122,4 @@ timestamp: string;

}, {
type: "list";
id: string;
type: "list";
sender: string;

@@ -139,4 +139,4 @@ timestamp: string;

}, "strip", z.ZodTypeAny, {
type: "functionCall";
id: string;
type: "functionCall";
sender: string;

@@ -148,4 +148,4 @@ timestamp: string;

}, {
type: "functionCall";
id: string;
type: "functionCall";
sender: string;

@@ -166,4 +166,4 @@ timestamp: string;

}, "strip", z.ZodTypeAny, {
type: "functionReturn";
id: string;
type: "functionReturn";
sender: string;

@@ -174,4 +174,4 @@ timestamp: string;

}, {
type: "functionReturn";
id: string;
type: "functionReturn";
sender: string;

@@ -193,4 +193,4 @@ timestamp: string;

}, "strip", z.ZodTypeAny, {
type: "text";
id: string;
type: "text";
sender: string;

@@ -200,4 +200,4 @@ timestamp: string;

}, {
type: "text";
id: string;
type: "text";
sender: string;

@@ -216,4 +216,4 @@ timestamp: string;

}, "strip", z.ZodTypeAny, {
type: "error";
id: string;
type: "error";
sender: string;

@@ -226,4 +226,4 @@ timestamp: string;

}, {
type: "error";
id: string;
type: "error";
sender: string;

@@ -243,15 +243,15 @@ timestamp: string;

}, "strip", z.ZodTypeAny, {
type: "image";
id: string;
type: "image";
sender: string;
timestamp: string;
image: string;
description: string;
image: string;
}, {
type: "image";
id: string;
type: "image";
sender: string;
timestamp: string;
image: string;
description: string;
image: string;
}>, z.ZodObject<{

@@ -264,4 +264,4 @@ id: z.ZodString;

}, "strip", z.ZodTypeAny, {
type: "list";
id: string;
type: "list";
sender: string;

@@ -271,4 +271,4 @@ timestamp: string;

}, {
type: "list";
id: string;
type: "list";
sender: string;

@@ -286,4 +286,4 @@ timestamp: string;

}, "strip", z.ZodTypeAny, {
type: "functionCall";
id: string;
type: "functionCall";
sender: string;

@@ -295,4 +295,4 @@ timestamp: string;

}, {
type: "functionCall";
id: string;
type: "functionCall";
sender: string;

@@ -311,4 +311,4 @@ timestamp: string;

}, "strip", z.ZodTypeAny, {
type: "functionReturn";
id: string;
type: "functionReturn";
sender: string;

@@ -319,4 +319,4 @@ timestamp: string;

}, {
type: "functionReturn";
id: string;
type: "functionReturn";
sender: string;

@@ -822,6 +822,6 @@ timestamp: string;

status: "Running" | "Completed" | "Failed" | "Paused" | "TimedOut";
description: string;
workflowId: string;
createdAt: string;
updatedAt: string;
description: string;
numLeafTasks: number;

@@ -831,6 +831,6 @@ modules?: string[] | undefined;

status: "Running" | "Completed" | "Failed" | "Paused" | "TimedOut";
description: string;
workflowId: string;
createdAt: string;
updatedAt: string;
description: string;
numLeafTasks: number;

@@ -842,6 +842,6 @@ modules?: string[] | undefined;

status: "Running" | "Completed" | "Failed" | "Paused" | "TimedOut";
description: string;
workflowId: string;
createdAt: string;
updatedAt: string;
description: string;
numLeafTasks: number;

@@ -853,6 +853,6 @@ modules?: string[] | undefined;

status: "Running" | "Completed" | "Failed" | "Paused" | "TimedOut";
description: string;
workflowId: string;
createdAt: string;
updatedAt: string;
description: string;
numLeafTasks: number;

@@ -1080,11 +1080,21 @@ modules?: string[] | undefined;

modules: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
orgId: z$1.ZodOptional<z$1.ZodString>;
opts: z$1.ZodOptional<z$1.ZodObject<{
maxFunctionMatches: z$1.ZodOptional<z$1.ZodNumber>;
}, "strip", z$1.ZodTypeAny, {
maxFunctionMatches?: number | undefined;
}, {
maxFunctionMatches?: number | undefined;
}>>;
}, "strip", z$1.ZodTypeAny, {
query: string;
modules?: string[] | undefined;
orgId?: string | undefined;
opts?: {
maxFunctionMatches?: number | undefined;
} | undefined;
}, {
query: string;
modules?: string[] | undefined;
orgId?: string | undefined;
opts?: {
maxFunctionMatches?: number | undefined;
} | undefined;
}>;

@@ -1125,2 +1135,10 @@ declare const postWorkflowsResSchema: z$1.ZodObject<{

type WorkflowStatus = (typeof WorkflowStatus)[keyof typeof WorkflowStatus];
declare const workflowMetadataSchema: z$1.ZodObject<{
maxFunctionMatches: z$1.ZodOptional<z$1.ZodNumber>;
}, "strip", z$1.ZodTypeAny, {
maxFunctionMatches?: number | undefined;
}, {
maxFunctionMatches?: number | undefined;
}>;
type WorkflowMetadata = z$1.infer<typeof workflowMetadataSchema>;
declare const workflowSchema: z$1.ZodObject<{

@@ -1132,2 +1150,9 @@ workflowId: z$1.ZodString;

updatedAt: z$1.ZodString;
metadata: z$1.ZodOptional<z$1.ZodObject<{
maxFunctionMatches: z$1.ZodOptional<z$1.ZodNumber>;
}, "strip", z$1.ZodTypeAny, {
maxFunctionMatches?: number | undefined;
}, {
maxFunctionMatches?: number | undefined;
}>>;
orgId: z$1.ZodString;

@@ -1138,3 +1163,2 @@ }, "strip", z$1.ZodTypeAny, {

updatedAt: string;
orgId: string;
root: {

@@ -1240,3 +1264,7 @@ id: string;

});
orgId: string;
modules?: string[] | undefined;
metadata?: {
maxFunctionMatches?: number | undefined;
} | undefined;
}, {

@@ -1246,3 +1274,2 @@ workflowId: string;

updatedAt: string;
orgId: string;
root: {

@@ -1348,3 +1375,7 @@ id: string;

});
orgId: string;
modules?: string[] | undefined;
metadata?: {
maxFunctionMatches?: number | undefined;
} | undefined;
}>;

@@ -1368,6 +1399,6 @@ type Workflow = z$1.infer<typeof workflowSchema>;

status: "Running" | "Completed" | "Failed" | "Paused" | "TimedOut";
description: string;
workflowId: string;
createdAt: string;
updatedAt: string;
description: string;
numLeafTasks: number;

@@ -1377,6 +1408,6 @@ modules?: string[] | undefined;

status: "Running" | "Completed" | "Failed" | "Paused" | "TimedOut";
description: string;
workflowId: string;
createdAt: string;
updatedAt: string;
description: string;
numLeafTasks: number;

@@ -1387,2 +1418,18 @@ modules?: string[] | undefined;

declare const DEFAULT_BASE_URL = "https://api.iudex.ai";
type IudexMessage = ChatTurn;
type ChatCompletionMessageWithIudex = OpenAI.ChatCompletionMessageParam & ({
tool_call_id?: string;
workflowId?: string;
} | {
tool_call_id: string;
workflowId: string;
});
type ChatCompletionWithIudex = OpenAI.ChatCompletion & {
choices: Array<OpenAI.ChatCompletion.Choice & {
message: OpenAI.ChatCompletionMessage & {
workflowId: string;
};
}>;
};
declare function createClient(baseUrl: string, apiKey: string): {

@@ -1392,6 +1439,6 @@ fetchGetWorkflows: () => Promise<{

status: "Running" | "Completed" | "Failed" | "Paused" | "TimedOut";
description: string;
workflowId: string;
createdAt: string;
updatedAt: string;
description: string;
numLeafTasks: number;

@@ -1508,3 +1555,5 @@ modules?: string[] | undefined;

modules?: string[] | undefined;
orgId?: string | undefined;
opts?: {
maxFunctionMatches?: number | undefined;
} | undefined;
}) => Promise<{

@@ -1526,19 +1575,2 @@ message: string;

};
declare const DEFAULT_BASE_URL = "https://api.iudex.ai";
type IudexMessage = ChatTurn;
type ChatCompletionMessageWithIudex = OpenAI.ChatCompletionMessageParam & ({
tool_call_id?: string;
workflowId?: string;
} | {
tool_call_id: string;
workflowId: string;
});
type ChatCompletionWithIudex = OpenAI.ChatCompletion & {
choices: Array<OpenAI.ChatCompletion.Choice & {
message: OpenAI.ChatCompletionMessage & {
workflowId: string;
};
}>;
};
/**

@@ -1599,2 +1631,2 @@ * Iudex api client.

export { type BaseTask, type ChatCompletionMessageWithIudex, type ChatCompletionWithIudex, type ChatError, type ChatFunctionCall, type ChatFunctionReturn, type ChatImage, type ChatList, type ChatText, type ChatTurn, type ChatTurnType, type ChatTurnUnion, DEFAULT_BASE_URL, Feasibility, type FeasibilityCheck, type GetWorkflowByIdReq, type GetWorkflowByIdRes, type GetWorkflowsRes, Iudex, type IudexMessage, type NextMessageRes, type PostWorkflowsReq, type PostWorkflowsRes, Resolution, type ResolutionCheck, type ReturnFunctionCallBody, type ReturnFunctionCallRes, type StartWorkflowRes, type Task, type TaskExecuting, type TaskPending, type TaskPlanning, type TaskResolved, type TaskSequenced, type TaskSequencing, TaskStatus, type TaskStatusToType, type TaskStatusesToType, type Workflow, type WorkflowClient, type WorkflowInfo, WorkflowStatus, baseTaskSchema, chatErrorSchema, chatFunctionCallSchema, chatFunctionReturnSchema, chatImageSchema, chatListSchema, chatTextSchema, chatTurnSchema, createClient, createFunctionClient, createWorkflowClient, extractMessageTextContent, feasibilityCheckSchema, fetchGetWorkflowById, fetchGetWorkflows, fetchPostWorkflows, getFirstTaskByStatus, getLastTaskByStatus, getWorkflowByIdReqSchema, getWorkflowByIdResSchema, getWorkflowsResSchema, mapIudexToOpenAi, nextMessage, postWorkflowsReqSchema, postWorkflowsResSchema, preOrderTraversal, putFunctionJsons, type putFunctionJsonsReq, resolutionCheckSchema, returnFunctionCall, reversePreOrderTraversal, startWorkflow, taskExecutingSchema, taskPendingSchema, taskPlanningSchema, taskResolvedSchema, taskSchema, taskSequencedSchema, taskSequencingSchema, workflowInfoSchema, workflowSchema };
export { type BaseTask, type ChatCompletionMessageWithIudex, type ChatCompletionWithIudex, type ChatError, type ChatFunctionCall, type ChatFunctionReturn, type ChatImage, type ChatList, type ChatText, type ChatTurn, type ChatTurnType, type ChatTurnUnion, DEFAULT_BASE_URL, Feasibility, type FeasibilityCheck, type GetWorkflowByIdReq, type GetWorkflowByIdRes, type GetWorkflowsRes, Iudex, type IudexMessage, type NextMessageRes, type PostWorkflowsReq, type PostWorkflowsRes, Resolution, type ResolutionCheck, type ReturnFunctionCallBody, type ReturnFunctionCallRes, type StartWorkflowRes, type Task, type TaskExecuting, type TaskPending, type TaskPlanning, type TaskResolved, type TaskSequenced, type TaskSequencing, TaskStatus, type TaskStatusToType, type TaskStatusesToType, type Workflow, type WorkflowClient, type WorkflowInfo, type WorkflowMetadata, WorkflowStatus, baseTaskSchema, chatErrorSchema, chatFunctionCallSchema, chatFunctionReturnSchema, chatImageSchema, chatListSchema, chatTextSchema, chatTurnSchema, createClient, createFunctionClient, createWorkflowClient, extractMessageTextContent, feasibilityCheckSchema, fetchGetWorkflowById, fetchGetWorkflows, fetchPostWorkflows, getFirstTaskByStatus, getLastTaskByStatus, getWorkflowByIdReqSchema, getWorkflowByIdResSchema, getWorkflowsResSchema, mapIudexToOpenAi, nextMessage, postWorkflowsReqSchema, postWorkflowsResSchema, preOrderTraversal, putFunctionJsons, type putFunctionJsonsReq, resolutionCheckSchema, returnFunctionCall, reversePreOrderTraversal, startWorkflow, taskExecutingSchema, taskPendingSchema, taskPlanningSchema, taskResolvedSchema, taskSchema, taskSequencedSchema, taskSequencingSchema, workflowInfoSchema, workflowMetadataSchema, workflowSchema };

@@ -79,2 +79,3 @@ "use strict";

workflowInfoSchema: () => workflowInfoSchema,
workflowMetadataSchema: () => workflowMetadataSchema,
workflowSchema: () => workflowSchema

@@ -495,2 +496,5 @@ });

};
var workflowMetadataSchema = import_zod2.default.object({
maxFunctionMatches: import_zod2.default.number().optional()
});
var workflowSchema = import_zod2.default.object({

@@ -502,2 +506,3 @@ workflowId: import_zod2.default.string(),

updatedAt: import_zod2.default.string(),
metadata: workflowMetadataSchema.optional(),
orgId: import_zod2.default.string()

@@ -530,3 +535,5 @@ });

modules: import_zod3.default.array(import_zod3.default.string()).optional(),
orgId: import_zod3.default.string().optional()
opts: import_zod3.default.object({
maxFunctionMatches: import_zod3.default.number().optional()
}).optional()
});

@@ -587,2 +594,3 @@ var postWorkflowsResSchema = import_zod3.default.object({

// src/index.ts
var DEFAULT_BASE_URL = "https://api.iudex.ai";
function createClient(baseUrl, apiKey) {

@@ -594,3 +602,2 @@ return {

}
var DEFAULT_BASE_URL = "https://api.iudex.ai";
var Iudex = class {

@@ -928,2 +935,3 @@ baseUrl;

workflowInfoSchema,
workflowMetadataSchema,
workflowSchema,

@@ -930,0 +938,0 @@ ...require("function-json-schema")

{
"name": "iudex",
"version": "0.9.0",
"version": "0.9.1",
"description": "Iudex client",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc