mirror of
https://github.com/kunkunsh/kunkun-ext-rag.git
synced 2025-04-04 02:16:41 +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",
|
"name": "@kunkun/kunkun-ext-rag",
|
||||||
"version": "0.0.5",
|
"version": "0.0.6",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"exports": "./mod.ts",
|
"exports": "./mod.ts",
|
||||||
"publish": {
|
"publish": {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"name": "kunkun-ext-rag",
|
"name": "kunkun-ext-rag",
|
||||||
"draft": true,
|
"draft": true,
|
||||||
"version": "0.0.5",
|
"version": "0.0.6",
|
||||||
"private": true,
|
"private": true,
|
||||||
"kunkun": {
|
"kunkun": {
|
||||||
"name": "RAG",
|
"name": "RAG",
|
||||||
@ -97,7 +97,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@iconify/svelte": "^4.2.0",
|
"@iconify/svelte": "^4.2.0",
|
||||||
"@kksh/api": "^0.0.55",
|
"@kksh/api": "^0.1.1",
|
||||||
"@kksh/svelte5": "0.1.15",
|
"@kksh/svelte5": "0.1.15",
|
||||||
"@langchain/openai": "^0.4.2",
|
"@langchain/openai": "^0.4.2",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { open } from '@kksh/api/ui/iframe';
|
import { open } from '@kksh/api/ui/custom';
|
||||||
|
|
||||||
let { href, children } = $props();
|
let { href, children } = $props();
|
||||||
</script>
|
</script>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { ThemeCustomizerButton, type ThemeConfig, updateTheme } from '@kksh/svelte5';
|
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';
|
import { onMount } from 'svelte';
|
||||||
|
|
||||||
let config: ThemeConfig = {
|
let config: ThemeConfig = {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { ui } from '@kksh/api/ui/iframe';
|
import { ui } from '@kksh/api/ui/custom';
|
||||||
import { Sidebar } from '@kksh/svelte5';
|
import { Sidebar } from '@kksh/svelte5';
|
||||||
import { DatabaseIcon, InfoIcon } from 'lucide-svelte';
|
import { DatabaseIcon, InfoIcon } from 'lucide-svelte';
|
||||||
import { onMount } from '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';
|
import type { DenoAPI } from '../api.types.ts';
|
||||||
|
|
||||||
export async function getRpcAPI(env: { OPENAI_API_KEY: string }) {
|
export async function getRpcAPI(env: { OPENAI_API_KEY: string }) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { DBInfo } from '@/models';
|
import { DBInfo } from '@/models';
|
||||||
import { get, writable } from 'svelte/store';
|
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 { DB_DATATYPE_DATABASE } from '@/constants';
|
||||||
import * as v from 'valibot';
|
import * as v from 'valibot';
|
||||||
import { SearchModeEnum } from '@kksh/api/models';
|
import { SearchModeEnum } from '@kksh/api/models';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
import { ModeWatcher } from 'mode-watcher';
|
import { ModeWatcher } from 'mode-watcher';
|
||||||
import { ThemeWrapper, updateTheme } from '@kksh/svelte5';
|
import { ThemeWrapper, updateTheme } from '@kksh/svelte5';
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
import { ui } from '@kksh/api/ui/iframe';
|
import { ui } from '@kksh/api/ui/custom';
|
||||||
import { Sidebar } from '@kksh/svelte5';
|
import { Sidebar } from '@kksh/svelte5';
|
||||||
import AppSidebar from '$lib/components/app-sidebar.svelte';
|
import AppSidebar from '$lib/components/app-sidebar.svelte';
|
||||||
import { DB_DATATYPE_DATABASE } from '@/constants';
|
import { DB_DATATYPE_DATABASE } from '@/constants';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<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 AddBucket from '$lib/components/forms/AddBucket.svelte';
|
||||||
import type { DBInfo } from '@/models';
|
import type { DBInfo } from '@/models';
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<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 { dbStore } from '@/stores/db';
|
||||||
import { Button, Input, Popover } from '@kksh/svelte5';
|
import { Button, Input, Popover } from '@kksh/svelte5';
|
||||||
import { getRpcAPI } from '@/deno';
|
import { getRpcAPI } from '@/deno';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user