manigent 1.3.4__tar.gz → 1.3.5__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.
- {manigent-1.3.4 → manigent-1.3.5}/PKG-INFO +1 -1
- {manigent-1.3.4 → manigent-1.3.5}/manigent/api/client.py +7 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_plan.py +26 -9
- {manigent-1.3.4 → manigent-1.3.5}/manigent/llm/codex_cli.py +11 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/host.py +41 -1
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/project_plan.py +110 -3
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/invocation_registry.py +19 -1
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/reactive_loop.py +16 -0
- manigent-1.3.5/manigent/runner/working_report.py +96 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/plan/SKILL.md +11 -1
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/plan/reference/consult-and-acceptance.md +6 -4
- {manigent-1.3.4 → manigent-1.3.5}/manigent.egg-info/PKG-INFO +1 -1
- {manigent-1.3.4 → manigent-1.3.5}/manigent.egg-info/SOURCES.txt +1 -0
- {manigent-1.3.4 → manigent-1.3.5}/pyproject.toml +1 -1
- {manigent-1.3.4 → manigent-1.3.5}/LICENSE +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/README.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/_manigent_plugin/LICENSE +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/_manigent_plugin/README.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/_manigent_plugin/references/cli-reference.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/_manigent_plugin/skills/bootstrap/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/_manigent_plugin/skills/install-agent/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/_manigent_plugin/skills/login/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/_manigent_plugin/skills/logout/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/_manigent_plugin/skills/register-agent/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/_manigent_plugin/skills/register-assistant/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/_manigent_plugin/skills/signup/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/_manigent_plugin/skills/start/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/_manigent_plugin/skills/stop/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/api/action_executor.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/api/action_outbox.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/api/action_validator.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/api/actions.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/api/control.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/api/edge_protocol.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/api/fs_protocol.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/api/host_protocol.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/api/managed_job_client.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/api/responses.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/api/retry_transport.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/api/turn_protocol.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_brief.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_browser.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_caldav.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_client.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_daemon.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_doctor.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_env.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_fs.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_gcal.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_gdrive.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_gdrive_write.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_gmail.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_homekit.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_http_api.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_hub.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_ib.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_job.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_knowledge_dir.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_lifecycle.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_mailbox.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_mcp_pack.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_media.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_model_config.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_oauth.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_osxphotos.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_runner.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_skill.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_skill_pack.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_sop.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_thread.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/cli_todo.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/doctor.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/integrations/_config_resolve.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/integrations/auth/google_oauth.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/integrations/browser/_daemon.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/integrations/browser/_lib.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/integrations/caldav/_lib.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/integrations/gcal/_lib.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/integrations/gdrive/_lib.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/integrations/gdrive_write/_lib.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/integrations/gmail/_lib.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/integrations/homekit/_lib.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/integrations/http_api/_client.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/integrations/ib/_lib.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/integrations/mailbox/_lib.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/integrations/media/_lib.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/integrations/osxphotos/_lib.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/llm/_harness_tools.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/llm/_openai_wire.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/llm/_structured_text.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/llm/antigravity_cli.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/llm/api_provider.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/llm/base.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/llm/claude_cli.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/llm/native_harness.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/llm/opencode_cli.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/llm/pricing.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/llm/prompt_builder.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/llm/smart_router.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/llm/triggers.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/mcp/config_resolve.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/mcp/manifest.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/mcp/personal.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/mcp/servers/chess_server.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/mcp/servers/chess_view.html +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/agent.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/agent_bundle.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/brief_tab.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/chat_message.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/chatroom.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/context.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/desk_label.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/desk_read_state.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/desk_sign_off.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/desk_sop.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/desk_todo.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/desk_todo_link.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/file_cache.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/install_token.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/invitation_code.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/knowledge_pack.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/managed_job.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/mcp_pack.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/model_config.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/model_defaults.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/onboarding_plan.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/participant.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/persistable.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/plan_markdown.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/project.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/project_report.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/provenance.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/provider_agents.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/public_request.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/reflection_schedule.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/scheduled_message.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/share_token.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/skill_pack.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/skill_version.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/sop_template.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/user.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/models/work_tracker.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/agent_dir_readmes.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/connect_catch_up.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/cost_recorder.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/egress_proxy.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/home_fs.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/home_fs_handler.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/home_fs_win.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/host_report.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/job_supervisor.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/knowledge_dir_migration.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/knowledge_pack_manager.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/mcp_manager.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/mcp_probe.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/mcp_provider_support.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/model_auth_proxy.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/netshim.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/participant_notifier.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/personal_skill_manager.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/references_index.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/repo_push.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/requester_workspace.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/resync.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/secret_redaction.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/skill_manager.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/skill_pack_manager.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/sop_skill_manager.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/system_skill_manager.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/turn_capability.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/turn_home.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/turn_sandbox.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/turn_scope.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/runner/turn_session.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/sync/changelog.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/sync/console_subscriber.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/sync/runloop.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/sync/runloop_manager.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/sync/subscriber.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/author-brief-tab/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/author-brief-tab/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/bootstrap/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/bootstrap/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/LICENSE.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/BigShoulders-Bold.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/BigShoulders-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/BigShoulders-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Boldonse-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Boldonse-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/DMMono-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/DMMono-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/EricaOne-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/EricaOne-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/GeistMono-Bold.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/GeistMono-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/GeistMono-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Gloock-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Gloock-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Italiana-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Italiana-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Jura-Light.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Jura-Medium.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Jura-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Lora-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/NationalPark-Bold.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/NationalPark-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/NationalPark-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Outfit-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/PixelifySans-Medium.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/PixelifySans-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/PoiretOne-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/PoiretOne-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/RedHatMono-Bold.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/RedHatMono-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/RedHatMono-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Silkscreen-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Silkscreen-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/SmoochSans-Medium.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/SmoochSans-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Tektur-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/WorkSans-Bold.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/WorkSans-Italic.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/WorkSans-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/WorkSans-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/YoungSerif-OFL.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/canvas-design/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/coding-philosophy/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/coding-philosophy/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/coding-plan/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/coding-plan/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/coding-project-completion-report/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/coding-project-completion-report/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/coding-project-completion-report/reference/data-and-render-recipes.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/continue-thread/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/continue-thread/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/control-agent/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/control-agent/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/create-project/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/create-project/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/create-specialist-agent/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/create-specialist-agent/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/decide-plan-as-owner/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/decide-plan-as-owner/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/desk-sop/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/desk-sop/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/desk-sop-publish/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/desk-sop-publish/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/desk-todo/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/desk-todo/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/desk-todo-publish/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/desk-todo-publish/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/direct-message/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/direct-message/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/env-var/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/env-var/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/explain-as-page/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/explain-as-page/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/find-consultant/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/find-consultant/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/fs/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/fs/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/git-workflow/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/git-workflow/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/install-agent/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/install-agent/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/invoke-timeout/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/invoke-timeout/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/isolation-check/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/isolation-check/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/login/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/login/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/logout/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/logout/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/manage-mcps/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/manage-mcps/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/manage-project-roster/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/manage-project-roster/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/manage-skills/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/manage-skills/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/manage-team/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/manage-team/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/managed-background-job/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/managed-background-job/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/mcp-pack/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/mcp-pack/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/personal-mcp/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/personal-mcp/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/personal-skill/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/personal-skill/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/personalize-agent/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/personalize-agent/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/personalize-assistant/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/personalize-assistant/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/plan/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/plan/reference/layers-and-conventions.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/plan/reference/notes.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/plan/reference/writing.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/post-chat-message/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/post-chat-message/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/project-completion-report/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/project-completion-report/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/propose-project/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/propose-project/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/reconfigure-agent/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/reconfigure-agent/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/reflect/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/reflect/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/register-agent/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/register-agent/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/register-assistant/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/register-assistant/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/relay-to-agent/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/relay-to-agent/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/remind-me/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/remind-me/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/route-request/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/route-request/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/schedule-message/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/schedule-message/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/signup/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/signup/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/skill-pack/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/skill-pack/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/staff-request/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/staff-request/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/start/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/start/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/stop/SKILL.md +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/stop/manifest.json +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/utils/agent_processes.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/utils/agent_storage.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/utils/email.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/utils/env_store.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/utils/extra_dirs.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/utils/file_io.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/utils/invoke_timeout.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/utils/jsonc.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/utils/knowledge_index.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/utils/nofollow_fs.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/utils/notification_center.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent/utils/version.py +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent.egg-info/dependency_links.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent.egg-info/entry_points.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent.egg-info/requires.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/manigent.egg-info/top_level.txt +0 -0
- {manigent-1.3.4 → manigent-1.3.5}/setup.cfg +0 -0
|
@@ -539,6 +539,13 @@ class ManigentClient:
|
|
|
539
539
|
resp.raise_for_status()
|
|
540
540
|
return int(resp.json().get("restored", 0))
|
|
541
541
|
|
|
542
|
+
async def put_working(self, agent_id: str, turns: int) -> None:
|
|
543
|
+
"""Tell the server how many turns this runner has in flight (a cloud
|
|
544
|
+
computer's runner only; runner/working_report.py)."""
|
|
545
|
+
url = f"{self._base_url}/agents/{agent_id}/working"
|
|
546
|
+
resp = await self._http.put(url, json={"turns": turns})
|
|
547
|
+
resp.raise_for_status()
|
|
548
|
+
|
|
542
549
|
async def get_changelog(
|
|
543
550
|
self,
|
|
544
551
|
project_id: str,
|
|
@@ -395,7 +395,7 @@ def _show_note(index: dict, note_id: str, diff: bool) -> None:
|
|
|
395
395
|
note = next((n for n in notes if n["id"] == note_id), None)
|
|
396
396
|
if note is None:
|
|
397
397
|
raise _fail(f"note {note_id!r} is not on this plan.")
|
|
398
|
-
typer.echo(f"{note['id']} [{note
|
|
398
|
+
typer.echo(f"{note['id']} [{_shown_status(note)}/{note['kind']}] "
|
|
399
399
|
f"by {note['by'] or '—'} to {note['to'] or '(nobody)'} "
|
|
400
400
|
f"section `{note['section'] or '—'}` {note.get('at', '')[:10]}")
|
|
401
401
|
if note.get("comment"):
|
|
@@ -1013,11 +1013,13 @@ def resolve(
|
|
|
1013
1013
|
route to approving their own project. ``plan list-notes <project> --to
|
|
1014
1014
|
user`` prints the id.
|
|
1015
1015
|
|
|
1016
|
-
**``--dismiss``
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1016
|
+
**``--dismiss`` by the owner on an agent's note means "read, and its
|
|
1017
|
+
recommendations accepted"**: on the confirm note that is the plan's
|
|
1018
|
+
acceptance, on any other agent's note it closes the note ``approved`` and
|
|
1019
|
+
posts the author a message asking it to carry the recommendations out. The
|
|
1020
|
+
server refuses it on a note that proposes a text change (accept or reject
|
|
1021
|
+
that one) and refuses every other verb on the confirm note by name
|
|
1022
|
+
(``_refuse_go_note_close``).
|
|
1021
1023
|
"""
|
|
1022
1024
|
chosen = [n for n, on in
|
|
1023
1025
|
(("apply", apply), ("reject", reject), ("answered", answered), ("dismiss", dismiss))
|
|
@@ -1084,6 +1086,20 @@ def resolve(
|
|
|
1084
1086
|
# ---------------------------------------------------------------------------
|
|
1085
1087
|
|
|
1086
1088
|
|
|
1089
|
+
def _shown_status(note: dict) -> str:
|
|
1090
|
+
"""The status as people and agents should read it. An agent's note the user
|
|
1091
|
+
closed with Dismiss/Approve is stored ``dismissed`` but means the user read
|
|
1092
|
+
it and accepts its recommendations, so it is shown ``approved``."""
|
|
1093
|
+
status = note.get("status", "")
|
|
1094
|
+
if (
|
|
1095
|
+
status == "dismissed"
|
|
1096
|
+
and note.get("resolved_by") == "user"
|
|
1097
|
+
and note.get("by") not in ("", None, "user")
|
|
1098
|
+
):
|
|
1099
|
+
return "approved"
|
|
1100
|
+
return status
|
|
1101
|
+
|
|
1102
|
+
|
|
1087
1103
|
def _note_row(note: dict) -> str:
|
|
1088
1104
|
marks = "".join(
|
|
1089
1105
|
m for m, on in (
|
|
@@ -1094,7 +1110,7 @@ def _note_row(note: dict) -> str:
|
|
|
1094
1110
|
) if on
|
|
1095
1111
|
)
|
|
1096
1112
|
return (
|
|
1097
|
-
f"{note['id']:<10} {note
|
|
1113
|
+
f"{note['id']:<10} {_shown_status(note):<10} {note['kind']:<10} "
|
|
1098
1114
|
f"{(note['section'] or '—'):<20} {(note['by'] or '—'):<24} "
|
|
1099
1115
|
f"→ {(note['to'] or '(nobody)'):<24} {marks:<4} "
|
|
1100
1116
|
f"{(note.get('comment') or '').splitlines()[0][:48] if note.get('comment') else ''}"
|
|
@@ -1148,7 +1164,7 @@ def list_notes(
|
|
|
1148
1164
|
|
|
1149
1165
|
|
|
1150
1166
|
def _matches(note: dict, **f) -> bool:
|
|
1151
|
-
if f["status"] and
|
|
1167
|
+
if f["status"] and f["status"] not in (note["status"], _shown_status(note)):
|
|
1152
1168
|
return False
|
|
1153
1169
|
if f["section"] and note["section"] != f["section"]:
|
|
1154
1170
|
return False
|
|
@@ -1239,7 +1255,8 @@ def conflicts(
|
|
|
1239
1255
|
else:
|
|
1240
1256
|
typer.echo(
|
|
1241
1257
|
f" Take it: manigent plan resolve {project} {note['id']} --apply --force\n"
|
|
1242
|
-
f" Drop it: manigent plan resolve {project} {note['id']} --
|
|
1258
|
+
f" Drop it: manigent plan resolve {project} {note['id']} --reject --reason \"<why>\" "
|
|
1259
|
+
f"(owner; the keeper drops its own with --dismiss)"
|
|
1243
1260
|
)
|
|
1244
1261
|
|
|
1245
1262
|
|
|
@@ -195,6 +195,14 @@ class CodexCLI(SubprocessLLMProvider):
|
|
|
195
195
|
env[BASE_URL_KEY_VAR] = self._api_key or env.get(BASE_URL_KEY_VAR) or "manigent-local"
|
|
196
196
|
return env
|
|
197
197
|
|
|
198
|
+
def _text_env(self) -> dict[str, str]:
|
|
199
|
+
"""The scrubbed titling environment, plus the base URL's key, which
|
|
200
|
+
the provider block's ``env_key`` names (the allowlist drops it)."""
|
|
201
|
+
env = super()._text_env()
|
|
202
|
+
if self._base_url:
|
|
203
|
+
env[BASE_URL_KEY_VAR] = self._build_env()[BASE_URL_KEY_VAR]
|
|
204
|
+
return env
|
|
205
|
+
|
|
198
206
|
def _base_url_overrides(self) -> list[str]:
|
|
199
207
|
"""``-c`` overrides pointing a full turn at ``base_url``. Never in a
|
|
200
208
|
scoped turn: its CODEX_HOME already names the model-auth proxy."""
|
|
@@ -365,6 +373,9 @@ class CodexCLI(SubprocessLLMProvider):
|
|
|
365
373
|
]
|
|
366
374
|
if self._model:
|
|
367
375
|
cmd.extend(["-m", self._model])
|
|
376
|
+
# Titling talks to the same endpoint as the agent's turns: with a
|
|
377
|
+
# base URL set it must never fall back to the machine's codex login.
|
|
378
|
+
cmd.extend(self._base_url_overrides())
|
|
368
379
|
return PreparedInvocation(
|
|
369
380
|
cmd=cmd,
|
|
370
381
|
cwd=codex_cwd,
|
|
@@ -95,6 +95,9 @@ REVOKED_KEY_COPIED = "key_copied"
|
|
|
95
95
|
# records never count, whoever revoked them.
|
|
96
96
|
MAX_COMPUTERS_PER_ACCOUNT = 20
|
|
97
97
|
|
|
98
|
+
# ``HostRecord.managed_by`` of a Manigent cloud computer.
|
|
99
|
+
MANAGED_BY_POOL = "pool"
|
|
100
|
+
|
|
98
101
|
|
|
99
102
|
class TooManyComputers(Exception):
|
|
100
103
|
"""The account already has :data:`MAX_COMPUTERS_PER_ACCOUNT` paired
|
|
@@ -212,6 +215,16 @@ class HostRecord(BaseModel):
|
|
|
212
215
|
# can change that). None = the machine's software predates the terminal,
|
|
213
216
|
# which the page reads as "update this computer", not as "off".
|
|
214
217
|
terminal_enabled: Optional[bool] = None
|
|
218
|
+
# Who runs this machine for the owner: None = the owner's own computer
|
|
219
|
+
# (paired by them); MANAGED_BY_POOL = a Manigent cloud computer, created by
|
|
220
|
+
# the server and run by manigent-pool (server/cloud_computers.py). The
|
|
221
|
+
# only differences live here and in the provisioner: it is woken before a
|
|
222
|
+
# delivery, slept when idle, updated by image rollout, never self-updated.
|
|
223
|
+
managed_by: Optional[str] = None
|
|
224
|
+
|
|
225
|
+
@property
|
|
226
|
+
def is_managed(self) -> bool:
|
|
227
|
+
return self.managed_by is not None
|
|
215
228
|
|
|
216
229
|
@property
|
|
217
230
|
def is_revoked(self) -> bool:
|
|
@@ -512,6 +525,9 @@ async def register_host(
|
|
|
512
525
|
os_version: str = "",
|
|
513
526
|
daemon_version: Optional[str] = None,
|
|
514
527
|
minted_by_sid: Optional[str] = None,
|
|
528
|
+
managed_by: Optional[str] = None,
|
|
529
|
+
name: Optional[str] = None,
|
|
530
|
+
may_create=None,
|
|
515
531
|
) -> tuple[HostRecord, str]:
|
|
516
532
|
"""Create a host record. Returns ``(record, raw_token)``.
|
|
517
533
|
|
|
@@ -525,16 +541,24 @@ async def register_host(
|
|
|
525
541
|
|
|
526
542
|
Raises :class:`TooManyComputers` at :data:`MAX_COMPUTERS_PER_ACCOUNT`,
|
|
527
543
|
checked under the lock so two pairings racing cannot both squeeze in.
|
|
544
|
+
``may_create(existing_records)`` is an extra check run under the same lock
|
|
545
|
+
(a cloud computer's own cap); it raises to refuse.
|
|
546
|
+
|
|
547
|
+
A cloud computer (``managed_by``) is the one exception to "created by the
|
|
548
|
+
machine's own pairing call": the server creates it and hands the key to
|
|
549
|
+
the provisioner, which writes it onto the new computer.
|
|
528
550
|
"""
|
|
529
551
|
async with _lock:
|
|
530
552
|
if at_computer_limit(data_dir, owner_user_id):
|
|
531
553
|
raise TooManyComputers(owner_user_id)
|
|
554
|
+
if may_create is not None:
|
|
555
|
+
may_create(list_hosts(data_dir, owner_user_id))
|
|
532
556
|
host_id = secrets.token_hex(8)
|
|
533
557
|
token = secrets.token_urlsafe(32)
|
|
534
558
|
record = HostRecord(
|
|
535
559
|
id=host_id,
|
|
536
560
|
owner_user_id=owner_user_id,
|
|
537
|
-
name=default_host_name(hostname),
|
|
561
|
+
name=name or default_host_name(hostname),
|
|
538
562
|
hostname=hostname,
|
|
539
563
|
platform=platform,
|
|
540
564
|
os_version=os_version,
|
|
@@ -543,6 +567,7 @@ async def register_host(
|
|
|
543
567
|
last_seen_at=_now(),
|
|
544
568
|
daemon_version=daemon_version,
|
|
545
569
|
minted_by_sid=minted_by_sid,
|
|
570
|
+
managed_by=managed_by,
|
|
546
571
|
)
|
|
547
572
|
_save(data_dir, record)
|
|
548
573
|
return record, token
|
|
@@ -767,6 +792,21 @@ async def revoke_host(
|
|
|
767
792
|
return record
|
|
768
793
|
|
|
769
794
|
|
|
795
|
+
async def discard_unused_host(data_dir: Path, owner_user_id: str, host_id: str) -> bool:
|
|
796
|
+
"""Remove a host record that never ran: a cloud computer the pool refused
|
|
797
|
+
to create (``server/cloud_computers.py``). Its key never left the server,
|
|
798
|
+
so there is nothing to revoke and nothing for the Computers page to show.
|
|
799
|
+
Never used for a computer that connected: those are revoked, not removed.
|
|
800
|
+
Returns whether a record was removed."""
|
|
801
|
+
async with _lock:
|
|
802
|
+
path = _host_path(data_dir, owner_user_id, host_id)
|
|
803
|
+
record = _load(path)
|
|
804
|
+
if record is None or record.last_command is not None or record.agents:
|
|
805
|
+
return False
|
|
806
|
+
path.unlink(missing_ok=True)
|
|
807
|
+
return True
|
|
808
|
+
|
|
809
|
+
|
|
770
810
|
async def dismiss_revoked_notices(
|
|
771
811
|
data_dir: Path, owner_user_id: str, host_id: Optional[str] = None,
|
|
772
812
|
) -> int:
|
|
@@ -5239,6 +5239,7 @@ async def resolve_note(
|
|
|
5239
5239
|
|
|
5240
5240
|
if action != "apply":
|
|
5241
5241
|
_refuse_unsent_self_close(plan, note, by=by)
|
|
5242
|
+
_refuse_owner_dismiss_of_proposal(note, action, by=by)
|
|
5242
5243
|
|
|
5243
5244
|
result = WriteResult(ok=True, revision=plan.revision)
|
|
5244
5245
|
|
|
@@ -5502,6 +5503,32 @@ def _refuse_unsent_self_close(plan: ProjectPlan, note: PlanNote, *, by: str) ->
|
|
|
5502
5503
|
)
|
|
5503
5504
|
|
|
5504
5505
|
|
|
5506
|
+
def _refuse_owner_dismiss_of_proposal(note: PlanNote, verb: str, *, by: str) -> None:
|
|
5507
|
+
"""**The user's Dismiss on an agent's note means "read, and accepted".**
|
|
5508
|
+
|
|
5509
|
+
So it cannot be offered on a note that carries an exact text change: there
|
|
5510
|
+
Accept applies the change and Reject refuses it, and a third close that
|
|
5511
|
+
reads as yes but leaves the document as it was is the trap. The browser no
|
|
5512
|
+
longer shows Dismiss on such a note; this is the same rule on both server
|
|
5513
|
+
doors (the tray's submit and the single-note resolve), so the terminal
|
|
5514
|
+
cannot reach the old meaning either.
|
|
5515
|
+
|
|
5516
|
+
Narrow: the owner (``by == OWNER``, which an assistant bearer also is),
|
|
5517
|
+
an agent's note, an open proposal (a delete counts, like ``has_proposal``).
|
|
5518
|
+
The keeper closing a note, the owner withdrawing their own, and the confirm
|
|
5519
|
+
note (it carries no proposal) are untouched.
|
|
5520
|
+
"""
|
|
5521
|
+
if verb != "dismiss" or by != OWNER or note.by == OWNER:
|
|
5522
|
+
return
|
|
5523
|
+
if note.status != "open" or not (note.proposal or note.proposes_delete):
|
|
5524
|
+
return
|
|
5525
|
+
raise PlanConflictError(
|
|
5526
|
+
f"Note {note.id} proposes a change to the plan: accept it to apply the "
|
|
5527
|
+
f"change, or reject it (with a reason) to refuse it. Dismiss would "
|
|
5528
|
+
f"close it as approved without applying anything."
|
|
5529
|
+
)
|
|
5530
|
+
|
|
5531
|
+
|
|
5505
5532
|
def _refuse_go_note_close(note: PlanNote, verb: str, *, by: str = OWNER) -> None:
|
|
5506
5533
|
"""**The go-note closes on ``dismiss`` and on nothing else.**
|
|
5507
5534
|
|
|
@@ -6185,11 +6212,24 @@ class BatchDecision(BaseModel):
|
|
|
6185
6212
|
#: ``fold`` and ``superseded`` map to the EMPTY string on purpose: their reasons
|
|
6186
6213
|
#: (:data:`FOLDED_REASON`, :data:`SUPERSEDED_REASON`) already name their own verb
|
|
6187
6214
|
#: and are whole sentences, so a prefix would say the word twice.
|
|
6215
|
+
#: **What the user's Dismiss on an AGENT'S note means**, told to that agent.
|
|
6216
|
+
#: The button reads Approve on such a note (``dismissLabel`` in the web app)
|
|
6217
|
+
#: and the act is "I read this and accept what it recommends", never "ignored".
|
|
6218
|
+
#: The stored status stays ``dismissed`` so plans on disk read unchanged; only
|
|
6219
|
+
#: the words people and agents read carry the meaning. A note with a text
|
|
6220
|
+
#: change cannot be closed this way (:func:`_refuse_owner_dismiss_of_proposal`),
|
|
6221
|
+
#: so "carry them out" never stands in for an unapplied edit.
|
|
6222
|
+
APPROVED_NOTE_TEXT = (
|
|
6223
|
+
"approved — the user read this note and accepts the recommendations in "
|
|
6224
|
+
"it; carry them out, and if that changes what the plan says, file it as a "
|
|
6225
|
+
"proposal answering this note"
|
|
6226
|
+
)
|
|
6188
6227
|
DECISION_TEXT: dict[str, str] = {
|
|
6189
6228
|
"accept": "accepted",
|
|
6190
6229
|
"reject": "rejected",
|
|
6191
6230
|
"ask": "replied",
|
|
6192
6231
|
"dismiss": "dismissed",
|
|
6232
|
+
"approve": APPROVED_NOTE_TEXT,
|
|
6193
6233
|
"fold": "",
|
|
6194
6234
|
"superseded": "",
|
|
6195
6235
|
}
|
|
@@ -6221,6 +6261,12 @@ def _decision_of(row: DraftEntry, *, whole_sentence: str = "") -> BatchDecision:
|
|
|
6221
6261
|
return BatchDecision(kind=row.kind, reason=row.comment)
|
|
6222
6262
|
|
|
6223
6263
|
|
|
6264
|
+
def _is_owner_approval(note: PlanNote, *, by: str) -> bool:
|
|
6265
|
+
"""The owner closed an agent's note with Dismiss/Approve: the note was read
|
|
6266
|
+
and its recommendations accepted (:data:`APPROVED_NOTE_TEXT`)."""
|
|
6267
|
+
return by == OWNER and bool(note.by) and note.by != OWNER
|
|
6268
|
+
|
|
6269
|
+
|
|
6224
6270
|
def _decision_line(decision: BatchDecision | None) -> str:
|
|
6225
6271
|
"""One rendered decision line, or ``""`` when there is nothing to say.
|
|
6226
6272
|
|
|
@@ -7118,6 +7164,7 @@ async def submit_review(
|
|
|
7118
7164
|
if row.kind == "dismiss" and row.note_id:
|
|
7119
7165
|
note = _find_note(plan, row.note_id)
|
|
7120
7166
|
_refuse_unsent_self_close(plan, note, by=by)
|
|
7167
|
+
_refuse_owner_dismiss_of_proposal(note, row.kind, by=by)
|
|
7121
7168
|
# **BOTH DOORS, one rule** — the paragraph above, applied to
|
|
7122
7169
|
# the credential guard as well. `by` is `OWNER` on an
|
|
7123
7170
|
# assistant bearer, so a rule keyed on the name alone is
|
|
@@ -7273,9 +7320,10 @@ async def submit_review(
|
|
|
7273
7320
|
row, _winner_note_for(plan, body, row, applied_rows), by=by
|
|
7274
7321
|
)
|
|
7275
7322
|
if addressee:
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
|
|
7323
|
+
decision = _decision_of(row, whole_sentence=whole)
|
|
7324
|
+
if decision.kind == "dismiss" and _is_owner_approval(note, by=by):
|
|
7325
|
+
decision = BatchDecision(kind="approve", reason=row.comment)
|
|
7326
|
+
decided[(addressee, note.id)] = decision
|
|
7279
7327
|
_address(addressee, note)
|
|
7280
7328
|
# A NOTE ADDRESSED TO THE SENDER IS ITS INBOX, NOT A SEND. On
|
|
7281
7329
|
# `agent-home-folder-view` the coordinator ran `plan review` after
|
|
@@ -7781,6 +7829,65 @@ async def submit_review(
|
|
|
7781
7829
|
return round_
|
|
7782
7830
|
|
|
7783
7831
|
|
|
7832
|
+
async def owner_approval_message(
|
|
7833
|
+
project: "Project",
|
|
7834
|
+
ctx: "ModelContext",
|
|
7835
|
+
runloop: "ChangelogRunloop",
|
|
7836
|
+
*,
|
|
7837
|
+
nid: str,
|
|
7838
|
+
) -> tuple[str, str, list[str]] | None:
|
|
7839
|
+
"""The message the owner's SINGLE-NOTE Dismiss/Approve owes the note's
|
|
7840
|
+
author, as ``(room, content, expects)`` — or ``None`` when it owes none.
|
|
7841
|
+
|
|
7842
|
+
The tray's submit already tells the author (its decision line reads
|
|
7843
|
+
:data:`APPROVED_NOTE_TEXT`). The single-note close — the My Desk card and
|
|
7844
|
+
``plan resolve --dismiss`` — used to only set the status, so the agent
|
|
7845
|
+
learned of the approval the next time it happened to read the plan, and
|
|
7846
|
+
nothing woke it to carry the recommendations out. This renders the same
|
|
7847
|
+
message a one-note batch would, into the room the note was last sent in
|
|
7848
|
+
(else the review room), and the caller posts it as the user.
|
|
7849
|
+
|
|
7850
|
+
``None`` for anything that is not an owner approval of an agent's note,
|
|
7851
|
+
and for the confirm note: closing it is acceptance, which wakes the
|
|
7852
|
+
coordinator through its own door.
|
|
7853
|
+
"""
|
|
7854
|
+
async with _lock:
|
|
7855
|
+
plan = _load(project, ctx)
|
|
7856
|
+
note = _find_note(plan, nid)
|
|
7857
|
+
if note.bootstrap or note.status != "dismissed":
|
|
7858
|
+
return None
|
|
7859
|
+
if not _is_owner_approval(note, by=note.resolved_by):
|
|
7860
|
+
return None
|
|
7861
|
+
addressee = note.by
|
|
7862
|
+
sent = _last_send(plan, nid)
|
|
7863
|
+
room_name = (sent.room if sent else "") or review_room_for(
|
|
7864
|
+
[addressee], keeper(project)
|
|
7865
|
+
)
|
|
7866
|
+
if not room_name:
|
|
7867
|
+
return None
|
|
7868
|
+
body = _read_body(project, ctx)
|
|
7869
|
+
round_no = len(plan.rounds)
|
|
7870
|
+
all_notes = list(plan.notes)
|
|
7871
|
+
await ensure_consultation_roster(project, ctx, runloop, room_name)
|
|
7872
|
+
members = _members_by_name(project, ctx, room_name)
|
|
7873
|
+
if addressee not in members:
|
|
7874
|
+
return None
|
|
7875
|
+
content = render_batch_message(
|
|
7876
|
+
addressee,
|
|
7877
|
+
[note],
|
|
7878
|
+
body=body,
|
|
7879
|
+
project_ref=project.name,
|
|
7880
|
+
project_title=project.display_name or project.name,
|
|
7881
|
+
keeper_name=keeper(project),
|
|
7882
|
+
round_no=round_no,
|
|
7883
|
+
all_notes=all_notes,
|
|
7884
|
+
decisions={
|
|
7885
|
+
(addressee, note.id): BatchDecision(kind="approve", reason=note.resolution)
|
|
7886
|
+
},
|
|
7887
|
+
)
|
|
7888
|
+
return room_name, content, [members[addressee]]
|
|
7889
|
+
|
|
7890
|
+
|
|
7784
7891
|
def _last_send(plan: ProjectPlan, note_id: str) -> PlanSend | None:
|
|
7785
7892
|
return last_send(plan.rounds, note_id)
|
|
7786
7893
|
|
|
@@ -18,7 +18,7 @@ import logging
|
|
|
18
18
|
from dataclasses import dataclass
|
|
19
19
|
from datetime import UTC, datetime
|
|
20
20
|
from pathlib import Path
|
|
21
|
-
from typing import TYPE_CHECKING
|
|
21
|
+
from typing import TYPE_CHECKING, Callable
|
|
22
22
|
|
|
23
23
|
if TYPE_CHECKING:
|
|
24
24
|
from ..api.actions import ActionBlock
|
|
@@ -58,6 +58,9 @@ class InvocationRegistry:
|
|
|
58
58
|
self._tasks: dict[tuple[str, str], asyncio.Task] = {}
|
|
59
59
|
# Same keys as _tasks; None when the caller supplied no trigger_version.
|
|
60
60
|
self._turns: dict[tuple[str, str], InFlightTurn | None] = {}
|
|
61
|
+
# Called after a turn is registered or unregistered (the cloud
|
|
62
|
+
# computer's working report, runner/working_report.py).
|
|
63
|
+
self.on_change: Callable[[], None] | None = None
|
|
61
64
|
|
|
62
65
|
def register(
|
|
63
66
|
self,
|
|
@@ -79,10 +82,25 @@ class InvocationRegistry:
|
|
|
79
82
|
InFlightTurn(project_id, chatroom_name, trigger_version, datetime.now(UTC))
|
|
80
83
|
if trigger_version is not None else None
|
|
81
84
|
)
|
|
85
|
+
self._changed()
|
|
86
|
+
task.add_done_callback(lambda _t: self._changed())
|
|
82
87
|
|
|
83
88
|
def unregister(self, project_id: str, chatroom_name: str) -> None:
|
|
84
89
|
self._tasks.pop((project_id, chatroom_name), None)
|
|
85
90
|
self._turns.pop((project_id, chatroom_name), None)
|
|
91
|
+
self._changed()
|
|
92
|
+
|
|
93
|
+
def _changed(self) -> None:
|
|
94
|
+
if self.on_change is not None:
|
|
95
|
+
try:
|
|
96
|
+
self.on_change()
|
|
97
|
+
except Exception: # noqa: BLE001 - a listener never breaks a turn
|
|
98
|
+
logger.debug("InvocationRegistry: on_change failed", exc_info=True)
|
|
99
|
+
|
|
100
|
+
def live_count(self) -> int:
|
|
101
|
+
"""How many registered turns are still running, with or without a
|
|
102
|
+
trigger_version."""
|
|
103
|
+
return sum(1 for task in self._tasks.values() if not task.done())
|
|
86
104
|
|
|
87
105
|
def in_flight(self) -> list[InFlightTurn]:
|
|
88
106
|
"""Snapshot of live (not done) turns that carry a trigger_version.
|
|
@@ -205,6 +205,18 @@ class ReactiveControlLoop:
|
|
|
205
205
|
# cli.invoke calls without depending on the runner directly.
|
|
206
206
|
self._invocation_registry = InvocationRegistry()
|
|
207
207
|
self._model_ctx.set_invocation_registry(self._invocation_registry)
|
|
208
|
+
# On a cloud computer, tell the server while a turn runs so its idle
|
|
209
|
+
# sweep never stops the computer mid-turn (runner/working_report.py).
|
|
210
|
+
self._working_reporter = None
|
|
211
|
+
from .working_report import WorkingReporter, on_managed_computer
|
|
212
|
+
|
|
213
|
+
if on_managed_computer() and client is not None:
|
|
214
|
+
agent_id = self._participant.id
|
|
215
|
+
self._working_reporter = WorkingReporter(
|
|
216
|
+
live_turns=self._invocation_registry.live_count,
|
|
217
|
+
send=lambda n: client.put_working(agent_id, n),
|
|
218
|
+
)
|
|
219
|
+
self._invocation_registry.on_change = self._working_reporter.poke
|
|
208
220
|
|
|
209
221
|
# Create shared notifier (one per participant, shared across projects)
|
|
210
222
|
self._notifier = ParticipantNotifier(
|
|
@@ -266,11 +278,15 @@ class ReactiveControlLoop:
|
|
|
266
278
|
async def start(self) -> None:
|
|
267
279
|
"""Start the control loop."""
|
|
268
280
|
self._running = True
|
|
281
|
+
if self._working_reporter is not None:
|
|
282
|
+
self._working_reporter.start()
|
|
269
283
|
logger.info(f"ReactiveControlLoop started for {self._participant.name}")
|
|
270
284
|
|
|
271
285
|
async def stop(self) -> None:
|
|
272
286
|
"""Stop the control loop."""
|
|
273
287
|
self._running = False
|
|
288
|
+
if self._working_reporter is not None:
|
|
289
|
+
await self._working_reporter.stop()
|
|
274
290
|
await self._runloop_manager.shutdown()
|
|
275
291
|
logger.info(f"ReactiveControlLoop stopped for {self._participant.name}")
|
|
276
292
|
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# SPDX-License-Identifier: MIT
|
|
2
|
+
"""
|
|
3
|
+
manigent/runner/working_report.py
|
|
4
|
+
|
|
5
|
+
On a Manigent cloud computer (``MANIGENT_MANAGED_COMPUTER=1``, set by the
|
|
6
|
+
image), tell the server while this runner is in a turn, so the server's idle
|
|
7
|
+
sweep never puts the computer to sleep mid-turn (server/cloud_computers.py).
|
|
8
|
+
The server cannot see a turn on its own: a coordinator planning after a batch
|
|
9
|
+
end, a worker still at work after an interim reply, or a turn that only
|
|
10
|
+
writes files leaves no open batch behind.
|
|
11
|
+
|
|
12
|
+
``PUT /agents/{id}/working`` with ``{"turns": n}``: when the number of live
|
|
13
|
+
turns changes and every :data:`RENEW_SECONDS` while it is above zero (the
|
|
14
|
+
server counts a report for a few minutes, so one lost report does no harm and
|
|
15
|
+
a computer that died mid-turn sleeps soon after). Off a cloud computer nothing
|
|
16
|
+
is sent. A server without the route (older than the cloud-computer release)
|
|
17
|
+
answers 404/405; the reporter then stops for the life of this process.
|
|
18
|
+
Never raises into the loop.
|
|
19
|
+
"""
|
|
20
|
+
from __future__ import annotations
|
|
21
|
+
|
|
22
|
+
import asyncio
|
|
23
|
+
import logging
|
|
24
|
+
import os
|
|
25
|
+
from typing import Awaitable, Callable, Optional
|
|
26
|
+
|
|
27
|
+
logger = logging.getLogger(__name__)
|
|
28
|
+
|
|
29
|
+
MANAGED_COMPUTER_ENV = "MANIGENT_MANAGED_COMPUTER"
|
|
30
|
+
RENEW_SECONDS = 60.0
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def on_managed_computer(environ: Optional[dict] = None) -> bool:
|
|
34
|
+
env = os.environ if environ is None else environ
|
|
35
|
+
return (env.get(MANAGED_COMPUTER_ENV) or "").strip() == "1"
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
class WorkingReporter:
|
|
39
|
+
def __init__(
|
|
40
|
+
self,
|
|
41
|
+
*,
|
|
42
|
+
live_turns: Callable[[], int],
|
|
43
|
+
send: Callable[[int], Awaitable[None]],
|
|
44
|
+
renew_seconds: float = RENEW_SECONDS,
|
|
45
|
+
) -> None:
|
|
46
|
+
self._live_turns = live_turns
|
|
47
|
+
self._send = send
|
|
48
|
+
self._renew = renew_seconds
|
|
49
|
+
self._changed = asyncio.Event()
|
|
50
|
+
self._task: Optional[asyncio.Task] = None
|
|
51
|
+
self._last_sent: Optional[int] = None
|
|
52
|
+
self._unsupported = False
|
|
53
|
+
|
|
54
|
+
def poke(self) -> None:
|
|
55
|
+
"""A turn started or ended (InvocationRegistry's on_change)."""
|
|
56
|
+
self._changed.set()
|
|
57
|
+
|
|
58
|
+
def start(self) -> None:
|
|
59
|
+
if self._task is None:
|
|
60
|
+
self._task = asyncio.get_running_loop().create_task(self._run())
|
|
61
|
+
|
|
62
|
+
async def stop(self) -> None:
|
|
63
|
+
if self._task is None:
|
|
64
|
+
return
|
|
65
|
+
self._task.cancel()
|
|
66
|
+
try:
|
|
67
|
+
await self._task
|
|
68
|
+
except (asyncio.CancelledError, Exception):
|
|
69
|
+
pass
|
|
70
|
+
self._task = None
|
|
71
|
+
|
|
72
|
+
async def _run(self) -> None:
|
|
73
|
+
while not self._unsupported:
|
|
74
|
+
try:
|
|
75
|
+
await asyncio.wait_for(self._changed.wait(), timeout=self._renew)
|
|
76
|
+
except asyncio.TimeoutError:
|
|
77
|
+
pass
|
|
78
|
+
self._changed.clear()
|
|
79
|
+
await self.report_once()
|
|
80
|
+
|
|
81
|
+
async def report_once(self) -> None:
|
|
82
|
+
n = self._live_turns()
|
|
83
|
+
# Renew while working; say "0" once when the last turn ends.
|
|
84
|
+
if n == 0 and self._last_sent in (0, None):
|
|
85
|
+
return
|
|
86
|
+
try:
|
|
87
|
+
await self._send(n)
|
|
88
|
+
except Exception as e: # noqa: BLE001 - never break the runner
|
|
89
|
+
status = getattr(getattr(e, "response", None), "status_code", None)
|
|
90
|
+
if status in (404, 405):
|
|
91
|
+
logger.info("working report: this server does not take it; not sending again")
|
|
92
|
+
self._unsupported = True
|
|
93
|
+
else:
|
|
94
|
+
logger.debug("working report failed: %s", e)
|
|
95
|
+
return
|
|
96
|
+
self._last_sent = n
|
|
@@ -204,6 +204,15 @@ dealt with it by an ACT rather than a reply, close it yourself (`--answered`,
|
|
|
204
204
|
or `--dismiss` when you decided not to) — do not leave it for the user to
|
|
205
205
|
dismiss. Details: `reference/writing.md`.
|
|
206
206
|
|
|
207
|
+
**When the USER dismisses (approves) one of YOUR notes, they read it and accept
|
|
208
|
+
the recommendations in it.** It is never "ignored". The note shows `approved`
|
|
209
|
+
in `plan list-notes` (stored status `dismissed`, `resolved_by: user`), and the
|
|
210
|
+
message that tells you reads *"approved — the user read this note and accepts
|
|
211
|
+
the recommendations in it"*. Carry the recommendations out; if that changes
|
|
212
|
+
what the plan says, file it as a proposal answering that note
|
|
213
|
+
(`plan note --reply-to <id> --edit-file ...`). A note carrying an exact text
|
|
214
|
+
change has no Dismiss: the user accepts or rejects it.
|
|
215
|
+
|
|
207
216
|
## Sending a batch and reaching specialists
|
|
208
217
|
|
|
209
218
|
```bash
|
|
@@ -239,7 +248,8 @@ manigent plan list-notes <project> --to user # the confirm note's id is here
|
|
|
239
248
|
manigent plan resolve <project> <id> --dismiss # this is the acceptance (the user's hand only)
|
|
240
249
|
```
|
|
241
250
|
|
|
242
|
-
`--dismiss` means YES on this one note
|
|
251
|
+
`--dismiss` means YES on this one note (on any other agent's note, the user's
|
|
252
|
+
dismiss means "read, recommendations accepted" — above); the server
|
|
243
253
|
refuses `--apply`, `--reject` and `--answered` on it by name. **Acceptance is
|
|
244
254
|
one-way. There is no undo** — an accepted plan is CHANGED by a note the user
|
|
245
255
|
applies, which re-signs it. If the user took the confirm while it still said
|
{manigent-1.3.4 → manigent-1.3.5}/manigent/system_skills/plan/reference/consult-and-acceptance.md
RENAMED
|
@@ -192,10 +192,12 @@ manigent plan list-notes <project> --to user # the confirm note's id is here
|
|
|
192
192
|
manigent plan resolve <project> <id> --dismiss # this is the acceptance
|
|
193
193
|
```
|
|
194
194
|
|
|
195
|
-
**`--dismiss` means YES on this one note
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
195
|
+
**`--dismiss` means YES on this one note.** The confirm note carries no
|
|
196
|
+
proposal, so there is nothing else it could mean, and the server refuses
|
|
197
|
+
`--apply`, `--reject` and `--answered` on it **by name** rather than letting a
|
|
198
|
+
wrong verb through quietly. On any other agent's note the user's dismiss is
|
|
199
|
+
the same kind of yes: the note was read and its recommendations are accepted,
|
|
200
|
+
so carry them out (`SKILL.md`, "Closing a note out").
|
|
199
201
|
|
|
200
202
|
**The coordinator's own review send moves it.** A round you send that carries
|
|
201
203
|
at least one open question for the user retires the confirm note in the same
|
|
@@ -173,6 +173,7 @@ manigent/runner/turn_home.py
|
|
|
173
173
|
manigent/runner/turn_sandbox.py
|
|
174
174
|
manigent/runner/turn_scope.py
|
|
175
175
|
manigent/runner/turn_session.py
|
|
176
|
+
manigent/runner/working_report.py
|
|
176
177
|
manigent/sync/changelog.py
|
|
177
178
|
manigent/sync/console_subscriber.py
|
|
178
179
|
manigent/sync/runloop.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{manigent-1.3.4 → manigent-1.3.5}/manigent/_manigent_plugin/skills/register-assistant/SKILL.md
RENAMED
|
File without changes
|