Skip to content

Commit 41d6945

Browse files
committed
Feat: Implement Agent OS Multi-Window Layout #7955
1 parent 87ad3e2 commit 41d6945

12 files changed

Lines changed: 187 additions & 32 deletions

File tree

.github/.sync-metadata.json

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"lastSync": "2025-11-30T18:39:17.752Z",
3-
"releasesLastFetched": "2025-11-30T18:39:18.478Z",
2+
"lastSync": "2025-11-30T18:43:49.818Z",
3+
"releasesLastFetched": "2025-11-30T18:43:50.292Z",
44
"pushFailures": [],
55
"issues": {
66
"3789": {
@@ -11614,7 +11614,7 @@
1161411614
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7918.md",
1161511615
"closedAt": null,
1161611616
"updatedAt": "2025-11-30T18:37:28Z",
11617-
"contentHash": "f3242fedbf05e67c7573ccf2de933a7318aa6a722bfca044cd89d825d154f731"
11617+
"contentHash": "9bd716d48b3eda952757c53c75d7f246f6b89ac676636c91b88b590b0a31f60e"
1161811618
},
1161911619
"7919": {
1162011620
"state": "OPEN",
@@ -11827,11 +11827,18 @@
1182711827
"contentHash": "678a7817a79fab9fdc422291db4ff066727cb319481474d15b1cce23af952cfb"
1182811828
},
1182911829
"7954": {
11830-
"state": "OPEN",
11830+
"state": "CLOSED",
1183111831
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7954.md",
11832+
"closedAt": "2025-11-30T18:40:06Z",
11833+
"updatedAt": "2025-11-30T18:40:06Z",
11834+
"contentHash": "f9c1748552cae9cce2f51ed992942b6edb48317e4551dab18d005ac7881dcacb"
11835+
},
11836+
"7955": {
11837+
"state": "OPEN",
11838+
"path": "/Users/Shared/github/neomjs/neo/.github/ISSUE/issue-7955.md",
1183211839
"closedAt": null,
11833-
"updatedAt": "2025-11-30T18:39:05Z",
11834-
"contentHash": "432c419399dcaee6a5eb48e067d15685d6b9734e05880784f1dde46b8640fd4b"
11840+
"updatedAt": "2025-11-30T18:43:28Z",
11841+
"contentHash": "21d847a9b69c9540ea1799d79a74fa766140e37dee5023535eba27a1a219f2f7"
1183511842
}
1183611843
},
1183711844
"releases": {

.github/ISSUE/issue-7918.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ subIssues:
1818
- 7921
1919
- 7922
2020
- 7954
21-
subIssuesCompleted: 0
22-
subIssuesTotal: 4
21+
- 7955
22+
subIssuesCompleted: 1
23+
subIssuesTotal: 5
2324
blockedBy: []
2425
blocking: []
2526
---
@@ -51,4 +52,5 @@ This epic covers Phase 3 of the Agent OS Roadmap: building the "Killer App" that
5152
- 2025-11-30 @tobiu assigned to @tobiu
5253
- 2025-11-30 @tobiu cross-referenced by #7954
5354
- 2025-11-30 @tobiu added sub-issue #7954
55+
- 2025-11-30 @tobiu added sub-issue #7955
5456

.github/ISSUE/issue-7954.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
22
id: 7954
33
title: 'Task: Scaffold Agent OS Application'
4-
state: OPEN
4+
state: CLOSED
55
labels:
66
- enhancement
77
- ai
8-
assignees: []
8+
assignees:
9+
- tobiu
910
createdAt: '2025-11-30T18:39:05Z'
10-
updatedAt: '2025-11-30T18:39:05Z'
11+
updatedAt: '2025-11-30T18:40:06Z'
1112
githubUrl: 'https://github.com/neomjs/neo/issues/7954'
1213
author: tobiu
1314
commentsCount: 0
@@ -17,6 +18,7 @@ subIssuesCompleted: 0
1718
subIssuesTotal: 0
1819
blockedBy: []
1920
blocking: []
21+
closedAt: '2025-11-30T18:40:06Z'
2022
---
2123
# Task: Scaffold Agent OS Application
2224

@@ -39,4 +41,7 @@ Files created:
3941
- 2025-11-30 @tobiu added the `enhancement` label
4042
- 2025-11-30 @tobiu added the `ai` label
4143
- 2025-11-30 @tobiu added parent issue #7918
44+
- 2025-11-30 @tobiu assigned to @tobiu
45+
- 2025-11-30 @tobiu referenced in commit `87ad3e2` - "Task: Scaffold Agent OS Application #7954"
46+
- 2025-11-30 @tobiu closed this issue
4247

.github/ISSUE/issue-7955.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
id: 7955
3+
title: 'Feat: Implement Agent OS Multi-Window Layout'
4+
state: OPEN
5+
labels:
6+
- enhancement
7+
- ai
8+
assignees:
9+
- tobiu
10+
createdAt: '2025-11-30T18:42:38Z'
11+
updatedAt: '2025-11-30T18:43:28Z'
12+
githubUrl: 'https://github.com/neomjs/neo/issues/7955'
13+
author: tobiu
14+
commentsCount: 0
15+
parentIssue: 7918
16+
subIssues: []
17+
subIssuesCompleted: 0
18+
subIssuesTotal: 0
19+
blockedBy: []
20+
blocking: []
21+
---
22+
# Feat: Implement Agent OS Multi-Window Layout
23+
24+
Implement the initial multi-window layout for the Agent OS Command Center.
25+
- Primary Window: Strategy View (Main)
26+
- Secondary Window: Swarm/Intervention View
27+
- Ensure the application supports managing multiple windows.
28+
- Refactor `apps/agent-os/view/Viewport.mjs` to implement this layout.
29+
30+
31+
## Activity Log
32+
33+
- 2025-11-30 @tobiu added the `enhancement` label
34+
- 2025-11-30 @tobiu added the `ai` label
35+
- 2025-11-30 @tobiu added parent issue #7918
36+
- 2025-11-30 @tobiu assigned to @tobiu
37+

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
!/apps/agent-os/index.html
88
!/apps/agent-os/**/*.mjs
99
!/apps/agent-os/neo-config.json
10+
!/apps/agent-os/childapps/swarm/index.html
11+
!/apps/agent-os/childapps/swarm/neo-config.json
1012
!/apps/colors/index.html
1113
!/apps/colors/**/*.mjs
1214
!/apps/colors/neo-config.json
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import Viewport from './view/Viewport.mjs';
2+
3+
export const onStart = () => Neo.app({
4+
appThemeFolder: 'agent-os',
5+
mainView : Viewport,
6+
name : 'AgentSwarm'
7+
});
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE HTML>
2+
<html>
3+
<head>
4+
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
<meta charset="UTF-8">
6+
<title>Agent Swarm</title>
7+
</head>
8+
<body>
9+
<script src="../../../../src/MicroLoader.mjs" type="module"></script>
10+
</body>
11+
</html>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"appPath" : "apps/agent-os/childapps/swarm/app.mjs",
3+
"basePath" : "../../../../",
4+
"environment" : "development",
5+
"mainPath" : "./Main.mjs",
6+
"useSharedWorkers": true
7+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
import BaseViewport from '../../../../../src/container/Viewport.mjs';
2+
3+
/**
4+
* @class AgentOS.swarm.view.Viewport
5+
* @extends Neo.container.Viewport
6+
*/
7+
class Viewport extends BaseViewport {
8+
static config = {
9+
className: 'AgentOS.swarm.view.Viewport',
10+
layout : {ntype: 'vbox', align: 'stretch'},
11+
items : [{
12+
ntype: 'container',
13+
flex : 2,
14+
cls : ['neo-swarm-grid'],
15+
style: {
16+
backgroundColor: '#1e1e1e',
17+
color : '#d4d4d4',
18+
margin : '10px',
19+
padding : '20px',
20+
borderRadius : '4px'
21+
},
22+
html: '<h2>Swarm Visualization</h2><p>Live agent graph will render here.</p>'
23+
}, {
24+
ntype: 'container',
25+
flex : 1,
26+
cls : ['neo-intervention-panel'],
27+
style: {
28+
backgroundColor: '#2d2d2d',
29+
color : '#e57373',
30+
margin : '0 10px 10px 10px',
31+
padding : '20px',
32+
borderRadius : '4px',
33+
border : '1px solid #b71c1c'
34+
},
35+
html: '<h2>Intervention Required</h2><p>Derailment logs and recovery chat will appear here.</p>'
36+
}]
37+
}
38+
}
39+
40+
export default Neo.setupClass(Viewport);

apps/agent-os/neo-config.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2-
"appPath": "apps/agent-os/app.mjs",
3-
"basePath": "../../",
4-
"environment": "development",
5-
"mainPath": "./Main.mjs"
2+
"appPath" : "apps/agent-os/app.mjs",
3+
"basePath" : "../../",
4+
"environment" : "development",
5+
"mainPath" : "./Main.mjs",
6+
"useSharedWorkers": true
67
}

0 commit comments

Comments
 (0)