@sentry/junior 0.27.1 → 0.27.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/dist/app.js +5 -1
- package/package.json +1 -1
package/dist/app.js
CHANGED
|
@@ -3409,6 +3409,10 @@ function buildSystemPrompt(params) {
|
|
|
3409
3409
|
"- Use Slack-friendly markdown, not full CommonMark. Prefer bold section labels over markdown headings, and use bullets and short code blocks when helpful.",
|
|
3410
3410
|
"- Keep normal responses brief and scannable.",
|
|
3411
3411
|
"- If depth is needed, start with a concise summary and then provide fuller detail.",
|
|
3412
|
+
"- Prefer a single compact thread reply when the full answer comfortably fits within this inline budget.",
|
|
3413
|
+
"- When canvas creation is available and a research or document-style answer would likely need continuation, multiple sections, or future reference value, create a Slack canvas and keep the thread reply to a short summary plus the canvas link.",
|
|
3414
|
+
"- Typical canvas-first cases include long-form research summaries, timelines, bios or profiles, structured notes, plans, comparisons, and other reusable reference documents.",
|
|
3415
|
+
"- Do not create a canvas for short factual answers that fit cleanly in one normal thread reply.",
|
|
3412
3416
|
"- For tool-heavy research, discovery, or source-checking requests, do not send an initial acknowledgment. Start the visible reply only once you can present the actual answer.",
|
|
3413
3417
|
"- Do not narrate tool execution or repeated status updates in the visible reply.",
|
|
3414
3418
|
"- Avoid tables and markdown links like `[label](url)` unless explicitly requested. Prefer plain URLs or Slack-native entities when exact rendering matters.",
|
|
@@ -5665,7 +5669,7 @@ function mergeRecentCanvases(existing, created) {
|
|
|
5665
5669
|
}
|
|
5666
5670
|
function createSlackCanvasCreateTool(context, state) {
|
|
5667
5671
|
return tool({
|
|
5668
|
-
description: "Create a Slack canvas for long-form output in the active assistant context channel. Use when
|
|
5672
|
+
description: "Create a Slack canvas for long-form output in the active assistant context channel. Use when the answer is better as a reusable document than a thread reply: long-form research, timelines, bios/profiles, structured notes, plans, comparisons, or anything likely to exceed one compact Slack reply. After creating it, keep the thread reply brief and include the canvas link. Do not use for short answers that fit cleanly in one normal thread reply.",
|
|
5669
5673
|
inputSchema: Type11.Object({
|
|
5670
5674
|
title: Type11.String({
|
|
5671
5675
|
minLength: 1,
|