@geekjourneyx/findo 1.1.0 → 1.2.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +16 -2
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.2.1
4
+
5
+ - Move embedded skill implementation under `internal/skillcontent` instead of exposing it from the module root.
6
+ - Add release checks and tests to prevent drift between the root Agent skill and the embedded copy.
7
+
8
+ ## v1.2.0
9
+
10
+ - Embed the Findo Agent skill in the release binary.
11
+ - Add `findo skills list/read` so agents can discover and read the current-version SOP without relying on stale external docs.
12
+ - Extend release checks to guard embedded skill documentation and version consistency.
13
+
3
14
  ## v1.1.0
4
15
 
5
16
  - Add default config initialization, path discovery, and redacted config inspection.
package/README.md CHANGED
@@ -27,7 +27,7 @@ The npm package installs the matching GitHub Release binary for your platform an
27
27
  Alternative Go install:
28
28
 
29
29
  ```bash
30
- go install github.com/geekjourneyx/findo/cmd/findo@v1.0.0
30
+ go install github.com/geekjourneyx/findo/cmd/findo@v1.2.1
31
31
  ```
32
32
 
33
33
  Prebuilt binaries and checksums are available on the [GitHub Releases](https://github.com/geekjourneyx/findo/releases) page.
@@ -103,6 +103,8 @@ make release-check
103
103
  ```bash
104
104
  findo version
105
105
  findo sources --json
106
+ findo skills list --json
107
+ findo skills read findo --json
106
108
 
107
109
  BOCHA_API_KEY=... findo bocha "AI Agent 商业化" --json
108
110
  ARK_API_KEY=... findo volc "瑞幸咖啡 2026 门店数是否可信" --json
@@ -113,13 +115,25 @@ ZHIHU_ACCESS_SECRET=... findo hot zhihu --json
113
115
 
114
116
  Human output defaults to a table. Use `--json` for scripts, agents, CI, and downstream tools.
115
117
 
118
+ ## Agent Skill
119
+
120
+ Findo embeds its Agent SOP in the release binary so agents can read instructions that match the executable on `PATH`:
121
+
122
+ ```bash
123
+ findo skills list --json
124
+ findo skills read findo
125
+ findo skills read findo --json
126
+ ```
127
+
128
+ `skills read` defaults to raw Markdown for direct agent context. With `--json`, the same content is returned in the `content` field with version metadata. Use this when an external skill install, README, or repository checkout may be older than the installed CLI.
129
+
116
130
  ## Output
117
131
 
118
132
  Retrieval commands return a stable envelope. A successful JSON response looks like this:
119
133
 
120
134
  ```json
121
135
  {
122
- "version": "1.0.0",
136
+ "version": "1.2.1",
123
137
  "query": {
124
138
  "text": "AI Agent 商业化",
125
139
  "mode": "search",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geekjourneyx/findo",
3
- "version": "1.1.0",
3
+ "version": "1.2.1",
4
4
  "description": "Install the findo CLI from the matching GitHub Release bundle.",
5
5
  "license": "MIT",
6
6
  "repository": {