@mindstudio-ai/agent 0.1.87 → 0.1.88
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.
- package/dist/cli.js +14 -14
- package/dist/index.d.ts +7 -7
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +14 -14
- package/llms.txt +7 -7
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6869,7 +6869,7 @@ interface StepMethods {
|
|
|
6869
6869
|
*/
|
|
6870
6870
|
convertPdfToImages(step: ConvertPdfToImagesStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ConvertPdfToImagesStepOutput>>;
|
|
6871
6871
|
/**
|
|
6872
|
-
* Create a new empty vector data source for the current app.
|
|
6872
|
+
* @deprecated Legacy v1 data sources. v2 apps should use `dataSources.defineDataSource()` from @mindstudio-ai/agent instead, which owns parsing, chunking, embedding and citations. Create a new empty vector data source for the current app.
|
|
6873
6873
|
*
|
|
6874
6874
|
* @remarks
|
|
6875
6875
|
* - Creates a new data source (vector database) associated with the current app version.
|
|
@@ -6951,7 +6951,7 @@ interface StepMethods {
|
|
|
6951
6951
|
*/
|
|
6952
6952
|
createGoogleSheet(step: CreateGoogleSheetStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<CreateGoogleSheetStepOutput>>;
|
|
6953
6953
|
/**
|
|
6954
|
-
* Delete a vector data source from the current app.
|
|
6954
|
+
* @deprecated Legacy v1 data sources. v2 apps should use `dataSources.defineDataSource()` from @mindstudio-ai/agent instead, which owns parsing, chunking, embedding and citations. Delete a vector data source from the current app.
|
|
6955
6955
|
*
|
|
6956
6956
|
* @remarks
|
|
6957
6957
|
* - Soft-deletes a data source (vector database) by marking it as deleted.
|
|
@@ -6967,7 +6967,7 @@ interface StepMethods {
|
|
|
6967
6967
|
*/
|
|
6968
6968
|
deleteDataSource(step: DeleteDataSourceStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DeleteDataSourceStepOutput>>;
|
|
6969
6969
|
/**
|
|
6970
|
-
* Delete a single document from a data source.
|
|
6970
|
+
* @deprecated Legacy v1 data sources. v2 apps should use `dataSources.defineDataSource()` from @mindstudio-ai/agent instead, which owns parsing, chunking, embedding and citations. Delete a single document from a data source.
|
|
6971
6971
|
*
|
|
6972
6972
|
* @remarks
|
|
6973
6973
|
* - Soft-deletes a document by marking it as deleted.
|
|
@@ -7226,7 +7226,7 @@ interface StepMethods {
|
|
|
7226
7226
|
*/
|
|
7227
7227
|
extractText(step: ExtractTextStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ExtractTextStepOutput>>;
|
|
7228
7228
|
/**
|
|
7229
|
-
* Fetch the full extracted text contents of a document in a data source.
|
|
7229
|
+
* @deprecated Legacy v1 data sources. v2 apps should use `dataSources.defineDataSource()` from @mindstudio-ai/agent instead, which owns parsing, chunking, embedding and citations. Fetch the full extracted text contents of a document in a data source.
|
|
7230
7230
|
*
|
|
7231
7231
|
* @remarks
|
|
7232
7232
|
* - Loads a document by ID and returns its full extracted text content.
|
|
@@ -7800,7 +7800,7 @@ interface StepMethods {
|
|
|
7800
7800
|
*/
|
|
7801
7801
|
insertVideoClips(step: InsertVideoClipsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<InsertVideoClipsStepOutput>>;
|
|
7802
7802
|
/**
|
|
7803
|
-
* List all data sources for the current app.
|
|
7803
|
+
* @deprecated Legacy v1 data sources. v2 apps should use `dataSources.defineDataSource()` from @mindstudio-ai/agent instead, which owns parsing, chunking, embedding and citations. List all data sources for the current app.
|
|
7804
7804
|
*
|
|
7805
7805
|
* @remarks
|
|
7806
7806
|
* - Returns metadata for every data source associated with the current app version.
|
|
@@ -8343,7 +8343,7 @@ interface StepMethods {
|
|
|
8343
8343
|
*/
|
|
8344
8344
|
queryAppDatabase(step: QueryAppDatabaseStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<QueryAppDatabaseStepOutput>>;
|
|
8345
8345
|
/**
|
|
8346
|
-
* Search a vector data source (RAG) and return relevant document chunks.
|
|
8346
|
+
* @deprecated Legacy v1 data sources. v2 apps should use `dataSources.defineDataSource()` from @mindstudio-ai/agent instead, which owns parsing, chunking, embedding and citations. Search a vector data source (RAG) and return relevant document chunks.
|
|
8347
8347
|
*
|
|
8348
8348
|
* @remarks
|
|
8349
8349
|
* - Queries a vectorized data source and returns the most relevant chunks.
|
|
@@ -9173,7 +9173,7 @@ interface StepMethods {
|
|
|
9173
9173
|
*/
|
|
9174
9174
|
updateGoogleSheet(step: UpdateGoogleSheetStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<UpdateGoogleSheetStepOutput>>;
|
|
9175
9175
|
/**
|
|
9176
|
-
* Upload a file into an existing data source from a URL or raw text content.
|
|
9176
|
+
* @deprecated Legacy v1 data sources. v2 apps should use `dataSources.defineDataSource()` from @mindstudio-ai/agent instead, which owns parsing, chunking, embedding and citations. Upload a file into an existing data source from a URL or raw text content.
|
|
9177
9177
|
*
|
|
9178
9178
|
* @remarks
|
|
9179
9179
|
* - If "file" is a single URL, the file is downloaded from that URL and uploaded.
|
package/dist/index.js
CHANGED
|
@@ -2362,7 +2362,7 @@ var stepMetadata = {
|
|
|
2362
2362
|
},
|
|
2363
2363
|
"createDataSource": {
|
|
2364
2364
|
stepType: "createDataSource",
|
|
2365
|
-
description: "Create a new empty vector data source for the current app.",
|
|
2365
|
+
description: "Legacy v1 data sources. v2 apps should use `dataSources.defineDataSource()` from @mindstudio-ai/agent instead, which owns parsing, chunking, embedding and citations. Create a new empty vector data source for the current app.",
|
|
2366
2366
|
usageNotes: '- Creates a new data source (vector database) associated with the current app version.\n- The data source is created empty \u2014 use the "Upload Data Source Document" block to add documents.\n- Returns the new data source ID which can be used in subsequent blocks.',
|
|
2367
2367
|
inputSchema: { "type": "object", "properties": { "name": { "type": "string", "description": "Name for the new data source (supports variable interpolation)" } }, "required": ["name"] },
|
|
2368
2368
|
outputSchema: { "description": "This step does not produce output data." }
|
|
@@ -2399,14 +2399,14 @@ var stepMetadata = {
|
|
|
2399
2399
|
},
|
|
2400
2400
|
"deleteDataSource": {
|
|
2401
2401
|
stepType: "deleteDataSource",
|
|
2402
|
-
description: "Delete a vector data source from the current app.",
|
|
2402
|
+
description: "Legacy v1 data sources. v2 apps should use `dataSources.defineDataSource()` from @mindstudio-ai/agent instead, which owns parsing, chunking, embedding and citations. Delete a vector data source from the current app.",
|
|
2403
2403
|
usageNotes: "- Soft-deletes a data source (vector database) by marking it as deleted.\n- The Milvus partition is cleaned up asynchronously by a background cron job.\n- The data source must belong to the current app version.",
|
|
2404
2404
|
inputSchema: { "type": "object", "properties": { "dataSourceId": { "type": "string", "description": "ID of the data source to delete (supports variable interpolation)" } }, "required": ["dataSourceId"] },
|
|
2405
2405
|
outputSchema: { "description": "This step does not produce output data." }
|
|
2406
2406
|
},
|
|
2407
2407
|
"deleteDataSourceDocument": {
|
|
2408
2408
|
stepType: "deleteDataSourceDocument",
|
|
2409
|
-
description: "Delete a single document from a data source.",
|
|
2409
|
+
description: "Legacy v1 data sources. v2 apps should use `dataSources.defineDataSource()` from @mindstudio-ai/agent instead, which owns parsing, chunking, embedding and citations. Delete a single document from a data source.",
|
|
2410
2410
|
usageNotes: "- Soft-deletes a document by marking it as deleted.\n- Requires both the data source ID and document ID.\n- After deletion, reloads vectors into Milvus so the data source reflects the change immediately.",
|
|
2411
2411
|
inputSchema: { "type": "object", "properties": { "dataSourceId": { "type": "string", "description": "ID of the data source containing the document (supports variable interpolation)" }, "documentId": { "type": "string", "description": "ID of the document to delete (supports variable interpolation)" } }, "required": ["dataSourceId", "documentId"] },
|
|
2412
2412
|
outputSchema: { "description": "This step does not produce output data." }
|
|
@@ -2511,7 +2511,7 @@ var stepMetadata = {
|
|
|
2511
2511
|
},
|
|
2512
2512
|
"fetchDataSourceDocument": {
|
|
2513
2513
|
stepType: "fetchDataSourceDocument",
|
|
2514
|
-
description: "Fetch the full extracted text contents of a document in a data source.",
|
|
2514
|
+
description: "Legacy v1 data sources. v2 apps should use `dataSources.defineDataSource()` from @mindstudio-ai/agent instead, which owns parsing, chunking, embedding and citations. Fetch the full extracted text contents of a document in a data source.",
|
|
2515
2515
|
usageNotes: '- Loads a document by ID and returns its full extracted text content.\n- The document must have been successfully processed (status "done").\n- Also returns document metadata (name, summary, word count).',
|
|
2516
2516
|
inputSchema: { "type": "object", "properties": { "dataSourceId": { "type": "string", "description": "ID of the data source containing the document (supports variable interpolation)" }, "documentId": { "type": "string", "description": "ID of the document to fetch (supports variable interpolation)" } }, "required": ["dataSourceId", "documentId"] },
|
|
2517
2517
|
outputSchema: { "description": "This step does not produce output data." }
|
|
@@ -2788,7 +2788,7 @@ var stepMetadata = {
|
|
|
2788
2788
|
},
|
|
2789
2789
|
"listDataSources": {
|
|
2790
2790
|
stepType: "listDataSources",
|
|
2791
|
-
description: "List all data sources for the current app.",
|
|
2791
|
+
description: "Legacy v1 data sources. v2 apps should use `dataSources.defineDataSource()` from @mindstudio-ai/agent instead, which owns parsing, chunking, embedding and citations. List all data sources for the current app.",
|
|
2792
2792
|
usageNotes: "- Returns metadata for every data source associated with the current app version.\n- Each entry includes the data source ID, name, description, status, and document list.",
|
|
2793
2793
|
inputSchema: { "type": "object", "properties": {}, "required": [] },
|
|
2794
2794
|
outputSchema: { "description": "This step does not produce output data." }
|
|
@@ -3023,7 +3023,7 @@ var stepMetadata = {
|
|
|
3023
3023
|
},
|
|
3024
3024
|
"queryDataSource": {
|
|
3025
3025
|
stepType: "queryDataSource",
|
|
3026
|
-
description: "Search a vector data source (RAG) and return relevant document chunks.",
|
|
3026
|
+
description: "Legacy v1 data sources. v2 apps should use `dataSources.defineDataSource()` from @mindstudio-ai/agent instead, which owns parsing, chunking, embedding and citations. Search a vector data source (RAG) and return relevant document chunks.",
|
|
3027
3027
|
usageNotes: "- Queries a vectorized data source and returns the most relevant chunks.\n- Useful for retrieval-augmented generation (RAG) workflows.",
|
|
3028
3028
|
inputSchema: { "type": "object", "properties": { "dataSourceId": { "type": "string", "description": "ID of the vector data source to query" }, "query": { "type": "string", "description": "The search query to run against the data source" }, "maxResults": { "type": "number", "description": "Maximum number of chunks to return (recommended 1-3)" } }, "required": ["dataSourceId", "query", "maxResults"] },
|
|
3029
3029
|
outputSchema: { "type": "object", "properties": { "text": { "type": "string", "description": "All matching chunks joined with newlines" }, "chunks": { "type": "array", "items": { "type": "string" }, "description": "Individual matching text chunks from the data source" }, "query": { "type": "string", "description": "The resolved search query that was executed" }, "citations": { "type": "array", "items": {}, "description": "Source citations for the matched chunks" }, "latencyMs": { "type": "number", "description": "Query execution time in milliseconds" } }, "required": ["text", "chunks", "query", "citations", "latencyMs"] }
|
|
@@ -3380,7 +3380,7 @@ var stepMetadata = {
|
|
|
3380
3380
|
},
|
|
3381
3381
|
"uploadDataSourceDocument": {
|
|
3382
3382
|
stepType: "uploadDataSourceDocument",
|
|
3383
|
-
description: "Upload a file into an existing data source from a URL or raw text content.",
|
|
3383
|
+
description: "Legacy v1 data sources. v2 apps should use `dataSources.defineDataSource()` from @mindstudio-ai/agent instead, which owns parsing, chunking, embedding and citations. Upload a file into an existing data source from a URL or raw text content.",
|
|
3384
3384
|
usageNotes: '- If "file" is a single URL, the file is downloaded from that URL and uploaded.\n- If "file" is any other string, a .txt document is created from that content and uploaded.\n- The block waits (polls) for processing to complete before transitioning, up to 5 minutes.\n- Once processing finishes, vectors are loaded into Milvus so the data source is immediately queryable.\n- Supported file types (when using a URL) are the same as the data source upload UI (PDF, DOCX, TXT, etc.).',
|
|
3385
3385
|
inputSchema: { "type": "object", "properties": { "dataSourceId": { "type": "string", "description": "ID of the target data source (supports variable interpolation)" }, "file": { "type": "string", "description": "A URL to download, or raw text content to create a .txt document from (supports variable interpolation)" }, "fileName": { "type": "string", "description": "Display name for the document (supports variable interpolation)" } }, "required": ["dataSourceId", "file", "fileName"] },
|
|
3386
3386
|
outputSchema: { "description": "This step does not produce output data." }
|