diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4c80a2f..f6f7604 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,9 +2,9 @@ name: Publish to npm # Trusted publishing (OIDC): no npm token is stored anywhere. npm accepts the publish # because this repo + this workflow file are registered as the package's trusted publisher -# (`npm trust github opencode-context-tree --file publish.yml --repo navbytes/opencode-tree`). +# (`npm trust github opencode-context-tree --file publish.yml --repo navbytes/opencode-plugins`). # Registering a new package: `npm publish` its v0.x by hand once with a real token, then -# `npm trust github --file publish.yml --repo navbytes/opencode-tree`. +# `npm trust github --file publish.yml --repo navbytes/opencode-plugins`. on: release: types: [published] diff --git a/README.md b/README.md index a607308..1200149 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# opencode-tree +# opencode-plugins -[![CI](https://github.com/navbytes/opencode-tree/actions/workflows/ci.yml/badge.svg)](https://github.com/navbytes/opencode-tree/actions/workflows/ci.yml) +[![CI](https://github.com/navbytes/opencode-plugins/actions/workflows/ci.yml/badge.svg)](https://github.com/navbytes/opencode-plugins/actions/workflows/ci.yml) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) A monorepo of independently versioned and published [OpenCode](https://opencode.ai) diff --git a/bun.lock b/bun.lock index 19c130b..529643c 100644 --- a/bun.lock +++ b/bun.lock @@ -2,7 +2,7 @@ "lockfileVersion": 1, "workspaces": { "": { - "name": "opencode-tree-monorepo", + "name": "opencode-plugins-monorepo", "devDependencies": { "@opentui/core": "^0.5.10", "@opentui/keymap": "^0.5.10", diff --git a/package.json b/package.json index 9ea737a..eb6f6d8 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "opencode-tree-monorepo", + "name": "opencode-plugins-monorepo", "private": true, "workspaces": ["packages/*"], "scripts": { diff --git a/packages/context-tree/README.md b/packages/context-tree/README.md index 298c4e3..e6d9022 100644 --- a/packages/context-tree/README.md +++ b/packages/context-tree/README.md @@ -8,7 +8,7 @@ A Pi-style context tree with git-style controls (`/branch`, `/merge`, `/crop`, ` and a DeepSeek-Harness-style trajectory view, in one screen, inside your terminal. [![npm](https://img.shields.io/npm/v/opencode-context-tree?color=cb3837&logo=npm)](https://www.npmjs.com/package/opencode-context-tree) -[![CI](https://github.com/navbytes/opencode-tree/actions/workflows/ci.yml/badge.svg)](https://github.com/navbytes/opencode-tree/actions/workflows/ci.yml) +[![CI](https://github.com/navbytes/opencode-plugins/actions/workflows/ci.yml/badge.svg)](https://github.com/navbytes/opencode-plugins/actions/workflows/ci.yml) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) [![OpenCode](https://img.shields.io/badge/OpenCode-%E2%89%A5%201.18-black)](https://opencode.ai) @@ -351,8 +351,8 @@ To run your checkout instead of the published package, list the built files by a path rather than the package name: ```jsonc -// opencode.json → "plugin": ["/abs/path/opencode-tree/packages/context-tree/dist/server.js"] -// tui.json → "plugin": ["/abs/path/opencode-tree/packages/context-tree/dist/tui.js"] +// opencode.json → "plugin": ["/abs/path/opencode-plugins/packages/context-tree/dist/server.js"] +// tui.json → "plugin": ["/abs/path/opencode-plugins/packages/context-tree/dist/tui.js"] ``` [DESIGN.md](./DESIGN.md) is the long version: the research behind the design (Pi, diff --git a/packages/context-tree/package.json b/packages/context-tree/package.json index 6723fb7..57ae4a6 100644 --- a/packages/context-tree/package.json +++ b/packages/context-tree/package.json @@ -73,10 +73,10 @@ "author": "Naveen (navbytes)", "repository": { "type": "git", - "url": "git+https://github.com/navbytes/opencode-tree.git", + "url": "git+https://github.com/navbytes/opencode-plugins.git", "directory": "packages/context-tree" }, - "homepage": "https://github.com/navbytes/opencode-tree#readme", + "homepage": "https://github.com/navbytes/opencode-plugins#readme", "keywords": [ "opencode", "opencode-plugin", diff --git a/packages/git-stats/README.md b/packages/git-stats/README.md index f04406f..65717e7 100644 --- a/packages/git-stats/README.md +++ b/packages/git-stats/README.md @@ -6,7 +6,7 @@ pull request your [OpenCode](https://opencode.ai) session touched.** [![npm](https://img.shields.io/npm/v/opencode-git-stats?color=cb3837&logo=npm)](https://www.npmjs.com/package/opencode-git-stats) -[![CI](https://github.com/navbytes/opencode-tree/actions/workflows/ci.yml/badge.svg)](https://github.com/navbytes/opencode-tree/actions/workflows/ci.yml) +[![CI](https://github.com/navbytes/opencode-plugins/actions/workflows/ci.yml/badge.svg)](https://github.com/navbytes/opencode-plugins/actions/workflows/ci.yml) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) [![OpenCode](https://img.shields.io/badge/OpenCode-%E2%89%A5%201.18-black)](https://opencode.ai) diff --git a/packages/git-stats/package.json b/packages/git-stats/package.json index 3478f71..96166d6 100644 --- a/packages/git-stats/package.json +++ b/packages/git-stats/package.json @@ -62,10 +62,10 @@ "author": "Naveen (navbytes)", "repository": { "type": "git", - "url": "git+https://github.com/navbytes/opencode-tree.git", + "url": "git+https://github.com/navbytes/opencode-plugins.git", "directory": "packages/git-stats" }, - "homepage": "https://github.com/navbytes/opencode-tree/tree/main/packages/git-stats#readme", + "homepage": "https://github.com/navbytes/opencode-plugins/tree/main/packages/git-stats#readme", "keywords": [ "opencode", "opencode-plugin", diff --git a/packages/git-stats/test/gh.test.ts b/packages/git-stats/test/gh.test.ts index 3948d7e..dca8311 100644 --- a/packages/git-stats/test/gh.test.ts +++ b/packages/git-stats/test/gh.test.ts @@ -4,7 +4,7 @@ import { tmpdir } from "node:os" import { join } from "node:path" import { fetchPrState } from "../src/core/gh.js" -const REF = { host: "github.com", owner: "navbytes", repo: "opencode-tree", number: 20, url: "https://github.com/navbytes/opencode-tree/pull/20" } +const REF = { host: "github.com", owner: "navbytes", repo: "opencode-plugins", number: 20, url: "https://github.com/navbytes/opencode-plugins/pull/20" } const PATH = process.env.PATH afterEach(() => { diff --git a/packages/git-stats/test/pr.test.ts b/packages/git-stats/test/pr.test.ts index a8be674..b81fda1 100644 --- a/packages/git-stats/test/pr.test.ts +++ b/packages/git-stats/test/pr.test.ts @@ -3,9 +3,9 @@ import { PR_STATE_COLOR, PR_STATE_LABEL, findPrRefs, isPrCreateCommand, prKey, s describe("findPrRefs", () => { test("picks the URL `gh pr create` prints", () => { - const refs = findPrRefs("https://github.com/navbytes/opencode-tree/pull/20\n") + const refs = findPrRefs("https://github.com/navbytes/opencode-plugins/pull/20\n") expect(refs).toHaveLength(1) - expect(refs[0]).toMatchObject({ host: "github.com", owner: "navbytes", repo: "opencode-tree", number: 20 }) + expect(refs[0]).toMatchObject({ host: "github.com", owner: "navbytes", repo: "opencode-plugins", number: 20 }) }) test("finds PRs embedded in prose and markdown links", () => {