Commit Graph

76 Commits

Author SHA1 Message Date
Shoubhit Dash 5ef404050c fix(skill): type expected skill failures (#28885) 2026-05-22 23:18:52 +05:30
Shoubhit Dash 5441710030 refactor(flags): migrate external skills flag (#27685) 2026-05-15 13:24:56 +05:30
Shoubhit Dash 007f189b91 refactor(flags): migrate claude code skills flag to RuntimeFlags (#27605) 2026-05-15 02:47:26 +05:30
Kit Langton 2296db6be8 Remove Zod from named errors (#26982) 2026-05-12 09:20:15 -04:00
Shoubhit Dash 9216acf052 chore: remove codesearch tool (#27019) 2026-05-12 13:44:02 +05:30
Kit Langton 5a03180bdb Drop unused domain Zod statics (#26927) 2026-05-11 16:10:58 -04:00
Kit Langton 9835fb0083 feat(skill): enable customize-opencode by default, link full schema (#26899) 2026-05-11 13:13:41 -04:00
opencode-agent[bot] 1e9ad82caf chore: generate 2026-05-10 02:06:39 +00:00
Kit Langton 387d82c31a feat(skill): built-in opencode-meta skill (#26617) 2026-05-09 22:05:37 -04:00
Dax 4ae8dd80c3 Move schema utilities into core (#26565) 2026-05-09 19:51:09 +00:00
Dax 182b79e419 fix(skill): allow missing descriptions (#26391) 2026-05-08 18:50:06 +00:00
Kit Langton ef11a6a9c7 test: use testEffect for system prompt test (#25047) 2026-04-30 12:51:32 -04:00
Aiden Cline 3df566eee2 fix: ensure disabling OPENCODE_DISABLE_CLAUDE_CODE_SKILLS doesnt disable external skills too (#25123) 2026-04-30 11:15:53 -05:00
Dax 07ac891a99 refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
opencode-agent[bot] 3b6dce1da2 chore: generate 2026-04-25 18:01:35 +00:00
Kit Langton 503f761d5c feat(httpapi): bridge catalog read endpoints (#24353) 2026-04-25 14:00:30 -04:00
Dax Raad 9031b8f108 core: move Global module to @opencode-ai/core for centralized path management
Move the Global module from packages/opencode/src/global to packages/core/src/global
to provide a unified location for managing XDG directories and application paths.
This eliminates duplicate path definitions across packages and ensures consistent
access to data, config, cache, state, log, and bin directories throughout the codebase.
2026-04-25 13:52:32 -04:00
Dax Raad 6bc94f94b1 core: consolidate shared infrastructure into core package
Moves effect logging, observability, runtime utilities, flags, installation
version info, and process utilities from opencode to core package. This
enables better code sharing across packages and establishes core as the
single source of truth for foundational utilities.

All internal imports updated to use @opencode-ai/core paths for consistency.
2026-04-25 13:30:37 -04:00
Dax 1865f4fc5f refactor: rename shared package to core (#24309) 2026-04-25 10:59:17 -04:00
Dax 500ed30754 perf: speed up skill directory discovery (#22990) 2026-04-17 01:35:47 +00:00
Kit Langton bf429102de refactor: unwrap Discovery namespace to flat exports + self-reexport (#22878) 2026-04-16 16:59:30 -04:00
Kit Langton defb3f64af refactor: collapse skill barrel into skill/index.ts (#22912) 2026-04-16 20:35:43 +00:00
Kit Langton 0249f58509 feat: unwrap config namespaces to flat exports + barrel (#22746) 2026-04-15 23:29:14 -04:00
Kit Langton d2ec847f0c feat: unwrap 11 util namespaces to flat exports + barrel (#22739) 2026-04-15 23:15:58 -04:00
Kit Langton 7159d09978 feat: unwrap InstanceState + EffectBridge namespaces to flat exports + barrel (#22721) 2026-04-16 02:45:45 +00:00
Kit Langton 5229f9f700 feat: unwrap uskill namespace to flat exports + barrel (#22714) 2026-04-16 02:17:19 +00:00
Kit Langton b5f4d032fb feat: unwrap Config namespace to flat exports + barrel (#22689) 2026-04-15 21:26:24 -04:00
Dax 780c051059 shared package (#22626) 2026-04-15 14:26:20 +00:00
Kit Langton fb40523548 refactor(skill): remove async facade exports (#22308) 2026-04-13 11:18:10 -04:00
Kit Langton 0a790bc740 refactor(effect): upgrade opencode to beta.46 context APIs (#21977) 2026-04-10 23:06:28 -04:00
Dax b2aee46183 core: refactor tool system to remove agent context from initialization (#21052) 2026-04-07 19:48:12 -04:00
opencode-agent[bot] a62a96603e chore: generate 2026-03-30 21:49:45 +00:00
Kit Langton 54a250fb38 refactor: replace Filesystem util with AppFileSystem service (#20127) 2026-03-30 21:48:28 +00:00
Kit Langton c6af9f1c8d effectify Skill service internals (#19364) 2026-03-27 10:15:51 -04:00
Kit Langton 86fc2389ce skill: use Effect.cached for load deduplication (#19165) 2026-03-26 00:55:43 +00:00
Kit Langton 9ccef679d7 effectify Bus service: migrate to Effect PubSub + InstanceState (#18579) 2026-03-25 20:19:24 -04:00
opencode-agent[bot] fd9a27ae04 chore: generate 2026-03-21 04:52:23 +00:00
Kit Langton b6aa472839 Move service state into InstanceState, flatten service facades (#18483) 2026-03-21 04:51:35 +00:00
Kit Langton 42a5ceb048 fix: apply Layer.fresh at instance service definition site (#18418) 2026-03-20 14:37:12 -04:00
jorge g 8fa53ae5a5 fix: stabilize agent and skill ordering in prompt descriptions (#18261)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-03-19 15:04:03 -05:00
Kit Langton c325ac5b5b feat(filesystem): add AppFileSystem service, migrate Snapshot (#18138) 2026-03-18 19:52:43 -04:00
Kit Langton 05f98c0e42 refactor(effect): unify service namespaces and align naming (#18093) 2026-03-18 13:34:36 -04:00
Kit Langton 2a6909cd07 refactor(truncation): effectify TruncateService, delete Scheduler (#17957) 2026-03-17 21:59:54 -04:00
Kit Langton cbb2e9b0f4 refactor(skill): effectify SkillService as scoped service (#17849) 2026-03-16 23:51:07 +00:00
Aiden Cline 88a6d5445c tweak: adjust skill presentation to be a little less token heavy (#17098) 2026-03-11 16:03:15 -05:00
Aiden Cline 250925fca8 tweak: adjust way skills are presented to agent to increase likelyhood of skill invocations. (#17053) 2026-03-11 10:24:55 -05:00
Dax f03cb504c4 refactor: migrate from Bun.Glob to npm glob package (#14317) 2026-02-19 13:40:09 -05:00
Dax Raad 350a377fca Revert "refactor: migrate from Bun.Glob to npm glob package"
This reverts commit 25917459f0.
2026-02-19 12:48:43 -05:00
Dax Raad 25917459f0 refactor: migrate from Bun.Glob to npm glob package
Replace Bun.Glob usage with a new Glob utility wrapper around the npm 'glob' package.
This moves us off Bun-specific APIs toward standard Node.js compatible solutions.

Changes:
- Add new src/util/glob.ts utility module with scan(), scanSync(), and match()
- Default include option is 'file' (only returns files, not directories)
- Add symlink option (default: false) to control symlink following
- Migrate all 12 files using Bun.Glob to use the new Glob utility
- Add comprehensive tests for the glob utility

Breaking changes:
- Removed support for include: 'dir' option (use include: 'all' and filter manually)
- symlink now defaults to false (was true in most Bun.Glob usages)

Files migrated:
- src/util/log.ts
- src/util/filesystem.ts
- src/tool/truncation.ts
- src/session/instruction.ts
- src/storage/json-migration.ts
- src/storage/storage.ts
- src/project/project.ts
- src/cli/cmd/tui/context/theme.tsx
- src/config/config.ts
- src/tool/registry.ts
- src/skill/skill.ts
- src/file/ignore.ts
2026-02-19 12:34:18 -05:00
Dax 019134be58 Remove use of Bun.file (#14215) 2026-02-19 11:32:32 -05:00