claude-task-worker 0.138.0 → 0.139.0
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.
|
@@ -1303,6 +1303,9 @@ function buildCloudGitHubAccessInstruction() {
|
|
|
1303
1303
|
function buildCloudToolRestriction() {
|
|
1304
1304
|
return `\u30AF\u30E9\u30A6\u30C9\u5B9F\u884C\u3067\u306F \`--disallowedTools\` \u30D5\u30E9\u30B0\u306B\u3088\u308B\u30C4\u30FC\u30EB\u5236\u9650\u304C\u53CD\u6620\u3055\u308C\u306A\u3044\u305F\u3081\u3001\u4EE5\u4E0B\u306E\u30C4\u30FC\u30EB\u3092\u4F7F\u308F\u306A\u3044\u3053\u3068: ${DISALLOWED_TOOLS.join(", ")}`;
|
|
1305
1305
|
}
|
|
1306
|
+
function buildCloudFinalMessageInstruction() {
|
|
1307
|
+
return "\u3053\u306E\u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u6700\u7D42\u30E1\u30C3\u30BB\u30FC\u30B8\uFF08\u30BF\u30FC\u30F3\u3092\u7D42\u3048\u308B\u3068\u304D\u306E\u6700\u5F8C\u306E\u767A\u8A00\uFF09\u306F\u3001\u4F55\u3092\u3057\u305F\u304B\u30FB\u3069\u3053\u3067\u6B62\u307E\u3063\u305F\u304B\u306E\u4E8B\u5B9F\u306E\u5831\u544A\u306B\u3068\u3069\u3081\u308B\u3053\u3068\u3002\u3053\u306E\u30BB\u30C3\u30B7\u30E7\u30F3\u306B\u8FD4\u4FE1\u3059\u308B\u4EBA\u306F\u3044\u306A\u3044\u305F\u3081\u3001\u8AAD\u307F\u624B\u3078\u306E\u4F9D\u983C\u30FB\u8CEA\u554F\u30FB\u5224\u65AD\u306E\u8981\u6C42\uFF08\u300C\u301C\u3092\u5224\u65AD\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u300D\u300C\u301C\u3057\u3066\u304F\u3060\u3055\u3044\u300D\u300C\u301C\u3057\u307E\u3059\u304B\u300D\uFF09\u3067\u7DE0\u3081\u306A\u3044\u3053\u3068\u3002\u4EBA\u306E\u5224\u65AD\u304C\u5FC5\u8981\u306A\u4E8B\u9805\u306F\u3001\u30B9\u30AD\u30EB\u306E\u624B\u9806\u3069\u304A\u308A GitHub \u306E\u30E9\u30D9\u30EB\u3068\u30B3\u30E1\u30F3\u30C8\u3067\u5F15\u304D\u7D99\u304E\u3001\u6700\u7D42\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u306F\u300C`cc-need-human-check` \u3092\u4ED8\u3051\u3066 PR #N \u306B\u7406\u7531\u3092\u30B3\u30E1\u30F3\u30C8\u3057\u305F\u300D\u306E\u3088\u3046\u306B\u3001\u5F15\u304D\u7D99\u3044\u3060\u4E8B\u5B9F\u3060\u3051\u3092\u66F8\u304F\u3053\u3068\u3002";
|
|
1308
|
+
}
|
|
1306
1309
|
function buildCloudPrompt(prompt, model, target, debug = false, startedAt) {
|
|
1307
1310
|
const principles = `\u4EE5\u4E0B\u306F\u3053\u306E\u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u5B9F\u884C\u539F\u5247\u3067\u3042\u308B\u3002\u30AF\u30E9\u30A6\u30C9\u5B9F\u884C\u3067\u306F\u30B7\u30B9\u30C6\u30E0\u30D7\u30ED\u30F3\u30D7\u30C8\u306B\u3088\u308B\u6CE8\u5165\u304C\u53CD\u6620\u3055\u308C\u306A\u3044\u305F\u3081\u3001\u30D7\u30ED\u30F3\u30D7\u30C8\u672C\u6587\u3068\u3057\u3066\u6E21\u3057\u3066\u3044\u308B\u3002
|
|
1308
1311
|
|
|
@@ -1310,7 +1313,9 @@ ${systemPromptFor(model)}
|
|
|
1310
1313
|
|
|
1311
1314
|
${buildCloudToolRestriction()}
|
|
1312
1315
|
|
|
1313
|
-
${buildCloudGitHubAccessInstruction()}
|
|
1316
|
+
${buildCloudGitHubAccessInstruction()}
|
|
1317
|
+
|
|
1318
|
+
${buildCloudFinalMessageInstruction()}`;
|
|
1314
1319
|
const withPrinciples = `${prompt}
|
|
1315
1320
|
|
|
1316
1321
|
${principles}`;
|
package/dist/claude-args.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export declare function buildCloudWorktreeInstruction(prompt: string): string;
|
|
|
41
41
|
export declare function buildCloudCheckoutInstruction(target: CloudPromptTarget): string;
|
|
42
42
|
export declare function buildCloudGitHubAccessInstruction(): string;
|
|
43
43
|
export declare function buildCloudToolRestriction(): string;
|
|
44
|
+
export declare function buildCloudFinalMessageInstruction(): string;
|
|
44
45
|
export declare function buildCloudPrompt(prompt: string, model: string, target?: CloudPromptTarget, debug?: boolean, startedAt?: Date): string;
|
|
45
46
|
export declare function shellQuote(value: string): string;
|
|
46
47
|
export declare function buildScriptCommand(command: string, args: string[], platform?: string): {
|
package/dist/index.js
CHANGED
package/dist/lib.js
CHANGED