@bytexbyte/nxtlinq-ai-agent-sdk 1.4.3 → 1.4.4
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatBotContext.d.ts","sourceRoot":"","sources":["../../../src/components/context/ChatBotContext.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EACL,kBAAkB,EAClB,YAAY,EAGb,MAAM,uBAAuB,CAAC;AAI/B,eAAO,MAAM,UAAU,0BAMtB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"ChatBotContext.d.ts","sourceRoot":"","sources":["../../../src/components/context/ChatBotContext.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EACL,kBAAkB,EAClB,YAAY,EAGb,MAAM,uBAAuB,CAAC;AAI/B,eAAO,MAAM,UAAU,0BAMtB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAyqDlD,CAAC"}
|
|
@@ -935,21 +935,9 @@ availableModels = DEFAULT_AI_MODELS, defaultModelIndex = 0, showModelSelector =
|
|
|
935
935
|
permissionDenied = true;
|
|
936
936
|
}
|
|
937
937
|
if (!isToolAllowed) {
|
|
938
|
-
// If permission denied due to missing AIT permission
|
|
938
|
+
// If permission denied due to missing AIT permission return
|
|
939
939
|
if (permissionDenied) {
|
|
940
940
|
setIsLoading(false);
|
|
941
|
-
setMessages(prev => [...prev, {
|
|
942
|
-
id: Date.now().toString(),
|
|
943
|
-
content: `You don't have the required AIT permission: ${toolUse.name}. Would you like to enable AIT permission?`,
|
|
944
|
-
role: 'assistant',
|
|
945
|
-
timestamp: new Date().toISOString(),
|
|
946
|
-
button: 'enableAIT',
|
|
947
|
-
metadata: {
|
|
948
|
-
requiresPermissionUpdate: true,
|
|
949
|
-
toolName: toolUse.name,
|
|
950
|
-
requiredPermission: toolUse.name
|
|
951
|
-
}
|
|
952
|
-
}]);
|
|
953
941
|
return;
|
|
954
942
|
}
|
|
955
943
|
// Only retry for auto-connect/auto-sign-in scenarios
|
package/package.json
CHANGED