magpie.page.titles names the page in zh, zh-TW, ja and de; a magpie that doesn't know titles still reads title. The tiles were auto-fill, which left a hole in their row at most widths; now four across, two by two under 640px. Run: bun test in packages/usage (6 pass). Tried in the magpie sandbox app's dev UI with the real usage.jsonl, WebKit, dark and light, zh and en, at 900 and 560px.
20 lines
831 B
JSON
20 lines
831 B
JSON
{
|
|
"name": "@magpie-community/page-usage",
|
|
"version": "0.1.1",
|
|
"description": "A page in magpie's window with your usage at a glance: calls, errors, tokens and cost for today, 7 or 30 days, and the models that took them",
|
|
"files": ["page", "README.md"],
|
|
"keywords": ["magpie", "magpie-page", "usage", "tokens", "cost"],
|
|
"license": "MIT",
|
|
"repository": { "type": "git", "url": "git+https://github.com/magpie-community/plugins.git", "directory": "packages/usage" },
|
|
"magpie": {
|
|
"page": {
|
|
"title": "Usage glance",
|
|
"titles": { "zh": "用量速览", "zh-TW": "用量速覽", "ja": "使用量の概要", "de": "Nutzung im Überblick" },
|
|
"file": "page/index.html",
|
|
"icon": "page/icon.svg"
|
|
},
|
|
"permissions": ["usage:summary"],
|
|
"options": { "period": "today", "sort": "tokens" }
|
|
}
|
|
}
|