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

@builder.io/ai-utils

Package Overview
Dependencies
Maintainers
0
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@builder.io/ai-utils - npm Package Compare versions

Comparing version 0.0.21 to 0.0.22

4

dist/completion.d.ts

@@ -13,2 +13,6 @@ import type { BuilderContent, BuilderElement, Component } from "@builder.io/sdk";

/**
* Model identifier to lookup which sdk and model to use. If not provided the default model will be used.
*/
modelId?: string;
/**
* The unique LOCAL identifier of the thread to submit the user message to.

@@ -15,0 +19,0 @@ * This is used to identify the thread with our own id (openai assistant id is different)

5

dist/events.d.ts

@@ -6,3 +6,3 @@ import type { BuilderContent, BuilderElement, Component } from "@builder.io/sdk";

export type BuilderAssistantEventHandler = (ev: BuilderAssistantEvent) => void;
export type BuilderAssistantEvent = AssistantErrorEvent | AppCloseEvent | AppMessagesClickEvent | AppMessagesGenerationEvent | AppPromptAbortEvent | AppPromptFocusEvent | AppPromptTextEvent | AppReadyEvent | AppSettingsResetEvent | AppSettingsSetEvent | AppThreadNewEvent | BuiderEditorStateEvent | ContentUpdateEvent | ContentApplySnapshotEvent | ContentCompleteEvent | ModelCreateEvent | ModelUpdateEvent | ResultEvent | ThreadCreatedEvent | ThreadMessageDeltaEvent | ThreadMessageCompletedEvent | ThreadMessageFeedbackEvent | ThreadRunRequiresActionEvent | ThreadRunStepCreatedEvent | ThreadRunStepDeltaEvent;
export type BuilderAssistantEvent = AssistantErrorEvent | AppCloseEvent | AppMessagesClickEvent | AppMessagesGenerationEvent | AppPromptAbortEvent | AppPromptFocusEvent | AppPromptTextEvent | AppReadyEvent | AppSettingsResetEvent | AppSettingsSetEvent | AppThreadNewEvent | BuiderEditorStateEvent | ContentUpdateEvent | ContentApplySnapshotEvent | ContentCompleteEvent | ModelCreateEvent | ModelUpdateEvent | ModelUndoEvent | ResultEvent | ThreadCreatedEvent | ThreadMessageDeltaEvent | ThreadMessageCompletedEvent | ThreadMessageFeedbackEvent | ThreadRunRequiresActionEvent | ThreadRunStepCreatedEvent | ThreadRunStepDeltaEvent;
export interface AssistantError {

@@ -146,2 +146,5 @@ message: string;

}
export interface ModelUndoEvent {
type: "assistant.model.undo";
}
export interface ModelUpdate {

@@ -148,0 +151,0 @@ patches: ModelPatch[];

{
"name": "@builder.io/ai-utils",
"version": "0.0.21",
"version": "0.0.22",
"description": "Builder.io AI utils",

@@ -5,0 +5,0 @@ "type": "module",

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