@sentry/junior-plugin-api 0.231.0 → 0.233.0

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 +4 -5
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -6,11 +6,8 @@ import { Command } from 'commander';
6
6
  * Plugins select small facts from responses they already have. Each surface owns
7
7
  * its layout. Omit unknown facts; do not infer approval or passing checks.
8
8
  *
9
- * Code changes show branch, status, and a description preview.
10
- * Tasks show ownership and planning context.
11
- * Deployments show the target and revision. Automations show the trigger, state,
12
- * and warning; their existing detail view owns instructions and run history.
13
- * Other Items keep a title, source link, and optional status.
9
+ * These facts support both compact previews and full details. Each surface
10
+ * selects the fields it needs; preview rules must not remove saved facts.
14
11
  *
15
12
  * Keep raw responses, diffs, logs, credentials, and comments out of this schema.
16
13
  * See "Object facts" in packages/junior/src/chat/conversations/README.md.
@@ -1890,6 +1887,8 @@ interface AfterMcpToolHookContext extends PluginContext {
1890
1887
  conversationId?: string;
1891
1888
  annotations?: PluginAnnotations;
1892
1889
  result: {
1890
+ /** Provider content before model-facing truncation. */
1891
+ content?: PluginMcpContent[];
1893
1892
  structuredContent?: unknown;
1894
1893
  };
1895
1894
  tool: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-plugin-api",
3
- "version": "0.231.0",
3
+ "version": "0.233.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"