agentful 0.3.8 → 0.3.9
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/index.cjs +8 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3044,7 +3044,7 @@ var VERSION, brand, useColor, wrap, paint, sym, ui;
|
|
|
3044
3044
|
var init_branding = __esm({
|
|
3045
3045
|
"src/branding.ts"() {
|
|
3046
3046
|
"use strict";
|
|
3047
|
-
VERSION = "0.3.
|
|
3047
|
+
VERSION = "0.3.9" ? "0.3.9" : null.version;
|
|
3048
3048
|
brand = {
|
|
3049
3049
|
name: "agentful",
|
|
3050
3050
|
// the command users type
|
|
@@ -6753,6 +6753,10 @@ is fine \u2014 but then say clearly that \`agentful push\` cannot deploy it.
|
|
|
6753
6753
|
vars (\`database.anon_key\`/\`publishable_key\` expanded as
|
|
6754
6754
|
\`VITE_\`/\`PUBLIC_\`/\`NEXT_PUBLIC_\`). Never rely on \`.env*\` files reaching the
|
|
6755
6755
|
cloud \u2014 the CLI and server both strip them.
|
|
6756
|
+
- \`.agentful/\` is local CLI control metadata and is excluded from the cloud
|
|
6757
|
+
build source. You may read \`.agentful/project.json\` while authoring, but app
|
|
6758
|
+
code must never import or fetch it. Copy the fixed project ID into an ordinary
|
|
6759
|
+
source constant when the managed backend client needs it.
|
|
6756
6760
|
|
|
6757
6761
|
## Supported frameworks (the cloud build table)
|
|
6758
6762
|
|
|
@@ -6778,7 +6782,9 @@ process, and never a script the user must run locally to produce the result.
|
|
|
6778
6782
|
|
|
6779
6783
|
When the project uses the platform's managed backend, its ONLY API surface is:
|
|
6780
6784
|
|
|
6781
|
-
- Base: \`/api/p/{projectId}/\` \u2014 projectId
|
|
6785
|
+
- Base: \`/api/p/{projectId}/\` \u2014 while authoring, read projectId from
|
|
6786
|
+
\`.agentful/project.json\` and materialize it in a normal app source constant;
|
|
6787
|
+
never import \`.agentful/\` from app code.
|
|
6782
6788
|
- End-user auth: \`\u2026/auth/*\` (\`register\`, \`login\`, \`me\`, \`verify\`, \u2026).
|
|
6783
6789
|
- Data CRUD: \`\u2026/data/{collection}\` and \`\u2026/data/{collection}/{docId}\`.
|
|
6784
6790
|
- Managed Server Actions: \`POST \u2026/actions/{action-name}\` \u2014 and NOTHING else.
|