Skip to content

Initialize packages/core with Cargo workspace configuration - #135

Merged
malibio merged 7 commits into
mainfrom
feature/issue-98-initialize-packages-core
Oct 3, 2025
Merged

malibio merged 7 commits into
mainfrom
feature/issue-98-initialize-packages-core

Conversation

@malibio

@malibio malibio commented Oct 3, 2025

Copy link
Copy Markdown
Collaborator

Closes #98

malibio and others added 5 commits October 2, 2025 12:13
- Add AI Chat Node Viewer page with comprehensive design features documentation
- Update icon system to use background-image instead of CSS masks for consistency
- Fix AI icon colors to match design system (hsl(var(--node-text)))
- Add AI Chat Nodes section to components.html with hover behavior
- Centralize navigation in interactive.js for easier maintenance
- Add design-focused feature descriptions highlighting visual hierarchy, message differentiation, avatar system, and spatial design

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
- Update database schema to Pure JSON approach
- Refine node behavior system documentation
- Update technology stack with libsql/Turso
- Improve icon system documentation
- Polish date node viewer and base node viewer components

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
…#98)

Infrastructure setup for NodeSpace business logic layer:

**Directory Structure:**
- Created packages/core/ with src/, migrations/, tests/ directories
- Set up module structure: models, behaviors, services, db, mcp
- All modules intentionally empty (mod.rs only) - infrastructure phase

**Cargo Configuration:**
- Updated root Cargo.toml to include packages/core in workspace
- Added shared dependencies: libsql, thiserror, async-trait
- Created packages/core/Cargo.toml with libsql for Turso database

**Architecture:**
- Using libsql (not SQLx) per database-schema.md specification
- Following Pure JSON schema approach (no complementary tables)
- Schema-as-node pattern for extensibility
- Zero migration risk design

**Verification:**
- cargo check passes from workspace root ✓
- cargo build succeeds for core package ✓
- All dependencies resolve correctly ✓

Minor warnings about unused imports are expected since modules are empty placeholders.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
- Run cargo fmt to fix formatting across workspace
- Comment out unused re-exports in core/lib.rs (empty modules)
- All Rust code now passes cargo clippy -D warnings

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
**New Scripts:**
- `rust:format` - Format Rust code with cargo fmt
- `rust:format:check` - Check Rust formatting without making changes
- `rust:lint` - Run cargo clippy with -D warnings (no suppressions allowed)
- `rust:quality` - Run both format check and lint
- `rust:quality:fix` - Auto-format and then lint

**Updated Scripts:**
- `quality:fix` - Now runs BOTH TypeScript/Svelte AND Rust quality checks
- `quality:check` - New script for CI/PR validation (check-only, no auto-fix)

**Rust Fixes:**
- Fixed doc comment format in tests.rs (/** -> //!)
- Renamed tests module to avoid module inception lint
- All Rust code now passes clippy -D warnings

**Benefits:**
- Consistent quality standards across all languages
- No Rust lint suppressions needed
- Catches Rust issues before PR creation
- Single command (`bun run quality:fix`) for full codebase quality

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@malibio
malibio force-pushed the feature/issue-98-initialize-packages-core branch from df27f4b to 5b394ce Compare October 3, 2025 10:16
malibio and others added 2 commits October 3, 2025 12:36
**Workspace Metadata:**
- Add [workspace.package] with shared authors, edition, license, repository
- Update packages/core/Cargo.toml to use workspace metadata inheritance
- Reduces duplication and ensures consistency across packages

**Quality Improvements:**
- Centralizes package metadata in workspace root
- Future packages automatically inherit standard metadata

Note: Skipped workspace.dev-dependencies (requires Cargo 1.64+)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
**Workspace Dev Dependencies:**
- tokio-test 0.4 - For async testing utilities
- criterion 0.5 - For performance benchmarking (with HTML reports)

**Pattern:**
- Define in [workspace.dependencies] (not workspace.dev-dependencies)
- Inherit in packages via [dev-dependencies] with .workspace = true
- Ensures consistent testing tools across all workspace packages

Ready for Issue #137 (performance benchmarks) when implementations exist.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@malibio
malibio merged commit d4267c3 into main Oct 3, 2025
@malibio
malibio deleted the feature/issue-98-initialize-packages-core branch October 3, 2025 13:13
malibio added a commit that referenced this pull request Feb 4, 2026
* Add AI Chat Node Viewer and centralize design system navigation

- Add AI Chat Node Viewer page with comprehensive design features documentation
- Update icon system to use background-image instead of CSS masks for consistency
- Fix AI icon colors to match design system (hsl(var(--node-text)))
- Add AI Chat Nodes section to components.html with hover behavior
- Centralize navigation in interactive.js for easier maintenance
- Add design-focused feature descriptions highlighting visual hierarchy, message differentiation, avatar system, and spatial design

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Update architecture documentation and component refinements

- Update database schema to Pure JSON approach
- Refine node behavior system documentation
- Update technology stack with libsql/Turso
- Improve icon system documentation
- Polish date node viewer and base node viewer components

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Initialize packages/core with Cargo workspace configuration (addresses #98)

Infrastructure setup for NodeSpace business logic layer:

**Directory Structure:**
- Created packages/core/ with src/, migrations/, tests/ directories
- Set up module structure: models, behaviors, services, db, mcp
- All modules intentionally empty (mod.rs only) - infrastructure phase

**Cargo Configuration:**
- Updated root Cargo.toml to include packages/core in workspace
- Added shared dependencies: libsql, thiserror, async-trait
- Created packages/core/Cargo.toml with libsql for Turso database

**Architecture:**
- Using libsql (not SQLx) per database-schema.md specification
- Following Pure JSON schema approach (no complementary tables)
- Schema-as-node pattern for extensibility
- Zero migration risk design

**Verification:**
- cargo check passes from workspace root ✓
- cargo build succeeds for core package ✓
- All dependencies resolve correctly ✓

Minor warnings about unused imports are expected since modules are empty placeholders.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Fix Rust formatting and linting issues

- Run cargo fmt to fix formatting across workspace
- Comment out unused re-exports in core/lib.rs (empty modules)
- All Rust code now passes cargo clippy -D warnings

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Add Rust quality checks to workspace scripts

**New Scripts:**
- `rust:format` - Format Rust code with cargo fmt
- `rust:format:check` - Check Rust formatting without making changes
- `rust:lint` - Run cargo clippy with -D warnings (no suppressions allowed)
- `rust:quality` - Run both format check and lint
- `rust:quality:fix` - Auto-format and then lint

**Updated Scripts:**
- `quality:fix` - Now runs BOTH TypeScript/Svelte AND Rust quality checks
- `quality:check` - New script for CI/PR validation (check-only, no auto-fix)

**Rust Fixes:**
- Fixed doc comment format in tests.rs (/** -> //!)
- Renamed tests module to avoid module inception lint
- All Rust code now passes clippy -D warnings

**Benefits:**
- Consistent quality standards across all languages
- No Rust lint suppressions needed
- Catches Rust issues before PR creation
- Single command (`bun run quality:fix`) for full codebase quality

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Add Rust quality checks to workspace scripts

**Workspace Metadata:**
- Add [workspace.package] with shared authors, edition, license, repository
- Update packages/core/Cargo.toml to use workspace metadata inheritance
- Reduces duplication and ensures consistency across packages

**Quality Improvements:**
- Centralizes package metadata in workspace root
- Future packages automatically inherit standard metadata

Note: Skipped workspace.dev-dependencies (requires Cargo 1.64+)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Add shared dev-dependencies for testing and benchmarking

**Workspace Dev Dependencies:**
- tokio-test 0.4 - For async testing utilities
- criterion 0.5 - For performance benchmarking (with HTML reports)

**Pattern:**
- Define in [workspace.dependencies] (not workspace.dev-dependencies)
- Inherit in packages via [dev-dependencies] with .workspace = true
- Ensures consistent testing tools across all workspace packages

Ready for Issue #137 (performance benchmarks) when implementations exist.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
malibio added a commit that referenced this pull request Feb 5, 2026
* Add AI Chat Node Viewer and centralize design system navigation

- Add AI Chat Node Viewer page with comprehensive design features documentation
- Update icon system to use background-image instead of CSS masks for consistency
- Fix AI icon colors to match design system (hsl(var(--node-text)))
- Add AI Chat Nodes section to components.html with hover behavior
- Centralize navigation in interactive.js for easier maintenance
- Add design-focused feature descriptions highlighting visual hierarchy, message differentiation, avatar system, and spatial design

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Update architecture documentation and component refinements

- Update database schema to Pure JSON approach
- Refine node behavior system documentation
- Update technology stack with libsql/Turso
- Improve icon system documentation
- Polish date node viewer and base node viewer components

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Initialize packages/core with Cargo workspace configuration (addresses #98)

Infrastructure setup for NodeSpace business logic layer:

**Directory Structure:**
- Created packages/core/ with src/, migrations/, tests/ directories
- Set up module structure: models, behaviors, services, db, mcp
- All modules intentionally empty (mod.rs only) - infrastructure phase

**Cargo Configuration:**
- Updated root Cargo.toml to include packages/core in workspace
- Added shared dependencies: libsql, thiserror, async-trait
- Created packages/core/Cargo.toml with libsql for Turso database

**Architecture:**
- Using libsql (not SQLx) per database-schema.md specification
- Following Pure JSON schema approach (no complementary tables)
- Schema-as-node pattern for extensibility
- Zero migration risk design

**Verification:**
- cargo check passes from workspace root ✓
- cargo build succeeds for core package ✓
- All dependencies resolve correctly ✓

Minor warnings about unused imports are expected since modules are empty placeholders.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Fix Rust formatting and linting issues

- Run cargo fmt to fix formatting across workspace
- Comment out unused re-exports in core/lib.rs (empty modules)
- All Rust code now passes cargo clippy -D warnings

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Add Rust quality checks to workspace scripts

**New Scripts:**
- `rust:format` - Format Rust code with cargo fmt
- `rust:format:check` - Check Rust formatting without making changes
- `rust:lint` - Run cargo clippy with -D warnings (no suppressions allowed)
- `rust:quality` - Run both format check and lint
- `rust:quality:fix` - Auto-format and then lint

**Updated Scripts:**
- `quality:fix` - Now runs BOTH TypeScript/Svelte AND Rust quality checks
- `quality:check` - New script for CI/PR validation (check-only, no auto-fix)

**Rust Fixes:**
- Fixed doc comment format in tests.rs (/** -> //!)
- Renamed tests module to avoid module inception lint
- All Rust code now passes clippy -D warnings

**Benefits:**
- Consistent quality standards across all languages
- No Rust lint suppressions needed
- Catches Rust issues before PR creation
- Single command (`bun run quality:fix`) for full codebase quality

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Add Rust quality checks to workspace scripts

**Workspace Metadata:**
- Add [workspace.package] with shared authors, edition, license, repository
- Update packages/core/Cargo.toml to use workspace metadata inheritance
- Reduces duplication and ensures consistency across packages

**Quality Improvements:**
- Centralizes package metadata in workspace root
- Future packages automatically inherit standard metadata

Note: Skipped workspace.dev-dependencies (requires Cargo 1.64+)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Add shared dev-dependencies for testing and benchmarking

**Workspace Dev Dependencies:**
- tokio-test 0.4 - For async testing utilities
- criterion 0.5 - For performance benchmarking (with HTML reports)

**Pattern:**
- Define in [workspace.dependencies] (not workspace.dev-dependencies)
- Inherit in packages via [dev-dependencies] with .workspace = true
- Ensures consistent testing tools across all workspace packages

Ready for Issue #137 (performance benchmarks) when implementations exist.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
malibio added a commit that referenced this pull request Feb 26, 2026
* Add AI Chat Node Viewer and centralize design system navigation

- Add AI Chat Node Viewer page with comprehensive design features documentation
- Update icon system to use background-image instead of CSS masks for consistency
- Fix AI icon colors to match design system (hsl(var(--node-text)))
- Add AI Chat Nodes section to components.html with hover behavior
- Centralize navigation in interactive.js for easier maintenance
- Add design-focused feature descriptions highlighting visual hierarchy, message differentiation, avatar system, and spatial design

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Update architecture documentation and component refinements

- Update database schema to Pure JSON approach
- Refine node behavior system documentation
- Update technology stack with libsql/Turso
- Improve icon system documentation
- Polish date node viewer and base node viewer components

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Initialize packages/core with Cargo workspace configuration (addresses #98)

Infrastructure setup for NodeSpace business logic layer:

**Directory Structure:**
- Created packages/core/ with src/, migrations/, tests/ directories
- Set up module structure: models, behaviors, services, db, mcp
- All modules intentionally empty (mod.rs only) - infrastructure phase

**Cargo Configuration:**
- Updated root Cargo.toml to include packages/core in workspace
- Added shared dependencies: libsql, thiserror, async-trait
- Created packages/core/Cargo.toml with libsql for Turso database

**Architecture:**
- Using libsql (not SQLx) per database-schema.md specification
- Following Pure JSON schema approach (no complementary tables)
- Schema-as-node pattern for extensibility
- Zero migration risk design

**Verification:**
- cargo check passes from workspace root ✓
- cargo build succeeds for core package ✓
- All dependencies resolve correctly ✓

Minor warnings about unused imports are expected since modules are empty placeholders.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Fix Rust formatting and linting issues

- Run cargo fmt to fix formatting across workspace
- Comment out unused re-exports in core/lib.rs (empty modules)
- All Rust code now passes cargo clippy -D warnings

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Add Rust quality checks to workspace scripts

**New Scripts:**
- `rust:format` - Format Rust code with cargo fmt
- `rust:format:check` - Check Rust formatting without making changes
- `rust:lint` - Run cargo clippy with -D warnings (no suppressions allowed)
- `rust:quality` - Run both format check and lint
- `rust:quality:fix` - Auto-format and then lint

**Updated Scripts:**
- `quality:fix` - Now runs BOTH TypeScript/Svelte AND Rust quality checks
- `quality:check` - New script for CI/PR validation (check-only, no auto-fix)

**Rust Fixes:**
- Fixed doc comment format in tests.rs (/** -> //!)
- Renamed tests module to avoid module inception lint
- All Rust code now passes clippy -D warnings

**Benefits:**
- Consistent quality standards across all languages
- No Rust lint suppressions needed
- Catches Rust issues before PR creation
- Single command (`bun run quality:fix`) for full codebase quality

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Add Rust quality checks to workspace scripts

**Workspace Metadata:**
- Add [workspace.package] with shared authors, edition, license, repository
- Update packages/core/Cargo.toml to use workspace metadata inheritance
- Reduces duplication and ensures consistency across packages

**Quality Improvements:**
- Centralizes package metadata in workspace root
- Future packages automatically inherit standard metadata

Note: Skipped workspace.dev-dependencies (requires Cargo 1.64+)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Add shared dev-dependencies for testing and benchmarking

**Workspace Dev Dependencies:**
- tokio-test 0.4 - For async testing utilities
- criterion 0.5 - For performance benchmarking (with HTML reports)

**Pattern:**
- Define in [workspace.dependencies] (not workspace.dev-dependencies)
- Inherit in packages via [dev-dependencies] with .workspace = true
- Ensures consistent testing tools across all workspace packages

Ready for Issue #137 (performance benchmarks) when implementations exist.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Initialize packages/core with Cargo workspace configuration

1 participant