amigo_sdk 0.5.0__tar.gz → 0.7.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.
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/.github/workflows/auto-release.yml +38 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/PKG-INFO +1 -1
- amigo_sdk-0.7.0/src/amigo_sdk/__init__.py +1 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/src/amigo_sdk/generated/model.py +2 -2
- amigo_sdk-0.5.0/src/amigo_sdk/__init__.py +0 -1
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/.github/workflows/release.yml +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/.github/workflows/test.yml +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/.gitignore +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/CONTRIBUTING.md +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/LICENSE +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/README.md +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/openapi-new.json +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/pyproject.toml +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/scripts/__init__.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/scripts/aliases.json +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/scripts/check.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/scripts/gen_models.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/specs/openapi-baseline.json +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/src/amigo_sdk/auth.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/src/amigo_sdk/config.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/src/amigo_sdk/errors.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/src/amigo_sdk/http_client.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/src/amigo_sdk/resources/conversation.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/src/amigo_sdk/resources/organization.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/src/amigo_sdk/resources/service.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/src/amigo_sdk/resources/user.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/src/amigo_sdk/sdk_client.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/tests/__init__.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/tests/conftest.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/tests/integration/test_conversation_integration.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/tests/integration/test_organization_integration.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/tests/integration/test_user_integration.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/tests/resources/__init__.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/tests/resources/helpers.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/tests/resources/test_conversation.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/tests/resources/test_organization.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/tests/resources/test_service.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/tests/resources/test_user.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/tests/test_auth.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/tests/test_config.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/tests/test_errors.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/tests/test_http_client.py +0 -0
- {amigo_sdk-0.5.0 → amigo_sdk-0.7.0}/tests/test_sdk_client.py +0 -0
|
@@ -42,6 +42,34 @@ jobs:
|
|
|
42
42
|
echo "missing=false" >> $GITHUB_OUTPUT
|
|
43
43
|
fi
|
|
44
44
|
|
|
45
|
+
- name: Prepare baseline
|
|
46
|
+
run: |
|
|
47
|
+
mkdir -p specs
|
|
48
|
+
if [ ! -f specs/openapi-baseline.json ]; then
|
|
49
|
+
cp openapi-new.json specs/openapi-baseline.json
|
|
50
|
+
fi
|
|
51
|
+
|
|
52
|
+
- name: Diagnostics (spec and baseline)
|
|
53
|
+
run: |
|
|
54
|
+
echo "Resolved spec_url: ${{ steps.spec.outputs.spec_url }}"
|
|
55
|
+
echo "Baseline missing: ${{ steps.baseline.outputs.missing }}"
|
|
56
|
+
echo "jq version: $(jq --version)"
|
|
57
|
+
jq -S 'del(.info.version) | del(.servers)' specs/openapi-baseline.json > baseline.norm.json || true
|
|
58
|
+
jq -S 'del(.info.version) | del(.servers)' openapi-new.json > new.norm.json
|
|
59
|
+
if [ -f baseline.norm.json ]; then
|
|
60
|
+
echo "BASELINE_NORM_SHA=$(sha256sum baseline.norm.json | awk '{print $1}')"
|
|
61
|
+
else
|
|
62
|
+
echo "BASELINE_NORM_SHA=(none)"
|
|
63
|
+
fi
|
|
64
|
+
echo "NEW_NORM_SHA=$(sha256sum new.norm.json | awk '{print $1}')"
|
|
65
|
+
if [ -f baseline.norm.json ]; then
|
|
66
|
+
if diff -q baseline.norm.json new.norm.json >/dev/null 2>&1; then
|
|
67
|
+
echo "Quick diff: identical"
|
|
68
|
+
else
|
|
69
|
+
echo "Quick diff: differs"
|
|
70
|
+
fi
|
|
71
|
+
fi
|
|
72
|
+
|
|
45
73
|
- name: Compare normalized specs
|
|
46
74
|
id: diff
|
|
47
75
|
run: |
|
|
@@ -57,6 +85,16 @@ jobs:
|
|
|
57
85
|
echo "changed=true" >> $GITHUB_OUTPUT
|
|
58
86
|
fi
|
|
59
87
|
|
|
88
|
+
- name: Upload normalized specs
|
|
89
|
+
if: always()
|
|
90
|
+
uses: actions/upload-artifact@v4
|
|
91
|
+
with:
|
|
92
|
+
name: normalized-specs
|
|
93
|
+
path: |
|
|
94
|
+
baseline.norm.json
|
|
95
|
+
new.norm.json
|
|
96
|
+
retention-days: 7
|
|
97
|
+
|
|
60
98
|
release-on-dispatch:
|
|
61
99
|
name: Trigger SDK release (minor)
|
|
62
100
|
needs: detect
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.7.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
2
|
# filename: <stdin>
|
|
3
|
-
# timestamp: 2025-08-21T18:
|
|
3
|
+
# timestamp: 2025-08-21T18:35:54+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', '
|
|
11649
|
+
['agent-message', 'external-event', 'user-message'],
|
|
11650
11650
|
description='The type of messages to retrieve.',
|
|
11651
11651
|
title='Message Type',
|
|
11652
11652
|
)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.5.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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|