mirror of
https://github.com/anthropics/claude-code.git
synced 2026-02-19 04:27:33 -08:00
Compare commits
2 Commits
v2.1.42
...
fix-sweep-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
33c8ce5f92 | ||
|
|
b374a30699 |
@@ -2,9 +2,11 @@
|
|||||||
|
|
||||||
## 2.1.42
|
## 2.1.42
|
||||||
|
|
||||||
|
- Improved startup performance by deferring Zod schema construction
|
||||||
|
- Improved prompt cache hit rates by moving date out of system prompt
|
||||||
|
- Added one-time Opus 4.6 effort callout for eligible users
|
||||||
- Fixed /resume showing interrupt messages as session titles
|
- Fixed /resume showing interrupt messages as session titles
|
||||||
- Fixed Opus 4.6 launch announcement showing for Bedrock/Vertex/Foundry users
|
- Fixed image dimension limit errors to suggest /compact
|
||||||
- Improved error message for many-image dimension limit errors with /compact suggestion
|
|
||||||
|
|
||||||
## 2.1.41
|
## 2.1.41
|
||||||
|
|
||||||
|
|||||||
@@ -115,6 +115,7 @@ async function closeExpired(owner: string, repo: string) {
|
|||||||
|
|
||||||
for (const issue of issues) {
|
for (const issue of issues) {
|
||||||
if (issue.pull_request) continue;
|
if (issue.pull_request) continue;
|
||||||
|
if (issue.locked) continue;
|
||||||
const base = `/repos/${owner}/${repo}/issues/${issue.number}`;
|
const base = `/repos/${owner}/${repo}/issues/${issue.number}`;
|
||||||
|
|
||||||
const events = await githubRequest<any[]>(`${base}/events?per_page=100`);
|
const events = await githubRequest<any[]>(`${base}/events?per_page=100`);
|
||||||
@@ -144,20 +145,14 @@ async function closeExpired(owner: string, repo: string) {
|
|||||||
|
|
||||||
// --
|
// --
|
||||||
|
|
||||||
async function main() {
|
const owner = process.env.GITHUB_REPOSITORY_OWNER;
|
||||||
const owner = process.env.GITHUB_REPOSITORY_OWNER;
|
const repo = process.env.GITHUB_REPOSITORY_NAME;
|
||||||
const repo = process.env.GITHUB_REPOSITORY_NAME;
|
if (!owner || !repo)
|
||||||
if (!owner || !repo)
|
throw new Error("GITHUB_REPOSITORY_OWNER and GITHUB_REPOSITORY_NAME required");
|
||||||
throw new Error("GITHUB_REPOSITORY_OWNER and GITHUB_REPOSITORY_NAME required");
|
|
||||||
|
|
||||||
if (DRY_RUN) console.log("DRY RUN — no changes will be made\n");
|
if (DRY_RUN) console.log("DRY RUN — no changes will be made\n");
|
||||||
|
|
||||||
const labeled = await markStale(owner, repo);
|
const labeled = await markStale(owner, repo);
|
||||||
const closed = await closeExpired(owner, repo);
|
const closed = await closeExpired(owner, repo);
|
||||||
|
|
||||||
console.log(`\nDone: ${labeled} ${DRY_RUN ? "would be labeled" : "labeled"} stale, ${closed} ${DRY_RUN ? "would be closed" : "closed"}`);
|
console.log(`\nDone: ${labeled} ${DRY_RUN ? "would be labeled" : "labeled"} stale, ${closed} ${DRY_RUN ? "would be closed" : "closed"}`);
|
||||||
}
|
|
||||||
|
|
||||||
main().catch(console.error);
|
|
||||||
|
|
||||||
export {};
|
|
||||||
|
|||||||
Reference in New Issue
Block a user