these are better namse
This commit is contained in:
parent
9b87ef6999
commit
c3e4bdd161
|
|
@ -1,4 +1,4 @@
|
|||
import { Form } from "nano-remix"
|
||||
import { Form } from "@the-rabbit-hole/nano-remix"
|
||||
import { users } from "@the-rabbit-hole/shared/reminders"
|
||||
|
||||
type Props = {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import KV from "@the-rabbit-hole/shared/kv"
|
||||
import { Form, type Head, type LoaderProps, useAction } from "nano-remix"
|
||||
import { Form, type Head, type LoaderProps, useAction } from "@the-rabbit-hole/nano-remix"
|
||||
import { addReminder, deleteReminder, type Reminder } from "@the-rabbit-hole/shared/reminders"
|
||||
import { CreateReminder } from "@/components/createReminder"
|
||||
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ const buildDynamicRoute = async (distDir: string, routeName: string, filepath: s
|
|||
// Only import the Component so that tree-shaking will get rid of the server-side code
|
||||
const code = `
|
||||
import Component from "${filepath}"
|
||||
import { wrapComponentWithLoader} from "nano-remix"
|
||||
import { wrapComponentWithLoader} from "@the-rabbit-hole/nano-remix"
|
||||
import { render } from 'hono/jsx/dom'
|
||||
|
||||
const root = document.getElementById('root')
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import OpenAI from "openai"
|
||||
import { ensure } from "shared/utils"
|
||||
import KV from "shared/kv"
|
||||
import { ensure } from "@the-rabbit-hole/shared/utils"
|
||||
import KV from "@the-rabbit-hole/shared/kv"
|
||||
import { buildInstructions } from "@/instructions"
|
||||
import { log } from "shared/log"
|
||||
import { log } from "@the-rabbit-hole/shared/log"
|
||||
import { getToolsJSON, type CustomTool } from "@/tools"
|
||||
import { zodFunction } from "openai/helpers/zod.mjs"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { createInterface } from "node:readline"
|
|||
import { aiErrorMessage, getAIResponse } from "@/ai"
|
||||
import { buildInstructions } from "@/instructions"
|
||||
import type OpenAI from "openai"
|
||||
import { currentLocalTime } from "shared/utils"
|
||||
import { currentLocalTime } from "@the-rabbit-hole/shared/utils"
|
||||
import { tools } from "@/tools"
|
||||
|
||||
// Setup readline interface
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { aiErrorMessage, getAIResponse } from "@/ai"
|
||||
import { buildInstructions } from "@/instructions"
|
||||
import { tools } from "@/tools"
|
||||
import { currentLocalTime } from "shared/utils"
|
||||
import { currentLocalTime } from "@the-rabbit-hole/shared/utils"
|
||||
import type { Message } from "discord.js"
|
||||
import type OpenAI from "openai"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { addReminder, getPendingReminders, updateReminder, users } from "shared/reminders"
|
||||
import { addReminder, getPendingReminders, updateReminder, users } from "@the-rabbit-hole/shared/reminders"
|
||||
import OpenAI from "openai"
|
||||
import { zodFunction } from "openai/helpers/zod"
|
||||
import { z } from "zod"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user