nex-code 0.4.23 → 0.4.25
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 +6 -4
- package/dist/nex-code.js +272 -271
- package/dist/skills/autoresearch.js +975 -0
- package/dist/skills/devops.md +43 -0
- package/dist/skills/session-search.js +180 -0
- package/dist/skills/skill-learning.js +304 -0
- package/dist/skills/skills/autoresearch.js +975 -0
- package/dist/skills/skills/devops.md +43 -0
- package/dist/skills/skills/session-search.js +180 -0
- package/dist/skills/skills/skill-learning.js +304 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -909,18 +909,20 @@ This enables non-linear conversations: try an approach, and if it doesn't work,
|
|
|
909
909
|
|
|
910
910
|
### Autoresearch
|
|
911
911
|
|
|
912
|
-
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:
|
|
913
913
|
|
|
914
914
|
```
|
|
915
915
|
/autoresearch reduce test runtime while maintaining correctness
|
|
916
916
|
/autoresearch optimize bundle size under 500kb
|
|
917
917
|
```
|
|
918
918
|
|
|
919
|
-
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.
|
|
920
920
|
|
|
921
921
|
```
|
|
922
|
-
/ar-
|
|
923
|
-
/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
|
|
924
926
|
```
|
|
925
927
|
|
|
926
928
|
### Memory
|