@tbox.cn/tboxcode-dsh-bundle 0.1.0-rc.4 → 0.1.0-rc.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/cordis.patch.yml CHANGED
@@ -92,6 +92,9 @@
92
92
  # scratch 三件(常驻注册——工具目录跨模式稳定,plan-mode-sandbox-composition 硬约束④)
93
93
  - id: tboxcode-scratch
94
94
  name: '@tbox.cn/tboxcode-dsh-tools/scratch'
95
+ # turn/end 自动 commit + push(默认 enabled=false;box overlay 覆盖 true)
96
+ - id: tboxcode-auto-commit
97
+ name: '@tbox.cn/tboxcode-dsh-tools/auto-commit'
95
98
 
96
99
  # ── prompts 行组(C6:七 section + 三 context + 重排器 + complete 整接管;
97
100
  # systemPrompt / rules 翻译域经行 config 注入)──
package/lib/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { a as createConvergenceCore, i as ConvergenceState, n as ConvergenceIO, o as rowsEqual, r as ConvergenceRow, t as ConvergenceCore } from "./convergence-core-C1ZtU17g.js";
2
2
  import { r as name, t as apply } from "./convergence-CvqBcQv2.js";
3
3
  import { a as SweepResult, l as sweepSessions, n as RetentionKnobs, o as isOwnedHome, r as RetentionScheduler, s as startRetentionScheduler, t as DEFAULT_KNOBS } from "./retention-B2V8Plpx.js";
4
- import { a as TboxcodeRemoteServices, c as handleCommandsList, d as handleMode, f as handleReload, g as handleSkillsUserInvocable, i as TboxcodeRemoteGateway, l as handleDefaultSelection, m as handleSessionsFlush, p as handleRetentionRun, s as handleCommandsExecute, u as handleHealth, y as name$1 } from "./remote-Ci33eojc.js";
4
+ import { S as name$1, _ as handleSessionsFlush, a as TboxcodeRemoteGateway, c as handleCommandsExecute, d as handleDefaultSelection, f as handleGitPushWatch, g as handleRetentionRun, h as handleReload, l as handleCommandsList, m as handleMode, o as TboxcodeRemoteServices, p as handleHealth, r as GitPushEvent, u as handleCommit, y as handleSkillsUserInvocable } from "./remote-M61Ge3BR.js";
5
5
  import { a as redactTokens, i as createLogger, n as Logger, t as LogLevel } from "./logger-DcHqQwUI.js";
6
6
 
7
7
  //#region src/index.d.ts
@@ -11,4 +11,4 @@ import { a as redactTokens, i as createLogger, n as Logger, t as LogLevel } from
11
11
  */
12
12
  declare const PACKAGE_NAME = "@tbox.cn/tboxcode-dsh-bundle";
13
13
  //#endregion
14
- export { type ConvergenceCore, type ConvergenceIO, type ConvergenceRow, type ConvergenceState, DEFAULT_KNOBS, type LogLevel, type Logger, PACKAGE_NAME, type RetentionKnobs, type RetentionScheduler, type SweepResult, TboxcodeRemoteGateway, type TboxcodeRemoteServices, apply as convergenceApply, name as convergenceName, createConvergenceCore, createLogger, handleCommandsExecute, handleCommandsList, handleDefaultSelection, handleHealth, handleMode, handleReload, handleRetentionRun, handleSessionsFlush, handleSkillsUserInvocable, isOwnedHome, redactTokens, name$1 as remoteName, rowsEqual, startRetentionScheduler, sweepSessions };
14
+ export { type ConvergenceCore, type ConvergenceIO, type ConvergenceRow, type ConvergenceState, DEFAULT_KNOBS, type GitPushEvent, type LogLevel, type Logger, PACKAGE_NAME, type RetentionKnobs, type RetentionScheduler, type SweepResult, TboxcodeRemoteGateway, type TboxcodeRemoteServices, apply as convergenceApply, name as convergenceName, createConvergenceCore, createLogger, handleCommandsExecute, handleCommandsList, handleCommit, handleDefaultSelection, handleGitPushWatch, handleHealth, handleMode, handleReload, handleRetentionRun, handleSessionsFlush, handleSkillsUserInvocable, isOwnedHome, redactTokens, name$1 as remoteName, rowsEqual, startRetentionScheduler, sweepSessions };
package/lib/index.js CHANGED
@@ -2,7 +2,7 @@ import { n as rowsEqual, t as createConvergenceCore } from "./convergence-core-C
2
2
  import { r as name, t as apply } from "./convergence-BfoAE48C.js";
3
3
  import { a as sweepSessions, n as isOwnedHome, r as startRetentionScheduler, t as DEFAULT_KNOBS } from "./retention-DNEdnIxC.js";
4
4
  import { n as redactTokens, t as createLogger } from "./logger-BGwLHZXY.js";
5
- import { a as handleDefaultSelection, c as handleReload, f as handleSkillsUserInvocable, h as name$1, i as handleCommandsList, l as handleRetentionRun, o as handleHealth, r as handleCommandsExecute, s as handleMode, t as TboxcodeRemoteGateway, u as handleSessionsFlush } from "./remote-DjawPq5z.js";
5
+ import { _ as name$1, a as handleCommit, c as handleHealth, d as handleRetentionRun, f as handleSessionsFlush, i as handleCommandsList, l as handleMode, m as handleSkillsUserInvocable, o as handleDefaultSelection, r as handleCommandsExecute, s as handleGitPushWatch, t as TboxcodeRemoteGateway, u as handleReload } from "./remote-Dtp5c3iI.js";
6
6
 
7
7
  //#region src/index.ts
8
8
  /**
@@ -12,4 +12,4 @@ import { a as handleDefaultSelection, c as handleReload, f as handleSkillsUserIn
12
12
  const PACKAGE_NAME = "@tbox.cn/tboxcode-dsh-bundle";
13
13
 
14
14
  //#endregion
15
- export { DEFAULT_KNOBS, PACKAGE_NAME, TboxcodeRemoteGateway, apply as convergenceApply, name as convergenceName, createConvergenceCore, createLogger, handleCommandsExecute, handleCommandsList, handleDefaultSelection, handleHealth, handleMode, handleReload, handleRetentionRun, handleSessionsFlush, handleSkillsUserInvocable, isOwnedHome, redactTokens, name$1 as remoteName, rowsEqual, startRetentionScheduler, sweepSessions };
15
+ export { DEFAULT_KNOBS, PACKAGE_NAME, TboxcodeRemoteGateway, apply as convergenceApply, name as convergenceName, createConvergenceCore, createLogger, handleCommandsExecute, handleCommandsList, handleCommit, handleDefaultSelection, handleGitPushWatch, handleHealth, handleMode, handleReload, handleRetentionRun, handleSessionsFlush, handleSkillsUserInvocable, isOwnedHome, redactTokens, name$1 as remoteName, rowsEqual, startRetentionScheduler, sweepSessions };
package/lib/prompts.d.ts CHANGED
@@ -11,12 +11,19 @@ interface Config {
11
11
  }
12
12
  /** 白名单二值(reminders-plugin-dissolution 定案):真实用户输入语义。 */
13
13
  declare const USER_VOICE_KINDS: ReadonlySet<string>;
14
- /** plan 档权限说明文案(composition note 引导三层①;build 档空串不渲染)。 */
14
+ /** plan 档权限说明文案(composition note 引导层;build 档空串不渲染)。 */
15
15
  declare function renderPermissionContext(mode: string, scratchDir: string): string;
16
+ /**
17
+ * scratch 根声明 context(model-context design 清单新增行;紧贴
18
+ * WORKING_DIRECTORY(100) 与 SANDBOX_POLICY(110) 之间形成 cwd 对照)。
19
+ * scratch_* 相对路径与 workdir 都解析到该目录——`working_directory` / cd
20
+ * 只影响常规工具(模型 cwd 认知第二层信号)。
21
+ */
22
+ declare function renderScratchContext(scratchDir: string): string;
16
23
  /** environment 三行(基线 env-static + env-git 精确并集;现算不 memoize)。
17
24
  * Working directory 行退役——dsh 0.2.1 原生 working-directory 服务注入
18
25
  * `Current working directory: "<path>".`(同信息超集 + 工具联动,subagent-native-adoption)。 */
19
26
  declare function renderEnvironmentContext(cwd: string): string;
20
27
  declare function apply(ctx: Context, config?: Config): () => void;
21
28
  //#endregion
22
- export { Config, USER_VOICE_KINDS, apply, inject, name, renderEnvironmentContext, renderPermissionContext };
29
+ export { Config, USER_VOICE_KINDS, apply, inject, name, renderEnvironmentContext, renderPermissionContext, renderScratchContext };
package/lib/prompts.js CHANGED
@@ -11,8 +11,9 @@ const ConfigSchema = z.object({
11
11
  systemPrompt: z.string().optional(),
12
12
  rules: z.array(z.string()).optional()
13
13
  });
14
+ const SCRATCH_ROOT = join(tmpdir(), "tboxcode-scratch");
14
15
  function scratchDirFor(sessionId) {
15
- return join(tmpdir(), "tboxcode-scratch", sessionId);
16
+ return join(SCRATCH_ROOT, sessionId);
16
17
  }
17
18
  const TONE_OBJECTIVITY = `# 语气与风格
18
19
 
@@ -63,6 +64,7 @@ const TOOL_DISCIPLINE = `# 工具使用纪律
63
64
  - 你可以在单次响应中调用多个工具。如果你打算调用多个工具且它们之间没有依赖关系,应同时发起所有独立的工具调用。尽量并行调用工具以提高效率。但是,如果某些工具调用需要前一个调用的结果作为参数,不要并行调用,而是顺序调用。例如,如果一个操作必须在另一个操作之前完成,请顺序运行这些操作。绝不要在工具调用中使用占位符或猜测缺失参数
64
65
  - 如果用户指定他们希望你"并行"运行工具,你必须在单条消息中发送包含多个工具调用的请求
65
66
  - webfetch 会自动跟随 HTTP 重定向和 JS 页面跳转(最多 3 跳)
67
+ - 临时验证与一次性产物使用 scratch_bash / scratch_write / scratch_edit:它们以系统临时目录为根(相对路径与 scratch_bash 的工作目录都解析到那里);其他工具以当前工作目录为根;不要在工作区内创建临时目录
66
68
  - 用户消息以斜杠命令开头时,先使用 skill 工具加载对应技能(若尚未加载);如需读取 skill 目录内其他文件,以 \`<skill_location>\` 中 SKILL.md 所在目录为基础目录`;
67
69
  const DELEGATION = `# 委派纪律
68
70
 
@@ -134,19 +136,35 @@ const SECTION_ORDERS_TBOX = {
134
136
  };
135
137
  /** 白名单二值(reminders-plugin-dissolution 定案):真实用户输入语义。 */
136
138
  const USER_VOICE_KINDS = new Set(["user", "user-question-reply"]);
137
- /** plan 档权限说明文案(composition note 引导三层①;build 档空串不渲染)。 */
139
+ /** plan 档权限说明文案(composition note 引导层;build 档空串不渲染)。 */
138
140
  function renderPermissionContext(mode, scratchDir) {
139
141
  if (mode !== "read-only") return "";
140
142
  return [
141
143
  "# 权限模式:plan(只读)",
142
144
  "",
143
145
  `- 当前处于只读模式:文件写入与变更类 bash 命令会被内核拒绝(含系统临时目录)。`,
144
- `- 需要临时验证(运行脚本、检查依赖、生成一次性产物)时,使用 scratch_bash / scratch_write / scratch_edit 三件工具——它们在会话私有的临时目录 \`${scratchDir}\` 中放行。产物的绝对路径即可直接引用。`,
146
+ `- 需要临时验证(运行脚本、检查依赖、生成一次性产物)时,使用 scratch_bash / scratch_write / scratch_edit 三件工具——它们在会话私有的临时目录 \`${scratchDir}\` 中放行,相对路径也按该目录解析。产物的绝对路径即可直接引用。`,
145
147
  `- 临时验证限于环境已有的依赖;不要尝试安装依赖(缓存目录写入会被拒绝)。`,
146
148
  `- webfetch 与 curl 不得发起对目标系统有写入效果的调用。`,
147
149
  `- 对项目的一切修改请写入计划,切回 build 模式后执行。`
148
150
  ].join("\n");
149
151
  }
152
+ /**
153
+ * scratch 根声明 context(model-context design 清单新增行;紧贴
154
+ * WORKING_DIRECTORY(100) 与 SANDBOX_POLICY(110) 之间形成 cwd 对照)。
155
+ * scratch_* 相对路径与 workdir 都解析到该目录——`working_directory` / cd
156
+ * 只影响常规工具(模型 cwd 认知第二层信号)。
157
+ */
158
+ function renderScratchContext(scratchDir) {
159
+ return [
160
+ `Scratch directory (system temp; the root for scratch_bash / scratch_write / scratch_edit): "${scratchDir}"`,
161
+ `- scratch_* tools create this directory on first use; never pass it as an output file target,`,
162
+ ` even from regular bash — write to a file path inside it.`,
163
+ `- scratch_* tools resolve relative paths and run with this directory as their working directory.`,
164
+ `- Regular tools (bash, read, write, edit, glob, grep) use the current working directory; working_directory / cd changes it for regular tools only, never for the scratch root.`,
165
+ `- Use scratch_* for throwaway scripts and one-off artifacts; do not create temporary directories inside the workspace.`
166
+ ].join("\n");
167
+ }
150
168
  /** environment 三行(基线 env-static + env-git 精确并集;现算不 memoize)。
151
169
  * Working directory 行退役——dsh 0.2.1 原生 working-directory 服务注入
152
170
  * `Current working directory: "<path>".`(同信息超集 + 工具联动,subagent-native-adoption)。 */
@@ -268,6 +286,15 @@ function apply(ctx, config = {}) {
268
286
  return renderPermissionContext(mode, scratchDirFor(c.agent?.session?.header?.id ?? "adhoc"));
269
287
  }
270
288
  });
289
+ sp.context({
290
+ name: "tboxcode:scratch",
291
+ order: sandboxOrder - 8,
292
+ text: (c) => {
293
+ const sessionId = c.agent?.session?.header?.id;
294
+ if (sessionId === void 0) return "";
295
+ return renderScratchContext(scratchDirFor(sessionId));
296
+ }
297
+ });
271
298
  sp.context({
272
299
  name: "tboxcode:model",
273
300
  order: sandboxOrder - 5,
@@ -292,4 +319,4 @@ function apply(ctx, config = {}) {
292
319
  }
293
320
 
294
321
  //#endregion
295
- export { USER_VOICE_KINDS, apply, inject, name, renderEnvironmentContext, renderPermissionContext };
322
+ export { USER_VOICE_KINDS, apply, inject, name, renderEnvironmentContext, renderPermissionContext, renderScratchContext };
@@ -5,6 +5,7 @@ import { homedir } from "node:os";
5
5
  import { RemoteError, TypertRemoteService, remoteMethods } from "@deepseek-ai/dsh-typert-protocol";
6
6
  import { setSandboxMode } from "@deepseek-ai/dsh-sandbox-policy";
7
7
  import { translateMode } from "@tbox.cn/dsh-acp-bridge-core";
8
+ import { runAutoCommit } from "@tbox.cn/tboxcode-dsh-tools";
8
9
 
9
10
  //#region src/remote.ts
10
11
  function requireAgent(services, agentId) {
@@ -145,6 +146,55 @@ async function* handleAgentWatch(services, signal) {
145
146
  signal.removeEventListener("abort", abort);
146
147
  }
147
148
  }
149
+ /** 显式提交(box 程序化通道——不再走 auto-commit prompt)。 */
150
+ async function handleCommit(request) {
151
+ return runAutoCommit({
152
+ cwd: request.cwd,
153
+ config: {
154
+ ...request.config,
155
+ enabled: true,
156
+ ...request.message === void 0 ? {} : { commitMessage: request.message },
157
+ ...request.push === void 0 ? {} : { push: request.push }
158
+ }
159
+ });
160
+ }
161
+ /** git push 事件流(auto-commit 插件 emit `tboxcode/git_push`——box notifier 订阅)。 */
162
+ async function* handleGitPushWatch(services, signal) {
163
+ const queue = [];
164
+ let wake;
165
+ const stop = services.on("tboxcode/git_push", (payload) => {
166
+ if (payload === null || typeof payload !== "object") return;
167
+ const record = payload;
168
+ if (typeof record["cwd"] !== "string") return;
169
+ queue.push({
170
+ cwd: record["cwd"],
171
+ ok: record["ok"] === true,
172
+ ...typeof record["commit"] === "string" ? { commit: record["commit"] } : {},
173
+ ...typeof record["error"] === "string" ? { error: record["error"] } : {},
174
+ ...typeof record["attempt"] === "number" ? { attempt: record["attempt"] } : {}
175
+ });
176
+ wake?.();
177
+ });
178
+ const abort = () => {
179
+ wake?.();
180
+ };
181
+ signal.addEventListener("abort", abort, { once: true });
182
+ try {
183
+ while (!signal.aborted) {
184
+ const item = queue.shift();
185
+ if (item !== void 0) {
186
+ yield item;
187
+ continue;
188
+ }
189
+ await new Promise((resolve) => {
190
+ wake = resolve;
191
+ });
192
+ }
193
+ } finally {
194
+ stop();
195
+ signal.removeEventListener("abort", abort);
196
+ }
197
+ }
148
198
  /** 热载触发(convergence reloadNow 包装——忙时 RETRY_AFTER_TURN 拒绝语义透传)。 */
149
199
  async function handleReload(services) {
150
200
  if (services.convergence === void 0) throw new RemoteError("tboxcode/reload-unavailable", "收敛环未挂载(reload 通道仅 config 热载形态可用)", {});
@@ -271,6 +321,12 @@ var TboxcodeRemoteGateway = class extends TypertRemoteService {
271
321
  agentWatch(signal) {
272
322
  return handleAgentWatch(stateOf(this).services, signal);
273
323
  }
324
+ commit(request) {
325
+ return handleCommit(request);
326
+ }
327
+ gitPushWatch(signal) {
328
+ return handleGitPushWatch(stateOf(this).services, signal);
329
+ }
274
330
  reload() {
275
331
  return handleReload(stateOf(this).services);
276
332
  }
@@ -312,6 +368,15 @@ const REMOTE_METHODS = [
312
368
  exportName: "agent.watch",
313
369
  mode: "stream"
314
370
  },
371
+ {
372
+ method: "commit",
373
+ exportName: "commit"
374
+ },
375
+ {
376
+ method: "gitPushWatch",
377
+ exportName: "git_push.watch",
378
+ mode: "stream"
379
+ },
315
380
  {
316
381
  method: "sessionsFlush",
317
382
  exportName: "sessions.flush"
@@ -350,4 +415,4 @@ if (markers.length !== REMOTE_METHODS.length || REMOTE_METHODS.some(({ exportNam
350
415
  var remote_default = TboxcodeRemoteGateway;
351
416
 
352
417
  //#endregion
353
- export { handleDefaultSelection as a, handleReload as c, handleSessionsStat as d, handleSkillsUserInvocable as f, remote_default as g, name as h, handleCommandsList as i, handleRetentionRun as l, inject as m, handleAgentWatch as n, handleHealth as o, handleSkillsWatch as p, handleCommandsExecute as r, handleMode as s, TboxcodeRemoteGateway as t, handleSessionsFlush as u };
418
+ export { name as _, handleCommit as a, handleHealth as c, handleRetentionRun as d, handleSessionsFlush as f, inject as g, handleSkillsWatch as h, handleCommandsList as i, handleMode as l, handleSkillsUserInvocable as m, handleAgentWatch as n, handleDefaultSelection as o, handleSessionsStat as p, handleCommandsExecute as r, handleGitPushWatch as s, TboxcodeRemoteGateway as t, handleReload as u, remote_default as v };
@@ -1,6 +1,7 @@
1
1
  import { t as ConvergenceCore } from "./convergence-core-C1ZtU17g.js";
2
2
  import { a as SweepResult, r as RetentionScheduler } from "./retention-B2V8Plpx.js";
3
3
  import { TypertRemoteService } from "@deepseek-ai/dsh-typert-protocol";
4
+ import { AutoCommitConfig, AutoCommitOutcome } from "@tbox.cn/tboxcode-dsh-tools";
4
5
  import { Context } from "@deepseek-ai/cordis";
5
6
 
6
7
  //#region src/remote.d.ts
@@ -132,6 +133,22 @@ type AgentWatchItem = {
132
133
  * 单流,sessionId 经 agent 句柄防御性提取)。
133
134
  */
134
135
  declare function handleAgentWatch(services: TboxcodeRemoteServices, signal: AbortSignal): AsyncIterable<AgentWatchItem>;
136
+ /** 显式提交(box 程序化通道——不再走 auto-commit prompt)。 */
137
+ declare function handleCommit(request: {
138
+ cwd: string;
139
+ message?: string;
140
+ push?: boolean;
141
+ config?: AutoCommitConfig;
142
+ }): Promise<AutoCommitOutcome>;
143
+ interface GitPushEvent {
144
+ cwd: string;
145
+ ok: boolean;
146
+ commit?: string;
147
+ error?: string;
148
+ attempt?: number;
149
+ }
150
+ /** git push 事件流(auto-commit 插件 emit `tboxcode/git_push`——box notifier 订阅)。 */
151
+ declare function handleGitPushWatch(services: TboxcodeRemoteServices, signal: AbortSignal): AsyncIterable<GitPushEvent>;
135
152
  /** 热载触发(convergence reloadNow 包装——忙时 RETRY_AFTER_TURN 拒绝语义透传)。 */
136
153
  declare function handleReload(services: TboxcodeRemoteServices): Promise<void>;
137
154
  /** health(内存观测指标源——doctor --server 画像;会话/冷热分布经 api session/list 面)。 */
@@ -189,9 +206,16 @@ declare class TboxcodeRemoteGateway extends TypertRemoteService {
189
206
  seq: number;
190
207
  }>;
191
208
  agentWatch(signal: AbortSignal): AsyncIterable<AgentWatchItem>;
209
+ commit(request: {
210
+ cwd: string;
211
+ message?: string;
212
+ push?: boolean;
213
+ config?: AutoCommitConfig;
214
+ }): Promise<AutoCommitOutcome>;
215
+ gitPushWatch(signal: AbortSignal): AsyncIterable<GitPushEvent>;
192
216
  reload(): Promise<void>;
193
217
  health(): ReturnType<typeof handleHealth>;
194
218
  retentionRun(): Promise<SweepResult>;
195
219
  }
196
220
  //#endregion
197
- export { handleSkillsWatch as _, TboxcodeRemoteServices as a, handleCommandsList as c, handleMode as d, handleReload as f, handleSkillsUserInvocable as g, handleSessionsStat as h, TboxcodeRemoteGateway as i, handleDefaultSelection as l, handleSessionsFlush as m, DefaultModelSelection as n, handleAgentWatch as o, handleRetentionRun as p, RemoteAgentLike as r, handleCommandsExecute as s, AgentWatchItem as t, handleHealth as u, inject as v, name as y };
221
+ export { name as S, handleSessionsFlush as _, TboxcodeRemoteGateway as a, handleSkillsWatch as b, handleCommandsExecute as c, handleDefaultSelection as d, handleGitPushWatch as f, handleRetentionRun as g, handleReload as h, RemoteAgentLike as i, handleCommandsList as l, handleMode as m, DefaultModelSelection as n, TboxcodeRemoteServices as o, handleHealth as p, GitPushEvent as r, handleAgentWatch as s, AgentWatchItem as t, handleCommit as u, handleSessionsStat as v, inject as x, handleSkillsUserInvocable as y };
package/lib/remote.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import "./convergence-core-C1ZtU17g.js";
2
2
  import "./retention-B2V8Plpx.js";
3
- import { _ as handleSkillsWatch, a as TboxcodeRemoteServices, c as handleCommandsList, d as handleMode, f as handleReload, g as handleSkillsUserInvocable, h as handleSessionsStat, i as TboxcodeRemoteGateway, l as handleDefaultSelection, m as handleSessionsFlush, n as DefaultModelSelection, o as handleAgentWatch, p as handleRetentionRun, r as RemoteAgentLike, s as handleCommandsExecute, t as AgentWatchItem, u as handleHealth, v as inject, y as name } from "./remote-Ci33eojc.js";
4
- export { AgentWatchItem, DefaultModelSelection, RemoteAgentLike, TboxcodeRemoteGateway, TboxcodeRemoteGateway as default, TboxcodeRemoteServices, handleAgentWatch, handleCommandsExecute, handleCommandsList, handleDefaultSelection, handleHealth, handleMode, handleReload, handleRetentionRun, handleSessionsFlush, handleSessionsStat, handleSkillsUserInvocable, handleSkillsWatch, inject, name };
3
+ import { S as name, _ as handleSessionsFlush, a as TboxcodeRemoteGateway, b as handleSkillsWatch, c as handleCommandsExecute, d as handleDefaultSelection, f as handleGitPushWatch, g as handleRetentionRun, h as handleReload, i as RemoteAgentLike, l as handleCommandsList, m as handleMode, n as DefaultModelSelection, o as TboxcodeRemoteServices, p as handleHealth, r as GitPushEvent, s as handleAgentWatch, t as AgentWatchItem, u as handleCommit, v as handleSessionsStat, x as inject, y as handleSkillsUserInvocable } from "./remote-M61Ge3BR.js";
4
+ export { AgentWatchItem, DefaultModelSelection, GitPushEvent, RemoteAgentLike, TboxcodeRemoteGateway, TboxcodeRemoteGateway as default, TboxcodeRemoteServices, handleAgentWatch, handleCommandsExecute, handleCommandsList, handleCommit, handleDefaultSelection, handleGitPushWatch, handleHealth, handleMode, handleReload, handleRetentionRun, handleSessionsFlush, handleSessionsStat, handleSkillsUserInvocable, handleSkillsWatch, inject, name };
package/lib/remote.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./retention-DNEdnIxC.js";
2
2
  import "./logger-BGwLHZXY.js";
3
- import { a as handleDefaultSelection, c as handleReload, d as handleSessionsStat, f as handleSkillsUserInvocable, g as remote_default, h as name, i as handleCommandsList, l as handleRetentionRun, m as inject, n as handleAgentWatch, o as handleHealth, p as handleSkillsWatch, r as handleCommandsExecute, s as handleMode, t as TboxcodeRemoteGateway, u as handleSessionsFlush } from "./remote-DjawPq5z.js";
3
+ import { _ as name, a as handleCommit, c as handleHealth, d as handleRetentionRun, f as handleSessionsFlush, g as inject, h as handleSkillsWatch, i as handleCommandsList, l as handleMode, m as handleSkillsUserInvocable, n as handleAgentWatch, o as handleDefaultSelection, p as handleSessionsStat, r as handleCommandsExecute, s as handleGitPushWatch, t as TboxcodeRemoteGateway, u as handleReload, v as remote_default } from "./remote-Dtp5c3iI.js";
4
4
 
5
- export { TboxcodeRemoteGateway, remote_default as default, handleAgentWatch, handleCommandsExecute, handleCommandsList, handleDefaultSelection, handleHealth, handleMode, handleReload, handleRetentionRun, handleSessionsFlush, handleSessionsStat, handleSkillsUserInvocable, handleSkillsWatch, inject, name };
5
+ export { TboxcodeRemoteGateway, remote_default as default, handleAgentWatch, handleCommandsExecute, handleCommandsList, handleCommit, handleDefaultSelection, handleGitPushWatch, handleHealth, handleMode, handleReload, handleRetentionRun, handleSessionsFlush, handleSessionsStat, handleSkillsUserInvocable, handleSkillsWatch, inject, name };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tbox.cn/tboxcode-dsh-bundle",
3
- "version": "0.1.0-rc.4",
3
+ "version": "0.1.0-rc.5",
4
4
  "type": "module",
5
5
  "description": "tboxcode 组合点(host 服务行 + agent 平面 host 行 + profile 模板三件):patch + prompts / reminders 插件 + tboxcode Remote 服务",
6
6
  "main": "lib/index.js",
@@ -47,10 +47,10 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "zod": "4.6.7",
50
- "@tbox.cn/tboxcode-dsh-runtime": "0.1.0-rc.4",
51
- "@tbox.cn/tboxcode-dsh-tools": "0.1.0-rc.4",
52
- "@tbox.cn/dsh-acp-bridge-core": "0.1.0-rc.4",
53
- "@tbox.cn/tboxcode-dsh-llm": "0.1.0-rc.4"
50
+ "@tbox.cn/tboxcode-dsh-runtime": "0.1.0-rc.5",
51
+ "@tbox.cn/tboxcode-dsh-tools": "0.1.0-rc.5",
52
+ "@tbox.cn/tboxcode-dsh-llm": "0.1.0-rc.5",
53
+ "@tbox.cn/dsh-acp-bridge-core": "0.1.0-rc.5"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "@deepseek-ai/cordis": "4.0.5",