pi-multimodal-proxy 1.16.0 → 1.16.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 +11 -0
- package/extensions/vision-proxy.ts +1 -1
- package/package.json +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
6
6
|
|
|
7
|
+
## [1.16.1] - 2026-08-22
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **Syntax error in the interactive config menu** (v1.16.0 regression): the "Fallback model" handler opened `ctx.ui.input(` with a stray trailing quote, making the whole `vision-proxy.ts` extension unparseable for pi's jiti/oxc loader (`Unterminated string constant` at `vision-proxy.ts:3790`). Every pi process loading the package crashed at startup — daemons crash-looped until the extension was removed or the file hand-patched. `node --check` (swc) accepts the broken construct, so it slipped through the existing gates.
|
|
12
|
+
- The shipped file is now byte-identical to the hand-patched copy that has been running in production.
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- **Syntax gate for shipped extensions** (`npm run check`, `tools/check-syntax.mjs`): parses every `.ts` under `extensions/` with the TypeScript parser and fails on any parse diagnostic — a parser that actually rejects the class of error that shipped. Wired into `release.yml` before `npm test`, so an unparseable extension can no longer reach npm.
|
|
17
|
+
|
|
7
18
|
## [1.16.0] - 2026-08-17
|
|
8
19
|
|
|
9
20
|
### Added
|
|
@@ -3787,7 +3787,7 @@ Use "*" or "all" to grant consent for all providers globally.`,
|
|
|
3787
3787
|
ctx.ui.notify("[multimodal-proxy] Env override active for fallback-model.", "warning");
|
|
3788
3788
|
return;
|
|
3789
3789
|
}
|
|
3790
|
-
const val = await ctx.ui.input(
|
|
3790
|
+
const val = await ctx.ui.input(
|
|
3791
3791
|
"Fallback vision model (provider/model-id, or empty to clear)",
|
|
3792
3792
|
effective.fallbackProvider ? `${effective.fallbackProvider}/${effective.fallbackModelId}` : "",
|
|
3793
3793
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-multimodal-proxy",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.1",
|
|
4
4
|
"description": "Automatic image, video and audio description for any model in Pi. Routes media to a multimodal model and injects descriptions into context.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"type": "module",
|
|
15
15
|
"scripts": {
|
|
16
16
|
"test": "node --experimental-strip-types --no-warnings --test extensions/__tests__/*.test.ts",
|
|
17
|
+
"check": "node tools/check-syntax.mjs",
|
|
17
18
|
"prepublishOnly": "node -e \"if(!process.env.CI)throw new Error('publish via release.yml CI: push a v* tag. Manual npm publish is blocked.')\""
|
|
18
19
|
},
|
|
19
20
|
"pi": {
|
|
@@ -41,5 +42,8 @@
|
|
|
41
42
|
"README.md",
|
|
42
43
|
"CHANGELOG.md",
|
|
43
44
|
"SECURITY-REVIEW.md"
|
|
44
|
-
]
|
|
45
|
+
],
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"typescript": "5.9"
|
|
48
|
+
}
|
|
45
49
|
}
|