netizen-cli 0.18.2__tar.gz → 0.19.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.
- {netizen_cli-0.18.2/netizen_cli.egg-info → netizen_cli-0.19.0}/PKG-INFO +1 -1
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/README.md +2 -1
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/__init__.py +1 -1
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/answer_previews.py +57 -5
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/file_previews.py +2 -1
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/admin.js +167 -64
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/content-preview.css +36 -12
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/file-browser.js +226 -171
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/index.html +7 -5
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/web.py +65 -34
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/management/service.py +15 -8
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/prompt_projection.py +175 -1
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/contracts.py +21 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/queries.py +83 -7
- {netizen_cli-0.18.2 → netizen_cli-0.19.0/netizen_cli.egg-info}/PKG-INFO +1 -1
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/pyproject.toml +1 -1
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/skills/netizen-user-guide/references/admin.md +30 -21
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/skills/netizen-user-guide/references/user-guide.md +1 -1
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_codex_runtime.py +33 -16
- netizen_cli-0.19.0/tests/test_latest_answer.py +280 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_prompt_projection.py +104 -0
- netizen_cli-0.18.2/tests/test_latest_answer.py +0 -105
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/MANIFEST.in +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/_build.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/config.example.yaml +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/__main__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/account_rate_limits.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/auth.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/credentials.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/errors.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/feishu.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/login.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/port_config.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/presentation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/queries.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/admin-ui.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/admin.css +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/attachment-files.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/chat-picker.css +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/chat-picker.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/config-editor.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/content-preview.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/group-access.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/identity.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/login.html +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/login.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/netizen.svg +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/progress-card.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/project-files.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/question-notifications.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/session-access.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/vendor/ace/LICENSE +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/vendor/ace/README.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/vendor/ace/ace.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/vendor/ace/ext-diff.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/vendor/ace/mode-javascript.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/vendor/ace/mode-json.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/vendor/ace/mode-markdown.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/vendor/ace/mode-python.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/static/worktrees.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/transport.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/admin/users.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/attachments.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/bindings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/builtin_skills.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cards/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cards/callbacks.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cards/chat_target.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cards/controls.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cards/defaults.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cards/fork.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cards/pagination.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cards/questions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cards/reply.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cards/scheduled.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cards/session_ids.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cards/status.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cards/usage.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cards/workspace.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/app_values.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/base.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/card_controls.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/commands.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/completion_mentions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/constants.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/entry.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/forks.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/input_preparation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/messages.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/ports.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/presentation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/prompts.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/question_inputs.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/questions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/reactions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/replies.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/reply_presenter.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/reply_suppression.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/schedules.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/session_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/session_pages.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/session_tools.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/sides.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/topics.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel/turn_files.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/channel_app.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/chat_access.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/chat_avatars.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/chat_targets.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cli.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cli_data.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cli_packages.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cli_services.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cli_setup.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cli_update.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cli_update_restore.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/cli_update_worker.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/codex_runtime.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/completion_mention.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/database_migrations.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/defaults/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/defaults/models.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/defaults/service.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/defaults/store.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/deployment/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/deployment/restart_worker.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/deployment/update_executor.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/deployment/update_protocol.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/domain.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/error_messages.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/experience.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/feishu_app_onboarding.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/feishu_app_permissions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/feishu_links.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/file_inputs.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/git_status.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/group_access.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/image_inputs.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/instance.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/lark_app.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/main.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/management/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/management/attachment_files.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/management/blocking_io.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/management/chat_directory.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/management/chat_labels.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/management/coordination.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/management/project_files.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/management/updates.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/markdown_images.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/mcp_transport.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/message_content.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/message_history.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/message_preparation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/message_projection.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/migrations/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/migrations/schema.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/migrations/v14.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/migrations/v15.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/migrations/v16.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/migrations/v17.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/migrations/v18.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/migrations/v19.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/migrations/v20.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/migrations/v21.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/model_settings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/package_resources.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/pagination.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/partial_answers.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/progress_card_config.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/progress_card_settings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/project_files.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/projects.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/question_notifications.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/quoted_context.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/result_images.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/activity.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/compaction.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/forks.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/goals.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/lifecycle.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/limits.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/name_writes.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/naming.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/native_values.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/observation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/occupancy.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/shutdown.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/sides.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/state.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/submission.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/subscriptions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/thread_naming.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/runtime/turn_control.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/schedules/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/schedules/mcp.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/schedules/models.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/schedules/scheduler.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/schedules/service.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/schedules/store.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/sdk_gap_adapter.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/service_launcher.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/session_inventory.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/session_settings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/sessions/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/sessions/delegation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/sessions/errors.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/sessions/mcp.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/sessions/policy.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/sessions/presentation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/sessions/schema.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/sessions/service.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/sessions/sources.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/settings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/skill_references.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/task_text.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/terminal_cleanup.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/thread_history.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/turn_activity.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/turn_files.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/turn_patch_children.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/turn_plan_observer.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/user_questions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/worktrees/errors.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/worktrees/git.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/worktrees/models.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/worktrees/policy.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/worktrees/service.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/worktrees/settings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/worktrees/store.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli/worktrees/viewer.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli.egg-info/SOURCES.txt +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli.egg-info/dependency_links.txt +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli.egg-info/entry_points.txt +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli.egg-info/requires.txt +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/netizen_cli.egg-info/top_level.txt +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/setup.cfg +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/skills/netizen-lark/SKILL.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/skills/netizen-runtime-guidance/SKILL.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/skills/netizen-user-guide/SKILL.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/skills/netizen-user-guide/references/commands.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/skills/netizen-user-guide/references/concepts.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/skills/netizen-user-guide/references/faq.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/skills/netizen-user-guide/references/feedback-and-files.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/skills/netizen-user-guide/references/fork-side-goal.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/skills/netizen-user-guide/references/messages.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/skills/netizen-user-guide/references/native-capabilities.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/skills/netizen-user-guide/references/scheduled-tasks.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/skills/netizen-user-guide/references/session-collaboration.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/skills/netizen-user-guide/references/sessions.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/skills/netizen-user-guide/references/status-and-control.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_account_rate_limits.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_admin_update_executor_probe.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_attachments.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_binding_scheduled_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_bindings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_card_error_feedback.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_channel_app.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_channel_fixtures.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_channel_input_preparation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_chat_avatars.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_chat_target_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_check_sdk.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_cli.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_cli_data.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_cli_distribution.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_cli_integration.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_cli_packages.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_cli_packaging.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_cli_services.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_cli_setup.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_cli_update.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_codex_sdk_capabilities.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_codex_sdk_upgrade_0161.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_codex_sdk_upgrade_0163.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_codex_sdk_upgrade_0167.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_completion_mention_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_completion_mentions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_completion_topic_delivery.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_configuration_publication.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_cron_chat_targets.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_database_migrations.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_defaults_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_defaults_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_defaults_runtime.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_defaults_worktree_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_deployment.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_diff_codex_sdk.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_documentation_links.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_domain_experience.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_error_messages.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_feishu_app_onboarding.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_feishu_app_permissions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_file_input_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_file_inputs.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_file_pagination.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_fork_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_git_status.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_goal_reply_separation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_group_access.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_image_inputs.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_lark_app.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_lark_sdk_contract.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_main.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_markdown_images.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_message_content.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_message_history.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_message_material_inputs.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_message_preparation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_migration_schema_validation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_model_settings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_name_writes.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_optional_progress_card_settings_migration.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_pagination.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_partial_answer_delivery.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_partial_answers.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_persistent_fork_bindings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_persistent_fork_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_persistent_fork_runtime.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_probe_child_files.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_probe_feishu_completion_mention.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_probe_feishu_partial_answers.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_probe_feishu_turn_file_card.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_probe_persistent_fork.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_probe_python_sdk.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_probe_scheduled_tasks.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_probe_sdk_completion_race.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_probe_sdk_response_recovery.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_probe_skill_execution.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_probe_thread_naming.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_progress_card_config.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_progress_card_entrypoints.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_progress_card_presentation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_progress_card_settings_migration.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_project_delete_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_project_delete_runtime.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_project_deletion_storage.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_project_files.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_query_indexes_migration.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_question_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_question_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_question_notification_config.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_question_target_parity.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_quoted_context.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_release_script.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_rename_name_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_reply_suppression.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_repository_hygiene.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_result_images.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_resume_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_retired_deployment.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_runtime_resume_activation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_runtime_thread_naming.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_schedule_auto_archive_migration.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_schedule_card_retry.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_schedule_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_schedule_mcp.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_schedule_run_now.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_schedule_scope_matrix.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_schedule_service.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_schedule_trigger_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_schedule_workspace_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_schedule_workspace_migration.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_schedule_workspace_service.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_schedule_workspace_storage.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_scheduled_auto_archive.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_scheduled_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_scheduled_runtime.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_scheduled_worktrees.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_scheduler.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_scheduler_presenter.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_schedules_storage.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_sdk_gap_adapter.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_service_launcher.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_session_card_pages.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_session_collaboration_app.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_session_defaults.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_session_defaults_migration.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_session_external_runtime.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_session_id_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_session_policy.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_session_settings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_session_tools.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_settings_projects.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_sqlite_query_readers.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_status_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_status_commands.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_suppress_reply.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_task_text.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_terminal_cleanup.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_thread_history.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_thread_naming.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_turn_activity.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_turn_files.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_turn_patch_children.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_turn_patch_statistics.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_turn_plan_observer.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_update_executor.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_upgrade_regression.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_usage_card.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_usage_control.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_user_guide_skill.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_user_questions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_worktree_channel_cwd.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_worktree_git.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_worktree_new.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_worktree_runtime_cwd.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_worktree_service.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_worktree_settings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_worktree_storage.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.19.0}/tests/test_worktree_tools_integration.py +0 -0
|
@@ -171,7 +171,8 @@ Side 会在同一聊天中新建话题,可继续多轮讨论。它与原会话
|
|
|
171
171
|
## 管理与维护
|
|
172
172
|
|
|
173
173
|
实例管理员可以通过 **Admin Web** 集中管理项目、会话、Side 话题、会话默认配置和定时任务,
|
|
174
|
-
|
|
174
|
+
会话列表支持关键词搜索、本页按项目分组和查看对话记录(每轮首条输入与最终回答);
|
|
175
|
+
“默认配置 → 提问通知”可配置提问时 @
|
|
175
176
|
发起人(默认关闭),“资源 → 文件附件”可查看、逐个删除输入附件。“服务与诊断”提供安装信息和服务重启。
|
|
176
177
|
发送 `/admin` 可获取当前实例的管理 URL
|
|
177
178
|
和根目录,无需创建会话。未指定端口时首次从 `8787` 起分配并保存,各实例独立监听;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""
|
|
1
|
+
"""Independent answer previews for a read-only native conversation page.
|
|
2
2
|
|
|
3
3
|
Paths only match final Markdown references to the same Turn's generated images.
|
|
4
4
|
No filesystem, network, history cache or additional native request is involved.
|
|
@@ -7,11 +7,12 @@ from __future__ import annotations
|
|
|
7
7
|
|
|
8
8
|
import base64
|
|
9
9
|
import json
|
|
10
|
+
from dataclasses import asdict
|
|
10
11
|
from urllib.parse import unquote, urlsplit
|
|
11
12
|
|
|
12
13
|
from ..project_files import FileBrowseError, validate_image
|
|
13
|
-
from ..runtime.contracts import NativeLatestAnswer
|
|
14
|
-
from .file_previews import render_markdown
|
|
14
|
+
from ..runtime.contracts import NativeLatestAnswer, NativeConversationPage
|
|
15
|
+
from .file_previews import PreviewUnavailable, render_markdown
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
MAX_IMAGE_BYTES = 10 * 1024 * 1024
|
|
@@ -22,6 +23,57 @@ MAX_IMAGE_DIMENSION = 16_384
|
|
|
22
23
|
MAX_IMAGE_RESPONSE_BYTES = 32 * 1024 * 1024
|
|
23
24
|
|
|
24
25
|
|
|
26
|
+
def conversation_raw_text_within_limit(page: NativeConversationPage, maximum: int) -> bool:
|
|
27
|
+
"""Bound a saturated executor's raw fallback without encoding large strings.
|
|
28
|
+
|
|
29
|
+
Count input display metadata and failure text too, so they cannot bypass the
|
|
30
|
+
input/answer text budget. A character precheck bounds each UTF-8 allocation.
|
|
31
|
+
"""
|
|
32
|
+
remaining = maximum
|
|
33
|
+
for turn in page.turns:
|
|
34
|
+
texts = [turn.answer, turn.error]
|
|
35
|
+
for part in turn.inputs:
|
|
36
|
+
texts.extend((part.text, part.source, part.display_name, *part.attachments))
|
|
37
|
+
for text in texts:
|
|
38
|
+
if text is None:
|
|
39
|
+
continue
|
|
40
|
+
if len(text) > remaining:
|
|
41
|
+
return False
|
|
42
|
+
remaining -= len(text.encode("utf-8"))
|
|
43
|
+
if remaining < 0:
|
|
44
|
+
return False
|
|
45
|
+
return True
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def render_conversation_page(page: NativeConversationPage, *, preview: bool = True) -> dict:
|
|
49
|
+
"""Render each answer independently in the caller's single bounded job."""
|
|
50
|
+
turns = []
|
|
51
|
+
for turn in page.turns:
|
|
52
|
+
item = {
|
|
53
|
+
"turnId": turn.turn_id, "status": turn.status,
|
|
54
|
+
"inputs": [asdict(part) for part in turn.inputs], "answer": turn.answer,
|
|
55
|
+
"error": turn.error, "startedAt": turn.started_at, "completedAt": turn.completed_at,
|
|
56
|
+
}
|
|
57
|
+
if preview and turn.answer:
|
|
58
|
+
try:
|
|
59
|
+
if turn.latest:
|
|
60
|
+
item.update(render_answer_preview(NativeLatestAnswer(
|
|
61
|
+
page.thread_id, turn.turn_id, turn.status, turn.answer,
|
|
62
|
+
images=turn.images,
|
|
63
|
+
)))
|
|
64
|
+
else:
|
|
65
|
+
item["markdownHtml"] = render_markdown(
|
|
66
|
+
turn.answer, inert_image_reason="更早轮次不加载图片",
|
|
67
|
+
)
|
|
68
|
+
except PreviewUnavailable:
|
|
69
|
+
item["previewMessage"] = "回答超出排版预览限制,已显示原文。"
|
|
70
|
+
turns.append(item)
|
|
71
|
+
result = {"threadId": page.thread_id, "turns": turns, "nextCursor": page.next_cursor}
|
|
72
|
+
if not preview and any(turn.answer for turn in page.turns):
|
|
73
|
+
result["previewMessage"] = "排版预览暂不可用,已显示原文。"
|
|
74
|
+
return result
|
|
75
|
+
|
|
76
|
+
|
|
25
77
|
def _absolute_path(value: str) -> bool:
|
|
26
78
|
return (
|
|
27
79
|
0 < len(value) <= 4096
|
|
@@ -56,7 +108,7 @@ def render_answer_preview(answer: NativeLatestAnswer) -> dict:
|
|
|
56
108
|
candidates[image.saved_path] = None if image.saved_path in candidates else image.data
|
|
57
109
|
selected: dict[str, str | None] = {}
|
|
58
110
|
pixels: dict[str, int] = {}
|
|
59
|
-
images: list[dict
|
|
111
|
+
images: list[dict] = []
|
|
60
112
|
remaining = MAX_TOTAL_IMAGE_BYTES
|
|
61
113
|
remaining_pixels = MAX_TOTAL_IMAGE_PIXELS
|
|
62
114
|
|
|
@@ -98,7 +150,7 @@ def render_answer_preview(answer: NativeLatestAnswer) -> dict:
|
|
|
98
150
|
pixels[path] = width * height
|
|
99
151
|
remaining_pixels -= pixels[path]
|
|
100
152
|
slot = f"image-{len(images)}"
|
|
101
|
-
images.append({"id": slot, "mime": "image/png", "data": data})
|
|
153
|
+
images.append({"id": slot, "mime": "image/png", "data": data, "width": width, "height": height})
|
|
102
154
|
selected[path] = slot
|
|
103
155
|
return slot
|
|
104
156
|
|
|
@@ -160,6 +160,7 @@ def render_markdown(
|
|
|
160
160
|
image_url: Callable[[str], str] | None = None,
|
|
161
161
|
answer_image: Callable[[str], str | None] | None = None,
|
|
162
162
|
max_images: int = MAX_MARKDOWN_IMAGES,
|
|
163
|
+
inert_image_reason: str = "此处不加载图片",
|
|
163
164
|
) -> str:
|
|
164
165
|
"""Render safe HTML; image_url maps a root-relative file to its Admin endpoint.
|
|
165
166
|
|
|
@@ -224,7 +225,7 @@ def render_markdown(
|
|
|
224
225
|
token.attrSet("decoding", "async")
|
|
225
226
|
images += 1
|
|
226
227
|
elif path is None or image_url is None:
|
|
227
|
-
_replace_image(token,
|
|
228
|
+
_replace_image(token, inert_image_reason)
|
|
228
229
|
elif target is None or target[0] != "local":
|
|
229
230
|
_replace_image(token, "仅预览当前根目录内的相对路径图片")
|
|
230
231
|
elif images >= max_images:
|
|
@@ -93,7 +93,7 @@ function expireAdminSession() {
|
|
|
93
93
|
window.NetizenQuestionNotifications?.expire();
|
|
94
94
|
window.NetizenWorktrees?.expire();
|
|
95
95
|
window.NetizenProjectFiles?.expire();
|
|
96
|
-
|
|
96
|
+
closeConversation();
|
|
97
97
|
setStatus("");
|
|
98
98
|
}
|
|
99
99
|
|
|
@@ -2604,19 +2604,19 @@ function renderSessions(data) {
|
|
|
2604
2604
|
observeSessionPreviews(body);
|
|
2605
2605
|
}
|
|
2606
2606
|
|
|
2607
|
-
let
|
|
2608
|
-
let
|
|
2607
|
+
let conversationView = null;
|
|
2608
|
+
let conversationRequest = 0;
|
|
2609
2609
|
const answerNode = (name) => document.querySelector(`#session-answer-${name}`);
|
|
2610
2610
|
|
|
2611
|
-
function
|
|
2611
|
+
function releaseConversationImages(view) {
|
|
2612
2612
|
if (!view) return;
|
|
2613
2613
|
for (const url of view.imageUrls.values()) URL.revokeObjectURL(url);
|
|
2614
2614
|
view.imageUrls.clear();
|
|
2615
2615
|
}
|
|
2616
2616
|
|
|
2617
|
-
function
|
|
2617
|
+
function installConversationImages(view, container, turnId, images, imageUrls) {
|
|
2618
2618
|
const slots = new Map();
|
|
2619
|
-
for (const node of
|
|
2619
|
+
for (const node of container.querySelectorAll("[data-answer-image]")) {
|
|
2620
2620
|
const id = node.dataset.answerImage;
|
|
2621
2621
|
if (!slots.has(id)) slots.set(id, []);
|
|
2622
2622
|
slots.get(id).push(node);
|
|
@@ -2627,17 +2627,19 @@ function installLatestAnswerImages(view, images) {
|
|
|
2627
2627
|
for (const [id, nodes] of slots) {
|
|
2628
2628
|
const image = Array.isArray(images) ? images.find((item) => item?.id === id) : null;
|
|
2629
2629
|
try {
|
|
2630
|
-
// Only bounded, validated PNG bytes from this answer response are accepted.
|
|
2631
2630
|
if (image?.mime !== "image/png" || typeof image.data !== "string") throw new Error("Invalid answer image");
|
|
2632
2631
|
const decoded = atob(image.data);
|
|
2633
2632
|
const bytes = new Uint8Array(decoded.length);
|
|
2634
2633
|
for (let index = 0; index < decoded.length; index += 1) bytes[index] = decoded.charCodeAt(index);
|
|
2635
2634
|
const url = URL.createObjectURL(new Blob([bytes], { type: image.mime }));
|
|
2636
|
-
|
|
2635
|
+
const key = `${turnId}:${id}`;
|
|
2636
|
+
imageUrls.set(key, url);
|
|
2637
2637
|
for (const node of nodes) {
|
|
2638
2638
|
node.addEventListener("error", () => {
|
|
2639
|
-
if (
|
|
2639
|
+
if (conversationView === view && view.imageUrls.get(key) === url) unavailable(node);
|
|
2640
2640
|
}, { once: true });
|
|
2641
|
+
node.width = image.width;
|
|
2642
|
+
node.height = image.height;
|
|
2641
2643
|
node.src = url;
|
|
2642
2644
|
}
|
|
2643
2645
|
} catch (_error) {
|
|
@@ -2646,84 +2648,181 @@ function installLatestAnswerImages(view, images) {
|
|
|
2646
2648
|
}
|
|
2647
2649
|
}
|
|
2648
2650
|
|
|
2649
|
-
function
|
|
2650
|
-
|
|
2651
|
-
const previous =
|
|
2652
|
-
|
|
2653
|
-
|
|
2651
|
+
function closeConversation() {
|
|
2652
|
+
conversationRequest += 1;
|
|
2653
|
+
const previous = conversationView;
|
|
2654
|
+
conversationView = null;
|
|
2655
|
+
releaseConversationImages(previous);
|
|
2654
2656
|
document.body.classList.toggle("session-answer-open", false);
|
|
2655
2657
|
answerNode("content").replaceChildren();
|
|
2656
|
-
answerNode("source").textContent = "";
|
|
2657
2658
|
answerNode("metadata").textContent = "";
|
|
2658
2659
|
if (answerNode("drawer").open) answerNode("drawer").close();
|
|
2659
2660
|
if (!state.authExpired && previous?.returnFocus?.isConnected !== false) previous?.returnFocus?.focus();
|
|
2660
2661
|
}
|
|
2661
2662
|
|
|
2662
|
-
async function
|
|
2663
|
+
async function openConversation(session) {
|
|
2663
2664
|
if (state.authExpired || !session.canReadLatestAnswer) return;
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2665
|
+
releaseConversationImages(conversationView);
|
|
2666
|
+
conversationView = { session, returnFocus: document.activeElement, preview: true,
|
|
2667
|
+
turns: [], cursor: null, blocked: false, pending: false, imageUrls: new Map() };
|
|
2668
|
+
answerNode("title").textContent = "对话记录";
|
|
2667
2669
|
answerNode("identity").textContent = `${session.nativeTitle || "未命名会话"} · ${session.shortId}`;
|
|
2668
|
-
answerNode("content").
|
|
2669
|
-
answerNode("content").hidden = true;
|
|
2670
|
-
answerNode("source").textContent = "";
|
|
2671
|
-
answerNode("source").hidden = true;
|
|
2670
|
+
answerNode("content").replaceChildren();
|
|
2672
2671
|
answerNode("toggle").hidden = true;
|
|
2672
|
+
answerNode("earlier").hidden = true;
|
|
2673
2673
|
answerNode("preview-note").textContent = "";
|
|
2674
2674
|
answerNode("details").open = false;
|
|
2675
2675
|
answerNode("metadata").textContent = "";
|
|
2676
2676
|
document.body.classList.toggle("session-answer-open", true);
|
|
2677
|
-
answerNode("drawer").showModal();
|
|
2678
|
-
await
|
|
2677
|
+
if (!answerNode("drawer").open) answerNode("drawer").showModal();
|
|
2678
|
+
await refreshConversation();
|
|
2679
2679
|
}
|
|
2680
2680
|
|
|
2681
|
-
function
|
|
2682
|
-
const
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
answerNode("
|
|
2687
|
-
answerNode("toggle").hidden = !hasPreview;
|
|
2681
|
+
function renderConversation(view) {
|
|
2682
|
+
for (const turn of view.turns) {
|
|
2683
|
+
turn.preview.hidden = !turn.hasPreview || !view.preview;
|
|
2684
|
+
turn.source.hidden = turn.hasPreview && view.preview;
|
|
2685
|
+
}
|
|
2686
|
+
answerNode("toggle").hidden = !view.turns.some((turn) => turn.hasPreview);
|
|
2688
2687
|
answerNode("toggle").textContent = view.preview ? "查看原文" : "排版预览";
|
|
2689
2688
|
answerNode("toggle").setAttribute("aria-pressed", String(!view.preview));
|
|
2689
|
+
answerNode("earlier").hidden = !view.cursor;
|
|
2690
|
+
answerNode("earlier").disabled = view.pending || view.blocked;
|
|
2691
|
+
}
|
|
2692
|
+
|
|
2693
|
+
function captureConversationPosition(view, toLatest = false) {
|
|
2694
|
+
const scroll = answerNode("scroll");
|
|
2695
|
+
const request = conversationRequest;
|
|
2696
|
+
const bottom = toLatest || scroll.scrollHeight - scroll.clientHeight - scroll.scrollTop <= 1;
|
|
2697
|
+
const top = scroll.getBoundingClientRect().top;
|
|
2698
|
+
const anchor = view.turns.find((turn) => turn.node.getBoundingClientRect().bottom > top)?.node;
|
|
2699
|
+
const offset = anchor ? anchor.getBoundingClientRect().top - top : 0;
|
|
2700
|
+
return () => {
|
|
2701
|
+
if (conversationView !== view || conversationRequest !== request) return;
|
|
2702
|
+
if (bottom) scroll.scrollTop = scroll.scrollHeight;
|
|
2703
|
+
else if (anchor) scroll.scrollTop += anchor.getBoundingClientRect().top - scroll.getBoundingClientRect().top - offset;
|
|
2704
|
+
};
|
|
2690
2705
|
}
|
|
2691
2706
|
|
|
2692
|
-
|
|
2693
|
-
const
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2707
|
+
function conversationTurn(view, result, imageUrls) {
|
|
2708
|
+
const node = document.createElement("article");
|
|
2709
|
+
node.className = "conversation-turn";
|
|
2710
|
+
node.dataset.turnId = result.turnId;
|
|
2711
|
+
node.tabIndex = -1;
|
|
2712
|
+
const status = { completed: "已完成", interrupted: "已停止", failed: "失败", inProgress: "运行中" }[result.status] || "状态未知";
|
|
2713
|
+
const metadata = document.createElement("p");
|
|
2714
|
+
metadata.className = "conversation-turn-meta";
|
|
2715
|
+
const labels = [status, `轮次 ${result.turnId.slice(0, 12)}`];
|
|
2716
|
+
if (result.startedAt != null) labels.push(`开始 ${nativeSessionDateLabel(result.startedAt)}`);
|
|
2717
|
+
if (result.completedAt != null) labels.push(`完成 ${nativeSessionDateLabel(result.completedAt)}`);
|
|
2718
|
+
metadata.textContent = labels.join(" · ");
|
|
2719
|
+
node.append(metadata);
|
|
2720
|
+
for (const input of result.inputs || []) {
|
|
2721
|
+
const block = document.createElement("section");
|
|
2722
|
+
block.className = "conversation-input";
|
|
2723
|
+
const label = document.createElement("p");
|
|
2724
|
+
label.className = "conversation-input-label";
|
|
2725
|
+
label.textContent = ["用户输入", input.source, input.display_name,
|
|
2726
|
+
input.raw ? "格式未识别,显示原文" : null,
|
|
2727
|
+
input.quoted_count ? `引用 ${input.quoted_count} 条` : null,
|
|
2728
|
+
input.supplemental_count ? `补充上下文 ${input.supplemental_count} 条` : null,
|
|
2729
|
+
].filter(Boolean).join(" · ");
|
|
2730
|
+
const text = document.createElement("pre");
|
|
2731
|
+
text.className = "session-answer-source";
|
|
2732
|
+
text.textContent = input.text;
|
|
2733
|
+
block.append(label, text);
|
|
2734
|
+
if (input.attachments?.length) {
|
|
2735
|
+
const files = document.createElement("p");
|
|
2736
|
+
files.textContent = `附件:${input.attachments.join("、")}`;
|
|
2737
|
+
block.append(files);
|
|
2738
|
+
}
|
|
2739
|
+
node.append(block);
|
|
2740
|
+
}
|
|
2741
|
+
const answer = document.createElement("section");
|
|
2742
|
+
answer.className = "conversation-answer";
|
|
2743
|
+
const label = document.createElement("p");
|
|
2744
|
+
label.textContent = result.status === "inProgress" ? "本轮运行中" : "最终回答";
|
|
2745
|
+
answer.append(label);
|
|
2746
|
+
const preview = document.createElement("div");
|
|
2747
|
+
preview.className = "markdown-preview";
|
|
2748
|
+
const source = document.createElement("pre");
|
|
2749
|
+
source.className = "session-answer-source";
|
|
2750
|
+
source.textContent = result.answer || (result.oversized ? "该轮内容过大,Admin 不显示" : "暂无最终回答。");
|
|
2751
|
+
const hasPreview = typeof result.markdownHtml === "string";
|
|
2752
|
+
window.NetizenContentPreview.renderMarkdown(preview, hasPreview ? result.markdownHtml : null);
|
|
2753
|
+
installConversationImages(view, preview, result.turnId, result.images, imageUrls);
|
|
2754
|
+
if (result.status !== "inProgress") answer.append(preview, source);
|
|
2755
|
+
if (result.error || result.previewMessage) {
|
|
2756
|
+
const note = document.createElement("p");
|
|
2757
|
+
note.className = "conversation-turn-meta";
|
|
2758
|
+
note.textContent = [result.error, result.previewMessage].filter(Boolean).join(" · ");
|
|
2759
|
+
answer.append(note);
|
|
2760
|
+
}
|
|
2761
|
+
node.append(answer);
|
|
2762
|
+
return { node, preview, source, hasPreview };
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2765
|
+
async function refreshConversation() { return loadConversation(false); }
|
|
2766
|
+
async function loadEarlierConversation() { return loadConversation(true); }
|
|
2767
|
+
|
|
2768
|
+
async function loadConversation(earlier) {
|
|
2769
|
+
const view = conversationView;
|
|
2770
|
+
if (!view || state.authExpired || (earlier && (view.pending || view.blocked || !view.cursor))) return;
|
|
2771
|
+
const request = ++conversationRequest;
|
|
2772
|
+
const isCurrent = () => conversationView === view && request === conversationRequest && !state.authExpired;
|
|
2773
|
+
view.pending = true;
|
|
2774
|
+
renderConversation(view);
|
|
2697
2775
|
answerNode("refresh").disabled = true;
|
|
2698
2776
|
answerNode("drawer").setAttribute("aria-busy", "true");
|
|
2699
|
-
answerNode("note").textContent = "
|
|
2777
|
+
answerNode("note").textContent = earlier ? "正在加载更早的对话…" : "正在读取对话记录…";
|
|
2700
2778
|
answerNode("note").classList.toggle("error", false);
|
|
2701
2779
|
try {
|
|
2702
2780
|
const query = new URLSearchParams({ bindingId: view.session.bindingId, threadId: view.session.nativeThreadId });
|
|
2703
|
-
|
|
2781
|
+
if (earlier) query.set("cursor", view.cursor);
|
|
2782
|
+
const result = await api(`/api/v1/sessions/conversation?${query}`);
|
|
2704
2783
|
if (!isCurrent()) return;
|
|
2705
|
-
const
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
const
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
if (
|
|
2720
|
-
|
|
2784
|
+
const position = captureConversationPosition(view, !earlier);
|
|
2785
|
+
const existing = new Set(earlier ? view.turns.map((turn) => turn.node.dataset.turnId) : []);
|
|
2786
|
+
const staged = { imageUrls: new Map() };
|
|
2787
|
+
const added = [];
|
|
2788
|
+
try {
|
|
2789
|
+
for (const turn of [...result.turns].reverse()) {
|
|
2790
|
+
if (existing.has(turn.turnId)) continue;
|
|
2791
|
+
added.push(conversationTurn(view, turn, staged.imageUrls));
|
|
2792
|
+
existing.add(turn.turnId);
|
|
2793
|
+
}
|
|
2794
|
+
} catch (error) {
|
|
2795
|
+
releaseConversationImages(staged);
|
|
2796
|
+
throw error;
|
|
2797
|
+
}
|
|
2798
|
+
if (earlier) {
|
|
2799
|
+
answerNode("content").prepend(...added.map((turn) => turn.node));
|
|
2800
|
+
view.turns = [...added, ...view.turns];
|
|
2801
|
+
} else {
|
|
2802
|
+
answerNode("content").replaceChildren(...added.map((turn) => turn.node));
|
|
2803
|
+
releaseConversationImages(view);
|
|
2804
|
+
view.turns = added;
|
|
2805
|
+
}
|
|
2806
|
+
for (const [key, url] of staged.imageUrls) view.imageUrls.set(key, url);
|
|
2807
|
+
view.cursor = result.nextCursor;
|
|
2808
|
+
view.blocked = false;
|
|
2809
|
+
renderConversation(view);
|
|
2810
|
+
answerNode("note").textContent = view.turns.length ? `已加载 ${view.turns.length} 轮` : "会话尚无执行轮次。";
|
|
2811
|
+
answerNode("preview-note").textContent = [result.pageMessage, result.previewMessage].filter(Boolean).join(" · ");
|
|
2812
|
+
answerNode("metadata").textContent = `读取于 ${sessionDateLabel(result.readAt)}`;
|
|
2813
|
+
if (earlier && answerNode("earlier").hidden) added[0]?.node.focus({ preventScroll: true });
|
|
2814
|
+
position();
|
|
2815
|
+
requestAnimationFrame(position);
|
|
2721
2816
|
} catch (error) {
|
|
2722
2817
|
if (!isCurrent()) return;
|
|
2723
|
-
|
|
2818
|
+
if (["invalid_cursor", "stale_or_conflict", "not_found"].includes(error.code)) view.blocked = true;
|
|
2819
|
+
answerNode("note").textContent = `${error.message}${view.turns.length ? " 当前仍显示上次读取的快照。" : ""}`;
|
|
2724
2820
|
answerNode("note").classList.toggle("error", true);
|
|
2725
2821
|
} finally {
|
|
2726
2822
|
if (isCurrent()) {
|
|
2823
|
+
view.pending = false;
|
|
2824
|
+
renderConversation(view);
|
|
2825
|
+
if (earlier && !answerNode("earlier").hidden) answerNode("earlier").focus({ preventScroll: true });
|
|
2727
2826
|
answerNode("refresh").disabled = false;
|
|
2728
2827
|
answerNode("drawer").setAttribute("aria-busy", "false");
|
|
2729
2828
|
}
|
|
@@ -2735,7 +2834,7 @@ function wireSessionActions(actions, session) {
|
|
|
2735
2834
|
const secondary = document.createElement("div");
|
|
2736
2835
|
const schedule = actionButton("创建定时任务", () => openScheduleForSession(session, schedule));
|
|
2737
2836
|
secondary.append(schedule);
|
|
2738
|
-
if (session.canReadLatestAnswer) secondary.append(actionButton("
|
|
2837
|
+
if (session.canReadLatestAnswer) secondary.append(actionButton("查看对话记录", () => openConversation(session)));
|
|
2739
2838
|
if (a.configure) {
|
|
2740
2839
|
const button = actionButton("配置", () => openSessionSettingsEditor(session, button));
|
|
2741
2840
|
actions.append(button);
|
|
@@ -5581,7 +5680,7 @@ async function selectTab(name, sessionTab = state.sessionTab || "ordinary", { pr
|
|
|
5581
5680
|
window.NetizenGroupAccess?.closePickers();
|
|
5582
5681
|
window.NetizenSessionAccess?.closePickers();
|
|
5583
5682
|
closeScheduleDetail();
|
|
5584
|
-
|
|
5683
|
+
closeConversation();
|
|
5585
5684
|
state.tab = name;
|
|
5586
5685
|
state.sessionTab = sessionTab;
|
|
5587
5686
|
invalidateSessionListRequest();
|
|
@@ -5639,13 +5738,17 @@ for (const button of document.querySelectorAll("[data-project-mode]")) {
|
|
|
5639
5738
|
button.addEventListener("click", () => selectProjectMode(button.dataset.projectMode));
|
|
5640
5739
|
}
|
|
5641
5740
|
|
|
5642
|
-
answerNode("close").addEventListener("click",
|
|
5643
|
-
answerNode("drawer").addEventListener("cancel", (event) => { event.preventDefault();
|
|
5644
|
-
answerNode("refresh").addEventListener("click",
|
|
5741
|
+
answerNode("close").addEventListener("click", closeConversation);
|
|
5742
|
+
answerNode("drawer").addEventListener("cancel", (event) => { event.preventDefault(); closeConversation(); });
|
|
5743
|
+
answerNode("refresh").addEventListener("click", refreshConversation);
|
|
5744
|
+
answerNode("earlier").addEventListener("click", loadEarlierConversation);
|
|
5645
5745
|
answerNode("toggle").addEventListener("click", () => {
|
|
5646
|
-
if (!
|
|
5647
|
-
|
|
5648
|
-
|
|
5746
|
+
if (!conversationView) return;
|
|
5747
|
+
const position = captureConversationPosition(conversationView);
|
|
5748
|
+
conversationView.preview = !conversationView.preview;
|
|
5749
|
+
renderConversation(conversationView);
|
|
5750
|
+
position();
|
|
5751
|
+
requestAnimationFrame(position);
|
|
5649
5752
|
});
|
|
5650
5753
|
for (const control of document.querySelectorAll("[data-session-layout]")) {
|
|
5651
5754
|
control.addEventListener("change", () => applySessionLayout(control.dataset.sessionLayout));
|
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
/* Shared file and answer drawers, including file-browser navigation. */
|
|
2
|
-
.file-browser-diff {
|
|
3
|
-
.file-browser-diff
|
|
4
|
-
.file-browser-diff
|
|
5
|
-
.file-browser-diff .
|
|
6
|
-
.file-browser-diff
|
|
7
|
-
.file-browser-diff
|
|
8
|
-
.file-browser-diff
|
|
9
|
-
.file-browser-diff .
|
|
10
|
-
.file-browser-diff
|
|
11
|
-
.file-browser-diff-
|
|
2
|
+
.file-browser-diff { flex: 1; min-height: 0; overflow: auto; overflow-anchor: none; overscroll-behavior: contain; padding-bottom: 16px; font: 13px/21px ui-monospace, SFMono-Regular, Menlo, monospace; }
|
|
3
|
+
.file-browser-diff-row { display: grid; grid-template-columns: calc(5ch + 10px) minmax(0, 1fr) calc(5ch + 10px) minmax(0, 1fr); min-height: 21px; }
|
|
4
|
+
.file-browser-diff[data-layout="unified"] .file-browser-diff-row { grid-template-columns: calc(5ch + 10px) calc(5ch + 10px) 2ch minmax(0, 1fr); }
|
|
5
|
+
.file-browser-diff-number, .file-browser-diff-marker { user-select: none; -webkit-user-select: none; color: var(--muted); }
|
|
6
|
+
.file-browser-diff-number { padding: 0 5px; text-align: right; background: var(--wash); }
|
|
7
|
+
.file-browser-diff-marker { text-align: center; }
|
|
8
|
+
.file-browser-diff-code { min-width: 0; padding: 0 8px; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 4; }
|
|
9
|
+
.file-browser-diff[data-layout="split"] .file-browser-diff-code:last-child { border-left: 1px solid var(--line); }
|
|
10
|
+
.file-browser-diff-removed { background: var(--danger-soft); }
|
|
11
|
+
.file-browser-diff-added { background: var(--success-soft); }
|
|
12
|
+
.file-browser-diff-removed .file-browser-diff-char { background: color-mix(in srgb, var(--danger) 22%, var(--danger-soft)); }
|
|
13
|
+
.file-browser-diff-added .file-browser-diff-char { background: color-mix(in srgb, var(--success) 22%, var(--success-soft)); }
|
|
14
|
+
.file-browser-diff-pad { background: var(--wash); }
|
|
15
|
+
.file-browser-diff-gap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 10px; background: var(--blue-soft); color: var(--muted); font: 12px/20px system-ui, sans-serif; }
|
|
16
|
+
.file-browser-diff-gap > span { user-select: none; -webkit-user-select: none; }
|
|
12
17
|
.file-browser-scroll-host { position: relative; }
|
|
13
18
|
.file-browser-scrollbar { position: absolute; z-index: 5; top: var(--scrollbar-top); right: var(--scrollbar-right); width: 12px; height: var(--scrollbar-height); border-radius: 3px; background: var(--line); }
|
|
14
19
|
.file-browser-scrollbar-thumb { position: absolute; top: var(--scrollbar-thumb-y); height: var(--scrollbar-thumb-height); width: 100%; border-radius: 3px; background: var(--muted); touch-action: none; cursor: grab; }
|
|
15
20
|
.file-browser-scrollbar-thumb:active { background: var(--ink); cursor: grabbing; }
|
|
16
21
|
@media (pointer: coarse) {
|
|
22
|
+
.file-browser-diff { padding-right: 16px; }
|
|
17
23
|
.file-browser-editor.ace_editor > .ace_sb-v { background: var(--line); }
|
|
18
24
|
.file-browser-editor.ace_editor > .ace_sb-v > div { background: var(--muted); border-color: var(--muted); }
|
|
19
25
|
.file-browser-editor.ace_editor > .ace_sb-v > div:hover,
|
|
@@ -212,7 +218,25 @@ body.file-browser-open, body.session-answer-open { overflow: hidden; }
|
|
|
212
218
|
|
|
213
219
|
.file-browser-drawer #file-browser-delete { border-color: var(--danger-line); }
|
|
214
220
|
.file-browser-drawer #file-browser-delete:hover:not(:disabled) { background: var(--danger-soft); }
|
|
215
|
-
.file-browser-drawer .file-browser-diff-
|
|
221
|
+
.file-browser-drawer .file-browser-diff-gap button { min-height: 36px; white-space: normal; }
|
|
216
222
|
@media (max-width: 720px) {
|
|
217
|
-
.file-browser-drawer .file-browser-diff-
|
|
223
|
+
.file-browser-drawer .file-browser-diff-gap button { min-height: 44px; }
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.conversation-scroll { flex: 1; min-height: 0; min-width: 0; overflow-y: auto; overflow-x: hidden; padding: 16px 22px; overflow-anchor: none; overscroll-behavior: contain; }
|
|
227
|
+
.conversation-earlier { display: block; margin: 0 auto 20px; }
|
|
228
|
+
.conversation-earlier[hidden] { display: none; }
|
|
229
|
+
.conversation-turn { min-width: 0; margin: 0 0 28px; overflow-wrap: anywhere; }
|
|
230
|
+
.conversation-turn-meta, .conversation-input-label { color: var(--muted); font-size: 12px; line-height: 1.6; }
|
|
231
|
+
.conversation-input { margin: 12px 0 12px 6%; padding: 12px 16px; border-radius: 12px; background: var(--wash); }
|
|
232
|
+
.conversation-input p { margin: 0 0 8px; }
|
|
233
|
+
.conversation-answer { padding: 0 4px; min-width: 0; }
|
|
234
|
+
.conversation-answer > p { font-size: 12px; color: var(--muted); }
|
|
235
|
+
.conversation-answer .markdown-preview { min-width: 0; overflow-wrap: anywhere; }
|
|
236
|
+
.conversation-answer .markdown-preview pre { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
237
|
+
.conversation-answer .markdown-preview table { display: block; max-width: 100%; overflow-x: auto; }
|
|
238
|
+
@media (max-width: 720px) {
|
|
239
|
+
.conversation-scroll { padding: 12px; }
|
|
240
|
+
.conversation-input { margin-left: 3%; padding: 10px; }
|
|
241
|
+
.conversation-earlier { min-height: 44px; }
|
|
218
242
|
}
|