netizen-cli 0.18.1__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.1/netizen_cli.egg-info → netizen_cli-0.18.3}/PKG-INFO +1 -1
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/__init__.py +1 -1
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/content-preview.css +30 -4
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/file-browser.js +334 -25
- {netizen_cli-0.18.1 → netizen_cli-0.18.3/netizen_cli.egg-info}/PKG-INFO +1 -1
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/pyproject.toml +1 -1
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/admin.md +4 -2
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/MANIFEST.in +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/README.md +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/_build.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/config.example.yaml +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/__main__.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/account_rate_limits.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/__init__.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/answer_previews.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/auth.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/credentials.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/errors.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/feishu.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/file_previews.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/login.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/port_config.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/presentation.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/queries.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/admin-ui.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/admin.css +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/admin.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/attachment-files.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/chat-picker.css +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/chat-picker.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/config-editor.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/content-preview.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/group-access.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/identity.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/index.html +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/login.html +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/login.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/netizen.svg +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/progress-card.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/project-files.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/question-notifications.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/session-access.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/vendor/ace/LICENSE +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/vendor/ace/README.md +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/vendor/ace/ace.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/vendor/ace/ext-diff.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/vendor/ace/mode-javascript.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/vendor/ace/mode-json.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/vendor/ace/mode-markdown.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/vendor/ace/mode-python.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/worktrees.js +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/transport.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/users.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/web.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/attachments.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/bindings.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/builtin_skills.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cards/__init__.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cards/callbacks.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cards/chat_target.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cards/controls.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cards/defaults.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cards/fork.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cards/pagination.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cards/questions.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cards/reply.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cards/scheduled.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cards/session_ids.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cards/status.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cards/usage.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cards/workspace.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/__init__.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/app_values.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/base.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/card_controls.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/commands.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/completion_mentions.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/constants.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/entry.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/forks.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/input_preparation.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/messages.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/ports.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/presentation.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/prompts.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/question_inputs.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/questions.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/reactions.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/replies.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/reply_presenter.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/reply_suppression.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/schedules.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/session_cards.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/session_pages.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/session_tools.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/sides.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/topics.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel/turn_files.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/channel_app.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/chat_access.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/chat_avatars.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/chat_targets.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cli.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cli_data.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cli_packages.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cli_services.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cli_setup.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cli_update.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cli_update_restore.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/cli_update_worker.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/codex_runtime.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/completion_mention.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/database_migrations.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/defaults/__init__.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/defaults/models.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/defaults/service.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/defaults/store.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/deployment/__init__.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/deployment/restart_worker.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/deployment/update_executor.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/deployment/update_protocol.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/domain.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/error_messages.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/experience.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/feishu_app_onboarding.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/feishu_app_permissions.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/feishu_links.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/file_inputs.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/git_status.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/group_access.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/image_inputs.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/instance.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/lark_app.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/main.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/management/__init__.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/management/attachment_files.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/management/blocking_io.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/management/chat_directory.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/management/chat_labels.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/management/coordination.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/management/project_files.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/management/service.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/management/updates.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/markdown_images.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/mcp_transport.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/message_content.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/message_history.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/message_preparation.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/message_projection.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/migrations/__init__.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/migrations/schema.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/migrations/v14.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/migrations/v15.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/migrations/v16.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/migrations/v17.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/migrations/v18.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/migrations/v19.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/migrations/v20.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/migrations/v21.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/model_settings.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/package_resources.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/pagination.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/partial_answers.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/progress_card_config.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/progress_card_settings.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/project_files.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/projects.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/prompt_projection.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/question_notifications.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/quoted_context.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/result_images.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/__init__.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/activity.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/compaction.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/contracts.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/forks.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/goals.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/lifecycle.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/limits.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/name_writes.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/naming.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/native_values.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/observation.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/occupancy.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/queries.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/shutdown.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/sides.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/state.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/submission.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/subscriptions.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/thread_naming.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/runtime/turn_control.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/schedules/__init__.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/schedules/mcp.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/schedules/models.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/schedules/scheduler.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/schedules/service.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/schedules/store.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/sdk_gap_adapter.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/service_launcher.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/session_inventory.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/session_settings.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/sessions/__init__.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/sessions/delegation.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/sessions/errors.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/sessions/mcp.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/sessions/policy.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/sessions/presentation.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/sessions/schema.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/sessions/service.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/sessions/sources.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/settings.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/skill_references.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/task_text.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/terminal_cleanup.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/thread_history.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/turn_activity.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/turn_files.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/turn_patch_children.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/turn_plan_observer.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/user_questions.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/worktrees/errors.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/worktrees/git.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/worktrees/models.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/worktrees/policy.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/worktrees/service.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/worktrees/settings.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/worktrees/store.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/worktrees/viewer.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli.egg-info/SOURCES.txt +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli.egg-info/dependency_links.txt +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli.egg-info/entry_points.txt +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli.egg-info/requires.txt +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli.egg-info/top_level.txt +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/setup.cfg +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/skills/netizen-lark/SKILL.md +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/skills/netizen-runtime-guidance/SKILL.md +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/skills/netizen-user-guide/SKILL.md +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/commands.md +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/concepts.md +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/faq.md +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/feedback-and-files.md +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/fork-side-goal.md +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/messages.md +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/native-capabilities.md +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/scheduled-tasks.md +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/session-collaboration.md +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/sessions.md +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/status-and-control.md +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/skills/netizen-user-guide/references/user-guide.md +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_account_rate_limits.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_admin_update_executor_probe.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_attachments.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_binding_scheduled_channel.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_bindings.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_card_error_feedback.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_cards.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_channel_app.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_channel_fixtures.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_channel_input_preparation.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_chat_avatars.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_chat_target_cards.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_check_sdk.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_cli.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_cli_data.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_cli_distribution.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_cli_integration.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_cli_packages.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_cli_packaging.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_cli_services.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_cli_setup.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_cli_update.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_codex_runtime.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_codex_sdk_capabilities.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_codex_sdk_upgrade_0161.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_codex_sdk_upgrade_0163.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_codex_sdk_upgrade_0167.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_completion_mention_cards.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_completion_mentions.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_completion_topic_delivery.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_configuration_publication.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_cron_chat_targets.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_database_migrations.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_defaults_cards.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_defaults_channel.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_defaults_runtime.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_defaults_worktree_channel.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_deployment.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_diff_codex_sdk.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_documentation_links.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_domain_experience.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_error_messages.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_feishu_app_onboarding.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_feishu_app_permissions.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_file_input_channel.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_file_inputs.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_file_pagination.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_fork_cards.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_git_status.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_goal_reply_separation.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_group_access.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_image_inputs.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_lark_app.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_lark_sdk_contract.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_latest_answer.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_main.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_markdown_images.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_message_content.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_message_history.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_message_material_inputs.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_message_preparation.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_migration_schema_validation.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_model_settings.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_name_writes.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_optional_progress_card_settings_migration.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_pagination.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_partial_answer_delivery.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_partial_answers.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_persistent_fork_bindings.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_persistent_fork_channel.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_persistent_fork_runtime.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_probe_child_files.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_probe_feishu_completion_mention.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_probe_feishu_partial_answers.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_probe_feishu_turn_file_card.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_probe_persistent_fork.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_probe_python_sdk.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_probe_scheduled_tasks.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_probe_sdk_completion_race.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_probe_sdk_response_recovery.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_probe_skill_execution.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_probe_thread_naming.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_progress_card_config.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_progress_card_entrypoints.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_progress_card_presentation.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_progress_card_settings_migration.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_project_delete_channel.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_project_delete_runtime.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_project_deletion_storage.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_project_files.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_prompt_projection.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_query_indexes_migration.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_question_cards.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_question_channel.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_question_notification_config.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_question_target_parity.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_quoted_context.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_release_script.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_rename_name_channel.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_reply_suppression.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_repository_hygiene.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_result_images.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_resume_channel.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_retired_deployment.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_runtime_resume_activation.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_runtime_thread_naming.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_schedule_auto_archive_migration.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_schedule_card_retry.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_schedule_cards.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_schedule_mcp.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_schedule_run_now.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_schedule_scope_matrix.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_schedule_service.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_schedule_trigger_cards.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_schedule_workspace_cards.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_schedule_workspace_migration.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_schedule_workspace_service.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_schedule_workspace_storage.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_scheduled_auto_archive.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_scheduled_channel.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_scheduled_runtime.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_scheduled_worktrees.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_scheduler.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_scheduler_presenter.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_schedules_storage.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_sdk_gap_adapter.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_service_launcher.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_session_card_pages.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_session_collaboration_app.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_session_defaults.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_session_defaults_migration.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_session_external_runtime.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_session_id_cards.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_session_policy.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_session_settings.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_session_tools.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_settings_projects.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_sqlite_query_readers.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_status_cards.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_status_commands.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_suppress_reply.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_task_text.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_terminal_cleanup.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_thread_history.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_thread_naming.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_turn_activity.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_turn_files.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_turn_patch_children.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_turn_patch_statistics.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_turn_plan_observer.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_update_executor.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_upgrade_regression.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_usage_card.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_usage_control.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_user_guide_skill.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_user_questions.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_worktree_channel_cwd.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_worktree_git.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_worktree_new.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_worktree_runtime_cwd.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_worktree_service.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_worktree_settings.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_worktree_storage.py +0 -0
- {netizen_cli-0.18.1 → netizen_cli-0.18.3}/tests/test_worktree_tools_integration.py +0 -0
|
@@ -1,8 +1,30 @@
|
|
|
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 .
|
|
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; }
|
|
17
|
+
.file-browser-scroll-host { position: relative; }
|
|
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); }
|
|
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; }
|
|
20
|
+
.file-browser-scrollbar-thumb:active { background: var(--ink); cursor: grabbing; }
|
|
21
|
+
@media (pointer: coarse) {
|
|
22
|
+
.file-browser-diff { padding-right: 16px; }
|
|
23
|
+
.file-browser-editor.ace_editor > .ace_sb-v { background: var(--line); }
|
|
24
|
+
.file-browser-editor.ace_editor > .ace_sb-v > div { background: var(--muted); border-color: var(--muted); }
|
|
25
|
+
.file-browser-editor.ace_editor > .ace_sb-v > div:hover,
|
|
26
|
+
.file-browser-editor.ace_editor > .ace_sb-v > div:active { background: var(--ink); border-color: var(--ink); }
|
|
27
|
+
}
|
|
6
28
|
.file-browser-badge { font-size: 10px; color: var(--blue); }
|
|
7
29
|
.file-browser-entry.file-browser-ignored { opacity: .55; }
|
|
8
30
|
.file-browser-changes-tools { padding: 0 10px 10px; font-size: 12px; }
|
|
@@ -196,3 +218,7 @@ body.file-browser-open, body.session-answer-open { overflow: hidden; }
|
|
|
196
218
|
|
|
197
219
|
.file-browser-drawer #file-browser-delete { border-color: var(--danger-line); }
|
|
198
220
|
.file-browser-drawer #file-browser-delete:hover:not(:disabled) { background: var(--danger-soft); }
|
|
221
|
+
.file-browser-drawer .file-browser-diff-gap button { min-height: 36px; white-space: normal; }
|
|
222
|
+
@media (max-width: 720px) {
|
|
223
|
+
.file-browser-drawer .file-browser-diff-gap button { min-height: 44px; }
|
|
224
|
+
}
|
|
@@ -8,16 +8,76 @@ window.NetizenFileBrowser = {
|
|
|
8
8
|
: dependencies.container.querySelector(`#file-browser-${name}`);
|
|
9
9
|
const modes = new Set(["python", "json", "javascript", "markdown", "text"]);
|
|
10
10
|
const compact = window.matchMedia("(max-width: 720px)");
|
|
11
|
+
const coarse = window.matchMedia("(pointer: coarse)");
|
|
12
|
+
const previewScrollbars = [];
|
|
13
|
+
let previewObserver = null;
|
|
11
14
|
let current = null;
|
|
12
15
|
let aceLoading = null;
|
|
13
16
|
let diffLoading = null;
|
|
14
17
|
const DIFF_LAYOUT_KEY = "netizen-file-diff-layout";
|
|
18
|
+
const CONTEXT = 3, STEP = 20, MAX_CHAR_RANGES = 200;
|
|
15
19
|
function diffLayout() {
|
|
16
20
|
try { return window.localStorage.getItem(DIFF_LAYOUT_KEY) === "unified" ? "unified" : "split"; }
|
|
17
21
|
catch (_) { return "split"; }
|
|
18
22
|
}
|
|
19
23
|
|
|
20
24
|
function active(view) { return current === view && !dependencies.isExpired(); }
|
|
25
|
+
function updatePreviewScrollbars() {
|
|
26
|
+
for (const scrollbar of previewScrollbars) scrollbar.update();
|
|
27
|
+
}
|
|
28
|
+
function watchPreviewScrollbars() {
|
|
29
|
+
if (!coarse.matches) { updatePreviewScrollbars(); return; }
|
|
30
|
+
if (!previewScrollbars.length) {
|
|
31
|
+
for (const name of ["markdown", "image-wrap", "diff"]) {
|
|
32
|
+
const content = node(name), host = content.parentElement;
|
|
33
|
+
host.classList.toggle("file-browser-scroll-host", true);
|
|
34
|
+
const track = document.createElement("div"), thumb = document.createElement("div");
|
|
35
|
+
track.className = "file-browser-scrollbar";
|
|
36
|
+
track.dataset.preview = name;
|
|
37
|
+
track.setAttribute("aria-hidden", "true");
|
|
38
|
+
thumb.className = "file-browser-scrollbar-thumb";
|
|
39
|
+
track.append(thumb); host.append(track);
|
|
40
|
+
let drag = null, travel = 0, range = 0;
|
|
41
|
+
const endDrag = (event) => {
|
|
42
|
+
if (!drag || event && event.pointerId !== drag.id) return;
|
|
43
|
+
const id = drag.id; drag = null;
|
|
44
|
+
if (thumb.hasPointerCapture(id)) thumb.releasePointerCapture(id);
|
|
45
|
+
};
|
|
46
|
+
const update = () => {
|
|
47
|
+
range = content.scrollHeight - content.clientHeight;
|
|
48
|
+
track.hidden = !current || !coarse.matches || content.hidden || content.clientHeight <= 0 || !(range > 0);
|
|
49
|
+
if (track.hidden) { endDrag(); return; }
|
|
50
|
+
const rect = content.getBoundingClientRect(), parent = host.getBoundingClientRect();
|
|
51
|
+
const height = Math.max(0, content.clientHeight - 8);
|
|
52
|
+
const size = Math.min(height, Math.max(24, height * content.clientHeight / content.scrollHeight));
|
|
53
|
+
travel = height - size;
|
|
54
|
+
track.style.setProperty("--scrollbar-top", `${rect.top - parent.top + 4}px`);
|
|
55
|
+
track.style.setProperty("--scrollbar-right", `${parent.right - rect.right + 2}px`);
|
|
56
|
+
track.style.setProperty("--scrollbar-height", `${height}px`);
|
|
57
|
+
thumb.style.setProperty("--scrollbar-thumb-height", `${size}px`);
|
|
58
|
+
thumb.style.setProperty("--scrollbar-thumb-y", `${Math.max(0, Math.min(1, content.scrollTop / range)) * travel}px`);
|
|
59
|
+
};
|
|
60
|
+
thumb.addEventListener("pointerdown", (event) => {
|
|
61
|
+
if (event.button !== 0 || track.hidden || travel <= 0) return;
|
|
62
|
+
event.preventDefault();
|
|
63
|
+
drag = { id: event.pointerId, y: event.clientY, top: content.scrollTop, ratio: range / travel };
|
|
64
|
+
thumb.setPointerCapture(event.pointerId);
|
|
65
|
+
});
|
|
66
|
+
thumb.addEventListener("pointermove", (event) => {
|
|
67
|
+
if (!drag || event.pointerId !== drag.id) return;
|
|
68
|
+
content.scrollTop = Math.max(0, Math.min(range, drag.top + (event.clientY - drag.y) * drag.ratio));
|
|
69
|
+
update();
|
|
70
|
+
});
|
|
71
|
+
for (const event of ["pointerup", "pointercancel", "lostpointercapture"]) thumb.addEventListener(event, endDrag);
|
|
72
|
+
content.addEventListener("scroll", update, { passive: true });
|
|
73
|
+
content.addEventListener("load", update, true);
|
|
74
|
+
previewScrollbars.push({ content, update });
|
|
75
|
+
}
|
|
76
|
+
if (window.ResizeObserver) previewObserver = new window.ResizeObserver(updatePreviewScrollbars);
|
|
77
|
+
}
|
|
78
|
+
if (current) for (const scrollbar of previewScrollbars) previewObserver?.observe(scrollbar.content);
|
|
79
|
+
updatePreviewScrollbars();
|
|
80
|
+
}
|
|
21
81
|
function renderLayout(view) {
|
|
22
82
|
node("drawer").dataset.screen = view.screen;
|
|
23
83
|
const reading = compact.matches && view.screen === "file";
|
|
@@ -71,6 +131,7 @@ window.NetizenFileBrowser = {
|
|
|
71
131
|
stop(view, "diff");
|
|
72
132
|
destroyDiff(view);
|
|
73
133
|
view.diff = null;
|
|
134
|
+
view.diffModel = null;
|
|
74
135
|
view.mode = "source";
|
|
75
136
|
view.modeSequence = (view.modeSequence || 0) + 1;
|
|
76
137
|
view.filePending = view.diffPending = null;
|
|
@@ -98,6 +159,7 @@ window.NetizenFileBrowser = {
|
|
|
98
159
|
note("note", "");
|
|
99
160
|
renderActions(view);
|
|
100
161
|
renderLayout(view);
|
|
162
|
+
updatePreviewScrollbars();
|
|
101
163
|
}
|
|
102
164
|
function clearRoot(view) {
|
|
103
165
|
for (const slot of Object.keys(view.requests)) if (slot !== "roots") stop(view, slot);
|
|
@@ -135,6 +197,7 @@ window.NetizenFileBrowser = {
|
|
|
135
197
|
const view = current;
|
|
136
198
|
if (!view) return;
|
|
137
199
|
current = null;
|
|
200
|
+
previewObserver?.disconnect();
|
|
138
201
|
stopAll(view);
|
|
139
202
|
clearFile(view);
|
|
140
203
|
node("actions").hidden = true;
|
|
@@ -697,13 +760,226 @@ window.NetizenFileBrowser = {
|
|
|
697
760
|
}
|
|
698
761
|
return aceLoading;
|
|
699
762
|
}
|
|
763
|
+
// Gaps and changed chunks use half-open ranges in the rendered row sequence.
|
|
764
|
+
function diffGaps(chunks, rows) {
|
|
765
|
+
if (!chunks?.length) return [];
|
|
766
|
+
const gaps = [];
|
|
767
|
+
let start = 0;
|
|
768
|
+
for (const chunk of chunks) {
|
|
769
|
+
const end = Math.max(0, chunk.new.start.row - CONTEXT);
|
|
770
|
+
if (end - start >= 2) gaps.push({ start, end });
|
|
771
|
+
start = Math.max(start, chunk.new.end.row + CONTEXT);
|
|
772
|
+
}
|
|
773
|
+
if (rows - start >= 2) gaps.push({ start, end: rows });
|
|
774
|
+
return gaps;
|
|
775
|
+
}
|
|
776
|
+
function shrinkDiffGap({ start, end }, direction) {
|
|
777
|
+
if (direction === "all") return null;
|
|
778
|
+
if (direction === "down") start += STEP;
|
|
779
|
+
else end -= STEP;
|
|
780
|
+
return end - start >= 2 ? { start, end } : null;
|
|
781
|
+
}
|
|
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;
|
|
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;
|
|
793
|
+
}
|
|
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;
|
|
909
|
+
}
|
|
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);
|
|
916
|
+
const count = gap.end - gap.start;
|
|
917
|
+
const label = document.createElement("span");
|
|
918
|
+
label.textContent = `${count} 行未改动`;
|
|
919
|
+
element.append(label);
|
|
920
|
+
const action = (label, direction) => {
|
|
921
|
+
const item = document.createElement("button");
|
|
922
|
+
item.type = "button";
|
|
923
|
+
item.textContent = label;
|
|
924
|
+
item.dataset.direction = direction;
|
|
925
|
+
element.append(item);
|
|
926
|
+
};
|
|
927
|
+
if (count > STEP) {
|
|
928
|
+
if (gap.start > 0) action(`↓ 展开 ${STEP} 行`, "down");
|
|
929
|
+
if (gap.end < view.diffRows.length) action(`↑ 展开 ${STEP} 行`, "up");
|
|
930
|
+
}
|
|
931
|
+
action(`展开全部 ${count} 行`, "all");
|
|
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 }); }
|
|
951
|
+
}
|
|
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;
|
|
966
|
+
}
|
|
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();
|
|
972
|
+
}
|
|
700
973
|
function destroyDiff(view) {
|
|
701
974
|
view.diffRender = (view.diffRender || 0) + 1;
|
|
702
|
-
view.
|
|
703
|
-
view.
|
|
975
|
+
view.diffDispose?.();
|
|
976
|
+
view.diffDispose = null;
|
|
977
|
+
view.diffRows = null;
|
|
978
|
+
view.diffGaps = null;
|
|
704
979
|
node("diff").replaceChildren();
|
|
705
980
|
node("diff").hidden = true;
|
|
706
981
|
node("diff-layout").hidden = node("diff-fold").hidden = true;
|
|
982
|
+
updatePreviewScrollbars();
|
|
707
983
|
}
|
|
708
984
|
async function ensureDiff() {
|
|
709
985
|
const ace = await ensureAce();
|
|
@@ -735,8 +1011,8 @@ window.NetizenFileBrowser = {
|
|
|
735
1011
|
for (const [id, mode] of [["source", "source"], ["preview", "preview"], ["difference", "diff"]]) {
|
|
736
1012
|
node(id).setAttribute("aria-pressed", String(view.mode === mode));
|
|
737
1013
|
}
|
|
738
|
-
node("diff-layout").hidden = view.mode !== "diff" || compact.matches || !view.
|
|
739
|
-
node("diff-fold").hidden = !view.
|
|
1014
|
+
node("diff-layout").hidden = view.mode !== "diff" || compact.matches || !view.diffRows;
|
|
1015
|
+
node("diff-fold").hidden = !view.diffRows;
|
|
740
1016
|
node("split").setAttribute("aria-pressed", String(view.diffLayout === "split"));
|
|
741
1017
|
node("unified").setAttribute("aria-pressed", String(view.diffLayout === "unified"));
|
|
742
1018
|
}
|
|
@@ -765,22 +1041,45 @@ window.NetizenFileBrowser = {
|
|
|
765
1041
|
if (!active(view) || view.diff !== data || view.diffRender !== sequence || view.mode !== "diff") return;
|
|
766
1042
|
const ace = window.ace;
|
|
767
1043
|
for (const key of ["basePath", "modePath", "themePath", "workerPath"]) ace.config.set(key, "/static/vendor/ace");
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
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") };
|
|
776
1069
|
}
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
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;
|
|
1079
|
+
foldDiff(view, true);
|
|
1080
|
+
const expand = (event) => expandDiffGap(view, event);
|
|
1081
|
+
area.addEventListener("click", expand);
|
|
1082
|
+
view.diffDispose = () => area.removeEventListener("click", expand);
|
|
784
1083
|
renderModes(view);
|
|
785
1084
|
} catch (error) {
|
|
786
1085
|
if (active(view) && view.diff === data && view.diffRender === sequence) note("note", error.message, true);
|
|
@@ -863,6 +1162,7 @@ window.NetizenFileBrowser = {
|
|
|
863
1162
|
destroyEditor(view);
|
|
864
1163
|
destroyDiff(view);
|
|
865
1164
|
node("markdown").hidden = node("image-wrap").hidden = node("tools").hidden = true;
|
|
1165
|
+
updatePreviewScrollbars();
|
|
866
1166
|
renderModes(view);
|
|
867
1167
|
diffNote(view);
|
|
868
1168
|
note("note", "正在读取文件…");
|
|
@@ -905,7 +1205,8 @@ window.NetizenFileBrowser = {
|
|
|
905
1205
|
const editor = view.editor = ace.edit(node("editor"));
|
|
906
1206
|
editor.session.setUseWorker(false);
|
|
907
1207
|
editor.setReadOnly(true);
|
|
908
|
-
editor.setOptions({ showPrintMargin: false, fontSize: 13, highlightActiveLine: false, showLineNumbers: true
|
|
1208
|
+
editor.setOptions({ showPrintMargin: false, fontSize: 13, highlightActiveLine: false, showLineNumbers: true,
|
|
1209
|
+
...(coarse.matches ? { customScrollbar: true } : {}) });
|
|
909
1210
|
editor.session.setMode(`ace/mode/${modes.has(data.language) ? data.language : "text"}`);
|
|
910
1211
|
editor.session.setUseWrapMode(view.wrap);
|
|
911
1212
|
editor.setValue(data.text, -1);
|
|
@@ -914,6 +1215,8 @@ window.NetizenFileBrowser = {
|
|
|
914
1215
|
node("wrap").setAttribute("aria-pressed", String(view.wrap));
|
|
915
1216
|
} catch (error) {
|
|
916
1217
|
if (isCurrent()) note("note", error.message, true);
|
|
1218
|
+
} finally {
|
|
1219
|
+
updatePreviewScrollbars();
|
|
917
1220
|
}
|
|
918
1221
|
}
|
|
919
1222
|
async function imageFailed(view, file) {
|
|
@@ -1016,6 +1319,7 @@ window.NetizenFileBrowser = {
|
|
|
1016
1319
|
node("root").value = provider.rootId;
|
|
1017
1320
|
node("more-roots").hidden = true;
|
|
1018
1321
|
node("drawer").showModal();
|
|
1322
|
+
watchPreviewScrollbars();
|
|
1019
1323
|
document.body.classList.toggle("file-browser-open", true);
|
|
1020
1324
|
node(provider.roots ? "root" : "filter").focus();
|
|
1021
1325
|
await Promise.all([chooseRoot(view), moreRoots(view)]);
|
|
@@ -1065,10 +1369,8 @@ window.NetizenFileBrowser = {
|
|
|
1065
1369
|
return renderDiff(current);
|
|
1066
1370
|
});
|
|
1067
1371
|
node("diff-fold").addEventListener("click", () => {
|
|
1068
|
-
if (!current?.
|
|
1069
|
-
current
|
|
1070
|
-
current.diffFolded = !current.diffFolded;
|
|
1071
|
-
node("diff-fold").textContent = current.diffFolded ? "展开全部" : "折叠未改动";
|
|
1372
|
+
if (!current?.diffRows) return;
|
|
1373
|
+
foldDiff(current, !current.diffFolded);
|
|
1072
1374
|
});
|
|
1073
1375
|
node("close").addEventListener("click", close);
|
|
1074
1376
|
node("back").addEventListener("click", () => current && back(current));
|
|
@@ -1120,7 +1422,14 @@ window.NetizenFileBrowser = {
|
|
|
1120
1422
|
const parent = path.includes("/") ? path.slice(0, path.lastIndexOf("/")) : "";
|
|
1121
1423
|
return directory(current, parent, path);
|
|
1122
1424
|
});
|
|
1123
|
-
window.addEventListener("resize", () => {
|
|
1425
|
+
window.addEventListener("resize", () => {
|
|
1426
|
+
current?.editor?.resize();
|
|
1427
|
+
updatePreviewScrollbars();
|
|
1428
|
+
});
|
|
1429
|
+
coarse.addEventListener("change", () => {
|
|
1430
|
+
current?.editor?.setOptions({ customScrollbar: coarse.matches });
|
|
1431
|
+
if (current) watchPreviewScrollbars();
|
|
1432
|
+
});
|
|
1124
1433
|
compact.addEventListener("change", () => {
|
|
1125
1434
|
if (!current) return;
|
|
1126
1435
|
current.filter = "";
|
|
@@ -398,8 +398,10 @@ Project 页每行的“删除…”打开删除确认弹窗。确认范围包含
|
|
|
398
398
|
可以和开关同时使用。
|
|
399
399
|
|
|
400
400
|
文件打开后可以在源码、预览(Markdown)和差异之间切换。开关打开时,修改或删除的文件默认
|
|
401
|
-
|
|
402
|
-
|
|
401
|
+
显示差异,否则默认显示源码。差异默认只显示改动和前后 3 行,折叠处有一行按钮,可以向下或向上
|
|
402
|
+
展开 20 行,或展开这一段全部;工具栏的“展开全部”会展开整个文件。电脑上可以在左右分栏和合并
|
|
403
|
+
显示之间切换,并记住你的选择,手机上固定合并显示。手机上源码、预览和差异的右侧会一直
|
|
404
|
+
显示滚动条,标示当前位置;预览和差异的滚动条可以直接拖动,源码请上下滑动内容。
|
|
403
405
|
新文件没有旧版本,直接显示内容。差异沿用上面的文本大小限制;二进制、过大、符号链接或只
|
|
404
406
|
改了权限的文件只提示改动类型。
|
|
405
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
|
|
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
|
{netizen_cli-0.18.1 → netizen_cli-0.18.3}/netizen_cli/admin/static/question-notifications.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|