@oasisomniverse/web7-api
v1.0.4
Published
Isomorphic (Node + browser) JavaScript/TypeScript-friendly client for the WEB7 OASIS Symbiosis API - consenting bio-signal symbiosis sessions and shared collective-consciousness fields built on the OASIS WEB7 WebAPI.
Maintainers
Keywords
Readme
@oasisomniverse/web7-api
Isomorphic (Node 18+ and browser) JavaScript/TypeScript-friendly client for the WEB 7 OASIS Symbiosis API - consenting bio-signal symbiosis sessions and shared collective-consciousness fields built on the OASIS WEB 7 WebAPI.
Zero dependencies. Wraps the global fetch. Works the same in Node and the
browser.
⚠️ Work In Progress — Initial Foundations
WEB 7 is currently at the initial framework and foundations stage. The architecture, endpoints, and SDK have been published so that others interested in this space can explore, experiment, and get involved — but active feature development is not the current priority. The main focus across the OASIS stack right now is WEB 4 through WEB 6 (particularly WEB 5 and WEB 6). If you are interested in helping build out WEB 7 we would love to have you — see Do You Want To Get Involved? below.
About WEB 7
"The conscious symbiosis layer — where human intuition and machine intelligence merge as one living system."
WEB 7 bridges human consciousness and machine intelligence through bio-resonant signals (brainwaves, heart rate and other natural body signals), rather than the invasive neural implants other visions of human-AI merging rely on - it's non-invasive, reversible and amplifies human thought instead of replacing it. "Borg-free by design."
WEB 7 builds on WEB 4 through WEB 6, and is one layer of the wider OASIS Omniverse (WEB 4 through WEB 10).
About The OASIS Omniverse
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.
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.
This is the foundation of the OASIS Omniverse: a network of unified layers, WEB 4 (identity & unification) through WEB 10 (source), each building on the one below to connect blockchains, metaverses, AI, human consciousness and beyond into a single interoperable whole.
👉 See the full ecosystem at oasisomniverse.one.
Benefits Of Building On The WEB 7 Symbiosis API
- Non-invasive, reversible human-AI symbiosis via bio-resonant signals (brainwaves, heart rate) - no neural implants. "Borg-free by design."
- Amplifies human intuition and intention rather than replacing it.
- Consent-based sessions - symbiosis only ever happens with explicit, revocable consent.
- Collective Consciousness spaces let multiple symbiosis sessions aggregate into a shared field.
- Builds directly on WEB 4 identity/karma and WEB 6 AI orchestration - no separate account/session system to manage.
- Integrate any WEB2 or WEB3 tech into your (web)app without having to learn or worry about new tech stacks/languages.
- SSO Avatar with a Karma reputation system (inherited from WEB 4 - full accountability, zero crime, dark-net proof).
- Maximum integration & interoperability, auto load-balancing, auto fail-over, auto replication.
- HOT-swappable plugin architecture. HTTP REST/gRPC/GraphQL/CLI/Native endpoints.
- Write once, deploy everywhere, now and forever - the GOD Protocol/API.
- Full redundancy/zero downtime - impossible to shut down. Zero lag.
- Decentralised distributed P2P networking - works offline and syncs automatically (even over LAN/Bluetooth/Mesh).
- Agent-centric: you own and store your own data.
- Bio-feedback ready. WEB 8 Galactic Mesh ready.
Check out more info below: The Power Of The OASIS API Main OASIS Repo
WEB 7 Symbiosis API Packages
Javascript
https://www.npmjs.com/package/@oasisomniverse/web7-api
https://github.com/NextGenSoftwareUK/OASIS-API-Javascript-Package-WEB7
C#
https://github.com/NextGenSoftwareUK/OASIS
Do You Want To Get Involved?
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! ;-)
The whole world is the Our World team, hence the name... ;-) It is not our project; it is all of humanities...
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:
NextGen Developer Training Programme NextGen Junior Developer Training Programme
We are looking for Web Devs (with any of these: react, angular, vue, js, html, css), Unity Devs & C# Devs.
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.
Thank you and we hope we find interest from people to join us on this exciting incredible journey.
Want to make a difference in the world?
What will be your legacy?
Ready to be a hero?
If the answer is YES, then please proceed to here...
Dev Requirements To Join The Our World Tribe The Our World Mission (Summary) http://web7.oasisomniverse.one http://api.web7.oasisomniverse.one https://github.com/NextGenSoftwareUK/OASIS http://oasisomniverse.one http://www.ourworldthegame.com http://www.nextgenworld.co.uk
https://www.npmjs.com/package/@oasisomniverse/web4-api https://www.npmjs.com/package/@oasisomniverse/web5-api https://www.npmjs.com/package/@oasisomniverse/web6-api https://www.npmjs.com/package/@oasisomniverse/web8-api https://www.npmjs.com/package/@oasisomniverse/web9-api https://www.npmjs.com/package/@oasisomniverse/web10-api
TOGETHER WE CAN CREATE A BETTER WORLD
In Love, Light & Hope, The Our World Tribe
Installation
npm install @oasisomniverse/web7-apiQuick start
const { Web7Client } = require('@oasisomniverse/web7-api');
// or: import { Web7Client } from '@oasisomniverse/web7-api';
const web7 = new Web7Client({ baseUrl: 'https://api.web7.oasisomniverse.one' });
const { isError, message, result } = await web7.symbiosis.startSession({ consentGranted: true });
if (isError) throw new Error(message);
console.log(result);Calling any endpoint
Every controller on the OASIS WEB 7 WebAPI is reachable as a lowerCamel
property on the client (web7.symbiosis, web7.collectiveConsciousness).
Every generated method takes a single args object:
- Any key matching a
{token}in the route template is consumed and substituted into the URL (case-insensitive match). - Any remaining keys become the query string (GET/DELETE) or JSON body
(POST/PUT) - matching the real
[FromQuery]/[FromBody]binding of the underlying C# action, not just the HTTP verb.endpoints.jsonrecords exactly which arg names are query-bound per operation (seedocs/for the per-method breakdown).
// GET v1/symbiosis/sessions/{sessionId} -> sessionId consumed as a route token
const session = await web7.symbiosis.getSession({ sessionId });
// POST v1/symbiosis/sessions/{sessionId}/signals -> sessionId consumed, samples becomes the body
await web7.symbiosis.submitSignals({ sessionId, samples: [{ type: 'HeartRate', value: 72 }] });
// POST v1/symbiosis/sessions -> consentGranted/retention are [FromQuery] even
// though this is a POST, so they're sent on the URL, not as a JSON body
const session2 = await web7.symbiosis.startSession({ consentGranted: true, retention: 'Ephemeral' });Every response has the shape:
interface OASISResponse<T = any> {
isError: boolean;
message: string | null;
result: T;
raw: any;
statusCode: number;
}Auth
WEB 7 is an internal bio-symbiosis layer that sits behind the same OASIS
avatar identity as WEB 4/WEB 5/WEB 6 - it has no avatar/login endpoints of its
own. Reuse a JWT you've already obtained elsewhere (e.g. from
web4-oasis-api's client.auth.login()):
web7.setToken(jwtToken);Module examples
Symbiosis (web7.symbiosis)
const session = await web7.symbiosis.startSession({ consentGranted: true, retention: 'Ephemeral' });
const intentionState = await web7.symbiosis.submitSignals({
sessionId: session.result.id,
samples: [{ type: 'HeartRate', value: 72, timestamp: new Date().toISOString() }]
});
await web7.symbiosis.endSession({ sessionId: session.result.id });Collective Consciousness (web7.collectiveConsciousness)
const space = await web7.collectiveConsciousness.createSpace({ name: 'Morning Meditation' });
await web7.collectiveConsciousness.joinSpace({ spaceId: space.result.id, sessionId: session.result.id });
const field = await web7.collectiveConsciousness.getAggregateField({ spaceId: space.result.id });Module reference
2 modules, 7 operations in total. Full per-method tables live in
docs/.
| Client property | Route prefix | Operations |
| --- | --- | --- |
| web7.collectiveConsciousness | v1/collective-consciousness | 3 |
| web7.symbiosis | v1/symbiosis | 4 |
See docs/README.md for the full generated reference,
or docs/modules/ for per-module method tables with
parameter and route details.
Regenerating
The generated modules, type declarations and docs are produced from
endpoints.json (extracted from the WEB 7 WebAPI controller source):
npm run generate # src/modules/*.js + src/modules/index.js
npm run types # src/modules/*.d.ts + index.d.ts + src/core/types.d.ts
npm run docs # docs/README.md + docs/modules/*.mdTesting
npm testTroubleshooting
Failed to execute 'fetch' on 'Window': Illegal invocation — add this one-liner before your SDK script tag:
<script>if(window.fetch) window.fetch = window.fetch.bind(window);</script>Or pass a bound fetch to the constructor:
const client = new Web7Client({
baseUrl: 'https://api.web7.oasisomniverse.one',
fetchImpl: window.fetch.bind(window)
});See docs/troubleshooting.md for the full list of common issues.
License
MIT
