@genesislcap/ai-assistant 15.110.2 → 15.110.3
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/custom-elements.json +1503 -1503
- package/package.json +17 -17
|
@@ -1586,418 +1586,137 @@
|
|
|
1586
1586
|
},
|
|
1587
1587
|
{
|
|
1588
1588
|
"kind": "javascript-module",
|
|
1589
|
-
"path": "src/
|
|
1589
|
+
"path": "src/autopilot/autopilot-driver.ts",
|
|
1590
1590
|
"declarations": [
|
|
1591
1591
|
{
|
|
1592
1592
|
"kind": "variable",
|
|
1593
|
-
"name": "
|
|
1593
|
+
"name": "AUTOPILOT_CLAIMANT",
|
|
1594
1594
|
"type": {
|
|
1595
|
-
"text": "
|
|
1595
|
+
"text": "string"
|
|
1596
1596
|
},
|
|
1597
|
-
"default": "
|
|
1598
|
-
"description": "
|
|
1597
|
+
"default": "'autopilot'",
|
|
1598
|
+
"description": "The holder id the autopilot claims interactions as."
|
|
1599
1599
|
},
|
|
1600
1600
|
{
|
|
1601
1601
|
"kind": "class",
|
|
1602
|
-
"description": "
|
|
1603
|
-
"name": "
|
|
1602
|
+
"description": "Autopilot (GENC-1660): a driver decorator that answers the questions a working agent asks the\nuser, on their behalf, grounded in the agent's autopilot config (for bootstrap, the brief).\n\nNeither side calls the other. The working agent asks as it always does; this driver claims the\ninteractions its policy allows, while it is running for that flow, and answers each in one short\nturn on the flow's `AutopilotSession`. It plugs in only through the generic extension points\n— an interaction interceptor, a handler capability and the flow lifecycle — so the core knows\nnothing about it, and it wraps any `AiDriver`.",
|
|
1603
|
+
"name": "AutopilotDriver",
|
|
1604
1604
|
"members": [
|
|
1605
1605
|
{
|
|
1606
1606
|
"kind": "field",
|
|
1607
|
-
"name": "
|
|
1607
|
+
"name": "agents",
|
|
1608
|
+
"type": {
|
|
1609
|
+
"text": "readonly AgentConfig[]"
|
|
1610
|
+
},
|
|
1608
1611
|
"privacy": "private",
|
|
1609
|
-
"readonly": true
|
|
1610
|
-
"default": "new Map<string, Set<AnyHandler>>()"
|
|
1612
|
+
"readonly": true
|
|
1611
1613
|
},
|
|
1612
1614
|
{
|
|
1613
1615
|
"kind": "field",
|
|
1614
|
-
"name": "
|
|
1616
|
+
"name": "providerRegistry",
|
|
1615
1617
|
"type": {
|
|
1616
|
-
"text": "
|
|
1618
|
+
"text": "AIProviderRegistry"
|
|
1617
1619
|
},
|
|
1618
1620
|
"privacy": "private",
|
|
1619
|
-
"readonly": true
|
|
1620
|
-
"default": "new Set(config?.crossTabEvents ?? [])"
|
|
1621
|
+
"readonly": true
|
|
1621
1622
|
},
|
|
1622
1623
|
{
|
|
1623
1624
|
"kind": "field",
|
|
1624
|
-
"name": "
|
|
1625
|
+
"name": "sessionKey",
|
|
1625
1626
|
"type": {
|
|
1626
|
-
"text": "
|
|
1627
|
+
"text": "string"
|
|
1627
1628
|
},
|
|
1628
1629
|
"privacy": "private",
|
|
1629
1630
|
"readonly": true
|
|
1630
1631
|
},
|
|
1631
1632
|
{
|
|
1632
1633
|
"kind": "field",
|
|
1633
|
-
"name": "
|
|
1634
|
+
"name": "activityBus",
|
|
1634
1635
|
"type": {
|
|
1635
|
-
"text": "
|
|
1636
|
+
"text": "ActivityBus"
|
|
1636
1637
|
},
|
|
1637
|
-
"privacy": "private"
|
|
1638
|
+
"privacy": "private",
|
|
1639
|
+
"readonly": true
|
|
1638
1640
|
},
|
|
1639
1641
|
{
|
|
1640
1642
|
"kind": "field",
|
|
1641
|
-
"name": "
|
|
1642
|
-
"type": {
|
|
1643
|
-
"text": "boolean"
|
|
1644
|
-
},
|
|
1643
|
+
"name": "listeners",
|
|
1645
1644
|
"privacy": "private",
|
|
1646
|
-
"
|
|
1645
|
+
"readonly": true,
|
|
1646
|
+
"default": "new Set<() => void>()"
|
|
1647
1647
|
},
|
|
1648
1648
|
{
|
|
1649
|
-
"kind": "
|
|
1650
|
-
"name": "
|
|
1649
|
+
"kind": "field",
|
|
1650
|
+
"name": "sessions",
|
|
1651
1651
|
"privacy": "private",
|
|
1652
|
-
"
|
|
1653
|
-
|
|
1654
|
-
"text": "void"
|
|
1655
|
-
}
|
|
1656
|
-
},
|
|
1657
|
-
"description": "Lazily open the cross-tab `BroadcastChannel` on first use. Deferred (rather than\ncreated in the constructor) so that importing this module, or constructing the bus\noff-browser (Node, tests, headless server), never opens a live channel or reads\n`sessionStorage` — both would keep a Node event loop alive and hang the process.\nCross-tab forwarding is inherently browser-only, so channel creation is gated on a\nbrowser environment; elsewhere the bus stays purely in-process."
|
|
1652
|
+
"readonly": true,
|
|
1653
|
+
"default": "new Map<string, AutopilotSession>()"
|
|
1658
1654
|
},
|
|
1659
1655
|
{
|
|
1660
|
-
"kind": "
|
|
1661
|
-
"name": "
|
|
1662
|
-
"
|
|
1663
|
-
"
|
|
1664
|
-
"text": "() => void"
|
|
1665
|
-
}
|
|
1656
|
+
"kind": "field",
|
|
1657
|
+
"name": "onFor",
|
|
1658
|
+
"type": {
|
|
1659
|
+
"text": "string | null"
|
|
1666
1660
|
},
|
|
1667
|
-
"
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
"type": {
|
|
1671
|
-
"text": "K"
|
|
1672
|
-
}
|
|
1673
|
-
},
|
|
1674
|
-
{
|
|
1675
|
-
"name": "handler",
|
|
1676
|
-
"type": {
|
|
1677
|
-
"text": "(detail: AgenticActivityEvents[K]) => void"
|
|
1678
|
-
}
|
|
1679
|
-
}
|
|
1680
|
-
],
|
|
1681
|
-
"description": "Subscribe to an event. Returns an unsubscribe function — call it in\n`disconnectedCallback` to avoid memory leaks."
|
|
1661
|
+
"privacy": "private",
|
|
1662
|
+
"default": "null",
|
|
1663
|
+
"description": "The flow the mode applies to: set when it is first switched, cleared when that flow ends."
|
|
1682
1664
|
},
|
|
1683
1665
|
{
|
|
1684
|
-
"kind": "
|
|
1685
|
-
"name": "
|
|
1686
|
-
"
|
|
1687
|
-
"
|
|
1688
|
-
"text": "void"
|
|
1689
|
-
}
|
|
1666
|
+
"kind": "field",
|
|
1667
|
+
"name": "mode",
|
|
1668
|
+
"type": {
|
|
1669
|
+
"text": "'paused' | 'running'"
|
|
1690
1670
|
},
|
|
1691
|
-
"
|
|
1692
|
-
|
|
1693
|
-
"name": "type",
|
|
1694
|
-
"type": {
|
|
1695
|
-
"text": "K"
|
|
1696
|
-
}
|
|
1697
|
-
},
|
|
1698
|
-
{
|
|
1699
|
-
"name": "detail",
|
|
1700
|
-
"type": {
|
|
1701
|
-
"text": "AgenticActivityEvents[K]"
|
|
1702
|
-
}
|
|
1703
|
-
}
|
|
1704
|
-
],
|
|
1705
|
-
"description": "Publish an event to all local subscribers and, if configured, to other tabs\nvia BroadcastChannel."
|
|
1671
|
+
"privacy": "private",
|
|
1672
|
+
"default": "'paused'"
|
|
1706
1673
|
},
|
|
1707
1674
|
{
|
|
1708
|
-
"kind": "
|
|
1709
|
-
"name": "
|
|
1710
|
-
"
|
|
1711
|
-
"
|
|
1712
|
-
"text": "void"
|
|
1713
|
-
}
|
|
1675
|
+
"kind": "field",
|
|
1676
|
+
"name": "pauseState",
|
|
1677
|
+
"type": {
|
|
1678
|
+
"text": "AutopilotHostState['pause'] | undefined"
|
|
1714
1679
|
},
|
|
1715
|
-
"
|
|
1716
|
-
{
|
|
1717
|
-
"name": "type",
|
|
1718
|
-
"type": {
|
|
1719
|
-
"text": "keyof AgenticActivityEvents"
|
|
1720
|
-
}
|
|
1721
|
-
}
|
|
1722
|
-
],
|
|
1723
|
-
"description": "Add an event type to the cross-tab forwarding set at runtime.\nMust be called before the first AgenticActivityBus.publish of that event type."
|
|
1680
|
+
"privacy": "private"
|
|
1724
1681
|
},
|
|
1725
1682
|
{
|
|
1726
|
-
"kind": "
|
|
1727
|
-
"name": "
|
|
1728
|
-
"
|
|
1729
|
-
"
|
|
1730
|
-
"text": "void"
|
|
1731
|
-
}
|
|
1683
|
+
"kind": "field",
|
|
1684
|
+
"name": "held",
|
|
1685
|
+
"type": {
|
|
1686
|
+
"text": "Held | undefined"
|
|
1732
1687
|
},
|
|
1733
|
-
"
|
|
1688
|
+
"privacy": "private"
|
|
1734
1689
|
},
|
|
1735
1690
|
{
|
|
1736
|
-
"kind": "
|
|
1737
|
-
"name": "
|
|
1691
|
+
"kind": "field",
|
|
1692
|
+
"name": "open",
|
|
1693
|
+
"type": {
|
|
1694
|
+
"text": "InteractionOpened | undefined"
|
|
1695
|
+
},
|
|
1738
1696
|
"privacy": "private",
|
|
1739
|
-
"
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1697
|
+
"description": "The interaction open right now, whoever holds it: claimed or not, it was offered here first.\n`held` covers only what the autopilot claimed, so this is how the status knows that the working\nagent is parked on a question left with the person (see `waitingOnUser`)."
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
"kind": "field",
|
|
1701
|
+
"name": "declinedWhilePaused",
|
|
1702
|
+
"type": {
|
|
1703
|
+
"text": "InteractionOpened | undefined"
|
|
1743
1704
|
},
|
|
1744
|
-
"
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
"type": {
|
|
1748
|
-
"text": "string"
|
|
1749
|
-
}
|
|
1750
|
-
},
|
|
1751
|
-
{
|
|
1752
|
-
"name": "detail",
|
|
1753
|
-
"type": {
|
|
1754
|
-
"text": "unknown"
|
|
1755
|
-
}
|
|
1756
|
-
}
|
|
1757
|
-
]
|
|
1758
|
-
}
|
|
1759
|
-
]
|
|
1760
|
-
},
|
|
1761
|
-
{
|
|
1762
|
-
"kind": "variable",
|
|
1763
|
-
"name": "agenticActivityBus",
|
|
1764
|
-
"default": "new AgenticActivityBus({\n crossTabEvents: ['halo-start', 'halo-stop', 'tool-loop-start', 'tool-loop-end'],\n // Lazy: the tab-scoped name (and its `sessionStorage` read) is computed on first\n // cross-tab use in a browser, not at module-eval — so importing this module is\n // side-effect-free and Node/test-safe.\n channelNameFactory: () => getTabScopedChannelName('foundation-ai-activity'),\n})",
|
|
1765
|
-
"description": "Pre-instantiated singleton event bus for AI assistant activity.\n\n- `halo-start` / `halo-stop` are forwarded via a tab-scoped `BroadcastChannel` so that\n popout windows opened from this tab show halo animations, while remaining isolated from\n unrelated tabs on the same origin (tab-scoped channel name).\n- `tool-loop-start` / `tool-loop-end` are cross-tab for the same reason: they describe the\n assistant's lifecycle (a turn beginning / ending), and the most common subscribers\n (workspace transitions, post-turn deferred recomputation, UI gates tied to the assistant\n being idle) need the event regardless of whether the user is interacting with the chat\n in the main tab or a popout window. Tab-local-only telemetry can subscribe and filter.\n- `chat-popout` / `chat-popin` are in-memory only — they must only affect the tab where the\n user clicked."
|
|
1766
|
-
}
|
|
1767
|
-
],
|
|
1768
|
-
"exports": [
|
|
1769
|
-
{
|
|
1770
|
-
"kind": "js",
|
|
1771
|
-
"name": "NOOP_ACTIVITY_BUS",
|
|
1772
|
-
"declaration": {
|
|
1773
|
-
"name": "NOOP_ACTIVITY_BUS",
|
|
1774
|
-
"module": "src/channel/ai-activity-bus.ts"
|
|
1775
|
-
}
|
|
1776
|
-
},
|
|
1777
|
-
{
|
|
1778
|
-
"kind": "js",
|
|
1779
|
-
"name": "AgenticActivityBus",
|
|
1780
|
-
"declaration": {
|
|
1781
|
-
"name": "AgenticActivityBus",
|
|
1782
|
-
"module": "src/channel/ai-activity-bus.ts"
|
|
1783
|
-
}
|
|
1784
|
-
},
|
|
1785
|
-
{
|
|
1786
|
-
"kind": "js",
|
|
1787
|
-
"name": "agenticActivityBus",
|
|
1788
|
-
"declaration": {
|
|
1789
|
-
"name": "agenticActivityBus",
|
|
1790
|
-
"module": "src/channel/ai-activity-bus.ts"
|
|
1791
|
-
}
|
|
1792
|
-
}
|
|
1793
|
-
]
|
|
1794
|
-
},
|
|
1795
|
-
{
|
|
1796
|
-
"kind": "javascript-module",
|
|
1797
|
-
"path": "src/channel/ai-activity-channel.ts",
|
|
1798
|
-
"declarations": [],
|
|
1799
|
-
"exports": []
|
|
1800
|
-
},
|
|
1801
|
-
{
|
|
1802
|
-
"kind": "javascript-module",
|
|
1803
|
-
"path": "src/channel/autopilot-needs-user.ts",
|
|
1804
|
-
"declarations": [
|
|
1805
|
-
{
|
|
1806
|
-
"kind": "function",
|
|
1807
|
-
"name": "setAutopilotNeedsUser",
|
|
1808
|
-
"return": {
|
|
1809
|
-
"type": {
|
|
1810
|
-
"text": "void"
|
|
1811
|
-
}
|
|
1812
|
-
},
|
|
1813
|
-
"parameters": [
|
|
1705
|
+
"privacy": "private",
|
|
1706
|
+
"description": "The open interaction, when the autopilot declined it only for being paused as it opened: a live\nResume may still take it (see `takeOpenOnResume`). Cleared when it is taken or settles."
|
|
1707
|
+
},
|
|
1814
1708
|
{
|
|
1815
|
-
"
|
|
1709
|
+
"kind": "field",
|
|
1710
|
+
"name": "refinements",
|
|
1816
1711
|
"type": {
|
|
1817
|
-
"text": "string"
|
|
1818
|
-
}
|
|
1712
|
+
"text": "{ key: string; count: number } | undefined"
|
|
1713
|
+
},
|
|
1714
|
+
"privacy": "private",
|
|
1715
|
+
"description": "Refining actions taken on the current step (written answers among them), for the limit."
|
|
1819
1716
|
},
|
|
1820
1717
|
{
|
|
1821
|
-
"
|
|
1822
|
-
"
|
|
1823
|
-
"text": "boolean"
|
|
1824
|
-
}
|
|
1825
|
-
}
|
|
1826
|
-
],
|
|
1827
|
-
"description": "Set it for one session, announcing `autopilot-needs-user` when it changes."
|
|
1828
|
-
},
|
|
1829
|
-
{
|
|
1830
|
-
"kind": "function",
|
|
1831
|
-
"name": "autopilotNeedsUser",
|
|
1832
|
-
"return": {
|
|
1833
|
-
"type": {
|
|
1834
|
-
"text": "boolean"
|
|
1835
|
-
}
|
|
1836
|
-
},
|
|
1837
|
-
"parameters": [
|
|
1838
|
-
{
|
|
1839
|
-
"name": "sessionKey",
|
|
1840
|
-
"optional": true,
|
|
1841
|
-
"type": {
|
|
1842
|
-
"text": "string"
|
|
1843
|
-
}
|
|
1844
|
-
}
|
|
1845
|
-
],
|
|
1846
|
-
"description": "Whether a session has something waiting on the person — or, without a key (a bubble that cannot\ntell which assistant it holds), whether any session has."
|
|
1847
|
-
}
|
|
1848
|
-
],
|
|
1849
|
-
"exports": [
|
|
1850
|
-
{
|
|
1851
|
-
"kind": "js",
|
|
1852
|
-
"name": "setAutopilotNeedsUser",
|
|
1853
|
-
"declaration": {
|
|
1854
|
-
"name": "setAutopilotNeedsUser",
|
|
1855
|
-
"module": "src/channel/autopilot-needs-user.ts"
|
|
1856
|
-
}
|
|
1857
|
-
},
|
|
1858
|
-
{
|
|
1859
|
-
"kind": "js",
|
|
1860
|
-
"name": "autopilotNeedsUser",
|
|
1861
|
-
"declaration": {
|
|
1862
|
-
"name": "autopilotNeedsUser",
|
|
1863
|
-
"module": "src/channel/autopilot-needs-user.ts"
|
|
1864
|
-
}
|
|
1865
|
-
}
|
|
1866
|
-
]
|
|
1867
|
-
},
|
|
1868
|
-
{
|
|
1869
|
-
"kind": "javascript-module",
|
|
1870
|
-
"path": "src/autopilot/autopilot-driver.ts",
|
|
1871
|
-
"declarations": [
|
|
1872
|
-
{
|
|
1873
|
-
"kind": "variable",
|
|
1874
|
-
"name": "AUTOPILOT_CLAIMANT",
|
|
1875
|
-
"type": {
|
|
1876
|
-
"text": "string"
|
|
1877
|
-
},
|
|
1878
|
-
"default": "'autopilot'",
|
|
1879
|
-
"description": "The holder id the autopilot claims interactions as."
|
|
1880
|
-
},
|
|
1881
|
-
{
|
|
1882
|
-
"kind": "class",
|
|
1883
|
-
"description": "Autopilot (GENC-1660): a driver decorator that answers the questions a working agent asks the\nuser, on their behalf, grounded in the agent's autopilot config (for bootstrap, the brief).\n\nNeither side calls the other. The working agent asks as it always does; this driver claims the\ninteractions its policy allows, while it is running for that flow, and answers each in one short\nturn on the flow's `AutopilotSession`. It plugs in only through the generic extension points\n— an interaction interceptor, a handler capability and the flow lifecycle — so the core knows\nnothing about it, and it wraps any `AiDriver`.",
|
|
1884
|
-
"name": "AutopilotDriver",
|
|
1885
|
-
"members": [
|
|
1886
|
-
{
|
|
1887
|
-
"kind": "field",
|
|
1888
|
-
"name": "agents",
|
|
1889
|
-
"type": {
|
|
1890
|
-
"text": "readonly AgentConfig[]"
|
|
1891
|
-
},
|
|
1892
|
-
"privacy": "private",
|
|
1893
|
-
"readonly": true
|
|
1894
|
-
},
|
|
1895
|
-
{
|
|
1896
|
-
"kind": "field",
|
|
1897
|
-
"name": "providerRegistry",
|
|
1898
|
-
"type": {
|
|
1899
|
-
"text": "AIProviderRegistry"
|
|
1900
|
-
},
|
|
1901
|
-
"privacy": "private",
|
|
1902
|
-
"readonly": true
|
|
1903
|
-
},
|
|
1904
|
-
{
|
|
1905
|
-
"kind": "field",
|
|
1906
|
-
"name": "sessionKey",
|
|
1907
|
-
"type": {
|
|
1908
|
-
"text": "string"
|
|
1909
|
-
},
|
|
1910
|
-
"privacy": "private",
|
|
1911
|
-
"readonly": true
|
|
1912
|
-
},
|
|
1913
|
-
{
|
|
1914
|
-
"kind": "field",
|
|
1915
|
-
"name": "activityBus",
|
|
1916
|
-
"type": {
|
|
1917
|
-
"text": "ActivityBus"
|
|
1918
|
-
},
|
|
1919
|
-
"privacy": "private",
|
|
1920
|
-
"readonly": true
|
|
1921
|
-
},
|
|
1922
|
-
{
|
|
1923
|
-
"kind": "field",
|
|
1924
|
-
"name": "listeners",
|
|
1925
|
-
"privacy": "private",
|
|
1926
|
-
"readonly": true,
|
|
1927
|
-
"default": "new Set<() => void>()"
|
|
1928
|
-
},
|
|
1929
|
-
{
|
|
1930
|
-
"kind": "field",
|
|
1931
|
-
"name": "sessions",
|
|
1932
|
-
"privacy": "private",
|
|
1933
|
-
"readonly": true,
|
|
1934
|
-
"default": "new Map<string, AutopilotSession>()"
|
|
1935
|
-
},
|
|
1936
|
-
{
|
|
1937
|
-
"kind": "field",
|
|
1938
|
-
"name": "onFor",
|
|
1939
|
-
"type": {
|
|
1940
|
-
"text": "string | null"
|
|
1941
|
-
},
|
|
1942
|
-
"privacy": "private",
|
|
1943
|
-
"default": "null",
|
|
1944
|
-
"description": "The flow the mode applies to: set when it is first switched, cleared when that flow ends."
|
|
1945
|
-
},
|
|
1946
|
-
{
|
|
1947
|
-
"kind": "field",
|
|
1948
|
-
"name": "mode",
|
|
1949
|
-
"type": {
|
|
1950
|
-
"text": "'paused' | 'running'"
|
|
1951
|
-
},
|
|
1952
|
-
"privacy": "private",
|
|
1953
|
-
"default": "'paused'"
|
|
1954
|
-
},
|
|
1955
|
-
{
|
|
1956
|
-
"kind": "field",
|
|
1957
|
-
"name": "pauseState",
|
|
1958
|
-
"type": {
|
|
1959
|
-
"text": "AutopilotHostState['pause'] | undefined"
|
|
1960
|
-
},
|
|
1961
|
-
"privacy": "private"
|
|
1962
|
-
},
|
|
1963
|
-
{
|
|
1964
|
-
"kind": "field",
|
|
1965
|
-
"name": "held",
|
|
1966
|
-
"type": {
|
|
1967
|
-
"text": "Held | undefined"
|
|
1968
|
-
},
|
|
1969
|
-
"privacy": "private"
|
|
1970
|
-
},
|
|
1971
|
-
{
|
|
1972
|
-
"kind": "field",
|
|
1973
|
-
"name": "open",
|
|
1974
|
-
"type": {
|
|
1975
|
-
"text": "InteractionOpened | undefined"
|
|
1976
|
-
},
|
|
1977
|
-
"privacy": "private",
|
|
1978
|
-
"description": "The interaction open right now, whoever holds it: claimed or not, it was offered here first.\n`held` covers only what the autopilot claimed, so this is how the status knows that the working\nagent is parked on a question left with the person (see `waitingOnUser`)."
|
|
1979
|
-
},
|
|
1980
|
-
{
|
|
1981
|
-
"kind": "field",
|
|
1982
|
-
"name": "declinedWhilePaused",
|
|
1983
|
-
"type": {
|
|
1984
|
-
"text": "InteractionOpened | undefined"
|
|
1985
|
-
},
|
|
1986
|
-
"privacy": "private",
|
|
1987
|
-
"description": "The open interaction, when the autopilot declined it only for being paused as it opened: a live\nResume may still take it (see `takeOpenOnResume`). Cleared when it is taken or settles."
|
|
1988
|
-
},
|
|
1989
|
-
{
|
|
1990
|
-
"kind": "field",
|
|
1991
|
-
"name": "refinements",
|
|
1992
|
-
"type": {
|
|
1993
|
-
"text": "{ key: string; count: number } | undefined"
|
|
1994
|
-
},
|
|
1995
|
-
"privacy": "private",
|
|
1996
|
-
"description": "Refining actions taken on the current step (written answers among them), for the limit."
|
|
1997
|
-
},
|
|
1998
|
-
{
|
|
1999
|
-
"kind": "field",
|
|
2000
|
-
"name": "watchdog",
|
|
1718
|
+
"kind": "field",
|
|
1719
|
+
"name": "watchdog",
|
|
2001
1720
|
"type": {
|
|
2002
1721
|
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
2003
1722
|
},
|
|
@@ -5344,190 +5063,471 @@
|
|
|
5344
5063
|
},
|
|
5345
5064
|
{
|
|
5346
5065
|
"kind": "javascript-module",
|
|
5347
|
-
"path": "src/
|
|
5066
|
+
"path": "src/channel/ai-activity-bus.ts",
|
|
5348
5067
|
"declarations": [
|
|
5068
|
+
{
|
|
5069
|
+
"kind": "variable",
|
|
5070
|
+
"name": "NOOP_ACTIVITY_BUS",
|
|
5071
|
+
"type": {
|
|
5072
|
+
"text": "ActivityBus"
|
|
5073
|
+
},
|
|
5074
|
+
"default": "{ publish: () => {} }",
|
|
5075
|
+
"description": "No-op ActivityBus. The default when no bus is injected (Node, tests, headless\nserver use) — publishing goes nowhere and nothing is left open to tear down."
|
|
5076
|
+
},
|
|
5349
5077
|
{
|
|
5350
5078
|
"kind": "class",
|
|
5351
|
-
"description": "
|
|
5352
|
-
"name": "
|
|
5079
|
+
"description": "Typed in-process event bus for AI assistant activity events.\n\nDispatches events synchronously to all local subscribers in the same JS module instance\n(i.e. the same browser tab). Events listed in `crossTabEvents` are additionally forwarded\nvia a shared `BroadcastChannel` so that other tabs on the same origin receive them.",
|
|
5080
|
+
"name": "AgenticActivityBus",
|
|
5353
5081
|
"members": [
|
|
5354
5082
|
{
|
|
5355
5083
|
"kind": "field",
|
|
5356
|
-
"name": "
|
|
5084
|
+
"name": "subscribers",
|
|
5085
|
+
"privacy": "private",
|
|
5086
|
+
"readonly": true,
|
|
5087
|
+
"default": "new Map<string, Set<AnyHandler>>()"
|
|
5088
|
+
},
|
|
5089
|
+
{
|
|
5090
|
+
"kind": "field",
|
|
5091
|
+
"name": "crossTabEvents",
|
|
5357
5092
|
"type": {
|
|
5358
|
-
"text": "
|
|
5093
|
+
"text": "Set<string>"
|
|
5359
5094
|
},
|
|
5360
|
-
"privacy": "private"
|
|
5095
|
+
"privacy": "private",
|
|
5096
|
+
"readonly": true,
|
|
5097
|
+
"default": "new Set(config?.crossTabEvents ?? [])"
|
|
5361
5098
|
},
|
|
5362
5099
|
{
|
|
5363
5100
|
"kind": "field",
|
|
5364
|
-
"name": "
|
|
5101
|
+
"name": "channelNameFactory",
|
|
5365
5102
|
"type": {
|
|
5366
|
-
"text": "
|
|
5103
|
+
"text": "() => string | undefined"
|
|
5367
5104
|
},
|
|
5368
|
-
"privacy": "private"
|
|
5105
|
+
"privacy": "private",
|
|
5106
|
+
"readonly": true
|
|
5369
5107
|
},
|
|
5370
5108
|
{
|
|
5371
5109
|
"kind": "field",
|
|
5372
|
-
"name": "
|
|
5110
|
+
"name": "channel",
|
|
5373
5111
|
"type": {
|
|
5374
|
-
"text": "
|
|
5112
|
+
"text": "BroadcastChannel | undefined"
|
|
5375
5113
|
},
|
|
5376
5114
|
"privacy": "private"
|
|
5377
5115
|
},
|
|
5116
|
+
{
|
|
5117
|
+
"kind": "field",
|
|
5118
|
+
"name": "channelInitialised",
|
|
5119
|
+
"type": {
|
|
5120
|
+
"text": "boolean"
|
|
5121
|
+
},
|
|
5122
|
+
"privacy": "private",
|
|
5123
|
+
"default": "false"
|
|
5124
|
+
},
|
|
5378
5125
|
{
|
|
5379
5126
|
"kind": "method",
|
|
5380
|
-
"name": "
|
|
5127
|
+
"name": "ensureChannel",
|
|
5381
5128
|
"privacy": "private",
|
|
5382
|
-
"
|
|
5383
|
-
{
|
|
5384
|
-
"
|
|
5385
|
-
"optional": true,
|
|
5386
|
-
"type": {
|
|
5387
|
-
"text": "number"
|
|
5388
|
-
}
|
|
5129
|
+
"return": {
|
|
5130
|
+
"type": {
|
|
5131
|
+
"text": "void"
|
|
5389
5132
|
}
|
|
5390
|
-
|
|
5133
|
+
},
|
|
5134
|
+
"description": "Lazily open the cross-tab `BroadcastChannel` on first use. Deferred (rather than\ncreated in the constructor) so that importing this module, or constructing the bus\noff-browser (Node, tests, headless server), never opens a live channel or reads\n`sessionStorage` — both would keep a Node event loop alive and hang the process.\nCross-tab forwarding is inherently browser-only, so channel creation is gated on a\nbrowser environment; elsewhere the bus stays purely in-process."
|
|
5391
5135
|
},
|
|
5392
5136
|
{
|
|
5393
5137
|
"kind": "method",
|
|
5394
|
-
"name": "
|
|
5395
|
-
"privacy": "private",
|
|
5396
|
-
"static": true,
|
|
5138
|
+
"name": "subscribe",
|
|
5397
5139
|
"return": {
|
|
5398
5140
|
"type": {
|
|
5399
|
-
"text": "
|
|
5141
|
+
"text": "() => void"
|
|
5400
5142
|
}
|
|
5401
5143
|
},
|
|
5402
5144
|
"parameters": [
|
|
5403
5145
|
{
|
|
5404
|
-
"name": "
|
|
5146
|
+
"name": "type",
|
|
5405
5147
|
"type": {
|
|
5406
|
-
"text": "
|
|
5148
|
+
"text": "K"
|
|
5407
5149
|
}
|
|
5408
5150
|
},
|
|
5409
5151
|
{
|
|
5410
|
-
"name": "
|
|
5152
|
+
"name": "handler",
|
|
5411
5153
|
"type": {
|
|
5412
|
-
"text": "
|
|
5154
|
+
"text": "(detail: AgenticActivityEvents[K]) => void"
|
|
5413
5155
|
}
|
|
5414
5156
|
}
|
|
5415
5157
|
],
|
|
5416
|
-
"description": "
|
|
5417
|
-
}
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5158
|
+
"description": "Subscribe to an event. Returns an unsubscribe function — call it in\n`disconnectedCallback` to avoid memory leaks."
|
|
5159
|
+
},
|
|
5160
|
+
{
|
|
5161
|
+
"kind": "method",
|
|
5162
|
+
"name": "publish",
|
|
5163
|
+
"return": {
|
|
5164
|
+
"type": {
|
|
5165
|
+
"text": "void"
|
|
5166
|
+
}
|
|
5167
|
+
},
|
|
5168
|
+
"parameters": [
|
|
5169
|
+
{
|
|
5170
|
+
"name": "type",
|
|
5171
|
+
"type": {
|
|
5172
|
+
"text": "K"
|
|
5173
|
+
}
|
|
5174
|
+
},
|
|
5175
|
+
{
|
|
5176
|
+
"name": "detail",
|
|
5177
|
+
"type": {
|
|
5178
|
+
"text": "AgenticActivityEvents[K]"
|
|
5179
|
+
}
|
|
5180
|
+
}
|
|
5181
|
+
],
|
|
5182
|
+
"description": "Publish an event to all local subscribers and, if configured, to other tabs\nvia BroadcastChannel."
|
|
5183
|
+
},
|
|
5184
|
+
{
|
|
5185
|
+
"kind": "method",
|
|
5186
|
+
"name": "addCrossTabEvent",
|
|
5187
|
+
"return": {
|
|
5188
|
+
"type": {
|
|
5189
|
+
"text": "void"
|
|
5190
|
+
}
|
|
5191
|
+
},
|
|
5192
|
+
"parameters": [
|
|
5193
|
+
{
|
|
5194
|
+
"name": "type",
|
|
5195
|
+
"type": {
|
|
5196
|
+
"text": "keyof AgenticActivityEvents"
|
|
5197
|
+
}
|
|
5198
|
+
}
|
|
5199
|
+
],
|
|
5200
|
+
"description": "Add an event type to the cross-tab forwarding set at runtime.\nMust be called before the first AgenticActivityBus.publish of that event type."
|
|
5201
|
+
},
|
|
5202
|
+
{
|
|
5203
|
+
"kind": "method",
|
|
5204
|
+
"name": "close",
|
|
5205
|
+
"return": {
|
|
5206
|
+
"type": {
|
|
5207
|
+
"text": "void"
|
|
5208
|
+
}
|
|
5209
|
+
},
|
|
5210
|
+
"description": "Close the underlying BroadcastChannel. Call once on application teardown if needed."
|
|
5211
|
+
},
|
|
5212
|
+
{
|
|
5213
|
+
"kind": "method",
|
|
5214
|
+
"name": "notifyLocal",
|
|
5215
|
+
"privacy": "private",
|
|
5216
|
+
"return": {
|
|
5217
|
+
"type": {
|
|
5218
|
+
"text": "void"
|
|
5219
|
+
}
|
|
5220
|
+
},
|
|
5221
|
+
"parameters": [
|
|
5222
|
+
{
|
|
5223
|
+
"name": "type",
|
|
5224
|
+
"type": {
|
|
5225
|
+
"text": "string"
|
|
5226
|
+
}
|
|
5227
|
+
},
|
|
5228
|
+
{
|
|
5229
|
+
"name": "detail",
|
|
5230
|
+
"type": {
|
|
5231
|
+
"text": "unknown"
|
|
5232
|
+
}
|
|
5233
|
+
}
|
|
5234
|
+
]
|
|
5235
|
+
}
|
|
5236
|
+
]
|
|
5237
|
+
},
|
|
5238
|
+
{
|
|
5239
|
+
"kind": "variable",
|
|
5240
|
+
"name": "agenticActivityBus",
|
|
5241
|
+
"default": "new AgenticActivityBus({\n crossTabEvents: ['halo-start', 'halo-stop', 'tool-loop-start', 'tool-loop-end'],\n // Lazy: the tab-scoped name (and its `sessionStorage` read) is computed on first\n // cross-tab use in a browser, not at module-eval — so importing this module is\n // side-effect-free and Node/test-safe.\n channelNameFactory: () => getTabScopedChannelName('foundation-ai-activity'),\n})",
|
|
5242
|
+
"description": "Pre-instantiated singleton event bus for AI assistant activity.\n\n- `halo-start` / `halo-stop` are forwarded via a tab-scoped `BroadcastChannel` so that\n popout windows opened from this tab show halo animations, while remaining isolated from\n unrelated tabs on the same origin (tab-scoped channel name).\n- `tool-loop-start` / `tool-loop-end` are cross-tab for the same reason: they describe the\n assistant's lifecycle (a turn beginning / ending), and the most common subscribers\n (workspace transitions, post-turn deferred recomputation, UI gates tied to the assistant\n being idle) need the event regardless of whether the user is interacting with the chat\n in the main tab or a popout window. Tab-local-only telemetry can subscribe and filter.\n- `chat-popout` / `chat-popin` are in-memory only — they must only affect the tab where the\n user clicked."
|
|
5425
5243
|
}
|
|
5426
5244
|
],
|
|
5427
5245
|
"exports": [
|
|
5428
5246
|
{
|
|
5429
5247
|
"kind": "js",
|
|
5430
|
-
"name": "
|
|
5248
|
+
"name": "NOOP_ACTIVITY_BUS",
|
|
5431
5249
|
"declaration": {
|
|
5432
|
-
"name": "
|
|
5433
|
-
"module": "src/
|
|
5250
|
+
"name": "NOOP_ACTIVITY_BUS",
|
|
5251
|
+
"module": "src/channel/ai-activity-bus.ts"
|
|
5434
5252
|
}
|
|
5435
5253
|
},
|
|
5436
5254
|
{
|
|
5437
|
-
"kind": "
|
|
5438
|
-
"name": "
|
|
5255
|
+
"kind": "js",
|
|
5256
|
+
"name": "AgenticActivityBus",
|
|
5439
5257
|
"declaration": {
|
|
5440
|
-
"name": "
|
|
5441
|
-
"module": "src/
|
|
5258
|
+
"name": "AgenticActivityBus",
|
|
5259
|
+
"module": "src/channel/ai-activity-bus.ts"
|
|
5260
|
+
}
|
|
5261
|
+
},
|
|
5262
|
+
{
|
|
5263
|
+
"kind": "js",
|
|
5264
|
+
"name": "agenticActivityBus",
|
|
5265
|
+
"declaration": {
|
|
5266
|
+
"name": "agenticActivityBus",
|
|
5267
|
+
"module": "src/channel/ai-activity-bus.ts"
|
|
5442
5268
|
}
|
|
5443
5269
|
}
|
|
5444
5270
|
]
|
|
5445
5271
|
},
|
|
5446
5272
|
{
|
|
5447
5273
|
"kind": "javascript-module",
|
|
5448
|
-
"path": "src/
|
|
5274
|
+
"path": "src/channel/ai-activity-channel.ts",
|
|
5275
|
+
"declarations": [],
|
|
5276
|
+
"exports": []
|
|
5277
|
+
},
|
|
5278
|
+
{
|
|
5279
|
+
"kind": "javascript-module",
|
|
5280
|
+
"path": "src/channel/autopilot-needs-user.ts",
|
|
5449
5281
|
"declarations": [
|
|
5450
5282
|
{
|
|
5451
|
-
"kind": "
|
|
5452
|
-
"
|
|
5453
|
-
"
|
|
5454
|
-
|
|
5283
|
+
"kind": "function",
|
|
5284
|
+
"name": "setAutopilotNeedsUser",
|
|
5285
|
+
"return": {
|
|
5286
|
+
"type": {
|
|
5287
|
+
"text": "void"
|
|
5288
|
+
}
|
|
5289
|
+
},
|
|
5290
|
+
"parameters": [
|
|
5455
5291
|
{
|
|
5456
|
-
"
|
|
5457
|
-
"name": "active",
|
|
5292
|
+
"name": "sessionKey",
|
|
5458
5293
|
"type": {
|
|
5459
|
-
"text": "
|
|
5460
|
-
}
|
|
5461
|
-
"default": "false"
|
|
5294
|
+
"text": "string"
|
|
5295
|
+
}
|
|
5462
5296
|
},
|
|
5463
5297
|
{
|
|
5464
|
-
"
|
|
5465
|
-
"name": "speed",
|
|
5298
|
+
"name": "needsUser",
|
|
5466
5299
|
"type": {
|
|
5467
|
-
"text": "
|
|
5468
|
-
}
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5300
|
+
"text": "boolean"
|
|
5301
|
+
}
|
|
5302
|
+
}
|
|
5303
|
+
],
|
|
5304
|
+
"description": "Set it for one session, announcing `autopilot-needs-user` when it changes."
|
|
5305
|
+
},
|
|
5306
|
+
{
|
|
5307
|
+
"kind": "function",
|
|
5308
|
+
"name": "autopilotNeedsUser",
|
|
5309
|
+
"return": {
|
|
5310
|
+
"type": {
|
|
5311
|
+
"text": "boolean"
|
|
5312
|
+
}
|
|
5313
|
+
},
|
|
5314
|
+
"parameters": [
|
|
5472
5315
|
{
|
|
5473
|
-
"
|
|
5474
|
-
"
|
|
5316
|
+
"name": "sessionKey",
|
|
5317
|
+
"optional": true,
|
|
5475
5318
|
"type": {
|
|
5476
|
-
"text": "
|
|
5477
|
-
}
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5319
|
+
"text": "string"
|
|
5320
|
+
}
|
|
5321
|
+
}
|
|
5322
|
+
],
|
|
5323
|
+
"description": "Whether a session has something waiting on the person — or, without a key (a bubble that cannot\ntell which assistant it holds), whether any session has."
|
|
5324
|
+
}
|
|
5325
|
+
],
|
|
5326
|
+
"exports": [
|
|
5327
|
+
{
|
|
5328
|
+
"kind": "js",
|
|
5329
|
+
"name": "setAutopilotNeedsUser",
|
|
5330
|
+
"declaration": {
|
|
5331
|
+
"name": "setAutopilotNeedsUser",
|
|
5332
|
+
"module": "src/channel/autopilot-needs-user.ts"
|
|
5333
|
+
}
|
|
5334
|
+
},
|
|
5335
|
+
{
|
|
5336
|
+
"kind": "js",
|
|
5337
|
+
"name": "autopilotNeedsUser",
|
|
5338
|
+
"declaration": {
|
|
5339
|
+
"name": "autopilotNeedsUser",
|
|
5340
|
+
"module": "src/channel/autopilot-needs-user.ts"
|
|
5341
|
+
}
|
|
5342
|
+
}
|
|
5343
|
+
]
|
|
5344
|
+
},
|
|
5345
|
+
{
|
|
5346
|
+
"kind": "javascript-module",
|
|
5347
|
+
"path": "src/components/flowing-waves-indicator.ts",
|
|
5348
|
+
"declarations": [
|
|
5349
|
+
{
|
|
5350
|
+
"kind": "class",
|
|
5351
|
+
"description": "Animated \"flowing waves\" loading indicator — coloured organic waves (in the\nfour brand colours) whose bumps swell, shrink, merge and split across a line,\ntapering to nothing at both ends. Where the colours overlap they blend\nadditively toward white.\n\nVisual sibling of the dots loading indicator; interchangeable with the other\nloading styles for the \"assistant is working\" state.",
|
|
5352
|
+
"name": "AiFlowingWavesIndicator",
|
|
5353
|
+
"members": [
|
|
5481
5354
|
{
|
|
5482
5355
|
"kind": "field",
|
|
5483
|
-
"name": "
|
|
5356
|
+
"name": "startTime",
|
|
5484
5357
|
"type": {
|
|
5485
|
-
"text": "number"
|
|
5358
|
+
"text": "number | undefined"
|
|
5486
5359
|
},
|
|
5487
|
-
"
|
|
5488
|
-
"description": "Border thickness in px. Default: 3."
|
|
5360
|
+
"privacy": "private"
|
|
5489
5361
|
},
|
|
5490
5362
|
{
|
|
5491
5363
|
"kind": "field",
|
|
5492
|
-
"name": "
|
|
5364
|
+
"name": "animFrame",
|
|
5493
5365
|
"type": {
|
|
5494
|
-
"text": "number"
|
|
5366
|
+
"text": "number | undefined"
|
|
5495
5367
|
},
|
|
5496
|
-
"
|
|
5497
|
-
"description": "Glow layer opacity (0–1). Default: 0.35."
|
|
5368
|
+
"privacy": "private"
|
|
5498
5369
|
},
|
|
5499
5370
|
{
|
|
5500
5371
|
"kind": "field",
|
|
5501
|
-
"name": "
|
|
5372
|
+
"name": "bandPaths",
|
|
5502
5373
|
"type": {
|
|
5503
|
-
"text": "
|
|
5374
|
+
"text": "SVGPathElement[] | undefined"
|
|
5504
5375
|
},
|
|
5505
|
-
"
|
|
5506
|
-
"description": "Transparent stop of the radial glow mask as a percentage (0–100). Higher = less spread. Default: 70."
|
|
5507
|
-
},
|
|
5508
|
-
{
|
|
5509
|
-
"kind": "method",
|
|
5510
|
-
"name": "borderSizeChanged"
|
|
5376
|
+
"privacy": "private"
|
|
5511
5377
|
},
|
|
5512
5378
|
{
|
|
5513
5379
|
"kind": "method",
|
|
5514
|
-
"name": "
|
|
5380
|
+
"name": "tick",
|
|
5381
|
+
"privacy": "private",
|
|
5382
|
+
"parameters": [
|
|
5383
|
+
{
|
|
5384
|
+
"name": "now",
|
|
5385
|
+
"optional": true,
|
|
5386
|
+
"type": {
|
|
5387
|
+
"text": "number"
|
|
5388
|
+
}
|
|
5389
|
+
}
|
|
5390
|
+
]
|
|
5515
5391
|
},
|
|
5516
5392
|
{
|
|
5517
5393
|
"kind": "method",
|
|
5518
|
-
"name": "
|
|
5519
|
-
},
|
|
5520
|
-
{
|
|
5521
|
-
"kind": "field",
|
|
5522
|
-
"name": "FULL_ROTATION_DEG",
|
|
5523
|
-
"type": {
|
|
5524
|
-
"text": "number"
|
|
5525
|
-
},
|
|
5394
|
+
"name": "buildBand",
|
|
5526
5395
|
"privacy": "private",
|
|
5527
5396
|
"static": true,
|
|
5528
|
-
"
|
|
5529
|
-
|
|
5530
|
-
|
|
5397
|
+
"return": {
|
|
5398
|
+
"type": {
|
|
5399
|
+
"text": "string"
|
|
5400
|
+
}
|
|
5401
|
+
},
|
|
5402
|
+
"parameters": [
|
|
5403
|
+
{
|
|
5404
|
+
"name": "cfg",
|
|
5405
|
+
"type": {
|
|
5406
|
+
"text": "BandConfig"
|
|
5407
|
+
}
|
|
5408
|
+
},
|
|
5409
|
+
{
|
|
5410
|
+
"name": "frame",
|
|
5411
|
+
"type": {
|
|
5412
|
+
"text": "number"
|
|
5413
|
+
}
|
|
5414
|
+
}
|
|
5415
|
+
],
|
|
5416
|
+
"description": "Trace one band for the given frame: a baseline-plus-harmonics half-thickness\nprofile, clamped at 0 (so the band pinches to nothing between bumps) and\ntapered to 0 at both ends."
|
|
5417
|
+
}
|
|
5418
|
+
],
|
|
5419
|
+
"superclass": {
|
|
5420
|
+
"name": "GenesisElement",
|
|
5421
|
+
"package": "@genesislcap/web-core"
|
|
5422
|
+
},
|
|
5423
|
+
"tagName": "ai-flowing-waves-indicator",
|
|
5424
|
+
"customElement": true
|
|
5425
|
+
}
|
|
5426
|
+
],
|
|
5427
|
+
"exports": [
|
|
5428
|
+
{
|
|
5429
|
+
"kind": "js",
|
|
5430
|
+
"name": "AiFlowingWavesIndicator",
|
|
5431
|
+
"declaration": {
|
|
5432
|
+
"name": "AiFlowingWavesIndicator",
|
|
5433
|
+
"module": "src/components/flowing-waves-indicator.ts"
|
|
5434
|
+
}
|
|
5435
|
+
},
|
|
5436
|
+
{
|
|
5437
|
+
"kind": "custom-element-definition",
|
|
5438
|
+
"name": "ai-flowing-waves-indicator",
|
|
5439
|
+
"declaration": {
|
|
5440
|
+
"name": "AiFlowingWavesIndicator",
|
|
5441
|
+
"module": "src/components/flowing-waves-indicator.ts"
|
|
5442
|
+
}
|
|
5443
|
+
}
|
|
5444
|
+
]
|
|
5445
|
+
},
|
|
5446
|
+
{
|
|
5447
|
+
"kind": "javascript-module",
|
|
5448
|
+
"path": "src/components/halo-overlay.ts",
|
|
5449
|
+
"declarations": [
|
|
5450
|
+
{
|
|
5451
|
+
"kind": "class",
|
|
5452
|
+
"description": "Animated halo overlay — rotating conic-gradient border with an inward glow.\n\nDrop inside any `position: relative; overflow: hidden` container and toggle\nthe `active` attribute to show/hide the effect.",
|
|
5453
|
+
"name": "AiHaloOverlay",
|
|
5454
|
+
"members": [
|
|
5455
|
+
{
|
|
5456
|
+
"kind": "field",
|
|
5457
|
+
"name": "active",
|
|
5458
|
+
"type": {
|
|
5459
|
+
"text": "boolean"
|
|
5460
|
+
},
|
|
5461
|
+
"default": "false"
|
|
5462
|
+
},
|
|
5463
|
+
{
|
|
5464
|
+
"kind": "field",
|
|
5465
|
+
"name": "speed",
|
|
5466
|
+
"type": {
|
|
5467
|
+
"text": "number"
|
|
5468
|
+
},
|
|
5469
|
+
"default": "1.5",
|
|
5470
|
+
"description": "Rotation speed in degrees per frame. Default: 1.5 (≈ 4 s per full revolution at 60 fps)."
|
|
5471
|
+
},
|
|
5472
|
+
{
|
|
5473
|
+
"kind": "field",
|
|
5474
|
+
"name": "direction",
|
|
5475
|
+
"type": {
|
|
5476
|
+
"text": "'cw' | 'ccw'"
|
|
5477
|
+
},
|
|
5478
|
+
"default": "'cw'",
|
|
5479
|
+
"description": "Rotation direction. Default: 'cw' (clockwise)."
|
|
5480
|
+
},
|
|
5481
|
+
{
|
|
5482
|
+
"kind": "field",
|
|
5483
|
+
"name": "borderSize",
|
|
5484
|
+
"type": {
|
|
5485
|
+
"text": "number"
|
|
5486
|
+
},
|
|
5487
|
+
"default": "3",
|
|
5488
|
+
"description": "Border thickness in px. Default: 3."
|
|
5489
|
+
},
|
|
5490
|
+
{
|
|
5491
|
+
"kind": "field",
|
|
5492
|
+
"name": "glowOpacity",
|
|
5493
|
+
"type": {
|
|
5494
|
+
"text": "number"
|
|
5495
|
+
},
|
|
5496
|
+
"default": "0.35",
|
|
5497
|
+
"description": "Glow layer opacity (0–1). Default: 0.35."
|
|
5498
|
+
},
|
|
5499
|
+
{
|
|
5500
|
+
"kind": "field",
|
|
5501
|
+
"name": "glowSpread",
|
|
5502
|
+
"type": {
|
|
5503
|
+
"text": "number"
|
|
5504
|
+
},
|
|
5505
|
+
"default": "70",
|
|
5506
|
+
"description": "Transparent stop of the radial glow mask as a percentage (0–100). Higher = less spread. Default: 70."
|
|
5507
|
+
},
|
|
5508
|
+
{
|
|
5509
|
+
"kind": "method",
|
|
5510
|
+
"name": "borderSizeChanged"
|
|
5511
|
+
},
|
|
5512
|
+
{
|
|
5513
|
+
"kind": "method",
|
|
5514
|
+
"name": "glowOpacityChanged"
|
|
5515
|
+
},
|
|
5516
|
+
{
|
|
5517
|
+
"kind": "method",
|
|
5518
|
+
"name": "glowSpreadChanged"
|
|
5519
|
+
},
|
|
5520
|
+
{
|
|
5521
|
+
"kind": "field",
|
|
5522
|
+
"name": "FULL_ROTATION_DEG",
|
|
5523
|
+
"type": {
|
|
5524
|
+
"text": "number"
|
|
5525
|
+
},
|
|
5526
|
+
"privacy": "private",
|
|
5527
|
+
"static": true,
|
|
5528
|
+
"readonly": true,
|
|
5529
|
+
"default": "360"
|
|
5530
|
+
},
|
|
5531
5531
|
{
|
|
5532
5532
|
"kind": "field",
|
|
5533
5533
|
"name": "angle",
|
|
@@ -7394,639 +7394,535 @@
|
|
|
7394
7394
|
},
|
|
7395
7395
|
{
|
|
7396
7396
|
"kind": "javascript-module",
|
|
7397
|
-
"path": "src/
|
|
7398
|
-
"declarations": [],
|
|
7399
|
-
"exports": []
|
|
7400
|
-
},
|
|
7401
|
-
{
|
|
7402
|
-
"kind": "javascript-module",
|
|
7403
|
-
"path": "src/genesis/config.ts",
|
|
7397
|
+
"path": "src/headless-server/compact.ts",
|
|
7404
7398
|
"declarations": [
|
|
7405
|
-
{
|
|
7406
|
-
"kind": "variable",
|
|
7407
|
-
"name": "DEFAULT_MAX_ROWS",
|
|
7408
|
-
"type": {
|
|
7409
|
-
"text": "number"
|
|
7410
|
-
},
|
|
7411
|
-
"default": "50",
|
|
7412
|
-
"description": "The default read cap, and the ceiling the config may raise it to."
|
|
7413
|
-
},
|
|
7414
|
-
{
|
|
7415
|
-
"kind": "variable",
|
|
7416
|
-
"name": "MAX_ROWS_CEILING",
|
|
7417
|
-
"type": {
|
|
7418
|
-
"text": "number"
|
|
7419
|
-
},
|
|
7420
|
-
"default": "1000"
|
|
7421
|
-
},
|
|
7422
7399
|
{
|
|
7423
7400
|
"kind": "function",
|
|
7424
|
-
"name": "
|
|
7401
|
+
"name": "firstLines",
|
|
7425
7402
|
"return": {
|
|
7426
7403
|
"type": {
|
|
7427
|
-
"text": "string"
|
|
7404
|
+
"text": "{ text: string; chars?: number }"
|
|
7428
7405
|
}
|
|
7429
7406
|
},
|
|
7430
7407
|
"parameters": [
|
|
7431
7408
|
{
|
|
7432
|
-
"name": "
|
|
7409
|
+
"name": "text",
|
|
7433
7410
|
"type": {
|
|
7434
7411
|
"text": "string"
|
|
7435
7412
|
}
|
|
7413
|
+
},
|
|
7414
|
+
{
|
|
7415
|
+
"name": "lines",
|
|
7416
|
+
"type": {
|
|
7417
|
+
"text": "number"
|
|
7418
|
+
}
|
|
7419
|
+
},
|
|
7420
|
+
{
|
|
7421
|
+
"name": "chars",
|
|
7422
|
+
"type": {
|
|
7423
|
+
"text": "number"
|
|
7424
|
+
}
|
|
7436
7425
|
}
|
|
7437
7426
|
],
|
|
7438
|
-
"description": "The
|
|
7427
|
+
"description": "The first `lines` lines of `text`, at most `chars` characters, and its full length when it was cut."
|
|
7439
7428
|
},
|
|
7440
7429
|
{
|
|
7441
7430
|
"kind": "function",
|
|
7442
|
-
"name": "
|
|
7431
|
+
"name": "present",
|
|
7443
7432
|
"return": {
|
|
7444
7433
|
"type": {
|
|
7445
|
-
"text": "
|
|
7434
|
+
"text": "Partial<T>"
|
|
7446
7435
|
}
|
|
7447
7436
|
},
|
|
7448
7437
|
"parameters": [
|
|
7449
7438
|
{
|
|
7450
|
-
"name": "
|
|
7439
|
+
"name": "source",
|
|
7451
7440
|
"type": {
|
|
7452
|
-
"text": "
|
|
7441
|
+
"text": "T"
|
|
7453
7442
|
}
|
|
7454
|
-
}
|
|
7443
|
+
}
|
|
7444
|
+
],
|
|
7445
|
+
"description": "The keys of `source` that are set, as a new object: a field with nothing to say is dropped."
|
|
7446
|
+
},
|
|
7447
|
+
{
|
|
7448
|
+
"kind": "function",
|
|
7449
|
+
"name": "compactEvent",
|
|
7450
|
+
"return": {
|
|
7451
|
+
"type": {
|
|
7452
|
+
"text": "CompactEvent | undefined"
|
|
7453
|
+
}
|
|
7454
|
+
},
|
|
7455
|
+
"parameters": [
|
|
7455
7456
|
{
|
|
7456
|
-
"name": "
|
|
7457
|
+
"name": "event",
|
|
7457
7458
|
"type": {
|
|
7458
|
-
"text": "
|
|
7459
|
-
}
|
|
7460
|
-
"description": "The request resources whose rows can be read. A row action reads its rows\nthrough `REQ_<entity>`, and without one there is no row to review."
|
|
7459
|
+
"text": "HeadlessEvent"
|
|
7460
|
+
}
|
|
7461
7461
|
},
|
|
7462
7462
|
{
|
|
7463
|
-
"name": "
|
|
7464
|
-
"default": "
|
|
7463
|
+
"name": "options",
|
|
7464
|
+
"default": "{}",
|
|
7465
7465
|
"type": {
|
|
7466
|
-
"text": "
|
|
7467
|
-
}
|
|
7468
|
-
"description": "Why a request is not among `requestNames`, when the caller knows: it was\nleft out, has no read tool, or is a query. Without it, the request is said to be missing."
|
|
7466
|
+
"text": "CompactOptions"
|
|
7467
|
+
}
|
|
7469
7468
|
}
|
|
7470
7469
|
],
|
|
7471
|
-
"description": "
|
|
7470
|
+
"description": "One session event, compact. `decision` and `working` are not reported as events: what the person is asked\nis the reply's `decision`, and what is working is its `working`. A message carries its first lines and\nits length; a probe event is the host's view of it (see `ServerOptions.probeEvent`)."
|
|
7472
7471
|
},
|
|
7473
7472
|
{
|
|
7474
7473
|
"kind": "function",
|
|
7475
|
-
"name": "
|
|
7474
|
+
"name": "leanDecisionText",
|
|
7476
7475
|
"return": {
|
|
7477
7476
|
"type": {
|
|
7478
|
-
"text": "
|
|
7477
|
+
"text": "string"
|
|
7479
7478
|
}
|
|
7480
7479
|
},
|
|
7481
7480
|
"parameters": [
|
|
7482
7481
|
{
|
|
7483
|
-
"name": "
|
|
7482
|
+
"name": "text",
|
|
7484
7483
|
"type": {
|
|
7485
|
-
"text": "
|
|
7484
|
+
"text": "string"
|
|
7485
|
+
}
|
|
7486
|
+
},
|
|
7487
|
+
{
|
|
7488
|
+
"name": "views",
|
|
7489
|
+
"optional": true,
|
|
7490
|
+
"type": {
|
|
7491
|
+
"text": "Readonly<Record<string, string>>"
|
|
7486
7492
|
}
|
|
7487
7493
|
}
|
|
7488
7494
|
],
|
|
7489
|
-
"description": "
|
|
7495
|
+
"description": "A decision's text without its `Now: <the preview view as JSON>` line, and nothing else (`decisionText:\n\"lean\"`). `renderDecision` writes the preview as `Now: ${capRead(JSON.stringify(view))}`: `JSON.stringify`\nwith no indent never breaks a line, so the JSON is the one line, and `capRead` adds a second, `[Cut at …]`,\nonly when it cut it. Both go; in their place is a pointer to `read`. The line is found by position, not\nby prefix alone: it follows the Views list, whose entry for the preview ends `(shown below as Now)`, so a\ncard that itself has a line starting `Now: ` is not mistaken for it.\n\nThe text comes back as it was when there is no preview to find (a card with no preview view, or a short-form\ndecision, which shows no `Now:`), or when `views` does not name the one the Views list marks."
|
|
7490
7496
|
},
|
|
7491
7497
|
{
|
|
7492
7498
|
"kind": "function",
|
|
7493
|
-
"name": "
|
|
7499
|
+
"name": "compactDecision",
|
|
7494
7500
|
"return": {
|
|
7495
7501
|
"type": {
|
|
7496
|
-
"text": "
|
|
7502
|
+
"text": "CompactDecision"
|
|
7497
7503
|
}
|
|
7498
7504
|
},
|
|
7499
7505
|
"parameters": [
|
|
7500
7506
|
{
|
|
7501
|
-
"name": "
|
|
7507
|
+
"name": "description",
|
|
7502
7508
|
"type": {
|
|
7503
|
-
"text": "
|
|
7509
|
+
"text": "InteractionDescription"
|
|
7510
|
+
}
|
|
7511
|
+
},
|
|
7512
|
+
{
|
|
7513
|
+
"name": "decisionText",
|
|
7514
|
+
"default": "'full'",
|
|
7515
|
+
"type": {
|
|
7516
|
+
"text": "DecisionText"
|
|
7504
7517
|
}
|
|
7505
7518
|
}
|
|
7506
7519
|
],
|
|
7507
|
-
"description": "A
|
|
7508
|
-
}
|
|
7509
|
-
],
|
|
7510
|
-
"exports": [
|
|
7511
|
-
{
|
|
7512
|
-
"kind": "js",
|
|
7513
|
-
"name": "DEFAULT_MAX_ROWS",
|
|
7514
|
-
"declaration": {
|
|
7515
|
-
"name": "DEFAULT_MAX_ROWS",
|
|
7516
|
-
"module": "src/genesis/config.ts"
|
|
7517
|
-
}
|
|
7518
|
-
},
|
|
7519
|
-
{
|
|
7520
|
-
"kind": "js",
|
|
7521
|
-
"name": "MAX_ROWS_CEILING",
|
|
7522
|
-
"declaration": {
|
|
7523
|
-
"name": "MAX_ROWS_CEILING",
|
|
7524
|
-
"module": "src/genesis/config.ts"
|
|
7525
|
-
}
|
|
7526
|
-
},
|
|
7527
|
-
{
|
|
7528
|
-
"kind": "js",
|
|
7529
|
-
"name": "toolNameOf",
|
|
7530
|
-
"declaration": {
|
|
7531
|
-
"name": "toolNameOf",
|
|
7532
|
-
"module": "src/genesis/config.ts"
|
|
7533
|
-
}
|
|
7534
|
-
},
|
|
7535
|
-
{
|
|
7536
|
-
"kind": "js",
|
|
7537
|
-
"name": "rowActionProblem",
|
|
7538
|
-
"declaration": {
|
|
7539
|
-
"name": "rowActionProblem",
|
|
7540
|
-
"module": "src/genesis/config.ts"
|
|
7541
|
-
}
|
|
7542
|
-
},
|
|
7543
|
-
{
|
|
7544
|
-
"kind": "js",
|
|
7545
|
-
"name": "validateGenesisAiConfig",
|
|
7546
|
-
"declaration": {
|
|
7547
|
-
"name": "validateGenesisAiConfig",
|
|
7548
|
-
"module": "src/genesis/config.ts"
|
|
7549
|
-
}
|
|
7550
|
-
},
|
|
7551
|
-
{
|
|
7552
|
-
"kind": "js",
|
|
7553
|
-
"name": "customCodeOf",
|
|
7554
|
-
"declaration": {
|
|
7555
|
-
"name": "customCodeOf",
|
|
7556
|
-
"module": "src/genesis/config.ts"
|
|
7557
|
-
}
|
|
7558
|
-
}
|
|
7559
|
-
]
|
|
7560
|
-
},
|
|
7561
|
-
{
|
|
7562
|
-
"kind": "javascript-module",
|
|
7563
|
-
"path": "src/genesis/consumes.ts",
|
|
7564
|
-
"declarations": [
|
|
7565
|
-
{
|
|
7566
|
-
"kind": "variable",
|
|
7567
|
-
"name": "GENESIS_AI_CONSUMES",
|
|
7568
|
-
"type": {
|
|
7569
|
-
"text": "GenesisAiConsumes"
|
|
7570
|
-
},
|
|
7571
|
-
"description": "What this version of the assistant reads from a generated AI config: the resource kinds it\naccepts, the resource fields its validator or a tool reads, the `vendor` and `tier` values it\naccepts, and the row-action shapes it runs."
|
|
7572
|
-
}
|
|
7573
|
-
],
|
|
7574
|
-
"exports": [
|
|
7575
|
-
{
|
|
7576
|
-
"kind": "js",
|
|
7577
|
-
"name": "GenesisAiConsumes",
|
|
7578
|
-
"declaration": {
|
|
7579
|
-
"name": "GenesisAiConsumes",
|
|
7580
|
-
"module": "./types"
|
|
7581
|
-
}
|
|
7520
|
+
"description": "A decision as the reply carries it: what to read and what to choose from, and nothing empty. With\n`decisionText: \"lean\"` its `text` leaves out the preview view's JSON (leanDecisionText); nothing\nelse about it changes."
|
|
7582
7521
|
},
|
|
7583
|
-
{
|
|
7584
|
-
"kind": "js",
|
|
7585
|
-
"name": "GENESIS_AI_CONSUMES",
|
|
7586
|
-
"declaration": {
|
|
7587
|
-
"name": "GENESIS_AI_CONSUMES",
|
|
7588
|
-
"module": "src/genesis/consumes.ts"
|
|
7589
|
-
}
|
|
7590
|
-
}
|
|
7591
|
-
]
|
|
7592
|
-
},
|
|
7593
|
-
{
|
|
7594
|
-
"kind": "javascript-module",
|
|
7595
|
-
"path": "src/genesis/criteria.ts",
|
|
7596
|
-
"declarations": [
|
|
7597
7522
|
{
|
|
7598
7523
|
"kind": "function",
|
|
7599
|
-
"name": "
|
|
7524
|
+
"name": "shortDecision",
|
|
7600
7525
|
"return": {
|
|
7601
7526
|
"type": {
|
|
7602
|
-
"text": "
|
|
7527
|
+
"text": "CompactDecision"
|
|
7603
7528
|
}
|
|
7604
7529
|
},
|
|
7605
7530
|
"parameters": [
|
|
7606
7531
|
{
|
|
7607
|
-
"name": "
|
|
7532
|
+
"name": "interactionId",
|
|
7608
7533
|
"type": {
|
|
7609
7534
|
"text": "string"
|
|
7610
7535
|
}
|
|
7611
7536
|
},
|
|
7612
7537
|
{
|
|
7613
|
-
"name": "
|
|
7538
|
+
"name": "component",
|
|
7614
7539
|
"type": {
|
|
7615
|
-
"text": "
|
|
7540
|
+
"text": "string"
|
|
7616
7541
|
}
|
|
7617
7542
|
},
|
|
7618
7543
|
{
|
|
7619
|
-
"name": "
|
|
7544
|
+
"name": "actions",
|
|
7620
7545
|
"type": {
|
|
7621
|
-
"text": "string"
|
|
7546
|
+
"text": "ReadonlyArray<{ n?: number; name: string; enabled: boolean }>"
|
|
7622
7547
|
}
|
|
7623
7548
|
}
|
|
7624
|
-
]
|
|
7549
|
+
],
|
|
7550
|
+
"description": "A decision cut to what a caller who has already read the card needs: which interaction, and the actions as\n`n`, `name`, `enabled`. For the reply to an edit, and to a refused action, where the card has not changed\nenough to be worth sending again."
|
|
7625
7551
|
},
|
|
7626
7552
|
{
|
|
7627
7553
|
"kind": "function",
|
|
7628
|
-
"name": "
|
|
7554
|
+
"name": "capOutput",
|
|
7629
7555
|
"return": {
|
|
7630
7556
|
"type": {
|
|
7631
|
-
"text": "
|
|
7557
|
+
"text": "unknown"
|
|
7632
7558
|
}
|
|
7633
7559
|
},
|
|
7634
7560
|
"parameters": [
|
|
7635
7561
|
{
|
|
7636
|
-
"name": "
|
|
7637
|
-
"type": {
|
|
7638
|
-
"text": "string"
|
|
7639
|
-
}
|
|
7640
|
-
},
|
|
7641
|
-
{
|
|
7642
|
-
"name": "op",
|
|
7643
|
-
"type": {
|
|
7644
|
-
"text": "GenesisFilterOp"
|
|
7645
|
-
}
|
|
7646
|
-
},
|
|
7647
|
-
{
|
|
7648
|
-
"name": "bound",
|
|
7562
|
+
"name": "output",
|
|
7649
7563
|
"type": {
|
|
7650
|
-
"text": "
|
|
7564
|
+
"text": "unknown"
|
|
7651
7565
|
}
|
|
7652
7566
|
}
|
|
7653
7567
|
],
|
|
7654
|
-
"description": "
|
|
7568
|
+
"description": "What an editing action returned, as the reply carries it: whole when small, else its first characters."
|
|
7655
7569
|
}
|
|
7656
7570
|
],
|
|
7657
7571
|
"exports": [
|
|
7658
7572
|
{
|
|
7659
7573
|
"kind": "js",
|
|
7660
|
-
"name": "
|
|
7574
|
+
"name": "firstLines",
|
|
7661
7575
|
"declaration": {
|
|
7662
|
-
"name": "
|
|
7663
|
-
"module": "src/
|
|
7576
|
+
"name": "firstLines",
|
|
7577
|
+
"module": "src/headless-server/compact.ts"
|
|
7664
7578
|
}
|
|
7665
7579
|
},
|
|
7666
7580
|
{
|
|
7667
7581
|
"kind": "js",
|
|
7668
|
-
"name": "
|
|
7582
|
+
"name": "present",
|
|
7669
7583
|
"declaration": {
|
|
7670
|
-
"name": "
|
|
7671
|
-
"module": "src/
|
|
7584
|
+
"name": "present",
|
|
7585
|
+
"module": "src/headless-server/compact.ts"
|
|
7672
7586
|
}
|
|
7673
|
-
}
|
|
7674
|
-
]
|
|
7675
|
-
},
|
|
7676
|
-
{
|
|
7677
|
-
"kind": "javascript-module",
|
|
7678
|
-
"path": "src/genesis/event-fields.ts",
|
|
7679
|
-
"declarations": [],
|
|
7680
|
-
"exports": []
|
|
7681
|
-
},
|
|
7682
|
-
{
|
|
7683
|
-
"kind": "javascript-module",
|
|
7684
|
-
"path": "src/genesis/filter-fields.ts",
|
|
7685
|
-
"declarations": [],
|
|
7686
|
-
"exports": []
|
|
7687
|
-
},
|
|
7688
|
-
{
|
|
7689
|
-
"kind": "javascript-module",
|
|
7690
|
-
"path": "src/genesis/index.ts",
|
|
7691
|
-
"declarations": [],
|
|
7692
|
-
"exports": [
|
|
7587
|
+
},
|
|
7693
7588
|
{
|
|
7694
7589
|
"kind": "js",
|
|
7695
|
-
"name": "
|
|
7590
|
+
"name": "compactEvent",
|
|
7696
7591
|
"declaration": {
|
|
7697
|
-
"name": "
|
|
7698
|
-
"module": "
|
|
7592
|
+
"name": "compactEvent",
|
|
7593
|
+
"module": "src/headless-server/compact.ts"
|
|
7699
7594
|
}
|
|
7700
7595
|
},
|
|
7701
7596
|
{
|
|
7702
7597
|
"kind": "js",
|
|
7703
|
-
"name": "
|
|
7598
|
+
"name": "leanDecisionText",
|
|
7704
7599
|
"declaration": {
|
|
7705
|
-
"name": "
|
|
7706
|
-
"module": "
|
|
7600
|
+
"name": "leanDecisionText",
|
|
7601
|
+
"module": "src/headless-server/compact.ts"
|
|
7707
7602
|
}
|
|
7708
7603
|
},
|
|
7709
7604
|
{
|
|
7710
7605
|
"kind": "js",
|
|
7711
|
-
"name": "
|
|
7606
|
+
"name": "compactDecision",
|
|
7712
7607
|
"declaration": {
|
|
7713
|
-
"name": "
|
|
7714
|
-
"module": "
|
|
7608
|
+
"name": "compactDecision",
|
|
7609
|
+
"module": "src/headless-server/compact.ts"
|
|
7715
7610
|
}
|
|
7716
7611
|
},
|
|
7717
7612
|
{
|
|
7718
7613
|
"kind": "js",
|
|
7719
|
-
"name": "
|
|
7614
|
+
"name": "shortDecision",
|
|
7720
7615
|
"declaration": {
|
|
7721
|
-
"name": "
|
|
7722
|
-
"module": "
|
|
7616
|
+
"name": "shortDecision",
|
|
7617
|
+
"module": "src/headless-server/compact.ts"
|
|
7723
7618
|
}
|
|
7724
7619
|
},
|
|
7725
7620
|
{
|
|
7726
7621
|
"kind": "js",
|
|
7727
|
-
"name": "
|
|
7622
|
+
"name": "capOutput",
|
|
7728
7623
|
"declaration": {
|
|
7729
|
-
"name": "
|
|
7730
|
-
"module": "
|
|
7624
|
+
"name": "capOutput",
|
|
7625
|
+
"module": "src/headless-server/compact.ts"
|
|
7731
7626
|
}
|
|
7732
|
-
}
|
|
7627
|
+
}
|
|
7628
|
+
]
|
|
7629
|
+
},
|
|
7630
|
+
{
|
|
7631
|
+
"kind": "javascript-module",
|
|
7632
|
+
"path": "src/headless-server/index.ts",
|
|
7633
|
+
"declarations": [],
|
|
7634
|
+
"exports": [
|
|
7733
7635
|
{
|
|
7734
7636
|
"kind": "js",
|
|
7735
|
-
"name": "
|
|
7637
|
+
"name": "capOutput",
|
|
7736
7638
|
"declaration": {
|
|
7737
|
-
"name": "
|
|
7738
|
-
"module": "./
|
|
7639
|
+
"name": "capOutput",
|
|
7640
|
+
"module": "./compact"
|
|
7739
7641
|
}
|
|
7740
7642
|
},
|
|
7741
7643
|
{
|
|
7742
7644
|
"kind": "js",
|
|
7743
|
-
"name": "
|
|
7645
|
+
"name": "compactDecision",
|
|
7744
7646
|
"declaration": {
|
|
7745
|
-
"name": "
|
|
7746
|
-
"module": "./
|
|
7647
|
+
"name": "compactDecision",
|
|
7648
|
+
"module": "./compact"
|
|
7747
7649
|
}
|
|
7748
7650
|
},
|
|
7749
7651
|
{
|
|
7750
7652
|
"kind": "js",
|
|
7751
|
-
"name": "
|
|
7653
|
+
"name": "compactEvent",
|
|
7752
7654
|
"declaration": {
|
|
7753
|
-
"name": "
|
|
7754
|
-
"module": "./
|
|
7655
|
+
"name": "compactEvent",
|
|
7656
|
+
"module": "./compact"
|
|
7755
7657
|
}
|
|
7756
7658
|
},
|
|
7757
7659
|
{
|
|
7758
7660
|
"kind": "js",
|
|
7759
|
-
"name": "
|
|
7661
|
+
"name": "firstLines",
|
|
7760
7662
|
"declaration": {
|
|
7761
|
-
"name": "
|
|
7762
|
-
"module": "./
|
|
7663
|
+
"name": "firstLines",
|
|
7664
|
+
"module": "./compact"
|
|
7763
7665
|
}
|
|
7764
7666
|
},
|
|
7765
7667
|
{
|
|
7766
7668
|
"kind": "js",
|
|
7767
|
-
"name": "
|
|
7669
|
+
"name": "leanDecisionText",
|
|
7768
7670
|
"declaration": {
|
|
7769
|
-
"name": "
|
|
7770
|
-
"module": "./
|
|
7671
|
+
"name": "leanDecisionText",
|
|
7672
|
+
"module": "./compact"
|
|
7771
7673
|
}
|
|
7772
7674
|
},
|
|
7773
7675
|
{
|
|
7774
7676
|
"kind": "js",
|
|
7775
|
-
"name": "
|
|
7677
|
+
"name": "shortDecision",
|
|
7776
7678
|
"declaration": {
|
|
7777
|
-
"name": "
|
|
7778
|
-
"module": "./
|
|
7679
|
+
"name": "shortDecision",
|
|
7680
|
+
"module": "./compact"
|
|
7779
7681
|
}
|
|
7780
7682
|
},
|
|
7781
7683
|
{
|
|
7782
7684
|
"kind": "js",
|
|
7783
|
-
"name": "
|
|
7685
|
+
"name": "createHeadlessServer",
|
|
7784
7686
|
"declaration": {
|
|
7785
|
-
"name": "
|
|
7786
|
-
"module": "./
|
|
7687
|
+
"name": "createHeadlessServer",
|
|
7688
|
+
"module": "./server"
|
|
7787
7689
|
}
|
|
7788
7690
|
},
|
|
7789
7691
|
{
|
|
7790
7692
|
"kind": "js",
|
|
7791
|
-
"name": "
|
|
7693
|
+
"name": "DECISION_TEXTS",
|
|
7792
7694
|
"declaration": {
|
|
7793
|
-
"name": "
|
|
7794
|
-
"module": "./
|
|
7695
|
+
"name": "DECISION_TEXTS",
|
|
7696
|
+
"module": "./types"
|
|
7795
7697
|
}
|
|
7796
7698
|
},
|
|
7797
7699
|
{
|
|
7798
7700
|
"kind": "js",
|
|
7799
|
-
"name": "
|
|
7701
|
+
"name": "DEFAULT_DECISION_TEXT",
|
|
7800
7702
|
"declaration": {
|
|
7801
|
-
"name": "
|
|
7802
|
-
"module": "./
|
|
7703
|
+
"name": "DEFAULT_DECISION_TEXT",
|
|
7704
|
+
"module": "./types"
|
|
7803
7705
|
}
|
|
7804
7706
|
},
|
|
7805
7707
|
{
|
|
7806
7708
|
"kind": "js",
|
|
7807
|
-
"name": "
|
|
7709
|
+
"name": "Command",
|
|
7808
7710
|
"declaration": {
|
|
7809
|
-
"name": "
|
|
7810
|
-
"module": "./
|
|
7711
|
+
"name": "Command",
|
|
7712
|
+
"module": "./types"
|
|
7811
7713
|
}
|
|
7812
7714
|
},
|
|
7813
7715
|
{
|
|
7814
7716
|
"kind": "js",
|
|
7815
|
-
"name": "
|
|
7816
|
-
"declaration": {
|
|
7817
|
-
"name": "GenesisWriteResult",
|
|
7818
|
-
"module": "./write-tools"
|
|
7819
|
-
}
|
|
7820
|
-
},
|
|
7821
|
-
{
|
|
7822
|
-
"kind": "js",
|
|
7823
|
-
"name": "GenesisWriteRowStatus",
|
|
7824
|
-
"declaration": {
|
|
7825
|
-
"name": "GenesisWriteRowStatus",
|
|
7826
|
-
"module": "./write-tools"
|
|
7827
|
-
}
|
|
7828
|
-
},
|
|
7829
|
-
{
|
|
7830
|
-
"kind": "js",
|
|
7831
|
-
"name": "GenesisWriteToolsOptions",
|
|
7832
|
-
"declaration": {
|
|
7833
|
-
"name": "GenesisWriteToolsOptions",
|
|
7834
|
-
"module": "./write-tools"
|
|
7835
|
-
}
|
|
7836
|
-
},
|
|
7837
|
-
{
|
|
7838
|
-
"kind": "js",
|
|
7839
|
-
"name": "GENESIS_WRITE_REVIEW",
|
|
7840
|
-
"declaration": {
|
|
7841
|
-
"name": "GENESIS_WRITE_REVIEW",
|
|
7842
|
-
"module": "./write-review/write-review"
|
|
7843
|
-
}
|
|
7844
|
-
},
|
|
7845
|
-
{
|
|
7846
|
-
"kind": "js",
|
|
7847
|
-
"name": "GenesisWriteReview",
|
|
7848
|
-
"declaration": {
|
|
7849
|
-
"name": "GenesisWriteReview",
|
|
7850
|
-
"module": "./write-review/write-review"
|
|
7851
|
-
}
|
|
7852
|
-
},
|
|
7853
|
-
{
|
|
7854
|
-
"kind": "js",
|
|
7855
|
-
"name": "GenesisChangeRequest",
|
|
7856
|
-
"declaration": {
|
|
7857
|
-
"name": "GenesisChangeRequest",
|
|
7858
|
-
"module": "./review-payload"
|
|
7859
|
-
}
|
|
7860
|
-
},
|
|
7861
|
-
{
|
|
7862
|
-
"kind": "js",
|
|
7863
|
-
"name": "GenesisReviewPayload",
|
|
7864
|
-
"declaration": {
|
|
7865
|
-
"name": "GenesisReviewPayload",
|
|
7866
|
-
"module": "./review-payload"
|
|
7867
|
-
}
|
|
7868
|
-
},
|
|
7869
|
-
{
|
|
7870
|
-
"kind": "js",
|
|
7871
|
-
"name": "GenesisWriteReviewCompletedEventDetail",
|
|
7872
|
-
"declaration": {
|
|
7873
|
-
"name": "GenesisWriteReviewCompletedEventDetail",
|
|
7874
|
-
"module": "./review-payload"
|
|
7875
|
-
}
|
|
7876
|
-
},
|
|
7877
|
-
{
|
|
7878
|
-
"kind": "js",
|
|
7879
|
-
"name": "GenesisReadResult",
|
|
7880
|
-
"declaration": {
|
|
7881
|
-
"name": "GenesisReadResult",
|
|
7882
|
-
"module": "./resource-tools"
|
|
7883
|
-
}
|
|
7884
|
-
},
|
|
7885
|
-
{
|
|
7886
|
-
"kind": "js",
|
|
7887
|
-
"name": "GenesisResourceTools",
|
|
7888
|
-
"declaration": {
|
|
7889
|
-
"name": "GenesisResourceTools",
|
|
7890
|
-
"module": "./resource-tools"
|
|
7891
|
-
}
|
|
7892
|
-
},
|
|
7893
|
-
{
|
|
7894
|
-
"kind": "js",
|
|
7895
|
-
"name": "GenesisResourceToolsOptions",
|
|
7717
|
+
"name": "CompactAction",
|
|
7896
7718
|
"declaration": {
|
|
7897
|
-
"name": "
|
|
7898
|
-
"module": "./
|
|
7719
|
+
"name": "CompactAction",
|
|
7720
|
+
"module": "./types"
|
|
7899
7721
|
}
|
|
7900
7722
|
},
|
|
7901
7723
|
{
|
|
7902
7724
|
"kind": "js",
|
|
7903
|
-
"name": "
|
|
7725
|
+
"name": "CompactDecision",
|
|
7904
7726
|
"declaration": {
|
|
7905
|
-
"name": "
|
|
7906
|
-
"module": "./
|
|
7727
|
+
"name": "CompactDecision",
|
|
7728
|
+
"module": "./types"
|
|
7907
7729
|
}
|
|
7908
7730
|
},
|
|
7909
7731
|
{
|
|
7910
7732
|
"kind": "js",
|
|
7911
|
-
"name": "
|
|
7733
|
+
"name": "CompactEvent",
|
|
7912
7734
|
"declaration": {
|
|
7913
|
-
"name": "
|
|
7735
|
+
"name": "CompactEvent",
|
|
7914
7736
|
"module": "./types"
|
|
7915
7737
|
}
|
|
7916
7738
|
},
|
|
7917
7739
|
{
|
|
7918
7740
|
"kind": "js",
|
|
7919
|
-
"name": "
|
|
7741
|
+
"name": "Composer",
|
|
7920
7742
|
"declaration": {
|
|
7921
|
-
"name": "
|
|
7743
|
+
"name": "Composer",
|
|
7922
7744
|
"module": "./types"
|
|
7923
7745
|
}
|
|
7924
7746
|
},
|
|
7925
7747
|
{
|
|
7926
7748
|
"kind": "js",
|
|
7927
|
-
"name": "
|
|
7749
|
+
"name": "DecisionText",
|
|
7928
7750
|
"declaration": {
|
|
7929
|
-
"name": "
|
|
7751
|
+
"name": "DecisionText",
|
|
7930
7752
|
"module": "./types"
|
|
7931
7753
|
}
|
|
7932
7754
|
},
|
|
7933
7755
|
{
|
|
7934
7756
|
"kind": "js",
|
|
7935
|
-
"name": "
|
|
7757
|
+
"name": "ExtraOp",
|
|
7936
7758
|
"declaration": {
|
|
7937
|
-
"name": "
|
|
7759
|
+
"name": "ExtraOp",
|
|
7938
7760
|
"module": "./types"
|
|
7939
7761
|
}
|
|
7940
7762
|
},
|
|
7941
7763
|
{
|
|
7942
7764
|
"kind": "js",
|
|
7943
|
-
"name": "
|
|
7765
|
+
"name": "ExtraOpResult",
|
|
7944
7766
|
"declaration": {
|
|
7945
|
-
"name": "
|
|
7767
|
+
"name": "ExtraOpResult",
|
|
7946
7768
|
"module": "./types"
|
|
7947
7769
|
}
|
|
7948
7770
|
},
|
|
7949
7771
|
{
|
|
7950
7772
|
"kind": "js",
|
|
7951
|
-
"name": "
|
|
7773
|
+
"name": "HeadlessServer",
|
|
7952
7774
|
"declaration": {
|
|
7953
|
-
"name": "
|
|
7775
|
+
"name": "HeadlessServer",
|
|
7954
7776
|
"module": "./types"
|
|
7955
7777
|
}
|
|
7956
7778
|
},
|
|
7957
7779
|
{
|
|
7958
7780
|
"kind": "js",
|
|
7959
|
-
"name": "
|
|
7781
|
+
"name": "HeadlessServerHandle",
|
|
7960
7782
|
"declaration": {
|
|
7961
|
-
"name": "
|
|
7783
|
+
"name": "HeadlessServerHandle",
|
|
7962
7784
|
"module": "./types"
|
|
7963
7785
|
}
|
|
7964
7786
|
},
|
|
7965
7787
|
{
|
|
7966
7788
|
"kind": "js",
|
|
7967
|
-
"name": "
|
|
7789
|
+
"name": "Reply",
|
|
7968
7790
|
"declaration": {
|
|
7969
|
-
"name": "
|
|
7791
|
+
"name": "Reply",
|
|
7970
7792
|
"module": "./types"
|
|
7971
7793
|
}
|
|
7972
7794
|
},
|
|
7973
7795
|
{
|
|
7974
7796
|
"kind": "js",
|
|
7975
|
-
"name": "
|
|
7797
|
+
"name": "ServerOptions",
|
|
7976
7798
|
"declaration": {
|
|
7977
|
-
"name": "
|
|
7799
|
+
"name": "ServerOptions",
|
|
7978
7800
|
"module": "./types"
|
|
7979
7801
|
}
|
|
7980
7802
|
},
|
|
7981
7803
|
{
|
|
7982
7804
|
"kind": "js",
|
|
7983
|
-
"name": "
|
|
7805
|
+
"name": "Status",
|
|
7984
7806
|
"declaration": {
|
|
7985
|
-
"name": "
|
|
7807
|
+
"name": "Status",
|
|
7986
7808
|
"module": "./types"
|
|
7987
7809
|
}
|
|
7988
7810
|
},
|
|
7989
7811
|
{
|
|
7990
7812
|
"kind": "js",
|
|
7991
|
-
"name": "
|
|
7813
|
+
"name": "WorkingInfo",
|
|
7992
7814
|
"declaration": {
|
|
7993
|
-
"name": "
|
|
7815
|
+
"name": "WorkingInfo",
|
|
7994
7816
|
"module": "./types"
|
|
7995
7817
|
}
|
|
7996
|
-
}
|
|
7818
|
+
}
|
|
7819
|
+
]
|
|
7820
|
+
},
|
|
7821
|
+
{
|
|
7822
|
+
"kind": "javascript-module",
|
|
7823
|
+
"path": "src/headless-server/server.ts",
|
|
7824
|
+
"declarations": [
|
|
7825
|
+
{
|
|
7826
|
+
"kind": "function",
|
|
7827
|
+
"name": "createHeadlessServer",
|
|
7828
|
+
"return": {
|
|
7829
|
+
"type": {
|
|
7830
|
+
"text": "HeadlessServer"
|
|
7831
|
+
}
|
|
7832
|
+
},
|
|
7833
|
+
"parameters": [
|
|
7834
|
+
{
|
|
7835
|
+
"name": "options",
|
|
7836
|
+
"type": {
|
|
7837
|
+
"text": "ServerOptions"
|
|
7838
|
+
}
|
|
7839
|
+
}
|
|
7840
|
+
],
|
|
7841
|
+
"description": "The headless server (PLAN §5, D7): `node:http` on 127.0.0.1, `GET /health` and `POST /cmd`.\n\nEvery command is APPLIED and then LONG-POLLS (§5.5): the reply comes when the journey next needs the\nperson (an interaction is held by them and ready), a turn ends, the run ends, or something fails, or at\n`maxWaitMs` with `status: \"working\"`. Nothing is lost on a client timeout: the command was applied before\nthe wait, events carry `seq`, and `{op: \"wait\", since}` returns everything after it.\n\nThe session is the only thing it drives; what the host owns is reached through ServerOptions."
|
|
7842
|
+
}
|
|
7843
|
+
],
|
|
7844
|
+
"exports": [
|
|
7997
7845
|
{
|
|
7998
7846
|
"kind": "js",
|
|
7999
|
-
"name": "
|
|
7847
|
+
"name": "createHeadlessServer",
|
|
8000
7848
|
"declaration": {
|
|
8001
|
-
"name": "
|
|
8002
|
-
"module": "
|
|
7849
|
+
"name": "createHeadlessServer",
|
|
7850
|
+
"module": "src/headless-server/server.ts"
|
|
8003
7851
|
}
|
|
7852
|
+
}
|
|
7853
|
+
]
|
|
7854
|
+
},
|
|
7855
|
+
{
|
|
7856
|
+
"kind": "javascript-module",
|
|
7857
|
+
"path": "src/headless-server/types.ts",
|
|
7858
|
+
"declarations": [
|
|
7859
|
+
{
|
|
7860
|
+
"kind": "variable",
|
|
7861
|
+
"name": "DECISION_TEXTS",
|
|
7862
|
+
"type": {
|
|
7863
|
+
"text": "readonly DecisionText[]"
|
|
7864
|
+
},
|
|
7865
|
+
"default": "['full', 'lean']"
|
|
8004
7866
|
},
|
|
7867
|
+
{
|
|
7868
|
+
"kind": "variable",
|
|
7869
|
+
"name": "DEFAULT_DECISION_TEXT",
|
|
7870
|
+
"type": {
|
|
7871
|
+
"text": "DecisionText"
|
|
7872
|
+
},
|
|
7873
|
+
"default": "'lean'",
|
|
7874
|
+
"description": "What the server uses when neither it nor the command says. Its readers are models that can `read` a view."
|
|
7875
|
+
}
|
|
7876
|
+
],
|
|
7877
|
+
"exports": [
|
|
8005
7878
|
{
|
|
8006
7879
|
"kind": "js",
|
|
8007
|
-
"name": "
|
|
7880
|
+
"name": "DECISION_TEXTS",
|
|
8008
7881
|
"declaration": {
|
|
8009
|
-
"name": "
|
|
8010
|
-
"module": "
|
|
7882
|
+
"name": "DECISION_TEXTS",
|
|
7883
|
+
"module": "src/headless-server/types.ts"
|
|
8011
7884
|
}
|
|
8012
7885
|
},
|
|
8013
7886
|
{
|
|
8014
7887
|
"kind": "js",
|
|
8015
|
-
"name": "
|
|
7888
|
+
"name": "DEFAULT_DECISION_TEXT",
|
|
8016
7889
|
"declaration": {
|
|
8017
|
-
"name": "
|
|
8018
|
-
"module": "
|
|
7890
|
+
"name": "DEFAULT_DECISION_TEXT",
|
|
7891
|
+
"module": "src/headless-server/types.ts"
|
|
8019
7892
|
}
|
|
8020
7893
|
}
|
|
8021
7894
|
]
|
|
8022
7895
|
},
|
|
8023
7896
|
{
|
|
8024
7897
|
"kind": "javascript-module",
|
|
8025
|
-
"path": "src/genesis/
|
|
7898
|
+
"path": "src/genesis/calendar.ts",
|
|
7899
|
+
"declarations": [],
|
|
7900
|
+
"exports": []
|
|
7901
|
+
},
|
|
7902
|
+
{
|
|
7903
|
+
"kind": "javascript-module",
|
|
7904
|
+
"path": "src/genesis/config.ts",
|
|
8026
7905
|
"declarations": [
|
|
7906
|
+
{
|
|
7907
|
+
"kind": "variable",
|
|
7908
|
+
"name": "DEFAULT_MAX_ROWS",
|
|
7909
|
+
"type": {
|
|
7910
|
+
"text": "number"
|
|
7911
|
+
},
|
|
7912
|
+
"default": "50",
|
|
7913
|
+
"description": "The default read cap, and the ceiling the config may raise it to."
|
|
7914
|
+
},
|
|
7915
|
+
{
|
|
7916
|
+
"kind": "variable",
|
|
7917
|
+
"name": "MAX_ROWS_CEILING",
|
|
7918
|
+
"type": {
|
|
7919
|
+
"text": "number"
|
|
7920
|
+
},
|
|
7921
|
+
"default": "1000"
|
|
7922
|
+
},
|
|
8027
7923
|
{
|
|
8028
7924
|
"kind": "function",
|
|
8029
|
-
"name": "
|
|
7925
|
+
"name": "toolNameOf",
|
|
8030
7926
|
"return": {
|
|
8031
7927
|
"type": {
|
|
8032
7928
|
"text": "string"
|
|
@@ -8034,274 +7930,430 @@
|
|
|
8034
7930
|
},
|
|
8035
7931
|
"parameters": [
|
|
8036
7932
|
{
|
|
8037
|
-
"name": "
|
|
7933
|
+
"name": "resourceName",
|
|
8038
7934
|
"type": {
|
|
8039
7935
|
"text": "string"
|
|
8040
7936
|
}
|
|
8041
7937
|
}
|
|
8042
7938
|
],
|
|
8043
|
-
"description": "The
|
|
7939
|
+
"description": "The model-facing tool name for a resource. Deterministic and collision-free (resource names\nare unique), and trivially mapped back to the resource in a debug log. What the tool is FOR\nreaches the model through its description, not its name."
|
|
8044
7940
|
},
|
|
8045
7941
|
{
|
|
8046
7942
|
"kind": "function",
|
|
8047
|
-
"name": "
|
|
7943
|
+
"name": "rowActionProblem",
|
|
8048
7944
|
"return": {
|
|
8049
7945
|
"type": {
|
|
8050
|
-
"text": "string"
|
|
7946
|
+
"text": "string | undefined"
|
|
8051
7947
|
}
|
|
8052
7948
|
},
|
|
8053
7949
|
"parameters": [
|
|
8054
7950
|
{
|
|
8055
|
-
"name": "
|
|
7951
|
+
"name": "resource",
|
|
8056
7952
|
"type": {
|
|
8057
|
-
"text": "
|
|
7953
|
+
"text": "Partial<GenesisAiResource> | null"
|
|
8058
7954
|
}
|
|
8059
7955
|
},
|
|
8060
7956
|
{
|
|
8061
|
-
"name": "
|
|
7957
|
+
"name": "requestNames",
|
|
8062
7958
|
"type": {
|
|
8063
|
-
"text": "
|
|
8064
|
-
}
|
|
8065
|
-
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
|
|
7959
|
+
"text": "ReadonlySet<string>"
|
|
7960
|
+
},
|
|
7961
|
+
"description": "The request resources whose rows can be read. A row action reads its rows\nthrough `REQ_<entity>`, and without one there is no row to review."
|
|
7962
|
+
},
|
|
7963
|
+
{
|
|
7964
|
+
"name": "whyNotReadable",
|
|
7965
|
+
"default": "notReadableReason({})",
|
|
7966
|
+
"type": {
|
|
7967
|
+
"text": "(name: string) => string"
|
|
7968
|
+
},
|
|
7969
|
+
"description": "Why a request is not among `requestNames`, when the caller knows: it was\nleft out, has no read tool, or is a query. Without it, the request is said to be missing."
|
|
7970
|
+
}
|
|
7971
|
+
],
|
|
7972
|
+
"description": "What is wrong with a resource's row-action fields (contracts C-18.7.2), if anything."
|
|
7973
|
+
},
|
|
7974
|
+
{
|
|
7975
|
+
"kind": "function",
|
|
7976
|
+
"name": "validateGenesisAiConfig",
|
|
8072
7977
|
"return": {
|
|
8073
7978
|
"type": {
|
|
8074
|
-
"text": "
|
|
7979
|
+
"text": "GenesisAiConfigCheck"
|
|
8075
7980
|
}
|
|
8076
7981
|
},
|
|
8077
7982
|
"parameters": [
|
|
8078
7983
|
{
|
|
8079
|
-
"name": "
|
|
7984
|
+
"name": "config",
|
|
8080
7985
|
"type": {
|
|
8081
|
-
"text": "
|
|
7986
|
+
"text": "unknown"
|
|
8082
7987
|
}
|
|
8083
|
-
}
|
|
7988
|
+
}
|
|
7989
|
+
],
|
|
7990
|
+
"description": "Checks a generated AI config before anything is registered, and says what can be kept."
|
|
7991
|
+
},
|
|
7992
|
+
{
|
|
7993
|
+
"kind": "function",
|
|
7994
|
+
"name": "customCodeOf",
|
|
7995
|
+
"return": {
|
|
7996
|
+
"type": {
|
|
7997
|
+
"text": "GenesisCustomCodeCheck"
|
|
7998
|
+
}
|
|
7999
|
+
},
|
|
8000
|
+
"parameters": [
|
|
8084
8001
|
{
|
|
8085
|
-
"name": "
|
|
8002
|
+
"name": "resource",
|
|
8086
8003
|
"type": {
|
|
8087
|
-
"text": "
|
|
8004
|
+
"text": "GenesisAiResource"
|
|
8088
8005
|
}
|
|
8089
8006
|
}
|
|
8090
8007
|
],
|
|
8091
|
-
"description": "
|
|
8008
|
+
"description": "A resource's `customCode` as it is used: the one reader of the field."
|
|
8092
8009
|
}
|
|
8093
8010
|
],
|
|
8094
8011
|
"exports": [
|
|
8095
8012
|
{
|
|
8096
8013
|
"kind": "js",
|
|
8097
|
-
"name": "
|
|
8014
|
+
"name": "DEFAULT_MAX_ROWS",
|
|
8098
8015
|
"declaration": {
|
|
8099
|
-
"name": "
|
|
8100
|
-
"module": "src/genesis/
|
|
8016
|
+
"name": "DEFAULT_MAX_ROWS",
|
|
8017
|
+
"module": "src/genesis/config.ts"
|
|
8101
8018
|
}
|
|
8102
8019
|
},
|
|
8103
8020
|
{
|
|
8104
8021
|
"kind": "js",
|
|
8105
|
-
"name": "
|
|
8022
|
+
"name": "MAX_ROWS_CEILING",
|
|
8106
8023
|
"declaration": {
|
|
8107
|
-
"name": "
|
|
8108
|
-
"module": "src/genesis/
|
|
8024
|
+
"name": "MAX_ROWS_CEILING",
|
|
8025
|
+
"module": "src/genesis/config.ts"
|
|
8109
8026
|
}
|
|
8110
8027
|
},
|
|
8111
8028
|
{
|
|
8112
8029
|
"kind": "js",
|
|
8113
|
-
"name": "
|
|
8030
|
+
"name": "toolNameOf",
|
|
8114
8031
|
"declaration": {
|
|
8115
|
-
"name": "
|
|
8116
|
-
"module": "src/genesis/
|
|
8032
|
+
"name": "toolNameOf",
|
|
8033
|
+
"module": "src/genesis/config.ts"
|
|
8117
8034
|
}
|
|
8118
|
-
}
|
|
8119
|
-
]
|
|
8120
|
-
},
|
|
8121
|
-
{
|
|
8122
|
-
"kind": "javascript-module",
|
|
8123
|
-
"path": "src/genesis/reference-existence.ts",
|
|
8124
|
-
"declarations": [
|
|
8125
|
-
{
|
|
8126
|
-
"kind": "variable",
|
|
8127
|
-
"name": "MAX_REFERENCE_CHECKS",
|
|
8128
|
-
"type": {
|
|
8129
|
-
"text": "number"
|
|
8130
|
-
},
|
|
8131
|
-
"default": "50",
|
|
8132
|
-
"description": "The most distinct values one call may check."
|
|
8133
8035
|
},
|
|
8134
8036
|
{
|
|
8135
|
-
"kind": "
|
|
8136
|
-
"name": "
|
|
8137
|
-
"
|
|
8138
|
-
"
|
|
8139
|
-
|
|
8140
|
-
|
|
8141
|
-
|
|
8142
|
-
"parameters": [
|
|
8143
|
-
{
|
|
8144
|
-
"name": "rows",
|
|
8145
|
-
"type": {
|
|
8146
|
-
"text": "readonly T[]"
|
|
8147
|
-
}
|
|
8148
|
-
},
|
|
8149
|
-
{
|
|
8150
|
-
"name": "problems",
|
|
8151
|
-
"type": {
|
|
8152
|
-
"text": "ReadonlyMap<number, string[]>"
|
|
8153
|
-
}
|
|
8154
|
-
}
|
|
8155
|
-
],
|
|
8156
|
-
"description": "The rows with what the check found added to their problems."
|
|
8157
|
-
}
|
|
8158
|
-
],
|
|
8159
|
-
"exports": [
|
|
8037
|
+
"kind": "js",
|
|
8038
|
+
"name": "rowActionProblem",
|
|
8039
|
+
"declaration": {
|
|
8040
|
+
"name": "rowActionProblem",
|
|
8041
|
+
"module": "src/genesis/config.ts"
|
|
8042
|
+
}
|
|
8043
|
+
},
|
|
8160
8044
|
{
|
|
8161
8045
|
"kind": "js",
|
|
8162
|
-
"name": "
|
|
8046
|
+
"name": "validateGenesisAiConfig",
|
|
8163
8047
|
"declaration": {
|
|
8164
|
-
"name": "
|
|
8165
|
-
"module": "src/genesis/
|
|
8048
|
+
"name": "validateGenesisAiConfig",
|
|
8049
|
+
"module": "src/genesis/config.ts"
|
|
8166
8050
|
}
|
|
8167
8051
|
},
|
|
8168
8052
|
{
|
|
8169
8053
|
"kind": "js",
|
|
8170
|
-
"name": "
|
|
8054
|
+
"name": "customCodeOf",
|
|
8171
8055
|
"declaration": {
|
|
8172
|
-
"name": "
|
|
8173
|
-
"module": "src/genesis/
|
|
8056
|
+
"name": "customCodeOf",
|
|
8057
|
+
"module": "src/genesis/config.ts"
|
|
8174
8058
|
}
|
|
8175
8059
|
}
|
|
8176
8060
|
]
|
|
8177
8061
|
},
|
|
8178
8062
|
{
|
|
8179
8063
|
"kind": "javascript-module",
|
|
8180
|
-
"path": "src/genesis/
|
|
8064
|
+
"path": "src/genesis/consumes.ts",
|
|
8181
8065
|
"declarations": [
|
|
8182
8066
|
{
|
|
8183
8067
|
"kind": "variable",
|
|
8184
|
-
"name": "
|
|
8068
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
8185
8069
|
"type": {
|
|
8186
|
-
"text": "
|
|
8187
|
-
},
|
|
8188
|
-
"default": "'genesis-assistant'",
|
|
8189
|
-
"description": "The name of the agent registerGenesisAssistant builds."
|
|
8190
|
-
},
|
|
8191
|
-
{
|
|
8192
|
-
"kind": "function",
|
|
8193
|
-
"name": "registerGenesisAssistant",
|
|
8194
|
-
"return": {
|
|
8195
|
-
"type": {
|
|
8196
|
-
"text": "GenesisAssistantRegistration"
|
|
8197
|
-
}
|
|
8070
|
+
"text": "GenesisAiConsumes"
|
|
8198
8071
|
},
|
|
8199
|
-
"
|
|
8200
|
-
{
|
|
8201
|
-
"name": "options",
|
|
8202
|
-
"type": {
|
|
8203
|
-
"text": "RegisterGenesisAssistantOptions"
|
|
8204
|
-
}
|
|
8205
|
-
}
|
|
8206
|
-
],
|
|
8207
|
-
"description": "Sets up the AI assistant for a Genesis app from its generated AI config: providers by tier,\nand one agent whose tools read the app's resources."
|
|
8072
|
+
"description": "What this version of the assistant reads from a generated AI config: the resource kinds it\naccepts, the resource fields its validator or a tool reads, the `vendor` and `tier` values it\naccepts, and the row-action shapes it runs."
|
|
8208
8073
|
}
|
|
8209
8074
|
],
|
|
8210
8075
|
"exports": [
|
|
8211
8076
|
{
|
|
8212
8077
|
"kind": "js",
|
|
8213
|
-
"name": "
|
|
8078
|
+
"name": "GenesisAiConsumes",
|
|
8214
8079
|
"declaration": {
|
|
8215
|
-
"name": "
|
|
8216
|
-
"module": "
|
|
8080
|
+
"name": "GenesisAiConsumes",
|
|
8081
|
+
"module": "./types"
|
|
8217
8082
|
}
|
|
8218
8083
|
},
|
|
8219
8084
|
{
|
|
8220
8085
|
"kind": "js",
|
|
8221
|
-
"name": "
|
|
8086
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
8222
8087
|
"declaration": {
|
|
8223
|
-
"name": "
|
|
8224
|
-
"module": "src/genesis/
|
|
8088
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
8089
|
+
"module": "src/genesis/consumes.ts"
|
|
8225
8090
|
}
|
|
8226
8091
|
}
|
|
8227
8092
|
]
|
|
8228
8093
|
},
|
|
8229
8094
|
{
|
|
8230
8095
|
"kind": "javascript-module",
|
|
8231
|
-
"path": "src/genesis/
|
|
8096
|
+
"path": "src/genesis/criteria.ts",
|
|
8232
8097
|
"declarations": [
|
|
8233
8098
|
{
|
|
8234
|
-
"kind": "
|
|
8235
|
-
"name": "
|
|
8236
|
-
"
|
|
8237
|
-
"
|
|
8099
|
+
"kind": "function",
|
|
8100
|
+
"name": "dateFragment",
|
|
8101
|
+
"return": {
|
|
8102
|
+
"type": {
|
|
8103
|
+
"text": "string | undefined"
|
|
8104
|
+
}
|
|
8238
8105
|
},
|
|
8239
|
-
"
|
|
8240
|
-
|
|
8106
|
+
"parameters": [
|
|
8107
|
+
{
|
|
8108
|
+
"name": "field",
|
|
8109
|
+
"type": {
|
|
8110
|
+
"text": "string"
|
|
8111
|
+
}
|
|
8112
|
+
},
|
|
8113
|
+
{
|
|
8114
|
+
"name": "op",
|
|
8115
|
+
"type": {
|
|
8116
|
+
"text": "GenesisFilterOp"
|
|
8117
|
+
}
|
|
8118
|
+
},
|
|
8119
|
+
{
|
|
8120
|
+
"name": "date",
|
|
8121
|
+
"type": {
|
|
8122
|
+
"text": "string"
|
|
8123
|
+
}
|
|
8124
|
+
}
|
|
8125
|
+
]
|
|
8241
8126
|
},
|
|
8242
8127
|
{
|
|
8243
8128
|
"kind": "function",
|
|
8244
|
-
"name": "
|
|
8129
|
+
"name": "dateTimeFragment",
|
|
8245
8130
|
"return": {
|
|
8246
8131
|
"type": {
|
|
8247
|
-
"text": "
|
|
8132
|
+
"text": "string | undefined"
|
|
8248
8133
|
}
|
|
8249
8134
|
},
|
|
8250
8135
|
"parameters": [
|
|
8251
8136
|
{
|
|
8252
|
-
"name": "
|
|
8137
|
+
"name": "field",
|
|
8253
8138
|
"type": {
|
|
8254
|
-
"text": "
|
|
8139
|
+
"text": "string"
|
|
8255
8140
|
}
|
|
8256
8141
|
},
|
|
8257
8142
|
{
|
|
8258
|
-
"name": "
|
|
8259
|
-
"default": "{}",
|
|
8143
|
+
"name": "op",
|
|
8260
8144
|
"type": {
|
|
8261
|
-
"text": "
|
|
8145
|
+
"text": "GenesisFilterOp"
|
|
8146
|
+
}
|
|
8147
|
+
},
|
|
8148
|
+
{
|
|
8149
|
+
"name": "bound",
|
|
8150
|
+
"type": {
|
|
8151
|
+
"text": "string"
|
|
8262
8152
|
}
|
|
8263
8153
|
}
|
|
8264
8154
|
],
|
|
8265
|
-
"description": "
|
|
8155
|
+
"description": "Timestamp columns get the dateTime helpers, which take a `yyyyMMdd-HH:mm:ss` bound."
|
|
8266
8156
|
}
|
|
8267
8157
|
],
|
|
8268
8158
|
"exports": [
|
|
8269
8159
|
{
|
|
8270
8160
|
"kind": "js",
|
|
8271
|
-
"name": "
|
|
8161
|
+
"name": "dateFragment",
|
|
8272
8162
|
"declaration": {
|
|
8273
|
-
"name": "
|
|
8274
|
-
"module": "src/genesis/
|
|
8163
|
+
"name": "dateFragment",
|
|
8164
|
+
"module": "src/genesis/criteria.ts"
|
|
8275
8165
|
}
|
|
8276
8166
|
},
|
|
8277
8167
|
{
|
|
8278
8168
|
"kind": "js",
|
|
8279
|
-
"name": "
|
|
8169
|
+
"name": "dateTimeFragment",
|
|
8280
8170
|
"declaration": {
|
|
8281
|
-
"name": "
|
|
8282
|
-
"module": "src/genesis/
|
|
8171
|
+
"name": "dateTimeFragment",
|
|
8172
|
+
"module": "src/genesis/criteria.ts"
|
|
8283
8173
|
}
|
|
8284
8174
|
}
|
|
8285
8175
|
]
|
|
8286
8176
|
},
|
|
8287
8177
|
{
|
|
8288
8178
|
"kind": "javascript-module",
|
|
8289
|
-
"path": "src/genesis/
|
|
8290
|
-
"declarations": [
|
|
8291
|
-
|
|
8292
|
-
|
|
8293
|
-
|
|
8294
|
-
|
|
8295
|
-
|
|
8296
|
-
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8179
|
+
"path": "src/genesis/event-fields.ts",
|
|
8180
|
+
"declarations": [],
|
|
8181
|
+
"exports": []
|
|
8182
|
+
},
|
|
8183
|
+
{
|
|
8184
|
+
"kind": "javascript-module",
|
|
8185
|
+
"path": "src/genesis/filter-fields.ts",
|
|
8186
|
+
"declarations": [],
|
|
8187
|
+
"exports": []
|
|
8188
|
+
},
|
|
8189
|
+
{
|
|
8190
|
+
"kind": "javascript-module",
|
|
8191
|
+
"path": "src/genesis/index.ts",
|
|
8192
|
+
"declarations": [],
|
|
8301
8193
|
"exports": [
|
|
8302
8194
|
{
|
|
8303
8195
|
"kind": "js",
|
|
8304
|
-
"name": "
|
|
8196
|
+
"name": "GENESIS_AGENT_NAME",
|
|
8197
|
+
"declaration": {
|
|
8198
|
+
"name": "GENESIS_AGENT_NAME",
|
|
8199
|
+
"module": "./register-genesis-assistant"
|
|
8200
|
+
}
|
|
8201
|
+
},
|
|
8202
|
+
{
|
|
8203
|
+
"kind": "js",
|
|
8204
|
+
"name": "registerGenesisAssistant",
|
|
8205
|
+
"declaration": {
|
|
8206
|
+
"name": "registerGenesisAssistant",
|
|
8207
|
+
"module": "./register-genesis-assistant"
|
|
8208
|
+
}
|
|
8209
|
+
},
|
|
8210
|
+
{
|
|
8211
|
+
"kind": "js",
|
|
8212
|
+
"name": "customCodeOf",
|
|
8213
|
+
"declaration": {
|
|
8214
|
+
"name": "customCodeOf",
|
|
8215
|
+
"module": "./config"
|
|
8216
|
+
}
|
|
8217
|
+
},
|
|
8218
|
+
{
|
|
8219
|
+
"kind": "js",
|
|
8220
|
+
"name": "rowActionProblem",
|
|
8221
|
+
"declaration": {
|
|
8222
|
+
"name": "rowActionProblem",
|
|
8223
|
+
"module": "./config"
|
|
8224
|
+
}
|
|
8225
|
+
},
|
|
8226
|
+
{
|
|
8227
|
+
"kind": "js",
|
|
8228
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
8229
|
+
"declaration": {
|
|
8230
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
8231
|
+
"module": "./consumes"
|
|
8232
|
+
}
|
|
8233
|
+
},
|
|
8234
|
+
{
|
|
8235
|
+
"kind": "js",
|
|
8236
|
+
"name": "validateGenesisAiConfig",
|
|
8237
|
+
"declaration": {
|
|
8238
|
+
"name": "validateGenesisAiConfig",
|
|
8239
|
+
"module": "./config"
|
|
8240
|
+
}
|
|
8241
|
+
},
|
|
8242
|
+
{
|
|
8243
|
+
"kind": "js",
|
|
8244
|
+
"name": "DroppedResource",
|
|
8245
|
+
"declaration": {
|
|
8246
|
+
"name": "DroppedResource",
|
|
8247
|
+
"module": "./config"
|
|
8248
|
+
}
|
|
8249
|
+
},
|
|
8250
|
+
{
|
|
8251
|
+
"kind": "js",
|
|
8252
|
+
"name": "GenesisAiConfigCheck",
|
|
8253
|
+
"declaration": {
|
|
8254
|
+
"name": "GenesisAiConfigCheck",
|
|
8255
|
+
"module": "./config"
|
|
8256
|
+
}
|
|
8257
|
+
},
|
|
8258
|
+
{
|
|
8259
|
+
"kind": "js",
|
|
8260
|
+
"name": "GenesisFilter",
|
|
8261
|
+
"declaration": {
|
|
8262
|
+
"name": "GenesisFilter",
|
|
8263
|
+
"module": "./criteria"
|
|
8264
|
+
}
|
|
8265
|
+
},
|
|
8266
|
+
{
|
|
8267
|
+
"kind": "js",
|
|
8268
|
+
"name": "GenesisFilterField",
|
|
8269
|
+
"declaration": {
|
|
8270
|
+
"name": "GenesisFilterField",
|
|
8271
|
+
"module": "./criteria"
|
|
8272
|
+
}
|
|
8273
|
+
},
|
|
8274
|
+
{
|
|
8275
|
+
"kind": "js",
|
|
8276
|
+
"name": "GenesisFilterOp",
|
|
8277
|
+
"declaration": {
|
|
8278
|
+
"name": "GenesisFilterOp",
|
|
8279
|
+
"module": "./criteria"
|
|
8280
|
+
}
|
|
8281
|
+
},
|
|
8282
|
+
{
|
|
8283
|
+
"kind": "js",
|
|
8284
|
+
"name": "createGenesisResourceTools",
|
|
8285
|
+
"declaration": {
|
|
8286
|
+
"name": "createGenesisResourceTools",
|
|
8287
|
+
"module": "./resource-tools"
|
|
8288
|
+
}
|
|
8289
|
+
},
|
|
8290
|
+
{
|
|
8291
|
+
"kind": "js",
|
|
8292
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
8293
|
+
"declaration": {
|
|
8294
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
8295
|
+
"module": "./resource-tools"
|
|
8296
|
+
}
|
|
8297
|
+
},
|
|
8298
|
+
{
|
|
8299
|
+
"kind": "js",
|
|
8300
|
+
"name": "createGenesisWriteTools",
|
|
8301
|
+
"declaration": {
|
|
8302
|
+
"name": "createGenesisWriteTools",
|
|
8303
|
+
"module": "./write-tools"
|
|
8304
|
+
}
|
|
8305
|
+
},
|
|
8306
|
+
{
|
|
8307
|
+
"kind": "js",
|
|
8308
|
+
"name": "GenesisWriteDecision",
|
|
8309
|
+
"declaration": {
|
|
8310
|
+
"name": "GenesisWriteDecision",
|
|
8311
|
+
"module": "./write-tools"
|
|
8312
|
+
}
|
|
8313
|
+
},
|
|
8314
|
+
{
|
|
8315
|
+
"kind": "js",
|
|
8316
|
+
"name": "GenesisWriteResult",
|
|
8317
|
+
"declaration": {
|
|
8318
|
+
"name": "GenesisWriteResult",
|
|
8319
|
+
"module": "./write-tools"
|
|
8320
|
+
}
|
|
8321
|
+
},
|
|
8322
|
+
{
|
|
8323
|
+
"kind": "js",
|
|
8324
|
+
"name": "GenesisWriteRowStatus",
|
|
8325
|
+
"declaration": {
|
|
8326
|
+
"name": "GenesisWriteRowStatus",
|
|
8327
|
+
"module": "./write-tools"
|
|
8328
|
+
}
|
|
8329
|
+
},
|
|
8330
|
+
{
|
|
8331
|
+
"kind": "js",
|
|
8332
|
+
"name": "GenesisWriteToolsOptions",
|
|
8333
|
+
"declaration": {
|
|
8334
|
+
"name": "GenesisWriteToolsOptions",
|
|
8335
|
+
"module": "./write-tools"
|
|
8336
|
+
}
|
|
8337
|
+
},
|
|
8338
|
+
{
|
|
8339
|
+
"kind": "js",
|
|
8340
|
+
"name": "GENESIS_WRITE_REVIEW",
|
|
8341
|
+
"declaration": {
|
|
8342
|
+
"name": "GENESIS_WRITE_REVIEW",
|
|
8343
|
+
"module": "./write-review/write-review"
|
|
8344
|
+
}
|
|
8345
|
+
},
|
|
8346
|
+
{
|
|
8347
|
+
"kind": "js",
|
|
8348
|
+
"name": "GenesisWriteReview",
|
|
8349
|
+
"declaration": {
|
|
8350
|
+
"name": "GenesisWriteReview",
|
|
8351
|
+
"module": "./write-review/write-review"
|
|
8352
|
+
}
|
|
8353
|
+
},
|
|
8354
|
+
{
|
|
8355
|
+
"kind": "js",
|
|
8356
|
+
"name": "GenesisChangeRequest",
|
|
8305
8357
|
"declaration": {
|
|
8306
8358
|
"name": "GenesisChangeRequest",
|
|
8307
8359
|
"module": "./review-payload"
|
|
@@ -8317,356 +8369,183 @@
|
|
|
8317
8369
|
},
|
|
8318
8370
|
{
|
|
8319
8371
|
"kind": "js",
|
|
8320
|
-
"name": "
|
|
8372
|
+
"name": "GenesisWriteReviewCompletedEventDetail",
|
|
8321
8373
|
"declaration": {
|
|
8322
|
-
"name": "
|
|
8323
|
-
"module": "
|
|
8374
|
+
"name": "GenesisWriteReviewCompletedEventDetail",
|
|
8375
|
+
"module": "./review-payload"
|
|
8324
8376
|
}
|
|
8325
|
-
}
|
|
8326
|
-
]
|
|
8327
|
-
},
|
|
8328
|
-
{
|
|
8329
|
-
"kind": "javascript-module",
|
|
8330
|
-
"path": "src/genesis/review-payload.ts",
|
|
8331
|
-
"declarations": [],
|
|
8332
|
-
"exports": []
|
|
8333
|
-
},
|
|
8334
|
-
{
|
|
8335
|
-
"kind": "javascript-module",
|
|
8336
|
-
"path": "src/genesis/row-source.ts",
|
|
8337
|
-
"declarations": [],
|
|
8338
|
-
"exports": []
|
|
8339
|
-
},
|
|
8340
|
-
{
|
|
8341
|
-
"kind": "javascript-module",
|
|
8342
|
-
"path": "src/genesis/serialisable.ts",
|
|
8343
|
-
"declarations": [],
|
|
8344
|
-
"exports": []
|
|
8345
|
-
},
|
|
8346
|
-
{
|
|
8347
|
-
"kind": "javascript-module",
|
|
8348
|
-
"path": "src/genesis/server-text.ts",
|
|
8349
|
-
"declarations": [
|
|
8350
|
-
{
|
|
8351
|
-
"kind": "function",
|
|
8352
|
-
"name": "readsLikeFieldName",
|
|
8353
|
-
"return": {
|
|
8354
|
-
"type": {
|
|
8355
|
-
"text": "boolean"
|
|
8356
|
-
}
|
|
8357
|
-
},
|
|
8358
|
-
"parameters": [
|
|
8359
|
-
{
|
|
8360
|
-
"name": "text",
|
|
8361
|
-
"type": {
|
|
8362
|
-
"text": "string"
|
|
8363
|
-
}
|
|
8364
|
-
}
|
|
8365
|
-
],
|
|
8366
|
-
"description": "Whether text is a Genesis identifier, the FIELD_NAME shape. @internal"
|
|
8367
8377
|
},
|
|
8368
8378
|
{
|
|
8369
|
-
"kind": "
|
|
8370
|
-
"name": "
|
|
8371
|
-
"
|
|
8372
|
-
"
|
|
8373
|
-
|
|
8374
|
-
|
|
8375
|
-
|
|
8376
|
-
"parameters": [
|
|
8377
|
-
{
|
|
8378
|
-
"name": "error",
|
|
8379
|
-
"type": {
|
|
8380
|
-
"text": "unknown"
|
|
8381
|
-
}
|
|
8382
|
-
}
|
|
8383
|
-
],
|
|
8384
|
-
"description": "Whatever a rejection turns out to be, as a sentence."
|
|
8385
|
-
}
|
|
8386
|
-
],
|
|
8387
|
-
"exports": [
|
|
8379
|
+
"kind": "js",
|
|
8380
|
+
"name": "GenesisReadResult",
|
|
8381
|
+
"declaration": {
|
|
8382
|
+
"name": "GenesisReadResult",
|
|
8383
|
+
"module": "./resource-tools"
|
|
8384
|
+
}
|
|
8385
|
+
},
|
|
8388
8386
|
{
|
|
8389
8387
|
"kind": "js",
|
|
8390
|
-
"name": "
|
|
8388
|
+
"name": "GenesisResourceTools",
|
|
8391
8389
|
"declaration": {
|
|
8392
|
-
"name": "
|
|
8393
|
-
"module": "
|
|
8390
|
+
"name": "GenesisResourceTools",
|
|
8391
|
+
"module": "./resource-tools"
|
|
8394
8392
|
}
|
|
8395
8393
|
},
|
|
8396
8394
|
{
|
|
8397
8395
|
"kind": "js",
|
|
8398
|
-
"name": "
|
|
8396
|
+
"name": "GenesisResourceToolsOptions",
|
|
8399
8397
|
"declaration": {
|
|
8400
|
-
"name": "
|
|
8401
|
-
"module": "
|
|
8398
|
+
"name": "GenesisResourceToolsOptions",
|
|
8399
|
+
"module": "./resource-tools"
|
|
8402
8400
|
}
|
|
8403
|
-
}
|
|
8404
|
-
]
|
|
8405
|
-
},
|
|
8406
|
-
{
|
|
8407
|
-
"kind": "javascript-module",
|
|
8408
|
-
"path": "src/genesis/type-name.ts",
|
|
8409
|
-
"declarations": [],
|
|
8410
|
-
"exports": []
|
|
8411
|
-
},
|
|
8412
|
-
{
|
|
8413
|
-
"kind": "javascript-module",
|
|
8414
|
-
"path": "src/genesis/types.ts",
|
|
8415
|
-
"declarations": [
|
|
8401
|
+
},
|
|
8416
8402
|
{
|
|
8417
|
-
"kind": "
|
|
8418
|
-
"name": "
|
|
8419
|
-
"
|
|
8420
|
-
"
|
|
8421
|
-
|
|
8422
|
-
|
|
8423
|
-
|
|
8424
|
-
}
|
|
8425
|
-
],
|
|
8426
|
-
"exports": [
|
|
8403
|
+
"kind": "js",
|
|
8404
|
+
"name": "GenesisToolError",
|
|
8405
|
+
"declaration": {
|
|
8406
|
+
"name": "GenesisToolError",
|
|
8407
|
+
"module": "./resource-tools"
|
|
8408
|
+
}
|
|
8409
|
+
},
|
|
8427
8410
|
{
|
|
8428
8411
|
"kind": "js",
|
|
8429
8412
|
"name": "GENESIS_EVENT_OPS",
|
|
8430
8413
|
"declaration": {
|
|
8431
8414
|
"name": "GENESIS_EVENT_OPS",
|
|
8432
|
-
"module": "
|
|
8415
|
+
"module": "./types"
|
|
8433
8416
|
}
|
|
8434
|
-
}
|
|
8435
|
-
]
|
|
8436
|
-
},
|
|
8437
|
-
{
|
|
8438
|
-
"kind": "javascript-module",
|
|
8439
|
-
"path": "src/genesis/value-compare.ts",
|
|
8440
|
-
"declarations": [],
|
|
8441
|
-
"exports": []
|
|
8442
|
-
},
|
|
8443
|
-
{
|
|
8444
|
-
"kind": "javascript-module",
|
|
8445
|
-
"path": "src/genesis/vendor-follower.ts",
|
|
8446
|
-
"declarations": [],
|
|
8447
|
-
"exports": []
|
|
8448
|
-
},
|
|
8449
|
-
{
|
|
8450
|
-
"kind": "javascript-module",
|
|
8451
|
-
"path": "src/genesis/vendor-pick.ts",
|
|
8452
|
-
"declarations": [],
|
|
8453
|
-
"exports": []
|
|
8454
|
-
},
|
|
8455
|
-
{
|
|
8456
|
-
"kind": "javascript-module",
|
|
8457
|
-
"path": "src/genesis/write-commit.ts",
|
|
8458
|
-
"declarations": [],
|
|
8459
|
-
"exports": []
|
|
8460
|
-
},
|
|
8461
|
-
{
|
|
8462
|
-
"kind": "javascript-module",
|
|
8463
|
-
"path": "src/genesis/write-op.ts",
|
|
8464
|
-
"declarations": [],
|
|
8465
|
-
"exports": []
|
|
8466
|
-
},
|
|
8467
|
-
{
|
|
8468
|
-
"kind": "javascript-module",
|
|
8469
|
-
"path": "src/genesis/write-outcome.ts",
|
|
8470
|
-
"declarations": [],
|
|
8471
|
-
"exports": []
|
|
8472
|
-
},
|
|
8473
|
-
{
|
|
8474
|
-
"kind": "javascript-module",
|
|
8475
|
-
"path": "src/genesis/write-payload.ts",
|
|
8476
|
-
"declarations": [
|
|
8417
|
+
},
|
|
8477
8418
|
{
|
|
8478
|
-
"kind": "
|
|
8479
|
-
"name": "
|
|
8480
|
-
"
|
|
8481
|
-
"
|
|
8482
|
-
|
|
8483
|
-
|
|
8484
|
-
|
|
8485
|
-
"parameters": [
|
|
8486
|
-
{
|
|
8487
|
-
"name": "fields",
|
|
8488
|
-
"type": {
|
|
8489
|
-
"text": "readonly GenesisEventField[]"
|
|
8490
|
-
}
|
|
8491
|
-
},
|
|
8492
|
-
{
|
|
8493
|
-
"name": "row",
|
|
8494
|
-
"type": {
|
|
8495
|
-
"text": "unknown"
|
|
8496
|
-
}
|
|
8497
|
-
},
|
|
8498
|
-
{
|
|
8499
|
-
"name": "{ op, preImage, unchecked }",
|
|
8500
|
-
"type": {
|
|
8501
|
-
"text": "BuildPayloadOptions"
|
|
8502
|
-
}
|
|
8503
|
-
}
|
|
8504
|
-
]
|
|
8505
|
-
}
|
|
8506
|
-
],
|
|
8507
|
-
"exports": [
|
|
8419
|
+
"kind": "js",
|
|
8420
|
+
"name": "GenesisAiConfig",
|
|
8421
|
+
"declaration": {
|
|
8422
|
+
"name": "GenesisAiConfig",
|
|
8423
|
+
"module": "./types"
|
|
8424
|
+
}
|
|
8425
|
+
},
|
|
8508
8426
|
{
|
|
8509
8427
|
"kind": "js",
|
|
8510
|
-
"name": "
|
|
8428
|
+
"name": "GenesisAiConsumes",
|
|
8511
8429
|
"declaration": {
|
|
8512
|
-
"name": "
|
|
8513
|
-
"module": "
|
|
8430
|
+
"name": "GenesisAiConsumes",
|
|
8431
|
+
"module": "./types"
|
|
8514
8432
|
}
|
|
8515
|
-
}
|
|
8516
|
-
]
|
|
8517
|
-
},
|
|
8518
|
-
{
|
|
8519
|
-
"kind": "javascript-module",
|
|
8520
|
-
"path": "src/genesis/write-plan.ts",
|
|
8521
|
-
"declarations": [
|
|
8433
|
+
},
|
|
8522
8434
|
{
|
|
8523
|
-
"kind": "
|
|
8524
|
-
"name": "
|
|
8525
|
-
"
|
|
8526
|
-
"
|
|
8527
|
-
|
|
8528
|
-
|
|
8529
|
-
|
|
8530
|
-
|
|
8531
|
-
|
|
8532
|
-
|
|
8435
|
+
"kind": "js",
|
|
8436
|
+
"name": "GenesisAiResource",
|
|
8437
|
+
"declaration": {
|
|
8438
|
+
"name": "GenesisAiResource",
|
|
8439
|
+
"module": "./types"
|
|
8440
|
+
}
|
|
8441
|
+
},
|
|
8442
|
+
{
|
|
8443
|
+
"kind": "js",
|
|
8444
|
+
"name": "GenesisAssistantExtensions",
|
|
8445
|
+
"declaration": {
|
|
8446
|
+
"name": "GenesisAssistantExtensions",
|
|
8447
|
+
"module": "./types"
|
|
8448
|
+
}
|
|
8449
|
+
},
|
|
8450
|
+
{
|
|
8451
|
+
"kind": "js",
|
|
8452
|
+
"name": "GenesisAssistantRegistration",
|
|
8453
|
+
"declaration": {
|
|
8454
|
+
"name": "GenesisAssistantRegistration",
|
|
8455
|
+
"module": "./types"
|
|
8456
|
+
}
|
|
8457
|
+
},
|
|
8458
|
+
{
|
|
8459
|
+
"kind": "js",
|
|
8460
|
+
"name": "GenesisCustomCode",
|
|
8461
|
+
"declaration": {
|
|
8462
|
+
"name": "GenesisCustomCode",
|
|
8463
|
+
"module": "./types"
|
|
8464
|
+
}
|
|
8465
|
+
},
|
|
8466
|
+
{
|
|
8467
|
+
"kind": "js",
|
|
8468
|
+
"name": "GenesisCustomCodeCheck",
|
|
8469
|
+
"declaration": {
|
|
8470
|
+
"name": "GenesisCustomCodeCheck",
|
|
8471
|
+
"module": "./types"
|
|
8472
|
+
}
|
|
8473
|
+
},
|
|
8474
|
+
{
|
|
8475
|
+
"kind": "js",
|
|
8476
|
+
"name": "GenesisEventOp",
|
|
8477
|
+
"declaration": {
|
|
8478
|
+
"name": "GenesisEventOp",
|
|
8479
|
+
"module": "./types"
|
|
8480
|
+
}
|
|
8481
|
+
},
|
|
8482
|
+
{
|
|
8483
|
+
"kind": "js",
|
|
8484
|
+
"name": "GenesisReference",
|
|
8485
|
+
"declaration": {
|
|
8486
|
+
"name": "GenesisReference",
|
|
8487
|
+
"module": "./types"
|
|
8488
|
+
}
|
|
8489
|
+
},
|
|
8490
|
+
{
|
|
8491
|
+
"kind": "js",
|
|
8492
|
+
"name": "GenesisResourceKind",
|
|
8493
|
+
"declaration": {
|
|
8494
|
+
"name": "GenesisResourceKind",
|
|
8495
|
+
"module": "./types"
|
|
8496
|
+
}
|
|
8497
|
+
},
|
|
8533
8498
|
{
|
|
8534
8499
|
"kind": "js",
|
|
8535
|
-
"name": "
|
|
8500
|
+
"name": "GenesisRowEffect",
|
|
8536
8501
|
"declaration": {
|
|
8537
|
-
"name": "
|
|
8538
|
-
"module": "
|
|
8502
|
+
"name": "GenesisRowEffect",
|
|
8503
|
+
"module": "./types"
|
|
8539
8504
|
}
|
|
8540
|
-
}
|
|
8541
|
-
]
|
|
8542
|
-
},
|
|
8543
|
-
{
|
|
8544
|
-
"kind": "javascript-module",
|
|
8545
|
-
"path": "src/genesis/write-tools.ts",
|
|
8546
|
-
"declarations": [
|
|
8505
|
+
},
|
|
8547
8506
|
{
|
|
8548
|
-
"kind": "
|
|
8549
|
-
"name": "
|
|
8550
|
-
"
|
|
8551
|
-
"
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
|
|
8555
|
-
"parameters": [
|
|
8556
|
-
{
|
|
8557
|
-
"name": "resources",
|
|
8558
|
-
"type": {
|
|
8559
|
-
"text": "readonly GenesisAiResource[]"
|
|
8560
|
-
}
|
|
8561
|
-
},
|
|
8562
|
-
{
|
|
8563
|
-
"name": "options",
|
|
8564
|
-
"default": "{}",
|
|
8565
|
-
"type": {
|
|
8566
|
-
"text": "GenesisWriteToolsOptions"
|
|
8567
|
-
}
|
|
8568
|
-
}
|
|
8569
|
-
],
|
|
8570
|
-
"description": "Builds the assistant's write tools from an app's event resources."
|
|
8571
|
-
}
|
|
8572
|
-
],
|
|
8573
|
-
"exports": [
|
|
8507
|
+
"kind": "js",
|
|
8508
|
+
"name": "GenesisRowInput",
|
|
8509
|
+
"declaration": {
|
|
8510
|
+
"name": "GenesisRowInput",
|
|
8511
|
+
"module": "./types"
|
|
8512
|
+
}
|
|
8513
|
+
},
|
|
8574
8514
|
{
|
|
8575
8515
|
"kind": "js",
|
|
8576
|
-
"name": "
|
|
8516
|
+
"name": "RegisterGenesisAssistantOptions",
|
|
8577
8517
|
"declaration": {
|
|
8578
|
-
"name": "
|
|
8579
|
-
"module": "
|
|
8518
|
+
"name": "RegisterGenesisAssistantOptions",
|
|
8519
|
+
"module": "./types"
|
|
8580
8520
|
}
|
|
8581
8521
|
}
|
|
8582
8522
|
]
|
|
8583
8523
|
},
|
|
8584
8524
|
{
|
|
8585
8525
|
"kind": "javascript-module",
|
|
8586
|
-
"path": "src/genesis/
|
|
8587
|
-
"declarations": [],
|
|
8588
|
-
"exports": []
|
|
8589
|
-
},
|
|
8590
|
-
{
|
|
8591
|
-
"kind": "javascript-module",
|
|
8592
|
-
"path": "src/headless-server/compact.ts",
|
|
8526
|
+
"path": "src/genesis/reference-check.ts",
|
|
8593
8527
|
"declarations": [
|
|
8594
8528
|
{
|
|
8595
8529
|
"kind": "function",
|
|
8596
|
-
"name": "
|
|
8530
|
+
"name": "tableOf",
|
|
8597
8531
|
"return": {
|
|
8598
8532
|
"type": {
|
|
8599
|
-
"text": "
|
|
8533
|
+
"text": "string"
|
|
8600
8534
|
}
|
|
8601
8535
|
},
|
|
8602
8536
|
"parameters": [
|
|
8603
8537
|
{
|
|
8604
|
-
"name": "
|
|
8538
|
+
"name": "resource",
|
|
8605
8539
|
"type": {
|
|
8606
8540
|
"text": "string"
|
|
8607
8541
|
}
|
|
8608
|
-
},
|
|
8609
|
-
{
|
|
8610
|
-
"name": "lines",
|
|
8611
|
-
"type": {
|
|
8612
|
-
"text": "number"
|
|
8613
|
-
}
|
|
8614
|
-
},
|
|
8615
|
-
{
|
|
8616
|
-
"name": "chars",
|
|
8617
|
-
"type": {
|
|
8618
|
-
"text": "number"
|
|
8619
|
-
}
|
|
8620
|
-
}
|
|
8621
|
-
],
|
|
8622
|
-
"description": "The first `lines` lines of `text`, at most `chars` characters, and its full length when it was cut."
|
|
8623
|
-
},
|
|
8624
|
-
{
|
|
8625
|
-
"kind": "function",
|
|
8626
|
-
"name": "present",
|
|
8627
|
-
"return": {
|
|
8628
|
-
"type": {
|
|
8629
|
-
"text": "Partial<T>"
|
|
8630
|
-
}
|
|
8631
|
-
},
|
|
8632
|
-
"parameters": [
|
|
8633
|
-
{
|
|
8634
|
-
"name": "source",
|
|
8635
|
-
"type": {
|
|
8636
|
-
"text": "T"
|
|
8637
|
-
}
|
|
8638
|
-
}
|
|
8639
|
-
],
|
|
8640
|
-
"description": "The keys of `source` that are set, as a new object: a field with nothing to say is dropped."
|
|
8641
|
-
},
|
|
8642
|
-
{
|
|
8643
|
-
"kind": "function",
|
|
8644
|
-
"name": "compactEvent",
|
|
8645
|
-
"return": {
|
|
8646
|
-
"type": {
|
|
8647
|
-
"text": "CompactEvent | undefined"
|
|
8648
|
-
}
|
|
8649
|
-
},
|
|
8650
|
-
"parameters": [
|
|
8651
|
-
{
|
|
8652
|
-
"name": "event",
|
|
8653
|
-
"type": {
|
|
8654
|
-
"text": "HeadlessEvent"
|
|
8655
|
-
}
|
|
8656
|
-
},
|
|
8657
|
-
{
|
|
8658
|
-
"name": "options",
|
|
8659
|
-
"default": "{}",
|
|
8660
|
-
"type": {
|
|
8661
|
-
"text": "CompactOptions"
|
|
8662
|
-
}
|
|
8663
8542
|
}
|
|
8664
8543
|
],
|
|
8665
|
-
"description": "
|
|
8544
|
+
"description": "The table a `REQ_<T>` reads."
|
|
8666
8545
|
},
|
|
8667
8546
|
{
|
|
8668
8547
|
"kind": "function",
|
|
8669
|
-
"name": "
|
|
8548
|
+
"name": "notAcceptedHere",
|
|
8670
8549
|
"return": {
|
|
8671
8550
|
"type": {
|
|
8672
8551
|
"text": "string"
|
|
@@ -8674,420 +8553,541 @@
|
|
|
8674
8553
|
},
|
|
8675
8554
|
"parameters": [
|
|
8676
8555
|
{
|
|
8677
|
-
"name": "
|
|
8556
|
+
"name": "field",
|
|
8678
8557
|
"type": {
|
|
8679
8558
|
"text": "string"
|
|
8680
8559
|
}
|
|
8681
8560
|
},
|
|
8682
8561
|
{
|
|
8683
|
-
"name": "
|
|
8684
|
-
"optional": true,
|
|
8685
|
-
"type": {
|
|
8686
|
-
"text": "Readonly<Record<string, string>>"
|
|
8687
|
-
}
|
|
8688
|
-
}
|
|
8689
|
-
],
|
|
8690
|
-
"description": "A decision's text without its `Now: <the preview view as JSON>` line, and nothing else (`decisionText:\n\"lean\"`). `renderDecision` writes the preview as `Now: ${capRead(JSON.stringify(view))}`: `JSON.stringify`\nwith no indent never breaks a line, so the JSON is the one line, and `capRead` adds a second, `[Cut at …]`,\nonly when it cut it. Both go; in their place is a pointer to `read`. The line is found by position, not\nby prefix alone: it follows the Views list, whose entry for the preview ends `(shown below as Now)`, so a\ncard that itself has a line starting `Now: ` is not mistaken for it.\n\nThe text comes back as it was when there is no preview to find (a card with no preview view, or a short-form\ndecision, which shows no `Now:`), or when `views` does not name the one the Views list marks."
|
|
8691
|
-
},
|
|
8692
|
-
{
|
|
8693
|
-
"kind": "function",
|
|
8694
|
-
"name": "compactDecision",
|
|
8695
|
-
"return": {
|
|
8696
|
-
"type": {
|
|
8697
|
-
"text": "CompactDecision"
|
|
8698
|
-
}
|
|
8699
|
-
},
|
|
8700
|
-
"parameters": [
|
|
8701
|
-
{
|
|
8702
|
-
"name": "description",
|
|
8703
|
-
"type": {
|
|
8704
|
-
"text": "InteractionDescription"
|
|
8705
|
-
}
|
|
8706
|
-
},
|
|
8707
|
-
{
|
|
8708
|
-
"name": "decisionText",
|
|
8709
|
-
"default": "'full'",
|
|
8562
|
+
"name": "{ resource, reason }",
|
|
8710
8563
|
"type": {
|
|
8711
|
-
"text": "
|
|
8564
|
+
"text": "UncheckedField"
|
|
8712
8565
|
}
|
|
8713
8566
|
}
|
|
8714
8567
|
],
|
|
8715
|
-
"description": "
|
|
8568
|
+
"description": "What an insert says about a value it cannot check."
|
|
8716
8569
|
},
|
|
8717
8570
|
{
|
|
8718
8571
|
"kind": "function",
|
|
8719
|
-
"name": "
|
|
8572
|
+
"name": "cannotBeChanged",
|
|
8720
8573
|
"return": {
|
|
8721
8574
|
"type": {
|
|
8722
|
-
"text": "
|
|
8575
|
+
"text": "string"
|
|
8723
8576
|
}
|
|
8724
8577
|
},
|
|
8725
8578
|
"parameters": [
|
|
8726
8579
|
{
|
|
8727
|
-
"name": "
|
|
8728
|
-
"type": {
|
|
8729
|
-
"text": "string"
|
|
8730
|
-
}
|
|
8731
|
-
},
|
|
8732
|
-
{
|
|
8733
|
-
"name": "component",
|
|
8580
|
+
"name": "field",
|
|
8734
8581
|
"type": {
|
|
8735
8582
|
"text": "string"
|
|
8736
8583
|
}
|
|
8737
8584
|
},
|
|
8738
8585
|
{
|
|
8739
|
-
"name": "
|
|
8740
|
-
"type": {
|
|
8741
|
-
"text": "ReadonlyArray<{ n?: number; name: string; enabled: boolean }>"
|
|
8742
|
-
}
|
|
8743
|
-
}
|
|
8744
|
-
],
|
|
8745
|
-
"description": "A decision cut to what a caller who has already read the card needs: which interaction, and the actions as\n`n`, `name`, `enabled`. For the reply to an edit, and to a refused action, where the card has not changed\nenough to be worth sending again."
|
|
8746
|
-
},
|
|
8747
|
-
{
|
|
8748
|
-
"kind": "function",
|
|
8749
|
-
"name": "capOutput",
|
|
8750
|
-
"return": {
|
|
8751
|
-
"type": {
|
|
8752
|
-
"text": "unknown"
|
|
8753
|
-
}
|
|
8754
|
-
},
|
|
8755
|
-
"parameters": [
|
|
8756
|
-
{
|
|
8757
|
-
"name": "output",
|
|
8586
|
+
"name": "{ resource, reason }",
|
|
8758
8587
|
"type": {
|
|
8759
|
-
"text": "
|
|
8588
|
+
"text": "UncheckedField"
|
|
8760
8589
|
}
|
|
8761
|
-
}
|
|
8762
|
-
],
|
|
8763
|
-
"description": "What
|
|
8764
|
-
}
|
|
8765
|
-
],
|
|
8766
|
-
"exports": [
|
|
8767
|
-
{
|
|
8768
|
-
"kind": "js",
|
|
8769
|
-
"name": "firstLines",
|
|
8770
|
-
"declaration": {
|
|
8771
|
-
"name": "firstLines",
|
|
8772
|
-
"module": "src/headless-server/compact.ts"
|
|
8773
|
-
}
|
|
8774
|
-
},
|
|
8775
|
-
{
|
|
8776
|
-
"kind": "js",
|
|
8777
|
-
"name": "present",
|
|
8778
|
-
"declaration": {
|
|
8779
|
-
"name": "present",
|
|
8780
|
-
"module": "src/headless-server/compact.ts"
|
|
8781
|
-
}
|
|
8782
|
-
},
|
|
8783
|
-
{
|
|
8784
|
-
"kind": "js",
|
|
8785
|
-
"name": "compactEvent",
|
|
8786
|
-
"declaration": {
|
|
8787
|
-
"name": "compactEvent",
|
|
8788
|
-
"module": "src/headless-server/compact.ts"
|
|
8789
|
-
}
|
|
8790
|
-
},
|
|
8791
|
-
{
|
|
8792
|
-
"kind": "js",
|
|
8793
|
-
"name": "leanDecisionText",
|
|
8794
|
-
"declaration": {
|
|
8795
|
-
"name": "leanDecisionText",
|
|
8796
|
-
"module": "src/headless-server/compact.ts"
|
|
8797
|
-
}
|
|
8798
|
-
},
|
|
8799
|
-
{
|
|
8800
|
-
"kind": "js",
|
|
8801
|
-
"name": "compactDecision",
|
|
8802
|
-
"declaration": {
|
|
8803
|
-
"name": "compactDecision",
|
|
8804
|
-
"module": "src/headless-server/compact.ts"
|
|
8805
|
-
}
|
|
8806
|
-
},
|
|
8807
|
-
{
|
|
8808
|
-
"kind": "js",
|
|
8809
|
-
"name": "shortDecision",
|
|
8810
|
-
"declaration": {
|
|
8811
|
-
"name": "shortDecision",
|
|
8812
|
-
"module": "src/headless-server/compact.ts"
|
|
8813
|
-
}
|
|
8814
|
-
},
|
|
8815
|
-
{
|
|
8816
|
-
"kind": "js",
|
|
8817
|
-
"name": "capOutput",
|
|
8818
|
-
"declaration": {
|
|
8819
|
-
"name": "capOutput",
|
|
8820
|
-
"module": "src/headless-server/compact.ts"
|
|
8821
|
-
}
|
|
8590
|
+
}
|
|
8591
|
+
],
|
|
8592
|
+
"description": "What a modify says about a new value it cannot check."
|
|
8822
8593
|
}
|
|
8823
|
-
]
|
|
8824
|
-
},
|
|
8825
|
-
{
|
|
8826
|
-
"kind": "javascript-module",
|
|
8827
|
-
"path": "src/headless-server/index.ts",
|
|
8828
|
-
"declarations": [],
|
|
8594
|
+
],
|
|
8829
8595
|
"exports": [
|
|
8830
8596
|
{
|
|
8831
8597
|
"kind": "js",
|
|
8832
|
-
"name": "
|
|
8833
|
-
"declaration": {
|
|
8834
|
-
"name": "capOutput",
|
|
8835
|
-
"module": "./compact"
|
|
8836
|
-
}
|
|
8837
|
-
},
|
|
8838
|
-
{
|
|
8839
|
-
"kind": "js",
|
|
8840
|
-
"name": "compactDecision",
|
|
8598
|
+
"name": "tableOf",
|
|
8841
8599
|
"declaration": {
|
|
8842
|
-
"name": "
|
|
8843
|
-
"module": "
|
|
8600
|
+
"name": "tableOf",
|
|
8601
|
+
"module": "src/genesis/reference-check.ts"
|
|
8844
8602
|
}
|
|
8845
8603
|
},
|
|
8846
8604
|
{
|
|
8847
8605
|
"kind": "js",
|
|
8848
|
-
"name": "
|
|
8606
|
+
"name": "notAcceptedHere",
|
|
8849
8607
|
"declaration": {
|
|
8850
|
-
"name": "
|
|
8851
|
-
"module": "
|
|
8608
|
+
"name": "notAcceptedHere",
|
|
8609
|
+
"module": "src/genesis/reference-check.ts"
|
|
8852
8610
|
}
|
|
8853
8611
|
},
|
|
8854
8612
|
{
|
|
8855
8613
|
"kind": "js",
|
|
8856
|
-
"name": "
|
|
8614
|
+
"name": "cannotBeChanged",
|
|
8857
8615
|
"declaration": {
|
|
8858
|
-
"name": "
|
|
8859
|
-
"module": "
|
|
8616
|
+
"name": "cannotBeChanged",
|
|
8617
|
+
"module": "src/genesis/reference-check.ts"
|
|
8860
8618
|
}
|
|
8861
|
-
}
|
|
8619
|
+
}
|
|
8620
|
+
]
|
|
8621
|
+
},
|
|
8622
|
+
{
|
|
8623
|
+
"kind": "javascript-module",
|
|
8624
|
+
"path": "src/genesis/reference-existence.ts",
|
|
8625
|
+
"declarations": [
|
|
8862
8626
|
{
|
|
8863
|
-
"kind": "
|
|
8864
|
-
"name": "
|
|
8865
|
-
"
|
|
8866
|
-
"
|
|
8867
|
-
|
|
8868
|
-
|
|
8627
|
+
"kind": "variable",
|
|
8628
|
+
"name": "MAX_REFERENCE_CHECKS",
|
|
8629
|
+
"type": {
|
|
8630
|
+
"text": "number"
|
|
8631
|
+
},
|
|
8632
|
+
"default": "50",
|
|
8633
|
+
"description": "The most distinct values one call may check."
|
|
8869
8634
|
},
|
|
8870
8635
|
{
|
|
8871
|
-
"kind": "
|
|
8872
|
-
"name": "
|
|
8873
|
-
"
|
|
8874
|
-
"
|
|
8875
|
-
|
|
8876
|
-
|
|
8877
|
-
|
|
8636
|
+
"kind": "function",
|
|
8637
|
+
"name": "withReferenceProblems",
|
|
8638
|
+
"return": {
|
|
8639
|
+
"type": {
|
|
8640
|
+
"text": "T[]"
|
|
8641
|
+
}
|
|
8642
|
+
},
|
|
8643
|
+
"parameters": [
|
|
8644
|
+
{
|
|
8645
|
+
"name": "rows",
|
|
8646
|
+
"type": {
|
|
8647
|
+
"text": "readonly T[]"
|
|
8648
|
+
}
|
|
8649
|
+
},
|
|
8650
|
+
{
|
|
8651
|
+
"name": "problems",
|
|
8652
|
+
"type": {
|
|
8653
|
+
"text": "ReadonlyMap<number, string[]>"
|
|
8654
|
+
}
|
|
8655
|
+
}
|
|
8656
|
+
],
|
|
8657
|
+
"description": "The rows with what the check found added to their problems."
|
|
8658
|
+
}
|
|
8659
|
+
],
|
|
8660
|
+
"exports": [
|
|
8878
8661
|
{
|
|
8879
8662
|
"kind": "js",
|
|
8880
|
-
"name": "
|
|
8663
|
+
"name": "MAX_REFERENCE_CHECKS",
|
|
8881
8664
|
"declaration": {
|
|
8882
|
-
"name": "
|
|
8883
|
-
"module": "
|
|
8665
|
+
"name": "MAX_REFERENCE_CHECKS",
|
|
8666
|
+
"module": "src/genesis/reference-existence.ts"
|
|
8884
8667
|
}
|
|
8885
8668
|
},
|
|
8886
8669
|
{
|
|
8887
8670
|
"kind": "js",
|
|
8888
|
-
"name": "
|
|
8671
|
+
"name": "withReferenceProblems",
|
|
8889
8672
|
"declaration": {
|
|
8890
|
-
"name": "
|
|
8891
|
-
"module": "
|
|
8673
|
+
"name": "withReferenceProblems",
|
|
8674
|
+
"module": "src/genesis/reference-existence.ts"
|
|
8892
8675
|
}
|
|
8893
|
-
}
|
|
8676
|
+
}
|
|
8677
|
+
]
|
|
8678
|
+
},
|
|
8679
|
+
{
|
|
8680
|
+
"kind": "javascript-module",
|
|
8681
|
+
"path": "src/genesis/register-genesis-assistant.ts",
|
|
8682
|
+
"declarations": [
|
|
8894
8683
|
{
|
|
8895
|
-
"kind": "
|
|
8896
|
-
"name": "
|
|
8897
|
-
"
|
|
8898
|
-
"
|
|
8899
|
-
|
|
8900
|
-
|
|
8684
|
+
"kind": "variable",
|
|
8685
|
+
"name": "GENESIS_AGENT_NAME",
|
|
8686
|
+
"type": {
|
|
8687
|
+
"text": "string"
|
|
8688
|
+
},
|
|
8689
|
+
"default": "'genesis-assistant'",
|
|
8690
|
+
"description": "The name of the agent registerGenesisAssistant builds."
|
|
8901
8691
|
},
|
|
8902
8692
|
{
|
|
8903
|
-
"kind": "
|
|
8904
|
-
"name": "
|
|
8905
|
-
"
|
|
8906
|
-
"
|
|
8907
|
-
|
|
8908
|
-
|
|
8909
|
-
|
|
8693
|
+
"kind": "function",
|
|
8694
|
+
"name": "registerGenesisAssistant",
|
|
8695
|
+
"return": {
|
|
8696
|
+
"type": {
|
|
8697
|
+
"text": "GenesisAssistantRegistration"
|
|
8698
|
+
}
|
|
8699
|
+
},
|
|
8700
|
+
"parameters": [
|
|
8701
|
+
{
|
|
8702
|
+
"name": "options",
|
|
8703
|
+
"type": {
|
|
8704
|
+
"text": "RegisterGenesisAssistantOptions"
|
|
8705
|
+
}
|
|
8706
|
+
}
|
|
8707
|
+
],
|
|
8708
|
+
"description": "Sets up the AI assistant for a Genesis app from its generated AI config: providers by tier,\nand one agent whose tools read the app's resources."
|
|
8709
|
+
}
|
|
8710
|
+
],
|
|
8711
|
+
"exports": [
|
|
8910
8712
|
{
|
|
8911
8713
|
"kind": "js",
|
|
8912
|
-
"name": "
|
|
8714
|
+
"name": "GENESIS_AGENT_NAME",
|
|
8913
8715
|
"declaration": {
|
|
8914
|
-
"name": "
|
|
8915
|
-
"module": "
|
|
8716
|
+
"name": "GENESIS_AGENT_NAME",
|
|
8717
|
+
"module": "src/genesis/register-genesis-assistant.ts"
|
|
8916
8718
|
}
|
|
8917
8719
|
},
|
|
8918
8720
|
{
|
|
8919
8721
|
"kind": "js",
|
|
8920
|
-
"name": "
|
|
8722
|
+
"name": "registerGenesisAssistant",
|
|
8921
8723
|
"declaration": {
|
|
8922
|
-
"name": "
|
|
8923
|
-
"module": "
|
|
8724
|
+
"name": "registerGenesisAssistant",
|
|
8725
|
+
"module": "src/genesis/register-genesis-assistant.ts"
|
|
8924
8726
|
}
|
|
8925
|
-
}
|
|
8727
|
+
}
|
|
8728
|
+
]
|
|
8729
|
+
},
|
|
8730
|
+
{
|
|
8731
|
+
"kind": "javascript-module",
|
|
8732
|
+
"path": "src/genesis/resource-tools.ts",
|
|
8733
|
+
"declarations": [
|
|
8926
8734
|
{
|
|
8927
|
-
"kind": "
|
|
8928
|
-
"name": "
|
|
8929
|
-
"
|
|
8930
|
-
"
|
|
8931
|
-
|
|
8932
|
-
|
|
8735
|
+
"kind": "variable",
|
|
8736
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
8737
|
+
"type": {
|
|
8738
|
+
"text": "string"
|
|
8739
|
+
},
|
|
8740
|
+
"default": "'app-database'",
|
|
8741
|
+
"description": "The provenance stamped on everything a tool returns from the app (ADR P9). Rows are written by\nthe app's other users, so the model must treat their text as data, never as instructions; the\nsystem prompt says the same thing in words."
|
|
8933
8742
|
},
|
|
8934
8743
|
{
|
|
8935
|
-
"kind": "
|
|
8936
|
-
"name": "
|
|
8937
|
-
"
|
|
8938
|
-
"
|
|
8939
|
-
|
|
8940
|
-
|
|
8941
|
-
|
|
8744
|
+
"kind": "function",
|
|
8745
|
+
"name": "createGenesisResourceTools",
|
|
8746
|
+
"return": {
|
|
8747
|
+
"type": {
|
|
8748
|
+
"text": "GenesisResourceTools"
|
|
8749
|
+
}
|
|
8750
|
+
},
|
|
8751
|
+
"parameters": [
|
|
8752
|
+
{
|
|
8753
|
+
"name": "resources",
|
|
8754
|
+
"type": {
|
|
8755
|
+
"text": "readonly GenesisAiResource[]"
|
|
8756
|
+
}
|
|
8757
|
+
},
|
|
8758
|
+
{
|
|
8759
|
+
"name": "options",
|
|
8760
|
+
"default": "{}",
|
|
8761
|
+
"type": {
|
|
8762
|
+
"text": "GenesisResourceToolsOptions"
|
|
8763
|
+
}
|
|
8764
|
+
}
|
|
8765
|
+
],
|
|
8766
|
+
"description": "Builds the assistant's tools from an app's resources."
|
|
8767
|
+
}
|
|
8768
|
+
],
|
|
8769
|
+
"exports": [
|
|
8942
8770
|
{
|
|
8943
8771
|
"kind": "js",
|
|
8944
|
-
"name": "
|
|
8772
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
8945
8773
|
"declaration": {
|
|
8946
|
-
"name": "
|
|
8947
|
-
"module": "
|
|
8774
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
8775
|
+
"module": "src/genesis/resource-tools.ts"
|
|
8948
8776
|
}
|
|
8949
8777
|
},
|
|
8950
8778
|
{
|
|
8951
8779
|
"kind": "js",
|
|
8952
|
-
"name": "
|
|
8780
|
+
"name": "createGenesisResourceTools",
|
|
8953
8781
|
"declaration": {
|
|
8954
|
-
"name": "
|
|
8955
|
-
"module": "
|
|
8782
|
+
"name": "createGenesisResourceTools",
|
|
8783
|
+
"module": "src/genesis/resource-tools.ts"
|
|
8956
8784
|
}
|
|
8957
|
-
}
|
|
8785
|
+
}
|
|
8786
|
+
]
|
|
8787
|
+
},
|
|
8788
|
+
{
|
|
8789
|
+
"kind": "javascript-module",
|
|
8790
|
+
"path": "src/genesis/review-model.ts",
|
|
8791
|
+
"declarations": [
|
|
8958
8792
|
{
|
|
8959
|
-
"kind": "
|
|
8960
|
-
"name": "
|
|
8961
|
-
"
|
|
8962
|
-
"
|
|
8963
|
-
|
|
8964
|
-
|
|
8965
|
-
|
|
8793
|
+
"kind": "variable",
|
|
8794
|
+
"name": "LONG_VALUE",
|
|
8795
|
+
"type": {
|
|
8796
|
+
"text": "number"
|
|
8797
|
+
},
|
|
8798
|
+
"default": "24",
|
|
8799
|
+
"description": "Past this many characters a value wraps; at or under it, it stays on one line."
|
|
8800
|
+
}
|
|
8801
|
+
],
|
|
8802
|
+
"exports": [
|
|
8966
8803
|
{
|
|
8967
8804
|
"kind": "js",
|
|
8968
|
-
"name": "
|
|
8805
|
+
"name": "GenesisChangeRequest",
|
|
8969
8806
|
"declaration": {
|
|
8970
|
-
"name": "
|
|
8971
|
-
"module": "./
|
|
8807
|
+
"name": "GenesisChangeRequest",
|
|
8808
|
+
"module": "./review-payload"
|
|
8972
8809
|
}
|
|
8973
8810
|
},
|
|
8974
8811
|
{
|
|
8975
8812
|
"kind": "js",
|
|
8976
|
-
"name": "
|
|
8813
|
+
"name": "GenesisReviewPayload",
|
|
8977
8814
|
"declaration": {
|
|
8978
|
-
"name": "
|
|
8979
|
-
"module": "./
|
|
8815
|
+
"name": "GenesisReviewPayload",
|
|
8816
|
+
"module": "./review-payload"
|
|
8980
8817
|
}
|
|
8981
8818
|
},
|
|
8982
8819
|
{
|
|
8983
8820
|
"kind": "js",
|
|
8984
|
-
"name": "
|
|
8821
|
+
"name": "LONG_VALUE",
|
|
8985
8822
|
"declaration": {
|
|
8986
|
-
"name": "
|
|
8987
|
-
"module": "
|
|
8823
|
+
"name": "LONG_VALUE",
|
|
8824
|
+
"module": "src/genesis/review-model.ts"
|
|
8988
8825
|
}
|
|
8826
|
+
}
|
|
8827
|
+
]
|
|
8828
|
+
},
|
|
8829
|
+
{
|
|
8830
|
+
"kind": "javascript-module",
|
|
8831
|
+
"path": "src/genesis/review-payload.ts",
|
|
8832
|
+
"declarations": [],
|
|
8833
|
+
"exports": []
|
|
8834
|
+
},
|
|
8835
|
+
{
|
|
8836
|
+
"kind": "javascript-module",
|
|
8837
|
+
"path": "src/genesis/row-source.ts",
|
|
8838
|
+
"declarations": [],
|
|
8839
|
+
"exports": []
|
|
8840
|
+
},
|
|
8841
|
+
{
|
|
8842
|
+
"kind": "javascript-module",
|
|
8843
|
+
"path": "src/genesis/serialisable.ts",
|
|
8844
|
+
"declarations": [],
|
|
8845
|
+
"exports": []
|
|
8846
|
+
},
|
|
8847
|
+
{
|
|
8848
|
+
"kind": "javascript-module",
|
|
8849
|
+
"path": "src/genesis/server-text.ts",
|
|
8850
|
+
"declarations": [
|
|
8851
|
+
{
|
|
8852
|
+
"kind": "function",
|
|
8853
|
+
"name": "readsLikeFieldName",
|
|
8854
|
+
"return": {
|
|
8855
|
+
"type": {
|
|
8856
|
+
"text": "boolean"
|
|
8857
|
+
}
|
|
8858
|
+
},
|
|
8859
|
+
"parameters": [
|
|
8860
|
+
{
|
|
8861
|
+
"name": "text",
|
|
8862
|
+
"type": {
|
|
8863
|
+
"text": "string"
|
|
8864
|
+
}
|
|
8865
|
+
}
|
|
8866
|
+
],
|
|
8867
|
+
"description": "Whether text is a Genesis identifier, the FIELD_NAME shape. @internal"
|
|
8989
8868
|
},
|
|
8869
|
+
{
|
|
8870
|
+
"kind": "function",
|
|
8871
|
+
"name": "describeFailure",
|
|
8872
|
+
"return": {
|
|
8873
|
+
"type": {
|
|
8874
|
+
"text": "string | undefined"
|
|
8875
|
+
}
|
|
8876
|
+
},
|
|
8877
|
+
"parameters": [
|
|
8878
|
+
{
|
|
8879
|
+
"name": "error",
|
|
8880
|
+
"type": {
|
|
8881
|
+
"text": "unknown"
|
|
8882
|
+
}
|
|
8883
|
+
}
|
|
8884
|
+
],
|
|
8885
|
+
"description": "Whatever a rejection turns out to be, as a sentence."
|
|
8886
|
+
}
|
|
8887
|
+
],
|
|
8888
|
+
"exports": [
|
|
8990
8889
|
{
|
|
8991
8890
|
"kind": "js",
|
|
8992
|
-
"name": "
|
|
8891
|
+
"name": "readsLikeFieldName",
|
|
8993
8892
|
"declaration": {
|
|
8994
|
-
"name": "
|
|
8995
|
-
"module": "
|
|
8893
|
+
"name": "readsLikeFieldName",
|
|
8894
|
+
"module": "src/genesis/server-text.ts"
|
|
8996
8895
|
}
|
|
8997
8896
|
},
|
|
8998
8897
|
{
|
|
8999
8898
|
"kind": "js",
|
|
9000
|
-
"name": "
|
|
8899
|
+
"name": "describeFailure",
|
|
9001
8900
|
"declaration": {
|
|
9002
|
-
"name": "
|
|
9003
|
-
"module": "
|
|
8901
|
+
"name": "describeFailure",
|
|
8902
|
+
"module": "src/genesis/server-text.ts"
|
|
9004
8903
|
}
|
|
9005
|
-
}
|
|
8904
|
+
}
|
|
8905
|
+
]
|
|
8906
|
+
},
|
|
8907
|
+
{
|
|
8908
|
+
"kind": "javascript-module",
|
|
8909
|
+
"path": "src/genesis/type-name.ts",
|
|
8910
|
+
"declarations": [],
|
|
8911
|
+
"exports": []
|
|
8912
|
+
},
|
|
8913
|
+
{
|
|
8914
|
+
"kind": "javascript-module",
|
|
8915
|
+
"path": "src/genesis/types.ts",
|
|
8916
|
+
"declarations": [
|
|
8917
|
+
{
|
|
8918
|
+
"kind": "variable",
|
|
8919
|
+
"name": "GENESIS_EVENT_OPS",
|
|
8920
|
+
"type": {
|
|
8921
|
+
"text": "['insert', 'modify', 'delete', 'custom']"
|
|
8922
|
+
},
|
|
8923
|
+
"default": "['insert', 'modify', 'delete', 'custom']",
|
|
8924
|
+
"description": "The wire vocabulary for an event resource's operation. Custom handlers keep their own name."
|
|
8925
|
+
}
|
|
8926
|
+
],
|
|
8927
|
+
"exports": [
|
|
9006
8928
|
{
|
|
9007
8929
|
"kind": "js",
|
|
9008
|
-
"name": "
|
|
8930
|
+
"name": "GENESIS_EVENT_OPS",
|
|
9009
8931
|
"declaration": {
|
|
9010
|
-
"name": "
|
|
9011
|
-
"module": "
|
|
8932
|
+
"name": "GENESIS_EVENT_OPS",
|
|
8933
|
+
"module": "src/genesis/types.ts"
|
|
9012
8934
|
}
|
|
9013
8935
|
}
|
|
9014
8936
|
]
|
|
9015
8937
|
},
|
|
9016
8938
|
{
|
|
9017
8939
|
"kind": "javascript-module",
|
|
9018
|
-
"path": "src/
|
|
8940
|
+
"path": "src/genesis/value-compare.ts",
|
|
8941
|
+
"declarations": [],
|
|
8942
|
+
"exports": []
|
|
8943
|
+
},
|
|
8944
|
+
{
|
|
8945
|
+
"kind": "javascript-module",
|
|
8946
|
+
"path": "src/genesis/vendor-follower.ts",
|
|
8947
|
+
"declarations": [],
|
|
8948
|
+
"exports": []
|
|
8949
|
+
},
|
|
8950
|
+
{
|
|
8951
|
+
"kind": "javascript-module",
|
|
8952
|
+
"path": "src/genesis/vendor-pick.ts",
|
|
8953
|
+
"declarations": [],
|
|
8954
|
+
"exports": []
|
|
8955
|
+
},
|
|
8956
|
+
{
|
|
8957
|
+
"kind": "javascript-module",
|
|
8958
|
+
"path": "src/genesis/write-commit.ts",
|
|
8959
|
+
"declarations": [],
|
|
8960
|
+
"exports": []
|
|
8961
|
+
},
|
|
8962
|
+
{
|
|
8963
|
+
"kind": "javascript-module",
|
|
8964
|
+
"path": "src/genesis/write-op.ts",
|
|
8965
|
+
"declarations": [],
|
|
8966
|
+
"exports": []
|
|
8967
|
+
},
|
|
8968
|
+
{
|
|
8969
|
+
"kind": "javascript-module",
|
|
8970
|
+
"path": "src/genesis/write-outcome.ts",
|
|
8971
|
+
"declarations": [],
|
|
8972
|
+
"exports": []
|
|
8973
|
+
},
|
|
8974
|
+
{
|
|
8975
|
+
"kind": "javascript-module",
|
|
8976
|
+
"path": "src/genesis/write-payload.ts",
|
|
9019
8977
|
"declarations": [
|
|
9020
8978
|
{
|
|
9021
8979
|
"kind": "function",
|
|
9022
|
-
"name": "
|
|
8980
|
+
"name": "buildEventPayload",
|
|
9023
8981
|
"return": {
|
|
9024
8982
|
"type": {
|
|
9025
|
-
"text": "
|
|
8983
|
+
"text": "PayloadResult"
|
|
9026
8984
|
}
|
|
9027
8985
|
},
|
|
9028
8986
|
"parameters": [
|
|
9029
8987
|
{
|
|
9030
|
-
"name": "
|
|
8988
|
+
"name": "fields",
|
|
9031
8989
|
"type": {
|
|
9032
|
-
"text": "
|
|
8990
|
+
"text": "readonly GenesisEventField[]"
|
|
8991
|
+
}
|
|
8992
|
+
},
|
|
8993
|
+
{
|
|
8994
|
+
"name": "row",
|
|
8995
|
+
"type": {
|
|
8996
|
+
"text": "unknown"
|
|
8997
|
+
}
|
|
8998
|
+
},
|
|
8999
|
+
{
|
|
9000
|
+
"name": "{ op, preImage, unchecked }",
|
|
9001
|
+
"type": {
|
|
9002
|
+
"text": "BuildPayloadOptions"
|
|
9033
9003
|
}
|
|
9034
9004
|
}
|
|
9035
|
-
]
|
|
9036
|
-
"description": "The headless server (PLAN §5, D7): `node:http` on 127.0.0.1, `GET /health` and `POST /cmd`.\n\nEvery command is APPLIED and then LONG-POLLS (§5.5): the reply comes when the journey next needs the\nperson (an interaction is held by them and ready), a turn ends, the run ends, or something fails, or at\n`maxWaitMs` with `status: \"working\"`. Nothing is lost on a client timeout: the command was applied before\nthe wait, events carry `seq`, and `{op: \"wait\", since}` returns everything after it.\n\nThe session is the only thing it drives; what the host owns is reached through ServerOptions."
|
|
9005
|
+
]
|
|
9037
9006
|
}
|
|
9038
9007
|
],
|
|
9039
9008
|
"exports": [
|
|
9040
9009
|
{
|
|
9041
9010
|
"kind": "js",
|
|
9042
|
-
"name": "
|
|
9011
|
+
"name": "buildEventPayload",
|
|
9043
9012
|
"declaration": {
|
|
9044
|
-
"name": "
|
|
9045
|
-
"module": "src/
|
|
9013
|
+
"name": "buildEventPayload",
|
|
9014
|
+
"module": "src/genesis/write-payload.ts"
|
|
9046
9015
|
}
|
|
9047
9016
|
}
|
|
9048
9017
|
]
|
|
9049
9018
|
},
|
|
9050
9019
|
{
|
|
9051
9020
|
"kind": "javascript-module",
|
|
9052
|
-
"path": "src/
|
|
9021
|
+
"path": "src/genesis/write-plan.ts",
|
|
9053
9022
|
"declarations": [
|
|
9054
9023
|
{
|
|
9055
9024
|
"kind": "variable",
|
|
9056
|
-
"name": "
|
|
9057
|
-
"type": {
|
|
9058
|
-
"text": "readonly DecisionText[]"
|
|
9059
|
-
},
|
|
9060
|
-
"default": "['full', 'lean']"
|
|
9061
|
-
},
|
|
9062
|
-
{
|
|
9063
|
-
"kind": "variable",
|
|
9064
|
-
"name": "DEFAULT_DECISION_TEXT",
|
|
9025
|
+
"name": "MAX_WRITE_ROWS",
|
|
9065
9026
|
"type": {
|
|
9066
|
-
"text": "
|
|
9027
|
+
"text": "number"
|
|
9067
9028
|
},
|
|
9068
|
-
"default": "
|
|
9069
|
-
"description": "
|
|
9029
|
+
"default": "25",
|
|
9030
|
+
"description": "A batch a person can actually read before approving it."
|
|
9070
9031
|
}
|
|
9071
9032
|
],
|
|
9072
9033
|
"exports": [
|
|
9073
9034
|
{
|
|
9074
9035
|
"kind": "js",
|
|
9075
|
-
"name": "
|
|
9036
|
+
"name": "MAX_WRITE_ROWS",
|
|
9076
9037
|
"declaration": {
|
|
9077
|
-
"name": "
|
|
9078
|
-
"module": "src/
|
|
9038
|
+
"name": "MAX_WRITE_ROWS",
|
|
9039
|
+
"module": "src/genesis/write-plan.ts"
|
|
9079
9040
|
}
|
|
9080
|
-
}
|
|
9041
|
+
}
|
|
9042
|
+
]
|
|
9043
|
+
},
|
|
9044
|
+
{
|
|
9045
|
+
"kind": "javascript-module",
|
|
9046
|
+
"path": "src/genesis/write-tools.ts",
|
|
9047
|
+
"declarations": [
|
|
9048
|
+
{
|
|
9049
|
+
"kind": "function",
|
|
9050
|
+
"name": "createGenesisWriteTools",
|
|
9051
|
+
"return": {
|
|
9052
|
+
"type": {
|
|
9053
|
+
"text": "{\n toolDefinitions: () => Promise<ChatToolDefinition[]>;\n toolHandlers: ChatToolHandlers;\n /**\n * The events that can get a write tool, as far as the config can tell: an event refused for its\n * op, its rowSources entry or a malformed references, or a modify or delete with no row source,\n * is not among them. Their metadata, read when the tools are first listed, can still withhold one.\n */\n writableEvents: readonly string[];\n}"
|
|
9054
|
+
}
|
|
9055
|
+
},
|
|
9056
|
+
"parameters": [
|
|
9057
|
+
{
|
|
9058
|
+
"name": "resources",
|
|
9059
|
+
"type": {
|
|
9060
|
+
"text": "readonly GenesisAiResource[]"
|
|
9061
|
+
}
|
|
9062
|
+
},
|
|
9063
|
+
{
|
|
9064
|
+
"name": "options",
|
|
9065
|
+
"default": "{}",
|
|
9066
|
+
"type": {
|
|
9067
|
+
"text": "GenesisWriteToolsOptions"
|
|
9068
|
+
}
|
|
9069
|
+
}
|
|
9070
|
+
],
|
|
9071
|
+
"description": "Builds the assistant's write tools from an app's event resources."
|
|
9072
|
+
}
|
|
9073
|
+
],
|
|
9074
|
+
"exports": [
|
|
9081
9075
|
{
|
|
9082
9076
|
"kind": "js",
|
|
9083
|
-
"name": "
|
|
9077
|
+
"name": "createGenesisWriteTools",
|
|
9084
9078
|
"declaration": {
|
|
9085
|
-
"name": "
|
|
9086
|
-
"module": "src/
|
|
9079
|
+
"name": "createGenesisWriteTools",
|
|
9080
|
+
"module": "src/genesis/write-tools.ts"
|
|
9087
9081
|
}
|
|
9088
9082
|
}
|
|
9089
9083
|
]
|
|
9090
9084
|
},
|
|
9085
|
+
{
|
|
9086
|
+
"kind": "javascript-module",
|
|
9087
|
+
"path": "src/genesis/write-turn.ts",
|
|
9088
|
+
"declarations": [],
|
|
9089
|
+
"exports": []
|
|
9090
|
+
},
|
|
9091
9091
|
{
|
|
9092
9092
|
"kind": "javascript-module",
|
|
9093
9093
|
"path": "src/main/attachment-controller.ts",
|