@northtalk/ts 0.5.0 → 0.6.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 (70) hide show
  1. package/README.md +11 -0
  2. package/base64-CDO-a06R.js +29 -0
  3. package/{binary-value-B3knLdHD.d.ts → binary-value-C4ZiXVjv.d.ts} +1 -1
  4. package/{checker-DMI4LiRm.js → checker-CUhn2XaM.js} +4 -4
  5. package/{core-D_9OuTRE.d.ts → core-egHbNmve.d.ts} +1 -1
  6. package/{debug-nN5tQ_p4.d.ts → debug--Of4MSLw.d.ts} +35 -11
  7. package/debug.d.ts +1 -1
  8. package/debug.js +1 -1
  9. package/{driver-Bf-7Roq6.d.ts → driver-BIm1mL77.d.ts} +1 -1
  10. package/driver.d.ts +1 -1
  11. package/driver.js +1 -1
  12. package/{encoding-C3Q7pIC9.js → encoding-RUuES_e4.js} +2 -2
  13. package/{engine-BpdGfAND.js → engine-CXf5FCwi.js} +6 -6
  14. package/{engine-CQqt4rTB.d.ts → engine-DbDcopGM.d.ts} +2 -2
  15. package/{errors-BKJES3Zu.js → errors-D11zizZg.js} +1580 -1481
  16. package/{group-Bz2wh72R.js → group-BpzTo0k4.js} +84 -40
  17. package/http-fetch-DFwVIOQg.js +517 -0
  18. package/http.d.ts +39 -2
  19. package/http.js +190 -7
  20. package/index.d.ts +10 -660
  21. package/index.js +36 -49
  22. package/{inline-grants-Cx0Z9XAt.js → inline-grants-XbX9HL_w.js} +72 -304
  23. package/lean-DiS9rUcn.d.ts +741 -0
  24. package/lean-aCvN6y52.js +47 -0
  25. package/lean.d.ts +8 -0
  26. package/lean.js +15 -0
  27. package/{manifest-Dw-8Unmf.js → manifest-CCfpn0kC.js} +3 -4
  28. package/{manifest-DYAbIyQm.d.ts → manifest-mpivREn-.d.ts} +2 -2
  29. package/message-layer.d.ts +2 -2
  30. package/message-layer.js +2 -2
  31. package/notify.d.ts +1 -1
  32. package/notify.js +1 -1
  33. package/{objects-BRcpeXwZ.d.ts → objects-DYq_YvaQ.d.ts} +5 -1
  34. package/{objects-BC4fS0vq.js → objects-DmUc0lha.js} +1 -1
  35. package/{base64-Dtqaz_0A.js → operations-DnCcztkZ.js} +1632 -32
  36. package/package.json +36 -2
  37. package/{readers-L90Hoa97.d.ts → readers-8WCimMop.d.ts} +1 -1
  38. package/{readers-B5e5bBrY.js → readers-CsvlahLi.js} +2 -2
  39. package/{request-pump-binary-BjnyqXV5.js → request-pump-binary-oqjWFqZA.js} +5 -4
  40. package/{router-CBuMIl6i.d.ts → router-BQsO8aPV.d.ts} +2 -2
  41. package/{router-BCHEfs4x.js → router-BZ-aYeXA.js} +4 -4
  42. package/session.d.ts +2 -2
  43. package/session.js +55 -16
  44. package/setup.d.ts +1 -1
  45. package/setup.js +4 -4
  46. package/sqlite.d.ts +2 -2
  47. package/sqlite.js +5 -5
  48. package/stdlib/bytes.d.ts +6 -0
  49. package/stdlib/bytes.js +11 -0
  50. package/stdlib/date.d.ts +6 -0
  51. package/stdlib/date.js +11 -0
  52. package/stdlib/json.d.ts +6 -0
  53. package/stdlib/json.js +11 -0
  54. package/stdlib/list.d.ts +6 -0
  55. package/stdlib/list.js +10 -0
  56. package/stdlib/map.d.ts +6 -0
  57. package/stdlib/map.js +10 -0
  58. package/stdlib/text.d.ts +6 -0
  59. package/stdlib/text.js +10 -0
  60. package/stdlib/units.d.ts +6 -0
  61. package/stdlib/units.js +10 -0
  62. package/stdlib-registry-BwitI3Ox.d.ts +18 -0
  63. package/{store-DTQa0lyE.js → store-DHlo6fP5.js} +2 -2
  64. package/{store-capability-BxXgiRM7.js → store-capability-BrUUAwVS.js} +3 -4
  65. package/store.d.ts +2 -2
  66. package/store.js +2 -2
  67. package/{user-capability-5-IvCeZI.js → user-capability-BcRQyyEw.js} +4 -5
  68. package/wasm.d.ts +8 -6
  69. package/wasm.js +19 -15
  70. package/capabilities-Bi5Qm6Fr.js +0 -1320
@@ -0,0 +1,47 @@
1
+
2
+ import { in as unicodeVersion } from "./errors-D11zizZg.js";
3
+ import { i as restore, l as compileLibrary, r as newGroup, s as stateFingerprint } from "./group-BpzTo0k4.js";
4
+ import { t as defineObjectKind } from "./objects-DmUc0lha.js";
5
+ import { _t as defineCapability, ft as languageVersion, ut as costModel } from "./operations-DnCcztkZ.js";
6
+ import { a as sqliteCapability, i as httpCapability, n as createGroup$1 } from "./inline-grants-XbX9HL_w.js";
7
+ import { n as localeCapability, t as userCapability } from "./user-capability-BcRQyyEw.js";
8
+ import { a as clockCapability, i as calendarCapability, l as timerCapability, o as consoleCapability, r as storeCapability } from "./store-capability-BrUUAwVS.js";
9
+ //#region src/versions.ts
10
+ const coreVersions = Object.freeze({
11
+ language: languageVersion,
12
+ costModel: String(costModel.version),
13
+ unicode: unicodeVersion,
14
+ core: "ts/0.6.0",
15
+ saveFormat: String(1)
16
+ });
17
+ //#endregion
18
+ //#region src/core.ts
19
+ const core = Object.freeze({
20
+ defineCapability,
21
+ defineObjectKind,
22
+ clockCapability,
23
+ calendarCapability,
24
+ localeCapability,
25
+ timerCapability,
26
+ consoleCapability,
27
+ storeCapability,
28
+ sqliteCapability,
29
+ userCapability,
30
+ httpCapability,
31
+ compileLibrary,
32
+ newGroup,
33
+ restore,
34
+ stateFingerprint,
35
+ versions: coreVersions
36
+ });
37
+ /** Return the process-wide Core, also used by the free-function helpers. */
38
+ const createCore = () => core;
39
+ //#endregion
40
+ //#region src/create-group.ts
41
+ /** Creates a driven Group that supports `await using` and explicit close(reason). */
42
+ const createGroup = (o) => createGroup$1({
43
+ ...o,
44
+ core: o.core ?? createCore()
45
+ });
46
+ //#endregion
47
+ export { createCore as n, coreVersions as r, createGroup as t };
package/lean.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ /// <reference lib="esnext.disposable" />
2
+ import { $ as instant, $n as ScriptError, $t as Script$1, A as ScriptSources, An as OperationRef, Ar as SyntaxRule, At as FireOp, B as restore, Bn as UnitLoadError, Bt as ReleaseHook, C as Report, Cn as calendarCapability, Cr as Lexer, Ct as ChargeRequest, Dn as Library, Dr as SyntaxElement, Dt as EffectResult, E as RestoreResult, En as timerCapability, Er as Token, Et as Cost, Fn as Limits, Ft as Metering, G as RunStarted, Gn as NotImplementedError, Gt as SegmentGrant, H as RunAccounting, Hn as defaultLimits, Ht as ScopeDecl, In as Outcome, It as Operation, J as Value, Jn as HostError, Jt as SuspendingOp, K as Decimal, Kn as canConvert, Kt as SegmentLifecycle, L as TsScript, Ln as Run, Lt as Operations, Mn as compileLibrary, Mr as syntaxSelector, Mt as GrantContext, N as Settlement, Nr as syntaxText, Nt as ImmediateOp, O as SaveOptions, On as LibraryOptions, Or as SyntaxErrorCode, Ot as ErrorDecl, P as TsGroup, Pn as LimitName, Pt as LimitReached, Q as dec, Qn as MailboxFull, Qt as Group, R as Verdict, Rn as RunRecord, Rt as PlainArg, S as PumpedRequest, Sn as TimerImpl, Sr as SourceSpan, St as CapabilityDefiner, T as RestoreOptions, Tn as consoleCapability, Tr as TokType, Tt as CoordinatedLifecycle, U as RunAncestry, Un as deliver, Ut as SegmentContext, V as CausalWork, Vn as callFunction, Vt as ReleaseReason, W as RunDiscarded, Wn as loadScript, Wt as SegmentCoordinator, X as bytes, Xn as LoadDiagnostic, Xt as shape, Y as bool, Yn as HostErrorCode, Yt as defineCapability, Z as civilDate, Zn as LoadError, Zt as Core, _ as LoadOptions, _n as LocaleImpl, _r as SemanticName, _t as PropDef, an as httpCapability, ar as EventEntry, at as quantity, b as PumpOptions, bn as ConsoleImpl, br as SemanticToken, bt as Call, cn as StoreImpl, cr as UnwindEntry, d as Counters, dn as SqlParams, dr as BindingKind, dt as nowMicros, en as Versions, er as SendFailedReason, f as Decided, fn as SqlRows, fr as ExportKind, ft as parseInstant, g as Inspection, gn as sqliteCapability, gr as SemanticElement, gt as ObjectKindDef, h as GroupOptions, hn as SqliteImpl, hr as NameRole, ht as ObjectKind, in as HttpServerImpl, ir as EventBranch, it as num, jn as codeIdentity, jr as Trivia, jt as Grant, k as ScriptCodeRequest, kn as LibrarySource, kr as SyntaxNode, kt as FieldShape, l as CancellationOptions, ln as add, lr as disassemble, lt as text, m as EffectFailure, mn as SqliteBinding, mr as LibraryExport, mt as ObjectElements, nn as HttpClientImpl, nr as BodyKind, nt as map, on as UserImpl, or as Instruction, ot as range, p as Deciding, pn as SqlValue, pr as FunctionContract, pt as HostObject, q as Kind, qn as waitUs, qt as Shape, rn as HttpImpl, rr as CodeUnit, rt as nothing, sn as userCapability, sr as Operand, st as record, tn as coreVersions, tr as Body, tt as list, u as CarryOver, un as storeCapability, ur as Binding, ut as formatInstant, v as Message, vn as localeCapability, vr as SemanticNode, vt as defineObjectKind, w as Requested, wn as clockCapability, wr as Mode, wt as ChargeResult, x as PumpResult, xn as Costs, xr as SemanticTree, xt as CapabilityDef, y as PendingCall, yn as CalendarImpl, yr as SemanticScope, yt as GrantDecls, z as newGroup, zn as Script, zt as PlainResult } from "./debug--Of4MSLw.js";
3
+ import { n as registerStdlib, r as stdlibNames, t as StdlibLibrary } from "./stdlib-registry-BwitI3Ox.js";
4
+ import { A as units, C as RecoveringParseResult, D as parseSourceRecovering, E as parseSource, O as builtins, S as ParseResult, T as parseEntry, _ as checkSource, a as LoweringError, b as EntryResult, c as lowerTree, d as kindNames, f as CheckOptions, g as SemanticResult, h as DiagnosticCode, i as CompileResult, k as grammar, l as CreateGroupOptions, m as Diagnostic, n as declarationStart, o as compileSource, p as CheckResult, r as CompileOptions, s as exportsOf, t as validMessageSelector, u as createGroup, v as checkSyntax, w as RecoveryDiagnostic, x as ParseError, y as EntryKind } from "./lean-DiS9rUcn.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-mpivREn-.js";
6
+ import { n as createCore, t as TsCore } from "./core-egHbNmve.js";
7
+ import { a as decodeValue, o as readDisplay, t as FunctionResolver } from "./readers-8WCimMop.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 NameRole, NotImplementedError, type ObjectElements, type ObjectKind, type ObjectKindDef, type Operand, type Operation, type OperationRef, type Operations, type Outcome, ParseError, type ParseResult, 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 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, consoleCapability, coreVersions, createCore, createGroup, dec, declarationStart, decodeJson, decodeValue, defaultLimits, defineCapability, defineObjectKind, deliver, disassemble, encodeJson, encodeValue, exportManifest, exportsOf, formatInstant, fromValue, grammar, handlersOf, httpCapability, inlineGrants, instant, kindNames, list, loadScript, localeCapability, lowerTree, map, newGroup, nothing, nowMicros, num, parseEntry, parseInstant, parseSource, parseSourceRecovering, quantity, range, readDisplay, record, registerStdlib, restore, shape, sqliteCapability, stdlibNames, storeCapability, syntaxSelector, syntaxText, talk, text, timerCapability, toValue, units, userCapability, validMessageSelector, waitUs };
package/lean.js ADDED
@@ -0,0 +1,15 @@
1
+
2
+ import { Bt as formatInstant, G as record, Gt as parseInstant, H as quantity, L as nothing, N as map, Q as text, R as num, T as instant, Ut as nowMicros, W as range, an as builtins, c as Decimal, d as bytes, i as ScriptError, k as list, l as Value, m as civilDate, n as LoadError, r as MailboxFull, sn as grammar, t as HostError, u as bool, un as units, v as dec } from "./errors-D11zizZg.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-BpzTo0k4.js";
4
+ import { t as defineObjectKind } from "./objects-DmUc0lha.js";
5
+ import { $ as disassemble, Ct as validMessageSelector, H as waitUs, Tt as Lexer, _t as defineCapability, c as canConvert, ht as LimitReached, t as NotImplementedError, xt as shape } from "./operations-DnCcztkZ.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 kindNames } from "./checker-CUhn2XaM.js";
7
+ import { n as exportManifest } from "./manifest-CCfpn0kC.js";
8
+ import { c as readDisplay, r as decodeValue } from "./readers-CsvlahLi.js";
9
+ import { t as encodeValue } from "./encoding-RUuES_e4.js";
10
+ 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-XbX9HL_w.js";
11
+ import { o as decodeJson, s as encodeJson } from "./http-fetch-DFwVIOQg.js";
12
+ import { n as createCore, r as coreVersions, t as createGroup } from "./lean-aCvN6y52.js";
13
+ import { n as localeCapability, t as userCapability } from "./user-capability-BcRQyyEw.js";
14
+ import { a as clockCapability, i as calendarCapability, l as timerCapability, o as consoleCapability, r as storeCapability, t as add } from "./store-capability-BrUUAwVS.js";
15
+ 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, consoleCapability, coreVersions, createCore, createGroup, dec, declarationStart, decodeJson, decodeValue, defaultLimits, defineCapability, defineObjectKind, deliver, disassemble, encodeJson, encodeValue, exportManifest, exportsOf, formatInstant, fromValue, grammar, handlersOf, httpCapability, inlineGrants, instant, kindNames, list, loadScript, localeCapability, lowerTree, map, newGroup, nothing, nowMicros, num, parseEntry, parseInstant, parseSource, parseSourceRecovering, quantity, range, readDisplay, record, registerStdlib, restore, shape, sqliteCapability, stdlibNames, storeCapability, syntaxSelector, syntaxText, talk, text, timerCapability, toValue, units, userCapability, validMessageSelector, waitUs };
@@ -1,8 +1,7 @@
1
1
 
2
- import { K as requireArgs, t as HostError } from "./errors-BKJES3Zu.js";
3
- import { t as LimitReached } from "./capabilities-Bi5Qm6Fr.js";
4
- import { dt as compareText, mt as languageVersion } from "./base64-Dtqaz_0A.js";
5
- import { n as quoteJSON } from "./encoding-C3Q7pIC9.js";
2
+ import { K as requireArgs, t as HostError } from "./errors-D11zizZg.js";
3
+ import { ft as languageVersion, ht as LimitReached, lt as compareText } from "./operations-DnCcztkZ.js";
4
+ import { n as quoteJSON } from "./encoding-RUuES_e4.js";
6
5
  //#region src/call-meter.ts
7
6
  var CallMeter = class {
8
7
  take;
@@ -1,6 +1,6 @@
1
1
  /// <reference lib="esnext.disposable" />
2
- import { $t as Script, J as Value, K as Decimal, Qt as Group, Tn as Library, Zt as Core, _ as LoadOptions, ht as ObjectKind, jt as Grant, qt as Shape } from "./debug-nN5tQ_p4.js";
3
- import { n as Drive, r as DrivenGroupOptions } from "./driver-Bf-7Roq6.js";
2
+ import { $t as Script, Dn as Library, J as Value, K as Decimal, Qt as Group, Zt as Core, _ as LoadOptions, ht as ObjectKind, jt as Grant, qt as Shape } from "./debug--Of4MSLw.js";
3
+ import { n as Drive, r as DrivenGroupOptions } from "./driver-BIm1mL77.js";
4
4
  //#region src/talk.d.ts
5
5
  /**
6
6
  * Dedents NorthTalk source; rejects JS interpolation.
@@ -1,6 +1,6 @@
1
1
  /// <reference lib="esnext.disposable" />
2
- import { i as JsonObject, n as Json, r as JsonNumber, s as readOrderedJSON } from "./readers-L90Hoa97.js";
3
- import { n as decodeBinaryValue, r as encodeBinaryValue, t as BinaryValueOptions } from "./binary-value-B3knLdHD.js";
2
+ import { i as JsonObject, n as Json, r as JsonNumber, s as readOrderedJSON } from "./readers-8WCimMop.js";
3
+ import { n as decodeBinaryValue, r as encodeBinaryValue, t as BinaryValueOptions } from "./binary-value-C4ZiXVjv.js";
4
4
  //#region src/request-pump-binary.d.ts
5
5
  export declare const requestPumpFeature: "request-pump-fields-v1";
6
6
  export declare const callbacksFeature: "callbacks-fields-v1";
package/message-layer.js CHANGED
@@ -1,4 +1,4 @@
1
1
 
2
- import { l as readOrderedJSON, n as JsonObject, t as JsonNumber } from "./readers-B5e5bBrY.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-BjnyqXV5.js";
2
+ import { l as readOrderedJSON, n as JsonObject, t as JsonNumber } from "./readers-CsvlahLi.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-oqjWFqZA.js";
4
4
  export { JsonNumber, JsonObject, callbacksFeature, decodeBinaryFrame, decodeBinaryValue, encodeBinaryFrame, encodeBinaryValue, isRequestPumpBinary, readOrderedJSON, requestPumpFeature };
package/notify.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  /// <reference lib="esnext.disposable" />
2
- import { a as changed, i as WatchLimits, n as RouterOptions, o as createRouter, r as RoutingResult, t as NotificationRouter } from "./router-CBuMIl6i.js";
2
+ import { a as changed, i as WatchLimits, n as RouterOptions, o as createRouter, r as RoutingResult, t as NotificationRouter } from "./router-BQsO8aPV.js";
3
3
  export { type NotificationRouter, type RouterOptions, type RoutingResult, type WatchLimits, changed, createRouter };
package/notify.js CHANGED
@@ -1,2 +1,2 @@
1
1
 
2
- export { t as changed, n as createRouter } from "./router-BCHEfs4x.js";
2
+ export { t as changed, n as createRouter } from "./router-BZ-aYeXA.js";
@@ -1,5 +1,5 @@
1
1
  /// <reference lib="esnext.disposable" />
2
- import { An as compileLibrary, C as Report, D as RunEvent, E as RestoreResult, F as TsGroupOptions, Ht as ScopeDecl, I as TsRestoreOptions, J as Value, L as TsScript, M as SessionPort, Nn as Limits, P as TsGroup, Tn as Library, Yn as LoadError, _n as CalendarImpl, fn as SqliteBinding, g as Inspection, gt as ObjectKindDef, hn as LocaleImpl, ht as ObjectKind, j as SessionControls, jn as replacementLibraries, jt as Grant, pt as HostObject, qt as Shape, t as DebugController, xt as CapabilityDef, yt as GrantDecls } from "./debug-nN5tQ_p4.js";
2
+ import { C as Report, D as RunEvent, Dn as Library, E as RestoreResult, F as TsGroupOptions, Fn as Limits, Ht as ScopeDecl, I as TsRestoreOptions, J as Value, L as TsScript, M as SessionPort, Mn as compileLibrary, Nn as replacementLibraries, P as TsGroup, Zn as LoadError, _n as LocaleImpl, g as Inspection, gt as ObjectKindDef, ht as ObjectKind, j as SessionControls, jt as Grant, mn as SqliteBinding, pt as HostObject, qt as Shape, t as DebugController, xt as CapabilityDef, yn as CalendarImpl, yt as GrantDecls } from "./debug--Of4MSLw.js";
3
3
  //#region src/setup.d.ts
4
4
  type ShapeSpec = string | {
5
5
  quantity: string;
@@ -101,6 +101,10 @@ type Setup = {
101
101
  }[];
102
102
  id: string;
103
103
  kind: string;
104
+ /** The Operation, `<capability>.<operation>`, whose first call makes it. */
105
+ madeBy?: string;
106
+ /** The object it is made with as its parent, in the display form; only with madeBy. */
107
+ parent?: string;
104
108
  props?: Record<string, string>;
105
109
  }[];
106
110
  operations?: OperationSpec[];
@@ -1,5 +1,5 @@
1
1
 
2
- import { t as HostError, z as objectValue } from "./errors-BKJES3Zu.js";
2
+ import { t as HostError, z as objectValue } from "./errors-D11zizZg.js";
3
3
  //#region src/objects.ts
4
4
  const elementCost = (cost, name) => {
5
5
  const c = cost;