netizen-cli 0.18.2__tar.gz → 0.18.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {netizen_cli-0.18.2/netizen_cli.egg-info → netizen_cli-0.18.3}/PKG-INFO +1 -1
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/__init__.py +1 -1
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/content-preview.css +18 -12
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/file-browser.js +226 -171
- {netizen_cli-0.18.2 → netizen_cli-0.18.3/netizen_cli.egg-info}/PKG-INFO +1 -1
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/pyproject.toml +1 -1
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/admin.md +3 -3
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/MANIFEST.in +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/README.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/_build.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/config.example.yaml +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/__main__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/account_rate_limits.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/answer_previews.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/auth.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/credentials.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/errors.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/feishu.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/file_previews.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/login.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/port_config.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/presentation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/queries.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/admin-ui.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/admin.css +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/admin.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/attachment-files.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/chat-picker.css +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/chat-picker.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/config-editor.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/content-preview.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/group-access.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/identity.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/index.html +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/login.html +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/login.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/netizen.svg +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/progress-card.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/project-files.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/question-notifications.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/session-access.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/vendor/ace/LICENSE +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/vendor/ace/README.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/vendor/ace/ace.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/vendor/ace/ext-diff.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/vendor/ace/mode-javascript.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/vendor/ace/mode-json.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/vendor/ace/mode-markdown.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/vendor/ace/mode-python.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/static/worktrees.js +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/transport.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/users.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/admin/web.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/attachments.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/bindings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/builtin_skills.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cards/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cards/callbacks.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cards/chat_target.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cards/controls.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cards/defaults.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cards/fork.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cards/pagination.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cards/questions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cards/reply.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cards/scheduled.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cards/session_ids.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cards/status.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cards/usage.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cards/workspace.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/app_values.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/base.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/card_controls.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/commands.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/completion_mentions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/constants.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/entry.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/forks.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/input_preparation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/messages.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/ports.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/presentation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/prompts.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/question_inputs.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/questions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/reactions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/replies.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/reply_presenter.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/reply_suppression.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/schedules.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/session_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/session_pages.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/session_tools.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/sides.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/topics.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel/turn_files.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/channel_app.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/chat_access.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/chat_avatars.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/chat_targets.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cli.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cli_data.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cli_packages.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cli_services.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cli_setup.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cli_update.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cli_update_restore.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/cli_update_worker.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/codex_runtime.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/completion_mention.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/database_migrations.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/defaults/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/defaults/models.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/defaults/service.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/defaults/store.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/deployment/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/deployment/restart_worker.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/deployment/update_executor.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/deployment/update_protocol.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/domain.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/error_messages.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/experience.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/feishu_app_onboarding.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/feishu_app_permissions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/feishu_links.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/file_inputs.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/git_status.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/group_access.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/image_inputs.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/instance.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/lark_app.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/main.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/management/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/management/attachment_files.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/management/blocking_io.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/management/chat_directory.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/management/chat_labels.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/management/coordination.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/management/project_files.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/management/service.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/management/updates.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/markdown_images.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/mcp_transport.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/message_content.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/message_history.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/message_preparation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/message_projection.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/migrations/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/migrations/schema.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/migrations/v14.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/migrations/v15.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/migrations/v16.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/migrations/v17.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/migrations/v18.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/migrations/v19.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/migrations/v20.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/migrations/v21.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/model_settings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/package_resources.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/pagination.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/partial_answers.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/progress_card_config.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/progress_card_settings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/project_files.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/projects.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/prompt_projection.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/question_notifications.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/quoted_context.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/result_images.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/activity.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/compaction.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/contracts.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/forks.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/goals.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/lifecycle.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/limits.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/name_writes.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/naming.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/native_values.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/observation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/occupancy.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/queries.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/shutdown.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/sides.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/state.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/submission.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/subscriptions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/thread_naming.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/runtime/turn_control.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/schedules/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/schedules/mcp.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/schedules/models.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/schedules/scheduler.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/schedules/service.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/schedules/store.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/sdk_gap_adapter.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/service_launcher.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/session_inventory.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/session_settings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/sessions/__init__.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/sessions/delegation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/sessions/errors.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/sessions/mcp.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/sessions/policy.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/sessions/presentation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/sessions/schema.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/sessions/service.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/sessions/sources.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/settings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/skill_references.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/task_text.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/terminal_cleanup.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/thread_history.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/turn_activity.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/turn_files.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/turn_patch_children.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/turn_plan_observer.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/user_questions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/worktrees/errors.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/worktrees/git.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/worktrees/models.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/worktrees/policy.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/worktrees/service.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/worktrees/settings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/worktrees/store.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli/worktrees/viewer.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli.egg-info/SOURCES.txt +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli.egg-info/dependency_links.txt +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli.egg-info/entry_points.txt +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli.egg-info/requires.txt +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/netizen_cli.egg-info/top_level.txt +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/setup.cfg +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/skills/netizen-lark/SKILL.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/skills/netizen-runtime-guidance/SKILL.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/skills/netizen-user-guide/SKILL.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/commands.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/concepts.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/faq.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/feedback-and-files.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/fork-side-goal.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/messages.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/native-capabilities.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/scheduled-tasks.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/session-collaboration.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/sessions.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/status-and-control.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/user-guide.md +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_account_rate_limits.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_admin_update_executor_probe.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_attachments.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_binding_scheduled_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_bindings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_card_error_feedback.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_channel_app.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_channel_fixtures.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_channel_input_preparation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_chat_avatars.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_chat_target_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_check_sdk.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_cli.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_cli_data.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_cli_distribution.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_cli_integration.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_cli_packages.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_cli_packaging.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_cli_services.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_cli_setup.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_cli_update.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_codex_runtime.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_codex_sdk_capabilities.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_codex_sdk_upgrade_0161.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_codex_sdk_upgrade_0163.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_codex_sdk_upgrade_0167.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_completion_mention_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_completion_mentions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_completion_topic_delivery.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_configuration_publication.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_cron_chat_targets.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_database_migrations.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_defaults_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_defaults_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_defaults_runtime.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_defaults_worktree_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_deployment.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_diff_codex_sdk.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_documentation_links.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_domain_experience.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_error_messages.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_feishu_app_onboarding.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_feishu_app_permissions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_file_input_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_file_inputs.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_file_pagination.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_fork_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_git_status.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_goal_reply_separation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_group_access.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_image_inputs.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_lark_app.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_lark_sdk_contract.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_latest_answer.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_main.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_markdown_images.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_message_content.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_message_history.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_message_material_inputs.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_message_preparation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_migration_schema_validation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_model_settings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_name_writes.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_optional_progress_card_settings_migration.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_pagination.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_partial_answer_delivery.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_partial_answers.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_persistent_fork_bindings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_persistent_fork_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_persistent_fork_runtime.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_probe_child_files.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_probe_feishu_completion_mention.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_probe_feishu_partial_answers.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_probe_feishu_turn_file_card.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_probe_persistent_fork.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_probe_python_sdk.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_probe_scheduled_tasks.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_probe_sdk_completion_race.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_probe_sdk_response_recovery.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_probe_skill_execution.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_probe_thread_naming.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_progress_card_config.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_progress_card_entrypoints.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_progress_card_presentation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_progress_card_settings_migration.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_project_delete_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_project_delete_runtime.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_project_deletion_storage.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_project_files.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_prompt_projection.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_query_indexes_migration.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_question_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_question_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_question_notification_config.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_question_target_parity.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_quoted_context.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_release_script.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_rename_name_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_reply_suppression.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_repository_hygiene.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_result_images.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_resume_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_retired_deployment.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_runtime_resume_activation.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_runtime_thread_naming.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_schedule_auto_archive_migration.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_schedule_card_retry.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_schedule_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_schedule_mcp.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_schedule_run_now.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_schedule_scope_matrix.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_schedule_service.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_schedule_trigger_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_schedule_workspace_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_schedule_workspace_migration.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_schedule_workspace_service.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_schedule_workspace_storage.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_scheduled_auto_archive.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_scheduled_channel.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_scheduled_runtime.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_scheduled_worktrees.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_scheduler.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_scheduler_presenter.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_schedules_storage.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_sdk_gap_adapter.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_service_launcher.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_session_card_pages.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_session_collaboration_app.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_session_defaults.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_session_defaults_migration.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_session_external_runtime.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_session_id_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_session_policy.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_session_settings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_session_tools.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_settings_projects.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_sqlite_query_readers.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_status_cards.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_status_commands.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_suppress_reply.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_task_text.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_terminal_cleanup.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_thread_history.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_thread_naming.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_turn_activity.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_turn_files.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_turn_patch_children.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_turn_patch_statistics.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_turn_plan_observer.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_update_executor.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_upgrade_regression.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_usage_card.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_usage_control.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_user_guide_skill.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_user_questions.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_worktree_channel_cwd.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_worktree_git.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_worktree_new.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_worktree_runtime_cwd.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_worktree_service.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_worktree_settings.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_worktree_storage.py +0 -0
- {netizen_cli-0.18.2 → netizen_cli-0.18.3}/tests/test_worktree_tools_integration.py +0 -0
|
@@ -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,7 @@ 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; }
|
|
218
224
|
}
|
|
@@ -15,7 +15,7 @@ window.NetizenFileBrowser = {
|
|
|
15
15
|
let aceLoading = null;
|
|
16
16
|
let diffLoading = null;
|
|
17
17
|
const DIFF_LAYOUT_KEY = "netizen-file-diff-layout";
|
|
18
|
-
const CONTEXT = 3, STEP = 20;
|
|
18
|
+
const CONTEXT = 3, STEP = 20, MAX_CHAR_RANGES = 200;
|
|
19
19
|
function diffLayout() {
|
|
20
20
|
try { return window.localStorage.getItem(DIFF_LAYOUT_KEY) === "unified" ? "unified" : "split"; }
|
|
21
21
|
catch (_) { return "split"; }
|
|
@@ -28,7 +28,7 @@ window.NetizenFileBrowser = {
|
|
|
28
28
|
function watchPreviewScrollbars() {
|
|
29
29
|
if (!coarse.matches) { updatePreviewScrollbars(); return; }
|
|
30
30
|
if (!previewScrollbars.length) {
|
|
31
|
-
for (const name of ["markdown", "image-wrap"]) {
|
|
31
|
+
for (const name of ["markdown", "image-wrap", "diff"]) {
|
|
32
32
|
const content = node(name), host = content.parentElement;
|
|
33
33
|
host.classList.toggle("file-browser-scroll-host", true);
|
|
34
34
|
const track = document.createElement("div"), thumb = document.createElement("div");
|
|
@@ -131,6 +131,7 @@ window.NetizenFileBrowser = {
|
|
|
131
131
|
stop(view, "diff");
|
|
132
132
|
destroyDiff(view);
|
|
133
133
|
view.diff = null;
|
|
134
|
+
view.diffModel = null;
|
|
134
135
|
view.mode = "source";
|
|
135
136
|
view.modeSequence = (view.modeSequence || 0) + 1;
|
|
136
137
|
view.filePending = view.diffPending = null;
|
|
@@ -759,7 +760,7 @@ window.NetizenFileBrowser = {
|
|
|
759
760
|
}
|
|
760
761
|
return aceLoading;
|
|
761
762
|
}
|
|
762
|
-
// Gaps
|
|
763
|
+
// Gaps and changed chunks use half-open ranges in the rendered row sequence.
|
|
763
764
|
function diffGaps(chunks, rows) {
|
|
764
765
|
if (!chunks?.length) return [];
|
|
765
766
|
const gaps = [];
|
|
@@ -778,175 +779,207 @@ window.NetizenFileBrowser = {
|
|
|
778
779
|
else end -= STEP;
|
|
779
780
|
return end - start >= 2 ? { start, end } : null;
|
|
780
781
|
}
|
|
781
|
-
function
|
|
782
|
-
|
|
782
|
+
function diffLines(text) {
|
|
783
|
+
if (!text) return [];
|
|
784
|
+
const lines = text.split(/\r\n|\r|\n/);
|
|
785
|
+
if (lines.at(-1) === "") lines.pop();
|
|
786
|
+
return lines;
|
|
783
787
|
}
|
|
784
|
-
function
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
+
async function diffTokenizer(language) {
|
|
789
|
+
if (!modes.has(language) || language === "text") return null;
|
|
790
|
+
const ace = window.ace, name = `ace/mode/${language}`;
|
|
791
|
+
const module = ace.require(name) || await new Promise((resolve) => ace.config.loadModule(["mode", name], resolve));
|
|
792
|
+
return module?.Mode || null;
|
|
788
793
|
}
|
|
789
|
-
function
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
794
|
+
function diffTokens(lines, Mode) {
|
|
795
|
+
if (!Mode) return lines.map((value) => [{ type: "text", value }]);
|
|
796
|
+
try {
|
|
797
|
+
const tokenizer = new Mode().getTokenizer();
|
|
798
|
+
let state = "start";
|
|
799
|
+
return lines.map((line) => {
|
|
800
|
+
const result = tokenizer.getLineTokens(line, state);
|
|
801
|
+
state = result.state;
|
|
802
|
+
return result.tokens;
|
|
803
|
+
});
|
|
804
|
+
} catch (_) { return lines.map((value) => [{ type: "text", value }]); }
|
|
805
|
+
}
|
|
806
|
+
function diffHighlights(chunks, lines, side) {
|
|
807
|
+
const highlights = new Map();
|
|
808
|
+
for (const chunk of chunks) {
|
|
809
|
+
if (!chunk.charChanges || chunk.charChanges.length > MAX_CHAR_RANGES) continue;
|
|
810
|
+
for (const change of chunk.charChanges) {
|
|
811
|
+
const { start, end } = change[side];
|
|
812
|
+
for (let row = start.row; row <= end.row && row < lines.length; row++) {
|
|
813
|
+
const from = row === start.row ? start.column : 0;
|
|
814
|
+
const to = Math.min(lines[row].length, row === end.row ? end.column : lines[row].length);
|
|
815
|
+
if (to <= from) continue;
|
|
816
|
+
if (!highlights.has(row)) highlights.set(row, []);
|
|
817
|
+
highlights.get(row).push([from, to]);
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
for (const [row, ranges] of highlights) {
|
|
822
|
+
const merged = [];
|
|
823
|
+
for (const range of ranges.sort((a, b) => a[0] - b[0])) {
|
|
824
|
+
const last = merged.at(-1);
|
|
825
|
+
if (last && range[0] <= last[1]) last[1] = Math.max(last[1], range[1]);
|
|
826
|
+
else merged.push(range);
|
|
827
|
+
}
|
|
828
|
+
highlights.set(row, merged);
|
|
829
|
+
}
|
|
830
|
+
return highlights;
|
|
831
|
+
}
|
|
832
|
+
function diffRowData(model, unified) {
|
|
833
|
+
const rows = [], changes = [];
|
|
834
|
+
let old = 0, fresh = 0;
|
|
835
|
+
const unchanged = (end) => {
|
|
836
|
+
while (fresh < end) rows.push({ old: old++, new: fresh++ });
|
|
837
|
+
};
|
|
838
|
+
for (const chunk of model.chunks) {
|
|
839
|
+
unchanged(chunk.new.start.row);
|
|
840
|
+
const start = rows.length;
|
|
841
|
+
if (unified) {
|
|
842
|
+
while (old < chunk.old.end.row) rows.push({ old: old++, kind: "removed" });
|
|
843
|
+
while (fresh < chunk.new.end.row) rows.push({ new: fresh++, kind: "added" });
|
|
844
|
+
} else {
|
|
845
|
+
while (old < chunk.old.end.row || fresh < chunk.new.end.row) rows.push({
|
|
846
|
+
old: old < chunk.old.end.row ? old++ : undefined,
|
|
847
|
+
new: fresh < chunk.new.end.row ? fresh++ : undefined, kind: "changed",
|
|
848
|
+
});
|
|
849
|
+
}
|
|
850
|
+
changes.push({ new: { start: { row: start }, end: { row: rows.length } } });
|
|
851
|
+
}
|
|
852
|
+
unchanged(model.new.length);
|
|
853
|
+
return { rows, gaps: diffGaps(changes, rows.length) };
|
|
854
|
+
}
|
|
855
|
+
function diffCode(model, side, index, kind) {
|
|
856
|
+
const cell = document.createElement("div");
|
|
857
|
+
cell.className = `file-browser-diff-code${kind ? ` file-browser-diff-${kind}` : ""}`;
|
|
858
|
+
if (index === undefined) { cell.className += " file-browser-diff-pad"; return cell; }
|
|
859
|
+
const ranges = kind ? model.highlights[side].get(index) || [] : [];
|
|
860
|
+
let offset = 0, rangeIndex = 0;
|
|
861
|
+
for (const token of model.tokens[side][index]) {
|
|
862
|
+
const tokenStart = offset;
|
|
863
|
+
const end = offset + token.value.length;
|
|
864
|
+
while (offset < end) {
|
|
865
|
+
while (ranges[rangeIndex]?.[1] <= offset) rangeIndex++;
|
|
866
|
+
const range = ranges[rangeIndex];
|
|
867
|
+
const highlighted = range && range[0] <= offset;
|
|
868
|
+
const boundary = Math.min(end, range ? highlighted ? range[1] : range[0] : end);
|
|
869
|
+
const span = document.createElement("span");
|
|
870
|
+
span.className = token.type.split(".").map((type) => `ace_${type}`).join(" ")
|
|
871
|
+
+ (highlighted ? " file-browser-diff-char" : "");
|
|
872
|
+
span.textContent = token.value.slice(offset - tokenStart, boundary - tokenStart);
|
|
873
|
+
cell.append(span);
|
|
874
|
+
offset = boundary;
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
return cell;
|
|
878
|
+
}
|
|
879
|
+
function diffRow(view, data) {
|
|
880
|
+
const row = document.createElement("div");
|
|
881
|
+
row.className = "file-browser-diff-row";
|
|
882
|
+
const number = (index) => {
|
|
883
|
+
const cell = document.createElement("span");
|
|
884
|
+
cell.className = "file-browser-diff-number";
|
|
885
|
+
cell.textContent = index === undefined ? "" : String(index + 1);
|
|
886
|
+
return cell;
|
|
887
|
+
};
|
|
888
|
+
if (view.diffUnified) {
|
|
889
|
+
const marker = document.createElement("span");
|
|
890
|
+
marker.className = "file-browser-diff-marker";
|
|
891
|
+
marker.textContent = data.kind === "removed" ? "-" : data.kind === "added" ? "+" : " ";
|
|
892
|
+
if (data.kind) row.className += ` file-browser-diff-${data.kind}`;
|
|
893
|
+
const side = data.kind === "removed" ? "old" : "new";
|
|
894
|
+
row.append(number(data.old), number(data.new), marker, diffCode(view.diffModel, side, data[side], data.kind));
|
|
895
|
+
} else {
|
|
896
|
+
for (const side of ["old", "new"]) {
|
|
897
|
+
const kind = data.kind && data[side] !== undefined ? side === "old" ? "removed" : "added" : "";
|
|
898
|
+
const label = number(data[side]);
|
|
899
|
+
if (kind) label.className += ` file-browser-diff-${kind}`;
|
|
900
|
+
row.append(label, diffCode(view.diffModel, side, data[side], kind));
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
return row;
|
|
904
|
+
}
|
|
905
|
+
function diffFragment(view, start, end) {
|
|
906
|
+
const fragment = document.createDocumentFragment();
|
|
907
|
+
for (let i = start; i < end; i++) fragment.append(diffRow(view, view.diffRows[i]));
|
|
908
|
+
return fragment;
|
|
796
909
|
}
|
|
797
|
-
function
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
if (restoreFocus) menu.anchor.focus({ preventScroll: true });
|
|
804
|
-
}
|
|
805
|
-
function openDiffMenu(view, editor, fold, anchor) {
|
|
806
|
-
const index = diffFolds(editor.session).indexOf(fold);
|
|
807
|
-
if (index < 0) return;
|
|
808
|
-
// ext-diff mirrors the unchanged folds in order, even when changed row counts differ.
|
|
809
|
-
const canonical = diffFolds(view.diffView.sessionB)[index];
|
|
810
|
-
if (!canonical) return;
|
|
811
|
-
closeDiffMenu(view);
|
|
812
|
-
const menu = document.createElement("div");
|
|
813
|
-
menu.className = "file-browser-diff-menu";
|
|
814
|
-
menu.setAttribute("role", "group");
|
|
815
|
-
menu.setAttribute("aria-label", "展开未改动行");
|
|
816
|
-
const gap = { start: fold.start.row, end: fold.end.row + 1 };
|
|
910
|
+
function renderDiffGap(view, element, gap) {
|
|
911
|
+
element.replaceChildren();
|
|
912
|
+
element.className = "file-browser-diff-gap";
|
|
913
|
+
element.setAttribute("role", "group");
|
|
914
|
+
element.setAttribute("aria-label", "展开未改动行");
|
|
915
|
+
view.diffGaps.set(element, gap);
|
|
817
916
|
const count = gap.end - gap.start;
|
|
917
|
+
const label = document.createElement("span");
|
|
918
|
+
label.textContent = `${count} 行未改动`;
|
|
919
|
+
element.append(label);
|
|
818
920
|
const action = (label, direction) => {
|
|
819
|
-
const item = button
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
const remaining = shrinkDiffGap(gap, direction);
|
|
823
|
-
editor.session.removeFold(fold);
|
|
824
|
-
if (remaining) addDiffFold(editor.session, remaining);
|
|
825
|
-
});
|
|
921
|
+
const item = document.createElement("button");
|
|
922
|
+
item.type = "button";
|
|
923
|
+
item.textContent = label;
|
|
826
924
|
item.dataset.direction = direction;
|
|
827
|
-
|
|
925
|
+
element.append(item);
|
|
828
926
|
};
|
|
829
927
|
if (count > STEP) {
|
|
830
|
-
if (
|
|
831
|
-
if (
|
|
928
|
+
if (gap.start > 0) action(`↓ 展开 ${STEP} 行`, "down");
|
|
929
|
+
if (gap.end < view.diffRows.length) action(`↑ 展开 ${STEP} 行`, "up");
|
|
832
930
|
}
|
|
833
931
|
action(`展开全部 ${count} 行`, "all");
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
const
|
|
837
|
-
const
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
const
|
|
841
|
-
const
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
document.addEventListener("keydown", escape, true);
|
|
854
|
-
view.diffMenu = { element: menu, anchor, dispose() {
|
|
855
|
-
document.removeEventListener("pointerdown", outside, true);
|
|
856
|
-
document.removeEventListener("click", outside, true);
|
|
857
|
-
document.removeEventListener("keydown", escape, true);
|
|
858
|
-
} };
|
|
859
|
-
menu.children[0].focus({ preventScroll: true });
|
|
860
|
-
}
|
|
861
|
-
function bindDiffFolds(view) {
|
|
862
|
-
const area = node("diff"), cleanups = [], diff = view.diffView;
|
|
863
|
-
const editors = [diff.editorA, diff.editorB];
|
|
864
|
-
const listen = (target, name, fn, options) => {
|
|
865
|
-
target.addEventListener(name, fn, options);
|
|
866
|
-
cleanups.push(() => target.removeEventListener(name, fn, options));
|
|
867
|
-
};
|
|
868
|
-
const barAt = (target) => target.closest?.(".ace_fold");
|
|
869
|
-
const openAt = (anchor, x, y) => {
|
|
870
|
-
const editor = editors.find((item) => item.container.contains(anchor));
|
|
871
|
-
if (!editor) return;
|
|
872
|
-
const position = editor.renderer.screenToTextCoordinates(x, y);
|
|
873
|
-
const fold = editor.session.getFoldAt(position.row, position.column);
|
|
874
|
-
if (fold) openDiffMenu(view, editor, fold, anchor);
|
|
875
|
-
};
|
|
876
|
-
const close = () => closeDiffMenu(view);
|
|
877
|
-
for (const editor of editors) {
|
|
878
|
-
const click = (event) => {
|
|
879
|
-
const anchor = barAt(event.domEvent.target);
|
|
880
|
-
if (!anchor) return;
|
|
881
|
-
const position = event.getDocumentPosition();
|
|
882
|
-
const fold = editor.session.getFoldAt(position.row, position.column);
|
|
883
|
-
if (!diffFolds(editor.session).includes(fold)) return;
|
|
884
|
-
event.stop();
|
|
885
|
-
openDiffMenu(view, editor, fold, anchor);
|
|
886
|
-
};
|
|
887
|
-
editor.on("click", click, true);
|
|
888
|
-
cleanups.push(() => editor.off("click", click));
|
|
889
|
-
for (const name of ["changeScrollTop", "changeScrollLeft"]) {
|
|
890
|
-
editor.session.on(name, close);
|
|
891
|
-
cleanups.push(() => editor.session.off(name, close));
|
|
892
|
-
}
|
|
932
|
+
}
|
|
933
|
+
function expandDiffGap(view, event) {
|
|
934
|
+
const item = event.target.closest?.("button");
|
|
935
|
+
const element = item?.parentElement, gap = view.diffGaps.get(element);
|
|
936
|
+
if (!gap) return;
|
|
937
|
+
const remaining = shrinkDiffGap(gap, item.dataset.direction);
|
|
938
|
+
const area = node("diff"), top = area.scrollTop;
|
|
939
|
+
const fragment = diffFragment(view, remaining && item.dataset.direction === "up" ? remaining.end : gap.start,
|
|
940
|
+
remaining && item.dataset.direction === "down" ? remaining.start : gap.end);
|
|
941
|
+
const first = fragment.firstChild;
|
|
942
|
+
area.insertBefore(fragment, remaining && item.dataset.direction === "up" ? element.nextSibling : element);
|
|
943
|
+
if (remaining) {
|
|
944
|
+
renderDiffGap(view, element, remaining);
|
|
945
|
+
const buttons = [...element.querySelectorAll("button")];
|
|
946
|
+
(buttons.find((button) => button.dataset.direction === item.dataset.direction) || buttons.at(-1)).focus({ preventScroll: true });
|
|
947
|
+
} else {
|
|
948
|
+
view.diffGaps.delete(element);
|
|
949
|
+
element.remove();
|
|
950
|
+
if (first) { first.tabIndex = -1; first.focus({ preventScroll: true }); }
|
|
893
951
|
}
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
}, { capture: true, passive: true });
|
|
909
|
-
listen(area, "touchend", (event) => {
|
|
910
|
-
if (!touch) return;
|
|
911
|
-
event.stopPropagation(); event.preventDefault();
|
|
912
|
-
const tapped = touch; touch = null;
|
|
913
|
-
const point = event.changedTouches[0];
|
|
914
|
-
if (!tapped.moved && Math.hypot(point.clientX - tapped.x, point.clientY - tapped.y) < 10)
|
|
915
|
-
openAt(tapped.anchor, tapped.x, tapped.y);
|
|
916
|
-
}, { capture: true, passive: false });
|
|
917
|
-
listen(area, "touchcancel", (event) => { if (touch) { event.stopPropagation(); touch = null; } }, true);
|
|
918
|
-
listen(area, "keydown", (event) => {
|
|
919
|
-
const anchor = barAt(event.target);
|
|
920
|
-
if (!anchor || !["Enter", " "].includes(event.key)) return;
|
|
921
|
-
event.preventDefault(); event.stopPropagation();
|
|
922
|
-
const rect = anchor.getBoundingClientRect();
|
|
923
|
-
openAt(anchor, rect.left + 1, rect.top + rect.height / 2);
|
|
924
|
-
});
|
|
925
|
-
const accessibleFolds = () => {
|
|
926
|
-
for (const bar of area.querySelectorAll(".ace_fold")) {
|
|
927
|
-
bar.tabIndex = 0;
|
|
928
|
-
bar.setAttribute("role", "button");
|
|
929
|
-
bar.setAttribute("aria-label", bar.textContent.trim());
|
|
930
|
-
}
|
|
931
|
-
};
|
|
932
|
-
accessibleFolds();
|
|
933
|
-
if (window.MutationObserver) {
|
|
934
|
-
const observer = new window.MutationObserver(accessibleFolds);
|
|
935
|
-
observer.observe(area, { childList: true, subtree: true });
|
|
936
|
-
cleanups.push(() => observer.disconnect());
|
|
952
|
+
// Disable native anchoring in CSS and retain the content above this expander.
|
|
953
|
+
area.scrollTop = top;
|
|
954
|
+
updatePreviewScrollbars();
|
|
955
|
+
}
|
|
956
|
+
function foldDiff(view, folded) {
|
|
957
|
+
view.diffGaps = new Map();
|
|
958
|
+
const fragment = document.createDocumentFragment();
|
|
959
|
+
let start = 0;
|
|
960
|
+
for (const gap of folded ? view.diffInitialGaps : []) {
|
|
961
|
+
fragment.append(diffFragment(view, start, gap.start));
|
|
962
|
+
const element = document.createElement("div");
|
|
963
|
+
renderDiffGap(view, element, gap);
|
|
964
|
+
fragment.append(element);
|
|
965
|
+
start = gap.end;
|
|
937
966
|
}
|
|
938
|
-
|
|
967
|
+
fragment.append(diffFragment(view, start, view.diffRows.length));
|
|
968
|
+
node("diff").replaceChildren(fragment);
|
|
969
|
+
view.diffFolded = folded;
|
|
970
|
+
node("diff-fold").textContent = folded ? "展开全部" : "折叠未改动";
|
|
971
|
+
updatePreviewScrollbars();
|
|
939
972
|
}
|
|
940
973
|
function destroyDiff(view) {
|
|
941
974
|
view.diffRender = (view.diffRender || 0) + 1;
|
|
942
|
-
closeDiffMenu(view);
|
|
943
975
|
view.diffDispose?.();
|
|
944
976
|
view.diffDispose = null;
|
|
945
|
-
view.
|
|
946
|
-
view.
|
|
977
|
+
view.diffRows = null;
|
|
978
|
+
view.diffGaps = null;
|
|
947
979
|
node("diff").replaceChildren();
|
|
948
980
|
node("diff").hidden = true;
|
|
949
981
|
node("diff-layout").hidden = node("diff-fold").hidden = true;
|
|
982
|
+
updatePreviewScrollbars();
|
|
950
983
|
}
|
|
951
984
|
async function ensureDiff() {
|
|
952
985
|
const ace = await ensureAce();
|
|
@@ -978,8 +1011,8 @@ window.NetizenFileBrowser = {
|
|
|
978
1011
|
for (const [id, mode] of [["source", "source"], ["preview", "preview"], ["difference", "diff"]]) {
|
|
979
1012
|
node(id).setAttribute("aria-pressed", String(view.mode === mode));
|
|
980
1013
|
}
|
|
981
|
-
node("diff-layout").hidden = view.mode !== "diff" || compact.matches || !view.
|
|
982
|
-
node("diff-fold").hidden = !view.
|
|
1014
|
+
node("diff-layout").hidden = view.mode !== "diff" || compact.matches || !view.diffRows;
|
|
1015
|
+
node("diff-fold").hidden = !view.diffRows;
|
|
983
1016
|
node("split").setAttribute("aria-pressed", String(view.diffLayout === "split"));
|
|
984
1017
|
node("unified").setAttribute("aria-pressed", String(view.diffLayout === "unified"));
|
|
985
1018
|
}
|
|
@@ -1008,22 +1041,45 @@ window.NetizenFileBrowser = {
|
|
|
1008
1041
|
if (!active(view) || view.diff !== data || view.diffRender !== sequence || view.mode !== "diff") return;
|
|
1009
1042
|
const ace = window.ace;
|
|
1010
1043
|
for (const key of ["basePath", "modePath", "themePath", "workerPath"]) ace.config.set(key, "/static/vendor/ace");
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1044
|
+
// Token colors must also load when no source editor has applied a theme yet.
|
|
1045
|
+
ace.require("ace/theme/textmate");
|
|
1046
|
+
if (ace.config.get("useStrictCSP") == null) ace.config.set("useStrictCSP", false);
|
|
1047
|
+
if (!view.diffModel) {
|
|
1048
|
+
const old = diffLines(data.old), fresh = diffLines(data.new);
|
|
1049
|
+
const provider = new extension.DiffProvider();
|
|
1050
|
+
const chunks = provider.compute(old, fresh, { ignoreTrimWhitespace: false, maxComputationTimeMs: 500 });
|
|
1051
|
+
const deadline = performance.now() + 200;
|
|
1052
|
+
for (const chunk of chunks) {
|
|
1053
|
+
const remaining = deadline - performance.now();
|
|
1054
|
+
if (!chunk.inlinePending || remaining <= 0) continue;
|
|
1055
|
+
const refined = provider.refine(old, fresh, chunk, {
|
|
1056
|
+
ignoreTrimWhitespace: false, maxComputationTimeMs: Math.min(25, remaining),
|
|
1057
|
+
});
|
|
1058
|
+
chunk.charChanges = refined.hitTimeout ? [] : refined.charChanges;
|
|
1059
|
+
}
|
|
1060
|
+
view.diffModel = { old, new: fresh, chunks };
|
|
1061
|
+
}
|
|
1062
|
+
const model = view.diffModel;
|
|
1063
|
+
if (!model.tokens) {
|
|
1064
|
+
let Mode = null;
|
|
1065
|
+
try { Mode = await diffTokenizer(data.language); } catch (_) { /* Plain text remains readable. */ }
|
|
1066
|
+
if (!active(view) || view.diff !== data || view.diffRender !== sequence || view.mode !== "diff") return;
|
|
1067
|
+
model.tokens = { old: diffTokens(model.old, Mode), new: diffTokens(model.new, Mode) };
|
|
1068
|
+
model.highlights = { old: diffHighlights(model.chunks, model.old, "old"), new: diffHighlights(model.chunks, model.new, "new") };
|
|
1019
1069
|
}
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
view.
|
|
1070
|
+
view.diffUnified = compact.matches || view.diffLayout === "unified";
|
|
1071
|
+
const { rows, gaps } = diffRowData(model, view.diffUnified);
|
|
1072
|
+
view.diffRows = rows;
|
|
1073
|
+
view.diffInitialGaps = gaps;
|
|
1074
|
+
const area = node("diff");
|
|
1075
|
+
area.className = "file-browser-diff ace-tm";
|
|
1076
|
+
area.dataset.layout = view.diffUnified ? "unified" : "split";
|
|
1077
|
+
area.hidden = false;
|
|
1078
|
+
area.scrollTop = 0;
|
|
1024
1079
|
foldDiff(view, true);
|
|
1025
|
-
|
|
1026
|
-
|
|
1080
|
+
const expand = (event) => expandDiffGap(view, event);
|
|
1081
|
+
area.addEventListener("click", expand);
|
|
1082
|
+
view.diffDispose = () => area.removeEventListener("click", expand);
|
|
1027
1083
|
renderModes(view);
|
|
1028
1084
|
} catch (error) {
|
|
1029
1085
|
if (active(view) && view.diff === data && view.diffRender === sequence) note("note", error.message, true);
|
|
@@ -1313,7 +1369,7 @@ window.NetizenFileBrowser = {
|
|
|
1313
1369
|
return renderDiff(current);
|
|
1314
1370
|
});
|
|
1315
1371
|
node("diff-fold").addEventListener("click", () => {
|
|
1316
|
-
if (!current?.
|
|
1372
|
+
if (!current?.diffRows) return;
|
|
1317
1373
|
foldDiff(current, !current.diffFolded);
|
|
1318
1374
|
});
|
|
1319
1375
|
node("close").addEventListener("click", close);
|
|
@@ -1367,8 +1423,7 @@ window.NetizenFileBrowser = {
|
|
|
1367
1423
|
return directory(current, parent, path);
|
|
1368
1424
|
});
|
|
1369
1425
|
window.addEventListener("resize", () => {
|
|
1370
|
-
|
|
1371
|
-
current?.editor?.resize(); current?.diffView?.resize();
|
|
1426
|
+
current?.editor?.resize();
|
|
1372
1427
|
updatePreviewScrollbars();
|
|
1373
1428
|
});
|
|
1374
1429
|
coarse.addEventListener("change", () => {
|
|
@@ -398,10 +398,10 @@ Project 页每行的“删除…”打开删除确认弹窗。确认范围包含
|
|
|
398
398
|
可以和开关同时使用。
|
|
399
399
|
|
|
400
400
|
文件打开后可以在源码、预览(Markdown)和差异之间切换。开关打开时,修改或删除的文件默认
|
|
401
|
-
显示差异,否则默认显示源码。差异默认只显示改动和前后 3
|
|
402
|
-
20 行,或展开这一段全部;工具栏的“展开全部”会展开整个文件。电脑上可以在左右分栏和合并
|
|
401
|
+
显示差异,否则默认显示源码。差异默认只显示改动和前后 3 行,折叠处有一行按钮,可以向下或向上
|
|
402
|
+
展开 20 行,或展开这一段全部;工具栏的“展开全部”会展开整个文件。电脑上可以在左右分栏和合并
|
|
403
403
|
显示之间切换,并记住你的选择,手机上固定合并显示。手机上源码、预览和差异的右侧会一直
|
|
404
|
-
|
|
404
|
+
显示滚动条,标示当前位置;预览和差异的滚动条可以直接拖动,源码请上下滑动内容。
|
|
405
405
|
新文件没有旧版本,直接显示内容。差异沿用上面的文本大小限制;二进制、过大、符号链接或只
|
|
406
406
|
改了权限的文件只提示改动类型。
|
|
407
407
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|