Skip to content

Opencode appname fixes - #33023

Closed
Grigory-Rylov wants to merge 19 commits into
anomalyco:devfrom
Grigory-Rylov:opencode-appname-fixes
Closed

Opencode appname fixes#33023
Grigory-Rylov wants to merge 19 commits into
anomalyco:devfrom
Grigory-Rylov:opencode-appname-fixes

Conversation

@Grigory-Rylov

Copy link
Copy Markdown

Issue for this PR

Closes #

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR.

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

Grigory Rylov and others added 19 commits June 14, 2026 23:30
VK Messenger gateway for OpenCode/lildax AI server.
Bridges VK chat with local LLM via OpenCode API.

Changes to lildax:
- Add --provider-url and --model CLI flags for direct model configuration
- Disable authentication (empty password)
- Remove SessionExecution.noopLayer from defaultLayer
- Add cliProviderPlugin for dynamic model registration

Bot features:
- Session management with OpenCode API
- File attachments support
- Permission auto-approval for /tmp
- Question/answer handling
- Multiple commands (/status, /models, /restart, etc.)
- Subagent tracking with child pollers
- Add DELETE /api/session/:sessionID endpoint to server API
- Add SessionV2.delete() method that publishes SessionV1.Event.Deleted
- Bot now calls delete API before clearing local session cache on model switch
- Fix session_mgr.remove() to also clean up workdir and child sessions
- Add --timeout flag to 'opencode serve' command (milliseconds)
- Pass timeout through to provider settings for AbortSignal.timeout
- Increase server.socket timeout to 30 minutes (1_800_000ms)
- Bot reads request_timeout from config.json (default 30min/1800000ms)
- package.json: restore catalog entries (opentui/solid/sentry) required
  for bun install; pin @solidjs/start to npm 1.3.2 (pkg.pr.new unreachable)
- build_opencode.sh: build a single native target with --skip-install
- global.ts: dynamic --app-name path resolution (resolveAppPaths/Proxy);
  create app-name dirs synchronously in make()
- logging.ts: ensure the log dir exists before opening the log file so a
  custom --app-name no longer crashes on first start
- misc provider/server/cli/bot updates carried in the working tree

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • No "Type of change" checkbox is checked. Please select at least one.
  • No issue referenced. Please add Closes #<number> linking to the relevant issue.
  • "How did you verify your code works?" section is empty. Please explain how you tested.
  • Not all checklist items are checked. Please confirm you have tested locally and have not included unrelated changes.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Jun 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hey! Your PR title Opencode appname fixes doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@Grigory-Rylov
Grigory-Rylov deleted the opencode-appname-fixes branch June 19, 2026 18:59
@Grigory-Rylov
Grigory-Rylov restored the opencode-appname-fixes branch June 19, 2026 19:00
@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

Found 1 potentially related PR:

PR #8963: "feat: add directory override env vars and OPENCODE_APPNAME for portable mode and profile isolation"

This could indicate that PR #33023 may be addressing bugs or improvements related to the appname functionality that was introduced in #8963.

@Grigory-Rylov
Grigory-Rylov deleted the opencode-appname-fixes branch June 19, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs:compliance This means the issue will auto-close after 2 hours. needs:title

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant