@qqbrowser/qbot-dsh 0.0.9 → 0.0.10
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/node_modules/@deepseek-ai/cordis/package.json +1 -1
- package/node_modules/@deepseek-ai/cordis-plugin-hmr/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-presets/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-app-boot/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +8 -7
- package/node_modules/@deepseek-ai/dsh-base/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-bash-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-brand/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-connection/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-locale/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-runtime/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-schema-form/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-web/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-web-react/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-cmdline/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-code-runtime/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-code-runtime-worker-thread/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-command-compact/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-command-goal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-commands/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-compaction/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-content-review/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-credentials/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-fs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-fs-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-goal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-headless/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-home-paths/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-home-quarantine-macos/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-home-quarantine-macos/lib/invariant.js +1 -0
- package/node_modules/@deepseek-ai/dsh-home-quarantine-macos/package.json +1 -0
- package/node_modules/@deepseek-ai/dsh-host-apiproxy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-invariants/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-jobs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-gateway-openai/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-gateway-openai/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-native-command/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-output-retention/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-persona/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-qb-auth/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-qb-auth/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-schedule/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-scope/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-projection/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-query/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-reference/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-stats/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-title/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-settings/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-settings-file/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-shell/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-shell-env/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-skill/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-spill/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-spill-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-storage/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-storage-json/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subprocess/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-terminal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-time-context/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-timeout/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-token-meter/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent-report/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-web/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tools/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-user-approval/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-user-questions/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web-search-dsh/LICENSE +21 -0
- package/node_modules/@deepseek-ai/dsh-web-search-dsh/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-web-search-dsh/lib/invariant.js +1 -0
- package/node_modules/@deepseek-ai/dsh-web-search-dsh/package.json +1 -0
- package/node_modules/@deepseek-ai/dsh-workflow/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-workflow-worker-thread/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-workspace/package.json +1 -1
- package/node_modules/@deepseek-ai/node-addon-landlock-run/package.json +1 -1
- package/node_modules/@napi-rs/xattr/LICENSE +21 -0
- package/node_modules/@napi-rs/xattr/index.js +567 -0
- package/node_modules/@napi-rs/xattr/package.json +1 -0
- package/node_modules/@napi-rs/xattr-darwin-arm64/package.json +1 -0
- package/node_modules/@napi-rs/xattr-darwin-arm64/xattr.darwin-arm64.node +0 -0
- package/node_modules/@napi-rs/xattr-darwin-x64/package.json +1 -0
- package/node_modules/@napi-rs/xattr-darwin-x64/xattr.darwin-x64.node +0 -0
- package/node_modules/@parcel/watcher/LICENSE +21 -0
- package/node_modules/@parcel/watcher/index.js +44 -0
- package/node_modules/@parcel/watcher/index.js.flow +45 -0
- package/node_modules/@parcel/watcher/package.json +1 -0
- package/node_modules/@parcel/watcher/scripts/build-from-source.js +16 -0
- package/node_modules/@parcel/watcher/wrapper.js +88 -0
- package/node_modules/@parcel/watcher-darwin-arm64/LICENSE +21 -0
- package/node_modules/@parcel/watcher-darwin-arm64/package.json +1 -0
- package/node_modules/@parcel/watcher-darwin-arm64/watcher.node +0 -0
- package/node_modules/@parcel/watcher-darwin-x64/LICENSE +21 -0
- package/node_modules/@parcel/watcher-darwin-x64/package.json +1 -0
- package/node_modules/@parcel/watcher-darwin-x64/watcher.node +0 -0
- package/node_modules/@parcel/watcher-win32-x64/LICENSE +21 -0
- package/node_modules/@parcel/watcher-win32-x64/package.json +1 -0
- package/node_modules/@parcel/watcher-win32-x64/watcher.node +0 -0
- package/node_modules/is-extglob/LICENSE +21 -0
- package/node_modules/is-extglob/index.js +20 -0
- package/node_modules/is-extglob/package.json +1 -0
- package/node_modules/is-glob/LICENSE +21 -0
- package/node_modules/is-glob/index.js +150 -0
- package/node_modules/is-glob/package.json +1 -0
- package/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/lib/index.js +0 -1
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/lib/invariant.js +0 -1
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +0 -1
- /package/node_modules/@deepseek-ai/{dsh-web-search-deepseek → dsh-home-quarantine-macos}/LICENSE +0 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// @flow
|
|
2
|
+
declare type FilePath = string;
|
|
3
|
+
declare type GlobPattern = string;
|
|
4
|
+
|
|
5
|
+
export type BackendType =
|
|
6
|
+
| 'fs-events'
|
|
7
|
+
| 'watchman'
|
|
8
|
+
| 'inotify'
|
|
9
|
+
| 'windows'
|
|
10
|
+
| 'brute-force';
|
|
11
|
+
export type EventType = 'create' | 'update' | 'delete';
|
|
12
|
+
export interface Options {
|
|
13
|
+
ignore?: Array<FilePath | GlobPattern | RegExp>;
|
|
14
|
+
backend?: BackendType;
|
|
15
|
+
}
|
|
16
|
+
export type SubscribeCallback = (err: ?Error, events: Array<Event>) => mixed;
|
|
17
|
+
export interface AsyncSubscription {
|
|
18
|
+
unsubscribe(): Promise<void>;
|
|
19
|
+
}
|
|
20
|
+
export interface Event {
|
|
21
|
+
path: FilePath;
|
|
22
|
+
type: EventType;
|
|
23
|
+
}
|
|
24
|
+
declare module.exports: {
|
|
25
|
+
getEventsSince(
|
|
26
|
+
dir: FilePath,
|
|
27
|
+
snapshot: FilePath,
|
|
28
|
+
opts?: Options,
|
|
29
|
+
): Promise<Array<Event>>,
|
|
30
|
+
subscribe(
|
|
31
|
+
dir: FilePath,
|
|
32
|
+
fn: SubscribeCallback,
|
|
33
|
+
opts?: Options,
|
|
34
|
+
): Promise<AsyncSubscription>,
|
|
35
|
+
unsubscribe(
|
|
36
|
+
dir: FilePath,
|
|
37
|
+
fn: SubscribeCallback,
|
|
38
|
+
opts?: Options,
|
|
39
|
+
): Promise<void>,
|
|
40
|
+
writeSnapshot(
|
|
41
|
+
dir: FilePath,
|
|
42
|
+
snapshot: FilePath,
|
|
43
|
+
opts?: Options,
|
|
44
|
+
): Promise<FilePath>,
|
|
45
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"@parcel/watcher","version":"2.6.0","main":"index.js","license":"MIT","publishConfig":{"access":"public"},"engines":{"node":">= 10.0.0"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,mjs,json,md,ts,flow}":["prettier --write","git add"]},"dependencies":{"detect-libc":"^2.0.3","is-glob":"^4.0.3","node-addon-api":"^7.0.0","picomatch":"^4.0.4"},"binary":{"napi_versions":[3]},"optionalDependencies":{"@parcel/watcher-darwin-x64":"2.6.0","@parcel/watcher-darwin-arm64":"2.6.0","@parcel/watcher-win32-x64":"2.6.0","@parcel/watcher-win32-arm64":"2.6.0","@parcel/watcher-linux-x64-glibc":"2.6.0","@parcel/watcher-linux-x64-musl":"2.6.0","@parcel/watcher-linux-arm64-glibc":"2.6.0","@parcel/watcher-linux-arm64-musl":"2.6.0","@parcel/watcher-linux-arm-glibc":"2.6.0","@parcel/watcher-linux-arm-musl":"2.6.0","@parcel/watcher-android-arm64":"2.6.0","@parcel/watcher-freebsd-x64":"2.6.0"}}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const {spawn} = require('child_process');
|
|
4
|
+
|
|
5
|
+
if (process.env.npm_config_build_from_source === 'true') {
|
|
6
|
+
build();
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
function build() {
|
|
10
|
+
spawn('node-gyp', ['rebuild'], {stdio: 'inherit', shell: true}).on(
|
|
11
|
+
'exit',
|
|
12
|
+
function (code) {
|
|
13
|
+
process.exit(code);
|
|
14
|
+
},
|
|
15
|
+
);
|
|
16
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
const path = require('path');
|
|
2
|
+
const picomatch = require('picomatch');
|
|
3
|
+
const isGlob = require('is-glob');
|
|
4
|
+
|
|
5
|
+
function normalizeOptions(dir, opts = {}) {
|
|
6
|
+
const {ignore, ...rest} = opts;
|
|
7
|
+
|
|
8
|
+
if (Array.isArray(ignore)) {
|
|
9
|
+
opts = {...rest};
|
|
10
|
+
|
|
11
|
+
for (const value of ignore) {
|
|
12
|
+
if (value instanceof RegExp) {
|
|
13
|
+
if (value.flags !== '') {
|
|
14
|
+
throw new Error(
|
|
15
|
+
`RegExp ignore patterns must not have flags (got /${value.source}/${value.flags}). Flags are not supported by the native matcher.`,
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
if (!opts.ignoreGlobs) {
|
|
19
|
+
opts.ignoreGlobs = [];
|
|
20
|
+
}
|
|
21
|
+
// The native backend uses std::regex_match (full-string match), but
|
|
22
|
+
// callers expect JS .test() semantics (substring search). Wrapping the
|
|
23
|
+
// source in ^[\\s\\S]*(?:…)[\\s\\S]*$ achieves that. The (?:…) group
|
|
24
|
+
// isolates the source so leading/trailing | in the source stays contained.
|
|
25
|
+
opts.ignoreGlobs.push(`^[\\s\\S]*(?:${value.source})[\\s\\S]*$`);
|
|
26
|
+
} else if (isGlob(value)) {
|
|
27
|
+
if (!opts.ignoreGlobs) {
|
|
28
|
+
opts.ignoreGlobs = [];
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
const regex = picomatch.makeRe(value, {
|
|
32
|
+
// We set `dot: true` to workaround an issue with the
|
|
33
|
+
// regular expression on Linux where the resulting
|
|
34
|
+
// negative lookahead `(?!(\\/|^)` was never matching
|
|
35
|
+
// in some cases. See also https://bit.ly/3UZlQDm
|
|
36
|
+
dot: true,
|
|
37
|
+
windows: process.platform === 'win32',
|
|
38
|
+
});
|
|
39
|
+
opts.ignoreGlobs.push(regex.source);
|
|
40
|
+
} else {
|
|
41
|
+
if (!opts.ignorePaths) {
|
|
42
|
+
opts.ignorePaths = [];
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
opts.ignorePaths.push(path.resolve(dir, value));
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
return opts;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
exports.createWrapper = (binding) => {
|
|
54
|
+
return {
|
|
55
|
+
writeSnapshot(dir, snapshot, opts) {
|
|
56
|
+
return binding.writeSnapshot(
|
|
57
|
+
path.resolve(dir),
|
|
58
|
+
path.resolve(snapshot),
|
|
59
|
+
normalizeOptions(dir, opts),
|
|
60
|
+
);
|
|
61
|
+
},
|
|
62
|
+
getEventsSince(dir, snapshot, opts) {
|
|
63
|
+
return binding.getEventsSince(
|
|
64
|
+
path.resolve(dir),
|
|
65
|
+
path.resolve(snapshot),
|
|
66
|
+
normalizeOptions(dir, opts),
|
|
67
|
+
);
|
|
68
|
+
},
|
|
69
|
+
async subscribe(dir, fn, opts) {
|
|
70
|
+
dir = path.resolve(dir);
|
|
71
|
+
opts = normalizeOptions(dir, opts);
|
|
72
|
+
await binding.subscribe(dir, fn, opts);
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
unsubscribe() {
|
|
76
|
+
return binding.unsubscribe(dir, fn, opts);
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+
},
|
|
80
|
+
unsubscribe(dir, fn, opts) {
|
|
81
|
+
return binding.unsubscribe(
|
|
82
|
+
path.resolve(dir),
|
|
83
|
+
fn,
|
|
84
|
+
normalizeOptions(dir, opts),
|
|
85
|
+
);
|
|
86
|
+
},
|
|
87
|
+
};
|
|
88
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017-present Devon Govett
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"@parcel/watcher-darwin-arm64","version":"2.6.0","main":"watcher.node","license":"MIT","publishConfig":{"access":"public"},"engines":{"node":">= 10.0.0"},"os":["darwin"],"cpu":["arm64"]}
|
|
Binary file
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017-present Devon Govett
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"@parcel/watcher-darwin-x64","version":"2.6.0","main":"watcher.node","license":"MIT","publishConfig":{"access":"public"},"engines":{"node":">= 10.0.0"},"os":["darwin"],"cpu":["x64"]}
|
|
Binary file
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017-present Devon Govett
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"@parcel/watcher-win32-x64","version":"2.6.0","main":"watcher.node","license":"MIT","publishConfig":{"access":"public"},"engines":{"node":">= 10.0.0"},"os":["win32"],"cpu":["x64"]}
|
|
Binary file
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2014-2016, Jon Schlinkert
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2014-2016, Jon Schlinkert.
|
|
5
|
+
* Licensed under the MIT License.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
module.exports = function isExtglob(str) {
|
|
9
|
+
if (typeof str !== 'string' || str === '') {
|
|
10
|
+
return false;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
var match;
|
|
14
|
+
while ((match = /(\\).|([@?!+*]\(.*\))/g.exec(str))) {
|
|
15
|
+
if (match[2]) return true;
|
|
16
|
+
str = str.slice(match.index + match[0].length);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
return false;
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"is-extglob","version":"2.1.1","license":"MIT","main":"index.js","engines":{"node":">=0.10.0"},"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["has-glob","is-glob","micromatch"]},"reflinks":["verb","verb-generate-readme"],"lint":{"reflinks":true}}}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2014-2017, Jon Schlinkert.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* is-glob <https://github.com/jonschlinkert/is-glob>
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
5
|
+
* Released under the MIT License.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
var isExtglob = require('is-extglob');
|
|
9
|
+
var chars = { '{': '}', '(': ')', '[': ']'};
|
|
10
|
+
var strictCheck = function(str) {
|
|
11
|
+
if (str[0] === '!') {
|
|
12
|
+
return true;
|
|
13
|
+
}
|
|
14
|
+
var index = 0;
|
|
15
|
+
var pipeIndex = -2;
|
|
16
|
+
var closeSquareIndex = -2;
|
|
17
|
+
var closeCurlyIndex = -2;
|
|
18
|
+
var closeParenIndex = -2;
|
|
19
|
+
var backSlashIndex = -2;
|
|
20
|
+
while (index < str.length) {
|
|
21
|
+
if (str[index] === '*') {
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
if (str[index + 1] === '?' && /[\].+)]/.test(str[index])) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
if (closeSquareIndex !== -1 && str[index] === '[' && str[index + 1] !== ']') {
|
|
30
|
+
if (closeSquareIndex < index) {
|
|
31
|
+
closeSquareIndex = str.indexOf(']', index);
|
|
32
|
+
}
|
|
33
|
+
if (closeSquareIndex > index) {
|
|
34
|
+
if (backSlashIndex === -1 || backSlashIndex > closeSquareIndex) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
backSlashIndex = str.indexOf('\\', index);
|
|
38
|
+
if (backSlashIndex === -1 || backSlashIndex > closeSquareIndex) {
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
if (closeCurlyIndex !== -1 && str[index] === '{' && str[index + 1] !== '}') {
|
|
45
|
+
closeCurlyIndex = str.indexOf('}', index);
|
|
46
|
+
if (closeCurlyIndex > index) {
|
|
47
|
+
backSlashIndex = str.indexOf('\\', index);
|
|
48
|
+
if (backSlashIndex === -1 || backSlashIndex > closeCurlyIndex) {
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
if (closeParenIndex !== -1 && str[index] === '(' && str[index + 1] === '?' && /[:!=]/.test(str[index + 2]) && str[index + 3] !== ')') {
|
|
55
|
+
closeParenIndex = str.indexOf(')', index);
|
|
56
|
+
if (closeParenIndex > index) {
|
|
57
|
+
backSlashIndex = str.indexOf('\\', index);
|
|
58
|
+
if (backSlashIndex === -1 || backSlashIndex > closeParenIndex) {
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (pipeIndex !== -1 && str[index] === '(' && str[index + 1] !== '|') {
|
|
65
|
+
if (pipeIndex < index) {
|
|
66
|
+
pipeIndex = str.indexOf('|', index);
|
|
67
|
+
}
|
|
68
|
+
if (pipeIndex !== -1 && str[pipeIndex + 1] !== ')') {
|
|
69
|
+
closeParenIndex = str.indexOf(')', pipeIndex);
|
|
70
|
+
if (closeParenIndex > pipeIndex) {
|
|
71
|
+
backSlashIndex = str.indexOf('\\', pipeIndex);
|
|
72
|
+
if (backSlashIndex === -1 || backSlashIndex > closeParenIndex) {
|
|
73
|
+
return true;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (str[index] === '\\') {
|
|
80
|
+
var open = str[index + 1];
|
|
81
|
+
index += 2;
|
|
82
|
+
var close = chars[open];
|
|
83
|
+
|
|
84
|
+
if (close) {
|
|
85
|
+
var n = str.indexOf(close, index);
|
|
86
|
+
if (n !== -1) {
|
|
87
|
+
index = n + 1;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
if (str[index] === '!') {
|
|
92
|
+
return true;
|
|
93
|
+
}
|
|
94
|
+
} else {
|
|
95
|
+
index++;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
return false;
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
var relaxedCheck = function(str) {
|
|
102
|
+
if (str[0] === '!') {
|
|
103
|
+
return true;
|
|
104
|
+
}
|
|
105
|
+
var index = 0;
|
|
106
|
+
while (index < str.length) {
|
|
107
|
+
if (/[*?{}()[\]]/.test(str[index])) {
|
|
108
|
+
return true;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
if (str[index] === '\\') {
|
|
112
|
+
var open = str[index + 1];
|
|
113
|
+
index += 2;
|
|
114
|
+
var close = chars[open];
|
|
115
|
+
|
|
116
|
+
if (close) {
|
|
117
|
+
var n = str.indexOf(close, index);
|
|
118
|
+
if (n !== -1) {
|
|
119
|
+
index = n + 1;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
if (str[index] === '!') {
|
|
124
|
+
return true;
|
|
125
|
+
}
|
|
126
|
+
} else {
|
|
127
|
+
index++;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
return false;
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
module.exports = function isGlob(str, options) {
|
|
134
|
+
if (typeof str !== 'string' || str === '') {
|
|
135
|
+
return false;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
if (isExtglob(str)) {
|
|
139
|
+
return true;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
var check = strictCheck;
|
|
143
|
+
|
|
144
|
+
// optionally relax check
|
|
145
|
+
if (options && options.strict === false) {
|
|
146
|
+
check = relaxedCheck;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
return check(str);
|
|
150
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"is-glob","version":"4.0.3","license":"MIT","main":"index.js","engines":{"node":">=0.10.0"},"dependencies":{"is-extglob":"^2.1.1"},"verb":{"layout":"default","plugins":["gulp-format-md"],"related":{"list":["assemble","base","update","verb"]},"reflinks":["assemble","bach","base","composer","gulp","has-glob","is-valid-glob","micromatch","npm","scaffold","verb","vinyl"]}}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@qqbrowser/qbot-dsh","version":"0.0.9","publishConfig":{"access":"public"},"type":"module","bin":{"qbot-dsh":"lib/bin.js"},"license":"MIT","engines":{"node":"^22.19.0 || >=24.0.0"},"os":["darwin","win32"],"cpu":["arm64","x64"],"dshRelease":{"targets":["darwin-arm64","darwin-x64","win32-x64"]},"dependencies":{"@anthropic-ai/sdk":"0.91.1","@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-crypto/supports-web-crypto":"5.2.0","@aws-crypto/util":"5.2.0","@aws-sdk/client-bedrock-runtime":"3.1048.0","@aws-sdk/core":"3.977.8","@aws-sdk/credential-provider-env":"3.972.69","@aws-sdk/credential-provider-http":"3.972.71","@aws-sdk/credential-provider-ini":"3.973.14","@aws-sdk/credential-provider-login":"3.972.76","@aws-sdk/credential-provider-node":"3.972.80","@aws-sdk/credential-provider-process":"3.972.69","@aws-sdk/credential-provider-sso":"3.973.13","@aws-sdk/credential-provider-web-identity":"3.972.75","@aws-sdk/eventstream-handler-node":"3.972.33","@aws-sdk/middleware-eventstream":"3.972.28","@aws-sdk/middleware-websocket":"3.972.51","@aws-sdk/nested-clients":"3.997.43","@aws-sdk/signature-v4-multi-region":"3.996.45","@aws-sdk/token-providers":"3.1048.0","@aws-sdk/types":"3.974.4","@aws-sdk/util-locate-window":"3.965.10","@aws-sdk/xml-builder":"3.972.39","@aws/lambda-invoke-store":"0.3.0","@babel/code-frame":"7.29.7","@babel/helper-validator-identifier":"7.29.7","@babel/runtime":"7.29.7","@deepseek-ai/cordis":"4.0.1","@deepseek-ai/cordis-plugin-group":"1.0.1","@deepseek-ai/cordis-plugin-hmr":"1.0.16","@deepseek-ai/cordis-plugin-include":"1.0.6","@deepseek-ai/cordis-plugin-loader":"1.0.2","@deepseek-ai/cordis-plugin-timer":"1.1.3","@deepseek-ai/cosmokit":"1.8.2","@deepseek-ai/dsh-agent":"0.0.9","@deepseek-ai/dsh-agent-default-model":"0.0.9","@deepseek-ai/dsh-agent-instructions":"0.0.9","@deepseek-ai/dsh-agent-loop":"0.0.9","@deepseek-ai/dsh-agent-presets":"0.0.9","@deepseek-ai/dsh-agent-tool-presentation":"0.0.9","@deepseek-ai/dsh-anonymous-user-id":"0.0.9","@deepseek-ai/dsh-api-gateway":"0.0.9","@deepseek-ai/dsh-api-remotes":"0.0.9","@deepseek-ai/dsh-app-boot":"0.0.9","@deepseek-ai/dsh-atomic-write":"0.0.9","@deepseek-ai/dsh-attachment":"0.0.9","@deepseek-ai/dsh-attachment-local":"0.0.9","@deepseek-ai/dsh-base":"0.0.9","@deepseek-ai/dsh-bash-local":"0.0.9","@deepseek-ai/dsh-bash-sandbox":"0.0.9","@deepseek-ai/dsh-brand":"0.0.9","@deepseek-ai/dsh-client-connection":"0.0.9","@deepseek-ai/dsh-client-hmr":"0.0.9","@deepseek-ai/dsh-client-locale":"0.0.9","@deepseek-ai/dsh-client-modules":"0.0.9","@deepseek-ai/dsh-client-runtime":"0.0.9","@deepseek-ai/dsh-client-schema-form":"0.0.9","@deepseek-ai/dsh-client-ui-agent-preset":"0.0.9","@deepseek-ai/dsh-client-ui-attachment":"0.0.9","@deepseek-ai/dsh-client-ui-commands":"0.0.9","@deepseek-ai/dsh-client-ui-conversation":"0.0.9","@deepseek-ai/dsh-client-ui-cordis":"0.0.9","@deepseek-ai/dsh-client-ui-deliverables":"0.0.9","@deepseek-ai/dsh-client-ui-directory-picker-browse":"0.0.9","@deepseek-ai/dsh-client-ui-directory-picker-native":"0.0.9","@deepseek-ai/dsh-client-ui-goal":"0.0.9","@deepseek-ai/dsh-client-ui-input-trigger":"0.0.9","@deepseek-ai/dsh-client-ui-jobs":"0.0.9","@deepseek-ai/dsh-client-ui-layout":"0.0.9","@deepseek-ai/dsh-client-ui-message-feedback":"0.0.9","@deepseek-ai/dsh-client-ui-model-selection":"0.0.9","@deepseek-ai/dsh-client-ui-permission-presets":"0.0.9","@deepseek-ai/dsh-client-ui-plan":"0.0.9","@deepseek-ai/dsh-client-ui-primitives":"0.0.9","@deepseek-ai/dsh-client-ui-settings":"0.0.9","@deepseek-ai/dsh-client-ui-settings-general":"0.0.9","@deepseek-ai/dsh-client-ui-settings-models":"0.0.9","@deepseek-ai/dsh-client-ui-settings-plugin-inventory":"0.0.9","@deepseek-ai/dsh-client-ui-settings-plugins":"0.0.9","@deepseek-ai/dsh-client-ui-sidebar":"0.0.9","@deepseek-ai/dsh-client-ui-skill":"0.0.9","@deepseek-ai/dsh-client-ui-slots":"0.0.9","@deepseek-ai/dsh-client-ui-subagent":"0.0.9","@deepseek-ai/dsh-client-ui-theme":"0.0.9","@deepseek-ai/dsh-client-ui-tool":"0.0.9","@deepseek-ai/dsh-client-ui-trajectory":"0.0.9","@deepseek-ai/dsh-client-ui-user-questions":"0.0.9","@deepseek-ai/dsh-client-ui-workflow-run":"0.0.9","@deepseek-ai/dsh-client-ui-workspace":"0.0.9","@deepseek-ai/dsh-client-web":"0.0.9","@deepseek-ai/dsh-client-web-react":"0.0.9","@deepseek-ai/dsh-cmdline":"0.0.9","@deepseek-ai/dsh-code-runtime":"0.0.9","@deepseek-ai/dsh-code-runtime-worker-thread":"0.0.9","@deepseek-ai/dsh-command-compact":"0.0.9","@deepseek-ai/dsh-command-feedback":"0.0.9","@deepseek-ai/dsh-command-goal":"0.0.9","@deepseek-ai/dsh-commands":"0.0.9","@deepseek-ai/dsh-compaction":"0.0.9","@deepseek-ai/dsh-compaction-basic":"0.0.9","@deepseek-ai/dsh-compaction-tool-result-pruner":"0.0.9","@deepseek-ai/dsh-content-review":"0.0.9","@deepseek-ai/dsh-cordis-client-runner":"0.0.9","@deepseek-ai/dsh-cordis-host-runner":"0.0.9","@deepseek-ai/dsh-credentials":"0.0.9","@deepseek-ai/dsh-credentials-local":"0.0.9","@deepseek-ai/dsh-fs":"0.0.9","@deepseek-ai/dsh-fs-local":"0.0.9","@deepseek-ai/dsh-fs-observation-policy":"0.0.9","@deepseek-ai/dsh-fs-sandbox":"0.0.9","@deepseek-ai/dsh-goal":"0.0.9","@deepseek-ai/dsh-goal-round-driver":"0.0.9","@deepseek-ai/dsh-headless":"0.0.9","@deepseek-ai/dsh-home-paths":"0.0.9","@deepseek-ai/dsh-host-apiproxy":"0.0.9","@deepseek-ai/dsh-host-directory-picker":"0.0.9","@deepseek-ai/dsh-host-directory-picker-auto":"0.0.9","@deepseek-ai/dsh-host-directory-picker-browse":"0.0.9","@deepseek-ai/dsh-host-directory-picker-native":"0.0.9","@deepseek-ai/dsh-host-frontend-static":"0.0.9","@deepseek-ai/dsh-host-plugin-inventory":"0.0.9","@deepseek-ai/dsh-host-webserver":"0.0.9","@deepseek-ai/dsh-invariants":"0.0.9","@deepseek-ai/dsh-jobs":"0.0.9","@deepseek-ai/dsh-jobs-local":"0.0.9","@deepseek-ai/dsh-launch-environment":"0.0.9","@deepseek-ai/dsh-llm":"0.0.9","@deepseek-ai/dsh-llm-deepseek":"0.0.9","@deepseek-ai/dsh-llm-gateway-openai":"0.0.9","@deepseek-ai/dsh-llm-pi-ai":"0.0.9","@deepseek-ai/dsh-llm-retry":"0.0.9","@deepseek-ai/dsh-mcp-client":"0.0.9","@deepseek-ai/dsh-message-feedback":"0.0.9","@deepseek-ai/dsh-native-command":"0.0.9","@deepseek-ai/dsh-output-retention":"0.0.9","@deepseek-ai/dsh-permission-presets":"0.0.9","@deepseek-ai/dsh-persona":"0.0.9","@deepseek-ai/dsh-plan-mode":"0.0.9","@deepseek-ai/dsh-pwsh-local":"0.0.9","@deepseek-ai/dsh-pwsh-sandbox":"0.0.9","@deepseek-ai/dsh-qb-auth":"0.0.9","@deepseek-ai/dsh-repeat-tool-reminder":"0.0.9","@deepseek-ai/dsh-sandbox":"0.0.9","@deepseek-ai/dsh-sandbox-local":"0.0.9","@deepseek-ai/dsh-sandbox-policy":"0.0.9","@deepseek-ai/dsh-sandbox-windows-acl":"0.0.9","@deepseek-ai/dsh-schedule":"0.0.9","@deepseek-ai/dsh-scope":"0.0.9","@deepseek-ai/dsh-session":"0.0.9","@deepseek-ai/dsh-session-checkpoint-policy":"0.0.9","@deepseek-ai/dsh-session-log-export":"0.0.9","@deepseek-ai/dsh-session-persistence":"0.0.9","@deepseek-ai/dsh-session-persistence-jsonl":"0.0.9","@deepseek-ai/dsh-session-projection":"0.0.9","@deepseek-ai/dsh-session-projection-cache":"0.0.9","@deepseek-ai/dsh-session-query":"0.0.9","@deepseek-ai/dsh-session-query-sqlite":"0.0.9","@deepseek-ai/dsh-session-reference":"0.0.9","@deepseek-ai/dsh-session-stats":"0.0.9","@deepseek-ai/dsh-session-telemetry":"0.0.9","@deepseek-ai/dsh-session-telemetry-otel":"0.0.9","@deepseek-ai/dsh-session-title":"0.0.9","@deepseek-ai/dsh-session-title-first-prompt-llm":"0.0.9","@deepseek-ai/dsh-session-title-llm":"0.0.9","@deepseek-ai/dsh-settings":"0.0.9","@deepseek-ai/dsh-settings-file":"0.0.9","@deepseek-ai/dsh-shell":"0.0.9","@deepseek-ai/dsh-shell-env":"0.0.9","@deepseek-ai/dsh-skill":"0.0.9","@deepseek-ai/dsh-skill-badge":"0.0.9","@deepseek-ai/dsh-skill-filesystem":"0.0.9","@deepseek-ai/dsh-spill":"0.0.9","@deepseek-ai/dsh-spill-local":"0.0.9","@deepseek-ai/dsh-spill-policy":"0.0.9","@deepseek-ai/dsh-storage":"0.0.9","@deepseek-ai/dsh-storage-domain":"0.0.9","@deepseek-ai/dsh-storage-json":"0.0.9","@deepseek-ai/dsh-subagent":"0.0.9","@deepseek-ai/dsh-subagent-fork-in-process":"0.0.9","@deepseek-ai/dsh-subagent-in-process-driver":"0.0.9","@deepseek-ai/dsh-subagent-spawn-in-process":"0.0.9","@deepseek-ai/dsh-subprocess":"0.0.9","@deepseek-ai/dsh-subprocess-local":"0.0.9","@deepseek-ai/dsh-system-prompt":"0.0.9","@deepseek-ai/dsh-terminal":"0.0.9","@deepseek-ai/dsh-terminal-bash":"0.0.9","@deepseek-ai/dsh-time-context":"0.0.9","@deepseek-ai/dsh-timeout":"0.0.9","@deepseek-ai/dsh-tmux-context":"0.0.9","@deepseek-ai/dsh-token-meter":"0.0.9","@deepseek-ai/dsh-tool-ask-user":"0.0.9","@deepseek-ai/dsh-tool-bash":"0.0.9","@deepseek-ai/dsh-tool-bash-persistent":"0.0.9","@deepseek-ai/dsh-tool-call-timeout-policy":"0.0.9","@deepseek-ai/dsh-tool-cordis":"0.0.9","@deepseek-ai/dsh-tool-fs":"0.0.9","@deepseek-ai/dsh-tool-fs-search":"0.0.9","@deepseek-ai/dsh-tool-goal":"0.0.9","@deepseek-ai/dsh-tool-jobs":"0.0.9","@deepseek-ai/dsh-tool-pwsh":"0.0.9","@deepseek-ai/dsh-tool-ralph":"0.0.9","@deepseek-ai/dsh-tool-skill":"0.0.9","@deepseek-ai/dsh-tool-str-replace-editor":"0.0.9","@deepseek-ai/dsh-tool-subagent":"0.0.9","@deepseek-ai/dsh-tool-subagent-control":"0.0.9","@deepseek-ai/dsh-tool-subagent-report":"0.0.9","@deepseek-ai/dsh-tool-todo":"0.0.9","@deepseek-ai/dsh-tool-web":"0.0.9","@deepseek-ai/dsh-tool-workflow":"0.0.9","@deepseek-ai/dsh-tools":"0.0.9","@deepseek-ai/dsh-typert-loader":"0.0.9","@deepseek-ai/dsh-typert-protocol":"0.0.9","@deepseek-ai/dsh-typert-registry":"0.0.9","@deepseek-ai/dsh-user-approval":"0.0.9","@deepseek-ai/dsh-user-questions":"0.0.9","@deepseek-ai/dsh-web":"0.0.9","@deepseek-ai/dsh-web-app":"0.0.9","@deepseek-ai/dsh-web-frontend":"0.0.9","@deepseek-ai/dsh-web-search-deepseek":"0.0.9","@deepseek-ai/dsh-workflow":"0.0.9","@deepseek-ai/dsh-workflow-worker-thread":"0.0.9","@deepseek-ai/dsh-workspace":"0.0.9","@deepseek-ai/node-addon-landlock-run":"0.1.1","@deepseek-ai/schemastery":"3.18.1","@earendil-works/pi-ai":"0.83.0","@google/genai":"1.52.0","@hono/node-server":"2.1.1","@img/colour":"1.1.0","@joplin/turndown-plugin-gfm":"1.0.67","@mistralai/mistralai":"2.2.6","@mixmark-io/domino":"2.2.0","@modelcontextprotocol/sdk":"1.30.0","@opentelemetry/api":"1.9.1","@opentelemetry/api-logs":"0.220.0","@opentelemetry/core":"2.9.0","@opentelemetry/exporter-logs-otlp-http":"0.220.0","@opentelemetry/otlp-exporter-base":"0.220.0","@opentelemetry/otlp-transformer":"0.220.0","@opentelemetry/resources":"2.9.0","@opentelemetry/sdk-logs":"0.220.0","@opentelemetry/sdk-metrics":"2.9.0","@opentelemetry/sdk-trace":"2.9.0","@opentelemetry/semantic-conventions":"1.43.0","@protobufjs/aspromise":"1.1.2","@protobufjs/base64":"1.1.2","@protobufjs/codegen":"2.0.5","@protobufjs/eventemitter":"1.1.1","@protobufjs/fetch":"1.1.1","@protobufjs/float":"1.0.2","@protobufjs/path":"1.1.2","@protobufjs/pool":"1.1.0","@protobufjs/utf8":"1.1.2","@shikijs/core":"4.4.3","@shikijs/engine-javascript":"4.4.3","@shikijs/engine-oniguruma":"4.4.3","@shikijs/langs":"4.4.3","@shikijs/primitive":"4.4.3","@shikijs/themes":"4.4.3","@shikijs/types":"4.4.3","@shikijs/vscode-textmate":"10.0.2","@smithy/core":"3.33.2","@smithy/credential-provider-imds":"4.5.2","@smithy/fetch-http-handler":"5.7.2","@smithy/is-array-buffer":"2.2.0","@smithy/node-http-handler":"4.7.3","@smithy/signature-v4":"5.7.2","@smithy/types":"4.17.2","@smithy/util-buffer-from":"2.2.0","@smithy/util-utf8":"2.3.0","@standard-schema/spec":"1.1.0","@tanstack/react-virtual":"3.14.9","@tanstack/virtual-core":"3.17.7","@tencent/qb-auth-send-h5":"2.7.0","@types/debug":"4.1.13","@types/hast":"3.0.5","@types/katex":"0.16.8","@types/mdast":"4.0.4","@types/ms":"2.1.0","@types/node":"26.2.0","@types/retry":"0.12.0","@types/unist":"3.0.3","@ungap/structured-clone":"1.3.3","@vscode/ripgrep":"1.18.0","accepts":"2.0.0","agent-base":"7.1.4","ajv":"8.20.0","ajv-formats":"3.0.1","anser":"2.3.5","argparse":"2.0.1","base64-js":"1.5.1","bignumber.js":"9.3.1","body-parser":"2.3.0","bowser":"2.14.1","buffer-equal-constant-time":"1.0.1","bytes":"3.1.2","call-bind-apply-helpers":"1.0.2","call-bound":"1.0.4","ccount":"2.0.1","character-entities":"2.0.2","character-entities-html4":"2.1.0","character-entities-legacy":"3.0.0","chokidar":"4.0.3","clsx":"2.1.1","comma-separated-tokens":"2.0.3","commander":"15.0.0","content-disposition":"1.1.0","content-type":"1.0.5","cookie":"0.7.2","cookie-signature":"1.2.2","cors":"2.8.6","cross-spawn":"7.0.6","data-uri-to-buffer":"4.0.1","debug":"4.4.3","decode-named-character-reference":"1.3.0","depd":"2.0.0","dequal":"2.0.3","detect-libc":"2.1.2","devlop":"1.1.0","diff":"9.0.0","dunder-proto":"1.0.1","ecdsa-sig-formatter":"1.0.11","ee-first":"1.1.1","encodeurl":"2.0.0","es-define-property":"1.0.1","es-errors":"1.3.0","es-object-atoms":"1.1.2","escape-html":"1.0.3","escape-string-regexp":"5.0.0","etag":"1.8.1","eventsource":"3.0.7","eventsource-parser":"3.1.1","express":"5.2.1","express-rate-limit":"8.6.2","extend":"3.0.2","fast-deep-equal":"3.1.3","fast-uri":"3.1.5","fetch-blob":"3.2.0","fflate":"0.8.3","finalhandler":"2.1.1","formdata-polyfill":"4.0.10","forwarded":"0.2.0","fresh":"2.0.0","function-bind":"1.1.2","gaxios":"7.3.1","gcp-metadata":"8.1.2","get-intrinsic":"1.3.0","get-proto":"1.0.1","google-auth-library":"10.9.1","google-logging-utils":"1.1.3","gopd":"1.2.0","has-symbols":"1.1.0","hasown":"2.0.4","hast-util-to-html":"9.0.5","hast-util-whitespace":"3.0.0","hono":"4.13.2","html-void-elements":"3.0.0","http-errors":"2.0.1","http-proxy-agent":"7.0.2","https-proxy-agent":"7.0.6","iconv-lite":"0.7.3","immer":"10.2.0","inherits":"2.0.4","ip-address":"10.5.0","ipaddr.js":"1.9.1","is-promise":"4.0.0","isexe":"2.0.0","jose":"6.2.9","js-tokens":"4.0.0","js-yaml":"4.3.1","json-bigint":"1.0.0","json-schema-to-ts":"3.1.1","json-schema-traverse":"1.0.0","json-schema-typed":"8.0.2","jwa":"2.0.1","jws":"4.0.1","katex":"0.16.47","koffi":"3.1.5","long":"5.3.2","longest-streak":"3.1.0","loose-envify":"1.4.0","markdown-table":"3.0.4","math-intrinsics":"1.1.0","mdast-util-find-and-replace":"3.0.2","mdast-util-from-markdown":"2.0.3","mdast-util-gfm":"3.1.0","mdast-util-gfm-autolink-literal":"2.0.1","mdast-util-gfm-footnote":"2.1.0","mdast-util-gfm-strikethrough":"2.0.0","mdast-util-gfm-table":"2.0.0","mdast-util-gfm-task-list-item":"2.0.0","mdast-util-math":"3.0.0","mdast-util-phrasing":"4.1.0","mdast-util-to-hast":"13.2.1","mdast-util-to-markdown":"2.1.2","mdast-util-to-string":"4.0.0","media-typer":"1.1.1","merge-descriptors":"2.0.0","micromark":"4.0.2","micromark-core-commonmark":"2.0.3","micromark-extension-gfm":"3.0.0","micromark-extension-gfm-autolink-literal":"2.1.0","micromark-extension-gfm-footnote":"2.1.0","micromark-extension-gfm-strikethrough":"2.1.0","micromark-extension-gfm-table":"2.1.1","micromark-extension-gfm-tagfilter":"2.0.0","micromark-extension-gfm-task-list-item":"2.1.0","micromark-extension-math":"3.1.0","micromark-factory-destination":"2.0.1","micromark-factory-label":"2.0.1","micromark-factory-space":"2.0.1","micromark-factory-title":"2.0.1","micromark-factory-whitespace":"2.0.1","micromark-util-character":"2.1.1","micromark-util-chunked":"2.0.1","micromark-util-classify-character":"2.0.1","micromark-util-combine-extensions":"2.0.1","micromark-util-decode-numeric-character-reference":"2.0.2","micromark-util-decode-string":"2.0.1","micromark-util-encode":"2.0.1","micromark-util-html-tag-name":"2.0.1","micromark-util-normalize-identifier":"2.0.1","micromark-util-resolve-all":"2.0.1","micromark-util-sanitize-uri":"2.0.1","micromark-util-subtokenize":"2.1.0","micromark-util-symbol":"2.0.1","micromark-util-types":"2.0.2","mime-db":"1.54.0","mime-types":"3.0.2","ms":"2.1.3","negotiator":"1.0.0","node-addon-api":"7.1.1","node-addon-native-custom-loader":"0.1.5","node-addon-require-builtin":"0.1.5","node-domexception":"1.0.0","node-fetch":"3.3.2","node-pty":"1.1.0","object-assign":"4.1.1","object-inspect":"1.13.4","on-finished":"2.4.1","once":"1.4.0","oniguruma-parser":"0.12.2","oniguruma-to-es":"4.3.6","openai":"6.26.0","p-retry":"4.6.2","parseurl":"1.3.3","partial-json":"0.1.7","path-key":"3.1.1","path-to-regexp":"8.4.2","picocolors":"1.1.1","picomatch":"4.0.5","pkce-challenge":"5.0.1","property-information":"7.2.0","protobufjs":"7.6.5","proxy-addr":"2.0.7","qs":"6.15.3","range-parser":"1.3.0","raw-body":"3.0.2","react":"18.3.1","react-dom":"18.3.1","readdirp":"4.1.2","regex":"6.1.0","regex-recursion":"6.0.2","regex-utilities":"2.3.0","require-from-string":"2.0.2","retry":"0.13.1","router":"2.2.0","safe-buffer":"5.2.1","safer-buffer":"2.1.2","scheduler":"0.23.2","semver":"7.8.5","send":"1.2.1","serve-static":"2.2.1","setprototypeof":"1.2.0","sharp":"0.35.3","shebang-command":"2.0.0","shebang-regex":"3.0.0","shiki":"4.4.3","side-channel":"1.1.1","side-channel-list":"1.0.1","side-channel-map":"1.0.1","side-channel-weakmap":"1.0.2","space-separated-tokens":"2.0.2","statuses":"2.0.2","stringify-entities":"4.0.4","toidentifier":"1.0.1","trim-lines":"3.0.1","ts-algebra":"2.0.0","tslib":"2.8.1","turndown":"7.2.4","type-is":"2.1.0","typebox":"1.3.7","undici-types":"8.3.0","unist-util-is":"6.0.1","unist-util-position":"5.0.0","unist-util-remove-position":"5.0.0","unist-util-stringify-position":"4.0.0","unist-util-visit":"5.1.0","unist-util-visit-parents":"6.0.2","unpipe":"1.0.0","use-sync-external-store":"1.2.0","vary":"1.1.2","vfile":"6.0.3","vfile-message":"4.0.3","web-streams-polyfill":"3.3.3","which":"2.0.2","wrappy":"1.0.2","ws":"8.21.3","yaml":"2.9.0","zod":"4.4.3","zod-to-json-schema":"3.25.2","zustand":"4.4.7","zwitch":"2.0.4"},"optionalDependencies":{"@img/sharp-darwin-arm64":"0.35.3","@img/sharp-darwin-x64":"0.35.3","@img/sharp-libvips-darwin-arm64":"1.3.2","@img/sharp-libvips-darwin-x64":"1.3.2","@img/sharp-win32-x64":"0.35.3","@koromix/koffi-darwin-arm64":"3.1.5","@koromix/koffi-darwin-x64":"3.1.5","@koromix/koffi-win32-x64":"3.1.5","@vscode/ripgrep-darwin-arm64":"1.18.0","@vscode/ripgrep-darwin-x64":"1.18.0","@vscode/ripgrep-win32-x64":"1.18.0","node-addon-require-builtin-darwin-arm64":"0.1.5","node-addon-require-builtin-darwin-x64":"0.1.5","node-addon-require-builtin-win32-x64-msvc":"0.1.5"},"bundleDependencies":true}
|
|
1
|
+
{"name":"@qqbrowser/qbot-dsh","version":"0.0.10","publishConfig":{"access":"public"},"type":"module","bin":{"qbot-dsh":"lib/bin.js"},"license":"MIT","engines":{"node":"^22.19.0 || >=24.0.0"},"os":["darwin","win32"],"cpu":["arm64","x64"],"dshRelease":{"targets":["darwin-arm64","darwin-x64","win32-x64"]},"dependencies":{"@anthropic-ai/sdk":"0.91.1","@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-crypto/supports-web-crypto":"5.2.0","@aws-crypto/util":"5.2.0","@aws-sdk/client-bedrock-runtime":"3.1048.0","@aws-sdk/core":"3.977.8","@aws-sdk/credential-provider-env":"3.972.69","@aws-sdk/credential-provider-http":"3.972.71","@aws-sdk/credential-provider-ini":"3.973.14","@aws-sdk/credential-provider-login":"3.972.76","@aws-sdk/credential-provider-node":"3.972.80","@aws-sdk/credential-provider-process":"3.972.69","@aws-sdk/credential-provider-sso":"3.973.13","@aws-sdk/credential-provider-web-identity":"3.972.75","@aws-sdk/eventstream-handler-node":"3.972.33","@aws-sdk/middleware-eventstream":"3.972.28","@aws-sdk/middleware-websocket":"3.972.51","@aws-sdk/nested-clients":"3.997.43","@aws-sdk/signature-v4-multi-region":"3.996.45","@aws-sdk/token-providers":"3.1048.0","@aws-sdk/types":"3.974.4","@aws-sdk/util-locate-window":"3.965.10","@aws-sdk/xml-builder":"3.972.39","@aws/lambda-invoke-store":"0.3.0","@babel/code-frame":"7.29.7","@babel/helper-validator-identifier":"7.29.7","@babel/runtime":"7.29.7","@deepseek-ai/cordis":"4.0.1","@deepseek-ai/cordis-plugin-group":"1.0.1","@deepseek-ai/cordis-plugin-hmr":"1.0.16","@deepseek-ai/cordis-plugin-include":"1.0.6","@deepseek-ai/cordis-plugin-loader":"1.0.2","@deepseek-ai/cordis-plugin-timer":"1.1.3","@deepseek-ai/cosmokit":"1.8.2","@deepseek-ai/dsh-agent":"0.0.10","@deepseek-ai/dsh-agent-default-model":"0.0.10","@deepseek-ai/dsh-agent-instructions":"0.0.10","@deepseek-ai/dsh-agent-loop":"0.0.10","@deepseek-ai/dsh-agent-presets":"0.0.10","@deepseek-ai/dsh-agent-tool-presentation":"0.0.10","@deepseek-ai/dsh-anonymous-user-id":"0.0.10","@deepseek-ai/dsh-api-gateway":"0.0.10","@deepseek-ai/dsh-api-remotes":"0.0.10","@deepseek-ai/dsh-app-boot":"0.0.10","@deepseek-ai/dsh-atomic-write":"0.0.10","@deepseek-ai/dsh-attachment":"0.0.10","@deepseek-ai/dsh-attachment-local":"0.0.10","@deepseek-ai/dsh-base":"0.0.10","@deepseek-ai/dsh-bash-local":"0.0.10","@deepseek-ai/dsh-bash-sandbox":"0.0.10","@deepseek-ai/dsh-brand":"0.0.10","@deepseek-ai/dsh-client-connection":"0.0.10","@deepseek-ai/dsh-client-hmr":"0.0.10","@deepseek-ai/dsh-client-locale":"0.0.10","@deepseek-ai/dsh-client-modules":"0.0.10","@deepseek-ai/dsh-client-runtime":"0.0.10","@deepseek-ai/dsh-client-schema-form":"0.0.10","@deepseek-ai/dsh-client-ui-agent-preset":"0.0.10","@deepseek-ai/dsh-client-ui-attachment":"0.0.10","@deepseek-ai/dsh-client-ui-commands":"0.0.10","@deepseek-ai/dsh-client-ui-conversation":"0.0.10","@deepseek-ai/dsh-client-ui-cordis":"0.0.10","@deepseek-ai/dsh-client-ui-deliverables":"0.0.10","@deepseek-ai/dsh-client-ui-directory-picker-browse":"0.0.10","@deepseek-ai/dsh-client-ui-directory-picker-native":"0.0.10","@deepseek-ai/dsh-client-ui-goal":"0.0.10","@deepseek-ai/dsh-client-ui-input-trigger":"0.0.10","@deepseek-ai/dsh-client-ui-jobs":"0.0.10","@deepseek-ai/dsh-client-ui-layout":"0.0.10","@deepseek-ai/dsh-client-ui-message-feedback":"0.0.10","@deepseek-ai/dsh-client-ui-model-selection":"0.0.10","@deepseek-ai/dsh-client-ui-permission-presets":"0.0.10","@deepseek-ai/dsh-client-ui-plan":"0.0.10","@deepseek-ai/dsh-client-ui-primitives":"0.0.10","@deepseek-ai/dsh-client-ui-settings":"0.0.10","@deepseek-ai/dsh-client-ui-settings-general":"0.0.10","@deepseek-ai/dsh-client-ui-settings-models":"0.0.10","@deepseek-ai/dsh-client-ui-settings-plugin-inventory":"0.0.10","@deepseek-ai/dsh-client-ui-settings-plugins":"0.0.10","@deepseek-ai/dsh-client-ui-sidebar":"0.0.10","@deepseek-ai/dsh-client-ui-skill":"0.0.10","@deepseek-ai/dsh-client-ui-slots":"0.0.10","@deepseek-ai/dsh-client-ui-subagent":"0.0.10","@deepseek-ai/dsh-client-ui-theme":"0.0.10","@deepseek-ai/dsh-client-ui-tool":"0.0.10","@deepseek-ai/dsh-client-ui-trajectory":"0.0.10","@deepseek-ai/dsh-client-ui-user-questions":"0.0.10","@deepseek-ai/dsh-client-ui-workflow-run":"0.0.10","@deepseek-ai/dsh-client-ui-workspace":"0.0.10","@deepseek-ai/dsh-client-web":"0.0.10","@deepseek-ai/dsh-client-web-react":"0.0.10","@deepseek-ai/dsh-cmdline":"0.0.10","@deepseek-ai/dsh-code-runtime":"0.0.10","@deepseek-ai/dsh-code-runtime-worker-thread":"0.0.10","@deepseek-ai/dsh-command-compact":"0.0.10","@deepseek-ai/dsh-command-feedback":"0.0.10","@deepseek-ai/dsh-command-goal":"0.0.10","@deepseek-ai/dsh-commands":"0.0.10","@deepseek-ai/dsh-compaction":"0.0.10","@deepseek-ai/dsh-compaction-basic":"0.0.10","@deepseek-ai/dsh-compaction-tool-result-pruner":"0.0.10","@deepseek-ai/dsh-content-review":"0.0.10","@deepseek-ai/dsh-cordis-client-runner":"0.0.10","@deepseek-ai/dsh-cordis-host-runner":"0.0.10","@deepseek-ai/dsh-credentials":"0.0.10","@deepseek-ai/dsh-credentials-local":"0.0.10","@deepseek-ai/dsh-fs":"0.0.10","@deepseek-ai/dsh-fs-local":"0.0.10","@deepseek-ai/dsh-fs-observation-policy":"0.0.10","@deepseek-ai/dsh-fs-sandbox":"0.0.10","@deepseek-ai/dsh-goal":"0.0.10","@deepseek-ai/dsh-goal-round-driver":"0.0.10","@deepseek-ai/dsh-headless":"0.0.10","@deepseek-ai/dsh-home-paths":"0.0.10","@deepseek-ai/dsh-home-quarantine-macos":"0.0.10","@deepseek-ai/dsh-host-apiproxy":"0.0.10","@deepseek-ai/dsh-host-directory-picker":"0.0.10","@deepseek-ai/dsh-host-directory-picker-auto":"0.0.10","@deepseek-ai/dsh-host-directory-picker-browse":"0.0.10","@deepseek-ai/dsh-host-directory-picker-native":"0.0.10","@deepseek-ai/dsh-host-frontend-static":"0.0.10","@deepseek-ai/dsh-host-plugin-inventory":"0.0.10","@deepseek-ai/dsh-host-webserver":"0.0.10","@deepseek-ai/dsh-invariants":"0.0.10","@deepseek-ai/dsh-jobs":"0.0.10","@deepseek-ai/dsh-jobs-local":"0.0.10","@deepseek-ai/dsh-launch-environment":"0.0.10","@deepseek-ai/dsh-llm":"0.0.10","@deepseek-ai/dsh-llm-deepseek":"0.0.10","@deepseek-ai/dsh-llm-gateway-openai":"0.0.10","@deepseek-ai/dsh-llm-pi-ai":"0.0.10","@deepseek-ai/dsh-llm-retry":"0.0.10","@deepseek-ai/dsh-mcp-client":"0.0.10","@deepseek-ai/dsh-message-feedback":"0.0.10","@deepseek-ai/dsh-native-command":"0.0.10","@deepseek-ai/dsh-output-retention":"0.0.10","@deepseek-ai/dsh-permission-presets":"0.0.10","@deepseek-ai/dsh-persona":"0.0.10","@deepseek-ai/dsh-plan-mode":"0.0.10","@deepseek-ai/dsh-pwsh-local":"0.0.10","@deepseek-ai/dsh-pwsh-sandbox":"0.0.10","@deepseek-ai/dsh-qb-auth":"0.0.10","@deepseek-ai/dsh-repeat-tool-reminder":"0.0.10","@deepseek-ai/dsh-sandbox":"0.0.10","@deepseek-ai/dsh-sandbox-local":"0.0.10","@deepseek-ai/dsh-sandbox-policy":"0.0.10","@deepseek-ai/dsh-sandbox-windows-acl":"0.0.10","@deepseek-ai/dsh-schedule":"0.0.10","@deepseek-ai/dsh-scope":"0.0.10","@deepseek-ai/dsh-session":"0.0.10","@deepseek-ai/dsh-session-checkpoint-policy":"0.0.10","@deepseek-ai/dsh-session-log-export":"0.0.10","@deepseek-ai/dsh-session-persistence":"0.0.10","@deepseek-ai/dsh-session-persistence-jsonl":"0.0.10","@deepseek-ai/dsh-session-projection":"0.0.10","@deepseek-ai/dsh-session-projection-cache":"0.0.10","@deepseek-ai/dsh-session-query":"0.0.10","@deepseek-ai/dsh-session-query-sqlite":"0.0.10","@deepseek-ai/dsh-session-reference":"0.0.10","@deepseek-ai/dsh-session-stats":"0.0.10","@deepseek-ai/dsh-session-telemetry":"0.0.10","@deepseek-ai/dsh-session-telemetry-otel":"0.0.10","@deepseek-ai/dsh-session-title":"0.0.10","@deepseek-ai/dsh-session-title-first-prompt-llm":"0.0.10","@deepseek-ai/dsh-session-title-llm":"0.0.10","@deepseek-ai/dsh-settings":"0.0.10","@deepseek-ai/dsh-settings-file":"0.0.10","@deepseek-ai/dsh-shell":"0.0.10","@deepseek-ai/dsh-shell-env":"0.0.10","@deepseek-ai/dsh-skill":"0.0.10","@deepseek-ai/dsh-skill-badge":"0.0.10","@deepseek-ai/dsh-skill-filesystem":"0.0.10","@deepseek-ai/dsh-spill":"0.0.10","@deepseek-ai/dsh-spill-local":"0.0.10","@deepseek-ai/dsh-spill-policy":"0.0.10","@deepseek-ai/dsh-storage":"0.0.10","@deepseek-ai/dsh-storage-domain":"0.0.10","@deepseek-ai/dsh-storage-json":"0.0.10","@deepseek-ai/dsh-subagent":"0.0.10","@deepseek-ai/dsh-subagent-fork-in-process":"0.0.10","@deepseek-ai/dsh-subagent-in-process-driver":"0.0.10","@deepseek-ai/dsh-subagent-spawn-in-process":"0.0.10","@deepseek-ai/dsh-subprocess":"0.0.10","@deepseek-ai/dsh-subprocess-local":"0.0.10","@deepseek-ai/dsh-system-prompt":"0.0.10","@deepseek-ai/dsh-terminal":"0.0.10","@deepseek-ai/dsh-terminal-bash":"0.0.10","@deepseek-ai/dsh-time-context":"0.0.10","@deepseek-ai/dsh-timeout":"0.0.10","@deepseek-ai/dsh-tmux-context":"0.0.10","@deepseek-ai/dsh-token-meter":"0.0.10","@deepseek-ai/dsh-tool-ask-user":"0.0.10","@deepseek-ai/dsh-tool-bash":"0.0.10","@deepseek-ai/dsh-tool-bash-persistent":"0.0.10","@deepseek-ai/dsh-tool-call-timeout-policy":"0.0.10","@deepseek-ai/dsh-tool-cordis":"0.0.10","@deepseek-ai/dsh-tool-fs":"0.0.10","@deepseek-ai/dsh-tool-fs-search":"0.0.10","@deepseek-ai/dsh-tool-goal":"0.0.10","@deepseek-ai/dsh-tool-jobs":"0.0.10","@deepseek-ai/dsh-tool-pwsh":"0.0.10","@deepseek-ai/dsh-tool-ralph":"0.0.10","@deepseek-ai/dsh-tool-skill":"0.0.10","@deepseek-ai/dsh-tool-str-replace-editor":"0.0.10","@deepseek-ai/dsh-tool-subagent":"0.0.10","@deepseek-ai/dsh-tool-subagent-control":"0.0.10","@deepseek-ai/dsh-tool-subagent-report":"0.0.10","@deepseek-ai/dsh-tool-todo":"0.0.10","@deepseek-ai/dsh-tool-web":"0.0.10","@deepseek-ai/dsh-tool-workflow":"0.0.10","@deepseek-ai/dsh-tools":"0.0.10","@deepseek-ai/dsh-typert-loader":"0.0.10","@deepseek-ai/dsh-typert-protocol":"0.0.10","@deepseek-ai/dsh-typert-registry":"0.0.10","@deepseek-ai/dsh-user-approval":"0.0.10","@deepseek-ai/dsh-user-questions":"0.0.10","@deepseek-ai/dsh-web":"0.0.10","@deepseek-ai/dsh-web-app":"0.0.10","@deepseek-ai/dsh-web-frontend":"0.0.10","@deepseek-ai/dsh-web-search-dsh":"0.0.10","@deepseek-ai/dsh-workflow":"0.0.10","@deepseek-ai/dsh-workflow-worker-thread":"0.0.10","@deepseek-ai/dsh-workspace":"0.0.10","@deepseek-ai/node-addon-landlock-run":"0.1.1","@deepseek-ai/schemastery":"3.18.1","@earendil-works/pi-ai":"0.83.0","@google/genai":"1.52.0","@hono/node-server":"2.1.1","@img/colour":"1.1.0","@joplin/turndown-plugin-gfm":"1.0.67","@mistralai/mistralai":"2.2.6","@mixmark-io/domino":"2.2.0","@modelcontextprotocol/sdk":"1.30.0","@napi-rs/xattr":"1.0.3","@opentelemetry/api":"1.9.1","@opentelemetry/api-logs":"0.220.0","@opentelemetry/core":"2.9.0","@opentelemetry/exporter-logs-otlp-http":"0.220.0","@opentelemetry/otlp-exporter-base":"0.220.0","@opentelemetry/otlp-transformer":"0.220.0","@opentelemetry/resources":"2.9.0","@opentelemetry/sdk-logs":"0.220.0","@opentelemetry/sdk-metrics":"2.9.0","@opentelemetry/sdk-trace":"2.9.0","@opentelemetry/semantic-conventions":"1.43.0","@parcel/watcher":"2.6.0","@protobufjs/aspromise":"1.1.2","@protobufjs/base64":"1.1.2","@protobufjs/codegen":"2.0.5","@protobufjs/eventemitter":"1.1.1","@protobufjs/fetch":"1.1.1","@protobufjs/float":"1.0.2","@protobufjs/path":"1.1.2","@protobufjs/pool":"1.1.0","@protobufjs/utf8":"1.1.2","@shikijs/core":"4.4.3","@shikijs/engine-javascript":"4.4.3","@shikijs/engine-oniguruma":"4.4.3","@shikijs/langs":"4.4.3","@shikijs/primitive":"4.4.3","@shikijs/themes":"4.4.3","@shikijs/types":"4.4.3","@shikijs/vscode-textmate":"10.0.2","@smithy/core":"3.33.2","@smithy/credential-provider-imds":"4.5.2","@smithy/fetch-http-handler":"5.7.2","@smithy/is-array-buffer":"2.2.0","@smithy/node-http-handler":"4.7.3","@smithy/signature-v4":"5.7.2","@smithy/types":"4.17.2","@smithy/util-buffer-from":"2.2.0","@smithy/util-utf8":"2.3.0","@standard-schema/spec":"1.1.0","@tanstack/react-virtual":"3.14.9","@tanstack/virtual-core":"3.17.7","@tencent/qb-auth-send-h5":"2.7.0","@types/debug":"4.1.13","@types/hast":"3.0.5","@types/katex":"0.16.8","@types/mdast":"4.0.4","@types/ms":"2.1.0","@types/node":"26.2.0","@types/retry":"0.12.0","@types/unist":"3.0.3","@ungap/structured-clone":"1.3.3","@vscode/ripgrep":"1.18.0","accepts":"2.0.0","agent-base":"7.1.4","ajv":"8.20.0","ajv-formats":"3.0.1","anser":"2.3.5","argparse":"2.0.1","base64-js":"1.5.1","bignumber.js":"9.3.1","body-parser":"2.3.0","bowser":"2.14.1","buffer-equal-constant-time":"1.0.1","bytes":"3.1.2","call-bind-apply-helpers":"1.0.2","call-bound":"1.0.4","ccount":"2.0.1","character-entities":"2.0.2","character-entities-html4":"2.1.0","character-entities-legacy":"3.0.0","chokidar":"4.0.3","clsx":"2.1.1","comma-separated-tokens":"2.0.3","commander":"15.0.0","content-disposition":"1.1.0","content-type":"1.0.5","cookie":"0.7.2","cookie-signature":"1.2.2","cors":"2.8.6","cross-spawn":"7.0.6","data-uri-to-buffer":"4.0.1","debug":"4.4.3","decode-named-character-reference":"1.3.0","depd":"2.0.0","dequal":"2.0.3","detect-libc":"2.1.2","devlop":"1.1.0","diff":"9.0.0","dunder-proto":"1.0.1","ecdsa-sig-formatter":"1.0.11","ee-first":"1.1.1","encodeurl":"2.0.0","es-define-property":"1.0.1","es-errors":"1.3.0","es-object-atoms":"1.1.2","escape-html":"1.0.3","escape-string-regexp":"5.0.0","etag":"1.8.1","eventsource":"3.0.7","eventsource-parser":"3.1.1","express":"5.2.1","express-rate-limit":"8.6.2","extend":"3.0.2","fast-deep-equal":"3.1.3","fast-uri":"3.1.5","fetch-blob":"3.2.0","fflate":"0.8.3","finalhandler":"2.1.1","formdata-polyfill":"4.0.10","forwarded":"0.2.0","fresh":"2.0.0","function-bind":"1.1.2","gaxios":"7.3.1","gcp-metadata":"8.1.2","get-intrinsic":"1.3.0","get-proto":"1.0.1","google-auth-library":"10.9.1","google-logging-utils":"1.1.3","gopd":"1.2.0","has-symbols":"1.1.0","hasown":"2.0.4","hast-util-to-html":"9.0.5","hast-util-whitespace":"3.0.0","hono":"4.13.2","html-void-elements":"3.0.0","http-errors":"2.0.1","http-proxy-agent":"7.0.2","https-proxy-agent":"7.0.6","iconv-lite":"0.7.3","immer":"10.2.0","inherits":"2.0.4","ip-address":"10.5.0","ipaddr.js":"1.9.1","is-extglob":"2.1.1","is-glob":"4.0.3","is-promise":"4.0.0","isexe":"2.0.0","jose":"6.2.9","js-tokens":"4.0.0","js-yaml":"4.3.1","json-bigint":"1.0.0","json-schema-to-ts":"3.1.1","json-schema-traverse":"1.0.0","json-schema-typed":"8.0.2","jwa":"2.0.1","jws":"4.0.1","katex":"0.16.47","koffi":"3.1.5","long":"5.3.2","longest-streak":"3.1.0","loose-envify":"1.4.0","markdown-table":"3.0.4","math-intrinsics":"1.1.0","mdast-util-find-and-replace":"3.0.2","mdast-util-from-markdown":"2.0.3","mdast-util-gfm":"3.1.0","mdast-util-gfm-autolink-literal":"2.0.1","mdast-util-gfm-footnote":"2.1.0","mdast-util-gfm-strikethrough":"2.0.0","mdast-util-gfm-table":"2.0.0","mdast-util-gfm-task-list-item":"2.0.0","mdast-util-math":"3.0.0","mdast-util-phrasing":"4.1.0","mdast-util-to-hast":"13.2.1","mdast-util-to-markdown":"2.1.2","mdast-util-to-string":"4.0.0","media-typer":"1.1.1","merge-descriptors":"2.0.0","micromark":"4.0.2","micromark-core-commonmark":"2.0.3","micromark-extension-gfm":"3.0.0","micromark-extension-gfm-autolink-literal":"2.1.0","micromark-extension-gfm-footnote":"2.1.0","micromark-extension-gfm-strikethrough":"2.1.0","micromark-extension-gfm-table":"2.1.1","micromark-extension-gfm-tagfilter":"2.0.0","micromark-extension-gfm-task-list-item":"2.1.0","micromark-extension-math":"3.1.0","micromark-factory-destination":"2.0.1","micromark-factory-label":"2.0.1","micromark-factory-space":"2.0.1","micromark-factory-title":"2.0.1","micromark-factory-whitespace":"2.0.1","micromark-util-character":"2.1.1","micromark-util-chunked":"2.0.1","micromark-util-classify-character":"2.0.1","micromark-util-combine-extensions":"2.0.1","micromark-util-decode-numeric-character-reference":"2.0.2","micromark-util-decode-string":"2.0.1","micromark-util-encode":"2.0.1","micromark-util-html-tag-name":"2.0.1","micromark-util-normalize-identifier":"2.0.1","micromark-util-resolve-all":"2.0.1","micromark-util-sanitize-uri":"2.0.1","micromark-util-subtokenize":"2.1.0","micromark-util-symbol":"2.0.1","micromark-util-types":"2.0.2","mime-db":"1.54.0","mime-types":"3.0.2","ms":"2.1.3","negotiator":"1.0.0","node-addon-api":"7.1.1","node-addon-native-custom-loader":"0.1.5","node-addon-require-builtin":"0.1.5","node-domexception":"1.0.0","node-fetch":"3.3.2","node-pty":"1.1.0","object-assign":"4.1.1","object-inspect":"1.13.4","on-finished":"2.4.1","once":"1.4.0","oniguruma-parser":"0.12.2","oniguruma-to-es":"4.3.6","openai":"6.26.0","p-retry":"4.6.2","parseurl":"1.3.3","partial-json":"0.1.7","path-key":"3.1.1","path-to-regexp":"8.4.2","picocolors":"1.1.1","picomatch":"4.0.5","pkce-challenge":"5.0.1","property-information":"7.2.0","protobufjs":"7.6.5","proxy-addr":"2.0.7","qs":"6.15.3","range-parser":"1.3.0","raw-body":"3.0.2","react":"18.3.1","react-dom":"18.3.1","readdirp":"4.1.2","regex":"6.1.0","regex-recursion":"6.0.2","regex-utilities":"2.3.0","require-from-string":"2.0.2","retry":"0.13.1","router":"2.2.0","safe-buffer":"5.2.1","safer-buffer":"2.1.2","scheduler":"0.23.2","semver":"7.8.5","send":"1.2.1","serve-static":"2.2.1","setprototypeof":"1.2.0","sharp":"0.35.3","shebang-command":"2.0.0","shebang-regex":"3.0.0","shiki":"4.4.3","side-channel":"1.1.1","side-channel-list":"1.0.1","side-channel-map":"1.0.1","side-channel-weakmap":"1.0.2","space-separated-tokens":"2.0.2","statuses":"2.0.2","stringify-entities":"4.0.4","toidentifier":"1.0.1","trim-lines":"3.0.1","ts-algebra":"2.0.0","tslib":"2.8.1","turndown":"7.2.4","type-is":"2.1.0","typebox":"1.3.7","undici-types":"8.3.0","unist-util-is":"6.0.1","unist-util-position":"5.0.0","unist-util-remove-position":"5.0.0","unist-util-stringify-position":"4.0.0","unist-util-visit":"5.1.0","unist-util-visit-parents":"6.0.2","unpipe":"1.0.0","use-sync-external-store":"1.2.0","vary":"1.1.2","vfile":"6.0.3","vfile-message":"4.0.3","web-streams-polyfill":"3.3.3","which":"2.0.2","wrappy":"1.0.2","ws":"8.21.3","yaml":"2.9.0","zod":"4.4.3","zod-to-json-schema":"3.25.2","zustand":"4.4.7","zwitch":"2.0.4"},"optionalDependencies":{"@img/sharp-darwin-arm64":"0.35.3","@img/sharp-darwin-x64":"0.35.3","@img/sharp-libvips-darwin-arm64":"1.3.2","@img/sharp-libvips-darwin-x64":"1.3.2","@img/sharp-win32-x64":"0.35.3","@koromix/koffi-darwin-arm64":"3.1.5","@koromix/koffi-darwin-x64":"3.1.5","@koromix/koffi-win32-x64":"3.1.5","@napi-rs/xattr-darwin-arm64":"1.0.3","@napi-rs/xattr-darwin-x64":"1.0.3","@parcel/watcher-darwin-arm64":"2.6.0","@parcel/watcher-darwin-x64":"2.6.0","@parcel/watcher-win32-x64":"2.6.0","@vscode/ripgrep-darwin-arm64":"1.18.0","@vscode/ripgrep-darwin-x64":"1.18.0","@vscode/ripgrep-win32-x64":"1.18.0","node-addon-require-builtin-darwin-arm64":"0.1.5","node-addon-require-builtin-darwin-x64":"0.1.5","node-addon-require-builtin-win32-x64-msvc":"0.1.5"},"bundleDependencies":true}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var K=Object.defineProperty;var n=(t,e)=>K(t,"name",{value:e,configurable:!0});import E from"@deepseek-ai/schemastery";import{credentialRef as P}from"@deepseek-ai/dsh-credentials";import{installSettingsSection as k,settingsNamespace as g}from"@deepseek-ai/dsh-settings";import{launchEnvironmentOf as m}from"@deepseek-ai/dsh-launch-environment";import{WebError as u}from"@deepseek-ai/dsh-web";const f="deepseek-official",O="https://api.deepseek.com/anthropic/v1",b="deepseek-v4-flash",v="2023-06-01",R=4096,I=5,U="deepseek-harness/0.0.1";function L(t){const e=new Map;for(const r of t)if(r.type==="text")for(const s of r.citations??[])s.url!=null&&s.url.length>0&&s.cited_text!=null&&s.cited_text.length>0&&!e.has(s.url)&&e.set(s.url,s.cited_text);return e}n(L,"citationSnippets");function T(t){const e=t.content??[],r=e.filter(p=>p.type==="web_search_tool_result");if(r.length===0)throw new u("DeepSeek returned no web_search_tool_result blocks; the request may not have triggered native web search","WEB_PROVIDER_ERROR");const s=L(e),a=new Set,i=[];for(const p of r)for(const o of p.content??[]){if(o.type!=="web_search_result"||o.url.length===0||a.has(o.url))continue;a.add(o.url);const c=s.get(o.url);i.push({url:o.url,...o.title!=null&&o.title.length>0?{title:o.title}:{},...c!=null&&c.length>0?{snippet:c}:{},...o.page_age!=null&&o.page_age.length>0?{publishedAt:o.page_age}:{}})}return{sources:i,truncated:!1}}n(T,"mapAnthropicResponse");var S=class{static{n(this,"DeepSeekSearchProvider")}resolveOptions;id=f;constructor(t){this.resolveOptions=t}available(){const t=this.resolveOptions();return((t.apiKey?.length??0)>0||t.resolveApiKey!==void 0)&&URL.canParse(t.baseURL)&&w(t.maxTokens)&&w(t.maxUses)}async search(t,e){const r=this.resolveOptions(),s=await this.apiKey(r,e);_(e);const a=`${r.baseURL}/messages`,i={model:r.model,max_tokens:r.maxTokens,messages:[{role:"user",content:[{type:"text",text:`Perform a web search for the query: ${t.query}`}]}],tools:[{type:"web_search_20250305",name:"web_search",max_uses:r.maxUses}]};r.recordRequest?.({endpoint:a,apiVersion:r.apiVersion,body:i}),_(e);let p;try{p=await fetch(a,{method:"POST",redirect:"error",headers:{"x-api-key":s,authorization:`Bearer ${s}`,"anthropic-version":r.apiVersion,"content-type":"application/json",accept:"application/json","user-agent":U},body:JSON.stringify(i),...e!==void 0?{signal:e}:{}})}catch(o){throw e?.aborted===!0||h(o)?l(e,o):new u(`DeepSeek search request failed: ${String(o)}`,"WEB_PROVIDER_ERROR",{cause:o})}if(!p.ok){let o=`DeepSeek API error (HTTP ${p.status})`;try{const c=await p.json(),d=typeof c.error=="string"?c.error:c.error?.message??c.message;d!==void 0&&d.length>0&&(o=d)}catch(c){if(e?.aborted===!0||h(c))throw l(e,c)}throw new u(o,"WEB_PROVIDER_ERROR")}try{return T(await p.json())}catch(o){throw e?.aborted===!0||h(o)?l(e,o):o instanceof u?o:new u(`DeepSeek returned an unprocessable response body: ${String(o)}`,"WEB_PROVIDER_ERROR",{cause:o})}}async apiKey(t,e){if(_(e),t.apiKey!==void 0&&t.apiKey.length>0)return t.apiKey;let r;try{r=await x(t.resolveApiKey?.()??Promise.resolve(void 0),e)}catch(s){throw e?.aborted===!0||h(s)?l(e,s):new u(`DeepSeek search credential resolution failed: ${String(s)}`,"WEB_PROVIDER_ERROR",{cause:s})}if(r!==void 0&&r.length>0)return r;throw new u(`DeepSeek search has no API key for "${t.apiKeyEnv??"DEEPSEEK_API_KEY"}"; store it through the credentials service (the web Models page writes it), export it in the launching environment, or set a literal "apiKey" in the web-search-deepseek config`,"WEB_PROVIDER_CREDENTIAL_MISSING")}};function x(t,e){return e===void 0?t:e.aborted?Promise.reject(l(e)):new Promise((r,s)=>{const a=n(()=>{s(l(e))},"onAbort");e.addEventListener("abort",a,{once:!0}),t.then(i=>{e.removeEventListener("abort",a),r(i)},i=>{e.removeEventListener("abort",a),s(new Error(String(i).replace(/^Error: /u,""),{cause:i}))})})}n(x,"abortable");function _(t){if(t?.aborted===!0)throw l(t)}n(_,"throwIfSearchAborted");function l(t,e){return new u("DeepSeek search aborted","WEB_ABORTED",{cause:t?.aborted===!0?t.reason:e})}n(l,"searchAborted");function h(t){return t instanceof DOMException&&t.name==="AbortError"}n(h,"isAbortError");function w(t){return Number.isInteger(t)&&t>0}n(w,"isPositiveInteger");const V="web-search-deepseek",B=["web"],y="DEEPSEEK_API_KEY",A=E.object({apiKey:E.string().role("secret"),apiKeyEnv:E.string().role("credential-ref").default(y),baseURL:E.string(),model:E.string().default(b),apiVersion:E.string().default(v),maxTokens:E.number().step(1).min(1).default(R),maxUses:E.number().step(1).min(1).default(5)}),N="DEEPSEEK_SEARCH_BASE_URL",D=g("web-search-deepseek");function W(t,e){const r=P(e.apiKeyEnv??y),s=e.apiKey!==void 0&&e.apiKey.length>0?e.apiKey:void 0;return{...s===void 0?{}:{apiKey:s},resolveApiKey:n(async()=>{const a=t.get("credentials");if(a!==void 0)return(await a.resolve(r))?.value;const i=m(t).get(r);return i!==void 0&&i.value.length>0?i.value:void 0},"resolveApiKey"),apiKeyEnv:r,baseURL:e.baseURL??m(t).get(N)?.value??"https://api.deepseek.com/anthropic/v1",model:e.model??"deepseek-v4-flash",apiVersion:e.apiVersion??"2023-06-01",maxTokens:e.maxTokens??4096,maxUses:e.maxUses??5,recordRequest:n(a=>{t.get("agents")?.currentInitiator()?.session.append("web/deepseek-search-llm-request",a)},"recordRequest")}}n(W,"resolveOptions");function M(t,e){let r=n(()=>e,"current");k(t,D,A,e,{setSource:n(s=>{r=s},"setSource"),onChange:n(()=>{},"onChange")}),t.web.registerSearchProvider(new S(()=>W(t,r())))}n(M,"apply");export{A as Config,v as DEEPSEEK_DEFAULT_API_VERSION,O as DEEPSEEK_DEFAULT_BASE_URL,R as DEEPSEEK_DEFAULT_MAX_TOKENS,I as DEEPSEEK_DEFAULT_MAX_USES,b as DEEPSEEK_DEFAULT_MODEL,f as DEEPSEEK_PROVIDER_ID,S as DeepSeekSearchProvider,D as WEB_SEARCH_DEEPSEEK_SETTINGS_NAMESPACE,M as apply,B as inject,V as name};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var a=Object.defineProperty;var s=(e,n)=>a(e,"name",{value:n,configurable:!0});const t="@deepseek-ai/dsh-web-search-deepseek",i="web-search-deepseek-invariant",r=["invariants"],c=s(()=>{},"install"),o=s(e=>Promise.resolve(e.invariants.register(t,c)),"apply");export{o as apply,r as inject,i as name};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-web-search-deepseek","version":"0.0.9","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-credentials":"^0.0.9","@deepseek-ai/dsh-session":"^0.0.9","@deepseek-ai/dsh-agent":"^0.0.9","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-web":"^0.0.9","@deepseek-ai/dsh-launch-environment":"^0.0.9","@deepseek-ai/dsh-settings":"^0.0.9","@deepseek-ai/dsh-invariants":"^0.0.9"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
|
/package/node_modules/@deepseek-ai/{dsh-web-search-deepseek → dsh-home-quarantine-macos}/LICENSE
RENAMED
|
File without changes
|