socialcli 0.3.3__tar.gz → 0.3.7__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.
- socialcli-0.3.7/PKG-INFO +142 -0
- socialcli-0.3.7/README.md +121 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/pyproject.toml +54 -24
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/__main__.py +2 -2
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/adapters/youtube.py +5 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/agent_errors.py +85 -8
- socialcli-0.3.7/socialctl/agent_guide.py +52 -0
- socialcli-0.3.7/socialctl/agent_journey.py +131 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/auth.py +10 -1
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/capabilities.py +4 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/capabilities.yml +2008 -128
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/cli.py +367 -184
- socialcli-0.3.7/socialctl/cli_result.py +148 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/connections/account_cli.py +29 -4
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/connections/cli.py +8 -4
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/connections/client.py +2 -0
- socialcli-0.3.7/socialctl/connections/http_transport.py +58 -0
- socialcli-0.3.7/socialctl/connections/token_requests.py +35 -0
- socialcli-0.3.7/socialctl/context.py +306 -0
- socialcli-0.3.7/socialctl/context_cli.py +133 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/delivery_options.py +7 -2
- socialcli-0.3.7/socialctl/entrypoint.py +317 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/executor.py +3 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/identity.py +8 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/inbox.py +8 -5
- socialcli-0.3.7/socialctl/inbox_cli.py +77 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/inventory.py +34 -11
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/inventory_cli.py +12 -3
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/batch_cli.py +7 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/batches.py +4 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/changes.py +9 -1
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/cli.py +4 -1
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/comments_cli.py +2 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/community_batch_cli.py +2 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/community_batches.py +1 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/community_changes.py +14 -2
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/community_cli.py +4 -1
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/facebook_groups.py +1 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/groups_cli.py +2 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/meta_changes.py +1 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/meta_cli.py +4 -1
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/meta_client.py +4 -1
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/meta_comment_inbox.py +5 -2
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/meta_comments.py +5 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/owned_changes.py +24 -5
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/owned_cli.py +17 -3
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/reply_evidence.py +4 -1
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/resource_changes.py +26 -3
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/resource_cli.py +4 -1
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/stories.py +1 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/stories_cli.py +4 -1
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/youtube_community.py +5 -1
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/youtube_owned.py +11 -3
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/analytics_changes.py +1 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/analytics_cli.py +4 -1
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/base.py +14 -5
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/modelos.py +6 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/piezas.py +1 -1
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/resumen.py +4 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/youtube.py +147 -62
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/approval.py +11 -3
- socialcli-0.3.7/socialctl/native_schedule/attestations.py +94 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/cli.py +97 -21
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/models.py +9 -0
- socialcli-0.3.7/socialctl/native_schedule/preflight.py +196 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/remote_data.py +15 -3
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/report.py +15 -5
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/store.py +5 -5
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/operation_output.py +10 -3
- socialcli-0.3.7/socialctl/public_availability.py +4 -0
- socialcli-0.3.7/socialctl/publication_approval.py +34 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/publication_steps.py +5 -1
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/publish_output.py +2 -1
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/publisher.py +10 -1
- socialcli-0.3.7/socialctl/qa/__init__.py +1 -0
- socialcli-0.3.7/socialctl/qa/backend.py +175 -0
- socialcli-0.3.7/socialctl/qa/cli.py +88 -0
- socialcli-0.3.7/socialctl/qa/guard.py +32 -0
- socialcli-0.3.7/socialctl/qa/models.py +42 -0
- socialcli-0.3.7/socialctl/qa/runner.py +204 -0
- socialcli-0.3.7/socialctl/qa/store.py +89 -0
- socialcli-0.3.7/socialctl/qa/transport.py +29 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/read_budget.py +2 -1
- socialcli-0.3.7/socialctl/read_checkpoints.py +322 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/read_reports.py +17 -1
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/schedule_remote.py +64 -8
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/scheduler.py +67 -4
- socialcli-0.3.7/socialctl/ui/assets/agent-actions.json +22301 -0
- socialcli-0.3.7/socialctl/ui/assets/agent-journey.json +542 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/ui/assets/agent-manual.md +385 -306
- socialcli-0.3.7/socialctl/ui/assets/agents.md +37 -0
- socialcli-0.3.7/socialctl/ui/assets/cli-result.schema.json +27 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/workspace.py +5 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/youtube_data.py +46 -0
- socialcli-0.3.3/PKG-INFO +0 -167
- socialcli-0.3.3/README.md +0 -147
- socialcli-0.3.3/socialctl/agent_guide.py +0 -25
- socialcli-0.3.3/socialctl/inbox_cli.py +0 -46
- socialcli-0.3.3/socialctl/ui/assets/agents.md +0 -36
- {socialcli-0.3.3 → socialcli-0.3.7}/.gitignore +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/LICENSE +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/LICENSE-MIT-LEGACY +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/__init__.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/adapters/__init__.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/adapters/base.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/adapters/errores.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/adapters/facebook.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/adapters/instagram.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/adapters/tiktok.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/approval_cli.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/authflow.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/brands.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/connections/__init__.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/connections/credential_cli.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/connections/credential_store.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/connections/file_store.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/connections/keychain.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/connections/meta_user.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/connections/rotation_cli.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/connections/saas_client.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/connections/temporary_media.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/engagement.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/engagement_cli.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/formatter.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/hosted_media.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/inventory_sources.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/__init__.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/community_schema.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/inbox_readers.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/meta_errors.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/meta_pagination.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/meta_schema.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/meta_webhooks.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/metadata_parts.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/owned_assets.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/owned_reorder.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/owned_schema.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/reply_context.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/snippet_readback.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/youtube.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/youtube_metadata.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/management/youtube_resources.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/media.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/media_cli.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/media_ingress.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/media_preflight.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/media_registry.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/media_requirements.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/__init__.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/almacen.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/analytics_client.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/analytics_ingest.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/analytics_schema.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/facebook.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/insights.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/instagram.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/reach.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/reporting_client.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/slugs.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/metricas/tiktok.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/migration_cli.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/migration_files.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/models.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/__init__.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/api_delivery.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/api_reconcile.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/cadence.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/dispatcher.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/facebook.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/facebook_reels.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/first_comment.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/handoff.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/instagram_delivery.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/instagram_runtime.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/inventory.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/migration.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/preparation.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/reconcile.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/verification.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/native_schedule/youtube.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/plantillas/accounts.yml +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/plantillas/brand.md +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/plantillas/estrategia.md +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/postfile.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/preflight.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/publication_policy.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/publication_status.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/queue_migration.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/rutas.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/schedule_sqlite.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/scheduler_launchd.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/scheduler_systemd.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/source_links.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/ui/__init__.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/upload_consent.py +0 -0
- {socialcli-0.3.3 → socialcli-0.3.7}/socialctl/youtube_data_service.py +0 -0
socialcli-0.3.7/PKG-INFO
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: socialcli
|
|
3
|
+
Version: 0.3.7
|
|
4
|
+
Summary: SocialCli: publish and manage creator-owned social content from the terminal.
|
|
5
|
+
Project-URL: Homepage, https://socialcli.app
|
|
6
|
+
Project-URL: Documentation, https://socialcli.app/ai-agents.html
|
|
7
|
+
Project-URL: Terms, https://socialcli.app/terms.html
|
|
8
|
+
License-Expression: LicenseRef-SocialCli-Proprietary
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
License-File: LICENSE-MIT-LEGACY
|
|
11
|
+
Requires-Python: >=3.11
|
|
12
|
+
Requires-Dist: certifi>=2026.10.19
|
|
13
|
+
Requires-Dist: httpx>=0.28.1
|
|
14
|
+
Requires-Dist: keyring>=25.0
|
|
15
|
+
Requires-Dist: pydantic>=2.13.5
|
|
16
|
+
Requires-Dist: pyyaml>=6.0.3
|
|
17
|
+
Requires-Dist: typer>=0.27.2
|
|
18
|
+
Provides-Extra: headless-credentials
|
|
19
|
+
Requires-Dist: cryptography>=43; extra == 'headless-credentials'
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
|
|
22
|
+
<p align="center"><img src="https://socialcli.app/assets/socialcli-logo.png" width="128" height="128" alt="SocialCli logo: S and terminal prompt >_"></p>
|
|
23
|
+
|
|
24
|
+
# SocialCli
|
|
25
|
+
|
|
26
|
+
**Social media tools for your AI agent.** SocialCli gives a terminal-enabled
|
|
27
|
+
assistant concrete commands to work with your YouTube channel: read available
|
|
28
|
+
content and comments, prepare uploads and replies, manage supported metadata and
|
|
29
|
+
playlists, and schedule eligible videos with your approval.
|
|
30
|
+
|
|
31
|
+
SocialCli is a product of **Florentino.pro**. It is a CLI, not an AI model or an
|
|
32
|
+
MCP server. It works with Muse, Grok bot, Codex, Claude, Gemini and other agents
|
|
33
|
+
that have terminal access and persistent storage.
|
|
34
|
+
|
|
35
|
+
[Website](https://socialcli.app/) · [Installation](https://socialcli.app/installation.html) · [Agent guide](https://socialcli.app/ai-agents.html) · [Features and limits](https://socialcli.app/capabilities.html) · [Security](https://socialcli.app/security.html)
|
|
36
|
+
|
|
37
|
+
## Get started
|
|
38
|
+
|
|
39
|
+
Copy this line into your AI assistant:
|
|
40
|
+
|
|
41
|
+
> Install SocialCli https://socialcli.app/agents
|
|
42
|
+
|
|
43
|
+
The live installation instructions identify the verified published release and
|
|
44
|
+
its SHA-256. Your assistant checks the downloaded wheel, installs it in an
|
|
45
|
+
isolated environment and verifies the active executable with
|
|
46
|
+
`socialcli --version`. The version of this distribution is listed in its package
|
|
47
|
+
metadata above; the website provides current installation and availability
|
|
48
|
+
information.
|
|
49
|
+
|
|
50
|
+
Requirements: macOS or Linux, Python 3.11 or newer, persistent workspace storage
|
|
51
|
+
and protected credentials. Video inspection also requires ffprobe from FFmpeg.
|
|
52
|
+
A chat-only assistant cannot run SocialCli directly.
|
|
53
|
+
|
|
54
|
+
Name the brand and channel you own or manage. Your assistant prepares only
|
|
55
|
+
missing setup and sends you the SocialCli sign-in and YouTube connection links.
|
|
56
|
+
Open them in your own browser and confirm your account. Never share email codes,
|
|
57
|
+
passwords or tokens in chat. Keep your workspace and credential store when
|
|
58
|
+
updating the client.
|
|
59
|
+
|
|
60
|
+
## Work naturally, approve precisely
|
|
61
|
+
|
|
62
|
+
Try these prompts with your own brand and supplied files:
|
|
63
|
+
|
|
64
|
+
> Connect MyBrand to YouTube and show me its recent videos.
|
|
65
|
+
|
|
66
|
+
> Review recent comments and prepare replies for my approval.
|
|
67
|
+
|
|
68
|
+
> Prepare this finished video for YouTube. Show me the complete preview before publishing.
|
|
69
|
+
|
|
70
|
+
> Prepare a title change for this video, then verify the result after I approve it.
|
|
71
|
+
|
|
72
|
+
SocialCli uses a **preview → explicit approval → readback** workflow. The preview
|
|
73
|
+
identifies the exact account, content, media, visibility and scheduled time when
|
|
74
|
+
applicable. Your assistant carries the matching fingerprint after approval;
|
|
75
|
+
you do not need to type it. Connecting or subscribing does not authorize writes.
|
|
76
|
+
|
|
77
|
+
A receipt alone is not always proof of the requested result. Partial results keep
|
|
78
|
+
coverage limits explicit, and uncertain writes must not be automatically retried.
|
|
79
|
+
An accepted thumbnail upload may still lack proof of visual replacement.
|
|
80
|
+
|
|
81
|
+
## Availability and limits
|
|
82
|
+
|
|
83
|
+
Only YouTube is publicly available. Facebook, Instagram and TikTok are pending
|
|
84
|
+
approval and unavailable to public customers. See the
|
|
85
|
+
[live platform status](https://socialcli.app/platforms.html).
|
|
86
|
+
|
|
87
|
+
Google approved `youtube.readonly`, `youtube.force-ssl` and `youtube.upload` for
|
|
88
|
+
SocialCli. These approvals do not include Analytics or Reporting scopes. Available
|
|
89
|
+
actions depend on granted permissions, the exact account and resource, and the
|
|
90
|
+
operation's prerequisites. Full YouTube stats requires Analytics access for video
|
|
91
|
+
selection; do not assume it is available through the public connection.
|
|
92
|
+
|
|
93
|
+
YouTube scheduling supports eligible never-published private videos and new
|
|
94
|
+
uploads through the native scheduling workflow. Native uploads require the
|
|
95
|
+
applicable calendar review and operator evidence. The assistant checks those
|
|
96
|
+
prerequisites before preparing a schedule. YouTube disables comments on private
|
|
97
|
+
videos. YouTube comment likes/hearts are not exposed by SocialCli.
|
|
98
|
+
|
|
99
|
+
Provide finished media files. SocialCli does not generate, crop or transcode them.
|
|
100
|
+
Read the [complete features and limits](https://socialcli.app/capabilities.html)
|
|
101
|
+
for the supported public workflow.
|
|
102
|
+
|
|
103
|
+
## Instructions for agents
|
|
104
|
+
|
|
105
|
+
Start with the active installation:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
socialcli --version
|
|
109
|
+
socialcli --help
|
|
110
|
+
socialcli agent-guide interaction
|
|
111
|
+
socialcli agent-guide actions
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Use a persistent workspace outside the installed package, and an explicitly
|
|
115
|
+
named brand. Follow installed command help and observed service capabilities;
|
|
116
|
+
a source checkout or website update does not upgrade another agent environment.
|
|
117
|
+
Use `socialcli agent-guide all` for the advanced offline reference. Examples for
|
|
118
|
+
platforms under review do not enable public access.
|
|
119
|
+
|
|
120
|
+
Keep JSON stdout separate from progress stderr. Preserve useful observations from
|
|
121
|
+
partial reads. A read failure does not by itself authorize reconnecting an
|
|
122
|
+
account, resetting credentials or repeating a write.
|
|
123
|
+
|
|
124
|
+
## Subscription, security and support
|
|
125
|
+
|
|
126
|
+
The public client connects to the hosted SocialCli service. Installing the client
|
|
127
|
+
does not grant account access or a subscription. Current pricing and trial terms
|
|
128
|
+
are available on the [website](https://socialcli.app/) and in the
|
|
129
|
+
[terms](https://socialcli.app/terms.html).
|
|
130
|
+
|
|
131
|
+
Provider application secrets stay on the service. Use an OS keyring or the
|
|
132
|
+
explicit encrypted-file backend for supported local credentials; preserve the
|
|
133
|
+
external encryption key securely. See the
|
|
134
|
+
[security guide](https://socialcli.app/security.html) and
|
|
135
|
+
[privacy policy](https://socialcli.app/privacy.html).
|
|
136
|
+
|
|
137
|
+
The source repository is private. Customers install the public client package;
|
|
138
|
+
GitHub access is not required. The hosted server is excluded from this package.
|
|
139
|
+
SocialCli uses a proprietary license owned by Florentino.pro; see the included
|
|
140
|
+
`LICENSE`. `LICENSE-MIT-LEGACY` preserves notices for earlier MIT-covered code.
|
|
141
|
+
|
|
142
|
+
Support: [admin@socialcli.app](mailto:admin@socialcli.app).
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
<p align="center"><img src="https://socialcli.app/assets/socialcli-logo.png" width="128" height="128" alt="SocialCli logo: S and terminal prompt >_"></p>
|
|
2
|
+
|
|
3
|
+
# SocialCli
|
|
4
|
+
|
|
5
|
+
**Social media tools for your AI agent.** SocialCli gives a terminal-enabled
|
|
6
|
+
assistant concrete commands to work with your YouTube channel: read available
|
|
7
|
+
content and comments, prepare uploads and replies, manage supported metadata and
|
|
8
|
+
playlists, and schedule eligible videos with your approval.
|
|
9
|
+
|
|
10
|
+
SocialCli is a product of **Florentino.pro**. It is a CLI, not an AI model or an
|
|
11
|
+
MCP server. It works with Muse, Grok bot, Codex, Claude, Gemini and other agents
|
|
12
|
+
that have terminal access and persistent storage.
|
|
13
|
+
|
|
14
|
+
[Website](https://socialcli.app/) · [Installation](https://socialcli.app/installation.html) · [Agent guide](https://socialcli.app/ai-agents.html) · [Features and limits](https://socialcli.app/capabilities.html) · [Security](https://socialcli.app/security.html)
|
|
15
|
+
|
|
16
|
+
## Get started
|
|
17
|
+
|
|
18
|
+
Copy this line into your AI assistant:
|
|
19
|
+
|
|
20
|
+
> Install SocialCli https://socialcli.app/agents
|
|
21
|
+
|
|
22
|
+
The live installation instructions identify the verified published release and
|
|
23
|
+
its SHA-256. Your assistant checks the downloaded wheel, installs it in an
|
|
24
|
+
isolated environment and verifies the active executable with
|
|
25
|
+
`socialcli --version`. The version of this distribution is listed in its package
|
|
26
|
+
metadata above; the website provides current installation and availability
|
|
27
|
+
information.
|
|
28
|
+
|
|
29
|
+
Requirements: macOS or Linux, Python 3.11 or newer, persistent workspace storage
|
|
30
|
+
and protected credentials. Video inspection also requires ffprobe from FFmpeg.
|
|
31
|
+
A chat-only assistant cannot run SocialCli directly.
|
|
32
|
+
|
|
33
|
+
Name the brand and channel you own or manage. Your assistant prepares only
|
|
34
|
+
missing setup and sends you the SocialCli sign-in and YouTube connection links.
|
|
35
|
+
Open them in your own browser and confirm your account. Never share email codes,
|
|
36
|
+
passwords or tokens in chat. Keep your workspace and credential store when
|
|
37
|
+
updating the client.
|
|
38
|
+
|
|
39
|
+
## Work naturally, approve precisely
|
|
40
|
+
|
|
41
|
+
Try these prompts with your own brand and supplied files:
|
|
42
|
+
|
|
43
|
+
> Connect MyBrand to YouTube and show me its recent videos.
|
|
44
|
+
|
|
45
|
+
> Review recent comments and prepare replies for my approval.
|
|
46
|
+
|
|
47
|
+
> Prepare this finished video for YouTube. Show me the complete preview before publishing.
|
|
48
|
+
|
|
49
|
+
> Prepare a title change for this video, then verify the result after I approve it.
|
|
50
|
+
|
|
51
|
+
SocialCli uses a **preview → explicit approval → readback** workflow. The preview
|
|
52
|
+
identifies the exact account, content, media, visibility and scheduled time when
|
|
53
|
+
applicable. Your assistant carries the matching fingerprint after approval;
|
|
54
|
+
you do not need to type it. Connecting or subscribing does not authorize writes.
|
|
55
|
+
|
|
56
|
+
A receipt alone is not always proof of the requested result. Partial results keep
|
|
57
|
+
coverage limits explicit, and uncertain writes must not be automatically retried.
|
|
58
|
+
An accepted thumbnail upload may still lack proof of visual replacement.
|
|
59
|
+
|
|
60
|
+
## Availability and limits
|
|
61
|
+
|
|
62
|
+
Only YouTube is publicly available. Facebook, Instagram and TikTok are pending
|
|
63
|
+
approval and unavailable to public customers. See the
|
|
64
|
+
[live platform status](https://socialcli.app/platforms.html).
|
|
65
|
+
|
|
66
|
+
Google approved `youtube.readonly`, `youtube.force-ssl` and `youtube.upload` for
|
|
67
|
+
SocialCli. These approvals do not include Analytics or Reporting scopes. Available
|
|
68
|
+
actions depend on granted permissions, the exact account and resource, and the
|
|
69
|
+
operation's prerequisites. Full YouTube stats requires Analytics access for video
|
|
70
|
+
selection; do not assume it is available through the public connection.
|
|
71
|
+
|
|
72
|
+
YouTube scheduling supports eligible never-published private videos and new
|
|
73
|
+
uploads through the native scheduling workflow. Native uploads require the
|
|
74
|
+
applicable calendar review and operator evidence. The assistant checks those
|
|
75
|
+
prerequisites before preparing a schedule. YouTube disables comments on private
|
|
76
|
+
videos. YouTube comment likes/hearts are not exposed by SocialCli.
|
|
77
|
+
|
|
78
|
+
Provide finished media files. SocialCli does not generate, crop or transcode them.
|
|
79
|
+
Read the [complete features and limits](https://socialcli.app/capabilities.html)
|
|
80
|
+
for the supported public workflow.
|
|
81
|
+
|
|
82
|
+
## Instructions for agents
|
|
83
|
+
|
|
84
|
+
Start with the active installation:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
socialcli --version
|
|
88
|
+
socialcli --help
|
|
89
|
+
socialcli agent-guide interaction
|
|
90
|
+
socialcli agent-guide actions
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Use a persistent workspace outside the installed package, and an explicitly
|
|
94
|
+
named brand. Follow installed command help and observed service capabilities;
|
|
95
|
+
a source checkout or website update does not upgrade another agent environment.
|
|
96
|
+
Use `socialcli agent-guide all` for the advanced offline reference. Examples for
|
|
97
|
+
platforms under review do not enable public access.
|
|
98
|
+
|
|
99
|
+
Keep JSON stdout separate from progress stderr. Preserve useful observations from
|
|
100
|
+
partial reads. A read failure does not by itself authorize reconnecting an
|
|
101
|
+
account, resetting credentials or repeating a write.
|
|
102
|
+
|
|
103
|
+
## Subscription, security and support
|
|
104
|
+
|
|
105
|
+
The public client connects to the hosted SocialCli service. Installing the client
|
|
106
|
+
does not grant account access or a subscription. Current pricing and trial terms
|
|
107
|
+
are available on the [website](https://socialcli.app/) and in the
|
|
108
|
+
[terms](https://socialcli.app/terms.html).
|
|
109
|
+
|
|
110
|
+
Provider application secrets stay on the service. Use an OS keyring or the
|
|
111
|
+
explicit encrypted-file backend for supported local credentials; preserve the
|
|
112
|
+
external encryption key securely. See the
|
|
113
|
+
[security guide](https://socialcli.app/security.html) and
|
|
114
|
+
[privacy policy](https://socialcli.app/privacy.html).
|
|
115
|
+
|
|
116
|
+
The source repository is private. Customers install the public client package;
|
|
117
|
+
GitHub access is not required. The hosted server is excluded from this package.
|
|
118
|
+
SocialCli uses a proprietary license owned by Florentino.pro; see the included
|
|
119
|
+
`LICENSE`. `LICENSE-MIT-LEGACY` preserves notices for earlier MIT-covered code.
|
|
120
|
+
|
|
121
|
+
Support: [admin@socialcli.app](mailto:admin@socialcli.app).
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "socialcli"
|
|
3
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.7"
|
|
4
4
|
description = "SocialCli: publish and manage creator-owned social content from the terminal."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "LicenseRef-SocialCli-Proprietary"
|
|
7
7
|
license-files = ["LICENSE", "LICENSE-MIT-LEGACY"]
|
|
8
8
|
requires-python = ">=3.11"
|
|
9
9
|
dependencies = [
|
|
10
|
+
"certifi>=2026.10.19",
|
|
10
11
|
"httpx>=0.28.1",
|
|
11
12
|
"keyring>=25.0",
|
|
12
13
|
"pydantic>=2.13.5",
|
|
@@ -15,8 +16,8 @@ dependencies = [
|
|
|
15
16
|
]
|
|
16
17
|
|
|
17
18
|
[project.scripts]
|
|
18
|
-
socialcli = "socialctl.
|
|
19
|
-
socialctl = "socialctl.
|
|
19
|
+
socialcli = "socialctl.entrypoint:main"
|
|
20
|
+
socialctl = "socialctl.entrypoint:main"
|
|
20
21
|
|
|
21
22
|
[project.urls]
|
|
22
23
|
Homepage = "https://socialcli.app"
|
|
@@ -27,12 +28,17 @@ Terms = "https://socialcli.app/terms.html"
|
|
|
27
28
|
headless-credentials = ["cryptography>=43"]
|
|
28
29
|
|
|
29
30
|
[dependency-groups]
|
|
31
|
+
server = ["cryptography>=43", "fastapi>=0.115", "uvicorn>=0.30", "opentelemetry-api>=1.45.1"]
|
|
30
32
|
dev = [
|
|
31
33
|
"cryptography>=43",
|
|
32
34
|
"fastapi>=0.115",
|
|
33
35
|
"pytest>=9.1.1",
|
|
36
|
+
"jsonschema>=4.26.0",
|
|
34
37
|
"respx>=0.23.1",
|
|
35
38
|
]
|
|
39
|
+
browser-tests = [
|
|
40
|
+
"playwright>=1.56,<2",
|
|
41
|
+
]
|
|
36
42
|
|
|
37
43
|
[build-system]
|
|
38
44
|
requires = ["hatchling>=1.27"]
|
|
@@ -44,17 +50,25 @@ build-backend = "hatchling.build"
|
|
|
44
50
|
only-include = [
|
|
45
51
|
"socialctl/__init__.py",
|
|
46
52
|
"socialctl/__main__.py",
|
|
53
|
+
"socialctl/adapters",
|
|
47
54
|
"socialctl/agent_errors.py",
|
|
48
55
|
"socialctl/agent_guide.py",
|
|
56
|
+
"socialctl/agent_journey.py",
|
|
49
57
|
"socialctl/approval_cli.py",
|
|
50
58
|
"socialctl/auth.py",
|
|
51
59
|
"socialctl/authflow.py",
|
|
52
60
|
"socialctl/brands.py",
|
|
53
61
|
"socialctl/capabilities.py",
|
|
62
|
+
"socialctl/capabilities.yml",
|
|
54
63
|
"socialctl/cli.py",
|
|
64
|
+
"socialctl/cli_result.py",
|
|
65
|
+
"socialctl/connections",
|
|
66
|
+
"socialctl/context.py",
|
|
67
|
+
"socialctl/context_cli.py",
|
|
55
68
|
"socialctl/delivery_options.py",
|
|
56
69
|
"socialctl/engagement.py",
|
|
57
70
|
"socialctl/engagement_cli.py",
|
|
71
|
+
"socialctl/entrypoint.py",
|
|
58
72
|
"socialctl/executor.py",
|
|
59
73
|
"socialctl/formatter.py",
|
|
60
74
|
"socialctl/hosted_media.py",
|
|
@@ -64,25 +78,33 @@ only-include = [
|
|
|
64
78
|
"socialctl/inventory.py",
|
|
65
79
|
"socialctl/inventory_cli.py",
|
|
66
80
|
"socialctl/inventory_sources.py",
|
|
81
|
+
"socialctl/management",
|
|
67
82
|
"socialctl/media.py",
|
|
68
83
|
"socialctl/media_cli.py",
|
|
69
84
|
"socialctl/media_ingress.py",
|
|
70
85
|
"socialctl/media_preflight.py",
|
|
71
86
|
"socialctl/media_registry.py",
|
|
72
87
|
"socialctl/media_requirements.py",
|
|
88
|
+
"socialctl/metricas",
|
|
73
89
|
"socialctl/migration_cli.py",
|
|
74
90
|
"socialctl/migration_files.py",
|
|
75
91
|
"socialctl/models.py",
|
|
92
|
+
"socialctl/native_schedule",
|
|
76
93
|
"socialctl/operation_output.py",
|
|
94
|
+
"socialctl/plantillas",
|
|
77
95
|
"socialctl/postfile.py",
|
|
78
96
|
"socialctl/preflight.py",
|
|
97
|
+
"socialctl/public_availability.py",
|
|
98
|
+
"socialctl/publication_approval.py",
|
|
79
99
|
"socialctl/publication_policy.py",
|
|
80
100
|
"socialctl/publication_status.py",
|
|
81
101
|
"socialctl/publication_steps.py",
|
|
82
102
|
"socialctl/publish_output.py",
|
|
83
103
|
"socialctl/publisher.py",
|
|
104
|
+
"socialctl/qa",
|
|
84
105
|
"socialctl/queue_migration.py",
|
|
85
106
|
"socialctl/read_budget.py",
|
|
107
|
+
"socialctl/read_checkpoints.py",
|
|
86
108
|
"socialctl/read_reports.py",
|
|
87
109
|
"socialctl/rutas.py",
|
|
88
110
|
"socialctl/schedule_remote.py",
|
|
@@ -91,20 +113,16 @@ only-include = [
|
|
|
91
113
|
"socialctl/scheduler_launchd.py",
|
|
92
114
|
"socialctl/scheduler_systemd.py",
|
|
93
115
|
"socialctl/source_links.py",
|
|
116
|
+
"socialctl/ui/__init__.py",
|
|
117
|
+
"socialctl/ui/assets/agent-actions.json",
|
|
118
|
+
"socialctl/ui/assets/agent-manual.md",
|
|
119
|
+
"socialctl/ui/assets/agent-journey.json",
|
|
120
|
+
"socialctl/ui/assets/agents.md",
|
|
121
|
+
"socialctl/ui/assets/cli-result.schema.json",
|
|
94
122
|
"socialctl/upload_consent.py",
|
|
95
123
|
"socialctl/workspace.py",
|
|
96
124
|
"socialctl/youtube_data.py",
|
|
97
|
-
"socialctl/youtube_data_service.py"
|
|
98
|
-
"socialctl/adapters",
|
|
99
|
-
"socialctl/connections",
|
|
100
|
-
"socialctl/management",
|
|
101
|
-
"socialctl/metricas",
|
|
102
|
-
"socialctl/native_schedule",
|
|
103
|
-
"socialctl/plantillas",
|
|
104
|
-
"socialctl/capabilities.yml",
|
|
105
|
-
"socialctl/ui/__init__.py",
|
|
106
|
-
"socialctl/ui/assets/agents.md",
|
|
107
|
-
"socialctl/ui/assets/agent-manual.md"
|
|
125
|
+
"socialctl/youtube_data_service.py"
|
|
108
126
|
]
|
|
109
127
|
exclude = ["**/.env", "**/.env.*", "**/*.env", "**/.secrets/**", "**/__pycache__/**", "**/*.pyc", "**/*.key", "**/*.pem", "**/*.sqlite3*"]
|
|
110
128
|
|
|
@@ -115,17 +133,25 @@ dev-mode-dirs = ["."]
|
|
|
115
133
|
only-include = [
|
|
116
134
|
"socialctl/__init__.py",
|
|
117
135
|
"socialctl/__main__.py",
|
|
136
|
+
"socialctl/adapters",
|
|
118
137
|
"socialctl/agent_errors.py",
|
|
119
138
|
"socialctl/agent_guide.py",
|
|
139
|
+
"socialctl/agent_journey.py",
|
|
120
140
|
"socialctl/approval_cli.py",
|
|
121
141
|
"socialctl/auth.py",
|
|
122
142
|
"socialctl/authflow.py",
|
|
123
143
|
"socialctl/brands.py",
|
|
124
144
|
"socialctl/capabilities.py",
|
|
145
|
+
"socialctl/capabilities.yml",
|
|
125
146
|
"socialctl/cli.py",
|
|
147
|
+
"socialctl/cli_result.py",
|
|
148
|
+
"socialctl/connections",
|
|
149
|
+
"socialctl/context.py",
|
|
150
|
+
"socialctl/context_cli.py",
|
|
126
151
|
"socialctl/delivery_options.py",
|
|
127
152
|
"socialctl/engagement.py",
|
|
128
153
|
"socialctl/engagement_cli.py",
|
|
154
|
+
"socialctl/entrypoint.py",
|
|
129
155
|
"socialctl/executor.py",
|
|
130
156
|
"socialctl/formatter.py",
|
|
131
157
|
"socialctl/hosted_media.py",
|
|
@@ -135,25 +161,33 @@ only-include = [
|
|
|
135
161
|
"socialctl/inventory.py",
|
|
136
162
|
"socialctl/inventory_cli.py",
|
|
137
163
|
"socialctl/inventory_sources.py",
|
|
164
|
+
"socialctl/management",
|
|
138
165
|
"socialctl/media.py",
|
|
139
166
|
"socialctl/media_cli.py",
|
|
140
167
|
"socialctl/media_ingress.py",
|
|
141
168
|
"socialctl/media_preflight.py",
|
|
142
169
|
"socialctl/media_registry.py",
|
|
143
170
|
"socialctl/media_requirements.py",
|
|
171
|
+
"socialctl/metricas",
|
|
144
172
|
"socialctl/migration_cli.py",
|
|
145
173
|
"socialctl/migration_files.py",
|
|
146
174
|
"socialctl/models.py",
|
|
175
|
+
"socialctl/native_schedule",
|
|
147
176
|
"socialctl/operation_output.py",
|
|
177
|
+
"socialctl/plantillas",
|
|
148
178
|
"socialctl/postfile.py",
|
|
149
179
|
"socialctl/preflight.py",
|
|
180
|
+
"socialctl/public_availability.py",
|
|
181
|
+
"socialctl/publication_approval.py",
|
|
150
182
|
"socialctl/publication_policy.py",
|
|
151
183
|
"socialctl/publication_status.py",
|
|
152
184
|
"socialctl/publication_steps.py",
|
|
153
185
|
"socialctl/publish_output.py",
|
|
154
186
|
"socialctl/publisher.py",
|
|
187
|
+
"socialctl/qa",
|
|
155
188
|
"socialctl/queue_migration.py",
|
|
156
189
|
"socialctl/read_budget.py",
|
|
190
|
+
"socialctl/read_checkpoints.py",
|
|
157
191
|
"socialctl/read_reports.py",
|
|
158
192
|
"socialctl/rutas.py",
|
|
159
193
|
"socialctl/schedule_remote.py",
|
|
@@ -162,20 +196,16 @@ only-include = [
|
|
|
162
196
|
"socialctl/scheduler_launchd.py",
|
|
163
197
|
"socialctl/scheduler_systemd.py",
|
|
164
198
|
"socialctl/source_links.py",
|
|
199
|
+
"socialctl/ui/__init__.py",
|
|
200
|
+
"socialctl/ui/assets/agent-actions.json",
|
|
201
|
+
"socialctl/ui/assets/agent-manual.md",
|
|
202
|
+
"socialctl/ui/assets/agent-journey.json",
|
|
203
|
+
"socialctl/ui/assets/agents.md",
|
|
204
|
+
"socialctl/ui/assets/cli-result.schema.json",
|
|
165
205
|
"socialctl/upload_consent.py",
|
|
166
206
|
"socialctl/workspace.py",
|
|
167
207
|
"socialctl/youtube_data.py",
|
|
168
208
|
"socialctl/youtube_data_service.py",
|
|
169
|
-
"socialctl/adapters",
|
|
170
|
-
"socialctl/connections",
|
|
171
|
-
"socialctl/management",
|
|
172
|
-
"socialctl/metricas",
|
|
173
|
-
"socialctl/native_schedule",
|
|
174
|
-
"socialctl/plantillas",
|
|
175
|
-
"socialctl/capabilities.yml",
|
|
176
|
-
"socialctl/ui/__init__.py",
|
|
177
|
-
"socialctl/ui/assets/agents.md",
|
|
178
|
-
"socialctl/ui/assets/agent-manual.md",
|
|
179
209
|
"pyproject.toml",
|
|
180
210
|
"README.md",
|
|
181
211
|
"LICENSE",
|
|
@@ -40,6 +40,9 @@ class YouTubeAdapter(Adapter):
|
|
|
40
40
|
|
|
41
41
|
platform = Platform.YOUTUBE
|
|
42
42
|
|
|
43
|
+
def __init__(self, *, on_created=None):
|
|
44
|
+
self.on_created = on_created
|
|
45
|
+
|
|
43
46
|
def publish(self, post: PlatformPost, brand: Brand, client: httpx.Client) -> PostResult:
|
|
44
47
|
'Publish a validated post; convert every failure to an error PostResult.'
|
|
45
48
|
spec = PLATFORM_SPECS[self.platform]
|
|
@@ -216,6 +219,8 @@ class YouTubeAdapter(Adapter):
|
|
|
216
219
|
if not isinstance(video_id, str) or not video_id:
|
|
217
220
|
return self._error('YouTube returned an invalid video ID after the upload')
|
|
218
221
|
|
|
222
|
+
if self.on_created is not None:
|
|
223
|
+
self.on_created(video_id) # Durable caller receipt before optional readback.
|
|
219
224
|
result = PostResult(
|
|
220
225
|
platform=self.platform,
|
|
221
226
|
status=PostStatus.PUBLICADO,
|