replicas-cli 0.2.266 → 0.2.268
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/{bowser-LNTEZM7F.mjs → bowser-6SZBGAMB.mjs} +1 -1
- package/dist/{chunk-GFYYBNVD.mjs → chunk-BBX2YVOK.mjs} +1 -1
- package/dist/{chunk-FFDYI4OH.mjs → chunk-DR4JHUIF.mjs} +5 -1
- package/dist/{chunk-MNYGWPEL.mjs → chunk-IYT446IS.mjs} +3 -3
- package/dist/{chunk-JD4YWBM3.mjs → chunk-NE3F7K7B.mjs} +4 -4
- package/dist/{chunk-Q4H42355.mjs → chunk-Q2YIUYO5.mjs} +2 -2
- package/dist/{chunk-NSGUCXRX.mjs → chunk-VDOMBJEB.mjs} +3 -3
- package/dist/{chunk-YXYUVLIU.mjs → chunk-WHWH6H5W.mjs} +4 -4
- package/dist/{dist-es-JEMIHEYU.mjs → dist-es-3AXDJI6F.mjs} +3 -3
- package/dist/{dist-es-SCGGKOX2.mjs → dist-es-7KF5M4TT.mjs} +13 -13
- package/dist/{dist-es-Q57UUSDX.mjs → dist-es-EC3POK4F.mjs} +7 -7
- package/dist/{dist-es-RN7CGM2B.mjs → dist-es-HDJG642P.mjs} +5 -5
- package/dist/{dist-es-5WXCQCPW.mjs → dist-es-SYSOOS3K.mjs} +4 -4
- package/dist/{dist-es-KEPB4XGD.mjs → dist-es-YYOEQY7N.mjs} +5 -5
- package/dist/{dist-es-ZDCSDOKR.mjs → dist-es-ZSLNSC26.mjs} +4 -4
- package/dist/{event-streams-UPDOZQOC.mjs → event-streams-LBH5ISIB.mjs} +2 -2
- package/dist/index.mjs +7 -5
- package/dist/{loadSso-ABHII4GO.mjs → loadSso-P6SZ6EZE.mjs} +7 -7
- package/dist/{signin-PHZQKMQ4.mjs → signin-5AIFZB3D.mjs} +7 -7
- package/dist/{sso-oidc-YWYT5VLS.mjs → sso-oidc-BLJ4YGMZ.mjs} +7 -7
- package/dist/{sts-LQIL7WOF.mjs → sts-TZAOHYLW.mjs} +6 -6
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
__publicField
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DR4JHUIF.mjs";
|
|
5
5
|
|
|
6
6
|
// ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/serde/is-array-buffer/is-array-buffer.js
|
|
7
7
|
var isArrayBuffer = (arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
|
|
@@ -13,7 +13,11 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
13
13
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
14
14
|
});
|
|
15
15
|
var __commonJS = (cb, mod) => function __require2() {
|
|
16
|
-
|
|
16
|
+
try {
|
|
17
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
18
|
+
} catch (e) {
|
|
19
|
+
throw mod = 0, e;
|
|
20
|
+
}
|
|
17
21
|
};
|
|
18
22
|
var __copyProps = (to, from, except, desc) => {
|
|
19
23
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
loadConfig,
|
|
15
15
|
normalizeProvider,
|
|
16
16
|
toEndpointV1
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VDOMBJEB.mjs";
|
|
18
18
|
import {
|
|
19
19
|
parseRfc7231DateTime,
|
|
20
20
|
v4
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BBX2YVOK.mjs";
|
|
22
22
|
import {
|
|
23
23
|
__publicField
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DR4JHUIF.mjs";
|
|
25
25
|
|
|
26
26
|
// ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js
|
|
27
27
|
var getAllAliases = (name, aliases) => {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ProtocolLib,
|
|
4
4
|
SerdeContextConfig,
|
|
5
5
|
UnionSerde
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WHWH6H5W.mjs";
|
|
7
7
|
import {
|
|
8
8
|
HttpBindingProtocol,
|
|
9
9
|
HttpInterceptingShapeDeserializer,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
NormalizedSchema,
|
|
12
12
|
collectBody,
|
|
13
13
|
determineTimestampFormat
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VDOMBJEB.mjs";
|
|
15
15
|
import {
|
|
16
16
|
LazyJsonString,
|
|
17
17
|
NumericValue,
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
parseRfc7231DateTime,
|
|
24
24
|
toBase64,
|
|
25
25
|
toUtf8
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-BBX2YVOK.mjs";
|
|
27
27
|
import {
|
|
28
28
|
__publicField
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-DR4JHUIF.mjs";
|
|
30
30
|
|
|
31
31
|
// ../node_modules/.bun/@aws-sdk+core@3.974.18/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js
|
|
32
32
|
function jsonReviver(key, value, context) {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
HttpResponse,
|
|
4
4
|
buildQueryString
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VDOMBJEB.mjs";
|
|
6
6
|
import {
|
|
7
7
|
__publicField
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DR4JHUIF.mjs";
|
|
9
9
|
|
|
10
10
|
// ../node_modules/.bun/@smithy+node-http-handler@4.7.7/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js
|
|
11
11
|
function buildAbortError(abortSignal) {
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
splitHeader,
|
|
17
17
|
toBase64,
|
|
18
18
|
toUtf8
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BBX2YVOK.mjs";
|
|
20
20
|
import {
|
|
21
21
|
__publicField
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-DR4JHUIF.mjs";
|
|
23
23
|
|
|
24
24
|
// ../node_modules/.bun/@smithy+types@4.14.1/node_modules/@smithy/types/dist-es/middleware.js
|
|
25
25
|
var SMITHY_CONTEXT_KEY = "__smithy_context";
|
|
@@ -1390,7 +1390,7 @@ var HttpProtocol = class extends SerdeContext {
|
|
|
1390
1390
|
});
|
|
1391
1391
|
}
|
|
1392
1392
|
async loadEventStreamCapability() {
|
|
1393
|
-
const { EventStreamSerde } = await import("./event-streams-
|
|
1393
|
+
const { EventStreamSerde } = await import("./event-streams-LBH5ISIB.mjs");
|
|
1394
1394
|
return new EventStreamSerde({
|
|
1395
1395
|
marshaller: this.getEventStreamMarshaller(),
|
|
1396
1396
|
serializer: this.serializer,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
decorateServiceException,
|
|
4
4
|
normalizeProvider as normalizeProvider2,
|
|
5
5
|
setCredentialFeature
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IYT446IS.mjs";
|
|
7
7
|
import {
|
|
8
8
|
HttpRequest,
|
|
9
9
|
HttpResponse,
|
|
@@ -14,17 +14,17 @@ import {
|
|
|
14
14
|
getSmithyContext,
|
|
15
15
|
normalizeProvider,
|
|
16
16
|
toEndpointV1
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VDOMBJEB.mjs";
|
|
18
18
|
import {
|
|
19
19
|
fromHex,
|
|
20
20
|
fromUtf8,
|
|
21
21
|
isArrayBuffer,
|
|
22
22
|
toHex,
|
|
23
23
|
toUint8Array
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BBX2YVOK.mjs";
|
|
25
25
|
import {
|
|
26
26
|
__publicField
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-DR4JHUIF.mjs";
|
|
28
28
|
|
|
29
29
|
// ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js
|
|
30
30
|
var operation = (namespace, name, traits, input, output) => ({
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
ProviderError,
|
|
5
5
|
loadConfig,
|
|
6
6
|
parseUrl
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-VDOMBJEB.mjs";
|
|
8
|
+
import "./chunk-BBX2YVOK.mjs";
|
|
9
9
|
import {
|
|
10
10
|
__publicField
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DR4JHUIF.mjs";
|
|
12
12
|
|
|
13
13
|
// ../node_modules/.bun/@smithy+credential-provider-imds@4.3.8/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js
|
|
14
14
|
var isImdsCredentials = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.AccessKeyId === "string" && typeof arg.SecretAccessKey === "string" && typeof arg.Token === "string" && typeof arg.Expiration === "string";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
setCredentialFeature
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IYT446IS.mjs";
|
|
5
5
|
import {
|
|
6
6
|
CredentialsProviderError,
|
|
7
7
|
HttpRequest,
|
|
@@ -9,29 +9,29 @@ import {
|
|
|
9
9
|
getProfileName,
|
|
10
10
|
parseKnownFiles,
|
|
11
11
|
readFile
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-VDOMBJEB.mjs";
|
|
13
|
+
import "./chunk-BBX2YVOK.mjs";
|
|
14
14
|
import {
|
|
15
15
|
__publicField
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DR4JHUIF.mjs";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js
|
|
19
19
|
var resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
20
20
|
const sourceProvidersMap = {
|
|
21
21
|
EcsContainer: async (options) => {
|
|
22
|
-
const { fromHttp } = await import("./dist-es-
|
|
23
|
-
const { fromContainerMetadata } = await import("./dist-es-
|
|
22
|
+
const { fromHttp } = await import("./dist-es-HDJG642P.mjs");
|
|
23
|
+
const { fromContainerMetadata } = await import("./dist-es-3AXDJI6F.mjs");
|
|
24
24
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
|
|
25
25
|
return async () => chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
|
26
26
|
},
|
|
27
27
|
Ec2InstanceMetadata: async (options) => {
|
|
28
28
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
|
|
29
|
-
const { fromInstanceMetadata } = await import("./dist-es-
|
|
29
|
+
const { fromInstanceMetadata } = await import("./dist-es-3AXDJI6F.mjs");
|
|
30
30
|
return async () => fromInstanceMetadata(options)().then(setNamedProvider);
|
|
31
31
|
},
|
|
32
32
|
Environment: async (options) => {
|
|
33
33
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
|
|
34
|
-
const { fromEnv } = await import("./dist-es-
|
|
34
|
+
const { fromEnv } = await import("./dist-es-SYSOOS3K.mjs");
|
|
35
35
|
return async () => fromEnv(options)().then(setNamedProvider);
|
|
36
36
|
}
|
|
37
37
|
};
|
|
@@ -66,7 +66,7 @@ var resolveAssumeRoleCredentials = async (profileName, profiles, options, caller
|
|
|
66
66
|
const profileData = profiles[profileName];
|
|
67
67
|
const { source_profile, region } = profileData;
|
|
68
68
|
if (!options.roleAssumer) {
|
|
69
|
-
const { getDefaultRoleAssumer } = await import("./sts-
|
|
69
|
+
const { getDefaultRoleAssumer } = await import("./sts-TZAOHYLW.mjs");
|
|
70
70
|
options.roleAssumer = getDefaultRoleAssumer({
|
|
71
71
|
...options.clientConfig,
|
|
72
72
|
credentialProviderLogger: options.logger,
|
|
@@ -151,7 +151,7 @@ var _LoginCredentialsFetcher = class _LoginCredentialsFetcher {
|
|
|
151
151
|
return this.profileData.login_session;
|
|
152
152
|
}
|
|
153
153
|
async refresh(token) {
|
|
154
|
-
const { SigninClient, CreateOAuth2TokenCommand } = await import("./signin-
|
|
154
|
+
const { SigninClient, CreateOAuth2TokenCommand } = await import("./signin-5AIFZB3D.mjs");
|
|
155
155
|
const { logger, userAgentAppId } = this.callerClientConfig ?? {};
|
|
156
156
|
const isH2 = (requestHandler2) => {
|
|
157
157
|
return requestHandler2?.metadata?.handlerProtocol === "h2";
|
|
@@ -396,14 +396,14 @@ var resolveLoginCredentials = async (profileName, options, callerClientConfig) =
|
|
|
396
396
|
|
|
397
397
|
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
|
|
398
398
|
var isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
|
399
|
-
var resolveProcessCredentials = async (options, profile) => import("./dist-es-
|
|
399
|
+
var resolveProcessCredentials = async (options, profile) => import("./dist-es-ZSLNSC26.mjs").then(({ fromProcess }) => fromProcess({
|
|
400
400
|
...options,
|
|
401
401
|
profile
|
|
402
402
|
})().then((creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v")));
|
|
403
403
|
|
|
404
404
|
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
|
|
405
405
|
var resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
|
|
406
|
-
const { fromSSO } = await import("./dist-es-
|
|
406
|
+
const { fromSSO } = await import("./dist-es-EC3POK4F.mjs");
|
|
407
407
|
return fromSSO({
|
|
408
408
|
profile,
|
|
409
409
|
logger: options.logger,
|
|
@@ -437,7 +437,7 @@ var resolveStaticCredentials = async (profile, options) => {
|
|
|
437
437
|
|
|
438
438
|
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
|
|
439
439
|
var 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;
|
|
440
|
-
var resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import("./dist-es-
|
|
440
|
+
var resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import("./dist-es-YYOEQY7N.mjs").then(({ fromTokenFile }) => fromTokenFile({
|
|
441
441
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
442
442
|
roleArn: profile.role_arn,
|
|
443
443
|
roleSessionName: profile.role_session_name,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
setCredentialFeature
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IYT446IS.mjs";
|
|
5
5
|
import {
|
|
6
6
|
CredentialsProviderError,
|
|
7
7
|
TokenProviderError,
|
|
@@ -10,9 +10,9 @@ import {
|
|
|
10
10
|
getSSOTokenFromFile,
|
|
11
11
|
loadSsoSessionData,
|
|
12
12
|
parseKnownFiles
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-VDOMBJEB.mjs";
|
|
14
|
+
import "./chunk-BBX2YVOK.mjs";
|
|
15
|
+
import "./chunk-DR4JHUIF.mjs";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/.bun/@aws-sdk+credential-provider-sso@3.972.49/node_modules/@aws-sdk/credential-provider-sso/dist-es/isSsoProfile.js
|
|
18
18
|
var isSsoProfile = (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");
|
|
@@ -23,7 +23,7 @@ var REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the
|
|
|
23
23
|
|
|
24
24
|
// ../node_modules/.bun/@aws-sdk+token-providers@3.1063.0/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js
|
|
25
25
|
var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
|
|
26
|
-
const { SSOOIDCClient } = await import("./sso-oidc-
|
|
26
|
+
const { SSOOIDCClient } = await import("./sso-oidc-BLJ4YGMZ.mjs");
|
|
27
27
|
const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop];
|
|
28
28
|
const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {
|
|
29
29
|
region: ssoRegion ?? init.clientConfig?.region,
|
|
@@ -35,7 +35,7 @@ var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
|
|
|
35
35
|
|
|
36
36
|
// ../node_modules/.bun/@aws-sdk+token-providers@3.1063.0/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js
|
|
37
37
|
var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => {
|
|
38
|
-
const { CreateTokenCommand } = await import("./sso-oidc-
|
|
38
|
+
const { CreateTokenCommand } = await import("./sso-oidc-BLJ4YGMZ.mjs");
|
|
39
39
|
const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig);
|
|
40
40
|
return ssoOidcClient.send(new CreateTokenCommand({
|
|
41
41
|
clientId: ssoToken.clientId,
|
|
@@ -180,7 +180,7 @@ var resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoR
|
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
182
|
const { accessToken } = token;
|
|
183
|
-
const { SSOClient, GetRoleCredentialsCommand } = await import("./loadSso-
|
|
183
|
+
const { SSOClient, GetRoleCredentialsCommand } = await import("./loadSso-P6SZ6EZE.mjs");
|
|
184
184
|
const sso = ssoClient || new SSOClient(Object.assign({}, clientConfig ?? {}, {
|
|
185
185
|
logger: clientConfig?.logger ?? callerClientConfig?.logger ?? parentClientConfig?.logger,
|
|
186
186
|
region: clientConfig?.region ?? ssoRegion,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
NodeHttpHandler
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Q2YIUYO5.mjs";
|
|
5
5
|
import {
|
|
6
6
|
setCredentialFeature
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IYT446IS.mjs";
|
|
8
8
|
import {
|
|
9
9
|
CredentialsProviderError,
|
|
10
10
|
HttpRequest
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VDOMBJEB.mjs";
|
|
12
12
|
import {
|
|
13
13
|
parseRfc3339DateTime,
|
|
14
14
|
sdkStreamMixin
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-BBX2YVOK.mjs";
|
|
16
|
+
import "./chunk-DR4JHUIF.mjs";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.46/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js
|
|
19
19
|
import fs from "fs/promises";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
setCredentialFeature
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IYT446IS.mjs";
|
|
5
5
|
import {
|
|
6
6
|
CredentialsProviderError
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-VDOMBJEB.mjs";
|
|
8
|
+
import "./chunk-BBX2YVOK.mjs";
|
|
9
|
+
import "./chunk-DR4JHUIF.mjs";
|
|
10
10
|
|
|
11
11
|
// ../node_modules/.bun/@aws-sdk+credential-provider-env@3.972.44/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js
|
|
12
12
|
var ENV_KEY = "AWS_ACCESS_KEY_ID";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
setCredentialFeature
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IYT446IS.mjs";
|
|
5
5
|
import {
|
|
6
6
|
CredentialsProviderError,
|
|
7
7
|
externalDataInterceptor
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-VDOMBJEB.mjs";
|
|
9
|
+
import "./chunk-BBX2YVOK.mjs";
|
|
10
|
+
import "./chunk-DR4JHUIF.mjs";
|
|
11
11
|
|
|
12
12
|
// ../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.49/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js
|
|
13
13
|
import { readFileSync } from "fs";
|
|
@@ -18,7 +18,7 @@ var fromWebToken = (init) => async (awsIdentityProperties) => {
|
|
|
18
18
|
const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
|
|
19
19
|
let { roleAssumerWithWebIdentity } = init;
|
|
20
20
|
if (!roleAssumerWithWebIdentity) {
|
|
21
|
-
const { getDefaultRoleAssumerWithWebIdentity } = await import("./sts-
|
|
21
|
+
const { getDefaultRoleAssumerWithWebIdentity } = await import("./sts-TZAOHYLW.mjs");
|
|
22
22
|
roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
|
|
23
23
|
...init.clientConfig,
|
|
24
24
|
credentialProviderLogger: init.logger,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
setCredentialFeature
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IYT446IS.mjs";
|
|
5
5
|
import {
|
|
6
6
|
CredentialsProviderError,
|
|
7
7
|
externalDataInterceptor,
|
|
8
8
|
getProfileName,
|
|
9
9
|
parseKnownFiles
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-VDOMBJEB.mjs";
|
|
11
|
+
import "./chunk-BBX2YVOK.mjs";
|
|
12
|
+
import "./chunk-DR4JHUIF.mjs";
|
|
13
13
|
|
|
14
14
|
// ../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.44/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js
|
|
15
15
|
import { exec } from "child_process";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
fromUtf8,
|
|
5
5
|
toHex,
|
|
6
6
|
toUtf8
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BBX2YVOK.mjs";
|
|
8
8
|
import {
|
|
9
9
|
__publicField
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DR4JHUIF.mjs";
|
|
11
11
|
|
|
12
12
|
// ../node_modules/.bun/@aws-crypto+crc32@5.2.0/node_modules/@aws-crypto/crc32/build/module/index.js
|
|
13
13
|
import { __values } from "tslib";
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
__commonJS,
|
|
4
4
|
__require,
|
|
5
5
|
__toESM
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DR4JHUIF.mjs";
|
|
7
7
|
|
|
8
8
|
// ../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js
|
|
9
9
|
var require_identity = __commonJS({
|
|
@@ -7853,7 +7853,7 @@ replicas computer screenshot /tmp/loaded.png
|
|
|
7853
7853
|
\`\`\`
|
|
7854
7854
|
|
|
7855
7855
|
### Coordinates from screenshots
|
|
7856
|
-
The display is 1920\xD71080. Screenshot pixels map 1:1 to click coordinates - if your Read tool shows a button at pixel (520, 700), click \`replicas computer click 520 700\`. **No translation needed.** Modern image-reading models often imagine the screenshot is at a different resolution; trust the \`xdpyinfo\` value (\`replicas computer status\` shows the real size).
|
|
7856
|
+
The display is 1920\xD71080 by default. Screenshot pixels map 1:1 to click coordinates - if your Read tool shows a button at pixel (520, 700), click \`replicas computer click 520 700\`. **No translation needed.** Modern image-reading models often imagine the screenshot is at a different resolution; trust the \`xdpyinfo\` value (\`replicas computer status\` shows the real size).
|
|
7857
7857
|
|
|
7858
7858
|
### Letting the user watch
|
|
7859
7859
|
The Desktop tab is already live in the dashboard - the user can open it any time. If you're communicating with the user somewhere else (Slack, PR comment, etc.), grab the URL with \`replicas computer info\` and share it inline so they can watch you work.
|
|
@@ -9236,12 +9236,14 @@ var HOOK_EXEC_MAX_BUFFER_BYTES = 10 * 1024 * 1024;
|
|
|
9236
9236
|
var REPLICAS_CONFIG_FILENAMES = ["replicas.json", "replicas.yaml", "replicas.yml"];
|
|
9237
9237
|
|
|
9238
9238
|
// ../shared/src/cli-version.ts
|
|
9239
|
-
var CLI_VERSION = "0.2.
|
|
9239
|
+
var CLI_VERSION = "0.2.268";
|
|
9240
9240
|
|
|
9241
9241
|
// ../shared/src/engine/environment.ts
|
|
9242
9242
|
var DESKTOP_NOVNC_PORT = 6080;
|
|
9243
9243
|
function getDesktopViewerUrl(publicUrl) {
|
|
9244
|
-
|
|
9244
|
+
const url = new URL(`${publicUrl.replace(/\/$/, "")}/`);
|
|
9245
|
+
url.searchParams.set("v", "10");
|
|
9246
|
+
return url.toString();
|
|
9245
9247
|
}
|
|
9246
9248
|
var DESKTOP_VIEWER_WIDTH = 1920;
|
|
9247
9249
|
var DESKTOP_VIEWER_HEIGHT = 1080;
|
|
@@ -18322,7 +18324,7 @@ if (isAgentMode()) {
|
|
|
18322
18324
|
computer.command("scroll <direction>").description("Scroll up | down | left | right. Optionally provide --x / --y to hover before scrolling.").option("--amount <n>", "Wheel ticks (default 3)").option("--x <x>", "Hover x before scrolling").option("--y <y>", "Hover y before scrolling").action(wrap((direction, options) => computerScrollCommand(direction, options)));
|
|
18323
18325
|
computer.command("drag <fromX> <fromY> <toX> <toY>").description("Press the left mouse button at (fromX, fromY), drag to (toX, toY), release.").action(wrap((fx, fy, tx, ty) => computerDragCommand(fx, fy, tx, ty)));
|
|
18324
18326
|
computer.command("launch <app> [args...]").description("Launch an app on the workspace display. Aliases: chrome, chromium, firefox, terminal.").action(wrap((app, args) => computerLaunchCommand(app, args)));
|
|
18325
|
-
const record = computer.command("record").description("Screen-record the workspace display to an MP4 (
|
|
18327
|
+
const record = computer.command("record").description("Screen-record the workspace display to an MP4 (60fps libx264).");
|
|
18326
18328
|
record.command("start <path>").description("Start recording to <path>. Output is fragmented MP4 (safe if the workspace dies mid-record).").option("--fps <n>", "Frame rate (default 60)").action(wrap((path6, options) => computerRecordStartCommand(path6, options)));
|
|
18327
18329
|
record.command("stop").description("Stop the active recording and finalize the MP4. Prints the output path.").action(wrap(() => computerRecordStopCommand()));
|
|
18328
18330
|
const allowed = /* @__PURE__ */ new Set([
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
AwsRestJsonProtocol
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NE3F7K7B.mjs";
|
|
5
5
|
import {
|
|
6
6
|
AwsSdkSigV4Signer,
|
|
7
7
|
DefaultIdentityProviderConfig,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
package_default,
|
|
14
14
|
resolveAwsSdkSigV4Config,
|
|
15
15
|
streamCollector
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WHWH6H5W.mjs";
|
|
17
17
|
import {
|
|
18
18
|
NodeHttpHandler
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Q2YIUYO5.mjs";
|
|
20
20
|
import {
|
|
21
21
|
BinaryDecisionDiagram,
|
|
22
22
|
Client,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
resolveHostHeaderConfig,
|
|
50
50
|
resolveRetryConfig,
|
|
51
51
|
resolveUserAgentConfig
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-IYT446IS.mjs";
|
|
53
53
|
import {
|
|
54
54
|
NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
55
55
|
NODE_REGION_CONFIG_OPTIONS,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
resolveDefaultsModeConfig,
|
|
66
66
|
resolveHttpHandlerRuntimeConfig,
|
|
67
67
|
resolveRegionConfig
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-VDOMBJEB.mjs";
|
|
69
69
|
import {
|
|
70
70
|
Hash,
|
|
71
71
|
calculateBodyLength,
|
|
@@ -73,10 +73,10 @@ import {
|
|
|
73
73
|
fromUtf8,
|
|
74
74
|
toBase64,
|
|
75
75
|
toUtf8
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-BBX2YVOK.mjs";
|
|
77
77
|
import {
|
|
78
78
|
__publicField
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-DR4JHUIF.mjs";
|
|
80
80
|
|
|
81
81
|
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js
|
|
82
82
|
var defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
AwsRestJsonProtocol
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NE3F7K7B.mjs";
|
|
5
5
|
import {
|
|
6
6
|
AwsSdkSigV4Signer,
|
|
7
7
|
DefaultIdentityProviderConfig,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
package_default,
|
|
14
14
|
resolveAwsSdkSigV4Config,
|
|
15
15
|
streamCollector
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WHWH6H5W.mjs";
|
|
17
17
|
import {
|
|
18
18
|
NodeHttpHandler
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Q2YIUYO5.mjs";
|
|
20
20
|
import {
|
|
21
21
|
BinaryDecisionDiagram,
|
|
22
22
|
Client,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
resolveHostHeaderConfig,
|
|
51
51
|
resolveRetryConfig,
|
|
52
52
|
resolveUserAgentConfig
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-IYT446IS.mjs";
|
|
54
54
|
import {
|
|
55
55
|
NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
56
56
|
NODE_REGION_CONFIG_OPTIONS,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
resolveDefaultsModeConfig,
|
|
67
67
|
resolveHttpHandlerRuntimeConfig,
|
|
68
68
|
resolveRegionConfig
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-VDOMBJEB.mjs";
|
|
70
70
|
import {
|
|
71
71
|
Hash,
|
|
72
72
|
calculateBodyLength,
|
|
@@ -74,10 +74,10 @@ import {
|
|
|
74
74
|
fromUtf8,
|
|
75
75
|
toBase64,
|
|
76
76
|
toUtf8
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-BBX2YVOK.mjs";
|
|
78
78
|
import {
|
|
79
79
|
__publicField
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-DR4JHUIF.mjs";
|
|
81
81
|
|
|
82
82
|
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js
|
|
83
83
|
var defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
AwsRestJsonProtocol
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NE3F7K7B.mjs";
|
|
5
5
|
import {
|
|
6
6
|
AwsSdkSigV4Signer,
|
|
7
7
|
DefaultIdentityProviderConfig,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
package_default,
|
|
14
14
|
resolveAwsSdkSigV4Config,
|
|
15
15
|
streamCollector
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WHWH6H5W.mjs";
|
|
17
17
|
import {
|
|
18
18
|
NodeHttpHandler
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Q2YIUYO5.mjs";
|
|
20
20
|
import {
|
|
21
21
|
BinaryDecisionDiagram,
|
|
22
22
|
Client,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
resolveHostHeaderConfig,
|
|
51
51
|
resolveRetryConfig,
|
|
52
52
|
resolveUserAgentConfig
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-IYT446IS.mjs";
|
|
54
54
|
import {
|
|
55
55
|
NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
56
56
|
NODE_REGION_CONFIG_OPTIONS,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
resolveDefaultsModeConfig,
|
|
67
67
|
resolveHttpHandlerRuntimeConfig,
|
|
68
68
|
resolveRegionConfig
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-VDOMBJEB.mjs";
|
|
70
70
|
import {
|
|
71
71
|
Hash,
|
|
72
72
|
calculateBodyLength,
|
|
@@ -74,10 +74,10 @@ import {
|
|
|
74
74
|
fromUtf8,
|
|
75
75
|
toBase64,
|
|
76
76
|
toUtf8
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-BBX2YVOK.mjs";
|
|
78
78
|
import {
|
|
79
79
|
__publicField
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-DR4JHUIF.mjs";
|
|
81
81
|
|
|
82
82
|
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.17/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js
|
|
83
83
|
var defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
resolveAwsSdkSigV4AConfig,
|
|
18
18
|
resolveAwsSdkSigV4Config,
|
|
19
19
|
streamCollector
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WHWH6H5W.mjs";
|
|
21
21
|
import {
|
|
22
22
|
NodeHttpHandler
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-Q2YIUYO5.mjs";
|
|
24
24
|
import {
|
|
25
25
|
BinaryDecisionDiagram,
|
|
26
26
|
Client,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
resolveUserAgentConfig,
|
|
59
59
|
setCredentialFeature,
|
|
60
60
|
stsRegionDefaultResolver
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-IYT446IS.mjs";
|
|
62
62
|
import {
|
|
63
63
|
FromStringShapeDeserializer,
|
|
64
64
|
NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
resolveDefaultsModeConfig,
|
|
82
82
|
resolveHttpHandlerRuntimeConfig,
|
|
83
83
|
resolveRegionConfig
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-VDOMBJEB.mjs";
|
|
85
85
|
import {
|
|
86
86
|
Hash,
|
|
87
87
|
NumericValue,
|
|
@@ -92,10 +92,10 @@ import {
|
|
|
92
92
|
generateIdempotencyToken,
|
|
93
93
|
toBase64,
|
|
94
94
|
toUtf8
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-BBX2YVOK.mjs";
|
|
96
96
|
import {
|
|
97
97
|
__publicField
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-DR4JHUIF.mjs";
|
|
99
99
|
|
|
100
100
|
// ../node_modules/.bun/@smithy+signature-v4@5.4.6/node_modules/@smithy/signature-v4/dist-es/signature-v4a-container.js
|
|
101
101
|
var signatureV4aContainer = {
|