@modootoday/pmcp 0.15.0 → 0.16.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/.agents/plugins/marketplace.json +1 -1
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +22 -11
- package/dist/cli.js +472 -78
- package/dist/{embed-CVCEz2FH.d.ts → embed-DRROSD3F.d.ts} +1 -1
- package/dist/http.d.ts +5 -4
- package/dist/http.js +4 -2
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/{server-DAcT89iv.d.ts → server-VWSY3Shw.d.ts} +2 -3
- package/dist/stdio.d.ts +1 -1
- package/dist/stdio.js +2 -2
- package/dist/tui-worker.js +271 -12
- package/docs/hosting.md +13 -0
- package/docs/terminal-workspace.md +102 -5
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
- package/plugins/pmcp/gemini-extension.json +1 -1
- package/plugins/pmcp/plugin.json +1 -1
|
@@ -13,11 +13,15 @@ retain their existing group budgets and execution profile.
|
|
|
13
13
|
|
|
14
14
|
## Open a workspace
|
|
15
15
|
|
|
16
|
+
The numbered runtime picker, worker menu and worker-start/recovery commands in
|
|
17
|
+
this guide require PMCP 0.16.0 or later.
|
|
18
|
+
|
|
16
19
|
From a supported interactive terminal, run `pmcp` or `pmcp tui`. The first
|
|
17
|
-
launch
|
|
18
|
-
Claude.
|
|
19
|
-
start or enter q to cancel. No provider request
|
|
20
|
-
this confirmation. Use `--runtime` to
|
|
20
|
+
launch lists installed runtimes, with a default in this order: Codex, Gemini,
|
|
21
|
+
agy, Grok, Claude. Enter accepts that default; a number selects another runtime.
|
|
22
|
+
Confirm with Enter at the start prompt, or enter q to cancel. No provider request
|
|
23
|
+
or group creation occurs before this confirmation. Use `--runtime` to skip the
|
|
24
|
+
picker and choose a supported runtime ID explicitly.
|
|
21
25
|
Provider login and folder trust still use the native screen.
|
|
22
26
|
|
|
23
27
|
```sh
|
|
@@ -34,6 +38,35 @@ This launches a native process; the defaults are cooperative host supervision,
|
|
|
34
38
|
not a Docker isolation policy. Use an explicitly configured Docker group when
|
|
35
39
|
you require that execution profile.
|
|
36
40
|
|
|
41
|
+
After opening a workspace, start a worker without preparing a session JSON file:
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
pmcp tui start-worker --runtime gemini-cli
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
This explicitly starts a worker in the saved project workspace. It uses the
|
|
48
|
+
configured session memory by default; `--memory-mb` overrides that reservation.
|
|
49
|
+
The existing group retains its allowed runtimes, execution profile and budgets.
|
|
50
|
+
An unavailable main, paused group or stale generation blocks the start. Native
|
|
51
|
+
login, folder trust and tool approvals remain in the worker's own screen.
|
|
52
|
+
|
|
53
|
+
In the view, Ctrl-g then n opens a worker picker. It releases input control
|
|
54
|
+
without submitting the main draft. Select a granted installed runtime and
|
|
55
|
+
confirm its start; q cancels without creating a worker. The new worker reserves
|
|
56
|
+
the same memory as the live main, within the existing group limits. Selection
|
|
57
|
+
does not switch the input target or acquire control. To use a different
|
|
58
|
+
reservation or an advanced view, run:
|
|
59
|
+
|
|
60
|
+
```sh
|
|
61
|
+
pmcp tui start-worker --view "$VIEW_FILE" --runtime gemini-cli --memory-mb 512
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Use either --view or --config. A view start uses its owned group and generation;
|
|
65
|
+
it does not discover another project workspace. Docker runtime availability
|
|
66
|
+
follows that group's command policy rather than host native executables.
|
|
67
|
+
This worker menu is qualified on native groups; Docker execution remains subject
|
|
68
|
+
to its separately tested CLI and profile grants.
|
|
69
|
+
|
|
37
70
|
The nearest `pmcp.toml` within the Git repository determines the project root,
|
|
38
71
|
including from nested cwd. A submodule does not inherit its parent's config;
|
|
39
72
|
use `--config` when you explicitly want a different configuration scope.
|
|
@@ -99,6 +132,45 @@ right, and coordination occupies four bottom rows. Smaller terminals keep a
|
|
|
99
132
|
full-width main and a separate management window. The minimum is 40 by 12.
|
|
100
133
|
Views refer to an existing owned group and do not start a provider.
|
|
101
134
|
|
|
135
|
+
Doctor checks host prerequisites, including access to the systemd user manager,
|
|
136
|
+
and lists native executables found on PATH. An installed executable is not proof
|
|
137
|
+
of authentication or successful native behavior. The report leaves native
|
|
138
|
+
acceptance unassessed and does not read authentication profiles.
|
|
139
|
+
|
|
140
|
+
| Finding | Next step |
|
|
141
|
+
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
|
|
142
|
+
| Missing tmux or flock | Install tmux or util-linux for your Linux distribution and check PATH in this terminal. |
|
|
143
|
+
| Unsupported Node | Select Node.js 22 or later through your existing version manager, then check node --version. |
|
|
144
|
+
| Unreachable user manager | Run systemctl --user status in the same login session; restore manager access before launching. Doctor does not start services. |
|
|
145
|
+
| Missing native runtime | Install the vendor's CLI and select its runtime ID explicitly. Installation alone does not establish login or folder trust. |
|
|
146
|
+
| Unsupported terminal host | Use a qualified Linux host for this workspace. Other PMCP features keep their own prerequisites. |
|
|
147
|
+
|
|
148
|
+
Doctor does not invoke a native runtime, inspect private authentication files,
|
|
149
|
+
test a model reply or prove cgroup delegation. Native acceptance and isolated
|
|
150
|
+
execution require separate measurements against the exact installed version.
|
|
151
|
+
|
|
152
|
+
### Measured terminal behavior
|
|
153
|
+
|
|
154
|
+
Linux acceptance on 2026-10-10 covered the following native main/worker pairs.
|
|
155
|
+
Each run checked read-only observation, explicit worker input with an actual
|
|
156
|
+
reply, main draft preservation, resize and detach/reconnect. These bounded
|
|
157
|
+
checks do not certify every vendor feature or another authentication profile.
|
|
158
|
+
|
|
159
|
+
| Native runtime | Tested version | Main and worker terminal checks |
|
|
160
|
+
| -------------- | ------------------------- | ------------------------------- |
|
|
161
|
+
| Codex | 0.161.0 | Passed |
|
|
162
|
+
| Gemini CLI | 0.63.0 | Passed |
|
|
163
|
+
| Grok CLI | 1.0.50 | Passed |
|
|
164
|
+
| agy | 1.3.3 | Passed |
|
|
165
|
+
| Claude Code | Not measured in this wave | Deferred |
|
|
166
|
+
|
|
167
|
+
Separate synthetic PTY checks cover multiline Korean paste, read-only mouse
|
|
168
|
+
input, owned history and nested tmux. They do not establish each vendor's
|
|
169
|
+
own editing or mouse behavior. Use Ctrl-g then h to read owned history without
|
|
170
|
+
sending input. Claude acceptance, other operating systems and physical host
|
|
171
|
+
loss remain outside these results. Docker installation and native credential
|
|
172
|
+
isolation have separate qualification; this terminal run does not replace them.
|
|
173
|
+
|
|
102
174
|
## Observe and control
|
|
103
175
|
|
|
104
176
|
Press Ctrl-g, release it, then press a key:
|
|
@@ -107,6 +179,7 @@ Press Ctrl-g, release it, then press a key:
|
|
|
107
179
|
| -------- | -------------------------------------------- | ----------------------- |
|
|
108
180
|
| m | Return to main and release worker control | main |
|
|
109
181
|
| w or 1–4 | Observe a worker | observe --index 1 |
|
|
182
|
+
| n | Choose and confirm a new worker | worker-menu |
|
|
110
183
|
| c | Request control of the current native target | control |
|
|
111
184
|
| r | Release control | release |
|
|
112
185
|
| h | Read owned native history | history |
|
|
@@ -121,9 +194,11 @@ the dock; CLI observe supports all available indices. Press Ctrl-g twice to
|
|
|
121
194
|
forward Ctrl-g to the native interface. Native Ctrl-b remains available when
|
|
122
195
|
you hold control. A surrounding tmux may consume its own prefix first.
|
|
123
196
|
|
|
124
|
-
The
|
|
197
|
+
The status line identifies MAIN or WORKER, its session and OBSERVE / INPUT OFF.
|
|
198
|
+
Control progresses through REQUESTING CONTROL and
|
|
125
199
|
CONNECTING WRITER to CONTROL READY. A lease alone does not enable typing: PMCP
|
|
126
200
|
checks that the writable native client is attached to the selected pane's TTY.
|
|
201
|
+
Only CONTROL READY shows INPUT ON.
|
|
127
202
|
Input stays blocked during acquisition and release. A control lease identifies
|
|
128
203
|
the writer, not which native prompt or approval menu is active.
|
|
129
204
|
|
|
@@ -164,6 +239,28 @@ pmcp harness recovery inspect --group-file "$GROUP_FILE"
|
|
|
164
239
|
pmcp harness attach inspect --group-file "$GROUP_FILE" --session "$SESSION"
|
|
165
240
|
```
|
|
166
241
|
|
|
242
|
+
For a workspace opened through bare pmcp, inspect the saved launcher without
|
|
243
|
+
starting a runtime:
|
|
244
|
+
|
|
245
|
+
```sh
|
|
246
|
+
pmcp tui recovery
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
This reads the checkpoint and validates its saved group ownership and
|
|
250
|
+
generation. It reports exact inspection commands and, where applicable,
|
|
251
|
+
explicit resume, stop or fresh-launch commands. It does not execute them or
|
|
252
|
+
certify that a process is still alive. An explicitly selected configuration
|
|
253
|
+
is preserved in the proposed fresh-launch command:
|
|
254
|
+
|
|
255
|
+
```sh
|
|
256
|
+
pmcp tui recovery --config /path/to/pmcp.toml
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
If creation stopped before a group reference was saved, the result is
|
|
260
|
+
manual-inspection. Preserve the reported checkpoint and examine owned launch
|
|
261
|
+
evidence before changing it. Matching project paths alone cannot establish
|
|
262
|
+
ownership. Paused work stays paused, and uncertain input is never replayed.
|
|
263
|
+
|
|
167
264
|
Close ends the presentation and preserves all native runtimes:
|
|
168
265
|
|
|
169
266
|
```sh
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
package/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "pmcp",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.16.1",
|
|
5
5
|
"description": "Find package skills and use native runtime project configuration.",
|
|
6
6
|
"author": { "name": "modootoday" },
|
|
7
7
|
"license": "Elastic-2.0",
|
package/plugins/pmcp/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "pmcp",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.16.1",
|
|
5
5
|
"description": "Find package skills and use native runtime project configuration.",
|
|
6
6
|
"author": { "name": "modootoday" },
|
|
7
7
|
"license": "Elastic-2.0",
|