@nibgat/nmcp 2.0.0 → 2.0.3

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.
@@ -95,7 +95,7 @@ export const PUBLIC_ECOSYSTEM_SERVICES = [
95
95
  domain: "ncore.nibgat.space",
96
96
  url: "https://ncore.nibgat.space",
97
97
  category: "developer",
98
- description: "Cross-platform React Native & Web design system, theme tokens, localization, and component library.",
98
+ description: "Cross-platform React Native & Web design system (v2.0 Beta, 130+ components), theme tokens, localization, AI skill, @nibgat/ncore-agent, and Agent Bridge / WebMCP.",
99
99
  docsUrl: "https://ncore.nibgat.space"
100
100
  },
101
101
  {
@@ -129,18 +129,18 @@ export const PUBLIC_ECOSYSTEM_SERVICES = [
129
129
  id: "nbuyment",
130
130
  name: "N - Buyment — Unified Billing, Wallet & e-Invoicing",
131
131
  domain: "buyment.nibgat.space",
132
- url: "https://buyment.nibgat.space",
132
+ url: "https://buyment.nibgat.space/console",
133
133
  category: "commerce",
134
- description: "Unified commerce, TRY prepaid wallet, subscriptions, PayTR & Bank Transfer checkout, and automated e-Invoice/e-Archive portal.",
134
+ description: "Unified commerce, TRY prepaid wallet, cart & coupons, subscriptions, PayTR & Bank Transfer checkout, and official e-Invoice/e-Archive portal (Landing at /, Console at /console).",
135
135
  docsUrl: "https://docs.nibgat.space/api/buyment"
136
136
  },
137
137
  {
138
138
  id: "ncloud",
139
139
  name: "N - Cloud — Cloud Infrastructure & Physical Hardware",
140
140
  domain: "cloud.nibgat.space",
141
- url: "https://cloud.nibgat.space",
141
+ url: "https://cloud.nibgat.space/console",
142
142
  category: "cloud",
143
- description: "Turkey-first cloud platform (N - Compute, N - Run, N - Storage, N - Net, N - Vault) and physical hardware rental/sales (N - Metal & N - Hardware).",
143
+ description: "Istanbul (tr-ist-1) cloud platform (NC - Pulse, Rig, Flux, Hive, Crate/Lock, Safe, Prism · Mesh · Route), browser VNC, private S3 snapshots, audit logs, and physical hardware (NC - Iron & Forge). Landing at /, Console at /console.",
144
144
  docsUrl: "https://docs.nibgat.space/api/cloud"
145
145
  }
146
146
  ];
@@ -474,7 +474,7 @@ export const NCLI_COMMAND_GUIDES = {
474
474
  },
475
475
  buyment: {
476
476
  topic: "buyment",
477
- summary: "Inspect N - Buyment catalog, prepaid TRY wallet balance, top-ups, subscriptions, orders, and Trendyol e-Fatura/e-Arşiv invoices.",
477
+ summary: "Inspect N - Buyment catalog, prepaid TRY wallet balance, top-ups, subscriptions, orders, and official e-Fatura/e-Arşiv invoices.",
478
478
  docsUrl: "https://docs.nibgat.space/api/buyment",
479
479
  prerequisites: [
480
480
  "Authenticated N - Auth SSO session or Core Complex Bearer token for personal billing endpoints"
@@ -503,11 +503,11 @@ export const NCLI_COMMAND_GUIDES = {
503
503
  },
504
504
  cloud: {
505
505
  topic: "cloud",
506
- summary: "List global N - Cloud regions (Istanbul tr-ist-1 active; EU/US/AP coming soon), deploy N - Compute servers, manage S3/VPC/Container resources, and order physical hardware.",
506
+ summary: "List global N - Cloud regions (Istanbul tr-ist-1 active; EU/US/AP coming soon), deploy NC - Pulse/Rig servers and NC - Flux/Hive/Crate/Safe/Prism resources, open VNC console, manage paid private S3 snapshots, inspect audit logs, and order NC - Iron/Forge hardware.",
507
507
  docsUrl: "https://docs.nibgat.space/api/cloud",
508
508
  prerequisites: [
509
509
  "Authenticated N - Auth session",
510
- "Sufficient N - Buyment TRY wallet balance for paid server deployments"
510
+ "Sufficient N - Buyment TRY wallet balance for paid server deployments and snapshots"
511
511
  ],
512
512
  recipes: [
513
513
  {
@@ -516,128 +516,178 @@ export const NCLI_COMMAND_GUIDES = {
516
516
  },
517
517
  {
518
518
  command: "ncli cloud catalog --region tr-ist-1",
519
- description: "List live N - Compute, N - Storage, N - Metal, and N - Hardware catalog items with TRY pricing."
519
+ description: "List live NC - Pulse, Rig, Flux, Hive, Crate/Lock, Safe, Prism, and NC - Iron/Forge catalog items with TRY pricing."
520
520
  },
521
521
  {
522
- command: "ncli cloud servers create --name ist-api-01 --plan ist-c2-m4 --region tr-ist-1",
523
- description: "Provision a new N - Compute server in Istanbul."
522
+ command: "ncli cloud servers create --name ist-api-01 --plan nc-rig-2c4g --region tr-ist-1",
523
+ description: "Provision a new NC - Pulse or NC - Rig server in Istanbul."
524
524
  },
525
525
  {
526
526
  command: "ncli cloud servers power <id> --action reboot",
527
- description: "Execute start, stop, reboot, or poweroff power actions."
527
+ description: "Execute start, stop, reboot, or poweroff power actions via NİBGAT control plane."
528
528
  },
529
529
  {
530
- command: "ncli cloud hardware order --item nmtl-epyc12 --delivery colocation_ist1",
531
- description: "Submit an N - Metal bare-metal rental or N - Hardware purchase order."
530
+ command: "ncli cloud servers vnc <id>",
531
+ description: "Generate a single-use browser VNC console link for an active server."
532
+ },
533
+ {
534
+ command: "ncli cloud snapshots create <id> --label pre-deploy",
535
+ description: "Create a paid server snapshot in customer-isolated private S3 storage (list/restore/delete also supported)."
536
+ },
537
+ {
538
+ command: "ncli cloud logs --limit 25",
539
+ description: "Inspect persistent N - Cloud activity and audit logs across Web, CLI, and MCP."
540
+ },
541
+ {
542
+ command: "ncli cloud resources create --type serverless --name api-flux-01 --vcpu 1 --ram-gb 2 --replicas 1 --daily-hours 24",
543
+ description: "Provision an NC - Flux serverless container, NC - Hive cluster, NC - Crate/Lock bucket, NC - Safe vault, or NC - Prism/Mesh/Route resource."
544
+ },
545
+ {
546
+ command: "ncli cloud hardware order --item nc-iron-epyc12 --delivery colocation_ist1",
547
+ description: "Submit an NC - Iron bare-metal rental or NC - Forge purchase order."
548
+ },
549
+ {
550
+ command: "ncli cloud hardware cancel <orderId> --confirm",
551
+ description: "Cancel an unpaid pending NC - Iron / NC - Forge hardware order."
532
552
  }
533
553
  ],
534
554
  securityNotes: [
535
- "Regions marked coming_soon reject provisioning requests with HTTP 422 until activated."
555
+ "Regions marked coming_soon reject provisioning requests with HTTP 422 until activated.",
556
+ "All cloud control-plane mutations flow strictly through core.nibgat.space/ncloud and are recorded in persistent audit logs."
536
557
  ]
537
558
  }
538
559
  };
539
- export const RESOURCE_ECOSYSTEM_ARCHITECTURE = `# NİBGAT® Core Complex — Public Architecture Overview
540
-
541
- ## 1. Domain & Service Map
542
- - **https://nibgat.space** — Corporate & public product showcase.
543
- - **https://core.nibgat.space** — Central Core Complex API Gateway (NGate) serving:
544
- - \`/healthcheck\` — Gateway liveness & readiness probe
545
- - \`/nauth/*\` — Identity, SSO sessions, OAuth 2.0, MFA/2FA
546
- - \`/nchar/*\` — User profile management & public developer profiles
547
- - \`/nnotifier/*\` — N - Mail domains, mailboxes, webmail, and user notifications
548
- - \`/front/*\` — Public announcements, products, legal documents, and N - Support tickets
549
- - \`/organization/*\` & \`/static-data/*\` — Public organization metadata and reference data
550
- - **https://nauth.nibgat.space** — N - Auth web login & SSO portal.
551
- - **https://nchar.nibgat.space** — N - Char account & profile portal.
552
- - **https://git.nibgat.space** — N - Git v2.0 platform:
553
- - Git Smart HTTP & SSH repository hosting
554
- - REST API at \`/api/v1/*\` (repos, issues, PRs, releases, deployments, runners, tokens, webhooks)
555
- - OCI Container Registry v2 at \`/v2/*\`
556
- - **https://mail.nibgat.space** — N - Mail webmail and mail domain workspace.
557
- - **https://support.nibgat.space** — N - Support ticket management portal.
558
- - **https://dashboard.nibgat.space** — Developer & user workspace dashboard.
559
- - **https://fonts.nibgat.space** — N - Font self-hosted typography CDN.
560
- - **https://cdn.nibgat.space** — Public edge CDN for media and static assets.
561
- - **https://ncore.nibgat.space** — NCore UI Kit 2.0 documentation & design system showcase.
562
- - **https://docs.nibgat.space** — Central developer documentation hub.
563
- - **https://cli.nibgat.space** — Official \`ncli\` CLI portal.
564
- - **https://mcp.nibgat.space** — Official \`nmcp\` MCP server portal.
565
-
566
- ## 2. Authentication & Security Boundaries
567
- 1. **N - Auth SSO Cookie (\`nauth_sso_sid\`)**: HttpOnly, SameSite=Lax, Secure cookie shared across trusted \`*.nibgat.space\` web origins.
568
- 2. **Bearer Access Tokens**: Supported by Core Complex SSO/API endpoints (\`Authorization: Bearer <token>\`).
569
- 3. **N - Git Personal Access Tokens (\`ngit_pat_*\`)**: SHA-256 hashed in RethinkDB, scoped (\`repo:read\`, \`repo:write\`, \`registry:read\`, \`registry:write\`).
570
- 4. **N - Git Runner Tokens (\`ngit_run_*\`)**: Repository-scoped runner authentication for self-hosted CI/CD runners.
571
- 5. **Local Encrypted Credential Vault**: \`ncli\` stores local credentials in \`~/.ncli/credentials.enc\` encrypted with AES-256-GCM; \`nmcp\` reuses this vault in read-only mode and redacts all secret material before returning tool outputs.
572
-
573
- ## 3. Release-to-Deploy CI/CD Flow
574
- 1. Developer commits a validated \`.ngit-deploy.json\` manifest at the repository root.
575
- 2. Developer publishes a release via \`ncli release create\` or \`ngit_release_create\`.
576
- 3. N - Git creates the annotated tag and dispatches an HMAC-SHA256 signed \`X-NGit-Signature-256\` webhook to the deployer / self-hosted runner.
577
- 4. For \`docker\` pipelines: runner exports the exact Git archive, builds the container image, pushes \`git.nibgat.space/<owner>/<image>:<tag>\` and \`:latest\`, and performs a zero-downtime Docker Compose container recreate.
578
- 5. For \`static\` pipelines: runner installs dependencies, runs the allowlisted \`buildScript\`, and atomically syncs \`distDir\` to \`/var/www/<site>\` via \`rsync -a --delete\`.
579
- 6. Live stage transitions and logs stream to \`GET /api/v1/repos/:owner/:repo/deployments\`.
560
+ export const RESOURCE_ECOSYSTEM_ARCHITECTURE = `# NİBGAT® Core Complex — Public Architecture Overview
561
+
562
+ ## 1. Domain & Service Map
563
+ - **https://nibgat.space** — Corporate & public product showcase.
564
+ - **https://core.nibgat.space** — Central Core Complex API Gateway (NGate) serving:
565
+ - \`/healthcheck\` — Gateway liveness & readiness probe
566
+ - \`/nauth/*\` — Identity, SSO sessions, OAuth 2.0, MFA/2FA
567
+ - \`/nchar/*\` — User profile management & public developer profiles
568
+ - \`/nnotifier/*\` — N - Mail domains, mailboxes, webmail, and user notifications
569
+ - \`/front/*\` — Public announcements, products, legal documents, and N - Support tickets
570
+ - \`/organization/*\` & \`/static-data/*\` — Public organization metadata and reference data
571
+ - **https://nauth.nibgat.space** — N - Auth web login & SSO portal.
572
+ - **https://nchar.nibgat.space** — N - Char account & profile portal.
573
+ - **https://git.nibgat.space** — N - Git v2.0 platform:
574
+ - Git Smart HTTP & SSH repository hosting
575
+ - REST API at \`/api/v1/*\` (repos, issues, PRs, releases, deployments, runners, tokens, webhooks)
576
+ - OCI Container Registry v2 at \`/v2/*\`
577
+ - **https://mail.nibgat.space** — N - Mail webmail and mail domain workspace.
578
+ - **https://support.nibgat.space** — N - Support ticket management portal.
579
+ - **https://dashboard.nibgat.space** — Developer & user workspace dashboard.
580
+ - **https://fonts.nibgat.space** — N - Font self-hosted typography CDN.
581
+ - **https://cdn.nibgat.space** — Public edge CDN for media and static assets.
582
+ - **https://ncore.nibgat.space** — NCore UI Kit 2.0 documentation & design system showcase.
583
+ - **https://docs.nibgat.space** — Central developer documentation hub.
584
+ - **https://cli.nibgat.space** — Official \`ncli\` CLI portal.
585
+ - **https://mcp.nibgat.space** — Official \`nmcp\` MCP server portal.
586
+
587
+ ## 2. Authentication & Security Boundaries
588
+ 1. **N - Auth SSO Cookie (\`nauth_sso_sid\`)**: HttpOnly, SameSite=Lax, Secure cookie shared across trusted \`*.nibgat.space\` web origins.
589
+ 2. **Bearer Access Tokens**: Supported by Core Complex SSO/API endpoints (\`Authorization: Bearer <token>\`).
590
+ 3. **N - Git Personal Access Tokens (\`ngit_pat_*\`)**: SHA-256 hashed in RethinkDB, scoped (\`repo:read\`, \`repo:write\`, \`registry:read\`, \`registry:write\`).
591
+ 4. **N - Git Runner Tokens (\`ngit_run_*\`)**: Repository-scoped runner authentication for self-hosted CI/CD runners.
592
+ 5. **Local Encrypted Credential Vault**: \`ncli\` stores local credentials in \`~/.ncli/credentials.enc\` encrypted with AES-256-GCM; \`nmcp\` reuses this vault in read-only mode and redacts all secret material before returning tool outputs.
593
+
594
+ ## 3. Release-to-Deploy CI/CD Flow
595
+ 1. Developer commits a validated \`.ngit-deploy.json\` manifest at the repository root.
596
+ 2. Developer publishes a release via \`ncli release create\` or \`ngit_release_create\`.
597
+ 3. N - Git creates the annotated tag and dispatches an HMAC-SHA256 signed \`X-NGit-Signature-256\` webhook to the deployer / self-hosted runner.
598
+ 4. For \`docker\` pipelines: runner exports the exact Git archive, builds the container image, pushes \`git.nibgat.space/<owner>/<image>:<tag>\` and \`:latest\`, and performs a zero-downtime Docker Compose container recreate.
599
+ 5. For \`static\` pipelines: runner installs dependencies, runs the allowlisted \`buildScript\`, and atomically syncs \`distDir\` to \`/var/www/<site>\` via \`rsync -a --delete\`.
600
+ 6. Live stage transitions and logs stream to \`GET /api/v1/repos/:owner/:repo/deployments\`.
580
601
  `;
581
- export const RESOURCE_CLI_REFERENCE = `# ncli — Official NİBGAT Core Complex CLI Reference
582
-
583
- Documentation: https://docs.nibgat.space/cli
584
-
585
- ## Installation
586
- \`\`\`bash
587
- npm install -g @nibgat/ncli
588
- # or run on demand:
589
- npx @nibgat/ncli --help
590
- \`\`\`
591
-
592
- ## Global Flags & Environment Variables
593
- - \`--profile <name>\` / \`NCLI_PROFILE\`: Select named credential profile (default: \`default\`).
594
- - \`--core-url <url>\` / \`NCLI_CORE_URL\`: Override Core Complex API URL (default: \`https://core.nibgat.space\`).
595
- - \`--git-url <url>\` / \`NCLI_GIT_URL\`: Override N - Git API URL (default: \`https://git.nibgat.space\`).
596
- - \`NCLI_TOKEN\`: Bearer token for Core Complex APIs (takes precedence over vault).
597
- - \`NGIT_TOKEN\`: N - Git Personal Access Token (\`ngit_pat_*\`) for git.nibgat.space APIs.
598
- - \`NCLI_SESSION_COOKIE\`: Active N - Auth SSO session token/cookie for SSO endpoints.
599
- - \`--json\`: Machine-readable JSON output.
600
-
601
- ## Command Tree
602
- ### Authentication & Profiles
603
- - \`ncli auth login [--profile <name>] [--token <pat>]\`
604
- - \`ncli auth status [--json]\`
605
- - \`ncli auth switch <profile>\`
606
- - \`ncli auth logout [--all]\`
607
-
608
- ### Profile (N - Char)
609
- - \`ncli profile me\`
610
- - \`ncli profile show <username>\`
611
-
612
- ### N - Git Repositories, Issues & Releases
613
- - \`ncli git repos list [--owner <slug>] [--query <q>]\`
614
- - \`ncli git repo info <owner>/<repo>\`
615
- - \`ncli git issues list <owner>/<repo> [--kind issue|pr] [--state open|closed|all]\`
616
- - \`ncli git issues create <owner>/<repo> --title <t> --body <b>\`
617
- - \`ncli release list <owner>/<repo>\`
618
- - \`ncli release create <owner>/<repo> --tag <vX.Y.Z> [--target main] [--title <t>] [--notes <md>]\`
619
-
620
- ### Pipelines & Deployments
621
- - \`ncli pipeline init --type docker|static [...]\`
622
- - \`ncli pipeline validate [--file .ngit-deploy.json]\`
623
- - \`ncli pipeline status <owner>/<repo>\`
624
- - \`ncli deploy trigger <owner>/<repo> --ref <tag-or-branch>\`
625
-
626
- ### Self-Hosted Runners
627
- - \`ncli runner init --repo <owner>/<repo> --name <runner>\`
628
- - \`ncli runner list --repo <owner>/<repo>\`
629
- - \`ncli runner start [--systemd]\`
630
- - \`ncli runner rotate-secret --repo <owner>/<repo>\`
631
-
632
- ### Container Registry (OCI v2)
633
- - \`ncli registry login\`
634
- - \`ncli registry list [--owner <slug>]\`
635
-
636
- ### Mail & Support
637
- - \`ncli mail domains list\`
638
- - \`ncli mail notifications list\`
639
- - \`ncli support list\`
640
- - \`ncli support create --subject <s> --description <d> [--category technical] [--priority normal]\`
602
+ export const RESOURCE_CLI_REFERENCE = `# ncli — Official NİBGAT Core Complex CLI Reference
603
+
604
+ Documentation: https://docs.nibgat.space/cli
605
+
606
+ ## Installation
607
+ \`\`\`bash
608
+ npm install -g @nibgat/ncli
609
+ # or run on demand:
610
+ npx @nibgat/ncli --help
611
+ \`\`\`
612
+
613
+ ## Global Flags & Environment Variables
614
+ - \`--profile <name>\` / \`NCLI_PROFILE\`: Select named credential profile (default: \`default\`).
615
+ - \`--core-url <url>\` / \`NCLI_CORE_URL\`: Override Core Complex API URL (default: \`https://core.nibgat.space\`).
616
+ - \`--git-url <url>\` / \`NCLI_GIT_URL\`: Override N - Git API URL (default: \`https://git.nibgat.space\`).
617
+ - \`NCLI_TOKEN\`: Bearer token for Core Complex APIs (takes precedence over vault).
618
+ - \`NGIT_TOKEN\`: N - Git Personal Access Token (\`ngit_pat_*\`) for git.nibgat.space APIs.
619
+ - \`NCLI_SESSION_COOKIE\`: Active N - Auth SSO session token/cookie for SSO endpoints.
620
+ - \`--json\`: Machine-readable JSON output.
621
+
622
+ ## Command Tree
623
+ ### Authentication & Profiles
624
+ - \`ncli auth login [--profile <name>] [--token <pat>]\`
625
+ - \`ncli auth status [--json]\`
626
+ - \`ncli auth switch <profile>\`
627
+ - \`ncli auth logout [--all]\`
628
+
629
+ ### Profile (N - Char)
630
+ - \`ncli profile me\`
631
+ - \`ncli profile show <username>\`
632
+
633
+ ### N - Git Repositories, Issues & Releases
634
+ - \`ncli git repos list [--owner <slug>] [--query <q>]\`
635
+ - \`ncli git repo info <owner>/<repo>\`
636
+ - \`ncli git issues list <owner>/<repo> [--kind issue|pr] [--state open|closed|all]\`
637
+ - \`ncli git issues create <owner>/<repo> --title <t> --body <b>\`
638
+ - \`ncli release list <owner>/<repo>\`
639
+ - \`ncli release create <owner>/<repo> --tag <vX.Y.Z> [--target main] [--title <t>] [--notes <md>]\`
640
+
641
+ ### Pipelines & Deployments
642
+ - \`ncli pipeline init --type docker|static [...]\`
643
+ - \`ncli pipeline validate [--file .ngit-deploy.json]\`
644
+ - \`ncli pipeline status <owner>/<repo>\`
645
+ - \`ncli deploy trigger <owner>/<repo> --ref <tag-or-branch>\`
646
+
647
+ ### Self-Hosted Runners
648
+ - \`ncli runner init --repo <owner>/<repo> --name <runner>\`
649
+ - \`ncli runner list --repo <owner>/<repo>\`
650
+ - \`ncli runner start [--systemd]\`
651
+ - \`ncli runner rotate-secret --repo <owner>/<repo>\`
652
+
653
+ ### Container Registry (OCI v2)
654
+ - \`ncli registry login\`
655
+ - \`ncli registry list [--owner <slug>]\`
656
+
657
+ ### Mail & Support
658
+ - \`ncli mail domains list\`
659
+ - \`ncli mail notifications list\`
660
+ - \`ncli support list\`
661
+ - \`ncli support create --subject <s> --description <d> [--category technical] [--priority normal]\`
662
+
663
+ ### N - Buyment (Commerce & Wallet)
664
+ - \`ncli buyment catalog\`
665
+ - \`ncli buyment wallet\`
666
+ - \`ncli buyment topup --amount-try <try> --method paytr_card|bank_transfer\`
667
+ - \`ncli buyment orders\`
668
+ - \`ncli buyment cancel-order <id> --confirm\`
669
+ - \`ncli buyment subscriptions\`
670
+ - \`ncli buyment cancel-subscription <id>\`
671
+ - \`ncli buyment invoices\`
672
+
673
+ ### N - Cloud (Infrastructure, VNC, Snapshots & Audit)
674
+ - \`ncli cloud regions\`
675
+ - \`ncli cloud catalog [--region tr-ist-1]\`
676
+ - \`ncli cloud overview\`
677
+ - \`ncli cloud resources list [--type <type>]\`
678
+ - \`ncli cloud resources create --type <serverless|container|storage|storage_lock|load_balancer|vpc|dns|backup> --name <name> [--plan <code>] [--vcpu <n>] [--ram-gb <n>]\`
679
+ - \`ncli cloud servers create --name <name> --plan <code> [--region tr-ist-1]\`
680
+ - \`ncli cloud servers power <id> --action start|stop|reboot|poweroff\`
681
+ - \`ncli cloud servers sync <id>\`
682
+ - \`ncli cloud servers vnc <id>\`
683
+ - \`ncli cloud servers delete <id>\`
684
+ - \`ncli cloud snapshots list <serverId>\`
685
+ - \`ncli cloud snapshots create <serverId> [--label <name>]\`
686
+ - \`ncli cloud snapshots restore <serverId> <snapshotId> --confirm\`
687
+ - \`ncli cloud snapshots delete <serverId> <snapshotId>\`
688
+ - \`ncli cloud logs [--limit 25] [--resource <id>]\`
689
+ - \`ncli cloud hardware order --item <id> --delivery colocation_ist1|shipping\`
690
+ - \`ncli cloud hardware cancel <id> --confirm\`
641
691
  `;
642
692
  export const PIPELINE_JSON_SCHEMA = {
643
693
  $schema: "https://json-schema.org/draft/2020-12/schema",
@@ -799,157 +849,173 @@ export const PIPELINE_JSON_SCHEMA = {
799
849
  }
800
850
  }
801
851
  };
802
- export const RESOURCE_API_CATALOG = `# NİBGAT® Core Complex — Public REST API Catalog
803
-
804
- ## 1. Core Complex Gateway (\`https://core.nibgat.space\`)
805
-
806
- ### Health
807
- - \`GET /healthcheck\` — Gateway health & service status (public)
808
-
809
- ### N - Auth (Identity & SSO)
810
- - \`GET /nauth/sso/session\` — Inspect active SSO session
811
- - \`GET /nauth/sso/sessions\` — List active sessions for authenticated user
812
- - \`POST /nauth/sso/logout\` — End active SSO session
813
- - \`GET /nauth/oauth/userinfo\` — OpenID / OAuth2 userinfo endpoint
814
- - \`GET /nauth/presence/public\` — Public presence lookup
815
-
816
- ### N - Char (Profiles)
817
- - \`GET /nchar/sso/me\` — Authenticated user's full N - Char profile
818
- - \`PUT /nchar/sso/profile\` — Update profile details
819
- - \`GET /nchar/public/profile/:userName\` — Public developer profile lookup (no auth required)
820
-
821
- ### N - Notifier & N - Mail
822
- - \`GET /nnotifier/sso/domains\` — List mail domains (query: \`organizationID\`, \`appID\`)
823
- - \`GET /nnotifier/sso/mailboxes\` — List mailboxes (query: \`domain\`, \`includeUsage\`)
824
- - \`GET /nnotifier/sso/aliases\` — List mail aliases
825
- - \`GET /nnotifier/sso/notifications\` — List user notifications
826
- - \`POST /nnotifier/sso/notifications/read\` — Mark notification read
827
-
828
- ### Front & N - Support
829
- - \`GET /front/products\` & \`GET /front/services\` & \`GET /front/news\` & \`GET /front/announcements\` — Public content feeds
830
- - \`GET /front/sso/tickets\` — List authenticated user's support tickets
831
- - \`GET /front/sso/tickets/quota\` — Ticket quota status
832
- - \`GET /front/sso/tickets/:id\` — Ticket details and replies
833
- - \`POST /front/sso/tickets\` — Create a new support ticket
834
- - \`POST /front/sso/tickets/:id/replies\` — Reply to a support ticket
835
-
836
- ## 2. N - Git Platform (\`https://git.nibgat.space/api/v1\`)
837
-
838
- ### Health & Identity
839
- - \`GET /api/v1/health\` — N - Git service, RethinkDB, and storage health
840
- - \`GET /api/v1/me\` — Active N - Git user, scopes, and auth method
841
- - \`GET /api/v1/overview\` — User dashboard overview & accessible repositories
842
- - \`GET /api/v1/quota\` — Repository quota status
843
-
844
- ### Repositories, Branches & Code
845
- - \`GET /api/v1/repos\` — List repositories (query: \`owner\`, \`q\`)
846
- - \`POST /api/v1/repos\` — Create repository
847
- - \`GET /api/v1/repos/:owner/:repo\` — Repository metadata, branches, tags, counts
848
- - \`GET /api/v1/repos/:owner/:repo/readme\` — Rendered/raw README
849
- - \`GET /api/v1/repos/:owner/:repo/branches\` — Detailed branch list
850
- - \`GET /api/v1/repos/:owner/:repo/commits\` — Commit history
851
-
852
- ### Releases, Deployments & Runners
853
- - \`GET /api/v1/repos/:owner/:repo/releases\` — List releases
854
- - \`POST /api/v1/repos/:owner/:repo/releases\` — Publish a release & trigger webhooks
855
- - \`GET /api/v1/repos/:owner/:repo/deployments\` — List recent CI/CD deployment runs & logs
856
- - \`POST /api/v1/repos/:owner/:repo/deployments/trigger\` — Manually trigger deployment for a ref
857
- - \`GET /api/v1/repos/:owner/:repo/runners\` — List self-hosted runners for a repository
858
-
859
- ### Issues & Pull Requests
860
- - \`GET /api/v1/repos/:owner/:repo/issues\` — List issues & PRs (query: \`kind\`, \`state\`)
861
- - \`POST /api/v1/repos/:owner/:repo/issues\` — Create an issue or pull request
862
-
863
- ### OCI Container Registry
864
- - \`GET /api/v1/registry/repositories\` — List OCI images, tags, digests, and pull commands
865
- - \`DELETE /api/v1/registry/:owner/:image/tags/:tag\` — Delete an OCI image tag
866
-
867
- ## 3. N - Buyment Commerce & Billing (\`https://core.nibgat.space/nbuyment\`)
868
- - \`GET /nbuyment/catalog\` — Public product, plan, and VAT-inclusive TRY pricing catalog
869
- - \`GET /nbuyment/sso/wallet\` — Prepaid TRY wallet balance & double-entry ledger
870
- - \`POST /nbuyment/sso/wallet/topup\` — Initiate PayTR card or Bank Transfer wallet top-up
871
- - \`GET /nbuyment/sso/orders\` & \`POST /nbuyment/sso/orders\` — Order history & checkout
872
- - \`GET /nbuyment/sso/subscriptions\` — Active recurring subscriptions
873
- - \`GET /nbuyment/sso/invoices\` — Automated e-Fatura & e-Arşiv invoices
874
-
875
- ## 4. N - Cloud Infrastructure & Hardware (\`https://core.nibgat.space/ncloud\`)
876
- - \`GET /ncloud/regions\` — Global 7-region status map (\`tr-ist-1\` active; EU/US/AP coming soon)
877
- - \`GET /ncloud/catalog\` — Live cloud server, S3, container & physical hardware pricing
878
- - \`GET /ncloud/sso/overview\` — Wallet balance, active resources & estimated monthly spend
879
- - \`GET /ncloud/sso/resources\` & \`POST /ncloud/sso/resources\` — Manage N - Run, N - Storage, N - Net, N - Vault
880
- - \`POST /ncloud/sso/servers\` & \`POST /ncloud/sso/servers/:id/power\` — Deploy & control N - Compute servers
881
- - \`GET /ncloud/sso/hardware/orders\` & \`POST /ncloud/sso/hardware/orders\` — N - Metal rentals & N - Hardware purchases
852
+ export const RESOURCE_API_CATALOG = `# NİBGAT® Core Complex — Public REST API Catalog
853
+
854
+ ## 1. Core Complex Gateway (\`https://core.nibgat.space\`)
855
+
856
+ ### Health
857
+ - \`GET /healthcheck\` — Gateway health & service status (public)
858
+
859
+ ### N - Auth (Identity & SSO)
860
+ - \`GET /nauth/sso/session\` — Inspect active SSO session
861
+ - \`GET /nauth/sso/sessions\` — List active sessions for authenticated user
862
+ - \`POST /nauth/sso/logout\` — End active SSO session
863
+ - \`GET /nauth/oauth/userinfo\` — OpenID / OAuth2 userinfo endpoint
864
+ - \`GET /nauth/presence/public\` — Public presence lookup
865
+
866
+ ### N - Char (Profiles)
867
+ - \`GET /nchar/sso/me\` — Authenticated user's full N - Char profile
868
+ - \`PUT /nchar/sso/profile\` — Update profile details
869
+ - \`GET /nchar/public/profile/:userName\` — Public developer profile lookup (no auth required)
870
+
871
+ ### N - Notifier & N - Mail
872
+ - \`GET /nnotifier/sso/domains\` — List mail domains (query: \`organizationID\`, \`appID\`)
873
+ - \`GET /nnotifier/sso/mailboxes\` — List mailboxes (query: \`domain\`, \`includeUsage\`)
874
+ - \`GET /nnotifier/sso/aliases\` — List mail aliases
875
+ - \`GET /nnotifier/sso/notifications\` — List user notifications
876
+ - \`POST /nnotifier/sso/notifications/read\` — Mark notification read
877
+
878
+ ### Front & N - Support
879
+ - \`GET /front/products\` & \`GET /front/services\` & \`GET /front/news\` & \`GET /front/announcements\` — Public content feeds
880
+ - \`GET /front/sso/tickets\` — List authenticated user's support tickets
881
+ - \`GET /front/sso/tickets/quota\` — Ticket quota status
882
+ - \`GET /front/sso/tickets/:id\` — Ticket details and replies
883
+ - \`POST /front/sso/tickets\` — Create a new support ticket
884
+ - \`POST /front/sso/tickets/:id/replies\` — Reply to a support ticket
885
+
886
+ ## 2. N - Git Platform (\`https://git.nibgat.space/api/v1\`)
887
+
888
+ ### Health & Identity
889
+ - \`GET /api/v1/health\` — N - Git service, RethinkDB, and storage health
890
+ - \`GET /api/v1/me\` — Active N - Git user, scopes, and auth method
891
+ - \`GET /api/v1/overview\` — User dashboard overview & accessible repositories
892
+ - \`GET /api/v1/quota\` — Repository quota status
893
+
894
+ ### Repositories, Branches & Code
895
+ - \`GET /api/v1/repos\` — List repositories (query: \`owner\`, \`q\`)
896
+ - \`POST /api/v1/repos\` — Create repository
897
+ - \`GET /api/v1/repos/:owner/:repo\` — Repository metadata, branches, tags, counts
898
+ - \`GET /api/v1/repos/:owner/:repo/readme\` — Rendered/raw README
899
+ - \`GET /api/v1/repos/:owner/:repo/branches\` — Detailed branch list
900
+ - \`GET /api/v1/repos/:owner/:repo/commits\` — Commit history
901
+
902
+ ### Releases, Deployments & Runners
903
+ - \`GET /api/v1/repos/:owner/:repo/releases\` — List releases
904
+ - \`POST /api/v1/repos/:owner/:repo/releases\` — Publish a release & trigger webhooks
905
+ - \`GET /api/v1/repos/:owner/:repo/deployments\` — List recent CI/CD deployment runs & logs
906
+ - \`POST /api/v1/repos/:owner/:repo/deployments/trigger\` — Manually trigger deployment for a ref
907
+ - \`GET /api/v1/repos/:owner/:repo/runners\` — List self-hosted runners for a repository
908
+
909
+ ### Issues & Pull Requests
910
+ - \`GET /api/v1/repos/:owner/:repo/issues\` — List issues & PRs (query: \`kind\`, \`state\`)
911
+ - \`POST /api/v1/repos/:owner/:repo/issues\` — Create an issue or pull request
912
+
913
+ ### OCI Container Registry
914
+ - \`GET /api/v1/registry/repositories\` — List OCI images, tags, digests, and pull commands
915
+ - \`DELETE /api/v1/registry/:owner/:image/tags/:tag\` — Delete an OCI image tag
916
+
917
+ ## 3. N - Buyment Commerce & Billing (\`https://core.nibgat.space/nbuyment\`)
918
+ - \`GET /nbuyment/catalog\` — Public product, plan, and VAT-inclusive TRY pricing catalog
919
+ - \`GET /nbuyment/sso/wallet\` — Prepaid TRY wallet balance & double-entry ledger
920
+ - \`POST /nbuyment/sso/wallet/topup\` — Initiate PayTR card or Bank Transfer wallet top-up
921
+ - \`GET /nbuyment/sso/orders\` & \`POST /nbuyment/sso/orders\` — Order history & checkout
922
+ - \`GET /nbuyment/sso/subscriptions\` — Active recurring subscriptions
923
+ - \`GET /nbuyment/sso/invoices\` — Automated e-Fatura & e-Arşiv invoices
924
+
925
+ ## 4. N - Cloud Infrastructure & Hardware (\`https://core.nibgat.space/ncloud\`)
926
+ - \`GET /ncloud/regions\` — Global 7-region status map (\`tr-ist-1\` active; EU/US/AP coming soon)
927
+ - \`GET /ncloud/catalog\` — Live NC - Pulse, Rig, Flux, Hive, Crate/Lock, Safe, Prism & NC - Iron/Forge pricing
928
+ - \`GET /ncloud/sso/overview\` — Wallet balance, active resources & estimated monthly spend
929
+ - \`GET /ncloud/sso/resources\` & \`POST /ncloud/sso/resources\` — Manage NC - Flux, Hive, Crate/Lock, Prism/Mesh/Route, Safe
930
+ - \`POST /ncloud/sso/servers\`, \`POST /ncloud/sso/servers/:id/power\` & \`POST /ncloud/sso/servers/:id/console\` — Deploy, control power & open VNC on NC - Pulse / Rig servers
931
+ - \`GET /ncloud/sso/servers/:id/snapshots\` & \`POST /ncloud/sso/servers/:id/snapshots\` — Manage paid customer-private S3 snapshots
932
+ - \`GET /ncloud/sso/logs\` — Persistent Web/CLI/MCP cloud audit logs
933
+ - \`GET /ncloud/sso/hardware/orders\` & \`POST /ncloud/sso/hardware/orders\` — NC - Iron rentals & NC - Forge physical hardware purchases
882
934
  `;
883
- export const RESOURCE_BUYMENT_CATALOG = `# NİBGAT® N - Buyment — Billing, Wallet & e-Invoicing Reference
884
-
885
- Portal: https://buyment.nibgat.space
886
- API Base: https://core.nibgat.space/nbuyment
887
-
888
- ## Supported Commerce Modes
889
- - **Prepaid TRY Wallet**: Double-entry integer-kurus ledger used by N - Cloud hourly/monthly provisioning and instant add-ons.
890
- - **Recurring Subscriptions**: Monthly, semiannual, annual, and biennial plans across N - Git, N - Mail, N - Char, N - Element, and N - Cloud.
891
- - **One-Time Purchases**: Physical hardware orders (N - Hardware) and one-time add-ons.
892
- - **Payment Methods**: PayTR Card (iFrame & tokenized recurring) and Bank Transfer / EFT.
893
- - **Automated e-Invoicing**: Trendyol e-Faturam REST integration automatically issuing e-Fatura or e-Arşiv invoices with integer kurus precision.
935
+ export const RESOURCE_BUYMENT_CATALOG = `# NİBGAT® N - Buyment — Billing, Wallet & e-Invoicing Reference
936
+
937
+ Portal: https://buyment.nibgat.space (Landing: /, Console: /console)
938
+ API Base: https://core.nibgat.space/nbuyment
939
+
940
+ ## Supported Commerce Modes
941
+ - **Prepaid TRY Wallet**: Double-entry integer-kurus ledger used by N - Cloud hourly/monthly provisioning, paid snapshots, and instant add-ons.
942
+ - **Recurring Subscriptions**: Monthly, semiannual, annual, and biennial plans across N - Git, N - Mail, N - Char, N - Element, and N - Cloud.
943
+ - **One-Time Purchases & Cart**: Multi-item cart with coupons, physical hardware orders (NC - Forge), and one-time add-ons.
944
+ - **Payment Methods**: PayTR Card (3D Secure & tokenized recurring) and Bank Transfer / EFT.
945
+ - **Automated e-Invoicing**: Official e-Fatura and e-Arşiv invoice generation with integer kurus precision and ETTN tracking.
894
946
  `;
895
- export const RESOURCE_CLOUD_REGIONS = `# NİBGAT® N - Cloud — Global Region Availability
896
-
897
- | Region Code | Location | Status | Orderable |
898
- | --- | --- | --- | --- |
899
- | \`tr-ist-1\` | İstanbul, Türkiye | **active** | Yes (~4 ms TR) |
900
- | \`eu-de-1\` | Falkenstein, Germany | coming_soon | Disabled (Çok Yakında) |
901
- | \`eu-de-2\` | Nuremberg, Germany | coming_soon | Disabled (Çok Yakında) |
902
- | \`eu-fi-1\` | Helsinki, Finland | coming_soon | Disabled (Çok Yakında) |
903
- | \`us-east-1\` | Ashburn, United States | coming_soon | Disabled (Çok Yakında) |
904
- | \`us-west-1\` | Hillsboro, United States | coming_soon | Disabled (Çok Yakında) |
905
- | \`ap-sg-1\` | Singapore | coming_soon | Disabled (Çok Yakında) |
947
+ export const RESOURCE_CLOUD_REGIONS = `# NİBGAT® N - Cloud — Global Region Availability
948
+
949
+ | Region Code | Location | Status | Orderable |
950
+ | --- | --- | --- | --- |
951
+ | \`tr-ist-1\` | İstanbul, Türkiye | **active** | Yes (~4 ms TR) |
952
+ | \`eu-de-1\` | Falkenstein, Germany | coming_soon | Disabled (Çok Yakında) |
953
+ | \`eu-de-2\` | Nuremberg, Germany | coming_soon | Disabled (Çok Yakında) |
954
+ | \`eu-fi-1\` | Helsinki, Finland | coming_soon | Disabled (Çok Yakında) |
955
+ | \`us-east-1\` | Ashburn, United States | coming_soon | Disabled (Çok Yakında) |
956
+ | \`us-west-1\` | Hillsboro, United States | coming_soon | Disabled (Çok Yakında) |
957
+ | \`ap-sg-1\` | Singapore | coming_soon | Disabled (Çok Yakında) |
906
958
  `;
907
- export const RESOURCE_CLOUD_CATALOG = `# NİBGAT® N - Cloud — Cloud (70%) & Physical Hardware (30%) Portfolio
908
-
909
- Portal: https://cloud.nibgat.space
910
- API Base: https://core.nibgat.space/ncloud
911
-
912
- ## Cloud Services (70%)
913
- - **N - Compute**: NVMe KVM Cloud Servers & Dedicated-Resource VDS in \`tr-ist-1\`.
914
- - **N - Run**: Managed container & serverless runtime environments.
915
- - **N - Storage**: S3-compatible object storage with lifecycle & lock support.
916
- - **N - Net**: Private VPC networks, port forwarding, and DNS zones.
917
- - **N - Vault**: Encrypted SFTP/Borg backup storage.
918
-
919
- ## Physical Hardware (30%)
920
- - **N - Metal**: Dedicated bare-metal server rentals in Istanbul Tier-3 data center.
921
- - **N - Hardware**: Turnkey enterprise rack servers, AI GPU nodes, and workstations delivered via insured shipping or Istanbul colocation.
959
+ export const RESOURCE_CLOUD_CATALOG = `# NİBGAT® N - Cloud — Cloud Infrastructure & Physical Hardware Portfolio
960
+
961
+ Portal: https://cloud.nibgat.space (Landing: /, Console: /console)
962
+ API Base: https://core.nibgat.space/ncloud
963
+
964
+ ## Cloud Services (NC Family)
965
+ - **NC - Pulse**: Hourly/monthly elastic NVMe KVM cloud servers in \`tr-ist-1\`.
966
+ - **NC - Rig**: Dedicated-resource high-IOPS NVMe VDS servers in \`tr-ist-1\`.
967
+ - **NC - Flux**: Serverless containers with dynamic vCPU/RAM/replica scaling.
968
+ - **NC - Hive**: Dedicated-node container clusters.
969
+ - **NC - Crate & NC - Lock**: S3-compatible object storage & immutable WORM vaults.
970
+ - **NC - Safe**: Encrypted SFTP/Borg backup vaults.
971
+ - **NC - Prism · NC - Mesh · NC - Route**: Load balancers, private VPC networks, port forwarding, and DNS zones.
972
+
973
+ ## Physical Hardware
974
+ - **NC - Iron**: Dedicated bare-metal & AI GPU server rentals in Istanbul Tier-3 data center.
975
+ - **NC - Forge**: Turnkey enterprise rack servers, AI GPU nodes, and workstations delivered via insured shipping or Istanbul colocation.
922
976
  `;
923
- export const RESOURCE_NCORE_STANDARDS = `# NİBGAT® NCore UI Kit 2.0 & Frontend Engineering Standards
924
-
925
- Documentation: https://ncore.nibgat.space
926
-
927
- ## 1. Directory & Index Pattern
928
- - Every page, view, or reusable component lives in its own folder.
929
- - Main component entry MUST be \`index.tsx\` (never \`Component.tsx\`).
930
- - Component styles MUST live in sibling \`stylesheet.ts\` using \`StyleSheet.create({...})\` (never inline style hooks like \`useStyles\`).
931
- - Local type definitions MUST live in \`type.ts\` (singular, never \`types.ts\`).
932
- - Complex pages organize sub-sections inside \`views/<section>/index.tsx\`.
933
-
934
- ## 2. Theme-First & Spacious-Only Rule
935
- - **Theme-First**: Always read tokens from \`NCoreUIKitTheme.useContext()\` (\`colors\`, \`spaces\`, \`radiuses\`, \`configs\`) before defining any custom values.
936
- - **Spacious Only (Mandatory)**: \`initialSelectedGapPropagation\` MUST ALWAYS be \`"spacious"\`. Never use \`"compact"\` gapPropagation or shrink primary buttons/inputs unnecessarily.
937
- - **Localization**: Always read user-facing text through \`NCoreUIKitLocalize.useContext()\` via \`localize("key")\`.
938
- - **Web CSS**: Use NCore's \`webStyle\` utility for web-only CSS properties.
939
- - **NCore Primitives**: Prefer \`PageContainer\`, \`MainHeader\`, \`Text\`, \`HighlightButton\`, \`Button\`, \`ThemeSwitcher\`, \`LocaleSwitcher\`, and \`NCoreUIKitMenu\` over raw React Native primitives.
940
-
941
- ## 3. Code Style & Formatting
942
- - 4-space indentation everywhere (including JSX props and \`switch\` cases), semicolons always, newline at EOF.
943
- - **Strict Multiline**: Every imported/exported symbol, destructured object property, array element (including \`useState\` tuples), and JSX prop goes on its own line.
944
- - **Longest-to-Shortest Ordering**: Sort imports, destructured members, object properties, and JSX props from longest line/identifier to shortest unless logic requires another order.
945
- - **Fail Fast**: Use early returns and write \`if(!condition) {\` with no space between \`if\` and \`(\`.
946
- - **Default Type Export**:
947
- \`\`\`ts
948
- export type {
949
- MyProps as default
950
- };
951
- \`\`\`
952
- - **Default Value Export**: Stick \`export default Component;\` directly after the closing brace with no blank line.
953
- - **Post-Edit Validation**: Always run \`yarn lint\` and \`yarn type-check\` after frontend edits.
977
+ export const RESOURCE_NCORE_STANDARDS = `# NİBGAT® NCore UI Kit 2.0 & Frontend Engineering Standards
978
+
979
+ Documentation: https://ncore.nibgat.space
980
+ AI / LLM Reference:
981
+ - https://ncore.nibgat.space/llms.txt (index)
982
+ - https://ncore.nibgat.space/llms-full.txt (complete docs)
983
+ - https://ncore.nibgat.space/llms/components/<kebab-name>.md (per-component reference)
984
+
985
+ ## 1. Directory & Index Pattern
986
+ - Every page, view, or reusable component lives in its own folder.
987
+ - Main component entry MUST be \`index.tsx\` (never \`Component.tsx\`).
988
+ - Component styles MUST live in sibling \`stylesheet.ts\` using \`StyleSheet.create({...})\` (never inline style hooks like \`useStyles\`).
989
+ - Local type definitions MUST live in \`type.ts\` (singular, never \`types.ts\`).
990
+ - Complex pages organize sub-sections inside \`views/<section>/index.tsx\`.
991
+
992
+ ## 2. Theme-First & Spacious-Only Rule
993
+ - **Theme-First**: Always read tokens from \`NCoreUIKitTheme.useContext()\` (\`colors\`, \`spaces\`, \`radiuses\`, \`borders\`, \`iconSizes\`, \`controlHeights\`, \`configs\`) before defining any custom values.
994
+ - **Spacious Only (Mandatory)**: \`initialSelectedGapPropagation\` MUST ALWAYS be \`"spacious"\`. Never use \`"compact"\` gapPropagation or shrink primary buttons/inputs unnecessarily.
995
+ - **Theme Persistence & Color Scheme**: Use \`themeStorageKey\` in \`setupNCoreUIKit\` and \`getThemeScript\` in web \`<head>\` to prevent light/dark flash on load.
996
+ - **Localization**: Always read user-facing text through \`NCoreUIKitLocalize.useContext()\` via \`localize("key")\`.
997
+ - **Web CSS**: Use NCore's \`webStyle\` utility for web-only CSS properties.
998
+ - **NCore 2.0 Primitives**: Prefer \`PageContainer\`, \`MainHeader\`, \`Stack\`, \`Inline\`, \`Grid\`, \`Field\`, \`Item\`, \`Text\`, \`Link\`, \`HighlightButton\`, \`Button\`, \`Command.Dialog\` / \`Command.Trigger\`, \`NAuthUserMenu\` (defaults to \`isAutoFetchSession={false}\`; pass \`isAutoFetchSession={true}\` on standalone portals without \`CoreComplex\`, and \`isCompact\` for narrow headers), \`NAuthSSOButton\`, \`ThemeSwitcher\`, \`LocaleSwitcher\`, \`NCoreUIKitMenu\`, and \`NCoreUIKitToast\` over raw React Native primitives. Avoid deprecated 1.x aliases (\`SnackBar\`, \`StateCard\`, \`RowCard\`, \`Sticker\`, \`NotificationIndicator\`).
999
+ - **Companion SDKs**: Pair \`ncore-ui-kit@2.0.0-beta.2+\` with \`@nibgat/ncore-agent@2.0.0-beta.2+\`, \`core-complex-client@2.4.0+\` (\`SSO\`, \`SSOPortal\`, \`NCharPortal\`, \`StaticData\`, \`NBuymentClient\`, \`NCloudClient\`), and \`nauth-front@2.1.5+\` when embeddable sign-in screens are required.
1000
+
1001
+ ## 3. AI Skill, Agent Bridge & Security Hardening (\`@nibgat/ncore-agent\`)
1002
+ - **Install AI Skill**: Run \`npx ncore-setup-skill\` in app repositories (links rules + component references and installs \`@nibgat/ncore-agent\`).
1003
+ - **Static & Visual Checks**: Run \`npx --no @nibgat/ncore-agent scan\`, \`check <url>\`, \`snapshot <url>\`, and \`theme --brand=#RRGGBB\`. Source-map lookup enforces same-origin \`http(s):\` requests with \`redirect: "error"\`, and \`login\` only writes blanket \`.gitignore\` in \`.ncore-agent\` or newly created folders.
1004
+ - **Agent Bridge & WebMCP**: Opt in when needed with \`unstable_agentBridge\`, expose tools via \`getAgentTools\` / \`useAgentTools\` / \`registerAgentTools\`, and guard sensitive/destructive regions with \`AgentRegion\` (\`isConfirmRequired\`, \`isSecret\`, \`isHidden\`) and \`AgentScreen\`. \`CreditCardInput\` and \`InputOTP\` default to \`isSecret: true\`, and \`window.__ncoreAgent.act\` can only tighten approval (\`source: "window"\` locked).
1005
+ - **URL Scheme Safety & Script Escaping**: \`Link\`, \`Badge\`, \`NavigationMenu\`, \`Card\`, \`Sidebar\`, \`TabBar\`, \`Breadcrumb\`, \`Pagination\`, \`Timeline\`, \`MarkdownViewer\`, and \`Terminal\` (OSC-8) enforce an explicit URL scheme allowlist (\`http\`, \`https\`, \`mailto\`, \`tel\`, \`sms\`, relative + opt-in \`allowedUrlSchemes\` on \`Link\`/\`MarkdownViewer\`; \`javascript:\`, \`vbscript:\`, \`file:\`, \`data:\` are immutably blocked). \`Citation\` restricts to \`http\`/\`https\` only, and \`getThemeScript\` escapes \`<\` as \`\\u003c\`.
1006
+
1007
+ ## 4. Code Style & Formatting
1008
+ - 4-space indentation everywhere (including JSX props and \`switch\` cases), semicolons always, newline at EOF.
1009
+ - **Strict Multiline**: Every imported/exported symbol, destructured object property, array element (including \`useState\` tuples), and JSX prop goes on its own line.
1010
+ - **Longest-to-Shortest Ordering**: Sort imports, destructured members, object properties, and JSX props from longest line/identifier to shortest unless logic requires another order.
1011
+ - **Fail Fast**: Use early returns and write \`if(!condition) {\` with no space between \`if\` and \`(\`.
1012
+ - **Default Type Export**:
1013
+ \`\`\`ts
1014
+ export type {
1015
+ MyProps as default
1016
+ };
1017
+ \`\`\`
1018
+ - **Default Value Export**: Stick \`export default Component;\` directly after the closing brace with no blank line.
1019
+ - **Post-Edit Validation**: Always run \`yarn lint\` and \`yarn type-check\` after frontend edits.
954
1020
  `;
955
1021
  //# sourceMappingURL=ecosystem.js.map