toilscript 0.1.62 → 0.1.64

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.
@@ -3038,7 +3038,7 @@ declare module "types:toilscript/src/dbcatalog" {
3038
3038
  * u16 format_version = 1
3039
3039
  * u16 n_derives
3040
3040
  * per derive:
3041
- * u16 derive_id (global declaration order in the hot/default module)
3041
+ * u16 derive_id (global declaration order in the compiled artifact)
3042
3042
  * str db_name (the @database class name; the write -> derive key)
3043
3043
  * str method_name (the @derive method, for diagnostics)
3044
3044
  */
@@ -3154,11 +3154,11 @@ declare module "types:toilscript/src/parser" {
3154
3154
  getDependee(dependent: string): string | null;
3155
3155
  /** Finishes parsing. */
3156
3156
  finish(): void;
3157
- /** Synthesize the hot/default module-level `derive_run(derive_id)` export for
3157
+ /** Synthesize the module-level `derive_run(derive_id)` export for
3158
3158
  * `@database` classes with `@derive` methods. Runs before element creation
3159
3159
  * from `initializeProgram`, so generated members/exports are compiled as
3160
- * ordinary program symbols. Cold artifacts intentionally do not export
3161
- * request-path derive runners and do not emit `toildb.derives`. */
3160
+ * ordinary program symbols. Cold artifacts carry the same materializers so
3161
+ * daemon writes can refresh their views without waiting for a request. */
3162
3162
  weaveDeriveHandlers(): void;
3163
3163
  weaveDataMigrations(): void;
3164
3164
  /** Enforce the migration-file convention (folder AND extension): every `@migrate`
@@ -8255,7 +8255,8 @@ declare module "types:toilscript/src/diagnosticMessages.generated" {
8255
8255
  Stream_connect_handler_0_has_an_invalid_signature = 9014,
8256
8256
  Stream_message_handler_0_has_an_invalid_signature = 9015,
8257
8257
  Stream_close_handler_0_has_an_invalid_signature = 9016,
8258
- Stream_disconnect_handler_0_has_an_invalid_signature = 9017
8258
+ Stream_disconnect_handler_0_has_an_invalid_signature = 9017,
8259
+ Host_import_0_is_not_available_in_a_cold_daemon_artifact_use_the_server_Log_API = 9018
8259
8260
  }
8260
8261
  /** Translates a diagnostic code to its respective string. */
8261
8262
  export function diagnosticCodeToString(code: DiagnosticCode): string;