@tangle-network/agent-app 0.58.2 → 0.58.3

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,9 +1,17 @@
1
1
  import type { AgentProfile } from '@tangle-network/agent-interface/profile';
2
2
  import type { AgentProfileRegistryPort } from './agent-profile-registry';
3
3
  export type AgentProfileResourceKind = 'files' | 'skills' | 'tools' | 'agents' | 'commands' | 'instructions';
4
+ export interface AgentProfileEditorSaveState {
5
+ /** Internal JSON, resource, or tool edits have not been applied to the profile. */
6
+ pending: boolean;
7
+ /** Validation failed or stored values violate this editor's constraints. */
8
+ invalid: boolean;
9
+ }
4
10
  export interface AgentProfileEditorProps {
5
11
  value: AgentProfile;
6
12
  onChange: (value: AgentProfile) => void;
13
+ /** Disable the host's save action while edits are pending or invalid. */
14
+ onSaveStateChange?: (state: AgentProfileEditorSaveState) => void;
7
15
  disabled?: boolean;
8
16
  className?: string;
9
17
  /** Hide unsupported resource controls. Existing entries remain in the profile and are flagged for review. */
@@ -24,4 +32,4 @@ export interface AgentProfileEditorProps {
24
32
  registry?: AgentProfileRegistryPort;
25
33
  }
26
34
  /** Controlled editor for the canonical profile. The product owns save and execution authority. */
27
- export declare function AgentProfileEditor({ value, onChange, disabled, className, allowedResourceKinds, filePathPrefix, allowExecutableFiles, requireGitHubCommitSha, requireUniqueSkillNames, showToolsAndPermissions, publicHttpsMcpOnly, registry }: AgentProfileEditorProps): import("react").JSX.Element;
35
+ export declare function AgentProfileEditor({ value, onChange, disabled, className, allowedResourceKinds, filePathPrefix, allowExecutableFiles, requireGitHubCommitSha, requireUniqueSkillNames, showToolsAndPermissions, publicHttpsMcpOnly, registry, onSaveStateChange }: AgentProfileEditorProps): import("react").JSX.Element;
@@ -134,7 +134,7 @@ import {
134
134
  withoutRecordGridCreated,
135
135
  withoutRecordGridRemoved,
136
136
  withoutRecordGridUpdate
137
- } from "../chunk-E2HFIKIZ.js";
137
+ } from "../chunk-OHRL6TO3.js";
138
138
  import {
139
139
  SessionHistoryPanel,
140
140
  formatSessionTimestamp,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-app",
3
- "version": "0.58.2",
3
+ "version": "0.58.3",
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": [
@@ -600,17 +600,17 @@
600
600
  "@storybook/react-vite": "^10.5.10",
601
601
  "@tailwindcss/postcss": "^4.3.3",
602
602
  "@tangle-network/agent-docs": "0.2.1",
603
- "@tangle-network/agent-eval": "0.205.1",
603
+ "@tangle-network/agent-eval": "0.209.1",
604
604
  "@tangle-network/agent-gateway": "0.11.4",
605
- "@tangle-network/agent-integrations": "0.60.0",
606
- "@tangle-network/agent-interface": "2.17.0",
607
- "@tangle-network/agent-knowledge": "19.0.1",
608
- "@tangle-network/agent-profile-materialize": "0.20.1",
609
- "@tangle-network/agent-runtime": "0.293.0",
605
+ "@tangle-network/agent-integrations": "0.67.0",
606
+ "@tangle-network/agent-interface": "3.1.1",
607
+ "@tangle-network/agent-knowledge": "20.0.0",
608
+ "@tangle-network/agent-profile-materialize": "0.21.0",
609
+ "@tangle-network/agent-runtime": "0.308.0",
610
610
  "@tangle-network/brand": "1.17.0",
611
- "@tangle-network/hub-sdk": "0.24.0",
612
- "@tangle-network/sandbox": "0.60.10",
613
- "@tangle-network/sandbox-ui": "0.128.1",
611
+ "@tangle-network/hub-sdk": "0.27.0",
612
+ "@tangle-network/sandbox": "0.60.22",
613
+ "@tangle-network/sandbox-ui": "0.128.2",
614
614
  "@tangle-network/ui": "11.26.0",
615
615
  "@testing-library/dom": "^10.4.1",
616
616
  "@testing-library/react": "^16.3.3",
@@ -672,14 +672,14 @@
672
672
  "@better-auth/oauth-provider": ">=1.7.2",
673
673
  "@firecrawl/pdf-inspector-wasm": ">=0.1.3",
674
674
  "@huggingface/transformers": ">=3",
675
- "@tangle-network/agent-eval": ">=0.199.0 <0.205.0 || >=0.205.1 <0.206.0",
676
- "@tangle-network/agent-integrations": ">=0.54.2 <0.58.0 || >=0.59.0 <0.61.0",
675
+ "@tangle-network/agent-eval": ">=0.199.0 <0.205.0 || >=0.205.1 <0.206.0 || >=0.209.1 <0.210.0",
676
+ "@tangle-network/agent-integrations": ">=0.54.2 <0.58.0 || >=0.59.0 <0.61.0 || >=0.66.0 <0.67.0 || >=0.67.0 <0.68.0",
677
677
  "@tangle-network/agent-interface": "^2.13.0 || ^3.0.0",
678
- "@tangle-network/agent-knowledge": "^17.1.2 || ^18.0.0 || ^19.0.1",
678
+ "@tangle-network/agent-knowledge": "^17.1.2 || ^18.0.0 || ^19.0.1 || ^20.0.0",
679
679
  "@tangle-network/agent-profile-materialize": ">=0.20.1 <0.21.0 || >=0.21.0 <0.22.0",
680
- "@tangle-network/agent-runtime": ">=0.282.2 <0.284.0 || >=0.285.0 <0.286.0 || >=0.289.1 <0.290.0 || >=0.291.0 <0.292.0 || >=0.293.0 <0.294.0",
680
+ "@tangle-network/agent-runtime": ">=0.282.2 <0.284.0 || >=0.285.0 <0.286.0 || >=0.289.1 <0.290.0 || >=0.291.0 <0.292.0 || >=0.293.0 <0.294.0 || >=0.308.0 <0.309.0",
681
681
  "@tangle-network/brand": ">=1.6.0",
682
- "@tangle-network/hub-sdk": ">=0.19.3 <0.21.0 || >=0.21.0 <0.22.0 || >=0.22.1 <0.25.0",
682
+ "@tangle-network/hub-sdk": ">=0.19.3 <0.21.0 || >=0.21.0 <0.22.0 || >=0.22.1 <0.25.0 || >=0.27.0 <0.28.0",
683
683
  "@tangle-network/sandbox": ">=0.45.0 <0.48.0 || ^0.49.0 || ^0.50.0 || ^0.51.0 || ^0.52.0 || ^0.53.0 || ^0.54.0 || ^0.55.0 || >=0.58.1 <0.60.0 || >=0.60.3 <0.61.0",
684
684
  "@tangle-network/sandbox-ui": ">=0.117.0 <0.118.0 || >=0.119.0 <0.129.0",
685
685
  "@tangle-network/ui": ">=11.25.0 <12.0.0",