devops-bot-sdk 1.7.61__tar.gz → 1.7.65__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.
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/PKG-INFO +1 -1
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/devops_bot_sdk.egg-info/PKG-INFO +1 -1
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/devops_bot_sdk.egg-info/SOURCES.txt +1 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/__init__.py +2 -2
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agent_builder.py +4 -2
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ai_connectors.py +31 -25
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/cli.py +15 -12
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/crucial.py +9 -14
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/faqs.py +9 -5
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/help_data/areas.json +23 -5
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/help_data/commands.json +1 -1
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/help_data/pages.json +1 -1
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/help_data/releases.json +30 -0
- devops_bot_sdk-1.7.65/sdk/help_data/snapshot.json +17 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/helpdesk_kb.md +21 -13
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/hooks/crucial_guard.py +4 -8
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/local_exec.py +7 -8
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/run_auto.py +13 -3
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/tickets.py +50 -7
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/api.py +4 -8
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/models.py +3 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/static/app.js +14 -7
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/static/connectors.html +6 -5
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/static/tickets.html +7 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_agent_builder.py +1 -1
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_ai_connectors.py +21 -10
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_approval_park.py +21 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_connectors_runner.py +27 -14
- devops_bot_sdk-1.7.65/tests/test_ticket_agent_mode.py +124 -0
- devops_bot_sdk-1.7.61/sdk/help_data/snapshot.json +0 -17
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/README.md +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/devops_bot_sdk.egg-info/dependency_links.txt +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/devops_bot_sdk.egg-info/entry_points.txt +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/devops_bot_sdk.egg-info/requires.txt +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/devops_bot_sdk.egg-info/top_level.txt +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/pyproject.toml +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/activity/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/activity/classifier.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/activity/collectors/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/activity/collectors/common.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/activity/collectors/linux_auditd.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/activity/collectors/macos_eslogger.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/activity/collectors/windows_eventlog.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/activity/models.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/activity/os_setup.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/activity/recorder.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/activity/redact.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/activity/settings.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/activity/shipper.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/activity/spool.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agent_sharing.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agentd.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/activity.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/builder.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/chat.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/connectors.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/engines/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/engines/claude_code.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/engines/http.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/engines/mcp.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/engines/n8n.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/engines/shell.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/integrations.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/inventory.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/library/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/manifest.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/prompt_studio.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/prompt_template.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/prompt_vars.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/run_log.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/schedules.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/secrets.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/ticket_run.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/usage.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/agents/varstore.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/browser_profile.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/claude_usage.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/client.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/collectors/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/collectors/files.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/collectors/process.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/collectors/screenshot.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/config.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/custom_agents.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/deferred_tickets.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/departments.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/design_verify/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/design_verify/assets.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/design_verify/bootstrap.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/design_verify/browser.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/design_verify/compare.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/design_verify/loop.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/estimator.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/exceptions.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/fallback_handoff.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/firewall.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/formats.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/git_ops.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/github_fetch.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/github_ingest.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/graph_recon.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/graphify.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/help_actions.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/help_data/help.json +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/helpdesk.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/hooks/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/install_marker.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/instructions_template.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/intake.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ipc/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ipc/electron_bridge.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ipc/handlers.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/journal.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/log_colors.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/memory_guard.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/model_policy.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/models/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/models/envelope.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/models/requests.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/models/responses.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/models/snapshots.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/phase_timer.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/plan_run.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/platform_compat.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/prd_progress.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/proof_readers.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/providers.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/py.typed +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/resume.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/router.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/schedule_tickets.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/schedule_timeline.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/scheduler.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/scope_plan.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/self_report.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/self_report_local.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/sse.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/swagger.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/task_file.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/task_types.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/test.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/test_env.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/test_pipeline.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ticket_board.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ticket_bulk.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ticket_fields.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ticket_plan.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ticket_pools.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/tiers/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/tiers/mini_agent.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/dashboard.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/health.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/ip_allowlist.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/jobs.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/runner.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/security.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/server.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/service.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/session.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/setup_manager.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/static/agents.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/static/chat.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/static/custom-agents.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/static/default-agents.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/static/faqs.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/static/help.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/static/index.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/static/new-agent.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/static/report.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/static/runs.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/static/schedules.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/static/setup.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/static/styles.css +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/ui/swagger.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/updater.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/url_access.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/vps_health.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/vps_identity.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/sdk/write_hook.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/setup.cfg +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_activity_claude_runs.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_activity_collectors.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_activity_core.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_activity_live_tracking.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_activity_macos.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_activity_os_setup.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_activity_pipeline.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_agent_activity.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_agent_activity_tracking.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_agent_chat_features.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_agent_crud_cli.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_agent_listing.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_agent_prompt_async.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_agent_prompt_models.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_agent_run_ticket.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_agent_schedules.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_agent_sharing.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_agent_workspace_settings.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_agents_connectors_builder.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_allowed_tools_config.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_auto_agent_dispatch.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_auto_ticket_queue.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_backend_only_allowlist.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_browser_profile.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_cheap_tier.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_claude_usage_gate.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_client_jira_projects.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_config_token_diagnostics.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_configure_token_owner.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_console_encoding.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_crash_recovery.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_create_safe_retry.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_deferred_tickets.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_departments.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_done_transition.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_epic_decompose_run.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_epic_inherited_agent_id.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_epic_session_isolation.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_estimator.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_fallback_cli.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_fallback_cli_upgrade.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_fallback_folder_changes.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_fallback_parity.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_fallback_rate_limit.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_fallback_streaming.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_faqs.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_firewall_open_on_update.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_formats.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_git_action.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_github_fetch.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_github_ingest.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_graph_off_by_default.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_graph_recon.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_graphify_build.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_graphify_hook_install.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_health.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_help_actions.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_help_attachments.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_help_questions.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_helpdesk.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_infographic_data.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_install_marker.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_instructions_template.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_intake_job_outcome.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_intake_plan_review.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_journal.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_limit_fallback_handoff.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_local_exec_provider.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_log_colors_backlog.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_mcp_route_contract.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_memory_guard.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_model_policy.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_panel_help.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_panel_ticket_schedules.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_parallel_tickets.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_phase_timer.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_plan_ahead.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_plan_new_command.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_plan_run_activity.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_pool_pr_modes.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_pr_identity.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_prd_artifact.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_project_path_resolution.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_proof_readers.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_providers.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_quiet_run_log.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_recon_session_isolation.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_resume.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_router.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_run_auto_agent_only.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_run_outputs.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_run_verdict_is_honest.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_schedule_api.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_schedule_outputs_and_plans.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_schedule_tickets.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_schedule_timeline.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_scheduler.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_scheduler_transient_retry.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_self_report.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_service_token_warning.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_stale_panel_restart.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_swagger_command.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_task_file_and_plan_run.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_task_file_format_doc.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_theme_switch.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_ticket_board.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_ticket_bulk.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_ticket_cli.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_ticket_detail_view.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_ticket_fields.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_ticket_plan.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_ticket_pools.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_ticket_run_resolve_by_id.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_ticket_schedule_and_agent.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_ticket_speed_fixes.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_tier_flag_parity.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_ui_bruteforce_guard.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_ui_gate.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_ui_lifespan.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_ui_no_native_dialogs.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_update_timer.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_updater_extras.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_updater_ignores_cwd.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_updater_pep668.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_updater_reports_the_truth.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_url_access.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_version_flag.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_vps_health.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_vps_only_reporting.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_windows_loop_identity.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_windows_panel_task.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_windows_stop_and_pidfile.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_windows_task_paths.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.65}/tests/test_write_hook.py +0 -0
|
@@ -281,6 +281,7 @@ tests/test_swagger_command.py
|
|
|
281
281
|
tests/test_task_file_and_plan_run.py
|
|
282
282
|
tests/test_task_file_format_doc.py
|
|
283
283
|
tests/test_theme_switch.py
|
|
284
|
+
tests/test_ticket_agent_mode.py
|
|
284
285
|
tests/test_ticket_board.py
|
|
285
286
|
tests/test_ticket_bulk.py
|
|
286
287
|
tests/test_ticket_cli.py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"""AgentOS Desktop SDK — thin HTTPS/SSE client for the Electron app.
|
|
2
2
|
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.65
|
|
4
4
|
|
|
5
5
|
Public surface:
|
|
6
6
|
BackendClient.from_config() — create client from ~/.agentos/config.toml
|
|
@@ -34,7 +34,7 @@ Rules:
|
|
|
34
34
|
- All data egress through submit_webhook only
|
|
35
35
|
"""
|
|
36
36
|
|
|
37
|
-
__version__ = "1.7.
|
|
37
|
+
__version__ = "1.7.65" # SINGLE SOURCE OF TRUTH — bump on every change; pyproject,
|
|
38
38
|
__author__ = "AgentOS" # sdk.client.SDK_VERSION and the UI server version all read this.
|
|
39
39
|
|
|
40
40
|
from sdk.client import BackendClient
|
|
@@ -24,7 +24,7 @@ Connectors
|
|
|
24
24
|
those are ever offered; never the catalogue). The choice is stored on the
|
|
25
25
|
agent as ``media.connectors``: absent = Auto (any connected one), a list =
|
|
26
26
|
only those, ``[]`` = none. Runs honour it (``local_exec.connector_scope``) and
|
|
27
|
-
connectors
|
|
27
|
+
connectors can read and write in every run (since 1.7.62).
|
|
28
28
|
|
|
29
29
|
Creating goes through ``sdk.custom_agents.create_agent`` — the same validation,
|
|
30
30
|
evaluation and backend call as ``agentos agent create``.
|
|
@@ -459,7 +459,9 @@ Ask ONE short follow-up question at a time until these are clear:
|
|
|
459
459
|
"connectors": [] (none) without asking;
|
|
460
460
|
5. rules — what it must never do, and how to handle missing information;
|
|
461
461
|
6. name — 3-64 characters, letters, digits, spaces, _ . -.
|
|
462
|
-
Connectors
|
|
462
|
+
Connectors can READ and WRITE for agents (list, get, search, and also post, send, create, run commands, write
|
|
463
|
+
files). A write acts as the person for real, so an agent should write only when its job says to; put the
|
|
464
|
+
rules for that in "rules".
|
|
463
465
|
|
|
464
466
|
WHAT AN AGENT CAN READ WITHOUT ANY CONNECTOR (it runs on the person's machine with the DevOps Bot SDK):
|
|
465
467
|
* Their DevOps Bot tickets — the board shown on the Dashboard (statuses To Do, In Progress, Backlog,
|
|
@@ -13,10 +13,10 @@ has none, and the platform says so.
|
|
|
13
13
|
note for the Auto agent and `@name` selection all read :func:`connected`, never
|
|
14
14
|
the platform catalogue.
|
|
15
15
|
|
|
16
|
-
**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
**Used — not managed.** Tickets, agents, the CLI and the panel read AND write
|
|
17
|
+
through the connectors (writes allowed since 1.7.62; before that every non-read was
|
|
18
|
+
refused). Nothing here connects, disconnects or configures one: that is the AI
|
|
19
|
+
Draftsman web app.
|
|
20
20
|
"""
|
|
21
21
|
from __future__ import annotations
|
|
22
22
|
|
|
@@ -160,19 +160,27 @@ def call(connector: str, action: str, params: dict | None = None,
|
|
|
160
160
|
"output": sc.get("output")}
|
|
161
161
|
|
|
162
162
|
|
|
163
|
-
|
|
164
|
-
"""
|
|
163
|
+
def is_write(row: dict, action: str) -> bool:
|
|
164
|
+
"""Whether ``action`` of a connected ``row`` changes something (the platform's
|
|
165
|
+
flag, else the verb rule in ``sdk.crucial``)."""
|
|
166
|
+
from sdk import crucial
|
|
167
|
+
|
|
168
|
+
act = next((a for a in row.get("actions") or [] if a.get("action") == action), None)
|
|
169
|
+
flag = (act or {}).get("writes")
|
|
170
|
+
if flag is not None:
|
|
171
|
+
return bool(flag)
|
|
172
|
+
return bool(crucial.connector_write(crucial.CONNECTOR_CALL_TOOL,
|
|
173
|
+
{"connector": row["connector"], "action": action}))
|
|
165
174
|
|
|
166
175
|
|
|
167
|
-
def
|
|
168
|
-
"""Run one
|
|
176
|
+
def run(connector: str, action: str, params: dict | None = None) -> dict:
|
|
177
|
+
"""Run one action of a connected connector, read or write (the CLI's `call`,
|
|
178
|
+
the panel's Try / Run). Returns ``{ok, message, output, writes}``.
|
|
169
179
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
action) or :class:`NotARead`.
|
|
180
|
+
Writes are allowed (1.7.62). A write carries a fresh idempotency key, so one
|
|
181
|
+
call is one change even if the transport retries it. Raises
|
|
182
|
+
:class:`ConnectorError` (not connected / unknown action / platform refusal).
|
|
174
183
|
"""
|
|
175
|
-
from sdk import crucial
|
|
176
184
|
|
|
177
185
|
rows = connected()
|
|
178
186
|
row = next((r for r in rows if str(r["connector"]).lower() == connector.strip().lower()), None)
|
|
@@ -183,12 +191,10 @@ def read(connector: str, action: str, params: dict | None = None) -> dict:
|
|
|
183
191
|
if act is None:
|
|
184
192
|
raise ConnectorError(f"{row['connector']} has no action {action!r} — "
|
|
185
193
|
f"see `agentos connectors show {row['connector']}`.")
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
"in DevOps Bot, so it is not run.")
|
|
191
|
-
return call(row["connector"], action, params)
|
|
194
|
+
writes = is_write(row, act["action"])
|
|
195
|
+
out = call(row["connector"], act["action"], params,
|
|
196
|
+
idempotency_key=f"agentos-{uuid.uuid4()}" if writes else None)
|
|
197
|
+
return {**out, "writes": writes}
|
|
192
198
|
|
|
193
199
|
|
|
194
200
|
# ── `@name` and the Auto agent, for ticket runs on claude ──────────────────────
|
|
@@ -217,17 +223,17 @@ def prompt_block(text: str, rows: list[dict] | None = None) -> str:
|
|
|
217
223
|
names = ", ".join(f"{r['connector']} ({r.get('name') or r['connector']})" for r in rows)
|
|
218
224
|
lines = [
|
|
219
225
|
"## Your AI Draftsman connectors",
|
|
220
|
-
f"Connected for you: {names}. When this task needs
|
|
221
|
-
"choose the right connector yourself and
|
|
226
|
+
f"Connected for you: {names}. When this task needs one of these services, "
|
|
227
|
+
"choose the right connector yourself and use it through mcp__aidraftsman__call_connector "
|
|
222
228
|
"(call mcp__aidraftsman__list_connectors first for its action names). Only these are "
|
|
223
229
|
"connected — never use or suggest another; if the task needs one that is missing, say so. "
|
|
224
|
-
"
|
|
225
|
-
"
|
|
226
|
-
"
|
|
230
|
+
"You may read AND write through them (post, send, create, update, run commands, write "
|
|
231
|
+
"files): a write acts as the user, for real, so only write when the task asks for that "
|
|
232
|
+
"change, and say in your answer exactly what you changed.",
|
|
227
233
|
]
|
|
228
234
|
picked = mentioned(text, rows)
|
|
229
235
|
if picked:
|
|
230
236
|
lines.append("This task selected " + ", ".join(f"@{p['connector']}" for p in picked)
|
|
231
|
-
+ " —
|
|
237
|
+
+ " — use " + ("these" if len(picked) > 1 else "it") + ", not another connector.")
|
|
232
238
|
return "\n".join(lines)
|
|
233
239
|
|
|
@@ -74,14 +74,15 @@ Command surface:
|
|
|
74
74
|
|
|
75
75
|
agentos ticket create --project KEY --summary TEXT [--type T] [--priority P]
|
|
76
76
|
[--assignee EMAIL] [--description[-file] …] [--instructions[-file] …]
|
|
77
|
-
[--parent ID] [--status S] [--points N]
|
|
77
|
+
[--parent ID] [--status S] [--points N] [--agent-mode on|off]
|
|
78
78
|
File one ticket (POST /api/v1/tasks on the AI backend) and print its Jira
|
|
79
79
|
key. Type defaults to Task, priority to Medium, assignee to the token
|
|
80
|
-
owner (server-side).
|
|
80
|
+
owner (server-side). Agent mode defaults to off (runs without a WhatsApp
|
|
81
|
+
approval); `--agent-mode on` makes it wait for one. Validated locally first; a rejection prints the
|
|
81
82
|
backend's own messages.
|
|
82
83
|
agentos ticket update KEY_OR_ID [--summary …] [--description[-file] …]
|
|
83
84
|
[--instructions[-file] …] [--priority P] [--status S] [--points N]
|
|
84
|
-
[--assignee EMAIL] [--type T]
|
|
85
|
+
[--assignee EMAIL] [--type T] [--agent-mode on|off]
|
|
85
86
|
Change only the given fields (PATCH /api/v1/tasks/{id}). Takes a Jira key or
|
|
86
87
|
the platform id. See sdk.tickets — the Tickets page uses the same code.
|
|
87
88
|
agentos ticket list [--status S]… [--project KEY] [--limit N | --all] [--json]
|
|
@@ -325,7 +326,7 @@ def _print_usage() -> None:
|
|
|
325
326
|
print(" agentos report <submit|list|show ID> # report work Jira/GitHub never saw")
|
|
326
327
|
print(" agentos browser <login URL|status|logout> # sign in once; private links become readable")
|
|
327
328
|
print(" agentos fallback <install|login|status|logout> # the AI Draftsman CLI used when claude is not working")
|
|
328
|
-
print(" agentos connectors [show NAME|call C A|status] # your AI Draftsman connectors (read
|
|
329
|
+
print(" agentos connectors [show NAME|call C A|status] # your AI Draftsman connectors (read and write) in tickets and agents")
|
|
329
330
|
print(" agentos allow-ip [--clear] # who may reach the panel (no outside IP; use an SSH tunnel)")
|
|
330
331
|
print(" agentos firewall [--apply] [--revoke IP] [--port N] # limit the UI port to the allowlisted IPs")
|
|
331
332
|
print(" agentos firewall --any [--apply] # open the UI port to any source (allowlist is the gate)")
|
|
@@ -750,7 +751,7 @@ def _show_draft(draft: dict) -> None:
|
|
|
750
751
|
print(f"name : {draft.get('name') or '-'}")
|
|
751
752
|
print(f"purpose : {draft.get('purpose') or '-'}")
|
|
752
753
|
print(f"inputs : {', '.join(v.get('name', '') for v in draft.get('variables') or []) or '-'}")
|
|
753
|
-
print(f"connectors : {shown} (read
|
|
754
|
+
print(f"connectors : {shown} (read and write)")
|
|
754
755
|
print("prompt :")
|
|
755
756
|
for line in str(draft.get("system_prompt") or "-").splitlines():
|
|
756
757
|
print(f" {line}")
|
|
@@ -819,11 +820,11 @@ def _agent_build(args: list[str]) -> None:
|
|
|
819
820
|
sys.exit(1)
|
|
820
821
|
_show_draft(draft)
|
|
821
822
|
print(f"Editing {draft['name']}. Say what to change; I'll update the prompt and show it.")
|
|
822
|
-
print(f"Your connected connectors (read
|
|
823
|
+
print(f"Your connected connectors (read and write): {names}")
|
|
823
824
|
print("Commands: /draft shows the draft · /save saves the changes · /quit stops\n")
|
|
824
825
|
else:
|
|
825
826
|
print("Let's build an agent. Describe what it should do; I'll ask follow-up questions.")
|
|
826
|
-
print(f"Your connected connectors (read
|
|
827
|
+
print(f"Your connected connectors (read and write): {names}")
|
|
827
828
|
print("Commands: /draft shows the draft · /create creates it · /quit stops\n")
|
|
828
829
|
if conns is not None:
|
|
829
830
|
draft["connectors"] = conns
|
|
@@ -1421,6 +1422,7 @@ _TICKET_FLAGS = {
|
|
|
1421
1422
|
"--priority": "priority", "--assignee": "assigneeEmail", "--status": "status",
|
|
1422
1423
|
"--points": "points", "--parent": "parentTaskId",
|
|
1423
1424
|
"--description": "description", "--instructions": "humanInstructions",
|
|
1425
|
+
"--agent-mode": "agentMode",
|
|
1424
1426
|
}
|
|
1425
1427
|
_TICKET_FILE_FLAGS = {"--description-file": "--description",
|
|
1426
1428
|
"--instructions-file": "--instructions"}
|
|
@@ -1437,9 +1439,10 @@ def _ticket_usage() -> None:
|
|
|
1437
1439
|
print(" agentos ticket create --project KEY --summary TEXT [--type TYPE] [--priority P]")
|
|
1438
1440
|
print(" [--assignee EMAIL] [--description TEXT | --description-file PATH]")
|
|
1439
1441
|
print(" [--instructions TEXT | --instructions-file PATH] [--parent ID] [--status S] [--points N]")
|
|
1442
|
+
print(" [--agent-mode on|off] # on = wait for a WhatsApp approval before it runs (default off)")
|
|
1440
1443
|
print(" agentos ticket update KEY_OR_ID [--summary TEXT] [--description TEXT | --description-file PATH]")
|
|
1441
1444
|
print(" [--instructions TEXT | --instructions-file PATH] [--priority P] [--status S]")
|
|
1442
|
-
print(" [--points N] [--assignee EMAIL] [--type TYPE]")
|
|
1445
|
+
print(" [--points N] [--assignee EMAIL] [--type TYPE] [--agent-mode on|off]")
|
|
1443
1446
|
print(" agentos ticket show KEY_OR_ID [--json] # summary, status, description, humanInstructions")
|
|
1444
1447
|
print(" agentos ticket bulk-update KEY… | --pool NAME [--status S] [--priority P] [--type T] [--points N]")
|
|
1445
1448
|
print(" [--assignee EMAIL] [--description TEXT|--description-file PATH] [--instructions TEXT|--instructions-file PATH]")
|
|
@@ -2476,7 +2479,7 @@ def _browser_command(args: list[str]) -> None:
|
|
|
2476
2479
|
def _connectors_usage() -> None:
|
|
2477
2480
|
print("usage: agentos connectors # your connected connectors and their actions")
|
|
2478
2481
|
print(" agentos connectors show NAME # one connector, every action (read / write)")
|
|
2479
|
-
print(" agentos connectors call CONNECTOR ACTION [--params JSON] # read
|
|
2482
|
+
print(" agentos connectors call CONNECTOR ACTION [--params JSON] # read or write; a write acts as you")
|
|
2480
2483
|
print(" agentos connectors status [--json] # signed in? personal key? server ready?")
|
|
2481
2484
|
print()
|
|
2482
2485
|
print(" The apps YOU connected in the AI Draftsman web app (Connectors), used as you —")
|
|
@@ -2505,7 +2508,7 @@ def _connectors_command(args: list[str]) -> None:
|
|
|
2505
2508
|
print(_json.dumps(st, indent=2))
|
|
2506
2509
|
else:
|
|
2507
2510
|
yn = lambda v: "yes" if v else ("no" if v is False else "-") # noqa: E731
|
|
2508
|
-
print(f"in runs : {'yes (read
|
|
2511
|
+
print(f"in runs : {'yes (read and write)' if st['enabled'] else 'no — AGENTOS_CONNECTORS=off'}")
|
|
2509
2512
|
print(f"signed in : {yn(st['signed_in'])}")
|
|
2510
2513
|
print(f"server : {st['base_url'] or '-'}")
|
|
2511
2514
|
print(f"personal : {yn(st['personal'])}")
|
|
@@ -2551,7 +2554,7 @@ def _connectors_command(args: list[str]) -> None:
|
|
|
2551
2554
|
|
|
2552
2555
|
if verb == "call":
|
|
2553
2556
|
if len(rest) < 2:
|
|
2554
|
-
print("usage: agentos connectors call CONNECTOR ACTION [--params JSON] # read
|
|
2557
|
+
print("usage: agentos connectors call CONNECTOR ACTION [--params JSON] # read or write; a write acts as you")
|
|
2555
2558
|
sys.exit(2)
|
|
2556
2559
|
connector, action = rest[0], rest[1]
|
|
2557
2560
|
params: dict = {}
|
|
@@ -2565,7 +2568,7 @@ def _connectors_command(args: list[str]) -> None:
|
|
|
2565
2568
|
print("error: --params needs a JSON object")
|
|
2566
2569
|
sys.exit(2)
|
|
2567
2570
|
try:
|
|
2568
|
-
out = ac.
|
|
2571
|
+
out = ac.run(connector, action, params)
|
|
2569
2572
|
except ac.ConnectorError as exc:
|
|
2570
2573
|
print(f"error: {exc}")
|
|
2571
2574
|
sys.exit(1)
|
|
@@ -111,9 +111,10 @@ _RM_SAFE_TARGET = re.compile(
|
|
|
111
111
|
_SENSITIVE_FILE = re.compile(r"(^|/)(\.env|id_rsa|id_ed25519|.*\.pem|.*\.key)$", re.I)
|
|
112
112
|
|
|
113
113
|
# The signed-in person's AI Draftsman connectors (see local_exec, "connectors").
|
|
114
|
-
# Both engines name the tool this way.
|
|
115
|
-
#
|
|
116
|
-
#
|
|
114
|
+
# Both engines name the tool this way. Since 1.7.62 connector WRITES are allowed in
|
|
115
|
+
# DevOps Bot runs (tickets and agents) and in manual calls: `connector_write` only
|
|
116
|
+
# CLASSIFIES an action (for labels and the run's prompt note); nothing refuses one.
|
|
117
|
+
# An action the platform flagged is judged by that flag; otherwise by its slug — a read only when
|
|
117
118
|
# the last segment (after `.`, `/` or `:`) starts with a read verb
|
|
118
119
|
# (`conversations.list`, `issues.get`, `search_messages`, `users.getPresence`) and
|
|
119
120
|
# no word anywhere mutates (`get_or_create`, `fetchAndDelete`, `list.remove` are
|
|
@@ -127,12 +128,6 @@ CONNECTOR_NOT_SELECTED_REASON = (
|
|
|
127
128
|
"{connector} is not one of the connectors selected for this agent, so it was not used. "
|
|
128
129
|
"Use only: {allowed}. Do not try another way to reach {connector}."
|
|
129
130
|
)
|
|
130
|
-
CONNECTOR_READ_ONLY_REASON = (
|
|
131
|
-
"Connectors are READ-ONLY in DevOps Bot runs, so {desc} was not run — it would post, "
|
|
132
|
-
"send, create or change something as the user. Use only reading actions (list, get, "
|
|
133
|
-
"search, read …). Do not retry it or try another connector or tool to do the same; "
|
|
134
|
-
"write what you would have sent into your answer instead."
|
|
135
|
-
)
|
|
136
131
|
_READ_VERBS = frozenset({
|
|
137
132
|
"list", "get", "search", "read", "fetch", "query", "find", "describe", "view",
|
|
138
133
|
"show", "count", "lookup", "retrieve", "history", "info",
|
|
@@ -215,11 +210,11 @@ def connector_not_selected(tool_name: str, tool_input: dict | None) -> str | Non
|
|
|
215
210
|
def connector_write(tool_name: str, tool_input: dict | None) -> str | None:
|
|
216
211
|
"""A description when this is a connector action that is NOT a read, else None.
|
|
217
212
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
213
|
+
A classifier only (1.7.62): writes are allowed, so nothing refuses on this. The
|
|
214
|
+
action's own flag wins — the runner passes every connected action's read/write
|
|
215
|
+
flag from the platform in ``AGENTOS_CONNECTOR_ACTIONS`` — and an action it does
|
|
216
|
+
not list falls back to the verb rule above, which calls anything that is not
|
|
217
|
+
plainly a read a write.
|
|
223
218
|
"""
|
|
224
219
|
if tool_name != CONNECTOR_CALL_TOOL:
|
|
225
220
|
return None
|
|
@@ -67,6 +67,9 @@ FAQS: list[tuple[str, str, str]] = [
|
|
|
67
67
|
"Yes: agentos-auto ticket KEY KEY… runs those, any status, in your order."),
|
|
68
68
|
("Running work", "What if a ticket waits for approval?",
|
|
69
69
|
"It is parked and the rest of the queue keeps going. agentos-auto skip KEY stops waiting."),
|
|
70
|
+
("Tickets", "Can a ticket wait for my WhatsApp approval before it runs?",
|
|
71
|
+
"Yes: turn on Agent mode in the Tickets page's New / Edit ticket form (off by default), "
|
|
72
|
+
"or pass --agent-mode on to agentos ticket create|update."),
|
|
70
73
|
("Tickets", "How do I see how many tickets are where?",
|
|
71
74
|
"agentos tickets: counts and keys per status, To Do in run order. The Tickets page has the same tabs."),
|
|
72
75
|
("Tickets", "Can I change one field on many tickets?",
|
|
@@ -139,9 +142,9 @@ FAQS: list[tuple[str, str, str]] = [
|
|
|
139
142
|
("Agents", "Which connectors can my agent use?",
|
|
140
143
|
"Only ones **you** have connected in AI Draftsman, and only those you chose when creating it: **Auto** "
|
|
141
144
|
"(any connected one), a list (e.g. slack, jira) or **None**. A run is told only its connectors and the "
|
|
142
|
-
"guard refuses any other
|
|
145
|
+
"guard refuses any other. Connectors can read and write. Agents created before this use Auto."),
|
|
143
146
|
("Connectors", "Can a ticket or an agent use my Gmail, Slack or Jira?",
|
|
144
|
-
"Yes — to **read**
|
|
147
|
+
"Yes — to **read and write** through the apps **you** connected in the AI Draftsman web app (**Connectors**), as you; "
|
|
145
148
|
"no password or token is stored on this machine.\n"
|
|
146
149
|
"1. Sign in personally: `agentos fallback login` (an `ad login`; keys from the API keys page are "
|
|
147
150
|
"workspace keys and have no connectors).\n"
|
|
@@ -150,9 +153,10 @@ FAQS: list[tuple[str, str, str]] = [
|
|
|
150
153
|
"one, type `@` in the description and pick it (only your connected ones are offered), e.g. `@slack`.\n"
|
|
151
154
|
"Connecting and disconnecting apps happens in the web app; the SDK only uses them."),
|
|
152
155
|
("Connectors", "Can a ticket or agent post, send or create things through my connectors?",
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
+
"Yes (since 1.7.62). Runs can read (list channels, get an issue, search mail) **and write** (post, send, "
|
|
157
|
+
"create, run a command or write a file on a VPS) through your connectors, as you, for real. Say in the "
|
|
158
|
+
"ticket or the agent's rules when it may write. On the Connectors page, read actions have **Try**, and "
|
|
159
|
+
"write actions have **Run**, which asks you to confirm first. `agentos connectors call` runs either."),
|
|
156
160
|
("Connectors", "Why does `agentos connectors` say \"not tied to a person\" or show nothing?",
|
|
157
161
|
"1. **\"not tied to a person\"** — this machine is signed in with a workspace key. Run "
|
|
158
162
|
"`agentos fallback login --browser` and approve it yourself.\n"
|
|
@@ -71,6 +71,24 @@
|
|
|
71
71
|
"latest_pr": 191,
|
|
72
72
|
"latest_date": "2026-11-03"
|
|
73
73
|
},
|
|
74
|
+
{
|
|
75
|
+
"area": "Tickets",
|
|
76
|
+
"changes_30d": 2,
|
|
77
|
+
"features_30d": 1,
|
|
78
|
+
"fixes_30d": 0,
|
|
79
|
+
"latest": "Agent mode toggle on the Tickets page — WhatsApp approval, off by default",
|
|
80
|
+
"latest_pr": 199,
|
|
81
|
+
"latest_date": "2026-11-11"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"area": "Connectors",
|
|
85
|
+
"changes_30d": 1,
|
|
86
|
+
"features_30d": 1,
|
|
87
|
+
"fixes_30d": 0,
|
|
88
|
+
"latest": "allow write actions everywhere — runs, `agentos connectors call` and the panel",
|
|
89
|
+
"latest_pr": 198,
|
|
90
|
+
"latest_date": "2026-11-05"
|
|
91
|
+
},
|
|
74
92
|
{
|
|
75
93
|
"area": "Daemon",
|
|
76
94
|
"changes_30d": 1,
|
|
@@ -126,13 +144,13 @@
|
|
|
126
144
|
"latest_date": "2026-10-22"
|
|
127
145
|
},
|
|
128
146
|
{
|
|
129
|
-
"area": "
|
|
147
|
+
"area": "Ticket loop",
|
|
130
148
|
"changes_30d": 1,
|
|
131
149
|
"features_30d": 0,
|
|
132
|
-
"fixes_30d":
|
|
133
|
-
"latest": "
|
|
134
|
-
"latest_pr":
|
|
135
|
-
"latest_date": "2026-
|
|
150
|
+
"fixes_30d": 1,
|
|
151
|
+
"latest": "stop repeating the parked-approval \"… waiting\" line every minute",
|
|
152
|
+
"latest_pr": 200,
|
|
153
|
+
"latest_date": "2026-11-11"
|
|
136
154
|
},
|
|
137
155
|
{
|
|
138
156
|
"area": "VPS",
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
"syntax": "agentos ticket create --project KEY --summary TEXT [flags] | update KEY_OR_ID [flags] | delete KEY_OR_ID [--yes]",
|
|
325
325
|
"program": "agentos",
|
|
326
326
|
"area": "Tickets",
|
|
327
|
-
"description": "file, change or delete one ticket",
|
|
327
|
+
"description": "file, change or delete one ticket --agent-mode on|off: on = wait for a WhatsApp approval before it runs (default off; the Tickets page's \"Agent mode\" toggle)",
|
|
328
328
|
"valid": true,
|
|
329
329
|
"doc": "https://github.com/consultancy-outfit/DevOpsBot-SDK/blob/main/docs/COMMANDS.md",
|
|
330
330
|
"id": "agentos ticket"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"page": "Connectors",
|
|
34
34
|
"file": "connectors.html",
|
|
35
35
|
"heading": "Your connectors",
|
|
36
|
-
"summary": "Write in a ticket's description, or just describe the job — the run
|
|
36
|
+
"summary": "Write in a ticket's description, or just describe the job — the run uses it when the task needs it, reading or writing as you. Run on a write action changes something for real."
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"page": "Report work",
|
|
@@ -1,4 +1,34 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"pr": 200,
|
|
4
|
+
"date": "2026-11-11",
|
|
5
|
+
"merged_at": "2026-11-11T14:01:44+05:00",
|
|
6
|
+
"type": "Fix",
|
|
7
|
+
"area": "Ticket loop",
|
|
8
|
+
"title": "stop repeating the parked-approval \"… waiting\" line every minute",
|
|
9
|
+
"version": "1.7.65",
|
|
10
|
+
"url": "https://github.com/consultancy-outfit/DevOpsBot-SDK/pull/200"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"pr": 199,
|
|
14
|
+
"date": "2026-11-11",
|
|
15
|
+
"merged_at": "2026-11-11T13:28:57+05:00",
|
|
16
|
+
"type": "Feature",
|
|
17
|
+
"area": "Tickets",
|
|
18
|
+
"title": "Agent mode toggle on the Tickets page — WhatsApp approval, off by default",
|
|
19
|
+
"version": "1.7.63",
|
|
20
|
+
"url": "https://github.com/consultancy-outfit/DevOpsBot-SDK/pull/199"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"pr": 198,
|
|
24
|
+
"date": "2026-11-05",
|
|
25
|
+
"merged_at": "2026-11-05T16:30:27+05:00",
|
|
26
|
+
"type": "Feature",
|
|
27
|
+
"area": "Connectors",
|
|
28
|
+
"title": "allow write actions everywhere — runs, `agentos connectors call` and the panel",
|
|
29
|
+
"version": "1.7.62",
|
|
30
|
+
"url": "https://github.com/consultancy-outfit/DevOpsBot-SDK/pull/198"
|
|
31
|
+
},
|
|
2
32
|
{
|
|
3
33
|
"pr": 196,
|
|
4
34
|
"date": "2026-11-04",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"version": "1.7.65",
|
|
4
|
+
"commit": "7f5e022",
|
|
5
|
+
"pushed_at": "2026-11-11T14:01:44+05:00",
|
|
6
|
+
"generated_at": "2026-11-11T09:03:10+00:00",
|
|
7
|
+
"commands": 66,
|
|
8
|
+
"commands_invalid": 0,
|
|
9
|
+
"commands_undocumented": 0,
|
|
10
|
+
"panel_pages": 13,
|
|
11
|
+
"tests": 2722,
|
|
12
|
+
"prs_7d": 6,
|
|
13
|
+
"prs_30d": 49,
|
|
14
|
+
"features_30d": 17,
|
|
15
|
+
"fixes_30d": 20
|
|
16
|
+
}
|
|
17
|
+
]
|
|
@@ -213,6 +213,15 @@ All run with agentMode OFF (no approval gate): `sdk/tickets.make_autonomous` aft
|
|
|
213
213
|
`ticket create`, Epic→Story children and scheduled-run tickets; the AI backend does the
|
|
214
214
|
same for `POST /api/v1/tasks` and `agentos chat`. The gateway itself ignores agentMode.
|
|
215
215
|
|
|
216
|
+
**Agent mode (WhatsApp approval) — off by default, on when asked.** The Tickets page's
|
|
217
|
+
New / Edit ticket form has an **Agent mode** toggle (off by default); `agentos ticket
|
|
218
|
+
create|update … --agent-mode on|off` does the same. On = the run waits for a WhatsApp
|
|
219
|
+
approval before it starts; off = it runs straight away. Create sends `agentMode: true`
|
|
220
|
+
in `POST /api/v1/tasks` (the AI backend applies it after the gateway create) and falls
|
|
221
|
+
back to `PATCH /api/v1/tasks/{id}/agent-mode` when the record does not confirm it;
|
|
222
|
+
update always uses that route. If it cannot be set, create warns and update lists
|
|
223
|
+
`agentMode` under "did not apply". The edit form shows the ticket's current setting.
|
|
224
|
+
|
|
216
225
|
## Self-update every 6 hours
|
|
217
226
|
|
|
218
227
|
`sdk/ui/service.py` `ensure_update_schedule()`: systemd `agentos-update.timer`
|
|
@@ -534,23 +543,22 @@ dashboard card, a line in the chart and a **Backlog** tab on the Tickets page
|
|
|
534
543
|
`Bash(git:*)`, `--settings` PreToolUse hooks) is documented in the ai-draftsman-cli
|
|
535
544
|
README ("Headless runs").
|
|
536
545
|
|
|
537
|
-
## AI Draftsman connectors (Gmail, Slack, Jira …) — read
|
|
546
|
+
## AI Draftsman connectors (Gmail, Slack, Jira …) — read and write, in tickets and agents
|
|
538
547
|
|
|
539
|
-
The apps a person connected in the AI Draftsman web app (**Connectors**) are **read
|
|
540
|
-
by ticket runs and agent runs (Agents page, schedules, ticket-triggered agents),
|
|
548
|
+
The apps a person connected in the AI Draftsman web app (**Connectors**) are **read and
|
|
549
|
+
written** by ticket runs and agent runs (Agents page, schedules, ticket-triggered agents),
|
|
541
550
|
**as that person**: the platform holds the credentials and performs each call;
|
|
542
551
|
nothing secret is stored on the VPS. The SDK **uses** connectors, it never
|
|
543
552
|
manages them: connect / disconnect happens in the web app.
|
|
544
553
|
|
|
545
|
-
- **Read
|
|
546
|
-
(
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
(
|
|
551
|
-
|
|
552
|
-
read,
|
|
553
|
-
by design.
|
|
554
|
+
- **Read and write (since 1.7.62).** Runs, `agentos connectors call` and the panel
|
|
555
|
+
(**Try** for reads, **Run** with a confirm for writes) may use write actions too:
|
|
556
|
+
posting, sending, creating, running a command or writing a file on a VPS, as the
|
|
557
|
+
person, for real, with no approval step in runs. Until 1.7.61 every write was
|
|
558
|
+
refused ("my ticket did not post to Slack" was that). The PreToolUse guard
|
|
559
|
+
(`sdk/hooks/crucial_guard.py`) still keeps an agent to its selected connectors.
|
|
560
|
+
`sdk/crucial.py:connector_write` now only classifies an action (the platform's
|
|
561
|
+
read/write flag, else the read-verb rule) for labels.
|
|
554
562
|
- **Needs** a personal sign-in: `agentos fallback login` (`ad login`, device sign-in).
|
|
555
563
|
A key from the API keys page is a workspace key → "not tied to a person", no
|
|
556
564
|
connectors. Keys from before connectors existed: sign in again.
|
|
@@ -614,7 +622,7 @@ agentos-auto set-status K… --to "To Do" [--from STATUS]
|
|
|
614
622
|
agentos agentd start [--foreground] | status
|
|
615
623
|
agentos agent list
|
|
616
624
|
agentos fallback install | login [--browser|--api-key] | status [--verify] | logout
|
|
617
|
-
agentos connectors [show NAME | status [--json]] # your AI Draftsman connectors (read
|
|
625
|
+
agentos connectors [show NAME | status [--json]] # your AI Draftsman connectors (read and write in tickets/agents)
|
|
618
626
|
agentos connectors call CONNECTOR ACTION [--params JSON] # run one action as you, from the CLI
|
|
619
627
|
agentos agent build # create an agent by chatting
|
|
620
628
|
agentos agent edit NAME # change an agent by chatting (= update NAME)
|
|
@@ -5,8 +5,8 @@ Registered by ``local_exec`` via ``claude --settings`` and run as
|
|
|
5
5
|
(Claude Code PreToolUse hook, exit 0 + JSON decision):
|
|
6
6
|
|
|
7
7
|
- reads the PreToolUse event JSON on stdin
|
|
8
|
-
- a connector
|
|
9
|
-
|
|
8
|
+
- a connector an agent did not select → DENY (connector writes are
|
|
9
|
+
allowed since 1.7.62; only the selection is enforced here)
|
|
10
10
|
- AGENTOS_APPROVAL_DIR unset → no opinion (normal permissions)
|
|
11
11
|
- non-destructive tool call → no opinion (normal permissions)
|
|
12
12
|
- destructive call WITH a one-shot grant → consume grant, ALLOW
|
|
@@ -48,16 +48,12 @@ def main() -> None:
|
|
|
48
48
|
except Exception: # noqa: BLE001 — can't load guard logic: never block
|
|
49
49
|
return
|
|
50
50
|
|
|
51
|
-
#
|
|
52
|
-
#
|
|
51
|
+
# An agent limited to some connectors may use only those. Connector WRITES are
|
|
52
|
+
# allowed (1.7.62), so they are not refused here.
|
|
53
53
|
not_selected = crucial.connector_not_selected(event.get("tool_name", ""), event.get("tool_input") or {})
|
|
54
54
|
if not_selected:
|
|
55
55
|
_emit("deny", not_selected)
|
|
56
56
|
return
|
|
57
|
-
write = crucial.connector_write(event.get("tool_name", ""), event.get("tool_input") or {})
|
|
58
|
-
if write:
|
|
59
|
-
_emit("deny", crucial.CONNECTOR_READ_ONLY_REASON.format(desc=write))
|
|
60
|
-
return
|
|
61
57
|
|
|
62
58
|
approval_dir = os.environ.get("AGENTOS_APPROVAL_DIR")
|
|
63
59
|
if not approval_dir:
|
|
@@ -767,13 +767,13 @@ async def _run_claude_cli(
|
|
|
767
767
|
local_servers[CONNECTORS_SERVER] = connector_server
|
|
768
768
|
connectors_active = True
|
|
769
769
|
elif connectors_enabled() and fallback_cli_version(cli) >= FALLBACK_CONNECTORS_VERSION:
|
|
770
|
-
# Built into `ad`; a headless run cannot ask, so grant them
|
|
771
|
-
#
|
|
770
|
+
# Built into `ad`; a headless run cannot ask, so grant them. Reads and
|
|
771
|
+
# writes alike (1.7.62); the guard still limits an agent to its selected
|
|
772
|
+
# connectors.
|
|
772
773
|
tools.append(f"mcp__{CONNECTORS_SERVER}")
|
|
773
774
|
connectors_active = True
|
|
774
|
-
# Connectors
|
|
775
|
-
#
|
|
776
|
-
# read, using each action's own read/write flag from the platform.
|
|
775
|
+
# Connectors can read AND write in DevOps Bot runs (1.7.62): the run is told
|
|
776
|
+
# which are connected and that a write acts as the user.
|
|
777
777
|
connector_rows: list[dict] = []
|
|
778
778
|
if connectors_active:
|
|
779
779
|
try:
|
|
@@ -860,9 +860,8 @@ async def _run_claude_cli(
|
|
|
860
860
|
# second silently replacing the first — which would drop the approval guard
|
|
861
861
|
# the moment a run pinned a provider. Merging here makes that impossible.
|
|
862
862
|
settings_payload: dict[str, Any] = {}
|
|
863
|
-
# The guard also
|
|
864
|
-
# run that has them
|
|
865
|
-
# post, send or create through a connector.
|
|
863
|
+
# The guard also limits an agent to its selected connectors, so it is
|
|
864
|
+
# registered for any run that has them (an agent run has no approval_dir).
|
|
866
865
|
if approval_dir or connectors_active:
|
|
867
866
|
from sdk import crucial
|
|
868
867
|
try:
|