@sentry/junior-github 0.143.0 → 0.144.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.
- package/dist/index.js +8 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -137,12 +137,19 @@ async function removePartialClone(ctx, path) {
|
|
|
137
137
|
function createGitHubCloneRepositoryTool(ctx) {
|
|
138
138
|
return definePluginTool({
|
|
139
139
|
annotations: {
|
|
140
|
+
// Remote GitHub effect is contents-read only. Sandbox checkout creation is
|
|
141
|
+
// the same class of ephemeral local materialization as webFetch artifacts,
|
|
142
|
+
// so this stays a read-only inspection tool rather than a mutating write.
|
|
140
143
|
destructiveHint: false,
|
|
141
144
|
idempotentHint: false,
|
|
142
145
|
openWorldHint: true,
|
|
143
|
-
readOnlyHint:
|
|
146
|
+
readOnlyHint: true
|
|
144
147
|
},
|
|
145
148
|
description: "Clone a GitHub repository into the sandbox workspace. The destination must not already exist.",
|
|
149
|
+
describeProposal(input) {
|
|
150
|
+
const directory = typeof input.directory === "string" && input.directory.length > 0 ? input.directory : void 0;
|
|
151
|
+
return directory ? `Shallow-clone ${input.repo} into the local sandbox at ${directory} for inspection (no GitHub mutation).` : `Shallow-clone ${input.repo} into the local sandbox for inspection (no GitHub mutation).`;
|
|
152
|
+
},
|
|
146
153
|
executionMode: "sequential",
|
|
147
154
|
inputSchema,
|
|
148
155
|
outputSchema,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/junior-github",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.144.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@sinclair/typebox": "^0.34.49",
|
|
32
32
|
"drizzle-orm": "^0.45.2",
|
|
33
33
|
"zod": "^4.4.3",
|
|
34
|
-
"@sentry/junior-plugin-api": "0.
|
|
34
|
+
"@sentry/junior-plugin-api": "0.144.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/node": "^25.9.1",
|