mirror of
https://github.com/kunkunsh/kunkun-ext-rag.git
synced 2025-04-03 09:56:42 +00:00
chore: update version to 0.0.6 and switch API imports from iframe to custom
This commit is contained in:
parent
63e68f595e
commit
9ebeadb94d
2
jsr.json
2
jsr.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@kunkun/kunkun-ext-rag",
|
||||
"version": "0.0.5",
|
||||
"version": "0.0.6",
|
||||
"license": "MIT",
|
||||
"exports": "./mod.ts",
|
||||
"publish": {
|
||||
|
@ -3,7 +3,7 @@
|
||||
"license": "MIT",
|
||||
"name": "kunkun-ext-rag",
|
||||
"draft": true,
|
||||
"version": "0.0.5",
|
||||
"version": "0.0.6",
|
||||
"private": true,
|
||||
"kunkun": {
|
||||
"name": "RAG",
|
||||
@ -97,7 +97,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@iconify/svelte": "^4.2.0",
|
||||
"@kksh/api": "^0.0.55",
|
||||
"@kksh/api": "^0.1.1",
|
||||
"@kksh/svelte5": "0.1.15",
|
||||
"@langchain/openai": "^0.4.2",
|
||||
"clsx": "^2.1.1",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { open } from '@kksh/api/ui/iframe';
|
||||
import { open } from '@kksh/api/ui/custom';
|
||||
|
||||
let { href, children } = $props();
|
||||
</script>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { ThemeCustomizerButton, type ThemeConfig, updateTheme } from '@kksh/svelte5';
|
||||
import { ui } from '@kksh/api/ui/iframe';
|
||||
import { ui } from '@kksh/api/ui/custom';
|
||||
import { onMount } from 'svelte';
|
||||
|
||||
let config: ThemeConfig = {
|
||||
|
@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { ui } from '@kksh/api/ui/iframe';
|
||||
import { ui } from '@kksh/api/ui/custom';
|
||||
import { Sidebar } from '@kksh/svelte5';
|
||||
import { DatabaseIcon, InfoIcon } from 'lucide-svelte';
|
||||
import { onMount } from 'svelte';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { fs, shell, path, toast } from '@kksh/api/ui/iframe';
|
||||
import { fs, shell, path, toast } from '@kksh/api/ui/custom';
|
||||
import type { DenoAPI } from '../api.types.ts';
|
||||
|
||||
export async function getRpcAPI(env: { OPENAI_API_KEY: string }) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { DBInfo } from '@/models';
|
||||
import { get, writable } from 'svelte/store';
|
||||
import { db as dbAPI } from '@kksh/api/ui/iframe';
|
||||
import { db as dbAPI } from '@kksh/api/ui/custom';
|
||||
import { DB_DATATYPE_DATABASE } from '@/constants';
|
||||
import * as v from 'valibot';
|
||||
import { SearchModeEnum } from '@kksh/api/models';
|
||||
|
@ -3,7 +3,7 @@
|
||||
import { ModeWatcher } from 'mode-watcher';
|
||||
import { ThemeWrapper, updateTheme } from '@kksh/svelte5';
|
||||
import { onMount } from 'svelte';
|
||||
import { ui } from '@kksh/api/ui/iframe';
|
||||
import { ui } from '@kksh/api/ui/custom';
|
||||
import { Sidebar } from '@kksh/svelte5';
|
||||
import AppSidebar from '$lib/components/app-sidebar.svelte';
|
||||
import { DB_DATATYPE_DATABASE } from '@/constants';
|
||||
|
@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { db, ui, kv, toast } from '@kksh/api/ui/iframe';
|
||||
import { db, ui, kv, toast } from '@kksh/api/ui/custom';
|
||||
import AddBucket from '$lib/components/forms/AddBucket.svelte';
|
||||
import type { DBInfo } from '@/models';
|
||||
import { onMount } from 'svelte';
|
||||
|
@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { dialog, path, toast } from '@kksh/api/ui/iframe';
|
||||
import { dialog, path, toast } from '@kksh/api/ui/custom';
|
||||
import { dbStore } from '@/stores/db';
|
||||
import { Button, Input, Popover } from '@kksh/svelte5';
|
||||
import { getRpcAPI } from '@/deno';
|
||||
|
Loading…
x
Reference in New Issue
Block a user