Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@automattic/big-sky-agents

Package Overview
Dependencies
Maintainers
0
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@automattic/big-sky-agents - npm Package Compare versions

Comparing version 1.1.14 to 1.1.17

80

dist/index.d.ts

@@ -72,12 +72,2 @@ declare class ChatModelService {

/**
* Hooks
*/
declare function useChatExecutor( options: {
agent: Agent;
chat: Chat;
toolkit: AgentToolkit;
} ): void;
declare function useChatModel( options: {

@@ -100,12 +90,7 @@ apiKey: string | undefined;

declare function useChatIcon(): ChatIconHook;
declare function useSimpleChat( options: ChatOptions ): Chat;
declare function useSimpleToolkit(): AgentToolkit;
declare function useSimpleAgentToolkit( options: {
declare function useChat( options: ChatOptions ): Chat;
declare function useToolkit(): AgentToolkit;
declare function useAgentToolkit( options: {
agents: AgentConfig[];
} ): AgentToolkit;
declare function useReduxChat( options: ChatOptions ): Chat;
declare function useReduxToolkit(): AgentToolkit;
declare function useReduxAgentToolkit( options: {
agents: AgentConfig[];
} ): AgentToolkit;

@@ -196,3 +181,3 @@ /**

error?: any;
history: Message[];
messages: Message[];
clearMessages: () => void;

@@ -202,3 +187,3 @@ userSay: ( content: string, image_urls?: string[] ) => void;

call: ( name: string, args: any, id?: string ) => void;
setToolCallResult: ( toolCallId: string, result: any ) => void;
setToolResult: ( toolCallId: string, result: any ) => void;
pendingToolCalls: ToolCall[];

@@ -211,3 +196,3 @@ runChat: (

) => void;
onReset: () => void;
reset: () => void;
}

@@ -242,3 +227,7 @@

constructor( options: { template: string; inputVariables: string[] } );
static fromString( tmpl: string, templateVariables?: Array, options?: any ): FStringPromptTemplate;
static fromString(
tmpl: string,
templateVariables?: Array,
options?: any
): FStringPromptTemplate;
}

@@ -251,13 +240,20 @@

declare class Agent {
constructor( chat: Chat, toolkit: AgentToolkit );
getId(): string;
call( toolName: string, args: any ): string;
userSay( message: string, file_urls?: string[] ): void;
getTools( values: any ): any[];
findTools( ...toolNames: string[] ): any[];
getInstructions(): Formatter;
getAdditionalInstructions(): Formatter;
onStart(): void;
constructor();
get id(): string;
get description(): string;
get assistantId(): string;
tools( context: any ): Tool[];
instructions( context: any ): string;
additionalInstructions( context: any ): string;
onStart( chat: any, context: any ): void;
}
interface AgentState {
tools: Tool[];
instructions: string;
additionalInstructions: string;
onStart: () => void;
onConfirm?: ( args: any ) => string;
}
declare class StandardAgent extends Agent {

@@ -278,5 +274,5 @@ askUser( options: { question: string; choices: string[] } ): void;

interface Toolkit {
onReset: () => void;
tools: any[]; // TODO: Tool
values: any;
reset: () => void;
tools: Tool[]; // TODO: Tool
context: any;
callbacks: ToolkitCallbacks;

@@ -286,5 +282,11 @@ }

interface AgentToolkit extends Toolkit {
values: {
agents: any[];
agent: Agent;
context: {
agents: any[]; // TODO: define this agent config
agent: {
assistantId: string,
id: string,
name: string,
goal: string,
thought: string,
};
};

@@ -300,3 +302,3 @@ callbacks: ToolkitCallbacks;

chat: Chat;
agent: Agent;
agent: AgentState;
toolkit: AgentToolkit;

@@ -327,2 +329,2 @@ };

export { AgentControls, AgentUI, ChatModel, ChatModelControls, ChatModelService, ChatModelType, DotPromptTemplate, FStringPromptTemplate, Formatter, type FormattingEngine, GroqChatModel, LocalAIChatModel, type Message, OllamaChatModel, OpenAIChatModel, StandardAgent, StringPromptTemplate, type Tool, type ToolFunction, WPCOMJetpackAIChatModel, WPCOMOpenAIChatModel, useChatExecutor, useChatIcon, useChatModel, useReduxAgentToolkit, useReduxChat, useReduxToolkit, useSimpleAgentToolkit, useSimpleChat, useSimpleToolkit };
export { AgentControls, AgentUI, ChatModel, ChatModelControls, ChatModelService, ChatModelType, DotPromptTemplate, FStringPromptTemplate, Formatter, type FormattingEngine, GroqChatModel, LocalAIChatModel, type Message, OllamaChatModel, OpenAIChatModel, StandardAgent, StringPromptTemplate, type Tool, type ToolFunction, WPCOMJetpackAIChatModel, WPCOMOpenAIChatModel, useAgentToolkit, useChat, useChatIcon, useChatModel, useToolkit };
{
"name": "@automattic/big-sky-agents",
"version": "1.1.14",
"description": "The Big Sky Agents SDK",
"repository": {
"type": "git",
"url": "git@github.com:Automattic/big-sky-agents.git"
},
"author": "Automattic",
"license": "GPL-2.0-or-later",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"files": [
"dist"
],
"types": "dist/index.d.ts",
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.{js,json,ts,tsx,yml,yaml}": [
"npm run lint:fix"
]
},
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"lint": "eslint --ext .ts,.tsx,.js,.jsx src",
"lint:fix": "eslint --ext .ts,.tsx,.js,.jsx src --fix",
"test": "jest",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"prepare": "husky && npm run build"
},
"devDependencies": {
"@babel/eslint-parser": "^7.24.7",
"@babel/plugin-syntax-import-assertions": "^7.24.7",
"@chromatic-com/storybook": "^1.5.0",
"@emotion/is-prop-valid": "^1.2.2",
"@mdx-js/react": "^3.0.1",
"@rive-app/react-canvas": "^4.11.3",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-eslint": "^9.0.5",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@rollup/plugin-url": "^8.0.2",
"@storybook/addon-actions": "^8.1.9",
"@storybook/addon-essentials": "^8.1.9",
"@storybook/addon-interactions": "8.1.9",
"@storybook/addon-links": "^8.1.9",
"@storybook/blocks": "8.1.9",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^8.1.9",
"@storybook/react-vite": "8.1.9",
"@storybook/test": "8.1.9",
"@storybook/types": "8.1.9",
"@testing-library/user-event": "^14.5.2",
"@typescript-eslint/eslint-plugin": "^7.12.0",
"@vitejs/plugin-react": "^4.3.0",
"@vtaits/react-fake-browser-ui": "^1.0.0",
"@wordpress/api-fetch": "^7.0.0",
"@wordpress/base-styles": "^5.0.0",
"@wordpress/components": "^28.0.0",
"@wordpress/data": "^10.0.0",
"@wordpress/env": "^10.0.0",
"@wordpress/eslint-plugin": "^19.0.0",
"@wordpress/i18n": "^5.0.0",
"@wordpress/icons": "^10.0.0",
"@wordpress/prettier-config": "^4.0.0",
"@wordpress/private-apis": "^1.0.0",
"@wordpress/router": "^1.0.0",
"@wordpress/scripts": "^28.0.0",
"@yelo/rollup-node-external": "^1.0.1",
"alias-hq": "^6.2.3",
"autoprefixer": "^10.4.19",
"base64-arraybuffer": "^1.0.2",
"browsers": "^1.0.2",
"classnames": "^2.5.1",
"deepmerge": "^4.3.1",
"dotenv": "^16.4.5",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react-hooks": "^4.6.2",
"express": "^4.19.2",
"husky": "^9.0.11",
"mini-css-extract-plugin": "^2.9.0",
"nanoid": "^5.0.7",
"postcss-preset-env": "^9.5.14",
"prettier": "npm:wp-prettier@3.0.3",
"pretty-quick": "^4.0.0",
"react-markdown": "^9.0.1",
"redux-devtools-extension": "^2.13.9",
"rememo": "^4.0.2",
"rollup": "^4.18.0",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-ignore": "^1.0.10",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-sass": "^1.12.22",
"rollup-preserve-directives": "^1.1.1",
"storybook": "^8.1.9",
"tail": "^2.2.6",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"vite": "^5.2.13",
"vite-plugin-dts": "^3.9.1",
"webpack": "^5.91.0"
},
"peerDependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
}
"name": "@automattic/big-sky-agents",
"version": "1.1.17",
"description": "The Big Sky Agents SDK",
"repository": {
"type": "git",
"url": "git@github.com:Automattic/big-sky-agents.git"
},
"author": "Automattic",
"license": "GPL-2.0-or-later",
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"files": [
"dist"
],
"types": "dist/index.d.ts",
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.{js,json,ts,tsx,yml,yaml}": [
"npm run lint:fix"
]
},
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"lint": "eslint --ext .ts,.tsx,.js,.jsx src",
"lint:fix": "eslint --ext .ts,.tsx,.js,.jsx src --fix",
"test": "jest",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"prepare": "husky && npm run build"
},
"devDependencies": {
"@babel/eslint-parser": "^7.24.7",
"@babel/plugin-syntax-import-assertions": "^7.24.7",
"@chromatic-com/storybook": "^1.5.0",
"@emotion/is-prop-valid": "^1.2.2",
"@mdx-js/react": "^3.0.1",
"@rive-app/react-canvas": "^4.11.3",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-eslint": "^9.0.5",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@rollup/plugin-url": "^8.0.2",
"@storybook/addon-actions": "^8.1.11",
"@storybook/addon-essentials": "^8.1.11",
"@storybook/addon-interactions": "^8.1.11",
"@storybook/addon-links": "^8.1.11",
"@storybook/blocks": "^8.1.11",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^8.1.11",
"@storybook/react-vite": "^8.1.11",
"@storybook/test": "^8.1.11",
"@storybook/types": "^8.1.11",
"@testing-library/user-event": "^14.5.2",
"@typescript-eslint/eslint-plugin": "^7.12.0",
"@vitejs/plugin-react": "^4.3.0",
"@vtaits/react-fake-browser-ui": "^1.0.0",
"@wordpress/api-fetch": "^7.0.0",
"@wordpress/base-styles": "^5.0.0",
"@wordpress/components": "^28.0.0",
"@wordpress/data": "^10.0.0",
"@wordpress/element": "^6.1.0",
"@wordpress/env": "^10.0.0",
"@wordpress/eslint-plugin": "^19.0.0",
"@wordpress/i18n": "^5.0.0",
"@wordpress/icons": "^10.0.0",
"@wordpress/prettier-config": "^4.0.0",
"@wordpress/private-apis": "^1.0.0",
"@wordpress/router": "^1.0.0",
"@wordpress/scripts": "^28.0.0",
"@yelo/rollup-node-external": "^1.0.1",
"alias-hq": "^6.2.3",
"autoprefixer": "^10.4.19",
"base64-arraybuffer": "^1.0.2",
"browsers": "^1.0.2",
"classnames": "^2.5.1",
"deepmerge": "^4.3.1",
"dotenv": "^16.4.5",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react-hooks": "^4.6.2",
"express": "^4.19.2",
"husky": "^9.0.11",
"mini-css-extract-plugin": "^2.9.0",
"minimist": "^1.2.8",
"nanoid": "^5.0.7",
"postcss-preset-env": "^9.5.14",
"prettier": "npm:wp-prettier@3.0.3",
"pretty-quick": "^4.0.0",
"prompt-sync": "^4.2.0",
"react-markdown": "^9.0.1",
"redux-devtools-extension": "^2.13.9",
"rememo": "^4.0.2",
"rollup": "^4.18.0",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-ignore": "^1.0.10",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-sass": "^1.12.22",
"rollup-preserve-directives": "^1.1.1",
"storybook": "^8.1.11",
"tail": "^2.2.6",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"vite": "^5.2.13",
"vite-plugin-dts": "^3.9.1",
"webpack": "^5.91.0"
},
"peerDependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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