Skip to content

Commit 1e3455a

Browse files
authored
Merge pull request #206 from badaitech/rel/v0.2.8
Combine PR's to v0.2.8 release
2 parents 777bf94 + 4255764 commit 1e3455a

84 files changed

Lines changed: 7283 additions & 938 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/chaingraph-backend/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @badaitech/chaingraph-backend
22

3+
## 0.2.8
4+
5+
### Patch Changes
6+
7+
- Release 0.2.8
8+
- Updated dependencies
9+
- @badaitech/chaingraph-nodes@0.2.8
10+
- @badaitech/chaingraph-types@0.2.8
11+
- @badaitech/chaingraph-trpc@0.2.8
12+
313
## 0.2.7
414

515
### Patch Changes

apps/chaingraph-backend/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@badaitech/chaingraph-backend",
33
"type": "module",
4-
"version": "0.2.7",
4+
"version": "0.2.8",
55
"private": false,
66
"description": "Backend server for the Chaingraph project",
77
"license": "BUSL-1.1",
@@ -37,10 +37,10 @@
3737
"@types/ws": "^8.18.1",
3838
"bigint-crypto-utils": "^3.3.0",
3939
"cors": "^2.8.5",
40-
"dotenv": "^16.4.7",
40+
"dotenv": "^16.5.0",
4141
"esm": "^3.2.25",
4242
"superjson": "^2.2.2",
43-
"ws": "^8.18.1",
43+
"ws": "^8.18.2",
4444
"yaml": "^2.8.0"
4545
},
4646
"devDependencies": {

apps/chaingraph-frontend/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# @badaitech/chaingraph-frontend
22

3+
## 0.2.8
4+
5+
### Patch Changes
6+
7+
- Release 0.2.8
8+
- Updated dependencies
9+
- @badaitech/chaingraph-nodes@0.2.8
10+
- @badaitech/chaingraph-types@0.2.8
11+
- @badaitech/chaingraph-trpc@0.2.8
12+
- @badaitech/badai-api@0.2.8
13+
314
## 0.2.7
415

516
### Patch Changes

apps/chaingraph-frontend/package.json

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@badaitech/chaingraph-frontend",
33
"type": "module",
4-
"version": "0.2.7",
4+
"version": "0.2.8",
55
"private": false,
66
"description": "Frontend application for the Chaingraph project",
77
"license": "BUSL-1.1",
@@ -82,14 +82,15 @@
8282
"@radix-ui/react-tabs": "^1.1.3",
8383
"@radix-ui/react-tooltip": "^1.1.8",
8484
"@radix-ui/themes": "^3.2.1",
85-
"@tanstack/react-query": "^5.67.1",
86-
"@trpc/client": "11.1.0",
87-
"@trpc/react-query": "11.1.0",
88-
"@trpc/server": "11.1.0",
89-
"@trpc/tanstack-react-query": "^11.1.0",
85+
"@tanstack/react-query": "^5.80.3",
86+
"@tanstack/react-query-devtools": "^5.80.3",
87+
"@trpc/client": "^11.4.2",
88+
"@trpc/react-query": "^11.4.2",
89+
"@trpc/server": "^11.4.2",
90+
"@trpc/tanstack-react-query": "^11.4.2",
9091
"@types/color": "^4.2.0",
91-
"@xyflow/react": "^12.6.4",
92-
"@xyflow/system": "^0.0.61",
92+
"@xyflow/react": "^12.7.1",
93+
"@xyflow/system": "^0.0.63",
9394
"add": "^2.0.6",
9495
"ahooks": "^3.8.4",
9596
"class-variance-authority": "^0.7.1",
@@ -99,8 +100,8 @@
99100
"date-fns": "^4.1.0",
100101
"effector": "^23.3.0",
101102
"effector-react": "^23.3.0",
102-
"framer-motion": "^12.6.3",
103-
"lucide-react": "^0.487.0",
103+
"framer-motion": "^12.19.1",
104+
"lucide-react": "^0.523.0",
104105
"patronum": "^2.3.0",
105106
"react": "^19.1.0",
106107
"react-color": "^2.19.3",
@@ -113,6 +114,8 @@
113114
"superjson": "^2.2.2",
114115
"tailwind-merge": "^3.2.0",
115116
"tailwindcss-animate": "^1.0.7",
117+
"viem": "^2.31.3",
118+
"wagmi": "^2.15.6",
116119
"yaml": "^2.8.0",
117120
"zod-to-json-schema": "^3.24.5"
118121
},

apps/chaingraph-frontend/src/FlowLayout.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ export function FlowLayout() {
2424
navigate(`/flow/${flowId}`)
2525
}}
2626
/>
27-
<div className="flex-1">
27+
<div className="flex-1 relative">
2828
<Flow />
29+
<div className="absolute top-4 right-4">
30+
<ThemeToggle />
31+
</div>
2932
</div>
30-
<ThemeToggle />
3133
</div>
3234
)
3335
}

apps/chaingraph-frontend/src/components/flow/components/control-panel/FlowControlPanel.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import {
2626
toggleDebugMode,
2727
} from '@/store/execution'
2828
import { $activeFlowMetadata } from '@/store/flow'
29+
import { getWalletContextForExecution } from '@/store/wallet'
2930
import { PlayIcon, ReloadIcon, StopIcon } from '@radix-ui/react-icons'
3031
import { useUnit } from 'effector-react'
3132
import { AnimatePresence, motion } from 'framer-motion'
@@ -57,11 +58,15 @@ export function FlowControlPanel({ className }: FlowControlPanelProps) {
5758
}
5859
: undefined
5960

61+
// Get wallet context
62+
const walletContext = getWalletContextForExecution()
63+
6064
// Create new execution
6165
createExecution({
6266
flowId: activeFlow.id,
6367
debug: debugMode,
6468
archAIIntegration,
69+
walletIntegration: walletContext,
6570
})
6671
} else if (executionStatus === ExecutionStatus.CREATED) {
6772
// Start newly created execution

apps/chaingraph-frontend/src/components/sidebar/Sidebar.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ import {
2424
Share1Icon,
2525
ValueIcon,
2626
} from '@radix-ui/react-icons'
27-
import { Bug, FileJson, GitBranch, LayersIcon, Scroll } from 'lucide-react'
27+
import { Bug, FileJson, GitBranch, LayersIcon, Scroll, Wallet } from 'lucide-react'
2828
import { useEffect, useRef, useState } from 'react'
2929
import { ArchAIIntegration } from './tabs/archai-integration'
3030
import { Help } from './tabs/Help'
3131
import { Settings } from './tabs/Settings'
3232
import { VariableList } from './tabs/VariableList'
33+
import { WalletIntegration } from './tabs/wallet-integration'
3334

3435
// Constants для localStorage остаются те же
3536
const STORAGE_KEYS = {
@@ -38,7 +39,7 @@ const STORAGE_KEYS = {
3839
WIDTH: 'sidebar-width',
3940
} as const
4041

41-
export type tabsType = 'flows' | 'nodes' | 'events' | 'variables' | 'debug' | 'settings' | 'help' | 'archai' | 'executions' | 'export-import'
42+
export type tabsType = 'flows' | 'nodes' | 'events' | 'variables' | 'debug' | 'settings' | 'help' | 'archai' | 'wallet' | 'executions' | 'export-import'
4243

4344
const defaultEnabledTabs: tabsType[] = [
4445
'flows',
@@ -48,6 +49,7 @@ const defaultEnabledTabs: tabsType[] = [
4849
'executions',
4950
'debug',
5051
'archai',
52+
'wallet',
5153
'export-import',
5254
// 'settings',
5355
// 'help',
@@ -124,6 +126,12 @@ export function Sidebar({
124126
label: 'ArchAI Integration',
125127
content: <ArchAIIntegration />,
126128
},
129+
'wallet': {
130+
id: 'wallet',
131+
icon: <Wallet />,
132+
label: 'Wallet',
133+
content: <WalletIntegration />,
134+
},
127135
'settings': {
128136
id: 'settings',
129137
icon: <GearIcon />,

0 commit comments

Comments
 (0)