qlogicagent 2.18.9 → 2.18.11
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/agent.js +17 -17
- package/dist/cli.js +1 -1
- package/dist/host-contract.js +1 -1
- package/dist/index.js +445 -984
- package/dist/pet-host.js +8 -8
- package/dist/project-memory-host.js +40 -0
- package/dist/protocol.js +1 -1
- package/dist/skills/mcp/astraclaw-native-mcp-server.js +6 -6
- package/dist/types/cli/acp-session-host.d.ts +1 -1
- package/dist/types/cli/community-resource-installer.d.ts +3 -5
- package/dist/types/cli/default-project-bootstrap.d.ts +1 -1
- package/dist/types/cli/handlers/agents-handler.d.ts +8 -6
- package/dist/types/cli/handlers/community-handler.d.ts +0 -4
- package/dist/types/cli/handlers/control-handler.d.ts +1 -1
- package/dist/types/cli/handlers/project-handler.d.ts +1 -1
- package/dist/types/cli/handlers/session-handler.d.ts +0 -7
- package/dist/types/cli/handlers/solo-handler.d.ts +0 -2
- package/dist/types/cli/memory-coordinator.d.ts +1 -1
- package/dist/types/cli/multi-agent-state-coordinator.d.ts +0 -3
- package/dist/types/cli/pet-runtime.d.ts +5 -5
- package/dist/types/cli/product-coordinator.d.ts +0 -2
- package/dist/types/cli/project-memory-store-factory.d.ts +11 -1
- package/dist/types/cli/rpc-registry.d.ts +0 -2
- package/dist/types/cli/stdio-runtime-bootstrap.d.ts +2 -0
- package/dist/types/cli/stdio-runtime-services.d.ts +2 -0
- package/dist/types/cli/stdio-server.d.ts +3 -1
- package/dist/types/config/cn-mirror.d.ts +2 -2
- package/dist/types/host-contract/index.d.ts +167 -9
- package/dist/types/orchestration/agent-instance.d.ts +1 -3
- package/dist/types/orchestration/goal-mode-adapters.d.ts +0 -3
- package/dist/types/orchestration/goal-run-persistence.d.ts +0 -3
- package/dist/types/orchestration/product-persistence.d.ts +1 -4
- package/dist/types/orchestration/product-planner.d.ts +2 -3
- package/dist/types/orchestration/run-state-host-authority.d.ts +7 -0
- package/dist/types/orchestration/solo-evaluator.d.ts +2 -3
- package/dist/types/orchestration/solo-persistence.d.ts +4 -7
- package/dist/types/orchestration/testing/delegate-test-bridge.d.ts +13 -2
- package/dist/types/orchestration/workflow/node-schema.d.ts +2 -1
- package/dist/types/orchestration/workflow/qla-executor-host.d.ts +1 -1
- package/dist/types/orchestration/workflow/workflow-bundle.d.ts +1 -1
- package/dist/types/project-memory-host.d.ts +3 -0
- package/dist/types/protocol/wire/acp-agent-management.d.ts +1 -1
- package/dist/types/protocol/wire/acp-protocol.d.ts +1 -1
- package/dist/types/protocol/wire/chat-types.d.ts +2 -0
- package/dist/types/runtime/execution/streaming-tool-executor.d.ts +2 -0
- package/dist/types/runtime/infra/acp-detector.d.ts +1 -1
- package/dist/types/runtime/infra/background-tasks.d.ts +1 -1
- package/dist/types/runtime/pet/pet-community-assets.d.ts +7 -17
- package/dist/types/runtime/pet/petdex-vision-qa.d.ts +12 -0
- package/dist/types/runtime/ports/agent-runtime-ports.d.ts +1 -0
- package/dist/types/runtime/ports/memory-recall-source.d.ts +10 -0
- package/dist/types/runtime/ports/project-memory-store.d.ts +1 -1
- package/dist/types/runtime/session/session-persistence.d.ts +3 -4
- package/dist/types/skills/memory/host-memory-provider.d.ts +2 -2
- package/dist/types/skills/memory/memory-config-resolver.d.ts +4 -0
- package/dist/types/skills/memory/task-distillation.d.ts +1 -1
- package/dist/types/skills/portable-tool.d.ts +5 -0
- package/dist/types/test-support/run-state-authority-setup.d.ts +1 -0
- package/dist/types/transport/host-pet-client.d.ts +20 -0
- package/dist/types/transport/host-run-state-client.d.ts +17 -0
- package/dist/workflow-host.js +9 -9
- package/package.json +12 -2
- package/dist/runtime/infra/mcp-bridge-server.js +0 -338
- package/dist/types/cli/handlers/message-feedback-handler.d.ts +0 -31
- package/dist/types/runtime/infra/agent-process.d.ts +0 -368
- package/dist/types/runtime/infra/external-agent-pool.d.ts +0 -89
- package/dist/types/skills/memory/local-memory-provider.d.ts +0 -325
- package/dist/types/skills/memory/memory-provider-factory.d.ts +0 -33
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type MemoryProviderFactoryConfig } from "./memory-embedding-config.js";
|
|
2
|
+
export type { MemoryProviderFactoryConfig } from "./memory-embedding-config.js";
|
|
3
|
+
/** Resolve embedding configuration without constructing or opening a local memories.db provider. */
|
|
4
|
+
export declare function resolveMemoryConfigFromEnv(): MemoryProviderFactoryConfig;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* 【B3 登记·刻意不动】本文件的 profile 级 JSON store 直写(task-distill-candidates.json /
|
|
12
12
|
* promotion-proposals.json / procedure-usage.json,均 A 域)是 qla 写、gateway 读(gateway
|
|
13
13
|
* MemoryProfileService 已持 promotion-proposals.json)的**文件级共享过渡态**——B3.1 只反转
|
|
14
|
-
* memories.db
|
|
14
|
+
* memories.db 存取已收口为 HostMemoryProvider proxy,这批 JSON 随削藩批次归
|
|
15
15
|
* store-owner(spec §1 X7 裁决第 4 条)。单一事实源 docs/agent-supervision-authority-migration-spec.md。
|
|
16
16
|
*/
|
|
17
17
|
/** 同模式判定的余弦下限。错聚有害(把不同任务蒸成一份配方),漏聚无害(下次再攒)。 */
|
|
@@ -135,6 +135,11 @@ export interface PortableTool<TParams = Record<string, unknown>> {
|
|
|
135
135
|
* The runtime should truncate/reject results exceeding this.
|
|
136
136
|
*/
|
|
137
137
|
maxResultSizeChars?: number;
|
|
138
|
+
/**
|
|
139
|
+
* Foreground execution deadline for this tool. It must cover any inner
|
|
140
|
+
* transport deadline so the agent does not abandon a still-running tool.
|
|
141
|
+
*/
|
|
142
|
+
executionTimeoutMs?: number;
|
|
138
143
|
/**
|
|
139
144
|
* Execute the tool.
|
|
140
145
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { HostRequestParams } from "../host-contract/index.js";
|
|
2
|
+
import type { PetSoul } from "../runtime/pet/pet-types.js";
|
|
3
|
+
interface PetRequester {
|
|
4
|
+
request(params: HostRequestParams): Promise<unknown>;
|
|
5
|
+
}
|
|
6
|
+
export interface HostPetAwardResult {
|
|
7
|
+
active: boolean;
|
|
8
|
+
soul?: PetSoul;
|
|
9
|
+
growth?: Record<string, unknown>;
|
|
10
|
+
events?: Array<Record<string, unknown>>;
|
|
11
|
+
}
|
|
12
|
+
export declare class HostPetClient {
|
|
13
|
+
private readonly requester;
|
|
14
|
+
constructor(requester: PetRequester);
|
|
15
|
+
isActive(sessionId: string): Promise<boolean>;
|
|
16
|
+
getSoul(sessionId: string): Promise<PetSoul | null>;
|
|
17
|
+
awardXp(event: string, sessionId: string): Promise<HostPetAwardResult>;
|
|
18
|
+
journeyCatchUp(sessionId: string): Promise<string[]>;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { HostRequestParams, RunEvent, RunState } from "../host-contract/index.js";
|
|
2
|
+
export interface HostRunStateRequester {
|
|
3
|
+
request(params: HostRequestParams): Promise<unknown>;
|
|
4
|
+
}
|
|
5
|
+
export declare class HostRunStateClient {
|
|
6
|
+
private readonly requester;
|
|
7
|
+
constructor(requester: HostRunStateRequester);
|
|
8
|
+
open(runId: string, kind: "solo" | "product" | "goal", projectId: string, sessionId: string): Promise<string>;
|
|
9
|
+
recordEvent(runId: string, event: Omit<RunEvent, "member">, sessionId: string): Promise<void>;
|
|
10
|
+
checkpoint(runId: string, snapshot: unknown, sessionId: string, checkpointId?: string): Promise<void>;
|
|
11
|
+
get(runId: string, sessionId: string): Promise<RunState>;
|
|
12
|
+
list(projectId: string, sessionId: string, kind?: "solo" | "product" | "goal"): Promise<RunState[]>;
|
|
13
|
+
delete(runId: string, sessionId: string): Promise<boolean>;
|
|
14
|
+
getCheckpoint(runId: string, checkpointId: string, sessionId: string): Promise<unknown | undefined>;
|
|
15
|
+
listCheckpoints(runId: string, sessionId: string): Promise<string[]>;
|
|
16
|
+
restoreCheckpoint(runId: string, checkpointId: string, sessionId: string): Promise<unknown | undefined>;
|
|
17
|
+
}
|