agent-remnote 0.2.0 → 0.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # agent-remnote
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 86f4855: Add a full `config` command suite for user config management, including `path`, `list`, `get`, `set`, `unset`, `validate`, and richer `print` output.
8
+
9
+ Support `apiBaseUrl` in `~/.agent-remnote/config.json` and `--config-file` / `REMNOTE_CONFIG_FILE` so agents can keep using the same business commands across local and remote environments.
10
+
3
11
  ## 0.2.0
4
12
 
5
13
  ### Minor Changes
package/README.md CHANGED
@@ -18,11 +18,30 @@ agent-remnote --json plugin current --compact
18
18
 
19
19
  ## Remote mode
20
20
 
21
+ Configure once in `~/.agent-remnote/config.json`:
22
+
23
+ ```json
24
+ {
25
+ "apiBaseUrl": "http://host.docker.internal:3000"
26
+ }
27
+ ```
28
+
29
+ Or write it through the CLI:
30
+
21
31
  ```bash
22
- agent-remnote --api-base-url http://host.docker.internal:3000 search --query "keyword"
23
- agent-remnote --api-base-url http://host.docker.internal:3000 plugin current --compact
32
+ agent-remnote config set --key apiBaseUrl --value http://host.docker.internal:3000
33
+ agent-remnote config validate
24
34
  ```
25
35
 
36
+ Then keep using the same business commands:
37
+
38
+ ```bash
39
+ agent-remnote search --query "keyword"
40
+ agent-remnote plugin current --compact
41
+ ```
42
+
43
+ One-off override remains available with `--api-base-url` or `REMNOTE_API_BASE_URL`. Use `agent-remnote config path|list|get|set|unset|validate|print` to manage user config.
44
+
26
45
  ## Docs
27
46
 
28
47
  See the repository root `README.md` and `README.zh-CN.md` for full documentation.