@100xprompt/plugin 0.1.131 → 0.1.132

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +9 -1
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -182,9 +182,17 @@ export interface Hooks {
182
182
  * providing a `reason`, which is injected as a new user message before the
183
183
  * loop resumes. The host enforces a cap on consecutive forced continuations.
184
184
  */
185
- "session.stop"?: (input: {
185
+ "session.stop"?: (
186
+ /**
187
+ * `parentID` is set when the stopping session is a subagent (the hook then
188
+ * runs as SubagentStop); `lastAssistantMessage` is the text of the answer
189
+ * the session is about to end on.
190
+ */
191
+ input: {
186
192
  sessionID: string;
187
193
  agent: string;
194
+ parentID?: string;
195
+ lastAssistantMessage?: string;
188
196
  }, output: {
189
197
  continue: boolean;
190
198
  reason?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@100xprompt/plugin",
4
- "version": "0.1.131",
4
+ "version": "0.1.132",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE",
7
7
  "scripts": {
@@ -22,7 +22,7 @@
22
22
  "dist"
23
23
  ],
24
24
  "dependencies": {
25
- "@100xprompt/sdk": "0.1.131",
25
+ "@100xprompt/sdk": "0.1.132",
26
26
  "zod": "4.1.8"
27
27
  },
28
28
  "devDependencies": {