chore: v1.0 polish — repo restructure, version bump, JS SDK completion#30
Merged
lostmygithubaccount merged 10 commits intomainfrom Mar 18, 2026
Merged
chore: v1.0 polish — repo restructure, version bump, JS SDK completion#30lostmygithubaccount merged 10 commits intomainfrom
lostmygithubaccount merged 10 commits intomainfrom
Conversation
13e176c to
1eada1d
Compare
Bump version 0.5.0 → 1.0.0 across all crates and bindings. Add missing JS SDK methods (environment, project, profile, otto), napi attributes on model structs, and update READMEs to reflect the current API surface. - Version bump in Cargo workspace, PyO3, napi-rs, pyproject.toml - JS SDK: add environment, project, profile, otto, and streaming methods - Add napi(object) attributes to Environment, Project, OttoChatResponse, OttoProvider, OttoProviderModel model structs - Config: tighten visibility (pub(crate) fields, #[non_exhaustive]) - TUI: fix quit hang when streaming thread is stuck on network read - AGENTS.md: document TUI, JS SDK, Otto CLI, and conventions - READMEs: update core, CLI, MCP, PyO3 to match current API - Add demo app Otto chat UI and environment/project pages - Add integration test suite (Python + shell) - bin/bump-version: add JS Cargo.toml and package.json support - PyO3: add Display bound on to_py_err for better error messages Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1eada1d to
2783f95
Compare
Self-contained Node.js port of tests/rest.py — exercises /api/v1 endpoints directly with Ed25519 JWT auth using built-in crypto and fetch. Zero npm dependencies. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Cleaner repo layout — Rust crates live in crates/, Python package in py/ascend_tools/, tests and bin scripts at the top level. All inter-crate path dependencies still resolve via relative sibling paths. Maturin config updated to use python-source = "py". Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Make auth module pub(crate) — no downstream consumers - Remove unused is_unauthorized/is_forbidden/is_not_found error methods - Extract SSE take_event() helper to deduplicate dispatch logic - Fix PyO3 otto() to serialize OttoChatResponse directly (was fragile manual JSON) - Add list_profiles validation to JS binding (branch required with project) - Make skill.rs constants private (only used within module) - Add hide_env_values to service_account_id CLI arg per convention - Fix bump-version and check-version: add TUI crate and JS package.json Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add extra-paths = ["py"] to [tool.ty.environment] so ty resolves ascend_tools imports after the move from src/ to py/. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
TUI is part of the CLI, not a separate top-level component. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/ascend_tools/tocrates/, Python package topy/ascend_tools/. Cleaner separation of Rust, Python, and JS code.crates/,py/,tests/,bin/).tests/rest.js— self-contained Node.js REST API integration test (zero npm deps, mirrorsrest.py). Add Python + shell integration test suites. Expand demo app with Otto chat UI and environment/project pages.Configvisibility (pub(crate),#[non_exhaustive]), addto_py_errDisplay bound, fix TUI quit hang on stuck SSE reads, add JS tobin/bump-versionandbin/check-version.🤖 Generated with Claude Code