Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <name> --file publish.yml --repo navbytes/opencode-tree`.
# `npm trust github <name> --file publish.yml --repo navbytes/opencode-plugins`.
on:
release:
types: [published]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "opencode-tree-monorepo",
"name": "opencode-plugins-monorepo",
"private": true,
"workspaces": ["packages/*"],
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions packages/context-tree/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions packages/context-tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/git-stats/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions packages/git-stats/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/git-stats/test/gh.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down
4 changes: 2 additions & 2 deletions packages/git-stats/test/pr.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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", () => {
Expand Down
Loading