chore: agents.md

This commit is contained in:
Simon
2025-10-11 15:29:03 +08:00
parent 47eec103ff
commit 4e43ebdc5f
8 changed files with 177 additions and 499 deletions

22
env.d.ts vendored
View File

@@ -1,15 +1,6 @@
/// <reference types="vite/client" />
import type { PageAgent } from './src/PageAgent'
declare global {
interface Window {
pageAgent?: PageAgent
PageAgent: typeof PageAgent
__PAGE_AGENT_IDS__: string[]
}
}
declare module '*.module.css' {
const classes: Record<string, string>
export default classes
@@ -19,3 +10,16 @@ declare module '*.md?raw' {
const content: string
export default content
}
/**
* for local dev and umd demo
*/
declare global {
interface Window {
pageAgent?: PageAgent
PageAgent: typeof PageAgent
__PAGE_AGENT_IDS__: string[]
}
}