-
-
Notifications
You must be signed in to change notification settings - Fork 11
merge dev to main (v3.0.0-beta.2) #234
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
Changes from all commits
e013774
57145c6
2eb4ad3
1fe1be1
cc8af45
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1 @@ | ||
| { | ||
| "vitest.workspaceConfig": "./vitest.workspace.ts" | ||
| } | ||
| {} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| { | ||
| "name": "zenstack-v3", | ||
| "publisher": "zenstack", | ||
| "version": "3.0.5", | ||
| "version": "3.0.6", | ||
| "displayName": "ZenStack V3 Language Tools", | ||
| "description": "VSCode extension for ZenStack (v3) ZModel language", | ||
| "private": true, | ||
|
|
@@ -75,7 +75,7 @@ | |
| "grammars": [ | ||
| { | ||
| "language": "zmodel-v3", | ||
| "scopeName": "source.zmodel", | ||
| "scopeName": "source.zmodel-v3", | ||
| "path": "./syntaxes/zmodel.tmLanguage.json" | ||
|
Comment on lines
+78
to
79
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainGrammar scope rename: verify tmLanguage and references updated to match. Ensure syntaxes/zmodel.tmLanguage.json uses the same scopeName and that no code still references "source.zmodel". Run: Expected:
🏁 Script executed: #!/bin/bash
set -euo pipefail
# 1) Confirm tmLanguage scopeName matches
GRAMMAR_FILE="$(fd -a 'zmodel.tmLanguage.json' packages/ide/vscode | head -n1)"
echo "Grammar file: ${GRAMMAR_FILE}"
jq -r '.scopeName' "${GRAMMAR_FILE}"
test "$(jq -r '.scopeName' "${GRAMMAR_FILE}")" = "source.zmodel-v3"
# 2) Find remaining references to old scope
rg -nP '\bsource\.zmodel\b' -g '!**/node_modules/**'Length of output: 219 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "Finding zmodel grammar file(s)..."
find . -type f -name 'zmodel.tmLanguage.json'
echo -e "\nChecking scopeName in found file(s)..."
for f in $(find . -type f -name 'zmodel.tmLanguage.json'); do
echo "$f: $(jq -r '.scopeName' "$f")"
done
echo -e "\nSearching for references to old scope 'source.zmodel'..."
rg -nP '\bsource\.zmodel\b' -g '!**/node_modules/**' || echo "No references found"Length of output: 557 Missing tmLanguage grammar file The path 🤖 Prompt for AI Agents |
||
| } | ||
| ] | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "name": "@zenstackhq/typescript-config", | ||
| "version": "3.0.0-beta.1", | ||
| "version": "3.0.0-beta.2", | ||
| "private": true, | ||
| "license": "MIT" | ||
| } |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| import { defineConfig } from 'vitest/config'; | ||
|
|
||
| export default defineConfig({ | ||
| test: { | ||
| projects: ['packages/*'], | ||
| }, | ||
| }); |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Scope the secret to the step that needs it.
Placing TELEMETRY_TRACKING_TOKEN at the workflow level exposes it to all steps, including third‑party actions. Scope it to the publish step; keep DO_NOT_TRACK at the top if you want global effect.
Apply:
Also applies to: 48-52
🤖 Prompt for AI Agents