Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
46 changes: 46 additions & 0 deletions .github/workflows/schema-explorer-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Generated entirely by coding agents from prompts without human review or refinement.
name: Deploy Schema Explorer to Pages

on:
push:
branches: [main]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: false

jobs:
deploy:
name: Deploy
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: prefix-dev/setup-pixi@a09b6247153796b190642a2b53fac4241043cf6f # v0.10.0
with:
cache: true
- name: Install dependencies
run: pixi run --frozen pnpm --dir experimental/vibe/ui install --frozen-lockfile
- name: Build
run: pixi run --frozen pnpm --dir experimental/vibe/ui build
env:
SCHEMA_EXPLORER_BASE: /quent/
- name: Set up Pages
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6
- name: Upload artifact
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5
with:
path: experimental/vibe/ui/schema-explorer/dist
- name: Deploy to Pages
id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5
6 changes: 6 additions & 0 deletions experimental/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Experimental code

This directory contains code under heavy development. It may intentionally
contain incomplete, unused, or dead code while designs are developed from the
bottom up. APIs, behavior, and structure may change without notice; do not rely
on this code for production use.
6 changes: 6 additions & 0 deletions experimental/vibe/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Vibe-coded experiments

Everything in this directory was written by LLMs solely through prompting and
has not been manually reviewed or checked. It also has the unstable status
described in the parent [`experimental`](../README.md) directory. Use it at your
own risk.
3 changes: 3 additions & 0 deletions experimental/vibe/ui/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
dist/
target/
24 changes: 24 additions & 0 deletions experimental/vibe/ui/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -->
<!-- SPDX-License-Identifier: Apache-2.0 -->

# Experimental Schema Explorer workspace

This is a self-contained pnpm and Cargo workspace. It does not register
packages, scripts, catalogs, or dependencies in the repository's main `ui`
workspace and does not add features to existing Rust crates.

The workspace consumes existing code through dependencies:

- `schema-viewer` links to the generated `@quent/schema` TypeScript package.
- `yaml-wasm` depends on the existing `quent-yaml` and `quent-schema` crates.
- `schema-explorer` depends on the local `schema-viewer` package.

From the repository root:

```sh
pixi run --frozen pnpm --dir experimental/vibe/ui install --frozen-lockfile
pixi run --frozen pnpm --dir experimental/vibe/ui schema:ci
pixi run --frozen pnpm --dir experimental/vibe/ui explorer
```

The explorer is normally available at `http://localhost:5173`.
30 changes: 30 additions & 0 deletions experimental/vibe/ui/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

import js from '@eslint/js';
import globals from 'globals';
import tseslint from 'typescript-eslint';

export default tseslint.config(
{
ignores: ['**/dist/**', '**/node_modules/**', '**/wasm/**'],
},
{
extends: [js.configs.recommended, ...tseslint.configs.recommended],
files: ['**/*.{ts,tsx}'],
languageOptions: {
ecmaVersion: 2022,
globals: {
...globals.browser,
...globals.node,
},
},
rules: {
'no-console': ['error', { allow: ['warn', 'error'] }],
'@typescript-eslint/no-unused-vars': [
'error',
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
],
},
},
);
27 changes: 27 additions & 0 deletions experimental/vibe/ui/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "quent-schema-explorer-workspace",
"version": "0.0.0",
"private": true,
"type": "module",
"engines": {
"node": ">=24.11.0",
"pnpm": ">=11.6.0"
},
"packageManager": "pnpm@11.6.0",
"scripts": {
"bindings": "pnpm --dir ../../../crates/schema/ts build",
"check": "pnpm --filter @quent/schema-viewer check && pnpm --filter @quent-experimental/schema-explorer check",
"lint": "pnpm --filter @quent/schema-viewer lint && pnpm --filter @quent-experimental/schema-explorer lint",
"test": "cargo test --manifest-path yaml-wasm/Cargo.toml && pnpm --filter @quent/schema-viewer test && pnpm --filter @quent-experimental/schema-explorer wasm:test",
"build": "pnpm --filter @quent/schema-viewer build && pnpm --filter @quent-experimental/schema-explorer build",
"schema:ci": "pnpm lint && pnpm check && pnpm test && pnpm build",
Comment on lines +15 to +17

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win

Run the required Rust checks from schema:ci.

schema:ci runs cargo test only. It does not run cargo fmt --check or the required locked Clippy command with warnings denied. Add these checks to the CI path before this workspace can merge Rust changes.

As per coding guidelines, “Rust changes must be formatted with cargo fmt and linted with cargo clippy --workspace --all-targets --all-features --locked -- -D warnings; warnings are not permitted.”

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@experimental/vibe/ui/package.json` around lines 15 - 17, Update the schema:ci
script in package.json to run cargo fmt --check and the required locked
workspace Clippy command with all targets and features and warnings denied,
alongside the existing Rust tests. Keep the existing JavaScript checks and build
steps unchanged.

Source: Coding guidelines

"explorer": "pnpm --filter @quent-experimental/schema-explorer dev",
"wasm:build": "pnpm --filter @quent-experimental/schema-explorer wasm:build"
},
"devDependencies": {
"@eslint/js": "catalog:",
"eslint": "catalog:",
"globals": "catalog:",
"typescript-eslint": "catalog:"
}
}
Loading