@pensar/apex 0.0.103-canary.f0372c57 → 0.0.103
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/bin/pensar.js +0 -43
- package/build/auth.js +1 -1
- package/build/index.js +7 -1
- package/package.json +1 -1
package/bin/pensar.js
CHANGED
|
@@ -73,26 +73,6 @@ if (command === "benchmark") {
|
|
|
73
73
|
process.argv = [process.argv[0], uninstallPath, ...args.slice(1)];
|
|
74
74
|
|
|
75
75
|
await import(uninstallPath);
|
|
76
|
-
} else if (command === "projects") {
|
|
77
|
-
const p = join(__dirname, "..", "build", "projects.js");
|
|
78
|
-
process.argv = [process.argv[0], p, ...args.slice(1)];
|
|
79
|
-
await import(p);
|
|
80
|
-
} else if (command === "pentests") {
|
|
81
|
-
const p = join(__dirname, "..", "build", "pentests.js");
|
|
82
|
-
process.argv = [process.argv[0], p, ...args.slice(1)];
|
|
83
|
-
await import(p);
|
|
84
|
-
} else if (command === "issues") {
|
|
85
|
-
const p = join(__dirname, "..", "build", "issues.js");
|
|
86
|
-
process.argv = [process.argv[0], p, ...args.slice(1)];
|
|
87
|
-
await import(p);
|
|
88
|
-
} else if (command === "fixes") {
|
|
89
|
-
const p = join(__dirname, "..", "build", "fixes.js");
|
|
90
|
-
process.argv = [process.argv[0], p, ...args.slice(1)];
|
|
91
|
-
await import(p);
|
|
92
|
-
} else if (command === "logs") {
|
|
93
|
-
const p = join(__dirname, "..", "build", "logs.js");
|
|
94
|
-
process.argv = [process.argv[0], p, ...args.slice(1)];
|
|
95
|
-
await import(p);
|
|
96
76
|
} else if (command === "upgrade" || command === "update") {
|
|
97
77
|
const currentVersion = getCurrentVersion();
|
|
98
78
|
console.log(`Current version: v${currentVersion}`);
|
|
@@ -129,21 +109,6 @@ if (command === "benchmark") {
|
|
|
129
109
|
console.log(
|
|
130
110
|
" pensar auth Connect to Pensar Console for managed inference"
|
|
131
111
|
);
|
|
132
|
-
console.log(
|
|
133
|
-
" pensar projects List workspace projects"
|
|
134
|
-
);
|
|
135
|
-
console.log(
|
|
136
|
-
" pensar pentests List and manage pentests"
|
|
137
|
-
);
|
|
138
|
-
console.log(
|
|
139
|
-
" pensar issues List and manage security issues"
|
|
140
|
-
);
|
|
141
|
-
console.log(
|
|
142
|
-
" pensar fixes View security fixes"
|
|
143
|
-
);
|
|
144
|
-
console.log(
|
|
145
|
-
" pensar logs View agent execution logs"
|
|
146
|
-
);
|
|
147
112
|
console.log();
|
|
148
113
|
console.log("Options:");
|
|
149
114
|
console.log(" -h, --help Show this help message");
|
|
@@ -261,14 +226,6 @@ if (command === "benchmark") {
|
|
|
261
226
|
console.log(" pensar auth");
|
|
262
227
|
console.log(" pensar auth status");
|
|
263
228
|
console.log(" pensar auth logout");
|
|
264
|
-
console.log();
|
|
265
|
-
console.log("Console API:");
|
|
266
|
-
console.log(" pensar projects");
|
|
267
|
-
console.log(" pensar pentests <projectId>");
|
|
268
|
-
console.log(" pensar issues <projectId>");
|
|
269
|
-
console.log(" pensar issues get <issueId>");
|
|
270
|
-
console.log(" pensar fixes <issueId>");
|
|
271
|
-
console.log(" pensar logs <issueId>");
|
|
272
229
|
} else if (args.length === 0) {
|
|
273
230
|
// No command specified, run the TUI
|
|
274
231
|
const appPath = join(__dirname, "..", "build", "index.js");
|
package/build/auth.js
CHANGED
|
@@ -8,7 +8,7 @@ import fs from "fs/promises";
|
|
|
8
8
|
// package.json
|
|
9
9
|
var package_default = {
|
|
10
10
|
name: "@pensar/apex",
|
|
11
|
-
version: "0.0.103
|
|
11
|
+
version: "0.0.103",
|
|
12
12
|
description: "AI-powered penetration testing CLI tool with terminal UI",
|
|
13
13
|
module: "src/tui/index.tsx",
|
|
14
14
|
main: "build/index.js",
|
package/build/index.js
CHANGED
|
@@ -31880,6 +31880,12 @@ var init_openrouter = __esm(() => {
|
|
|
31880
31880
|
var PENSAR_MODELS;
|
|
31881
31881
|
var init_pensar = __esm(() => {
|
|
31882
31882
|
PENSAR_MODELS = [
|
|
31883
|
+
{
|
|
31884
|
+
id: "pensar:anthropic.claude-opus-4-6-v1",
|
|
31885
|
+
name: "Claude Opus 4.6 (Pensar)",
|
|
31886
|
+
provider: "pensar",
|
|
31887
|
+
contextLength: 200000
|
|
31888
|
+
},
|
|
31883
31889
|
{
|
|
31884
31890
|
id: "pensar:anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
31885
31891
|
name: "Claude Sonnet 4.5 (Pensar)",
|
|
@@ -31971,7 +31977,7 @@ var package_default2;
|
|
|
31971
31977
|
var init_package = __esm(() => {
|
|
31972
31978
|
package_default2 = {
|
|
31973
31979
|
name: "@pensar/apex",
|
|
31974
|
-
version: "0.0.103
|
|
31980
|
+
version: "0.0.103",
|
|
31975
31981
|
description: "AI-powered penetration testing CLI tool with terminal UI",
|
|
31976
31982
|
module: "src/tui/index.tsx",
|
|
31977
31983
|
main: "build/index.js",
|