You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/grok-adapter-ownership.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
12
12
**`@islee23520/lfg` is the single npm surface** for this **omo Grok adapter** (+ built-in extensions). Registry publish contract: [`docs/npm-publish.md`](npm-publish.md) (closes #22).
13
13
14
-
1.**omo-style Grok adapter** — install/verify semantics comparable to `omo-codex` on `~/.grok` (plugin tree, config merge, agents, hooks, doctor).
14
+
1.**omo-style Grok adapter** — install/verify semantics comparable to `omo-codex` on `~/.grok` (adapter tree, config merge, agents, hooks, verification).
15
15
2.**LFP-equivalent extensions** — capabilities from legacy `@islee23520/lfp` (hooks, agent overrides, optional extra agents) are **re-implemented for Grok** inside lfg — **not** a copy-paste vendor of the LFP package. See `docs/lfp-capability-port.md`.
16
16
17
17
**`@islee23520/lfp`** remains a separate npm package only if needed for **Codex-only** or legacy consumers; **Grok Build path is `npx @islee23520/lfg setup` only.**
@@ -21,7 +21,7 @@
21
21
| Term | Meaning |
22
22
|------|---------|
23
23
|**`lfgIsPlugin: false`** (JSON) | The **npm CLI**`@islee23520/lfg` is not registered as a Grok plugin name. |
24
-
|**Grok plugin payload**| What `setup --run` installs under `~/.grok` — **omo core + ported extension features**, shipped **by** lfg. |
24
+
|**Grok adapter payload**| What `setup --run` installs under `~/.grok` — **omo core + ported extension features**, shipped **by** lfg. |
25
25
|**LFP (legacy name)**| Reference for **which features to port**; not a subtree copied into this repo. |
26
26
27
27
## Homes
@@ -37,7 +37,7 @@ Dual-home is allowed; Grok users are not required to run Codex.
37
37
38
38
| Capability | Where it lives (target) |
39
39
|------------|-------------------------|
40
-
| Grok install + doctor + cleanup |`plugins/lfg/bin/` + `plugins/lfg/grok-install/`|
| Extension hooks / agent overrides |**Ported** per `docs/lfp-capability-port.md` into `plugins/lfg/extensions/` (or grok-install modules) — **new Grok-native code**|
42
42
| omo component parity | Vendor or sync from `oh-my-openagent/packages/omo-codex/plugin` — not duplicate maintenance in lfg forever without sync script |
43
43
| Model discovery | Existing `lfg-models.ts` + `lfg-grok-config.ts` until install owns full merge |
@@ -57,4 +57,4 @@ Dual-home is allowed; Grok users are not required to run Codex.
57
57
58
58
- Plan: `plans/lfg-omo-grok-build-adapter.md`
59
59
- Port map: `docs/lfp-capability-port.md`
60
-
- Upstream reference: `oh-my-openagent/packages/omo-codex` (Codex); Grok parity owned here
60
+
- Upstream reference: `oh-my-openagent/packages/omo-codex` (Codex); Grok parity owned here
Copy file name to clipboardExpand all lines: docs/lfp-capability-port.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
| Extra helper agents (artistry, visual-engineering, etc.) |**Port selectively** — only agents that make sense on Grok Build; rewrite configs, don’t copy TOML verbatim if model IDs differ |
12
12
|`codex-plugin-install.mjs` / Codex marketplace `linalab`|**Do not port** — Grok uses `~/.grok` plugin layout from `grok-install`|
13
13
| OpenAI-compat / cliproxy provider blocks for **Codex**|**Replace** with lfg `LAZYCODEX_*` + `lfg-grok-config.ts` / Grok `[model.*]`|
14
-
|`cli.mjs` setup/doctor for Codex `CODEX_HOME`|**Replace** with `lfg setup`/ `lfg doctor`targeting `~/.grok`|
14
+
|`cli.mjs` setup/doctor for Codex `CODEX_HOME`|**Replace** with `lfg setup` targeting `~/.grok`; doctor-style checks stay internal|
15
15
| Sync scripts (`sync-agent-overrides.mjs`, etc.) |**Reimplement** as part of `runGrokInstall()` idempotent merge |
16
16
17
17
## Implementation home
@@ -21,4 +21,4 @@
21
21
22
22
## Tests
23
23
24
-
- Each ported capability gets a **new** vitest/node:test in lfg — do not depend on running legacy LFP test files unchanged.
24
+
- Each ported capability gets a **new** vitest/node:test in lfg — do not depend on running legacy LFP test files unchanged.
Expected: `bin` resolves to `plugins/lfg/lfg` → `dist/lfg.js`; doctor `cli.ok: true` when `~/.grok` has stamp after `setup --run`.
30
+
Expected: `bin` resolves to `plugins/lfg/lfg` → `dist/lfg.js`; setup returns a non-mutating JSON plan unless `setup --run` is explicit.
37
31
38
32
`@0.1.1` on npm has **no**`bin` — `npx @islee23520/lfg` fails with *could not determine executable* (`registry-install-smoke.integration.test.ts`).
39
33
40
-
Registry `0.1.3` uses legacy `bin.lfg: plugins/lfg/dist/lfg.js` and does **not** ship the `plugins/lfg/lfg` shell shim (0.1.4+ pack does); `npx @islee23520/lfg` runs but republish `0.1.4+` with `plugins/lfg/lfg` is required for full doctor `cli` / `publishGap` parity (`registry-install-smoke.integration.test.ts`).
41
-
42
-
`lfg --json doctor` with `LFG_DOCTOR_REGISTRY_VERSION` includes `publishGap`; broken npm layouts (missing or wrong `bin.lfg`) set `cli.ok: false` and `publishGap.publishReady: false`.
34
+
Registry `0.1.3` uses legacy `bin.lfg: plugins/lfg/dist/lfg.js` and does **not** ship the `plugins/lfg/lfg` shell shim (0.1.4+ pack does); republish `0.1.4+` with `plugins/lfg/lfg` is required for the stable setup bin contract (`registry-install-smoke.integration.test.ts`).
0 commit comments