Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

playground #971

Merged
merged 63 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from 54 commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
3e72934
initial web project
pelikhan Dec 28, 2024
069be0f
moving to schema
pelikhan Dec 28, 2024
b021bd8
minimal ui
pelikhan Dec 29, 2024
990808c
go back to vselements
pelikhan Dec 30, 2024
91ebf33
Merge remote-tracking branch 'origin/main' into webview
pelikhan Dec 30, 2024
70dbcf2
move to vselements
pelikhan Dec 30, 2024
8df0bac
feat: ✨ support objects in form field values and schema
pelikhan Dec 30, 2024
afdbb46
Merge remote-tracking branch 'origin/main' into webview
pelikhan Dec 30, 2024
431f637
wired up markdown viewer
pelikhan Dec 30, 2024
19eead8
better rendering
pelikhan Dec 30, 2024
499f7ab
use containers
pelikhan Dec 30, 2024
1699dff
plumbing
pelikhan Dec 31, 2024
0b1b928
serving console app
pelikhan Dec 31, 2024
aa3e703
adding serve
pelikhan Dec 31, 2024
bed6d27
add html server
pelikhan Dec 31, 2024
073d473
react 19
pelikhan Dec 31, 2024
8ea26dc
serve more files
pelikhan Dec 31, 2024
d70ca8f
select script
pelikhan Dec 31, 2024
36063d2
updates
pelikhan Dec 31, 2024
c387e39
more details
pelikhan Dec 31, 2024
0ebb9ff
add logo
pelikhan Dec 31, 2024
96b4bfb
ontewxt
pelikhan Dec 31, 2024
505a099
render trace
pelikhan Dec 31, 2024
3b1513e
show trace
pelikhan Dec 31, 2024
774d532
model optios
pelikhan Dec 31, 2024
f40a1a1
feat: 🔧 add validation and logging for schema fields
pelikhan Jan 1, 2025
314f469
adding mermaid, details support to markdown
pelikhan Jan 1, 2025
cff5094
start opened
pelikhan Jan 1, 2025
c7d25df
select models or providers
pelikhan Jan 1, 2025
b7a14da
docs
pelikhan Jan 1, 2025
1c0ad9f
add result logging
pelikhan Jan 1, 2025
fbfefeb
refactor: 🔥 remove unused WebSocket upgrade logging
pelikhan Jan 1, 2025
a121cbc
add markdown css
pelikhan Jan 2, 2025
62266ab
fix double render
pelikhan Jan 2, 2025
34e8f99
render tokens
pelikhan Jan 2, 2025
365cde4
cleanup
pelikhan Jan 2, 2025
fd41e7e
help typecheck
pelikhan Jan 2, 2025
430e224
moving types to messages
pelikhan Jan 2, 2025
48ee454
disable strict null checks
pelikhan Jan 2, 2025
5b2cfed
add error boundary on markdown
pelikhan Jan 2, 2025
e72cb75
disable mermaid
pelikhan Jan 2, 2025
99120c8
render annotations
pelikhan Jan 2, 2025
1a2f123
basic files input
pelikhan Jan 2, 2025
9702a59
searchable tab
pelikhan Jan 2, 2025
c7a1006
show files
pelikhan Jan 2, 2025
2cd6fb6
use search params
pelikhan Jan 2, 2025
c42d600
url search params
pelikhan Jan 2, 2025
b333285
store scriptid in search args
pelikhan Jan 2, 2025
b23e5f2
store options in url search
pelikhan Jan 2, 2025
fbe08bc
file preview
pelikhan Jan 2, 2025
3311198
store files in url
pelikhan Jan 2, 2025
31e439a
fix array empty parsxing
pelikhan Jan 2, 2025
b0c6f03
refresh astro
pelikhan Jan 2, 2025
7657889
Merge branch 'main' into webview
pelikhan Jan 2, 2025
4fd17e7
updated yarn.lock
pelikhan Jan 2, 2025
ec2987d
Merge branch 'webview' of https://github.com/microsoft/genaiscript in…
pelikhan Jan 2, 2025
04540d1
expand specify parts of the trace
pelikhan Jan 2, 2025
bb42791
add image in docs
pelikhan Jan 2, 2025
9b9de77
test: ⚙️ update error type in unsupported type test
pelikhan Jan 2, 2025
0653514
test provider before showing in page
pelikhan Jan 2, 2025
32bb75e
panelize
pelikhan Jan 2, 2025
27ec5ea
more panels
pelikhan Jan 2, 2025
72a43fa
add cost badge
pelikhan Jan 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 47 additions & 34 deletions THIRD_PARTY_LICENSES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1963,16 +1963,16 @@ The following npm packages may be included in this product:
- @aws-sdk/[email protected]
- @smithy/[email protected]
- @smithy/[email protected]
- @smithy/[email protected].32
- @smithy/[email protected].33
- @smithy/[email protected]
- @smithy/[email protected]
- @smithy/[email protected]
- @smithy/[email protected]
- @smithy/[email protected]
- @smithy/[email protected]
- @smithy/[email protected]
- @smithy/[email protected].32
- @smithy/[email protected].32
- @smithy/[email protected].33
- @smithy/[email protected].33

These packages each contain the following license:

Expand Down Expand Up @@ -2408,7 +2408,7 @@ The following npm packages may be included in this product:
- @smithy/[email protected]
- @smithy/[email protected]
- @smithy/[email protected]
- @smithy/smithy-client@3.5.2
- @smithy/smithy-client@3.6.0
- @smithy/[email protected]
- @smithy/[email protected]

Expand Down Expand Up @@ -2827,8 +2827,8 @@ The following npm packages may be included in this product:
- @types/[email protected]
- @types/[email protected]
- @types/[email protected]
- @types/[email protected].68
- @types/[email protected].2
- @types/[email protected].69
- @types/[email protected].4
- @types/[email protected]
- @types/[email protected]
- @types/[email protected]
Expand Down Expand Up @@ -7025,16 +7025,6 @@ IN THE SOFTWARE.

-----------

The following npm package may be included in this product:

- [email protected]

This package contains the following license:

http://github.com/mscdex/buildcheck/raw/master/LICENSE

-----------

The following npm package may be included in this product:

- [email protected]
Expand All @@ -7045,16 +7035,6 @@ http://github.com/mscdex/ssh2/raw/master/LICENSE

-----------

The following npm package may be included in this product:

- [email protected]

This package contains the following license:

https://github.com/mscdex/cpu-features/raw/master/LICENSE

-----------

The following npm packages may be included in this product:

- [email protected]
Expand Down Expand Up @@ -7909,14 +7889,14 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

The following npm packages may be included in this product:

- @esbuild/[email protected]
- @napi-rs/[email protected]
- @napi-rs/[email protected]
- @esbuild/[email protected]
- @napi-rs/[email protected]
- @tokenizer/[email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
Expand Down Expand Up @@ -8903,6 +8883,39 @@ SOFTWARE.

-----------

The following npm package may be included in this product:

- [email protected]

This package contains the following license:

MIT License

Copyright (c) 2023 The Fastify Team

The Fastify team members are listed at https://github.com/fastify/fastify#team
and in the README file.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

-----------

The following npm package may be included in this product:

- [email protected]
Expand Down Expand Up @@ -10342,10 +10355,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

The following npm packages may be included in this product:

- @octokit/[email protected].1
- @octokit/[email protected].1
- @octokit/[email protected].2
- @octokit/[email protected].2
- @octokit/[email protected]
- @octokit/[email protected].3
- @octokit/[email protected].4

These packages each contain the following license:

Expand Down Expand Up @@ -10377,7 +10390,7 @@ The following npm packages may be included in this product:

- @octokit/[email protected]
- @octokit/[email protected]
- @octokit/[email protected].5
- @octokit/[email protected].6

These packages each contain the following license:

Expand Down Expand Up @@ -10437,7 +10450,7 @@ THE SOFTWARE.

The following npm package may be included in this product:

- agentkeepalive@4.5.0
- agentkeepalive@4.6.0

This package contains the following license:

Expand Down
16 changes: 16 additions & 0 deletions docs/src/content/docs/reference/cli/serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---

Check warning on line 1 in docs/src/content/docs/reference/cli/serve.md

View workflow job for this annotation

GitHub Actions / build

Title should be in title case.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Title should be in title case.

AI-generated content by pr-docs-review-commit title_case may be incorrect

title: Serve
description: Launch local web server.
sidebar:
order: 2
---

Launch a local web server that is used to run the playground
or Visual Studio Code.


Run from the workspace root:

```bash
npx genaiscript serve
```
22 changes: 22 additions & 0 deletions docs/src/content/docs/reference/playground.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---

Check warning on line 1 in docs/src/content/docs/reference/playground.md

View workflow job for this annotation

GitHub Actions / build

Title should be in title case.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Title should be in title case.

AI-generated content by pr-docs-review-commit title_case may be incorrect

title: Playground
description: Describe how to use the local server playground to launch scripts from a user interface.
sidebar:
order: 10
---

The **Playground** is a self-hosted web application that allows you to run GenAIScript scripts
from a friendly user interface. It sits between the GenAIScript CLI
and the GenAIScript Visual Studio Code integration.

> The playground is still under construction.

## Launch

From your project workspace root, run

```sh
npx --yes genaiscript serve
```

then navigate to the URL printed on the console (typically `http://127.0.0.1:8003/`).
Loading
Loading