mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-21 16:52:40 +00:00
* feat(website): serve paseo.sh in Simplified Chinese
Every page of the website now has a Simplified Chinese version under
/zh-CN: the interface, docs, blog posts, comparison pages, legal pages,
all changelog releases and the homepage mockup. English URLs are unchanged.
The URL alone decides the language. There is no browser-language redirect
and no stored preference, because either would have to redirect the
unprefixed English URLs that people share and search engines index.
Internal links carry the page's language instead, and hreflang alternates
point Chinese search results at /zh-CN.
Translated headings pin the English anchor with {#id}, so section links
work in both languages. content-translations.test.ts fails when a page
has no translation or a translation's headings drift from the English.
Changelog releases and plugin listings without a translation render
whole in English under a notice, so a release never waits on one.
Plugin manifests and the registry gain optional translations and
OVERVIEW.zh-CN.md fields; older clients and registries ignore them.
* feat(website): replace the native language select with an EN/ZH menu
The header showed an OS-native select whose popup did not match the site.
The trigger now shows the language abbreviated (EN, ZH) and opens a menu in
the app's dropdown style that names each language in itself, with its name
in the page language underneath. Rows are real links to the same page in
that language; arrows, Escape, outside presses and taps behave as a menu
button, and the menu keeps itself on screen when a narrow header pushes the
trigger toward an edge.
Also drops the stray space after the full-width comma in the Chinese
homepage subtitle.
* docs(website): translate main's new docs and 0.12.0 release notes
Main added Keep run workspaces to the schedules docs, rewrote plugin icons
around inline SVG, and promoted 0.12.0 with new entries. Bring the Chinese
pages and changelog in line so no section falls back to English.
* fix(server): leave plugin listing translations to the registry
The daemon rejected manifests whose translations the registry would refuse,
so a plugin main installs could fail to load here. Paseo never reads
translations; the registry validates them at publish. Docs now say which
checks are automated at publish and which are human review.
* docs(plugins): describe the registry's final overview translation discovery
* style(server): format manifest test
* feat(plugins): translate plugin UI in each app language
Keep translation resources and subscriptions inside each installation. Resolve host labels against the presentation locale so live language changes preserve mounted drafts and RPC state. Existing descriptor types retain string defaults for source compatibility.
* test(plugins): dismiss developer chrome in second translation client
* test(app): measure sidebar rows one at a time
After a reload the developer error toast appears while expectVerticalOrder
measures every row at once. Each concurrent boundingBox runs the toast
locator handler, and only one of them resumes, so the poll timed out on
every attempt since #7424. Measuring sequentially keeps one action in flight.
* test(app): return sidebar row measuring to main
#7480 hides the developer toast instead of running a locator handler, so
measuring the rows concurrently no longer races it. Reverts 41ac23016.
* test(app): wait for the compact shell before opening compact Changes
The shell survives the breakpoint, so right after the resize the wide
Explorer could still be visible: the test skipped the Explorer toggle and
the tab then disappeared, or toggled at the wrong time. Wait for the
compact-shell marker, as the composer helpers do since #7424.
* docs(website): translate main's plugin file panel docs
98 lines
2.7 KiB
JSON
98 lines
2.7 KiB
JSON
{
|
|
"name": "@getpaseo/plugin",
|
|
"version": "0.12.0",
|
|
"description": "Paseo plugin SDK package",
|
|
"files": [
|
|
"dist",
|
|
"!dist/**/*.map"
|
|
],
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"source": "./src/index.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./server": {
|
|
"types": "./dist/server/index.d.ts",
|
|
"source": "./src/server/index.ts",
|
|
"default": "./dist/server/index.js"
|
|
},
|
|
"./server/provider": {
|
|
"types": "./dist/server/provider.d.ts",
|
|
"source": "./src/server/provider.ts",
|
|
"default": "./dist/server/provider.js"
|
|
},
|
|
"./server/usage": {
|
|
"types": "./dist/server/usage.d.ts",
|
|
"source": "./src/server/usage.ts",
|
|
"default": "./dist/server/usage.js"
|
|
},
|
|
"./server/acp": {
|
|
"types": "./dist/server/acp.d.ts",
|
|
"source": "./src/server/acp.ts",
|
|
"default": "./dist/server/acp.js"
|
|
},
|
|
"./client/react-native": {
|
|
"types": "./dist/client/react-native.d.ts",
|
|
"source": "./src/client/react-native.ts",
|
|
"default": "./dist/client/react-native.js"
|
|
},
|
|
"./client/host": {
|
|
"types": "./dist/client/host.d.ts",
|
|
"source": "./src/client/host.ts",
|
|
"default": "./dist/client/host.js"
|
|
},
|
|
"./client/ui": {
|
|
"types": "./dist/client/ui.d.ts",
|
|
"source": "./src/client/ui.ts",
|
|
"default": "./dist/client/ui.js"
|
|
},
|
|
"./client": {
|
|
"types": "./dist/client/index.d.ts",
|
|
"source": "./src/client/index.ts",
|
|
"default": "./dist/client/index.js"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"clean": "node ../../scripts/clean-package-dist.mjs",
|
|
"build": "tsc -p tsconfig.json --incremental false",
|
|
"build:clean": "npm run clean && npm run build",
|
|
"prepack": "npm run build:clean",
|
|
"typecheck": "tsgo --noEmit && npm run typecheck:examples",
|
|
"test": "vitest run",
|
|
"typecheck:examples": "npm --prefix ../../plugin-examples/markdown-panel install --ignore-scripts --no-audit --no-fund && tsgo -p tsconfig.examples.json --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@agentclientprotocol/sdk": "^1.4.0",
|
|
"i18next": "^26.3.0",
|
|
"use-sync-external-store": "^1.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"@getpaseo/client": "0.12.0",
|
|
"@getpaseo/protocol": "0.12.0",
|
|
"@types/node": "^20.9.0",
|
|
"@types/react": "~19.2.0",
|
|
"react": "19.2.3",
|
|
"react-native": "0.86.3",
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^4.1.6",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"peerDependencies": {
|
|
"@getpaseo/client": "0.12.0",
|
|
"@getpaseo/protocol": "0.12.0",
|
|
"react": ">=19.1.0 <20",
|
|
"react-native": ">=0.81.5",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"react-native": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|