@northtalk/ts 0.8.0 → 0.9.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.
Files changed (38) hide show
  1. package/{checker-Q4w7rLXk.js → checker-D74oYIhs.js} +2 -2
  2. package/debug.js +1 -1
  3. package/driver.js +1 -1
  4. package/{encoding-B7MCQ4ii.js → encoding-DzVFpg7k.js} +2 -2
  5. package/{engine-OL1BveVZ.js → engine-Bx8B63iQ.js} +6 -6
  6. package/{errors-VuwK669R.js → errors-CNc-xY_9.js} +1 -1
  7. package/{group-Ccuqwq12.js → group-CY4FKhzT.js} +8 -8
  8. package/{http-fetch--O27xjSW.js → http-fetch-DnpfiOWK.js} +2 -2
  9. package/http.js +4 -4
  10. package/index-CBuczWK0.d.ts +9 -0
  11. package/index.d.ts +3 -9
  12. package/index.js +15 -15
  13. package/{lean-D6DQfbqH.d.ts → lean-Bg_UTRj0.d.ts} +134 -5
  14. package/{lean-BjhQvHyr.js → lean-DTCTJUmR.js} +10 -10
  15. package/lean.d.ts +2 -3
  16. package/lean.js +15 -15
  17. package/{manifest-BeViDIoy.js → manifest-DVS1SEmN.js} +3 -3
  18. package/message-layer.js +2 -2
  19. package/notify.js +1 -1
  20. package/{objects-TarIKBL8.js → objects-OKVLH190.js} +1 -1
  21. package/{operations-BAELnqwf.js → operations-B3XaG7Ve.js} +113 -10
  22. package/package.json +1 -1
  23. package/{peer-capability-B8eKbljR.js → peer-capability-3etyPHs3.js} +4 -4
  24. package/peer.js +4 -4
  25. package/{readers-BG8g59qS.js → readers-G1lHqrPl.js} +1 -1
  26. package/{request-pump-binary-87klb6sX.js → request-pump-binary-VOPVqRZD.js} +4 -4
  27. package/{router-DXmPA-qi.js → router-Bdm4KiMG.js} +4 -4
  28. package/session.js +15 -15
  29. package/setup.js +5 -5
  30. package/sqlite.js +5 -5
  31. package/{store-DzpyWjt2.js → store-BTcyKBLg.js} +2 -2
  32. package/{store-capability-CxQJ_Huz.js → store-capability-CBJ6mUoH.js} +3 -3
  33. package/store.js +2 -2
  34. package/{user-capability-ClYd8Vln.js → user-capability-DNY2dyjq.js} +3 -3
  35. package/wasm.d.ts +2 -2
  36. package/wasm.js +13 -13
  37. package/{inline-grants-DmOdgSoK.js → zone-rules-DsCJtmlC.js} +88 -5
  38. package/manifest-l07K7nW-.d.ts +0 -124
@@ -1,6 +1,6 @@
1
1
 
2
- import { I as literalDigits, _n as unitKinds, _t as unitText, ft as parseUnit, gn as libraryExports, gt as unitEntry, hn as grammar, mn as diagnosticCodes, pn as builtins, sn as normalizeNFC, st as UnitError, vn as units } from "./errors-VuwK669R.js";
3
- import { Mt as Lexer, Nt as RESERVED, Pt as runTask, _t as acceptsArgumentCount } from "./operations-BAELnqwf.js";
2
+ import { I as literalDigits, _n as unitKinds, _t as unitText, ft as parseUnit, gn as libraryExports, gt as unitEntry, hn as grammar, mn as diagnosticCodes, pn as builtins, sn as normalizeNFC, st as UnitError, vn as units } from "./errors-CNc-xY_9.js";
3
+ import { Mt as Lexer, Nt as RESERVED, Pt as runTask, _t as acceptsArgumentCount } from "./operations-B3XaG7Ve.js";
4
4
  //#region src/constructs.ts
5
5
  /** Chapter 3's kind names. */
6
6
  const kindNames = /* @__PURE__ */ new Set([
package/debug.js CHANGED
@@ -1,2 +1,2 @@
1
1
 
2
- export { A as isReadable, rt as sourceForm } from "./errors-VuwK669R.js";
2
+ export { A as isReadable, rt as sourceForm } from "./errors-CNc-xY_9.js";
package/driver.js CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- import { Xt as nowMicros } from "./errors-VuwK669R.js";
2
+ import { Xt as nowMicros } from "./errors-CNc-xY_9.js";
3
3
  import { r as waitForOperations, t as pendingOperations } from "./operation-promises-ClA1BTaS.js";
4
4
  //#region src/driver.ts
5
5
  /** Creates a Group on `core` ready to drive queued Inputs from the Host's event loop. */
@@ -1,6 +1,6 @@
1
1
 
2
- import { D as instant, Z as requireValue, it as text, o as invalidValue, t as HostError } from "./errors-VuwK669R.js";
3
- import { n as ScriptError, xt as defineValueCapability } from "./operations-BAELnqwf.js";
2
+ import { D as instant, Z as requireValue, it as text, o as invalidValue, t as HostError } from "./errors-CNc-xY_9.js";
3
+ import { n as ScriptError, xt as defineValueCapability } from "./operations-B3XaG7Ve.js";
4
4
  import { n as toBase64 } from "./base64-CDO-a06R.js";
5
5
  //#region src/standard-capability-checks.ts
6
6
  const checks = /* @__PURE__ */ new WeakMap();
@@ -1,10 +1,10 @@
1
1
 
2
- import { P as listValues, V as nothing, b as dec, it as text, o as invalidValue } from "./errors-VuwK669R.js";
3
- import { Q as sizeOf, ut as compareText } from "./operations-BAELnqwf.js";
4
- import { i as decodeValueMembers } from "./readers-BG8g59qS.js";
5
- import { n as quoteJSON, t as encodeValue } from "./encoding-B7MCQ4ii.js";
6
- import { n as hostScriptError, t as add } from "./store-capability-CxQJ_Huz.js";
7
- import { n as createRouter, t as changed } from "./router-DXmPA-qi.js";
2
+ import { P as listValues, V as nothing, b as dec, it as text, o as invalidValue } from "./errors-CNc-xY_9.js";
3
+ import { Q as sizeOf, ut as compareText } from "./operations-B3XaG7Ve.js";
4
+ import { i as decodeValueMembers } from "./readers-G1lHqrPl.js";
5
+ import { n as quoteJSON, t as encodeValue } from "./encoding-DzVFpg7k.js";
6
+ import { n as hostScriptError, t as add } from "./store-capability-CBJ6mUoH.js";
7
+ import { n as createRouter, t as changed } from "./router-Bdm4KiMG.js";
8
8
  //#region src/store/engine.ts
9
9
  /** The Session Store's quotas (chapter 12, The Session Store). */
10
10
  const sessionQuotas = Object.freeze({
@@ -1247,7 +1247,7 @@ const builtins = [
1247
1247
  "kind": "function",
1248
1248
  "contract": {
1249
1249
  "required": 2,
1250
- "total": 2,
1250
+ "total": 3,
1251
1251
  "variadic": false
1252
1252
  }
1253
1253
  },
@@ -1,13 +1,13 @@
1
1
 
2
- import { $ as smallCoefficient, Dt as integerOf, H as num, Ht as civilFromFields, J as range, Jt as isInstant, K as quantity, L as map, O as instantOf$1, Ot as isInteger, P as listValues, R as mapLayout, S as displayText, T as functionsBelongTo, V as nothing, X as requireArgs, Z as requireValue, _ as civilOf, a as hostDetail, b as dec, d as bytes, f as bytesOf, ft as parseUnit, gn as libraryExports, h as canonicalNumber, hn as grammar, i as ScriptError, it as text, l as Value, mn as diagnosticCodes, n as LoadError, pn as builtins, q as quantityOf, qt as formatInstant, r as MailboxFull, s as sendFailed, t as HostError, tt as smallExponent, u as bool, w as functionValue, x as decimalParts, z as mapOfLayout } from "./errors-VuwK669R.js";
3
- import { a as rebindObject, i as propertyChecks, n as makeObject, o as stateOf$1, r as objectKind } from "./objects-TarIKBL8.js";
4
- import { $ as arityOf, A as musicalCount, At as validMessageSelector, B as splice, C as isKind, D as matchCaptures, E as makeRange, F as randomBound, G as cacheBuild, H as textForm, I as search, J as keysContents, K as charge, L as setKey, M as outOfRange, N as prepareConversion, O as matchesOf, Ot as shapeDiagnostics, P as property, Pt as runTask, Q as sizeOf, R as smallArithmetic, S as isEmpty, St as diagnosticRecord, T as makePatternValue, Tt as mismatch, U as waitUs, V as subjectText, W as wrongKind, X as rateOf, Y as partSize, Z as resetMeasured, _ as deleteKey, _t as acceptsArgumentCount, a as builtin, at as numberText, b as hasKey, c as canConvert, ct as splicesOf, d as chunkSet, dt as costModel, f as chunkThere, ft as errorMessages, g as decodeUtf8, h as convert, ht as reservedErrorKeys, i as arithmetic, it as capturesOf, j as negated, k as member, kt as validComputedMessageName, l as chunkDelete, lt as textDisplay, m as concat, mt as limitDefaults, n as ScriptError$1, nt as instructionSpec, o as builtinDefaults, ot as patternSource, p as comparison, pt as languageVersion, q as fixedRates, r as appendTo, rt as opcodes, s as byteOf, st as quantityText, t as NotImplementedError, tt as functionHead, u as chunkGet, ut as compareText, v as equals, w as keyText, x as integerValue, y as getKey, yt as decodeShape, z as smallCoefficientOf } from "./operations-BAELnqwf.js";
5
- import { _ as viewSource, d as operationUses, g as checkDecisionCalls, n as checkSourceForLoad, t as checkSource, u as checkEffectCall } from "./checker-Q4w7rLXk.js";
6
- import { a as operationsOf, c as CallMeter, r as grantData, s as invoke, t as canonicalJSON } from "./manifest-BeViDIoy.js";
2
+ import { $ as smallCoefficient, Dt as integerOf, H as num, Ht as civilFromFields, J as range, Jt as isInstant, K as quantity, L as map, O as instantOf$1, Ot as isInteger, P as listValues, R as mapLayout, S as displayText, T as functionsBelongTo, V as nothing, X as requireArgs, Z as requireValue, _ as civilOf, a as hostDetail, b as dec, d as bytes, f as bytesOf, ft as parseUnit, gn as libraryExports, h as canonicalNumber, hn as grammar, i as ScriptError, it as text, l as Value, mn as diagnosticCodes, n as LoadError, pn as builtins, q as quantityOf, qt as formatInstant, r as MailboxFull, s as sendFailed, t as HostError, tt as smallExponent, u as bool, w as functionValue, x as decimalParts, z as mapOfLayout } from "./errors-CNc-xY_9.js";
3
+ import { a as rebindObject, i as propertyChecks, n as makeObject, o as stateOf$1, r as objectKind } from "./objects-OKVLH190.js";
4
+ import { $ as arityOf, A as musicalCount, At as validMessageSelector, B as splice, C as isKind, D as matchCaptures, E as makeRange, F as randomBound, G as cacheBuild, H as textForm, I as search, J as keysContents, K as charge, L as setKey, M as outOfRange, N as prepareConversion, O as matchesOf, Ot as shapeDiagnostics, P as property, Pt as runTask, Q as sizeOf, R as smallArithmetic, S as isEmpty, St as diagnosticRecord, T as makePatternValue, Tt as mismatch, U as waitUs, V as subjectText, W as wrongKind, X as rateOf, Y as partSize, Z as resetMeasured, _ as deleteKey, _t as acceptsArgumentCount, a as builtin, at as numberText, b as hasKey, c as canConvert, ct as splicesOf, d as chunkSet, dt as costModel, f as chunkThere, ft as errorMessages, g as decodeUtf8, h as convert, ht as reservedErrorKeys, i as arithmetic, it as capturesOf, j as negated, k as member, kt as validComputedMessageName, l as chunkDelete, lt as textDisplay, m as concat, mt as limitDefaults, n as ScriptError$1, nt as instructionSpec, o as builtinDefaults, ot as patternSource, p as comparison, pt as languageVersion, q as fixedRates, r as appendTo, rt as opcodes, s as byteOf, st as quantityText, t as NotImplementedError, tt as functionHead, u as chunkGet, ut as compareText, v as equals, w as keyText, x as integerValue, y as getKey, yt as decodeShape, z as smallCoefficientOf } from "./operations-B3XaG7Ve.js";
5
+ import { _ as viewSource, d as operationUses, g as checkDecisionCalls, n as checkSourceForLoad, t as checkSource, u as checkEffectCall } from "./checker-D74oYIhs.js";
6
+ import { a as operationsOf, c as CallMeter, r as grantData, s as invoke, t as canonicalJSON } from "./manifest-DVS1SEmN.js";
7
7
  import { n as trackOperation } from "./operation-promises-ClA1BTaS.js";
8
- import { c as readDisplay } from "./readers-BG8g59qS.js";
9
- import { l as isMusicalClock, p as standardChecks, r as MUSICAL_CLOCK } from "./encoding-B7MCQ4ii.js";
10
- import { r as PEER_POST, t as PEER_CALL } from "./peer-capability-B8eKbljR.js";
8
+ import { c as readDisplay } from "./readers-G1lHqrPl.js";
9
+ import { l as isMusicalClock, p as standardChecks, r as MUSICAL_CLOCK } from "./encoding-DzVFpg7k.js";
10
+ import { r as PEER_POST, t as PEER_CALL } from "./peer-capability-3etyPHs3.js";
11
11
  import { n as sha256, r as sha256Bytes, t as Sha256 } from "./sha256-9CGf5BS_.js";
12
12
  //#region src/stdlib-registry.ts
13
13
  /** The seven stdlib Library names, which a Host may not register. */
@@ -1,6 +1,6 @@
1
1
 
2
- import { H as num, L as map, P as listValues, V as nothing, Z as requireValue, b as dec, i as ScriptError, it as text, nn as characterBoundaries, o as invalidValue, sn as normalizeNFC, u as bool } from "./errors-VuwK669R.js";
3
- import { ft as errorMessages, n as ScriptError$1 } from "./operations-BAELnqwf.js";
2
+ import { H as num, L as map, P as listValues, V as nothing, Z as requireValue, b as dec, i as ScriptError, it as text, nn as characterBoundaries, o as invalidValue, sn as normalizeNFC, u as bool } from "./errors-CNc-xY_9.js";
3
+ import { ft as errorMessages, n as ScriptError$1 } from "./operations-B3XaG7Ve.js";
4
4
  //#region src/json.ts
5
5
  var JsonReader = class {
6
6
  source;
package/http.js CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
- import { H as num, L as map, P as listValues, d as bytes, i as ScriptError, it as text, t as HostError, u as bool } from "./errors-VuwK669R.js";
3
- import { t as defineObjectKind } from "./objects-TarIKBL8.js";
4
- import { Dt as shape } from "./operations-BAELnqwf.js";
5
- import { a as parseFetchUrl, i as fetchOrigin } from "./http-fetch--O27xjSW.js";
2
+ import { H as num, L as map, P as listValues, d as bytes, i as ScriptError, it as text, t as HostError, u as bool } from "./errors-CNc-xY_9.js";
3
+ import { t as defineObjectKind } from "./objects-OKVLH190.js";
4
+ import { Dt as shape } from "./operations-B3XaG7Ve.js";
5
+ import { a as parseFetchUrl, i as fetchOrigin } from "./http-fetch-DnpfiOWK.js";
6
6
  import { Buffer } from "node:buffer";
7
7
  import { createServer, request } from "node:http";
8
8
  import { request as request$1 } from "node:https";
@@ -0,0 +1,9 @@
1
+ /// <reference lib="esnext.disposable" />
2
+ import { t as StdlibLibrary } from "./stdlib-registry-BwitI3Ox.js";
3
+ //#region src/generated/stdlib.d.ts
4
+ /** Every stdlib Library. */
5
+ declare const allStdlib: readonly StdlibLibrary[];
6
+ /** Every stdlib Library's source, by name. */
7
+ declare const stdlibSources: Record<string, string>;
8
+ //#endregion
9
+ export { stdlibSources as n, allStdlib as t };
package/index.d.ts CHANGED
@@ -1,14 +1,8 @@
1
1
  /// <reference lib="esnext.disposable" />
2
2
  import { $ as instant, $n as NotImplementedError, $t as shape, A as ScriptSources, An as calendarCapability, Ar as SourceSpan, At as FireOp, B as restore, Bn as compileLibrary, Br as syntaxSelector, Bt as ReleaseHook, C as Report, Cn as LocaleImpl, Cr as NameRole, Ct as ChargeRequest, Dn as Costs, Dr as SemanticScope, Dt as EffectResult, E as RestoreResult, En as ConsoleImpl, Er as SemanticNode, Et as Cost, Fn as Library, Fr as SyntaxElement, Ft as Metering, G as RunStarted, Gn as Run, Gt as SegmentGrant, H as RunAccounting, Hn as LimitName, Ht as ScopeDecl, In as LibraryOptions, Ir as SyntaxErrorCode, It as Operation, J as Value, Jn as UnitLoadError, Jt as SuspendingOp, K as Decimal, Kn as RunRecord, Kt as SegmentLifecycle, L as TsScript, Ln as LibrarySource, Lr as SyntaxNode, Lt as Operations, Mn as consoleCapability, Mr as Mode, Mt as GrantContext, N as Settlement, Nn as musicalClockCapability, Nr as TokType, Nt as ImmediateOp, O as SaveOptions, On as MusicalClockImpl, Or as SemanticToken, Ot as ErrorDecl, P as TsGroup, Pn as timerCapability, Pr as Token, Pt as LimitReached, Q as dec, Qn as loadScript, Qt as operationDeclarations, R as Verdict, Rn as OperationRef, Rr as SyntaxRule, Rt as PlainArg, S as PumpedRequest, Sn as sqliteCapability, Sr as LibraryExport, St as CapabilityDefiner, T as RestoreOptions, Tn as CalendarImpl, Tr as SemanticName, Tt as CoordinatedLifecycle, U as RunAncestry, Un as Limits, Ut as SegmentContext, V as CausalWork, Vr as syntaxText, Vt as ReleaseReason, W as RunDiscarded, Wn as Outcome, Wt as SegmentCoordinator, X as bytes, Xn as defaultLimits, Xt as defineCapability, Y as bool, Yn as callFunction, Yt as conforms, Z as civilDate, Zn as deliver, Zt as explain, _ as LoadOptions, _n as SqlParams, _r as disassemble, _t as PropDef, an as PeerImpl, ar as LoadError, at as quantity, b as PumpOptions, bn as SqliteBinding, br as ExportKind, bt as Call, cn as HttpClientImpl, cr as SendFailedReason, d as Counters, dn as httpCapability, dr as CodeUnit, dt as nowMicros, en as Core, er as canConvert, f as Decided, fn as UserImpl, fr as EventBranch, ft as parseInstant, g as Inspection, gn as storeCapability, gr as UnwindEntry, gt as ObjectKindDef, h as GroupOptions, hn as add, hr as Operand, ht as ObjectKind, in as coreVersions, ir as LoadDiagnostic, it as num, jn as clockCapability, jr as Lexer, jt as Grant, k as ScriptCodeRequest, kn as TimerImpl, kr as SemanticTree, kt as FieldShape, l as CancellationOptions, ln as HttpImpl, lr as Body, lt as text, m as EffectFailure, mn as StoreImpl, mr as Instruction, mt as ObjectElements, nn as Script$1, nr as HostError, nt as map, on as peerCapability, or as MailboxFull, ot as range, p as Deciding, pn as userCapability, pr as EventEntry, pt as HostObject, q as Kind, qn as Script, qt as Shape, rn as Versions, rr as HostErrorCode, rt as nothing, sn as peerKind, sr as ScriptError, st as record, tn as Group, tr as waitUs, tt as list, u as CarryOver, un as HttpServerImpl, ur as BodyKind, ut as formatInstant, v as Message, vn as SqlRows, vr as Binding, vt as defineObjectKind, w as Requested, wn as localeCapability, wr as SemanticElement, wt as ChargeResult, x as PumpResult, xn as SqliteImpl, xr as FunctionContract, xt as CapabilityDef, y as PendingCall, yn as SqlValue, yr as BindingKind, yt as GrantDecls, z as newGroup, zn as codeIdentity, zr as Trivia, zt as PlainResult } from "./debug-s6QIovKS.js";
3
3
  import { n as registerStdlib, r as stdlibNames, t as StdlibLibrary } from "./stdlib-registry-BwitI3Ox.js";
4
- import { A as builtins, C as ParseError, D as parseEntry, E as RecoveryDiagnostic, M as units, O as parseSource, S as EntryResult, T as RecoveringParseResult, _ as DiagnosticCode, a as LoweringError, b as checkSyntax, c as lowerTree, d as ShapeData, f as shapeData, g as Diagnostic, h as CheckResult, i as CompileResult, j as grammar, k as parseSourceRecovering, l as CreateGroupOptions, m as CheckOptions, n as declarationStart, o as compileSource, p as kindNames, r as CompileOptions, s as exportsOf, t as validMessageSelector, u as createGroup, v as SemanticResult, w as ParseResult, x as EntryKind, y as checkSource } from "./lean-D6DQfbqH.js";
5
- import { _ as PlainValue, a as InlineOperation, b as toValue, c as DrivenGroup, d as ScriptWithHandlers, f as handlersOf, g as FromValueOptions, h as encodeValue, i as InlineFunction, m as encodeJson, n as MessageDecl, o as inlineGrants, p as decodeJson, r as exportManifest, t as ManifestSpec, u as Handlers, v as ToValueOptions, x as talk, y as fromValue } from "./manifest-l07K7nW-.js";
4
+ import { $ as grammar, A as FromValueOptions, B as SemanticResult, C as handlersOf, D as shapeData, E as ShapeData, F as talk, G as ParseError, H as checkSyntax, I as CheckOptions, J as RecoveryDiagnostic, K as ParseResult, L as CheckResult, M as ToValueOptions, N as fromValue, O as kindNames, P as toValue, Q as builtins, R as Diagnostic, S as ScriptWithHandlers, T as encodeJson, U as EntryKind, V as checkSource, W as EntryResult, X as parseSource, Y as parseEntry, Z as parseSourceRecovering, _ as createGroup, a as LoweringError, c as lowerTree, d as exportManifest, et as units, f as zoneRules, g as CreateGroupOptions, h as inlineGrants, i as CompileResult, j as PlainValue, k as encodeValue, l as ManifestSpec, m as InlineOperation, n as declarationStart, o as compileSource, p as InlineFunction, q as RecoveringParseResult, r as CompileOptions, s as exportsOf, t as validMessageSelector, u as MessageDecl, w as decodeJson, x as Handlers, y as DrivenGroup, z as DiagnosticCode } from "./lean-Bg_UTRj0.js";
6
5
  import { n as createCore, t as TsCore } from "./core-BBPI6EhG.js";
7
6
  import { a as decodeValue, o as readDisplay, t as FunctionResolver } from "./readers-AeB1bJ--.js";
8
- //#region src/generated/stdlib.d.ts
9
- /** Every stdlib Library. */
10
- export declare const allStdlib: readonly StdlibLibrary[];
11
- /** Every stdlib Library's source, by name. */
12
- export declare const stdlibSources: Record<string, string>;
13
- //#endregion
14
- export { type Binding, type BindingKind, type Body, type BodyKind, type CalendarImpl, type Call, type CancellationOptions, type CapabilityDef, type CapabilityDefiner, type CarryOver, type CausalWork, type ChargeRequest, type ChargeResult, type CheckOptions, type CheckResult, type CodeUnit, type CompileOptions, type CompileResult, Script as CompiledScript, type ConsoleImpl, type CoordinatedLifecycle, type Core, type Cost, type Costs, type Counters, type CreateGroupOptions, type Decided, type Deciding, Decimal, type Diagnostic, type DiagnosticCode, type DrivenGroup, type EffectFailure, type EffectResult, type EntryKind, type EntryResult, type ErrorDecl, type EventBranch, type EventEntry, type ExportKind, type FieldShape, type FireOp, type FromValueOptions, type FunctionContract, type FunctionResolver, type Grant, type GrantContext, type GrantDecls, type Group, type GroupOptions, type Handlers, HostError, type HostErrorCode, type HostObject, type HttpClientImpl, type HttpImpl, type HttpServerImpl, type ImmediateOp, type InlineFunction, type InlineOperation, type Inspection, type Instruction, type Kind, Lexer, type Library, type LibraryExport, type LibraryOptions, type LibrarySource, type LimitName, LimitReached, type Limits, type LoadDiagnostic, LoadError, type LoadOptions, type LocaleImpl, LoweringError, MailboxFull, type ManifestSpec, type Message, type MessageDecl, type Metering, type Mode, type MusicalClockImpl, type NameRole, NotImplementedError, type ObjectElements, type ObjectKind, type ObjectKindDef, type Operand, type Operation, type OperationRef, type Operations, type Outcome, ParseError, type ParseResult, type PeerImpl, type PendingCall, type PlainArg, type PlainResult, type PlainValue, type PropDef, type PumpOptions, type PumpResult, type PumpedRequest, type RecoveringParseResult, type RecoveryDiagnostic, type ReleaseHook, type ReleaseReason, type Report, type Requested, type RestoreOptions, type RestoreResult, Run, type RunAccounting, type RunAncestry, type RunDiscarded, type RunRecord, type RunStarted, type SaveOptions, type ScopeDecl, type Script$1 as Script, type ScriptCodeRequest, ScriptError, type ScriptSources, type ScriptWithHandlers, type SegmentContext, type SegmentCoordinator, type SegmentGrant, type SegmentLifecycle, type SemanticElement, type SemanticName, type SemanticNode, type SemanticResult, type SemanticScope, type SemanticToken, type SemanticTree, type SendFailedReason, type Settlement, type Shape, type ShapeData, type SourceSpan, type SqlParams, type SqlRows, type SqlValue, type SqliteBinding, type SqliteImpl, type StdlibLibrary, type StoreImpl, type SuspendingOp, type SyntaxElement, type SyntaxErrorCode, type SyntaxNode, type SyntaxRule, type TimerImpl, type ToValueOptions, type TokType, type Token, type Trivia, type TsCore, TsGroup, TsScript, UnitLoadError, type UnwindEntry, type UserImpl, Value, type Verdict, type Versions, add, bool, builtins, bytes, calendarCapability, callFunction, canConvert, checkSource, checkSyntax, civilDate, clockCapability, codeIdentity, compileLibrary, compileSource, conforms, consoleCapability, coreVersions, createCore, createGroup, dec, declarationStart, decodeJson, decodeValue, defaultLimits, defineCapability, defineObjectKind, deliver, disassemble, encodeJson, encodeValue, explain, exportManifest, exportsOf, formatInstant, fromValue, grammar, handlersOf, httpCapability, inlineGrants, instant, kindNames, list, loadScript, localeCapability, lowerTree, map, musicalClockCapability, newGroup, nothing, nowMicros, num, operationDeclarations, parseEntry, parseInstant, parseSource, parseSourceRecovering, peerCapability, peerKind, quantity, range, readDisplay, record, registerStdlib, restore, shape, shapeData, sqliteCapability, stdlibNames, storeCapability, syntaxSelector, syntaxText, talk, text, timerCapability, toValue, units, userCapability, validMessageSelector, waitUs };
7
+ import { n as stdlibSources, t as allStdlib } from "./index-CBuczWK0.js";
8
+ export { type Binding, type BindingKind, type Body, type BodyKind, type CalendarImpl, type Call, type CancellationOptions, type CapabilityDef, type CapabilityDefiner, type CarryOver, type CausalWork, type ChargeRequest, type ChargeResult, type CheckOptions, type CheckResult, type CodeUnit, type CompileOptions, type CompileResult, Script as CompiledScript, type ConsoleImpl, type CoordinatedLifecycle, type Core, type Cost, type Costs, type Counters, type CreateGroupOptions, type Decided, type Deciding, Decimal, type Diagnostic, type DiagnosticCode, type DrivenGroup, type EffectFailure, type EffectResult, type EntryKind, type EntryResult, type ErrorDecl, type EventBranch, type EventEntry, type ExportKind, type FieldShape, type FireOp, type FromValueOptions, type FunctionContract, type FunctionResolver, type Grant, type GrantContext, type GrantDecls, type Group, type GroupOptions, type Handlers, HostError, type HostErrorCode, type HostObject, type HttpClientImpl, type HttpImpl, type HttpServerImpl, type ImmediateOp, type InlineFunction, type InlineOperation, type Inspection, type Instruction, type Kind, Lexer, type Library, type LibraryExport, type LibraryOptions, type LibrarySource, type LimitName, LimitReached, type Limits, type LoadDiagnostic, LoadError, type LoadOptions, type LocaleImpl, LoweringError, MailboxFull, type ManifestSpec, type Message, type MessageDecl, type Metering, type Mode, type MusicalClockImpl, type NameRole, NotImplementedError, type ObjectElements, type ObjectKind, type ObjectKindDef, type Operand, type Operation, type OperationRef, type Operations, type Outcome, ParseError, type ParseResult, type PeerImpl, type PendingCall, type PlainArg, type PlainResult, type PlainValue, type PropDef, type PumpOptions, type PumpResult, type PumpedRequest, type RecoveringParseResult, type RecoveryDiagnostic, type ReleaseHook, type ReleaseReason, type Report, type Requested, type RestoreOptions, type RestoreResult, Run, type RunAccounting, type RunAncestry, type RunDiscarded, type RunRecord, type RunStarted, type SaveOptions, type ScopeDecl, type Script$1 as Script, type ScriptCodeRequest, ScriptError, type ScriptSources, type ScriptWithHandlers, type SegmentContext, type SegmentCoordinator, type SegmentGrant, type SegmentLifecycle, type SemanticElement, type SemanticName, type SemanticNode, type SemanticResult, type SemanticScope, type SemanticToken, type SemanticTree, type SendFailedReason, type Settlement, type Shape, type ShapeData, type SourceSpan, type SqlParams, type SqlRows, type SqlValue, type SqliteBinding, type SqliteImpl, type StdlibLibrary, type StoreImpl, type SuspendingOp, type SyntaxElement, type SyntaxErrorCode, type SyntaxNode, type SyntaxRule, type TimerImpl, type ToValueOptions, type TokType, type Token, type Trivia, type TsCore, TsGroup, TsScript, UnitLoadError, type UnwindEntry, type UserImpl, Value, type Verdict, type Versions, add, allStdlib, bool, builtins, bytes, calendarCapability, callFunction, canConvert, checkSource, checkSyntax, civilDate, clockCapability, codeIdentity, compileLibrary, compileSource, conforms, consoleCapability, coreVersions, createCore, createGroup, dec, declarationStart, decodeJson, decodeValue, defaultLimits, defineCapability, defineObjectKind, deliver, disassemble, encodeJson, encodeValue, explain, exportManifest, exportsOf, formatInstant, fromValue, grammar, handlersOf, httpCapability, inlineGrants, instant, kindNames, list, loadScript, localeCapability, lowerTree, map, musicalClockCapability, newGroup, nothing, nowMicros, num, operationDeclarations, parseEntry, parseInstant, parseSource, parseSourceRecovering, peerCapability, peerKind, quantity, range, readDisplay, record, registerStdlib, restore, shape, shapeData, sqliteCapability, stdlibNames, stdlibSources, storeCapability, syntaxSelector, syntaxText, talk, text, timerCapability, toValue, units, userCapability, validMessageSelector, waitUs, zoneRules };
package/index.js CHANGED
@@ -6,20 +6,20 @@ import { json } from "./stdlib/json.js";
6
6
  import { list as list$1 } from "./stdlib/list.js";
7
7
  import { map as map$1 } from "./stdlib/map.js";
8
8
  import { units as units$1 } from "./stdlib/units.js";
9
- import { D as instant, H as num, J as range, K as quantity, L as map, N as list, Qt as parseInstant, V as nothing, Xt as nowMicros, Y as record, b as dec, c as Decimal, d as bytes, g as civilDate, hn as grammar, i as ScriptError, it as text, l as Value, n as LoadError, pn as builtins, qt as formatInstant, r as MailboxFull, t as HostError, u as bool, vn as units } from "./errors-VuwK669R.js";
10
- import { S as registerStdlib, _ as loadScript, b as exportsOf, c as codeIdentity, d as Run, f as Script, g as deliver, h as defaultLimits, i as restore, l as compileLibrary, m as callFunction, n as TsScript, p as UnitLoadError, r as newGroup, t as TsGroup, v as LoweringError, w as stdlibNames, x as lowerTree, y as compileSource } from "./group-Ccuqwq12.js";
11
- import { t as defineObjectKind } from "./objects-TarIKBL8.js";
12
- import { At as validMessageSelector, Dt as shape, Et as operationDeclarations, Mt as Lexer, U as waitUs, bt as defineCapability, c as canConvert, et as disassemble, gt as LimitReached, t as NotImplementedError, vt as conforms, wt as explain } from "./operations-BAELnqwf.js";
13
- import { a as syntaxText, c as parseSource, i as syntaxSelector, l as parseSourceRecovering, o as ParseError, p as declarationStart, r as checkSyntax, s as parseEntry, t as checkSource, v as shapeData, y as kindNames } from "./checker-Q4w7rLXk.js";
14
- import { n as exportManifest } from "./manifest-BeViDIoy.js";
15
- import { c as readDisplay, r as decodeValue } from "./readers-BG8g59qS.js";
16
- import { a as clockCapability, d as timerCapability, i as calendarCapability, o as consoleCapability, t as encodeValue, u as musicalClockCapability } from "./encoding-B7MCQ4ii.js";
17
- import { a as peerKind, i as peerCapability } from "./peer-capability-B8eKbljR.js";
18
- import { a as sqliteCapability, c as talk, i as httpCapability, o as fromValue, r as handlersOf, s as toValue, t as inlineGrants } from "./inline-grants-DmOdgSoK.js";
19
- import { o as decodeJson, s as encodeJson } from "./http-fetch--O27xjSW.js";
20
- import { n as createCore, r as coreVersions, t as createGroup } from "./lean-BjhQvHyr.js";
21
- import { n as localeCapability, t as userCapability } from "./user-capability-ClYd8Vln.js";
22
- import { r as storeCapability, t as add } from "./store-capability-CxQJ_Huz.js";
9
+ import { D as instant, H as num, J as range, K as quantity, L as map, N as list, Qt as parseInstant, V as nothing, Xt as nowMicros, Y as record, b as dec, c as Decimal, d as bytes, g as civilDate, hn as grammar, i as ScriptError, it as text, l as Value, n as LoadError, pn as builtins, qt as formatInstant, r as MailboxFull, t as HostError, u as bool, vn as units } from "./errors-CNc-xY_9.js";
10
+ import { S as registerStdlib, _ as loadScript, b as exportsOf, c as codeIdentity, d as Run, f as Script, g as deliver, h as defaultLimits, i as restore, l as compileLibrary, m as callFunction, n as TsScript, p as UnitLoadError, r as newGroup, t as TsGroup, v as LoweringError, w as stdlibNames, x as lowerTree, y as compileSource } from "./group-CY4FKhzT.js";
11
+ import { t as defineObjectKind } from "./objects-OKVLH190.js";
12
+ import { At as validMessageSelector, Dt as shape, Et as operationDeclarations, Mt as Lexer, U as waitUs, bt as defineCapability, c as canConvert, et as disassemble, gt as LimitReached, t as NotImplementedError, vt as conforms, wt as explain } from "./operations-B3XaG7Ve.js";
13
+ import { a as syntaxText, c as parseSource, i as syntaxSelector, l as parseSourceRecovering, o as ParseError, p as declarationStart, r as checkSyntax, s as parseEntry, t as checkSource, v as shapeData, y as kindNames } from "./checker-D74oYIhs.js";
14
+ import { n as exportManifest } from "./manifest-DVS1SEmN.js";
15
+ import { c as readDisplay, r as decodeValue } from "./readers-G1lHqrPl.js";
16
+ import { a as clockCapability, d as timerCapability, i as calendarCapability, o as consoleCapability, t as encodeValue, u as musicalClockCapability } from "./encoding-DzVFpg7k.js";
17
+ import { a as peerKind, i as peerCapability } from "./peer-capability-3etyPHs3.js";
18
+ import { a as httpCapability, c as toValue, i as handlersOf, l as talk, n as inlineGrants, o as sqliteCapability, s as fromValue, t as zoneRules } from "./zone-rules-DsCJtmlC.js";
19
+ import { o as decodeJson, s as encodeJson } from "./http-fetch-DnpfiOWK.js";
20
+ import { n as createCore, r as coreVersions, t as createGroup } from "./lean-DTCTJUmR.js";
21
+ import { n as localeCapability, t as userCapability } from "./user-capability-DNY2dyjq.js";
22
+ import { r as storeCapability, t as add } from "./store-capability-CBJ6mUoH.js";
23
23
  //#region src/generated/stdlib.ts
24
24
  /** Every stdlib Library. */
25
25
  const allStdlib = [
@@ -37,4 +37,4 @@ const stdlibSources = Object.fromEntries(allStdlib.map((l) => [l.name, l.source]
37
37
  //#region src/index.ts
38
38
  registerStdlib(...allStdlib);
39
39
  //#endregion
40
- export { Script as CompiledScript, Decimal, HostError, Lexer, LimitReached, LoadError, LoweringError, MailboxFull, NotImplementedError, ParseError, Run, ScriptError, TsGroup, TsScript, UnitLoadError, Value, add, allStdlib, bool, builtins, bytes, calendarCapability, callFunction, canConvert, checkSource, checkSyntax, civilDate, clockCapability, codeIdentity, compileLibrary, compileSource, conforms, consoleCapability, coreVersions, createCore, createGroup, dec, declarationStart, decodeJson, decodeValue, defaultLimits, defineCapability, defineObjectKind, deliver, disassemble, encodeJson, encodeValue, explain, exportManifest, exportsOf, formatInstant, fromValue, grammar, handlersOf, httpCapability, inlineGrants, instant, kindNames, list, loadScript, localeCapability, lowerTree, map, musicalClockCapability, newGroup, nothing, nowMicros, num, operationDeclarations, parseEntry, parseInstant, parseSource, parseSourceRecovering, peerCapability, peerKind, quantity, range, readDisplay, record, registerStdlib, restore, shape, shapeData, sqliteCapability, stdlibNames, stdlibSources, storeCapability, syntaxSelector, syntaxText, talk, text, timerCapability, toValue, units, userCapability, validMessageSelector, waitUs };
40
+ export { Script as CompiledScript, Decimal, HostError, Lexer, LimitReached, LoadError, LoweringError, MailboxFull, NotImplementedError, ParseError, Run, ScriptError, TsGroup, TsScript, UnitLoadError, Value, add, allStdlib, bool, builtins, bytes, calendarCapability, callFunction, canConvert, checkSource, checkSyntax, civilDate, clockCapability, codeIdentity, compileLibrary, compileSource, conforms, consoleCapability, coreVersions, createCore, createGroup, dec, declarationStart, decodeJson, decodeValue, defaultLimits, defineCapability, defineObjectKind, deliver, disassemble, encodeJson, encodeValue, explain, exportManifest, exportsOf, formatInstant, fromValue, grammar, handlersOf, httpCapability, inlineGrants, instant, kindNames, list, loadScript, localeCapability, lowerTree, map, musicalClockCapability, newGroup, nothing, nowMicros, num, operationDeclarations, parseEntry, parseInstant, parseSource, parseSourceRecovering, peerCapability, peerKind, quantity, range, readDisplay, record, registerStdlib, restore, shape, shapeData, sqliteCapability, stdlibNames, stdlibSources, storeCapability, syntaxSelector, syntaxText, talk, text, timerCapability, toValue, units, userCapability, validMessageSelector, waitUs, zoneRules };
@@ -1,7 +1,6 @@
1
1
  /// <reference lib="esnext.disposable" />
2
- import { Ar as SourceSpan, Er as SemanticNode, Ir as SyntaxErrorCode, Lr as SyntaxNode, Pr as Token, Sr as LibraryExport, dr as CodeUnit, en as Core, kr as SemanticTree, vr as Binding, yt as GrantDecls } from "./debug-s6QIovKS.js";
3
- import { r as DrivenGroupOptions } from "./driver-D5yrK3Nu.js";
4
- import { c as DrivenGroup } from "./manifest-l07K7nW-.js";
2
+ import { Ar as SourceSpan, Er as SemanticNode, Fn as Library, Ir as SyntaxErrorCode, J as Value, K as Decimal, Lr as SyntaxNode, Pr as Token, Sr as LibraryExport, _ as LoadOptions, dr as CodeUnit, en as Core, ht as ObjectKind, jt as Grant, kr as SemanticTree, nn as Script, qt as Shape, tn as Group, vr as Binding, yt as GrantDecls } from "./debug-s6QIovKS.js";
3
+ import { n as Drive, r as DrivenGroupOptions } from "./driver-D5yrK3Nu.js";
5
4
  //#region src/generated/syntax.d.ts
6
5
  declare const grammar: {
7
6
  reserved: string[];
@@ -560,7 +559,7 @@ declare const builtins: readonly [{
560
559
  readonly kind: "function";
561
560
  readonly contract: {
562
561
  readonly required: 2;
563
- readonly total: 2;
562
+ readonly total: 3;
564
563
  readonly variadic: false;
565
564
  };
566
565
  }, {
@@ -685,6 +684,49 @@ type CheckResult = (SemanticResult & {
685
684
  declare const checkSyntax: (syntax: SyntaxNode, options?: CheckOptions) => SemanticResult;
686
685
  declare const checkSource: (source: string, options?: CheckOptions) => CheckResult;
687
686
  //#endregion
687
+ //#region src/talk.d.ts
688
+ /**
689
+ * Dedents NorthTalk source; rejects JS interpolation.
690
+ *
691
+ * Write NorthTalk's own interpolation as `\${…}` and its backticks as `` \` ``.
692
+ * Pass values as Request arguments instead of splicing them into source. The
693
+ * longest whitespace prefix shared by every non-blank line is removed, compared
694
+ * exactly, so tabs and spaces never match each other.
695
+ */
696
+ declare const talk: (strings: TemplateStringsArray, ...values: unknown[]) => string;
697
+ //#endregion
698
+ //#region src/plain.d.ts
699
+ /** Plain JS data, as `fromValue` writes it (ADR 0119). */
700
+ type PlainValue = null | boolean | string | Decimal | Uint8Array | Value | PlainValue[] | {
701
+ [key: string]: PlainValue;
702
+ } | Map<string, PlainValue>;
703
+ type ToValueOptions = {
704
+ /**
705
+ * `integer` reads safe integers through `num`; `decimal` uses `num` for
706
+ * any JS number. The default refuses JS numbers.
707
+ */
708
+ numbers?: 'refuse' | 'integer' | 'decimal';
709
+ };
710
+ type FromValueOptions = {
711
+ maps?: 'object' | 'map';
712
+ numbers?: 'decimal' | 'string';
713
+ };
714
+ /**
715
+ * Plain JS data to a Value by the named constructors (ADR 0119). Anything
716
+ * the table doesn't name, and cyclic data, throws `invalid value`.
717
+ */
718
+ declare const toValue: (plain: unknown, options?: ToValueOptions) => Value;
719
+ /** A Value as plain JS data (ADR 0119); kinds with no JS form stay Values. */
720
+ declare const fromValue: (v: Value, options?: FromValueOptions) => PlainValue;
721
+ //#endregion
722
+ //#region src/encoding.d.ts
723
+ /**
724
+ * A Message Layer adapter's own spelling of a Function Value or a Text
725
+ * Pattern, which the Value Encoding doesn't hold.
726
+ */
727
+ type AdapterEncoder = (v: Value) => string;
728
+ declare const encodeValue: (value: Value, adapter?: AdapterEncoder) => string;
729
+ //#endregion
688
730
  //#region src/constructs.d.ts
689
731
  /** Chapter 3's kind names. */
690
732
  declare const kindNames: ReadonlySet<string>;
@@ -719,6 +761,40 @@ type ShapeData = string | {
719
761
  /** Each loadable Shape declaration's data, by its Declaration node. */
720
762
  declare const shapeData: WeakMap<SemanticNode, ShapeData>;
721
763
  //#endregion
764
+ //#region src/json.d.ts
765
+ /** Read exact decimal digits, NFC strings and insertion-ordered maps. */
766
+ declare const decodeJson: (source: string) => Value;
767
+ /** Compact JSON, with canonical numbers and chapter 7's string escapes. */
768
+ declare const encodeJson: (value: Value) => string;
769
+ //#endregion
770
+ //#region src/handlers.d.ts
771
+ /** Untyped Handler calls accept safe-integer JS numbers and plain data. */
772
+ type Handlers = {
773
+ [name: string]: (...args: (PlainValue | number | bigint)[]) => Promise<PlainValue>;
774
+ };
775
+ /** The Host supplies T without runtime checking of its arguments or results. */
776
+ type ScriptWithHandlers<T = Handlers> = Script & {
777
+ readonly handlers: T;
778
+ };
779
+ /**
780
+ * Calls invoke with integer-mode toValue arguments and default fromValue answers.
781
+ * The Script's existing driver or Host Pump loop still runs the Requests.
782
+ * Promise hooks, symbols and non-message properties read as undefined.
783
+ */
784
+ declare const handlersOf: <T = Handlers>(script: Script) => T;
785
+ //#endregion
786
+ //#region src/group-helper.d.ts
787
+ /** A Group whose driver closes explicitly or at the end of an `await using` scope. */
788
+ type DrivenGroup = Omit<Group, 'load'> & Pick<Drive, 'close' | typeof Symbol.asyncDispose> & {
789
+ load<T = Handlers>(o: LoadOptions): ScriptWithHandlers<T>;
790
+ };
791
+ /** The Zig Host Adapter requires its asynchronously created Core. */
792
+ type CreateGroupOptions$1 = DrivenGroupOptions & {
793
+ core: Core;
794
+ };
795
+ /** Creates a driven Group on the supplied Core; close has the driver's shutdown semantics. */
796
+ declare const createGroup$1: (o: CreateGroupOptions$1) => DrivenGroup;
797
+ //#endregion
722
798
  //#region src/create-group.d.ts
723
799
  /** Omitting core uses the process-wide TS Core. */
724
800
  type CreateGroupOptions = DrivenGroupOptions & {
@@ -727,6 +803,59 @@ type CreateGroupOptions = DrivenGroupOptions & {
727
803
  /** Creates a driven Group that supports `await using` and explicit close(reason). */
728
804
  declare const createGroup: (o: CreateGroupOptions) => DrivenGroup;
729
805
  //#endregion
806
+ //#region src/inline-grants.d.ts
807
+ /** Argument and result types are supplied by the Host, without runtime checking. */
808
+ type InlineFunction = (...args: never[]) => unknown;
809
+ type InlineOperation = InlineFunction | {
810
+ arity?: number;
811
+ fn: InlineFunction;
812
+ } | {
813
+ arity?: number;
814
+ async: InlineFunction;
815
+ maxPendingMs?: number;
816
+ };
817
+ /**
818
+ * Defines one Capability per key and grants all its Operations. Arguments use
819
+ * default fromValue; results use integer-mode toValue. Arity is fn.length unless
820
+ * overridden, including for async functions, which also receive a final signal.
821
+ */
822
+ declare const inlineGrants: (capabilities: Readonly<Record<string, Readonly<Record<string, InlineOperation>>>>) => Record<string, Grant<void>>;
823
+ //#endregion
824
+ //#region src/zone-rules.d.ts
825
+ /**
826
+ * Zone Rules for the IANA zone `zone` from `from` up to `until`, exclusive,
827
+ * as an ordinary map (chapter 7): the offset in effect at `from`, then each
828
+ * Instant in the window where the offset changes. An unknown zone, an empty
829
+ * window, or an offset that isn't a whole number of minutes, as in local mean
830
+ * time before a zone adopted standard time, throws invalid value.
831
+ */
832
+ declare const zoneRules: (zone: string, from: Date, until: Date) => Value;
833
+ //#endregion
834
+ //#region src/manifest.d.ts
835
+ type MessageDecl = {
836
+ args?: readonly Shape[];
837
+ description?: string;
838
+ /** NorthTalk source, each sending this message. */
839
+ examples?: readonly string[];
840
+ name: string;
841
+ receivers?: readonly ObjectKind[];
842
+ };
843
+ type ManifestSpec = {
844
+ grants: Readonly<Record<string, Grant<any>>>;
845
+ kind: string;
846
+ libraries?: readonly Library[];
847
+ messages?: readonly MessageDecl[];
848
+ /** Whether the Host supplies a musical clock (chapter 9, The musical clock). */
849
+ musicalTime?: boolean;
850
+ objectKinds?: readonly ObjectKind[];
851
+ objects?: Readonly<Record<string, ObjectKind>>;
852
+ /** The Owner Kind: one of objectKinds, the kind of `me` for tooling. */
853
+ ownerKind?: ObjectKind;
854
+ version: string;
855
+ };
856
+ /** Chapter 9's deterministic JSON file, ending in LF; never calls the Host. */
857
+ declare const exportManifest: (m: ManifestSpec) => string;
858
+ //#endregion
730
859
  //#region src/lowering.d.ts
731
860
  /** A construct whose lowering the Spec leaves unsettled; not a load diagnostic. */
732
861
  declare class LoweringError extends Error {
@@ -773,4 +902,4 @@ declare const declarationStart: (root: SyntaxNode, declaration: SyntaxNode) => n
773
902
  //#region src/selectors.d.ts
774
903
  declare const validMessageSelector: (message: string, arity: number) => boolean;
775
904
  //#endregion
776
- export { builtins as A, ParseError as C, parseEntry as D, RecoveryDiagnostic as E, units as M, parseSource as O, EntryResult as S, RecoveringParseResult as T, DiagnosticCode as _, LoweringError as a, checkSyntax as b, lowerTree as c, ShapeData as d, shapeData as f, Diagnostic as g, CheckResult as h, CompileResult as i, grammar as j, parseSourceRecovering as k, CreateGroupOptions as l, CheckOptions as m, declarationStart as n, compileSource as o, kindNames as p, CompileOptions as r, exportsOf as s, validMessageSelector as t, createGroup as u, SemanticResult as v, ParseResult as w, EntryKind as x, checkSource as y };
905
+ export { grammar as $, FromValueOptions as A, SemanticResult as B, handlersOf as C, shapeData as D, ShapeData as E, talk as F, ParseError as G, checkSyntax as H, CheckOptions as I, RecoveryDiagnostic as J, ParseResult as K, CheckResult as L, ToValueOptions as M, fromValue as N, kindNames as O, toValue as P, builtins as Q, Diagnostic as R, ScriptWithHandlers as S, encodeJson as T, EntryKind as U, checkSource as V, EntryResult as W, parseSource as X, parseEntry as Y, parseSourceRecovering as Z, createGroup as _, LoweringError as a, createGroup$1 as b, lowerTree as c, exportManifest as d, units as et, zoneRules as f, CreateGroupOptions as g, inlineGrants as h, CompileResult as i, PlainValue as j, encodeValue as k, ManifestSpec as l, InlineOperation as m, declarationStart as n, compileSource as o, InlineFunction as p, RecoveringParseResult as q, CompileOptions as r, exportsOf as s, validMessageSelector as t, MessageDecl as u, CreateGroupOptions$1 as v, decodeJson as w, Handlers as x, DrivenGroup as y, DiagnosticCode as z };
@@ -1,19 +1,19 @@
1
1
 
2
- import { fn as unicodeVersion } from "./errors-VuwK669R.js";
3
- import { i as restore, l as compileLibrary, r as newGroup, s as stateFingerprint } from "./group-Ccuqwq12.js";
4
- import { t as defineObjectKind } from "./objects-TarIKBL8.js";
5
- import { bt as defineCapability, dt as costModel, pt as languageVersion } from "./operations-BAELnqwf.js";
6
- import { a as clockCapability, d as timerCapability, i as calendarCapability, o as consoleCapability, u as musicalClockCapability } from "./encoding-B7MCQ4ii.js";
7
- import { a as peerKind, i as peerCapability } from "./peer-capability-B8eKbljR.js";
8
- import { a as sqliteCapability, i as httpCapability, n as createGroup$1 } from "./inline-grants-DmOdgSoK.js";
9
- import { n as localeCapability, t as userCapability } from "./user-capability-ClYd8Vln.js";
10
- import { r as storeCapability } from "./store-capability-CxQJ_Huz.js";
2
+ import { fn as unicodeVersion } from "./errors-CNc-xY_9.js";
3
+ import { i as restore, l as compileLibrary, r as newGroup, s as stateFingerprint } from "./group-CY4FKhzT.js";
4
+ import { t as defineObjectKind } from "./objects-OKVLH190.js";
5
+ import { bt as defineCapability, dt as costModel, pt as languageVersion } from "./operations-B3XaG7Ve.js";
6
+ import { a as clockCapability, d as timerCapability, i as calendarCapability, o as consoleCapability, u as musicalClockCapability } from "./encoding-DzVFpg7k.js";
7
+ import { a as peerKind, i as peerCapability } from "./peer-capability-3etyPHs3.js";
8
+ import { a as httpCapability, o as sqliteCapability, r as createGroup$1 } from "./zone-rules-DsCJtmlC.js";
9
+ import { n as localeCapability, t as userCapability } from "./user-capability-DNY2dyjq.js";
10
+ import { r as storeCapability } from "./store-capability-CBJ6mUoH.js";
11
11
  //#region src/versions.ts
12
12
  const coreVersions = Object.freeze({
13
13
  language: languageVersion,
14
14
  costModel: String(costModel.version),
15
15
  unicode: unicodeVersion,
16
- core: "ts/0.8.0",
16
+ core: "ts/0.9.0",
17
17
  saveFormat: String(1)
18
18
  });
19
19
  //#endregion
package/lean.d.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  /// <reference lib="esnext.disposable" />
2
2
  import { $ as instant, $n as NotImplementedError, $t as shape, A as ScriptSources, An as calendarCapability, Ar as SourceSpan, At as FireOp, B as restore, Bn as compileLibrary, Br as syntaxSelector, Bt as ReleaseHook, C as Report, Cn as LocaleImpl, Cr as NameRole, Ct as ChargeRequest, Dn as Costs, Dr as SemanticScope, Dt as EffectResult, E as RestoreResult, En as ConsoleImpl, Er as SemanticNode, Et as Cost, Fn as Library, Fr as SyntaxElement, Ft as Metering, G as RunStarted, Gn as Run, Gt as SegmentGrant, H as RunAccounting, Hn as LimitName, Ht as ScopeDecl, In as LibraryOptions, Ir as SyntaxErrorCode, It as Operation, J as Value, Jn as UnitLoadError, Jt as SuspendingOp, K as Decimal, Kn as RunRecord, Kt as SegmentLifecycle, L as TsScript, Ln as LibrarySource, Lr as SyntaxNode, Lt as Operations, Mn as consoleCapability, Mr as Mode, Mt as GrantContext, N as Settlement, Nn as musicalClockCapability, Nr as TokType, Nt as ImmediateOp, O as SaveOptions, On as MusicalClockImpl, Or as SemanticToken, Ot as ErrorDecl, P as TsGroup, Pn as timerCapability, Pr as Token, Pt as LimitReached, Q as dec, Qn as loadScript, Qt as operationDeclarations, R as Verdict, Rn as OperationRef, Rr as SyntaxRule, Rt as PlainArg, S as PumpedRequest, Sn as sqliteCapability, Sr as LibraryExport, St as CapabilityDefiner, T as RestoreOptions, Tn as CalendarImpl, Tr as SemanticName, Tt as CoordinatedLifecycle, U as RunAncestry, Un as Limits, Ut as SegmentContext, V as CausalWork, Vr as syntaxText, Vt as ReleaseReason, W as RunDiscarded, Wn as Outcome, Wt as SegmentCoordinator, X as bytes, Xn as defaultLimits, Xt as defineCapability, Y as bool, Yn as callFunction, Yt as conforms, Z as civilDate, Zn as deliver, Zt as explain, _ as LoadOptions, _n as SqlParams, _r as disassemble, _t as PropDef, an as PeerImpl, ar as LoadError, at as quantity, b as PumpOptions, bn as SqliteBinding, br as ExportKind, bt as Call, cn as HttpClientImpl, cr as SendFailedReason, d as Counters, dn as httpCapability, dr as CodeUnit, dt as nowMicros, en as Core, er as canConvert, f as Decided, fn as UserImpl, fr as EventBranch, ft as parseInstant, g as Inspection, gn as storeCapability, gr as UnwindEntry, gt as ObjectKindDef, h as GroupOptions, hn as add, hr as Operand, ht as ObjectKind, in as coreVersions, ir as LoadDiagnostic, it as num, jn as clockCapability, jr as Lexer, jt as Grant, k as ScriptCodeRequest, kn as TimerImpl, kr as SemanticTree, kt as FieldShape, l as CancellationOptions, ln as HttpImpl, lr as Body, lt as text, m as EffectFailure, mn as StoreImpl, mr as Instruction, mt as ObjectElements, nn as Script$1, nr as HostError, nt as map, on as peerCapability, or as MailboxFull, ot as range, p as Deciding, pn as userCapability, pr as EventEntry, pt as HostObject, q as Kind, qn as Script, qt as Shape, rn as Versions, rr as HostErrorCode, rt as nothing, sn as peerKind, sr as ScriptError, st as record, tn as Group, tr as waitUs, tt as list, u as CarryOver, un as HttpServerImpl, ur as BodyKind, ut as formatInstant, v as Message, vn as SqlRows, vr as Binding, vt as defineObjectKind, w as Requested, wn as localeCapability, wr as SemanticElement, wt as ChargeResult, x as PumpResult, xn as SqliteImpl, xr as FunctionContract, xt as CapabilityDef, y as PendingCall, yn as SqlValue, yr as BindingKind, yt as GrantDecls, z as newGroup, zn as codeIdentity, zr as Trivia, zt as PlainResult } from "./debug-s6QIovKS.js";
3
3
  import { n as registerStdlib, r as stdlibNames, t as StdlibLibrary } from "./stdlib-registry-BwitI3Ox.js";
4
- import { A as builtins, C as ParseError, D as parseEntry, E as RecoveryDiagnostic, M as units, O as parseSource, S as EntryResult, T as RecoveringParseResult, _ as DiagnosticCode, a as LoweringError, b as checkSyntax, c as lowerTree, d as ShapeData, f as shapeData, g as Diagnostic, h as CheckResult, i as CompileResult, j as grammar, k as parseSourceRecovering, l as CreateGroupOptions, m as CheckOptions, n as declarationStart, o as compileSource, p as kindNames, r as CompileOptions, s as exportsOf, t as validMessageSelector, u as createGroup, v as SemanticResult, w as ParseResult, x as EntryKind, y as checkSource } from "./lean-D6DQfbqH.js";
5
- import { _ as PlainValue, a as InlineOperation, b as toValue, c as DrivenGroup, d as ScriptWithHandlers, f as handlersOf, g as FromValueOptions, h as encodeValue, i as InlineFunction, m as encodeJson, n as MessageDecl, o as inlineGrants, p as decodeJson, r as exportManifest, t as ManifestSpec, u as Handlers, v as ToValueOptions, x as talk, y as fromValue } from "./manifest-l07K7nW-.js";
4
+ import { $ as grammar, A as FromValueOptions, B as SemanticResult, C as handlersOf, D as shapeData, E as ShapeData, F as talk, G as ParseError, H as checkSyntax, I as CheckOptions, J as RecoveryDiagnostic, K as ParseResult, L as CheckResult, M as ToValueOptions, N as fromValue, O as kindNames, P as toValue, Q as builtins, R as Diagnostic, S as ScriptWithHandlers, T as encodeJson, U as EntryKind, V as checkSource, W as EntryResult, X as parseSource, Y as parseEntry, Z as parseSourceRecovering, _ as createGroup, a as LoweringError, c as lowerTree, d as exportManifest, et as units, f as zoneRules, g as CreateGroupOptions, h as inlineGrants, i as CompileResult, j as PlainValue, k as encodeValue, l as ManifestSpec, m as InlineOperation, n as declarationStart, o as compileSource, p as InlineFunction, q as RecoveringParseResult, r as CompileOptions, s as exportsOf, t as validMessageSelector, u as MessageDecl, w as decodeJson, x as Handlers, y as DrivenGroup, z as DiagnosticCode } from "./lean-Bg_UTRj0.js";
6
5
  import { n as createCore, t as TsCore } from "./core-BBPI6EhG.js";
7
6
  import { a as decodeValue, o as readDisplay, t as FunctionResolver } from "./readers-AeB1bJ--.js";
8
- export { type Binding, type BindingKind, type Body, type BodyKind, type CalendarImpl, type Call, type CancellationOptions, type CapabilityDef, type CapabilityDefiner, type CarryOver, type CausalWork, type ChargeRequest, type ChargeResult, type CheckOptions, type CheckResult, type CodeUnit, type CompileOptions, type CompileResult, Script as CompiledScript, type ConsoleImpl, type CoordinatedLifecycle, type Core, type Cost, type Costs, type Counters, type CreateGroupOptions, type Decided, type Deciding, Decimal, type Diagnostic, type DiagnosticCode, type DrivenGroup, type EffectFailure, type EffectResult, type EntryKind, type EntryResult, type ErrorDecl, type EventBranch, type EventEntry, type ExportKind, type FieldShape, type FireOp, type FromValueOptions, type FunctionContract, type FunctionResolver, type Grant, type GrantContext, type GrantDecls, type Group, type GroupOptions, type Handlers, HostError, type HostErrorCode, type HostObject, type HttpClientImpl, type HttpImpl, type HttpServerImpl, type ImmediateOp, type InlineFunction, type InlineOperation, type Inspection, type Instruction, type Kind, Lexer, type Library, type LibraryExport, type LibraryOptions, type LibrarySource, type LimitName, LimitReached, type Limits, type LoadDiagnostic, LoadError, type LoadOptions, type LocaleImpl, LoweringError, MailboxFull, type ManifestSpec, type Message, type MessageDecl, type Metering, type Mode, type MusicalClockImpl, type NameRole, NotImplementedError, type ObjectElements, type ObjectKind, type ObjectKindDef, type Operand, type Operation, type OperationRef, type Operations, type Outcome, ParseError, type ParseResult, type PeerImpl, type PendingCall, type PlainArg, type PlainResult, type PlainValue, type PropDef, type PumpOptions, type PumpResult, type PumpedRequest, type RecoveringParseResult, type RecoveryDiagnostic, type ReleaseHook, type ReleaseReason, type Report, type Requested, type RestoreOptions, type RestoreResult, Run, type RunAccounting, type RunAncestry, type RunDiscarded, type RunRecord, type RunStarted, type SaveOptions, type ScopeDecl, type Script$1 as Script, type ScriptCodeRequest, ScriptError, type ScriptSources, type ScriptWithHandlers, type SegmentContext, type SegmentCoordinator, type SegmentGrant, type SegmentLifecycle, type SemanticElement, type SemanticName, type SemanticNode, type SemanticResult, type SemanticScope, type SemanticToken, type SemanticTree, type SendFailedReason, type Settlement, type Shape, type ShapeData, type SourceSpan, type SqlParams, type SqlRows, type SqlValue, type SqliteBinding, type SqliteImpl, type StdlibLibrary, type StoreImpl, type SuspendingOp, type SyntaxElement, type SyntaxErrorCode, type SyntaxNode, type SyntaxRule, type TimerImpl, type ToValueOptions, type TokType, type Token, type Trivia, type TsCore, TsGroup, TsScript, UnitLoadError, type UnwindEntry, type UserImpl, Value, type Verdict, type Versions, add, bool, builtins, bytes, calendarCapability, callFunction, canConvert, checkSource, checkSyntax, civilDate, clockCapability, codeIdentity, compileLibrary, compileSource, conforms, consoleCapability, coreVersions, createCore, createGroup, dec, declarationStart, decodeJson, decodeValue, defaultLimits, defineCapability, defineObjectKind, deliver, disassemble, encodeJson, encodeValue, explain, exportManifest, exportsOf, formatInstant, fromValue, grammar, handlersOf, httpCapability, inlineGrants, instant, kindNames, list, loadScript, localeCapability, lowerTree, map, musicalClockCapability, newGroup, nothing, nowMicros, num, operationDeclarations, parseEntry, parseInstant, parseSource, parseSourceRecovering, peerCapability, peerKind, quantity, range, readDisplay, record, registerStdlib, restore, shape, shapeData, sqliteCapability, stdlibNames, storeCapability, syntaxSelector, syntaxText, talk, text, timerCapability, toValue, units, userCapability, validMessageSelector, waitUs };
7
+ export { type Binding, type BindingKind, type Body, type BodyKind, type CalendarImpl, type Call, type CancellationOptions, type CapabilityDef, type CapabilityDefiner, type CarryOver, type CausalWork, type ChargeRequest, type ChargeResult, type CheckOptions, type CheckResult, type CodeUnit, type CompileOptions, type CompileResult, Script as CompiledScript, type ConsoleImpl, type CoordinatedLifecycle, type Core, type Cost, type Costs, type Counters, type CreateGroupOptions, type Decided, type Deciding, Decimal, type Diagnostic, type DiagnosticCode, type DrivenGroup, type EffectFailure, type EffectResult, type EntryKind, type EntryResult, type ErrorDecl, type EventBranch, type EventEntry, type ExportKind, type FieldShape, type FireOp, type FromValueOptions, type FunctionContract, type FunctionResolver, type Grant, type GrantContext, type GrantDecls, type Group, type GroupOptions, type Handlers, HostError, type HostErrorCode, type HostObject, type HttpClientImpl, type HttpImpl, type HttpServerImpl, type ImmediateOp, type InlineFunction, type InlineOperation, type Inspection, type Instruction, type Kind, Lexer, type Library, type LibraryExport, type LibraryOptions, type LibrarySource, type LimitName, LimitReached, type Limits, type LoadDiagnostic, LoadError, type LoadOptions, type LocaleImpl, LoweringError, MailboxFull, type ManifestSpec, type Message, type MessageDecl, type Metering, type Mode, type MusicalClockImpl, type NameRole, NotImplementedError, type ObjectElements, type ObjectKind, type ObjectKindDef, type Operand, type Operation, type OperationRef, type Operations, type Outcome, ParseError, type ParseResult, type PeerImpl, type PendingCall, type PlainArg, type PlainResult, type PlainValue, type PropDef, type PumpOptions, type PumpResult, type PumpedRequest, type RecoveringParseResult, type RecoveryDiagnostic, type ReleaseHook, type ReleaseReason, type Report, type Requested, type RestoreOptions, type RestoreResult, Run, type RunAccounting, type RunAncestry, type RunDiscarded, type RunRecord, type RunStarted, type SaveOptions, type ScopeDecl, type Script$1 as Script, type ScriptCodeRequest, ScriptError, type ScriptSources, type ScriptWithHandlers, type SegmentContext, type SegmentCoordinator, type SegmentGrant, type SegmentLifecycle, type SemanticElement, type SemanticName, type SemanticNode, type SemanticResult, type SemanticScope, type SemanticToken, type SemanticTree, type SendFailedReason, type Settlement, type Shape, type ShapeData, type SourceSpan, type SqlParams, type SqlRows, type SqlValue, type SqliteBinding, type SqliteImpl, type StdlibLibrary, type StoreImpl, type SuspendingOp, type SyntaxElement, type SyntaxErrorCode, type SyntaxNode, type SyntaxRule, type TimerImpl, type ToValueOptions, type TokType, type Token, type Trivia, type TsCore, TsGroup, TsScript, UnitLoadError, type UnwindEntry, type UserImpl, Value, type Verdict, type Versions, add, bool, builtins, bytes, calendarCapability, callFunction, canConvert, checkSource, checkSyntax, civilDate, clockCapability, codeIdentity, compileLibrary, compileSource, conforms, consoleCapability, coreVersions, createCore, createGroup, dec, declarationStart, decodeJson, decodeValue, defaultLimits, defineCapability, defineObjectKind, deliver, disassemble, encodeJson, encodeValue, explain, exportManifest, exportsOf, formatInstant, fromValue, grammar, handlersOf, httpCapability, inlineGrants, instant, kindNames, list, loadScript, localeCapability, lowerTree, map, musicalClockCapability, newGroup, nothing, nowMicros, num, operationDeclarations, parseEntry, parseInstant, parseSource, parseSourceRecovering, peerCapability, peerKind, quantity, range, readDisplay, record, registerStdlib, restore, shape, shapeData, sqliteCapability, stdlibNames, storeCapability, syntaxSelector, syntaxText, talk, text, timerCapability, toValue, units, userCapability, validMessageSelector, waitUs, zoneRules };
package/lean.js CHANGED
@@ -1,16 +1,16 @@
1
1
 
2
- import { D as instant, H as num, J as range, K as quantity, L as map, N as list, Qt as parseInstant, V as nothing, Xt as nowMicros, Y as record, b as dec, c as Decimal, d as bytes, g as civilDate, hn as grammar, i as ScriptError, it as text, l as Value, n as LoadError, pn as builtins, qt as formatInstant, r as MailboxFull, t as HostError, u as bool, vn as units } from "./errors-VuwK669R.js";
3
- import { S as registerStdlib, _ as loadScript, b as exportsOf, c as codeIdentity, d as Run, f as Script, g as deliver, h as defaultLimits, i as restore, l as compileLibrary, m as callFunction, n as TsScript, p as UnitLoadError, r as newGroup, t as TsGroup, v as LoweringError, w as stdlibNames, x as lowerTree, y as compileSource } from "./group-Ccuqwq12.js";
4
- import { t as defineObjectKind } from "./objects-TarIKBL8.js";
5
- import { At as validMessageSelector, Dt as shape, Et as operationDeclarations, Mt as Lexer, U as waitUs, bt as defineCapability, c as canConvert, et as disassemble, gt as LimitReached, t as NotImplementedError, vt as conforms, wt as explain } from "./operations-BAELnqwf.js";
6
- import { a as syntaxText, c as parseSource, i as syntaxSelector, l as parseSourceRecovering, o as ParseError, p as declarationStart, r as checkSyntax, s as parseEntry, t as checkSource, v as shapeData, y as kindNames } from "./checker-Q4w7rLXk.js";
7
- import { n as exportManifest } from "./manifest-BeViDIoy.js";
8
- import { c as readDisplay, r as decodeValue } from "./readers-BG8g59qS.js";
9
- import { a as clockCapability, d as timerCapability, i as calendarCapability, o as consoleCapability, t as encodeValue, u as musicalClockCapability } from "./encoding-B7MCQ4ii.js";
10
- import { a as peerKind, i as peerCapability } from "./peer-capability-B8eKbljR.js";
11
- import { a as sqliteCapability, c as talk, i as httpCapability, o as fromValue, r as handlersOf, s as toValue, t as inlineGrants } from "./inline-grants-DmOdgSoK.js";
12
- import { o as decodeJson, s as encodeJson } from "./http-fetch--O27xjSW.js";
13
- import { n as createCore, r as coreVersions, t as createGroup } from "./lean-BjhQvHyr.js";
14
- import { n as localeCapability, t as userCapability } from "./user-capability-ClYd8Vln.js";
15
- import { r as storeCapability, t as add } from "./store-capability-CxQJ_Huz.js";
16
- export { Script as CompiledScript, Decimal, HostError, Lexer, LimitReached, LoadError, LoweringError, MailboxFull, NotImplementedError, ParseError, Run, ScriptError, TsGroup, TsScript, UnitLoadError, Value, add, bool, builtins, bytes, calendarCapability, callFunction, canConvert, checkSource, checkSyntax, civilDate, clockCapability, codeIdentity, compileLibrary, compileSource, conforms, consoleCapability, coreVersions, createCore, createGroup, dec, declarationStart, decodeJson, decodeValue, defaultLimits, defineCapability, defineObjectKind, deliver, disassemble, encodeJson, encodeValue, explain, exportManifest, exportsOf, formatInstant, fromValue, grammar, handlersOf, httpCapability, inlineGrants, instant, kindNames, list, loadScript, localeCapability, lowerTree, map, musicalClockCapability, newGroup, nothing, nowMicros, num, operationDeclarations, parseEntry, parseInstant, parseSource, parseSourceRecovering, peerCapability, peerKind, quantity, range, readDisplay, record, registerStdlib, restore, shape, shapeData, sqliteCapability, stdlibNames, storeCapability, syntaxSelector, syntaxText, talk, text, timerCapability, toValue, units, userCapability, validMessageSelector, waitUs };
2
+ import { D as instant, H as num, J as range, K as quantity, L as map, N as list, Qt as parseInstant, V as nothing, Xt as nowMicros, Y as record, b as dec, c as Decimal, d as bytes, g as civilDate, hn as grammar, i as ScriptError, it as text, l as Value, n as LoadError, pn as builtins, qt as formatInstant, r as MailboxFull, t as HostError, u as bool, vn as units } from "./errors-CNc-xY_9.js";
3
+ import { S as registerStdlib, _ as loadScript, b as exportsOf, c as codeIdentity, d as Run, f as Script, g as deliver, h as defaultLimits, i as restore, l as compileLibrary, m as callFunction, n as TsScript, p as UnitLoadError, r as newGroup, t as TsGroup, v as LoweringError, w as stdlibNames, x as lowerTree, y as compileSource } from "./group-CY4FKhzT.js";
4
+ import { t as defineObjectKind } from "./objects-OKVLH190.js";
5
+ import { At as validMessageSelector, Dt as shape, Et as operationDeclarations, Mt as Lexer, U as waitUs, bt as defineCapability, c as canConvert, et as disassemble, gt as LimitReached, t as NotImplementedError, vt as conforms, wt as explain } from "./operations-B3XaG7Ve.js";
6
+ import { a as syntaxText, c as parseSource, i as syntaxSelector, l as parseSourceRecovering, o as ParseError, p as declarationStart, r as checkSyntax, s as parseEntry, t as checkSource, v as shapeData, y as kindNames } from "./checker-D74oYIhs.js";
7
+ import { n as exportManifest } from "./manifest-DVS1SEmN.js";
8
+ import { c as readDisplay, r as decodeValue } from "./readers-G1lHqrPl.js";
9
+ import { a as clockCapability, d as timerCapability, i as calendarCapability, o as consoleCapability, t as encodeValue, u as musicalClockCapability } from "./encoding-DzVFpg7k.js";
10
+ import { a as peerKind, i as peerCapability } from "./peer-capability-3etyPHs3.js";
11
+ import { a as httpCapability, c as toValue, i as handlersOf, l as talk, n as inlineGrants, o as sqliteCapability, s as fromValue, t as zoneRules } from "./zone-rules-DsCJtmlC.js";
12
+ import { o as decodeJson, s as encodeJson } from "./http-fetch-DnpfiOWK.js";
13
+ import { n as createCore, r as coreVersions, t as createGroup } from "./lean-DTCTJUmR.js";
14
+ import { n as localeCapability, t as userCapability } from "./user-capability-DNY2dyjq.js";
15
+ import { r as storeCapability, t as add } from "./store-capability-CBJ6mUoH.js";
16
+ export { Script as CompiledScript, Decimal, HostError, Lexer, LimitReached, LoadError, LoweringError, MailboxFull, NotImplementedError, ParseError, Run, ScriptError, TsGroup, TsScript, UnitLoadError, Value, add, bool, builtins, bytes, calendarCapability, callFunction, canConvert, checkSource, checkSyntax, civilDate, clockCapability, codeIdentity, compileLibrary, compileSource, conforms, consoleCapability, coreVersions, createCore, createGroup, dec, declarationStart, decodeJson, decodeValue, defaultLimits, defineCapability, defineObjectKind, deliver, disassemble, encodeJson, encodeValue, explain, exportManifest, exportsOf, formatInstant, fromValue, grammar, handlersOf, httpCapability, inlineGrants, instant, kindNames, list, loadScript, localeCapability, lowerTree, map, musicalClockCapability, newGroup, nothing, nowMicros, num, operationDeclarations, parseEntry, parseInstant, parseSource, parseSourceRecovering, peerCapability, peerKind, quantity, range, readDisplay, record, registerStdlib, restore, shape, shapeData, sqliteCapability, stdlibNames, storeCapability, syntaxSelector, syntaxText, talk, text, timerCapability, toValue, units, userCapability, validMessageSelector, waitUs, zoneRules };
@@ -1,7 +1,7 @@
1
1
 
2
- import { X as requireArgs, t as HostError } from "./errors-VuwK669R.js";
3
- import { gt as LimitReached, pt as languageVersion, ut as compareText } from "./operations-BAELnqwf.js";
4
- import { n as quoteJSON } from "./encoding-B7MCQ4ii.js";
2
+ import { X as requireArgs, t as HostError } from "./errors-CNc-xY_9.js";
3
+ import { gt as LimitReached, pt as languageVersion, ut as compareText } from "./operations-B3XaG7Ve.js";
4
+ import { n as quoteJSON } from "./encoding-DzVFpg7k.js";
5
5
  //#region src/call-meter.ts
6
6
  var CallMeter = class {
7
7
  take;
package/message-layer.js CHANGED
@@ -1,4 +1,4 @@
1
1
 
2
- import { l as readOrderedJSON, n as JsonObject, t as JsonNumber } from "./readers-BG8g59qS.js";
3
- import { c as isRequestPumpBinary, f as decodeBinaryValue, i as encodeBinaryFrame, n as decodeBinaryFrame, p as encodeBinaryValue, t as callbacksFeature, u as requestPumpFeature } from "./request-pump-binary-87klb6sX.js";
2
+ import { l as readOrderedJSON, n as JsonObject, t as JsonNumber } from "./readers-G1lHqrPl.js";
3
+ import { c as isRequestPumpBinary, f as decodeBinaryValue, i as encodeBinaryFrame, n as decodeBinaryFrame, p as encodeBinaryValue, t as callbacksFeature, u as requestPumpFeature } from "./request-pump-binary-VOPVqRZD.js";
4
4
  export { JsonNumber, JsonObject, callbacksFeature, decodeBinaryFrame, decodeBinaryValue, encodeBinaryFrame, encodeBinaryValue, isRequestPumpBinary, readOrderedJSON, requestPumpFeature };
package/notify.js CHANGED
@@ -1,2 +1,2 @@
1
1
 
2
- export { t as changed, n as createRouter } from "./router-DXmPA-qi.js";
2
+ export { t as changed, n as createRouter } from "./router-Bdm4KiMG.js";
@@ -1,5 +1,5 @@
1
1
 
2
- import { U as objectValue, t as HostError } from "./errors-VuwK669R.js";
2
+ import { U as objectValue, t as HostError } from "./errors-CNc-xY_9.js";
3
3
  //#region src/objects.ts
4
4
  const elementCost = (cost, name) => {
5
5
  const c = cost;