qlogicagent 2.0.0 → 2.2.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.
- package/README.md +8 -8
- package/dist/agent.js +8 -8
- package/dist/cli.js +250 -203
- package/dist/contracts.js +1 -1
- package/dist/index.js +249 -202
- package/dist/orchestration.js +6 -6
- package/dist/types/agent/types.d.ts +3 -1
- package/dist/types/cli/stdio-server.d.ts +27 -8
- package/dist/types/cli/tool-bootstrap.d.ts +8 -0
- package/dist/types/contracts/hooks.d.ts +3 -0
- package/dist/types/contracts/index.d.ts +0 -1
- package/dist/types/contracts/todo.d.ts +8 -21
- package/dist/types/llm/adapters/aliyun-oss-file-upload-adapter.d.ts +44 -0
- package/dist/types/llm/adapters/gemini-file-upload-adapter.d.ts +26 -0
- package/dist/types/llm/adapters/hub-oss-file-upload-adapter.d.ts +29 -0
- package/dist/types/llm/adapters/index.d.ts +10 -0
- package/dist/types/llm/adapters/openai-file-upload-adapter.d.ts +38 -0
- package/dist/types/llm/adapters/volcengine-file-upload-adapter.d.ts +24 -0
- package/dist/types/llm/file-upload-service.d.ts +68 -0
- package/dist/types/llm/transports/anthropic-messages.d.ts +4 -0
- package/dist/types/llm/transports/gemini-generatecontent.d.ts +4 -0
- package/dist/types/llm/transports/media-resolve.d.ts +50 -0
- package/dist/types/llm/transports/openai-chat.d.ts +4 -0
- package/dist/types/llm/transports/openai-responses.d.ts +3 -0
- package/dist/types/llm/transports/volcengine-responses.d.ts +4 -0
- package/dist/types/orchestration/tool-loop/tool-schema.d.ts +1 -0
- package/dist/types/protocol/methods.d.ts +70 -0
- package/dist/types/protocol/notifications.d.ts +42 -0
- package/dist/types/runtime/execution/dream-agent.d.ts +2 -0
- package/dist/types/runtime/execution/dream-category-context.d.ts +47 -0
- package/dist/types/runtime/execution/dream-category-context.test.d.ts +1 -0
- package/dist/types/runtime/execution/index.d.ts +1 -0
- package/dist/types/runtime/execution/memory-decay.d.ts +57 -0
- package/dist/types/runtime/execution/memory-decay.test.d.ts +1 -0
- package/dist/types/runtime/hooks/index.d.ts +1 -0
- package/dist/types/runtime/hooks/memory-hooks.d.ts +20 -0
- package/dist/types/runtime/hooks/skill-recall-hooks.d.ts +36 -0
- package/dist/types/runtime/infra/agent-paths.d.ts +20 -2
- package/dist/types/runtime/infra/disk-storage.d.ts +0 -16
- package/dist/types/runtime/infra/index.d.ts +4 -2
- package/dist/types/runtime/infra/media-persistence.d.ts +71 -0
- package/dist/types/runtime/infra/project-instructions-store.d.ts +30 -0
- package/dist/types/runtime/infra/project-plan-store.d.ts +27 -0
- package/dist/types/runtime/infra/project-store.d.ts +30 -0
- package/dist/types/runtime/session/session-persistence.d.ts +3 -1
- package/dist/types/skills/index.d.ts +7 -9
- package/dist/types/skills/memory/categories.d.ts +5 -0
- package/dist/types/skills/memory/find-relevant-memories.d.ts +70 -0
- package/dist/types/skills/memory/memdir.d.ts +85 -0
- package/dist/types/skills/memory/memory-tool.d.ts +16 -44
- package/dist/types/skills/memory/qmemory-adapter.d.ts +12 -0
- package/dist/types/skills/memory/recall-category-filter.d.ts +54 -0
- package/dist/types/skills/permissions/group-security-policy.d.ts +15 -0
- package/dist/types/skills/permissions/index.d.ts +1 -0
- package/dist/types/skills/plugins/plugin-loader.d.ts +5 -0
- package/dist/types/skills/portable-tool.d.ts +13 -2
- package/dist/types/skills/tools/plan-mode-tool.d.ts +1 -1
- package/dist/types/skills/tools/read-tool.d.ts +2 -2
- package/dist/types/skills/tools/skill-tool.d.ts +16 -3
- package/dist/types/skills/tools/task-tool.d.ts +64 -75
- package/package.json +1 -1
- package/dist/types/contracts/planner.d.ts +0 -35
- package/dist/types/orchestration/error-handling/failover-error.d.ts +0 -33
- package/dist/types/skills/memory/memory-store.d.ts +0 -86
- package/dist/types/skills/todo-tool.d.ts +0 -72
- package/dist/types/skills/tools/skill-invoke-tool.d.ts +0 -46
- package/dist/types/skills/tools/skill-list-tool.d.ts +0 -33
- package/dist/types/skills/tools/skill-manage-tool.d.ts +0 -73
- package/dist/types/skills/tools/skill-view-tool.d.ts +0 -37
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import type { PortableTool } from "../portable-tool.js";
|
|
2
|
-
export declare const SKILL_MANAGE_TOOL_NAME: "skill_manage";
|
|
3
|
-
export type SkillManageAction = "create" | "edit" | "patch" | "delete" | "write_file" | "remove_file";
|
|
4
|
-
export interface SkillManageToolParams {
|
|
5
|
-
action: SkillManageAction;
|
|
6
|
-
name: string;
|
|
7
|
-
content?: string;
|
|
8
|
-
category?: string;
|
|
9
|
-
filePath?: string;
|
|
10
|
-
fileContent?: string;
|
|
11
|
-
oldString?: string;
|
|
12
|
-
newString?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const SKILL_MANAGE_TOOL_SCHEMA: {
|
|
15
|
-
readonly type: "object";
|
|
16
|
-
readonly properties: {
|
|
17
|
-
readonly action: {
|
|
18
|
-
readonly type: "string";
|
|
19
|
-
readonly enum: readonly ["create", "edit", "patch", "delete", "write_file", "remove_file"];
|
|
20
|
-
readonly description: string;
|
|
21
|
-
};
|
|
22
|
-
readonly name: {
|
|
23
|
-
readonly type: "string";
|
|
24
|
-
readonly description: "Skill name (lowercase, max 64 chars, kebab-case: letters, digits, hyphens).";
|
|
25
|
-
};
|
|
26
|
-
readonly content: {
|
|
27
|
-
readonly type: "string";
|
|
28
|
-
readonly description: string;
|
|
29
|
-
};
|
|
30
|
-
readonly category: {
|
|
31
|
-
readonly type: "string";
|
|
32
|
-
readonly description: "Category/domain (e.g. 'devops', 'mlops'). Used by create to organize skills.";
|
|
33
|
-
};
|
|
34
|
-
readonly filePath: {
|
|
35
|
-
readonly type: "string";
|
|
36
|
-
readonly description: string;
|
|
37
|
-
};
|
|
38
|
-
readonly fileContent: {
|
|
39
|
-
readonly type: "string";
|
|
40
|
-
readonly description: "Content for write_file action. Max 1 MiB.";
|
|
41
|
-
};
|
|
42
|
-
readonly oldString: {
|
|
43
|
-
readonly type: "string";
|
|
44
|
-
readonly description: "Text to find for patch action (must match uniquely in SKILL.md).";
|
|
45
|
-
};
|
|
46
|
-
readonly newString: {
|
|
47
|
-
readonly type: "string";
|
|
48
|
-
readonly description: "Replacement text for patch action (can be empty to delete).";
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
readonly required: readonly ["action", "name"];
|
|
52
|
-
};
|
|
53
|
-
export interface SkillManageResult {
|
|
54
|
-
success: boolean;
|
|
55
|
-
message: string;
|
|
56
|
-
path?: string;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Host-provided skill management backend.
|
|
60
|
-
*/
|
|
61
|
-
export interface SkillManageToolDeps {
|
|
62
|
-
/**
|
|
63
|
-
* Execute a skill management action.
|
|
64
|
-
* The host handles file system operations, validation, and security scanning.
|
|
65
|
-
*/
|
|
66
|
-
manageSkill(params: SkillManageToolParams): Promise<SkillManageResult>;
|
|
67
|
-
/**
|
|
68
|
-
* Validate skill name format.
|
|
69
|
-
* If not provided, tool uses built-in validation.
|
|
70
|
-
*/
|
|
71
|
-
validateName?(name: string): string | null;
|
|
72
|
-
}
|
|
73
|
-
export declare function createSkillManageTool(deps: SkillManageToolDeps): PortableTool<SkillManageToolParams>;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import type { PortableTool } from "../portable-tool.js";
|
|
2
|
-
export declare const SKILL_VIEW_TOOL_NAME: "skill_view";
|
|
3
|
-
export interface SkillViewToolParams {
|
|
4
|
-
name: string;
|
|
5
|
-
filePath?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const SKILL_VIEW_TOOL_SCHEMA: {
|
|
8
|
-
readonly type: "object";
|
|
9
|
-
readonly properties: {
|
|
10
|
-
readonly name: {
|
|
11
|
-
readonly type: "string";
|
|
12
|
-
readonly description: "Skill name to view (e.g. 'code-review', 'deploy-ecs').";
|
|
13
|
-
};
|
|
14
|
-
readonly filePath: {
|
|
15
|
-
readonly type: "string";
|
|
16
|
-
readonly description: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
readonly required: readonly ["name"];
|
|
20
|
-
};
|
|
21
|
-
export interface SkillViewOutput {
|
|
22
|
-
name: string;
|
|
23
|
-
content: string;
|
|
24
|
-
referenceFiles?: string[];
|
|
25
|
-
tags?: string[];
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Host-provided skill viewer.
|
|
29
|
-
*/
|
|
30
|
-
export interface SkillViewToolDeps {
|
|
31
|
-
/**
|
|
32
|
-
* Read skill content. Returns the main SKILL.md or a specific file.
|
|
33
|
-
* Returns null if skill not found.
|
|
34
|
-
*/
|
|
35
|
-
viewSkill(name: string, filePath?: string): Promise<SkillViewOutput | null>;
|
|
36
|
-
}
|
|
37
|
-
export declare function createSkillViewTool(deps: SkillViewToolDeps): PortableTool<SkillViewToolParams>;
|