netizen-cli 0.17.0__tar.gz → 0.18.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {netizen_cli-0.17.0/netizen_cli.egg-info → netizen_cli-0.18.0}/PKG-INFO +1 -1
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/__init__.py +1 -1
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/admin.css +10 -2
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/admin.js +76 -6
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/content-preview.css +9 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/file-browser.js +203 -3
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/index.html +24 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/project-files.js +1 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/vendor/ace/README.md +2 -1
- netizen_cli-0.18.0/netizen_cli/admin/static/vendor/ace/ext-diff.js +8 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/web.py +14 -7
- netizen_cli-0.18.0/netizen_cli/management/project_files.py +217 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/project_files.py +22 -6
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/lifecycle.py +10 -14
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/worktrees/git.py +51 -16
- netizen_cli-0.18.0/netizen_cli/worktrees/viewer.py +185 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0/netizen_cli.egg-info}/PKG-INFO +1 -1
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli.egg-info/SOURCES.txt +2 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/pyproject.toml +1 -1
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/skills/netizen-user-guide/references/admin.md +21 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/skills/netizen-user-guide/references/faq.md +3 -1
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_cli_packaging.py +1 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_codex_runtime.py +294 -11
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_upgrade_regression.py +10 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_worktree_git.py +213 -0
- netizen_cli-0.17.0/netizen_cli/management/project_files.py +0 -118
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/MANIFEST.in +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/README.md +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/_build.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/config.example.yaml +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/__main__.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/account_rate_limits.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/__init__.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/answer_previews.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/auth.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/credentials.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/errors.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/feishu.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/file_previews.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/login.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/port_config.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/presentation.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/queries.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/admin-ui.js +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/attachment-files.js +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/chat-picker.css +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/chat-picker.js +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/config-editor.js +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/content-preview.js +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/group-access.js +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/identity.js +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/login.html +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/login.js +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/netizen.svg +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/progress-card.js +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/question-notifications.js +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/session-access.js +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/vendor/ace/LICENSE +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/vendor/ace/ace.js +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/vendor/ace/mode-javascript.js +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/vendor/ace/mode-json.js +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/vendor/ace/mode-markdown.js +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/vendor/ace/mode-python.js +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/static/worktrees.js +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/transport.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/admin/users.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/attachments.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/bindings.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/builtin_skills.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cards/__init__.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cards/callbacks.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cards/chat_target.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cards/controls.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cards/defaults.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cards/fork.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cards/pagination.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cards/questions.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cards/reply.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cards/scheduled.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cards/session_ids.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cards/status.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cards/usage.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cards/workspace.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/__init__.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/app_values.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/base.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/card_controls.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/commands.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/completion_mentions.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/constants.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/entry.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/forks.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/input_preparation.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/messages.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/ports.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/presentation.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/prompts.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/question_inputs.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/questions.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/reactions.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/replies.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/reply_presenter.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/reply_suppression.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/schedules.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/session_cards.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/session_pages.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/session_tools.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/sides.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/topics.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel/turn_files.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/channel_app.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/chat_access.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/chat_avatars.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/chat_targets.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cli.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cli_data.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cli_packages.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cli_services.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cli_setup.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cli_update.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cli_update_restore.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/cli_update_worker.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/codex_runtime.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/completion_mention.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/database_migrations.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/defaults/__init__.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/defaults/models.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/defaults/service.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/defaults/store.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/deployment/__init__.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/deployment/restart_worker.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/deployment/update_executor.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/deployment/update_protocol.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/domain.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/error_messages.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/experience.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/feishu_app_onboarding.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/feishu_app_permissions.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/feishu_links.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/file_inputs.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/git_status.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/group_access.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/image_inputs.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/instance.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/lark_app.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/main.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/management/__init__.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/management/attachment_files.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/management/blocking_io.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/management/chat_directory.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/management/chat_labels.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/management/coordination.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/management/service.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/management/updates.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/markdown_images.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/mcp_transport.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/message_content.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/message_history.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/message_preparation.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/message_projection.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/migrations/__init__.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/migrations/schema.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/migrations/v14.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/migrations/v15.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/migrations/v16.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/migrations/v17.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/migrations/v18.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/migrations/v19.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/migrations/v20.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/migrations/v21.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/model_settings.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/package_resources.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/pagination.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/partial_answers.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/progress_card_config.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/progress_card_settings.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/projects.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/prompt_projection.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/question_notifications.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/quoted_context.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/result_images.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/__init__.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/activity.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/compaction.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/contracts.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/forks.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/goals.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/limits.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/name_writes.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/naming.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/native_values.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/observation.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/occupancy.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/queries.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/shutdown.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/sides.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/state.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/submission.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/subscriptions.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/thread_naming.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/runtime/turn_control.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/schedules/__init__.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/schedules/mcp.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/schedules/models.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/schedules/scheduler.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/schedules/service.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/schedules/store.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/sdk_gap_adapter.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/service_launcher.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/session_inventory.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/session_settings.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/sessions/__init__.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/sessions/delegation.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/sessions/errors.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/sessions/mcp.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/sessions/policy.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/sessions/presentation.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/sessions/schema.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/sessions/service.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/sessions/sources.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/settings.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/skill_references.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/task_text.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/terminal_cleanup.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/thread_history.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/turn_activity.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/turn_files.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/turn_patch_children.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/turn_plan_observer.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/user_questions.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/worktrees/errors.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/worktrees/models.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/worktrees/policy.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/worktrees/service.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/worktrees/settings.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli/worktrees/store.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli.egg-info/dependency_links.txt +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli.egg-info/entry_points.txt +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli.egg-info/requires.txt +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/netizen_cli.egg-info/top_level.txt +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/setup.cfg +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/skills/netizen-lark/SKILL.md +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/skills/netizen-runtime-guidance/SKILL.md +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/skills/netizen-user-guide/SKILL.md +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/skills/netizen-user-guide/references/commands.md +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/skills/netizen-user-guide/references/concepts.md +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/skills/netizen-user-guide/references/feedback-and-files.md +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/skills/netizen-user-guide/references/fork-side-goal.md +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/skills/netizen-user-guide/references/messages.md +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/skills/netizen-user-guide/references/native-capabilities.md +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/skills/netizen-user-guide/references/scheduled-tasks.md +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/skills/netizen-user-guide/references/session-collaboration.md +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/skills/netizen-user-guide/references/sessions.md +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/skills/netizen-user-guide/references/status-and-control.md +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/skills/netizen-user-guide/references/user-guide.md +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_account_rate_limits.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_admin_update_executor_probe.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_attachments.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_binding_scheduled_channel.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_bindings.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_card_error_feedback.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_cards.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_channel_app.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_channel_fixtures.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_channel_input_preparation.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_chat_avatars.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_chat_target_cards.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_check_sdk.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_cli.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_cli_data.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_cli_distribution.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_cli_integration.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_cli_packages.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_cli_services.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_cli_setup.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_cli_update.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_codex_sdk_capabilities.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_codex_sdk_upgrade_0161.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_codex_sdk_upgrade_0163.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_codex_sdk_upgrade_0167.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_completion_mention_cards.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_completion_mentions.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_completion_topic_delivery.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_configuration_publication.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_cron_chat_targets.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_database_migrations.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_defaults_cards.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_defaults_channel.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_defaults_runtime.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_defaults_worktree_channel.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_deployment.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_diff_codex_sdk.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_documentation_links.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_domain_experience.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_error_messages.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_feishu_app_onboarding.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_feishu_app_permissions.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_file_input_channel.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_file_inputs.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_file_pagination.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_fork_cards.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_git_status.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_goal_reply_separation.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_group_access.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_image_inputs.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_lark_app.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_lark_sdk_contract.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_latest_answer.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_main.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_markdown_images.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_message_content.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_message_history.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_message_material_inputs.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_message_preparation.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_migration_schema_validation.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_model_settings.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_name_writes.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_optional_progress_card_settings_migration.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_pagination.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_partial_answer_delivery.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_partial_answers.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_persistent_fork_bindings.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_persistent_fork_channel.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_persistent_fork_runtime.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_probe_child_files.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_probe_feishu_completion_mention.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_probe_feishu_partial_answers.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_probe_feishu_turn_file_card.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_probe_persistent_fork.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_probe_python_sdk.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_probe_scheduled_tasks.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_probe_sdk_completion_race.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_probe_sdk_response_recovery.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_probe_skill_execution.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_probe_thread_naming.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_progress_card_config.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_progress_card_entrypoints.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_progress_card_presentation.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_progress_card_settings_migration.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_project_delete_channel.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_project_delete_runtime.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_project_deletion_storage.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_project_files.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_prompt_projection.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_query_indexes_migration.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_question_cards.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_question_channel.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_question_notification_config.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_question_target_parity.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_quoted_context.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_release_script.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_rename_name_channel.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_reply_suppression.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_repository_hygiene.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_result_images.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_resume_channel.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_retired_deployment.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_runtime_resume_activation.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_runtime_thread_naming.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_schedule_auto_archive_migration.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_schedule_card_retry.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_schedule_cards.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_schedule_mcp.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_schedule_run_now.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_schedule_scope_matrix.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_schedule_service.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_schedule_trigger_cards.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_schedule_workspace_cards.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_schedule_workspace_migration.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_schedule_workspace_service.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_schedule_workspace_storage.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_scheduled_auto_archive.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_scheduled_channel.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_scheduled_runtime.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_scheduled_worktrees.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_scheduler.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_scheduler_presenter.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_schedules_storage.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_sdk_gap_adapter.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_service_launcher.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_session_card_pages.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_session_collaboration_app.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_session_defaults.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_session_defaults_migration.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_session_external_runtime.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_session_id_cards.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_session_policy.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_session_settings.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_session_tools.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_settings_projects.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_sqlite_query_readers.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_status_cards.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_status_commands.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_suppress_reply.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_task_text.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_terminal_cleanup.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_thread_history.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_thread_naming.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_turn_activity.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_turn_files.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_turn_patch_children.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_turn_patch_statistics.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_turn_plan_observer.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_update_executor.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_usage_card.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_usage_control.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_user_guide_skill.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_user_questions.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_worktree_channel_cwd.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_worktree_new.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_worktree_runtime_cwd.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_worktree_service.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_worktree_settings.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_worktree_storage.py +0 -0
- {netizen_cli-0.17.0 → netizen_cli-0.18.0}/tests/test_worktree_tools_integration.py +0 -0
|
@@ -198,7 +198,13 @@ tr:last-child td { border-bottom: 0; }
|
|
|
198
198
|
.chat-link { color: var(--blue); font-weight: 700; text-decoration: none; }
|
|
199
199
|
.chat-link:hover { text-decoration: underline; }
|
|
200
200
|
.meta-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
|
|
201
|
-
.preview { max-width: 380px; margin-top: 4px;
|
|
201
|
+
.session-preview { max-width: 380px; margin-top: 4px; }
|
|
202
|
+
.preview { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; color: var(--muted); line-height: 1.4; overflow-wrap: anywhere; }
|
|
203
|
+
.session-preview[data-expandable] .preview { cursor: pointer; }
|
|
204
|
+
.session-preview[data-expanded] .preview { display: block; -webkit-line-clamp: none; line-clamp: none; overflow: visible; cursor: pointer; }
|
|
205
|
+
.preview-toggle { display: inline-block; margin-top: 2px; padding: 2px 0; border: 0; background: transparent; color: var(--blue); font-size: var(--font-xs); font-weight: 400; }
|
|
206
|
+
.preview-toggle[hidden] { display: none; }
|
|
207
|
+
.preview-toggle:hover { text-decoration: underline; }
|
|
202
208
|
.runtime-subscription { color: var(--muted); }
|
|
203
209
|
.badge { display: inline-block; border-radius: 999px; padding: 3px 7px; background: var(--neutral-soft); font-size: var(--font-xs); }
|
|
204
210
|
.badge.on { background: var(--success-soft); color: var(--success); }
|
|
@@ -725,7 +731,9 @@ body.navigation-open { overflow: hidden; }
|
|
|
725
731
|
.card-table td:last-child { padding-top: 10px; border-top: 1px solid var(--line); }
|
|
726
732
|
.card-table .actions { width: 100%; gap: 8px; }
|
|
727
733
|
.card-table .action { min-height: var(--control-min-height); }
|
|
728
|
-
.card-table .preview {
|
|
734
|
+
.card-table .session-preview { max-width: 100%; }
|
|
735
|
+
.card-table .preview { font-weight: 400; }
|
|
736
|
+
.card-table .preview-toggle { padding: 6px 0; }
|
|
729
737
|
.card-table .list-empty { display: block; padding: 24px 16px; text-align: center; }
|
|
730
738
|
.card-table .list-empty td { display: block; border: 0; }
|
|
731
739
|
.card-table tbody > .session-group-row { display: block; padding: 0; border: 0; margin-bottom: 8px; }
|
|
@@ -2007,18 +2007,87 @@ function updateSessionLocationCell(td, session, { showIdentity = true, loading =
|
|
|
2007
2007
|
td.setAttribute("aria-busy", String(loading));
|
|
2008
2008
|
}
|
|
2009
2009
|
|
|
2010
|
+
// Previews are clamped to two lines by CSS. The expand control appears only for
|
|
2011
|
+
// text that the current layout actually cuts off, so rows are measured after
|
|
2012
|
+
// layout and again whenever their width or visibility changes.
|
|
2013
|
+
let sessionPreviewSerial = 0;
|
|
2014
|
+
let sessionPreviewObserver = null;
|
|
2015
|
+
|
|
2016
|
+
function sessionPreview(text) {
|
|
2017
|
+
const wrapper = document.createElement("div");
|
|
2018
|
+
wrapper.className = "session-preview";
|
|
2019
|
+
const preview = document.createElement("div");
|
|
2020
|
+
preview.className = "preview";
|
|
2021
|
+
preview.id = `session-preview-${++sessionPreviewSerial}`;
|
|
2022
|
+
preview.textContent = text;
|
|
2023
|
+
const toggle = document.createElement("button");
|
|
2024
|
+
toggle.type = "button";
|
|
2025
|
+
toggle.className = "preview-toggle";
|
|
2026
|
+
toggle.hidden = true;
|
|
2027
|
+
toggle.textContent = "展开";
|
|
2028
|
+
toggle.setAttribute("aria-controls", preview.id);
|
|
2029
|
+
toggle.setAttribute("aria-expanded", "false");
|
|
2030
|
+
toggle.addEventListener("click", () => {
|
|
2031
|
+
const expanded = toggle.getAttribute("aria-expanded") !== "true";
|
|
2032
|
+
toggle.setAttribute("aria-expanded", String(expanded));
|
|
2033
|
+
toggle.textContent = expanded ? "收起" : "展开";
|
|
2034
|
+
if (expanded) {
|
|
2035
|
+
wrapper.setAttribute("data-expanded", "");
|
|
2036
|
+
preview.title = "";
|
|
2037
|
+
} else {
|
|
2038
|
+
wrapper.removeAttribute("data-expanded");
|
|
2039
|
+
syncSessionPreviews([wrapper]);
|
|
2040
|
+
}
|
|
2041
|
+
});
|
|
2042
|
+
preview.addEventListener("click", () => {
|
|
2043
|
+
// Dragging to select or copy part of the text must not collapse or expand it.
|
|
2044
|
+
if (toggle.hidden || String(window.getSelection?.() || "")) return;
|
|
2045
|
+
toggle.click();
|
|
2046
|
+
});
|
|
2047
|
+
wrapper.append(preview, toggle);
|
|
2048
|
+
return wrapper;
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
function syncSessionPreviews(wrappers) {
|
|
2052
|
+
// Read every size before changing any control so one page costs one layout.
|
|
2053
|
+
const measured = wrappers.map((wrapper) => {
|
|
2054
|
+
const preview = wrapper.querySelector(".preview");
|
|
2055
|
+
const toggle = wrapper.querySelector(".preview-toggle");
|
|
2056
|
+
// Rows in collapsed groups or hidden pages have no size yet; keep them as is.
|
|
2057
|
+
const laidOut = preview.clientHeight > 0;
|
|
2058
|
+
return { wrapper, preview, toggle, laidOut,
|
|
2059
|
+
truncated: laidOut && preview.scrollHeight - preview.clientHeight > 1 };
|
|
2060
|
+
});
|
|
2061
|
+
for (const { wrapper, preview, toggle, laidOut, truncated } of measured) {
|
|
2062
|
+
if (!laidOut || toggle.getAttribute("aria-expanded") === "true") continue;
|
|
2063
|
+
toggle.hidden = !truncated;
|
|
2064
|
+
preview.title = truncated ? preview.textContent : "";
|
|
2065
|
+
if (truncated) wrapper.setAttribute("data-expandable", "");
|
|
2066
|
+
else wrapper.removeAttribute("data-expandable");
|
|
2067
|
+
}
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
function observeSessionPreviews(body) {
|
|
2071
|
+
sessionPreviewObserver?.disconnect();
|
|
2072
|
+
sessionPreviewObserver = null;
|
|
2073
|
+
const wrappers = body.querySelectorAll(".session-preview");
|
|
2074
|
+
if (typeof ResizeObserver !== "function") {
|
|
2075
|
+
syncSessionPreviews(wrappers);
|
|
2076
|
+
return;
|
|
2077
|
+
}
|
|
2078
|
+
sessionPreviewObserver = new ResizeObserver((entries) => {
|
|
2079
|
+
syncSessionPreviews(entries.map((entry) => entry.target.parentElement));
|
|
2080
|
+
});
|
|
2081
|
+
for (const wrapper of wrappers) sessionPreviewObserver.observe(wrapper.querySelector(".preview"));
|
|
2082
|
+
}
|
|
2083
|
+
|
|
2010
2084
|
function sessionIdentityCell(row, session) {
|
|
2011
2085
|
const td = document.createElement("td");
|
|
2012
2086
|
const title = document.createElement("strong");
|
|
2013
2087
|
title.textContent = session.nativeTitle
|
|
2014
2088
|
|| (session.catalogState === "lazy" ? "未开始的会话" : "未命名会话");
|
|
2015
2089
|
td.append(title);
|
|
2016
|
-
if (session.nativePreview)
|
|
2017
|
-
const preview = document.createElement("div");
|
|
2018
|
-
preview.className = "preview";
|
|
2019
|
-
preview.textContent = session.nativePreview;
|
|
2020
|
-
td.append(preview);
|
|
2021
|
-
}
|
|
2090
|
+
if (session.nativePreview) td.append(sessionPreview(session.nativePreview));
|
|
2022
2091
|
const bindingId = document.createElement("div");
|
|
2023
2092
|
bindingId.className = "id";
|
|
2024
2093
|
bindingId.textContent = `Netizen 会话编号:${session.shortId}`;
|
|
@@ -2532,6 +2601,7 @@ function renderSessions(data) {
|
|
|
2532
2601
|
body.append(row);
|
|
2533
2602
|
}
|
|
2534
2603
|
applySessionLayout("session");
|
|
2604
|
+
observeSessionPreviews(body);
|
|
2535
2605
|
}
|
|
2536
2606
|
|
|
2537
2607
|
let latestAnswerView = null;
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
/* Shared file and answer drawers, including file-browser navigation. */
|
|
2
|
+
.file-browser-tree-panel { display: flex; flex: 1; flex-direction: column; min-height: 0; }
|
|
3
|
+
.file-browser-diff { display: flex; flex: 1; min-height: 100px; position: relative; }
|
|
4
|
+
.file-browser-diff > .ace_editor { flex: 1; min-width: 0; position: relative; }
|
|
5
|
+
.file-browser-diff > .ace_editor + .ace_editor { border-left: 1px solid var(--line); }
|
|
6
|
+
.file-browser-badge { font-size: 10px; color: var(--blue); }
|
|
7
|
+
.file-browser-entry.file-browser-ignored { opacity: .55; }
|
|
8
|
+
#file-browser-changes-entries details { padding: 6px 0; font-size: 12px; }
|
|
9
|
+
#file-browser-changes-entries summary { padding: 6px; cursor: pointer; }
|
|
10
|
+
#file-browser-changes-entries button { display: block; width: 100%; text-align: left; overflow-wrap: anywhere; margin: 3px 0; }
|
|
2
11
|
body.file-browser-open, body.session-answer-open { overflow: hidden; }
|
|
3
12
|
.file-browser-drawer { inset: 0 0 0 auto; margin: 0; width: min(1440px, 96vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; padding: 0; border: 0; border-left: 1px solid var(--line); color: var(--ink); background: var(--paper); box-shadow: -12px 0 48px rgb(16 33 63 / 16%); }
|
|
4
13
|
.file-browser-drawer::backdrop { background: rgb(16 33 63 / 34%); }
|
|
@@ -10,6 +10,7 @@ window.NetizenFileBrowser = {
|
|
|
10
10
|
const compact = window.matchMedia("(max-width: 720px)");
|
|
11
11
|
let current = null;
|
|
12
12
|
let aceLoading = null;
|
|
13
|
+
let diffLoading = null;
|
|
13
14
|
|
|
14
15
|
function active(view) { return current === view && !dependencies.isExpired(); }
|
|
15
16
|
function renderLayout(view) {
|
|
@@ -61,6 +62,14 @@ window.NetizenFileBrowser = {
|
|
|
61
62
|
for (const slot of Object.keys(view.requests)) stop(view, slot);
|
|
62
63
|
}
|
|
63
64
|
function clearFile(view) {
|
|
65
|
+
stop(view, "content");
|
|
66
|
+
stop(view, "diff");
|
|
67
|
+
destroyDiff(view);
|
|
68
|
+
view.diff = null;
|
|
69
|
+
view.mode = "full";
|
|
70
|
+
node("view-modes").hidden = true;
|
|
71
|
+
node("diff-note").hidden = true;
|
|
72
|
+
node("diff-note").textContent = "";
|
|
64
73
|
view.screen = "directory";
|
|
65
74
|
view.file = null;
|
|
66
75
|
view.selectedFile = null;
|
|
@@ -96,6 +105,11 @@ window.NetizenFileBrowser = {
|
|
|
96
105
|
view.navigation += 1;
|
|
97
106
|
view.tree.clear();
|
|
98
107
|
view.identity = null;
|
|
108
|
+
view.changes = null;
|
|
109
|
+
view.changesMap = new Map();
|
|
110
|
+
view.changesScope = "";
|
|
111
|
+
view.sidebar = "files";
|
|
112
|
+
renderGit(view);
|
|
99
113
|
view.desiredFile = null;
|
|
100
114
|
view.path = "";
|
|
101
115
|
view.selectedPath = "";
|
|
@@ -123,6 +137,10 @@ window.NetizenFileBrowser = {
|
|
|
123
137
|
node("actions").hidden = true;
|
|
124
138
|
note("action-note", "");
|
|
125
139
|
view.tree.clear();
|
|
140
|
+
view.changes = null;
|
|
141
|
+
view.changesMap = new Map();
|
|
142
|
+
view.identity = null;
|
|
143
|
+
renderGit(view);
|
|
126
144
|
node("filter").value = "";
|
|
127
145
|
node("root").replaceChildren();
|
|
128
146
|
node("entries").replaceChildren();
|
|
@@ -345,6 +363,7 @@ window.NetizenFileBrowser = {
|
|
|
345
363
|
name.className = "file-browser-entry-name";
|
|
346
364
|
name.textContent = entryLabel(view, entry);
|
|
347
365
|
row.append(chevron, icon, name);
|
|
366
|
+
decorateEntry(view, row, entry);
|
|
348
367
|
row.addEventListener("focus", () => { view.focusedPath = entry.path; });
|
|
349
368
|
fragment.append(row);
|
|
350
369
|
visibleRows.push(row);
|
|
@@ -533,6 +552,7 @@ window.NetizenFileBrowser = {
|
|
|
533
552
|
view.deleteError = false;
|
|
534
553
|
view.deleteUncertain = false;
|
|
535
554
|
const file = view.desiredFile;
|
|
555
|
+
const mode = view.mode;
|
|
536
556
|
const path = file ? parentPath(file) : view.path;
|
|
537
557
|
const epoch = view.treeEpoch;
|
|
538
558
|
const navigation = ++view.navigation;
|
|
@@ -546,6 +566,7 @@ window.NetizenFileBrowser = {
|
|
|
546
566
|
}
|
|
547
567
|
const branch = await loadDirectory(view, path, true);
|
|
548
568
|
if (!active(view) || view.treeEpoch !== epoch || view.navigation !== navigation) return;
|
|
569
|
+
if (file && mode === "diff") return content(view, file, "diff");
|
|
549
570
|
if (!branch) {
|
|
550
571
|
// A removed batch (including a deletion whose response was lost) cannot
|
|
551
572
|
// be refreshed in place. Reconcile one root listing without changing its
|
|
@@ -634,6 +655,165 @@ window.NetizenFileBrowser = {
|
|
|
634
655
|
}
|
|
635
656
|
return aceLoading;
|
|
636
657
|
}
|
|
658
|
+
function destroyDiff(view) {
|
|
659
|
+
view.diffRender = (view.diffRender || 0) + 1;
|
|
660
|
+
view.diffView?.destroy();
|
|
661
|
+
view.diffView = null;
|
|
662
|
+
node("diff").replaceChildren();
|
|
663
|
+
node("diff").hidden = true;
|
|
664
|
+
}
|
|
665
|
+
async function ensureDiff() {
|
|
666
|
+
const ace = await ensureAce();
|
|
667
|
+
if (ace.require("ace/ext/diff")) return ace.require("ace/ext/diff");
|
|
668
|
+
if (!diffLoading) diffLoading = new Promise((resolve, reject) => {
|
|
669
|
+
const script = document.createElement("script");
|
|
670
|
+
script.src = "/static/vendor/ace/ext-diff.js";
|
|
671
|
+
const failed = () => { script.remove(); diffLoading = null; reject(new Error("差异查看器未能加载,请重试。")); };
|
|
672
|
+
script.onload = () => ace.require("ace/ext/diff") ? resolve(ace.require("ace/ext/diff")) : failed();
|
|
673
|
+
script.onerror = failed;
|
|
674
|
+
document.querySelector("head").append(script);
|
|
675
|
+
});
|
|
676
|
+
return diffLoading;
|
|
677
|
+
}
|
|
678
|
+
function renderDiffToggle(view) {
|
|
679
|
+
const candidate = view.changesMap?.get(view.desiredFile);
|
|
680
|
+
const changes = view.changes;
|
|
681
|
+
const known = changes?.complete && (!view.changesScope || view.desiredFile?.startsWith(`${view.changesScope}/`));
|
|
682
|
+
node("view-modes").hidden = !view.provider.changes || !view.identity || !view.desiredFile
|
|
683
|
+
|| (changes && changes.git !== "available")
|
|
684
|
+
|| (view.mode !== "diff" && known && !["modified", "deleted"].includes(candidate?.kind));
|
|
685
|
+
node("diff-mode").setAttribute("aria-pressed", String(view.mode === "diff"));
|
|
686
|
+
node("full-mode").setAttribute("aria-pressed", String(view.mode !== "diff"));
|
|
687
|
+
}
|
|
688
|
+
function diffNote(view) {
|
|
689
|
+
const data = view.diff;
|
|
690
|
+
const notes = [];
|
|
691
|
+
if (data?.git === "available") {
|
|
692
|
+
if (data.same) notes.push("与 HEAD 相同");
|
|
693
|
+
if (data.kind === "unchanged") notes.push("Git 未报告此路径的变更,可查看完整内容。");
|
|
694
|
+
if (data.kind === "deleted") notes.push("已删除 · 与空的工作区内容比较");
|
|
695
|
+
if (data.reason) notes.push(data.message || "仅显示变化类型。");
|
|
696
|
+
if (view.changes?.git === "available" && data.head !== view.changes.head) notes.push("HEAD 已变化,请刷新");
|
|
697
|
+
} else if (data) notes.push(data.message || "此目录不是 Git 仓库。");
|
|
698
|
+
node("diff-note").hidden = view.mode !== "diff" || !notes.length;
|
|
699
|
+
note("diff-note", notes.join(" · "));
|
|
700
|
+
}
|
|
701
|
+
async function renderDiff(view) {
|
|
702
|
+
destroyDiff(view);
|
|
703
|
+
const sequence = view.diffRender;
|
|
704
|
+
const data = view.diff;
|
|
705
|
+
diffNote(view);
|
|
706
|
+
note("note", "");
|
|
707
|
+
if (data?.git !== "available" || typeof data.old !== "string" || typeof data.new !== "string") return;
|
|
708
|
+
try {
|
|
709
|
+
const extension = await ensureDiff();
|
|
710
|
+
if (!active(view) || view.diff !== data || view.diffRender !== sequence || view.mode !== "diff") return;
|
|
711
|
+
const ace = window.ace;
|
|
712
|
+
for (const key of ["basePath", "modePath", "themePath", "workerPath"]) ace.config.set(key, "/static/vendor/ace");
|
|
713
|
+
const diff = view.diffView = extension.createDiffView({ valueA: data.old, valueB: data.new, inline: compact.matches ? "b" : false });
|
|
714
|
+
for (const editor of [diff.editorA, diff.editorB]) {
|
|
715
|
+
editor.session.setUseWorker(false);
|
|
716
|
+
editor.setReadOnly(true);
|
|
717
|
+
editor.setOptions({ showPrintMargin: false, fontSize: 13, highlightActiveLine: false });
|
|
718
|
+
editor.session.setMode(`ace/mode/${modes.has(data.language) ? data.language : "text"}`);
|
|
719
|
+
editor.session.setUseWrapMode(view.wrap);
|
|
720
|
+
}
|
|
721
|
+
node("diff").append(...(compact.matches ? [diff.editorB.container] : [diff.editorA.container, diff.editorB.container]));
|
|
722
|
+
node("diff").hidden = false;
|
|
723
|
+
diff.onInput();
|
|
724
|
+
diff.resize();
|
|
725
|
+
} catch (error) {
|
|
726
|
+
if (active(view) && view.diff === data && view.diffRender === sequence) note("note", error.message, true);
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
function decorateEntry(view, row, entry) {
|
|
730
|
+
if (!view.provider.changes) return;
|
|
731
|
+
const change = view.changesMap?.get(entry.path);
|
|
732
|
+
let path = entry.path;
|
|
733
|
+
let ignored = change?.kind === "ignored";
|
|
734
|
+
while (path && !ignored) {
|
|
735
|
+
path = parentPath(path);
|
|
736
|
+
const parent = view.changesMap?.get(path);
|
|
737
|
+
ignored = parent?.kind === "ignored" && parent.directory;
|
|
738
|
+
}
|
|
739
|
+
if (ignored) {
|
|
740
|
+
row.className += " file-browser-ignored";
|
|
741
|
+
row.setAttribute("aria-label", `${entryLabel(view, entry)} · 已忽略`);
|
|
742
|
+
}
|
|
743
|
+
const label = { modified: "修改", added: "新增", untracked: "未跟踪" }[change?.kind];
|
|
744
|
+
if (entry.kind === "file" && label) {
|
|
745
|
+
const badge = document.createElement("span");
|
|
746
|
+
badge.className = "file-browser-badge";
|
|
747
|
+
badge.textContent = label;
|
|
748
|
+
row.append(badge);
|
|
749
|
+
row.setAttribute("aria-label", `${entryLabel(view, entry)} · ${label}`);
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
function renderGit(view) {
|
|
753
|
+
const data = view.changes;
|
|
754
|
+
const enabled = view.provider.changes && view.identity && data?.git !== "not_repository";
|
|
755
|
+
if (!enabled) view.sidebar = "files";
|
|
756
|
+
const changes = enabled && view.sidebar === "changes";
|
|
757
|
+
node("tabs").hidden = !enabled;
|
|
758
|
+
node("tree-panel").hidden = Boolean(changes);
|
|
759
|
+
node("changes-panel").hidden = !changes;
|
|
760
|
+
node("files-tab").setAttribute("aria-pressed", String(!changes));
|
|
761
|
+
node("changes-tab").setAttribute("aria-pressed", String(Boolean(changes)));
|
|
762
|
+
const incomplete = data?.git === "available" && (!data.complete || view.changesScope);
|
|
763
|
+
node("incomplete").hidden = !enabled || !incomplete;
|
|
764
|
+
note("incomplete", incomplete ? "变更列表未覆盖整个根目录;没有标记不表示未修改。" : "");
|
|
765
|
+
node("changes-scope").hidden = !incomplete;
|
|
766
|
+
node("changes-current").disabled = !view.path;
|
|
767
|
+
node("changes-root").disabled = !view.changesScope;
|
|
768
|
+
node("changes-retry").hidden = data?.git !== "unavailable";
|
|
769
|
+
note("changes-note", !data ? "正在读取变更…" : data.git === "unavailable" ? data.message : view.changesScope ? `当前范围:${view.changesScope}` : "");
|
|
770
|
+
const list = node("changes-entries");
|
|
771
|
+
list.replaceChildren();
|
|
772
|
+
if (data?.git === "available") for (const [group, label] of [["tracked", "已跟踪变更"], ["untracked", "未跟踪"], ["ignored", "已忽略"]]) {
|
|
773
|
+
const entries = data.entries.filter((entry) => entry.group === group);
|
|
774
|
+
const section = document.createElement("details");
|
|
775
|
+
section.open = group !== "ignored";
|
|
776
|
+
const summary = document.createElement("summary");
|
|
777
|
+
summary.textContent = `${label} (${entries.length})${data.groupsComplete[group] ? "" : " · 未完整加载"}`;
|
|
778
|
+
section.append(summary);
|
|
779
|
+
for (const entry of entries) {
|
|
780
|
+
const label = { modified: "修改", deleted: "删除", added: "新增", untracked: "未跟踪", ignored: "已忽略", conflict: "冲突" }[entry.kind];
|
|
781
|
+
const row = button(`${entry.path} · ${label}`, () => {
|
|
782
|
+
if (entry.directory && !["modified", "deleted", "conflict"].includes(entry.kind)) {
|
|
783
|
+
view.sidebar = "files";
|
|
784
|
+
renderGit(view);
|
|
785
|
+
return directory(view, entry.path);
|
|
786
|
+
}
|
|
787
|
+
return content(view, entry.path, ["modified", "deleted", "conflict"].includes(entry.kind) ? "diff" : "full");
|
|
788
|
+
});
|
|
789
|
+
row.dataset.path = entry.path;
|
|
790
|
+
section.append(row);
|
|
791
|
+
}
|
|
792
|
+
list.append(section);
|
|
793
|
+
}
|
|
794
|
+
renderDiffToggle(view);
|
|
795
|
+
diffNote(view);
|
|
796
|
+
}
|
|
797
|
+
async function loadChanges(view, scope = "") {
|
|
798
|
+
if (!active(view) || !view.identity || !view.provider.changes) return;
|
|
799
|
+
view.changesScope = scope;
|
|
800
|
+
view.changes = null;
|
|
801
|
+
view.changesMap = new Map();
|
|
802
|
+
renderGit(view);
|
|
803
|
+
renderEntries(view);
|
|
804
|
+
const identity = view.identity;
|
|
805
|
+
const epoch = view.treeEpoch;
|
|
806
|
+
try {
|
|
807
|
+
const data = await request(view, "changes", url(view, "changes", scope));
|
|
808
|
+
if (!data || !active(view) || view.identity !== identity) return;
|
|
809
|
+
view.changes = data;
|
|
810
|
+
view.changesMap = new Map((data.entries || []).map((entry) => [entry.path, entry]));
|
|
811
|
+
} catch (error) {
|
|
812
|
+
if (!active(view) || view.identity !== identity || view.treeEpoch !== epoch) return;
|
|
813
|
+
view.changes = { git: "unavailable", message: error.message };
|
|
814
|
+
}
|
|
815
|
+
if (active(view) && view.identity === identity) { renderGit(view); renderEntries(view); }
|
|
816
|
+
}
|
|
637
817
|
function renderMode(view) {
|
|
638
818
|
node("editor").hidden = view.preview;
|
|
639
819
|
node("markdown").hidden = !view.preview;
|
|
@@ -653,13 +833,14 @@ window.NetizenFileBrowser = {
|
|
|
653
833
|
if (active(view) && view.file === file) note("note", error.message, true);
|
|
654
834
|
}
|
|
655
835
|
}
|
|
656
|
-
async function content(view, path) {
|
|
836
|
+
async function content(view, path, mode = "full") {
|
|
657
837
|
if (!active(view) || !view.identity) return;
|
|
658
838
|
if (view.screen === "directory") view.focusedPath = path;
|
|
659
839
|
rememberDirectory(view);
|
|
660
840
|
view.navigation += 1;
|
|
661
841
|
stop(view, "image-check");
|
|
662
842
|
clearFile(view);
|
|
843
|
+
view.mode = mode;
|
|
663
844
|
view.desiredFile = path;
|
|
664
845
|
const entry = view.tree.get(parentPath(path))?.entries?.find((item) => item.path === path);
|
|
665
846
|
view.selectedFile = entry ? { ...entry } : { path, name: path };
|
|
@@ -676,11 +857,20 @@ window.NetizenFileBrowser = {
|
|
|
676
857
|
node("filename").textContent = entry?.displayName || path;
|
|
677
858
|
node("filename").setAttribute("title", path);
|
|
678
859
|
note("note", "正在读取文件…");
|
|
860
|
+
renderDiffToggle(view);
|
|
679
861
|
const rootIdentity = view.identity;
|
|
680
862
|
const sequence = view.fileSequence;
|
|
681
863
|
try {
|
|
864
|
+
if (mode === "diff") {
|
|
865
|
+
const data = await request(view, "diff", url(view, "diff", path));
|
|
866
|
+
if (!data || view.fileSequence !== sequence) return;
|
|
867
|
+
view.diff = data;
|
|
868
|
+
if (data.git === "not_repository") { view.changes = data; view.changesMap = new Map(); renderGit(view); renderEntries(view); }
|
|
869
|
+
await renderDiff(view);
|
|
870
|
+
return;
|
|
871
|
+
}
|
|
682
872
|
const data = await request(view, "content", url(view, "content", path));
|
|
683
|
-
if (!data) return;
|
|
873
|
+
if (!data || !active(view) || view.fileSequence !== sequence) return;
|
|
684
874
|
view.file = data;
|
|
685
875
|
Object.assign(view.selectedFile, { size: data.size, modifiedAt: data.modifiedAt, version: data.version });
|
|
686
876
|
showMetadata(view.selectedFile);
|
|
@@ -731,6 +921,7 @@ window.NetizenFileBrowser = {
|
|
|
731
921
|
if (!data) return;
|
|
732
922
|
view.identity = data.identity;
|
|
733
923
|
node("cwd").textContent = data.cwd;
|
|
924
|
+
if (view.provider.changes) void loadChanges(view);
|
|
734
925
|
await directory(view, "");
|
|
735
926
|
} catch (error) {
|
|
736
927
|
note("directory-note", error.message, true);
|
|
@@ -816,6 +1007,13 @@ window.NetizenFileBrowser = {
|
|
|
816
1007
|
}
|
|
817
1008
|
}
|
|
818
1009
|
function init() {
|
|
1010
|
+
node("files-tab").addEventListener("click", () => { if (current) { current.sidebar = "files"; renderGit(current); } });
|
|
1011
|
+
node("changes-tab").addEventListener("click", () => { if (current) { current.sidebar = "changes"; renderGit(current); } });
|
|
1012
|
+
node("changes-retry").addEventListener("click", () => current && loadChanges(current, current.changesScope));
|
|
1013
|
+
node("changes-current").addEventListener("click", () => current && loadChanges(current, current.path));
|
|
1014
|
+
node("changes-root").addEventListener("click", () => current && loadChanges(current));
|
|
1015
|
+
node("diff-mode").addEventListener("click", () => current?.desiredFile && content(current, current.desiredFile, "diff"));
|
|
1016
|
+
node("full-mode").addEventListener("click", () => current?.desiredFile && content(current, current.desiredFile));
|
|
819
1017
|
node("close").addEventListener("click", close);
|
|
820
1018
|
node("back").addEventListener("click", () => current && back(current));
|
|
821
1019
|
node("delete").addEventListener("click", () => current && deleteSelected(current));
|
|
@@ -825,6 +1023,7 @@ window.NetizenFileBrowser = {
|
|
|
825
1023
|
node("more-roots").addEventListener("click", () => current && moreRoots(current, current.nextCursor));
|
|
826
1024
|
node("refresh").addEventListener("click", () => {
|
|
827
1025
|
if (!current) return;
|
|
1026
|
+
if (current.provider.changes && current.identity) void loadChanges(current, current.changesScope);
|
|
828
1027
|
return refreshTree(current);
|
|
829
1028
|
});
|
|
830
1029
|
node("filter").addEventListener("input", () => {
|
|
@@ -870,7 +1069,7 @@ window.NetizenFileBrowser = {
|
|
|
870
1069
|
const parent = path.includes("/") ? path.slice(0, path.lastIndexOf("/")) : "";
|
|
871
1070
|
return directory(current, parent, path);
|
|
872
1071
|
});
|
|
873
|
-
window.addEventListener("resize", () => current?.editor?.resize());
|
|
1072
|
+
window.addEventListener("resize", () => { current?.editor?.resize(); current?.diffView?.resize(); });
|
|
874
1073
|
compact.addEventListener("change", () => {
|
|
875
1074
|
if (!current) return;
|
|
876
1075
|
current.filter = "";
|
|
@@ -879,6 +1078,7 @@ window.NetizenFileBrowser = {
|
|
|
879
1078
|
renderEntries(current);
|
|
880
1079
|
if (compact.matches && current.screen === "file") node("back").focus({ preventScroll: true });
|
|
881
1080
|
current.editor?.resize();
|
|
1081
|
+
if (current.mode === "diff" && current.diff) void renderDiff(current);
|
|
882
1082
|
});
|
|
883
1083
|
}
|
|
884
1084
|
function back(view) {
|
|
@@ -162,6 +162,12 @@
|
|
|
162
162
|
<nav id="file-browser-breadcrumbs" class="file-browser-breadcrumbs" aria-label="文件目录路径"></nav>
|
|
163
163
|
<div class="file-browser-body">
|
|
164
164
|
<aside class="file-browser-sidebar" aria-label="文件树">
|
|
165
|
+
<div id="file-browser-tabs" class="file-browser-tools" hidden>
|
|
166
|
+
<button id="file-browser-files-tab" type="button" aria-pressed="true">文件</button>
|
|
167
|
+
<button id="file-browser-changes-tab" type="button" aria-pressed="false">变更</button>
|
|
168
|
+
</div>
|
|
169
|
+
<p id="file-browser-incomplete" class="file-browser-note" role="status" hidden></p>
|
|
170
|
+
<div id="file-browser-tree-panel" class="file-browser-tree-panel">
|
|
165
171
|
<div class="file-browser-tree-tools">
|
|
166
172
|
<label for="file-browser-filter" class="file-browser-sr-only">筛选已加载的文件</label>
|
|
167
173
|
<input id="file-browser-filter" type="search" placeholder="筛选已加载的文件…" autocomplete="off">
|
|
@@ -171,9 +177,26 @@
|
|
|
171
177
|
<div id="file-browser-entries" class="file-browser-entries" role="tree" aria-label="文件"></div>
|
|
172
178
|
<p id="file-browser-directory-note" class="file-browser-note" role="status" aria-live="polite"></p>
|
|
173
179
|
</div>
|
|
180
|
+
</div>
|
|
181
|
+
<div id="file-browser-changes-panel" class="file-browser-tree-scroll" hidden>
|
|
182
|
+
<p class="file-browser-note">相对 HEAD · 包含同目录中的所有修改</p>
|
|
183
|
+
<p id="file-browser-changes-note" class="file-browser-note" role="status"></p>
|
|
184
|
+
<button id="file-browser-changes-retry" type="button" hidden>重试</button>
|
|
185
|
+
<div id="file-browser-changes-scope" class="file-browser-tools" hidden>
|
|
186
|
+
<button id="file-browser-changes-current" type="button">仅当前目录</button>
|
|
187
|
+
<button id="file-browser-changes-root" type="button">整个根目录</button>
|
|
188
|
+
</div>
|
|
189
|
+
<div id="file-browser-changes-entries"></div>
|
|
190
|
+
</div>
|
|
174
191
|
</aside>
|
|
175
192
|
<section class="file-browser-viewer" aria-label="文件内容">
|
|
176
193
|
<div class="file-browser-file-head"><strong id="file-browser-filename">选择文件查看</strong><span id="file-browser-meta"></span></div>
|
|
194
|
+
<div id="file-browser-view-modes" class="file-browser-tools" hidden>
|
|
195
|
+
<button id="file-browser-diff-mode" type="button" aria-pressed="false">差异</button>
|
|
196
|
+
<button id="file-browser-full-mode" type="button" aria-pressed="true">完整内容</button>
|
|
197
|
+
<span>相对 HEAD</span>
|
|
198
|
+
</div>
|
|
199
|
+
<p id="file-browser-diff-note" class="file-browser-note" role="status" hidden></p>
|
|
177
200
|
<div id="file-browser-actions" class="file-browser-actions" hidden><button id="file-browser-delete" class="action compact danger" type="button">删除附件</button><span id="file-browser-action-note" role="status" aria-live="polite"></span></div>
|
|
178
201
|
<div id="file-browser-tools" class="file-browser-tools" hidden>
|
|
179
202
|
<form id="file-browser-search-form" class="file-browser-search"><label for="file-browser-search" class="file-browser-sr-only">查找文本</label><input id="file-browser-search" type="search" placeholder="查找文本" autocomplete="off"><button type="submit">查找下一个</button></form>
|
|
@@ -190,6 +213,7 @@
|
|
|
190
213
|
<span>支持代码、文本、Markdown 和图片</span>
|
|
191
214
|
</div>
|
|
192
215
|
<div id="file-browser-editor" class="file-browser-editor" aria-label="只读文件内容" hidden></div>
|
|
216
|
+
<div id="file-browser-diff" class="file-browser-diff" aria-label="相对 HEAD 的只读差异" hidden></div>
|
|
193
217
|
<article id="file-browser-markdown" class="file-browser-markdown markdown-preview" hidden></article>
|
|
194
218
|
<div id="file-browser-image-wrap" class="file-browser-image-wrap" hidden><img id="file-browser-image" alt=""></div>
|
|
195
219
|
</section>
|
|
@@ -5,6 +5,7 @@ window.NetizenProjectFiles = (() => {
|
|
|
5
5
|
let browser;
|
|
6
6
|
function open(project) {
|
|
7
7
|
return browser.open({
|
|
8
|
+
changes: true,
|
|
8
9
|
rootId: "project", title: `${project.alias} · 查看文件`, eyebrow: "Project 文件",
|
|
9
10
|
emptyTitle: "浏览项目文件", description: "展开目录,选择文件查看内容。",
|
|
10
11
|
roots: [{ id: "project", label: `Project · ${project.cwd}` }],
|
|
@@ -11,11 +11,12 @@ Verified npm integrity: `sha512-a0IADaETGBnBW5CIkniUJn7F+NyTuHWKqlv1A8FXaMmFflJs
|
|
|
11
11
|
|
|
12
12
|
No local modifications. Text mode and TextMate theme are included in the core.
|
|
13
13
|
The reader disables language workers and provides its own search controls;
|
|
14
|
-
only the listed core and language files are served.
|
|
14
|
+
only the listed core, diff extension and language files are served.
|
|
15
15
|
|
|
16
16
|
| File | SHA-256 |
|
|
17
17
|
| --- | --- |
|
|
18
18
|
| ace.js | `6430923a29a3d30f94eb321700a56ec12cb8060270831632087d166bbac7aca9` |
|
|
19
|
+
| ext-diff.js | `b973805f4f2037a856a0aefb4fb3fa0089e240cc1da7d26e18cff4e3cee819fa` |
|
|
19
20
|
| mode-python.js | `88eba07c61f5168ebef54323f6e2d31f7e129c05954ea6aa5a3b0a04a2b03aad` |
|
|
20
21
|
| mode-javascript.js | `6d0f956ad8f0c3b629b5adf5448a4d9fa1685c38ef0169ea0bbd1381c5cf8fea` |
|
|
21
22
|
| mode-json.js | `010feab73fd75cfcdee30cdc71bdcc868e4f914465a59a7141c5ee4983a8afec` |
|