@everworker/oneringai 0.1.2 → 0.1.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.
- package/README.md +55 -24
- package/dist/index.cjs +275 -99
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +88 -38
- package/dist/index.d.ts +88 -38
- package/dist/index.js +275 -99
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,6 +6,54 @@
|
|
|
6
6
|
[](https://www.typescriptlang.org/)
|
|
7
7
|
[](https://nodejs.org/)
|
|
8
8
|
|
|
9
|
+
## Table of Contents
|
|
10
|
+
|
|
11
|
+
- [Features](#features)
|
|
12
|
+
- [Quick Start](#quick-start) — Installation, basic usage, tools, vision, audio, images, video, search, scraping
|
|
13
|
+
- [Supported Providers](#supported-providers)
|
|
14
|
+
- [Key Features](#key-features)
|
|
15
|
+
- [1. Agent with Plugins](#1-agent-with-plugins)
|
|
16
|
+
- [2. Dynamic Tool Management](#2-dynamic-tool-management-new)
|
|
17
|
+
- [3. Tool Execution Plugins](#3-tool-execution-plugins-new)
|
|
18
|
+
- [4. Session Persistence](#4-session-persistence)
|
|
19
|
+
- [5. Working Memory](#5-working-memory)
|
|
20
|
+
- [6. Research with Search Tools](#6-research-with-search-tools)
|
|
21
|
+
- [6. Context Management](#6-context-management)
|
|
22
|
+
- [7. InContextMemory](#7-incontextmemory)
|
|
23
|
+
- [8. Persistent Instructions](#8-persistent-instructions)
|
|
24
|
+
- [9. Direct LLM Access](#9-direct-llm-access)
|
|
25
|
+
- [11. Audio Capabilities](#11-audio-capabilities)
|
|
26
|
+
- [12. Model Registry](#12-model-registry)
|
|
27
|
+
- [13. Streaming](#13-streaming)
|
|
28
|
+
- [14. OAuth for External APIs](#14-oauth-for-external-apis)
|
|
29
|
+
- [15. Developer Tools](#15-developer-tools)
|
|
30
|
+
- [16. External API Integration](#16-external-api-integration) — Scoped Registry, Vendor Templates, Tool Discovery
|
|
31
|
+
- [MCP Integration](#mcp-model-context-protocol-integration)
|
|
32
|
+
- [Documentation](#documentation)
|
|
33
|
+
- [Examples](#examples)
|
|
34
|
+
- [Development](#development)
|
|
35
|
+
- [Architecture](#architecture)
|
|
36
|
+
- [Troubleshooting](#troubleshooting)
|
|
37
|
+
- [Contributing](#contributing)
|
|
38
|
+
- [License](#license)
|
|
39
|
+
|
|
40
|
+
<!-- For in-depth guides and full API reference, see the docs section below -->
|
|
41
|
+
|
|
42
|
+
## Documentation
|
|
43
|
+
|
|
44
|
+
> **Start here if you're looking for detailed docs or the full API reference.**
|
|
45
|
+
|
|
46
|
+
| Document | Description |
|
|
47
|
+
|----------|-------------|
|
|
48
|
+
| **[User Guide](./USER_GUIDE.md)** | Comprehensive guide covering every feature with examples — connectors, agents, context, plugins, audio, video, search, MCP, OAuth, and more |
|
|
49
|
+
| **[API Reference](./API_REFERENCE.md)** | Auto-generated reference for all 600+ public exports — classes, interfaces, types, and functions with signatures |
|
|
50
|
+
| [CHANGELOG](./CHANGELOG.md) | Version history and migration notes |
|
|
51
|
+
| [MCP Integration](./MCP_INTEGRATION.md) | Model Context Protocol setup and usage |
|
|
52
|
+
| [Architecture (CLAUDE.md)](./CLAUDE.md) | Internal architecture guide |
|
|
53
|
+
| [Testing Guide](./TESTING.md) | How to run and write tests |
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
9
57
|
## Features
|
|
10
58
|
|
|
11
59
|
- ✨ **Unified API** - One interface for 10+ AI providers (OpenAI, Anthropic, Google, Groq, DeepSeek, and more)
|
|
@@ -621,7 +669,7 @@ const agent = Agent.create({
|
|
|
621
669
|
|---------|---------|--------|------------------|
|
|
622
670
|
| `workingMemory` | `true` | WorkingMemoryPluginNextGen | `memory_store/retrieve/delete/list` |
|
|
623
671
|
| `inContextMemory` | `false` | InContextMemoryPluginNextGen | `context_set/delete/list` |
|
|
624
|
-
| `persistentInstructions` | `false` | PersistentInstructionsPluginNextGen | `instructions_set/
|
|
672
|
+
| `persistentInstructions` | `false` | PersistentInstructionsPluginNextGen | `instructions_set/remove/list/clear` |
|
|
625
673
|
|
|
626
674
|
**AgentContextNextGen architecture:**
|
|
627
675
|
- **Plugin-first design** - All features are composable plugins
|
|
@@ -692,8 +740,8 @@ const agent = Agent.create({
|
|
|
692
740
|
},
|
|
693
741
|
});
|
|
694
742
|
|
|
695
|
-
// LLM can now use instructions_set/
|
|
696
|
-
// Instructions persist to ~/.oneringai/agents/my-assistant/custom_instructions.
|
|
743
|
+
// LLM can now use instructions_set/remove/list/clear tools
|
|
744
|
+
// Instructions persist to ~/.oneringai/agents/my-assistant/custom_instructions.json
|
|
697
745
|
```
|
|
698
746
|
|
|
699
747
|
**Key Features:**
|
|
@@ -703,9 +751,9 @@ const agent = Agent.create({
|
|
|
703
751
|
- 🛡️ **Never Compacted** - Critical instructions always preserved in context
|
|
704
752
|
|
|
705
753
|
**Available Tools:**
|
|
706
|
-
- `instructions_set` -
|
|
707
|
-
- `
|
|
708
|
-
- `
|
|
754
|
+
- `instructions_set` - Add or update a single instruction by key
|
|
755
|
+
- `instructions_remove` - Remove a single instruction by key
|
|
756
|
+
- `instructions_list` - List all instructions with keys and content
|
|
709
757
|
- `instructions_clear` - Remove all instructions (requires confirmation)
|
|
710
758
|
|
|
711
759
|
**Use cases:** Agent personality/behavior, user preferences, learned rules, tool usage patterns.
|
|
@@ -1173,18 +1221,6 @@ await agent.run('List files and analyze them');
|
|
|
1173
1221
|
|
|
1174
1222
|
See [MCP_INTEGRATION.md](./MCP_INTEGRATION.md) for complete documentation.
|
|
1175
1223
|
|
|
1176
|
-
## Documentation
|
|
1177
|
-
|
|
1178
|
-
📖 **[Complete User Guide](./USER_GUIDE.md)** - Comprehensive guide covering all features
|
|
1179
|
-
|
|
1180
|
-
### Additional Resources
|
|
1181
|
-
|
|
1182
|
-
- **[MCP_INTEGRATION.md](./MCP_INTEGRATION.md)** - Model Context Protocol integration guide
|
|
1183
|
-
- **[CLAUDE.md](./CLAUDE.md)** - Architecture guide for AI assistants
|
|
1184
|
-
- **[MULTIMODAL_ARCHITECTURE.md](./MULTIMODAL_ARCHITECTURE.md)** - Multimodal implementation details
|
|
1185
|
-
- **[MICROSOFT_GRAPH_SETUP.md](./MICROSOFT_GRAPH_SETUP.md)** - Microsoft Graph OAuth setup
|
|
1186
|
-
- **[TESTING.md](./TESTING.md)** - Testing guide for contributors
|
|
1187
|
-
|
|
1188
1224
|
## Examples
|
|
1189
1225
|
|
|
1190
1226
|
```bash
|
|
@@ -1265,9 +1301,4 @@ MIT License - See [LICENSE](./LICENSE) file.
|
|
|
1265
1301
|
|
|
1266
1302
|
---
|
|
1267
1303
|
|
|
1268
|
-
**Version:** 0.1.
|
|
1269
|
-
**Last Updated:** 2026-02-06
|
|
1270
|
-
|
|
1271
|
-
For detailed documentation on all features, see the **[Complete User Guide](./USER_GUIDE.md)**.
|
|
1272
|
-
|
|
1273
|
-
For internal development and architecture improvement plans, see **[IMPROVEMENT_PLAN.md](./IMPROVEMENT_PLAN.md)**.
|
|
1304
|
+
**Version:** 0.1.3 | **Last Updated:** 2026-02-07 | **[User Guide](./USER_GUIDE.md)** | **[API Reference](./API_REFERENCE.md)** | **[Changelog](./CHANGELOG.md)**
|