moshcode 0.31.0 → 0.32.0
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 -0
- package/package.json +1 -1
- package/src/commands.mjs +1 -0
- package/src/tools.mjs +11 -2
package/README.md
CHANGED
|
@@ -643,6 +643,7 @@ chmod +x deploy.mosh
|
|
|
643
643
|
| `ugig(args…)` | drive the ugig workflow CLI |
|
|
644
644
|
| `coinpay(args…)` | drive the coinpay workflow CLI |
|
|
645
645
|
| `c0mpute(args…)` | drive the c0mpute workflow CLI |
|
|
646
|
+
| `c0upons(args…)` | drive the c0upons workflow CLI |
|
|
646
647
|
| `secrets(args…)` | drive the logicsrc secrets CLI |
|
|
647
648
|
| `railway(args…)` | drive the Railway CLI |
|
|
648
649
|
| `gh(args…)` | drive the GitHub CLI |
|
package/package.json
CHANGED
package/src/commands.mjs
CHANGED
|
@@ -240,6 +240,7 @@ const COMMANDS = [
|
|
|
240
240
|
cliVerb("ugig", "drive the ugig workflow CLI"),
|
|
241
241
|
cliVerb("coinpay", "drive the coinpay workflow CLI"),
|
|
242
242
|
cliVerb("c0mpute", "drive the c0mpute workflow CLI"),
|
|
243
|
+
cliVerb("c0upons", "drive the c0upons workflow CLI"),
|
|
243
244
|
cliVerb("secrets", "manage/view team secrets via logicsrc (login, teams, credentials)"),
|
|
244
245
|
cliVerb("railway", "drive the Railway CLI (deploys, services, env vars)"),
|
|
245
246
|
cliVerb("gh", "drive the GitHub CLI (repos, PRs, issues, releases)"),
|
package/src/tools.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Adjacent workflow CLIs moshcode can install and transparently invoke.
|
|
2
2
|
// These are deliberately separate from coding engines: UGig owns marketplace
|
|
3
3
|
// workflows, CoinPay owns payment workflows, c0mpute owns the compute network,
|
|
4
|
-
//
|
|
5
|
-
// their native command lines.
|
|
4
|
+
// c0upons owns community coupons and bounties, the cloud CLIs below own
|
|
5
|
+
// deploys/secrets/infra, and moshcode only conducts their native command lines.
|
|
6
6
|
import { homedir } from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { fileURLToPath } from "node:url";
|
|
@@ -34,6 +34,15 @@ export const TOOLS = {
|
|
|
34
34
|
// c0mpute ships via its own install script (the v1 stack installer).
|
|
35
35
|
install: { cmd: "sh", args: ["-c", "curl -fsSL https://c0mpute.com/install.sh | sh"] },
|
|
36
36
|
},
|
|
37
|
+
c0upons: {
|
|
38
|
+
desc: "c0upons — community coupon search, submissions, and bounties",
|
|
39
|
+
bin: "c0upons",
|
|
40
|
+
// c0upons ships its own POSIX-sh installer, so `| sh` is enough here (the
|
|
41
|
+
// script avoids bashisms deliberately) — no npm package to install from.
|
|
42
|
+
install: { cmd: "sh", args: ["-c", "curl -fsSL https://c0upons.com/install.sh | sh"] },
|
|
43
|
+
// The CLI updates itself in place from the same origin the installer uses.
|
|
44
|
+
upgrade: { cmd: "c0upons", args: ["upgrade"] },
|
|
45
|
+
},
|
|
37
46
|
secrets: {
|
|
38
47
|
desc: "LogicSRC — end-to-end-encrypted team credential sharing (login, teams, credentials)",
|
|
39
48
|
// The passthrough target is the `logicsrc` binary; the moshcode command is
|