@zerowall/dsh-claude-coderun 0.1.0-preview.3 → 0.1.0-preview.5

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.i18n.yaml CHANGED
@@ -9,8 +9,8 @@
9
9
  en: 9467750a45c67430
10
10
  zh: a8fd90782db2cae8
11
11
  /zerowall-dsh-claude-coderun/use:
12
- en: 26b0d5188cff1ef8
13
- zh: db6518293202a5c5
12
+ en: 1f4180fc876a6c5b
13
+ zh: f4b32128399e6f90
14
14
  /zerowall-dsh-claude-coderun/development:
15
- en: daf95c3a3f6311a8
16
- zh: 732348a47df4222f
15
+ en: 664d8cc74cf12ccc
16
+ zh: c419ad047ce512d7
package/README.md CHANGED
@@ -12,7 +12,7 @@ ZeroWall Desktop selects this package from its installation manifest. Open Plugi
12
12
 
13
13
  See the [retained migration reference](migration-reference.md) for detailed workflows and historical platform requirements. The package manifest owns current dependency versions.
14
14
 
15
- Runtime preparation uses the Desktop carrier Node and pnpm paths, never system PATH or a personal Claude installation. Defaults are CLI `2.1.309`, HTTPS registry `https://registry.npmmirror.com` and `autoInstall: true`; these are plugin Config fields. Storage defaults to `DSH_HOME/zerowall/claude-code/runtime`, with `runtimeRoot` or `ZEROWALL_CLAUDE_RUNTIME_ROOT` overrides. Status refresh runs a bounded version probe without installing or moving the activation pointer. Install, automatic startup and session startup share preparation. Failed candidates preserve the active generation. Exit cancels the installer tree and awaits termination; explicit uninstall persists automatic-install suppression, and manual installation restores it.
15
+ Runtime preparation uses the Desktop carrier's standalone Node and pnpm paths, never a personal Claude installation. Installer scripts receive the bundled Node directory first in PATH; a flat private dependency layout keeps Windows lifecycle-script directories short. Defaults are CLI `2.1.309`, HTTPS registry `https://registry.npmmirror.com` and `autoInstall: true`; these are plugin Config fields. Storage defaults to `DSH_HOME/zerowall/claude-code/runtime`, with `runtimeRoot` or `ZEROWALL_CLAUDE_RUNTIME_ROOT` overrides. Status refresh runs a bounded version probe without installing or moving the activation pointer. Install, automatic startup and session startup share preparation. Failed candidates preserve the active generation. Exit cancels the installer tree and awaits termination; explicit uninstall persists automatic-install suppression, and manual installation restores it.
16
16
 
17
17
  ## Development
18
18
 
@@ -24,3 +24,5 @@ pnpm run zerowall:pack
24
24
  ```
25
25
 
26
26
  Keep the package LICENSE and any third-party notices with redistributions.
27
+
28
+ Claude uses the current conversation’s Host tool bridge for MCP, including on-demand capability discovery. The session plugin directory contains enabled Skills with relative resources intact; external MCP credentials and direct connection settings remain with the Host. Host tool NAME is called as mcp__zerowall__NAME; Skills rewrite MCP references to the same bridge names. Registry changes refresh scoped tool schemas; newly enabled Skills are projected after tool operations.
package/README.zh.md CHANGED
@@ -12,7 +12,7 @@ ZeroWall Desktop 根据安装清单选择此包。在插件页检查状态和插
12
12
 
13
13
  详细工作流及历史平台要求见[保留的迁移参考](migration-reference.md)。当前依赖版本以包清单为准。
14
14
 
15
- 运行准备使用 Desktop 提供的 Node 与 pnpm 路径,不使用系统 PATH 或个人 Claude 安装。插件 Config 默认 `version: 2.1.309`、`registry: https://registry.npmmirror.com` 和 `autoInstall: true`。数据目录默认为 `DSH_HOME/zerowall/claude-code/runtime`,可通过 `runtimeRoot` 或 `ZEROWALL_CLAUDE_RUNTIME_ROOT` 覆盖。状态刷新只执行限时版本探测,不安装或移动激活指针。自动准备、手动安装和会话启动共享任务;候选失败保留有效版本。退出时取消并等待安装进程树结束;明确卸载会持久化禁止自动安装的状态,手动安装可恢复。
15
+ 运行准备使用 Desktop 提供的独立 Node 与 pnpm 路径,不使用个人 Claude 安装。安装脚本的 PATH 优先使用内置 Node 目录;隔离依赖采用扁平目录,缩短 Windows 安装脚本所在的路径。插件 Config 默认 `version: 2.1.309`、`registry: https://registry.npmmirror.com` 和 `autoInstall: true`。数据目录默认为 `DSH_HOME/zerowall/claude-code/runtime`,可通过 `runtimeRoot` 或 `ZEROWALL_CLAUDE_RUNTIME_ROOT` 覆盖。状态刷新只执行限时版本探测,不安装或移动激活指针。自动准备、手动安装和会话启动共享任务;候选失败保留有效版本。退出时取消并等待安装进程树结束;明确卸载会持久化禁止自动安装的状态,手动安装可恢复。
16
16
 
17
17
  ## 开发
18
18
 
@@ -24,3 +24,5 @@ pnpm run zerowall:pack
24
24
  ```
25
25
 
26
26
  再发行时保留包内 LICENSE 及第三方声明。
27
+
28
+ Claude 使用当前会话的 Host 工具桥接 MCP,支持按需能力发现。会话插件目录包含启用的 Skills 并保留相对资源;外部 MCP 凭据和直接连接配置由 Host 管理。Host 工具 NAME 在 Claude 中调用为 mcp__zerowall__NAME;Skills 中的 MCP 引用也会转成桥接名称。注册变化会刷新会话工具定义;工具操作启用新 Skills 后会同步投影。
package/lib/client.js CHANGED
@@ -225,7 +225,7 @@ function ClaudeCodeAction(props) {
225
225
  " ",
226
226
  row.name,
227
227
  "\uFF1A",
228
- { synced: "\u5DF2\u540C\u6B65", manual: "\u4EC5\u624B\u52A8\u8C03\u7528\uFF08\u5DF2\u540C\u6B65\uFF09", disabled: "\u5DF2\u7981\u7528", unavailable: "\u4E0D\u53EF\u7528", failed: "\u540C\u6B65\u5931\u8D25" }[row.state],
228
+ { synced: "\u5DF2\u540C\u6B65", "on-demand": "\u6309\u9700\u8FDE\u63A5", manual: "\u4EC5\u624B\u52A8\u8C03\u7528\uFF08\u5DF2\u540C\u6B65\uFF09", disabled: "\u5DF2\u7981\u7528", unavailable: "\u4E0D\u53EF\u7528", failed: "\u540C\u6B65\u5931\u8D25" }[row.state],
229
229
  row.detail ? ` \xB7 ${row.detail}` : ""
230
230
  ] }, `${row.kind}-${row.name}`)) })
231
231
  ] }),
@@ -16783,7 +16783,7 @@ var _zerowall_dsh_claude_coderun_zerowallClaudeCode_read_result$schema = () => _
16783
16783
  "resources": external_exports.union([external_exports.undefined(), external_exports.array(external_exports.object({
16784
16784
  "kind": external_exports.union([external_exports.literal("skill"), external_exports.literal("mcp")]),
16785
16785
  "name": external_exports.string(),
16786
- "state": external_exports.union([external_exports.literal("failed"), external_exports.literal("manual"), external_exports.literal("synced"), external_exports.literal("disabled"), external_exports.literal("unavailable")]),
16786
+ "state": external_exports.union([external_exports.literal("failed"), external_exports.literal("manual"), external_exports.literal("synced"), external_exports.literal("on-demand"), external_exports.literal("disabled"), external_exports.literal("unavailable")]),
16787
16787
  "detail": external_exports.union([external_exports.undefined(), external_exports.string()]).optional()
16788
16788
  }))]).optional(),
16789
16789
  "diagnostic": external_exports.union([external_exports.undefined(), external_exports.object({
@@ -17184,7 +17184,7 @@ var TYPERT_REMOTE = createTypertRemoteInfo({
17184
17184
  create: _zerowall_dsh_claude_coderun_zerowallClaudeCode_clear_result$schema,
17185
17185
  jsonSchemaError: "typert tool schema: unsupported void value"
17186
17186
  },
17187
- sourceLocation: { "file": "packages/plugin/src/host/index.ts", "line": 1478, "column": 3 }
17187
+ sourceLocation: { "file": "packages/plugin/src/host/index.ts", "line": 1464, "column": 3 }
17188
17188
  },
17189
17189
  "zerowallClaudeCode/cliSetModel": {
17190
17190
  service: "zerowallClaudeCode",
@@ -17235,7 +17235,7 @@ var TYPERT_REMOTE = createTypertRemoteInfo({
17235
17235
  create: _zerowall_dsh_claude_coderun_zerowallClaudeCode_cliSetModel_result$schema,
17236
17236
  jsonSchema: { "type": "object", "properties": { "active": { "type": "boolean" }, "queued": { "type": "boolean" }, "sessionId": { "type": "string" }, "model": { "type": "string" }, "commands": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "argumentHint": { "type": "string" } }, "required": ["name"], "additionalProperties": true } }, "output": { "type": "string" }, "contextUsage": { "type": "object", "properties": { "totalTokens": { "type": "number" }, "maxTokens": { "type": "number" }, "rawMaxTokens": { "type": "number" }, "percentage": { "type": "number" }, "autoCompactThreshold": { "type": "number" }, "isAutoCompactEnabled": { "type": "boolean", "enum": [false, true], "description": "Present only when the managed Claude runtime reports its real state." }, "detail": { "type": "string", "enum": ["summary", "full"] }, "apiUsage": { "type": "object", "properties": { "input_tokens": { "type": "number" }, "output_tokens": { "type": "number" }, "cache_creation_input_tokens": { "type": "number" }, "cache_read_input_tokens": { "type": "number" } }, "required": [], "additionalProperties": true } }, "required": ["totalTokens", "maxTokens", "percentage", "detail"], "additionalProperties": true }, "lastCompact": { "type": "object", "properties": { "trigger": { "type": "string", "enum": ["auto", "manual"] }, "preTokens": { "type": "number" }, "postTokens": { "type": "number" }, "durationMs": { "type": "number" } }, "required": ["trigger", "preTokens"], "additionalProperties": true }, "error": { "type": "string" }, "diagnostics": { "type": "object", "properties": { "model": { "type": "string" }, "routeCredential": { "type": "string", "enum": ["missing", "injected"] }, "routeBaseUrl": { "type": "string", "enum": ["missing", "injected"] }, "claudeOAuth": { "type": "string", "enum": ["not-used", "required"] }, "skills": { "type": "object", "properties": { "synced": { "type": "number" }, "skipped": { "type": "number" } }, "required": ["synced", "skipped"], "additionalProperties": true }, "mcp": { "type": "object", "properties": { "synced": { "type": "number" }, "skipped": { "type": "number" } }, "required": ["synced", "skipped"], "additionalProperties": true }, "environmentNames": { "type": "array", "items": { "type": "string" } }, "skipped": { "type": "array", "items": { "type": "string" } } }, "required": ["routeCredential", "routeBaseUrl", "claudeOAuth", "skills", "mcp", "environmentNames", "skipped"], "additionalProperties": true } }, "required": ["active", "queued", "commands", "output"], "additionalProperties": true }
17237
17237
  },
17238
- sourceLocation: { "file": "packages/plugin/src/host/index.ts", "line": 1434, "column": 9 }
17238
+ sourceLocation: { "file": "packages/plugin/src/host/index.ts", "line": 1420, "column": 9 }
17239
17239
  },
17240
17240
  "zerowallClaudeCode/cliSetPermissionMode": {
17241
17241
  service: "zerowallClaudeCode",
@@ -17286,7 +17286,7 @@ var TYPERT_REMOTE = createTypertRemoteInfo({
17286
17286
  create: _zerowall_dsh_claude_coderun_zerowallClaudeCode_cliSetPermissionMode_result$schema,
17287
17287
  jsonSchema: { "type": "object", "properties": { "active": { "type": "boolean" }, "queued": { "type": "boolean" }, "sessionId": { "type": "string" }, "model": { "type": "string" }, "commands": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "argumentHint": { "type": "string" } }, "required": ["name"], "additionalProperties": true } }, "output": { "type": "string" }, "contextUsage": { "type": "object", "properties": { "totalTokens": { "type": "number" }, "maxTokens": { "type": "number" }, "rawMaxTokens": { "type": "number" }, "percentage": { "type": "number" }, "autoCompactThreshold": { "type": "number" }, "isAutoCompactEnabled": { "type": "boolean", "enum": [false, true], "description": "Present only when the managed Claude runtime reports its real state." }, "detail": { "type": "string", "enum": ["summary", "full"] }, "apiUsage": { "type": "object", "properties": { "input_tokens": { "type": "number" }, "output_tokens": { "type": "number" }, "cache_creation_input_tokens": { "type": "number" }, "cache_read_input_tokens": { "type": "number" } }, "required": [], "additionalProperties": true } }, "required": ["totalTokens", "maxTokens", "percentage", "detail"], "additionalProperties": true }, "lastCompact": { "type": "object", "properties": { "trigger": { "type": "string", "enum": ["auto", "manual"] }, "preTokens": { "type": "number" }, "postTokens": { "type": "number" }, "durationMs": { "type": "number" } }, "required": ["trigger", "preTokens"], "additionalProperties": true }, "error": { "type": "string" }, "diagnostics": { "type": "object", "properties": { "model": { "type": "string" }, "routeCredential": { "type": "string", "enum": ["missing", "injected"] }, "routeBaseUrl": { "type": "string", "enum": ["missing", "injected"] }, "claudeOAuth": { "type": "string", "enum": ["not-used", "required"] }, "skills": { "type": "object", "properties": { "synced": { "type": "number" }, "skipped": { "type": "number" } }, "required": ["synced", "skipped"], "additionalProperties": true }, "mcp": { "type": "object", "properties": { "synced": { "type": "number" }, "skipped": { "type": "number" } }, "required": ["synced", "skipped"], "additionalProperties": true }, "environmentNames": { "type": "array", "items": { "type": "string" } }, "skipped": { "type": "array", "items": { "type": "string" } } }, "required": ["routeCredential", "routeBaseUrl", "claudeOAuth", "skills", "mcp", "environmentNames", "skipped"], "additionalProperties": true } }, "required": ["active", "queued", "commands", "output"], "additionalProperties": true }
17288
17288
  },
17289
- sourceLocation: { "file": "packages/plugin/src/host/index.ts", "line": 1443, "column": 9 }
17289
+ sourceLocation: { "file": "packages/plugin/src/host/index.ts", "line": 1429, "column": 9 }
17290
17290
  },
17291
17291
  "zerowallClaudeCode/contextUsage": {
17292
17292
  service: "zerowallClaudeCode",
@@ -17338,7 +17338,7 @@ var TYPERT_REMOTE = createTypertRemoteInfo({
17338
17338
  create: _zerowall_dsh_claude_coderun_zerowallClaudeCode_contextUsage_result$schema,
17339
17339
  jsonSchema: { "type": "object", "properties": { "active": { "type": "boolean" }, "queued": { "type": "boolean" }, "sessionId": { "type": "string" }, "model": { "type": "string" }, "commands": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "argumentHint": { "type": "string" } }, "required": ["name"], "additionalProperties": true } }, "output": { "type": "string" }, "contextUsage": { "type": "object", "properties": { "totalTokens": { "type": "number" }, "maxTokens": { "type": "number" }, "rawMaxTokens": { "type": "number" }, "percentage": { "type": "number" }, "autoCompactThreshold": { "type": "number" }, "isAutoCompactEnabled": { "type": "boolean", "enum": [false, true], "description": "Present only when the managed Claude runtime reports its real state." }, "detail": { "type": "string", "enum": ["summary", "full"] }, "apiUsage": { "type": "object", "properties": { "input_tokens": { "type": "number" }, "output_tokens": { "type": "number" }, "cache_creation_input_tokens": { "type": "number" }, "cache_read_input_tokens": { "type": "number" } }, "required": [], "additionalProperties": true } }, "required": ["totalTokens", "maxTokens", "percentage", "detail"], "additionalProperties": true }, "lastCompact": { "type": "object", "properties": { "trigger": { "type": "string", "enum": ["auto", "manual"] }, "preTokens": { "type": "number" }, "postTokens": { "type": "number" }, "durationMs": { "type": "number" } }, "required": ["trigger", "preTokens"], "additionalProperties": true }, "error": { "type": "string" }, "diagnostics": { "type": "object", "properties": { "model": { "type": "string" }, "routeCredential": { "type": "string", "enum": ["missing", "injected"] }, "routeBaseUrl": { "type": "string", "enum": ["missing", "injected"] }, "claudeOAuth": { "type": "string", "enum": ["not-used", "required"] }, "skills": { "type": "object", "properties": { "synced": { "type": "number" }, "skipped": { "type": "number" } }, "required": ["synced", "skipped"], "additionalProperties": true }, "mcp": { "type": "object", "properties": { "synced": { "type": "number" }, "skipped": { "type": "number" } }, "required": ["synced", "skipped"], "additionalProperties": true }, "environmentNames": { "type": "array", "items": { "type": "string" } }, "skipped": { "type": "array", "items": { "type": "string" } } }, "required": ["routeCredential", "routeBaseUrl", "claudeOAuth", "skills", "mcp", "environmentNames", "skipped"], "additionalProperties": true } }, "required": ["active", "queued", "commands", "output"], "additionalProperties": true }
17340
17340
  },
17341
- sourceLocation: { "file": "packages/plugin/src/host/index.ts", "line": 1417, "column": 9 }
17341
+ sourceLocation: { "file": "packages/plugin/src/host/index.ts", "line": 1403, "column": 9 }
17342
17342
  },
17343
17343
  "zerowallClaudeCode/installCli": {
17344
17344
  service: "zerowallClaudeCode",
@@ -17493,9 +17493,9 @@ var TYPERT_REMOTE = createTypertRemoteInfo({
17493
17493
  mode: "strict",
17494
17494
  typeSymbol: "@zerowall/dsh-claude-coderun#zerowallClaudeCode/read:result",
17495
17495
  create: _zerowall_dsh_claude_coderun_zerowallClaudeCode_read_result$schema,
17496
- jsonSchema: { "oneOf": [{ "type": "null", "const": null }, { "type": "object", "properties": { "id": { "type": "string" }, "provider": { "type": "string" }, "model": { "type": "string" }, "executablePath": { "type": "string", "description": "Absolute CLI entrypoint captured for this turn, before spawning it." }, "running": { "type": "boolean" }, "output": { "type": "string" }, "exitCode": { "oneOf": [{ "type": "null", "const": null }, { "type": "number" }] }, "message": { "type": "string" }, "skills": { "type": "number" }, "mcp": { "type": "number" }, "skipped": { "type": "array", "items": { "type": "string" } }, "renderer": { "type": "string", "enum": ["plugin", "native"] }, "turn": { "type": "number" }, "step": { "type": "number" }, "activity": { "type": "array", "items": { "type": "object", "properties": { "index": { "type": "number" }, "kind": { "type": "string", "enum": ["text", "reasoning", "tool-call"] }, "text": { "type": "string" }, "ended": { "type": "boolean" }, "id": { "type": "string" }, "name": { "type": "string" }, "result": { "type": "string" }, "failed": { "type": "boolean", "enum": [false, true] }, "answer": { "type": "boolean", "enum": [false, true] } }, "required": ["index", "kind", "text", "ended"], "additionalProperties": true } }, "nativeSessionId": { "type": "string" }, "resumed": { "type": "boolean", "enum": [false, true] }, "permission": { "type": "object", "properties": { "active": { "type": "boolean" }, "source": { "type": "string", "enum": ["plugin", "native"] }, "mode": { "type": "string", "enum": ["default", "dontAsk", "acceptEdits", "auto", "plan", "bypassPermissions"] }, "hostPreset": { "type": "string" }, "hostSandbox": { "type": "string" }, "hostApproval": { "type": "string" }, "runningMode": { "type": "string", "enum": ["default", "dontAsk", "acceptEdits", "auto", "plan", "bypassPermissions"] }, "nativeOptions": { "type": "array", "items": { "type": "object", "properties": { "value": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" } }, "required": ["value", "name"], "additionalProperties": true } } }, "required": ["active", "source", "mode", "hostPreset", "hostSandbox", "hostApproval", "nativeOptions"], "additionalProperties": true }, "resources": { "type": "array", "items": { "type": "object", "properties": { "kind": { "type": "string", "enum": ["skill", "mcp"] }, "name": { "type": "string" }, "state": { "type": "string", "enum": ["failed", "manual", "synced", "disabled", "unavailable"] }, "detail": { "type": "string" } }, "required": ["kind", "name", "state"], "additionalProperties": true } }, "diagnostic": { "type": "object", "properties": { "id": { "type": "string" }, "category": { "type": "string" } }, "required": ["id", "category"], "additionalProperties": true }, "contextUsage": { "type": "object", "properties": { "totalTokens": { "type": "number" }, "maxTokens": { "type": "number" }, "rawMaxTokens": { "type": "number" }, "percentage": { "type": "number" }, "autoCompactThreshold": { "type": "number" }, "isAutoCompactEnabled": { "type": "boolean", "enum": [false, true], "description": "Present only when the managed Claude runtime reports its real state." }, "detail": { "type": "string", "enum": ["summary", "full"] }, "apiUsage": { "type": "object", "properties": { "input_tokens": { "type": "number" }, "output_tokens": { "type": "number" }, "cache_creation_input_tokens": { "type": "number" }, "cache_read_input_tokens": { "type": "number" } }, "required": [], "additionalProperties": true } }, "required": ["totalTokens", "maxTokens", "percentage", "detail"], "additionalProperties": true }, "lastCompact": { "type": "object", "properties": { "trigger": { "type": "string", "enum": ["auto", "manual"] }, "preTokens": { "type": "number" }, "postTokens": { "type": "number" }, "durationMs": { "type": "number" } }, "required": ["trigger", "preTokens"], "additionalProperties": true } }, "required": ["id", "provider", "model", "running", "output", "skills", "mcp", "skipped"], "additionalProperties": true }] }
17496
+ jsonSchema: { "oneOf": [{ "type": "null", "const": null }, { "type": "object", "properties": { "id": { "type": "string" }, "provider": { "type": "string" }, "model": { "type": "string" }, "executablePath": { "type": "string", "description": "Absolute CLI entrypoint captured for this turn, before spawning it." }, "running": { "type": "boolean" }, "output": { "type": "string" }, "exitCode": { "oneOf": [{ "type": "null", "const": null }, { "type": "number" }] }, "message": { "type": "string" }, "skills": { "type": "number" }, "mcp": { "type": "number" }, "skipped": { "type": "array", "items": { "type": "string" } }, "renderer": { "type": "string", "enum": ["plugin", "native"] }, "turn": { "type": "number" }, "step": { "type": "number" }, "activity": { "type": "array", "items": { "type": "object", "properties": { "index": { "type": "number" }, "kind": { "type": "string", "enum": ["text", "reasoning", "tool-call"] }, "text": { "type": "string" }, "ended": { "type": "boolean" }, "id": { "type": "string" }, "name": { "type": "string" }, "result": { "type": "string" }, "failed": { "type": "boolean", "enum": [false, true] }, "answer": { "type": "boolean", "enum": [false, true] } }, "required": ["index", "kind", "text", "ended"], "additionalProperties": true } }, "nativeSessionId": { "type": "string" }, "resumed": { "type": "boolean", "enum": [false, true] }, "permission": { "type": "object", "properties": { "active": { "type": "boolean" }, "source": { "type": "string", "enum": ["plugin", "native"] }, "mode": { "type": "string", "enum": ["default", "dontAsk", "acceptEdits", "auto", "plan", "bypassPermissions"] }, "hostPreset": { "type": "string" }, "hostSandbox": { "type": "string" }, "hostApproval": { "type": "string" }, "runningMode": { "type": "string", "enum": ["default", "dontAsk", "acceptEdits", "auto", "plan", "bypassPermissions"] }, "nativeOptions": { "type": "array", "items": { "type": "object", "properties": { "value": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" } }, "required": ["value", "name"], "additionalProperties": true } } }, "required": ["active", "source", "mode", "hostPreset", "hostSandbox", "hostApproval", "nativeOptions"], "additionalProperties": true }, "resources": { "type": "array", "items": { "type": "object", "properties": { "kind": { "type": "string", "enum": ["skill", "mcp"] }, "name": { "type": "string" }, "state": { "type": "string", "enum": ["failed", "manual", "synced", "on-demand", "disabled", "unavailable"] }, "detail": { "type": "string" } }, "required": ["kind", "name", "state"], "additionalProperties": true } }, "diagnostic": { "type": "object", "properties": { "id": { "type": "string" }, "category": { "type": "string" } }, "required": ["id", "category"], "additionalProperties": true }, "contextUsage": { "type": "object", "properties": { "totalTokens": { "type": "number" }, "maxTokens": { "type": "number" }, "rawMaxTokens": { "type": "number" }, "percentage": { "type": "number" }, "autoCompactThreshold": { "type": "number" }, "isAutoCompactEnabled": { "type": "boolean", "enum": [false, true], "description": "Present only when the managed Claude runtime reports its real state." }, "detail": { "type": "string", "enum": ["summary", "full"] }, "apiUsage": { "type": "object", "properties": { "input_tokens": { "type": "number" }, "output_tokens": { "type": "number" }, "cache_creation_input_tokens": { "type": "number" }, "cache_read_input_tokens": { "type": "number" } }, "required": [], "additionalProperties": true } }, "required": ["totalTokens", "maxTokens", "percentage", "detail"], "additionalProperties": true }, "lastCompact": { "type": "object", "properties": { "trigger": { "type": "string", "enum": ["auto", "manual"] }, "preTokens": { "type": "number" }, "postTokens": { "type": "number" }, "durationMs": { "type": "number" } }, "required": ["trigger", "preTokens"], "additionalProperties": true } }, "required": ["id", "provider", "model", "running", "output", "skills", "mcp", "skipped"], "additionalProperties": true }] }
17497
17497
  },
17498
- sourceLocation: { "file": "packages/plugin/src/host/index.ts", "line": 1451, "column": 3 }
17498
+ sourceLocation: { "file": "packages/plugin/src/host/index.ts", "line": 1437, "column": 3 }
17499
17499
  },
17500
17500
  "zerowallClaudeCode/readTranscript": {
17501
17501
  service: "zerowallClaudeCode",
@@ -17562,7 +17562,7 @@ var TYPERT_REMOTE = createTypertRemoteInfo({
17562
17562
  create: _zerowall_dsh_claude_coderun_zerowallClaudeCode_readTranscript_result$schema,
17563
17563
  jsonSchema: { "oneOf": [{ "type": "null", "const": null }, { "type": "object", "properties": { "turn": { "type": "number" }, "step": { "type": "number" }, "renderer": { "type": "string", "enum": ["plugin", "native"] }, "running": { "type": "boolean" }, "activity": { "type": "array", "items": { "type": "object", "properties": { "index": { "type": "number" }, "kind": { "type": "string", "enum": ["text", "reasoning", "tool-call"] }, "text": { "type": "string" }, "ended": { "type": "boolean" }, "id": { "type": "string" }, "name": { "type": "string" }, "result": { "type": "string" }, "failed": { "type": "boolean", "enum": [false, true] }, "answer": { "type": "boolean", "enum": [false, true] } }, "required": ["index", "kind", "text", "ended"], "additionalProperties": true } } }, "required": ["turn", "step", "renderer", "running", "activity"], "additionalProperties": true }] }
17564
17564
  },
17565
- sourceLocation: { "file": "packages/plugin/src/host/index.ts", "line": 1456, "column": 3 }
17565
+ sourceLocation: { "file": "packages/plugin/src/host/index.ts", "line": 1442, "column": 3 }
17566
17566
  },
17567
17567
  "zerowallClaudeCode/rollback": {
17568
17568
  service: "zerowallClaudeCode",
@@ -17798,7 +17798,7 @@ var TYPERT_REMOTE = createTypertRemoteInfo({
17798
17798
  create: _zerowall_dsh_claude_coderun_zerowallClaudeCode_stop_result$schema,
17799
17799
  jsonSchemaError: "typert tool schema: unsupported void value"
17800
17800
  },
17801
- sourceLocation: { "file": "packages/plugin/src/host/index.ts", "line": 1470, "column": 9 }
17801
+ sourceLocation: { "file": "packages/plugin/src/host/index.ts", "line": 1456, "column": 9 }
17802
17802
  },
17803
17803
  "zerowallClaudeCode/uninstall": {
17804
17804
  service: "zerowallClaudeCode",