Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"Clear Worksheet": "Clear Worksheet",
"Delete Worksheet": "Delete Worksheet",
"Get Workbooks": "Get Workbooks",
"Get Worksheet Columns": "Get Worksheet Columns",
"Delete Workbook": "Delete Workbook",
"Add a Worksheet to a Workbook": "Add a Worksheet to a Workbook",
"Get Table Rows": "Get Table Rows",
Expand Down Expand Up @@ -37,6 +38,7 @@
"Clear a worksheet": "Clear a worksheet",
"Delete a worksheet in a workbook": "Delete a worksheet in a workbook",
"Retrieve a list of workbooks": "Retrieve a list of workbooks",
"List columns of a worksheet.": "List columns of a worksheet.",
"Delete a workbook": "Delete a workbook",
"Add a worksheet to a workbook": "Add a worksheet to a workbook",
"List rows of a table in a worksheet": "List rows of a table in a worksheet",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@ const APPROVAL_PIECES_CONFIG = [
pieceName: '@activepieces/piece-discord',
approvalActionNames: ['request_approval_message'],
},
{
pieceName: '@activepieces/piece-microsoft-teams',
approvalActionNames: [
'request_approval_direct_message',
'request_approval_in_channel',
],
},
{
pieceName: '@activepieces/piece-microsoft-outlook',
approvalActionNames: ['request_approval_in_mail'],
},
];

const ApprovalsTabContent = ({
Expand Down
2 changes: 1 addition & 1 deletion packages/react-ui/src/features/agents/ai-model/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const ANTHROPIC_MODELS = [
'claude-opus-4.5',
'claude-sonnet-4-5-20250929',
'claude-haiku-4.5',
'claude-haiku-4-5-20251001'
'claude-haiku-4-5-20251001',
] as const;

const GOOGLE_MODELS = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { mkdir } from 'node:fs/promises'
import path from 'path'
import { pieceTranslation } from '@activepieces/pieces-framework'
import { AppSystemProp, filePiecesUtils, memoryLock, rejectedPromiseHandler } from '@activepieces/server-shared'
Expand Down Expand Up @@ -233,9 +232,9 @@ async function getOrCreateCache(): Promise<KVCacheInstance> {
if (!isNil(cacheInstance)) {
return cacheInstance
}
const baseDir = system.getOrThrow(AppSystemProp.CONFIG_PATH)
await mkdir(baseDir, { recursive: true })
const dbPath = path.resolve(path.join(baseDir, 'pieces-cache-db.sqlite'))
const pm2Enabled = system.getBoolean(AppSystemProp.PM2_ENABLED) ?? false
const cacheId = pm2Enabled ? (process.env.NODE_APP_INSTANCE ?? '0') : 'default'
const dbPath = path.resolve(path.join(process.cwd(), `pieces-cache-db-${cacheId}.sqlite`))
const db = new Keyv({
store: new KeyvSqlite(`sqlite://${dbPath}`),
})
Expand Down
1 change: 1 addition & 0 deletions packages/server/api/test/helpers/mocks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ export const createMockPlatformPlan = (platformPlan?: Partial<PlatformPlan>): Pl
stripeSubscriptionEndDate: apDayjs().endOf('month').unix(),
stripeSubscriptionStartDate: apDayjs().startOf('month').unix(),
plan: platformPlan?.plan,
tablesEnabled: platformPlan?.tablesEnabled ?? false,
}
}
export const createMockPlatform = (platform?: Partial<Platform>): Platform => {
Expand Down
Loading