dsh-model-arena 0.1.4 → 0.2.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/CHANGELOG.md +12 -0
- package/README.md +7 -1
- package/lib/routes.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.0
|
|
4
|
+
|
|
5
|
+
Ecosystem sync: every plugin in this suite shares one version, so a version number
|
|
6
|
+
identifies a set that was tested together rather than one plugin's own history.
|
|
7
|
+
|
|
8
|
+
- Fix the Model Arena panel rendering "Cannot read properties of undefined": the host
|
|
9
|
+
route returned the bare run list while the view reads `payload.recentRuns`.
|
|
10
|
+
- The client `inject` field now names services (`slots`, `connection`) instead of the
|
|
11
|
+
packages that provide them.
|
|
12
|
+
- README badges cover version, downloads, CI, license, Node requirement, stars, and the
|
|
13
|
+
dsh plugin topic.
|
|
14
|
+
|
|
3
15
|
## 0.1.4
|
|
4
16
|
|
|
5
17
|
- **Fix the client half never activating.** The browser half declared package names
|
package/README.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
# dsh-model-arena
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/dsh-model-arena)
|
|
3
|
+
[](https://www.npmjs.com/package/dsh-model-arena)
|
|
4
|
+
[](https://www.npmjs.com/package/dsh-model-arena)
|
|
5
|
+
[](https://github.com/hj01857655/dsh-model-arena/actions/workflows/ci.yml)
|
|
6
|
+
[](LICENSE)
|
|
7
|
+
[](package.json)
|
|
8
|
+
[](https://github.com/hj01857655/dsh-model-arena/stargazers)
|
|
9
|
+
[](https://github.com/topics/dsh-plugin)
|
|
4
10
|
|
|
5
11
|
Run the same prompt through every model you have, and see the difference without squinting.
|
|
6
12
|
|
package/lib/routes.js
CHANGED
|
@@ -7,7 +7,9 @@ export function registerArenaRoutes(ctx, arena) {
|
|
|
7
7
|
path: ARENA_PANEL_PATH,
|
|
8
8
|
methods: ['GET'],
|
|
9
9
|
requestBody: 'buffered',
|
|
10
|
-
|
|
10
|
+
// The panel view is written against `PanelPayload`; returning the bare run list
|
|
11
|
+
// here made every array method on `payload.recentRuns` throw in the browser.
|
|
12
|
+
fetch: () => Promise.resolve(Response.json({ recentRuns: arena.listRuns() }, {
|
|
11
13
|
headers: { 'cache-control': 'no-store' },
|
|
12
14
|
})),
|
|
13
15
|
});
|