@unity-china/codely-cli 1.0.0-rc.14 → 1.0.0-rc.16
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/bundle/builtin-agents/explore.toml +1 -1
- package/bundle/builtin-agents/plan.toml +1 -1
- package/bundle/example-prompts/analyze.toml +3 -3
- package/bundle/gemini.js +2347 -2312
- package/bundle/gemini.js.LEGAL.txt +19 -19
- package/bundle/policies/plan.toml +0 -6
- package/bundle/policies/read-only.toml +0 -5
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ description = "Fast read-only codebase search agent for finding files, patterns,
|
|
|
3
3
|
display_name = "Explore"
|
|
4
4
|
|
|
5
5
|
tools = ["*"]
|
|
6
|
-
disallowed_tools = ["replace", "write_file", "save_memory"]
|
|
6
|
+
disallowed_tools = ["replace", "write_file", "apply_patch", "save_memory"]
|
|
7
7
|
|
|
8
8
|
[prompts]
|
|
9
9
|
system_prompt = """
|
|
@@ -3,7 +3,7 @@ description = "Software architect agent for designing implementation plans. Use
|
|
|
3
3
|
display_name = "Plan"
|
|
4
4
|
|
|
5
5
|
tools = ["*"]
|
|
6
|
-
disallowed_tools = ["replace", "write_file", "save_memory"]
|
|
6
|
+
disallowed_tools = ["replace", "write_file", "apply_patch", "save_memory"]
|
|
7
7
|
|
|
8
8
|
[prompts]
|
|
9
9
|
system_prompt = """
|
|
@@ -7,12 +7,12 @@ Analysis Topic: {input}
|
|
|
7
7
|
Topic-driven goals:
|
|
8
8
|
1. **Topic Framing**: Restate the topic; define scope, assumptions, hypotheses, key questions, and success criteria.
|
|
9
9
|
2. **Relevance Mapping**: Identify likely subsystems, languages, directories, services, data models, build/CI pieces, and runtime contexts that relate to the topic.
|
|
10
|
-
3. **Investigation Plan**: Break work into
|
|
10
|
+
3. **Investigation Plan**: Break work into clear job_create items only when tracking adds value; prefer independent steps in parallel; set an IO/search budget per step.
|
|
11
11
|
4. **Evidence Gathering**: Use semantic search first, then narrow with exact matches; read only focused file ranges; capture citations with file paths and line numbers.
|
|
12
12
|
5. **Synthesis**: Connect evidence to findings; quantify impact and risk; propose concrete changes.
|
|
13
13
|
|
|
14
14
|
Search and tooling rules (MANDATORY):
|
|
15
|
-
-
|
|
15
|
+
- Define the scope and create a job_create plan before search only when the topic is broad or multi-step; skip job_create for a single straightforward lookup.
|
|
16
16
|
- **ALWAYS keep searches tightly scoped** to specific directories/files; avoid using project root "./" as the target.
|
|
17
17
|
- Prefer codebase_search for semantic discovery; use grep/glob only for exact symbols/strings within the scoped paths.
|
|
18
18
|
- Use read_file only for specific, bounded ranges; avoid opening entire large files unless necessary.
|
|
@@ -41,7 +41,7 @@ Notes:
|
|
|
41
41
|
- Optimize for breadth-first discovery first, then go deep where evidence indicates hotspots.
|
|
42
42
|
- Keep explanations concise but precise; avoid generic claims without evidence.
|
|
43
43
|
|
|
44
|
-
**CRITICAL**: You MUST NOT use Grep/Glob tool under project root "./".
|
|
44
|
+
**CRITICAL**: You MUST NOT use Grep/Glob tool under project root "./". Narrow the search scope to specific folders before running exact searches.
|
|
45
45
|
|
|
46
46
|
Focus on providing constructive, actionable feedback suitable for large-scale codebases.
|
|
47
47
|
"""
|