@sowonai/crewx-cli 0.4.0-dev.43 → 0.4.0-dev.45
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": "@sowonai/crewx-cli",
|
|
3
|
-
"version": "0.4.0-dev.
|
|
3
|
+
"version": "0.4.0-dev.45",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "SowonAI CrewX CLI - Bring Your Own AI(BYOA) team in Slack/IDE(MCP) with your existing subscriptions",
|
|
6
6
|
"private": false,
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@sowonai/crewx-sdk": "^0.1.0-dev.
|
|
39
|
+
"@sowonai/crewx-sdk": "^0.1.0-dev.30",
|
|
40
40
|
"@sowonai/nestjs-mcp-adapter": "^0.1.3",
|
|
41
41
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
42
42
|
"@nestjs/common": "^11.0.0",
|
|
@@ -456,14 +456,14 @@ documents:
|
|
|
456
456
|
```
|
|
457
457
|
|
|
458
458
|
### Document Levels
|
|
459
|
-
|
|
460
|
-
2. `agents.yaml` documents: - Project documents
|
|
461
|
-
3. `agent.inline.documents` - Agent-specific
|
|
459
|
+
`crewx.yaml` documents: - Project documents
|
|
462
460
|
|
|
463
461
|
### Template Variables
|
|
462
|
+
{{{{raw}}}}
|
|
464
463
|
- `{{{documents.name.content}}}` - Full content
|
|
465
464
|
- `{{{documents.name.toc}}}` - Table of contents
|
|
466
465
|
- `{{documents.name.summary}}` - Summary
|
|
466
|
+
{{{{/raw}}}}
|
|
467
467
|
|
|
468
468
|
## Dynamic Template System
|
|
469
469
|
|
|
@@ -472,22 +472,29 @@ documents:
|
|
|
472
472
|
### Available Context
|
|
473
473
|
|
|
474
474
|
**Agent Self-Information:**
|
|
475
|
+
{{{{raw}}}}
|
|
475
476
|
- `{{agent.id}}` - Agent ID (e.g., "claude", "my_agent")
|
|
476
477
|
- `{{agent.name}}` - Agent name (e.g., "Claude AI")
|
|
477
478
|
- `{{agent.provider}}` - AI provider (claude, gemini, copilot)
|
|
478
479
|
- `{{agent.model}}` - Model name (sonnet, haiku, opus)
|
|
479
480
|
- `{{agent.workingDirectory}}` - Working directory path
|
|
481
|
+
{{{{/raw}}}}
|
|
480
482
|
|
|
481
483
|
**Environment Variables:**
|
|
484
|
+
{{{{raw}}}}
|
|
482
485
|
- `{{env.VAR_NAME}}` - Any environment variable
|
|
483
486
|
- `{{env.NODE_ENV}}` - Common: production, development
|
|
484
487
|
- `{{env.DEBUG}}` - Debug flag
|
|
488
|
+
{{{{/raw}}}}
|
|
485
489
|
|
|
486
490
|
**Other Context:**
|
|
491
|
+
{{{{raw}}}}
|
|
487
492
|
- `{{mode}}` - 'query' or 'execute'
|
|
488
493
|
- `{{vars.customKey}}` - Custom variables
|
|
494
|
+
{{{{/raw}}}}
|
|
489
495
|
|
|
490
496
|
### Example: Agent Self-Awareness
|
|
497
|
+
{{{{raw}}}}
|
|
491
498
|
```yaml
|
|
492
499
|
agents:
|
|
493
500
|
- id: "my_agent"
|
|
@@ -506,8 +513,10 @@ documents:
|
|
|
506
513
|
Provide detailed, comprehensive analysis.
|
|
507
514
|
{{/if}}
|
|
508
515
|
```
|
|
516
|
+
{{{{/raw}}}}
|
|
509
517
|
|
|
510
518
|
### Conditional Logic
|
|
519
|
+
{{{{raw}}}}
|
|
511
520
|
```yaml
|
|
512
521
|
prompt: |
|
|
513
522
|
{{#if (eq env.NODE_ENV "production")}}
|
|
@@ -526,6 +535,7 @@ documents:
|
|
|
526
535
|
Deep analysis mode
|
|
527
536
|
{{/if}}
|
|
528
537
|
```
|
|
538
|
+
{{{{/raw}}}}
|
|
529
539
|
|
|
530
540
|
### Helpers Available
|
|
531
541
|
- `(eq a b)` - Equality
|
|
@@ -536,6 +546,7 @@ documents:
|
|
|
536
546
|
- `(contains array value)` - Array contains
|
|
537
547
|
|
|
538
548
|
### Example: Environment-Aware Agent
|
|
549
|
+
{{{{raw}}}}
|
|
539
550
|
```yaml
|
|
540
551
|
agents:
|
|
541
552
|
- id: "smart_agent"
|
|
@@ -554,6 +565,7 @@ documents:
|
|
|
554
565
|
Provider: {{agent.provider}}
|
|
555
566
|
Model: {{agent.model}}
|
|
556
567
|
```
|
|
568
|
+
{{{{/raw}}}}
|
|
557
569
|
|
|
558
570
|
Set environment variables:
|
|
559
571
|
```bash
|