@levelcode/cli 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +450 -16
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -75883,6 +75883,7 @@ var init_junior_engineer = __esm(() => {
75883
75883
  outputMode: "last_message",
75884
75884
  includeMessageHistory: true,
75885
75885
  toolNames: [
75886
+ "spawn_agents",
75886
75887
  "read_files",
75887
75888
  "read_subtree",
75888
75889
  "str_replace",
@@ -158587,7 +158588,14 @@ var init_bundled_agents_generated = __esm(() => {
158587
158588
  "propose_str_replace",
158588
158589
  "propose_write_file",
158589
158590
  "skill",
158590
- "set_output"
158591
+ "set_output",
158592
+ "team_create",
158593
+ "team_delete",
158594
+ "send_message",
158595
+ "task_create",
158596
+ "task_get",
158597
+ "task_update",
158598
+ "task_list"
158591
158599
  ],
158592
158600
  spawnableAgents: [
158593
158601
  "file-picker",
@@ -158602,7 +158610,17 @@ var init_bundled_agents_generated = __esm(() => {
158602
158610
  "gpt-5-agent",
158603
158611
  "editor",
158604
158612
  "code-reviewer",
158605
- "context-pruner"
158613
+ "context-pruner",
158614
+ "coordinator",
158615
+ "team-manager",
158616
+ "senior-engineer",
158617
+ "team-mid-level-engineer",
158618
+ "team-junior-engineer",
158619
+ "team-researcher",
158620
+ "team-designer",
158621
+ "team-product-lead",
158622
+ "team-tester",
158623
+ "team-scientist"
158606
158624
  ],
158607
158625
  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.
158608
158626
 
@@ -158665,6 +158683,43 @@ The user can use the "/usage" command to see how many credits they have used and
158665
158683
 
158666
158684
  For other questions, you can direct them to levelcode.vercel.app, or especially levelcode.vercel.app/docs for detailed information about the product.
158667
158685
 
158686
+ # Agent Swarms / Teams
158687
+
158688
+ LevelCode has a built-in agent swarms system for organizing multiple agents into coordinated teams. You have full access to these tools:
158689
+
158690
+ **Creating and Managing Teams:**
158691
+ - Use the \`team_create\` tool to create a new team: \`team_create({ team_name: "my-project" })\`
158692
+ - Use the \`team_delete\` tool to delete a team when done
158693
+ - Teams are stored at ~/.config/levelcode/teams/
158694
+
158695
+ **Task Management:**
158696
+ - Use \`task_create\` to create tasks for team members
158697
+ - Use \`task_list\` to see all tasks and their status
158698
+ - Use \`task_update\` to update task status, assign owners, set dependencies
158699
+ - Use \`task_get\` to read full task details
158700
+
158701
+ **Communication:**
158702
+ - Use \`send_message\` to send messages between team members (DM, broadcast, shutdown requests)
158703
+
158704
+ **Spawning Team Agents:**
158705
+ When spawning agents with \`spawn_agents\`, you can assign them to a team:
158706
+ \`\`\`
158707
+ spawn_agents([{
158708
+ agent: "team-manager",
158709
+ prompt: "Manage the frontend tasks",
158710
+ team_name: "my-project",
158711
+ team_role: "manager"
158712
+ }])
158713
+ \`\`\`
158714
+
158715
+ **Available team roles:** coordinator, manager, senior-engineer, mid-level-engineer, junior-engineer, researcher, designer, product-lead, tester, scientist, and more.
158716
+
158717
+ **Development Phases:** Teams progress through phases: planning \u2192 pre-alpha \u2192 alpha \u2192 beta \u2192 production \u2192 mature.
158718
+
158719
+ **Slash Commands:** Users can use /team:create, /team:delete, /team:status, /team:phase, /team:enable, /team:disable, /team:members to manage teams.
158720
+
158721
+ When the user asks about teams, swarms, or multi-agent collaboration, use these tools directly. Do NOT say the feature is unavailable or needs external setup.
158722
+
158668
158723
  # Other response guidelines
158669
158724
 
158670
158725
  - Your goal is to produce the highest quality results, even if it comes at the cost of more credits used.
@@ -158783,7 +158838,14 @@ After completing the user request, summarize your changes in a sentence or a few
158783
158838
  "propose_write_file",
158784
158839
  "ask_user",
158785
158840
  "skill",
158786
- "set_output"
158841
+ "set_output",
158842
+ "team_create",
158843
+ "team_delete",
158844
+ "send_message",
158845
+ "task_create",
158846
+ "task_get",
158847
+ "task_update",
158848
+ "task_list"
158787
158849
  ],
158788
158850
  spawnableAgents: [
158789
158851
  "file-picker",
@@ -158793,7 +158855,17 @@ After completing the user request, summarize your changes in a sentence or a few
158793
158855
  "researcher-web",
158794
158856
  "researcher-docs",
158795
158857
  "commander",
158796
- "context-pruner"
158858
+ "context-pruner",
158859
+ "coordinator",
158860
+ "team-manager",
158861
+ "senior-engineer",
158862
+ "team-mid-level-engineer",
158863
+ "team-junior-engineer",
158864
+ "team-researcher",
158865
+ "team-designer",
158866
+ "team-product-lead",
158867
+ "team-tester",
158868
+ "team-scientist"
158797
158869
  ],
158798
158870
  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.
158799
158871
 
@@ -158854,6 +158926,43 @@ The user can use the "/usage" command to see how many credits they have used and
158854
158926
 
158855
158927
  For other questions, you can direct them to levelcode.vercel.app, or especially levelcode.vercel.app/docs for detailed information about the product.
158856
158928
 
158929
+ # Agent Swarms / Teams
158930
+
158931
+ LevelCode has a built-in agent swarms system for organizing multiple agents into coordinated teams. You have full access to these tools:
158932
+
158933
+ **Creating and Managing Teams:**
158934
+ - Use the \`team_create\` tool to create a new team: \`team_create({ team_name: "my-project" })\`
158935
+ - Use the \`team_delete\` tool to delete a team when done
158936
+ - Teams are stored at ~/.config/levelcode/teams/
158937
+
158938
+ **Task Management:**
158939
+ - Use \`task_create\` to create tasks for team members
158940
+ - Use \`task_list\` to see all tasks and their status
158941
+ - Use \`task_update\` to update task status, assign owners, set dependencies
158942
+ - Use \`task_get\` to read full task details
158943
+
158944
+ **Communication:**
158945
+ - Use \`send_message\` to send messages between team members (DM, broadcast, shutdown requests)
158946
+
158947
+ **Spawning Team Agents:**
158948
+ When spawning agents with \`spawn_agents\`, you can assign them to a team:
158949
+ \`\`\`
158950
+ spawn_agents([{
158951
+ agent: "team-manager",
158952
+ prompt: "Manage the frontend tasks",
158953
+ team_name: "my-project",
158954
+ team_role: "manager"
158955
+ }])
158956
+ \`\`\`
158957
+
158958
+ **Available team roles:** coordinator, manager, senior-engineer, mid-level-engineer, junior-engineer, researcher, designer, product-lead, tester, scientist, and more.
158959
+
158960
+ **Development Phases:** Teams progress through phases: planning \u2192 pre-alpha \u2192 alpha \u2192 beta \u2192 production \u2192 mature.
158961
+
158962
+ **Slash Commands:** Users can use /team:create, /team:delete, /team:status, /team:phase, /team:enable, /team:disable, /team:members to manage teams.
158963
+
158964
+ When the user asks about teams, swarms, or multi-agent collaboration, use these tools directly. Do NOT say the feature is unavailable or needs external setup.
158965
+
158857
158966
  # Other response guidelines
158858
158967
 
158859
158968
  - Prioritize speed: quickly getting the user request done is your first priority. Do not call any unnecessary tools. Spawn more agents in parallel to speed up the process. Be extremely concise in your responses. Use 2 words where you would have used 2 sentences.
@@ -158969,7 +159078,14 @@ After getting context on the user request from the codebase or from research, us
158969
159078
  "propose_write_file",
158970
159079
  "ask_user",
158971
159080
  "skill",
158972
- "set_output"
159081
+ "set_output",
159082
+ "team_create",
159083
+ "team_delete",
159084
+ "send_message",
159085
+ "task_create",
159086
+ "task_get",
159087
+ "task_update",
159088
+ "task_list"
158973
159089
  ],
158974
159090
  spawnableAgents: [
158975
159091
  "file-picker",
@@ -158979,7 +159095,17 @@ After getting context on the user request from the codebase or from research, us
158979
159095
  "researcher-web",
158980
159096
  "researcher-docs",
158981
159097
  "commander",
158982
- "context-pruner"
159098
+ "context-pruner",
159099
+ "coordinator",
159100
+ "team-manager",
159101
+ "senior-engineer",
159102
+ "team-mid-level-engineer",
159103
+ "team-junior-engineer",
159104
+ "team-researcher",
159105
+ "team-designer",
159106
+ "team-product-lead",
159107
+ "team-tester",
159108
+ "team-scientist"
158983
159109
  ],
158984
159110
  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.
158985
159111
 
@@ -159040,6 +159166,43 @@ The user can use the "/usage" command to see how many credits they have used and
159040
159166
 
159041
159167
  For other questions, you can direct them to levelcode.vercel.app, or especially levelcode.vercel.app/docs for detailed information about the product.
159042
159168
 
159169
+ # Agent Swarms / Teams
159170
+
159171
+ LevelCode has a built-in agent swarms system for organizing multiple agents into coordinated teams. You have full access to these tools:
159172
+
159173
+ **Creating and Managing Teams:**
159174
+ - Use the \`team_create\` tool to create a new team: \`team_create({ team_name: "my-project" })\`
159175
+ - Use the \`team_delete\` tool to delete a team when done
159176
+ - Teams are stored at ~/.config/levelcode/teams/
159177
+
159178
+ **Task Management:**
159179
+ - Use \`task_create\` to create tasks for team members
159180
+ - Use \`task_list\` to see all tasks and their status
159181
+ - Use \`task_update\` to update task status, assign owners, set dependencies
159182
+ - Use \`task_get\` to read full task details
159183
+
159184
+ **Communication:**
159185
+ - Use \`send_message\` to send messages between team members (DM, broadcast, shutdown requests)
159186
+
159187
+ **Spawning Team Agents:**
159188
+ When spawning agents with \`spawn_agents\`, you can assign them to a team:
159189
+ \`\`\`
159190
+ spawn_agents([{
159191
+ agent: "team-manager",
159192
+ prompt: "Manage the frontend tasks",
159193
+ team_name: "my-project",
159194
+ team_role: "manager"
159195
+ }])
159196
+ \`\`\`
159197
+
159198
+ **Available team roles:** coordinator, manager, senior-engineer, mid-level-engineer, junior-engineer, researcher, designer, product-lead, tester, scientist, and more.
159199
+
159200
+ **Development Phases:** Teams progress through phases: planning \u2192 pre-alpha \u2192 alpha \u2192 beta \u2192 production \u2192 mature.
159201
+
159202
+ **Slash Commands:** Users can use /team:create, /team:delete, /team:status, /team:phase, /team:enable, /team:disable, /team:members to manage teams.
159203
+
159204
+ When the user asks about teams, swarms, or multi-agent collaboration, use these tools directly. Do NOT say the feature is unavailable or needs external setup.
159205
+
159043
159206
  # Other response guidelines
159044
159207
 
159045
159208
  - Prioritize speed: quickly getting the user request done is your first priority. Do not call any unnecessary tools. Spawn more agents in parallel to speed up the process. Be extremely concise in your responses. Use 2 words where you would have used 2 sentences.
@@ -159156,7 +159319,14 @@ After getting context on the user request from the codebase or from research, us
159156
159319
  "propose_write_file",
159157
159320
  "ask_user",
159158
159321
  "skill",
159159
- "set_output"
159322
+ "set_output",
159323
+ "team_create",
159324
+ "team_delete",
159325
+ "send_message",
159326
+ "task_create",
159327
+ "task_get",
159328
+ "task_update",
159329
+ "task_list"
159160
159330
  ],
159161
159331
  spawnableAgents: [
159162
159332
  "file-picker",
@@ -159167,7 +159337,17 @@ After getting context on the user request from the codebase or from research, us
159167
159337
  "researcher-docs",
159168
159338
  "commander-lite",
159169
159339
  "editor-glm",
159170
- "context-pruner"
159340
+ "context-pruner",
159341
+ "coordinator",
159342
+ "team-manager",
159343
+ "senior-engineer",
159344
+ "team-mid-level-engineer",
159345
+ "team-junior-engineer",
159346
+ "team-researcher",
159347
+ "team-designer",
159348
+ "team-product-lead",
159349
+ "team-tester",
159350
+ "team-scientist"
159171
159351
  ],
159172
159352
  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.
159173
159353
 
@@ -159229,6 +159409,43 @@ The user can use the "/usage" command to see how many credits they have used and
159229
159409
 
159230
159410
  For other questions, you can direct them to levelcode.vercel.app, or especially levelcode.vercel.app/docs for detailed information about the product.
159231
159411
 
159412
+ # Agent Swarms / Teams
159413
+
159414
+ LevelCode has a built-in agent swarms system for organizing multiple agents into coordinated teams. You have full access to these tools:
159415
+
159416
+ **Creating and Managing Teams:**
159417
+ - Use the \`team_create\` tool to create a new team: \`team_create({ team_name: "my-project" })\`
159418
+ - Use the \`team_delete\` tool to delete a team when done
159419
+ - Teams are stored at ~/.config/levelcode/teams/
159420
+
159421
+ **Task Management:**
159422
+ - Use \`task_create\` to create tasks for team members
159423
+ - Use \`task_list\` to see all tasks and their status
159424
+ - Use \`task_update\` to update task status, assign owners, set dependencies
159425
+ - Use \`task_get\` to read full task details
159426
+
159427
+ **Communication:**
159428
+ - Use \`send_message\` to send messages between team members (DM, broadcast, shutdown requests)
159429
+
159430
+ **Spawning Team Agents:**
159431
+ When spawning agents with \`spawn_agents\`, you can assign them to a team:
159432
+ \`\`\`
159433
+ spawn_agents([{
159434
+ agent: "team-manager",
159435
+ prompt: "Manage the frontend tasks",
159436
+ team_name: "my-project",
159437
+ team_role: "manager"
159438
+ }])
159439
+ \`\`\`
159440
+
159441
+ **Available team roles:** coordinator, manager, senior-engineer, mid-level-engineer, junior-engineer, researcher, designer, product-lead, tester, scientist, and more.
159442
+
159443
+ **Development Phases:** Teams progress through phases: planning \u2192 pre-alpha \u2192 alpha \u2192 beta \u2192 production \u2192 mature.
159444
+
159445
+ **Slash Commands:** Users can use /team:create, /team:delete, /team:status, /team:phase, /team:enable, /team:disable, /team:members to manage teams.
159446
+
159447
+ When the user asks about teams, swarms, or multi-agent collaboration, use these tools directly. Do NOT say the feature is unavailable or needs external setup.
159448
+
159232
159449
  # Other response guidelines
159233
159450
 
159234
159451
  - Your goal is to produce the highest quality results, even if it comes at the cost of more credits used.
@@ -159347,7 +159564,14 @@ At the end of your turn, use the suggest_followups tool to suggest around 3 next
159347
159564
  "propose_str_replace",
159348
159565
  "propose_write_file",
159349
159566
  "skill",
159350
- "set_output"
159567
+ "set_output",
159568
+ "team_create",
159569
+ "team_delete",
159570
+ "send_message",
159571
+ "task_create",
159572
+ "task_get",
159573
+ "task_update",
159574
+ "task_list"
159351
159575
  ],
159352
159576
  spawnableAgents: [
159353
159577
  "file-picker-max",
@@ -159362,7 +159586,17 @@ At the end of your turn, use the suggest_followups tool to suggest around 3 next
159362
159586
  "thinker-best-of-n-opus",
159363
159587
  "editor-multi-prompt",
159364
159588
  "code-reviewer-multi-prompt",
159365
- "context-pruner"
159589
+ "context-pruner",
159590
+ "coordinator",
159591
+ "team-manager",
159592
+ "senior-engineer",
159593
+ "team-mid-level-engineer",
159594
+ "team-junior-engineer",
159595
+ "team-researcher",
159596
+ "team-designer",
159597
+ "team-product-lead",
159598
+ "team-tester",
159599
+ "team-scientist"
159366
159600
  ],
159367
159601
  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.
159368
159602
 
@@ -159425,6 +159659,43 @@ The user can use the "/usage" command to see how many credits they have used and
159425
159659
 
159426
159660
  For other questions, you can direct them to levelcode.vercel.app, or especially levelcode.vercel.app/docs for detailed information about the product.
159427
159661
 
159662
+ # Agent Swarms / Teams
159663
+
159664
+ LevelCode has a built-in agent swarms system for organizing multiple agents into coordinated teams. You have full access to these tools:
159665
+
159666
+ **Creating and Managing Teams:**
159667
+ - Use the \`team_create\` tool to create a new team: \`team_create({ team_name: "my-project" })\`
159668
+ - Use the \`team_delete\` tool to delete a team when done
159669
+ - Teams are stored at ~/.config/levelcode/teams/
159670
+
159671
+ **Task Management:**
159672
+ - Use \`task_create\` to create tasks for team members
159673
+ - Use \`task_list\` to see all tasks and their status
159674
+ - Use \`task_update\` to update task status, assign owners, set dependencies
159675
+ - Use \`task_get\` to read full task details
159676
+
159677
+ **Communication:**
159678
+ - Use \`send_message\` to send messages between team members (DM, broadcast, shutdown requests)
159679
+
159680
+ **Spawning Team Agents:**
159681
+ When spawning agents with \`spawn_agents\`, you can assign them to a team:
159682
+ \`\`\`
159683
+ spawn_agents([{
159684
+ agent: "team-manager",
159685
+ prompt: "Manage the frontend tasks",
159686
+ team_name: "my-project",
159687
+ team_role: "manager"
159688
+ }])
159689
+ \`\`\`
159690
+
159691
+ **Available team roles:** coordinator, manager, senior-engineer, mid-level-engineer, junior-engineer, researcher, designer, product-lead, tester, scientist, and more.
159692
+
159693
+ **Development Phases:** Teams progress through phases: planning \u2192 pre-alpha \u2192 alpha \u2192 beta \u2192 production \u2192 mature.
159694
+
159695
+ **Slash Commands:** Users can use /team:create, /team:delete, /team:status, /team:phase, /team:enable, /team:disable, /team:members to manage teams.
159696
+
159697
+ When the user asks about teams, swarms, or multi-agent collaboration, use these tools directly. Do NOT say the feature is unavailable or needs external setup.
159698
+
159428
159699
  # Other response guidelines
159429
159700
 
159430
159701
  - Your goal is to produce the highest quality results, even if it comes at the cost of more credits used.
@@ -159548,7 +159819,14 @@ After completing the user request, summarize your changes in a sentence or a few
159548
159819
  "propose_write_file",
159549
159820
  "ask_user",
159550
159821
  "skill",
159551
- "set_output"
159822
+ "set_output",
159823
+ "team_create",
159824
+ "team_delete",
159825
+ "send_message",
159826
+ "task_create",
159827
+ "task_get",
159828
+ "task_update",
159829
+ "task_list"
159552
159830
  ],
159553
159831
  spawnableAgents: [
159554
159832
  "file-picker-max",
@@ -159563,7 +159841,17 @@ After completing the user request, summarize your changes in a sentence or a few
159563
159841
  "thinker-best-of-n-opus",
159564
159842
  "editor-multi-prompt",
159565
159843
  "code-reviewer-multi-prompt",
159566
- "context-pruner"
159844
+ "context-pruner",
159845
+ "coordinator",
159846
+ "team-manager",
159847
+ "senior-engineer",
159848
+ "team-mid-level-engineer",
159849
+ "team-junior-engineer",
159850
+ "team-researcher",
159851
+ "team-designer",
159852
+ "team-product-lead",
159853
+ "team-tester",
159854
+ "team-scientist"
159567
159855
  ],
159568
159856
  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.
159569
159857
 
@@ -159627,6 +159915,43 @@ The user can use the "/usage" command to see how many credits they have used and
159627
159915
 
159628
159916
  For other questions, you can direct them to levelcode.vercel.app, or especially levelcode.vercel.app/docs for detailed information about the product.
159629
159917
 
159918
+ # Agent Swarms / Teams
159919
+
159920
+ LevelCode has a built-in agent swarms system for organizing multiple agents into coordinated teams. You have full access to these tools:
159921
+
159922
+ **Creating and Managing Teams:**
159923
+ - Use the \`team_create\` tool to create a new team: \`team_create({ team_name: "my-project" })\`
159924
+ - Use the \`team_delete\` tool to delete a team when done
159925
+ - Teams are stored at ~/.config/levelcode/teams/
159926
+
159927
+ **Task Management:**
159928
+ - Use \`task_create\` to create tasks for team members
159929
+ - Use \`task_list\` to see all tasks and their status
159930
+ - Use \`task_update\` to update task status, assign owners, set dependencies
159931
+ - Use \`task_get\` to read full task details
159932
+
159933
+ **Communication:**
159934
+ - Use \`send_message\` to send messages between team members (DM, broadcast, shutdown requests)
159935
+
159936
+ **Spawning Team Agents:**
159937
+ When spawning agents with \`spawn_agents\`, you can assign them to a team:
159938
+ \`\`\`
159939
+ spawn_agents([{
159940
+ agent: "team-manager",
159941
+ prompt: "Manage the frontend tasks",
159942
+ team_name: "my-project",
159943
+ team_role: "manager"
159944
+ }])
159945
+ \`\`\`
159946
+
159947
+ **Available team roles:** coordinator, manager, senior-engineer, mid-level-engineer, junior-engineer, researcher, designer, product-lead, tester, scientist, and more.
159948
+
159949
+ **Development Phases:** Teams progress through phases: planning \u2192 pre-alpha \u2192 alpha \u2192 beta \u2192 production \u2192 mature.
159950
+
159951
+ **Slash Commands:** Users can use /team:create, /team:delete, /team:status, /team:phase, /team:enable, /team:disable, /team:members to manage teams.
159952
+
159953
+ When the user asks about teams, swarms, or multi-agent collaboration, use these tools directly. Do NOT say the feature is unavailable or needs external setup.
159954
+
159630
159955
  # Other response guidelines
159631
159956
 
159632
159957
  - Your goal is to produce the highest quality results, even if it comes at the cost of more credits used.
@@ -159755,7 +160080,14 @@ At the end of your turn, use the suggest_followups tool to suggest around 3 next
159755
160080
  "propose_write_file",
159756
160081
  "ask_user",
159757
160082
  "skill",
159758
- "set_output"
160083
+ "set_output",
160084
+ "team_create",
160085
+ "team_delete",
160086
+ "send_message",
160087
+ "task_create",
160088
+ "task_get",
160089
+ "task_update",
160090
+ "task_list"
159759
160091
  ],
159760
160092
  spawnableAgents: [
159761
160093
  "file-picker",
@@ -159770,7 +160102,17 @@ At the end of your turn, use the suggest_followups tool to suggest around 3 next
159770
160102
  "gpt-5-agent",
159771
160103
  "editor",
159772
160104
  "code-reviewer",
159773
- "context-pruner"
160105
+ "context-pruner",
160106
+ "coordinator",
160107
+ "team-manager",
160108
+ "senior-engineer",
160109
+ "team-mid-level-engineer",
160110
+ "team-junior-engineer",
160111
+ "team-researcher",
160112
+ "team-designer",
160113
+ "team-product-lead",
160114
+ "team-tester",
160115
+ "team-scientist"
159774
160116
  ],
159775
160117
  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.
159776
160118
 
@@ -159834,6 +160176,43 @@ The user can use the "/usage" command to see how many credits they have used and
159834
160176
 
159835
160177
  For other questions, you can direct them to levelcode.vercel.app, or especially levelcode.vercel.app/docs for detailed information about the product.
159836
160178
 
160179
+ # Agent Swarms / Teams
160180
+
160181
+ LevelCode has a built-in agent swarms system for organizing multiple agents into coordinated teams. You have full access to these tools:
160182
+
160183
+ **Creating and Managing Teams:**
160184
+ - Use the \`team_create\` tool to create a new team: \`team_create({ team_name: "my-project" })\`
160185
+ - Use the \`team_delete\` tool to delete a team when done
160186
+ - Teams are stored at ~/.config/levelcode/teams/
160187
+
160188
+ **Task Management:**
160189
+ - Use \`task_create\` to create tasks for team members
160190
+ - Use \`task_list\` to see all tasks and their status
160191
+ - Use \`task_update\` to update task status, assign owners, set dependencies
160192
+ - Use \`task_get\` to read full task details
160193
+
160194
+ **Communication:**
160195
+ - Use \`send_message\` to send messages between team members (DM, broadcast, shutdown requests)
160196
+
160197
+ **Spawning Team Agents:**
160198
+ When spawning agents with \`spawn_agents\`, you can assign them to a team:
160199
+ \`\`\`
160200
+ spawn_agents([{
160201
+ agent: "team-manager",
160202
+ prompt: "Manage the frontend tasks",
160203
+ team_name: "my-project",
160204
+ team_role: "manager"
160205
+ }])
160206
+ \`\`\`
160207
+
160208
+ **Available team roles:** coordinator, manager, senior-engineer, mid-level-engineer, junior-engineer, researcher, designer, product-lead, tester, scientist, and more.
160209
+
160210
+ **Development Phases:** Teams progress through phases: planning \u2192 pre-alpha \u2192 alpha \u2192 beta \u2192 production \u2192 mature.
160211
+
160212
+ **Slash Commands:** Users can use /team:create, /team:delete, /team:status, /team:phase, /team:enable, /team:disable, /team:members to manage teams.
160213
+
160214
+ When the user asks about teams, swarms, or multi-agent collaboration, use these tools directly. Do NOT say the feature is unavailable or needs external setup.
160215
+
159837
160216
  # Other response guidelines
159838
160217
 
159839
160218
  - Your goal is to produce the highest quality results, even if it comes at the cost of more credits used.
@@ -159984,7 +160363,14 @@ This is more like an extremely short PRD which describes the end result of what
159984
160363
  "propose_write_file",
159985
160364
  "ask_user",
159986
160365
  "skill",
159987
- "set_output"
160366
+ "set_output",
160367
+ "team_create",
160368
+ "team_delete",
160369
+ "send_message",
160370
+ "task_create",
160371
+ "task_get",
160372
+ "task_update",
160373
+ "task_list"
159988
160374
  ],
159989
160375
  spawnableAgents: [
159990
160376
  "file-picker",
@@ -159999,7 +160385,17 @@ This is more like an extremely short PRD which describes the end result of what
159999
160385
  "gpt-5-agent",
160000
160386
  "editor",
160001
160387
  "code-reviewer",
160002
- "context-pruner"
160388
+ "context-pruner",
160389
+ "coordinator",
160390
+ "team-manager",
160391
+ "senior-engineer",
160392
+ "team-mid-level-engineer",
160393
+ "team-junior-engineer",
160394
+ "team-researcher",
160395
+ "team-designer",
160396
+ "team-product-lead",
160397
+ "team-tester",
160398
+ "team-scientist"
160003
160399
  ],
160004
160400
  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.
160005
160401
 
@@ -160063,6 +160459,43 @@ The user can use the "/usage" command to see how many credits they have used and
160063
160459
 
160064
160460
  For other questions, you can direct them to levelcode.vercel.app, or especially levelcode.vercel.app/docs for detailed information about the product.
160065
160461
 
160462
+ # Agent Swarms / Teams
160463
+
160464
+ LevelCode has a built-in agent swarms system for organizing multiple agents into coordinated teams. You have full access to these tools:
160465
+
160466
+ **Creating and Managing Teams:**
160467
+ - Use the \`team_create\` tool to create a new team: \`team_create({ team_name: "my-project" })\`
160468
+ - Use the \`team_delete\` tool to delete a team when done
160469
+ - Teams are stored at ~/.config/levelcode/teams/
160470
+
160471
+ **Task Management:**
160472
+ - Use \`task_create\` to create tasks for team members
160473
+ - Use \`task_list\` to see all tasks and their status
160474
+ - Use \`task_update\` to update task status, assign owners, set dependencies
160475
+ - Use \`task_get\` to read full task details
160476
+
160477
+ **Communication:**
160478
+ - Use \`send_message\` to send messages between team members (DM, broadcast, shutdown requests)
160479
+
160480
+ **Spawning Team Agents:**
160481
+ When spawning agents with \`spawn_agents\`, you can assign them to a team:
160482
+ \`\`\`
160483
+ spawn_agents([{
160484
+ agent: "team-manager",
160485
+ prompt: "Manage the frontend tasks",
160486
+ team_name: "my-project",
160487
+ team_role: "manager"
160488
+ }])
160489
+ \`\`\`
160490
+
160491
+ **Available team roles:** coordinator, manager, senior-engineer, mid-level-engineer, junior-engineer, researcher, designer, product-lead, tester, scientist, and more.
160492
+
160493
+ **Development Phases:** Teams progress through phases: planning \u2192 pre-alpha \u2192 alpha \u2192 beta \u2192 production \u2192 mature.
160494
+
160495
+ **Slash Commands:** Users can use /team:create, /team:delete, /team:status, /team:phase, /team:enable, /team:disable, /team:members to manage teams.
160496
+
160497
+ When the user asks about teams, swarms, or multi-agent collaboration, use these tools directly. Do NOT say the feature is unavailable or needs external setup.
160498
+
160066
160499
  # Other response guidelines
160067
160500
 
160068
160501
  - Your goal is to produce the highest quality results, even if it comes at the cost of more credits used.
@@ -163357,6 +163790,7 @@ Do not go beyond the scope of what was asked. If the task is unclear, state what
163357
163790
  outputMode: "last_message",
163358
163791
  includeMessageHistory: true,
163359
163792
  toolNames: [
163793
+ "spawn_agents",
163360
163794
  "read_files",
163361
163795
  "read_subtree",
163362
163796
  "str_replace",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levelcode/cli",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "LevelCode CLI - Terminal-based AI coding agent that outperforms Claude Code",
5
5
  "author": {
6
6
  "name": "Yethikrishna R",