qlogicagent 2.24.1 → 2.24.2
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 +52 -324
- package/dist/agent.js +38 -43
- package/dist/cli.js +7 -7
- package/dist/default-project-knowledge/INSTRUCTIONS.md +7 -7
- package/dist/default-project-knowledge/rules/project-workflow.md +6 -6
- package/dist/index.js +265 -1018
- package/dist/orchestration.js +10 -10
- package/dist/types/agent/runtime-vars.d.ts +1 -16
- package/dist/types/agent/tool-loop/compression-pipeline.d.ts +0 -2
- package/dist/types/agent/tool-loop.d.ts +0 -6
- package/dist/types/agent/types.d.ts +3 -22
- package/dist/types/cli/acp-commands.d.ts +4 -5
- package/dist/types/cli/acp-message-router.d.ts +1 -2
- package/dist/types/cli/acp-session-handlers.d.ts +6 -12
- package/dist/types/cli/acp-session-host.d.ts +5 -48
- package/dist/types/cli/adapter-launch-config.d.ts +14 -0
- package/dist/types/cli/agent-runtime-bootstrap.d.ts +2 -23
- package/dist/types/cli/agent-runtime-session-state.d.ts +1 -6
- package/dist/types/cli/base-tool-bootstrap.d.ts +0 -2
- package/dist/types/cli/cli-acp-request-handler.d.ts +3 -5
- package/dist/types/cli/core-tool-coordinator.d.ts +0 -4
- package/dist/types/cli/core-tools/agent-tool-service.d.ts +0 -3
- package/dist/types/cli/core-tools/fork-system-prompt.d.ts +1 -5
- package/dist/types/cli/handlers/files-handler.d.ts +0 -6
- package/dist/types/cli/handlers/turn-handler.d.ts +7 -83
- package/dist/types/cli/main.d.ts +2 -4
- package/dist/types/cli/permission-approval-bridge.d.ts +2 -6
- package/dist/types/cli/permission-bootstrap.d.ts +2 -12
- package/dist/types/cli/plugin-bootstrap.d.ts +2 -4
- package/dist/types/cli/runtime-hook-bootstrap.d.ts +0 -21
- package/dist/types/cli/session-context.d.ts +4 -14
- package/dist/types/cli/session-coordinator.d.ts +1 -9
- package/dist/types/cli/stdio-acp-protocol-coordinator.d.ts +2 -9
- package/dist/types/cli/stdio-acp-request-host.d.ts +3 -15
- package/dist/types/cli/stdio-agent-session-bootstrap.d.ts +3 -23
- package/dist/types/cli/stdio-runtime-bootstrap.d.ts +0 -8
- package/dist/types/cli/stdio-runtime-services.d.ts +2 -13
- package/dist/types/cli/stdio-server.d.ts +6 -128
- package/dist/types/cli/tool-bootstrap.d.ts +4 -8
- package/dist/types/cli/tool-catalog.d.ts +2 -2
- package/dist/types/cli/tool-invoker-factory.d.ts +0 -2
- package/dist/types/cli/tool-registry-adapter.d.ts +3 -7
- package/dist/types/cli/tool-result-processor.d.ts +0 -1
- package/dist/types/cli/turn-core.d.ts +6 -10
- package/dist/types/cli/turn-event-forwarder.d.ts +6 -3
- package/dist/types/cli/turn-lifecycle.d.ts +0 -3
- package/dist/types/cli/turn-project-router.d.ts +0 -7
- package/dist/types/contracts/hooks.d.ts +1 -20
- package/dist/types/contracts/tool-execution-evidence.d.ts +20 -1
- package/dist/types/contracts/turn-event.d.ts +2 -2
- package/dist/types/orchestration/index.d.ts +1 -1
- package/dist/types/protocol/notifications.d.ts +2 -9
- package/dist/types/protocol/wire/acp-protocol.d.ts +12 -186
- package/dist/types/protocol/wire/capability-transport.d.ts +0 -2
- package/dist/types/protocol/wire/index.d.ts +2 -10
- package/dist/types/protocol/wire/notification-payloads.d.ts +4 -989
- package/dist/types/protocol/wire/thread-protocol.d.ts +24 -3
- package/dist/types/runtime/config/tunable-defaults.d.ts +3 -75
- package/dist/types/runtime/execution/forked-agent.d.ts +2 -5
- package/dist/types/runtime/execution/streaming-tool-executor.d.ts +0 -2
- package/dist/types/runtime/execution/tool-result-storage.d.ts +13 -4
- package/dist/types/runtime/infra/agent-paths.d.ts +4 -54
- package/dist/types/runtime/infra/agent-project-projection.d.ts +20 -0
- package/dist/types/runtime/infra/background-tasks.d.ts +3 -3
- package/dist/types/runtime/infra/default-path-service.d.ts +0 -7
- package/dist/types/runtime/infra/llmrouter-catalog.d.ts +1 -1
- package/dist/types/runtime/infra/model-registry.d.ts +6 -9
- package/dist/types/runtime/infra/project-store.d.ts +3 -3
- package/dist/types/runtime/infra/subagent-turn-snapshot.d.ts +54 -7
- package/dist/types/runtime/infra/task-runtime.d.ts +1 -1
- package/dist/types/runtime/ports/agent-runtime-ports.d.ts +1 -3
- package/dist/types/runtime/ports/index.d.ts +0 -4
- package/dist/types/runtime/ports/path-service.d.ts +1 -9
- package/dist/types/runtime/ports/tool-contracts.d.ts +0 -1
- package/dist/types/runtime/session/agent-session-projection.d.ts +37 -0
- package/dist/types/runtime/tasks/task-types.d.ts +2 -25
- package/dist/types/skills/mcp/mcp-manager.d.ts +2 -2
- package/dist/types/skills/plugins/plugin-loader.d.ts +1 -1
- package/dist/types/skills/skill-system/skill-category.d.ts +4 -2
- package/dist/types/skills/tools.d.ts +1 -18
- package/dist/types/test-support/project-store-fixture.d.ts +4 -4
- package/dist/types/transport/acp-event-emitter.d.ts +1 -20
- package/dist/types/transport/acp-server.d.ts +8 -88
- package/package.json +4 -96
- package/dist/agent-contract.js +0 -1
- package/dist/host-contract.js +0 -1
- package/dist/host-session-collection-contract.js +0 -1
- package/dist/memory-category-contract.js +0 -1
- package/dist/permissions.js +0 -1
- package/dist/plugin-marketplace-compute.js +0 -1
- package/dist/project-memory-host.js +0 -38
- package/dist/protocol.js +0 -1
- package/dist/skill-category-contract.js +0 -1
- package/dist/tunables.js +0 -1
- package/dist/types/agent/memory-recall-context.d.ts +0 -22
- package/dist/types/agent/memory-recall-injection.d.ts +0 -32
- package/dist/types/cli/acp-extended-handlers.d.ts +0 -110
- package/dist/types/cli/acp-extended-host-adapter.d.ts +0 -20
- package/dist/types/cli/community-resource-installer.d.ts +0 -39
- package/dist/types/cli/community-skill-installer.d.ts +0 -18
- package/dist/types/cli/community-workflow-installer.d.ts +0 -29
- package/dist/types/cli/default-project-bootstrap.d.ts +0 -12
- package/dist/types/cli/dream-host-adapter.d.ts +0 -24
- package/dist/types/cli/gateway-rpc-connection.d.ts +0 -50
- package/dist/types/cli/handlers/community-handler.d.ts +0 -14
- package/dist/types/cli/handlers/config-handler.d.ts +0 -19
- package/dist/types/cli/handlers/control-handler.d.ts +0 -29
- package/dist/types/cli/handlers/dream-handler.d.ts +0 -41
- package/dist/types/cli/handlers/goal-handler.d.ts +0 -66
- package/dist/types/cli/handlers/memory-handler.d.ts +0 -23
- package/dist/types/cli/handlers/product-handler.d.ts +0 -35
- package/dist/types/cli/handlers/session-handler.d.ts +0 -29
- package/dist/types/cli/handlers/skill-curator-handler.d.ts +0 -8
- package/dist/types/cli/handlers/solo-handler.d.ts +0 -25
- package/dist/types/cli/handlers/turn-baseline-handler.d.ts +0 -8
- package/dist/types/cli/handlers/workflow-compute-handler.d.ts +0 -8
- package/dist/types/cli/handlers/working-materials-handler.d.ts +0 -9
- package/dist/types/cli/idle-dream-coordinator.d.ts +0 -57
- package/dist/types/cli/memory-background-coordinator.d.ts +0 -26
- package/dist/types/cli/memory-candidate-service.d.ts +0 -75
- package/dist/types/cli/memory-coordinator.d.ts +0 -40
- package/dist/types/cli/multi-agent-handler-host.d.ts +0 -16
- package/dist/types/cli/multi-agent-state-coordinator.d.ts +0 -8
- package/dist/types/cli/orchestration-memory-context.d.ts +0 -23
- package/dist/types/cli/product-acp-params.d.ts +0 -30
- package/dist/types/cli/product-coordinator.d.ts +0 -21
- package/dist/types/cli/project-memory-store-factory.d.ts +0 -12
- package/dist/types/cli/project-template-seeder.d.ts +0 -5
- package/dist/types/cli/rpc-registry.d.ts +0 -56
- package/dist/types/cli/session-history-coordinator.d.ts +0 -8
- package/dist/types/cli/session-query-service.d.ts +0 -27
- package/dist/types/cli/stdio-rpc-handler-hosts.d.ts +0 -56
- package/dist/types/cli/stdio-session-runtime-coordinator.d.ts +0 -17
- package/dist/types/cli/task-distillation-coordinator.d.ts +0 -146
- package/dist/types/cli/turn-ask-user-setup.d.ts +0 -24
- package/dist/types/cli/turn-suggestion-generator.d.ts +0 -15
- package/dist/types/contracts/memory-recall-packet.d.ts +0 -31
- package/dist/types/contracts/memory-response-contract.d.ts +0 -2
- package/dist/types/host-contract/fts-segment.d.ts +0 -20
- package/dist/types/host-contract/index.d.ts +0 -1819
- package/dist/types/host-contract/memory-category.d.ts +0 -8
- package/dist/types/host-contract/skill-category.d.ts +0 -5
- package/dist/types/host-session-collection-contract.d.ts +0 -65
- package/dist/types/orchestration/agent-instance.d.ts +0 -215
- package/dist/types/orchestration/agent-roster.d.ts +0 -32
- package/dist/types/orchestration/dag-scheduler.d.ts +0 -219
- package/dist/types/orchestration/delegate-approval-policy.d.ts +0 -8
- package/dist/types/orchestration/delegate-bridge.d.ts +0 -8
- package/dist/types/orchestration/goal-acceptance.d.ts +0 -17
- package/dist/types/orchestration/goal-context-envelope.d.ts +0 -7
- package/dist/types/orchestration/goal-loop-coordinator.d.ts +0 -151
- package/dist/types/orchestration/goal-mode-adapters.d.ts +0 -152
- package/dist/types/orchestration/goal-run-persistence.d.ts +0 -21
- package/dist/types/orchestration/goal-run-types.d.ts +0 -225
- package/dist/types/orchestration/planner-memory-brief.d.ts +0 -39
- package/dist/types/orchestration/product-budget.d.ts +0 -94
- package/dist/types/orchestration/product-checkpoint.d.ts +0 -50
- package/dist/types/orchestration/product-dag-mutation-applier.d.ts +0 -10
- package/dist/types/orchestration/product-persistence.d.ts +0 -90
- package/dist/types/orchestration/product-planner.d.ts +0 -332
- package/dist/types/orchestration/product-run-coordinator.d.ts +0 -49
- package/dist/types/orchestration/product-worktree.d.ts +0 -19
- package/dist/types/orchestration/run-state-host-authority.d.ts +0 -7
- package/dist/types/orchestration/solo-evaluator.d.ts +0 -179
- package/dist/types/orchestration/solo-persistence.d.ts +0 -47
- package/dist/types/orchestration/solo-spec-builder.d.ts +0 -58
- package/dist/types/orchestration/testing/delegate-test-bridge.d.ts +0 -23
- package/dist/types/orchestration/testing/host-agent-provider-directory-fixture.d.ts +0 -7
- package/dist/types/orchestration/testing/run-state-client-double.d.ts +0 -13
- package/dist/types/orchestration/workflow/budget-permission-gate.d.ts +0 -94
- package/dist/types/orchestration/workflow/builtin-capabilities.d.ts +0 -3
- package/dist/types/orchestration/workflow/builtin-executors.d.ts +0 -18
- package/dist/types/orchestration/workflow/capability-catalog.d.ts +0 -72
- package/dist/types/orchestration/workflow/cron-schedule.d.ts +0 -36
- package/dist/types/orchestration/workflow/data-item.d.ts +0 -39
- package/dist/types/orchestration/workflow/expression.d.ts +0 -60
- package/dist/types/orchestration/workflow/host-executors.d.ts +0 -15
- package/dist/types/orchestration/workflow/n8n-expression.d.ts +0 -48
- package/dist/types/orchestration/workflow/n8n-import.d.ts +0 -64
- package/dist/types/orchestration/workflow/n8n-template-compat.d.ts +0 -5
- package/dist/types/orchestration/workflow/node-registry.d.ts +0 -32
- package/dist/types/orchestration/workflow/node-schema.d.ts +0 -249
- package/dist/types/orchestration/workflow/params-schema.d.ts +0 -69
- package/dist/types/orchestration/workflow/qla-executor-host.d.ts +0 -63
- package/dist/types/orchestration/workflow/run-checkpoint-store.d.ts +0 -53
- package/dist/types/orchestration/workflow/run-history-store.d.ts +0 -103
- package/dist/types/orchestration/workflow/semantic-acceptance.d.ts +0 -65
- package/dist/types/orchestration/workflow/trigger-validation.d.ts +0 -22
- package/dist/types/orchestration/workflow/workflow-audit-store.d.ts +0 -31
- package/dist/types/orchestration/workflow/workflow-authoring.d.ts +0 -74
- package/dist/types/orchestration/workflow/workflow-bundle.d.ts +0 -51
- package/dist/types/orchestration/workflow/workflow-controller.d.ts +0 -237
- package/dist/types/orchestration/workflow/workflow-edit-context.d.ts +0 -46
- package/dist/types/orchestration/workflow/workflow-error.d.ts +0 -28
- package/dist/types/orchestration/workflow/workflow-intent-contract.d.ts +0 -56
- package/dist/types/orchestration/workflow/workflow-patch.d.ts +0 -122
- package/dist/types/orchestration/workflow/workflow-render.d.ts +0 -40
- package/dist/types/orchestration/workflow/workflow-runtime.d.ts +0 -184
- package/dist/types/orchestration/workflow/workflow-scheduler.d.ts +0 -122
- package/dist/types/orchestration/workflow/workflow-store.d.ts +0 -85
- package/dist/types/orchestration/workflow/workflow-template-setup.d.ts +0 -65
- package/dist/types/orchestration/workflow/workflow-trigger.d.ts +0 -43
- package/dist/types/orchestration/workflow-chat-builder.d.ts +0 -152
- package/dist/types/orchestration/worktree-task-prompt.d.ts +0 -1
- package/dist/types/permissions.d.ts +0 -4
- package/dist/types/project-memory-host.d.ts +0 -4
- package/dist/types/protocol/agent-contract.d.ts +0 -93
- package/dist/types/protocol/methods.d.ts +0 -645
- package/dist/types/protocol/wire/acp-agent-management.d.ts +0 -533
- package/dist/types/protocol/wire/agent-events.d.ts +0 -1
- package/dist/types/protocol/wire/agent-methods.d.ts +0 -500
- package/dist/types/protocol/wire/agent-rpc.d.ts +0 -100
- package/dist/types/protocol/wire/gateway-contract.d.ts +0 -61
- package/dist/types/protocol/wire/gateway-rpc.d.ts +0 -1177
- package/dist/types/protocol/wire/memory-provider-lifecycle.d.ts +0 -31
- package/dist/types/protocol/wire/turn.d.ts +0 -208
- package/dist/types/runtime/community/autonomy-budget.d.ts +0 -26
- package/dist/types/runtime/community/community-consent-client.d.ts +0 -55
- package/dist/types/runtime/community/package-materialize.d.ts +0 -19
- package/dist/types/runtime/community/ranged-download.d.ts +0 -21
- package/dist/types/runtime/community/registry-signature.d.ts +0 -48
- package/dist/types/runtime/execution/dream-agent.d.ts +0 -273
- package/dist/types/runtime/execution/dream-category-context.d.ts +0 -47
- package/dist/types/runtime/execution/memory-decay.d.ts +0 -73
- package/dist/types/runtime/execution/turn-progress-notifier.d.ts +0 -16
- package/dist/types/runtime/hooks/memory-hooks.d.ts +0 -111
- package/dist/types/runtime/infra/acp-host-handler.d.ts +0 -31
- package/dist/types/runtime/infra/acp-protocol-adapter.d.ts +0 -209
- package/dist/types/runtime/infra/acp-usage-tracker.d.ts +0 -46
- package/dist/types/runtime/infra/cloud-auth-host-authority.d.ts +0 -4
- package/dist/types/runtime/infra/feedback-distillation-worker.d.ts +0 -20
- package/dist/types/runtime/infra/feedback-distillation.d.ts +0 -32
- package/dist/types/runtime/infra/feedback-event-store.d.ts +0 -179
- package/dist/types/runtime/infra/feedback-host-authority.d.ts +0 -4
- package/dist/types/runtime/infra/feedback-outbox.d.ts +0 -26
- package/dist/types/runtime/infra/feedback-redaction.d.ts +0 -71
- package/dist/types/runtime/infra/feedback-upload-client.d.ts +0 -39
- package/dist/types/runtime/infra/feedback-upload-worker.d.ts +0 -11
- package/dist/types/runtime/infra/host-agent-provider-directory.d.ts +0 -17
- package/dist/types/runtime/infra/project-authority-facade.d.ts +0 -11
- package/dist/types/runtime/infra/project-data-paths.d.ts +0 -24
- package/dist/types/runtime/infra/project-host-authority.d.ts +0 -11
- package/dist/types/runtime/infra/project-instructions-store.d.ts +0 -30
- package/dist/types/runtime/infra/turn-baseline-store.d.ts +0 -102
- package/dist/types/runtime/infra/turn-telemetry-store.d.ts +0 -100
- package/dist/types/runtime/infra/working-materials-store.d.ts +0 -29
- package/dist/types/runtime/memory/find-relevant-memories.d.ts +0 -26
- package/dist/types/runtime/memory/implicit-extraction.d.ts +0 -69
- package/dist/types/runtime/memory/memory-recall-attribution.d.ts +0 -24
- package/dist/types/runtime/ports/memory-provider.d.ts +0 -219
- package/dist/types/runtime/ports/memory-recall-source.d.ts +0 -14
- package/dist/types/runtime/ports/memory-writer.d.ts +0 -70
- package/dist/types/runtime/ports/project-memory-store.d.ts +0 -49
- package/dist/types/runtime/prompt/host-skill-directory.d.ts +0 -16
- package/dist/types/runtime/session/group-session-split.d.ts +0 -38
- package/dist/types/runtime/session/inbound-upload-persistence.d.ts +0 -47
- package/dist/types/runtime/session/session-catalog.d.ts +0 -12
- package/dist/types/runtime/session/session-deletion-guard.d.ts +0 -4
- package/dist/types/runtime/session/session-locator.d.ts +0 -26
- package/dist/types/runtime/session/session-metadata-store.d.ts +0 -8
- package/dist/types/runtime/session/session-paths.d.ts +0 -8
- package/dist/types/runtime/session/session-permission-store.d.ts +0 -6
- package/dist/types/runtime/session/session-persistence.d.ts +0 -37
- package/dist/types/runtime/session/session-recovery.d.ts +0 -62
- package/dist/types/runtime/session/session-resource-key.d.ts +0 -28
- package/dist/types/runtime/session/session-resume.d.ts +0 -9
- package/dist/types/runtime/session/session-schema.d.ts +0 -10
- package/dist/types/runtime/session/session-summary.d.ts +0 -7
- package/dist/types/runtime/session/session-title.d.ts +0 -9
- package/dist/types/runtime/session/session-transcript-store.d.ts +0 -30
- package/dist/types/runtime/session/session-types.d.ts +0 -113
- package/dist/types/runtime/session/session-write-queue.d.ts +0 -3
- package/dist/types/skills/memory/host-memory-provider.d.ts +0 -235
- package/dist/types/skills/memory/memdir.d.ts +0 -111
- package/dist/types/skills/memory/memory-content-safety.d.ts +0 -1
- package/dist/types/skills/memory/memory-vector-utils.d.ts +0 -2
- package/dist/types/skills/memory/task-distillation.d.ts +0 -183
- package/dist/types/skills/plugins/plugin-marketplace.d.ts +0 -43
- package/dist/types/skills/skill-system/skill-bundles.d.ts +0 -8
- package/dist/types/skills/skill-system/skill-lifecycle.d.ts +0 -89
- package/dist/types/test-support/run-state-authority-setup.d.ts +0 -1
- package/dist/types/transport/delegate-client.d.ts +0 -82
- package/dist/types/transport/host-capability-client.d.ts +0 -21
- package/dist/types/transport/host-cloud-auth-client.d.ts +0 -10
- package/dist/types/transport/host-community-client.d.ts +0 -7
- package/dist/types/transport/host-feedback-client.d.ts +0 -25
- package/dist/types/transport/host-profile-client.d.ts +0 -19
- package/dist/types/transport/host-project-client.d.ts +0 -16
- package/dist/types/transport/host-request-client.d.ts +0 -42
- package/dist/types/transport/host-run-state-client.d.ts +0 -23
- package/dist/types/transport/host-session-client.d.ts +0 -30
- package/dist/types/tunables.d.ts +0 -2
- package/dist/types/workflow-host.d.ts +0 -38
- package/dist/workflow-host.js +0 -11
- /package/dist/types/{host-contract → protocol/wire}/acp-content.d.ts +0 -0
- /package/dist/types/{host-contract → runtime/infra}/project-id.d.ts +0 -0
- /package/dist/types/{host-contract → runtime/infra}/provider-profile.d.ts +0 -0
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import type { AcpContentBlock } from "../../host-contract/acp-content.js";
|
|
4
|
-
export type { AcpContentBlock, AcpResourceContents } from "../../host-contract/acp-content.js";
|
|
5
|
-
import type { ContextEnvelope } from "./chat-types.js";
|
|
1
|
+
import type { AcpContentBlock } from "./acp-content.js";
|
|
2
|
+
export type { AcpContentBlock, AcpResourceContents } from "./acp-content.js";
|
|
6
3
|
export declare const ACP_PROTOCOL_VERSION: 1;
|
|
7
4
|
export declare const ACP_METHODS: {
|
|
8
5
|
readonly INITIALIZE: "initialize";
|
|
@@ -10,7 +7,6 @@ export declare const ACP_METHODS: {
|
|
|
10
7
|
readonly SESSION_PROMPT: "session/prompt";
|
|
11
8
|
readonly SESSION_CLOSE: "session/close";
|
|
12
9
|
readonly SESSION_SET_CONFIG: "session/set_config_option";
|
|
13
|
-
readonly SESSION_SET_MODEL: "session/set_model";
|
|
14
10
|
readonly SESSION_SET_MODE: "session/set_mode";
|
|
15
11
|
readonly SESSION_LOAD: "session/load";
|
|
16
12
|
readonly SESSION_CANCEL: "session/cancel";
|
|
@@ -20,71 +16,6 @@ export declare const ACP_METHODS: {
|
|
|
20
16
|
readonly FS_WRITE_TEXT_FILE: "fs/write_text_file";
|
|
21
17
|
};
|
|
22
18
|
export type AcpStandardMethod = (typeof ACP_METHODS)[keyof typeof ACP_METHODS];
|
|
23
|
-
export declare const ACP_EXTENDED_METHODS: {
|
|
24
|
-
readonly ABORT: "x/abort";
|
|
25
|
-
readonly DREAM: "x/dream";
|
|
26
|
-
readonly SOLO_START: "x/solo.start";
|
|
27
|
-
readonly SOLO_SELECT: "x/solo.select";
|
|
28
|
-
readonly SOLO_CANCEL: "x/solo.cancel";
|
|
29
|
-
readonly SOLO_DELETE: "x/solo.delete";
|
|
30
|
-
readonly PRODUCT_CREATE: "x/product.create";
|
|
31
|
-
readonly PRODUCT_PLAN: "x/product.plan";
|
|
32
|
-
readonly PRODUCT_CONFIRM: "x/product.confirm";
|
|
33
|
-
readonly PRODUCT_MESSAGE: "x/product.message";
|
|
34
|
-
readonly PRODUCT_MUTATE_DAG: "x/product.mutateDag";
|
|
35
|
-
readonly PRODUCT_RESUME: "x/product.resume";
|
|
36
|
-
readonly PRODUCT_PAUSE: "x/product.pause";
|
|
37
|
-
readonly PRODUCT_CANCEL: "x/product.cancel";
|
|
38
|
-
readonly PRODUCT_ROLLBACK: "x/product.rollback";
|
|
39
|
-
readonly PRODUCT_REPLAY: "x/product.replay";
|
|
40
|
-
readonly SOLO_SUBSCRIBE: "x/solo.subscribe";
|
|
41
|
-
readonly SOLO_MESSAGE: "x/solo.message";
|
|
42
|
-
readonly SOLO_EVALUATE: "x/solo.evaluate";
|
|
43
|
-
readonly SOLO_SPEC_CHAT: "x/solo.specChat";
|
|
44
|
-
readonly SOLO_SPEC_JUDGE: "x/solo.specJudge";
|
|
45
|
-
readonly WORKFLOW_CHAT: "x/workflow.chat";
|
|
46
|
-
readonly WORKFLOW_MATCH_INTENT: "x/workflow.matchIntent";
|
|
47
|
-
readonly WORKFLOW_PLAN_COMMAND: "x/workflow.planCommand";
|
|
48
|
-
readonly PRODUCT_SUBSCRIBE: "x/product.subscribe";
|
|
49
|
-
readonly GOAL_START: "x/goal.start";
|
|
50
|
-
readonly GOAL_PAUSE: "x/goal.pause";
|
|
51
|
-
readonly GOAL_RESUME: "x/goal.resume";
|
|
52
|
-
readonly GOAL_UPDATE_GOAL: "x/goal.updateGoal";
|
|
53
|
-
readonly GOAL_STOP: "x/goal.stop";
|
|
54
|
-
readonly GOAL_MESSAGE: "x/goal.message";
|
|
55
|
-
readonly GOAL_RECOVER: "x/goal.recover";
|
|
56
|
-
readonly GOAL_DISMISS: "x/goal.dismiss";
|
|
57
|
-
readonly DELEGATE: "x/delegate";
|
|
58
|
-
readonly DELEGATE_UPDATE: "x/delegate.update";
|
|
59
|
-
readonly DELEGATE_RESPOND: "x/delegate.respond";
|
|
60
|
-
readonly DELEGATE_CANCEL: "x/delegate.cancel";
|
|
61
|
-
};
|
|
62
|
-
export type AcpExtendedMethod = (typeof ACP_EXTENDED_METHODS)[keyof typeof ACP_EXTENDED_METHODS];
|
|
63
|
-
/** qlogicagent 专属扩展套件的协商开关(host 与 agent 双向声明)。存在即启用扩展。 */
|
|
64
|
-
export interface AcpQlogicagentCapability {
|
|
65
|
-
/** Extension protocol version, fixed at 1 this round. */
|
|
66
|
-
version: number;
|
|
67
|
-
/** Exact shared contract identity. Missing or unequal identities fail initialization. */
|
|
68
|
-
contract?: AgentContractIdentity;
|
|
69
|
-
/** x_* session/update extended events (x_session_info / x_relay). */
|
|
70
|
-
events?: boolean;
|
|
71
|
-
/** x/* extended RPC methods (x/solo.* / x/product.* / x/team.* etc). */
|
|
72
|
-
methods?: boolean;
|
|
73
|
-
/** Multi-agent orchestration (solo / product / team). */
|
|
74
|
-
orchestration?: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* T9 capability 握手 gate(delegate transport 跨进程 delegate 传输;host→agent 声明位)。
|
|
77
|
-
* host(gateway)声明「我服务 gateway-routed delegate」——即由 GatewayDelegateServer 认
|
|
78
|
-
* `x/delegate` 请求、下行 `x/delegate.update` 回流帧。qlogicagent(leader)【仅当】收到此位才走
|
|
79
|
-
* DelegateClient sends x/delegate only when this bit is present. If omitted, orchestration is
|
|
80
|
-
* unavailable and fails loud; no local process-spawn rail remains.
|
|
81
|
-
*/
|
|
82
|
-
delegate?: boolean;
|
|
83
|
-
/** Exact services the host has registered for x/host.request. */
|
|
84
|
-
hostRequest?: HostRequestCapability;
|
|
85
|
-
/** Config options (agent side only). */
|
|
86
|
-
configOptions?: AcpConfigOptionDescriptor[];
|
|
87
|
-
}
|
|
88
19
|
/** Host (xiaozhiclaw / AionUI) capabilities declared at initialize. */
|
|
89
20
|
export interface AcpHostCapabilities {
|
|
90
21
|
/** Standard ACP (server does not consume this round; typed to match real hosts). */
|
|
@@ -94,8 +25,7 @@ export interface AcpHostCapabilities {
|
|
|
94
25
|
};
|
|
95
26
|
/** Standard ACP (same as above). */
|
|
96
27
|
terminal?: boolean;
|
|
97
|
-
|
|
98
|
-
qlogicagent?: AcpQlogicagentCapability;
|
|
28
|
+
[key: string]: unknown;
|
|
99
29
|
}
|
|
100
30
|
/** Agent capabilities declared in the initialize response. */
|
|
101
31
|
export interface AcpAgentCapabilities {
|
|
@@ -107,8 +37,6 @@ export interface AcpAgentCapabilities {
|
|
|
107
37
|
mcpCapabilities?: Record<string, unknown>;
|
|
108
38
|
/** Standard (same as above). */
|
|
109
39
|
sessionCapabilities?: Record<string, unknown>;
|
|
110
|
-
/** Extension master switch. */
|
|
111
|
-
qlogicagent?: AcpQlogicagentCapability;
|
|
112
40
|
}
|
|
113
41
|
export interface AcpConfigOptionDescriptor {
|
|
114
42
|
name: string;
|
|
@@ -152,8 +80,6 @@ export interface AcpSessionMeta {
|
|
|
152
80
|
/** Exact Host Skill names explicitly selected for this turn. The turn pipeline requires loading
|
|
153
81
|
* them through the Host Capability MCP and never reads a local Skill store. */
|
|
154
82
|
activeSkills?: string[];
|
|
155
|
-
/** Host-supplied canonical Goal facts for this native Agent turn. */
|
|
156
|
-
"xiaozhiclaw.context"?: ContextEnvelope;
|
|
157
83
|
/** Internal materialization of the standard session/new|load `mcpServers` field.
|
|
158
84
|
* Hosts MUST NOT send this through `_meta`. */
|
|
159
85
|
mcpServers?: Record<string, unknown>;
|
|
@@ -173,11 +99,6 @@ export interface AcpSessionNewParams {
|
|
|
173
99
|
}>;
|
|
174
100
|
callTimeoutMs?: number;
|
|
175
101
|
}>;
|
|
176
|
-
/** Optional session ID (host-assigned). If omitted, agent generates one. */
|
|
177
|
-
sessionId?: string;
|
|
178
|
-
/** Resume: fork an existing session into a new one */
|
|
179
|
-
resumeSessionId?: string;
|
|
180
|
-
forkSession?: boolean;
|
|
181
102
|
/** Per-session context supplement (no standard ACP home). Inherited by every session/prompt. */
|
|
182
103
|
_meta?: Omit<AcpSessionMeta, "mcpServers" | "workdir">;
|
|
183
104
|
}
|
|
@@ -205,6 +126,8 @@ export interface AcpSessionNewResult {
|
|
|
205
126
|
sessionId: string;
|
|
206
127
|
/** Permission modes the host may switch between (standard ACP). */
|
|
207
128
|
modes?: AcpSessionModeState;
|
|
129
|
+
/** Adapter-specific acknowledgement carried through the standard ACP extension bag. */
|
|
130
|
+
_meta?: Record<string, unknown>;
|
|
208
131
|
}
|
|
209
132
|
export interface AcpSessionPromptParams {
|
|
210
133
|
sessionId: string;
|
|
@@ -216,17 +139,8 @@ export interface AcpSessionPromptParams {
|
|
|
216
139
|
export interface AcpSessionPromptResult {
|
|
217
140
|
/** Stop reason (required by ACP standard). */
|
|
218
141
|
stopReason: AcpStopReason;
|
|
219
|
-
/** Final assistant text for the turn (non-standard extension; emitted on end_turn). Lets the host
|
|
220
|
-
* read the completed message alongside the streamed session/update chunks. */
|
|
221
|
-
content?: string;
|
|
222
142
|
/** Token usage for this turn. */
|
|
223
143
|
usage?: AcpUsage;
|
|
224
|
-
/** Model that actually ran the turn (agent-resolved). Lets the host attribute
|
|
225
|
-
* usage to the real model instead of falling back to "unknown" when no host
|
|
226
|
-
* override was supplied. Rides the prompt response alongside usage. */
|
|
227
|
-
model?: string;
|
|
228
|
-
/** Provider that actually ran the turn (agent-resolved). */
|
|
229
|
-
provider?: string;
|
|
230
144
|
}
|
|
231
145
|
export interface AcpSessionCloseParams {
|
|
232
146
|
sessionId: string;
|
|
@@ -241,100 +155,11 @@ export interface AcpSessionSetConfigParams {
|
|
|
241
155
|
option: string;
|
|
242
156
|
value: unknown;
|
|
243
157
|
}
|
|
244
|
-
/**
|
|
245
|
-
* Semantic acknowledgement for a session-private configuration write.
|
|
246
|
-
* `bindingRevision` is present for the Host-owned profile projection and lets
|
|
247
|
-
* the Host prove that the exact materialization sent after session/load was
|
|
248
|
-
* committed before it admits a prompt.
|
|
249
|
-
*/
|
|
158
|
+
/** Semantic acknowledgement for an ordinary ACP session configuration write. */
|
|
250
159
|
export interface AcpSessionSetConfigResult {
|
|
251
160
|
applied: true;
|
|
252
161
|
sessionId: string;
|
|
253
162
|
option: string;
|
|
254
|
-
bindingRevision?: string;
|
|
255
|
-
}
|
|
256
|
-
/**
|
|
257
|
-
* The `session/update` notification params.
|
|
258
|
-
* Standard format: { sessionId, update: { sessionUpdate: "<type>", ...payload } }
|
|
259
|
-
*/
|
|
260
|
-
export interface AcpSessionUpdateNotification {
|
|
261
|
-
sessionId: string;
|
|
262
|
-
update: {
|
|
263
|
-
sessionUpdate: AcpSessionUpdateType;
|
|
264
|
-
[key: string]: unknown;
|
|
265
|
-
};
|
|
266
|
-
}
|
|
267
|
-
export declare const ACP_SESSION_UPDATE_TYPES: {
|
|
268
|
-
readonly USER_MESSAGE_CHUNK: "user_message_chunk";
|
|
269
|
-
readonly AGENT_MESSAGE_CHUNK: "agent_message_chunk";
|
|
270
|
-
readonly AGENT_THOUGHT_CHUNK: "agent_thought_chunk";
|
|
271
|
-
readonly TOOL_CALL: "tool_call";
|
|
272
|
-
readonly TOOL_CALL_UPDATE: "tool_call_update";
|
|
273
|
-
readonly PLAN: "plan";
|
|
274
|
-
readonly USAGE_UPDATE: "usage_update";
|
|
275
|
-
readonly CONFIG_OPTION_UPDATE: "config_option_update";
|
|
276
|
-
readonly SESSION_INFO_UPDATE: "session_info_update";
|
|
277
|
-
readonly AVAILABLE_COMMANDS_UPDATE: "available_commands_update";
|
|
278
|
-
readonly CURRENT_MODE_UPDATE: "current_mode_update";
|
|
279
|
-
};
|
|
280
|
-
export type AcpStandardSessionUpdateType = (typeof ACP_SESSION_UPDATE_TYPES)[keyof typeof ACP_SESSION_UPDATE_TYPES];
|
|
281
|
-
export declare const ACP_EXTENDED_SESSION_UPDATE_TYPES: {
|
|
282
|
-
readonly X_SESSION_INFO: "x_session_info";
|
|
283
|
-
/** Generic passthrough for turn-scoped events with no specific ACP mapping (lossless relay). */
|
|
284
|
-
readonly X_RELAY: "x_relay";
|
|
285
|
-
};
|
|
286
|
-
export type AcpExtendedSessionUpdateType = (typeof ACP_EXTENDED_SESSION_UPDATE_TYPES)[keyof typeof ACP_EXTENDED_SESSION_UPDATE_TYPES];
|
|
287
|
-
export type AcpSessionUpdateType = AcpStandardSessionUpdateType | AcpExtendedSessionUpdateType;
|
|
288
|
-
export interface AcpAgentMessageChunkPayload {
|
|
289
|
-
text: string;
|
|
290
|
-
}
|
|
291
|
-
export interface AcpAgentThoughtChunkPayload {
|
|
292
|
-
text: string;
|
|
293
|
-
}
|
|
294
|
-
export interface AcpToolCallPayload {
|
|
295
|
-
callId: string;
|
|
296
|
-
toolName: string;
|
|
297
|
-
arguments: string;
|
|
298
|
-
/** Whether the tool call is streaming (partial arguments) */
|
|
299
|
-
streaming?: boolean;
|
|
300
|
-
}
|
|
301
|
-
export interface AcpToolCallUpdatePayload {
|
|
302
|
-
callId: string;
|
|
303
|
-
toolName: string;
|
|
304
|
-
/** Tool execution result (text) */
|
|
305
|
-
result?: string;
|
|
306
|
-
/** Tool execution error */
|
|
307
|
-
error?: string;
|
|
308
|
-
/** Whether the tool call was approved and executed */
|
|
309
|
-
status: "completed" | "failed" | "rejected";
|
|
310
|
-
}
|
|
311
|
-
export interface AcpPlanPayload {
|
|
312
|
-
steps: Array<{
|
|
313
|
-
description: string;
|
|
314
|
-
status: "pending" | "in_progress" | "done" | "skipped";
|
|
315
|
-
}>;
|
|
316
|
-
}
|
|
317
|
-
export interface AcpUsageUpdatePayload {
|
|
318
|
-
usage: AcpUsage;
|
|
319
|
-
}
|
|
320
|
-
export interface AcpConfigOptionUpdatePayload {
|
|
321
|
-
option: string;
|
|
322
|
-
value: unknown;
|
|
323
|
-
}
|
|
324
|
-
export interface AcpEndTurnPayload {
|
|
325
|
-
stopReason: AcpStopReason;
|
|
326
|
-
usage?: AcpUsage;
|
|
327
|
-
}
|
|
328
|
-
export interface AcpXSkillInstructionPayload {
|
|
329
|
-
skillId: string;
|
|
330
|
-
instruction: string;
|
|
331
|
-
}
|
|
332
|
-
export interface AcpXSessionInfoPayload {
|
|
333
|
-
sessionId: string;
|
|
334
|
-
projectId?: string;
|
|
335
|
-
provider?: string;
|
|
336
|
-
model?: string;
|
|
337
|
-
metadata?: Record<string, unknown>;
|
|
338
163
|
}
|
|
339
164
|
export interface AcpPermissionRequestParams {
|
|
340
165
|
sessionId: string;
|
|
@@ -365,7 +190,12 @@ export interface AcpPermissionOption {
|
|
|
365
190
|
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
366
191
|
}
|
|
367
192
|
export interface AcpPermissionRequestResult {
|
|
368
|
-
|
|
193
|
+
outcome: {
|
|
194
|
+
outcome: "selected";
|
|
195
|
+
optionId: string;
|
|
196
|
+
} | {
|
|
197
|
+
outcome: "cancelled";
|
|
198
|
+
};
|
|
369
199
|
}
|
|
370
200
|
export interface AcpFsReadTextFileParams {
|
|
371
201
|
path: string;
|
|
@@ -419,7 +249,3 @@ export declare function isAcpJsonRpcRequest(msg: unknown): msg is AcpJsonRpcRequ
|
|
|
419
249
|
export declare function isAcpJsonRpcNotification(msg: unknown): msg is AcpJsonRpcNotification;
|
|
420
250
|
export declare function isAcpJsonRpcResponse(msg: unknown): msg is AcpJsonRpcResponse;
|
|
421
251
|
export declare function parseAcpMessage(raw: string): AcpJsonRpcMessage | null;
|
|
422
|
-
/** Check if a sessionUpdate type is a standard ACP v1 type */
|
|
423
|
-
export declare function isStandardSessionUpdateType(type: string): type is AcpStandardSessionUpdateType;
|
|
424
|
-
/** Check if a sessionUpdate type is an x_ extended type */
|
|
425
|
-
export declare function isExtendedSessionUpdateType(type: string): type is AcpExtendedSessionUpdateType;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ProxyKeySource } from "./transport.js";
|
|
2
|
-
import type { MemoryContextBlock } from "./memory-provider-lifecycle.js";
|
|
3
2
|
import type { WebCapabilityFamily, WebTaskMode, WebExecutionMode, WebStatefulness, WebPolicyRiskClass, ToolRiskLevel } from "./web-capability.js";
|
|
4
3
|
export interface TransportCapabilitySummaryContract {
|
|
5
4
|
snapshotVersion: string;
|
|
@@ -43,7 +42,6 @@ export interface AgentTurnLocalContext {
|
|
|
43
42
|
approvalRequiredToolHint?: TransportApprovalRequiredToolHintEntry[];
|
|
44
43
|
eligibleToolSummary?: TransportToolEligibilitySummaryEntry[];
|
|
45
44
|
ineligibleToolSummary?: TransportToolEligibilitySummaryEntry[];
|
|
46
|
-
memoryContextBlocks?: MemoryContextBlock[];
|
|
47
45
|
}
|
|
48
46
|
export interface AgentTurnClientHints {
|
|
49
47
|
uiSurface?: string;
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
export { AGENT_RPC_APPROVAL_METHODS, AGENT_RPC_ERROR_CODES, AGENT_RPC_PROTOCOL_VERSION, isAgentRpcNotification, isAgentRpcRequest, isAgentRpcResponse, parseAgentRpcMessage, type AgentHelloParams, type AgentHelloResult, type AgentRpcError, type AgentRpcErrorCode, type AgentRpcMeta, type AgentRpcChannel, type AgentRpcMessage, type AgentRpcNotification, type AgentRpcRequest, type AgentRpcResponse, type ToolApprovalRequestParams, } from "./agent-rpc.js";
|
|
2
|
-
export { GatewayRpcContract, buildAgentRpcMeta, classifyGatewayRpcMethod, requireGatewayRpcMeta, requiresIdempotencyKey, type GatewayRpcClassification, type GatewayRpcMetrics, type GatewayRpcMutability, } from "./gateway-contract.js";
|
|
3
|
-
export { GATEWAY_RPC_METHODS, type AgentCall, type AgentCallOptions, type GatewayRpcMethodMap, type AgentProviderCatalogEntryWire, type AgentProviderDiagnosticWire, type AgentProviderErrorWire, type AgentProviderState, type DelegationBinding, type DelegationBindingKey, type DelegationError, type DelegationErrorCode, type DelegationTurn, type ProviderAuthTerminalSessionWire, type ProviderHostMethod, type RegisteredAgentProviderWire, type ProjectInfo as RpcProjectInfo, type ProjectStatus as RpcProjectStatus, type ProjectType as RpcProjectType, } from "./gateway-rpc.js";
|
|
4
1
|
export { type ChatMessage, type ChatMessageRole, type ContextAnchor, type ContextAnchorCategory, type ContextEnvelope, type LocalizedToolText, type SemanticToolCapability, type ThinkingBlock, type ToolCapabilityCategory, type ToolCallMessage, type ToolDefinition, type ToolIdentity, } from "./chat-types.js";
|
|
5
|
-
export { type
|
|
6
|
-
export type
|
|
7
|
-
export { AGENT_TEAM_WS_EVENT_NAMES, AGENT_WS_EVENT_NAMES, ALL_AGENT_WS_EVENT_NAMES, type AgentTeamWsEventName, type AgentWsEventName, type AllAgentWsEventName, } from "./agent-events.js";
|
|
8
|
-
export { type AgentSource, type ArtifactType, type MediaResultType, type MemoryDecayCompletedNotification, type MemoryUpdatedNotification, type NotificationMethod, type NotificationMethodMap, type NotificationThreadItem, type ThreadItemNotification, type PermissionRuleUpdatedNotification, type PlanInterruptedNotification, type PongNotification, type ProductBudgetUpdateNotification, type ProductBudgetWarningNotification, type ProductCheckpointedNotification, type ProductCompletedNotification, type ProductDagTopologyNotification, type ProductTaskCompletedNotification, type ProductTaskFailedNotification, type ProductTaskOutputDeltaNotification, type ProductMembersNotification, type ProductAgentActivityNotification, type ProductTaskStartedNotification, type ProjectArchivedNotification, type ProjectCreatedNotification, type ProjectDeletedNotification, type ProjectDetachedNotification, type ProjectAttachedNotification, type ProjectRenamedNotification, type ProjectSwitchedNotification, type ProjectUnarchivedNotification, type SessionInfoNotification, type SessionRecoveryPendingNotification, type SoloAgentDeltaNotification, type SoloAgentUsageNotification, type SoloEvaluationNotification, type SoloProgressNotification, type TeamMemberNotification, type ToolApprovalRequestNotification, type TurnAnnotationsNotification, type TurnArtifactContractNotification, type TurnArtifactNotification, type TurnAskUserNotification, type TurnDeltaNotification, type TurnEndNotification, type TurnErrorNotification, type TurnExecProgressNotification, type TurnHeartbeatNotification, type TurnMediaResultNotification, type TurnPlanUpdateNotification, type TurnProgressNotification, type TurnReasoningDeltaNotification, type TurnRecoveryNotification, type TurnSidechainCompletedNotification, type TurnSidechainStartedNotification, type TurnSkillAcquisitionNeededNotification, type TurnStartNotification, type TurnSubagentActivityNotification, type TurnSubagentActivityStatus, type TurnSubagentCompletedNotification, type TurnSubagentDecisionNotification, type TurnSubagentDeltaNotification, type TurnSubagentEndedNotification, type TurnSubagentEvidenceItem, type TurnSubagentStartedNotification, type TurnSubagentTokenUsage, type TurnSuggestionsNotification, type TurnTaskUpdatedNotification, type TurnTodosUpdatedNotification, type TurnToolBlockedNotification, type TurnToolCallNotification, type TurnToolResultNotification, type TurnToolSelectionPolicyNotification, type ToolCallExecutionEvidence, type FinalAnswerEvidence, type TurnToolUseSummaryNotification, type TurnUsageUpdateNotification, type WireTokenUsage, type ProductPlanReadyNotification, type ProductPlanFailedNotification, type ProductPlanningDeltaNotification, type ProductLeaderMessageNotification, type ProductPlanningAskNotification, type MentionDelegateStartedNotification, type MentionDelegateActivityNotification, type MentionDelegateSettledNotification, type WorkflowDeletedNotification, type WorkflowRecordNotification, type WorkflowRunCompletedNotification, type WorkflowRunFailedNotification, type WorkflowRunStartedNotification, } from "./notification-payloads.js";
|
|
9
|
-
export { ACP_EXTENDED_METHODS, ACP_EXTENDED_SESSION_UPDATE_TYPES, ACP_METHODS, ACP_PROTOCOL_VERSION, ACP_SESSION_UPDATE_TYPES, isAcpJsonRpcNotification, isAcpJsonRpcRequest, isAcpJsonRpcResponse, isExtendedSessionUpdateType, isStandardSessionUpdateType, parseAcpMessage, type AcpAgentCapabilities, type AcpAgentMessageChunkPayload, type AcpAgentThoughtChunkPayload, type AcpConfigOptionDescriptor, type AcpConfigOptionUpdatePayload, type AcpContentBlock, type AcpEndTurnPayload, type AcpExtendedMethod, type AcpExtendedSessionUpdateType, type AcpFsReadTextFileParams, type AcpFsReadTextFileResult, type AcpFsWriteTextFileParams, type AcpFsWriteTextFileResult, type AcpHostCapabilities, type AcpInitializeParams, type AcpInitializeResult, type AcpJsonRpcError, type AcpJsonRpcMessage, type AcpJsonRpcNotification, type AcpJsonRpcRequest, type AcpJsonRpcResponse, type AcpMode, type AcpPermissionOption, type AcpPermissionRequestParams, ACP_PERMISSION_PRESENTATION_META_KEY, type AcpPermissionPresentationMetaV1, type AcpPermissionRequestResult, type AcpPlanPayload, type AcpSessionCancelParams, type AcpSessionCloseParams, type AcpSessionMeta, type AcpSessionLoadParams, type AcpSessionModeState, type AcpSessionNewParams, type AcpSessionNewResult, type AcpSessionPromptParams, type AcpSessionPromptResult, type AcpSessionSetConfigParams, type AcpSessionSetConfigResult, type AcpSessionUpdateNotification, type AcpSessionUpdateType, type AcpStandardMethod, type AcpStandardSessionUpdateType, type AcpStopReason, type AcpToolCallPayload, type AcpToolCallUpdatePayload, type AcpUsage, type AcpUsageUpdatePayload, type AcpXSessionInfoPayload, type AcpXSkillInstructionPayload, } from "./acp-protocol.js";
|
|
2
|
+
export { type MediaResultType, type NotificationMethod, type NotificationMethodMap, type TurnDeltaNotification, type TurnEndNotification, type TurnMediaResultNotification, type TurnReasoningDeltaNotification, type TurnToolBlockedNotification, type TurnToolCallNotification, type TurnToolResultNotification, type WireTokenUsage, } from "./notification-payloads.js";
|
|
3
|
+
export { ACP_METHODS, ACP_PROTOCOL_VERSION, isAcpJsonRpcNotification, isAcpJsonRpcRequest, isAcpJsonRpcResponse, parseAcpMessage, type AcpAgentCapabilities, type AcpConfigOptionDescriptor, type AcpContentBlock, type AcpFsReadTextFileParams, type AcpFsReadTextFileResult, type AcpFsWriteTextFileParams, type AcpFsWriteTextFileResult, type AcpHostCapabilities, type AcpInitializeParams, type AcpInitializeResult, type AcpJsonRpcError, type AcpJsonRpcMessage, type AcpJsonRpcNotification, type AcpJsonRpcRequest, type AcpJsonRpcResponse, type AcpMode, type AcpPermissionOption, type AcpPermissionRequestParams, ACP_PERMISSION_PRESENTATION_META_KEY, type AcpPermissionPresentationMetaV1, type AcpPermissionRequestResult, type AcpSessionCancelParams, type AcpSessionCloseParams, type AcpSessionMeta, type AcpSessionLoadParams, type AcpSessionModeState, type AcpSessionNewParams, type AcpSessionNewResult, type AcpSessionPromptParams, type AcpSessionPromptResult, type AcpSessionSetConfigParams, type AcpSessionSetConfigResult, type AcpStandardMethod, type AcpStopReason, type AcpUsage, } from "./acp-protocol.js";
|
|
10
4
|
export { type ApprovalRequiredToolContract, type ModelSelectionReason, type PendingPromptContract, type RuntimeCapabilitySummaryContract, type RuntimeSessionContract, type SessionIdentityContract, } from "./session.js";
|
|
11
5
|
export { CAPABILITY_MANIFEST_DIFF_SECTIONS, cloneCapabilityManifestSnapshot, createCapabilityManifestDiffPayload, deriveCapabilityToolNamespaces, deriveCapabilityWorkspaceIds, mergeCapabilityManifestSnapshot, type CapabilityManifestApprovalMode, type CapabilityManifestApprovalPolicyContract, type CapabilityManifestDiffSection, type CapabilityMcpManifestContract, type CapabilityManifestSnapshotContract, type HostCapabilitySnapshotContract, type CapabilityPluginManifestContract, type RuntimeCapabilityViewContract, type RuntimeToolEligibilityContract, type CapabilitySkillManifestContract, type CapabilityToolManifestContract, type CapabilityWorkspaceSummaryContract, type ToolEligibilityResolvedSource, type ToolEligibilityReasonCode, type ToolEligibilityStatus, } from "./capability-manifest.js";
|
|
12
6
|
export { WEB_ACTION_SCOPE_VALUES, WEB_APPROVAL_DEFAULT_VALUES, WEB_CAPABILITY_FAMILY_VALUES, WEB_CAPABILITY_ID_VALUES, WEB_DEGRADATION_TARGET_VALUES, WEB_ESCALATION_REASON_VALUES, WEB_EXECUTION_MODE_VALUES, WEB_POLICY_RISK_CLASS_VALUES, WEB_RETRY_POLICY_VALUES, WEB_STATEFULNESS_VALUES, WEB_TASK_MODE_VALUES, type WebActionScope, type WebApprovalDefault, type WebCapabilityDescriptorContract, type WebCapabilityFamily, type WebCapabilityId, type WebDegradationTarget, type WebEscalationReason, type WebExecutionMode, type WebPolicyRiskClass, type WebRetryPolicy, type WebStatefulness, type WebTaskMode, type ToolRiskLevel, } from "./web-capability.js";
|
|
13
|
-
export { MEMORY_OBSERVATION_HOOK_VALUES, MEMORY_OBSERVATION_SOURCE_VALUES, MEMORY_WRITE_ACCESS_VALUES, type MemoryContextBlock, type MemoryObservedPayload, type MemoryObservationEnvelope, type MemoryObservationHook, type MemoryObservationSource, type MemoryWriteAccess, } from "./memory-provider-lifecycle.js";
|
|
14
7
|
export { RESOURCE_MANIFEST_SCHEMA_VERSION, RUNTIME_ASSET_IDS, RUNTIME_PROFILE_IDS, createDefaultRuntimeResourceProfiles, getManifestShortcutEntry, getRuntimeResourceAsset, getRuntimeResourceProfile, getRuntimeResourceProfileAssets, normalizeRuntimeResourceManifest, upsertRuntimeResourceAsset, type RuntimeManifestShortcutEntry, type RuntimeResourceArtifact, type RuntimeResourceAsset, type RuntimeResourceAssetDelivery, type RuntimeResourceAssetKind, type RuntimeResourceAssetMap, type RuntimeResourceManifest, type RuntimeResourcePlatform, type RuntimeResourceProfile, type RuntimeResourceProfileMap, } from "./resource-manifest.js";
|
|
15
8
|
export { MUTATION_CHECKPOINT_ENTRY_KIND_VALUES, MUTATION_CHECKPOINT_BACKEND_VALUES, MUTATION_CHECKPOINT_PHASE_VALUES, type MutationCheckpointBackend, type MutationCheckpointContract, type MutationCheckpointEntryKind, type MutationCheckpointPhase, type MutationCheckpointRestoreAckContract, type MutationCheckpointRollbackResultContract, type MutationCheckpointRestoreContract, type MutationCheckpointSnapshotEntryContract, } from "./checkpoint.js";
|
|
16
9
|
export { type MutationCheckpointRuntimeManager, type MutationCheckpointRuntimeManagerDeps, } from "./checkpoint-runtime.js";
|
|
@@ -19,7 +12,6 @@ export { PROVIDER_RUNTIME_OPENAI_CODEX_PROVIDER_ID, PROVIDER_RUNTIME_ENV_API_KEY
|
|
|
19
12
|
export * from "./transport.js";
|
|
20
13
|
export * from "./capability-transport.js";
|
|
21
14
|
export * from "./execution.js";
|
|
22
|
-
export * from "./turn.js";
|
|
23
15
|
export * from "./gateway.js";
|
|
24
16
|
export * from "./hook-protocol.js";
|
|
25
17
|
export * from "./thread-protocol.js";
|