@aksp/opencrew 1.3.0 → 1.3.1

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aksp/opencrew",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.3.1
@@ -1,5 +1,5 @@
1
1
  # SHARED — applies to ALL IDEs. Do not add IDE-specific logic here.
2
- # For IDE-specific behavior: templates/ide-templates/{ide}/ only.
2
+ # For IDE-specific behavior, add entries to src/lib/ides.js in the source package.
3
3
  agent:
4
4
  webskip: false
5
5
  metadata:
@@ -28,7 +28,7 @@ If investigation ran (check discovery.yaml `investigation` field):
28
28
 
29
29
  Read `_opencrew/core/best-practices/_catalog.yaml` to discover available best-practices files.
30
30
 
31
- Based on the crew's purpose and the domains identified in Discovery, select which best-practice files are relevant:
31
+ Based on the crew's purpose and the domain(s) identified in Discovery (check both `domain` and `domains` fields in discovery.yaml), select which best-practice files are relevant:
32
32
 
33
33
  1. Review each catalog entry's `whenToUse` field
34
34
  2. Select entries whose `whenToUse` matches the crew's needs
@@ -1,7 +1,7 @@
1
1
  # opencrew Pipeline Runner
2
2
 
3
3
  > **SHARED FILE** — applies to ALL IDEs. Do not add IDE-specific logic here.
4
- > For IDE-specific behavior: `templates/ide-templates/{ide}/` only.
4
+ > For IDE-specific behavior, add entries to `src/lib/ides.js` in the source package.
5
5
 
6
6
  You are the Pipeline Runner. Your job is to execute a crew's pipeline step by step.
7
7
 
@@ -75,8 +75,8 @@ Before starting execution:
75
75
  ```markdown
76
76
  # Run History: {crew-name}
77
77
 
78
- | Data | Run ID | Tema | Output | Resultado |
79
- |------|--------|------|--------|-----------|
78
+ | Data | Run ID | Tema | Output | Score | Resultado |
79
+ |------|--------|------|--------|-------|-----------|
80
80
  ```
81
81
  - Do NOT inform the user or pause execution for this migration — it is transparent.
82
82
 
@@ -163,7 +163,7 @@ Before executing any step that references an agent:
163
163
  - Use Output Examples as quality reference
164
164
  - Avoid Anti-Patterns listed in the agent definition
165
165
  - Apply Voice Guidance (vocabulary always/never use, tone rules)
166
- 4. **Inject format context**: Check if the current step's frontmatter contains a `format:` field.
166
+ 5. **Inject format context**: Check if the current step's frontmatter contains a `format:` field.
167
167
  If present:
168
168
  a. **Export formats** — if format is one of `pdf`, `csv`, or `formatted-post`:
169
169
  - Read `_opencrew/core/prompts/export.prompt.md`
@@ -189,7 +189,7 @@ Before executing any step that references an agent:
189
189
  {format file markdown body}
190
190
  ```
191
191
  If the step has no `format:` field, skip this step entirely (backward compatible).
192
- 5. **Inject skill context (Two-Tier)**:
192
+ 6. **Inject skill context (Two-Tier)**:
193
193
  a. Build a Tier 1 skill index from each declared skill's frontmatter `name` and `description` (~30 tokens per skill)
194
194
  b. Append the index after format injection:
195
195
  ```
@@ -205,7 +205,7 @@ Before executing any step that references an agent:
205
205
  Agent (.agent.md) → Crew Memory Rules → Platform Best Practices → Skill Index (Tier 1) → Skill Instructions (Tier 2, on-demand)
206
206
  ```
207
207
 
208
- 6. **Inject crew memory rules**: Before building the agent's execution prompt, inject accumulated correction rules from `crews/{name}/_memory/memories.md`:
208
+ 4. **Inject crew memory rules**: Before building the agent's execution prompt, inject accumulated correction rules from `crews/{name}/_memory/memories.md`:
209
209
  a. Read `memories.md` and extract:
210
210
  - `## Proibições Explícitas` — hard blocks, injected as NUNCA rules
211
211
  - `## Regras de Ouro` — promoted patterns, injected as SEMPRE rules