Waleed
05bbf34265
improvement(canvas): add multi-block select, add batch handle, enabled, and edge operations ( #2738 )
...
* improvement(canvas): add multi-block select, add batch handle, enabled, and edge operations
* feat(i18n): update translations (#2732 )
Co-authored-by: icecrasher321 <icecrasher321@users.noreply.github.com >
* don't allow flip handles for subflows
* ack PR comments
* more
* fix missing handler
* remove dead subflow-specific ops
* remove unused code
* fixed subflow ops
* keep edges on subflow actions intact
* fix subflow resizing
* fix remove from subflow bulk
* improvement(canvas): add multi-block select, add batch handle, enabled, and edge operations
* don't allow flip handles for subflows
* ack PR comments
* more
* fix missing handler
* remove dead subflow-specific ops
* remove unused code
* fixed subflow ops
* fix subflow resizing
* keep edges on subflow actions intact
* fixed copy from inside subflow
* types improvement, preview fixes
* fetch varible data in deploy modal
* moved remove from subflow one position to the right
* fix subflow issues
* address greptile comment
* fix test
* improvement(preview): ui/ux
* fix(preview): subflows
* added batch add edges
* removed recovery
* use consolidated consts for sockets operations
* more
---------
Co-authored-by: icecrasher321 <icecrasher321@users.noreply.github.com >
Co-authored-by: Vikhyath Mondreti <vikhyath@simstudio.ai >
Co-authored-by: Emir Karabeg <emirkarabeg@berkeley.edu >
2026-01-09 14:48:23 -08:00
Waleed
d707d18ee6
fix(build): update dockerfile to contain testing package deps ( #2591 )
...
* fix(build): update dockerfile to contain testing package deps
* added logger package
2025-12-26 12:20:38 -08:00
Waleed
37443a7b77
improvement(kb): improve chunkers, respect user-specified chunk configurations, added tests ( #2539 )
...
* improvement(kb): improve chunkers, respect user-specified chunk configurations, added tests
* ack PR commnets
* updated docs
* cleanup
2025-12-22 20:47:29 -08:00
Waleed
95b9ca4670
feat(registration): allow self-hosted users to disable registration altogether ( #2365 )
...
* feat(registration): allow self-hosted users to disable registration altogether
* updated tests
* fix build
2025-12-13 17:34:53 -08:00
Waleed
41c068c023
improvement(lib): refactored lib/ to be more aligned with queries and api directory ( #2160 )
...
* fix(lib): consolidate into core dir in lib/
* refactored lib/
2025-12-02 14:17:41 -08:00
Siddharth Ganesan
ddd3219126
improvement(copilot): v0.2 ( #2086 )
...
* Edit workflow returns workflow
* Condense workflkow conosle
* Limit console results to 2
* mark checkoff v1
* Mark and checkoff todo
* Fixes
* Plan mode
* fix agent output
* broken
* Fixes
* Fix diff mode persist
* Fix diff coloring
* Undo/redo
* Checkpoint udno redo
* fix(templates): fix templates details page (#1942 )
* Fix template details
* Fix deps
* fix(templates-details): restore approval feature, and keep details UI consistent, smoothen out creation of profile (#1943 )
* fix(templates): view current ui
* update UI to be less cluttered
* make state management for creating user profile smoother
* fix autoselect logic
* fix lint
* fix(landing): need to propagate landing page copilot prompt (#1944 )
* fix(wand): subblocks should not be overwritten after wand gen (#1946 )
* fix(settings): fix broken api keys, help modal, logs, workflow renaming (#1945 )
* fix(settings): fix broken api keys, help modal, logs, workflow renaming
* fix build
* cleanup
* use emcn
* fix(files): changed file input value sample from string -> object (#1947 )
* improvement: usage-indicator UI (#1948 )
* fix(deploy): fix button (#1949 )
* fix(executor): consolidate execution hooks (#1950 )
* fix(autoconnect): should check if triggermode is set from the toolbar drag event directly (#1951 )
* improvement: templates styling (#1952 )
* improvement: template use button (#1954 )
* feat(newgifs): added new gifs (#1953 )
* new gifs
* changed wording
* changed wording
* lowercase
* changed wording
* remove blog stuff
---------
Co-authored-by: aadamgough <adam@sim.ai >
Co-authored-by: waleed <walif6@gmail.com >
* feat(drizzle): added ods for analytics from drizzle (#1956 )
* feat(drizzle): added ods for analytics from drizzle
* clean
* fix(sheets): file selector had incorrect provider (#1958 )
* feat(docs): added docs analytics drizzle ods (#1957 )
* feat(docs): added docs analytics drizzle ods
* fix build
* fix provider for docs selector (#1959 )
* fix(custom-tools): updates to legacy + copilot generated custom tools (#1960 )
* fix(custom-tools): updates to existing tools
* don't reorder custom tools in modal based on edit time
* restructure custom tools to persist copilot generated tools
* fix tests
* fix(slack): remove update message incorrect canonical param (#1964 )
* fix(slack): send message tool
* add logging
* add more logs
* add more logs
* fix canonical param
* improvement(templates): add share button, serve public templates routes for unauthenticated users and workspace one for authenticated users, improve settings style and organization (#1962 )
* improvement(templates): add share button, serve public templates routes for unauthenticated users and workspace one for authenticated users, improve settings style and organization
* fix lint
---------
Co-authored-by: Vikhyath Mondreti <vikhyath@simstudio.ai >
* fix(onedrive): incorrect canonical param (#1966 )
* fix(onedrive): incorrect canonical param
* fix download file
* fix
* fix
* Revert "fix"
This reverts commit f68ccd75fd .
* Revert "fix"
This reverts commit f3d8acee7d .
* fix(executor): streaming after tool calls (#1963 )
* Provider changes
* Fix lint
* fix(code): readd wand to code subblock (#1969 )
* fix(cmd-k): z-index + reoder tools, triggers (#1970 )
* fix(cmd-k): z-index + reoder tools, triggers
* fix more z-index styling
* fix(executor): streaming response format (#1972 )
* fix(workflow-block): fix redeploy header to not repeatedly show redeploy when redeploy is not necessary (#1973 )
* fix(workflow-block): fix redeploy header to not repeatedly show redeploy when redeploy is not necessary
* cleanup
* improvement(platform): chat, emcn, terminal, usage-limit (#1974 )
* improvement(usage-indicator): layout
* improvement: expand default terminal height
* fix: swap workflow block ports
* improvement: chat initial positioning
* improvement(chat): display; improvement(emcn): popover attributes
* fix lint
* feat(settings): added reactquery for settings, removed zustand stores, added apollo, added workflow block selector dropdown search, added add environment variable option to empty env var dropdown (#1971 )
* feat(settings): added reactquery for settings, removed zustand stores, added apollo, added workflow block selector dropdown search, added add environment variable option to empty env var dropdown
* fix delete dialog for copilot keys
* simplify combobox
* fix more z indices
* consolidated duplicate hooks
---------
Co-authored-by: Vikhyath Mondreti <vikhyath@simstudio.ai >
* fix(copilot-subflows): copilot-added subflows id mismatch (#1977 )
* feat(i18n): update translations (#1978 )
* feat(i18n): update translations
* fix build
---------
Co-authored-by: waleedlatif1 <waleedlatif1@users.noreply.github.com >
* fix(logs): show block inputs (#1979 )
* Fix executor lgos block inputs
* Fix Comment
* fix(onedrive): parse array values correctly (#1981 )
* fix(onedrive): parse array values correctly
* fix onedrive
* fix
* fix onedrive input parsing by reusing code subblock
* fix type
* feat(files): add presigned URL generation support for execution files (#1980 )
* fix(popovers): billed account + async example command (#1982 )
* fix(settings): update usage data in settings > subs to use reactquery hooks (#1983 )
* fix(settings): update usage data in settings > subs to use reactquery hooks
* standardize usage pills calculation
* fix(output-selector): z-index in chat deploy modal (#1984 )
* improvement(logs): improved logs search (#1985 )
* improvement(logs): improved logs search
* more
* ack PR comments
* feat(slack): added slack full message object in response (#1987 )
* feat(slack): add better error messages, reminder to add bot to app (#1990 )
* feat(i18n): update translations (#1989 )
Co-authored-by: waleedlatif1 <waleedlatif1@users.noreply.github.com >
* fix(landing): hero stripe icon (#1988 )
* Temp
* Update
* Update
* Update
* Progress
* Diff store fixes
* simplify sockets ops for diff store
* Search patterns tool
* Better tool calls
* Fix sanitizationg
* Context window display
* fix(variables): fix double stringification (#1991 )
* improvement(variables): support dot notation for nested objects (#1992 )
* improvement(tanstack): migrate multiple stores (#1994 )
* improvement(tanstack): migrate folders, knowledge to tanstack
* fix types
* fix(folders): duplicate (#1996 )
* fix(variables): fix variables block json resolution (#1997 )
* Improvement(ui/ux): signup, command-list, cursors, search modal, workflow runs, usage indicator (#1998 )
* improvement: signup loading, command-list, cursors, search modal ordering
* improvement: workflow runs, search modal
* improvement(usage-indicator): ui/ux
* test(pr): hackathon (#1999 )
* test(pr): github trigger (#2000 )
* fix(usage-indicator): conditional rendering, upgrade, and ui/ux (#2001 )
* fix: usage-limit indicator and render conditonally on is billing enabled
* fix: upgrade render
* fix(notes): fix notes, tighten spacing, update deprecated zustand function, update use mention data to ignore block positon (#2002 )
* fix(pdfs): use unpdf instead of pdf-parse (#2004 )
* fix(modals): fix z-index for various modals and output selector and variables (#2005 )
* fix(condition): treat condition input the same as the code subblock (#2006 )
* feat(models): added gpt-5.1 (#2007 )
* improvement: runpath edges, blocks, active (#2008 )
* feat(i18n): update translations (#2009 )
* fix(triggers): check triggermode and consolidate block type (#2011 )
* fix(triggers): disabled trigger shouldn't be added to dag (#2012 )
* Fix disabled blocks
* Comments
* Fix api/chat trigger not found message
* fix(tags): only show start block upstream if is ancestor (#2013 )
* fix(variables): Fix resolution on double < (#2016 )
* Fix variable <>
* Ling
* Clean
* feat(billing): add notif for first failed payment, added upgrade email from free, updated providers that supported granular tool control to support them, fixed envvar popover, fixed redirect to wrong workspace after oauth connect (#2015 )
* feat(billing): add notif for first failed payment, added upgrade email from free, updated providers that supported granular tool control to support them, fixed envvar popover, fixed redirect to wrong workspace after oauth connect
* fix build
* ack PR comments
* feat(performance): added reactquery hooks for workflow operations, for logs, fixed logs reloading, fix subscription UI (#2017 )
* feat(performance): added reactquery hooks for workflow operations, for logs, fixed logs reloading, fix subscription UI
* use useInfiniteQuery for logs fetching
* fix(copilot): run workflow supports input format and fix run id (#2018 )
* fix(router): fix error edge in router block + fix source handle problem (#2019 )
* Fix router block error port handling
* Remove comment
* Fix edge execution
* improvement: code subblock, action bar, connections (#2024 )
* improvement: action bar, connections
* fix: code block draggable resize
* fix(response): fix response block http format (#2027 )
* Fix response block
* Lint
* fix(notes): fix notes block spacing, additional logs for billing transfer route (#2029 )
* fix(usage-data): refetch on usage limit update in settings (#2032 )
* fix(overage): fix pill calculation in the usage indicator to be consistent across views (#2034 )
* fix(workflows): fixed workflow loading in without start block, added templates RQ hook, cleaned up unused templates code (#2035 )
* fix(triggers): dedup + not surfacing deployment status log (#2033 )
* fix(triggers): dedup + not surfacing deployment status log
* fix ms teams
* change to microsoftteams
* Revert "change to microsoftteams"
This reverts commit 217f808641 .
* fix
* fix
* fix provider name
* fix oauth for msteams
* improvement(undo-redo): expand undo-redo store to store 100 ops instead of 15 (#2036 )
* improvement(undo-redo): expand undo-redo store to store 100 ops instead of 15
* prevent undo-redo from interfering with subblock browser text undo
* improvement(docs): remove copy page from mobile view on docs (#2037 )
* improvement(docs): remove copy page from mobile view on docs
* bring title and pagenav lower on mobile
* added cursor pointer to clickable components in docs
* fix(workflow-block): clearing child workflow input format field must lazy cascade parent workflow state deletion (#2038 )
* Error tools
* Ui tools
* Navigate ui tool
* Combine env vars and oauth tools
* Plan mode section
* Plan mode v1
* Plan mode v1
* Plan mode improvements
* Build plan button
* Make workflow plan editable
* Tool improvements
* Fix build plan button
* Lint
* Fix
* Fix lint
* Fix plan
* Remove migrations
* fix undo/redo settling of ops
* Add migratinos back
* Smoothen out diff store
* Hide plan mode
* Fix lint
* Edit run workflow params
* Fix lint
* Fix tests
* Fix typing
* Fix build errors and lint
* Fix build
* Fix tests
---------
Co-authored-by: Vikhyath Mondreti <vikhyathvikku@gmail.com >
Co-authored-by: Waleed <walif6@gmail.com >
Co-authored-by: Emir Karabeg <78010029+emir-karabeg@users.noreply.github.com >
Co-authored-by: Adam Gough <77861281+aadamgough@users.noreply.github.com >
Co-authored-by: aadamgough <adam@sim.ai >
Co-authored-by: Vikhyath Mondreti <vikhyath@simstudio.ai >
Co-authored-by: Emir Karabeg <emirkarabeg@berkeley.edu >
Co-authored-by: waleedlatif1 <waleedlatif1@users.noreply.github.com >
2025-11-21 10:22:08 -08:00
Waleed
4a0450d1fc
fix(embeddings): modified embeddings utils to only index english docs ( #2078 )
2025-11-20 14:03:49 -08:00
Waleed
86ed32ea10
feat(kb): added json/yaml parser+chunker, added dedicated csv chunker ( #1539 )
...
* feat(kb): added json/yaml parser+chunker, added dedicated csv chunker
* ack PR comments
* improved kb upload
2025-10-04 14:59:21 -07:00
Waleed
e49cde7766
fix(ci): modify docs embeddings ci to only run on english documentation ( #1455 )
2025-09-25 17:52:00 -07:00
Vikhyath Mondreti
9de7a00373
improvement(code-structure): move db into separate package ( #1364 )
...
* improvement(code-structure): move db into separate package
* make db separate package
* remake bun lock
* update imports to not maintain two separate ones
* fix CI for tests by adding dummy url
* vercel build fix attempt
* update bun lock
* regenerate bun lock
* fix mocks
* remove db commands from apps/sim package json
2025-09-17 15:41:13 -07:00
Vikhyath Mondreti
f0186593a1
chore(deployment-versioning): add migration script into repo ( #1318 )
...
* chore(deployment-versioning): add migration script into repo
* add migration
* remove parent id changes
2025-09-11 12:45:31 -07:00
Waleed
76889fde26
fix(permissions): remove permissions granted by org membership ( #1206 )
...
* fix(permissions): remove cross-functional permissions granted by org membership
* code hygiene
2025-08-30 18:14:01 -07:00
Vikhyath Mondreti
56543dafb4
fix(billing): usage tracking cleanup, shared pool of limits for team/enterprise ( #1131 )
...
* fix(billing): team usage tracking cleanup, shared pool of limits for team
* address greptile commments
* fix lint
* remove usage of deprecated cols"
* update periodStart and periodEnd correctly
* fix lint
* fix type issue
* fix(billing): cleaned up billing, still more work to do on UI and population of data and consolidation
* fix upgrade
* cleanup
* progress
* works
* Remove 78th migration to prepare for merge with staging
* fix migration conflict
* remove useless test file
* fix
* Fix undefined seat pricing display and handle cancelled subscription seat updates
* cleanup code
* cleanup to use helpers for pulling pricing limits
* cleanup more things
* cleanup
* restore environment ts file
* remove unused files
* fix(team-management): fix team management UI, consolidate components
* use session data instead of subscription data in settings navigation
* remove unused code
* fix UI for enterprise plans
* added enterprise plan support
* progress
* billing state machine
* split overage and base into separate invoices
* fix badge logic
---------
Co-authored-by: waleedlatif1 <walif6@gmail.com >
2025-08-28 17:00:48 -07:00
Waleed
51b1e97fa2
fix(kb-uploads): created knowledge, chunks, tags services and use redis for queueing docs in kb ( #1143 )
...
* improvement(kb): created knowledge, chunks, tags services and use redis for queueing docs in kb
* moved directories around
* cleanup
* bulk create docuemnt records after upload is completed
* fix(copilot): send api key to sim agent (#1142 )
* Fix api key auth
* Lint
* ack PR comments
* added sort by functionality for headers in kb table
* updated
* test fallback from redis, fix styling
* cleanup copilot, fixed tooltips
* feat: local auto layout (#1144 )
* feat: added llms.txt and robots.txt (#1145 )
* fix(condition-block): edges not following blocks, duplicate issues (#1146 )
* fix(condition-block): edges not following blocks, duplicate issues
* add subblock update to setActiveWorkflow
* Update apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/sub-block/components/condition-input.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
---------
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* fix dependency array
* fix(copilot-cleanup): support azure blob upload in copilot, remove dead code & consolidate other copilot files (#1147 )
* cleanup
* support azure blob image upload
* imports cleanup
* PR comments
* ack PR comments
* fix key validation
* improvement(forwarding+excel): added forwarding and improve excel read (#1136 )
* added forwarding for outlook
* lint
* improved excel sheet read
* addressed greptile
* fixed bodytext getting truncated
* fixed any type
* added html func
---------
Co-authored-by: Adam Gough <adamgough@Mac.attlocal.net >
* revert agent const
* update docs
---------
Co-authored-by: Siddharth Ganesan <33737564+Sg312@users.noreply.github.com >
Co-authored-by: Emir Karabeg <78010029+emir-karabeg@users.noreply.github.com >
Co-authored-by: Vikhyath Mondreti <vikhyathvikku@gmail.com >
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Vikhyath Mondreti <vikhyath@simstudio.ai >
Co-authored-by: Adam Gough <77861281+aadamgough@users.noreply.github.com >
Co-authored-by: Adam Gough <adamgough@Mac.attlocal.net >
2025-08-26 22:55:18 -07:00
Waleed Latif
8748e1d5f9
improvement(db): remove deprecated 'state' column from workflow table ( #994 )
...
* improvement(db): remove deprecated column from workflow table
* removed extraneous logs
* update sockets envvar
2025-08-16 13:04:49 -07:00
Waleed Latif
9bd3491eac
feat(webhooks): deprecate singular webhook block + add trigger mode to blocks ( #903 )
...
* feat(triggers): added new trigger mode for blocks, added socket event, ran migrations
* Rename old trigger/ directory to background/
* cleaned up, ensured that we display active webhook at the block-level
* fix submenu in tag dropdown
* keyboard nav on tag dropdown submenu
* feat(triggers): add outlook to new triggers system
* cleanup
* add types to tag dropdown, type all outputs for tools and use that over block outputs
* update doc generator to truly reflect outputs
* fix docs
* add trigger handler
* fix active webhook tag
* tag dropdown fix for triggers
* remove trigger mode schema change
* feat(execution-filesystem): system to pass files between blocks (#866 )
* feat(files): pass files between blocks
* presigned URL for downloads
* Remove latest migration before merge
* starter block file upload wasn't getting logged
* checkpoint in human readable form
* checkpoint files / file type outputs
* file downloads working for block outputs
* checkpoint file download
* fix type issues
* remove filereference interface with simpler user file interface
* show files in the tag dropdown for start block
* more migration to simple url object, reduce presigned time to 5 min
* Remove migration 0065_parallel_nightmare and related files
- Deleted apps/sim/db/migrations/0065_parallel_nightmare.sql
- Deleted apps/sim/db/migrations/meta/0065_snapshot.json
- Removed 0065 entry from apps/sim/db/migrations/meta/_journal.json
Preparing for merge with origin/staging and migration regeneration
* add migration files
* fix tests
* Update apps/sim/lib/uploads/setup.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* Update apps/sim/lib/workflows/execution-file-storage.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* Update apps/sim/lib/workflows/execution-file-storage.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* cleanup types
* fix lint
* fix logs typing for file refs
* open download in new tab
* fixed
* Update apps/sim/tools/index.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* fix file block
* cleanup unused code
* fix bugs
* remove hacky file id logic
* fix drag and drop
* fix tests
---------
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* feat(trigger-mode): added trigger-mode to workflow_blocks table (#902 )
* fix(schedules-perms): use regular perm system to view/edit schedule info (#901 )
* fix(schedules-perms): use regular perm system to view schedule info
* fix perms
* improve logging
* cleanup
* prevent tooltip showing up on modal open
* updated trigger config
* fix type issues
---------
Co-authored-by: Vikhyath Mondreti <vikhyathvikku@gmail.com >
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Vikhyath Mondreti <vikhyath@simstudio.ai >
2025-08-07 20:27:54 -07:00
Waleed Latif
746b87743a
feat(ollama): added streaming & tool call support for ollama, updated docs ( #884 )
2025-08-05 15:04:50 -07:00
Siddharth Ganesan
4819b88ac1
feat(docs): reindex docs on change ( #863 )
...
* Add github action to index docs
* Add new line
* Update .github/workflows/docs-embeddings.yml
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* Updates
---------
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-08-04 13:26:44 -07:00
Siddharth Ganesan
e71a736400
fix(billing): increase free tier credits ( #862 )
...
* Update free tier to 10
* Lint
2025-08-04 12:34:21 -07:00
Waleed Latif
9f810e8c29
fix(duplicate): added isWide and advacnedMode to optimistic duplicate, persist collapsed subblock state ( #847 )
...
* fix(duplicate): added isWide and advacnedMode to optimistic duplicate, ensured it persists on client & server
* use collaborative set subblock value instead of doing it locally for collapsed subblocks
* cleamup
2025-08-01 17:42:31 -07:00
Waleed Latif
ae43381d84
feat(domain): drop the 'studio' ( #818 )
...
* feat(domain): drop the
* change all references for Sim Studio to Sim
* change back license and notice
* lint
---------
Co-authored-by: waleedlatif <waleedlatif@waleedlatifs-MacBook-Pro.local >
2025-07-29 12:51:43 -07:00
Waleed Latif
0414aa5f6d
refactor(imports): added aliased imports everywhere ( #799 )
...
* refactor(imports): added aliased imports everywhere
* more aliased imports
* add barrel exports
* add more barrel exports
* cleanup
---------
Co-authored-by: waleedlatif <waleedlatif@waleedlatifs-MacBook-Pro.local >
2025-07-26 16:10:32 -07:00
Waleed Latif
93f68a9092
refactor(logger): code cleanup for new execution logger ( #798 )
...
* refactor(logger): code hygiene with new logger
* modify remaining files
* simplify code structure
---------
Co-authored-by: waleedlatif <waleedlatif@waleedlatifs-MacBook-Pro.local >
2025-07-26 15:05:33 -07:00
Waleed Latif
8a9bc4e929
fix(permissions): make permissions check case insensitive, resolve hydration issues by consolidating environment checking function ( #678 )
...
* fix(permissions): make permissions check case insensitive
* consolidated use of helpers to fetch environment
* use import aliases
* fix(voice): added voice functionality back to chat client (#676 )
* fix(voice): added voice functioanlity back to chat clinet
* add logic to support deployed chat in staging
* fix(api-timeout): increase timeout for API block to 2 min (#677 )
* feat(wealthbox): added wealthbox crm (#669 )
* feat: wealthbox
* feat: added tools
* feat: tested and finished tools
* feat: tested and finished tools
* feat: added refresh token
* fix: added docs
* bun lint
* feat: removed files #669
* fix: greptile comments
* fix: stringified messages #669
* add visibilty to params
---------
Co-authored-by: Adam Gough <adamgough@Adams-MacBook-Pro.local >
Co-authored-by: Adam Gough <adamgough@Mac.attlocal.net >
Co-authored-by: Vikhyath Mondreti <vikhyath@simstudio.ai >
---------
Co-authored-by: Vikhyath Mondreti <vikhyathvikku@gmail.com >
Co-authored-by: Adam Gough <77861281+aadamgough@users.noreply.github.com >
Co-authored-by: Adam Gough <adamgough@Adams-MacBook-Pro.local >
Co-authored-by: Adam Gough <adamgough@Mac.attlocal.net >
Co-authored-by: Vikhyath Mondreti <vikhyath@simstudio.ai >
2025-07-14 13:42:06 -07:00
Waleed Latif
e5080febd5
feat(billing): add comprehensive usage-based billing system ( #625 )
...
* feat(billing): add comprehensive usage-based billing system
- Complete billing infrastructure with subscription management
- Usage tracking and limits for organizations
- Team management with role-based permissions
- CRON jobs for automated billing and cleanup
- Stripe integration for payments and invoicing
- Email notifications for billing events
- Organization-based workspace management
- API endpoints for billing operations
* fix tests, standardize datetime logic
* add lazy init for stripe client, similar to s3
* cleanup
* ack PR comments
* fixed build
* convert everything to UTC
* add delete subscription functionality using better auth
* fix lint
* fix linter error
* remove invoice emails since it is natively managed via stripe
* fix build
---------
Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-Air.attlocal.net >
2025-07-09 22:42:23 -07:00
Siddharth Ganesan
ef681d8a04
Greptile fixes
2025-07-09 12:54:14 -07:00
Siddharth Ganesan
70a51006f6
Better formatting
2025-07-08 16:42:03 -07:00
Siddharth Ganesan
17513d77ea
Initial chatbot ui
2025-07-08 16:38:22 -07:00
Siddharth Ganesan
70a5f4ec31
Lint fix
2025-07-08 16:11:55 -07:00
Siddharth Ganesan
b9fa50b4de
Add db migration
2025-07-08 16:11:44 -07:00
Siddharth Ganesan
76c0c56689
Initial lint
2025-07-08 15:36:33 -07:00
Siddharth Ganesan
850447a604
Initial commit
2025-07-08 15:36:25 -07:00
Waleed Latif
76df2b9cd9
fix(sockets): added throttling, refactor entire socket server, added tests ( #534 )
...
* refactor(kb): use chonkie locally (#475 )
* feat(parsers): text and markdown parsers (#473 )
* feat: text and markdown parsers
* fix: don't readfile on buffer, convert buffer to string instead
* fix(knowledge-wh): fixed authentication error on webhook trigger
fix(knowledge-wh): fixed authentication error on webhook trigger
* feat(tools): add huggingface tools/blcok (#472 )
* add hugging face tool
* docs: add Hugging Face tool documentation
* fix: format and lint Hugging Face integration files
* docs: add manual intro section to Hugging Face documentation
* feat: replace Record<string, any> with proper HuggingFaceRequestBody interface
* accidental local files added
* restore some docs
* make layout full for model field
* change huggingface logo
* add manual content
* fix lint
---------
Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-MacBook-Air.local >
* fix(knowledge-ux): fixed ux for knowledge base (#478 )
fix(knowledge-ux): fixed ux for knowledge base (#478 )
* fix(billing): bump better-auth version & fix existing subscription issue when adding seats (#484 )
* bump better-auth version & fix existing subscription issue Bwhen adding seats
* ack PR comments
* fix(env): added NEXT_PUBLIC_APP_URL to .env.example (#485 )
* feat(subworkflows): workflows as a block within workflows (#480 )
* feat(subworkflows) workflows in workflows
* revert sync changes
* working output vars
* fix greptile comments
* add cycle detection
* add tests
* working tests
* works
* fix formatting
* fix input var handling
* add images
---------
Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-MacBook-Air.local >
Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-Air.attlocal.net >
* fix(kb): fixed kb race condition resulting in no chunks found (#487 )
* fix: added all blocks activeExecutionPath (#486 )
* refactor(chunker): replace chonkie with custom TextChunker (#479 )
* refactor(chunker): replace chonkie with custom TextChunker implementation and update document processing logic
* chore: cleanup unimplemented types
* fix: KB tests updated
* fix(tab-sync): sync between tabs on change (#489 )
* fix(tab-sync): sync between tabs on change
* refactor: optimize JSON.stringify operations that are redundant
* fix(file-upload): upload presigned url to kb for file upload instead of the whole file, circumvents 4.5MB serverless func limit (#491 )
* feat(folders): folders to manage workflows (#490 )
* feat(subworkflows) workflows in workflows
* revert sync changes
* working output vars
* fix greptile comments
* add cycle detection
* add tests
* working tests
* works
* fix formatting
* fix input var handling
* fix(tab-sync): sync between tabs on change
* feat(folders): folders to organize workflows
* address comments
* change schema types
* fix lint error
* fix typing error
* fix race cond
* delete unused files
* improved UI
* updated naming conventions
* revert unrelated changes to db schema
* fixed collapsed sidebar subfolders
* add logs filters for folders
---------
Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-MacBook-Air.local >
Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-Air.attlocal.net >
Co-authored-by: Waleed Latif <walif6@gmail.com >
* revert tab sync
* improvement(folders): added multi-select for moving folders (#493 )
* added multi-select for folders
* allow drag into root
* remove extraneous comments
* instantly create worfklow on plus
* styling improvements, fixed flicker
* small improvement to dragover container
* ack PR comments
* fix(deployed-chat): made the chat mobile friendly (#494 )
* improvement(ui/ux): chat deploy (#496 )
* improvement(ui/ux): chat deploy experience
* improvement(ui/ux): chat fontweight
* feat(gmail): added option to access raw gmail from gmail polling service (#495 )
* added option to grab raw gmail from gmail polling service
* safe json parse for function block execution to prevent vars in raw email from being resolved as sim studio vars
* added tests
* remove extraneous comments
* fix(ui): fix the UI for folder deletion, huggingface icon, workflow block icon, standardized alert dialog (#498 )
* fixed folder delete UI
* fixed UI for workflow block, huggingface, & added alert dialog for deleting folders
* consistently style all alert dialogs
* fix(reset-data): remove reset all data button from settings modal along with logic (#499 )
* fix(airtable): fixed airtable oauth token refresh, added tests (#502 )
* fixed airtable token refresh, added tests
* added helpers for refreshOAuthToken function
* feat(registration): disable registration + handle env booleans (#501 )
* feat: disable registration + handle env booleans
* chore: removing pre-process because we need to use util
* chore: format
* feat(providers): added azure openai (#503 )
* added azure openai
* fix request params being passed through agent block for azure
* remove o1 from azure-openai models list
* fix: add vscode settings to gitignore
* feat(file-upload): generalized storage to support azure blob, enhanced error logging in kb, added xlsx parser (#506 )
* added blob storage option for azure, refactored storage client to be provider agnostic, tested kb & file upload and s3 is undisrupted, still have to test blob
* updated CORS policy for blob, added azure blob-specific headers
* remove extraneous comments
* add file size limit and timeout
* added some extra error handling in kb add documents
* grouped envvars
* ack PR comments
* added sheetjs and xlsx parser
* fix(folders): modified folder deletion to delete subfolders & workflows in it instead of moving to root (#508 )
* modified folder deletion to delete subfolders & workflows in it instead of moving to root
* added additional testing utils
* ack PR comments
* feat: api response block and implementation
* improvement(local-storage): remove use of local storage except for oauth and last active workspace id (#497 )
* remove local storage usage
* remove migration for last active workspace id
* Update apps/sim/app/w/[id]/components/workflow-block/components/sub-block/components/file-selector/components/jira-issue-selector.tsx
Add fallback for required scopes
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* add url builder util
* fi
* fix lint
* lint
* modify pre commit hook
* fix oauth
* get last active workspace working again
* new workspace logic works
* fetch locks
* works now
* remove empty useEffect
* fix loading issue
* skip empty workflow syncs
* use isWorkspace in transition flag
* add logging
* add data initialized flag
* fix lint
* fix: build error by create a server-side utils
* remove migration snapshots
* reverse search for workspace based on workflow id
* fix lint
* improvement: loading check and animation
* remove unused utils
* remove console logs
---------
Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-Air.attlocal.net >
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Emir Karabeg <emirkarabeg@berkeley.edu >
Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@vikhyaths-air.lan >
* feat(multi-select): simplified chat to always return readable stream, can select multiple outputs and get response streamed back in chat panel & deployed chat (#507 )
* improvement: all workflow executions return ReadableStream & use sse to support multiple streamed outputs in chats
* fixed build
* remove extraneous comments
* general improvemetns
* ack PR comments
* fixed built
* improvement(workflow-state): split workflow state into separate tables (#511 )
* new tables to track workflow state
* fix lint
* refactor into separate tables
* fix typing
* fix lint
* add tests
* fix lint
* add correct foreign key constraint
* add self ref
* remove unused checks
* fix types
* fix type
---------
Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-Air.attlocal.net >
* feat(models): added new openai models, updated model pricing, added new groq model (#513 )
* fix(autocomplete): fixed extra closing tag on tag dropdown autocomplete (#514 )
* chore: enable input format again
* fix: process the input made on api calls with proper extraction
* feat: add json-object for ai generation for response block and others
* chore: add documentation for response block
* chore: rollback temp fix and uncomment original input handler
* chore: add missing mock for response handler
* chore: add missing mock
* chore: greptile recommendations
* added cost tracking for router & evaluator blocks, consolidated model information into a single file, hosted keys for evaluator & router, parallelized unit tests (#516 )
* fix(deployState): deploy not persisting bug (#518 )
* fix(undeploy-bug): fix deployment persistence failing bug
* fix lint
---------
Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-MacBook-Air.local >
* fix decimal entry issues
* remove unused files
* fix(db): decimal position entry issues (#520 )
* fix decimal entry issues
* remove unused files
---------
Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-Air.attlocal.net >
* fix lint
* fix test
* improvement(kb): added configurability for chunks, query across multiple knowledge bases (#512 )
* refactor: consolidate create modal file
* fix: identify dead processes
* fix: mark failed in DB after processing timeout
* improvement: added overlap chunks and fixed modal UI
* feat: multiselect logic
* fix: biome changes for css ordering warn instead of error
* improvement: create chunk ui
* fix: removed unused schema columns
* fix: removed references to deleted columns
* improvement: sped up vector search time
* feat: multi-kb search
* add bulk endpoint to disable/delete multiple chunks
* add bulk endpoint to disable/delete multiple chunks
* fix: removed unused schema columns
* fix: removed references to deleted columns
* made endpoints for knowledge more RESTful, added tests
* added batch operations for delete/enable/disable docs, alr have this for chunks
* added migrations
* added migrations
---------
Co-authored-by: Waleed Latif <walif6@gmail.com >
* fix(models): remove temp from models that don't support it
* feat(sdk): added ts and python SDKs + docs (#524 )
* added ts & python sdk, renamed cli from simstudio to cli
* added docs
* ack PR comments
* improvements
* fixed issue where it goes to random workspace when you click reload
fixed lint issue
* feat: better response builder + doc update
* fix(auth): added preview URLs to list of trusted origins (#525 )
* trusted origins
* lint error
* removed localhost
* ran lint
---------
Co-authored-by: Waleed Latif <walif6@gmail.com >
* fix(sdk): remove dev script from SDK
* PR: changes for migration
* add changes on top of db migration changes
* fix: allow removing single input field
* improvement(permissions): workspace permissions improvements, added provider and reduced API calls by 85% (#530 )
* improved permissions UI & access patterns, show outstanding invites
* added logger
* added provider for workspace permissions, 85% reduction in API calls to get user permissions and improved performance for invitations
* ack PR comments
* cleanup
* fix disabled tooltips
* improvement(tests): parallelized tests and build fixes (#531 )
* added provider for workspace permissions, 85% reduction in API calls to get user permissions and improved performance for invitations
* parallelized more tests, fixed test warnings
* removed waitlist verification route, use more utils in tests
* fixed build
* ack PR comments
* fix
* fix(kb): reduced params in kb block, added advanced mode to starter block, updated docs
* feat(realtime): sockets + normalized tables + deprecate sync (#523 )
* feat: implement real-time collaborative workflow editing with Socket.IO
- Add Socket.IO server with room-based architecture for workflow collaboration
- Implement socket context for client-side real-time communication
- Add collaborative workflow hook for synchronized state management
- Update CSP to allow socket connections to localhost:3002
- Add fallback authentication for testing collaborative features
- Enable real-time broadcasting of workflow operations between tabs
- Support multi-user editing of blocks, edges, and workflow state
Key components:
- socket-server/: Complete Socket.IO server with authentication and room management
- contexts/socket-context.tsx: Client-side socket connection and state management
- hooks/use-collaborative-workflow.ts: Hook for collaborative workflow operations
- Workflow store integration for real-time state synchronization
Status: Basic collaborative features working, authentication bypass enabled for testing
* feat: complete collaborative subblock editing implementation
✅ All collaborative features now working perfectly:
- Real-time block movement and positioning
- Real-time subblock value editing (text fields, inputs)
- Real-time edge operations and parent updates
- Multi-user workflow rooms with proper broadcasting
- Socket.IO server with room-based architecture
- Permission bypass system for testing
🔧 Technical improvements:
- Modified useSubBlockValue hook to use collaborative event system
- All subblock setValue calls now dispatch 'update-subblock-value' events
- Collaborative workflow hook handles all real-time operations
- Socket server processes and persists all operations to database
- Clean separation between local and collaborative state management
🧪 Tested and verified:
- Multiple browser tabs with different fallback users
- Block dragging and positioning updates in real-time
- Subblock text editing reflects immediately across tabs
- Workflow room management and user presence
- Database persistence of all collaborative operations
Status: Full collaborative workflow editing working with fallback authentication
* feat: implement proper authentication for collaborative Socket.IO server
✅ **Authentication System Complete**:
- Removed all fallback authentication code and bypasses
- Socket server now requires valid Better Auth session cookies
- Proper session validation using auth.api.getSession()
- Authentication errors properly handled and logged
- User info extracted from session: userId, userName, email, organizationId
🔧 **Technical Implementation**:
- Updated CSP to allow WebSocket connections (ws://localhost:3002)
- Socket authentication middleware validates session tokens
- Proper error handling for missing/invalid sessions
- Permission system enforces workflow access controls
- Clean separation between authenticated and unauthenticated states
🧪 **Testing Status**:
- Socket server properly rejects unauthenticated connections
- Authentication errors logged with clear messages
- CSP updated to allow both HTTP and WebSocket protocols
- Ready for testing with authenticated users
Status: Production-ready collaborative authentication system
* feat: complete authentication integration for collaborative Socket.IO system
🎉 **PRODUCTION-READY COLLABORATIVE SYSTEM**
✅ **Authentication Integration Complete**:
- Fixed Socket.IO client to send credentials (withCredentials: true)
- Updated server CORS to accept credentials with specific origin
- Removed all fallback authentication bypasses
- Proper Better Auth session validation working
🔧 **Technical Fixes**:
- Socket client: Enable withCredentials for cookie transmission
- Socket server: Accept credentials with origin 'http://localhost:3000 '
- Better Auth cookie utility integration for session parsing
- Comprehensive authentication middleware with proper error handling
🧪 **Verified Working Features**:
- ✅ Real user authentication (Vikhyath Mondreti authenticated)
- ✅ Multi-user workflow rooms (2+ users in same workflow)
- ✅ Permission system enforcing workflow access controls
- ✅ Real-time subblock editing across browser tabs
- ✅ Block movement and positioning updates
- ✅ Automatic room cleanup and management
- ✅ Database persistence of all collaborative operations
🚀 **Status**: Complete enterprise-grade collaborative workflow editing system
- No more fallback users - production authentication
- Multi-tab collaboration working perfectly
- Secure access control with Better Auth integration
- Real-time updates for all workflow operations
* remove sync system and move to server side
* fix lint
* delete unused file
* added socketio dep
* fix subblock persistence bug
* working deletion of workflows
* fix lint
* added railway
* add debug logging for railway deployment
* improve typing
* fix lint
* working subflow persistence
* fix lint
* working cascade deletion
* fix lint
* working subflow inside subflow
* works
* fix lint
* prevent subflow in subflow
* fix lint
* add additional logs, add localhost as allowedOrigin
* add additional logs, add localhost as allowedOrigin
* fix type error
* remove unused code
* fix lint
* fix tests
* fix lint
* fix build error
* workign folder updates
* fix typing issue
* fix lint
* fix typing issues
* lib/
* fix tests
* added old presence component back, updated to use one-time-token better auth plugin for socket server auth, tested
* fix errors
* fix bugs
* add migration scripts to run
* fix lint
* fix deploy tests
* fix lint
* fix minor issues
* fix lint
* fix migration script
* allow comma separateds id file input to migration script
* fix lint
* fixed
* fix lint
* fix fallback case
* fix type errors
* address greptile comments
* fix lint
* fix script to generate new block ids
* fix lint
---------
Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-Air.attlocal.net >
Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@vikhyaths-air.lan >
Co-authored-by: Waleed Latif <walif6@gmail.com >
Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-MacBook-Air.local >
* fix(sockets): updated CSP
* remove unecessary logs
* fix lint
* added throttling, refactor entire socket server, added tests
* improvements
* remove self monitoring func, add block name event
* working isWide, isAdvanced toggles with sockets
* fix lint
* fix duplicate key issue for user avatar
* fix lint
* fix user presence
* working parallel badges / loop badges updates
* working connection output persistence
* fix lint
* fix build errors
* fix lint
* logs removed
* fix cascade var name update bug
* works
* fix lint
* fix parallel blocks
* fix placeholder
* fix test
* fixed tests
---------
Co-authored-by: Aditya Tripathi <aditya@climactic.co >
Co-authored-by: Adam Gough <77861281+aadamgough@users.noreply.github.com >
Co-authored-by: Vikhyath Mondreti <vikhyathvikku@gmail.com >
Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-MacBook-Air.local >
Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-Air.attlocal.net >
Co-authored-by: Emir Karabeg <emirkarabeg@berkeley.edu >
Co-authored-by: Emir Karabeg <78010029+emir-karabeg@users.noreply.github.com >
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@vikhyaths-air.lan >
Co-authored-by: Ajit Kadaveru <ajit.kadaveru@berkeley.edu >
2025-06-24 17:44:30 -07:00
Waleed Latif
a92ee8bf46
feat(turbo): restructured repo to be a standard turborepo monorepo ( #341 )
...
* added turborepo
* finished turbo migration
* updated gitignore
* use dotenv & run format
* fixed error in docs
* remove standalone deployment in prod
* fix ts error, remove ignore ts errors during build
* added formatter to the end of the docs generator
2025-05-09 21:45:49 -07:00