@getcatalystiq/agent-plane-ui 0.1.27 → 0.1.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/agent-identity-tab-BP5MPDYZ.js +2 -0
- package/dist/{agent-identity-tab-HADOCEAN.cjs → agent-identity-tab-YGMVWOWT.cjs} +2 -2
- package/dist/{chunk-7EBIKKRM.cjs → chunk-HGSMFQH7.cjs} +1 -5
- package/dist/{chunk-UMNJ5SV6.js → chunk-WUTZ6WUU.js} +1 -5
- package/dist/editor.cjs +2 -2
- package/dist/editor.d.cts +1 -5
- package/dist/editor.d.ts +1 -5
- package/dist/editor.js +1 -1
- package/dist/index.cjs +9 -8
- package/dist/index.js +9 -8
- package/package.json +1 -1
- package/dist/agent-identity-tab-LROKQ7HM.js +0 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHGSMFQH7_cjs = require('./chunk-HGSMFQH7.cjs');
|
|
4
4
|
require('./chunk-XXF4U7WL.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "AgentIdentityTab", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkHGSMFQH7_cjs.AgentIdentityTab; }
|
|
11
11
|
});
|
|
@@ -214,11 +214,7 @@ function AgentIdentityTab({
|
|
|
214
214
|
onSave: handleSave,
|
|
215
215
|
title: "SoulSpec",
|
|
216
216
|
saveLabel: saving ? "Saving..." : "Save Identity",
|
|
217
|
-
|
|
218
|
-
newFileTemplate: {
|
|
219
|
-
filename: "CUSTOM.md",
|
|
220
|
-
content: "# Custom\n\nAdd custom identity content...\n"
|
|
221
|
-
},
|
|
217
|
+
fixedStructure: true,
|
|
222
218
|
savedVersion
|
|
223
219
|
}
|
|
224
220
|
) }),
|
|
@@ -212,11 +212,7 @@ function AgentIdentityTab({
|
|
|
212
212
|
onSave: handleSave,
|
|
213
213
|
title: "SoulSpec",
|
|
214
214
|
saveLabel: saving ? "Saving..." : "Save Identity",
|
|
215
|
-
|
|
216
|
-
newFileTemplate: {
|
|
217
|
-
filename: "CUSTOM.md",
|
|
218
|
-
content: "# Custom\n\nAdd custom identity content...\n"
|
|
219
|
-
},
|
|
215
|
+
fixedStructure: true,
|
|
220
216
|
savedVersion
|
|
221
217
|
}
|
|
222
218
|
) }),
|
package/dist/editor.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkVZ43ATC5_cjs = require('./chunk-VZ43ATC5.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkHGSMFQH7_cjs = require('./chunk-HGSMFQH7.cjs');
|
|
5
5
|
var chunkXXF4U7WL_cjs = require('./chunk-XXF4U7WL.cjs');
|
|
6
6
|
var react = require('react');
|
|
7
7
|
var CodeMirror = require('@uiw/react-codemirror');
|
|
@@ -187,6 +187,6 @@ Object.defineProperty(exports, "FileTreeEditor", {
|
|
|
187
187
|
});
|
|
188
188
|
Object.defineProperty(exports, "AgentIdentityTab", {
|
|
189
189
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
190
|
+
get: function () { return chunkHGSMFQH7_cjs.AgentIdentityTab; }
|
|
191
191
|
});
|
|
192
192
|
exports.PluginEditorPage = PluginEditorPage;
|
package/dist/editor.d.cts
CHANGED
|
@@ -50,12 +50,8 @@ interface AgentIdentityTabProps {
|
|
|
50
50
|
onSave: (files: FlatFile[]) => Promise<void>;
|
|
51
51
|
title?: string;
|
|
52
52
|
saveLabel?: string;
|
|
53
|
-
addFolderLabel?: string;
|
|
54
|
-
newFileTemplate?: {
|
|
55
|
-
filename: string;
|
|
56
|
-
content: string;
|
|
57
|
-
};
|
|
58
53
|
savedVersion?: number;
|
|
54
|
+
fixedStructure?: boolean;
|
|
59
55
|
}>;
|
|
60
56
|
/** Called after a successful save so the host can refresh data. */
|
|
61
57
|
onSaved?: () => void;
|
package/dist/editor.d.ts
CHANGED
|
@@ -50,12 +50,8 @@ interface AgentIdentityTabProps {
|
|
|
50
50
|
onSave: (files: FlatFile[]) => Promise<void>;
|
|
51
51
|
title?: string;
|
|
52
52
|
saveLabel?: string;
|
|
53
|
-
addFolderLabel?: string;
|
|
54
|
-
newFileTemplate?: {
|
|
55
|
-
filename: string;
|
|
56
|
-
content: string;
|
|
57
|
-
};
|
|
58
53
|
savedVersion?: number;
|
|
54
|
+
fixedStructure?: boolean;
|
|
59
55
|
}>;
|
|
60
56
|
/** Called after a successful save so the host can refresh data. */
|
|
61
57
|
onSaved?: () => void;
|
package/dist/editor.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useApi, Skeleton, FileTreeEditor, Card, CardHeader, CardTitle, CardContent } from './chunk-CE2RHDPY.js';
|
|
2
2
|
export { FileTreeEditor } from './chunk-CE2RHDPY.js';
|
|
3
|
-
export { AgentIdentityTab } from './chunk-
|
|
3
|
+
export { AgentIdentityTab } from './chunk-WUTZ6WUU.js';
|
|
4
4
|
import { useNavigation, useAgentPlaneClient, Badge, Button } from './chunk-XFI227OB.js';
|
|
5
5
|
import { useState, useCallback } from 'react';
|
|
6
6
|
import CodeMirror from '@uiw/react-codemirror';
|
package/dist/index.cjs
CHANGED
|
@@ -3361,7 +3361,8 @@ function FileTreeEditor2({
|
|
|
3361
3361
|
saveLabel = "Save",
|
|
3362
3362
|
addFolderLabel = "Folder",
|
|
3363
3363
|
newFileTemplate = { filename: "SKILL.md", content: "---\nname: New Skill\ndescription: Describe when this skill should be triggered\n---\n\n# Instructions\n\nDescribe what this skill does...\n" },
|
|
3364
|
-
savedVersion
|
|
3364
|
+
savedVersion,
|
|
3365
|
+
fixedStructure = false
|
|
3365
3366
|
}) {
|
|
3366
3367
|
const [files, setFiles] = React.useState(initialFiles);
|
|
3367
3368
|
const [selectedPath, setSelectedPath] = React.useState(
|
|
@@ -3476,7 +3477,7 @@ function FileTreeEditor2({
|
|
|
3476
3477
|
node.name,
|
|
3477
3478
|
"/"
|
|
3478
3479
|
] }),
|
|
3479
|
-
!readOnly && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3480
|
+
!readOnly && !fixedStructure && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3480
3481
|
"button",
|
|
3481
3482
|
{
|
|
3482
3483
|
onClick: (e) => {
|
|
@@ -3502,7 +3503,7 @@ function FileTreeEditor2({
|
|
|
3502
3503
|
onClick: () => setSelectedPath(file.path),
|
|
3503
3504
|
children: [
|
|
3504
3505
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs truncate", children: fileName }),
|
|
3505
|
-
!readOnly && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3506
|
+
!readOnly && !fixedStructure && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3506
3507
|
"button",
|
|
3507
3508
|
{
|
|
3508
3509
|
onClick: (e) => {
|
|
@@ -3518,7 +3519,7 @@ function FileTreeEditor2({
|
|
|
3518
3519
|
file.path
|
|
3519
3520
|
);
|
|
3520
3521
|
}),
|
|
3521
|
-
!readOnly && /* @__PURE__ */ jsxRuntime.jsx("div", { style: { paddingLeft: `${(depth + 1) * 16 + 8}px` }, className: "py-1 pr-2", children: addingFileInDir === node.fullPath ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-1", children: [
|
|
3522
|
+
!readOnly && !fixedStructure && /* @__PURE__ */ jsxRuntime.jsx("div", { style: { paddingLeft: `${(depth + 1) * 16 + 8}px` }, className: "py-1 pr-2", children: addingFileInDir === node.fullPath ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-1", children: [
|
|
3522
3523
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3523
3524
|
chunkXXF4U7WL_cjs.Input,
|
|
3524
3525
|
{
|
|
@@ -3558,7 +3559,7 @@ function FileTreeEditor2({
|
|
|
3558
3559
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-64 shrink-0 border border-border rounded-md overflow-hidden", children: [
|
|
3559
3560
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-2 bg-muted/50 border-b border-border flex items-center justify-between", children: [
|
|
3560
3561
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-medium text-muted-foreground", children: title }),
|
|
3561
|
-
!readOnly && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3562
|
+
!readOnly && !fixedStructure && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3562
3563
|
"button",
|
|
3563
3564
|
{
|
|
3564
3565
|
onClick: () => setShowAddFolder(!showAddFolder),
|
|
@@ -3570,7 +3571,7 @@ function FileTreeEditor2({
|
|
|
3570
3571
|
}
|
|
3571
3572
|
)
|
|
3572
3573
|
] }),
|
|
3573
|
-
showAddFolder && !readOnly && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-2 border-b border-border flex gap-1", children: [
|
|
3574
|
+
showAddFolder && !readOnly && !fixedStructure && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-2 border-b border-border flex gap-1", children: [
|
|
3574
3575
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3575
3576
|
chunkXXF4U7WL_cjs.Input,
|
|
3576
3577
|
{
|
|
@@ -3593,7 +3594,7 @@ function FileTreeEditor2({
|
|
|
3593
3594
|
onClick: () => setSelectedPath(file.path),
|
|
3594
3595
|
children: [
|
|
3595
3596
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs truncate", children: file.path }),
|
|
3596
|
-
!readOnly && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3597
|
+
!readOnly && !fixedStructure && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3597
3598
|
"button",
|
|
3598
3599
|
{
|
|
3599
3600
|
onClick: (e) => {
|
|
@@ -4069,7 +4070,7 @@ function AgentA2aInfo({
|
|
|
4069
4070
|
] })
|
|
4070
4071
|
] });
|
|
4071
4072
|
}
|
|
4072
|
-
var AgentIdentityTab = React.lazy(() => import('./agent-identity-tab-
|
|
4073
|
+
var AgentIdentityTab = React.lazy(() => import('./agent-identity-tab-YGMVWOWT.cjs').then((m) => ({ default: m.AgentIdentityTab })));
|
|
4073
4074
|
function AgentDetailPage({ agentId, a2aBaseUrl, tenantSlug, adminApiBaseUrl, adminApiKey }) {
|
|
4074
4075
|
const { LinkComponent, basePath } = chunkXXF4U7WL_cjs.useNavigation();
|
|
4075
4076
|
const { mutate } = swr.useSWRConfig();
|
package/dist/index.js
CHANGED
|
@@ -3337,7 +3337,8 @@ function FileTreeEditor2({
|
|
|
3337
3337
|
saveLabel = "Save",
|
|
3338
3338
|
addFolderLabel = "Folder",
|
|
3339
3339
|
newFileTemplate = { filename: "SKILL.md", content: "---\nname: New Skill\ndescription: Describe when this skill should be triggered\n---\n\n# Instructions\n\nDescribe what this skill does...\n" },
|
|
3340
|
-
savedVersion
|
|
3340
|
+
savedVersion,
|
|
3341
|
+
fixedStructure = false
|
|
3341
3342
|
}) {
|
|
3342
3343
|
const [files, setFiles] = useState(initialFiles);
|
|
3343
3344
|
const [selectedPath, setSelectedPath] = useState(
|
|
@@ -3452,7 +3453,7 @@ function FileTreeEditor2({
|
|
|
3452
3453
|
node.name,
|
|
3453
3454
|
"/"
|
|
3454
3455
|
] }),
|
|
3455
|
-
!readOnly && /* @__PURE__ */ jsx(
|
|
3456
|
+
!readOnly && !fixedStructure && /* @__PURE__ */ jsx(
|
|
3456
3457
|
"button",
|
|
3457
3458
|
{
|
|
3458
3459
|
onClick: (e) => {
|
|
@@ -3478,7 +3479,7 @@ function FileTreeEditor2({
|
|
|
3478
3479
|
onClick: () => setSelectedPath(file.path),
|
|
3479
3480
|
children: [
|
|
3480
3481
|
/* @__PURE__ */ jsx("span", { className: "text-xs truncate", children: fileName }),
|
|
3481
|
-
!readOnly && /* @__PURE__ */ jsx(
|
|
3482
|
+
!readOnly && !fixedStructure && /* @__PURE__ */ jsx(
|
|
3482
3483
|
"button",
|
|
3483
3484
|
{
|
|
3484
3485
|
onClick: (e) => {
|
|
@@ -3494,7 +3495,7 @@ function FileTreeEditor2({
|
|
|
3494
3495
|
file.path
|
|
3495
3496
|
);
|
|
3496
3497
|
}),
|
|
3497
|
-
!readOnly && /* @__PURE__ */ jsx("div", { style: { paddingLeft: `${(depth + 1) * 16 + 8}px` }, className: "py-1 pr-2", children: addingFileInDir === node.fullPath ? /* @__PURE__ */ jsxs("div", { className: "flex gap-1", children: [
|
|
3498
|
+
!readOnly && !fixedStructure && /* @__PURE__ */ jsx("div", { style: { paddingLeft: `${(depth + 1) * 16 + 8}px` }, className: "py-1 pr-2", children: addingFileInDir === node.fullPath ? /* @__PURE__ */ jsxs("div", { className: "flex gap-1", children: [
|
|
3498
3499
|
/* @__PURE__ */ jsx(
|
|
3499
3500
|
Input,
|
|
3500
3501
|
{
|
|
@@ -3534,7 +3535,7 @@ function FileTreeEditor2({
|
|
|
3534
3535
|
/* @__PURE__ */ jsxs("div", { className: "w-64 shrink-0 border border-border rounded-md overflow-hidden", children: [
|
|
3535
3536
|
/* @__PURE__ */ jsxs("div", { className: "p-2 bg-muted/50 border-b border-border flex items-center justify-between", children: [
|
|
3536
3537
|
/* @__PURE__ */ jsx("span", { className: "text-xs font-medium text-muted-foreground", children: title }),
|
|
3537
|
-
!readOnly && /* @__PURE__ */ jsxs(
|
|
3538
|
+
!readOnly && !fixedStructure && /* @__PURE__ */ jsxs(
|
|
3538
3539
|
"button",
|
|
3539
3540
|
{
|
|
3540
3541
|
onClick: () => setShowAddFolder(!showAddFolder),
|
|
@@ -3546,7 +3547,7 @@ function FileTreeEditor2({
|
|
|
3546
3547
|
}
|
|
3547
3548
|
)
|
|
3548
3549
|
] }),
|
|
3549
|
-
showAddFolder && !readOnly && /* @__PURE__ */ jsxs("div", { className: "p-2 border-b border-border flex gap-1", children: [
|
|
3550
|
+
showAddFolder && !readOnly && !fixedStructure && /* @__PURE__ */ jsxs("div", { className: "p-2 border-b border-border flex gap-1", children: [
|
|
3550
3551
|
/* @__PURE__ */ jsx(
|
|
3551
3552
|
Input,
|
|
3552
3553
|
{
|
|
@@ -3569,7 +3570,7 @@ function FileTreeEditor2({
|
|
|
3569
3570
|
onClick: () => setSelectedPath(file.path),
|
|
3570
3571
|
children: [
|
|
3571
3572
|
/* @__PURE__ */ jsx("span", { className: "text-xs truncate", children: file.path }),
|
|
3572
|
-
!readOnly && /* @__PURE__ */ jsx(
|
|
3573
|
+
!readOnly && !fixedStructure && /* @__PURE__ */ jsx(
|
|
3573
3574
|
"button",
|
|
3574
3575
|
{
|
|
3575
3576
|
onClick: (e) => {
|
|
@@ -4045,7 +4046,7 @@ function AgentA2aInfo({
|
|
|
4045
4046
|
] })
|
|
4046
4047
|
] });
|
|
4047
4048
|
}
|
|
4048
|
-
var AgentIdentityTab = lazy(() => import('./agent-identity-tab-
|
|
4049
|
+
var AgentIdentityTab = lazy(() => import('./agent-identity-tab-BP5MPDYZ.js').then((m) => ({ default: m.AgentIdentityTab })));
|
|
4049
4050
|
function AgentDetailPage({ agentId, a2aBaseUrl, tenantSlug, adminApiBaseUrl, adminApiKey }) {
|
|
4050
4051
|
const { LinkComponent, basePath } = useNavigation();
|
|
4051
4052
|
const { mutate } = useSWRConfig();
|
package/package.json
CHANGED