@juicesharp/rpiv-web-tools 2.9.0 → 2.10.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/package.json +2 -2
- package/providers/config.ts +4 -4
- package/providers/interceptors/index.ts +2 -2
- package/web-tools.ts +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juicesharp/rpiv-web-tools",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.1",
|
|
4
4
|
"description": "Pi extension. Web search and fetch for the model with pluggable providers (Brave, Tavily, Serper, Exa, You.com, Jina, Firecrawl, Perplexity, SearXNG, Ollama).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
]
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@juicesharp/rpiv-config": "^2.
|
|
68
|
+
"@juicesharp/rpiv-config": "^2.10.1",
|
|
69
69
|
"typebox": "^1.1.24"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
package/providers/config.ts
CHANGED
|
@@ -155,10 +155,10 @@ export function writeConfig(c: WebToolsConfig): boolean {
|
|
|
155
155
|
return saveJsonConfig(CONFIG_PATH, c);
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
//
|
|
159
|
-
//
|
|
160
|
-
// rewrite-the-suite job for marginal perf gain. Kept exported so
|
|
161
|
-
//
|
|
158
|
+
// Deliberately a no-op — there is no in-memory config cache (the tests'
|
|
159
|
+
// direct-writeFileSync pattern makes per-test invalidation a
|
|
160
|
+
// rewrite-the-suite job for marginal perf gain). Kept exported so callers
|
|
161
|
+
// keep a stable invalidation hook.
|
|
162
162
|
export function invalidateConfigCache(): void {
|
|
163
163
|
// no-op
|
|
164
164
|
}
|
|
@@ -47,8 +47,8 @@ export function getActiveGitHubInterceptor(): GitHubInterceptor | null {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
// Public free-function alias for test cleanup. Resets the active GitHub
|
|
50
|
-
// interceptor (if any)
|
|
51
|
-
//
|
|
50
|
+
// interceptor (if any),
|
|
51
|
+
// routed through the class rather than module-level state.
|
|
52
52
|
export function clearCloneCache(): void {
|
|
53
53
|
activeGitHubInterceptor?.reset();
|
|
54
54
|
}
|
package/web-tools.ts
CHANGED
|
@@ -65,8 +65,6 @@ const LEGACY_TOP_LEVEL_KEY_PROVIDER = "brave";
|
|
|
65
65
|
|
|
66
66
|
// ---------------------------------------------------------------------------
|
|
67
67
|
// Config persistence — schema + reader/writer live in providers/config.ts.
|
|
68
|
-
// The two local aliases keep the call-site shape identical to pre-refactor
|
|
69
|
-
// (loadConfig / saveConfig) so the rest of this file reads unchanged.
|
|
70
68
|
// ---------------------------------------------------------------------------
|
|
71
69
|
|
|
72
70
|
const loadConfig = readConfig;
|