@crewx/sdk 0.9.0-rc.32 → 0.9.0-rc.33
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/dist/esm/index.js +39 -39
- package/dist/index.js +42 -42
- package/dist/provider/provider-selection.d.ts +8 -0
- package/package.json +1 -1
- package/templates/agents/default.yaml +42 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CliProviderAdapter } from './cli/adapter.types.js';
|
|
2
|
+
export declare function lookupCliAdapter(providerStr: string): CliProviderAdapter | undefined;
|
|
3
|
+
export type ProviderAvailabilityDeps = {
|
|
4
|
+
lookupAdapter?: (providerStr: string) => CliProviderAdapter | undefined;
|
|
5
|
+
env?: NodeJS.ProcessEnv;
|
|
6
|
+
};
|
|
7
|
+
export declare function isProviderAvailable(providerStr: string, deps?: ProviderAvailabilityDeps): boolean;
|
|
8
|
+
export declare function selectAvailableProvider(providers: string | string[], deps?: ProviderAvailabilityDeps): string;
|
package/package.json
CHANGED
|
@@ -433,7 +433,7 @@ agents:
|
|
|
433
433
|
name: "CrewX Assistant"
|
|
434
434
|
role: "assistant"
|
|
435
435
|
team: "CrewX"
|
|
436
|
-
provider: ["cli/codex", "cli/claude", "cli/opencode", "cli/
|
|
436
|
+
provider: ["cli/codex", "cli/claude", "cli/opencode", "cli/copilot"] # Fallback order: codex → claude → opencode → copilot
|
|
437
437
|
working_directory: "."
|
|
438
438
|
# Note: Uses provider array for automatic fallback when no model is specified
|
|
439
439
|
inline:
|
|
@@ -584,3 +584,44 @@ agents:
|
|
|
584
584
|
options:
|
|
585
585
|
query: ["exec", "--experimental-json"]
|
|
586
586
|
execute: ["exec", "-s", "workspace-write", "--experimental-json"]
|
|
587
|
+
|
|
588
|
+
- id: "self_improve_analyst"
|
|
589
|
+
name: "Self-Improve Analyst"
|
|
590
|
+
role: "Prompt Improvement Analyst"
|
|
591
|
+
team: "CrewX"
|
|
592
|
+
description: "에이전트 프롬프트 개선 제안 분석 에이전트 (개선 제안 H1)"
|
|
593
|
+
provider: ["cli/codex", "cli/claude", "cli/opencode", "cli/copilot"] # Fallback order: codex → claude → opencode → copilot
|
|
594
|
+
working_directory: "."
|
|
595
|
+
env:
|
|
596
|
+
GIT_AUTHOR_NAME: '{{agent.name}}'
|
|
597
|
+
GIT_AUTHOR_EMAIL: crewx+{{agent.id}}@sowonlabs.com
|
|
598
|
+
options:
|
|
599
|
+
query:
|
|
600
|
+
effort: high
|
|
601
|
+
mode: auto
|
|
602
|
+
execute:
|
|
603
|
+
effort: high
|
|
604
|
+
mode: auto
|
|
605
|
+
inline:
|
|
606
|
+
layout: crewx/minimal
|
|
607
|
+
prompt: |-
|
|
608
|
+
You are the Self-Improve Analyst agent for CrewX. Your job is to analyze a
|
|
609
|
+
target agent's usage history and propose concrete improvements to that
|
|
610
|
+
agent's prompt documentation.
|
|
611
|
+
|
|
612
|
+
## Task
|
|
613
|
+
Each request gives you one target agent's memory summary, recent failed
|
|
614
|
+
tasks, and rework rate. Locate and read that agent's actual prompt
|
|
615
|
+
documentation (.md files in this repository) before proposing anything —
|
|
616
|
+
never propose changes to crewx.yaml itself.
|
|
617
|
+
|
|
618
|
+
## Rules
|
|
619
|
+
- Never fabricate evidence. If you find no clear, well-supported
|
|
620
|
+
improvement, return an empty JSON array.
|
|
621
|
+
- You have read access to the repository. Do not modify any files
|
|
622
|
+
yourself — you only propose changes; a separate system applies them
|
|
623
|
+
after review.
|
|
624
|
+
- Output ONLY the JSON specified in the request message — no prose, no
|
|
625
|
+
markdown outside the JSON block.
|
|
626
|
+
skills:
|
|
627
|
+
include: []
|