netizen-cli 0.21.0__tar.gz → 0.22.0__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 (470) hide show
  1. {netizen_cli-0.21.0/netizen_cli.egg-info → netizen_cli-0.22.0}/PKG-INFO +1 -1
  2. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/README.md +2 -0
  3. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/config.example.yaml +2 -0
  4. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/__init__.py +1 -1
  5. netizen_cli-0.22.0/netizen_cli/activity_accumulator.py +131 -0
  6. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/admin.css +2 -0
  7. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/admin.js +75 -35
  8. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/index.html +18 -18
  9. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/session-lists.js +3 -3
  10. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/users.py +1 -0
  11. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/web.py +76 -35
  12. netizen_cli-0.22.0/netizen_cli/backends.py +390 -0
  13. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/bindings.py +1 -0
  14. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cards/callbacks.py +2 -0
  15. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cards/controls.py +121 -63
  16. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cards/defaults.py +8 -3
  17. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cards/reply.py +28 -63
  18. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cards/status.py +62 -32
  19. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/app_values.py +35 -47
  20. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/base.py +11 -29
  21. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/card_controls.py +25 -23
  22. netizen_cli-0.22.0/netizen_cli/channel/codex_reply_events.py +184 -0
  23. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/commands.py +59 -53
  24. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/entry.py +33 -25
  25. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/forks.py +19 -23
  26. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/input_preparation.py +7 -14
  27. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/messages.py +3 -3
  28. netizen_cli-0.22.0/netizen_cli/channel/presentation.py +450 -0
  29. netizen_cli-0.22.0/netizen_cli/channel/process_presentation.py +328 -0
  30. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/prompts.py +12 -88
  31. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/question_inputs.py +3 -8
  32. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/questions.py +8 -4
  33. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/reactions.py +41 -64
  34. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/replies.py +35 -28
  35. netizen_cli-0.22.0/netizen_cli/channel/reply_adapters.py +337 -0
  36. netizen_cli-0.22.0/netizen_cli/channel/reply_events.py +173 -0
  37. netizen_cli-0.22.0/netizen_cli/channel/reply_presenter.py +629 -0
  38. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/schedules.py +20 -9
  39. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/session_cards.py +34 -56
  40. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/session_tools.py +15 -6
  41. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/sides.py +8 -66
  42. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/topics.py +12 -3
  43. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/turn_files.py +40 -37
  44. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel_app.py +19 -3
  45. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/chat_avatars.py +1 -1
  46. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cli.py +16 -6
  47. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cli_data.py +15 -6
  48. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cli_packages.py +6 -10
  49. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cli_setup.py +77 -22
  50. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cli_update_worker.py +22 -0
  51. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/codex_runtime.py +8 -10
  52. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/defaults/service.py +8 -4
  53. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/domain.py +6 -10
  54. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/experience.py +38 -9
  55. netizen_cli-0.22.0/netizen_cli/external_calls.py +20 -0
  56. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/feishu_app_onboarding.py +13 -4
  57. netizen_cli-0.22.0/netizen_cli/file_evidence.py +37 -0
  58. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/image_inputs.py +7 -9
  59. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/main.py +212 -146
  60. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/management/__init__.py +2 -0
  61. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/management/service.py +145 -134
  62. netizen_cli-0.22.0/netizen_cli/management_errors.py +15 -0
  63. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/markdown_images.py +8 -2
  64. netizen_cli-0.22.0/netizen_cli/ordinary_sessions.py +104 -0
  65. netizen_cli-0.22.0/netizen_cli/process_activity.py +125 -0
  66. netizen_cli-0.22.0/netizen_cli/process_messages.py +262 -0
  67. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/progress_card_settings.py +6 -2
  68. netizen_cli-0.22.0/netizen_cli/prompt_inputs.py +15 -0
  69. netizen_cli-0.22.0/netizen_cli/result_images.py +253 -0
  70. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/activity.py +39 -131
  71. netizen_cli-0.22.0/netizen_cli/runtime/codex_contracts.py +100 -0
  72. netizen_cli-0.22.0/netizen_cli/runtime/codex_ordinary.py +79 -0
  73. netizen_cli-0.22.0/netizen_cli/runtime/codex_replies.py +77 -0
  74. netizen_cli-0.22.0/netizen_cli/runtime/codex_session_reads.py +64 -0
  75. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/contracts.py +23 -83
  76. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/goals.py +6 -23
  77. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/name_writes.py +7 -0
  78. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/naming.py +2 -4
  79. netizen_cli-0.22.0/netizen_cli/runtime/native_inputs.py +16 -0
  80. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/observation.py +30 -9
  81. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/queries.py +22 -1
  82. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/shutdown.py +1 -1
  83. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/sides.py +20 -26
  84. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/state.py +29 -40
  85. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/submission.py +42 -24
  86. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/turn_control.py +18 -16
  87. netizen_cli-0.22.0/netizen_cli/runtime/turn_start.py +56 -0
  88. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/schedules/mcp.py +1 -1
  89. netizen_cli-0.22.0/netizen_cli/session_providers.py +130 -0
  90. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/session_settings.py +36 -2
  91. netizen_cli-0.22.0/netizen_cli/session_views.py +129 -0
  92. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/sessions/service.py +17 -54
  93. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/settings.py +7 -0
  94. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/turn_activity.py +40 -16
  95. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/turn_files.py +145 -90
  96. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/worktrees/service.py +1 -1
  97. {netizen_cli-0.21.0 → netizen_cli-0.22.0/netizen_cli.egg-info}/PKG-INFO +1 -1
  98. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli.egg-info/SOURCES.txt +35 -0
  99. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/pyproject.toml +1 -1
  100. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/skills/netizen-user-guide/SKILL.md +5 -5
  101. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/skills/netizen-user-guide/references/admin.md +6 -6
  102. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/skills/netizen-user-guide/references/faq.md +2 -3
  103. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/skills/netizen-user-guide/references/feedback-and-files.md +29 -26
  104. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/skills/netizen-user-guide/references/fork-side-goal.md +4 -4
  105. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/skills/netizen-user-guide/references/messages.md +2 -2
  106. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/skills/netizen-user-guide/references/scheduled-tasks.md +4 -4
  107. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/skills/netizen-user-guide/references/sessions.md +4 -4
  108. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/skills/netizen-user-guide/references/status-and-control.md +1 -1
  109. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/skills/netizen-user-guide/references/user-guide.md +10 -5
  110. netizen_cli-0.22.0/tests/test_backend_assembly.py +24 -0
  111. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_binding_scheduled_channel.py +43 -7
  112. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_cards.py +24 -11
  113. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_channel_app.py +208 -97
  114. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_channel_input_preparation.py +13 -13
  115. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_check_sdk.py +5 -1
  116. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_cli.py +57 -3
  117. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_cli_distribution.py +8 -5
  118. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_cli_integration.py +110 -1
  119. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_cli_packages.py +6 -0
  120. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_cli_setup.py +14 -0
  121. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_cli_update.py +37 -1
  122. netizen_cli-0.22.0/tests/test_codex_replies.py +86 -0
  123. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_codex_runtime.py +490 -17
  124. netizen_cli-0.22.0/tests/test_codex_surface_contract.py +262 -0
  125. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_completion_mentions.py +8 -7
  126. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_configuration_publication.py +14 -10
  127. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_defaults_cards.py +1 -1
  128. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_defaults_channel.py +2 -1
  129. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_defaults_runtime.py +4 -2
  130. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_defaults_worktree_channel.py +2 -1
  131. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_deployment.py +33 -6
  132. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_feishu_app_onboarding.py +1 -0
  133. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_file_input_channel.py +4 -3
  134. netizen_cli-0.22.0/tests/test_git_environment.py +52 -0
  135. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_goal_reply_separation.py +120 -6
  136. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_image_inputs.py +8 -4
  137. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_latest_answer.py +3 -1
  138. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_main.py +141 -4
  139. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_message_material_inputs.py +4 -2
  140. netizen_cli-0.22.0/tests/test_ordinary_sessions.py +341 -0
  141. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_partial_answer_delivery.py +215 -81
  142. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_persistent_fork_channel.py +42 -4
  143. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_probe_feishu_completion_mention.py +2 -0
  144. netizen_cli-0.22.0/tests/test_process_items.py +131 -0
  145. netizen_cli-0.22.0/tests/test_process_message_probe.py +173 -0
  146. netizen_cli-0.22.0/tests/test_process_message_transport.py +206 -0
  147. netizen_cli-0.22.0/tests/test_process_messages.py +115 -0
  148. netizen_cli-0.22.0/tests/test_process_ordering.py +517 -0
  149. netizen_cli-0.22.0/tests/test_process_presentation.py +430 -0
  150. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_progress_card_entrypoints.py +2 -2
  151. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_progress_card_presentation.py +24 -0
  152. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_project_delete_runtime.py +2 -1
  153. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_question_channel.py +8 -2
  154. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_release_script.py +26 -5
  155. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_rename_name_channel.py +1 -0
  156. netizen_cli-0.22.0/tests/test_result_images.py +419 -0
  157. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_runtime_thread_naming.py +2 -1
  158. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_schedule_mcp.py +17 -8
  159. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_schedule_scope_matrix.py +4 -2
  160. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_scheduled_channel.py +84 -10
  161. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_scheduled_runtime.py +16 -1
  162. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_scheduler_presenter.py +15 -25
  163. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_session_collaboration_app.py +41 -9
  164. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_session_id_cards.py +9 -0
  165. netizen_cli-0.22.0/tests/test_session_observations.py +40 -0
  166. netizen_cli-0.22.0/tests/test_session_operations.py +280 -0
  167. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_session_tools.py +9 -1
  168. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_settings_projects.py +16 -0
  169. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_status_commands.py +3 -2
  170. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_suppress_reply.py +86 -4
  171. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_turn_patch_statistics.py +57 -1
  172. netizen_cli-0.22.0/tests/test_turn_start_stop.py +545 -0
  173. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_worktree_channel_cwd.py +10 -3
  174. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_worktree_service.py +3 -0
  175. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_worktree_tools_integration.py +2 -1
  176. netizen_cli-0.21.0/netizen_cli/channel/presentation.py +0 -882
  177. netizen_cli-0.21.0/netizen_cli/channel/reply_presenter.py +0 -833
  178. netizen_cli-0.21.0/netizen_cli/result_images.py +0 -123
  179. netizen_cli-0.21.0/tests/test_result_images.py +0 -160
  180. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/MANIFEST.in +0 -0
  181. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/_build.py +0 -0
  182. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/__main__.py +0 -0
  183. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/account_rate_limits.py +0 -0
  184. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/__init__.py +0 -0
  185. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/answer_previews.py +0 -0
  186. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/auth.py +0 -0
  187. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/credentials.py +0 -0
  188. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/errors.py +0 -0
  189. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/feishu.py +0 -0
  190. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/file_previews.py +0 -0
  191. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/login.py +0 -0
  192. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/port_config.py +0 -0
  193. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/presentation.py +0 -0
  194. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/queries.py +0 -0
  195. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/admin-ui.js +0 -0
  196. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/attachment-files.js +0 -0
  197. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/chat-picker.css +0 -0
  198. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/chat-picker.js +0 -0
  199. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/config-editor.js +0 -0
  200. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/content-preview.css +0 -0
  201. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/content-preview.js +0 -0
  202. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/conversation.js +0 -0
  203. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/file-browser.js +0 -0
  204. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/group-access.js +0 -0
  205. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/identity.js +0 -0
  206. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/login.html +0 -0
  207. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/login.js +0 -0
  208. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/netizen.svg +0 -0
  209. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/path-files.js +0 -0
  210. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/progress-card.js +0 -0
  211. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/project-files.js +0 -0
  212. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/question-notifications.js +0 -0
  213. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/session-access.js +0 -0
  214. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/session-batch.js +0 -0
  215. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/time-range.js +0 -0
  216. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/vendor/ace/LICENSE +0 -0
  217. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/vendor/ace/README.md +0 -0
  218. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/vendor/ace/ace.js +0 -0
  219. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/vendor/ace/ext-diff.js +0 -0
  220. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/vendor/ace/mode-javascript.js +0 -0
  221. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/vendor/ace/mode-json.js +0 -0
  222. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/vendor/ace/mode-markdown.js +0 -0
  223. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/vendor/ace/mode-python.js +0 -0
  224. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/static/worktrees.js +0 -0
  225. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/admin/transport.py +0 -0
  226. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/attachments.py +0 -0
  227. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/builtin_skills.py +0 -0
  228. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/card_content.py +0 -0
  229. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cards/__init__.py +0 -0
  230. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cards/chat_target.py +0 -0
  231. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cards/fork.py +0 -0
  232. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cards/pagination.py +0 -0
  233. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cards/questions.py +0 -0
  234. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cards/scheduled.py +0 -0
  235. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cards/session_ids.py +0 -0
  236. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cards/usage.py +0 -0
  237. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cards/workspace.py +0 -0
  238. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/__init__.py +0 -0
  239. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/completion_mentions.py +0 -0
  240. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/constants.py +0 -0
  241. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/ports.py +0 -0
  242. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/reply_suppression.py +0 -0
  243. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/channel/session_pages.py +0 -0
  244. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/chat_access.py +0 -0
  245. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/chat_targets.py +0 -0
  246. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cli_services.py +0 -0
  247. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cli_update.py +0 -0
  248. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/cli_update_restore.py +0 -0
  249. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/completion_mention.py +0 -0
  250. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/database_migrations.py +0 -0
  251. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/defaults/__init__.py +0 -0
  252. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/defaults/models.py +0 -0
  253. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/defaults/store.py +0 -0
  254. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/delegation_envelope.py +0 -0
  255. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/deployment/__init__.py +0 -0
  256. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/deployment/restart_worker.py +0 -0
  257. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/deployment/update_executor.py +0 -0
  258. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/deployment/update_protocol.py +0 -0
  259. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/error_messages.py +0 -0
  260. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/feishu_app_permissions.py +0 -0
  261. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/feishu_links.py +0 -0
  262. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/file_citations.py +0 -0
  263. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/file_inputs.py +0 -0
  264. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/git_status.py +0 -0
  265. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/group_access.py +0 -0
  266. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/instance.py +0 -0
  267. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/lark_app.py +0 -0
  268. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/management/attachment_files.py +0 -0
  269. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/management/blocking_io.py +0 -0
  270. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/management/chat_directory.py +0 -0
  271. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/management/chat_labels.py +0 -0
  272. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/management/coordination.py +0 -0
  273. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/management/path_files.py +0 -0
  274. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/management/project_files.py +0 -0
  275. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/management/updates.py +0 -0
  276. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/mcp_transport.py +0 -0
  277. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/message_content.py +0 -0
  278. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/message_history.py +0 -0
  279. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/message_preparation.py +0 -0
  280. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/message_projection.py +0 -0
  281. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/migrations/__init__.py +0 -0
  282. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/migrations/schema.py +0 -0
  283. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/migrations/v14.py +0 -0
  284. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/migrations/v15.py +0 -0
  285. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/migrations/v16.py +0 -0
  286. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/migrations/v17.py +0 -0
  287. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/migrations/v18.py +0 -0
  288. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/migrations/v19.py +0 -0
  289. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/migrations/v20.py +0 -0
  290. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/migrations/v21.py +0 -0
  291. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/migrations/v22.py +0 -0
  292. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/model_settings.py +0 -0
  293. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/package_resources.py +0 -0
  294. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/pagination.py +0 -0
  295. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/partial_answers.py +0 -0
  296. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/progress_card_config.py +0 -0
  297. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/project_files.py +0 -0
  298. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/projects.py +0 -0
  299. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/prompt_projection.py +0 -0
  300. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/question_notifications.py +0 -0
  301. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/quoted_context.py +0 -0
  302. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/__init__.py +0 -0
  303. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/compaction.py +0 -0
  304. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/forks.py +0 -0
  305. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/lifecycle.py +0 -0
  306. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/limits.py +0 -0
  307. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/native_values.py +0 -0
  308. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/occupancy.py +0 -0
  309. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/subscriptions.py +0 -0
  310. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/runtime/thread_naming.py +0 -0
  311. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/schedules/__init__.py +0 -0
  312. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/schedules/models.py +0 -0
  313. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/schedules/outcome_mcp.py +0 -0
  314. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/schedules/scheduler.py +0 -0
  315. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/schedules/service.py +0 -0
  316. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/schedules/store.py +0 -0
  317. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/sdk_gap_adapter.py +0 -0
  318. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/service_launcher.py +0 -0
  319. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/session_inventory.py +0 -0
  320. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/sessions/__init__.py +0 -0
  321. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/sessions/errors.py +0 -0
  322. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/sessions/mcp.py +0 -0
  323. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/sessions/policy.py +0 -0
  324. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/sessions/presentation.py +0 -0
  325. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/sessions/schema.py +0 -0
  326. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/sessions/sources.py +0 -0
  327. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/skill_references.py +0 -0
  328. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/task_text.py +0 -0
  329. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/terminal_cleanup.py +0 -0
  330. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/thread_history.py +0 -0
  331. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/turn_patch_children.py +0 -0
  332. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/turn_plan_observer.py +0 -0
  333. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/user_questions.py +0 -0
  334. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/worktrees/errors.py +0 -0
  335. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/worktrees/git.py +0 -0
  336. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/worktrees/models.py +0 -0
  337. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/worktrees/policy.py +0 -0
  338. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/worktrees/settings.py +0 -0
  339. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/worktrees/store.py +0 -0
  340. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli/worktrees/viewer.py +0 -0
  341. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli.egg-info/dependency_links.txt +0 -0
  342. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli.egg-info/entry_points.txt +0 -0
  343. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli.egg-info/requires.txt +0 -0
  344. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/netizen_cli.egg-info/top_level.txt +0 -0
  345. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/setup.cfg +0 -0
  346. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/skills/netizen-lark/SKILL.md +0 -0
  347. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/skills/netizen-runtime-guidance/SKILL.md +0 -0
  348. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/skills/netizen-user-guide/references/commands.md +0 -0
  349. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/skills/netizen-user-guide/references/concepts.md +0 -0
  350. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/skills/netizen-user-guide/references/native-capabilities.md +0 -0
  351. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/skills/netizen-user-guide/references/session-collaboration.md +0 -0
  352. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_account_rate_limits.py +0 -0
  353. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_admin_update_executor_probe.py +0 -0
  354. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_attachments.py +0 -0
  355. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_bindings.py +0 -0
  356. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_card_content.py +0 -0
  357. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_card_error_feedback.py +0 -0
  358. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_channel_fixtures.py +0 -0
  359. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_chat_avatars.py +0 -0
  360. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_chat_target_cards.py +0 -0
  361. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_cli_data.py +0 -0
  362. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_cli_packaging.py +0 -0
  363. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_cli_services.py +0 -0
  364. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_codex_sdk_capabilities.py +0 -0
  365. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_codex_sdk_upgrade_0161.py +0 -0
  366. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_codex_sdk_upgrade_0163.py +0 -0
  367. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_codex_sdk_upgrade_0167.py +0 -0
  368. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_codex_sdk_upgrade_0169.py +0 -0
  369. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_codex_sdk_upgrade_0170.py +0 -0
  370. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_completion_mention_cards.py +0 -0
  371. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_completion_topic_delivery.py +0 -0
  372. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_cron_chat_targets.py +0 -0
  373. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_database_migrations.py +0 -0
  374. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_diff_codex_sdk.py +0 -0
  375. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_documentation_links.py +0 -0
  376. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_domain_experience.py +0 -0
  377. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_error_messages.py +0 -0
  378. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_feishu_app_permissions.py +0 -0
  379. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_file_citations.py +0 -0
  380. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_file_inputs.py +0 -0
  381. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_file_pagination.py +0 -0
  382. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_fork_cards.py +0 -0
  383. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_git_status.py +0 -0
  384. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_group_access.py +0 -0
  385. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_lark_app.py +0 -0
  386. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_lark_sdk_contract.py +0 -0
  387. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_markdown_images.py +0 -0
  388. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_message_content.py +0 -0
  389. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_message_history.py +0 -0
  390. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_message_preparation.py +0 -0
  391. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_migration_schema_validation.py +0 -0
  392. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_model_settings.py +0 -0
  393. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_name_writes.py +0 -0
  394. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_optional_progress_card_settings_migration.py +0 -0
  395. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_pagination.py +0 -0
  396. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_partial_answers.py +0 -0
  397. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_persistent_fork_bindings.py +0 -0
  398. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_persistent_fork_runtime.py +0 -0
  399. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_probe_child_files.py +0 -0
  400. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_probe_feishu_partial_answers.py +0 -0
  401. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_probe_feishu_turn_file_card.py +0 -0
  402. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_probe_persistent_fork.py +0 -0
  403. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_probe_python_sdk.py +0 -0
  404. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_probe_scheduled_outcome_mount.py +0 -0
  405. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_probe_scheduled_tasks.py +0 -0
  406. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_probe_sdk_completion_race.py +0 -0
  407. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_probe_sdk_response_recovery.py +0 -0
  408. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_probe_skill_execution.py +0 -0
  409. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_probe_thread_naming.py +0 -0
  410. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_progress_card_config.py +0 -0
  411. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_progress_card_settings_migration.py +0 -0
  412. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_project_delete_channel.py +0 -0
  413. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_project_deletion_storage.py +0 -0
  414. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_project_files.py +0 -0
  415. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_prompt_projection.py +0 -0
  416. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_query_indexes_migration.py +0 -0
  417. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_question_cards.py +0 -0
  418. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_question_notification_config.py +0 -0
  419. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_question_target_parity.py +0 -0
  420. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_quoted_context.py +0 -0
  421. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_reply_suppression.py +0 -0
  422. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_repository_hygiene.py +0 -0
  423. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_resume_channel.py +0 -0
  424. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_retired_deployment.py +0 -0
  425. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_runtime_resume_activation.py +0 -0
  426. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_schedule_auto_archive_migration.py +0 -0
  427. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_schedule_card_retry.py +0 -0
  428. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_schedule_cards.py +0 -0
  429. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_schedule_outcome_migration.py +0 -0
  430. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_schedule_run_now.py +0 -0
  431. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_schedule_service.py +0 -0
  432. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_schedule_trigger_cards.py +0 -0
  433. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_schedule_workspace_cards.py +0 -0
  434. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_schedule_workspace_migration.py +0 -0
  435. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_schedule_workspace_service.py +0 -0
  436. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_schedule_workspace_storage.py +0 -0
  437. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_scheduled_auto_archive.py +0 -0
  438. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_scheduled_outcome.py +0 -0
  439. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_scheduled_worktrees.py +0 -0
  440. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_scheduler.py +0 -0
  441. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_schedules_storage.py +0 -0
  442. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_sdk_gap_adapter.py +0 -0
  443. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_service_launcher.py +0 -0
  444. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_session_card_pages.py +0 -0
  445. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_session_defaults.py +0 -0
  446. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_session_defaults_migration.py +0 -0
  447. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_session_external_runtime.py +0 -0
  448. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_session_policy.py +0 -0
  449. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_session_settings.py +0 -0
  450. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_sqlite_query_readers.py +0 -0
  451. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_status_cards.py +0 -0
  452. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_task_text.py +0 -0
  453. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_terminal_cleanup.py +0 -0
  454. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_thread_history.py +0 -0
  455. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_thread_naming.py +0 -0
  456. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_turn_activity.py +0 -0
  457. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_turn_files.py +0 -0
  458. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_turn_patch_children.py +0 -0
  459. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_turn_plan_observer.py +0 -0
  460. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_update_executor.py +0 -0
  461. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_upgrade_regression.py +0 -0
  462. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_usage_card.py +0 -0
  463. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_usage_control.py +0 -0
  464. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_user_guide_skill.py +0 -0
  465. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_user_questions.py +0 -0
  466. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_worktree_git.py +0 -0
  467. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_worktree_new.py +0 -0
  468. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_worktree_runtime_cwd.py +0 -0
  469. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_worktree_settings.py +0 -0
  470. {netizen_cli-0.21.0 → netizen_cli-0.22.0}/tests/test_worktree_storage.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: netizen-cli
3
- Version: 0.21.0
3
+ Version: 0.22.0
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
@@ -33,6 +33,8 @@
33
33
 
34
34
  ## 你可以用它做什么
35
35
 
36
+ 每个实例在部署时固定使用 Codex 后端。
37
+
36
38
  - **把任务交给 Codex。** 在飞书中阅读代码、修改项目、整理资料;任务由官方 Codex SDK
37
39
  管理的原生会话执行,沿用运行主机上的工具和工作目录。
38
40
  - **边做边沟通。** 普通任务执行时继续发消息,可以补充条件或调整方向;也可以开启
@@ -2,6 +2,8 @@
2
2
  # <NETIZEN_ROOT>/config.yaml with account-specific absolute paths and `projects: {}`.
3
3
  # Replace every /home/your-user path before running Netizen directly.
4
4
  instance:
5
+ # The native backend is fixed at setup.
6
+ backend: codex
5
7
  dataDir: /home/your-user/.netizen/state
6
8
  # Empty Projects created from Feishu are confined below this directory.
7
9
  projectRoot: /home/your-user/projects
@@ -1,3 +1,3 @@
1
1
  """Netizen: a thin Feishu Channel for native Codex Threads."""
2
2
 
3
- __version__ = "0.21.0"
3
+ __version__ = "0.22.0"
@@ -0,0 +1,131 @@
1
+ """Bounded display state accumulated from one physical Turn's safe native events."""
2
+ from __future__ import annotations
3
+
4
+ from dataclasses import dataclass, field, replace
5
+ from time import time
6
+
7
+ from .process_activity import ObservedProcessItem, ProcessActivityWindow
8
+ from .progress_card_settings import ProgressCardSettings
9
+ from .session_settings import BindingTaskFeedback
10
+ from .turn_activity import (
11
+ TurnActivityEntrySnapshot, TurnActivityEvent, TurnActivityKind, TurnActivityStatus, TurnPlanStepSnapshot,
12
+ )
13
+
14
+
15
+ @dataclass(slots=True)
16
+ class ActivityAccumulator:
17
+ plan_available: bool = True
18
+ plan_generated: bool = False
19
+ plan_may_be_stale: bool = False
20
+ steps: tuple[TurnPlanStepSnapshot, ...] = ()
21
+ process_window: ProcessActivityWindow | None = field(default=None, repr=False)
22
+ _sequence: int = 0
23
+ _segment: int = 0
24
+ _commentary: dict[str, TurnActivityEntrySnapshot] = field(default_factory=dict)
25
+ _commentary_order: list[str] = field(default_factory=list)
26
+ _operations: dict[str, TurnActivityEntrySnapshot] = field(default_factory=dict)
27
+ _operation_order: list[str] = field(default_factory=list)
28
+
29
+ @property
30
+ def process_items(self) -> tuple[ObservedProcessItem, ...] | None:
31
+ return self.process_window.rows if self.process_window is not None else None
32
+
33
+ def close(self) -> None:
34
+ if self.process_window is not None:
35
+ self.process_window.close()
36
+
37
+ def visible_state(self, settings: ProgressCardSettings) -> tuple[object, ...]:
38
+ return (
39
+ self.plan_available,
40
+ (self.plan_generated, self.plan_may_be_stale, self.steps)
41
+ if settings.show_plan and self.plan_available else (),
42
+ self.commentary if settings.show_commentary else (),
43
+ self.operations(settings) if settings.show_operations else (),
44
+ self.process_window.revision if self.process_window is not None else None,
45
+ )
46
+
47
+ @property
48
+ def commentary(self) -> tuple[TurnActivityEntrySnapshot, ...]:
49
+ return tuple(
50
+ self._commentary[item_id]
51
+ for item_id in self._commentary_order
52
+ )
53
+
54
+ def operations(self, settings: ProgressCardSettings) -> tuple[TurnActivityEntrySnapshot, ...]:
55
+ ordered: list[tuple[int, TurnActivityEntrySnapshot]] = []
56
+ subagents: dict[
57
+ tuple[int, TurnActivityStatus], tuple[int, TurnActivityEntrySnapshot]
58
+ ] = {}
59
+ by_time = settings.organization == "time"
60
+ for position, item_id in enumerate(self._operation_order[-settings.operation_limit:]):
61
+ entry = self._operations[item_id]
62
+ if entry.kind is TurnActivityKind.SUBAGENT:
63
+ # Hidden/evicted commentary still separates operation segments.
64
+ # Within each segment keep the existing status-based grouping.
65
+ key = (entry.segment if by_time else 0, entry.status)
66
+ previous = subagents.get(key)
67
+ count = entry.count + (previous[1].count if previous else 0)
68
+ subagents[key] = (position, replace(entry, count=count))
69
+ continue
70
+ ordered.append((position, entry))
71
+ ordered.extend(subagents.values())
72
+ ordered.sort(key=lambda item: item[0])
73
+ return tuple(item for _position, item in ordered)
74
+
75
+ def _process_window(self, feedback: BindingTaskFeedback) -> ProcessActivityWindow | None:
76
+ if feedback.progress_card_enabled:
77
+ return None
78
+ if self.process_window is None:
79
+ self.process_window = ProcessActivityWindow(time)
80
+ return self.process_window
81
+
82
+ def apply_plan(self, steps: tuple[TurnPlanStepSnapshot, ...], feedback: BindingTaskFeedback) -> None:
83
+ self.plan_generated = True
84
+ self.steps = steps
85
+ settings = feedback.progress_card_settings
86
+ assert settings is not None # Execution captures the instance fallback.
87
+ if settings.show_plan and (window := self._process_window(feedback)):
88
+ window.plan(steps)
89
+
90
+ def observe(
91
+ self,
92
+ events: tuple[TurnActivityEvent, ...],
93
+ feedback: BindingTaskFeedback,
94
+ ) -> None:
95
+ settings = feedback.progress_card_settings
96
+ assert settings is not None # Execution captures the instance fallback.
97
+ window = self._process_window(feedback) if events else None
98
+ for event in events:
99
+ if window is not None:
100
+ window.observe(event, settings)
101
+ commentary = event.kind is TurnActivityKind.COMMENTARY
102
+ if commentary and event.text is None:
103
+ continue
104
+ self._sequence += 1
105
+ if commentary:
106
+ self._segment += 1
107
+ entry = TurnActivityEntrySnapshot(
108
+ kind=event.kind,
109
+ status=event.status,
110
+ event_timestamp_ms=event.event_timestamp_ms,
111
+ text=event.text,
112
+ count=event.count,
113
+ sequence=self._sequence,
114
+ segment=self._segment,
115
+ )
116
+ if commentary:
117
+ entries = self._commentary
118
+ order = self._commentary_order
119
+ limit = settings.commentary_limit
120
+ else:
121
+ entries = self._operations
122
+ order = self._operation_order
123
+ limit = settings.operation_limit
124
+ item_id = event.item_id
125
+ entries[item_id] = entry
126
+ if item_id in order:
127
+ order.remove(item_id)
128
+ order.append(item_id)
129
+ while len(order) > limit:
130
+ discarded = order.pop(0)
131
+ entries.pop(discarded, None)
@@ -770,3 +770,5 @@ body.navigation-open { overflow: hidden; }
770
770
  #schedules-body .schedule-state, #schedules-body .schedule-execution { min-width: 0; }
771
771
  #schedule-detail table { min-width: 0; }
772
772
  }
773
+
774
+ [data-provider-hidden][hidden] { display: none !important; }
@@ -1,5 +1,19 @@
1
1
  "use strict";
2
2
 
3
+ const unavailableOperations = new Set((document.body.dataset.unavailable || "").split(" "));
4
+ const inheritedModel = unavailableOperations.has("model");
5
+ const replyCardUnavailable = unavailableOperations.has("reply_card");
6
+ const progressUnavailable = unavailableOperations.has("progress");
7
+ function hideProviderElement(node) {
8
+ node.dataset.providerHidden = "";
9
+ node.hidden = true;
10
+ }
11
+ for (const [operation, id] of [
12
+ ["side", "nav-temporary"], ["schedule", "nav-schedules"], ["progress", "nav-progress-card"],
13
+ ["questions", "nav-question-notifications"], ["collaboration", "nav-session-tools"],
14
+ ]) {
15
+ if (unavailableOperations.has(operation)) hideProviderElement(document.getElementById(id));
16
+ }
3
17
  const state = {
4
18
  tab: "projects",
5
19
  sessionTab: "ordinary",
@@ -350,8 +364,7 @@ async function restartService() {
350
364
  if (!envelope || !state.updates.restartSupported || !state.updates.restartAvailable) return;
351
365
  if (!(await window.NetizenConfirm.ask({ title: "重启服务", body: "确认重启服务?将使用绑定环境中当前安装的程序,不更新软件包。\n\n"
352
366
  + `实例:${document.querySelector("#instance-root")?.textContent || "当前实例"}\n\n`
353
- + "重启会中断正在执行的任务、暂停 Goal,并结束临时 Side 会话。"
354
- + "重启后不会自动续跑,管理页需要重新登录。",
367
+ + document.querySelector("#restart-warning").textContent,
355
368
  }))) return;
356
369
  if (state.authExpired) return;
357
370
  updateSubmitting = true;
@@ -680,6 +693,7 @@ async function refreshProjectDeletePreview() {
680
693
  projectDeleteInput("confirm").disabled = true;
681
694
  projectDeleteInput("worktrees").disabled = true;
682
695
  projectDeleteInput("scope").hidden = true;
696
+ if (unavailableOperations.has("delete")) projectDeleteInput("warning").textContent = "";
683
697
  projectDeleteInput("paths").hidden = true;
684
698
  projectDeleteInput("note").classList.toggle("error", false);
685
699
  projectDeleteInput("note").textContent = "正在读取本次删除范围…";
@@ -691,6 +705,9 @@ async function refreshProjectDeletePreview() {
691
705
  if (projectDeleteDialog !== view || state.authExpired) return;
692
706
  view.preview = preview;
693
707
  view.envelope = preview.actions.previewDelete;
708
+ if (unavailableOperations.has("delete")) {
709
+ projectDeleteInput("warning").textContent = `将永久删除此 Project 登记及其 ${preview.lazySessionCount} 个未开始的 ${document.body.dataset.backendName} 会话登记,无法恢复。`;
710
+ }
694
711
  projectDeleteInput("sessions").textContent = `${preview.sessionCount}(未开始 ${preview.lazySessionCount},已创建 ${preview.materializedSessionCount})`;
695
712
  projectDeleteInput("sides").textContent = String(preview.sideCount);
696
713
  projectDeleteInput("plans").textContent = String(preview.scheduledPlanCount || 0);
@@ -1408,7 +1425,7 @@ function formQuery(form, defaultPageSize = "25", refreshRelativeTime = true) {
1408
1425
  window.NetizenTimeRange.init({ closeOtherFilters: () => openFilter?.close() });
1409
1426
 
1410
1427
  const runtimeLabels = Object.freeze({
1411
- running: "运行中", stopping: "停止中", "turn-observation-unavailable": "任务观测不可用",
1428
+ running: "运行中", stopping: "停止中", closing: "正在收尾", "turn-observation-unavailable": "任务观测不可用",
1412
1429
  "goal-starting": "Goal 启动中", "goal-running": "Goal 运行中", "goal-pausing": "Goal 暂停中",
1413
1430
  "externally-active-goal": "外部活跃 Goal", "goal-unknown": "Goal 状态未知",
1414
1431
  renaming: "重命名中", archiving: "归档中", unarchiving: "恢复归档中", deleting: "删除中",
@@ -1622,9 +1639,11 @@ function sessionIdentityCell(row, session) {
1622
1639
  const summary = document.createElement("summary");
1623
1640
  summary.textContent = "会话标识";
1624
1641
  details.append(summary);
1642
+ const nativeIdLabel = `${document.body.dataset.backendName || "Codex"} 会话 ID`;
1643
+ const collaboration = !unavailableOperations.has("collaboration");
1625
1644
  for (const [label, value] of [["飞书聊天 ID(位置)", session.chatId], ["飞书话题 ID(位置)", session.topicId],
1626
1645
  ["Netizen 会话编号(管理与切换)", session.bindingId],
1627
- ["Codex 会话 ID(Thread ID,跨会话工具)", session.nativeThreadId]]) {
1646
+ [collaboration ? `${nativeIdLabel}(Thread ID,跨会话工具)` : nativeIdLabel, session.nativeThreadId]]) {
1628
1647
  if (!value) continue;
1629
1648
  const field = document.createElement("label");
1630
1649
  field.textContent = label;
@@ -1639,12 +1658,13 @@ function sessionIdentityCell(row, session) {
1639
1658
  details.append(field);
1640
1659
  }
1641
1660
  const hint = document.createElement("small");
1642
- hint.textContent = "点击标识全选,再按 Ctrl/Cmd+C 复制。跨会话工具使用完整 Codex 会话 ID;现有管理与 /resume 使用 Netizen 编号。";
1661
+ hint.textContent = "点击标识全选,再按 Ctrl/Cmd+C 复制。" +
1662
+ (collaboration ? `跨会话工具使用完整 ${nativeIdLabel};` : "") + "现有管理与 /resume 使用 Netizen 编号。";
1643
1663
  details.append(hint);
1644
1664
  if (!session.nativeThreadId) {
1645
1665
  const pending = document.createElement("p");
1646
1666
  pending.className = "meta-line";
1647
- pending.textContent = "Codex 会话 ID 尚未生成,首条消息后创建。";
1667
+ pending.textContent = `${nativeIdLabel} 尚未生成,首条消息后创建。`;
1648
1668
  details.append(pending);
1649
1669
  }
1650
1670
  td.append(details);
@@ -1763,7 +1783,7 @@ function renderSessions(data, batchActions) {
1763
1783
  sessionState.append(runtime);
1764
1784
  cell(row, session.projectAlias);
1765
1785
  const settings = session.sessionSettings;
1766
- cell(row, [sessionConfigurationSummary(settings), progressCardSourceLabel(settings)].filter(Boolean).join(" · "));
1786
+ cell(row, [sessionConfigurationSummary(settings), progressUnavailable ? "" : progressCardSourceLabel(settings)].filter(Boolean).join(" · "));
1767
1787
  cell(row, session.catalogState === "lazy" ? sessionDateLabel(session.registeredAt) : nativeSessionDateLabel(session.createdAt), "session-time");
1768
1788
  cell(row, sessionUpdatedAtLabel(session), "session-time");
1769
1789
  const actions = actionsCell(row);
@@ -1775,15 +1795,19 @@ function renderSessions(data, batchActions) {
1775
1795
  function wireSessionActions(actions, session) {
1776
1796
  const a = session.actions;
1777
1797
  const secondary = document.createElement("div");
1778
- const schedule = actionButton("创建定时任务", () => openScheduleForSession(session, schedule));
1779
- secondary.append(schedule);
1798
+ if (!unavailableOperations.has("schedule")) {
1799
+ const schedule = actionButton("创建定时任务", () => openScheduleForSession(session, schedule));
1800
+ secondary.append(schedule);
1801
+ }
1780
1802
  if (session.canReadLatestAnswer) secondary.append(actionButton("查看对话记录", () => window.NetizenConversation.open(session)));
1781
1803
  if (a.configure) {
1782
1804
  const button = actionButton("配置", () => openSessionSettingsEditor(session, button));
1783
1805
  actions.append(button);
1784
1806
  }
1785
1807
  if (a.stop) actions.append(actionButton("停止", async () => await window.NetizenConfirm.ask({ body: "停止这个会话的当前运行?", danger: false }) && mutate("/api/v1/sessions/stop", a.stop)));
1786
- if (a.activate) actions.append(actionButton("设为当前", () => mutate("/api/v1/sessions/activate", a.activate)));
1808
+ if (a.activate) {
1809
+ actions.append(actionButton("设为当前", () => mutate("/api/v1/sessions/activate", a.activate)));
1810
+ }
1787
1811
  if (a.rename) {
1788
1812
  const button = actionButton("重命名", () => openSessionRenameEditor(session, button));
1789
1813
  secondary.append(button);
@@ -1796,7 +1820,7 @@ function wireSessionActions(actions, session) {
1796
1820
  if (a.release) secondary.append(actionButton("释放订阅", async () => await window.NetizenConfirm.ask({ body: "释放本进程订阅?历史不会删除。", danger: false }) && mutate("/api/v1/sessions/release", a.release)));
1797
1821
  const primary = [...actions.children];
1798
1822
  for (const button of primary.slice(3)) secondary.append(button);
1799
- actions.append(window.NetizenMenu.create([...secondary.children], `更多操作 · ${session.shortId}`));
1823
+ if (secondary.children.length) actions.append(window.NetizenMenu.create([...secondary.children], `更多操作 · ${session.shortId}`));
1800
1824
  }
1801
1825
 
1802
1826
  async function loadSides(page) {
@@ -1886,14 +1910,15 @@ function renderSessionRenameEditor() {
1886
1910
  const editor = sessionRenameEditor;
1887
1911
  if (!editor) return;
1888
1912
  const busy = editor.generating || editor.saving;
1913
+ const name = sessionRenameInput("name").value.trim();
1889
1914
  sessionRenameInput("name").disabled = busy;
1890
1915
  sessionRenameInput("generate").disabled = busy || !editor.session.actions.rename || state.authExpired;
1891
1916
  sessionRenameInput("save").disabled = busy || !editor.session.actions.rename
1892
- || !sessionRenameInput("name").value.trim() || state.authExpired;
1917
+ || !name || state.authExpired;
1893
1918
  sessionRenameInput("cancel").disabled = editor.saving;
1894
1919
  sessionRenameInput("close").disabled = editor.saving;
1895
1920
  sessionRenameInput("status").textContent = editor.generating ? "正在生成中…"
1896
- : editor.saving ? "正在保存…" : editor.error;
1921
+ : editor.saving ? "正在保存…" : editor.error || "";
1897
1922
  sessionRenameInput("status").classList.toggle("error", Boolean(editor.error));
1898
1923
  sessionRenameInput("editor").setAttribute("aria-busy", String(busy));
1899
1924
  }
@@ -2015,7 +2040,7 @@ function renderSessionSettingsEditor() {
2015
2040
  ? "补齐未读上下文会在下次 @ 时带入同一位置未 @ 机器人的成员消息。关闭后,请到飞书 /config 重新开启。"
2016
2041
  : "开启补齐未读上下文,请到飞书 /config 设置。";
2017
2042
  const notes = [editor.loading ? "正在读取模型目录…" : "", editor.catalogError, editor.error];
2018
- if (editor.settings.turn_settings && !editor.models.some((model) => model.id === editor.settings.turn_settings.model_id)) {
2043
+ if (!inheritedModel && editor.settings.turn_settings && !editor.models.some((model) => model.id === editor.settings.turn_settings.model_id)) {
2019
2044
  notes.push("已保存的模型当前不可用,原选择保持不变;可调整其他配置,或显式选择继承 Codex。");
2020
2045
  }
2021
2046
  sessionSettingsInput("note").textContent = notes.filter(Boolean).join(" ");
@@ -2034,7 +2059,7 @@ async function loadSessionSettingsOptions() {
2034
2059
  const serial = ++editor.optionsSerial;
2035
2060
  editor.loading = true;
2036
2061
  renderSessionSettingsEditor();
2037
- const progressRead = editor.settings.progress_card_settings === null ? window.NetizenProgressCard.read() : null;
2062
+ const progressRead = !progressUnavailable && editor.settings.progress_card_settings === null ? window.NetizenProgressCard.read() : null;
2038
2063
  try {
2039
2064
  const data = await api("/api/v1/sessions/options");
2040
2065
  if (sessionSettingsEditor !== editor || serial !== editor.optionsSerial) return;
@@ -2452,7 +2477,7 @@ async function loadDefaultOptions(resolveChat = false) {
2452
2477
  editor.workspaceOptions = null;
2453
2478
  editor.workspaceError = "";
2454
2479
  renderDefaultSettings();
2455
- let progressRead = editor.settings.progress_card_settings === null ? window.NetizenProgressCard.read() : null;
2480
+ let progressRead = !progressUnavailable && editor.settings.progress_card_settings === null ? window.NetizenProgressCard.read() : null;
2456
2481
  try {
2457
2482
  let view = null;
2458
2483
  if (resolveChat && chatId) {
@@ -2497,7 +2522,7 @@ async function loadDefaultOptions(resolveChat = false) {
2497
2522
  } finally {
2498
2523
  if (defaultsEditor === editor && serial === editor.serial
2499
2524
  && editor.settings.progress_card_settings === null && !progressRead) {
2500
- progressRead = window.NetizenProgressCard.read();
2525
+ progressRead = progressUnavailable ? null : window.NetizenProgressCard.read();
2501
2526
  }
2502
2527
  await progressRead;
2503
2528
  if (defaultsEditor === editor && serial === editor.serial) {
@@ -3359,7 +3384,7 @@ function resetScheduleEndOffset() {
3359
3384
  }
3360
3385
 
3361
3386
  function defaultScheduleSessionSettings() {
3362
- return { turn_settings: null, reaction_pulse_enabled: false, progress_card_enabled: true, completion_mention_enabled: true,
3387
+ return { turn_settings: null, reaction_pulse_enabled: false, progress_card_enabled: !replyCardUnavailable, completion_mention_enabled: true,
3363
3388
  message_context_mode: "current-only", progress_card_settings: null };
3364
3389
  }
3365
3390
 
@@ -3388,9 +3413,13 @@ function renderProgressCardSettings(input, settings) {
3388
3413
  const container = input("progress-settings");
3389
3414
  if (!container) return;
3390
3415
  const progress = progressCardSettings(settings);
3391
- container.hidden = !settings.progress_card_enabled;
3416
+ container.hidden = false;
3392
3417
  const source = input("progress-source");
3393
- if (source) source.hidden = settings.progress_card_settings !== null;
3418
+ if (source) {
3419
+ source.hidden = false;
3420
+ source.textContent = settings.progress_card_settings === null
3421
+ ? "跟随全局配置。修改细项后将保存为独立配置。" : "当前使用单独配置的展示细项。";
3422
+ }
3394
3423
  const reset = input("progress-reset");
3395
3424
  if (reset) reset.hidden = settings.progress_card_settings === null;
3396
3425
  for (const node of container.querySelectorAll("input, select")) {
@@ -3398,14 +3427,14 @@ function renderProgressCardSettings(input, settings) {
3398
3427
  const key = field.replaceAll("-", "_");
3399
3428
  if (field.startsWith("show-")) node.checked = progress?.[key] || false;
3400
3429
  else node.value = progress?.[key] ?? "";
3401
- node.disabled = !progress || !settings.progress_card_enabled
3430
+ node.disabled = !progress
3402
3431
  || (field.startsWith("commentary-") && !progress.show_commentary)
3403
3432
  || (field.startsWith("operation-") && !progress.show_operations);
3404
3433
  }
3405
3434
  for (const [kind, shown] of [["commentary", progress?.show_commentary], ["operation", progress?.show_operations]]) {
3406
3435
  input(`progress-${kind}-capacity`).hidden = !shown;
3407
3436
  }
3408
- const error = progress ? progressCardSettingsError(settings) : "读取全局配置后可编辑过程卡细项。";
3437
+ const error = progress ? progressCardSettingsError(settings) : "读取全局配置后可编辑展示细项。";
3409
3438
  const note = input("progress-error");
3410
3439
  note.textContent = error;
3411
3440
  note.hidden = !error;
@@ -3425,6 +3454,7 @@ function messageContextLabel(value) {
3425
3454
  function sessionConfigurationSummary(settings, models = []) {
3426
3455
  const turn = settings.turn_settings;
3427
3456
  const context = messageContextLabel(settings.message_context_mode);
3457
+ if (inheritedModel) return `${context} · ${document.body.dataset.inheritedModel}`;
3428
3458
  if (!turn) return `${context} · 继承 Codex`;
3429
3459
  const model = models.find((item) => item.id === turn.model_id);
3430
3460
  const effort = model?.efforts?.find((item) => item.id === turn.effort_id);
@@ -3434,7 +3464,7 @@ function sessionConfigurationSummary(settings, models = []) {
3434
3464
  }
3435
3465
 
3436
3466
  function progressCardSourceLabel(settings) {
3437
- return settings.progress_card_enabled ? `过程卡:${settings.progress_card_settings === null ? "跟随全局" : "单独配置"}` : "";
3467
+ return `${settings.progress_card_enabled ? "卡片" : "过程消息"} · 展示细项:${settings.progress_card_settings === null ? "跟随全局" : "单独配置"}`;
3438
3468
  }
3439
3469
 
3440
3470
  async function restoreGlobalProgress(editor, isCurrent, render) {
@@ -3453,7 +3483,7 @@ async function restoreGlobalProgress(editor, isCurrent, render) {
3453
3483
  function sessionFeedbackLabels(settings, { progressSource = false } = {}) {
3454
3484
  const labels = [];
3455
3485
  if (settings.reaction_pulse_enabled) labels.push("表情反馈");
3456
- if (settings.progress_card_enabled) labels.push(progressSource ? progressCardSourceLabel(settings) : "进度卡片");
3486
+ labels.push(progressSource ? progressCardSourceLabel(settings) : (settings.progress_card_enabled ? "卡片" : "过程消息"));
3457
3487
  if (settings.completion_mention_enabled) labels.push("结束时 @ 提醒");
3458
3488
  return labels;
3459
3489
  }
@@ -3480,22 +3510,32 @@ function scheduleSelectOptions(node, choices, selected) {
3480
3510
  }
3481
3511
 
3482
3512
  function renderSessionSettingsFields(input, settings, models, contextAvailable) {
3483
- const turn = settings.turn_settings;
3484
- const model = models.find((item) => item.id === turn?.model_id);
3485
- scheduleSelectOptions(input("model"), [["", "继承 Codex"],
3486
- ...models.map((item) => [item.id, item.display_name])], turn?.model_id);
3487
- scheduleSelectOptions(input("effort"), (model?.efforts || []).map((item) => [item.id, catalogChoiceLabel(item)]), turn?.effort_id);
3488
- scheduleSelectOptions(input("tier"), (model?.service_tiers || []).map((item) => [item.id, catalogChoiceLabel(item)]), turn?.service_tier_id);
3489
- input("effort").disabled = !model;
3490
- input("tier").disabled = !model;
3491
3513
  input("context").value = settings.message_context_mode;
3492
3514
  for (const option of input("context").querySelectorAll("option")) {
3493
3515
  option.disabled = option.value === "catch-up" && contextAvailable === false;
3494
3516
  }
3517
+ const turn = settings.turn_settings;
3518
+ const model = models.find((item) => item.id === turn?.model_id);
3519
+ if (inheritedModel) {
3520
+ for (const field of ["model", "effort", "tier"]) hideProviderElement(input(field).closest("label"));
3521
+ } else {
3522
+ scheduleSelectOptions(input("model"), [["", "继承 Codex"],
3523
+ ...models.map((item) => [item.id, item.display_name])], turn?.model_id);
3524
+ scheduleSelectOptions(input("effort"), (model?.efforts || []).map((item) => [item.id, catalogChoiceLabel(item)]), turn?.effort_id);
3525
+ scheduleSelectOptions(input("tier"), (model?.service_tiers || []).map((item) => [item.id, catalogChoiceLabel(item)]), turn?.service_tier_id);
3526
+ input("effort").disabled = !model;
3527
+ input("tier").disabled = !model;
3528
+ }
3495
3529
  input("reactions").checked = settings.reaction_pulse_enabled;
3496
- input("progress").checked = settings.progress_card_enabled;
3497
3530
  input("completion-mention").checked = settings.completion_mention_enabled;
3498
- renderProgressCardSettings(input, settings);
3531
+ input("progress").value = settings.progress_card_enabled ? "card" : "process";
3532
+ if (replyCardUnavailable) hideProviderElement(input("progress").closest("label"));
3533
+ if (progressUnavailable) {
3534
+ hideProviderElement(input("progress-settings"));
3535
+ hideProviderElement(input("progress-reset"));
3536
+ } else {
3537
+ renderProgressCardSettings(input, settings);
3538
+ }
3499
3539
  return model;
3500
3540
  }
3501
3541
 
@@ -3511,7 +3551,7 @@ function changeSessionSettingsField(input, settings, models, field, baseTurn = n
3511
3551
  else if (field === "tier" && settings.turn_settings) settings.turn_settings.service_tier_id = input("tier").value;
3512
3552
  else if (field === "context") settings.message_context_mode = input("context").value;
3513
3553
  else if (field === "reactions") settings.reaction_pulse_enabled = input("reactions").checked;
3514
- else if (field === "progress") settings.progress_card_enabled = input("progress").checked;
3554
+ else if (field === "progress") settings.progress_card_enabled = input("progress").value === "card";
3515
3555
  else if (field === "completion-mention") settings.completion_mention_enabled = input("completion-mention").checked;
3516
3556
  else if (field.startsWith("progress-") && progressCardFields.includes(field.slice(9))) {
3517
3557
  const progress = progressCardSettings(settings);
@@ -107,11 +107,11 @@
107
107
  <h4>本次删除范围</h4>
108
108
  <dl class="project-delete-summary">
109
109
  <div><dt>关联会话</dt><dd id="project-delete-sessions"></dd></div>
110
- <div><dt>临时会话(Side)</dt><dd id="project-delete-sides"></dd></div>
111
- <div><dt>定时计划</dt><dd id="project-delete-plans"></dd></div>
112
- <div><dt>交接或未决的定时执行</dt><dd id="project-delete-runs"></dd></div>
110
+ <div data-codex-only><dt>临时会话(Side)</dt><dd id="project-delete-sides"></dd></div>
111
+ <div data-codex-only><dt>定时计划</dt><dd id="project-delete-plans"></dd></div>
112
+ <div data-codex-only><dt>交接或未决的定时执行</dt><dd id="project-delete-runs"></dd></div>
113
113
  </dl>
114
- <p class="hint">包含所有归档会话,不受会话页面筛选影响。临时会话将结束并移除;定时计划删除后,后续会话清理失败也不会恢复计划。</p>
114
+ <p class="hint" data-codex-only>包含所有归档会话,不受会话页面筛选影响。临时会话将结束并移除;定时计划删除后,后续会话清理失败也不会恢复计划。</p>
115
115
  <div class="project-delete-preserved"><strong>原项目代码目录保留</strong><code id="project-delete-cwd"></code></div>
116
116
  </div>
117
117
  <section id="project-delete-worktree-option" class="project-delete-worktree-option" hidden>
@@ -372,11 +372,11 @@
372
372
  <div class="drawer-head"><h3 id="session-rename-title">重命名会话</h3><button id="session-rename-close" class="drawer-close" type="button" aria-label="关闭重命名表单">×</button></div>
373
373
  <div class="drawer-body">
374
374
  <p id="session-rename-identity" class="hint"></p>
375
- <label>会话名称<input id="session-rename-name" name="name" maxlength="120" required autocomplete="off"></label>
376
- <p class="hint">自动生成会清空当前输入;生成后可继续编辑,保存后才会改名。</p>
375
+ <label>会话名称<input id="session-rename-name" name="name" data-netizen-rename-limit required autocomplete="off"></label>
376
+ <p class="hint">__NETIZEN_RENAME_HINT__</p>
377
377
  <p id="session-rename-status" class="status" role="status" aria-live="polite"></p>
378
378
  </div>
379
- <div class="drawer-footer"><button id="session-rename-cancel" class="drawer-cancel" type="button">取消</button><button id="session-rename-generate" class="drawer-cancel" type="button">自动生成</button><button id="session-rename-save" type="submit">保存新名称</button></div>
379
+ <div class="drawer-footer"><button id="session-rename-cancel" class="drawer-cancel" type="button">取消</button><button id="session-rename-generate" data-netizen-generate-name-visibility class="drawer-cancel" type="button">自动生成</button><button id="session-rename-save" type="submit">保存新名称</button></div>
380
380
  </form>
381
381
  </dialog>
382
382
 
@@ -422,13 +422,13 @@
422
422
  <h4>任务反馈</h4>
423
423
  <div class="defaults-feedback">
424
424
  <label><input id="session-settings-reactions" type="checkbox">表情反馈</label>
425
- <label><input id="session-settings-progress" type="checkbox">进度卡片</label>
425
+ <label>回复消息类型<select id="session-settings-progress"><option value="card">卡片</option><option value="process">过程消息</option></select></label>
426
426
  <label><input id="session-settings-completion-mention" type="checkbox">结束时 @ 提醒</label>
427
427
  </div>
428
428
  <button id="session-settings-progress-reset" class="progress-reset" type="button" hidden>恢复跟随全局</button>
429
429
  <div id="session-settings-progress-settings" class="progress-settings" hidden>
430
- <p id="session-settings-progress-source" class="session-settings-help" hidden>当前未单独配置,显示全局过程卡配置。修改细项后将保存为独立配置。</p>
431
- <label>过程卡组织方式<select id="session-settings-progress-organization"><option value="content">按内容</option><option value="time">按时间</option></select></label>
430
+ <p id="session-settings-progress-source" class="session-settings-help" hidden>当前未单独配置,显示全局展示细项。修改细项后将保存为独立配置。</p>
431
+ <label>卡片组织方式(仅卡片生效)<select id="session-settings-progress-organization"><option value="content">按内容</option><option value="time">按时间</option></select></label>
432
432
  <p class="session-settings-help">按时间交错显示进展与操作,任务清单固定在底部。执行状态和异常提示始终保留。</p>
433
433
  <div class="defaults-feedback"><label><input id="session-settings-progress-show-commentary" type="checkbox">最近进展</label></div>
434
434
  <div id="session-settings-progress-commentary-capacity" class="schedule-form-grid">
@@ -510,13 +510,13 @@
510
510
  <h4>任务反馈</h4>
511
511
  <div class="defaults-feedback">
512
512
  <label><input id="defaults-reactions" type="checkbox">表情反馈</label>
513
- <label><input id="defaults-progress" type="checkbox">进度卡片</label>
513
+ <label>回复消息类型<select id="defaults-progress"><option value="card">卡片</option><option value="process">过程消息</option></select></label>
514
514
  <label><input id="defaults-completion-mention" type="checkbox">结束时 @ 提醒</label>
515
515
  </div>
516
516
  <button id="defaults-progress-reset" class="progress-reset" type="button" hidden>恢复跟随全局</button>
517
517
  <div id="defaults-progress-settings" class="progress-settings" hidden>
518
- <p id="defaults-progress-source" class="session-settings-help" hidden>当前未单独配置,显示全局过程卡配置。修改细项后将保存为独立配置。</p>
519
- <label>过程卡组织方式<select id="defaults-progress-organization"><option value="content">按内容</option><option value="time">按时间</option></select></label>
518
+ <p id="defaults-progress-source" class="session-settings-help" hidden>当前未单独配置,显示全局展示细项。修改细项后将保存为独立配置。</p>
519
+ <label>卡片组织方式(仅卡片生效)<select id="defaults-progress-organization"><option value="content">按内容</option><option value="time">按时间</option></select></label>
520
520
  <p class="session-settings-help">按时间交错显示进展与操作,任务清单固定在底部。执行状态和异常提示始终保留。</p>
521
521
  <div class="defaults-feedback"><label><input id="defaults-progress-show-commentary" type="checkbox">最近进展</label></div>
522
522
  <div id="defaults-progress-commentary-capacity" class="schedule-form-grid">
@@ -711,7 +711,7 @@
711
711
  <label id="schedule-context-field">消息上下文<select id="schedule-context"><option value="current-only">当前消息</option><option value="catch-up">补齐未读上下文</option></select></label>
712
712
  </div>
713
713
  <label class="schedule-checkbox"><input id="schedule-reactions" type="checkbox">表情反馈</label>
714
- <label class="schedule-checkbox"><input id="schedule-progress" type="checkbox">进度卡片</label>
714
+ <label class="schedule-checkbox">回复消息类型<select id="schedule-progress"><option value="card">卡片</option><option value="process">过程消息</option></select></label>
715
715
  <label class="schedule-checkbox"><input id="schedule-completion-mention" type="checkbox">结束时 @ 提醒(自动首轮除外)</label>
716
716
  </div>
717
717
  </details>
@@ -804,7 +804,7 @@
804
804
  <section id="question-notifications" class="panel" aria-labelledby="question-notifications-heading" hidden>
805
805
  <div class="section-head"><div><h2 id="question-notifications-heading">提问通知</h2><time id="question-notifications-refreshed-at" class="hint list-freshness" aria-live="polite" hidden></time></div><div class="actions"><button class="refresh" data-refresh="question-notifications">刷新</button></div></div>
806
806
  <div id="question-notifications-error" class="list-error" role="status" hidden></div>
807
- <p class="defaults-help">设置 Agent 提问时是否 @ 发起人。</p><details class="panel-explanation"><summary>说明</summary><p>设置 Agent 提问时的 @ 提醒,与过程卡及结束提醒开关独立,不影响问题卡显示和回答。</p></details>
807
+ <p class="defaults-help">设置 Agent 提问时是否 @ 发起人。</p><details class="panel-explanation"><summary>说明</summary><p>设置 Agent 提问时的 @ 提醒,与回复消息类型及结束提醒独立,不影响问题卡显示和回答。</p></details>
808
808
  <form id="question-notifications-form" class="card-form question-notifications-form">
809
809
  <fieldset id="question-notifications-fields" disabled>
810
810
  <label class="question-notifications-option">
@@ -828,11 +828,11 @@
828
828
  <section id="progress-card" class="panel" aria-labelledby="progress-card-heading" hidden>
829
829
  <div class="section-head"><div><h2 id="progress-card-heading">全局过程卡</h2><time id="progress-card-refreshed-at" class="hint list-freshness" aria-live="polite" hidden></time></div><div class="actions"><button class="refresh" data-refresh="progress-card">刷新</button></div></div>
830
830
  <div id="progress-card-error" class="list-error" role="status" hidden></div>
831
- <p class="defaults-help">设置未单独配置的会话所使用的过程卡样式。</p><details class="panel-explanation"><summary>说明</summary><p>仅在本实例的会话未单独配置过程卡时使用,不覆盖会话及聊天默认配置中已有的过程卡设置。</p></details>
831
+ <p class="defaults-help">设置未单独配置的会话所使用的展示细项。卡片和过程消息均可使用,组织方式仅适用于卡片。</p><details class="panel-explanation"><summary>说明</summary><p>普通任务开始、Goal 新运行或 Side 创建时读取这些设置。会话及聊天默认配置中单独保存的细项优先。</p></details>
832
832
  <form id="global-card-form" class="card-form global-card-form">
833
833
  <fieldset id="global-card-fields" disabled>
834
834
  <div id="global-card-progress-settings" class="progress-settings" hidden>
835
- <label>过程卡组织方式<select id="global-card-progress-organization"><option value="content">按内容</option><option value="time">按时间</option></select></label>
835
+ <label>卡片组织方式(仅卡片生效)<select id="global-card-progress-organization"><option value="content">按内容</option><option value="time">按时间</option></select></label>
836
836
  <p class="session-settings-help">按时间交错显示进展与操作,任务清单固定在底部。执行状态和异常提示始终保留。</p>
837
837
  <div class="defaults-feedback"><label><input id="global-card-progress-show-commentary" type="checkbox">最近进展</label></div>
838
838
  <div id="global-card-progress-commentary-capacity" class="schedule-form-grid">
@@ -881,7 +881,7 @@
881
881
  <div><dt>实例目录</dt><dd id="diagnostics-root">—</dd></div>
882
882
  <div><dt>绑定的 Python</dt><dd id="diagnostics-python">—</dd></div>
883
883
  <div><dt>Python 环境目录</dt><dd id="diagnostics-prefix">—</dd></div>
884
- <div><dt>Codex 目录</dt><dd id="diagnostics-codex-home">—</dd></div>
884
+ <div data-codex-only><dt>Codex 目录</dt><dd id="diagnostics-codex-home">—</dd></div>
885
885
  </dl>
886
886
  </details>
887
887
  </section>
@@ -39,7 +39,7 @@ window.NetizenSessionLists = (() => {
39
39
  function sessionFilterPage({ resetSort = false } = {}) {
40
40
  const query = options.draftQuery();
41
41
  const sort = resetSort ? { by: "updatedAt", direction: "desc" } : sessionSort();
42
- query.set("sortBy", kind === "session" && query.get("inventoryState") === "lazy" ? "createdAt" : sort.by);
42
+ query.set("sortBy", (kind === "session" && query.get("inventoryState") === "lazy") ? "createdAt" : sort.by);
43
43
  query.set("sortDirection", sort.direction);
44
44
  return dependencies.firstSessionPage(query.toString());
45
45
  }
@@ -121,7 +121,7 @@ window.NetizenSessionLists = (() => {
121
121
  const selected = button.dataset.sortBy === sort.by;
122
122
  const descending = selected && sort.direction === "desc";
123
123
  const label = button.dataset.sortBy === "createdAt" ? lazy ? "登记时间" : "创建时间" : "最近更新";
124
- button.disabled = lazy && button.dataset.sortBy === "updatedAt";
124
+ button.disabled = (lazy) && button.dataset.sortBy === "updatedAt";
125
125
  const labelNode = button.querySelector(".sort-label");
126
126
  if (labelNode) {
127
127
  labelNode.textContent = label;
@@ -138,7 +138,7 @@ window.NetizenSessionLists = (() => {
138
138
  const page = appliedPage;
139
139
  // Sorting operates on the displayed result, not unsubmitted filter drafts.
140
140
  const query = new URLSearchParams(page.query ?? sessionFilterPage().query);
141
- if (kind === "session" && query.get("inventoryState") === "lazy" && by === "updatedAt") return false;
141
+ if (((kind === "session" && query.get("inventoryState") === "lazy")) && by === "updatedAt") return false;
142
142
  const previous = sessionSort();
143
143
  query.set("sortBy", by);
144
144
  query.set("sortDirection", previous.by === by && previous.direction === "desc" ? "asc" : "desc");
@@ -263,6 +263,7 @@ class AdminUsers:
263
263
  self._require_available()
264
264
  return self._members.get(identity) if identity.app_id == self.app_id else None
265
265
 
266
+
266
267
  def subscribe_revocation(self, callback: Callable[[AdminIdentity], None]) -> None:
267
268
  """Listeners run synchronously under the shared lock; no network or awaits."""
268
269
  with self.lock: