refactor(core): migrate accounts and load file agents#30309
Open
thdxr wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@opencode-ai/core/account, then switch opencode consumers and tests to the core service{agent,agents}/**/*.mddirectories inConfigAgentPluginusing the sameConfigAgent.Infoschema as JSON agent entriesgray-matterfor frontmatter parsingValidation
cd packages/core && bunx prettier --check "src/account.ts" "src/account/sql.ts" "src/config/plugin/agent.ts" "src/plugin/boot.ts" "test/account.test.ts" "test/config/agent.test.ts" "package.json"cd packages/core && bun typecheckcd packages/core && bun test test/account.test.ts test/config/agent.test.tscd packages/opencode && bunx prettier --check "src/cli/cmd/account.ts" "src/config/config.ts" "src/effect/app-runtime.ts" "src/server/routes/instance/httpapi/groups/experimental.ts" "src/server/routes/instance/httpapi/handlers/experimental.ts" "src/server/routes/instance/httpapi/server.ts" "src/share/share-next.ts" "test/cli/error.test.ts" "test/config/config.test.ts" "test/fake/account.ts" "test/share/share-next.test.ts"cd packages/opencode && bun typecheckcd packages/opencode && bun test test/cli/error.test.ts test/config/config.test.ts test/share/share-next.test.tsbun turbo typecheck(pre-push hook)Known Failure
cd packages/core && bun test test/location-layer.test.tscurrently fails during database setup withSQLiteError: table 'permission' already exists, before reaching the changed plugin behavior.