nex-code 0.4.22 → 0.4.24
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/README.md +9 -5
- package/dist/nex-code.js +456 -431
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -38,7 +38,9 @@
|
|
|
38
38
|
|
|
39
39
|
## Demo
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
https://github.com/user-attachments/assets/68a6c134-2d13-4d66-bc5e-befea3acb794
|
|
42
44
|
|
|
43
45
|
---
|
|
44
46
|
|
|
@@ -907,18 +909,20 @@ This enables non-linear conversations: try an approach, and if it doesn't work,
|
|
|
907
909
|
|
|
908
910
|
### Autoresearch
|
|
909
911
|
|
|
910
|
-
Autonomous optimization loops inspired by Karpathy's autoresearch
|
|
912
|
+
Autonomous optimization loops inspired by [Karpathy's autoresearch](https://github.com/karpathy/autoresearch). The agent creates a dedicated experiment branch, edits code, runs experiments, and automatically keeps improvements or reverts failures:
|
|
911
913
|
|
|
912
914
|
```
|
|
913
915
|
/autoresearch reduce test runtime while maintaining correctness
|
|
914
916
|
/autoresearch optimize bundle size under 500kb
|
|
915
917
|
```
|
|
916
918
|
|
|
917
|
-
The agent follows a repeating cycle: **checkpoint**
|
|
919
|
+
The agent follows a repeating cycle on a dedicated `autoresearch/<tag>` branch: **setup branch** -> **checkpoint** -> **edit** -> **run experiment** -> **log result** -> **keep or revert (git reset)**. Runs indefinitely until you interrupt. Experiments are logged to `.nex/autoresearch/experiments.json` with metrics, resource usage, and complexity tracking. Output can be redirected to log files with metric extraction via grep patterns to protect context.
|
|
918
920
|
|
|
919
921
|
```
|
|
920
|
-
/ar-
|
|
921
|
-
/ar-
|
|
922
|
+
/ar-self-improve # self-improvement loop using nex-code's benchmark as metric
|
|
923
|
+
/ar-self-improve sysadmin # focus on a specific weak category
|
|
924
|
+
/ar-status # show experiment history with trends
|
|
925
|
+
/ar-clear # reset experiment history
|
|
922
926
|
```
|
|
923
927
|
|
|
924
928
|
### Memory
|