@gradio/core 0.15.1 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/src/api_docs/ApiBanner.svelte +14 -10
- package/dist/src/api_docs/ApiBanner.svelte.d.ts +1 -0
- package/dist/src/api_docs/ApiDocs.svelte +458 -90
- package/dist/src/api_docs/InstallSnippet.svelte.d.ts +1 -1
- package/dist/src/api_docs/RecordingSnippet.svelte.d.ts +1 -1
- package/dist/src/api_docs/img/mcp.svg +6 -0
- package/package.json +29 -29
- package/src/api_docs/ApiBanner.svelte +15 -10
- package/src/api_docs/ApiDocs.svelte +484 -93
- package/src/api_docs/InstallSnippet.svelte +1 -1
- package/src/api_docs/RecordingSnippet.svelte +1 -1
- package/src/api_docs/img/mcp.svg +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @gradio/core
|
|
2
2
|
|
|
3
|
+
## 0.16.1
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
|
|
7
|
+
- [#11115](https://github.com/gradio-app/gradio/pull/11115) [`49e7a0d`](https://github.com/gradio-app/gradio/commit/49e7a0dd18174196b262d32e6c59d93ca40b1c73) - update STDIO instructions to specify sse-only transport. Thanks @evalstate!
|
|
8
|
+
|
|
9
|
+
### Dependency updates
|
|
10
|
+
|
|
11
|
+
- @gradio/code@0.14.3
|
|
12
|
+
- @gradio/button@0.4.18
|
|
13
|
+
- @gradio/video@0.14.13
|
|
14
|
+
- @gradio/upload@0.16.4
|
|
15
|
+
- @gradio/image@0.22.5
|
|
16
|
+
- @gradio/gallery@0.15.18
|
|
17
|
+
- @gradio/file@0.12.17
|
|
18
|
+
|
|
19
|
+
## 0.16.0
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
- [#10984](https://github.com/gradio-app/gradio/pull/10984) [`8dab577`](https://github.com/gradio-app/gradio/commit/8dab5771c7d952c76f325681dbf364119c91b0b1) - Let Gradio apps also be MCP Servers. Thanks @abidlabs!
|
|
24
|
+
|
|
3
25
|
## 0.15.1
|
|
4
26
|
|
|
5
27
|
### Fixes
|
|
@@ -4,6 +4,7 @@ import Clear from "./img/clear.svelte";
|
|
|
4
4
|
import { BaseButton } from "@gradio/button";
|
|
5
5
|
export let root;
|
|
6
6
|
export let api_count;
|
|
7
|
+
export let current_language = "python";
|
|
7
8
|
const dispatch = createEventDispatcher();
|
|
8
9
|
</script>
|
|
9
10
|
|
|
@@ -16,17 +17,20 @@ const dispatch = createEventDispatcher();
|
|
|
16
17
|
</div>
|
|
17
18
|
</div>
|
|
18
19
|
<span class="counts">
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
{#if current_language !== "mcp"}
|
|
21
|
+
<BaseButton
|
|
22
|
+
size="sm"
|
|
23
|
+
variant="secondary"
|
|
24
|
+
elem_id="start-api-recorder"
|
|
25
|
+
on:click={() => dispatch("close", { api_recorder_visible: true })}
|
|
26
|
+
>
|
|
27
|
+
<div class="loading-dot self-baseline"></div>
|
|
28
|
+
<p class="self-baseline btn-text">API Recorder</p>
|
|
29
|
+
</BaseButton>
|
|
30
|
+
{/if}
|
|
28
31
|
<p>
|
|
29
|
-
<span class="url">{api_count}</span>
|
|
32
|
+
<span class="url">{api_count}</span>
|
|
33
|
+
{#if current_language !== "mcp"}API endpoint{:else}MCP Tool{/if}{#if api_count > 1}s{/if}<br
|
|
30
34
|
/>
|
|
31
35
|
</p>
|
|
32
36
|
</span>
|