@getcatalystiq/agent-plane-ui 0.1.22 → 0.1.23

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.
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkTHVPNZMJ_cjs = require('./chunk-THVPNZMJ.cjs');
3
+ var chunkNLED4YEY_cjs = require('./chunk-NLED4YEY.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 chunkTHVPNZMJ_cjs.AgentIdentityTab; }
10
+ get: function () { return chunkNLED4YEY_cjs.AgentIdentityTab; }
11
11
  });
@@ -0,0 +1,2 @@
1
+ export { AgentIdentityTab } from './chunk-QXTNBR6E.js';
2
+ import './chunk-XFI227OB.js';
@@ -141,34 +141,58 @@ function AgentIdentityTab({
141
141
  warnings.push("IDENTITY.md is empty -- consider adding behavioral traits");
142
142
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
143
143
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
144
- onGenerateSoul && /* @__PURE__ */ jsxRuntime.jsx(
144
+ onGenerateSoul && /* @__PURE__ */ jsxRuntime.jsxs(
145
145
  chunkXXF4U7WL_cjs.Button,
146
146
  {
147
147
  variant: "outline",
148
148
  size: "sm",
149
149
  onClick: handleGenerate,
150
150
  disabled: generating,
151
- children: generating ? "Generating..." : "Generate Soul"
151
+ children: [
152
+ /* @__PURE__ */ jsxRuntime.jsx("svg", { className: "size-4 mr-1.5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m12 3-1.9 5.8a2 2 0 0 1-1.3 1.3L3 12l5.8 1.9a2 2 0 0 1 1.3 1.3L12 21l1.9-5.8a2 2 0 0 1 1.3-1.3L21 12l-5.8-1.9a2 2 0 0 1-1.3-1.3Z" }) }),
153
+ generating ? "Generating..." : "Generate Soul"
154
+ ]
152
155
  }
153
156
  ),
154
- onImportSoul && /* @__PURE__ */ jsxRuntime.jsx(
157
+ onImportSoul && /* @__PURE__ */ jsxRuntime.jsxs(
155
158
  chunkXXF4U7WL_cjs.Button,
156
159
  {
157
160
  variant: "outline",
158
161
  size: "sm",
159
162
  onClick: () => setImportOpen(true),
160
- children: "Import"
163
+ children: [
164
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: "size-4 mr-1.5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
165
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
166
+ /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "7 10 12 15 17 10" }),
167
+ /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "12", x2: "12", y1: "15", y2: "3" })
168
+ ] }),
169
+ "Import"
170
+ ]
161
171
  }
162
172
  ),
163
- onExportSoul && /* @__PURE__ */ jsxRuntime.jsx(chunkXXF4U7WL_cjs.Button, { variant: "outline", size: "sm", onClick: handleExport, children: "Export" }),
164
- onPublishSoul && /* @__PURE__ */ jsxRuntime.jsx(
173
+ onExportSoul && /* @__PURE__ */ jsxRuntime.jsxs(chunkXXF4U7WL_cjs.Button, { variant: "outline", size: "sm", onClick: handleExport, children: [
174
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: "size-4 mr-1.5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
175
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
176
+ /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "17 8 12 3 7 8" }),
177
+ /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "12", x2: "12", y1: "3", y2: "15" })
178
+ ] }),
179
+ "Export"
180
+ ] }),
181
+ onPublishSoul && /* @__PURE__ */ jsxRuntime.jsxs(
165
182
  chunkXXF4U7WL_cjs.Button,
166
183
  {
167
184
  variant: "outline",
168
185
  size: "sm",
169
186
  onClick: handlePublish,
170
187
  disabled: publishing,
171
- children: publishing ? "Publishing..." : "Publish"
188
+ children: [
189
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: "size-4 mr-1.5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
190
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10" }),
191
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" }),
192
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M2 12h20" })
193
+ ] }),
194
+ publishing ? "Publishing..." : "Publish"
195
+ ]
172
196
  }
173
197
  ),
174
198
  overrideFiles && /* @__PURE__ */ jsxRuntime.jsx(chunkXXF4U7WL_cjs.Badge, { variant: "destructive", className: "text-xs", children: "Unsaved generated content" })
@@ -139,34 +139,58 @@ function AgentIdentityTab({
139
139
  warnings.push("IDENTITY.md is empty -- consider adding behavioral traits");
140
140
  return /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
141
141
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
142
- onGenerateSoul && /* @__PURE__ */ jsx(
142
+ onGenerateSoul && /* @__PURE__ */ jsxs(
143
143
  Button,
144
144
  {
145
145
  variant: "outline",
146
146
  size: "sm",
147
147
  onClick: handleGenerate,
148
148
  disabled: generating,
149
- children: generating ? "Generating..." : "Generate Soul"
149
+ children: [
150
+ /* @__PURE__ */ jsx("svg", { className: "size-4 mr-1.5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "m12 3-1.9 5.8a2 2 0 0 1-1.3 1.3L3 12l5.8 1.9a2 2 0 0 1 1.3 1.3L12 21l1.9-5.8a2 2 0 0 1 1.3-1.3L21 12l-5.8-1.9a2 2 0 0 1-1.3-1.3Z" }) }),
151
+ generating ? "Generating..." : "Generate Soul"
152
+ ]
150
153
  }
151
154
  ),
152
- onImportSoul && /* @__PURE__ */ jsx(
155
+ onImportSoul && /* @__PURE__ */ jsxs(
153
156
  Button,
154
157
  {
155
158
  variant: "outline",
156
159
  size: "sm",
157
160
  onClick: () => setImportOpen(true),
158
- children: "Import"
161
+ children: [
162
+ /* @__PURE__ */ jsxs("svg", { className: "size-4 mr-1.5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
163
+ /* @__PURE__ */ jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
164
+ /* @__PURE__ */ jsx("polyline", { points: "7 10 12 15 17 10" }),
165
+ /* @__PURE__ */ jsx("line", { x1: "12", x2: "12", y1: "15", y2: "3" })
166
+ ] }),
167
+ "Import"
168
+ ]
159
169
  }
160
170
  ),
161
- onExportSoul && /* @__PURE__ */ jsx(Button, { variant: "outline", size: "sm", onClick: handleExport, children: "Export" }),
162
- onPublishSoul && /* @__PURE__ */ jsx(
171
+ onExportSoul && /* @__PURE__ */ jsxs(Button, { variant: "outline", size: "sm", onClick: handleExport, children: [
172
+ /* @__PURE__ */ jsxs("svg", { className: "size-4 mr-1.5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
173
+ /* @__PURE__ */ jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
174
+ /* @__PURE__ */ jsx("polyline", { points: "17 8 12 3 7 8" }),
175
+ /* @__PURE__ */ jsx("line", { x1: "12", x2: "12", y1: "3", y2: "15" })
176
+ ] }),
177
+ "Export"
178
+ ] }),
179
+ onPublishSoul && /* @__PURE__ */ jsxs(
163
180
  Button,
164
181
  {
165
182
  variant: "outline",
166
183
  size: "sm",
167
184
  onClick: handlePublish,
168
185
  disabled: publishing,
169
- children: publishing ? "Publishing..." : "Publish"
186
+ children: [
187
+ /* @__PURE__ */ jsxs("svg", { className: "size-4 mr-1.5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
188
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
189
+ /* @__PURE__ */ jsx("path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" }),
190
+ /* @__PURE__ */ jsx("path", { d: "M2 12h20" })
191
+ ] }),
192
+ publishing ? "Publishing..." : "Publish"
193
+ ]
170
194
  }
171
195
  ),
172
196
  overrideFiles && /* @__PURE__ */ jsx(Badge, { variant: "destructive", className: "text-xs", children: "Unsaved generated content" })
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 chunkTHVPNZMJ_cjs = require('./chunk-THVPNZMJ.cjs');
4
+ var chunkNLED4YEY_cjs = require('./chunk-NLED4YEY.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 chunkTHVPNZMJ_cjs.AgentIdentityTab; }
190
+ get: function () { return chunkNLED4YEY_cjs.AgentIdentityTab; }
191
191
  });
192
192
  exports.PluginEditorPage = PluginEditorPage;
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-NR6H3SCV.js';
3
+ export { AgentIdentityTab } from './chunk-QXTNBR6E.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
@@ -4069,7 +4069,7 @@ function AgentA2aInfo({
4069
4069
  ] })
4070
4070
  ] });
4071
4071
  }
4072
- var AgentIdentityTab = React.lazy(() => import('./agent-identity-tab-ZEY7EW5C.cjs').then((m) => ({ default: m.AgentIdentityTab })));
4072
+ var AgentIdentityTab = React.lazy(() => import('./agent-identity-tab-3ERMWHVJ.cjs').then((m) => ({ default: m.AgentIdentityTab })));
4073
4073
  function AgentDetailPage({ agentId, a2aBaseUrl, tenantSlug, adminApiBaseUrl, adminApiKey }) {
4074
4074
  const { LinkComponent, basePath } = chunkXXF4U7WL_cjs.useNavigation();
4075
4075
  const { mutate } = swr.useSWRConfig();
package/dist/index.js CHANGED
@@ -4045,7 +4045,7 @@ function AgentA2aInfo({
4045
4045
  ] })
4046
4046
  ] });
4047
4047
  }
4048
- var AgentIdentityTab = lazy(() => import('./agent-identity-tab-YC6A7UMA.js').then((m) => ({ default: m.AgentIdentityTab })));
4048
+ var AgentIdentityTab = lazy(() => import('./agent-identity-tab-G62JP5VR.js').then((m) => ({ default: m.AgentIdentityTab })));
4049
4049
  function AgentDetailPage({ agentId, a2aBaseUrl, tenantSlug, adminApiBaseUrl, adminApiKey }) {
4050
4050
  const { LinkComponent, basePath } = useNavigation();
4051
4051
  const { mutate } = useSWRConfig();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getcatalystiq/agent-plane-ui",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "description": "Embeddable React component library for AgentPlane",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,2 +0,0 @@
1
- export { AgentIdentityTab } from './chunk-NR6H3SCV.js';
2
- import './chunk-XFI227OB.js';