@getcatalystiq/agent-plane-ui 0.1.21 → 0.1.22

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.
@@ -0,0 +1,2 @@
1
+ export { AgentIdentityTab } from './chunk-NR6H3SCV.js';
2
+ import './chunk-XFI227OB.js';
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkCHJL4MZI_cjs = require('./chunk-CHJL4MZI.cjs');
3
+ var chunkTHVPNZMJ_cjs = require('./chunk-THVPNZMJ.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 chunkCHJL4MZI_cjs.AgentIdentityTab; }
10
+ get: function () { return chunkTHVPNZMJ_cjs.AgentIdentityTab; }
11
11
  });
@@ -72,12 +72,11 @@ function AgentIdentityTab({
72
72
  const newFiles = [];
73
73
  for (const { path, field } of FILE_MAP) {
74
74
  const content = responseFiles[field] ?? responseFiles[path];
75
- if (content) {
76
- newFiles.push({ path, content });
77
- }
75
+ newFiles.push({ path, content: content ?? "" });
78
76
  }
79
77
  if (newFiles.length > 0) {
80
78
  setOverrideFiles(newFiles);
79
+ setSavedVersion((v) => v + 1);
81
80
  }
82
81
  }
83
82
  async function handleGenerate() {
@@ -74,12 +74,11 @@ function AgentIdentityTab({
74
74
  const newFiles = [];
75
75
  for (const { path, field } of FILE_MAP) {
76
76
  const content = responseFiles[field] ?? responseFiles[path];
77
- if (content) {
78
- newFiles.push({ path, content });
79
- }
77
+ newFiles.push({ path, content: content ?? "" });
80
78
  }
81
79
  if (newFiles.length > 0) {
82
80
  setOverrideFiles(newFiles);
81
+ setSavedVersion((v) => v + 1);
83
82
  }
84
83
  }
85
84
  async function handleGenerate() {
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 chunkCHJL4MZI_cjs = require('./chunk-CHJL4MZI.cjs');
4
+ var chunkTHVPNZMJ_cjs = require('./chunk-THVPNZMJ.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 chunkCHJL4MZI_cjs.AgentIdentityTab; }
190
+ get: function () { return chunkTHVPNZMJ_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-L45SI32F.js';
3
+ export { AgentIdentityTab } from './chunk-NR6H3SCV.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-F4MU2HP2.cjs').then((m) => ({ default: m.AgentIdentityTab })));
4072
+ var AgentIdentityTab = React.lazy(() => import('./agent-identity-tab-ZEY7EW5C.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-ETPM6LQN.js').then((m) => ({ default: m.AgentIdentityTab })));
4048
+ var AgentIdentityTab = lazy(() => import('./agent-identity-tab-YC6A7UMA.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.21",
3
+ "version": "0.1.22",
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-L45SI32F.js';
2
- import './chunk-XFI227OB.js';