clefbase 1.5.3 → 2.0.1
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/dist/ai.d.ts +369 -0
- package/dist/ai.d.ts.map +1 -0
- package/dist/ai.js +308 -0
- package/dist/ai.js.map +1 -0
- package/dist/app.d.ts +40 -0
- package/dist/app.d.ts.map +1 -1
- package/dist/app.js +48 -3
- package/dist/app.js.map +1 -1
- package/dist/cli-src/cli/api.js +14 -14
- package/dist/cli-src/cli/commands/deploy.js +84 -16
- package/dist/cli-src/cli/commands/init.js +616 -18
- package/dist/cli-src/cli/config.js +0 -1
- package/dist/cli-src/cli/index.js +48 -9
- package/dist/cli.js +728 -57
- package/dist/hosting/index.d.ts +8 -98
- package/dist/hosting/index.d.ts.map +1 -1
- package/dist/hosting/index.js +37 -95
- package/dist/hosting/index.js.map +1 -1
- package/dist/index.d.ts +74 -36
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +85 -37
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +0 -6
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5,59 +5,95 @@
|
|
|
5
5
|
* @example
|
|
6
6
|
* import {
|
|
7
7
|
* initClefbase, getDatabase, getAuth, getStorage, getHosting,
|
|
8
|
-
* getFunctions,
|
|
9
|
-
*
|
|
8
|
+
* getFunctions, getAI,
|
|
9
|
+
* httpsCallable, callFunction, deployFunction, deployFromFile,
|
|
10
|
+
* generateText, generateImage, generateVideo, generateEmbedding,
|
|
11
|
+
* setAuthToken, FunctionsError, AIError, FieldValue,
|
|
10
12
|
* } from "clefbase";
|
|
11
13
|
*
|
|
12
|
-
* const app
|
|
13
|
-
* const fns = getFunctions(app);
|
|
14
|
-
* const auth = getAuth(app);
|
|
14
|
+
* const app = initClefbase({ serverUrl, projectId, apiKey, adminSecret: "" });
|
|
15
15
|
*
|
|
16
|
-
* // ── Auth
|
|
16
|
+
* // ── Auth ──────────────────────────────────────────────────────────────────
|
|
17
|
+
* const auth = getAuth(app);
|
|
17
18
|
* const { token } = await auth.signIn("alice@example.com", "password123");
|
|
18
|
-
* setAuthToken(app, token); // ctx.auth.uid / email now available in function
|
|
19
19
|
*
|
|
20
|
-
* // ──
|
|
20
|
+
* // ── Database ──────────────────────────────────────────────────────────────
|
|
21
|
+
* const db = getDatabase(app);
|
|
22
|
+
* await db.collection("posts").doc("p1").update({
|
|
23
|
+
* views: FieldValue.increment(1),
|
|
24
|
+
* publishedAt: FieldValue.serverTimestamp(),
|
|
25
|
+
* });
|
|
26
|
+
*
|
|
27
|
+
* // ── Storage ───────────────────────────────────────────────────────────────
|
|
28
|
+
* const storage = getStorage(app);
|
|
29
|
+
* const url = await storage.ref("avatars/user-123.jpg").getDownloadURL();
|
|
30
|
+
*
|
|
31
|
+
* // ── Functions ─────────────────────────────────────────────────────────────
|
|
32
|
+
* const fns = getFunctions(app);
|
|
21
33
|
* const greet = httpsCallable<{ name: string }, { message: string }>(fns, "greetUser");
|
|
22
34
|
* const { data } = await greet({ name: "Alice" });
|
|
23
35
|
*
|
|
24
|
-
* // ──
|
|
25
|
-
* const
|
|
36
|
+
* // ── AI — text / code ──────────────────────────────────────────────────────
|
|
37
|
+
* const ai = getAI(app);
|
|
26
38
|
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* runtime: "node",
|
|
31
|
-
* trigger: { type: "http" },
|
|
32
|
-
* source: `export async function handler(ctx) { return { message: "Hi " + ctx.data.name }; }`,
|
|
39
|
+
* const { content } = await ai.text({
|
|
40
|
+
* model: "claude-sonnet-4-5",
|
|
41
|
+
* prompt: "Explain async/await in JavaScript",
|
|
33
42
|
* });
|
|
34
43
|
*
|
|
35
|
-
* //
|
|
36
|
-
* await
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
44
|
+
* // Multi-turn chat
|
|
45
|
+
* const reply = await ai.text({
|
|
46
|
+
* model: "gemini-2.5-flash",
|
|
47
|
+
* prompt: "Give me a harder example",
|
|
48
|
+
* systemPrompt: "You are a JavaScript tutor.",
|
|
49
|
+
* history: [{ role: "user", content: "Explain closures" }, { role: "assistant", content: "..." }],
|
|
41
50
|
* });
|
|
42
51
|
*
|
|
43
|
-
* // ──
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
* }
|
|
52
|
+
* // ── AI — image generation (auto-saved to Storage) ─────────────────────────
|
|
53
|
+
* const { files } = await ai.image({
|
|
54
|
+
* model: "imagen-4.0-generate-001",
|
|
55
|
+
* prompt: "A serene mountain lake at dawn, photorealistic",
|
|
56
|
+
* aspectRatio: "16:9",
|
|
57
|
+
* numberOfImages: 2,
|
|
58
|
+
* outputFolder: "landscapes",
|
|
59
|
+
* });
|
|
60
|
+
* // files[].fullPath → path in project Storage
|
|
61
|
+
* // files[].storageFileId → use with storage.ref() to get the download URL
|
|
51
62
|
*
|
|
52
|
-
* // ──
|
|
53
|
-
* const
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
63
|
+
* // ── AI — video generation (auto-saved to Storage) ─────────────────────────
|
|
64
|
+
* const { status, files: clips } = await ai.video({
|
|
65
|
+
* model: "veo-3.1-generate-preview",
|
|
66
|
+
* prompt: "A slow-motion waterfall in a rainforest",
|
|
67
|
+
* durationSeconds: 8,
|
|
68
|
+
* aspectRatio: "16:9",
|
|
69
|
+
* });
|
|
70
|
+
*
|
|
71
|
+
* // ── AI — embeddings ───────────────────────────────────────────────────────
|
|
72
|
+
* const { embeddings } = await ai.embedding({
|
|
73
|
+
* model: "gemini-embedding-001",
|
|
74
|
+
* input: ["Hello world", "Semantic search"],
|
|
75
|
+
* });
|
|
76
|
+
*
|
|
77
|
+
* // ── AI — browse models ────────────────────────────────────────────────────
|
|
78
|
+
* const imageModels = await ai.listModels({ category: "image" });
|
|
79
|
+
* const allModels = await ai.listModels();
|
|
80
|
+
*
|
|
81
|
+
* // ── AI — usage stats ──────────────────────────────────────────────────────
|
|
82
|
+
* const stats = await ai.getStats();
|
|
83
|
+
* const history = await ai.getUsage({ limit: 20 });
|
|
84
|
+
*
|
|
85
|
+
* // ── AI — convenience top-level functions ──────────────────────────────────
|
|
86
|
+
* const { content: code } = await generateText(ai, {
|
|
87
|
+
* model: "claude-sonnet-4-5",
|
|
88
|
+
* prompt: "Write a merge sort in TypeScript",
|
|
89
|
+
* });
|
|
90
|
+
* const { files: imgs } = await generateImage(ai, {
|
|
91
|
+
* model: "imagen-4.0-fast-generate-001",
|
|
92
|
+
* prompt: "A cute cartoon robot",
|
|
57
93
|
* });
|
|
58
94
|
*/
|
|
59
95
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60
|
-
exports.ClefbaseError = exports.FieldValueSentinel = exports.FieldValue = exports.deployFromFile = exports.setAuthToken = exports.getFunctionExecutions = exports.listFunctions = exports.deleteFunction = exports.deployFunction = exports.callFunction = exports.httpsCallable = exports.FunctionsError = exports.ClefbaseFunctions = exports.SiteReference = exports.ClefbaseHosting = exports.EmailVerificationCard = exports.BucketReference = exports.StorageReference = exports.ClefbaseStorage = exports.Auth = exports.runTransaction = exports.Transaction = exports.WriteBatch = exports.Query = exports.DocumentReference = exports.CollectionGroup = exports.CollectionReference = exports.Database = exports.getFunctions = exports.getHosting = exports.getStorage = exports.getAuth = exports.getDatabase = exports.getApp = exports.initClefbase = exports.ClefbaseApp = void 0;
|
|
96
|
+
exports.ClefbaseError = exports.FieldValueSentinel = exports.FieldValue = exports.generateEmbedding = exports.generateVideo = exports.generateImage = exports.generateText = exports.AIError = exports.ClefbaseAI = exports.deployFromFile = exports.setAuthToken = exports.getFunctionExecutions = exports.listFunctions = exports.deleteFunction = exports.deployFunction = exports.callFunction = exports.httpsCallable = exports.FunctionsError = exports.ClefbaseFunctions = exports.SiteReference = exports.ClefbaseHosting = exports.EmailVerificationCard = exports.BucketReference = exports.StorageReference = exports.ClefbaseStorage = exports.Auth = exports.runTransaction = exports.Transaction = exports.WriteBatch = exports.Query = exports.DocumentReference = exports.CollectionGroup = exports.CollectionReference = exports.Database = exports.getAI = exports.getFunctions = exports.getHosting = exports.getStorage = exports.getAuth = exports.getDatabase = exports.getApp = exports.initClefbase = exports.ClefbaseApp = void 0;
|
|
61
97
|
// ─── App ──────────────────────────────────────────────────────────────────────
|
|
62
98
|
var app_1 = require("./app");
|
|
63
99
|
Object.defineProperty(exports, "ClefbaseApp", { enumerable: true, get: function () { return app_1.ClefbaseApp; } });
|
|
@@ -68,6 +104,7 @@ Object.defineProperty(exports, "getAuth", { enumerable: true, get: function () {
|
|
|
68
104
|
Object.defineProperty(exports, "getStorage", { enumerable: true, get: function () { return app_1.getStorage; } });
|
|
69
105
|
Object.defineProperty(exports, "getHosting", { enumerable: true, get: function () { return app_1.getHosting; } });
|
|
70
106
|
Object.defineProperty(exports, "getFunctions", { enumerable: true, get: function () { return app_1.getFunctions; } });
|
|
107
|
+
Object.defineProperty(exports, "getAI", { enumerable: true, get: function () { return app_1.getAI; } });
|
|
71
108
|
// ─── Database ─────────────────────────────────────────────────────────────────
|
|
72
109
|
var db_1 = require("./db");
|
|
73
110
|
Object.defineProperty(exports, "Database", { enumerable: true, get: function () { return db_1.Database; } });
|
|
@@ -99,7 +136,7 @@ var functions_1 = require("./functions");
|
|
|
99
136
|
Object.defineProperty(exports, "ClefbaseFunctions", { enumerable: true, get: function () { return functions_1.ClefbaseFunctions; } });
|
|
100
137
|
// Error
|
|
101
138
|
Object.defineProperty(exports, "FunctionsError", { enumerable: true, get: function () { return functions_1.FunctionsError; } });
|
|
102
|
-
// Top-level factory / convenience
|
|
139
|
+
// Top-level factory / convenience
|
|
103
140
|
Object.defineProperty(exports, "httpsCallable", { enumerable: true, get: function () { return functions_1.httpsCallable; } });
|
|
104
141
|
Object.defineProperty(exports, "callFunction", { enumerable: true, get: function () { return functions_1.callFunction; } });
|
|
105
142
|
Object.defineProperty(exports, "deployFunction", { enumerable: true, get: function () { return functions_1.deployFunction; } });
|
|
@@ -108,6 +145,17 @@ Object.defineProperty(exports, "listFunctions", { enumerable: true, get: functio
|
|
|
108
145
|
Object.defineProperty(exports, "getFunctionExecutions", { enumerable: true, get: function () { return functions_1.getFunctionExecutions; } });
|
|
109
146
|
Object.defineProperty(exports, "setAuthToken", { enumerable: true, get: function () { return functions_1.setAuthToken; } });
|
|
110
147
|
Object.defineProperty(exports, "deployFromFile", { enumerable: true, get: function () { return functions_1.deployFromFile; } });
|
|
148
|
+
// ─── AI ───────────────────────────────────────────────────────────────────────
|
|
149
|
+
var ai_1 = require("./ai");
|
|
150
|
+
// Class
|
|
151
|
+
Object.defineProperty(exports, "ClefbaseAI", { enumerable: true, get: function () { return ai_1.ClefbaseAI; } });
|
|
152
|
+
// Error
|
|
153
|
+
Object.defineProperty(exports, "AIError", { enumerable: true, get: function () { return ai_1.AIError; } });
|
|
154
|
+
// Top-level convenience functions
|
|
155
|
+
Object.defineProperty(exports, "generateText", { enumerable: true, get: function () { return ai_1.generateText; } });
|
|
156
|
+
Object.defineProperty(exports, "generateImage", { enumerable: true, get: function () { return ai_1.generateImage; } });
|
|
157
|
+
Object.defineProperty(exports, "generateVideo", { enumerable: true, get: function () { return ai_1.generateVideo; } });
|
|
158
|
+
Object.defineProperty(exports, "generateEmbedding", { enumerable: true, get: function () { return ai_1.generateEmbedding; } });
|
|
111
159
|
// ─── FieldValue ───────────────────────────────────────────────────────────────
|
|
112
160
|
var field_value_1 = require("./field_value");
|
|
113
161
|
Object.defineProperty(exports, "FieldValue", { enumerable: true, get: function () { return field_value_1.FieldValue; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";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iFAAiF;AACjF,2BAUc;AATZ,QAAQ;AACR,gGAAA,UAAU,OAAA;AACV,QAAQ;AACR,6FAAA,OAAO,OAAA;AACP,kCAAkC;AAClC,kGAAA,YAAY,OAAA;AACZ,mGAAA,aAAa,OAAA;AACb,mGAAA,aAAa,OAAA;AACb,uGAAA,iBAAiB,OAAA;AA0BnB,iFAAiF;AACjF,6CAA+D;AAAtD,yGAAA,UAAU,OAAA;AAAE,iHAAA,kBAAkB,OAAA;AAiBvC,iCAAwC;AAA/B,sGAAA,aAAa,OAAA"}
|
package/dist/types.d.ts
CHANGED
|
@@ -5,12 +5,6 @@ export interface ClefbaseConfig {
|
|
|
5
5
|
projectId: string;
|
|
6
6
|
/** API key (x-cfx-key) generated for this project */
|
|
7
7
|
apiKey: string;
|
|
8
|
-
/**
|
|
9
|
-
* Admin secret (x-admin-secret).
|
|
10
|
-
* Required for hosting deploys and admin-only operations.
|
|
11
|
-
* Optional — leave empty if you don't use hosting.
|
|
12
|
-
*/
|
|
13
|
-
adminSecret: string;
|
|
14
8
|
}
|
|
15
9
|
export interface ClefbaseDocument {
|
|
16
10
|
_id: string;
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,cAAc;IAC7B,6EAA6E;IAC7E,SAAS,EAAE,MAAM,CAAC;IAClB,yDAAyD;IACzD,SAAS,EAAE,MAAM,CAAC;IAClB,qDAAqD;IACrD,MAAM,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,cAAc;IAC7B,6EAA6E;IAC7E,SAAS,EAAE,MAAM,CAAC;IAClB,yDAAyD;IACzD,SAAS,EAAE,MAAM,CAAC;IAClB,qDAAqD;IACrD,MAAM,EAAE,MAAM,CAAC;CAChB;AAID,MAAM,WA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.ts"],"names":[],"mappings":";AAAA,iFAAiF;;;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";AAAA,iFAAiF;;;AAuQjF,iFAAiF;AAEjF,MAAa,aAAc,SAAQ,KAAK;IACtC,YACE,OAAe,EACC,IAAa,EACb,MAAe;QAE/B,KAAK,CAAC,OAAO,CAAC,CAAC;QAHC,SAAI,GAAJ,IAAI,CAAS;QACb,WAAM,GAAN,MAAM,CAAS;QAG/B,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC;QAC5B,IAAI,KAAK,CAAC,iBAAiB,EAAE,CAAC;YAC5B,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC;QAC/C,CAAC;IACH,CAAC;CACF;AAZD,sCAYC"}
|