-
Notifications
You must be signed in to change notification settings - Fork 14
refactor: move Global/log/flag/cross-spawn/npm into @opencode-ai/core #266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
01fbe01
refactor: move Global/log/flag/cross-spawn/npm into @opencode-ai/core
Astro-Han d33e08a
fix(npm): preserve PawWork carve-outs in core npm move
Astro-Han 53e5bb6
fix(lsp): re-emit InstallFailed Bus event around core Npm calls
Astro-Han ec90239
chore(core): drop dead remnants from the npm move
Astro-Han 6b82b03
fix(core): complete observability carve-out for the npm move
Astro-Han 07d498d
fix(app): point e2e-local.ts at moved log module
Astro-Han 5e335cb
fix(global): re-export core Global from opencode local
Astro-Han File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,28 +1,46 @@ | ||
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "version": "1.14.19", | ||
| "version": "1.14.28", | ||
| "name": "@opencode-ai/core", | ||
| "type": "module", | ||
| "license": "MIT", | ||
| "private": true, | ||
| "scripts": { | ||
| "test": "bun test", | ||
| "test:ci": "mkdir -p .artifacts/unit && bun test --timeout 30000 --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml", | ||
| "typecheck": "tsgo --noEmit" | ||
| }, | ||
| "exports": { | ||
| "./*": "./src/*.ts" | ||
| }, | ||
| "imports": {}, | ||
| "devDependencies": { | ||
| "@tsconfig/bun": "catalog:", | ||
| "@types/bun": "catalog:" | ||
| "@types/bun": "catalog:", | ||
| "@types/cross-spawn": "catalog:", | ||
| "@types/npmcli__arborist": "6.3.3", | ||
| "@types/semver": "catalog:" | ||
| }, | ||
| "dependencies": { | ||
| "@effect/opentelemetry": "catalog:", | ||
| "@effect/platform-node": "catalog:", | ||
| "@npmcli/arborist": "9.4.0", | ||
| "@npmcli/config": "10.8.1", | ||
| "@opentelemetry/api": "1.9.0", | ||
| "@opentelemetry/context-async-hooks": "2.6.1", | ||
| "@opentelemetry/exporter-trace-otlp-http": "0.214.0", | ||
| "@opentelemetry/sdk-trace-base": "2.6.1", | ||
| "@opentelemetry/sdk-trace-node": "2.6.1", | ||
| "effect": "catalog:", | ||
| "cross-spawn": "catalog:", | ||
| "glob": "13.0.5", | ||
| "mime-types": "3.0.2", | ||
| "minimatch": "10.2.5", | ||
| "semver": "^7.6.3", | ||
| "xdg-basedir": "5.1.0", | ||
| "zod": "catalog:" | ||
| }, | ||
| "overrides": { | ||
| "drizzle-orm": "catalog:" | ||
| } | ||
| } | ||
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
2 changes: 1 addition & 1 deletion
2
packages/opencode/src/effect/logger.ts → packages/core/src/effect/logger.ts
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
File renamed without changes.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.