infra-kit 0.1.105 → 0.1.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/.eslintcache +1 -1
  2. package/.omc/state/agent-replay-afc6290b-40d3-4bef-b3b6-14484c034ab9.jsonl +14 -0
  3. package/.omc/state/agent-replay-e947a3c6-989d-4a60-91dd-6b0ddd827b2d.jsonl +3 -0
  4. package/.omc/state/idle-notif-cooldown.json +1 -1
  5. package/.omc/state/sessions/afc6290b-40d3-4bef-b3b6-14484c034ab9/last-tool-error-state.json +7 -0
  6. package/.omc/state/sessions/afc6290b-40d3-4bef-b3b6-14484c034ab9/mission-state.json +89 -0
  7. package/.omc/state/sessions/afc6290b-40d3-4bef-b3b6-14484c034ab9/pre-tool-advisory-throttle.json +34 -0
  8. package/.omc/state/sessions/afc6290b-40d3-4bef-b3b6-14484c034ab9/ralph-state.json +13 -0
  9. package/.omc/state/sessions/afc6290b-40d3-4bef-b3b6-14484c034ab9/skill-active-state.json +15 -0
  10. package/.omc/state/sessions/afc6290b-40d3-4bef-b3b6-14484c034ab9/subagent-tracking-state.json +35 -0
  11. package/.omc/state/sessions/afc6290b-40d3-4bef-b3b6-14484c034ab9/ultrawork-state.json +11 -0
  12. package/.omc/state/sessions/e947a3c6-989d-4a60-91dd-6b0ddd827b2d/last-tool-error-state.json +7 -0
  13. package/.omc/state/sessions/e947a3c6-989d-4a60-91dd-6b0ddd827b2d/pre-tool-advisory-throttle.json +10 -0
  14. package/.omc/state/sessions/e947a3c6-989d-4a60-91dd-6b0ddd827b2d/subagent-tracking-state.json +26 -0
  15. package/dist/cli.js +61 -54
  16. package/dist/cli.js.map +4 -4
  17. package/dist/mcp.js +2 -2
  18. package/dist/mcp.js.map +2 -2
  19. package/package.json +1 -1
  20. package/src/commands/.omc/state/sessions/afc6290b-40d3-4bef-b3b6-14484c034ab9/pre-tool-advisory-throttle.json +14 -0
  21. package/src/commands/doctor/__tests__/agent-files.test.ts +110 -0
  22. package/src/commands/doctor/doctor.ts +66 -1
  23. package/src/commands/init/__tests__/agent-files.test.ts +147 -0
  24. package/src/commands/init/agent-files.ts +199 -0
  25. package/src/commands/init/index.ts +7 -0
  26. package/src/commands/init/init.ts +34 -25
  27. package/src/entry/cli.ts +1 -1
  28. package/src/integrations/cmux/open-workspace-with-layout.ts +1 -1
  29. package/src/lib/managed-block/__tests__/managed-block.test.ts +121 -0
  30. package/src/lib/managed-block/index.ts +8 -0
  31. package/src/lib/managed-block/managed-block.ts +145 -0
  32. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,89 @@
1
+ {
2
+ "updatedAt": "2026-06-15T09:23:33.369Z",
3
+ "missions": [
4
+ {
5
+ "id": "session:afc6290b-40d3-4bef-b3b6-14484c034ab9:none",
6
+ "source": "session",
7
+ "name": "none",
8
+ "objective": "Session mission",
9
+ "createdAt": "2026-06-15T08:52:52.905Z",
10
+ "updatedAt": "2026-06-15T09:23:33.369Z",
11
+ "status": "done",
12
+ "workerCount": 3,
13
+ "taskCounts": {
14
+ "total": 3,
15
+ "pending": 0,
16
+ "blocked": 0,
17
+ "inProgress": 0,
18
+ "completed": 3,
19
+ "failed": 0
20
+ },
21
+ "agents": [
22
+ {
23
+ "name": "architect:a5998ac",
24
+ "role": "architect",
25
+ "ownership": "a5998aca6478ae778",
26
+ "status": "done",
27
+ "currentStep": null,
28
+ "latestUpdate": "completed",
29
+ "completedSummary": null,
30
+ "updatedAt": "2026-06-15T08:53:59.941Z"
31
+ },
32
+ {
33
+ "name": "architect:a2bacb1",
34
+ "role": "architect",
35
+ "ownership": "a2bacb186c2a18ff8",
36
+ "status": "done",
37
+ "currentStep": null,
38
+ "latestUpdate": "completed",
39
+ "completedSummary": null,
40
+ "updatedAt": "2026-06-15T09:15:20.963Z"
41
+ },
42
+ {
43
+ "name": "architect:a5c2d7d",
44
+ "role": "architect",
45
+ "ownership": "a5c2d7d3a030026dd",
46
+ "status": "done",
47
+ "currentStep": null,
48
+ "latestUpdate": "completed",
49
+ "completedSummary": null,
50
+ "updatedAt": "2026-06-15T09:23:33.369Z"
51
+ }
52
+ ],
53
+ "timeline": [
54
+ {
55
+ "id": "session-start:a2bacb186c2a18ff8:2026-06-15T09:14:25.832Z",
56
+ "at": "2026-06-15T09:14:25.832Z",
57
+ "kind": "update",
58
+ "agent": "architect:a2bacb1",
59
+ "detail": "started architect:a2bacb1",
60
+ "sourceKey": "session-start:a2bacb186c2a18ff8"
61
+ },
62
+ {
63
+ "id": "session-stop:a2bacb186c2a18ff8:2026-06-15T09:15:20.963Z",
64
+ "at": "2026-06-15T09:15:20.963Z",
65
+ "kind": "completion",
66
+ "agent": "architect:a2bacb1",
67
+ "detail": "completed",
68
+ "sourceKey": "session-stop:a2bacb186c2a18ff8"
69
+ },
70
+ {
71
+ "id": "session-start:a5c2d7d3a030026dd:2026-06-15T09:22:52.318Z",
72
+ "at": "2026-06-15T09:22:52.318Z",
73
+ "kind": "update",
74
+ "agent": "architect:a5c2d7d",
75
+ "detail": "started architect:a5c2d7d",
76
+ "sourceKey": "session-start:a5c2d7d3a030026dd"
77
+ },
78
+ {
79
+ "id": "session-stop:a5c2d7d3a030026dd:2026-06-15T09:23:33.369Z",
80
+ "at": "2026-06-15T09:23:33.369Z",
81
+ "kind": "completion",
82
+ "agent": "architect:a5c2d7d",
83
+ "detail": "completed",
84
+ "sourceKey": "session-stop:a5c2d7d3a030026dd"
85
+ }
86
+ ]
87
+ }
88
+ ]
89
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "version": 1,
3
+ "entries": {
4
+ "1bb6914bc42b891c26d46c8ae2fd4f44071f59862e89dc550f4c82877b700216": {
5
+ "last_emitted_at_ms": 1781515425560,
6
+ "message": "The boulder never stops. Continue until all tasks complete."
7
+ },
8
+ "79a93d4a2f8f50b95f852280616242fee1855dc99a3c75211917f55e72e95fae": {
9
+ "last_emitted_at_ms": 1781515383050,
10
+ "message": "Use parallel execution for independent tasks. Use run_in_background for long operations (npm install, builds, tests)."
11
+ },
12
+ "ca054d5902820773c7d230e891055fef1f874c5d19e8bddd68a6db0d77e5d61d": {
13
+ "last_emitted_at_ms": 1781515372191,
14
+ "message": "Spawning agent: oh-my-claudecode:architect (inherit) | Task: Architect verification of extraction"
15
+ },
16
+ "466399dafa2d20f60587180bad0a07358eb7f2bce724df0ff682f038ad33f5ad": {
17
+ "last_emitted_at_ms": 1781515319445,
18
+ "message": "Read multiple files in parallel when possible for faster analysis."
19
+ },
20
+ "445ed27a3872b681d98190bae61ccb84954e1bc4e140df5370be958dee776b3a": {
21
+ "last_emitted_at_ms": 1781515310249,
22
+ "message": "Verify changes work after editing. Test functionality before marking complete."
23
+ },
24
+ "e3dc08ae4de7ca6310348c054c558b6b7e964c10d1885f3984f7a5d054e1cc9b": {
25
+ "last_emitted_at_ms": 1781514865704,
26
+ "message": "Spawning agent: oh-my-claudecode:architect (inherit) | Task: Architect verification of consolidation"
27
+ },
28
+ "0a111b4cf6f22c210198d56e7cca5db32d22457733546bf8919b785793bc333f": {
29
+ "last_emitted_at_ms": 1781513572777,
30
+ "message": "Spawning agent: oh-my-claudecode:architect (inherit) | Task: Architect verification of implementation"
31
+ }
32
+ },
33
+ "updated_at": "2026-06-15T09:23:45.560Z"
34
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "active": true,
3
+ "iteration": 2,
4
+ "max_iterations": 100,
5
+ "started_at": "2026-06-15T09:08:52.297Z",
6
+ "prompt": "/ralph maybe we don't need one more apps/infra-kit/cli/src/commands/init/agents.ts, the logic must be in the init command only and doctor to check exist",
7
+ "session_id": "afc6290b-40d3-4bef-b3b6-14484c034ab9",
8
+ "project_path": "/Users/arthur/projects/infra-kit/apps/infra-kit/cli",
9
+ "linked_ultrawork": true,
10
+ "awaiting_confirmation": true,
11
+ "awaiting_confirmation_set_at": "2026-06-15T09:08:52.297Z",
12
+ "last_checked_at": "2026-06-15T09:17:16.697Z"
13
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "active": true,
3
+ "skill_name": "ai-slop-cleaner",
4
+ "session_id": "afc6290b-40d3-4bef-b3b6-14484c034ab9",
5
+ "started_at": "2026-06-15T09:23:45.558Z",
6
+ "last_checked_at": "2026-06-15T09:23:45.558Z",
7
+ "reinforcement_count": 0,
8
+ "max_reinforcements": 5,
9
+ "stale_ttl_ms": 900000,
10
+ "_meta": {
11
+ "written_at": "2026-06-15T09:23:45.558Z",
12
+ "mode": "skill-active",
13
+ "sessionId": "afc6290b-40d3-4bef-b3b6-14484c034ab9"
14
+ }
15
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "agents": [
3
+ {
4
+ "agent_id": "a5998aca6478ae778",
5
+ "agent_type": "oh-my-claudecode:architect",
6
+ "started_at": "2026-06-15T08:52:52.905Z",
7
+ "parent_mode": "none",
8
+ "status": "completed",
9
+ "completed_at": "2026-06-15T08:53:59.941Z",
10
+ "duration_ms": 67036
11
+ },
12
+ {
13
+ "agent_id": "a2bacb186c2a18ff8",
14
+ "agent_type": "oh-my-claudecode:architect",
15
+ "started_at": "2026-06-15T09:14:25.832Z",
16
+ "parent_mode": "none",
17
+ "status": "completed",
18
+ "completed_at": "2026-06-15T09:15:20.963Z",
19
+ "duration_ms": 55131
20
+ },
21
+ {
22
+ "agent_id": "a5c2d7d3a030026dd",
23
+ "agent_type": "oh-my-claudecode:architect",
24
+ "started_at": "2026-06-15T09:22:52.318Z",
25
+ "parent_mode": "none",
26
+ "status": "completed",
27
+ "completed_at": "2026-06-15T09:23:33.369Z",
28
+ "duration_ms": 41051
29
+ }
30
+ ],
31
+ "total_spawned": 3,
32
+ "total_completed": 3,
33
+ "total_failed": 0,
34
+ "last_updated": "2026-06-15T09:23:33.471Z"
35
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "active": true,
3
+ "started_at": "2026-06-15T09:08:52.309Z",
4
+ "original_prompt": "/ralph maybe we don't need one more apps/infra-kit/cli/src/commands/init/agents.ts, the logic must be in the init command only and doctor to check exist",
5
+ "session_id": "afc6290b-40d3-4bef-b3b6-14484c034ab9",
6
+ "project_path": "/Users/arthur/projects/infra-kit/apps/infra-kit/cli",
7
+ "reinforcement_count": 0,
8
+ "awaiting_confirmation": true,
9
+ "awaiting_confirmation_set_at": "2026-06-15T09:08:52.309Z",
10
+ "last_checked_at": "2026-06-15T09:08:52.309Z"
11
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "tool_name": "mcp__plugin_oh-my-claudecode_t__lsp_diagnostics",
3
+ "tool_input_preview": "{\"file\":\"/Users/arthur/projects/infra-kit/apps/infra-kit/cli/src/integrations/cmux/open-workspace-with-layout.ts\",\"severity\":\"error\"}",
4
+ "error": "Language server 'typescript-language-server' not found.\nInstall with: npm install -g typescript-language-server typescript",
5
+ "timestamp": "2026-06-15T08:49:45.949Z",
6
+ "retry_count": 1
7
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 1,
3
+ "entries": {
4
+ "79a93d4a2f8f50b95f852280616242fee1855dc99a3c75211917f55e72e95fae": {
5
+ "last_emitted_at_ms": 1781513381955,
6
+ "message": "Use parallel execution for independent tasks. Use run_in_background for long operations (npm install, builds, tests)."
7
+ }
8
+ },
9
+ "updated_at": "2026-06-15T08:49:41.955Z"
10
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "agents": [
3
+ {
4
+ "agent_id": "a5be9a27ade27f5f0",
5
+ "agent_type": "unknown",
6
+ "started_at": "2026-06-15T08:50:28.078Z",
7
+ "parent_mode": "none",
8
+ "status": "completed",
9
+ "completed_at": "2026-06-15T08:50:28.078Z",
10
+ "duration_ms": 0
11
+ },
12
+ {
13
+ "agent_id": "adec10251f2fb8798",
14
+ "agent_type": "unknown",
15
+ "started_at": "2026-06-15T09:00:29.228Z",
16
+ "parent_mode": "none",
17
+ "status": "completed",
18
+ "completed_at": "2026-06-15T09:00:29.228Z",
19
+ "duration_ms": 0
20
+ }
21
+ ],
22
+ "total_spawned": 0,
23
+ "total_completed": 2,
24
+ "total_failed": 0,
25
+ "last_updated": "2026-06-15T09:00:29.331Z"
26
+ }