Skip to content

Commit 5194307

Browse files
committed
docs: update obsolete @Singularity-AI references to @mohanscodex
1 parent 75f8fed commit 5194307

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Each SDK (TypeScript, Rust) is a **complete, independent native implementation**
1616

1717
```mermaid
1818
graph TB
19-
subgraph TypeScript["TypeScript SDK — @singularity-ai/*"]
19+
subgraph TypeScript["TypeScript SDK — @mohanscodex/*"]
2020
AI["spectra-ai<br/>LLM Providers"]
2121
AGENT["spectra-agent<br/>Agent Loop + Tools"]
2222
APP["spectra-app<br/>SessionEngine + Rate Limiting + SSE Bridge"]
@@ -43,9 +43,9 @@ graph TB
4343

4444
| Package | Layer | Description |
4545
|---------|-------|-------------|
46-
| `@singularity-ai/spectra-ai` | **Provider** | LLM abstraction — stream, complete, register providers. Anthropic, OpenAI, Groq clients with SSE streaming. Core types (Message, Model, ToolCall, StopReason). |
47-
| `@singularity-ai/spectra-agent` | **Agent** | Agent loop with multi-turn tool dispatch. `defineTool()` with Zod validation, before/after hooks, parallel/sequential execution, retry with backoff, abort support. |
48-
| `@singularity-ai/spectra-app` | **Infrastructure** | Production runtime — `SessionEngine` (full lifecycle orchestration), `SessionManager` (CRUD + fork + audit/tree), `SessionStore` (in-memory, filesystem, SQLite, Redis), `LocalRateLimiter` + `RedisRateLimiter` (distributed sliding window), `CompositeRateLimiter` (tenant+user+provider), `CircuitBreaker`, `SseBridge` (SSE with WS-compatible interface), `HealthProbe` (K8s ready). |
46+
| `@mohanscodex/spectra-ai` | **Provider** | LLM abstraction — stream, complete, register providers. Anthropic, OpenAI, Groq clients with SSE streaming. Core types (Message, Model, ToolCall, StopReason). |
47+
| `@mohanscodex/spectra-agent` | **Agent** | Agent loop with multi-turn tool dispatch. `defineTool()` with Zod validation, before/after hooks, parallel/sequential execution, retry with backoff, abort support. |
48+
| `@mohanscodex/spectra-app` | **Infrastructure** | Production runtime — `SessionEngine` (full lifecycle orchestration), `SessionManager` (CRUD + fork + audit/tree), `SessionStore` (in-memory, filesystem, SQLite, Redis), `LocalRateLimiter` + `RedisRateLimiter` (distributed sliding window), `CompositeRateLimiter` (tenant+user+provider), `CircuitBreaker`, `SseBridge` (SSE with WS-compatible interface), `HealthProbe` (K8s ready). |
4949
| `spectra-rs` | **Rust Core** | Rust SDK — core types, agent, tools, events. |
5050
| `spectra-http` | **Rust HTTP** | Rust HTTP clients for Anthropic, OpenAI, Groq, OpenRouter. |
5151

@@ -80,11 +80,11 @@ graph TB
8080
### TypeScript
8181

8282
```bash
83-
bun add @singularity-ai/spectra-ai @singularity-ai/spectra-agent
83+
bun add @mohanscodex/spectra-ai @mohanscodex/spectra-agent
8484
```
8585

8686
```typescript
87-
import { Agent, defineTool } from "@singularity-ai/spectra-agent";
87+
import { Agent, defineTool } from "@mohanscodex/spectra-agent";
8888
import { z } from "zod";
8989

9090
const searchTool = defineTool({
@@ -112,11 +112,11 @@ for await (const event of agent.run("What is Rust?")) {
112112
### TypeScript — Production
113113

114114
```bash
115-
bun add @singularity-ai/spectra-ai @singularity-ai/spectra-agent @singularity-ai/spectra-app ioredis
115+
bun add @mohanscodex/spectra-ai @mohanscodex/spectra-agent @mohanscodex/spectra-app ioredis
116116
```
117117

118118
```typescript
119-
import { SessionEngine, SessionManager, InMemorySessionStore, CompositeRateLimiter, LocalRateLimiter } from "@singularity-ai/spectra-app";
119+
import { SessionEngine, SessionManager, InMemorySessionStore, CompositeRateLimiter, LocalRateLimiter } from "@mohanscodex/spectra-app";
120120

121121
const engine = new SessionEngine({
122122
sessionManager: new SessionManager(new InMemorySessionStore()),
@@ -179,7 +179,7 @@ The three TypeScript packages compose for any scale — from local CLI to distri
179179

180180
```
181181
┌─────────────────────────────────────┐
182-
│ @singularity-ai/spectra-app │
182+
│ @mohanscodex/spectra-app │
183183
│ SessionEngine ── orchestrates full │
184184
│ request lifecycle │
185185
│ │
@@ -214,9 +214,9 @@ The three TypeScript packages compose for any scale — from local CLI to distri
214214
```
215215
spectra/
216216
├── packages/
217-
│ ├── ai/ # @singularity-ai/spectra-ai — LLM providers
218-
│ ├── agent/ # @singularity-ai/spectra-agent — Agent + tools
219-
│ ├── app/ # @singularity-ai/spectra-app — SessionEngine + rate limiting + SSE bridge
217+
│ ├── ai/ # @mohanscodex/spectra-ai — LLM providers
218+
│ ├── agent/ # @mohanscodex/spectra-agent — Agent + tools
219+
│ ├── app/ # @mohanscodex/spectra-app — SessionEngine + rate limiting + SSE bridge
220220
├── apps/
221221
│ └── examples/ # Example usage
222222
├── crates/

0 commit comments

Comments
 (0)