surf-skill 4.0.0 → 4.0.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.
- package/CHANGELOG.md +41 -0
- package/README.md +3 -3
- package/SKILL.md +1 -1
- package/bin/surf-plan-skill.mjs +1 -1
- package/bin/surf-search-skill.mjs +1 -1
- package/bin/surf.mjs +1 -1
- package/package.json +2 -2
- package/skills/surf-plan-skill/SKILL.md +1 -1
- package/src/install/postinstall.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v4.0.1 — fix missing `surf-search-skill` bin after v4.0.0 rename
|
|
4
|
+
|
|
5
|
+
### The bug
|
|
6
|
+
|
|
7
|
+
`npm i -g surf-skill@4.0.0` installed the package but did **not** create
|
|
8
|
+
the `surf-search-skill` command on PATH. Only `surf` and
|
|
9
|
+
`surf-plan-skill` symlinks were created. Calling `surf-search-skill …`
|
|
10
|
+
produced `command not found`, breaking the skill end-to-end.
|
|
11
|
+
|
|
12
|
+
### Root cause
|
|
13
|
+
|
|
14
|
+
The v4.0.0 rename moved `bin/surf-skill.mjs` → `bin/surf-search-skill.mjs`
|
|
15
|
+
(file rename) but `package.json#bin` was missed — it still mapped
|
|
16
|
+
`"surf-skill": "./bin/surf-skill.mjs"`, pointing at a file that no longer
|
|
17
|
+
exists. npm silently skipped the broken bin entry instead of erroring,
|
|
18
|
+
so no `surf-search-skill` symlink was ever created.
|
|
19
|
+
|
|
20
|
+
### Fix
|
|
21
|
+
|
|
22
|
+
- `package.json#bin`: `"surf-skill": "./bin/surf-skill.mjs"` →
|
|
23
|
+
`"surf-search-skill": "./bin/surf-search-skill.mjs"`.
|
|
24
|
+
|
|
25
|
+
### Files changed
|
|
26
|
+
|
|
27
|
+
- `package.json` (bin entry + version bump).
|
|
28
|
+
- `bin/{surf,surf-search-skill,surf-plan-skill}.mjs` — `VERSION` →
|
|
29
|
+
`4.0.1`.
|
|
30
|
+
- `src/install/postinstall.mjs` — banner string.
|
|
31
|
+
- `SKILL.md`, `skills/surf-plan-skill/SKILL.md` — frontmatter
|
|
32
|
+
`version: "4.0.1"`.
|
|
33
|
+
- `README.md` — Status badge and Repository layout heading.
|
|
34
|
+
|
|
35
|
+
### Upgrading
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npm i -g surf-skill@latest
|
|
39
|
+
surf-search-skill --version # 4.0.1
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
No other behavior changes — this is purely a packaging fix.
|
|
43
|
+
|
|
3
44
|
## v4.0.0 — rename `surf-skill` skill → `surf-search-skill` (consistent suffix), audit cleanup
|
|
4
45
|
|
|
5
46
|
### Why a major bump
|
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ architect / spec ──────────────────►│ (
|
|
|
39
39
|
|
|
40
40
|
| | |
|
|
41
41
|
|---|---|
|
|
42
|
-
| **Status** | v4.0.
|
|
42
|
+
| **Status** | v4.0.1 (npm) |
|
|
43
43
|
| **Install** | `npm i -g surf-skill` (Linux · macOS · Windows) |
|
|
44
44
|
| **Skills shipped** | `surf-search-skill` (search) + `surf-plan-skill` (planning) |
|
|
45
45
|
| **Bins shipped** | `surf` (interactive setup + validation), `surf-search-skill`, `surf-plan-skill` |
|
|
@@ -437,11 +437,11 @@ research-poll <id>`. Sync research is capped at 50 s on purpose.
|
|
|
437
437
|
|
|
438
438
|
---
|
|
439
439
|
|
|
440
|
-
## Repository layout (v4.0.
|
|
440
|
+
## Repository layout (v4.0.1)
|
|
441
441
|
|
|
442
442
|
```text
|
|
443
443
|
.
|
|
444
|
-
├── package.json ← name: surf-skill (npm), version 4.0.
|
|
444
|
+
├── package.json ← name: surf-skill (npm), version 4.0.1, 3 bins
|
|
445
445
|
├── README.md ← you're here
|
|
446
446
|
├── CHANGELOG.md
|
|
447
447
|
├── LICENSE
|
package/SKILL.md
CHANGED
|
@@ -4,7 +4,7 @@ description: Web search, content extraction, site crawl, URL mapping, and deep r
|
|
|
4
4
|
license: MIT
|
|
5
5
|
allowed-tools: bash
|
|
6
6
|
metadata:
|
|
7
|
-
version: "4.0.
|
|
7
|
+
version: "4.0.1"
|
|
8
8
|
requires: "node>=18; install via `npm i -g surf-skill` (bundles surf-search-skill + surf-plan-skill); keys via `surf` (interactive, with live validation) or `surf-search-skill setup`; per-project bash timeout via `surf-search-skill project-config`"
|
|
9
9
|
---
|
|
10
10
|
|
package/bin/surf-plan-skill.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { listPlans, readPlan, newPlanStub } from '../src/plan/plan-file.mjs';
|
|
|
9
9
|
import { slugify } from '../src/plan/slug.mjs';
|
|
10
10
|
import { checkSurfSkill } from '../src/lib/check-surf-skill.mjs';
|
|
11
11
|
|
|
12
|
-
const VERSION = '4.0.
|
|
12
|
+
const VERSION = '4.0.1';
|
|
13
13
|
|
|
14
14
|
const HELP = `surf-plan-skill — research-grounded execution planning skill
|
|
15
15
|
|
|
@@ -15,7 +15,7 @@ import { runProjectConfig, formatProjectConfigResult } from '../src/lib/project-
|
|
|
15
15
|
import { providerFromRequestId } from '../src/lib/providers/index.mjs';
|
|
16
16
|
import { progress, setSilent } from '../src/lib/progress.mjs';
|
|
17
17
|
|
|
18
|
-
const VERSION = '4.0.
|
|
18
|
+
const VERSION = '4.0.1';
|
|
19
19
|
|
|
20
20
|
// Catch SIGTERM/SIGINT so a harness-driven kill surfaces a useful message
|
|
21
21
|
// instead of dying silently. This is defense-in-depth: dispatch already
|
package/bin/surf.mjs
CHANGED
|
@@ -21,7 +21,7 @@ import { loadState, saveStateAtomic, KEYS_FILE, PROVIDERS } from '../src/lib/sta
|
|
|
21
21
|
import { validateKey, formatValidation } from '../src/validators/index.mjs';
|
|
22
22
|
import { HARNESS_DIRS } from '../src/lib/harness-install.mjs';
|
|
23
23
|
|
|
24
|
-
const VERSION = '4.0.
|
|
24
|
+
const VERSION = '4.0.1';
|
|
25
25
|
|
|
26
26
|
const HELP = `surf — multi-skill setup & validation
|
|
27
27
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "surf-skill",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "Multi-skill bundle for AI coding agents: surf-search-skill (multi-provider web search via Tavily + Parallel + Brave) + surf-plan-skill (research-driven execution planning). Includes `surf` interactive setup with live key validation, automatic provider fallback, multi-key rotation, --mode tiers, per-project timeout config, and a Node library.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.mjs",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"bin": {
|
|
14
14
|
"surf": "./bin/surf.mjs",
|
|
15
|
-
"surf-skill": "./bin/surf-skill.mjs",
|
|
15
|
+
"surf-search-skill": "./bin/surf-search-skill.mjs",
|
|
16
16
|
"surf-plan-skill": "./bin/surf-plan-skill.mjs"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
@@ -4,7 +4,7 @@ description: Generate a research-grounded execution plan for any coding task. AL
|
|
|
4
4
|
license: MIT
|
|
5
5
|
allowed-tools: bash, read, glob, grep, edit, write, AskUserQuestion
|
|
6
6
|
metadata:
|
|
7
|
-
version: "4.0.
|
|
7
|
+
version: "4.0.1"
|
|
8
8
|
requires: "node>=18; surf-search-skill in PATH (npm i -g surf-skill); plan dir at ~/.claude/plans/ (or ./plans/ if it exists in the project)"
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -59,7 +59,7 @@ async function main() {
|
|
|
59
59
|
if (skel.created) process.stdout.write(`✓ created ${skel.created} (chmod 600)\n`);
|
|
60
60
|
|
|
61
61
|
process.stdout.write('\n');
|
|
62
|
-
process.stdout.write('✓ surf-skill 4.0.
|
|
62
|
+
process.stdout.write('✓ surf-skill 4.0.1 installed globally — 2 skills + 3 bins:\n');
|
|
63
63
|
process.stdout.write(' surf interactive setup with live key validation\n');
|
|
64
64
|
process.stdout.write(' surf-search-skill multi-provider web search (Tavily + Parallel + Brave)\n');
|
|
65
65
|
process.stdout.write(' surf-plan-skill research-grounded execution planning\n');
|