@qqbrowser/qbot-dsh 0.1.5 → 0.1.6
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/config/agent-presets/code/agent.cordis.yml +2 -0
- package/config/agent-presets/standard/agent.cordis.yml +2 -0
- package/cordis.patch.yml +4 -0
- package/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-agent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-presets/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-app-boot/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +2 -0
- package/node_modules/@deepseek-ai/dsh-base/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-bash-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-browser-jsapi/LICENSE +21 -0
- package/node_modules/@deepseek-ai/dsh-browser-jsapi/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-browser-jsapi/lib/invariant.js +1 -0
- package/node_modules/@deepseek-ai/dsh-browser-jsapi/lib/types/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-browser-jsapi/lib/types/invariant.js +1 -0
- package/node_modules/@deepseek-ai/dsh-browser-jsapi/lib/types/types.js +1 -0
- package/node_modules/@deepseek-ai/dsh-browser-jsapi/package.json +1 -0
- package/node_modules/@deepseek-ai/dsh-client-connection/lib/client.js +13 -13
- package/node_modules/@deepseek-ai/dsh-client-connection/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-locale/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +3 -3
- package/node_modules/@deepseek-ai/dsh-client-runtime/lib/client.js +4 -4
- package/node_modules/@deepseek-ai/dsh-client-runtime/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jsapi-bridge/LICENSE +21 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-jsapi-bridge/lib/client.js +1 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-jsapi-bridge/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-jsapi-bridge/lib/invariant.js +1 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-jsapi-bridge/package.json +1 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-web/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-client-web/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-code-runtime-worker-thread/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-command-compact/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-command-goal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-commands/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-compaction/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-fs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-goal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-headless/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-home-paths/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/index.js +7 -7
- package/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/types/api/browser-jsapi.js +1 -0
- package/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/types/api/browser-jsapi.schema.js +1 -0
- package/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/types/api/events.schema.js +1 -1
- package/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/types/api-proxy.js +1 -1
- package/node_modules/@deepseek-ai/dsh-host-apiproxy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-jobs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-schedule/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-session/lib/types/known-event-types.js +1 -1
- package/node_modules/@deepseek-ai/dsh-session/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-projection/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-query/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-reference/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-stats/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-title/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-settings/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-settings-file/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-shell/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-shell-env/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-spill/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-spill-local/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-storage-json/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-subprocess/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-terminal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-time-context/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-timeout/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-token-meter/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-browser/LICENSE +21 -0
- package/node_modules/@deepseek-ai/dsh-tool-browser/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-tool-browser/lib/invariant.js +1 -0
- package/node_modules/@deepseek-ai/dsh-tool-browser/package.json +1 -0
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/index.js +14 -5
- package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent-report/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-web/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tools/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-user-approval/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-user-questions/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/{index-fPGOmJjK.js → index-DfZHS_gV.js} +31 -31
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +1 -1
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-workflow/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-workflow-worker-thread/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-workspace/package.json +1 -1
- package/package.json +1 -1
package/cordis.patch.yml
CHANGED
|
@@ -30,6 +30,10 @@
|
|
|
30
30
|
printUrl: false
|
|
31
31
|
surfaceContext: true
|
|
32
32
|
trustedHosts: !!js ctx.webStartup.trustedHosts
|
|
33
|
+
- id: ui-jsapi-bridge
|
|
34
|
+
disabled: false
|
|
35
|
+
config:
|
|
36
|
+
parentOrigin: 'chrome-extension://pnjdfopbipfbdfneodiihehcmonliamm'
|
|
33
37
|
- insert:
|
|
34
38
|
- id: qb-auth
|
|
35
39
|
name: '@qqbrowser/qbot-dsh/qb-auth'
|
package/lib/client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var F=Object.defineProperty;var n=(u,h)=>F(u,"name",{value:h,configurable:!0});window.__ModuleLoader__.load({id:"@qqbrowser/qbot-dsh",factory:n(u=>{var h={exports:{}},k=h.exports;Object.defineProperty(k,Symbol.toStringTag,{value:"Module"});let S=u("@deepseek-ai/dsh-client-runtime/client"),l=u("react/jsx-runtime"),v=u("@deepseek-ai/dsh-client-ui-primitives");function q(){return globalThis.crypto.randomUUID()}n(q,"eventId");var I=class{static{n(this,"PostMessageAnalytics")}target;targetOrigin;constructor(e,t="*"){this.target=e,this.targetOrigin=t}emit(e){const{name:t,occurredAt:s,...i}=e;this.target.postMessage({channel:"dsh-web-analytics",version:1,eventId:q(),event:t,timestamp:s,data:i},this.targetOrigin)}};function g(e,t){try{e.emit(t)}catch{}}n(g,"emitAnalytics");var x=class{static{n(this,"QbotAnalyticsTracker")}sink;turns=new Map;lastSeq=new Map;constructor(e){this.sink=e}handle(e,t){const s=String(e),i=this.lastSeq.get(s);if(!(i!==void 0&&t.seq<=i))switch(this.lastSeq.set(s,t.seq),t.type){case"turn/start":this.turns.set(s,{turn:t.data.turn,firstTokenReported:!1});return;case"step/start":{const r=this.stateFor(s,t.data.turn);r.step=t.data.step;return}case"user/message":if(t.data.source.kind!=="user")return;this.questionSent(s,t,this.turns.get(s));return;case"assistant/chunk":if(!(0,S.isTokenDelta)(t.data.chunk))return;this.firstToken(s,t,this.turns.get(s));return;case"assistant/message":{const r=this.stateFor(s,t.data.turn);r.assistantMessageId=String(t.data.message.id),r.step=t.data.step;return}case"turn/end":this.answerCompleted(s,t,this.turns.get(s)),this.turns.delete(s);return;default:return}}clear(e){const t=String(e);this.turns.delete(t),this.lastSeq.delete(t)}stateFor(e,t){const s=this.turns.get(e);if(s!==void 0)return t!==void 0&&(s.turn=t),s;const i={turn:t??0,firstTokenReported:!1};return this.turns.set(e,i),i}questionSent(e,t,s){const i=String(t.data.id),r=s??this.stateFor(e,void 0);r.userMessageId===void 0&&(r.userMessageId=i),r.questionAt===void 0&&(r.questionAt=t.time),g(this.sink,{name:"send",occurredAt:t.time,sessionId:e,userMessageId:i,eventSeq:t.seq,...r.turn>0?{turn:r.turn}:{},...r.step===void 0?{}:{step:r.step}})}firstToken(e,t,s){const i=s??this.stateFor(e,t.data.turn);i.turn=t.data.turn,i.step=t.data.step,!i.firstTokenReported&&(i.firstTokenReported=!0,g(this.sink,{name:"ai_first_token",occurredAt:t.time,sessionId:e,eventSeq:t.seq,turn:t.data.turn,step:t.data.step,...i.userMessageId===void 0?{}:{userMessageId:i.userMessageId},...i.questionAt===void 0?{}:{latencyMs:Math.max(0,t.time-i.questionAt)}}))}answerCompleted(e,t,s){g(this.sink,{name:"ai_reply_complete",occurredAt:t.time,sessionId:e,eventSeq:t.seq,turn:t.data.turn,status:t.data.reason.kind,...s?.userMessageId===void 0?{}:{userMessageId:s.userMessageId},...s?.assistantMessageId===void 0?{}:{assistantMessageId:s.assistantMessageId},...s?.questionAt===void 0?{}:{durationMs:Math.max(0,t.time-s.questionAt)}})}};const y="qbot.analytics",M={kind:"qbot-analytics-event",target:y,match:n(e=>e.type==="turn/start"||e.type==="step/start"||e.type==="user/message"&&e.data.source.kind==="user"||e.type==="assistant/chunk"&&(0,S.isTokenDelta)(e.data.chunk)||e.type==="assistant/message"||e.type==="turn/end"?{id:String(e.seq),role:"start"}:null,"match"),start:n((e,t)=>t.event,"start"),update:n(e=>e.state,"update"),buildViewNode:n(e=>{const t=e.start;return t===void 0?null:{key:e.key,kind:"qbot-analytics-event",id:e.id,target:y,data:{event:t.event,location:t.location}}},"buildViewNode")},A={target:y,create:n(()=>{let e=0;return{empty:{revision:e,live:[]},replace:n(()=>({revision:++e,live:[]}),"replace"),apply:n(({upserts:t})=>({revision:++e,live:t}),"apply")}},"create")};function E(e,t){const s=e.workspaces,i=Reflect.get(s,"startSession"),r=n(p=>{const f=s.list.getSnapshot(),o=e.sessions.list.getSnapshot().current,a=o===void 0?void 0:f.items.find(m=>m.sessionIds.includes(o))?.workspaceId,c=p??a??f.recentWorkspaceId;g(t,{name:"new_session",occurredAt:Date.now(),...o===void 0?{}:{currentSessionId:String(o)},...c===void 0?{}:{workspaceId:String(c)}}),i.call(s,p)},"decorated");return s.startSession=r,()=>{s.startSession===r&&(s.startSession=i)}}n(E,"installNewSessionAnalytics");function j(e,t){const s=new x(t),i=new Map,r=n(o=>{if(i.has(o))return;const a=e.sessions.binding(o)?.session;if(a===void 0)return;const c={session:a,revision:void 0,dispose:n(()=>{},"dispose")},m=n(()=>{const w=a.getSnapshot().views.get(y);if(!(w===void 0||w.revision===c.revision)){c.revision=w.revision;for(const L of w.live)s.handle(o,L.data.event)}},"consume");c.dispose=a.subscribe(m),i.set(o,c),m()},"watch"),p=n(()=>{const o=new Set(e.sessions.list.getSnapshot().ids);for(const a of o)r(a);for(const[a,c]of i)o.has(a)||(c.dispose(),i.delete(a),s.clear(a))},"reconcile"),f=e.sessions.list.subscribe(p);return p(),()=>{f();for(const o of i.values())o.dispose();i.clear()}}n(j,"installSessionAnalytics");const T={"policy.nav":"政策说明","policy.title":"政策说明","policy.intro":"请阅读下述条款,使用本服务表示您已同意相关约定。","policy.harness":"DeepSeek Harness","policy.security":"DeepSeek安全使用政策","policy.data":"DeepSeek数据使用说明","policy.browser":"QQ浏览器服务规则"},D={"policy.nav":"Policy","policy.title":"Policy","policy.intro":"Please read the following terms. Using this service means you agree to them.","policy.harness":"DeepSeek Harness","policy.security":"DeepSeek Security Policy","policy.data":"DeepSeek Data Usage Notice","policy.browser":"QQ Browser Service Rules"},N=[{id:"harness",label:"policy.harness",href:"https://harness.io"},{id:"security",label:"policy.security",href:"https://harness.io/security"},{id:"data",label:"policy.data",href:"https://harness.io/data"},{id:"browser",label:"policy.browser",href:"https://harness.io/browser"}],Z=".EZ91Ia_section{max-width:720px;color:var(--dsw-alias-label-primary);flex-direction:column;gap:19px;display:flex}.EZ91Ia_title{margin:0;font-size:18px;font-weight:500;line-height:19px}.EZ91Ia_intro{color:var(--dsw-alias-label-tertiary);margin:0;font-size:16px;line-height:19px}.EZ91Ia_links{border:1px solid var(--dsw-alias-border-l2);border-radius:16px;padding:0 19px;overflow:hidden}.EZ91Ia_link{box-sizing:border-box;border:0;border-bottom:1px solid var(--dsw-alias-border-l1);min-height:64px;color:var(--dsw-alias-label-primary);font:inherit;cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:16px;font-size:16px;line-height:20px;text-decoration:none;display:flex}.EZ91Ia_link:last-child{border-bottom:0}.EZ91Ia_icon{flex:none}",_="@qqbrowser/qbot-dsh/PolicySection.module.css";if(typeof document<"u"&&document.querySelector("style[data-plugin-css="+JSON.stringify(_)+"]")===null){const e=document.createElement("style");e.dataset.plugin="@qqbrowser/qbot-dsh",e.dataset.pluginCss=_,e.textContent=Z,document.head.appendChild(e)}var d={
|
|
1
|
+
var F=Object.defineProperty;var n=(u,h)=>F(u,"name",{value:h,configurable:!0});window.__ModuleLoader__.load({id:"@qqbrowser/qbot-dsh",factory:n(u=>{var h={exports:{}},k=h.exports;Object.defineProperty(k,Symbol.toStringTag,{value:"Module"});let S=u("@deepseek-ai/dsh-client-runtime/client"),l=u("react/jsx-runtime"),v=u("@deepseek-ai/dsh-client-ui-primitives");function q(){return globalThis.crypto.randomUUID()}n(q,"eventId");var I=class{static{n(this,"PostMessageAnalytics")}target;targetOrigin;constructor(e,t="*"){this.target=e,this.targetOrigin=t}emit(e){const{name:t,occurredAt:s,...i}=e;this.target.postMessage({channel:"dsh-web-analytics",version:1,eventId:q(),event:t,timestamp:s,data:i},this.targetOrigin)}};function g(e,t){try{e.emit(t)}catch{}}n(g,"emitAnalytics");var x=class{static{n(this,"QbotAnalyticsTracker")}sink;turns=new Map;lastSeq=new Map;constructor(e){this.sink=e}handle(e,t){const s=String(e),i=this.lastSeq.get(s);if(!(i!==void 0&&t.seq<=i))switch(this.lastSeq.set(s,t.seq),t.type){case"turn/start":this.turns.set(s,{turn:t.data.turn,firstTokenReported:!1});return;case"step/start":{const r=this.stateFor(s,t.data.turn);r.step=t.data.step;return}case"user/message":if(t.data.source.kind!=="user")return;this.questionSent(s,t,this.turns.get(s));return;case"assistant/chunk":if(!(0,S.isTokenDelta)(t.data.chunk))return;this.firstToken(s,t,this.turns.get(s));return;case"assistant/message":{const r=this.stateFor(s,t.data.turn);r.assistantMessageId=String(t.data.message.id),r.step=t.data.step;return}case"turn/end":this.answerCompleted(s,t,this.turns.get(s)),this.turns.delete(s);return;default:return}}clear(e){const t=String(e);this.turns.delete(t),this.lastSeq.delete(t)}stateFor(e,t){const s=this.turns.get(e);if(s!==void 0)return t!==void 0&&(s.turn=t),s;const i={turn:t??0,firstTokenReported:!1};return this.turns.set(e,i),i}questionSent(e,t,s){const i=String(t.data.id),r=s??this.stateFor(e,void 0);r.userMessageId===void 0&&(r.userMessageId=i),r.questionAt===void 0&&(r.questionAt=t.time),g(this.sink,{name:"send",occurredAt:t.time,sessionId:e,userMessageId:i,eventSeq:t.seq,...r.turn>0?{turn:r.turn}:{},...r.step===void 0?{}:{step:r.step}})}firstToken(e,t,s){const i=s??this.stateFor(e,t.data.turn);i.turn=t.data.turn,i.step=t.data.step,!i.firstTokenReported&&(i.firstTokenReported=!0,g(this.sink,{name:"ai_first_token",occurredAt:t.time,sessionId:e,eventSeq:t.seq,turn:t.data.turn,step:t.data.step,...i.userMessageId===void 0?{}:{userMessageId:i.userMessageId},...i.questionAt===void 0?{}:{latencyMs:Math.max(0,t.time-i.questionAt)}}))}answerCompleted(e,t,s){g(this.sink,{name:"ai_reply_complete",occurredAt:t.time,sessionId:e,eventSeq:t.seq,turn:t.data.turn,status:t.data.reason.kind,...s?.userMessageId===void 0?{}:{userMessageId:s.userMessageId},...s?.assistantMessageId===void 0?{}:{assistantMessageId:s.assistantMessageId},...s?.questionAt===void 0?{}:{durationMs:Math.max(0,t.time-s.questionAt)}})}};const y="qbot.analytics",M={kind:"qbot-analytics-event",target:y,match:n(e=>e.type==="turn/start"||e.type==="step/start"||e.type==="user/message"&&e.data.source.kind==="user"||e.type==="assistant/chunk"&&(0,S.isTokenDelta)(e.data.chunk)||e.type==="assistant/message"||e.type==="turn/end"?{id:String(e.seq),role:"start"}:null,"match"),start:n((e,t)=>t.event,"start"),update:n(e=>e.state,"update"),buildViewNode:n(e=>{const t=e.start;return t===void 0?null:{key:e.key,kind:"qbot-analytics-event",id:e.id,target:y,data:{event:t.event,location:t.location}}},"buildViewNode")},A={target:y,create:n(()=>{let e=0;return{empty:{revision:e,live:[]},replace:n(()=>({revision:++e,live:[]}),"replace"),apply:n(({upserts:t})=>({revision:++e,live:t}),"apply")}},"create")};function E(e,t){const s=e.workspaces,i=Reflect.get(s,"startSession"),r=n(p=>{const f=s.list.getSnapshot(),o=e.sessions.list.getSnapshot().current,a=o===void 0?void 0:f.items.find(m=>m.sessionIds.includes(o))?.workspaceId,c=p??a??f.recentWorkspaceId;g(t,{name:"new_session",occurredAt:Date.now(),...o===void 0?{}:{currentSessionId:String(o)},...c===void 0?{}:{workspaceId:String(c)}}),i.call(s,p)},"decorated");return s.startSession=r,()=>{s.startSession===r&&(s.startSession=i)}}n(E,"installNewSessionAnalytics");function j(e,t){const s=new x(t),i=new Map,r=n(o=>{if(i.has(o))return;const a=e.sessions.binding(o)?.session;if(a===void 0)return;const c={session:a,revision:void 0,dispose:n(()=>{},"dispose")},m=n(()=>{const w=a.getSnapshot().views.get(y);if(!(w===void 0||w.revision===c.revision)){c.revision=w.revision;for(const L of w.live)s.handle(o,L.data.event)}},"consume");c.dispose=a.subscribe(m),i.set(o,c),m()},"watch"),p=n(()=>{const o=new Set(e.sessions.list.getSnapshot().ids);for(const a of o)r(a);for(const[a,c]of i)o.has(a)||(c.dispose(),i.delete(a),s.clear(a))},"reconcile"),f=e.sessions.list.subscribe(p);return p(),()=>{f();for(const o of i.values())o.dispose();i.clear()}}n(j,"installSessionAnalytics");const T={"policy.nav":"政策说明","policy.title":"政策说明","policy.intro":"请阅读下述条款,使用本服务表示您已同意相关约定。","policy.harness":"DeepSeek Harness","policy.security":"DeepSeek安全使用政策","policy.data":"DeepSeek数据使用说明","policy.browser":"QQ浏览器服务规则"},D={"policy.nav":"Policy","policy.title":"Policy","policy.intro":"Please read the following terms. Using this service means you agree to them.","policy.harness":"DeepSeek Harness","policy.security":"DeepSeek Security Policy","policy.data":"DeepSeek Data Usage Notice","policy.browser":"QQ Browser Service Rules"},N=[{id:"harness",label:"policy.harness",href:"https://harness.io"},{id:"security",label:"policy.security",href:"https://harness.io/security"},{id:"data",label:"policy.data",href:"https://harness.io/data"},{id:"browser",label:"policy.browser",href:"https://harness.io/browser"}],Z=".EZ91Ia_section{max-width:720px;color:var(--dsw-alias-label-primary);flex-direction:column;gap:19px;display:flex}.EZ91Ia_title{margin:0;font-size:18px;font-weight:500;line-height:19px}.EZ91Ia_intro{color:var(--dsw-alias-label-tertiary);margin:0;font-size:16px;line-height:19px}.EZ91Ia_links{border:1px solid var(--dsw-alias-border-l2);border-radius:16px;padding:0 19px;overflow:hidden}.EZ91Ia_link{box-sizing:border-box;border:0;border-bottom:1px solid var(--dsw-alias-border-l1);min-height:64px;color:var(--dsw-alias-label-primary);font:inherit;cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:16px;font-size:16px;line-height:20px;text-decoration:none;display:flex}.EZ91Ia_link:last-child{border-bottom:0}.EZ91Ia_icon{flex:none}",_="@qqbrowser/qbot-dsh/PolicySection.module.css";if(typeof document<"u"&&document.querySelector("style[data-plugin-css="+JSON.stringify(_)+"]")===null){const e=document.createElement("style");e.dataset.plugin="@qqbrowser/qbot-dsh",e.dataset.pluginCss=_,e.textContent=Z,document.head.appendChild(e)}var d={icon:"EZ91Ia_icon",section:"EZ91Ia_section",intro:"EZ91Ia_intro",links:"EZ91Ia_links",link:"EZ91Ia_link",title:"EZ91Ia_title"};function P({link:e,t}){return(0,l.jsxs)("a",{className:d.link,href:e.href,rel:"noopener noreferrer",target:"_blank",children:[(0,l.jsx)("span",{children:t(e.label)}),(0,l.jsx)(v.IconRightUpOutline16,{className:d.icon,size:11,"aria-hidden":"true"})]})}n(P,"PolicyLinkRow");function R({t:e}){return(0,l.jsxs)("section",{className:d.section,children:[(0,l.jsx)("h2",{className:d.title,children:e("policy.title")}),(0,l.jsx)("p",{className:d.intro,children:e("policy.intro")}),(0,l.jsx)("div",{className:d.links,children:N.map(t=>(0,l.jsx)(P,{link:t,t:e},t.id))})]})}n(R,"PolicySection");const b="qbot.product",C=["slots","sessions","workspaces","conversationEvents","conversationViews","locale"];function O(){const e=window.opener;return window.parent!==window?window.parent:e??window}n(O,"analyticsTarget");function z(e){const t=new I(O());e.effect(()=>e.locale.register(b,{zh:T,en:D}),"qbot-product: dictionaries");const s=e.locale.bind(b);e.slots.inject("settings.section",()=>e.slots.register({name:"settings.section",id:"policy",order:30,label:n(()=>s("policy.nav"),"label"),locale:b},R)),e.conversationViews.register(A),e.conversationEvents.register(M),e.effect(()=>j(e,t),"qbot-product: session analytics"),e.effect(()=>E(e,t),"qbot-product: new-session analytics")}return n(z,"apply"),k.apply=z,k.inject=C,h.exports},"factory")});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-agent","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-
|
|
1
|
+
{"name":"@deepseek-ai/dsh-agent","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-scope":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-system-prompt":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-typert-protocol":"^0.1.0-rc.7"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-agent-default-model","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"@deepseek-ai/schemastery":"^3.18.1"},"peerDependencies":{"@deepseek-ai/dsh-
|
|
1
|
+
{"name":"@deepseek-ai/dsh-agent-default-model","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"@deepseek-ai/schemastery":"^3.18.1"},"peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-settings":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-agent-instructions","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-
|
|
1
|
+
{"name":"@deepseek-ai/dsh-agent-instructions","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-fs":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-home-paths":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-agent-loop","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-
|
|
1
|
+
{"name":"@deepseek-ai/dsh-agent-loop","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-session-persistence":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-scope":"^0.1.0-rc.7","@deepseek-ai/dsh-system-prompt":"^0.1.0-rc.7","@deepseek-ai/dsh-tools":"^0.1.0-rc.7","@deepseek-ai/dsh-settings":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-agent-presets","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/
|
|
1
|
+
{"name":"@deepseek-ai/dsh-agent-presets","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/cordis-plugin-loader":"^1.0.2","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/cordis-plugin-include":"^1.0.6","@deepseek-ai/dsh-home-paths":"^0.1.0-rc.7","@deepseek-ai/dsh-scope":"^0.1.0-rc.7","@deepseek-ai/dsh-atomic-write":"^0.1.0-rc.7","@deepseek-ai/dsh-system-prompt":"^0.1.0-rc.7","@deepseek-ai/dsh-settings":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"js-yaml":"^4.1.0","@deepseek-ai/schemastery":"^3.18.1"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-agent-tool-presentation","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"@deepseek-ai/schemastery":"^3.18.1"},"peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/
|
|
1
|
+
{"name":"@deepseek-ai/dsh-agent-tool-presentation","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"@deepseek-ai/schemastery":"^3.18.1"},"peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.0-rc.7"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-anonymous-user-id","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-
|
|
1
|
+
{"name":"@deepseek-ai/dsh-anonymous-user-id","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-brand":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-home-paths":"^0.1.0-rc.7"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-api-gateway","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./client":{"types":"./lib/types/client/index.d.ts","default":"./lib/client.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./src/*":"./src/*","./package.json":"./package.json"},"dsh":{"client":{"inject":["@deepseek-ai/dsh-typert-registry","@deepseek-ai/dsh-client-connection"],"platform":"web","immediately":true}},"license":"MIT","dependencies":{"@deepseek-ai/dsh-typert-protocol":"^0.1.0-rc.7"},"peerDependencies":{"@deepseek-ai/dsh-client-connection":"^0.1.0-rc.7","@deepseek-ai/dsh-
|
|
1
|
+
{"name":"@deepseek-ai/dsh-api-gateway","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./client":{"types":"./lib/types/client/index.d.ts","default":"./lib/client.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./src/*":"./src/*","./package.json":"./package.json"},"dsh":{"client":{"inject":["@deepseek-ai/dsh-typert-registry","@deepseek-ai/dsh-client-connection"],"platform":"web","immediately":true}},"license":"MIT","dependencies":{"@deepseek-ai/dsh-typert-protocol":"^0.1.0-rc.7"},"peerDependencies":{"@deepseek-ai/dsh-client-connection":"^0.1.0-rc.7","@deepseek-ai/dsh-typert-registry":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-api-remotes","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./client":{"types":"./lib/types/client/index.d.ts","default":"./lib/client.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./src/*":"./src/*","./package.json":"./package.json"},"dsh":{"client":{"inject":["@deepseek-ai/dsh-api-gateway"],"platform":"web","immediately":true}},"license":"MIT","dependencies":{"@deepseek-ai/dsh-typert-protocol":"^0.1.0-rc.7"},"peerDependencies":{"@deepseek-ai/dsh-
|
|
1
|
+
{"name":"@deepseek-ai/dsh-api-remotes","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./client":{"types":"./lib/types/client/index.d.ts","default":"./lib/client.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./src/*":"./src/*","./package.json":"./package.json"},"dsh":{"client":{"inject":["@deepseek-ai/dsh-api-gateway"],"platform":"web","immediately":true}},"license":"MIT","dependencies":{"@deepseek-ai/dsh-typert-protocol":"^0.1.0-rc.7"},"peerDependencies":{"@deepseek-ai/dsh-api-gateway":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-goal":"^0.1.0-rc.7","@deepseek-ai/dsh-credentials":"^0.1.0-rc.7","@deepseek-ai/dsh-host-plugin-inventory":"^0.1.0-rc.7","@deepseek-ai/dsh-cordis-host-runner":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-commands":"^0.1.0-rc.7","@deepseek-ai/dsh-agent-presets":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-message-feedback":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-session-persistence":"^0.1.0-rc.7","@deepseek-ai/dsh-settings":"^0.1.0-rc.7","@deepseek-ai/dsh-typert-registry":"^0.1.0-rc.7"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-app-boot","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"js-yaml":"^4.2.0"},"peerDependencies":{"@deepseek-ai/cordis-plugin-group":"^1.0.1","@deepseek-ai/cordis-plugin-
|
|
1
|
+
{"name":"@deepseek-ai/dsh-app-boot","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"js-yaml":"^4.2.0"},"peerDependencies":{"@deepseek-ai/cordis-plugin-group":"^1.0.1","@deepseek-ai/cordis-plugin-loader":"^1.0.2","@deepseek-ai/cordis-plugin-include":"^1.0.6","@deepseek-ai/cordis-plugin-hmr":"^1.0.16","@deepseek-ai/dsh-launch-environment":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-system-prompt":"^0.1.0-rc.7","@deepseek-ai/dsh-home-paths":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"peerDependenciesMeta":{"@deepseek-ai/cordis-plugin-hmr":{"optional":true}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-attachment","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-
|
|
1
|
+
{"name":"@deepseek-ai/dsh-attachment","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-brand":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-attachment-local","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-
|
|
1
|
+
{"name":"@deepseek-ai/dsh-attachment-local","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-home-paths":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-attachment":"^0.1.0-rc.7"},"dependencies":{"sharp":"^0.35.3","@deepseek-ai/schemastery":"^3.18.1"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-base","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./cordis.patch.yml":"./cordis.patch.yml","./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dependencies":{"@deepseek-ai/cordis-plugin-hmr":"^1.0.16","@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/
|
|
1
|
+
{"name":"@deepseek-ai/dsh-base","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./cordis.patch.yml":"./cordis.patch.yml","./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dependencies":{"@deepseek-ai/cordis-plugin-hmr":"^1.0.16","@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/cordis-plugin-timer":"^1.1.3","@deepseek-ai/dsh-agent-loop":"^0.1.0-rc.7","@deepseek-ai/dsh-bash-sandbox":"^0.1.0-rc.7","@deepseek-ai/dsh-browser-jsapi":"^0.1.0-rc.7","@deepseek-ai/dsh-command-compact":"^0.1.0-rc.7","@deepseek-ai/dsh-command-feedback":"^0.1.0-rc.7","@deepseek-ai/dsh-shell-env":"^0.1.0-rc.7","@deepseek-ai/dsh-command-goal":"^0.1.0-rc.7","@deepseek-ai/dsh-compaction-basic":"^0.1.0-rc.7","@deepseek-ai/dsh-commands":"^0.1.0-rc.7","@deepseek-ai/dsh-agent-default-model":"^0.1.0-rc.7","@deepseek-ai/dsh-compaction-tool-result-pruner":"^0.1.0-rc.7","@deepseek-ai/dsh-credentials-local":"^0.1.0-rc.7","@deepseek-ai/dsh-fs-local":"^0.1.0-rc.7","@deepseek-ai/dsh-fs-observation-policy":"^0.1.0-rc.7","@deepseek-ai/dsh-goal":"^0.1.0-rc.7","@deepseek-ai/dsh-api-gateway":"^0.1.0-rc.7","@deepseek-ai/dsh-fs-sandbox":"^0.1.0-rc.7","@deepseek-ai/dsh-attachment-local":"^0.1.0-rc.7","@deepseek-ai/dsh-llm-deepseek":"^0.1.0-rc.7","@deepseek-ai/dsh-goal-round-driver":"^0.1.0-rc.7","@deepseek-ai/dsh-llm-pi-ai":"^0.1.0-rc.7","@deepseek-ai/dsh-llm-retry":"^0.1.0-rc.7","@deepseek-ai/dsh-permission-presets":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-repeat-tool-reminder":"^0.1.0-rc.7","@deepseek-ai/dsh-plan-mode":"^0.1.0-rc.7","@deepseek-ai/dsh-sandbox-local":"^0.1.0-rc.7","@deepseek-ai/dsh-pwsh-sandbox":"^0.1.0-rc.7","@deepseek-ai/dsh-sandbox-policy":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-session-checkpoint-policy":"^0.1.0-rc.7","@deepseek-ai/dsh-session-query-sqlite":"^0.1.0-rc.7","@deepseek-ai/dsh-session-projection":"^0.1.0-rc.7","@deepseek-ai/dsh-session-telemetry-otel":"^0.1.0-rc.7","@deepseek-ai/dsh-session-title":"^0.1.0-rc.7","@deepseek-ai/dsh-session-persistence-jsonl":"^0.1.0-rc.7","@deepseek-ai/dsh-skill":"^0.1.0-rc.7","@deepseek-ai/dsh-settings-file":"^0.1.0-rc.7","@deepseek-ai/dsh-skill-badge":"^0.1.0-rc.7","@deepseek-ai/dsh-session-title-first-prompt-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-skill-filesystem":"^0.1.0-rc.7","@deepseek-ai/dsh-spill-local":"^0.1.0-rc.7","@deepseek-ai/dsh-subagent":"^0.1.0-rc.7","@deepseek-ai/dsh-spill-policy":"^0.1.0-rc.7","@deepseek-ai/dsh-subagent-spawn-in-process":"^0.1.0-rc.7","@deepseek-ai/dsh-subagent-fork-in-process":"^0.1.0-rc.7","@deepseek-ai/dsh-system-prompt":"^0.1.0-rc.7","@deepseek-ai/dsh-subprocess-local":"^0.1.0-rc.7","@deepseek-ai/dsh-token-meter":"^0.1.0-rc.7","@deepseek-ai/dsh-tool-bash":"^0.1.0-rc.7","@deepseek-ai/dsh-tool-call-timeout-policy":"^0.1.0-rc.7","@deepseek-ai/dsh-jobs-local":"^0.1.0-rc.7","@deepseek-ai/dsh-tool-fs":"^0.1.0-rc.7","@deepseek-ai/dsh-tool-fs-search":"^0.1.0-rc.7","@deepseek-ai/dsh-tool-pwsh":"^0.1.0-rc.7","@deepseek-ai/dsh-tool-goal":"^0.1.0-rc.7","@deepseek-ai/dsh-tool-ralph":"^0.1.0-rc.7","@deepseek-ai/dsh-tool-skill":"^0.1.0-rc.7","@deepseek-ai/dsh-tool-str-replace-editor":"^0.1.0-rc.7","@deepseek-ai/dsh-tool-subagent":"^0.1.0-rc.7","@deepseek-ai/dsh-tool-jobs":"^0.1.0-rc.7","@deepseek-ai/dsh-tool-subagent-control":"^0.1.0-rc.7","@deepseek-ai/dsh-tool-subagent-report":"^0.1.0-rc.7","@deepseek-ai/dsh-tool-web":"^0.1.0-rc.7","@deepseek-ai/dsh-tool-todo":"^0.1.0-rc.7","@deepseek-ai/dsh-tools":"^0.1.0-rc.7","@deepseek-ai/dsh-tool-workflow":"^0.1.0-rc.7","@deepseek-ai/dsh-user-approval":"^0.1.0-rc.7","@deepseek-ai/dsh-typert-registry":"^0.1.0-rc.7","@deepseek-ai/dsh-user-questions":"^0.1.0-rc.7","@deepseek-ai/dsh-typert-loader":"^0.1.0-rc.7","@deepseek-ai/dsh-web":"^0.1.0-rc.7","@deepseek-ai/dsh-web-search-deepseek":"^0.1.0-rc.7","@deepseek-ai/dsh-workflow-worker-thread":"^0.1.0-rc.7","@deepseek-ai/dsh-agent-instructions":"^0.1.0-rc.7"},"peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-bash-local","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-shell":"^0.1.0-rc.7","@deepseek-ai/dsh-subprocess":"^0.1.0-rc.7","@deepseek-ai/dsh-
|
|
1
|
+
{"name":"@deepseek-ai/dsh-bash-local","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-shell":"^0.1.0-rc.7","@deepseek-ai/dsh-subprocess":"^0.1.0-rc.7","@deepseek-ai/dsh-settings":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-timeout":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@deepseek-ai/dsh-bash-sandbox","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-
|
|
1
|
+
{"name":"@deepseek-ai/dsh-bash-sandbox","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-shell":"^0.1.0-rc.7","@deepseek-ai/dsh-sandbox":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-sandbox-policy":"^0.1.0-rc.7","@deepseek-ai/dsh-bash-local":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7"}}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 DeepSeek
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var n=Object.defineProperty;var s=(r,e)=>n(r,"name",{value:e,configurable:!0});import{Service as p}from"@deepseek-ai/cordis";import t from"@deepseek-ai/schemastery";import{HarnessError as c}from"@deepseek-ai/dsh-llm";const l=3e4;var o=class extends c{static{s(this,"BrowserJsapiError")}constructor(r,e,i){super(r,e,i),this.name="BrowserJsapiError"}},a=class extends p{static{s(this,"BrowserJsapiService")}static Config=t.object({defaultTimeoutMs:t.number()});provider;defaultTimeoutMs;constructor(r,e={}){super(r,"browserJsapi"),this.defaultTimeoutMs=e.defaultTimeoutMs??3e4}registerProvider(r){const e=this.ctx.effect(function*(){if(this.provider!==void 0)throw new o("a browser-jsapi provider is already registered","DUPLICATE_PROVIDER");this.provider=r,yield()=>{this.provider=void 0}}.bind(this),"browserJsapi.registerProvider()");return()=>{e()}}async call(r,e,i){if(i?.aborted)throw new o("browser-jsapi call was aborted before dispatch","ABORTED");if(r.method.length===0)throw new o("browser-jsapi call requires a non-empty method","INVALID_PARAMS");if(this.provider===void 0)throw new o("no browser-jsapi provider is registered","UNAVAILABLE");const d={...r,timeoutMs:r.timeoutMs??this.defaultTimeoutMs};return this.provider.call(d,e,i??new AbortController().signal)}};export{o as BrowserJsapiError,a as BrowserJsapiService,a as default,l as DEFAULT_TIMEOUT_MS};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var i=Object.defineProperty;var e=(s,n)=>i(s,"name",{value:n,configurable:!0});const a="@deepseek-ai/dsh-browser-jsapi",r="browser-jsapi-invariant",t=["invariants"],o=e(()=>{},"install"),c=e(s=>Promise.resolve(s.invariants.register(a,o)),"apply");export{c as apply,t as inject,r as name};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a=Object.defineProperty;var i=(t,r)=>a(t,"name",{value:r,configurable:!0});import{Service as n}from"@deepseek-ai/cordis";import s from"@deepseek-ai/schemastery";import{HarnessError as p}from"@deepseek-ai/dsh-llm";export const DEFAULT_TIMEOUT_MS=3e4;export class BrowserJsapiError extends p{static{i(this,"BrowserJsapiError")}constructor(r,e,o){super(r,e,o),this.name="BrowserJsapiError"}}export class BrowserJsapiService extends n{static{i(this,"BrowserJsapiService")}static Config=s.object({defaultTimeoutMs:s.number()});provider;defaultTimeoutMs;constructor(r,e={}){super(r,"browserJsapi"),this.defaultTimeoutMs=e.defaultTimeoutMs??DEFAULT_TIMEOUT_MS}registerProvider(r){const e=this.ctx.effect(function*(){if(this.provider!==void 0)throw new BrowserJsapiError("a browser-jsapi provider is already registered","DUPLICATE_PROVIDER");this.provider=r,yield()=>{this.provider=void 0}}.bind(this),"browserJsapi.registerProvider()");return()=>{e()}}async call(r,e,o){if(o?.aborted)throw new BrowserJsapiError("browser-jsapi call was aborted before dispatch","ABORTED");if(r.method.length===0)throw new BrowserJsapiError("browser-jsapi call requires a non-empty method","INVALID_PARAMS");if(this.provider===void 0)throw new BrowserJsapiError("no browser-jsapi provider is registered","UNAVAILABLE");const d={...r,timeoutMs:r.timeoutMs??this.defaultTimeoutMs};return this.provider.call(d,e,o??new AbortController().signal)}}export default BrowserJsapiService;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r=Object.defineProperty;var e=(s,n)=>r(s,"name",{value:n,configurable:!0});const t="@deepseek-ai/dsh-browser-jsapi";export const name="browser-jsapi-invariant",inject=["invariants"];const i=e(()=>{},"install");export const apply=e(s=>Promise.resolve(s.invariants.register(t,i)),"apply");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"@deepseek-ai/dsh-browser-jsapi","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
|