chore: migrate packages to earendil works scope
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Pi Web UI - Example
|
||||
|
||||
This is a minimal example showing how to use `@mariozechner/pi-web-ui` in a web application.
|
||||
This is a minimal example showing how to use `@earendil-works/pi-web-ui` in a web application.
|
||||
|
||||
## Setup
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Pi Web UI - Example</title>
|
||||
<meta name="description" content="Example usage of @mariozechner/pi-web-ui - Reusable AI chat interface" />
|
||||
<meta name="description" content="Example usage of @earendil-works/pi-web-ui - Reusable AI chat interface" />
|
||||
</head>
|
||||
<body class="bg-background">
|
||||
<div id="app"></div>
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@mariozechner/mini-lit": "^0.2.0",
|
||||
"@mariozechner/pi-ai": "file:../../ai",
|
||||
"@mariozechner/pi-web-ui": "file:../",
|
||||
"@earendil-works/pi-ai": "file:../../ai",
|
||||
"@earendil-works/pi-web-ui": "file:../",
|
||||
"@tailwindcss/vite": "^4.1.17",
|
||||
"lit": "^3.3.1",
|
||||
"lucide": "^0.544.0"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { Message } from "@earendil-works/pi-ai";
|
||||
import type { AgentMessage, MessageRenderer } from "@earendil-works/pi-web-ui";
|
||||
import { defaultConvertToLlm, registerMessageRenderer } from "@earendil-works/pi-web-ui";
|
||||
import { Alert } from "@mariozechner/mini-lit/dist/Alert.js";
|
||||
import type { Message } from "@mariozechner/pi-ai";
|
||||
import type { AgentMessage, MessageRenderer } from "@mariozechner/pi-web-ui";
|
||||
import { defaultConvertToLlm, registerMessageRenderer } from "@mariozechner/pi-web-ui";
|
||||
import { html } from "lit";
|
||||
|
||||
// ============================================================================
|
||||
@@ -18,7 +18,7 @@ export interface SystemNotificationMessage {
|
||||
|
||||
// Extend CustomAgentMessages interface via declaration merging
|
||||
// This must target pi-agent-core where CustomAgentMessages is defined
|
||||
declare module "@mariozechner/pi-agent-core" {
|
||||
declare module "@earendil-works/pi-agent-core" {
|
||||
interface CustomAgentMessages {
|
||||
"system-notification": SystemNotificationMessage;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import "@mariozechner/mini-lit/dist/ThemeToggle.js";
|
||||
import { Agent, type AgentMessage } from "@mariozechner/pi-agent-core";
|
||||
import { getModel } from "@mariozechner/pi-ai";
|
||||
import { Agent, type AgentMessage } from "@earendil-works/pi-agent-core";
|
||||
import { getModel } from "@earendil-works/pi-ai";
|
||||
import {
|
||||
type AgentState,
|
||||
ApiKeyPromptDialog,
|
||||
@@ -18,7 +18,7 @@ import {
|
||||
SettingsDialog,
|
||||
SettingsStore,
|
||||
setAppStorage,
|
||||
} from "@mariozechner/pi-web-ui";
|
||||
} from "@earendil-works/pi-web-ui";
|
||||
import { html, render } from "lit";
|
||||
import { Bell, History, Plus, Settings } from "lucide";
|
||||
import "./app.css";
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
"moduleResolution": "bundler",
|
||||
"paths": {
|
||||
"*": ["./*"],
|
||||
"@mariozechner/pi-agent-core": ["../../agent/dist/index.d.ts"],
|
||||
"@mariozechner/pi-ai": ["../../ai/dist/index.d.ts"],
|
||||
"@mariozechner/pi-tui": ["../../tui/dist/index.d.ts"],
|
||||
"@mariozechner/pi-web-ui": ["../dist/index.d.ts"]
|
||||
"@earendil-works/pi-agent-core": ["../../agent/dist/index.d.ts"],
|
||||
"@earendil-works/pi-ai": ["../../ai/dist/index.d.ts"],
|
||||
"@earendil-works/pi-tui": ["../../tui/dist/index.d.ts"],
|
||||
"@earendil-works/pi-web-ui": ["../dist/index.d.ts"]
|
||||
},
|
||||
"strict": true,
|
||||
"skipLibCheck": true,
|
||||
|
||||
Reference in New Issue
Block a user