@marimo-team/islands 0.22.6-dev5 → 0.22.6-dev8
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/dist/main.js
CHANGED
|
@@ -65645,7 +65645,7 @@ ${c}
|
|
|
65645
65645
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
65646
65646
|
}
|
|
65647
65647
|
}
|
|
65648
|
-
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.22.6-
|
|
65648
|
+
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.22.6-dev8"), showCodeInRunModeAtom = atom(true);
|
|
65649
65649
|
atom(null);
|
|
65650
65650
|
var VIRTUAL_FILE_REGEX = /\/@file\/([^\s"&'/]+)\.([\dA-Za-z]+)/g, VirtualFileTracker = class e {
|
|
65651
65651
|
constructor() {
|
package/package.json
CHANGED
|
@@ -16,6 +16,7 @@ import { Events } from "@/utils/events";
|
|
|
16
16
|
import { Tooltip } from "@/components/ui/tooltip";
|
|
17
17
|
import { assertNever } from "@/utils/assertNever";
|
|
18
18
|
import { asRemoteURL, useRuntimeManager } from "@/core/runtime/config";
|
|
19
|
+
import { API } from "@/core/network/api";
|
|
19
20
|
|
|
20
21
|
type AgentTab = "claude" | "codex" | "opencode";
|
|
21
22
|
|
|
@@ -54,7 +55,9 @@ const SKILL_INSTALL = "npx skills add marimo-team/marimo-pair";
|
|
|
54
55
|
function useAuthToken(): string | null {
|
|
55
56
|
const [token, setToken] = useState<string | null>(null);
|
|
56
57
|
useEffect(() => {
|
|
57
|
-
fetch(asRemoteURL("/auth/token").href, {
|
|
58
|
+
fetch(asRemoteURL("/auth/token").href, {
|
|
59
|
+
headers: API.headers(),
|
|
60
|
+
})
|
|
58
61
|
.then((res) =>
|
|
59
62
|
res.ok ? (res.json() as Promise<{ token: string | null }>) : null,
|
|
60
63
|
)
|