@oasisomniverse/web6-api 1.0.0 → 1.0.1

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 CHANGED
@@ -1,7 +1,25 @@
1
1
  # @oasisomniverse/web6-api
2
2
 
3
+ - [@oasisomniverse/web6-api](#oasisomniverseweb6-api)
4
+ - [About WEB6](#about-web6)
5
+ - [About The OASIS Omniverse](#about-the-oasis-omniverse)
6
+ - [Benefits Of Building On The WEB6 AI Layer API](#benefits-of-building-on-the-web6-ai-layer-api)
7
+ - [WEB 6 AI Layer API Packages](#web-6-ai-layer-api-packages)
8
+ - [Javascript](#javascript)
9
+ - [C#](#c)
10
+ - [Do You Want To Get Involved?](#do-you-want-to-get-involved)
11
+ - [Installation](#installation)
12
+ - [Quick start](#quick-start)
13
+ - [Calling any endpoint](#calling-any-endpoint)
14
+ - [Auth](#auth)
15
+ - [Module examples](#module-examples)
16
+ - [Module reference](#module-reference)
17
+ - [Regenerating](#regenerating)
18
+ - [Testing](#testing)
19
+ - [License](#license)
20
+
3
21
  Isomorphic (Node 18+ and browser) JavaScript/TypeScript-friendly client for the
4
- **WEB6 OASIS AI Layer API** - full coverage of the OASIS2 WEB6 WebAPI: unified
22
+ **WEB6 OASIS AI Layer API** - full coverage of the OASIS WEB6 WebAPI: unified
5
23
  AI completion/chat across every provider (OpenAI, Anthropic, Google Gemini,
6
24
  xAI Grok, Qwen, DeepSeek, OpenServ, ...), image generation, the Holonic BRAID
7
25
  fractal memory hierarchy and shared reasoning-graph library, multi-agent
@@ -11,6 +29,113 @@ the Reasoning Network (FAHRN) for agent registration, scoring and dispatch.
11
29
  Zero dependencies. Wraps the global `fetch`. Works the same in Node and the
12
30
  browser.
13
31
 
32
+ ## About WEB6
33
+
34
+ > **"ONE API. EVERY AI."**
35
+
36
+ WEB6 is the AI layer of the OASIS Omniverse — a single unified endpoint that routes across OpenAI, Anthropic, Google, Meta, Mistral and dozens of other providers with zero per-provider refactoring. What sets it apart from a generic AI proxy is that every request is grounded in real identity and ecosystem context: it layers on top of WEB4 (avatar, karma, data) and WEB5 (cross-world OAPPs, the holon graph), plus proprietary tech like the Holonic BRAID fractal memory hierarchy and FAHRN, a self-optimizing reasoning mesh - making it, provider-for-provider, one of the most contextually rich AI APIs available.
37
+
38
+ WEB6 is built directly on **[WEB4](https://www.npmjs.com/package/@oasisomniverse/web4-api)** and **[WEB5](https://www.npmjs.com/package/@oasisomniverse/web5-api)**, and is one layer of the wider **[OASIS Omniverse](https://oasisomniverse.one)** (WEB4 through WEB10).
39
+
40
+ ## About The OASIS Omniverse
41
+
42
+ The OASIS (Open Advanced Sensory Immersion System) is the universal interoperability layer connecting all of WEB2 and WEB3 — every blockchain, database, cloud provider and protocol — into one unified, fault-tolerant API. Rather than picking a single tech stack, the OASIS harnesses the best of every provider (auto-failover, auto-load-balancing, auto-replication) so nothing is ever a single point of failure, and hides the complexity behind one intuitive API so you never need to learn a new stack again — even as underlying tech evolves, your app keeps working with zero changes.
43
+
44
+ At its core sits one Avatar with one SSO login and one Karma reputation score that travels with you across every app, game and world built on top of it — full transparency and full control over your own data, right down to the field level.
45
+
46
+ This is the foundation of the OASIS Omniverse: a network of unified layers, WEB4 (identity & unification) through WEB10 (source), each building on the one below to connect blockchains, metaverses, AI, human consciousness and beyond into a single interoperable whole.
47
+
48
+ 👉 See the full ecosystem at **[oasisomniverse.one](https://oasisomniverse.one)**.
49
+
50
+ <a name="web6-ai-benefits"></a>
51
+
52
+ ## Benefits Of Building On The WEB6 AI Layer API
53
+
54
+ - **ONE API. EVERY AI - one endpoint routes across OpenAI, Anthropic, Google Gemini, xAI Grok, Qwen, DeepSeek, OpenServ and more, with zero per-provider refactoring.**
55
+ - **Every AI request is grounded in real identity and ecosystem context (avatar, karma, data from WEB4; cross-world OAPPs and the holon graph from WEB5) - not just a generic model proxy.**
56
+ - **The Holonic BRAID fractal memory hierarchy gives agents shared, persistent, hierarchical memory instead of a stateless context window.**
57
+ - **FAHRN (the Reasoning Network) self-optimizes agent registration, scoring and dispatch across a mesh of agents.**
58
+ - **Multi-agent orchestrator adapters for MCP, A2A, LangChain, AutoGen, CrewAI and Semantic Kernel - plug in your existing agent stack rather than rewriting it.**
59
+ - **Image generation alongside chat/completion, through the same unified endpoint.**
60
+ - **Integrate any WEB2 or WEB3 tech into your (web)app without having to learn or worry about new tech stacks/languages.**
61
+ - **SSO Avatar with a Karma reputation system (inherited from WEB4 - full accountability, zero crime, dark-net proof).**
62
+ - **Maximum integration & interoperability, auto load-balancing, auto fail-over, auto replication.**
63
+ - **HOT-swappable plugin architecture. HTTP REST/gRPC/GraphQL/CLI/Native endpoints.**
64
+ - **Write once, deploy everywhere, now and forever - the GOD Protocol/API.**
65
+ - **Full redundancy/zero downtime - impossible to shut down. Zero lag.**
66
+ - **Decentralised distributed P2P networking - works offline and syncs automatically (even over LAN/Bluetooth/Mesh).**
67
+ - **Agent-centric: you own and store your own data.**
68
+ - **AI/Machine Learning over all of the world's aggregated data.**
69
+ - **WEB7 Symbiosis Layer ready.**
70
+
71
+ Check out more info below:<br><br>
72
+ [The Power Of The OASIS API](https://drive.google.com/file/d/1nnhGpXcprr6kota1Y85HDDKsBfJHN6sn/view?usp=sharing) <br>
73
+ [Holonic Braid Whitepaper](https://web6.oasisomniverse.one/holonic-braid-whitepaper.html) <br>
74
+ [Main OASIS Repo](https://github.com/NextGenSoftwareUK/OASIS)
75
+
76
+ <a name="web6-ai-packages"></a>
77
+
78
+ ## WEB 6 AI Layer API Packages
79
+
80
+ ### Javascript
81
+
82
+ <https://www.npmjs.com/package/@oasisomniverse/web6-api> \
83
+ <https://github.com/NextGenSoftwareUK/OASIS-API-Javascript-Package-WEB6>
84
+
85
+ <a name="csharp"></a>
86
+
87
+ ### C#
88
+
89
+ <https://github.com/NextGenSoftwareUK/OASIS>
90
+
91
+ <a name="get-involved"></a>
92
+
93
+ ## Do You Want To Get Involved?
94
+
95
+ We are always looking for people to jump in and get involved, you do not need to be an existing coder, we can help you with that... you just need a willingness to learn and to have an open heart, we are always more interested with what is in your heart rather than your head! ;-)
96
+
97
+ The whole world is the Our World team, hence the name... ;-) It is not our project; it is all of humanities...
98
+
99
+ We also offer FREE training and apprenticeship program with the NextGen Developer Training Programmes. We will teach you all we know over time and you get to work on this real live commercial codebase rather than wasting time working on throw away dummy apps as most training offers. No previous skills/experience required and is open to everyone, but especially for all disadvantaged people including special needs, homeless, unemployed, prison inmates, kids on the streets etc. We want to help the people the world has forgotten and for people who have stopped believing in themselves, we **BELIEVE IN YOU** and in time you will again too. Everyone has a gift for the world, and we will help you find yours… Find out more by checking out the links below:
100
+
101
+ <a href="https://c8119036-8b0a-4498-ab07-331841f19b4b.filesusr.com/ugd/4280d8_ad8787bd42b1471bae73003bfbf111f7.pdf">NextGen Developer Training Programme</a><br>
102
+ <a href="https://c8119036-8b0a-4498-ab07-331841f19b4b.filesusr.com/ugd/4280d8_999d98ba615e4fa6ab4383a415ee24c5.pdf">NextGen Junior Developer Training Programme</a>
103
+
104
+ We are looking for Web Devs (with any of these: react, angular, vue, js, html, css), Unity Devs & C# Devs.
105
+
106
+ If anyone is interested in developing this game/platform, then we would LOVE to hear from you! 😊 There will be opportunities for people to own shares and/or cryptocurrency (as well as other unique perks such as premium locations in both the geolocation and VR versions, personal or business service spotlights, free lifetime access to all premium paid services, massive karma points (allowing your avatar to progress to more advanced stages in the game unlocking new exciting quests, areas to explore & new special abilities/superpowers) plus lots more!) based on the input they are willing to provide.
107
+
108
+ Thank you and we hope we find interest from people to join us on this exciting incredible journey.
109
+
110
+ **Want to make a difference in the world?**
111
+
112
+ **What will be your legacy?**
113
+
114
+ **Ready to be a hero?**
115
+
116
+ If the answer is YES, then please [proceed to here](https://github.com/NextGenSoftwareUK/OASIS/wiki/So-You-Want-To-Get-Involved%3F-Ready-To-Be-A-Hero%3F)...
117
+
118
+ <a href="https://drive.google.com/file/d/1b_G08UTALUg4H3jPlBdElZAFvyRcVKj1/view">Dev Requirements To Join The Our World Tribe</a><br>
119
+ <a href="https://drive.google.com/file/d/12pCk20iLw_uA1yIfojcP6WwvyOT4WRiO/view?usp=sharing">The Our World Mission (Summary)</a><br>
120
+ <http://web6.oasisomniverse.one><br>
121
+ <http://api.web6.oasisomniverse.one><br>
122
+ <https://github.com/NextGenSoftwareUK/OASIS><br>
123
+ <http://oasisomniverse.one><br>
124
+ <http://www.ourworldthegame.com><br>
125
+ <http://www.nextgenworld.co.uk><br>
126
+
127
+ <https://www.npmjs.com/package/@oasisomniverse/web4-api><br>
128
+ <https://www.npmjs.com/package/@oasisomniverse/web5-api><br>
129
+ <https://www.npmjs.com/package/@oasisomniverse/web7-api><br>
130
+ <https://www.npmjs.com/package/@oasisomniverse/web8-api><br>
131
+ <https://www.npmjs.com/package/@oasisomniverse/web9-api><br>
132
+ <https://www.npmjs.com/package/@oasisomniverse/web10-api><br>
133
+
134
+ **TOGETHER WE CAN CREATE A BETTER WORLD**
135
+
136
+ In Love, Light & Hope,<br>
137
+ The Our World Tribe
138
+
14
139
  ## Installation
15
140
 
16
141
  ```bash
@@ -35,7 +160,7 @@ console.log(result);
35
160
 
36
161
  ## Calling any endpoint
37
162
 
38
- Every controller on the OASIS2 WEB6 WebAPI is reachable as a lowerCamel
163
+ Every controller on the OASIS WEB6 WebAPI is reachable as a lowerCamel
39
164
  property on the client (`web6.completion`, `web6.images`,
40
165
  `web6.holonicMemory`, `web6.holonicBraid`, `web6.orchestrator`,
41
166
  `web6.reasoningNetwork`). Every generated method takes a single args object:
@@ -1,6 +1,6 @@
1
1
  # Completion — `web6.completion`
2
2
 
3
- Source controller: [`CompletionController.cs`](https://github.com/NextGenSoftwareUK/OASIS2/blob/main/WEB6/NextGenSoftware.OASIS.Web6.WebAPI/Controllers/CompletionController.cs)
3
+ Source controller: [`CompletionController.cs`](https://github.com/NextGenSoftwareUK/OASIS/blob/main/WEB6/NextGenSoftware.OASIS.Web6.WebAPI/Controllers/CompletionController.cs)
4
4
  Route prefix: `v1`
5
5
  2 operation(s).
6
6
 
@@ -1,6 +1,6 @@
1
1
  # HolonicBraid — `web6.holonicBraid`
2
2
 
3
- Source controller: [`HolonicBraidController.cs`](https://github.com/NextGenSoftwareUK/OASIS2/blob/main/WEB6/NextGenSoftware.OASIS.Web6.WebAPI/Controllers/HolonicBraidController.cs)
3
+ Source controller: [`HolonicBraidController.cs`](https://github.com/NextGenSoftwareUK/OASIS/blob/main/WEB6/NextGenSoftware.OASIS.Web6.WebAPI/Controllers/HolonicBraidController.cs)
4
4
  Route prefix: `v1/holonic-braid`
5
5
  2 operation(s).
6
6
 
@@ -1,6 +1,6 @@
1
1
  # HolonicMemory — `web6.holonicMemory`
2
2
 
3
- Source controller: [`HolonicMemoryController.cs`](https://github.com/NextGenSoftwareUK/OASIS2/blob/main/WEB6/NextGenSoftware.OASIS.Web6.WebAPI/Controllers/HolonicMemoryController.cs)
3
+ Source controller: [`HolonicMemoryController.cs`](https://github.com/NextGenSoftwareUK/OASIS/blob/main/WEB6/NextGenSoftware.OASIS.Web6.WebAPI/Controllers/HolonicMemoryController.cs)
4
4
  Route prefix: `v1/holonic-memory`
5
5
  5 operation(s).
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Images — `web6.images`
2
2
 
3
- Source controller: [`ImagesController.cs`](https://github.com/NextGenSoftwareUK/OASIS2/blob/main/WEB6/NextGenSoftware.OASIS.Web6.WebAPI/Controllers/ImagesController.cs)
3
+ Source controller: [`ImagesController.cs`](https://github.com/NextGenSoftwareUK/OASIS/blob/main/WEB6/NextGenSoftware.OASIS.Web6.WebAPI/Controllers/ImagesController.cs)
4
4
  Route prefix: `v1/images`
5
5
  1 operation(s).
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Orchestrator — `web6.orchestrator`
2
2
 
3
- Source controller: [`OrchestratorController.cs`](https://github.com/NextGenSoftwareUK/OASIS2/blob/main/WEB6/NextGenSoftware.OASIS.Web6.WebAPI/Controllers/OrchestratorController.cs)
3
+ Source controller: [`OrchestratorController.cs`](https://github.com/NextGenSoftwareUK/OASIS/blob/main/WEB6/NextGenSoftware.OASIS.Web6.WebAPI/Controllers/OrchestratorController.cs)
4
4
  Route prefix: `v1/orchestrators`
5
5
  3 operation(s).
6
6
 
@@ -1,6 +1,6 @@
1
1
  # ReasoningNetwork — `web6.reasoningNetwork`
2
2
 
3
- Source controller: [`ReasoningNetworkController.cs`](https://github.com/NextGenSoftwareUK/OASIS2/blob/main/WEB6/NextGenSoftware.OASIS.Web6.WebAPI/Controllers/ReasoningNetworkController.cs)
3
+ Source controller: [`ReasoningNetworkController.cs`](https://github.com/NextGenSoftwareUK/OASIS/blob/main/WEB6/NextGenSoftware.OASIS.Web6.WebAPI/Controllers/ReasoningNetworkController.cs)
4
4
  Route prefix: `v1/reasoning-network`
5
5
  4 operation(s).
6
6
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@oasisomniverse/web6-api",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "publishConfig": { "access": "public" },
5
- "description": "Isomorphic (Node + browser) JavaScript/TypeScript-friendly client for the WEB6 OASIS AI Layer API - full coverage of the OASIS2 WEB6 WebAPI (unified AI completion/chat across every provider, image generation, the Holonic BRAID fractal memory hierarchy and shared reasoning-graph library, multi-agent orchestrator adapters for MCP/A2A/LangChain/AutoGen/CrewAI/Semantic Kernel, and FAHRN - the Fractal Adaptive Holonic Reasoning Network for agent scoring/routing/dispatch).",
5
+ "description": "Isomorphic (Node + browser) JavaScript/TypeScript-friendly client for the WEB6 OASIS AI Layer API - full coverage of the OASIS WEB6 WebAPI (unified AI completion/chat across every provider, image generation, the Holonic BRAID fractal memory hierarchy and shared reasoning-graph library, multi-agent orchestrator adapters for MCP/A2A/LangChain/AutoGen/CrewAI/Semantic Kernel, and FAHRN - the Fractal Adaptive Holonic Reasoning Network for agent scoring/routing/dispatch).",
6
6
  "main": "index.js",
7
7
  "module": "index.mjs",
8
8
  "types": "index.d.ts",