Skip to content

Bump sleeyax/discord-rich-presence to guided-review-v0.1.0 - #178

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
bump/sleeyax/discord-rich-presence-guided-review-v0.1.0
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
bump/sleeyax/discord-rich-presence-guided-review-v0.1.0

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

sleeyax/discord-rich-presence: {"kind":"git","remote":"https://github.com/sleeyax/paseo-plugins.git","commit":"41ff25de85931953ace4daa1a7923e20823514c5","tag":"discord-rich-presence-v0.1.0","pluginPath":"plugins/discord-rich-presence"} -> {"kind":"git","remote":"https://github.com/sleeyax/paseo-plugins.git","commit":"c511fa81bebcf5fa1590f2b0dea75344c324148a","tag":"guided-review-v0.1.0","pluginPath":"plugins/discord-rich-presence"}
Git tag guided-review-v0.1.0 pins commit c511fa81bebcf5fa1590f2b0dea75344c324148a.
Submitted by @sleeyax.

Merging approves this version. The published index keeps pointing at the previous one until then.

Artifact diff
diff --git a/plugins/discord-rich-presence/CHANGELOG.md b/plugins/discord-rich-presence/CHANGELOG.md
index 570b215..ffd3f22 100644
--- a/plugins/discord-rich-presence/CHANGELOG.md
+++ b/plugins/discord-rich-presence/CHANGELOG.md
@@ -1,5 +1,12 @@
 # Changelog
 
+## [0.2.0](https://github.com/sleeyax/paseo-plugins/compare/discord-rich-presence-v0.1.0...discord-rich-presence-v0.2.0) (2026-10-07)
+
+
+### Features
+
+* **discord-rich-presence:** open the panel as a screen from a sidebar header item ([9bd4b5e](https://github.com/sleeyax/paseo-plugins/commit/9bd4b5e9357a346de120f48251d94e06efcb8488)), closes [#126](https://github.com/sleeyax/paseo-plugins/issues/126)
+
 ## [0.1.0](https://github.com/sleeyax/paseo-plugins/compare/discord-rich-presence-v0.0.1...discord-rich-presence-v0.1.0) (2026-09-25)
 
 
diff --git a/plugins/discord-rich-presence/README.md b/plugins/discord-rich-presence/README.md
index f28853a..4d99362 100644
--- a/plugins/discord-rich-presence/README.md
+++ b/plugins/discord-rich-presence/README.md
@@ -15,16 +15,22 @@ Show your current Paseo activity on Discord. The Paseo daemon and Discord app mu
 ## Installation
 
 ```sh
-paseo plugin add sleeyax/paseo-plugins --path plugins/discord-rich-presence
+paseo plugin add sleeyax/discord-rich-presence

-Paseo tracks the default branch from there, so paseo plugin update discord-rich-presence picks up new releases without a clone. paseo plugin status says what is installed against what is available.
+That installs the release published to the Paseo plugin registry, which needs Paseo 0.11 or later. To install straight from this repository's default branch instead:

-The plugin uses a shared Paseo Discord application by default. Open Discord Rich Presence in the Paseo sidebar to see the connection status and change its settings.
+sh +paseo plugin add github:sleeyax/paseo-plugins:plugins/discord-rich-presence +
+
+Either way, paseo plugin update discord-rich-presence picks up new releases without a clone, and paseo plugin update discord-rich-presence --check says what is installed against what is available.
+
+The plugin uses a shared Paseo Discord application by default. Open Discord in the Paseo sidebar to see the connection status and change its settings.

Native, Snap, and Flatpak Discord installations are supported. The plugin reconnects automatically when Discord starts.

-Requires Paseo 0.9 or newer. Earlier versions stored settings in ${XDG_CACHE_HOME:-~/.cache}/paseo-plugins/discord-rich-presence/, which is no longer read. After updating, set your detail levels and application ID again (until then, every project shows as Detailed), then delete that directory.
+Requires Paseo 0.11 or newer. Versions of the plugin made for Paseo older than 0.9 stored settings in ${XDG_CACHE_HOME:-~/.cache}/paseo-plugins/discord-rich-presence/, which is no longer read. After updating from one of those, set your detail levels and application ID again (until then, every project shows as Detailed), then delete that directory.

Settings

diff --git a/plugins/discord-rich-presence/client/settings.tsx b/plugins/discord-rich-presence/client/settings.tsx
index 70dc026..2f5f0d9 100644
--- a/plugins/discord-rich-presence/client/settings.tsx
+++ b/plugins/discord-rich-presence/client/settings.tsx
@@ -1,4 +1,4 @@
-import type { PluginSurfaceProps } from "@getpaseo/plugin/client";
+import type { PluginScreenProps } from "@getpaseo/plugin/client";
import { useRpc, useSettings } from "@getpaseo/plugin/client";
import { useQuery, useQueryClient } from "@tanstack/react-query";
import React, { useMemo, useState } from "react";
@@ -204,7 +204,7 @@ function ApplicationIdField({
);
}

-export function DiscordPresenceSurface({ theme, layout }: PluginSurfaceProps) {
+export function DiscordPresenceScreen({ theme, layout }: PluginScreenProps) {
const palette = usePalette(theme);
const queryClient = useQueryClient();
const getStatus = useRpc(contracts.getStatus);
diff --git a/plugins/discord-rich-presence/index.client.tsx b/plugins/discord-rich-presence/index.client.tsx
index e30e294..6652588 100644
--- a/plugins/discord-rich-presence/index.client.tsx
+++ b/plugins/discord-rich-presence/index.client.tsx
@@ -1,18 +1,25 @@
-import type { PluginClientContext } from "@getpaseo/plugin/client";
-import { DiscordPresenceSurface } from "./client/settings.tsx";
+import type { PluginClientContext, PluginSidebarItemProps } from "@getpaseo/plugin/client";
+import { SidebarRow } from "@getpaseo/plugin/client/ui";
+import { DiscordPresenceScreen } from "./client/settings.tsx";
import { setProjectLevel, updateSettings } from "./client/settings-writes.ts";

-export const SURFACE_ID = "settings";
+// The ID the sidebar item had before it opened a screen, so saved links to it still resolve.
+export const SCREEN_ID = "discord-rich-presence";
+const TITLE = "Discord";

-export default function contribute(client: PluginClientContext) {

  • client.addSurface(SURFACE_ID, DiscordPresenceSurface);
    +function DiscordSidebarItem({ currentScreen, openScreen }: PluginSidebarItemProps) {
  • return (
  • <SidebarRow
  •  icon="Gamepad2"
    
  •  active={currentScreen?.screenId === SCREEN_ID}
    
  •  onPress={() => openScreen({ screenId: SCREEN_ID })}
    
  • />
  • );
    +}
  • client.addSidebarItem({
  • id: "discord-rich-presence",
  • title: "Discord",
  • icon: "Gamepad2",
  • surface: SURFACE_ID,
  • });
    +export default function contribute(client: PluginClientContext) {
  • client.addScreen({ id: SCREEN_ID, title: TITLE, Component: DiscordPresenceScreen });

  • client.addSidebarHeaderItem({ id: SCREEN_ID, title: TITLE, Component: DiscordSidebarItem });

    client.addCommandCenterItem({
    id: "discord-rich-presence-off",
    diff --git a/plugins/discord-rich-presence/package.json b/plugins/discord-rich-presence/package.json
    index 33205a0..d5327d7 100644
    --- a/plugins/discord-rich-presence/package.json
    +++ b/plugins/discord-rich-presence/package.json
    @@ -2,14 +2,14 @@
    "name": "@paseo-plugins/discord-rich-presence",
    "description": "Show your current Paseo activity on Discord.",
    "private": true,

  • "version": "0.1.0",
  • "version": "0.2.0",
    "scripts": {
    "typecheck": "tsc --noEmit",
    "test": "node --test "{client,server,shared}/**/*.test.ts""
    },
    "devDependencies": {
  • "@getpaseo/client": "^0.9.1",
  • "@getpaseo/plugin": "0.9.1",
  • "@getpaseo/client": "^0.11.0",
  • "@getpaseo/plugin": "0.11.0",
    "@tanstack/react-query": "^5.90.11",
    "@types/node": "^26.2.0",
    "@types/react": "~19.2.0",
    diff --git a/plugins/discord-rich-presence/paseo-plugin.json b/plugins/discord-rich-presence/paseo-plugin.json
    index b76af23..5c24ead 100644
    --- a/plugins/discord-rich-presence/paseo-plugin.json
    +++ b/plugins/discord-rich-presence/paseo-plugin.json
    @@ -1,5 +1,5 @@
    {
    "id": "discord-rich-presence",
    "description": "Show your current Paseo activity on Discord.",
  • "requirements": { "paseo": ">=0.9.0" }
  • "requirements": { "paseo": ">=0.11.0" }
    }

</details>

This version has no OVERVIEW.md. The registry requires one to update a listing; the bump cannot merge until a release includes it in the submitted artifact.

Inline validation failed. See the Bump workflow log.

@github-actions github-actions Bot added the bump Pinned artifact update label Oct 7, 2026

@paseo-bot paseo-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs from you: nothing, changes requested

@sleeyax, Discord Rich Presence 0.2.0 can't be listed yet: plugins/discord-rich-presence has no OVERVIEW.md at this commit, and the registry needs one for every new version. The 0.1.0 to 0.2.0 code change is fine.

Change needed: add OVERVIEW.md next to paseo-plugin.json in plugins/discord-rich-presence of https://github.com/sleeyax/paseo-plugins and tag a new discord-rich-presence-v* release. Your file replaces the registry copy, plugins/sleeyax/discord-rich-presence.md. You can start from that copy without its last "imported from paseo.cafe" line, but it says the plugin needs Paseo 0.9.0 or newer, and 0.2.0 needs 0.11.0. The shape is in REVIEW.md: what the plugin is and does, setup, then what it reads or sends and where, its settings, and known limits, with no installation steps, badges, changelog, or license sections.

The record's tag field here says guided-review-v0.1.0, a tag for another plugin in your repository, because the bump workflow picked the newest tag across the whole repository. The pinned commit is the one discord-rich-presence-v0.2.0 points at, so nothing changes for you; that workflow question is with the maintainer on #163.

Review data

  • Artifact: git https://github.com/sleeyax/paseo-plugins.git, pluginPath plugins/discord-rich-presence, from 41ff25de85931953ace4daa1a7923e20823514c5 (tag discord-rich-presence-v0.1.0, package version 0.1.0) to c511fa81bebcf5fa1590f2b0dea75344c324148a (tag guided-review-v0.1.0 in the record; discord-rich-presence-v0.2.0 points at the same commit; package version 0.2.0).
  • Pin: both commits exist on the remote and both recorded tags point at them. 41ff25d is an ancestor of c511fa8, which is on main. The remote's discord-rich-presence-v* tags are v0.1.0 at 41ff25d and v0.2.0 at c511fa8; nothing newer exists. The bump also changes reviewedAt to 2026-10-07.
  • Validation: npm test passes (143/143). node scripts/validate.ts --online --changed fails with one error: sleeyax/discord-rich-presence: sleeyax/discord-rich-presence/OVERVIEW.md is required.
  • Extracted and inspected: cloned without checkout, exported plugins/discord-rich-presence at both commits, and compared them with diff -ruN. Six files change: index.client.tsx replaces addSurface and addSidebarItem with addScreen and addSidebarHeaderItem rendering a SidebarRow that calls openScreen (index.client.tsx:1-22); client/settings.tsx renames DiscordPresenceSurface to DiscordPresenceScreen with PluginScreenProps (client/settings.tsx:1,207); paseo-plugin.json requires >=0.11.0; package.json raises the version to 0.2.0 and @getpaseo/client and @getpaseo/plugin to 0.11.0; README.md and CHANGELOG.md are documentation. server/, shared/, scripts/, and the command center items are unchanged.
  • Install-time commands: none. paseo-plugin.json has no install or build; package.json has only typecheck and test scripts. scripts/render-assets.sh is an unchanged developer script for rendering the art assets and is not invoked by the manifest.
  • Dependencies: no runtime dependencies; only dev dependencies, two of which move from 0.9.1 to 0.11.0. The plugin directory has no lockfile; the repository's pnpm-lock.yaml sits outside pluginPath.
  • Hosts: unchanged. A WebSocket to the local Paseo daemon at the address from PASEO_HOST, PASEO_LISTEN, the pid file, or the daemon config (shared/daemon-url.ts:16-41, server/daemon.ts:75), and the local Discord IPC sockets (server/discord.ts:76, server/ipc.ts:52-62). No other hosts.
  • Credentials and environment: unchanged. PASEO_PASSWORD for the daemon connection (shared/daemon-url.ts:45); PASEO_HOME and HOME (server/paths.ts:6-8); XDG_RUNTIME_DIR, TMPDIR, TMP, TEMP to find the Discord socket (server/ipc.ts:45). Each is what a daemon-reading Discord presence needs.
  • Filesystem: unchanged. Reads paseo.pid and config.json under the Paseo home (server/daemon.ts:61-62); settings are stored through Paseo plugin settings. No writes outside that.
  • Execution: none. No child_process, eval, new Function, or dynamic import().
  • Runtime installs: none.
  • Source match: git artifact; all .ts and .tsx files are readable source, with no bundles or minified files.
  • Listing media: three PNGs pinned to 41ff25d, each HTTP 200 image/png, and docs/screenshots is byte-identical at c511fa8.
  • Overview: missing at c511fa8. The registry copy plugins/sleeyax/discord-rich-presence.md names Paseo 0.9.0, which 0.2.0 no longer supports.
  • Decision: changes requested, because OVERVIEW.md is missing. The record's tag names another plugin's tag on the right commit; the bump workflow's tag selection is a maintainer question on #163.
  • Reviewed commit: d435842a6673b537117e29aec7f1df4b141ddb8a

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bump Pinned artifact update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants