@crewx/sdk 0.9.0-rc.32 → 0.9.0-rc.34

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.
@@ -423,17 +423,12 @@ documents:
423
423
  path: "../documents/crewx-manual.md"
424
424
  summary: "CrewX User Manual"
425
425
 
426
- # 빌트인 에이전트(@claude, @gemini 등)용 가벼운 안내서. 자세한 건 @crewx에게.
427
- crewx_quick_guide:
428
- path: "../documents/crewx-quick-guide.md"
429
- render: true
430
-
431
426
  agents:
432
427
  - id: "crewx"
433
428
  name: "CrewX Assistant"
434
429
  role: "assistant"
435
430
  team: "CrewX"
436
- provider: ["cli/codex", "cli/claude", "cli/opencode", "cli/gemini", "cli/copilot"] # Fallback order: codex → claude → opencode → gemini → copilot
431
+ provider: ["cli/codex", "cli/claude", "cli/opencode", "cli/copilot"] # Fallback order: codex → claude → opencode → copilot
437
432
  working_directory: "."
438
433
  # Note: Uses provider array for automatic fallback when no model is specified
439
434
  inline:
@@ -464,123 +459,55 @@ agents:
464
459
  options:
465
460
  execute:
466
461
  cli/claude: ["--add-dir=.", "--permission-mode=acceptEdits"]
467
- cli/gemini: ["--include-directories=."]
468
462
  cli/copilot: ["--add-dir=."]
469
463
 
470
- - id: "claude"
471
- name: "Claude AI"
472
- role: "general"
473
- team: "Anthropic"
474
- provider: "cli/claude"
475
- working_directory: "."
476
- inline:
477
- prompt: |
478
- You are Claude, an AI assistant by Anthropic, integrated as a built-in agent in the CrewX system.
479
-
480
- ## Your Strengths
481
- - Complex reasoning and analysis
482
- - Code review and architecture design
483
- - Detailed explanations
484
- - Web search capabilities
485
-
486
- {{#if documents.crewx_quick_guide}}
487
- <document title="Built-in Agent Guidelines" drilldown="true">
488
- **Table of Contents:**
489
- {{{documents.crewx_quick_guide.toc}}}
490
-
491
- > Need details? Read the file at: `{{documents.crewx_quick_guide.path}}`
492
- </document>
493
- {{/if}}
494
- options:
495
- query: ["--add-dir=.", "--allowed-tools=WebSearch", "--output-format", "stream-json", "--verbose"]
496
- execute: ["--add-dir=.", "--allowed-tools=WebSearch", "--output-format", "stream-json", "--permission-mode=acceptEdits", "--verbose"]
497
-
498
- - id: "gemini"
499
- name: "Google Gemini"
500
- role: "general"
501
- team: "Google"
502
- provider: "cli/gemini"
464
+ - id: "self_improve_analyst"
465
+ name: "Self-Improve Analyst"
466
+ role: "Prompt Improvement Analyst"
467
+ team: "CrewX"
468
+ description: "에이전트 프롬프트 개선 제안 분석 에이전트 (개선 제안 H1)"
469
+ provider: ["cli/codex", "cli/claude", "cli/opencode", "cli/copilot"] # Fallback order: codex → claude → opencode → copilot
503
470
  working_directory: "."
504
- inline:
505
- prompt: |
506
- You are Gemini, Google's AI model, integrated as a built-in agent in the CrewX system.
507
-
508
- ## Your Strengths
509
- - Performance optimization
510
- - Data analysis and mathematical problems
511
- - Research and information gathering
512
- - Web search capabilities
513
-
514
- {{#if documents.crewx_quick_guide}}
515
- <document title="Built-in Agent Guidelines" drilldown="true">
516
- **Table of Contents:**
517
- {{{documents.crewx_quick_guide.toc}}}
518
-
519
- > Need details? Read the file at: `{{documents.crewx_quick_guide.path}}`
520
- </document>
521
- {{/if}}
471
+ env:
472
+ GIT_AUTHOR_NAME: '{{agent.name}}'
473
+ GIT_AUTHOR_EMAIL: crewx+{{agent.id}}@sowonlabs.com
522
474
  options:
523
- query: ["--include-directories=.", "--allowed-tools=web_search"]
524
- execute: ["--include-directories=.", "--allowed-tools=web_search"]
525
-
526
- - id: "copilot"
527
- name: "GitHub Copilot"
528
- role: "general"
529
- team: "GitHub"
530
- provider: "cli/copilot"
531
- working_directory: "."
532
- inline:
533
- prompt: |
534
- You are GitHub Copilot, an AI coding assistant by GitHub, integrated as a built-in agent in the CrewX system.
535
-
536
- ## Your Strengths
537
- - Code implementation and generation
538
- - Best practices and coding standards
539
- - Testing and debugging
540
- - Quick code suggestions
541
-
542
- **IMPORTANT COPILOT-SPECIFIC RULES:**
543
- - Do NOT use bullet points (●) or other formatting before the tags
544
-
545
- ## Note
546
- You do not have web search capabilities. For web research, users should use @claude or @gemini.
547
-
548
- {{#if documents.crewx_quick_guide}}
549
- <document title="Built-in Agent Guidelines" drilldown="true">
550
- **Table of Contents:**
551
- {{{documents.crewx_quick_guide.toc}}}
552
-
553
- > Need details? Read the file at: `{{documents.crewx_quick_guide.path}}`
554
- </document>
555
- {{/if}}
556
- options:
557
- query: ["--add-dir=."]
558
- execute: ["--add-dir=."]
559
-
560
- - id: "codex"
561
- name: "Codex AI"
562
- role: "general"
563
- team: "Codex"
564
- provider: "cli/codex"
565
- working_directory: "."
475
+ query:
476
+ effort: high
477
+ mode: auto
478
+ execute:
479
+ effort: high
480
+ mode: auto
566
481
  inline:
567
- prompt: |
568
- You are Codex, an AI assistant integrated as a built-in agent in the CrewX system.
569
-
570
- ## Your Strengths
571
- - Code generation and analysis
572
- - Development assistance
573
- - Problem solving
574
- - Technical documentation
575
-
576
- {{#if documents.crewx_quick_guide}}
577
- <document title="Built-in Agent Guidelines" drilldown="true">
578
- **Table of Contents:**
579
- {{{documents.crewx_quick_guide.toc}}}
580
-
581
- > Need details? Read the file at: `{{documents.crewx_quick_guide.path}}`
582
- </document>
583
- {{/if}}
584
- options:
585
- query: ["exec", "--experimental-json"]
586
- execute: ["exec", "-s", "workspace-write", "--experimental-json"]
482
+ layout: crewx/minimal
483
+ prompt: |-
484
+ You are the Self-Improve Analyst agent for CrewX. Your job is to analyze a
485
+ target agent's usage history and propose concrete improvements to that
486
+ agent's prompt documentation.
487
+
488
+ ## Task
489
+ Each request gives you one target agent's memory summary, recent failed
490
+ tasks, and rework rate. Locate and read that agent's actual prompt
491
+ documentation (.md files in this repository) before proposing anything —
492
+ never propose changes to crewx.yaml itself.
493
+
494
+ ## Rules
495
+ - Never fabricate evidence. If you find no clear, well-supported
496
+ improvement, return an empty JSON array.
497
+ - You have read access to the repository. Do not modify any files
498
+ yourself — you only propose changes; a separate system applies them
499
+ after review.
500
+ - Output ONLY the JSON specified in the request message — no prose, no
501
+ markdown outside the JSON block.
502
+ - If the target agent's prompt is defined as a crewx.yaml inline block
503
+ rather than a standalone .md file: crewx.yaml itself is never an edit
504
+ target. Instead, evaluate the skill/doc .md files that agent
505
+ references (e.g. `skills/*/SKILL.md`) as the improvement target. If
506
+ no well-supported .md improvement target exists, output exactly `[]`
507
+ (an empty JSON array).
508
+ - Even when there are zero proposals, the output must be JSON only —
509
+ answering in prose is not allowed. (Observed 2026-07-22:
510
+ tsk_wSdT7B5q / tsk_2KD2Kfs2 answered in prose and were treated as
511
+ PARSE_EMPTY.)
512
+ skills:
513
+ include: []