qlogicagent 2.16.6 → 2.16.8
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 +16 -16
- package/dist/cli.js +412 -413
- package/dist/default-project-knowledge/INSTRUCTIONS.md +7 -0
- package/dist/default-project-knowledge/rules/project-workflow.md +6 -0
- package/dist/index.js +411 -412
- package/dist/protocol.js +1 -1
- package/dist/types/cli/agent-runtime-bootstrap.d.ts +1 -0
- package/dist/types/cli/base-tool-bootstrap.d.ts +3 -0
- package/dist/types/cli/handlers/community-handler.d.ts +2 -28
- package/dist/types/cli/handlers/files-handler.d.ts +6 -0
- package/dist/types/cli/handlers/message-feedback-handler.d.ts +31 -0
- package/dist/types/cli/handlers/pet-handler.d.ts +1 -0
- package/dist/types/cli/handlers/project-handler.d.ts +1 -0
- package/dist/types/cli/handlers/turn-baseline-handler.d.ts +8 -0
- package/dist/types/cli/handlers/turn-handler.d.ts +5 -0
- package/dist/types/cli/handlers/workflow-handler.d.ts +0 -11
- package/dist/types/cli/handlers/working-materials-handler.d.ts +9 -0
- package/dist/types/cli/idle-dream-coordinator.d.ts +6 -0
- package/dist/types/cli/mcp-bootstrap.d.ts +1 -0
- package/dist/types/cli/memory-coordinator.d.ts +1 -0
- package/dist/types/cli/project-template-seeder.d.ts +2 -2
- package/dist/types/cli/rpc-registry.d.ts +6 -0
- package/dist/types/cli/runtime-hook-bootstrap.d.ts +1 -0
- package/dist/types/cli/stdio-agent-session-bootstrap.d.ts +1 -0
- package/dist/types/cli/stdio-rpc-handler-hosts.d.ts +1 -0
- package/dist/types/cli/stdio-runtime-bootstrap.d.ts +1 -0
- package/dist/types/cli/tool-bootstrap-community-registration.d.ts +0 -6
- package/dist/types/cli/tool-bootstrap-core-registration.d.ts +2 -0
- package/dist/types/cli/tool-bootstrap.d.ts +2 -0
- package/dist/types/cli/turn-skill-autopersist.d.ts +0 -25
- package/dist/types/protocol/methods.d.ts +24 -201
- package/dist/types/protocol/wire/agent-events.d.ts +2 -2
- package/dist/types/protocol/wire/agent-methods.d.ts +10 -205
- package/dist/types/protocol/wire/gateway-rpc.d.ts +160 -0
- package/dist/types/protocol/wire/notification-payloads.d.ts +34 -0
- package/dist/types/runtime/community/community-consent-client.d.ts +9 -186
- package/dist/types/runtime/community/community-discovery-coordinator.d.ts +1 -1
- package/dist/types/runtime/infra/default-path-service.d.ts +1 -1
- package/dist/types/runtime/infra/feedback-distillation-worker.d.ts +20 -0
- package/dist/types/runtime/infra/feedback-distillation.d.ts +30 -0
- package/dist/types/runtime/infra/feedback-event-store.d.ts +179 -0
- package/dist/types/runtime/infra/feedback-outbox.d.ts +26 -0
- package/dist/types/runtime/infra/feedback-redaction.d.ts +71 -0
- package/dist/types/runtime/infra/feedback-upload-client.d.ts +40 -0
- package/dist/types/runtime/infra/feedback-upload-worker.d.ts +11 -0
- package/dist/types/runtime/infra/project-data-paths.d.ts +5 -5
- package/dist/types/runtime/infra/turn-baseline-store.d.ts +102 -0
- package/dist/types/runtime/infra/turn-telemetry-store.d.ts +59 -0
- package/dist/types/runtime/infra/working-materials-store.d.ts +35 -0
- package/dist/types/runtime/pet/daily-journey-summarizer.d.ts +25 -0
- package/dist/types/runtime/pet/index.d.ts +2 -1
- package/dist/types/runtime/pet/journey-catchup.d.ts +14 -0
- package/dist/types/runtime/pet/journey-day-aggregator.d.ts +27 -0
- package/dist/types/runtime/pet/journey-narrative-prompt.d.ts +8 -0
- package/dist/types/runtime/pet/pet-profile-service.d.ts +14 -1
- package/dist/types/runtime/ports/memory-provider.d.ts +6 -0
- package/dist/types/runtime/ports/path-service.d.ts +1 -1
- package/dist/types/runtime/ports/tool-contracts.d.ts +2 -0
- package/dist/types/runtime/prompt/fresh-workspace-evidence.d.ts +14 -0
- package/dist/types/runtime/prompt/instruction-loader.d.ts +7 -7
- package/dist/types/skills/mcp/mcp-manager.d.ts +11 -0
- package/dist/types/skills/memory/local-memory-provider.d.ts +3 -3
- package/dist/types/skills/memory/local-store-records.d.ts +18 -1
- package/dist/types/skills/memory/local-store.d.ts +8 -195
- package/dist/types/skills/memory/memory-consolidation.d.ts +14 -0
- package/dist/types/skills/memory/sqlite-memory-schema.d.ts +1 -1
- package/dist/types/skills/plugins/plugin-marketplace.d.ts +1 -1
- package/dist/types/skills/tools/community-seek-tool.d.ts +0 -33
- package/dist/types/skills/tools/instructions-tool.d.ts +2 -2
- package/dist/types/skills/tools/skill-tool.d.ts +1 -1
- package/dist/vendor/hatch-pet/LICENSE.txt +201 -201
- package/dist/vendor/hatch-pet/NOTICE.md +25 -25
- package/dist/vendor/hatch-pet/references/animation-rows.md +29 -29
- package/dist/vendor/hatch-pet/references/codex-pet-contract.md +35 -35
- package/dist/vendor/hatch-pet/references/qa-rubric.md +66 -66
- package/dist/vendor/hatch-pet/scripts/compose_atlas.py +169 -169
- package/dist/vendor/hatch-pet/scripts/derive_running_left_from_running_right.py +150 -150
- package/dist/vendor/hatch-pet/scripts/extract_strip_frames.py +408 -408
- package/dist/vendor/hatch-pet/scripts/inspect_frames.py +256 -256
- package/dist/vendor/hatch-pet/scripts/make_contact_sheet.py +96 -96
- package/dist/vendor/hatch-pet/scripts/prepare_pet_run.py +834 -834
- package/dist/vendor/hatch-pet/scripts/render_animation_previews.py +78 -78
- package/dist/vendor/hatch-pet/scripts/validate_atlas.py +157 -157
- package/package.json +1 -1
- package/dist/types/runtime/community/activity-event-emitter.d.ts +0 -31
- package/dist/types/runtime/community/activity-event.d.ts +0 -62
- package/dist/types/runtime/community/community-desensitization-red-team-cli.d.ts +0 -7
- package/dist/types/runtime/community/community-desensitization.d.ts +0 -29
- package/dist/types/runtime/community/community-pet-publisher.d.ts +0 -27
- package/dist/types/runtime/community/community-signal-reporter.d.ts +0 -19
- package/dist/types/runtime/community/community-telemetry-metadata.d.ts +0 -4
- package/dist/types/runtime/community/community-telemetry-recorder.d.ts +0 -6
- package/dist/types/runtime/community/community-telemetry-types.d.ts +0 -1
- package/dist/types/runtime/community/pet-activity-sink.d.ts +0 -36
- package/dist/types/runtime/community/pet-key.d.ts +0 -7
- package/dist/types/runtime/community/roaming-gate.d.ts +0 -19
- package/dist/types/runtime/community/social-emission.d.ts +0 -16
|
@@ -342,31 +342,6 @@ export interface ConfigUpdateResult {
|
|
|
342
342
|
reason: string;
|
|
343
343
|
}>;
|
|
344
344
|
}
|
|
345
|
-
export interface CommunityConsentView {
|
|
346
|
-
enabled: boolean;
|
|
347
|
-
methodSharingEnabled: boolean;
|
|
348
|
-
signalsEnabled: boolean;
|
|
349
|
-
encounterEnabled: boolean;
|
|
350
|
-
remoteSynced: boolean;
|
|
351
|
-
}
|
|
352
|
-
export interface CommunityGetConsentResult {
|
|
353
|
-
ok: boolean;
|
|
354
|
-
remoteAvailable: boolean;
|
|
355
|
-
consent: CommunityConsentView;
|
|
356
|
-
error?: string;
|
|
357
|
-
}
|
|
358
|
-
export interface CommunitySetConsentParams {
|
|
359
|
-
enabled: boolean;
|
|
360
|
-
methodSharingEnabled?: boolean;
|
|
361
|
-
signalsEnabled?: boolean;
|
|
362
|
-
encounterEnabled?: boolean;
|
|
363
|
-
}
|
|
364
|
-
export interface CommunitySetConsentResult {
|
|
365
|
-
ok: boolean;
|
|
366
|
-
remoteAvailable: boolean;
|
|
367
|
-
consent: CommunityConsentView;
|
|
368
|
-
warning?: string;
|
|
369
|
-
}
|
|
370
345
|
export interface CommunityMatchRegistryParams {
|
|
371
346
|
intent: string;
|
|
372
347
|
topK?: 1 | 2 | 3;
|
|
@@ -389,134 +364,6 @@ export interface CommunityMatchRegistryResult {
|
|
|
389
364
|
ok: boolean;
|
|
390
365
|
matches: CommunityRegistryMatchResult[];
|
|
391
366
|
}
|
|
392
|
-
export interface CommunitySharedResource {
|
|
393
|
-
id: string;
|
|
394
|
-
type: string;
|
|
395
|
-
title: string;
|
|
396
|
-
summary: string;
|
|
397
|
-
visibility: string;
|
|
398
|
-
latestVersion: string | null;
|
|
399
|
-
withdrawn: boolean;
|
|
400
|
-
withdrawnAt: string | null;
|
|
401
|
-
}
|
|
402
|
-
export interface CommunityListSharedResult {
|
|
403
|
-
ok: boolean;
|
|
404
|
-
resources: CommunitySharedResource[];
|
|
405
|
-
}
|
|
406
|
-
export interface CommunityWithdrawSharedParams {
|
|
407
|
-
resourceId: string;
|
|
408
|
-
reason?: string;
|
|
409
|
-
}
|
|
410
|
-
export interface CommunityWithdrawSharedResult {
|
|
411
|
-
ok: boolean;
|
|
412
|
-
resource: CommunitySharedResource;
|
|
413
|
-
}
|
|
414
|
-
export interface CommunityWithdrawAllSharedParams {
|
|
415
|
-
reason?: string;
|
|
416
|
-
}
|
|
417
|
-
export interface CommunityWithdrawAllSharedResult {
|
|
418
|
-
ok: boolean;
|
|
419
|
-
resources: CommunitySharedResource[];
|
|
420
|
-
}
|
|
421
|
-
export interface CommunityNotice {
|
|
422
|
-
id: number;
|
|
423
|
-
resourceId: string;
|
|
424
|
-
resourceType: string;
|
|
425
|
-
title: string;
|
|
426
|
-
event: "withdrawn";
|
|
427
|
-
version: string | null;
|
|
428
|
-
reason: string | null;
|
|
429
|
-
read: boolean;
|
|
430
|
-
createdAt: string;
|
|
431
|
-
readAt: string | null;
|
|
432
|
-
}
|
|
433
|
-
export interface CommunityListNoticesParams {
|
|
434
|
-
includeRead?: boolean;
|
|
435
|
-
}
|
|
436
|
-
export interface CommunityListNoticesResult {
|
|
437
|
-
ok: boolean;
|
|
438
|
-
notices: CommunityNotice[];
|
|
439
|
-
}
|
|
440
|
-
export interface CommunityMarkNoticeReadParams {
|
|
441
|
-
noticeId: number;
|
|
442
|
-
}
|
|
443
|
-
export interface CommunityMarkNoticeReadResult {
|
|
444
|
-
ok: boolean;
|
|
445
|
-
notice: CommunityNotice;
|
|
446
|
-
}
|
|
447
|
-
export interface CommunityPublishSkillParams {
|
|
448
|
-
id: string;
|
|
449
|
-
title: string;
|
|
450
|
-
summary: string;
|
|
451
|
-
visibility?: "public" | "private";
|
|
452
|
-
tags?: string[];
|
|
453
|
-
manifest: Record<string, unknown>;
|
|
454
|
-
version?: string;
|
|
455
|
-
packageGzipBase64?: string;
|
|
456
|
-
}
|
|
457
|
-
export interface CommunityPublishedVersion {
|
|
458
|
-
version: string;
|
|
459
|
-
checksum: string;
|
|
460
|
-
sizeBytes: number;
|
|
461
|
-
}
|
|
462
|
-
export interface CommunityPublishSkillResult {
|
|
463
|
-
ok: boolean;
|
|
464
|
-
resource: CommunitySharedResource;
|
|
465
|
-
version?: CommunityPublishedVersion;
|
|
466
|
-
}
|
|
467
|
-
export interface CommunityPublishPetParams {
|
|
468
|
-
id: string;
|
|
469
|
-
name: string;
|
|
470
|
-
summary: string;
|
|
471
|
-
persona: string;
|
|
472
|
-
visibility?: "public" | "private";
|
|
473
|
-
tags?: string[];
|
|
474
|
-
traits?: string[];
|
|
475
|
-
assets?: Array<{
|
|
476
|
-
kind: string;
|
|
477
|
-
path: string;
|
|
478
|
-
}>;
|
|
479
|
-
}
|
|
480
|
-
export interface CommunityPublishPetResult {
|
|
481
|
-
ok: boolean;
|
|
482
|
-
resource: CommunitySharedResource;
|
|
483
|
-
version?: CommunityPublishedVersion;
|
|
484
|
-
}
|
|
485
|
-
export type CommunitySignalEvent = "installed" | "success" | "fail" | "neutral" | "kept" | "uninstalled" | "endorse" | "error";
|
|
486
|
-
export interface CommunityRecordSignalParams {
|
|
487
|
-
resourceId: string;
|
|
488
|
-
event: CommunitySignalEvent;
|
|
489
|
-
attribution?: string;
|
|
490
|
-
metadata?: Record<string, unknown>;
|
|
491
|
-
}
|
|
492
|
-
export interface CommunityRecordSignalResult {
|
|
493
|
-
ok: boolean;
|
|
494
|
-
accepted: true;
|
|
495
|
-
}
|
|
496
|
-
export type CommunityTelemetryEvent = "community.journey.view" | "community.share.generated" | "community.sandbox.violation" | "community.desensitization.hit";
|
|
497
|
-
export interface CommunityRecordTelemetryParams {
|
|
498
|
-
event: CommunityTelemetryEvent;
|
|
499
|
-
metadata?: Record<string, unknown>;
|
|
500
|
-
}
|
|
501
|
-
export interface CommunityRecordTelemetryResult {
|
|
502
|
-
ok: boolean;
|
|
503
|
-
accepted: true;
|
|
504
|
-
}
|
|
505
|
-
export interface CommunityListPublishAuditParams {
|
|
506
|
-
limit?: number;
|
|
507
|
-
}
|
|
508
|
-
export interface CommunityPublishAuditEntry {
|
|
509
|
-
eventTurnId: string;
|
|
510
|
-
skillName: string;
|
|
511
|
-
decision: "published" | "blocked" | "skipped";
|
|
512
|
-
reason: string;
|
|
513
|
-
resourceId?: string;
|
|
514
|
-
createdAt: string;
|
|
515
|
-
}
|
|
516
|
-
export interface CommunityListPublishAuditResult {
|
|
517
|
-
ok: boolean;
|
|
518
|
-
entries: CommunityPublishAuditEntry[];
|
|
519
|
-
}
|
|
520
367
|
export type CommunityInstallRiskTier = "R0" | "R1" | "R2" | "R3";
|
|
521
368
|
export type CommunityInstallSourceTier = "official" | "community";
|
|
522
369
|
export type CommunityInstallTrustStage = "quarantine" | "trial" | "trusted";
|
|
@@ -732,6 +579,14 @@ export type FilesCreateParams = GatewayRpcMethodMap["files.create"]["params"];
|
|
|
732
579
|
export type FilesCreateResult = GatewayRpcMethodMap["files.create"]["result"];
|
|
733
580
|
export type FilesRenameParams = GatewayRpcMethodMap["files.rename"]["params"];
|
|
734
581
|
export type FilesRenameResult = GatewayRpcMethodMap["files.rename"]["result"];
|
|
582
|
+
export type FilesMoveParams = GatewayRpcMethodMap["files.move"]["params"];
|
|
583
|
+
export type FilesMoveResult = GatewayRpcMethodMap["files.move"]["result"];
|
|
584
|
+
export type FilesCopyParams = GatewayRpcMethodMap["files.copy"]["params"];
|
|
585
|
+
export type FilesCopyResult = GatewayRpcMethodMap["files.copy"]["result"];
|
|
586
|
+
export type FilesSearchParams = GatewayRpcMethodMap["files.search"]["params"];
|
|
587
|
+
export type FilesSearchResult = GatewayRpcMethodMap["files.search"]["result"];
|
|
588
|
+
export type FilesUndoOperationParams = GatewayRpcMethodMap["files.undoOperation"]["params"];
|
|
589
|
+
export type FilesUndoOperationResult = GatewayRpcMethodMap["files.undoOperation"]["result"];
|
|
735
590
|
export type FilesDeleteParams = GatewayRpcMethodMap["files.delete"]["params"];
|
|
736
591
|
export type FilesDeleteResult = GatewayRpcMethodMap["files.delete"]["result"];
|
|
737
592
|
export type FilesGitStatusParams = GatewayRpcMethodMap["files.gitStatus"]["params"];
|
|
@@ -805,42 +660,10 @@ export interface RpcMethodMap {
|
|
|
805
660
|
params: ConfigUpdateParams;
|
|
806
661
|
result: ConfigUpdateResult;
|
|
807
662
|
};
|
|
808
|
-
"community.getConsent": {
|
|
809
|
-
params: undefined;
|
|
810
|
-
result: CommunityGetConsentResult;
|
|
811
|
-
};
|
|
812
|
-
"community.setConsent": {
|
|
813
|
-
params: CommunitySetConsentParams;
|
|
814
|
-
result: CommunitySetConsentResult;
|
|
815
|
-
};
|
|
816
663
|
"community.matchRegistry": {
|
|
817
664
|
params: CommunityMatchRegistryParams;
|
|
818
665
|
result: CommunityMatchRegistryResult;
|
|
819
666
|
};
|
|
820
|
-
"community.listShared": {
|
|
821
|
-
params: undefined;
|
|
822
|
-
result: CommunityListSharedResult;
|
|
823
|
-
};
|
|
824
|
-
"community.withdrawShared": {
|
|
825
|
-
params: CommunityWithdrawSharedParams;
|
|
826
|
-
result: CommunityWithdrawSharedResult;
|
|
827
|
-
};
|
|
828
|
-
"community.withdrawAllShared": {
|
|
829
|
-
params: CommunityWithdrawAllSharedParams;
|
|
830
|
-
result: CommunityWithdrawAllSharedResult;
|
|
831
|
-
};
|
|
832
|
-
"community.listNotices": {
|
|
833
|
-
params: CommunityListNoticesParams;
|
|
834
|
-
result: CommunityListNoticesResult;
|
|
835
|
-
};
|
|
836
|
-
"community.markNoticeRead": {
|
|
837
|
-
params: CommunityMarkNoticeReadParams;
|
|
838
|
-
result: CommunityMarkNoticeReadResult;
|
|
839
|
-
};
|
|
840
|
-
"community.listPublishAudit": {
|
|
841
|
-
params: CommunityListPublishAuditParams;
|
|
842
|
-
result: CommunityListPublishAuditResult;
|
|
843
|
-
};
|
|
844
667
|
"community.resolveInstall": {
|
|
845
668
|
params: CommunityResolveInstallParams;
|
|
846
669
|
result: CommunityResolveInstallResult;
|
|
@@ -857,22 +680,6 @@ export interface RpcMethodMap {
|
|
|
857
680
|
params: CommunityInstallRuntimeParams;
|
|
858
681
|
result: CommunityInstallRuntimeResult;
|
|
859
682
|
};
|
|
860
|
-
"community.publishSkill": {
|
|
861
|
-
params: CommunityPublishSkillParams;
|
|
862
|
-
result: CommunityPublishSkillResult;
|
|
863
|
-
};
|
|
864
|
-
"community.publishPet": {
|
|
865
|
-
params: CommunityPublishPetParams;
|
|
866
|
-
result: CommunityPublishPetResult;
|
|
867
|
-
};
|
|
868
|
-
"community.recordSignal": {
|
|
869
|
-
params: CommunityRecordSignalParams;
|
|
870
|
-
result: CommunityRecordSignalResult;
|
|
871
|
-
};
|
|
872
|
-
"community.recordTelemetry": {
|
|
873
|
-
params: CommunityRecordTelemetryParams;
|
|
874
|
-
result: CommunityRecordTelemetryResult;
|
|
875
|
-
};
|
|
876
683
|
"todos.list": {
|
|
877
684
|
params: TodosListParams;
|
|
878
685
|
result: TodosListResult;
|
|
@@ -1144,6 +951,22 @@ export interface RpcMethodMap {
|
|
|
1144
951
|
params: FilesRenameParams;
|
|
1145
952
|
result: FilesRenameResult;
|
|
1146
953
|
};
|
|
954
|
+
"files.move": {
|
|
955
|
+
params: FilesMoveParams;
|
|
956
|
+
result: FilesMoveResult;
|
|
957
|
+
};
|
|
958
|
+
"files.copy": {
|
|
959
|
+
params: FilesCopyParams;
|
|
960
|
+
result: FilesCopyResult;
|
|
961
|
+
};
|
|
962
|
+
"files.search": {
|
|
963
|
+
params: FilesSearchParams;
|
|
964
|
+
result: FilesSearchResult;
|
|
965
|
+
};
|
|
966
|
+
"files.undoOperation": {
|
|
967
|
+
params: FilesUndoOperationParams;
|
|
968
|
+
result: FilesUndoOperationResult;
|
|
969
|
+
};
|
|
1147
970
|
"files.delete": {
|
|
1148
971
|
params: FilesDeleteParams;
|
|
1149
972
|
result: FilesDeleteResult;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Turn-lifecycle events relayed to the Control UI WebSocket.
|
|
14
14
|
* These are the "chat session" events that every UI client needs.
|
|
15
15
|
*/
|
|
16
|
-
export declare const AGENT_WS_EVENT_NAMES: readonly ["turn.start", "turn.delta", "turn.end", "turn.error", "turn.recovery", "turn.tool_call", "turn.tool_result", "turn.tool_blocked", "turn.reasoning_delta", "turn.approval_request", "turn.skill_instruction", "turn.ask_user", "turn.media_result", "turn.media_progress", "turn.media_usage", "turn.media_capability_check", "turn.plan_update", "turn.suggestions", "turn.sidechain_started", "turn.subagent_started", "turn.subagent_delta", "turn.subagent_ended", "turn.sidechain_completed", "turn.task_updated", "turn.todos_updated", "turn.exec_progress", "turn.tool_use_summary", "turn.tool_selection_policy", "turn.lifecycle", "turn.document_maintenance", "turn.artifact_contract", "turn.usage_update", "team.member.notification", "session.info", "memory.updated", "skills.updated", "pet.soul_ready", "pet.reaction", "pet.growth", "pet.state", "pet.confirm", "pet.asset.updated", "system.activity", "workflow.created", "workflow.updated", "workflow.deleted", "workflow.runStarted", "workflow.runCompleted", "workflow.runFailed", "workflow.nodeStatus", "workflow.triggerDropped", "workflow.alert", "workflow.approvalRequested"];
|
|
16
|
+
export declare const AGENT_WS_EVENT_NAMES: readonly ["turn.start", "turn.delta", "turn.end", "turn.error", "turn.recovery", "turn.file_changes", "turn.tool_call", "turn.tool_result", "turn.tool_blocked", "turn.reasoning_delta", "turn.approval_request", "turn.skill_instruction", "turn.ask_user", "turn.media_result", "turn.media_progress", "turn.media_usage", "turn.media_capability_check", "turn.plan_update", "turn.suggestions", "turn.sidechain_started", "turn.subagent_started", "turn.subagent_delta", "turn.subagent_ended", "turn.sidechain_completed", "turn.task_updated", "turn.todos_updated", "turn.exec_progress", "turn.tool_use_summary", "turn.tool_selection_policy", "turn.lifecycle", "turn.document_maintenance", "turn.artifact_contract", "turn.usage_update", "team.member.notification", "session.info", "memory.updated", "skills.updated", "pet.soul_ready", "pet.reaction", "pet.growth", "pet.state", "pet.confirm", "pet.asset.updated", "system.activity", "workflow.created", "workflow.updated", "workflow.deleted", "workflow.runStarted", "workflow.runCompleted", "workflow.runFailed", "workflow.nodeStatus", "workflow.triggerDropped", "workflow.alert", "workflow.approvalRequested"];
|
|
17
17
|
/**
|
|
18
18
|
* Agent Team events (Solo Mode, Product Mode, Plan lifecycle).
|
|
19
19
|
* Relayed to the UI's team/orchestration panel.
|
|
@@ -23,7 +23,7 @@ export declare const AGENT_TEAM_WS_EVENT_NAMES: readonly ["solo.progress", "solo
|
|
|
23
23
|
* All agent notifications that Gateway should relay to WS clients.
|
|
24
24
|
* Union of session events + team events.
|
|
25
25
|
*/
|
|
26
|
-
export declare const ALL_AGENT_WS_EVENT_NAMES: readonly ["turn.start", "turn.delta", "turn.end", "turn.error", "turn.recovery", "turn.tool_call", "turn.tool_result", "turn.tool_blocked", "turn.reasoning_delta", "turn.approval_request", "turn.skill_instruction", "turn.ask_user", "turn.media_result", "turn.media_progress", "turn.media_usage", "turn.media_capability_check", "turn.plan_update", "turn.suggestions", "turn.sidechain_started", "turn.subagent_started", "turn.subagent_delta", "turn.subagent_ended", "turn.sidechain_completed", "turn.task_updated", "turn.todos_updated", "turn.exec_progress", "turn.tool_use_summary", "turn.tool_selection_policy", "turn.lifecycle", "turn.document_maintenance", "turn.artifact_contract", "turn.usage_update", "team.member.notification", "session.info", "memory.updated", "skills.updated", "pet.soul_ready", "pet.reaction", "pet.growth", "pet.state", "pet.confirm", "pet.asset.updated", "system.activity", "workflow.created", "workflow.updated", "workflow.deleted", "workflow.runStarted", "workflow.runCompleted", "workflow.runFailed", "workflow.nodeStatus", "workflow.triggerDropped", "workflow.alert", "workflow.approvalRequested", "solo.progress", "solo.specProgress", "solo.agentDelta", "solo.agentActivity", "solo.agentUsage", "solo.evaluation", "product.taskStarted", "product.taskOutput", "product.members", "product.agentActivity", "product.taskCompleted", "product.taskFailed", "product.budgetUpdate", "product.budgetWarning", "product.checkpointed", "product.completed", "product.dagTopology", "plan.interrupted", "goal.run_state_changed", "goal.phase_boundary", "goal.goal_edited", "goal.message_queued", "goal.acceptance_updated"];
|
|
26
|
+
export declare const ALL_AGENT_WS_EVENT_NAMES: readonly ["turn.start", "turn.delta", "turn.end", "turn.error", "turn.recovery", "turn.file_changes", "turn.tool_call", "turn.tool_result", "turn.tool_blocked", "turn.reasoning_delta", "turn.approval_request", "turn.skill_instruction", "turn.ask_user", "turn.media_result", "turn.media_progress", "turn.media_usage", "turn.media_capability_check", "turn.plan_update", "turn.suggestions", "turn.sidechain_started", "turn.subagent_started", "turn.subagent_delta", "turn.subagent_ended", "turn.sidechain_completed", "turn.task_updated", "turn.todos_updated", "turn.exec_progress", "turn.tool_use_summary", "turn.tool_selection_policy", "turn.lifecycle", "turn.document_maintenance", "turn.artifact_contract", "turn.usage_update", "team.member.notification", "session.info", "memory.updated", "skills.updated", "pet.soul_ready", "pet.reaction", "pet.growth", "pet.state", "pet.confirm", "pet.asset.updated", "system.activity", "workflow.created", "workflow.updated", "workflow.deleted", "workflow.runStarted", "workflow.runCompleted", "workflow.runFailed", "workflow.nodeStatus", "workflow.triggerDropped", "workflow.alert", "workflow.approvalRequested", "solo.progress", "solo.specProgress", "solo.agentDelta", "solo.agentActivity", "solo.agentUsage", "solo.evaluation", "product.taskStarted", "product.taskOutput", "product.members", "product.agentActivity", "product.taskCompleted", "product.taskFailed", "product.budgetUpdate", "product.budgetWarning", "product.checkpointed", "product.completed", "product.dagTopology", "plan.interrupted", "goal.run_state_changed", "goal.phase_boundary", "goal.goal_edited", "goal.message_queued", "goal.acceptance_updated"];
|
|
27
27
|
/** Type-level event name for session events. */
|
|
28
28
|
export type AgentWsEventName = (typeof AGENT_WS_EVENT_NAMES)[number];
|
|
29
29
|
/** Type-level event name for team events. */
|
|
@@ -832,35 +832,6 @@ export interface AgentRpcMethodMap extends GatewayRpcMethodMap {
|
|
|
832
832
|
value: unknown;
|
|
833
833
|
};
|
|
834
834
|
};
|
|
835
|
-
"community.getConsent": {
|
|
836
|
-
params: undefined;
|
|
837
|
-
result: {
|
|
838
|
-
ok: boolean;
|
|
839
|
-
remoteAvailable: boolean;
|
|
840
|
-
consent: {
|
|
841
|
-
enabled: boolean;
|
|
842
|
-
methodSharingEnabled: boolean;
|
|
843
|
-
signalsEnabled: boolean;
|
|
844
|
-
encounterEnabled: boolean;
|
|
845
|
-
remoteSynced: boolean;
|
|
846
|
-
};
|
|
847
|
-
error?: string;
|
|
848
|
-
};
|
|
849
|
-
};
|
|
850
|
-
"community.setConsent": {
|
|
851
|
-
params: {
|
|
852
|
-
enabled: boolean;
|
|
853
|
-
methodSharingEnabled?: boolean;
|
|
854
|
-
signalsEnabled?: boolean;
|
|
855
|
-
encounterEnabled?: boolean;
|
|
856
|
-
};
|
|
857
|
-
result: {
|
|
858
|
-
ok: boolean;
|
|
859
|
-
remoteAvailable: boolean;
|
|
860
|
-
consent: Record<string, unknown>;
|
|
861
|
-
warning?: string;
|
|
862
|
-
};
|
|
863
|
-
};
|
|
864
835
|
"community.matchRegistry": {
|
|
865
836
|
params: {
|
|
866
837
|
intent: string;
|
|
@@ -872,59 +843,6 @@ export interface AgentRpcMethodMap extends GatewayRpcMethodMap {
|
|
|
872
843
|
matches: Array<Record<string, unknown>>;
|
|
873
844
|
};
|
|
874
845
|
};
|
|
875
|
-
"community.listShared": {
|
|
876
|
-
params: undefined;
|
|
877
|
-
result: {
|
|
878
|
-
ok: boolean;
|
|
879
|
-
resources: Array<Record<string, unknown>>;
|
|
880
|
-
};
|
|
881
|
-
};
|
|
882
|
-
"community.withdrawShared": {
|
|
883
|
-
params: {
|
|
884
|
-
resourceId: string;
|
|
885
|
-
reason?: string;
|
|
886
|
-
};
|
|
887
|
-
result: {
|
|
888
|
-
ok: boolean;
|
|
889
|
-
resource: Record<string, unknown>;
|
|
890
|
-
};
|
|
891
|
-
};
|
|
892
|
-
"community.withdrawAllShared": {
|
|
893
|
-
params: {
|
|
894
|
-
reason?: string;
|
|
895
|
-
};
|
|
896
|
-
result: {
|
|
897
|
-
ok: boolean;
|
|
898
|
-
resources: Array<Record<string, unknown>>;
|
|
899
|
-
};
|
|
900
|
-
};
|
|
901
|
-
"community.listNotices": {
|
|
902
|
-
params: {
|
|
903
|
-
includeRead?: boolean;
|
|
904
|
-
};
|
|
905
|
-
result: {
|
|
906
|
-
ok: boolean;
|
|
907
|
-
notices: Array<Record<string, unknown>>;
|
|
908
|
-
};
|
|
909
|
-
};
|
|
910
|
-
"community.markNoticeRead": {
|
|
911
|
-
params: {
|
|
912
|
-
noticeId: number;
|
|
913
|
-
};
|
|
914
|
-
result: {
|
|
915
|
-
ok: boolean;
|
|
916
|
-
notice: Record<string, unknown>;
|
|
917
|
-
};
|
|
918
|
-
};
|
|
919
|
-
"community.listPublishAudit": {
|
|
920
|
-
params: {
|
|
921
|
-
limit?: number;
|
|
922
|
-
};
|
|
923
|
-
result: {
|
|
924
|
-
ok: boolean;
|
|
925
|
-
entries: Array<Record<string, unknown>>;
|
|
926
|
-
};
|
|
927
|
-
};
|
|
928
846
|
"community.resolveInstall": {
|
|
929
847
|
params: {
|
|
930
848
|
resourceId: string;
|
|
@@ -946,53 +864,6 @@ export interface AgentRpcMethodMap extends GatewayRpcMethodMap {
|
|
|
946
864
|
versions: unknown;
|
|
947
865
|
};
|
|
948
866
|
};
|
|
949
|
-
"community.getRatingSummary": {
|
|
950
|
-
params: {
|
|
951
|
-
resourceId: string;
|
|
952
|
-
};
|
|
953
|
-
result: {
|
|
954
|
-
ok: true;
|
|
955
|
-
summary: unknown;
|
|
956
|
-
};
|
|
957
|
-
};
|
|
958
|
-
"community.rateResource": {
|
|
959
|
-
params: {
|
|
960
|
-
resourceId: string;
|
|
961
|
-
stars: number;
|
|
962
|
-
};
|
|
963
|
-
result: {
|
|
964
|
-
ok: true;
|
|
965
|
-
summary: unknown;
|
|
966
|
-
};
|
|
967
|
-
};
|
|
968
|
-
"community.reportResource": {
|
|
969
|
-
params: {
|
|
970
|
-
resourceId: string;
|
|
971
|
-
reason?: string;
|
|
972
|
-
};
|
|
973
|
-
result: {
|
|
974
|
-
ok: true;
|
|
975
|
-
};
|
|
976
|
-
};
|
|
977
|
-
"community.listComments": {
|
|
978
|
-
params: {
|
|
979
|
-
resourceId: string;
|
|
980
|
-
};
|
|
981
|
-
result: {
|
|
982
|
-
ok: true;
|
|
983
|
-
comments: unknown;
|
|
984
|
-
};
|
|
985
|
-
};
|
|
986
|
-
"community.postComment": {
|
|
987
|
-
params: {
|
|
988
|
-
resourceId: string;
|
|
989
|
-
body: string;
|
|
990
|
-
};
|
|
991
|
-
result: {
|
|
992
|
-
ok: true;
|
|
993
|
-
comment: unknown;
|
|
994
|
-
};
|
|
995
|
-
};
|
|
996
867
|
"community.installResource": {
|
|
997
868
|
params: {
|
|
998
869
|
resourceId: string;
|
|
@@ -1003,7 +874,6 @@ export interface AgentRpcMethodMap extends GatewayRpcMethodMap {
|
|
|
1003
874
|
ok: boolean;
|
|
1004
875
|
installed?: Record<string, unknown>;
|
|
1005
876
|
preview?: Record<string, unknown>;
|
|
1006
|
-
signalWarning?: string;
|
|
1007
877
|
};
|
|
1008
878
|
};
|
|
1009
879
|
"community.runtimeStatus": {
|
|
@@ -1026,65 +896,6 @@ export interface AgentRpcMethodMap extends GatewayRpcMethodMap {
|
|
|
1026
896
|
binPath?: string;
|
|
1027
897
|
};
|
|
1028
898
|
};
|
|
1029
|
-
"community.publishSkill": {
|
|
1030
|
-
params: {
|
|
1031
|
-
id: string;
|
|
1032
|
-
title: string;
|
|
1033
|
-
summary: string;
|
|
1034
|
-
visibility?: "public" | "private";
|
|
1035
|
-
tags?: string[];
|
|
1036
|
-
manifest: Record<string, unknown>;
|
|
1037
|
-
version?: string;
|
|
1038
|
-
packageGzipBase64?: string;
|
|
1039
|
-
};
|
|
1040
|
-
result: {
|
|
1041
|
-
ok: boolean;
|
|
1042
|
-
resource: Record<string, unknown>;
|
|
1043
|
-
version?: Record<string, unknown>;
|
|
1044
|
-
};
|
|
1045
|
-
};
|
|
1046
|
-
"community.publishPet": {
|
|
1047
|
-
params: {
|
|
1048
|
-
id: string;
|
|
1049
|
-
name: string;
|
|
1050
|
-
summary: string;
|
|
1051
|
-
persona: string;
|
|
1052
|
-
visibility?: "public" | "private";
|
|
1053
|
-
tags?: string[];
|
|
1054
|
-
traits?: string[];
|
|
1055
|
-
assets?: Array<{
|
|
1056
|
-
kind: string;
|
|
1057
|
-
path: string;
|
|
1058
|
-
}>;
|
|
1059
|
-
};
|
|
1060
|
-
result: {
|
|
1061
|
-
ok: boolean;
|
|
1062
|
-
resource: Record<string, unknown>;
|
|
1063
|
-
version?: Record<string, unknown>;
|
|
1064
|
-
};
|
|
1065
|
-
};
|
|
1066
|
-
"community.recordSignal": {
|
|
1067
|
-
params: {
|
|
1068
|
-
resourceId: string;
|
|
1069
|
-
event: string;
|
|
1070
|
-
attribution?: string;
|
|
1071
|
-
metadata?: Record<string, unknown>;
|
|
1072
|
-
};
|
|
1073
|
-
result: {
|
|
1074
|
-
ok: boolean;
|
|
1075
|
-
accepted: true;
|
|
1076
|
-
};
|
|
1077
|
-
};
|
|
1078
|
-
"community.recordTelemetry": {
|
|
1079
|
-
params: {
|
|
1080
|
-
event: string;
|
|
1081
|
-
metadata?: Record<string, unknown>;
|
|
1082
|
-
};
|
|
1083
|
-
result: {
|
|
1084
|
-
ok: boolean;
|
|
1085
|
-
accepted: true;
|
|
1086
|
-
};
|
|
1087
|
-
};
|
|
1088
899
|
"agent.health": GatewayRpcMethodMap["agent.health"];
|
|
1089
900
|
"agent.metrics": GatewayRpcMethodMap["agent.metrics"];
|
|
1090
901
|
"agent.cancel": GatewayRpcMethodMap["agent.cancel"];
|
|
@@ -1475,22 +1286,6 @@ export interface AgentRpcMethodMap extends GatewayRpcMethodMap {
|
|
|
1475
1286
|
};
|
|
1476
1287
|
result: Record<string, unknown>;
|
|
1477
1288
|
};
|
|
1478
|
-
"workflow.publishHub": {
|
|
1479
|
-
params: {
|
|
1480
|
-
id: string;
|
|
1481
|
-
slug: string;
|
|
1482
|
-
summary: string;
|
|
1483
|
-
description?: string;
|
|
1484
|
-
tags?: string[];
|
|
1485
|
-
visibility?: "private" | "public";
|
|
1486
|
-
category?: string;
|
|
1487
|
-
version?: string;
|
|
1488
|
-
projectId?: string;
|
|
1489
|
-
};
|
|
1490
|
-
result: {
|
|
1491
|
-
ok: true;
|
|
1492
|
-
} & Record<string, unknown>;
|
|
1493
|
-
};
|
|
1494
1289
|
"workflow.audit": {
|
|
1495
1290
|
params: {
|
|
1496
1291
|
id?: string;
|
|
@@ -1802,6 +1597,16 @@ export interface AgentRpcMethodMap extends GatewayRpcMethodMap {
|
|
|
1802
1597
|
snapshot: unknown | null;
|
|
1803
1598
|
};
|
|
1804
1599
|
};
|
|
1600
|
+
"pet.journey.catchUp": {
|
|
1601
|
+
params: {
|
|
1602
|
+
maxDays?: number;
|
|
1603
|
+
};
|
|
1604
|
+
result: {
|
|
1605
|
+
ok: true;
|
|
1606
|
+
dates: string[];
|
|
1607
|
+
latest: unknown | null;
|
|
1608
|
+
};
|
|
1609
|
+
};
|
|
1805
1610
|
"pet.custom.delete": {
|
|
1806
1611
|
params: {
|
|
1807
1612
|
id: string;
|