@borgee/agents-host 0.2.26 → 0.2.28
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/agents-host.d.ts +25 -0
- package/dist/agents-host.js +627 -14
- package/dist/compatibility-gates.d.ts +4 -0
- package/dist/compatibility-gates.js +4 -0
- package/dist/context/attention.d.ts +12 -0
- package/dist/context/attention.js +137 -0
- package/dist/context/collaboration-capabilities-diagnostics.d.ts +3 -0
- package/dist/context/collaboration-capabilities-diagnostics.js +18 -0
- package/dist/context/collaboration-outcome.d.ts +2 -0
- package/dist/context/collaboration-outcome.js +26 -0
- package/dist/context/injection.d.ts +26 -1
- package/dist/context/injection.js +7 -2
- package/dist/context/prompt.js +61 -0
- package/dist/context/task-thread-collaboration.d.ts +6 -0
- package/dist/context/task-thread-collaboration.js +31 -0
- package/dist/context/turn-preparation.js +30 -1
- package/dist/providers/awaiting-user.js +46 -5
- package/dist/providers/codex/project-doc.js +24 -0
- package/dist/state-paths.d.ts +1 -0
- package/dist/state-paths.js +3 -0
- package/dist/types.d.ts +97 -4
- package/package.json +1 -1
package/dist/agents-host.d.ts
CHANGED
|
@@ -12,9 +12,17 @@ export declare class AgentsHost {
|
|
|
12
12
|
private readonly provider;
|
|
13
13
|
private readonly borgee;
|
|
14
14
|
private readonly logger;
|
|
15
|
+
private readonly contextInjectionEnabled;
|
|
15
16
|
private readonly collaborationEnabled;
|
|
17
|
+
private readonly collaborationOutcomeModelEnabled;
|
|
18
|
+
private readonly attentionFollowSemanticsEnabled;
|
|
19
|
+
private readonly taskThreadCollaborationContractEnabled;
|
|
20
|
+
private readonly collaborationCapabilitiesDiagnosticsEnabled;
|
|
16
21
|
private readonly activeTurns;
|
|
17
22
|
private readonly awaitingUserByChannel;
|
|
23
|
+
private readonly collaborationOutcomeByChannel;
|
|
24
|
+
private readonly attentionSnapshotByChannel;
|
|
25
|
+
private readonly missedCollaborationDiagnosticByChannel;
|
|
18
26
|
private readonly progressChannelQueues;
|
|
19
27
|
private readonly progressDrafts;
|
|
20
28
|
private readonly collaborationDrafts;
|
|
@@ -83,6 +91,20 @@ export declare class AgentsHost {
|
|
|
83
91
|
private finishProtocolState;
|
|
84
92
|
private cancelProtocolState;
|
|
85
93
|
private confirmProtocolMessage;
|
|
94
|
+
private resolveAttentionStatePath;
|
|
95
|
+
private buildDefaultAttentionSnapshot;
|
|
96
|
+
private buildTurnTaskThreadContext;
|
|
97
|
+
private ensureAttentionSnapshotLoaded;
|
|
98
|
+
private revalidateAttentionSnapshotForTurn;
|
|
99
|
+
private getAttentionSnapshotForTurn;
|
|
100
|
+
private isHumanWakeFiltered;
|
|
101
|
+
private applyAttentionUpdate;
|
|
102
|
+
private commitAttentionSnapshot;
|
|
103
|
+
private resolveTaskThreadCollaborationContractForTurn;
|
|
104
|
+
private resolveCollaborationCapabilityDeclarationForTurn;
|
|
105
|
+
private resolveMissedCollaborationDiagnosticForTurn;
|
|
106
|
+
private updateMissedCollaborationDiagnostic;
|
|
107
|
+
private noteWakeSuppressedAttentionPolicy;
|
|
86
108
|
private runUngatedTurn;
|
|
87
109
|
private executeTurn;
|
|
88
110
|
private canAcceptTurnOutput;
|
|
@@ -100,6 +122,9 @@ export declare class AgentsHost {
|
|
|
100
122
|
private rememberRecentTurn;
|
|
101
123
|
private resolveAuthorizedCollaborationTurn;
|
|
102
124
|
private updateAwaitingUserState;
|
|
125
|
+
private recordBlockedSuppressionOutcome;
|
|
126
|
+
private recordCollaborationOutcome;
|
|
127
|
+
private syncMissedCollaborationDiagnosticFromOutcome;
|
|
103
128
|
private resolveVisibleTurnBody;
|
|
104
129
|
private shouldRelayProtocolReply;
|
|
105
130
|
private normalizeMessage;
|