i-plane 1.1.2 → 1.2.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/AGENTS.md +19 -0
- package/README.md +6 -0
- package/dist/chunks/cli-gyrf14cz.js +107 -0
- package/dist/chunks/page-content-2m19c48m.js +2 -0
- package/dist/cli.js +31 -131
- package/docs/api-coverage.md +16 -1
- package/docs/pages.md +98 -0
- package/package.json +16 -5
package/AGENTS.md
CHANGED
|
@@ -152,3 +152,22 @@ Keep project task statuses aligned with the work. Move a task into progress when
|
|
|
152
152
|
starting, close it after its checks, and reopen it when a confirmed review finding
|
|
153
153
|
invalidates completion. Report whether a change is local, installed or published;
|
|
154
154
|
these are separate states. Keep commits and public metadata provider-agnostic.
|
|
155
|
+
|
|
156
|
+
## Page command invariants
|
|
157
|
+
|
|
158
|
+
Page commands use SessionClient, never the API-key client. Load Yjs, the live
|
|
159
|
+
provider and WebSocket dependencies lazily; keep their exact versions external
|
|
160
|
+
in both build paths. Session cookies and passwords join the API token in the
|
|
161
|
+
secret guard, including old cookies after a refresh.
|
|
162
|
+
|
|
163
|
+
Live success means acknowledged delivery, not a database commit. Never replay a
|
|
164
|
+
mutation automatically. Complete asynchronous conversion before resolving a
|
|
165
|
+
block anchor and checking its content fingerprint inside one transaction. Read
|
|
166
|
+
commands never stamp. Only page stamp assigns missing top-level anchors.
|
|
167
|
+
|
|
168
|
+
--yes confirms deletion; --force bypasses a stale fingerprint; --allow-loss
|
|
169
|
+
accepts reported conversion losses. These decisions must stay separate. Empty
|
|
170
|
+
--block must fail before a whole-page mutation can be selected.
|
|
171
|
+
|
|
172
|
+
Page fixtures and wire tests live under tests/page*. Unsupported rich content
|
|
173
|
+
must remain visible or produce an explicit loss warning.
|
package/README.md
CHANGED
|
@@ -25,6 +25,8 @@ comments, and `--json` whenever you need structured data. Nothing prompts for in
|
|
|
25
25
|
and group related work in modules that can span multiple cycles.
|
|
26
26
|
- **Triage requests:** collect reports in intake, then accept, reject, snooze
|
|
27
27
|
or mark them as duplicates before committing to the work.
|
|
28
|
+
- **Maintain project knowledge:** read pages, inspect live blocks and edit only
|
|
29
|
+
the section you need, with fingerprints to detect concurrent changes.
|
|
28
30
|
- **Automate:** use concise lists, JSON output and distinct exit codes in
|
|
29
31
|
agent workflows and shell scripts.
|
|
30
32
|
|
|
@@ -81,6 +83,10 @@ to any command for its structured result. Exit code `2` means an invalid call;
|
|
|
81
83
|
For supported fields, compatibility details and development checks, see the
|
|
82
84
|
[capability reference](docs/api-coverage.md).
|
|
83
85
|
|
|
86
|
+
Pages use a Plane login and password instead of an API token. See the
|
|
87
|
+
[page workflow](docs/pages.md) for session setup, block edits and delivery semantics.
|
|
88
|
+
`i-plane page --help` carries the same command examples into your terminal.
|
|
89
|
+
|
|
84
90
|
## License
|
|
85
91
|
|
|
86
92
|
MIT
|