Commit Graph

291 Commits

Author SHA1 Message Date
YeonGyu-Kim 25d75be6db fix: include codex plugin manifest in npm package 2026-05-30 23:45:35 +09:00
YeonGyu-Kim 166a6f42f6 docs(repo): batch 86 (11 files) 2026-05-30 19:12:15 +09:00
github-actions[bot] 36e69f8b3c release: v4.5.1 2026-05-26 10:08:16 +00:00
github-actions[bot] d7b4072a90 release: v4.5.0 2026-05-26 07:54:27 +00:00
YeonGyu-Kim 72119b3aa3 fix(package): ship dot-directory command assets
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-25 17:18:59 +09:00
YeonGyu-Kim 96a9365044 build(prompts-core): bundle markdown prompt variants
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-24 18:29:05 +09:00
YeonGyu-Kim 74d5f7018d chore(prompts-core): wire package typecheck
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-24 17:28:09 +09:00
YeonGyu-Kim 4338ddb898 feat(prompts-core): add package skeleton
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-24 17:16:49 +09:00
github-actions[bot] 41c98e5109 release: v4.4.0 2026-05-23 18:29:42 +00:00
github-actions[bot] aa3a2f2e8c release: v4.3.1 2026-05-22 14:06:47 +00:00
github-actions[bot] 4e0dc7fa7b release: v4.3.0 2026-05-21 15:19:33 +00:00
YeonGyu-Kim 4ea76365cd refactor(packages): extract hashline-core package
Move the hash-anchored edit core (hash computation, validation, edit operations, text normalization, chunk formatter, diff utilities, and a runtime-aware xxHash32 binding) into a new @oh-my-opencode/hashline-core workspace package.

The src/tools/hashline-edit/ surface becomes a set of thin re-export shims, so existing import paths in the plugin keep working while the pure logic lives behind a stable package boundary that has no opencode runtime dependencies.

Tests: bun test packages/hashline-core src/tools/hashline-edit
2026-05-21 16:19:38 +09:00
YeonGyu-Kim 4bbf1d9388 refactor(packages): rename rules-core to rules-engine
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-21 12:50:10 +09:00
YeonGyu-Kim 7c7aa28160 refactor(packages): extract agents-md-core package 2026-05-21 12:50:10 +09:00
YeonGyu-Kim 2748009ff2 refactor(packages): extract model-core package 2026-05-21 12:49:50 +09:00
YeonGyu-Kim f7ceb03efe refactor(packages): extract boulder-state package 2026-05-21 12:49:33 +09:00
YeonGyu-Kim 7028c1f40a refactor(packages): extract comment-checker-core package 2026-05-21 12:49:10 +09:00
YeonGyu-Kim 3b303e79f4 refactor(packages): extract ast-grep-core from ast-grep-mcp 2026-05-21 12:48:43 +09:00
YeonGyu-Kim a5c1d71001 refactor(packages): extract utils package 2026-05-21 12:48:43 +09:00
YeonGyu-Kim d7dbe7cdb0 Merge pull request #2988 from odedindi/fix/add-server-export
fix(package): add ./server export for OpenCode-Go plugin compatibility
2026-05-21 00:57:55 +09:00
github-actions[bot] efe0458cd3 release: v4.2.3 2026-05-20 09:36:37 +00:00
YeonGyu-Kim 06f6709317 build: wire ast-grep MCP into release gates
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-18 21:28:12 +09:00
YeonGyu-Kim 472c293141 chore(packages): declare shared tool workspaces
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-18 21:27:36 +09:00
YeonGyu-Kim f925d13049 chore(deps): update root dependencies
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-18 20:55:17 +09:00
YeonGyu-Kim f6fba0b154 chore(deps): bump @code-yeongyu/comment-checker to 0.8.0 2026-05-18 19:45:10 +09:00
github-actions[bot] 751f969fac release: v4.2.0 2026-05-18 08:10:56 +00:00
YeonGyu-Kim 7187db6ede chore(mcp): move lsp submodule under packages 2026-05-18 16:00:40 +09:00
YeonGyu-Kim 7e777b0cde chore(mcp): ship vendored lsp cli in npm artifacts
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-18 13:21:13 +09:00
YeonGyu-Kim c9ec11dd51 bump comment-checker to 0.7.1 2026-05-17 00:51:50 +09:00
YeonGyu-Kim a19c1bfc6f chore(release): bump version to 4.2.0
The next release adds public exports for the prompt-async-gate primitives
(promptAsyncAfterSessionIdle, promptAfterSessionIdle,
releasePromptAsyncReservation, DEFAULT_PROMPT_ASYNC_POST_DISPATCH_HOLD_MS)
and introduces new safety semantics that affect 13+ internal hook callers.
Per semver, adding public exports mandates a MINOR bump from 4.1.x.
No public API removals or breaking signature changes, so this is NOT MAJOR.

Closes pre-publish-review version-bump consensus

Co-authored-by: api-surface (deep / gpt-5.3-codex high)
2026-05-16 00:49:03 +09:00
YeonGyu-Kim d8f52aae7f test: run suite without split runner 2026-05-15 16:26:57 +09:00
github-actions[bot] c75deee54c release: v4.1.2 2026-05-14 06:38:21 +00:00
YeonGyu-Kim f10251b59d chore(tooling): refresh safe deps and checks 2026-05-14 13:46:11 +09:00
github-actions[bot] f44d94413c release: v4.1.1 2026-05-13 08:15:11 +00:00
github-actions[bot] 9edaa6e90b release: v4.1.0 2026-05-13 02:32:42 +00:00
YeonGyu-Kim 4150092e9a test: run suite through isolated mock runner 2026-05-12 15:30:45 +09:00
acamq 5394b29589 fix(deps): patch vulnerable mcp transitives 2026-05-11 16:14:45 -06:00
YeonGyu-Kim 2b2f21e0a1 chore(test): scope root bun test to bin/script/src
Default `bun test` recurses into every directory and would pick up
`web/e2e/*.spec.ts` once the marketing site lands. Explicitly listing
the existing test roots (matching script/run-ci-tests.ts TEST_ROOTS)
keeps plugin tests isolated from web E2E tests without needing a
`testPathIgnorePatterns` that bunfig.toml does not support yet.
2026-05-08 13:35:00 +09:00
github-actions[bot] 44f8e28055 release: v4.0.0 2026-05-07 10:13:09 +00:00
github-actions[bot] 60dfac871f release: v3.17.15 2026-05-06 04:52:53 +00:00
YeonGyu-Kim f8defe2588 fix(node-runtime-compat): harden Bun spawn shim 2026-05-05 22:59:43 +09:00
YeonGyu-Kim 3ddc757b15 fix(bun-spawn-shim): eliminate globalThis.Bun top-level destructures for Electron/Node compat
Root cause: bun build --target bun inlines top-level
  var { spawn } = globalThis.Bun;
for every file that contains 'import { spawn } from "bun"'. On Node/Electron
where globalThis.Bun is undefined, this crashes with
  Cannot destructure property 'spawn' of 'globalThis.Bun' as it is undefined.
26 source files had this import; the bundled output had 25 top-level destructures.

Fix:
- Add src/shared/bun-spawn-shim.ts: a thin wrapper that
  - delegates to Bun.spawn/spawnSync when globalThis.Bun is present (real Bun)
  - falls back to static ESM imports of node:child_process otherwise
  - uses static 'import { spawn } from "node:child_process"' so Bun bundler
    does NOT emit any globalThis.Bun destructures for this module
- Replace all 26 'from "bun"' spawn/spawnSync imports with relative paths to shim
- Replace 4 direct Bun.spawn() call sites with shim's spawn()
- Remove src/electron-compat.ts and script/prepend-electron-shim.ts (no longer needed)
- Update src/electron-compat.test.ts to assert 0 top-level globalThis.Bun destructures

Verification: grep -c '} = globalThis.Bun;' dist/index.js → 0 (was 25)
All 5921 tests pass (1 pre-existing timeout failure unrelated to this change).

Fixes #3797
2026-05-05 22:41:45 +09:00
YeonGyu-Kim f178ea3207 fix(electron-compat): prepend globalThis.Bun shim to prevent Electron/Node crash
On Node/Electron, globalThis.Bun is undefined. The Bun bundler emits top-level
  var { spawn } = globalThis.Bun;
destructures from its internal modules, causing 'Cannot destructure property
of undefined' before any plugin hook is reached (25 occurrences in dist/index.js).

Fix:
- Add src/electron-compat.ts: a side-effect module that populates globalThis.Bun
  with node:child_process-backed spawn/spawnSync shims when Bun is unavailable
- Add script/prepend-electron-shim.ts: post-build script that prepends the shim
  code to dist/index.js, guaranteeing it runs BEFORE the top-level destructures
  (Bun bundler does not preserve import side-effect evaluation order reliably)
- Update build script to run prepend-shim after bundling
- Add src/electron-compat.test.ts verifying shim position in dist

The shim only activates when globalThis.Bun is absent (real Bun runtime is
unaffected). Spawn-dependent features degrade gracefully at call time.

Fixes #3797 (follow-up to #3795/#3796)
2026-05-05 22:17:06 +09:00
github-actions[bot] f6e9fadf01 release: v3.17.14 2026-05-05 10:31:32 +00:00
github-actions[bot] 6b9731923d release: v3.17.13 2026-05-04 07:42:32 +00:00
YeonGyu-Kim fe9b71635c fix(deps): bump picomatch to patched release
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-04 02:09:45 +09:00
github-actions[bot] 1a91967311 release: v3.17.12 2026-04-30 17:23:26 +00:00
github-actions[bot] a663562dbe release: v3.17.11 2026-04-30 13:06:06 +00:00
github-actions[bot] 1347d7ffad release: v3.17.10 2026-04-30 07:47:13 +00:00
github-actions[bot] 938b609a91 release: v3.17.6 2026-04-28 06:21:01 +00:00