bun test v1.3.10 (30e609e0)

plugins/lfg/bin/lfg.test.ts:
15 |   })
16 | 
17 |   test("reports lazycodex adapter install command and target", async () => {
18 |     const result = await runLfg(["--json", "lazycodex", "install"])
19 |     expect(result.exitCode).toBe(0)
20 |     expect(result.json).toMatchObject({
                             ^
error: expect(received).toMatchObject(expected)

  {
+   "adapter": {
+     "found": true,
+     "manifest": "/Users/ilseoblee/.grok/installed-plugins/0-1-0-ff47fdd7/.codex-plugin/plugin.json",
+     "mcpConfig": "/Users/ilseoblee/.grok/installed-plugins/0-1-0-ff47fdd7/.mcp.json",
+     "root": "/Users/ilseoblee/.grok/installed-plugins/0-1-0-ff47fdd7",
+     "skillsDir": "/Users/ilseoblee/.grok/installed-plugins/0-1-0-ff47fdd7/skills",
+   },
+   "adapterManifest": "/Users/ilseoblee/.grok/installed-plugins/0-1-0-ff47fdd7/.codex-plugin/plugin.json",
    "adapterPackage": "lazycodex-ai",
-   "executed": false,
+   "adapterRoot": "/Users/ilseoblee/.grok/installed-plugins/0-1-0-ff47fdd7",
+   "command": "lazycodex install",
    "grokBuildUse": true,
-   "grokSurfaces": {
-     "acpCommand": "grok agent stdio",
-     "customModelConfig": StringContaining ".grok/config.toml",
-     "globalAgentRoot": StringContaining ".grok/agents",
-     "globalPluginRoot": StringContaining ".grok/plugins",
-     "projectAgentRoot": StringContaining ".grok/agents",
-     "projectMcpConfig": StringContaining ".grok/config.toml",
-     "projectPluginRoot": StringContaining ".grok/plugins",
-     "projectRootMcpConfig": StringContaining ".mcp.json",
-     "userMcpConfig": StringContaining ".grok/config.toml",
-   },
    "installerCommand": "npx lazycodex-ai install",
    "lfgIsPlugin": false,
+   "mutatesGlobalConfig": false,
    "ok": true,
    "role": "lazycodex_adapter_installer",
    "status": "planned",
-   "verificationCommands": ExpectArrayContaining {},
+   "steps": [
+     {
+       "id": "run_npm_installer",
+       "status": "pending",
+       "text": "Run npx lazycodex-ai install.",
+     },
+     {
+       "id": "use_lazycodex_adapter",
+       "status": "pending",
+       "text": "Use lazycodex adapter from /Users/ilseoblee/.grok/installed-plugins/0-1-0-ff47fdd7 when running grok-build.",
+     },
+     {
+       "id": "verify_lazycodex_adapter",
+       "status": "pending",
+       "text": "Confirm the lazycodex adapter exposes .codex-plugin/plugin.json, .mcp.json, and skills/.",
+     },
+   ],
  }

- Expected  - 13
+ Received  + 28

      at <anonymous> (/Users/ilseoblee/workspace/linalab/lfg/plugins/lfg/bin/lfg.test.ts:20:25)
(fail) lfg CLI > reports lazycodex adapter install command and target [39.50ms]
(pass) lfg CLI > runs lazycodex installer through npx when explicitly requested [320.74ms]

 1 pass
 7 filtered out
 1 fail
 5 expect() calls
Ran 2 tests across 1 file. [434.00ms]

[red-exit=1]
