personal-bot 0.3.7 → 0.4.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/.claude-plugin/marketplace.json +3 -3
- package/.claude-plugin/plugin.json +2 -2
- package/README.md +5 -8
- package/README.zh-CN.md +5 -8
- package/bin/pbot-pi-acp.mjs +1 -1
- package/docs/architecture/design.md +2 -2
- package/docs/architecture/extensibility.md +4 -4
- package/docs/architecture/model-context.md +6 -3
- package/docs/guides/cross-harness-workers.md +5 -5
- package/docs/guides/history.md +1 -3
- package/docs/guides/workspace-configuration.md +5 -5
- package/docs/hosts/claude-code.md +3 -3
- package/docs/hosts/codex-qoder.md +4 -2
- package/hooks/hooks.json +3 -0
- package/lib/antigravity-plugin/bin/pbot-pi-acp.mjs +1 -1
- package/lib/antigravity-plugin/lib/extension/acp/member.d.ts +1 -1
- package/lib/antigravity-plugin/lib/extension/acp/member.js +11 -10
- package/lib/antigravity-plugin/lib/extension/acp-worker.js +349 -204
- package/lib/antigravity-plugin/lib/extension/cli.js +596 -572
- package/lib/antigravity-plugin/lib/extension/hosts/dsh/acp-member.js +1 -1
- package/lib/antigravity-plugin/lib/extension/hosts/pi/acp-member.js +3 -4
- package/lib/antigravity-plugin/lib/extension/hosts/plugin-runtime.js +1 -12
- package/lib/antigravity-plugin/lib/extension/mcp.js +463 -379
- package/lib/antigravity-plugin/lib/integrations/agent-resources.d.ts +2 -2
- package/lib/antigravity-plugin/lib/integrations/agent-resources.js +3 -3
- package/lib/antigravity-plugin/lib/integrations/hosts/antigravity/adapter.js +0 -1
- package/lib/antigravity-plugin/lib/integrations/hosts/claude/adapter.js +1 -2
- package/lib/antigravity-plugin/lib/integrations/hosts/dsh/resources.d.ts +1 -1
- package/lib/antigravity-plugin/lib/integrations/hosts/prompt-hooks.js +4 -7
- package/lib/antigravity-plugin/lib/model/acp.d.ts +29 -35
- package/lib/antigravity-plugin/lib/model/agent.d.ts +33 -17
- package/lib/antigravity-plugin/lib/model/agent.js +0 -1
- package/lib/antigravity-plugin/lib/services/history/summary-dimensions/monthly.js +1 -1
- package/lib/antigravity-plugin/lib/services/history/summary-dimensions/session.js +6 -3
- package/lib/antigravity-plugin/lib/services/history/summary-runner.js +3 -3
- package/lib/antigravity-plugin/lib/storage/acp-files.d.ts +5 -8
- package/lib/antigravity-plugin/lib/storage/acp-files.js +34 -40
- package/lib/antigravity-plugin/lib/storage/agent-files.d.ts +19 -10
- package/lib/antigravity-plugin/lib/storage/agent-files.js +147 -43
- package/lib/antigravity-plugin/lib/storage/history-files.js +3 -2
- package/lib/antigravity-plugin/package.json +1 -1
- package/lib/antigravity-plugin/plugin.json +2 -2
- package/lib/antigravity-plugin/resources/agents/coordinator.md +2 -4
- package/lib/antigravity-plugin/resources/agents/general-purpose.md +2 -4
- package/lib/antigravity-plugin/resources/prompts/history-monthly-summary.md +6 -11
- package/lib/antigravity-plugin/resources/prompts/history-summary.md +6 -11
- package/lib/antigravity-plugin/resources/prompts/plugin-coordinator.md +1 -1
- package/lib/antigravity-plugin/resources/prompts/workspace.md +16 -23
- package/lib/antigravity-plugin/resources/skills/project-maintenance/SKILL.md +14 -21
- package/lib/antigravity-plugin/resources/skills/provider-connections/SKILL.md +23 -36
- package/lib/antigravity-plugin/resources/templates/workspace-agents.md +5 -13
- package/lib/antigravity-plugin/skills/pbot/SKILL.md +6 -23
- package/lib/antigravity-plugin/skills/project-maintenance/SKILL.md +14 -21
- package/lib/antigravity-plugin/skills/provider-connections/SKILL.md +23 -36
- package/lib/codex-marketplace/plugins/personal-bot/.codex-plugin/plugin.json +2 -2
- package/lib/codex-marketplace/plugins/personal-bot/.mcp.json +2 -2
- package/lib/codex-marketplace/plugins/personal-bot/hooks/hooks.json +3 -3
- package/lib/codex-marketplace/plugins/personal-bot/skills/pbot/SKILL.md +11 -3
- package/lib/extension/acp/member.d.ts +1 -1
- package/lib/extension/acp/member.js +11 -10
- package/lib/extension/acp/worker.js +34 -33
- package/lib/extension/acp-worker.js +349 -204
- package/lib/extension/cli.js +596 -572
- package/lib/extension/hosts/dsh/acp-member.js +1 -1
- package/lib/extension/hosts/dsh/command.js +2 -2
- package/lib/extension/hosts/dsh/workspace.js +5 -5
- package/lib/extension/hosts/pi/acp-member.js +3 -4
- package/lib/extension/hosts/plugin-runtime.js +1 -12
- package/lib/extension/mcp/tool-contract.d.ts +8 -50
- package/lib/extension/mcp/tool-contract.js +61 -107
- package/lib/extension/mcp/workers.d.ts +7 -27
- package/lib/extension/mcp/workers.js +40 -24
- package/lib/extension/mcp.js +463 -379
- package/lib/integrations/acp/agents.d.ts +2 -3
- package/lib/integrations/acp/agents.js +22 -22
- package/lib/integrations/acp/harnesses/claude.js +1 -1
- package/lib/integrations/agent-resources.d.ts +2 -2
- package/lib/integrations/agent-resources.js +3 -3
- package/lib/integrations/hosts/antigravity/adapter.js +0 -1
- package/lib/integrations/hosts/claude/adapter.js +1 -2
- package/lib/integrations/hosts/dsh/resources.d.ts +1 -1
- package/lib/integrations/hosts/prompt-hooks.js +4 -7
- package/lib/model/acp.d.ts +29 -35
- package/lib/model/agent.d.ts +33 -17
- package/lib/model/agent.js +0 -1
- package/lib/qoder-plugin/.mcp.json +2 -2
- package/lib/qoder-plugin/.qoder-plugin/plugin.json +2 -2
- package/lib/qoder-plugin/hooks/hooks.json +3 -3
- package/lib/qoder-plugin/skills/pbot/SKILL.md +11 -3
- package/lib/services/agents/acp-run.d.ts +6 -4
- package/lib/services/agents/acp-run.js +62 -43
- package/lib/services/agents/agent-run.d.ts +10 -6
- package/lib/services/agents/agent-run.js +142 -65
- package/lib/services/agents/agent-service.d.ts +3 -21
- package/lib/services/agents/agent-service.js +182 -128
- package/lib/services/history/summary-dimensions/monthly.js +1 -1
- package/lib/services/history/summary-dimensions/session.js +6 -3
- package/lib/services/history/summary-runner.js +3 -3
- package/lib/storage/acp-files.d.ts +5 -8
- package/lib/storage/acp-files.js +34 -40
- package/lib/storage/agent-files.d.ts +19 -10
- package/lib/storage/agent-files.js +147 -43
- package/lib/storage/history-files.js +3 -2
- package/lib/tools/history/contract.d.ts +1 -1
- package/lib/tools/history/contract.js +14 -16
- package/package.json +2 -2
- package/resources/agents/coordinator.md +2 -4
- package/resources/agents/general-purpose.md +2 -4
- package/resources/antigravity/skills/pbot/SKILL.md +6 -23
- package/resources/claude/skills/pbot/SKILL.md +6 -23
- package/resources/plugin/skills/pbot/SKILL.md +11 -3
- package/resources/prompts/history-coordinator.md +1 -1
- package/resources/prompts/history-monthly-summary.md +6 -11
- package/resources/prompts/history-summary.md +6 -11
- package/resources/prompts/plugin-coordinator.md +1 -1
- package/resources/prompts/workspace.md +16 -23
- package/resources/skills/project-maintenance/SKILL.md +14 -21
- package/resources/skills/provider-connections/SKILL.md +23 -36
- package/resources/templates/workspace-agents.md +5 -13
- package/src/extension/acp/member.ts +14 -11
- package/src/extension/acp/worker.ts +31 -28
- package/src/extension/cli/commands/mcp.ts +1 -1
- package/src/extension/cli/commands/upgrade.ts +8 -36
- package/src/extension/cli/commands/workspace.ts +3 -8
- package/src/extension/cli/index.ts +1 -2
- package/src/extension/hosts/dsh/acp-member.ts +1 -1
- package/src/extension/hosts/dsh/command.ts +2 -2
- package/src/extension/hosts/dsh/workspace.ts +5 -4
- package/src/extension/hosts/pi/acp-member.ts +3 -4
- package/src/extension/hosts/pi/command.ts +2 -2
- package/src/extension/hosts/pi/events.ts +1 -1
- package/src/extension/hosts/pi/lifecycle.ts +0 -2
- package/src/extension/hosts/plugin-runtime.ts +1 -11
- package/src/extension/mcp/tool-contract.ts +61 -108
- package/src/extension/mcp/workers.ts +39 -24
- package/src/integrations/acp/agents.ts +28 -27
- package/src/integrations/acp/harnesses/claude.ts +1 -1
- package/src/integrations/agent-resources.ts +5 -5
- package/src/integrations/hosts/antigravity/adapter.ts +0 -1
- package/src/integrations/hosts/claude/adapter.ts +1 -2
- package/src/integrations/hosts/dsh/resources.ts +1 -1
- package/src/integrations/hosts/dsh/session.ts +2 -2
- package/src/integrations/hosts/prompt-hooks.ts +3 -6
- package/src/integrations/installation/cli-update.ts +2 -2
- package/src/integrations/installation/installers/claude.ts +4 -4
- package/src/integrations/installation/installers/qoder.ts +5 -5
- package/src/integrations/installation/upgraders/antigravity.ts +57 -15
- package/src/integrations/installation/upgraders/claude.ts +1 -4
- package/src/integrations/installation/upgraders/codex.ts +85 -15
- package/src/integrations/installation/upgraders/dsh.ts +46 -24
- package/src/integrations/installation/upgraders/pi.ts +18 -11
- package/src/integrations/installation/upgraders/qoder.ts +95 -20
- package/src/model/acp.ts +27 -29
- package/src/model/agent.ts +80 -16
- package/src/model/installation.ts +0 -2
- package/src/pbot.ts +3 -3
- package/src/services/agents/acp-run.ts +81 -49
- package/src/services/agents/agent-run.ts +154 -56
- package/src/services/agents/agent-service.ts +206 -135
- package/src/services/history/summary-dimensions/monthly.ts +1 -1
- package/src/services/history/summary-dimensions/session.ts +6 -3
- package/src/services/history/summary-runner.ts +3 -3
- package/src/services/installation/upgrade-service.ts +1 -5
- package/src/storage/acp-files.ts +50 -45
- package/src/storage/agent-files.ts +159 -46
- package/src/storage/history-files.ts +3 -2
- package/src/tools/history/contract.ts +14 -16
- package/lib/antigravity-plugin/lib/services/workspace/plugin-releases.d.ts +0 -15
- package/lib/antigravity-plugin/lib/services/workspace/plugin-releases.js +0 -126
- package/lib/services/workspace/plugin-releases.d.ts +0 -15
- package/lib/services/workspace/plugin-releases.js +0 -126
- package/src/services/workspace/plugin-releases.ts +0 -121
|
@@ -24,7 +24,7 @@ export async function apply(ctx) {
|
|
|
24
24
|
if (source === "resume")
|
|
25
25
|
agent.inbox.clear();
|
|
26
26
|
const reference = member.files.reference(member.id);
|
|
27
|
-
requireThat(reference.host === "acp" && reference.backend === "dsh" && agent.session.header.cwd === member.d.
|
|
27
|
+
requireThat(reference.host === "acp" && reference.backend === "dsh" && agent.session.header.cwd === member.d.workspace &&
|
|
28
28
|
(reference.sessionId === null || reference.sessionId === agent.id), "dsh ACP 会话身份或工作目录不匹配。");
|
|
29
29
|
await agent.ctx.plugin({ name: "pbot-acp-expert", inject, apply: async (scope) => {
|
|
30
30
|
if (member.features.skills)
|
|
@@ -5,7 +5,7 @@ const usage = '用法:/pbot status | init | history [summary [维度] [--force
|
|
|
5
5
|
export function registerDshCommand(ctx, workspaces) {
|
|
6
6
|
ctx.commands.register({
|
|
7
7
|
name: "pbot",
|
|
8
|
-
description: "
|
|
8
|
+
description: "初始化或检查工作区,查询历史、更新摘要、管理委派的助手。",
|
|
9
9
|
recordInput: false,
|
|
10
10
|
input: { hint: "status | init | history ... | worker ...", attachments: false },
|
|
11
11
|
async handler({ agent, rawInput, signal }) {
|
|
@@ -29,7 +29,7 @@ export function registerDshCommand(ctx, workspaces) {
|
|
|
29
29
|
switch (verb) {
|
|
30
30
|
case "worker": {
|
|
31
31
|
const { tool, args } = parseWorkerCommand(rest);
|
|
32
|
-
result = await workspace.workers.callTool(tool,
|
|
32
|
+
result = await workspace.workers.callTool(tool, args, undefined, workspace.root);
|
|
33
33
|
break;
|
|
34
34
|
}
|
|
35
35
|
case "history": {
|
|
@@ -8,7 +8,6 @@ import { registerDshHistoryTool } from "../../../tools/history/dsh-tool.js";
|
|
|
8
8
|
import { requireThat } from "../../../common/validation.js";
|
|
9
9
|
import { toDshMcpConfig } from "../../../integrations/hosts/dsh/mcp.js";
|
|
10
10
|
import { registerDshSkills } from "../../../integrations/hosts/dsh/skills.js";
|
|
11
|
-
import { bindWorkspacePlugin } from "../../../services/workspace/plugin-releases.js";
|
|
12
11
|
import { readWorkspaceConfig, workspaceDisabledMessage, workspaceFeatures } from "../../../services/workspace/workspace-config.js";
|
|
13
12
|
import { loadNativeWorkspaceServers } from "../workspace-mcp.js";
|
|
14
13
|
import { initializeWorkspace } from "../../../services/workspace/workspace-preparation.js";
|
|
@@ -31,7 +30,7 @@ export class DshWorkspace {
|
|
|
31
30
|
this.agent = agent;
|
|
32
31
|
this.component = component;
|
|
33
32
|
this.features = features;
|
|
34
|
-
this.workers = new McpWorkerRuntime(defaultWorkerDirectory(), agent.id, "dsh");
|
|
33
|
+
this.workers = new McpWorkerRuntime(defaultWorkerDirectory(root), agent.id, "dsh");
|
|
35
34
|
}
|
|
36
35
|
check = () => { this.component.throwIfAborted(); this.lifetime.signal.throwIfAborted(); };
|
|
37
36
|
async open() {
|
|
@@ -42,8 +41,10 @@ export class DshWorkspace {
|
|
|
42
41
|
apply: async (ctx) => {
|
|
43
42
|
if (this.features.skills)
|
|
44
43
|
registerDshSkills(ctx, this.agent, { workspaceRoot: this.root });
|
|
45
|
-
if (this.features.prompts)
|
|
46
|
-
|
|
44
|
+
if (this.features.prompts) {
|
|
45
|
+
const historyPrompt = this.features.history ? "history-coordinator.md" : null;
|
|
46
|
+
await dshResources(ctx, this.agent, this.root, "coordinator", this.check, historyPrompt);
|
|
47
|
+
}
|
|
47
48
|
registerDshFileEvents(ctx, this.agent, this.root, false, this.check);
|
|
48
49
|
if (this.features.history) {
|
|
49
50
|
registerDshHistoryTool(ctx, this.agent, this.root, this.lifetime.signal, this.check);
|
|
@@ -137,7 +138,6 @@ export class DshWorkspaces {
|
|
|
137
138
|
}
|
|
138
139
|
let workspace;
|
|
139
140
|
try {
|
|
140
|
-
bindWorkspacePlugin(root, "dsh");
|
|
141
141
|
workspace = new DshWorkspace(this.ctx, root, agent, this.#lifetime.signal, workspaceFeatures(configuration));
|
|
142
142
|
const owned = workspace;
|
|
143
143
|
const dispose = agent.ctx.effect(() => async () => {
|
|
@@ -8,7 +8,6 @@ import { toPiMcpConfig } from "../../../integrations/hosts/pi/mcp.js";
|
|
|
8
8
|
import { authorizeMutation } from "../../../services/workspace/workspace-files.js";
|
|
9
9
|
import { loadNativeWorkspaceServers } from "../workspace-mcp.js";
|
|
10
10
|
import { resourceRoot } from "../../../common/paths.js";
|
|
11
|
-
import { launch } from "../../../storage/agent-files.js";
|
|
12
11
|
import { requireThat } from "../../../common/validation.js";
|
|
13
12
|
const isBlockedTool = (name) => name === "pbot_history" || isMcpWorkerTool(name);
|
|
14
13
|
/** Member resources and authoritative final answers; ACP owns input delivery. */
|
|
@@ -18,7 +17,7 @@ export default async function piAcpMember(pi) {
|
|
|
18
17
|
let input, startLeaf = null;
|
|
19
18
|
const checkSession = (ctx) => {
|
|
20
19
|
const reference = member.files.reference(member.id);
|
|
21
|
-
requireThat(reference.host === "acp" && reference.backend === "pi" && realpathSync(ctx.cwd) === member.d.
|
|
20
|
+
requireThat(reference.host === "acp" && reference.backend === "pi" && realpathSync(ctx.cwd) === member.d.workspace &&
|
|
22
21
|
(reference.sessionId === null || reference.sessionId === ctx.sessionManager.getSessionId()), "Pi ACP 会话身份或工作目录不匹配。");
|
|
23
22
|
};
|
|
24
23
|
const workspaceMcpServers = [];
|
|
@@ -42,7 +41,7 @@ export default async function piAcpMember(pi) {
|
|
|
42
41
|
pi.on("session_start", (_event, ctx) => {
|
|
43
42
|
checkSession(ctx);
|
|
44
43
|
const active = pi.getActiveTools();
|
|
45
|
-
for (const tool of agentFileTools(member.d.
|
|
44
|
+
for (const tool of agentFileTools(member.d.workspace, lifetime.signal, async (path, change, signal) => {
|
|
46
45
|
member.check();
|
|
47
46
|
await authorizeMutation(member.d.workspace, path, change, async () => false, signal);
|
|
48
47
|
member.check();
|
|
@@ -53,7 +52,7 @@ export default async function piAcpMember(pi) {
|
|
|
53
52
|
registeredMcp.push(server.name);
|
|
54
53
|
}
|
|
55
54
|
pi.setActiveTools(active.filter(name => !isBlockedTool(name)));
|
|
56
|
-
pi.setSessionName(member.
|
|
55
|
+
pi.setSessionName(member.id.slice(0, 8));
|
|
57
56
|
startLeaf = ctx.sessionManager.getLeafId();
|
|
58
57
|
});
|
|
59
58
|
pi.on("before_agent_start", async (event, ctx) => {
|
|
@@ -5,7 +5,6 @@ import { requireThat } from "../../common/validation.js";
|
|
|
5
5
|
import { loadWorkspaceContext } from "../../integrations/agent-resources.js";
|
|
6
6
|
import { recordHistoryCapture } from "../../services/history/history-capture.js";
|
|
7
7
|
import { historyStartupNotices } from "../../services/history/summary-runner.js";
|
|
8
|
-
import { bindWorkspacePlugin, workspacePluginDrift, workspacePluginReleases } from "../../services/workspace/plugin-releases.js";
|
|
9
8
|
import { readWorkspaceConfig, workspaceFeatures } from "../../services/workspace/workspace-config.js";
|
|
10
9
|
import { initializeWorkspace } from "../../services/workspace/workspace-preparation.js";
|
|
11
10
|
import { discoverSkills, discoverWorkspaceSkills } from "../../services/workspace/workspace-skills.js";
|
|
@@ -18,7 +17,6 @@ export async function pluginCommand(adapter, args, cwd) {
|
|
|
18
17
|
requireThat(["init", "status"].includes(action), adapter.usage);
|
|
19
18
|
if (action === "init") {
|
|
20
19
|
await initializeWorkspace(root);
|
|
21
|
-
bindWorkspacePlugin(root, adapter.host, process.env.PBOT_PLUGIN_MANIFEST || process.env.PBOT_PLUGIN_VERSION);
|
|
22
20
|
}
|
|
23
21
|
const configuration = await readWorkspaceConfig(root);
|
|
24
22
|
return { version: packageVersion, workspaceRoot: root, resourceRoot, configuration };
|
|
@@ -62,8 +60,6 @@ export async function pluginHook(adapter, payload, replay) {
|
|
|
62
60
|
}
|
|
63
61
|
if (!configuration.enabled)
|
|
64
62
|
return adapter.formatPass(payload);
|
|
65
|
-
if (event.kind === "inject-context")
|
|
66
|
-
bindWorkspacePlugin(root, adapter.host, process.env.PBOT_PLUGIN_MANIFEST || process.env.PBOT_PLUGIN_VERSION);
|
|
67
63
|
if (features.history && adapter.extractHistory) {
|
|
68
64
|
try {
|
|
69
65
|
const capture = await adapter.extractHistory(event);
|
|
@@ -84,20 +80,13 @@ export async function pluginHook(adapter, payload, replay) {
|
|
|
84
80
|
workspaceSkills.push(...await discoverSkills(directory, directory));
|
|
85
81
|
}
|
|
86
82
|
const notices = event.isSessionStart && features.history ? [...historyStartupNotices(root)] : [];
|
|
87
|
-
if (event.isSessionStart) {
|
|
88
|
-
const drift = workspacePluginDrift(workspacePluginReleases(root));
|
|
89
|
-
if (drift.outOfSync) {
|
|
90
|
-
const summary = Object.entries(drift.versions).map(([host, version]) => `${host}=${version}`).join(", ");
|
|
91
|
-
notices.push(`检测到当前工作区各宿主 Personal Bot 插件版本不一致(${summary}),可在终端运行 pbot upgrade 统一升级。`);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
83
|
if (!includePrompts && !workspaceSkills.length && !notices.length)
|
|
95
84
|
return adapter.formatPass(payload);
|
|
96
85
|
const context = await loadWorkspaceContext({
|
|
97
86
|
host: adapter.host,
|
|
98
87
|
root,
|
|
99
88
|
role: event.role,
|
|
100
|
-
|
|
89
|
+
coordinatorPrompt: adapter.coordinatorPrompt ?? (features.history ? "plugin-coordinator.md" : null),
|
|
101
90
|
includePrompts,
|
|
102
91
|
includeRootAgents: includePrompts && !adapter.nativeRootAgents,
|
|
103
92
|
...(event.localRoleOnly ? { localRoleOnly: true } : {}),
|
|
@@ -29,10 +29,6 @@ export declare function buildPbotWorkerTools(commands?: AcpCommands, defaultBack
|
|
|
29
29
|
type: string;
|
|
30
30
|
description: string;
|
|
31
31
|
};
|
|
32
|
-
cwd: {
|
|
33
|
-
type: string;
|
|
34
|
-
description: string;
|
|
35
|
-
};
|
|
36
32
|
workspace: {
|
|
37
33
|
type: string;
|
|
38
34
|
description: string;
|
|
@@ -67,14 +63,10 @@ export declare function buildPbotWorkerTools(commands?: AcpCommands, defaultBack
|
|
|
67
63
|
type: string;
|
|
68
64
|
description: string;
|
|
69
65
|
};
|
|
70
|
-
workspace: {
|
|
71
|
-
type: string;
|
|
72
|
-
description: string;
|
|
73
|
-
};
|
|
74
66
|
backend?: never;
|
|
75
67
|
model?: never;
|
|
76
68
|
thinking?: never;
|
|
77
|
-
|
|
69
|
+
workspace?: never;
|
|
78
70
|
message?: never;
|
|
79
71
|
waitMs?: never;
|
|
80
72
|
action?: never;
|
|
@@ -114,14 +106,10 @@ export declare function buildPbotWorkerTools(commands?: AcpCommands, defaultBack
|
|
|
114
106
|
maximum: number;
|
|
115
107
|
description: string;
|
|
116
108
|
};
|
|
117
|
-
workspace: {
|
|
118
|
-
type: string;
|
|
119
|
-
description: string;
|
|
120
|
-
};
|
|
121
109
|
backend?: never;
|
|
122
110
|
model?: never;
|
|
123
111
|
thinking?: never;
|
|
124
|
-
|
|
112
|
+
workspace?: never;
|
|
125
113
|
action?: never;
|
|
126
114
|
requestId?: never;
|
|
127
115
|
optionId?: never;
|
|
@@ -173,14 +161,10 @@ export declare function buildPbotWorkerTools(commands?: AcpCommands, defaultBack
|
|
|
173
161
|
maximum: number;
|
|
174
162
|
description: string;
|
|
175
163
|
};
|
|
176
|
-
workspace: {
|
|
177
|
-
type: string;
|
|
178
|
-
description: string;
|
|
179
|
-
};
|
|
180
164
|
backend?: never;
|
|
181
165
|
model?: never;
|
|
182
166
|
thinking?: never;
|
|
183
|
-
|
|
167
|
+
workspace?: never;
|
|
184
168
|
message?: never;
|
|
185
169
|
offset?: never;
|
|
186
170
|
target?: never;
|
|
@@ -216,14 +200,10 @@ export declare function buildPbotWorkerTools(commands?: AcpCommands, defaultBack
|
|
|
216
200
|
maximum: number;
|
|
217
201
|
description: string;
|
|
218
202
|
};
|
|
219
|
-
workspace: {
|
|
220
|
-
type: string;
|
|
221
|
-
description: string;
|
|
222
|
-
};
|
|
223
203
|
backend?: never;
|
|
224
204
|
model?: never;
|
|
225
205
|
thinking?: never;
|
|
226
|
-
|
|
206
|
+
workspace?: never;
|
|
227
207
|
message?: never;
|
|
228
208
|
action?: never;
|
|
229
209
|
requestId?: never;
|
|
@@ -269,7 +249,6 @@ export declare function buildPbotWorkerTools(commands?: AcpCommands, defaultBack
|
|
|
269
249
|
description: string;
|
|
270
250
|
};
|
|
271
251
|
thinking?: never;
|
|
272
|
-
cwd?: never;
|
|
273
252
|
message?: never;
|
|
274
253
|
waitMs?: never;
|
|
275
254
|
action?: never;
|
|
@@ -478,10 +457,6 @@ export declare const pbotWorkerTools: ({
|
|
|
478
457
|
type: string;
|
|
479
458
|
description: string;
|
|
480
459
|
};
|
|
481
|
-
cwd: {
|
|
482
|
-
type: string;
|
|
483
|
-
description: string;
|
|
484
|
-
};
|
|
485
460
|
workspace: {
|
|
486
461
|
type: string;
|
|
487
462
|
description: string;
|
|
@@ -516,14 +491,10 @@ export declare const pbotWorkerTools: ({
|
|
|
516
491
|
type: string;
|
|
517
492
|
description: string;
|
|
518
493
|
};
|
|
519
|
-
workspace: {
|
|
520
|
-
type: string;
|
|
521
|
-
description: string;
|
|
522
|
-
};
|
|
523
494
|
backend?: never;
|
|
524
495
|
model?: never;
|
|
525
496
|
thinking?: never;
|
|
526
|
-
|
|
497
|
+
workspace?: never;
|
|
527
498
|
message?: never;
|
|
528
499
|
waitMs?: never;
|
|
529
500
|
action?: never;
|
|
@@ -563,14 +534,10 @@ export declare const pbotWorkerTools: ({
|
|
|
563
534
|
maximum: number;
|
|
564
535
|
description: string;
|
|
565
536
|
};
|
|
566
|
-
workspace: {
|
|
567
|
-
type: string;
|
|
568
|
-
description: string;
|
|
569
|
-
};
|
|
570
537
|
backend?: never;
|
|
571
538
|
model?: never;
|
|
572
539
|
thinking?: never;
|
|
573
|
-
|
|
540
|
+
workspace?: never;
|
|
574
541
|
action?: never;
|
|
575
542
|
requestId?: never;
|
|
576
543
|
optionId?: never;
|
|
@@ -622,14 +589,10 @@ export declare const pbotWorkerTools: ({
|
|
|
622
589
|
maximum: number;
|
|
623
590
|
description: string;
|
|
624
591
|
};
|
|
625
|
-
workspace: {
|
|
626
|
-
type: string;
|
|
627
|
-
description: string;
|
|
628
|
-
};
|
|
629
592
|
backend?: never;
|
|
630
593
|
model?: never;
|
|
631
594
|
thinking?: never;
|
|
632
|
-
|
|
595
|
+
workspace?: never;
|
|
633
596
|
message?: never;
|
|
634
597
|
offset?: never;
|
|
635
598
|
target?: never;
|
|
@@ -665,14 +628,10 @@ export declare const pbotWorkerTools: ({
|
|
|
665
628
|
maximum: number;
|
|
666
629
|
description: string;
|
|
667
630
|
};
|
|
668
|
-
workspace: {
|
|
669
|
-
type: string;
|
|
670
|
-
description: string;
|
|
671
|
-
};
|
|
672
631
|
backend?: never;
|
|
673
632
|
model?: never;
|
|
674
633
|
thinking?: never;
|
|
675
|
-
|
|
634
|
+
workspace?: never;
|
|
676
635
|
message?: never;
|
|
677
636
|
action?: never;
|
|
678
637
|
requestId?: never;
|
|
@@ -718,7 +677,6 @@ export declare const pbotWorkerTools: ({
|
|
|
718
677
|
description: string;
|
|
719
678
|
};
|
|
720
679
|
thinking?: never;
|
|
721
|
-
cwd?: never;
|
|
722
680
|
message?: never;
|
|
723
681
|
waitMs?: never;
|
|
724
682
|
action?: never;
|