@r_masseater/masseater-utils 0.10.0 → 0.10.2

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.
@@ -37,4 +37,4 @@ declare const runHookWith: <Provided, LayerFailure>({ serviceName, services }: R
37
37
  }>) => Run<Provided>;
38
38
  /** @internal */
39
39
  declare const runHook: (serviceName: string) => Run<never>;
40
- export { readHookInput as a, runMainWith as c, blockHook as i, runHookWith as n, writeHookOutput as o, HookBlocked as r, runMain as s, runHook as t };
40
+ export { readHookInput as a, runMain as c, blockHook as i, runMainWith as l, runHookWith as n, writeHookOutput as o, HookBlocked as r, Platform as s, runHook as t };
@@ -1,4 +1,4 @@
1
1
  import { Effect, Option } from "effect";
2
- import { c as runMainWith, s as runMain } from "./index-1-4t9rX2.mjs";
2
+ import { c as runMain, l as runMainWith } from "./index-CgNig8WC.mjs";
3
3
  export declare const whileParentAlive: (parentPid: Option.Option<string>) => <Value, Failure, Requirements>(program: Effect.Effect<Value, Failure, Requirements>) => Effect.Effect<void, Failure, Requirements>;
4
4
  export { runMain, runMainWith };
@@ -1,6 +1,6 @@
1
1
  import { Effect, FileSystem, Path, Schema } from "effect";
2
2
  import { Option as Option$1 } from "effect/Option";
3
- import { a as readHookInput, i as blockHook, n as runHookWith, o as writeHookOutput, r as HookBlocked, t as runHook } from "./index-1-4t9rX2.mjs";
3
+ import { a as readHookInput, i as blockHook, n as runHookWith, o as writeHookOutput, r as HookBlocked, s as Platform, t as runHook } from "./index-CgNig8WC.mjs";
4
4
  declare const CacheRootError_base: Schema.Class<CacheRootError, Schema.TaggedStruct<"CacheRootError", {
5
5
  readonly message: Schema.String;
6
6
  }>, import("effect/Cause").YieldableError & {
@@ -115,4 +115,4 @@ export declare const placeOf: (env: PlaceEnv) => Place;
115
115
  export declare const jevBackend: (settings: JevSettings, origin: Origin) => JevBackend;
116
116
  export declare const stateFor: (backend: JevBackend, state: JevState) => JevState | string;
117
117
  export declare const estimateTokens: (text: string) => number;
118
- export { type CompactionState, type FitOptions, type FittedState, type HistoryEntry, type HistoryToolCall, HookBlocked, type InstalledPlugin, type JevBackend, type JevSettings, type JevState, type Message, type Origin, type Place, type PlaceEnv, type Role, type ToolCall, type ToolResult, type ToolUse, blockHook, readHookInput, runHook, runHookWith, writeHookOutput };
118
+ export { type CompactionState, type FitOptions, type FittedState, type HistoryEntry, type HistoryToolCall, HookBlocked, type InstalledPlugin, type JevBackend, type JevSettings, type JevState, type Message, type Origin, type Place, type PlaceEnv, type Platform, type Role, type ToolCall, type ToolResult, type ToolUse, blockHook, readHookInput, runHook, runHookWith, writeHookOutput };
@@ -15,8 +15,8 @@ opentelemetry = "=0.33.1"
15
15
  opentelemetry_sdk = "=0.33.1"
16
16
  otlp-file-exporter = "=0.2.1"
17
17
  rmcp = { version = "=3.12.0", features = ["macros", "server", "transport-streamable-http-server"] }
18
- tauri = { version = "=2.12.7", features = ["tracing"] }
19
- tauri-plugin-dialog = "=2.8.4"
18
+ tauri = { version = "=2.13.0", features = ["tracing"] }
19
+ tauri-plugin-dialog = "=2.9.0"
20
20
  tauri-plugin-localhost = "=2.4.0"
21
21
  tauri-plugin-log = "=2.10.2"
22
22
  tauri-plugin-prevent-default = "=6.0.1"
@@ -78,8 +78,8 @@ mod tests {
78
78
  use std::net::TcpListener;
79
79
 
80
80
  use tauri::Url;
81
- use tauri::utils::acl::RemoteUrlPattern;
82
81
  use tauri::utils::acl::capability::Capability;
82
+ use tauri::utils::url::UrlPattern;
83
83
 
84
84
  use super::{HOST, SERVED, origin, screen_port, served_capability};
85
85
 
@@ -104,7 +104,7 @@ mod tests {
104
104
 
105
105
  #[test]
106
106
  fn the_origin_covers_every_page_of_the_chosen_port_and_no_other_port() {
107
- let pattern: RemoteUrlPattern = origin(47_231).parse().unwrap();
107
+ let pattern: UrlPattern = origin(47_231).parse().unwrap();
108
108
  let page = |url: &str| pattern.test(&Url::parse(url).unwrap());
109
109
  assert!(page("http://127.0.0.1:47231/"));
110
110
  assert!(page("http://127.0.0.1:47231/assets/index.js?v=1#top"));
@@ -24,8 +24,8 @@ serde_json = "=1.0.154"
24
24
  sha2 = "=0.11.2"
25
25
  specta = { version = "=2.0.0-rc.28", features = ["derive", "function"] }
26
26
  specta-typescript = "=0.0.15"
27
- tauri = { version = "=2.12.7", features = ["protocol-asset"] }
28
- tauri-plugin-dialog = "=2.8.4"
27
+ tauri = { version = "=2.13.0", features = ["protocol-asset"] }
28
+ tauri-plugin-dialog = "=2.9.0"
29
29
  url = "=2.5.9"
30
30
  uuid = { version = "=1.29.3", features = ["v7"] }
31
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@r_masseater/masseater-utils",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "The small shared libraries of masseater's repositories as subpaths of one package: a chip row for React, Claude Code plugin helpers, Effect entry points for Node.js and GitHub Actions, file import mapping, Node package readers, OTLP assertions for Vitest and Cloudflare Workers tracing, and what the Tauri desktop apps share: OpenTelemetry for the screens, Vite settings, the media-notes screens and the release commands.",
5
5
  "keywords": [
6
6
  "actions",
@@ -164,7 +164,7 @@
164
164
  "provenance": true
165
165
  },
166
166
  "devDependencies": {
167
- "@alchemy.run/cloudflare": "2.0.0-beta.87",
167
+ "@alchemy.run/cloudflare": "2.0.0-beta.88",
168
168
  "@anthropic-ai/claude-agent-sdk": "0.3.332",
169
169
  "@bufbuild/buf": "1.75.0",
170
170
  "@bufbuild/protobuf": "2.17.0",
@@ -200,14 +200,14 @@
200
200
  "@types/youtube": "0.3.0",
201
201
  "@vitejs/plugin-react": "6.3.0",
202
202
  "@vitest/browser-playwright": "5.1.2",
203
- "alchemy": "2.0.0-beta.87",
203
+ "alchemy": "2.0.0-beta.88",
204
204
  "class-variance-authority": "0.7.1",
205
205
  "clsx": "2.1.1",
206
206
  "dejavu-fonts-ttf": "2.37.3",
207
207
  "effect": "4.2.0",
208
208
  "elysia": "1.4.32",
209
209
  "happy-dom": "21.0.4",
210
- "lucide-react": "1.83.0",
210
+ "lucide-react": "1.84.0",
211
211
  "miniflare": "4.20260730.0",
212
212
  "niconico-embed-player": "0.1.2",
213
213
  "playwright": "1.65.1",