chainlesschain 0.37.11 → 0.37.12
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/README.md +160 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -482,6 +482,162 @@ chainlesschain plugin summary # Installation summary
|
|
|
482
482
|
|
|
483
483
|
---
|
|
484
484
|
|
|
485
|
+
## Project Initialization & Collaboration
|
|
486
|
+
|
|
487
|
+
### `chainlesschain init`
|
|
488
|
+
|
|
489
|
+
Initialize a new ChainlessChain project.
|
|
490
|
+
|
|
491
|
+
```bash
|
|
492
|
+
chainlesschain init # Interactive project init
|
|
493
|
+
chainlesschain init --bare # Minimal project structure
|
|
494
|
+
chainlesschain init --template code-project --yes # Use template, skip prompts
|
|
495
|
+
```
|
|
496
|
+
|
|
497
|
+
### `chainlesschain cowork <action>`
|
|
498
|
+
|
|
499
|
+
Multi-agent collaboration for code review and analysis.
|
|
500
|
+
|
|
501
|
+
```bash
|
|
502
|
+
chainlesschain cowork debate <file> # Multi-perspective code review
|
|
503
|
+
chainlesschain cowork compare <prompt> # A/B solution comparison
|
|
504
|
+
chainlesschain cowork analyze <path> # Code analysis (style/knowledge-graph/decisions)
|
|
505
|
+
chainlesschain cowork status # Show cowork status
|
|
506
|
+
```
|
|
507
|
+
|
|
508
|
+
---
|
|
509
|
+
|
|
510
|
+
## Phase 6: AI Core (Hooks, Workflow, Memory, A2A)
|
|
511
|
+
|
|
512
|
+
### `chainlesschain hook <action>`
|
|
513
|
+
|
|
514
|
+
Event hook management for extensibility.
|
|
515
|
+
|
|
516
|
+
```bash
|
|
517
|
+
chainlesschain hook list # List registered hooks
|
|
518
|
+
chainlesschain hook add --event PreToolUse --type sync --command "echo check"
|
|
519
|
+
chainlesschain hook remove <id> # Remove a hook
|
|
520
|
+
chainlesschain hook run PreToolUse # Execute hooks for event
|
|
521
|
+
chainlesschain hook stats # Hook execution statistics
|
|
522
|
+
```
|
|
523
|
+
|
|
524
|
+
### `chainlesschain workflow <action>`
|
|
525
|
+
|
|
526
|
+
DAG-based workflow orchestration engine.
|
|
527
|
+
|
|
528
|
+
```bash
|
|
529
|
+
chainlesschain workflow create --name "pipeline" --stages '[...]'
|
|
530
|
+
chainlesschain workflow list # List workflows
|
|
531
|
+
chainlesschain workflow run <id> # Execute workflow
|
|
532
|
+
chainlesschain workflow status <id> # Check workflow status
|
|
533
|
+
chainlesschain workflow templates # List 5 built-in templates
|
|
534
|
+
```
|
|
535
|
+
|
|
536
|
+
### `chainlesschain hmemory <action>`
|
|
537
|
+
|
|
538
|
+
Hierarchical memory system (working → short-term → long-term).
|
|
539
|
+
|
|
540
|
+
```bash
|
|
541
|
+
chainlesschain hmemory store "fact" --importance 0.8 # Store memory
|
|
542
|
+
chainlesschain hmemory recall --layer long-term # Recall memories
|
|
543
|
+
chainlesschain hmemory consolidate # Promote memories across layers
|
|
544
|
+
chainlesschain hmemory stats # Memory statistics
|
|
545
|
+
```
|
|
546
|
+
|
|
547
|
+
### `chainlesschain a2a <action>`
|
|
548
|
+
|
|
549
|
+
Agent-to-Agent protocol for multi-agent collaboration.
|
|
550
|
+
|
|
551
|
+
```bash
|
|
552
|
+
chainlesschain a2a register --name "agent1" --capabilities '["code"]'
|
|
553
|
+
chainlesschain a2a list # List registered agents
|
|
554
|
+
chainlesschain a2a discover --capability code # Find agents by capability
|
|
555
|
+
chainlesschain a2a submit <agent> "task" # Submit task to agent
|
|
556
|
+
chainlesschain a2a status <task-id> # Check task status
|
|
557
|
+
```
|
|
558
|
+
|
|
559
|
+
---
|
|
560
|
+
|
|
561
|
+
## Phase 7: Security & Evolution
|
|
562
|
+
|
|
563
|
+
### `chainlesschain sandbox <action>`
|
|
564
|
+
|
|
565
|
+
Secure sandbox execution environment.
|
|
566
|
+
|
|
567
|
+
```bash
|
|
568
|
+
chainlesschain sandbox create --name "test" # Create sandbox
|
|
569
|
+
chainlesschain sandbox list # List sandboxes
|
|
570
|
+
chainlesschain sandbox exec <id> "command" # Execute in sandbox
|
|
571
|
+
chainlesschain sandbox audit <id> # View audit log
|
|
572
|
+
chainlesschain sandbox destroy <id> # Destroy sandbox
|
|
573
|
+
```
|
|
574
|
+
|
|
575
|
+
### `chainlesschain evolution <action>`
|
|
576
|
+
|
|
577
|
+
Self-evolving AI capability assessment and learning.
|
|
578
|
+
|
|
579
|
+
```bash
|
|
580
|
+
chainlesschain evolution assess code-generation # Assess capability
|
|
581
|
+
chainlesschain evolution diagnose # Self-diagnosis
|
|
582
|
+
chainlesschain evolution learn --domain nlp # Incremental learning
|
|
583
|
+
chainlesschain evolution status # Evolution status
|
|
584
|
+
```
|
|
585
|
+
|
|
586
|
+
---
|
|
587
|
+
|
|
588
|
+
## Phase 8: Blockchain & Enterprise Analytics
|
|
589
|
+
|
|
590
|
+
### `chainlesschain economy <action>`
|
|
591
|
+
|
|
592
|
+
Agent economy and micropayment system.
|
|
593
|
+
|
|
594
|
+
```bash
|
|
595
|
+
chainlesschain economy pay <from> <to> 100 # Agent micropayment
|
|
596
|
+
chainlesschain economy balance <agent> # Check balance
|
|
597
|
+
chainlesschain economy market list # Browse resource market
|
|
598
|
+
chainlesschain economy nft mint <agent> # Mint contribution NFT
|
|
599
|
+
```
|
|
600
|
+
|
|
601
|
+
### `chainlesschain zkp <action>`
|
|
602
|
+
|
|
603
|
+
Zero-Knowledge Proof engine.
|
|
604
|
+
|
|
605
|
+
```bash
|
|
606
|
+
chainlesschain zkp compile --name "age-proof" # Compile ZKP circuit
|
|
607
|
+
chainlesschain zkp prove <circuit> --witness '{}' # Generate proof
|
|
608
|
+
chainlesschain zkp verify <circuit> <proof> # Verify proof
|
|
609
|
+
chainlesschain zkp list # List circuits
|
|
610
|
+
```
|
|
611
|
+
|
|
612
|
+
### `chainlesschain bi <action>`
|
|
613
|
+
|
|
614
|
+
Business Intelligence with natural language queries.
|
|
615
|
+
|
|
616
|
+
```bash
|
|
617
|
+
chainlesschain bi query "show monthly revenue" # NL→SQL query
|
|
618
|
+
chainlesschain bi dashboard create --name "KPI" # Create dashboard
|
|
619
|
+
chainlesschain bi dashboard list # List dashboards
|
|
620
|
+
chainlesschain bi anomaly --metric sales # Z-score anomaly detection
|
|
621
|
+
```
|
|
622
|
+
|
|
623
|
+
---
|
|
624
|
+
|
|
625
|
+
## Phase 9: Low-Code Platform
|
|
626
|
+
|
|
627
|
+
### `chainlesschain lowcode <action>`
|
|
628
|
+
|
|
629
|
+
Visual low-code application builder.
|
|
630
|
+
|
|
631
|
+
```bash
|
|
632
|
+
chainlesschain lowcode create --name "app1" # Create app
|
|
633
|
+
chainlesschain lowcode list # List apps
|
|
634
|
+
chainlesschain lowcode components # List 15+ components
|
|
635
|
+
chainlesschain lowcode preview <id> # Preview app
|
|
636
|
+
chainlesschain lowcode publish <id> # Publish app
|
|
637
|
+
```
|
|
638
|
+
|
|
639
|
+
---
|
|
640
|
+
|
|
485
641
|
## Global Options
|
|
486
642
|
|
|
487
643
|
```bash
|
|
@@ -554,7 +710,7 @@ Configuration is stored at `~/.chainlesschain/config.json`. The CLI creates and
|
|
|
554
710
|
```bash
|
|
555
711
|
cd packages/cli
|
|
556
712
|
npm install
|
|
557
|
-
npm test # Run all tests (
|
|
713
|
+
npm test # Run all tests (1429 tests across 67 files)
|
|
558
714
|
npm run test:unit # Unit tests only
|
|
559
715
|
npm run test:integration # Integration tests
|
|
560
716
|
npm run test:e2e # End-to-end tests
|
|
@@ -564,13 +720,13 @@ npm run test:e2e # End-to-end tests
|
|
|
564
720
|
|
|
565
721
|
| Category | Files | Tests | Status |
|
|
566
722
|
| ------------------------ | ------ | -------- | --------------- |
|
|
567
|
-
| Unit — lib modules |
|
|
568
|
-
| Unit — commands |
|
|
723
|
+
| Unit — lib modules | 44 | 892 | All passing |
|
|
724
|
+
| Unit — commands | 10 | 213 | All passing |
|
|
569
725
|
| Unit — runtime | 1 | 6 | All passing |
|
|
570
726
|
| Integration | 3 | 7 | All passing |
|
|
571
727
|
| E2E | 10 | 109 | All passing |
|
|
572
728
|
| Core packages (external) | — | 118 | All passing |
|
|
573
|
-
| **CLI Total** | **
|
|
729
|
+
| **CLI Total** | **67** | **1429** | **All passing** |
|
|
574
730
|
|
|
575
731
|
## License
|
|
576
732
|
|