@fallen-8/studio 0.0.39 → 0.0.41
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-lib/{cssMode-Dd6oqVGH.js → cssMode-D1NlzDPx.js} +1 -1
- package/dist-lib/f8-studio.css +1 -1
- package/dist-lib/f8-studio.js +1 -1
- package/dist-lib/{freemarker2-_7Qea7qU.js → freemarker2-CrBRvGKg.js} +1 -1
- package/dist-lib/{handlebars-BrjKnoRC.js → handlebars-W5SMQqxd.js} +1 -1
- package/dist-lib/{html-CZOSsAmT.js → html-DZTQl6sO.js} +1 -1
- package/dist-lib/{htmlMode-DmeNRJyP.js → htmlMode-CmIqWW38.js} +1 -1
- package/dist-lib/{index-CGOXemLg.js → index-CvTaRCl2.js} +10767 -10758
- package/dist-lib/{javascript-E9zK2eIG.js → javascript-CC1plgfU.js} +1 -1
- package/dist-lib/{jsonMode-BmT8sixk.js → jsonMode-Dgapx20x.js} +1 -1
- package/dist-lib/{liquid-mEomZ5zY.js → liquid-CJtd-_PM.js} +1 -1
- package/dist-lib/{mdx-poAEdYDh.js → mdx-DklMLbYP.js} +1 -1
- package/dist-lib/{python-BkeUbXrt.js → python-Bv0mXIds.js} +1 -1
- package/dist-lib/{razor-CSXbiZmb.js → razor-BpSZBTCI.js} +1 -1
- package/dist-lib/{tsMode-jcKLVReC.js → tsMode-BeQ9glnY.js} +1 -1
- package/dist-lib/types/api/types.d.ts +10 -0
- package/dist-lib/types/lib/configCatalog.d.ts +12 -0
- package/dist-lib/types/state/namespaces.d.ts +34 -0
- package/dist-lib/{typescript-BqWn12P7.js → typescript-xZxa-xcs.js} +1 -1
- package/dist-lib/{xml-BkH9m6gQ.js → xml-jUj0aviS.js} +1 -1
- package/dist-lib/{yaml-DURIwCnM.js → yaml-BrunG_a8.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as Et } from "./index-
|
|
1
|
+
import { m as Et } from "./index-CvTaRCl2.js";
|
|
2
2
|
var Lt = Object.defineProperty, Ot = Object.getOwnPropertyDescriptor, Nt = Object.getOwnPropertyNames, Rt = Object.prototype.hasOwnProperty, Mt = (e, r, i, n) => {
|
|
3
3
|
if (r && typeof r == "object" || typeof r == "function")
|
|
4
4
|
for (let t of Nt(r))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as l } from "./index-
|
|
1
|
+
import { m as l } from "./index-CvTaRCl2.js";
|
|
2
2
|
var d = Object.defineProperty, s = Object.getOwnPropertyDescriptor, c = Object.getOwnPropertyNames, u = Object.prototype.hasOwnProperty, m = (t, e, r, n) => {
|
|
3
3
|
if (e && typeof e == "object" || typeof e == "function")
|
|
4
4
|
for (let i of c(e))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as s } from "./index-
|
|
1
|
+
import { m as s } from "./index-CvTaRCl2.js";
|
|
2
2
|
var d = Object.defineProperty, c = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, a = Object.prototype.hasOwnProperty, k = (n, e, i, r) => {
|
|
3
3
|
if (e && typeof e == "object" || typeof e == "function")
|
|
4
4
|
for (let o of p(e))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as o } from "./index-
|
|
1
|
+
import { m as o } from "./index-CvTaRCl2.js";
|
|
2
2
|
var a = Object.defineProperty, l = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, c = Object.prototype.hasOwnProperty, g = (t, e, n, s) => {
|
|
3
3
|
if (e && typeof e == "object" || typeof e == "function")
|
|
4
4
|
for (let r of p(e))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m } from "./index-
|
|
1
|
+
import { m } from "./index-CvTaRCl2.js";
|
|
2
2
|
var s = Object.defineProperty, c = Object.getOwnPropertyDescriptor, l = Object.getOwnPropertyNames, d = Object.prototype.hasOwnProperty, p = (t, e, o, n) => {
|
|
3
3
|
if (e && typeof e == "object" || typeof e == "function")
|
|
4
4
|
for (let r of l(e))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as O, m as I } from "./index-
|
|
1
|
+
import { t as O, m as I } from "./index-CvTaRCl2.js";
|
|
2
2
|
var N = Object.defineProperty, M = Object.getOwnPropertyDescriptor, R = Object.getOwnPropertyNames, K = Object.prototype.hasOwnProperty, E = (e, t, i, o) => {
|
|
3
3
|
if (t && typeof t == "object" || typeof t == "function")
|
|
4
4
|
for (let n of R(t))
|
|
@@ -438,8 +438,18 @@ export interface ChatProviderStatsREST {
|
|
|
438
438
|
/**
|
|
439
439
|
* From the configured options, not from a probe target: reported for EVERY backend, including
|
|
440
440
|
* the ones with no residency API.
|
|
441
|
+
*
|
|
442
|
+
* The ASSIST purpose's model. It keeps the bare name `model` deliberately: every reader of it
|
|
443
|
+
* predates the purposes, and renaming it would have changed a contract to add one.
|
|
441
444
|
*/
|
|
442
445
|
model: string | null;
|
|
446
|
+
/**
|
|
447
|
+
* The AGENT purpose's model (feature agent-host), or null when the selected backend names none,
|
|
448
|
+
* which is the shipped state for OpenAI and Anthropic. Distinct from `model` because the two are
|
|
449
|
+
* configured by different people for different reasons: the assist model is the fine-tune, the
|
|
450
|
+
* agent model is a general one that can call tools.
|
|
451
|
+
*/
|
|
452
|
+
agentModel?: string | null;
|
|
443
453
|
loaded: boolean;
|
|
444
454
|
resident?: boolean | null;
|
|
445
455
|
gpu?: boolean | null;
|
|
@@ -62,6 +62,18 @@ export interface SectionGroup {
|
|
|
62
62
|
/** The sub-groups, direct keys first; a single unlabelled group when the section renders flat. */
|
|
63
63
|
groups: SettingGroup[];
|
|
64
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* The purposes a chat completion can name, as they are spelled in a settings key
|
|
67
|
+
* (`Fallen8:Chat:<Backend>:Models:<Purpose>`). ONE list, so a surface that offers something per
|
|
68
|
+
* purpose cannot offer it for a subset: the server resolves the model per purpose and refuses a
|
|
69
|
+
* completion whose purpose names none, which is a state an operator has to be able to see and fix
|
|
70
|
+
* for every purpose that exists.
|
|
71
|
+
*
|
|
72
|
+
* Order is the order they are shown in, and `Assist` is first because it is the purpose a
|
|
73
|
+
* completion gets when it names none. Not because it is the one an instance has configured: the
|
|
74
|
+
* two Ollama-protocol backends default BOTH purposes and the two metered ones default neither.
|
|
75
|
+
*/
|
|
76
|
+
export declare const CHAT_PURPOSES: readonly string[];
|
|
65
77
|
/**
|
|
66
78
|
* Buckets the published settings into the ordered sections, preserving the server's order within a
|
|
67
79
|
* raw section: the catalog authors related keys adjacently (an index switch is followed by the index
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { InstanceConfig } from "../instances/types";
|
|
2
|
+
/**
|
|
3
|
+
* The key the shared /ns cache entry lives under, exported because several sites INVALIDATE it and
|
|
4
|
+
* not all of them are in a position to hold the hook. state/liveFeed.ts is a plain factory over a
|
|
5
|
+
* queryClient and debounces by key rather than calling invalidateQueries at all, and
|
|
6
|
+
* NamespaceSwitcher takes its entries as a prop; a hook-returned callback would force both to
|
|
7
|
+
* mount an observer they do not want. So the KEY is the shared thing, and this is its one home.
|
|
8
|
+
*
|
|
9
|
+
* Takes the instance id as a string rather than an InstanceConfig, because liveFeed has already
|
|
10
|
+
* stripped a bound view's /{namespace} suffix down to the raw id. undefined is accepted so the
|
|
11
|
+
* sites holding a nullable instance produce byte-identical keys to the ones they used before.
|
|
12
|
+
*/
|
|
13
|
+
export declare const namespacesKey: (instanceId: string | undefined) => readonly [string | undefined, "namespaces"];
|
|
14
|
+
/**
|
|
15
|
+
* The shared namespace inventory (feature graph-namespaces): one cache row and one poll, read by
|
|
16
|
+
* the app shell, the namespace scope, the Connect panel and each registered instance's health row.
|
|
17
|
+
*
|
|
18
|
+
* The inventory is Fallen-8-level, so it is keyed by the RAW instance id rather than per namespace,
|
|
19
|
+
* and every observer of that key rides one request instead of adding its own. It was four
|
|
20
|
+
* definitions of the same query before, agreeing on the key, the poll and the retry and disagreeing
|
|
21
|
+
* on when to ask.
|
|
22
|
+
*
|
|
23
|
+
* `enabled` NARROWS and never widens: it is ANDed with the instance being present, so no caller can
|
|
24
|
+
* hand listNamespaces a null. Each site's own predicate stays that site's business and is passed
|
|
25
|
+
* in, because react-query takes the fetch decision from whichever observer is mounted, and two of
|
|
26
|
+
* the four are the ONLY observer of this key on the routes they render on. Their gates therefore
|
|
27
|
+
* decide whether a request happens at all, not merely when, which is why they are not defaults:
|
|
28
|
+
* the app shell is alone on the routes that hang off the root rather than off a namespace, and an
|
|
29
|
+
* instance health row renders for every registered instance including the ones nothing else
|
|
30
|
+
* observes.
|
|
31
|
+
*/
|
|
32
|
+
export declare function useNamespaces(instance: InstanceConfig | null, options?: {
|
|
33
|
+
enabled?: boolean;
|
|
34
|
+
}): import("@tanstack/react-query").UseQueryResult<NoInfer<import("../api/types").NamespacesResponse | null>, Error>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as s } from "./index-
|
|
1
|
+
import { m as s } from "./index-CvTaRCl2.js";
|
|
2
2
|
var c = Object.defineProperty, a = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, g = Object.prototype.hasOwnProperty, l = (t, e, o, i) => {
|
|
3
3
|
if (e && typeof e == "object" || typeof e == "function")
|
|
4
4
|
for (let n of p(e))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as r } from "./index-
|
|
1
|
+
import { m as r } from "./index-CvTaRCl2.js";
|
|
2
2
|
var m = Object.defineProperty, c = Object.getOwnPropertyDescriptor, l = Object.getOwnPropertyNames, d = Object.prototype.hasOwnProperty, p = (t, e, o, i) => {
|
|
3
3
|
if (e && typeof e == "object" || typeof e == "function")
|
|
4
4
|
for (let n of l(e))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as l } from "./index-
|
|
1
|
+
import { m as l } from "./index-CvTaRCl2.js";
|
|
2
2
|
var i = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = Object.getOwnPropertyNames, s = Object.prototype.hasOwnProperty, d = (n, e, r, o) => {
|
|
3
3
|
if (e && typeof e == "object" || typeof e == "function")
|
|
4
4
|
for (let t of u(e))
|
package/package.json
CHANGED