socialcli 0.3.8__tar.gz → 0.3.11__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.8 → socialcli-0.3.11}/PKG-INFO +5 -2
- {socialcli-0.3.8 → socialcli-0.3.11}/README.md +4 -1
- {socialcli-0.3.8 → socialcli-0.3.11}/pyproject.toml +10 -1
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/adapters/youtube.py +11 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/agent_errors.py +27 -2
- socialcli-0.3.11/socialctl/agent_recovery.py +162 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/capabilities.yml +230 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/cli.py +56 -42
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/cli_result.py +37 -2
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/entrypoint.py +76 -5
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/identity.py +8 -1
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/inbox.py +16 -3
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/inbox_cli.py +13 -11
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/inventory_cli.py +12 -3
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/batches.py +9 -6
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/changes.py +13 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/cli.py +36 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/community_batch_cli.py +2 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/community_cli.py +2 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/owned_changes.py +35 -2
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/owned_cli.py +2 -0
- socialcli-0.3.11/socialctl/management/proposal_routes.py +188 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/resource_cli.py +6 -0
- socialcli-0.3.11/socialctl/management/snapshot_diagnostics.py +53 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/youtube.py +1 -1
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/youtube_metadata.py +26 -2
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/insights.py +5 -2
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/youtube.py +19 -5
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/models.py +10 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/approval.py +3 -1
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/cli.py +68 -4
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/first_comment.py +1 -0
- socialcli-0.3.11/socialctl/native_schedule/planner.py +158 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/preflight.py +81 -9
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/report.py +1 -1
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/operation_output.py +12 -0
- socialcli-0.3.11/socialctl/post_cli.py +108 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/postfile.py +2 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/preflight.py +17 -0
- socialcli-0.3.11/socialctl/preview_exports.py +305 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/publication_steps.py +6 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/publisher.py +5 -1
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/qa/backend.py +1 -1
- socialcli-0.3.11/socialctl/read_budget.py +380 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/read_checkpoints.py +56 -2
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/scheduler.py +1 -1
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/ui/assets/agent-actions.json +2979 -9
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/ui/assets/agent-journey.json +84 -5
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/ui/assets/agent-manual.md +48 -7
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/ui/assets/agents.md +4 -4
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/ui/assets/cli-result.schema.json +20 -2
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/youtube_data.py +7 -0
- socialcli-0.3.8/socialctl/read_budget.py +0 -225
- {socialcli-0.3.8 → socialcli-0.3.11}/.gitignore +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/LICENSE +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/LICENSE-MIT-LEGACY +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/__init__.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/__main__.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/adapters/__init__.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/adapters/base.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/adapters/errores.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/adapters/facebook.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/adapters/instagram.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/adapters/tiktok.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/agent_guide.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/agent_journey.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/approval_cli.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/auth.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/authflow.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/brands.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/capabilities.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/connections/__init__.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/connections/account_cli.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/connections/cli.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/connections/client.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/connections/credential_cli.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/connections/credential_store.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/connections/file_store.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/connections/http_transport.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/connections/keychain.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/connections/meta_user.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/connections/rotation_cli.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/connections/saas_client.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/connections/temporary_media.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/connections/token_requests.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/context.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/context_cli.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/delivery_options.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/engagement.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/engagement_cli.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/executor.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/formatter.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/hosted_media.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/inventory.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/inventory_sources.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/__init__.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/batch_cli.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/comments_cli.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/community_batches.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/community_changes.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/community_schema.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/facebook_groups.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/groups_cli.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/inbox_readers.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/meta_changes.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/meta_cli.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/meta_client.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/meta_comment_inbox.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/meta_comments.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/meta_errors.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/meta_pagination.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/meta_schema.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/meta_webhooks.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/metadata_parts.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/owned_assets.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/owned_reorder.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/owned_schema.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/reply_context.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/reply_evidence.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/resource_changes.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/snippet_readback.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/stories.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/stories_cli.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/youtube_community.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/youtube_owned.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/management/youtube_resources.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/media.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/media_cli.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/media_ingress.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/media_preflight.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/media_registry.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/media_requirements.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/__init__.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/almacen.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/analytics_changes.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/analytics_cli.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/analytics_client.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/analytics_ingest.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/analytics_schema.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/base.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/facebook.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/instagram.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/modelos.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/piezas.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/reach.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/reporting_client.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/resumen.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/slugs.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/metricas/tiktok.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/migration_cli.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/migration_files.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/__init__.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/api_delivery.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/api_reconcile.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/attestations.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/cadence.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/dispatcher.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/facebook.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/facebook_reels.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/handoff.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/instagram_delivery.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/instagram_runtime.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/inventory.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/migration.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/models.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/preparation.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/reconcile.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/remote_data.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/store.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/verification.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/native_schedule/youtube.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/plantillas/accounts.yml +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/plantillas/brand.md +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/plantillas/estrategia.md +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/public_availability.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/publication_approval.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/publication_policy.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/publication_status.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/publish_output.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/qa/__init__.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/qa/cli.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/qa/guard.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/qa/models.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/qa/runner.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/qa/store.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/qa/transport.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/queue_migration.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/read_reports.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/rutas.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/schedule_remote.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/schedule_sqlite.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/scheduler_launchd.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/scheduler_systemd.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/source_links.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/ui/__init__.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/upload_consent.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/workspace.py +0 -0
- {socialcli-0.3.8 → socialcli-0.3.11}/socialctl/youtube_data_service.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: socialcli
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.11
|
|
4
4
|
Summary: SocialCli: publish and manage creator-owned social content from the terminal.
|
|
5
5
|
Project-URL: Homepage, https://socialcli.app
|
|
6
6
|
Project-URL: Documentation, https://socialcli.app/ai-agents.html
|
|
@@ -41,7 +41,10 @@ Copy this line into your AI assistant:
|
|
|
41
41
|
> Install SocialCli https://socialcli.app/agents
|
|
42
42
|
|
|
43
43
|
The live installation instructions identify the verified published release and
|
|
44
|
-
its SHA-256.
|
|
44
|
+
its SHA-256. Workflow recipes for draft creation, route planning and preview
|
|
45
|
+
export require installed client 0.3.11 or later. Check registry publication
|
|
46
|
+
separately; use the published bootstrap and installed help.
|
|
47
|
+
Your assistant checks the downloaded wheel, installs it in an
|
|
45
48
|
isolated environment and verifies the active executable with
|
|
46
49
|
`socialcli --version`. The version of this distribution is listed in its package
|
|
47
50
|
metadata above; the website provides current installation and availability
|
|
@@ -20,7 +20,10 @@ Copy this line into your AI assistant:
|
|
|
20
20
|
> Install SocialCli https://socialcli.app/agents
|
|
21
21
|
|
|
22
22
|
The live installation instructions identify the verified published release and
|
|
23
|
-
its SHA-256.
|
|
23
|
+
its SHA-256. Workflow recipes for draft creation, route planning and preview
|
|
24
|
+
export require installed client 0.3.11 or later. Check registry publication
|
|
25
|
+
separately; use the published bootstrap and installed help.
|
|
26
|
+
Your assistant checks the downloaded wheel, installs it in an
|
|
24
27
|
isolated environment and verifies the active executable with
|
|
25
28
|
`socialcli --version`. The version of this distribution is listed in its package
|
|
26
29
|
metadata above; the website provides current installation and availability
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "socialcli"
|
|
3
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.11"
|
|
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"
|
|
@@ -52,6 +52,7 @@ only-include = [
|
|
|
52
52
|
"socialctl/__main__.py",
|
|
53
53
|
"socialctl/adapters",
|
|
54
54
|
"socialctl/agent_errors.py",
|
|
55
|
+
"socialctl/agent_recovery.py",
|
|
55
56
|
"socialctl/agent_guide.py",
|
|
56
57
|
"socialctl/agent_journey.py",
|
|
57
58
|
"socialctl/approval_cli.py",
|
|
@@ -62,6 +63,7 @@ only-include = [
|
|
|
62
63
|
"socialctl/capabilities.yml",
|
|
63
64
|
"socialctl/cli.py",
|
|
64
65
|
"socialctl/cli_result.py",
|
|
66
|
+
"socialctl/preview_exports.py",
|
|
65
67
|
"socialctl/connections",
|
|
66
68
|
"socialctl/context.py",
|
|
67
69
|
"socialctl/context_cli.py",
|
|
@@ -93,6 +95,7 @@ only-include = [
|
|
|
93
95
|
"socialctl/operation_output.py",
|
|
94
96
|
"socialctl/plantillas",
|
|
95
97
|
"socialctl/postfile.py",
|
|
98
|
+
"socialctl/post_cli.py",
|
|
96
99
|
"socialctl/preflight.py",
|
|
97
100
|
"socialctl/public_availability.py",
|
|
98
101
|
"socialctl/publication_approval.py",
|
|
@@ -135,6 +138,7 @@ only-include = [
|
|
|
135
138
|
"socialctl/__main__.py",
|
|
136
139
|
"socialctl/adapters",
|
|
137
140
|
"socialctl/agent_errors.py",
|
|
141
|
+
"socialctl/agent_recovery.py",
|
|
138
142
|
"socialctl/agent_guide.py",
|
|
139
143
|
"socialctl/agent_journey.py",
|
|
140
144
|
"socialctl/approval_cli.py",
|
|
@@ -145,6 +149,7 @@ only-include = [
|
|
|
145
149
|
"socialctl/capabilities.yml",
|
|
146
150
|
"socialctl/cli.py",
|
|
147
151
|
"socialctl/cli_result.py",
|
|
152
|
+
"socialctl/preview_exports.py",
|
|
148
153
|
"socialctl/connections",
|
|
149
154
|
"socialctl/context.py",
|
|
150
155
|
"socialctl/context_cli.py",
|
|
@@ -176,6 +181,7 @@ only-include = [
|
|
|
176
181
|
"socialctl/operation_output.py",
|
|
177
182
|
"socialctl/plantillas",
|
|
178
183
|
"socialctl/postfile.py",
|
|
184
|
+
"socialctl/post_cli.py",
|
|
179
185
|
"socialctl/preflight.py",
|
|
180
186
|
"socialctl/public_availability.py",
|
|
181
187
|
"socialctl/publication_approval.py",
|
|
@@ -211,3 +217,6 @@ only-include = [
|
|
|
211
217
|
"LICENSE",
|
|
212
218
|
"LICENSE-MIT-LEGACY"
|
|
213
219
|
]
|
|
220
|
+
|
|
221
|
+
[tool.pytest.ini_options]
|
|
222
|
+
testpaths = ["tests"]
|
|
@@ -43,8 +43,16 @@ class YouTubeAdapter(Adapter):
|
|
|
43
43
|
def __init__(self, *, on_created=None):
|
|
44
44
|
self.on_created = on_created
|
|
45
45
|
|
|
46
|
+
def validate(self, post, brand):
|
|
47
|
+
from socialctl.preflight import youtube_input_errors
|
|
48
|
+
return super().validate(post, brand) + youtube_input_errors(post)
|
|
49
|
+
|
|
46
50
|
def publish(self, post: PlatformPost, brand: Brand, client: httpx.Client) -> PostResult:
|
|
47
51
|
'Publish a validated post; convert every failure to an error PostResult.'
|
|
52
|
+
from socialctl.preflight import youtube_input_errors
|
|
53
|
+
input_errors = youtube_input_errors(post)
|
|
54
|
+
if input_errors:
|
|
55
|
+
return self._error('; '.join(error.motivo for error in input_errors))
|
|
48
56
|
spec = PLATFORM_SPECS[self.platform]
|
|
49
57
|
if len(post.media) > spec.max_media:
|
|
50
58
|
return self._error(
|
|
@@ -117,6 +125,9 @@ class YouTubeAdapter(Adapter):
|
|
|
117
125
|
"status": {"privacyStatus": requested_privacy},
|
|
118
126
|
}
|
|
119
127
|
|
|
128
|
+
if post.self_declared_made_for_kids is not None:
|
|
129
|
+
metadatos["status"]["selfDeclaredMadeForKids"] = post.self_declared_made_for_kids
|
|
130
|
+
|
|
120
131
|
try:
|
|
121
132
|
inicio = client.post(
|
|
122
133
|
URL_UPLOAD,
|
|
@@ -32,6 +32,13 @@ _ACTIONS = {
|
|
|
32
32
|
# Only fixed internal codes acquire action semantics. Provider text is diagnostic,
|
|
33
33
|
# never a command, an expiry signal or evidence that a write was not accepted.
|
|
34
34
|
_CATALOG = {
|
|
35
|
+
'proposal_route_mismatch': ('correct_input', 'Use the validated proposal owner route; inspect operation state and use read-only recovery for an existing attempt. No write was started.'),
|
|
36
|
+
'proposal_observation_unknown': ('inspect', 'The original observation age is unknown for this saved proposal; preserve it. Export cannot assign a new age or certify freshness.'),
|
|
37
|
+
'proposal_missing': ('inspect', 'No saved proposal with this ID exists in the selected brand storage. No provider request was sent.'),
|
|
38
|
+
'proposal_invalid': ('inspect', 'The local proposal is invalid; preserve it and inspect the selected brand storage.'),
|
|
39
|
+
'proposal_unreadable': ('inspect', 'The local proposal is unreadable; preserve it and inspect the selected brand storage.'),
|
|
40
|
+
'proposal_expired': ('inspect', 'The local proposal has expired or purged API data; preserve its replay guard. Do not apply it.'),
|
|
41
|
+
'proposal_ambiguous': ('inspect', 'More than one validated proposal owns this ID; inspect the selected brand storage. No write was started.'),
|
|
35
42
|
'executor_stale': ('inspect', 'The configured executor health report is stale. Inspect the executor; this does not establish an account connection failure.'),
|
|
36
43
|
'resume_invalid': ('correct_input', 'Use the opaque local reference returned by this read; preserve invalid state for inspection.'),
|
|
37
44
|
'resume_expired': ('adjust_read', 'This local read reference expired or was purged; begin a new bounded read.'),
|
|
@@ -201,6 +208,15 @@ def error_document(exc: BaseException, *, read_only: bool) -> dict:
|
|
|
201
208
|
diagnostic.update(http_status=exc.response.status_code, request_method=exc.request.method)
|
|
202
209
|
if diagnostic:
|
|
203
210
|
result['diagnostic'] = safe_diagnostic(diagnostic)
|
|
211
|
+
result['stage'] = diagnostic.get('stage', 'execute')
|
|
212
|
+
result['reason'] = diagnostic.get('reason', result['code'])
|
|
213
|
+
result['write_state'] = diagnostic.get('write_state', 'unknown')
|
|
214
|
+
from socialctl.management.proposal_routes import ProposalRouteError
|
|
215
|
+
if isinstance(exc, ProposalRouteError):
|
|
216
|
+
from socialctl.agent_recovery import proposal_options
|
|
217
|
+
options = proposal_options(exc.recovery)
|
|
218
|
+
if options:
|
|
219
|
+
result['next_steps'] = options
|
|
204
220
|
return result
|
|
205
221
|
|
|
206
222
|
|
|
@@ -210,16 +226,25 @@ def safe_diagnostic(value):
|
|
|
210
226
|
return {}
|
|
211
227
|
allowed = {
|
|
212
228
|
'source': {'local', 'socialcli', 'youtube'},
|
|
213
|
-
'stage': {'input_validation', 'workspace_read', 'file_read', 'credential_read', 'identity_read', 'provider_read', 'provider_write', 'target_read', 'reply_coverage', 'proposal_preparation', 'baseline_check', 'readback', 'executor'},
|
|
229
|
+
'stage': {'input_validation', 'workspace_read', 'file_read', 'credential_read', 'identity_read', 'provider_read', 'provider_write', 'target_read', 'reply_coverage', 'proposal_preparation', 'proposal_selection', 'baseline_check', 'readback', 'executor'},
|
|
214
230
|
'request_method': {'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE'},
|
|
215
231
|
'operation': {'channels', 'videos', 'comments', 'commentThreads', 'playlistItems', 'reports'},
|
|
216
232
|
'write_state': {'not_started', 'unknown', 'accepted'},
|
|
217
233
|
'content_write_state': {'not_started'},
|
|
218
|
-
'reason': {'thread_unverifiable', 'thread_identity_mismatch', 'thread_total_unverifiable', 'comment_binding_mismatch', 'parent_mismatch', 'replies_not_allowed', 'incomplete_reply_list', 'readback_mismatch'},
|
|
234
|
+
'reason': {'owned_baseline_changed', 'thread_unverifiable', 'thread_identity_mismatch', 'thread_total_unverifiable', 'comment_binding_mismatch', 'parent_mismatch', 'replies_not_allowed', 'incomplete_reply_list', 'readback_mismatch'},
|
|
219
235
|
'provider_reason': {'playlistNotFound', 'playlistItemNotFound', 'playlistItemsNotAccessible', 'commentsDisabled', 'quotaExceeded', 'dailyLimitExceeded', 'rateLimitExceeded', 'userRateLimitExceeded', 'insufficientPermissions', 'forbidden', 'authError', 'invalidValue', 'videoNotFound', 'commentNotFound', 'commentThreadNotFound', 'processingFailure', 'operationNotSupported', 'accessNotConfigured', 'serviceDisabled', 'backendError'},
|
|
220
236
|
}
|
|
221
237
|
clean = {key: val for key, val in value.items()
|
|
222
238
|
if key in allowed and isinstance(val, str) and val in allowed[key]}
|
|
239
|
+
from socialctl.management.proposal_routes import APPLY_ROUTES, RECOVERY_ROUTES, PROPOSAL_KINDS, OPERATION_STATUSES
|
|
240
|
+
for key, routes in (('requested_route', APPLY_ROUTES), ('apply_route', APPLY_ROUTES), ('recovery_route', RECOVERY_ROUTES)):
|
|
241
|
+
route = value.get(key)
|
|
242
|
+
if isinstance(route, list) and all(isinstance(part, str) for part in route) and tuple(route) in routes:
|
|
243
|
+
clean[key] = list(route)
|
|
244
|
+
if isinstance(value.get('proposal_kind'), str) and value['proposal_kind'] in PROPOSAL_KINDS:
|
|
245
|
+
clean['proposal_kind'] = value['proposal_kind']
|
|
246
|
+
if isinstance(value.get('operation_status'), str) and value['operation_status'] in OPERATION_STATUSES:
|
|
247
|
+
clean['operation_status'] = value['operation_status']
|
|
223
248
|
status = value.get('http_status')
|
|
224
249
|
if type(status) is int and 100 <= status <= 599:
|
|
225
250
|
clean['http_status'] = status
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
"""Data-only recovery options built from validated local context.
|
|
2
|
+
|
|
3
|
+
An option is neither approval nor an instruction to execute. Provider prose and
|
|
4
|
+
saved shell strings never supply a command path or flags.
|
|
5
|
+
"""
|
|
6
|
+
from __future__ import annotations
|
|
7
|
+
|
|
8
|
+
from dataclasses import dataclass
|
|
9
|
+
from pathlib import Path
|
|
10
|
+
import re
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def command_option(argv: list[str], *, effect: str, approval_required: bool) -> dict:
|
|
14
|
+
if (effect not in {'read', 'prepare', 'write', 'local_export'} or not isinstance(argv, list)
|
|
15
|
+
or not argv or any(not isinstance(v, str) or not v or '\x00' in v for v in argv)
|
|
16
|
+
or type(approval_required) is not bool):
|
|
17
|
+
raise ValueError('Invalid local command option')
|
|
18
|
+
return {'kind':'command_option', 'argv':list(argv), 'effect':effect,
|
|
19
|
+
'approval_required':approval_required, 'automatic':False, 'source':'local_cli'}
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def _context(brand, root):
|
|
23
|
+
from socialctl.rutas import validar_componente_de_ruta
|
|
24
|
+
try:
|
|
25
|
+
root = Path(root)
|
|
26
|
+
if (not root.is_absolute() or '\x00' in str(root) or not isinstance(brand, str)
|
|
27
|
+
or brand.startswith('-') or any(not c.isprintable() for c in brand)):
|
|
28
|
+
return None
|
|
29
|
+
validar_componente_de_ruta(root, brand, ValueError, 'brand')
|
|
30
|
+
return ['--brand', brand, '--root', str(root), '--json', '--json-version', '2']
|
|
31
|
+
except (TypeError, ValueError, OSError, RuntimeError):
|
|
32
|
+
return None
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def read_options(brand: str, root: Path, *, query: dict, missing_video_ids: list[str],
|
|
36
|
+
continuation_available: bool, reference: str | None) -> list[dict]:
|
|
37
|
+
from socialctl.read_checkpoints import validate_stats_query
|
|
38
|
+
context = _context(brand, root)
|
|
39
|
+
query = validate_stats_query(query)
|
|
40
|
+
if context is None or query is None or type(continuation_available) is not bool:
|
|
41
|
+
return []
|
|
42
|
+
if continuation_available:
|
|
43
|
+
if not isinstance(reference, str) or not re.fullmatch(r'read-[a-f0-9]{32}', reference):
|
|
44
|
+
return []
|
|
45
|
+
return [{**command_option(['socialcli','stats','--resume',reference,'--timeout','300',*context],
|
|
46
|
+
effect='read', approval_required=False),
|
|
47
|
+
'scope':'recorded_read',
|
|
48
|
+
'description':'Continuation of the recorded read; retained observations keep their original age.'}]
|
|
49
|
+
options = []
|
|
50
|
+
for identifier in dict.fromkeys(v for v in missing_video_ids if isinstance(v, str)):
|
|
51
|
+
if not re.fullmatch(r'[A-Za-z0-9_][A-Za-z0-9_-]{0,127}', identifier):
|
|
52
|
+
continue
|
|
53
|
+
options.append({**command_option(['socialcli','content','show',identifier,*context],
|
|
54
|
+
effect='read', approval_required=False),
|
|
55
|
+
'scope':'metadata_only',
|
|
56
|
+
'description':'Metadata only; enrichment and current availability remain unknown until observed.'})
|
|
57
|
+
argv = ['socialcli','stats','--only','youtube','--timeout','300']
|
|
58
|
+
if query['since'] is not None:
|
|
59
|
+
argv += ['--since',query['since']]
|
|
60
|
+
options.append({**command_option([*argv,*context], effect='read', approval_required=False),
|
|
61
|
+
'scope':'fresh_read', 'publication_date_filter':query['since'],
|
|
62
|
+
'description':'Fresh YouTube enrichment read; not selective continuation or guaranteed completeness. '
|
|
63
|
+
'--since retains the publication-date filter, not the metrics period.'})
|
|
64
|
+
return options
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
@dataclass(frozen=True)
|
|
68
|
+
class ProposalRecoveryContext:
|
|
69
|
+
"""Local selection context, attached only by the proposal route guard."""
|
|
70
|
+
brand_root: Path
|
|
71
|
+
proposal_id: str
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
def proposal_options(context: ProposalRecoveryContext) -> list[dict]:
|
|
75
|
+
from socialctl.management.proposal_routes import locate_proposal
|
|
76
|
+
if not isinstance(context, ProposalRecoveryContext):
|
|
77
|
+
return []
|
|
78
|
+
root = Path(context.brand_root)
|
|
79
|
+
suffix = _context(root.name, root.parent)
|
|
80
|
+
if suffix is None:
|
|
81
|
+
return []
|
|
82
|
+
found = locate_proposal(root, context.proposal_id)
|
|
83
|
+
if found['state'] != 'recognized':
|
|
84
|
+
return []
|
|
85
|
+
pending = found['operation_status'] in {'proposed', 'pending'}
|
|
86
|
+
path = found['apply_path'] if pending else found['recovery_path']
|
|
87
|
+
return [command_option(['socialcli',*path,context.proposal_id,*suffix],
|
|
88
|
+
effect='write' if pending else 'read', approval_required=pending)]
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
def _metadata_conflict_evidence(journal: list[dict]) -> dict:
|
|
92
|
+
"""Project fixed journal facts, never infer dispatch from conflict status."""
|
|
93
|
+
events = [row for row in journal if isinstance(row, dict)]
|
|
94
|
+
latest = events[-1] if events else {}
|
|
95
|
+
# Only a recorded HTTP classification establishes rejection. Today's 412
|
|
96
|
+
# path may save just etag_conflict; that legacy absence remains unknown.
|
|
97
|
+
if latest.get('event') == 'etag_conflict' and latest.get('http_status') == '412':
|
|
98
|
+
return {'stage':'provider_write', 'reason':'conditional_request_rejected',
|
|
99
|
+
'write_state':'rejected', 'http_status':412,
|
|
100
|
+
'message':'The conditional metadata PUT was rejected with HTTP 412.'}
|
|
101
|
+
if any(row.get('event') == 'write_intent' for row in events):
|
|
102
|
+
return {'stage':'write_intent', 'reason':'conflict_after_write_intent',
|
|
103
|
+
'write_state':'unknown',
|
|
104
|
+
'message':'A metadata conflict follows durable write intent; the recorded evidence does not establish its dispatch outcome.'}
|
|
105
|
+
if (latest.get('event') == 'observed_state_changed'
|
|
106
|
+
and not any(row.get('event') in {'etag_conflict', 'write_uncertain', 'write_rejected'}
|
|
107
|
+
or str(row.get('event', '')).startswith('read_back_') for row in events)):
|
|
108
|
+
return {'stage':'baseline_check', 'reason':'remote_state_changed',
|
|
109
|
+
'write_state':'not_started',
|
|
110
|
+
'message':'The approved metadata baseline changed before write intent; this operation sent no write.'}
|
|
111
|
+
return {'stage':'unknown', 'reason':'conflict_context_unavailable', 'write_state':'unknown',
|
|
112
|
+
'message':'The stored metadata conflict has insufficient attempt evidence to establish dispatch or rejection.'}
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
def metadata_conflict_options(brand: str, root: Path, proposal_id: str) -> tuple[list[dict], list[dict]]:
|
|
116
|
+
"""Read actual validated local batches, never a result's arbitrary file text."""
|
|
117
|
+
import hashlib
|
|
118
|
+
import yaml
|
|
119
|
+
from socialctl.management.proposal_routes import locate_proposal
|
|
120
|
+
from socialctl.management.batches import BatchFile, BatchStore
|
|
121
|
+
suffix = _context(brand, root)
|
|
122
|
+
if suffix is None:
|
|
123
|
+
return [], []
|
|
124
|
+
try:
|
|
125
|
+
brand_root = Path(root) / brand
|
|
126
|
+
found = locate_proposal(brand_root, proposal_id)
|
|
127
|
+
if found['state'] != 'recognized' or found['kind'] != 'youtube-metadata-batch':
|
|
128
|
+
return [], []
|
|
129
|
+
batch = BatchStore(brand_root).load(proposal_id)
|
|
130
|
+
conflicts = [op for op in batch.operations if op.status == 'conflict']
|
|
131
|
+
if not conflicts:
|
|
132
|
+
return [], []
|
|
133
|
+
errors = [{'code':'metadata_conflict', 'action':'inspect', 'retryable':False,
|
|
134
|
+
'requires_user_action':False, 'video_id':op.video_id,
|
|
135
|
+
**_metadata_conflict_evidence(op.journal)} for op in conflicts]
|
|
136
|
+
if (any(op.status in {'applying', 'uncertain', 'manual_review'} for op in batch.operations)
|
|
137
|
+
or any(error['write_state'] == 'unknown' for error in errors)):
|
|
138
|
+
return [{**command_option(['socialcli',*found['recovery_path'],proposal_id,*suffix],
|
|
139
|
+
effect='read', approval_required=False),
|
|
140
|
+
'scope':'recorded_proposal',
|
|
141
|
+
'description':'Read-only recovery of the existing batch; an unresolved attempt blocks a fresh source-batch preview.'}], errors
|
|
142
|
+
# A batch's source is one YAML file, not a saved shell command. Validate
|
|
143
|
+
# its current bytes against both the stored digest and real input model.
|
|
144
|
+
options = []
|
|
145
|
+
for raw, expected in batch.source_files.items():
|
|
146
|
+
path = Path(raw)
|
|
147
|
+
if not path.is_absolute() or any(not c.isprintable() for c in raw) or path.is_symlink():
|
|
148
|
+
continue
|
|
149
|
+
if not path.is_file() or path.stat().st_size > 1024 * 1024:
|
|
150
|
+
continue
|
|
151
|
+
body = path.read_bytes()
|
|
152
|
+
if hashlib.sha256(body).hexdigest() != expected:
|
|
153
|
+
continue
|
|
154
|
+
BatchFile.model_validate(yaml.safe_load(body))
|
|
155
|
+
options.append({**command_option(['socialcli','content','edit-batch','--file',str(path),'--dry-run',*suffix],
|
|
156
|
+
effect='prepare', approval_required=False),
|
|
157
|
+
'scope':'fresh_preview',
|
|
158
|
+
'description':'New preview of the complete source batch against fresh metadata. '
|
|
159
|
+
'Includes any previously applied items; each item requires review and new exact approval before a write.'})
|
|
160
|
+
return options, errors
|
|
161
|
+
except (OSError, ValueError, TypeError, KeyError, yaml.YAMLError):
|
|
162
|
+
return [], []
|
|
@@ -7683,6 +7683,123 @@
|
|
|
7683
7683
|
"approval": "Preview then explicit fingerprint; never restart uncertain work",
|
|
7684
7684
|
"availability": "internal_only_pending_platforms",
|
|
7685
7685
|
"description": "Review unchanged never-started legacy Facebook/Instagram queue occurrence; YouTube uses native-schedule."
|
|
7686
|
+
},
|
|
7687
|
+
{
|
|
7688
|
+
"id": "post.new",
|
|
7689
|
+
"task": "Create an exclusive local YouTube draft; never upload or approve",
|
|
7690
|
+
"command": "socialcli post new fictional-clip --template clip-vertical --media fixture.mp4 --brand Example --root /path/to/workspace --json --json-version 2",
|
|
7691
|
+
"effect": "local_draft",
|
|
7692
|
+
"approval": "none_local_helper",
|
|
7693
|
+
"prerequisites": [
|
|
7694
|
+
"Requires installed client 0.3.11 or later; check installed help and registry publication independently.",
|
|
7695
|
+
"Explicit selected brand, existing supplied media inside its media directory and a new slug.",
|
|
7696
|
+
"Title and explicit owner-provided made-for-kids declaration are required before upload preview; an empty description is optional."
|
|
7697
|
+
],
|
|
7698
|
+
"verification_limits": [
|
|
7699
|
+
"Default private with unresolved title/audience; draft creation does not assert certification, write to a provider or approve upload.",
|
|
7700
|
+
"Show the actual uploader certification and complete preview before natural owner approval; preserve old attempted journals read-only."
|
|
7701
|
+
],
|
|
7702
|
+
"related_commands": [
|
|
7703
|
+
"socialcli publish fictional-clip --brand Example --root /path/to/workspace --only youtube --dry-run --json --json-version 2"
|
|
7704
|
+
],
|
|
7705
|
+
"minimum_version": "0.3.11",
|
|
7706
|
+
"release_status": "not_inferred_from_installation",
|
|
7707
|
+
"json_versions": [
|
|
7708
|
+
2
|
|
7709
|
+
],
|
|
7710
|
+
"automatic": false,
|
|
7711
|
+
"public_platforms": [
|
|
7712
|
+
"youtube"
|
|
7713
|
+
],
|
|
7714
|
+
"live_verification": "unknown"
|
|
7715
|
+
},
|
|
7716
|
+
{
|
|
7717
|
+
"id": "schedule.plan",
|
|
7718
|
+
"task": "Inspect route and complete blockers for an existing private video or a new native upload",
|
|
7719
|
+
"command": "socialcli native-schedule plan --source new-upload --publish-at 2035-01-03T19:30:00+00:00 --timezone UTC --brand Example --root /path/to/workspace --json --json-version 2",
|
|
7720
|
+
"effect": "read",
|
|
7721
|
+
"approval": "none_local_helper",
|
|
7722
|
+
"prerequisites": [
|
|
7723
|
+
"Requires installed client 0.3.11 or later; explicit source, future timestamp and IANA timezone.",
|
|
7724
|
+
"Existing-private: exact video ID and truthful never-published declaration before generated_document; unknown declaration remains missing.",
|
|
7725
|
+
"New-upload: inspect present/absent/unknown job history before local prerequisites; missing history never proves no attempt."
|
|
7726
|
+
],
|
|
7727
|
+
"verification_limits": [
|
|
7728
|
+
"No credentials, provider requests, SSH, reservation, approval or job persistence. Missing manifest retains full checklist; ui/blocked routes remain unchanged.",
|
|
7729
|
+
"Existing or uncertain attempts require inspection/read-only reconciliation. A generated metadata document is unsaved and not approved; native API dispatch still requires complete current evidence."
|
|
7730
|
+
],
|
|
7731
|
+
"related_commands": [
|
|
7732
|
+
"socialcli native-schedule plan --source existing-private --video-id fictional-video --never-published --publish-at 2035-01-03T19:30:00+00:00 --timezone UTC --brand Example --root /path/to/workspace --json --json-version 2",
|
|
7733
|
+
"socialcli content edit-batch --file schedule.yml --brand Example --root /path/to/workspace --dry-run --json --json-version 2",
|
|
7734
|
+
"socialcli native-schedule --native-wire-version 2 preflight native.json --brand Example --root /path/to/workspace --json --json-version 2"
|
|
7735
|
+
],
|
|
7736
|
+
"minimum_version": "0.3.11",
|
|
7737
|
+
"release_status": "not_inferred_from_installation",
|
|
7738
|
+
"json_versions": [
|
|
7739
|
+
2
|
|
7740
|
+
],
|
|
7741
|
+
"automatic": false,
|
|
7742
|
+
"public_platforms": [
|
|
7743
|
+
"youtube"
|
|
7744
|
+
],
|
|
7745
|
+
"live_verification": "unknown"
|
|
7746
|
+
},
|
|
7747
|
+
{
|
|
7748
|
+
"id": "changes.export-preview",
|
|
7749
|
+
"task": "Export the same validated stored preview with its original age",
|
|
7750
|
+
"command": "socialcli changes export-preview 11111111-1111-4111-8111-111111111111 --output preview.json --brand Example --root /path/to/workspace --json --json-version 2",
|
|
7751
|
+
"effect": "local_export",
|
|
7752
|
+
"approval": "none_local_helper",
|
|
7753
|
+
"prerequisites": [
|
|
7754
|
+
"Requires installed client 0.3.11 or later; valid stored proposal selected in this brand and a new plain NAME.json.",
|
|
7755
|
+
"Trusted original observation age is required; unknown legacy age or expired data blocks export."
|
|
7756
|
+
],
|
|
7757
|
+
"verification_limits": [
|
|
7758
|
+
"Creates only a private managed file; ID, fingerprint, preview and six-day original expiry are preserved. Never overwrite, refresh age or regenerate an uncertain proposal.",
|
|
7759
|
+
"Export does not approve, recheck applicability or authorize a provider write."
|
|
7760
|
+
],
|
|
7761
|
+
"related_commands": [
|
|
7762
|
+
"socialcli changes status 11111111-1111-4111-8111-111111111111 --brand Example --root /path/to/workspace --json --json-version 2",
|
|
7763
|
+
"socialcli changes apply 11111111-1111-4111-8111-111111111111 --approval-fingerprint fictional-fingerprint --brand Example --root /path/to/workspace --json --json-version 2"
|
|
7764
|
+
],
|
|
7765
|
+
"minimum_version": "0.3.11",
|
|
7766
|
+
"release_status": "not_inferred_from_installation",
|
|
7767
|
+
"json_versions": [
|
|
7768
|
+
2
|
|
7769
|
+
],
|
|
7770
|
+
"automatic": false,
|
|
7771
|
+
"public_platforms": [
|
|
7772
|
+
"youtube"
|
|
7773
|
+
],
|
|
7774
|
+
"live_verification": "unknown"
|
|
7775
|
+
},
|
|
7776
|
+
{
|
|
7777
|
+
"id": "preview-output",
|
|
7778
|
+
"task": "Save a complete dry-run preview as a private managed artifact",
|
|
7779
|
+
"command": "socialcli content edit --file edit.yml --brand Example --root /path/to/workspace --dry-run --preview-output preview.json --json --json-version 2",
|
|
7780
|
+
"effect": "local_export",
|
|
7781
|
+
"approval": "none_local_helper",
|
|
7782
|
+
"prerequisites": [
|
|
7783
|
+
"Requires installed client 0.3.11 or later; use --preview-output NAME.json only with a supported complete --dry-run in v2.",
|
|
7784
|
+
"Normal preparation prerequisites apply; preparation can read provider data and persist a local proposal."
|
|
7785
|
+
],
|
|
7786
|
+
"verification_limits": [
|
|
7787
|
+
"Artifact keeps the same ID/fingerprint and original age proof. No provider write; export is not approval. Missing/incomplete/expired proof blocks artifact.",
|
|
7788
|
+
"Existing JSON v1 contracts remain unchanged; this new export option does not support v1."
|
|
7789
|
+
],
|
|
7790
|
+
"related_commands": [
|
|
7791
|
+
"socialcli changes export-preview 11111111-1111-4111-8111-111111111111 --output another.json --brand Example --root /path/to/workspace --json --json-version 2"
|
|
7792
|
+
],
|
|
7793
|
+
"minimum_version": "0.3.11",
|
|
7794
|
+
"release_status": "not_inferred_from_installation",
|
|
7795
|
+
"json_versions": [
|
|
7796
|
+
2
|
|
7797
|
+
],
|
|
7798
|
+
"automatic": false,
|
|
7799
|
+
"public_platforms": [
|
|
7800
|
+
"youtube"
|
|
7801
|
+
],
|
|
7802
|
+
"live_verification": "unknown"
|
|
7686
7803
|
}
|
|
7687
7804
|
],
|
|
7688
7805
|
"input_schemas": {
|
|
@@ -7820,6 +7937,119 @@
|
|
|
7820
7937
|
"exclusion_labels": {
|
|
7821
7938
|
"tiktok.direct-post": "excluded",
|
|
7822
7939
|
"instagram.comments.moderate": "disabled_pilot"
|
|
7940
|
+
},
|
|
7941
|
+
"output_contracts": {
|
|
7942
|
+
"next_steps": {
|
|
7943
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
7944
|
+
"type": "array",
|
|
7945
|
+
"items": {
|
|
7946
|
+
"type": "object",
|
|
7947
|
+
"oneOf": [
|
|
7948
|
+
{
|
|
7949
|
+
"required": [
|
|
7950
|
+
"kind",
|
|
7951
|
+
"argv",
|
|
7952
|
+
"effect",
|
|
7953
|
+
"approval_required",
|
|
7954
|
+
"automatic",
|
|
7955
|
+
"source"
|
|
7956
|
+
],
|
|
7957
|
+
"properties": {
|
|
7958
|
+
"kind": {
|
|
7959
|
+
"const": "command_option"
|
|
7960
|
+
},
|
|
7961
|
+
"argv": {
|
|
7962
|
+
"type": "array",
|
|
7963
|
+
"minItems": 1,
|
|
7964
|
+
"items": {
|
|
7965
|
+
"type": "string",
|
|
7966
|
+
"minLength": 1
|
|
7967
|
+
}
|
|
7968
|
+
},
|
|
7969
|
+
"effect": {
|
|
7970
|
+
"enum": [
|
|
7971
|
+
"read",
|
|
7972
|
+
"prepare",
|
|
7973
|
+
"write",
|
|
7974
|
+
"local_export"
|
|
7975
|
+
]
|
|
7976
|
+
},
|
|
7977
|
+
"approval_required": {
|
|
7978
|
+
"type": "boolean"
|
|
7979
|
+
},
|
|
7980
|
+
"automatic": {
|
|
7981
|
+
"const": false
|
|
7982
|
+
},
|
|
7983
|
+
"source": {
|
|
7984
|
+
"const": "local_cli"
|
|
7985
|
+
}
|
|
7986
|
+
}
|
|
7987
|
+
},
|
|
7988
|
+
{
|
|
7989
|
+
"required": [
|
|
7990
|
+
"kind",
|
|
7991
|
+
"document",
|
|
7992
|
+
"automatic"
|
|
7993
|
+
],
|
|
7994
|
+
"properties": {
|
|
7995
|
+
"kind": {
|
|
7996
|
+
"const": "generated_document"
|
|
7997
|
+
},
|
|
7998
|
+
"document": {
|
|
7999
|
+
"type": "object"
|
|
8000
|
+
},
|
|
8001
|
+
"automatic": {
|
|
8002
|
+
"const": false
|
|
8003
|
+
}
|
|
8004
|
+
}
|
|
8005
|
+
},
|
|
8006
|
+
{
|
|
8007
|
+
"required": [
|
|
8008
|
+
"kind",
|
|
8009
|
+
"stages",
|
|
8010
|
+
"automatic"
|
|
8011
|
+
],
|
|
8012
|
+
"properties": {
|
|
8013
|
+
"kind": {
|
|
8014
|
+
"const": "workflow"
|
|
8015
|
+
},
|
|
8016
|
+
"stages": {
|
|
8017
|
+
"type": "array",
|
|
8018
|
+
"items": {
|
|
8019
|
+
"type": "string"
|
|
8020
|
+
}
|
|
8021
|
+
},
|
|
8022
|
+
"automatic": {
|
|
8023
|
+
"const": false
|
|
8024
|
+
}
|
|
8025
|
+
}
|
|
8026
|
+
}
|
|
8027
|
+
]
|
|
8028
|
+
},
|
|
8029
|
+
"description": "Optional local data under data or an individual errors entry, never host instructions or approval. Inspect argv boundaries, effect, state and authorization before deciding. No resume unless genuinely available; no fresh attempt across uncertainty. Provider text never supplies commands."
|
|
8030
|
+
}
|
|
8031
|
+
},
|
|
8032
|
+
"entrypoint_classification": {
|
|
8033
|
+
"read_only_is_provider_effect_classification": false,
|
|
8034
|
+
"meaning": "Snapshot of existing v2 envelope heuristics, not provider effects. Local draft/export/plan must be described by their actual effect; false does not imply a provider write.",
|
|
8035
|
+
"paths": {
|
|
8036
|
+
"post new": false,
|
|
8037
|
+
"native-schedule plan": true,
|
|
8038
|
+
"changes export-preview": true,
|
|
8039
|
+
"content edit": false,
|
|
8040
|
+
"changes apply": false,
|
|
8041
|
+
"changes reconcile": true,
|
|
8042
|
+
"stats": true,
|
|
8043
|
+
"doctor": true,
|
|
8044
|
+
"native-schedule prepare": true,
|
|
8045
|
+
"native-schedule submit-api": false
|
|
8046
|
+
},
|
|
8047
|
+
"local_effects": {
|
|
8048
|
+
"post new": "local_draft",
|
|
8049
|
+
"native-schedule plan": "read",
|
|
8050
|
+
"changes export-preview": "local_export",
|
|
8051
|
+
"--preview-output": "local_export"
|
|
8052
|
+
}
|
|
7823
8053
|
}
|
|
7824
8054
|
}
|
|
7825
8055
|
}
|