@things-factory/ai-assistant 10.1.303 → 10.1.304

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.
@@ -15,7 +15,7 @@ export default function bootstrap() {
15
15
  return;
16
16
  store.dispatch({
17
17
  type: ADD_SETTING,
18
- setting: { seq: 60, scope: 'tenant', template: html `<ai-agent-setting-let></ai-agent-setting-let>` }
18
+ setting: { seq: 60, scope: 'tenant', section: 'connection', template: html `<ai-agent-setting-let></ai-agent-setting-let>` }
19
19
  });
20
20
  });
21
21
  }
@@ -45,14 +45,22 @@ export declare class OxAssistantSelectionBar extends LitElement {
45
45
  assistant: boolean;
46
46
  count: number;
47
47
  request: string;
48
+ /** The page's own export (its context `exportable`) - the bar exports the picked rows the same way. */
49
+ private exportable?;
48
50
  private get grid();
49
51
  private root?;
50
52
  private recount;
51
53
  private onRunnerChange;
54
+ private unsubscribe?;
55
+ private readExportable;
52
56
  connectedCallback(): void;
53
57
  disconnectedCallback(): void;
54
58
  willUpdate(changes: Map<string, unknown>): void;
55
59
  ask(request?: string): Promise<void>;
60
+ private get exportAction();
61
+ private exportPicked;
62
+ /** The list's actions, with 「선택 내보내기」 before the destructive ones (those stay last). */
63
+ private get allActions();
56
64
  /** One action on the picked rows: its icon and name, destructive ones in the error colour, the reason when it cannot run. */
57
65
  private renderAction;
58
66
  render(): import("lit-html").TemplateResult<1> | typeof nothing;
@@ -5,6 +5,8 @@ import { customElement, property, state } from 'lit/decorators.js';
5
5
  import { actionKey, pageActionRunner, PageActionStyles, roleOf } from '@operato/context';
6
6
  import { i18next } from '@operato/i18n';
7
7
  import { notify } from '@operato/layout';
8
+ import { store } from '@operato/shell';
9
+ import { EXPORT } from '@things-factory/export-base/dist-client';
8
10
  import { ButtonStyles, FormFieldStyles } from '@operato/styles';
9
11
  import { askAssistant } from '../utils/assistant-ask.js';
10
12
  import { selectedRecords } from '../utils/assistant-selection.js';
@@ -44,21 +46,68 @@ let OxAssistantSelectionBar = class OxAssistantSelectionBar extends LitElement {
44
46
  return;
45
47
  await grid?.updateComplete;
46
48
  this.count = grid?.selected?.length ?? 0;
49
+ /* What the grid's selection place reads to show or hide the bar. */
50
+ this.toggleAttribute('picked', this.count > 0);
47
51
  };
48
52
  this.onRunnerChange = () => this.requestUpdate();
53
+ this.readExportable = () => {
54
+ const next = store.getState().route?.context?.exportable;
55
+ if (next !== this.exportable)
56
+ this.exportable = next;
57
+ };
49
58
  }
50
59
  static { this.styles = [
51
60
  ButtonStyles,
52
61
  FormFieldStyles,
53
62
  PageActionStyles,
54
63
  css `
55
- :host { display:block; }
64
+ /* The bar's own width decides, not the device's: a list beside an open panel is narrow too. */
65
+ :host { display:block; container-type:inline-size; }
56
66
  .selection-work { display:flex; flex-wrap:wrap; align-items:center; gap:var(--spacing-medium); padding:var(--spacing-medium) var(--spacing-large); border-bottom:1px solid var(--ui-line); background:var(--ui-panel); }
57
67
  .scope { font-size:var(--ui-t-body); font-weight:600; white-space:nowrap; }
58
68
  form { display:flex; flex:1 1 320px; min-width:0; gap:var(--spacing-small); }
59
69
  input { flex:1; min-width:0; width:100%; }
60
70
  .tools { display:flex; flex-wrap:wrap; gap:var(--spacing-small); }
61
71
  .tools button md-icon { --md-icon-size: 16px; }
72
+
73
+ /*
74
+ * In a grid's selection place (data-grist slot="selection"), over the column heads: between the heads' own lines
75
+ * (the place keeps them drawn, so the bar draws none), on one line, in the heads' colour, and gone while nothing
76
+ * is picked - so the heads show again and no row ever moves. A line too long for the grid scrolls sideways.
77
+ */
78
+ :host([slot='selection']) { display:flex; }
79
+ :host([slot='selection']:not([picked])) { display:none; }
80
+ /*
81
+ * What the place hands over decides the rest: over the heads it sets nothing, so the bar is one line in the heads'
82
+ * colour; floating over cards it sets the --grid-selection-* look (data-grist) - a section of its own that may take
83
+ * more lines, its names whole (no icon-only buttons, 2026-11-22).
84
+ */
85
+ :host([slot='selection']) .selection-work {
86
+ flex:1; min-width:0; flex-wrap:var(--grid-selection-wrap, nowrap); gap:var(--spacing-small) var(--spacing-medium);
87
+ /* The grid's place sets the heads' height; over cards (no heads) it is a touch-sized line. */
88
+ min-height:var(--grid-selection-height, 44px); box-sizing:border-box;
89
+ padding:var(--grid-selection-padding-block, 0) var(--spacing-medium);
90
+ background:var(--grid-selection-background, var(--grid-header-background-color, var(--ui-panel)));
91
+ border-bottom:var(--grid-selection-border, none);
92
+ box-shadow:var(--grid-selection-shadow, none);
93
+ overflow-x:auto; scrollbar-width:none;
94
+ }
95
+ :host([slot='selection']) .tools { flex-wrap:var(--grid-selection-wrap, nowrap); }
96
+ :host([slot='selection']) .tools button { white-space:nowrap; }
97
+ :host([slot='selection']) form { flex:1 1 160px; }
98
+ /* The request box keeps the shared input (FormFieldStyles); the place only sets the height token it reads. */
99
+ :host([slot='selection']) { --form-element-height-medium: min(32px, calc(var(--grid-selection-height, 44px) - 6px)); }
100
+
101
+ /*
102
+ * Narrow (a phone, a list beside a panel), the request box goes and 「AI와 작업」 stays (2026-11-22, the user: 「좁은
103
+ * 공간에서는 프롬프트 입력창이 없어도 되는 일 아닌가」): pressed with nothing written, it hands the picked rows to this
104
+ * screen's conversation with the set request, and what the person wants next is written in the dock - the
105
+ * selection stays the conversation's (SELECTION_RULE). The room goes to the list's own actions.
106
+ */
107
+ @container (max-width: 599px) {
108
+ form { flex:none; }
109
+ form input { display:none; }
110
+ }
62
111
  `
63
112
  ]; }
64
113
  get grid() {
@@ -67,6 +116,8 @@ let OxAssistantSelectionBar = class OxAssistantSelectionBar extends LitElement {
67
116
  connectedCallback() {
68
117
  super.connectedCallback();
69
118
  pageActionRunner.addEventListener('change', this.onRunnerChange);
119
+ this.readExportable();
120
+ this.unsubscribe = store.subscribe(this.readExportable);
70
121
  this.root = this.getRootNode();
71
122
  for (const event of GRID_EVENTS)
72
123
  this.root.addEventListener(event, this.recount);
@@ -75,6 +126,7 @@ let OxAssistantSelectionBar = class OxAssistantSelectionBar extends LitElement {
75
126
  disconnectedCallback() {
76
127
  super.disconnectedCallback();
77
128
  pageActionRunner.removeEventListener('change', this.onRunnerChange);
129
+ this.unsubscribe?.();
78
130
  for (const event of GRID_EVENTS)
79
131
  this.root?.removeEventListener(event, this.recount);
80
132
  this.root = undefined;
@@ -106,13 +158,55 @@ let OxAssistantSelectionBar = class OxAssistantSelectionBar extends LitElement {
106
158
  if (outcome?.sent && this.request === request)
107
159
  this.request = '';
108
160
  }
161
+ /*
162
+ * 「선택 내보내기」 (2026-11-22): a list's own export is the rows it shows, whatever is picked; the picked rows go out
163
+ * here, in the list's own export (its name, the formats it takes), so a list that exports gets it without a line.
164
+ */
165
+ get exportAction() {
166
+ if (!this.exportable)
167
+ return undefined;
168
+ return { id: 'export-selected', title: i18next.t('ai-assistant.selection.export'), icon: 'download', action: () => this.exportPicked() };
169
+ }
170
+ exportPicked() {
171
+ const grid = this.grid;
172
+ const rows = (grid?.exportRecords?.({ ifSelectedOnly: true, includeHiddenField: false }) ?? []);
173
+ if (!rows.length) {
174
+ notify({ message: i18next.t('ai-assistant.selection.pick-rows'), level: 'info' });
175
+ return;
176
+ }
177
+ const formats = Object.keys(store.getState().exporting?.extensions ?? {});
178
+ const accept = [].concat(this.exportable.accept ?? formats);
179
+ const usable = formats.filter(one => accept.includes(one));
180
+ /*
181
+ * xlsx (export-ui-excel) takes a sheet - column titles and rows; xls and json take the rows as they are. The titles
182
+ * are the grid's own, the words the person sees on the list.
183
+ */
184
+ if (usable.includes('xlsx')) {
185
+ const columns = (grid.compiledConfig?.columns ?? []).filter((one) => one.type !== 'gutter' && !one.hidden && one.name);
186
+ const header = columns.map((one) => ({ header: typeof one.header === 'string' ? one.header : one.name, key: one.name, width: Math.max(12, Math.round((one.width ?? 120) / 8)) }));
187
+ store.dispatch({ type: EXPORT, exportable: { ...this.exportable, extension: 'xlsx', data: () => ({ header, data: rows }) } });
188
+ return;
189
+ }
190
+ const extension = usable[0];
191
+ if (extension)
192
+ store.dispatch({ type: EXPORT, exportable: { ...this.exportable, extension, data: () => rows } });
193
+ }
194
+ /** The list's actions, with 「선택 내보내기」 before the destructive ones (those stay last). */
195
+ get allActions() {
196
+ const actions = this.actions.filter(Boolean);
197
+ const exporting = this.exportAction;
198
+ if (!exporting)
199
+ return actions;
200
+ const at = actions.findIndex(action => roleOf(action) === 'danger');
201
+ return at < 0 ? [...actions, exporting] : [...actions.slice(0, at), exporting, ...actions.slice(at)];
202
+ }
109
203
  /** One action on the picked rows: its icon and name, destructive ones in the error colour, the reason when it cannot run. */
110
204
  renderAction(action) {
111
205
  const reason = action.single && this.count !== 1 ? i18next.t('ai-assistant.selection.pick-one') : action.disabled ? action.disabledTitle : undefined;
112
206
  const running = pageActionRunner.isRunning(action);
113
207
  const blocked = running || pageActionRunner.isHeld(action) || !!reason || !!action.disabled;
208
+ /* A button that reads as one - the shared outlined kind, small, not text-only (2026-11-22, 「버튼임을 유추할 수 있도록」, 「시끄럽지 않게」). */
114
209
  return html `<button
115
- quiet
116
210
  small
117
211
  data-action=${actionKey(action)}
118
212
  ?danger=${roleOf(action) === 'danger'}
@@ -135,14 +229,12 @@ let OxAssistantSelectionBar = class OxAssistantSelectionBar extends LitElement {
135
229
  return this.count
136
230
  ? html `<div class="selection-work" role="region" aria-label=${i18next.t('ai-assistant.selection.region')}>
137
231
  <span class="scope" role="status">${i18next.t('ai-assistant.selection.count', { n: this.count })}</span>
138
- ${this.actions.length
139
- ? html `<div class="tools">${this.actions.filter(Boolean).map(action => this.renderAction(action))}</div>`
140
- : nothing}
232
+ ${this.allActions.length ? html `<div class="tools">${this.allActions.map(action => this.renderAction(action))}</div>` : nothing}
141
233
  ${this.assistant
142
234
  ? html `<form @submit=${(event) => { event.preventDefault(); this.ask(); }}>
143
235
  <input aria-label=${i18next.t('ai-assistant.selection.request')} placeholder=${i18next.t('ai-assistant.selection.request')}
144
236
  .value=${this.request} @input=${(event) => (this.request = event.target.value)} />
145
- <button quiet small type="submit">${i18next.t('ai-assistant.selection.work-with-ai')}</button>
237
+ <button small type="submit">${i18next.t('ai-assistant.selection.work-with-ai')}</button>
146
238
  </form>`
147
239
  : nothing}
148
240
  </div>`
@@ -185,6 +277,10 @@ __decorate([
185
277
  state(),
186
278
  __metadata("design:type", Object)
187
279
  ], OxAssistantSelectionBar.prototype, "request", void 0);
280
+ __decorate([
281
+ state(),
282
+ __metadata("design:type", Object)
283
+ ], OxAssistantSelectionBar.prototype, "exportable", void 0);
188
284
  OxAssistantSelectionBar = __decorate([
189
285
  customElement('ox-assistant-selection-bar')
190
286
  ], OxAssistantSelectionBar);
@@ -15,6 +15,7 @@ export interface AgentView {
15
15
  model: string;
16
16
  baseURL?: string | null;
17
17
  organization?: string | null;
18
+ imageModel?: string | null;
18
19
  active: boolean;
19
20
  owner: AgentDomain;
20
21
  inherited: boolean;
@@ -41,6 +42,8 @@ export interface AgentDraft {
41
42
  model: string;
42
43
  baseURL: string;
43
44
  organization: string;
45
+ /** The model it makes pictures with - its provider's default when empty (ADR-0226 decision 8-1). */
46
+ imageModel: string;
44
47
  active: boolean;
45
48
  /** A new key. Empty keeps the stored one. */
46
49
  apiKey: string;
@@ -91,3 +94,7 @@ export declare function saveInput(settings: AgentSettings, change: SaveChange):
91
94
  defaultAgentId?: string | undefined;
92
95
  agents: Record<string, any>[];
93
96
  };
97
+ /** The providers that make pictures, with the model they make them with when an agent names none (ADR-0226 decision 8-1). */
98
+ export declare const DEFAULT_IMAGE_MODELS: Record<string, string>;
99
+ /** Whether an agent of this provider makes pictures - Anthropic and Claude Code do not. */
100
+ export declare const makesPictures: (provider: string) => boolean;
@@ -6,6 +6,7 @@ export function draftOf(agent) {
6
6
  model: agent?.model ?? '',
7
7
  baseURL: agent?.baseURL ?? '',
8
8
  organization: agent?.organization ?? '',
9
+ imageModel: agent?.imageModel ?? '',
9
10
  active: agent?.active ?? true,
10
11
  apiKey: ''
11
12
  };
@@ -40,6 +41,7 @@ export function saveInput(settings, change) {
40
41
  model: one.model,
41
42
  ...(one.baseURL && { baseURL: one.baseURL }),
42
43
  ...(one.organization && { organization: one.organization }),
44
+ ...(one.imageModel && { imageModel: one.imageModel }),
43
45
  active: one.active
44
46
  }));
45
47
  /* Only this domain's own choice is written - an inherited or a first-by-name default is not pinned here. */
@@ -72,6 +74,7 @@ export function saveInput(settings, change) {
72
74
  model: draft.model,
73
75
  ...(draft.baseURL.trim() && { baseURL: draft.baseURL.trim() }),
74
76
  ...(draft.provider === 'openai' && draft.organization.trim() && { organization: draft.organization.trim() }),
77
+ ...(makesPictures(draft.provider) && draft.imageModel.trim() && { imageModel: draft.imageModel.trim() }),
75
78
  active: draft.active,
76
79
  ...(draft.apiKey.trim() && { apiKey: draft.apiKey.trim() })
77
80
  };
@@ -92,4 +95,8 @@ export function saveInput(settings, change) {
92
95
  ...(inheritedKeys && { inheritedKeys })
93
96
  };
94
97
  }
98
+ /** The providers that make pictures, with the model they make them with when an agent names none (ADR-0226 decision 8-1). */
99
+ export const DEFAULT_IMAGE_MODELS = { openai: 'gpt-image-1.5', gemini: 'gemini-2.5-flash-image' };
100
+ /** Whether an agent of this provider makes pictures - Anthropic and Claude Code do not. */
101
+ export const makesPictures = (provider) => !!DEFAULT_IMAGE_MODELS[provider];
95
102
  //# sourceMappingURL=agent-settings-model.js.map
@@ -11,7 +11,7 @@ import '@operato/popup/ox-popup-menu.js';
11
11
  import { OxPopupMenu } from '@operato/popup/ox-popup-menu.js';
12
12
  import { ButtonContainerStyles, FormFieldStyles } from '@operato/styles';
13
13
  import { providerLabel } from '../utils/agent-choice.js';
14
- import { draftOf, groupByOwner, saveInput } from './agent-settings-model.js';
14
+ import { draftOf, DEFAULT_IMAGE_MODELS, groupByOwner, makesPictures, saveInput } from './agent-settings-model.js';
15
15
  const t = (key, defaultValue, options = {}) => i18next.t(`ai-assistant.agent.${key}`, { ...options, defaultValue });
16
16
  const SETTINGS_QUERY = gql `
17
17
  query AiAgentSettings {
@@ -27,6 +27,7 @@ const SETTINGS_QUERY = gql `
27
27
  model
28
28
  baseURL
29
29
  organization
30
+ imageModel
30
31
  active
31
32
  owner {
32
33
  id
@@ -506,7 +507,7 @@ let AiAgentSettingLet = class AiAgentSettingLet extends localize(i18next)(LitEle
506
507
  ? html `<span class="error">${t('model-gone', 'The provider no longer offers this model. Pick another.')}</span>`
507
508
  : nothing}
508
509
  </label>
509
- <details class="advanced" ?open=${!!(draft.baseURL || draft.organization)}>
510
+ <details class="advanced" ?open=${!!(draft.baseURL || draft.organization || draft.imageModel)}>
510
511
  <summary>${t('advanced', 'Advanced')}</summary>
511
512
  <div>
512
513
  <label>
@@ -519,6 +520,13 @@ let AiAgentSettingLet = class AiAgentSettingLet extends localize(i18next)(LitEle
519
520
  <input .value=${draft.organization} @input=${(e) => this.patch({ organization: e.target.value })} @change=${() => this.loadModels()} />
520
521
  </label>`
521
522
  : nothing}
523
+ ${makesPictures(draft.provider)
524
+ ? html `<label>
525
+ ${t('image-model', 'Image model')}
526
+ <input .value=${draft.imageModel} placeholder=${DEFAULT_IMAGE_MODELS[draft.provider]} @input=${(e) => this.patch({ imageModel: e.target.value })} />
527
+ <span class="hint">${t('image-model-hint', 'The model pictures are made with. Empty uses {model}.', { model: DEFAULT_IMAGE_MODELS[draft.provider] })}</span>
528
+ </label>`
529
+ : nothing}
522
530
  </div>
523
531
  </details>
524
532
  ${this.saveError ? html `<div class="error" style="grid-column: 1 / -1">${this.saveError}</div>` : nothing}
@@ -10,6 +10,7 @@ declare class AiAgentView {
10
10
  model: string;
11
11
  baseURL?: string;
12
12
  organization?: string;
13
+ imageModel?: string;
13
14
  active: boolean;
14
15
  owner: AiAgentDomain;
15
16
  inherited: boolean;
@@ -43,6 +44,7 @@ declare class AiAgentInput {
43
44
  model: string;
44
45
  baseURL?: string;
45
46
  organization?: string;
47
+ imageModel?: string;
46
48
  active: boolean;
47
49
  apiKey?: string;
48
50
  }
@@ -52,6 +52,10 @@ tslib_1.__decorate([
52
52
  (0, type_graphql_1.Field)({ nullable: true, description: 'OpenAI organization.' }),
53
53
  tslib_1.__metadata("design:type", String)
54
54
  ], AiAgentView.prototype, "organization", void 0);
55
+ tslib_1.__decorate([
56
+ (0, type_graphql_1.Field)({ nullable: true, description: "The model it makes pictures with (ADR-0226) - its provider's default when empty; none for Anthropic and Claude Code." }),
57
+ tslib_1.__metadata("design:type", String)
58
+ ], AiAgentView.prototype, "imageModel", void 0);
55
59
  tslib_1.__decorate([
56
60
  (0, type_graphql_1.Field)({ description: 'Off takes it out of this domain and every domain below.' }),
57
61
  tslib_1.__metadata("design:type", Boolean)
@@ -175,6 +179,10 @@ tslib_1.__decorate([
175
179
  (0, type_graphql_1.Field)({ nullable: true, description: 'OpenAI organization.' }),
176
180
  tslib_1.__metadata("design:type", String)
177
181
  ], AiAgentInput.prototype, "organization", void 0);
182
+ tslib_1.__decorate([
183
+ (0, type_graphql_1.Field)({ nullable: true, description: "The model it makes pictures with (ADR-0226) - its provider's default when empty; none for Anthropic and Claude Code." }),
184
+ tslib_1.__metadata("design:type", String)
185
+ ], AiAgentInput.prototype, "imageModel", void 0);
178
186
  tslib_1.__decorate([
179
187
  (0, type_graphql_1.Field)({ description: 'Off takes it out of this domain and every domain below.' }),
180
188
  tslib_1.__metadata("design:type", Boolean)
@@ -666,6 +674,7 @@ function agentView(entry, defaultAgentId, nameOf, usedBelow) {
666
674
  model: entry.spec.model,
667
675
  baseURL: entry.spec.baseURL,
668
676
  organization: entry.spec.organization,
677
+ imageModel: entry.spec.imageModel,
669
678
  active: entry.spec.active,
670
679
  owner: domainOf(entry.ownerDomainId),
671
680
  inherited: entry.inherited,
@@ -24,7 +24,7 @@ const participant_lookup_roles_js_1 = require("../chat-session-participant/parti
24
24
  function chatRoomLookup(repos, who) {
25
25
  return {
26
26
  async visibility() {
27
- const session = await repos.sessions.findOne({ where: { id: who.sessionId, domain: { id: who.domainId } } });
27
+ const session = who.sessionId ? await repos.sessions.findOne({ where: { id: who.sessionId, domain: { id: who.domainId } } }) : null;
28
28
  return session ? (session.visibility ?? null) : undefined;
29
29
  },
30
30
  async isParticipant() {
@@ -90,7 +90,7 @@ function rowsAfterWatermark(sessionId, mark) {
90
90
  async function foldSessionHistory(input) {
91
91
  try {
92
92
  const { sessions, messages } = input.repos ?? (await defaultRepos());
93
- const session = await sessions.findOneBy({ id: input.sessionId, domain: { id: input.domainId } });
93
+ const session = input.sessionId ? await sessions.findOneBy({ id: input.sessionId, domain: { id: input.domainId } }) : null;
94
94
  if (!session)
95
95
  return;
96
96
  const stored = { text: session.lastSummary, upToMessageId: session.summaryUpToMessageId };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/ai-assistant",
3
- "version": "10.1.303",
3
+ "version": "10.1.304",
4
4
  "main": "dist-server/index.js",
5
5
  "things-factory": true,
6
6
  "author": "heartyoh",
@@ -37,14 +37,15 @@
37
37
  "@operato/shell": "^10.29.69",
38
38
  "@operato/styles": "^10.0.0",
39
39
  "@operato/utils": "^10.29.76",
40
- "@things-factory/ai-client-base": "^10.1.303",
41
- "@things-factory/apptool-base": "^10.1.303",
42
- "@things-factory/attachment-base": "^10.1.303",
43
- "@things-factory/auth-base": "^10.1.303",
40
+ "@things-factory/ai-client-base": "^10.1.304",
41
+ "@things-factory/apptool-base": "^10.1.304",
42
+ "@things-factory/attachment-base": "^10.1.304",
43
+ "@things-factory/auth-base": "^10.1.304",
44
44
  "@things-factory/env": "^10.1.298",
45
- "@things-factory/help": "^10.1.303",
46
- "@things-factory/setting-base": "^10.1.303",
47
- "@things-factory/shell": "^10.1.303",
45
+ "@things-factory/export-base": "^10.1.304",
46
+ "@things-factory/help": "^10.1.304",
47
+ "@things-factory/setting-base": "^10.1.304",
48
+ "@things-factory/shell": "^10.1.304",
48
49
  "dompurify": "^3.0.0",
49
50
  "exceljs": "4.2.0",
50
51
  "graphql-scalars": "^1.22.0",
@@ -74,5 +75,5 @@
74
75
  "copyfiles": "^2.4.1",
75
76
  "rimraf": "^5.0.0"
76
77
  },
77
- "gitHead": "2d5888ebfc0a004b000a4aa3dfb8ff9561e75ff9"
78
+ "gitHead": "76ce38519069ba90190d69d2a9d6c130bc981cf0"
78
79
  }
@@ -520,6 +520,7 @@
520
520
  "ai-assistant.text.session-name-too-long": "a conversation name takes up to {max} characters; this one has {length}.",
521
521
  "ai-assistant.text.private-session-refused": "this conversation is private to the people in it - only they can write here. ask the person who started it to bring you in.",
522
522
  "ai-assistant.selection.pick-one": "Select exactly one row.",
523
+ "ai-assistant.selection.export": "Export selected",
523
524
  "ai-assistant.usage.cost": "Calculated cost (USD)",
524
525
  "ai-assistant.usage.unpriced": "No price",
525
526
  "ai-assistant.usage.unpriced-note": "The cost total excludes {count} calls to models without registered prices.",
@@ -561,5 +562,7 @@
561
562
  "ai-assistant.usage.measure-cost": "Calculated cost",
562
563
  "ai-assistant.usage.measure-calls": "Calls",
563
564
  "ai-assistant.usage.month": "M{month}",
564
- "ai-assistant.usage.cost-note": "Costs are reference values calculated from recorded token usage and current registered prices, and may differ from actual charges. Non-token costs, such as audio transcription, are not included. Calls to models without registered prices are excluded from cost totals."
565
+ "ai-assistant.usage.cost-note": "Costs are reference values calculated from recorded token usage and current registered prices, and may differ from actual charges. Non-token costs, such as audio transcription, are not included. Calls to models without registered prices are excluded from cost totals.",
566
+ "ai-assistant.agent.image-model": "Image model",
567
+ "ai-assistant.agent.image-model-hint": "The model pictures are made with. Empty uses {model}."
565
568
  }
@@ -520,6 +520,7 @@
520
520
  "ai-assistant.text.session-name-too-long": "El nombre de la conversación admite hasta {max} caracteres. Este tiene {length}.",
521
521
  "ai-assistant.text.private-session-refused": "Solo los participantes pueden escribir en esta conversación. Pida a quien la inició que le invite.",
522
522
  "ai-assistant.selection.pick-one": "Seleccione solo una fila.",
523
+ "ai-assistant.selection.export": "Exportar selección",
523
524
  "ai-assistant.usage.cost": "Coste calculado (USD)",
524
525
  "ai-assistant.usage.unpriced": "Sin precio registrado",
525
526
  "ai-assistant.usage.unpriced-note": "El coste total excluye {count} llamadas a modelos sin precios registrados.",
@@ -561,5 +562,7 @@
561
562
  "ai-assistant.usage.measure-cost": "Coste calculado",
562
563
  "ai-assistant.usage.measure-calls": "Llamadas",
563
564
  "ai-assistant.usage.month": "M{month}",
564
- "ai-assistant.usage.cost-note": "Los costes son valores de referencia calculados con el uso de tokens registrado y los precios actuales, y pueden diferir de los cargos reales. No se incluyen costes no contabilizados por tokens, como la transcripción de audio. Las llamadas a modelos sin precios registrados se excluyen del coste total."
565
+ "ai-assistant.usage.cost-note": "Los costes son valores de referencia calculados con el uso de tokens registrado y los precios actuales, y pueden diferir de los cargos reales. No se incluyen costes no contabilizados por tokens, como la transcripción de audio. Las llamadas a modelos sin precios registrados se excluyen del coste total.",
566
+ "ai-assistant.agent.image-model": "Modelo de imagen",
567
+ "ai-assistant.agent.image-model-hint": "El modelo con el que se crean las imágenes. Si se deja vacío, se usa {model}."
565
568
  }
@@ -520,6 +520,7 @@
520
520
  "ai-assistant.text.session-name-too-long": "会話名は{max}文字までです。現在{length}文字です。",
521
521
  "ai-assistant.text.private-session-refused": "この会話は参加者だけが書き込めます。会話を始めた人に招待を依頼してください。",
522
522
  "ai-assistant.selection.pick-one": "1 件だけ選択してください。",
523
+ "ai-assistant.selection.export": "選択した行をエクスポート",
523
524
  "ai-assistant.usage.cost": "算定費用(USD)",
524
525
  "ai-assistant.usage.unpriced": "単価未登録",
525
526
  "ai-assistant.usage.unpriced-note": "単価未登録のモデルの呼び出し{count}件は費用合計から除外されます。",
@@ -561,5 +562,7 @@
561
562
  "ai-assistant.usage.measure-cost": "算定費用",
562
563
  "ai-assistant.usage.measure-calls": "呼び出し数",
563
564
  "ai-assistant.usage.month": "{month}月",
564
- "ai-assistant.usage.cost-note": "費用は記録されたトークン利用量と現在の登録単価から算定した参考値で、実際の請求額とは異なる場合があります。音声文字起こしなど、トークン単位で集計しない費用は含まれません。 単価未登録のモデルの呼び出しは費用合計から除外します。"
565
+ "ai-assistant.usage.cost-note": "費用は記録されたトークン利用量と現在の登録単価から算定した参考値で、実際の請求額とは異なる場合があります。音声文字起こしなど、トークン単位で集計しない費用は含まれません。 単価未登録のモデルの呼び出しは費用合計から除外します。",
566
+ "ai-assistant.agent.image-model": "画像モデル",
567
+ "ai-assistant.agent.image-model-hint": "画像を作成するときに使うモデルです。空欄の場合は {model} を使います。"
565
568
  }
@@ -520,6 +520,7 @@
520
520
  "ai-assistant.text.session-name-too-long": "대화 이름은 {max}자까지입니다. 지금 {length}자입니다.",
521
521
  "ai-assistant.text.private-session-refused": "이 대화는 참여자만 쓸 수 있습니다. 대화를 시작한 사람에게 초대를 부탁하세요.",
522
522
  "ai-assistant.selection.pick-one": "한 건만 선택하세요.",
523
+ "ai-assistant.selection.export": "선택 내보내기",
523
524
  "ai-assistant.usage.cost": "산정 비용(USD)",
524
525
  "ai-assistant.usage.unpriced": "단가 미등록",
525
526
  "ai-assistant.usage.unpriced-note": "단가가 등록되지 않은 모델의 호출 {count}건은 비용 합계에서 제외됩니다.",
@@ -561,5 +562,7 @@
561
562
  "ai-assistant.usage.measure-cost": "산정 비용",
562
563
  "ai-assistant.usage.measure-calls": "호출 수",
563
564
  "ai-assistant.usage.month": "{month}월",
564
- "ai-assistant.usage.cost-note": "비용은 기록된 토큰 사용량과 현재 등록 단가로 계산한 참고 값이며 실제 청구액과 다를 수 있습니다. 음성 전사 등 토큰으로 집계하지 않는 비용은 포함하지 않습니다. 단가가 등록되지 않은 모델의 호출은 비용 합계에서 제외합니다."
565
+ "ai-assistant.usage.cost-note": "비용은 기록된 토큰 사용량과 현재 등록 단가로 계산한 참고 값이며 실제 청구액과 다를 수 있습니다. 음성 전사 등 토큰으로 집계하지 않는 비용은 포함하지 않습니다. 단가가 등록되지 않은 모델의 호출은 비용 합계에서 제외합니다.",
566
+ "ai-assistant.agent.image-model": "이미지 모델",
567
+ "ai-assistant.agent.image-model-hint": "이미지를 만들 때 쓰는 모델입니다. 비워 두면 {model}을(를) 씁니다."
565
568
  }
@@ -520,6 +520,7 @@
520
520
  "ai-assistant.text.session-name-too-long": "Nama perbualan boleh mengandungi sehingga {max} aksara. Nama ini mempunyai {length} aksara.",
521
521
  "ai-assistant.text.private-session-refused": "Hanya peserta boleh menulis dalam perbualan ini. Minta orang yang memulakannya untuk menjemput anda.",
522
522
  "ai-assistant.selection.pick-one": "Pilih satu baris sahaja.",
523
+ "ai-assistant.selection.export": "Eksport pilihan",
523
524
  "ai-assistant.usage.cost": "Kos dikira (USD)",
524
525
  "ai-assistant.usage.unpriced": "Tiada harga berdaftar",
525
526
  "ai-assistant.usage.unpriced-note": "Jumlah kos tidak merangkumi {count} panggilan kepada model tanpa harga berdaftar.",
@@ -561,5 +562,7 @@
561
562
  "ai-assistant.usage.measure-cost": "Kos dikira",
562
563
  "ai-assistant.usage.measure-calls": "Panggilan",
563
564
  "ai-assistant.usage.month": "B{month}",
564
- "ai-assistant.usage.cost-note": "Kos ialah nilai rujukan berdasarkan penggunaan token yang direkodkan dan harga berdaftar semasa, dan mungkin berbeza daripada caj sebenar. Kos yang tidak dikira mengikut token, seperti transkripsi audio, tidak termasuk. Panggilan kepada model tanpa harga berdaftar tidak termasuk dalam jumlah kos."
565
+ "ai-assistant.usage.cost-note": "Kos ialah nilai rujukan berdasarkan penggunaan token yang direkodkan dan harga berdaftar semasa, dan mungkin berbeza daripada caj sebenar. Kos yang tidak dikira mengikut token, seperti transkripsi audio, tidak termasuk. Panggilan kepada model tanpa harga berdaftar tidak termasuk dalam jumlah kos.",
566
+ "ai-assistant.agent.image-model": "Model imej",
567
+ "ai-assistant.agent.image-model-hint": "Model yang digunakan untuk membuat gambar. Jika kosong, {model} digunakan."
565
568
  }
@@ -520,6 +520,7 @@
520
520
  "ai-assistant.text.session-name-too-long": "对话名称最多 {max} 个字符,当前为 {length} 个字符。",
521
521
  "ai-assistant.text.private-session-refused": "只有参与者可以在此对话中发言。请让发起此对话的人邀请您。",
522
522
  "ai-assistant.selection.pick-one": "请只选择一行。",
523
+ "ai-assistant.selection.export": "导出所选",
523
524
  "ai-assistant.usage.cost": "测算费用(USD)",
524
525
  "ai-assistant.usage.unpriced": "未登记单价",
525
526
  "ai-assistant.usage.unpriced-note": "未登记单价的模型调用 {count} 次不计入费用总额。",
@@ -561,5 +562,7 @@
561
562
  "ai-assistant.usage.measure-cost": "测算费用",
562
563
  "ai-assistant.usage.measure-calls": "调用次数",
563
564
  "ai-assistant.usage.month": "{month}月",
564
- "ai-assistant.usage.cost-note": "费用按已记录的 token 使用量和当前登记单价测算,仅供参考,可能与实际账单不同。不包含音频转写等不按 token 统计的费用。 未登记单价的模型调用不计入费用总额。"
565
+ "ai-assistant.usage.cost-note": "费用按已记录的 token 使用量和当前登记单价测算,仅供参考,可能与实际账单不同。不包含音频转写等不按 token 统计的费用。 未登记单价的模型调用不计入费用总额。",
566
+ "ai-assistant.agent.image-model": "图像模型",
567
+ "ai-assistant.agent.image-model-hint": "生成图片时使用的模型。留空则使用 {model}。"
565
568
  }