opencode-m365-copilot 0.3.3 → 0.3.5
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/{agent-CdFt3iSQ.mjs → agent-gllWWI9m.mjs} +14 -5
- package/dist/cli.mjs +3 -3
- package/dist/{dist-Bx5AzuFm.mjs → dist-CQqDXRJD.mjs} +118 -117
- package/dist/{login-CRnd-p8w.mjs → login-DGT4kHJ1.mjs} +2 -2
- package/dist/plugin.mjs +2 -2
- package/dist/{server-Bfa7StU_.mjs → server-CvdPE1oi.mjs} +46 -8
- package/dist/server.mjs +1 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as createLogger, b as AGENT_FILE, d as POWERPLATFORM_SCOPE, l as BAP_SCOPE, y as writePrivateFile } from "./server-
|
|
1
|
+
import { _ as createLogger, b as AGENT_FILE, d as POWERPLATFORM_SCOPE, l as BAP_SCOPE, y as writePrivateFile } from "./server-CvdPE1oi.mjs";
|
|
2
2
|
import { createHash } from "node:crypto";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
//#region src/agent.ts
|
|
@@ -126,7 +126,7 @@ async function getOrCreateAgent(deps) {
|
|
|
126
126
|
async function discoverEnvironmentId(doFetch, getTokenForScope) {
|
|
127
127
|
const token = await getTokenForScope([BAP_SCOPE]);
|
|
128
128
|
const response = await doFetch(BAP_ENVIRONMENT_URL, { headers: { Authorization: `Bearer ${token}` } });
|
|
129
|
-
if (!response.ok) throw new
|
|
129
|
+
if (!response.ok) throw new AgentHttpError(await describeFailure("environment discovery", response), response.status);
|
|
130
130
|
const name = (await response.json())?.name ?? "";
|
|
131
131
|
const guid = name.replace(/^Default-/i, "");
|
|
132
132
|
if (!guid) throw new Error(`Power Platform returned an unexpected environment name: ${JSON.stringify(name)}`);
|
|
@@ -140,7 +140,7 @@ async function discoverEnvironmentId(doFetch, getTokenForScope) {
|
|
|
140
140
|
*/
|
|
141
141
|
async function findBot(doFetch, host, token, name) {
|
|
142
142
|
const response = await doFetch(`https://${host}/copilotstudio/minimalBots/api/botlist?api-version=${COPILOT_STUDIO_API_VERSION}`, { headers: { Authorization: `Bearer ${token}` } });
|
|
143
|
-
if (!response.ok) throw new
|
|
143
|
+
if (!response.ok) throw new AgentHttpError(await describeFailure("listing agents", response), response.status);
|
|
144
144
|
const body = await response.json();
|
|
145
145
|
const match = (body?.value ?? body?.bots ?? []).find((bot) => bot?.shortBotName === name || bot?.displayName === name);
|
|
146
146
|
if (!match) return void 0;
|
|
@@ -167,7 +167,7 @@ async function createBot(doFetch, host, token, name) {
|
|
|
167
167
|
}
|
|
168
168
|
})
|
|
169
169
|
});
|
|
170
|
-
if (!response.ok) throw new
|
|
170
|
+
if (!response.ok) throw new AgentHttpError(await describeFailure("creating the agent", response), response.status);
|
|
171
171
|
const body = await response.json();
|
|
172
172
|
const botId = body?.botId ?? body?.id;
|
|
173
173
|
if (!botId) throw new Error("Copilot Studio created an agent but returned no bot id");
|
|
@@ -182,12 +182,21 @@ async function publishBot(doFetch, host, token, botId) {
|
|
|
182
182
|
},
|
|
183
183
|
body: JSON.stringify({ botId })
|
|
184
184
|
});
|
|
185
|
-
if (!response.ok) throw new
|
|
185
|
+
if (!response.ok) throw new AgentHttpError(await describeFailure("publishing the agent", response), response.status);
|
|
186
186
|
const body = await response.json();
|
|
187
187
|
const titleId = body?.titleId ?? body?.TitleId;
|
|
188
188
|
if (!titleId) throw new Error("Copilot Studio published the agent but returned no title id");
|
|
189
189
|
return titleId;
|
|
190
190
|
}
|
|
191
|
+
/** A Copilot Studio / Power Platform call answered with a non-2xx status. */
|
|
192
|
+
var AgentHttpError = class extends Error {
|
|
193
|
+
status;
|
|
194
|
+
constructor(message, status) {
|
|
195
|
+
super(message);
|
|
196
|
+
this.status = status;
|
|
197
|
+
this.name = "AgentHttpError";
|
|
198
|
+
}
|
|
199
|
+
};
|
|
191
200
|
async function describeFailure(what, response) {
|
|
192
201
|
let detail = "";
|
|
193
202
|
try {
|
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { C as SECRETS_FILE, M as LOCAL_TITLE_MODEL, S as CONFIG_DIR, T as PROVIDER_ID, a as startServer, b as AGENT_FILE, g as createTokenClient, j as DEFAULT_MODEL, k as mergeOpencodeConfig, x as CACHE_FILE } from "./server-
|
|
3
|
-
import { t as getOrCreateAgent } from "./agent-
|
|
2
|
+
import { C as SECRETS_FILE, M as LOCAL_TITLE_MODEL, S as CONFIG_DIR, T as PROVIDER_ID, a as startServer, b as AGENT_FILE, g as createTokenClient, j as DEFAULT_MODEL, k as mergeOpencodeConfig, x as CACHE_FILE } from "./server-CvdPE1oi.mjs";
|
|
3
|
+
import { t as getOrCreateAgent } from "./agent-gllWWI9m.mjs";
|
|
4
4
|
import { copyFileSync, existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
5
5
|
import { homedir } from "node:os";
|
|
6
6
|
import { dirname, join, resolve } from "node:path";
|
|
@@ -46,7 +46,7 @@ to complete SSO/MFA by hand once — the only option on tenants with push-only
|
|
|
46
46
|
MFA, FIDO2, or a federated IdP.`);
|
|
47
47
|
}
|
|
48
48
|
async function doLogin(args) {
|
|
49
|
-
const { login } = await import("./login-
|
|
49
|
+
const { login } = await import("./login-DGT4kHJ1.mjs");
|
|
50
50
|
const interactive = args.includes("--interactive");
|
|
51
51
|
try {
|
|
52
52
|
const account = await login({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { F as __require, I as __toESM, P as __commonJSMin } from "./server-
|
|
1
|
+
import { F as __require, I as __toESM, P as __commonJSMin } from "./server-CvdPE1oi.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import http from "http";
|
|
4
4
|
import crypto, { createHash as createHash$1 } from "crypto";
|
|
5
5
|
//#region node_modules/@azure/msal-node/dist/cache/serializer/Serializer.mjs
|
|
6
|
-
/*! @azure/msal-node v7.0.
|
|
6
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
7
7
|
/**
|
|
8
8
|
* This class serializes cache entities to be saved into in-memory object types defined internally
|
|
9
9
|
* @internal
|
|
@@ -143,7 +143,7 @@ var Serializer = class {
|
|
|
143
143
|
};
|
|
144
144
|
//#endregion
|
|
145
145
|
//#region node_modules/@azure/msal-common/dist/constants/AADServerParamKeys.mjs
|
|
146
|
-
/*! @azure/msal-common v16.14.
|
|
146
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
147
147
|
const CLIENT_ID = "client_id";
|
|
148
148
|
const REDIRECT_URI = "redirect_uri";
|
|
149
149
|
const RESPONSE_TYPE = "response_type";
|
|
@@ -190,7 +190,7 @@ const CLI_DATA = "clidata";
|
|
|
190
190
|
const ATTRIBUTE_TOKENS = "attribute_tokens";
|
|
191
191
|
//#endregion
|
|
192
192
|
//#region node_modules/@azure/msal-common/dist/utils/Constants.mjs
|
|
193
|
-
/*! @azure/msal-common v16.14.
|
|
193
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
194
194
|
const SKU = "msal.js.common";
|
|
195
195
|
const DEFAULT_AUTHORITY = "https://login.microsoftonline.com/common/";
|
|
196
196
|
const DEFAULT_AUTHORITY_HOST = "login.microsoftonline.com";
|
|
@@ -393,7 +393,7 @@ const EncodingTypes = {
|
|
|
393
393
|
};
|
|
394
394
|
//#endregion
|
|
395
395
|
//#region node_modules/@azure/msal-common/dist/error/AuthError.mjs
|
|
396
|
-
/*! @azure/msal-common v16.14.
|
|
396
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
397
397
|
function getDefaultErrorMessage(code) {
|
|
398
398
|
return `See https://aka.ms/msal.js.errors#${code} for details`;
|
|
399
399
|
}
|
|
@@ -418,7 +418,7 @@ function createAuthError(code, correlationId, additionalMessage) {
|
|
|
418
418
|
}
|
|
419
419
|
//#endregion
|
|
420
420
|
//#region node_modules/@azure/msal-common/dist/error/ClientAuthError.mjs
|
|
421
|
-
/*! @azure/msal-common v16.14.
|
|
421
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
422
422
|
/**
|
|
423
423
|
* ClientAuthErrorMessage class containing string constants used by error codes and messages.
|
|
424
424
|
*/
|
|
@@ -437,7 +437,7 @@ function createClientAuthError(errorCode, correlationId, additionalMessage) {
|
|
|
437
437
|
}
|
|
438
438
|
//#endregion
|
|
439
439
|
//#region node_modules/@azure/msal-common/dist/error/ClientAuthErrorCodes.mjs
|
|
440
|
-
/*! @azure/msal-common v16.14.
|
|
440
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
441
441
|
const clientInfoDecodingError = "client_info_decoding_error";
|
|
442
442
|
const clientInfoEmptyError = "client_info_empty_error";
|
|
443
443
|
const tokenParsingError = "token_parsing_error";
|
|
@@ -468,7 +468,7 @@ const resourceParameterRequired = "resource_parameter_required";
|
|
|
468
468
|
const misplacedResourceParam = "misplaced_resource_parameter";
|
|
469
469
|
//#endregion
|
|
470
470
|
//#region node_modules/@azure/msal-common/dist/account/ClientInfo.mjs
|
|
471
|
-
/*! @azure/msal-common v16.14.
|
|
471
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
472
472
|
/**
|
|
473
473
|
* Function to build a client info object from server clientInfo string
|
|
474
474
|
* @param rawClientInfo
|
|
@@ -497,7 +497,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
497
497
|
}
|
|
498
498
|
//#endregion
|
|
499
499
|
//#region node_modules/@azure/msal-common/dist/account/AuthToken.mjs
|
|
500
|
-
/*! @azure/msal-common v16.14.
|
|
500
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
501
501
|
/**
|
|
502
502
|
* Extract token by decoding the rawToken
|
|
503
503
|
*
|
|
@@ -549,7 +549,7 @@ function getJWSPayload(authToken, correlationId) {
|
|
|
549
549
|
}
|
|
550
550
|
//#endregion
|
|
551
551
|
//#region node_modules/@azure/msal-common/dist/account/AccountInfo.mjs
|
|
552
|
-
/*! @azure/msal-common v16.14.
|
|
552
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
553
553
|
/**
|
|
554
554
|
* Returns true if tenantId matches the utid portion of homeAccountId
|
|
555
555
|
* @param tenantId
|
|
@@ -626,7 +626,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
626
626
|
}
|
|
627
627
|
//#endregion
|
|
628
628
|
//#region node_modules/@azure/msal-common/dist/authority/AuthorityType.mjs
|
|
629
|
-
/*! @azure/msal-common v16.14.
|
|
629
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
630
630
|
/**
|
|
631
631
|
* Authority types supported by MSAL.
|
|
632
632
|
*/
|
|
@@ -637,7 +637,7 @@ const AuthorityType = {
|
|
|
637
637
|
};
|
|
638
638
|
//#endregion
|
|
639
639
|
//#region node_modules/@azure/msal-common/dist/account/TokenClaims.mjs
|
|
640
|
-
/*! @azure/msal-common v16.14.
|
|
640
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
641
641
|
/**
|
|
642
642
|
* Gets tenantId from available ID token claims to set as credential realm with the following precedence:
|
|
643
643
|
* 1. tid - if the token is acquired from an Azure AD tenant tid will be present
|
|
@@ -653,7 +653,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
653
653
|
}
|
|
654
654
|
//#endregion
|
|
655
655
|
//#region node_modules/@azure/msal-common/dist/authority/ProtocolMode.mjs
|
|
656
|
-
/*! @azure/msal-common v16.14.
|
|
656
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
657
657
|
/**
|
|
658
658
|
* Protocol modes supported by MSAL.
|
|
659
659
|
*/
|
|
@@ -674,7 +674,7 @@ const ProtocolMode = {
|
|
|
674
674
|
};
|
|
675
675
|
//#endregion
|
|
676
676
|
//#region node_modules/@azure/msal-common/dist/cache/utils/AccountEntityUtils.mjs
|
|
677
|
-
/*! @azure/msal-common v16.14.
|
|
677
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
678
678
|
/**
|
|
679
679
|
* Returns the AccountInfo interface for this account.
|
|
680
680
|
* @internal
|
|
@@ -771,11 +771,11 @@ function isAccountEntity(entity) {
|
|
|
771
771
|
}
|
|
772
772
|
//#endregion
|
|
773
773
|
//#region node_modules/@azure/msal-common/dist/error/AuthErrorCodes.mjs
|
|
774
|
-
/*! @azure/msal-common v16.14.
|
|
774
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
775
775
|
const postRequestFailed = "post_request_failed";
|
|
776
776
|
//#endregion
|
|
777
777
|
//#region node_modules/@azure/msal-common/dist/error/ClientConfigurationError.mjs
|
|
778
|
-
/*! @azure/msal-common v16.14.
|
|
778
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
779
779
|
/**
|
|
780
780
|
* Error thrown when there is an error in configuration of the MSAL.js library.
|
|
781
781
|
*/
|
|
@@ -791,7 +791,7 @@ function createClientConfigurationError(errorCode, correlationId) {
|
|
|
791
791
|
}
|
|
792
792
|
//#endregion
|
|
793
793
|
//#region node_modules/@azure/msal-common/dist/error/ClientConfigurationErrorCodes.mjs
|
|
794
|
-
/*! @azure/msal-common v16.14.
|
|
794
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
795
795
|
const redirectUriEmpty = "redirect_uri_empty";
|
|
796
796
|
const authorityUriInsecure = "authority_uri_insecure";
|
|
797
797
|
const urlParseError = "url_parse_error";
|
|
@@ -813,13 +813,13 @@ const invalidDpopNonce = "invalid_dpop_nonce";
|
|
|
813
813
|
const dpopMissingResourceContext = "dpop_missing_resource_context";
|
|
814
814
|
//#endregion
|
|
815
815
|
//#region node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.mjs
|
|
816
|
-
/*! @azure/msal-common v16.14.
|
|
816
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
817
817
|
function isOpenIdConfigResponse(response) {
|
|
818
818
|
return response.hasOwnProperty("authorization_endpoint") && response.hasOwnProperty("token_endpoint") && response.hasOwnProperty("issuer") && response.hasOwnProperty("jwks_uri");
|
|
819
819
|
}
|
|
820
820
|
//#endregion
|
|
821
821
|
//#region node_modules/@azure/msal-common/dist/utils/StringUtils.mjs
|
|
822
|
-
/*! @azure/msal-common v16.14.
|
|
822
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
823
823
|
/**
|
|
824
824
|
* @hidden
|
|
825
825
|
*/
|
|
@@ -889,7 +889,7 @@ var StringUtils = class {
|
|
|
889
889
|
};
|
|
890
890
|
//#endregion
|
|
891
891
|
//#region node_modules/@azure/msal-common/dist/url/UrlString.mjs
|
|
892
|
-
/*! @azure/msal-common v16.14.
|
|
892
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
893
893
|
/**
|
|
894
894
|
* Url object class which can perform various transformations on url strings.
|
|
895
895
|
*/
|
|
@@ -996,7 +996,7 @@ var UrlString = class UrlString {
|
|
|
996
996
|
};
|
|
997
997
|
//#endregion
|
|
998
998
|
//#region node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.mjs
|
|
999
|
-
/*! @azure/msal-common v16.14.
|
|
999
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
1000
1000
|
const endpointHosts = [
|
|
1001
1001
|
{ host: "login.microsoftonline.com" },
|
|
1002
1002
|
{ host: "login.partner.microsoftonline.cn" },
|
|
@@ -1127,7 +1127,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
1127
1127
|
}
|
|
1128
1128
|
//#endregion
|
|
1129
1129
|
//#region node_modules/@azure/msal-common/dist/authority/AuthorityOptions.mjs
|
|
1130
|
-
/*! @azure/msal-common v16.14.
|
|
1130
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
1131
1131
|
const AzureCloudInstance = {
|
|
1132
1132
|
None: "none",
|
|
1133
1133
|
AzurePublic: "https://login.microsoftonline.com",
|
|
@@ -1137,19 +1137,19 @@ const AzureCloudInstance = {
|
|
|
1137
1137
|
};
|
|
1138
1138
|
//#endregion
|
|
1139
1139
|
//#region node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.mjs
|
|
1140
|
-
/*! @azure/msal-common v16.14.
|
|
1140
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
1141
1141
|
function isCloudInstanceDiscoveryResponse(response) {
|
|
1142
1142
|
return response.hasOwnProperty("tenant_discovery_endpoint") && response.hasOwnProperty("metadata");
|
|
1143
1143
|
}
|
|
1144
1144
|
//#endregion
|
|
1145
1145
|
//#region node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs
|
|
1146
|
-
/*! @azure/msal-common v16.14.
|
|
1146
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
1147
1147
|
function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
1148
1148
|
return response.hasOwnProperty("error") && response.hasOwnProperty("error_description");
|
|
1149
1149
|
}
|
|
1150
1150
|
//#endregion
|
|
1151
1151
|
//#region node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvents.mjs
|
|
1152
|
-
/*! @azure/msal-common v16.14.
|
|
1152
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
1153
1153
|
/**
|
|
1154
1154
|
* Time spent sending/waiting for the response of a request to the token endpoint
|
|
1155
1155
|
*/
|
|
@@ -1208,7 +1208,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
|
|
|
1208
1208
|
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
1209
1209
|
//#endregion
|
|
1210
1210
|
//#region node_modules/@azure/msal-common/dist/utils/FunctionWrappers.mjs
|
|
1211
|
-
/*! @azure/msal-common v16.14.
|
|
1211
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
1212
1212
|
/**
|
|
1213
1213
|
* Wraps a function with a performance measurement.
|
|
1214
1214
|
* Usage: invoke(functionToCall, performanceClient, "EventName", "correlationId")(...argsToPassToFunction)
|
|
@@ -1277,7 +1277,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
1277
1277
|
};
|
|
1278
1278
|
//#endregion
|
|
1279
1279
|
//#region node_modules/@azure/msal-common/dist/authority/RegionDiscovery.mjs
|
|
1280
|
-
/*! @azure/msal-common v16.14.
|
|
1280
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
1281
1281
|
var RegionDiscovery = class RegionDiscovery {
|
|
1282
1282
|
constructor(networkInterface, logger, performanceClient, correlationId) {
|
|
1283
1283
|
this.networkInterface = networkInterface;
|
|
@@ -1348,7 +1348,7 @@ var RegionDiscovery = class RegionDiscovery {
|
|
|
1348
1348
|
RegionDiscovery.IMDS_OPTIONS = { headers: { Metadata: "true" } };
|
|
1349
1349
|
//#endregion
|
|
1350
1350
|
//#region node_modules/@azure/msal-common/dist/utils/TimeUtils.mjs
|
|
1351
|
-
/*! @azure/msal-common v16.14.
|
|
1351
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
1352
1352
|
/**
|
|
1353
1353
|
* Utility functions for managing date and time operations.
|
|
1354
1354
|
*/
|
|
@@ -1393,7 +1393,7 @@ function delay(t, value) {
|
|
|
1393
1393
|
}
|
|
1394
1394
|
//#endregion
|
|
1395
1395
|
//#region node_modules/@azure/msal-common/dist/cache/utils/CacheHelpers.mjs
|
|
1396
|
-
/*! @azure/msal-common v16.14.
|
|
1396
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
1397
1397
|
/**
|
|
1398
1398
|
* Create IdTokenEntity
|
|
1399
1399
|
* @param homeAccountId
|
|
@@ -1593,7 +1593,7 @@ function serializeAttributeTokens(attributeTokens) {
|
|
|
1593
1593
|
}
|
|
1594
1594
|
//#endregion
|
|
1595
1595
|
//#region node_modules/@azure/msal-common/dist/authority/Authority.mjs
|
|
1596
|
-
/*! @azure/msal-common v16.14.
|
|
1596
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
1597
1597
|
/**
|
|
1598
1598
|
* The authority class validates the authority URIs used by the user, and retrieves the OpenID Configuration Data from the
|
|
1599
1599
|
* endpoint. It will store the pertinent config data in this object for use during token calls.
|
|
@@ -2327,7 +2327,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
2327
2327
|
}
|
|
2328
2328
|
//#endregion
|
|
2329
2329
|
//#region node_modules/@azure/msal-common/dist/authority/AuthorityFactory.mjs
|
|
2330
|
-
/*! @azure/msal-common v16.14.
|
|
2330
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
2331
2331
|
/**
|
|
2332
2332
|
* Create an authority object of the correct type based on the url
|
|
2333
2333
|
* Performs basic authority validation - checks to see if the authority is of a valid type (i.e. aad, b2c, adfs)
|
|
@@ -2354,7 +2354,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
2354
2354
|
}
|
|
2355
2355
|
//#endregion
|
|
2356
2356
|
//#region node_modules/@azure/msal-common/dist/request/ScopeSet.mjs
|
|
2357
|
-
/*! @azure/msal-common v16.14.
|
|
2357
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
2358
2358
|
/**
|
|
2359
2359
|
* The ScopeSet class creates a set of scopes. Scopes are case-insensitive, unique values, so the Set object in JS makes
|
|
2360
2360
|
* the most sense to implement for this class. All scopes are trimmed and converted to lower case strings in intersection and union functions
|
|
@@ -2506,7 +2506,7 @@ var ScopeSet = class ScopeSet {
|
|
|
2506
2506
|
};
|
|
2507
2507
|
//#endregion
|
|
2508
2508
|
//#region node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.mjs
|
|
2509
|
-
/*! @azure/msal-common v16.14.
|
|
2509
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
2510
2510
|
function instrumentBrokerParams(parameters, correlationId, performanceClient) {
|
|
2511
2511
|
if (!correlationId) return;
|
|
2512
2512
|
const clientId = parameters.get(CLIENT_ID);
|
|
@@ -2915,7 +2915,7 @@ function addAttributeTokens(parameters, attributeTokens) {
|
|
|
2915
2915
|
}
|
|
2916
2916
|
//#endregion
|
|
2917
2917
|
//#region node_modules/@azure/msal-common/dist/utils/UrlUtils.mjs
|
|
2918
|
-
/*! @azure/msal-common v16.14.
|
|
2918
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
2919
2919
|
/**
|
|
2920
2920
|
* Parses hash string from given string. Returns empty string if no hash symbol is found.
|
|
2921
2921
|
* @param hashString
|
|
@@ -2951,7 +2951,7 @@ function mapToQueryString(parameters) {
|
|
|
2951
2951
|
}
|
|
2952
2952
|
//#endregion
|
|
2953
2953
|
//#region node_modules/@azure/msal-common/dist/crypto/ICrypto.mjs
|
|
2954
|
-
/*! @azure/msal-common v16.14.
|
|
2954
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
2955
2955
|
/**
|
|
2956
2956
|
* Shared JOSE algorithm literals used by MSAL package internals.
|
|
2957
2957
|
* @internal
|
|
@@ -2995,7 +2995,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
2995
2995
|
};
|
|
2996
2996
|
//#endregion
|
|
2997
2997
|
//#region node_modules/@azure/msal-common/dist/crypto/ITokenBindingKeyManager.mjs
|
|
2998
|
-
/*! @azure/msal-common v16.14.
|
|
2998
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
2999
2999
|
/**
|
|
3000
3000
|
* Default token-binding key manager used when a platform-specific implementation
|
|
3001
3001
|
* has not been provided.
|
|
@@ -3014,7 +3014,7 @@ const DEFAULT_TOKEN_BINDING_KEY_MANAGER = {
|
|
|
3014
3014
|
};
|
|
3015
3015
|
//#endregion
|
|
3016
3016
|
//#region node_modules/@azure/msal-common/dist/logger/Logger.mjs
|
|
3017
|
-
/*! @azure/msal-common v16.14.
|
|
3017
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
3018
3018
|
/**
|
|
3019
3019
|
* Log message level.
|
|
3020
3020
|
*/
|
|
@@ -3245,17 +3245,17 @@ var Logger = class Logger {
|
|
|
3245
3245
|
};
|
|
3246
3246
|
//#endregion
|
|
3247
3247
|
//#region node_modules/@azure/msal-common/dist/packageMetadata.mjs
|
|
3248
|
-
/*! @azure/msal-common v16.14.
|
|
3248
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
3249
3249
|
const name$1 = "@azure/msal-common";
|
|
3250
|
-
const version$1 = "16.14.
|
|
3250
|
+
const version$1 = "16.14.2";
|
|
3251
3251
|
//#endregion
|
|
3252
3252
|
//#region node_modules/@azure/msal-common/dist/error/CacheErrorCodes.mjs
|
|
3253
|
-
/*! @azure/msal-common v16.14.
|
|
3253
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
3254
3254
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
3255
3255
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
3256
3256
|
//#endregion
|
|
3257
3257
|
//#region node_modules/@azure/msal-common/dist/error/CacheError.mjs
|
|
3258
|
-
/*! @azure/msal-common v16.14.
|
|
3258
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
3259
3259
|
/**
|
|
3260
3260
|
* Error thrown when there is an error with the cache
|
|
3261
3261
|
*/
|
|
@@ -3281,7 +3281,7 @@ function createCacheError(e) {
|
|
|
3281
3281
|
}
|
|
3282
3282
|
//#endregion
|
|
3283
3283
|
//#region node_modules/@azure/msal-common/dist/cache/CacheManager.mjs
|
|
3284
|
-
/*! @azure/msal-common v16.14.
|
|
3284
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
3285
3285
|
/**
|
|
3286
3286
|
* Interface class which implement cache storage functions used by MSAL to perform validity checks, and store tokens.
|
|
3287
3287
|
* @internal
|
|
@@ -4130,7 +4130,7 @@ var DefaultStorageClass = class extends CacheManager {
|
|
|
4130
4130
|
};
|
|
4131
4131
|
//#endregion
|
|
4132
4132
|
//#region node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.mjs
|
|
4133
|
-
/*! @azure/msal-common v16.14.
|
|
4133
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
4134
4134
|
/**
|
|
4135
4135
|
* State of the performance event.
|
|
4136
4136
|
*
|
|
@@ -4144,7 +4144,7 @@ const PerformanceEventStatus = {
|
|
|
4144
4144
|
};
|
|
4145
4145
|
//#endregion
|
|
4146
4146
|
//#region node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.mjs
|
|
4147
|
-
/*! @azure/msal-common v16.14.
|
|
4147
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
4148
4148
|
var StubPerformanceClient = class {
|
|
4149
4149
|
generateId() {
|
|
4150
4150
|
return "callback-id";
|
|
@@ -4186,7 +4186,7 @@ var StubPerformanceClient = class {
|
|
|
4186
4186
|
};
|
|
4187
4187
|
//#endregion
|
|
4188
4188
|
//#region node_modules/@azure/msal-common/dist/config/ClientConfiguration.mjs
|
|
4189
|
-
/*! @azure/msal-common v16.14.
|
|
4189
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
4190
4190
|
const DEFAULT_SYSTEM_OPTIONS$1 = {
|
|
4191
4191
|
tokenRenewalOffsetSeconds: 300,
|
|
4192
4192
|
preventCorsPreflight: false
|
|
@@ -4244,7 +4244,7 @@ function buildClientConfiguration({ authOptions: userAuthOptions, systemOptions:
|
|
|
4244
4244
|
...userSystemOptions
|
|
4245
4245
|
},
|
|
4246
4246
|
loggerOptions,
|
|
4247
|
-
storageInterface: storageImplementation || new DefaultStorageClass(userAuthOptions.clientId, DEFAULT_CRYPTO_IMPLEMENTATION, new Logger(loggerOptions, "@azure/msal-common", "16.14.
|
|
4247
|
+
storageInterface: storageImplementation || new DefaultStorageClass(userAuthOptions.clientId, DEFAULT_CRYPTO_IMPLEMENTATION, new Logger(loggerOptions, "@azure/msal-common", "16.14.2"), new StubPerformanceClient(), void 0, resolvedTokenBindingKeyManager),
|
|
4248
4248
|
networkInterface: networkImplementation || DEFAULT_NETWORK_IMPLEMENTATION,
|
|
4249
4249
|
cryptoInterface: cryptoImplementation || DEFAULT_CRYPTO_IMPLEMENTATION,
|
|
4250
4250
|
tokenBindingKeyManager: resolvedTokenBindingKeyManager,
|
|
@@ -4284,7 +4284,7 @@ function isOidcProtocolMode(config) {
|
|
|
4284
4284
|
}
|
|
4285
4285
|
//#endregion
|
|
4286
4286
|
//#region node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.mjs
|
|
4287
|
-
/*! @azure/msal-common v16.14.
|
|
4287
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
4288
4288
|
/**
|
|
4289
4289
|
* This class instance helps track the memory changes facilitating
|
|
4290
4290
|
* decisions to read from and write to the persistent cache
|
|
@@ -4308,7 +4308,7 @@ function isOidcProtocolMode(config) {
|
|
|
4308
4308
|
};
|
|
4309
4309
|
//#endregion
|
|
4310
4310
|
//#region node_modules/@azure/msal-common/dist/error/JoseHeaderError.mjs
|
|
4311
|
-
/*! @azure/msal-common v16.14.
|
|
4311
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
4312
4312
|
/**
|
|
4313
4313
|
* Error thrown when there is an error in the client code running on the browser.
|
|
4314
4314
|
*/
|
|
@@ -4325,7 +4325,7 @@ function createJoseHeaderError(code, correlationId) {
|
|
|
4325
4325
|
}
|
|
4326
4326
|
//#endregion
|
|
4327
4327
|
//#region node_modules/@azure/msal-common/dist/utils/ObjectUtils.mjs
|
|
4328
|
-
/*! @azure/msal-common v16.14.
|
|
4328
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
4329
4329
|
/**
|
|
4330
4330
|
* Checks whether a value is a plain JSON-like object.
|
|
4331
4331
|
* Allows objects with null prototypes, but rejects arrays and object subclasses.
|
|
@@ -4339,14 +4339,14 @@ function isPlainObject(value) {
|
|
|
4339
4339
|
}
|
|
4340
4340
|
//#endregion
|
|
4341
4341
|
//#region node_modules/@azure/msal-common/dist/error/JoseHeaderErrorCodes.mjs
|
|
4342
|
-
/*! @azure/msal-common v16.14.
|
|
4342
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
4343
4343
|
const missingKidError = "missing_kid_error";
|
|
4344
4344
|
const missingAlgError = "missing_alg_error";
|
|
4345
4345
|
const missingJwkError = "missing_jwk_error";
|
|
4346
4346
|
const invalidJwkError = "invalid_jwk_error";
|
|
4347
4347
|
//#endregion
|
|
4348
4348
|
//#region node_modules/@azure/msal-common/dist/crypto/JoseHeader.mjs
|
|
4349
|
-
/*! @azure/msal-common v16.14.
|
|
4349
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
4350
4350
|
/** @internal */
|
|
4351
4351
|
var JoseHeader = class JoseHeader {
|
|
4352
4352
|
constructor(options, correlationId) {
|
|
@@ -4393,7 +4393,7 @@ var JoseHeader = class JoseHeader {
|
|
|
4393
4393
|
};
|
|
4394
4394
|
//#endregion
|
|
4395
4395
|
//#region node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.mjs
|
|
4396
|
-
/*! @azure/msal-common v16.14.
|
|
4396
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
4397
4397
|
const KeyLocation = { SW: "sw" };
|
|
4398
4398
|
const SHR_TOKEN_BINDING_KEY_TYPE = "shr";
|
|
4399
4399
|
const SHR_TOKEN_BINDING_KEY_ALGORITHM = JsonWebTokenAlgorithms.RS256;
|
|
@@ -4478,7 +4478,7 @@ var PopTokenGenerator = class {
|
|
|
4478
4478
|
};
|
|
4479
4479
|
//#endregion
|
|
4480
4480
|
//#region node_modules/@azure/msal-common/dist/crypto/DpopProofGenerator.mjs
|
|
4481
|
-
/*! @azure/msal-common v16.14.
|
|
4481
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
4482
4482
|
const DPOP_HTM_REGEX = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
|
|
4483
4483
|
const DPOP_TOKEN_BINDING_KEY_TYPE = "dpop";
|
|
4484
4484
|
const DPOP_JWT_HEADER_ALGORITHM = JsonWebTokenAlgorithms.ES256;
|
|
@@ -4603,7 +4603,7 @@ var DpopProofGenerator = class {
|
|
|
4603
4603
|
};
|
|
4604
4604
|
//#endregion
|
|
4605
4605
|
//#region node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthErrorCodes.mjs
|
|
4606
|
-
/*! @azure/msal-common v16.14.
|
|
4606
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
4607
4607
|
/**
|
|
4608
4608
|
* MSAL-defined interaction required error code indicating no tokens are found in cache.
|
|
4609
4609
|
* @public
|
|
@@ -4616,7 +4616,7 @@ const noTokensFound = "no_tokens_found";
|
|
|
4616
4616
|
const refreshTokenExpired = "refresh_token_expired";
|
|
4617
4617
|
//#endregion
|
|
4618
4618
|
//#region node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.mjs
|
|
4619
|
-
/*! @azure/msal-common v16.14.
|
|
4619
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
4620
4620
|
/**
|
|
4621
4621
|
* InteractionRequiredServerErrorMessage contains string constants used by error codes and messages returned by the server indicating interaction is required
|
|
4622
4622
|
*/
|
|
@@ -4674,7 +4674,7 @@ function createInteractionRequiredAuthError(errorCode, correlationId, errorMessa
|
|
|
4674
4674
|
}
|
|
4675
4675
|
//#endregion
|
|
4676
4676
|
//#region node_modules/@azure/msal-common/dist/error/ServerError.mjs
|
|
4677
|
-
/*! @azure/msal-common v16.14.
|
|
4677
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
4678
4678
|
/**
|
|
4679
4679
|
* Error thrown when there is an error with the server code, for example, unavailability.
|
|
4680
4680
|
*/
|
|
@@ -4689,7 +4689,7 @@ var ServerError = class ServerError extends AuthError {
|
|
|
4689
4689
|
};
|
|
4690
4690
|
//#endregion
|
|
4691
4691
|
//#region node_modules/@azure/msal-common/dist/utils/ProtocolUtils.mjs
|
|
4692
|
-
/*! @azure/msal-common v16.14.
|
|
4692
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
4693
4693
|
/**
|
|
4694
4694
|
* Parses the state into the RequestStateObject, which contains the LibraryState info and the state passed by the user.
|
|
4695
4695
|
* @param base64Decode
|
|
@@ -4715,7 +4715,7 @@ function parseRequestState(base64Decode, state, correlationId) {
|
|
|
4715
4715
|
}
|
|
4716
4716
|
//#endregion
|
|
4717
4717
|
//#region node_modules/@azure/msal-common/dist/response/ResponseHandler.mjs
|
|
4718
|
-
/*! @azure/msal-common v16.14.
|
|
4718
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
4719
4719
|
/**
|
|
4720
4720
|
* Class that handles response parsing.
|
|
4721
4721
|
* @internal
|
|
@@ -4985,14 +4985,14 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
4985
4985
|
}
|
|
4986
4986
|
//#endregion
|
|
4987
4987
|
//#region node_modules/@azure/msal-common/dist/account/CcsCredential.mjs
|
|
4988
|
-
/*! @azure/msal-common v16.14.
|
|
4988
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
4989
4989
|
const CcsCredentialType = {
|
|
4990
4990
|
HOME_ACCOUNT_ID: "home_account_id",
|
|
4991
4991
|
UPN: "UPN"
|
|
4992
4992
|
};
|
|
4993
4993
|
//#endregion
|
|
4994
4994
|
//#region node_modules/@azure/msal-common/dist/utils/ClientAssertionUtils.mjs
|
|
4995
|
-
/*! @azure/msal-common v16.14.
|
|
4995
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
4996
4996
|
async function getClientAssertion(clientAssertion, clientId, tokenEndpoint, fmiPath) {
|
|
4997
4997
|
if (typeof clientAssertion === "string") return clientAssertion;
|
|
4998
4998
|
else return clientAssertion({
|
|
@@ -5003,7 +5003,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint, fmiP
|
|
|
5003
5003
|
}
|
|
5004
5004
|
//#endregion
|
|
5005
5005
|
//#region node_modules/@azure/msal-common/dist/network/RequestThumbprint.mjs
|
|
5006
|
-
/*! @azure/msal-common v16.14.
|
|
5006
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
5007
5007
|
function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
5008
5008
|
return {
|
|
5009
5009
|
clientId,
|
|
@@ -5023,7 +5023,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
5023
5023
|
}
|
|
5024
5024
|
//#endregion
|
|
5025
5025
|
//#region node_modules/@azure/msal-common/dist/network/ThrottlingUtils.mjs
|
|
5026
|
-
/*! @azure/msal-common v16.14.
|
|
5026
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
5027
5027
|
/** @internal */
|
|
5028
5028
|
var ThrottlingUtils = class ThrottlingUtils {
|
|
5029
5029
|
/**
|
|
@@ -5099,7 +5099,7 @@ var ThrottlingUtils = class ThrottlingUtils {
|
|
|
5099
5099
|
};
|
|
5100
5100
|
//#endregion
|
|
5101
5101
|
//#region node_modules/@azure/msal-common/dist/error/NetworkError.mjs
|
|
5102
|
-
/*! @azure/msal-common v16.14.
|
|
5102
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
5103
5103
|
/**
|
|
5104
5104
|
* Represents network related errors
|
|
5105
5105
|
*/
|
|
@@ -5126,7 +5126,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
5126
5126
|
}
|
|
5127
5127
|
//#endregion
|
|
5128
5128
|
//#region node_modules/@azure/msal-common/dist/protocol/Token.mjs
|
|
5129
|
-
/*! @azure/msal-common v16.14.
|
|
5129
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
5130
5130
|
/**
|
|
5131
5131
|
* Creates default headers for requests to token endpoint
|
|
5132
5132
|
*/
|
|
@@ -5232,7 +5232,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
|
|
|
5232
5232
|
}
|
|
5233
5233
|
//#endregion
|
|
5234
5234
|
//#region node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.mjs
|
|
5235
|
-
/*! @azure/msal-common v16.14.
|
|
5235
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
5236
5236
|
/**
|
|
5237
5237
|
* Oauth2.0 Authorization Code client
|
|
5238
5238
|
* @internal
|
|
@@ -5392,7 +5392,7 @@ var AuthorizationCodeClient = class {
|
|
|
5392
5392
|
};
|
|
5393
5393
|
//#endregion
|
|
5394
5394
|
//#region node_modules/@azure/msal-common/dist/protocol/Authorize.mjs
|
|
5395
|
-
/*! @azure/msal-common v16.14.
|
|
5395
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
5396
5396
|
/**
|
|
5397
5397
|
* Returns map of parameters that are applicable to all calls to /authorize whether using PKCE or EAR
|
|
5398
5398
|
* @param config
|
|
@@ -5503,7 +5503,7 @@ function extractLoginHint(account) {
|
|
|
5503
5503
|
}
|
|
5504
5504
|
//#endregion
|
|
5505
5505
|
//#region node_modules/@azure/msal-common/dist/client/RefreshTokenClient.mjs
|
|
5506
|
-
/*! @azure/msal-common v16.14.
|
|
5506
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
5507
5507
|
const DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS = 300;
|
|
5508
5508
|
/**
|
|
5509
5509
|
* OAuth2.0 refresh token client
|
|
@@ -5606,6 +5606,7 @@ var RefreshTokenClient = class {
|
|
|
5606
5606
|
addClientId(parameters, request.embeddedClientId || request.extraParameters?.["client_id"] || this.config.authOptions.clientId);
|
|
5607
5607
|
if (request.redirectUri) addRedirectUri(parameters, request.redirectUri);
|
|
5608
5608
|
addScopes(parameters, request.scopes, request.correlationId, true, this.config.authOptions.authority.options.OIDCOptions?.defaultScopes);
|
|
5609
|
+
addResource(parameters, request.resource);
|
|
5609
5610
|
addGrantType(parameters, GrantType.REFRESH_TOKEN_GRANT);
|
|
5610
5611
|
addClientInfo(parameters);
|
|
5611
5612
|
addLibraryInfo(parameters, this.config.libraryInfo);
|
|
@@ -5650,7 +5651,7 @@ var RefreshTokenClient = class {
|
|
|
5650
5651
|
};
|
|
5651
5652
|
//#endregion
|
|
5652
5653
|
//#region node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.mjs
|
|
5653
|
-
/*! @azure/msal-common v16.14.
|
|
5654
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
5654
5655
|
const skuGroupSeparator = ",";
|
|
5655
5656
|
const skuValueSeparator = "|";
|
|
5656
5657
|
function makeExtraSkuString(params) {
|
|
@@ -5845,7 +5846,7 @@ var ServerTelemetryManager = class ServerTelemetryManager {
|
|
|
5845
5846
|
};
|
|
5846
5847
|
//#endregion
|
|
5847
5848
|
//#region node_modules/@azure/msal-common/dist/client/SilentFlowClient.mjs
|
|
5848
|
-
/*! @azure/msal-common v16.14.
|
|
5849
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
5849
5850
|
/** @internal */
|
|
5850
5851
|
var SilentFlowClient = class {
|
|
5851
5852
|
constructor(configuration, performanceClient) {
|
|
@@ -5930,7 +5931,7 @@ var SilentFlowClient = class {
|
|
|
5930
5931
|
};
|
|
5931
5932
|
//#endregion
|
|
5932
5933
|
//#region node_modules/@azure/msal-common/dist/request/BaseAuthRequest.mjs
|
|
5933
|
-
/*! @azure/msal-common v16.14.
|
|
5934
|
+
/*! @azure/msal-common v16.14.2 2026-10-02 */
|
|
5934
5935
|
/**
|
|
5935
5936
|
* Helper to enforce resource parameter presence in token requests when isMcp is set in the configuration.
|
|
5936
5937
|
* If resource parameter is set in both the request and in extraQueryParameters or extraParameters, an error will be thrown.
|
|
@@ -5949,7 +5950,7 @@ function containsResourceParam(params) {
|
|
|
5949
5950
|
}
|
|
5950
5951
|
//#endregion
|
|
5951
5952
|
//#region node_modules/@azure/msal-node/dist/cache/serializer/Deserializer.mjs
|
|
5952
|
-
/*! @azure/msal-node v7.0.
|
|
5953
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
5953
5954
|
/**
|
|
5954
5955
|
* This class deserializes cache entities read from the file into in-memory object types defined internally
|
|
5955
5956
|
* @internal
|
|
@@ -6097,7 +6098,7 @@ var Deserializer = class {
|
|
|
6097
6098
|
};
|
|
6098
6099
|
}
|
|
6099
6100
|
};
|
|
6100
|
-
/*! @azure/msal-node v7.0.
|
|
6101
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
6101
6102
|
/**
|
|
6102
6103
|
* Managed Identity Query Parameters - used in network requests
|
|
6103
6104
|
*/
|
|
@@ -6210,7 +6211,7 @@ const LOOPBACK_SERVER_CONSTANTS = {
|
|
|
6210
6211
|
};
|
|
6211
6212
|
//#endregion
|
|
6212
6213
|
//#region node_modules/@azure/msal-node/dist/network/HttpClient.mjs
|
|
6213
|
-
/*! @azure/msal-node v7.0.
|
|
6214
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
6214
6215
|
/**
|
|
6215
6216
|
* HTTP client implementation using Node.js native fetch API.
|
|
6216
6217
|
*
|
|
@@ -6347,7 +6348,7 @@ function getFetchHeaders(options) {
|
|
|
6347
6348
|
}
|
|
6348
6349
|
//#endregion
|
|
6349
6350
|
//#region node_modules/@azure/msal-node/dist/error/ManagedIdentityErrorCodes.mjs
|
|
6350
|
-
/*! @azure/msal-node v7.0.
|
|
6351
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
6351
6352
|
const invalidFileExtension = "invalid_file_extension";
|
|
6352
6353
|
const invalidFilePath = "invalid_file_path";
|
|
6353
6354
|
const invalidManagedIdentityIdType = "invalid_managed_identity_id_type";
|
|
@@ -6371,7 +6372,7 @@ const MsiEnvironmentVariableUrlMalformedErrorCodes = {
|
|
|
6371
6372
|
};
|
|
6372
6373
|
//#endregion
|
|
6373
6374
|
//#region node_modules/@azure/msal-node/dist/error/ManagedIdentityError.mjs
|
|
6374
|
-
/*! @azure/msal-node v7.0.
|
|
6375
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
6375
6376
|
/**
|
|
6376
6377
|
* ManagedIdentityErrorMessage class containing string constants used by error codes and messages.
|
|
6377
6378
|
*/
|
|
@@ -6408,10 +6409,10 @@ function createManagedIdentityError(errorCode, correlationId) {
|
|
|
6408
6409
|
}
|
|
6409
6410
|
//#endregion
|
|
6410
6411
|
//#region node_modules/@azure/msal-node/dist/config/ManagedIdentityId.mjs
|
|
6411
|
-
/*! @azure/msal-node v7.0.
|
|
6412
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
6412
6413
|
//#endregion
|
|
6413
6414
|
//#region node_modules/@azure/msal-node/dist/error/NodeAuthError.mjs
|
|
6414
|
-
/*! @azure/msal-node v7.0.
|
|
6415
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
6415
6416
|
/**
|
|
6416
6417
|
* NodeAuthErrorMessage class containing string constants used by error codes and messages.
|
|
6417
6418
|
*/
|
|
@@ -6525,7 +6526,7 @@ var NodeAuthError = class NodeAuthError extends AuthError {
|
|
|
6525
6526
|
};
|
|
6526
6527
|
//#endregion
|
|
6527
6528
|
//#region node_modules/@azure/msal-node/dist/config/Configuration.mjs
|
|
6528
|
-
/*! @azure/msal-node v7.0.
|
|
6529
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
6529
6530
|
const DEFAULT_AUTH_OPTIONS = {
|
|
6530
6531
|
clientId: "",
|
|
6531
6532
|
authority: DEFAULT_AUTHORITY,
|
|
@@ -6600,7 +6601,7 @@ function buildAppConfiguration({ auth, broker, cache, system, telemetry }) {
|
|
|
6600
6601
|
}
|
|
6601
6602
|
//#endregion
|
|
6602
6603
|
//#region node_modules/@azure/msal-node/dist/crypto/GuidGenerator.mjs
|
|
6603
|
-
/*! @azure/msal-node v7.0.
|
|
6604
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
6604
6605
|
var GuidGenerator = class {
|
|
6605
6606
|
/**
|
|
6606
6607
|
* Generates a random [RFC 4122](https://www.rfc-editor.org/rfc/rfc4122.txt) version 4 UUID. The UUID is generated using a
|
|
@@ -6619,7 +6620,7 @@ var GuidGenerator = class {
|
|
|
6619
6620
|
};
|
|
6620
6621
|
//#endregion
|
|
6621
6622
|
//#region node_modules/@azure/msal-node/dist/utils/EncodingUtils.mjs
|
|
6622
|
-
/*! @azure/msal-node v7.0.
|
|
6623
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
6623
6624
|
var EncodingUtils = class EncodingUtils {
|
|
6624
6625
|
/**
|
|
6625
6626
|
* 'utf8': Multibyte encoded Unicode characters. Many web pages and other document formats use UTF-8.
|
|
@@ -6657,7 +6658,7 @@ var EncodingUtils = class EncodingUtils {
|
|
|
6657
6658
|
};
|
|
6658
6659
|
//#endregion
|
|
6659
6660
|
//#region node_modules/@azure/msal-node/dist/crypto/HashUtils.mjs
|
|
6660
|
-
/*! @azure/msal-node v7.0.
|
|
6661
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
6661
6662
|
var HashUtils = class {
|
|
6662
6663
|
/**
|
|
6663
6664
|
* generate 'SHA256' hash
|
|
@@ -6669,7 +6670,7 @@ var HashUtils = class {
|
|
|
6669
6670
|
};
|
|
6670
6671
|
//#endregion
|
|
6671
6672
|
//#region node_modules/@azure/msal-node/dist/crypto/PkceGenerator.mjs
|
|
6672
|
-
/*! @azure/msal-node v7.0.
|
|
6673
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
6673
6674
|
/**
|
|
6674
6675
|
* https://tools.ietf.org/html/rfc7636#page-8
|
|
6675
6676
|
*/
|
|
@@ -6713,7 +6714,7 @@ var PkceGenerator = class {
|
|
|
6713
6714
|
};
|
|
6714
6715
|
//#endregion
|
|
6715
6716
|
//#region node_modules/@azure/msal-node/dist/crypto/CryptoProvider.mjs
|
|
6716
|
-
/*! @azure/msal-node v7.0.
|
|
6717
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
6717
6718
|
/**
|
|
6718
6719
|
* This class implements MSAL node's crypto interface, which allows it to perform base64 encoding and decoding, generating cryptographically random GUIDs and
|
|
6719
6720
|
* implementing Proof Key for Code Exchange specs for the OAuth Authorization Code Flow using PKCE (rfc here: https://tools.ietf.org/html/rfc7636).
|
|
@@ -6800,7 +6801,7 @@ var CryptoProvider = class {
|
|
|
6800
6801
|
};
|
|
6801
6802
|
//#endregion
|
|
6802
6803
|
//#region node_modules/@azure/msal-node/dist/cache/CacheHelpers.mjs
|
|
6803
|
-
/*! @azure/msal-node v7.0.
|
|
6804
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
6804
6805
|
/**
|
|
6805
6806
|
* Computes a combined hash from additional cache key components.
|
|
6806
6807
|
*
|
|
@@ -6854,7 +6855,7 @@ function generateAccountKey(account) {
|
|
|
6854
6855
|
}
|
|
6855
6856
|
//#endregion
|
|
6856
6857
|
//#region node_modules/@azure/msal-node/dist/cache/NodeStorage.mjs
|
|
6857
|
-
/*! @azure/msal-node v7.0.
|
|
6858
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
6858
6859
|
/**
|
|
6859
6860
|
* This class implements Storage for node, reading cache from user specified storage location or an extension library
|
|
6860
6861
|
* @public
|
|
@@ -7221,7 +7222,7 @@ var NodeStorage = class extends CacheManager {
|
|
|
7221
7222
|
};
|
|
7222
7223
|
//#endregion
|
|
7223
7224
|
//#region node_modules/@azure/msal-node/dist/cache/TokenCache.mjs
|
|
7224
|
-
/*! @azure/msal-node v7.0.
|
|
7225
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
7225
7226
|
const defaultSerializedCache = {
|
|
7226
7227
|
Account: {},
|
|
7227
7228
|
IdToken: {},
|
|
@@ -11617,7 +11618,7 @@ var import_jsonwebtoken = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin
|
|
|
11617
11618
|
TokenExpiredError: require_TokenExpiredError()
|
|
11618
11619
|
};
|
|
11619
11620
|
})))(), 1);
|
|
11620
|
-
/*! @azure/msal-node v7.0.
|
|
11621
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
11621
11622
|
const userTimeoutReached = "user_timeout_reached";
|
|
11622
11623
|
const invalidAssertion = "invalid_assertion";
|
|
11623
11624
|
const deviceCodePollingCancelled = "device_code_polling_cancelled";
|
|
@@ -11625,7 +11626,7 @@ const deviceCodeExpired = "device_code_expired";
|
|
|
11625
11626
|
const deviceCodeUnknownError = "device_code_unknown_error";
|
|
11626
11627
|
//#endregion
|
|
11627
11628
|
//#region node_modules/@azure/msal-node/dist/client/ClientAssertion.mjs
|
|
11628
|
-
/*! @azure/msal-node v7.0.
|
|
11629
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
11629
11630
|
/**
|
|
11630
11631
|
* Client assertion of type jwt-bearer used in confidential client flows
|
|
11631
11632
|
* @public
|
|
@@ -11733,12 +11734,12 @@ var ClientAssertion = class ClientAssertion {
|
|
|
11733
11734
|
};
|
|
11734
11735
|
//#endregion
|
|
11735
11736
|
//#region node_modules/@azure/msal-node/dist/packageMetadata.mjs
|
|
11736
|
-
/*! @azure/msal-node v7.0.
|
|
11737
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
11737
11738
|
const name = "@azure/msal-node";
|
|
11738
|
-
const version = "7.0.
|
|
11739
|
+
const version = "7.0.1";
|
|
11739
11740
|
//#endregion
|
|
11740
11741
|
//#region node_modules/@azure/msal-node/dist/client/BaseClient.mjs
|
|
11741
|
-
/*! @azure/msal-node v7.0.
|
|
11742
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
11742
11743
|
/**
|
|
11743
11744
|
* Base application class which will construct requests to send to and handle responses from the Microsoft STS using the authorization code flow.
|
|
11744
11745
|
* @internal
|
|
@@ -11790,7 +11791,7 @@ var BaseClient = class {
|
|
|
11790
11791
|
};
|
|
11791
11792
|
//#endregion
|
|
11792
11793
|
//#region node_modules/@azure/msal-node/dist/client/UsernamePasswordClient.mjs
|
|
11793
|
-
/*! @azure/msal-node v7.0.
|
|
11794
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
11794
11795
|
/**
|
|
11795
11796
|
* Oauth2.0 Password grant client
|
|
11796
11797
|
* Note: We are only supporting public clients for password grant and for purely testing purposes
|
|
@@ -11871,7 +11872,7 @@ var UsernamePasswordClient = class extends BaseClient {
|
|
|
11871
11872
|
};
|
|
11872
11873
|
//#endregion
|
|
11873
11874
|
//#region node_modules/@azure/msal-node/dist/protocol/Authorize.mjs
|
|
11874
|
-
/*! @azure/msal-node v7.0.
|
|
11875
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
11875
11876
|
/**
|
|
11876
11877
|
* Constructs the full /authorize URL with request parameters
|
|
11877
11878
|
* @param config
|
|
@@ -11900,7 +11901,7 @@ function getAuthCodeRequestUrl(config, authority, request, logger) {
|
|
|
11900
11901
|
}
|
|
11901
11902
|
//#endregion
|
|
11902
11903
|
//#region node_modules/@azure/msal-node/dist/client/SilentRequestCoalescer.mjs
|
|
11903
|
-
/*! @azure/msal-node v7.0.
|
|
11904
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
11904
11905
|
const activeSilentTokenRequests = /* @__PURE__ */ new WeakMap();
|
|
11905
11906
|
/**
|
|
11906
11907
|
* Shares an in-flight silent acquisition while preserving each caller's correlation ID.
|
|
@@ -11995,7 +11996,7 @@ function applyCallerCorrelationIdToResult(activeRequest, correlationId) {
|
|
|
11995
11996
|
}
|
|
11996
11997
|
//#endregion
|
|
11997
11998
|
//#region node_modules/@azure/msal-node/dist/client/ClientApplication.mjs
|
|
11998
|
-
/*! @azure/msal-node v7.0.
|
|
11999
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
11999
12000
|
/**
|
|
12000
12001
|
* Base abstract class for all ClientApplications - public and confidential
|
|
12001
12002
|
* @public
|
|
@@ -12326,7 +12327,7 @@ var ClientApplication = class {
|
|
|
12326
12327
|
};
|
|
12327
12328
|
//#endregion
|
|
12328
12329
|
//#region node_modules/@azure/msal-node/dist/network/LoopbackClient.mjs
|
|
12329
|
-
/*! @azure/msal-node v7.0.
|
|
12330
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
12330
12331
|
var LoopbackClient = class {
|
|
12331
12332
|
constructor(preferredPort) {
|
|
12332
12333
|
this.preferredPort = preferredPort;
|
|
@@ -12446,7 +12447,7 @@ var LoopbackClient = class {
|
|
|
12446
12447
|
};
|
|
12447
12448
|
//#endregion
|
|
12448
12449
|
//#region node_modules/@azure/msal-node/dist/client/DeviceCodeClient.mjs
|
|
12449
|
-
/*! @azure/msal-node v7.0.
|
|
12450
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
12450
12451
|
/**
|
|
12451
12452
|
* OAuth2.0 Device code client
|
|
12452
12453
|
* @public
|
|
@@ -12620,7 +12621,7 @@ var DeviceCodeClient = class extends BaseClient {
|
|
|
12620
12621
|
};
|
|
12621
12622
|
//#endregion
|
|
12622
12623
|
//#region node_modules/@azure/msal-node/dist/client/PublicClientApplication.mjs
|
|
12623
|
-
/*! @azure/msal-node v7.0.
|
|
12624
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
12624
12625
|
/**
|
|
12625
12626
|
* This class is to be used to acquire tokens for public client applications (desktop, mobile). Public client applications
|
|
12626
12627
|
* are not trusted to safely store application secrets, and therefore can only request tokens in the name of an user.
|
|
@@ -12866,19 +12867,19 @@ var PublicClientApplication = class extends ClientApplication {
|
|
|
12866
12867
|
};
|
|
12867
12868
|
//#endregion
|
|
12868
12869
|
//#region node_modules/@azure/msal-node/dist/client/ClientCredentialClient.mjs
|
|
12869
|
-
/*! @azure/msal-node v7.0.
|
|
12870
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
12870
12871
|
//#endregion
|
|
12871
12872
|
//#region node_modules/@azure/msal-node/dist/client/OnBehalfOfClient.mjs
|
|
12872
|
-
/*! @azure/msal-node v7.0.
|
|
12873
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
12873
12874
|
//#endregion
|
|
12874
12875
|
//#region node_modules/@azure/msal-node/dist/client/UserFederatedIdentityCredentialClient.mjs
|
|
12875
|
-
/*! @azure/msal-node v7.0.
|
|
12876
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
12876
12877
|
//#endregion
|
|
12877
12878
|
//#region node_modules/@azure/msal-node/dist/client/ConfidentialClientApplication.mjs
|
|
12878
|
-
/*! @azure/msal-node v7.0.
|
|
12879
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
12879
12880
|
//#endregion
|
|
12880
12881
|
//#region node_modules/@azure/msal-node/dist/utils/TimeUtils.mjs
|
|
12881
|
-
/*! @azure/msal-node v7.0.
|
|
12882
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
12882
12883
|
/**
|
|
12883
12884
|
* @internal
|
|
12884
12885
|
* Checks if a given date string is in ISO 8601 format.
|
|
@@ -12893,7 +12894,7 @@ function isIso8601(dateString) {
|
|
|
12893
12894
|
}
|
|
12894
12895
|
//#endregion
|
|
12895
12896
|
//#region node_modules/@azure/msal-node/dist/network/HttpClientWithRetries.mjs
|
|
12896
|
-
/*! @azure/msal-node v7.0.
|
|
12897
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
12897
12898
|
var HttpClientWithRetries = class {
|
|
12898
12899
|
constructor(httpClientNoRetries, retryPolicy, logger) {
|
|
12899
12900
|
this.httpClientNoRetries = httpClientNoRetries;
|
|
@@ -12923,7 +12924,7 @@ var HttpClientWithRetries = class {
|
|
|
12923
12924
|
};
|
|
12924
12925
|
//#endregion
|
|
12925
12926
|
//#region node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs
|
|
12926
|
-
/*! @azure/msal-node v7.0.
|
|
12927
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
12927
12928
|
/**
|
|
12928
12929
|
* Managed Identity User Assigned Id Query Parameter Names
|
|
12929
12930
|
*/
|
|
@@ -13113,21 +13114,21 @@ BaseManagedIdentitySource.getValidatedEnvVariableUrlString = (envVariableStringN
|
|
|
13113
13114
|
throw createManagedIdentityError(MsiEnvironmentVariableUrlMalformedErrorCodes[envVariableStringName], "");
|
|
13114
13115
|
}
|
|
13115
13116
|
};
|
|
13116
|
-
/*! @azure/msal-node v7.0.
|
|
13117
|
-
/*! @azure/msal-node v7.0.
|
|
13118
|
-
/*! @azure/msal-node v7.0.
|
|
13119
|
-
/*! @azure/msal-node v7.0.
|
|
13117
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
13118
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
13119
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
13120
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
13120
13121
|
`${process.env["ProgramData"]}`;
|
|
13121
13122
|
`${process.env["ProgramFiles"]}`;
|
|
13122
|
-
/*! @azure/msal-node v7.0.
|
|
13123
|
-
/*! @azure/msal-node v7.0.
|
|
13124
|
-
/*! @azure/msal-node v7.0.
|
|
13125
|
-
/*! @azure/msal-node v7.0.
|
|
13126
|
-
/*! @azure/msal-node v7.0.
|
|
13123
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
13124
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
13125
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
13126
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
13127
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
13127
13128
|
`${ManagedIdentitySourceNames.MACHINE_LEARNING}`;
|
|
13128
|
-
/*! @azure/msal-node v7.0.
|
|
13129
|
-
/*! @azure/msal-node v7.0.
|
|
13129
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
13130
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
13130
13131
|
ManagedIdentitySourceNames.SERVICE_FABRIC;
|
|
13131
|
-
/*! @azure/msal-node v7.0.
|
|
13132
|
+
/*! @azure/msal-node v7.0.1 2026-10-02 */
|
|
13132
13133
|
//#endregion
|
|
13133
13134
|
export { CryptoProvider, PublicClientApplication };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as SECRETS_FILE, S as CONFIG_DIR, _ as createLogger, c as AUTHORITY, f as REDIRECT_URI, h as createCachePlugin, m as authCodeFromUrl, o as object, p as SYDNEY_SCOPES, s as string, u as CLIENT_ID, v as ensurePrivateDir } from "./server-
|
|
1
|
+
import { C as SECRETS_FILE, S as CONFIG_DIR, _ as createLogger, c as AUTHORITY, f as REDIRECT_URI, h as createCachePlugin, m as authCodeFromUrl, o as object, p as SYDNEY_SCOPES, s as string, u as CLIENT_ID, v as ensurePrivateDir } from "./server-CvdPE1oi.mjs";
|
|
2
2
|
import { chmodSync, existsSync, readFileSync, statSync } from "node:fs";
|
|
3
3
|
import { join } from "node:path";
|
|
4
4
|
//#region src/login.ts
|
|
@@ -96,7 +96,7 @@ async function login(options = {}) {
|
|
|
96
96
|
const secrets = loadSecrets(options.secretsFile);
|
|
97
97
|
const interactive = options.interactive ?? !secrets?.mfaSecret;
|
|
98
98
|
if (!interactive && !secrets) throw new Error(`No credentials at ${options.secretsFile ?? SECRETS_FILE}. Create it with { "email", "password", "mfaSecret" }, or sign in interactively with --interactive.`);
|
|
99
|
-
const { PublicClientApplication, CryptoProvider } = await import("./dist-
|
|
99
|
+
const { PublicClientApplication, CryptoProvider } = await import("./dist-CQqDXRJD.mjs");
|
|
100
100
|
const app = new PublicClientApplication({
|
|
101
101
|
auth: {
|
|
102
102
|
clientId: CLIENT_ID,
|
package/dist/plugin.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as resolveOptions, D as buildModelInfos, E as applyPluginConfig, N as isLocalModel, O as buildProviderInfo, T as PROVIDER_ID, _ as createLogger, a as startServer, g as createTokenClient, j as DEFAULT_MODEL, r as SESSION_ID_HEADER, t as AUX_REQUEST_KIND_HEADER, w as PLUGIN_ID } from "./server-
|
|
2
|
-
import { t as getOrCreateAgent } from "./agent-
|
|
1
|
+
import { A as resolveOptions, D as buildModelInfos, E as applyPluginConfig, N as isLocalModel, O as buildProviderInfo, T as PROVIDER_ID, _ as createLogger, a as startServer, g as createTokenClient, j as DEFAULT_MODEL, r as SESSION_ID_HEADER, t as AUX_REQUEST_KIND_HEADER, w as PLUGIN_ID } from "./server-CvdPE1oi.mjs";
|
|
2
|
+
import { t as getOrCreateAgent } from "./agent-gllWWI9m.mjs";
|
|
3
3
|
//#region src/runtime.ts
|
|
4
4
|
/**
|
|
5
5
|
* The part of the plugin that is the same under both opencode plugin APIs.
|
|
@@ -1004,7 +1004,7 @@ function createTokenClient(options = {}) {
|
|
|
1004
1004
|
const cache = /* @__PURE__ */ new Map();
|
|
1005
1005
|
async function client() {
|
|
1006
1006
|
if (app) return app;
|
|
1007
|
-
const { PublicClientApplication } = await import("./dist-
|
|
1007
|
+
const { PublicClientApplication } = await import("./dist-CQqDXRJD.mjs");
|
|
1008
1008
|
app = new PublicClientApplication({
|
|
1009
1009
|
auth: {
|
|
1010
1010
|
clientId: CLIENT_ID,
|
|
@@ -4820,7 +4820,10 @@ var CopilotSession = class {
|
|
|
4820
4820
|
};
|
|
4821
4821
|
turn.signal?.addEventListener("abort", onAbort, { once: true });
|
|
4822
4822
|
socket.on("error", (error) => finish(error instanceof Error ? error : new Error(String(error))));
|
|
4823
|
-
socket.on("close", () =>
|
|
4823
|
+
socket.on("close", (code, reason) => {
|
|
4824
|
+
const why = reason.toString();
|
|
4825
|
+
finish(/* @__PURE__ */ new Error(`M365 connection closed before the turn completed (code ${code}${why ? `: ${why}` : ""})`));
|
|
4826
|
+
});
|
|
4824
4827
|
socket.on("open", () => {
|
|
4825
4828
|
socket.send(`${JSON.stringify({
|
|
4826
4829
|
protocol: "json",
|
|
@@ -5332,6 +5335,17 @@ function prefixIssues(path, issues) {
|
|
|
5332
5335
|
function unwrapMessage(message) {
|
|
5333
5336
|
return typeof message === "string" ? message : message?.message;
|
|
5334
5337
|
}
|
|
5338
|
+
/** The leading size checks of `defChecks` that set an upper bound, each paired with it. */
|
|
5339
|
+
function sizeCaps(defChecks) {
|
|
5340
|
+
const caps = [];
|
|
5341
|
+
for (const ch of defChecks ?? []) {
|
|
5342
|
+
const d = ch._zod.def;
|
|
5343
|
+
if (!/_(length|size)$|_equals$/.test(d.check)) break;
|
|
5344
|
+
const max = d.maximum ?? d.length ?? d.size;
|
|
5345
|
+
if (max >= 0) caps.push([max, ch]);
|
|
5346
|
+
}
|
|
5347
|
+
return caps;
|
|
5348
|
+
}
|
|
5335
5349
|
function attachSchema(issues, start, inst) {
|
|
5336
5350
|
var _a;
|
|
5337
5351
|
for (let i = start; i < issues.length; i++) (_a = issues[i]).schema ?? (_a.schema = inst);
|
|
@@ -6379,7 +6393,7 @@ var Doc = class {
|
|
|
6379
6393
|
const version = {
|
|
6380
6394
|
major: 4,
|
|
6381
6395
|
minor: 6,
|
|
6382
|
-
patch:
|
|
6396
|
+
patch: 7
|
|
6383
6397
|
};
|
|
6384
6398
|
//#endregion
|
|
6385
6399
|
//#region node_modules/zod/v4/core/schemas.js
|
|
@@ -6899,6 +6913,26 @@ const $ZodNever = /*@__PURE__*/ $constructor("$ZodNever", (inst, def) => {
|
|
|
6899
6913
|
return payload;
|
|
6900
6914
|
};
|
|
6901
6915
|
});
|
|
6916
|
+
function capSize(inst, size) {
|
|
6917
|
+
const caps = sizeCaps(inst._zod.def.checks);
|
|
6918
|
+
if (!caps.length) return;
|
|
6919
|
+
const cap = Math.min(...caps.map((c) => c[0]));
|
|
6920
|
+
const parse = inst._zod.parse;
|
|
6921
|
+
inst._zod.parse = (payload, ctx) => {
|
|
6922
|
+
const n = size(payload.value);
|
|
6923
|
+
if (n > cap && !ctx?.skipChecks && ctx?.direction !== "backward") {
|
|
6924
|
+
for (const [max, ch] of sizeCaps(inst._zod.def.checks)) if (n > max && ch._zod.def.when(payload)) {
|
|
6925
|
+
const start = payload.issues.length;
|
|
6926
|
+
ch._zod.check(payload);
|
|
6927
|
+
payload.issues[start].continue = false;
|
|
6928
|
+
attachSchema(payload.issues, start, inst);
|
|
6929
|
+
return payload;
|
|
6930
|
+
}
|
|
6931
|
+
}
|
|
6932
|
+
return parse(payload, ctx);
|
|
6933
|
+
};
|
|
6934
|
+
}
|
|
6935
|
+
const arraySize = (input) => Array.isArray(input) ? input.length : -1;
|
|
6902
6936
|
function handleArrayResult(result, final, index) {
|
|
6903
6937
|
if (result.issues.length) final.issues.push(...prefixIssues(index, result.issues));
|
|
6904
6938
|
final.value[index] = result.value;
|
|
@@ -6936,6 +6970,7 @@ const $ZodArray = /*@__PURE__*/ $constructor("$ZodArray", (inst, def) => {
|
|
|
6936
6970
|
if (proms.length) return Promise.all(proms).then(() => payload);
|
|
6937
6971
|
return payload;
|
|
6938
6972
|
};
|
|
6973
|
+
capSize(inst, arraySize);
|
|
6939
6974
|
});
|
|
6940
6975
|
function handlePropertyResult(result, final, key, input, optin, optout) {
|
|
6941
6976
|
const isPresent = key in input;
|
|
@@ -7044,7 +7079,7 @@ const $ZodObject = /*@__PURE__*/ $constructor("$ZodObject", (inst, def) => {
|
|
|
7044
7079
|
}
|
|
7045
7080
|
return propValues;
|
|
7046
7081
|
});
|
|
7047
|
-
const isObject$
|
|
7082
|
+
const isObject$1 = isObject;
|
|
7048
7083
|
const catchall = def.catchall;
|
|
7049
7084
|
let value;
|
|
7050
7085
|
const memo = globalConfig.memoizer;
|
|
@@ -7052,7 +7087,7 @@ const $ZodObject = /*@__PURE__*/ $constructor("$ZodObject", (inst, def) => {
|
|
|
7052
7087
|
inst._zod.parse = (payload, ctx) => {
|
|
7053
7088
|
value ?? (value = _normalized.value);
|
|
7054
7089
|
const input = payload.value;
|
|
7055
|
-
if (!isObject$
|
|
7090
|
+
if (!isObject$1(input)) {
|
|
7056
7091
|
payload.issues.push({
|
|
7057
7092
|
expected: "object",
|
|
7058
7093
|
code: "invalid_type",
|
|
@@ -7182,7 +7217,7 @@ const $ZodObjectJIT = /*@__PURE__*/ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
7182
7217
|
return doc.compile();
|
|
7183
7218
|
};
|
|
7184
7219
|
let fastpass;
|
|
7185
|
-
const isObject$
|
|
7220
|
+
const isObject$2 = isObject;
|
|
7186
7221
|
const jit = !globalConfig.jitless;
|
|
7187
7222
|
const fastEnabled = jit && allowsEval.value;
|
|
7188
7223
|
const catchall = def.catchall;
|
|
@@ -7190,7 +7225,7 @@ const $ZodObjectJIT = /*@__PURE__*/ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
7190
7225
|
inst._zod.parse = (payload, ctx) => {
|
|
7191
7226
|
value ?? (value = _normalized.value);
|
|
7192
7227
|
const input = payload.value;
|
|
7193
|
-
if (!isObject$
|
|
7228
|
+
if (!isObject$2(input)) {
|
|
7194
7229
|
payload.issues.push({
|
|
7195
7230
|
expected: "object",
|
|
7196
7231
|
code: "invalid_type",
|
|
@@ -10708,7 +10743,10 @@ async function startServer(deps) {
|
|
|
10708
10743
|
const agentId = async () => {
|
|
10709
10744
|
if (!deps.resolveAgent) return null;
|
|
10710
10745
|
agentPromise ??= deps.resolveAgent().catch((error) => {
|
|
10711
|
-
|
|
10746
|
+
const status = error?.status;
|
|
10747
|
+
const permanent = status === 401 || status === 403;
|
|
10748
|
+
log.warn(permanent ? "no Copilot Studio access; continuing without a declarative agent" : "could not resolve a declarative agent; continuing without one and retrying next time", String(error));
|
|
10749
|
+
if (!permanent) agentPromise = void 0;
|
|
10712
10750
|
return null;
|
|
10713
10751
|
});
|
|
10714
10752
|
return agentPromise;
|
package/dist/server.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { AUX_REQUEST_KIND_HEADER, DEFAULT_MAX_BODY_BYTES, DEFAULT_MODEL, SESSION_ID_HEADER, generateApiKey, startServer };
|
|
1
|
+
export { t as AUX_REQUEST_KIND_HEADER, n as DEFAULT_MAX_BODY_BYTES, j as DEFAULT_MODEL, r as SESSION_ID_HEADER, i as generateApiKey, a as startServer } from "./server-CvdPE1oi.mjs";
|