@almadar/patterns 1.1.0 → 2.0.0
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/LICENSE +21 -72
- package/README.md +25 -0
- package/dist/component-mapping.json +196 -21
- package/dist/event-contracts.json +171 -26
- package/dist/index.d.ts +15246 -7438
- package/dist/index.js +4798 -1469
- package/dist/index.js.map +1 -1
- package/dist/integrators-registry.json +101 -1
- package/dist/patterns-registry.json +4341 -1432
- package/dist/registry.json +4341 -1432
- package/package.json +3 -2
|
@@ -494,7 +494,107 @@
|
|
|
494
494
|
}
|
|
495
495
|
}
|
|
496
496
|
]
|
|
497
|
+
},
|
|
498
|
+
"github": {
|
|
499
|
+
"name": "github",
|
|
500
|
+
"description": "GitHub integration - Git operations and GitHub REST API",
|
|
501
|
+
"category": "devtools",
|
|
502
|
+
"actions": [
|
|
503
|
+
{
|
|
504
|
+
"name": "cloneRepo",
|
|
505
|
+
"description": "Clone a repository",
|
|
506
|
+
"params": [
|
|
507
|
+
{ "name": "repo", "type": "string", "required": true, "description": "Repository URL or owner/repo" },
|
|
508
|
+
{ "name": "branch", "type": "string", "required": false, "description": "Branch to clone" }
|
|
509
|
+
],
|
|
510
|
+
"responseShape": { "path": "string", "branch": "string" }
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"name": "createBranch",
|
|
514
|
+
"description": "Create a new branch",
|
|
515
|
+
"params": [
|
|
516
|
+
{ "name": "repo", "type": "string", "required": true, "description": "Local repo path" },
|
|
517
|
+
{ "name": "branch", "type": "string", "required": true, "description": "Branch name" }
|
|
518
|
+
],
|
|
519
|
+
"responseShape": { "branch": "string" }
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"name": "commit",
|
|
523
|
+
"description": "Commit changes",
|
|
524
|
+
"params": [
|
|
525
|
+
{ "name": "repo", "type": "string", "required": true, "description": "Local repo path" },
|
|
526
|
+
{ "name": "message", "type": "string", "required": true, "description": "Commit message" },
|
|
527
|
+
{ "name": "files", "type": "array", "required": false, "description": "Files to stage" }
|
|
528
|
+
],
|
|
529
|
+
"responseShape": { "hash": "string", "message": "string" }
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"name": "push",
|
|
533
|
+
"description": "Push commits to remote",
|
|
534
|
+
"params": [
|
|
535
|
+
{ "name": "repo", "type": "string", "required": true, "description": "Local repo path" },
|
|
536
|
+
{ "name": "branch", "type": "string", "required": false, "description": "Branch to push" }
|
|
537
|
+
],
|
|
538
|
+
"responseShape": { "success": "boolean" }
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"name": "createPR",
|
|
542
|
+
"description": "Create a pull request",
|
|
543
|
+
"params": [
|
|
544
|
+
{ "name": "title", "type": "string", "required": true, "description": "PR title" },
|
|
545
|
+
{ "name": "body", "type": "string", "required": false, "description": "PR description" },
|
|
546
|
+
{ "name": "head", "type": "string", "required": true, "description": "Head branch" },
|
|
547
|
+
{ "name": "base", "type": "string", "required": false, "description": "Base branch (default: main)" }
|
|
548
|
+
],
|
|
549
|
+
"responseShape": { "number": "number", "url": "string" }
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"name": "getPRComments",
|
|
553
|
+
"description": "Fetch pull request comments",
|
|
554
|
+
"params": [
|
|
555
|
+
{ "name": "prNumber", "type": "number", "required": true, "description": "PR number" }
|
|
556
|
+
],
|
|
557
|
+
"responseShape": { "comments": "array" }
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"name": "listIssues",
|
|
561
|
+
"description": "List issues with optional filters",
|
|
562
|
+
"params": [
|
|
563
|
+
{ "name": "state", "type": "string", "required": false, "description": "Issue state: open, closed, all" },
|
|
564
|
+
{ "name": "labels", "type": "string", "required": false, "description": "Comma-separated label names" }
|
|
565
|
+
],
|
|
566
|
+
"responseShape": { "issues": "array" }
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"name": "getIssue",
|
|
570
|
+
"description": "Get a single issue",
|
|
571
|
+
"params": [
|
|
572
|
+
{ "name": "issueNumber", "type": "number", "required": true, "description": "Issue number" }
|
|
573
|
+
],
|
|
574
|
+
"responseShape": { "title": "string", "body": "string", "state": "string" }
|
|
575
|
+
}
|
|
576
|
+
]
|
|
577
|
+
},
|
|
578
|
+
"cli": {
|
|
579
|
+
"name": "cli",
|
|
580
|
+
"description": "Almadar CLI integration - schema validation and compilation",
|
|
581
|
+
"category": "devtools",
|
|
582
|
+
"actions": [
|
|
583
|
+
{
|
|
584
|
+
"name": "validate",
|
|
585
|
+
"description": "Validate an orbital schema",
|
|
586
|
+
"params": [
|
|
587
|
+
{ "name": "schema", "type": "string", "required": true, "description": "Schema content to validate" }
|
|
588
|
+
],
|
|
589
|
+
"responseShape": {
|
|
590
|
+
"valid": "boolean",
|
|
591
|
+
"errors": "array",
|
|
592
|
+
"warnings": "array",
|
|
593
|
+
"summary": "string"
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
]
|
|
497
597
|
}
|
|
498
598
|
},
|
|
499
|
-
"categories": ["media", "payment", "messaging", "ai"]
|
|
599
|
+
"categories": ["media", "payment", "messaging", "ai", "devtools"]
|
|
500
600
|
}
|