@p-sw/brainbox 0.1.1 → 0.1.2-alpha.0
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.js +8 -1
- package/package.json +5 -2
package/dist/index.js
CHANGED
|
@@ -2255,7 +2255,14 @@ register("vertex", VertexExecutor);
|
|
|
2255
2255
|
register("copilot", CopilotExecutor);
|
|
2256
2256
|
register("gitlab-duo", GitLabDuoExecutor);
|
|
2257
2257
|
register("snowflake-cortex", SnowflakeCortexExecutor);
|
|
2258
|
-
var
|
|
2258
|
+
var _llm;
|
|
2259
|
+
var llm = new Proxy({}, {
|
|
2260
|
+
get(_t, prop) {
|
|
2261
|
+
_llm ??= LLMExecutor.init();
|
|
2262
|
+
const v = Reflect.get(_llm, prop, _llm);
|
|
2263
|
+
return typeof v === "function" ? v.bind(_llm) : v;
|
|
2264
|
+
}
|
|
2265
|
+
});
|
|
2259
2266
|
|
|
2260
2267
|
// src/provider/promptLoader.ts
|
|
2261
2268
|
import { existsSync as existsSync2 } from "fs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@p-sw/brainbox",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2-alpha.0",
|
|
4
4
|
"module": "dist/index.js",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"cli": "bun run src/index.ts",
|
|
12
12
|
"format": "bun run prettier 'src/**/*.ts' -w",
|
|
13
13
|
"build": "rm -rf dist && bun build ./src/index.ts --outdir dist --target node --packages external && cp -r prompts dist/prompts && chmod +x dist/index.js",
|
|
14
|
-
"
|
|
14
|
+
"prepack": "bun run build"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@types/node": "^25.9.1"
|
|
@@ -34,6 +34,9 @@
|
|
|
34
34
|
"yaml": "^2.9.0",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"access": "public"
|
|
39
|
+
},
|
|
37
40
|
"author": {
|
|
38
41
|
"name": "Shinwoo PARK",
|
|
39
42
|
"email": "shinwoo.park@psw.kr",
|