siteplane 0.2.0-next.1 → 0.2.0-rc.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 CHANGED
@@ -8,18 +8,21 @@ content as fallback in your code, a Draft Mode preview for the editor, Booking a
8
8
  Run this in the website's folder, or tell your coding agent "Install Siteplane":
9
9
 
10
10
  ```bash
11
- npx siteplane@next init
11
+ npx siteplane@latest init
12
12
  ```
13
13
 
14
- Version 0.2 is on the `next` tag until it becomes `latest`.
15
-
16
14
  `init` opens the approval page in the browser. There you sign up or sign in, create the website in Siteplane or pick
17
15
  an existing one, and click Connect. If you created the website in Siteplane first, its prompt names the site:
18
16
  `npx siteplane@<version> init --site <site ID>`.
19
17
 
20
18
  `init` then writes `siteplane.config.json`, installs this package, wraps `next.config` in `withSiteplane`, adds the
21
19
  route `app/api/siteplane/[...siteplane]/route.ts` and `<SiteplaneBridge />`, and prints the task for the agent.
22
- Siteplane needs no environment variables or secrets in your project.
20
+ Siteplane needs no environment variables or secrets in your project, and it never deploys: deploy the way the project
21
+ always does.
22
+
23
+ The approval creates an agent connection for this one website. It may read the task, sync fields and check the
24
+ status; it cannot publish. It is listed under Settings → Connected agents in Siteplane, where it can be revoked, and
25
+ expires after 90 days without use.
23
26
 
24
27
  ## Field API
25
28
 
@@ -77,3 +80,9 @@ npx siteplane booking test
77
80
  approval. The agent connection is stored in the user config directory (`$SITEPLANE_CONFIG_DIR`,
78
81
  `$XDG_CONFIG_HOME/siteplane`, `%APPDATA%\siteplane` or `~/.config/siteplane`), never in the project; `--no-browser`
79
82
  skips opening the browser.
83
+
84
+ ## More
85
+
86
+ - Instructions for coding agents: https://siteplane.io/agents and https://siteplane.io/llms.txt
87
+ - Removing Siteplane: Settings → Export in Siteplane downloads every field with its published value and gives your
88
+ coding agent a task that writes the values into the code and removes this package.
@@ -2046,7 +2046,7 @@ async function writeStore(connections, options) {
2046
2046
  }
2047
2047
 
2048
2048
  // src/version.ts
2049
- var PACKAGE_VERSION = "0.2.0-next.1";
2049
+ var PACKAGE_VERSION = "0.2.0-rc.0";
2050
2050
 
2051
2051
  // src/bin/run-siteplane.ts
2052
2052
  var usage = [
package/dist/route.js CHANGED
@@ -114,7 +114,7 @@ async function readBoundedText(request) {
114
114
  }
115
115
 
116
116
  // src/version.ts
117
- var PACKAGE_VERSION = "0.2.0-next.1";
117
+ var PACKAGE_VERSION = "0.2.0-rc.0";
118
118
 
119
119
  // src/route.ts
120
120
  var embeddable = { httpOnly: true, secure: true, sameSite: "none", partitioned: true, path: "/" };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "siteplane",
3
3
  "private": false,
4
- "version": "0.2.0-next.1",
4
+ "version": "0.2.0-rc.0",
5
5
  "description": "Siteplane for Next.js websites: editable content with code fallbacks, Draft Mode preview, Booking and the siteplane CLI.",
6
6
  "type": "module",
7
7
  "license": "SEE LICENSE IN LICENSE",