@lupaflow/secrets 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +115 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +75 -0
- package/dist/index.js.map +1 -0
- package/package.json +4 -3
- package/tsconfig.json +0 -8
- package/tsup.config.ts +0 -9
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/index.ts
|
|
31
|
+
var src_exports = {};
|
|
32
|
+
__export(src_exports, {
|
|
33
|
+
SecretsManager: () => SecretsManager,
|
|
34
|
+
getGoogleKey: () => getGoogleKey,
|
|
35
|
+
getGroqKey: () => getGroqKey,
|
|
36
|
+
getOpenRouterKey: () => getOpenRouterKey
|
|
37
|
+
});
|
|
38
|
+
module.exports = __toCommonJS(src_exports);
|
|
39
|
+
|
|
40
|
+
// src/manager.ts
|
|
41
|
+
var import_dotenv = __toESM(require("dotenv"), 1);
|
|
42
|
+
var import_conf = __toESM(require("conf"), 1);
|
|
43
|
+
var import_core = require("@lupaflow/core");
|
|
44
|
+
import_dotenv.default.config();
|
|
45
|
+
var store = new import_conf.default({
|
|
46
|
+
projectName: "lupaflow",
|
|
47
|
+
schema: {
|
|
48
|
+
apiKeys: {
|
|
49
|
+
type: "object",
|
|
50
|
+
default: {}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
var SecretsManager = class _SecretsManager {
|
|
55
|
+
static keys = /* @__PURE__ */ new Map();
|
|
56
|
+
static init() {
|
|
57
|
+
const saved = store.get("apiKeys");
|
|
58
|
+
for (const [key, value] of Object.entries(saved)) {
|
|
59
|
+
_SecretsManager.keys.set(key, value);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
static get(key) {
|
|
63
|
+
const envKey = key.toUpperCase();
|
|
64
|
+
const envValue = process.env[envKey] || process.env[`LUPAFLOW_${envKey}`];
|
|
65
|
+
if (envValue) return envValue;
|
|
66
|
+
return _SecretsManager.keys.get(key);
|
|
67
|
+
}
|
|
68
|
+
static require(key) {
|
|
69
|
+
const value = _SecretsManager.get(key);
|
|
70
|
+
if (!value) {
|
|
71
|
+
throw new import_core.ConfigError(`Missing required secret: ${key}`, {
|
|
72
|
+
hint: `Set ${key.toUpperCase()} in your .env file or run: lupaflow secrets set ${key} <value>`
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
static set(key, value) {
|
|
78
|
+
_SecretsManager.keys.set(key, value);
|
|
79
|
+
const saved = store.get("apiKeys");
|
|
80
|
+
saved[key] = value;
|
|
81
|
+
store.set("apiKeys", saved);
|
|
82
|
+
}
|
|
83
|
+
static delete(key) {
|
|
84
|
+
_SecretsManager.keys.delete(key);
|
|
85
|
+
const saved = store.get("apiKeys");
|
|
86
|
+
delete saved[key];
|
|
87
|
+
store.set("apiKeys", saved);
|
|
88
|
+
}
|
|
89
|
+
static list() {
|
|
90
|
+
return Array.from(_SecretsManager.keys.keys());
|
|
91
|
+
}
|
|
92
|
+
static clear() {
|
|
93
|
+
_SecretsManager.keys.clear();
|
|
94
|
+
store.set("apiKeys", {});
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
// src/providers.ts
|
|
99
|
+
function getOpenRouterKey() {
|
|
100
|
+
return SecretsManager.require("OPENROUTER_API_KEY");
|
|
101
|
+
}
|
|
102
|
+
function getGoogleKey() {
|
|
103
|
+
return SecretsManager.require("GOOGLE_API_KEY");
|
|
104
|
+
}
|
|
105
|
+
function getGroqKey() {
|
|
106
|
+
return SecretsManager.require("GROQ_API_KEY");
|
|
107
|
+
}
|
|
108
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
109
|
+
0 && (module.exports = {
|
|
110
|
+
SecretsManager,
|
|
111
|
+
getGoogleKey,
|
|
112
|
+
getGroqKey,
|
|
113
|
+
getOpenRouterKey
|
|
114
|
+
});
|
|
115
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/manager.ts","../src/providers.ts"],"sourcesContent":["export { SecretsManager } from \"./manager\"\nexport { getOpenRouterKey, getGoogleKey, getGroqKey } from \"./providers\"\n","import dotenv from \"dotenv\"\nimport Conf from \"conf\"\nimport { ConfigError } from \"@lupaflow/core\"\n\ndotenv.config()\n\nconst store = new Conf({\n projectName: \"lupaflow\",\n schema: {\n apiKeys: {\n type: \"object\",\n default: {},\n },\n },\n})\n\nexport class SecretsManager {\n private static keys: Map<string, string> = new Map()\n\n static init(): void {\n const saved = store.get(\"apiKeys\") as Record<string, string>\n for (const [key, value] of Object.entries(saved)) {\n SecretsManager.keys.set(key, value)\n }\n }\n\n static get(key: string): string | undefined {\n const envKey = key.toUpperCase()\n const envValue = process.env[envKey] || process.env[`LUPAFLOW_${envKey}`]\n if (envValue) return envValue\n return SecretsManager.keys.get(key)\n }\n\n static require(key: string): string {\n const value = SecretsManager.get(key)\n if (!value) {\n throw new ConfigError(`Missing required secret: ${key}`, {\n hint: `Set ${key.toUpperCase()} in your .env file or run: lupaflow secrets set ${key} <value>`,\n })\n }\n return value\n }\n\n static set(key: string, value: string): void {\n SecretsManager.keys.set(key, value)\n const saved = store.get(\"apiKeys\") as Record<string, string>\n saved[key] = value\n store.set(\"apiKeys\", saved)\n }\n\n static delete(key: string): void {\n SecretsManager.keys.delete(key)\n const saved = store.get(\"apiKeys\") as Record<string, string>\n delete saved[key]\n store.set(\"apiKeys\", saved)\n }\n\n static list(): string[] {\n return Array.from(SecretsManager.keys.keys())\n }\n\n static clear(): void {\n SecretsManager.keys.clear()\n store.set(\"apiKeys\", {})\n }\n}\n","import { SecretsManager } from \"./manager\"\n\nexport function getOpenRouterKey(): string {\n return SecretsManager.require(\"OPENROUTER_API_KEY\")\n}\n\nexport function getGoogleKey(): string {\n return SecretsManager.require(\"GOOGLE_API_KEY\")\n}\n\nexport function getGroqKey(): string {\n return SecretsManager.require(\"GROQ_API_KEY\")\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;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jC,WAAO,MAAM,GAAG;AAChB,UAAM,IAAI,WAAW,KAAK;AAAA,EAC5B;AAAA,EAEA,OAAO,OAAiB;AACtB,WAAO,MAAM,KAAK,gBAAe,KAAK,KAAK,CAAC;AAAA,EAC9C;AAAA,EAEA,OAAO,QAAc;AACnB,oBAAe,KAAK,MAAM;AAC1B,UAAM,IAAI,WAAW,CAAC,CAAC;AAAA,EACzB;AACF;;;AC/DO,SAAS,mBAA2B;AACzC,SAAO,eAAe,QAAQ,oBAAoB;AACpD;AAEO,SAAS,eAAuB;AACrC,SAAO,eAAe,QAAQ,gBAAgB;AAChD;AAEO,SAAS,aAAqB;AACnC,SAAO,eAAe,QAAQ,cAAc;AAC9C;","names":["dotenv","Conf"]}
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare class SecretsManager {
|
|
2
|
+
private static keys;
|
|
3
|
+
static init(): void;
|
|
4
|
+
static get(key: string): string | undefined;
|
|
5
|
+
static require(key: string): string;
|
|
6
|
+
static set(key: string, value: string): void;
|
|
7
|
+
static delete(key: string): void;
|
|
8
|
+
static list(): string[];
|
|
9
|
+
static clear(): void;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare function getOpenRouterKey(): string;
|
|
13
|
+
declare function getGoogleKey(): string;
|
|
14
|
+
declare function getGroqKey(): string;
|
|
15
|
+
|
|
16
|
+
export { SecretsManager, getGoogleKey, getGroqKey, getOpenRouterKey };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare class SecretsManager {
|
|
2
|
+
private static keys;
|
|
3
|
+
static init(): void;
|
|
4
|
+
static get(key: string): string | undefined;
|
|
5
|
+
static require(key: string): string;
|
|
6
|
+
static set(key: string, value: string): void;
|
|
7
|
+
static delete(key: string): void;
|
|
8
|
+
static list(): string[];
|
|
9
|
+
static clear(): void;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare function getOpenRouterKey(): string;
|
|
13
|
+
declare function getGoogleKey(): string;
|
|
14
|
+
declare function getGroqKey(): string;
|
|
15
|
+
|
|
16
|
+
export { SecretsManager, getGoogleKey, getGroqKey, getOpenRouterKey };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// src/manager.ts
|
|
2
|
+
import dotenv from "dotenv";
|
|
3
|
+
import Conf from "conf";
|
|
4
|
+
import { ConfigError } from "@lupaflow/core";
|
|
5
|
+
dotenv.config();
|
|
6
|
+
var store = new Conf({
|
|
7
|
+
projectName: "lupaflow",
|
|
8
|
+
schema: {
|
|
9
|
+
apiKeys: {
|
|
10
|
+
type: "object",
|
|
11
|
+
default: {}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
var SecretsManager = class _SecretsManager {
|
|
16
|
+
static keys = /* @__PURE__ */ new Map();
|
|
17
|
+
static init() {
|
|
18
|
+
const saved = store.get("apiKeys");
|
|
19
|
+
for (const [key, value] of Object.entries(saved)) {
|
|
20
|
+
_SecretsManager.keys.set(key, value);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
static get(key) {
|
|
24
|
+
const envKey = key.toUpperCase();
|
|
25
|
+
const envValue = process.env[envKey] || process.env[`LUPAFLOW_${envKey}`];
|
|
26
|
+
if (envValue) return envValue;
|
|
27
|
+
return _SecretsManager.keys.get(key);
|
|
28
|
+
}
|
|
29
|
+
static require(key) {
|
|
30
|
+
const value = _SecretsManager.get(key);
|
|
31
|
+
if (!value) {
|
|
32
|
+
throw new ConfigError(`Missing required secret: ${key}`, {
|
|
33
|
+
hint: `Set ${key.toUpperCase()} in your .env file or run: lupaflow secrets set ${key} <value>`
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
static set(key, value) {
|
|
39
|
+
_SecretsManager.keys.set(key, value);
|
|
40
|
+
const saved = store.get("apiKeys");
|
|
41
|
+
saved[key] = value;
|
|
42
|
+
store.set("apiKeys", saved);
|
|
43
|
+
}
|
|
44
|
+
static delete(key) {
|
|
45
|
+
_SecretsManager.keys.delete(key);
|
|
46
|
+
const saved = store.get("apiKeys");
|
|
47
|
+
delete saved[key];
|
|
48
|
+
store.set("apiKeys", saved);
|
|
49
|
+
}
|
|
50
|
+
static list() {
|
|
51
|
+
return Array.from(_SecretsManager.keys.keys());
|
|
52
|
+
}
|
|
53
|
+
static clear() {
|
|
54
|
+
_SecretsManager.keys.clear();
|
|
55
|
+
store.set("apiKeys", {});
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
// src/providers.ts
|
|
60
|
+
function getOpenRouterKey() {
|
|
61
|
+
return SecretsManager.require("OPENROUTER_API_KEY");
|
|
62
|
+
}
|
|
63
|
+
function getGoogleKey() {
|
|
64
|
+
return SecretsManager.require("GOOGLE_API_KEY");
|
|
65
|
+
}
|
|
66
|
+
function getGroqKey() {
|
|
67
|
+
return SecretsManager.require("GROQ_API_KEY");
|
|
68
|
+
}
|
|
69
|
+
export {
|
|
70
|
+
SecretsManager,
|
|
71
|
+
getGoogleKey,
|
|
72
|
+
getGroqKey,
|
|
73
|
+
getOpenRouterKey
|
|
74
|
+
};
|
|
75
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/manager.ts","../src/providers.ts"],"sourcesContent":["import dotenv from \"dotenv\"\nimport Conf from \"conf\"\nimport { ConfigError } from \"@lupaflow/core\"\n\ndotenv.config()\n\nconst store = new Conf({\n projectName: \"lupaflow\",\n schema: {\n apiKeys: {\n type: \"object\",\n default: {},\n },\n },\n})\n\nexport class SecretsManager {\n private static keys: Map<string, string> = new Map()\n\n static init(): void {\n const saved = store.get(\"apiKeys\") as Record<string, string>\n for (const [key, value] of Object.entries(saved)) {\n SecretsManager.keys.set(key, value)\n }\n }\n\n static get(key: string): string | undefined {\n const envKey = key.toUpperCase()\n const envValue = process.env[envKey] || process.env[`LUPAFLOW_${envKey}`]\n if (envValue) return envValue\n return SecretsManager.keys.get(key)\n }\n\n static require(key: string): string {\n const value = SecretsManager.get(key)\n if (!value) {\n throw new ConfigError(`Missing required secret: ${key}`, {\n hint: `Set ${key.toUpperCase()} in your .env file or run: lupaflow secrets set ${key} <value>`,\n })\n }\n return value\n }\n\n static set(key: string, value: string): void {\n SecretsManager.keys.set(key, value)\n const saved = store.get(\"apiKeys\") as Record<string, string>\n saved[key] = value\n store.set(\"apiKeys\", saved)\n }\n\n static delete(key: string): void {\n SecretsManager.keys.delete(key)\n const saved = store.get(\"apiKeys\") as Record<string, string>\n delete saved[key]\n store.set(\"apiKeys\", saved)\n }\n\n static list(): string[] {\n return Array.from(SecretsManager.keys.keys())\n }\n\n static clear(): void {\n SecretsManager.keys.clear()\n store.set(\"apiKeys\", {})\n }\n}\n","import { SecretsManager } from \"./manager\"\n\nexport function getOpenRouterKey(): string {\n return SecretsManager.require(\"OPENROUTER_API_KEY\")\n}\n\nexport function getGoogleKey(): string {\n return SecretsManager.require(\"GOOGLE_API_KEY\")\n}\n\nexport function getGroqKey(): string {\n return SecretsManager.require(\"GROQ_API_KEY\")\n}\n"],"mappings":";AAAA,OAAO,YAAY;AACnB,OAAO,UAAU;AACjB,SAAS,mBAAmB;AAE5B,OAAO,OAAO;AAEd,IAAM,QAAQ,IAAI,KAAK;AAAA,EACrB,aAAa;AAAA,EACb,QAAQ;AAAA,IACN,SAAS;AAAA,MACP,MAAM;AAAA,MACN,SAAS,CAAC;AAAA,IACZ;AAAA,EACF;AACF,CAAC;AAEM,IAAM,iBAAN,MAAM,gBAAe;AAAA,EAC1B,OAAe,OAA4B,oBAAI,IAAI;AAAA,EAEnD,OAAO,OAAa;AAClB,UAAM,QAAQ,MAAM,IAAI,SAAS;AACjC,eAAW,CAAC,KAAK,KAAK,KAAK,OAAO,QAAQ,KAAK,GAAG;AAChD,sBAAe,KAAK,IAAI,KAAK,KAAK;AAAA,IACpC;AAAA,EACF;AAAA,EAEA,OAAO,IA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
"name": "@lupaflow/secrets",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -16,12 +16,13 @@
|
|
|
16
16
|
"import": "./dist/index.js"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
|
-
|
|
19
|
+
"files": ["dist", "src", "package.json"],
|
|
20
|
+
"scripts": {
|
|
20
21
|
"build": "tsup",
|
|
21
22
|
"dev": "tsup --watch"
|
|
22
23
|
},
|
|
23
24
|
"dependencies": {
|
|
24
|
-
"@lupaflow/core": "
|
|
25
|
+
"@lupaflow/core": "^0.1.0",
|
|
25
26
|
"conf": "^13.1.0",
|
|
26
27
|
"dotenv": "^16.4.5"
|
|
27
28
|
},
|
package/tsconfig.json
DELETED