@ericsanchezok/synergy-util 3.0.18 → 3.0.19
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/dist/activity.d.ts +1 -1
- package/dist/activity.js +1 -19
- package/dist/capability.js +0 -2
- package/package.json +1 -1
package/dist/activity.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export type ActivityDisplayMode = "full" | "balanced" | "minimal";
|
|
3
|
-
export type SemanticCategory = "file-read" | "file-write" | "shell" | "search" | "browser" | "web" | "memory" | "note" | "blueprint" | "task" | "dag" | "schedule" | "session" | "session-control" | "
|
|
3
|
+
export type SemanticCategory = "file-read" | "file-write" | "shell" | "search" | "browser" | "web" | "memory" | "note" | "blueprint" | "task" | "dag" | "schedule" | "session" | "session-control" | "network" | "analyze" | "config" | "communication" | "skill" | "research" | "generic";
|
|
4
4
|
export type ActivityFamily = "inspect-local" | "research-web" | "modify-files" | "execute" | "browser" | "delegate" | "produce" | "external-action" | "coordination" | "generic";
|
|
5
5
|
export declare const ACTIVITY_FAMILY_ORDER: readonly ActivityFamily[];
|
|
6
6
|
export declare const MAX_ACTIVITY_GROUP_STEPS = 24;
|
package/dist/activity.js
CHANGED
|
@@ -178,25 +178,9 @@ const TOOL_CATEGORIES = {
|
|
|
178
178
|
github_deliver_fix: "communication",
|
|
179
179
|
openai_image_gen: "communication",
|
|
180
180
|
openai_image_edit: "communication",
|
|
181
|
-
diagram: "analyze",
|
|
182
181
|
render: "analyze",
|
|
183
182
|
attach: "communication",
|
|
184
183
|
response_card: "communication",
|
|
185
|
-
qzcli_qz_auth_login: "config",
|
|
186
|
-
qzcli_qz_set_cookie: "config",
|
|
187
|
-
qzcli_qz_list_workspaces: "config",
|
|
188
|
-
qzcli_qz_refresh_resources: "config",
|
|
189
|
-
qzcli_qz_get_availability: "analyze",
|
|
190
|
-
qzcli_qz_list_jobs: "shell",
|
|
191
|
-
qzcli_qz_get_job_detail: "analyze",
|
|
192
|
-
qzcli_qz_stop_job: "shell",
|
|
193
|
-
qzcli_qz_get_usage: "analyze",
|
|
194
|
-
qzcli_qz_inspect_status_catalog: "analyze",
|
|
195
|
-
qzcli_qz_track_job: "task",
|
|
196
|
-
qzcli_qz_list_tracked_jobs: "task",
|
|
197
|
-
qzcli_qz_create_job: "shell",
|
|
198
|
-
qzcli_qz_create_hpc_job: "shell",
|
|
199
|
-
qzcli_qz_get_hpc_usage: "analyze",
|
|
200
184
|
"context7_resolve-library-id": "search",
|
|
201
185
|
"context7_query-docs": "web",
|
|
202
186
|
};
|
|
@@ -236,7 +220,6 @@ const PATTERN_FALLBACKS = [
|
|
|
236
220
|
{ pattern: /^(send|notify|message)/i, category: "communication" },
|
|
237
221
|
{ pattern: /^question/i, category: "communication" },
|
|
238
222
|
{ pattern: /^(openai[-_])?image[-_](gen|edit)/i, category: "communication" },
|
|
239
|
-
{ pattern: /^diagram/i, category: "analyze" },
|
|
240
223
|
{ pattern: /^attach/i, category: "communication" },
|
|
241
224
|
];
|
|
242
225
|
const ACTIVITY_FAMILIES = new Set(ACTIVITY_FAMILY_ORDER);
|
|
@@ -282,7 +265,7 @@ const COORDINATION_RECEIPT_TOOLS = new Set([
|
|
|
282
265
|
"blueprint_loop_reject",
|
|
283
266
|
"blueprint_loop_stop",
|
|
284
267
|
]);
|
|
285
|
-
const ACTIVITY_PRESENTATION_BOUNDARY_TOOLS = new Set(["render"
|
|
268
|
+
const ACTIVITY_PRESENTATION_BOUNDARY_TOOLS = new Set(["render"]);
|
|
286
269
|
function record(value) {
|
|
287
270
|
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
288
271
|
return {};
|
|
@@ -384,7 +367,6 @@ export function activityFamilyForTool(tool, input = {}, metadata = {}) {
|
|
|
384
367
|
case "network":
|
|
385
368
|
case "config":
|
|
386
369
|
case "skill":
|
|
387
|
-
case "community":
|
|
388
370
|
return "coordination";
|
|
389
371
|
case "generic":
|
|
390
372
|
return "generic";
|
package/dist/capability.js
CHANGED
|
@@ -378,7 +378,6 @@ export const SYNERGY_PERMISSION_CAPABILITY = {
|
|
|
378
378
|
question: "file_read",
|
|
379
379
|
skill: "file_read",
|
|
380
380
|
render: "file_read",
|
|
381
|
-
diagram: "file_read",
|
|
382
381
|
agenda_list: "file_read",
|
|
383
382
|
agenda_logs: "file_read",
|
|
384
383
|
session_list: "file_read",
|
|
@@ -394,7 +393,6 @@ export const SYNERGY_PERMISSION_CAPABILITY = {
|
|
|
394
393
|
dagpatch: "session_state",
|
|
395
394
|
todowrite: "session_state",
|
|
396
395
|
task_cancel: "session_state",
|
|
397
|
-
batch: "session_state",
|
|
398
396
|
doom_loop: "session_state",
|
|
399
397
|
worktree_enter: "file_write",
|
|
400
398
|
worktree_leave: "file_write",
|