Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
4824144
feat: add Nostr chat via CLI (NIP-17 gift wraps, relay-first messages…
joemarct Jun 23, 2026
b33099e
fix: bypass rate-limited GitHub API call in opencode action install step
joemarct Jun 23, 2026
cfa77c1
fix: address 6 code review issues
joemarct Jun 23, 2026
3675b7b
fix: address all 10 review issues
joemarct Jun 23, 2026
061fdfe
Approve with minor follow-ups remaining.
opencode-agent[bot] Jun 23, 2026
bca4990
refactor: relay.ts class, unify publish, buffer pending edits
joemarct Jun 23, 2026
80fca69
Approve — all critical issues fixed.
opencode-agent[bot] Jun 23, 2026
4d37896
ci: disable auto-PR trigger, set pull-requests read
joemarct Jun 23, 2026
82f9978
ci: replace opencode workflow with auto-review on PR
joemarct Jun 23, 2026
c5d1e1f
ci: grant pull-requests write so opencode can comment
joemarct Jun 23, 2026
f1c9561
feat(chat): default chat listen to wallet's own conversations
joemarct Jun 23, 2026
98f3b3f
feat(listen-json): include room.members in --json output
joemarct Jun 23, 2026
2e48eba
ci: copy opencode workflow from watchtower-cash
joemarct Jun 23, 2026
f228d9d
**Approve Nostr chat PR with fixes applied**
opencode-agent[bot] Jun 23, 2026
e820221
fix: suppress invalid MAC noise on historical gift-wrap fetch
joemarct Jun 23, 2026
91331c2
fix: cap unbounded structures for long-running listen
joemarct Jun 23, 2026
adefe41
**Approve Nostr chat PR, bugs fixed.**
opencode-agent[bot] Jun 23, 2026
fb3877b
ci: add use_github_token to bypass bot app requirement
joemarct Jun 23, 2026
849c59c
ci: configure git user before opencode run
joemarct Jun 23, 2026
220c7ac
ci: fix git auth for opencode pushes
joemarct Jun 23, 2026
161a615
fix: address 9 review issues
joemarct Jun 23, 2026
c68c5b9
fix: crash on chat listen --contact not found; per-event publish dedup
joemarct Jun 23, 2026
290b412
fix: address review issues 2-6 (publish dedup, cache staleness, subje…
joemarct Jun 23, 2026
5065878
test: add unit tests for chat primitives and ChatStore
joemarct Jun 23, 2026
c412de0
**Approve Nostr chat PR, 70 tests pass.**
opencode-agent[bot] Jun 23, 2026
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
24 changes: 18 additions & 6 deletions .github/workflows/opencode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,39 @@ jobs:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
contents: write
pull-requests: write
issues: read
issues: write
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
persist-credentials: false
persist-credentials: true

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'

- name: Install dependencies
run: npm ci
- name: Configure git
run: |
git config user.name "opencode-agent[bot]"
git config user.email "opencode-agent[bot]@users.noreply.github.com"

- name: Get latest opencode version
id: version
shell: bash
env:
GH_TOKEN: ${{ github.token }}
run: |
echo "version=$(gh release view --repo anomalyco/opencode --json tagName --jq .tagName | sed 's/^v//')" >> "$GITHUB_OUTPUT"

- name: Run opencode
uses: anomalyco/opencode/github@latest
env:
VERSION: ${{ steps.version.outputs.version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
with:
model: opencode/kimi-k2.5
use_github_token: true
143 changes: 142 additions & 1 deletion package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"bip39": "^3.1.0",
"chalk": "^5.4.1",
"commander": "^12.1.0",
"nostr-tools": "^2.23.3",
"js-sha256": "^0.9.0",
"qrcode-terminal": "^0.12.0",
"watchtower-cash-js": "^0.2.4"
Expand Down
Loading
Loading