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

@scoopika/scoopika

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scoopika/scoopika - npm Package Compare versions

Comparing version 1.0.9 to 1.1.0

2

dist/index.d.ts

@@ -508,3 +508,3 @@ import OpenAI from 'openai';

memoryStore: InMemoryStore;
engines: RawEngines | undefined;
engines: RawEngines;
stateStore: StateStore;

@@ -511,0 +511,0 @@ loaded_agents: Record<string, AgentData>;

{
"name": "@scoopika/scoopika",
"version": "1.0.9",
"version": "1.1.0",
"description": "Run AI agents and multi-agent boxes with persistent history and external tools in your application in seconds with real-time streaming hooks, data validation, and auto healing out-of-the-box",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -39,7 +39,4 @@ import StateStore from "./state";

this.id = id;
this.llm_clients = buildClients(client.engines);
if (client.engines) {
this.llm_clients = buildClients(client.engines);
}
if (client.loaded_agents[id]) {

@@ -46,0 +43,0 @@ this.agent = client.loaded_agents[id];

@@ -174,3 +174,8 @@ import * as types from "@scoopika/types";

const agent = await this.getAgent(payload.id).load();
await stream(this.streamMessage(agent.agent));
const message = this.streamMessage(agent.agent);
await stream(message);
// const chunks = this.chunkString(message, 50);
// for await (const m of chunks) {
// await stream(m);
// }
}

@@ -183,3 +188,8 @@

const box = await this.getBox(payload.id).load();
await stream(this.streamMessage(box.box));
const message = this.streamMessage(box.box);
await stream(message);
// const chunks = this.chunkString(message, 50);
// for await (const m of chunks) {
// await stream(m);
// }
}

@@ -186,0 +196,0 @@

@@ -12,3 +12,3 @@ import RemoteStore from "./remote_store";

public memoryStore: InMemoryStore;
public engines: types.RawEngines | undefined = {};
public engines: types.RawEngines = {};
public stateStore: StateStore;

@@ -33,3 +33,3 @@

this.engines = engines;
this.engines = engines || {};

@@ -36,0 +36,0 @@ if (!store) {

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

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