@modootoday/pmcp 0.17.4 → 0.18.2
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 +2 -2
- package/.mcp.json +1 -1
- package/CHANGELOG.md +152 -0
- package/CONTRIBUTING.md +71 -0
- package/README.md +98 -201
- package/SECURITY.md +17 -1
- package/dist/apply-JUTGS5WZ.js +242 -0
- package/dist/{attachment-tU5FZrgZ.d.ts → attachment-D84OGI6n.d.ts} +1 -1
- package/dist/available-DBSIVVJ6.js +73 -0
- package/dist/broadcast-CBMVOV3G.js +18 -0
- package/dist/chunk-26WLNWDG.js +93 -0
- package/dist/chunk-2FIV63WC.js +252 -0
- package/dist/chunk-2P4Z2NUX.js +28 -0
- package/dist/chunk-34DECPVC.js +22 -0
- package/dist/chunk-3FCFAQDG.js +42 -0
- package/dist/chunk-3IDXEV5E.js +1934 -0
- package/dist/chunk-3PW4FI7U.js +32 -0
- package/dist/chunk-3Y3HDMHA.js +108 -0
- package/dist/chunk-47O3X4VS.js +113 -0
- package/dist/chunk-4NDEP7HU.js +26 -0
- package/dist/chunk-5OMOPUE6.js +39 -0
- package/dist/chunk-5QQWS4US.js +53 -0
- package/dist/chunk-5ZABTVSW.js +48 -0
- package/dist/chunk-65KAQSJP.js +7 -0
- package/dist/chunk-6STKGOCW.js +27 -0
- package/dist/chunk-6WXMJOMI.js +9 -0
- package/dist/chunk-73AKO4UL.js +24 -0
- package/dist/chunk-7DLZC73N.js +29 -0
- package/dist/chunk-7GBYECSK.js +72 -0
- package/dist/chunk-7HFIGCSL.js +419 -0
- package/dist/chunk-7TD53M7L.js +13 -0
- package/dist/chunk-7UCZAN4J.js +778 -0
- package/dist/chunk-A4PKLESO.js +112 -0
- package/dist/chunk-A7VF7A35.js +1025 -0
- package/dist/chunk-ABTJQ4QV.js +74 -0
- package/dist/chunk-AJ4VXM2U.js +349 -0
- package/dist/chunk-BBTBJCFA.js +380 -0
- package/dist/chunk-BU65MNVU.js +13 -0
- package/dist/chunk-C4NHQGHL.js +142 -0
- package/dist/chunk-CJTKR6K6.js +1213 -0
- package/dist/chunk-D77IRGHO.js +1246 -0
- package/dist/chunk-DCU2EXQV.js +78 -0
- package/dist/chunk-DMZHQZ7P.js +104 -0
- package/dist/chunk-DZ2MRTYT.js +135 -0
- package/dist/chunk-E2YOZ2FF.js +207 -0
- package/dist/chunk-E3DQB5LS.js +48 -0
- package/dist/chunk-EATCUWGG.js +66 -0
- package/dist/chunk-EAWPJHJ7.js +155 -0
- package/dist/chunk-EIDIVIAD.js +33 -0
- package/dist/chunk-F5QYZK7E.js +396 -0
- package/dist/chunk-F5XMGOOX.js +28 -0
- package/dist/chunk-FENOGX3U.js +31 -0
- package/dist/chunk-GZHHEHKY.js +44 -0
- package/dist/chunk-HDMBVLCZ.js +53 -0
- package/dist/chunk-HQOB7OQS.js +81 -0
- package/dist/chunk-I2ZP2PSA.js +211 -0
- package/dist/chunk-IG33DXLT.js +151 -0
- package/dist/chunk-IJBSOWHK.js +86 -0
- package/dist/chunk-INT7QLEU.js +114 -0
- package/dist/chunk-J7UYNJCR.js +9 -0
- package/dist/chunk-JEL35P7S.js +53 -0
- package/dist/chunk-JGJ4INEN.js +32 -0
- package/dist/chunk-JS5RTH4I.js +84 -0
- package/dist/chunk-JWRZDYB5.js +59 -0
- package/dist/chunk-KMXRRSKT.js +660 -0
- package/dist/chunk-LBXO4VPG.js +73 -0
- package/dist/chunk-LLBPVZXM.js +67 -0
- package/dist/chunk-LLT5FQBE.js +57 -0
- package/dist/chunk-LMT3PPXJ.js +17 -0
- package/dist/chunk-LMUBBIE2.js +83 -0
- package/dist/chunk-LTZH5E3G.js +479 -0
- package/dist/chunk-LW4TG7EL.js +39 -0
- package/dist/chunk-MPSQXSC6.js +346 -0
- package/dist/chunk-MVFH26QT.js +97 -0
- package/dist/chunk-NLEXKE7U.js +67 -0
- package/dist/chunk-NQPURJT5.js +44 -0
- package/dist/chunk-NRBQK6UX.js +105 -0
- package/dist/chunk-OEH47H6A.js +48 -0
- package/dist/chunk-OG7QR2DP.js +75 -0
- package/dist/chunk-OPYFEHKG.js +52 -0
- package/dist/chunk-P4N7DBD5.js +83 -0
- package/dist/chunk-PAX3QXX2.js +140 -0
- package/dist/chunk-PKODFR5F.js +102 -0
- package/dist/chunk-PMJG2CXF.js +122 -0
- package/dist/chunk-Q5H3L6Y4.js +23 -0
- package/dist/chunk-QEF7EK3T.js +28 -0
- package/dist/chunk-QEW4J3IZ.js +74 -0
- package/dist/chunk-QPL7E2HW.js +464 -0
- package/dist/chunk-R2GPCZUX.js +22 -0
- package/dist/chunk-R5MT42JS.js +284 -0
- package/dist/chunk-RMATE45Z.js +197 -0
- package/dist/chunk-RPQOBHVU.js +87 -0
- package/dist/chunk-S3PIAMXV.js +230 -0
- package/dist/chunk-T3LKX23M.js +168 -0
- package/dist/chunk-T6GOWHK6.js +30 -0
- package/dist/chunk-TIA4SPU2.js +10 -0
- package/dist/chunk-TNCZ6444.js +57 -0
- package/dist/chunk-TVL5RTE6.js +269 -0
- package/dist/chunk-TXQ7L33K.js +45 -0
- package/dist/chunk-UPQTAHUK.js +189 -0
- package/dist/chunk-V4NPDK6X.js +14 -0
- package/dist/chunk-VJFEN6DJ.js +38 -0
- package/dist/chunk-VMHUEOT5.js +643 -0
- package/dist/chunk-VRPMYPZU.js +4985 -0
- package/dist/chunk-WIW772I3.js +25 -0
- package/dist/chunk-XELAZAIM.js +136 -0
- package/dist/chunk-XNML2KIC.js +23 -0
- package/dist/chunk-XP2U3LO3.js +30 -0
- package/dist/chunk-YGOWIJPE.js +51 -0
- package/dist/chunk-YIXDHQYE.js +11 -0
- package/dist/chunk-YSAWTGNA.js +117 -0
- package/dist/claude-U2JC2DNQ.js +77 -0
- package/dist/cli-MI4ZCAZ3.js +41 -0
- package/dist/cli-ZN7ZVDEZ.js +46 -0
- package/dist/cli.js +144 -16197
- package/dist/completion-ILSRB3LW.js +142 -0
- package/dist/config-DnpLL2kT.d.ts +46 -0
- package/dist/{service-qpCsOXkQ.d.ts → core-C1LPjxK6.d.ts} +2 -6
- package/dist/diagnostics-XKXVVQWH.js +93 -0
- package/dist/doctor-O2E63YGO.js +538 -0
- package/dist/entry-X6CSYQRQ.js +305 -0
- package/dist/exec-mcp-2PMWBPD7.js +365 -0
- package/dist/harness-L2KSI2ZB.js +177 -0
- package/dist/harness-egress-bridge.js +4 -4
- package/dist/harness-launch-gate.js +47 -940
- package/dist/harness-pane-runner.js +13 -80
- package/dist/harness-worker.js +21 -2703
- package/dist/hook-body.js +5222 -0
- package/dist/hook-spec-C5fWTSCH.d.ts +100 -0
- package/dist/hook.js +26 -0
- package/dist/hooks-BHTA44X7.js +21 -0
- package/dist/host-UIZAXXQH.js +22 -0
- package/dist/host-UWK754BW.js +210 -0
- package/dist/host-run-BI2OTZDZ.js +307 -0
- package/dist/http.d.ts +5 -42
- package/dist/http.js +21 -2234
- package/dist/import-mcp-GPKJI7DI.js +400 -0
- package/dist/index.d.ts +146 -168
- package/dist/index.js +133 -4948
- package/dist/init-3C2Y7BNJ.js +14 -0
- package/dist/install-GG7HHZK2.js +796 -0
- package/dist/invoke-44CJRVMK.js +23 -0
- package/dist/list-MCP2FXUF.js +68 -0
- package/dist/list-WL6L4J5H.js +65 -0
- package/dist/load-BEUBABtB.d.ts +21 -0
- package/dist/logout-F5EJ5MOU.js +44 -0
- package/dist/logs-TBUA4UWU.js +107 -0
- package/dist/mailbox/index.d.ts +10 -5
- package/dist/mailbox/index.js +53 -1572
- package/dist/mailbox-BMTZOSZ7.js +285 -0
- package/dist/mailbox-GDJ7BWQN.js +189 -0
- package/dist/mainline-KAD2ERLP.js +639 -0
- package/dist/marketplace-G4VQET5W.js +191 -0
- package/dist/mcp-235QZN2A.js +15 -0
- package/dist/mcp-FJ2UQ4RH.js +193 -0
- package/dist/models-ISU4DCMA.js +32 -0
- package/dist/opencode-CN7JLQYO.js +60 -0
- package/dist/pause-7LILUVGL.js +18 -0
- package/dist/preview-DT7DWG5F.js +91 -0
- package/dist/project/hook-adapter.d.ts +5 -2
- package/dist/project/hook-adapter.js +41 -27
- package/dist/project-5YV5CUEG.js +70 -0
- package/dist/pty-XTJ4MIWK.js +94 -0
- package/dist/recovery-U6QB3PMT.js +100 -0
- package/dist/reindex-Y27QJFDB.js +22 -0
- package/dist/resume-26VFAAMH.js +18 -0
- package/dist/run-3AXTZSR7.js +126 -0
- package/dist/run-3SOVRQIA.js +19 -0
- package/dist/serve-DQMKTFIV.js +104 -0
- package/dist/session-XM2CR425.js +159 -0
- package/dist/setup-DTKZLZUT.js +18 -0
- package/dist/start-login-YTZV6KMF.js +416 -0
- package/dist/status-A2OUTNGK.js +9 -0
- package/dist/status-H2VAHIDV.js +10 -0
- package/dist/status-MROQ7WR7.js +43 -0
- package/dist/status-RO55QPKV.js +55 -0
- package/dist/status-UME2L33L.js +286 -0
- package/dist/stdio.d.ts +3 -13
- package/dist/stdio.js +16 -3186
- package/dist/sweep-35LGQTTO.js +18 -0
- package/dist/test-AGZOJLRZ.js +561 -0
- package/dist/tools-gpHNq9Dh.d.ts +328 -0
- package/dist/tui-G5LLWCSV.js +153 -0
- package/dist/unbroadcast-5QNGAJR2.js +18 -0
- package/dist/validate-IU52H2IC.js +46 -0
- package/dist/worker-QZ5T6LJD.js +80 -0
- package/dist/worktree-create-PZSRB7PH.js +89 -0
- package/dist/worktree-list-JYB6VXLW.js +51 -0
- package/dist/worktree-sync-UF5CXPWV.js +30 -0
- package/docs/authoring.md +82 -0
- package/docs/browser-and-desktop.md +46 -0
- package/docs/commands.md +325 -0
- package/docs/compare.md +35 -0
- package/docs/compatibility.md +55 -0
- package/docs/embeddings.md +1 -1
- package/docs/getting-started.md +105 -0
- package/docs/git-workflow.md +60 -0
- package/docs/glossary.md +31 -0
- package/docs/hooks/capabilities/antigravity.json +199 -0
- package/docs/hooks/capabilities/claude.json +179 -0
- package/docs/hooks/capabilities/codex.json +179 -0
- package/docs/hooks/capabilities/gemini.json +196 -0
- package/docs/hooks/capabilities/grok.json +192 -0
- package/docs/hooks/capabilities/opencode.json +184 -0
- package/docs/hooks.md +264 -0
- package/docs/install.md +72 -0
- package/docs/library-skills.md +132 -0
- package/docs/mailbox.md +16 -5
- package/docs/project-configuration.md +540 -58
- package/docs/sessions.md +64 -0
- package/docs/skills.md +4 -45
- package/docs/terminal-harness.md +92 -44
- package/docs/terminal-workspace.md +81 -169
- package/gemini-extension.json +2 -2
- package/mcp.json +1 -1
- package/package.json +16 -2
- package/plugin.json +2 -2
- package/plugins/pmcp/.claude-plugin/plugin.json +4 -2
- package/plugins/pmcp/.mcp.json +1 -1
- package/plugins/pmcp/gemini-extension.json +2 -2
- package/plugins/pmcp/mcp.json +1 -1
- package/plugins/pmcp/mod/commands.ts +72 -0
- package/plugins/pmcp/mod/contract.d.ts +39 -0
- package/plugins/pmcp/mod/draw.tsx +216 -0
- package/plugins/pmcp/mod/guard.ts +42 -0
- package/plugins/pmcp/mod/hooks.json +4 -0
- package/plugins/pmcp/mod/host.ts +46 -0
- package/plugins/pmcp/mod/model.ts +144 -0
- package/plugins/pmcp/mod/reader/index.ts +18 -0
- package/plugins/pmcp/mod/reader/read.ts +76 -0
- package/plugins/pmcp/mod/reader/settings.ts +54 -0
- package/plugins/pmcp/mod/reader/types.ts +38 -0
- package/plugins/pmcp/mod/register.tsx +73 -0
- package/plugins/pmcp/mod/sessions/format.ts +91 -0
- package/plugins/pmcp/mod/sessions/types.ts +162 -0
- package/plugins/pmcp/mod/snapshot.ts +75 -0
- package/plugins/pmcp/mod/spinner.tsx +30 -0
- package/plugins/pmcp/mod/state.ts +28 -0
- package/plugins/pmcp/plugin.json +2 -2
- package/plugins/pmcp/skills/agent-assets-migrate/SKILL.md +96 -0
- package/plugins/pmcp/skills/headless-agents-ci-scaffold/SKILL.md +101 -0
- package/plugins/pmcp/skills/marketplace-plugin-scaffold/SKILL.md +87 -0
- package/plugins/pmcp/skills/package-skill-catalog/SKILL.md +51 -15
- package/plugins/pmcp/skills/pmcp-browser/SKILL.md +27 -0
- package/plugins/pmcp/skills/pmcp-desktop/SKILL.md +25 -0
- package/plugins/pmcp/skills/pmcp-project-init/SKILL.md +153 -0
- package/plugins/pmcp/skills/pmcp-sessions-and-git/SKILL.md +96 -0
- package/plugins/pmcp/skills/skill-package-scaffold/SKILL.md +89 -0
- package/schema/catalog-v1.json +187 -0
- package/schema/library.json +196 -0
- package/schema/marketplace-manifest.json +144 -0
- package/schema/plugin-manifest.json +59 -0
- package/schema/skill-frontmatter.json +170 -0
- package/schema/skill-metadata-core.json +131 -0
- package/skills/agent-assets-migrate/SKILL.md +96 -0
- package/skills/headless-agents-ci-scaffold/SKILL.md +101 -0
- package/skills/marketplace-plugin-scaffold/SKILL.md +87 -0
- package/skills/package-skill-catalog/SKILL.md +51 -15
- package/skills/pmcp-browser/SKILL.md +27 -0
- package/skills/pmcp-desktop/SKILL.md +25 -0
- package/skills/pmcp-project-init/SKILL.md +153 -0
- package/skills/pmcp-sessions-and-git/SKILL.md +96 -0
- package/skills/skill-package-scaffold/SKILL.md +89 -0
- package/dist/config-BkSpjUG6.d.ts +0 -50
- package/dist/embed-DRROSD3F.d.ts +0 -53
- package/dist/hook-spec-CSJJySsH.d.ts +0 -11
- package/dist/server-VWSY3Shw.d.ts +0 -543
- package/dist/tui-worker.js +0 -6549
- package/docs/manual-library-skills.md +0 -74
- /package/dist/{tui-worker.d.ts → hook.d.ts} +0 -0
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
{
|
|
2
|
+
"runtime": "claude",
|
|
3
|
+
"version": "2.1.303",
|
|
4
|
+
"measuredAt": "2026-10-19T11:00:00Z",
|
|
5
|
+
"events": {
|
|
6
|
+
"session_start": {
|
|
7
|
+
"native": "SessionStart",
|
|
8
|
+
"fires": true,
|
|
9
|
+
"fields": [
|
|
10
|
+
"session_id",
|
|
11
|
+
"transcript_path",
|
|
12
|
+
"cwd",
|
|
13
|
+
"hook_event_name",
|
|
14
|
+
"source"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"prompt": {
|
|
18
|
+
"native": "UserPromptSubmit",
|
|
19
|
+
"fires": true,
|
|
20
|
+
"fields": [
|
|
21
|
+
"session_id",
|
|
22
|
+
"transcript_path",
|
|
23
|
+
"cwd",
|
|
24
|
+
"prompt_id",
|
|
25
|
+
"permission_mode",
|
|
26
|
+
"hook_event_name",
|
|
27
|
+
"prompt"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"before_tool": {
|
|
31
|
+
"native": "PreToolUse",
|
|
32
|
+
"fires": true,
|
|
33
|
+
"fields": [
|
|
34
|
+
"session_id",
|
|
35
|
+
"transcript_path",
|
|
36
|
+
"cwd",
|
|
37
|
+
"prompt_id",
|
|
38
|
+
"permission_mode",
|
|
39
|
+
"effort",
|
|
40
|
+
"hook_event_name",
|
|
41
|
+
"tool_name",
|
|
42
|
+
"tool_input",
|
|
43
|
+
"tool_use_id"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"after_tool": {
|
|
47
|
+
"native": "PostToolUse",
|
|
48
|
+
"fires": true,
|
|
49
|
+
"fields": [
|
|
50
|
+
"session_id",
|
|
51
|
+
"transcript_path",
|
|
52
|
+
"cwd",
|
|
53
|
+
"prompt_id",
|
|
54
|
+
"permission_mode",
|
|
55
|
+
"effort",
|
|
56
|
+
"hook_event_name",
|
|
57
|
+
"tool_name",
|
|
58
|
+
"tool_input",
|
|
59
|
+
"tool_response",
|
|
60
|
+
"tool_use_id",
|
|
61
|
+
"duration_ms"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"stop": {
|
|
65
|
+
"native": "Stop",
|
|
66
|
+
"fires": true,
|
|
67
|
+
"fields": [
|
|
68
|
+
"session_id",
|
|
69
|
+
"transcript_path",
|
|
70
|
+
"cwd",
|
|
71
|
+
"prompt_id",
|
|
72
|
+
"permission_mode",
|
|
73
|
+
"effort",
|
|
74
|
+
"hook_event_name",
|
|
75
|
+
"stop_hook_active",
|
|
76
|
+
"last_assistant_message",
|
|
77
|
+
"background_tasks",
|
|
78
|
+
"session_crons"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
"session_end": {
|
|
82
|
+
"native": "SessionEnd",
|
|
83
|
+
"fires": true,
|
|
84
|
+
"fields": [
|
|
85
|
+
"session_id",
|
|
86
|
+
"transcript_path",
|
|
87
|
+
"cwd",
|
|
88
|
+
"prompt_id",
|
|
89
|
+
"hook_event_name",
|
|
90
|
+
"reason"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"notification": {
|
|
94
|
+
"native": "Notification",
|
|
95
|
+
"fires": "not in print mode; interactive only"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"tools": {
|
|
99
|
+
"shell": {
|
|
100
|
+
"tool_name": "Bash",
|
|
101
|
+
"input": "tool_input.command, tool_input.description"
|
|
102
|
+
},
|
|
103
|
+
"edit": {
|
|
104
|
+
"tool_name": "Write | Edit | MultiEdit | NotebookEdit",
|
|
105
|
+
"input": "tool_input.file_path (notebook_path for NotebookEdit)"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"outputs": {
|
|
109
|
+
"deny": {
|
|
110
|
+
"event": "before_tool",
|
|
111
|
+
"support": "measured",
|
|
112
|
+
"shape": "hookSpecificOutput.permissionDecision = deny + permissionDecisionReason; the reason reaches the model"
|
|
113
|
+
},
|
|
114
|
+
"context": {
|
|
115
|
+
"support": "measured",
|
|
116
|
+
"delivered": [
|
|
117
|
+
"session_start",
|
|
118
|
+
"prompt",
|
|
119
|
+
"before_tool",
|
|
120
|
+
"after_tool",
|
|
121
|
+
"stop"
|
|
122
|
+
],
|
|
123
|
+
"shape": "hookSpecificOutput.additionalContext; transcript attachment hook_additional_context and the next API request"
|
|
124
|
+
},
|
|
125
|
+
"stop_context": {
|
|
126
|
+
"support": "measured",
|
|
127
|
+
"notes": "additionalContext on Stop continues the conversation: one probe turn produced 9 Stop events. Policies may return Stop context only when stop_hook_active is false, at most once per turn."
|
|
128
|
+
},
|
|
129
|
+
"session_end_output": {
|
|
130
|
+
"support": "unsupported",
|
|
131
|
+
"notes": "SessionEnd context is not delivered (session is over); bookkeeping only"
|
|
132
|
+
},
|
|
133
|
+
"ask": {
|
|
134
|
+
"support": "documented",
|
|
135
|
+
"notes": "permissionDecision ask; not exercised in print mode"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"live": {
|
|
139
|
+
"version": "2.1.303",
|
|
140
|
+
"measuredAt": "2026-10-19T12:41:41.484Z",
|
|
141
|
+
"implementationCommits": ["880aa32"],
|
|
142
|
+
"deny": {
|
|
143
|
+
"support": "measured",
|
|
144
|
+
"scenarios": [
|
|
145
|
+
"claude-heredoc-1cedfb4f",
|
|
146
|
+
"claude-stage-all-87e8f03d",
|
|
147
|
+
"claude-pause-24e9c866",
|
|
148
|
+
"claude-lease-6d0384ea"
|
|
149
|
+
]
|
|
150
|
+
},
|
|
151
|
+
"context": {
|
|
152
|
+
"support": "measured",
|
|
153
|
+
"delivered": {
|
|
154
|
+
"session_start": "claude-context-start-b1fb6ab1",
|
|
155
|
+
"prompt": "claude-context-prompt-16900ce9",
|
|
156
|
+
"before_tool": "claude-context-before-2b98be30"
|
|
157
|
+
},
|
|
158
|
+
"notes": "after_tool and stop context stay measured by the earlier probe; the live extension did not exercise them. The start and broadcast markers also reached a separate interactive Claude session through its hooks (reported by the person at that session)."
|
|
159
|
+
},
|
|
160
|
+
"stop": {
|
|
161
|
+
"support": "measured",
|
|
162
|
+
"notes": "Stop fires in live sessions; the live extension claims no Stop context, so the once-per-turn stop_context rule above stands"
|
|
163
|
+
},
|
|
164
|
+
"session_end_timeout": {
|
|
165
|
+
"support": "unqualified",
|
|
166
|
+
"notes": "no clamp observed; pmcp keeps the compiled timeout"
|
|
167
|
+
},
|
|
168
|
+
"ask": {
|
|
169
|
+
"support": "unqualified",
|
|
170
|
+
"notes": "interactive ask not exercised"
|
|
171
|
+
},
|
|
172
|
+
"scenarios": {
|
|
173
|
+
"passed": 13,
|
|
174
|
+
"failed": 0
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"fields_absent": ["turn_id (Claude uses prompt_id)"],
|
|
178
|
+
"trust": "none for project settings hooks in print mode"
|
|
179
|
+
}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
{
|
|
2
|
+
"runtime": "codex",
|
|
3
|
+
"version": "0.163.0",
|
|
4
|
+
"measuredAt": "2026-10-19T10:54:00Z",
|
|
5
|
+
"events": {
|
|
6
|
+
"session_start": {
|
|
7
|
+
"native": "SessionStart",
|
|
8
|
+
"fires": true,
|
|
9
|
+
"fields": [
|
|
10
|
+
"session_id",
|
|
11
|
+
"transcript_path",
|
|
12
|
+
"cwd",
|
|
13
|
+
"hook_event_name",
|
|
14
|
+
"model",
|
|
15
|
+
"permission_mode",
|
|
16
|
+
"source"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"prompt": {
|
|
20
|
+
"native": "UserPromptSubmit",
|
|
21
|
+
"fires": true,
|
|
22
|
+
"fields": [
|
|
23
|
+
"session_id",
|
|
24
|
+
"turn_id",
|
|
25
|
+
"transcript_path",
|
|
26
|
+
"cwd",
|
|
27
|
+
"hook_event_name",
|
|
28
|
+
"model",
|
|
29
|
+
"permission_mode",
|
|
30
|
+
"prompt"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"before_tool": {
|
|
34
|
+
"native": "PreToolUse",
|
|
35
|
+
"fires": true,
|
|
36
|
+
"fields": [
|
|
37
|
+
"session_id",
|
|
38
|
+
"turn_id",
|
|
39
|
+
"transcript_path",
|
|
40
|
+
"cwd",
|
|
41
|
+
"hook_event_name",
|
|
42
|
+
"model",
|
|
43
|
+
"permission_mode",
|
|
44
|
+
"tool_name",
|
|
45
|
+
"tool_input",
|
|
46
|
+
"tool_use_id"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"after_tool": {
|
|
50
|
+
"native": "PostToolUse",
|
|
51
|
+
"fires": true,
|
|
52
|
+
"fields": [
|
|
53
|
+
"session_id",
|
|
54
|
+
"turn_id",
|
|
55
|
+
"transcript_path",
|
|
56
|
+
"cwd",
|
|
57
|
+
"hook_event_name",
|
|
58
|
+
"model",
|
|
59
|
+
"permission_mode",
|
|
60
|
+
"tool_name",
|
|
61
|
+
"tool_input",
|
|
62
|
+
"tool_response",
|
|
63
|
+
"tool_use_id"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"stop": {
|
|
67
|
+
"native": "Stop",
|
|
68
|
+
"fires": true,
|
|
69
|
+
"fields": [
|
|
70
|
+
"session_id",
|
|
71
|
+
"turn_id",
|
|
72
|
+
"transcript_path",
|
|
73
|
+
"cwd",
|
|
74
|
+
"hook_event_name",
|
|
75
|
+
"model",
|
|
76
|
+
"permission_mode",
|
|
77
|
+
"stop_hook_active",
|
|
78
|
+
"last_assistant_message"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
"session_end": {
|
|
82
|
+
"native": "SessionEnd",
|
|
83
|
+
"fires": true,
|
|
84
|
+
"fields": [
|
|
85
|
+
"session_id",
|
|
86
|
+
"transcript_path",
|
|
87
|
+
"cwd",
|
|
88
|
+
"hook_event_name",
|
|
89
|
+
"reason"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"notification": {
|
|
93
|
+
"native": null,
|
|
94
|
+
"fires": false
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"tools": {
|
|
98
|
+
"shell": {
|
|
99
|
+
"tool_name": "Bash",
|
|
100
|
+
"input": "tool_input.command (string)"
|
|
101
|
+
},
|
|
102
|
+
"edit": {
|
|
103
|
+
"tool_name": "apply_patch",
|
|
104
|
+
"input": "tool_input.command holds the patch; paths are absolute in '*** Add File:' / '*** Update File:' / '*** Delete File:' headers"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"outputs": {
|
|
108
|
+
"deny": {
|
|
109
|
+
"event": "before_tool",
|
|
110
|
+
"support": "measured",
|
|
111
|
+
"shape": "hookSpecificOutput.permissionDecision = deny + permissionDecisionReason; the reason reaches the model as the tool result"
|
|
112
|
+
},
|
|
113
|
+
"context": {
|
|
114
|
+
"support": "measured",
|
|
115
|
+
"delivered": ["session_start", "prompt", "before_tool", "after_tool"],
|
|
116
|
+
"shape": "hookSpecificOutput.additionalContext; lands in the transcript as a developer message",
|
|
117
|
+
"notes": "The model declines to quote developer messages, so delivery must be judged from the transcript"
|
|
118
|
+
},
|
|
119
|
+
"stop_output": {
|
|
120
|
+
"support": "unsupported_shape",
|
|
121
|
+
"notes": "hookSpecificOutput on Stop is rejected: 'hook returned invalid stop hook JSON output'. Stop must return {} or a decision object."
|
|
122
|
+
},
|
|
123
|
+
"ask": {
|
|
124
|
+
"support": "unqualified",
|
|
125
|
+
"notes": "not exercised; earlier research reports none"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"live": {
|
|
129
|
+
"version": "0.163.0",
|
|
130
|
+
"measuredAt": "2026-10-19T12:41:41.485Z",
|
|
131
|
+
"implementationCommits": ["880aa32", "d6d2cce"],
|
|
132
|
+
"deny": {
|
|
133
|
+
"support": "measured",
|
|
134
|
+
"scenarios": [
|
|
135
|
+
"codex-heredoc-a2bd46d6",
|
|
136
|
+
"codex-stage-all-9d40c45a",
|
|
137
|
+
"codex-pause-6cb11e0e",
|
|
138
|
+
"codex-lease-c22c12b4"
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
"context": {
|
|
142
|
+
"support": "measured",
|
|
143
|
+
"delivered": {
|
|
144
|
+
"session_start": "codex-context-start-e7a33f51",
|
|
145
|
+
"prompt": "codex-context-prompt-31d406cf",
|
|
146
|
+
"before_tool": "codex-context-before-05898b7b"
|
|
147
|
+
},
|
|
148
|
+
"notes": "after_tool context stays measured by the earlier probe; the live extension did not exercise it. A broadcast from a Codex session reached a live Claude session through its hooks (codex-broadcast-34d5291a)."
|
|
149
|
+
},
|
|
150
|
+
"stop": {
|
|
151
|
+
"support": "measured",
|
|
152
|
+
"notes": "Stop fires in live sessions; no Stop context is claimed, so the stop_output limitation above stands and Stop notices wait for the next prompt"
|
|
153
|
+
},
|
|
154
|
+
"session_end_timeout": {
|
|
155
|
+
"maxSec": 3,
|
|
156
|
+
"support": "measured",
|
|
157
|
+
"notes": "Codex clamps a SessionEnd hook timeout to 3 s; pmcp projects min(compiled, 3) since 880aa32"
|
|
158
|
+
},
|
|
159
|
+
"quoted_executable_filter": {
|
|
160
|
+
"support": "measured",
|
|
161
|
+
"scenarios": [
|
|
162
|
+
"codex-worktree-create-f94e412f",
|
|
163
|
+
"codex-worktree-create-9a8e193c"
|
|
164
|
+
],
|
|
165
|
+
"notes": "Codex's exec_command rejects a fully quoted executable form as arbitrary shell execution before spawning it; PreToolUse fires and allows first, so no hook sees the rejection. The unquoted form runs. Not a pmcp defect."
|
|
166
|
+
},
|
|
167
|
+
"ask": {
|
|
168
|
+
"support": "unqualified",
|
|
169
|
+
"notes": "interactive ask not exercised"
|
|
170
|
+
},
|
|
171
|
+
"scenarios": {
|
|
172
|
+
"passed": 13,
|
|
173
|
+
"failed": 1,
|
|
174
|
+
"failedCause": "quoted_executable_filter"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"fields_absent": ["agent_type"],
|
|
178
|
+
"trust": "hash_review: changed hooks.json shows 'Hooks need review'; untrusted hooks do not run"
|
|
179
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
{
|
|
2
|
+
"runtime": "gemini",
|
|
3
|
+
"version": "0.63.0",
|
|
4
|
+
"measuredAt": "2026-10-20T01:00:00Z",
|
|
5
|
+
"configuration": {
|
|
6
|
+
"hooks": "hooks object in .gemini/settings.json (project), ~/.gemini/settings.json (user), system settings and extensions; per event: [{matcher, sequential, hooks:[{type: command, command, name, timeout, description}]}]",
|
|
7
|
+
"trust": "measured: without trust, gemini -p exits 55 ('Gemini CLI is not running in a trusted directory ... --skip-trust, GEMINI_CLI_TRUST_WORKSPACE=true, or trust this directory in interactive mode'); an untrusted folder also ignores .gemini/settings.json and .env. With per-run trust, stderr warns 'The following project-level hooks have been detected in this workspace' and the hooks run.",
|
|
8
|
+
"trusted_hooks_write": "measured: the first run wrote ~/.gemini/trusted_hooks.json (397 -> 2968 bytes): 22 hook identities (name + command) under the project path. ~/.gemini/trustedFolders.json unchanged (no persistent folder trust).",
|
|
9
|
+
"auth_note": "measured: Vertex AI needs GOOGLE_CLOUD_PROJECT and GOOGLE_CLOUD_LOCATION; ~/.gemini/.env holds them but is not read in an untrusted folder (exit 41 before the trust check). Exported per run; values not printed.",
|
|
10
|
+
"headless": "gemini -p '<prompt>' --output-format json -> {session_id, response, stats}; --allowed-tools must be one flag per tool with = (a bare second value is read as a positional prompt)",
|
|
11
|
+
"mcp": "documented: mcpServers in .gemini/settings.json (project, trusted folders only) or user settings; tools named mcp_<server>_<tool>. Not exercised."
|
|
12
|
+
},
|
|
13
|
+
"events": {
|
|
14
|
+
"session_start": {
|
|
15
|
+
"native": "SessionStart",
|
|
16
|
+
"fires": true,
|
|
17
|
+
"fields": [
|
|
18
|
+
"session_id",
|
|
19
|
+
"transcript_path",
|
|
20
|
+
"cwd",
|
|
21
|
+
"hook_event_name",
|
|
22
|
+
"timestamp",
|
|
23
|
+
"source"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"prompt": {
|
|
27
|
+
"native": "BeforeAgent",
|
|
28
|
+
"fires": true,
|
|
29
|
+
"fields": [
|
|
30
|
+
"session_id",
|
|
31
|
+
"transcript_path",
|
|
32
|
+
"cwd",
|
|
33
|
+
"hook_event_name",
|
|
34
|
+
"timestamp",
|
|
35
|
+
"prompt"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"before_tool": {
|
|
39
|
+
"native": "BeforeTool",
|
|
40
|
+
"fires": true,
|
|
41
|
+
"fields": [
|
|
42
|
+
"session_id",
|
|
43
|
+
"transcript_path",
|
|
44
|
+
"cwd",
|
|
45
|
+
"hook_event_name",
|
|
46
|
+
"timestamp",
|
|
47
|
+
"tool_name",
|
|
48
|
+
"tool_input"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"after_tool": {
|
|
52
|
+
"native": "AfterTool",
|
|
53
|
+
"fires": true,
|
|
54
|
+
"fields": [
|
|
55
|
+
"session_id",
|
|
56
|
+
"transcript_path",
|
|
57
|
+
"cwd",
|
|
58
|
+
"hook_event_name",
|
|
59
|
+
"timestamp",
|
|
60
|
+
"tool_name",
|
|
61
|
+
"tool_input",
|
|
62
|
+
"tool_response {llmContent, returnDisplay}"
|
|
63
|
+
],
|
|
64
|
+
"notes": "not for the denied call"
|
|
65
|
+
},
|
|
66
|
+
"stop": {
|
|
67
|
+
"native": "AfterAgent",
|
|
68
|
+
"fires": true,
|
|
69
|
+
"fields": [
|
|
70
|
+
"session_id",
|
|
71
|
+
"transcript_path",
|
|
72
|
+
"cwd",
|
|
73
|
+
"hook_event_name",
|
|
74
|
+
"timestamp",
|
|
75
|
+
"prompt",
|
|
76
|
+
"prompt_response",
|
|
77
|
+
"stop_hook_active"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"session_end": {
|
|
81
|
+
"native": "SessionEnd",
|
|
82
|
+
"fires": true,
|
|
83
|
+
"fields": [
|
|
84
|
+
"session_id",
|
|
85
|
+
"transcript_path",
|
|
86
|
+
"cwd",
|
|
87
|
+
"hook_event_name",
|
|
88
|
+
"timestamp",
|
|
89
|
+
"reason"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"model": {
|
|
93
|
+
"native": "BeforeModel (4), AfterModel (25, per streamed chunk), BeforeToolSelection (4)",
|
|
94
|
+
"fires": true
|
|
95
|
+
},
|
|
96
|
+
"compress": {
|
|
97
|
+
"native": "PreCompress",
|
|
98
|
+
"fires": true,
|
|
99
|
+
"notes": "4 times with trigger auto in a short run"
|
|
100
|
+
},
|
|
101
|
+
"notification": {
|
|
102
|
+
"native": "Notification",
|
|
103
|
+
"fires": "not in this run (no permission prompt in headless mode)"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"tools": {
|
|
107
|
+
"shell": {
|
|
108
|
+
"tool_name": "run_shell_command",
|
|
109
|
+
"input": "tool_input.command, tool_input.description"
|
|
110
|
+
},
|
|
111
|
+
"edit": {
|
|
112
|
+
"tool_name": "write_file (also replace, documented)",
|
|
113
|
+
"input": "tool_input.file_path (relative to cwd here), tool_input.content"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"outputs": {
|
|
117
|
+
"deny": {
|
|
118
|
+
"event": "before_tool",
|
|
119
|
+
"support": "measured",
|
|
120
|
+
"shape": "top-level {decision: deny, reason}; the tool result reads 'Tool execution blocked: <reason>' and the model reports it"
|
|
121
|
+
},
|
|
122
|
+
"context": {
|
|
123
|
+
"support": "measured",
|
|
124
|
+
"delivered": ["session_start", "prompt", "after_tool"],
|
|
125
|
+
"not_delivered": ["before_tool additionalContext"],
|
|
126
|
+
"shape": "hookSpecificOutput.additionalContext; transcript user content wrapped in <hook_context>...</hook_context>",
|
|
127
|
+
"native_delivered": [
|
|
128
|
+
"session_start",
|
|
129
|
+
"prompt (BeforeAgent)",
|
|
130
|
+
"after_tool"
|
|
131
|
+
],
|
|
132
|
+
"deferred": {
|
|
133
|
+
"before_tool": "after_tool; V2 gemini-context-before-619fdd0c"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"stop_context": {
|
|
137
|
+
"support": "documented",
|
|
138
|
+
"notes": "AfterAgent decision deny forces a retry with reason as the new prompt; stop_hook_active marks it. Not exercised (the probe does not deny AfterAgent)."
|
|
139
|
+
},
|
|
140
|
+
"rewrite": {
|
|
141
|
+
"support": "documented",
|
|
142
|
+
"notes": "BeforeTool hookSpecificOutput.tool_input merges into the arguments"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"fields_absent": ["turn_id / prompt_id", "agent_type"],
|
|
146
|
+
"timeouts": "per hook in milliseconds, default 60000",
|
|
147
|
+
"trust": "folder trust required for project settings (and so project hooks) in headless mode; new project hook identities warned about and recorded in ~/.gemini/trusted_hooks.json",
|
|
148
|
+
"live": {
|
|
149
|
+
"version": "0.63.0",
|
|
150
|
+
"measuredAt": "2026-10-20T04:07:05.574Z",
|
|
151
|
+
"implementationCommits": ["cfcdf5a", "35f3c77"],
|
|
152
|
+
"deny": {
|
|
153
|
+
"support": "measured",
|
|
154
|
+
"scenarios": [
|
|
155
|
+
"gemini-heredoc-8623d8e2",
|
|
156
|
+
"gemini-stage-all-e4881b2f",
|
|
157
|
+
"gemini-pause-c9ad18d6",
|
|
158
|
+
"gemini-lease-73ef0b6a"
|
|
159
|
+
]
|
|
160
|
+
},
|
|
161
|
+
"context": {
|
|
162
|
+
"support": "measured",
|
|
163
|
+
"scenarios": {
|
|
164
|
+
"context-start": "gemini-context-start-5084022a",
|
|
165
|
+
"context-prompt": "gemini-context-prompt-6b8143f8",
|
|
166
|
+
"context-before": "gemini-context-before-619fdd0c",
|
|
167
|
+
"broadcast": "gemini-broadcast-dd1ccef0"
|
|
168
|
+
},
|
|
169
|
+
"notes": "pause, broadcast and shared_checkout notices reached the model; held context arrived at the next delivering event"
|
|
170
|
+
},
|
|
171
|
+
"workflow": {
|
|
172
|
+
"support": "measured",
|
|
173
|
+
"scenarios": [
|
|
174
|
+
"gemini-worktree-create-7e550fcb",
|
|
175
|
+
"gemini-worktree-sync-f2b22e6c",
|
|
176
|
+
"gemini-deliver-b0decc82",
|
|
177
|
+
"gemini-deliver-race-fcd98c2a",
|
|
178
|
+
"gemini-git-sync-28c4be9c"
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
"cost": [
|
|
182
|
+
{
|
|
183
|
+
"event": "before_tool",
|
|
184
|
+
"addedMs": 24.6
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"event": "prompt",
|
|
188
|
+
"addedMs": 25.3
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"scenarios": {
|
|
192
|
+
"passed": 13,
|
|
193
|
+
"failed": []
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|