@ngockhoale/ckit 0.2.7 → 0.2.9

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 (60) hide show
  1. package/dist/src/adapters/launch/executor.d.ts +2 -0
  2. package/dist/src/adapters/launch/executor.js +12 -1
  3. package/dist/src/gui/server.js +1 -1
  4. package/dist/src/team/engine.d.ts +10 -0
  5. package/dist/src/team/engine.js +118 -10
  6. package/dist/src/team/journal.d.ts +2 -0
  7. package/dist/src/team/journal.js +28 -3
  8. package/dist/src/team/runners.d.ts +5 -0
  9. package/dist/src/team/runners.js +17 -2
  10. package/dist/src/team/types.d.ts +4 -0
  11. package/dist/src/tui/team/model.js +2 -0
  12. package/gui/app.css +1 -19
  13. package/gui/app.js +43 -53
  14. package/gui/comic/assets/backgrounds/command-center.svg +1 -0
  15. package/gui/comic/assets/backgrounds/developer-workshop.svg +1 -0
  16. package/gui/comic/assets/backgrounds/handoff-corridor.svg +1 -0
  17. package/gui/comic/assets/backgrounds/incident-room.svg +1 -0
  18. package/gui/comic/assets/backgrounds/mission-overview.svg +1 -0
  19. package/gui/comic/assets/backgrounds/quality-lab.svg +1 -0
  20. package/gui/comic/assets/backgrounds/reporting-hall.svg +1 -0
  21. package/gui/comic/assets/backgrounds/research-library.svg +1 -0
  22. package/gui/comic/assets/backgrounds/review-chamber.svg +1 -0
  23. package/gui/comic/assets/backgrounds/strategy-room.svg +1 -0
  24. package/gui/comic/assets/effects/check-burst.svg +1 -0
  25. package/gui/comic/assets/effects/focus-lines.svg +1 -0
  26. package/gui/comic/assets/effects/glow.svg +1 -0
  27. package/gui/comic/assets/effects/particles.svg +1 -0
  28. package/gui/comic/assets/effects/speed-lines.svg +1 -0
  29. package/gui/comic/assets/effects/warning-flash.svg +1 -0
  30. package/gui/comic/assets/frame/episode-banner.svg +1 -0
  31. package/gui/comic/assets/frame/panel-corner.svg +1 -0
  32. package/gui/comic/assets/props/approval-seal.svg +1 -0
  33. package/gui/comic/assets/props/bug-warning.svg +1 -0
  34. package/gui/comic/assets/props/capsule.svg +1 -0
  35. package/gui/comic/assets/props/checklist.svg +1 -0
  36. package/gui/comic/assets/props/code-display.svg +1 -0
  37. package/gui/comic/assets/props/document.svg +1 -0
  38. package/gui/comic/assets/props/files.svg +1 -0
  39. package/gui/comic/assets/props/folder.svg +1 -0
  40. package/gui/comic/assets/props/magnifier.svg +1 -0
  41. package/gui/comic/assets/props/package.svg +1 -0
  42. package/gui/comic/assets/props/rejection-mark.svg +1 -0
  43. package/gui/comic/assets/props/report.svg +1 -0
  44. package/gui/comic/assets/props/scroll.svg +1 -0
  45. package/gui/comic/assets/props/shield.svg +1 -0
  46. package/gui/comic/assets/props/tablet.svg +1 -0
  47. package/gui/comic/assets/props/workstation.svg +1 -0
  48. package/gui/comic/comic.css +130 -0
  49. package/gui/comic/contact-sheet.html +15 -0
  50. package/gui/comic/contact-sheet.js +41 -0
  51. package/gui/comic/engine.js +366 -0
  52. package/gui/comic/manifests/backgrounds.json +216 -0
  53. package/gui/comic/manifests/characters.json +96 -0
  54. package/gui/comic/manifests/effects.json +96 -0
  55. package/gui/comic/manifests/props.json +246 -0
  56. package/gui/comic/manifests/scenes.json +205 -0
  57. package/gui/comic/render.js +594 -0
  58. package/gui/index.html +2 -2
  59. package/gui/network.js +195 -284
  60. package/package.json +1 -1
@@ -0,0 +1,96 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "artStyleVersion": "cyber-wuxia-v1",
4
+ "items": [
5
+ {
6
+ "id": "director-01",
7
+ "type": "character",
8
+ "avatarId": "oriental-architect-01",
9
+ "roleAffinity": [
10
+ "director",
11
+ "lead",
12
+ "orchestrator"
13
+ ],
14
+ "accent": "#A36BFF",
15
+ "description": "Composed, charismatic East Asian strategist with dark flowing hair, indigo and purple wuxia command uniform with futuristic metal details.",
16
+ "poses": {},
17
+ "provenance": "avatar-pack",
18
+ "version": 1
19
+ },
20
+ {
21
+ "id": "ba-01",
22
+ "type": "character",
23
+ "avatarId": "oriental-pm-01",
24
+ "roleAffinity": [
25
+ "ba",
26
+ "analyst",
27
+ "research"
28
+ ],
29
+ "accent": "#21D6E8",
30
+ "description": "Sharp, thoughtful male researcher in navy and cyan scholar clothing.",
31
+ "poses": {},
32
+ "provenance": "avatar-pack",
33
+ "version": 1
34
+ },
35
+ {
36
+ "id": "ba-02",
37
+ "type": "character",
38
+ "avatarId": "oriental-pm-02",
39
+ "roleAffinity": [
40
+ "ba",
41
+ "analyst",
42
+ "strategy"
43
+ ],
44
+ "accent": "#21D6E8",
45
+ "description": "Elegant female strategist with long dark hair in blue and silver attire.",
46
+ "poses": {},
47
+ "provenance": "avatar-pack",
48
+ "version": 1
49
+ },
50
+ {
51
+ "id": "developer-01",
52
+ "type": "character",
53
+ "avatarId": "oriental-developer-01",
54
+ "roleAffinity": [
55
+ "implement",
56
+ "developer",
57
+ "engineer"
58
+ ],
59
+ "accent": "#F3A544",
60
+ "description": "Determined engineer dressed in black with warm amber accents.",
61
+ "poses": {},
62
+ "provenance": "avatar-pack",
63
+ "version": 1
64
+ },
65
+ {
66
+ "id": "qc-01",
67
+ "type": "character",
68
+ "avatarId": "oriental-qa-01",
69
+ "roleAffinity": [
70
+ "qc",
71
+ "qa",
72
+ "tester"
73
+ ],
74
+ "accent": "#4AD69A",
75
+ "description": "Observant female investigator in jade and emerald clothing.",
76
+ "poses": {},
77
+ "provenance": "avatar-pack",
78
+ "version": 1
79
+ },
80
+ {
81
+ "id": "qc-02",
82
+ "type": "character",
83
+ "avatarId": "oriental-qa-02",
84
+ "roleAffinity": [
85
+ "qc",
86
+ "qa",
87
+ "reviewer"
88
+ ],
89
+ "accent": "#4AD69A",
90
+ "description": "Experienced male strategist with silver-gray hair in jade and dark emerald clothing.",
91
+ "poses": {},
92
+ "provenance": "avatar-pack",
93
+ "version": 1
94
+ }
95
+ ]
96
+ }
@@ -0,0 +1,96 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "artStyleVersion": "cyber-wuxia-v1",
4
+ "items": [
5
+ {
6
+ "id": "focus-lines",
7
+ "type": "effect",
8
+ "src": "assets/effects/focus-lines.svg",
9
+ "width": 512,
10
+ "height": 512,
11
+ "transparent": true,
12
+ "tintable": true,
13
+ "anchor": {
14
+ "x": 0.5,
15
+ "y": 0.5
16
+ },
17
+ "provenance": "hand-authored-svg",
18
+ "version": 1
19
+ },
20
+ {
21
+ "id": "speed-lines",
22
+ "type": "effect",
23
+ "src": "assets/effects/speed-lines.svg",
24
+ "width": 512,
25
+ "height": 512,
26
+ "transparent": true,
27
+ "tintable": true,
28
+ "anchor": {
29
+ "x": 0.5,
30
+ "y": 0.5
31
+ },
32
+ "provenance": "hand-authored-svg",
33
+ "version": 1
34
+ },
35
+ {
36
+ "id": "glow",
37
+ "type": "effect",
38
+ "src": "assets/effects/glow.svg",
39
+ "width": 512,
40
+ "height": 512,
41
+ "transparent": true,
42
+ "tintable": true,
43
+ "anchor": {
44
+ "x": 0.5,
45
+ "y": 0.5
46
+ },
47
+ "provenance": "hand-authored-svg",
48
+ "version": 1
49
+ },
50
+ {
51
+ "id": "particles",
52
+ "type": "effect",
53
+ "src": "assets/effects/particles.svg",
54
+ "width": 512,
55
+ "height": 512,
56
+ "transparent": true,
57
+ "tintable": true,
58
+ "anchor": {
59
+ "x": 0.5,
60
+ "y": 0.5
61
+ },
62
+ "provenance": "hand-authored-svg",
63
+ "version": 1
64
+ },
65
+ {
66
+ "id": "check-burst",
67
+ "type": "effect",
68
+ "src": "assets/effects/check-burst.svg",
69
+ "width": 512,
70
+ "height": 512,
71
+ "transparent": true,
72
+ "tintable": true,
73
+ "anchor": {
74
+ "x": 0.5,
75
+ "y": 0.5
76
+ },
77
+ "provenance": "hand-authored-svg",
78
+ "version": 1
79
+ },
80
+ {
81
+ "id": "warning-flash",
82
+ "type": "effect",
83
+ "src": "assets/effects/warning-flash.svg",
84
+ "width": 512,
85
+ "height": 512,
86
+ "transparent": true,
87
+ "tintable": true,
88
+ "anchor": {
89
+ "x": 0.5,
90
+ "y": 0.5
91
+ },
92
+ "provenance": "hand-authored-svg",
93
+ "version": 1
94
+ }
95
+ ]
96
+ }
@@ -0,0 +1,246 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "artStyleVersion": "cyber-wuxia-v1",
4
+ "items": [
5
+ {
6
+ "id": "document",
7
+ "type": "prop",
8
+ "src": "assets/props/document.svg",
9
+ "width": 256,
10
+ "height": 256,
11
+ "transparent": true,
12
+ "tintable": true,
13
+ "anchor": {
14
+ "x": 0.5,
15
+ "y": 0.5
16
+ },
17
+ "provenance": "hand-authored-svg",
18
+ "version": 1
19
+ },
20
+ {
21
+ "id": "files",
22
+ "type": "prop",
23
+ "src": "assets/props/files.svg",
24
+ "width": 256,
25
+ "height": 256,
26
+ "transparent": true,
27
+ "tintable": true,
28
+ "anchor": {
29
+ "x": 0.5,
30
+ "y": 0.5
31
+ },
32
+ "provenance": "hand-authored-svg",
33
+ "version": 1
34
+ },
35
+ {
36
+ "id": "folder",
37
+ "type": "prop",
38
+ "src": "assets/props/folder.svg",
39
+ "width": 256,
40
+ "height": 256,
41
+ "transparent": true,
42
+ "tintable": true,
43
+ "anchor": {
44
+ "x": 0.5,
45
+ "y": 0.5
46
+ },
47
+ "provenance": "hand-authored-svg",
48
+ "version": 1
49
+ },
50
+ {
51
+ "id": "scroll",
52
+ "type": "prop",
53
+ "src": "assets/props/scroll.svg",
54
+ "width": 256,
55
+ "height": 256,
56
+ "transparent": true,
57
+ "tintable": true,
58
+ "anchor": {
59
+ "x": 0.5,
60
+ "y": 0.5
61
+ },
62
+ "provenance": "hand-authored-svg",
63
+ "version": 1
64
+ },
65
+ {
66
+ "id": "tablet",
67
+ "type": "prop",
68
+ "src": "assets/props/tablet.svg",
69
+ "width": 256,
70
+ "height": 256,
71
+ "transparent": true,
72
+ "tintable": true,
73
+ "anchor": {
74
+ "x": 0.5,
75
+ "y": 0.5
76
+ },
77
+ "provenance": "hand-authored-svg",
78
+ "version": 1
79
+ },
80
+ {
81
+ "id": "magnifier",
82
+ "type": "prop",
83
+ "src": "assets/props/magnifier.svg",
84
+ "width": 256,
85
+ "height": 256,
86
+ "transparent": true,
87
+ "tintable": true,
88
+ "anchor": {
89
+ "x": 0.5,
90
+ "y": 0.5
91
+ },
92
+ "provenance": "hand-authored-svg",
93
+ "version": 1
94
+ },
95
+ {
96
+ "id": "workstation",
97
+ "type": "prop",
98
+ "src": "assets/props/workstation.svg",
99
+ "width": 256,
100
+ "height": 256,
101
+ "transparent": true,
102
+ "tintable": true,
103
+ "anchor": {
104
+ "x": 0.5,
105
+ "y": 0.5
106
+ },
107
+ "provenance": "hand-authored-svg",
108
+ "version": 1
109
+ },
110
+ {
111
+ "id": "code-display",
112
+ "type": "prop",
113
+ "src": "assets/props/code-display.svg",
114
+ "width": 256,
115
+ "height": 256,
116
+ "transparent": true,
117
+ "tintable": true,
118
+ "anchor": {
119
+ "x": 0.5,
120
+ "y": 0.5
121
+ },
122
+ "provenance": "hand-authored-svg",
123
+ "version": 1
124
+ },
125
+ {
126
+ "id": "bug-warning",
127
+ "type": "prop",
128
+ "src": "assets/props/bug-warning.svg",
129
+ "width": 256,
130
+ "height": 256,
131
+ "transparent": true,
132
+ "tintable": true,
133
+ "anchor": {
134
+ "x": 0.5,
135
+ "y": 0.5
136
+ },
137
+ "provenance": "hand-authored-svg",
138
+ "version": 1
139
+ },
140
+ {
141
+ "id": "checklist",
142
+ "type": "prop",
143
+ "src": "assets/props/checklist.svg",
144
+ "width": 256,
145
+ "height": 256,
146
+ "transparent": true,
147
+ "tintable": true,
148
+ "anchor": {
149
+ "x": 0.5,
150
+ "y": 0.5
151
+ },
152
+ "provenance": "hand-authored-svg",
153
+ "version": 1
154
+ },
155
+ {
156
+ "id": "shield",
157
+ "type": "prop",
158
+ "src": "assets/props/shield.svg",
159
+ "width": 256,
160
+ "height": 256,
161
+ "transparent": true,
162
+ "tintable": true,
163
+ "anchor": {
164
+ "x": 0.5,
165
+ "y": 0.5
166
+ },
167
+ "provenance": "hand-authored-svg",
168
+ "version": 1
169
+ },
170
+ {
171
+ "id": "approval-seal",
172
+ "type": "prop",
173
+ "src": "assets/props/approval-seal.svg",
174
+ "width": 256,
175
+ "height": 256,
176
+ "transparent": true,
177
+ "tintable": true,
178
+ "anchor": {
179
+ "x": 0.5,
180
+ "y": 0.5
181
+ },
182
+ "provenance": "hand-authored-svg",
183
+ "version": 1
184
+ },
185
+ {
186
+ "id": "rejection-mark",
187
+ "type": "prop",
188
+ "src": "assets/props/rejection-mark.svg",
189
+ "width": 256,
190
+ "height": 256,
191
+ "transparent": true,
192
+ "tintable": true,
193
+ "anchor": {
194
+ "x": 0.5,
195
+ "y": 0.5
196
+ },
197
+ "provenance": "hand-authored-svg",
198
+ "version": 1
199
+ },
200
+ {
201
+ "id": "package",
202
+ "type": "prop",
203
+ "src": "assets/props/package.svg",
204
+ "width": 256,
205
+ "height": 256,
206
+ "transparent": true,
207
+ "tintable": true,
208
+ "anchor": {
209
+ "x": 0.5,
210
+ "y": 0.5
211
+ },
212
+ "provenance": "hand-authored-svg",
213
+ "version": 1
214
+ },
215
+ {
216
+ "id": "capsule",
217
+ "type": "prop",
218
+ "src": "assets/props/capsule.svg",
219
+ "width": 256,
220
+ "height": 256,
221
+ "transparent": true,
222
+ "tintable": true,
223
+ "anchor": {
224
+ "x": 0.5,
225
+ "y": 0.5
226
+ },
227
+ "provenance": "hand-authored-svg",
228
+ "version": 1
229
+ },
230
+ {
231
+ "id": "report",
232
+ "type": "prop",
233
+ "src": "assets/props/report.svg",
234
+ "width": 256,
235
+ "height": 256,
236
+ "transparent": true,
237
+ "tintable": true,
238
+ "anchor": {
239
+ "x": 0.5,
240
+ "y": 0.5
241
+ },
242
+ "provenance": "hand-authored-svg",
243
+ "version": 1
244
+ }
245
+ ]
246
+ }
@@ -0,0 +1,205 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "artStyleVersion": "cyber-wuxia-v1",
4
+ "items": [
5
+ {
6
+ "id": "director-intake",
7
+ "type": "scene",
8
+ "backgroundId": "command-center",
9
+ "defaultProps": [
10
+ "tablet",
11
+ "capsule"
12
+ ],
13
+ "light": "#A36BFF",
14
+ "effect": "particles",
15
+ "version": 1
16
+ },
17
+ {
18
+ "id": "briefing",
19
+ "type": "scene",
20
+ "backgroundId": "strategy-room",
21
+ "defaultProps": [
22
+ "document",
23
+ "scroll"
24
+ ],
25
+ "light": "#7C7CFF",
26
+ "effect": "glow",
27
+ "version": 1
28
+ },
29
+ {
30
+ "id": "ba-research",
31
+ "type": "scene",
32
+ "backgroundId": "research-library",
33
+ "defaultProps": [
34
+ "magnifier",
35
+ "files",
36
+ "scroll"
37
+ ],
38
+ "light": "#21D6E8",
39
+ "effect": "particles",
40
+ "version": 1
41
+ },
42
+ {
43
+ "id": "discussion",
44
+ "type": "scene",
45
+ "backgroundId": "strategy-room",
46
+ "defaultProps": [
47
+ "document",
48
+ "tablet"
49
+ ],
50
+ "light": "#7C7CFF",
51
+ "effect": "glow",
52
+ "version": 1
53
+ },
54
+ {
55
+ "id": "implement",
56
+ "type": "scene",
57
+ "backgroundId": "developer-workshop",
58
+ "defaultProps": [
59
+ "workstation",
60
+ "code-display"
61
+ ],
62
+ "light": "#F3A544",
63
+ "effect": "speed-lines",
64
+ "version": 1
65
+ },
66
+ {
67
+ "id": "qc-check",
68
+ "type": "scene",
69
+ "backgroundId": "quality-lab",
70
+ "defaultProps": [
71
+ "checklist",
72
+ "shield"
73
+ ],
74
+ "light": "#4AD69A",
75
+ "effect": "glow",
76
+ "version": 1
77
+ },
78
+ {
79
+ "id": "qc-fail",
80
+ "type": "scene",
81
+ "backgroundId": "quality-lab",
82
+ "defaultProps": [
83
+ "bug-warning",
84
+ "rejection-mark"
85
+ ],
86
+ "light": "#E5484D",
87
+ "effect": "warning-flash",
88
+ "version": 1
89
+ },
90
+ {
91
+ "id": "review",
92
+ "type": "scene",
93
+ "backgroundId": "review-chamber",
94
+ "defaultProps": [
95
+ "report",
96
+ "approval-seal"
97
+ ],
98
+ "light": "#A78BFA",
99
+ "effect": "glow",
100
+ "version": 1
101
+ },
102
+ {
103
+ "id": "handoff",
104
+ "type": "scene",
105
+ "backgroundId": "handoff-corridor",
106
+ "defaultProps": [
107
+ "capsule",
108
+ "package"
109
+ ],
110
+ "light": "#6EA8FF",
111
+ "effect": "speed-lines",
112
+ "version": 1
113
+ },
114
+ {
115
+ "id": "blocked",
116
+ "type": "scene",
117
+ "backgroundId": "incident-room",
118
+ "defaultProps": [
119
+ "bug-warning"
120
+ ],
121
+ "light": "#E5484D",
122
+ "effect": "warning-flash",
123
+ "version": 1
124
+ },
125
+ {
126
+ "id": "failure",
127
+ "type": "scene",
128
+ "backgroundId": "incident-room",
129
+ "defaultProps": [
130
+ "bug-warning",
131
+ "rejection-mark"
132
+ ],
133
+ "light": "#E5484D",
134
+ "effect": "focus-lines",
135
+ "version": 1
136
+ },
137
+ {
138
+ "id": "waiting",
139
+ "type": "scene",
140
+ "backgroundId": "command-center",
141
+ "defaultProps": [
142
+ "tablet"
143
+ ],
144
+ "light": "#8F5BFF",
145
+ "effect": "particles",
146
+ "version": 1
147
+ },
148
+ {
149
+ "id": "owner-message",
150
+ "type": "scene",
151
+ "backgroundId": "command-center",
152
+ "defaultProps": [
153
+ "capsule",
154
+ "tablet"
155
+ ],
156
+ "light": "#A36BFF",
157
+ "effect": "glow",
158
+ "version": 1
159
+ },
160
+ {
161
+ "id": "consult",
162
+ "type": "scene",
163
+ "backgroundId": "strategy-room",
164
+ "defaultProps": [
165
+ "capsule",
166
+ "document"
167
+ ],
168
+ "light": "#7C7CFF",
169
+ "version": 1
170
+ },
171
+ {
172
+ "id": "episode",
173
+ "type": "scene",
174
+ "backgroundId": "mission-overview",
175
+ "defaultProps": [],
176
+ "light": "#9B7BFF",
177
+ "effect": "particles",
178
+ "version": 1
179
+ },
180
+ {
181
+ "id": "delivered",
182
+ "type": "scene",
183
+ "backgroundId": "reporting-hall",
184
+ "defaultProps": [
185
+ "report",
186
+ "approval-seal"
187
+ ],
188
+ "light": "#E8B84A",
189
+ "effect": "check-burst",
190
+ "version": 1
191
+ },
192
+ {
193
+ "id": "extra-team",
194
+ "type": "scene",
195
+ "backgroundId": "command-center",
196
+ "defaultProps": [
197
+ "files",
198
+ "tablet"
199
+ ],
200
+ "light": "#21D6E8",
201
+ "effect": "glow",
202
+ "version": 1
203
+ }
204
+ ]
205
+ }