New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@agenteract/core

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agenteract/core - npm Package Compare versions

Comparing version
0.1.1
to
0.1.2
+1
-0
dist/cjs/src/config-types.d.ts

@@ -28,3 +28,4 @@ export interface DevServerConfig {

port?: number;
waitLogTimeout?: number;
projects: ProjectConfig[];
}
+1
-1

@@ -55,3 +55,3 @@ import { AgenteractConfig, DevServerConfig, ProjectConfig } from '../config-types.js';

export declare const TYPE_PRESETS: Record<string, Omit<DevServerConfig, 'port'>>;
export declare function addConfig(rootDir: string, projectPath: string, name: string, typeOrCommand: string, port?: number, scheme?: string): Promise<void>;
export declare function addConfig(rootDir: string, projectPath: string, name: string, typeOrCommand: string, port?: number, scheme?: string, waitLogTimeout?: number): Promise<void>;
/**

@@ -58,0 +58,0 @@ * Normalize project config: migrate old format to new format

@@ -188,3 +188,3 @@ "use strict";

}
async function addConfig(rootDir, projectPath, name, typeOrCommand, port, scheme) {
async function addConfig(rootDir, projectPath, name, typeOrCommand, port, scheme, waitLogTimeout) {
const configPath = path_1.default.join(rootDir, 'agenteract.config.js');

@@ -204,2 +204,6 @@ let config;

}
// Set top-level waitLogTimeout if provided
if (waitLogTimeout !== undefined) {
config.waitLogTimeout = waitLogTimeout;
}
config.projects = config.projects || [];

@@ -206,0 +210,0 @@ let nameExists = config.projects.find((p) => p.name === name);

@@ -28,3 +28,4 @@ export interface DevServerConfig {

port?: number;
waitLogTimeout?: number;
projects: ProjectConfig[];
}

@@ -55,3 +55,3 @@ import { AgenteractConfig, DevServerConfig, ProjectConfig } from '../config-types.js';

export declare const TYPE_PRESETS: Record<string, Omit<DevServerConfig, 'port'>>;
export declare function addConfig(rootDir: string, projectPath: string, name: string, typeOrCommand: string, port?: number, scheme?: string): Promise<void>;
export declare function addConfig(rootDir: string, projectPath: string, name: string, typeOrCommand: string, port?: number, scheme?: string, waitLogTimeout?: number): Promise<void>;
/**

@@ -58,0 +58,0 @@ * Normalize project config: migrate old format to new format

@@ -167,3 +167,3 @@ import fs from 'fs/promises';

}
export async function addConfig(rootDir, projectPath, name, typeOrCommand, port, scheme) {
export async function addConfig(rootDir, projectPath, name, typeOrCommand, port, scheme, waitLogTimeout) {
const configPath = path.join(rootDir, 'agenteract.config.js');

@@ -183,2 +183,6 @@ let config;

}
// Set top-level waitLogTimeout if provided
if (waitLogTimeout !== undefined) {
config.waitLogTimeout = waitLogTimeout;
}
config.projects = config.projects || [];

@@ -185,0 +189,0 @@ let nameExists = config.projects.find((p) => p.name === name);

@@ -28,3 +28,4 @@ export interface DevServerConfig {

port?: number;
waitLogTimeout?: number;
projects: ProjectConfig[];
}

@@ -55,3 +55,3 @@ import { AgenteractConfig, DevServerConfig, ProjectConfig } from '../config-types.js';

export declare const TYPE_PRESETS: Record<string, Omit<DevServerConfig, 'port'>>;
export declare function addConfig(rootDir: string, projectPath: string, name: string, typeOrCommand: string, port?: number, scheme?: string): Promise<void>;
export declare function addConfig(rootDir: string, projectPath: string, name: string, typeOrCommand: string, port?: number, scheme?: string, waitLogTimeout?: number): Promise<void>;
/**

@@ -58,0 +58,0 @@ * Normalize project config: migrate old format to new format

@@ -167,3 +167,3 @@ import fs from 'fs/promises';

}
export async function addConfig(rootDir, projectPath, name, typeOrCommand, port, scheme) {
export async function addConfig(rootDir, projectPath, name, typeOrCommand, port, scheme, waitLogTimeout) {
const configPath = path.join(rootDir, 'agenteract.config.js');

@@ -183,2 +183,6 @@ let config;

}
// Set top-level waitLogTimeout if provided
if (waitLogTimeout !== undefined) {
config.waitLogTimeout = waitLogTimeout;
}
config.projects = config.projects || [];

@@ -185,0 +189,0 @@ let nameExists = config.projects.find((p) => p.name === name);

{
"name": "@agenteract/core",
"version": "0.1.1",
"version": "0.1.2",
"description": "Core message schema, bridge protocol, and shared utilities for Agenteract",

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