rn-ai 1.1.0 → 1.2.0
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 +2 -4
- package/cli.js +0 -36
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,13 +8,11 @@ Full stack framework for building cross-platform mobile AI apps supporting LLM r
|
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
11
|
-
- LLM support for [OpenAI](https://openai.com/)
|
|
12
|
-
-
|
|
11
|
+
- LLM support for [OpenAI](https://openai.com/) GPT-5.2 + GPT-5 mini, [Anthropic](https://anthropic.com) Claude Opus/Sonnet/Haiku 4.5, and [Gemini](https://makersuite.google.com)
|
|
12
|
+
- Image generation with Gemini (Nano Banana)
|
|
13
13
|
- Real-time / streaming responses from all providers
|
|
14
|
-
- OpenAI Assistants including code interpreter and retrieval
|
|
15
14
|
- Server proxy to easily enable authentication and authorization with auth provider of choice.
|
|
16
15
|
- Theming (comes out of the box with 5 themes) - easily add additional themes with just a few lines of code.
|
|
17
|
-
- Image processing with [ByteScale](https://bytescale.com/)
|
|
18
16
|
|
|
19
17
|

|
|
20
18
|
|
package/cli.js
CHANGED
|
@@ -94,21 +94,9 @@ ENVIRONMENT="PRODUCTION"
|
|
|
94
94
|
# OpenAI https://platform.openai.com
|
|
95
95
|
OPENAI_API_KEY=""
|
|
96
96
|
|
|
97
|
-
# FAL AI https://www.fal.ai
|
|
98
|
-
FAL_API_KEY=""
|
|
99
|
-
|
|
100
97
|
# Anthropic (optional) https://console.anthropic.com
|
|
101
98
|
ANTHROPIC_API_KEY=""
|
|
102
99
|
|
|
103
|
-
# Cohere (optional) https://cohere.com
|
|
104
|
-
COHERE_API_KEY=""
|
|
105
|
-
|
|
106
|
-
# ByteScale secret (optional) https://bytescale.com
|
|
107
|
-
BYTESCALE_API_KEY=""
|
|
108
|
-
|
|
109
|
-
# Replicate secret (optional) https://replicate.com/
|
|
110
|
-
REPLICATE_KEY=""
|
|
111
|
-
|
|
112
100
|
# Gemini API Key (optional) https://makersuite.google.com
|
|
113
101
|
GEMINI_API_KEY=""
|
|
114
102
|
`
|
|
@@ -117,21 +105,9 @@ GEMINI_API_KEY=""
|
|
|
117
105
|
console.log('Get OpenAI API Key at https://platform.openai.com')
|
|
118
106
|
const openai_api_key = await input({ message: "OpenAI API Key" })
|
|
119
107
|
|
|
120
|
-
console.log('Get Fal API Key at https://www.fal.ai')
|
|
121
|
-
const fal_api_key = await input({ message: "Fal API Key" })
|
|
122
|
-
|
|
123
108
|
console.log('(optional) Get Anthropic API Key at https://console.anthropic.com')
|
|
124
109
|
const anthropic_api_key = await input({ message: "Anthropic API Key" })
|
|
125
110
|
|
|
126
|
-
console.log('(optional) Get Cohere API Key at https://cohere.com')
|
|
127
|
-
const cohere_api_key = await input({ message: "Cohere API Key" })
|
|
128
|
-
|
|
129
|
-
console.log('(optional) Get Bytescale API Key at https://bytescale.com')
|
|
130
|
-
const bytescale_api_key = await input({ message: "Bytescale API Key" })
|
|
131
|
-
|
|
132
|
-
console.log('(optional) Get Replicate API Key at https://replicate.com')
|
|
133
|
-
const replicate_api_key = await input({ message: "Replicate API Key" })
|
|
134
|
-
|
|
135
111
|
console.log('(optional) Get Gemini API Key at https://makersuite.google.com')
|
|
136
112
|
const gemeni_api_key = await input({ message: "Gemini API Key" })
|
|
137
113
|
|
|
@@ -139,24 +115,12 @@ GEMINI_API_KEY=""
|
|
|
139
115
|
# environment, either PRODUCTION or DEVELOPMENT
|
|
140
116
|
ENVIRONMENT="PRODUCTION"
|
|
141
117
|
|
|
142
|
-
# ByteScale
|
|
143
|
-
BYTESCALE_API_KEY="${bytescale_api_key}"
|
|
144
|
-
|
|
145
118
|
# OpenAI
|
|
146
119
|
OPENAI_API_KEY="${openai_api_key}"
|
|
147
120
|
|
|
148
121
|
# Anthropic
|
|
149
122
|
ANTHROPIC_API_KEY="${anthropic_api_key}"
|
|
150
123
|
|
|
151
|
-
# Cohere
|
|
152
|
-
COHERE_API_KEY="${cohere_api_key}"
|
|
153
|
-
|
|
154
|
-
# FAL
|
|
155
|
-
FAL_API_KEY="${fal_api_key}"
|
|
156
|
-
|
|
157
|
-
# Replicate secret
|
|
158
|
-
REPLICATE_KEY="${replicate_api_key}"
|
|
159
|
-
|
|
160
124
|
# Gemini API Key
|
|
161
125
|
GEMINI_API_KEY=${gemeni_api_key}
|
|
162
126
|
`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rn-ai",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Full stack mobile framework for building cross-platform mobile AI apps supporting image processing, real-time / streaming text and chat UIs, and image uploads with multiple service providers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": "cli.js",
|