inplan 0.1.27 → 0.1.29
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/app/main/index.cjs +3 -1
- package/app/renderer/assets/{index-CLk_2VIF.js → index-B2UMwEBL.js} +7 -4
- package/app/renderer/index.html +1 -1
- package/bin/cli.js +667 -319
- package/package.json +1 -1
- package/skill/SKILL.md +16 -0
package/package.json
CHANGED
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
|