opencode-m365-copilot 0.3.1 → 0.3.2
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-C3DxtJPy.mjs → agent-C28PfLXM.mjs} +1 -1
- package/dist/cli.mjs +3 -3
- package/dist/{dist-CBYT-Zyt.mjs → dist-BGVW-hOf.mjs} +127 -122
- package/dist/{login-_9JzoRK8.mjs → login-Y2igNqfw.mjs} +2 -2
- package/dist/plugin.mjs +2 -2
- package/dist/{server-DO0_u884.mjs → server-Buz1ZIg5.mjs} +1 -1
- package/dist/server.mjs +1 -1
- 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-Buz1ZIg5.mjs";
|
|
2
2
|
import { createHash } from "node:crypto";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
//#region src/agent.ts
|
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-Buz1ZIg5.mjs";
|
|
3
|
+
import { t as getOrCreateAgent } from "./agent-C28PfLXM.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-Y2igNqfw.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-Buz1ZIg5.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 v6.0.
|
|
6
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
3249
3249
|
const name$1 = "@azure/msal-common";
|
|
3250
|
-
const version$1 = "16.14.
|
|
3250
|
+
const version$1 = "16.14.1";
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1"), 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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
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.1 2026-09-15 */
|
|
4719
4719
|
/**
|
|
4720
4720
|
* Class that handles response parsing.
|
|
4721
4721
|
* @internal
|
|
@@ -4760,11 +4760,15 @@ var ResponseHandler = class ResponseHandler {
|
|
|
4760
4760
|
*/
|
|
4761
4761
|
async handleServerTokenResponse(serverTokenResponse, authority, reqTimestamp, request, apiId, authCodePayload, userAssertionHash, handlingRefreshTokenResponse, forceCacheRefreshTokenResponse, serverRequestId, additionalCacheKeyComponents) {
|
|
4762
4762
|
let idTokenClaims;
|
|
4763
|
-
if (serverTokenResponse.id_token)
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4763
|
+
if (serverTokenResponse.id_token) idTokenClaims = extractTokenClaims(serverTokenResponse.id_token || "", this.cryptoObj.base64Decode, request.correlationId);
|
|
4764
|
+
if (authCodePayload && Object.prototype.hasOwnProperty.call(authCodePayload, "nonce")) {
|
|
4765
|
+
const expectedNonce = authCodePayload.nonce;
|
|
4766
|
+
const tokenNonce = idTokenClaims?.nonce;
|
|
4767
|
+
if (tokenNonce !== void 0 && expectedNonce === void 0) {
|
|
4768
|
+
this.logger.warning("Authorization code response contains an ID Token nonce, but no expected nonce was supplied. Rejecting the response.", request.correlationId);
|
|
4769
|
+
throw createClientAuthError(nonceMismatch, request.correlationId);
|
|
4767
4770
|
}
|
|
4771
|
+
if (expectedNonce !== void 0 && (typeof expectedNonce !== "string" || typeof tokenNonce !== "string" || expectedNonce !== tokenNonce)) throw createClientAuthError(nonceMismatch, request.correlationId);
|
|
4768
4772
|
}
|
|
4769
4773
|
this.homeAccountIdentifier = generateHomeAccountId(serverTokenResponse.client_info || "", authority.authorityType, this.logger, this.cryptoObj, request.correlationId, idTokenClaims);
|
|
4770
4774
|
let requestStateObj;
|
|
@@ -4981,14 +4985,14 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
4981
4985
|
}
|
|
4982
4986
|
//#endregion
|
|
4983
4987
|
//#region node_modules/@azure/msal-common/dist/account/CcsCredential.mjs
|
|
4984
|
-
/*! @azure/msal-common v16.14.
|
|
4988
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
4985
4989
|
const CcsCredentialType = {
|
|
4986
4990
|
HOME_ACCOUNT_ID: "home_account_id",
|
|
4987
4991
|
UPN: "UPN"
|
|
4988
4992
|
};
|
|
4989
4993
|
//#endregion
|
|
4990
4994
|
//#region node_modules/@azure/msal-common/dist/utils/ClientAssertionUtils.mjs
|
|
4991
|
-
/*! @azure/msal-common v16.14.
|
|
4995
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
4992
4996
|
async function getClientAssertion(clientAssertion, clientId, tokenEndpoint, fmiPath) {
|
|
4993
4997
|
if (typeof clientAssertion === "string") return clientAssertion;
|
|
4994
4998
|
else return clientAssertion({
|
|
@@ -4999,7 +5003,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint, fmiP
|
|
|
4999
5003
|
}
|
|
5000
5004
|
//#endregion
|
|
5001
5005
|
//#region node_modules/@azure/msal-common/dist/network/RequestThumbprint.mjs
|
|
5002
|
-
/*! @azure/msal-common v16.14.
|
|
5006
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5003
5007
|
function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
5004
5008
|
return {
|
|
5005
5009
|
clientId,
|
|
@@ -5019,7 +5023,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
5019
5023
|
}
|
|
5020
5024
|
//#endregion
|
|
5021
5025
|
//#region node_modules/@azure/msal-common/dist/network/ThrottlingUtils.mjs
|
|
5022
|
-
/*! @azure/msal-common v16.14.
|
|
5026
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5023
5027
|
/** @internal */
|
|
5024
5028
|
var ThrottlingUtils = class ThrottlingUtils {
|
|
5025
5029
|
/**
|
|
@@ -5095,7 +5099,7 @@ var ThrottlingUtils = class ThrottlingUtils {
|
|
|
5095
5099
|
};
|
|
5096
5100
|
//#endregion
|
|
5097
5101
|
//#region node_modules/@azure/msal-common/dist/error/NetworkError.mjs
|
|
5098
|
-
/*! @azure/msal-common v16.14.
|
|
5102
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5099
5103
|
/**
|
|
5100
5104
|
* Represents network related errors
|
|
5101
5105
|
*/
|
|
@@ -5122,7 +5126,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
5122
5126
|
}
|
|
5123
5127
|
//#endregion
|
|
5124
5128
|
//#region node_modules/@azure/msal-common/dist/protocol/Token.mjs
|
|
5125
|
-
/*! @azure/msal-common v16.14.
|
|
5129
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5126
5130
|
/**
|
|
5127
5131
|
* Creates default headers for requests to token endpoint
|
|
5128
5132
|
*/
|
|
@@ -5228,7 +5232,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
|
|
|
5228
5232
|
}
|
|
5229
5233
|
//#endregion
|
|
5230
5234
|
//#region node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.mjs
|
|
5231
|
-
/*! @azure/msal-common v16.14.
|
|
5235
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5232
5236
|
/**
|
|
5233
5237
|
* Oauth2.0 Authorization Code client
|
|
5234
5238
|
* @internal
|
|
@@ -5388,7 +5392,7 @@ var AuthorizationCodeClient = class {
|
|
|
5388
5392
|
};
|
|
5389
5393
|
//#endregion
|
|
5390
5394
|
//#region node_modules/@azure/msal-common/dist/protocol/Authorize.mjs
|
|
5391
|
-
/*! @azure/msal-common v16.14.
|
|
5395
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5392
5396
|
/**
|
|
5393
5397
|
* Returns map of parameters that are applicable to all calls to /authorize whether using PKCE or EAR
|
|
5394
5398
|
* @param config
|
|
@@ -5499,7 +5503,7 @@ function extractLoginHint(account) {
|
|
|
5499
5503
|
}
|
|
5500
5504
|
//#endregion
|
|
5501
5505
|
//#region node_modules/@azure/msal-common/dist/client/RefreshTokenClient.mjs
|
|
5502
|
-
/*! @azure/msal-common v16.14.
|
|
5506
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5503
5507
|
const DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS = 300;
|
|
5504
5508
|
/**
|
|
5505
5509
|
* OAuth2.0 refresh token client
|
|
@@ -5646,7 +5650,7 @@ var RefreshTokenClient = class {
|
|
|
5646
5650
|
};
|
|
5647
5651
|
//#endregion
|
|
5648
5652
|
//#region node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.mjs
|
|
5649
|
-
/*! @azure/msal-common v16.14.
|
|
5653
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5650
5654
|
const skuGroupSeparator = ",";
|
|
5651
5655
|
const skuValueSeparator = "|";
|
|
5652
5656
|
function makeExtraSkuString(params) {
|
|
@@ -5841,7 +5845,7 @@ var ServerTelemetryManager = class ServerTelemetryManager {
|
|
|
5841
5845
|
};
|
|
5842
5846
|
//#endregion
|
|
5843
5847
|
//#region node_modules/@azure/msal-common/dist/client/SilentFlowClient.mjs
|
|
5844
|
-
/*! @azure/msal-common v16.14.
|
|
5848
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5845
5849
|
/** @internal */
|
|
5846
5850
|
var SilentFlowClient = class {
|
|
5847
5851
|
constructor(configuration, performanceClient) {
|
|
@@ -5926,7 +5930,7 @@ var SilentFlowClient = class {
|
|
|
5926
5930
|
};
|
|
5927
5931
|
//#endregion
|
|
5928
5932
|
//#region node_modules/@azure/msal-common/dist/request/BaseAuthRequest.mjs
|
|
5929
|
-
/*! @azure/msal-common v16.14.
|
|
5933
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5930
5934
|
/**
|
|
5931
5935
|
* Helper to enforce resource parameter presence in token requests when isMcp is set in the configuration.
|
|
5932
5936
|
* If resource parameter is set in both the request and in extraQueryParameters or extraParameters, an error will be thrown.
|
|
@@ -5945,7 +5949,7 @@ function containsResourceParam(params) {
|
|
|
5945
5949
|
}
|
|
5946
5950
|
//#endregion
|
|
5947
5951
|
//#region node_modules/@azure/msal-node/dist/cache/serializer/Deserializer.mjs
|
|
5948
|
-
/*! @azure/msal-node v6.0.
|
|
5952
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
5949
5953
|
/**
|
|
5950
5954
|
* This class deserializes cache entities read from the file into in-memory object types defined internally
|
|
5951
5955
|
* @internal
|
|
@@ -6093,7 +6097,7 @@ var Deserializer = class {
|
|
|
6093
6097
|
};
|
|
6094
6098
|
}
|
|
6095
6099
|
};
|
|
6096
|
-
/*! @azure/msal-node v6.0.
|
|
6100
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
6097
6101
|
/**
|
|
6098
6102
|
* Managed Identity Query Parameters - used in network requests
|
|
6099
6103
|
*/
|
|
@@ -6206,7 +6210,7 @@ const LOOPBACK_SERVER_CONSTANTS = {
|
|
|
6206
6210
|
};
|
|
6207
6211
|
//#endregion
|
|
6208
6212
|
//#region node_modules/@azure/msal-node/dist/network/HttpClient.mjs
|
|
6209
|
-
/*! @azure/msal-node v6.0.
|
|
6213
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
6210
6214
|
/**
|
|
6211
6215
|
* HTTP client implementation using Node.js native fetch API.
|
|
6212
6216
|
*
|
|
@@ -6343,7 +6347,7 @@ function getFetchHeaders(options) {
|
|
|
6343
6347
|
}
|
|
6344
6348
|
//#endregion
|
|
6345
6349
|
//#region node_modules/@azure/msal-node/dist/error/ManagedIdentityErrorCodes.mjs
|
|
6346
|
-
/*! @azure/msal-node v6.0.
|
|
6350
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
6347
6351
|
const invalidFileExtension = "invalid_file_extension";
|
|
6348
6352
|
const invalidFilePath = "invalid_file_path";
|
|
6349
6353
|
const invalidManagedIdentityIdType = "invalid_managed_identity_id_type";
|
|
@@ -6367,7 +6371,7 @@ const MsiEnvironmentVariableUrlMalformedErrorCodes = {
|
|
|
6367
6371
|
};
|
|
6368
6372
|
//#endregion
|
|
6369
6373
|
//#region node_modules/@azure/msal-node/dist/error/ManagedIdentityError.mjs
|
|
6370
|
-
/*! @azure/msal-node v6.0.
|
|
6374
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
6371
6375
|
/**
|
|
6372
6376
|
* ManagedIdentityErrorMessage class containing string constants used by error codes and messages.
|
|
6373
6377
|
*/
|
|
@@ -6404,10 +6408,10 @@ function createManagedIdentityError(errorCode, correlationId) {
|
|
|
6404
6408
|
}
|
|
6405
6409
|
//#endregion
|
|
6406
6410
|
//#region node_modules/@azure/msal-node/dist/config/ManagedIdentityId.mjs
|
|
6407
|
-
/*! @azure/msal-node v6.0.
|
|
6411
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
6408
6412
|
//#endregion
|
|
6409
6413
|
//#region node_modules/@azure/msal-node/dist/error/NodeAuthError.mjs
|
|
6410
|
-
/*! @azure/msal-node v6.0.
|
|
6414
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
6411
6415
|
/**
|
|
6412
6416
|
* NodeAuthErrorMessage class containing string constants used by error codes and messages.
|
|
6413
6417
|
*/
|
|
@@ -6511,7 +6515,7 @@ var NodeAuthError = class NodeAuthError extends AuthError {
|
|
|
6511
6515
|
};
|
|
6512
6516
|
//#endregion
|
|
6513
6517
|
//#region node_modules/@azure/msal-node/dist/config/Configuration.mjs
|
|
6514
|
-
/*! @azure/msal-node v6.0.
|
|
6518
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
6515
6519
|
const DEFAULT_AUTH_OPTIONS = {
|
|
6516
6520
|
clientId: "",
|
|
6517
6521
|
authority: DEFAULT_AUTHORITY,
|
|
@@ -6586,7 +6590,7 @@ function buildAppConfiguration({ auth, broker, cache, system, telemetry }) {
|
|
|
6586
6590
|
}
|
|
6587
6591
|
//#endregion
|
|
6588
6592
|
//#region node_modules/@azure/msal-node/dist/crypto/GuidGenerator.mjs
|
|
6589
|
-
/*! @azure/msal-node v6.0.
|
|
6593
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
6590
6594
|
var GuidGenerator = class {
|
|
6591
6595
|
/**
|
|
6592
6596
|
* Generates a random [RFC 4122](https://www.rfc-editor.org/rfc/rfc4122.txt) version 4 UUID. The UUID is generated using a
|
|
@@ -6605,7 +6609,7 @@ var GuidGenerator = class {
|
|
|
6605
6609
|
};
|
|
6606
6610
|
//#endregion
|
|
6607
6611
|
//#region node_modules/@azure/msal-node/dist/utils/EncodingUtils.mjs
|
|
6608
|
-
/*! @azure/msal-node v6.0.
|
|
6612
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
6609
6613
|
var EncodingUtils = class EncodingUtils {
|
|
6610
6614
|
/**
|
|
6611
6615
|
* 'utf8': Multibyte encoded Unicode characters. Many web pages and other document formats use UTF-8.
|
|
@@ -6643,7 +6647,7 @@ var EncodingUtils = class EncodingUtils {
|
|
|
6643
6647
|
};
|
|
6644
6648
|
//#endregion
|
|
6645
6649
|
//#region node_modules/@azure/msal-node/dist/crypto/HashUtils.mjs
|
|
6646
|
-
/*! @azure/msal-node v6.0.
|
|
6650
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
6647
6651
|
var HashUtils = class {
|
|
6648
6652
|
/**
|
|
6649
6653
|
* generate 'SHA256' hash
|
|
@@ -6655,7 +6659,7 @@ var HashUtils = class {
|
|
|
6655
6659
|
};
|
|
6656
6660
|
//#endregion
|
|
6657
6661
|
//#region node_modules/@azure/msal-node/dist/crypto/PkceGenerator.mjs
|
|
6658
|
-
/*! @azure/msal-node v6.0.
|
|
6662
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
6659
6663
|
/**
|
|
6660
6664
|
* https://tools.ietf.org/html/rfc7636#page-8
|
|
6661
6665
|
*/
|
|
@@ -6699,7 +6703,7 @@ var PkceGenerator = class {
|
|
|
6699
6703
|
};
|
|
6700
6704
|
//#endregion
|
|
6701
6705
|
//#region node_modules/@azure/msal-node/dist/crypto/CryptoProvider.mjs
|
|
6702
|
-
/*! @azure/msal-node v6.0.
|
|
6706
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
6703
6707
|
/**
|
|
6704
6708
|
* This class implements MSAL node's crypto interface, which allows it to perform base64 encoding and decoding, generating cryptographically random GUIDs and
|
|
6705
6709
|
* implementing Proof Key for Code Exchange specs for the OAuth Authorization Code Flow using PKCE (rfc here: https://tools.ietf.org/html/rfc7636).
|
|
@@ -6786,7 +6790,7 @@ var CryptoProvider = class {
|
|
|
6786
6790
|
};
|
|
6787
6791
|
//#endregion
|
|
6788
6792
|
//#region node_modules/@azure/msal-node/dist/cache/CacheHelpers.mjs
|
|
6789
|
-
/*! @azure/msal-node v6.0.
|
|
6793
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
6790
6794
|
/**
|
|
6791
6795
|
* Computes a combined hash from additional cache key components.
|
|
6792
6796
|
*
|
|
@@ -6840,7 +6844,7 @@ function generateAccountKey(account) {
|
|
|
6840
6844
|
}
|
|
6841
6845
|
//#endregion
|
|
6842
6846
|
//#region node_modules/@azure/msal-node/dist/cache/NodeStorage.mjs
|
|
6843
|
-
/*! @azure/msal-node v6.0.
|
|
6847
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
6844
6848
|
/**
|
|
6845
6849
|
* This class implements Storage for node, reading cache from user specified storage location or an extension library
|
|
6846
6850
|
* @public
|
|
@@ -7207,7 +7211,7 @@ var NodeStorage = class extends CacheManager {
|
|
|
7207
7211
|
};
|
|
7208
7212
|
//#endregion
|
|
7209
7213
|
//#region node_modules/@azure/msal-node/dist/cache/TokenCache.mjs
|
|
7210
|
-
/*! @azure/msal-node v6.0.
|
|
7214
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
7211
7215
|
const defaultSerializedCache = {
|
|
7212
7216
|
Account: {},
|
|
7213
7217
|
IdToken: {},
|
|
@@ -11603,7 +11607,7 @@ var import_jsonwebtoken = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin
|
|
|
11603
11607
|
TokenExpiredError: require_TokenExpiredError()
|
|
11604
11608
|
};
|
|
11605
11609
|
})))(), 1);
|
|
11606
|
-
/*! @azure/msal-node v6.0.
|
|
11610
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
11607
11611
|
const userTimeoutReached = "user_timeout_reached";
|
|
11608
11612
|
const invalidAssertion = "invalid_assertion";
|
|
11609
11613
|
const deviceCodePollingCancelled = "device_code_polling_cancelled";
|
|
@@ -11611,7 +11615,7 @@ const deviceCodeExpired = "device_code_expired";
|
|
|
11611
11615
|
const deviceCodeUnknownError = "device_code_unknown_error";
|
|
11612
11616
|
//#endregion
|
|
11613
11617
|
//#region node_modules/@azure/msal-node/dist/client/ClientAssertion.mjs
|
|
11614
|
-
/*! @azure/msal-node v6.0.
|
|
11618
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
11615
11619
|
/**
|
|
11616
11620
|
* Client assertion of type jwt-bearer used in confidential client flows
|
|
11617
11621
|
* @public
|
|
@@ -11719,12 +11723,12 @@ var ClientAssertion = class ClientAssertion {
|
|
|
11719
11723
|
};
|
|
11720
11724
|
//#endregion
|
|
11721
11725
|
//#region node_modules/@azure/msal-node/dist/packageMetadata.mjs
|
|
11722
|
-
/*! @azure/msal-node v6.0.
|
|
11726
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
11723
11727
|
const name = "@azure/msal-node";
|
|
11724
|
-
const version = "6.0.
|
|
11728
|
+
const version = "6.0.1";
|
|
11725
11729
|
//#endregion
|
|
11726
11730
|
//#region node_modules/@azure/msal-node/dist/client/BaseClient.mjs
|
|
11727
|
-
/*! @azure/msal-node v6.0.
|
|
11731
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
11728
11732
|
/**
|
|
11729
11733
|
* Base application class which will construct requests to send to and handle responses from the Microsoft STS using the authorization code flow.
|
|
11730
11734
|
* @internal
|
|
@@ -11776,7 +11780,7 @@ var BaseClient = class {
|
|
|
11776
11780
|
};
|
|
11777
11781
|
//#endregion
|
|
11778
11782
|
//#region node_modules/@azure/msal-node/dist/client/UsernamePasswordClient.mjs
|
|
11779
|
-
/*! @azure/msal-node v6.0.
|
|
11783
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
11780
11784
|
/**
|
|
11781
11785
|
* Oauth2.0 Password grant client
|
|
11782
11786
|
* Note: We are only supporting public clients for password grant and for purely testing purposes
|
|
@@ -11857,7 +11861,7 @@ var UsernamePasswordClient = class extends BaseClient {
|
|
|
11857
11861
|
};
|
|
11858
11862
|
//#endregion
|
|
11859
11863
|
//#region node_modules/@azure/msal-node/dist/protocol/Authorize.mjs
|
|
11860
|
-
/*! @azure/msal-node v6.0.
|
|
11864
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
11861
11865
|
/**
|
|
11862
11866
|
* Constructs the full /authorize URL with request parameters
|
|
11863
11867
|
* @param config
|
|
@@ -11886,7 +11890,7 @@ function getAuthCodeRequestUrl(config, authority, request, logger) {
|
|
|
11886
11890
|
}
|
|
11887
11891
|
//#endregion
|
|
11888
11892
|
//#region node_modules/@azure/msal-node/dist/client/ClientApplication.mjs
|
|
11889
|
-
/*! @azure/msal-node v6.0.
|
|
11893
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
11890
11894
|
/**
|
|
11891
11895
|
* Base abstract class for all ClientApplications - public and confidential
|
|
11892
11896
|
* @public
|
|
@@ -11943,10 +11947,11 @@ var ClientApplication = class {
|
|
|
11943
11947
|
state: ""
|
|
11944
11948
|
};
|
|
11945
11949
|
}
|
|
11946
|
-
|
|
11950
|
+
const expectedNonce = request.nonce !== void 0 ? request.nonce : validatedAuthCodePayload?.nonce;
|
|
11951
|
+
validatedAuthCodePayload = {
|
|
11947
11952
|
...validatedAuthCodePayload,
|
|
11948
11953
|
code: request.code,
|
|
11949
|
-
nonce:
|
|
11954
|
+
nonce: expectedNonce
|
|
11950
11955
|
};
|
|
11951
11956
|
const validRequest = {
|
|
11952
11957
|
...request,
|
|
@@ -12205,7 +12210,7 @@ var ClientApplication = class {
|
|
|
12205
12210
|
};
|
|
12206
12211
|
//#endregion
|
|
12207
12212
|
//#region node_modules/@azure/msal-node/dist/network/LoopbackClient.mjs
|
|
12208
|
-
/*! @azure/msal-node v6.0.
|
|
12213
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
12209
12214
|
var LoopbackClient = class {
|
|
12210
12215
|
constructor(preferredPort) {
|
|
12211
12216
|
this.preferredPort = preferredPort;
|
|
@@ -12328,7 +12333,7 @@ var LoopbackClient = class {
|
|
|
12328
12333
|
};
|
|
12329
12334
|
//#endregion
|
|
12330
12335
|
//#region node_modules/@azure/msal-node/dist/client/DeviceCodeClient.mjs
|
|
12331
|
-
/*! @azure/msal-node v6.0.
|
|
12336
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
12332
12337
|
/**
|
|
12333
12338
|
* OAuth2.0 Device code client
|
|
12334
12339
|
* @public
|
|
@@ -12502,7 +12507,7 @@ var DeviceCodeClient = class extends BaseClient {
|
|
|
12502
12507
|
};
|
|
12503
12508
|
//#endregion
|
|
12504
12509
|
//#region node_modules/@azure/msal-node/dist/client/PublicClientApplication.mjs
|
|
12505
|
-
/*! @azure/msal-node v6.0.
|
|
12510
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
12506
12511
|
/**
|
|
12507
12512
|
* This class is to be used to acquire tokens for public client applications (desktop, mobile). Public client applications
|
|
12508
12513
|
* are not trusted to safely store application secrets, and therefore can only request tokens in the name of an user.
|
|
@@ -12743,19 +12748,19 @@ var PublicClientApplication = class extends ClientApplication {
|
|
|
12743
12748
|
};
|
|
12744
12749
|
//#endregion
|
|
12745
12750
|
//#region node_modules/@azure/msal-node/dist/client/ClientCredentialClient.mjs
|
|
12746
|
-
/*! @azure/msal-node v6.0.
|
|
12751
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
12747
12752
|
//#endregion
|
|
12748
12753
|
//#region node_modules/@azure/msal-node/dist/client/OnBehalfOfClient.mjs
|
|
12749
|
-
/*! @azure/msal-node v6.0.
|
|
12754
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
12750
12755
|
//#endregion
|
|
12751
12756
|
//#region node_modules/@azure/msal-node/dist/client/UserFederatedIdentityCredentialClient.mjs
|
|
12752
|
-
/*! @azure/msal-node v6.0.
|
|
12757
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
12753
12758
|
//#endregion
|
|
12754
12759
|
//#region node_modules/@azure/msal-node/dist/client/ConfidentialClientApplication.mjs
|
|
12755
|
-
/*! @azure/msal-node v6.0.
|
|
12760
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
12756
12761
|
//#endregion
|
|
12757
12762
|
//#region node_modules/@azure/msal-node/dist/utils/TimeUtils.mjs
|
|
12758
|
-
/*! @azure/msal-node v6.0.
|
|
12763
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
12759
12764
|
/**
|
|
12760
12765
|
* @internal
|
|
12761
12766
|
* Checks if a given date string is in ISO 8601 format.
|
|
@@ -12770,7 +12775,7 @@ function isIso8601(dateString) {
|
|
|
12770
12775
|
}
|
|
12771
12776
|
//#endregion
|
|
12772
12777
|
//#region node_modules/@azure/msal-node/dist/network/HttpClientWithRetries.mjs
|
|
12773
|
-
/*! @azure/msal-node v6.0.
|
|
12778
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
12774
12779
|
var HttpClientWithRetries = class {
|
|
12775
12780
|
constructor(httpClientNoRetries, retryPolicy, logger) {
|
|
12776
12781
|
this.httpClientNoRetries = httpClientNoRetries;
|
|
@@ -12800,7 +12805,7 @@ var HttpClientWithRetries = class {
|
|
|
12800
12805
|
};
|
|
12801
12806
|
//#endregion
|
|
12802
12807
|
//#region node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs
|
|
12803
|
-
/*! @azure/msal-node v6.0.
|
|
12808
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
12804
12809
|
/**
|
|
12805
12810
|
* Managed Identity User Assigned Id Query Parameter Names
|
|
12806
12811
|
*/
|
|
@@ -12990,21 +12995,21 @@ BaseManagedIdentitySource.getValidatedEnvVariableUrlString = (envVariableStringN
|
|
|
12990
12995
|
throw createManagedIdentityError(MsiEnvironmentVariableUrlMalformedErrorCodes[envVariableStringName], "");
|
|
12991
12996
|
}
|
|
12992
12997
|
};
|
|
12993
|
-
/*! @azure/msal-node v6.0.
|
|
12994
|
-
/*! @azure/msal-node v6.0.
|
|
12995
|
-
/*! @azure/msal-node v6.0.
|
|
12996
|
-
/*! @azure/msal-node v6.0.
|
|
12998
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
12999
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
13000
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
13001
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
12997
13002
|
`${process.env["ProgramData"]}`;
|
|
12998
13003
|
`${process.env["ProgramFiles"]}`;
|
|
12999
|
-
/*! @azure/msal-node v6.0.
|
|
13000
|
-
/*! @azure/msal-node v6.0.
|
|
13001
|
-
/*! @azure/msal-node v6.0.
|
|
13002
|
-
/*! @azure/msal-node v6.0.
|
|
13003
|
-
/*! @azure/msal-node v6.0.
|
|
13004
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
13005
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
13006
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
13007
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
13008
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
13004
13009
|
`${ManagedIdentitySourceNames.MACHINE_LEARNING}`;
|
|
13005
|
-
/*! @azure/msal-node v6.0.
|
|
13006
|
-
/*! @azure/msal-node v6.0.
|
|
13010
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
13011
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
13007
13012
|
ManagedIdentitySourceNames.SERVICE_FABRIC;
|
|
13008
|
-
/*! @azure/msal-node v6.0.
|
|
13013
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
13009
13014
|
//#endregion
|
|
13010
13015
|
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-Buz1ZIg5.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-BGVW-hOf.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-Buz1ZIg5.mjs";
|
|
2
|
+
import { t as getOrCreateAgent } from "./agent-C28PfLXM.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-BGVW-hOf.mjs");
|
|
1008
1008
|
app = new PublicClientApplication({
|
|
1009
1009
|
auth: {
|
|
1010
1010
|
clientId: CLIENT_ID,
|
package/dist/server.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as startServer, i as generateApiKey, j as DEFAULT_MODEL, n as DEFAULT_MAX_BODY_BYTES, r as SESSION_ID_HEADER, t as AUX_REQUEST_KIND_HEADER } from "./server-
|
|
1
|
+
import { a as startServer, i as generateApiKey, j as DEFAULT_MODEL, n as DEFAULT_MAX_BODY_BYTES, r as SESSION_ID_HEADER, t as AUX_REQUEST_KIND_HEADER } from "./server-Buz1ZIg5.mjs";
|
|
2
2
|
export { AUX_REQUEST_KIND_HEADER, DEFAULT_MAX_BODY_BYTES, DEFAULT_MODEL, SESSION_ID_HEADER, generateApiKey, startServer };
|