@levelcode/cli 0.3.3 → 0.3.5
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.
- package/dist/index.js +2310 -384
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -74547,16 +74547,48 @@ var init_coordinator = __esm(() => {
|
|
|
74547
74547
|
"task_list"
|
|
74548
74548
|
],
|
|
74549
74549
|
spawnableAgents: [
|
|
74550
|
-
"team-manager",
|
|
74551
|
-
"senior-engineer",
|
|
74552
|
-
"commander",
|
|
74553
74550
|
"file-picker",
|
|
74551
|
+
"file-picker-max",
|
|
74554
74552
|
"code-searcher",
|
|
74555
74553
|
"directory-lister",
|
|
74554
|
+
"glob-matcher",
|
|
74555
|
+
"file-lister",
|
|
74556
74556
|
"researcher-web",
|
|
74557
74557
|
"researcher-docs",
|
|
74558
|
+
"commander",
|
|
74559
|
+
"commander-lite",
|
|
74560
|
+
"context-pruner",
|
|
74558
74561
|
"thinker",
|
|
74559
|
-
"
|
|
74562
|
+
"thinker-best-of-n",
|
|
74563
|
+
"thinker-best-of-n-opus",
|
|
74564
|
+
"editor",
|
|
74565
|
+
"editor-glm",
|
|
74566
|
+
"editor-multi-prompt",
|
|
74567
|
+
"code-reviewer",
|
|
74568
|
+
"code-reviewer-multi-prompt",
|
|
74569
|
+
"opus-agent",
|
|
74570
|
+
"gpt-5-agent",
|
|
74571
|
+
"team-cto",
|
|
74572
|
+
"team-vp-engineering",
|
|
74573
|
+
"team-director",
|
|
74574
|
+
"coordinator",
|
|
74575
|
+
"team-fellow",
|
|
74576
|
+
"team-distinguished-engineer",
|
|
74577
|
+
"team-principal-engineer",
|
|
74578
|
+
"team-senior-staff-engineer",
|
|
74579
|
+
"team-staff-engineer",
|
|
74580
|
+
"team-manager",
|
|
74581
|
+
"team-sub-manager",
|
|
74582
|
+
"senior-engineer",
|
|
74583
|
+
"team-mid-level-engineer",
|
|
74584
|
+
"team-junior-engineer",
|
|
74585
|
+
"team-researcher",
|
|
74586
|
+
"team-scientist",
|
|
74587
|
+
"team-designer",
|
|
74588
|
+
"team-product-lead",
|
|
74589
|
+
"team-tester",
|
|
74590
|
+
"team-intern",
|
|
74591
|
+
"team-apprentice"
|
|
74560
74592
|
],
|
|
74561
74593
|
systemPrompt: `You are a Team Coordinator: a top-level orchestrator responsible for driving complex, multi-agent software engineering projects to completion.
|
|
74562
74594
|
|
|
@@ -74680,17 +74712,48 @@ var init_cto = __esm(() => {
|
|
|
74680
74712
|
"task_list"
|
|
74681
74713
|
],
|
|
74682
74714
|
spawnableAgents: [
|
|
74683
|
-
"team-manager",
|
|
74684
|
-
"senior-engineer",
|
|
74685
|
-
"commander",
|
|
74686
74715
|
"file-picker",
|
|
74687
|
-
"
|
|
74688
|
-
"code-reviewer",
|
|
74716
|
+
"file-picker-max",
|
|
74689
74717
|
"code-searcher",
|
|
74690
74718
|
"directory-lister",
|
|
74719
|
+
"glob-matcher",
|
|
74720
|
+
"file-lister",
|
|
74691
74721
|
"researcher-web",
|
|
74692
74722
|
"researcher-docs",
|
|
74693
|
-
"
|
|
74723
|
+
"commander",
|
|
74724
|
+
"commander-lite",
|
|
74725
|
+
"context-pruner",
|
|
74726
|
+
"thinker",
|
|
74727
|
+
"thinker-best-of-n",
|
|
74728
|
+
"thinker-best-of-n-opus",
|
|
74729
|
+
"editor",
|
|
74730
|
+
"editor-glm",
|
|
74731
|
+
"editor-multi-prompt",
|
|
74732
|
+
"code-reviewer",
|
|
74733
|
+
"code-reviewer-multi-prompt",
|
|
74734
|
+
"opus-agent",
|
|
74735
|
+
"gpt-5-agent",
|
|
74736
|
+
"team-cto",
|
|
74737
|
+
"team-vp-engineering",
|
|
74738
|
+
"team-director",
|
|
74739
|
+
"coordinator",
|
|
74740
|
+
"team-fellow",
|
|
74741
|
+
"team-distinguished-engineer",
|
|
74742
|
+
"team-principal-engineer",
|
|
74743
|
+
"team-senior-staff-engineer",
|
|
74744
|
+
"team-staff-engineer",
|
|
74745
|
+
"team-manager",
|
|
74746
|
+
"team-sub-manager",
|
|
74747
|
+
"senior-engineer",
|
|
74748
|
+
"team-mid-level-engineer",
|
|
74749
|
+
"team-junior-engineer",
|
|
74750
|
+
"team-researcher",
|
|
74751
|
+
"team-scientist",
|
|
74752
|
+
"team-designer",
|
|
74753
|
+
"team-product-lead",
|
|
74754
|
+
"team-tester",
|
|
74755
|
+
"team-intern",
|
|
74756
|
+
"team-apprentice"
|
|
74694
74757
|
],
|
|
74695
74758
|
systemPrompt: `You are a CTO Agent within a LevelCode swarm team. You are the Chief Technology Officer responsible for the overall technical strategy and execution of the project.
|
|
74696
74759
|
|
|
@@ -74801,16 +74864,48 @@ var init_vp_engineering = __esm(() => {
|
|
|
74801
74864
|
"task_list"
|
|
74802
74865
|
],
|
|
74803
74866
|
spawnableAgents: [
|
|
74804
|
-
"team-manager",
|
|
74805
|
-
"senior-engineer",
|
|
74806
|
-
"commander",
|
|
74807
74867
|
"file-picker",
|
|
74808
|
-
"
|
|
74868
|
+
"file-picker-max",
|
|
74809
74869
|
"code-searcher",
|
|
74810
74870
|
"directory-lister",
|
|
74871
|
+
"glob-matcher",
|
|
74872
|
+
"file-lister",
|
|
74811
74873
|
"researcher-web",
|
|
74812
74874
|
"researcher-docs",
|
|
74813
|
-
"
|
|
74875
|
+
"commander",
|
|
74876
|
+
"commander-lite",
|
|
74877
|
+
"context-pruner",
|
|
74878
|
+
"thinker",
|
|
74879
|
+
"thinker-best-of-n",
|
|
74880
|
+
"thinker-best-of-n-opus",
|
|
74881
|
+
"editor",
|
|
74882
|
+
"editor-glm",
|
|
74883
|
+
"editor-multi-prompt",
|
|
74884
|
+
"code-reviewer",
|
|
74885
|
+
"code-reviewer-multi-prompt",
|
|
74886
|
+
"opus-agent",
|
|
74887
|
+
"gpt-5-agent",
|
|
74888
|
+
"team-cto",
|
|
74889
|
+
"team-vp-engineering",
|
|
74890
|
+
"team-director",
|
|
74891
|
+
"coordinator",
|
|
74892
|
+
"team-fellow",
|
|
74893
|
+
"team-distinguished-engineer",
|
|
74894
|
+
"team-principal-engineer",
|
|
74895
|
+
"team-senior-staff-engineer",
|
|
74896
|
+
"team-staff-engineer",
|
|
74897
|
+
"team-manager",
|
|
74898
|
+
"team-sub-manager",
|
|
74899
|
+
"senior-engineer",
|
|
74900
|
+
"team-mid-level-engineer",
|
|
74901
|
+
"team-junior-engineer",
|
|
74902
|
+
"team-researcher",
|
|
74903
|
+
"team-scientist",
|
|
74904
|
+
"team-designer",
|
|
74905
|
+
"team-product-lead",
|
|
74906
|
+
"team-tester",
|
|
74907
|
+
"team-intern",
|
|
74908
|
+
"team-apprentice"
|
|
74814
74909
|
],
|
|
74815
74910
|
systemPrompt: `You are a VP of Engineering Agent within a LevelCode swarm team. You are responsible for engineering operations, delivery execution, and organizational effectiveness.
|
|
74816
74911
|
|
|
@@ -74912,16 +75007,48 @@ var init_director = __esm(() => {
|
|
|
74912
75007
|
"task_list"
|
|
74913
75008
|
],
|
|
74914
75009
|
spawnableAgents: [
|
|
74915
|
-
"team-manager",
|
|
74916
|
-
"senior-engineer",
|
|
74917
|
-
"commander",
|
|
74918
75010
|
"file-picker",
|
|
74919
|
-
"
|
|
75011
|
+
"file-picker-max",
|
|
74920
75012
|
"code-searcher",
|
|
74921
75013
|
"directory-lister",
|
|
75014
|
+
"glob-matcher",
|
|
75015
|
+
"file-lister",
|
|
74922
75016
|
"researcher-web",
|
|
74923
75017
|
"researcher-docs",
|
|
74924
|
-
"
|
|
75018
|
+
"commander",
|
|
75019
|
+
"commander-lite",
|
|
75020
|
+
"context-pruner",
|
|
75021
|
+
"thinker",
|
|
75022
|
+
"thinker-best-of-n",
|
|
75023
|
+
"thinker-best-of-n-opus",
|
|
75024
|
+
"editor",
|
|
75025
|
+
"editor-glm",
|
|
75026
|
+
"editor-multi-prompt",
|
|
75027
|
+
"code-reviewer",
|
|
75028
|
+
"code-reviewer-multi-prompt",
|
|
75029
|
+
"opus-agent",
|
|
75030
|
+
"gpt-5-agent",
|
|
75031
|
+
"team-cto",
|
|
75032
|
+
"team-vp-engineering",
|
|
75033
|
+
"team-director",
|
|
75034
|
+
"coordinator",
|
|
75035
|
+
"team-fellow",
|
|
75036
|
+
"team-distinguished-engineer",
|
|
75037
|
+
"team-principal-engineer",
|
|
75038
|
+
"team-senior-staff-engineer",
|
|
75039
|
+
"team-staff-engineer",
|
|
75040
|
+
"team-manager",
|
|
75041
|
+
"team-sub-manager",
|
|
75042
|
+
"senior-engineer",
|
|
75043
|
+
"team-mid-level-engineer",
|
|
75044
|
+
"team-junior-engineer",
|
|
75045
|
+
"team-researcher",
|
|
75046
|
+
"team-scientist",
|
|
75047
|
+
"team-designer",
|
|
75048
|
+
"team-product-lead",
|
|
75049
|
+
"team-tester",
|
|
75050
|
+
"team-intern",
|
|
75051
|
+
"team-apprentice"
|
|
74925
75052
|
],
|
|
74926
75053
|
systemPrompt: `You are an Engineering Director Agent within a LevelCode swarm team. You manage multiple teams and ensure cross-team alignment and delivery.
|
|
74927
75054
|
|
|
@@ -75024,17 +75151,48 @@ var init_fellow = __esm(() => {
|
|
|
75024
75151
|
"think_deeply"
|
|
75025
75152
|
],
|
|
75026
75153
|
spawnableAgents: [
|
|
75027
|
-
"senior-engineer",
|
|
75028
75154
|
"file-picker",
|
|
75029
|
-
"
|
|
75030
|
-
"code-reviewer",
|
|
75155
|
+
"file-picker-max",
|
|
75031
75156
|
"code-searcher",
|
|
75032
75157
|
"directory-lister",
|
|
75033
75158
|
"glob-matcher",
|
|
75034
|
-
"
|
|
75159
|
+
"file-lister",
|
|
75035
75160
|
"researcher-web",
|
|
75036
75161
|
"researcher-docs",
|
|
75037
|
-
"
|
|
75162
|
+
"commander",
|
|
75163
|
+
"commander-lite",
|
|
75164
|
+
"context-pruner",
|
|
75165
|
+
"thinker",
|
|
75166
|
+
"thinker-best-of-n",
|
|
75167
|
+
"thinker-best-of-n-opus",
|
|
75168
|
+
"editor",
|
|
75169
|
+
"editor-glm",
|
|
75170
|
+
"editor-multi-prompt",
|
|
75171
|
+
"code-reviewer",
|
|
75172
|
+
"code-reviewer-multi-prompt",
|
|
75173
|
+
"opus-agent",
|
|
75174
|
+
"gpt-5-agent",
|
|
75175
|
+
"team-cto",
|
|
75176
|
+
"team-vp-engineering",
|
|
75177
|
+
"team-director",
|
|
75178
|
+
"coordinator",
|
|
75179
|
+
"team-fellow",
|
|
75180
|
+
"team-distinguished-engineer",
|
|
75181
|
+
"team-principal-engineer",
|
|
75182
|
+
"team-senior-staff-engineer",
|
|
75183
|
+
"team-staff-engineer",
|
|
75184
|
+
"team-manager",
|
|
75185
|
+
"team-sub-manager",
|
|
75186
|
+
"senior-engineer",
|
|
75187
|
+
"team-mid-level-engineer",
|
|
75188
|
+
"team-junior-engineer",
|
|
75189
|
+
"team-researcher",
|
|
75190
|
+
"team-scientist",
|
|
75191
|
+
"team-designer",
|
|
75192
|
+
"team-product-lead",
|
|
75193
|
+
"team-tester",
|
|
75194
|
+
"team-intern",
|
|
75195
|
+
"team-apprentice"
|
|
75038
75196
|
],
|
|
75039
75197
|
systemPrompt: `You are a Fellow Agent within a LevelCode swarm team. You are the most senior technical individual contributor -- an engineering fellow whose expertise defines the state of the art for the project.
|
|
75040
75198
|
|
|
@@ -75137,17 +75295,48 @@ var init_distinguished_engineer = __esm(() => {
|
|
|
75137
75295
|
"think_deeply"
|
|
75138
75296
|
],
|
|
75139
75297
|
spawnableAgents: [
|
|
75140
|
-
"senior-engineer",
|
|
75141
75298
|
"file-picker",
|
|
75142
|
-
"
|
|
75143
|
-
"code-reviewer",
|
|
75299
|
+
"file-picker-max",
|
|
75144
75300
|
"code-searcher",
|
|
75145
75301
|
"directory-lister",
|
|
75146
75302
|
"glob-matcher",
|
|
75147
|
-
"
|
|
75303
|
+
"file-lister",
|
|
75148
75304
|
"researcher-web",
|
|
75149
75305
|
"researcher-docs",
|
|
75150
|
-
"
|
|
75306
|
+
"commander",
|
|
75307
|
+
"commander-lite",
|
|
75308
|
+
"context-pruner",
|
|
75309
|
+
"thinker",
|
|
75310
|
+
"thinker-best-of-n",
|
|
75311
|
+
"thinker-best-of-n-opus",
|
|
75312
|
+
"editor",
|
|
75313
|
+
"editor-glm",
|
|
75314
|
+
"editor-multi-prompt",
|
|
75315
|
+
"code-reviewer",
|
|
75316
|
+
"code-reviewer-multi-prompt",
|
|
75317
|
+
"opus-agent",
|
|
75318
|
+
"gpt-5-agent",
|
|
75319
|
+
"team-cto",
|
|
75320
|
+
"team-vp-engineering",
|
|
75321
|
+
"team-director",
|
|
75322
|
+
"coordinator",
|
|
75323
|
+
"team-fellow",
|
|
75324
|
+
"team-distinguished-engineer",
|
|
75325
|
+
"team-principal-engineer",
|
|
75326
|
+
"team-senior-staff-engineer",
|
|
75327
|
+
"team-staff-engineer",
|
|
75328
|
+
"team-manager",
|
|
75329
|
+
"team-sub-manager",
|
|
75330
|
+
"senior-engineer",
|
|
75331
|
+
"team-mid-level-engineer",
|
|
75332
|
+
"team-junior-engineer",
|
|
75333
|
+
"team-researcher",
|
|
75334
|
+
"team-scientist",
|
|
75335
|
+
"team-designer",
|
|
75336
|
+
"team-product-lead",
|
|
75337
|
+
"team-tester",
|
|
75338
|
+
"team-intern",
|
|
75339
|
+
"team-apprentice"
|
|
75151
75340
|
],
|
|
75152
75341
|
systemPrompt: `You are a Distinguished Engineer Agent within a LevelCode swarm team. You represent the pinnacle of technical individual contribution, operating at the intersection of deep technical expertise and strategic thinking.
|
|
75153
75342
|
|
|
@@ -75249,17 +75438,48 @@ var init_principal_engineer = __esm(() => {
|
|
|
75249
75438
|
"think_deeply"
|
|
75250
75439
|
],
|
|
75251
75440
|
spawnableAgents: [
|
|
75252
|
-
"senior-engineer",
|
|
75253
75441
|
"file-picker",
|
|
75254
|
-
"
|
|
75255
|
-
"code-reviewer",
|
|
75442
|
+
"file-picker-max",
|
|
75256
75443
|
"code-searcher",
|
|
75257
75444
|
"directory-lister",
|
|
75258
75445
|
"glob-matcher",
|
|
75259
|
-
"
|
|
75446
|
+
"file-lister",
|
|
75260
75447
|
"researcher-web",
|
|
75261
75448
|
"researcher-docs",
|
|
75262
|
-
"
|
|
75449
|
+
"commander",
|
|
75450
|
+
"commander-lite",
|
|
75451
|
+
"context-pruner",
|
|
75452
|
+
"thinker",
|
|
75453
|
+
"thinker-best-of-n",
|
|
75454
|
+
"thinker-best-of-n-opus",
|
|
75455
|
+
"editor",
|
|
75456
|
+
"editor-glm",
|
|
75457
|
+
"editor-multi-prompt",
|
|
75458
|
+
"code-reviewer",
|
|
75459
|
+
"code-reviewer-multi-prompt",
|
|
75460
|
+
"opus-agent",
|
|
75461
|
+
"gpt-5-agent",
|
|
75462
|
+
"team-cto",
|
|
75463
|
+
"team-vp-engineering",
|
|
75464
|
+
"team-director",
|
|
75465
|
+
"coordinator",
|
|
75466
|
+
"team-fellow",
|
|
75467
|
+
"team-distinguished-engineer",
|
|
75468
|
+
"team-principal-engineer",
|
|
75469
|
+
"team-senior-staff-engineer",
|
|
75470
|
+
"team-staff-engineer",
|
|
75471
|
+
"team-manager",
|
|
75472
|
+
"team-sub-manager",
|
|
75473
|
+
"senior-engineer",
|
|
75474
|
+
"team-mid-level-engineer",
|
|
75475
|
+
"team-junior-engineer",
|
|
75476
|
+
"team-researcher",
|
|
75477
|
+
"team-scientist",
|
|
75478
|
+
"team-designer",
|
|
75479
|
+
"team-product-lead",
|
|
75480
|
+
"team-tester",
|
|
75481
|
+
"team-intern",
|
|
75482
|
+
"team-apprentice"
|
|
75263
75483
|
],
|
|
75264
75484
|
systemPrompt: `You are a Principal Engineer Agent within a LevelCode swarm team. You are the highest-level technical individual contributor, responsible for setting architectural direction and solving the hardest engineering problems.
|
|
75265
75485
|
|
|
@@ -75366,15 +75586,47 @@ var init_senior_staff_engineer = __esm(() => {
|
|
|
75366
75586
|
],
|
|
75367
75587
|
spawnableAgents: [
|
|
75368
75588
|
"file-picker",
|
|
75369
|
-
"
|
|
75370
|
-
"code-reviewer",
|
|
75589
|
+
"file-picker-max",
|
|
75371
75590
|
"code-searcher",
|
|
75372
75591
|
"directory-lister",
|
|
75373
75592
|
"glob-matcher",
|
|
75374
|
-
"
|
|
75593
|
+
"file-lister",
|
|
75375
75594
|
"researcher-web",
|
|
75376
75595
|
"researcher-docs",
|
|
75377
|
-
"
|
|
75596
|
+
"commander",
|
|
75597
|
+
"commander-lite",
|
|
75598
|
+
"context-pruner",
|
|
75599
|
+
"thinker",
|
|
75600
|
+
"thinker-best-of-n",
|
|
75601
|
+
"thinker-best-of-n-opus",
|
|
75602
|
+
"editor",
|
|
75603
|
+
"editor-glm",
|
|
75604
|
+
"editor-multi-prompt",
|
|
75605
|
+
"code-reviewer",
|
|
75606
|
+
"code-reviewer-multi-prompt",
|
|
75607
|
+
"opus-agent",
|
|
75608
|
+
"gpt-5-agent",
|
|
75609
|
+
"team-cto",
|
|
75610
|
+
"team-vp-engineering",
|
|
75611
|
+
"team-director",
|
|
75612
|
+
"coordinator",
|
|
75613
|
+
"team-fellow",
|
|
75614
|
+
"team-distinguished-engineer",
|
|
75615
|
+
"team-principal-engineer",
|
|
75616
|
+
"team-senior-staff-engineer",
|
|
75617
|
+
"team-staff-engineer",
|
|
75618
|
+
"team-manager",
|
|
75619
|
+
"team-sub-manager",
|
|
75620
|
+
"senior-engineer",
|
|
75621
|
+
"team-mid-level-engineer",
|
|
75622
|
+
"team-junior-engineer",
|
|
75623
|
+
"team-researcher",
|
|
75624
|
+
"team-scientist",
|
|
75625
|
+
"team-designer",
|
|
75626
|
+
"team-product-lead",
|
|
75627
|
+
"team-tester",
|
|
75628
|
+
"team-intern",
|
|
75629
|
+
"team-apprentice"
|
|
75378
75630
|
],
|
|
75379
75631
|
systemPrompt: `You are a Senior Staff Engineer Agent within a LevelCode swarm team. You are one of the most technically experienced ICs, responsible for driving large-scale technical initiatives and providing cross-team technical leadership.
|
|
75380
75632
|
|
|
@@ -75480,13 +75732,47 @@ var init_staff_engineer = __esm(() => {
|
|
|
75480
75732
|
],
|
|
75481
75733
|
spawnableAgents: [
|
|
75482
75734
|
"file-picker",
|
|
75483
|
-
"
|
|
75484
|
-
"code-reviewer",
|
|
75735
|
+
"file-picker-max",
|
|
75485
75736
|
"code-searcher",
|
|
75486
75737
|
"directory-lister",
|
|
75487
75738
|
"glob-matcher",
|
|
75739
|
+
"file-lister",
|
|
75740
|
+
"researcher-web",
|
|
75741
|
+
"researcher-docs",
|
|
75488
75742
|
"commander",
|
|
75489
|
-
"
|
|
75743
|
+
"commander-lite",
|
|
75744
|
+
"context-pruner",
|
|
75745
|
+
"thinker",
|
|
75746
|
+
"thinker-best-of-n",
|
|
75747
|
+
"thinker-best-of-n-opus",
|
|
75748
|
+
"editor",
|
|
75749
|
+
"editor-glm",
|
|
75750
|
+
"editor-multi-prompt",
|
|
75751
|
+
"code-reviewer",
|
|
75752
|
+
"code-reviewer-multi-prompt",
|
|
75753
|
+
"opus-agent",
|
|
75754
|
+
"gpt-5-agent",
|
|
75755
|
+
"team-cto",
|
|
75756
|
+
"team-vp-engineering",
|
|
75757
|
+
"team-director",
|
|
75758
|
+
"coordinator",
|
|
75759
|
+
"team-fellow",
|
|
75760
|
+
"team-distinguished-engineer",
|
|
75761
|
+
"team-principal-engineer",
|
|
75762
|
+
"team-senior-staff-engineer",
|
|
75763
|
+
"team-staff-engineer",
|
|
75764
|
+
"team-manager",
|
|
75765
|
+
"team-sub-manager",
|
|
75766
|
+
"senior-engineer",
|
|
75767
|
+
"team-mid-level-engineer",
|
|
75768
|
+
"team-junior-engineer",
|
|
75769
|
+
"team-researcher",
|
|
75770
|
+
"team-scientist",
|
|
75771
|
+
"team-designer",
|
|
75772
|
+
"team-product-lead",
|
|
75773
|
+
"team-tester",
|
|
75774
|
+
"team-intern",
|
|
75775
|
+
"team-apprentice"
|
|
75490
75776
|
],
|
|
75491
75777
|
systemPrompt: `You are a Staff Engineer Agent within a LevelCode swarm team. You are a senior technical leader who drives complex engineering initiatives and sets technical direction within your domain.
|
|
75492
75778
|
|
|
@@ -75583,9 +75869,48 @@ var init_manager = __esm(() => {
|
|
|
75583
75869
|
"ask_user"
|
|
75584
75870
|
],
|
|
75585
75871
|
spawnableAgents: [
|
|
75872
|
+
"file-picker",
|
|
75873
|
+
"file-picker-max",
|
|
75874
|
+
"code-searcher",
|
|
75875
|
+
"directory-lister",
|
|
75876
|
+
"glob-matcher",
|
|
75877
|
+
"file-lister",
|
|
75878
|
+
"researcher-web",
|
|
75879
|
+
"researcher-docs",
|
|
75880
|
+
"commander",
|
|
75881
|
+
"commander-lite",
|
|
75882
|
+
"context-pruner",
|
|
75883
|
+
"thinker",
|
|
75884
|
+
"thinker-best-of-n",
|
|
75885
|
+
"thinker-best-of-n-opus",
|
|
75886
|
+
"editor",
|
|
75887
|
+
"editor-glm",
|
|
75888
|
+
"editor-multi-prompt",
|
|
75889
|
+
"code-reviewer",
|
|
75890
|
+
"code-reviewer-multi-prompt",
|
|
75891
|
+
"opus-agent",
|
|
75892
|
+
"gpt-5-agent",
|
|
75893
|
+
"team-cto",
|
|
75894
|
+
"team-vp-engineering",
|
|
75895
|
+
"team-director",
|
|
75896
|
+
"coordinator",
|
|
75897
|
+
"team-fellow",
|
|
75898
|
+
"team-distinguished-engineer",
|
|
75899
|
+
"team-principal-engineer",
|
|
75900
|
+
"team-senior-staff-engineer",
|
|
75901
|
+
"team-staff-engineer",
|
|
75902
|
+
"team-manager",
|
|
75903
|
+
"team-sub-manager",
|
|
75586
75904
|
"senior-engineer",
|
|
75587
75905
|
"team-mid-level-engineer",
|
|
75588
|
-
"
|
|
75906
|
+
"team-junior-engineer",
|
|
75907
|
+
"team-researcher",
|
|
75908
|
+
"team-scientist",
|
|
75909
|
+
"team-designer",
|
|
75910
|
+
"team-product-lead",
|
|
75911
|
+
"team-tester",
|
|
75912
|
+
"team-intern",
|
|
75913
|
+
"team-apprentice"
|
|
75589
75914
|
],
|
|
75590
75915
|
systemPrompt: `You are a Manager Agent responsible for overseeing a group of engineers within a LevelCode swarm team.
|
|
75591
75916
|
|
|
@@ -75701,14 +76026,48 @@ var init_sub_manager = __esm(() => {
|
|
|
75701
76026
|
"set_output"
|
|
75702
76027
|
],
|
|
75703
76028
|
spawnableAgents: [
|
|
75704
|
-
"team-mid-level-engineer",
|
|
75705
|
-
"team-junior-engineer",
|
|
75706
76029
|
"file-picker",
|
|
76030
|
+
"file-picker-max",
|
|
75707
76031
|
"code-searcher",
|
|
75708
76032
|
"directory-lister",
|
|
75709
76033
|
"glob-matcher",
|
|
76034
|
+
"file-lister",
|
|
76035
|
+
"researcher-web",
|
|
76036
|
+
"researcher-docs",
|
|
75710
76037
|
"commander",
|
|
75711
|
-
"
|
|
76038
|
+
"commander-lite",
|
|
76039
|
+
"context-pruner",
|
|
76040
|
+
"thinker",
|
|
76041
|
+
"thinker-best-of-n",
|
|
76042
|
+
"thinker-best-of-n-opus",
|
|
76043
|
+
"editor",
|
|
76044
|
+
"editor-glm",
|
|
76045
|
+
"editor-multi-prompt",
|
|
76046
|
+
"code-reviewer",
|
|
76047
|
+
"code-reviewer-multi-prompt",
|
|
76048
|
+
"opus-agent",
|
|
76049
|
+
"gpt-5-agent",
|
|
76050
|
+
"team-cto",
|
|
76051
|
+
"team-vp-engineering",
|
|
76052
|
+
"team-director",
|
|
76053
|
+
"coordinator",
|
|
76054
|
+
"team-fellow",
|
|
76055
|
+
"team-distinguished-engineer",
|
|
76056
|
+
"team-principal-engineer",
|
|
76057
|
+
"team-senior-staff-engineer",
|
|
76058
|
+
"team-staff-engineer",
|
|
76059
|
+
"team-manager",
|
|
76060
|
+
"team-sub-manager",
|
|
76061
|
+
"senior-engineer",
|
|
76062
|
+
"team-mid-level-engineer",
|
|
76063
|
+
"team-junior-engineer",
|
|
76064
|
+
"team-researcher",
|
|
76065
|
+
"team-scientist",
|
|
76066
|
+
"team-designer",
|
|
76067
|
+
"team-product-lead",
|
|
76068
|
+
"team-tester",
|
|
76069
|
+
"team-intern",
|
|
76070
|
+
"team-apprentice"
|
|
75712
76071
|
],
|
|
75713
76072
|
systemPrompt: `You are a Sub-Manager Agent (Team Lead) within a LevelCode swarm team. You coordinate a small group of engineers on a focused workstream.
|
|
75714
76073
|
|
|
@@ -75836,7 +76195,50 @@ var init_senior_engineer = __esm(() => {
|
|
|
75836
76195
|
outputMode: "last_message",
|
|
75837
76196
|
includeMessageHistory: true,
|
|
75838
76197
|
toolNames: buildArray("spawn_agents", "read_files", "read_subtree", "str_replace", "write_file", "propose_str_replace", "propose_write_file", "code_search", "find_files", "glob", "list_directory", "run_terminal_command", "write_todos", "set_output", "skill", "think_deeply"),
|
|
75839
|
-
spawnableAgents:
|
|
76198
|
+
spawnableAgents: [
|
|
76199
|
+
"file-picker",
|
|
76200
|
+
"file-picker-max",
|
|
76201
|
+
"code-searcher",
|
|
76202
|
+
"directory-lister",
|
|
76203
|
+
"glob-matcher",
|
|
76204
|
+
"file-lister",
|
|
76205
|
+
"researcher-web",
|
|
76206
|
+
"researcher-docs",
|
|
76207
|
+
"commander",
|
|
76208
|
+
"commander-lite",
|
|
76209
|
+
"context-pruner",
|
|
76210
|
+
"thinker",
|
|
76211
|
+
"thinker-best-of-n",
|
|
76212
|
+
"thinker-best-of-n-opus",
|
|
76213
|
+
"editor",
|
|
76214
|
+
"editor-glm",
|
|
76215
|
+
"editor-multi-prompt",
|
|
76216
|
+
"code-reviewer",
|
|
76217
|
+
"code-reviewer-multi-prompt",
|
|
76218
|
+
"opus-agent",
|
|
76219
|
+
"gpt-5-agent",
|
|
76220
|
+
"team-cto",
|
|
76221
|
+
"team-vp-engineering",
|
|
76222
|
+
"team-director",
|
|
76223
|
+
"coordinator",
|
|
76224
|
+
"team-fellow",
|
|
76225
|
+
"team-distinguished-engineer",
|
|
76226
|
+
"team-principal-engineer",
|
|
76227
|
+
"team-senior-staff-engineer",
|
|
76228
|
+
"team-staff-engineer",
|
|
76229
|
+
"team-manager",
|
|
76230
|
+
"team-sub-manager",
|
|
76231
|
+
"senior-engineer",
|
|
76232
|
+
"team-mid-level-engineer",
|
|
76233
|
+
"team-junior-engineer",
|
|
76234
|
+
"team-researcher",
|
|
76235
|
+
"team-scientist",
|
|
76236
|
+
"team-designer",
|
|
76237
|
+
"team-product-lead",
|
|
76238
|
+
"team-tester",
|
|
76239
|
+
"team-intern",
|
|
76240
|
+
"team-apprentice"
|
|
76241
|
+
],
|
|
75840
76242
|
systemPrompt: `You are Atlas, a Senior Engineer operating within a LevelCode team. You are a strong individual contributor with deep technical expertise who takes ownership of complex engineering tasks.
|
|
75841
76243
|
|
|
75842
76244
|
# Role
|
|
@@ -75982,11 +76384,47 @@ var init_mid_level_engineer = __esm(() => {
|
|
|
75982
76384
|
],
|
|
75983
76385
|
spawnableAgents: [
|
|
75984
76386
|
"file-picker",
|
|
76387
|
+
"file-picker-max",
|
|
75985
76388
|
"code-searcher",
|
|
75986
76389
|
"directory-lister",
|
|
75987
76390
|
"glob-matcher",
|
|
76391
|
+
"file-lister",
|
|
76392
|
+
"researcher-web",
|
|
76393
|
+
"researcher-docs",
|
|
75988
76394
|
"commander",
|
|
75989
|
-
"
|
|
76395
|
+
"commander-lite",
|
|
76396
|
+
"context-pruner",
|
|
76397
|
+
"thinker",
|
|
76398
|
+
"thinker-best-of-n",
|
|
76399
|
+
"thinker-best-of-n-opus",
|
|
76400
|
+
"editor",
|
|
76401
|
+
"editor-glm",
|
|
76402
|
+
"editor-multi-prompt",
|
|
76403
|
+
"code-reviewer",
|
|
76404
|
+
"code-reviewer-multi-prompt",
|
|
76405
|
+
"opus-agent",
|
|
76406
|
+
"gpt-5-agent",
|
|
76407
|
+
"team-cto",
|
|
76408
|
+
"team-vp-engineering",
|
|
76409
|
+
"team-director",
|
|
76410
|
+
"coordinator",
|
|
76411
|
+
"team-fellow",
|
|
76412
|
+
"team-distinguished-engineer",
|
|
76413
|
+
"team-principal-engineer",
|
|
76414
|
+
"team-senior-staff-engineer",
|
|
76415
|
+
"team-staff-engineer",
|
|
76416
|
+
"team-manager",
|
|
76417
|
+
"team-sub-manager",
|
|
76418
|
+
"senior-engineer",
|
|
76419
|
+
"team-mid-level-engineer",
|
|
76420
|
+
"team-junior-engineer",
|
|
76421
|
+
"team-researcher",
|
|
76422
|
+
"team-scientist",
|
|
76423
|
+
"team-designer",
|
|
76424
|
+
"team-product-lead",
|
|
76425
|
+
"team-tester",
|
|
76426
|
+
"team-intern",
|
|
76427
|
+
"team-apprentice"
|
|
75990
76428
|
],
|
|
75991
76429
|
systemPrompt: `You are a Mid-Level Engineer Agent within a LevelCode swarm team. You are a capable individual contributor who handles a wide range of implementation tasks independently.
|
|
75992
76430
|
|
|
@@ -76088,11 +76526,47 @@ var init_junior_engineer = __esm(() => {
|
|
|
76088
76526
|
],
|
|
76089
76527
|
spawnableAgents: [
|
|
76090
76528
|
"file-picker",
|
|
76529
|
+
"file-picker-max",
|
|
76091
76530
|
"code-searcher",
|
|
76092
76531
|
"directory-lister",
|
|
76093
76532
|
"glob-matcher",
|
|
76533
|
+
"file-lister",
|
|
76534
|
+
"researcher-web",
|
|
76535
|
+
"researcher-docs",
|
|
76094
76536
|
"commander",
|
|
76095
|
-
"
|
|
76537
|
+
"commander-lite",
|
|
76538
|
+
"context-pruner",
|
|
76539
|
+
"thinker",
|
|
76540
|
+
"thinker-best-of-n",
|
|
76541
|
+
"thinker-best-of-n-opus",
|
|
76542
|
+
"editor",
|
|
76543
|
+
"editor-glm",
|
|
76544
|
+
"editor-multi-prompt",
|
|
76545
|
+
"code-reviewer",
|
|
76546
|
+
"code-reviewer-multi-prompt",
|
|
76547
|
+
"opus-agent",
|
|
76548
|
+
"gpt-5-agent",
|
|
76549
|
+
"team-cto",
|
|
76550
|
+
"team-vp-engineering",
|
|
76551
|
+
"team-director",
|
|
76552
|
+
"coordinator",
|
|
76553
|
+
"team-fellow",
|
|
76554
|
+
"team-distinguished-engineer",
|
|
76555
|
+
"team-principal-engineer",
|
|
76556
|
+
"team-senior-staff-engineer",
|
|
76557
|
+
"team-staff-engineer",
|
|
76558
|
+
"team-manager",
|
|
76559
|
+
"team-sub-manager",
|
|
76560
|
+
"senior-engineer",
|
|
76561
|
+
"team-mid-level-engineer",
|
|
76562
|
+
"team-junior-engineer",
|
|
76563
|
+
"team-researcher",
|
|
76564
|
+
"team-scientist",
|
|
76565
|
+
"team-designer",
|
|
76566
|
+
"team-product-lead",
|
|
76567
|
+
"team-tester",
|
|
76568
|
+
"team-intern",
|
|
76569
|
+
"team-apprentice"
|
|
76096
76570
|
],
|
|
76097
76571
|
systemPrompt: `You are a Junior Engineer Agent within a LevelCode swarm team. You handle well-scoped implementation tasks under the guidance of more senior engineers.
|
|
76098
76572
|
|
|
@@ -76185,7 +76659,50 @@ var init_researcher = __esm(() => {
|
|
|
76185
76659
|
"list_directory",
|
|
76186
76660
|
"set_output"
|
|
76187
76661
|
],
|
|
76188
|
-
spawnableAgents: [
|
|
76662
|
+
spawnableAgents: [
|
|
76663
|
+
"file-picker",
|
|
76664
|
+
"file-picker-max",
|
|
76665
|
+
"code-searcher",
|
|
76666
|
+
"directory-lister",
|
|
76667
|
+
"glob-matcher",
|
|
76668
|
+
"file-lister",
|
|
76669
|
+
"researcher-web",
|
|
76670
|
+
"researcher-docs",
|
|
76671
|
+
"commander",
|
|
76672
|
+
"commander-lite",
|
|
76673
|
+
"context-pruner",
|
|
76674
|
+
"thinker",
|
|
76675
|
+
"thinker-best-of-n",
|
|
76676
|
+
"thinker-best-of-n-opus",
|
|
76677
|
+
"editor",
|
|
76678
|
+
"editor-glm",
|
|
76679
|
+
"editor-multi-prompt",
|
|
76680
|
+
"code-reviewer",
|
|
76681
|
+
"code-reviewer-multi-prompt",
|
|
76682
|
+
"opus-agent",
|
|
76683
|
+
"gpt-5-agent",
|
|
76684
|
+
"team-cto",
|
|
76685
|
+
"team-vp-engineering",
|
|
76686
|
+
"team-director",
|
|
76687
|
+
"coordinator",
|
|
76688
|
+
"team-fellow",
|
|
76689
|
+
"team-distinguished-engineer",
|
|
76690
|
+
"team-principal-engineer",
|
|
76691
|
+
"team-senior-staff-engineer",
|
|
76692
|
+
"team-staff-engineer",
|
|
76693
|
+
"team-manager",
|
|
76694
|
+
"team-sub-manager",
|
|
76695
|
+
"senior-engineer",
|
|
76696
|
+
"team-mid-level-engineer",
|
|
76697
|
+
"team-junior-engineer",
|
|
76698
|
+
"team-researcher",
|
|
76699
|
+
"team-scientist",
|
|
76700
|
+
"team-designer",
|
|
76701
|
+
"team-product-lead",
|
|
76702
|
+
"team-tester",
|
|
76703
|
+
"team-intern",
|
|
76704
|
+
"team-apprentice"
|
|
76705
|
+
],
|
|
76189
76706
|
systemPrompt: `You are a Researcher Agent specialized in deep technical investigation and analysis within a LevelCode swarm team.
|
|
76190
76707
|
|
|
76191
76708
|
# Role
|
|
@@ -76301,14 +76818,47 @@ var init_scientist = __esm(() => {
|
|
|
76301
76818
|
],
|
|
76302
76819
|
spawnableAgents: [
|
|
76303
76820
|
"file-picker",
|
|
76304
|
-
"
|
|
76821
|
+
"file-picker-max",
|
|
76305
76822
|
"code-searcher",
|
|
76306
76823
|
"directory-lister",
|
|
76307
76824
|
"glob-matcher",
|
|
76308
|
-
"
|
|
76825
|
+
"file-lister",
|
|
76309
76826
|
"researcher-web",
|
|
76310
76827
|
"researcher-docs",
|
|
76311
|
-
"
|
|
76828
|
+
"commander",
|
|
76829
|
+
"commander-lite",
|
|
76830
|
+
"context-pruner",
|
|
76831
|
+
"thinker",
|
|
76832
|
+
"thinker-best-of-n",
|
|
76833
|
+
"thinker-best-of-n-opus",
|
|
76834
|
+
"editor",
|
|
76835
|
+
"editor-glm",
|
|
76836
|
+
"editor-multi-prompt",
|
|
76837
|
+
"code-reviewer",
|
|
76838
|
+
"code-reviewer-multi-prompt",
|
|
76839
|
+
"opus-agent",
|
|
76840
|
+
"gpt-5-agent",
|
|
76841
|
+
"team-cto",
|
|
76842
|
+
"team-vp-engineering",
|
|
76843
|
+
"team-director",
|
|
76844
|
+
"coordinator",
|
|
76845
|
+
"team-fellow",
|
|
76846
|
+
"team-distinguished-engineer",
|
|
76847
|
+
"team-principal-engineer",
|
|
76848
|
+
"team-senior-staff-engineer",
|
|
76849
|
+
"team-staff-engineer",
|
|
76850
|
+
"team-manager",
|
|
76851
|
+
"team-sub-manager",
|
|
76852
|
+
"senior-engineer",
|
|
76853
|
+
"team-mid-level-engineer",
|
|
76854
|
+
"team-junior-engineer",
|
|
76855
|
+
"team-researcher",
|
|
76856
|
+
"team-scientist",
|
|
76857
|
+
"team-designer",
|
|
76858
|
+
"team-product-lead",
|
|
76859
|
+
"team-tester",
|
|
76860
|
+
"team-intern",
|
|
76861
|
+
"team-apprentice"
|
|
76312
76862
|
],
|
|
76313
76863
|
systemPrompt: `You are a Scientist Agent within a LevelCode swarm team. You investigate technical problems through experimentation, measurement, and systematic analysis.
|
|
76314
76864
|
|
|
@@ -76407,7 +76957,50 @@ var init_designer = __esm(() => {
|
|
|
76407
76957
|
"list_directory",
|
|
76408
76958
|
"set_output"
|
|
76409
76959
|
],
|
|
76410
|
-
spawnableAgents: [
|
|
76960
|
+
spawnableAgents: [
|
|
76961
|
+
"file-picker",
|
|
76962
|
+
"file-picker-max",
|
|
76963
|
+
"code-searcher",
|
|
76964
|
+
"directory-lister",
|
|
76965
|
+
"glob-matcher",
|
|
76966
|
+
"file-lister",
|
|
76967
|
+
"researcher-web",
|
|
76968
|
+
"researcher-docs",
|
|
76969
|
+
"commander",
|
|
76970
|
+
"commander-lite",
|
|
76971
|
+
"context-pruner",
|
|
76972
|
+
"thinker",
|
|
76973
|
+
"thinker-best-of-n",
|
|
76974
|
+
"thinker-best-of-n-opus",
|
|
76975
|
+
"editor",
|
|
76976
|
+
"editor-glm",
|
|
76977
|
+
"editor-multi-prompt",
|
|
76978
|
+
"code-reviewer",
|
|
76979
|
+
"code-reviewer-multi-prompt",
|
|
76980
|
+
"opus-agent",
|
|
76981
|
+
"gpt-5-agent",
|
|
76982
|
+
"team-cto",
|
|
76983
|
+
"team-vp-engineering",
|
|
76984
|
+
"team-director",
|
|
76985
|
+
"coordinator",
|
|
76986
|
+
"team-fellow",
|
|
76987
|
+
"team-distinguished-engineer",
|
|
76988
|
+
"team-principal-engineer",
|
|
76989
|
+
"team-senior-staff-engineer",
|
|
76990
|
+
"team-staff-engineer",
|
|
76991
|
+
"team-manager",
|
|
76992
|
+
"team-sub-manager",
|
|
76993
|
+
"senior-engineer",
|
|
76994
|
+
"team-mid-level-engineer",
|
|
76995
|
+
"team-junior-engineer",
|
|
76996
|
+
"team-researcher",
|
|
76997
|
+
"team-scientist",
|
|
76998
|
+
"team-designer",
|
|
76999
|
+
"team-product-lead",
|
|
77000
|
+
"team-tester",
|
|
77001
|
+
"team-intern",
|
|
77002
|
+
"team-apprentice"
|
|
77003
|
+
],
|
|
76411
77004
|
systemPrompt: `You are a Designer Agent specialized in UI/UX decision-making within a LevelCode swarm team.
|
|
76412
77005
|
|
|
76413
77006
|
# Role
|
|
@@ -76519,7 +77112,50 @@ var init_product_lead = __esm(() => {
|
|
|
76519
77112
|
"ask_user",
|
|
76520
77113
|
"set_output"
|
|
76521
77114
|
],
|
|
76522
|
-
spawnableAgents: [
|
|
77115
|
+
spawnableAgents: [
|
|
77116
|
+
"file-picker",
|
|
77117
|
+
"file-picker-max",
|
|
77118
|
+
"code-searcher",
|
|
77119
|
+
"directory-lister",
|
|
77120
|
+
"glob-matcher",
|
|
77121
|
+
"file-lister",
|
|
77122
|
+
"researcher-web",
|
|
77123
|
+
"researcher-docs",
|
|
77124
|
+
"commander",
|
|
77125
|
+
"commander-lite",
|
|
77126
|
+
"context-pruner",
|
|
77127
|
+
"thinker",
|
|
77128
|
+
"thinker-best-of-n",
|
|
77129
|
+
"thinker-best-of-n-opus",
|
|
77130
|
+
"editor",
|
|
77131
|
+
"editor-glm",
|
|
77132
|
+
"editor-multi-prompt",
|
|
77133
|
+
"code-reviewer",
|
|
77134
|
+
"code-reviewer-multi-prompt",
|
|
77135
|
+
"opus-agent",
|
|
77136
|
+
"gpt-5-agent",
|
|
77137
|
+
"team-cto",
|
|
77138
|
+
"team-vp-engineering",
|
|
77139
|
+
"team-director",
|
|
77140
|
+
"coordinator",
|
|
77141
|
+
"team-fellow",
|
|
77142
|
+
"team-distinguished-engineer",
|
|
77143
|
+
"team-principal-engineer",
|
|
77144
|
+
"team-senior-staff-engineer",
|
|
77145
|
+
"team-staff-engineer",
|
|
77146
|
+
"team-manager",
|
|
77147
|
+
"team-sub-manager",
|
|
77148
|
+
"senior-engineer",
|
|
77149
|
+
"team-mid-level-engineer",
|
|
77150
|
+
"team-junior-engineer",
|
|
77151
|
+
"team-researcher",
|
|
77152
|
+
"team-scientist",
|
|
77153
|
+
"team-designer",
|
|
77154
|
+
"team-product-lead",
|
|
77155
|
+
"team-tester",
|
|
77156
|
+
"team-intern",
|
|
77157
|
+
"team-apprentice"
|
|
77158
|
+
],
|
|
76523
77159
|
systemPrompt: `You are a Product Lead Agent responsible for requirements, prioritization, and product decision-making within a LevelCode swarm team.
|
|
76524
77160
|
|
|
76525
77161
|
# Role
|
|
@@ -76638,11 +77274,47 @@ var init_tester = __esm(() => {
|
|
|
76638
77274
|
],
|
|
76639
77275
|
spawnableAgents: [
|
|
76640
77276
|
"file-picker",
|
|
77277
|
+
"file-picker-max",
|
|
76641
77278
|
"code-searcher",
|
|
76642
77279
|
"directory-lister",
|
|
76643
77280
|
"glob-matcher",
|
|
77281
|
+
"file-lister",
|
|
77282
|
+
"researcher-web",
|
|
77283
|
+
"researcher-docs",
|
|
76644
77284
|
"commander",
|
|
76645
|
-
"
|
|
77285
|
+
"commander-lite",
|
|
77286
|
+
"context-pruner",
|
|
77287
|
+
"thinker",
|
|
77288
|
+
"thinker-best-of-n",
|
|
77289
|
+
"thinker-best-of-n-opus",
|
|
77290
|
+
"editor",
|
|
77291
|
+
"editor-glm",
|
|
77292
|
+
"editor-multi-prompt",
|
|
77293
|
+
"code-reviewer",
|
|
77294
|
+
"code-reviewer-multi-prompt",
|
|
77295
|
+
"opus-agent",
|
|
77296
|
+
"gpt-5-agent",
|
|
77297
|
+
"team-cto",
|
|
77298
|
+
"team-vp-engineering",
|
|
77299
|
+
"team-director",
|
|
77300
|
+
"coordinator",
|
|
77301
|
+
"team-fellow",
|
|
77302
|
+
"team-distinguished-engineer",
|
|
77303
|
+
"team-principal-engineer",
|
|
77304
|
+
"team-senior-staff-engineer",
|
|
77305
|
+
"team-staff-engineer",
|
|
77306
|
+
"team-manager",
|
|
77307
|
+
"team-sub-manager",
|
|
77308
|
+
"senior-engineer",
|
|
77309
|
+
"team-mid-level-engineer",
|
|
77310
|
+
"team-junior-engineer",
|
|
77311
|
+
"team-researcher",
|
|
77312
|
+
"team-scientist",
|
|
77313
|
+
"team-designer",
|
|
77314
|
+
"team-product-lead",
|
|
77315
|
+
"team-tester",
|
|
77316
|
+
"team-intern",
|
|
77317
|
+
"team-apprentice"
|
|
76646
77318
|
],
|
|
76647
77319
|
systemPrompt: `You are a Tester Agent within a LevelCode swarm team. You are a testing specialist responsible for ensuring code quality through comprehensive, well-structured tests.
|
|
76648
77320
|
|
|
@@ -76735,7 +77407,50 @@ var init_intern = __esm(() => {
|
|
|
76735
77407
|
"list_directory",
|
|
76736
77408
|
"set_output"
|
|
76737
77409
|
],
|
|
76738
|
-
spawnableAgents: [
|
|
77410
|
+
spawnableAgents: [
|
|
77411
|
+
"file-picker",
|
|
77412
|
+
"file-picker-max",
|
|
77413
|
+
"code-searcher",
|
|
77414
|
+
"directory-lister",
|
|
77415
|
+
"glob-matcher",
|
|
77416
|
+
"file-lister",
|
|
77417
|
+
"researcher-web",
|
|
77418
|
+
"researcher-docs",
|
|
77419
|
+
"commander",
|
|
77420
|
+
"commander-lite",
|
|
77421
|
+
"context-pruner",
|
|
77422
|
+
"thinker",
|
|
77423
|
+
"thinker-best-of-n",
|
|
77424
|
+
"thinker-best-of-n-opus",
|
|
77425
|
+
"editor",
|
|
77426
|
+
"editor-glm",
|
|
77427
|
+
"editor-multi-prompt",
|
|
77428
|
+
"code-reviewer",
|
|
77429
|
+
"code-reviewer-multi-prompt",
|
|
77430
|
+
"opus-agent",
|
|
77431
|
+
"gpt-5-agent",
|
|
77432
|
+
"team-cto",
|
|
77433
|
+
"team-vp-engineering",
|
|
77434
|
+
"team-director",
|
|
77435
|
+
"coordinator",
|
|
77436
|
+
"team-fellow",
|
|
77437
|
+
"team-distinguished-engineer",
|
|
77438
|
+
"team-principal-engineer",
|
|
77439
|
+
"team-senior-staff-engineer",
|
|
77440
|
+
"team-staff-engineer",
|
|
77441
|
+
"team-manager",
|
|
77442
|
+
"team-sub-manager",
|
|
77443
|
+
"senior-engineer",
|
|
77444
|
+
"team-mid-level-engineer",
|
|
77445
|
+
"team-junior-engineer",
|
|
77446
|
+
"team-researcher",
|
|
77447
|
+
"team-scientist",
|
|
77448
|
+
"team-designer",
|
|
77449
|
+
"team-product-lead",
|
|
77450
|
+
"team-tester",
|
|
77451
|
+
"team-intern",
|
|
77452
|
+
"team-apprentice"
|
|
77453
|
+
],
|
|
76739
77454
|
systemPrompt: `You are an Intern Agent within a LevelCode swarm team. You handle simple, well-defined tasks that require minimal judgment.
|
|
76740
77455
|
|
|
76741
77456
|
# Role
|
|
@@ -76817,7 +77532,50 @@ var init_apprentice = __esm(() => {
|
|
|
76817
77532
|
"code_search",
|
|
76818
77533
|
"set_output"
|
|
76819
77534
|
],
|
|
76820
|
-
spawnableAgents: [
|
|
77535
|
+
spawnableAgents: [
|
|
77536
|
+
"file-picker",
|
|
77537
|
+
"file-picker-max",
|
|
77538
|
+
"code-searcher",
|
|
77539
|
+
"directory-lister",
|
|
77540
|
+
"glob-matcher",
|
|
77541
|
+
"file-lister",
|
|
77542
|
+
"researcher-web",
|
|
77543
|
+
"researcher-docs",
|
|
77544
|
+
"commander",
|
|
77545
|
+
"commander-lite",
|
|
77546
|
+
"context-pruner",
|
|
77547
|
+
"thinker",
|
|
77548
|
+
"thinker-best-of-n",
|
|
77549
|
+
"thinker-best-of-n-opus",
|
|
77550
|
+
"editor",
|
|
77551
|
+
"editor-glm",
|
|
77552
|
+
"editor-multi-prompt",
|
|
77553
|
+
"code-reviewer",
|
|
77554
|
+
"code-reviewer-multi-prompt",
|
|
77555
|
+
"opus-agent",
|
|
77556
|
+
"gpt-5-agent",
|
|
77557
|
+
"team-cto",
|
|
77558
|
+
"team-vp-engineering",
|
|
77559
|
+
"team-director",
|
|
77560
|
+
"coordinator",
|
|
77561
|
+
"team-fellow",
|
|
77562
|
+
"team-distinguished-engineer",
|
|
77563
|
+
"team-principal-engineer",
|
|
77564
|
+
"team-senior-staff-engineer",
|
|
77565
|
+
"team-staff-engineer",
|
|
77566
|
+
"team-manager",
|
|
77567
|
+
"team-sub-manager",
|
|
77568
|
+
"senior-engineer",
|
|
77569
|
+
"team-mid-level-engineer",
|
|
77570
|
+
"team-junior-engineer",
|
|
77571
|
+
"team-researcher",
|
|
77572
|
+
"team-scientist",
|
|
77573
|
+
"team-designer",
|
|
77574
|
+
"team-product-lead",
|
|
77575
|
+
"team-tester",
|
|
77576
|
+
"team-intern",
|
|
77577
|
+
"team-apprentice"
|
|
77578
|
+
],
|
|
76821
77579
|
systemPrompt: `You are an Apprentice Agent within a LevelCode swarm team. You handle straightforward tasks that require basic analysis and judgment.
|
|
76822
77580
|
|
|
76823
77581
|
# Role
|
|
@@ -86595,86 +87353,8 @@ var init_skill2 = __esm(() => {
|
|
|
86595
87353
|
init_messages();
|
|
86596
87354
|
});
|
|
86597
87355
|
|
|
86598
|
-
// ../agents/team/role-hierarchy.ts
|
|
86599
|
-
function getRoleLevel(role) {
|
|
86600
|
-
return ROLE_LEVEL_MAP[role] ?? 0;
|
|
86601
|
-
}
|
|
86602
|
-
function canManage(managerRole, subordinateRole) {
|
|
86603
|
-
return getRoleLevel(managerRole) > getRoleLevel(subordinateRole);
|
|
86604
|
-
}
|
|
86605
|
-
function getSpawnableRoles(role) {
|
|
86606
|
-
return SPAWNABLE_ROLES_MAP[role] ?? [];
|
|
86607
|
-
}
|
|
86608
|
-
var ROLE_LEVEL_MAP, SPAWNABLE_ROLES_MAP;
|
|
86609
|
-
var init_role_hierarchy = __esm(() => {
|
|
86610
|
-
ROLE_LEVEL_MAP = {
|
|
86611
|
-
intern: 0,
|
|
86612
|
-
apprentice: 0,
|
|
86613
|
-
"junior-engineer": 1,
|
|
86614
|
-
"mid-level-engineer": 2,
|
|
86615
|
-
tester: 2,
|
|
86616
|
-
"senior-engineer": 3,
|
|
86617
|
-
"super-senior": 3,
|
|
86618
|
-
researcher: 3,
|
|
86619
|
-
scientist: 3,
|
|
86620
|
-
designer: 3,
|
|
86621
|
-
"product-lead": 3,
|
|
86622
|
-
reviewer: 3,
|
|
86623
|
-
"sub-manager": 4,
|
|
86624
|
-
"staff-engineer": 5,
|
|
86625
|
-
manager: 5,
|
|
86626
|
-
"senior-staff-engineer": 6,
|
|
86627
|
-
"principal-engineer": 7,
|
|
86628
|
-
"distinguished-engineer": 8,
|
|
86629
|
-
fellow: 9,
|
|
86630
|
-
director: 10,
|
|
86631
|
-
"vp-engineering": 11,
|
|
86632
|
-
coordinator: 12,
|
|
86633
|
-
cto: 13
|
|
86634
|
-
};
|
|
86635
|
-
SPAWNABLE_ROLES_MAP = {
|
|
86636
|
-
cto: [
|
|
86637
|
-
"vp-engineering",
|
|
86638
|
-
"coordinator",
|
|
86639
|
-
"director",
|
|
86640
|
-
"fellow",
|
|
86641
|
-
"distinguished-engineer",
|
|
86642
|
-
"principal-engineer",
|
|
86643
|
-
"manager"
|
|
86644
|
-
],
|
|
86645
|
-
"vp-engineering": [
|
|
86646
|
-
"director",
|
|
86647
|
-
"manager",
|
|
86648
|
-
"senior-staff-engineer",
|
|
86649
|
-
"principal-engineer"
|
|
86650
|
-
],
|
|
86651
|
-
coordinator: [
|
|
86652
|
-
"manager",
|
|
86653
|
-
"senior-engineer",
|
|
86654
|
-
"researcher",
|
|
86655
|
-
"designer",
|
|
86656
|
-
"product-lead",
|
|
86657
|
-
"scientist"
|
|
86658
|
-
],
|
|
86659
|
-
director: [
|
|
86660
|
-
"manager",
|
|
86661
|
-
"senior-engineer",
|
|
86662
|
-
"researcher",
|
|
86663
|
-
"product-lead"
|
|
86664
|
-
],
|
|
86665
|
-
fellow: ["senior-engineer", "staff-engineer"],
|
|
86666
|
-
"distinguished-engineer": ["senior-engineer", "staff-engineer"],
|
|
86667
|
-
"principal-engineer": ["senior-engineer", "staff-engineer"],
|
|
86668
|
-
"senior-staff-engineer": ["senior-engineer", "mid-level-engineer"],
|
|
86669
|
-
"staff-engineer": ["mid-level-engineer", "junior-engineer"],
|
|
86670
|
-
manager: ["senior-engineer", "mid-level-engineer", "sub-manager"],
|
|
86671
|
-
"sub-manager": ["mid-level-engineer", "junior-engineer"],
|
|
86672
|
-
"senior-engineer": ["junior-engineer", "intern", "apprentice"]
|
|
86673
|
-
};
|
|
86674
|
-
});
|
|
86675
|
-
|
|
86676
87356
|
// ../packages/agent-runtime/src/system-prompt/team-context-prompt.ts
|
|
86677
|
-
function
|
|
87357
|
+
function getRoleLevel(role, isLeader) {
|
|
86678
87358
|
if (isLeader) {
|
|
86679
87359
|
return "leader";
|
|
86680
87360
|
}
|
|
@@ -86818,7 +87498,7 @@ function buildRoleGuidance(roleLevel) {
|
|
|
86818
87498
|
}
|
|
86819
87499
|
}
|
|
86820
87500
|
function generateTeamContextPrompt(config2) {
|
|
86821
|
-
const roleLevel =
|
|
87501
|
+
const roleLevel = getRoleLevel(config2.role, config2.isLeader);
|
|
86822
87502
|
const sections = [
|
|
86823
87503
|
"# Team Context",
|
|
86824
87504
|
"",
|
|
@@ -87107,15 +87787,7 @@ function resolveTeamRoleAgentType(teamRole) {
|
|
|
87107
87787
|
}
|
|
87108
87788
|
return agentDef.id;
|
|
87109
87789
|
}
|
|
87110
|
-
function validateSpawnAuthority(
|
|
87111
|
-
if (!canManage(spawnerRole, targetRole)) {
|
|
87112
|
-
throw new Error(`Role "${spawnerRole}" does not have authority to spawn role "${targetRole}". ` + `A role can only spawn roles with a strictly lower authority level.`);
|
|
87113
|
-
}
|
|
87114
|
-
const spawnableRoles = getSpawnableRoles(spawnerRole);
|
|
87115
|
-
if (spawnableRoles.length > 0 && !spawnableRoles.includes(targetRole)) {
|
|
87116
|
-
throw new Error(`Role "${spawnerRole}" is not configured to spawn role "${targetRole}". ` + `Allowed roles: ${spawnableRoles.join(", ")}.`);
|
|
87117
|
-
}
|
|
87118
|
-
}
|
|
87790
|
+
function validateSpawnAuthority(_spawnerRole, _targetRole) {}
|
|
87119
87791
|
async function notifyTeamLead(teamName, teamConfig, memberName, role, logger2) {
|
|
87120
87792
|
try {
|
|
87121
87793
|
const leadMember = teamConfig.members.find((m) => m.agentId === teamConfig.leadAgentId);
|
|
@@ -87166,7 +87838,6 @@ var init_spawn_agent_utils = __esm(() => {
|
|
|
87166
87838
|
init_string();
|
|
87167
87839
|
init_team_fs();
|
|
87168
87840
|
init_team();
|
|
87169
|
-
init_role_hierarchy();
|
|
87170
87841
|
init_run_agent_step();
|
|
87171
87842
|
init_team_prompt();
|
|
87172
87843
|
init_agent_registry();
|
|
@@ -125947,6 +126618,51 @@ var init_esm = __esm(() => {
|
|
|
125947
126618
|
init_react();
|
|
125948
126619
|
});
|
|
125949
126620
|
|
|
126621
|
+
// src/utils/env.ts
|
|
126622
|
+
var getCliEnv = () => ({
|
|
126623
|
+
...getBaseEnv(),
|
|
126624
|
+
TERM: process.env.TERM,
|
|
126625
|
+
TMUX: process.env.TMUX,
|
|
126626
|
+
STY: process.env.STY,
|
|
126627
|
+
SSH_CLIENT: process.env.SSH_CLIENT,
|
|
126628
|
+
SSH_TTY: process.env.SSH_TTY,
|
|
126629
|
+
SSH_CONNECTION: process.env.SSH_CONNECTION,
|
|
126630
|
+
KITTY_WINDOW_ID: process.env.KITTY_WINDOW_ID,
|
|
126631
|
+
SIXEL_SUPPORT: process.env.SIXEL_SUPPORT,
|
|
126632
|
+
ZED_NODE_ENV: process.env.ZED_NODE_ENV,
|
|
126633
|
+
ZED_TERM: process.env.ZED_TERM,
|
|
126634
|
+
ZED_SHELL: process.env.ZED_SHELL,
|
|
126635
|
+
COLORTERM: process.env.COLORTERM,
|
|
126636
|
+
VSCODE_THEME_KIND: process.env.VSCODE_THEME_KIND,
|
|
126637
|
+
VSCODE_COLOR_THEME_KIND: process.env.VSCODE_COLOR_THEME_KIND,
|
|
126638
|
+
VSCODE_GIT_IPC_HANDLE: process.env.VSCODE_GIT_IPC_HANDLE,
|
|
126639
|
+
VSCODE_PID: process.env.VSCODE_PID,
|
|
126640
|
+
VSCODE_CWD: process.env.VSCODE_CWD,
|
|
126641
|
+
VSCODE_NLS_CONFIG: process.env.VSCODE_NLS_CONFIG,
|
|
126642
|
+
CURSOR_PORT: process.env.CURSOR_PORT,
|
|
126643
|
+
CURSOR: process.env.CURSOR,
|
|
126644
|
+
JETBRAINS_REMOTE_RUN: process.env.JETBRAINS_REMOTE_RUN,
|
|
126645
|
+
IDEA_INITIAL_DIRECTORY: process.env.IDEA_INITIAL_DIRECTORY,
|
|
126646
|
+
IDE_CONFIG_DIR: process.env.IDE_CONFIG_DIR,
|
|
126647
|
+
JB_IDE_CONFIG_DIR: process.env.JB_IDE_CONFIG_DIR,
|
|
126648
|
+
VISUAL: process.env.VISUAL,
|
|
126649
|
+
EDITOR: process.env.EDITOR,
|
|
126650
|
+
LEVELCODE_CLI_EDITOR: process.env.LEVELCODE_CLI_EDITOR,
|
|
126651
|
+
LEVELCODE_EDITOR: process.env.LEVELCODE_EDITOR,
|
|
126652
|
+
OPEN_TUI_THEME: process.env.OPEN_TUI_THEME,
|
|
126653
|
+
OPENTUI_THEME: process.env.OPENTUI_THEME,
|
|
126654
|
+
LEVELCODE_IS_BINARY: process.env.LEVELCODE_IS_BINARY,
|
|
126655
|
+
LEVELCODE_CLI_VERSION: process.env.LEVELCODE_CLI_VERSION,
|
|
126656
|
+
LEVELCODE_CLI_TARGET: process.env.LEVELCODE_CLI_TARGET,
|
|
126657
|
+
LEVELCODE_RG_PATH: process.env.LEVELCODE_RG_PATH,
|
|
126658
|
+
LEVELCODE_SCROLL_MULTIPLIER: process.env.LEVELCODE_SCROLL_MULTIPLIER,
|
|
126659
|
+
LEVELCODE_PERF_TEST: process.env.LEVELCODE_PERF_TEST,
|
|
126660
|
+
LEVELCODE_ENABLE_SWARMS: process.env.LEVELCODE_ENABLE_SWARMS
|
|
126661
|
+
}), getSystemProcessEnv2 = () => process.env;
|
|
126662
|
+
var init_env3 = __esm(() => {
|
|
126663
|
+
init_env_process();
|
|
126664
|
+
});
|
|
126665
|
+
|
|
125950
126666
|
// ../node_modules/immer/dist/immer.mjs
|
|
125951
126667
|
function die(error46, ...args2) {
|
|
125952
126668
|
if (true) {
|
|
@@ -131935,11 +132651,11 @@ var userSchema2, claudeOAuthSchema2, credentialsSchema, getLegacyConfigDir2 = ()
|
|
|
131935
132651
|
return { token: envToken, source: "environment" };
|
|
131936
132652
|
}
|
|
131937
132653
|
if (isStandaloneMode()) {
|
|
131938
|
-
const openRouterKey =
|
|
132654
|
+
const openRouterKey = getOpenRouterApiKeyFromEnv();
|
|
131939
132655
|
if (openRouterKey) {
|
|
131940
132656
|
return { token: openRouterKey, source: "environment" };
|
|
131941
132657
|
}
|
|
131942
|
-
const anthropicKey =
|
|
132658
|
+
const anthropicKey = getAnthropicApiKeyFromEnv();
|
|
131943
132659
|
if (anthropicKey) {
|
|
131944
132660
|
return { token: anthropicKey, source: "environment" };
|
|
131945
132661
|
}
|
|
@@ -160232,28 +160948,54 @@ var init_bundled_agents_generated = __esm(() => {
|
|
|
160232
160948
|
],
|
|
160233
160949
|
spawnableAgents: [
|
|
160234
160950
|
"file-picker",
|
|
160951
|
+
"file-picker-max",
|
|
160235
160952
|
"code-searcher",
|
|
160236
160953
|
"directory-lister",
|
|
160237
160954
|
"glob-matcher",
|
|
160955
|
+
"file-lister",
|
|
160238
160956
|
"researcher-web",
|
|
160239
160957
|
"researcher-docs",
|
|
160240
160958
|
"commander",
|
|
160959
|
+
"commander-lite",
|
|
160960
|
+
"context-pruner",
|
|
160241
160961
|
"thinker",
|
|
160242
|
-
"
|
|
160243
|
-
"
|
|
160962
|
+
"thinker-best-of-n",
|
|
160963
|
+
"thinker-best-of-n-opus",
|
|
160964
|
+
"thinker-selector",
|
|
160965
|
+
"thinker-selector-opus",
|
|
160244
160966
|
"editor",
|
|
160967
|
+
"editor-glm",
|
|
160968
|
+
"editor-gpt-5",
|
|
160969
|
+
"editor-multi-prompt",
|
|
160970
|
+
"editor-implementor",
|
|
160971
|
+
"editor-implementor-opus",
|
|
160972
|
+
"editor-implementor-gpt-5",
|
|
160973
|
+
"best-of-n-selector2",
|
|
160245
160974
|
"code-reviewer",
|
|
160246
|
-
"
|
|
160975
|
+
"code-reviewer-multi-prompt",
|
|
160976
|
+
"opus-agent",
|
|
160977
|
+
"gpt-5-agent",
|
|
160978
|
+
"team-cto",
|
|
160979
|
+
"team-vp-engineering",
|
|
160980
|
+
"team-director",
|
|
160247
160981
|
"coordinator",
|
|
160982
|
+
"team-fellow",
|
|
160983
|
+
"team-distinguished-engineer",
|
|
160984
|
+
"team-principal-engineer",
|
|
160985
|
+
"team-senior-staff-engineer",
|
|
160986
|
+
"team-staff-engineer",
|
|
160248
160987
|
"team-manager",
|
|
160988
|
+
"team-sub-manager",
|
|
160249
160989
|
"senior-engineer",
|
|
160250
160990
|
"team-mid-level-engineer",
|
|
160251
160991
|
"team-junior-engineer",
|
|
160252
160992
|
"team-researcher",
|
|
160993
|
+
"team-scientist",
|
|
160253
160994
|
"team-designer",
|
|
160254
160995
|
"team-product-lead",
|
|
160255
160996
|
"team-tester",
|
|
160256
|
-
"team-
|
|
160997
|
+
"team-intern",
|
|
160998
|
+
"team-apprentice"
|
|
160257
160999
|
],
|
|
160258
161000
|
systemPrompt: `You are Sage, a strategic assistant that orchestrates complex coding tasks through specialized sub-agents. You are the AI agent behind the product, LevelCode, a CLI tool where users can chat with you to code with AI.
|
|
160259
161001
|
|
|
@@ -160284,6 +161026,39 @@ var init_bundled_agents_generated = __esm(() => {
|
|
|
160284
161026
|
- Create an impressive demonstration showcasing web development capabilities
|
|
160285
161027
|
- **Refactoring Awareness:** Whenever you modify an exported symbol like a function or class or variable, you should find and update all the references to it appropriately using the code_search tool.
|
|
160286
161028
|
- **Testing:** If you create a unit test, you should run it to see if it passes, and fix it if it doesn't.
|
|
161029
|
+
|
|
161030
|
+
# Team & Swarm Management
|
|
161031
|
+
|
|
161032
|
+
You have full authority to create and manage engineering teams. You are the commander \u2014 you bypass all phase restrictions.
|
|
161033
|
+
|
|
161034
|
+
## Available Team Roles (all spawnable)
|
|
161035
|
+
- **Executive:** team-cto, team-vp-engineering, team-director
|
|
161036
|
+
- **Architects:** team-fellow, team-distinguished-engineer, team-principal-engineer
|
|
161037
|
+
- **Staff:** team-senior-staff-engineer, team-staff-engineer
|
|
161038
|
+
- **Management:** coordinator, team-manager, team-sub-manager
|
|
161039
|
+
- **Engineers:** senior-engineer, team-mid-level-engineer, team-junior-engineer
|
|
161040
|
+
- **Specialists:** team-researcher, team-scientist, team-designer, team-product-lead, team-tester
|
|
161041
|
+
- **Junior:** team-intern, team-apprentice
|
|
161042
|
+
|
|
161043
|
+
## How to Deploy Teams
|
|
161044
|
+
1. Use \`team_create\` to create a team (it will use your default phase from settings \u2014 usually "alpha")
|
|
161045
|
+
2. Use \`task_create\` to create tasks for the team
|
|
161046
|
+
3. Use \`spawn_agents\` with \`team_name\` and \`team_role\` to deploy agents to the team
|
|
161047
|
+
4. Agents pick up tasks and work autonomously
|
|
161048
|
+
5. You can spawn ANY role directly \u2014 CTO, VP, Director, Senior Engineer, etc.
|
|
161049
|
+
|
|
161050
|
+
## Autonomous Phase Management
|
|
161051
|
+
- You don't need to ask the user about phases \u2014 just create teams and start working
|
|
161052
|
+
- Teams default to "alpha" phase (full tool access) based on user settings
|
|
161053
|
+
- You can transition phases with the team tools if needed
|
|
161054
|
+
- You bypass all phase restrictions as the commander
|
|
161055
|
+
|
|
161056
|
+
## When to Use Teams
|
|
161057
|
+
- Large multi-file tasks \u2192 deploy senior engineers in parallel
|
|
161058
|
+
- Architecture decisions \u2192 deploy a principal engineer or CTO
|
|
161059
|
+
- Code review \u2192 deploy a tester or code reviewer
|
|
161060
|
+
- Research \u2192 deploy a researcher
|
|
161061
|
+
- For massive builds, deploy a full hierarchy: CTO \u2192 Directors \u2192 Managers \u2192 Engineers
|
|
160287
161062
|
- **Package Management:** When adding new packages, use the commander agent to install the package rather than editing the package.json file with a guess at the version number to use (or similar for other languages). This way, you will be sure to have the latest version of the package. Do not install packages globally unless asked by the user (e.g. Don't run \`npm install -g <package-name>\`). Always try to use the package manager associated with the project (e.g. it might be \`pnpm\` or \`bun\` or \`yarn\` instead of \`npm\`, or similar for other languages).
|
|
160288
161063
|
- **Code Hygiene:** Make sure to leave things in a good state:
|
|
160289
161064
|
- Don't forget to add any imports that might be needed
|
|
@@ -160482,23 +161257,54 @@ After completing the user request, summarize your changes in a sentence or a few
|
|
|
160482
161257
|
],
|
|
160483
161258
|
spawnableAgents: [
|
|
160484
161259
|
"file-picker",
|
|
161260
|
+
"file-picker-max",
|
|
160485
161261
|
"code-searcher",
|
|
160486
161262
|
"directory-lister",
|
|
160487
161263
|
"glob-matcher",
|
|
161264
|
+
"file-lister",
|
|
160488
161265
|
"researcher-web",
|
|
160489
161266
|
"researcher-docs",
|
|
160490
161267
|
"commander",
|
|
161268
|
+
"commander-lite",
|
|
160491
161269
|
"context-pruner",
|
|
161270
|
+
"thinker",
|
|
161271
|
+
"thinker-best-of-n",
|
|
161272
|
+
"thinker-best-of-n-opus",
|
|
161273
|
+
"thinker-selector",
|
|
161274
|
+
"thinker-selector-opus",
|
|
161275
|
+
"editor",
|
|
161276
|
+
"editor-glm",
|
|
161277
|
+
"editor-gpt-5",
|
|
161278
|
+
"editor-multi-prompt",
|
|
161279
|
+
"editor-implementor",
|
|
161280
|
+
"editor-implementor-opus",
|
|
161281
|
+
"editor-implementor-gpt-5",
|
|
161282
|
+
"best-of-n-selector2",
|
|
161283
|
+
"code-reviewer",
|
|
161284
|
+
"code-reviewer-multi-prompt",
|
|
161285
|
+
"opus-agent",
|
|
161286
|
+
"gpt-5-agent",
|
|
161287
|
+
"team-cto",
|
|
161288
|
+
"team-vp-engineering",
|
|
161289
|
+
"team-director",
|
|
160492
161290
|
"coordinator",
|
|
161291
|
+
"team-fellow",
|
|
161292
|
+
"team-distinguished-engineer",
|
|
161293
|
+
"team-principal-engineer",
|
|
161294
|
+
"team-senior-staff-engineer",
|
|
161295
|
+
"team-staff-engineer",
|
|
160493
161296
|
"team-manager",
|
|
161297
|
+
"team-sub-manager",
|
|
160494
161298
|
"senior-engineer",
|
|
160495
161299
|
"team-mid-level-engineer",
|
|
160496
161300
|
"team-junior-engineer",
|
|
160497
161301
|
"team-researcher",
|
|
161302
|
+
"team-scientist",
|
|
160498
161303
|
"team-designer",
|
|
160499
161304
|
"team-product-lead",
|
|
160500
161305
|
"team-tester",
|
|
160501
|
-
"team-
|
|
161306
|
+
"team-intern",
|
|
161307
|
+
"team-apprentice"
|
|
160502
161308
|
],
|
|
160503
161309
|
systemPrompt: `You are Sage, a strategic assistant that orchestrates complex coding tasks through specialized sub-agents. You are the AI agent behind the product, LevelCode, a CLI tool where users can chat with you to code with AI.
|
|
160504
161310
|
|
|
@@ -160530,6 +161336,39 @@ After completing the user request, summarize your changes in a sentence or a few
|
|
|
160530
161336
|
- Create an impressive demonstration showcasing web development capabilities
|
|
160531
161337
|
- **Refactoring Awareness:** Whenever you modify an exported symbol like a function or class or variable, you should find and update all the references to it appropriately using the code_search tool.
|
|
160532
161338
|
- **Testing:** If you create a unit test, you should run it to see if it passes, and fix it if it doesn't.
|
|
161339
|
+
|
|
161340
|
+
# Team & Swarm Management
|
|
161341
|
+
|
|
161342
|
+
You have full authority to create and manage engineering teams. You are the commander \u2014 you bypass all phase restrictions.
|
|
161343
|
+
|
|
161344
|
+
## Available Team Roles (all spawnable)
|
|
161345
|
+
- **Executive:** team-cto, team-vp-engineering, team-director
|
|
161346
|
+
- **Architects:** team-fellow, team-distinguished-engineer, team-principal-engineer
|
|
161347
|
+
- **Staff:** team-senior-staff-engineer, team-staff-engineer
|
|
161348
|
+
- **Management:** coordinator, team-manager, team-sub-manager
|
|
161349
|
+
- **Engineers:** senior-engineer, team-mid-level-engineer, team-junior-engineer
|
|
161350
|
+
- **Specialists:** team-researcher, team-scientist, team-designer, team-product-lead, team-tester
|
|
161351
|
+
- **Junior:** team-intern, team-apprentice
|
|
161352
|
+
|
|
161353
|
+
## How to Deploy Teams
|
|
161354
|
+
1. Use \`team_create\` to create a team (it will use your default phase from settings \u2014 usually "alpha")
|
|
161355
|
+
2. Use \`task_create\` to create tasks for the team
|
|
161356
|
+
3. Use \`spawn_agents\` with \`team_name\` and \`team_role\` to deploy agents to the team
|
|
161357
|
+
4. Agents pick up tasks and work autonomously
|
|
161358
|
+
5. You can spawn ANY role directly \u2014 CTO, VP, Director, Senior Engineer, etc.
|
|
161359
|
+
|
|
161360
|
+
## Autonomous Phase Management
|
|
161361
|
+
- You don't need to ask the user about phases \u2014 just create teams and start working
|
|
161362
|
+
- Teams default to "alpha" phase (full tool access) based on user settings
|
|
161363
|
+
- You can transition phases with the team tools if needed
|
|
161364
|
+
- You bypass all phase restrictions as the commander
|
|
161365
|
+
|
|
161366
|
+
## When to Use Teams
|
|
161367
|
+
- Large multi-file tasks \u2192 deploy senior engineers in parallel
|
|
161368
|
+
- Architecture decisions \u2192 deploy a principal engineer or CTO
|
|
161369
|
+
- Code review \u2192 deploy a tester or code reviewer
|
|
161370
|
+
- Research \u2192 deploy a researcher
|
|
161371
|
+
- For massive builds, deploy a full hierarchy: CTO \u2192 Directors \u2192 Managers \u2192 Engineers
|
|
160533
161372
|
- **Package Management:** When adding new packages, use the commander agent to install the package rather than editing the package.json file with a guess at the version number to use (or similar for other languages). This way, you will be sure to have the latest version of the package. Do not install packages globally unless asked by the user (e.g. Don't run \`npm install -g <package-name>\`). Always try to use the package manager associated with the project (e.g. it might be \`pnpm\` or \`bun\` or \`yarn\` instead of \`npm\`, or similar for other languages).
|
|
160534
161373
|
- **Code Hygiene:** Make sure to leave things in a good state:
|
|
160535
161374
|
- Don't forget to add any imports that might be needed
|
|
@@ -160722,23 +161561,54 @@ After getting context on the user request from the codebase or from research, us
|
|
|
160722
161561
|
],
|
|
160723
161562
|
spawnableAgents: [
|
|
160724
161563
|
"file-picker",
|
|
161564
|
+
"file-picker-max",
|
|
160725
161565
|
"code-searcher",
|
|
160726
161566
|
"directory-lister",
|
|
160727
161567
|
"glob-matcher",
|
|
161568
|
+
"file-lister",
|
|
160728
161569
|
"researcher-web",
|
|
160729
161570
|
"researcher-docs",
|
|
160730
161571
|
"commander",
|
|
161572
|
+
"commander-lite",
|
|
160731
161573
|
"context-pruner",
|
|
161574
|
+
"thinker",
|
|
161575
|
+
"thinker-best-of-n",
|
|
161576
|
+
"thinker-best-of-n-opus",
|
|
161577
|
+
"thinker-selector",
|
|
161578
|
+
"thinker-selector-opus",
|
|
161579
|
+
"editor",
|
|
161580
|
+
"editor-glm",
|
|
161581
|
+
"editor-gpt-5",
|
|
161582
|
+
"editor-multi-prompt",
|
|
161583
|
+
"editor-implementor",
|
|
161584
|
+
"editor-implementor-opus",
|
|
161585
|
+
"editor-implementor-gpt-5",
|
|
161586
|
+
"best-of-n-selector2",
|
|
161587
|
+
"code-reviewer",
|
|
161588
|
+
"code-reviewer-multi-prompt",
|
|
161589
|
+
"opus-agent",
|
|
161590
|
+
"gpt-5-agent",
|
|
161591
|
+
"team-cto",
|
|
161592
|
+
"team-vp-engineering",
|
|
161593
|
+
"team-director",
|
|
160732
161594
|
"coordinator",
|
|
161595
|
+
"team-fellow",
|
|
161596
|
+
"team-distinguished-engineer",
|
|
161597
|
+
"team-principal-engineer",
|
|
161598
|
+
"team-senior-staff-engineer",
|
|
161599
|
+
"team-staff-engineer",
|
|
160733
161600
|
"team-manager",
|
|
161601
|
+
"team-sub-manager",
|
|
160734
161602
|
"senior-engineer",
|
|
160735
161603
|
"team-mid-level-engineer",
|
|
160736
161604
|
"team-junior-engineer",
|
|
160737
161605
|
"team-researcher",
|
|
161606
|
+
"team-scientist",
|
|
160738
161607
|
"team-designer",
|
|
160739
161608
|
"team-product-lead",
|
|
160740
161609
|
"team-tester",
|
|
160741
|
-
"team-
|
|
161610
|
+
"team-intern",
|
|
161611
|
+
"team-apprentice"
|
|
160742
161612
|
],
|
|
160743
161613
|
systemPrompt: `You are Sage, a strategic assistant that orchestrates complex coding tasks through specialized sub-agents. You are the AI agent behind the product, LevelCode, a CLI tool where users can chat with you to code with AI.
|
|
160744
161614
|
|
|
@@ -160770,6 +161640,39 @@ After getting context on the user request from the codebase or from research, us
|
|
|
160770
161640
|
- Create an impressive demonstration showcasing web development capabilities
|
|
160771
161641
|
- **Refactoring Awareness:** Whenever you modify an exported symbol like a function or class or variable, you should find and update all the references to it appropriately using the code_search tool.
|
|
160772
161642
|
- **Testing:** If you create a unit test, you should run it to see if it passes, and fix it if it doesn't.
|
|
161643
|
+
|
|
161644
|
+
# Team & Swarm Management
|
|
161645
|
+
|
|
161646
|
+
You have full authority to create and manage engineering teams. You are the commander \u2014 you bypass all phase restrictions.
|
|
161647
|
+
|
|
161648
|
+
## Available Team Roles (all spawnable)
|
|
161649
|
+
- **Executive:** team-cto, team-vp-engineering, team-director
|
|
161650
|
+
- **Architects:** team-fellow, team-distinguished-engineer, team-principal-engineer
|
|
161651
|
+
- **Staff:** team-senior-staff-engineer, team-staff-engineer
|
|
161652
|
+
- **Management:** coordinator, team-manager, team-sub-manager
|
|
161653
|
+
- **Engineers:** senior-engineer, team-mid-level-engineer, team-junior-engineer
|
|
161654
|
+
- **Specialists:** team-researcher, team-scientist, team-designer, team-product-lead, team-tester
|
|
161655
|
+
- **Junior:** team-intern, team-apprentice
|
|
161656
|
+
|
|
161657
|
+
## How to Deploy Teams
|
|
161658
|
+
1. Use \`team_create\` to create a team (it will use your default phase from settings \u2014 usually "alpha")
|
|
161659
|
+
2. Use \`task_create\` to create tasks for the team
|
|
161660
|
+
3. Use \`spawn_agents\` with \`team_name\` and \`team_role\` to deploy agents to the team
|
|
161661
|
+
4. Agents pick up tasks and work autonomously
|
|
161662
|
+
5. You can spawn ANY role directly \u2014 CTO, VP, Director, Senior Engineer, etc.
|
|
161663
|
+
|
|
161664
|
+
## Autonomous Phase Management
|
|
161665
|
+
- You don't need to ask the user about phases \u2014 just create teams and start working
|
|
161666
|
+
- Teams default to "alpha" phase (full tool access) based on user settings
|
|
161667
|
+
- You can transition phases with the team tools if needed
|
|
161668
|
+
- You bypass all phase restrictions as the commander
|
|
161669
|
+
|
|
161670
|
+
## When to Use Teams
|
|
161671
|
+
- Large multi-file tasks \u2192 deploy senior engineers in parallel
|
|
161672
|
+
- Architecture decisions \u2192 deploy a principal engineer or CTO
|
|
161673
|
+
- Code review \u2192 deploy a tester or code reviewer
|
|
161674
|
+
- Research \u2192 deploy a researcher
|
|
161675
|
+
- For massive builds, deploy a full hierarchy: CTO \u2192 Directors \u2192 Managers \u2192 Engineers
|
|
160773
161676
|
- **Package Management:** When adding new packages, use the commander agent to install the package rather than editing the package.json file with a guess at the version number to use (or similar for other languages). This way, you will be sure to have the latest version of the package. Do not install packages globally unless asked by the user (e.g. Don't run \`npm install -g <package-name>\`). Always try to use the package manager associated with the project (e.g. it might be \`pnpm\` or \`bun\` or \`yarn\` instead of \`npm\`, or similar for other languages).
|
|
160774
161677
|
- **Code Hygiene:** Make sure to leave things in a good state:
|
|
160775
161678
|
- Don't forget to add any imports that might be needed
|
|
@@ -160963,24 +161866,54 @@ After getting context on the user request from the codebase or from research, us
|
|
|
160963
161866
|
],
|
|
160964
161867
|
spawnableAgents: [
|
|
160965
161868
|
"file-picker",
|
|
161869
|
+
"file-picker-max",
|
|
160966
161870
|
"code-searcher",
|
|
160967
161871
|
"directory-lister",
|
|
160968
161872
|
"glob-matcher",
|
|
161873
|
+
"file-lister",
|
|
160969
161874
|
"researcher-web",
|
|
160970
161875
|
"researcher-docs",
|
|
161876
|
+
"commander",
|
|
160971
161877
|
"commander-lite",
|
|
160972
|
-
"editor-glm",
|
|
160973
161878
|
"context-pruner",
|
|
161879
|
+
"thinker",
|
|
161880
|
+
"thinker-best-of-n",
|
|
161881
|
+
"thinker-best-of-n-opus",
|
|
161882
|
+
"thinker-selector",
|
|
161883
|
+
"thinker-selector-opus",
|
|
161884
|
+
"editor",
|
|
161885
|
+
"editor-glm",
|
|
161886
|
+
"editor-gpt-5",
|
|
161887
|
+
"editor-multi-prompt",
|
|
161888
|
+
"editor-implementor",
|
|
161889
|
+
"editor-implementor-opus",
|
|
161890
|
+
"editor-implementor-gpt-5",
|
|
161891
|
+
"best-of-n-selector2",
|
|
161892
|
+
"code-reviewer",
|
|
161893
|
+
"code-reviewer-multi-prompt",
|
|
161894
|
+
"opus-agent",
|
|
161895
|
+
"gpt-5-agent",
|
|
161896
|
+
"team-cto",
|
|
161897
|
+
"team-vp-engineering",
|
|
161898
|
+
"team-director",
|
|
160974
161899
|
"coordinator",
|
|
161900
|
+
"team-fellow",
|
|
161901
|
+
"team-distinguished-engineer",
|
|
161902
|
+
"team-principal-engineer",
|
|
161903
|
+
"team-senior-staff-engineer",
|
|
161904
|
+
"team-staff-engineer",
|
|
160975
161905
|
"team-manager",
|
|
161906
|
+
"team-sub-manager",
|
|
160976
161907
|
"senior-engineer",
|
|
160977
161908
|
"team-mid-level-engineer",
|
|
160978
161909
|
"team-junior-engineer",
|
|
160979
161910
|
"team-researcher",
|
|
161911
|
+
"team-scientist",
|
|
160980
161912
|
"team-designer",
|
|
160981
161913
|
"team-product-lead",
|
|
160982
161914
|
"team-tester",
|
|
160983
|
-
"team-
|
|
161915
|
+
"team-intern",
|
|
161916
|
+
"team-apprentice"
|
|
160984
161917
|
],
|
|
160985
161918
|
systemPrompt: `You are Sage, a strategic assistant that orchestrates complex coding tasks through specialized sub-agents. You are the AI agent behind the product, LevelCode, a CLI tool where users can chat with you to code with AI.
|
|
160986
161919
|
|
|
@@ -161012,6 +161945,39 @@ After getting context on the user request from the codebase or from research, us
|
|
|
161012
161945
|
- Create an impressive demonstration showcasing web development capabilities
|
|
161013
161946
|
- **Refactoring Awareness:** Whenever you modify an exported symbol like a function or class or variable, you should find and update all the references to it appropriately using the code_search tool.
|
|
161014
161947
|
- **Testing:** If you create a unit test, you should run it to see if it passes, and fix it if it doesn't.
|
|
161948
|
+
|
|
161949
|
+
# Team & Swarm Management
|
|
161950
|
+
|
|
161951
|
+
You have full authority to create and manage engineering teams. You are the commander \u2014 you bypass all phase restrictions.
|
|
161952
|
+
|
|
161953
|
+
## Available Team Roles (all spawnable)
|
|
161954
|
+
- **Executive:** team-cto, team-vp-engineering, team-director
|
|
161955
|
+
- **Architects:** team-fellow, team-distinguished-engineer, team-principal-engineer
|
|
161956
|
+
- **Staff:** team-senior-staff-engineer, team-staff-engineer
|
|
161957
|
+
- **Management:** coordinator, team-manager, team-sub-manager
|
|
161958
|
+
- **Engineers:** senior-engineer, team-mid-level-engineer, team-junior-engineer
|
|
161959
|
+
- **Specialists:** team-researcher, team-scientist, team-designer, team-product-lead, team-tester
|
|
161960
|
+
- **Junior:** team-intern, team-apprentice
|
|
161961
|
+
|
|
161962
|
+
## How to Deploy Teams
|
|
161963
|
+
1. Use \`team_create\` to create a team (it will use your default phase from settings \u2014 usually "alpha")
|
|
161964
|
+
2. Use \`task_create\` to create tasks for the team
|
|
161965
|
+
3. Use \`spawn_agents\` with \`team_name\` and \`team_role\` to deploy agents to the team
|
|
161966
|
+
4. Agents pick up tasks and work autonomously
|
|
161967
|
+
5. You can spawn ANY role directly \u2014 CTO, VP, Director, Senior Engineer, etc.
|
|
161968
|
+
|
|
161969
|
+
## Autonomous Phase Management
|
|
161970
|
+
- You don't need to ask the user about phases \u2014 just create teams and start working
|
|
161971
|
+
- Teams default to "alpha" phase (full tool access) based on user settings
|
|
161972
|
+
- You can transition phases with the team tools if needed
|
|
161973
|
+
- You bypass all phase restrictions as the commander
|
|
161974
|
+
|
|
161975
|
+
## When to Use Teams
|
|
161976
|
+
- Large multi-file tasks \u2192 deploy senior engineers in parallel
|
|
161977
|
+
- Architecture decisions \u2192 deploy a principal engineer or CTO
|
|
161978
|
+
- Code review \u2192 deploy a tester or code reviewer
|
|
161979
|
+
- Research \u2192 deploy a researcher
|
|
161980
|
+
- For massive builds, deploy a full hierarchy: CTO \u2192 Directors \u2192 Managers \u2192 Engineers
|
|
161015
161981
|
- **Package Management:** When adding new packages, use the commander agent to install the package rather than editing the package.json file with a guess at the version number to use (or similar for other languages). This way, you will be sure to have the latest version of the package. Do not install packages globally unless asked by the user (e.g. Don't run \`npm install -g <package-name>\`). Always try to use the package manager associated with the project (e.g. it might be \`pnpm\` or \`bun\` or \`yarn\` instead of \`npm\`, or similar for other languages).
|
|
161016
161982
|
- **Code Hygiene:** Make sure to leave things in a good state:
|
|
161017
161983
|
- Don't forget to add any imports that might be needed
|
|
@@ -161207,29 +162173,55 @@ At the end of your turn, use the suggest_followups tool to suggest around 3 next
|
|
|
161207
162173
|
"task_list"
|
|
161208
162174
|
],
|
|
161209
162175
|
spawnableAgents: [
|
|
162176
|
+
"file-picker",
|
|
161210
162177
|
"file-picker-max",
|
|
161211
162178
|
"code-searcher",
|
|
161212
162179
|
"directory-lister",
|
|
161213
162180
|
"glob-matcher",
|
|
162181
|
+
"file-lister",
|
|
161214
162182
|
"researcher-web",
|
|
161215
162183
|
"researcher-docs",
|
|
161216
162184
|
"commander",
|
|
161217
|
-
"
|
|
161218
|
-
"
|
|
162185
|
+
"commander-lite",
|
|
162186
|
+
"context-pruner",
|
|
162187
|
+
"thinker",
|
|
162188
|
+
"thinker-best-of-n",
|
|
161219
162189
|
"thinker-best-of-n-opus",
|
|
162190
|
+
"thinker-selector",
|
|
162191
|
+
"thinker-selector-opus",
|
|
162192
|
+
"editor",
|
|
162193
|
+
"editor-glm",
|
|
162194
|
+
"editor-gpt-5",
|
|
161220
162195
|
"editor-multi-prompt",
|
|
162196
|
+
"editor-implementor",
|
|
162197
|
+
"editor-implementor-opus",
|
|
162198
|
+
"editor-implementor-gpt-5",
|
|
162199
|
+
"best-of-n-selector2",
|
|
162200
|
+
"code-reviewer",
|
|
161221
162201
|
"code-reviewer-multi-prompt",
|
|
161222
|
-
"
|
|
162202
|
+
"opus-agent",
|
|
162203
|
+
"gpt-5-agent",
|
|
162204
|
+
"team-cto",
|
|
162205
|
+
"team-vp-engineering",
|
|
162206
|
+
"team-director",
|
|
161223
162207
|
"coordinator",
|
|
162208
|
+
"team-fellow",
|
|
162209
|
+
"team-distinguished-engineer",
|
|
162210
|
+
"team-principal-engineer",
|
|
162211
|
+
"team-senior-staff-engineer",
|
|
162212
|
+
"team-staff-engineer",
|
|
161224
162213
|
"team-manager",
|
|
162214
|
+
"team-sub-manager",
|
|
161225
162215
|
"senior-engineer",
|
|
161226
162216
|
"team-mid-level-engineer",
|
|
161227
162217
|
"team-junior-engineer",
|
|
161228
162218
|
"team-researcher",
|
|
162219
|
+
"team-scientist",
|
|
161229
162220
|
"team-designer",
|
|
161230
162221
|
"team-product-lead",
|
|
161231
162222
|
"team-tester",
|
|
161232
|
-
"team-
|
|
162223
|
+
"team-intern",
|
|
162224
|
+
"team-apprentice"
|
|
161233
162225
|
],
|
|
161234
162226
|
systemPrompt: `You are Sage, a strategic assistant that orchestrates complex coding tasks through specialized sub-agents. You are the AI agent behind the product, LevelCode, a CLI tool where users can chat with you to code with AI.
|
|
161235
162227
|
|
|
@@ -161260,6 +162252,39 @@ At the end of your turn, use the suggest_followups tool to suggest around 3 next
|
|
|
161260
162252
|
- Create an impressive demonstration showcasing web development capabilities
|
|
161261
162253
|
- **Refactoring Awareness:** Whenever you modify an exported symbol like a function or class or variable, you should find and update all the references to it appropriately using the code_search tool.
|
|
161262
162254
|
- **Testing:** If you create a unit test, you should run it to see if it passes, and fix it if it doesn't.
|
|
162255
|
+
|
|
162256
|
+
# Team & Swarm Management
|
|
162257
|
+
|
|
162258
|
+
You have full authority to create and manage engineering teams. You are the commander \u2014 you bypass all phase restrictions.
|
|
162259
|
+
|
|
162260
|
+
## Available Team Roles (all spawnable)
|
|
162261
|
+
- **Executive:** team-cto, team-vp-engineering, team-director
|
|
162262
|
+
- **Architects:** team-fellow, team-distinguished-engineer, team-principal-engineer
|
|
162263
|
+
- **Staff:** team-senior-staff-engineer, team-staff-engineer
|
|
162264
|
+
- **Management:** coordinator, team-manager, team-sub-manager
|
|
162265
|
+
- **Engineers:** senior-engineer, team-mid-level-engineer, team-junior-engineer
|
|
162266
|
+
- **Specialists:** team-researcher, team-scientist, team-designer, team-product-lead, team-tester
|
|
162267
|
+
- **Junior:** team-intern, team-apprentice
|
|
162268
|
+
|
|
162269
|
+
## How to Deploy Teams
|
|
162270
|
+
1. Use \`team_create\` to create a team (it will use your default phase from settings \u2014 usually "alpha")
|
|
162271
|
+
2. Use \`task_create\` to create tasks for the team
|
|
162272
|
+
3. Use \`spawn_agents\` with \`team_name\` and \`team_role\` to deploy agents to the team
|
|
162273
|
+
4. Agents pick up tasks and work autonomously
|
|
162274
|
+
5. You can spawn ANY role directly \u2014 CTO, VP, Director, Senior Engineer, etc.
|
|
162275
|
+
|
|
162276
|
+
## Autonomous Phase Management
|
|
162277
|
+
- You don't need to ask the user about phases \u2014 just create teams and start working
|
|
162278
|
+
- Teams default to "alpha" phase (full tool access) based on user settings
|
|
162279
|
+
- You can transition phases with the team tools if needed
|
|
162280
|
+
- You bypass all phase restrictions as the commander
|
|
162281
|
+
|
|
162282
|
+
## When to Use Teams
|
|
162283
|
+
- Large multi-file tasks \u2192 deploy senior engineers in parallel
|
|
162284
|
+
- Architecture decisions \u2192 deploy a principal engineer or CTO
|
|
162285
|
+
- Code review \u2192 deploy a tester or code reviewer
|
|
162286
|
+
- Research \u2192 deploy a researcher
|
|
162287
|
+
- For massive builds, deploy a full hierarchy: CTO \u2192 Directors \u2192 Managers \u2192 Engineers
|
|
161263
162288
|
- **Package Management:** When adding new packages, use the commander agent to install the package rather than editing the package.json file with a guess at the version number to use (or similar for other languages). This way, you will be sure to have the latest version of the package. Do not install packages globally unless asked by the user (e.g. Don't run \`npm install -g <package-name>\`). Always try to use the package manager associated with the project (e.g. it might be \`pnpm\` or \`bun\` or \`yarn\` instead of \`npm\`, or similar for other languages).
|
|
161264
162289
|
- **Code Hygiene:** Make sure to leave things in a good state:
|
|
161265
162290
|
- Don't forget to add any imports that might be needed
|
|
@@ -161462,29 +162487,55 @@ After completing the user request, summarize your changes in a sentence or a few
|
|
|
161462
162487
|
"task_list"
|
|
161463
162488
|
],
|
|
161464
162489
|
spawnableAgents: [
|
|
162490
|
+
"file-picker",
|
|
161465
162491
|
"file-picker-max",
|
|
161466
162492
|
"code-searcher",
|
|
161467
162493
|
"directory-lister",
|
|
161468
162494
|
"glob-matcher",
|
|
162495
|
+
"file-lister",
|
|
161469
162496
|
"researcher-web",
|
|
161470
162497
|
"researcher-docs",
|
|
161471
162498
|
"commander",
|
|
161472
|
-
"
|
|
161473
|
-
"
|
|
162499
|
+
"commander-lite",
|
|
162500
|
+
"context-pruner",
|
|
162501
|
+
"thinker",
|
|
162502
|
+
"thinker-best-of-n",
|
|
161474
162503
|
"thinker-best-of-n-opus",
|
|
162504
|
+
"thinker-selector",
|
|
162505
|
+
"thinker-selector-opus",
|
|
162506
|
+
"editor",
|
|
162507
|
+
"editor-glm",
|
|
162508
|
+
"editor-gpt-5",
|
|
161475
162509
|
"editor-multi-prompt",
|
|
162510
|
+
"editor-implementor",
|
|
162511
|
+
"editor-implementor-opus",
|
|
162512
|
+
"editor-implementor-gpt-5",
|
|
162513
|
+
"best-of-n-selector2",
|
|
162514
|
+
"code-reviewer",
|
|
161476
162515
|
"code-reviewer-multi-prompt",
|
|
161477
|
-
"
|
|
162516
|
+
"opus-agent",
|
|
162517
|
+
"gpt-5-agent",
|
|
162518
|
+
"team-cto",
|
|
162519
|
+
"team-vp-engineering",
|
|
162520
|
+
"team-director",
|
|
161478
162521
|
"coordinator",
|
|
162522
|
+
"team-fellow",
|
|
162523
|
+
"team-distinguished-engineer",
|
|
162524
|
+
"team-principal-engineer",
|
|
162525
|
+
"team-senior-staff-engineer",
|
|
162526
|
+
"team-staff-engineer",
|
|
161479
162527
|
"team-manager",
|
|
162528
|
+
"team-sub-manager",
|
|
161480
162529
|
"senior-engineer",
|
|
161481
162530
|
"team-mid-level-engineer",
|
|
161482
162531
|
"team-junior-engineer",
|
|
161483
162532
|
"team-researcher",
|
|
162533
|
+
"team-scientist",
|
|
161484
162534
|
"team-designer",
|
|
161485
162535
|
"team-product-lead",
|
|
161486
162536
|
"team-tester",
|
|
161487
|
-
"team-
|
|
162537
|
+
"team-intern",
|
|
162538
|
+
"team-apprentice"
|
|
161488
162539
|
],
|
|
161489
162540
|
systemPrompt: `You are Sage, a strategic assistant that orchestrates complex coding tasks through specialized sub-agents. You are the AI agent behind the product, LevelCode, a CLI tool where users can chat with you to code with AI.
|
|
161490
162541
|
|
|
@@ -161516,6 +162567,39 @@ After completing the user request, summarize your changes in a sentence or a few
|
|
|
161516
162567
|
- Create an impressive demonstration showcasing web development capabilities
|
|
161517
162568
|
- **Refactoring Awareness:** Whenever you modify an exported symbol like a function or class or variable, you should find and update all the references to it appropriately using the code_search tool.
|
|
161518
162569
|
- **Testing:** If you create a unit test, you should run it to see if it passes, and fix it if it doesn't.
|
|
162570
|
+
|
|
162571
|
+
# Team & Swarm Management
|
|
162572
|
+
|
|
162573
|
+
You have full authority to create and manage engineering teams. You are the commander \u2014 you bypass all phase restrictions.
|
|
162574
|
+
|
|
162575
|
+
## Available Team Roles (all spawnable)
|
|
162576
|
+
- **Executive:** team-cto, team-vp-engineering, team-director
|
|
162577
|
+
- **Architects:** team-fellow, team-distinguished-engineer, team-principal-engineer
|
|
162578
|
+
- **Staff:** team-senior-staff-engineer, team-staff-engineer
|
|
162579
|
+
- **Management:** coordinator, team-manager, team-sub-manager
|
|
162580
|
+
- **Engineers:** senior-engineer, team-mid-level-engineer, team-junior-engineer
|
|
162581
|
+
- **Specialists:** team-researcher, team-scientist, team-designer, team-product-lead, team-tester
|
|
162582
|
+
- **Junior:** team-intern, team-apprentice
|
|
162583
|
+
|
|
162584
|
+
## How to Deploy Teams
|
|
162585
|
+
1. Use \`team_create\` to create a team (it will use your default phase from settings \u2014 usually "alpha")
|
|
162586
|
+
2. Use \`task_create\` to create tasks for the team
|
|
162587
|
+
3. Use \`spawn_agents\` with \`team_name\` and \`team_role\` to deploy agents to the team
|
|
162588
|
+
4. Agents pick up tasks and work autonomously
|
|
162589
|
+
5. You can spawn ANY role directly \u2014 CTO, VP, Director, Senior Engineer, etc.
|
|
162590
|
+
|
|
162591
|
+
## Autonomous Phase Management
|
|
162592
|
+
- You don't need to ask the user about phases \u2014 just create teams and start working
|
|
162593
|
+
- Teams default to "alpha" phase (full tool access) based on user settings
|
|
162594
|
+
- You can transition phases with the team tools if needed
|
|
162595
|
+
- You bypass all phase restrictions as the commander
|
|
162596
|
+
|
|
162597
|
+
## When to Use Teams
|
|
162598
|
+
- Large multi-file tasks \u2192 deploy senior engineers in parallel
|
|
162599
|
+
- Architecture decisions \u2192 deploy a principal engineer or CTO
|
|
162600
|
+
- Code review \u2192 deploy a tester or code reviewer
|
|
162601
|
+
- Research \u2192 deploy a researcher
|
|
162602
|
+
- For massive builds, deploy a full hierarchy: CTO \u2192 Directors \u2192 Managers \u2192 Engineers
|
|
161519
162603
|
- **Package Management:** When adding new packages, use the commander agent to install the package rather than editing the package.json file with a guess at the version number to use (or similar for other languages). This way, you will be sure to have the latest version of the package. Do not install packages globally unless asked by the user (e.g. Don't run \`npm install -g <package-name>\`). Always try to use the package manager associated with the project (e.g. it might be \`pnpm\` or \`bun\` or \`yarn\` instead of \`npm\`, or similar for other languages).
|
|
161520
162604
|
- **Code Hygiene:** Make sure to leave things in a good state:
|
|
161521
162605
|
- Don't forget to add any imports that might be needed
|
|
@@ -161724,28 +162808,54 @@ At the end of your turn, use the suggest_followups tool to suggest around 3 next
|
|
|
161724
162808
|
],
|
|
161725
162809
|
spawnableAgents: [
|
|
161726
162810
|
"file-picker",
|
|
162811
|
+
"file-picker-max",
|
|
161727
162812
|
"code-searcher",
|
|
161728
162813
|
"directory-lister",
|
|
161729
162814
|
"glob-matcher",
|
|
162815
|
+
"file-lister",
|
|
161730
162816
|
"researcher-web",
|
|
161731
162817
|
"researcher-docs",
|
|
161732
162818
|
"commander",
|
|
162819
|
+
"commander-lite",
|
|
162820
|
+
"context-pruner",
|
|
161733
162821
|
"thinker",
|
|
161734
|
-
"
|
|
161735
|
-
"
|
|
162822
|
+
"thinker-best-of-n",
|
|
162823
|
+
"thinker-best-of-n-opus",
|
|
162824
|
+
"thinker-selector",
|
|
162825
|
+
"thinker-selector-opus",
|
|
161736
162826
|
"editor",
|
|
162827
|
+
"editor-glm",
|
|
162828
|
+
"editor-gpt-5",
|
|
162829
|
+
"editor-multi-prompt",
|
|
162830
|
+
"editor-implementor",
|
|
162831
|
+
"editor-implementor-opus",
|
|
162832
|
+
"editor-implementor-gpt-5",
|
|
162833
|
+
"best-of-n-selector2",
|
|
161737
162834
|
"code-reviewer",
|
|
161738
|
-
"
|
|
162835
|
+
"code-reviewer-multi-prompt",
|
|
162836
|
+
"opus-agent",
|
|
162837
|
+
"gpt-5-agent",
|
|
162838
|
+
"team-cto",
|
|
162839
|
+
"team-vp-engineering",
|
|
162840
|
+
"team-director",
|
|
161739
162841
|
"coordinator",
|
|
162842
|
+
"team-fellow",
|
|
162843
|
+
"team-distinguished-engineer",
|
|
162844
|
+
"team-principal-engineer",
|
|
162845
|
+
"team-senior-staff-engineer",
|
|
162846
|
+
"team-staff-engineer",
|
|
161740
162847
|
"team-manager",
|
|
162848
|
+
"team-sub-manager",
|
|
161741
162849
|
"senior-engineer",
|
|
161742
162850
|
"team-mid-level-engineer",
|
|
161743
162851
|
"team-junior-engineer",
|
|
161744
162852
|
"team-researcher",
|
|
162853
|
+
"team-scientist",
|
|
161745
162854
|
"team-designer",
|
|
161746
162855
|
"team-product-lead",
|
|
161747
162856
|
"team-tester",
|
|
161748
|
-
"team-
|
|
162857
|
+
"team-intern",
|
|
162858
|
+
"team-apprentice"
|
|
161749
162859
|
],
|
|
161750
162860
|
systemPrompt: `You are Sage, a strategic assistant that orchestrates complex coding tasks through specialized sub-agents. You are the AI agent behind the product, LevelCode, a CLI tool where users can chat with you to code with AI.
|
|
161751
162861
|
|
|
@@ -161777,6 +162887,39 @@ At the end of your turn, use the suggest_followups tool to suggest around 3 next
|
|
|
161777
162887
|
- Create an impressive demonstration showcasing web development capabilities
|
|
161778
162888
|
- **Refactoring Awareness:** Whenever you modify an exported symbol like a function or class or variable, you should find and update all the references to it appropriately using the code_search tool.
|
|
161779
162889
|
- **Testing:** If you create a unit test, you should run it to see if it passes, and fix it if it doesn't.
|
|
162890
|
+
|
|
162891
|
+
# Team & Swarm Management
|
|
162892
|
+
|
|
162893
|
+
You have full authority to create and manage engineering teams. You are the commander \u2014 you bypass all phase restrictions.
|
|
162894
|
+
|
|
162895
|
+
## Available Team Roles (all spawnable)
|
|
162896
|
+
- **Executive:** team-cto, team-vp-engineering, team-director
|
|
162897
|
+
- **Architects:** team-fellow, team-distinguished-engineer, team-principal-engineer
|
|
162898
|
+
- **Staff:** team-senior-staff-engineer, team-staff-engineer
|
|
162899
|
+
- **Management:** coordinator, team-manager, team-sub-manager
|
|
162900
|
+
- **Engineers:** senior-engineer, team-mid-level-engineer, team-junior-engineer
|
|
162901
|
+
- **Specialists:** team-researcher, team-scientist, team-designer, team-product-lead, team-tester
|
|
162902
|
+
- **Junior:** team-intern, team-apprentice
|
|
162903
|
+
|
|
162904
|
+
## How to Deploy Teams
|
|
162905
|
+
1. Use \`team_create\` to create a team (it will use your default phase from settings \u2014 usually "alpha")
|
|
162906
|
+
2. Use \`task_create\` to create tasks for the team
|
|
162907
|
+
3. Use \`spawn_agents\` with \`team_name\` and \`team_role\` to deploy agents to the team
|
|
162908
|
+
4. Agents pick up tasks and work autonomously
|
|
162909
|
+
5. You can spawn ANY role directly \u2014 CTO, VP, Director, Senior Engineer, etc.
|
|
162910
|
+
|
|
162911
|
+
## Autonomous Phase Management
|
|
162912
|
+
- You don't need to ask the user about phases \u2014 just create teams and start working
|
|
162913
|
+
- Teams default to "alpha" phase (full tool access) based on user settings
|
|
162914
|
+
- You can transition phases with the team tools if needed
|
|
162915
|
+
- You bypass all phase restrictions as the commander
|
|
162916
|
+
|
|
162917
|
+
## When to Use Teams
|
|
162918
|
+
- Large multi-file tasks \u2192 deploy senior engineers in parallel
|
|
162919
|
+
- Architecture decisions \u2192 deploy a principal engineer or CTO
|
|
162920
|
+
- Code review \u2192 deploy a tester or code reviewer
|
|
162921
|
+
- Research \u2192 deploy a researcher
|
|
162922
|
+
- For massive builds, deploy a full hierarchy: CTO \u2192 Directors \u2192 Managers \u2192 Engineers
|
|
161780
162923
|
- **Package Management:** When adding new packages, use the commander agent to install the package rather than editing the package.json file with a guess at the version number to use (or similar for other languages). This way, you will be sure to have the latest version of the package. Do not install packages globally unless asked by the user (e.g. Don't run \`npm install -g <package-name>\`). Always try to use the package manager associated with the project (e.g. it might be \`pnpm\` or \`bun\` or \`yarn\` instead of \`npm\`, or similar for other languages).
|
|
161781
162924
|
- **Code Hygiene:** Make sure to leave things in a good state:
|
|
161782
162925
|
- Don't forget to add any imports that might be needed
|
|
@@ -162007,28 +163150,54 @@ This is more like an extremely short PRD which describes the end result of what
|
|
|
162007
163150
|
],
|
|
162008
163151
|
spawnableAgents: [
|
|
162009
163152
|
"file-picker",
|
|
163153
|
+
"file-picker-max",
|
|
162010
163154
|
"code-searcher",
|
|
162011
163155
|
"directory-lister",
|
|
162012
163156
|
"glob-matcher",
|
|
163157
|
+
"file-lister",
|
|
162013
163158
|
"researcher-web",
|
|
162014
163159
|
"researcher-docs",
|
|
162015
163160
|
"commander",
|
|
163161
|
+
"commander-lite",
|
|
163162
|
+
"context-pruner",
|
|
162016
163163
|
"thinker",
|
|
162017
|
-
"
|
|
162018
|
-
"
|
|
163164
|
+
"thinker-best-of-n",
|
|
163165
|
+
"thinker-best-of-n-opus",
|
|
163166
|
+
"thinker-selector",
|
|
163167
|
+
"thinker-selector-opus",
|
|
162019
163168
|
"editor",
|
|
163169
|
+
"editor-glm",
|
|
163170
|
+
"editor-gpt-5",
|
|
163171
|
+
"editor-multi-prompt",
|
|
163172
|
+
"editor-implementor",
|
|
163173
|
+
"editor-implementor-opus",
|
|
163174
|
+
"editor-implementor-gpt-5",
|
|
163175
|
+
"best-of-n-selector2",
|
|
162020
163176
|
"code-reviewer",
|
|
162021
|
-
"
|
|
163177
|
+
"code-reviewer-multi-prompt",
|
|
163178
|
+
"opus-agent",
|
|
163179
|
+
"gpt-5-agent",
|
|
163180
|
+
"team-cto",
|
|
163181
|
+
"team-vp-engineering",
|
|
163182
|
+
"team-director",
|
|
162022
163183
|
"coordinator",
|
|
163184
|
+
"team-fellow",
|
|
163185
|
+
"team-distinguished-engineer",
|
|
163186
|
+
"team-principal-engineer",
|
|
163187
|
+
"team-senior-staff-engineer",
|
|
163188
|
+
"team-staff-engineer",
|
|
162023
163189
|
"team-manager",
|
|
163190
|
+
"team-sub-manager",
|
|
162024
163191
|
"senior-engineer",
|
|
162025
163192
|
"team-mid-level-engineer",
|
|
162026
163193
|
"team-junior-engineer",
|
|
162027
163194
|
"team-researcher",
|
|
163195
|
+
"team-scientist",
|
|
162028
163196
|
"team-designer",
|
|
162029
163197
|
"team-product-lead",
|
|
162030
163198
|
"team-tester",
|
|
162031
|
-
"team-
|
|
163199
|
+
"team-intern",
|
|
163200
|
+
"team-apprentice"
|
|
162032
163201
|
],
|
|
162033
163202
|
systemPrompt: `You are Sage, a strategic assistant that orchestrates complex coding tasks through specialized sub-agents. You are the AI agent behind the product, LevelCode, a CLI tool where users can chat with you to code with AI.
|
|
162034
163203
|
|
|
@@ -162060,6 +163229,39 @@ This is more like an extremely short PRD which describes the end result of what
|
|
|
162060
163229
|
- Create an impressive demonstration showcasing web development capabilities
|
|
162061
163230
|
- **Refactoring Awareness:** Whenever you modify an exported symbol like a function or class or variable, you should find and update all the references to it appropriately using the code_search tool.
|
|
162062
163231
|
- **Testing:** If you create a unit test, you should run it to see if it passes, and fix it if it doesn't.
|
|
163232
|
+
|
|
163233
|
+
# Team & Swarm Management
|
|
163234
|
+
|
|
163235
|
+
You have full authority to create and manage engineering teams. You are the commander \u2014 you bypass all phase restrictions.
|
|
163236
|
+
|
|
163237
|
+
## Available Team Roles (all spawnable)
|
|
163238
|
+
- **Executive:** team-cto, team-vp-engineering, team-director
|
|
163239
|
+
- **Architects:** team-fellow, team-distinguished-engineer, team-principal-engineer
|
|
163240
|
+
- **Staff:** team-senior-staff-engineer, team-staff-engineer
|
|
163241
|
+
- **Management:** coordinator, team-manager, team-sub-manager
|
|
163242
|
+
- **Engineers:** senior-engineer, team-mid-level-engineer, team-junior-engineer
|
|
163243
|
+
- **Specialists:** team-researcher, team-scientist, team-designer, team-product-lead, team-tester
|
|
163244
|
+
- **Junior:** team-intern, team-apprentice
|
|
163245
|
+
|
|
163246
|
+
## How to Deploy Teams
|
|
163247
|
+
1. Use \`team_create\` to create a team (it will use your default phase from settings \u2014 usually "alpha")
|
|
163248
|
+
2. Use \`task_create\` to create tasks for the team
|
|
163249
|
+
3. Use \`spawn_agents\` with \`team_name\` and \`team_role\` to deploy agents to the team
|
|
163250
|
+
4. Agents pick up tasks and work autonomously
|
|
163251
|
+
5. You can spawn ANY role directly \u2014 CTO, VP, Director, Senior Engineer, etc.
|
|
163252
|
+
|
|
163253
|
+
## Autonomous Phase Management
|
|
163254
|
+
- You don't need to ask the user about phases \u2014 just create teams and start working
|
|
163255
|
+
- Teams default to "alpha" phase (full tool access) based on user settings
|
|
163256
|
+
- You can transition phases with the team tools if needed
|
|
163257
|
+
- You bypass all phase restrictions as the commander
|
|
163258
|
+
|
|
163259
|
+
## When to Use Teams
|
|
163260
|
+
- Large multi-file tasks \u2192 deploy senior engineers in parallel
|
|
163261
|
+
- Architecture decisions \u2192 deploy a principal engineer or CTO
|
|
163262
|
+
- Code review \u2192 deploy a tester or code reviewer
|
|
163263
|
+
- Research \u2192 deploy a researcher
|
|
163264
|
+
- For massive builds, deploy a full hierarchy: CTO \u2192 Directors \u2192 Managers \u2192 Engineers
|
|
162063
163265
|
- **Package Management:** When adding new packages, use the commander agent to install the package rather than editing the package.json file with a guess at the version number to use (or similar for other languages). This way, you will be sure to have the latest version of the package. Do not install packages globally unless asked by the user (e.g. Don't run \`npm install -g <package-name>\`). Always try to use the package manager associated with the project (e.g. it might be \`pnpm\` or \`bun\` or \`yarn\` instead of \`npm\`, or similar for other languages).
|
|
162064
163266
|
- **Code Hygiene:** Make sure to leave things in a good state:
|
|
162065
163267
|
- Don't forget to add any imports that might be needed
|
|
@@ -164619,7 +165821,50 @@ Example 2:
|
|
|
164619
165821
|
"code_search",
|
|
164620
165822
|
"set_output"
|
|
164621
165823
|
],
|
|
164622
|
-
spawnableAgents: [
|
|
165824
|
+
spawnableAgents: [
|
|
165825
|
+
"file-picker",
|
|
165826
|
+
"file-picker-max",
|
|
165827
|
+
"code-searcher",
|
|
165828
|
+
"directory-lister",
|
|
165829
|
+
"glob-matcher",
|
|
165830
|
+
"file-lister",
|
|
165831
|
+
"researcher-web",
|
|
165832
|
+
"researcher-docs",
|
|
165833
|
+
"commander",
|
|
165834
|
+
"commander-lite",
|
|
165835
|
+
"context-pruner",
|
|
165836
|
+
"thinker",
|
|
165837
|
+
"thinker-best-of-n",
|
|
165838
|
+
"thinker-best-of-n-opus",
|
|
165839
|
+
"editor",
|
|
165840
|
+
"editor-glm",
|
|
165841
|
+
"editor-multi-prompt",
|
|
165842
|
+
"code-reviewer",
|
|
165843
|
+
"code-reviewer-multi-prompt",
|
|
165844
|
+
"opus-agent",
|
|
165845
|
+
"gpt-5-agent",
|
|
165846
|
+
"team-cto",
|
|
165847
|
+
"team-vp-engineering",
|
|
165848
|
+
"team-director",
|
|
165849
|
+
"coordinator",
|
|
165850
|
+
"team-fellow",
|
|
165851
|
+
"team-distinguished-engineer",
|
|
165852
|
+
"team-principal-engineer",
|
|
165853
|
+
"team-senior-staff-engineer",
|
|
165854
|
+
"team-staff-engineer",
|
|
165855
|
+
"team-manager",
|
|
165856
|
+
"team-sub-manager",
|
|
165857
|
+
"senior-engineer",
|
|
165858
|
+
"team-mid-level-engineer",
|
|
165859
|
+
"team-junior-engineer",
|
|
165860
|
+
"team-researcher",
|
|
165861
|
+
"team-scientist",
|
|
165862
|
+
"team-designer",
|
|
165863
|
+
"team-product-lead",
|
|
165864
|
+
"team-tester",
|
|
165865
|
+
"team-intern",
|
|
165866
|
+
"team-apprentice"
|
|
165867
|
+
],
|
|
164623
165868
|
systemPrompt: `You are an Apprentice Agent within a LevelCode swarm team. You handle straightforward tasks that require basic analysis and judgment.
|
|
164624
165869
|
|
|
164625
165870
|
# Role
|
|
@@ -164704,16 +165949,48 @@ Be thorough in your search but focused in your analysis. Report what you found w
|
|
|
164704
165949
|
"task_list"
|
|
164705
165950
|
],
|
|
164706
165951
|
spawnableAgents: [
|
|
164707
|
-
"team-manager",
|
|
164708
|
-
"senior-engineer",
|
|
164709
|
-
"commander",
|
|
164710
165952
|
"file-picker",
|
|
165953
|
+
"file-picker-max",
|
|
164711
165954
|
"code-searcher",
|
|
164712
165955
|
"directory-lister",
|
|
165956
|
+
"glob-matcher",
|
|
165957
|
+
"file-lister",
|
|
164713
165958
|
"researcher-web",
|
|
164714
165959
|
"researcher-docs",
|
|
165960
|
+
"commander",
|
|
165961
|
+
"commander-lite",
|
|
165962
|
+
"context-pruner",
|
|
164715
165963
|
"thinker",
|
|
164716
|
-
"
|
|
165964
|
+
"thinker-best-of-n",
|
|
165965
|
+
"thinker-best-of-n-opus",
|
|
165966
|
+
"editor",
|
|
165967
|
+
"editor-glm",
|
|
165968
|
+
"editor-multi-prompt",
|
|
165969
|
+
"code-reviewer",
|
|
165970
|
+
"code-reviewer-multi-prompt",
|
|
165971
|
+
"opus-agent",
|
|
165972
|
+
"gpt-5-agent",
|
|
165973
|
+
"team-cto",
|
|
165974
|
+
"team-vp-engineering",
|
|
165975
|
+
"team-director",
|
|
165976
|
+
"coordinator",
|
|
165977
|
+
"team-fellow",
|
|
165978
|
+
"team-distinguished-engineer",
|
|
165979
|
+
"team-principal-engineer",
|
|
165980
|
+
"team-senior-staff-engineer",
|
|
165981
|
+
"team-staff-engineer",
|
|
165982
|
+
"team-manager",
|
|
165983
|
+
"team-sub-manager",
|
|
165984
|
+
"senior-engineer",
|
|
165985
|
+
"team-mid-level-engineer",
|
|
165986
|
+
"team-junior-engineer",
|
|
165987
|
+
"team-researcher",
|
|
165988
|
+
"team-scientist",
|
|
165989
|
+
"team-designer",
|
|
165990
|
+
"team-product-lead",
|
|
165991
|
+
"team-tester",
|
|
165992
|
+
"team-intern",
|
|
165993
|
+
"team-apprentice"
|
|
164717
165994
|
],
|
|
164718
165995
|
systemPrompt: `You are a Team Coordinator: a top-level orchestrator responsible for driving complex, multi-agent software engineering projects to completion.
|
|
164719
165996
|
|
|
@@ -164831,17 +166108,48 @@ If you need clarification from the user, use the ask_user tool.`,
|
|
|
164831
166108
|
"task_list"
|
|
164832
166109
|
],
|
|
164833
166110
|
spawnableAgents: [
|
|
164834
|
-
"team-manager",
|
|
164835
|
-
"senior-engineer",
|
|
164836
|
-
"commander",
|
|
164837
166111
|
"file-picker",
|
|
164838
|
-
"
|
|
164839
|
-
"code-reviewer",
|
|
166112
|
+
"file-picker-max",
|
|
164840
166113
|
"code-searcher",
|
|
164841
166114
|
"directory-lister",
|
|
166115
|
+
"glob-matcher",
|
|
166116
|
+
"file-lister",
|
|
164842
166117
|
"researcher-web",
|
|
164843
166118
|
"researcher-docs",
|
|
164844
|
-
"
|
|
166119
|
+
"commander",
|
|
166120
|
+
"commander-lite",
|
|
166121
|
+
"context-pruner",
|
|
166122
|
+
"thinker",
|
|
166123
|
+
"thinker-best-of-n",
|
|
166124
|
+
"thinker-best-of-n-opus",
|
|
166125
|
+
"editor",
|
|
166126
|
+
"editor-glm",
|
|
166127
|
+
"editor-multi-prompt",
|
|
166128
|
+
"code-reviewer",
|
|
166129
|
+
"code-reviewer-multi-prompt",
|
|
166130
|
+
"opus-agent",
|
|
166131
|
+
"gpt-5-agent",
|
|
166132
|
+
"team-cto",
|
|
166133
|
+
"team-vp-engineering",
|
|
166134
|
+
"team-director",
|
|
166135
|
+
"coordinator",
|
|
166136
|
+
"team-fellow",
|
|
166137
|
+
"team-distinguished-engineer",
|
|
166138
|
+
"team-principal-engineer",
|
|
166139
|
+
"team-senior-staff-engineer",
|
|
166140
|
+
"team-staff-engineer",
|
|
166141
|
+
"team-manager",
|
|
166142
|
+
"team-sub-manager",
|
|
166143
|
+
"senior-engineer",
|
|
166144
|
+
"team-mid-level-engineer",
|
|
166145
|
+
"team-junior-engineer",
|
|
166146
|
+
"team-researcher",
|
|
166147
|
+
"team-scientist",
|
|
166148
|
+
"team-designer",
|
|
166149
|
+
"team-product-lead",
|
|
166150
|
+
"team-tester",
|
|
166151
|
+
"team-intern",
|
|
166152
|
+
"team-apprentice"
|
|
164845
166153
|
],
|
|
164846
166154
|
systemPrompt: `You are a CTO Agent within a LevelCode swarm team. You are the Chief Technology Officer responsible for the overall technical strategy and execution of the project.
|
|
164847
166155
|
|
|
@@ -164935,7 +166243,50 @@ Focus on strategic impact and organizational effectiveness, not implementation d
|
|
|
164935
166243
|
"list_directory",
|
|
164936
166244
|
"set_output"
|
|
164937
166245
|
],
|
|
164938
|
-
spawnableAgents: [
|
|
166246
|
+
spawnableAgents: [
|
|
166247
|
+
"file-picker",
|
|
166248
|
+
"file-picker-max",
|
|
166249
|
+
"code-searcher",
|
|
166250
|
+
"directory-lister",
|
|
166251
|
+
"glob-matcher",
|
|
166252
|
+
"file-lister",
|
|
166253
|
+
"researcher-web",
|
|
166254
|
+
"researcher-docs",
|
|
166255
|
+
"commander",
|
|
166256
|
+
"commander-lite",
|
|
166257
|
+
"context-pruner",
|
|
166258
|
+
"thinker",
|
|
166259
|
+
"thinker-best-of-n",
|
|
166260
|
+
"thinker-best-of-n-opus",
|
|
166261
|
+
"editor",
|
|
166262
|
+
"editor-glm",
|
|
166263
|
+
"editor-multi-prompt",
|
|
166264
|
+
"code-reviewer",
|
|
166265
|
+
"code-reviewer-multi-prompt",
|
|
166266
|
+
"opus-agent",
|
|
166267
|
+
"gpt-5-agent",
|
|
166268
|
+
"team-cto",
|
|
166269
|
+
"team-vp-engineering",
|
|
166270
|
+
"team-director",
|
|
166271
|
+
"coordinator",
|
|
166272
|
+
"team-fellow",
|
|
166273
|
+
"team-distinguished-engineer",
|
|
166274
|
+
"team-principal-engineer",
|
|
166275
|
+
"team-senior-staff-engineer",
|
|
166276
|
+
"team-staff-engineer",
|
|
166277
|
+
"team-manager",
|
|
166278
|
+
"team-sub-manager",
|
|
166279
|
+
"senior-engineer",
|
|
166280
|
+
"team-mid-level-engineer",
|
|
166281
|
+
"team-junior-engineer",
|
|
166282
|
+
"team-researcher",
|
|
166283
|
+
"team-scientist",
|
|
166284
|
+
"team-designer",
|
|
166285
|
+
"team-product-lead",
|
|
166286
|
+
"team-tester",
|
|
166287
|
+
"team-intern",
|
|
166288
|
+
"team-apprentice"
|
|
166289
|
+
],
|
|
164939
166290
|
systemPrompt: `You are a Designer Agent specialized in UI/UX decision-making within a LevelCode swarm team.
|
|
164940
166291
|
|
|
164941
166292
|
# Role
|
|
@@ -165052,16 +166403,48 @@ Focus on practical, implementable guidance grounded in the existing codebase rat
|
|
|
165052
166403
|
"task_list"
|
|
165053
166404
|
],
|
|
165054
166405
|
spawnableAgents: [
|
|
165055
|
-
"team-manager",
|
|
165056
|
-
"senior-engineer",
|
|
165057
|
-
"commander",
|
|
165058
166406
|
"file-picker",
|
|
165059
|
-
"
|
|
166407
|
+
"file-picker-max",
|
|
165060
166408
|
"code-searcher",
|
|
165061
166409
|
"directory-lister",
|
|
166410
|
+
"glob-matcher",
|
|
166411
|
+
"file-lister",
|
|
165062
166412
|
"researcher-web",
|
|
165063
166413
|
"researcher-docs",
|
|
165064
|
-
"
|
|
166414
|
+
"commander",
|
|
166415
|
+
"commander-lite",
|
|
166416
|
+
"context-pruner",
|
|
166417
|
+
"thinker",
|
|
166418
|
+
"thinker-best-of-n",
|
|
166419
|
+
"thinker-best-of-n-opus",
|
|
166420
|
+
"editor",
|
|
166421
|
+
"editor-glm",
|
|
166422
|
+
"editor-multi-prompt",
|
|
166423
|
+
"code-reviewer",
|
|
166424
|
+
"code-reviewer-multi-prompt",
|
|
166425
|
+
"opus-agent",
|
|
166426
|
+
"gpt-5-agent",
|
|
166427
|
+
"team-cto",
|
|
166428
|
+
"team-vp-engineering",
|
|
166429
|
+
"team-director",
|
|
166430
|
+
"coordinator",
|
|
166431
|
+
"team-fellow",
|
|
166432
|
+
"team-distinguished-engineer",
|
|
166433
|
+
"team-principal-engineer",
|
|
166434
|
+
"team-senior-staff-engineer",
|
|
166435
|
+
"team-staff-engineer",
|
|
166436
|
+
"team-manager",
|
|
166437
|
+
"team-sub-manager",
|
|
166438
|
+
"senior-engineer",
|
|
166439
|
+
"team-mid-level-engineer",
|
|
166440
|
+
"team-junior-engineer",
|
|
166441
|
+
"team-researcher",
|
|
166442
|
+
"team-scientist",
|
|
166443
|
+
"team-designer",
|
|
166444
|
+
"team-product-lead",
|
|
166445
|
+
"team-tester",
|
|
166446
|
+
"team-intern",
|
|
166447
|
+
"team-apprentice"
|
|
165065
166448
|
],
|
|
165066
166449
|
systemPrompt: `You are an Engineering Director Agent within a LevelCode swarm team. You manage multiple teams and ensure cross-team alignment and delivery.
|
|
165067
166450
|
|
|
@@ -165158,17 +166541,48 @@ Focus on cross-team coordination and delivery, not individual implementation det
|
|
|
165158
166541
|
"think_deeply"
|
|
165159
166542
|
],
|
|
165160
166543
|
spawnableAgents: [
|
|
165161
|
-
"senior-engineer",
|
|
165162
166544
|
"file-picker",
|
|
165163
|
-
"
|
|
165164
|
-
"code-reviewer",
|
|
166545
|
+
"file-picker-max",
|
|
165165
166546
|
"code-searcher",
|
|
165166
166547
|
"directory-lister",
|
|
165167
166548
|
"glob-matcher",
|
|
165168
|
-
"
|
|
166549
|
+
"file-lister",
|
|
165169
166550
|
"researcher-web",
|
|
165170
166551
|
"researcher-docs",
|
|
165171
|
-
"
|
|
166552
|
+
"commander",
|
|
166553
|
+
"commander-lite",
|
|
166554
|
+
"context-pruner",
|
|
166555
|
+
"thinker",
|
|
166556
|
+
"thinker-best-of-n",
|
|
166557
|
+
"thinker-best-of-n-opus",
|
|
166558
|
+
"editor",
|
|
166559
|
+
"editor-glm",
|
|
166560
|
+
"editor-multi-prompt",
|
|
166561
|
+
"code-reviewer",
|
|
166562
|
+
"code-reviewer-multi-prompt",
|
|
166563
|
+
"opus-agent",
|
|
166564
|
+
"gpt-5-agent",
|
|
166565
|
+
"team-cto",
|
|
166566
|
+
"team-vp-engineering",
|
|
166567
|
+
"team-director",
|
|
166568
|
+
"coordinator",
|
|
166569
|
+
"team-fellow",
|
|
166570
|
+
"team-distinguished-engineer",
|
|
166571
|
+
"team-principal-engineer",
|
|
166572
|
+
"team-senior-staff-engineer",
|
|
166573
|
+
"team-staff-engineer",
|
|
166574
|
+
"team-manager",
|
|
166575
|
+
"team-sub-manager",
|
|
166576
|
+
"senior-engineer",
|
|
166577
|
+
"team-mid-level-engineer",
|
|
166578
|
+
"team-junior-engineer",
|
|
166579
|
+
"team-researcher",
|
|
166580
|
+
"team-scientist",
|
|
166581
|
+
"team-designer",
|
|
166582
|
+
"team-product-lead",
|
|
166583
|
+
"team-tester",
|
|
166584
|
+
"team-intern",
|
|
166585
|
+
"team-apprentice"
|
|
165172
166586
|
],
|
|
165173
166587
|
systemPrompt: `You are a Distinguished Engineer Agent within a LevelCode swarm team. You represent the pinnacle of technical individual contribution, operating at the intersection of deep technical expertise and strategic thinking.
|
|
165174
166588
|
|
|
@@ -165264,17 +166678,48 @@ You are a distinguished-level IC responsible for:
|
|
|
165264
166678
|
"think_deeply"
|
|
165265
166679
|
],
|
|
165266
166680
|
spawnableAgents: [
|
|
165267
|
-
"senior-engineer",
|
|
165268
166681
|
"file-picker",
|
|
165269
|
-
"
|
|
165270
|
-
"code-reviewer",
|
|
166682
|
+
"file-picker-max",
|
|
165271
166683
|
"code-searcher",
|
|
165272
166684
|
"directory-lister",
|
|
165273
166685
|
"glob-matcher",
|
|
165274
|
-
"
|
|
166686
|
+
"file-lister",
|
|
165275
166687
|
"researcher-web",
|
|
165276
166688
|
"researcher-docs",
|
|
165277
|
-
"
|
|
166689
|
+
"commander",
|
|
166690
|
+
"commander-lite",
|
|
166691
|
+
"context-pruner",
|
|
166692
|
+
"thinker",
|
|
166693
|
+
"thinker-best-of-n",
|
|
166694
|
+
"thinker-best-of-n-opus",
|
|
166695
|
+
"editor",
|
|
166696
|
+
"editor-glm",
|
|
166697
|
+
"editor-multi-prompt",
|
|
166698
|
+
"code-reviewer",
|
|
166699
|
+
"code-reviewer-multi-prompt",
|
|
166700
|
+
"opus-agent",
|
|
166701
|
+
"gpt-5-agent",
|
|
166702
|
+
"team-cto",
|
|
166703
|
+
"team-vp-engineering",
|
|
166704
|
+
"team-director",
|
|
166705
|
+
"coordinator",
|
|
166706
|
+
"team-fellow",
|
|
166707
|
+
"team-distinguished-engineer",
|
|
166708
|
+
"team-principal-engineer",
|
|
166709
|
+
"team-senior-staff-engineer",
|
|
166710
|
+
"team-staff-engineer",
|
|
166711
|
+
"team-manager",
|
|
166712
|
+
"team-sub-manager",
|
|
166713
|
+
"senior-engineer",
|
|
166714
|
+
"team-mid-level-engineer",
|
|
166715
|
+
"team-junior-engineer",
|
|
166716
|
+
"team-researcher",
|
|
166717
|
+
"team-scientist",
|
|
166718
|
+
"team-designer",
|
|
166719
|
+
"team-product-lead",
|
|
166720
|
+
"team-tester",
|
|
166721
|
+
"team-intern",
|
|
166722
|
+
"team-apprentice"
|
|
165278
166723
|
],
|
|
165279
166724
|
systemPrompt: `You are a Fellow Agent within a LevelCode swarm team. You are the most senior technical individual contributor -- an engineering fellow whose expertise defines the state of the art for the project.
|
|
165280
166725
|
|
|
@@ -165354,7 +166799,50 @@ You are a fellow responsible for:
|
|
|
165354
166799
|
"list_directory",
|
|
165355
166800
|
"set_output"
|
|
165356
166801
|
],
|
|
165357
|
-
spawnableAgents: [
|
|
166802
|
+
spawnableAgents: [
|
|
166803
|
+
"file-picker",
|
|
166804
|
+
"file-picker-max",
|
|
166805
|
+
"code-searcher",
|
|
166806
|
+
"directory-lister",
|
|
166807
|
+
"glob-matcher",
|
|
166808
|
+
"file-lister",
|
|
166809
|
+
"researcher-web",
|
|
166810
|
+
"researcher-docs",
|
|
166811
|
+
"commander",
|
|
166812
|
+
"commander-lite",
|
|
166813
|
+
"context-pruner",
|
|
166814
|
+
"thinker",
|
|
166815
|
+
"thinker-best-of-n",
|
|
166816
|
+
"thinker-best-of-n-opus",
|
|
166817
|
+
"editor",
|
|
166818
|
+
"editor-glm",
|
|
166819
|
+
"editor-multi-prompt",
|
|
166820
|
+
"code-reviewer",
|
|
166821
|
+
"code-reviewer-multi-prompt",
|
|
166822
|
+
"opus-agent",
|
|
166823
|
+
"gpt-5-agent",
|
|
166824
|
+
"team-cto",
|
|
166825
|
+
"team-vp-engineering",
|
|
166826
|
+
"team-director",
|
|
166827
|
+
"coordinator",
|
|
166828
|
+
"team-fellow",
|
|
166829
|
+
"team-distinguished-engineer",
|
|
166830
|
+
"team-principal-engineer",
|
|
166831
|
+
"team-senior-staff-engineer",
|
|
166832
|
+
"team-staff-engineer",
|
|
166833
|
+
"team-manager",
|
|
166834
|
+
"team-sub-manager",
|
|
166835
|
+
"senior-engineer",
|
|
166836
|
+
"team-mid-level-engineer",
|
|
166837
|
+
"team-junior-engineer",
|
|
166838
|
+
"team-researcher",
|
|
166839
|
+
"team-scientist",
|
|
166840
|
+
"team-designer",
|
|
166841
|
+
"team-product-lead",
|
|
166842
|
+
"team-tester",
|
|
166843
|
+
"team-intern",
|
|
166844
|
+
"team-apprentice"
|
|
166845
|
+
],
|
|
165358
166846
|
systemPrompt: `You are an Intern Agent within a LevelCode swarm team. You handle simple, well-defined tasks that require minimal judgment.
|
|
165359
166847
|
|
|
165360
166848
|
# Role
|
|
@@ -165439,11 +166927,47 @@ Do not go beyond the scope of what was asked. If the task is unclear, state what
|
|
|
165439
166927
|
],
|
|
165440
166928
|
spawnableAgents: [
|
|
165441
166929
|
"file-picker",
|
|
166930
|
+
"file-picker-max",
|
|
165442
166931
|
"code-searcher",
|
|
165443
166932
|
"directory-lister",
|
|
165444
166933
|
"glob-matcher",
|
|
166934
|
+
"file-lister",
|
|
166935
|
+
"researcher-web",
|
|
166936
|
+
"researcher-docs",
|
|
165445
166937
|
"commander",
|
|
165446
|
-
"
|
|
166938
|
+
"commander-lite",
|
|
166939
|
+
"context-pruner",
|
|
166940
|
+
"thinker",
|
|
166941
|
+
"thinker-best-of-n",
|
|
166942
|
+
"thinker-best-of-n-opus",
|
|
166943
|
+
"editor",
|
|
166944
|
+
"editor-glm",
|
|
166945
|
+
"editor-multi-prompt",
|
|
166946
|
+
"code-reviewer",
|
|
166947
|
+
"code-reviewer-multi-prompt",
|
|
166948
|
+
"opus-agent",
|
|
166949
|
+
"gpt-5-agent",
|
|
166950
|
+
"team-cto",
|
|
166951
|
+
"team-vp-engineering",
|
|
166952
|
+
"team-director",
|
|
166953
|
+
"coordinator",
|
|
166954
|
+
"team-fellow",
|
|
166955
|
+
"team-distinguished-engineer",
|
|
166956
|
+
"team-principal-engineer",
|
|
166957
|
+
"team-senior-staff-engineer",
|
|
166958
|
+
"team-staff-engineer",
|
|
166959
|
+
"team-manager",
|
|
166960
|
+
"team-sub-manager",
|
|
166961
|
+
"senior-engineer",
|
|
166962
|
+
"team-mid-level-engineer",
|
|
166963
|
+
"team-junior-engineer",
|
|
166964
|
+
"team-researcher",
|
|
166965
|
+
"team-scientist",
|
|
166966
|
+
"team-designer",
|
|
166967
|
+
"team-product-lead",
|
|
166968
|
+
"team-tester",
|
|
166969
|
+
"team-intern",
|
|
166970
|
+
"team-apprentice"
|
|
165447
166971
|
],
|
|
165448
166972
|
systemPrompt: `You are a Junior Engineer Agent within a LevelCode swarm team. You handle well-scoped implementation tasks under the guidance of more senior engineers.
|
|
165449
166973
|
|
|
@@ -165530,9 +167054,48 @@ Stay focused on the specific task. Do not expand scope or make improvements beyo
|
|
|
165530
167054
|
"ask_user"
|
|
165531
167055
|
],
|
|
165532
167056
|
spawnableAgents: [
|
|
167057
|
+
"file-picker",
|
|
167058
|
+
"file-picker-max",
|
|
167059
|
+
"code-searcher",
|
|
167060
|
+
"directory-lister",
|
|
167061
|
+
"glob-matcher",
|
|
167062
|
+
"file-lister",
|
|
167063
|
+
"researcher-web",
|
|
167064
|
+
"researcher-docs",
|
|
167065
|
+
"commander",
|
|
167066
|
+
"commander-lite",
|
|
167067
|
+
"context-pruner",
|
|
167068
|
+
"thinker",
|
|
167069
|
+
"thinker-best-of-n",
|
|
167070
|
+
"thinker-best-of-n-opus",
|
|
167071
|
+
"editor",
|
|
167072
|
+
"editor-glm",
|
|
167073
|
+
"editor-multi-prompt",
|
|
167074
|
+
"code-reviewer",
|
|
167075
|
+
"code-reviewer-multi-prompt",
|
|
167076
|
+
"opus-agent",
|
|
167077
|
+
"gpt-5-agent",
|
|
167078
|
+
"team-cto",
|
|
167079
|
+
"team-vp-engineering",
|
|
167080
|
+
"team-director",
|
|
167081
|
+
"coordinator",
|
|
167082
|
+
"team-fellow",
|
|
167083
|
+
"team-distinguished-engineer",
|
|
167084
|
+
"team-principal-engineer",
|
|
167085
|
+
"team-senior-staff-engineer",
|
|
167086
|
+
"team-staff-engineer",
|
|
167087
|
+
"team-manager",
|
|
167088
|
+
"team-sub-manager",
|
|
165533
167089
|
"senior-engineer",
|
|
165534
167090
|
"team-mid-level-engineer",
|
|
165535
|
-
"
|
|
167091
|
+
"team-junior-engineer",
|
|
167092
|
+
"team-researcher",
|
|
167093
|
+
"team-scientist",
|
|
167094
|
+
"team-designer",
|
|
167095
|
+
"team-product-lead",
|
|
167096
|
+
"team-tester",
|
|
167097
|
+
"team-intern",
|
|
167098
|
+
"team-apprentice"
|
|
165536
167099
|
],
|
|
165537
167100
|
systemPrompt: `You are a Manager Agent responsible for overseeing a group of engineers within a LevelCode swarm team.
|
|
165538
167101
|
|
|
@@ -165644,11 +167207,47 @@ When spawning engineers, provide them with:
|
|
|
165644
167207
|
],
|
|
165645
167208
|
spawnableAgents: [
|
|
165646
167209
|
"file-picker",
|
|
167210
|
+
"file-picker-max",
|
|
165647
167211
|
"code-searcher",
|
|
165648
167212
|
"directory-lister",
|
|
165649
167213
|
"glob-matcher",
|
|
167214
|
+
"file-lister",
|
|
167215
|
+
"researcher-web",
|
|
167216
|
+
"researcher-docs",
|
|
165650
167217
|
"commander",
|
|
165651
|
-
"
|
|
167218
|
+
"commander-lite",
|
|
167219
|
+
"context-pruner",
|
|
167220
|
+
"thinker",
|
|
167221
|
+
"thinker-best-of-n",
|
|
167222
|
+
"thinker-best-of-n-opus",
|
|
167223
|
+
"editor",
|
|
167224
|
+
"editor-glm",
|
|
167225
|
+
"editor-multi-prompt",
|
|
167226
|
+
"code-reviewer",
|
|
167227
|
+
"code-reviewer-multi-prompt",
|
|
167228
|
+
"opus-agent",
|
|
167229
|
+
"gpt-5-agent",
|
|
167230
|
+
"team-cto",
|
|
167231
|
+
"team-vp-engineering",
|
|
167232
|
+
"team-director",
|
|
167233
|
+
"coordinator",
|
|
167234
|
+
"team-fellow",
|
|
167235
|
+
"team-distinguished-engineer",
|
|
167236
|
+
"team-principal-engineer",
|
|
167237
|
+
"team-senior-staff-engineer",
|
|
167238
|
+
"team-staff-engineer",
|
|
167239
|
+
"team-manager",
|
|
167240
|
+
"team-sub-manager",
|
|
167241
|
+
"senior-engineer",
|
|
167242
|
+
"team-mid-level-engineer",
|
|
167243
|
+
"team-junior-engineer",
|
|
167244
|
+
"team-researcher",
|
|
167245
|
+
"team-scientist",
|
|
167246
|
+
"team-designer",
|
|
167247
|
+
"team-product-lead",
|
|
167248
|
+
"team-tester",
|
|
167249
|
+
"team-intern",
|
|
167250
|
+
"team-apprentice"
|
|
165652
167251
|
],
|
|
165653
167252
|
systemPrompt: `You are a Mid-Level Engineer Agent within a LevelCode swarm team. You are a capable individual contributor who handles a wide range of implementation tasks independently.
|
|
165654
167253
|
|
|
@@ -165751,17 +167350,48 @@ Work methodically. Gather context first, implement carefully, and validate thoro
|
|
|
165751
167350
|
"think_deeply"
|
|
165752
167351
|
],
|
|
165753
167352
|
spawnableAgents: [
|
|
165754
|
-
"senior-engineer",
|
|
165755
167353
|
"file-picker",
|
|
165756
|
-
"
|
|
165757
|
-
"code-reviewer",
|
|
167354
|
+
"file-picker-max",
|
|
165758
167355
|
"code-searcher",
|
|
165759
167356
|
"directory-lister",
|
|
165760
167357
|
"glob-matcher",
|
|
165761
|
-
"
|
|
167358
|
+
"file-lister",
|
|
165762
167359
|
"researcher-web",
|
|
165763
167360
|
"researcher-docs",
|
|
165764
|
-
"
|
|
167361
|
+
"commander",
|
|
167362
|
+
"commander-lite",
|
|
167363
|
+
"context-pruner",
|
|
167364
|
+
"thinker",
|
|
167365
|
+
"thinker-best-of-n",
|
|
167366
|
+
"thinker-best-of-n-opus",
|
|
167367
|
+
"editor",
|
|
167368
|
+
"editor-glm",
|
|
167369
|
+
"editor-multi-prompt",
|
|
167370
|
+
"code-reviewer",
|
|
167371
|
+
"code-reviewer-multi-prompt",
|
|
167372
|
+
"opus-agent",
|
|
167373
|
+
"gpt-5-agent",
|
|
167374
|
+
"team-cto",
|
|
167375
|
+
"team-vp-engineering",
|
|
167376
|
+
"team-director",
|
|
167377
|
+
"coordinator",
|
|
167378
|
+
"team-fellow",
|
|
167379
|
+
"team-distinguished-engineer",
|
|
167380
|
+
"team-principal-engineer",
|
|
167381
|
+
"team-senior-staff-engineer",
|
|
167382
|
+
"team-staff-engineer",
|
|
167383
|
+
"team-manager",
|
|
167384
|
+
"team-sub-manager",
|
|
167385
|
+
"senior-engineer",
|
|
167386
|
+
"team-mid-level-engineer",
|
|
167387
|
+
"team-junior-engineer",
|
|
167388
|
+
"team-researcher",
|
|
167389
|
+
"team-scientist",
|
|
167390
|
+
"team-designer",
|
|
167391
|
+
"team-product-lead",
|
|
167392
|
+
"team-tester",
|
|
167393
|
+
"team-intern",
|
|
167394
|
+
"team-apprentice"
|
|
165765
167395
|
],
|
|
165766
167396
|
systemPrompt: `You are a Principal Engineer Agent within a LevelCode swarm team. You are the highest-level technical individual contributor, responsible for setting architectural direction and solving the hardest engineering problems.
|
|
165767
167397
|
|
|
@@ -165854,7 +167484,50 @@ You are a principal IC responsible for:
|
|
|
165854
167484
|
"ask_user",
|
|
165855
167485
|
"set_output"
|
|
165856
167486
|
],
|
|
165857
|
-
spawnableAgents: [
|
|
167487
|
+
spawnableAgents: [
|
|
167488
|
+
"file-picker",
|
|
167489
|
+
"file-picker-max",
|
|
167490
|
+
"code-searcher",
|
|
167491
|
+
"directory-lister",
|
|
167492
|
+
"glob-matcher",
|
|
167493
|
+
"file-lister",
|
|
167494
|
+
"researcher-web",
|
|
167495
|
+
"researcher-docs",
|
|
167496
|
+
"commander",
|
|
167497
|
+
"commander-lite",
|
|
167498
|
+
"context-pruner",
|
|
167499
|
+
"thinker",
|
|
167500
|
+
"thinker-best-of-n",
|
|
167501
|
+
"thinker-best-of-n-opus",
|
|
167502
|
+
"editor",
|
|
167503
|
+
"editor-glm",
|
|
167504
|
+
"editor-multi-prompt",
|
|
167505
|
+
"code-reviewer",
|
|
167506
|
+
"code-reviewer-multi-prompt",
|
|
167507
|
+
"opus-agent",
|
|
167508
|
+
"gpt-5-agent",
|
|
167509
|
+
"team-cto",
|
|
167510
|
+
"team-vp-engineering",
|
|
167511
|
+
"team-director",
|
|
167512
|
+
"coordinator",
|
|
167513
|
+
"team-fellow",
|
|
167514
|
+
"team-distinguished-engineer",
|
|
167515
|
+
"team-principal-engineer",
|
|
167516
|
+
"team-senior-staff-engineer",
|
|
167517
|
+
"team-staff-engineer",
|
|
167518
|
+
"team-manager",
|
|
167519
|
+
"team-sub-manager",
|
|
167520
|
+
"senior-engineer",
|
|
167521
|
+
"team-mid-level-engineer",
|
|
167522
|
+
"team-junior-engineer",
|
|
167523
|
+
"team-researcher",
|
|
167524
|
+
"team-scientist",
|
|
167525
|
+
"team-designer",
|
|
167526
|
+
"team-product-lead",
|
|
167527
|
+
"team-tester",
|
|
167528
|
+
"team-intern",
|
|
167529
|
+
"team-apprentice"
|
|
167530
|
+
],
|
|
165858
167531
|
systemPrompt: `You are a Product Lead Agent responsible for requirements, prioritization, and product decision-making within a LevelCode swarm team.
|
|
165859
167532
|
|
|
165860
167533
|
# Role
|
|
@@ -165968,7 +167641,50 @@ Focus on clarity and actionability. Every requirement should be specific enough
|
|
|
165968
167641
|
"list_directory",
|
|
165969
167642
|
"set_output"
|
|
165970
167643
|
],
|
|
165971
|
-
spawnableAgents: [
|
|
167644
|
+
spawnableAgents: [
|
|
167645
|
+
"file-picker",
|
|
167646
|
+
"file-picker-max",
|
|
167647
|
+
"code-searcher",
|
|
167648
|
+
"directory-lister",
|
|
167649
|
+
"glob-matcher",
|
|
167650
|
+
"file-lister",
|
|
167651
|
+
"researcher-web",
|
|
167652
|
+
"researcher-docs",
|
|
167653
|
+
"commander",
|
|
167654
|
+
"commander-lite",
|
|
167655
|
+
"context-pruner",
|
|
167656
|
+
"thinker",
|
|
167657
|
+
"thinker-best-of-n",
|
|
167658
|
+
"thinker-best-of-n-opus",
|
|
167659
|
+
"editor",
|
|
167660
|
+
"editor-glm",
|
|
167661
|
+
"editor-multi-prompt",
|
|
167662
|
+
"code-reviewer",
|
|
167663
|
+
"code-reviewer-multi-prompt",
|
|
167664
|
+
"opus-agent",
|
|
167665
|
+
"gpt-5-agent",
|
|
167666
|
+
"team-cto",
|
|
167667
|
+
"team-vp-engineering",
|
|
167668
|
+
"team-director",
|
|
167669
|
+
"coordinator",
|
|
167670
|
+
"team-fellow",
|
|
167671
|
+
"team-distinguished-engineer",
|
|
167672
|
+
"team-principal-engineer",
|
|
167673
|
+
"team-senior-staff-engineer",
|
|
167674
|
+
"team-staff-engineer",
|
|
167675
|
+
"team-manager",
|
|
167676
|
+
"team-sub-manager",
|
|
167677
|
+
"senior-engineer",
|
|
167678
|
+
"team-mid-level-engineer",
|
|
167679
|
+
"team-junior-engineer",
|
|
167680
|
+
"team-researcher",
|
|
167681
|
+
"team-scientist",
|
|
167682
|
+
"team-designer",
|
|
167683
|
+
"team-product-lead",
|
|
167684
|
+
"team-tester",
|
|
167685
|
+
"team-intern",
|
|
167686
|
+
"team-apprentice"
|
|
167687
|
+
],
|
|
165972
167688
|
systemPrompt: `You are a Researcher Agent specialized in deep technical investigation and analysis within a LevelCode swarm team.
|
|
165973
167689
|
|
|
165974
167690
|
# Role
|
|
@@ -166080,14 +167796,47 @@ Be thorough but focused. Prioritize information that directly answers the resear
|
|
|
166080
167796
|
],
|
|
166081
167797
|
spawnableAgents: [
|
|
166082
167798
|
"file-picker",
|
|
166083
|
-
"
|
|
167799
|
+
"file-picker-max",
|
|
166084
167800
|
"code-searcher",
|
|
166085
167801
|
"directory-lister",
|
|
166086
167802
|
"glob-matcher",
|
|
166087
|
-
"
|
|
167803
|
+
"file-lister",
|
|
166088
167804
|
"researcher-web",
|
|
166089
167805
|
"researcher-docs",
|
|
166090
|
-
"
|
|
167806
|
+
"commander",
|
|
167807
|
+
"commander-lite",
|
|
167808
|
+
"context-pruner",
|
|
167809
|
+
"thinker",
|
|
167810
|
+
"thinker-best-of-n",
|
|
167811
|
+
"thinker-best-of-n-opus",
|
|
167812
|
+
"editor",
|
|
167813
|
+
"editor-glm",
|
|
167814
|
+
"editor-multi-prompt",
|
|
167815
|
+
"code-reviewer",
|
|
167816
|
+
"code-reviewer-multi-prompt",
|
|
167817
|
+
"opus-agent",
|
|
167818
|
+
"gpt-5-agent",
|
|
167819
|
+
"team-cto",
|
|
167820
|
+
"team-vp-engineering",
|
|
167821
|
+
"team-director",
|
|
167822
|
+
"coordinator",
|
|
167823
|
+
"team-fellow",
|
|
167824
|
+
"team-distinguished-engineer",
|
|
167825
|
+
"team-principal-engineer",
|
|
167826
|
+
"team-senior-staff-engineer",
|
|
167827
|
+
"team-staff-engineer",
|
|
167828
|
+
"team-manager",
|
|
167829
|
+
"team-sub-manager",
|
|
167830
|
+
"senior-engineer",
|
|
167831
|
+
"team-mid-level-engineer",
|
|
167832
|
+
"team-junior-engineer",
|
|
167833
|
+
"team-researcher",
|
|
167834
|
+
"team-scientist",
|
|
167835
|
+
"team-designer",
|
|
167836
|
+
"team-product-lead",
|
|
167837
|
+
"team-tester",
|
|
167838
|
+
"team-intern",
|
|
167839
|
+
"team-apprentice"
|
|
166091
167840
|
],
|
|
166092
167841
|
systemPrompt: `You are a Scientist Agent within a LevelCode swarm team. You investigate technical problems through experimentation, measurement, and systematic analysis.
|
|
166093
167842
|
|
|
@@ -166191,13 +167940,47 @@ Be rigorous. The value of your work depends on the reliability of your conclusio
|
|
|
166191
167940
|
],
|
|
166192
167941
|
spawnableAgents: [
|
|
166193
167942
|
"file-picker",
|
|
166194
|
-
"
|
|
166195
|
-
"code-reviewer",
|
|
167943
|
+
"file-picker-max",
|
|
166196
167944
|
"code-searcher",
|
|
166197
167945
|
"directory-lister",
|
|
166198
167946
|
"glob-matcher",
|
|
167947
|
+
"file-lister",
|
|
167948
|
+
"researcher-web",
|
|
167949
|
+
"researcher-docs",
|
|
166199
167950
|
"commander",
|
|
166200
|
-
"
|
|
167951
|
+
"commander-lite",
|
|
167952
|
+
"context-pruner",
|
|
167953
|
+
"thinker",
|
|
167954
|
+
"thinker-best-of-n",
|
|
167955
|
+
"thinker-best-of-n-opus",
|
|
167956
|
+
"editor",
|
|
167957
|
+
"editor-glm",
|
|
167958
|
+
"editor-multi-prompt",
|
|
167959
|
+
"code-reviewer",
|
|
167960
|
+
"code-reviewer-multi-prompt",
|
|
167961
|
+
"opus-agent",
|
|
167962
|
+
"gpt-5-agent",
|
|
167963
|
+
"team-cto",
|
|
167964
|
+
"team-vp-engineering",
|
|
167965
|
+
"team-director",
|
|
167966
|
+
"coordinator",
|
|
167967
|
+
"team-fellow",
|
|
167968
|
+
"team-distinguished-engineer",
|
|
167969
|
+
"team-principal-engineer",
|
|
167970
|
+
"team-senior-staff-engineer",
|
|
167971
|
+
"team-staff-engineer",
|
|
167972
|
+
"team-manager",
|
|
167973
|
+
"team-sub-manager",
|
|
167974
|
+
"senior-engineer",
|
|
167975
|
+
"team-mid-level-engineer",
|
|
167976
|
+
"team-junior-engineer",
|
|
167977
|
+
"team-researcher",
|
|
167978
|
+
"team-scientist",
|
|
167979
|
+
"team-designer",
|
|
167980
|
+
"team-product-lead",
|
|
167981
|
+
"team-tester",
|
|
167982
|
+
"team-intern",
|
|
167983
|
+
"team-apprentice"
|
|
166201
167984
|
],
|
|
166202
167985
|
systemPrompt: `You are Atlas, a Senior Engineer operating within a LevelCode team. You are a strong individual contributor with deep technical expertise who takes ownership of complex engineering tasks.
|
|
166203
167986
|
|
|
@@ -166337,127 +168120,193 @@ Spawn context-gathering agents before making edits. Spawn the code-reviewer afte
|
|
|
166337
168120
|
"run_terminal_command",
|
|
166338
168121
|
"write_todos",
|
|
166339
168122
|
"set_output",
|
|
166340
|
-
"ask_user",
|
|
168123
|
+
"ask_user",
|
|
168124
|
+
"skill",
|
|
168125
|
+
"think_deeply"
|
|
168126
|
+
],
|
|
168127
|
+
spawnableAgents: [
|
|
168128
|
+
"file-picker",
|
|
168129
|
+
"file-picker-max",
|
|
168130
|
+
"code-searcher",
|
|
168131
|
+
"directory-lister",
|
|
168132
|
+
"glob-matcher",
|
|
168133
|
+
"file-lister",
|
|
168134
|
+
"researcher-web",
|
|
168135
|
+
"researcher-docs",
|
|
168136
|
+
"commander",
|
|
168137
|
+
"commander-lite",
|
|
168138
|
+
"context-pruner",
|
|
168139
|
+
"thinker",
|
|
168140
|
+
"thinker-best-of-n",
|
|
168141
|
+
"thinker-best-of-n-opus",
|
|
168142
|
+
"editor",
|
|
168143
|
+
"editor-glm",
|
|
168144
|
+
"editor-multi-prompt",
|
|
168145
|
+
"code-reviewer",
|
|
168146
|
+
"code-reviewer-multi-prompt",
|
|
168147
|
+
"opus-agent",
|
|
168148
|
+
"gpt-5-agent",
|
|
168149
|
+
"team-cto",
|
|
168150
|
+
"team-vp-engineering",
|
|
168151
|
+
"team-director",
|
|
168152
|
+
"coordinator",
|
|
168153
|
+
"team-fellow",
|
|
168154
|
+
"team-distinguished-engineer",
|
|
168155
|
+
"team-principal-engineer",
|
|
168156
|
+
"team-senior-staff-engineer",
|
|
168157
|
+
"team-staff-engineer",
|
|
168158
|
+
"team-manager",
|
|
168159
|
+
"team-sub-manager",
|
|
168160
|
+
"senior-engineer",
|
|
168161
|
+
"team-mid-level-engineer",
|
|
168162
|
+
"team-junior-engineer",
|
|
168163
|
+
"team-researcher",
|
|
168164
|
+
"team-scientist",
|
|
168165
|
+
"team-designer",
|
|
168166
|
+
"team-product-lead",
|
|
168167
|
+
"team-tester",
|
|
168168
|
+
"team-intern",
|
|
168169
|
+
"team-apprentice"
|
|
168170
|
+
],
|
|
168171
|
+
systemPrompt: `You are a Senior Staff Engineer Agent within a LevelCode swarm team. You are one of the most technically experienced ICs, responsible for driving large-scale technical initiatives and providing cross-team technical leadership.
|
|
168172
|
+
|
|
168173
|
+
# Role
|
|
168174
|
+
|
|
168175
|
+
You are a senior staff IC responsible for:
|
|
168176
|
+
- **Large-scale technical initiatives**: Leading multi-phase projects that fundamentally improve the system's architecture, performance, or reliability.
|
|
168177
|
+
- **Critical subsystem ownership**: Owning and evolving the most important and complex subsystems in the codebase.
|
|
168178
|
+
- **Cross-team technical leadership**: Providing technical direction that spans multiple teams and domains. Resolving cross-team technical conflicts.
|
|
168179
|
+
- **Technical strategy**: Contributing to the team's long-term technical roadmap. Identifying technical debt and proposing systematic solutions.
|
|
168180
|
+
- **System design**: Designing systems and APIs that are robust, scalable, and maintainable. Setting the standard for technical excellence.
|
|
168181
|
+
- **Mentoring staff engineers**: Helping staff-level engineers grow their technical leadership skills.
|
|
168182
|
+
|
|
168183
|
+
# Core Principles
|
|
168184
|
+
|
|
168185
|
+
- **Think in systems.** Every change exists within a larger system. Consider second-order effects, failure modes, and long-term evolution.
|
|
168186
|
+
- **Lead through clarity.** Complex problems require clear thinking. Break down complexity into understandable parts before proposing solutions.
|
|
168187
|
+
- **Optimize for the long term.** Prefer solutions that reduce future complexity over those that are expedient now. Build foundations, not scaffolding.
|
|
168188
|
+
- **Validate assumptions.** Research thoroughly before committing to an approach. Spawn researchers to investigate unknowns.
|
|
168189
|
+
- **Communicate tradeoffs.** Every design decision involves tradeoffs. Make them explicit and document your reasoning.
|
|
168190
|
+
|
|
168191
|
+
# Working with Sub-agents
|
|
168192
|
+
|
|
168193
|
+
- **thinker** for deep reasoning about architecture and system design.
|
|
168194
|
+
- **researcher-web** / **researcher-docs** for researching external best practices and library capabilities.
|
|
168195
|
+
- **code-reviewer** for thorough review of critical implementations.
|
|
168196
|
+
- **file-picker** / **code-searcher** for comprehensive codebase exploration.
|
|
168197
|
+
- **commander** for validation and testing.
|
|
168198
|
+
|
|
168199
|
+
# Constraints
|
|
168200
|
+
|
|
168201
|
+
- Escalate decisions that affect the overall product direction or require user input to the coordinator or product lead.
|
|
168202
|
+
- For changes affecting multiple teams, ensure alignment before implementation.
|
|
168203
|
+
- Do NOT take shortcuts in critical subsystems. The cost of a bug in core infrastructure is very high.`,
|
|
168204
|
+
instructionsPrompt: `Complete the assigned technical initiative with the rigor and foresight of a senior staff IC. Follow these steps:
|
|
168205
|
+
|
|
168206
|
+
1. **Comprehensive research**: Spawn researchers and file-pickers in parallel to build a thorough understanding of the problem space. Read all relevant code.
|
|
168207
|
+
2. **Design and reason**: Spawn a thinker to reason through the architecture. Consider multiple approaches, evaluate tradeoffs, and select the best path.
|
|
168208
|
+
3. **Plan carefully**: Use write_todos to create a detailed, phased implementation plan. Identify risks and mitigation strategies.
|
|
168209
|
+
4. **Implement with precision**: Make changes using str_replace and write_file. Write code that serves as the exemplar for the codebase.
|
|
168210
|
+
5. **Validate exhaustively**: Run all relevant tests, typechecks, and integration checks. Test failure modes and edge cases.
|
|
168211
|
+
6. **Review critically**: Spawn a code-reviewer. Address all feedback before considering work complete.
|
|
168212
|
+
7. **Document decisions**: Summarize the technical decisions made, the reasoning behind them, and any follow-up work required.`,
|
|
168213
|
+
handleSteps: `function* () {
|
|
168214
|
+
while (!0) {
|
|
168215
|
+
const { stepsComplete } = yield "STEP";
|
|
168216
|
+
if (stepsComplete)
|
|
168217
|
+
break;
|
|
168218
|
+
}
|
|
168219
|
+
}`
|
|
168220
|
+
},
|
|
168221
|
+
"team-staff-engineer": {
|
|
168222
|
+
id: "team-staff-engineer",
|
|
168223
|
+
publisher: "levelcode",
|
|
168224
|
+
model: "anthropic/claude-sonnet-4.5",
|
|
168225
|
+
displayName: "Staff Engineer Agent",
|
|
168226
|
+
spawnerPrompt: "A staff-level engineer that handles complex cross-cutting implementations, technical leadership for features, and system design within a domain. Spawn for tasks requiring deep technical expertise that span multiple modules or teams.",
|
|
168227
|
+
inputSchema: {
|
|
168228
|
+
prompt: {
|
|
168229
|
+
type: "string",
|
|
168230
|
+
description: "The engineering task or technical leadership challenge. Include full context, scope, and constraints."
|
|
168231
|
+
},
|
|
168232
|
+
params: {
|
|
168233
|
+
type: "object",
|
|
168234
|
+
properties: {
|
|
168235
|
+
teamId: {
|
|
168236
|
+
type: "string",
|
|
168237
|
+
description: "The team this engineer belongs to."
|
|
168238
|
+
},
|
|
168239
|
+
domain: {
|
|
168240
|
+
type: "string",
|
|
168241
|
+
description: 'The technical domain this staff engineer owns (e.g., "data-layer", "auth", "build-system").'
|
|
168242
|
+
}
|
|
168243
|
+
},
|
|
168244
|
+
required: []
|
|
168245
|
+
}
|
|
168246
|
+
},
|
|
168247
|
+
outputMode: "last_message",
|
|
168248
|
+
includeMessageHistory: true,
|
|
168249
|
+
toolNames: [
|
|
168250
|
+
"spawn_agents",
|
|
168251
|
+
"read_files",
|
|
168252
|
+
"read_subtree",
|
|
168253
|
+
"str_replace",
|
|
168254
|
+
"write_file",
|
|
168255
|
+
"propose_str_replace",
|
|
168256
|
+
"propose_write_file",
|
|
168257
|
+
"code_search",
|
|
168258
|
+
"find_files",
|
|
168259
|
+
"glob",
|
|
168260
|
+
"list_directory",
|
|
168261
|
+
"run_terminal_command",
|
|
168262
|
+
"write_todos",
|
|
168263
|
+
"set_output",
|
|
166341
168264
|
"skill",
|
|
166342
168265
|
"think_deeply"
|
|
166343
168266
|
],
|
|
166344
168267
|
spawnableAgents: [
|
|
166345
168268
|
"file-picker",
|
|
166346
|
-
"
|
|
166347
|
-
"code-reviewer",
|
|
168269
|
+
"file-picker-max",
|
|
166348
168270
|
"code-searcher",
|
|
166349
168271
|
"directory-lister",
|
|
166350
168272
|
"glob-matcher",
|
|
166351
|
-
"
|
|
168273
|
+
"file-lister",
|
|
166352
168274
|
"researcher-web",
|
|
166353
168275
|
"researcher-docs",
|
|
166354
|
-
"
|
|
166355
|
-
|
|
166356
|
-
|
|
166357
|
-
|
|
166358
|
-
# Role
|
|
166359
|
-
|
|
166360
|
-
You are a senior staff IC responsible for:
|
|
166361
|
-
- **Large-scale technical initiatives**: Leading multi-phase projects that fundamentally improve the system's architecture, performance, or reliability.
|
|
166362
|
-
- **Critical subsystem ownership**: Owning and evolving the most important and complex subsystems in the codebase.
|
|
166363
|
-
- **Cross-team technical leadership**: Providing technical direction that spans multiple teams and domains. Resolving cross-team technical conflicts.
|
|
166364
|
-
- **Technical strategy**: Contributing to the team's long-term technical roadmap. Identifying technical debt and proposing systematic solutions.
|
|
166365
|
-
- **System design**: Designing systems and APIs that are robust, scalable, and maintainable. Setting the standard for technical excellence.
|
|
166366
|
-
- **Mentoring staff engineers**: Helping staff-level engineers grow their technical leadership skills.
|
|
166367
|
-
|
|
166368
|
-
# Core Principles
|
|
166369
|
-
|
|
166370
|
-
- **Think in systems.** Every change exists within a larger system. Consider second-order effects, failure modes, and long-term evolution.
|
|
166371
|
-
- **Lead through clarity.** Complex problems require clear thinking. Break down complexity into understandable parts before proposing solutions.
|
|
166372
|
-
- **Optimize for the long term.** Prefer solutions that reduce future complexity over those that are expedient now. Build foundations, not scaffolding.
|
|
166373
|
-
- **Validate assumptions.** Research thoroughly before committing to an approach. Spawn researchers to investigate unknowns.
|
|
166374
|
-
- **Communicate tradeoffs.** Every design decision involves tradeoffs. Make them explicit and document your reasoning.
|
|
166375
|
-
|
|
166376
|
-
# Working with Sub-agents
|
|
166377
|
-
|
|
166378
|
-
- **thinker** for deep reasoning about architecture and system design.
|
|
166379
|
-
- **researcher-web** / **researcher-docs** for researching external best practices and library capabilities.
|
|
166380
|
-
- **code-reviewer** for thorough review of critical implementations.
|
|
166381
|
-
- **file-picker** / **code-searcher** for comprehensive codebase exploration.
|
|
166382
|
-
- **commander** for validation and testing.
|
|
166383
|
-
|
|
166384
|
-
# Constraints
|
|
166385
|
-
|
|
166386
|
-
- Escalate decisions that affect the overall product direction or require user input to the coordinator or product lead.
|
|
166387
|
-
- For changes affecting multiple teams, ensure alignment before implementation.
|
|
166388
|
-
- Do NOT take shortcuts in critical subsystems. The cost of a bug in core infrastructure is very high.`,
|
|
166389
|
-
instructionsPrompt: `Complete the assigned technical initiative with the rigor and foresight of a senior staff IC. Follow these steps:
|
|
166390
|
-
|
|
166391
|
-
1. **Comprehensive research**: Spawn researchers and file-pickers in parallel to build a thorough understanding of the problem space. Read all relevant code.
|
|
166392
|
-
2. **Design and reason**: Spawn a thinker to reason through the architecture. Consider multiple approaches, evaluate tradeoffs, and select the best path.
|
|
166393
|
-
3. **Plan carefully**: Use write_todos to create a detailed, phased implementation plan. Identify risks and mitigation strategies.
|
|
166394
|
-
4. **Implement with precision**: Make changes using str_replace and write_file. Write code that serves as the exemplar for the codebase.
|
|
166395
|
-
5. **Validate exhaustively**: Run all relevant tests, typechecks, and integration checks. Test failure modes and edge cases.
|
|
166396
|
-
6. **Review critically**: Spawn a code-reviewer. Address all feedback before considering work complete.
|
|
166397
|
-
7. **Document decisions**: Summarize the technical decisions made, the reasoning behind them, and any follow-up work required.`,
|
|
166398
|
-
handleSteps: `function* () {
|
|
166399
|
-
while (!0) {
|
|
166400
|
-
const { stepsComplete } = yield "STEP";
|
|
166401
|
-
if (stepsComplete)
|
|
166402
|
-
break;
|
|
166403
|
-
}
|
|
166404
|
-
}`
|
|
166405
|
-
},
|
|
166406
|
-
"team-staff-engineer": {
|
|
166407
|
-
id: "team-staff-engineer",
|
|
166408
|
-
publisher: "levelcode",
|
|
166409
|
-
model: "anthropic/claude-sonnet-4.5",
|
|
166410
|
-
displayName: "Staff Engineer Agent",
|
|
166411
|
-
spawnerPrompt: "A staff-level engineer that handles complex cross-cutting implementations, technical leadership for features, and system design within a domain. Spawn for tasks requiring deep technical expertise that span multiple modules or teams.",
|
|
166412
|
-
inputSchema: {
|
|
166413
|
-
prompt: {
|
|
166414
|
-
type: "string",
|
|
166415
|
-
description: "The engineering task or technical leadership challenge. Include full context, scope, and constraints."
|
|
166416
|
-
},
|
|
166417
|
-
params: {
|
|
166418
|
-
type: "object",
|
|
166419
|
-
properties: {
|
|
166420
|
-
teamId: {
|
|
166421
|
-
type: "string",
|
|
166422
|
-
description: "The team this engineer belongs to."
|
|
166423
|
-
},
|
|
166424
|
-
domain: {
|
|
166425
|
-
type: "string",
|
|
166426
|
-
description: 'The technical domain this staff engineer owns (e.g., "data-layer", "auth", "build-system").'
|
|
166427
|
-
}
|
|
166428
|
-
},
|
|
166429
|
-
required: []
|
|
166430
|
-
}
|
|
166431
|
-
},
|
|
166432
|
-
outputMode: "last_message",
|
|
166433
|
-
includeMessageHistory: true,
|
|
166434
|
-
toolNames: [
|
|
166435
|
-
"spawn_agents",
|
|
166436
|
-
"read_files",
|
|
166437
|
-
"read_subtree",
|
|
166438
|
-
"str_replace",
|
|
166439
|
-
"write_file",
|
|
166440
|
-
"propose_str_replace",
|
|
166441
|
-
"propose_write_file",
|
|
166442
|
-
"code_search",
|
|
166443
|
-
"find_files",
|
|
166444
|
-
"glob",
|
|
166445
|
-
"list_directory",
|
|
166446
|
-
"run_terminal_command",
|
|
166447
|
-
"write_todos",
|
|
166448
|
-
"set_output",
|
|
166449
|
-
"skill",
|
|
166450
|
-
"think_deeply"
|
|
166451
|
-
],
|
|
166452
|
-
spawnableAgents: [
|
|
166453
|
-
"file-picker",
|
|
168276
|
+
"commander",
|
|
168277
|
+
"commander-lite",
|
|
168278
|
+
"context-pruner",
|
|
166454
168279
|
"thinker",
|
|
168280
|
+
"thinker-best-of-n",
|
|
168281
|
+
"thinker-best-of-n-opus",
|
|
168282
|
+
"editor",
|
|
168283
|
+
"editor-glm",
|
|
168284
|
+
"editor-multi-prompt",
|
|
166455
168285
|
"code-reviewer",
|
|
166456
|
-
"code-
|
|
166457
|
-
"
|
|
166458
|
-
"
|
|
166459
|
-
"
|
|
166460
|
-
"
|
|
168286
|
+
"code-reviewer-multi-prompt",
|
|
168287
|
+
"opus-agent",
|
|
168288
|
+
"gpt-5-agent",
|
|
168289
|
+
"team-cto",
|
|
168290
|
+
"team-vp-engineering",
|
|
168291
|
+
"team-director",
|
|
168292
|
+
"coordinator",
|
|
168293
|
+
"team-fellow",
|
|
168294
|
+
"team-distinguished-engineer",
|
|
168295
|
+
"team-principal-engineer",
|
|
168296
|
+
"team-senior-staff-engineer",
|
|
168297
|
+
"team-staff-engineer",
|
|
168298
|
+
"team-manager",
|
|
168299
|
+
"team-sub-manager",
|
|
168300
|
+
"senior-engineer",
|
|
168301
|
+
"team-mid-level-engineer",
|
|
168302
|
+
"team-junior-engineer",
|
|
168303
|
+
"team-researcher",
|
|
168304
|
+
"team-scientist",
|
|
168305
|
+
"team-designer",
|
|
168306
|
+
"team-product-lead",
|
|
168307
|
+
"team-tester",
|
|
168308
|
+
"team-intern",
|
|
168309
|
+
"team-apprentice"
|
|
166461
168310
|
],
|
|
166462
168311
|
systemPrompt: `You are a Staff Engineer Agent within a LevelCode swarm team. You are a senior technical leader who drives complex engineering initiatives and sets technical direction within your domain.
|
|
166463
168312
|
|
|
@@ -166553,14 +168402,48 @@ You are a staff-level IC responsible for:
|
|
|
166553
168402
|
"set_output"
|
|
166554
168403
|
],
|
|
166555
168404
|
spawnableAgents: [
|
|
166556
|
-
"team-mid-level-engineer",
|
|
166557
|
-
"team-junior-engineer",
|
|
166558
168405
|
"file-picker",
|
|
168406
|
+
"file-picker-max",
|
|
166559
168407
|
"code-searcher",
|
|
166560
168408
|
"directory-lister",
|
|
166561
168409
|
"glob-matcher",
|
|
168410
|
+
"file-lister",
|
|
168411
|
+
"researcher-web",
|
|
168412
|
+
"researcher-docs",
|
|
166562
168413
|
"commander",
|
|
166563
|
-
"
|
|
168414
|
+
"commander-lite",
|
|
168415
|
+
"context-pruner",
|
|
168416
|
+
"thinker",
|
|
168417
|
+
"thinker-best-of-n",
|
|
168418
|
+
"thinker-best-of-n-opus",
|
|
168419
|
+
"editor",
|
|
168420
|
+
"editor-glm",
|
|
168421
|
+
"editor-multi-prompt",
|
|
168422
|
+
"code-reviewer",
|
|
168423
|
+
"code-reviewer-multi-prompt",
|
|
168424
|
+
"opus-agent",
|
|
168425
|
+
"gpt-5-agent",
|
|
168426
|
+
"team-cto",
|
|
168427
|
+
"team-vp-engineering",
|
|
168428
|
+
"team-director",
|
|
168429
|
+
"coordinator",
|
|
168430
|
+
"team-fellow",
|
|
168431
|
+
"team-distinguished-engineer",
|
|
168432
|
+
"team-principal-engineer",
|
|
168433
|
+
"team-senior-staff-engineer",
|
|
168434
|
+
"team-staff-engineer",
|
|
168435
|
+
"team-manager",
|
|
168436
|
+
"team-sub-manager",
|
|
168437
|
+
"senior-engineer",
|
|
168438
|
+
"team-mid-level-engineer",
|
|
168439
|
+
"team-junior-engineer",
|
|
168440
|
+
"team-researcher",
|
|
168441
|
+
"team-scientist",
|
|
168442
|
+
"team-designer",
|
|
168443
|
+
"team-product-lead",
|
|
168444
|
+
"team-tester",
|
|
168445
|
+
"team-intern",
|
|
168446
|
+
"team-apprentice"
|
|
166564
168447
|
],
|
|
166565
168448
|
systemPrompt: `You are a Sub-Manager Agent (Team Lead) within a LevelCode swarm team. You coordinate a small group of engineers on a focused workstream.
|
|
166566
168449
|
|
|
@@ -166655,11 +168538,47 @@ Provide engineers with all the context they need upfront to minimize back-and-fo
|
|
|
166655
168538
|
],
|
|
166656
168539
|
spawnableAgents: [
|
|
166657
168540
|
"file-picker",
|
|
168541
|
+
"file-picker-max",
|
|
166658
168542
|
"code-searcher",
|
|
166659
168543
|
"directory-lister",
|
|
166660
168544
|
"glob-matcher",
|
|
168545
|
+
"file-lister",
|
|
168546
|
+
"researcher-web",
|
|
168547
|
+
"researcher-docs",
|
|
166661
168548
|
"commander",
|
|
166662
|
-
"
|
|
168549
|
+
"commander-lite",
|
|
168550
|
+
"context-pruner",
|
|
168551
|
+
"thinker",
|
|
168552
|
+
"thinker-best-of-n",
|
|
168553
|
+
"thinker-best-of-n-opus",
|
|
168554
|
+
"editor",
|
|
168555
|
+
"editor-glm",
|
|
168556
|
+
"editor-multi-prompt",
|
|
168557
|
+
"code-reviewer",
|
|
168558
|
+
"code-reviewer-multi-prompt",
|
|
168559
|
+
"opus-agent",
|
|
168560
|
+
"gpt-5-agent",
|
|
168561
|
+
"team-cto",
|
|
168562
|
+
"team-vp-engineering",
|
|
168563
|
+
"team-director",
|
|
168564
|
+
"coordinator",
|
|
168565
|
+
"team-fellow",
|
|
168566
|
+
"team-distinguished-engineer",
|
|
168567
|
+
"team-principal-engineer",
|
|
168568
|
+
"team-senior-staff-engineer",
|
|
168569
|
+
"team-staff-engineer",
|
|
168570
|
+
"team-manager",
|
|
168571
|
+
"team-sub-manager",
|
|
168572
|
+
"senior-engineer",
|
|
168573
|
+
"team-mid-level-engineer",
|
|
168574
|
+
"team-junior-engineer",
|
|
168575
|
+
"team-researcher",
|
|
168576
|
+
"team-scientist",
|
|
168577
|
+
"team-designer",
|
|
168578
|
+
"team-product-lead",
|
|
168579
|
+
"team-tester",
|
|
168580
|
+
"team-intern",
|
|
168581
|
+
"team-apprentice"
|
|
166663
168582
|
],
|
|
166664
168583
|
systemPrompt: `You are a Tester Agent within a LevelCode swarm team. You are a testing specialist responsible for ensuring code quality through comprehensive, well-structured tests.
|
|
166665
168584
|
|
|
@@ -166764,16 +168683,48 @@ Be thorough. A test suite that only covers happy paths is incomplete. Think adve
|
|
|
166764
168683
|
"task_list"
|
|
166765
168684
|
],
|
|
166766
168685
|
spawnableAgents: [
|
|
166767
|
-
"team-manager",
|
|
166768
|
-
"senior-engineer",
|
|
166769
|
-
"commander",
|
|
166770
168686
|
"file-picker",
|
|
166771
|
-
"
|
|
168687
|
+
"file-picker-max",
|
|
166772
168688
|
"code-searcher",
|
|
166773
168689
|
"directory-lister",
|
|
168690
|
+
"glob-matcher",
|
|
168691
|
+
"file-lister",
|
|
166774
168692
|
"researcher-web",
|
|
166775
168693
|
"researcher-docs",
|
|
166776
|
-
"
|
|
168694
|
+
"commander",
|
|
168695
|
+
"commander-lite",
|
|
168696
|
+
"context-pruner",
|
|
168697
|
+
"thinker",
|
|
168698
|
+
"thinker-best-of-n",
|
|
168699
|
+
"thinker-best-of-n-opus",
|
|
168700
|
+
"editor",
|
|
168701
|
+
"editor-glm",
|
|
168702
|
+
"editor-multi-prompt",
|
|
168703
|
+
"code-reviewer",
|
|
168704
|
+
"code-reviewer-multi-prompt",
|
|
168705
|
+
"opus-agent",
|
|
168706
|
+
"gpt-5-agent",
|
|
168707
|
+
"team-cto",
|
|
168708
|
+
"team-vp-engineering",
|
|
168709
|
+
"team-director",
|
|
168710
|
+
"coordinator",
|
|
168711
|
+
"team-fellow",
|
|
168712
|
+
"team-distinguished-engineer",
|
|
168713
|
+
"team-principal-engineer",
|
|
168714
|
+
"team-senior-staff-engineer",
|
|
168715
|
+
"team-staff-engineer",
|
|
168716
|
+
"team-manager",
|
|
168717
|
+
"team-sub-manager",
|
|
168718
|
+
"senior-engineer",
|
|
168719
|
+
"team-mid-level-engineer",
|
|
168720
|
+
"team-junior-engineer",
|
|
168721
|
+
"team-researcher",
|
|
168722
|
+
"team-scientist",
|
|
168723
|
+
"team-designer",
|
|
168724
|
+
"team-product-lead",
|
|
168725
|
+
"team-tester",
|
|
168726
|
+
"team-intern",
|
|
168727
|
+
"team-apprentice"
|
|
166777
168728
|
],
|
|
166778
168729
|
systemPrompt: `You are a VP of Engineering Agent within a LevelCode swarm team. You are responsible for engineering operations, delivery execution, and organizational effectiveness.
|
|
166779
168730
|
|
|
@@ -195163,50 +197114,7 @@ var import_react31 = __toESM(require_react(), 1);
|
|
|
195163
197114
|
|
|
195164
197115
|
// src/hooks/use-theme.tsx
|
|
195165
197116
|
init_esm();
|
|
195166
|
-
|
|
195167
|
-
// src/utils/env.ts
|
|
195168
|
-
init_env_process();
|
|
195169
|
-
var getCliEnv = () => ({
|
|
195170
|
-
...getBaseEnv(),
|
|
195171
|
-
TERM: process.env.TERM,
|
|
195172
|
-
TMUX: process.env.TMUX,
|
|
195173
|
-
STY: process.env.STY,
|
|
195174
|
-
SSH_CLIENT: process.env.SSH_CLIENT,
|
|
195175
|
-
SSH_TTY: process.env.SSH_TTY,
|
|
195176
|
-
SSH_CONNECTION: process.env.SSH_CONNECTION,
|
|
195177
|
-
KITTY_WINDOW_ID: process.env.KITTY_WINDOW_ID,
|
|
195178
|
-
SIXEL_SUPPORT: process.env.SIXEL_SUPPORT,
|
|
195179
|
-
ZED_NODE_ENV: process.env.ZED_NODE_ENV,
|
|
195180
|
-
ZED_TERM: process.env.ZED_TERM,
|
|
195181
|
-
ZED_SHELL: process.env.ZED_SHELL,
|
|
195182
|
-
COLORTERM: process.env.COLORTERM,
|
|
195183
|
-
VSCODE_THEME_KIND: process.env.VSCODE_THEME_KIND,
|
|
195184
|
-
VSCODE_COLOR_THEME_KIND: process.env.VSCODE_COLOR_THEME_KIND,
|
|
195185
|
-
VSCODE_GIT_IPC_HANDLE: process.env.VSCODE_GIT_IPC_HANDLE,
|
|
195186
|
-
VSCODE_PID: process.env.VSCODE_PID,
|
|
195187
|
-
VSCODE_CWD: process.env.VSCODE_CWD,
|
|
195188
|
-
VSCODE_NLS_CONFIG: process.env.VSCODE_NLS_CONFIG,
|
|
195189
|
-
CURSOR_PORT: process.env.CURSOR_PORT,
|
|
195190
|
-
CURSOR: process.env.CURSOR,
|
|
195191
|
-
JETBRAINS_REMOTE_RUN: process.env.JETBRAINS_REMOTE_RUN,
|
|
195192
|
-
IDEA_INITIAL_DIRECTORY: process.env.IDEA_INITIAL_DIRECTORY,
|
|
195193
|
-
IDE_CONFIG_DIR: process.env.IDE_CONFIG_DIR,
|
|
195194
|
-
JB_IDE_CONFIG_DIR: process.env.JB_IDE_CONFIG_DIR,
|
|
195195
|
-
VISUAL: process.env.VISUAL,
|
|
195196
|
-
EDITOR: process.env.EDITOR,
|
|
195197
|
-
LEVELCODE_CLI_EDITOR: process.env.LEVELCODE_CLI_EDITOR,
|
|
195198
|
-
LEVELCODE_EDITOR: process.env.LEVELCODE_EDITOR,
|
|
195199
|
-
OPEN_TUI_THEME: process.env.OPEN_TUI_THEME,
|
|
195200
|
-
OPENTUI_THEME: process.env.OPENTUI_THEME,
|
|
195201
|
-
LEVELCODE_IS_BINARY: process.env.LEVELCODE_IS_BINARY,
|
|
195202
|
-
LEVELCODE_CLI_VERSION: process.env.LEVELCODE_CLI_VERSION,
|
|
195203
|
-
LEVELCODE_CLI_TARGET: process.env.LEVELCODE_CLI_TARGET,
|
|
195204
|
-
LEVELCODE_RG_PATH: process.env.LEVELCODE_RG_PATH,
|
|
195205
|
-
LEVELCODE_SCROLL_MULTIPLIER: process.env.LEVELCODE_SCROLL_MULTIPLIER,
|
|
195206
|
-
LEVELCODE_PERF_TEST: process.env.LEVELCODE_PERF_TEST,
|
|
195207
|
-
LEVELCODE_ENABLE_SWARMS: process.env.LEVELCODE_ENABLE_SWARMS
|
|
195208
|
-
});
|
|
195209
|
-
var getSystemProcessEnv2 = () => process.env;
|
|
197117
|
+
init_env3();
|
|
195210
197118
|
|
|
195211
197119
|
// src/utils/theme-config.ts
|
|
195212
197120
|
var defaultThemeConfig = {
|
|
@@ -195248,6 +197156,7 @@ var buildTheme = (baseTheme, mode, customColors, plugins) => {
|
|
|
195248
197156
|
};
|
|
195249
197157
|
|
|
195250
197158
|
// src/utils/theme-system.ts
|
|
197159
|
+
init_env3();
|
|
195251
197160
|
import { existsSync as existsSync12, readFileSync as readFileSync6, readdirSync as readdirSync5, statSync as statSync2, watch } from "fs";
|
|
195252
197161
|
import { homedir as homedir7 } from "os";
|
|
195253
197162
|
import { dirname as dirname10, join as join11 } from "path";
|
|
@@ -202810,9 +204719,10 @@ ${commandsContext}
|
|
|
202810
204719
|
}
|
|
202811
204720
|
|
|
202812
204721
|
// src/utils/clipboard.ts
|
|
204722
|
+
init_env3();
|
|
204723
|
+
init_logger2();
|
|
202813
204724
|
import { closeSync, openSync, writeSync } from "fs";
|
|
202814
204725
|
import { createRequire } from "module";
|
|
202815
|
-
init_logger2();
|
|
202816
204726
|
var require2 = createRequire(import.meta.url);
|
|
202817
204727
|
var currentMessage = null;
|
|
202818
204728
|
var listeners2 = new Set;
|
|
@@ -202949,6 +204859,7 @@ function tryCopyViaOsc52(text2) {
|
|
|
202949
204859
|
}
|
|
202950
204860
|
|
|
202951
204861
|
// src/commands/router.ts
|
|
204862
|
+
init_env3();
|
|
202952
204863
|
init_pending_attachments();
|
|
202953
204864
|
function runBashCommand(command) {
|
|
202954
204865
|
const {
|
|
@@ -206691,6 +208602,7 @@ var ImageThumbnail = import_react63.memo(({
|
|
|
206691
208602
|
});
|
|
206692
208603
|
|
|
206693
208604
|
// src/utils/terminal-images.ts
|
|
208605
|
+
init_env3();
|
|
206694
208606
|
var cachedProtocol = null;
|
|
206695
208607
|
function detectTerminalImageSupport(env3 = getCliEnv()) {
|
|
206696
208608
|
if (cachedProtocol !== null) {
|
|
@@ -210571,6 +212483,7 @@ var import_react86 = __toESM(require_react(), 1);
|
|
|
210571
212483
|
|
|
210572
212484
|
// src/hooks/use-why-did-you-update.ts
|
|
210573
212485
|
var import_react84 = __toESM(require_react(), 1);
|
|
212486
|
+
init_env3();
|
|
210574
212487
|
init_logger2();
|
|
210575
212488
|
function useWhyDidYouUpdateById(componentName, id, props, options2 = {}) {
|
|
210576
212489
|
const env3 = getCliEnv();
|
|
@@ -210611,6 +212524,9 @@ function useWhyDidYouUpdateById(componentName, id, props, options2 = {}) {
|
|
|
210611
212524
|
});
|
|
210612
212525
|
}
|
|
210613
212526
|
|
|
212527
|
+
// src/components/blocks/agent-branch-item.tsx
|
|
212528
|
+
init_env3();
|
|
212529
|
+
|
|
210614
212530
|
// src/components/collapse-button.tsx
|
|
210615
212531
|
var import_react85 = __toESM(require_react(), 1);
|
|
210616
212532
|
var CollapseButton = import_react85.memo(({ onClick, style }) => {
|
|
@@ -222778,9 +224694,10 @@ function getAgentStatusInfo(status, theme) {
|
|
|
222778
224694
|
}
|
|
222779
224695
|
|
|
222780
224696
|
// src/utils/path-helpers.ts
|
|
224697
|
+
init_env3();
|
|
224698
|
+
init_project_files();
|
|
222781
224699
|
import os17 from "os";
|
|
222782
224700
|
import path42 from "path";
|
|
222783
|
-
init_project_files();
|
|
222784
224701
|
function formatCwd(cwd, env3) {
|
|
222785
224702
|
if (!cwd)
|
|
222786
224703
|
return "";
|
|
@@ -223370,13 +225287,15 @@ init_chat_store();
|
|
|
223370
225287
|
init_old_constants();
|
|
223371
225288
|
init_src();
|
|
223372
225289
|
init_auth3();
|
|
225290
|
+
init_env3();
|
|
223373
225291
|
init_logger2();
|
|
223374
225292
|
|
|
223375
225293
|
// src/native/ripgrep.ts
|
|
223376
225294
|
init_src();
|
|
225295
|
+
init_env3();
|
|
225296
|
+
init_logger2();
|
|
223377
225297
|
import path43 from "path";
|
|
223378
225298
|
var {spawnSync: spawnSync2 } = globalThis.Bun;
|
|
223379
|
-
init_logger2();
|
|
223380
225299
|
var getRipgrepPath = async () => {
|
|
223381
225300
|
const env3 = getCliEnv();
|
|
223382
225301
|
if (!env3.LEVELCODE_IS_BINARY) {
|
|
@@ -227693,9 +229612,10 @@ var TerminalLink = ({
|
|
|
227693
229612
|
};
|
|
227694
229613
|
|
|
227695
229614
|
// src/utils/open-file.ts
|
|
229615
|
+
init_env3();
|
|
229616
|
+
init_logger2();
|
|
227696
229617
|
import { spawn as spawn4 } from "child_process";
|
|
227697
229618
|
import os18 from "os";
|
|
227698
|
-
init_logger2();
|
|
227699
229619
|
var isWindows = os18.platform() === "win32";
|
|
227700
229620
|
var isMac = os18.platform() === "darwin";
|
|
227701
229621
|
var escapeForShell = (value) => `'${value.replace(/'/g, `'\\''`)}'`;
|
|
@@ -228002,6 +229922,7 @@ var ValidationErrorPopover = ({
|
|
|
228002
229922
|
};
|
|
228003
229923
|
|
|
228004
229924
|
// src/components/message-block.tsx
|
|
229925
|
+
init_env3();
|
|
228005
229926
|
var MessageAttachments = import_react113.memo(({
|
|
228006
229927
|
imageAttachments,
|
|
228007
229928
|
textAttachments
|
|
@@ -228297,6 +230218,7 @@ var useMessageBlockStore = create()(immer2((set3) => ({
|
|
|
228297
230218
|
})));
|
|
228298
230219
|
|
|
228299
230220
|
// src/components/message-with-agents.tsx
|
|
230221
|
+
init_env3();
|
|
228300
230222
|
var AgentChildrenGrid = import_react114.memo(({ agentChildren, depth, availableWidth }) => {
|
|
228301
230223
|
const theme = useMessageBlockStore((state) => state.context.theme);
|
|
228302
230224
|
const getItemKey = import_react114.useCallback((agent) => agent.id, []);
|
|
@@ -230456,6 +232378,7 @@ init_project_files();
|
|
|
230456
232378
|
init_analytics2();
|
|
230457
232379
|
|
|
230458
232380
|
// src/utils/terminal-color-detection.ts
|
|
232381
|
+
init_env3();
|
|
230459
232382
|
import { openSync as openSync2, closeSync as closeSync2, writeSync as writeSync2, constants as constants10 } from "fs";
|
|
230460
232383
|
var OSC_QUERY_TIMEOUT_MS = 500;
|
|
230461
232384
|
var GLOBAL_OSC_TIMEOUT_MS = 2000;
|
|
@@ -231312,6 +233235,7 @@ function* range2(start2, stop2, step = 1) {
|
|
|
231312
233235
|
}
|
|
231313
233236
|
|
|
231314
233237
|
// src/utils/chat-scroll-accel.ts
|
|
233238
|
+
init_env3();
|
|
231315
233239
|
var ENVIRONMENT_TYPE_VARS = [
|
|
231316
233240
|
"TERM_PROGRAM",
|
|
231317
233241
|
"TERMINAL_EMULATOR",
|
|
@@ -233681,6 +235605,7 @@ var getStatusIndicatorState = ({
|
|
|
233681
235605
|
};
|
|
233682
235606
|
|
|
233683
235607
|
// src/utils/terminal-title.ts
|
|
235608
|
+
init_env3();
|
|
233684
235609
|
import { closeSync as closeSync3, constants as constants11, openSync as openSync3, writeSync as writeSync3 } from "fs";
|
|
233685
235610
|
var MAX_TITLE_LENGTH = 60;
|
|
233686
235611
|
var TITLE_PREFIX = "LevelCode: ";
|
|
@@ -237393,6 +239318,7 @@ init_project_files();
|
|
|
237393
239318
|
init_analytics2();
|
|
237394
239319
|
init_src();
|
|
237395
239320
|
init_auth3();
|
|
239321
|
+
init_env3();
|
|
237396
239322
|
init_logger2();
|
|
237397
239323
|
|
|
237398
239324
|
// src/utils/project-picker.ts
|