inplan 0.1.26 → 0.1.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inplan",
3
- "version": "0.1.26",
3
+ "version": "0.1.28",
4
4
  "description": "inplan — a Markdown editor for human ⇄ coding-agent planning. CLI + desktop editor.",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "repository": {
package/skill/SKILL.md CHANGED
@@ -47,6 +47,22 @@ produces the headless message above, immediately, without attempting recovery. T
47
47
  works headless until a binary is present, but the human can't review in the GUI — surface the
48
48
  fix to them and proceed.
49
49
 
50
+ ## Signing in (cloud documents)
51
+
52
+ Any cloud command (`wait --remote`, `login`, …) may exit with code 7 and a JSON line:
53
+ `{"status":"login_required","url":…,"resume":…,"expiresInSec":…}`. Sign-in happens in the
54
+ human's browser — never try to open the URL yourself, fetch it, or ask the human for
55
+ credentials. Do exactly two things:
56
+
57
+ 1. Show the `url` to the human and ask them to open it in a browser and sign in.
58
+ 2. Immediately re-run the `resume` command (it is the command you just ran). It waits for the
59
+ sign-in to finish, then continues normally — you don't need to poll or sleep first.
60
+
61
+ The wait in step 2 is bounded (~3 minutes). If the human hasn't finished by then, the command
62
+ exits with a timeout message while the session is still valid — that is not a hard error: just
63
+ re-run the same command and it resumes the same sign-in. If the link itself expires
64
+ (`expiresInSec`, ~10 minutes), the re-run prints a fresh URL — repeat from 1.
65
+
50
66
  ## File convention
51
67
 
52
68
  Save plans as `<name>.plan.md`. The `inplan` CLI keeps its own working files under