@sentry/junior 0.122.1 → 0.124.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 (78) hide show
  1. package/dist/{agent-hooks-65WXVKKX.js → agent-hooks-RPQRUAGN.js} +7 -7
  2. package/dist/api/conversations/detail.d.ts +55 -0
  3. package/dist/api/conversations/event-list.d.ts +55 -0
  4. package/dist/api/conversations/events.d.ts +1 -1
  5. package/dist/api/conversations/stats.d.ts +15 -0
  6. package/dist/api/schema/conversation.d.ts +260 -0
  7. package/dist/api/schema.d.ts +1 -1
  8. package/dist/api/schema.js +1 -1
  9. package/dist/api.js +137 -22
  10. package/dist/app.js +33 -20
  11. package/dist/{catalog-runtime-VNNMSKCB.js → catalog-runtime-QM2W6BBD.js} +5 -5
  12. package/dist/chat/agent/action-confirmation-retry.d.ts +6 -0
  13. package/dist/chat/agent/tools.d.ts +12 -0
  14. package/dist/chat/config.d.ts +1 -0
  15. package/dist/chat/conversations/history.d.ts +91 -1
  16. package/dist/chat/conversations/projection.d.ts +24 -0
  17. package/dist/chat/conversations/provenance.d.ts +2 -0
  18. package/dist/chat/conversations/structured-events.d.ts +31 -0
  19. package/dist/chat/mcp/tool-manager.d.ts +1 -1
  20. package/dist/chat/pi/client.d.ts +6 -0
  21. package/dist/chat/pi/sdk.d.ts +1 -1
  22. package/dist/chat/pi/transcript.d.ts +2 -0
  23. package/dist/chat/plugins/agent-hooks.d.ts +2 -0
  24. package/dist/chat/plugins/conversation-events.d.ts +15 -0
  25. package/dist/chat/services/guardian-action-policy.d.ts +12 -0
  26. package/dist/chat/services/guardian-action-review.d.ts +9 -0
  27. package/dist/chat/services/provider-error.d.ts +2 -0
  28. package/dist/chat/tool-support/action-review-evidence.d.ts +4 -0
  29. package/dist/chat/tool-support/action-review-history.d.ts +117 -0
  30. package/dist/chat/tool-support/action-review.d.ts +142 -0
  31. package/dist/chat/tool-support/pi-tool-adapter.d.ts +2 -1
  32. package/dist/chat/tool-support/skill/mcp-tool-summary.d.ts +1 -6
  33. package/dist/chat/tool-support/zod-tool.d.ts +1 -0
  34. package/dist/chat/tools/definition.d.ts +23 -1
  35. package/dist/chat/tools/query-conversation-events.d.ts +1 -1
  36. package/dist/chat/tools/search-tools.d.ts +0 -20
  37. package/dist/chat/tools/skill/search-mcp-tools.d.ts +0 -20
  38. package/dist/{chunk-73TQBD5S.js → chunk-4HQMMFRL.js} +1 -1
  39. package/dist/{chunk-3KYLHUVC.js → chunk-4OWSABFE.js} +1474 -593
  40. package/dist/{chunk-LZ4XXS76.js → chunk-7S36LUYT.js} +3 -2
  41. package/dist/{chunk-4ZV2GNHX.js → chunk-APPWCJVJ.js} +1 -1
  42. package/dist/{chunk-O2ULQJWR.js → chunk-AYQZCJZJ.js} +47 -1
  43. package/dist/{chunk-XBYNPBPQ.js → chunk-EKVBTUVM.js} +2 -2
  44. package/dist/{chunk-VLRECFIC.js → chunk-GBIFLB5Y.js} +57 -11
  45. package/dist/{chunk-MSDKKTRG.js → chunk-HOVHXQQE.js} +4 -4
  46. package/dist/{chunk-TI7SYDD4.js → chunk-IYUHOYFA.js} +68 -4
  47. package/dist/{chunk-HGREP4UX.js → chunk-MG3L3UGS.js} +1 -1
  48. package/dist/{chunk-GPQLJDT5.js → chunk-PBZEJRYY.js} +20 -20
  49. package/dist/{chunk-QE33ATQW.js → chunk-PGLSOXFU.js} +19 -11
  50. package/dist/{chunk-MU6HHZEN.js → chunk-PR3M62LK.js} +74 -0
  51. package/dist/{chunk-WFJ2EG4E.js → chunk-RW6MD6ZV.js} +1 -1
  52. package/dist/{chunk-IEE5CSAP.js → chunk-TFO4SDCQ.js} +1 -1
  53. package/dist/{chunk-PYS4QZAF.js → chunk-UZAOIEAR.js} +1 -1
  54. package/dist/{chunk-4JPJTFUH.js → chunk-VLAWZSCB.js} +9 -4
  55. package/dist/chunk-W4YS2LXS.js +55 -0
  56. package/dist/{chunk-U5PRRZMZ.js → chunk-WFIXN6UU.js} +7 -7
  57. package/dist/{chunk-BXT63TNS.js → chunk-WKLA6WLW.js} +77 -6
  58. package/dist/{chunk-M7KAZXTE.js → chunk-YYAQ5ZNK.js} +30 -2
  59. package/dist/{chunk-PXPBBOIU.js → chunk-ZV2K3WM4.js} +1 -1
  60. package/dist/cli/chat.js +22 -22
  61. package/dist/cli/check.js +6 -6
  62. package/dist/cli/init.js +2 -1
  63. package/dist/cli/plugins.js +10 -10
  64. package/dist/cli/snapshot-create.js +8 -8
  65. package/dist/cli/upgrade.js +5 -5
  66. package/dist/{db-36HXKAKH.js → db-2W4KOPLN.js} +5 -5
  67. package/dist/instrumentation.js +2 -2
  68. package/dist/nitro.js +2 -2
  69. package/dist/{oauth-callback-server-UKOO7KKP.js → oauth-callback-server-3TGRLQUD.js} +16 -15
  70. package/dist/{runner-M66KMCQ7.js → runner-NAVNNKQY.js} +11 -10
  71. package/dist/{skills-TTXTVFOG.js → skills-FIVS6EXW.js} +6 -6
  72. package/dist/{validation-TGASRGNN.js → validation-NX4DAKNV.js} +6 -6
  73. package/dist/version.js +1 -1
  74. package/migrations/0012_structured_conversation_events.sql +4 -0
  75. package/migrations/meta/0012_snapshot.json +1244 -0
  76. package/migrations/meta/_journal.json +7 -0
  77. package/package.json +7 -6
  78. package/dist/chat/tool-support/schema-summary.d.ts +0 -2
@@ -85,6 +85,13 @@
85
85
  "when": 1785271740428,
86
86
  "tag": "0011_sour_golden_guardian",
87
87
  "breakpoints": true
88
+ },
89
+ {
90
+ "idx": 12,
91
+ "version": "7",
92
+ "when": 1785454412461,
93
+ "tag": "0012_structured_conversation_events",
94
+ "breakpoints": true
88
95
  }
89
96
  ]
90
97
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior",
3
- "version": "0.122.1",
3
+ "version": "0.124.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -71,7 +71,7 @@
71
71
  "chat": "4.29.0",
72
72
  "commander": "^14.0.3",
73
73
  "drizzle-orm": "^0.45.2",
74
- "hono": "^4.12.22",
74
+ "hono": "^4.12.27",
75
75
  "jiti": "^2.7.0",
76
76
  "jose": "^6.2.3",
77
77
  "just-bash": "3.0.1",
@@ -79,7 +79,7 @@
79
79
  "pg": "^8.16.3",
80
80
  "yaml": "^2.9.0",
81
81
  "zod": "^4.4.3",
82
- "@sentry/junior-plugin-api": "0.122.1"
82
+ "@sentry/junior-plugin-api": "0.124.0"
83
83
  },
84
84
  "devDependencies": {
85
85
  "@emnapi/core": "^1.10.0",
@@ -96,10 +96,10 @@
96
96
  "typescript": "^6.0.3",
97
97
  "vercel": "^54.4.0",
98
98
  "vitest": "^4.1.7",
99
- "@sentry/junior-memory": "0.122.1",
100
- "@sentry/junior-scheduler": "0.122.1",
99
+ "@sentry/junior-memory": "0.124.0",
100
+ "@sentry/junior-github": "0.124.0",
101
101
  "@sentry/junior-testing": "0.0.0",
102
- "@sentry/junior-github": "0.122.1"
102
+ "@sentry/junior-scheduler": "0.124.0"
103
103
  },
104
104
  "scripts": {
105
105
  "build": "tsup && tsc -p tsconfig.build.json --emitDeclarationOnly",
@@ -110,6 +110,7 @@
110
110
  "test:watch": "vitest",
111
111
  "typecheck": "tsc --noEmit",
112
112
  "skills:check": "node --test scripts/check-skills.test.mjs && node scripts/check-skills.mjs",
113
+ "tool-annotations:check": "node --test scripts/check-tool-annotations.test.mjs && node scripts/check-tool-annotations.mjs",
113
114
  "test:coverage": "vitest run --maxWorkers=4 --coverage --reporter=default --reporter=junit --outputFile.junit=coverage/results.junit.xml"
114
115
  }
115
116
  }
@@ -1,2 +0,0 @@
1
- /** Summarize a tool input schema for quick catalog scanning. */
2
- export declare function summarizeInputSchema(schema: Record<string, unknown>): string;