release: Storybook v0.2.0 - Major syntax and features update
BREAKING CHANGES: - Relationship syntax now requires blocks for all participants - Removed self/other perspective blocks from relationships - Replaced 'guard' keyword with 'if' for behavior tree decorators Language Features: - Add tree-sitter grammar with improved if/condition disambiguation - Add comprehensive tutorial and reference documentation - Add SBIR v0.2.0 binary format specification - Add resource linking system for behaviors and schedules - Add year-long schedule patterns (day, season, recurrence) - Add behavior tree enhancements (named nodes, decorators) Documentation: - Complete tutorial series (9 chapters) with baker family examples - Complete reference documentation for all language features - SBIR v0.2.0 specification with binary format details - Added locations and institutions documentation Examples: - Convert all examples to baker family scenario - Add comprehensive working examples Tooling: - Zed extension with LSP integration - Tree-sitter grammar for syntax highlighting - Build scripts and development tools Version Updates: - Main package: 0.1.0 → 0.2.0 - Tree-sitter grammar: 0.1.0 → 0.2.0 - Zed extension: 0.1.0 → 0.2.0 - Storybook editor: 0.1.0 → 0.2.0
This commit is contained in:
36
install-zed-extension.sh
Executable file
36
install-zed-extension.sh
Executable file
@@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Script to install the Storybook extension for Zed (development mode)
|
||||
|
||||
set -e
|
||||
|
||||
echo "Installing Storybook extension for Zed..."
|
||||
|
||||
# Get the absolute path to the extension directory
|
||||
EXTENSION_DIR="$(cd "$(dirname "$0")/zed-storybook" && pwd)"
|
||||
|
||||
# Create Zed extensions directory if it doesn't exist
|
||||
mkdir -p ~/.local/share/zed/extensions/installed
|
||||
|
||||
# Create symlink
|
||||
LINK_PATH=~/.local/share/zed/extensions/installed/storybook
|
||||
|
||||
if [ -L "$LINK_PATH" ]; then
|
||||
echo "Removing existing symlink..."
|
||||
rm "$LINK_PATH"
|
||||
fi
|
||||
|
||||
echo "Creating symlink..."
|
||||
ln -s "$EXTENSION_DIR" "$LINK_PATH"
|
||||
|
||||
echo ""
|
||||
echo "✅ Extension installed successfully!"
|
||||
echo ""
|
||||
echo "Next steps:"
|
||||
echo "1. Restart Zed"
|
||||
echo "2. Open a .sb file (try: $PWD/test-extension.sb)"
|
||||
echo "3. The extension should activate automatically"
|
||||
echo ""
|
||||
echo "To install the LSP server for enhanced features:"
|
||||
echo " cargo install --path storybook --bin storybook-lsp"
|
||||
echo ""
|
||||
Reference in New Issue
Block a user