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
13 changes: 6 additions & 7 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/pieces/core/csv/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@activepieces/piece-csv",
"version": "0.4.21",
"version": "0.4.22",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ export const csvToJsonAction = createAction({
description:
'This function reads a CSV string and converts it into JSON array format.',
aiMetadata: { description: 'Parses a CSV or tab-separated text string into a JSON array, treating the first row either as column headers or as plain data depending on the header option. Use this to make CSV text queryable before looping or filtering rows; use Convert JSON to CSV for the reverse direction, and run Convert Excel to CSV first when the source is an .xlsx/.xls file. The chosen delimiter (comma or tab) must match the actual data or columns will not split; read-only and idempotent.', idempotent: true },
errorHandlingOptions: {
continueOnFailure: {
hide: true,
},
retryOnFailure: {
hide: true,
},
},
props: {
csv_text: Property.LongText({
displayName: 'CSV Text',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ export const excelToCsvAction = createAction({
displayName: 'Convert Excel to CSV',
description: 'Converts an Excel file (.xlsx or .xls) into CSV text.',
aiMetadata: { description: 'Reads a binary Excel workbook (.xlsx or .xls) and converts a single sheet to delimited CSV text (comma, tab, or semicolon), selecting either a named sheet or the first sheet when no name is given. Pick this when the source is a spreadsheet file; use Convert CSV to JSON when you already have CSV text. Requires a real Excel file whose signature is validated, so HTML or PDF content is rejected, and any sheet name given must exist in the workbook; read-only and idempotent.', idempotent: true },
errorHandlingOptions: {
continueOnFailure: { hide: true },
retryOnFailure: { hide: true },
},
props: {
file: Property.File({
displayName: 'Excel File',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ export const jsonToCsvAction = createAction({
displayName: 'Convert JSON to CSV',
description: 'This function reads a JSON array and converts it into CSV format.',
aiMetadata: { description: 'Serializes a JSON array into delimited CSV text (comma or tab), flattening nested objects so dotted key paths become the column headers. Use this when preparing tabular data for a file, export, or attachment; use Convert CSV to JSON for the reverse direction. The input must be a JSON array of rows, not a single object, and the header row is always emitted; pure transformation, read-only and idempotent.', idempotent: true },
errorHandlingOptions: {
continueOnFailure: { hide: true },
retryOnFailure: { hide: true },
},
props: {
markdown: Property.MarkDown({
value: markdown,
Expand Down
2 changes: 1 addition & 1 deletion packages/pieces/core/date-helper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@activepieces/piece-date-helper",
"version": "0.1.34",
"version": "0.1.35",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,6 @@ export const addSubtractDateAction = createAction({
displayName: 'Add/Subtract Time',
description: 'Add or subtract time from a date',
aiMetadata: { description: 'Shifts an input date by a signed year/month/day/hour/minute/second expression, and can pin the resulting clock time to a fixed 24h value or the current time. Use Date Difference to compare two dates, Format Date for a format or zone change only, and Next Day of Week or Next Day of Year for the next calendar occurrence. The Set Time To (HH:mm) and Use Current Time options apply only when a Time Zone is also selected; idempotent except when Use Current Time ties the result to the clock.', idempotent: true },
errorHandlingOptions: {
continueOnFailure: {
hide: true,
},
retryOnFailure: {
hide: true,
},
},
props: {
inputDate: Property.ShortText({
displayName: 'Input Date',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ export const dateDifferenceAction = createAction({
displayName: 'Date Difference',
description: 'Get the difference between two dates',
aiMetadata: { description: 'Measures the elapsed time between a start date and an end date, returning any combination of the requested units in one call. Use it to compare two known dates for age, SLA or gap checks; use Add/Subtract Time instead to shift a single date. Each date needs its own input pattern, and the units are decomposed duration components rather than totals - the day value is the remainder inside the month - and come back negative when the end date precedes the start; read-only and idempotent.', idempotent: true },
errorHandlingOptions: {
continueOnFailure: {
hide: true,
},
retryOnFailure: {
hide: true,
},
},
props: {
startDate: Property.ShortText({
displayName: 'Starting Date',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ export const extractDateParts = createAction({
description:
'Extract date units ( year , month , day , hour , minute , second , day of week , month name ) from a date',
aiMetadata: { description: 'Parses one date string and returns the selected calendar components as separate values, any combination in a single call, with month as a 1-12 number and the weekday and month names spelled out. Use it when downstream logic needs the parts as data, for example branching on the weekday name; prefer Format Date when you only need the whole date rendered differently. Requires the date and its input pattern, and each requested unit must come from that supported set or the action throws; read-only and idempotent.', idempotent: true },
errorHandlingOptions: {
continueOnFailure: {
hide: true,
},
retryOnFailure: {
hide: true,
},
},
props: {
inputDate: Property.ShortText({
displayName: 'Input Date',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@ export const firstDayOfPreviousMonthAction = createAction({
displayName: 'First Day of Previous Month',
description: 'Get the date and time of the first day of the previous month',
aiMetadata: { description: 'Returns the first calendar day of the month before the current month, stamped with midnight, a supplied 24h time, or the current time. Use it as the opening bound of a last-month reporting window, paired with Last Day of Previous Month; use Add/Subtract Time for an arbitrary offset from a specific date. Time zone and output format are required and the time must be HH:mm; not idempotent - the window is derived from the current clock and changes once the month rolls over.', idempotent: false },
errorHandlingOptions: {
continueOnFailure: {
hide: true,
},
retryOnFailure: {
hide: true,
},
},
props: {
time: Property.ShortText({
displayName: '24h Time',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ export const formatDateAction = createAction({
displayName: 'Format Date',
description: 'Converts a date from one format to another',
aiMetadata: { description: 'Converts a date string from one pattern and time zone into another in a single step. Pick this for a pure representation change; use Extract Date Units to pull components as data, Add/Subtract Time to move the date, and Date Difference to compare two dates. Requires the input date plus source and target format and zone; the source pattern is only a parsing hint (parsing falls back to lenient then native parsing) and the action throws if the value cannot be parsed at all, but is otherwise deterministic and idempotent.', idempotent: true },
errorHandlingOptions: {
continueOnFailure: {
hide: true,
},
retryOnFailure: {
hide: true,
},
},
props: {
inputDate: Property.ShortText({
displayName: 'Input Date',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ export const getCurrentDate = createAction({
displayName: 'Get Current Date',
description: 'Get the current date',
aiMetadata: { description: 'Reads the clock and returns the current date and time for a chosen IANA time zone, rendered with one of 15 preset patterns (including unix seconds via X). Use it to stamp a run with the current instant or to produce the base date that Format Date, Add/Subtract Time or Date Difference consume; it accepts no date input, so prefer Format Date when you already have a date string. Output format and time zone are both required; not idempotent, since every call reads the clock and returns a different value.', idempotent: false },
errorHandlingOptions: {
continueOnFailure: {
hide: true,
},
retryOnFailure: {
hide: true,
},
},
props: {
timeFormat: Property.StaticDropdown({
displayName: 'To Time Format',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@ export const lastDayOfPreviousMonthAction = createAction({
displayName: 'Last Day of Previous Month',
description: 'Get the date and time of the last day of the previous month',
aiMetadata: { description: 'Returns the last calendar day of the month before the current month, stamped with midnight, a supplied 24h time, or the current time - the time is overwritten rather than set to end of day, so 23:59 must be asked for explicitly. Use it as the closing bound of a last-month reporting window whose start comes from First Day of Previous Month. Time zone and output format are required and the time must be HH:mm; not idempotent - derived from the current clock, changing once the month rolls over.', idempotent: false },
errorHandlingOptions: {
continueOnFailure: {
hide: true,
},
retryOnFailure: {
hide: true,
},
},
props: {
time: Property.ShortText({
displayName: '24h Time',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,6 @@ export const nextDayofWeek = createAction({
displayName: 'Next Day of Week',
description: 'Get the date and time of the next day of the week',
aiMetadata: { description: 'Returns the next occurrence of a given weekday in a chosen time zone, stamped with a fixed 24h time or the current time; when today is that weekday but the target time has already passed, it rolls forward a full week. Use Next Day of Year for a month-and-day anniversary and Add/Subtract Time to offset a date you already hold. The weekday is required and the time must be HH:mm; not idempotent, since the result derives from the current clock and identical inputs return different dates over time.', idempotent: false },
errorHandlingOptions: {
continueOnFailure: {
hide: true,
},
retryOnFailure: {
hide: true,
},
},
props: {
weekday: Property.StaticDropdown({
displayName: 'Weekday',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,6 @@ export const nextDayofYear = createAction({
displayName: 'Next Day of Year',
description: 'Get the date and time of the next day of the year',
aiMetadata: { description: 'Returns the next occurrence of a fixed month and day of month relative to now in a chosen time zone, rolling into next year when that date has already passed, stamped with a fixed 24h time or the current time. Use it for anniversaries and renewals; prefer Next Day of Week for weekday-based recurrence. Month and day are required (a day missing from the chosen month rolls into the following month instead of erroring) and the time must be HH:mm; not idempotent, since the base is the current clock.', idempotent: false },
errorHandlingOptions: {
continueOnFailure: {
hide: true,
},
retryOnFailure: {
hide: true,
},
},
props: {
month: Property.StaticDropdown({
displayName: 'Month',
Expand Down
2 changes: 1 addition & 1 deletion packages/pieces/core/file-helper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@activepieces/piece-file-helper",
"version": "0.1.30",
"version": "0.1.31",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ export const getFileName = createAction({
description: 'Get the name of a file',
aiMetadata: { description: 'Returns only the file name of an input file, without reading or decoding its contents. Use it when the name itself is what you need - to build a path, log it, or branch on the extension - and prefer Read File to get the content or Check File Type to resolve the MIME type. Requires a file input; read-only and idempotent.', idempotent: true },
outputSchema: getFileNameActionOutputSchema,
errorHandlingOptions: {
continueOnFailure: {
hide: true,
},
retryOnFailure: {
hide: true,
},
},
props: {
file: Property.File({
displayName: 'File',
Expand Down
8 changes: 0 additions & 8 deletions packages/pieces/core/file-helper/src/lib/actions/read-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ export const readFileAction = createAction({
description: 'Read a file from the file system',
aiMetadata: { description: 'Decodes an input file and returns its contents as either UTF-8 text or a base64 string, selected by the output-format option. Use it to turn a file from a trigger or earlier step into a usable value - Text for text-based files such as .txt/.json, Base64 for binary files or API payloads; use Create File for the reverse direction, and Convert CSV to JSON in the CSV piece when you need parsed rows. Requires a file input and an output format (any other value errors); read-only and idempotent.', idempotent: true },
outputSchema: readFileActionOutputSchema,
errorHandlingOptions: {
continueOnFailure: {
hide: true,
},
retryOnFailure: {
hide: true,
},
},
props: {
file: Property.File({
displayName: 'File',
Expand Down
2 changes: 1 addition & 1 deletion packages/pieces/core/math-helper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@activepieces/piece-math-helper",
"version": "0.0.30",
"version": "0.0.31",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"bundleDeps": true,
Expand Down
8 changes: 0 additions & 8 deletions packages/pieces/core/math-helper/src/lib/actions/addition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ export const addition = createAction({
displayName: 'Addition',
description: 'Add the first number and the second number',
aiMetadata: { description: 'Compute the sum of exactly two numbers, returning first_number + second_number. Pick this only for a two-operand addition; use the sibling Subtraction, Multiplication, Division, or Modulo actions for other operations, and the Code piece for summing a list or evaluating any multi-term formula. Both operands are required and must be numeric; read-only and idempotent, with no external side effects.', idempotent: true },
errorHandlingOptions: {
continueOnFailure: {
hide: true,
},
retryOnFailure: {
hide: true,
},
},
props: {
first_number: Property.Number({
displayName: 'First Number',
Expand Down
8 changes: 0 additions & 8 deletions packages/pieces/core/math-helper/src/lib/actions/division.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ export const division = createAction({
displayName: 'Division',
description: 'Divide first number by the second number',
aiMetadata: { description: 'Compute the quotient of two numbers, returning first_number / second_number as a floating-point value rather than integer division. Pick this for a two-operand division such as an average, ratio, or unit price; use the sibling Modulo action when you need the remainder instead, or the other Math Helper siblings for the remaining operations. Critical constraint: second_number is validated and must not be zero, or the step fails before computing; read-only and idempotent.', idempotent: true },
errorHandlingOptions: {
continueOnFailure: {
hide: true,
},
retryOnFailure: {
hide: true,
},
},
props: {
first_number: Property.Number({
displayName: 'First Number',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ export const generateRandom = createAction({
displayName: 'Generate Random Number',
description: 'Generate random number between two numbers (inclusive)',
aiMetadata: { description: 'Draw a pseudo-random integer uniformly from the inclusive range between first_number (the minimum) and second_number (the maximum). Pick this for sampling, jitter, or picking an arbitrary index; it is not cryptographically secure, so use the Crypto piece for tokens, secrets, or IDs, and the arithmetic siblings for deterministic math. It returns whole numbers only, and the range is honoured only when second_number is at least first_number; not idempotent, since each call returns a different value for identical inputs.', idempotent: false },
errorHandlingOptions: {
continueOnFailure: {
hide: true,
},
retryOnFailure: {
hide: true,
},
},
props: {
first_number: Property.Number({
displayName: 'First Number',
Expand Down
8 changes: 0 additions & 8 deletions packages/pieces/core/math-helper/src/lib/actions/modulo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ export const modulo = createAction({
displayName: 'Modulo',
description: 'Get the remainder of the first number divided by second number',
aiMetadata: { description: 'Compute the remainder of first_number divided by second_number using JavaScript % semantics, so the sign of the result follows the dividend (-7 with divisor 3 yields -1, not 2). Pick this for divisibility or every-Nth checks and for cycling an index over a fixed range; use the sibling Division action when you want the quotient instead. Unlike Division, second_number is not validated here, so a zero divisor returns NaN rather than failing the step; read-only and idempotent.', idempotent: true },
errorHandlingOptions: {
continueOnFailure: {
hide: true,
},
retryOnFailure: {
hide: true,
},
},
props: {
first_number: Property.Number({
displayName: 'First Number',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ export const multiplication = createAction({
displayName: 'Multiplication',
description: 'Multiply first number by the second number',
aiMetadata: { description: 'Compute the product of exactly two numbers, returning first_number * second_number. Pick this for a two-operand multiplication, including percentage or unit-rate scaling (e.g. an amount times 0.15); use the sibling Addition, Subtraction, Division, or Modulo actions for other operations, and the Code piece for exponents or multi-term formulas. Both operands are required and must be numeric; read-only and idempotent, with no external side effects.', idempotent: true },
errorHandlingOptions: {
continueOnFailure: {
hide: true,
},
retryOnFailure: {
hide: true,
},
},
props: {
first_number: Property.Number({
displayName: 'First Number',
Expand Down
Loading
Loading