@fallen-8/studio 0.0.39 → 0.0.40

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.
@@ -1,4 +1,4 @@
1
- import { conf as t, language as e } from "./typescript-BqWn12P7.js";
1
+ import { conf as t, language as e } from "./typescript-CN4PnAKf.js";
2
2
  var i = t, o = {
3
3
  // Set defaultToken to invalid to see what you do not tokenize yet
4
4
  defaultToken: "invalid",
@@ -1,4 +1,4 @@
1
- import { m as Et } from "./index-CGOXemLg.js";
1
+ import { m as Et } from "./index-bm1ERcEP.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-CGOXemLg.js";
1
+ import { m as l } from "./index-bm1ERcEP.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-CGOXemLg.js";
1
+ import { m as s } from "./index-bm1ERcEP.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-CGOXemLg.js";
1
+ import { m as o } from "./index-bm1ERcEP.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-CGOXemLg.js";
1
+ import { m } from "./index-bm1ERcEP.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-CGOXemLg.js";
1
+ import { t as O, m as I } from "./index-bm1ERcEP.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
@@ -1,4 +1,4 @@
1
- import { m as s } from "./index-CGOXemLg.js";
1
+ import { m as s } from "./index-bm1ERcEP.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-CGOXemLg.js";
1
+ import { m as r } from "./index-bm1ERcEP.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-CGOXemLg.js";
1
+ import { m as l } from "./index-bm1ERcEP.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fallen-8/studio",
3
- "version": "0.0.39",
3
+ "version": "0.0.40",
4
4
  "description": "F8 Studio - browser frontend for Fallen-8 instances, and its graph canvas as a standalone component",
5
5
  "license": "MIT",
6
6
  "author": "Henning Rauch",