@pensar/apex 0.0.66 → 0.0.67-canary.3ce2b1e6
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/README.md +1 -1
- package/build/index.js +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<!-- <a href="https://www.npmjs.com/package/@pensar/apex"><img src="https://img.shields.io/npm/dm/@pensar/apex" alt="npm downloads"></a> -->
|
|
10
10
|
<a href="./LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue" alt="Apache 2.0 License"></a>
|
|
11
11
|
<a href="https://docs.pensar.dev/apex"><img src="https://img.shields.io/badge/docs-docs.pensar.dev/apex-purple?logo=readthedocs&logoColor=white" alt="Documentation"></a>
|
|
12
|
-
<a href="https://discord.gg/
|
|
12
|
+
<a href="https://discord.gg/pensar"><img src="https://img.shields.io/badge/Discord-Join%20Us-5865F2?logo=discord&logoColor=white" alt="Discord"></a>
|
|
13
13
|
</p>
|
|
14
14
|
|
|
15
15
|
<p align="center">
|
package/build/index.js
CHANGED
|
@@ -106241,6 +106241,7 @@ When to use delegate_to_auth_subagent vs authenticate_session:
|
|
|
106241
106241
|
credentials,
|
|
106242
106242
|
authHints,
|
|
106243
106243
|
model: ctx4.model,
|
|
106244
|
+
authConfig: ctx4.authConfig,
|
|
106244
106245
|
abortSignal: ctx4.abortSignal,
|
|
106245
106246
|
callbacks: ctx4.callbacks
|
|
106246
106247
|
});
|
|
@@ -146701,6 +146702,7 @@ function ToolDetails({ message }) {
|
|
|
146701
146702
|
function Pentest({ sessionId }) {
|
|
146702
146703
|
const { colors: colors2 } = useTheme();
|
|
146703
146704
|
const route = useRoute();
|
|
146705
|
+
const config4 = useConfig();
|
|
146704
146706
|
const { model, setThinking, setIsExecuting, isExecuting } = useAgent();
|
|
146705
146707
|
const { stack, externalDialogOpen } = useDialog();
|
|
146706
146708
|
const [session, setSession] = import_react73.useState(null);
|
|
@@ -146971,6 +146973,12 @@ function Pentest({ sessionId }) {
|
|
|
146971
146973
|
session: s,
|
|
146972
146974
|
model: model.id,
|
|
146973
146975
|
abortSignal: controller.signal,
|
|
146976
|
+
authConfig: {
|
|
146977
|
+
anthropicAPIKey: config4.data.anthropicAPIKey ?? undefined,
|
|
146978
|
+
openAiAPIKey: config4.data.openAiAPIKey ?? undefined,
|
|
146979
|
+
openRouterAPIKey: config4.data.openRouterAPIKey ?? undefined,
|
|
146980
|
+
local: config4.data.localModelUrl ? { baseURL: config4.data.localModelUrl } : undefined
|
|
146981
|
+
},
|
|
146974
146982
|
callbacks: {
|
|
146975
146983
|
onTextDelta: (d3) => {
|
|
146976
146984
|
setThinking(false);
|