Skip to content

Commit 22ef27f

Browse files
Claudehotlong
andauthored
fix(service-ai): change package tool category from 'system' to 'utility'
ToolCategorySchema only supports: data, action, flow, integration, vector_search, analytics, utility. Changed all 5 package management tools from 'system' to 'utility' category. Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/78d4dda5-4db1-46bc-ba64-1eab41672f23 Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 6761a74 commit 22ef27f

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

packages/services/service-ai/src/tools/create-package.tool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const createPackageTool = defineTool({
1515
'Creates a new package (metadata container) with the specified manifest. ' +
1616
'All metadata in ObjectStack should belong to a package. Use this when starting new development ' +
1717
'or when the user wants to organize their metadata into a new module.',
18-
category: 'system',
18+
category: 'utility',
1919
builtIn: true,
2020
parameters: {
2121
type: 'object',

packages/services/service-ai/src/tools/get-active-package.tool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const getActivePackageTool = defineTool({
1313
description:
1414
'Gets the currently active package in this conversation. The active package determines ' +
1515
'where new metadata will be created. Returns null if no package is set.',
16-
category: 'system',
16+
category: 'utility',
1717
builtIn: true,
1818
parameters: {
1919
type: 'object',

packages/services/service-ai/src/tools/get-package.tool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const getPackageTool = defineTool({
1313
description:
1414
'Gets detailed information about a specific installed package, including its manifest, ' +
1515
'metadata, and installation status.',
16-
category: 'system',
16+
category: 'utility',
1717
builtIn: true,
1818
parameters: {
1919
type: 'object',

packages/services/service-ai/src/tools/list-packages.tool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const listPackagesTool = defineTool({
1414
description:
1515
'Lists all installed packages in the system. Use this to see what packages are available ' +
1616
'before creating or modifying metadata. Packages are the containers that hold metadata.',
17-
category: 'system',
17+
category: 'utility',
1818
builtIn: true,
1919
parameters: {
2020
type: 'object',

packages/services/service-ai/src/tools/set-active-package.tool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const setActivePackageTool = defineTool({
1414
description:
1515
'Sets the active package for this conversation. All subsequent metadata creation operations ' +
1616
'(objects, views, flows, etc.) will be associated with this package unless explicitly overridden.',
17-
category: 'system',
17+
category: 'utility',
1818
builtIn: true,
1919
parameters: {
2020
type: 'object',

0 commit comments

Comments
 (0)