devops-bot-sdk 1.7.61__tar.gz → 1.7.62__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.62}/PKG-INFO +1 -1
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/devops_bot_sdk.egg-info/PKG-INFO +1 -1
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/__init__.py +2 -2
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agent_builder.py +4 -2
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ai_connectors.py +31 -25
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/cli.py +8 -8
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/crucial.py +9 -14
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/faqs.py +6 -5
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/help_data/areas.json +9 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/help_data/pages.json +1 -1
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/help_data/releases.json +10 -0
- devops_bot_sdk-1.7.62/sdk/help_data/snapshot.json +17 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/helpdesk_kb.md +12 -13
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/hooks/crucial_guard.py +4 -8
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/local_exec.py +7 -8
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/api.py +4 -8
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/static/app.js +9 -7
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/static/connectors.html +6 -5
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_agent_builder.py +1 -1
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_ai_connectors.py +21 -10
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_connectors_runner.py +27 -14
- devops_bot_sdk-1.7.61/sdk/help_data/snapshot.json +0 -17
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/README.md +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/devops_bot_sdk.egg-info/SOURCES.txt +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/devops_bot_sdk.egg-info/dependency_links.txt +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/devops_bot_sdk.egg-info/entry_points.txt +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/devops_bot_sdk.egg-info/requires.txt +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/devops_bot_sdk.egg-info/top_level.txt +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/pyproject.toml +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/activity/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/activity/classifier.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/activity/collectors/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/activity/collectors/common.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/activity/collectors/linux_auditd.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/activity/collectors/macos_eslogger.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/activity/collectors/windows_eventlog.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/activity/models.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/activity/os_setup.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/activity/recorder.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/activity/redact.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/activity/settings.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/activity/shipper.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/activity/spool.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agent_sharing.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agentd.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/activity.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/builder.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/chat.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/connectors.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/engines/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/engines/claude_code.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/engines/http.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/engines/mcp.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/engines/n8n.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/engines/shell.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/integrations.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/inventory.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/library/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/manifest.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/prompt_studio.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/prompt_template.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/prompt_vars.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/run_log.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/schedules.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/secrets.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/ticket_run.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/usage.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/agents/varstore.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/browser_profile.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/claude_usage.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/client.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/collectors/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/collectors/files.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/collectors/process.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/collectors/screenshot.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/config.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/custom_agents.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/deferred_tickets.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/departments.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/design_verify/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/design_verify/assets.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/design_verify/bootstrap.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/design_verify/browser.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/design_verify/compare.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/design_verify/loop.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/estimator.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/exceptions.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/fallback_handoff.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/firewall.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/formats.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/git_ops.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/github_fetch.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/github_ingest.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/graph_recon.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/graphify.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/help_actions.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/help_data/commands.json +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/help_data/help.json +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/helpdesk.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/hooks/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/install_marker.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/instructions_template.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/intake.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ipc/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ipc/electron_bridge.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ipc/handlers.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/journal.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/log_colors.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/memory_guard.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/model_policy.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/models/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/models/envelope.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/models/requests.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/models/responses.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/models/snapshots.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/phase_timer.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/plan_run.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/platform_compat.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/prd_progress.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/proof_readers.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/providers.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/py.typed +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/resume.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/router.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/run_auto.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/schedule_tickets.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/schedule_timeline.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/scheduler.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/scope_plan.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/self_report.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/self_report_local.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/sse.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/swagger.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/task_file.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/task_types.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/test.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/test_env.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/test_pipeline.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ticket_board.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ticket_bulk.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ticket_fields.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ticket_plan.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ticket_pools.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/tickets.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/tiers/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/tiers/mini_agent.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/__init__.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/dashboard.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/health.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/ip_allowlist.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/jobs.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/models.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/runner.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/security.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/server.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/service.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/session.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/setup_manager.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/static/agents.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/static/chat.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/static/custom-agents.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/static/default-agents.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/static/faqs.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/static/help.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/static/index.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/static/new-agent.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/static/report.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/static/runs.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/static/schedules.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/static/setup.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/static/styles.css +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/static/tickets.html +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/ui/swagger.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/updater.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/url_access.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/vps_health.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/vps_identity.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/sdk/write_hook.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/setup.cfg +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_activity_claude_runs.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_activity_collectors.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_activity_core.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_activity_live_tracking.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_activity_macos.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_activity_os_setup.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_activity_pipeline.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_agent_activity.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_agent_activity_tracking.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_agent_chat_features.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_agent_crud_cli.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_agent_listing.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_agent_prompt_async.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_agent_prompt_models.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_agent_run_ticket.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_agent_schedules.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_agent_sharing.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_agent_workspace_settings.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_agents_connectors_builder.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_allowed_tools_config.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_approval_park.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_auto_agent_dispatch.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_auto_ticket_queue.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_backend_only_allowlist.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_browser_profile.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_cheap_tier.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_claude_usage_gate.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_client_jira_projects.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_config_token_diagnostics.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_configure_token_owner.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_console_encoding.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_crash_recovery.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_create_safe_retry.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_deferred_tickets.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_departments.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_done_transition.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_epic_decompose_run.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_epic_inherited_agent_id.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_epic_session_isolation.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_estimator.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_fallback_cli.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_fallback_cli_upgrade.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_fallback_folder_changes.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_fallback_parity.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_fallback_rate_limit.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_fallback_streaming.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_faqs.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_firewall_open_on_update.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_formats.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_git_action.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_github_fetch.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_github_ingest.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_graph_off_by_default.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_graph_recon.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_graphify_build.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_graphify_hook_install.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_health.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_help_actions.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_help_attachments.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_help_questions.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_helpdesk.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_infographic_data.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_install_marker.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_instructions_template.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_intake_job_outcome.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_intake_plan_review.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_journal.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_limit_fallback_handoff.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_local_exec_provider.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_log_colors_backlog.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_mcp_route_contract.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_memory_guard.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_model_policy.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_panel_help.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_panel_ticket_schedules.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_parallel_tickets.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_phase_timer.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_plan_ahead.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_plan_new_command.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_plan_run_activity.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_pool_pr_modes.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_pr_identity.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_prd_artifact.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_project_path_resolution.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_proof_readers.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_providers.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_quiet_run_log.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_recon_session_isolation.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_resume.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_router.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_run_auto_agent_only.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_run_outputs.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_run_verdict_is_honest.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_schedule_api.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_schedule_outputs_and_plans.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_schedule_tickets.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_schedule_timeline.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_scheduler.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_scheduler_transient_retry.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_self_report.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_service_token_warning.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_stale_panel_restart.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_swagger_command.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_task_file_and_plan_run.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_task_file_format_doc.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_theme_switch.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_ticket_board.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_ticket_bulk.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_ticket_cli.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_ticket_detail_view.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_ticket_fields.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_ticket_plan.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_ticket_pools.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_ticket_run_resolve_by_id.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_ticket_schedule_and_agent.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_ticket_speed_fixes.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_tier_flag_parity.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_ui_bruteforce_guard.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_ui_gate.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_ui_lifespan.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_ui_no_native_dialogs.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_update_timer.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_updater_extras.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_updater_ignores_cwd.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_updater_pep668.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_updater_reports_the_truth.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_url_access.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_version_flag.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_vps_health.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_vps_only_reporting.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_windows_loop_identity.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_windows_panel_task.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_windows_stop_and_pidfile.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_windows_task_paths.py +0 -0
- {devops_bot_sdk-1.7.61 → devops_bot_sdk-1.7.62}/tests/test_write_hook.py +0 -0
|
@@ -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.62
|
|
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.62" # 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
|
|
|
@@ -325,7 +325,7 @@ def _print_usage() -> None:
|
|
|
325
325
|
print(" agentos report <submit|list|show ID> # report work Jira/GitHub never saw")
|
|
326
326
|
print(" agentos browser <login URL|status|logout> # sign in once; private links become readable")
|
|
327
327
|
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
|
|
328
|
+
print(" agentos connectors [show NAME|call C A|status] # your AI Draftsman connectors (read and write) in tickets and agents")
|
|
329
329
|
print(" agentos allow-ip [--clear] # who may reach the panel (no outside IP; use an SSH tunnel)")
|
|
330
330
|
print(" agentos firewall [--apply] [--revoke IP] [--port N] # limit the UI port to the allowlisted IPs")
|
|
331
331
|
print(" agentos firewall --any [--apply] # open the UI port to any source (allowlist is the gate)")
|
|
@@ -750,7 +750,7 @@ def _show_draft(draft: dict) -> None:
|
|
|
750
750
|
print(f"name : {draft.get('name') or '-'}")
|
|
751
751
|
print(f"purpose : {draft.get('purpose') or '-'}")
|
|
752
752
|
print(f"inputs : {', '.join(v.get('name', '') for v in draft.get('variables') or []) or '-'}")
|
|
753
|
-
print(f"connectors : {shown} (read
|
|
753
|
+
print(f"connectors : {shown} (read and write)")
|
|
754
754
|
print("prompt :")
|
|
755
755
|
for line in str(draft.get("system_prompt") or "-").splitlines():
|
|
756
756
|
print(f" {line}")
|
|
@@ -819,11 +819,11 @@ def _agent_build(args: list[str]) -> None:
|
|
|
819
819
|
sys.exit(1)
|
|
820
820
|
_show_draft(draft)
|
|
821
821
|
print(f"Editing {draft['name']}. Say what to change; I'll update the prompt and show it.")
|
|
822
|
-
print(f"Your connected connectors (read
|
|
822
|
+
print(f"Your connected connectors (read and write): {names}")
|
|
823
823
|
print("Commands: /draft shows the draft · /save saves the changes · /quit stops\n")
|
|
824
824
|
else:
|
|
825
825
|
print("Let's build an agent. Describe what it should do; I'll ask follow-up questions.")
|
|
826
|
-
print(f"Your connected connectors (read
|
|
826
|
+
print(f"Your connected connectors (read and write): {names}")
|
|
827
827
|
print("Commands: /draft shows the draft · /create creates it · /quit stops\n")
|
|
828
828
|
if conns is not None:
|
|
829
829
|
draft["connectors"] = conns
|
|
@@ -2476,7 +2476,7 @@ def _browser_command(args: list[str]) -> None:
|
|
|
2476
2476
|
def _connectors_usage() -> None:
|
|
2477
2477
|
print("usage: agentos connectors # your connected connectors and their actions")
|
|
2478
2478
|
print(" agentos connectors show NAME # one connector, every action (read / write)")
|
|
2479
|
-
print(" agentos connectors call CONNECTOR ACTION [--params JSON] # read
|
|
2479
|
+
print(" agentos connectors call CONNECTOR ACTION [--params JSON] # read or write; a write acts as you")
|
|
2480
2480
|
print(" agentos connectors status [--json] # signed in? personal key? server ready?")
|
|
2481
2481
|
print()
|
|
2482
2482
|
print(" The apps YOU connected in the AI Draftsman web app (Connectors), used as you —")
|
|
@@ -2505,7 +2505,7 @@ def _connectors_command(args: list[str]) -> None:
|
|
|
2505
2505
|
print(_json.dumps(st, indent=2))
|
|
2506
2506
|
else:
|
|
2507
2507
|
yn = lambda v: "yes" if v else ("no" if v is False else "-") # noqa: E731
|
|
2508
|
-
print(f"in runs : {'yes (read
|
|
2508
|
+
print(f"in runs : {'yes (read and write)' if st['enabled'] else 'no — AGENTOS_CONNECTORS=off'}")
|
|
2509
2509
|
print(f"signed in : {yn(st['signed_in'])}")
|
|
2510
2510
|
print(f"server : {st['base_url'] or '-'}")
|
|
2511
2511
|
print(f"personal : {yn(st['personal'])}")
|
|
@@ -2551,7 +2551,7 @@ def _connectors_command(args: list[str]) -> None:
|
|
|
2551
2551
|
|
|
2552
2552
|
if verb == "call":
|
|
2553
2553
|
if len(rest) < 2:
|
|
2554
|
-
print("usage: agentos connectors call CONNECTOR ACTION [--params JSON] # read
|
|
2554
|
+
print("usage: agentos connectors call CONNECTOR ACTION [--params JSON] # read or write; a write acts as you")
|
|
2555
2555
|
sys.exit(2)
|
|
2556
2556
|
connector, action = rest[0], rest[1]
|
|
2557
2557
|
params: dict = {}
|
|
@@ -2565,7 +2565,7 @@ def _connectors_command(args: list[str]) -> None:
|
|
|
2565
2565
|
print("error: --params needs a JSON object")
|
|
2566
2566
|
sys.exit(2)
|
|
2567
2567
|
try:
|
|
2568
|
-
out = ac.
|
|
2568
|
+
out = ac.run(connector, action, params)
|
|
2569
2569
|
except ac.ConnectorError as exc:
|
|
2570
2570
|
print(f"error: {exc}")
|
|
2571
2571
|
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
|
|
@@ -139,9 +139,9 @@ FAQS: list[tuple[str, str, str]] = [
|
|
|
139
139
|
("Agents", "Which connectors can my agent use?",
|
|
140
140
|
"Only ones **you** have connected in AI Draftsman, and only those you chose when creating it: **Auto** "
|
|
141
141
|
"(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
|
|
142
|
+
"guard refuses any other. Connectors can read and write. Agents created before this use Auto."),
|
|
143
143
|
("Connectors", "Can a ticket or an agent use my Gmail, Slack or Jira?",
|
|
144
|
-
"Yes — to **read**
|
|
144
|
+
"Yes — to **read and write** through the apps **you** connected in the AI Draftsman web app (**Connectors**), as you; "
|
|
145
145
|
"no password or token is stored on this machine.\n"
|
|
146
146
|
"1. Sign in personally: `agentos fallback login` (an `ad login`; keys from the API keys page are "
|
|
147
147
|
"workspace keys and have no connectors).\n"
|
|
@@ -150,9 +150,10 @@ FAQS: list[tuple[str, str, str]] = [
|
|
|
150
150
|
"one, type `@` in the description and pick it (only your connected ones are offered), e.g. `@slack`.\n"
|
|
151
151
|
"Connecting and disconnecting apps happens in the web app; the SDK only uses them."),
|
|
152
152
|
("Connectors", "Can a ticket or agent post, send or create things through my connectors?",
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"
|
|
153
|
+
"Yes (since 1.7.62). Runs can read (list channels, get an issue, search mail) **and write** (post, send, "
|
|
154
|
+
"create, run a command or write a file on a VPS) through your connectors, as you, for real. Say in the "
|
|
155
|
+
"ticket or the agent's rules when it may write. On the Connectors page, read actions have **Try**, and "
|
|
156
|
+
"write actions have **Run**, which asks you to confirm first. `agentos connectors call` runs either."),
|
|
156
157
|
("Connectors", "Why does `agentos connectors` say \"not tied to a person\" or show nothing?",
|
|
157
158
|
"1. **\"not tied to a person\"** — this machine is signed in with a workspace key. Run "
|
|
158
159
|
"`agentos fallback login --browser` and approve it yourself.\n"
|
|
@@ -71,6 +71,15 @@
|
|
|
71
71
|
"latest_pr": 191,
|
|
72
72
|
"latest_date": "2026-11-03"
|
|
73
73
|
},
|
|
74
|
+
{
|
|
75
|
+
"area": "Connectors",
|
|
76
|
+
"changes_30d": 1,
|
|
77
|
+
"features_30d": 1,
|
|
78
|
+
"fixes_30d": 0,
|
|
79
|
+
"latest": "allow write actions everywhere — runs, `agentos connectors call` and the panel",
|
|
80
|
+
"latest_pr": 198,
|
|
81
|
+
"latest_date": "2026-11-05"
|
|
82
|
+
},
|
|
74
83
|
{
|
|
75
84
|
"area": "Daemon",
|
|
76
85
|
"changes_30d": 1,
|
|
@@ -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,14 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"pr": 198,
|
|
4
|
+
"date": "2026-11-05",
|
|
5
|
+
"merged_at": "2026-11-05T16:30:27+05:00",
|
|
6
|
+
"type": "Feature",
|
|
7
|
+
"area": "Connectors",
|
|
8
|
+
"title": "allow write actions everywhere — runs, `agentos connectors call` and the panel",
|
|
9
|
+
"version": "1.7.62",
|
|
10
|
+
"url": "https://github.com/consultancy-outfit/DevOpsBot-SDK/pull/198"
|
|
11
|
+
},
|
|
2
12
|
{
|
|
3
13
|
"pr": 196,
|
|
4
14
|
"date": "2026-11-04",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"version": "1.7.62",
|
|
4
|
+
"commit": "df05165",
|
|
5
|
+
"pushed_at": "2026-11-05T16:30:27+05:00",
|
|
6
|
+
"generated_at": "2026-11-05T11:31:57+00:00",
|
|
7
|
+
"commands": 66,
|
|
8
|
+
"commands_invalid": 0,
|
|
9
|
+
"commands_undocumented": 0,
|
|
10
|
+
"panel_pages": 13,
|
|
11
|
+
"tests": 2709,
|
|
12
|
+
"prs_7d": 8,
|
|
13
|
+
"prs_30d": 47,
|
|
14
|
+
"features_30d": 16,
|
|
15
|
+
"fixes_30d": 19
|
|
16
|
+
}
|
|
17
|
+
]
|
|
@@ -534,23 +534,22 @@ dashboard card, a line in the chart and a **Backlog** tab on the Tickets page
|
|
|
534
534
|
`Bash(git:*)`, `--settings` PreToolUse hooks) is documented in the ai-draftsman-cli
|
|
535
535
|
README ("Headless runs").
|
|
536
536
|
|
|
537
|
-
## AI Draftsman connectors (Gmail, Slack, Jira …) — read
|
|
537
|
+
## AI Draftsman connectors (Gmail, Slack, Jira …) — read and write, in tickets and agents
|
|
538
538
|
|
|
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),
|
|
539
|
+
The apps a person connected in the AI Draftsman web app (**Connectors**) are **read and
|
|
540
|
+
written** by ticket runs and agent runs (Agents page, schedules, ticket-triggered agents),
|
|
541
541
|
**as that person**: the platform holds the credentials and performs each call;
|
|
542
542
|
nothing secret is stored on the VPS. The SDK **uses** connectors, it never
|
|
543
543
|
manages them: connect / disconnect happens in the web app.
|
|
544
544
|
|
|
545
|
-
- **Read
|
|
546
|
-
(
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
(
|
|
551
|
-
|
|
552
|
-
read,
|
|
553
|
-
by design.
|
|
545
|
+
- **Read and write (since 1.7.62).** Runs, `agentos connectors call` and the panel
|
|
546
|
+
(**Try** for reads, **Run** with a confirm for writes) may use write actions too:
|
|
547
|
+
posting, sending, creating, running a command or writing a file on a VPS, as the
|
|
548
|
+
person, for real, with no approval step in runs. Until 1.7.61 every write was
|
|
549
|
+
refused ("my ticket did not post to Slack" was that). The PreToolUse guard
|
|
550
|
+
(`sdk/hooks/crucial_guard.py`) still keeps an agent to its selected connectors.
|
|
551
|
+
`sdk/crucial.py:connector_write` now only classifies an action (the platform's
|
|
552
|
+
read/write flag, else the read-verb rule) for labels.
|
|
554
553
|
- **Needs** a personal sign-in: `agentos fallback login` (`ad login`, device sign-in).
|
|
555
554
|
A key from the API keys page is a workspace key → "not tied to a person", no
|
|
556
555
|
connectors. Keys from before connectors existed: sign in again.
|
|
@@ -614,7 +613,7 @@ agentos-auto set-status K… --to "To Do" [--from STATUS]
|
|
|
614
613
|
agentos agentd start [--foreground] | status
|
|
615
614
|
agentos agent list
|
|
616
615
|
agentos fallback install | login [--browser|--api-key] | status [--verify] | logout
|
|
617
|
-
agentos connectors [show NAME | status [--json]] # your AI Draftsman connectors (read
|
|
616
|
+
agentos connectors [show NAME | status [--json]] # your AI Draftsman connectors (read and write in tickets/agents)
|
|
618
617
|
agentos connectors call CONNECTOR ACTION [--params JSON] # run one action as you, from the CLI
|
|
619
618
|
agentos agent build # create an agent by chatting
|
|
620
619
|
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:
|
|
@@ -1903,18 +1903,14 @@ async def connectors_status() -> dict:
|
|
|
1903
1903
|
|
|
1904
1904
|
@router.post("/ai-connectors/try", dependencies=[_auth])
|
|
1905
1905
|
async def connectors_try(body: ConnectorTryRequest) -> dict:
|
|
1906
|
-
"""Run one
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
creating) is refused with 400 and nothing is sent (sdk.ai_connectors.read).
|
|
1910
|
-
"""
|
|
1906
|
+
"""Run one action of a connected connector from the panel: a read (Try) or a
|
|
1907
|
+
write (Run, after the panel's confirm). Writes are allowed since 1.7.62
|
|
1908
|
+
(``sdk.ai_connectors.run``); the response says which it was (``writes``)."""
|
|
1911
1909
|
import asyncio
|
|
1912
1910
|
|
|
1913
1911
|
from sdk import ai_connectors as ac
|
|
1914
1912
|
try:
|
|
1915
|
-
return await asyncio.to_thread(ac.
|
|
1916
|
-
except ac.NotARead as exc:
|
|
1917
|
-
raise HTTPException(status_code=400, detail=str(exc))
|
|
1913
|
+
return await asyncio.to_thread(ac.run, body.connector, body.action, body.params)
|
|
1918
1914
|
except ac.ConnectorError as exc:
|
|
1919
1915
|
status = 404 if ("not one of your connected" in str(exc) or "has no action" in str(exc)) else 400
|
|
1920
1916
|
raise HTTPException(status_code=status, detail=str(exc))
|
|
@@ -649,7 +649,7 @@
|
|
|
649
649
|
const draw = () => {
|
|
650
650
|
menu.innerHTML = hits.map((c, i) =>
|
|
651
651
|
`<button type="button" role="option" class="cn-opt${i === sel ? " on" : ""}" aria-selected="${i === sel}" data-i="${i}">` +
|
|
652
|
-
`<b>@${esc(c.connector)}</b><span class="muted">${esc(c.name || "")} · read
|
|
652
|
+
`<b>@${esc(c.connector)}</b><span class="muted">${esc(c.name || "")} · read & write</span></button>`).join("");
|
|
653
653
|
menu.querySelectorAll(".cn-opt").forEach(b => b.addEventListener("mousedown", e => { e.preventDefault(); pick(Number(b.dataset.i)); }));
|
|
654
654
|
menu.classList.toggle("hidden", !hits.length);
|
|
655
655
|
};
|
|
@@ -725,7 +725,7 @@
|
|
|
725
725
|
<span class="cn-badge" aria-hidden="true">${esc((c.name || c.connector).slice(0, 1).toUpperCase())}</span>
|
|
726
726
|
<span class="s"><b>${esc(c.name || c.connector)}</b> <span class="muted mono">@${esc(c.connector)}</span>
|
|
727
727
|
${who ? `<br><span class="muted">${esc(who)}</span>` : ""}</span>
|
|
728
|
-
<span class="tp">${reads} read
|
|
728
|
+
<span class="tp">${reads} read · ${writes} write</span>
|
|
729
729
|
</li>`;
|
|
730
730
|
}).join("") + `</ul>`;
|
|
731
731
|
$("cn-pager").innerHTML = pagerHtml("cn", rows.length, PER);
|
|
@@ -748,21 +748,23 @@
|
|
|
748
748
|
$("cn-pk-at").textContent = `@${c.connector}`;
|
|
749
749
|
$("cn-pk-props").innerHTML = prop("Account", esc(acct.email || acct.name || acct.site || "")) +
|
|
750
750
|
prop("Provider", esc(c.provider || "")) + prop("About", esc(c.description || "")) +
|
|
751
|
-
prop("In runs", "tickets and agents read it as you,
|
|
751
|
+
prop("In runs", "tickets and agents read and write through it as you, via AI Draftsman");
|
|
752
752
|
const acts = c.actions || [];
|
|
753
753
|
$("cn-pk-acts").innerHTML = acts.length ? acts.map((a, k) =>
|
|
754
754
|
`<li class="cn-act"><span class="tp ${a.writes ? "st-warn" : "st-ok"}">${a.writes ? "write" : "read"}</span>
|
|
755
755
|
<span class="s"><b class="mono">${esc(a.action)}</b>${a.description ? `<br><span class="muted">${esc(a.description)}</span>` : ""}</span>
|
|
756
|
-
${a.writes ?
|
|
756
|
+
<button type="button" class="btn sm${a.writes ? " danger" : ""}" data-try="${k}">${a.writes ? "Run" : "Try"}</button></li>`).join("")
|
|
757
757
|
: `<li class="muted">This connector lists no actions.</li>`;
|
|
758
758
|
$("cn-pk-acts").querySelectorAll("[data-try]").forEach(b => b.addEventListener("click", async () => {
|
|
759
759
|
const a = acts[Number(b.dataset.try)];
|
|
760
760
|
let params = {};
|
|
761
761
|
const ans = await askDialog({
|
|
762
|
-
title:
|
|
763
|
-
body:
|
|
762
|
+
title: `${a.writes ? "Run" : "Try"} ${c.connector} / ${a.action}`,
|
|
763
|
+
body: a.writes
|
|
764
|
+
? "A WRITE action: it changes something for real (posts, sends, creates, runs a command or writes a file), as you, through AI Draftsman. Check the parameters before you run it."
|
|
765
|
+
: "A read action: it changes nothing. It runs as you, through AI Draftsman.",
|
|
764
766
|
label: "Parameters (JSON object, or leave {} for none)", value: "{}", multiline: true,
|
|
765
|
-
confirmLabel: "Run",
|
|
767
|
+
confirmLabel: a.writes ? "Run the write" : "Run",
|
|
766
768
|
});
|
|
767
769
|
if (!ans) return;
|
|
768
770
|
try { params = ans.value.trim() ? JSON.parse(ans.value) : {}; } catch (e) { toast("That is not valid JSON.", "err"); return; }
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
<div class="bd">
|
|
30
30
|
<div class="md cn-how">
|
|
31
31
|
<ul>
|
|
32
|
-
<li><b>Read
|
|
33
|
-
connected (list channels, get an issue, search mail)
|
|
34
|
-
|
|
35
|
-
AI Draftsman web app (<b>Connectors</b>).</li>
|
|
32
|
+
<li><b>Read and write, used — not managed here.</b> Tickets and agents read from the apps you
|
|
33
|
+
connected (list channels, get an issue, search mail) and can also <em>write</em> through them
|
|
34
|
+
(post, send, create, run a command or write a file on a server), as you, for real. Connect or
|
|
35
|
+
disconnect apps in the AI Draftsman web app (<b>Connectors</b>).</li>
|
|
36
36
|
<li><b>Auto:</b> a run is told which connectors you have and picks the right one itself —
|
|
37
37
|
“summarise yesterday's #dev discussion” reads Slack if Slack is connected.</li>
|
|
38
38
|
<li><b>Choose one:</b> type <code>@</code> in a ticket's description or instructions (or New work) and
|
|
@@ -68,7 +68,8 @@
|
|
|
68
68
|
<section class="pk-sec">
|
|
69
69
|
<h3>Use it in a ticket or agent</h3>
|
|
70
70
|
<p class="muted">Write <code id="cn-pk-at"></code> in a ticket's description, or just describe the job —
|
|
71
|
-
the run
|
|
71
|
+
the run uses it when the task needs it, reading or writing as you. <b>Run</b> on a write action changes
|
|
72
|
+
something for real.</p>
|
|
72
73
|
</section>
|
|
73
74
|
<section class="pk-sec hidden" id="cn-pk-out-wrap">
|
|
74
75
|
<h3>Result</h3>
|
|
@@ -49,7 +49,7 @@ class TestChatParsing:
|
|
|
49
49
|
|
|
50
50
|
def test_the_prompt_offers_only_connected_connectors(self):
|
|
51
51
|
p = ab.build_turn_prompt("hi", [], {}, CONNECTED)
|
|
52
|
-
assert "CONNECTED connectors: slack (Slack), jira (Jira)" in p and "READ
|
|
52
|
+
assert "CONNECTED connectors: slack (Slack), jira (Jira)" in p and "READ and WRITE" in p
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
class TestTemplatesAndPayload:
|