@uipath/docsai-tool 1.198.0-preview.90 → 1.199.0-preview.91

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.
Files changed (2) hide show
  1. package/dist/tool.js +5 -4
  2. package/package.json +2 -2
package/dist/tool.js CHANGED
@@ -27808,7 +27808,7 @@ var require_dist2 = __commonJS((exports, module) => {
27808
27808
  var package_default = {
27809
27809
  name: "@uipath/docsai-tool",
27810
27810
  license: "MIT",
27811
- version: "1.198.0-preview.90",
27811
+ version: "1.199.0-preview.91",
27812
27812
  description: "Search UiPath documentation with AI-powered answers.",
27813
27813
  private: false,
27814
27814
  repository: {
@@ -34453,6 +34453,7 @@ var SKILL_ATTRIBUTION = attributionRecord([
34453
34453
  var KNOWN_SKILL_NAMES = new Set(Object.keys(SKILL_ATTRIBUTION));
34454
34454
  var COMMAND_ATTRIBUTION = commandAttribution([
34455
34455
  ["cli", "troubleshoot", ["uip.feedback"]],
34456
+ ["llm-gateway", "operate", ["uip.llm-gateway"]],
34456
34457
  ["llm-gateway", "operate", ["uip.llm-configuration", "uip.model-hub"]],
34457
34458
  ["context-grounding", "build", ["uip.context-grounding"]],
34458
34459
  ["api-workflow", "build", ["uip.api-workflow"]],
@@ -34937,6 +34938,7 @@ var resolveConfigAsync = async ({
34937
34938
  customAuthority,
34938
34939
  customClientId,
34939
34940
  customClientSecret,
34941
+ customClientAssertion,
34940
34942
  customScopes
34941
34943
  } = {}) => {
34942
34944
  const fileAuth = getAuthFileConfig();
@@ -34962,7 +34964,7 @@ var resolveConfigAsync = async ({
34962
34964
  if (!clientSecret && fileAuth.clientSecret) {
34963
34965
  clientSecret = fileAuth.clientSecret;
34964
34966
  }
34965
- const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && Boolean(clientSecret);
34967
+ const isExternalAppAuth = clientId !== DEFAULT_CLIENT_ID && (Boolean(clientSecret) || Boolean(customClientAssertion));
34966
34968
  const scopes = resolveScopes(isExternalAppAuth, customScopes, fileAuth.scopes);
34967
34969
  return {
34968
34970
  clientId,
@@ -36048,7 +36050,6 @@ function normalizeTokenRefreshUnavailableFailure() {
36048
36050
  function errorMessage(error) {
36049
36051
  return error instanceof Error ? error.message : String(error);
36050
36052
  }
36051
-
36052
36053
  // ../auth/src/index.ts
36053
36054
  init_constants();
36054
36055
 
@@ -45361,4 +45362,4 @@ export {
45361
45362
  metadata
45362
45363
  };
45363
45364
 
45364
- //# debugId=9DAB4D42E371AFC364756E2164756E21
45365
+ //# debugId=F9328E569FB3FD6B64756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/docsai-tool",
3
3
  "license": "MIT",
4
- "version": "1.198.0-preview.90",
4
+ "version": "1.199.0-preview.91",
5
5
  "description": "Search UiPath documentation with AI-powered answers.",
6
6
  "private": false,
7
7
  "repository": {
@@ -26,5 +26,5 @@
26
26
  "files": [
27
27
  "dist"
28
28
  ],
29
- "gitHead": "7fa615fb10f91f98f796a038ea70569336611f42"
29
+ "gitHead": "f428cb1e61ba89ad18394b0c6106784055699f02"
30
30
  }