siteplane 0.1.36
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/LICENSE +5 -0
- package/README.md +32 -0
- package/dist/bin/siteplane.js +4383 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2260 -0
- package/dist/next.d.ts +91 -0
- package/dist/next.js +2710 -0
- package/package.json +45 -0
package/LICENSE
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# siteplane
|
|
2
|
+
|
|
3
|
+
Public Siteplane CLI for connected-site setup, field synchronization, Analytics
|
|
4
|
+
instrumentation and Booking integration.
|
|
5
|
+
|
|
6
|
+
## Approved fields
|
|
7
|
+
|
|
8
|
+
Run the exact command from Siteplane's compact apply prompt. It authenticates
|
|
9
|
+
with the local Project Connection and reads the approved snapshot without asking
|
|
10
|
+
the user to paste its JSON:
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
siteplane setup fields apply-context --plan-id <plan-id> --snapshot-hash <sha256>
|
|
14
|
+
siteplane setup fields apply-context --plan-id <plan-id> --snapshot-hash <sha256> --route / --offset 0
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
The first call returns route counts. Route calls return at most 25 approved fields
|
|
18
|
+
and a `nextOffset`; continue until it is `null`.
|
|
19
|
+
|
|
20
|
+
## Analytics
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
siteplane analytics init --agent-client codex
|
|
24
|
+
siteplane analytics check
|
|
25
|
+
siteplane analytics sync
|
|
26
|
+
siteplane analytics test --page-url https://example.com
|
|
27
|
+
siteplane analytics import --file provider-export.json
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Analytics commands reuse `siteplane.config.json` and the untracked
|
|
31
|
+
`.siteplane/credentials.json` Project Connection. Provider import apply requires
|
|
32
|
+
`--apply --confirm-hash <hash> --yes` and an active owner-approved grant.
|