Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
2f41c23
fix: chat issue (#1770)
hexqi Feb 13, 2026
19f6fa1
fix:appcenter my app id issue (#1771)
lichunn Feb 13, 2026
cd231d8
fix:Create duplicate model error (#1772)
lichunn Feb 13, 2026
fcb15b0
fix:Login module UI optimization (#1769)
lichunn Feb 13, 2026
d956d78
v2.10.0 (#1774)
lichunn Feb 13, 2026
423be3d
Merge pull request #1775 from opentiny/release/v2.10.x
hexqi Feb 14, 2026
8caa5aa
fix: Modify codecheck (#1777)
xuanlid Feb 27, 2026
8319cbf
fix: serialize page_content to resolve mockserver create page error …
hexqi Mar 6, 2026
7cc98a1
fix: onUpdate prefix event name faild to save (#1778)
chilingling Mar 6, 2026
7c4bdc0
fix: Modify some chart previews are not displayed (#1782)
xuanlid Mar 9, 2026
3474daa
fix: add flag to fix css issue (#1784)
hexqi Mar 13, 2026
95ec88b
fix: Modify UI reviews (#1786)
xuanlid Mar 18, 2026
cc8c643
docs: remove old dsl doc (#1789)
chilingling Mar 19, 2026
e35908b
fix: update gen code unit test (#1790)
chilingling Mar 23, 2026
dd9554f
feat:迁移Bubble和Sender组件
lichunn Mar 30, 2026
9f888ac
feat: add basic instruction for coding agents (#1793)
chilingling Mar 30, 2026
e0821bc
fix: generate code should convert quote on vue template (#1464)
chilingling Mar 30, 2026
afb0d79
fix: add tiny-dropdown component (#1796)
xuanlid Mar 31, 2026
ab2f9ba
fix:Error message when creating the same page for different applicati…
lichunn Mar 31, 2026
06b9cd8
feat:Add model management mock (#1795)
lichunn Mar 31, 2026
21cb852
feat: Add action menu component (#1798)
lichunn Mar 31, 2026
e80fb49
fix(ci): remove workflow-level env block exposing secrets (#1799)
hexqi Apr 1, 2026
7f3c451
feat(preview): auto format generated code in preview mode (#1794)
chilingling Apr 29, 2026
59e8548
Feat:Add AI assistant to canvas node (#1800)
lichunn Apr 30, 2026
f2e165f
feat:迁移tiny-robot的useMessage和useConversation
lichunn May 14, 2026
e3a7d22
Merge remote-tracking branch 'open-tiny-engine/develop' into feat/rob…
lichunn May 14, 2026
02cfdb1
fix:调整搭建组件状态映射
lichunn May 25, 2026
635bee1
fix:fix review
lichunn May 25, 2026
0fa24f0
feat:robot添加两组测试
lichunn May 26, 2026
061cfa2
fix:fix review
lichunn May 26, 2026
40ef59b
fix:fix review
lichunn May 29, 2026
6eb1470
fix:修复mcp工具重复问题
lichunn May 29, 2026
4390b78
Merge branch 'develop' into feat/robot-330
lichunn May 29, 2026
5364fc1
fix:消除不必要修改
lichunn May 29, 2026
13d015a
fix:fix review
lichunn May 29, 2026
fbc38ef
fix:fix review
lichunn May 29, 2026
480d695
fix:fix review
lichunn May 29, 2026
9e4da52
fix:修复robot历史会话出现json问题
lichunn May 31, 2026
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
18 changes: 6 additions & 12 deletions .github/workflows/deploy-cdn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ on:
default: true
type: boolean

env:
HUAWEI_CLOUD_AK: ${{ secrets.HUAWEI_CLOUD_AK }}
HUAWEI_CLOUD_SK: ${{ secrets.HUAWEI_CLOUD_SK }}
HUAWEI_CLOUD_ENDPOINT: ${{ secrets.HUAWEI_CLOUD_ENDPOINT }}
HUAWEI_CLOUD_BUCKET: ${{ secrets.HUAWEI_CLOUD_BUCKET }}

jobs:
check-secrets:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -146,12 +140,12 @@ jobs:

- name: Configure and Upload to OBS
run: |
obsutil config -i=${{ env.HUAWEI_CLOUD_AK }} \
-k=${{ env.HUAWEI_CLOUD_SK }} \
-e=${{ env.HUAWEI_CLOUD_ENDPOINT }}
obsutil config -i=${{ secrets.HUAWEI_CLOUD_AK }} \
-k=${{ secrets.HUAWEI_CLOUD_SK }} \
-e=${{ secrets.HUAWEI_CLOUD_ENDPOINT }}
# Upload to versioned path
obsutil cp ./designer-demo/dist \
obs://${{ env.HUAWEI_CLOUD_BUCKET }}/${{ needs.build.outputs.obs-path }} \
obs://${{ secrets.HUAWEI_CLOUD_BUCKET }}/${{ needs.build.outputs.obs-path }} \
-r -f -flat

# If is_latest_release is true, also upload to latest path
Expand All @@ -160,9 +154,9 @@ jobs:
find ./designer-demo/dist -type f \( -name "*.html" -o -name "*.js" -o -name "*.mjs" -o -name "*.css" \) \
-exec sed -i "s|${{ needs.build.outputs.cdn-base }}|${{ needs.build.outputs.cdn-base-latest }}|g" {} +
obsutil cp ./designer-demo/dist \
obs://${{ env.HUAWEI_CLOUD_BUCKET }}/${{ needs.build.outputs.obs-path-latest }} \
obs://${{ secrets.HUAWEI_CLOUD_BUCKET }}/${{ needs.build.outputs.obs-path-latest }} \
-r -f -flat
fi

echo "Uploaded to: obs://${{ env.HUAWEI_CLOUD_BUCKET }}/${{ needs.build.outputs.obs-path }}"
echo "Uploaded to: obs://${{ secrets.HUAWEI_CLOUD_BUCKET }}/${{ needs.build.outputs.obs-path }}"
echo "CDN URL: https://res-static.opentiny.design/${{ needs.build.outputs.obs-path }}"
120 changes: 120 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
# TinyEngine — Repository Instructions for Coding Agents

## Purpose and Scope

This file is the canonical source of truth for repo-wide agent instructions.

- Applies to the whole repository unless a closer `AGENTS.md` overrides it for a subtree.
- `CLAUDE.md` is a compatibility entrypoint that imports this file. Do not maintain a second independent copy of the same rules.
- Keep this file limited to repo-wide guidance. Package-specific implementation details belong in package-level instruction files.

## Repository Snapshot

- Monorepo: pnpm workspaces + lerna (independent versioning)
- Primary stack: Vue 3, Vite, JavaScript/TypeScript
- Package manager: `pnpm` only for interactive work in this repo
- Designer app: `designer-demo/`
- Local mock backend: `mockServer/`

## Working Model

- Inspect the affected package, its `package.json`, and the nearest instruction file before editing.
- Keep changes scoped. Do not normalize unrelated files or rename fixtures just for consistency.
- Prefer targeted package-level validation over whole-repo commands when possible.
- Treat `pnpm lint` and `pnpm format` as mutating commands, not read-only verification.
- Do not invoke `npm` or `yarn` directly for normal repo work. Existing package scripts may still shell out internally; leave that alone unless the task is specifically about package scripts.

## Common Commands

### Read-mostly commands

```sh
pnpm install
pnpm dev
pnpm build:plugin
pnpm build:alpha
pnpm --filter @opentiny/tiny-engine-dsl-vue test:unit
```

### Mutating commands

```sh
pnpm lint # ESLint with --fix
pnpm format # Prettier --write
```

Canonical script definitions live in:

- `package.json`
- `packages/*/package.json`
- `.github/workflows/push-check.yml`
- `.github/workflows/Release.yml`

## Verification Matrix

Run the smallest sufficient verification for the change surface, then expand if the change is broad or risky.

1. Docs-only changes:
No code verification required unless the docs change commands or workflow descriptions that should be checked against source files.
2. `packages/vue-generator/**`:
Run the affected testcase or `pnpm --filter @opentiny/tiny-engine-dsl-vue test:unit`.
If generator behavior changes, run the full `test:unit` suite before handoff and inspect any changed `expected/*.vue` files.
3. Published library packages under `packages/**`:
Run the package-local `test` script if one exists.
Run `pnpm build:plugin` when build output or published package behavior may be affected.
4. `designer-demo/**` or shared packages consumed by the demo:
Run `pnpm build:alpha`.
5. Cross-package build or release-facing changes:
Run `pnpm build:plugin` and `pnpm build:alpha`.
6. Config, workspace, CI, or release script changes:
Verify the directly affected command(s) after approval.

## Approval Boundaries

### Always OK

- Read any source file
- Run targeted tests and builds
- Edit implementation files inside existing packages
- Add or update tests that match the scope of the change
- Update docs that reflect current repo behavior

### Ask First

- Changing workspace, lerna, pnpm, ESLint, Prettier, or TypeScript configuration
- Modifying CI workflows, release scripts, or publish flows
- Upgrading major dependencies or changing pinned overrides
- Reordering or adding/removing default vue-generator attribute hooks
- Large-scale edits to generated mappings or vendored patches

When asking first, include:

- what you want to change
- why the current rules or implementation are insufficient
- what verification you would run after approval

### Never

- Use `npm` or `yarn` directly for routine repo commands
- Skip hooks with `--no-verify`
- Hardcode versions for workspace packages
- Edit `patches/` without understanding the upstream issue and the patch purpose
- Rewrite generated expectations or snapshots without validating the new output first

## Task-Specific Expectations

- Bug fix:
Add or update a regression test when behavior changes.
- Refactor:
Preserve behavior and prove it with targeted verification.
- Snapshot or generated output change:
Explain why the output changed and list the affected fixture directories.
- Commit or PR work:
Only do it if asked. Use Conventional Commits and target `develop` unless the user specifies otherwise.

## Gotchas

- `pnpm install` is enforced by `preinstall`; npm and yarn are rejected for direct repo usage.
- `pnpm lint` writes fixes. Use it deliberately.
- CI relies on `build:plugin` and `build:alpha`, not only lint or unit tests.
- Test directories such as `test/`, `expected/`, and `output/` are not always linted; do not treat lint success as fixture validation.
7 changes: 7 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# TinyEngine — Claude Code Entry

This file is intentionally thin. The canonical repo-wide instructions live in `AGENTS.md`.

@./AGENTS.md

When working inside a subtree that has its own `CLAUDE.md`, follow the closer file as an extension of these repo-wide rules.
4 changes: 3 additions & 1 deletion designer-demo/engine.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ export default {
scripts: [],
styles: [],
// 是否开启 TailWindCSS 特性
enableTailwindCSS: true
enableTailwindCSS: true,
// 是否开启 使用结构化CSS 特性
enableStructuredCss: false
}
2 changes: 1 addition & 1 deletion designer-demo/env/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ VITE_CDN_DOMAIN=https://registry.npmmirror.com
# 使用npmmirror的cdn 时,需要声明 VITE_CDN_TYPE=npmmirror
VITE_CDN_TYPE=npmmirror
# request data via alpha service
# VITE_ORIGIN=
# VITE_ORIGIN=
2 changes: 1 addition & 1 deletion designer-demo/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "designer-demo",
"private": true,
"version": "2.10.0-rc.0",
"version": "2.10.0",
"type": "module",
"scripts": {
"dev": "cross-env vite",
Expand Down
Loading
Loading