@raindrop-ai/ai-sdk 0.0.12 → 0.0.14
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.
|
@@ -84,7 +84,7 @@ async function postJson(url, body, headers, opts) {
|
|
|
84
84
|
// package.json
|
|
85
85
|
var package_default = {
|
|
86
86
|
name: "@raindrop-ai/ai-sdk",
|
|
87
|
-
version: "0.0.
|
|
87
|
+
version: "0.0.14"};
|
|
88
88
|
|
|
89
89
|
// src/internal/version.ts
|
|
90
90
|
var libraryName = package_default.name;
|
|
@@ -1262,7 +1262,11 @@ var AGENT_REPORTING_SIGNALS_DEFAULT = {
|
|
|
1262
1262
|
sentiment: "NEGATIVE"
|
|
1263
1263
|
},
|
|
1264
1264
|
repeatedly_broken_tool: {
|
|
1265
|
-
description: "A tool has failed on multiple distinct attempts in this conversation, preventing task completion.
|
|
1265
|
+
description: "A tool has failed or not returned the expected response on multiple distinct attempts in this conversation, preventing task completion. A single tool error is NOT enough \u2014 the tool must be persistently broken or aberrantly behaving across retries.",
|
|
1266
|
+
sentiment: "NEGATIVE"
|
|
1267
|
+
},
|
|
1268
|
+
capability_gap: {
|
|
1269
|
+
description: "The task requires a tool, permission, or capability that you do not have. For example, the user asks you to perform an action but no suitable tool exists, or you lack the necessary access. Do NOT report this if you simply need more information from the user \u2014 only when the gap is in your own capabilities.",
|
|
1266
1270
|
sentiment: "NEGATIVE"
|
|
1267
1271
|
},
|
|
1268
1272
|
complete_task_failure: {
|
|
@@ -1376,6 +1380,7 @@ Additional guidance: ${customGuidanceText}
|
|
|
1376
1380
|
When to call:
|
|
1377
1381
|
- You are blocked from completing the task due to missing information or access that the user cannot provide.
|
|
1378
1382
|
- A tool is persistently failing across multiple attempts, not just a single transient error.
|
|
1383
|
+
- The task requires a tool, permission, or capability you do not have.
|
|
1379
1384
|
- You genuinely cannot deliver what the user asked for despite trying.
|
|
1380
1385
|
|
|
1381
1386
|
When NOT to call:
|
package/dist/index.js
CHANGED
|
@@ -86,7 +86,7 @@ async function postJson(url, body, headers, opts) {
|
|
|
86
86
|
// package.json
|
|
87
87
|
var package_default = {
|
|
88
88
|
name: "@raindrop-ai/ai-sdk",
|
|
89
|
-
version: "0.0.
|
|
89
|
+
version: "0.0.14"};
|
|
90
90
|
|
|
91
91
|
// src/internal/version.ts
|
|
92
92
|
var libraryName = package_default.name;
|
|
@@ -1264,7 +1264,11 @@ var AGENT_REPORTING_SIGNALS_DEFAULT = {
|
|
|
1264
1264
|
sentiment: "NEGATIVE"
|
|
1265
1265
|
},
|
|
1266
1266
|
repeatedly_broken_tool: {
|
|
1267
|
-
description: "A tool has failed on multiple distinct attempts in this conversation, preventing task completion.
|
|
1267
|
+
description: "A tool has failed or not returned the expected response on multiple distinct attempts in this conversation, preventing task completion. A single tool error is NOT enough \u2014 the tool must be persistently broken or aberrantly behaving across retries.",
|
|
1268
|
+
sentiment: "NEGATIVE"
|
|
1269
|
+
},
|
|
1270
|
+
capability_gap: {
|
|
1271
|
+
description: "The task requires a tool, permission, or capability that you do not have. For example, the user asks you to perform an action but no suitable tool exists, or you lack the necessary access. Do NOT report this if you simply need more information from the user \u2014 only when the gap is in your own capabilities.",
|
|
1268
1272
|
sentiment: "NEGATIVE"
|
|
1269
1273
|
},
|
|
1270
1274
|
complete_task_failure: {
|
|
@@ -1378,6 +1382,7 @@ Additional guidance: ${customGuidanceText}
|
|
|
1378
1382
|
When to call:
|
|
1379
1383
|
- You are blocked from completing the task due to missing information or access that the user cannot provide.
|
|
1380
1384
|
- A tool is persistently failing across multiple attempts, not just a single transient error.
|
|
1385
|
+
- The task requires a tool, permission, or capability you do not have.
|
|
1381
1386
|
- You genuinely cannot deliver what the user asked for despite trying.
|
|
1382
1387
|
|
|
1383
1388
|
When NOT to call:
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { _resetWarnedMissingUserId, createRaindropAISDK, currentSpan, eventMetadata, getContextManager, withCurrent } from './chunk-
|
|
1
|
+
export { _resetWarnedMissingUserId, createRaindropAISDK, currentSpan, eventMetadata, getContextManager, withCurrent } from './chunk-D5WQJ6HY.mjs';
|
package/dist/index.node.js
CHANGED
|
@@ -90,7 +90,7 @@ async function postJson(url, body, headers, opts) {
|
|
|
90
90
|
// package.json
|
|
91
91
|
var package_default = {
|
|
92
92
|
name: "@raindrop-ai/ai-sdk",
|
|
93
|
-
version: "0.0.
|
|
93
|
+
version: "0.0.14"};
|
|
94
94
|
|
|
95
95
|
// src/internal/version.ts
|
|
96
96
|
var libraryName = package_default.name;
|
|
@@ -1268,7 +1268,11 @@ var AGENT_REPORTING_SIGNALS_DEFAULT = {
|
|
|
1268
1268
|
sentiment: "NEGATIVE"
|
|
1269
1269
|
},
|
|
1270
1270
|
repeatedly_broken_tool: {
|
|
1271
|
-
description: "A tool has failed on multiple distinct attempts in this conversation, preventing task completion.
|
|
1271
|
+
description: "A tool has failed or not returned the expected response on multiple distinct attempts in this conversation, preventing task completion. A single tool error is NOT enough \u2014 the tool must be persistently broken or aberrantly behaving across retries.",
|
|
1272
|
+
sentiment: "NEGATIVE"
|
|
1273
|
+
},
|
|
1274
|
+
capability_gap: {
|
|
1275
|
+
description: "The task requires a tool, permission, or capability that you do not have. For example, the user asks you to perform an action but no suitable tool exists, or you lack the necessary access. Do NOT report this if you simply need more information from the user \u2014 only when the gap is in your own capabilities.",
|
|
1272
1276
|
sentiment: "NEGATIVE"
|
|
1273
1277
|
},
|
|
1274
1278
|
complete_task_failure: {
|
|
@@ -1382,6 +1386,7 @@ Additional guidance: ${customGuidanceText}
|
|
|
1382
1386
|
When to call:
|
|
1383
1387
|
- You are blocked from completing the task due to missing information or access that the user cannot provide.
|
|
1384
1388
|
- A tool is persistently failing across multiple attempts, not just a single transient error.
|
|
1389
|
+
- The task requires a tool, permission, or capability you do not have.
|
|
1385
1390
|
- You genuinely cannot deliver what the user asked for despite trying.
|
|
1386
1391
|
|
|
1387
1392
|
When NOT to call:
|
package/dist/index.node.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _resetWarnedMissingUserId, createRaindropAISDK, currentSpan, eventMetadata, getContextManager, withCurrent } from './chunk-
|
|
1
|
+
export { _resetWarnedMissingUserId, createRaindropAISDK, currentSpan, eventMetadata, getContextManager, withCurrent } from './chunk-D5WQJ6HY.mjs';
|
|
2
2
|
import { AsyncLocalStorage } from 'async_hooks';
|
|
3
3
|
|
|
4
4
|
globalThis.RAINDROP_ASYNC_LOCAL_STORAGE = AsyncLocalStorage;
|
package/dist/index.workers.js
CHANGED
|
@@ -90,7 +90,7 @@ async function postJson(url, body, headers, opts) {
|
|
|
90
90
|
// package.json
|
|
91
91
|
var package_default = {
|
|
92
92
|
name: "@raindrop-ai/ai-sdk",
|
|
93
|
-
version: "0.0.
|
|
93
|
+
version: "0.0.14"};
|
|
94
94
|
|
|
95
95
|
// src/internal/version.ts
|
|
96
96
|
var libraryName = package_default.name;
|
|
@@ -1268,7 +1268,11 @@ var AGENT_REPORTING_SIGNALS_DEFAULT = {
|
|
|
1268
1268
|
sentiment: "NEGATIVE"
|
|
1269
1269
|
},
|
|
1270
1270
|
repeatedly_broken_tool: {
|
|
1271
|
-
description: "A tool has failed on multiple distinct attempts in this conversation, preventing task completion.
|
|
1271
|
+
description: "A tool has failed or not returned the expected response on multiple distinct attempts in this conversation, preventing task completion. A single tool error is NOT enough \u2014 the tool must be persistently broken or aberrantly behaving across retries.",
|
|
1272
|
+
sentiment: "NEGATIVE"
|
|
1273
|
+
},
|
|
1274
|
+
capability_gap: {
|
|
1275
|
+
description: "The task requires a tool, permission, or capability that you do not have. For example, the user asks you to perform an action but no suitable tool exists, or you lack the necessary access. Do NOT report this if you simply need more information from the user \u2014 only when the gap is in your own capabilities.",
|
|
1272
1276
|
sentiment: "NEGATIVE"
|
|
1273
1277
|
},
|
|
1274
1278
|
complete_task_failure: {
|
|
@@ -1382,6 +1386,7 @@ Additional guidance: ${customGuidanceText}
|
|
|
1382
1386
|
When to call:
|
|
1383
1387
|
- You are blocked from completing the task due to missing information or access that the user cannot provide.
|
|
1384
1388
|
- A tool is persistently failing across multiple attempts, not just a single transient error.
|
|
1389
|
+
- The task requires a tool, permission, or capability you do not have.
|
|
1385
1390
|
- You genuinely cannot deliver what the user asked for despite trying.
|
|
1386
1391
|
|
|
1387
1392
|
When NOT to call:
|
package/dist/index.workers.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _resetWarnedMissingUserId, createRaindropAISDK, currentSpan, eventMetadata, getContextManager, withCurrent } from './chunk-
|
|
1
|
+
export { _resetWarnedMissingUserId, createRaindropAISDK, currentSpan, eventMetadata, getContextManager, withCurrent } from './chunk-D5WQJ6HY.mjs';
|
|
2
2
|
import { AsyncLocalStorage } from 'async_hooks';
|
|
3
3
|
|
|
4
4
|
if (!globalThis.RAINDROP_ASYNC_LOCAL_STORAGE) {
|
package/package.json
CHANGED