cc-viewer 1.9.18 → 1.9.20

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 (84) hide show
  1. package/cli.js +34 -0
  2. package/concepts/ar/CustomUltraplanExpert.md +1 -1
  3. package/concepts/ar/Teammate.md +1 -1
  4. package/concepts/ar/UltraPlan.md +4 -4
  5. package/concepts/da/CustomUltraplanExpert.md +1 -1
  6. package/concepts/da/Teammate.md +1 -1
  7. package/concepts/da/UltraPlan.md +4 -4
  8. package/concepts/de/CustomUltraplanExpert.md +1 -1
  9. package/concepts/de/Teammate.md +1 -1
  10. package/concepts/de/UltraPlan.md +4 -4
  11. package/concepts/en/CustomUltraplanExpert.md +1 -1
  12. package/concepts/en/Teammate.md +1 -1
  13. package/concepts/en/UltraPlan.md +4 -4
  14. package/concepts/es/CustomUltraplanExpert.md +1 -1
  15. package/concepts/es/Teammate.md +1 -1
  16. package/concepts/es/UltraPlan.md +4 -4
  17. package/concepts/fr/CustomUltraplanExpert.md +1 -1
  18. package/concepts/fr/Teammate.md +1 -1
  19. package/concepts/fr/UltraPlan.md +4 -4
  20. package/concepts/it/CustomUltraplanExpert.md +1 -1
  21. package/concepts/it/Teammate.md +1 -1
  22. package/concepts/it/UltraPlan.md +4 -4
  23. package/concepts/ja/CustomUltraplanExpert.md +1 -1
  24. package/concepts/ja/Teammate.md +1 -1
  25. package/concepts/ja/UltraPlan.md +4 -4
  26. package/concepts/ko/CustomUltraplanExpert.md +1 -1
  27. package/concepts/ko/Teammate.md +1 -1
  28. package/concepts/ko/UltraPlan.md +4 -4
  29. package/concepts/no/CustomUltraplanExpert.md +1 -1
  30. package/concepts/no/Teammate.md +1 -1
  31. package/concepts/no/UltraPlan.md +4 -4
  32. package/concepts/pl/CustomUltraplanExpert.md +1 -1
  33. package/concepts/pl/Teammate.md +1 -1
  34. package/concepts/pl/UltraPlan.md +4 -4
  35. package/concepts/pt-BR/CustomUltraplanExpert.md +1 -1
  36. package/concepts/pt-BR/Teammate.md +1 -1
  37. package/concepts/pt-BR/UltraPlan.md +4 -4
  38. package/concepts/ru/CustomUltraplanExpert.md +1 -1
  39. package/concepts/ru/Teammate.md +1 -1
  40. package/concepts/ru/UltraPlan.md +4 -4
  41. package/concepts/th/CustomUltraplanExpert.md +1 -1
  42. package/concepts/th/Teammate.md +1 -1
  43. package/concepts/th/UltraPlan.md +4 -4
  44. package/concepts/tr/CustomUltraplanExpert.md +1 -1
  45. package/concepts/tr/Teammate.md +1 -1
  46. package/concepts/tr/UltraPlan.md +4 -4
  47. package/concepts/uk/CustomUltraplanExpert.md +1 -1
  48. package/concepts/uk/Teammate.md +1 -1
  49. package/concepts/uk/UltraPlan.md +4 -4
  50. package/concepts/zh/CustomUltraplanExpert.md +1 -1
  51. package/concepts/zh/Teammate.md +1 -1
  52. package/concepts/zh/UltraPlan.md +4 -4
  53. package/concepts/zh/ultraplan-origin.md +24 -22
  54. package/concepts/zh-TW/CustomUltraplanExpert.md +1 -1
  55. package/concepts/zh-TW/Teammate.md +1 -1
  56. package/concepts/zh-TW/UltraPlan.md +4 -4
  57. package/dist/assets/{App-COyZwmVt.js → App-Cf04lonP.js} +2 -2
  58. package/dist/assets/{MdxEditorPanel-BsHDgZCY.js → MdxEditorPanel-DKU2r-KQ.js} +1 -1
  59. package/dist/assets/{Mobile-B1H_PrNl.js → Mobile-DK6O4hoa.js} +1 -1
  60. package/dist/assets/{ProxyStatsModal-CSQNNwpU.js → ProxyStatsModal-B2njUNcC.js} +1 -1
  61. package/dist/assets/index-C8223pn2.js +2 -0
  62. package/dist/assets/seqResourceLoaders-0JGRMKPS.js +2 -0
  63. package/dist/assets/seqResourceLoaders-DbccWwKz.css +41 -0
  64. package/dist/index.html +1 -1
  65. package/dist/voice-packs/default/agentLoopStart.wav +0 -0
  66. package/dist/voice-packs/default/pack.json +11 -0
  67. package/dist/voice-packs/sanguo/agentLoopStart.wav +0 -0
  68. package/dist/voice-packs/sanguo/pack.json +11 -0
  69. package/node_modules/@ccv/core/src/voice-pack-events.js +12 -3
  70. package/package.json +2 -2
  71. package/server/lib/attach-buffer.js +164 -0
  72. package/server/lib/plugin-loader.js +2 -0
  73. package/server/lib/plugin-runtime.js +12 -2
  74. package/server/lib/proxy/proxy-stats.js +26 -0
  75. package/server/lib/sdk-manager.js +301 -58
  76. package/server/lib/v2/live-feed.js +108 -7
  77. package/server/lib/v2/meta-rows.js +47 -6
  78. package/server/proxy.js +104 -16
  79. package/server/routes/events.js +64 -1
  80. package/server/server.js +120 -4
  81. package/ultraAgents/code-expert.json +1 -1
  82. package/dist/assets/index-CPn0gvr6.js +0 -2
  83. package/dist/assets/seqResourceLoaders-Cm1JnNsu.js +0 -2
  84. package/dist/assets/seqResourceLoaders-DZA-JHK0.css +0 -41
@@ -136,7 +136,7 @@ O modelo original lista 6 elementos de um "plano de implementação". Seu entreg
136
136
 
137
137
  ```
138
138
  <system-reminder>
139
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing.
139
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing.
140
140
 
141
141
  You are a senior competitive intelligence analyst for {industry}. Your goal is to
142
142
  produce a decision-grade competitive landscape report for the product "{our product}".
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Definicao
4
4
 
5
- Um Teammate e um agent colaborativo no modo Team do Claude Code Agent. Quando o agent principal cria um time com `TeamCreate` e gera teammates usando a ferramenta `Agent`, cada teammate e executado como um processo agent independente, com sua propria janela de contexto e conjunto de ferramentas, comunicando-se com os membros do time atraves de `SendMessage`.
5
+ Um Teammate e um agent colaborativo no modo Team do Claude Code Agent. Quando o agent principal cria um time e gera teammates usando a ferramenta `Agent`, cada teammate e executado como um processo agent independente, com sua propria janela de contexto e conjunto de ferramentas, comunicando-se com os membros do time atraves de `SendMessage`.
6
6
 
7
7
  ## Diferencas em relacao ao SubAgent
8
8
 
@@ -63,7 +63,7 @@ Below are the two raw prompt templates UltraPlan actually sends to Claude Code (
63
63
  ### Code Expert (codeExpert)
64
64
 
65
65
  <textarea readonly><system-reminder>
66
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
66
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
67
67
 
68
68
  Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
69
69
 
@@ -98,11 +98,11 @@ Your final plan must include the following elements:
98
98
  6. After the final plan has been successfully executed:
99
99
  First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
100
100
  Otherwise, if the project is managed with Git:
101
- Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ is recommended);
102
- Note: teammates are named (pass `name`), not plain subagents (which have no name);
101
+ Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ recommended);
102
+ Note: spawn teammates (which have a `name`), not plain subagents (which have no name);
103
103
  Task: Conduct a Code Review of the current git changes from multiple roles and perspectives;
104
104
  Pre-requisites:
105
- - The git repository may be located in a subdirectory of the current directory; recursively locate the .git directory first (prefer `git rev-parse --show-toplevel`) before proceeding;
105
+ - The git repository may be located in a subdirectory of the current directory; recursively locate the `.git` directory first before proceeding;
106
106
  - In the case of multiple repositories, review tasks may be executed separately per repository;
107
107
  Review dimensions (a reference framework — each role covers them as its perspective requires, aiming to be as comprehensive as possible):
108
108
  - Whether requirements/objectives have been met and functionality is complete;
@@ -136,7 +136,7 @@ Research Expert перечисляет 6 потенциальных ролей (
136
136
 
137
137
  ```
138
138
  <system-reminder>
139
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing.
139
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing.
140
140
 
141
141
  You are a senior competitive intelligence analyst for {industry}. Your goal is to
142
142
  produce a decision-grade competitive landscape report for the product "{our product}".
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Определение
4
4
 
5
- Teammate — это совместно работающий agent в режиме Team Claude Code Agent. Когда основной agent создаёт команду через `TeamCreate` и генерирует teammate с помощью инструмента `Agent`, каждый teammate запускается как независимый процесс agent с собственным контекстным окном и набором инструментов, взаимодействуя с членами команды через `SendMessage`.
5
+ Teammate — это совместно работающий agent в режиме Team Claude Code Agent. Когда основной agent создаёт команду и генерирует teammate с помощью инструмента `Agent`, каждый teammate запускается как независимый процесс agent с собственным контекстным окном и набором инструментов, взаимодействуя с членами команды через `SendMessage`.
6
6
 
7
7
  ## Отличия от SubAgent
8
8
 
@@ -63,7 +63,7 @@ Below are the two raw prompt templates UltraPlan actually sends to Claude Code (
63
63
  ### Code Expert (codeExpert)
64
64
 
65
65
  <textarea readonly><system-reminder>
66
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
66
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
67
67
 
68
68
  Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
69
69
 
@@ -98,11 +98,11 @@ Your final plan must include the following elements:
98
98
  6. After the final plan has been successfully executed:
99
99
  First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
100
100
  Otherwise, if the project is managed with Git:
101
- Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ is recommended);
102
- Note: teammates are named (pass `name`), not plain subagents (which have no name);
101
+ Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ recommended);
102
+ Note: spawn teammates (which have a `name`), not plain subagents (which have no name);
103
103
  Task: Conduct a Code Review of the current git changes from multiple roles and perspectives;
104
104
  Pre-requisites:
105
- - The git repository may be located in a subdirectory of the current directory; recursively locate the .git directory first (prefer `git rev-parse --show-toplevel`) before proceeding;
105
+ - The git repository may be located in a subdirectory of the current directory; recursively locate the `.git` directory first before proceeding;
106
106
  - In the case of multiple repositories, review tasks may be executed separately per repository;
107
107
  Review dimensions (a reference framework — each role covers them as its perspective requires, aiming to be as comprehensive as possible):
108
108
  - Whether requirements/objectives have been met and functionality is complete;
@@ -136,7 +136,7 @@ Research Expert ระบุ 6 บทบาทที่เป็นไปได
136
136
 
137
137
  ```
138
138
  <system-reminder>
139
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing.
139
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing.
140
140
 
141
141
  You are a senior competitive intelligence analyst for {industry}. Your goal is to
142
142
  produce a decision-grade competitive landscape report for the product "{our product}".
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## คำนิยาม
4
4
 
5
- Teammate คือ agent ที่ทำงานร่วมกันในโหมดทีม (Team Mode) ของ Claude Code Agent เมื่อ agent หลักสร้างทีมผ่าน `TeamCreate` และใช้เครื่องมือ `Agent` เพื่อสร้าง teammate แต่ละ teammate จะทำงานเป็นกระบวนการ agent อิสระ มี context window และชุดเครื่องมือเป็นของตัวเอง และสื่อสารกับสมาชิกในทีมผ่าน `SendMessage`
5
+ Teammate คือ agent ที่ทำงานร่วมกันในโหมดทีม (Team Mode) ของ Claude Code Agent เมื่อ agent หลักสร้างทีมและใช้เครื่องมือ `Agent` เพื่อสร้าง teammate แต่ละ teammate จะทำงานเป็นกระบวนการ agent อิสระ มี context window และชุดเครื่องมือเป็นของตัวเอง และสื่อสารกับสมาชิกในทีมผ่าน `SendMessage`
6
6
 
7
7
  ## ความแตกต่างจาก SubAgent
8
8
 
@@ -63,7 +63,7 @@ Below are the two raw prompt templates UltraPlan actually sends to Claude Code (
63
63
  ### Code Expert (codeExpert)
64
64
 
65
65
  <textarea readonly><system-reminder>
66
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
66
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
67
67
 
68
68
  Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
69
69
 
@@ -98,11 +98,11 @@ Your final plan must include the following elements:
98
98
  6. After the final plan has been successfully executed:
99
99
  First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
100
100
  Otherwise, if the project is managed with Git:
101
- Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ is recommended);
102
- Note: teammates are named (pass `name`), not plain subagents (which have no name);
101
+ Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ recommended);
102
+ Note: spawn teammates (which have a `name`), not plain subagents (which have no name);
103
103
  Task: Conduct a Code Review of the current git changes from multiple roles and perspectives;
104
104
  Pre-requisites:
105
- - The git repository may be located in a subdirectory of the current directory; recursively locate the .git directory first (prefer `git rev-parse --show-toplevel`) before proceeding;
105
+ - The git repository may be located in a subdirectory of the current directory; recursively locate the `.git` directory first before proceeding;
106
106
  - In the case of multiple repositories, review tasks may be executed separately per repository;
107
107
  Review dimensions (a reference framework — each role covers them as its perspective requires, aiming to be as comprehensive as possible):
108
108
  - Whether requirements/objectives have been met and functionality is complete;
@@ -136,7 +136,7 @@ Orijinal şablon "uygulama planının" 6 öğesini listeler. Teslimatınız tama
136
136
 
137
137
  ```
138
138
  <system-reminder>
139
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing.
139
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing.
140
140
 
141
141
  You are a senior competitive intelligence analyst for {industry}. Your goal is to
142
142
  produce a decision-grade competitive landscape report for the product "{our product}".
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Tanım
4
4
 
5
- Teammate, Claude Code Agent'ın Takım Modu (Team Mode) altındaki iş birlikçi agent'tır. Ana agent `TeamCreate` ile bir takım oluşturup `Agent` aracını kullanarak teammate ürettiğinde, her teammate bağımsız bir agent süreci olarak çalışır, kendi bağlam penceresine ve araç setine sahiptir ve `SendMessage` aracılığıyla takım üyeleriyle iletişim kurar.
5
+ Teammate, Claude Code Agent'ın Takım Modu (Team Mode) altındaki iş birlikçi agent'tır. Ana agent `Agent` aracını kullanarak bir takım oluşturup teammate ürettiğinde, her teammate bağımsız bir agent süreci olarak çalışır, kendi bağlam penceresine ve araç setine sahiptir ve `SendMessage` aracılığıyla takım üyeleriyle iletişim kurar.
6
6
 
7
7
  ## SubAgent ile Farkları
8
8
 
@@ -63,7 +63,7 @@ Below are the two raw prompt templates UltraPlan actually sends to Claude Code (
63
63
  ### Code Expert (codeExpert)
64
64
 
65
65
  <textarea readonly><system-reminder>
66
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
66
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
67
67
 
68
68
  Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
69
69
 
@@ -98,11 +98,11 @@ Your final plan must include the following elements:
98
98
  6. After the final plan has been successfully executed:
99
99
  First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
100
100
  Otherwise, if the project is managed with Git:
101
- Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ is recommended);
102
- Note: teammates are named (pass `name`), not plain subagents (which have no name);
101
+ Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ recommended);
102
+ Note: spawn teammates (which have a `name`), not plain subagents (which have no name);
103
103
  Task: Conduct a Code Review of the current git changes from multiple roles and perspectives;
104
104
  Pre-requisites:
105
- - The git repository may be located in a subdirectory of the current directory; recursively locate the .git directory first (prefer `git rev-parse --show-toplevel`) before proceeding;
105
+ - The git repository may be located in a subdirectory of the current directory; recursively locate the `.git` directory first before proceeding;
106
106
  - In the case of multiple repositories, review tasks may be executed separately per repository;
107
107
  Review dimensions (a reference framework — each role covers them as its perspective requires, aiming to be as comprehensive as possible):
108
108
  - Whether requirements/objectives have been met and functionality is complete;
@@ -136,7 +136,7 @@ Research Expert перелічує 6 потенційних ролей (галу
136
136
 
137
137
  ```
138
138
  <system-reminder>
139
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing.
139
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing.
140
140
 
141
141
  You are a senior competitive intelligence analyst for {industry}. Your goal is to
142
142
  produce a decision-grade competitive landscape report for the product "{our product}".
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Визначення
4
4
 
5
- Teammate — це колаборативний agent у режимі команди Claude Code Agent Team. Коли головний agent створює команду через `TeamCreate` і генерує teammate за допомогою інструменту `Agent`, кожен teammate працює як незалежний процес agent із власним контекстним вікном та набором інструментів, спілкуючись з членами команди через `SendMessage`.
5
+ Teammate — це колаборативний agent у режимі команди Claude Code Agent Team. Коли головний agent створює команду і генерує teammate за допомогою інструменту `Agent`, кожен teammate працює як незалежний процес agent із власним контекстним вікном та набором інструментів, спілкуючись з членами команди через `SendMessage`.
6
6
 
7
7
  ## Відмінності від SubAgent
8
8
 
@@ -63,7 +63,7 @@ Below are the two raw prompt templates UltraPlan actually sends to Claude Code (
63
63
  ### Code Expert (codeExpert)
64
64
 
65
65
  <textarea readonly><system-reminder>
66
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
66
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
67
67
 
68
68
  Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
69
69
 
@@ -98,11 +98,11 @@ Your final plan must include the following elements:
98
98
  6. After the final plan has been successfully executed:
99
99
  First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
100
100
  Otherwise, if the project is managed with Git:
101
- Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ is recommended);
102
- Note: teammates are named (pass `name`), not plain subagents (which have no name);
101
+ Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ recommended);
102
+ Note: spawn teammates (which have a `name`), not plain subagents (which have no name);
103
103
  Task: Conduct a Code Review of the current git changes from multiple roles and perspectives;
104
104
  Pre-requisites:
105
- - The git repository may be located in a subdirectory of the current directory; recursively locate the .git directory first (prefer `git rev-parse --show-toplevel`) before proceeding;
105
+ - The git repository may be located in a subdirectory of the current directory; recursively locate the `.git` directory first before proceeding;
106
106
  - In the case of multiple repositories, review tasks may be executed separately per repository;
107
107
  Review dimensions (a reference framework — each role covers them as its perspective requires, aiming to be as comprehensive as possible):
108
108
  - Whether requirements/objectives have been met and functionality is complete;
@@ -133,7 +133,7 @@ Your final plan must include the following elements:
133
133
 
134
134
  ```
135
135
  <system-reminder>
136
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing.
136
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing.
137
137
 
138
138
  You are a senior competitive intelligence analyst for {行业}. Your goal is to
139
139
  produce a decision-grade competitive landscape report for the product "{我方产品}".
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## 定义
4
4
 
5
- Teammate 是 Claude Code Agent Team 模式下的协作 agent。当主 agent 通过 `TeamCreate` 创建团队并使用 `Agent` 工具生成 teammate 时,每个 teammate 作为独立的 agent 进程运行,拥有自己的上下文窗口和工具集,通过 `SendMessage` 与团队成员通信。
5
+ Teammate 是 Claude Code Agent Team 模式下的协作 agent。当主 agent 通过 `Agent` 工具创建团队并生成 teammate 时,每个 teammate 作为独立的 agent 进程运行,拥有自己的上下文窗口和工具集,通过 `SendMessage` 与团队成员通信。
6
6
 
7
7
  ## 与 SubAgent 的区别
8
8
 
@@ -63,7 +63,7 @@ UltraPlan 提供两个专家角色,针对不同类型的任务:
63
63
  ### 代码专家(codeExpert)
64
64
 
65
65
  <textarea readonly><system-reminder>
66
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
66
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
67
67
 
68
68
  Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
69
69
 
@@ -98,11 +98,11 @@ Your final plan must include the following elements:
98
98
  6. After the final plan has been successfully executed:
99
99
  First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
100
100
  Otherwise, if the project is managed with Git:
101
- Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ is recommended);
102
- Note: teammates are named (pass `name`), not plain subagents (which have no name);
101
+ Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ recommended);
102
+ Note: spawn teammates (which have a `name`), not plain subagents (which have no name);
103
103
  Task: Conduct a Code Review of the current git changes from multiple roles and perspectives;
104
104
  Pre-requisites:
105
- - The git repository may be located in a subdirectory of the current directory; recursively locate the .git directory first (prefer `git rev-parse --show-toplevel`) before proceeding;
105
+ - The git repository may be located in a subdirectory of the current directory; recursively locate the `.git` directory first before proceeding;
106
106
  - In the case of multiple repositories, review tasks may be executed separately per repository;
107
107
  Review dimensions (a reference framework — each role covers them as its perspective requires, aiming to be as comprehensive as possible):
108
108
  - Whether requirements/objectives have been met and functionality is complete;
@@ -1,6 +1,6 @@
1
1
  [作用域指令] 以下说明仅适用于接下来的 1 到 3 次交互。任务完成后,这些说明的优先级应逐步降低,并且不再影响后续交互。
2
2
 
3
- 你应当善于使用 AskUserQuestion、EnterPlanMode 和 TeamCreate 等工具,而不是只依赖纯文本处理。
3
+ 你应当善于使用 AskUserQuestion、EnterPlanMode 等工具,而不是只依赖纯文本处理。
4
4
 
5
5
  前置要求:当用户请求存在歧义时(例如目标元素、交互方式、平台范围等),使用 AskUserQuestion 充分用户意图, AskUserQuestion 不应该停留于一轮,你可以多轮询问,可以任意时刻再次触发(比如后续计划过程有新的发现需要补充)。仅当用户意图明确无歧义时才可以跳过。
6
6
 
@@ -34,24 +34,26 @@
34
34
  1. 当最终计划已成功执行后:
35
35
  首先运行 git diff --quiet && git diff --cached --quiet(或等效命令),检查工作区是否确实存在非琐碎改动;如果没有实际改动(或只有空白 / 注释层面的修改),则跳过 UltraReview 步骤。
36
36
  否则,如果该项目由 Git 管理:
37
- 发起一个团队(TeamCreate),并根据任务复杂度动态分配队友数量(推荐为 5 个);
38
- 任务:从多角色、多视角对当前 Git 变更进行代码评审;
39
-
40
- 前置要求:
41
-
42
- * Git 仓库可能位于当前目录的子目录中;在继续之前优先使用 git rev-parse --show-toplevel(如果失败则回退为递归查找);
43
- * 如果存在多个仓库,可以分别执行任务;
44
- * 该团队的目标是分析当前 Git 变更记录,并从以下角度验证每一项修改,具体包括:
45
- * 是否已满足需求 / 目标,功能是否完整;
46
- * 新增代码是否引入副作用、破坏现有功能,或带来潜在风险;
47
- * 代码质量:命名、可读性、复杂度、技术债、可维护性;
48
- * 测试和文档:是否具备足够的测试覆盖,关键逻辑是否有必要的注释或文档;
49
- * 依赖与兼容性:是否引入了新的依赖或版本兼容性问题;
50
-
51
- 工作流:
52
-
53
- * 每位队友根据自己的角色逐项覆盖上述评审维度,并独立输出报告;
54
- * 汇总报告后,进行交叉评审,以识别冲突意见或共同关注点;
55
- * 提炼出具体、可执行的修改建议,并标注优先级(P0 / P1 / P2 / P3);
56
- * 完成后,采纳 P0 项;对于具体且低风险的 P1 项,选择性采纳;P2 / P3 则废弃;
57
- * 全部完成后,关闭团队(TeamDelete)。
37
+ 用 Agent 工具构建一个 team,根据任务复杂度动态分配 teammate 数量(建议为5+);
38
+ 注意不是subAgent来执行,teammate是有name的,subAgent没有name;
39
+
40
+ 任务:从多角色、多视角对当前 git 变更进行 Code Review;
41
+
42
+ 前置检查:
43
+ - git 仓库可能位于当前目录的子目录中,需先递归查找 .git 所在位置,再执行后续操作;
44
+ - 多仓库的情况下,可以分多任务执行;
45
+
46
+ 审查维度(作为审查的参考框架,各角色结合自身视角按需覆盖,建议尽可能全面):
47
+ - 需求/目标是否已实现,功能是否完整;
48
+ - 新增代码是否引入副作用、破坏已有功能或潜在风险;
49
+ - 代码质量:命名、可读性、复杂度、技术债、可维护性;
50
+ - 测试与文档:是否有充分的测试覆盖,关键逻辑是否有必要的注释或文档;
51
+ - 依赖与兼容性:是否引入新依赖或版本兼容问题;
52
+ - 其他适合的维度;
53
+
54
+ 流程:
55
+ 1. 各 teammate 按照自身角色,逐一覆盖审查维度,独立输出报告;
56
+ 2. 汇总报告后进行交叉审视,识别冲突或共同关注点;
57
+ 3. 提炼出具体、可执行的修改建议,并标注优先级(P0/P1/P2/P3);
58
+ 4. 完成后设定修复P0、P1,以及辩证修复P2(如果其中有特殊需要确认的,可以用`askUserQuestion`咨询用户意见);
59
+ 5. 执行完成后关闭 team,分别通知 teammate 退出;
@@ -133,7 +133,7 @@ Research Expert 派了 6 種潛在角色(industry 調研員、學術研究員
133
133
 
134
134
  ```
135
135
  <system-reminder>
136
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing.
136
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing.
137
137
 
138
138
  You are a senior competitive intelligence analyst for {行業}. Your goal is to
139
139
  produce a decision-grade competitive landscape report for the product "{我方產品}".
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## 定義
4
4
 
5
- Teammate 是 Claude Code Agent Team 模式下的協作 agent。當主 agent 透過 `TeamCreate` 建立團隊並使用 `Agent` 工具生成 teammate 時,每個 teammate 作為獨立的 agent 程序運行,擁有自己的上下文視窗和工具集,透過 `SendMessage` 與團隊成員通訊。
5
+ Teammate 是 Claude Code Agent Team 模式下的協作 agent。當主 agent 透過 `Agent` 工具建立團隊並生成 teammate 時,每個 teammate 作為獨立的 agent 程序運行,擁有自己的上下文視窗和工具集,透過 `SendMessage` 與團隊成員通訊。
6
6
 
7
7
  ## 與 SubAgent 的區別
8
8
 
@@ -63,7 +63,7 @@ Below are the two raw prompt templates UltraPlan actually sends to Claude Code (
63
63
  ### Code Expert (codeExpert)
64
64
 
65
65
  <textarea readonly><system-reminder>
66
- [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion`, `EnterPlanMode`, and `TeamCreate`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
66
+ [SCOPED INSTRUCTION] The following instructions apply only to the next 1–3 interactions. Once the task is complete, these instructions should gradually decrease in priority and no longer affect subsequent interactions. You should be adept at utilizing tools such as `AskUserQuestion` and `EnterPlanMode`, rather than relying solely on plain text processing. Before execution, you must ensure that the `EnterPlanMode`, `ExitPlanMode`, `SendMessage`, `TaskCreate`, `TaskUpdate`, `TaskStop`, `TaskGet`, `TaskOutput` and `TaskList` tools are loaded.
67
67
 
68
68
  Pre-requisite: Use `AskUserQuestion` to clarify user intent whenever the request is ambiguous (target element, interaction style, scope of platforms, etc.). Skip only if the intent is unambiguous.
69
69
 
@@ -98,11 +98,11 @@ Your final plan must include the following elements:
98
98
  6. After the final plan has been successfully executed:
99
99
  First run `git diff --quiet && git diff --cached --quiet` (or equivalent) to detect whether the working tree actually has non-trivial changes; if there are no real changes (or only whitespace/comment-only edits), skip the UltraReview step.
100
100
  Otherwise, if the project is managed with Git:
101
- Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ is recommended);
102
- Note: teammates are named (pass `name`), not plain subagents (which have no name);
101
+ Use the `Agent` tool to build a team, dynamically allocating the number of teammates based on task complexity (5+ recommended);
102
+ Note: spawn teammates (which have a `name`), not plain subagents (which have no name);
103
103
  Task: Conduct a Code Review of the current git changes from multiple roles and perspectives;
104
104
  Pre-requisites:
105
- - The git repository may be located in a subdirectory of the current directory; recursively locate the .git directory first (prefer `git rev-parse --show-toplevel`) before proceeding;
105
+ - The git repository may be located in a subdirectory of the current directory; recursively locate the `.git` directory first before proceeding;
106
106
  - In the case of multiple repositories, review tasks may be executed separately per repository;
107
107
  Review dimensions (a reference framework — each role covers them as its perspective requires, aiming to be as comprehensive as possible):
108
108
  - Whether requirements/objectives have been met and functionality is complete;