@zerowall/dsh-claude-coderun 0.1.0-preview.6 → 0.1.1

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/lib/client.js CHANGED
@@ -15983,7 +15983,8 @@ var nativeLabels = {
15983
15983
  "danger-full-access": ["permissionFullAccess", "Full access"],
15984
15984
  auto: ["permissionAutoReview", "Auto Review"]
15985
15985
  };
15986
- function ClaudePermissionSelect({ loadPermission, selectPermission, locked, t }) {
15986
+ function ClaudePermissionSelect({ loadPermission, selectPermission, locked, t, useProjection }) {
15987
+ const permissionsAvailable = useProjection("permissions") !== void 0;
15987
15988
  const [view, setView] = (0, import_react5.useState)();
15988
15989
  const [error51, setError] = (0, import_react5.useState)();
15989
15990
  const [pending, setPending] = (0, import_react5.useState)(false);
@@ -15992,6 +15993,13 @@ function ClaudePermissionSelect({ loadPermission, selectPermission, locked, t })
15992
15993
  const revision = (0, import_react5.useRef)(0);
15993
15994
  (0, import_react5.useEffect)(() => {
15994
15995
  let live = true;
15996
+ if (!permissionsAvailable) {
15997
+ setView(void 0);
15998
+ setError(void 0);
15999
+ return () => {
16000
+ live = false;
16001
+ };
16002
+ }
15995
16003
  const refresh = () => {
15996
16004
  if (mutation.current) return;
15997
16005
  const current2 = revision.current;
@@ -16010,7 +16018,7 @@ function ClaudePermissionSelect({ loadPermission, selectPermission, locked, t })
16010
16018
  live = false;
16011
16019
  clearInterval(timer);
16012
16020
  };
16013
- }, [loadPermission]);
16021
+ }, [loadPermission, permissionsAvailable]);
16014
16022
  const plugin = view?.active && view.source === "plugin";
16015
16023
  const disabled = pending || !view || !plugin && locked;
16016
16024
  (0, import_react5.useEffect)(() => {
@@ -16049,6 +16057,7 @@ function ClaudePermissionSelect({ loadPermission, selectPermission, locked, t })
16049
16057
  ...view?.hostPreset === "custom" ? [{ id: "custom", label: t("permissionCustom"), disabled: true }] : [],
16050
16058
  ...view?.nativeOptions.map((option) => ({ id: option.value, label: nativeLabel(option.value, option.name) })) ?? []
16051
16059
  ];
16060
+ if (!permissionsAvailable) return null;
16052
16061
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: ClaudePermissionSelect_default.root, children: [
16053
16062
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
16054
16063
  import_dsh_client_ui_primitives2.Menu,
@@ -7,5 +7,5 @@ export interface ClaudePermissionSelectInjected {
7
7
  }
8
8
  type Props = PropsRuntime<'conversation.input.permission'> & ClaudePermissionSelectInjected & PropsLocale<typeof CLAUDE_NS>;
9
9
  /** One composer surface; ordinary sessions keep the canonical Host preset writer. */
10
- export declare function ClaudePermissionSelect({ loadPermission, selectPermission, locked, t }: Props): import("react").JSX.Element;
10
+ export declare function ClaudePermissionSelect({ loadPermission, selectPermission, locked, t, useProjection }: Props): import("react").JSX.Element | null;
11
11
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zerowall/dsh-claude-coderun",
3
- "version": "0.1.0-preview.6",
3
+ "version": "0.1.1",
4
4
  "description": "Run an isolated Claude Code CLI from ZeroWall conversations.",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -46,8 +46,7 @@
46
46
  },
47
47
  "zerowall": {
48
48
  "dsh": {
49
- "min": "0.2.2-rc.1",
50
- "max": "0.2.2-rc.1"
49
+ "min": "0.2.2-rc.1"
51
50
  },
52
51
  "requiredServices": [
53
52
  "agentDefaultModel",
@@ -89,7 +88,6 @@
89
88
  ],
90
89
  "profiles": [
91
90
  "development",
92
- "preview",
93
91
  "stable"
94
92
  ],
95
93
  "migrationVersion": 1,
@@ -105,7 +103,7 @@
105
103
  },
106
104
  "publishConfig": {
107
105
  "access": "public",
108
- "tag": "next",
106
+ "tag": "latest",
109
107
  "registry": "https://registry.npmjs.org/"
110
108
  },
111
109
  "license": "MIT",
@@ -126,66 +124,66 @@
126
124
  "plugin-detail.zh.md"
127
125
  ],
128
126
  "dependencies": {
129
- "@zerowall/dsh-plugin-mcp": "0.1.0-preview.6",
130
- "@zerowall/dsh-plugin-environment": "0.1.0-preview.6",
127
+ "@zerowall/dsh-plugin-mcp": "0.1.0",
128
+ "@zerowall/dsh-plugin-environment": "0.1.0",
131
129
  "@modelcontextprotocol/sdk": "^1.29.0",
132
- "react-dom": "^18.2.0",
130
+ "react-dom": ">=18.2.0",
133
131
  "zod": "4.4.3",
134
- "@zerowall/dsh-plugin-ai-cloud": "0.1.0-preview.11",
132
+ "@zerowall/dsh-plugin-ai-cloud": "0.1.0",
135
133
  "@anthropic-ai/claude-agent-sdk": "0.3.263"
136
134
  },
137
135
  "peerDependencies": {
138
- "@deepseek-ai/cordis": "4.1.0",
139
- "@deepseek-ai/schemastery": "3.19.0",
140
- "@deepseek-ai/dsh-agent": "0.2.2-rc.1",
141
- "@deepseek-ai/dsh-agent-default-model": "0.2.2-rc.1",
142
- "@deepseek-ai/dsh-attachment": "0.2.2-rc.1",
143
- "@deepseek-ai/dsh-commands": "0.2.2-rc.1",
144
- "@deepseek-ai/dsh-llm": "0.2.2-rc.1",
145
- "@deepseek-ai/dsh-llm-pi-ai": "0.2.2-rc.1",
146
- "@deepseek-ai/dsh-mcp-client": "0.2.2-rc.1",
147
- "@deepseek-ai/dsh-session": "0.2.2-rc.1",
148
- "@deepseek-ai/dsh-scope": "0.2.2-rc.1",
149
- "@deepseek-ai/dsh-session-persistence": "0.2.2-rc.1",
150
- "@deepseek-ai/dsh-settings": "0.2.2-rc.1",
151
- "@deepseek-ai/dsh-skill": "0.2.2-rc.1",
152
- "@deepseek-ai/dsh-skill-filesystem": "0.2.2-rc.1",
153
- "@deepseek-ai/dsh-subagent": "0.2.2-rc.1",
154
- "@deepseek-ai/dsh-tools": "0.2.2-rc.1",
155
- "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.1",
156
- "@deepseek-ai/dsh-api-gateway": "0.2.2-rc.1",
157
- "@deepseek-ai/dsh-api-remotes": "0.2.2-rc.1",
158
- "@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.1",
159
- "@deepseek-ai/dsh-api-settings-controller": "0.2.2-rc.1",
160
- "@deepseek-ai/dsh-api-workspace-controller": "0.2.2-rc.1",
161
- "@deepseek-ai/dsh-host-webserver": "0.2.2-rc.1",
162
- "@deepseek-ai/dsh-system-prompt": "0.2.2-rc.1",
163
- "@deepseek-ai/dsh-workspace": "0.2.2-rc.1",
164
- "@deepseek-ai/dsh-client-connection": "0.2.2-rc.1",
165
- "@deepseek-ai/dsh-client-locale": "0.2.2-rc.1",
166
- "@deepseek-ai/dsh-client-store": "0.2.2-rc.1",
167
- "@deepseek-ai/dsh-client-ui-chat": "0.2.2-rc.1",
168
- "@deepseek-ai/dsh-client-ui-layout": "0.2.2-rc.1",
169
- "@deepseek-ai/dsh-client-ui-session": "0.2.2-rc.1",
170
- "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1",
171
- "@deepseek-ai/dsh-client-ui-sidebar": "0.2.2-rc.1",
172
- "@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.1",
173
- "@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.1",
174
- "@deepseek-ai/dsh-client-ui-attachment": "0.2.2-rc.1",
175
- "@deepseek-ai/dsh-client-ui-tool": "0.2.2-rc.1",
176
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.1",
177
- "@deepseek-ai/dsh-client-ui-workspace": "0.2.2-rc.1",
178
- "@deepseek-ai/dsh-credentials": "0.2.2-rc.1",
179
- "@deepseek-ai/dsh-session-projection": "0.2.2-rc.1",
180
- "@deepseek-ai/dsh-subprocess": "0.2.2-rc.1",
181
- "@deepseek-ai/dsh-tool-subagent": "0.2.2-rc.1",
182
- "@deepseek-ai/dsh-permission-presets": "0.2.2-rc.1",
183
- "@deepseek-ai/dsh-sandbox-policy": "0.2.2-rc.1",
184
- "@deepseek-ai/dsh-user-approval": "0.2.2-rc.1",
185
- "react": "^18.2.0",
186
- "@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.2-rc.1",
187
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.1",
188
- "@deepseek-ai/dsh-home-paths": "0.2.2-rc.1"
136
+ "@deepseek-ai/cordis": ">=4.1.0",
137
+ "@deepseek-ai/schemastery": ">=3.19.0",
138
+ "@deepseek-ai/dsh-agent": ">=0.2.2-rc.1",
139
+ "@deepseek-ai/dsh-agent-default-model": ">=0.2.2-rc.1",
140
+ "@deepseek-ai/dsh-attachment": ">=0.2.2-rc.1",
141
+ "@deepseek-ai/dsh-commands": ">=0.2.2-rc.1",
142
+ "@deepseek-ai/dsh-llm": ">=0.2.2-rc.1",
143
+ "@deepseek-ai/dsh-llm-pi-ai": ">=0.2.2-rc.1",
144
+ "@deepseek-ai/dsh-mcp-client": ">=0.2.2-rc.1",
145
+ "@deepseek-ai/dsh-session": ">=0.2.2-rc.1",
146
+ "@deepseek-ai/dsh-scope": ">=0.2.2-rc.1",
147
+ "@deepseek-ai/dsh-session-persistence": ">=0.2.2-rc.1",
148
+ "@deepseek-ai/dsh-settings": ">=0.2.2-rc.1",
149
+ "@deepseek-ai/dsh-skill": ">=0.2.2-rc.1",
150
+ "@deepseek-ai/dsh-skill-filesystem": ">=0.2.2-rc.1",
151
+ "@deepseek-ai/dsh-subagent": ">=0.2.2-rc.1",
152
+ "@deepseek-ai/dsh-tools": ">=0.2.2-rc.1",
153
+ "@deepseek-ai/dsh-typert-protocol": ">=0.2.2-rc.1",
154
+ "@deepseek-ai/dsh-api-gateway": ">=0.2.2-rc.1",
155
+ "@deepseek-ai/dsh-api-remotes": ">=0.2.2-rc.1",
156
+ "@deepseek-ai/dsh-api-session-controller": ">=0.2.2-rc.1",
157
+ "@deepseek-ai/dsh-api-settings-controller": ">=0.2.2-rc.1",
158
+ "@deepseek-ai/dsh-api-workspace-controller": ">=0.2.2-rc.1",
159
+ "@deepseek-ai/dsh-host-webserver": ">=0.2.2-rc.1",
160
+ "@deepseek-ai/dsh-system-prompt": ">=0.2.2-rc.1",
161
+ "@deepseek-ai/dsh-workspace": ">=0.2.2-rc.1",
162
+ "@deepseek-ai/dsh-client-connection": ">=0.2.2-rc.1",
163
+ "@deepseek-ai/dsh-client-locale": ">=0.2.2-rc.1",
164
+ "@deepseek-ai/dsh-client-store": ">=0.2.2-rc.1",
165
+ "@deepseek-ai/dsh-client-ui-chat": ">=0.2.2-rc.1",
166
+ "@deepseek-ai/dsh-client-ui-layout": ">=0.2.2-rc.1",
167
+ "@deepseek-ai/dsh-client-ui-session": ">=0.2.2-rc.1",
168
+ "@deepseek-ai/dsh-client-ui-slots": ">=0.2.2-rc.1",
169
+ "@deepseek-ai/dsh-client-ui-sidebar": ">=0.2.2-rc.1",
170
+ "@deepseek-ai/dsh-client-ui-settings": ">=0.2.2-rc.1",
171
+ "@deepseek-ai/dsh-client-ui-conversation": ">=0.2.2-rc.1",
172
+ "@deepseek-ai/dsh-client-ui-attachment": ">=0.2.2-rc.1",
173
+ "@deepseek-ai/dsh-client-ui-tool": ">=0.2.2-rc.1",
174
+ "@deepseek-ai/dsh-client-ui-primitives": ">=0.2.2-rc.1",
175
+ "@deepseek-ai/dsh-client-ui-workspace": ">=0.2.2-rc.1",
176
+ "@deepseek-ai/dsh-credentials": ">=0.2.2-rc.1",
177
+ "@deepseek-ai/dsh-session-projection": ">=0.2.2-rc.1",
178
+ "@deepseek-ai/dsh-subprocess": ">=0.2.2-rc.1",
179
+ "@deepseek-ai/dsh-tool-subagent": ">=0.2.2-rc.1",
180
+ "@deepseek-ai/dsh-permission-presets": ">=0.2.2-rc.1",
181
+ "@deepseek-ai/dsh-sandbox-policy": ">=0.2.2-rc.1",
182
+ "@deepseek-ai/dsh-user-approval": ">=0.2.2-rc.1",
183
+ "react": ">=18.2.0",
184
+ "@deepseek-ai/dsh-client-ui-plugin-manager": ">=0.2.2-rc.1",
185
+ "@deepseek-ai/dsh-client-ui-renderer": ">=0.2.2-rc.1",
186
+ "@deepseek-ai/dsh-home-paths": ">=0.2.2-rc.1"
189
187
  },
190
188
  "devDependencies": {
191
189
  "@anthropic-ai/claude-agent-sdk": "0.3.263",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zerowall/dsh-claude-coderun",
3
- "version": "0.1.0-preview.6",
3
+ "version": "0.1.1",
4
4
  "applicationVersion": "0.2.2-rc.1",
5
5
  "restartRequired": true,
6
6
  "desktop": {
@@ -9,8 +9,7 @@
9
9
  "rollbackSupported": true,
10
10
  "remote": "./lib/typert.remote-client.js",
11
11
  "dsh": {
12
- "min": "0.2.2-rc.1",
13
- "max": "0.2.2-rc.1"
12
+ "min": "0.2.2-rc.1"
14
13
  },
15
14
  "host": "./lib/index.js",
16
15
  "client": "./lib/client.js",
@@ -58,7 +57,6 @@
58
57
  "approvals": true,
59
58
  "profiles": [
60
59
  "development",
61
- "preview",
62
60
  "stable"
63
61
  ],
64
62
  "migrationVersion": 1