@toolplex/client 0.1.40 → 0.1.41
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.
|
@@ -176,15 +176,14 @@ export async function handleInitialize(params) {
|
|
|
176
176
|
if (clientContext.isOrgUser && allSucceeded.length === 0) {
|
|
177
177
|
result.content.push({
|
|
178
178
|
type: "text",
|
|
179
|
-
text: "
|
|
179
|
+
text: "No tools are currently approved for this organization. Inform the user that tools will become available once an admin approves them.",
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
182
|
// Add custom prompt / agent instructions for org users
|
|
183
183
|
if (clientContext.permissions.custom_prompt) {
|
|
184
184
|
result.content.push({
|
|
185
185
|
type: "text",
|
|
186
|
-
text: "
|
|
187
|
-
"The following instructions have been set by your organization's administrator. Follow these guidelines:\n\n" +
|
|
186
|
+
text: "**Organization Guidelines:**\n" +
|
|
188
187
|
clientContext.permissions.custom_prompt,
|
|
189
188
|
});
|
|
190
189
|
}
|
|
@@ -176,15 +176,14 @@ export async function handleInitialize(params) {
|
|
|
176
176
|
if (clientContext.isOrgUser && allSucceeded.length === 0) {
|
|
177
177
|
result.content.push({
|
|
178
178
|
type: "text",
|
|
179
|
-
text: "
|
|
179
|
+
text: "No tools are currently approved for this organization. Inform the user that tools will become available once an admin approves them.",
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
182
|
// Add custom prompt / agent instructions for org users
|
|
183
183
|
if (clientContext.permissions.custom_prompt) {
|
|
184
184
|
result.content.push({
|
|
185
185
|
type: "text",
|
|
186
|
-
text: "
|
|
187
|
-
"The following instructions have been set by your organization's administrator. Follow these guidelines:\n\n" +
|
|
186
|
+
text: "**Organization Guidelines:**\n" +
|
|
188
187
|
clientContext.permissions.custom_prompt,
|
|
189
188
|
});
|
|
190
189
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.1.
|
|
1
|
+
export declare const version = "0.1.41";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '0.1.
|
|
1
|
+
export const version = '0.1.41';
|