@songtonyli/dsh-cli 0.1.68 → 0.1.70
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/README.md +1 -1
- package/bin/dsh.mjs +1 -1
- package/node_modules/@anthropic-ai/sdk/CHANGELOG.md +182 -0
- package/node_modules/@anthropic-ai/sdk/README.md +1 -1
- package/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js +66 -53
- package/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs +66 -53
- package/node_modules/@anthropic-ai/sdk/client.js +871 -856
- package/node_modules/@anthropic-ai/sdk/client.mjs +872 -851
- package/node_modules/@anthropic-ai/sdk/core/api-promise.js +71 -69
- package/node_modules/@anthropic-ai/sdk/core/api-promise.mjs +71 -65
- package/node_modules/@anthropic-ai/sdk/core/error.js +5 -3
- package/node_modules/@anthropic-ai/sdk/core/error.mjs +5 -3
- package/node_modules/@anthropic-ai/sdk/core/pagination.js +56 -51
- package/node_modules/@anthropic-ai/sdk/core/pagination.mjs +56 -42
- package/node_modules/@anthropic-ai/sdk/core/resource.js +0 -1
- package/node_modules/@anthropic-ai/sdk/core/resource.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/core/streaming.js +214 -240
- package/node_modules/@anthropic-ai/sdk/core/streaming.mjs +215 -241
- package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.js +14 -19
- package/node_modules/@anthropic-ai/sdk/helpers/beta/mcp.mjs +14 -13
- package/node_modules/@anthropic-ai/sdk/index.js +7 -7
- package/node_modules/@anthropic-ai/sdk/index.mjs +3 -3
- package/node_modules/@anthropic-ai/sdk/internal/builtin-types.js +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/constants.js +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js +27 -24
- package/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs +27 -24
- package/node_modules/@anthropic-ai/sdk/internal/decoders/line.js +52 -49
- package/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs +52 -43
- package/node_modules/@anthropic-ai/sdk/internal/detect-platform.js +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/errors.js +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/errors.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/file-store.js +256 -258
- package/node_modules/@anthropic-ai/sdk/internal/file-store.mjs +256 -243
- package/node_modules/@anthropic-ai/sdk/internal/headers.js +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/headers.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/node.browser.mjs +7 -7
- package/node_modules/@anthropic-ai/sdk/internal/parse.js +2 -3
- package/node_modules/@anthropic-ai/sdk/internal/parse.mjs +3 -4
- package/node_modules/@anthropic-ai/sdk/internal/request-options.js +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/request-options.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/shim-types.js +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/shim-types.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/shims.js +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/shims.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/stainless-helper-header.js +12 -7
- package/node_modules/@anthropic-ai/sdk/internal/stainless-helper-header.mjs +6 -1
- package/node_modules/@anthropic-ai/sdk/internal/to-file.js +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/to-file.mjs +1 -1
- package/node_modules/@anthropic-ai/sdk/internal/types.js +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/types.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/uploads.js +5 -2
- package/node_modules/@anthropic-ai/sdk/internal/uploads.mjs +5 -2
- package/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.js +66 -63
- package/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.mjs +66 -56
- package/node_modules/@anthropic-ai/sdk/internal/utils/base64.js +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/env.js +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/log.js +12 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs +11 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/query.js +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/query.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/values.js +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils.js +0 -1
- package/node_modules/@anthropic-ai/sdk/internal/utils.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js +596 -590
- package/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs +596 -590
- package/node_modules/@anthropic-ai/sdk/lib/MessageStream.js +544 -541
- package/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs +544 -541
- package/node_modules/@anthropic-ai/sdk/lib/environments/poller.js +180 -174
- package/node_modules/@anthropic-ai/sdk/lib/environments/poller.mjs +180 -153
- package/node_modules/@anthropic-ai/sdk/lib/environments/worker.js +375 -359
- package/node_modules/@anthropic-ai/sdk/lib/environments/worker.mjs +374 -319
- package/node_modules/@anthropic-ai/sdk/lib/internal/BetaToolRunnerStream.js +137 -0
- package/node_modules/@anthropic-ai/sdk/lib/internal/BetaToolRunnerStream.mjs +137 -0
- package/node_modules/@anthropic-ai/sdk/lib/internal/stub.js +6 -0
- package/node_modules/@anthropic-ai/sdk/lib/internal/stub.mjs +3 -0
- package/node_modules/@anthropic-ai/sdk/lib/internal/types.js +3 -0
- package/node_modules/@anthropic-ai/sdk/lib/internal/types.mjs +2 -0
- package/node_modules/@anthropic-ai/sdk/lib/middleware.js +20 -2
- package/node_modules/@anthropic-ai/sdk/lib/middleware.mjs +20 -2
- package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.js +628 -361
- package/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.mjs +629 -355
- package/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.js +600 -594
- package/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.mjs +599 -550
- package/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.js +39 -36
- package/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.mjs +39 -13
- package/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.js +7 -5
- package/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.mjs +7 -5
- package/node_modules/@anthropic-ai/sdk/package.json +3 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.js +135 -133
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.mjs +135 -133
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/agents.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/beta.js +39 -37
- package/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs +39 -37
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployments.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/deployments.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/dreams.js +45 -6
- package/node_modules/@anthropic-ai/sdk/resources/beta/dreams.mjs +45 -6
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.js +157 -155
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.mjs +157 -155
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.js +255 -253
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.mjs +255 -253
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/environments.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/files.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/index.js +8 -8
- package/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs +1 -2
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.js +150 -148
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.mjs +150 -148
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js +4 -4
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs +2 -3
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js +132 -112
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs +131 -111
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/models.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/api-keys.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/api-keys.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/compliance-settings.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/compliance-settings.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/external-keys.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/external-keys.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/federation.js +11 -9
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/federation.mjs +11 -9
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/index.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/index.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/issuers.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/issuers.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules/index.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules/index.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules/rules.js +187 -185
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules/rules.mjs +187 -185
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules/workspaces.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules/workspaces.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/index.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/index.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/invites.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/invites.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/organization.js +38 -36
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/organization.mjs +38 -36
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/rate-limits.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/rate-limits.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts/index.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts/index.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts/service-accounts.js +163 -161
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts/service-accounts.mjs +163 -161
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts/workspaces.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts/workspaces.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/users.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/users.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/index.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/index.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/members.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/members.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/rate-limits.js +6 -5
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/rate-limits.mjs +6 -5
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/service-accounts.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/service-accounts.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/workspaces.js +97 -95
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/workspaces.mjs +97 -95
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/organization.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.js +118 -116
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.mjs +118 -116
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.js +161 -159
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.mjs +161 -159
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.js +86 -84
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.mjs +86 -84
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/sessions.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.js +104 -102
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.mjs +104 -102
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/skills.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/index.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/index.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.js +188 -186
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.mjs +188 -186
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/tunnels.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.js +25 -11
- package/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.mjs +25 -11
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.js +156 -154
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.mjs +156 -154
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/vaults.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/beta.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/completions.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/completions.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/files.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/files.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/index.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/index.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/batches.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/index.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages/messages.js +115 -113
- package/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs +115 -113
- package/node_modules/@anthropic-ai/sdk/resources/messages.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/messages.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/models.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/models.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/shared.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/shared.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/skills/index.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/skills/index.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/skills/skills.js +88 -86
- package/node_modules/@anthropic-ai/sdk/resources/skills/skills.mjs +88 -86
- package/node_modules/@anthropic-ai/sdk/resources/skills/versions.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/skills/versions.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/skills.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/skills.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/top-level.js +0 -1
- package/node_modules/@anthropic-ai/sdk/resources/top-level.mjs +0 -1
- package/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/parser.ts +71 -56
- package/node_modules/@anthropic-ai/sdk/src/client.ts +138 -98
- package/node_modules/@anthropic-ai/sdk/src/core/api-promise.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/core/error.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/core/pagination.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/core/resource.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/core/streaming.ts +3 -39
- package/node_modules/@anthropic-ai/sdk/src/index.ts +10 -17
- package/node_modules/@anthropic-ai/sdk/src/internal/builtin-types.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/internal/detect-platform.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/internal/errors.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/internal/headers.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/internal/node.browser.ts +7 -7
- package/node_modules/@anthropic-ai/sdk/src/internal/parse.ts +8 -13
- package/node_modules/@anthropic-ai/sdk/src/internal/request-options.ts +1 -3
- package/node_modules/@anthropic-ai/sdk/src/internal/shim-types.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/internal/shims.ts +4 -5
- package/node_modules/@anthropic-ai/sdk/src/internal/stainless-helper-header.ts +7 -1
- package/node_modules/@anthropic-ai/sdk/src/internal/to-file.ts +1 -1
- package/node_modules/@anthropic-ai/sdk/src/internal/types.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/internal/uploads.ts +5 -2
- package/node_modules/@anthropic-ai/sdk/src/internal/utils/base64.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/internal/utils/bytes.ts +1 -1
- package/node_modules/@anthropic-ai/sdk/src/internal/utils/env.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/internal/utils/log.ts +16 -4
- package/node_modules/@anthropic-ai/sdk/src/internal/utils/query.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/internal/utils/uuid.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/internal/utils/values.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/internal/utils.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/lib/.keep +0 -2
- package/node_modules/@anthropic-ai/sdk/src/lib/BetaMessageStream.ts +9 -6
- package/node_modules/@anthropic-ai/sdk/src/lib/beta-parser.ts +1 -3
- package/node_modules/@anthropic-ai/sdk/src/lib/environments/worker.ts +29 -15
- package/node_modules/@anthropic-ai/sdk/src/lib/internal/BetaToolRunnerStream.ts +170 -0
- package/node_modules/@anthropic-ai/sdk/src/lib/internal/stub.ts +2 -0
- package/node_modules/@anthropic-ai/sdk/src/lib/internal/types.ts +2 -0
- package/node_modules/@anthropic-ai/sdk/src/lib/middleware.ts +20 -2
- package/node_modules/@anthropic-ai/sdk/src/lib/parser.ts +1 -3
- package/node_modules/@anthropic-ai/sdk/src/lib/tools/BetaRunnableTool.ts +2 -1
- package/node_modules/@anthropic-ai/sdk/src/lib/tools/BetaToolRunner.ts +579 -240
- package/node_modules/@anthropic-ai/sdk/src/lib/transform-json-schema.ts +8 -6
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/agents/agents.ts +147 -53
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/agents/index.ts +1 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/agents/versions.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/agents.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/beta.ts +67 -3
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/deployment-runs.ts +13 -8
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/deployments.ts +43 -27
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/dreams.ts +279 -89
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/environments.ts +5 -12
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/index.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/environments/work.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/environments.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/files.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/index.ts +191 -161
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/index.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memories.ts +82 -23
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memory-stores.ts +6 -5
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores/memory-versions.ts +60 -43
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/memory-stores.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/batches.ts +27 -12
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/index.ts +47 -21
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/messages.ts +741 -176
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/messages.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/models.ts +30 -7
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/api-keys.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/compliance-settings.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/external-keys.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/federation/federation.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/federation/index.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/federation/issuers.ts +4 -7
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/federation/rules/index.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/federation/rules/rules.ts +4 -8
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/federation/rules/workspaces.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/federation/rules.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/federation.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/index.ts +6 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/invites.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/organization.ts +12 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/rate-limits.ts +112 -6
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/service-accounts/index.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/service-accounts/service-accounts.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/service-accounts/workspaces.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/service-accounts.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/users.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/workspaces/index.ts +2 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/workspaces/members.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/workspaces/rate-limits.ts +58 -14
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/workspaces/service-accounts.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/workspaces/workspaces.ts +7 -5
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization/workspaces.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/organization.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/events.ts +234 -82
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/index.ts +10 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/resources.ts +5 -9
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/sessions.ts +85 -46
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/events.ts +2 -4
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/index.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads/threads.ts +21 -15
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions/threads.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/sessions.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/index.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/skills.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills/versions.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/skills.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/tunnels/certificates.ts +7 -7
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/tunnels/index.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/tunnels/tunnels.ts +3 -4
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/tunnels.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/user-profiles.ts +300 -38
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/credentials.ts +37 -35
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/index.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults/vaults.ts +1 -3
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/vaults.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta/webhooks.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/beta.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/completions.ts +3 -4
- package/node_modules/@anthropic-ai/sdk/src/resources/files.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/index.ts +17 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/messages/batches.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/messages/index.ts +17 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/messages/messages.ts +289 -93
- package/node_modules/@anthropic-ai/sdk/src/resources/messages.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/models.ts +12 -9
- package/node_modules/@anthropic-ai/sdk/src/resources/shared.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/skills/index.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/skills/skills.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/skills/versions.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/resources/skills.ts +0 -2
- package/node_modules/@anthropic-ai/sdk/src/tools/agent-toolset/node.ts +3 -2
- package/node_modules/@anthropic-ai/sdk/src/tsconfig.json +13 -3
- package/node_modules/@anthropic-ai/sdk/src/version.ts +1 -1
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.js +0 -6
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.mjs +0 -6
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/memories.js +694 -691
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/memories.mjs +691 -631
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.browser.js +12 -12
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.js +207 -200
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.mjs +197 -186
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.js +5 -5
- package/node_modules/@anthropic-ai/sdk/tools/agent-toolset/sync-interval.js +3 -3
- package/node_modules/@anthropic-ai/sdk/tools/memory/node.browser.js +2 -2
- package/node_modules/@anthropic-ai/sdk/version.js +1 -1
- package/node_modules/@anthropic-ai/sdk/version.mjs +1 -1
- package/node_modules/@deepseek-ai/cordis-plugin-loader/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh/lib/bin.js +1 -1
- package/node_modules/@deepseek-ai/dsh/package.json +121 -117
- package/node_modules/@deepseek-ai/dsh-acp/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-acp/README.md +5 -1
- package/node_modules/@deepseek-ai/dsh-acp/README.zh.md +5 -1
- package/node_modules/@deepseek-ai/dsh-acp/lib/index.js +59 -17
- package/node_modules/@deepseek-ai/dsh-acp/package.json +23 -22
- package/node_modules/@deepseek-ai/dsh-acp-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-acp-app/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-acp-app/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-acp-app/cordis.patch.yml +0 -1
- package/node_modules/@deepseek-ai/dsh-acp-app/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-agent/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-agent-instructions/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-agent-instructions/README.md +15 -7
- package/node_modules/@deepseek-ai/dsh-agent-instructions/README.zh.md +15 -7
- package/node_modules/@deepseek-ai/dsh-agent-instructions/lib/index.js +226 -91
- package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +24 -22
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.i18n.yaml +10 -10
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.md +6 -3
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.zh.md +6 -3
- package/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +67 -25
- package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +17 -21
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/practices.md +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +9 -5
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/lib/index.js +1 -5
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +477 -237
- package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +41 -41
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +44 -20
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +43 -13
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +227 -41
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +199 -21
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/manager.js +36 -11
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/projection-store.js +1 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/service.js +7 -3
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +40 -10
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/list.js +6 -4
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/skill-catalog.js +7 -6
- package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +73 -70
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.md +5 -5
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.zh.md +5 -5
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/index.js +13 -9
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +21 -17
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.remote-client.js +10 -10
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/index.js +13 -10
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +18 -17
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-app-boot/README.md +5 -1
- package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +5 -1
- package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +61 -8
- package/node_modules/@deepseek-ai/dsh-app-boot/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-authorization/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-base/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-base/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-base/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +13 -25
- package/node_modules/@deepseek-ai/dsh-base/package.json +94 -94
- package/node_modules/@deepseek-ai/dsh-bash-local/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-brand/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-connection/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-connection/README.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-connection/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-connection/lib/index.js +94 -38
- package/node_modules/@deepseek-ai/dsh-client-connection/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +9 -5
- package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-locale/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-modules/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-resources/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-store/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.zh.md +2 -2
- 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 +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +19 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +19 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +5539 -4837
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +38 -38
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +26 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +33 -33
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +26 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +46 -33
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +13 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +22 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.i18n.yaml +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +11 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +9 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +9 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +303 -94
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +6 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +6 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/CommandText.module.css +12 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DisclosureRow.module.css +15 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImageLightbox.module.css +12 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TerminalBlock.module.css +3 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +224 -120
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CommandText.d.ts +16 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DisclosureRow.d.ts +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/PermissionIcon.d.ts +12 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TerminalBlock.d.ts +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/lib/client.js +87 -87
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +9 -9
- 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 +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.md +4 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +4 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +54 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.excel.js +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +437 -91
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +73 -33
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.terminal.js +27 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.i18n.yaml +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +50 -35
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.i18n.yaml +19 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.md +13 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.zh.md +13 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +471 -104
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/index.js +134 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +5 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +5 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +52 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +28 -26
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +60 -43
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +1 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.md +3 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.zh.md +3 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +20 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +52 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-cmdline/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-command-compact/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-command-goal/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +9 -5
- package/node_modules/@deepseek-ai/dsh-commands/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-compaction/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-config-editor/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +153 -41
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/index.js +9 -9
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +30 -22
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.remote-client.js +12 -12
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/index.js +12 -8
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-credentials/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-credentials-local/lib/index.js +7 -3
- package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/lib/index.js +25 -9
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/lib/types/index.js +22 -9
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-deque/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.i18n.yaml +35 -35
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.md +19 -21
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.zh.md +19 -21
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/index.js +748 -978
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/index.js +44 -22
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/lifecycle.js +18 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/roster.js +4 -19
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/session-message.js +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/cordis.patch.yml +0 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +7 -5
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/lib/index.js +4 -5
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +41 -39
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/README.md +78 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/README.zh.md +78 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/icon.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/{dsh-hook-protocol → dsh-experimental-badge-skill-bundle}/package.json +18 -8
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/README.md +90 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/README.zh.md +90 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/lib/client.js +4766 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/lib/index.js +250 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/lib/typert.host.js +137 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/lib/typert.remote-client.js +72 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/package.json +100 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/client.js +298 -24
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +34 -32
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/README.md +81 -0
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/README.zh.md +81 -0
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/cordis.patch.yml +8 -0
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/icon.svg +5 -0
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/package.json +52 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/AutocompleteHistory-BJXpeT8x.js +73 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{FormatterActions-FcPgI0uV.js → FormatterActions-D6HaA-6R.js} +17 -6
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/MapUtilities-C6UNTa-e.js +50 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/ResolverBase-BwI5i_Uj.js +33 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/Runnable-Mz0aa-Zm.js +22 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/StorageItem-_wZ3i4k_.js +12 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/StringUtilities-CMDxNrEc.js +190 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{accessibility-BY7oM_Zr.js → accessibility-B8zUkXQh.js} +225 -226
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{acorn-_jSanihy.js → acorn-yx0Qbj0X.js} +58 -51
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{adorners-CGSl65ls.js → adorners-DUGSZ7j5.js} +2 -4
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{ai_assistance-B1wOs26S.js → ai_assistance-Clc1xIf6.js} +571 -558
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{angular-Dutmu-L9.js → angular-CyYAyotN.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{animation-1CaxAvi1.js → animation-Cb5WQenF.js} +91 -92
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{application-a6KsIIks.js → application-oBBqvcZp.js} +2237 -2232
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{autofill-DRlJ5WO3.js → autofill--bByRQmk.js} +24 -24
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/autofill_manager-XEkk9oZ5.js +59 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{bindings-Cr5O2fL5.js → bindings-CAIo-k1a.js} +492 -462
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{browser-DL1S1Kiu.js → browser-DveWkZD5.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{browser_debugger-DfivmPio.js → browser_debugger--7vbe3d1.js} +146 -145
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{changes-CzTmqALz.js → changes-DjWi1v9d.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{changes-o7rU211I.js → changes-xRx2n786.js} +46 -45
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{code_highlighter-Bh9ro2mP.js → code_highlighter-H8UOTYgG.js} +6 -3
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{codemirror-CBR9VJma.js → codemirror-CENmPHF2.js} +157 -137
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{color_picker-D9TxczuM.js → color_picker-BIF87165.js} +273 -273
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{common-qd_KLeYO.js → common-DMSVbaSb.js} +1077 -1439
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{common-LSsbP0lU.js → common-Ec_cVEiV.js} +2683 -2500
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{common-DhyylFJO.js → common-kU2bwxmb.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{components-DB4oenRq.js → components-B3I3NG-4.js} +68 -67
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{components-CT445-PD.js → components-CaH94O_V.js} +170 -116
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{components-CSVBAbW3.js → components-CsKivuxU.js} +258 -293
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{console-DwIHHkNd.js → console-BmwBLvHk.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{console-VAMtSW-X.js → console-CUdjJ9Xp.js} +596 -601
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{console_counters-BpgnYGWt.js → console_counters-BScL6IPX.js} +26 -26
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{coverage-4LvbYA2T.js → coverage-HrH22f9l.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{coverage-CYnEOg6T.js → coverage-NhXPoU6-.js} +156 -150
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{cpp-CdElSCaB.js → cpp-DaQzQ7EV.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{css_overview-s6ziZpq8.js → css_overview-CxLMtTr9.js} +344 -345
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{data_grid-UqFJQMC9.js → data_grid-CWSfqJp7.js} +109 -102
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{developer_resources-BEGIXIcF.js → developer_resources-BATAp86N.js} +38 -37
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{diff-qn55JSCS.js → diff-DXcO6Sla.js} +24 -7
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{dom_extension-B0UaTHZj.js → dom_extension-BLny9Waw.js} +38 -14
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{elements-B5_H3hT1.js → elements-BU8z2iUE.js} +1881 -1776
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{elements-KASgrHtM.js → elements-Ck9kJ4zi.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{emulation-DZ65TT-w.js → emulation-BIhr0HsX.js} +61 -59
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{emulation-CbCy_GsY.js → emulation-CJ_3s3iH.js} +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{emulation-C518g-x2.js → emulation-CczS-vUV.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{emulation-3hQQL2yf.js → emulation-DSV_4uNT.js} +277 -271
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{event_listeners-DhTNoGOp.js → event_listeners-DnM83R-t.js} +63 -63
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/explain-D5jDyrH1.js +745 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{greendev-yysgT4ng.js → greendev-IsUdA61g.js} +38 -38
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{heap_snapshot-CZt2KUPL.js → heap_snapshot-CTdRQlts.js} +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{helper-DbYCW1m0.js → helper-YgGAtBRb.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{helpers-C-Rya7xk.js → helpers-BQtqX6SJ.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{i18n--ZipiwZ9.js → i18n-BX_qxSex.js} +4 -3
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{icon_button-BKsdgzo3.js → icon_button-AiKYfeBf.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{inline_editor-DaZpS-8x.js → inline_editor-C2tEGunK.js} +218 -215
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{inspector_main-DkFTp37J.js → inspector_main-BqySmYv0.js} +75 -73
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{issue_counter-rspQhd2r.js → issue_counter-BX-KAvOZ.js} +22 -22
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{issues-DrqiU8Pw.js → issues-DaMGmAC2.js} +469 -468
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{issues_manager-DZmsx4wr.js → issues_manager-e2pmpVIp.js} +537 -599
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{java-7g_qfFa2.js → java-62KG1Vpd.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{layer_viewer-farvqWTo.js → layer_viewer-pReGOxmi.js} +101 -100
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{layers-BO25qbXj.js → layers-BsFRGUMJ.js} +22 -22
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{legacy-DOCLCisy.js → legacy-BYV0pRId.js} +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{legacy-Dv5Py_9p.js → legacy-md3HQs_7.js} +6124 -5944
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{less-DXiRNbd4.js → less-DmILOm_5.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{lighthouse-BvKq1-jB.js → lighthouse-BZB1Bmby.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{lighthouse-CawSQT5Y.js → lighthouse-NimZl1cI.js} +181 -191
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{linear_memory_inspector-CGR2Z7Ph.js → linear_memory_inspector-p2-Ih16z.js} +22 -22
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{live-metrics-4EBbno52.js → live-metrics-CTk3dlLJ.js} +73 -73
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{main-DY6diJ-3.js → main-B8aRedWL.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/main-CU6VhZTa.js +753 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{markdown-tZoR6Bsu.js → markdown-rVMoMV9q.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{markdown_view-CxbhmCgQ.js → markdown_view-JGM1CTOq.js} +15 -12
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{marked-zGgfoDxO.js → marked-CGxJO_CC.js} +20 -14
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{media-DEVFcgOQ.js → media-Cf52Rd9o.js} +236 -234
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{media-BeuRvD7L.js → media-Z6GjdmRm.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{menus-Cjq-uD73.js → menus-Cu1y5CSe.js} +85 -83
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{mobile_throttling-CuGRbE5B.js → mobile_throttling-CvudVoXO.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{mobile_throttling-B_3ewTmi.js → mobile_throttling-dNBk2ECF.js} +174 -172
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{network-CpKopkw0.js → network-BX1qe3_D.js} +1237 -1230
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{network-C-3jvhoX.js → network-B_IYxadp.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{object_ui-cmgZzf81.js → object_ui-Bkc4pMRS.js} +255 -249
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{object_ui-BLzT-Z2e.js → object_ui-CYZ9Q9W6.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{perf_ui-uax9xKLn.js → perf_ui-Ch0z1TZ3.js} +409 -405
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{perf_ui-CYbvqQmF.js → perf_ui-Dlpk1iY7.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{performance_monitor-B_RXvxih.js → performance_monitor-BTc9fFSa.js} +55 -56
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{php-tl5gKrxu.js → php-DVXaM5js.js} +7 -5
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/platform-D4TUCh2P.js +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{profiler-C7HGH_E8.js → profiler-CBSzVAE7.js} +707 -703
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{protocol_client-Cwf_jb8R.js → protocol_client-L4-X1Qrb.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/protocol_monitor-B0h70b5w.js +2 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{protocol_monitor-DW-p-6yH.js → protocol_monitor-DOPDE4ZB.js} +221 -225
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{puppeteer-ZLIws8kb.js → puppeteer-xGpmPP-i.js} +71 -89
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{python-D9AdRkMm.js → python-kisakN4d.js} +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{quick_open-C_ga_4Hq.js → quick_open-BUuhuOIx.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{quick_open-DJB3P9Ki.js → quick_open-CdyeK7mh.js} +92 -94
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{recorder-DGA0ByVf.js → recorder-DJPAdS_H.js} +365 -365
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{request_link_icon-DPUTK49Y.js → request_link_icon-D2WGdvuX.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{root-DbVQo07X.js → root-DdvV-xPu.js} +52 -74
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{sass-BPQlMmw2.js → sass-CIsRpUiU.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{security-BvuW7HEs.js → security-D2VNjFFC.js} +175 -181
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{sensors-xT8kT9Ea.js → sensors-DjLhEaOA.js} +62 -62
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{settings-z07EmGki.js → settings-D4dmilBC.js} +235 -229
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{settings_ui-gaRa3Hhd.js → settings_ui-DJR_-8cd.js} +54 -53
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{snackbars-CGAwPElE.js → snackbars-DazoAb8B.js} +1169 -1172
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{snippets-Dfmqv8f-.js → snippets-BKl1jevC.js} +51 -50
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{source_frame-_RZ4t3FM.js → source_frame-DpMQZC8A.js} +166 -165
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{sources-DbXkdCVM.js → sources-BS1uHO2R.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{sources-C5ZQ_xfd.js → sources-D4DLpkXp.js} +1131 -1140
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{suggestion_input-Dw2hCSbK.js → suggestion_input-oulk6E-b.js} +6 -16
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{svelte-DJS1itbE.js → svelte-C62W4gaL.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{text_editor-DLc_XoDa.js → text_editor-zHwTtDDW.js} +374 -444
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{text_utils-ohNt_gua.js → text_utils-DWSliayn.js} +161 -82
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{theme_support-DXvy8kfg.js → theme_support-BF2WpOah.js} +49 -34
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{third-party-web-DGiPoc0U.js → third-party-web-Dm5IRT3g.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{timeline-E7l2B_oh.js → timeline-Dt3nmxBb.js} +2407 -2389
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{timeline-Cg6JhvmN.js → timeline-yO_pXh7Z.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{utils-CIWN0B30.js → utils-TeCpVsRE.js} +50 -52
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{vue-CjH9yovn.js → vue-rRx4yj6I.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{wast-CbGHiqaW.js → wast-BJdLzx63.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{web_audio-CbMU64Js.js → web_audio-DuonfZJu.js} +25 -25
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{webauthn-Dlb2Haex.js → webauthn-5JQ01zyM.js} +24 -24
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{whats_new-DtTF4nMn.js → whats_new-nGMut_wC.js} +18 -19
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{xml-DI9dcP5w.js → xml-qmN-BlAu.js} +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/entrypoints/device_mode_emulation_frame/device_mode_emulation_frame.js +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/entrypoints/devtools_app/devtools_app.js +2444 -2443
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/entrypoints/formatter_worker/formatter_worker-entrypoint.js +116 -118
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/entrypoints/heap_snapshot_worker/heap_snapshot_worker-entrypoint.js +289 -192
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/entrypoints/lighthouse_worker/lighthouse_worker.js +428 -403
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/entrypoints/wasmparser_worker/wasmparser_worker-entrypoint.js +31 -44
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/models/live-metrics/web-vitals-injected/web-vitals-injected.generated.js +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/panels/recorder/injected/injected.generated.js +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/resource-manifest.json +387 -357
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/index.js +9 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/README.md +78 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/README.zh.md +78 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/cordis.patch.yml +16 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/icon.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/package.json +50 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/lib/client.js +15 -7
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/README.md +82 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/README.zh.md +82 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/cordis.patch.yml +14 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/icon.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/package.json +50 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/README.md +78 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/README.zh.md +78 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/cordis.patch.yml +12 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/icon.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/package.json +49 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +8 -6
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/worker.js +15 -1
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +10 -8
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/README.md +78 -0
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/README.zh.md +78 -0
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/cordis.patch.yml +19 -0
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/icon.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/package.json +51 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/lib/index.js +11 -16
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.i18n.yaml +46 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.md +96 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.zh.md +96 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/cordis.patch.yml +5 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/icon.svg +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/lib/index.js +66 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/package.json +67 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/README.i18n.yaml +49 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/README.md +124 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/README.zh.md +124 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/index.js +935 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/types/deepseek.js +283 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/types/error.js +14 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/types/index.js +148 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/types/provider.js +215 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/types/storage.js +215 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/package.json +68 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +6 -6
- package/node_modules/{@octokit/request-error → @deepseek-ai/dsh-experimental-worktree}/LICENSE +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/README.md +98 -0
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/README.zh.md +98 -0
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/index.js +368 -0
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/types/directory.d.ts +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/types/index.d.ts +54 -0
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/types/process.d.ts +29 -0
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/types/types.d.ts +20 -0
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/package.json +58 -0
- package/node_modules/@deepseek-ai/dsh-file-reference/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-file-reference-local/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-file-reference-local/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-file-reference-local/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-file-reference-local/lib/index.js +15 -10
- package/node_modules/@deepseek-ai/dsh-file-reference-local/lib/types/index.js +12 -10
- package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +15 -11
- package/node_modules/@deepseek-ai/dsh-fs/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-fs-local/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +9 -5
- package/node_modules/@deepseek-ai/dsh-goal/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-headless/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-headless/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-headless/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-headless/cordis.patch.yml +0 -1
- package/node_modules/@deepseek-ai/dsh-headless/lib/index.js +20 -1
- package/node_modules/@deepseek-ai/dsh-headless/package.json +24 -17
- package/node_modules/@deepseek-ai/dsh-hmr/lib/index.js +9 -3
- package/node_modules/@deepseek-ai/dsh-hmr/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-home-paths/README.i18n.yaml +13 -10
- package/node_modules/@deepseek-ai/dsh-home-paths/README.md +16 -5
- package/node_modules/@deepseek-ai/dsh-home-paths/README.zh.md +16 -5
- package/node_modules/@deepseek-ai/dsh-home-paths/lib/index.js +65 -4
- package/node_modules/@deepseek-ai/dsh-home-paths/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/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.md +5 -3
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/lib/index.js +30 -18
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +15 -13
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-host-webserver/README.i18n.yaml +23 -20
- package/node_modules/@deepseek-ai/dsh-host-webserver/README.md +31 -10
- package/node_modules/@deepseek-ai/dsh-host-webserver/README.zh.md +31 -10
- package/node_modules/@deepseek-ai/dsh-host-webserver/lib/index.js +207 -63
- package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +5 -3
- package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-jobs/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm/README.md +19 -0
- package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +19 -0
- package/node_modules/@deepseek-ai/dsh-llm/lib/index.js +21 -8
- package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +12 -4
- package/node_modules/@deepseek-ai/dsh-llm/lib/types/index.js +19 -8
- package/node_modules/@deepseek-ai/dsh-llm/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +37 -14
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +37 -37
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/lib/index.js +8 -2
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +10 -10
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.md +10 -4
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.zh.md +10 -4
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +150 -61
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-native-command/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-no-progress-reminder/lib/index.js +21 -8
- package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-otel/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-otel/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-otel/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-otel/lib/index.js +14 -4
- package/node_modules/@deepseek-ai/dsh-otel/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-output-retention/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +9 -5
- package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-persona/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-plan-mode/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-plan-mode/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-plan-mode/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-plan-mode/lib/index.js +31 -26
- package/node_modules/@deepseek-ai/dsh-plan-mode/lib/types/index.js +35 -27
- package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +7 -1
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +7 -1
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +142 -20
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +24 -17
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +19 -12
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/build-approval.js +35 -5
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +55 -24
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/official-install-target.js +54 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/tools.js +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/lib/index.js +22 -13
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/lib/types/index.js +25 -15
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.md +2 -3
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.zh.md +2 -3
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/index.js +37 -12
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +21 -8
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-sandbox/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-schedule/package.json +30 -30
- package/node_modules/@deepseek-ai/dsh-scope/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.i18n.yaml +14 -14
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.md +5 -5
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.zh.md +5 -5
- package/node_modules/@deepseek-ai/dsh-sdk-app/cordis.patch.yml +4 -9
- package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.md +5 -1
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.zh.md +5 -1
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/index.js +93 -11
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +23 -21
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/README.md +6 -6
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/README.zh.md +6 -6
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/cordis.patch.yml +9 -0
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +29 -26
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.md +6 -1
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.zh.md +6 -1
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session/README.i18n.yaml +7 -4
- package/node_modules/@deepseek-ai/dsh-session/README.md +13 -1
- package/node_modules/@deepseek-ai/dsh-session/README.zh.md +13 -1
- package/node_modules/@deepseek-ai/dsh-session/lib/index.js +134 -18
- package/node_modules/@deepseek-ai/dsh-session/lib/types/index.js +120 -5
- package/node_modules/@deepseek-ai/dsh-session/lib/types/known-event-types.js +1 -0
- package/node_modules/@deepseek-ai/dsh-session/lib/types/types.js +14 -14
- package/node_modules/@deepseek-ai/dsh-session/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-session-format/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-format/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-format/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-format/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/index.js +4 -1
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/types/index.js +4 -1
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-session-persistence/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-persistence/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-session-persistence/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.md +4 -0
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.zh.md +4 -0
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/index.js +23 -19
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +92 -12
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-projection/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-projection/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-projection/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-projection/lib/index.js +1 -2
- package/node_modules/@deepseek-ai/dsh-session-projection/lib/types/index.js +2 -1
- package/node_modules/@deepseek-ai/dsh-session-projection/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-query/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-session-query/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-session-query/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-session-query/lib/index.js +9 -7
- package/node_modules/@deepseek-ai/dsh-session-query/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +9 -5
- package/node_modules/@deepseek-ai/dsh-session-reference/package.json +35 -34
- package/node_modules/@deepseek-ai/dsh-session-stats/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/lib/index.js +2 -1
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +22 -24
- package/node_modules/@deepseek-ai/dsh-session-title/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-session-title/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-session-title/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-session-title/lib/index.js +8 -4
- package/node_modules/@deepseek-ai/dsh-session-title/lib/types/index.js +9 -4
- package/node_modules/@deepseek-ai/dsh-session-title/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/README.i18n.yaml +64 -0
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/README.md +120 -0
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/README.zh.md +120 -0
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/lib/index.js +127 -0
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/package.json +48 -0
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/README.i18n.yaml +16 -16
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/README.md +10 -10
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/README.zh.md +10 -10
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/lib/index.js +91 -8
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +15 -13
- package/node_modules/@deepseek-ai/dsh-session-title-llm/README.i18n.yaml +29 -29
- package/node_modules/@deepseek-ai/dsh-session-title-llm/README.md +21 -20
- package/node_modules/@deepseek-ai/dsh-session-title-llm/README.zh.md +21 -20
- package/node_modules/@deepseek-ai/dsh-session-title-llm/lib/index.js +60 -81
- package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-settings/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-shell/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-shell-env/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-skill/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-skill-badge/README.i18n.yaml +13 -13
- package/node_modules/@deepseek-ai/dsh-skill-badge/README.md +10 -8
- package/node_modules/@deepseek-ai/dsh-skill-badge/README.zh.md +10 -8
- package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/lib/index.js +17 -14
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-skill-office/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-spill/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-spill-local/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-storage/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-storage-json/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +34 -34
- package/node_modules/@deepseek-ai/dsh-subagent/README.md +32 -26
- package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +32 -26
- package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +1552 -1477
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +59 -48
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.remote-client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/activation.js +112 -0
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/catalog.js +34 -30
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/child-agent.js +1 -3
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/continuation-messages.js +18 -23
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/descriptor.js +20 -21
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +75 -95
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/lifecycle.js +9 -100
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/list-children.js +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.js +1294 -0
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/out-of-process.js +25 -45
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/structured.js +130 -0
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/types.js +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent/package.json +48 -48
- package/node_modules/@deepseek-ai/dsh-subagent-acp/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-subagent-acp/README.md +3 -4
- package/node_modules/@deepseek-ai/dsh-subagent-acp/README.zh.md +3 -4
- package/node_modules/@deepseek-ai/dsh-subagent-acp/lib/index.js +5 -55
- package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.i18n.yaml +14 -14
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.md +8 -9
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.zh.md +8 -9
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/lib/index.js +0 -5
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +11 -13
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.i18n.yaml +14 -14
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.md +6 -7
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.zh.md +6 -7
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/lib/index.js +0 -4
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +15 -16
- package/node_modules/@deepseek-ai/dsh-subprocess/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-subprocess-local/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-subprocess-local/README.md +2 -1
- package/node_modules/@deepseek-ai/dsh-subprocess-local/README.zh.md +2 -1
- package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/index.js +5 -3
- package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-system-prompt/README.i18n.yaml +10 -10
- package/node_modules/@deepseek-ai/dsh-system-prompt/README.md +10 -6
- package/node_modules/@deepseek-ai/dsh-system-prompt/README.zh.md +10 -6
- package/node_modules/@deepseek-ai/dsh-system-prompt/lib/index.js +50 -9
- package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-terminal/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-terminal/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-terminal/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-terminal/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-terminal-bash/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-terminal-bash/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-terminal-bash/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-terminal-bash/lib/index.js +3 -2
- package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +20 -18
- package/node_modules/@deepseek-ai/dsh-time-context/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-timeout/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-timeout/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-timeout/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-timeout/lib/index.js +12 -3
- package/node_modules/@deepseek-ai/dsh-timeout/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +21 -8
- package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-token-meter/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.md +5 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.zh.md +5 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash/lib/index.js +35 -21
- package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +33 -30
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/lib/index.js +7 -3
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +22 -20
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +293 -94
- package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.i18n.yaml +10 -10
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +6 -3
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +6 -3
- package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +69 -56
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +32 -30
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/lib/index.js +25 -21
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +27 -25
- package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-tool-jobs/README.i18n.yaml +3 -3
- package/node_modules/@deepseek-ai/dsh-tool-jobs/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-jobs/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-tool-present/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-present/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-tool-present/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-tool-present/lib/index.js +7 -4
- package/node_modules/@deepseek-ai/dsh-tool-present/lib/types/index.js +3 -5
- package/node_modules/@deepseek-ai/dsh-tool-present/package.json +19 -17
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.md +4 -1
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.zh.md +4 -1
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/index.js +37 -20
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +31 -28
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.md +3 -0
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.zh.md +3 -0
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/lib/index.js +7 -3
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +24 -22
- package/node_modules/@deepseek-ai/dsh-tool-ralph/README.i18n.yaml +3 -3
- package/node_modules/@deepseek-ai/dsh-tool-ralph/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-ralph/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-tool-session-query/README.i18n.yaml +97 -0
- package/node_modules/@deepseek-ai/dsh-tool-session-query/README.md +186 -0
- package/node_modules/@deepseek-ai/dsh-tool-session-query/README.zh.md +186 -0
- package/node_modules/@deepseek-ai/dsh-tool-session-query/lib/index.js +1034 -0
- package/node_modules/@deepseek-ai/dsh-tool-session-query/package.json +61 -0
- package/node_modules/@deepseek-ai/dsh-tool-skill/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-skill/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-tool-skill/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-tool-skill/lib/index.js +97 -5
- package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +16 -14
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +51 -51
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +27 -29
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +26 -28
- package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +108 -237
- package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +20 -24
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.md +4 -5
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.zh.md +4 -5
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-terminal/README.i18n.yaml +100 -0
- package/node_modules/@deepseek-ai/dsh-tool-terminal/README.md +186 -0
- package/node_modules/@deepseek-ai/dsh-tool-terminal/README.zh.md +186 -0
- package/node_modules/@deepseek-ai/dsh-tool-terminal/lib/index.js +650 -0
- package/node_modules/@deepseek-ai/dsh-tool-terminal/package.json +64 -0
- package/node_modules/@deepseek-ai/dsh-tool-todo/lib/types/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-tool-web/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/README.i18n.yaml +46 -0
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/README.md +90 -0
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/README.zh.md +90 -0
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/lib/index.js +45 -0
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/package.json +45 -0
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-tools/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-tools/README.md +9 -7
- package/node_modules/@deepseek-ai/dsh-tools/README.zh.md +9 -7
- package/node_modules/@deepseek-ai/dsh-tools/lib/index.js +17 -19
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/index.js +17 -10
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/ptc.js +4 -2
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/py-types.js +1 -2
- package/node_modules/@deepseek-ai/dsh-tools/package.json +24 -22
- package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-tui-app/README.md +5 -4
- package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +5 -4
- package/node_modules/@deepseek-ai/dsh-tui-app/cordis.patch.yml +0 -1
- package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +117 -53
- package/node_modules/@deepseek-ai/dsh-tui-app/package.json +79 -79
- package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-user-approval/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.host.js +9 -5
- package/node_modules/@deepseek-ai/dsh-user-questions/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-time/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-values/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-web-app/README.i18n.yaml +18 -21
- package/node_modules/@deepseek-ai/dsh-web-app/README.md +30 -22
- package/node_modules/@deepseek-ai/dsh-web-app/README.zh.md +30 -22
- package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +18 -24
- package/node_modules/@deepseek-ai/dsh-web-app/lib/index.js +44 -41
- package/node_modules/@deepseek-ai/dsh-web-app/lib/startup.js +17 -6
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +142 -143
- package/node_modules/@deepseek-ai/dsh-web-app/presets/cordis.patch.yml +1 -26
- package/node_modules/@deepseek-ai/dsh-web-app/presets/ptc.patch.yml +1 -26
- package/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +1 -26
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-C5TXjxs_.js +127 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-CyN1a9tV.css +1 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/asciidoc-CSVQ5wI8.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{bat-BkioyH1T.js → bat-CickPsom.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/cpp-DddhVWhK.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{graphql-DujV8YkJ.js → graphql-B1S3xuDR.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{http-DcV90OkR.js → http-Ddl8tKhJ.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{julia-BpJ6DjL_.js → julia-BfSmLjIk.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{latex-B4C7GdlO.js → latex-B2nUCzCX.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{php-LEPfNACG.js → php-G1-V1D4R.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{powershell-Dpen1YoG.js → powershell-BmBUJMz7.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/r-Cf5RLm7j.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{rst-BbocfKWr.js → rst-qb8661zE.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{ruby-R292Iif0.js → ruby-D3_WCtdO.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{scala-C151Ov-r.js → scala-CqE71os6.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{svelte-DNMY6jOf.js → svelte-Dhjv0SwI.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/swift-C2oV4EkX.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/system-verilog-0hqHdDBg.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{vb-D17OF-Vu.js → vb-Cu-pLBUe.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/verilog-nZwndyjY.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{vue-Dq2x6432.js → vue-CjW_c7H6.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/{vendor-CCJJTK99.js → vendor-BlFz1smR.js} +32 -32
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/vendor-D2ODLP6r.css +1 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +4 -4
- package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +25 -22
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-win32-process/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-workflow/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/README.i18n.yaml +10 -10
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/README.md +5 -5
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/README.zh.md +5 -5
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/lib/index.js +25 -14
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +36 -33
- package/node_modules/@deepseek-ai/dsh-working-directory/README.i18n.yaml +46 -0
- package/node_modules/@deepseek-ai/dsh-working-directory/README.md +90 -0
- package/node_modules/@deepseek-ai/dsh-working-directory/README.zh.md +90 -0
- package/node_modules/@deepseek-ai/dsh-working-directory/lib/index.js +167 -0
- package/node_modules/@deepseek-ai/dsh-working-directory/package.json +56 -0
- package/node_modules/@deepseek-ai/dsh-workspace/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-workspace-changes/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-workspace-changes/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-workspace-changes/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/index.js +25 -34
- package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/capture.js +0 -27
- package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/index.js +22 -4
- package/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/recorder.js +4 -8
- package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +18 -11
- package/node_modules/@earendil-works/pi-ai/README.md +16 -5
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +30 -30
- package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-config.js +76 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.js +11 -79
- package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +58 -5
- package/node_modules/@earendil-works/pi-ai/dist/api/classifier-shared.js +98 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-workers-ai-system-one.js +15 -9
- package/node_modules/@earendil-works/pi-ai/dist/api/lazy.js +4 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/llama-cpp-classify.js +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +5 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +6 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-decisions.js +162 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-decisions.lazy.js +4 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +6 -5
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +9 -5
- package/node_modules/@earendil-works/pi-ai/dist/api/simple-options.js +10 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/system-one-shared.js +5 -89
- package/node_modules/@earendil-works/pi-ai/dist/api/typesafe-system-one.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/anthropic.js +65 -7
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/openai-chatgpt.js +11 -14
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/openai-codex.js +4 -4
- package/node_modules/@earendil-works/pi-ai/dist/auth/resolve.js +51 -27
- package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +4 -4
- package/node_modules/@earendil-works/pi-ai/dist/models.js +6 -8
- package/node_modules/@earendil-works/pi-ai/dist/providers/all.js +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure.js +46 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure.models.js +8 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/amazon-bedrock.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/anthropic.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/azure.json +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-ai-gateway.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-workers-ai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/fireworks.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/google.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/minimax-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/minimax.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/mistral.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/nvidia.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/radius.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/together.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/faux.js +25 -8
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai.js +12 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/radius.js +4 -12
- package/node_modules/@earendil-works/pi-ai/dist/utils/estimate.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.js +25 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/model-operations.js +6 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth-page.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/provider-retry.js +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +6 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/transcript.js +5 -2
- package/node_modules/@earendil-works/pi-ai/package.json +3 -3
- package/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
- package/node_modules/@modelcontextprotocol/client/dist/index.cjs +474 -114
- package/node_modules/@modelcontextprotocol/client/dist/index.mjs +468 -115
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs +1 -1
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs +1 -1
- package/node_modules/@modelcontextprotocol/client/dist/{src-NAgB4Mp8.cjs → src-oZBjf3U1.cjs} +131 -41
- package/node_modules/@modelcontextprotocol/client/dist/{src-D_zzAWoS.mjs → src-xKF0PJN-.mjs} +120 -36
- package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs +8 -2
- package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs +8 -2
- package/node_modules/@modelcontextprotocol/client/package.json +4 -4
- package/node_modules/@modelcontextprotocol/core/dist/{auth-CUe6YdwF.mjs → auth-BNDyLTqp.mjs} +7 -4
- package/node_modules/@modelcontextprotocol/core/dist/{auth-CfDMXiII.cjs → auth-D1CeV_Jr.cjs} +7 -4
- package/node_modules/@modelcontextprotocol/core/dist/index.cjs +1 -1
- package/node_modules/@modelcontextprotocol/core/dist/index.mjs +1 -1
- package/node_modules/@modelcontextprotocol/core/dist/internal.cjs +1 -1
- package/node_modules/@modelcontextprotocol/core/dist/internal.mjs +1 -1
- package/node_modules/@modelcontextprotocol/core/package.json +1 -1
- package/node_modules/@opentelemetry/api-logs/build/esm/version.js +1 -1
- package/node_modules/@opentelemetry/api-logs/build/esnext/version.js +1 -1
- package/node_modules/@opentelemetry/api-logs/build/src/types/LogRecord.js +1 -1
- package/node_modules/@opentelemetry/api-logs/build/src/version.js +1 -1
- package/node_modules/@opentelemetry/api-logs/package.json +7 -7
- package/node_modules/@opentelemetry/core/build/esm/version.js +1 -1
- package/node_modules/@opentelemetry/core/build/esnext/version.js +1 -1
- package/node_modules/@opentelemetry/core/build/src/ExportResult.js +1 -1
- package/node_modules/@opentelemetry/core/build/src/trace/rpc-metadata.js +1 -1
- package/node_modules/@opentelemetry/core/build/src/version.js +1 -1
- package/node_modules/@opentelemetry/core/package.json +7 -7
- package/node_modules/@opentelemetry/otlp-exporter-base/README.md +30 -0
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/ExporterMetrics.js +104 -0
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/OTLPExporterBase.js +3 -0
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/create-legacy-browser-delegate.js +36 -2
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/index-browser-http.js +1 -1
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/index-node-http.js +1 -1
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/index.js +1 -0
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/otlp-browser-http-export-delegate.js +8 -4
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/otlp-export-delegate.js +19 -6
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/otlp-http-export-delegate.js +30 -1
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/otlp-network-export-delegate.js +2 -1
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/semconv.js +100 -0
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esm/version.js +1 -1
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/ExporterMetrics.js +104 -0
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/OTLPExporterBase.js +3 -0
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/configuration/create-legacy-browser-delegate.js +36 -2
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/index-browser-http.js +1 -1
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/index-node-http.js +1 -1
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/index.js +1 -0
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/otlp-browser-http-export-delegate.js +8 -4
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/otlp-export-delegate.js +19 -6
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/otlp-http-export-delegate.js +30 -1
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/otlp-network-export-delegate.js +2 -1
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/semconv.js +100 -0
- package/node_modules/@opentelemetry/otlp-exporter-base/build/esnext/version.js +1 -1
- package/node_modules/@opentelemetry/otlp-exporter-base/build/src/ExporterMetrics.js +108 -0
- package/node_modules/@opentelemetry/otlp-exporter-base/build/src/OTLPExporterBase.js +3 -0
- package/node_modules/@opentelemetry/otlp-exporter-base/build/src/configuration/create-legacy-browser-delegate.js +38 -3
- package/node_modules/@opentelemetry/otlp-exporter-base/build/src/configuration/legacy-node-configuration.js +1 -1
- package/node_modules/@opentelemetry/otlp-exporter-base/build/src/index-browser-http.js +2 -1
- package/node_modules/@opentelemetry/otlp-exporter-base/build/src/index-node-http.js +2 -1
- package/node_modules/@opentelemetry/otlp-exporter-base/build/src/index.js +3 -1
- package/node_modules/@opentelemetry/otlp-exporter-base/build/src/otlp-browser-http-export-delegate.js +8 -4
- package/node_modules/@opentelemetry/otlp-exporter-base/build/src/otlp-export-delegate.js +19 -6
- package/node_modules/@opentelemetry/otlp-exporter-base/build/src/otlp-http-export-delegate.js +32 -2
- package/node_modules/@opentelemetry/otlp-exporter-base/build/src/otlp-network-export-delegate.js +2 -1
- package/node_modules/@opentelemetry/otlp-exporter-base/build/src/semconv.js +103 -0
- package/node_modules/@opentelemetry/otlp-exporter-base/build/src/version.js +1 -1
- package/node_modules/@opentelemetry/otlp-exporter-base/package.json +9 -9
- package/node_modules/@opentelemetry/otlp-transformer/build/esm/i-exporter-metrics-helper.js +6 -0
- package/node_modules/@opentelemetry/otlp-transformer/build/esm/index.js +3 -0
- package/node_modules/@opentelemetry/otlp-transformer/build/esm/logs/index.js +7 -1
- package/node_modules/@opentelemetry/otlp-transformer/build/esm/logs/json/logs.js +1 -1
- package/node_modules/@opentelemetry/otlp-transformer/build/esm/logs/protobuf/logs.js +1 -1
- package/node_modules/@opentelemetry/otlp-transformer/build/esm/metrics/index.js +12 -1
- package/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/index.js +4 -1
- package/node_modules/@opentelemetry/otlp-transformer/build/esnext/i-exporter-metrics-helper.js +6 -0
- package/node_modules/@opentelemetry/otlp-transformer/build/esnext/index.js +3 -0
- package/node_modules/@opentelemetry/otlp-transformer/build/esnext/logs/index.js +7 -1
- package/node_modules/@opentelemetry/otlp-transformer/build/esnext/logs/json/logs.js +1 -1
- package/node_modules/@opentelemetry/otlp-transformer/build/esnext/logs/protobuf/logs.js +1 -1
- package/node_modules/@opentelemetry/otlp-transformer/build/esnext/metrics/index.js +12 -1
- package/node_modules/@opentelemetry/otlp-transformer/build/esnext/trace/index.js +4 -1
- package/node_modules/@opentelemetry/otlp-transformer/build/src/i-exporter-metrics-helper.js +7 -0
- package/node_modules/@opentelemetry/otlp-transformer/build/src/index.js +7 -1
- package/node_modules/@opentelemetry/otlp-transformer/build/src/logs/index.js +8 -0
- package/node_modules/@opentelemetry/otlp-transformer/build/src/logs/internal-types.js +1 -1
- package/node_modules/@opentelemetry/otlp-transformer/build/src/logs/json/logs.js +1 -1
- package/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/logs.js +1 -1
- package/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/index.js +13 -0
- package/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/internal-types.js +1 -1
- package/node_modules/@opentelemetry/otlp-transformer/build/src/trace/index.js +5 -0
- package/node_modules/@opentelemetry/otlp-transformer/build/src/trace/internal-types.js +2 -2
- package/node_modules/@opentelemetry/otlp-transformer/package.json +15 -15
- package/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/ServiceInstanceIdDetector.js +6 -1
- package/node_modules/@opentelemetry/resources/build/esm/version.js +1 -1
- package/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/ServiceInstanceIdDetector.js +6 -1
- package/node_modules/@opentelemetry/resources/build/esnext/version.js +1 -1
- package/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/ServiceInstanceIdDetector.js +6 -1
- package/node_modules/@opentelemetry/resources/build/src/version.js +1 -1
- package/node_modules/@opentelemetry/resources/package.json +9 -9
- package/node_modules/@opentelemetry/sdk-logs/README.md +5 -0
- package/node_modules/@opentelemetry/sdk-logs/build/esm/LogRecordImpl.js +33 -6
- package/node_modules/@opentelemetry/sdk-logs/build/esm/LoggerProvider.js +3 -4
- package/node_modules/@opentelemetry/sdk-logs/build/esm/MultiLogRecordProcessor.js +3 -5
- package/node_modules/@opentelemetry/sdk-logs/build/esm/export/BatchLogRecordProcessorBase.js +19 -4
- package/node_modules/@opentelemetry/sdk-logs/build/esm/export/LogRecordProcessorMetrics.js +63 -0
- package/node_modules/@opentelemetry/sdk-logs/build/esm/export/{SdkLogRecord.js → ReadWriteLogRecord.js} +1 -1
- package/node_modules/@opentelemetry/sdk-logs/build/esm/export/SimpleLogRecordProcessor.js +10 -0
- package/node_modules/@opentelemetry/sdk-logs/build/esm/internal/LoggerProviderSharedState.js +2 -4
- package/node_modules/@opentelemetry/sdk-logs/build/esm/semconv.js +106 -0
- package/node_modules/@opentelemetry/sdk-logs/build/esm/version.js +1 -1
- package/node_modules/@opentelemetry/sdk-logs/build/esnext/LogRecordImpl.js +33 -6
- package/node_modules/@opentelemetry/sdk-logs/build/esnext/LoggerProvider.js +3 -4
- package/node_modules/@opentelemetry/sdk-logs/build/esnext/MultiLogRecordProcessor.js +3 -5
- package/node_modules/@opentelemetry/sdk-logs/build/esnext/export/BatchLogRecordProcessorBase.js +19 -4
- package/node_modules/@opentelemetry/sdk-logs/build/esnext/export/LogRecordProcessorMetrics.js +63 -0
- package/node_modules/@opentelemetry/sdk-logs/build/esnext/export/{SdkLogRecord.js → ReadWriteLogRecord.js} +1 -1
- package/node_modules/@opentelemetry/sdk-logs/build/esnext/export/SimpleLogRecordProcessor.js +10 -0
- package/node_modules/@opentelemetry/sdk-logs/build/esnext/internal/LoggerProviderSharedState.js +2 -4
- package/node_modules/@opentelemetry/sdk-logs/build/esnext/semconv.js +106 -0
- package/node_modules/@opentelemetry/sdk-logs/build/esnext/version.js +1 -1
- package/node_modules/@opentelemetry/sdk-logs/build/src/LogRecordImpl.js +33 -6
- package/node_modules/@opentelemetry/sdk-logs/build/src/LoggerProvider.js +3 -4
- package/node_modules/@opentelemetry/sdk-logs/build/src/MultiLogRecordProcessor.js +3 -5
- package/node_modules/@opentelemetry/sdk-logs/build/src/export/BatchLogRecordProcessorBase.js +18 -3
- package/node_modules/@opentelemetry/sdk-logs/build/src/export/LogRecordProcessorMetrics.js +67 -0
- package/node_modules/@opentelemetry/sdk-logs/build/src/export/{SdkLogRecord.js → ReadWriteLogRecord.js} +1 -1
- package/node_modules/@opentelemetry/sdk-logs/build/src/export/SimpleLogRecordProcessor.js +10 -0
- package/node_modules/@opentelemetry/sdk-logs/build/src/internal/LoggerProviderSharedState.js +2 -4
- package/node_modules/@opentelemetry/sdk-logs/build/src/semconv.js +107 -1
- package/node_modules/@opentelemetry/sdk-logs/build/src/utils/validation.js +1 -1
- package/node_modules/@opentelemetry/sdk-logs/build/src/version.js +1 -1
- package/node_modules/@opentelemetry/sdk-logs/package.json +11 -11
- package/node_modules/@opentelemetry/sdk-metrics/build/esm/aggregator/ExponentialHistogram.js +3 -3
- package/node_modules/@opentelemetry/sdk-metrics/build/esm/aggregator/exponential-histogram/mapping/ExponentMapping.js +3 -8
- package/node_modules/@opentelemetry/sdk-metrics/build/esm/aggregator/exponential-histogram/mapping/LogarithmMapping.js +1 -1
- package/node_modules/@opentelemetry/sdk-metrics/build/esm/aggregator/exponential-histogram/mapping/ieee754.js +24 -23
- package/node_modules/@opentelemetry/sdk-metrics/build/esm/version.js +1 -1
- package/node_modules/@opentelemetry/sdk-metrics/build/esm/view/Aggregation.js +4 -8
- package/node_modules/@opentelemetry/sdk-metrics/build/esnext/aggregator/ExponentialHistogram.js +3 -3
- package/node_modules/@opentelemetry/sdk-metrics/build/esnext/aggregator/exponential-histogram/mapping/ExponentMapping.js +3 -8
- package/node_modules/@opentelemetry/sdk-metrics/build/esnext/aggregator/exponential-histogram/mapping/LogarithmMapping.js +1 -1
- package/node_modules/@opentelemetry/sdk-metrics/build/esnext/aggregator/exponential-histogram/mapping/ieee754.js +24 -23
- package/node_modules/@opentelemetry/sdk-metrics/build/esnext/version.js +1 -1
- package/node_modules/@opentelemetry/sdk-metrics/build/esnext/view/Aggregation.js +4 -8
- package/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/ExponentialHistogram.js +3 -3
- package/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/ExponentMapping.js +3 -8
- package/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/LogarithmMapping.js +1 -1
- package/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/ieee754.js +26 -25
- package/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/types.js +1 -1
- package/node_modules/@opentelemetry/sdk-metrics/build/src/export/AggregationTemporality.js +1 -1
- package/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricData.js +2 -2
- package/node_modules/@opentelemetry/sdk-metrics/build/src/version.js +1 -1
- package/node_modules/@opentelemetry/sdk-metrics/build/src/view/AggregationOption.js +1 -1
- package/node_modules/@opentelemetry/sdk-metrics/package.json +9 -9
- package/node_modules/@opentelemetry/sdk-trace/build/esm/TracerProvider.js +2 -2
- package/node_modules/@opentelemetry/sdk-trace/build/esm/export/SimpleSpanProcessor.js +19 -3
- package/node_modules/@opentelemetry/sdk-trace/build/esm/sampler/TraceIdRatioBasedSampler.js +2 -1
- package/node_modules/@opentelemetry/sdk-trace/build/esm/version.js +1 -1
- package/node_modules/@opentelemetry/sdk-trace/build/esnext/TracerProvider.js +2 -2
- package/node_modules/@opentelemetry/sdk-trace/build/esnext/export/SimpleSpanProcessor.js +19 -3
- package/node_modules/@opentelemetry/sdk-trace/build/esnext/sampler/TraceIdRatioBasedSampler.js +2 -1
- package/node_modules/@opentelemetry/sdk-trace/build/esnext/version.js +1 -1
- package/node_modules/@opentelemetry/sdk-trace/build/src/Sampler.js +1 -1
- package/node_modules/@opentelemetry/sdk-trace/build/src/TracerProvider.js +2 -2
- package/node_modules/@opentelemetry/sdk-trace/build/src/export/SimpleSpanProcessor.js +19 -3
- package/node_modules/@opentelemetry/sdk-trace/build/src/sampler/TraceIdRatioBasedSampler.js +2 -1
- package/node_modules/@opentelemetry/sdk-trace/build/src/version.js +1 -1
- package/node_modules/@opentelemetry/sdk-trace/package.json +11 -10
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +2 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/cache/EndpointCache.js +2 -1
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/node/package.json +13 -3
- package/node_modules/node-addon-native-custom-loader/package.json +1 -1
- package/node_modules/node-addon-require-builtin/package.json +2 -2
- package/node_modules/node-pty/lib/windowsPtyAgent.js +2 -0
- package/node_modules/undici-types/package.json +1 -1
- package/node_modules/ws/lib/permessage-deflate.js +3 -1
- package/node_modules/ws/lib/receiver.js +15 -32
- package/node_modules/ws/lib/websocket-server.js +4 -4
- package/node_modules/ws/lib/websocket.js +4 -4
- package/node_modules/ws/package.json +5 -1
- package/package.json +342 -336
- package/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.js +0 -28
- package/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.mjs +0 -25
- package/node_modules/@anthropic-ai/sdk/src/lib/tools/CompactionControl.ts +0 -57
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/autofill_manager-CxcaWQiv.js +0 -58
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/explain-CNIdfhW8.js +0 -747
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/main-BLMNMheT.js +0 -755
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/platform-BzB373NB.js +0 -600
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/protocol_monitor-mWRlFT7z.js +0 -2
- package/node_modules/@deepseek-ai/dsh-hook-protocol/README.i18n.yaml +0 -61
- package/node_modules/@deepseek-ai/dsh-hook-protocol/README.md +0 -142
- package/node_modules/@deepseek-ai/dsh-hook-protocol/README.zh.md +0 -142
- package/node_modules/@deepseek-ai/dsh-hook-protocol/lib/index.js +0 -377
- package/node_modules/@deepseek-ai/dsh-hooks-claude-code/README.i18n.yaml +0 -88
- package/node_modules/@deepseek-ai/dsh-hooks-claude-code/README.md +0 -193
- package/node_modules/@deepseek-ai/dsh-hooks-claude-code/README.zh.md +0 -193
- package/node_modules/@deepseek-ai/dsh-hooks-claude-code/lib/index.js +0 -405
- package/node_modules/@deepseek-ai/dsh-hooks-claude-code/package.json +0 -57
- package/node_modules/@deepseek-ai/dsh-hooks-codex/README.i18n.yaml +0 -88
- package/node_modules/@deepseek-ai/dsh-hooks-codex/README.md +0 -188
- package/node_modules/@deepseek-ai/dsh-hooks-codex/README.zh.md +0 -188
- package/node_modules/@deepseek-ai/dsh-hooks-codex/lib/index.js +0 -346
- package/node_modules/@deepseek-ai/dsh-hooks-codex/package.json +0 -55
- package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/README.i18n.yaml +0 -106
- package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/README.md +0 -176
- package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/README.zh.md +0 -176
- package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/lib/index.js +0 -254
- package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +0 -59
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-DBK_Mahs.css +0 -1
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-DjTxlw_T.js +0 -127
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/asciidoc-Ve4PFQV2.js +0 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/cpp-DIPi6g--.js +0 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/r-Dspwwk_N.js +0 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/swift-D82vCrfD.js +0 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/system-verilog-CnnmHF94.js +0 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/verilog-BQ8w6xss.js +0 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/vendor-BNsW4eBh.css +0 -1
- package/node_modules/@deepseek-ai/dsh-webhook/README.i18n.yaml +0 -46
- package/node_modules/@deepseek-ai/dsh-webhook/README.md +0 -86
- package/node_modules/@deepseek-ai/dsh-webhook/README.zh.md +0 -86
- package/node_modules/@deepseek-ai/dsh-webhook/lib/index.js +0 -352
- package/node_modules/@deepseek-ai/dsh-webhook/lib/types/brand.js +0 -26
- package/node_modules/@deepseek-ai/dsh-webhook/lib/types/index.js +0 -138
- package/node_modules/@deepseek-ai/dsh-webhook/lib/types/invariant.js +0 -38
- package/node_modules/@deepseek-ai/dsh-webhook/lib/types/session.js +0 -211
- package/node_modules/@deepseek-ai/dsh-webhook/lib/types/types.js +0 -3
- package/node_modules/@deepseek-ai/dsh-webhook/package.json +0 -62
- package/node_modules/@deepseek-ai/dsh-webhook-github/README.i18n.yaml +0 -37
- package/node_modules/@deepseek-ai/dsh-webhook-github/README.md +0 -86
- package/node_modules/@deepseek-ai/dsh-webhook-github/README.zh.md +0 -86
- package/node_modules/@deepseek-ai/dsh-webhook-github/lib/index.js +0 -193
- package/node_modules/@deepseek-ai/dsh-webhook-github/lib/types/body.js +0 -65
- package/node_modules/@deepseek-ai/dsh-webhook-github/lib/types/handler.js +0 -115
- package/node_modules/@deepseek-ai/dsh-webhook-github/lib/types/index.js +0 -39
- package/node_modules/@deepseek-ai/dsh-webhook-github/lib/types/types.js +0 -3
- package/node_modules/@deepseek-ai/dsh-webhook-github/package.json +0 -55
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.js +0 -14
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.models.js +0 -8
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/azure-openai-responses.json +0 -1
- package/node_modules/@octokit/openapi-types/LICENSE +0 -7
- package/node_modules/@octokit/openapi-types/README.md +0 -17
- package/node_modules/@octokit/openapi-types/package.json +0 -21
- package/node_modules/@octokit/openapi-webhooks-types/LICENSE +0 -7
- package/node_modules/@octokit/openapi-webhooks-types/README.md +0 -17
- package/node_modules/@octokit/openapi-webhooks-types/package.json +0 -18
- package/node_modules/@octokit/request-error/README.md +0 -93
- package/node_modules/@octokit/request-error/dist-src/index.js +0 -41
- package/node_modules/@octokit/request-error/package.json +0 -50
- package/node_modules/@octokit/types/LICENSE +0 -7
- package/node_modules/@octokit/types/README.md +0 -65
- package/node_modules/@octokit/types/package.json +0 -41
- package/node_modules/@octokit/webhooks/LICENSE.md +0 -20
- package/node_modules/@octokit/webhooks/README.md +0 -786
- package/node_modules/@octokit/webhooks/dist-bundle/index.js +0 -871
- package/node_modules/@octokit/webhooks/dist-src/concat-uint8array.js +0 -22
- package/node_modules/@octokit/webhooks/dist-src/create-logger.js +0 -20
- package/node_modules/@octokit/webhooks/dist-src/event-handler/index.js +0 -27
- package/node_modules/@octokit/webhooks/dist-src/event-handler/on.js +0 -31
- package/node_modules/@octokit/webhooks/dist-src/event-handler/receive.js +0 -61
- package/node_modules/@octokit/webhooks/dist-src/event-handler/remove-listener.js +0 -20
- package/node_modules/@octokit/webhooks/dist-src/event-handler/validate-event-name.js +0 -33
- package/node_modules/@octokit/webhooks/dist-src/event-handler/wrap-error-handler.js +0 -18
- package/node_modules/@octokit/webhooks/dist-src/generated/webhook-identifiers.js +0 -0
- package/node_modules/@octokit/webhooks/dist-src/generated/webhook-names.js +0 -328
- package/node_modules/@octokit/webhooks/dist-src/index.js +0 -48
- package/node_modules/@octokit/webhooks/dist-src/middleware/create-middleware.js +0 -147
- package/node_modules/@octokit/webhooks/dist-src/middleware/node/get-payload.js +0 -30
- package/node_modules/@octokit/webhooks/dist-src/middleware/node/get-request-header.js +0 -6
- package/node_modules/@octokit/webhooks/dist-src/middleware/node/handle-response.js +0 -11
- package/node_modules/@octokit/webhooks/dist-src/middleware/node/index.js +0 -23
- package/node_modules/@octokit/webhooks/dist-src/middleware/web/get-payload.js +0 -6
- package/node_modules/@octokit/webhooks/dist-src/middleware/web/get-request-header.js +0 -6
- package/node_modules/@octokit/webhooks/dist-src/middleware/web/handle-response.js +0 -12
- package/node_modules/@octokit/webhooks/dist-src/middleware/web/index.js +0 -23
- package/node_modules/@octokit/webhooks/dist-src/normalize-trailing-slashes.js +0 -18
- package/node_modules/@octokit/webhooks/dist-src/verify-and-receive.js +0 -33
- package/node_modules/@octokit/webhooks/package.json +0 -54
- package/node_modules/@octokit/webhooks-methods/LICENSE +0 -9
- package/node_modules/@octokit/webhooks-methods/README.md +0 -249
- package/node_modules/@octokit/webhooks-methods/dist-node/index.js +0 -65
- package/node_modules/@octokit/webhooks-methods/dist-src/index.js +0 -22
- package/node_modules/@octokit/webhooks-methods/dist-src/node/sign.js +0 -18
- package/node_modules/@octokit/webhooks-methods/dist-src/node/verify.js +0 -26
- package/node_modules/@octokit/webhooks-methods/dist-src/version.js +0 -4
- package/node_modules/@octokit/webhooks-methods/dist-src/web.js +0 -83
- package/node_modules/@octokit/webhooks-methods/dist-web/index.js +0 -84
- package/node_modules/@octokit/webhooks-methods/package.json +0 -53
- /package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/devtools/chunks/{chunk-DF993M8W.js → rolldown-runtime-DF993M8W.js} +0 -0
|
@@ -1,38 +1,41 @@
|
|
|
1
|
-
import { n as e } from "./
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { p as
|
|
5
|
-
import
|
|
6
|
-
import { g as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as Xt } from "./
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { t as
|
|
19
|
-
import {
|
|
20
|
-
import { t as
|
|
21
|
-
import {
|
|
1
|
+
import { n as e } from "./rolldown-runtime-DF993M8W.js";
|
|
2
|
+
import { D as t, H as n, J as r, K as i, W as a, _ as o, i as s, o as c, v as l } from "./common-DMSVbaSb.js";
|
|
3
|
+
import { $ as ee, $f as u, $i as d, Ao as te, Ar as ne, Bc as re, Fo as f, Ft as ie, Ht as ae, Jo as oe, Ko as se, Lo as ce, Na as le, No as ue, Oc as de, Or as fe, Po as p, Qi as pe, S as me, U as he, Uc as ge, Uf as _e, Uo as ve, Vf as ye, Vo as m, Wf as be, Wo as xe, Wr as Se, Yf as Ce, Yo as we, Zi as h, Zo as g, aa as Te, al as Ee, ap as De, cs as Oe, ei as ke, el as _, fa as v, ff as y, fp as Ae, ha as je, ii as Me, il as Ne, jd as b, jr as x, ka as Pe, kf as Fe, ls as Ie, mo as Le, na as Re, nf as ze, ni as Be, nl as Ve, no as S, oc as He, ol as Ue, pf as C, qo as We, qr as Ge, un as Ke, uo as qe, vi as Je, yo as Ye, za as Xe } from "./legacy-md3HQs_7.js";
|
|
4
|
+
import { p as w, r as Ze, s as Qe } from "./root-DdvV-xPu.js";
|
|
5
|
+
import "./platform-D4TUCh2P.js";
|
|
6
|
+
import { g as $e } from "./text_utils-DWSliayn.js";
|
|
7
|
+
import { M as et, P as tt } from "./StringUtilities-CMDxNrEc.js";
|
|
8
|
+
import { o as nt } from "./FormatterActions-D6HaA-6R.js";
|
|
9
|
+
import { P as rt, S as T, T as it, V as at, j as ot, w as st } from "./bindings-CAIo-k1a.js";
|
|
10
|
+
import { $t as ct, At as lt, Gt as ut, Jt as E, K as dt, Kt as D, Qt as ft, Wt as pt, Xt as mt, Yt as ht, _t as gt, bt as _t, c as vt, cn as yt, ct as bt, dt as xt, en as St, ft as Ct, gn as wt, gt as Tt, ht as Et, it as Dt, jt as Ot, lt as kt, mt as At, o as jt, pn as Mt, q as Nt, qt as Pt, st as Ft, tn as It, ut as O, vt as Lt, yn as Rt, yt as zt } from "./common-Ec_cVEiV.js";
|
|
11
|
+
import { B as Bt, V as Vt, m as Ht, t as Ut, u as Wt, x as Gt } from "./elements-BU8z2iUE.js";
|
|
12
|
+
import { t as Kt } from "./i18n-BX_qxSex.js";
|
|
13
|
+
import { En as qt, Mt as Jt, Vr as Yt, t as Xt, vt as k } from "./snackbars-DazoAb8B.js";
|
|
14
|
+
import { t as Zt } from "./StorageItem-_wZ3i4k_.js";
|
|
15
|
+
import { n as Qt } from "./marked-CGxJO_CC.js";
|
|
16
|
+
import { n as $t, r as en } from "./UIRequestLocation-CtGcVN3I.js";
|
|
17
|
+
import { t as tn } from "./textInput.css-CuiSKVef.js";
|
|
18
|
+
import { t as nn } from "./utils-TeCpVsRE.js";
|
|
19
|
+
import { a as rn } from "./perf_ui-Ch0z1TZ3.js";
|
|
20
|
+
import { l as an, n as on, t as sn } from "./lighthouse-NimZl1cI.js";
|
|
21
|
+
import { t as cn, x as ln } from "./network-BX1qe3_D.js";
|
|
22
|
+
import { $ as un, J as dn, O as fn, Q as pn, S as mn, X as hn, Y as gn, Z as _n, _t as vn, at as yn, b as bn, ct as xn, dt as Sn, et as Cn, ft as wn, g as Tn, gt as En, it as Dn, l as On, lt as kn, mt as An, nt as jn, ot as Mn, p as Nn, pt as Pn, rt as Fn, st as In, tt as Ln, ut as Rn, vt as zn, x as Bn, yt as Vn } from "./timeline-Dt3nmxBb.js";
|
|
23
|
+
import { t as Hn } from "./markdown_view-JGM1CTOq.js";
|
|
24
|
+
import { a as Un, n as Wn } from "./changes-xRx2n786.js";
|
|
22
25
|
//#region \0dsh-devtools:css:/Users/songli/deepseek-harness/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/ai_assistance/aiAssistancePanel.css.mjs
|
|
23
|
-
var Gn = "/*\n * Copyright 2024 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n.toolbar-container {\n display: flex;\n flex-wrap: wrap;\n background-color: var(--sys-color-cdt-base-container);\n border-bottom: 1px solid var(--sys-color-divider);\n flex: 0 0 auto;\n justify-content: space-between;\n}\n\n.ai-assistance-view-container {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n align-items: center;\n overflow: hidden;\n\n & .fill-panel {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n\n devtools-split-view {\n width: 100%;\n height: 100%;\n }\n}\n\n.toolbar-feedback-link {\n color: var(--sys-color-primary);\n margin: 0 var(--sys-size-3);\n height: auto;\n font-size: var(--sys-typescale-body4-size);\n}\n", { html: Kn } =
|
|
24
|
-
#e(e,
|
|
25
|
-
return Kn`<devtools-link @click=${(
|
|
26
|
-
|
|
27
|
-
}}>${n
|
|
26
|
+
var Gn = "/*\n * Copyright 2024 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n.toolbar-container {\n display: flex;\n flex-wrap: wrap;\n background-color: var(--sys-color-cdt-base-container);\n border-bottom: 1px solid var(--sys-color-divider);\n flex: 0 0 auto;\n justify-content: space-between;\n}\n\n.ai-assistance-view-container {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n align-items: center;\n overflow: hidden;\n\n & .fill-panel {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n\n devtools-split-view {\n width: 100%;\n height: 100%;\n }\n}\n\n.toolbar-feedback-link {\n color: var(--sys-color-primary);\n margin: 0 var(--sys-size-3);\n height: auto;\n font-size: var(--sys-typescale-body4-size);\n}\n", { html: Kn } = ue, qn = class extends Hn {
|
|
27
|
+
#e(e, n) {
|
|
28
|
+
return Kn`<devtools-link @click=${(n) => {
|
|
29
|
+
n.preventDefault(), n.stopPropagation(), t(e);
|
|
30
|
+
}}>${tt(n, 100)}</devtools-link>`;
|
|
28
31
|
}
|
|
29
32
|
#t(e, t) {
|
|
30
33
|
if (e.startsWith("#req-")) {
|
|
31
|
-
let n =
|
|
34
|
+
let n = pt.instance().requests().find((t) => t.requestId() === e.substring(5));
|
|
32
35
|
return n ? this.#e(n, n.url()) : Kn`${t}`;
|
|
33
36
|
}
|
|
34
37
|
if (e.startsWith("#file-")) {
|
|
35
|
-
let n =
|
|
38
|
+
let n = Tt.getUISourceCodes().find((t) => Tt.uiSourceCodeId.get(t) === Number(e.substring(6)));
|
|
36
39
|
return n ? this.#e(n, n.name()) : Kn`${t}`;
|
|
37
40
|
}
|
|
38
41
|
return null;
|
|
@@ -55,14 +58,14 @@ var Gn = "/*\n * Copyright 2024 The Chromium Authors\n * Use of this source code
|
|
|
55
58
|
}
|
|
56
59
|
return super.templateForToken(e);
|
|
57
60
|
}
|
|
58
|
-
}, { html: Jn } =
|
|
61
|
+
}, { html: Jn } = ce, { until: Yn } = xe, Xn = class extends qn {
|
|
59
62
|
mainDocumentURL;
|
|
60
63
|
constructor(e = "") {
|
|
61
64
|
super(), this.mainDocumentURL = e;
|
|
62
65
|
}
|
|
63
66
|
#e(e) {
|
|
64
67
|
let t = e.ownerDocument?.documentURL ?? "";
|
|
65
|
-
return
|
|
68
|
+
return St(this.mainDocumentURL, t);
|
|
66
69
|
}
|
|
67
70
|
templateForToken(e) {
|
|
68
71
|
if (e.type === "link" && e.href.startsWith("#")) {
|
|
@@ -92,18 +95,18 @@ var Gn = "/*\n * Copyright 2024 The Chromium Authors\n * Use of this source code
|
|
|
92
95
|
}
|
|
93
96
|
async #n(e, t) {
|
|
94
97
|
if (e === void 0) return;
|
|
95
|
-
let n =
|
|
98
|
+
let n = b.instance().primaryPageTarget()?.model(_);
|
|
96
99
|
if (!n) return;
|
|
97
|
-
let r = (await n.pushNodesByBackendIdsToFrontend(new Set([e])))?.get(e);
|
|
98
|
-
if (r && this.#e(r)) return
|
|
100
|
+
let r = (await n.pushNodesByBackendIdsToFrontend(/* @__PURE__ */ new Set([e])))?.get(e);
|
|
101
|
+
if (r && this.#e(r)) return vt.instance().linkify(r, { textContent: t });
|
|
99
102
|
}
|
|
100
103
|
async #r(e, t) {
|
|
101
|
-
let n =
|
|
104
|
+
let n = b.instance().primaryPageTarget()?.model(_);
|
|
102
105
|
if (!n) return;
|
|
103
106
|
let r = await n.pushNodeByPathToFrontend(e);
|
|
104
107
|
if (!r) return;
|
|
105
108
|
let i = n.nodeForId(r);
|
|
106
|
-
if (i && this.#e(i)) return
|
|
109
|
+
if (i && this.#e(i)) return vt.instance().linkify(i, { textContent: t });
|
|
107
110
|
}
|
|
108
111
|
}, Zn = "/*\n * Copyright 2024 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n@scope to (devtools-widget > *) {\n .ai-assistance-feedback-row {\n font-family: var(--default-font-family);\n width: 100%;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n margin-block: calc(-1 * var(--sys-size-3));\n margin-top: var(--sys-size-5);\n overflow: hidden;\n mask-image: linear-gradient(to right, var(--ref-palette-neutral0) calc(100% - var(--sys-size-15)), transparent 100%);\n\n &.not-v2 {\n /* Can be removed when AIv2 ships */\n gap: var(--sys-size-8);\n }\n\n .action-buttons {\n display: flex;\n align-items: center;\n gap: var(--sys-size-2);\n padding: var(--sys-size-4) 0;\n }\n\n .vertical-separator {\n height: 16px;\n width: 1px;\n vertical-align: top;\n margin: 0 var(--sys-size-2);\n background: var(--sys-color-divider);\n display: inline-block;\n }\n\n .suggestions-container {\n overflow: hidden;\n position: relative;\n display: flex;\n\n .suggestions-scroll-container {\n display: flex;\n overflow: auto hidden;\n scrollbar-width: none;\n gap: var(--sys-size-3);\n padding: var(--sys-size-3);\n }\n\n .scroll-button-container {\n position: absolute;\n top: 0;\n height: 100%;\n display: flex;\n align-items: center;\n width: var(--sys-size-15);\n z-index: 999;\n }\n\n .scroll-button-container.hidden {\n display: none;\n }\n\n .scroll-button-container.left {\n left: 0;\n background:\n linear-gradient(\n 90deg,\n var(--sys-color-cdt-base-container) 0%,\n var(--sys-color-cdt-base-container) 50%,\n transparent\n );\n }\n\n .scroll-button-container.right {\n right: 0;\n background:\n linear-gradient(\n 90deg,\n transparent,\n var(--sys-color-cdt-base-container) 50%\n );\n justify-content: flex-end;\n }\n }\n }\n\n .feedback-form {\n display: flex;\n flex-direction: column;\n gap: var(--sys-size-5);\n margin-top: var(--sys-size-4);\n background-color: var(--sys-color-surface3);\n padding: var(--sys-size-6);\n border-radius: var(--sys-shape-corner-medium-small);\n max-width: var(--sys-size-32);\n\n .feedback-input {\n height: var(--sys-size-11);\n padding: 0 var(--sys-size-5);\n background-color: var(--sys-color-surface3);\n width: auto;\n }\n\n .feedback-input::placeholder {\n color: var(--sys-color-on-surface-subtle);\n font: var(--sys-typescale-body4-regular);\n }\n\n .feedback-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .feedback-title {\n margin: 0;\n font: var(--sys-typescale-body3-medium);\n }\n\n .feedback-disclaimer {\n padding: 0 var(--sys-size-4);\n }\n }\n\n .user-query-wrapper {\n display: flex;\n justify-content: flex-end;\n padding: 0 var(--sys-size-5);\n align-items: center;\n }\n\n .chat-message {\n user-select: text;\n cursor: initial;\n display: flex;\n flex-direction: column;\n gap: var(--sys-size-5);\n width: 100%;\n padding: var(--sys-size-7) var(--sys-size-5);\n font-size: 12px;\n word-break: normal;\n overflow-wrap: anywhere;\n border-bottom: var(--sys-size-1) solid var(--sys-color-divider);\n\n\n &.query.ai-v2 {\n width: fit-content;\n max-width: 80%;\n text-align: left;\n padding: var(--sys-size-4) var(--sys-size-6);\n font: var(--sys-typescale-body4-regular);\n /* top left - top right - bottom right - bottom left */\n border-radius: var(--sys-shape-corner-medium) var(--sys-shape-corner-extra-small) var(--sys-shape-corner-medium) var(--sys-shape-corner-medium);\n background-color: var(--sys-color-surface5);\n color: var(--sys-color-on-surface);\n\n &.is-first-message {\n /* So the first message doesn't bump right against the top\n * toolbar */\n margin-top: var(--sys-size-6);\n }\n }\n\n &.ai-v2 {\n border-bottom: none;\n }\n\n .ai-css-change {\n margin: var(--sys-size-6) 0;\n }\n\n &:not(.ai-v2) .answer-body-wrapper {\n display: flex;\n flex-direction: column;\n gap: var(--sys-size-5);\n width: 100%;\n }\n\n &.ai-v2 .answer-body-wrapper {\n @container(min-width: 700px) {\n /* Purposefully not using design system variables, this is a\n * specific size to indent the content in and align it with the\n * walkthrough CTA. */\n padding-left: 35px;\n }\n }\n\n &.is-last-message {\n border-bottom: 0;\n }\n\n .message-info {\n display: flex;\n align-items: center;\n height: var(--sys-size-11);\n gap: var(--sys-size-4);\n font: var(--sys-typescale-body4-bold);\n\n h2 {\n font: var(--sys-typescale-body4-bold);\n }\n }\n\n .actions {\n display: flex;\n flex-direction: column;\n gap: var(--sys-size-8);\n max-width: 100%;\n }\n\n .aborted {\n color: var(--sys-color-on-surface-subtle);\n }\n\n .image-link {\n width: fit-content;\n border-radius: var(--sys-shape-corner-small);\n outline-offset: var(--sys-size-2);\n\n img {\n max-height: var(--sys-size-20);\n max-width: 100%;\n border-radius: var(--sys-shape-corner-small);\n border: 1px solid var(--sys-color-neutral-outline);\n width: fit-content;\n vertical-align: bottom;\n }\n }\n\n .unavailable-image {\n margin: var(--sys-size-4) 0;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n height: var(--sys-size-17);\n width: var(--sys-size-18);\n background-color: var(--sys-color-surface3);\n border-radius: var(--sys-shape-corner-small);\n border: 1px solid var(--sys-color-neutral-outline);\n\n devtools-icon {\n color: var(--sys-color-state-disabled);\n }\n }\n }\n\n .indicator {\n color: var(--sys-color-green-bright);\n }\n\n .summary {\n display: grid;\n grid-template-columns: auto 1fr auto;\n padding: var(--sys-size-3);\n line-height: var(--sys-size-9);\n cursor: default;\n gap: var(--sys-size-3);\n justify-content: center;\n align-items: center;\n\n .title {\n margin: 0;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n font: var(--sys-typescale-body4-regular);\n\n .paused {\n font: var(--sys-typescale-body4-bold);\n }\n }\n }\n\n .step-code {\n display: flex;\n flex-direction: column;\n gap: var(--sys-size-2);\n }\n\n .js-code-output {\n devtools-code-block {\n --code-block-max-code-height: 50px;\n }\n }\n\n .context-details {\n devtools-code-block {\n --code-block-max-code-height: 80px;\n }\n }\n\n .step {\n width: fit-content;\n background-color: var(--sys-color-surface3);\n border-radius: 16px;\n position: relative;\n\n &.empty {\n pointer-events: none;\n\n .arrow {\n display: none;\n }\n }\n\n &:not(&[open]):hover::after {\n content: '';\n height: 100%;\n width: 100%;\n border-radius: inherit;\n position: absolute;\n top: 0;\n left: 0;\n pointer-events: none;\n background-color: var(--sys-color-state-hover-on-subtle);\n }\n\n &.paused {\n .indicator {\n color: var(--sys-color-on-surface-subtle);\n }\n }\n\n &.canceled {\n .summary {\n color: var(--sys-color-state-disabled);\n text-decoration: line-through;\n }\n\n .indicator {\n color: var(--sys-color-state-disabled);\n }\n }\n\n devtools-markdown-view {\n --code-background-color: var(--sys-color-surface1);\n }\n\n devtools-icon {\n vertical-align: bottom;\n }\n\n devtools-spinner {\n width: var(--sys-size-9);\n height: var(--sys-size-9);\n padding: var(--sys-size-2);\n }\n\n &[open] {\n width: auto;\n\n summary {\n margin-bottom: var(--sys-size-2);\n }\n\n .summary .title {\n white-space: normal;\n overflow: unset;\n }\n\n .summary .arrow {\n transform: rotate(180deg);\n }\n }\n\n summary::marker {\n content: '';\n }\n\n summary {\n border-radius: 16px;\n\n &:focus-visible {\n outline: var(--sys-size-2) solid var(--sys-color-state-focus-ring);\n outline-offset: var(--sys-size-2);\n }\n }\n\n .step-details {\n padding: 0 var(--sys-size-5) var(--sys-size-4) var(--sys-size-12);\n display: flex;\n flex-direction: column;\n gap: var(--sys-size-6);\n\n devtools-code-block {\n --code-block-background-color: var(--sys-color-surface1);\n }\n }\n }\n\n\n .error-step {\n color: var(--sys-color-error);\n }\n\n .side-effect-confirmation {\n display: flex;\n flex-direction: column;\n gap: var(--sys-size-5);\n padding-bottom: var(--sys-size-4);\n }\n\n .side-effect-buttons-container {\n display: flex;\n gap: var(--sys-size-4);\n }\n\n .walkthrough-toggle-container {\n display: flex;\n gap: var(--sys-size-2);\n align-items: center;\n\n &.has-widgets {\n gap: var(--sys-size-6);\n }\n\n .chevron {\n color: var(--sys-color-primary);\n width: var(--sys-size-8);\n height: var(--sys-size-8);\n margin-left: var(--sys-size-2);\n }\n }\n\n\n .computed-styles-widget {\n display: block;\n width: fit-content;\n }\n\n .styling-preview-widget {\n width: 100%;\n min-height: 100px;\n }\n\n .main-widgets-wrapper {\n display: flex;\n flex-direction: column;\n gap: var(--sys-size-5);\n }\n\n .step-widgets-wrapper {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: var(--sys-size-5);\n }\n\n .widget-header {\n display: flex;\n justify-content: space-between;\n height: var(--sys-size-11);\n align-items: center;\n background: var(--sys-color-surface5);\n padding: var(--sys-size-2) var(--sys-size-4);\n border-top-left-radius: var(--sys-shape-corner-small);\n border-top-right-radius: var(--sys-shape-corner-small);\n\n .widget-name {\n font: var(--sys-typescale-body4-regular);\n margin: 0;\n max-width: 80%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap; /* stop the titles going onto multiple lines */\n }\n\n /* This widget's title is some text + then a DOM node link, so it\n * needs some extra styling */\n .computed-style-title-wrapper {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: var(--sys-size-3);\n }\n\n .computed-style-title-prefix {\n flex-shrink: 0;\n }\n\n .widget-reveal-container {\n padding: 0;\n background: none;\n border-radius: 0;\n }\n }\n\n .widget-reveal-button {\n display: flex;\n align-items: center;\n\n devtools-icon {\n margin-left: var(--sys-size-3);\n color: var(--sys-color-primary);\n width: var(--sys-size-8);\n height: var(--sys-size-8);\n }\n\n }\n\n .widget-and-revealer-container {\n width: 100%;\n min-width: var(--sys-size-30);\n max-width: var(--sys-size-33);\n }\n\n .widget-reveal-container {\n background: var(--sys-color-surface5);\n border-bottom-right-radius: var(--sys-shape-corner-small);\n border-bottom-left-radius: var(--sys-shape-corner-small);\n padding: 0 var(--sys-size-4) var(--sys-size-4) 0;\n }\n\n .revealer-only .widget-reveal-container {\n background: none;\n border-radius: unset;\n }\n\n .widget-content-container {\n padding: var(--sys-size-4) var(--sys-size-5);\n border-top-left-radius: var(--sys-shape-corner-medium);\n border-top-right-radius: var(--sys-shape-corner-medium);\n overflow-x: auto;\n background-color: var(--sys-color-surface3);\n\n --override-computed-style-property-white-space: normal;\n\n /* When header is present, content follows it and shouldn't have top radii */\n .widget-header+& {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n }\n\n /* When header is present, content is the last child and needs bottom radii */\n .widget-header+&:last-child {\n border-bottom-left-radius: var(--sys-shape-corner-medium);\n border-bottom-right-radius: var(--sys-shape-corner-medium);\n }\n }\n\n .network-request-preview {\n display: flex;\n flex-direction: column;\n gap: var(--sys-size-4);\n margin-bottom: var(--sys-size-5);\n padding-bottom: var(--sys-size-5);\n border-bottom: 1px solid var(--sys-color-divider);\n\n .network-request-header {\n display: flex;\n align-items: center;\n gap: var(--sys-size-5);\n\n .network-request-icon {\n width: 32px;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--sys-color-surface1);\n border-radius: var(--sys-shape-corner-small);\n border: 1px solid var(--sys-color-divider);\n overflow: hidden;\n\n img {\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n }\n\n devtools-icon {\n width: 20px;\n height: 20px;\n }\n }\n\n .network-request-details {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n\n .network-request-name {\n font: var(--sys-typescale-body4-bold);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .network-request-size {\n font: var(--sys-typescale-body4-regular);\n color: var(--sys-color-on-surface-subtle);\n }\n }\n }\n }\n}\n", Qn = /* @__PURE__ */ e({ getButtonLabel: () => er });
|
|
109
112
|
function $n(e, t) {
|
|
@@ -132,7 +135,7 @@ var tr = "/*\n * Copyright 2026 The Chromium Authors\n * Use of this source code
|
|
|
132
135
|
WalkthroughView: () => hr,
|
|
133
136
|
walkthroughCloseTitle: () => dr,
|
|
134
137
|
walkthroughTitle: () => ur
|
|
135
|
-
}), rr =
|
|
138
|
+
}), rr = a, { html: A, render: ir, Directives: ar } = ue, { ref: or } = ar, sr = 2, j = {
|
|
136
139
|
close: "Close",
|
|
137
140
|
title: "Agent walkthrough",
|
|
138
141
|
showThinking: "Show thinking",
|
|
@@ -140,7 +143,7 @@ var tr = "/*\n * Copyright 2026 The Chromium Authors\n * Use of this source code
|
|
|
140
143
|
hideThinking: "Hide thinking",
|
|
141
144
|
hideAgentWalkthrough: "Hide agent walkthrough",
|
|
142
145
|
inProgress: "In progress"
|
|
143
|
-
}, cr =
|
|
146
|
+
}, cr = i("panels/ai_assistance/components/WalkthroughView.ts", j), lr = n.bind(void 0, cr);
|
|
144
147
|
function ur(e) {
|
|
145
148
|
return e.isLoading ? Tr(e.lastStep) : e.hasWidgets ? rr(j.showAgentWalkthrough) : rr(j.showThinking);
|
|
146
149
|
}
|
|
@@ -149,18 +152,18 @@ function dr(e) {
|
|
|
149
152
|
}
|
|
150
153
|
function fr(e, t, n) {
|
|
151
154
|
let r = n.at(-1);
|
|
152
|
-
if (!e.isInlined || !r) return
|
|
155
|
+
if (!e.isInlined || !r) return g;
|
|
153
156
|
function i(t) {
|
|
154
157
|
let n = t.target.open;
|
|
155
158
|
e.message && (n ? e.onOpen(e.message) : e.onToggle(n, e.message));
|
|
156
159
|
}
|
|
157
|
-
let a = n.some((e) => e.widgets?.length), o =
|
|
160
|
+
let a = n.some((e) => e.widgets?.length), o = ft();
|
|
158
161
|
return A`
|
|
159
|
-
<div class="inline-wrapper" ?data-open=${e.isExpanded} jslog=${
|
|
162
|
+
<div class="inline-wrapper" ?data-open=${e.isExpanded} jslog=${S("walkthrough-container")}>
|
|
160
163
|
<span class="inline-icon">
|
|
161
164
|
${e.isLoading ? A`<devtools-spinner aria-label=${rr(j.inProgress)}></devtools-spinner>` : A`<devtools-icon name=${o}></devtools-icon>`}
|
|
162
165
|
</span>
|
|
163
|
-
<details class="walkthrough-inline" ?open=${e.isExpanded} @toggle=${i} jslog=${
|
|
166
|
+
<details class="walkthrough-inline" ?open=${e.isExpanded} @toggle=${i} jslog=${le("walkthrough").track({ click: !0 })}>
|
|
164
167
|
<summary
|
|
165
168
|
?data-has-widgets=${!e.isLoading && a}
|
|
166
169
|
aria-label=${er({
|
|
@@ -190,13 +193,13 @@ function fr(e, t, n) {
|
|
|
190
193
|
`;
|
|
191
194
|
}
|
|
192
195
|
function pr(e, t, n) {
|
|
193
|
-
return e.isInlined ?
|
|
194
|
-
<div class="walkthrough-view" jslog=${
|
|
196
|
+
return e.isInlined ? g : A`
|
|
197
|
+
<div class="walkthrough-view" jslog=${S("walkthrough-container")}>
|
|
195
198
|
<div class="walkthrough-header">
|
|
196
199
|
<h2 class="walkthrough-title">${lr(j.title)}</h2>
|
|
197
200
|
<devtools-button
|
|
198
201
|
.data=${{
|
|
199
|
-
variant:
|
|
202
|
+
variant: d.TOOLBAR,
|
|
200
203
|
iconName: "cross",
|
|
201
204
|
title: lr(j.close),
|
|
202
205
|
jslogContext: "close-walkthrough"
|
|
@@ -211,7 +214,7 @@ function pr(e, t, n) {
|
|
|
211
214
|
<div class="empty-state">
|
|
212
215
|
<p>No walkthrough steps available yet.</p>
|
|
213
216
|
</div>
|
|
214
|
-
` :
|
|
217
|
+
` : g}
|
|
215
218
|
</div>
|
|
216
219
|
`;
|
|
217
220
|
}
|
|
@@ -238,15 +241,15 @@ var mr = (e, t, n) => {
|
|
|
238
241
|
`)}
|
|
239
242
|
</div>
|
|
240
243
|
</div>
|
|
241
|
-
` :
|
|
244
|
+
` : g;
|
|
242
245
|
ir(A`
|
|
243
246
|
<style>
|
|
244
|
-
${
|
|
247
|
+
${tn}
|
|
245
248
|
${Zn}
|
|
246
249
|
${tr}
|
|
247
250
|
</style>
|
|
248
251
|
${e.isInlined ? fr(e, a, r) : pr(e, a, i.length)}`, n);
|
|
249
|
-
}, hr = class extends
|
|
252
|
+
}, hr = class extends Be {
|
|
250
253
|
#e;
|
|
251
254
|
#t = null;
|
|
252
255
|
#n = !1;
|
|
@@ -279,7 +282,7 @@ var mr = (e, t, n) => {
|
|
|
279
282
|
this.#p = e;
|
|
280
283
|
return;
|
|
281
284
|
}
|
|
282
|
-
|
|
285
|
+
this.#l && this.#n && this.scrollToBottom();
|
|
283
286
|
}
|
|
284
287
|
scrollToBottom() {
|
|
285
288
|
this.#d.stepsContainer && (this.#u = !0, window.requestAnimationFrame(() => {
|
|
@@ -291,7 +294,7 @@ var mr = (e, t, n) => {
|
|
|
291
294
|
}));
|
|
292
295
|
}
|
|
293
296
|
#g = (e) => {
|
|
294
|
-
if (
|
|
297
|
+
if (e.target && e.target instanceof HTMLElement) {
|
|
295
298
|
if (this.#u) {
|
|
296
299
|
e.target.scrollTop + e.target.clientHeight + sr >= e.target.scrollHeight && (this.#u = !1);
|
|
297
300
|
return;
|
|
@@ -361,7 +364,7 @@ var mr = (e, t, n) => {
|
|
|
361
364
|
getWidgetSignature: () => Jr,
|
|
362
365
|
renderStep: () => Nr,
|
|
363
366
|
titleForStep: () => Tr
|
|
364
|
-
}), { html: M, Directives: { ref: _r, ifDefined: vr } } =
|
|
367
|
+
}), { html: M, Directives: { ref: _r, ifDefined: vr } } = ue, N = a, { widget: P } = Me, yr = "https://crbug.com/508304827", br = 1, xr = 11, F = {
|
|
365
368
|
thumbsUp: "Good response",
|
|
366
369
|
thumbsDown: "Bad response",
|
|
367
370
|
provideFeedbackPlaceholder: "Provide additional feedback",
|
|
@@ -452,20 +455,20 @@ var mr = (e, t, n) => {
|
|
|
452
455
|
}, Sr = /* @__PURE__ */ function(e) {
|
|
453
456
|
return e.MODEL = "model", e.USER = "user", e;
|
|
454
457
|
}({}), Cr = (e, t, n) => {
|
|
455
|
-
let r = !!
|
|
458
|
+
let r = !!w.devToolsAiAssistanceV2?.enabled, i = e.message;
|
|
456
459
|
if (i.entity === "user") {
|
|
457
|
-
let t = i.imageInput && "inlineData" in i.imageInput ? $r(i.imageInput.inlineData) :
|
|
460
|
+
let t = i.imageInput && "inlineData" in i.imageInput ? $r(i.imageInput.inlineData) : g, a = m({
|
|
458
461
|
"chat-message": !0,
|
|
459
462
|
query: !0,
|
|
460
463
|
"is-last-message": e.isLastMessage,
|
|
461
464
|
"is-first-message": e.isFirstMessage,
|
|
462
465
|
"ai-v2": r
|
|
463
|
-
});
|
|
464
|
-
|
|
465
|
-
<style>${
|
|
466
|
+
}), o = m({ "user-query-wrapper": r });
|
|
467
|
+
f(M`
|
|
468
|
+
<style>${tn}</style>
|
|
466
469
|
<style>${Zn}</style>
|
|
467
|
-
<div class=${
|
|
468
|
-
<section class=${a} jslog=${
|
|
470
|
+
<div class=${o}>
|
|
471
|
+
<section class=${a} jslog=${S("question")}>
|
|
469
472
|
${t}
|
|
470
473
|
<div class="message-content">${wr(i.text, e.markdownRenderer)}</div>
|
|
471
474
|
</section>
|
|
@@ -473,34 +476,34 @@ var mr = (e, t, n) => {
|
|
|
473
476
|
`, n);
|
|
474
477
|
return;
|
|
475
478
|
}
|
|
476
|
-
let a = i.parts.filter((e) => e.type === "step").map((e) => e.step), o =
|
|
477
|
-
p(M`
|
|
478
|
-
<style>${Xt}</style>
|
|
479
|
-
<style>${Zn}</style>
|
|
480
|
-
<section class=${g({
|
|
479
|
+
let a = i.parts.filter((e) => e.type === "step").map((e) => e.step), o = ft(), s = m({
|
|
481
480
|
"chat-message": !0,
|
|
482
481
|
answer: !0,
|
|
483
482
|
"is-last-message": e.isLastMessage,
|
|
484
483
|
"is-first-message": e.isFirstMessage,
|
|
485
484
|
"ai-v2": r
|
|
486
|
-
})
|
|
487
|
-
|
|
485
|
+
});
|
|
486
|
+
f(M`
|
|
487
|
+
<style>${tn}</style>
|
|
488
|
+
<style>${Zn}</style>
|
|
489
|
+
<section class=${s} jslog=${S("answer")}>
|
|
490
|
+
${r ? g : M`
|
|
488
491
|
<div class="message-info">
|
|
489
492
|
<devtools-icon name=${o}></devtools-icon>
|
|
490
493
|
<div class="message-name">
|
|
491
|
-
<h2>${
|
|
494
|
+
<h2>${ct() ? N(F.gemini) : N(F.ai)}</h2>
|
|
492
495
|
</div>
|
|
493
496
|
</div>`}
|
|
494
|
-
${r ? Ar(e, a) :
|
|
497
|
+
${r ? Ar(e, a) : g}
|
|
495
498
|
<div class="answer-body-wrapper">
|
|
496
|
-
${
|
|
499
|
+
${se(i.parts, (e, t) => t, (t, n) => {
|
|
497
500
|
let a = n === i.parts.length - 1;
|
|
498
|
-
return t.type === "answer" ? M`<p>${wr(t.text, e.markdownRenderer, { animate: !e.isReadOnly && e.isLoading && a && e.isLastMessage })}</p>` : t.type === "widget" ? M`${
|
|
501
|
+
return t.type === "answer" ? M`<p>${wr(t.text, e.markdownRenderer, { animate: !e.isReadOnly && e.isLoading && a && e.isLastMessage })}</p>` : t.type === "widget" ? M`${We(Xr(t.widgets, { wrapperClass: "main-widgets-wrapper" }))}` : !r && t.type === "step" ? Nr({
|
|
499
502
|
step: t.step,
|
|
500
503
|
isLoading: e.isLoading,
|
|
501
504
|
markdownRenderer: e.markdownRenderer,
|
|
502
505
|
isLast: a
|
|
503
|
-
}) :
|
|
506
|
+
}) : g;
|
|
504
507
|
})}
|
|
505
508
|
${Qr(i)}
|
|
506
509
|
${e.shouldShowCSSChangeSummary && r && e.changeSummary ? M`
|
|
@@ -511,17 +514,17 @@ var mr = (e, t, n) => {
|
|
|
511
514
|
.displayNotice=${!0}
|
|
512
515
|
class="ai-css-change"
|
|
513
516
|
></devtools-code-block>
|
|
514
|
-
` :
|
|
515
|
-
${e.showActions ? ei(e, t) :
|
|
517
|
+
` : g}
|
|
518
|
+
${e.showActions ? ei(e, t) : g}
|
|
516
519
|
</div>
|
|
517
|
-
${r ? jr(e, a) :
|
|
520
|
+
${r ? jr(e, a) : g}
|
|
518
521
|
</section>
|
|
519
522
|
`, n);
|
|
520
523
|
};
|
|
521
524
|
function wr(e, t, { animate: n, ref: r } = {}) {
|
|
522
525
|
let i = [];
|
|
523
526
|
try {
|
|
524
|
-
i =
|
|
527
|
+
i = Qt(e);
|
|
525
528
|
for (let e of i) t.renderToken(e);
|
|
526
529
|
} catch {
|
|
527
530
|
return M`${e}`;
|
|
@@ -532,18 +535,18 @@ function wr(e, t, { animate: n, ref: r } = {}) {
|
|
|
532
535
|
renderer: t,
|
|
533
536
|
animationEnabled: n
|
|
534
537
|
}}
|
|
535
|
-
${r ? _r(r) :
|
|
538
|
+
${r ? _r(r) : g}>
|
|
536
539
|
</devtools-markdown-view>`;
|
|
537
540
|
}
|
|
538
541
|
function Tr(e) {
|
|
539
542
|
return e.title ?? `${N(F.investigating)}…`;
|
|
540
543
|
}
|
|
541
544
|
function Er(e) {
|
|
542
|
-
let t = e.requestApproval ? M`<span class="paused">${N(F.paused)}: </span>` :
|
|
545
|
+
let t = e.requestApproval ? M`<span class="paused">${N(F.paused)}: </span>` : g;
|
|
543
546
|
return M`<h3 class="title" aria-label=${Tr(e)}>${t}${Tr(e)}</h3>`;
|
|
544
547
|
}
|
|
545
548
|
function Dr(e) {
|
|
546
|
-
if (!e.code && !e.output) return
|
|
549
|
+
if (!e.code && !e.output) return g;
|
|
547
550
|
let t = e.output && !e.canceled ? N(F.codeExecuted) : N(F.codeToExecute);
|
|
548
551
|
return M`<div class="step-code">${e.code ? M`<div class="action-result">
|
|
549
552
|
<devtools-code-block
|
|
@@ -553,7 +556,7 @@ function Dr(e) {
|
|
|
553
556
|
.header=${t}
|
|
554
557
|
.showCopyButton=${!0}
|
|
555
558
|
></devtools-code-block>
|
|
556
|
-
</div>` :
|
|
559
|
+
</div>` : g}${e.output ? M`<div class="js-code-output">
|
|
557
560
|
<devtools-code-block
|
|
558
561
|
.code=${e.output}
|
|
559
562
|
.codeLang=${"js"}
|
|
@@ -561,10 +564,10 @@ function Dr(e) {
|
|
|
561
564
|
.header=${N(F.dataReturned)}
|
|
562
565
|
.showCopyButton=${!1}
|
|
563
566
|
></devtools-code-block>
|
|
564
|
-
</div>` :
|
|
567
|
+
</div>` : g}</div>`;
|
|
565
568
|
}
|
|
566
569
|
function Or({ step: e, markdownRenderer: t, isLast: n }) {
|
|
567
|
-
let r = n && e.requestApproval ? Zr(e) :
|
|
570
|
+
let r = n && e.requestApproval ? Zr(e) : g, i = e.thought ? M`<p>${wr(e.thought, t)}</p>` : g, a = e.contextDetails ? M`${se(e.contextDetails, (e) => M`<div class="context-details">
|
|
568
571
|
<devtools-code-block
|
|
569
572
|
.code=${e.text}
|
|
570
573
|
.codeLang=${e.codeLang || ""}
|
|
@@ -572,7 +575,7 @@ function Or({ step: e, markdownRenderer: t, isLast: n }) {
|
|
|
572
575
|
.header=${e.title}
|
|
573
576
|
.showCopyButton=${!0}
|
|
574
577
|
></devtools-code-block>
|
|
575
|
-
</div>`)}` :
|
|
578
|
+
</div>`)}` : g;
|
|
576
579
|
return M`<div class="step-details">
|
|
577
580
|
${i}
|
|
578
581
|
${Dr(e)}
|
|
@@ -582,15 +585,15 @@ function Or({ step: e, markdownRenderer: t, isLast: n }) {
|
|
|
582
585
|
}
|
|
583
586
|
function kr(e, t) {
|
|
584
587
|
let { message: n, walkthrough: r } = e, i = t.at(-1);
|
|
585
|
-
if (r.isInlined || !i) return
|
|
588
|
+
if (r.isInlined || !i) return g;
|
|
586
589
|
let a = t.some((e) => e.widgets?.length), o = r.isExpanded && e.message.id === e.walkthrough.activeSidebarMessage?.id, s = o ? dr({ hasWidgets: a }) : ur({
|
|
587
590
|
isLoading: e.isLoading,
|
|
588
591
|
hasWidgets: a,
|
|
589
592
|
lastStep: i
|
|
590
|
-
}), c = a && !e.isLoading ?
|
|
593
|
+
}), c = a && !e.isLoading ? d.TONAL : d.TEXT, l = ft(), ee = m({
|
|
591
594
|
"walkthrough-toggle-container": !0,
|
|
592
595
|
"has-widgets": a && !e.isLoading
|
|
593
|
-
}),
|
|
596
|
+
}), u = er({
|
|
594
597
|
isExpanded: o,
|
|
595
598
|
isLoading: e.isLoading,
|
|
596
599
|
hasWidgets: a,
|
|
@@ -598,13 +601,13 @@ function kr(e, t) {
|
|
|
598
601
|
stepTitle: Tr(i)
|
|
599
602
|
});
|
|
600
603
|
return M`
|
|
601
|
-
<div class=${
|
|
604
|
+
<div class=${ee}>
|
|
602
605
|
${e.isLoading ? M`<devtools-spinner></devtools-spinner>` : M`<devtools-icon name=${l}></devtools-icon>`}
|
|
603
606
|
<devtools-button
|
|
604
607
|
.variant=${c}
|
|
605
|
-
.size=${
|
|
608
|
+
.size=${h.SMALL}
|
|
606
609
|
.title=${i.isLoading ? Tr(i) : s}
|
|
607
|
-
.accessibleLabel=${
|
|
610
|
+
.accessibleLabel=${u}
|
|
608
611
|
.jslogContext=${r.isExpanded ? "ai-hide-walkthrough-sidebar" : "ai-show-walkthrough-sidebar"}
|
|
609
612
|
data-show-walkthrough
|
|
610
613
|
@click=${() => {
|
|
@@ -615,8 +618,8 @@ function kr(e, t) {
|
|
|
615
618
|
`;
|
|
616
619
|
}
|
|
617
620
|
function Ar(e, t) {
|
|
618
|
-
if (!t.at(-1)) return
|
|
619
|
-
let n = e.walkthrough.isInlined ?
|
|
621
|
+
if (!t.at(-1)) return g;
|
|
622
|
+
let n = e.walkthrough.isInlined ? g : kr(e, t), r = e.walkthrough.isInlined ? e.walkthrough.inlineExpandedMessages.some((t) => t.id === e.message.id) : e.walkthrough.isExpanded && e.walkthrough.activeSidebarMessage?.id === e.message.id;
|
|
620
623
|
return M`
|
|
621
624
|
${n}
|
|
622
625
|
${e.walkthrough.isInlined ? M`
|
|
@@ -632,12 +635,12 @@ function Ar(e, t) {
|
|
|
632
635
|
onOpen: e.walkthrough.onOpen
|
|
633
636
|
})}
|
|
634
637
|
</div>
|
|
635
|
-
` :
|
|
638
|
+
` : g}
|
|
636
639
|
`;
|
|
637
640
|
}
|
|
638
641
|
function jr(e, t) {
|
|
639
642
|
let n = t.filter((e) => e.requestApproval);
|
|
640
|
-
return n.length === 0 ?
|
|
643
|
+
return n.length === 0 ? g : M`
|
|
641
644
|
${n.map((t) => M`
|
|
642
645
|
<div class="side-effect-container">
|
|
643
646
|
${Nr({
|
|
@@ -661,13 +664,13 @@ function Mr({ step: e, isLoading: t, isLast: n }) {
|
|
|
661
664
|
}
|
|
662
665
|
function Nr({ step: e, isLoading: t, markdownRenderer: n, isLast: r }) {
|
|
663
666
|
return M`
|
|
664
|
-
<details class=${
|
|
667
|
+
<details class=${m({
|
|
665
668
|
step: !0,
|
|
666
669
|
empty: !e.thought && !e.code && !e.contextDetails && !e.requestApproval,
|
|
667
670
|
paused: !!e.requestApproval,
|
|
668
671
|
canceled: !!e.canceled
|
|
669
672
|
})}
|
|
670
|
-
jslog=${
|
|
673
|
+
jslog=${le("step").track({ click: !0 })}
|
|
671
674
|
.open=${!!e.requestApproval}>
|
|
672
675
|
<summary>
|
|
673
676
|
<div class="summary">
|
|
@@ -689,22 +692,22 @@ function Nr({ step: e, isLoading: t, markdownRenderer: n, isLast: r }) {
|
|
|
689
692
|
isLast: r
|
|
690
693
|
})}
|
|
691
694
|
</details>
|
|
692
|
-
${
|
|
695
|
+
${We(Xr(e.widgets, { wrapperClass: "step-widgets-wrapper" }))}
|
|
693
696
|
`;
|
|
694
697
|
}
|
|
695
698
|
var Pr = /* @__PURE__ */ new Map();
|
|
696
699
|
async function Fr(e) {
|
|
697
700
|
let t = Pr.get(e);
|
|
698
701
|
if (t) return t;
|
|
699
|
-
let n =
|
|
702
|
+
let n = b.instance().primaryPageTarget();
|
|
700
703
|
if (!n) return null;
|
|
701
|
-
let r = await new
|
|
704
|
+
let r = await new Ee(n, e).resolvePromise();
|
|
702
705
|
return r && Pr.set(e, r), r;
|
|
703
706
|
}
|
|
704
707
|
async function Ir(e) {
|
|
705
708
|
let t = await Fr(e.data.backendNodeId);
|
|
706
709
|
if (!t) return null;
|
|
707
|
-
let n = new
|
|
710
|
+
let n = new Bt(t, e.data.computedStyles), r = null;
|
|
708
711
|
try {
|
|
709
712
|
r = new RegExp(e.data.properties.join("|"), "i");
|
|
710
713
|
} catch {
|
|
@@ -712,7 +715,7 @@ async function Ir(e) {
|
|
|
712
715
|
}
|
|
713
716
|
return {
|
|
714
717
|
renderedWidget: M`<devtools-widget
|
|
715
|
-
class="computed-styles-widget" ${P(
|
|
718
|
+
class="computed-styles-widget" ${P(Gt, {
|
|
716
719
|
nodeStyle: n,
|
|
717
720
|
matchedStyles: e.data.matchedCascade,
|
|
718
721
|
propertyTraces: null,
|
|
@@ -720,14 +723,14 @@ async function Ir(e) {
|
|
|
720
723
|
filterText: r,
|
|
721
724
|
enableNarrowViewResizing: !1
|
|
722
725
|
})}></devtools-widget>`,
|
|
723
|
-
revealable: new
|
|
726
|
+
revealable: new Wt(t),
|
|
724
727
|
accessibleRevealLabel: N(F.revealComputedStyles),
|
|
725
728
|
title: M`
|
|
726
729
|
<span class="computed-style-title-wrapper">
|
|
727
730
|
<span class="computed-style-title-prefix">Computed styles</span>
|
|
728
731
|
<span class="style-class-wrapper">
|
|
729
732
|
(<devtools-widget
|
|
730
|
-
${P(
|
|
733
|
+
${P(jt, { node: t })}
|
|
731
734
|
></devtools-widget>)
|
|
732
735
|
</span>
|
|
733
736
|
</span>`,
|
|
@@ -759,7 +762,7 @@ async function Rr(e) {
|
|
|
759
762
|
return {
|
|
760
763
|
renderedWidget: M`<devtools-widget
|
|
761
764
|
class="styling-preview-widget"
|
|
762
|
-
${P(
|
|
765
|
+
${P(Ut, {
|
|
763
766
|
domNode: t,
|
|
764
767
|
filter: n
|
|
765
768
|
})}>
|
|
@@ -767,7 +770,7 @@ async function Rr(e) {
|
|
|
767
770
|
revealable: t,
|
|
768
771
|
accessibleRevealLabel: N(F.revealStyleProperties),
|
|
769
772
|
title: M`<devtools-widget
|
|
770
|
-
${P(
|
|
773
|
+
${P(jt, { node: t })}
|
|
771
774
|
></devtools-widget>`,
|
|
772
775
|
jslogContext: "standalone-styles"
|
|
773
776
|
};
|
|
@@ -915,9 +918,9 @@ async function Vr(e) {
|
|
|
915
918
|
return Br(r.component, n, r.jslog, r.accessibleLabel, r.title, i);
|
|
916
919
|
}
|
|
917
920
|
async function Hr(e) {
|
|
918
|
-
let t =
|
|
921
|
+
let t = _t.mainThreadActivityBottomUp(e.data.bounds, e.data.parsedTrace);
|
|
919
922
|
if (!t) return null;
|
|
920
|
-
let n = t.events, r =
|
|
923
|
+
let n = t.events, r = qt(e.data.bounds.min), i = qt(e.data.bounds.max);
|
|
921
924
|
return {
|
|
922
925
|
renderedWidget: M`<devtools-widget
|
|
923
926
|
class="bottom-up-timeline-tree-widget"
|
|
@@ -937,41 +940,41 @@ async function Hr(e) {
|
|
|
937
940
|
};
|
|
938
941
|
}
|
|
939
942
|
function Ur(e) {
|
|
940
|
-
if (e === null) return
|
|
941
|
-
function
|
|
942
|
-
e !== null &&
|
|
943
|
+
if (e === null) return g;
|
|
944
|
+
function n() {
|
|
945
|
+
e !== null && t(e?.revealable);
|
|
943
946
|
}
|
|
944
|
-
let
|
|
947
|
+
let r = m({
|
|
945
948
|
"widget-and-revealer-container": !0,
|
|
946
949
|
"revealer-only": e.renderedWidget === null
|
|
947
|
-
}),
|
|
950
|
+
}), i = M`
|
|
948
951
|
<devtools-button class="widget-reveal-button"
|
|
949
|
-
.variant=${
|
|
952
|
+
.variant=${d.TEXT}
|
|
950
953
|
.accessibleLabel=${e.accessibleRevealLabel}
|
|
951
954
|
.jslogContext=${"reveal"}
|
|
952
|
-
@click=${
|
|
955
|
+
@click=${n}
|
|
953
956
|
>
|
|
954
957
|
${e.customRevealTitle ?? N(F.reveal)}
|
|
955
958
|
<devtools-icon name='tab-move'></devtools-icon>
|
|
956
959
|
</devtools-button>
|
|
957
960
|
`;
|
|
958
961
|
return M`
|
|
959
|
-
<div class=${
|
|
962
|
+
<div class=${r} jslog=${vr(e.jslogContext ? S(e.jslogContext) : void 0)}>
|
|
960
963
|
${e.title ? M`
|
|
961
964
|
<div class="widget-header">
|
|
962
965
|
<h4 class="widget-name">${e.title}</h4>
|
|
963
966
|
<div class="widget-reveal-container">
|
|
964
|
-
${
|
|
967
|
+
${i}
|
|
965
968
|
</div>
|
|
966
969
|
</div>
|
|
967
|
-
` :
|
|
970
|
+
` : g}
|
|
968
971
|
${e.renderedWidget ? M`
|
|
969
972
|
<div class="widget-content-container">
|
|
970
973
|
${e.renderedWidget}
|
|
971
|
-
</div>` :
|
|
972
|
-
${e.title ?
|
|
974
|
+
</div>` : g}
|
|
975
|
+
${e.title ? g : M`
|
|
973
976
|
<div class="widget-reveal-container">
|
|
974
|
-
${
|
|
977
|
+
${i}
|
|
975
978
|
</div>
|
|
976
979
|
`}
|
|
977
980
|
</div>
|
|
@@ -989,7 +992,7 @@ async function Wr(e) {
|
|
|
989
992
|
};
|
|
990
993
|
}
|
|
991
994
|
async function Gr(e) {
|
|
992
|
-
let t = e.data.uiSourceCode, n =
|
|
995
|
+
let t = e.data.uiSourceCode, n = a(`Show ${t.name()}`);
|
|
993
996
|
return {
|
|
994
997
|
renderedWidget: null,
|
|
995
998
|
title: null,
|
|
@@ -1000,12 +1003,12 @@ async function Gr(e) {
|
|
|
1000
1003
|
};
|
|
1001
1004
|
}
|
|
1002
1005
|
function Kr(e) {
|
|
1003
|
-
let t = e.url.split("/").pop() || e.url, n =
|
|
1006
|
+
let t = e.url.split("/").pop() || e.url, n = r(e.size), i = o[e.resourceType], { iconName: a, color: s } = nn.iconDataForResourceType(i), c = e.imageContent?.asImagePreviewUrl();
|
|
1004
1007
|
return M`
|
|
1005
1008
|
<div class="network-request-preview">
|
|
1006
1009
|
<div class="network-request-header">
|
|
1007
1010
|
<div class="network-request-icon">
|
|
1008
|
-
${
|
|
1011
|
+
${i.isImage() && c ? M`<img src=${c} alt=${t} />` : M`<devtools-icon name=${a} style=${oe({ color: s ?? "" })}></devtools-icon>`}
|
|
1009
1012
|
</div>
|
|
1010
1013
|
<div class="network-request-details">
|
|
1011
1014
|
<div class="network-request-name" title=${e.url}>${t}</div>
|
|
@@ -1021,8 +1024,8 @@ async function qr(e) {
|
|
|
1021
1024
|
let n = e.data.networkRequest;
|
|
1022
1025
|
return {
|
|
1023
1026
|
renderedWidget: M`
|
|
1024
|
-
${n ? Kr(n) :
|
|
1025
|
-
<devtools-widget class="dom-tree-widget" ${P(
|
|
1027
|
+
${n ? Kr(n) : g}
|
|
1028
|
+
<devtools-widget class="dom-tree-widget" ${P(Ht, {
|
|
1026
1029
|
maxTreeDepth: 2,
|
|
1027
1030
|
enableContextMenu: !1,
|
|
1028
1031
|
showComments: !1,
|
|
@@ -1035,7 +1038,7 @@ async function qr(e) {
|
|
|
1035
1038
|
maxRows: 10
|
|
1036
1039
|
})}></devtools-widget>
|
|
1037
1040
|
`,
|
|
1038
|
-
revealable: new
|
|
1041
|
+
revealable: new Ee(t.domModel().target(), t.backendNodeId()),
|
|
1039
1042
|
accessibleRevealLabel: N(F.revealLcpElement),
|
|
1040
1043
|
title: N(F.lcpElement),
|
|
1041
1044
|
jslogContext: "dom-snapshot"
|
|
@@ -1055,13 +1058,13 @@ function Jr(e) {
|
|
|
1055
1058
|
case "LIGHTHOUSE_REPORT": return `${e.name}:${e.data.report.fetchTime}`;
|
|
1056
1059
|
case "TIMELINE_EVENT_SUMMARY": return `${e.name}:${e.data.event.ts}:${e.data.event.name}`;
|
|
1057
1060
|
case "NETWORK_REQUEST_GENERAL_HEADERS": return `${e.name}:${e.data.request.requestId()}`;
|
|
1058
|
-
default:
|
|
1061
|
+
default: nt(e, "Unknown AiWidget name");
|
|
1059
1062
|
}
|
|
1060
1063
|
}
|
|
1061
1064
|
function Yr(e) {
|
|
1062
1065
|
let t = /* @__PURE__ */ new Set(), n = (e) => e.filter((e) => {
|
|
1063
1066
|
let n = Jr(e);
|
|
1064
|
-
return t.has(n)
|
|
1067
|
+
return !t.has(n) && (t.add(n), !0);
|
|
1065
1068
|
}), r = e.parts.map((e) => e.type === "widget" ? {
|
|
1066
1069
|
...e,
|
|
1067
1070
|
widgets: n(e.widgets)
|
|
@@ -1078,7 +1081,7 @@ function Yr(e) {
|
|
|
1078
1081
|
};
|
|
1079
1082
|
}
|
|
1080
1083
|
async function Xr(e, t = {}) {
|
|
1081
|
-
if (!
|
|
1084
|
+
if (!w.devToolsAiAssistanceV2?.enabled || !e || e.length === 0) return g;
|
|
1082
1085
|
let n = await Promise.all(e.map(async (e) => {
|
|
1083
1086
|
let t = null;
|
|
1084
1087
|
switch (e.name) {
|
|
@@ -1118,7 +1121,7 @@ async function Xr(e, t = {}) {
|
|
|
1118
1121
|
case "NETWORK_REQUEST_GENERAL_HEADERS":
|
|
1119
1122
|
t = await ai(e);
|
|
1120
1123
|
break;
|
|
1121
|
-
default:
|
|
1124
|
+
default: nt(e, "Unknown AiWidget name");
|
|
1122
1125
|
}
|
|
1123
1126
|
return Ur(t);
|
|
1124
1127
|
}));
|
|
@@ -1127,47 +1130,47 @@ async function Xr(e, t = {}) {
|
|
|
1127
1130
|
function Zr(e) {
|
|
1128
1131
|
return e.requestApproval ? M`<div
|
|
1129
1132
|
class="side-effect-confirmation"
|
|
1130
|
-
jslog=${
|
|
1133
|
+
jslog=${S("side-effect-confirmation")}
|
|
1131
1134
|
>
|
|
1132
|
-
${e.requestApproval.description ? M`<p>${e.requestApproval.description}</p>` :
|
|
1135
|
+
${e.requestApproval.description ? M`<p>${e.requestApproval.description}</p>` : g}
|
|
1133
1136
|
<div class="side-effect-buttons-container">
|
|
1134
1137
|
<devtools-button
|
|
1135
1138
|
.data=${{
|
|
1136
|
-
variant:
|
|
1139
|
+
variant: d.OUTLINED,
|
|
1137
1140
|
jslogContext: "decline-execute-code"
|
|
1138
1141
|
}}
|
|
1139
1142
|
@click=${() => e.requestApproval?.onAnswer(!1)}
|
|
1140
1143
|
>${N(F.declineActionRequestApproval)}</devtools-button>
|
|
1141
1144
|
<devtools-button
|
|
1142
1145
|
.data=${{
|
|
1143
|
-
variant:
|
|
1146
|
+
variant: d.PRIMARY,
|
|
1144
1147
|
jslogContext: "accept-execute-code",
|
|
1145
1148
|
iconName: "play"
|
|
1146
1149
|
}}
|
|
1147
1150
|
@click=${() => e.requestApproval?.onAnswer(!0)}
|
|
1148
1151
|
>${N(F.confirmActionRequestApproval)}</devtools-button>
|
|
1149
1152
|
</div>
|
|
1150
|
-
</div>` :
|
|
1153
|
+
</div>` : g;
|
|
1151
1154
|
}
|
|
1152
1155
|
function Qr(e) {
|
|
1153
1156
|
if (e.error) {
|
|
1154
1157
|
let t;
|
|
1155
1158
|
switch (e.error) {
|
|
1156
|
-
case
|
|
1157
|
-
case
|
|
1159
|
+
case D.UNKNOWN:
|
|
1160
|
+
case D.BLOCK:
|
|
1158
1161
|
t = F.systemError;
|
|
1159
1162
|
break;
|
|
1160
|
-
case
|
|
1163
|
+
case D.MAX_STEPS:
|
|
1161
1164
|
t = F.maxStepsError;
|
|
1162
1165
|
break;
|
|
1163
|
-
case
|
|
1166
|
+
case D.CROSS_ORIGIN:
|
|
1164
1167
|
t = F.crossOriginError;
|
|
1165
1168
|
break;
|
|
1166
|
-
case
|
|
1169
|
+
case D.ABORT: return M`<p class="aborted" jslog=${S("aborted")}>${N(F.stoppedResponse)}</p>`;
|
|
1167
1170
|
}
|
|
1168
|
-
return M`<p class="error" jslog=${
|
|
1171
|
+
return M`<p class="error" jslog=${S("error")}>${N(t)}</p>`;
|
|
1169
1172
|
}
|
|
1170
|
-
return
|
|
1173
|
+
return g;
|
|
1171
1174
|
}
|
|
1172
1175
|
function $r(e) {
|
|
1173
1176
|
if (e.data === "") return M`<div class="unavailable-image" title=${F.imageUnavailable}>
|
|
@@ -1182,9 +1185,9 @@ function $r(e) {
|
|
|
1182
1185
|
</devtools-link>`;
|
|
1183
1186
|
}
|
|
1184
1187
|
function ei(e, t) {
|
|
1185
|
-
let n =
|
|
1188
|
+
let n = w.devToolsAiAssistanceV2?.enabled;
|
|
1186
1189
|
return M`
|
|
1187
|
-
<div class=${
|
|
1190
|
+
<div class=${m({
|
|
1188
1191
|
"ai-assistance-feedback-row": !0,
|
|
1189
1192
|
"not-v2": !n
|
|
1190
1193
|
})}>
|
|
@@ -1192,48 +1195,48 @@ function ei(e, t) {
|
|
|
1192
1195
|
${e.showRateButtons ? M`
|
|
1193
1196
|
<devtools-button
|
|
1194
1197
|
.data=${{
|
|
1195
|
-
variant:
|
|
1196
|
-
size:
|
|
1198
|
+
variant: d.ICON,
|
|
1199
|
+
size: h.SMALL,
|
|
1197
1200
|
iconName: "thumb-up",
|
|
1198
1201
|
toggledIconName: "thumb-up-filled",
|
|
1199
|
-
toggled: e.currentRating ===
|
|
1200
|
-
toggleType:
|
|
1202
|
+
toggled: e.currentRating === De.POSITIVE,
|
|
1203
|
+
toggleType: pe.PRIMARY,
|
|
1201
1204
|
title: N(F.thumbsUp),
|
|
1202
1205
|
jslogContext: "thumbs-up"
|
|
1203
1206
|
}}
|
|
1204
|
-
@click=${() => e.onRatingClick(
|
|
1207
|
+
@click=${() => e.onRatingClick(De.POSITIVE)}
|
|
1205
1208
|
></devtools-button>
|
|
1206
1209
|
<devtools-button
|
|
1207
1210
|
.data=${{
|
|
1208
|
-
variant:
|
|
1209
|
-
size:
|
|
1211
|
+
variant: d.ICON,
|
|
1212
|
+
size: h.SMALL,
|
|
1210
1213
|
iconName: "thumb-down",
|
|
1211
1214
|
toggledIconName: "thumb-down-filled",
|
|
1212
|
-
toggled: e.currentRating ===
|
|
1213
|
-
toggleType:
|
|
1215
|
+
toggled: e.currentRating === De.NEGATIVE,
|
|
1216
|
+
toggleType: pe.PRIMARY,
|
|
1214
1217
|
title: N(F.thumbsDown),
|
|
1215
1218
|
jslogContext: "thumbs-down"
|
|
1216
1219
|
}}
|
|
1217
|
-
@click=${() => e.onRatingClick(
|
|
1220
|
+
@click=${() => e.onRatingClick(De.NEGATIVE)}
|
|
1218
1221
|
></devtools-button>
|
|
1219
|
-
${n ?
|
|
1220
|
-
` :
|
|
1222
|
+
${n ? g : M`<div class="vertical-separator"></div>`}
|
|
1223
|
+
` : g}
|
|
1221
1224
|
<devtools-button
|
|
1222
1225
|
.data=${{
|
|
1223
|
-
variant:
|
|
1224
|
-
size:
|
|
1226
|
+
variant: d.ICON,
|
|
1227
|
+
size: h.SMALL,
|
|
1225
1228
|
title: N(F.report),
|
|
1226
1229
|
iconName: "report",
|
|
1227
1230
|
jslogContext: "report"
|
|
1228
1231
|
}}
|
|
1229
1232
|
@click=${e.onReportClick}
|
|
1230
1233
|
></devtools-button>
|
|
1231
|
-
${n ?
|
|
1234
|
+
${n ? g : M`
|
|
1232
1235
|
<div class="vertical-separator"></div>
|
|
1233
1236
|
<devtools-button
|
|
1234
1237
|
.data=${{
|
|
1235
|
-
variant:
|
|
1236
|
-
size:
|
|
1238
|
+
variant: d.ICON,
|
|
1239
|
+
size: h.SMALL,
|
|
1237
1240
|
title: N(F.copyResponse),
|
|
1238
1241
|
iconName: "copy",
|
|
1239
1242
|
jslogContext: "copy-ai-response"
|
|
@@ -1245,13 +1248,13 @@ function ei(e, t) {
|
|
|
1245
1248
|
<devtools-button
|
|
1246
1249
|
class="export-for-agents-button"
|
|
1247
1250
|
.jslogContext=${"ai-export-for-agents"}
|
|
1248
|
-
.variant=${
|
|
1251
|
+
.variant=${d.OUTLINED}
|
|
1249
1252
|
.iconName=${"copy"}
|
|
1250
1253
|
aria-label=${N(F.exportForAgents)}
|
|
1251
1254
|
@click=${e.onExportClick}
|
|
1252
1255
|
>${N(F.exportForAgents)}</devtools-button>
|
|
1253
|
-
${e.suggestions ? M`<div class="vertical-separator"></div>` :
|
|
1254
|
-
` :
|
|
1256
|
+
${e.suggestions ? M`<div class="vertical-separator"></div>` : g}
|
|
1257
|
+
` : g}
|
|
1255
1258
|
</div>
|
|
1256
1259
|
${e.suggestions ? M`<div class="suggestions-container">
|
|
1257
1260
|
<div class="scroll-button-container left hidden" ${_r((e) => {
|
|
@@ -1260,8 +1263,8 @@ function ei(e, t) {
|
|
|
1260
1263
|
<devtools-button
|
|
1261
1264
|
class='scroll-button'
|
|
1262
1265
|
.data=${{
|
|
1263
|
-
variant:
|
|
1264
|
-
size:
|
|
1266
|
+
variant: d.ICON,
|
|
1267
|
+
size: h.SMALL,
|
|
1265
1268
|
iconName: "chevron-left",
|
|
1266
1269
|
title: N(F.scrollToPrevious),
|
|
1267
1270
|
jslogContext: "chevron-left"
|
|
@@ -1275,7 +1278,7 @@ function ei(e, t) {
|
|
|
1275
1278
|
${e.suggestions.map((t) => M`<devtools-button
|
|
1276
1279
|
class='suggestion'
|
|
1277
1280
|
.data=${{
|
|
1278
|
-
variant:
|
|
1281
|
+
variant: d.OUTLINED,
|
|
1279
1282
|
title: t,
|
|
1280
1283
|
jslogContext: "suggestion"
|
|
1281
1284
|
}}
|
|
@@ -1288,8 +1291,8 @@ function ei(e, t) {
|
|
|
1288
1291
|
<devtools-button
|
|
1289
1292
|
class='scroll-button'
|
|
1290
1293
|
.data=${{
|
|
1291
|
-
variant:
|
|
1292
|
-
size:
|
|
1294
|
+
variant: d.ICON,
|
|
1295
|
+
size: h.SMALL,
|
|
1293
1296
|
iconName: "chevron-right",
|
|
1294
1297
|
title: N(F.scrollToNext),
|
|
1295
1298
|
jslogContext: "chevron-right"
|
|
@@ -1297,7 +1300,7 @@ function ei(e, t) {
|
|
|
1297
1300
|
@click=${() => e.scrollSuggestionsScrollContainer("right")}
|
|
1298
1301
|
></devtools-button>
|
|
1299
1302
|
</div>
|
|
1300
|
-
</div>` :
|
|
1303
|
+
</div>` : g}
|
|
1301
1304
|
</div>
|
|
1302
1305
|
${e.isShowingFeedbackForm ? M`
|
|
1303
1306
|
<form class="feedback-form" @submit=${e.onSubmit}>
|
|
@@ -1307,9 +1310,9 @@ function ei(e, t) {
|
|
|
1307
1310
|
aria-label=${N(F.close)}
|
|
1308
1311
|
@click=${e.onClose}
|
|
1309
1312
|
.data=${{
|
|
1310
|
-
variant:
|
|
1313
|
+
variant: d.ICON,
|
|
1311
1314
|
iconName: "cross",
|
|
1312
|
-
size:
|
|
1315
|
+
size: h.SMALL,
|
|
1313
1316
|
title: N(F.close),
|
|
1314
1317
|
jslogContext: "close"
|
|
1315
1318
|
}}
|
|
@@ -1320,7 +1323,7 @@ function ei(e, t) {
|
|
|
1320
1323
|
class="devtools-text-input feedback-input"
|
|
1321
1324
|
@input=${(t) => e.onInputChange(t.target.value)}
|
|
1322
1325
|
placeholder=${N(F.provideFeedbackPlaceholder)}
|
|
1323
|
-
jslog=${
|
|
1326
|
+
jslog=${qe("feedback").track({ keydown: "Enter" })}
|
|
1324
1327
|
>
|
|
1325
1328
|
<span class="feedback-disclaimer">${N(F.disclaimer)}</span>
|
|
1326
1329
|
<div>
|
|
@@ -1329,8 +1332,8 @@ function ei(e, t) {
|
|
|
1329
1332
|
.data=${{
|
|
1330
1333
|
type: "submit",
|
|
1331
1334
|
disabled: e.isSubmitButtonDisabled,
|
|
1332
|
-
variant:
|
|
1333
|
-
size:
|
|
1335
|
+
variant: d.OUTLINED,
|
|
1336
|
+
size: h.SMALL,
|
|
1334
1337
|
title: N(F.submit),
|
|
1335
1338
|
jslogContext: "send"
|
|
1336
1339
|
}}
|
|
@@ -1338,10 +1341,10 @@ function ei(e, t) {
|
|
|
1338
1341
|
</div>
|
|
1339
1342
|
</div>
|
|
1340
1343
|
</form>
|
|
1341
|
-
` :
|
|
1344
|
+
` : g}
|
|
1342
1345
|
`;
|
|
1343
1346
|
}
|
|
1344
|
-
var ti = class extends
|
|
1347
|
+
var ti = class extends Be {
|
|
1345
1348
|
message = {
|
|
1346
1349
|
entity: "user",
|
|
1347
1350
|
text: "",
|
|
@@ -1369,7 +1372,7 @@ var ti = class extends Ue {
|
|
|
1369
1372
|
inlineExpandedMessages: []
|
|
1370
1373
|
};
|
|
1371
1374
|
#e = new ResizeObserver(() => this.#d());
|
|
1372
|
-
#t = new
|
|
1375
|
+
#t = new Ae(100);
|
|
1373
1376
|
#n = "";
|
|
1374
1377
|
#r;
|
|
1375
1378
|
#i = !1;
|
|
@@ -1397,7 +1400,7 @@ var ti = class extends Ue {
|
|
|
1397
1400
|
shouldShowCSSChangeSummary: this.shouldShowCSSChangeSummary,
|
|
1398
1401
|
onSuggestionClick: this.onSuggestionClick,
|
|
1399
1402
|
onRatingClick: this.#p.bind(this),
|
|
1400
|
-
onReportClick: () =>
|
|
1403
|
+
onReportClick: () => te(yr),
|
|
1401
1404
|
onCopyResponseClick: () => {
|
|
1402
1405
|
this.message.entity === "model" && this.onCopyResponseClick(this.message);
|
|
1403
1406
|
},
|
|
@@ -1445,7 +1448,7 @@ var ti = class extends Ue {
|
|
|
1445
1448
|
}
|
|
1446
1449
|
#p(e) {
|
|
1447
1450
|
if (this.#r === e) {
|
|
1448
|
-
this.#r = void 0, this.#i = !1, this.#a = !0, this.message.entity === "model" && this.message.rpcId && this.onFeedbackSubmit(this.message.rpcId,
|
|
1451
|
+
this.#r = void 0, this.#i = !1, this.#a = !0, this.message.entity === "model" && this.message.rpcId && this.onFeedbackSubmit(this.message.rpcId, De.SENTIMENT_UNSPECIFIED), this.performUpdate();
|
|
1449
1452
|
return;
|
|
1450
1453
|
}
|
|
1451
1454
|
this.#r = e, this.#i = this.canShowFeedbackForm, this.message.entity === "model" && this.message.rpcId && this.onFeedbackSubmit(this.message.rpcId, e), this.performUpdate();
|
|
@@ -1456,49 +1459,49 @@ var ti = class extends Ue {
|
|
|
1456
1459
|
#h(e) {
|
|
1457
1460
|
e.preventDefault();
|
|
1458
1461
|
let t = this.#n;
|
|
1459
|
-
|
|
1462
|
+
this.#r && t && (this.message.entity === "model" && this.message.rpcId && this.onFeedbackSubmit(this.message.rpcId, this.#r, t), this.#i = !1, this.#a = !0, this.performUpdate());
|
|
1460
1463
|
}
|
|
1461
1464
|
};
|
|
1462
1465
|
async function ni(e) {
|
|
1463
|
-
let { bounds:
|
|
1464
|
-
if (
|
|
1466
|
+
let { bounds: n, parsedTrace: r, track: i } = e.data, a = [];
|
|
1467
|
+
if (i === "main") {
|
|
1465
1468
|
let e;
|
|
1466
|
-
for (let
|
|
1469
|
+
for (let t of r.data.Meta.mainFrameNavigations) if (t.ts <= n.min) e = t.args.data?.navigationId;
|
|
1467
1470
|
else break;
|
|
1468
|
-
let
|
|
1469
|
-
|
|
1470
|
-
}
|
|
1471
|
-
if (!
|
|
1472
|
-
let
|
|
1473
|
-
return
|
|
1474
|
-
selectedEvents:
|
|
1475
|
-
parsedTrace:
|
|
1476
|
-
entityMapper:
|
|
1477
|
-
},
|
|
1471
|
+
let t = _t.findMainThread(e, r);
|
|
1472
|
+
t && (a = t.entries, It("TimelineRangeSummaryAiWidget found main thread. PID:", t.pid, "TID:", t.tid, "Number of entries:", t.entries.length));
|
|
1473
|
+
}
|
|
1474
|
+
if (!a) return It("Warning: could not find events for TimelineRangeSummaryAiWidget", e), null;
|
|
1475
|
+
let o = new Nn(), s = Jt.getOrCreate(r);
|
|
1476
|
+
return o.model = {
|
|
1477
|
+
selectedEvents: a,
|
|
1478
|
+
parsedTrace: r,
|
|
1479
|
+
entityMapper: s
|
|
1480
|
+
}, o.activeSelection = fn(n.min, n.max), o.refreshTree(!0), {
|
|
1478
1481
|
renderedWidget: M`
|
|
1479
1482
|
<devtools-widget
|
|
1480
1483
|
${P(dn, { data: {
|
|
1481
|
-
parsedTrace:
|
|
1482
|
-
events:
|
|
1484
|
+
parsedTrace: r,
|
|
1485
|
+
events: a,
|
|
1483
1486
|
isInAIWidget: !0,
|
|
1484
|
-
startTime:
|
|
1485
|
-
endTime:
|
|
1487
|
+
startTime: qt(n.min),
|
|
1488
|
+
endTime: qt(n.max),
|
|
1486
1489
|
thirdPartyTreeTemplate: M`${P(Nn, {
|
|
1487
1490
|
maxRows: 10,
|
|
1488
1491
|
isInAIWidget: !0,
|
|
1489
1492
|
model: {
|
|
1490
|
-
selectedEvents:
|
|
1491
|
-
parsedTrace:
|
|
1492
|
-
entityMapper:
|
|
1493
|
+
selectedEvents: o.selectedEvents ?? null,
|
|
1494
|
+
parsedTrace: r,
|
|
1495
|
+
entityMapper: o.entityMapper()
|
|
1493
1496
|
},
|
|
1494
|
-
activeSelection: { bounds:
|
|
1497
|
+
activeSelection: { bounds: n },
|
|
1495
1498
|
onBottomUpButtonClicked: (e) => {
|
|
1496
|
-
|
|
1499
|
+
t(new En(n, e ?? void 0));
|
|
1497
1500
|
}
|
|
1498
1501
|
})}`
|
|
1499
1502
|
} })}
|
|
1500
1503
|
></devtools-widget>`,
|
|
1501
|
-
revealable: new Vn(
|
|
1504
|
+
revealable: new Vn(n),
|
|
1502
1505
|
accessibleRevealLabel: N(F.revealPerformanceSummary),
|
|
1503
1506
|
title: N(F.performanceSummary),
|
|
1504
1507
|
jslogContext: "timeline-range-summary"
|
|
@@ -1519,7 +1522,7 @@ async function ri(e) {
|
|
|
1519
1522
|
async function ii(e) {
|
|
1520
1523
|
return {
|
|
1521
1524
|
renderedWidget: M`<devtools-widget class="timeline-event-summary-widget" ${P(() => On.makeEventWidget(e.data.event, e.data.parsedTrace))}></devtools-widget>`,
|
|
1522
|
-
revealable: new
|
|
1525
|
+
revealable: new He(e.data.event),
|
|
1523
1526
|
accessibleRevealLabel: N(F.revealTimelineEventSummary),
|
|
1524
1527
|
title: N(F.timelineEventSummary),
|
|
1525
1528
|
jslogContext: "timeline-event-summary-widget"
|
|
@@ -1528,7 +1531,7 @@ async function ii(e) {
|
|
|
1528
1531
|
async function ai(e) {
|
|
1529
1532
|
return {
|
|
1530
1533
|
renderedWidget: M`<devtools-widget class="network-request-general-headers-widget" ${P(() => ln.createGeneralHeadersView(e.data.request))}></devtools-widget>`,
|
|
1531
|
-
revealable:
|
|
1534
|
+
revealable: $t.tab(e.data.request, en.HEADERS_COMPONENT),
|
|
1532
1535
|
accessibleRevealLabel: N(F.revealNetworkRequest),
|
|
1533
1536
|
title: N(F.networkRequest),
|
|
1534
1537
|
jslogContext: "network-request-general-headers-widget"
|
|
@@ -1544,14 +1547,14 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1544
1547
|
addFolder: "Add folder",
|
|
1545
1548
|
selectProjectRoot: "Source code from the selected folder is sent to Google. This data may be seen by human reviewers to improve this feature.",
|
|
1546
1549
|
selectProjectRootNoLogging: "Source code from the selected folder is sent to Google. This data will not be used to improve Google’s AI models. Your organization may change these settings at any time."
|
|
1547
|
-
}, L =
|
|
1550
|
+
}, L = a, si = (e, t, n) => {
|
|
1548
1551
|
let r = e.folders.length > 0;
|
|
1549
|
-
p
|
|
1552
|
+
f(p`
|
|
1550
1553
|
<style>${oi}</style>
|
|
1551
1554
|
<h2 class="dialog-header">${L(I.selectFolder)}</h2>
|
|
1552
1555
|
<div class="main-content">
|
|
1553
1556
|
<div class="select-project-root">${e.selectProjectRootText}</div>
|
|
1554
|
-
${e.showAutomaticWorkspaceNudge ?
|
|
1557
|
+
${e.showAutomaticWorkspaceNudge ? p`
|
|
1555
1558
|
<!-- Hardcoding, because there is no 'getFormatLocalizedString' equivalent for 'lockedString' -->
|
|
1556
1559
|
<div>
|
|
1557
1560
|
Tip: provide a
|
|
@@ -1562,14 +1565,16 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1562
1565
|
>com.chrome.devtools.json</devtools-link>
|
|
1563
1566
|
file to automatically connect your project to DevTools.
|
|
1564
1567
|
</div>
|
|
1565
|
-
` :
|
|
1568
|
+
` : g}
|
|
1566
1569
|
</div>
|
|
1567
|
-
${r ?
|
|
1570
|
+
${r ? p`
|
|
1568
1571
|
<ul role="listbox" aria-label=${L(I.selectFolder)}
|
|
1569
1572
|
aria-activedescendant=${e.folders.length > 0 ? `option-${e.selectedIndex}` : ""}>
|
|
1570
|
-
${e.folders.map((t, n) =>
|
|
1573
|
+
${e.folders.map((t, n) => {
|
|
1574
|
+
let r = `option-${n}`;
|
|
1575
|
+
return p`
|
|
1571
1576
|
<li
|
|
1572
|
-
id=${
|
|
1577
|
+
id=${r}
|
|
1573
1578
|
@mousedown=${() => e.onProjectSelected(n)}
|
|
1574
1579
|
@keydown=${e.onListItemKeyDown}
|
|
1575
1580
|
class=${n === e.selectedIndex ? "selected" : ""}
|
|
@@ -1580,16 +1585,17 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1580
1585
|
>
|
|
1581
1586
|
<devtools-icon class="folder-icon" name="folder"></devtools-icon>
|
|
1582
1587
|
<span class="ellipsis">${t.name}</span>
|
|
1583
|
-
</li
|
|
1588
|
+
</li>`;
|
|
1589
|
+
})}
|
|
1584
1590
|
</ul>
|
|
1585
|
-
` :
|
|
1591
|
+
` : g}
|
|
1586
1592
|
<div class="buttons">
|
|
1587
1593
|
<devtools-button
|
|
1588
1594
|
title=${L(I.cancel)}
|
|
1589
1595
|
aria-label="Cancel"
|
|
1590
1596
|
.jslogContext=${"cancel"}
|
|
1591
1597
|
@click=${e.onCancelButtonClick}
|
|
1592
|
-
.variant=${
|
|
1598
|
+
.variant=${d.OUTLINED}>${L(I.cancel)}</devtools-button>
|
|
1593
1599
|
<devtools-button
|
|
1594
1600
|
class="add-folder-button"
|
|
1595
1601
|
title=${L(I.addFolder)}
|
|
@@ -1597,24 +1603,24 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1597
1603
|
.iconName=${"plus"}
|
|
1598
1604
|
.jslogContext=${"add-folder"}
|
|
1599
1605
|
@click=${e.onAddFolderButtonClick}
|
|
1600
|
-
.variant=${r ?
|
|
1601
|
-
${r ?
|
|
1606
|
+
.variant=${r ? d.TONAL : d.PRIMARY}>${L(I.addFolder)}</devtools-button>
|
|
1607
|
+
${r ? p`
|
|
1602
1608
|
<devtools-button
|
|
1603
1609
|
title=${L(I.select)}
|
|
1604
1610
|
aria-label="Select"
|
|
1605
1611
|
@click=${e.onSelectButtonClick}
|
|
1606
1612
|
.jslogContext=${"select"}
|
|
1607
|
-
.variant=${
|
|
1608
|
-
` :
|
|
1613
|
+
.variant=${d.PRIMARY}>${L(I.select)}</devtools-button>
|
|
1614
|
+
` : g}
|
|
1609
1615
|
</div>
|
|
1610
1616
|
`, n);
|
|
1611
|
-
}, ci = class e extends
|
|
1617
|
+
}, ci = class e extends ke {
|
|
1612
1618
|
#e;
|
|
1613
1619
|
#t = st.instance();
|
|
1614
1620
|
#n = 0;
|
|
1615
1621
|
#r;
|
|
1616
1622
|
#i;
|
|
1617
|
-
#a =
|
|
1623
|
+
#a = yt.instance();
|
|
1618
1624
|
#o = [];
|
|
1619
1625
|
constructor(e, t) {
|
|
1620
1626
|
super(), this.#r = e.onProjectSelected, this.#i = e.dialog, this.#d(), e.currentProject && (this.#n = Math.max(0, this.#o.findIndex((t) => t.project === e.currentProject))), this.#e = t ?? si, this.requestUpdate(), this.updateComplete.then(() => {
|
|
@@ -1622,10 +1628,10 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1622
1628
|
});
|
|
1623
1629
|
}
|
|
1624
1630
|
wasShown() {
|
|
1625
|
-
super.wasShown(), this.#t.addEventListener(
|
|
1631
|
+
super.wasShown(), this.#t.addEventListener(T.ProjectAdded, this.#f, this), this.#t.addEventListener(T.ProjectRemoved, this.#p, this);
|
|
1626
1632
|
}
|
|
1627
1633
|
willHide() {
|
|
1628
|
-
super.willHide(), this.#t.removeEventListener(
|
|
1634
|
+
super.willHide(), this.#t.removeEventListener(T.ProjectAdded, this.#f, this), this.#t.removeEventListener(T.ProjectRemoved, this.#p, this);
|
|
1629
1635
|
}
|
|
1630
1636
|
#s(e) {
|
|
1631
1637
|
switch (e.key) {
|
|
@@ -1647,9 +1653,7 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1647
1653
|
}), t?.focus({ preventScroll: !0 }), this.requestUpdate();
|
|
1648
1654
|
break;
|
|
1649
1655
|
}
|
|
1650
|
-
case "Enter":
|
|
1651
|
-
e.preventDefault(), this.#c();
|
|
1652
|
-
break;
|
|
1656
|
+
case "Enter": e.preventDefault(), this.#c();
|
|
1653
1657
|
}
|
|
1654
1658
|
}
|
|
1655
1659
|
#c() {
|
|
@@ -1657,7 +1661,7 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1657
1661
|
e.project ? (this.#i.hide(), this.#r(e.project)) : this.#u();
|
|
1658
1662
|
}
|
|
1659
1663
|
performUpdate() {
|
|
1660
|
-
let e =
|
|
1664
|
+
let e = w.aidaAvailability?.enterprisePolicyValue !== Ze.ALLOW_WITHOUT_LOGGING, t = {
|
|
1661
1665
|
folders: this.#o,
|
|
1662
1666
|
selectedIndex: this.#n,
|
|
1663
1667
|
selectProjectRootText: L(e ? I.selectProjectRoot : I.selectProjectRootNoLogging),
|
|
@@ -1677,7 +1681,7 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1677
1681
|
this.#e(t, void 0, this.contentElement);
|
|
1678
1682
|
}
|
|
1679
1683
|
async #l() {
|
|
1680
|
-
await
|
|
1684
|
+
await wt.instance().addFileSystem(), this.contentElement?.querySelector("[aria-label=\"Select\"]")?.shadowRoot?.querySelector("button")?.focus();
|
|
1681
1685
|
}
|
|
1682
1686
|
async #u() {
|
|
1683
1687
|
await this.#a.connectAutomaticFileSystem(!0) || this.#i.hide();
|
|
@@ -1686,19 +1690,19 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1686
1690
|
this.#o = [];
|
|
1687
1691
|
let e = this.#a.automaticFileSystem;
|
|
1688
1692
|
e && this.#o.push({
|
|
1689
|
-
name:
|
|
1693
|
+
name: l.extractName(e.root),
|
|
1690
1694
|
path: e.root,
|
|
1691
1695
|
automaticFileSystem: e
|
|
1692
1696
|
});
|
|
1693
|
-
let t = this.#t.projectsForType(
|
|
1697
|
+
let t = this.#t.projectsForType(it.FileSystem).filter((e) => e instanceof Mt && e.fileSystem().type() === Rt.WORKSPACE_PROJECT);
|
|
1694
1698
|
for (let n of t) {
|
|
1695
1699
|
if (e && n === this.#t.projectForFileSystemRoot(e.root)) {
|
|
1696
1700
|
this.#o[0].project = n;
|
|
1697
1701
|
continue;
|
|
1698
1702
|
}
|
|
1699
1703
|
this.#o.push({
|
|
1700
|
-
name:
|
|
1701
|
-
path:
|
|
1704
|
+
name: l.encodedPathToRawPathString(n.displayName()),
|
|
1705
|
+
path: l.urlToRawPathString(n.id(), Fe()),
|
|
1702
1706
|
project: n
|
|
1703
1707
|
});
|
|
1704
1708
|
}
|
|
@@ -1724,8 +1728,8 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1724
1728
|
this.requestUpdate();
|
|
1725
1729
|
}
|
|
1726
1730
|
static show(t, n) {
|
|
1727
|
-
let r = new
|
|
1728
|
-
r.setAriaLabel(I.selectFolderAccessibleLabel), r.setMaxContentSize(new
|
|
1731
|
+
let r = new ie("select-workspace");
|
|
1732
|
+
r.setAriaLabel(I.selectFolderAccessibleLabel), r.setMaxContentSize(new Je(384, 340)), r.setSizeBehavior(ae.SET_EXACT_WIDTH_MAX_HEIGHT), r.setDimmed(!0), new e({
|
|
1729
1733
|
dialog: r,
|
|
1730
1734
|
onProjectSelected: t,
|
|
1731
1735
|
currentProject: n
|
|
@@ -1757,27 +1761,27 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1757
1761
|
viewUploadedFiles: "View data sent to Google",
|
|
1758
1762
|
opensInNewTab: "(opens in a new tab)",
|
|
1759
1763
|
genericErrorMessage: "Changes couldn’t be applied to your workspace."
|
|
1760
|
-
}, z =
|
|
1764
|
+
}, z = a, ui = "https://support.google.com/legal/answer/13505487", { widget: di } = Me, fi = /* @__PURE__ */ function(e) {
|
|
1761
1765
|
return e.INITIAL = "initial", e.LOADING = "loading", e.SUCCESS = "success", e.ERROR = "error", e;
|
|
1762
1766
|
}({}), pi = (e, t, n) => {
|
|
1763
1767
|
if (!e.changeSummary && e.patchSuggestionState === "initial") return;
|
|
1764
|
-
t.changeRef = t.changeRef ??
|
|
1768
|
+
t.changeRef = t.changeRef ?? ve(), t.summaryRef = t.summaryRef ?? ve();
|
|
1765
1769
|
function r() {
|
|
1766
|
-
return e.sources ?
|
|
1770
|
+
return e.sources ? p`<devtools-link
|
|
1767
1771
|
class="link"
|
|
1768
1772
|
title="${R.viewUploadedFiles} ${R.opensInNewTab}"
|
|
1769
1773
|
href="data:text/plain;charset=utf-8,${encodeURIComponent(e.sources)}"
|
|
1770
1774
|
jslogcontext="files-used-in-patching">
|
|
1771
1775
|
${R.viewUploadedFiles}
|
|
1772
|
-
</devtools-link>` :
|
|
1776
|
+
</devtools-link>` : g;
|
|
1773
1777
|
}
|
|
1774
1778
|
function i() {
|
|
1775
|
-
return e.savedToDisk ?
|
|
1779
|
+
return e.savedToDisk ? p`
|
|
1776
1780
|
<devtools-icon class="green-bright-icon summary-badge" name="check-circle"></devtools-icon>
|
|
1777
1781
|
<span class="header-text">
|
|
1778
1782
|
${z(R.savedToDisk)}
|
|
1779
1783
|
</span>
|
|
1780
|
-
` : e.patchSuggestionState === "success" ?
|
|
1784
|
+
` : e.patchSuggestionState === "success" ? p`
|
|
1781
1785
|
<devtools-icon class="on-tonal-icon summary-badge" name="difference"></devtools-icon>
|
|
1782
1786
|
<span class="header-text">
|
|
1783
1787
|
${z(`File changes in ${e.projectName}`)}
|
|
@@ -1786,7 +1790,7 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1786
1790
|
class="arrow"
|
|
1787
1791
|
name="chevron-down"
|
|
1788
1792
|
></devtools-icon>
|
|
1789
|
-
` :
|
|
1793
|
+
` : p`
|
|
1790
1794
|
<devtools-icon class="on-tonal-icon summary-badge" name="pen-spark"></devtools-icon>
|
|
1791
1795
|
<span class="header-text">
|
|
1792
1796
|
${z(R.unsavedChanges)}
|
|
@@ -1798,21 +1802,21 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1798
1802
|
`;
|
|
1799
1803
|
}
|
|
1800
1804
|
function a() {
|
|
1801
|
-
return !e.changeSummary && e.patchSuggestionState === "initial" || e.savedToDisk ?
|
|
1805
|
+
return !e.changeSummary && e.patchSuggestionState === "initial" || e.savedToDisk ? g : e.patchSuggestionState === "success" ? p`${di(Wn, {
|
|
1802
1806
|
workspaceDiff: e.workspaceDiff,
|
|
1803
1807
|
ignoredUrls: ["inspector://"]
|
|
1804
|
-
})}` :
|
|
1808
|
+
})}` : p`<devtools-code-block
|
|
1805
1809
|
.code=${e.changeSummary ?? ""}
|
|
1806
1810
|
.codeLang=${"css"}
|
|
1807
1811
|
.displayNotice=${!0}
|
|
1808
1812
|
></devtools-code-block>
|
|
1809
|
-
${e.patchSuggestionState === "error" ?
|
|
1813
|
+
${e.patchSuggestionState === "error" ? p`<div class="error-container">
|
|
1810
1814
|
<devtools-icon name="cross-circle-filled"></devtools-icon>${z(R.genericErrorMessage)} ${r()}
|
|
1811
|
-
</div>` :
|
|
1815
|
+
</div>` : g}`;
|
|
1812
1816
|
}
|
|
1813
1817
|
function o() {
|
|
1814
|
-
if (e.savedToDisk) return
|
|
1815
|
-
if (e.patchSuggestionState === "success") return
|
|
1818
|
+
if (e.savedToDisk) return g;
|
|
1819
|
+
if (e.patchSuggestionState === "success") return p`
|
|
1816
1820
|
<div class="footer">
|
|
1817
1821
|
<div class="left-side">
|
|
1818
1822
|
<devtools-link class="link disclaimer-link" href="https://support.google.com/legal/answer/13505487" jslogcontext="code-disclaimer">
|
|
@@ -1824,64 +1828,64 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1824
1828
|
<devtools-button
|
|
1825
1829
|
@click=${e.onDiscard}
|
|
1826
1830
|
.jslogContext=${"patch-widget.discard"}
|
|
1827
|
-
.variant=${
|
|
1831
|
+
.variant=${d.OUTLINED}>
|
|
1828
1832
|
${z(R.discard)}
|
|
1829
1833
|
</devtools-button>
|
|
1830
1834
|
<devtools-button
|
|
1831
1835
|
@click=${e.onSaveAll}
|
|
1832
1836
|
.jslogContext=${"patch-widget.save-all"}
|
|
1833
|
-
.variant=${
|
|
1837
|
+
.variant=${d.PRIMARY}>
|
|
1834
1838
|
${z(R.saveAll)}
|
|
1835
1839
|
</devtools-button>
|
|
1836
1840
|
</div>
|
|
1837
1841
|
</div>
|
|
1838
1842
|
`;
|
|
1839
1843
|
let n = e.projectType === "automaticDisconnected" ? "folder-off" : e.projectType === "automaticConnected" ? "folder-asterisk" : "folder";
|
|
1840
|
-
return
|
|
1844
|
+
return p`
|
|
1841
1845
|
<div class="footer">
|
|
1842
|
-
${e.projectName ?
|
|
1843
|
-
<div class="change-workspace" jslog=${
|
|
1846
|
+
${e.projectName ? p`
|
|
1847
|
+
<div class="change-workspace" jslog=${S("patch-widget.workspace")}>
|
|
1844
1848
|
<devtools-icon .name=${n}></devtools-icon>
|
|
1845
1849
|
<span class="folder-name" title=${e.projectPath}>${e.projectName}</span>
|
|
1846
|
-
${e.onChangeWorkspaceClick ?
|
|
1850
|
+
${e.onChangeWorkspaceClick ? p`
|
|
1847
1851
|
<devtools-button
|
|
1848
1852
|
@click=${e.onChangeWorkspaceClick}
|
|
1849
1853
|
.jslogContext=${"change-workspace"}
|
|
1850
|
-
.variant=${
|
|
1854
|
+
.variant=${d.TEXT}
|
|
1851
1855
|
.title=${z(R.changeRootFolder)}
|
|
1852
1856
|
.disabled=${e.patchSuggestionState === "loading"}
|
|
1853
|
-
${
|
|
1857
|
+
${we(t.changeRef)}
|
|
1854
1858
|
>${z(R.change)}</devtools-button>
|
|
1855
|
-
` :
|
|
1859
|
+
` : g}
|
|
1856
1860
|
</div>
|
|
1857
|
-
` :
|
|
1861
|
+
` : g}
|
|
1858
1862
|
<div class="apply-to-workspace-container" aria-live="polite">
|
|
1859
|
-
${e.patchSuggestionState === "loading" ?
|
|
1860
|
-
<div class="loading-text-container" jslog=${
|
|
1863
|
+
${e.patchSuggestionState === "loading" ? p`
|
|
1864
|
+
<div class="loading-text-container" jslog=${S("patch-widget.apply-to-workspace-loading")}>
|
|
1861
1865
|
<devtools-spinner></devtools-spinner>
|
|
1862
1866
|
<span>
|
|
1863
1867
|
${z(R.applyingToWorkspace)}
|
|
1864
1868
|
</span>
|
|
1865
1869
|
</div>
|
|
1866
|
-
` :
|
|
1870
|
+
` : p`
|
|
1867
1871
|
<devtools-button
|
|
1868
1872
|
@click=${e.onApplyToWorkspace}
|
|
1869
1873
|
.jslogContext=${"patch-widget.apply-to-workspace"}
|
|
1870
|
-
.variant=${
|
|
1874
|
+
.variant=${d.OUTLINED}>
|
|
1871
1875
|
${z(R.applyToWorkspace)}
|
|
1872
1876
|
</devtools-button>
|
|
1873
1877
|
`}
|
|
1874
|
-
${e.patchSuggestionState === "loading" ?
|
|
1878
|
+
${e.patchSuggestionState === "loading" ? p`<devtools-button
|
|
1875
1879
|
@click=${e.onCancel}
|
|
1876
1880
|
.jslogContext=${"cancel"}
|
|
1877
|
-
.variant=${
|
|
1881
|
+
.variant=${d.OUTLINED}>
|
|
1878
1882
|
${z(R.cancel)}
|
|
1879
|
-
</devtools-button>` :
|
|
1883
|
+
</devtools-button>` : g}
|
|
1880
1884
|
<devtools-button
|
|
1881
1885
|
aria-details="info-tooltip"
|
|
1882
1886
|
.jslogContext=${"patch-widget.info-tooltip-trigger"}
|
|
1883
1887
|
.iconName=${"info"}
|
|
1884
|
-
.variant=${
|
|
1888
|
+
.variant=${d.ICON}
|
|
1885
1889
|
></devtools-button>
|
|
1886
1890
|
<devtools-tooltip
|
|
1887
1891
|
id="info-tooltip"
|
|
@@ -1892,7 +1896,7 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1892
1896
|
<button
|
|
1893
1897
|
class="link tooltip-link"
|
|
1894
1898
|
role="link"
|
|
1895
|
-
jslog=${
|
|
1899
|
+
jslog=${Xe("open-ai-settings").track({ click: !0 })}
|
|
1896
1900
|
@click=${e.onLearnMoreTooltipClick}
|
|
1897
1901
|
>${z(R.learnMore)}</button>
|
|
1898
1902
|
</div>
|
|
@@ -1900,25 +1904,26 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1900
1904
|
</div>
|
|
1901
1905
|
</div>`;
|
|
1902
1906
|
}
|
|
1903
|
-
|
|
1907
|
+
let s = e.savedToDisk ? p`
|
|
1904
1908
|
<div class="change-summary saved-to-disk" role="status" aria-live="polite">
|
|
1905
1909
|
<div class="header-container">
|
|
1906
1910
|
${i()}
|
|
1907
1911
|
</div>
|
|
1908
|
-
</div>` :
|
|
1909
|
-
<details class="change-summary" jslog=${
|
|
1910
|
-
<summary class="header-container" ${
|
|
1912
|
+
</div>` : p`
|
|
1913
|
+
<details class="change-summary" jslog=${S("patch-widget")}>
|
|
1914
|
+
<summary class="header-container" ${we(t.summaryRef)}>
|
|
1911
1915
|
${i()}
|
|
1912
1916
|
</summary>
|
|
1913
1917
|
${a()}
|
|
1914
1918
|
${o()}
|
|
1915
1919
|
</details>
|
|
1916
|
-
|
|
1917
|
-
|
|
1920
|
+
`;
|
|
1921
|
+
f(s, n);
|
|
1922
|
+
}, mi = class extends Be {
|
|
1918
1923
|
changeSummary = "";
|
|
1919
1924
|
changeManager;
|
|
1920
|
-
#e =
|
|
1921
|
-
#t =
|
|
1925
|
+
#e = s.instance().createSetting("ai-assistance-patching-fre-completed", !1);
|
|
1926
|
+
#t = s.instance().createSetting("ai-assistance-patching-selected-project-id", "");
|
|
1922
1927
|
#n;
|
|
1923
1928
|
#r = {};
|
|
1924
1929
|
#i;
|
|
@@ -1930,21 +1935,21 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1930
1935
|
#u = "initial";
|
|
1931
1936
|
#d = Un();
|
|
1932
1937
|
#f = st.instance();
|
|
1933
|
-
#p =
|
|
1938
|
+
#p = yt.instance().automaticFileSystem;
|
|
1934
1939
|
#m = !1;
|
|
1935
1940
|
#h = null;
|
|
1936
1941
|
constructor(e, t = pi, n) {
|
|
1937
|
-
super(e), this.#i = n?.aidaClient ?? new
|
|
1942
|
+
super(e), this.#i = n?.aidaClient ?? new ye(), this.#l = w.aidaAvailability?.enterprisePolicyValue !== Ze.ALLOW_WITHOUT_LOGGING, this.#n = t, this.requestUpdate();
|
|
1938
1943
|
}
|
|
1939
1944
|
#g() {
|
|
1940
1945
|
x.instance().showView("chrome-ai");
|
|
1941
1946
|
}
|
|
1942
1947
|
#_() {
|
|
1943
1948
|
return this.#o ? {
|
|
1944
|
-
projectName:
|
|
1945
|
-
projectPath:
|
|
1949
|
+
projectName: l.encodedPathToRawPathString(this.#o.displayName()),
|
|
1950
|
+
projectPath: l.urlToRawPathString(this.#o.id(), Fe())
|
|
1946
1951
|
} : this.#p ? {
|
|
1947
|
-
projectName:
|
|
1952
|
+
projectName: l.extractName(this.#p.root),
|
|
1948
1953
|
projectPath: this.#p.root
|
|
1949
1954
|
} : {
|
|
1950
1955
|
projectName: "",
|
|
@@ -1953,7 +1958,7 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1953
1958
|
}
|
|
1954
1959
|
#v() {
|
|
1955
1960
|
let e = this.#p ? this.#f.projectForFileSystemRoot(this.#p.root) : null;
|
|
1956
|
-
return this.#f.projectsForType(
|
|
1961
|
+
return this.#f.projectsForType(it.FileSystem).filter((e) => e instanceof Mt && e.fileSystem().type() === Rt.WORKSPACE_PROJECT).filter((t) => t !== e).length > 0;
|
|
1957
1962
|
}
|
|
1958
1963
|
#y(e) {
|
|
1959
1964
|
return this.#p && this.#p.root === e ? this.#o ? "automaticConnected" : "automaticDisconnected" : this.#o ? "none" : "regular";
|
|
@@ -1981,14 +1986,14 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
1981
1986
|
}, this.#r, this.contentElement);
|
|
1982
1987
|
}
|
|
1983
1988
|
wasShown() {
|
|
1984
|
-
super.wasShown(), this.#x(), hi() && (this.#f.addEventListener(
|
|
1989
|
+
super.wasShown(), this.#x(), hi() && (this.#f.addEventListener(T.ProjectAdded, this.#S, this), this.#f.addEventListener(T.ProjectRemoved, this.#C, this));
|
|
1985
1990
|
}
|
|
1986
1991
|
willHide() {
|
|
1987
|
-
super.willHide(), this.#m = !1, hi() && (this.#f.removeEventListener(
|
|
1992
|
+
super.willHide(), this.#m = !1, hi() && (this.#f.removeEventListener(T.ProjectAdded, this.#S, this), this.#f.removeEventListener(T.ProjectRemoved, this.#C, this));
|
|
1988
1993
|
}
|
|
1989
1994
|
async #b() {
|
|
1990
1995
|
if (this.#e.get()) return !0;
|
|
1991
|
-
let e =
|
|
1996
|
+
let e = ft(), t = await Dt.show({
|
|
1992
1997
|
header: {
|
|
1993
1998
|
iconName: e,
|
|
1994
1999
|
text: z(R.freDisclaimerHeader)
|
|
@@ -2004,7 +2009,7 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
2004
2009
|
},
|
|
2005
2010
|
{
|
|
2006
2011
|
iconName: "warning",
|
|
2007
|
-
content:
|
|
2012
|
+
content: p`<devtools-link
|
|
2008
2013
|
href=${ui}
|
|
2009
2014
|
class="link devtools-link"
|
|
2010
2015
|
jslogcontext="code-snippets-explainer.patch-widget"
|
|
@@ -2038,7 +2043,7 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
2038
2043
|
}, this.#o);
|
|
2039
2044
|
}
|
|
2040
2045
|
async #T() {
|
|
2041
|
-
hi() && await this.#b() && (this.#o ? await this.#D() : this.#p ? (this.#m = !0, await
|
|
2046
|
+
hi() && await this.#b() && (this.#o ? await this.#D() : this.#p ? (this.#m = !0, await yt.instance().connectAutomaticFileSystem(!0)) : this.#w({ applyPatch: !0 }));
|
|
2042
2047
|
}
|
|
2043
2048
|
get #E() {
|
|
2044
2049
|
return this.#d.modifiedUISourceCodes().filter((e) => !e.url().startsWith("inspector://"));
|
|
@@ -2050,7 +2055,7 @@ var oi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
2050
2055
|
let { response: t, processedFiles: n } = await this.#j(e);
|
|
2051
2056
|
t && "rpcId" in t && t.rpcId && (this.#h = t.rpcId);
|
|
2052
2057
|
let r = this.#E.length > 0;
|
|
2053
|
-
t?.type ===
|
|
2058
|
+
this.#u = t?.type === E.ANSWER && r ? "success" : t?.type === E.ERROR && t.error === D.ABORT ? "initial" : "error", this.#s = `Filenames in ${this.#o?.displayName()}.
|
|
2054
2059
|
Files:
|
|
2055
2060
|
${n.map((e) => `* ${e}`).join("\n")}`, this.requestUpdate(), this.#u === "success" && this.updateComplete.then(() => {
|
|
2056
2061
|
this.#r.summaryRef?.value?.focus();
|
|
@@ -2058,7 +2063,7 @@ ${n.map((e) => `* ${e}`).join("\n")}`, this.requestUpdate(), this.#u === "succes
|
|
|
2058
2063
|
}
|
|
2059
2064
|
#O() {
|
|
2060
2065
|
for (let e of this.#E) e.resetWorkingCopy();
|
|
2061
|
-
this.#u = "initial", this.#s = void 0, this.changeManager?.popStashedChanges(), this.#A(
|
|
2066
|
+
this.#u = "initial", this.#s = void 0, this.changeManager?.popStashedChanges(), this.#A(De.NEGATIVE), this.requestUpdate(), this.updateComplete.then(() => {
|
|
2062
2067
|
this.#r.changeRef?.value?.focus();
|
|
2063
2068
|
});
|
|
2064
2069
|
}
|
|
@@ -2066,7 +2071,7 @@ ${n.map((e) => `* ${e}`).join("\n")}`, this.requestUpdate(), this.#u === "succes
|
|
|
2066
2071
|
for (let e of this.#E) e.commitWorkingCopy();
|
|
2067
2072
|
this.changeManager?.stashChanges().then(() => {
|
|
2068
2073
|
this.changeManager?.dropStashedChanges();
|
|
2069
|
-
}), this.#c = !0, this.#A(
|
|
2074
|
+
}), this.#c = !0, this.#A(De.POSITIVE), this.requestUpdate();
|
|
2070
2075
|
}
|
|
2071
2076
|
#A(e) {
|
|
2072
2077
|
this.#h && this.#i.registerClientEvent({
|
|
@@ -2078,7 +2083,7 @@ ${n.map((e) => `* ${e}`).join("\n")}`, this.requestUpdate(), this.#u === "succes
|
|
|
2078
2083
|
async #j(e) {
|
|
2079
2084
|
if (!this.#o) throw Error("Project does not exist");
|
|
2080
2085
|
this.#a = new AbortController();
|
|
2081
|
-
let { responses: t, processedFiles: n } = await new
|
|
2086
|
+
let { responses: t, processedFiles: n } = await new At({
|
|
2082
2087
|
aidaClient: this.#i,
|
|
2083
2088
|
serverSideLoggingEnabled: !1,
|
|
2084
2089
|
project: this.#o
|
|
@@ -2090,20 +2095,20 @@ ${n.map((e) => `* ${e}`).join("\n")}`, this.requestUpdate(), this.#u === "succes
|
|
|
2090
2095
|
}
|
|
2091
2096
|
};
|
|
2092
2097
|
function hi() {
|
|
2093
|
-
return !!
|
|
2098
|
+
return !!w.devToolsFreestyler?.patching;
|
|
2094
2099
|
}
|
|
2095
2100
|
window.aiAssistanceTestPatchPrompt = async (e, t, n) => {
|
|
2096
2101
|
if (!hi()) return;
|
|
2097
|
-
let r = Un(), i = st.instance().projectsForType(
|
|
2102
|
+
let r = Un(), i = st.instance().projectsForType(it.FileSystem).filter((e) => e instanceof Mt && e.fileSystem().type() === Rt.WORKSPACE_PROJECT).find((t) => t.displayName() === e);
|
|
2098
2103
|
if (!i) throw Error("project not found");
|
|
2099
|
-
let a = new
|
|
2100
|
-
aidaClient:
|
|
2104
|
+
let a = new ye(), o = new At({
|
|
2105
|
+
aidaClient: a,
|
|
2101
2106
|
serverSideLoggingEnabled: !1,
|
|
2102
2107
|
project: i
|
|
2103
2108
|
});
|
|
2104
2109
|
try {
|
|
2105
|
-
let e = [], { processedFiles: r, responses: i } = await
|
|
2106
|
-
if (i.at(-1)?.type ===
|
|
2110
|
+
let e = [], { processedFiles: r, responses: i } = await o.applyChanges(t);
|
|
2111
|
+
if (i.at(-1)?.type === E.ERROR) return {
|
|
2107
2112
|
error: "failed to patch",
|
|
2108
2113
|
debugInfo: {
|
|
2109
2114
|
responses: i,
|
|
@@ -2116,7 +2121,7 @@ window.aiAssistanceTestPatchPrompt = async (e, t, n) => {
|
|
|
2116
2121
|
e.push(`Patched ${t} that was not expected`);
|
|
2117
2122
|
break;
|
|
2118
2123
|
}
|
|
2119
|
-
let i = await
|
|
2124
|
+
let i = await o.agentProject.readFile(t);
|
|
2120
2125
|
if (!i) throw Error(`${t} has no content`);
|
|
2121
2126
|
for (let n of r.matches) i.match(new RegExp(n, "gm")) || e.push({
|
|
2122
2127
|
message: `Did not match ${n} in ${t}`,
|
|
@@ -2147,7 +2152,7 @@ window.aiAssistanceTestPatchPrompt = async (e, t, n) => {
|
|
|
2147
2152
|
var gi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n* {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n}\n\n:host {\n display: flex;\n flex-direction: column;\n}\n\n.input-form {\n display: flex;\n flex-direction: column;\n padding: 0 var(--sys-size-5) var(--sys-size-5) var(--sys-size-5);\n max-width: var(--sys-size-36);\n background-color: var(--sys-color-cdt-base-container);\n width: 100%;\n}\n\n.chat-readonly-container {\n display: flex;\n width: 100%;\n max-width: var(--sys-size-36);\n justify-content: center;\n align-items: center;\n background-color: var(--sys-color-surface3);\n font: var(--sys-typescale-body4-regular);\n padding: var(--sys-size-5) 0;\n border-radius: var(--sys-shape-corner-medium-small);\n margin-bottom: var(--sys-size-5);\n color: var(--sys-color-on-surface-subtle);\n}\n\n.chat-input-container {\n width: 100%;\n display: flex;\n position: relative;\n flex-direction: column;\n border: 1px solid var(--sys-color-neutral-outline);\n border-radius: var(--sys-shape-corner-small);\n\n &:focus-within {\n outline: 1px solid var(--sys-color-primary);\n border-color: var(--sys-color-primary);\n }\n\n &.disabled {\n background-color: var(--sys-color-state-disabled-container);\n border-color: transparent;\n\n & .chat-input-disclaimer {\n border-color: var(--sys-color-state-disabled);\n }\n }\n\n &.single-line-layout {\n flex-direction: row;\n justify-content: space-between;\n\n .chat-input {\n flex-shrink: 1;\n padding: var(--sys-size-4);\n }\n\n .chat-input-actions {\n flex-shrink: 0;\n padding-block: 0;\n align-items: flex-end;\n padding-bottom: var(--sys-size-1);\n }\n }\n\n & .image-input-container {\n margin: var(--sys-size-3) var(--sys-size-4) 0;\n max-width: 100%;\n width: fit-content;\n position: relative;\n\n devtools-button {\n position: absolute;\n top: calc(-1 * var(--sys-size-2));\n right: calc(-1 * var(--sys-size-3));\n border-radius: var(--sys-shape-corner-full);\n border: 1px solid var(--sys-color-neutral-outline);\n background-color: var(--sys-color-cdt-base-container);\n }\n\n img {\n max-height: var(--sys-size-18);\n max-width: 100%;\n border: 1px solid var(--sys-color-neutral-outline);\n border-radius: var(--sys-shape-corner-small);\n }\n\n .loading {\n margin: var(--sys-size-4) 0;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n height: var(--sys-size-18);\n width: var(--sys-size-19);\n background-color: var(--sys-color-surface3);\n border-radius: var(--sys-shape-corner-small);\n border: 1px solid var(--sys-color-neutral-outline);\n\n devtools-spinner {\n color: var(--sys-color-state-disabled);\n }\n }\n }\n\n & .chat-input-disclaimer-container {\n display: flex;\n align-items: center;\n padding-right: var(--sys-size-3);\n flex-shrink: 0;\n }\n\n & .chat-input-disclaimer {\n display: flex;\n justify-content: center;\n align-items: center;\n font: var(--sys-typescale-body5-regular);\n border-right: 1px solid var(--sys-color-divider);\n padding-right: 8px;\n\n &.hide-divider {\n border-right: none;\n }\n }\n\n /*\n Hide the inline disclaimer on narrow widths (< 400px) because space is limited\n and the disclaimer is shown in the footer instead for this case.\n */\n @container --chat-ui-container (width < 400px) {\n & .chat-input-disclaimer-container {\n display: none;\n }\n }\n}\n\n.chat-input {\n scrollbar-width: none;\n field-sizing: content;\n resize: none;\n width: 100%;\n max-height: 84px; /* 4 rows */\n border: 0;\n border-radius: var(--sys-shape-corner-small);\n font: var(--sys-typescale-body4-regular);\n line-height: 18px;\n min-height: var(--sys-size-11);\n color: var(--sys-color-on-surface);\n background-color: var(--sys-color-cdt-base-container);\n padding: var(--sys-size-4) var(--sys-size-4) var(--sys-size-3)\n var(--sys-size-4);\n\n &::placeholder {\n opacity: 60%;\n }\n\n &:focus-visible {\n outline: 0;\n }\n\n &:disabled {\n color: var(--sys-color-state-disabled);\n background-color: transparent;\n border-color: transparent;\n\n &::placeholder {\n color: var(--sys-color-on-surface-subtle);\n opacity: 100%;\n }\n }\n}\n\n.chat-input-actions {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n padding-left: var(--sys-size-4);\n padding-right: var(--sys-size-2);\n gap: var(--sys-size-6);\n padding-bottom: var(--sys-size-2);\n\n & .chat-input-actions-left {\n flex: 1 1 0;\n min-width: 0;\n }\n\n & .chat-input-actions-right {\n flex-shrink: 0;\n display: flex;\n\n & .start-new-chat-button {\n padding-bottom: var(--sys-size-2);\n padding-right: var(--sys-size-3);\n }\n }\n}\n\n.chat-inline-button {\n padding-left: 3px;\n}\n\n.select-element {\n display: flex;\n gap: var(--sys-size-3);\n align-items: center;\n\n .resource-link {\n display: flex;\n background-color: var(--sys-color-cdt-base-container);\n align-items: center;\n cursor: pointer;\n padding: var(--sys-size-2) var(--sys-size-3);\n font: var(--sys-typescale-body5-regular);\n border: var(--sys-size-1) solid var(--sys-color-divider);\n border-radius: var(--sys-shape-corner-extra-small);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n /*\n Allow the link/task item to shrink below its intrinsic minimum width in the flex container,\n enabling text-overflow ellipsis to work correctly.\n */\n min-width: 0;\n line-height: 1;\n\n & .title {\n vertical-align: middle;\n /* Fixed italic text getting cut off */\n padding-right: var(--sys-size-2);\n font: var(--sys-typescale-body5-regular);\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n & .remove-context,\n & .add-context {\n vertical-align: middle;\n }\n\n &:focus-visible {\n outline: 2px solid var(--sys-color-state-focus-ring);\n }\n\n devtools-icon,\n devtools-file-source-icon {\n display: inline-flex;\n vertical-align: middle;\n min-width: var(--sys-size-7);\n min-height: var(--sys-size-7);\n }\n\n &.disabled {\n border-style: dashed;\n border-color: var(--sys-color-neutral-outline);\n color: var(--sys-color-on-surface-light);\n\n devtools-icon,\n devtools-file-source-icon {\n /* Override devtools-file-source-icon */\n --override-file-source-icon-color: var(\n --sys-color-on-surface-light-graphics\n );\n /* Some icons set their style attribute and we need to override it */\n /* stylelint-disable-next-line declaration-no-important */\n color: var(--sys-color-on-surface-light-graphics) !important;\n }\n\n .title {\n color: var(--sys-color-on-surface-light);\n font-style: italic;\n }\n }\n\n /*\n CSS styling for `network-override-marker` is similar to\n https://source.chromium.org/chromium/chromium/src/+/main:third_party/devtools-frontend/src/front_end/panels/network/networkLogView.css;l=379.\n There is a difference in `left` and `top` values to make sure\n it is placed correctly for the network icon in assistance panel.\n */\n .network-override-marker {\n position: relative;\n float: left;\n }\n\n .network-override-marker::before {\n content: var(--image-file-empty);\n width: var(--sys-size-4);\n height: var(--sys-size-4);\n border-radius: 50%;\n outline: var(--sys-size-1) solid var(--icon-gap-focus-selected);\n left: 11px;\n position: absolute;\n top: 13px;\n z-index: 1;\n background-color: var(--sys-color-purple-bright);\n }\n\n .image.icon {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n vertical-align: middle;\n margin-right: var(--sys-size-3);\n\n img {\n max-width: var(--sys-size-7);\n max-height: var(--sys-size-7);\n }\n }\n }\n}\n\n.link {\n color: var(--text-link);\n text-decoration: underline;\n cursor: pointer;\n}\n\nbutton.link {\n border: none;\n background: none;\n font: inherit;\n\n &:focus-visible {\n outline: var(--sys-size-2) solid var(--sys-color-state-focus-ring);\n outline-offset: 0;\n border-radius: var(--sys-shape-corner-extra-small);\n }\n}\n\n.floaty {\n font: var(--sys-typescale-body4);\n color: var(--sys-color-on-surface);\n user-select: none;\n padding: 0;\n margin: 0;\n list-style-type: none;\n display: flex;\n flex-flow: row wrap;\n align-items: flex-end;\n gap: var(--sys-size-2);\n margin-bottom: var(--sys-size-2);\n\n li {\n background: var(--sys-color-surface3);\n border-radius: var(--sys-shape-corner-small);\n border: 1px solid var(--sys-color-neutral-outline);\n padding: var(--sys-size-2) var(--sys-size-3);\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: var(--sys-size-2);\n min-height: var(--sys-size-8);\n }\n\n .context-item {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: var(--sys-size-2);\n }\n\n .open-floaty {\n padding: 0;\n border: none;\n\n /* To align with other chips */\n margin-bottom: 1px;\n }\n}\n\n.chat-input-footer {\n display: flex;\n justify-content: center;\n padding-block: var(--sys-size-3);\n font: var(--sys-typescale-body5-regular);\n border-top: 1px solid var(--sys-color-divider);\n text-wrap: balance;\n text-align: center;\n width: 100%;\n\n /*\n The footer (for active conversations) is hidden by default on wider screens\n because the disclaimer is shown inline within the chat input actions. Show it only on narrow widths (< 400px).\n */\n &:not(.is-read-only) {\n display: none;\n border: none;\n\n @container --chat-ui-container (width < 400px) {\n display: flex;\n }\n }\n}\n", _i = /* @__PURE__ */ e({
|
|
2148
2153
|
ChatInput: () => ji,
|
|
2149
2154
|
DEFAULT_VIEW: () => Ai
|
|
2150
|
-
}), { html: B, Directives: { createRef: vi, ref: yi } } =
|
|
2155
|
+
}), { html: B, Directives: { createRef: vi, ref: yi } } = ue, { widget: bi } = Me, xi = {
|
|
2151
2156
|
inputTextAriaDescription: "You can also use one of the suggested prompts above to start your conversation",
|
|
2152
2157
|
revealContextDescription: "Reveal the selected context item in DevTools",
|
|
2153
2158
|
learnAbout: "Learn about AI in DevTools"
|
|
@@ -2169,17 +2174,17 @@ var gi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
2169
2174
|
removeContextPerfInsight: "Remove performance insight from context",
|
|
2170
2175
|
removeContextStorage: "Remove storage from context",
|
|
2171
2176
|
removeContext: "Remove from context"
|
|
2172
|
-
}, Si =
|
|
2177
|
+
}, Si = i("panels/ai_assistance/components/ChatInput.ts", xi), Ci = n.bind(void 0, Si), H = a, wi = 80, Ti = "image/jpeg", Ei = 100, Di = "relevant-data-link-chat", Oi = "relevant-data-link-footer";
|
|
2173
2178
|
function ki(e) {
|
|
2174
|
-
return e instanceof
|
|
2179
|
+
return e instanceof Ot ? H(V.removeContextFile) : e instanceof gt ? H(V.removeContextElement) : e instanceof lt ? H(V.removeContextRequest) : e instanceof Lt ? H(V.removeContextPerfInsight) : e instanceof Ct ? H(V.removeContextStorage) : H(V.removeContext);
|
|
2175
2180
|
}
|
|
2176
2181
|
var Ai = (e, t, n) => {
|
|
2177
|
-
let r =
|
|
2182
|
+
let r = m({
|
|
2178
2183
|
"chat-input-container": !0,
|
|
2179
2184
|
"single-line-layout": !e.context,
|
|
2180
2185
|
disabled: e.isTextInputDisabled
|
|
2181
2186
|
}), i = (t) => B`
|
|
2182
|
-
<div class=${
|
|
2187
|
+
<div class=${m({
|
|
2183
2188
|
"chat-input-disclaimer": !0,
|
|
2184
2189
|
"hide-divider": !e.isLoading && e.blockedByCrossOrigin
|
|
2185
2190
|
})}>
|
|
@@ -2187,7 +2192,7 @@ var Ai = (e, t, n) => {
|
|
|
2187
2192
|
class="link"
|
|
2188
2193
|
role="link"
|
|
2189
2194
|
aria-details=${t}
|
|
2190
|
-
jslog=${
|
|
2195
|
+
jslog=${Xe("open-ai-settings").track({ click: !0 })}
|
|
2191
2196
|
@click=${(e) => {
|
|
2192
2197
|
e.preventDefault(), x.instance().showView("chrome-ai");
|
|
2193
2198
|
}}
|
|
@@ -2200,7 +2205,7 @@ var Ai = (e, t, n) => {
|
|
|
2200
2205
|
<button
|
|
2201
2206
|
class="link tooltip-link"
|
|
2202
2207
|
role="link"
|
|
2203
|
-
jslog=${
|
|
2208
|
+
jslog=${Xe("open-ai-settings").track({ click: !0 })}
|
|
2204
2209
|
@click=${() => {
|
|
2205
2210
|
x.instance().showView("chrome-ai");
|
|
2206
2211
|
}}>${Ci(xi.learnAbout)}
|
|
@@ -2208,13 +2213,13 @@ var Ai = (e, t, n) => {
|
|
|
2208
2213
|
</div></devtools-tooltip>
|
|
2209
2214
|
</div>
|
|
2210
2215
|
`;
|
|
2211
|
-
|
|
2212
|
-
<style>${
|
|
2216
|
+
f(B`
|
|
2217
|
+
<style>${tn}</style>
|
|
2213
2218
|
<style>${gi}</style>
|
|
2214
2219
|
${e.isReadOnly ? B`
|
|
2215
2220
|
<div
|
|
2216
2221
|
class="chat-readonly-container"
|
|
2217
|
-
jslog=${
|
|
2222
|
+
jslog=${S("read-only")}
|
|
2218
2223
|
>
|
|
2219
2224
|
<span>${H(V.pastConversation)}</span>
|
|
2220
2225
|
<devtools-button
|
|
@@ -2222,7 +2227,7 @@ var Ai = (e, t, n) => {
|
|
|
2222
2227
|
class="chat-inline-button"
|
|
2223
2228
|
@click=${e.onNewConversation}
|
|
2224
2229
|
.data=${{
|
|
2225
|
-
variant:
|
|
2230
|
+
variant: d.TEXT,
|
|
2226
2231
|
title: H(V.startNewChat),
|
|
2227
2232
|
jslogContext: "start-new-chat"
|
|
2228
2233
|
}}
|
|
@@ -2236,8 +2241,8 @@ var Ai = (e, t, n) => {
|
|
|
2236
2241
|
aria-label=${H(V.removeImageInputButtonTitle)}
|
|
2237
2242
|
@click=${e.onRemoveImageInput}
|
|
2238
2243
|
.data=${{
|
|
2239
|
-
variant:
|
|
2240
|
-
size:
|
|
2244
|
+
variant: d.ICON,
|
|
2245
|
+
size: h.MICRO,
|
|
2241
2246
|
iconName: "cross",
|
|
2242
2247
|
title: H(V.removeImageInputButtonTitle)
|
|
2243
2248
|
}}
|
|
@@ -2247,7 +2252,7 @@ var Ai = (e, t, n) => {
|
|
|
2247
2252
|
<devtools-spinner></devtools-spinner>
|
|
2248
2253
|
</div>` : B`
|
|
2249
2254
|
<img src="data:${e.imageInput.mimeType};base64, ${e.imageInput.data}" alt="Image input" />`}
|
|
2250
|
-
</div>` :
|
|
2255
|
+
</div>` : g}
|
|
2251
2256
|
<textarea
|
|
2252
2257
|
class="chat-input"
|
|
2253
2258
|
.disabled=${e.isTextInputDisabled}
|
|
@@ -2261,7 +2266,7 @@ var Ai = (e, t, n) => {
|
|
|
2261
2266
|
e.onTextInputChange(t.target.value);
|
|
2262
2267
|
}}
|
|
2263
2268
|
placeholder=${e.inputPlaceholder}
|
|
2264
|
-
jslog=${
|
|
2269
|
+
jslog=${qe("query").track({
|
|
2265
2270
|
change: !0,
|
|
2266
2271
|
keydown: "Enter"
|
|
2267
2272
|
})}
|
|
@@ -2275,37 +2280,37 @@ var Ai = (e, t, n) => {
|
|
|
2275
2280
|
${e.conversationType === O.STYLING ? B`
|
|
2276
2281
|
<devtools-button
|
|
2277
2282
|
.data=${{
|
|
2278
|
-
variant:
|
|
2279
|
-
size:
|
|
2283
|
+
variant: d.ICON_TOGGLE,
|
|
2284
|
+
size: h.SMALL,
|
|
2280
2285
|
iconName: "select-element",
|
|
2281
2286
|
toggledIconName: "select-element",
|
|
2282
|
-
toggleType:
|
|
2287
|
+
toggleType: pe.PRIMARY,
|
|
2283
2288
|
toggled: e.inspectElementToggled,
|
|
2284
2289
|
title: H(V.selectAnElement),
|
|
2285
2290
|
jslogContext: "select-element",
|
|
2286
2291
|
disabled: e.isTextInputDisabled
|
|
2287
2292
|
}}
|
|
2288
2293
|
@click=${e.onInspectElementClick}
|
|
2289
|
-
></devtools-button>` :
|
|
2294
|
+
></devtools-button>` : g}
|
|
2290
2295
|
<div
|
|
2291
|
-
class=${
|
|
2296
|
+
class=${m({
|
|
2292
2297
|
"resource-link": !0,
|
|
2293
2298
|
disabled: !e.isContextSelected
|
|
2294
2299
|
})}
|
|
2295
2300
|
>
|
|
2296
|
-
${e.context instanceof
|
|
2301
|
+
${e.context instanceof gt ? B`
|
|
2297
2302
|
<devtools-widget
|
|
2298
2303
|
class="title"
|
|
2299
|
-
${bi(
|
|
2304
|
+
${bi(jt, {
|
|
2300
2305
|
node: e.context.getItem(),
|
|
2301
2306
|
options: {
|
|
2302
2307
|
disabled: !e.isContextSelected,
|
|
2303
|
-
hiddenClassList: e.context.getItem().classNames().filter((e) => e.startsWith(
|
|
2308
|
+
hiddenClassList: e.context.getItem().classNames().filter((e) => e.startsWith(ht)),
|
|
2304
2309
|
ariaDescription: Ci(xi.revealContextDescription)
|
|
2305
2310
|
}
|
|
2306
2311
|
})}
|
|
2307
2312
|
></devtools-widget>` : B`
|
|
2308
|
-
${e.context instanceof
|
|
2313
|
+
${e.context instanceof lt ? nn.getIconForNetworkRequest(e.context.getItem()) : e.context instanceof Ot ? nn.getIconForSourceFile(e.context.getItem()) : e.context instanceof ut ? B`<devtools-icon class="icon" name="performance" title="Lighthouse"></devtools-icon>` : e.context instanceof Lt ? B`<devtools-icon class="icon" name="performance" title="Performance"></devtools-icon>` : e.context instanceof Ct ? B`<devtools-icon class="icon" name="table" title="Storage"></devtools-icon>` : g}
|
|
2309
2314
|
<span
|
|
2310
2315
|
role="button"
|
|
2311
2316
|
class="title"
|
|
@@ -2322,22 +2327,22 @@ var Ai = (e, t, n) => {
|
|
|
2322
2327
|
aria-label=${ki(e.context)}
|
|
2323
2328
|
class="remove-context"
|
|
2324
2329
|
.iconName=${"cross"}
|
|
2325
|
-
.size=${
|
|
2330
|
+
.size=${h.MICRO}
|
|
2326
2331
|
.jslogContext=${"context-removed"}
|
|
2327
|
-
.variant=${
|
|
2328
|
-
@click=${e.onContextRemoved}></devtools-button>` :
|
|
2332
|
+
.variant=${d.ICON}
|
|
2333
|
+
@click=${e.onContextRemoved}></devtools-button>` : g}
|
|
2329
2334
|
${!e.isContextSelected && e.onContextAdd ? B`
|
|
2330
2335
|
<devtools-button
|
|
2331
2336
|
title=${H(V.addContext)}
|
|
2332
2337
|
aria-label=${H(V.addContext)}
|
|
2333
2338
|
class="add-context"
|
|
2334
2339
|
.iconName=${"plus"}
|
|
2335
|
-
.size=${
|
|
2340
|
+
.size=${h.MICRO}
|
|
2336
2341
|
.jslogContext=${"context-added"}
|
|
2337
|
-
.variant=${
|
|
2338
|
-
@click=${e.onContextAdd}></devtools-button>` :
|
|
2342
|
+
.variant=${d.ICON}
|
|
2343
|
+
@click=${e.onContextAdd}></devtools-button>` : g}
|
|
2339
2344
|
</div>
|
|
2340
|
-
</div>` :
|
|
2345
|
+
</div>` : g}
|
|
2341
2346
|
</div>
|
|
2342
2347
|
<div class="chat-input-actions-right">
|
|
2343
2348
|
<div class="chat-input-disclaimer-container">
|
|
@@ -2350,35 +2355,35 @@ var Ai = (e, t, n) => {
|
|
|
2350
2355
|
aria-label=${H(V.addImageButtonTitle)}
|
|
2351
2356
|
@click=${e.onImageUpload}
|
|
2352
2357
|
.data=${{
|
|
2353
|
-
variant:
|
|
2354
|
-
size:
|
|
2358
|
+
variant: d.ICON,
|
|
2359
|
+
size: h.REGULAR,
|
|
2355
2360
|
disabled: e.isTextInputDisabled || e.imageInput?.isLoading,
|
|
2356
2361
|
iconName: "add-photo",
|
|
2357
2362
|
title: H(V.addImageButtonTitle),
|
|
2358
2363
|
jslogContext: "upload-image"
|
|
2359
2364
|
}}
|
|
2360
|
-
></devtools-button>` :
|
|
2365
|
+
></devtools-button>` : g}
|
|
2361
2366
|
<devtools-button
|
|
2362
2367
|
class="chat-input-button"
|
|
2363
2368
|
aria-label=${H(V.takeScreenshotButtonTitle)}
|
|
2364
2369
|
@click=${e.onTakeScreenshot}
|
|
2365
2370
|
.data=${{
|
|
2366
|
-
variant:
|
|
2367
|
-
size:
|
|
2371
|
+
variant: d.ICON,
|
|
2372
|
+
size: h.REGULAR,
|
|
2368
2373
|
disabled: e.isTextInputDisabled || e.imageInput?.isLoading,
|
|
2369
2374
|
iconName: "photo-camera",
|
|
2370
2375
|
title: H(V.takeScreenshotButtonTitle),
|
|
2371
2376
|
jslogContext: "take-screenshot"
|
|
2372
2377
|
}}
|
|
2373
|
-
></devtools-button>` :
|
|
2378
|
+
></devtools-button>` : g}
|
|
2374
2379
|
${e.isLoading ? B`
|
|
2375
2380
|
<devtools-button
|
|
2376
2381
|
class="chat-input-button"
|
|
2377
2382
|
aria-label=${H(V.cancelButtonTitle)}
|
|
2378
2383
|
@click=${e.onCancel}
|
|
2379
2384
|
.data=${{
|
|
2380
|
-
variant:
|
|
2381
|
-
size:
|
|
2385
|
+
variant: d.ICON,
|
|
2386
|
+
size: h.REGULAR,
|
|
2382
2387
|
iconName: "record-stop",
|
|
2383
2388
|
title: H(V.cancelButtonTitle),
|
|
2384
2389
|
jslogContext: "stop"
|
|
@@ -2389,8 +2394,8 @@ var Ai = (e, t, n) => {
|
|
|
2389
2394
|
aria-label=${H(V.startNewChat)}
|
|
2390
2395
|
@click=${e.onNewConversation}
|
|
2391
2396
|
.data=${{
|
|
2392
|
-
variant:
|
|
2393
|
-
size:
|
|
2397
|
+
variant: d.OUTLINED,
|
|
2398
|
+
size: h.SMALL,
|
|
2394
2399
|
title: H(V.startNewChat),
|
|
2395
2400
|
jslogContext: "start-new-chat"
|
|
2396
2401
|
}}
|
|
@@ -2400,8 +2405,8 @@ var Ai = (e, t, n) => {
|
|
|
2400
2405
|
aria-label=${H(V.sendButtonTitle)}
|
|
2401
2406
|
.data=${{
|
|
2402
2407
|
type: "submit",
|
|
2403
|
-
variant:
|
|
2404
|
-
size:
|
|
2408
|
+
variant: d.ICON,
|
|
2409
|
+
size: h.REGULAR,
|
|
2405
2410
|
disabled: e.isTextInputDisabled || e.isTextInputEmpty || e.imageInput?.isLoading,
|
|
2406
2411
|
iconName: "send",
|
|
2407
2412
|
title: H(V.sendButtonTitle),
|
|
@@ -2413,16 +2418,16 @@ var Ai = (e, t, n) => {
|
|
|
2413
2418
|
</div>
|
|
2414
2419
|
</form>`}
|
|
2415
2420
|
<footer
|
|
2416
|
-
class=${
|
|
2421
|
+
class=${m({
|
|
2417
2422
|
"chat-input-footer": !0,
|
|
2418
2423
|
"is-read-only": e.isReadOnly
|
|
2419
2424
|
})}
|
|
2420
|
-
jslog=${
|
|
2425
|
+
jslog=${S("footer")}
|
|
2421
2426
|
>
|
|
2422
2427
|
${i(Oi)}
|
|
2423
2428
|
</footer>
|
|
2424
2429
|
`, n);
|
|
2425
|
-
}, ji = class extends
|
|
2430
|
+
}, ji = class extends Be {
|
|
2426
2431
|
isLoading = !1;
|
|
2427
2432
|
blockedByCrossOrigin = !1;
|
|
2428
2433
|
isTextInputDisabled = !1;
|
|
@@ -2457,25 +2462,25 @@ var Ai = (e, t, n) => {
|
|
|
2457
2462
|
onContextRemoved = null;
|
|
2458
2463
|
onContextAdd = null;
|
|
2459
2464
|
#a(e) {
|
|
2460
|
-
let t =
|
|
2465
|
+
let t = kt.instance().getRecentPrompts();
|
|
2461
2466
|
t.length && (e === -1 ? (this.#n === -1 && (this.#r = this.#e.value?.value || ""), this.#n < t.length - 1 && (this.#n++, this.setInputValue(t[this.#n]))) : this.#n > 0 ? (this.#n--, this.setInputValue(t[this.#n])) : this.#n === 0 && (this.#n = -1, this.setInputValue(this.#r)));
|
|
2462
2467
|
}
|
|
2463
2468
|
async #o() {
|
|
2464
|
-
let e =
|
|
2469
|
+
let e = b.instance().primaryPageTarget();
|
|
2465
2470
|
if (!e) throw Error("Could not find main target");
|
|
2466
|
-
let t = e.model(
|
|
2471
|
+
let t = e.model(Oe);
|
|
2467
2472
|
if (!t) throw Error("Could not find model");
|
|
2468
2473
|
let n = setTimeout(() => {
|
|
2469
2474
|
this.#t = { isLoading: !0 }, this.performUpdate();
|
|
2470
|
-
}, Ei), r = await t.captureScreenshot(
|
|
2475
|
+
}, Ei), r = await t.captureScreenshot(ze.CaptureScreenshotRequestFormat.Jpeg, wi, Ie.FROM_VIEWPORT);
|
|
2471
2476
|
clearTimeout(n), r ? (this.#t = {
|
|
2472
2477
|
isLoading: !1,
|
|
2473
2478
|
data: r,
|
|
2474
2479
|
mimeType: Ti,
|
|
2475
|
-
inputType:
|
|
2480
|
+
inputType: Pt.SCREENSHOT
|
|
2476
2481
|
}, this.performUpdate(), this.updateComplete.then(() => {
|
|
2477
2482
|
this.focusTextInput();
|
|
2478
|
-
})) : (this.#t = void 0, this.performUpdate(),
|
|
2483
|
+
})) : (this.#t = void 0, this.performUpdate(), Xt.show({ message: H(V.screenshotFailureMessage) }));
|
|
2479
2484
|
}
|
|
2480
2485
|
targetAdded(e) {}
|
|
2481
2486
|
targetRemoved(e) {}
|
|
@@ -2514,10 +2519,10 @@ var Ai = (e, t, n) => {
|
|
|
2514
2519
|
isLoading: !1,
|
|
2515
2520
|
data: i,
|
|
2516
2521
|
mimeType: e.type,
|
|
2517
|
-
inputType:
|
|
2522
|
+
inputType: Pt.UPLOADED_IMAGE
|
|
2518
2523
|
};
|
|
2519
2524
|
} catch {
|
|
2520
|
-
this.#t = void 0,
|
|
2525
|
+
this.#t = void 0, Xt.show({ message: H(V.uploadImageFailureMessage) });
|
|
2521
2526
|
}
|
|
2522
2527
|
clearTimeout(t), this.performUpdate(), this.updateComplete.then(() => {
|
|
2523
2528
|
this.focusTextInput();
|
|
@@ -2528,10 +2533,10 @@ var Ai = (e, t, n) => {
|
|
|
2528
2533
|
super(e), this.#p = t ?? Ai;
|
|
2529
2534
|
}
|
|
2530
2535
|
wasShown() {
|
|
2531
|
-
super.wasShown(),
|
|
2536
|
+
super.wasShown(), b.instance().addModelListener(ge, re.PrimaryPageChanged, this.#m, this);
|
|
2532
2537
|
}
|
|
2533
2538
|
willHide() {
|
|
2534
|
-
super.willHide(),
|
|
2539
|
+
super.willHide(), b.instance().removeModelListener(ge, re.PrimaryPageChanged, this.#m, this);
|
|
2535
2540
|
}
|
|
2536
2541
|
#m() {
|
|
2537
2542
|
this.#t = void 0, this.performUpdate();
|
|
@@ -2584,7 +2589,7 @@ var Ai = (e, t, n) => {
|
|
|
2584
2589
|
this.onTextSubmit(this.#e.value?.value ?? "", t, this.#t?.inputType), this.#t = void 0, this.#n = -1, this.#r = "", this.setInputValue("");
|
|
2585
2590
|
};
|
|
2586
2591
|
onTextAreaKeyDown = (e) => {
|
|
2587
|
-
if (
|
|
2592
|
+
if (e.target && e.target instanceof HTMLTextAreaElement) {
|
|
2588
2593
|
if (e.key === "ArrowUp") {
|
|
2589
2594
|
let { value: t, selectionStart: n, selectionEnd: r } = e.target;
|
|
2590
2595
|
n === r && t.lastIndexOf("\n", n - 1) === -1 && (e.preventDefault(), this.#a(-1));
|
|
@@ -2609,13 +2614,13 @@ var Ai = (e, t, n) => {
|
|
|
2609
2614
|
e.preventDefault(), this.isLoading && this.onCancelClick();
|
|
2610
2615
|
};
|
|
2611
2616
|
onImageUpload = (e) => {
|
|
2612
|
-
e.stopPropagation(),
|
|
2617
|
+
e.stopPropagation(), Ke(this.#f.bind(this), ".jpeg,.jpg,.png").click();
|
|
2613
2618
|
};
|
|
2614
2619
|
}, Mi = "/*\n * Copyright 2024 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n* {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n}\n\n:host {\n width: 100%;\n height: 100%;\n user-select: text;\n display: flex;\n flex-direction: column;\n background-color: var(--sys-color-cdt-base-container);\n}\n\n.chat-ui {\n width: 100%;\n height: 100%;\n max-height: 100%;\n display: flex;\n flex-direction: column;\n container-type: size;\n container-name: --chat-ui-container;\n}\n\n.info-tooltip-container {\n max-width: var(--sys-size-28);\n padding: var(--sys-size-4) var(--sys-size-5);\n}\n\n.tooltip-link {\n display: block;\n margin-top: var(--sys-size-4);\n color: var(--sys-color-primary);\n padding-left: 0;\n}\n\n.chat-cancel-context-button {\n padding-bottom: 3px;\n padding-right: var(--sys-size-3);\n}\n\n\n.messages-container {\n flex-grow: 1;\n width: 100%;\n max-width: var(--sys-size-36);\n\n /* Prevents the container from jumping when the scrollbar is shown */\n /* 688px is the max width of the input form + left and right paddings: var(--sys-size-36) + 2 * var(--sys-size-5) */\n @container (width > 688px) {\n --half-scrollbar-width: calc((100cqw - 100%) / 2);\n\n margin-left: var(--half-scrollbar-width);\n margin-right: calc(-1 * var(--half-scrollbar-width));\n }\n}\n\n.link {\n color: var(--text-link);\n text-decoration: underline;\n cursor: pointer;\n}\n\nbutton.link {\n border: none;\n background: none;\n font: inherit;\n\n &:focus-visible {\n outline: var(--sys-size-2) solid var(--sys-color-state-focus-ring);\n outline-offset: 0;\n border-radius: var(--sys-shape-corner-extra-small);\n }\n}\n\n.select-an-element-text {\n margin-left: 2px;\n}\n\nmain {\n overflow: hidden auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 100%;\n container-type: size;\n scrollbar-width: thin;\n /*\n Even though `transform: translateZ(1px)` doesn't have a visual effect,\n it puts `main` element into another rendering layer which somehow\n fixes the `.input-form` jumping on scroll issue.\n */\n transform: translateZ(1px);\n scroll-timeline: --scroll-timeline y;\n}\n\n.empty-state-container {\n flex-grow: 1;\n display: grid;\n align-items: center;\n justify-content: center;\n font: var(--sys-typescale-headline4);\n gap: var(--sys-size-8);\n padding: var(--sys-size-4);\n max-width: var(--sys-size-33);\n\n /* Prevents the container from jumping when the scrollbar is shown */\n /* 688px is the max width of the input form + left and right paddings: var(--sys-size-36) + 2 * var(--sys-size-5) */\n @container (width > 688px) {\n --half-scrollbar-width: calc((100cqw - 100%) / 2);\n\n margin-left: var(--half-scrollbar-width);\n margin-right: calc(-1 * var(--half-scrollbar-width));\n }\n\n .header {\n display: flex;\n flex-direction: column;\n width: 100%;\n align-items: center;\n justify-content: center;\n align-self: end;\n gap: var(--sys-size-5);\n\n .icon {\n display: flex;\n justify-content: center;\n align-items: center;\n height: var(--sys-size-14);\n width: var(--sys-size-14);\n border-radius: var(--sys-shape-corner-small);\n background: linear-gradient(\n 135deg,\n var(--sys-color-gradient-primary),\n var(--sys-color-gradient-tertiary)\n );\n }\n\n h1 {\n font: var(--sys-typescale-headline4);\n }\n\n p {\n text-align: center;\n font: var(--sys-typescale-body4-regular);\n }\n }\n\n .empty-state-content {\n display: flex;\n flex-direction: column;\n gap: var(--sys-size-5);\n align-items: center;\n justify-content: center;\n align-self: start;\n }\n}\n\n.gemini {\n .empty-state-container {\n padding: var(--sys-size-8);\n }\n\n .empty-state-container .icon {\n display: none;\n }\n\n .empty-state-container .header {\n align-items: flex-start;\n line-height: var(--sys-size-4);\n }\n\n .empty-state-content {\n align-items: flex-start\n }\n\n .empty-state-container .greeting {\n font-size: var(--sys-size-10);\n color: var(--sys-color-primary);\n }\n\n .empty-state-container .cta {\n font-size: var(--sys-size-10);\n }\n\n main {\n align-items: flex-start;\n }\n}\n\n.change-summary {\n background-color: var(--sys-color-surface3);\n border-radius: var(--sys-shape-corner-medium-small);\n position: relative;\n margin: 0 var(--sys-size-5) var(--sys-size-7) var(--sys-size-5);\n padding: 0 var(--sys-size-5);\n\n &.saved-to-disk {\n pointer-events: none;\n }\n\n & .header-container {\n display: flex;\n align-items: center;\n gap: var(--sys-size-3);\n height: var(--sys-size-14);\n padding-left: var(--sys-size-3);\n\n devtools-spinner {\n width: var(--sys-size-6);\n height: var(--sys-size-6);\n margin-left: var(--sys-size-3);\n margin-right: var(--sys-size-3);\n }\n\n & devtools-icon.summary-badge {\n width: var(--sys-size-8);\n height: var(--sys-size-8);\n }\n\n & .green-bright-icon {\n color: var(--sys-color-green-bright);\n }\n\n & .on-tonal-icon {\n color: var(--sys-color-on-tonal-container);\n }\n\n & .header-text {\n font: var(--sys-typescale-body4);\n color: var(--sys-color-on-surface);\n white-space: nowrap;\n overflow-x: hidden;\n text-overflow: ellipsis;\n }\n\n & .arrow {\n margin-left: auto;\n }\n\n &::marker {\n content: '';\n }\n }\n\n &:not(.saved-to-disk, &[open]):hover::after {\n content: '';\n height: 100%;\n width: 100%;\n border-radius: inherit;\n position: absolute;\n top: 0;\n left: 0;\n pointer-events: none;\n background-color: var(--sys-color-state-hover-on-subtle);\n }\n\n &[open]:not(.saved-to-disk) {\n &::details-content {\n height: fit-content;\n padding: var(--sys-size-2) 0;\n border-radius: inherit;\n }\n\n summary .arrow {\n transform: rotate(180deg);\n }\n }\n\n devtools-code-block {\n margin-bottom: var(--sys-size-5);\n\n --code-block-background-color: var(--sys-color-surface1);\n }\n\n .error-container {\n display: flex;\n align-items: center;\n gap: var(--sys-size-3);\n color: var(--sys-color-error);\n }\n\n .footer {\n display: flex;\n flex-flow: row wrap;\n justify-content: space-between;\n margin: var(--sys-size-5) 0 var(--sys-size-5) var(--sys-size-2);\n gap: var(--sys-size-6) var(--sys-size-5);\n\n .disclaimer-link {\n align-self: center;\n }\n\n .left-side {\n flex-grow: 1;\n display: flex;\n align-self: center;\n gap: var(--sys-size-3);\n }\n\n .save-or-discard-buttons {\n flex-grow: 1;\n display: flex;\n justify-content: flex-end;\n gap: var(--sys-size-3);\n }\n\n .change-workspace {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: var(--sys-size-3);\n min-width: var(--sys-size-22);\n flex: 1 1 40%;\n\n .folder-name {\n white-space: nowrap;\n overflow-x: hidden;\n text-overflow: ellipsis;\n }\n }\n\n .loading-text-container {\n margin-right: var(--sys-size-3);\n display: flex;\n justify-content: center;\n align-items: center;\n gap: var(--sys-size-3);\n }\n\n .apply-to-workspace-container {\n display: flex;\n align-items: center;\n gap: var(--sys-size-3);\n min-width: fit-content;\n justify-content: flex-end;\n flex-grow: 1;\n flex-shrink: 1;\n\n devtools-icon {\n /* var(--sys-size-8) is too small and var(--sys-size-9) is too big. */\n width: 18px;\n height: 18px;\n margin-left: var(--sys-size-2);\n }\n }\n }\n}\n\n@keyframes reveal {\n 0%,\n 99% {\n opacity: 100%;\n }\n\n 100% {\n opacity: 0%;\n }\n}\n\n.sticky {\n position: sticky;\n bottom: 0;\n z-index: 9999;\n}\n\n.chat-input-widget {\n width: 100%;\n max-width: var(--sys-size-36);\n background-color: var(--sys-color-cdt-base-container);\n /*\n The `box-shadow` is a workaround to hide the content appearing between the `.input-form`\n and the footer in some resolutions even though the `.input-form` has `bottom: 0`.\n */\n box-shadow: 0 1px var(--sys-color-cdt-base-container);\n\n /* Prevents the input form from jumping when the scrollbar is shown */\n /* 688px is the max width of the input form + left and right paddings: var(--sys-size-36) + 2 * var(--sys-size-5) */\n @container (width > 688px) {\n --half-scrollbar-width: calc((100cqw - 100%) / 2);\n\n margin-left: var(--half-scrollbar-width);\n margin-right: calc(-1 * var(--half-scrollbar-width));\n }\n\n /* when there isn't enough space to view the messages,\n do not overlay the input form on top of the messages */\n /* height < var(--sys-size-27) */\n @container (height < 224px) {\n margin-top: var(--sys-size-4);\n margin-bottom: var(--sys-size-4);\n position: static;\n }\n\n @container --chat-ui-container (width < 400px) {\n /*\n The footer already adds necessary paddings for this state.\n However, without the `padding-bottom` here, the outline in the bottom\n is rendered behind the footer. So, we add 1px space here to make sure\n that the outline is rendered fully.\n */\n padding-bottom: var(--sys-size-1);\n }\n}\n", Ni = "/*\n * Copyright 2026 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n@scope to (devtools-widget > *) {\n :scope {\n width: 100%;\n box-shadow: none;\n padding: var(--sys-size-8);\n background-color: var(--sys-color-surface);\n border-radius: var(--sys-shape-corner-medium);\n }\n\n .export-for-agents-dialog {\n width: var(--sys-size-33); /* 512px */\n max-width: 100%; /* deal with the dialog being squashed on smaller devices */\n }\n\n .export-for-agents-dialog header {\n margin-bottom: var(--sys-size-6);\n\n h1 {\n font: var(--sys-typescale-headline5);\n margin: 0;\n color: var(--sys-color-on-surface);\n }\n }\n\n .export-for-agents-dialog .state-selection {\n display: flex;\n gap: var(--sys-size-5);\n margin: var(--sys-size-7) 0;\n }\n\n .export-for-agents-dialog .state-selection label {\n display: flex;\n align-items: center;\n gap: var(--sys-size-2);\n cursor: pointer;\n font: var(--sys-typescale-body3-regular);\n\n input {\n /* Remove the margin on radio buttons so that the text and the\n * radio button are properly aligned vertically. */\n margin-bottom: 0;\n }\n }\n\n .export-for-agents-dialog textarea {\n width: 100%;\n min-height: var(--sys-size-30); /* 288px */\n max-height: var(--sys-size-34); /* 512px */\n resize: none;\n padding: var(--sys-size-5);\n box-sizing: border-box;\n font-family: var(--monospace-font-family);\n font-size: var(--monospace-font-size);\n background-color: var(--sys-color-surface5);\n color: var(--sys-color-on-surface);\n border-radius: var(--sys-shape-corner-small);\n border: none;\n }\n\n main {\n position: relative;\n }\n\n .prompt-loading {\n position: absolute;\n padding: var(--sys-size-5);\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: var(--sys-size-5);\n }\n\n .export-for-agents-dialog .disclaimer {\n margin-top: var(--sys-size-5);\n font: var(--sys-typescale-body4-regular);\n color: var(--sys-color-on-surface-subtle);\n }\n\n .export-for-agents-dialog footer {\n display: flex;\n justify-content: flex-end;\n margin-top: var(--sys-size-6);\n }\n\n .export-for-agents-dialog .right-buttons {\n display: flex;\n gap: var(--sys-size-5);\n }\n}\n", Pi = /* @__PURE__ */ e({
|
|
2615
2620
|
DEFAULT_VIEW: () => Bi,
|
|
2616
2621
|
ExportForAgentsDialog: () => Vi,
|
|
2617
2622
|
StateType: () => Ri
|
|
2618
|
-
}), { html: Fi, render: Ii } =
|
|
2623
|
+
}), { html: Fi, render: Ii } = ue, U = {
|
|
2619
2624
|
exportForAgents: "Copy to coding agent",
|
|
2620
2625
|
copyToClipboard: "Copy to clipboard",
|
|
2621
2626
|
copiedToClipboard: "Copied to clipboard",
|
|
@@ -2624,13 +2629,13 @@ var Ai = (e, t, n) => {
|
|
|
2624
2629
|
saveAsMarkdown: "Save as…",
|
|
2625
2630
|
generatingSummary: "Generating summary…",
|
|
2626
2631
|
disclaimer: "This is an experimental AI feature and won’t always get it right. Double check this text before pasting into another tool."
|
|
2627
|
-
}, Li =
|
|
2632
|
+
}, Li = i("panels/ai_assistance/components/ExportForAgentsDialog.ts", U), W = n.bind(void 0, Li), Ri = /* @__PURE__ */ function(e) {
|
|
2628
2633
|
return e.PROMPT = "prompt", e.CONVERSATION = "conversation", e;
|
|
2629
2634
|
}({}), zi = "prompt", Bi = (e, t, n) => {
|
|
2630
2635
|
let r = e.state.activeType === "prompt", i = W(r ? U.copyToClipboard : U.saveAsMarkdown), a = r ? e.state.promptText : e.state.conversationText;
|
|
2631
2636
|
Ii(Fi`
|
|
2632
2637
|
<style>${Ni}</style>
|
|
2633
|
-
<div class="export-for-agents-dialog" jslog=${
|
|
2638
|
+
<div class="export-for-agents-dialog" jslog=${Pe("ai-export-for-agents")}>
|
|
2634
2639
|
<header>
|
|
2635
2640
|
<h1 id="export-for-agents-dialog-title" tabindex="-1">
|
|
2636
2641
|
${W(U.exportForAgents)}
|
|
@@ -2667,7 +2672,7 @@ var Ai = (e, t, n) => {
|
|
|
2667
2672
|
<devtools-spinner></devtools-spinner>
|
|
2668
2673
|
${W(U.generatingSummary)}
|
|
2669
2674
|
</span>
|
|
2670
|
-
` :
|
|
2675
|
+
` : g}
|
|
2671
2676
|
${r ? Fi`<textarea class="prompt" readonly .value=${e.state.isPromptLoading ? "" : a}></textarea>` : Fi`<textarea class="conversation" readonly .value=${a}></textarea>`}
|
|
2672
2677
|
</main>
|
|
2673
2678
|
<div class="disclaimer">${W(U.disclaimer)}</div>
|
|
@@ -2676,7 +2681,7 @@ var Ai = (e, t, n) => {
|
|
|
2676
2681
|
<devtools-button
|
|
2677
2682
|
@click=${e.onButtonClick}
|
|
2678
2683
|
.jslogContext=${e.jslogContext}
|
|
2679
|
-
.variant=${
|
|
2684
|
+
.variant=${d.PRIMARY}
|
|
2680
2685
|
.disabled=${r && e.state.isPromptLoading}
|
|
2681
2686
|
.accessibleLabel=${i}
|
|
2682
2687
|
>
|
|
@@ -2686,7 +2691,7 @@ var Ai = (e, t, n) => {
|
|
|
2686
2691
|
</footer>
|
|
2687
2692
|
</div>
|
|
2688
2693
|
`, n);
|
|
2689
|
-
}, Vi = class e extends
|
|
2694
|
+
}, Vi = class e extends ke {
|
|
2690
2695
|
static #e = zi;
|
|
2691
2696
|
#t;
|
|
2692
2697
|
#n;
|
|
@@ -2713,14 +2718,12 @@ var Ai = (e, t, n) => {
|
|
|
2713
2718
|
switch (this.#r.activeType) {
|
|
2714
2719
|
case "prompt":
|
|
2715
2720
|
t = "ai-export-for-agents.copy-to-clipboard", e = (e) => {
|
|
2716
|
-
e.preventDefault(),
|
|
2717
|
-
};
|
|
2718
|
-
break;
|
|
2719
|
-
case "conversation":
|
|
2720
|
-
t = "ai-export-for-agents.save-as-markdown", e = () => {
|
|
2721
|
-
this.#n.hide(), this.#i();
|
|
2721
|
+
e.preventDefault(), Ce.copyText(this.#r.promptText), Xt.show({ message: W(U.copiedToClipboard) }).setAttribute("aria-label", W(U.copiedToClipboard)), this.#n.hide();
|
|
2722
2722
|
};
|
|
2723
2723
|
break;
|
|
2724
|
+
case "conversation": t = "ai-export-for-agents.save-as-markdown", e = () => {
|
|
2725
|
+
this.#n.hide(), this.#i();
|
|
2726
|
+
};
|
|
2724
2727
|
}
|
|
2725
2728
|
let n = {
|
|
2726
2729
|
onButtonClick: e,
|
|
@@ -2731,10 +2734,10 @@ var Ai = (e, t, n) => {
|
|
|
2731
2734
|
this.#t(n, void 0, this.contentElement);
|
|
2732
2735
|
}
|
|
2733
2736
|
static show({ promptText: t, markdownText: n, onConversationSaveAs: r }) {
|
|
2734
|
-
let i = new
|
|
2737
|
+
let i = new ie();
|
|
2735
2738
|
i.setAriaLabel(W(U.exportForAgents)), i.setOutsideClickCallback((e) => {
|
|
2736
2739
|
e.consume(!0), i.hide();
|
|
2737
|
-
}), i.addCloseButton(), i.setSizeBehavior(
|
|
2740
|
+
}), i.addCloseButton(), i.setSizeBehavior(ae.MEASURE_CONTENT), i.setDimmed(!0);
|
|
2738
2741
|
let a = new e({
|
|
2739
2742
|
dialog: i,
|
|
2740
2743
|
promptText: t,
|
|
@@ -2745,30 +2748,30 @@ var Ai = (e, t, n) => {
|
|
|
2745
2748
|
i.show();
|
|
2746
2749
|
});
|
|
2747
2750
|
}
|
|
2748
|
-
}, { ref: Hi, repeat: Ui, classMap: Wi } =
|
|
2751
|
+
}, { ref: Hi, repeat: Ui, classMap: Wi } = xe, { widget: Gi } = Me, Ki = {
|
|
2749
2752
|
emptyStateText: "How can I help you?",
|
|
2750
2753
|
emptyStateTextGemini: "Where should we start?"
|
|
2751
|
-
}, qi =
|
|
2754
|
+
}, qi = a, Ji = 1;
|
|
2752
2755
|
function Yi(e, t) {
|
|
2753
2756
|
let n = e.filter((e) => e.entity === Sr.MODEL), r = n.at(-1);
|
|
2754
2757
|
if (r) return t && e.at(-1) === r ? n.at(-2) : r;
|
|
2755
2758
|
}
|
|
2756
2759
|
var Xi = (e, t, n) => {
|
|
2757
|
-
let r = !!
|
|
2760
|
+
let r = !!w.devToolsAiAssistanceV2?.enabled, i = Wi({
|
|
2758
2761
|
"chat-ui": !0,
|
|
2759
|
-
gemini:
|
|
2762
|
+
gemini: ct(),
|
|
2760
2763
|
"ai-v2": r
|
|
2761
2764
|
}), a = Wi({
|
|
2762
2765
|
"chat-input-widget": !0,
|
|
2763
2766
|
sticky: !e.isReadOnly
|
|
2764
2767
|
}), o = !r && !e.isLoading, s = Yi(e.messages, e.isLoading);
|
|
2765
|
-
p
|
|
2768
|
+
f(p`
|
|
2766
2769
|
<style>${Mi}</style>
|
|
2767
2770
|
<div class=${i}>
|
|
2768
2771
|
<main @scroll=${e.handleScroll} ${Hi((e) => {
|
|
2769
2772
|
t.mainElement = e;
|
|
2770
2773
|
})}>
|
|
2771
|
-
${e.messages.length > 0 ?
|
|
2774
|
+
${e.messages.length > 0 ? p`
|
|
2772
2775
|
<div class="messages-container" ${Hi(e.handleMessageContainerRef)}>
|
|
2773
2776
|
${Ui(e.messages, (e) => e.id, (t, n) => {
|
|
2774
2777
|
let r = n > 0 ? e.messages[n - 1] : null, i = t.entity === Sr.MODEL && r?.entity === Sr.USER ? r.text : "";
|
|
@@ -2793,9 +2796,9 @@ var Xi = (e, t, n) => {
|
|
|
2793
2796
|
${o ? Gi(mi, {
|
|
2794
2797
|
changeSummary: e.changeSummary ?? "",
|
|
2795
2798
|
changeManager: e.changeManager
|
|
2796
|
-
}) :
|
|
2799
|
+
}) : g}
|
|
2797
2800
|
</div>
|
|
2798
|
-
` :
|
|
2801
|
+
` : p`
|
|
2799
2802
|
<div class="empty-state-container">
|
|
2800
2803
|
<div class="header">
|
|
2801
2804
|
<div class="icon">
|
|
@@ -2803,18 +2806,18 @@ var Xi = (e, t, n) => {
|
|
|
2803
2806
|
name="smart-assistant"
|
|
2804
2807
|
></devtools-icon>
|
|
2805
2808
|
</div>
|
|
2806
|
-
${
|
|
2809
|
+
${ct() ? p`
|
|
2807
2810
|
<h1 class='greeting'>Hello</h1>
|
|
2808
2811
|
<p class='cta'>${qi(Ki.emptyStateTextGemini)}</p>
|
|
2809
|
-
` :
|
|
2812
|
+
` : p`<h1>${qi(Ki.emptyStateText)}</h1>`}
|
|
2810
2813
|
</div>
|
|
2811
2814
|
<div class="empty-state-content">
|
|
2812
|
-
${e.emptyStateSuggestions.map(({ title: t, jslogContext: n }) =>
|
|
2815
|
+
${e.emptyStateSuggestions.map(({ title: t, jslogContext: n }) => p`<devtools-button
|
|
2813
2816
|
class="suggestion"
|
|
2814
2817
|
@click=${() => e.handleSuggestionClick(t)}
|
|
2815
2818
|
.data=${{
|
|
2816
|
-
variant:
|
|
2817
|
-
size:
|
|
2819
|
+
variant: d.OUTLINED,
|
|
2820
|
+
size: h.REGULAR,
|
|
2818
2821
|
title: t,
|
|
2819
2822
|
jslogContext: n ?? "suggestion",
|
|
2820
2823
|
disabled: e.isTextInputDisabled
|
|
@@ -2895,7 +2898,7 @@ var Xi = (e, t, n) => {
|
|
|
2895
2898
|
this.#r = e, e ? this.#a.observe(e) : (this.#o = !0, this.#a.disconnect());
|
|
2896
2899
|
};
|
|
2897
2900
|
#p = (e) => {
|
|
2898
|
-
if (
|
|
2901
|
+
if (e.target && e.target instanceof HTMLElement) {
|
|
2899
2902
|
if (this.#s) {
|
|
2900
2903
|
this.#s = !1;
|
|
2901
2904
|
return;
|
|
@@ -2904,7 +2907,7 @@ var Xi = (e, t, n) => {
|
|
|
2904
2907
|
}
|
|
2905
2908
|
};
|
|
2906
2909
|
#m = (e) => {
|
|
2907
|
-
this.#i.input?.getWidget()?.setInputValue(e), this.#_(), this.focusTextInput(),
|
|
2910
|
+
this.#i.input?.getWidget()?.setInputValue(e), this.#_(), this.focusTextInput(), y.actionTaken(C.AiAssistanceDynamicSuggestionClicked);
|
|
2908
2911
|
};
|
|
2909
2912
|
async #h() {
|
|
2910
2913
|
let e = this.#n.conversationMarkdown.replace(/\*\*Export Timestamp \(UTC\):\*\* .*\n\n/, "");
|
|
@@ -2952,25 +2955,25 @@ var Qi = "/*\n * Copyright 2025 The Chromium Authors\n * Use of this source code
|
|
|
2952
2955
|
turnOnForStylesRequestsAndFiles: "Turn on {PH1} to get help with styles, network requests, and files",
|
|
2953
2956
|
turnOnForStylesRequestsPerformanceAndFiles: "Turn on {PH1} to get help with styles, network requests, performance, and files",
|
|
2954
2957
|
notAvailableInIncognitoMode: "AI assistance is not available in Incognito mode or Guest mode"
|
|
2955
|
-
}, ea =
|
|
2958
|
+
}, ea = i("panels/ai_assistance/components/DisabledWidget.ts", G), ta = n.bind(void 0, ea);
|
|
2956
2959
|
function na(e) {
|
|
2957
2960
|
switch (e) {
|
|
2958
|
-
case
|
|
2959
|
-
case
|
|
2960
|
-
case
|
|
2961
|
+
case u.NO_ACCOUNT_EMAIL:
|
|
2962
|
+
case u.SYNC_IS_PAUSED: return p`${ta(G.notLoggedIn)}`;
|
|
2963
|
+
case u.NO_INTERNET: return p`${ta(G.offline)}`;
|
|
2961
2964
|
}
|
|
2962
2965
|
}
|
|
2963
2966
|
function ra(e) {
|
|
2964
|
-
if (e.isOffTheRecord) return
|
|
2967
|
+
if (e.isOffTheRecord) return p`${ta(G.notAvailableInIncognitoMode)}`;
|
|
2965
2968
|
let t = document.createElement("span");
|
|
2966
|
-
t.textContent = ta(G.settingsLink), t.classList.add("link"),
|
|
2969
|
+
t.textContent = ta(G.settingsLink), t.classList.add("link"), ee(t), t.addEventListener("click", () => {
|
|
2967
2970
|
x.instance().showView("chrome-ai");
|
|
2968
|
-
}), t.setAttribute("jslog", `${
|
|
2971
|
+
}), t.setAttribute("jslog", `${je("open-ai-settings").track({ click: !0 })}`);
|
|
2969
2972
|
let n;
|
|
2970
|
-
return n = e.devToolsAiAssistancePerformanceAgent?.enabled ?
|
|
2973
|
+
return n = e.devToolsAiAssistancePerformanceAgent?.enabled ? Kt(ea, G.turnOnForStylesRequestsPerformanceAndFiles, { PH1: t }) : e.devToolsAiAssistanceFileAgent?.enabled ? Kt(ea, G.turnOnForStylesRequestsAndFiles, { PH1: t }) : e.devToolsAiAssistanceNetworkAgent?.enabled ? Kt(ea, G.turnOnForStylesAndRequests, { PH1: t }) : Kt(ea, G.turnOnForStyles, { PH1: t }), p`${n}`;
|
|
2971
2974
|
}
|
|
2972
2975
|
var ia = (e, t, n) => {
|
|
2973
|
-
p
|
|
2976
|
+
f(p`
|
|
2974
2977
|
<style>
|
|
2975
2978
|
${Qi}
|
|
2976
2979
|
</style>
|
|
@@ -2979,12 +2982,12 @@ var ia = (e, t, n) => {
|
|
|
2979
2982
|
<devtools-icon name="smart-assistant"></devtools-icon>
|
|
2980
2983
|
</div>
|
|
2981
2984
|
<div>
|
|
2982
|
-
${e.aidaAvailability ===
|
|
2985
|
+
${e.aidaAvailability === u.AVAILABLE ? ra(e.hostConfig) : na(e.aidaAvailability)}
|
|
2983
2986
|
</div>
|
|
2984
2987
|
</div>
|
|
2985
2988
|
`, n);
|
|
2986
|
-
}, aa = class extends
|
|
2987
|
-
aidaAvailability =
|
|
2989
|
+
}, aa = class extends Be {
|
|
2990
|
+
aidaAvailability = u.NO_ACCOUNT_EMAIL;
|
|
2988
2991
|
#e;
|
|
2989
2992
|
constructor(e, t = ia) {
|
|
2990
2993
|
super(e), this.#e = t;
|
|
@@ -2993,7 +2996,7 @@ var ia = (e, t, n) => {
|
|
|
2993
2996
|
super.wasShown(), this.requestUpdate();
|
|
2994
2997
|
}
|
|
2995
2998
|
performUpdate() {
|
|
2996
|
-
let e =
|
|
2999
|
+
let e = w;
|
|
2997
3000
|
this.#e({
|
|
2998
3001
|
aidaAvailability: this.aidaAvailability,
|
|
2999
3002
|
hostConfig: e
|
|
@@ -3005,18 +3008,18 @@ var ia = (e, t, n) => {
|
|
|
3005
3008
|
}), ca = {
|
|
3006
3009
|
Explore: "Explore AI assistance",
|
|
3007
3010
|
learnAbout: "Learn about AI in DevTools"
|
|
3008
|
-
}, la =
|
|
3011
|
+
}, la = a, ua = (e, t, n) => {
|
|
3009
3012
|
function r(e) {
|
|
3010
|
-
return
|
|
3013
|
+
return p`Open
|
|
3011
3014
|
<button
|
|
3012
3015
|
class="link"
|
|
3013
3016
|
role="link"
|
|
3014
|
-
jslog=${
|
|
3017
|
+
jslog=${Xe(e.jslogContext).track({ click: !0 })}
|
|
3015
3018
|
@click=${e.onClick}
|
|
3016
3019
|
>${e.panelName}</button>
|
|
3017
3020
|
${e.text}`;
|
|
3018
3021
|
}
|
|
3019
|
-
p
|
|
3022
|
+
f(p`
|
|
3020
3023
|
<style>
|
|
3021
3024
|
${oa}
|
|
3022
3025
|
</style>
|
|
@@ -3032,7 +3035,7 @@ var ia = (e, t, n) => {
|
|
|
3032
3035
|
<button
|
|
3033
3036
|
class="link"
|
|
3034
3037
|
role="link"
|
|
3035
|
-
jslog=${
|
|
3038
|
+
jslog=${Xe("open-ai-settings").track({ click: !0 })}
|
|
3036
3039
|
@click=${() => {
|
|
3037
3040
|
x.instance().showView("chrome-ai");
|
|
3038
3041
|
}}
|
|
@@ -3041,7 +3044,7 @@ var ia = (e, t, n) => {
|
|
|
3041
3044
|
</p>
|
|
3042
3045
|
</div>
|
|
3043
3046
|
<div class="content">
|
|
3044
|
-
${e.featureCards.map((e) =>
|
|
3047
|
+
${e.featureCards.map((e) => p`
|
|
3045
3048
|
<div class="feature-card">
|
|
3046
3049
|
<div class="feature-card-icon">
|
|
3047
3050
|
<devtools-icon name=${e.icon}></devtools-icon>
|
|
@@ -3055,7 +3058,7 @@ var ia = (e, t, n) => {
|
|
|
3055
3058
|
</div>
|
|
3056
3059
|
</div>
|
|
3057
3060
|
`, n);
|
|
3058
|
-
}, da = class extends
|
|
3061
|
+
}, da = class extends Be {
|
|
3059
3062
|
#e;
|
|
3060
3063
|
constructor(e, t = ua) {
|
|
3061
3064
|
super(e), this.#e = t;
|
|
@@ -3064,7 +3067,7 @@ var ia = (e, t, n) => {
|
|
|
3064
3067
|
super.wasShown(), this.requestUpdate();
|
|
3065
3068
|
}
|
|
3066
3069
|
performUpdate() {
|
|
3067
|
-
let e =
|
|
3070
|
+
let e = w, t = [];
|
|
3068
3071
|
e.devToolsFreestyler?.enabled && x.instance().hasView("elements") && t.push({
|
|
3069
3072
|
icon: "brush-2",
|
|
3070
3073
|
heading: "CSS styles",
|
|
@@ -3106,7 +3109,7 @@ var ia = (e, t, n) => {
|
|
|
3106
3109
|
}, fa = "/*\n * Copyright 2026 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n@scope to (devtools-widget > *) {\n :scope {\n width: 100%;\n box-shadow: none;\n padding: var(--sys-size-8);\n background-color: var(--sys-color-surface);\n border-radius: var(--sys-shape-corner-medium);\n }\n\n .opt-in-change-dialog {\n width: var(--sys-size-33);\n max-width: 100%;\n }\n\n header {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: var(--sys-size-8);\n margin-bottom: var(--sys-size-8);\n\n h1 {\n margin: 0;\n color: var(--sys-color-on-surface);\n font: var(--sys-typescale-headline5);\n }\n\n .header-icon-container {\n background: linear-gradient(\n 135deg,\n var(--sys-color-gradient-primary),\n var(--sys-color-gradient-tertiary)\n );\n border-radius: var(--sys-size-4);\n height: var(--sys-size-14);\n width: var(--sys-size-14);\n display: flex;\n align-items: center;\n justify-content: center;\n\n devtools-icon {\n width: var(--sys-size-9);\n height: var(--sys-size-9);\n }\n }\n }\n\n main {\n background-color: var(--sys-color-surface4);\n border-radius: var(--sys-shape-corner-medium-small);\n padding: var(--sys-size-8);\n display: flex;\n flex-direction: column;\n gap: var(--sys-size-6);\n margin-bottom: var(--sys-size-8);\n\n .item {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: var(--sys-size-8);\n\n devtools-icon {\n width: var(--sys-size-8);\n height: var(--sys-size-8);\n flex-shrink: 0;\n color: var(--sys-color-on-surface-subtle);\n }\n\n .text {\n font: var(--sys-typescale-body4);\n color: var(--sys-color-on-surface);\n }\n }\n }\n\n footer {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-end;\n\n .right-buttons {\n display: flex;\n gap: var(--sys-size-5);\n }\n }\n}\n", pa = /* @__PURE__ */ e({
|
|
3107
3110
|
DEFAULT_VIEW: () => _a,
|
|
3108
3111
|
OptInChangeDialog: () => va
|
|
3109
|
-
}), { html: ma, render: ha } =
|
|
3112
|
+
}), { html: ma, render: ha } = ue, K = {
|
|
3110
3113
|
title: "AI assistance just got better",
|
|
3111
3114
|
integrationPoint: "AI assistance is now integrated with Application and Lighthouse panels, and pulls context from data sources simultaneously",
|
|
3112
3115
|
widgetPoint: "Use widgets to verify results or jump to source data for select debugging cases",
|
|
@@ -3114,11 +3117,11 @@ var ia = (e, t, n) => {
|
|
|
3114
3117
|
privacyDisclaimerEnterpriseNoLogging: "Chat messages, data accessible for this site via DevTools panels and Web APIs, and items you select such as network requests, files, and performance traces are sent to Google. The content submitted to and generated by this feature will not be used to improve Google’s AI models. This is an experimental AI feature and won’t always get it right.",
|
|
3115
3118
|
manageSettings: "Manage in settings",
|
|
3116
3119
|
gotIt: "Got it"
|
|
3117
|
-
}, ga =
|
|
3120
|
+
}, ga = i("panels/ai_assistance/components/OptInChangeDialog.ts", K), q = n.bind(void 0, ga), _a = (e, t, n) => {
|
|
3118
3121
|
let r = e.loggingEnabled ? q(K.privacyDisclaimer) : q(K.privacyDisclaimerEnterpriseNoLogging);
|
|
3119
3122
|
ha(ma`
|
|
3120
3123
|
<style>${fa}</style>
|
|
3121
|
-
<div class="opt-in-change-dialog" jslog=${
|
|
3124
|
+
<div class="opt-in-change-dialog" jslog=${Pe("ai-v2-opt-in-change-dialog")}>
|
|
3122
3125
|
<header>
|
|
3123
3126
|
<div class="header-icon-container">
|
|
3124
3127
|
<devtools-icon name="smart-assistant" role="presentation"></devtools-icon>
|
|
@@ -3146,7 +3149,7 @@ var ia = (e, t, n) => {
|
|
|
3146
3149
|
<devtools-button
|
|
3147
3150
|
@click=${e.onManageSettings}
|
|
3148
3151
|
.jslogContext=${"ai-assistance-v2-opt-in.manage-settings"}
|
|
3149
|
-
.variant=${
|
|
3152
|
+
.variant=${d.OUTLINED}
|
|
3150
3153
|
.accessibleLabel=${q(K.manageSettings)}
|
|
3151
3154
|
>
|
|
3152
3155
|
${q(K.manageSettings)}
|
|
@@ -3154,7 +3157,7 @@ var ia = (e, t, n) => {
|
|
|
3154
3157
|
<devtools-button
|
|
3155
3158
|
@click=${e.onGotIt}
|
|
3156
3159
|
.jslogContext=${"ai-assistance-v2-opt-in.got-it"}
|
|
3157
|
-
.variant=${
|
|
3160
|
+
.variant=${d.PRIMARY}
|
|
3158
3161
|
.accessibleLabel=${q(K.gotIt)}
|
|
3159
3162
|
>
|
|
3160
3163
|
${q(K.gotIt)}
|
|
@@ -3163,7 +3166,7 @@ var ia = (e, t, n) => {
|
|
|
3163
3166
|
</footer>
|
|
3164
3167
|
</div>
|
|
3165
3168
|
`, n);
|
|
3166
|
-
}, va = class e extends
|
|
3169
|
+
}, va = class e extends ke {
|
|
3167
3170
|
#e;
|
|
3168
3171
|
#t;
|
|
3169
3172
|
#n;
|
|
@@ -3171,7 +3174,7 @@ var ia = (e, t, n) => {
|
|
|
3171
3174
|
super(), this.#t = e.onGotIt, this.#n = e.onManageSettings, this.#e = t, this.requestUpdate();
|
|
3172
3175
|
}
|
|
3173
3176
|
performUpdate() {
|
|
3174
|
-
let e =
|
|
3177
|
+
let e = w.aidaAvailability?.enterprisePolicyValue !== Ze.ALLOW_WITHOUT_LOGGING, t = {
|
|
3175
3178
|
onGotIt: this.#t,
|
|
3176
3179
|
onManageSettings: this.#n,
|
|
3177
3180
|
loggingEnabled: e
|
|
@@ -3182,8 +3185,8 @@ var ia = (e, t, n) => {
|
|
|
3182
3185
|
this.contentElement.querySelector("h1")?.focus();
|
|
3183
3186
|
}
|
|
3184
3187
|
static show(t) {
|
|
3185
|
-
let n = new
|
|
3186
|
-
n.setAriaLabel(q(K.title)), n.setOutsideClickCallback((e) => e.consume(!0)), n.setCloseOnEscape(!1), n.setSizeBehavior(
|
|
3188
|
+
let n = new ie();
|
|
3189
|
+
n.setAriaLabel(q(K.title)), n.setOutsideClickCallback((e) => e.consume(!0)), n.setCloseOnEscape(!1), n.setSizeBehavior(ae.MEASURE_CONTENT), n.setDimmed(!0);
|
|
3187
3190
|
let r = new e({
|
|
3188
3191
|
onGotIt: () => {
|
|
3189
3192
|
n.hide(), t.onGotIt();
|
|
@@ -3196,7 +3199,7 @@ var ia = (e, t, n) => {
|
|
|
3196
3199
|
n.show(), r.focusTitle();
|
|
3197
3200
|
});
|
|
3198
3201
|
}
|
|
3199
|
-
}, { html: ya } =
|
|
3202
|
+
}, { html: ya } = ce, { until: ba } = xe, xa = class extends qn {
|
|
3200
3203
|
mainFrameId;
|
|
3201
3204
|
lookupEvent;
|
|
3202
3205
|
constructor(e = "", t = () => null) {
|
|
@@ -3208,23 +3211,23 @@ var ia = (e, t, n) => {
|
|
|
3208
3211
|
let t = Number(e.href.replace("#node-", ""));
|
|
3209
3212
|
return ya`<span>${ba(this.#e(t, e.text).then((t) => t || e.text), e.text)}</span>`;
|
|
3210
3213
|
}
|
|
3211
|
-
let
|
|
3212
|
-
if (!
|
|
3213
|
-
let
|
|
3214
|
-
return
|
|
3215
|
-
e.stopPropagation(),
|
|
3216
|
-
}}>${
|
|
3214
|
+
let n = this.lookupEvent(e.href.slice(1));
|
|
3215
|
+
if (!n) return ya`${e.text}`;
|
|
3216
|
+
let r = e.text, i = "";
|
|
3217
|
+
return Yt(n) ? i = n.args.data.url : r += ` (${n.name})`, ya`<a href="#" draggable=false .title=${i} @click=${(e) => {
|
|
3218
|
+
e.stopPropagation(), t(new He(n));
|
|
3219
|
+
}}>${r}</a>`;
|
|
3217
3220
|
}
|
|
3218
3221
|
return super.templateForToken(e);
|
|
3219
3222
|
}
|
|
3220
3223
|
async #e(e, t) {
|
|
3221
3224
|
if (e === void 0) return;
|
|
3222
|
-
let n =
|
|
3225
|
+
let n = b.instance().primaryPageTarget()?.model(_);
|
|
3223
3226
|
if (!n) return;
|
|
3224
|
-
let r = (await n.pushNodesByBackendIdsToFrontend(new Set([e])))?.get(e);
|
|
3225
|
-
if (r && r.frameId() === this.mainFrameId) return
|
|
3227
|
+
let r = (await n.pushNodesByBackendIdsToFrontend(/* @__PURE__ */ new Set([e])))?.get(e);
|
|
3228
|
+
if (r && r.frameId() === this.mainFrameId) return vt.instance().linkify(r, { textContent: t });
|
|
3226
3229
|
}
|
|
3227
|
-
}, { html: J } =
|
|
3230
|
+
}, { html: J } = ce, { until: Sa } = xe, Ca = class e extends qn {
|
|
3228
3231
|
mainFrameId;
|
|
3229
3232
|
constructor(e = "") {
|
|
3230
3233
|
super(), this.mainFrameId = e;
|
|
@@ -3258,7 +3261,7 @@ var ia = (e, t, n) => {
|
|
|
3258
3261
|
<tr class="details-row" style="display: none;">
|
|
3259
3262
|
<td colspan=${n.length} style="background-color: #f0f0f0; padding: 1em;">
|
|
3260
3263
|
<devtools-markdown-view .data=${{
|
|
3261
|
-
tokens:
|
|
3264
|
+
tokens: Qt(t.Details),
|
|
3262
3265
|
renderer: new e(this.mainFrameId)
|
|
3263
3266
|
}}></devtools-markdown-view>
|
|
3264
3267
|
</td>
|
|
@@ -3303,21 +3306,21 @@ var ia = (e, t, n) => {
|
|
|
3303
3306
|
}
|
|
3304
3307
|
async #i(e, t) {
|
|
3305
3308
|
if (e === void 0) return;
|
|
3306
|
-
let n =
|
|
3309
|
+
let n = b.instance().primaryPageTarget()?.model(_);
|
|
3307
3310
|
if (!n) return;
|
|
3308
|
-
let r = (await n.pushNodesByBackendIdsToFrontend(new Set([e])))?.get(e);
|
|
3309
|
-
if (r && r.frameId() === this.mainFrameId) return
|
|
3311
|
+
let r = (await n.pushNodesByBackendIdsToFrontend(/* @__PURE__ */ new Set([e])))?.get(e);
|
|
3312
|
+
if (r && r.frameId() === this.mainFrameId) return vt.instance().linkify(r, { textContent: t });
|
|
3310
3313
|
}
|
|
3311
3314
|
}, wa = /* @__PURE__ */ e({ saveToDisk: () => Ta });
|
|
3312
3315
|
async function Ta(e) {
|
|
3313
|
-
let
|
|
3316
|
+
let t = e.getConversationMarkdown(), n = new $e(t, !1, "text/markdown"), r = et(e.title || "") || "conversation";
|
|
3314
3317
|
r.length > 52 && (r = r.substring(0, 52));
|
|
3315
3318
|
let i = `devtools_${r}.md`;
|
|
3316
|
-
await
|
|
3319
|
+
await rt.instance().save(i, n, !0), rt.instance().close(i);
|
|
3317
3320
|
}
|
|
3318
3321
|
//#endregion
|
|
3319
3322
|
//#region node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/ai_assistance/AiAssistancePanel.ts
|
|
3320
|
-
var { html: Y } =
|
|
3323
|
+
var { html: Y } = ue, { widget: Ea } = Me, Da = "https://crbug.com/364805393", Oa = "https://developer.chrome.com/docs/devtools/ai-assistance", ka = 700, Aa = 400, X = {
|
|
3321
3324
|
newChat: "New chat",
|
|
3322
3325
|
help: "Help",
|
|
3323
3326
|
settings: "Settings",
|
|
@@ -3364,9 +3367,9 @@ var { html: Y } = ye, { widget: Ea } = Le, Da = "https://crbug.com/364805393", O
|
|
|
3364
3367
|
inputDisclaimerForAccessibilityEnterpriseNoLogging: "Chat messages and the selected Lighthouse report are sent to Google. The content you submit and that is generated by this feature will not be used to improve Google’s AI models. This is an experimental AI feature and won’t always get it right.",
|
|
3365
3368
|
inputDisclaimerV2: "Chat messages, data accessible for this site via DevTools panels and Web APIs, and items you select such as network requests, files, and performance traces are sent to Google and may be seen by human reviewers to improve this feature. This is an experimental AI feature and won’t always get it right.",
|
|
3366
3369
|
inputDisclaimerEnterpriseNoLoggingV2: "Chat messages, data accessible for this site via DevTools panels and Web APIs, and items you select such as network requests, files, and performance traces are sent to Google. The content submitted to and generated by this feature will not be used to improve Google’s AI models. This is an experimental AI feature and won’t always get it right."
|
|
3367
|
-
}, ja =
|
|
3370
|
+
}, ja = i("panels/ai_assistance/AiAssistancePanel.ts", X), Q = n.bind(void 0, ja), $ = a;
|
|
3368
3371
|
function Ma(e) {
|
|
3369
|
-
return e && (
|
|
3372
|
+
return e && (Ge.instance().isEnabled("emulationCapabilities") || e.nodeType() === Node.ELEMENT_NODE) ? e : null;
|
|
3370
3373
|
}
|
|
3371
3374
|
async function Na(e) {
|
|
3372
3375
|
let t = e?.selectedContext;
|
|
@@ -3386,7 +3389,7 @@ async function Na(e) {
|
|
|
3386
3389
|
jslogContext: "styling-default"
|
|
3387
3390
|
},
|
|
3388
3391
|
{
|
|
3389
|
-
title:
|
|
3392
|
+
title: Ge.instance().isEnabled("emulationCapabilities") ? "Are there display issues on this page for people using an Android phone?" : "How do I center this element?",
|
|
3390
3393
|
jslogContext: "styling-default"
|
|
3391
3394
|
}
|
|
3392
3395
|
];
|
|
@@ -3450,22 +3453,22 @@ async function Na(e) {
|
|
|
3450
3453
|
title: "How is sessionStorage used on this page?",
|
|
3451
3454
|
jslogContext: "storage-default"
|
|
3452
3455
|
}];
|
|
3453
|
-
default:
|
|
3456
|
+
default: nt(e.type, "Unknown conversation type");
|
|
3454
3457
|
}
|
|
3455
3458
|
}
|
|
3456
3459
|
function Pa(e) {
|
|
3457
3460
|
let t = e?.selectedContext;
|
|
3458
|
-
if (t instanceof
|
|
3461
|
+
if (t instanceof Lt) {
|
|
3459
3462
|
if (!t.external) {
|
|
3460
3463
|
let e = t.getItem();
|
|
3461
3464
|
return new xa(e.parsedTrace.data.Meta.mainFrameId, e.lookupEvent.bind(e));
|
|
3462
3465
|
}
|
|
3463
3466
|
} else if (e?.type === O.PERFORMANCE) return new xa();
|
|
3464
|
-
else if (
|
|
3465
|
-
let e = ((
|
|
3467
|
+
else if (Ge.instance().isEnabled("emulationCapabilities") && e?.type === O.STYLING && b.instance().primaryPageTarget()?.model(_)) {
|
|
3468
|
+
let e = ((b.instance().primaryPageTarget()?.model(_))?.target().model(ge))?.mainFrame?.id;
|
|
3466
3469
|
return new Ca(e);
|
|
3467
3470
|
} else if (e?.type === O.ACCESSIBILITY) {
|
|
3468
|
-
let e = (
|
|
3471
|
+
let e = (b.instance().primaryPageTarget()?.model(_))?.existingDocument()?.documentURL;
|
|
3469
3472
|
return new Xn(e);
|
|
3470
3473
|
}
|
|
3471
3474
|
return new qn();
|
|
@@ -3474,16 +3477,16 @@ var Fa = /* @__PURE__ */ function(e) {
|
|
|
3474
3477
|
return e.DISABLED_VIEW = "disabled-view", e.CHAT_VIEW = "chat-view", e.EXPLORE_VIEW = "explore-view", e;
|
|
3475
3478
|
}({});
|
|
3476
3479
|
function Ia(e) {
|
|
3477
|
-
let t = !!
|
|
3480
|
+
let t = !!w.devToolsAiAssistanceV2?.enabled;
|
|
3478
3481
|
return Y`
|
|
3479
|
-
<div class="toolbar-container" role="toolbar" jslog=${
|
|
3482
|
+
<div class="toolbar-container" role="toolbar" jslog=${Le()}>
|
|
3480
3483
|
<devtools-toolbar class="freestyler-left-toolbar" role="presentation">
|
|
3481
3484
|
${e.showChatActions ? Y`<devtools-button
|
|
3482
3485
|
title=${Q(X.newChat)}
|
|
3483
3486
|
aria-label=${Q(X.newChat)}
|
|
3484
3487
|
.iconName=${"plus"}
|
|
3485
3488
|
.jslogContext=${"freestyler.new-chat"}
|
|
3486
|
-
.variant=${
|
|
3489
|
+
.variant=${d.TOOLBAR}
|
|
3487
3490
|
@click=${e.onNewChatClick}></devtools-button>
|
|
3488
3491
|
<div class="toolbar-divider"></div>
|
|
3489
3492
|
<devtools-menu-button
|
|
@@ -3492,27 +3495,27 @@ function Ia(e) {
|
|
|
3492
3495
|
.iconName=${"history"}
|
|
3493
3496
|
.jslogContext=${"freestyler.history"}
|
|
3494
3497
|
.populateMenuCall=${e.populateHistoryMenu}
|
|
3495
|
-
></devtools-menu-button>` :
|
|
3498
|
+
></devtools-menu-button>` : g}
|
|
3496
3499
|
${e.showActiveConversationActions ? Y`
|
|
3497
3500
|
<devtools-button
|
|
3498
3501
|
title=${Q(X.deleteChat)}
|
|
3499
3502
|
aria-label=${Q(X.deleteChat)}
|
|
3500
3503
|
.iconName=${"bin"}
|
|
3501
3504
|
.jslogContext=${"freestyler.delete"}
|
|
3502
|
-
.variant=${
|
|
3505
|
+
.variant=${d.TOOLBAR}
|
|
3503
3506
|
@click=${e.onDeleteClick}>
|
|
3504
3507
|
</devtools-button>
|
|
3505
|
-
${t ?
|
|
3508
|
+
${t ? g : Y`
|
|
3506
3509
|
<devtools-button
|
|
3507
3510
|
title=${Q(X.exportConversation)}
|
|
3508
3511
|
aria-label=${Q(X.exportConversation)}
|
|
3509
3512
|
.iconName=${"download"}
|
|
3510
3513
|
.disabled=${e.isLoading}
|
|
3511
3514
|
.jslogContext=${"export-ai-conversation"}
|
|
3512
|
-
.variant=${
|
|
3515
|
+
.variant=${d.TOOLBAR}
|
|
3513
3516
|
@click=${e.onExportConversationClick}>
|
|
3514
3517
|
</devtools-button>
|
|
3515
|
-
`}` :
|
|
3518
|
+
`}` : g}
|
|
3516
3519
|
</devtools-toolbar>
|
|
3517
3520
|
<devtools-toolbar class="freestyler-right-toolbar" role="presentation">
|
|
3518
3521
|
<devtools-link
|
|
@@ -3527,14 +3530,14 @@ function Ia(e) {
|
|
|
3527
3530
|
aria-label=${Q(X.help)}
|
|
3528
3531
|
.iconName=${"help"}
|
|
3529
3532
|
.jslogContext=${"freestyler.help"}
|
|
3530
|
-
.variant=${
|
|
3533
|
+
.variant=${d.TOOLBAR}
|
|
3531
3534
|
@click=${e.onHelpClick}></devtools-button>
|
|
3532
3535
|
<devtools-button
|
|
3533
3536
|
title=${Q(X.settings)}
|
|
3534
3537
|
aria-label=${Q(X.settings)}
|
|
3535
3538
|
.iconName=${"gear"}
|
|
3536
3539
|
.jslogContext=${"freestyler.settings"}
|
|
3537
|
-
.variant=${
|
|
3540
|
+
.variant=${d.TOOLBAR}
|
|
3538
3541
|
@click=${e.onSettingsClick}></devtools-button>
|
|
3539
3542
|
</devtools-toolbar>
|
|
3540
3543
|
</div>
|
|
@@ -3545,8 +3548,8 @@ function La(e, t, n) {
|
|
|
3545
3548
|
switch (e.state) {
|
|
3546
3549
|
case "chat-view": return Y`<devtools-ai-chat-view
|
|
3547
3550
|
.props=${e.props}
|
|
3548
|
-
${
|
|
3549
|
-
|
|
3551
|
+
${we((e) => {
|
|
3552
|
+
e && e instanceof Zi && (t.chatView = e);
|
|
3550
3553
|
})}
|
|
3551
3554
|
></devtools-ai-chat-view>`;
|
|
3552
3555
|
case "explore-view": return Y`<devtools-widget class="fill-panel" ${Ea(da)}>
|
|
@@ -3555,13 +3558,13 @@ function La(e, t, n) {
|
|
|
3555
3558
|
</devtools-widget>`;
|
|
3556
3559
|
}
|
|
3557
3560
|
}
|
|
3558
|
-
if (
|
|
3561
|
+
if (w.devToolsAiAssistanceV2?.enabled) {
|
|
3559
3562
|
let t = e.state === "chat-view" && e.props.walkthrough.isExpanded, i = !1;
|
|
3560
3563
|
if (e.state === "chat-view") {
|
|
3561
3564
|
let t = e.props.messages.at(-1);
|
|
3562
3565
|
t && e.props.walkthrough.activeSidebarMessage?.id === t.id && (i = !0);
|
|
3563
3566
|
}
|
|
3564
|
-
|
|
3567
|
+
f(Y`
|
|
3565
3568
|
${Ia(e)}
|
|
3566
3569
|
<div class="ai-assistance-view-container">
|
|
3567
3570
|
<devtools-split-view
|
|
@@ -3580,34 +3583,36 @@ function La(e, t, n) {
|
|
|
3580
3583
|
isLoading: e.props.isLoading && i,
|
|
3581
3584
|
markdownRenderer: e.props.markdownRenderer,
|
|
3582
3585
|
onToggle: e.props.walkthrough.onToggle
|
|
3583
|
-
})}></devtools-widget>` :
|
|
3586
|
+
})}></devtools-widget>` : g}
|
|
3584
3587
|
</devtools-split-view>
|
|
3585
3588
|
</div>
|
|
3586
3589
|
`, n);
|
|
3587
|
-
} else
|
|
3590
|
+
} else f(Y`
|
|
3588
3591
|
${Ia(e)}
|
|
3589
3592
|
<div class="ai-assistance-view-container">${r()}</div>
|
|
3590
3593
|
`, n);
|
|
3591
3594
|
}
|
|
3592
3595
|
function Ra(e) {
|
|
3593
|
-
return e ? new
|
|
3596
|
+
return e ? new gt(e) : null;
|
|
3594
3597
|
}
|
|
3595
3598
|
function za(e) {
|
|
3596
|
-
return e ? new
|
|
3599
|
+
return e ? new Ot(e) : null;
|
|
3597
3600
|
}
|
|
3598
3601
|
function Ba(e) {
|
|
3599
|
-
return e ? new
|
|
3602
|
+
return e ? new ut(e.report) : null;
|
|
3600
3603
|
}
|
|
3601
3604
|
function Va(e) {
|
|
3602
|
-
|
|
3605
|
+
if (!e) return null;
|
|
3606
|
+
let t = cn.instance().networkLogView.timeCalculator();
|
|
3607
|
+
return new lt(e, t);
|
|
3603
3608
|
}
|
|
3604
3609
|
function Ha(e) {
|
|
3605
|
-
return e ? new
|
|
3610
|
+
return e ? new Lt(e) : null;
|
|
3606
3611
|
}
|
|
3607
3612
|
function Ua(e) {
|
|
3608
|
-
return e ? new
|
|
3613
|
+
return e ? new Ct(e) : null;
|
|
3609
3614
|
}
|
|
3610
|
-
var Wa, Ga = class e extends
|
|
3615
|
+
var Wa, Ga = class e extends me {
|
|
3611
3616
|
view;
|
|
3612
3617
|
static panelName = "freestyler";
|
|
3613
3618
|
#e;
|
|
@@ -3616,8 +3621,8 @@ var Wa, Ga = class e extends Se {
|
|
|
3616
3621
|
#r = {};
|
|
3617
3622
|
#i = Za();
|
|
3618
3623
|
#a;
|
|
3619
|
-
#o = new
|
|
3620
|
-
#s = new
|
|
3624
|
+
#o = new mt();
|
|
3625
|
+
#s = new at();
|
|
3621
3626
|
#c;
|
|
3622
3627
|
#l = null;
|
|
3623
3628
|
#u = null;
|
|
@@ -3637,7 +3642,7 @@ var Wa, Ga = class e extends Se {
|
|
|
3637
3642
|
inlineExpandedMessages: []
|
|
3638
3643
|
};
|
|
3639
3644
|
constructor(t = La, { aidaClient: n, aidaAvailability: r }) {
|
|
3640
|
-
super(e.panelName), this.view = t, this.registerRequiredCSS(Gn), this.#a = this.#E(), this.#t = n, this.#_ = r,
|
|
3645
|
+
super(e.panelName), this.view = t, this.registerRequiredCSS(Gn), this.#a = this.#E(), this.#t = n, this.#_ = r, Re.instance().hasAction("elements.toggle-element-search") && (this.#e = Re.instance().getAction("elements.toggle-element-search")), kt.instance().addEventListener(xt.HISTORY_DELETED, this.#ee, this);
|
|
3641
3646
|
}
|
|
3642
3647
|
#x() {
|
|
3643
3648
|
return {
|
|
@@ -3649,7 +3654,7 @@ var Wa, Ga = class e extends Se {
|
|
|
3649
3654
|
onDeleteClick: this.#ne.bind(this),
|
|
3650
3655
|
onExportConversationClick: this.#re.bind(this),
|
|
3651
3656
|
onHelpClick: () => {
|
|
3652
|
-
|
|
3657
|
+
te(Oa);
|
|
3653
3658
|
},
|
|
3654
3659
|
onSettingsClick: () => {
|
|
3655
3660
|
x.instance().showView("chrome-ai");
|
|
@@ -3657,8 +3662,8 @@ var Wa, Ga = class e extends Se {
|
|
|
3657
3662
|
};
|
|
3658
3663
|
}
|
|
3659
3664
|
async #S() {
|
|
3660
|
-
let e =
|
|
3661
|
-
if (this.#_ !==
|
|
3665
|
+
let e = w.aidaAvailability?.blockedByAge === !0;
|
|
3666
|
+
if (this.#_ !== u.AVAILABLE || !this.#a?.getIfNotDisabled() || e) return {
|
|
3662
3667
|
state: "disabled-view",
|
|
3663
3668
|
props: { aidaAvailability: this.#_ }
|
|
3664
3669
|
};
|
|
@@ -3687,14 +3692,14 @@ var Wa, Ga = class e extends Se {
|
|
|
3687
3692
|
uploadImageInputEnabled: Ja() && this.#c.type === O.STYLING,
|
|
3688
3693
|
markdownRenderer: t,
|
|
3689
3694
|
conversationMarkdown: this.#c.getConversationMarkdown(),
|
|
3690
|
-
generateConversationSummary: async (e) => (this.#n ||= new
|
|
3695
|
+
generateConversationSummary: async (e) => (this.#n ||= new Et({
|
|
3691
3696
|
aidaClient: this.#t,
|
|
3692
3697
|
serverSideLoggingEnabled: this.#i
|
|
3693
3698
|
}), await this.#n.summarizeConversation(e)),
|
|
3694
3699
|
onTextSubmit: async (e, t, n) => {
|
|
3695
3700
|
let r = () => {
|
|
3696
|
-
|
|
3697
|
-
}, i =
|
|
3701
|
+
y.actionTaken(C.AiAssistanceQuerySubmitted), this.#ue(e, t, n);
|
|
3702
|
+
}, i = w.devToolsAiAssistanceV2?.enabled, a = s.instance().moduleSetting("ai-assistance-v2-opt-in-change-dialog-seen");
|
|
3698
3703
|
if (i && !a.get()) {
|
|
3699
3704
|
va.show({
|
|
3700
3705
|
onGotIt: () => {
|
|
@@ -3730,7 +3735,7 @@ var Wa, Ga = class e extends Se {
|
|
|
3730
3735
|
return { state: "explore-view" };
|
|
3731
3736
|
}
|
|
3732
3737
|
onResize() {
|
|
3733
|
-
super.onResize(),
|
|
3738
|
+
super.onResize(), w.devToolsAiAssistanceV2?.enabled && this.#C();
|
|
3734
3739
|
}
|
|
3735
3740
|
#C() {
|
|
3736
3741
|
let e = this.contentElement.offsetWidth < ka;
|
|
@@ -3754,20 +3759,24 @@ var Wa, Ga = class e extends Se {
|
|
|
3754
3759
|
}
|
|
3755
3760
|
#E() {
|
|
3756
3761
|
try {
|
|
3757
|
-
return
|
|
3762
|
+
return c("ai-assistance-enabled");
|
|
3758
3763
|
} catch {
|
|
3759
3764
|
return;
|
|
3760
3765
|
}
|
|
3761
3766
|
}
|
|
3762
3767
|
static async instance(t = { forceNew: null }) {
|
|
3763
3768
|
let { forceNew: n } = t;
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3769
|
+
if (!Wa || n) {
|
|
3770
|
+
let t = new ye(), n = await ye.checkAccessPreconditions();
|
|
3771
|
+
Wa = new e(La, {
|
|
3772
|
+
aidaClient: t,
|
|
3773
|
+
aidaAvailability: n
|
|
3774
|
+
});
|
|
3775
|
+
}
|
|
3776
|
+
return Wa;
|
|
3768
3777
|
}
|
|
3769
3778
|
#D() {
|
|
3770
|
-
let e =
|
|
3779
|
+
let e = v.instance().flavor(mn);
|
|
3771
3780
|
e !== this.#v && (this.#v?.removeEventListener(bn.IS_VIEWING_TRACE, this.requestUpdate, this), this.#v = e, this.#v && this.#v.addEventListener(bn.IS_VIEWING_TRACE, this.requestUpdate, this));
|
|
3772
3781
|
}
|
|
3773
3782
|
async #O() {
|
|
@@ -3780,7 +3789,7 @@ var Wa, Ga = class e extends Se {
|
|
|
3780
3789
|
});
|
|
3781
3790
|
}
|
|
3782
3791
|
#A() {
|
|
3783
|
-
let { hostConfig: e } =
|
|
3792
|
+
let { hostConfig: e } = Qe, t = x.instance(), n = t.isViewVisible("elements"), r = t.isViewVisible("network"), i = t.isViewVisible("sources"), a = t.isViewVisible("timeline"), o = t.isViewVisible("lighthouse"), s = t.isViewVisible("resources"), c;
|
|
3784
3793
|
return n && e.devToolsFreestyler?.enabled ? c = O.STYLING : r && e.devToolsAiAssistanceNetworkAgent?.enabled ? c = O.NETWORK : i && e.devToolsAiAssistanceFileAgent?.enabled ? c = O.FILE : a && e.devToolsAiAssistancePerformanceAgent?.enabled ? c = O.PERFORMANCE : o && e.devToolsAiAssistanceAccessibilityAgent?.enabled ? c = O.ACCESSIBILITY : s && e.devToolsAiAssistanceStorageAgent?.enabled && (c = O.STORAGE), Xa() && !c ? O.NONE : c;
|
|
3785
3794
|
}
|
|
3786
3795
|
#j() {
|
|
@@ -3797,7 +3806,7 @@ var Wa, Ga = class e extends Se {
|
|
|
3797
3806
|
this.requestUpdate();
|
|
3798
3807
|
return;
|
|
3799
3808
|
}
|
|
3800
|
-
let t = e ? new
|
|
3809
|
+
let t = e ? new Ft({
|
|
3801
3810
|
type: e,
|
|
3802
3811
|
data: [],
|
|
3803
3812
|
isReadOnly: !1,
|
|
@@ -3815,7 +3824,7 @@ var Wa, Ga = class e extends Se {
|
|
|
3815
3824
|
if (this.#c !== e) {
|
|
3816
3825
|
if (this.#oe(), this.#h = [], this.#g = !1, this.#c?.archiveConversation(), !e) {
|
|
3817
3826
|
let t = this.#A();
|
|
3818
|
-
t && (e = new
|
|
3827
|
+
t && (e = new Ft({
|
|
3819
3828
|
type: t,
|
|
3820
3829
|
data: [],
|
|
3821
3830
|
isReadOnly: !1,
|
|
@@ -3830,23 +3839,25 @@ var Wa, Ga = class e extends Se {
|
|
|
3830
3839
|
}
|
|
3831
3840
|
this.#c = e;
|
|
3832
3841
|
}
|
|
3833
|
-
if (this.#c)
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3842
|
+
if (this.#c) {
|
|
3843
|
+
if (this.#c.isEmpty && Xa()) {
|
|
3844
|
+
let e = this.#se(this.#A());
|
|
3845
|
+
this.#c.setContext(e);
|
|
3846
|
+
} else {
|
|
3847
|
+
let e = this.#se(this.#c.type);
|
|
3848
|
+
(e || !Xa()) && this.#c.setContext(e);
|
|
3849
|
+
}
|
|
3839
3850
|
}
|
|
3840
3851
|
this.requestUpdate();
|
|
3841
3852
|
}
|
|
3842
3853
|
wasShown() {
|
|
3843
|
-
super.wasShown(), this.#r.chatView?.restoreScrollPosition(), this.#r.chatView?.focusTextInput(), this.#N(), this.#u = Ra(Ma(
|
|
3854
|
+
super.wasShown(), this.#r.chatView?.restoreScrollPosition(), this.#r.chatView?.focusTextInput(), this.#N(), this.#u = Ra(Ma(v.instance().flavor(Ve))), this.#f = Va(v.instance().flavor(de)), this.#d = Ha(v.instance().flavor(zt)), this.#l = za(v.instance().flavor(ot)), this.#p = Ba(v.instance().flavor(sn)), this.#m = Ua(v.instance().flavor(Zt)), this.#M(this.#c), this.#a?.addChangeListener(this.requestUpdate, this), be.instance().addEventListener(_e.AIDA_AVAILABILITY_CHANGED, this.#N), this.#e?.addEventListener(Te.TOGGLED, this.requestUpdate, this), v.instance().addFlavorChangeListener(Ve, this.#P), v.instance().addFlavorChangeListener(de, this.#L), v.instance().addFlavorChangeListener(zt, this.#R), v.instance().addFlavorChangeListener(Zt, this.#F), v.instance().addFlavorChangeListener(ot, this.#z), v.instance().addFlavorChangeListener(sn, this.#B), x.instance().addEventListener(ne.VIEW_VISIBILITY_CHANGED, this.#j, this), b.instance().addModelListener(_, Ue.AttrModified, this.#I, this), b.instance().addModelListener(_, Ue.AttrRemoved, this.#I, this), v.instance().addFlavorChangeListener(mn, this.#D, this), this.#D(), this.#j(), y.actionTaken(C.AiAssistancePanelOpened);
|
|
3844
3855
|
}
|
|
3845
3856
|
willHide() {
|
|
3846
|
-
super.willHide(), this.#a?.removeChangeListener(this.requestUpdate, this),
|
|
3857
|
+
super.willHide(), this.#a?.removeChangeListener(this.requestUpdate, this), be.instance().removeEventListener(_e.AIDA_AVAILABILITY_CHANGED, this.#N), this.#e?.removeEventListener(Te.TOGGLED, this.requestUpdate, this), v.instance().removeFlavorChangeListener(Ve, this.#P), v.instance().removeFlavorChangeListener(de, this.#L), v.instance().removeFlavorChangeListener(zt, this.#R), v.instance().removeFlavorChangeListener(Zt, this.#F), v.instance().removeFlavorChangeListener(ot, this.#z), v.instance().removeFlavorChangeListener(sn, this.#B), x.instance().removeEventListener(ne.VIEW_VISIBILITY_CHANGED, this.#j, this), v.instance().removeFlavorChangeListener(mn, this.#D, this), b.instance().removeModelListener(_, Ue.AttrModified, this.#I, this), b.instance().removeModelListener(_, Ue.AttrRemoved, this.#I, this), this.#v &&= (this.#v.removeEventListener(bn.IS_VIEWING_TRACE, this.requestUpdate, this), null);
|
|
3847
3858
|
}
|
|
3848
3859
|
#N = async () => {
|
|
3849
|
-
let e = await
|
|
3860
|
+
let e = await ye.checkAccessPreconditions();
|
|
3850
3861
|
e !== this.#_ && (this.#_ = e, this.requestUpdate());
|
|
3851
3862
|
};
|
|
3852
3863
|
#P = (e) => {
|
|
@@ -3862,17 +3873,17 @@ var Wa, Ga = class e extends Se {
|
|
|
3862
3873
|
if (this.#f?.getItem() !== e.data) {
|
|
3863
3874
|
if (e.data) {
|
|
3864
3875
|
let t = cn.instance().networkLogView.timeCalculator();
|
|
3865
|
-
this.#f = new
|
|
3876
|
+
this.#f = new lt(e.data, t);
|
|
3866
3877
|
} else this.#f = null;
|
|
3867
3878
|
this.#M(this.#c);
|
|
3868
3879
|
}
|
|
3869
3880
|
};
|
|
3870
3881
|
#R = (e) => {
|
|
3871
|
-
this.#d?.getItem() !== e.data && (this.#d = e.data ? new
|
|
3882
|
+
this.#d?.getItem() !== e.data && (this.#d = e.data ? new Lt(e.data) : null, this.#M(this.#c));
|
|
3872
3883
|
};
|
|
3873
3884
|
#z = (e) => {
|
|
3874
3885
|
let t = e.data;
|
|
3875
|
-
|
|
3886
|
+
t && this.#l?.getItem() !== t && (this.#l = new Ot(e.data), this.#M(this.#c));
|
|
3876
3887
|
};
|
|
3877
3888
|
#B = (e) => {
|
|
3878
3889
|
let t = e.data;
|
|
@@ -3880,7 +3891,7 @@ var Wa, Ga = class e extends Se {
|
|
|
3880
3891
|
};
|
|
3881
3892
|
#V() {
|
|
3882
3893
|
if (!hi() || !this.#c || this.#c?.isReadOnly) return;
|
|
3883
|
-
let e = !!
|
|
3894
|
+
let e = !!w.devToolsAiAssistanceV2?.enabled;
|
|
3884
3895
|
return this.#o.formatChangesForPatching(this.#c.id, !e);
|
|
3885
3896
|
}
|
|
3886
3897
|
async performUpdate() {
|
|
@@ -3892,17 +3903,17 @@ var Wa, Ga = class e extends Se {
|
|
|
3892
3903
|
}
|
|
3893
3904
|
#H(e) {
|
|
3894
3905
|
let t = Ka(e);
|
|
3895
|
-
t && (
|
|
3906
|
+
t && (Ce.copyText(t), Xt.show({ message: Q(X.responseCopiedToClipboard) }));
|
|
3896
3907
|
}
|
|
3897
3908
|
#U() {
|
|
3898
|
-
|
|
3909
|
+
v.instance().setFlavor(Vt, new Vt(this.panelName)), this.#e?.execute();
|
|
3899
3910
|
}
|
|
3900
3911
|
#W() {
|
|
3901
3912
|
return !!(this.#c && this.#c.isBlockedByOrigin || !this.#c || !this.#c.selectedContext && !Xa());
|
|
3902
3913
|
}
|
|
3903
3914
|
#G() {
|
|
3904
|
-
let e = this.#a?.getIfNotDisabled(), t =
|
|
3905
|
-
return !(!e || t || this.#_ ===
|
|
3915
|
+
let e = this.#a?.getIfNotDisabled(), t = w.aidaAvailability?.blockedByAge === !0;
|
|
3916
|
+
return !(!e || t || this.#_ === u.NO_ACCOUNT_EMAIL || this.#_ === u.SYNC_IS_PAUSED);
|
|
3906
3917
|
}
|
|
3907
3918
|
#K() {
|
|
3908
3919
|
if (!this.#c) return Q(X.followTheSteps);
|
|
@@ -3911,16 +3922,16 @@ var Wa, Ga = class e extends Se {
|
|
|
3911
3922
|
case O.STYLING: return this.#c.selectedContext ? $(Z.inputPlaceholderForStyling) : $(Z.inputPlaceholderForStylingNoContext);
|
|
3912
3923
|
case O.FILE: return this.#c.selectedContext ? $(Z.inputPlaceholderForFile) : $(Z.inputPlaceholderForFileNoContext);
|
|
3913
3924
|
case O.NETWORK: return this.#c.selectedContext ? $(Z.inputPlaceholderForNetwork) : $(Z.inputPlaceholderForNetworkNoContext);
|
|
3914
|
-
case O.PERFORMANCE: return
|
|
3925
|
+
case O.PERFORMANCE: return v.instance().flavor(mn)?.hasActiveTrace() ? this.#c.selectedContext ? $(Z.inputPlaceholderForPerformanceTrace) : $(Z.inputPlaceholderForPerformanceTraceNoContext) : $(Z.inputPlaceholderForPerformanceWithNoRecording);
|
|
3915
3926
|
case O.ACCESSIBILITY: return this.#c.selectedContext ? $(Z.inputPlaceholderForAccessibility) : $(Z.inputPlaceholderForAccessibilityNoContext);
|
|
3916
3927
|
case O.STORAGE: return $(Z.inputPlaceholderForNoContext);
|
|
3917
|
-
case O.NONE: return
|
|
3928
|
+
case O.NONE: return ct() ? $(Z.inputPlaceholderForNoContextBranded) : $(Z.inputPlaceholderForNoContext);
|
|
3918
3929
|
}
|
|
3919
3930
|
}
|
|
3920
3931
|
#q() {
|
|
3921
3932
|
if (!this.#c || this.#c.isReadOnly) return Q(X.inputDisclaimerForEmptyState);
|
|
3922
|
-
let e =
|
|
3923
|
-
if (
|
|
3933
|
+
let e = w.aidaAvailability?.enterprisePolicyValue !== Ze.ALLOW_WITHOUT_LOGGING;
|
|
3934
|
+
if (w.devToolsAiAssistanceV2?.enabled) return $(e ? Z.inputDisclaimerV2 : Z.inputDisclaimerEnterpriseNoLoggingV2);
|
|
3924
3935
|
switch (this.#c.type) {
|
|
3925
3936
|
case O.STYLING: return $(e ? Z.inputDisclaimerForStyling : Z.inputDisclaimerForStylingEnterpriseNoLogging);
|
|
3926
3937
|
case O.FILE: return $(e ? Z.inputDisclaimerForFile : Z.inputDisclaimerForFileEnterpriseNoLogging);
|
|
@@ -3944,12 +3955,18 @@ var Wa, Ga = class e extends Se {
|
|
|
3944
3955
|
#Y() {
|
|
3945
3956
|
if (!this.#c) return;
|
|
3946
3957
|
let e = this.#c.selectedContext;
|
|
3947
|
-
if (e instanceof
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3958
|
+
if (e instanceof lt) {
|
|
3959
|
+
let n = $t.tab(e.getItem(), en.HEADERS_COMPONENT);
|
|
3960
|
+
return t(n);
|
|
3961
|
+
}
|
|
3962
|
+
if (e instanceof Ot) return t(e.getItem().uiLocation(0, 0));
|
|
3963
|
+
if (e instanceof Lt) {
|
|
3964
|
+
let n = e.getItem();
|
|
3965
|
+
if (n.callTree) {
|
|
3966
|
+
let e = n.callTree.selectedNode?.event ?? n.callTree.rootNode.event, r = new He(e);
|
|
3967
|
+
return t(r);
|
|
3968
|
+
}
|
|
3969
|
+
if (n.insight) return t(n.insight);
|
|
3953
3970
|
}
|
|
3954
3971
|
}
|
|
3955
3972
|
#X() {
|
|
@@ -3959,7 +3976,7 @@ var Wa, Ga = class e extends Se {
|
|
|
3959
3976
|
this.#c?.setContext(this.#se(this.#A())), this.requestUpdate();
|
|
3960
3977
|
}
|
|
3961
3978
|
#Q() {
|
|
3962
|
-
let e = !!
|
|
3979
|
+
let e = !!w.aidaAvailability?.enabled, t = !!w.aidaAvailability?.blockedByAge, n = this.#_ === u.AVAILABLE, r = !!this.#a?.getIfNotDisabled();
|
|
3963
3980
|
return e && n && r && !t;
|
|
3964
3981
|
}
|
|
3965
3982
|
async handleAction(e, t) {
|
|
@@ -3970,30 +3987,28 @@ var Wa, Ga = class e extends Se {
|
|
|
3970
3987
|
let n;
|
|
3971
3988
|
switch (e) {
|
|
3972
3989
|
case "freestyler.elements-floating-button":
|
|
3973
|
-
|
|
3990
|
+
y.actionTaken(C.AiAssistanceOpenedFromElementsPanelFloatingButton), n = O.STYLING;
|
|
3974
3991
|
break;
|
|
3975
3992
|
case "freestyler.element-panel-context":
|
|
3976
|
-
|
|
3993
|
+
y.actionTaken(C.AiAssistanceOpenedFromElementsPanel), n = O.STYLING;
|
|
3977
3994
|
break;
|
|
3978
3995
|
case "drjones.network-floating-button":
|
|
3979
|
-
|
|
3996
|
+
y.actionTaken(C.AiAssistanceOpenedFromNetworkPanelFloatingButton), n = O.NETWORK;
|
|
3980
3997
|
break;
|
|
3981
3998
|
case "drjones.network-panel-context":
|
|
3982
|
-
|
|
3999
|
+
y.actionTaken(C.AiAssistanceOpenedFromNetworkPanel), n = O.NETWORK;
|
|
3983
4000
|
break;
|
|
3984
4001
|
case "drjones.performance-panel-context":
|
|
3985
|
-
|
|
4002
|
+
y.actionTaken(C.AiAssistanceOpenedFromPerformancePanelCallTree), n = O.PERFORMANCE;
|
|
3986
4003
|
break;
|
|
3987
4004
|
case "drjones.sources-floating-button":
|
|
3988
|
-
|
|
3989
|
-
break;
|
|
3990
|
-
case "drjones.sources-panel-context":
|
|
3991
|
-
w.actionTaken(S.AiAssistanceOpenedFromSourcesPanel), n = O.FILE;
|
|
4005
|
+
y.actionTaken(C.AiAssistanceOpenedFromSourcesPanelFloatingButton), n = O.FILE;
|
|
3992
4006
|
break;
|
|
4007
|
+
case "drjones.sources-panel-context": y.actionTaken(C.AiAssistanceOpenedFromSourcesPanel), n = O.FILE;
|
|
3993
4008
|
}
|
|
3994
4009
|
if (!n) return;
|
|
3995
4010
|
let r = this.#c;
|
|
3996
|
-
(!this.#c || this.#c.type !== n || this.#c.isEmpty) && (r = new
|
|
4011
|
+
(!this.#c || this.#c.type !== n || this.#c.isEmpty) && (r = new Ft({
|
|
3997
4012
|
type: n,
|
|
3998
4013
|
data: [],
|
|
3999
4014
|
isReadOnly: !1,
|
|
@@ -4008,12 +4023,12 @@ var Wa, Ga = class e extends Se {
|
|
|
4008
4023
|
let i = t?.prompt;
|
|
4009
4024
|
if (i && typeof i == "string") {
|
|
4010
4025
|
if (!this.#Q()) return;
|
|
4011
|
-
|
|
4026
|
+
y.actionTaken(C.AiAssistanceQuerySubmitted), this.#c && this.#c.isBlockedByOrigin && this.#ae(), await this.#ue(i);
|
|
4012
4027
|
} else this.#r.chatView?.focusTextInput();
|
|
4013
4028
|
}
|
|
4014
4029
|
#$(e) {
|
|
4015
|
-
let t =
|
|
4016
|
-
for (let n of t.reverse()) n.isEmpty
|
|
4030
|
+
let t = kt.instance().getHistory().map((e) => Ft.fromSerializedConversation(e));
|
|
4031
|
+
for (let n of t.reverse()) !n.isEmpty && n.title && e.defaultSection().appendCheckboxItem(n.title, () => {
|
|
4017
4032
|
this.#ie(n);
|
|
4018
4033
|
}, {
|
|
4019
4034
|
checked: this.#c?.id === n.id,
|
|
@@ -4021,7 +4036,7 @@ var Wa, Ga = class e extends Se {
|
|
|
4021
4036
|
});
|
|
4022
4037
|
let n = e.defaultSection().items.length === 0;
|
|
4023
4038
|
n && e.defaultSection().appendItem(Q(X.noPastConversations), () => {}, { disabled: !0 }), e.footerSection().appendItem(Q(X.clearChatHistory), () => {
|
|
4024
|
-
|
|
4039
|
+
kt.instance().deleteAll();
|
|
4025
4040
|
}, { disabled: n });
|
|
4026
4041
|
}
|
|
4027
4042
|
#ee() {
|
|
@@ -4031,7 +4046,7 @@ var Wa, Ga = class e extends Se {
|
|
|
4031
4046
|
this.#b.isExpanded = !1, this.#b.activeSidebarMessage = null, this.#b.inlineExpandedMessages = [];
|
|
4032
4047
|
}
|
|
4033
4048
|
#ne() {
|
|
4034
|
-
this.#c && (this.#te(),
|
|
4049
|
+
this.#c && (this.#te(), kt.instance().deleteHistoryEntry(this.#c.id), this.#M(), he.alert(Q(X.chatDeleted)));
|
|
4035
4050
|
}
|
|
4036
4051
|
async #re() {
|
|
4037
4052
|
if (this.#c) return await Ta(this.#c);
|
|
@@ -4040,7 +4055,7 @@ var Wa, Ga = class e extends Se {
|
|
|
4040
4055
|
this.#c?.id !== e.id && (this.#M(e), await this.#de(e.history));
|
|
4041
4056
|
}
|
|
4042
4057
|
#ae() {
|
|
4043
|
-
this.#M(), this.#te(),
|
|
4058
|
+
this.#M(), this.#te(), he.alert(Q(X.newChatCreated)), Se.annotationsEnabled() && Se.instance().deleteAllAnnotations();
|
|
4044
4059
|
}
|
|
4045
4060
|
#oe() {
|
|
4046
4061
|
this.#y.abort(), this.#y = new AbortController();
|
|
@@ -4058,7 +4073,7 @@ var Wa, Ga = class e extends Se {
|
|
|
4058
4073
|
}
|
|
4059
4074
|
}
|
|
4060
4075
|
#ce = (e) => {
|
|
4061
|
-
e instanceof
|
|
4076
|
+
e instanceof Ot ? this.#l = e : e instanceof gt ? this.#u = e : e instanceof lt ? this.#f = e : e instanceof Lt ? this.#d = e : e instanceof ut ? this.#p = e : e instanceof Ct && (this.#m = e), Ye(`context-change-${this.#c?.type}`), this.requestUpdate();
|
|
4062
4077
|
};
|
|
4063
4078
|
async #le() {
|
|
4064
4079
|
if (!this.#e) return null;
|
|
@@ -4067,12 +4082,12 @@ var Wa, Ga = class e extends Se {
|
|
|
4067
4082
|
t.data && (e(Ma(t.data)), r());
|
|
4068
4083
|
}, n = (t) => {
|
|
4069
4084
|
t.data || window.setTimeout(() => {
|
|
4070
|
-
e(Ma(
|
|
4085
|
+
e(Ma(v.instance().flavor(Ve))), r();
|
|
4071
4086
|
}, 50);
|
|
4072
4087
|
}, r = () => {
|
|
4073
|
-
|
|
4088
|
+
v.instance().removeFlavorChangeListener(Ve, t), this.#e?.removeEventListener(Te.TOGGLED, n);
|
|
4074
4089
|
};
|
|
4075
|
-
|
|
4090
|
+
v.instance().addFlavorChangeListener(Ve, t), this.#e?.addEventListener(Te.TOGGLED, n), this.#y.signal.addEventListener("abort", () => {
|
|
4076
4091
|
e(null), r();
|
|
4077
4092
|
}, { once: !0 });
|
|
4078
4093
|
});
|
|
@@ -4087,13 +4102,13 @@ var Wa, Ga = class e extends Se {
|
|
|
4087
4102
|
if (!this.#c) return;
|
|
4088
4103
|
this.#oe();
|
|
4089
4104
|
let r = this.#y.signal;
|
|
4090
|
-
this.#c.isEmpty && dt.instance().recordAction(
|
|
4091
|
-
let i =
|
|
4105
|
+
this.#c.isEmpty && dt.instance().recordAction(Nt.STARTED_AI_CONVERSATION);
|
|
4106
|
+
let i = Ge.instance().isEnabled("emulationCapabilities"), a, o = this.#c.getPendingMultimodalInput();
|
|
4092
4107
|
i && o ? a = o : Ya() && t && n && (a = {
|
|
4093
4108
|
input: t,
|
|
4094
4109
|
id: crypto.randomUUID(),
|
|
4095
4110
|
type: n
|
|
4096
|
-
}),
|
|
4111
|
+
}), Ye(`start-conversation-${this.#c.type}`, "ui"), await this.#de(this.#c.run(e, {
|
|
4097
4112
|
signal: r,
|
|
4098
4113
|
multimodalInput: a
|
|
4099
4114
|
}));
|
|
@@ -4108,7 +4123,7 @@ var Wa, Ga = class e extends Se {
|
|
|
4108
4123
|
}, n = { isLoading: !0 };
|
|
4109
4124
|
function r() {
|
|
4110
4125
|
let e = t.parts.at(-1);
|
|
4111
|
-
e?.type
|
|
4126
|
+
(e?.type !== "step" || e.step !== n) && t.parts.push({
|
|
4112
4127
|
type: "step",
|
|
4113
4128
|
step: n
|
|
4114
4129
|
});
|
|
@@ -4117,7 +4132,7 @@ var Wa, Ga = class e extends Se {
|
|
|
4117
4132
|
let i = !1, a = !1;
|
|
4118
4133
|
for await (let o of e) {
|
|
4119
4134
|
switch (n.requestApproval = void 0, o.type) {
|
|
4120
|
-
case
|
|
4135
|
+
case E.USER_QUERY:
|
|
4121
4136
|
this.#h.push({
|
|
4122
4137
|
entity: Sr.USER,
|
|
4123
4138
|
text: o.query,
|
|
@@ -4129,19 +4144,19 @@ var Wa, Ga = class e extends Se {
|
|
|
4129
4144
|
id: crypto.randomUUID()
|
|
4130
4145
|
}, this.#h.push(t), this.#b.isExpanded && !this.#b.isInlined && this.#w(t);
|
|
4131
4146
|
break;
|
|
4132
|
-
case
|
|
4147
|
+
case E.QUERYING:
|
|
4133
4148
|
n = { isLoading: !0 }, t.parts.length || r();
|
|
4134
4149
|
break;
|
|
4135
|
-
case
|
|
4150
|
+
case E.CONTEXT:
|
|
4136
4151
|
n.title = $(Z.analyzingData), n.contextDetails = o.details, n.widgets = o.widgets, n.isLoading = !1, r();
|
|
4137
4152
|
break;
|
|
4138
|
-
case
|
|
4153
|
+
case E.TITLE:
|
|
4139
4154
|
n.title = o.title, r();
|
|
4140
4155
|
break;
|
|
4141
|
-
case
|
|
4156
|
+
case E.THOUGHT:
|
|
4142
4157
|
n.isLoading = !1, n.thought = o.thought, r();
|
|
4143
4158
|
break;
|
|
4144
|
-
case
|
|
4159
|
+
case E.SUGGESTIONS: {
|
|
4145
4160
|
let e = t.parts.at(-1);
|
|
4146
4161
|
e?.type === "answer" ? e.suggestions = o.suggestions : t.parts.push({
|
|
4147
4162
|
type: "answer",
|
|
@@ -4150,7 +4165,7 @@ var Wa, Ga = class e extends Se {
|
|
|
4150
4165
|
});
|
|
4151
4166
|
break;
|
|
4152
4167
|
}
|
|
4153
|
-
case
|
|
4168
|
+
case E.SIDE_EFFECT:
|
|
4154
4169
|
n.isLoading = !1, n.code ??= o.code, n.requestApproval = {
|
|
4155
4170
|
description: o.description,
|
|
4156
4171
|
onAnswer: (e) => {
|
|
@@ -4158,10 +4173,10 @@ var Wa, Ga = class e extends Se {
|
|
|
4158
4173
|
}
|
|
4159
4174
|
}, r();
|
|
4160
4175
|
break;
|
|
4161
|
-
case
|
|
4176
|
+
case E.ACTION:
|
|
4162
4177
|
n.isLoading = !1, n.code ??= o.code, n.output ??= o.output, n.canceled = o.canceled, n.widgets ??= o.widgets, r();
|
|
4163
4178
|
break;
|
|
4164
|
-
case
|
|
4179
|
+
case E.ANSWER: {
|
|
4165
4180
|
t.rpcId = o.rpcId;
|
|
4166
4181
|
let e = t.parts.at(-1);
|
|
4167
4182
|
if (e?.type === "answer") e.text = o.text, o.suggestions && (e.suggestions = o.suggestions);
|
|
@@ -4172,7 +4187,7 @@ var Wa, Ga = class e extends Se {
|
|
|
4172
4187
|
};
|
|
4173
4188
|
o.suggestions && (e.suggestions = o.suggestions), t.parts.push(e);
|
|
4174
4189
|
}
|
|
4175
|
-
if (o.widgets &&
|
|
4190
|
+
if (o.widgets && w.devToolsAiAssistanceV2?.enabled && t.parts.push({
|
|
4176
4191
|
type: "widget",
|
|
4177
4192
|
widgets: o.widgets
|
|
4178
4193
|
}), t.parts.length > 1) {
|
|
@@ -4182,25 +4197,23 @@ var Wa, Ga = class e extends Se {
|
|
|
4182
4197
|
n.isLoading = !1;
|
|
4183
4198
|
break;
|
|
4184
4199
|
}
|
|
4185
|
-
case
|
|
4200
|
+
case E.ERROR: {
|
|
4186
4201
|
t.error = o.error;
|
|
4187
4202
|
let e = t.parts.at(-1);
|
|
4188
4203
|
if (e?.type === "step") {
|
|
4189
4204
|
let n = e.step;
|
|
4190
|
-
o.error ===
|
|
4205
|
+
o.error === D.ABORT ? n.canceled = !0 : n.isLoading && t.parts.pop();
|
|
4191
4206
|
}
|
|
4192
|
-
o.error ===
|
|
4207
|
+
o.error === D.BLOCK && t.parts.at(-1)?.type === "answer" && t.parts.pop();
|
|
4193
4208
|
break;
|
|
4194
4209
|
}
|
|
4195
|
-
case
|
|
4196
|
-
this.#ce(o.context), n.isLoading = !1, n.widgets = o.widgets, r(), n = { isLoading: !0 };
|
|
4197
|
-
break;
|
|
4210
|
+
case E.CONTEXT_CHANGE: this.#ce(o.context), n.isLoading = !1, n.widgets = o.widgets, r(), n = { isLoading: !0 };
|
|
4198
4211
|
}
|
|
4199
|
-
if (!this.#c?.isReadOnly) switch (this.requestUpdate(), (o.type ===
|
|
4200
|
-
case
|
|
4201
|
-
|
|
4212
|
+
if (!this.#c?.isReadOnly) switch (this.requestUpdate(), (o.type === E.CONTEXT || o.type === E.SIDE_EFFECT) && this.#r.chatView?.scrollToBottom(), o.type) {
|
|
4213
|
+
case E.CONTEXT:
|
|
4214
|
+
he.status($(Z.analyzingData));
|
|
4202
4215
|
break;
|
|
4203
|
-
case
|
|
4216
|
+
case E.ANSWER: !o.complete && !i ? (i = !0, he.status($(Z.answerLoading))) : o.complete && !a && (a = !0, he.status($(Z.answerReady)));
|
|
4204
4217
|
}
|
|
4205
4218
|
}
|
|
4206
4219
|
this.#g = !1, this.requestUpdate();
|
|
@@ -4214,7 +4227,7 @@ function Ka(e) {
|
|
|
4214
4227
|
for (let n of e.parts) if (n.type === "answer") t.push(`### Answer\n\n${n.text}`);
|
|
4215
4228
|
else if (n.type === "step") {
|
|
4216
4229
|
let e = n.step;
|
|
4217
|
-
e.title && t.push(`### ${e.title}`), e.contextDetails && t.push(
|
|
4230
|
+
e.title && t.push(`### ${e.title}`), e.contextDetails && t.push(bt(e.contextDetails)), e.thought && t.push(e.thought), e.code && t.push(`**Code executed:**\n\`\`\`\n${e.code.trim()}\n\`\`\``), e.output && t.push(`**Data returned:**\n\`\`\`\n${e.output}\n\`\`\``);
|
|
4218
4231
|
}
|
|
4219
4232
|
return t.join("\n\n");
|
|
4220
4233
|
}
|
|
@@ -4232,24 +4245,24 @@ var qa = class {
|
|
|
4232
4245
|
let e = x.instance().view(Ga.panelName);
|
|
4233
4246
|
if (!e) return;
|
|
4234
4247
|
await x.instance().showView(Ga.panelName);
|
|
4235
|
-
let r =
|
|
4236
|
-
|
|
4248
|
+
let r = fe.instance().totalSize() / 4;
|
|
4249
|
+
fe.instance().drawerSize() < r && fe.instance().setDrawerSize(r), (await e.widget()).handleAction(t, n);
|
|
4237
4250
|
})(), !0;
|
|
4238
4251
|
}
|
|
4239
4252
|
return !1;
|
|
4240
4253
|
}
|
|
4241
4254
|
};
|
|
4242
4255
|
function Ja() {
|
|
4243
|
-
return Ya() && !!
|
|
4256
|
+
return Ya() && !!w.devToolsFreestyler?.multimodalUploadInput;
|
|
4244
4257
|
}
|
|
4245
4258
|
function Ya() {
|
|
4246
|
-
return !!
|
|
4259
|
+
return !!w.devToolsFreestyler?.multimodal;
|
|
4247
4260
|
}
|
|
4248
4261
|
function Xa() {
|
|
4249
|
-
return !!
|
|
4262
|
+
return !!w.devToolsAiAssistanceContextSelectionAgent?.enabled;
|
|
4250
4263
|
}
|
|
4251
4264
|
function Za() {
|
|
4252
|
-
return !
|
|
4265
|
+
return !w.aidaAvailability?.disallowLogging;
|
|
4253
4266
|
}
|
|
4254
4267
|
//#endregion
|
|
4255
4268
|
export { Xn as AccessibilityAgentMarkdownRenderer, qa as ActionDelegate, Ga as AiAssistancePanel, _i as ChatInput, gr as ChatMessage, Zi as ChatView, $i as DisabledWidget, sa as ExploreWidget, wa as ExportConversation, Pi as ExportForAgentsDialog, qn as MarkdownRendererWithCodeBlock, pa as OptInChangeDialog, li as PatchWidget, si as SELECT_WORKSPACE_DIALOG_DEFAULT_VIEW, ci as SelectWorkspaceDialog, Fa as ViewState, Qn as WalkthroughUtils, nr as WalkthroughView, Yi as getCSSChangeSummaryMessage, Ka as getResponseMarkdown };
|