@jami-studio/core 0.92.24 → 0.92.26
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.
- package/corpus/core/CHANGELOG.md +12 -0
- package/corpus/core/package.json +1 -1
- package/corpus/core/src/deploy/build.ts +6 -1
- package/corpus/core/src/extensions/url-safety.ts +363 -306
- package/corpus/templates/content/actions/list-comments.ts +1 -2
- package/dist/collab/awareness.d.ts +2 -2
- package/dist/collab/awareness.d.ts.map +1 -1
- package/dist/deploy/build.d.ts.map +1 -1
- package/dist/deploy/build.js +6 -1
- package/dist/deploy/build.js.map +1 -1
- package/dist/extensions/url-safety.d.ts +14 -0
- package/dist/extensions/url-safety.d.ts.map +1 -1
- package/dist/extensions/url-safety.js +62 -2
- package/dist/extensions/url-safety.js.map +1 -1
- package/dist/file-upload/actions/upload-image.d.ts +1 -1
- package/dist/observability/routes.d.ts +3 -3
- package/dist/progress/routes.d.ts +1 -1
- package/dist/resources/handlers.d.ts +2 -2
- package/dist/server/agent-engine-api-key-route.d.ts +1 -1
- package/package.json +1 -1
package/corpus/core/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @agent-native/core
|
|
2
2
|
|
|
3
|
+
## 0.92.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 64f78fe: ssrfSafeFetch trusts the deployment's OWN configured origins (APP_URL, BETTER_AUTH_URL, WEBHOOK_BASE_URL, WORKSPACE_GATEWAY_URL, workspace app manifest URLs). These are operator configuration, not user input, so a fetch to them is a self-call — the private-address guard was blocking every workspace-internal A2A call (call-agent to a sibling app) on local dev and self-hosted private networks. Only exact origin matches are trusted; redirect hops are still re-validated, so a trusted origin cannot 30x into the private network, and the default posture with no configured origins is unchanged.
|
|
8
|
+
|
|
9
|
+
## 0.92.25
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- faf05e0: Cloudflare worker bundles the real @anthropic-ai/sdk instead of an empty-class stub. The SDK is pure fetch-based JS that runs on workerd, and the BYOK Anthropic agent engine constructs it at runtime — the stub made every agent chat run on a Cloudflare deployment die with "Cannot read properties of undefined (reading 'stream')". The WASM tokenizer stays stubbed (token counts degrade to estimates).
|
|
14
|
+
|
|
3
15
|
## 0.92.24
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/corpus/core/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-native/core",
|
|
3
|
-
"version": "0.92.
|
|
3
|
+
"version": "0.92.26",
|
|
4
4
|
"description": "Framework for agent-native application development — where AI agents and UI share SQL state, actions, and context",
|
|
5
5
|
"homepage": "https://github.com/studio-jami/jami-studio#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -134,7 +134,12 @@ export const CLOUDFLARE_WORKER_STUB_MODULES: Record<string, string> = {
|
|
|
134
134
|
chokidar: "export default {}; export const watch = () => ({ close() {} });\n",
|
|
135
135
|
fsevents: "export default {}; export const watch = () => ({ close() {} });\n",
|
|
136
136
|
dotenv: "export default {}; export const config = () => ({ parsed: {} });\n",
|
|
137
|
-
|
|
137
|
+
// NOTE: @anthropic-ai/sdk is deliberately NOT stubbed. It is pure
|
|
138
|
+
// fetch-based JS that runs fine on workerd, and the BYOK Anthropic engine
|
|
139
|
+
// (agent chat) constructs it at runtime — an empty-class stub makes every
|
|
140
|
+
// agent run die with "Cannot read properties of undefined (reading
|
|
141
|
+
// 'stream')". Only its tokenizer (WASM, unbundleable) stays stubbed; the
|
|
142
|
+
// token-count call sites degrade to char/4 estimates.
|
|
138
143
|
"@anthropic-ai/tokenizer":
|
|
139
144
|
"export default {}; export const countTokens = undefined;\n",
|
|
140
145
|
"@sentry/node": [
|