{"_id":"@anjieyang/autosde","_rev":"8-550ecfd4038bacb76c3bf63893e6c2e3","name":"@anjieyang/autosde","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"@anjieyang/autosde","version":"0.1.0","keywords":["ai","automation","claude","github","agent","codegen"],"author":{"name":"Anjie Yang"},"license":"MIT","_id":"@anjieyang/autosde@0.1.0","maintainers":[{"name":"anjieyang","email":"digmouse233@gmail.com"}],"homepage":"https://github.com/anjieyang/autosde","bugs":{"url":"https://github.com/anjieyang/autosde/issues"},"bin":{"autosde":"loop.sh"},"dist":{"shasum":"afcd31cb846a8f19c60adef060f6619cf494f410","tarball":"https://registry.npmjs.org/@anjieyang/autosde/-/autosde-0.1.0.tgz","fileCount":4,"integrity":"sha512-3CUkSJx50zfc8a0Gi3+Vhs+Gp6KaUcZ+TWdujSHuA3EwRkNhnb2pKs1niKWJfNZmwkH5IXQbLhJa8bUUUZqRxQ==","signatures":[{"sig":"MEQCIBKrz2KHNF/NJT3EM23DbTSJNnQ2tDOXIUPsykwPqBEjAiAYsuUob4ANj8GIW4WWvdd6QjH6OsdGnDIQIUjA0mqSmA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45566},"gitHead":"9fa15f946dc51f0cd30364a24a968d5a3676b2fc","_npmUser":{"name":"anjieyang","email":"digmouse233@gmail.com"},"repository":{"url":"git+https://github.com/anjieyang/autosde.git","type":"git"},"_npmVersion":"10.9.4","description":"Label an issue, go to sleep, wake up to a PR.","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/autosde_0.1.0_1775145609895_0.1477070552845312","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@anjieyang/autosde","version":"0.1.1","keywords":["ai","automation","claude","github","agent","codegen"],"author":{"name":"Anjie Yang"},"license":"MIT","_id":"@anjieyang/autosde@0.1.1","maintainers":[{"name":"anjieyang","email":"digmouse233@gmail.com"}],"homepage":"https://github.com/anjieyang/autosde","bugs":{"url":"https://github.com/anjieyang/autosde/issues"},"bin":{"autosde":"loop.sh"},"dist":{"shasum":"29442e217e2187eb8c42182be65c38de38848be6","tarball":"https://registry.npmjs.org/@anjieyang/autosde/-/autosde-0.1.1.tgz","fileCount":4,"integrity":"sha512-GIs977UmlRPrseYSMVMZNTRiBlL5o1fCS+25MtMFyv/XgPZXwTrp3joH8Ge75GpIHL13Oqyd639f0KVhkHQxGA==","signatures":[{"sig":"MEYCIQChwcaD/W/P/Kow4pO1/BM2oTQjEy3q9iDmAdKvA5SXZwIhAMZFrv2nFmiY2QaODVePyt5fVQbDGDKNQ+8rvDM8Qzfy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46069},"gitHead":"fdb7b80192d13a9a7f4957b737391f5c2003da46","_npmUser":{"name":"anjieyang","email":"digmouse233@gmail.com"},"repository":{"url":"git+https://github.com/anjieyang/autosde.git","type":"git"},"_npmVersion":"10.9.4","description":"Label an issue, go to sleep, wake up to a PR.","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/autosde_0.1.1_1775145951109_0.40137159052801064","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@anjieyang/autosde","version":"0.1.2","keywords":["ai","automation","claude","github","agent","codegen"],"author":{"name":"Anjie Yang"},"license":"MIT","_id":"@anjieyang/autosde@0.1.2","maintainers":[{"name":"anjieyang","email":"digmouse233@gmail.com"}],"homepage":"https://github.com/anjieyang/autosde","bugs":{"url":"https://github.com/anjieyang/autosde/issues"},"bin":{"autosde":"loop.sh"},"dist":{"shasum":"e2da13046212379968c773e9609e4442978d1d2e","tarball":"https://registry.npmjs.org/@anjieyang/autosde/-/autosde-0.1.2.tgz","fileCount":4,"integrity":"sha512-1XRJv69DMvmt/KSMEPzVu1K4Ly2eOJRZCMRlBPXBCr/LFyac8bOL5Kg19PQPTLz7f8tYDMd3Yiumv16wc6d3Ug==","signatures":[{"sig":"MEUCIDZ4ZLAE7PSQA8IsbRFysUwt5e06WzSk+5mgX7/k4bTEAiEAyMXaO/T56JvZnKrWIxfPe4k9DcKAKYKbuoku1+PKHG4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46882},"gitHead":"f0ff6646dce9071ec458f586a7c432c186232336","_npmUser":{"name":"anjieyang","email":"digmouse233@gmail.com"},"repository":{"url":"git+https://github.com/anjieyang/autosde.git","type":"git"},"_npmVersion":"10.9.4","description":"Label an issue, go to sleep, wake up to a PR.","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/autosde_0.1.2_1775146119820_0.20313879045123828","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@anjieyang/autosde","version":"0.1.3","keywords":["ai","automation","claude","github","agent","codegen"],"author":{"name":"Anjie Yang"},"license":"MIT","_id":"@anjieyang/autosde@0.1.3","maintainers":[{"name":"anjieyang","email":"digmouse233@gmail.com"}],"homepage":"https://github.com/anjieyang/autosde","bugs":{"url":"https://github.com/anjieyang/autosde/issues"},"bin":{"autosde":"loop.sh"},"dist":{"shasum":"d1608d0d6e4d31bff366597d094d95ee9dc43f24","tarball":"https://registry.npmjs.org/@anjieyang/autosde/-/autosde-0.1.3.tgz","fileCount":4,"integrity":"sha512-rIsVJSEDIHcszlPI52NypLvi8bfQKPhGmH8KNxMpE5khksdOnISaWJCbu5qiJUEY54v8KXO6ufUn4duqsnp51A==","signatures":[{"sig":"MEUCIQCoyuC2bIYFjIO16FHEzoTrqyuJv2xtdu6mx8yPlVaPHQIgZgZcL+XOu121obC7ae2gWS1P9CmpJAdER5+TFMWWiGs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46895},"gitHead":"b8d15a646c8185ae869c37e9c735061148a3f10e","_npmUser":{"name":"anjieyang","email":"digmouse233@gmail.com"},"repository":{"url":"git+https://github.com/anjieyang/autosde.git","type":"git"},"_npmVersion":"10.9.4","description":"Label an issue, go to sleep, wake up to a PR.","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/autosde_0.1.3_1775146833158_0.8088151150040299","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@anjieyang/autosde","version":"0.1.4","keywords":["ai","automation","claude","github","agent","codegen"],"author":{"name":"Anjie Yang"},"license":"MIT","_id":"@anjieyang/autosde@0.1.4","maintainers":[{"name":"anjieyang","email":"digmouse233@gmail.com"}],"homepage":"https://github.com/anjieyang/autosde","bugs":{"url":"https://github.com/anjieyang/autosde/issues"},"bin":{"autosde":"loop.sh"},"dist":{"shasum":"23104908d3ad52690a4812b8829e223035773d7c","tarball":"https://registry.npmjs.org/@anjieyang/autosde/-/autosde-0.1.4.tgz","fileCount":4,"integrity":"sha512-UJCW6avsQOCyo3DCm0/3D84C4CyrRMI1yPvuo0HAAZWla3QG+VM9ueeWmKD77LUC1P3kICztMRogZ7U+dINwyA==","signatures":[{"sig":"MEYCIQDgZa2lcNsMM54nWoDa+JUhRWFF7e/DWp1hZzqzLkgOzAIhAI4uxacIGU/EosJgV8EG95HMTGTBzKQSS+UT1iUDJ1Cq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46901},"gitHead":"6a22deaa0eb2e37275f0666e690aa61ce4e667d2","_npmUser":{"name":"anjieyang","email":"digmouse233@gmail.com"},"repository":{"url":"git+https://github.com/anjieyang/autosde.git","type":"git"},"_npmVersion":"10.9.4","description":"Label an issue, go to sleep, wake up to a PR.","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/autosde_0.1.4_1775147409269_0.9191246569116815","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@anjieyang/autosde","version":"0.1.5","keywords":["ai","automation","claude","github","agent","codegen"],"author":{"name":"Anjie Yang"},"license":"MIT","_id":"@anjieyang/autosde@0.1.5","maintainers":[{"name":"anjieyang","email":"digmouse233@gmail.com"}],"homepage":"https://github.com/anjieyang/autosde","bugs":{"url":"https://github.com/anjieyang/autosde/issues"},"bin":{"autosde":"loop.sh"},"dist":{"shasum":"4bd5acac7f940d0c49a0f9c704aeffc79b3706ba","tarball":"https://registry.npmjs.org/@anjieyang/autosde/-/autosde-0.1.5.tgz","fileCount":4,"integrity":"sha512-OvRCAlgZWcAzCKBSsb3Sc5MxHCjnZnso+hbXtOlZRsblEAKHX6jCImzQsHNP7R53ZYfSfyx6Medn70ZTVPUKtg==","signatures":[{"sig":"MEYCIQDWMWlMePsceAPFIwVKG3p9ken7OT+ZoD9XkOm1hFCDpgIhAMvQBnsF5eDnlltE7enGMMO6m108KRpo774Mqp2kyhxU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46906},"gitHead":"5b47b8d1950dd7399adf265a6c9aefe62e2d8c1b","_npmUser":{"name":"anjieyang","email":"digmouse233@gmail.com"},"repository":{"url":"git+https://github.com/anjieyang/autosde.git","type":"git"},"_npmVersion":"10.9.4","description":"Label an issue, go to sleep, wake up to a PR.","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/autosde_0.1.5_1775147537135_0.14065252943989348","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@anjieyang/autosde","version":"0.2.0","keywords":["ai","automation","claude","github","agent","codegen"],"author":{"name":"Anjie Yang"},"license":"MIT","_id":"@anjieyang/autosde@0.2.0","maintainers":[{"name":"anjieyang","email":"digmouse233@gmail.com"}],"homepage":"https://github.com/anjieyang/autosde","bugs":{"url":"https://github.com/anjieyang/autosde/issues"},"bin":{"autosde":"dist/cli.js"},"dist":{"shasum":"a56d4ed503b43c3ce5cbc6c037dda785d9f8a5b0","tarball":"https://registry.npmjs.org/@anjieyang/autosde/-/autosde-0.2.0.tgz","fileCount":4,"integrity":"sha512-vNcMnnASHcmyUapWJcRxMyKadumyXSW5vw0DvL5JzKTlknJS+eARfhnC+0incS8gc+xXPR8IQzVqQcDOGYwh6Q==","signatures":[{"sig":"MEUCIQCYrAt7szNsdWpOCznsCrSj9wHpbgQ4o7RNuR6E73Z1cAIgaXJSQcOmB6PlLnFZrjeHjJzc/TCFclzZRhnJWm36RFY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39508},"gitHead":"fc226dd259a3c0c17154db3c01108212081ff3e8","scripts":{"build":"tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"anjieyang","email":"digmouse233@gmail.com"},"repository":{"url":"git+https://github.com/anjieyang/autosde.git","type":"git"},"_npmVersion":"10.9.4","description":"Label an issue, go to sleep, wake up to a PR.","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/autosde_0.2.0_1775149489170_0.7517974114244532","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@anjieyang/autosde","version":"0.2.1","description":"Label an issue, go to sleep, wake up to a PR.","bin":{"autosde":"dist/cli.js"},"scripts":{"build":"tsup","prepublishOnly":"npm run build"},"devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0"},"repository":{"type":"git","url":"git+https://github.com/anjieyang/autosde.git"},"keywords":["ai","automation","claude","github","agent","codegen"],"author":{"name":"Anjie Yang"},"license":"MIT","bugs":{"url":"https://github.com/anjieyang/autosde/issues"},"homepage":"https://github.com/anjieyang/autosde","_id":"@anjieyang/autosde@0.2.1","gitHead":"6553b870d75d79596641d75550a8aeb77e6931ba","_nodeVersion":"22.22.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-dKN+Lu4y3RZvLlF3K5m4PZz+QrjUxFWnfN//HS09MVMFWubiB32/43GQTXcVFraoOUbwlvvYy9hR4QGKh6607Q==","shasum":"eac5a4ebeb305ea7a7b5559ec262154631a9cebf","tarball":"https://registry.npmjs.org/@anjieyang/autosde/-/autosde-0.2.1.tgz","fileCount":4,"unpackedSize":39179,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIA0F27fqX2OnvxVPKrj81HVcTzALhrGLr+1m4KmvH/8IAiEAslCaXT/Dq16qd9phErePi84QgTP8eUM1ZG3Eqccu1CE="}]},"_npmUser":{"name":"anjieyang","email":"digmouse233@gmail.com"},"directories":{},"maintainers":[{"name":"anjieyang","email":"digmouse233@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/autosde_0.2.1_1775150461525_0.701019978190643"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-02T16:00:09.796Z","modified":"2026-04-02T17:21:01.782Z","0.1.0":"2026-04-02T16:00:10.042Z","0.1.1":"2026-04-02T16:05:51.241Z","0.1.2":"2026-04-02T16:08:39.964Z","0.1.3":"2026-04-02T16:20:33.311Z","0.1.4":"2026-04-02T16:30:09.413Z","0.1.5":"2026-04-02T16:32:17.277Z","0.2.0":"2026-04-02T17:04:49.347Z","0.2.1":"2026-04-02T17:21:01.667Z"},"bugs":{"url":"https://github.com/anjieyang/autosde/issues"},"author":{"name":"Anjie Yang"},"license":"MIT","homepage":"https://github.com/anjieyang/autosde","keywords":["ai","automation","claude","github","agent","codegen"],"repository":{"type":"git","url":"git+https://github.com/anjieyang/autosde.git"},"description":"Label an issue, go to sleep, wake up to a PR.","maintainers":[{"name":"anjieyang","email":"digmouse233@gmail.com"}],"readme":"# AutoSDE\n\nLabel an issue, go to sleep, wake up to a PR.\n\nAutoSDE is an always-on loop inspired by Karpathy's `autoresearch`: one prompt file defines agent behavior, one loop drives execution, CI is the ground truth, and Git is memory plus rollback.\n\n## Quick Start\n\n```bash\npip install autosde\ncd ~/my-project\nautosde\n```\n\nAutoSDE walks you through setup on first run — installing missing dependencies, detecting your GitHub remote, and picking a test command. Or pass arguments directly for headless use:\n\n```bash\nautosde --github owner/repo --verify \"pytest\"\n```\n\n## Prerequisites\n\n- Python 3.10+.\n- `claude` CLI installed and logged in.\n- `gh` CLI installed and logged in with access to the target repository.\n- A git repository with a working test or CI command.\n\nMissing `gh` or `claude`? AutoSDE offers to install them during interactive setup.\n\n## How It Works\n\n```text\nGitHub Issues (labeled \"agent\")\n     |\n     v\nautosde (picks task, creates branch)\n     |\n     v\nClaude Code (reads AGENT.md, implements solution)\n     |\n     v\nCI / test command (green/red)\n     |\n     +-- green -> PR created, awaits human review\n     |\n     +-- red   -> retry once, then discard + explain\n```\n\n## Configuration\n\n- `--repo PATH`: target repository path. Defaults to the current directory.\n- `--github OWNER/REPO`: GitHub repository. Detected interactively if omitted.\n- `--verify \"COMMAND\"`: verification command. If omitted, AutoSDE auto-detects one.\n- `--sleep SECONDS`: idle polling interval. Defaults to `900`.\n- `--claude-bin PATH`: Claude CLI binary. Defaults to `claude`.\n- `--gh-bin PATH`: GitHub CLI binary. Defaults to `gh`.\n- `--timeout SECONDS`: Claude execution timeout. Defaults to `600`.\n- Command-line flags override environment variables, and environment variables override defaults.\n\n## AGENT.md Customization\n\nOn first run, AutoSDE checks the target repo for `AGENT.md`. If it is missing, AutoSDE writes a default template and asks for confirmation before continuing.\n\nBefore leaving the loop unattended, review that file and tighten the `You CAN modify` scope line to match the real boundaries of your repo.\n\n## Notes\n\n- AutoSDE keeps `results.log` and per-task logs under `AUTOSDE_HOME`, which defaults to `${XDG_STATE_HOME:-$HOME/.local/state}/autosde`.\n- The target repo should be a dedicated clone. AutoSDE hard-resets it between tasks.\n","readmeFilename":"README.md"}