@robota-sdk/agent-framework 3.0.0-beta.67 → 3.0.0-beta.69
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 +6 -6
- package/dist/node/index.cjs +41 -41
- package/dist/node/index.d.ts +662 -594
- package/dist/node/index.d.ts.map +1 -1
- package/dist/node/index.js +41 -41
- package/dist/node/index.js.map +1 -1
- package/package.json +23 -6
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Programmatic SDK for building AI agents with Robota. Provides `InteractiveSession` as the central client-facing API, `createQuery()` for one-shot use, session management, SDK-owned command/common APIs, permissions, hooks, streaming, context loading, bounded prompt file references, and context reference inventory.
|
|
4
4
|
|
|
5
|
-
This is the **assembly layer** of the Robota ecosystem — it composes lower-level packages (`agent-core`, `agent-tools`, `agent-
|
|
5
|
+
This is the **assembly layer** of the Robota ecosystem — it composes lower-level packages (`agent-core`, `agent-tools`, `agent-session`, `agent-provider`) into a cohesive SDK.
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -66,9 +66,9 @@ const detailedResponse = await queryWithOptions('Analyze the code');
|
|
|
66
66
|
## Architecture
|
|
67
67
|
|
|
68
68
|
```
|
|
69
|
-
agent-
|
|
69
|
+
agent-framework (assembly layer)
|
|
70
70
|
├── InteractiveSession ← central client-facing API (event-driven)
|
|
71
|
-
│ └── Session ← generic session (agent-
|
|
71
|
+
│ └── Session ← generic session (agent-session)
|
|
72
72
|
├── SystemCommandExecutor ← SDK-level command execution
|
|
73
73
|
├── CommandRegistry / BuiltinCommandSource / SkillCommandSource
|
|
74
74
|
├── Agent runtime dependencies and background orchestration
|
|
@@ -76,13 +76,13 @@ agent-sdk (assembly layer)
|
|
|
76
76
|
├── createQuery() ← one-shot entry point factory
|
|
77
77
|
├── createSession() ← internal assembly factory
|
|
78
78
|
└── deps:
|
|
79
|
-
agent-
|
|
79
|
+
agent-session (Session, SessionStore)
|
|
80
80
|
agent-tools (tool infrastructure + 8 built-in tools)
|
|
81
|
-
agent-provider
|
|
81
|
+
agent-provider (consolidated AI providers: /anthropic, /openai, /gemini, …)
|
|
82
82
|
agent-core (Robota engine, providers, permissions, hooks)
|
|
83
83
|
|
|
84
84
|
agent-cli (TUI layer — bridges InteractiveSession events to React/Ink state)
|
|
85
|
-
→ agent-
|
|
85
|
+
→ agent-framework
|
|
86
86
|
```
|
|
87
87
|
|
|
88
88
|
The SDK is **pure TypeScript with no React dependency**. The CLI is a thin TUI-only layer that consumes `InteractiveSession` events and maps them to React state. Any other client (web app, API server, worker) can do the same.
|