3
43
Fork
You've already forked opencode.el
16

Recently updated opencode (now version: 1.1.25), now M-x opencode doesn't work #16

Closed
opened 2026年01月19日 00:29:07 +01:00 by alexispurslane · 4 comments
Contributor
Copy link

I get this error and then an empty OpenCode... buffer opens:

Error running timer ‘plz--respond’: (error "error requesting /session: #s(plz-error nil #s(plz-response 1.1 500 ((access-control-allow-origin . *) (content-type . application/json) (date . 2026年1月18日 23:28:07 GMT) (content-length . 181)) {\"name\":\"UnknownError\",\"data\":{\"message\":\"Error: No such file or directory\\n at #run (native:100:9)\\n at then (native:150:9)\\n at processTicksAndRejections (native:7:39)\"}}) nil)")
Error running timer ‘plz--respond’: (error "error requesting /project/current: #s(plz-error nil #s(plz-response 1.1 500 ((access-control-allow-origin . *) (content-type . application/json) (date . 2026年1月18日 23:28:07 GMT) (content-length . 181)) {\"name\":\"UnknownError\",\"data\":{\"message\":\"Error: No such file or directory\\n at #run (native:100:9)\\n at then (native:150:9)\\n at processTicksAndRejections (native:7:39)\"}}) nil)")
C-x
I get this error and then an empty *OpenCode...* buffer opens: ``` Error running timer ‘plz--respond’: (error "error requesting /session: #s(plz-error nil #s(plz-response 1.1 500 ((access-control-allow-origin . *) (content-type . application/json) (date . 2026年1月18日 23:28:07 GMT) (content-length . 181)) {\"name\":\"UnknownError\",\"data\":{\"message\":\"Error: No such file or directory\\n at #run (native:100:9)\\n at then (native:150:9)\\n at processTicksAndRejections (native:7:39)\"}}) nil)") Error running timer ‘plz--respond’: (error "error requesting /project/current: #s(plz-error nil #s(plz-response 1.1 500 ((access-control-allow-origin . *) (content-type . application/json) (date . 2026年1月18日 23:28:07 GMT) (content-length . 181)) {\"name\":\"UnknownError\",\"data\":{\"message\":\"Error: No such file or directory\\n at #run (native:100:9)\\n at then (native:150:9)\\n at processTicksAndRejections (native:7:39)\"}}) nil)") C-x ```
Owner
Copy link

1.1.25 is working for me, that error says it can contact an http server on the expected port but the /session and /project/current endpoints aren't found... is something else running on opencodes default port of 4096? if in a terminal you just do opencode serve and curl localhost:4096/session does it work?

1.1.25 is working for me, that error says it can contact an http server on the expected port but the /session and /project/current endpoints aren't found... is something else running on opencodes default port of 4096? if in a terminal you just do `opencode serve` and `curl localhost:4096/session` does it work?
Author
Contributor
Copy link

Interesting. Initially, I had CodeNomad (another OpenCode frontend that starts its own OpenCode server) open, and I assumed opencode.el would just use that server. I tried closing CodeNomad and starting an opencode server via serve, but it didn't say it was listening on 4096, just the port for the web UI, so I didn't think to test opencode.el immediately; but having done that, it appears to open an empty sessions list buffer now, it appears to do the same thing:

Error running timer ‘plz--respond’: (error "error requesting /session: #s(plz-error nil #s(plz-response 1.1 500 ((access-control-allow-origin . *) (content-type . application/json) (date . 2026年1月18日 23:59:19 GMT) (content-length . 181)) {\"name\":\"UnknownError\",\"data\":{\"message\":\"Error: No such file or directory\\n at #run (native:100:9)\\n at then (native:150:9)\\n at processTicksAndRejections (native:7:39)\"}}) nil)")
Error running timer ‘plz--respond’: (error "error requesting /project/current:
#s(plz-error nil #s(plz-response 1.1 500 ((access-control-allow-origin . *) (content-type . application/json) (date . 2026年1月18日 23:59:19 GMT) (content-length . 181)) {\"name\":\"UnknownError\",\"data\":{\"message\":\"Error: No such file or directory\\n at #run (native:100:9)\\n at then (native:150:9)\\n at processTicksAndRejections (native:7:39)\"}}) nil)")

Although curl seems to work:

[
 {
 "id": "ses_46beeadc6ffe5L9ErBMGbZhYkS",
 "version": "1.1.2",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/blog/mirrors",
 "title": "Analyzing mirrored websites *.org URLs collection",
 "time": {
 "created": 1767715721785,
 "updated": 1767716238024
 },
 "summary": {
 "additions": 0,
 "deletions": 0,
 "files": 0
 }
 },
 {
 "id": "ses_488c04af7ffeeorAzSgULFV5cq",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "title": "Compiling templates into oxen for runtime-free reading",
 "time": {
 "created": 1767232222472,
 "updated": 1767232523782
 },
 "summary": {
 "additions": null,
 "deletions": null,
 "files": 7
 }
 },
 {
 "id": "ses_488eea927ffe6amMuciyVXfjLD",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "title": "Analyzing tag-based file mapping with page-template.html",
 "time": {
 "created": 1767229183704,
 "updated": 1767232216362
 },
 "summary": {
 "additions": null,
 "deletions": null,
 "files": 3
 }
 },
 {
 "id": "ses_488f73dd7ffepmXe7aEKMvOW9h",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "title": "Removing debug/info prints in @main.go, adding end stats",
 "time": {
 "created": 1767228621352,
 "updated": 1767229110957
 },
 "summary": {
 "additions": null,
 "deletions": null,
 "files": 2
 }
 },
 {
 "id": "ses_488f9f65cffeSnWYKHPb8rOyhb",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "title": "Debugging to Stats: Remove debug prints in main.go, aggregate at end",
 "time": {
 "created": 1767228443043,
 "updated": 1767228590420
 },
 "summary": {
 "additions": 5,
 "deletions": 5,
 "files": 1
 }
 },
 {
 "id": "ses_4890a3cadffeslRXbgerRC1rWa",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "parentID": "ses_48912dea7ffe3XK09364XiEQf6",
 "title": "Update template and rendering (@general subagent)",
 "time": {
 "created": 1767227376466,
 "updated": 1767228441796
 },
 "summary": {
 "additions": 80,
 "deletions": 54,
 "files": 2
 }
 },
 {
 "id": "ses_48912dea7ffe3XK09364XiEQf6",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "title": "Analyzing extractTags extractTitleConfusion in main.go",
 "time": {
 "created": 1767226810712,
 "updated": 1767227720272
 },
 "summary": {
 "additions": 94,
 "deletions": 43,
 "files": 2
 }
 },
 {
 "id": "ses_489277c55ffeONn1By77270fa1",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "title": "Designing walkdirectory fileinfo struct with path, modtime, preview, title, tags",
 "time": {
 "created": 1767225459626,
 "updated": 1767226807740
 },
 "summary": {
 "additions": null,
 "deletions": null,
 "files": 2
 }
 },
 {
 "id": "ses_4892dbc3fffe3vko37wZ6osu3f",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "title": "Building tag pages in Go: html templates, article lists, and tag mapping",
 "time": {
 "created": 1767225050048,
 "updated": 1767225456904
 },
 "summary": {
 "additions": 11,
 "deletions": 3,
 "files": 1
 }
 },
 {
 "id": "ses_48b41ee12ffe1pU11BLD3AFhdu",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "title": "Implementing rebuild forcing and ID lookup in main.go",
 "time": {
 "created": 1767190172141,
 "updated": 1767190714610
 },
 "summary": {
 "additions": 37,
 "deletions": 9,
 "files": 1
 }
 },
 {
 "id": "ses_48b46803cffelQcCzHojiwxJk9",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "parentID": "ses_48dd1db59ffeSuaWxo11lxMVlC",
 "title": "Find generateHTML function (@explore subagent)",
 "time": {
 "created": 1767189872579,
 "updated": 1767189930117
 },
 "summary": {
 "additions": 0,
 "deletions": 0,
 "files": 0
 }
 },
 {
 "id": "ses_48b476867ffeyAIGdwVaeu7TuA",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "parentID": "ses_48dc56969ffeFxYM3s1xdvHqs5",
 "title": "Find replaceUUIDLinks function (@explore subagent)",
 "time": {
 "created": 1767189813144,
 "updated": 1767189825458
 },
 "summary": {
 "additions": 1,
 "deletions": 1,
 "files": 1
 }
 },
 {
 "id": "ses_48dc56969ffeFxYM3s1xdvHqs5",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "parentID": "ses_48dd1db59ffeSuaWxo11lxMVlC",
 "title": "Modify path replacement logic (@general subagent)",
 "time": {
 "created": 1767148000918,
 "updated": 1767189867649
 },
 "summary": {
 "additions": 16,
 "deletions": 7,
 "files": 1
 }
 },
 {
 "id": "ses_48dc61d42ffeW3xsJtfozExj0R",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "parentID": "ses_48dd1db59ffeSuaWxo11lxMVlC",
 "title": "Find path handling patterns (@explore subagent)",
 "time": {
 "created": 1767147954877,
 "updated": 1767147997469
 },
 "summary": {
 "additions": 0,
 "deletions": 0,
 "files": 0
 }
 },
 {
 "id": "ses_48dcb803bffe0Vn9f3e5LR4rQd",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "parentID": "ses_48dd1db59ffeSuaWxo11lxMVlC",
 "title": "Find HTML generation patterns (@explore subagent)",
 "time": {
 "created": 1767147601860,
 "updated": 1767147627879
 },
 "summary": {
 "additions": 0,
 "deletions": 0,
 "files": 0
 }
 },
 {
 "id": "ses_48dd16e39ffeDOpPOzAm1cc4iY",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "parentID": "ses_48dd1db59ffeSuaWxo11lxMVlC",
 "title": "Research Aho-Corasick API (@general subagent)",
 "time": {
 "created": 1767147213254,
 "updated": 1767147289191
 },
 "summary": {
 "additions": 0,
 "deletions": 0,
 "files": 0
 }
 },
 {
 "id": "ses_48dd1db59ffeSuaWxo11lxMVlC",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "title": "Replacing replaceall with ahocorasick in @main.go",
 "time": {
 "created": 1767147185318,
 "updated": 1767190169937
 },
 "summary": {
 "additions": null,
 "deletions": null,
 "files": 3
 }
 },
 {
 "id": "ses_48dd2fa09ffeAwKHsDZOxab9kF",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "title": "Analyzing main.go oxen replaceall ahocorasick Read tool input",
 "time": {
 "created": 1767147111926,
 "updated": 1767147142630
 },
 "summary": {
 "additions": 0,
 "deletions": 0,
 "files": 0
 }
 },
 {
 "id": "ses_48e0d3c93ffefgMjCY9znxm7Zc",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "title": "Implementing Phase 2+4 in Oxen MD to HTML pipeline",
 "time": {
 "created": 1767143293804,
 "updated": 1767147083241
 },
 "summary": {
 "additions": null,
 "deletions": null,
 "files": 3
 }
 },
 {
 "id": "ses_48e3a82c7ffe7kerDMc5g2mpy8",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "title": "Implementing concurrent org processing and ID mapping in Go",
 "time": {
 "created": 1767140326712,
 "updated": 1767143291862
 },
 "summary": {
 "additions": null,
 "deletions": null,
 "files": 5
 }
 },
 {
 "id": "ses_48e58a347ffeXhqzMWuLjglwvl",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen",
 "title": "Counting UUIDs in current buffer (Elisp)",
 "time": {
 "created": 1767138352312,
 "updated": 1767139647489
 },
 "summary": {
 "additions": 0,
 "deletions": 0,
 "files": 0
 }
 },
 {
 "id": "ses_4929ae17cffeB83y7SEAOSOSQS",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes",
 "title": "Analyzing org-id-link resolution in build_blog.py",
 "time": {
 "created": 1767066902147,
 "updated": 1767103914025
 },
 "summary": {
 "additions": null,
 "deletions": null,
 "files": 5
 }
 },
 {
 "id": "ses_4929d5c8bffeaM18wcyhjwVlxi",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes",
 "title": "Resolving org-id-locations in Org files to file URLs in build_blog.py",
 "time": {
 "created": 1767066739572,
 "updated": 1767066753250
 },
 "summary": {
 "additions": 0,
 "deletions": 0,
 "files": 0
 }
 },
 {
 "id": "ses_492bbf68cffeFHxyAVT1QtDm9o",
 "version": "1.0.193",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes",
 "title": "rewriting style.css from scratch with reset and comments",
 "time": {
 "created": 1767064734067,
 "updated": 1767074918728
 },
 "summary": {
 "additions": 552,
 "deletions": 1405,
 "files": 8
 }
 },
 {
 "id": "ses_49350b278ffeC08gR4oMVzAFya",
 "version": "1.0.142",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes",
 "title": "Organizing org-mode files by TOP-LEVEL TITLE and reheading",
 "time": {
 "created": 1767054986631,
 "updated": 1767064713783
 },
 "summary": {
 "additions": null,
 "deletions": null,
 "files": 127
 }
 },
 {
 "id": "ses_4b1f08b9effen0X5H3GVyR7xYW",
 "version": "1.0.142",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes",
 "title": "Tagging blog posts with glm-4.7 opencode script",
 "time": {
 "created": 1766541194337,
 "updated": 1766545379172
 },
 "summary": {
 "additions": 1828,
 "deletions": 283,
 "files": 23
 }
 },
 {
 "id": "ses_4b1fb3e04ffeK8aMTr40Fai64N",
 "version": "1.0.142",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes",
 "title": "Generating tag pages from linked posts in batch mode",
 "time": {
 "created": 1766540493307,
 "updated": 1766541186396
 },
 "summary": {
 "additions": 833,
 "deletions": 0,
 "files": 21
 }
 },
 {
 "id": "ses_4b20c7e7affeeE0OzQyK82A1oA",
 "version": "1.0.142",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes",
 "title": "Debugging org-entry-put tag handling in split-blog.el",
 "time": {
 "created": 1766539362693,
 "updated": 1766540466001
 },
 "summary": {
 "additions": 0,
 "deletions": 0,
 "files": 0
 }
 },
 {
 "id": "ses_4b21bd935ffenb4EWOhl45owoe",
 "version": "1.0.142",
 "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c",
 "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes",
 "title": "Greeting check-in",
 "time": {
 "created": 1766538356426,
 "updated": 1766539260553
 },
 "summary": {
 "additions": 0,
 "deletions": 0,
 "files": 0
 }
 }
]
Interesting. Initially, I had CodeNomad (another OpenCode frontend that starts its own OpenCode server) open, and I assumed opencode.el would just use that server. I tried closing CodeNomad and starting an opencode server via `serve`, but it didn't say it was listening on 4096, just the port for the web UI, so I didn't think to test opencode.el immediately; but having done that, it appears to open an empty sessions list buffer now, it appears to do the same thing: ``` Error running timer ‘plz--respond’: (error "error requesting /session: #s(plz-error nil #s(plz-response 1.1 500 ((access-control-allow-origin . *) (content-type . application/json) (date . 2026年1月18日 23:59:19 GMT) (content-length . 181)) {\"name\":\"UnknownError\",\"data\":{\"message\":\"Error: No such file or directory\\n at #run (native:100:9)\\n at then (native:150:9)\\n at processTicksAndRejections (native:7:39)\"}}) nil)") Error running timer ‘plz--respond’: (error "error requesting /project/current: #s(plz-error nil #s(plz-response 1.1 500 ((access-control-allow-origin . *) (content-type . application/json) (date . 2026年1月18日 23:59:19 GMT) (content-length . 181)) {\"name\":\"UnknownError\",\"data\":{\"message\":\"Error: No such file or directory\\n at #run (native:100:9)\\n at then (native:150:9)\\n at processTicksAndRejections (native:7:39)\"}}) nil)") ``` Although curl seems to work: ``` [ { "id": "ses_46beeadc6ffe5L9ErBMGbZhYkS", "version": "1.1.2", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/blog/mirrors", "title": "Analyzing mirrored websites *.org URLs collection", "time": { "created": 1767715721785, "updated": 1767716238024 }, "summary": { "additions": 0, "deletions": 0, "files": 0 } }, { "id": "ses_488c04af7ffeeorAzSgULFV5cq", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "title": "Compiling templates into oxen for runtime-free reading", "time": { "created": 1767232222472, "updated": 1767232523782 }, "summary": { "additions": null, "deletions": null, "files": 7 } }, { "id": "ses_488eea927ffe6amMuciyVXfjLD", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "title": "Analyzing tag-based file mapping with page-template.html", "time": { "created": 1767229183704, "updated": 1767232216362 }, "summary": { "additions": null, "deletions": null, "files": 3 } }, { "id": "ses_488f73dd7ffepmXe7aEKMvOW9h", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "title": "Removing debug/info prints in @main.go, adding end stats", "time": { "created": 1767228621352, "updated": 1767229110957 }, "summary": { "additions": null, "deletions": null, "files": 2 } }, { "id": "ses_488f9f65cffeSnWYKHPb8rOyhb", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "title": "Debugging to Stats: Remove debug prints in main.go, aggregate at end", "time": { "created": 1767228443043, "updated": 1767228590420 }, "summary": { "additions": 5, "deletions": 5, "files": 1 } }, { "id": "ses_4890a3cadffeslRXbgerRC1rWa", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "parentID": "ses_48912dea7ffe3XK09364XiEQf6", "title": "Update template and rendering (@general subagent)", "time": { "created": 1767227376466, "updated": 1767228441796 }, "summary": { "additions": 80, "deletions": 54, "files": 2 } }, { "id": "ses_48912dea7ffe3XK09364XiEQf6", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "title": "Analyzing extractTags extractTitleConfusion in main.go", "time": { "created": 1767226810712, "updated": 1767227720272 }, "summary": { "additions": 94, "deletions": 43, "files": 2 } }, { "id": "ses_489277c55ffeONn1By77270fa1", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "title": "Designing walkdirectory fileinfo struct with path, modtime, preview, title, tags", "time": { "created": 1767225459626, "updated": 1767226807740 }, "summary": { "additions": null, "deletions": null, "files": 2 } }, { "id": "ses_4892dbc3fffe3vko37wZ6osu3f", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "title": "Building tag pages in Go: html templates, article lists, and tag mapping", "time": { "created": 1767225050048, "updated": 1767225456904 }, "summary": { "additions": 11, "deletions": 3, "files": 1 } }, { "id": "ses_48b41ee12ffe1pU11BLD3AFhdu", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "title": "Implementing rebuild forcing and ID lookup in main.go", "time": { "created": 1767190172141, "updated": 1767190714610 }, "summary": { "additions": 37, "deletions": 9, "files": 1 } }, { "id": "ses_48b46803cffelQcCzHojiwxJk9", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "parentID": "ses_48dd1db59ffeSuaWxo11lxMVlC", "title": "Find generateHTML function (@explore subagent)", "time": { "created": 1767189872579, "updated": 1767189930117 }, "summary": { "additions": 0, "deletions": 0, "files": 0 } }, { "id": "ses_48b476867ffeyAIGdwVaeu7TuA", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "parentID": "ses_48dc56969ffeFxYM3s1xdvHqs5", "title": "Find replaceUUIDLinks function (@explore subagent)", "time": { "created": 1767189813144, "updated": 1767189825458 }, "summary": { "additions": 1, "deletions": 1, "files": 1 } }, { "id": "ses_48dc56969ffeFxYM3s1xdvHqs5", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "parentID": "ses_48dd1db59ffeSuaWxo11lxMVlC", "title": "Modify path replacement logic (@general subagent)", "time": { "created": 1767148000918, "updated": 1767189867649 }, "summary": { "additions": 16, "deletions": 7, "files": 1 } }, { "id": "ses_48dc61d42ffeW3xsJtfozExj0R", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "parentID": "ses_48dd1db59ffeSuaWxo11lxMVlC", "title": "Find path handling patterns (@explore subagent)", "time": { "created": 1767147954877, "updated": 1767147997469 }, "summary": { "additions": 0, "deletions": 0, "files": 0 } }, { "id": "ses_48dcb803bffe0Vn9f3e5LR4rQd", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "parentID": "ses_48dd1db59ffeSuaWxo11lxMVlC", "title": "Find HTML generation patterns (@explore subagent)", "time": { "created": 1767147601860, "updated": 1767147627879 }, "summary": { "additions": 0, "deletions": 0, "files": 0 } }, { "id": "ses_48dd16e39ffeDOpPOzAm1cc4iY", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "parentID": "ses_48dd1db59ffeSuaWxo11lxMVlC", "title": "Research Aho-Corasick API (@general subagent)", "time": { "created": 1767147213254, "updated": 1767147289191 }, "summary": { "additions": 0, "deletions": 0, "files": 0 } }, { "id": "ses_48dd1db59ffeSuaWxo11lxMVlC", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "title": "Replacing replaceall with ahocorasick in @main.go", "time": { "created": 1767147185318, "updated": 1767190169937 }, "summary": { "additions": null, "deletions": null, "files": 3 } }, { "id": "ses_48dd2fa09ffeAwKHsDZOxab9kF", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "title": "Analyzing main.go oxen replaceall ahocorasick Read tool input", "time": { "created": 1767147111926, "updated": 1767147142630 }, "summary": { "additions": 0, "deletions": 0, "files": 0 } }, { "id": "ses_48e0d3c93ffefgMjCY9znxm7Zc", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "title": "Implementing Phase 2+4 in Oxen MD to HTML pipeline", "time": { "created": 1767143293804, "updated": 1767147083241 }, "summary": { "additions": null, "deletions": null, "files": 3 } }, { "id": "ses_48e3a82c7ffe7kerDMc5g2mpy8", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "title": "Implementing concurrent org processing and ID mapping in Go", "time": { "created": 1767140326712, "updated": 1767143291862 }, "summary": { "additions": null, "deletions": null, "files": 5 } }, { "id": "ses_48e58a347ffeXhqzMWuLjglwvl", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes/tools/oxen", "title": "Counting UUIDs in current buffer (Elisp)", "time": { "created": 1767138352312, "updated": 1767139647489 }, "summary": { "additions": 0, "deletions": 0, "files": 0 } }, { "id": "ses_4929ae17cffeB83y7SEAOSOSQS", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes", "title": "Analyzing org-id-link resolution in build_blog.py", "time": { "created": 1767066902147, "updated": 1767103914025 }, "summary": { "additions": null, "deletions": null, "files": 5 } }, { "id": "ses_4929d5c8bffeaM18wcyhjwVlxi", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes", "title": "Resolving org-id-locations in Org files to file URLs in build_blog.py", "time": { "created": 1767066739572, "updated": 1767066753250 }, "summary": { "additions": 0, "deletions": 0, "files": 0 } }, { "id": "ses_492bbf68cffeFHxyAVT1QtDm9o", "version": "1.0.193", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes", "title": "rewriting style.css from scratch with reset and comments", "time": { "created": 1767064734067, "updated": 1767074918728 }, "summary": { "additions": 552, "deletions": 1405, "files": 8 } }, { "id": "ses_49350b278ffeC08gR4oMVzAFya", "version": "1.0.142", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes", "title": "Organizing org-mode files by TOP-LEVEL TITLE and reheading", "time": { "created": 1767054986631, "updated": 1767064713783 }, "summary": { "additions": null, "deletions": null, "files": 127 } }, { "id": "ses_4b1f08b9effen0X5H3GVyR7xYW", "version": "1.0.142", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes", "title": "Tagging blog posts with glm-4.7 opencode script", "time": { "created": 1766541194337, "updated": 1766545379172 }, "summary": { "additions": 1828, "deletions": 283, "files": 23 } }, { "id": "ses_4b1fb3e04ffeK8aMTr40Fai64N", "version": "1.0.142", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes", "title": "Generating tag pages from linked posts in batch mode", "time": { "created": 1766540493307, "updated": 1766541186396 }, "summary": { "additions": 833, "deletions": 0, "files": 21 } }, { "id": "ses_4b20c7e7affeeE0OzQyK82A1oA", "version": "1.0.142", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes", "title": "Debugging org-entry-put tag handling in split-blog.el", "time": { "created": 1766539362693, "updated": 1766540466001 }, "summary": { "additions": 0, "deletions": 0, "files": 0 } }, { "id": "ses_4b21bd935ffenb4EWOhl45owoe", "version": "1.0.142", "projectID": "b2c06e5ed76a224fa14661cf23f08112a4b0457c", "directory": "/Users/alexispurslane/Sync/Alexis Files Private/Notes", "title": "Greeting check-in", "time": { "created": 1766538356426, "updated": 1766539260553 }, "summary": { "additions": 0, "deletions": 0, "files": 0 } } ] ```
Owner
Copy link

hm just to be sure opencode-api-url is set to the same host:port you're getting with curl (check after it's tried connecting)? also can you try setting opencode-api-log-max-lines to something high and seeing what's in the *opencode-api-log* buffer?

Opencode serves the api from the same endpoint it also serves the webui.

I'm not sure how CodeNomad works, but for the api server I automatically start from opencode.el it can't actually be used from other clients, as I set a random OPENCODE_SERVER_PASSWORD for it if the user hasn't configured opencode-server-password, to avoid automatically running an unauthenticated service that makes people's computers less secure
edit: but if codenomad was setting authentication, then I think you would get an authentication error rather than a error about endpoint not found

hm just to be sure `opencode-api-url` is set to the same host:port you're getting with curl (check after it's tried connecting)? also can you try setting `opencode-api-log-max-lines` to something high and seeing what's in the `*opencode-api-log*` buffer? Opencode serves the api from the same endpoint it also serves the webui. I'm not sure how CodeNomad works, but for the api server I automatically start from `opencode.el` it can't actually be used from other clients, as I set a random `OPENCODE_SERVER_PASSWORD` for it if the user hasn't configured `opencode-server-password`, to avoid automatically running an unauthenticated service that [makes people's computers less secure](https://cy.md/opencode-rce/) edit: but if codenomad was setting authentication, then I think you would get an authentication error rather than a error about endpoint not found
Owner
Copy link

I'm cleaning up old issues, so closing this, but if you're still getting errors please reopen and I'm happy to help debug.

I'm cleaning up old issues, so closing this, but if you're still getting errors please reopen and I'm happy to help debug.
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sczi/opencode.el#16
Reference in a new issue
sczi/opencode.el
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?