@tangle-network/agent-app 0.60.7 → 0.60.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-surfaces/cli.d.ts +2 -0
- package/dist/agent-surfaces/cli.js +49 -0
- package/dist/agent-surfaces/cli.js.map +1 -0
- package/dist/agent-surfaces/generate.d.ts +1 -0
- package/dist/agent-surfaces/index.d.ts +139 -0
- package/dist/agent-surfaces/index.js +27 -0
- package/dist/agent-surfaces/index.js.map +1 -0
- package/dist/assistant/index.js +4 -4
- package/dist/{chunk-CN5HNTU6.js → chunk-AKC5ZC4R.js} +1 -1
- package/dist/chunk-C5RHSYUA.js +376 -0
- package/dist/chunk-C5RHSYUA.js.map +1 -0
- package/dist/{chunk-GJRGCVDV.js → chunk-MUZQUS6X.js} +236 -187
- package/dist/chunk-MUZQUS6X.js.map +1 -0
- package/dist/design-canvas-react/index.js +4 -4
- package/dist/design-canvas-react/lazy.js +1 -1
- package/dist/public-consultation/index.d.ts +1 -1
- package/dist/web-react/agent-setup-block.d.ts +16 -0
- package/dist/web-react/index.d.ts +1 -0
- package/dist/web-react/index.js +9 -7
- package/package.json +7 -1
- package/dist/chunk-GJRGCVDV.js.map +0 -1
- /package/dist/{chunk-CN5HNTU6.js.map → chunk-AKC5ZC4R.js.map} +0 -0
|
@@ -42,10 +42,6 @@ import {
|
|
|
42
42
|
selectTickStep
|
|
43
43
|
} from "../chunk-DKHM4B4A.js";
|
|
44
44
|
import "../chunk-VUXCM5ZO.js";
|
|
45
|
-
import {
|
|
46
|
-
DesignCanvasChromeLazy,
|
|
47
|
-
DesignCanvasLazy
|
|
48
|
-
} from "../chunk-CN5HNTU6.js";
|
|
49
45
|
import "../chunk-ZN5J47UX.js";
|
|
50
46
|
import {
|
|
51
47
|
DEFAULT_INSERT_TEMPLATES,
|
|
@@ -88,6 +84,10 @@ import {
|
|
|
88
84
|
setPagePropsCommand,
|
|
89
85
|
ungroupElementCommand
|
|
90
86
|
} from "../chunk-6NYVAURR.js";
|
|
87
|
+
import {
|
|
88
|
+
DesignCanvasChromeLazy,
|
|
89
|
+
DesignCanvasLazy
|
|
90
|
+
} from "../chunk-AKC5ZC4R.js";
|
|
91
91
|
import {
|
|
92
92
|
assertSceneMediaSrc,
|
|
93
93
|
bleedAwareExportBounds,
|
|
@@ -121,9 +121,9 @@ export declare function createPublicConsultation(options: PublicConsultationOpti
|
|
|
121
121
|
executionBudget?: ChatTurnExecutionLimits;
|
|
122
122
|
maxOutputTokens?: number;
|
|
123
123
|
}) => Promise<{
|
|
124
|
+
start?: undefined;
|
|
124
125
|
status: 'unsupported';
|
|
125
126
|
reason: string;
|
|
126
|
-
start?: undefined;
|
|
127
127
|
} | {
|
|
128
128
|
reason?: undefined;
|
|
129
129
|
status: 'prepared';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface AgentSetupBlockProps {
|
|
2
|
+
productName: string;
|
|
3
|
+
/** Absolute URL of the product's `/agent-setup.md`. */
|
|
4
|
+
setupUrl: string;
|
|
5
|
+
/** The setup skill text. When given, the button copies it verbatim. */
|
|
6
|
+
markdown?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The "Hand this to your agent" block for a product's docs page.
|
|
11
|
+
*
|
|
12
|
+
* It copies the product's agent setup skill (from `agentSurfaceFiles`), or a
|
|
13
|
+
* one-line instruction to fetch it when the text is not supplied. The skill is
|
|
14
|
+
* the same file served at `/agent-setup.md`, so the page cannot drift from it.
|
|
15
|
+
*/
|
|
16
|
+
export declare function AgentSetupBlock({ productName, setupUrl, markdown, className }: AgentSetupBlockProps): import("react").JSX.Element;
|
|
@@ -302,6 +302,7 @@ export declare function useThinkingSeconds(active: boolean): number;
|
|
|
302
302
|
*/
|
|
303
303
|
export declare function ChatMessages({ messages, messageSize, chrome, models, renderMarkdown, renderExtras, durableCards, userLabel, agentLabel, loading, approval, onToolCallClick, toolRenderers, error, onRetry, renderEmpty, emptyState, header, resolveAttachmentUrl, workProductCards, viewerId, }: ChatMessagesProps): import("react").JSX.Element;
|
|
304
304
|
export * from './api-access-panel';
|
|
305
|
+
export * from './agent-setup-block';
|
|
305
306
|
export * from './agent-settings-popover';
|
|
306
307
|
export * from './workspace-switcher';
|
|
307
308
|
export * from './agent-profile-choices';
|
package/dist/web-react/index.js
CHANGED
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
AgentProfileEditor,
|
|
6
6
|
AgentProfileRegistryError,
|
|
7
7
|
AgentProfileViewer,
|
|
8
|
+
AgentSetupBlock,
|
|
8
9
|
ApiAccessPanel,
|
|
9
10
|
ChatEmptyState,
|
|
10
11
|
ChatMessages,
|
|
@@ -135,7 +136,7 @@ import {
|
|
|
135
136
|
withoutRecordGridCreated,
|
|
136
137
|
withoutRecordGridRemoved,
|
|
137
138
|
withoutRecordGridUpdate
|
|
138
|
-
} from "../chunk-
|
|
139
|
+
} from "../chunk-MUZQUS6X.js";
|
|
139
140
|
import {
|
|
140
141
|
SessionHistoryPanel,
|
|
141
142
|
formatSessionTimestamp,
|
|
@@ -146,11 +147,16 @@ import {
|
|
|
146
147
|
import {
|
|
147
148
|
MENTION_PILL_CLASS
|
|
148
149
|
} from "../chunk-3HUFJ5LO.js";
|
|
150
|
+
import "../chunk-FBVLEGEG.js";
|
|
151
|
+
import {
|
|
152
|
+
WorkspaceInitial,
|
|
153
|
+
WorkspaceSwitcher
|
|
154
|
+
} from "../chunk-KHCJKVQN.js";
|
|
155
|
+
import "../chunk-XEURJVS5.js";
|
|
149
156
|
import {
|
|
150
157
|
tabTerminalConnectionId,
|
|
151
158
|
useSandboxTerminalConnection
|
|
152
159
|
} from "../chunk-E4AY62T2.js";
|
|
153
|
-
import "../chunk-FBVLEGEG.js";
|
|
154
160
|
import {
|
|
155
161
|
EvidenceLineageTable,
|
|
156
162
|
ExceptionList,
|
|
@@ -187,11 +193,6 @@ import {
|
|
|
187
193
|
useDictation
|
|
188
194
|
} from "../chunk-DECJLOS4.js";
|
|
189
195
|
import "../chunk-L7MB2LLM.js";
|
|
190
|
-
import {
|
|
191
|
-
WorkspaceInitial,
|
|
192
|
-
WorkspaceSwitcher
|
|
193
|
-
} from "../chunk-KHCJKVQN.js";
|
|
194
|
-
import "../chunk-XEURJVS5.js";
|
|
195
196
|
import "../chunk-NJDQ2JCP.js";
|
|
196
197
|
import {
|
|
197
198
|
DEFAULT_EFFORT_LEVELS,
|
|
@@ -284,6 +285,7 @@ export {
|
|
|
284
285
|
AgentProfileViewer,
|
|
285
286
|
AgentSessionControls,
|
|
286
287
|
AgentSettingsPopover,
|
|
288
|
+
AgentSetupBlock,
|
|
287
289
|
ApiAccessPanel,
|
|
288
290
|
ChatComposer,
|
|
289
291
|
ChatEmptyState,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-app",
|
|
3
|
-
"version": "0.60.
|
|
3
|
+
"version": "0.60.8",
|
|
4
4
|
"packageManager": "pnpm@11.24.0",
|
|
5
5
|
"description": "Build agent applications with typed chat, tools, sandboxes, integrations, billing, and evaluation.",
|
|
6
6
|
"keywords": [
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"agent-app-peer-check": "./dist/peer-floors/cli.js",
|
|
41
41
|
"agent-app-spend-check": "./dist/spend/cli.js",
|
|
42
42
|
"agent-app-signoff": "./dist/signoff/cli.js",
|
|
43
|
+
"agent-app-agent-surfaces": "./dist/agent-surfaces/cli.js",
|
|
43
44
|
"agent-app-verify-proof": "./dist/signoff/proof-cli.js",
|
|
44
45
|
"tangle-agent": "bin/tangle-agent.mjs"
|
|
45
46
|
},
|
|
@@ -309,6 +310,11 @@
|
|
|
309
310
|
"import": "./dist/session-shell/index.js",
|
|
310
311
|
"default": "./dist/session-shell/index.js"
|
|
311
312
|
},
|
|
313
|
+
"./agent-surfaces": {
|
|
314
|
+
"types": "./dist/agent-surfaces/index.d.ts",
|
|
315
|
+
"import": "./dist/agent-surfaces/index.js",
|
|
316
|
+
"default": "./dist/agent-surfaces/index.js"
|
|
317
|
+
},
|
|
312
318
|
"./web": {
|
|
313
319
|
"types": "./dist/web/index.d.ts",
|
|
314
320
|
"import": "./dist/web/index.js",
|