picocode 0.1.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/README.md +25 -0
- package/bin/pico +2 -0
- package/dist/pico.js +3121 -0
- package/package.json +41 -0
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# pico
|
|
2
|
+
|
|
3
|
+
A coding agent that runs in your terminal. Rendering is [@trendr/core](https://github.com/nvms/trendr), model access is [@prsm/ai](https://github.com/prsmjs/ai).
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
npm i -g picocode
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Requires node 24 or newer and ripgrep. Set at least one provider key in your environment: `GEMINI_API_KEY`, `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, or `XAI_API_KEY`. Models are offered based on which keys are present.
|
|
12
|
+
|
|
13
|
+
## Use
|
|
14
|
+
|
|
15
|
+
Run `pico` in a project directory. Type `/` to browse commands, or run `/help` for the full reference.
|
|
16
|
+
|
|
17
|
+
Sessions are stored under `~/.pico` as jsonl event logs and can be resumed, rewound, renamed, and colored. AGENTS.md files are read automatically from the working directory up to the git root, and lazily from subdirectories as the agent touches them. User-defined prompt templates live in `~/.pico/commands` and `.pico/commands`, skills in `~/.pico/skills` and `.pico/skills`.
|
|
18
|
+
|
|
19
|
+
## Develop
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
make help
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
`make deps-local` points the trend and prsm dependencies at sibling working trees if you have them checked out.
|
package/bin/pico
ADDED