Skip to content

feat!: v1.0 breaking changes#30

Merged
johnxing-amigo merged 2 commits intomainfrom
feat/v1-breaking-changes
Mar 14, 2026
Merged

feat!: v1.0 breaking changes#30
johnxing-amigo merged 2 commits intomainfrom
feat/v1-breaking-changes

Conversation

@johnxing-amigo
Copy link
Contributor

Summary

  • Rename PermissionError → ForbiddenError (avoids shadowing builtins.PermissionError)
  • Rename sync client aclose() → close() (async keeps aclose())
  • Normalize resource properties to plural (organizations, services, conversations)
  • Add convenience aliases to all resources (list, create, delete, update, get_model, interact, finish, messages)
  • Export AmigoConfig and all error classes from init.py
  • Add mypy to dev dependencies
  • Remove scripts/ from wheel build
  • Add license (MIT) and project URLs to pyproject.toml

Test plan

  • All 165 unit tests pass (87.32% coverage)
  • Ruff lint + format pass
  • Integration tests against dogfood
  • mypy strict check

🤖 Generated with Claude Code

…ces, exports

BREAKING CHANGES:
- Rename PermissionError to ForbiddenError (avoids shadowing builtins)
- Rename sync client aclose() to close() (async keeps aclose())
- Normalize resource properties to plural:
  client.organization -> client.organizations
  client.service -> client.services
  client.conversation -> client.conversations
- Add convenience aliases to all resources:
  UserResource: list(), create(), delete(), update(), get_model()
  ServiceResource: list()
  ConversationResource: list(), create(), interact(), finish(), messages()
- Export AmigoConfig and all error classes from __init__.py
- Add mypy to dev dependencies
- Remove scripts/ from wheel build
- Add license (MIT) and project URLs to pyproject.toml

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@blacksmith-sh
Copy link
Contributor

blacksmith-sh bot commented Mar 14, 2026

Found 22 test failures on Blacksmith runners:

Failures

Test View Logs
TestConversationIntegration/test_finish_conversation_returns_acceptable_outcome View Logs
TestConversationIntegration/test_get_interaction_insights_returns_data View Logs
TestConversationIntegration/test_interact_with_conversation_external_event_streams View Logs
TestConversationIntegration/test_interact_with_conversation_text_streams View Logs
TestConversationIntegration/test_interact_with_conversation_voice_streams View Logs
TestConversationIntegrationSync/test_create_conversation_streams_and_returns_ids View Logs
TestConversationIntegrationSync/test_finish_conversation_returns_acceptable_outcome View Logs
TestConversationIntegrationSync/test_finish_conversation_returns_acceptable_outcome View Logs
TestConversationIntegrationSync/test_get_conversation_messages_pagination View Logs
TestConversationIntegrationSync/test_get_conversations_filter_by_id View Logs
TestConversationIntegrationSync/test_get_interaction_insights_returns_data View Logs
TestConversationIntegrationSync/test_get_interaction_insights_returns_data View Logs
TestConversationIntegrationSync/test_interact_with_conversation_external_event_streams View Logs
TestConversationIntegrationSync/test_interact_with_conversation_external_event_streams View Logs
TestConversationIntegrationSync/test_interact_with_conversation_text_streams View Logs
TestConversationIntegrationSync/test_interact_with_conversation_text_streams View Logs
TestConversationIntegrationSync/test_interact_with_conversation_voice_streams View Logs
TestConversationIntegrationSync/test_interact_with_conversation_voice_streams View Logs
TestConversationIntegrationSync/test_recommend_responses_returns_suggestions View Logs
TestOrganizationIntegration/test_get_services View Logs
TestOrganizationIntegrationSync/test_get_services View Logs
TestOrganizationIntegrationSync/test_get_services View Logs

Fix in Cursor

New resources for the deploy-a-service workflow:
- AsyncAgentResource/AgentResource: create_agent, get_agents, delete_agent,
  create_agent_version, get_agent_versions (with list/create/delete aliases)
- AsyncContextGraphResource/ContextGraphResource: create_context_graph,
  get_context_graphs, create_context_graph_version, delete_context_graph,
  get_context_graph_versions (with list/create/delete aliases)

Extended AsyncServiceResource/ServiceResource with:
- create_service, update_service, upsert_version_set, delete_version_set
  (with list/create aliases)

All 189 tests pass, 85.04% coverage.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@johnxing-amigo johnxing-amigo merged commit 36d811b into main Mar 14, 2026
10 of 11 checks passed
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.

1 participant