@onlyworlds/sdk 4.132.3 → 4.133.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +13 -0
- package/README.md +1 -1
- package/SCHEMA.md +20 -20
- package/dist/{chunk-BHO3TVAN.js → chunk-UNCDYXE2.js} +8 -4
- package/dist/index.d.ts +7 -2
- package/dist/index.js +1 -1
- package/dist/waymark.d.ts +4 -1
- package/dist/waymark.js +1 -1
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# For AI agents using @onlyworlds/sdk
|
|
2
2
|
|
|
3
|
-
**Current as of**: SDK **4.x** · schema-dist **v0.34.0-dist.
|
|
3
|
+
**Current as of**: SDK **4.x** · schema-dist **v0.34.0-dist.108** (canonical 00.34.00).
|
|
4
4
|
This line is asserted by `codegen:check` in CI — if the pin moves and this file is not
|
|
5
5
|
re-read against it, the check fails rather than letting this document rot quietly.
|
|
6
6
|
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,19 @@ earlier history lives in git log only.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [4.133.0] - 2026-11-06
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- `openersFor` reads a tools-list row's new `open.opens_public`: `true` when the tool's links open a public world for someone who is not signed in, although its `needs` is `account` for a private one. On a world's public page (the `public` audience) such a row is a live row with no word, instead of "Needs an account"; anywhere else it reads as its `needs` says, since only a public page knows the world is public. Absent or `false` reads as before, so a list without the key gives the same rows. The Waymark draws the row live there. `OwToolOpen` types the key.
|
|
13
|
+
- `openersFor` refuses an `opens_public` that is not `true` or `false`, and `true` beside a `needs` other than `account` (a row that needs nothing already opens a public world, and a row that needs the device never reaches a public page), as the tools list's own check does. Seven new cases in the shared openers fixture (110 in all, the same bytes as the Python package's).
|
|
14
|
+
|
|
15
|
+
## [4.132.4] - 2026-11-05
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- The schema pin moves to schema-dist `v0.34.0-dist.108` (canonical `00.34.00` unchanged, so `ONLYWORLDS_VERSION` is the same). Three description fixes across 19 fields, no field added or removed: `Event.constructs` says concepts, systems or built entities (no longer laws); the seventeen time fields say in one phrasing that they count in the World's `time_basic_unit`; `Map.hierarchy` says it is an integer to order or group the maps that share a parent, read as each tool chooses; three map descriptions lose a trailing space. The generated types' field comments and `SCHEMA.md` carry the new words.
|
|
20
|
+
|
|
8
21
|
## [4.132.3] - 2026-11-04
|
|
9
22
|
|
|
10
23
|
### Changed
|
package/README.md
CHANGED
|
@@ -473,7 +473,7 @@ const rows = openersFor(TOOLS, 'element', parseOwLink(link), { audience: 'member
|
|
|
473
473
|
|
|
474
474
|
Pass the element as you were served it (`{ element }`): a tool whose element door does not open what it carries (a room element, a hidden or proposed one, a Map, Pin or Marker, a reading aid: the list's `open.element_skips`, each read as `worldGraph` reads it) has no row, rather than a link to a page that cannot open it. Without it, every row is there.
|
|
475
475
|
|
|
476
|
-
`surface` says what the page knows and nothing is guessed: `audience` (`member` or `public`, the signed-out reader: the public sees the rows that need nothing, and a tool that needs an account as a row that says "Needs an account" and opens nothing; a tool that needs the device is not there), `signedIn` (`null` when the page cannot know, and then no row says so), `browser` (false in a desktop app), `phone`, `online` (false with no connection: every row whose link is a web address then says "Needs a connection"), and `tool`, the page's own client name, whose row says "You are here". Draw the rows as given; the words are decided here, so every surface says the same.
|
|
476
|
+
`surface` says what the page knows and nothing is guessed: `audience` (`member` or `public`, the signed-out reader: the public sees the rows that need nothing, and a tool that needs an account as a row that says "Needs an account" and opens nothing, unless its row says it opens a public world with no account (`open.opens_public`); a tool that needs the device is not there), `signedIn` (`null` when the page cannot know, and then no row says so), `browser` (false in a desktop app), `phone`, `online` (false with no connection: every row whose link is a web address then says "Needs a connection"), and `tool`, the page's own client name, whose row says "You are here". Draw the rows as given; the words are decided here, so every surface says the same.
|
|
477
477
|
|
|
478
478
|
### The Waymark: Open with, beside a name
|
|
479
479
|
|
package/SCHEMA.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OnlyWorlds Schema Reference
|
|
2
2
|
|
|
3
|
-
**Source**: https://github.com/OnlyWorlds/schema-dist @ **v0.34.0-dist.
|
|
3
|
+
**Source**: https://github.com/OnlyWorlds/schema-dist @ **v0.34.0-dist.108** — canonical schema **00.34.00**, published 2026-11-04.
|
|
4
4
|
|
|
5
5
|
GENERATED from the canonical schema YAML — do not hand-edit (regenerate: `python codegen/generate_types.py`).
|
|
6
6
|
Written for both humans and AI agents reading this package locally.
|
|
@@ -25,7 +25,7 @@ the group, the icon carries the type): blue · green · pink · amber.
|
|
|
25
25
|
### Mechanics
|
|
26
26
|
|
|
27
27
|
- `activation` (text) — Method or conditions under which the ability is activated
|
|
28
|
-
- `duration` (integer) — Length of time the ability remains active or its effects persist,
|
|
28
|
+
- `duration` (integer) — Length of time the ability remains active or its effects persist, in the world's time unit (World time_basic_unit)
|
|
29
29
|
- `potency` (integer) — Relative measure of the ability's inherent potency or force, used for scaling or comparison purposes
|
|
30
30
|
- `range` (integer) — Effective reach or distance at which the ability can be used, in the world's distance unit (World distance_unit)
|
|
31
31
|
- `effects` (multi link → phenomenon) — Phenomena that result from the ability's use, such as environmental changes or sensory effects
|
|
@@ -60,7 +60,7 @@ the group, the icon carries the type): blue · green · pink · amber.
|
|
|
60
60
|
|
|
61
61
|
- `background` (text) — History, upbringing, or formative experiences of the character
|
|
62
62
|
- `motivations` (text) — Core desires, goals, or values that drive the character's choices and behavior
|
|
63
|
-
- `birth_date` (integer) — Moment of birth,
|
|
63
|
+
- `birth_date` (integer) — Moment of birth, in the world's time unit (World time_basic_unit)
|
|
64
64
|
- `birthplace` (single link → location) — Location where the character was born
|
|
65
65
|
- `languages` (multi link → language) — Languages the character can understand, speak, or use for communication
|
|
66
66
|
|
|
@@ -105,7 +105,7 @@ the group, the icon carries the type): blue · green · pink · amber.
|
|
|
105
105
|
|
|
106
106
|
- `composition` (text) — Internal structure or demographic makeup of the collective
|
|
107
107
|
- `count` (integer) — Number of members in the collective (approximate or exact)
|
|
108
|
-
- `formation_date` (integer) — Date the collective was formed,
|
|
108
|
+
- `formation_date` (integer) — Date the collective was formed, in the world's time unit (World time_basic_unit)
|
|
109
109
|
- `operator` (single link → institution) — Institution that manages or directs the collective
|
|
110
110
|
- `equipment` (multi link → object) — Tools or gear in possession of and/or regularly used by the collective
|
|
111
111
|
|
|
@@ -134,7 +134,7 @@ the group, the icon carries the type): blue · green · pink · amber.
|
|
|
134
134
|
- `history` (text) — The historical development or ideation of the construct, and its place in wider historical contexts
|
|
135
135
|
- `status` (text) — The present condition or operational status of the construct
|
|
136
136
|
- `reach` (text) — The geographic, cultural, or political extent of the construct's influence
|
|
137
|
-
- `start_date` (integer) — The point in time when the construct began or was first established
|
|
137
|
+
- `start_date` (integer) — The point in time when the construct began or was first established, in the world's time unit (World time_basic_unit)
|
|
138
138
|
- `end_date` (integer) — The point in time when the construct ceased to function or lost its meaning
|
|
139
139
|
- `founder` (single link → character) — Character who conceived or initiated the construct
|
|
140
140
|
- `custodian` (single link → institution) — Institution maintaining, enforcing, or exploiting the construct
|
|
@@ -182,7 +182,7 @@ the group, the icon carries the type): blue · green · pink · amber.
|
|
|
182
182
|
### World
|
|
183
183
|
|
|
184
184
|
- `status` (text) — Current situation or classification of the creature
|
|
185
|
-
- `birth_date` (integer) — The time of the creature's birth,
|
|
185
|
+
- `birth_date` (integer) — The time of the creature's birth, in the world's time unit (World time_basic_unit)
|
|
186
186
|
- `location` (single link → location) — Specific location where the creature is currently found or most associated with
|
|
187
187
|
- `zone` (single link → zone) — Larger area or region commonly inhabited or currently claimed by the creature
|
|
188
188
|
|
|
@@ -224,7 +224,7 @@ the group, the icon carries the type): blue · green · pink · amber.
|
|
|
224
224
|
- `families` (multi link → family) — Families relevant to the event
|
|
225
225
|
- `relations` (multi link → relation) — Interpersonal or political relations relevant to the event
|
|
226
226
|
- `titles` (multi link → title) — Titles relevant to the event
|
|
227
|
-
- `constructs` (multi link → construct) — Concepts,
|
|
227
|
+
- `constructs` (multi link → construct) — Concepts, systems or built entities relevant to the event
|
|
228
228
|
|
|
229
229
|
|
|
230
230
|
## family · colour: blue · icon: supervisor_account
|
|
@@ -255,7 +255,7 @@ the group, the icon carries the type): blue · green · pink · amber.
|
|
|
255
255
|
### Foundation
|
|
256
256
|
|
|
257
257
|
- `doctrine` (text) — Core belief, mission, or purpose that drives the institution
|
|
258
|
-
- `founding_date` (integer) — Date when the institution was established, in the world's
|
|
258
|
+
- `founding_date` (integer) — Date when the institution was established, in the world's time unit (World time_basic_unit)
|
|
259
259
|
- `parent_institution` (single link → institution) — Institution that governs, embodies, or originated this one
|
|
260
260
|
|
|
261
261
|
### Claims
|
|
@@ -297,7 +297,7 @@ the group, the icon carries the type): blue · green · pink · amber.
|
|
|
297
297
|
|
|
298
298
|
- `declaration` (text) — The formal wording, expression, or decree of the law
|
|
299
299
|
- `purpose` (text) — The intent, motivation, or justification for the law's creation
|
|
300
|
-
- `date` (integer) — Date the law was formally established, in world
|
|
300
|
+
- `date` (integer) — Date the law was formally established, in the world's time unit (World time_basic_unit)
|
|
301
301
|
- `parent_law` (single link → law) — A law that this law derives from, modifies, or enhances
|
|
302
302
|
- `penalties` (multi link → construct) — Consequences intended to be applied when the law is contravened
|
|
303
303
|
|
|
@@ -374,7 +374,7 @@ the group, the icon carries the type): blue · green · pink · amber.
|
|
|
374
374
|
### Details
|
|
375
375
|
|
|
376
376
|
- `background_color` (text) — Color of the space around the map when zoomed out
|
|
377
|
-
- `hierarchy` (integer) —
|
|
377
|
+
- `hierarchy` (integer) — An integer to order or group the maps that share a parent; how a tool reads it is the tool's own
|
|
378
378
|
- `width` (integer) — In pixels
|
|
379
379
|
- `height` (integer) — In pixels
|
|
380
380
|
- `depth` (integer) — In pixels
|
|
@@ -402,8 +402,8 @@ the group, the icon carries the type): blue · green · pink · amber.
|
|
|
402
402
|
|
|
403
403
|
- `story` (text) — Content of the narrative, as told or remembered
|
|
404
404
|
- `consequences` (text) — Outcomes or legacy of the narrative
|
|
405
|
-
- `start_date` (integer) — Date when the narrative is first told or recorded,
|
|
406
|
-
- `end_date` (integer) — Date when the narrative stops being told,
|
|
405
|
+
- `start_date` (integer) — Date when the narrative is first told or recorded, in the world's time unit (World time_basic_unit); the span it recounts lives on its events
|
|
406
|
+
- `end_date` (integer) — Date when the narrative stops being told, in the world's time unit (World time_basic_unit); empty while it is still told
|
|
407
407
|
- `order` (integer) — Position of this narrative within a parent narrative's sequence
|
|
408
408
|
- `parent_narrative` (single link → narrative) — Larger narrative that this narrative takes place in
|
|
409
409
|
- `protagonist` (single link → character) — Primary character of the narrative
|
|
@@ -467,7 +467,7 @@ the group, the icon carries the type): blue · green · pink · amber.
|
|
|
467
467
|
|
|
468
468
|
- `expression` (text) — How the phenomenon manifests or takes shape in the world
|
|
469
469
|
- `effects` (text) — The primary outcomes or changes caused by the phenomenon
|
|
470
|
-
- `duration` (integer) — The amount of time the phenomenon lasts,
|
|
470
|
+
- `duration` (integer) — The amount of time the phenomenon lasts, in the world's time unit (World time_basic_unit)
|
|
471
471
|
- `catalysts` (multi link → object) — Objects or materials that initiate or enhance the phenomenon
|
|
472
472
|
- `empowerments` (multi link → ability) — Abilities that initiate or enhance the phenomenon, or are initiated or enhanced by it
|
|
473
473
|
|
|
@@ -498,8 +498,8 @@ the group, the icon carries the type): blue · green · pink · amber.
|
|
|
498
498
|
### Nature
|
|
499
499
|
|
|
500
500
|
- `background` (text) — History and origin of the relation
|
|
501
|
-
- `start_date` (integer) — Date when the relation began,
|
|
502
|
-
- `end_date` (integer) — Date when the relation ended if any,
|
|
501
|
+
- `start_date` (integer) — Date when the relation began, in the world's time unit (World time_basic_unit)
|
|
502
|
+
- `end_date` (integer) — Date when the relation ended if any, in the world's time unit (World time_basic_unit)
|
|
503
503
|
- `intensity` (integer) — Significance of the relation, on a relative scale of 0 to 100
|
|
504
504
|
- `actor` (single link → character) — Primary character defining the relation
|
|
505
505
|
- `events` (multi link → event) — Events where the relation is involved or relevant
|
|
@@ -530,7 +530,7 @@ the group, the icon carries the type): blue · green · pink · amber.
|
|
|
530
530
|
### Biology
|
|
531
531
|
|
|
532
532
|
- `appearance` (text) — Typical physical or form features of the species
|
|
533
|
-
- `life_span` (integer) — Average or typical life expectancy of an individual,
|
|
533
|
+
- `life_span` (integer) — Average or typical life expectancy of an individual, in the world's time unit (World time_basic_unit)
|
|
534
534
|
- `weight` (integer) — Average or typical adult weight, in the world's mass unit (World mass_unit)
|
|
535
535
|
- `nourishment` (multi link → species) — Other species consumed as food sources
|
|
536
536
|
- `reproduction` (multi link → construct) — Reproductive method(s) of the species
|
|
@@ -561,8 +561,8 @@ the group, the icon carries the type): blue · green · pink · amber.
|
|
|
561
561
|
|
|
562
562
|
- `authority` (text) — Rights or powers granted by the title
|
|
563
563
|
- `eligibility` (text) — Conditions or qualifications for receiving or holding the title
|
|
564
|
-
- `grant_date` (integer) — Date on which the title was created or first granted,
|
|
565
|
-
- `revoke_date` (integer) — Date on which the title ended or was abolished,
|
|
564
|
+
- `grant_date` (integer) — Date on which the title was created or first granted, in the world's time unit (World time_basic_unit); a holder's own span is a Relation, not this field
|
|
565
|
+
- `revoke_date` (integer) — Date on which the title ended or was abolished, in the world's time unit (World time_basic_unit); a holder's own span is a Relation, not this field
|
|
566
566
|
- `issuer` (single link → institution) — Institution that formally created or granted the title
|
|
567
567
|
- `body` (single link → institution) — Institution in which the title functions or holds relevance
|
|
568
568
|
- `superior_title` (single link → title) — Another title that has authority over this one
|
|
@@ -622,8 +622,8 @@ the group, the icon carries the type): blue · green · pink · amber.
|
|
|
622
622
|
|
|
623
623
|
- `role` (text) — The operational function or intent of the zone
|
|
624
624
|
- `shape` (text) — How the zone's markers are joined: polygon (a closed area: the last marker joins the first) or line (an open path, drawn in marker order). Lowercase. Empty, absent, or any other value means the shape is not stated, and a reader draws a polygon
|
|
625
|
-
- `start_date` (integer) — Date when the zone becomes extant or relevant,
|
|
626
|
-
- `end_date` (integer) — Date when the zone ceases to be meaningful or enforced,
|
|
625
|
+
- `start_date` (integer) — Date when the zone becomes extant or relevant, in the world's time unit (World time_basic_unit)
|
|
626
|
+
- `end_date` (integer) — Date when the zone ceases to be meaningful or enforced, in the world's time unit (World time_basic_unit)
|
|
627
627
|
- `phenomena` (multi link → phenomenon) — Phenomena that affect, define, or occur within the zone
|
|
628
628
|
- `linked_zones` (multi link → zone) — Other zones that are associated with the zone
|
|
629
629
|
|
|
@@ -1354,6 +1354,9 @@ function openersFor(tools, kind, address, surface, options = {}) {
|
|
|
1354
1354
|
const elementDoor = templateOf(r.id, "element", o.element);
|
|
1355
1355
|
const needs = o.needs === void 0 ? null : o.needs;
|
|
1356
1356
|
if (!NEEDS.includes(needs)) fail(`tool ${r.id}: open.needs is 'account', 'device' or null; got ${JSON.stringify(needs)}`);
|
|
1357
|
+
const opensPublic = o.opens_public === void 0 ? false : o.opens_public;
|
|
1358
|
+
if (typeof opensPublic !== "boolean") fail(`tool ${r.id}: open.opens_public is true or false; got ${JSON.stringify(o.opens_public)}`);
|
|
1359
|
+
if (opensPublic && needs !== "account") fail(`tool ${r.id}: open.opens_public is true only beside needs 'account'; got needs ${JSON.stringify(needs)}`);
|
|
1357
1360
|
const skips = o.element_skips === void 0 || o.element_skips === null ? [] : o.element_skips;
|
|
1358
1361
|
if (!Array.isArray(skips) || skips.some((s) => !ELEMENT_MARKS.includes(s))) {
|
|
1359
1362
|
fail(`tool ${r.id}: open.element_skips is a list of ${ELEMENT_MARKS.join(", ")}; got ${JSON.stringify(o.element_skips)}`);
|
|
@@ -1371,13 +1374,14 @@ function openersFor(tools, kind, address, surface, options = {}) {
|
|
|
1371
1374
|
if (kind === "element" && marks.some((m) => skips.includes(m))) continue;
|
|
1372
1375
|
if (kind === "element" && types !== null && !types.includes(type)) continue;
|
|
1373
1376
|
const href = fill(template);
|
|
1377
|
+
const need = audience === "public" && opensPublic ? null : needs;
|
|
1374
1378
|
let state = null;
|
|
1375
1379
|
if (tool !== null && r.client === tool) state = "You are here";
|
|
1376
1380
|
else if (offline(href)) state = OFFLINE;
|
|
1377
|
-
else if (audience === "public" &&
|
|
1378
|
-
else if (
|
|
1379
|
-
else if (
|
|
1380
|
-
else if (
|
|
1381
|
+
else if (audience === "public" && need === "account") state = NO_ACCOUNT;
|
|
1382
|
+
else if (need === "account" && !browser) state = "Opens in your browser";
|
|
1383
|
+
else if (need === "account" && signedIn === false) state = `Sign in to ${r.name} first`;
|
|
1384
|
+
else if (need === "device" && phone) state = "Needs the world on this phone";
|
|
1381
1385
|
else if (kind === "element" && elementDoor === null) state = "Opens the world";
|
|
1382
1386
|
rows.push({ id: r.id, name: r.name, href, state });
|
|
1383
1387
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -5924,6 +5924,8 @@ interface OwToolOpen {
|
|
|
5924
5924
|
element_skips?: readonly OwElementMark[];
|
|
5925
5925
|
/** The element types the element door opens, as type words (`character`); null or absent: every type (a list older than the key has none). */
|
|
5926
5926
|
element_types?: readonly string[] | null;
|
|
5927
|
+
/** True when the links open a public world for someone not signed in, though `needs` is `account` for a private one: a public page offers the row live. Only beside `needs: 'account'`; absent or false: as `needs` says. */
|
|
5928
|
+
opens_public?: boolean;
|
|
5927
5929
|
}
|
|
5928
5930
|
/** The keys of one tools list row that `openersFor` reads; a row straight from `tools.json` carries more, and they are ignored. */
|
|
5929
5931
|
interface OwTool {
|
|
@@ -5985,7 +5987,9 @@ interface OwOpener {
|
|
|
5985
5987
|
* door or not: the tool opens other kinds of element (read from the address, so no element body is needed;
|
|
5986
5988
|
* a world's menu reads no element types). For the `public` audience (the signed-out
|
|
5987
5989
|
* reader) a row whose `open.needs` is `device` is not there, since a visitor's device holds no world of
|
|
5988
|
-
* this one's, and a row whose `needs` is `account` is there and says it needs one
|
|
5990
|
+
* this one's, and a row whose `needs` is `account` is there and says it needs one, unless its
|
|
5991
|
+
* `open.opens_public` is true: its links open a public world with nothing signed in, so on a public page
|
|
5992
|
+
* it needs nothing and reads as a live row. Anywhere else the row reads as its `needs` says.
|
|
5989
5993
|
*
|
|
5990
5994
|
* Each row's `state`, the first that holds: "You are here" for the surface's own tool (its `client` is
|
|
5991
5995
|
* `surface.tool`); then, when `surface.online` is false, "Needs a connection" for a row whose href is a
|
|
@@ -6006,7 +6010,8 @@ interface OwOpener {
|
|
|
6006
6010
|
* key on the address, the surface or the options, a missing or unknown `audience`, a surface value of the
|
|
6007
6011
|
* wrong type, an element given for a world's menu or naming another element than the address, a tools row
|
|
6008
6012
|
* that is not one (a `needs`, an `element_skips` or an `element_types` word outside the list's format, an
|
|
6009
|
-
* empty `element_types`,
|
|
6013
|
+
* empty `element_types`, `element_types` on a row with no element door, or an `opens_public` that is
|
|
6014
|
+
* not true or false, or true beside a `needs` other than `account`, included).
|
|
6010
6015
|
*/
|
|
6011
6016
|
declare function openersFor(tools: readonly OwTool[], kind: OwOpenerKind, address: OwAddress | OwAddressReading, surface: OwOpenerSurface, options?: OwOpenersOptions): OwOpener[];
|
|
6012
6017
|
|
package/dist/index.js
CHANGED
package/dist/waymark.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ interface OwToolOpen {
|
|
|
15
15
|
element_skips?: readonly OwElementMark[];
|
|
16
16
|
/** The element types the element door opens, as type words (`character`); null or absent: every type (a list older than the key has none). */
|
|
17
17
|
element_types?: readonly string[] | null;
|
|
18
|
+
/** True when the links open a public world for someone not signed in, though `needs` is `account` for a private one: a public page offers the row live. Only beside `needs: 'account'`; absent or false: as `needs` says. */
|
|
19
|
+
opens_public?: boolean;
|
|
18
20
|
}
|
|
19
21
|
/** The keys of one tools list row that `openersFor` reads; a row straight from `tools.json` carries more, and they are ignored. */
|
|
20
22
|
interface OwTool {
|
|
@@ -104,7 +106,8 @@ interface OwWaymark {
|
|
|
104
106
|
*
|
|
105
107
|
* For the public reader, a tool that needs an account says "Needs an account" and is drawn the same
|
|
106
108
|
* way: grey, a link with no href, `aria-disabled="true"`, in the arrow and Tab order, doing nothing
|
|
107
|
-
* when pressed.
|
|
109
|
+
* when pressed. A tool whose row opens a public world with nothing signed in (`open.opens_public`) is
|
|
110
|
+
* a live row there.
|
|
108
111
|
*
|
|
109
112
|
* Keyboard: the mark is a button and the fan-out a menu; Tab goes from the mark through the rows in
|
|
110
113
|
* order, the arrow keys, Home and End move within it, Escape closes it and returns focus to what opened
|
package/dist/waymark.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
openersFor,
|
|
7
7
|
refuseUnknownOptions,
|
|
8
8
|
typeWord
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UNCDYXE2.js";
|
|
10
10
|
|
|
11
11
|
// src/waymark/glyphs.ts
|
|
12
12
|
var MARK_PATH = "M48.8 0.0 43.8 0.4 39.0 1.2 36.0 2.0 33.2 2.9 29.3 4.5 24.8 6.8 20.6 9.5 17.0 12.4 13.6 15.7 10.4 19.4 7.8 23.1 5.8 26.6 4.5 29.3 3.3 32.1 1.8 36.8 0.8 41.2 0.1 46.3 0.0 51.1 0.4 56.2 1.2 61.0 2.0 63.9 2.9 66.8 4.5 70.7 6.8 75.2 9.5 79.4 12.4 82.9 15.7 86.3 19.4 89.5 23.1 92.1 26.6 94.2 29.3 95.5 32.1 96.7 36.8 98.2 41.2 99.2 46.3 99.8 51.1 100.0 56.2 99.6 61.0 98.8 63.9 98.0 66.8 97.1 70.7 95.5 75.2 93.2 79.4 90.4 82.9 87.6 86.3 84.3 89.5 80.5 92.1 76.9 94.2 73.4 95.5 70.7 96.7 67.9 98.2 63.2 99.2 58.7 99.8 53.7 100.0 48.8 99.6 43.8 98.6 38.4 97.1 33.2 95.5 29.3 93.2 24.8 90.4 20.6 87.6 17.0 84.3 13.6 80.5 10.4 76.9 7.8 73.4 5.8 70.7 4.5 67.9 3.3 63.2 1.8 58.7 0.8 53.7 0.1ZM77.5 80.7 74.1 83.4 70.7 85.7 67.0 87.5 64.5 88.6 64.1 88.7 65.7 86.3 67.1 83.9 68.7 80.7 69.9 77.6 72.7 78.5 73.0 78.4ZM22.5 80.7 25.6 79.0 27.3 78.3 30.0 77.6 31.3 80.7 32.8 83.9 34.2 86.3 35.9 88.7 32.9 87.5 29.3 85.7 25.8 83.4ZM51.2 74.5 55.1 74.7 59.9 75.2 64.2 76.0 67.5 76.9 66.0 80.5 64.2 84.0 62.0 87.4 59.6 90.1 55.1 90.9 52.2 91.2 51.2 91.1ZM48.7 74.5 48.8 91.1 47.7 91.2 44.9 90.9 40.3 90.1 38.2 87.8 36.3 85.0 34.2 81.2 32.5 77.0 35.8 76.0 40.5 75.2 44.5 74.7ZM91.1 51.2 91.1 52.9 90.8 56.3 90.1 59.7 89.3 62.5 88.5 64.8 87.2 67.7 85.7 70.7 83.9 73.4 82.0 75.9 79.4 78.9 76.3 77.2 73.8 76.1 76.2 68.8 77.8 62.7 78.7 56.8 79.0 51.2ZM55.8 51.2 67.7 51.2 67.6 55.1 67.2 59.0 66.7 61.5 65.7 65.0 61.0 64.2 55.7 63.6ZM32.5 51.2 44.5 51.2 44.4 63.6 39.7 64.1 34.5 65.0 33.5 61.3 32.9 58.1 32.5 54.2ZM8.8 51.2 21.0 51.2 21.0 53.3 21.4 56.6 22.7 64.0 23.8 68.4 25.0 72.1 26.6 75.9 23.7 77.2 20.6 78.9 18.5 76.7 16.5 74.1 14.8 71.5 13.4 69.1 12.1 66.3 11.0 63.6 10.1 60.5 9.4 57.3 8.9 53.5 8.8 51.3ZM36.2 27.0 39.5 27.5 44.5 28.2 44.4 48.8 32.4 48.7 32.8 44.5 33.6 39.1 35.0 32.0ZM63.9 26.9 65.2 32.1 66.6 39.2 67.4 44.8 67.7 48.7 55.8 48.8 55.7 28.1 60.5 27.5ZM74.8 23.4 76.9 22.5 79.4 21.1 82.0 24.0 84.8 27.8 86.2 30.3 87.5 32.9 88.6 35.4 89.5 38.1 90.3 41.2 90.8 44.0 91.1 47.0 91.1 48.8 79.0 48.7 78.7 44.6 78.0 39.3 76.5 31.2 74.7 23.5ZM25.5 23.5 25.5 23.7 24.5 26.8 23.7 30.2 22.4 36.6 21.5 42.5 21.1 48.7 8.8 48.8 8.8 47.0 9.2 43.7 9.8 40.8 10.5 38.1 11.5 35.2 12.4 32.9 13.8 30.2 15.2 27.8 17.9 24.0 20.6 21.1 23.1 22.5ZM64.1 11.3 67.0 12.4 70.7 14.3 74.1 16.5 77.5 19.3 75.6 20.3 73.2 21.5 70.0 22.6 68.7 19.2 67.1 16.1 65.7 13.6ZM35.9 11.3 34.2 13.6 32.8 16.1 31.3 19.2 30.0 22.5 27.9 21.9 26.4 21.3 22.5 19.3 25.8 16.5 29.3 14.3 32.9 12.4 35.4 11.4ZM51.2 8.8 52.2 8.8 55.1 9.0 59.6 9.9 61.7 12.2 64.2 16.0 66.0 19.5 67.6 23.3 64.3 24.3 59.4 25.2 56.2 25.6 51.2 25.5ZM48.8 8.8 48.7 25.5 44.2 25.6 40.6 25.2 36.4 24.5 32.4 23.2 33.9 19.5 35.7 16.0 38.2 12.2 40.3 9.9 44.9 9.0 47.7 8.8Z";
|