@myna-sh/cli 0.3.0 → 0.4.1
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 +1 -1
- package/dist/main.js +32 -3
- package/dist/main.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ npx @myna-sh/cli --help
|
|
|
16
16
|
|
|
17
17
|
## Versioning
|
|
18
18
|
|
|
19
|
-
`@myna-sh/cli`, `@myna-sh/sdk`, and `@myna-sh/
|
|
19
|
+
`@myna-sh/cli`, `@myna-sh/sdk`, `@myna-sh/mcp`, and `@myna-sh/react` are released in lockstep: the same version number always means the same commit. This CLI bundles the matching SDK, so installing them at the same version is all that compatibility requires.
|
|
20
20
|
|
|
21
21
|
If a command in the [documentation](https://docs.myna.sh/cli/commands) is missing locally, compare versions before assuming a bug — docs.myna.sh is generated from the repository, which can be ahead of npm:
|
|
22
22
|
|
package/dist/main.js
CHANGED
|
@@ -2524,7 +2524,11 @@ var ID_PREFIXES = {
|
|
|
2524
2524
|
billingCustomer: "bcu",
|
|
2525
2525
|
billingSubscription: "bsu",
|
|
2526
2526
|
billingProviderEvent: "evt",
|
|
2527
|
-
usagePeriod: "usp"
|
|
2527
|
+
usagePeriod: "usp",
|
|
2528
|
+
mcpClient: "mcl",
|
|
2529
|
+
mcpGrant: "mgr",
|
|
2530
|
+
mcpAuthorizationCode: "mac",
|
|
2531
|
+
mcpToken: "mtk"
|
|
2528
2532
|
};
|
|
2529
2533
|
var PREFIX_SET = new Set(Object.values(ID_PREFIXES));
|
|
2530
2534
|
|
|
@@ -2547,6 +2551,7 @@ function normalizeOrigin(value) {
|
|
|
2547
2551
|
// ../shared/dist/plans.js
|
|
2548
2552
|
var GB = 1024 ** 3;
|
|
2549
2553
|
var MB = 1024 ** 2;
|
|
2554
|
+
var UNLIMITED = Number.MAX_SAFE_INTEGER;
|
|
2550
2555
|
var PLANS = {
|
|
2551
2556
|
free: {
|
|
2552
2557
|
key: "free",
|
|
@@ -2573,6 +2578,25 @@ var PLANS = {
|
|
|
2573
2578
|
maxWebhookEndpoints: 10,
|
|
2574
2579
|
revisionRetentionDays: null,
|
|
2575
2580
|
maxUploadBytes: 250 * MB
|
|
2581
|
+
},
|
|
2582
|
+
/**
|
|
2583
|
+
* Myna's own organizations — the changelog, and anything else we run on the
|
|
2584
|
+
* product we sell. It is never sold, never offered at checkout, and cannot be
|
|
2585
|
+
* reached through the API: `scripts/bootstrap-internal-org.mjs` writes it
|
|
2586
|
+
* directly, and billing refuses to move an organization on or off it.
|
|
2587
|
+
*/
|
|
2588
|
+
internal: {
|
|
2589
|
+
key: "internal",
|
|
2590
|
+
priceEurMonthly: 0,
|
|
2591
|
+
priceEurYearly: null,
|
|
2592
|
+
maxProjects: UNLIMITED,
|
|
2593
|
+
maxMembers: UNLIMITED,
|
|
2594
|
+
storageBytes: UNLIMITED,
|
|
2595
|
+
monthlyBandwidthBytes: UNLIMITED,
|
|
2596
|
+
monthlyPublicApiRequests: UNLIMITED,
|
|
2597
|
+
maxWebhookEndpoints: UNLIMITED,
|
|
2598
|
+
revisionRetentionDays: null,
|
|
2599
|
+
maxUploadBytes: UNLIMITED
|
|
2576
2600
|
}
|
|
2577
2601
|
};
|
|
2578
2602
|
|
|
@@ -2891,7 +2915,12 @@ function registerMembers(program) {
|
|
|
2891
2915
|
email: opts.email,
|
|
2892
2916
|
role: opts.role
|
|
2893
2917
|
});
|
|
2894
|
-
emit(
|
|
2918
|
+
emit(
|
|
2919
|
+
invite,
|
|
2920
|
+
() => diag(
|
|
2921
|
+
`Invited ${invite.email} as ${invite.role}. An email with the accept link is on its way; it expires ${invite.expiresAt}.`
|
|
2922
|
+
)
|
|
2923
|
+
);
|
|
2895
2924
|
})
|
|
2896
2925
|
);
|
|
2897
2926
|
members.command("update").description("Update a member's role").argument("<user>", "user id").requiredOption("--role <role>", "new role").action(
|
|
@@ -3051,7 +3080,7 @@ import { existsSync as existsSync4, readFileSync as readFileSync3, readdirSync a
|
|
|
3051
3080
|
import { join as join6 } from "path";
|
|
3052
3081
|
|
|
3053
3082
|
// src/version.ts
|
|
3054
|
-
var VERSION = true ? "0.
|
|
3083
|
+
var VERSION = true ? "0.4.1" : "0.0.0-dev";
|
|
3055
3084
|
|
|
3056
3085
|
// src/commands/doctor.ts
|
|
3057
3086
|
var NPM_REGISTRY = "https://registry.npmjs.org";
|