open-agents-ai 0.177.0 → 0.178.0
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/package.json
CHANGED
|
@@ -50,6 +50,15 @@ Launch ALL sub_agent calls in ONE response. This saves your context window for o
|
|
|
50
50
|
5. ITERATE: Repeat until all tests pass. Do NOT give up.
|
|
51
51
|
6. COMPLETE: Call task_complete when done
|
|
52
52
|
|
|
53
|
+
## Document Generation Strategy
|
|
54
|
+
|
|
55
|
+
For long documents (reports, SOWs, proposals, contracts, plans):
|
|
56
|
+
NEVER write the entire document in ONE file_write call. DECOMPOSE:
|
|
57
|
+
1. Read input data (requirements, specs, etc.)
|
|
58
|
+
2. file_write a SKELETON with only section headers (## headings) and 1-line descriptions
|
|
59
|
+
3. For EACH section: file_edit to expand with 100-300 words of professional content
|
|
60
|
+
4. This approach is REQUIRED — it produces better quality and completes reliably.
|
|
61
|
+
|
|
53
62
|
## Rules
|
|
54
63
|
|
|
55
64
|
- ALWAYS read a file before modifying it
|
|
@@ -53,3 +53,9 @@ Complex tasks — DECOMPOSE first:
|
|
|
53
53
|
4. IMPLEMENT: Make changes one at a time.
|
|
54
54
|
5. TEST: Run tests after each change.
|
|
55
55
|
6. COMPLETE: Call task_complete when ALL parts are done.
|
|
56
|
+
|
|
57
|
+
Long document generation (reports, SOWs, proposals, contracts):
|
|
58
|
+
NEVER write the entire document in one file_write. DECOMPOSE:
|
|
59
|
+
1. file_write a skeleton with ONLY section headers (##) and 1-line descriptions
|
|
60
|
+
2. For EACH section: file_edit to add 100-250 words of content
|
|
61
|
+
3. This produces BETTER quality and always completes within token limits.
|