@tutti-os/agent-gui 0.0.46 → 0.0.47
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/{AgentMentionSearchController-D5ks45fN.d.ts → AgentMentionSearchController-CExFPobz.d.ts} +1 -1
- package/dist/AgentMessageMarkdown-DeYPURtF.d.ts +7 -0
- package/dist/agent-conversation/index.d.ts +4 -3
- package/dist/agent-conversation/index.js +8 -8
- package/dist/agent-message-center/index.d.ts +1 -1
- package/dist/agent-message-center/index.js +9 -9
- package/dist/{agentConversationVM-1QgRwvwZ.d.ts → agentConversationVM-BTMtRteS.d.ts} +14 -0
- package/dist/{AgentMessageMarkdown-Cts0dAIm.d.ts → agentGuiNodeTypes-B5Y6yDKy.d.ts} +43 -9
- package/dist/app/renderer/agentactivity.css +92 -9
- package/dist/{chunk-FRG36S6N.js → chunk-2FOBSURO.js} +5 -5
- package/dist/chunk-2FOBSURO.js.map +1 -0
- package/dist/{chunk-AMNXH4DJ.js → chunk-2RYZ4EBF.js} +2 -2
- package/dist/{chunk-EIC7XS3C.js → chunk-5QTC2L52.js} +2 -2
- package/dist/{chunk-ZJ7OSY4T.js → chunk-7NCWSH7U.js} +9 -9
- package/dist/{chunk-ZJ7OSY4T.js.map → chunk-7NCWSH7U.js.map} +1 -1
- package/dist/{chunk-62QOR3TC.js → chunk-HCS3HUUX.js} +5 -5
- package/dist/{chunk-OL54R6OL.js → chunk-J3SJZMI5.js} +2 -2
- package/dist/{chunk-VFQR7AZI.js → chunk-KACBTC7Y.js} +25 -3
- package/dist/chunk-KACBTC7Y.js.map +1 -0
- package/dist/{chunk-FJG2EH4V.js → chunk-KUCWRSXU.js} +2 -2
- package/dist/{chunk-D6IYEVDT.js → chunk-MCH35MAX.js} +2 -2
- package/dist/{chunk-NZ2BGOJU.js → chunk-Q4X6Q4E6.js} +2 -2
- package/dist/{chunk-EU7RWKHE.js → chunk-R6GOICRO.js} +5 -5
- package/dist/chunk-SD56WDSC.js +359 -0
- package/dist/chunk-SD56WDSC.js.map +1 -0
- package/dist/{chunk-TXXWUG2J.js → chunk-VE6JY2TH.js} +2 -1
- package/dist/{chunk-TXXWUG2J.js.map → chunk-VE6JY2TH.js.map} +1 -1
- package/dist/{chunk-QT45WUPQ.js → chunk-XJXSR5XI.js} +244 -21
- package/dist/chunk-XJXSR5XI.js.map +1 -0
- package/dist/{chunk-BAQTM6VS.js → chunk-ZAF4IVUT.js} +848 -102
- package/dist/chunk-ZAF4IVUT.js.map +1 -0
- package/dist/context-mention-palette/index.d.ts +3 -3
- package/dist/context-mention-palette/index.js +9 -9
- package/dist/i18n/index.d.ts +24 -2
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +22 -6
- package/dist/index.js +847 -812
- package/dist/index.js.map +1 -1
- package/dist/plan-decision-ops.d.ts +1 -1
- package/dist/queued-prompt-runtime.d.ts +97 -0
- package/dist/queued-prompt-runtime.js +9 -0
- package/dist/queued-prompt-runtime.js.map +1 -0
- package/dist/workbench/contribution.js +3 -3
- package/dist/workbench/index.js +9 -9
- package/dist/workbench/launch.js +2 -2
- package/dist/workbench/sessionTitle.js +3 -3
- package/dist/workspace-agent-generated-files.js +3 -3
- package/package.json +21 -14
- package/dist/chunk-BAQTM6VS.js.map +0 -1
- package/dist/chunk-FRG36S6N.js.map +0 -1
- package/dist/chunk-QT45WUPQ.js.map +0 -1
- package/dist/chunk-VFQR7AZI.js.map +0 -1
- /package/dist/{chunk-AMNXH4DJ.js.map → chunk-2RYZ4EBF.js.map} +0 -0
- /package/dist/{chunk-EIC7XS3C.js.map → chunk-5QTC2L52.js.map} +0 -0
- /package/dist/{chunk-62QOR3TC.js.map → chunk-HCS3HUUX.js.map} +0 -0
- /package/dist/{chunk-OL54R6OL.js.map → chunk-J3SJZMI5.js.map} +0 -0
- /package/dist/{chunk-FJG2EH4V.js.map → chunk-KUCWRSXU.js.map} +0 -0
- /package/dist/{chunk-D6IYEVDT.js.map → chunk-MCH35MAX.js.map} +0 -0
- /package/dist/{chunk-NZ2BGOJU.js.map → chunk-Q4X6Q4E6.js.map} +0 -0
- /package/dist/{chunk-EU7RWKHE.js.map → chunk-R6GOICRO.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as AgentConversationPromptVM } from './agentConversationVM-
|
|
1
|
+
import { b as AgentConversationPromptVM } from './agentConversationVM-BTMtRteS.js';
|
|
2
2
|
import './workspaceAgentActivityListViewModel-DLnMBMoh.js';
|
|
3
3
|
import '@tutti-os/agent-activity-core';
|
|
4
4
|
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { b as AgentGUIQueuedPromptVM } from './agentGuiNodeTypes-B5Y6yDKy.js';
|
|
2
|
+
import '@tutti-os/agent-activity-core';
|
|
3
|
+
import './types-xMz0lJWt.js';
|
|
4
|
+
import './workspaceAgentActivityListViewModel-DLnMBMoh.js';
|
|
5
|
+
import './agentConversationVM-BTMtRteS.js';
|
|
6
|
+
import '@tutti-os/workspace-user-project/contracts';
|
|
7
|
+
|
|
8
|
+
interface AgentQueuedPromptRetryBlock {
|
|
9
|
+
queuedPromptId: string;
|
|
10
|
+
sessionStateUpdatedAtUnixMs: number | null;
|
|
11
|
+
conversationUpdatedAtUnixMs: number | null;
|
|
12
|
+
}
|
|
13
|
+
interface AgentQueuedPromptClaim {
|
|
14
|
+
agentSessionId: string;
|
|
15
|
+
claimId: string;
|
|
16
|
+
ownerId: string;
|
|
17
|
+
promptId: string;
|
|
18
|
+
leasedUntilUnixMs: number;
|
|
19
|
+
workspaceId: string;
|
|
20
|
+
}
|
|
21
|
+
interface AgentQueuedPromptQueueSnapshot {
|
|
22
|
+
agentSessionId: string;
|
|
23
|
+
claim: AgentQueuedPromptClaim | null;
|
|
24
|
+
failedPromptId: string | null;
|
|
25
|
+
prompts: readonly AgentGUIQueuedPromptVM[];
|
|
26
|
+
retryBlock: AgentQueuedPromptRetryBlock | null;
|
|
27
|
+
sendNextPromptId: string | null;
|
|
28
|
+
workspaceId: string;
|
|
29
|
+
}
|
|
30
|
+
interface AgentQueuedPromptSnapshot {
|
|
31
|
+
queuesByKey: Readonly<Record<string, AgentQueuedPromptQueueSnapshot>>;
|
|
32
|
+
version: number;
|
|
33
|
+
}
|
|
34
|
+
interface AgentQueuedPromptClaimResult {
|
|
35
|
+
claim: AgentQueuedPromptClaim;
|
|
36
|
+
prompt: AgentGUIQueuedPromptVM;
|
|
37
|
+
}
|
|
38
|
+
interface AgentQueuedPromptRuntime {
|
|
39
|
+
claimNextToDrain(input: {
|
|
40
|
+
agentSessionId: string;
|
|
41
|
+
leaseMs?: number;
|
|
42
|
+
ownerId: string;
|
|
43
|
+
workspaceId: string;
|
|
44
|
+
}): AgentQueuedPromptClaimResult | null;
|
|
45
|
+
cleanupSession(input: {
|
|
46
|
+
agentSessionId: string;
|
|
47
|
+
workspaceId: string;
|
|
48
|
+
}): void;
|
|
49
|
+
completeClaim(input: {
|
|
50
|
+
agentSessionId: string;
|
|
51
|
+
claimId: string;
|
|
52
|
+
ownerId: string;
|
|
53
|
+
workspaceId: string;
|
|
54
|
+
}): boolean;
|
|
55
|
+
enqueue(input: {
|
|
56
|
+
prompt: AgentGUIQueuedPromptVM;
|
|
57
|
+
agentSessionId: string;
|
|
58
|
+
workspaceId: string;
|
|
59
|
+
}): void;
|
|
60
|
+
getSessionSnapshot(input: {
|
|
61
|
+
agentSessionId: string;
|
|
62
|
+
workspaceId: string;
|
|
63
|
+
}): AgentQueuedPromptQueueSnapshot;
|
|
64
|
+
getSnapshot(): AgentQueuedPromptSnapshot;
|
|
65
|
+
markPromptFailed(input: {
|
|
66
|
+
agentSessionId: string;
|
|
67
|
+
promptId: string;
|
|
68
|
+
workspaceId: string;
|
|
69
|
+
}): void;
|
|
70
|
+
promotePrompt(input: {
|
|
71
|
+
agentSessionId: string;
|
|
72
|
+
promptId: string;
|
|
73
|
+
workspaceId: string;
|
|
74
|
+
}): void;
|
|
75
|
+
releaseClaim(input: {
|
|
76
|
+
agentSessionId: string;
|
|
77
|
+
claimId: string;
|
|
78
|
+
ownerId: string;
|
|
79
|
+
workspaceId: string;
|
|
80
|
+
}): boolean;
|
|
81
|
+
releaseOwner(ownerId: string): void;
|
|
82
|
+
removePrompt(input: {
|
|
83
|
+
agentSessionId: string;
|
|
84
|
+
promptId: string;
|
|
85
|
+
workspaceId: string;
|
|
86
|
+
}): AgentGUIQueuedPromptVM | null;
|
|
87
|
+
setRetryBlock(input: {
|
|
88
|
+
agentSessionId: string;
|
|
89
|
+
retryBlock: AgentQueuedPromptRetryBlock | null;
|
|
90
|
+
workspaceId: string;
|
|
91
|
+
}): void;
|
|
92
|
+
subscribe(listener: () => void): () => void;
|
|
93
|
+
}
|
|
94
|
+
declare const EMPTY_AGENT_QUEUED_PROMPT_SNAPSHOT: AgentQueuedPromptSnapshot;
|
|
95
|
+
declare function createAgentQueuedPromptRuntime(): AgentQueuedPromptRuntime;
|
|
96
|
+
|
|
97
|
+
export { type AgentQueuedPromptClaim, type AgentQueuedPromptClaimResult, type AgentQueuedPromptQueueSnapshot, type AgentQueuedPromptRetryBlock, type AgentQueuedPromptRuntime, type AgentQueuedPromptSnapshot, EMPTY_AGENT_QUEUED_PROMPT_SNAPSHOT, createAgentQueuedPromptRuntime };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
createAgentGuiWorkbenchContribution,
|
|
9
9
|
resolveAgentGuiWorkbenchContributionCopy,
|
|
10
10
|
resolveAgentGuiWorkbenchDefaultLaunchFrame
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-2RYZ4EBF.js";
|
|
12
|
+
import "../chunk-R6GOICRO.js";
|
|
13
|
+
import "../chunk-F5DYXCY3.js";
|
|
13
14
|
import "../chunk-EFDGMXTB.js";
|
|
14
15
|
import "../chunk-22L4VWUR.js";
|
|
15
|
-
import "../chunk-F5DYXCY3.js";
|
|
16
16
|
import "../chunk-Q75AK47T.js";
|
|
17
17
|
import "../chunk-4K22O34C.js";
|
|
18
18
|
import "../chunk-MTFSQWZ6.js";
|
package/dist/workbench/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
agentGuiWorkbenchDefaultNodeFrame,
|
|
7
7
|
createAgentGuiWorkbenchContribution,
|
|
8
8
|
resolveAgentGuiWorkbenchContributionCopy
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-2RYZ4EBF.js";
|
|
10
10
|
import {
|
|
11
11
|
agentGuiWorkbenchDockEntryId,
|
|
12
12
|
agentGuiWorkbenchInstanceId,
|
|
@@ -17,7 +17,11 @@ import {
|
|
|
17
17
|
createAgentGuiWorkbenchInstanceId,
|
|
18
18
|
createAgentGuiWorkbenchLaunchDescriptor,
|
|
19
19
|
createAgentGuiWorkbenchSessionLaunchRequest
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-R6GOICRO.js";
|
|
21
|
+
import {
|
|
22
|
+
agentGuiWorkbenchOpenSessionActivationType,
|
|
23
|
+
agentGuiWorkbenchPrefillPromptActivationType
|
|
24
|
+
} from "../chunk-F5DYXCY3.js";
|
|
21
25
|
import {
|
|
22
26
|
agentGuiWorkbenchProviderFromInstanceId,
|
|
23
27
|
areAgentGuiWorkbenchNodeStatesEqual,
|
|
@@ -41,21 +45,17 @@ import {
|
|
|
41
45
|
normalizeAgentGuiWorkbenchProvider,
|
|
42
46
|
resolveAgentGuiWorkbenchProviderLabel
|
|
43
47
|
} from "../chunk-22L4VWUR.js";
|
|
44
|
-
import {
|
|
45
|
-
agentGuiWorkbenchOpenSessionActivationType,
|
|
46
|
-
agentGuiWorkbenchPrefillPromptActivationType
|
|
47
|
-
} from "../chunk-F5DYXCY3.js";
|
|
48
48
|
import "../chunk-Q75AK47T.js";
|
|
49
49
|
import "../chunk-4K22O34C.js";
|
|
50
50
|
import {
|
|
51
51
|
formatAgentGuiConversationPlainTitle,
|
|
52
52
|
formatAgentGuiSessionPlainTitle,
|
|
53
53
|
resolveAgentGuiWorkbenchSessionTitle
|
|
54
|
-
} from "../chunk-
|
|
55
|
-
import "../chunk-
|
|
54
|
+
} from "../chunk-J3SJZMI5.js";
|
|
55
|
+
import "../chunk-KUCWRSXU.js";
|
|
56
56
|
import "../chunk-MTFSQWZ6.js";
|
|
57
57
|
import "../chunk-GCBDIQDX.js";
|
|
58
|
-
import "../chunk-
|
|
58
|
+
import "../chunk-KACBTC7Y.js";
|
|
59
59
|
export {
|
|
60
60
|
AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
|
|
61
61
|
AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT,
|
package/dist/workbench/launch.js
CHANGED
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
createAgentGuiWorkbenchInstanceId,
|
|
9
9
|
createAgentGuiWorkbenchLaunchDescriptor,
|
|
10
10
|
createAgentGuiWorkbenchSessionLaunchRequest
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-22L4VWUR.js";
|
|
11
|
+
} from "../chunk-R6GOICRO.js";
|
|
13
12
|
import {
|
|
14
13
|
agentGuiWorkbenchPrefillPromptActivationType
|
|
15
14
|
} from "../chunk-F5DYXCY3.js";
|
|
15
|
+
import "../chunk-22L4VWUR.js";
|
|
16
16
|
export {
|
|
17
17
|
agentGuiWorkbenchDockEntryId,
|
|
18
18
|
agentGuiWorkbenchInstanceId,
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
formatAgentGuiConversationPlainTitle,
|
|
3
3
|
formatAgentGuiSessionPlainTitle,
|
|
4
4
|
resolveAgentGuiWorkbenchSessionTitle
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-J3SJZMI5.js";
|
|
6
|
+
import "../chunk-KUCWRSXU.js";
|
|
7
7
|
import "../chunk-GCBDIQDX.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-KACBTC7Y.js";
|
|
9
9
|
export {
|
|
10
10
|
formatAgentGuiConversationPlainTitle,
|
|
11
11
|
formatAgentGuiSessionPlainTitle,
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
resolveWorkspaceAgentActivityStatus,
|
|
5
5
|
resolveWorkspaceAgentActivityTitle,
|
|
6
6
|
reuseWorkspaceAgentActivityListViewModelIfUnchanged
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MCH35MAX.js";
|
|
8
8
|
import "./chunk-IBIMGLCD.js";
|
|
9
9
|
import "./chunk-Y35GDLP2.js";
|
|
10
10
|
import {
|
|
11
11
|
workspaceAgentProviderLabel
|
|
12
12
|
} from "./chunk-TYGL25EL.js";
|
|
13
13
|
import "./chunk-GCBDIQDX.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-5QTC2L52.js";
|
|
15
|
+
import "./chunk-KACBTC7Y.js";
|
|
16
16
|
export {
|
|
17
17
|
buildWorkspaceAgentActivityListViewModel,
|
|
18
18
|
collectWorkspaceAgentGeneratedFiles,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tutti-os/agent-gui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.47",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -33,6 +33,10 @@
|
|
|
33
33
|
"types": "./dist/mention-file-presentation.d.ts",
|
|
34
34
|
"import": "./dist/mention-file-presentation.js"
|
|
35
35
|
},
|
|
36
|
+
"./queued-prompt-runtime": {
|
|
37
|
+
"types": "./dist/queued-prompt-runtime.d.ts",
|
|
38
|
+
"import": "./dist/queued-prompt-runtime.js"
|
|
39
|
+
},
|
|
36
40
|
"./agent-title-text": {
|
|
37
41
|
"types": "./dist/agent-title-text.d.ts",
|
|
38
42
|
"import": "./dist/agent-title-text.js"
|
|
@@ -86,17 +90,17 @@
|
|
|
86
90
|
},
|
|
87
91
|
"dependencies": {
|
|
88
92
|
"@monaco-editor/react": "^4.7.0",
|
|
89
|
-
"@tutti-os/agent-activity-core": "0.0.
|
|
90
|
-
"@tutti-os/ui-i18n-runtime": "0.0.
|
|
91
|
-
"@tutti-os/ui-rich-text": "0.0.
|
|
92
|
-
"@tutti-os/ui-react-hooks": "0.0.
|
|
93
|
-
"@tutti-os/ui-system": "0.0.
|
|
94
|
-
"@tutti-os/workbench-surface": "0.0.
|
|
95
|
-
"@tutti-os/workspace-external-core": "0.0.
|
|
96
|
-
"@tutti-os/workspace-file-manager": "0.0.
|
|
97
|
-
"@tutti-os/workspace-file-reference": "0.0.
|
|
98
|
-
"@tutti-os/workspace-issue-manager": "0.0.
|
|
99
|
-
"@tutti-os/workspace-user-project": "0.0.
|
|
93
|
+
"@tutti-os/agent-activity-core": "0.0.47",
|
|
94
|
+
"@tutti-os/ui-i18n-runtime": "0.0.47",
|
|
95
|
+
"@tutti-os/ui-rich-text": "0.0.47",
|
|
96
|
+
"@tutti-os/ui-react-hooks": "0.0.47",
|
|
97
|
+
"@tutti-os/ui-system": "0.0.47",
|
|
98
|
+
"@tutti-os/workbench-surface": "0.0.47",
|
|
99
|
+
"@tutti-os/workspace-external-core": "0.0.47",
|
|
100
|
+
"@tutti-os/workspace-file-manager": "0.0.47",
|
|
101
|
+
"@tutti-os/workspace-file-reference": "0.0.47",
|
|
102
|
+
"@tutti-os/workspace-issue-manager": "0.0.47",
|
|
103
|
+
"@tutti-os/workspace-user-project": "0.0.47",
|
|
100
104
|
"@tanstack/react-virtual": "^3.13.12",
|
|
101
105
|
"@tiptap/core": "^3.11.1",
|
|
102
106
|
"@tiptap/pm": "^3.23.6",
|
|
@@ -127,8 +131,8 @@
|
|
|
127
131
|
"typescript": "^5.8.3",
|
|
128
132
|
"vite": "^6.4.2",
|
|
129
133
|
"vitest": "^4.0.13",
|
|
130
|
-
"@tutti-os/
|
|
131
|
-
"@tutti-os/
|
|
134
|
+
"@tutti-os/client-tuttid-ts": "0.0.0",
|
|
135
|
+
"@tutti-os/config-tsconfig": "0.0.0"
|
|
132
136
|
},
|
|
133
137
|
"peerDependencies": {
|
|
134
138
|
"react": "^19.1.0",
|
|
@@ -165,6 +169,9 @@
|
|
|
165
169
|
"mention-file-presentation": [
|
|
166
170
|
"./dist/mention-file-presentation.d.ts"
|
|
167
171
|
],
|
|
172
|
+
"queued-prompt-runtime": [
|
|
173
|
+
"./dist/queued-prompt-runtime.d.ts"
|
|
174
|
+
],
|
|
168
175
|
"agent-title-text": [
|
|
169
176
|
"./dist/agent-title-text.d.ts"
|
|
170
177
|
],
|