Skip to content

Commit dbfb123

Browse files
authored
feat: wire app icons and adopt brand handoff assets (#146)
1 parent 618b866 commit dbfb123

19 files changed

Lines changed: 70 additions & 8 deletions

.version-bump.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{ "path": "plugins/antigravity/plugin.json", "field": "version" },
1010
{
1111
"path": "lib/mcp/create-server.ts",
12-
"pattern": "name: \"piyaz\", version: \"{version}\""
12+
"pattern": "version: \"{version}\""
1313
}
1414
]
1515
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</p>
1313

1414
<p align="center">
15-
<img src="assets/mymir-demo.gif" alt="Piyaz demo" width="900" />
15+
<img src="assets/piyaz-demo.gif" alt="Piyaz demo" width="900" />
1616
</p>
1717

1818
Most of us aren't really writing code anymore, we're directing agents that do. But those agents have no memory. Every session starts from zero, and engineers end up spending their time re-explaining what was built, why decisions were made, and what still needs to happen. That's not engineering, that's babysitting.

app/layout.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,17 @@ export const metadata: Metadata = {
2323
template: "%s · Piyaz",
2424
},
2525
description,
26+
icons: {
27+
icon: [
28+
{ url: "/favicon.ico?v=3", sizes: "any" },
29+
{ url: "/piyaz-mark.png?v=3", type: "image/png", sizes: "1024x1024" },
30+
],
31+
apple: {
32+
url: "/piyaz-icon-dark.png?v=3",
33+
type: "image/png",
34+
sizes: "512x512",
35+
},
36+
},
2637
robots: {
2738
index: false,
2839
follow: false,

app/manifest.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
import type { MetadataRoute } from "next";
2+
3+
/**
4+
* Web app manifest for the Piyaz PWA.
5+
* @returns Manifest with brand identity, theme colors, and home-screen icons.
6+
*/
7+
export default function manifest(): MetadataRoute.Manifest {
8+
return {
9+
name: "Piyaz",
10+
short_name: "Piyaz",
11+
description:
12+
"A structure that supports organic growth. Track projects created by your coding agent.",
13+
start_url: "/",
14+
display: "standalone",
15+
background_color: "#07080a",
16+
theme_color: "#07080a",
17+
icons: [
18+
{
19+
src: "/piyaz-icon-dark-192.png",
20+
sizes: "192x192",
21+
type: "image/png",
22+
},
23+
{
24+
src: "/piyaz-icon-dark.png",
25+
sizes: "512x512",
26+
type: "image/png",
27+
},
28+
],
29+
};
30+
}

bun.lock

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/mcp/create-server.ts

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,26 @@ export function registerAllTools(server: McpServer, ctx: AuthContext): void {
683683
*/
684684
export function createMcpServer(ctx: AuthContext): McpServer {
685685
const server = new McpServer(
686-
{ name: "piyaz", version: "0.1.0" },
686+
{
687+
name: "piyaz",
688+
title: "Piyaz",
689+
version: "0.1.0",
690+
websiteUrl: "https://www.piyaz.ai",
691+
icons: [
692+
{
693+
src: "https://app.piyaz.ai/piyaz-icon-light.png",
694+
mimeType: "image/png",
695+
sizes: ["512x512"],
696+
theme: "light",
697+
},
698+
{
699+
src: "https://app.piyaz.ai/piyaz-icon-dark.png",
700+
mimeType: "image/png",
701+
sizes: ["512x512"],
702+
theme: "dark",
703+
},
704+
],
705+
},
687706
{ instructions: INSTRUCTIONS },
688707
);
689708
registerAllTools(server, ctx);

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
"private": true,
55
"license": "AGPL-3.0-or-later",
66
"type": "module",
7-
"//overrides": "TEMP security pins for transitive CVEs whose parent ranges already allow the fix but bun won't bump on its own. REMOVE each entry once its parent ships the fix and `bun audit --audit-level=high` passes without it. form-data >=4.0.6 (GHSA-hmw2-7cc7-3qxx, via @types/node-fetch). hono >=4.12.25 (GHSA-88fw-hqm2-52qc, via @modelcontextprotocol/sdk). ws is handled separately via a CI --ignore (no upstream fix). Tracked in MYMR-226.",
7+
"//overrides": "TEMP security pins for transitive CVEs whose parent ranges already allow the fix but bun won't bump on its own. REMOVE each entry once its parent ships the fix and `bun audit --audit-level=high` passes without it. form-data >=4.0.6 (GHSA-hmw2-7cc7-3qxx, via @types/node-fetch). hono >=4.12.25 (GHSA-88fw-hqm2-52qc, via @modelcontextprotocol/sdk). undici >=7.28.0 <8 (GHSA-vmh5-mc38-953g, via wrangler › miniflare; stay on 7.x to match miniflare's pin). ws is handled separately via a CI --ignore (no upstream fix). Tracked in MYMR-226.",
88
"overrides": {
99
"form-data": ">=4.0.6",
10-
"hono": ">=4.12.25"
10+
"hono": ">=4.12.25",
11+
"undici": ">=7.28.0 <8"
1112
},
1213
"scripts": {
1314
"dev": "next dev --webpack",

plugins/codex/.codex-plugin/plugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
"Use $piyaz to record what changed after this task."
3434
],
3535
"brandColor": "#14B8A6",
36-
"composerIcon": "./assets/mymir-small.png",
37-
"logo": "./assets/mymir-logo.png",
36+
"composerIcon": "./assets/piyaz-mark-small.png",
37+
"logo": "./assets/piyaz-mark.png",
3838
"screenshots": []
3939
}
4040
}

0 commit comments

Comments
 (0)