inplan 0.1.11 → 0.1.12

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.
@@ -8,11 +8,11 @@
8
8
  no-plugin path (main exposes nothing to import + runs no plugin). -->
9
9
  <meta
10
10
  http-equiv="Content-Security-Policy"
11
- content="default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' inplan-plugin:; connect-src 'self' inplan-plugin: ws://127.0.0.1:* ws://localhost:*"
11
+ content="default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' inplan-plugin:; connect-src 'self' inplan-plugin: ws://127.0.0.1:* ws://localhost:*; frame-src https://inplan.ai http://127.0.0.1:* http://localhost:*"
12
12
  />
13
13
  <title>inplan</title>
14
- <script type="module" crossorigin src="./assets/index-BJNrsTeG.js"></script>
15
- <link rel="stylesheet" crossorigin href="./assets/index-9o5QlQHM.css">
14
+ <script type="module" crossorigin src="./assets/index-mE-gsS63.js"></script>
15
+ <link rel="stylesheet" crossorigin href="./assets/index-DOP9u7n4.css">
16
16
  </head>
17
17
  <body>
18
18
  <div id="root"></div>
package/bin/cli.js CHANGED
@@ -1399,7 +1399,7 @@ async function waitCycle(backend, explicitCursor, confirmed, model, gate = null)
1399
1399
  async function doLogin(args) {
1400
1400
  const url = getFlag(args, "url") ?? process.env.INPLAN_SUPABASE_URL;
1401
1401
  const anonKey = getFlag(args, "anon") ?? process.env.INPLAN_SUPABASE_ANON_KEY;
1402
- const refreshToken = getFlag(args, "refresh");
1402
+ const refreshToken = getFlag(args, "refresh") ?? process.env.INPLAN_REFRESH_TOKEN;
1403
1403
  if (!url || !anonKey || !refreshToken) {
1404
1404
  process.stderr.write("usage: inplan login --url <url> --anon <anon-key> --refresh <refresh-token> [--email <e>]\n");
1405
1405
  process.exit(64);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inplan",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
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": {