moshcode 0.33.0 → 0.33.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 +18 -0
- package/package.json +1 -1
- package/src/cli-schema.mjs +4 -1
package/README.md
CHANGED
|
@@ -129,6 +129,24 @@ Close the terminal, drop the SSH link, come back tomorrow — `moshcode ps` stil
|
|
|
129
129
|
answers, and `moshcode attach` puts you back inside. In the pit the same verbs
|
|
130
130
|
are `/ps`, `/attach`, `/kill`, and the roster prints on the way in.
|
|
131
131
|
|
|
132
|
+
### Switching between them without leaving
|
|
133
|
+
|
|
134
|
+
Every session lives in one tmux server that moshcode owns, so once you are
|
|
135
|
+
attached to any of them you can move around the whole herd without going back to
|
|
136
|
+
the pit:
|
|
137
|
+
|
|
138
|
+
| key | |
|
|
139
|
+
|---|---|
|
|
140
|
+
| `Ctrl-b s` | pick from a list of every session |
|
|
141
|
+
| `Ctrl-b )` / `Ctrl-b (` | next / previous session |
|
|
142
|
+
| `Ctrl-b L` | back to the one you were just in |
|
|
143
|
+
| `Ctrl-b d` | detach — the session keeps running |
|
|
144
|
+
|
|
145
|
+
That server is started without your `~/.tmux.conf`, so these are the stock
|
|
146
|
+
bindings whatever your own tmux does with the prefix. Under the no-tmux fallback
|
|
147
|
+
there is no switcher: detach with `Ctrl-]` and `moshcode attach <name>` the next
|
|
148
|
+
one.
|
|
149
|
+
|
|
132
150
|
### Which one needs you
|
|
133
151
|
|
|
134
152
|
Every session carries a state: `working`, `blocked`, `done`, `idle`, or
|
package/package.json
CHANGED
package/src/cli-schema.mjs
CHANGED
|
@@ -103,7 +103,10 @@ export const CORE_CLI_COMMANDS = [
|
|
|
103
103
|
synopsis: [["moshcode attach <name>", "detach again with Ctrl-b d (or Ctrl-] without tmux)"]],
|
|
104
104
|
examples: [["moshcode attach api", ""]],
|
|
105
105
|
seeAlso: ["ps", "herd", "kill"],
|
|
106
|
-
note: "detaching leaves the session running
|
|
106
|
+
note: "detaching leaves the session running; ending it is `moshcode kill`. "
|
|
107
|
+
+ "the whole herd shares one tmux server, so from inside any session Ctrl-b s picks another, "
|
|
108
|
+
+ "Ctrl-b ) and Ctrl-b ( step through them, and Ctrl-b L goes back to the last one — "
|
|
109
|
+
+ "no switcher under the no-tmux fallback, where Ctrl-] detaches instead.",
|
|
107
110
|
},
|
|
108
111
|
{
|
|
109
112
|
name: "kill",
|