@feltdb/core 0.4.6 → 0.4.8
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/bin/create-feltdb.js +0 -0
- package/dist/create/cli.js +51 -2
- package/dist/create/create.js +1349 -125
- package/dist/create/package-versions.js +1 -1
- package/dist/studio/KeyManagementPanel-B0s0xAXz.js +298 -0
- package/dist/studio/components/KeyManagementPanel.d.ts.map +1 -1
- package/dist/studio/components/KeyManagementPanel.js +1 -1
- package/dist/studio/components/index.js +2 -2
- package/dist/studio/{components-BRYUceo9.js → components-BAycgZhP.js} +1 -1
- package/dist/studio/index.js +2 -2
- package/dist/studio-app/assets/{feltdb_wasm-BXMn9UxO.js → feltdb_wasm-Bb1Pg6qz.js} +1 -1
- package/dist/studio-app/assets/feltdb_wasm_bg-2_wVudcZ.wasm +0 -0
- package/dist/studio-app/assets/{index-B-lZjdtI.js → index-DKVLtS37.js} +2 -2
- package/dist/studio-app/index.html +1 -1
- package/dist/wasm/feltdb_wasm_bg.wasm +0 -0
- package/package.json +1 -1
- package/dist/studio/KeyManagementPanel-BOvWTRyH.js +0 -246
- package/dist/studio-app/assets/feltdb_wasm_bg-bYYbZeRM.wasm +0 -0
package/bin/create-feltdb.js
CHANGED
|
File without changes
|
package/dist/create/cli.js
CHANGED
|
@@ -125,7 +125,51 @@ async function promptForOptions(defaults) {
|
|
|
125
125
|
async function main() {
|
|
126
126
|
const args = process.argv.slice(2);
|
|
127
127
|
if (args.includes('--help') || args.includes('-h')) {
|
|
128
|
-
console.log(`create-feltdb ${FELTDB_PACKAGE_VERSION}
|
|
128
|
+
console.log(`create-feltdb ${FELTDB_PACKAGE_VERSION}
|
|
129
|
+
|
|
130
|
+
Create a new FeltDB application with one command.
|
|
131
|
+
|
|
132
|
+
Usage:
|
|
133
|
+
create-feltdb [project-name] [options]
|
|
134
|
+
|
|
135
|
+
Examples:
|
|
136
|
+
create-feltdb my-app
|
|
137
|
+
create-feltdb my-app --runtime browser --framework react
|
|
138
|
+
create-feltdb my-app --yes --no-start
|
|
139
|
+
|
|
140
|
+
Runtime Options:
|
|
141
|
+
--runtime browser Local-first with durable browser storage (OPFS)
|
|
142
|
+
Best for: Client-side apps, offline-first experiences
|
|
143
|
+
|
|
144
|
+
--runtime node Node.js application server or worker
|
|
145
|
+
Best for: Server-side applications, API servers
|
|
146
|
+
|
|
147
|
+
--runtime self-hosted Dedicated FeltDB server instance
|
|
148
|
+
Best for: Production deployments, multi-user systems
|
|
149
|
+
Note: Requires Docker (image: ghcr.io/rkendel1/feltdb)
|
|
150
|
+
|
|
151
|
+
Options:
|
|
152
|
+
--runtime <runtime> Set application runtime (default: browser)
|
|
153
|
+
--framework <framework> Choose framework: react or vanilla (default: react)
|
|
154
|
+
--no-distributed Disable distributed operation
|
|
155
|
+
--no-agents Exclude agent examples
|
|
156
|
+
--capabilities <list> Choose capabilities: search, vector, or search,vector
|
|
157
|
+
--no-install Skip npm install
|
|
158
|
+
--no-start Skip npm run dev
|
|
159
|
+
-y, --yes Use all defaults (non-interactive mode)
|
|
160
|
+
-h, --help Show this help message
|
|
161
|
+
--version Show version number
|
|
162
|
+
|
|
163
|
+
Vector Search:
|
|
164
|
+
Vector search requires additional dependencies and setup. If you choose
|
|
165
|
+
"Search + vector search" during setup, make sure to review the documentation
|
|
166
|
+
for configuring your vector database connection.
|
|
167
|
+
|
|
168
|
+
Environment Variables:
|
|
169
|
+
FELTDB_IMAGE Override the default self-hosted container image
|
|
170
|
+
NODE_ENV Set to 'development' or 'production'
|
|
171
|
+
|
|
172
|
+
Learn more: https://github.com/rkendel1/feltdb`);
|
|
129
173
|
return;
|
|
130
174
|
}
|
|
131
175
|
if (args.includes('--version')) {
|
|
@@ -152,8 +196,13 @@ async function main() {
|
|
|
152
196
|
console.log('\n✨ Creating FeltDB Application\n');
|
|
153
197
|
if (!shouldAutoYes) {
|
|
154
198
|
options = await promptForOptions(options);
|
|
199
|
+
const runtimeDescriptions = {
|
|
200
|
+
'browser': 'Local-first with browser storage',
|
|
201
|
+
'node': 'Node.js server runtime',
|
|
202
|
+
'self-hosted': 'Dedicated FeltDB server',
|
|
203
|
+
};
|
|
155
204
|
console.log('\nConfiguration:');
|
|
156
|
-
console.log(` Runtime: ${options.runtime}`);
|
|
205
|
+
console.log(` Runtime: ${options.runtime} (${runtimeDescriptions[options.runtime]})`);
|
|
157
206
|
console.log(` Framework: ${options.framework}`);
|
|
158
207
|
console.log(` Distributed: ${options.distributed ? 'yes' : 'no'}`);
|
|
159
208
|
console.log(` Agents: ${options.agents ? 'yes' : 'no'}`);
|