Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@stackone/agent-config

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stackone/agent-config - npm Package Compare versions

Comparing version
1.0.7
to
1.0.8
+8
-3
dist/index.js

@@ -40,6 +40,11 @@ var __create = Object.create;

var import_meta = {};
var __filename = (0, import_node_url.fileURLToPath)(import_meta.url);
var __dirname = path.dirname(__filename);
function getDirname() {
if (typeof import_meta !== "undefined" && import_meta.url) {
return path.dirname((0, import_node_url.fileURLToPath)(import_meta.url));
}
return typeof __dirname !== "undefined" ? __dirname : process.cwd();
}
var packageDir = getDirname();
function getAgentConfigPath() {
return path.join(__dirname, "..", "agent.md");
return path.join(packageDir, "..", "agent.md");
}

@@ -46,0 +51,0 @@ function getConfig() {

@@ -5,6 +5,11 @@ // src/index.ts

import { fileURLToPath } from "url";
var __filename = fileURLToPath(import.meta.url);
var __dirname = path.dirname(__filename);
function getDirname() {
if (typeof import.meta !== "undefined" && import.meta.url) {
return path.dirname(fileURLToPath(import.meta.url));
}
return typeof __dirname !== "undefined" ? __dirname : process.cwd();
}
var packageDir = getDirname();
function getAgentConfigPath() {
return path.join(__dirname, "..", "agent.md");
return path.join(packageDir, "..", "agent.md");
}

@@ -11,0 +16,0 @@ function getConfig() {

{
"name": "@stackone/agent-config",
"version": "1.0.7",
"version": "1.0.8",
"description": "Configuration utilities and shared agent instructions for StackOne projects",

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