@levelcode/cli 0.2.3 → 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.
- package/dist/index.js +478 -21
- package/dist/rg-0p18sjte. +0 -0
- package/dist/rg-3agys64c. +0 -0
- package/dist/rg-ch8fa8g7. +0 -0
- package/dist/rg-maqk0g78.exe +0 -0
- package/dist/rg-r6ev1ksc. +0 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -158588,7 +158588,14 @@ var init_bundled_agents_generated = __esm(() => {
|
|
|
158588
158588
|
"propose_str_replace",
|
|
158589
158589
|
"propose_write_file",
|
|
158590
158590
|
"skill",
|
|
158591
|
-
"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"
|
|
158592
158599
|
],
|
|
158593
158600
|
spawnableAgents: [
|
|
158594
158601
|
"file-picker",
|
|
@@ -158603,7 +158610,17 @@ var init_bundled_agents_generated = __esm(() => {
|
|
|
158603
158610
|
"gpt-5-agent",
|
|
158604
158611
|
"editor",
|
|
158605
158612
|
"code-reviewer",
|
|
158606
|
-
"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"
|
|
158607
158624
|
],
|
|
158608
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.
|
|
158609
158626
|
|
|
@@ -158666,6 +158683,43 @@ The user can use the "/usage" command to see how many credits they have used and
|
|
|
158666
158683
|
|
|
158667
158684
|
For other questions, you can direct them to levelcode.vercel.app, or especially levelcode.vercel.app/docs for detailed information about the product.
|
|
158668
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
|
+
|
|
158669
158723
|
# Other response guidelines
|
|
158670
158724
|
|
|
158671
158725
|
- Your goal is to produce the highest quality results, even if it comes at the cost of more credits used.
|
|
@@ -158784,7 +158838,14 @@ After completing the user request, summarize your changes in a sentence or a few
|
|
|
158784
158838
|
"propose_write_file",
|
|
158785
158839
|
"ask_user",
|
|
158786
158840
|
"skill",
|
|
158787
|
-
"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"
|
|
158788
158849
|
],
|
|
158789
158850
|
spawnableAgents: [
|
|
158790
158851
|
"file-picker",
|
|
@@ -158794,7 +158855,17 @@ After completing the user request, summarize your changes in a sentence or a few
|
|
|
158794
158855
|
"researcher-web",
|
|
158795
158856
|
"researcher-docs",
|
|
158796
158857
|
"commander",
|
|
158797
|
-
"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"
|
|
158798
158869
|
],
|
|
158799
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.
|
|
158800
158871
|
|
|
@@ -158855,6 +158926,43 @@ The user can use the "/usage" command to see how many credits they have used and
|
|
|
158855
158926
|
|
|
158856
158927
|
For other questions, you can direct them to levelcode.vercel.app, or especially levelcode.vercel.app/docs for detailed information about the product.
|
|
158857
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
|
+
|
|
158858
158966
|
# Other response guidelines
|
|
158859
158967
|
|
|
158860
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.
|
|
@@ -158970,7 +159078,14 @@ After getting context on the user request from the codebase or from research, us
|
|
|
158970
159078
|
"propose_write_file",
|
|
158971
159079
|
"ask_user",
|
|
158972
159080
|
"skill",
|
|
158973
|
-
"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"
|
|
158974
159089
|
],
|
|
158975
159090
|
spawnableAgents: [
|
|
158976
159091
|
"file-picker",
|
|
@@ -158980,7 +159095,17 @@ After getting context on the user request from the codebase or from research, us
|
|
|
158980
159095
|
"researcher-web",
|
|
158981
159096
|
"researcher-docs",
|
|
158982
159097
|
"commander",
|
|
158983
|
-
"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"
|
|
158984
159109
|
],
|
|
158985
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.
|
|
158986
159111
|
|
|
@@ -159041,6 +159166,43 @@ The user can use the "/usage" command to see how many credits they have used and
|
|
|
159041
159166
|
|
|
159042
159167
|
For other questions, you can direct them to levelcode.vercel.app, or especially levelcode.vercel.app/docs for detailed information about the product.
|
|
159043
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
|
+
|
|
159044
159206
|
# Other response guidelines
|
|
159045
159207
|
|
|
159046
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.
|
|
@@ -159157,7 +159319,14 @@ After getting context on the user request from the codebase or from research, us
|
|
|
159157
159319
|
"propose_write_file",
|
|
159158
159320
|
"ask_user",
|
|
159159
159321
|
"skill",
|
|
159160
|
-
"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"
|
|
159161
159330
|
],
|
|
159162
159331
|
spawnableAgents: [
|
|
159163
159332
|
"file-picker",
|
|
@@ -159168,7 +159337,17 @@ After getting context on the user request from the codebase or from research, us
|
|
|
159168
159337
|
"researcher-docs",
|
|
159169
159338
|
"commander-lite",
|
|
159170
159339
|
"editor-glm",
|
|
159171
|
-
"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"
|
|
159172
159351
|
],
|
|
159173
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.
|
|
159174
159353
|
|
|
@@ -159230,6 +159409,43 @@ The user can use the "/usage" command to see how many credits they have used and
|
|
|
159230
159409
|
|
|
159231
159410
|
For other questions, you can direct them to levelcode.vercel.app, or especially levelcode.vercel.app/docs for detailed information about the product.
|
|
159232
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
|
+
|
|
159233
159449
|
# Other response guidelines
|
|
159234
159450
|
|
|
159235
159451
|
- Your goal is to produce the highest quality results, even if it comes at the cost of more credits used.
|
|
@@ -159348,7 +159564,14 @@ At the end of your turn, use the suggest_followups tool to suggest around 3 next
|
|
|
159348
159564
|
"propose_str_replace",
|
|
159349
159565
|
"propose_write_file",
|
|
159350
159566
|
"skill",
|
|
159351
|
-
"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"
|
|
159352
159575
|
],
|
|
159353
159576
|
spawnableAgents: [
|
|
159354
159577
|
"file-picker-max",
|
|
@@ -159363,7 +159586,17 @@ At the end of your turn, use the suggest_followups tool to suggest around 3 next
|
|
|
159363
159586
|
"thinker-best-of-n-opus",
|
|
159364
159587
|
"editor-multi-prompt",
|
|
159365
159588
|
"code-reviewer-multi-prompt",
|
|
159366
|
-
"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"
|
|
159367
159600
|
],
|
|
159368
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.
|
|
159369
159602
|
|
|
@@ -159426,6 +159659,43 @@ The user can use the "/usage" command to see how many credits they have used and
|
|
|
159426
159659
|
|
|
159427
159660
|
For other questions, you can direct them to levelcode.vercel.app, or especially levelcode.vercel.app/docs for detailed information about the product.
|
|
159428
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
|
+
|
|
159429
159699
|
# Other response guidelines
|
|
159430
159700
|
|
|
159431
159701
|
- Your goal is to produce the highest quality results, even if it comes at the cost of more credits used.
|
|
@@ -159549,7 +159819,14 @@ After completing the user request, summarize your changes in a sentence or a few
|
|
|
159549
159819
|
"propose_write_file",
|
|
159550
159820
|
"ask_user",
|
|
159551
159821
|
"skill",
|
|
159552
|
-
"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"
|
|
159553
159830
|
],
|
|
159554
159831
|
spawnableAgents: [
|
|
159555
159832
|
"file-picker-max",
|
|
@@ -159564,7 +159841,17 @@ After completing the user request, summarize your changes in a sentence or a few
|
|
|
159564
159841
|
"thinker-best-of-n-opus",
|
|
159565
159842
|
"editor-multi-prompt",
|
|
159566
159843
|
"code-reviewer-multi-prompt",
|
|
159567
|
-
"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"
|
|
159568
159855
|
],
|
|
159569
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.
|
|
159570
159857
|
|
|
@@ -159628,6 +159915,43 @@ The user can use the "/usage" command to see how many credits they have used and
|
|
|
159628
159915
|
|
|
159629
159916
|
For other questions, you can direct them to levelcode.vercel.app, or especially levelcode.vercel.app/docs for detailed information about the product.
|
|
159630
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
|
+
|
|
159631
159955
|
# Other response guidelines
|
|
159632
159956
|
|
|
159633
159957
|
- Your goal is to produce the highest quality results, even if it comes at the cost of more credits used.
|
|
@@ -159756,7 +160080,14 @@ At the end of your turn, use the suggest_followups tool to suggest around 3 next
|
|
|
159756
160080
|
"propose_write_file",
|
|
159757
160081
|
"ask_user",
|
|
159758
160082
|
"skill",
|
|
159759
|
-
"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"
|
|
159760
160091
|
],
|
|
159761
160092
|
spawnableAgents: [
|
|
159762
160093
|
"file-picker",
|
|
@@ -159771,7 +160102,17 @@ At the end of your turn, use the suggest_followups tool to suggest around 3 next
|
|
|
159771
160102
|
"gpt-5-agent",
|
|
159772
160103
|
"editor",
|
|
159773
160104
|
"code-reviewer",
|
|
159774
|
-
"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"
|
|
159775
160116
|
],
|
|
159776
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.
|
|
159777
160118
|
|
|
@@ -159835,6 +160176,43 @@ The user can use the "/usage" command to see how many credits they have used and
|
|
|
159835
160176
|
|
|
159836
160177
|
For other questions, you can direct them to levelcode.vercel.app, or especially levelcode.vercel.app/docs for detailed information about the product.
|
|
159837
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
|
+
|
|
159838
160216
|
# Other response guidelines
|
|
159839
160217
|
|
|
159840
160218
|
- Your goal is to produce the highest quality results, even if it comes at the cost of more credits used.
|
|
@@ -159985,7 +160363,14 @@ This is more like an extremely short PRD which describes the end result of what
|
|
|
159985
160363
|
"propose_write_file",
|
|
159986
160364
|
"ask_user",
|
|
159987
160365
|
"skill",
|
|
159988
|
-
"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"
|
|
159989
160374
|
],
|
|
159990
160375
|
spawnableAgents: [
|
|
159991
160376
|
"file-picker",
|
|
@@ -160000,7 +160385,17 @@ This is more like an extremely short PRD which describes the end result of what
|
|
|
160000
160385
|
"gpt-5-agent",
|
|
160001
160386
|
"editor",
|
|
160002
160387
|
"code-reviewer",
|
|
160003
|
-
"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"
|
|
160004
160399
|
],
|
|
160005
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.
|
|
160006
160401
|
|
|
@@ -160064,6 +160459,43 @@ The user can use the "/usage" command to see how many credits they have used and
|
|
|
160064
160459
|
|
|
160065
160460
|
For other questions, you can direct them to levelcode.vercel.app, or especially levelcode.vercel.app/docs for detailed information about the product.
|
|
160066
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
|
+
|
|
160067
160499
|
# Other response guidelines
|
|
160068
160500
|
|
|
160069
160501
|
- Your goal is to produce the highest quality results, even if it comes at the cost of more credits used.
|
|
@@ -165957,6 +166389,31 @@ var require_extend = __commonJS((exports3, module3) => {
|
|
|
165957
166389
|
};
|
|
165958
166390
|
});
|
|
165959
166391
|
|
|
166392
|
+
// ../sdk/dist/vendor/ripgrep/arm64-darwin/rg
|
|
166393
|
+
var require_rg = __commonJS((exports3, module3) => {
|
|
166394
|
+
module3.exports = "./rg-r6ev1ksc.";
|
|
166395
|
+
});
|
|
166396
|
+
|
|
166397
|
+
// ../sdk/dist/vendor/ripgrep/x64-darwin/rg
|
|
166398
|
+
var require_rg2 = __commonJS((exports3, module3) => {
|
|
166399
|
+
module3.exports = "./rg-ch8fa8g7.";
|
|
166400
|
+
});
|
|
166401
|
+
|
|
166402
|
+
// ../sdk/dist/vendor/ripgrep/arm64-linux/rg
|
|
166403
|
+
var require_rg3 = __commonJS((exports3, module3) => {
|
|
166404
|
+
module3.exports = "./rg-3agys64c.";
|
|
166405
|
+
});
|
|
166406
|
+
|
|
166407
|
+
// ../sdk/dist/vendor/ripgrep/x64-linux/rg
|
|
166408
|
+
var require_rg4 = __commonJS((exports3, module3) => {
|
|
166409
|
+
module3.exports = "./rg-0p18sjte.";
|
|
166410
|
+
});
|
|
166411
|
+
|
|
166412
|
+
// ../sdk/dist/vendor/ripgrep/x64-win32/rg.exe
|
|
166413
|
+
var require_rg5 = __commonJS((exports3, module3) => {
|
|
166414
|
+
module3.exports = "./rg-maqk0g78.exe";
|
|
166415
|
+
});
|
|
166416
|
+
|
|
165960
166417
|
// src/index.tsx
|
|
165961
166418
|
import fs34 from "fs";
|
|
165962
166419
|
import { createRequire as createRequire2 } from "module";
|
|
@@ -217682,15 +218139,15 @@ var getRipgrepPath = async () => {
|
|
|
217682
218139
|
try {
|
|
217683
218140
|
let embeddedRgPath;
|
|
217684
218141
|
if (process.platform === "darwin" && process.arch === "arm64") {
|
|
217685
|
-
embeddedRgPath = (
|
|
218142
|
+
embeddedRgPath = require_rg();
|
|
217686
218143
|
} else if (process.platform === "darwin" && process.arch === "x64") {
|
|
217687
|
-
embeddedRgPath = (
|
|
218144
|
+
embeddedRgPath = require_rg2();
|
|
217688
218145
|
} else if (process.platform === "linux" && process.arch === "arm64") {
|
|
217689
|
-
embeddedRgPath = (
|
|
218146
|
+
embeddedRgPath = require_rg3();
|
|
217690
218147
|
} else if (process.platform === "linux" && process.arch === "x64") {
|
|
217691
|
-
embeddedRgPath = (
|
|
218148
|
+
embeddedRgPath = require_rg4();
|
|
217692
218149
|
} else if (process.platform === "win32" && process.arch === "x64") {
|
|
217693
|
-
embeddedRgPath = (
|
|
218150
|
+
embeddedRgPath = require_rg5();
|
|
217694
218151
|
} else {
|
|
217695
218152
|
throw new Error(`Unsupported platform: ${process.platform}-${process.arch}`);
|
|
217696
218153
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|