@immediately-run/sdk 0.28.0 → 0.29.0

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.
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var HeadingAnchor_exports = {};
20
+ __export(HeadingAnchor_exports, {
21
+ HeadingAnchor: () => HeadingAnchor
22
+ });
23
+ module.exports = __toCommonJS(HeadingAnchor_exports);
24
+ var import_jsx_runtime = require("react/jsx-runtime");
25
+ const HeadingAnchor = ({
26
+ id,
27
+ ...rest
28
+ }) => {
29
+ if (!id) return null;
30
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
31
+ "a",
32
+ {
33
+ className: "ir-heading-anchor",
34
+ href: `#${id}`,
35
+ "aria-label": "Permalink to this heading",
36
+ ...rest,
37
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { "aria-hidden": "true", children: "#" })
38
+ }
39
+ );
40
+ };
41
+ // Annotate the CommonJS export names for ESM import in node:
42
+ 0 && (module.exports = {
43
+ HeadingAnchor
44
+ });
45
+ //# sourceMappingURL=HeadingAnchor.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/HeadingAnchor.tsx"],"sourcesContent":["import { ReactNode } from 'react';\n\n/**\n * Default MDX `HeadingAnchor` component — the render target for the autolink anchor\n * the transpiler's heading-slug plugin (R3-186, `MARKDOWN_SYNTAX_SPEC §15.4`)\n * prepends to every heading. That plugin sets the heading's own `id` (a text slug,\n * or a `sec-…` section id for a numbered heading, R3-211) and emits\n * `<HeadingAnchor id=\"<that id>\" />` as the heading's first child.\n *\n * It is registered in {@link DEFAULT_MDX_COMPONENTS} so a heading anchor renders\n * even in a plain-markdown repo that never calls `boot({ mdxComponents })` — the\n * MDX missing-reference guard never fires (§11.2 phantom defaults). The markup is\n * semantic and accessible — an `aria`-labelled `<a href=\"#id\">` permalink — but\n * **styling is intentionally minimal** (`§15.4` honesty note): an app supplies CSS\n * targeting the `ir-heading-anchor` class to reveal it on hover / add an icon, or\n * overrides this component via `boot({ mdxComponents: { HeadingAnchor } })` to\n * change the icon, position, or behaviour (e.g. copy-permalink-to-clipboard) of\n * every heading anchor in every content file at once (§15.4 late binding).\n *\n * `id` is the *heading's own* id, so the permalink `#id` is the same URL a reader\n * copies and (for a `sec-…` id) an agent computes from a `§`-citation with zero\n * lookup. A missing/empty `id` (defensive — the plugin always supplies one)\n * renders nothing rather than a dead `#` link.\n */\nexport const HeadingAnchor = ({\n id,\n ...rest\n}: {\n id?: string;\n} & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>): ReactNode => {\n if (!id) return null;\n return (\n <a\n className=\"ir-heading-anchor\"\n href={`#${id}`}\n aria-label=\"Permalink to this heading\"\n {...rest}\n >\n <span aria-hidden=\"true\">#</span>\n </a>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAsCM;AAdC,MAAM,gBAAgB,CAAC;AAAA,EAC5B;AAAA,EACA,GAAG;AACL,MAE+E;AAC7E,MAAI,CAAC,GAAI,QAAO;AAChB,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAU;AAAA,MACV,MAAM,IAAI,EAAE;AAAA,MACZ,cAAW;AAAA,MACV,GAAG;AAAA,MAEJ,sDAAC,UAAK,eAAY,QAAO,eAAC;AAAA;AAAA,EAC5B;AAEJ;","names":[]}
@@ -0,0 +1,29 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ /**
4
+ * Default MDX `HeadingAnchor` component — the render target for the autolink anchor
5
+ * the transpiler's heading-slug plugin (R3-186, `MARKDOWN_SYNTAX_SPEC §15.4`)
6
+ * prepends to every heading. That plugin sets the heading's own `id` (a text slug,
7
+ * or a `sec-…` section id for a numbered heading, R3-211) and emits
8
+ * `<HeadingAnchor id="<that id>" />` as the heading's first child.
9
+ *
10
+ * It is registered in {@link DEFAULT_MDX_COMPONENTS} so a heading anchor renders
11
+ * even in a plain-markdown repo that never calls `boot({ mdxComponents })` — the
12
+ * MDX missing-reference guard never fires (§11.2 phantom defaults). The markup is
13
+ * semantic and accessible — an `aria`-labelled `<a href="#id">` permalink — but
14
+ * **styling is intentionally minimal** (`§15.4` honesty note): an app supplies CSS
15
+ * targeting the `ir-heading-anchor` class to reveal it on hover / add an icon, or
16
+ * overrides this component via `boot({ mdxComponents: { HeadingAnchor } })` to
17
+ * change the icon, position, or behaviour (e.g. copy-permalink-to-clipboard) of
18
+ * every heading anchor in every content file at once (§15.4 late binding).
19
+ *
20
+ * `id` is the *heading's own* id, so the permalink `#id` is the same URL a reader
21
+ * copies and (for a `sec-…` id) an agent computes from a `§`-citation with zero
22
+ * lookup. A missing/empty `id` (defensive — the plugin always supplies one)
23
+ * renders nothing rather than a dead `#` link.
24
+ */
25
+ declare const HeadingAnchor: ({ id, ...rest }: {
26
+ id?: string;
27
+ } & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "href">) => ReactNode;
28
+
29
+ export { HeadingAnchor };
@@ -0,0 +1,29 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ /**
4
+ * Default MDX `HeadingAnchor` component — the render target for the autolink anchor
5
+ * the transpiler's heading-slug plugin (R3-186, `MARKDOWN_SYNTAX_SPEC §15.4`)
6
+ * prepends to every heading. That plugin sets the heading's own `id` (a text slug,
7
+ * or a `sec-…` section id for a numbered heading, R3-211) and emits
8
+ * `<HeadingAnchor id="<that id>" />` as the heading's first child.
9
+ *
10
+ * It is registered in {@link DEFAULT_MDX_COMPONENTS} so a heading anchor renders
11
+ * even in a plain-markdown repo that never calls `boot({ mdxComponents })` — the
12
+ * MDX missing-reference guard never fires (§11.2 phantom defaults). The markup is
13
+ * semantic and accessible — an `aria`-labelled `<a href="#id">` permalink — but
14
+ * **styling is intentionally minimal** (`§15.4` honesty note): an app supplies CSS
15
+ * targeting the `ir-heading-anchor` class to reveal it on hover / add an icon, or
16
+ * overrides this component via `boot({ mdxComponents: { HeadingAnchor } })` to
17
+ * change the icon, position, or behaviour (e.g. copy-permalink-to-clipboard) of
18
+ * every heading anchor in every content file at once (§15.4 late binding).
19
+ *
20
+ * `id` is the *heading's own* id, so the permalink `#id` is the same URL a reader
21
+ * copies and (for a `sec-…` id) an agent computes from a `§`-citation with zero
22
+ * lookup. A missing/empty `id` (defensive — the plugin always supplies one)
23
+ * renders nothing rather than a dead `#` link.
24
+ */
25
+ declare const HeadingAnchor: ({ id, ...rest }: {
26
+ id?: string;
27
+ } & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "href">) => ReactNode;
28
+
29
+ export { HeadingAnchor };
@@ -0,0 +1,21 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const HeadingAnchor = ({
3
+ id,
4
+ ...rest
5
+ }) => {
6
+ if (!id) return null;
7
+ return /* @__PURE__ */ jsx(
8
+ "a",
9
+ {
10
+ className: "ir-heading-anchor",
11
+ href: `#${id}`,
12
+ "aria-label": "Permalink to this heading",
13
+ ...rest,
14
+ children: /* @__PURE__ */ jsx("span", { "aria-hidden": "true", children: "#" })
15
+ }
16
+ );
17
+ };
18
+ export {
19
+ HeadingAnchor
20
+ };
21
+ //# sourceMappingURL=HeadingAnchor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/HeadingAnchor.tsx"],"sourcesContent":["import { ReactNode } from 'react';\n\n/**\n * Default MDX `HeadingAnchor` component — the render target for the autolink anchor\n * the transpiler's heading-slug plugin (R3-186, `MARKDOWN_SYNTAX_SPEC §15.4`)\n * prepends to every heading. That plugin sets the heading's own `id` (a text slug,\n * or a `sec-…` section id for a numbered heading, R3-211) and emits\n * `<HeadingAnchor id=\"<that id>\" />` as the heading's first child.\n *\n * It is registered in {@link DEFAULT_MDX_COMPONENTS} so a heading anchor renders\n * even in a plain-markdown repo that never calls `boot({ mdxComponents })` — the\n * MDX missing-reference guard never fires (§11.2 phantom defaults). The markup is\n * semantic and accessible — an `aria`-labelled `<a href=\"#id\">` permalink — but\n * **styling is intentionally minimal** (`§15.4` honesty note): an app supplies CSS\n * targeting the `ir-heading-anchor` class to reveal it on hover / add an icon, or\n * overrides this component via `boot({ mdxComponents: { HeadingAnchor } })` to\n * change the icon, position, or behaviour (e.g. copy-permalink-to-clipboard) of\n * every heading anchor in every content file at once (§15.4 late binding).\n *\n * `id` is the *heading's own* id, so the permalink `#id` is the same URL a reader\n * copies and (for a `sec-…` id) an agent computes from a `§`-citation with zero\n * lookup. A missing/empty `id` (defensive — the plugin always supplies one)\n * renders nothing rather than a dead `#` link.\n */\nexport const HeadingAnchor = ({\n id,\n ...rest\n}: {\n id?: string;\n} & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>): ReactNode => {\n if (!id) return null;\n return (\n <a\n className=\"ir-heading-anchor\"\n href={`#${id}`}\n aria-label=\"Permalink to this heading\"\n {...rest}\n >\n <span aria-hidden=\"true\">#</span>\n </a>\n );\n};\n"],"mappings":"AAsCM;AAdC,MAAM,gBAAgB,CAAC;AAAA,EAC5B;AAAA,EACA,GAAG;AACL,MAE+E;AAC7E,MAAI,CAAC,GAAI,QAAO;AAChB,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAU;AAAA,MACV,MAAM,IAAI,EAAE;AAAA,MACZ,cAAW;AAAA,MACV,GAAG;AAAA,MAEJ,8BAAC,UAAK,eAAY,QAAO,eAAC;AAAA;AAAA,EAC5B;AAEJ;","names":[]}
@@ -20,6 +20,7 @@ var MDXComponents_exports = {};
20
20
  __export(MDXComponents_exports, {
21
21
  Admonition: () => import_Admonition2.Admonition,
22
22
  DEFAULT_MDX_COMPONENTS: () => DEFAULT_MDX_COMPONENTS,
23
+ HeadingAnchor: () => import_HeadingAnchor2.HeadingAnchor,
23
24
  InternalLink: () => import_Link2.InternalLink,
24
25
  Link: () => import_Link2.Link,
25
26
  WikiLink: () => import_WikiLink2.WikiLink
@@ -27,10 +28,12 @@ __export(MDXComponents_exports, {
27
28
  module.exports = __toCommonJS(MDXComponents_exports);
28
29
  var import_jsx_runtime = require("react/jsx-runtime");
29
30
  var import_Admonition = require("./Admonition");
31
+ var import_HeadingAnchor = require("./HeadingAnchor");
30
32
  var import_Link = require("./Link");
31
33
  var import_WikiLink = require("./WikiLink");
32
34
  var import_Link2 = require("./Link");
33
35
  var import_Admonition2 = require("./Admonition");
36
+ var import_HeadingAnchor2 = require("./HeadingAnchor");
34
37
  var import_WikiLink2 = require("./WikiLink");
35
38
  const DEFAULT_MDX_COMPONENTS = {
36
39
  a({
@@ -41,12 +44,14 @@ const DEFAULT_MDX_COMPONENTS = {
41
44
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Link.Link, { href, ...properties, children });
42
45
  },
43
46
  Admonition: import_Admonition.Admonition,
47
+ HeadingAnchor: import_HeadingAnchor.HeadingAnchor,
44
48
  WikiLink: import_WikiLink.WikiLink
45
49
  };
46
50
  // Annotate the CommonJS export names for ESM import in node:
47
51
  0 && (module.exports = {
48
52
  Admonition,
49
53
  DEFAULT_MDX_COMPONENTS,
54
+ HeadingAnchor,
50
55
  InternalLink,
51
56
  Link,
52
57
  WikiLink
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/MDXComponents.tsx"],"sourcesContent":["import { ReactNode } from 'react';\nimport { Admonition } from './Admonition';\nimport { Link } from './Link';\nimport { WikiLink } from './WikiLink';\n\n// The link primitives moved to ./Link so WikiLink can reuse Link without a\n// MDXComponents ↔ WikiLink import cycle (check:circular). Re-exported here so the\n// public `Link` / `InternalLink` entry points are unchanged.\nexport { InternalLink, Link } from './Link';\nexport { Admonition } from './Admonition';\nexport type { AdmonitionType } from './Admonition';\nexport { WikiLink } from './WikiLink';\n\n/** Default MDX component overrides passed to {@link MDXProvider} by `boot`. These\n * are the platform's *phantom defaults* (MARKDOWN_SYNTAX_SPEC §11.2): they are\n * always present in the provider — even for a plain-markdown repo that never\n * calls `boot({ mdxComponents })` — so the platform-emitted `Admonition` (§12)\n * and `WikiLink` (§13) components resolve without the MDX missing-reference guard\n * firing, and Markdown links route in-app via {@link Link}. An app overrides any\n * of them by name via `boot({ mdxComponents })`, which *merges* over these\n * defaults (§11.3) — overriding `WikiLink` alone still keeps `a` and `Admonition`. */\nexport const DEFAULT_MDX_COMPONENTS = {\n a({\n href,\n children,\n ...properties\n }: React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) {\n return (\n <Link href={href} {...properties}>\n {children}\n </Link>\n );\n },\n Admonition,\n WikiLink,\n} as Record<string, (props: any) => ReactNode>;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA4BM;AA3BN,wBAA2B;AAC3B,kBAAqB;AACrB,sBAAyB;AAKzB,IAAAA,eAAmC;AACnC,IAAAC,qBAA2B;AAE3B,IAAAC,mBAAyB;AAUlB,MAAM,yBAAyB;AAAA,EACpC,EAAE;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EACL,GAA8F;AAC5F,WACE,4CAAC,oBAAK,MAAa,GAAG,YACnB,UACH;AAAA,EAEJ;AAAA,EACA;AAAA,EACA;AACF;","names":["import_Link","import_Admonition","import_WikiLink"]}
1
+ {"version":3,"sources":["../../src/components/MDXComponents.tsx"],"sourcesContent":["import { ReactNode } from 'react';\nimport { Admonition } from './Admonition';\nimport { HeadingAnchor } from './HeadingAnchor';\nimport { Link } from './Link';\nimport { WikiLink } from './WikiLink';\n\n// The link primitives moved to ./Link so WikiLink can reuse Link without a\n// MDXComponents ↔ WikiLink import cycle (check:circular). Re-exported here so the\n// public `Link` / `InternalLink` entry points are unchanged.\nexport { InternalLink, Link } from './Link';\nexport { Admonition } from './Admonition';\nexport type { AdmonitionType } from './Admonition';\nexport { HeadingAnchor } from './HeadingAnchor';\nexport { WikiLink } from './WikiLink';\n\n/** Default MDX component overrides passed to {@link MDXProvider} by `boot`. These\n * are the platform's *phantom defaults* (MARKDOWN_SYNTAX_SPEC §11.2): they are\n * always present in the provider — even for a plain-markdown repo that never\n * calls `boot({ mdxComponents })` — so the platform-emitted `Admonition` (§12)\n * and `WikiLink` (§13) components resolve without the MDX missing-reference guard\n * firing, and Markdown links route in-app via {@link Link}. An app overrides any\n * of them by name via `boot({ mdxComponents })`, which *merges* over these\n * defaults (§11.3) — overriding `WikiLink` alone still keeps `a` and `Admonition`. */\nexport const DEFAULT_MDX_COMPONENTS = {\n a({\n href,\n children,\n ...properties\n }: React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) {\n return (\n <Link href={href} {...properties}>\n {children}\n </Link>\n );\n },\n Admonition,\n HeadingAnchor,\n WikiLink,\n} as Record<string, (props: any) => ReactNode>;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA8BM;AA7BN,wBAA2B;AAC3B,2BAA8B;AAC9B,kBAAqB;AACrB,sBAAyB;AAKzB,IAAAA,eAAmC;AACnC,IAAAC,qBAA2B;AAE3B,IAAAC,wBAA8B;AAC9B,IAAAC,mBAAyB;AAUlB,MAAM,yBAAyB;AAAA,EACpC,EAAE;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EACL,GAA8F;AAC5F,WACE,4CAAC,oBAAK,MAAa,GAAG,YACnB,UACH;AAAA,EAEJ;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;","names":["import_Link","import_Admonition","import_HeadingAnchor","import_WikiLink"]}
@@ -1,6 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  export { InternalLink, Link } from './Link.cjs';
3
3
  export { Admonition, AdmonitionType } from './Admonition.cjs';
4
+ export { HeadingAnchor } from './HeadingAnchor.cjs';
4
5
  export { WikiLink } from './WikiLink.cjs';
5
6
 
6
7
  /** Default MDX component overrides passed to {@link MDXProvider} by `boot`. These
@@ -1,6 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  export { InternalLink, Link } from './Link.js';
3
3
  export { Admonition, AdmonitionType } from './Admonition.js';
4
+ export { HeadingAnchor } from './HeadingAnchor.js';
4
5
  export { WikiLink } from './WikiLink.js';
5
6
 
6
7
  /** Default MDX component overrides passed to {@link MDXProvider} by `boot`. These
@@ -1,9 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { Admonition } from "./Admonition";
3
+ import { HeadingAnchor } from "./HeadingAnchor";
3
4
  import { Link } from "./Link";
4
5
  import { WikiLink } from "./WikiLink";
5
6
  import { InternalLink, Link as Link2 } from "./Link";
6
7
  import { Admonition as Admonition2 } from "./Admonition";
8
+ import { HeadingAnchor as HeadingAnchor2 } from "./HeadingAnchor";
7
9
  import { WikiLink as WikiLink2 } from "./WikiLink";
8
10
  const DEFAULT_MDX_COMPONENTS = {
9
11
  a({
@@ -14,11 +16,13 @@ const DEFAULT_MDX_COMPONENTS = {
14
16
  return /* @__PURE__ */ jsx(Link, { href, ...properties, children });
15
17
  },
16
18
  Admonition,
19
+ HeadingAnchor,
17
20
  WikiLink
18
21
  };
19
22
  export {
20
23
  Admonition2 as Admonition,
21
24
  DEFAULT_MDX_COMPONENTS,
25
+ HeadingAnchor2 as HeadingAnchor,
22
26
  InternalLink,
23
27
  Link2 as Link,
24
28
  WikiLink2 as WikiLink
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/MDXComponents.tsx"],"sourcesContent":["import { ReactNode } from 'react';\nimport { Admonition } from './Admonition';\nimport { Link } from './Link';\nimport { WikiLink } from './WikiLink';\n\n// The link primitives moved to ./Link so WikiLink can reuse Link without a\n// MDXComponents ↔ WikiLink import cycle (check:circular). Re-exported here so the\n// public `Link` / `InternalLink` entry points are unchanged.\nexport { InternalLink, Link } from './Link';\nexport { Admonition } from './Admonition';\nexport type { AdmonitionType } from './Admonition';\nexport { WikiLink } from './WikiLink';\n\n/** Default MDX component overrides passed to {@link MDXProvider} by `boot`. These\n * are the platform's *phantom defaults* (MARKDOWN_SYNTAX_SPEC §11.2): they are\n * always present in the provider — even for a plain-markdown repo that never\n * calls `boot({ mdxComponents })` — so the platform-emitted `Admonition` (§12)\n * and `WikiLink` (§13) components resolve without the MDX missing-reference guard\n * firing, and Markdown links route in-app via {@link Link}. An app overrides any\n * of them by name via `boot({ mdxComponents })`, which *merges* over these\n * defaults (§11.3) — overriding `WikiLink` alone still keeps `a` and `Admonition`. */\nexport const DEFAULT_MDX_COMPONENTS = {\n a({\n href,\n children,\n ...properties\n }: React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) {\n return (\n <Link href={href} {...properties}>\n {children}\n </Link>\n );\n },\n Admonition,\n WikiLink,\n} as Record<string, (props: any) => ReactNode>;\n"],"mappings":"AA4BM;AA3BN,SAAS,kBAAkB;AAC3B,SAAS,YAAY;AACrB,SAAS,gBAAgB;AAKzB,SAAS,cAAc,QAAAA,aAAY;AACnC,SAAS,cAAAC,mBAAkB;AAE3B,SAAS,YAAAC,iBAAgB;AAUlB,MAAM,yBAAyB;AAAA,EACpC,EAAE;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EACL,GAA8F;AAC5F,WACE,oBAAC,QAAK,MAAa,GAAG,YACnB,UACH;AAAA,EAEJ;AAAA,EACA;AAAA,EACA;AACF;","names":["Link","Admonition","WikiLink"]}
1
+ {"version":3,"sources":["../../src/components/MDXComponents.tsx"],"sourcesContent":["import { ReactNode } from 'react';\nimport { Admonition } from './Admonition';\nimport { HeadingAnchor } from './HeadingAnchor';\nimport { Link } from './Link';\nimport { WikiLink } from './WikiLink';\n\n// The link primitives moved to ./Link so WikiLink can reuse Link without a\n// MDXComponents ↔ WikiLink import cycle (check:circular). Re-exported here so the\n// public `Link` / `InternalLink` entry points are unchanged.\nexport { InternalLink, Link } from './Link';\nexport { Admonition } from './Admonition';\nexport type { AdmonitionType } from './Admonition';\nexport { HeadingAnchor } from './HeadingAnchor';\nexport { WikiLink } from './WikiLink';\n\n/** Default MDX component overrides passed to {@link MDXProvider} by `boot`. These\n * are the platform's *phantom defaults* (MARKDOWN_SYNTAX_SPEC §11.2): they are\n * always present in the provider — even for a plain-markdown repo that never\n * calls `boot({ mdxComponents })` — so the platform-emitted `Admonition` (§12)\n * and `WikiLink` (§13) components resolve without the MDX missing-reference guard\n * firing, and Markdown links route in-app via {@link Link}. An app overrides any\n * of them by name via `boot({ mdxComponents })`, which *merges* over these\n * defaults (§11.3) — overriding `WikiLink` alone still keeps `a` and `Admonition`. */\nexport const DEFAULT_MDX_COMPONENTS = {\n a({\n href,\n children,\n ...properties\n }: React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) {\n return (\n <Link href={href} {...properties}>\n {children}\n </Link>\n );\n },\n Admonition,\n HeadingAnchor,\n WikiLink,\n} as Record<string, (props: any) => ReactNode>;\n"],"mappings":"AA8BM;AA7BN,SAAS,kBAAkB;AAC3B,SAAS,qBAAqB;AAC9B,SAAS,YAAY;AACrB,SAAS,gBAAgB;AAKzB,SAAS,cAAc,QAAAA,aAAY;AACnC,SAAS,cAAAC,mBAAkB;AAE3B,SAAS,iBAAAC,sBAAqB;AAC9B,SAAS,YAAAC,iBAAgB;AAUlB,MAAM,yBAAyB;AAAA,EACpC,EAAE;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EACL,GAA8F;AAC5F,WACE,oBAAC,QAAK,MAAa,GAAG,YACnB,UACH;AAAA,EAEJ;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;","names":["Link","Admonition","HeadingAnchor","WikiLink"]}
package/dist/index.d.cts CHANGED
@@ -33,6 +33,7 @@ export { LOADING_TIMINGS, LoadingRegion, Skeleton, SkeletonArchetype, SkeletonRo
33
33
  export { StreamError, StreamFrame, StreamTransport, consumeStream, protocolStream } from './protocolStream.cjs';
34
34
  export { EvaluationContext, FileQueryResult, FilesMetadata, Metadata, MetadataQueryEntry, MetadataQueryFunction, MetadataQueryResult, ModuleExports } from './sandboxTypes.cjs';
35
35
  export { Admonition, AdmonitionType } from './components/Admonition.cjs';
36
+ export { HeadingAnchor } from './components/HeadingAnchor.cjs';
36
37
  export { ImmediatelyRunGlobal, getHostRuntime } from './hostRuntime.cjs';
37
38
  export { InternalLink, Link } from './components/Link.cjs';
38
39
  export { SDK_VERSION } from './version.cjs';
package/dist/index.d.ts CHANGED
@@ -33,6 +33,7 @@ export { LOADING_TIMINGS, LoadingRegion, Skeleton, SkeletonArchetype, SkeletonRo
33
33
  export { StreamError, StreamFrame, StreamTransport, consumeStream, protocolStream } from './protocolStream.js';
34
34
  export { EvaluationContext, FileQueryResult, FilesMetadata, Metadata, MetadataQueryEntry, MetadataQueryFunction, MetadataQueryResult, ModuleExports } from './sandboxTypes.js';
35
35
  export { Admonition, AdmonitionType } from './components/Admonition.js';
36
+ export { HeadingAnchor } from './components/HeadingAnchor.js';
36
37
  export { ImmediatelyRunGlobal, getHostRuntime } from './hostRuntime.js';
37
38
  export { InternalLink, Link } from './components/Link.js';
38
39
  export { SDK_VERSION } from './version.js';
package/dist/version.cjs CHANGED
@@ -21,7 +21,7 @@ __export(version_exports, {
21
21
  SDK_VERSION: () => SDK_VERSION
22
22
  });
23
23
  module.exports = __toCommonJS(version_exports);
24
- const SDK_VERSION = "0.28.0";
24
+ const SDK_VERSION = "0.29.0";
25
25
  // Annotate the CommonJS export names for ESM import in node:
26
26
  0 && (module.exports = {
27
27
  SDK_VERSION
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/version.ts"],"sourcesContent":["// GENERATED by scripts/gen-version.mjs from package.json — do not edit by hand.\n// Regenerated on every build (prebuild); kept honest by version.test.ts.\n\n/** This SDK's package version, baked from package.json at build (SP2-6). */\nexport const SDK_VERSION = '0.28.0';\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIO,MAAM,cAAc;","names":[]}
1
+ {"version":3,"sources":["../src/version.ts"],"sourcesContent":["// GENERATED by scripts/gen-version.mjs from package.json — do not edit by hand.\n// Regenerated on every build (prebuild); kept honest by version.test.ts.\n\n/** This SDK's package version, baked from package.json at build (SP2-6). */\nexport const SDK_VERSION = '0.29.0';\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIO,MAAM,cAAc;","names":[]}
@@ -1,4 +1,4 @@
1
1
  /** This SDK's package version, baked from package.json at build (SP2-6). */
2
- declare const SDK_VERSION = "0.28.0";
2
+ declare const SDK_VERSION = "0.29.0";
3
3
 
4
4
  export { SDK_VERSION };
package/dist/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /** This SDK's package version, baked from package.json at build (SP2-6). */
2
- declare const SDK_VERSION = "0.28.0";
2
+ declare const SDK_VERSION = "0.29.0";
3
3
 
4
4
  export { SDK_VERSION };
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
- const SDK_VERSION = "0.28.0";
1
+ const SDK_VERSION = "0.29.0";
2
2
  export {
3
3
  SDK_VERSION
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/version.ts"],"sourcesContent":["// GENERATED by scripts/gen-version.mjs from package.json — do not edit by hand.\n// Regenerated on every build (prebuild); kept honest by version.test.ts.\n\n/** This SDK's package version, baked from package.json at build (SP2-6). */\nexport const SDK_VERSION = '0.28.0';\n"],"mappings":"AAIO,MAAM,cAAc;","names":[]}
1
+ {"version":3,"sources":["../src/version.ts"],"sourcesContent":["// GENERATED by scripts/gen-version.mjs from package.json — do not edit by hand.\n// Regenerated on every build (prebuild); kept honest by version.test.ts.\n\n/** This SDK's package version, baked from package.json at build (SP2-6). */\nexport const SDK_VERSION = '0.29.0';\n"],"mappings":"AAIO,MAAM,cAAc;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@immediately-run/sdk",
3
- "version": "0.28.0",
3
+ "version": "0.29.0",
4
4
  "description": "Runtime SDK for code executing inside an immediately.run sandbox.",
5
5
  "license": "MIT",
6
6
  "repository": "github:immediately-run/immediately-run-sdk",