amigo_sdk 0.7.0__tar.gz → 0.8.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of amigo_sdk might be problematic. Click here for more details.

Files changed (43) hide show
  1. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/.github/workflows/auto-release.yml +42 -0
  2. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/PKG-INFO +1 -1
  3. amigo_sdk-0.8.0/src/amigo_sdk/__init__.py +1 -0
  4. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/src/amigo_sdk/generated/model.py +2 -2
  5. amigo_sdk-0.7.0/src/amigo_sdk/__init__.py +0 -1
  6. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/.github/workflows/release.yml +0 -0
  7. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/.github/workflows/test.yml +0 -0
  8. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/.gitignore +0 -0
  9. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/CONTRIBUTING.md +0 -0
  10. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/LICENSE +0 -0
  11. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/README.md +0 -0
  12. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/openapi-new.json +0 -0
  13. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/pyproject.toml +0 -0
  14. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/scripts/__init__.py +0 -0
  15. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/scripts/aliases.json +0 -0
  16. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/scripts/check.py +0 -0
  17. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/scripts/gen_models.py +0 -0
  18. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/specs/openapi-baseline.json +0 -0
  19. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/src/amigo_sdk/auth.py +0 -0
  20. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/src/amigo_sdk/config.py +0 -0
  21. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/src/amigo_sdk/errors.py +0 -0
  22. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/src/amigo_sdk/http_client.py +0 -0
  23. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/src/amigo_sdk/resources/conversation.py +0 -0
  24. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/src/amigo_sdk/resources/organization.py +0 -0
  25. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/src/amigo_sdk/resources/service.py +0 -0
  26. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/src/amigo_sdk/resources/user.py +0 -0
  27. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/src/amigo_sdk/sdk_client.py +0 -0
  28. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/tests/__init__.py +0 -0
  29. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/tests/conftest.py +0 -0
  30. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/tests/integration/test_conversation_integration.py +0 -0
  31. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/tests/integration/test_organization_integration.py +0 -0
  32. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/tests/integration/test_user_integration.py +0 -0
  33. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/tests/resources/__init__.py +0 -0
  34. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/tests/resources/helpers.py +0 -0
  35. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/tests/resources/test_conversation.py +0 -0
  36. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/tests/resources/test_organization.py +0 -0
  37. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/tests/resources/test_service.py +0 -0
  38. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/tests/resources/test_user.py +0 -0
  39. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/tests/test_auth.py +0 -0
  40. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/tests/test_config.py +0 -0
  41. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/tests/test_errors.py +0 -0
  42. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/tests/test_http_client.py +0 -0
  43. {amigo_sdk-0.7.0 → amigo_sdk-0.8.0}/tests/test_sdk_client.py +0 -0
@@ -70,6 +70,48 @@ jobs:
70
70
  fi
71
71
  fi
72
72
 
73
+ # Section-level hashes and key diffs
74
+ echo "\n== Section-level hashes =="
75
+ if [ -f specs/openapi-baseline.json ]; then
76
+ BASELINE_PATHS_SHA=$(jq -cS '(.paths // {})' specs/openapi-baseline.json | sha256sum | awk '{print $1}')
77
+ BASELINE_SCHEMAS_SHA=$(jq -cS '(.components.schemas // {})' specs/openapi-baseline.json | sha256sum | awk '{print $1}')
78
+ BASELINE_PATHS_COUNT=$(jq -r '(.paths // {}) | keys | length' specs/openapi-baseline.json)
79
+ BASELINE_SCHEMAS_COUNT=$(jq -r '(.components.schemas // {}) | keys | length' specs/openapi-baseline.json)
80
+ else
81
+ BASELINE_PATHS_SHA=(none)
82
+ BASELINE_SCHEMAS_SHA=(none)
83
+ BASELINE_PATHS_COUNT=0
84
+ BASELINE_SCHEMAS_COUNT=0
85
+ fi
86
+ NEW_PATHS_SHA=$(jq -cS '(.paths // {})' openapi-new.json | sha256sum | awk '{print $1}')
87
+ NEW_SCHEMAS_SHA=$(jq -cS '(.components.schemas // {})' openapi-new.json | sha256sum | awk '{print $1}')
88
+ NEW_PATHS_COUNT=$(jq -r '(.paths // {}) | keys | length' openapi-new.json)
89
+ NEW_SCHEMAS_COUNT=$(jq -r '(.components.schemas // {}) | keys | length' openapi-new.json)
90
+ echo "BASELINE paths: count=$BASELINE_PATHS_COUNT sha=$BASELINE_PATHS_SHA"
91
+ echo "NEW paths: count=$NEW_PATHS_COUNT sha=$NEW_PATHS_SHA"
92
+ echo "BASELINE schemas: count=$BASELINE_SCHEMAS_COUNT sha=$BASELINE_SCHEMAS_SHA"
93
+ echo "NEW schemas: count=$NEW_SCHEMAS_COUNT sha=$NEW_SCHEMAS_SHA"
94
+
95
+ echo "\n== Key diffs (paths) =="
96
+ if [ -f specs/openapi-baseline.json ]; then
97
+ jq -r '(.paths // {}) | keys | sort[]' specs/openapi-baseline.json > baseline.paths.txt || true
98
+ else
99
+ : > baseline.paths.txt
100
+ fi
101
+ jq -r '(.paths // {}) | keys | sort[]' openapi-new.json > new.paths.txt
102
+ echo "Removed paths (in baseline, not in new):"; comm -23 baseline.paths.txt new.paths.txt || true
103
+ echo "Added paths (in new, not in baseline):"; comm -13 baseline.paths.txt new.paths.txt || true
104
+
105
+ echo "\n== Key diffs (components.schemas) =="
106
+ if [ -f specs/openapi-baseline.json ]; then
107
+ jq -r '(.components.schemas // {}) | keys | sort[]' specs/openapi-baseline.json > baseline.schemas.txt || true
108
+ else
109
+ : > baseline.schemas.txt
110
+ fi
111
+ jq -r '(.components.schemas // {}) | keys | sort[]' openapi-new.json > new.schemas.txt
112
+ echo "Removed schemas (in baseline, not in new):"; comm -23 baseline.schemas.txt new.schemas.txt || true
113
+ echo "Added schemas (in new, not in baseline):"; comm -13 baseline.schemas.txt new.schemas.txt || true
114
+
73
115
  - name: Compare normalized specs
74
116
  id: diff
75
117
  run: |
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.7.0
3
+ Version: 0.8.0
4
4
  Summary: Amigo AI Python SDK
5
5
  Author: Amigo AI
6
6
  License-File: LICENSE
@@ -0,0 +1 @@
1
+ __version__ = "0.8.0"
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: <stdin>
3
- # timestamp: 2025-08-21T18:35:54+00:00
3
+ # timestamp: 2025-08-21T18:39:42+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -11646,7 +11646,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
11646
11646
  [], description='The IDs of the messages to retrieve.', title='Id'
11647
11647
  )
11648
11648
  message_type: Optional[List[MessageType]] = Field(
11649
- ['agent-message', 'external-event', 'user-message'],
11649
+ ['agent-message', 'user-message', 'external-event'],
11650
11650
  description='The type of messages to retrieve.',
11651
11651
  title='Message Type',
11652
11652
  )
@@ -1 +0,0 @@
1
- __version__ = "0.7.0"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes