@raindrop-ai/ai-sdk 0.0.12 → 0.0.13

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.12"};
87
+ version: "0.0.13"};
88
88
 
89
89
  // src/internal/version.ts
90
90
  var libraryName = package_default.name;
@@ -1265,6 +1265,10 @@ var AGENT_REPORTING_SIGNALS_DEFAULT = {
1265
1265
  description: "A tool has failed on multiple distinct attempts in this conversation, preventing task completion. You are sure the tool exists, and you have tried to use it, but it has failed. A single tool error is NOT enough \u2014 the tool must be persistently broken across retries.",
1266
1266
  sentiment: "NEGATIVE"
1267
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.",
1270
+ sentiment: "NEGATIVE"
1271
+ },
1268
1272
  complete_task_failure: {
1269
1273
  description: "You were unable to accomplish what the user asked despite making genuine attempts. This might be things like, you genuinely do not have the capabilities the user is asking for. You have tried but run into a persistent bug in the environment etc. This is NOT a refusal or policy block \u2014 you tried and failed to deliver the result.",
1270
1274
  sentiment: "NEGATIVE"
@@ -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.12"};
89
+ version: "0.0.13"};
90
90
 
91
91
  // src/internal/version.ts
92
92
  var libraryName = package_default.name;
@@ -1267,6 +1267,10 @@ var AGENT_REPORTING_SIGNALS_DEFAULT = {
1267
1267
  description: "A tool has failed on multiple distinct attempts in this conversation, preventing task completion. You are sure the tool exists, and you have tried to use it, but it has failed. A single tool error is NOT enough \u2014 the tool must be persistently broken across retries.",
1268
1268
  sentiment: "NEGATIVE"
1269
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.",
1272
+ sentiment: "NEGATIVE"
1273
+ },
1270
1274
  complete_task_failure: {
1271
1275
  description: "You were unable to accomplish what the user asked despite making genuine attempts. This might be things like, you genuinely do not have the capabilities the user is asking for. You have tried but run into a persistent bug in the environment etc. This is NOT a refusal or policy block \u2014 you tried and failed to deliver the result.",
1272
1276
  sentiment: "NEGATIVE"
@@ -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-TTHMNVY7.mjs';
1
+ export { _resetWarnedMissingUserId, createRaindropAISDK, currentSpan, eventMetadata, getContextManager, withCurrent } from './chunk-BQPXVMAV.mjs';
@@ -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.12"};
93
+ version: "0.0.13"};
94
94
 
95
95
  // src/internal/version.ts
96
96
  var libraryName = package_default.name;
@@ -1271,6 +1271,10 @@ var AGENT_REPORTING_SIGNALS_DEFAULT = {
1271
1271
  description: "A tool has failed on multiple distinct attempts in this conversation, preventing task completion. You are sure the tool exists, and you have tried to use it, but it has failed. A single tool error is NOT enough \u2014 the tool must be persistently broken across retries.",
1272
1272
  sentiment: "NEGATIVE"
1273
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.",
1276
+ sentiment: "NEGATIVE"
1277
+ },
1274
1278
  complete_task_failure: {
1275
1279
  description: "You were unable to accomplish what the user asked despite making genuine attempts. This might be things like, you genuinely do not have the capabilities the user is asking for. You have tried but run into a persistent bug in the environment etc. This is NOT a refusal or policy block \u2014 you tried and failed to deliver the result.",
1276
1280
  sentiment: "NEGATIVE"
@@ -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:
@@ -1,4 +1,4 @@
1
- export { _resetWarnedMissingUserId, createRaindropAISDK, currentSpan, eventMetadata, getContextManager, withCurrent } from './chunk-TTHMNVY7.mjs';
1
+ export { _resetWarnedMissingUserId, createRaindropAISDK, currentSpan, eventMetadata, getContextManager, withCurrent } from './chunk-BQPXVMAV.mjs';
2
2
  import { AsyncLocalStorage } from 'async_hooks';
3
3
 
4
4
  globalThis.RAINDROP_ASYNC_LOCAL_STORAGE = AsyncLocalStorage;
@@ -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.12"};
93
+ version: "0.0.13"};
94
94
 
95
95
  // src/internal/version.ts
96
96
  var libraryName = package_default.name;
@@ -1271,6 +1271,10 @@ var AGENT_REPORTING_SIGNALS_DEFAULT = {
1271
1271
  description: "A tool has failed on multiple distinct attempts in this conversation, preventing task completion. You are sure the tool exists, and you have tried to use it, but it has failed. A single tool error is NOT enough \u2014 the tool must be persistently broken across retries.",
1272
1272
  sentiment: "NEGATIVE"
1273
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.",
1276
+ sentiment: "NEGATIVE"
1277
+ },
1274
1278
  complete_task_failure: {
1275
1279
  description: "You were unable to accomplish what the user asked despite making genuine attempts. This might be things like, you genuinely do not have the capabilities the user is asking for. You have tried but run into a persistent bug in the environment etc. This is NOT a refusal or policy block \u2014 you tried and failed to deliver the result.",
1276
1280
  sentiment: "NEGATIVE"
@@ -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:
@@ -1,4 +1,4 @@
1
- export { _resetWarnedMissingUserId, createRaindropAISDK, currentSpan, eventMetadata, getContextManager, withCurrent } from './chunk-TTHMNVY7.mjs';
1
+ export { _resetWarnedMissingUserId, createRaindropAISDK, currentSpan, eventMetadata, getContextManager, withCurrent } from './chunk-BQPXVMAV.mjs';
2
2
  import { AsyncLocalStorage } from 'async_hooks';
3
3
 
4
4
  if (!globalThis.RAINDROP_ASYNC_LOCAL_STORAGE) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raindrop-ai/ai-sdk",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "Standalone Vercel AI SDK integration for Raindrop (events + OTLP/HTTP JSON traces, no OTEL runtime)",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",