@khorsheed/dsh-local-agent-claude-code 0.1.0-rc.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.
Files changed (38) hide show
  1. package/README.en.md +120 -0
  2. package/README.i18n.yaml +6 -0
  3. package/README.md +120 -0
  4. package/cordis.patch.yml +42 -0
  5. package/lib/client.js +1065 -0
  6. package/lib/index.js +3771 -0
  7. package/lib/invariant.js +31 -0
  8. package/lib/types/claude-cli-provider.d.ts +389 -0
  9. package/lib/types/claude-cli-provider.js +1509 -0
  10. package/lib/types/client/SettingsCard.d.ts +78 -0
  11. package/lib/types/client/SettingsCard.js +198 -0
  12. package/lib/types/client/icons.d.ts +18 -0
  13. package/lib/types/client/icons.js +2 -0
  14. package/lib/types/client/index.d.ts +36 -0
  15. package/lib/types/client/index.js +87 -0
  16. package/lib/types/client/locales.d.ts +64 -0
  17. package/lib/types/client/locales.js +55 -0
  18. package/lib/types/control-requests.d.ts +15 -0
  19. package/lib/types/control-requests.js +62 -0
  20. package/lib/types/index.d.ts +81 -0
  21. package/lib/types/index.js +300 -0
  22. package/lib/types/invariant.d.ts +16 -0
  23. package/lib/types/invariant.js +33 -0
  24. package/lib/types/live-driver.d.ts +172 -0
  25. package/lib/types/live-driver.js +1057 -0
  26. package/lib/types/live-switch.d.ts +67 -0
  27. package/lib/types/live-switch.js +85 -0
  28. package/lib/types/model-broker.d.ts +131 -0
  29. package/lib/types/model-broker.js +248 -0
  30. package/lib/types/model-catalog.d.ts +27 -0
  31. package/lib/types/model-catalog.js +118 -0
  32. package/lib/types/provision.d.ts +63 -0
  33. package/lib/types/provision.js +132 -0
  34. package/lib/types/records.d.ts +120 -0
  35. package/lib/types/records.js +687 -0
  36. package/locale/en.json +6 -0
  37. package/locale/zh.json +6 -0
  38. package/package.json +106 -0
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Claude 委派",
4
+ "description": "把编码任务委派给本地 Claude Code,回答实时流回。"
5
+ }
6
+ }
package/package.json ADDED
@@ -0,0 +1,106 @@
1
+ {
2
+ "name": "@khorsheed/dsh-local-agent-claude-code",
3
+ "description": "Claude Code harness for dsh-local-agent: scoped CLAUDE_CONFIG_DIR, one-shot claude -p delegation visible in the 子代理 surface, project-file session records",
4
+ "keywords": [
5
+ "dsh",
6
+ "dsh-plugin",
7
+ "cordis",
8
+ "local-agent",
9
+ "claude-code"
10
+ ],
11
+ "version": "0.1.0-rc.6",
12
+ "type": "module",
13
+ "main": "lib/index.js",
14
+ "types": "lib/types/index.d.ts",
15
+ "exports": {
16
+ ".": {
17
+ "types": "./lib/types/index.d.ts",
18
+ "default": "./lib/index.js"
19
+ },
20
+ "./invariant": {
21
+ "types": "./lib/types/invariant.d.ts",
22
+ "default": "./lib/invariant.js"
23
+ },
24
+ "./records": {
25
+ "types": "./lib/types/records.d.ts",
26
+ "default": "./lib/records.js"
27
+ },
28
+ "./client": {
29
+ "types": "./lib/types/client/index.d.ts",
30
+ "default": "./lib/client.js"
31
+ },
32
+ "./src/*": "./src/*",
33
+ "./cordis.patch.yml": "./cordis.patch.yml",
34
+ "./package.json": "./package.json",
35
+ "./locale/*.json": "./locale/*.json"
36
+ },
37
+ "dsh": {
38
+ "references": [
39
+ "@khorsheed/dsh-bundle-local-agent"
40
+ ],
41
+ "client": {
42
+ "inject": [
43
+ "@deepseek-ai/dsh-api-remotes",
44
+ "@deepseek-ai/dsh-client-locale",
45
+ "@deepseek-ai/dsh-client-ui-primitives",
46
+ "@deepseek-ai/dsh-client-ui-settings",
47
+ "@deepseek-ai/dsh-client-ui-slots"
48
+ ],
49
+ "platform": "web"
50
+ },
51
+ "bundle": {
52
+ "patch": "./cordis.patch.yml"
53
+ },
54
+ "compat": {
55
+ "minHost": "0.1.5-rc.1",
56
+ "notes": "Live output uses the local-agent transient Remote and public Conversation nodes, with incremental durable recovery checkpoints; native final messages retain their existing transcript and usage semantics. End-to-end latency acceptance is tracked by the room coordinator proposal.",
57
+ "verifiedHost": "0.1.5-rc.1"
58
+ }
59
+ },
60
+ "files": [
61
+ "lib",
62
+ "cordis.patch.yml",
63
+ "locale/*.json"
64
+ ],
65
+ "license": "MIT",
66
+ "dependencies": {
67
+ "@khorsheed/dsh-local-agent": "^0.1.0-rc.6",
68
+ "@khorsheed/dsh-local-agent-tool-subagent": "^0.1.0-rc.6"
69
+ },
70
+ "peerDependencies": {
71
+ "@deepseek-ai/cordis": "^4.0.1",
72
+ "@deepseek-ai/dsh-api-remotes": "^0.1.0-rc.6",
73
+ "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6",
74
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.6",
75
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6",
76
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6",
77
+ "@deepseek-ai/dsh-commands": "^0.1.0-rc.8",
78
+ "@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
79
+ "@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
80
+ "@deepseek-ai/dsh-session": "^0.1.0-rc.8",
81
+ "@deepseek-ai/dsh-settings": "^0.1.0-rc.6",
82
+ "@deepseek-ai/dsh-subagent": "^0.1.0-rc.6",
83
+ "@deepseek-ai/dsh-subprocess": "^0.1.0-rc.6",
84
+ "react": "^18.2.0"
85
+ },
86
+ "peerDependenciesMeta": {
87
+ "@deepseek-ai/dsh-api-remotes": {
88
+ "optional": true
89
+ },
90
+ "@deepseek-ai/dsh-client-locale": {
91
+ "optional": true
92
+ },
93
+ "@deepseek-ai/dsh-client-ui-primitives": {
94
+ "optional": true
95
+ },
96
+ "@deepseek-ai/dsh-client-ui-settings": {
97
+ "optional": true
98
+ },
99
+ "@deepseek-ai/dsh-client-ui-slots": {
100
+ "optional": true
101
+ },
102
+ "react": {
103
+ "optional": true
104
+ }
105
+ }
106
+ }