@hasna/skills 0.10.76 → 0.10.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -2
- package/bin/index.js +202 -57
- package/bin/mcp.js +108 -16
- package/bin/migrate.js +1 -1
- package/bin/server.js +36 -33
- package/bin/worker.js +4 -1
- package/dist/index.js +58 -14
- package/dist/lib/auth-store.d.ts +1 -1
- package/dist/lib/codex-plugin-capability-paths.d.ts +31 -0
- package/dist/lib/credential-profile-command.d.ts +5 -0
- package/dist/lib/fleet-credentials.d.ts +11 -5
- package/dist/lib/instance-credentials.d.ts +2 -0
- package/dist/lib/sign-in.d.ts +1 -1
- package/dist/runtime-prerequisites.js +1 -1
- package/dist/sdk/index.js +163 -121
- package/package.json +1 -1
package/dist/sdk/index.js
CHANGED
|
@@ -24586,7 +24586,7 @@ var require_httpAuthSchemes = __commonJS((exports) => {
|
|
|
24586
24586
|
});
|
|
24587
24587
|
|
|
24588
24588
|
// node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js
|
|
24589
|
-
var
|
|
24589
|
+
var import_client9, import_config10, ENV_KEY = "AWS_ACCESS_KEY_ID", ENV_SECRET = "AWS_SECRET_ACCESS_KEY", ENV_SESSION = "AWS_SESSION_TOKEN", ENV_EXPIRATION = "AWS_CREDENTIAL_EXPIRATION", ENV_CREDENTIAL_SCOPE = "AWS_CREDENTIAL_SCOPE", ENV_ACCOUNT_ID = "AWS_ACCOUNT_ID", fromEnv = (init) => async () => {
|
|
24590
24590
|
init?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");
|
|
24591
24591
|
const accessKeyId = process.env[ENV_KEY];
|
|
24592
24592
|
const secretAccessKey = process.env[ENV_SECRET];
|
|
@@ -24603,13 +24603,13 @@ var import_client8, import_config10, ENV_KEY = "AWS_ACCESS_KEY_ID", ENV_SECRET =
|
|
|
24603
24603
|
...credentialScope && { credentialScope },
|
|
24604
24604
|
...accountId && { accountId }
|
|
24605
24605
|
};
|
|
24606
|
-
|
|
24606
|
+
import_client9.setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS", "g");
|
|
24607
24607
|
return credentials;
|
|
24608
24608
|
}
|
|
24609
24609
|
throw new import_config10.CredentialsProviderError("Unable to find environment variable credentials.", { logger: init?.logger });
|
|
24610
24610
|
};
|
|
24611
24611
|
var init_fromEnv = __esm(() => {
|
|
24612
|
-
|
|
24612
|
+
import_client9 = __toESM(require_client2(), 1);
|
|
24613
24613
|
import_config10 = __toESM(require_config(), 1);
|
|
24614
24614
|
});
|
|
24615
24615
|
|
|
@@ -25951,7 +25951,7 @@ var retryWrapper = (toRetry, maxRetries, delayMs) => {
|
|
|
25951
25951
|
|
|
25952
25952
|
// node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js
|
|
25953
25953
|
import fs from "fs/promises";
|
|
25954
|
-
var
|
|
25954
|
+
var import_client10, import_config18, import_node_http_handler, AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI", DEFAULT_LINK_LOCAL_HOST = "http://169.254.170.2", AWS_CONTAINER_CREDENTIALS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI", AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE = "AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE", AWS_CONTAINER_AUTHORIZATION_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN", fromHttp = (options = {}) => {
|
|
25955
25955
|
options.logger?.debug("@aws-sdk/credential-provider-http - fromHttp");
|
|
25956
25956
|
let host;
|
|
25957
25957
|
const relative12 = options.awsContainerCredentialsRelativeUri ?? process.env[AWS_CONTAINER_CREDENTIALS_RELATIVE_URI];
|
|
@@ -25988,7 +25988,7 @@ Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
|
|
|
25988
25988
|
}
|
|
25989
25989
|
try {
|
|
25990
25990
|
const result = await requestHandler.handle(request2, { requestTimeout });
|
|
25991
|
-
return getCredentials(result.response).then((creds) =>
|
|
25991
|
+
return getCredentials(result.response).then((creds) => import_client10.setCredentialFeature(creds, "CREDENTIALS_HTTP", "z"));
|
|
25992
25992
|
} catch (e3) {
|
|
25993
25993
|
throw new import_config18.CredentialsProviderError(String(e3), { logger: options.logger });
|
|
25994
25994
|
}
|
|
@@ -26010,7 +26010,7 @@ Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
|
|
|
26010
26010
|
var init_fromHttp = __esm(() => {
|
|
26011
26011
|
init_checkUrl();
|
|
26012
26012
|
init_requestHelpers();
|
|
26013
|
-
|
|
26013
|
+
import_client10 = __toESM(require_client2(), 1);
|
|
26014
26014
|
import_config18 = __toESM(require_config(), 1);
|
|
26015
26015
|
import_node_http_handler = __toESM(require_dist_cjs6(), 1);
|
|
26016
26016
|
});
|
|
@@ -27394,7 +27394,7 @@ var init_loadSso = __esm(() => {
|
|
|
27394
27394
|
});
|
|
27395
27395
|
|
|
27396
27396
|
// node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js
|
|
27397
|
-
var
|
|
27397
|
+
var import_client11, import_config24, SHOULD_FAIL_CREDENTIAL_CHAIN = false, resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, callerClientConfig, profile, filepath, configFilepath, ignoreCache, logger }) => {
|
|
27398
27398
|
let token;
|
|
27399
27399
|
const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;
|
|
27400
27400
|
if (ssoSession) {
|
|
@@ -27470,15 +27470,15 @@ var import_client10, import_config24, SHOULD_FAIL_CREDENTIAL_CHAIN = false, reso
|
|
|
27470
27470
|
...accountId && { accountId }
|
|
27471
27471
|
};
|
|
27472
27472
|
if (ssoSession) {
|
|
27473
|
-
|
|
27473
|
+
import_client11.setCredentialFeature(credentials, "CREDENTIALS_SSO", "s");
|
|
27474
27474
|
} else {
|
|
27475
|
-
|
|
27475
|
+
import_client11.setCredentialFeature(credentials, "CREDENTIALS_SSO_LEGACY", "u");
|
|
27476
27476
|
}
|
|
27477
27477
|
return credentials;
|
|
27478
27478
|
};
|
|
27479
27479
|
var init_resolveSSOCredentials = __esm(() => {
|
|
27480
27480
|
init_dist_es4();
|
|
27481
|
-
|
|
27481
|
+
import_client11 = __toESM(require_client2(), 1);
|
|
27482
27482
|
import_config24 = __toESM(require_config(), 1);
|
|
27483
27483
|
});
|
|
27484
27484
|
|
|
@@ -27590,7 +27590,7 @@ var init_dist_es5 = __esm(() => {
|
|
|
27590
27590
|
});
|
|
27591
27591
|
|
|
27592
27592
|
// node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js
|
|
27593
|
-
var
|
|
27593
|
+
var import_client12, import_config27, resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
27594
27594
|
const sourceProvidersMap = {
|
|
27595
27595
|
EcsContainer: async (options) => {
|
|
27596
27596
|
const { fromHttp: fromHttp2 } = await Promise.resolve().then(() => (init_dist_es3(), exports_dist_es3));
|
|
@@ -27614,9 +27614,9 @@ var import_client11, import_config27, resolveCredentialSource = (credentialSourc
|
|
|
27614
27614
|
} else {
|
|
27615
27615
|
throw new import_config27.CredentialsProviderError(`Unsupported credential source in profile ${profileName}. Got ${credentialSource}, expected EcsContainer or Ec2InstanceMetadata or Environment.`, { logger });
|
|
27616
27616
|
}
|
|
27617
|
-
}, setNamedProvider = (creds) =>
|
|
27617
|
+
}, setNamedProvider = (creds) => import_client12.setCredentialFeature(creds, "CREDENTIALS_PROFILE_NAMED_PROVIDER", "p");
|
|
27618
27618
|
var init_resolveCredentialSource = __esm(() => {
|
|
27619
|
-
|
|
27619
|
+
import_client12 = __toESM(require_client2(), 1);
|
|
27620
27620
|
import_config27 = __toESM(require_config(), 1);
|
|
27621
27621
|
});
|
|
27622
27622
|
|
|
@@ -28643,7 +28643,7 @@ var require_sts = __commonJS((exports) => {
|
|
|
28643
28643
|
});
|
|
28644
28644
|
|
|
28645
28645
|
// node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
|
|
28646
|
-
var
|
|
28646
|
+
var import_client13, import_config28, isAssumeRoleProfile = (arg, { profile = "default", logger } = {}) => {
|
|
28647
28647
|
return Boolean(arg) && typeof arg === "object" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 && ["undefined", "string"].indexOf(typeof arg.external_id) > -1 && ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger }));
|
|
28648
28648
|
}, isAssumeRoleWithSourceProfile = (arg, { profile, logger }) => {
|
|
28649
28649
|
const withSourceProfile = typeof arg.source_profile === "string" && typeof arg.credential_source === "undefined";
|
|
@@ -28682,7 +28682,7 @@ var import_client12, import_config28, isAssumeRoleProfile = (arg, { profile = "d
|
|
|
28682
28682
|
[source_profile]: true
|
|
28683
28683
|
}, isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {})) : (await resolveCredentialSource(profileData.credential_source, profileName, options.logger)(options))();
|
|
28684
28684
|
if (isCredentialSourceWithoutRoleArn(profileData)) {
|
|
28685
|
-
return sourceCredsProvider.then((creds) =>
|
|
28685
|
+
return sourceCredsProvider.then((creds) => import_client13.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SOURCE_PROFILE", "o"));
|
|
28686
28686
|
} else {
|
|
28687
28687
|
const params = {
|
|
28688
28688
|
RoleArn: profileData.role_arn,
|
|
@@ -28699,14 +28699,14 @@ var import_client12, import_config28, isAssumeRoleProfile = (arg, { profile = "d
|
|
|
28699
28699
|
params.TokenCode = await options.mfaCodeProvider(mfa_serial);
|
|
28700
28700
|
}
|
|
28701
28701
|
const sourceCreds = await sourceCredsProvider;
|
|
28702
|
-
return options.roleAssumer(sourceCreds, params).then((creds) =>
|
|
28702
|
+
return options.roleAssumer(sourceCreds, params).then((creds) => import_client13.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SOURCE_PROFILE", "o"));
|
|
28703
28703
|
}
|
|
28704
28704
|
}, isCredentialSourceWithoutRoleArn = (section) => {
|
|
28705
28705
|
return !section.role_arn && !!section.credential_source;
|
|
28706
28706
|
};
|
|
28707
28707
|
var init_resolveAssumeRoleCredentials = __esm(() => {
|
|
28708
28708
|
init_resolveCredentialSource();
|
|
28709
|
-
|
|
28709
|
+
import_client13 = __toESM(require_client2(), 1);
|
|
28710
28710
|
import_config28 = __toESM(require_config(), 1);
|
|
28711
28711
|
});
|
|
28712
28712
|
|
|
@@ -29707,7 +29707,7 @@ var init_LoginCredentialsFetcher = __esm(() => {
|
|
|
29707
29707
|
});
|
|
29708
29708
|
|
|
29709
29709
|
// node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js
|
|
29710
|
-
var
|
|
29710
|
+
var import_client14, import_config30, fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => {
|
|
29711
29711
|
init?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");
|
|
29712
29712
|
const profiles = await import_config30.parseKnownFiles(init || {});
|
|
29713
29713
|
const profileName = import_config30.getProfileName({
|
|
@@ -29722,11 +29722,11 @@ var import_client13, import_config30, fromLoginCredentials = (init) => async ({
|
|
|
29722
29722
|
}
|
|
29723
29723
|
const fetcher = new LoginCredentialsFetcher(profile, init, callerClientConfig);
|
|
29724
29724
|
const credentials = await fetcher.loadCredentials();
|
|
29725
|
-
return
|
|
29725
|
+
return import_client14.setCredentialFeature(credentials, "CREDENTIALS_LOGIN", "AD");
|
|
29726
29726
|
};
|
|
29727
29727
|
var init_fromLoginCredentials = __esm(() => {
|
|
29728
29728
|
init_LoginCredentialsFetcher();
|
|
29729
|
-
|
|
29729
|
+
import_client14 = __toESM(require_client2(), 1);
|
|
29730
29730
|
import_config30 = __toESM(require_config(), 1);
|
|
29731
29731
|
});
|
|
29732
29732
|
|
|
@@ -29740,7 +29740,7 @@ var init_dist_es6 = __esm(() => {
|
|
|
29740
29740
|
});
|
|
29741
29741
|
|
|
29742
29742
|
// node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js
|
|
29743
|
-
var
|
|
29743
|
+
var import_client15, isLoginProfile = (data) => {
|
|
29744
29744
|
return Boolean(data && data.login_session);
|
|
29745
29745
|
}, resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
|
|
29746
29746
|
const { fromLoginCredentials: fromLoginCredentials2 } = await Promise.resolve().then(() => (init_dist_es6(), exports_dist_es5));
|
|
@@ -29748,14 +29748,14 @@ var import_client14, isLoginProfile = (data) => {
|
|
|
29748
29748
|
...options,
|
|
29749
29749
|
profile: profileName
|
|
29750
29750
|
})({ callerClientConfig });
|
|
29751
|
-
return
|
|
29751
|
+
return import_client15.setCredentialFeature(credentials, "CREDENTIALS_PROFILE_LOGIN", "AC");
|
|
29752
29752
|
};
|
|
29753
29753
|
var init_resolveLoginCredentials = __esm(() => {
|
|
29754
|
-
|
|
29754
|
+
import_client15 = __toESM(require_client2(), 1);
|
|
29755
29755
|
});
|
|
29756
29756
|
|
|
29757
29757
|
// node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js
|
|
29758
|
-
var
|
|
29758
|
+
var import_client16, getValidatedProcessCredentials = (profileName, data, profiles) => {
|
|
29759
29759
|
if (data.Version !== 1) {
|
|
29760
29760
|
throw Error(`Profile ${profileName} credential_process did not return Version 1.`);
|
|
29761
29761
|
}
|
|
@@ -29781,11 +29781,11 @@ var import_client15, getValidatedProcessCredentials = (profileName, data, profil
|
|
|
29781
29781
|
...data.CredentialScope && { credentialScope: data.CredentialScope },
|
|
29782
29782
|
...accountId && { accountId }
|
|
29783
29783
|
};
|
|
29784
|
-
|
|
29784
|
+
import_client16.setCredentialFeature(credentials, "CREDENTIALS_PROCESS", "w");
|
|
29785
29785
|
return credentials;
|
|
29786
29786
|
};
|
|
29787
29787
|
var init_getValidatedProcessCredentials = __esm(() => {
|
|
29788
|
-
|
|
29788
|
+
import_client16 = __toESM(require_client2(), 1);
|
|
29789
29789
|
});
|
|
29790
29790
|
|
|
29791
29791
|
// node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js
|
|
@@ -29846,20 +29846,20 @@ var init_dist_es7 = __esm(() => {
|
|
|
29846
29846
|
});
|
|
29847
29847
|
|
|
29848
29848
|
// node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
|
|
29849
|
-
var
|
|
29849
|
+
var import_client17, isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string", resolveProcessCredentials2 = async (options, profile) => {
|
|
29850
29850
|
const { fromProcess: fromProcess2 } = await Promise.resolve().then(() => (init_dist_es7(), exports_dist_es6));
|
|
29851
29851
|
const credentials = await fromProcess2({
|
|
29852
29852
|
...options,
|
|
29853
29853
|
profile
|
|
29854
29854
|
})();
|
|
29855
|
-
return
|
|
29855
|
+
return import_client17.setCredentialFeature(credentials, "CREDENTIALS_PROFILE_PROCESS", "v");
|
|
29856
29856
|
};
|
|
29857
29857
|
var init_resolveProcessCredentials2 = __esm(() => {
|
|
29858
|
-
|
|
29858
|
+
import_client17 = __toESM(require_client2(), 1);
|
|
29859
29859
|
});
|
|
29860
29860
|
|
|
29861
29861
|
// node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
|
|
29862
|
-
var
|
|
29862
|
+
var import_client18, resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
|
|
29863
29863
|
const { fromSSO: fromSSO2 } = await Promise.resolve().then(() => (init_dist_es5(), exports_dist_es4));
|
|
29864
29864
|
return fromSSO2({
|
|
29865
29865
|
profile,
|
|
@@ -29870,18 +29870,18 @@ var import_client17, resolveSsoCredentials = async (profile, profileData, option
|
|
|
29870
29870
|
callerClientConfig
|
|
29871
29871
|
}).then((creds) => {
|
|
29872
29872
|
if (profileData.sso_session) {
|
|
29873
|
-
return
|
|
29873
|
+
return import_client18.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SSO", "r");
|
|
29874
29874
|
} else {
|
|
29875
|
-
return
|
|
29875
|
+
return import_client18.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SSO_LEGACY", "t");
|
|
29876
29876
|
}
|
|
29877
29877
|
});
|
|
29878
29878
|
}, isSsoProfile2 = (arg) => arg && (typeof arg.sso_start_url === "string" || typeof arg.sso_account_id === "string" || typeof arg.sso_session === "string" || typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string");
|
|
29879
29879
|
var init_resolveSsoCredentials = __esm(() => {
|
|
29880
|
-
|
|
29880
|
+
import_client18 = __toESM(require_client2(), 1);
|
|
29881
29881
|
});
|
|
29882
29882
|
|
|
29883
29883
|
// node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js
|
|
29884
|
-
var
|
|
29884
|
+
var import_client19, isStaticCredsProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.aws_access_key_id === "string" && typeof arg.aws_secret_access_key === "string" && ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1 && ["undefined", "string"].indexOf(typeof arg.aws_account_id) > -1, resolveStaticCredentials = async (profile, options) => {
|
|
29885
29885
|
options?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");
|
|
29886
29886
|
const credentials = {
|
|
29887
29887
|
accessKeyId: profile.aws_access_key_id,
|
|
@@ -29890,10 +29890,10 @@ var import_client18, isStaticCredsProfile = (arg) => Boolean(arg) && typeof arg
|
|
|
29890
29890
|
...profile.aws_credential_scope && { credentialScope: profile.aws_credential_scope },
|
|
29891
29891
|
...profile.aws_account_id && { accountId: profile.aws_account_id }
|
|
29892
29892
|
};
|
|
29893
|
-
return
|
|
29893
|
+
return import_client19.setCredentialFeature(credentials, "CREDENTIALS_PROFILE", "n");
|
|
29894
29894
|
};
|
|
29895
29895
|
var init_resolveStaticCredentials = __esm(() => {
|
|
29896
|
-
|
|
29896
|
+
import_client19 = __toESM(require_client2(), 1);
|
|
29897
29897
|
});
|
|
29898
29898
|
|
|
29899
29899
|
// node_modules/@aws-sdk/credential-provider-web-identity/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js
|
|
@@ -30947,7 +30947,7 @@ var fromWebToken = (init) => async (awsIdentityProperties) => {
|
|
|
30947
30947
|
|
|
30948
30948
|
// node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js
|
|
30949
30949
|
import { readFileSync as readFileSync29 } from "fs";
|
|
30950
|
-
var
|
|
30950
|
+
var import_client20, import_config33, ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE", ENV_ROLE_ARN = "AWS_ROLE_ARN", ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME", fromTokenFile = (init = {}) => async (awsIdentityProperties) => {
|
|
30951
30951
|
init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");
|
|
30952
30952
|
const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];
|
|
30953
30953
|
const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];
|
|
@@ -30964,12 +30964,12 @@ var import_client19, import_config33, ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_F
|
|
|
30964
30964
|
roleSessionName
|
|
30965
30965
|
})(awsIdentityProperties);
|
|
30966
30966
|
if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {
|
|
30967
|
-
|
|
30967
|
+
import_client20.setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN", "h");
|
|
30968
30968
|
}
|
|
30969
30969
|
return credentials;
|
|
30970
30970
|
};
|
|
30971
30971
|
var init_fromTokenFile = __esm(() => {
|
|
30972
|
-
|
|
30972
|
+
import_client20 = __toESM(require_client2(), 1);
|
|
30973
30973
|
import_config33 = __toESM(require_config(), 1);
|
|
30974
30974
|
});
|
|
30975
30975
|
|
|
@@ -30984,7 +30984,7 @@ var init_dist_es8 = __esm(() => {
|
|
|
30984
30984
|
});
|
|
30985
30985
|
|
|
30986
30986
|
// node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
|
|
30987
|
-
var
|
|
30987
|
+
var import_client21, isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1, resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => {
|
|
30988
30988
|
const { fromTokenFile: fromTokenFile2 } = await Promise.resolve().then(() => (init_dist_es8(), exports_dist_es7));
|
|
30989
30989
|
const credentials = await fromTokenFile2({
|
|
30990
30990
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
@@ -30996,10 +30996,10 @@ var import_client20, isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg
|
|
|
30996
30996
|
})({
|
|
30997
30997
|
callerClientConfig
|
|
30998
30998
|
});
|
|
30999
|
-
return
|
|
30999
|
+
return import_client21.setCredentialFeature(credentials, "CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN", "q");
|
|
31000
31000
|
};
|
|
31001
31001
|
var init_resolveWebIdentityCredentials = __esm(() => {
|
|
31002
|
-
|
|
31002
|
+
import_client21 = __toESM(require_client2(), 1);
|
|
31003
31003
|
});
|
|
31004
31004
|
|
|
31005
31005
|
// node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js
|
|
@@ -32371,7 +32371,7 @@ var init_event_sink = __esm(() => {
|
|
|
32371
32371
|
init_dist();
|
|
32372
32372
|
});
|
|
32373
32373
|
// package.json
|
|
32374
|
-
var version = "0.10.
|
|
32374
|
+
var version = "0.10.77";
|
|
32375
32375
|
var package_default = {
|
|
32376
32376
|
name: "@hasna/skills",
|
|
32377
32377
|
version,
|
|
@@ -33526,6 +33526,9 @@ function selectsSkillsLocalMode(env = process.env) {
|
|
|
33526
33526
|
return !hasSkillsEnvAuthorityIntent(env) && isSkillsLocalOptIn(env);
|
|
33527
33527
|
}
|
|
33528
33528
|
|
|
33529
|
+
// src/lib/credential-profile-command.ts
|
|
33530
|
+
var urlKeys = clientTransportEnvKeys("skills").apiUrlKeys;
|
|
33531
|
+
|
|
33529
33532
|
// src/lib/fleet-credentials.ts
|
|
33530
33533
|
var SKILLS_APP = "skills";
|
|
33531
33534
|
var ENV_KEYS = clientTransportEnvKeys(SKILLS_APP);
|
|
@@ -41361,6 +41364,37 @@ function hashRawDiscoveryFile(path, budget2, changes) {
|
|
|
41361
41364
|
}
|
|
41362
41365
|
}
|
|
41363
41366
|
|
|
41367
|
+
// src/lib/codex-plugin-capability-paths.ts
|
|
41368
|
+
var CODEX_PLUGIN_MANIFEST_LOCATIONS = Object.freeze([
|
|
41369
|
+
"plugin.json",
|
|
41370
|
+
".codex-plugin/plugin.json",
|
|
41371
|
+
".claude-plugin/plugin.json",
|
|
41372
|
+
".cursor-plugin/plugin.json"
|
|
41373
|
+
]);
|
|
41374
|
+
var CODEX_PLUGIN_MANIFEST_DIRECTORIES = Object.freeze([".codex-plugin", ".claude-plugin", ".cursor-plugin"]);
|
|
41375
|
+
var CODEX_PLUGIN_ROOT_CAPABILITY_ENTRIES = Object.freeze([
|
|
41376
|
+
"plugin.json",
|
|
41377
|
+
".codex-plugin",
|
|
41378
|
+
".claude-plugin",
|
|
41379
|
+
".cursor-plugin",
|
|
41380
|
+
"hooks",
|
|
41381
|
+
"hooks.json",
|
|
41382
|
+
".mcp.json",
|
|
41383
|
+
".app.json",
|
|
41384
|
+
"commands",
|
|
41385
|
+
"agents"
|
|
41386
|
+
]);
|
|
41387
|
+
function foldCodexPluginEntryName(name) {
|
|
41388
|
+
return name.toUpperCase().toLowerCase();
|
|
41389
|
+
}
|
|
41390
|
+
function codexPluginRootCapabilityEntry(name) {
|
|
41391
|
+
const folded = foldCodexPluginEntryName(name);
|
|
41392
|
+
return CODEX_PLUGIN_ROOT_CAPABILITY_ENTRIES.includes(folded) ? folded : null;
|
|
41393
|
+
}
|
|
41394
|
+
function isCodexSkillDocumentName(name) {
|
|
41395
|
+
return foldCodexPluginEntryName(name) === "skill.md";
|
|
41396
|
+
}
|
|
41397
|
+
|
|
41364
41398
|
// src/lib/codex-hook-mcp-dependencies.ts
|
|
41365
41399
|
var need5 = (value) => {
|
|
41366
41400
|
if (!value)
|
|
@@ -41510,15 +41544,13 @@ function captureCodexHookMcpDependencies(configPath, reviewed, configText, chang
|
|
|
41510
41544
|
}
|
|
41511
41545
|
};
|
|
41512
41546
|
const root = join17(cacheRoot, identity3, selectCodexPluginVersion(versions, selectionBudget));
|
|
41513
|
-
const
|
|
41547
|
+
const [agentPluginManifest, ...legacyManifests] = CODEX_PLUGIN_MANIFEST_LOCATIONS;
|
|
41548
|
+
const agent = read(join17(root, agentPluginManifest));
|
|
41514
41549
|
if (agent !== null) {
|
|
41515
41550
|
const schema = JSON.parse(agent).$schema;
|
|
41516
41551
|
need5(typeof schema !== "string" || !schema.startsWith("https://agent-plugins.org/schemas/"));
|
|
41517
41552
|
}
|
|
41518
|
-
const
|
|
41519
|
-
const claude = read(join17(root, ".claude-plugin/plugin.json"));
|
|
41520
|
-
const cursor = read(join17(root, ".cursor-plugin/plugin.json"));
|
|
41521
|
-
const text2 = codex ?? claude ?? cursor;
|
|
41553
|
+
const text2 = legacyManifests.map((location) => read(join17(root, location))).find((value) => value !== null) ?? null;
|
|
41522
41554
|
if (text2 === null)
|
|
41523
41555
|
continue;
|
|
41524
41556
|
const manifest = JSON.parse(text2);
|
|
@@ -42215,6 +42247,7 @@ import { createHash as createHash18 } from "crypto";
|
|
|
42215
42247
|
import { constants as constants12, closeSync as closeSync15, fstatSync as fstatSync15, lstatSync as lstatSync14, openSync as openSync15, readSync as readSync8, readdirSync as readdirSync5, realpathSync as realpathSync9 } from "fs";
|
|
42216
42248
|
import { basename as basename9, dirname as dirname14, isAbsolute as isAbsolute15, join as join18, relative as relative6, resolve as resolve14, sep as sep8 } from "path";
|
|
42217
42249
|
var CODEX_SEMANTIC_CACHE_WITNESS_SCHEMA = "hasna.codex-semantic-cache-witness.v1";
|
|
42250
|
+
var SEMANTIC_BOUND_ROOT_ENTRIES = Object.freeze([".codex-plugin", ".app.json", ".mcp.json", "hooks"]);
|
|
42218
42251
|
var identifier5 = (value) => typeof value === "string" && /^[A-Za-z0-9_-]{1,64}$/.test(value);
|
|
42219
42252
|
var digest2 = (value) => typeof value === "string" && /^[a-f0-9]{64}$/.test(value);
|
|
42220
42253
|
var refuse5 = () => {
|
|
@@ -42724,14 +42757,23 @@ function assertParents(cacheRoot, controls, appOnlyParents, hookParents, files,
|
|
|
42724
42757
|
continue;
|
|
42725
42758
|
const parent = join18(cacheRoot, parts[0], parts[1]);
|
|
42726
42759
|
const root = join18(parent, parts[2]);
|
|
42727
|
-
const base = parts[parts.length - 1];
|
|
42728
|
-
if (parts.
|
|
42760
|
+
const base = parts[parts.length - 1], folded = foldCodexPluginEntryName(base);
|
|
42761
|
+
if (parts.length === 3 && (codexPluginRootCapabilityEntry(base) !== null || isCodexSkillDocumentName(base)))
|
|
42729
42762
|
refuse5();
|
|
42730
|
-
|
|
42763
|
+
const rootEntry = parts.length >= 4 ? codexPluginRootCapabilityEntry(parts[3]) : null;
|
|
42764
|
+
if (rootEntry !== null && rootEntry !== parts[3])
|
|
42731
42765
|
refuse5();
|
|
42732
|
-
if (
|
|
42766
|
+
if (rootEntry !== null && !SEMANTIC_BOUND_ROOT_ENTRIES.includes(rootEntry))
|
|
42733
42767
|
refuse5();
|
|
42734
|
-
if ((
|
|
42768
|
+
if (isCodexSkillDocumentName(base) && base !== "SKILL.md")
|
|
42769
|
+
refuse5();
|
|
42770
|
+
if (parts.some((part) => CODEX_PLUGIN_MANIFEST_DIRECTORIES.includes(foldCodexPluginEntryName(part))) && (parts.length < 4 || parts[3] !== ".codex-plugin" || (parts.length === 4 ? base !== ".codex-plugin" : parts.length !== 5 || base !== "plugin.json")))
|
|
42771
|
+
refuse5();
|
|
42772
|
+
if ([".app.json", ".mcp.json"].includes(folded) && (parts.length !== 4 || dirname14(member) !== root))
|
|
42773
|
+
refuse5();
|
|
42774
|
+
if ([".app.json", ".mcp.json"].includes(folded) && hookParents.some((reviewed) => reviewed.pluginParent === parent))
|
|
42775
|
+
refuse5();
|
|
42776
|
+
if ((rootEntry === "hooks" || folded === "hooks.json") && (![4, 5].includes(parts.length) || parts[3] !== "hooks" || (parts.length === 4 ? base !== "hooks" : base !== "hooks.json") || !hookParents.some((reviewed) => reviewed.pluginParent === join18(cacheRoot, parts[0], parts[1]))))
|
|
42735
42777
|
refuse5();
|
|
42736
42778
|
}
|
|
42737
42779
|
}
|
|
@@ -42998,16 +43040,16 @@ function codexVendorMarketplace(cache, path) {
|
|
|
42998
43040
|
return null;
|
|
42999
43041
|
return CODEX_VENDOR_MARKETPLACES.includes(parts[0]) ? parts[0] : null;
|
|
43000
43042
|
}
|
|
43001
|
-
var OTHER_PLUGIN_CONTROLS = Object.freeze(
|
|
43043
|
+
var OTHER_PLUGIN_CONTROLS = Object.freeze(CODEX_PLUGIN_ROOT_CAPABILITY_ENTRIES.filter((entry) => entry !== ".codex-plugin" && entry !== ".app.json"));
|
|
43002
43044
|
var VENDOR_MANIFEST_KEYS = Object.freeze(["name", "version", "description", "author", "homepage", "repository", "license", "keywords", "interface", "skills", "apps"]);
|
|
43003
43045
|
var DEFAULT_SKILLS_PATHS = Object.freeze(["./skills", "./skills/"]);
|
|
43004
43046
|
var VENDOR_APP_DECLARATION = "./.app.json";
|
|
43005
43047
|
var MAX_SUBTREE_ENTRIES = 20000;
|
|
43006
43048
|
var MAX_SUBTREE_DEPTH = 32;
|
|
43007
43049
|
var hiddenName = (name) => name.startsWith(".") || name === "node_modules";
|
|
43008
|
-
var isSkillDocument =
|
|
43050
|
+
var isSkillDocument = isCodexSkillDocumentName;
|
|
43009
43051
|
var present = (path) => lstatSync15(path, { throwIfNoEntry: false }) !== undefined;
|
|
43010
|
-
var holdsOtherControl = (path) => readdirSync6(path).some((name) => OTHER_PLUGIN_CONTROLS.includes(name
|
|
43052
|
+
var holdsOtherControl = (path) => readdirSync6(path).some((name) => OTHER_PLUGIN_CONTROLS.includes(codexPluginRootCapabilityEntry(name) ?? ""));
|
|
43011
43053
|
function pluginTreeVisible(path, hidden, insideSkill, depth, budget2) {
|
|
43012
43054
|
if (depth > MAX_SUBTREE_DEPTH)
|
|
43013
43055
|
return false;
|
|
@@ -53953,7 +53995,7 @@ var $getFlexibleChecksumsPlugin = getFlexibleChecksumsPlugin;
|
|
|
53953
53995
|
var $resolveFlexibleChecksumsConfig = resolveFlexibleChecksumsConfig;
|
|
53954
53996
|
|
|
53955
53997
|
// node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
|
|
53956
|
-
var
|
|
53998
|
+
var import_client27 = __toESM(require_client2(), 1);
|
|
53957
53999
|
|
|
53958
54000
|
// node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.js
|
|
53959
54001
|
var { NoOpLogger, getSmithyContext } = require_client();
|
|
@@ -54562,7 +54604,7 @@ var $resolveS3Config = resolveS3Config;
|
|
|
54562
54604
|
|
|
54563
54605
|
// node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
|
|
54564
54606
|
var import_core = __toESM(require_dist_cjs2(), 1);
|
|
54565
|
-
var
|
|
54607
|
+
var import_client28 = __toESM(require_client(), 1);
|
|
54566
54608
|
var import_config38 = __toESM(require_config(), 1);
|
|
54567
54609
|
var import_endpoints5 = __toESM(require_endpoints(), 1);
|
|
54568
54610
|
var import_event_streams2 = __toESM(require_event_streams(), 1);
|
|
@@ -54573,11 +54615,11 @@ var import_schema2 = __toESM(require_schema4(), 1);
|
|
|
54573
54615
|
// node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js
|
|
54574
54616
|
var import_httpAuthSchemes = __toESM(require_httpAuthSchemes(), 1);
|
|
54575
54617
|
var import_signature_v4_multi_region = __toESM(require_dist_cjs4(), 1);
|
|
54576
|
-
var
|
|
54618
|
+
var import_client6 = __toESM(require_client(), 1);
|
|
54577
54619
|
var import_endpoints3 = __toESM(require_endpoints(), 1);
|
|
54578
54620
|
|
|
54579
54621
|
// node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js
|
|
54580
|
-
var
|
|
54622
|
+
var import_client5 = __toESM(require_client2(), 1);
|
|
54581
54623
|
var import_endpoints2 = __toESM(require_endpoints(), 1);
|
|
54582
54624
|
|
|
54583
54625
|
// node_modules/@aws-sdk/client-s3/dist-es/endpoint/bdd.js
|
|
@@ -56550,7 +56592,7 @@ var defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
56550
56592
|
logger: context.logger
|
|
56551
56593
|
}));
|
|
56552
56594
|
};
|
|
56553
|
-
import_endpoints2.customEndpointFunctions.aws =
|
|
56595
|
+
import_endpoints2.customEndpointFunctions.aws = import_client5.awsEndpointFunctions;
|
|
56554
56596
|
|
|
56555
56597
|
// node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js
|
|
56556
56598
|
var createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
|
|
@@ -56558,7 +56600,7 @@ var createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSche
|
|
|
56558
56600
|
throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
|
|
56559
56601
|
}
|
|
56560
56602
|
const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);
|
|
56561
|
-
const instructionsFn =
|
|
56603
|
+
const instructionsFn = import_client6.getSmithyContext(context)?.commandInstance?.constructor?.getEndpointParameterInstructions;
|
|
56562
56604
|
if (!instructionsFn) {
|
|
56563
56605
|
throw new Error(`getEndpointParameterInstructions() is not defined on '${context.commandName}'`);
|
|
56564
56606
|
}
|
|
@@ -56567,8 +56609,8 @@ var createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSche
|
|
|
56567
56609
|
};
|
|
56568
56610
|
var _defaultS3HttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
56569
56611
|
return {
|
|
56570
|
-
operation:
|
|
56571
|
-
region: await
|
|
56612
|
+
operation: import_client6.getSmithyContext(context).operation,
|
|
56613
|
+
region: await import_client6.normalizeProvider(config.region)() || (() => {
|
|
56572
56614
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
56573
56615
|
})()
|
|
56574
56616
|
};
|
|
@@ -56664,12 +56706,12 @@ var resolveHttpAuthSchemeConfig = (config) => {
|
|
|
56664
56706
|
const config_0 = import_httpAuthSchemes.resolveAwsSdkSigV4Config(config);
|
|
56665
56707
|
const config_1 = import_httpAuthSchemes.resolveAwsSdkSigV4AConfig(config_0);
|
|
56666
56708
|
return Object.assign(config_1, {
|
|
56667
|
-
authSchemePreference:
|
|
56709
|
+
authSchemePreference: import_client6.normalizeProvider(config.authSchemePreference ?? [])
|
|
56668
56710
|
});
|
|
56669
56711
|
};
|
|
56670
56712
|
|
|
56671
56713
|
// node_modules/@aws-sdk/client-s3/dist-es/commandBuilder.js
|
|
56672
|
-
var
|
|
56714
|
+
var import_client7 = __toESM(require_client(), 1);
|
|
56673
56715
|
var import_endpoints4 = __toESM(require_endpoints(), 1);
|
|
56674
56716
|
|
|
56675
56717
|
// node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js
|
|
@@ -56699,7 +56741,7 @@ var commonParams = {
|
|
|
56699
56741
|
};
|
|
56700
56742
|
|
|
56701
56743
|
// node_modules/@aws-sdk/client-s3/dist-es/commandBuilder.js
|
|
56702
|
-
var command =
|
|
56744
|
+
var command = import_client7.makeBuilder(commonParams, "AmazonS3", "S3Client", import_endpoints4.getEndpointPlugin);
|
|
56703
56745
|
var _ep0 = {
|
|
56704
56746
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
56705
56747
|
Key: { type: "contextParams", name: "Key" }
|
|
@@ -56734,8 +56776,8 @@ var _mw11 = (Command, cs, config, o3) => [
|
|
|
56734
56776
|
var import_schema = __toESM(require_schema4(), 1);
|
|
56735
56777
|
|
|
56736
56778
|
// node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js
|
|
56737
|
-
var
|
|
56738
|
-
class S3ServiceException extends
|
|
56779
|
+
var import_client8 = __toESM(require_client(), 1);
|
|
56780
|
+
class S3ServiceException extends import_client8.ServiceException {
|
|
56739
56781
|
constructor(options) {
|
|
56740
56782
|
super(options);
|
|
56741
56783
|
Object.setPrototypeOf(this, S3ServiceException.prototype);
|
|
@@ -62561,7 +62603,7 @@ var package_default2 = {
|
|
|
62561
62603
|
};
|
|
62562
62604
|
|
|
62563
62605
|
// node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
|
|
62564
|
-
var
|
|
62606
|
+
var import_client23 = __toESM(require_client2(), 1);
|
|
62565
62607
|
var import_httpAuthSchemes3 = __toESM(require_httpAuthSchemes(), 1);
|
|
62566
62608
|
|
|
62567
62609
|
// node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
|
|
@@ -62719,7 +62761,7 @@ var defaultProvider = (init = {}) => memoizeChain([
|
|
|
62719
62761
|
var credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;
|
|
62720
62762
|
// node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
|
|
62721
62763
|
var import_checksum2 = __toESM(require_checksum(), 1);
|
|
62722
|
-
var
|
|
62764
|
+
var import_client24 = __toESM(require_client(), 1);
|
|
62723
62765
|
var import_config37 = __toESM(require_config(), 1);
|
|
62724
62766
|
var import_event_streams = __toESM(require_event_streams(), 1);
|
|
62725
62767
|
var import_retry3 = __toESM(require_retry(), 1);
|
|
@@ -62959,7 +63001,7 @@ var $Sha1 = Sha1Node;
|
|
|
62959
63001
|
var import_httpAuthSchemes2 = __toESM(require_httpAuthSchemes(), 1);
|
|
62960
63002
|
var import_signature_v4_multi_region2 = __toESM(require_dist_cjs4(), 1);
|
|
62961
63003
|
var import_checksum = __toESM(require_checksum(), 1);
|
|
62962
|
-
var
|
|
63004
|
+
var import_client22 = __toESM(require_client(), 1);
|
|
62963
63005
|
var import_protocols4 = __toESM(require_protocols(), 1);
|
|
62964
63006
|
var import_serde3 = __toESM(require_serde(), 1);
|
|
62965
63007
|
var getRuntimeConfig2 = (config) => {
|
|
@@ -62984,7 +63026,7 @@ var getRuntimeConfig2 = (config) => {
|
|
|
62984
63026
|
signer: new import_httpAuthSchemes2.AwsSdkSigV4ASigner
|
|
62985
63027
|
}
|
|
62986
63028
|
],
|
|
62987
|
-
logger: config?.logger ?? new
|
|
63029
|
+
logger: config?.logger ?? new import_client22.NoOpLogger,
|
|
62988
63030
|
md5: config?.md5 ?? import_checksum.Md5,
|
|
62989
63031
|
protocol: config?.protocol ?? $S3RestXmlProtocol,
|
|
62990
63032
|
protocolSettings: config?.protocolSettings ?? {
|
|
@@ -63009,11 +63051,11 @@ var getRuntimeConfig2 = (config) => {
|
|
|
63009
63051
|
|
|
63010
63052
|
// node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
|
|
63011
63053
|
var getRuntimeConfig3 = (config) => {
|
|
63012
|
-
|
|
63054
|
+
import_client24.emitWarningIfUnsupportedVersion(process.version);
|
|
63013
63055
|
const defaultsMode = import_config37.resolveDefaultsModeConfig(config);
|
|
63014
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
63056
|
+
const defaultConfigProvider = () => defaultsMode().then(import_client24.loadConfigsForDefaultMode);
|
|
63015
63057
|
const clientSharedValues = getRuntimeConfig2(config);
|
|
63016
|
-
|
|
63058
|
+
import_client23.emitWarningIfUnsupportedVersion(process.version);
|
|
63017
63059
|
const loaderConfig = {
|
|
63018
63060
|
profile: config?.profile,
|
|
63019
63061
|
logger: clientSharedValues.logger
|
|
@@ -63026,7 +63068,7 @@ var getRuntimeConfig3 = (config) => {
|
|
|
63026
63068
|
authSchemePreference: config?.authSchemePreference ?? import_config37.loadConfig(import_httpAuthSchemes3.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
63027
63069
|
bodyLengthChecker: config?.bodyLengthChecker ?? import_serde4.calculateBodyLength,
|
|
63028
63070
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
63029
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
63071
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? import_client23.createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: package_default2.version }),
|
|
63030
63072
|
disableS3ExpressSessionAuth: config?.disableS3ExpressSessionAuth ?? import_config37.loadConfig($NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS, loaderConfig),
|
|
63031
63073
|
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? import_event_streams.eventStreamSerdeProvider,
|
|
63032
63074
|
maxAttempts: config?.maxAttempts ?? import_config37.loadConfig(import_retry3.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
@@ -63044,13 +63086,13 @@ var getRuntimeConfig3 = (config) => {
|
|
|
63044
63086
|
useArnRegion: config?.useArnRegion ?? import_config37.loadConfig($NODE_USE_ARN_REGION_CONFIG_OPTIONS, loaderConfig),
|
|
63045
63087
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? import_config37.loadConfig(import_config37.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
63046
63088
|
useFipsEndpoint: config?.useFipsEndpoint ?? import_config37.loadConfig(import_config37.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
63047
|
-
userAgentAppId: config?.userAgentAppId ?? import_config37.loadConfig(
|
|
63089
|
+
userAgentAppId: config?.userAgentAppId ?? import_config37.loadConfig(import_client23.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
|
|
63048
63090
|
};
|
|
63049
63091
|
};
|
|
63050
63092
|
|
|
63051
63093
|
// node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js
|
|
63052
|
-
var
|
|
63053
|
-
var
|
|
63094
|
+
var import_client25 = __toESM(require_client2(), 1);
|
|
63095
|
+
var import_client26 = __toESM(require_client(), 1);
|
|
63054
63096
|
var import_protocols5 = __toESM(require_protocols(), 1);
|
|
63055
63097
|
|
|
63056
63098
|
// node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js
|
|
@@ -63094,24 +63136,24 @@ var resolveHttpAuthRuntimeConfig2 = (config) => {
|
|
|
63094
63136
|
|
|
63095
63137
|
// node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js
|
|
63096
63138
|
var resolveRuntimeExtensions2 = (runtimeConfig, extensions) => {
|
|
63097
|
-
const extensionConfiguration = Object.assign(
|
|
63139
|
+
const extensionConfiguration = Object.assign(import_client25.getAwsRegionExtensionConfiguration(runtimeConfig), import_client26.getDefaultExtensionConfiguration(runtimeConfig), import_protocols5.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration2(runtimeConfig));
|
|
63098
63140
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
63099
|
-
return Object.assign(runtimeConfig,
|
|
63141
|
+
return Object.assign(runtimeConfig, import_client25.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_client26.resolveDefaultRuntimeConfig(extensionConfiguration), import_protocols5.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig2(extensionConfiguration));
|
|
63100
63142
|
};
|
|
63101
63143
|
|
|
63102
63144
|
// node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
|
|
63103
|
-
class S3Client extends
|
|
63145
|
+
class S3Client extends import_client28.Client {
|
|
63104
63146
|
config;
|
|
63105
63147
|
constructor(...[configuration]) {
|
|
63106
63148
|
const _config_0 = getRuntimeConfig3(configuration || {});
|
|
63107
63149
|
super(_config_0);
|
|
63108
63150
|
this.initConfig = _config_0;
|
|
63109
63151
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
63110
|
-
const _config_2 =
|
|
63152
|
+
const _config_2 = import_client27.resolveUserAgentConfig(_config_1);
|
|
63111
63153
|
const _config_3 = $resolveFlexibleChecksumsConfig(_config_2);
|
|
63112
63154
|
const _config_4 = import_retry4.resolveRetryConfig(_config_3);
|
|
63113
63155
|
const _config_5 = import_config38.resolveRegionConfig(_config_4);
|
|
63114
|
-
const _config_6 =
|
|
63156
|
+
const _config_6 = import_client27.resolveHostHeaderConfig(_config_5);
|
|
63115
63157
|
const _config_7 = import_endpoints5.resolveEndpointConfig(_config_6);
|
|
63116
63158
|
const _config_8 = import_event_streams2.resolveEventStreamSerdeConfig(_config_7);
|
|
63117
63159
|
const _config_9 = resolveHttpAuthSchemeConfig(_config_8);
|
|
@@ -63119,12 +63161,12 @@ class S3Client extends import_client27.Client {
|
|
|
63119
63161
|
const _config_11 = resolveRuntimeExtensions2(_config_10, configuration?.extensions || []);
|
|
63120
63162
|
this.config = _config_11;
|
|
63121
63163
|
this.middlewareStack.use(import_schema2.getSchemaSerdePlugin(this.config));
|
|
63122
|
-
this.middlewareStack.use(
|
|
63164
|
+
this.middlewareStack.use(import_client27.getUserAgentPlugin(this.config));
|
|
63123
63165
|
this.middlewareStack.use(import_retry4.getRetryPlugin(this.config));
|
|
63124
63166
|
this.middlewareStack.use(import_protocols6.getContentLengthPlugin(this.config));
|
|
63125
|
-
this.middlewareStack.use(
|
|
63126
|
-
this.middlewareStack.use(
|
|
63127
|
-
this.middlewareStack.use(
|
|
63167
|
+
this.middlewareStack.use(import_client27.getHostHeaderPlugin(this.config));
|
|
63168
|
+
this.middlewareStack.use(import_client27.getLoggerPlugin(this.config));
|
|
63169
|
+
this.middlewareStack.use(import_client27.getRecursionDetectionPlugin(this.config));
|
|
63128
63170
|
this.middlewareStack.use(import_core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
63129
63171
|
httpAuthSchemeParametersProvider: defaultS3HttpAuthSchemeParametersProvider,
|
|
63130
63172
|
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
@@ -67187,9 +67229,9 @@ function createReceiptService(store) {
|
|
|
67187
67229
|
}
|
|
67188
67230
|
|
|
67189
67231
|
// node_modules/@aws-sdk/client-ecs/dist-es/ECSClient.js
|
|
67190
|
-
var
|
|
67232
|
+
var import_client37 = __toESM(require_client2(), 1);
|
|
67191
67233
|
var import_core2 = __toESM(require_dist_cjs2(), 1);
|
|
67192
|
-
var
|
|
67234
|
+
var import_client38 = __toESM(require_client(), 1);
|
|
67193
67235
|
var import_config41 = __toESM(require_config(), 1);
|
|
67194
67236
|
var import_endpoints8 = __toESM(require_endpoints(), 1);
|
|
67195
67237
|
var import_protocols10 = __toESM(require_protocols(), 1);
|
|
@@ -67198,11 +67240,11 @@ var import_schema4 = __toESM(require_schema4(), 1);
|
|
|
67198
67240
|
|
|
67199
67241
|
// node_modules/@aws-sdk/client-ecs/dist-es/auth/httpAuthSchemeProvider.js
|
|
67200
67242
|
var import_httpAuthSchemes4 = __toESM(require_httpAuthSchemes(), 1);
|
|
67201
|
-
var
|
|
67243
|
+
var import_client29 = __toESM(require_client(), 1);
|
|
67202
67244
|
var defaultECSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
67203
67245
|
return {
|
|
67204
|
-
operation:
|
|
67205
|
-
region: await
|
|
67246
|
+
operation: import_client29.getSmithyContext(context).operation,
|
|
67247
|
+
region: await import_client29.normalizeProvider(config.region)() || (() => {
|
|
67206
67248
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
67207
67249
|
})()
|
|
67208
67250
|
};
|
|
@@ -67234,7 +67276,7 @@ var defaultECSHttpAuthSchemeProvider = (authParameters) => {
|
|
|
67234
67276
|
var resolveHttpAuthSchemeConfig3 = (config) => {
|
|
67235
67277
|
const config_0 = import_httpAuthSchemes4.resolveAwsSdkSigV4Config(config);
|
|
67236
67278
|
return Object.assign(config_0, {
|
|
67237
|
-
authSchemePreference:
|
|
67279
|
+
authSchemePreference: import_client29.normalizeProvider(config.authSchemePreference ?? [])
|
|
67238
67280
|
});
|
|
67239
67281
|
};
|
|
67240
67282
|
|
|
@@ -67326,9 +67368,9 @@ var package_default3 = {
|
|
|
67326
67368
|
};
|
|
67327
67369
|
|
|
67328
67370
|
// node_modules/@aws-sdk/client-ecs/dist-es/runtimeConfig.js
|
|
67329
|
-
var
|
|
67371
|
+
var import_client33 = __toESM(require_client2(), 1);
|
|
67330
67372
|
var import_httpAuthSchemes6 = __toESM(require_httpAuthSchemes(), 1);
|
|
67331
|
-
var
|
|
67373
|
+
var import_client34 = __toESM(require_client(), 1);
|
|
67332
67374
|
var import_config40 = __toESM(require_config(), 1);
|
|
67333
67375
|
var import_retry5 = __toESM(require_retry(), 1);
|
|
67334
67376
|
var import_serde6 = __toESM(require_serde(), 1);
|
|
@@ -67338,12 +67380,12 @@ var import_node_http_handler3 = __toESM(require_dist_cjs6(), 1);
|
|
|
67338
67380
|
var import_httpAuthSchemes5 = __toESM(require_httpAuthSchemes(), 1);
|
|
67339
67381
|
var import_protocols7 = __toESM(require_protocols2(), 1);
|
|
67340
67382
|
var import_checksum3 = __toESM(require_checksum(), 1);
|
|
67341
|
-
var
|
|
67383
|
+
var import_client32 = __toESM(require_client(), 1);
|
|
67342
67384
|
var import_protocols8 = __toESM(require_protocols(), 1);
|
|
67343
67385
|
var import_serde5 = __toESM(require_serde(), 1);
|
|
67344
67386
|
|
|
67345
67387
|
// node_modules/@aws-sdk/client-ecs/dist-es/endpoint/endpointResolver.js
|
|
67346
|
-
var
|
|
67388
|
+
var import_client30 = __toESM(require_client2(), 1);
|
|
67347
67389
|
var import_endpoints7 = __toESM(require_endpoints(), 1);
|
|
67348
67390
|
|
|
67349
67391
|
// node_modules/@aws-sdk/client-ecs/dist-es/endpoint/bdd.js
|
|
@@ -67440,14 +67482,14 @@ var defaultEndpointResolver3 = (endpointParams, context = {}) => {
|
|
|
67440
67482
|
logger: context.logger
|
|
67441
67483
|
}));
|
|
67442
67484
|
};
|
|
67443
|
-
import_endpoints7.customEndpointFunctions.aws =
|
|
67485
|
+
import_endpoints7.customEndpointFunctions.aws = import_client30.awsEndpointFunctions;
|
|
67444
67486
|
|
|
67445
67487
|
// node_modules/@aws-sdk/client-ecs/dist-es/schemas/schemas_0.js
|
|
67446
67488
|
var import_schema3 = __toESM(require_schema4(), 1);
|
|
67447
67489
|
|
|
67448
67490
|
// node_modules/@aws-sdk/client-ecs/dist-es/models/ECSServiceException.js
|
|
67449
|
-
var
|
|
67450
|
-
class ECSServiceException extends
|
|
67491
|
+
var import_client31 = __toESM(require_client(), 1);
|
|
67492
|
+
class ECSServiceException extends import_client31.ServiceException {
|
|
67451
67493
|
constructor(options) {
|
|
67452
67494
|
super(options);
|
|
67453
67495
|
Object.setPrototypeOf(this, ECSServiceException.prototype);
|
|
@@ -70251,7 +70293,7 @@ var getRuntimeConfig4 = (config) => {
|
|
|
70251
70293
|
signer: new import_httpAuthSchemes5.AwsSdkSigV4Signer
|
|
70252
70294
|
}
|
|
70253
70295
|
],
|
|
70254
|
-
logger: config?.logger ?? new
|
|
70296
|
+
logger: config?.logger ?? new import_client32.NoOpLogger,
|
|
70255
70297
|
protocol: config?.protocol ?? import_protocols7.AwsJson1_1Protocol,
|
|
70256
70298
|
protocolSettings: config?.protocolSettings ?? {
|
|
70257
70299
|
defaultNamespace: "com.amazonaws.ecs",
|
|
@@ -70270,11 +70312,11 @@ var getRuntimeConfig4 = (config) => {
|
|
|
70270
70312
|
|
|
70271
70313
|
// node_modules/@aws-sdk/client-ecs/dist-es/runtimeConfig.js
|
|
70272
70314
|
var getRuntimeConfig5 = (config) => {
|
|
70273
|
-
|
|
70315
|
+
import_client34.emitWarningIfUnsupportedVersion(process.version);
|
|
70274
70316
|
const defaultsMode = import_config40.resolveDefaultsModeConfig(config);
|
|
70275
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
70317
|
+
const defaultConfigProvider = () => defaultsMode().then(import_client34.loadConfigsForDefaultMode);
|
|
70276
70318
|
const clientSharedValues = getRuntimeConfig4(config);
|
|
70277
|
-
|
|
70319
|
+
import_client33.emitWarningIfUnsupportedVersion(process.version);
|
|
70278
70320
|
const loaderConfig = {
|
|
70279
70321
|
profile: config?.profile,
|
|
70280
70322
|
logger: clientSharedValues.logger
|
|
@@ -70287,7 +70329,7 @@ var getRuntimeConfig5 = (config) => {
|
|
|
70287
70329
|
authSchemePreference: config?.authSchemePreference ?? import_config40.loadConfig(import_httpAuthSchemes6.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
70288
70330
|
bodyLengthChecker: config?.bodyLengthChecker ?? import_serde6.calculateBodyLength,
|
|
70289
70331
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
70290
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
70332
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? import_client33.createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: package_default3.version }),
|
|
70291
70333
|
maxAttempts: config?.maxAttempts ?? import_config40.loadConfig(import_retry5.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
70292
70334
|
region: config?.region ?? import_config40.loadConfig(import_config40.NODE_REGION_CONFIG_OPTIONS, { ...import_config40.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
70293
70335
|
requestHandler: import_node_http_handler3.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -70298,13 +70340,13 @@ var getRuntimeConfig5 = (config) => {
|
|
|
70298
70340
|
streamCollector: config?.streamCollector ?? import_node_http_handler3.streamCollector,
|
|
70299
70341
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? import_config40.loadConfig(import_config40.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
70300
70342
|
useFipsEndpoint: config?.useFipsEndpoint ?? import_config40.loadConfig(import_config40.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
70301
|
-
userAgentAppId: config?.userAgentAppId ?? import_config40.loadConfig(
|
|
70343
|
+
userAgentAppId: config?.userAgentAppId ?? import_config40.loadConfig(import_client33.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
|
|
70302
70344
|
};
|
|
70303
70345
|
};
|
|
70304
70346
|
|
|
70305
70347
|
// node_modules/@aws-sdk/client-ecs/dist-es/runtimeExtensions.js
|
|
70306
|
-
var
|
|
70307
|
-
var
|
|
70348
|
+
var import_client35 = __toESM(require_client2(), 1);
|
|
70349
|
+
var import_client36 = __toESM(require_client(), 1);
|
|
70308
70350
|
var import_protocols9 = __toESM(require_protocols(), 1);
|
|
70309
70351
|
|
|
70310
70352
|
// node_modules/@aws-sdk/client-ecs/dist-es/auth/httpAuthExtensionConfiguration.js
|
|
@@ -70348,34 +70390,34 @@ var resolveHttpAuthRuntimeConfig3 = (config) => {
|
|
|
70348
70390
|
|
|
70349
70391
|
// node_modules/@aws-sdk/client-ecs/dist-es/runtimeExtensions.js
|
|
70350
70392
|
var resolveRuntimeExtensions3 = (runtimeConfig, extensions) => {
|
|
70351
|
-
const extensionConfiguration = Object.assign(
|
|
70393
|
+
const extensionConfiguration = Object.assign(import_client35.getAwsRegionExtensionConfiguration(runtimeConfig), import_client36.getDefaultExtensionConfiguration(runtimeConfig), import_protocols9.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration3(runtimeConfig));
|
|
70352
70394
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
70353
|
-
return Object.assign(runtimeConfig,
|
|
70395
|
+
return Object.assign(runtimeConfig, import_client35.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_client36.resolveDefaultRuntimeConfig(extensionConfiguration), import_protocols9.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig3(extensionConfiguration));
|
|
70354
70396
|
};
|
|
70355
70397
|
|
|
70356
70398
|
// node_modules/@aws-sdk/client-ecs/dist-es/ECSClient.js
|
|
70357
|
-
class ECSClient extends
|
|
70399
|
+
class ECSClient extends import_client38.Client {
|
|
70358
70400
|
config;
|
|
70359
70401
|
constructor(...[configuration]) {
|
|
70360
70402
|
const _config_0 = getRuntimeConfig5(configuration || {});
|
|
70361
70403
|
super(_config_0);
|
|
70362
70404
|
this.initConfig = _config_0;
|
|
70363
70405
|
const _config_1 = resolveClientEndpointParameters3(_config_0);
|
|
70364
|
-
const _config_2 =
|
|
70406
|
+
const _config_2 = import_client37.resolveUserAgentConfig(_config_1);
|
|
70365
70407
|
const _config_3 = import_retry6.resolveRetryConfig(_config_2);
|
|
70366
70408
|
const _config_4 = import_config41.resolveRegionConfig(_config_3);
|
|
70367
|
-
const _config_5 =
|
|
70409
|
+
const _config_5 = import_client37.resolveHostHeaderConfig(_config_4);
|
|
70368
70410
|
const _config_6 = import_endpoints8.resolveEndpointConfig(_config_5);
|
|
70369
70411
|
const _config_7 = resolveHttpAuthSchemeConfig3(_config_6);
|
|
70370
70412
|
const _config_8 = resolveRuntimeExtensions3(_config_7, configuration?.extensions || []);
|
|
70371
70413
|
this.config = _config_8;
|
|
70372
70414
|
this.middlewareStack.use(import_schema4.getSchemaSerdePlugin(this.config));
|
|
70373
|
-
this.middlewareStack.use(
|
|
70415
|
+
this.middlewareStack.use(import_client37.getUserAgentPlugin(this.config));
|
|
70374
70416
|
this.middlewareStack.use(import_retry6.getRetryPlugin(this.config));
|
|
70375
70417
|
this.middlewareStack.use(import_protocols10.getContentLengthPlugin(this.config));
|
|
70376
|
-
this.middlewareStack.use(
|
|
70377
|
-
this.middlewareStack.use(
|
|
70378
|
-
this.middlewareStack.use(
|
|
70418
|
+
this.middlewareStack.use(import_client37.getHostHeaderPlugin(this.config));
|
|
70419
|
+
this.middlewareStack.use(import_client37.getLoggerPlugin(this.config));
|
|
70420
|
+
this.middlewareStack.use(import_client37.getRecursionDetectionPlugin(this.config));
|
|
70379
70421
|
this.middlewareStack.use(import_core2.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
70380
70422
|
httpAuthSchemeParametersProvider: defaultECSHttpAuthSchemeParametersProvider,
|
|
70381
70423
|
identityProviderConfigProvider: async (config) => new import_core2.DefaultIdentityProviderConfig({
|
|
@@ -70390,9 +70432,9 @@ class ECSClient extends import_client37.Client {
|
|
|
70390
70432
|
}
|
|
70391
70433
|
|
|
70392
70434
|
// node_modules/@aws-sdk/client-ecs/dist-es/commandBuilder.js
|
|
70393
|
-
var
|
|
70435
|
+
var import_client39 = __toESM(require_client(), 1);
|
|
70394
70436
|
var import_endpoints9 = __toESM(require_endpoints(), 1);
|
|
70395
|
-
var command3 =
|
|
70437
|
+
var command3 = import_client39.makeBuilder(commonParams3, "AmazonEC2ContainerServiceV20141113", "ECSClient", import_endpoints9.getEndpointPlugin);
|
|
70396
70438
|
var _ep03 = {};
|
|
70397
70439
|
var _mw03 = (Command, cs, config, o3) => [];
|
|
70398
70440
|
|