@onlyworlds/sdk 4.164.0 → 4.165.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 +12 -0
- package/SCHEMA.md +1 -1
- package/dist/{chunk-BZR7JNPK.js → chunk-JC5UX7XH.js} +31 -1
- package/dist/index.d.ts +28 -2
- package/dist/index.js +3 -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.1-dist.
|
|
3
|
+
**Current as of**: SDK **4.x** · schema-dist **v0.34.1-dist.127** (canonical 00.34.01).
|
|
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,18 @@ earlier history lives in git log only.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [4.165.0] - 2026-11-14
|
|
9
|
+
|
|
10
|
+
schema-dist v0.34.1-dist.127 (canonical 00.34.01 unchanged; `ONLYWORLDS_VERSION` unchanged, no schema file moved). The fixtures' new cases pass: the address profile's glued starts (216 cases), the views fixture's own-banner table, three layout-mark cases and four presence cases.
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- `readOwLinkAt` answers null when the address would begin inside a word: after a letter of any script, a combining mark or an underscore (`elbow://object/<id>` is prose), the same set that cuts a run after it; a hyphen or a digit before `ow://` does not glue. A letter above U+FFFF before the index is read whole.
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- `findOwLinks(text)`: every address in a text, in order, each `{start, end, reading}` (`OwAddressFound`), read by `readOwLinkAt` at each place either prefix starts; none overlap, and a start that reads nothing is passed. Linear in the text: each prefix's next place is searched once, and `readOwLinkAt` now passes over every path end that is not an id without a parse (a refused parse costs an exception), so a megabyte of bare `ow://` reads in tens of milliseconds where it took seconds. No answer of `readOwLinkAt` changes but the start rule's.
|
|
19
|
+
|
|
8
20
|
## [4.164.0] - 2026-11-14
|
|
9
21
|
|
|
10
22
|
### Added
|
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.1-dist.
|
|
3
|
+
**Source**: https://github.com/OnlyWorlds/schema-dist @ **v0.34.1-dist.127** — canonical schema **00.34.01**, published 2026-11-14.
|
|
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.
|
|
@@ -1387,6 +1387,14 @@ var PATH_MAX = 36 + 1 + Math.max(...ELEMENT_TYPES.map((t) => t.length)) + 1 + 36
|
|
|
1387
1387
|
var ELEMENT_PATH_MAX = 1 + Math.max(...ELEMENT_TYPES.map((t) => t.length)) + 1 + 36;
|
|
1388
1388
|
var WORLD_RUN_CHAR = /[0-9a-zA-F-]/;
|
|
1389
1389
|
var IN_A_WORD = /^[\p{L}\p{M}_]/u;
|
|
1390
|
+
function codePointStart(text, i) {
|
|
1391
|
+
const c = text.charCodeAt(i);
|
|
1392
|
+
if (c >= 56320 && c <= 57343 && i > 0) {
|
|
1393
|
+
const h = text.charCodeAt(i - 1);
|
|
1394
|
+
if (h >= 55296 && h <= 56319) return i - 1;
|
|
1395
|
+
}
|
|
1396
|
+
return i;
|
|
1397
|
+
}
|
|
1390
1398
|
var STEP_RUN = /^-?[0-9]+/;
|
|
1391
1399
|
var ID_LENGTH = 36;
|
|
1392
1400
|
function parses(s) {
|
|
@@ -1401,6 +1409,7 @@ function parses(s) {
|
|
|
1401
1409
|
function readOwLinkAt(text, index = 0) {
|
|
1402
1410
|
if (typeof text !== "string") throw new TypeError("readOwLinkAt: text must be a string");
|
|
1403
1411
|
if (typeof index !== "number" || !Number.isInteger(index) || index < 0) throw new TypeError("readOwLinkAt: index must be a whole number from 0");
|
|
1412
|
+
if (index > 0 && index <= text.length && IN_A_WORD.test(String.fromCodePoint(text.codePointAt(codePointStart(text, index - 1))))) return null;
|
|
1404
1413
|
const human = text.startsWith(HUMAN_PREFIX, index);
|
|
1405
1414
|
let start;
|
|
1406
1415
|
if (human) start = index + HUMAN_PREFIX.length;
|
|
@@ -1421,7 +1430,7 @@ function readOwLinkAt(text, index = 0) {
|
|
|
1421
1430
|
while (run < text.length && run - start <= PATH_MAX && PATH_CHAR.test(text[run])) run++;
|
|
1422
1431
|
}
|
|
1423
1432
|
for (let p = run; p > floor; p--) {
|
|
1424
|
-
if (parses(text.slice(index, p))) {
|
|
1433
|
+
if (p - ID_LENGTH >= start && isUuid(text.slice(p - ID_LENGTH, p)) && parses(text.slice(index, p))) {
|
|
1425
1434
|
end = p;
|
|
1426
1435
|
break;
|
|
1427
1436
|
}
|
|
@@ -1437,6 +1446,26 @@ function readOwLinkAt(text, index = 0) {
|
|
|
1437
1446
|
}
|
|
1438
1447
|
return { reading: parseOwLink(text.slice(index, end)), end };
|
|
1439
1448
|
}
|
|
1449
|
+
function findOwLinks(text) {
|
|
1450
|
+
if (typeof text !== "string") throw new TypeError("findOwLinks: text must be a string");
|
|
1451
|
+
const found = [];
|
|
1452
|
+
let nextText = text.indexOf(TEXT_PREFIX);
|
|
1453
|
+
let nextHuman = text.indexOf(HUMAN_PREFIX);
|
|
1454
|
+
let at = 0;
|
|
1455
|
+
for (; ; ) {
|
|
1456
|
+
if (nextText !== -1 && nextText < at) nextText = text.indexOf(TEXT_PREFIX, at);
|
|
1457
|
+
if (nextHuman !== -1 && nextHuman < at) nextHuman = text.indexOf(HUMAN_PREFIX, at);
|
|
1458
|
+
const start = nextText === -1 ? nextHuman : nextHuman === -1 ? nextText : Math.min(nextText, nextHuman);
|
|
1459
|
+
if (start === -1) return found;
|
|
1460
|
+
const got = readOwLinkAt(text, start);
|
|
1461
|
+
if (got === null) {
|
|
1462
|
+
at = start + 1;
|
|
1463
|
+
} else {
|
|
1464
|
+
found.push({ start, end: got.end, reading: got.reading });
|
|
1465
|
+
at = got.end;
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1440
1469
|
|
|
1441
1470
|
// src/marks.ts
|
|
1442
1471
|
var ELEMENT_MARKS = ["room", "hidden", "proposed", "map_space", "reading_aid"];
|
|
@@ -1817,6 +1846,7 @@ export {
|
|
|
1817
1846
|
elementAddress,
|
|
1818
1847
|
parseOwLink,
|
|
1819
1848
|
readOwLinkAt,
|
|
1849
|
+
findOwLinks,
|
|
1820
1850
|
openersFor,
|
|
1821
1851
|
TOOLS,
|
|
1822
1852
|
doorsOf,
|
package/dist/index.d.ts
CHANGED
|
@@ -6600,6 +6600,15 @@ declare function elementAddress(address: OwAddress | OwAddressReading): string;
|
|
|
6600
6600
|
* canonical); the text forms take the id only. Ids are read in either case of hex and given lowercase.
|
|
6601
6601
|
*/
|
|
6602
6602
|
declare function parseOwLink(text: string): OwAddressReading;
|
|
6603
|
+
/** What `findOwLinks` answers for each address in a text: where it starts and ends, and what it reads. */
|
|
6604
|
+
interface OwAddressFound {
|
|
6605
|
+
/** The index of the address's first character in the text. */
|
|
6606
|
+
start: number;
|
|
6607
|
+
/** The index just past the address, as `readOwLinkAt` answers it. */
|
|
6608
|
+
end: number;
|
|
6609
|
+
/** What `parseOwLink` answers for `text.slice(start, end)`. */
|
|
6610
|
+
reading: OwAddressReading;
|
|
6611
|
+
}
|
|
6603
6612
|
/** What `readOwLinkAt` answers: the address read, and the index just past it in the text. */
|
|
6604
6613
|
interface OwAddressAt {
|
|
6605
6614
|
/** What `parseOwLink` answers for `text.slice(index, end)`. */
|
|
@@ -6619,7 +6628,10 @@ interface OwAddressAt {
|
|
|
6619
6628
|
* grammar, its whole run of an optional minus and digits) and then `?lens=` and a lens (an id, which ends where its 36
|
|
6620
6629
|
* characters end). Any other query key or a fragment is not part of an address found in prose: the address ends
|
|
6621
6630
|
* before its `?`, `&` or `#`, and a `@` or `?lens=` whose value does not read is not taken (the address ends before
|
|
6622
|
-
* it). What follows is prose, a full stop included (serial 123).
|
|
6631
|
+
* it). What follows is prose, a full stop included (serial 123). An address begins at the start of the text or after
|
|
6632
|
+
* a character that does not glue it to a word: after a letter (any script), a combining mark or an underscore the
|
|
6633
|
+
* start is inside a word and this answers null (`elbow://object/<id>`); a hyphen or a digit before it does not glue
|
|
6634
|
+
* (`x-ow://`, `3ow://`), the same set read from both ends.
|
|
6623
6635
|
*
|
|
6624
6636
|
* `end` is the index just past the address and `reading` what `parseOwLink` answers for `text.slice(index, end)`,
|
|
6625
6637
|
* which `parseOwLink` itself still reads whole, unchanged: `ow://object/<id>.` handed to it whole is refused.
|
|
@@ -6634,6 +6646,20 @@ interface OwAddressAt {
|
|
|
6634
6646
|
* ```
|
|
6635
6647
|
*/
|
|
6636
6648
|
declare function readOwLinkAt(text: string, index?: number): OwAddressAt | null;
|
|
6649
|
+
/**
|
|
6650
|
+
* Every address in a text, in order: each `{start, end, reading}`, read by `readOwLinkAt` at every place either
|
|
6651
|
+
* prefix (`ow://`, `https://www.onlyworlds.com/w/`) starts, so a start glued to a word is prose and what follows an
|
|
6652
|
+
* address is prose as `readOwLinkAt` says. The search goes on from the end of each address found, so no two overlap,
|
|
6653
|
+
* and from just past a start that reads nothing. Linear in the text: each prefix's next place is searched once, and
|
|
6654
|
+
* a start reads a bounded stretch. `start` and `end` count JavaScript string indexes, as `readOwLinkAt`'s do. A text
|
|
6655
|
+
* that is not a string is a TypeError.
|
|
6656
|
+
*
|
|
6657
|
+
* ```ts
|
|
6658
|
+
* findOwLinks('See ow://object/01a1d4ef-0000-7000-8000-000000000084, not elbow://object/01a1d4ef-0000-7000-8000-000000000084.');
|
|
6659
|
+
* // [{ start: 4, end: 52, reading: { type: 'object', id: '01a1d4ef-…', … } }]
|
|
6660
|
+
* ```
|
|
6661
|
+
*/
|
|
6662
|
+
declare function findOwLinks(text: string): OwAddressFound[];
|
|
6637
6663
|
|
|
6638
6664
|
/** One reason a lore view leaves an element out, as the graph section names it. */
|
|
6639
6665
|
type OwElementMark = 'room' | 'hidden' | 'proposed' | 'map_space' | 'reading_aid';
|
|
@@ -7948,4 +7974,4 @@ declare class TokenResource {
|
|
|
7948
7974
|
getEncryptionInfo(): Promise<EncryptionInfo>;
|
|
7949
7975
|
}
|
|
7950
7976
|
|
|
7951
|
-
export { AGENT_DOORS, ASK_LIMITS, type AccessKeyResponse, CALENDAR_FIELD, CALENDAR_SUPERTYPE, CHARTER_PAIRS, type CalendarConfig, type CalendarEra, type CalendarIntercalary, type CalendarMonths, type CalendarWeek, DATE_FIELD, ELEMENT_FAMILIES, ELEMENT_GROUPS, ELEMENT_ICONS, ELEMENT_LABELS, ELEMENT_SECTIONS, ELEMENT_TYPES, type ElementFamily, type ElementGroup, type ElementType, type EncryptionInfo, type EraDomain, FAMILY_COLORS, FAMILY_ORDER, FIELD_ACRONYMS, FIELD_SCHEMA, FILE_EXTENSIONS, type FieldInfo, type FieldType, GROUP_COLORS, GROUP_ORDER, GameTier, type ListParams, MESSAGE_PAIR, NOTE_PAIR, ONLYWORLDS_VERSION, type OwAccountToken, type OwAccountWorld, type OwAddress, type OwAddressAt, OwAddressError, type OwAddressForm, type OwAddressReading, type OwAddressReason, type OwAddressingOptions, type OwAgentJoined, type OwAiAskAnswer, type OwAiAskBody, type OwAiMeter, type OwAiRefusal, type OwAiSortAnswer, type OwAiSortBody, type OwAiToken, type OwAiUse, type OwAllowance, OwApiError, type OwAskAnswer, type OwAskContext, type OwAskContextOptions, type OwAskLeftOut, type OwAuthErrorCode, type OwBulkItem, type OwBulkItemResult, type OwBulkResponse, type OwCalendarElement, type OwChange, type OwChangeDelete, type OwChangeUpsert, type OwChangesPage, type OwCharterWorld, type OwClientConfig, type OwCreateAccountWorldInput, type OwCreatedAccountWorld, type OwCreatedWorldLink, type OwDeleteReason, type OwDoor, type OwDragField, type OwDraught, type OwDraughtCompact, type OwDraughtComponent, type OwDraughtItem, type OwDraughtLens, type OwDraughtPolicy, type OwEdited, type OwElement, type OwElementBase, type OwElementMark, type OwErrorBody, type OwFileAddedBy, type OwFileDownload, type OwFileKind, type OwFileRow, type OwFileTicket, type OwFrontDoor, type OwGraphCutReason, type OwGraphEdge, type OwGraphMark, type OwGraphNode, type OwGraphOptions, type OwHiddenRow, type OwInstant, type OwJoinPreview, type OwJoined, type OwJoinedMembership, type OwKeyKind, type OwLanding, type OwLandingCluster, type OwLandingGap, type OwLandingGapKind, type OwLandingMember, type OwLandingMode, type OwLandingOptions, type OwLayoutOf, type OwLensCutReason, type OwLensMail, type OwLensOptions, type OwLensReader, type OwLensReading, type OwLensWorld, type OwLinkEdit, type OwLookupElement, type OwLookupHit, type OwLookupLink, type OwLookupOptions, type OwLookupReason, type OwMapSpace, type OwMapSpaceMap, type OwMapSpaceOutReason, type OwMapSpaceOutline, type OwMapSpacePin, type OwMapSpacePoint, type OwMe, type OwMediaTicket, type OwMember, type OwMemberLenses, type OwMemberRole, type OwMessageMember, type OwMintedAiToken, type OwMintedKey, type OwMySeat, type OwNamesMap, OwNetworkError, type OwOpener, type OwOpenerKind, type OwOpenerState, type OwOpenerSurface, type OwOpenersOptions, type OwPage, type OwPaidBy, type OwPhotoOptions, type OwPhotoPlan, type OwPlayerJoined, OwPreconditionFailedError, type OwPreparedPhoto, type OwProposal, type OwProposalAccepted, type OwProposalConflict, type OwProposalList, type OwProposalQuery, type OwProposalState, type OwProposeInput, type OwProposed, OwProposedError, type OwProposedMark, type OwProposedNewElement, type OwReadWorldFile, type OwReadWorldFileOptions, type OwReadingAids, type OwReadingAidsCharter, type OwReadingAidsDomain, type OwReadingAidsGuide, type OwReadingAidsHub, type OwRecord, type OwRecordMark, type OwRecordStory, type OwRemovalTicket, type OwRemovedImage, type OwRenderOptions, type OwReportGroup, type OwReportLint, type OwReportParentKind, type OwReportThreads, type OwResyncReason, type OwReviewInput, type OwReviewed, type OwSearchResult, type OwSearchResults, type OwSeat, type OwSeatCreated, type OwSender, type OwSenderStatus, type OwServedReadingAids, type OwSignInBegin, type OwSignInBegun, type OwSignInComplete, OwSignInError, type OwSignInReason, type OwSignInResult, type OwSignInStorage, type OwSignedIn, type OwSortAddToRow, type OwSortAnswer, type OwSortAskRow, type OwSortLinkRow, type OwSortMakeRow, type OwSortNote, type OwSortRef, type OwSortRow, OwStaleProposalError, type OwStrand, type OwStrandSlot, type OwStrandWorld, type OwTool, type OwToolNeeds, type OwToolOpen, type OwTrailGround, type OwTrailHanger, type OwTrailInput, type OwTrailLayout, type OwTrailPin, type OwTrailPlace, type OwTrailSettings, type OwTrailSpiral, type OwTrailTier, type OwUploadedFile, type OwUploadedImage, OwV2Client, type OwView, type OwViewRow, type OwViewsTable, type OwWordPair, type OwWorldFileEntry, OwWorldFileError, type OwWorldFileReason, type OwWorldFileRow, type OwWorldFiles, type OwWorldGraph, type OwWorldIndex, type OwWorldKeyMember, type OwWorldKeyRow, type OwWorldLens, type OwWorldLensReading, type OwWorldLenses, type OwWorldLink, type OwWorldMeta, type OwWorldOrigin, type OwWorldProducer, type OwWorldProposalList, type OwWorldProposalQuery, type OwWorldProposalRow, type OwWorldPublicPage, type OwWorldSource, type OwWriteDoor, type OwWriteWorldFileOptions, type OwWriteWorldFileReport, PHOTO_MAX_BYTES, PHOTO_TYPES, PROPOSED_MARK, PUBLIC_FIELDS, type ParseError, type ParseOptions, type ParseResult, RECORD_FIELD, REVIEW_PROPOSED_LABEL, ROOM_PAIRS, type RevokeAllSessionsResponse, type RevokeSessionResponse, SPATIAL_TYPES, STRAND_FIELD, type SectionInfo, type StepBreakdown, TOOLS, TRAIL_TIERS, type TokenConsumeParams, type TokenConsumeResponse, TokenResource, type TokenStatus, type TokenTransport, VIEWS, WORLD_FILE_MAX_BYTES, WORLD_FILE_MAX_ENTRIES, WORLD_FILE_MEDIA_TYPE, type WorldCalendar, absYearForEraYear, absoluteYear, approxYearLength, base64url, breakdownStep, buildAskContext, buildWorldIndex, charterOf, compareInstants, dateOf, degreeOf, detectKeyKind, displayYear, domainsOf, doorWhere, doorsOf, dragField, draughtText, editedBy, elementAddress, elementColor, eraForStep, errorFromResponse, familyOf, fieldLabel, fileKindOf, floorDiv, floorMod, formatDuration, formatMidLabel, formatStep, formatYearLabel, getElementIcon, getElementLabel, groupOf, handsOnAsProposed, hasUnseenRecipients, instantOf, intercalaryInYear, isAddressedTo, isAgentDoor, isCharterElement, isDemoKey, isKnownOf, isLeapYear, isLens, isMessage, isNote, isParseError, isRoomElement, isSentBy, isTemplate, isToEveryone, kindCanWrite, landingOf, layoutOf, lensesInUse, lookupWorld, mapSpace, monthStartSteps, nfc, noteOf, openersFor, outDegreeOf, parseDate, parseErrorEnvelope, parseOwLink, pinExpectation, pkceChallenge, planPhoto, preparePhoto, proposedMarkOf, readCalendarConfig, readCalendarValue, readMarkOf, readOwLinkAt, readWorldFile, readingAidOf, recipientsOf, recordMarkOf, recordsOf, renderElement, reportThreadsOf, resolveCalendar, resolveCalendarLens, resolveEraDomains, resolveLens, roundHalfEven, senderStatus, simpleCaseFold, strandOf, threadOf, trailByPlace, typeWord, unreadFor, validateCalendarConfig, viewOf, weekdayForStep, worldCalendars, worldGraph, writeWorldFile, yearLength, yearStartStep };
|
|
7977
|
+
export { AGENT_DOORS, ASK_LIMITS, type AccessKeyResponse, CALENDAR_FIELD, CALENDAR_SUPERTYPE, CHARTER_PAIRS, type CalendarConfig, type CalendarEra, type CalendarIntercalary, type CalendarMonths, type CalendarWeek, DATE_FIELD, ELEMENT_FAMILIES, ELEMENT_GROUPS, ELEMENT_ICONS, ELEMENT_LABELS, ELEMENT_SECTIONS, ELEMENT_TYPES, type ElementFamily, type ElementGroup, type ElementType, type EncryptionInfo, type EraDomain, FAMILY_COLORS, FAMILY_ORDER, FIELD_ACRONYMS, FIELD_SCHEMA, FILE_EXTENSIONS, type FieldInfo, type FieldType, GROUP_COLORS, GROUP_ORDER, GameTier, type ListParams, MESSAGE_PAIR, NOTE_PAIR, ONLYWORLDS_VERSION, type OwAccountToken, type OwAccountWorld, type OwAddress, type OwAddressAt, OwAddressError, type OwAddressForm, type OwAddressFound, type OwAddressReading, type OwAddressReason, type OwAddressingOptions, type OwAgentJoined, type OwAiAskAnswer, type OwAiAskBody, type OwAiMeter, type OwAiRefusal, type OwAiSortAnswer, type OwAiSortBody, type OwAiToken, type OwAiUse, type OwAllowance, OwApiError, type OwAskAnswer, type OwAskContext, type OwAskContextOptions, type OwAskLeftOut, type OwAuthErrorCode, type OwBulkItem, type OwBulkItemResult, type OwBulkResponse, type OwCalendarElement, type OwChange, type OwChangeDelete, type OwChangeUpsert, type OwChangesPage, type OwCharterWorld, type OwClientConfig, type OwCreateAccountWorldInput, type OwCreatedAccountWorld, type OwCreatedWorldLink, type OwDeleteReason, type OwDoor, type OwDragField, type OwDraught, type OwDraughtCompact, type OwDraughtComponent, type OwDraughtItem, type OwDraughtLens, type OwDraughtPolicy, type OwEdited, type OwElement, type OwElementBase, type OwElementMark, type OwErrorBody, type OwFileAddedBy, type OwFileDownload, type OwFileKind, type OwFileRow, type OwFileTicket, type OwFrontDoor, type OwGraphCutReason, type OwGraphEdge, type OwGraphMark, type OwGraphNode, type OwGraphOptions, type OwHiddenRow, type OwInstant, type OwJoinPreview, type OwJoined, type OwJoinedMembership, type OwKeyKind, type OwLanding, type OwLandingCluster, type OwLandingGap, type OwLandingGapKind, type OwLandingMember, type OwLandingMode, type OwLandingOptions, type OwLayoutOf, type OwLensCutReason, type OwLensMail, type OwLensOptions, type OwLensReader, type OwLensReading, type OwLensWorld, type OwLinkEdit, type OwLookupElement, type OwLookupHit, type OwLookupLink, type OwLookupOptions, type OwLookupReason, type OwMapSpace, type OwMapSpaceMap, type OwMapSpaceOutReason, type OwMapSpaceOutline, type OwMapSpacePin, type OwMapSpacePoint, type OwMe, type OwMediaTicket, type OwMember, type OwMemberLenses, type OwMemberRole, type OwMessageMember, type OwMintedAiToken, type OwMintedKey, type OwMySeat, type OwNamesMap, OwNetworkError, type OwOpener, type OwOpenerKind, type OwOpenerState, type OwOpenerSurface, type OwOpenersOptions, type OwPage, type OwPaidBy, type OwPhotoOptions, type OwPhotoPlan, type OwPlayerJoined, OwPreconditionFailedError, type OwPreparedPhoto, type OwProposal, type OwProposalAccepted, type OwProposalConflict, type OwProposalList, type OwProposalQuery, type OwProposalState, type OwProposeInput, type OwProposed, OwProposedError, type OwProposedMark, type OwProposedNewElement, type OwReadWorldFile, type OwReadWorldFileOptions, type OwReadingAids, type OwReadingAidsCharter, type OwReadingAidsDomain, type OwReadingAidsGuide, type OwReadingAidsHub, type OwRecord, type OwRecordMark, type OwRecordStory, type OwRemovalTicket, type OwRemovedImage, type OwRenderOptions, type OwReportGroup, type OwReportLint, type OwReportParentKind, type OwReportThreads, type OwResyncReason, type OwReviewInput, type OwReviewed, type OwSearchResult, type OwSearchResults, type OwSeat, type OwSeatCreated, type OwSender, type OwSenderStatus, type OwServedReadingAids, type OwSignInBegin, type OwSignInBegun, type OwSignInComplete, OwSignInError, type OwSignInReason, type OwSignInResult, type OwSignInStorage, type OwSignedIn, type OwSortAddToRow, type OwSortAnswer, type OwSortAskRow, type OwSortLinkRow, type OwSortMakeRow, type OwSortNote, type OwSortRef, type OwSortRow, OwStaleProposalError, type OwStrand, type OwStrandSlot, type OwStrandWorld, type OwTool, type OwToolNeeds, type OwToolOpen, type OwTrailGround, type OwTrailHanger, type OwTrailInput, type OwTrailLayout, type OwTrailPin, type OwTrailPlace, type OwTrailSettings, type OwTrailSpiral, type OwTrailTier, type OwUploadedFile, type OwUploadedImage, OwV2Client, type OwView, type OwViewRow, type OwViewsTable, type OwWordPair, type OwWorldFileEntry, OwWorldFileError, type OwWorldFileReason, type OwWorldFileRow, type OwWorldFiles, type OwWorldGraph, type OwWorldIndex, type OwWorldKeyMember, type OwWorldKeyRow, type OwWorldLens, type OwWorldLensReading, type OwWorldLenses, type OwWorldLink, type OwWorldMeta, type OwWorldOrigin, type OwWorldProducer, type OwWorldProposalList, type OwWorldProposalQuery, type OwWorldProposalRow, type OwWorldPublicPage, type OwWorldSource, type OwWriteDoor, type OwWriteWorldFileOptions, type OwWriteWorldFileReport, PHOTO_MAX_BYTES, PHOTO_TYPES, PROPOSED_MARK, PUBLIC_FIELDS, type ParseError, type ParseOptions, type ParseResult, RECORD_FIELD, REVIEW_PROPOSED_LABEL, ROOM_PAIRS, type RevokeAllSessionsResponse, type RevokeSessionResponse, SPATIAL_TYPES, STRAND_FIELD, type SectionInfo, type StepBreakdown, TOOLS, TRAIL_TIERS, type TokenConsumeParams, type TokenConsumeResponse, TokenResource, type TokenStatus, type TokenTransport, VIEWS, WORLD_FILE_MAX_BYTES, WORLD_FILE_MAX_ENTRIES, WORLD_FILE_MEDIA_TYPE, type WorldCalendar, absYearForEraYear, absoluteYear, approxYearLength, base64url, breakdownStep, buildAskContext, buildWorldIndex, charterOf, compareInstants, dateOf, degreeOf, detectKeyKind, displayYear, domainsOf, doorWhere, doorsOf, dragField, draughtText, editedBy, elementAddress, elementColor, eraForStep, errorFromResponse, familyOf, fieldLabel, fileKindOf, findOwLinks, floorDiv, floorMod, formatDuration, formatMidLabel, formatStep, formatYearLabel, getElementIcon, getElementLabel, groupOf, handsOnAsProposed, hasUnseenRecipients, instantOf, intercalaryInYear, isAddressedTo, isAgentDoor, isCharterElement, isDemoKey, isKnownOf, isLeapYear, isLens, isMessage, isNote, isParseError, isRoomElement, isSentBy, isTemplate, isToEveryone, kindCanWrite, landingOf, layoutOf, lensesInUse, lookupWorld, mapSpace, monthStartSteps, nfc, noteOf, openersFor, outDegreeOf, parseDate, parseErrorEnvelope, parseOwLink, pinExpectation, pkceChallenge, planPhoto, preparePhoto, proposedMarkOf, readCalendarConfig, readCalendarValue, readMarkOf, readOwLinkAt, readWorldFile, readingAidOf, recipientsOf, recordMarkOf, recordsOf, renderElement, reportThreadsOf, resolveCalendar, resolveCalendarLens, resolveEraDomains, resolveLens, roundHalfEven, senderStatus, simpleCaseFold, strandOf, threadOf, trailByPlace, typeWord, unreadFor, validateCalendarConfig, viewOf, weekdayForStep, worldCalendars, worldGraph, writeWorldFile, yearLength, yearStartStep };
|
package/dist/index.js
CHANGED
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
doorWhere,
|
|
28
28
|
doorsOf,
|
|
29
29
|
elementAddress,
|
|
30
|
+
findOwLinks,
|
|
30
31
|
fold,
|
|
31
32
|
handsOnAsProposed,
|
|
32
33
|
hasMark,
|
|
@@ -46,7 +47,7 @@ import {
|
|
|
46
47
|
trimWhiteSpace,
|
|
47
48
|
typeWord,
|
|
48
49
|
unknownKey
|
|
49
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-JC5UX7XH.js";
|
|
50
51
|
|
|
51
52
|
// src/v2/keyed-id.ts
|
|
52
53
|
var KEYED_IDS = "0199b6a0-6f0e-7c2a-9d1e-3b5c7a8e4f21";
|
|
@@ -6937,6 +6938,7 @@ export {
|
|
|
6937
6938
|
familyOf,
|
|
6938
6939
|
fieldLabel,
|
|
6939
6940
|
fileKindOf,
|
|
6941
|
+
findOwLinks,
|
|
6940
6942
|
floorDiv2 as floorDiv,
|
|
6941
6943
|
floorMod,
|
|
6942
6944
|
formatDuration,
|
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-JC5UX7XH.js";
|
|
10
10
|
|
|
11
11
|
// src/waymark/glyphs.ts
|
|
12
12
|
var MARK_PATH = "M100 50C100 63.261 94.732 75.979 85.355 85.355C75.979 94.732 63.261 100 50 100C36.739 100 24.021 94.732 14.645 85.355C5.268 75.979 0 63.261 0 50C0 36.739 5.268 24.021 14.645 14.645C24.021 5.268 36.739 0 50 0C63.261 0 75.979 5.268 85.355 14.645C94.732 24.021 100 36.739 100 50ZM20.479 78.74C22.377 77.765 24.322 76.884 26.306 76.102Q25.845 75.042 25.421 73.934Q24.026 70.291 23.069 66.268Q22.121 62.281 21.637 58.063Q21.252 54.707 21.171 51.3L8.82 51.3C9.144 61.572 13.298 71.363 20.479 78.74ZM91.18 51.3L78.829 51.3Q78.748 54.707 78.363 58.063Q77.879 62.281 76.931 66.268Q75.974 70.291 74.579 73.934Q74.155 75.041 73.694 76.102C75.678 76.884 77.623 77.765 79.521 78.74C86.702 71.363 90.856 61.572 91.18 51.3ZM8.82 48.7L21.154 48.7Q21.195 44.785 21.637 40.937Q22.121 36.719 23.069 32.732Q24.026 28.709 25.421 25.066Q25.676 24.401 25.943 23.754C24.085 23.008 22.262 22.176 20.479 21.26C13.298 28.637 9.144 38.428 8.82 48.7ZM79.521 21.26C77.738 22.176 75.915 23.008 74.057 23.754Q74.324 24.401 74.579 25.066Q75.974 28.709 76.931 32.732Q77.879 36.719 78.363 40.937Q78.805 44.785 78.846 48.7L91.18 48.7C90.856 38.428 86.702 28.637 79.521 21.26ZM32.455 48.7L44.2 48.7L44.2 28.139C41.714 27.915 39.253 27.548 36.827 27.043Q36.381 28.044 35.974 29.107Q34.846 32.052 34.063 35.347Q33.27 38.678 32.863 42.226Q32.495 45.432 32.455 48.7ZM63.173 27.043C60.747 27.548 58.286 27.915 55.8 28.139L55.8 48.7L67.545 48.7Q67.505 45.432 67.137 42.226Q66.73 38.678 65.937 35.347Q65.153 32.052 64.026 29.107Q63.619 28.044 63.173 27.043ZM48.7 25.786L48.7 8.82C45.82 8.911 42.977 9.303 40.215 9.979Q39.193 11.05 38.224 12.342Q36.393 14.784 34.829 17.913Q33.574 20.422 32.533 23.289C34.326 23.815 36.144 24.261 37.982 24.624C37.99 24.626 37.998 24.627 38.006 24.629C40.048 25.032 42.115 25.332 44.2 25.528C45.692 25.668 47.193 25.755 48.7 25.786ZM51.3 8.82L51.3 25.786C52.68 25.757 54.054 25.683 55.421 25.563C55.548 25.552 55.674 25.54 55.8 25.528C57.885 25.332 59.952 25.032 61.994 24.629C63.841 24.265 65.667 23.817 67.467 23.289Q66.426 20.422 65.171 17.913Q63.607 14.784 61.776 12.342Q60.807 11.05 59.785 9.979C57.023 9.303 54.18 8.911 51.3 8.82ZM48.7 91.18L48.7 74.214C47.193 74.245 45.692 74.332 44.2 74.472C42.331 74.647 40.476 74.907 38.641 75.249C38.628 75.252 38.616 75.254 38.604 75.256C38.571 75.262 38.539 75.268 38.507 75.274C36.606 75.633 34.726 76.08 32.874 76.612C32.76 76.645 32.646 76.678 32.533 76.711Q33.574 79.578 34.829 82.087Q36.393 85.216 38.224 87.658Q39.193 88.95 40.215 90.021C42.977 90.697 45.82 91.089 48.7 91.18ZM59.785 90.021Q60.807 88.95 61.776 87.658Q63.607 85.216 65.171 82.087Q66.426 79.578 67.467 76.711C65.504 76.135 63.511 75.655 61.493 75.274C59.664 74.929 57.815 74.666 55.951 74.486C55.901 74.481 55.85 74.476 55.8 74.472C54.36 74.336 52.911 74.251 51.457 74.217C51.404 74.216 51.352 74.215 51.3 74.214L51.3 91.18C54.18 91.089 57.023 90.697 59.785 90.021ZM65.602 64.989Q65.777 64.328 65.937 63.653Q66.73 60.322 67.137 56.774Q67.449 54.059 67.525 51.3L55.8 51.3L55.8 63.531C59.11 63.795 62.384 64.284 65.602 64.989ZM44.2 51.3L32.475 51.3Q32.551 54.059 32.863 56.774Q33.27 60.322 34.063 63.653Q34.223 64.328 34.398 64.989C37.615 64.284 40.89 63.795 44.2 63.531L44.2 51.3ZM35.727 88.649Q33.994 86.232 32.503 83.25Q31.159 80.562 30.052 77.497C29.162 77.799 28.279 78.122 27.403 78.464C25.727 79.12 24.08 79.849 22.467 80.649C26.368 84.154 30.875 86.857 35.727 88.649ZM77.533 80.649C75.92 79.849 74.273 79.12 72.597 78.464C71.756 78.136 70.909 77.825 70.055 77.533C70.019 77.521 69.983 77.509 69.948 77.497Q68.841 80.562 67.497 83.25Q66.006 86.232 64.273 88.649C69.125 86.857 73.632 84.154 77.533 80.649ZM64.273 11.351Q66.006 13.768 67.497 16.75Q68.841 19.438 69.948 22.503C70.921 22.173 71.886 21.818 72.841 21.439C72.895 21.418 72.95 21.396 73.004 21.375C74.54 20.761 76.051 20.086 77.533 19.351C73.632 15.846 69.125 13.143 64.273 11.351ZM22.467 19.351C23.949 20.086 25.46 20.761 26.996 21.374C28.005 21.777 29.024 22.154 30.052 22.503Q31.159 19.438 32.503 16.75Q33.994 13.768 35.727 11.351C30.875 13.143 26.368 15.846 22.467 19.351Z";
|