netizen-cli 0.11.1__tar.gz → 0.11.3__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.
Files changed (254) hide show
  1. {netizen_cli-0.11.1/netizen_cli.egg-info → netizen_cli-0.11.3}/PKG-INFO +1 -1
  2. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/__init__.py +1 -1
  3. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/presentation.py +23 -0
  4. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/queries.py +45 -3
  5. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/static/admin.css +130 -29
  6. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/static/admin.js +1284 -422
  7. netizen_cli-0.11.3/netizen_cli/admin/static/chat-picker.css +37 -0
  8. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/static/chat-picker.js +85 -47
  9. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/static/identity.js +1 -2
  10. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/static/index.html +192 -111
  11. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/static/login.html +1 -0
  12. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/static/login.js +4 -1
  13. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/web.py +130 -21
  14. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/bindings.py +97 -14
  15. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/channel_app.py +5 -2
  16. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/codex_runtime.py +27 -1
  17. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/management/__init__.py +2 -0
  18. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/management/service.py +249 -34
  19. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/management/updates.py +26 -0
  20. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/runtime/contracts.py +1 -0
  21. {netizen_cli-0.11.1 → netizen_cli-0.11.3/netizen_cli.egg-info}/PKG-INFO +1 -1
  22. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/pyproject.toml +1 -1
  23. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/skills/netizen-user-guide/references/user-guide.md +69 -17
  24. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_bindings.py +202 -1
  25. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_codex_runtime.py +116 -1
  26. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_migration_schema_validation.py +47 -0
  27. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_service_launcher.py +102 -2
  28. netizen_cli-0.11.1/netizen_cli/admin/static/chat-picker.css +0 -28
  29. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/MANIFEST.in +0 -0
  30. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/README.md +0 -0
  31. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/_build.py +0 -0
  32. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/config.example.yaml +0 -0
  33. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/__main__.py +0 -0
  34. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/account_rate_limits.py +0 -0
  35. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/__init__.py +0 -0
  36. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/auth.py +0 -0
  37. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/credentials.py +0 -0
  38. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/errors.py +0 -0
  39. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/feishu.py +0 -0
  40. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/login.py +0 -0
  41. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/port_config.py +0 -0
  42. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/transport.py +0 -0
  43. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/admin/users.py +0 -0
  44. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/builtin_skills.py +0 -0
  45. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cards/__init__.py +0 -0
  46. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cards/callbacks.py +0 -0
  47. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cards/chat_target.py +0 -0
  48. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cards/controls.py +0 -0
  49. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cards/defaults.py +0 -0
  50. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cards/fork.py +0 -0
  51. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cards/model_info.py +0 -0
  52. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cards/pagination.py +0 -0
  53. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cards/questions.py +0 -0
  54. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cards/reply.py +0 -0
  55. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cards/scheduled.py +0 -0
  56. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cards/usage.py +0 -0
  57. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/channel/__init__.py +0 -0
  58. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/channel/completion_mentions.py +0 -0
  59. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/channel/input_preparation.py +0 -0
  60. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/channel/messages.py +0 -0
  61. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/channel/ports.py +0 -0
  62. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/channel/question_inputs.py +0 -0
  63. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/channel/reactions.py +0 -0
  64. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/channel/reply_presenter.py +0 -0
  65. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/channel/topics.py +0 -0
  66. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/chat_avatars.py +0 -0
  67. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/chat_targets.py +0 -0
  68. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cli.py +0 -0
  69. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cli_data.py +0 -0
  70. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cli_packages.py +0 -0
  71. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cli_services.py +0 -0
  72. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cli_setup.py +0 -0
  73. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cli_update.py +0 -0
  74. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cli_update_restore.py +0 -0
  75. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/cli_update_worker.py +0 -0
  76. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/completion_mention.py +0 -0
  77. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/database_migrations.py +0 -0
  78. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/defaults/__init__.py +0 -0
  79. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/defaults/models.py +0 -0
  80. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/defaults/service.py +0 -0
  81. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/defaults/store.py +0 -0
  82. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/deployment/__init__.py +0 -0
  83. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/deployment/restart_worker.py +0 -0
  84. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/deployment/update_executor.py +0 -0
  85. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/deployment/update_protocol.py +0 -0
  86. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/domain.py +0 -0
  87. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/error_messages.py +0 -0
  88. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/experience.py +0 -0
  89. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/feishu_app_onboarding.py +0 -0
  90. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/feishu_app_permissions.py +0 -0
  91. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/feishu_links.py +0 -0
  92. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/git_status.py +0 -0
  93. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/image_inputs.py +0 -0
  94. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/instance.py +0 -0
  95. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/lark_app.py +0 -0
  96. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/main.py +0 -0
  97. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/management/blocking_io.py +0 -0
  98. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/management/chat_directory.py +0 -0
  99. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/management/chat_labels.py +0 -0
  100. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/management/coordination.py +0 -0
  101. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/markdown_images.py +0 -0
  102. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/message_content.py +0 -0
  103. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/message_history.py +0 -0
  104. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/message_preparation.py +0 -0
  105. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/message_projection.py +0 -0
  106. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/migrations/__init__.py +0 -0
  107. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/migrations/schema.py +0 -0
  108. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/migrations/v14.py +0 -0
  109. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/model_settings.py +0 -0
  110. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/package_resources.py +0 -0
  111. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/pagination.py +0 -0
  112. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/partial_answers.py +0 -0
  113. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/projects.py +0 -0
  114. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/prompt_projection.py +0 -0
  115. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/quoted_context.py +0 -0
  116. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/result_images.py +0 -0
  117. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/runtime/__init__.py +0 -0
  118. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/runtime/name_writes.py +0 -0
  119. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/runtime/thread_naming.py +0 -0
  120. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/schedules/__init__.py +0 -0
  121. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/schedules/mcp.py +0 -0
  122. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/schedules/models.py +0 -0
  123. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/schedules/scheduler.py +0 -0
  124. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/schedules/service.py +0 -0
  125. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/schedules/store.py +0 -0
  126. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/sdk_gap_adapter.py +0 -0
  127. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/service_launcher.py +0 -0
  128. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/session_settings.py +0 -0
  129. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/settings.py +0 -0
  130. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/skill_references.py +0 -0
  131. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/task_text.py +0 -0
  132. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/terminal_cleanup.py +0 -0
  133. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/turn_activity.py +0 -0
  134. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/turn_files.py +0 -0
  135. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/turn_patch_children.py +0 -0
  136. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/turn_plan_observer.py +0 -0
  137. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli/user_questions.py +0 -0
  138. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli.egg-info/SOURCES.txt +0 -0
  139. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli.egg-info/dependency_links.txt +0 -0
  140. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli.egg-info/entry_points.txt +0 -0
  141. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli.egg-info/requires.txt +0 -0
  142. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/netizen_cli.egg-info/top_level.txt +0 -0
  143. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/setup.cfg +0 -0
  144. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/skills/netizen-lark/SKILL.md +0 -0
  145. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/skills/netizen-user-guide/SKILL.md +0 -0
  146. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_account_rate_limits.py +0 -0
  147. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_admin_update_executor_probe.py +0 -0
  148. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_binding_scheduled_channel.py +0 -0
  149. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_cards.py +0 -0
  150. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_channel_app.py +0 -0
  151. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_channel_fixtures.py +0 -0
  152. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_channel_input_preparation.py +0 -0
  153. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_chat_avatars.py +0 -0
  154. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_chat_target_cards.py +0 -0
  155. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_check_sdk.py +0 -0
  156. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_cli.py +0 -0
  157. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_cli_data.py +0 -0
  158. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_cli_distribution.py +0 -0
  159. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_cli_integration.py +0 -0
  160. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_cli_packages.py +0 -0
  161. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_cli_packaging.py +0 -0
  162. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_cli_services.py +0 -0
  163. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_cli_setup.py +0 -0
  164. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_cli_update.py +0 -0
  165. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_codex_sdk_capabilities.py +0 -0
  166. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_codex_sdk_upgrade_0161.py +0 -0
  167. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_completion_mention_cards.py +0 -0
  168. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_completion_mentions.py +0 -0
  169. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_completion_topic_delivery.py +0 -0
  170. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_cron_chat_targets.py +0 -0
  171. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_database_migrations.py +0 -0
  172. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_defaults_cards.py +0 -0
  173. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_defaults_channel.py +0 -0
  174. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_defaults_runtime.py +0 -0
  175. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_deployment.py +0 -0
  176. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_documentation_links.py +0 -0
  177. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_domain_experience.py +0 -0
  178. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_error_messages.py +0 -0
  179. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_feishu_app_onboarding.py +0 -0
  180. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_feishu_app_permissions.py +0 -0
  181. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_file_pagination.py +0 -0
  182. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_fork_cards.py +0 -0
  183. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_git_status.py +0 -0
  184. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_image_inputs.py +0 -0
  185. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_lark_app.py +0 -0
  186. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_lark_sdk_contract.py +0 -0
  187. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_main.py +0 -0
  188. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_markdown_images.py +0 -0
  189. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_message_content.py +0 -0
  190. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_message_history.py +0 -0
  191. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_message_material_inputs.py +0 -0
  192. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_message_preparation.py +0 -0
  193. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_model_info_cards.py +0 -0
  194. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_model_settings.py +0 -0
  195. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_name_writes.py +0 -0
  196. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_pagination.py +0 -0
  197. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_partial_answer_delivery.py +0 -0
  198. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_partial_answers.py +0 -0
  199. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_persistent_fork_bindings.py +0 -0
  200. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_persistent_fork_channel.py +0 -0
  201. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_persistent_fork_runtime.py +0 -0
  202. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_probe_child_files.py +0 -0
  203. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_probe_feishu_completion_mention.py +0 -0
  204. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_probe_feishu_partial_answers.py +0 -0
  205. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_probe_feishu_turn_file_card.py +0 -0
  206. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_probe_persistent_fork.py +0 -0
  207. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_probe_python_sdk.py +0 -0
  208. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_probe_scheduled_tasks.py +0 -0
  209. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_probe_sdk_completion_race.py +0 -0
  210. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_probe_skill_execution.py +0 -0
  211. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_probe_thread_naming.py +0 -0
  212. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_project_delete_channel.py +0 -0
  213. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_project_delete_runtime.py +0 -0
  214. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_project_deletion_storage.py +0 -0
  215. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_prompt_projection.py +0 -0
  216. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_question_cards.py +0 -0
  217. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_question_channel.py +0 -0
  218. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_question_target_parity.py +0 -0
  219. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_quoted_context.py +0 -0
  220. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_release_script.py +0 -0
  221. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_repository_hygiene.py +0 -0
  222. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_result_images.py +0 -0
  223. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_resume_channel.py +0 -0
  224. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_retired_deployment.py +0 -0
  225. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_runtime_resume_activation.py +0 -0
  226. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_runtime_thread_naming.py +0 -0
  227. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_schedule_card_retry.py +0 -0
  228. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_schedule_cards.py +0 -0
  229. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_schedule_mcp.py +0 -0
  230. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_schedule_run_now.py +0 -0
  231. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_schedule_scope_matrix.py +0 -0
  232. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_schedule_service.py +0 -0
  233. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_scheduled_channel.py +0 -0
  234. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_scheduled_runtime.py +0 -0
  235. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_scheduler.py +0 -0
  236. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_scheduler_presenter.py +0 -0
  237. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_schedules_storage.py +0 -0
  238. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_sdk_gap_adapter.py +0 -0
  239. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_session_defaults.py +0 -0
  240. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_session_settings.py +0 -0
  241. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_settings_projects.py +0 -0
  242. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_task_text.py +0 -0
  243. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_terminal_cleanup.py +0 -0
  244. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_thread_naming.py +0 -0
  245. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_turn_activity.py +0 -0
  246. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_turn_files.py +0 -0
  247. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_turn_patch_children.py +0 -0
  248. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_turn_patch_statistics.py +0 -0
  249. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_turn_plan_observer.py +0 -0
  250. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_update_executor.py +0 -0
  251. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_usage_card.py +0 -0
  252. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_usage_control.py +0 -0
  253. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_user_guide_skill.py +0 -0
  254. {netizen_cli-0.11.1 → netizen_cli-0.11.3}/tests/test_user_questions.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: netizen-cli
3
- Version: 0.11.1
3
+ Version: 0.11.3
4
4
  Summary: Use native Codex threads through a Feishu Channel.
5
5
  Requires-Python: <3.15,>=3.11
6
6
  Requires-Dist: h11==0.16.0
@@ -1,3 +1,3 @@
1
1
  """Netizen: a thin Feishu Channel for native Codex Threads."""
2
2
 
3
- __version__ = "0.11.1"
3
+ __version__ = "0.11.3"
@@ -169,6 +169,8 @@ def _runtime_side_json(snapshot: Any) -> dict[str, object]:
169
169
  "parentBindingId": snapshot.parent_binding_id,
170
170
  "threadId": snapshot.thread_id,
171
171
  "state": snapshot.state.value,
172
+ "sessionState": snapshot.state.value,
173
+ "revision": snapshot.revision,
172
174
  "turnId": snapshot.turn_id,
173
175
  "turnState": (
174
176
  snapshot.turn_state.value if snapshot.turn_state is not None else None
@@ -176,6 +178,27 @@ def _runtime_side_json(snapshot: Any) -> dict[str, object]:
176
178
  }
177
179
 
178
180
 
181
+ def _side_parent_json(item: Any) -> dict[str, object]:
182
+ metadata = item.parent_metadata
183
+ title = None
184
+ if item.parent_binding is not None:
185
+ if item.parent_binding.native_thread_id is None:
186
+ title = "新会话"
187
+ elif metadata is None:
188
+ title = "会话信息暂不可用"
189
+ else:
190
+ title = (
191
+ " ".join((metadata.name or "").split())
192
+ or " ".join((metadata.preview or "").split())
193
+ or "未命名会话"
194
+ )[:120]
195
+ return {
196
+ "bindingId": item.record.side_topic.parent_binding_id,
197
+ "title": title,
198
+ "available": item.parent_binding is not None,
199
+ }
200
+
201
+
179
202
  def _project_result(request_id: str, project: Any) -> dict[str, object]:
180
203
  return {
181
204
  "requestId": request_id,
@@ -12,7 +12,7 @@ from datetime import UTC, datetime
12
12
  from .errors import AdminWebError
13
13
  from ..bindings import BindingCursor, SideTopicCursor
14
14
  from ..domain import ScopeKind
15
- from ..management import SessionInventoryState
15
+ from ..management import SessionInventoryState, SessionUpdatedCursor
16
16
 
17
17
 
18
18
  _MAX_TEXT_BYTES = 4_096
@@ -71,6 +71,14 @@ def _session_page_size(values: Mapping[str, list[str]]) -> int:
71
71
  return value
72
72
 
73
73
 
74
+ def _session_order_query(values: Mapping[str, list[str]]) -> tuple[str, str]:
75
+ sort_by = _optional_one(values, "sortBy") or "updatedAt"
76
+ direction = _optional_one(values, "sortDirection") or "desc"
77
+ if sort_by not in {"createdAt", "updatedAt"} or direction not in {"asc", "desc"}:
78
+ raise AdminWebError(400, "invalid_sort", "排序字段或方向无效。")
79
+ return ("created_at" if sort_by == "createdAt" else "updated_at"), direction
80
+
81
+
74
82
  def _optional_text_query(
75
83
  values: Mapping[str, list[str]],
76
84
  name: str,
@@ -299,23 +307,57 @@ def _decode_binding_cursor(
299
307
  return BindingCursor(*values) if values is not None else None
300
308
 
301
309
 
310
+ def _encode_session_cursor(
311
+ cursor: BindingCursor | SessionUpdatedCursor | None,
312
+ fingerprint: str,
313
+ ) -> str | None:
314
+ if not isinstance(cursor, SessionUpdatedCursor):
315
+ return _encode_binding_cursor(cursor, fingerprint)
316
+ return _encode_cursor(
317
+ "session-updated", (str(cursor.updated_at) if cursor.updated_at is not None else "unknown", cursor.binding_id), fingerprint,
318
+ )
319
+
320
+
321
+ def _decode_session_cursor(
322
+ encoded: str | None,
323
+ fingerprint: str,
324
+ *,
325
+ sort_by: str,
326
+ ) -> BindingCursor | SessionUpdatedCursor | None:
327
+ if sort_by == "created_at":
328
+ return _decode_binding_cursor(encoded, fingerprint)
329
+ values = _decode_cursor(encoded, kind="session-updated", length=2, fingerprint=fingerprint)
330
+ if values is None:
331
+ return None
332
+ raw_time, binding_id = values
333
+ if raw_time == "unknown":
334
+ return SessionUpdatedCursor(None, binding_id)
335
+ if not re.fullmatch(r"0|[1-9][0-9]{0,15}", raw_time):
336
+ raise AdminWebError(400, "invalid_cursor", "分页游标无效。")
337
+ return SessionUpdatedCursor(int(raw_time), binding_id)
338
+
339
+
302
340
  def _encode_side_cursor(
303
341
  cursor: SideTopicCursor | None,
304
342
  fingerprint: str,
305
343
  ) -> str | None:
306
344
  if cursor is None:
307
345
  return None
346
+ if cursor.updated_at is not None:
347
+ return _encode_cursor("side-updated", (cursor.created_at, cursor.side_id, cursor.updated_at), fingerprint)
308
348
  return _encode_cursor("side", (cursor.created_at, cursor.side_id), fingerprint)
309
349
 
310
350
 
311
351
  def _decode_side_cursor(
312
352
  encoded: str | None,
313
353
  fingerprint: str,
354
+ *,
355
+ sort_by: str = "created_at",
314
356
  ) -> SideTopicCursor | None:
315
357
  values = _decode_cursor(
316
358
  encoded,
317
- kind="side",
318
- length=2,
359
+ kind="side-updated" if sort_by == "updated_at" else "side",
360
+ length=3 if sort_by == "updated_at" else 2,
319
361
  fingerprint=fingerprint,
320
362
  )
321
363
  return SideTopicCursor(*values) if values is not None else None
@@ -8,6 +8,10 @@
8
8
  --blue: #1858d7;
9
9
  --blue-soft: #e9f0ff;
10
10
  --danger: #b42318;
11
+ --control-min-height: 35px;
12
+ --control-padding: 7px 10px;
13
+ --control-font-size: 13px;
14
+ --control-line-height: 19px;
11
15
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
12
16
  }
13
17
  * { box-sizing: border-box; }
@@ -15,7 +19,12 @@ body { margin: 0; color: var(--ink); background: var(--wash); }
15
19
  body.time-range-modal-open { overflow: hidden; }
16
20
  button, input, select, textarea { font: inherit; }
17
21
  button { cursor: pointer; }
18
- .topbar { display: flex; justify-content: space-between; align-items: center; padding: 24px clamp(20px, 4vw, 56px); background: #10213f; color: white; }
22
+ .topbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 12px clamp(20px, 4vw, 56px); background: #10213f; color: white; }
23
+ .topbar-brand { flex: 1; min-width: 0; }
24
+ .topbar h1 { font-size: 24px; line-height: 1.2; }
25
+ .topbar .instance-root { margin: 4px 0 0; line-height: 1.4; }
26
+ .topbar .identity-toolbar { flex-wrap: nowrap; max-width: 50%; }
27
+ .topbar .quiet { flex-shrink: 0; white-space: nowrap; }
19
28
  h1, h2, h3, p { margin-top: 0; }
20
29
  h1 { margin-bottom: 0; letter-spacing: -0.03em; }
21
30
  .eyebrow { margin-bottom: 5px; font-size: 11px; font-weight: 750; letter-spacing: .14em; color: #86a9ec; }
@@ -23,6 +32,13 @@ h1 { margin-bottom: 0; letter-spacing: -0.03em; }
23
32
  .tabs { display: flex; gap: 6px; padding: 12px clamp(20px, 4vw, 56px); background: var(--paper); border-bottom: 1px solid var(--line); }
24
33
  .tab, .quiet, .refresh, .next { border: 1px solid var(--line); border-radius: 8px; background: white; padding: 8px 13px; color: var(--ink); }
25
34
  .tab.active { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
35
+ .tabs a { text-decoration: none; white-space: nowrap; }
36
+ .tabs a:focus-visible { outline: 3px solid #8cb4ff; outline-offset: 2px; }
37
+ .session-tabs { display: flex; gap: 6px; margin-top: 20px; border-bottom: 1px solid var(--line); }
38
+ .session-tab { border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; background: transparent; color: var(--muted); }
39
+ .session-tab[aria-selected="true"] { border-bottom-color: var(--blue); color: var(--blue); font-weight: 700; }
40
+ .side-identities { margin-top: 8px; }
41
+ .side-identities summary { cursor: pointer; color: var(--muted); font-size: 12px; }
26
42
  .quiet { background: transparent; color: white; border-color: #52627d; }
27
43
  main { max-width: 1500px; margin: 0 auto; padding: 24px clamp(14px, 3vw, 42px) 56px; }
28
44
  .status { min-height: 24px; color: var(--muted); }
@@ -49,7 +65,7 @@ input, select, textarea { min-width: 0; border: 1px solid #bac3d0; border-radius
49
65
  .selection-notice button { flex-shrink: 0; }
50
66
  .multi-filter { position: relative; min-width: 0; margin: 0; padding: 0; border: 0; }
51
67
  .multi-filter legend { margin-bottom: 5px; padding: 0; color: var(--muted); font-size: 13px; }
52
- .multi-filter-trigger { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 36px; border: 1px solid #bac3d0; border-radius: 7px; padding: 8px 10px; background: white; color: var(--ink); text-align: left; }
68
+ .multi-filter-trigger { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: var(--control-min-height); border: 1px solid #bac3d0; border-radius: 7px; padding: var(--control-padding); background: white; color: var(--ink); font-size: var(--control-font-size); line-height: var(--control-line-height); text-align: left; }
53
69
  .multi-filter-trigger[aria-expanded="true"] { border-color: var(--blue); box-shadow: 0 0 0 2px rgb(24 88 215 / 12%); }
54
70
  .multi-filter-summary { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
55
71
  .multi-filter-popover[hidden] { display: none; }
@@ -62,10 +78,23 @@ input, select, textarea { min-width: 0; border: 1px solid #bac3d0; border-radius
62
78
  .multi-filter-option:hover { background: var(--wash); border-radius: 5px; }
63
79
  .multi-filter-option input { width: 16px; height: 16px; flex: 0 0 auto; margin: 0; accent-color: var(--blue); }
64
80
  .multi-filter-empty { margin: 8px; color: var(--muted); font-size: 13px; }
81
+ .admin-select { appearance: none; min-height: var(--control-min-height); padding: var(--control-padding); padding-right: 30px; font-size: var(--control-font-size); line-height: var(--control-line-height); text-overflow: ellipsis; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: right 14px center, right 9px center; background-size: 5px 5px; background-repeat: no-repeat; }
82
+ .admin-select:hover:not(:disabled) { border-color: #8290a3; }
83
+ .admin-select:disabled { cursor: default; }
84
+ .admin-select[aria-expanded="true"] { border-color: var(--blue); box-shadow: 0 0 0 2px rgb(24 88 215 / 12%); }
85
+ .admin-select-popover { position: fixed; z-index: 104; top: 0; left: 0; display: flex; flex-direction: column; overflow: hidden; color: var(--ink); font-size: var(--control-font-size); line-height: var(--control-line-height); }
86
+ .admin-select-popover .multi-filter-search { flex: none; font-size: inherit; margin: 0 0 8px; }
87
+ .admin-select-popover .multi-filter-options { min-height: 0; overscroll-behavior: contain; }
88
+ .admin-select-option { position: relative; padding: 8px 30px 8px 8px; border-radius: 5px; cursor: pointer; overflow-wrap: anywhere; }
89
+ .admin-select-option:hover, .admin-select-option[data-active="true"] { background: var(--blue-soft); }
90
+ .admin-select-option[aria-selected="true"] { color: var(--blue); font-weight: 600; }
91
+ .admin-select-option[aria-selected="true"]::after { content: "✓"; position: absolute; right: 8px; }
92
+ .admin-select-option[aria-disabled="true"] { color: var(--muted); opacity: .55; cursor: default; background: transparent; }
93
+ .admin-select-popover [hidden] { display: none; }
65
94
  .time-range-filter { position: relative; min-width: 0; margin: 0; padding: 0; border: 0; grid-column: span 2; }
66
95
  .time-range-filter legend { margin-bottom: 5px; padding: 0; color: var(--muted); font-size: 13px; }
67
96
  .time-range-control { position: relative; }
68
- .time-range-trigger { width: 100%; min-height: 36px; display: flex; align-items: center; gap: 9px; border: 1px solid #bac3d0; border-radius: 7px; padding: 8px 10px; background: white; color: var(--ink); text-align: left; }
97
+ .time-range-trigger { width: 100%; min-height: var(--control-min-height); display: flex; align-items: center; gap: 9px; border: 1px solid #bac3d0; border-radius: 7px; padding: var(--control-padding); background: white; color: var(--ink); font-size: var(--control-font-size); line-height: var(--control-line-height); text-align: left; }
69
98
  .time-range-trigger:hover { border-color: #8290a3; }
70
99
  .time-range-trigger[aria-expanded="true"] { border-color: var(--blue); box-shadow: 0 0 0 2px rgb(24 88 215 / 12%); }
71
100
  .time-range-trigger.has-value { padding-right: 58px; }
@@ -100,18 +129,26 @@ input, select, textarea { min-width: 0; border: 1px solid #bac3d0; border-radius
100
129
  .time-range-backdrop { display: none; }
101
130
  .table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 9px; }
102
131
  table { width: 100%; border-collapse: collapse; min-width: 900px; }
103
- #sessions table { min-width: 1250px; table-layout: fixed; }
104
- #sessions th:nth-child(1) { width: 14%; }
105
- #sessions th:nth-child(2) { width: 5%; }
106
- #sessions th:nth-child(3) { width: 26%; }
107
- #sessions th:nth-child(4) { width: 10%; }
108
- #sessions th:nth-child(5) { width: 6%; }
109
- #sessions th:nth-child(6) { width: 6%; }
110
- #sessions th:nth-child(7) { width: 8%; }
111
- #sessions th:nth-child(8) { width: 10%; }
112
- #sessions th:nth-child(9) { width: 15%; }
132
+ #sessions-ordinary table { min-width: 1200px; table-layout: fixed; }
133
+ #sessions-ordinary td { overflow-wrap: anywhere; }
134
+ #sessions-ordinary .session-time { white-space: normal; }
135
+ #sessions-ordinary th:nth-child(1) { width: 12%; }
136
+ #sessions-ordinary th:nth-child(2) { width: 5%; }
137
+ #sessions-ordinary th:nth-child(3) { width: 18%; }
138
+ #sessions-ordinary th:nth-child(4) { width: 9%; }
139
+ #sessions-ordinary th:nth-child(5) { width: 6%; }
140
+ #sessions-ordinary th:nth-child(6) { width: 6%; }
141
+ #sessions-ordinary th:nth-child(7) { width: 11%; }
142
+ #sessions-ordinary th:nth-child(8), #sessions-ordinary th:nth-child(9), #sessions-ordinary th:nth-child(10) { width: 11%; }
143
+ #sessions-temporary td { max-width: 320px; overflow-wrap: anywhere; }
144
+ .session-time { white-space: nowrap; font-variant-numeric: tabular-nums; }
113
145
  th, td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 13px; }
114
146
  th { position: sticky; top: 0; background: #f7f9fc; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
147
+ .session-sort { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 4px; padding: 5px 0; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; white-space: nowrap; }
148
+ .session-sort:hover, th[aria-sort="ascending"] .session-sort, th[aria-sort="descending"] .session-sort { color: var(--blue); }
149
+ .sort-indicator { font-size: 14px; }
150
+ .session-refresh { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 12px; }
151
+ .session-refresh time { white-space: nowrap; }
115
152
  tr:last-child td { border-bottom: 0; }
116
153
  .id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--muted); word-break: break-all; }
117
154
  .chat-link { color: var(--blue); font-weight: 700; text-decoration: none; }
@@ -138,6 +175,18 @@ button:disabled { cursor: default; opacity: .48; }
138
175
  .update-versions strong { font-size: 24px; overflow-wrap: anywhere; }
139
176
  .update-operation { padding: 16px; margin: 20px 0; border-radius: 9px; background: var(--wash); }
140
177
  .update-operation p { margin: 8px 0 0; line-height: 1.6; }
178
+ .instance-diagnostics { margin: 20px 0; padding: 18px; border: 1px solid var(--line); border-radius: 9px; }
179
+ .diagnostics-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
180
+ .diagnostics-head h3 { margin: 0; font-size: 16px; }
181
+ .diagnostics-head p, .diagnostics-help, #diagnostics-message { margin: 8px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
182
+ #diagnostics-message.error { color: var(--danger); }
183
+ .diagnostics-status { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 16px; margin: 18px 0; }
184
+ .diagnostics-status dt, .diagnostics-environment dt { margin-bottom: 7px; color: var(--muted); font-size: 12px; }
185
+ .diagnostics-status dd { margin: 0; }
186
+ .diagnostics-environment { padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
187
+ .diagnostics-environment summary { cursor: pointer; }
188
+ .diagnostics-environment dl { display: grid; gap: 14px; margin: 16px 0 0; }
189
+ .diagnostics-environment dd { margin: 0; overflow-wrap: anywhere; font-size: 12px; }
141
190
  .update-warning { color: var(--muted); font-size: 13px; line-height: 1.6; }
142
191
  .update-help { margin-top: 16px; font-size: 13px; }
143
192
  .service-restart { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
@@ -150,7 +199,7 @@ button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px s
150
199
  .login-card input { margin-bottom: 14px; }
151
200
  .login-card button { width: 100%; border: 0; border-radius: 8px; padding: 10px; background: var(--blue); color: white; }
152
201
  @media (max-width: 650px) {
153
- .topbar { padding: 18px; }
202
+ .topbar { padding: 12px 18px; }
154
203
  .tabs { overflow-x: auto; padding: 10px 14px; }
155
204
  main { padding: 14px 8px 40px; }
156
205
  .panel { border-radius: 9px; padding: 12px; }
@@ -173,12 +222,36 @@ body.schedule-drawer-open, body.defaults-drawer-open, body.session-settings-draw
173
222
  .schedule-editor-head .eyebrow { color: var(--muted); }
174
223
  #schedule-editor #schedule-close { padding: 4px 12px; font-size: 28px; background: transparent; color: var(--muted); }
175
224
  #schedule-editor #schedule-fields { flex: 1; min-height: 0; display: flex; flex-direction: column; }
176
- .schedule-editor-body { flex: 1; overflow-y: auto; padding: 24px; }
177
- .schedule-editor-body h4 { margin: 24px 0 12px; }
178
- .schedule-editor-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--line); background: var(--paper); }
225
+ .schedule-editor-body { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 24px; background: var(--wash); }
226
+ .schedule-editor-section { min-width: 0; margin: 0 0 16px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
227
+ .schedule-editor-section:last-child { margin-bottom: 0; }
228
+ .schedule-editor-section h4 { margin: 0 0 16px; font-size: 15px; }
229
+ .schedule-section-fields { display: grid; gap: 14px; min-width: 0; }
230
+ #schedule-editor .schedule-section-fields > *, #schedule-editor .schedule-form-grid > * { min-width: 0; }
231
+ #schedule-editor .schedule-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
232
+ #schedule-editor .schedule-field-help { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
233
+ #schedule-editor .schedule-field-help p { margin: 0 0 6px; }
234
+ #schedule-editor .schedule-field-help p:last-child { margin-bottom: 0; }
235
+ #schedule-editor .schedule-target-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
236
+ .schedule-target-choices legend { margin-bottom: 7px; padding: 0; color: var(--muted); font-size: 13px; }
237
+ #schedule-editor .schedule-target-choices label { display: flex; align-items: flex-start; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); cursor: pointer; }
238
+ #schedule-editor .schedule-target-choices input { width: 15px; height: 15px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--blue); }
239
+ .schedule-target-choices small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.5; }
240
+ #schedule-editor .schedule-target-choices label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
241
+ #schedule-editor .schedule-target-choices label:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
242
+ #schedule-editor .schedule-target-choices:disabled label { cursor: default; }
243
+ #schedule-editor .chat-manual-toggle { font-size: 12px; }
244
+ .schedule-preview-panel { padding: 14px; border-radius: 8px; background: var(--wash); font-size: 12px; line-height: 1.6; }
245
+ .schedule-preview-panel ol { margin: 10px 0 0; padding-left: 20px; overflow-wrap: anywhere; }
246
+ .schedule-preview-panel ol:empty { display: none; }
247
+ .schedule-editor-footer { display: flex; flex-direction: column; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--line); background: var(--paper); }
248
+ .schedule-editor-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; width: 100%; }
249
+ #schedule-form-error { margin: 0; width: 100%; max-height: 20vh; overflow-y: auto; color: var(--danger); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
250
+ #schedule-editor .schedule-field-error { display: block; flex-basis: 100%; margin-top: 6px; color: var(--danger); font-size: 12px; line-height: 1.5; }
251
+ #schedule-editor [aria-invalid="true"] { border-color: var(--danger); outline: 1px solid var(--danger); outline-offset: 1px; }
179
252
  #schedule-editor #schedule-cancel, #schedule-editor #schedule-preview { color: var(--ink); background: white; border: 1px solid var(--line); }
180
253
  #schedule-editor input { margin: 0; }
181
- #schedule-timezone-note { margin-bottom: 14px; }
254
+ #schedule-editor #schedule-timezone-note { margin-top: -8px; }
182
255
  #schedule-filter { grid-template-columns: minmax(160px, 260px) repeat(2, minmax(120px, 180px)) max-content; justify-content: start; }
183
256
  #schedules-body td { min-width: 90px; }
184
257
  #schedules-body td:first-child { min-width: 150px; }
@@ -192,27 +265,52 @@ body.schedule-drawer-open, body.defaults-drawer-open, body.session-settings-draw
192
265
  .schedule-editor-footer { padding: 12px 16px; flex-wrap: wrap; }
193
266
  #schedule-filter { grid-template-columns: 1fr; }
194
267
  }
195
- #schedule-editor[hidden], #schedule-detail[hidden] { display: none; }
268
+ #schedule-editor[hidden], #schedule-editor [hidden], #schedule-detail[hidden] { display: none; }
196
269
  #schedule-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
197
270
  .schedule-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 14px; }
198
271
  .schedule-form-grid [hidden], #schedule-weekdays[hidden], #schedule-end-condition[hidden] { display: none; }
199
- #schedule-end-condition { border: 1px solid var(--line); border-radius: 8px; margin: 14px 0; padding: 12px; }
200
- #schedule-end-condition .schedule-form-grid { margin-bottom: 10px; }
201
- #schedule-end-condition .meta-line { margin: 8px 0 0; }
202
- #schedule-weekdays { display: flex; flex-wrap: wrap; gap: 12px; border: 1px solid var(--line); margin: 0 0 14px; }
272
+ #schedule-end-condition { min-width: 0; border: 0; border-top: 1px solid var(--line); margin: 0; padding: 14px 0 0; }
273
+ #schedule-end-condition summary { color: var(--muted); cursor: pointer; font-size: 13px; }
274
+ #schedule-end-condition .schedule-form-grid { margin: 14px 0 8px; }
275
+ #schedule-weekdays { display: flex; flex-wrap: wrap; gap: 10px 14px; border: 0; margin: 0; padding: 0; }
276
+ #schedule-weekdays legend { margin-bottom: 8px; padding: 0; color: var(--muted); font-size: 13px; }
203
277
  #schedule-weekdays label, #schedule-editor .schedule-checkbox { display: flex; align-items: center; gap: 7px; }
204
278
  #schedule-weekdays input, #schedule-editor .schedule-checkbox input { width: auto; margin: 0; }
205
- #schedule-editor .schedule-checkbox { margin: 14px 0; }
279
+ #schedule-editor .schedule-checkbox { margin: 0; }
206
280
  #schedule-instructions { width: 100%; resize: vertical; }
207
281
  #schedule-editor button:disabled { opacity: .5; cursor: default; }
208
282
  #schedule-preview-message { margin: 14px 0 0; }
209
283
  #schedule-preview-message.error { color: var(--danger); }
210
- .schedule-detail { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
211
284
  #schedule-detail-instructions { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; background: var(--wash); padding: 14px; border-radius: 8px; }
285
+ .session-identities { margin-top: 8px; }
286
+ .session-identities summary, .session-more summary { color: var(--blue); cursor: pointer; font-size: 12px; }
287
+ .session-identities label { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
288
+ .session-identities input { width: 100%; min-width: 0; margin-top: 4px; padding: 5px 7px; font-family: monospace; font-size: 11px; }
289
+ .session-identities small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
290
+ .session-more { flex-basis: 100%; min-width: 0; }
291
+ .session-more summary { padding: 5px 0; }
292
+ .session-more-items { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 5px; }
293
+ .session-more-items .action { max-width: 100%; text-align: left; white-space: normal; }
294
+ body.schedule-detail-open { overflow: hidden; }
295
+ #schedule-detail .drawer-head > div { min-width: 0; }
296
+ #schedule-detail .drawer-head h3, #schedule-detail p { overflow-wrap: anywhere; }
297
+ #schedule-detail .drawer-body section + section { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
298
+ #schedule-detail .drawer-body h4 { margin: 0 0 12px; }
299
+ #schedule-detail table { min-width: 560px; }
300
+ #schedule-detail .error { color: var(--danger); }
301
+ #schedule-detail-note:empty, #schedule-runs-note:empty { display: none; }
302
+ #schedule-detail .pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 16px; }
212
303
  .preserve-lines { white-space: pre-line; overflow-wrap: anywhere; }
213
304
  @media (max-width: 700px) { .tabs { flex-wrap: wrap; } }
214
- .schedule-session-settings { margin-top: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
215
- .schedule-session-settings summary { cursor: pointer; overflow-wrap: anywhere; }
305
+ .schedule-session-settings summary { cursor: pointer; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
306
+ #schedule-session-summary { display: block; margin: 6px 0 0 18px; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.6; }
307
+ .schedule-session-settings .schedule-section-fields { margin-top: 16px; }
308
+ #schedule-session-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
309
+ #schedule-session-note:empty { display: none; }
310
+ @media (max-width: 540px) {
311
+ .schedule-editor-section { padding: 14px; }
312
+ #schedule-editor .schedule-form-grid, #schedule-editor .schedule-target-choices { grid-template-columns: 1fr; }
313
+ }
216
314
  .drawer-form { height: 100%; display: flex; flex-direction: column; border: 0; border-radius: 0; padding: 0; margin: 0; }
217
315
  .drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
218
316
  .drawer-head h3 { margin: 0; font-size: 22px; }
@@ -269,7 +367,6 @@ body.schedule-drawer-open, body.defaults-drawer-open, body.session-settings-draw
269
367
  .defaults-toolbar { flex-wrap: wrap; gap: 12px; }
270
368
  .defaults-tab { padding: 8px 12px; }
271
369
  }
272
- #schedule-session-note { color: var(--muted); margin: 12px 0; font-size: 13px; }
273
370
  .identity-toolbar, .person { display: flex; align-items: center; gap: 10px; min-width: 0; }
274
371
  .identity-toolbar { flex-wrap: wrap; justify-content: flex-end; }
275
372
  .person-name { overflow-wrap: anywhere; }
@@ -291,4 +388,8 @@ body.schedule-drawer-open, body.defaults-drawer-open, body.session-settings-draw
291
388
  .login-link { display: inline-block; margin-bottom: 14px; }
292
389
  .login-actions { justify-content: flex-start; margin: 18px 0; }
293
390
  #login-code { overflow-wrap: anywhere; }
294
- @media (max-width: 600px) { .topbar { align-items: flex-start; gap: 20px; flex-wrap: wrap; } .identity-toolbar { justify-content: flex-start; } }
391
+ @media (max-width: 600px) {
392
+ .topbar { align-items: flex-start; gap: 12px; flex-wrap: wrap; }
393
+ .topbar-brand { flex-basis: 100%; }
394
+ .topbar .identity-toolbar { max-width: 100%; justify-content: flex-start; }
395
+ }