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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "imports": {
3
- "toilscript": "https://cdn.jsdelivr.net/npm/toilscript@0.1.62/dist/toilscript.js",
4
- "toilscript/cli": "https://cdn.jsdelivr.net/npm/toilscript@0.1.62/dist/cli.js",
3
+ "toilscript": "https://cdn.jsdelivr.net/npm/toilscript@0.1.64/dist/toilscript.js",
4
+ "toilscript/cli": "https://cdn.jsdelivr.net/npm/toilscript@0.1.64/dist/cli.js",
5
5
  "binaryen": "https://cdn.jsdelivr.net/npm/binaryen@130.0.0/index.js",
6
6
  "long": "https://cdn.jsdelivr.net/npm/long@5.3.2/index.js"
7
7
  }
@@ -611,7 +611,8 @@ declare module "types:toilscript/src/diagnosticMessages.generated" {
611
611
  Stream_connect_handler_0_has_an_invalid_signature = 9014,
612
612
  Stream_message_handler_0_has_an_invalid_signature = 9015,
613
613
  Stream_close_handler_0_has_an_invalid_signature = 9016,
614
- Stream_disconnect_handler_0_has_an_invalid_signature = 9017
614
+ Stream_disconnect_handler_0_has_an_invalid_signature = 9017,
615
+ Host_import_0_is_not_available_in_a_cold_daemon_artifact_use_the_server_Log_API = 9018
615
616
  }
616
617
  /** Translates a diagnostic code to its respective string. */
617
618
  export function diagnosticCodeToString(code: DiagnosticCode): string;
@@ -3019,11 +3020,11 @@ declare module "types:toilscript/src/parser" {
3019
3020
  getDependee(dependent: string): string | null;
3020
3021
  /** Finishes parsing. */
3021
3022
  finish(): void;
3022
- /** Synthesize the hot/default module-level `derive_run(derive_id)` export for
3023
+ /** Synthesize the module-level `derive_run(derive_id)` export for
3023
3024
  * `@database` classes with `@derive` methods. Runs before element creation
3024
3025
  * from `initializeProgram`, so generated members/exports are compiled as
3025
- * ordinary program symbols. Cold artifacts intentionally do not export
3026
- * request-path derive runners and do not emit `toildb.derives`. */
3026
+ * ordinary program symbols. Cold artifacts carry the same materializers so
3027
+ * daemon writes can refresh their views without waiting for a request. */
3027
3028
  weaveDeriveHandlers(): void;
3028
3029
  weaveDataMigrations(): void;
3029
3030
  /** Enforce the migration-file convention (folder AND extension): every `@migrate`
@@ -4689,7 +4690,7 @@ declare module "types:toilscript/src/dbcatalog" {
4689
4690
  * u16 format_version = 1
4690
4691
  * u16 n_derives
4691
4692
  * per derive:
4692
- * u16 derive_id (global declaration order in the hot/default module)
4693
+ * u16 derive_id (global declaration order in the compiled artifact)
4693
4694
  * str db_name (the @database class name; the write -> derive key)
4694
4695
  * str method_name (the @derive method, for diagnostics)
4695
4696
  */