@juicesharp/rpiv-pi 1.0.19 → 1.1.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/README.md CHANGED
@@ -182,6 +182,7 @@ Invoke via `/skill:<name>` from inside a Pi Agent session.
182
182
  | `/rpiv-update-agents` | Sync rpiv agent profiles: add new, update changed, remove stale |
183
183
  | `/advisor` | Configure advisor model and reasoning effort |
184
184
  | `/btw` | Ask a side question without polluting the main conversation |
185
+ | `/languages` | Pick the UI language for rpiv-* TUI strings (Deutsch / English / Español / Français / Português / Português (Brasil) / Русский / Українська) |
185
186
  | `/todos` | Show current todo list |
186
187
  | `/web-search-config` | Set Brave Search API key |
187
188
 
@@ -221,6 +222,7 @@ Pi Agent discovers extensions via `"extensions": ["./extensions"]` and skills vi
221
222
  - **Web search** — run `/web-search-config` to set the Brave Search API key, or set the `BRAVE_SEARCH_API_KEY` environment variable
222
223
  - **Advisor** — run `/advisor` to select a reviewer model and reasoning effort
223
224
  - **Side questions** — type `/btw <question>` anytime (even mid-stream) to ask the primary model a one-off question; answer appears in a borderless bottom overlay and never enters the main conversation
225
+ - **UI language** — run `/languages` to pick the locale for rpiv-* TUI strings, or pass `pi --locale <code>` at startup. Detection priority: flag → `~/.config/rpiv-i18n/locale.json` → `LANG` / `LC_ALL` → English. LLM-facing copy stays English by design
224
226
  - **Agent concurrency** — open the `/agents` overlay and tune `Settings → Max concurrency` to match your provider's rate limits. `@tintinweb/pi-subagents` owns this setting; rpiv-pi does not seed it.
225
227
  - **Agent profiles** — editable at `<cwd>/.pi/agents/`; sync from bundled defaults with `/rpiv-update-agents` (overwrites rpiv-managed files, preserves your custom agents)
226
228
 
@@ -2,8 +2,8 @@ import { describe, expect, it } from "vitest";
2
2
  import { LEGACY_SIBLINGS, SIBLINGS } from "./siblings.js";
3
3
 
4
4
  describe("SIBLINGS registry", () => {
5
- it("contains 7 entries (pi-subagents at SIBLINGS[0] — tintinweb fork is the dispatch runtime)", () => {
6
- expect(SIBLINGS).toHaveLength(7);
5
+ it("contains 8 entries (pi-subagents at SIBLINGS[0] — tintinweb fork is the dispatch runtime)", () => {
6
+ expect(SIBLINGS).toHaveLength(8);
7
7
  });
8
8
 
9
9
  it("lists @tintinweb/pi-subagents at SIBLINGS[0]", () => {
@@ -29,6 +29,13 @@ describe("SIBLINGS registry", () => {
29
29
  expect(argsEntry?.matches.test("@juicesharp/rpiv-args-extended")).toBe(false);
30
30
  });
31
31
 
32
+ it("rpiv-i18n does NOT match rpiv-i18n-utils (word boundary)", () => {
33
+ const i18nEntry = SIBLINGS.find((s) => s.pkg.endsWith("/rpiv-i18n"));
34
+ expect(i18nEntry).toBeDefined();
35
+ expect(i18nEntry?.matches.test("@juicesharp/rpiv-i18n-utils")).toBe(false);
36
+ expect(i18nEntry?.matches.test("@juicesharp/rpiv-i18n")).toBe(true);
37
+ });
38
+
32
39
  it("every entry has non-empty pkg + provides", () => {
33
40
  for (const s of SIBLINGS) {
34
41
  expect(s.pkg.length).toBeGreaterThan(0);
@@ -45,6 +45,11 @@ export const SIBLINGS: readonly SiblingPlugin[] = [
45
45
  matches: /rpiv-btw/i,
46
46
  provides: "/btw side-question command",
47
47
  },
48
+ {
49
+ pkg: "npm:@juicesharp/rpiv-i18n",
50
+ matches: /rpiv-i18n(?![-\w])/i,
51
+ provides: "i18n SDK for Pi extensions — /languages command + --locale flag + registerStrings/scope/tr API",
52
+ },
48
53
  {
49
54
  pkg: "npm:@juicesharp/rpiv-web-tools",
50
55
  matches: /rpiv-web-tools/i,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juicesharp/rpiv-pi",
3
- "version": "1.0.19",
3
+ "version": "1.1.1",
4
4
  "description": "Skill-based development workflow for Pi Agent — discover, research, design, plan, implement, validate",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -50,6 +50,7 @@
50
50
  "@juicesharp/rpiv-todo": "*",
51
51
  "@juicesharp/rpiv-advisor": "*",
52
52
  "@juicesharp/rpiv-btw": "*",
53
+ "@juicesharp/rpiv-i18n": "*",
53
54
  "@juicesharp/rpiv-web-tools": "*",
54
55
  "@juicesharp/rpiv-args": "*",
55
56
  "yaml": "*"