@pandanpc/mcp-server 0.1.33 → 0.1.35
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/package.json
CHANGED
package/skills/pandanpc/SKILL.md
CHANGED
|
@@ -15,5 +15,6 @@ Read only the relevant reference:
|
|
|
15
15
|
- Searching mail and attachments: [mail](references/mail.md).
|
|
16
16
|
- Versioned shared memory, revisions and offline receipts: [memory](references/memory.md).
|
|
17
17
|
- Managed configuration sync conflicts: [ASC](references/asc.md).
|
|
18
|
+
- Delegating to Codex/GPT, Claude Code or PandaCode workers: [agents](references/agents.md).
|
|
18
19
|
|
|
19
20
|
Reply in the user's language. Authenticate account operations with `note_login` only when needed; reading guides does not require a note login. Use IDs returned by the tools. A guide does not authorize additional actions: preserve the user's scope and the tools' documented side effects.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Cross-engine workers (agents)
|
|
2
|
+
|
|
3
|
+
Use these tools when the user names an engine or model (Codex, GPT, Astra, Sol, gpt-6-astra, gpt-5.6-sol, PandaCode, Kimi, remote Claude Code) or asks to delegate, dispatch, hand off, review with, or spawn a worker/subagent. No project skill is required.
|
|
4
|
+
|
|
5
|
+
## Model -> engine
|
|
6
|
+
|
|
7
|
+
| Model | Engine |
|
|
8
|
+
|---|---|
|
|
9
|
+
| `gpt-*` (gpt-6-astra, gpt-5.6-sol, gpt-5.6-terra, ...) | codex |
|
|
10
|
+
| `opus`, `sonnet`, `haiku`, `claude-*` | claude (streamjson connection; terminal connections cannot host workers) |
|
|
11
|
+
| Kimi and other provider models | pandacode (the model is fixed by the connection; do not pass `model`) |
|
|
12
|
+
|
|
13
|
+
## Steps
|
|
14
|
+
|
|
15
|
+
1. `list_engine_models(engine?, cwd?)` -> choose an online `connection_id` whose engine serves the model.
|
|
16
|
+
2. `spawn_engine_agent(name, connection_id, parent_session_id, task, model?, reasoning_effort?)`.
|
|
17
|
+
- `parent_session_id` is the `<uuid>` in the current session URL `pandanpc.com/agent/<uuid>`.
|
|
18
|
+
- `model` / `reasoning_effort` / `auto_compact_window` / `permission_mode` / `timeout_minutes` override the connection defaults for this worker only. Permissions always follow the connection (bypass only if the connection allows it).
|
|
19
|
+
- The session is filed under the connection's project whose directory matches the parent session's cwd; pass `project` (folder_id, name or absolute directory) to choose another. The response's `project` field says which one was used.
|
|
20
|
+
- `request_id` is optional; pass a stable value to retry safely.
|
|
21
|
+
3. Wait for the plaintext teammate reply in the parent session. If none arrives, call `engine_agent_result(agent_id)`.
|
|
22
|
+
4. Follow-ups: `send_engine_agent(agent_id, task)`. Interrupt: `stop_engine_agent(agent_id)` (Esc semantics; background subagents and other sessions keep running).
|
|
23
|
+
|
|
24
|
+
## Verify
|
|
25
|
+
|
|
26
|
+
- Compare the requested model with `actual_model` / `models` in `engine_agent_result`. An unknown or unhonored model fails the worker with the available list.
|
|
27
|
+
- `completed` means the model turn ended, not that its conclusion is correct. Check its claims (diffs, tests, files) before relying on them.
|
|
28
|
+
- Permission prompts: open `session_url`.
|