agentful 0.4.5 → 0.4.7
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 +15 -3
- package/dist/index.cjs +394 -202
- package/package.json +1 -1
- package/assets/tools/node_modules/@opencode-ai/plugin/dist/example.d.ts +0 -2
- package/assets/tools/node_modules/@opencode-ai/plugin/dist/example.js +0 -16
- package/assets/tools/node_modules/@opencode-ai/plugin/dist/index.d.ts +0 -267
- package/assets/tools/node_modules/@opencode-ai/plugin/dist/index.js +0 -1
- package/assets/tools/node_modules/@opencode-ai/plugin/dist/shell.d.ts +0 -109
- package/assets/tools/node_modules/@opencode-ai/plugin/dist/shell.js +0 -1
- package/assets/tools/node_modules/@opencode-ai/plugin/dist/tool.d.ts +0 -46
- package/assets/tools/node_modules/@opencode-ai/plugin/dist/tool.js +0 -5
- package/assets/tools/node_modules/@opencode-ai/plugin/dist/tui.d.ts +0 -429
- package/assets/tools/node_modules/@opencode-ai/plugin/dist/tui.js +0 -1
- package/assets/tools/node_modules/@opencode-ai/plugin/package.json +0 -52
package/README.md
CHANGED
|
@@ -72,14 +72,26 @@ What does **not** work:
|
|
|
72
72
|
or streaming, **no webhook signature verification** (no raw request body;
|
|
73
73
|
look the event up at the provider instead, or put a verifying receiver in
|
|
74
74
|
front), and no custom status codes, headers or HTML responses.
|
|
75
|
-
- Build-time env vars or build secrets. `.env*` files never leave
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
- Build-time env vars or build secrets of your own. `.env*` files never leave
|
|
76
|
+
your machine. Every cloud build defines one fixed allowlist of public values
|
|
77
|
+
and nothing else: the project ID (`VITE_PROJECT_ID`, `PUBLIC_PROJECT_ID`) and,
|
|
78
|
+
while your own Supabase database is connected in the Backend tab, its URL and
|
|
79
|
+
publishable key (`VITE_`/`PUBLIC_`/`NEXT_PUBLIC_` + `SUPABASE_URL`,
|
|
80
|
+
`SUPABASE_ANON_KEY`). Reading one of those names while nothing defines it
|
|
81
|
+
fails the build instead of compiling to `undefined`; `agentful push` warns
|
|
82
|
+
about it before the upload. Keep public values of your own in an ordinary
|
|
83
|
+
source constant.
|
|
78
84
|
|
|
79
85
|
Actions have **no staging**: they run from your project's source, so a push can
|
|
80
86
|
change what the published app does immediately, while warm instances may serve
|
|
81
87
|
the previous code for up to five minutes.
|
|
82
88
|
|
|
89
|
+
Actions run **only while the managed server is switched on** in the Backend tab
|
|
90
|
+
(`agentful backend` opens it). A push stores your action files either way, but
|
|
91
|
+
until the server is on every call answers `404 server_not_enabled`. The CLI can
|
|
92
|
+
enable the database for you — not the server. Switching on takes effect on the
|
|
93
|
+
next call; switching off takes effect within 60 seconds.
|
|
94
|
+
|
|
83
95
|
The figures above are rendered into `AGENTFUL_CLOUD.md` from the machine-readable
|
|
84
96
|
contract at <https://app.agentful.dev/cli/platform-contract.json>
|
|
85
97
|
(`server_side`); the full picture for humans is at
|