@camstack/addon-model-studio 1.1.76 → 1.1.77
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/dist/_stub.js +1 -1
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-BadiMIfa.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-BcHPfjMz.mjs} +4 -4
- package/dist/{hostInit-4jSWH4pQ.mjs → hostInit-BpzIfkci.mjs} +3 -3
- package/dist/model-studio.addon.js +44 -5
- package/dist/model-studio.addon.mjs +44 -5
- package/dist/remoteEntry.js +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-4m_iUM1u.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-COs-som8.mjs} +1 -1
- package/package.json +1 -1
package/dist/_stub.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./virtualExposes-CWSi4E_g.mjs";
|
|
2
|
-
import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-
|
|
2
|
+
import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-COs-som8.mjs";
|
|
3
3
|
import { _ as e, c as t, d as n, h as r, i, l as a, m as o, p as s, r as c, t as l, u, y as d } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs";
|
|
4
4
|
import { a as f, i as p, o as m, r as h, s as g } from "./responsive-tzpyoEkR.mjs";
|
|
5
5
|
import { c as _, l as v, u as y } from "./use-device-snapshot-DZ4fhS5g.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-
|
|
1
|
+
import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-COs-som8.mjs";
|
|
2
2
|
//#region \0virtual:mf-localSharedImportMap:__mfe_internal__addon_model_studio_page
|
|
3
3
|
var e = {
|
|
4
4
|
"@camstack/sdk": {
|
|
5
5
|
name: "@camstack/sdk",
|
|
6
|
-
version: "1.2.
|
|
6
|
+
version: "1.2.58",
|
|
7
7
|
scope: ["default"],
|
|
8
8
|
loaded: !1,
|
|
9
9
|
from: "addon_model_studio_page",
|
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.2.
|
|
21
|
+
version: "1.2.138",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_model_studio_page",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.2.
|
|
36
|
+
version: "1.2.104",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_model_studio_page",
|
|
@@ -36,7 +36,7 @@ async function r() {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"@camstack/types": {
|
|
39
|
-
version: "1.2.
|
|
39
|
+
version: "1.2.138",
|
|
40
40
|
scope: "default",
|
|
41
41
|
shareConfig: {
|
|
42
42
|
singleton: !0,
|
|
@@ -45,7 +45,7 @@ async function r() {
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"@camstack/sdk": {
|
|
48
|
-
version: "1.2.
|
|
48
|
+
version: "1.2.58",
|
|
49
49
|
scope: "default",
|
|
50
50
|
shareConfig: {
|
|
51
51
|
singleton: !0,
|
|
@@ -81,7 +81,7 @@ async function r() {
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
"@camstack/ui-library": {
|
|
84
|
-
version: "1.2.
|
|
84
|
+
version: "1.2.104",
|
|
85
85
|
scope: "default",
|
|
86
86
|
shareConfig: {
|
|
87
87
|
singleton: !0,
|
|
@@ -13880,6 +13880,35 @@ method(_void(), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
|
13880
13880
|
auth: "admin"
|
|
13881
13881
|
});
|
|
13882
13882
|
/**
|
|
13883
|
+
* Transport bounds for AI capability methods.
|
|
13884
|
+
*
|
|
13885
|
+
* Its own module because `llm.cap.ts` and `llm-runtime.cap.ts` already import
|
|
13886
|
+
* each other: declaring the constant in either one hands the other `undefined`
|
|
13887
|
+
* at module-init time, and an undefined `timeoutMs` silently falls back to the
|
|
13888
|
+
* kernel's 60 s default — the exact failure this constant exists to prevent,
|
|
13889
|
+
* reintroduced invisibly. Found by the guard, not by review.
|
|
13890
|
+
*/
|
|
13891
|
+
/**
|
|
13892
|
+
* Ceiling for a cap method that runs inference or loads a model.
|
|
13893
|
+
*
|
|
13894
|
+
* Deliberately far above anything the AI layer itself may wait for (a summary
|
|
13895
|
+
* asks 180 s by default, a rule may ask 600 s), because the TRANSPORT must
|
|
13896
|
+
* never be the layer that gives up first: when it does, the failure is
|
|
13897
|
+
* reported as a transport error for a model that was still thinking, naming
|
|
13898
|
+
* the wrong layer and hiding the real one.
|
|
13899
|
+
*
|
|
13900
|
+
* Measured 2026-09-03: a 6-image vision request needs 44.8 s warm and ~20 s
|
|
13901
|
+
* more on a cold model load. With no declaration every digest failed at
|
|
13902
|
+
* exactly 60 s and shipped without its text.
|
|
13903
|
+
*
|
|
13904
|
+
* A ceiling, not a budget. The AI layer's own timeouts (the rule's `timeoutMs`,
|
|
13905
|
+
* the profile's `timeoutMs` / `firstTokenTimeoutMs`) remain the things that
|
|
13906
|
+
* decide when to stop, because only they can say WHY.
|
|
13907
|
+
*/
|
|
13908
|
+
var AI_CAP_TRANSPORT_TIMEOUT_MS = 6e5;
|
|
13909
|
+
/** A multi-gigabyte download. An hour is not generous, it is honest. */
|
|
13910
|
+
var AI_MODEL_INSTALL_TIMEOUT_MS = 60 * 6e4;
|
|
13911
|
+
/**
|
|
13883
13912
|
* Shared LLM generate contracts — imported by BOTH `llm.cap.ts` (consumer
|
|
13884
13913
|
* surface) and `llm-runtime.cap.ts` (node-side managed executor) so the two
|
|
13885
13914
|
* caps stay wire-compatible without a circular cap→cap import.
|
|
@@ -14151,16 +14180,19 @@ method(LlmGenerateBaseInputSchema.extend({
|
|
|
14151
14180
|
timeoutMs: number().int().positive().optional()
|
|
14152
14181
|
}), LlmGenerateResultSchema, {
|
|
14153
14182
|
kind: "mutation",
|
|
14154
|
-
auth: "admin"
|
|
14183
|
+
auth: "admin",
|
|
14184
|
+
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
14155
14185
|
}), method(object({ runtime: ManagedRuntimeConfigSchema }), LlmRuntimeStatusSchema, {
|
|
14156
14186
|
kind: "mutation",
|
|
14157
|
-
auth: "admin"
|
|
14187
|
+
auth: "admin",
|
|
14188
|
+
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
14158
14189
|
}), method(object({}), _void(), {
|
|
14159
14190
|
kind: "mutation",
|
|
14160
14191
|
auth: "admin"
|
|
14161
14192
|
}), method(object({}), LlmRuntimeStatusSchema, { auth: "admin" }), method(object({ model: ManagedModelRefSchema }), _void(), {
|
|
14162
14193
|
kind: "mutation",
|
|
14163
|
-
auth: "admin"
|
|
14194
|
+
auth: "admin",
|
|
14195
|
+
timeoutMs: AI_MODEL_INSTALL_TIMEOUT_MS
|
|
14164
14196
|
}), method(object({ file: string() }), _void(), {
|
|
14165
14197
|
kind: "mutation",
|
|
14166
14198
|
auth: "admin"
|
|
@@ -14328,7 +14360,13 @@ var ProfileRefInputSchema = object({
|
|
|
14328
14360
|
addonId: string(),
|
|
14329
14361
|
profileId: string()
|
|
14330
14362
|
});
|
|
14331
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
14363
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
14364
|
+
kind: "mutation",
|
|
14365
|
+
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
14366
|
+
}), method(GenerateVisionInputSchema, LlmGenerateResultSchema, {
|
|
14367
|
+
kind: "mutation",
|
|
14368
|
+
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
14369
|
+
}), method(object({
|
|
14332
14370
|
addonId: string().optional(),
|
|
14333
14371
|
requestId: string()
|
|
14334
14372
|
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
@@ -14339,7 +14377,8 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }
|
|
|
14339
14377
|
auth: "admin"
|
|
14340
14378
|
}), method(ProfileRefInputSchema, LlmGenerateResultSchema, {
|
|
14341
14379
|
kind: "mutation",
|
|
14342
|
-
auth: "admin"
|
|
14380
|
+
auth: "admin",
|
|
14381
|
+
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
14343
14382
|
}), method(ProfileRefInputSchema, array(string())), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
14344
14383
|
selector: LlmDefaultSelectorSchema,
|
|
14345
14384
|
profileId: string().nullable()
|
|
@@ -13859,6 +13859,35 @@ method(_void(), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
|
13859
13859
|
auth: "admin"
|
|
13860
13860
|
});
|
|
13861
13861
|
/**
|
|
13862
|
+
* Transport bounds for AI capability methods.
|
|
13863
|
+
*
|
|
13864
|
+
* Its own module because `llm.cap.ts` and `llm-runtime.cap.ts` already import
|
|
13865
|
+
* each other: declaring the constant in either one hands the other `undefined`
|
|
13866
|
+
* at module-init time, and an undefined `timeoutMs` silently falls back to the
|
|
13867
|
+
* kernel's 60 s default — the exact failure this constant exists to prevent,
|
|
13868
|
+
* reintroduced invisibly. Found by the guard, not by review.
|
|
13869
|
+
*/
|
|
13870
|
+
/**
|
|
13871
|
+
* Ceiling for a cap method that runs inference or loads a model.
|
|
13872
|
+
*
|
|
13873
|
+
* Deliberately far above anything the AI layer itself may wait for (a summary
|
|
13874
|
+
* asks 180 s by default, a rule may ask 600 s), because the TRANSPORT must
|
|
13875
|
+
* never be the layer that gives up first: when it does, the failure is
|
|
13876
|
+
* reported as a transport error for a model that was still thinking, naming
|
|
13877
|
+
* the wrong layer and hiding the real one.
|
|
13878
|
+
*
|
|
13879
|
+
* Measured 2026-09-03: a 6-image vision request needs 44.8 s warm and ~20 s
|
|
13880
|
+
* more on a cold model load. With no declaration every digest failed at
|
|
13881
|
+
* exactly 60 s and shipped without its text.
|
|
13882
|
+
*
|
|
13883
|
+
* A ceiling, not a budget. The AI layer's own timeouts (the rule's `timeoutMs`,
|
|
13884
|
+
* the profile's `timeoutMs` / `firstTokenTimeoutMs`) remain the things that
|
|
13885
|
+
* decide when to stop, because only they can say WHY.
|
|
13886
|
+
*/
|
|
13887
|
+
var AI_CAP_TRANSPORT_TIMEOUT_MS = 6e5;
|
|
13888
|
+
/** A multi-gigabyte download. An hour is not generous, it is honest. */
|
|
13889
|
+
var AI_MODEL_INSTALL_TIMEOUT_MS = 60 * 6e4;
|
|
13890
|
+
/**
|
|
13862
13891
|
* Shared LLM generate contracts — imported by BOTH `llm.cap.ts` (consumer
|
|
13863
13892
|
* surface) and `llm-runtime.cap.ts` (node-side managed executor) so the two
|
|
13864
13893
|
* caps stay wire-compatible without a circular cap→cap import.
|
|
@@ -14130,16 +14159,19 @@ method(LlmGenerateBaseInputSchema.extend({
|
|
|
14130
14159
|
timeoutMs: number().int().positive().optional()
|
|
14131
14160
|
}), LlmGenerateResultSchema, {
|
|
14132
14161
|
kind: "mutation",
|
|
14133
|
-
auth: "admin"
|
|
14162
|
+
auth: "admin",
|
|
14163
|
+
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
14134
14164
|
}), method(object({ runtime: ManagedRuntimeConfigSchema }), LlmRuntimeStatusSchema, {
|
|
14135
14165
|
kind: "mutation",
|
|
14136
|
-
auth: "admin"
|
|
14166
|
+
auth: "admin",
|
|
14167
|
+
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
14137
14168
|
}), method(object({}), _void(), {
|
|
14138
14169
|
kind: "mutation",
|
|
14139
14170
|
auth: "admin"
|
|
14140
14171
|
}), method(object({}), LlmRuntimeStatusSchema, { auth: "admin" }), method(object({ model: ManagedModelRefSchema }), _void(), {
|
|
14141
14172
|
kind: "mutation",
|
|
14142
|
-
auth: "admin"
|
|
14173
|
+
auth: "admin",
|
|
14174
|
+
timeoutMs: AI_MODEL_INSTALL_TIMEOUT_MS
|
|
14143
14175
|
}), method(object({ file: string() }), _void(), {
|
|
14144
14176
|
kind: "mutation",
|
|
14145
14177
|
auth: "admin"
|
|
@@ -14307,7 +14339,13 @@ var ProfileRefInputSchema = object({
|
|
|
14307
14339
|
addonId: string(),
|
|
14308
14340
|
profileId: string()
|
|
14309
14341
|
});
|
|
14310
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
14342
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
14343
|
+
kind: "mutation",
|
|
14344
|
+
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
14345
|
+
}), method(GenerateVisionInputSchema, LlmGenerateResultSchema, {
|
|
14346
|
+
kind: "mutation",
|
|
14347
|
+
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
14348
|
+
}), method(object({
|
|
14311
14349
|
addonId: string().optional(),
|
|
14312
14350
|
requestId: string()
|
|
14313
14351
|
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
@@ -14318,7 +14356,8 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }
|
|
|
14318
14356
|
auth: "admin"
|
|
14319
14357
|
}), method(ProfileRefInputSchema, LlmGenerateResultSchema, {
|
|
14320
14358
|
kind: "mutation",
|
|
14321
|
-
auth: "admin"
|
|
14359
|
+
auth: "admin",
|
|
14360
|
+
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
14322
14361
|
}), method(ProfileRefInputSchema, array(string())), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
14323
14362
|
selector: LlmDefaultSelectorSchema,
|
|
14324
14363
|
profileId: string().nullable()
|
package/dist/remoteEntry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-
|
|
1
|
+
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-COs-som8.mjs";
|
|
2
2
|
export { t as get, e as init };
|
|
@@ -2753,7 +2753,7 @@ async function rr(e) {
|
|
|
2753
2753
|
}
|
|
2754
2754
|
}
|
|
2755
2755
|
async function ir() {
|
|
2756
|
-
return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-
|
|
2756
|
+
return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-BcHPfjMz.mjs")).catch((e) => {
|
|
2757
2757
|
throw tr = void 0, e;
|
|
2758
2758
|
}), tr;
|
|
2759
2759
|
}
|