shortcutxl 0.3.76 → 0.3.78
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.
- package/BINARY-INVENTORY.json +813 -813
- package/CHANGELOG.md +14 -0
- package/dist/ai/models.d.ts +10 -6
- package/dist/ai/models.generated.d.ts +72 -0
- package/dist/ai/models.generated.js +33 -0
- package/dist/ai/models.js +36 -13
- package/dist/ai/providers/anthropic.d.ts +4 -2
- package/dist/ai/providers/anthropic.js +59 -29
- package/dist/ai/providers/azure-openai-responses.d.ts +2 -1
- package/dist/ai/providers/azure-openai-responses.js +4 -20
- package/dist/ai/providers/google-vertex.d.ts +8 -2
- package/dist/ai/providers/google-vertex.js +66 -54
- package/dist/ai/providers/google.js +15 -48
- package/dist/ai/providers/openai-completions.d.ts +4 -1
- package/dist/ai/providers/openai-completions.js +26 -10
- package/dist/ai/providers/openai-reasoning.d.ts +5 -0
- package/dist/ai/providers/openai-reasoning.js +13 -0
- package/dist/ai/providers/openai-responses-shared.js +1 -1
- package/dist/ai/providers/openai-responses.d.ts +6 -2
- package/dist/ai/providers/openai-responses.js +28 -23
- package/dist/ai/providers/simple-options.d.ts +2 -3
- package/dist/ai/providers/simple-options.js +4 -6
- package/dist/ai/types.d.ts +19 -2
- package/dist/app/agent-session-runtime-adapter.js +7 -6
- package/dist/app/agent-session.d.ts +0 -15
- package/dist/app/agent-session.js +0 -37
- package/dist/app/approvals/approval-errors.d.ts +15 -0
- package/dist/app/approvals/approval-errors.js +14 -0
- package/dist/app/approvals/runtime-approval-gates.d.ts +1 -2
- package/dist/app/approvals/tool-approval.d.ts +1 -0
- package/dist/app/approvals/tool-approval.js +11 -23
- package/dist/app/approvals/types.d.ts +0 -14
- package/dist/app/approvals/types.js +0 -2
- package/dist/app/background/tool-summaries.js +0 -2
- package/dist/app/extensions/slash-commands.js +1 -3
- package/dist/app/local/tools/execute-code/executor.d.ts +1 -1
- package/dist/app/local/tools/execute-code/executor.js +20 -10
- package/dist/app/local/tools/execute-code/tool.js +21 -2
- package/dist/app/modes/action/agent.js +4 -5
- package/dist/app/modes/ask/agent.js +4 -6
- package/dist/app/modes/index.js +20 -10
- package/dist/app/modes/installation/agent.js +4 -5
- package/dist/app/modes/manage/agent.js +3 -4
- package/dist/app/modes/manage/prompt.js +1 -2
- package/dist/app/modes/metadata.d.ts +31 -0
- package/dist/app/modes/metadata.js +35 -0
- package/dist/app/modes/plan/agent.js +5 -8
- package/dist/app/modes/plan/prompt.js +3 -3
- package/dist/app/permissions/runtime-approval-flow.d.ts +1 -5
- package/dist/app/permissions/runtime-approval-flow.js +0 -28
- package/dist/app/permissions/tool-gates.d.ts +2 -3
- package/dist/app/permissions/tool-gates.js +3 -81
- package/dist/app/prompts/com-api.js +1 -1
- package/dist/app/prompts/shared-guidelines.js +7 -3
- package/dist/app/providers/google-vertex-gateway.js +4 -51
- package/dist/app/providers/model-registry.d.ts +1 -0
- package/dist/app/providers/model-registry.js +39 -0
- package/dist/app/providers/model-resolver.js +10 -7
- package/dist/app/providers/register-shortcut-provider.js +6 -6
- package/dist/app/providers/shortcut-api-v2-transport.js +4 -0
- package/dist/app/providers/shortcut-llm-proxy-client.d.ts +2 -2
- package/dist/app/providers/shortcut-llm-proxy-client.js +1 -0
- package/dist/app/resources/package-manager.js +2 -123
- package/dist/app/resources/resource-patterns.d.ts +9 -0
- package/dist/app/resources/resource-patterns.js +120 -0
- package/dist/app/session/forked-agent.d.ts +2 -2
- package/dist/app/session/model-manager.js +3 -2
- package/dist/app/session/session-lifecycle.js +3 -2
- package/dist/app/session/session-models.d.ts +2 -0
- package/dist/app/session/session-models.js +14 -6
- package/dist/app/settings-manager.d.ts +3 -3
- package/dist/app/shared/tools/execute-code/mog.d.ts +3 -1
- package/dist/app/shared/tools/execute-code/mog.js +18 -2
- package/dist/app/tools/bash.js +3 -3
- package/dist/app/tools/execute-code/index.d.ts +1 -0
- package/dist/app/tools/execute-code/index.js +3 -1
- package/dist/app/tools/find-ignore-files.d.ts +3 -0
- package/dist/app/tools/find-ignore-files.js +33 -0
- package/dist/app/tools/find.js +2 -21
- package/dist/app/tools/llm-analysis.js +0 -2
- package/dist/app/tools/refresh-context.d.ts +1 -1
- package/dist/app/tools/session-settings/update-session-settings.js +2 -2
- package/dist/app/tools/switch-mode.js +2 -2
- package/dist/app/tools/take-screenshot.js +0 -2
- package/dist/app/tools/task/runner.js +1 -2
- package/dist/app/tools/task/task.d.ts +1 -3
- package/dist/app/tools/task/task.js +20 -40
- package/dist/app/tools/web-search.js +12 -2
- package/dist/autocomplete/core.d.ts +33 -0
- package/dist/autocomplete/core.js +113 -0
- package/dist/{tui → autocomplete}/fuzzy.d.ts +0 -1
- package/dist/{tui → autocomplete}/fuzzy.js +0 -1
- package/dist/{tui/autocomplete.d.ts → autocomplete/index.d.ts} +0 -1
- package/dist/{tui/autocomplete.js → autocomplete/index.js} +62 -158
- package/dist/cli/args.js +1 -1
- package/dist/cli/list-models.js +1 -1
- package/dist/cli.js +26227 -30480
- package/dist/constants.d.ts +0 -2
- package/dist/constants.js +0 -3
- package/dist/contracts/agent-session-store.d.ts +1 -1
- package/dist/contracts/agent-settings.d.ts +1 -0
- package/dist/contracts/agent-settings.js +2 -1
- package/dist/contracts/model-call.d.ts +1 -2
- package/dist/contracts/model-call.js +1 -2
- package/dist/contracts/model-stream.d.ts +1 -0
- package/dist/contracts/model-stream.js +1 -0
- package/dist/contracts/wire.d.ts +10 -7
- package/dist/contracts/wire.js +8 -0
- package/dist/core/agent-engine.js +1 -1
- package/dist/core/core-types.d.ts +1 -21
- package/dist/core/defaults.d.ts +1 -1
- package/dist/core/defaults.js +9 -1
- package/dist/core/prompts/agent-guidelines.d.ts +4 -5
- package/dist/core/prompts/agent-guidelines.js +28 -42
- package/dist/core/session-schema.d.ts +1 -1
- package/dist/embedded-agent/ai-invoke.d.ts +1 -2
- package/dist/embedded-agent/ai-invoke.js +2 -70
- package/dist/embedded-agent/anthropic-messages-transport.d.ts +4 -20
- package/dist/embedded-agent/anthropic-messages-transport.js +23 -786
- package/dist/embedded-agent/bootstrap.js +2 -2
- package/dist/embedded-agent/compose.js +8 -7
- package/dist/embedded-agent/gateway-base-url.d.ts +3 -0
- package/dist/embedded-agent/gateway-base-url.js +35 -0
- package/dist/embedded-agent/google-vertex-transport.d.ts +2 -11
- package/dist/embedded-agent/google-vertex-transport.js +20 -117
- package/dist/embedded-agent/host-runtime-options.d.ts +0 -8
- package/dist/embedded-agent/host-runtime-options.js +10 -2
- package/dist/embedded-agent/host-tools/invoke-llm/contract.d.ts +2 -2
- package/dist/embedded-agent/host-tools/invoke-llm/contract.js +4 -2
- package/dist/embedded-agent/host-tools/sandbox-llm/contract.d.ts +8 -3
- package/dist/embedded-agent/host-tools/sandbox-llm/contract.js +12 -8
- package/dist/embedded-agent/host-tools/sandbox-llm/index.d.ts +1 -1
- package/dist/embedded-agent/host-tools/sandbox-llm/index.js +1 -1
- package/dist/embedded-agent/host-tools/shared/index.d.ts +1 -1
- package/dist/embedded-agent/host-tools/shared/index.js +1 -1
- package/dist/embedded-agent/host-tools/shared/llm-stream-error.d.ts +7 -0
- package/dist/embedded-agent/host-tools/shared/llm-stream-error.js +10 -0
- package/dist/embedded-agent/host-tools/take-screenshot/contract.d.ts +0 -2
- package/dist/embedded-agent/host-tools/take-screenshot/contract.js +1 -3
- package/dist/embedded-agent/host-tools/take-screenshot/index.d.ts +1 -1
- package/dist/embedded-agent/host-tools/take-screenshot/index.js +1 -1
- package/dist/embedded-agent/host-tools/task/agents/clone.js +1 -2
- package/dist/embedded-agent/host-tools/task/contract.js +1 -1
- package/dist/embedded-agent/index.d.ts +3 -4
- package/dist/embedded-agent/index.js +2 -3
- package/dist/embedded-agent/model-selection.d.ts +0 -6
- package/dist/embedded-agent/model-selection.js +15 -8
- package/dist/embedded-agent/openai-completions-transport.d.ts +2 -11
- package/dist/embedded-agent/openai-completions-transport.js +20 -120
- package/dist/embedded-agent/openai-responses-transport.d.ts +2 -11
- package/dist/embedded-agent/openai-responses-transport.js +15 -170
- package/dist/embedded-agent/prompt/build.js +1 -2
- package/dist/embedded-agent/prompt/sections.d.ts +1 -1
- package/dist/embedded-agent/prompt/sections.js +2 -0
- package/dist/embedded-agent/provider-native-request.d.ts +29 -0
- package/dist/embedded-agent/provider-native-request.js +65 -0
- package/dist/embedded-agent/run-stats.d.ts +1 -1
- package/dist/embedded-agent/stream.d.ts +10 -96
- package/dist/embedded-agent/stream.js +31 -556
- package/dist/embedded-agent/suggestions.d.ts +1 -1
- package/dist/embedded-agent/suggestions.js +1 -1
- package/dist/embedded-agent/worker-bridge/host-client.d.ts +7 -0
- package/dist/embedded-agent/worker-bridge/host-client.js +15 -0
- package/dist/embedded-agent/worker-bridge/worker-port.js +17 -1
- package/dist/main.js +18 -14
- package/dist/rpc/index.d.ts +1 -1
- package/dist/rpc/rpc-approval-gates.js +1 -2
- package/dist/rpc/rpc-host.d.ts +4 -0
- package/dist/rpc/rpc-host.js +13 -24
- package/dist/rpc/rpc-types.d.ts +6 -17
- package/dist/shared/platform/open.d.ts +4 -1
- package/dist/shared/platform/open.js +14 -2
- package/dist/shell/approvals/runtime-approval-gates.js +1 -3
- package/dist/shell/components/selectors/model-selector.js +2 -1
- package/dist/shell/components/selectors/session-selector-search.js +1 -1
- package/dist/shell/components/selectors/thinking-selector.js +7 -6
- package/dist/shell/index.d.ts +0 -1
- package/dist/shell/index.js +0 -1
- package/dist/shell/interactive/interactive-mode-options.d.ts +10 -0
- package/dist/shell/interactive/interactive-mode.d.ts +6 -12
- package/dist/shell/interactive/interactive-mode.js +39 -158
- package/dist/shell/interactive/slash-commands.d.ts +0 -34
- package/dist/shell/interactive/slash-commands.js +0 -2
- package/dist/shell/links/local-file-link-input.d.ts +15 -0
- package/dist/shell/links/local-file-link-input.js +38 -0
- package/dist/shell/links/local-file-link.d.ts +7 -0
- package/dist/shell/links/local-file-link.js +35 -0
- package/dist/shell/links/local-file-opener.d.ts +16 -0
- package/dist/shell/links/local-file-opener.js +90 -0
- package/dist/shell/session-client.d.ts +0 -1
- package/dist/shell/session-client.js +0 -6
- package/dist/shell/status/update-check-scheduler.d.ts +30 -0
- package/dist/shell/status/update-check-scheduler.js +71 -0
- package/dist/shell/status/update-reminder-controller.d.ts +22 -0
- package/dist/shell/status/update-reminder-controller.js +40 -0
- package/dist/shell/status/update-reminder.d.ts +6 -0
- package/dist/shell/status/update-reminder.js +4 -0
- package/dist/shell/theme/dark.json +1 -2
- package/dist/shell/theme/light.json +1 -2
- package/dist/shell/theme/runtime.d.ts +2 -3
- package/dist/shell/theme/runtime.js +2 -6
- package/dist/shell/theme/theme-schema.json +1 -6
- package/dist/shortcut-model-catalog.d.ts +7 -2
- package/dist/shortcut-model-catalog.js +134 -10
- package/dist/startup/update-manager.d.ts +6 -6
- package/dist/startup/update-manager.js +23 -38
- package/dist/startup/update-prompt.d.ts +1 -0
- package/dist/startup/update-prompt.js +2 -2
- package/dist/tui/components/editor.d.ts +1 -1
- package/dist/tui/components/editor.js +1 -1
- package/dist/tui/components/markdown.js +15 -6
- package/dist/tui/components/settings-list.js +1 -1
- package/dist/tui/editor-component.d.ts +1 -1
- package/dist/tui/index.d.ts +7 -8
- package/dist/tui/index.js +7 -6
- package/dist/tui/tui.d.ts +2 -0
- package/dist/tui/tui.js +16 -1
- package/dist/tui/utils.d.ts +7 -0
- package/dist/tui/utils.js +58 -8
- package/native-app/main/index.js +3200 -48
- package/native-app/main/{photon_rs-SoVDgheu.js → photon_rs-XkYyYTVA.js} +2 -2
- package/native-app/package.json +1 -1
- package/native-app/preload/index.cjs +2 -0
- package/native-app/renderer/assets/{index-CFc-oZuS.js → index-B4jz6epR.js} +825 -155
- package/native-app/renderer/assets/{index-OhGE0UY4.css → index-C__g36ft.css} +412 -162
- package/native-app/renderer/assets/shortcutagent-DxFsGSkw.png +0 -0
- package/native-app/renderer/index.html +2 -2
- package/package.json +17 -3
- package/skills/add-custom-model/SKILL.md +52 -0
- package/user-docs/dist/index.html +1 -1
- package/user-docs/dist/shortcutxl-docs.pdf +0 -0
- package/xll/ShortcutXL.xll +0 -0
- package/xll/modules/shortcut_xl/_managed.py +26 -7
- package/xll/modules/shortcut_xl/_tracking.py +141 -251
- package/xll/modules/shortcut_xl/api/__init__.py +60 -0
- package/xll/modules/shortcut_xl/api/workbook.py +9 -1
- package/xll/modules/shortcut_xl/api/worksheet.py +4 -1
- package/xll/python/Lib/site-packages/httpx-0.28.1.dist-info/RECORD +1 -1
- package/xll/python/Lib/site-packages/idna-3.18.dist-info/RECORD +1 -1
- package/xll/python/Lib/site-packages/pip/__init__.py +1 -1
- package/xll/python/Lib/site-packages/pip/_internal/build_env/__init__.py +25 -0
- package/xll/python/Lib/site-packages/pip/_internal/build_env/base.py +103 -0
- package/xll/python/Lib/site-packages/pip/_internal/build_env/installer.py +333 -0
- package/xll/python/Lib/site-packages/pip/_internal/build_env/noop.py +42 -0
- package/xll/python/Lib/site-packages/pip/_internal/build_env/venv.py +145 -0
- package/xll/python/Lib/site-packages/pip/_internal/build_env/virtual.py +139 -0
- package/xll/python/Lib/site-packages/pip/_internal/cache.py +4 -1
- package/xll/python/Lib/site-packages/pip/_internal/cli/autocompletion.py +4 -1
- package/xll/python/Lib/site-packages/pip/_internal/cli/base_command.py +11 -14
- package/xll/python/Lib/site-packages/pip/_internal/cli/cmdoptions.py +133 -22
- package/xll/python/Lib/site-packages/pip/_internal/cli/index_command.py +11 -6
- package/xll/python/Lib/site-packages/pip/_internal/cli/main.py +2 -1
- package/xll/python/Lib/site-packages/pip/_internal/cli/main_parser.py +1 -2
- package/xll/python/Lib/site-packages/pip/_internal/cli/parser.py +10 -2
- package/xll/python/Lib/site-packages/pip/_internal/cli/progress_bars.py +2 -2
- package/xll/python/Lib/site-packages/pip/_internal/cli/req_command.py +57 -25
- package/xll/python/Lib/site-packages/pip/_internal/cli/status_codes.py +1 -0
- package/xll/python/Lib/site-packages/pip/_internal/commands/cache.py +7 -6
- package/xll/python/Lib/site-packages/pip/_internal/commands/configuration.py +2 -1
- package/xll/python/Lib/site-packages/pip/_internal/commands/debug.py +4 -5
- package/xll/python/Lib/site-packages/pip/_internal/commands/download.py +4 -0
- package/xll/python/Lib/site-packages/pip/_internal/commands/freeze.py +1 -1
- package/xll/python/Lib/site-packages/pip/_internal/commands/index.py +10 -3
- package/xll/python/Lib/site-packages/pip/_internal/commands/inspect.py +1 -1
- package/xll/python/Lib/site-packages/pip/_internal/commands/install.py +6 -6
- package/xll/python/Lib/site-packages/pip/_internal/commands/list.py +11 -6
- package/xll/python/Lib/site-packages/pip/_internal/commands/lock.py +4 -6
- package/xll/python/Lib/site-packages/pip/_internal/commands/show.py +14 -8
- package/xll/python/Lib/site-packages/pip/_internal/commands/wheel.py +7 -1
- package/xll/python/Lib/site-packages/pip/_internal/configuration.py +2 -3
- package/xll/python/Lib/site-packages/pip/_internal/distributions/base.py +5 -3
- package/xll/python/Lib/site-packages/pip/_internal/distributions/installed.py +3 -2
- package/xll/python/Lib/site-packages/pip/_internal/distributions/sdist.py +45 -20
- package/xll/python/Lib/site-packages/pip/_internal/distributions/wheel.py +3 -2
- package/xll/python/Lib/site-packages/pip/_internal/exceptions.py +174 -0
- package/xll/python/Lib/site-packages/pip/_internal/index/collector.py +70 -48
- package/xll/python/Lib/site-packages/pip/_internal/index/package_finder.py +46 -7
- package/xll/python/Lib/site-packages/pip/_internal/index/sources.py +1 -2
- package/xll/python/Lib/site-packages/pip/_internal/locations/_sysconfig.py +1 -1
- package/xll/python/Lib/site-packages/pip/_internal/locations/base.py +1 -1
- package/xll/python/Lib/site-packages/pip/_internal/metadata/base.py +10 -5
- package/xll/python/Lib/site-packages/pip/_internal/metadata/importlib/_dists.py +1 -1
- package/xll/python/Lib/site-packages/pip/_internal/metadata/importlib/_envs.py +8 -3
- package/xll/python/Lib/site-packages/pip/_internal/models/candidate.py +5 -1
- package/xll/python/Lib/site-packages/pip/_internal/models/link.py +53 -13
- package/xll/python/Lib/site-packages/pip/_internal/network/auth.py +38 -21
- package/xll/python/Lib/site-packages/pip/_internal/network/cache.py +2 -2
- package/xll/python/Lib/site-packages/pip/_internal/network/download.py +58 -11
- package/xll/python/Lib/site-packages/pip/_internal/network/session.py +35 -40
- package/xll/python/Lib/site-packages/pip/_internal/network/utils.py +109 -1
- package/xll/python/Lib/site-packages/pip/_internal/operations/check.py +2 -3
- package/xll/python/Lib/site-packages/pip/_internal/operations/install/wheel.py +23 -18
- package/xll/python/Lib/site-packages/pip/_internal/operations/prepare.py +152 -7
- package/xll/python/Lib/site-packages/pip/_internal/req/__init__.py +2 -0
- package/xll/python/Lib/site-packages/pip/_internal/req/constructors.py +54 -69
- package/xll/python/Lib/site-packages/pip/_internal/req/req_file.py +6 -6
- package/xll/python/Lib/site-packages/pip/_internal/req/req_install.py +25 -21
- package/xll/python/Lib/site-packages/pip/_internal/req/req_uninstall.py +13 -8
- package/xll/python/Lib/site-packages/pip/_internal/resolution/base.py +2 -2
- package/xll/python/Lib/site-packages/pip/_internal/resolution/legacy/resolver.py +2 -2
- package/xll/python/Lib/site-packages/pip/_internal/resolution/resolvelib/base.py +1 -1
- package/xll/python/Lib/site-packages/pip/_internal/resolution/resolvelib/candidates.py +0 -1
- package/xll/python/Lib/site-packages/pip/_internal/resolution/resolvelib/factory.py +39 -52
- package/xll/python/Lib/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +3 -3
- package/xll/python/Lib/site-packages/pip/_internal/resolution/resolvelib/provider.py +3 -0
- package/xll/python/Lib/site-packages/pip/_internal/resolution/resolvelib/resolver.py +9 -0
- package/xll/python/Lib/site-packages/pip/_internal/utils/compat.py +15 -9
- package/xll/python/Lib/site-packages/pip/_internal/utils/deprecation.py +6 -1
- package/xll/python/Lib/site-packages/pip/_internal/utils/filesystem.py +2 -2
- package/xll/python/Lib/site-packages/pip/_internal/utils/logging.py +11 -3
- package/xll/python/Lib/site-packages/pip/_internal/utils/misc.py +48 -4
- package/xll/python/Lib/site-packages/pip/_internal/utils/pylock.py +18 -2
- package/xll/python/Lib/site-packages/pip/_internal/utils/retry.py +2 -1
- package/xll/python/Lib/site-packages/pip/_internal/utils/subprocess.py +4 -3
- package/xll/python/Lib/site-packages/pip/_internal/utils/temp_dir.py +1 -2
- package/xll/python/Lib/site-packages/pip/_internal/utils/unpacking.py +30 -4
- package/xll/python/Lib/site-packages/pip/_internal/utils/urls.py +5 -2
- package/xll/python/Lib/site-packages/pip/_internal/utils/virtualenv.py +2 -36
- package/xll/python/Lib/site-packages/pip/_internal/vcs/git.py +8 -5
- package/xll/python/Lib/site-packages/pip/_internal/vcs/versioncontrol.py +1 -2
- package/xll/python/Lib/site-packages/pip/_internal/wheel_builder.py +5 -1
- package/xll/python/Lib/site-packages/pip/_vendor/bom.cdx.json +231 -0
- package/xll/python/Lib/site-packages/pip/_vendor/certifi/__init__.py +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/certifi/cacert.pem +0 -631
- package/xll/python/Lib/site-packages/pip/_vendor/distlib/__init__.py +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/distlib/compat.py +34 -64
- package/xll/python/Lib/site-packages/pip/_vendor/distlib/resources.py +28 -14
- package/xll/python/Lib/site-packages/pip/_vendor/distlib/scripts.py +7 -3
- package/xll/python/Lib/site-packages/pip/_vendor/distlib/util.py +48 -11
- package/xll/python/Lib/site-packages/pip/_vendor/idna/LICENSE.md +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/idna/__main__.py +6 -0
- package/xll/python/Lib/site-packages/pip/_vendor/idna/cli.py +128 -0
- package/xll/python/Lib/site-packages/pip/_vendor/idna/codec.py +50 -13
- package/xll/python/Lib/site-packages/pip/_vendor/idna/compat.py +26 -0
- package/xll/python/Lib/site-packages/pip/_vendor/idna/core.py +352 -141
- package/xll/python/Lib/site-packages/pip/_vendor/idna/idnadata.py +571 -2983
- package/xll/python/Lib/site-packages/pip/_vendor/idna/intranges.py +5 -7
- package/xll/python/Lib/site-packages/pip/_vendor/idna/package_data.py +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/idna/uts46data.py +16887 -8832
- package/xll/python/Lib/site-packages/pip/_vendor/platformdirs/__init__.py +352 -66
- package/xll/python/Lib/site-packages/pip/_vendor/platformdirs/__main__.py +11 -0
- package/xll/python/Lib/site-packages/pip/_vendor/platformdirs/_xdg.py +171 -0
- package/xll/python/Lib/site-packages/pip/_vendor/platformdirs/android.py +92 -41
- package/xll/python/Lib/site-packages/pip/_vendor/platformdirs/api.py +213 -49
- package/xll/python/Lib/site-packages/pip/_vendor/platformdirs/macos.py +128 -51
- package/xll/python/Lib/site-packages/pip/_vendor/platformdirs/unix.py +176 -127
- package/xll/python/Lib/site-packages/pip/_vendor/platformdirs/version.py +8 -18
- package/xll/python/Lib/site-packages/pip/_vendor/platformdirs/windows.py +185 -68
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/__init__.py +2 -2
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/__main__.py +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/console.py +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/filter.py +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/filters/__init__.py +10 -8
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/formatter.py +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/formatters/__init__.py +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/lexer.py +7 -5
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/lexers/__init__.py +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/lexers/_mapping.py +9 -8
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/lexers/python.py +35 -32
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/modeline.py +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/plugin.py +3 -1
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/regexopt.py +13 -2
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/scanner.py +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/sphinxext.py +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/style.py +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/styles/__init__.py +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/token.py +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/unistring.py +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/pygments/util.py +2 -2
- package/xll/python/Lib/site-packages/pip/_vendor/requests/__init__.py +52 -16
- package/xll/python/Lib/site-packages/pip/_vendor/requests/__version__.py +2 -2
- package/xll/python/Lib/site-packages/pip/_vendor/requests/_internal_utils.py +2 -2
- package/xll/python/Lib/site-packages/pip/_vendor/requests/_types.py +183 -0
- package/xll/python/Lib/site-packages/pip/_vendor/requests/adapters.py +101 -50
- package/xll/python/Lib/site-packages/pip/_vendor/requests/api.py +31 -8
- package/xll/python/Lib/site-packages/pip/_vendor/requests/auth.py +80 -40
- package/xll/python/Lib/site-packages/pip/_vendor/requests/compat.py +9 -3
- package/xll/python/Lib/site-packages/pip/_vendor/requests/cookies.py +143 -79
- package/xll/python/Lib/site-packages/pip/_vendor/requests/exceptions.py +15 -5
- package/xll/python/Lib/site-packages/pip/_vendor/requests/help.py +13 -10
- package/xll/python/Lib/site-packages/pip/_vendor/requests/hooks.py +23 -9
- package/xll/python/Lib/site-packages/pip/_vendor/requests/models.py +265 -126
- package/xll/python/Lib/site-packages/pip/_vendor/requests/py.typed +0 -0
- package/xll/python/Lib/site-packages/pip/_vendor/requests/sessions.py +164 -78
- package/xll/python/Lib/site-packages/pip/_vendor/requests/status_codes.py +2 -2
- package/xll/python/Lib/site-packages/pip/_vendor/requests/structures.py +51 -20
- package/xll/python/Lib/site-packages/pip/_vendor/requests/utils.py +161 -89
- package/xll/python/Lib/site-packages/pip/_vendor/tomli/__init__.py +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/tomli/_parser.py +9 -4
- package/xll/python/Lib/site-packages/pip/_vendor/tomli/_re.py +13 -9
- package/xll/python/Lib/site-packages/pip/_vendor/urllib3/_base_connection.py +3 -1
- package/xll/python/Lib/site-packages/pip/_vendor/urllib3/_collections.py +0 -1
- package/xll/python/Lib/site-packages/pip/_vendor/urllib3/_version.py +8 -18
- package/xll/python/Lib/site-packages/pip/_vendor/urllib3/connection.py +4 -4
- package/xll/python/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py +23 -10
- package/xll/python/Lib/site-packages/pip/_vendor/urllib3/contrib/emscripten/response.py +5 -1
- package/xll/python/Lib/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +7 -8
- package/xll/python/Lib/site-packages/pip/_vendor/urllib3/contrib/socks.py +1 -1
- package/xll/python/Lib/site-packages/pip/_vendor/urllib3/exceptions.py +2 -2
- package/xll/python/Lib/site-packages/pip/_vendor/urllib3/fields.py +14 -14
- package/xll/python/Lib/site-packages/pip/_vendor/urllib3/poolmanager.py +8 -6
- package/xll/python/Lib/site-packages/pip/_vendor/urllib3/response.py +35 -22
- package/xll/python/Lib/site-packages/pip/_vendor/urllib3/util/retry.py +8 -0
- package/xll/python/Lib/site-packages/pip/_vendor/urllib3/util/ssl_.py +11 -61
- package/xll/python/Lib/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +5 -11
- package/xll/python/Lib/site-packages/pip/_vendor/vendor.txt +8 -8
- package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/METADATA +3 -2
- package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/RECORD +208 -188
- package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/AUTHORS.txt +20 -0
- package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/idna/LICENSE.md +1 -1
- package/xll/python/Lib/site-packages/pywin32-311.dist-info/RECORD +2 -2
- package/xll/python/Scripts/httpx.exe +0 -0
- package/xll/python/Scripts/idna.exe +0 -0
- package/xll/python/Scripts/pip.exe +0 -0
- package/xll/python/Scripts/pip3.13.exe +0 -0
- package/xll/python/Scripts/pip3.exe +0 -0
- package/xll/python/Scripts/pywin32_postinstall.exe +0 -0
- package/xll/python/Scripts/pywin32_testall.exe +0 -0
- package/dist/app/collab/awareness.d.ts +0 -32
- package/dist/app/collab/awareness.js +0 -52
- package/dist/app/collab/collab-client.d.ts +0 -37
- package/dist/app/collab/collab-client.js +0 -208
- package/dist/app/collab/collab-manager.d.ts +0 -91
- package/dist/app/collab/collab-manager.js +0 -218
- package/dist/app/collab/collab-sync.d.ts +0 -62
- package/dist/app/collab/collab-sync.js +0 -215
- package/dist/app/collab/index.d.ts +0 -9
- package/dist/app/collab/index.js +0 -6
- package/dist/app/collab/super-fight.d.ts +0 -90
- package/dist/app/collab/super-fight.js +0 -310
- package/dist/app/collab/sync-bridge.d.ts +0 -35
- package/dist/app/collab/sync-bridge.js +0 -109
- package/dist/app/collab/types.d.ts +0 -75
- package/dist/app/collab/types.js +0 -5
- package/dist/embedded-agent/ai-content.d.ts +0 -52
- package/dist/embedded-agent/ai-content.js +0 -101
- package/dist/embedded-agent/host-tools/shared/llm-stream.d.ts +0 -31
- package/dist/embedded-agent/host-tools/shared/llm-stream.js +0 -136
- package/dist/embedded-agent/model-call-orchestrator.d.ts +0 -22
- package/dist/embedded-agent/model-call-orchestrator.js +0 -22
- package/dist/embedded-agent/stream-errors.d.ts +0 -10
- package/dist/embedded-agent/stream-errors.js +0 -73
- package/dist/embedded-agent/stream-message-state.d.ts +0 -14
- package/dist/embedded-agent/stream-message-state.js +0 -271
- package/dist/embedded-agent/stream-sse.d.ts +0 -78
- package/dist/embedded-agent/stream-sse.js +0 -73
- package/dist/shell/approvals/task-spawn-approval.d.ts +0 -20
- package/dist/shell/approvals/task-spawn-approval.js +0 -93
- package/dist/shell/interactive/collab-command.d.ts +0 -9
- package/dist/shell/interactive/collab-command.js +0 -115
- package/dist/shell/interactive/super-fight-ui.d.ts +0 -80
- package/dist/shell/interactive/super-fight-ui.js +0 -484
- package/dist/shell/status/collab-status.d.ts +0 -18
- package/dist/shell/status/collab-status.js +0 -46
- package/xll/python/Lib/site-packages/pip/_internal/build_env.py +0 -606
- /package/dist/{tui → autocomplete}/skill-autocomplete.js +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/INSTALLER +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/REQUESTED +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/WHEEL +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/entry_points.txt +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/LICENSE.txt +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/certifi/LICENSE +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/distlib/LICENSE.txt +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/distro/LICENSE +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/msgpack/COPYING +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/packaging/LICENSE +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/packaging/LICENSE.APACHE +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/packaging/LICENSE.BSD +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/pkg_resources/LICENSE +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/platformdirs/LICENSE +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/pygments/LICENSE +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/pyproject_hooks/LICENSE +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/requests/LICENSE +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/resolvelib/LICENSE +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/rich/LICENSE +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/tomli/LICENSE +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/tomli_w/LICENSE +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/truststore/LICENSE +0 -0
- /package/xll/python/Lib/site-packages/{pip-26.1.2.dist-info → pip-26.2.dist-info}/licenses/src/pip/_vendor/urllib3/LICENSE.txt +0 -0
|
@@ -13,7 +13,13 @@ if TYPE_CHECKING:
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
class PlatformDirsABC(ABC): # noqa: PLR0904
|
|
16
|
-
"""Abstract base class
|
|
16
|
+
"""Abstract base class defining all platform directory properties, their :class:`~pathlib.Path` variants, and iterators.
|
|
17
|
+
|
|
18
|
+
Platform-specific subclasses (e.g. :class:`~platformdirs.windows.Windows`, :class:`~platformdirs.macos.MacOS`,
|
|
19
|
+
:class:`~platformdirs.unix.Unix`) implement the abstract properties to return the appropriate paths for each
|
|
20
|
+
operating system.
|
|
21
|
+
|
|
22
|
+
"""
|
|
17
23
|
|
|
18
24
|
def __init__( # noqa: PLR0913, PLR0917
|
|
19
25
|
self,
|
|
@@ -24,9 +30,9 @@ class PlatformDirsABC(ABC): # noqa: PLR0904
|
|
|
24
30
|
multipath: bool = False, # noqa: FBT001, FBT002
|
|
25
31
|
opinion: bool = True, # noqa: FBT001, FBT002
|
|
26
32
|
ensure_exists: bool = False, # noqa: FBT001, FBT002
|
|
33
|
+
use_site_for_root: bool = False, # noqa: FBT001, FBT002
|
|
27
34
|
) -> None:
|
|
28
|
-
"""
|
|
29
|
-
Create a new platform directory.
|
|
35
|
+
"""Create a new platform directory.
|
|
30
36
|
|
|
31
37
|
:param appname: See `appname`.
|
|
32
38
|
:param appauthor: See `appauthor`.
|
|
@@ -35,48 +41,64 @@ class PlatformDirsABC(ABC): # noqa: PLR0904
|
|
|
35
41
|
:param multipath: See `multipath`.
|
|
36
42
|
:param opinion: See `opinion`.
|
|
37
43
|
:param ensure_exists: See `ensure_exists`.
|
|
44
|
+
:param use_site_for_root: See `use_site_for_root`.
|
|
38
45
|
|
|
39
46
|
"""
|
|
40
|
-
self.appname = appname #: The name of application.
|
|
47
|
+
self.appname = appname #: The name of the application.
|
|
41
48
|
self.appauthor = appauthor
|
|
42
|
-
"""
|
|
43
|
-
The name of the app author or distributing body for this application.
|
|
49
|
+
"""The name of the app author or distributing body for this application.
|
|
44
50
|
|
|
45
51
|
Typically, it is the owning company name. Defaults to `appname`. You may pass ``False`` to disable it.
|
|
46
52
|
|
|
53
|
+
.. note::
|
|
54
|
+
|
|
55
|
+
On Windows, the directory structure is ``<base>/<appauthor>/<appname>``. When ``appauthor`` is ``None`` (the
|
|
56
|
+
default), it falls back to ``appname``, resulting in ``<base>/<appname>/<appname>`` (e.g.
|
|
57
|
+
``AppData/Local/myapp/myapp``). Pass ``appauthor=False`` to omit the author directory entirely and get
|
|
58
|
+
``<base>/<appname>``.
|
|
59
|
+
|
|
47
60
|
"""
|
|
48
61
|
self.version = version
|
|
49
|
-
"""
|
|
50
|
-
An optional version path element to append to the path.
|
|
62
|
+
"""An optional version path element to append to the path.
|
|
51
63
|
|
|
52
64
|
You might want to use this if you want multiple versions of your app to be able to run independently. If used,
|
|
53
65
|
this would typically be ``<major>.<minor>``.
|
|
54
66
|
|
|
55
67
|
"""
|
|
56
68
|
self.roaming = roaming
|
|
57
|
-
"""
|
|
58
|
-
Whether to use the roaming appdata directory on Windows.
|
|
69
|
+
"""Whether to use the roaming appdata directory on Windows.
|
|
59
70
|
|
|
60
71
|
That means that for users on a Windows network setup for roaming profiles, this user data will be synced on
|
|
61
|
-
login (see
|
|
62
|
-
`here <https://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx>`_).
|
|
72
|
+
login (see `here <https://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx>`_).
|
|
63
73
|
|
|
64
74
|
"""
|
|
65
75
|
self.multipath = multipath
|
|
76
|
+
"""An optional parameter which indicates that the entire list of data dirs should be returned.
|
|
77
|
+
|
|
78
|
+
By default, the first item would only be returned. Only affects ``site_data_dir`` and ``site_config_dir`` on
|
|
79
|
+
Unix and macOS.
|
|
80
|
+
|
|
66
81
|
"""
|
|
67
|
-
|
|
82
|
+
self.opinion = opinion
|
|
83
|
+
"""Whether to use opinionated values.
|
|
68
84
|
|
|
69
|
-
|
|
85
|
+
When enabled, appends an additional subdirectory for certain directories: e.g. ``Cache`` for cache and ``Logs``
|
|
86
|
+
for logs on Windows, ``log`` for logs on Unix.
|
|
70
87
|
|
|
71
88
|
"""
|
|
72
|
-
self.opinion = opinion #: A flag to indicating to use opinionated values.
|
|
73
89
|
self.ensure_exists = ensure_exists
|
|
74
|
-
"""
|
|
75
|
-
Optionally create the directory (and any missing parents) upon access if it does not exist.
|
|
90
|
+
"""Optionally create the directory (and any missing parents) upon access if it does not exist.
|
|
76
91
|
|
|
77
92
|
By default, no directories are created.
|
|
78
93
|
|
|
79
94
|
"""
|
|
95
|
+
self.use_site_for_root = use_site_for_root
|
|
96
|
+
"""Whether to redirect ``user_*_dir`` calls to their ``site_*_dir`` equivalents when running as root (uid 0).
|
|
97
|
+
|
|
98
|
+
Only has an effect on Unix. Disabled by default for backwards compatibility. When enabled, XDG user environment
|
|
99
|
+
variables (e.g. ``XDG_DATA_HOME``) are bypassed for the redirected directories.
|
|
100
|
+
|
|
101
|
+
"""
|
|
80
102
|
|
|
81
103
|
def _append_app_name_and_version(self, *base: str) -> str:
|
|
82
104
|
params = list(base[1:])
|
|
@@ -101,161 +123,283 @@ class PlatformDirsABC(ABC): # noqa: PLR0904
|
|
|
101
123
|
@property
|
|
102
124
|
@abstractmethod
|
|
103
125
|
def user_data_dir(self) -> str:
|
|
104
|
-
""":
|
|
126
|
+
""":returns: data directory tied to the user"""
|
|
105
127
|
|
|
106
128
|
@property
|
|
107
129
|
@abstractmethod
|
|
108
130
|
def site_data_dir(self) -> str:
|
|
109
|
-
""":
|
|
131
|
+
""":returns: data directory shared by users"""
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def _site_data_dirs(self) -> list[str]:
|
|
135
|
+
raise NotImplementedError
|
|
110
136
|
|
|
111
137
|
@property
|
|
112
138
|
@abstractmethod
|
|
113
139
|
def user_config_dir(self) -> str:
|
|
114
|
-
""":
|
|
140
|
+
""":returns: config directory tied to the user"""
|
|
115
141
|
|
|
116
142
|
@property
|
|
117
143
|
@abstractmethod
|
|
118
144
|
def site_config_dir(self) -> str:
|
|
119
|
-
""":
|
|
145
|
+
""":returns: config directory shared by users"""
|
|
146
|
+
|
|
147
|
+
@property
|
|
148
|
+
def _site_config_dirs(self) -> list[str]:
|
|
149
|
+
raise NotImplementedError
|
|
120
150
|
|
|
121
151
|
@property
|
|
122
152
|
@abstractmethod
|
|
123
153
|
def user_cache_dir(self) -> str:
|
|
124
|
-
""":
|
|
154
|
+
""":returns: cache directory tied to the user"""
|
|
125
155
|
|
|
126
156
|
@property
|
|
127
157
|
@abstractmethod
|
|
128
158
|
def site_cache_dir(self) -> str:
|
|
129
|
-
""":
|
|
159
|
+
""":returns: cache directory shared by users"""
|
|
130
160
|
|
|
131
161
|
@property
|
|
132
162
|
@abstractmethod
|
|
133
163
|
def user_state_dir(self) -> str:
|
|
134
|
-
""":
|
|
164
|
+
""":returns: state directory tied to the user"""
|
|
165
|
+
|
|
166
|
+
@property
|
|
167
|
+
@abstractmethod
|
|
168
|
+
def site_state_dir(self) -> str:
|
|
169
|
+
""":returns: state directory shared by users"""
|
|
135
170
|
|
|
136
171
|
@property
|
|
137
172
|
@abstractmethod
|
|
138
173
|
def user_log_dir(self) -> str:
|
|
139
|
-
""":
|
|
174
|
+
""":returns: log directory tied to the user"""
|
|
175
|
+
|
|
176
|
+
@property
|
|
177
|
+
@abstractmethod
|
|
178
|
+
def site_log_dir(self) -> str:
|
|
179
|
+
""":returns: log directory shared by users"""
|
|
140
180
|
|
|
141
181
|
@property
|
|
142
182
|
@abstractmethod
|
|
143
183
|
def user_documents_dir(self) -> str:
|
|
144
|
-
""":
|
|
184
|
+
""":returns: documents directory tied to the user"""
|
|
145
185
|
|
|
146
186
|
@property
|
|
147
187
|
@abstractmethod
|
|
148
188
|
def user_downloads_dir(self) -> str:
|
|
149
|
-
""":
|
|
189
|
+
""":returns: downloads directory tied to the user"""
|
|
150
190
|
|
|
151
191
|
@property
|
|
152
192
|
@abstractmethod
|
|
153
193
|
def user_pictures_dir(self) -> str:
|
|
154
|
-
""":
|
|
194
|
+
""":returns: pictures directory tied to the user"""
|
|
155
195
|
|
|
156
196
|
@property
|
|
157
197
|
@abstractmethod
|
|
158
198
|
def user_videos_dir(self) -> str:
|
|
159
|
-
""":
|
|
199
|
+
""":returns: videos directory tied to the user"""
|
|
160
200
|
|
|
161
201
|
@property
|
|
162
202
|
@abstractmethod
|
|
163
203
|
def user_music_dir(self) -> str:
|
|
164
|
-
""":
|
|
204
|
+
""":returns: music directory tied to the user"""
|
|
165
205
|
|
|
166
206
|
@property
|
|
167
207
|
@abstractmethod
|
|
168
208
|
def user_desktop_dir(self) -> str:
|
|
169
|
-
""":
|
|
209
|
+
""":returns: desktop directory tied to the user"""
|
|
210
|
+
|
|
211
|
+
@property
|
|
212
|
+
@abstractmethod
|
|
213
|
+
def user_projects_dir(self) -> str:
|
|
214
|
+
""":returns: projects directory tied to the user"""
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
@abstractmethod
|
|
218
|
+
def user_publicshare_dir(self) -> str:
|
|
219
|
+
""":returns: public share directory tied to the user"""
|
|
220
|
+
|
|
221
|
+
@property
|
|
222
|
+
@abstractmethod
|
|
223
|
+
def user_templates_dir(self) -> str:
|
|
224
|
+
""":returns: templates directory tied to the user"""
|
|
225
|
+
|
|
226
|
+
@property
|
|
227
|
+
@abstractmethod
|
|
228
|
+
def user_fonts_dir(self) -> str:
|
|
229
|
+
""":returns: fonts directory tied to the user"""
|
|
230
|
+
|
|
231
|
+
@property
|
|
232
|
+
@abstractmethod
|
|
233
|
+
def user_preference_dir(self) -> str:
|
|
234
|
+
""":returns: preference directory tied to the user"""
|
|
235
|
+
|
|
236
|
+
@property
|
|
237
|
+
@abstractmethod
|
|
238
|
+
def user_bin_dir(self) -> str:
|
|
239
|
+
""":returns: bin directory tied to the user"""
|
|
240
|
+
|
|
241
|
+
@property
|
|
242
|
+
@abstractmethod
|
|
243
|
+
def site_bin_dir(self) -> str:
|
|
244
|
+
""":returns: bin directory shared by users"""
|
|
245
|
+
|
|
246
|
+
@property
|
|
247
|
+
@abstractmethod
|
|
248
|
+
def user_applications_dir(self) -> str:
|
|
249
|
+
""":returns: applications directory tied to the user"""
|
|
250
|
+
|
|
251
|
+
@property
|
|
252
|
+
@abstractmethod
|
|
253
|
+
def site_applications_dir(self) -> str:
|
|
254
|
+
""":returns: applications directory shared by users"""
|
|
255
|
+
|
|
256
|
+
@property
|
|
257
|
+
def _site_applications_dirs(self) -> list[str]:
|
|
258
|
+
raise NotImplementedError
|
|
170
259
|
|
|
171
260
|
@property
|
|
172
261
|
@abstractmethod
|
|
173
262
|
def user_runtime_dir(self) -> str:
|
|
174
|
-
""":
|
|
263
|
+
""":returns: runtime directory tied to the user"""
|
|
175
264
|
|
|
176
265
|
@property
|
|
177
266
|
@abstractmethod
|
|
178
267
|
def site_runtime_dir(self) -> str:
|
|
179
|
-
""":
|
|
268
|
+
""":returns: runtime directory shared by users"""
|
|
180
269
|
|
|
181
270
|
@property
|
|
182
271
|
def user_data_path(self) -> Path:
|
|
183
|
-
""":
|
|
272
|
+
""":returns: data path tied to the user"""
|
|
184
273
|
return Path(self.user_data_dir)
|
|
185
274
|
|
|
186
275
|
@property
|
|
187
276
|
def site_data_path(self) -> Path:
|
|
188
|
-
""":
|
|
277
|
+
""":returns: data path shared by users"""
|
|
189
278
|
return Path(self.site_data_dir)
|
|
190
279
|
|
|
191
280
|
@property
|
|
192
281
|
def user_config_path(self) -> Path:
|
|
193
|
-
""":
|
|
282
|
+
""":returns: config path tied to the user"""
|
|
194
283
|
return Path(self.user_config_dir)
|
|
195
284
|
|
|
196
285
|
@property
|
|
197
286
|
def site_config_path(self) -> Path:
|
|
198
|
-
""":
|
|
287
|
+
""":returns: config path shared by users"""
|
|
199
288
|
return Path(self.site_config_dir)
|
|
200
289
|
|
|
201
290
|
@property
|
|
202
291
|
def user_cache_path(self) -> Path:
|
|
203
|
-
""":
|
|
292
|
+
""":returns: cache path tied to the user"""
|
|
204
293
|
return Path(self.user_cache_dir)
|
|
205
294
|
|
|
206
295
|
@property
|
|
207
296
|
def site_cache_path(self) -> Path:
|
|
208
|
-
""":
|
|
297
|
+
""":returns: cache path shared by users"""
|
|
209
298
|
return Path(self.site_cache_dir)
|
|
210
299
|
|
|
211
300
|
@property
|
|
212
301
|
def user_state_path(self) -> Path:
|
|
213
|
-
""":
|
|
302
|
+
""":returns: state path tied to the user"""
|
|
214
303
|
return Path(self.user_state_dir)
|
|
215
304
|
|
|
305
|
+
@property
|
|
306
|
+
def site_state_path(self) -> Path:
|
|
307
|
+
""":returns: state path shared by users"""
|
|
308
|
+
return Path(self.site_state_dir)
|
|
309
|
+
|
|
216
310
|
@property
|
|
217
311
|
def user_log_path(self) -> Path:
|
|
218
|
-
""":
|
|
312
|
+
""":returns: log path tied to the user"""
|
|
219
313
|
return Path(self.user_log_dir)
|
|
220
314
|
|
|
315
|
+
@property
|
|
316
|
+
def site_log_path(self) -> Path:
|
|
317
|
+
""":returns: log path shared by users"""
|
|
318
|
+
return Path(self.site_log_dir)
|
|
319
|
+
|
|
221
320
|
@property
|
|
222
321
|
def user_documents_path(self) -> Path:
|
|
223
|
-
""":
|
|
322
|
+
""":returns: documents path tied to the user"""
|
|
224
323
|
return Path(self.user_documents_dir)
|
|
225
324
|
|
|
226
325
|
@property
|
|
227
326
|
def user_downloads_path(self) -> Path:
|
|
228
|
-
""":
|
|
327
|
+
""":returns: downloads path tied to the user"""
|
|
229
328
|
return Path(self.user_downloads_dir)
|
|
230
329
|
|
|
231
330
|
@property
|
|
232
331
|
def user_pictures_path(self) -> Path:
|
|
233
|
-
""":
|
|
332
|
+
""":returns: pictures path tied to the user"""
|
|
234
333
|
return Path(self.user_pictures_dir)
|
|
235
334
|
|
|
236
335
|
@property
|
|
237
336
|
def user_videos_path(self) -> Path:
|
|
238
|
-
""":
|
|
337
|
+
""":returns: videos path tied to the user"""
|
|
239
338
|
return Path(self.user_videos_dir)
|
|
240
339
|
|
|
241
340
|
@property
|
|
242
341
|
def user_music_path(self) -> Path:
|
|
243
|
-
""":
|
|
342
|
+
""":returns: music path tied to the user"""
|
|
244
343
|
return Path(self.user_music_dir)
|
|
245
344
|
|
|
246
345
|
@property
|
|
247
346
|
def user_desktop_path(self) -> Path:
|
|
248
|
-
""":
|
|
347
|
+
""":returns: desktop path tied to the user"""
|
|
249
348
|
return Path(self.user_desktop_dir)
|
|
250
349
|
|
|
350
|
+
@property
|
|
351
|
+
def user_projects_path(self) -> Path:
|
|
352
|
+
""":returns: projects path tied to the user"""
|
|
353
|
+
return Path(self.user_projects_dir)
|
|
354
|
+
|
|
355
|
+
@property
|
|
356
|
+
def user_publicshare_path(self) -> Path:
|
|
357
|
+
""":returns: public share path tied to the user"""
|
|
358
|
+
return Path(self.user_publicshare_dir)
|
|
359
|
+
|
|
360
|
+
@property
|
|
361
|
+
def user_templates_path(self) -> Path:
|
|
362
|
+
""":returns: templates path tied to the user"""
|
|
363
|
+
return Path(self.user_templates_dir)
|
|
364
|
+
|
|
365
|
+
@property
|
|
366
|
+
def user_fonts_path(self) -> Path:
|
|
367
|
+
""":returns: fonts path tied to the user"""
|
|
368
|
+
return Path(self.user_fonts_dir)
|
|
369
|
+
|
|
370
|
+
@property
|
|
371
|
+
def user_preference_path(self) -> Path:
|
|
372
|
+
""":returns: preference path tied to the user"""
|
|
373
|
+
return Path(self.user_preference_dir)
|
|
374
|
+
|
|
375
|
+
@property
|
|
376
|
+
def user_bin_path(self) -> Path:
|
|
377
|
+
""":returns: bin path tied to the user"""
|
|
378
|
+
return Path(self.user_bin_dir)
|
|
379
|
+
|
|
380
|
+
@property
|
|
381
|
+
def site_bin_path(self) -> Path:
|
|
382
|
+
""":returns: bin path shared by users"""
|
|
383
|
+
return Path(self.site_bin_dir)
|
|
384
|
+
|
|
385
|
+
@property
|
|
386
|
+
def user_applications_path(self) -> Path:
|
|
387
|
+
""":returns: applications path tied to the user"""
|
|
388
|
+
return Path(self.user_applications_dir)
|
|
389
|
+
|
|
390
|
+
@property
|
|
391
|
+
def site_applications_path(self) -> Path:
|
|
392
|
+
""":returns: applications path shared by users"""
|
|
393
|
+
return Path(self.site_applications_dir)
|
|
394
|
+
|
|
251
395
|
@property
|
|
252
396
|
def user_runtime_path(self) -> Path:
|
|
253
|
-
""":
|
|
397
|
+
""":returns: runtime path tied to the user"""
|
|
254
398
|
return Path(self.user_runtime_dir)
|
|
255
399
|
|
|
256
400
|
@property
|
|
257
401
|
def site_runtime_path(self) -> Path:
|
|
258
|
-
""":
|
|
402
|
+
""":returns: runtime path shared by users"""
|
|
259
403
|
return Path(self.site_runtime_dir)
|
|
260
404
|
|
|
261
405
|
def iter_config_dirs(self) -> Iterator[str]:
|
|
@@ -273,6 +417,16 @@ class PlatformDirsABC(ABC): # noqa: PLR0904
|
|
|
273
417
|
yield self.user_cache_dir
|
|
274
418
|
yield self.site_cache_dir
|
|
275
419
|
|
|
420
|
+
def iter_state_dirs(self) -> Iterator[str]:
|
|
421
|
+
""":yield: all user and site state directories."""
|
|
422
|
+
yield self.user_state_dir
|
|
423
|
+
yield self.site_state_dir
|
|
424
|
+
|
|
425
|
+
def iter_log_dirs(self) -> Iterator[str]:
|
|
426
|
+
""":yield: all user and site log directories."""
|
|
427
|
+
yield self.user_log_dir
|
|
428
|
+
yield self.site_log_dir
|
|
429
|
+
|
|
276
430
|
def iter_runtime_dirs(self) -> Iterator[str]:
|
|
277
431
|
""":yield: all user and site runtime directories."""
|
|
278
432
|
yield self.user_runtime_dir
|
|
@@ -293,6 +447,16 @@ class PlatformDirsABC(ABC): # noqa: PLR0904
|
|
|
293
447
|
for path in self.iter_cache_dirs():
|
|
294
448
|
yield Path(path)
|
|
295
449
|
|
|
450
|
+
def iter_state_paths(self) -> Iterator[Path]:
|
|
451
|
+
""":yield: all user and site state paths."""
|
|
452
|
+
for path in self.iter_state_dirs():
|
|
453
|
+
yield Path(path)
|
|
454
|
+
|
|
455
|
+
def iter_log_paths(self) -> Iterator[Path]:
|
|
456
|
+
""":yield: all user and site log paths."""
|
|
457
|
+
for path in self.iter_log_dirs():
|
|
458
|
+
yield Path(path)
|
|
459
|
+
|
|
296
460
|
def iter_runtime_paths(self) -> Iterator[Path]:
|
|
297
461
|
""":yield: all user and site runtime paths."""
|
|
298
462
|
for path in self.iter_runtime_dirs():
|