Replace @std/path with path-browserify

This commit is contained in:
Alex Gleason committed 2025-09-20 11:24:33 -05:00
1 parent ace3e0b3ac
commit c5f74ceafc
28 files changed
+26 -42

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type OpenAI from "openai";
import type { JSRuntimeFS } from "./JSRuntime";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join, resolve, dirname } from "@std/path";
import { join, resolve, dirname } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join, dirname, basename } from "@std/path";
import { join, dirname, basename } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join, basename } from "@std/path";
import { join, basename } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../../JSRuntime";
import type { ShellCommandResult } from "../ShellCommand";
import { createSuccessResult, createErrorResult } from "../ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join, basename } from "@std/path";
import { join, basename } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join, dirname } from "@std/path";
import { join, dirname } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join, dirname, basename } from "@std/path";
import { join, dirname, basename } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join, dirname } from "@std/path";
import { join, dirname } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -2,7 +2,7 @@
* Security utilities for path validation and access control
*/
import { normalize } from "@std/path";
import { normalize } from "path-browserify";
/**
* Check if the given path is an absolute path
+1 -1
View File
@@ -1,6 +1,6 @@
import { NUser } from "@nostrify/react/login";
import { NostrMetadata } from "@nostrify/nostrify";
import { join } from "@std/path";
import { join } from "path-browserify";
import OpenAI from "openai";
import { nip19 } from "nostr-tools";
import { JSRuntimeFS } from "./JSRuntime";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import { z } from "zod";
import type { Tool } from "./Tool";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import ignore from "ignore";
import { z } from "zod";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join, dirname } from "@std/path";
import { join, dirname } from "path-browserify";
import { z } from "zod";
import type { Tool } from "./Tool";