webseek 0.2.2 → 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/README.md CHANGED
@@ -159,11 +159,16 @@ Publishing to npm is automated. To cut a new version:
159
159
  1. Run the `draft-release` skill — it bumps the version on a `release/vX.Y.Z`
160
160
  branch, opens a PR, and creates a **draft** GitHub release.
161
161
  2. Review and merge the release PR into `main`.
162
- 3. Open the draft release on GitHub and click **Publish release**.
163
162
 
164
- Publishing the release triggers
163
+ Merging the release PR triggers
165
164
  [`.github/workflows/publish.yml`](.github/workflows/publish.yml), which verifies
166
- the tag matches `package.json` and runs `pnpm publish`. Authentication uses npm
167
- **trusted publishing** (OIDC) — no token secret is required, and provenance is
168
- generated automatically. Configure the trusted publisher for the package once on
169
- npmjs.com, pointing it at this repository's `publish.yml` workflow.
165
+ the tag matches `package.json`, pushes the `vX.Y.Z` tag, runs `pnpm publish`, and
166
+ flips the draft GitHub release public — no manual **Publish release** click is
167
+ needed. Authentication uses npm **trusted publishing** (OIDC) — no token secret
168
+ is required, and provenance is generated automatically. Configure the trusted
169
+ publisher for the package once on npmjs.com, pointing it at this repository's
170
+ `publish.yml` workflow.
171
+
172
+ To run the whole flow in one shot, use the `goal-release` skill — it runs the
173
+ `draft-release` skill, waits for the release PR's CI to pass, merges it with the
174
+ `merge-pr` skill, and waits for the `Publish` workflow to finish.
@@ -1 +1 @@
1
- export { };
1
+ export {}
@@ -1 +1 @@
1
- export { };
1
+ export {}
package/dist/index.d.cts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod";
2
-
3
2
  //#region src/config/env.d.ts
4
3
  /**
5
4
  * Resolves provider credentials and configuration from environment variables.
@@ -121,9 +120,9 @@ declare function formatError(error: unknown): string;
121
120
  declare const webSearchInputShape: {
122
121
  query: z.ZodString;
123
122
  provider: z.ZodEnum<{
124
- openai: "openai";
125
- google: "google";
126
123
  gemini: "gemini";
124
+ google: "google";
125
+ openai: "openai";
127
126
  }>;
128
127
  maxResults: z.ZodOptional<z.ZodNumber>;
129
128
  model: z.ZodOptional<z.ZodString>;
@@ -136,9 +135,9 @@ declare const webSearchInputShape: {
136
135
  declare const webSearchArgsSchema: z.ZodObject<{
137
136
  query: z.ZodString;
138
137
  provider: z.ZodEnum<{
139
- openai: "openai";
140
- google: "google";
141
138
  gemini: "gemini";
139
+ google: "google";
140
+ openai: "openai";
142
141
  }>;
143
142
  maxResults: z.ZodOptional<z.ZodNumber>;
144
143
  model: z.ZodOptional<z.ZodString>;
package/dist/index.d.mts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod";
2
-
3
2
  //#region src/config/env.d.ts
4
3
  /**
5
4
  * Resolves provider credentials and configuration from environment variables.
@@ -121,9 +120,9 @@ declare function formatError(error: unknown): string;
121
120
  declare const webSearchInputShape: {
122
121
  query: z.ZodString;
123
122
  provider: z.ZodEnum<{
124
- openai: "openai";
125
- google: "google";
126
123
  gemini: "gemini";
124
+ google: "google";
125
+ openai: "openai";
127
126
  }>;
128
127
  maxResults: z.ZodOptional<z.ZodNumber>;
129
128
  model: z.ZodOptional<z.ZodString>;
@@ -136,9 +135,9 @@ declare const webSearchInputShape: {
136
135
  declare const webSearchArgsSchema: z.ZodObject<{
137
136
  query: z.ZodString;
138
137
  provider: z.ZodEnum<{
139
- openai: "openai";
140
- google: "google";
141
138
  gemini: "gemini";
139
+ google: "google";
140
+ openai: "openai";
142
141
  }>;
143
142
  maxResults: z.ZodOptional<z.ZodNumber>;
144
143
  model: z.ZodOptional<z.ZodString>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webseek",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
4
4
  "description": "Unified multi-provider web search as a CLI, MCP server, and library (OpenAI, Google Custom Search, Gemini)",
5
5
  "keywords": [
6
6
  "web-search",
@@ -54,22 +54,23 @@
54
54
  "access": "public"
55
55
  },
56
56
  "devDependencies": {
57
- "@openrouter/sdk": "0.13.7",
57
+ "@openrouter/sdk": "1.0.0",
58
58
  "@secretlint/secretlint-rule-preset-recommend": "13.0.2",
59
59
  "@tsconfig/node24": "^24.0.4",
60
60
  "@types/node": "^26.0.0",
61
61
  "cspell": "10.0.1",
62
- "lint-staged": "17.0.7",
63
- "oxfmt": "0.55.0",
64
- "oxlint": "1.70.0",
65
- "repomix": "1.14.1",
66
- "resend": "6.14.0",
67
- "rulesync": "^8.31.0",
62
+ "lint-staged": "17.1.0",
63
+ "oxfmt": "0.59.0",
64
+ "oxlint": "1.74.0",
65
+ "repomix": "1.16.1",
66
+ "resend": "6.17.2",
67
+ "rulesync": "^14.1.0",
68
68
  "secretlint": "13.0.2",
69
69
  "simple-git-hooks": "2.13.1",
70
+ "smol-toml": "1.7.0",
70
71
  "tsdown": "^0.22.3",
71
72
  "tsx": "^4.22.4",
72
- "typescript": "^6.0.3",
73
+ "typescript": "^7.0.2",
73
74
  "vitest": "^4.1.9"
74
75
  },
75
76
  "dependencies": {
@@ -94,8 +95,9 @@
94
95
  "test:e2e": "vitest run --config vitest.e2e.config.ts --silent=false",
95
96
  "sync:skill-docs": "tsx scripts/sync-skill-docs.ts",
96
97
  "check:sync-skill-docs": "tsx scripts/check-skill-docs-sync.ts",
98
+ "check:codex-config": "tsx scripts/check-codex-config.ts",
97
99
  "cicheck:code": "pnpm run check && pnpm run test",
98
- "cicheck:content": "pnpm run check:sync-skill-docs && pnpm run cspell && pnpm run secretlint",
100
+ "cicheck:content": "pnpm run check:sync-skill-docs && pnpm run check:codex-config && pnpm run cspell && pnpm run secretlint",
99
101
  "cicheck": "pnpm run cicheck:code && pnpm run cicheck:content",
100
102
  "generate": "rulesync generate",
101
103
  "gitignore": "rulesync gitignore"