open-index/open-npm huggingface dataset:
npm package: @orbat-mapper/msdllib
Description: A library for manipulating Military Scenario Definition Language (MSDL) data
Latest version: 1.3.1

# MSDLlib

**Experimental**

A JavaScript library for parsing Military Scenario Definition Language (MSDL) data.
Currently, MSDLlib only supports the most commonly used MSDL data structures.

The Military Scenario Definition Language is an XML-based language designed to support military
scenario development. MSDL, also known as [SISO-STD-007-2008](https://www.sisostds.org/DesktopModules/Bring2mind/DMX/Download.aspx?Command=Core_Download&EntryId=45690&PortalId=0&TabId=105), is a standard developed by the [Simulation Interoperability Standards
Organization (SISO)](https://www.sisostds.org/Home.aspx). For more information about MSDL please
visit the [SISO standards page](https://www.sisostds.org/productspublications/standards/sisostandards.aspx)
and [SISO Product data files page](https://www.sisostds.org/Schemas.aspx).

Please note that MSDL will be superseded by C2SIM-Initialize. You can read more about this on the
[C2SIM project page](https://openc2sim.github.io/).

See [msdl-editor](https://github.com/orbat-mapper/msdl-editor) for an example project that uses MSDLlib.

## Copyright notice

The MSDL schema [SISO-STD-007-2008](https://www.sisostds.org/DesktopModules/Bring2mind/DMX/Download.aspx?Command=Core_Download&EntryId=45690&PortalId=0&TabId=105)
is copyright © 2015 by the Simulation Interoperability Standards Organization, Inc.

## Usage

To use MSDLlib in your project, follow these steps:

1. Install the library using npm:

   ```sh
   npm install @orbat-mapper/msdllib
   ```

2. Import and use the library in your TypeScript or JavaScript code:

   ```typescript
   // Example usage
   import { MilitaryScenario } from "@orbat-mapper/msdllib";

   async function loadMsdlFile(url: string) {
     try {
       const response = await fetch(url);
       const msdlAsText = await response.text();
       const msdlScenario = MilitaryScenario.createFromString(msdlString);
       return msdlScenario;
     } catch (error) {
       console.error("Failed to load MSDL file", error);
     }
   }

   const msdl = loadMsdlFile("https://example.com/msdl-file.xml");
   console.log(msdl.forceSides[0].toGeoJson());
   ```

## Development

MSDLlib is developed in TypeScript. To contribute or modify the library, follow these steps:

1. Clone the repository:

   ```sh
   git clone https://github.com/orbat-mapper/msdllib.git
   cd msdllib
   ```

2. Install dependencies:

   ```sh
   npm install
   ```

3. Build the project:

   ```sh
   npm run build
   ```

4. Run tests:
   ```sh
   npm run test
   ```

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
npm package: @orbcity/agent-sdk
Description: Official SDK for creating AI agents in Orb City - simplifies avatar control, movement, and interactions
Author: Orb City
Latest version: 2.0.0

# @orbcity/agent-sdk

Official SDK for creating AI agents in Orb City. Simplifies avatar control, movement, and interactions.

## Installation

```bash
npm install @orbcity/agent-sdk
```

## Quick Start

```javascript
const { OrbCityAgent } = require('@orbcity/agent-sdk');

async function main() {
  const agent = new OrbCityAgent(process.env.ORB_CITY_API_KEY);
  
  await agent.join('outside');
  
  agent.on('playerJoin', (player) => {
    agent.say(`Welcome ${player.name}!`);
    agent.wave();
  });
}

main();
```

## Features

- **Simple connection** - One line to connect and join a room
- **Smooth movement** - `moveTo(x, z)` handles interpolation automatically
- **Built-in behaviors** - Patrol, follow, and wander out of the box
- **Easy emotes** - `wave()`, `dance()`, `salute()`
- **Auto-reconnect** - Handles disconnections gracefully
- **Full TypeScript support** - Complete type definitions included

## API

### Connection

```javascript
await agent.join('outside');        // Join a room
agent.changeRoom('building');       // Change rooms
agent.disconnect();                 // Disconnect
```

### Movement

```javascript
await agent.moveTo(5, 3);           // Move to position
await agent.moveTo(5, 3, 4);        // Move with custom speed
agent.turnTo(10, 5);                // Face a direction
agent.stop();                       // Stop movement
```

### Behaviors

```javascript
// Patrol waypoints
agent.patrol([
  { x: 0, z: 0 },
  { x: 5, z: 5 }
]);

// Follow a player
agent.follow(playerId);

// Wander randomly
agent.wander({ minX: -10, maxX: 10, minZ: -10, maxZ: 10 });

// Stop behavior
agent.stopBehavior();
```

### Emotes

```javascript
agent.wave();
agent.dance();
agent.salute();
agent.emote('dance2');
```

### Chat

```javascript
agent.say('Hello!');
```

### Events

```javascript
agent.on('playerJoin', (player) => { });
agent.on('playerLeave', (playerId) => { });
agent.on('playerMove', (player) => { });
agent.on('chat', (message) => { });
agent.on('connected', () => { });
agent.on('disconnected', () => { });
agent.on('error', (error) => { });
```

### Properties

```javascript
agent.position      // { x, y, z }
agent.players       // Map of players in room
agent.isConnected   // boolean
agent.playerId      // string
agent.environment   // string
```

## Getting an API Key

1. Go to [orbcity.online/agents.html](https://orbcity.online/agents.html)
2. Sign in with Google or MetaMask
3. Click "Create Agent"
4. Save your API key (it's only shown once!)

## Documentation

- [Quick Start Guide](https://github.com/orbcity/music3DSite/blob/main/docs/AGENT_QUICKSTART.md)
- [Full SDK Reference](https://github.com/orbcity/music3DSite/blob/main/AGENT_SDK.md)

## License

MIT
npm package: @orbiar/next-viewer
Description: Next.js client component for Orbiar 3D/AR viewer
Author: Furkan Cakici
Latest version: 1.0.2

# @orbiar/next-viewer

Next.js client component for Orbiar 3D/AR viewer (SSR-safe).

## Installation

```bash
npm install @orbiar/next-viewer
```

## Usage

```tsx
import { OrbiarViewer } from "@orbiar/next-viewer";

export default function Page() {
  return (
    <OrbiarViewer
      src="https://example.com/model.glb"
      iosSrc="https://example.com/model.usdz"
      poster="https://example.com/poster.jpg"
      height={500}
      autoRotate
    />
  );
}
```

The component is automatically wrapped with `next/dynamic` (`ssr: false`) so it is safe to use in Server Components and avoids SSR issues.

## Peer Dependencies

- `next >= 13.0.0`
- `react >= 17.0.0`

## Related Packages

- [`@orbiar/viewer`](https://www.npmjs.com/package/@orbiar/viewer) — Core vanilla JS viewer
- [`@orbiar/react-viewer`](https://www.npmjs.com/package/@orbiar/react-viewer) — React component
- [`@orbiar/vue-viewer`](https://www.npmjs.com/package/@orbiar/vue-viewer) — Vue 3 & Nuxt 3 component

---
See [orbiar.com](https://orbiar.com) for full documentation.
npm package: @orbiar/react-viewer
Description: React component for Orbiar 3D/AR viewer
Author: Furkan Cakici
Latest version: 1.0.2

# @orbiar/react-viewer

React component for Orbiar 3D/AR viewer.

## Installation

```bash
npm install @orbiar/react-viewer
```

## Usage

```tsx
import { OrbiarViewer } from "@orbiar/react-viewer";

function App() {
  return (
    <OrbiarViewer
      src="https://example.com/model.glb"
      iosSrc="https://example.com/model.usdz"
      poster="https://example.com/poster.jpg"
      height={500}
      autoRotate
    />
  );
}
```

## Imperative API

```tsx
import { OrbiarViewerCore } from "@orbiar/react-viewer";

OrbiarViewerCore.mount("#container", { src: "...", height: 500 });
```

---
See [orbiar.com](https://orbiar.com) for full documentation.
npm package: @orbiar/viewer
Description: Platform-agnostic 3D/AR viewer — Declarative & Imperative API
Author: Furkan Cakici
Latest version: 1.0.2

# @orbiar/viewer

Platform-agnostic 3D/AR viewer. Works on any website via script tag or npm. Supports **Declarative** (HTML data attributes) and **Imperative** (JavaScript API) modes.

## Installation

```bash
npm install @orbiar/viewer
```

## Usage

```javascript
import { OrbiarViewer } from "@orbiar/viewer";

OrbiarViewer.mount("#container", {
  src: "https://example.com/model.glb",
  iosSrc: "https://example.com/model.usdz",
  poster: "https://example.com/poster.jpg",
  height: 500,
});
```

## CDN

```html
<script src="https://unpkg.com/@orbiar/viewer/dist/orbiar-viewer.min.js" defer></script>
```

See [orbiar.com](https://orbiar.com) for full documentation.
npm package: @orbiar/vue-viewer
Description: Vue 3 & Nuxt 3 component for Orbiar 3D/AR viewer (SSR-safe)
Author: Furkan Cakici
Latest version: 1.0.2

# @orbiar/vue-viewer

Vue 3 & Nuxt 3 bileşeni (SSR-safe). Tek paket Vue ve Nuxt projelerinde kullanılır.

## Kurulum

```bash
npm install @orbiar/vue-viewer
```

## Vue 3

```vue
<template>
  <OrbiarViewer src="https://example.com/model.glb" :height="400" />
</template>

<script setup>
import { OrbiarViewer } from "@orbiar/vue-viewer";
</script>
```

## Nuxt 3

```vue
<template>
  <OrbiarViewer src="https://example.com/model.glb" :height="400" />
</template>

<script setup>
import { OrbiarViewer } from "@orbiar/vue-viewer";
</script>
```

SSR-safe: `onMounted` ile viewer sadece client'ta mount edilir; `init()` document kontrolü ile sunucuda çalışmaz.

---
See [orbiar.com](https://orbiar.com) for full documentation.