bun test v1.3.10 (30e609e0)

plugins/lfg/bin/lfg.test.ts:
 7 | 
 8 | describe("lfg CLI", () => {
 9 |   test("reports lazycodex adapter install command and target", async () => {
10 |     const result = await runLfg(["--json", "lazycodex", "install"])
11 |     expect(result.exitCode).toBe(0)
12 |     expect(result.json).toMatchObject({
                             ^
error: expect(received).toMatchObject(expected)

  {
-   "adapterManifest": StringContaining ".codex-plugin/plugin.json",
-   "adapterPackage": "lazycodex-ai",
-   "adapterRoot": StringContaining ".grok/installed-plugins/0-1-0-ff47fdd7",
-   "grokBuildUse": true,
+   "command": "lazycodex install",
    "installerCommand": "npx lazycodex-ai install",
+   "mutatesGlobalConfig": false,
    "ok": true,
-   "role": "lazycodex_adapter_installer",
+   "package": "lazycodex-ai",
+   "status": "planned",
+   "steps": [
+     {
+       "id": "run_npm_installer",
+       "status": "pending",
+       "text": "Run npx lazycodex-ai install.",
+     },
+     {
+       "id": "verify_codex_plugin",
+       "status": "pending",
+       "text": "Confirm the lazycodex.ai Codex plugin is available in the target environment after installation.",
+     },
+   ],
  }

- Expected  - 5
+ Received  + 16

      at <anonymous> (/Users/ilseoblee/workspace/linalab/lfg/plugins/lfg/bin/lfg.test.ts:12:25)
(fail) lfg CLI > reports lazycodex adapter install command and target [27.78ms]
23 |   })
24 | 
25 |   test("status and setup describe lfg as adapter installer not plugin", async () => {
26 |     const status = await runLfg(["--json", "status"])
27 |     expect(status.exitCode).toBe(0)
28 |     expect(status.json).toMatchObject({ ok: true, purpose: "Install lazycodex Codex adapter for grok-build", lfgIsPlugin: false })
                             ^
error: expect(received).toMatchObject(expected)

  {
-   "lfgIsPlugin": false,
+   "launcher": "lfg",
+   "lazycodex": {
+     "command": "lazycodex install",
+     "installerCommand": "npx lazycodex-ai install",
+     "mutatesGlobalConfig": false,
+     "ok": true,
+     "package": "lazycodex-ai",
+     "status": "planned",
+     "steps": [
+       {
+         "id": "run_npm_installer",
+         "status": "pending",
+         "text": "Run npx lazycodex-ai install.",
+       },
+       {
+         "id": "verify_codex_plugin",
+         "status": "pending",
+         "text": "Confirm the lazycodex.ai Codex plugin is available in the target environment after installation.",
+       },
+     ],
+   },
    "ok": true,
-   "purpose": "Install lazycodex Codex adapter for grok-build",
+   "pluginData": "/Users/ilseoblee/workspace/linalab/lfg/.lfg",
+   "pluginRoot": "/Users/ilseoblee/workspace/linalab/lfg/plugins/lfg",
+   "product": "lfg",
+   "purpose": "Install helper for lazycodex-ai",
+   "repo": {
+     "isGit": true,
+     "root": "/Users/ilseoblee/workspace/linalab/lfg",
+   },
+   "version": "0.1.0",
  }

- Expected  - 2
+ Received  + 30

      at <anonymous> (/Users/ilseoblee/workspace/linalab/lfg/plugins/lfg/bin/lfg.test.ts:28:25)
(fail) lfg CLI > status and setup describe lfg as adapter installer not plugin [23.50ms]
39 |   test("uses configured lazycodex adapter root", async () => {
40 |     const adapterRoot = await makeAdapterRoot()
41 |     const result = await runLfg(["--json", "lazycodex", "status"], { LAZYCODEX_ADAPTER_ROOT: adapterRoot })
42 | 
43 |     expect(result.exitCode).toBe(0)
44 |     expect(result.json).toMatchObject({
                             ^
error: expect(received).toMatchObject(expected)

  {
-   "adapter": {
-     "found": true,
-     "manifest": "/var/folders/6r/g20fxk_s1ds24_h6lm971wt00000gn/T/lfg-lazycodex-adapter.2LLg3Y/.codex-plugin/plugin.json",
-     "mcpConfig": "/var/folders/6r/g20fxk_s1ds24_h6lm971wt00000gn/T/lfg-lazycodex-adapter.2LLg3Y/.mcp.json",
-     "root": "/var/folders/6r/g20fxk_s1ds24_h6lm971wt00000gn/T/lfg-lazycodex-adapter.2LLg3Y",
-     "skillsDir": "/var/folders/6r/g20fxk_s1ds24_h6lm971wt00000gn/T/lfg-lazycodex-adapter.2LLg3Y/skills",
+   "command": "lazycodex status",
+   "install": {
+     "command": "lazycodex install",
+     "installerCommand": "npx lazycodex-ai install",
+     "mutatesGlobalConfig": false,
+     "ok": true,
+     "package": "lazycodex-ai",
+     "status": "planned",
+     "steps": [
+       {
+         "id": "run_npm_installer",
+         "status": "pending",
+         "text": "Run npx lazycodex-ai install.",
+       },
+       {
+         "id": "verify_codex_plugin",
+         "status": "pending",
+         "text": "Confirm the lazycodex.ai Codex plugin is available in the target environment after installation.",
+       },
+     ],
    },
+   "ok": true,
+   "package": "lazycodex-ai",
+   "primaryAction": "npx lazycodex-ai install",
+   "purpose": "Install the lazycodex.ai Codex plugin with the lazycodex-ai npm package",
+   "status": "ready",
  }

- Expected  - 6
+ Received  + 25

      at <anonymous> (/Users/ilseoblee/workspace/linalab/lfg/plugins/lfg/bin/lfg.test.ts:44:25)
(fail) lfg CLI > uses configured lazycodex adapter root [22.12ms]

 0 pass
 3 fail
 6 expect() calls
Ran 3 tests across 1 file. [84.00ms]
