Skip to content

Commit 2f13c45

Browse files
committed
Add necessary package.json changes
1 parent f8b45f8 commit 2f13c45

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@playwright/test": "^1.44.1",
2727
"chalk": "^5.3.0",
2828
"eslint": "^7.32.0",
29-
"eslint-config-vercel-ai": "workspace:*",
29+
"eslint-config-vercel-ai": "tools/eslint-config",
3030
"husky": "^8.0.0",
3131
"lint-staged": "^15.2.4",
3232
"next": "15.0.0-canary.23",
@@ -57,5 +57,9 @@
5757
"singleQuote": true,
5858
"arrowParens": "avoid",
5959
"trailingComma": "all"
60+
},
61+
"workspaces": ["tools/eslint-config"],
62+
"exports": {
63+
"@ai-sdk": "./packages"
6064
}
6165
}

packages/ui-utils/src/use-assistant-types.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,11 @@ Custom fetch implementation. You can use it as a middleware to intercept request
4343
or to provide a custom fetch implementation for e.g. testing.
4444
*/
4545
fetch?: FetchFunction;
46+
47+
/**
48+
* Added by Hypercontext for internal use
49+
*
50+
* An optional flag to retrieve metadata of each message
51+
*/
52+
sendMessageMetadata?: boolean;
4653
};

0 commit comments

Comments
 (0)