@absolutejs/ai 0.0.40 → 0.0.42
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 +8 -0
- package/dist/ai/index.js +638 -3
- package/dist/ai/index.js.map +6 -5
- package/dist/ai/providers/anthropic.js +3 -2
- package/dist/ai/providers/anthropic.js.map +3 -3
- package/dist/ai/ui/index.js +474 -2
- package/dist/ai/ui/index.js.map +3 -3
- package/dist/src/ai/index.d.ts +2 -0
- package/dist/src/ai/providerProxy.d.ts +16 -0
- package/dist/src/ai/ui/catalog.d.ts +173 -4
- package/dist/src/ai/ui/index.d.ts +7 -4
- package/dist/types/anthropic.d.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,3 +4,11 @@ Standalone AI runtime and provider package extracted from AbsoluteJS.
|
|
|
4
4
|
|
|
5
5
|
This package currently focuses on generic AI/chat/provider functionality.
|
|
6
6
|
RAG remains a separate package.
|
|
7
|
+
|
|
8
|
+
Provider traffic can cross a trusted control plane without reimplementing a
|
|
9
|
+
vendor protocol. `remoteProvider()` carries normalized provider parameters and
|
|
10
|
+
chunks over SSE, while `createProviderProxyResponse()` hosts any
|
|
11
|
+
`AIProviderConfig` with pre-first-token and inter-token heartbeats. Provider
|
|
12
|
+
callbacks and abort objects never cross the wire. The Anthropic provider also
|
|
13
|
+
accepts an injectable `fetch`, allowing hosts to retain egress policy, tracing,
|
|
14
|
+
and test transports.
|