nanocode-cli 0.3.16__tar.gz → 0.3.20__tar.gz
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.
- {nanocode_cli-0.3.16/nanocode_cli.egg-info → nanocode_cli-0.3.20}/PKG-INFO +17 -8
- {nanocode_cli-0.3.16 → nanocode_cli-0.3.20}/README.md +16 -7
- {nanocode_cli-0.3.16 → nanocode_cli-0.3.20}/nanocode.py +1334 -287
- {nanocode_cli-0.3.16 → nanocode_cli-0.3.20/nanocode_cli.egg-info}/PKG-INFO +17 -8
- {nanocode_cli-0.3.16 → nanocode_cli-0.3.20}/pyproject.toml +1 -1
- {nanocode_cli-0.3.16 → nanocode_cli-0.3.20}/LICENSE +0 -0
- {nanocode_cli-0.3.16 → nanocode_cli-0.3.20}/MANIFEST.in +0 -0
- {nanocode_cli-0.3.16 → nanocode_cli-0.3.20}/nanocode_cli.egg-info/SOURCES.txt +0 -0
- {nanocode_cli-0.3.16 → nanocode_cli-0.3.20}/nanocode_cli.egg-info/dependency_links.txt +0 -0
- {nanocode_cli-0.3.16 → nanocode_cli-0.3.20}/nanocode_cli.egg-info/entry_points.txt +0 -0
- {nanocode_cli-0.3.16 → nanocode_cli-0.3.20}/nanocode_cli.egg-info/requires.txt +0 -0
- {nanocode_cli-0.3.16 → nanocode_cli-0.3.20}/nanocode_cli.egg-info/top_level.txt +0 -0
- {nanocode_cli-0.3.16 → nanocode_cli-0.3.20}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nanocode-cli
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.20
|
|
4
4
|
Summary: A lightweight terminal-based AI coding assistant
|
|
5
5
|
Author-email: hit9 <hit9@icloud.com>
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -34,6 +34,8 @@ A lightweight terminal-based AI coding assistant.
|
|
|
34
34
|
|
|
35
35
|
nanocode is used to help building itself, including features such as `@file` path completion.
|
|
36
36
|
|
|
37
|
+
Pre-1.0 note: nanocode is still evolving quickly. Functionality, commands, configuration, and behavior may change incompatibly before a 1.0 release.
|
|
38
|
+
|
|
37
39
|
## Screenshots
|
|
38
40
|
|
|
39
41
|
| | |
|
|
@@ -89,7 +91,8 @@ Ask a source-aware question about nanocode itself:
|
|
|
89
91
|
CLI arguments:
|
|
90
92
|
|
|
91
93
|
- `--yolo`: Skip tool execution confirmations.
|
|
92
|
-
- `--
|
|
94
|
+
- `--plan`: Plan changes without editing files or running commands.
|
|
95
|
+
- `--debug`: Write request prompts to the current session directory under `~/.nanocode/sessions/`.
|
|
93
96
|
- `--config <path>`: Path to config file (default: `~/.nanocode/config.toml`).
|
|
94
97
|
- `--init-config`: Create a default config file.
|
|
95
98
|
- `-v`, `--version`: Show program version.
|
|
@@ -112,18 +115,24 @@ USE AT YOUR OWN RISK.
|
|
|
112
115
|
## Commands
|
|
113
116
|
|
|
114
117
|
- Info: `/help [question]`, `/status`, `/rules`, `/knowledge [update]`, `/compact`.
|
|
115
|
-
- Config: `/config`, `/set <key> <value>`, `/model [model_name]`, `/provider [name]`, `/yolo`.
|
|
116
|
-
- Maintenance: `/clean
|
|
118
|
+
- Config: `/config`, `/set <key> <value>`, `/model [model_name]`, `/reason`, `/provider [name]`, `/plan [on|off|question]`, `/yolo`.
|
|
119
|
+
- Maintenance: `/clean`.
|
|
117
120
|
- Exit: `/exit`, `/quit`.
|
|
118
121
|
|
|
122
|
+
`/model` selects from the active provider's `available_models` when configured. `/model <model_name>` sets a model directly. Changing model also opens a reasoning effort selector: choose `off` to disable reasoning, or choose an effort to enable reasoning and set it. Use `/reason` to change reasoning without changing model.
|
|
123
|
+
|
|
119
124
|
## Configuration
|
|
120
125
|
|
|
121
126
|
Run `nanocode --init-config` to create `~/.nanocode/config.toml`.
|
|
122
127
|
|
|
123
|
-
- Provider config: `[provider] active = "<name>"` plus `[provider.<name>]` url, key, model, and model options.
|
|
124
|
-
-
|
|
128
|
+
- Provider config: `[provider] active = "<name>"` plus `[provider.<name>]` url, key, model, `available_models`, and model options.
|
|
129
|
+
- Path config: `[paths] data_dir = "~/.nanocode"`.
|
|
130
|
+
- Runtime config: `[runtime]`.
|
|
131
|
+
- Session data: debug prompts and tool-result logs are stored under `~/.nanocode/sessions/<session_id>/`.
|
|
132
|
+
- Tool-result logs from inactive sessions are auto-cleaned after `runtime.auto_clean_recent` (default `3d`; use `off` to disable). `/clean` removes inactive session logs immediately.
|
|
133
|
+
- Project data: user rules are stored under `~/.nanocode/projects/<project_key>/`.
|
|
125
134
|
|
|
126
135
|
## Status
|
|
127
136
|
|
|
128
|
-
- Status bar: active model, reasoning, conversation context, current-turn tool calls, tokens, elapsed time, and active model-call time.
|
|
129
|
-
- `/status`: active provider, model state, runtime state, conversation/tool counters, per-model calls/tokens, task, goal, and verification.
|
|
137
|
+
- Status bar: active model, reasoning, active yolo/plan modes, conversation context, current-turn tool calls, tokens, elapsed time, and active model-call time.
|
|
138
|
+
- `/status`: active provider, model state, session id, runtime state, conversation/tool counters, per-model calls/tokens, task, goal, and verification.
|
|
@@ -4,6 +4,8 @@ A lightweight terminal-based AI coding assistant.
|
|
|
4
4
|
|
|
5
5
|
nanocode is used to help building itself, including features such as `@file` path completion.
|
|
6
6
|
|
|
7
|
+
Pre-1.0 note: nanocode is still evolving quickly. Functionality, commands, configuration, and behavior may change incompatibly before a 1.0 release.
|
|
8
|
+
|
|
7
9
|
## Screenshots
|
|
8
10
|
|
|
9
11
|
| | |
|
|
@@ -59,7 +61,8 @@ Ask a source-aware question about nanocode itself:
|
|
|
59
61
|
CLI arguments:
|
|
60
62
|
|
|
61
63
|
- `--yolo`: Skip tool execution confirmations.
|
|
62
|
-
- `--
|
|
64
|
+
- `--plan`: Plan changes without editing files or running commands.
|
|
65
|
+
- `--debug`: Write request prompts to the current session directory under `~/.nanocode/sessions/`.
|
|
63
66
|
- `--config <path>`: Path to config file (default: `~/.nanocode/config.toml`).
|
|
64
67
|
- `--init-config`: Create a default config file.
|
|
65
68
|
- `-v`, `--version`: Show program version.
|
|
@@ -82,18 +85,24 @@ USE AT YOUR OWN RISK.
|
|
|
82
85
|
## Commands
|
|
83
86
|
|
|
84
87
|
- Info: `/help [question]`, `/status`, `/rules`, `/knowledge [update]`, `/compact`.
|
|
85
|
-
- Config: `/config`, `/set <key> <value>`, `/model [model_name]`, `/provider [name]`, `/yolo`.
|
|
86
|
-
- Maintenance: `/clean
|
|
88
|
+
- Config: `/config`, `/set <key> <value>`, `/model [model_name]`, `/reason`, `/provider [name]`, `/plan [on|off|question]`, `/yolo`.
|
|
89
|
+
- Maintenance: `/clean`.
|
|
87
90
|
- Exit: `/exit`, `/quit`.
|
|
88
91
|
|
|
92
|
+
`/model` selects from the active provider's `available_models` when configured. `/model <model_name>` sets a model directly. Changing model also opens a reasoning effort selector: choose `off` to disable reasoning, or choose an effort to enable reasoning and set it. Use `/reason` to change reasoning without changing model.
|
|
93
|
+
|
|
89
94
|
## Configuration
|
|
90
95
|
|
|
91
96
|
Run `nanocode --init-config` to create `~/.nanocode/config.toml`.
|
|
92
97
|
|
|
93
|
-
- Provider config: `[provider] active = "<name>"` plus `[provider.<name>]` url, key, model, and model options.
|
|
94
|
-
-
|
|
98
|
+
- Provider config: `[provider] active = "<name>"` plus `[provider.<name>]` url, key, model, `available_models`, and model options.
|
|
99
|
+
- Path config: `[paths] data_dir = "~/.nanocode"`.
|
|
100
|
+
- Runtime config: `[runtime]`.
|
|
101
|
+
- Session data: debug prompts and tool-result logs are stored under `~/.nanocode/sessions/<session_id>/`.
|
|
102
|
+
- Tool-result logs from inactive sessions are auto-cleaned after `runtime.auto_clean_recent` (default `3d`; use `off` to disable). `/clean` removes inactive session logs immediately.
|
|
103
|
+
- Project data: user rules are stored under `~/.nanocode/projects/<project_key>/`.
|
|
95
104
|
|
|
96
105
|
## Status
|
|
97
106
|
|
|
98
|
-
- Status bar: active model, reasoning, conversation context, current-turn tool calls, tokens, elapsed time, and active model-call time.
|
|
99
|
-
- `/status`: active provider, model state, runtime state, conversation/tool counters, per-model calls/tokens, task, goal, and verification.
|
|
107
|
+
- Status bar: active model, reasoning, active yolo/plan modes, conversation context, current-turn tool calls, tokens, elapsed time, and active model-call time.
|
|
108
|
+
- `/status`: active provider, model state, session id, runtime state, conversation/tool counters, per-model calls/tokens, task, goal, and verification.
|