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.
- package/app/main/index.js +125 -24
- package/app/preload/index.mjs +30 -1
- package/app/renderer/assets/{index-9o5QlQHM.css → index-DOP9u7n4.css} +93 -13
- package/app/renderer/assets/{index-BJNrsTeG.js → index-mE-gsS63.js} +866 -163
- package/app/renderer/index.html +3 -3
- package/bin/cli.js +1 -1
- package/package.json +1 -1
package/app/renderer/index.html
CHANGED
|
@@ -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-
|
|
15
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
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);
|