@things-factory/ai-assistant 10.1.281 → 10.1.283

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.
@@ -0,0 +1,40 @@
1
+ import { type AIClient, type AIMessage, type RegistryAssistantResult, type ToolAccessCheck, type ToolAttachment, type ToolCallRecord, type ToolFront, type UnattendedRunRef } from '@things-factory/ai-client-base';
2
+ /** What a mode decides of a turn - from the declaration, as the caller resolved it. */
3
+ export interface ModeTurnSettings {
4
+ systemPrompt: string;
5
+ toolCategories?: string[];
6
+ temperature?: number;
7
+ maxTokens?: number;
8
+ requireToolOnFirstTurn?: boolean;
9
+ }
10
+ export interface ModeTurnInput {
11
+ client: AIClient;
12
+ /** The conversation the model reads, newest last. */
13
+ messages: AIMessage[];
14
+ settings: ModeTurnSettings;
15
+ mode: {
16
+ kind: string;
17
+ target?: string;
18
+ };
19
+ /** The caller's koa state - the server's domain and user. */
20
+ state: any;
21
+ toolAccess?: ToolAccessCheck;
22
+ front?: ToolFront;
23
+ /** What the screen sent: tools read it as `context.host`; never trusted for who may do what. */
24
+ hostContext?: any;
25
+ t?: (key: string, params?: Record<string, any>) => string;
26
+ conversation?: {
27
+ id: string;
28
+ };
29
+ progress?: (text: string) => void;
30
+ attachments?: ToolAttachment[];
31
+ /** A run's limits: lookups, no wrap-up call, a stop. The conversation door's own when absent. */
32
+ limits?: {
33
+ maxIterations?: number;
34
+ salvageOnMaxIterations?: boolean;
35
+ signal?: AbortSignal;
36
+ };
37
+ onToolCall?: (record: ToolCallRecord) => void;
38
+ run?: UnattendedRunRef;
39
+ }
40
+ export declare function runModeTurn(input: ModeTurnInput): Promise<RegistryAssistantResult>;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.runModeTurn = runModeTurn;
4
+ /*
5
+ * One turn of a registered mode's conversation (2026-11-14).
6
+ *
7
+ * Three callers run a mode's turn: the conversation door (`assistantChat`), an unattended run, and the conformance
8
+ * harness an application tests its modes with. Each handed `registryAssistantChat` the mode's settings in its own
9
+ * words -- one gave the grounding guard the prompt and the turns as evidence, another did not -- so a turn answered
10
+ * by one road could be checked otherwise than the same turn by another. What a mode's settings mean for a turn is
11
+ * said here once; what differs between the callers is what they pass.
12
+ */
13
+ const ai_client_base_1 = require("@things-factory/ai-client-base");
14
+ const grounding_sources_js_1 = require("../grounding-sources.js");
15
+ async function runModeTurn(input) {
16
+ const { settings } = input;
17
+ return (0, ai_client_base_1.registryAssistantChat)({
18
+ client: input.client,
19
+ messages: input.messages,
20
+ systemPrompt: settings.systemPrompt,
21
+ toolCategories: settings.toolCategories,
22
+ ...(input.front ? { front: input.front } : {}),
23
+ /* 도구가 「어느 대화에서 불렸나」를 안다 — 서버의 값이다(ADR-0061 결정 3). */
24
+ mode: { kind: input.mode.kind, ...(input.mode.target ? { target: input.mode.target } : {}) },
25
+ ...(input.conversation?.id ? { conversation: { id: input.conversation.id } } : {}),
26
+ toolAccess: input.toolAccess,
27
+ ...(input.t ? { t: input.t } : {}),
28
+ ...(input.progress ? { progress: input.progress } : {}),
29
+ hostContext: input.hostContext,
30
+ ...(input.attachments ? { attachments: input.attachments } : {}),
31
+ /*
32
+ * 근거는 도구 결과만이 아니다 — 시스템 프롬프트 · 이 대화의 말 · 화면이 보낸 스냅숏도 근거다
33
+ * (`ai-client-base/utils/grounding`). 넘기지 않으면 **사람이 방금 타이핑한 식별자**를 되받아 적은 답이
34
+ * 「근거 없음」으로 표시된다.
35
+ */
36
+ groundingSources: (0, grounding_sources_js_1.groundingSourcesFor)({ systemPrompt: settings.systemPrompt, messages: input.messages, hostContext: input.hostContext }),
37
+ state: input.state,
38
+ temperature: settings.temperature,
39
+ maxTokens: settings.maxTokens,
40
+ requireToolOnFirstTurn: settings.requireToolOnFirstTurn,
41
+ ...(input.limits?.maxIterations !== undefined ? { maxIterations: input.limits.maxIterations } : {}),
42
+ ...(input.limits?.salvageOnMaxIterations !== undefined ? { salvageOnMaxIterations: input.limits.salvageOnMaxIterations } : {}),
43
+ ...(input.limits?.signal ? { signal: input.limits.signal } : {}),
44
+ ...(input.onToolCall ? { onToolCall: input.onToolCall } : {}),
45
+ ...(input.run ? { run: input.run } : {})
46
+ });
47
+ }
48
+ //# sourceMappingURL=mode-turn.js.map
@@ -0,0 +1,11 @@
1
+ import { type AssistantProgressPayload } from './assistant-progress.js';
2
+ export declare class AssistantProgress {
3
+ key: string;
4
+ text: string;
5
+ at: string;
6
+ }
7
+ /** Tells the waiting person; a notice missed is a line that does not show, nothing else rests on it. */
8
+ export declare function publishAssistantProgress(payload: Omit<AssistantProgressPayload, 'at'>): void;
9
+ export declare class AssistantProgressSubscription {
10
+ assistantProgress(payload: AssistantProgressPayload, key: string): AssistantProgress;
11
+ }
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AssistantProgressSubscription = exports.AssistantProgress = void 0;
4
+ exports.publishAssistantProgress = publishAssistantProgress;
5
+ const tslib_1 = require("tslib");
6
+ /*
7
+ * AssistantProgressSubscription - a long tool call's progress, live, for the person waiting on that turn. The rules are
8
+ * in `assistant-progress.ts`; this file holds only pubsub and the decorators.
9
+ */
10
+ const type_graphql_1 = require("type-graphql");
11
+ const graphql_yoga_1 = require("graphql-yoga");
12
+ const shell_1 = require("@things-factory/shell");
13
+ const assistant_progress_js_1 = require("./assistant-progress.js");
14
+ let AssistantProgress = class AssistantProgress {
15
+ };
16
+ exports.AssistantProgress = AssistantProgress;
17
+ tslib_1.__decorate([
18
+ (0, type_graphql_1.Field)({ description: 'The key the screen made for the turn.' }),
19
+ tslib_1.__metadata("design:type", String)
20
+ ], AssistantProgress.prototype, "key", void 0);
21
+ tslib_1.__decorate([
22
+ (0, type_graphql_1.Field)({ description: 'What it is doing, in the person\'s language.' }),
23
+ tslib_1.__metadata("design:type", String)
24
+ ], AssistantProgress.prototype, "text", void 0);
25
+ tslib_1.__decorate([
26
+ (0, type_graphql_1.Field)({ description: 'When (ISO).' }),
27
+ tslib_1.__metadata("design:type", String)
28
+ ], AssistantProgress.prototype, "at", void 0);
29
+ exports.AssistantProgress = AssistantProgress = tslib_1.__decorate([
30
+ (0, type_graphql_1.ObjectType)({ description: 'What a long tool call of this turn is doing now. Nothing is stored.' })
31
+ ], AssistantProgress);
32
+ /** Tells the waiting person; a notice missed is a line that does not show, nothing else rests on it. */
33
+ function publishAssistantProgress(payload) {
34
+ try {
35
+ shell_1.pubsub.publish(assistant_progress_js_1.ASSISTANT_PROGRESS_TOPIC, { ...payload, at: new Date().toISOString() });
36
+ }
37
+ catch {
38
+ /* nothing rests on it */
39
+ }
40
+ }
41
+ let AssistantProgressSubscription = class AssistantProgressSubscription {
42
+ assistantProgress(payload, key) {
43
+ return { key: payload.key, text: payload.text, at: payload.at };
44
+ }
45
+ };
46
+ exports.AssistantProgressSubscription = AssistantProgressSubscription;
47
+ tslib_1.__decorate([
48
+ (0, type_graphql_1.Subscription)(() => AssistantProgress, {
49
+ description: 'Subscribes to the progress of the caller\'s own turn, by the key their screen sent with it.',
50
+ subscribe: async ({ args, context }) => {
51
+ const { domain, user } = context.state;
52
+ await (0, shell_1.assertDomainSubscribeAllowed)(domain, user, (d, u) => process.superUserGranted(d, u));
53
+ return (0, graphql_yoga_1.pipe)(shell_1.pubsub.subscribe(assistant_progress_js_1.ASSISTANT_PROGRESS_TOPIC), (0, graphql_yoga_1.filter)((0, assistant_progress_js_1.assistantProgressFilter)(domain.id, user?.id, args.key)));
54
+ }
55
+ }),
56
+ tslib_1.__param(0, (0, type_graphql_1.Root)()),
57
+ tslib_1.__param(1, (0, type_graphql_1.Arg)('key')),
58
+ tslib_1.__metadata("design:type", Function),
59
+ tslib_1.__metadata("design:paramtypes", [Object, String]),
60
+ tslib_1.__metadata("design:returntype", AssistantProgress)
61
+ ], AssistantProgressSubscription.prototype, "assistantProgress", null);
62
+ exports.AssistantProgressSubscription = AssistantProgressSubscription = tslib_1.__decorate([
63
+ (0, type_graphql_1.Resolver)(AssistantProgress)
64
+ ], AssistantProgressSubscription);
65
+ //# sourceMappingURL=assistant-progress-subscription.js.map
@@ -0,0 +1,11 @@
1
+ export declare const ASSISTANT_PROGRESS_TOPIC = "ai-assistant-progress";
2
+ export interface AssistantProgressPayload {
3
+ domainId: string;
4
+ userId: string;
5
+ key: string;
6
+ text: string;
7
+ at: string;
8
+ }
9
+ /** A key a screen made for one turn: short, plain. Anything else is not listened for. */
10
+ export declare function progressKeyOf(host: unknown): string | undefined;
11
+ export declare function assistantProgressFilter(domainId: string, userId: string | undefined, key: string): (payload: AssistantProgressPayload) => boolean;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ASSISTANT_PROGRESS_TOPIC = void 0;
4
+ exports.progressKeyOf = progressKeyOf;
5
+ exports.assistantProgressFilter = assistantProgressFilter;
6
+ /*
7
+ * What a long tool call is doing now, for the person waiting on it (2026-11-13: a figure built piece by piece took
8
+ * minutes behind three dots). Nothing is stored. A notice goes only to the user whose turn it is, in the same domain,
9
+ * under the key their screen made for that turn -- the key is the client's and only names the turn; who may hear is
10
+ * the server's.
11
+ */
12
+ exports.ASSISTANT_PROGRESS_TOPIC = 'ai-assistant-progress';
13
+ /** A key a screen made for one turn: short, plain. Anything else is not listened for. */
14
+ function progressKeyOf(host) {
15
+ const key = host?.progressKey;
16
+ return typeof key === 'string' && /^[A-Za-z0-9_-]{8,64}$/.test(key) ? key : undefined;
17
+ }
18
+ function assistantProgressFilter(domainId, userId, key) {
19
+ return (payload) => !!userId && payload.domainId === domainId && payload.userId === userId && payload.key === key;
20
+ }
21
+ //# sourceMappingURL=assistant-progress.js.map
@@ -6,6 +6,7 @@ import { AiAgentResolver } from './ai-agent-resolver.js';
6
6
  import { MySessionActivitySubscription } from './chat-session/session-activity-subscription.js';
7
7
  import { ChatMessageSubscription } from './chat-message/chat-message-subscription.js';
8
8
  import { ChatTypingSubscription } from './chat-message/chat-typing-subscription.js';
9
+ import { AssistantProgressSubscription } from './chat-message/assistant-progress-subscription.js';
9
10
  import './chat-session/attachment-tools.js';
10
11
  import './chat-session/session-purge.js';
11
12
  import './chat-session/attachment-route.js';
@@ -53,5 +54,5 @@ export { assertMayWriteSession } from './chat-session/session-write-gate.js';
53
54
  export * from './unattended-run/index.js';
54
55
  export declare const entities: (typeof import("./chat-message/chat-message.js").ChatMessage | typeof import("./chat-session/chat-session.js").ChatSession | typeof import("./chat-session-participant/chat-session-participant.js").ChatSessionParticipant | typeof import("./unattended-run/assistant-run.js").AssistantRun)[];
55
56
  export declare const schema: {
56
- resolverClasses: (typeof ChatSessionResolver | typeof AssistantChatResolver | typeof AssistantModeResolver | typeof AssistantCapabilityResolver | typeof AiAgentResolver | typeof MySessionActivitySubscription | typeof ChatMessageSubscription | typeof ChatTypingSubscription | typeof EntryProposalResolver)[];
57
+ resolverClasses: (typeof ChatSessionResolver | typeof AssistantProgressSubscription | typeof AssistantChatResolver | typeof AssistantModeResolver | typeof AssistantCapabilityResolver | typeof AiAgentResolver | typeof MySessionActivitySubscription | typeof ChatMessageSubscription | typeof ChatTypingSubscription | typeof EntryProposalResolver)[];
57
58
  };
@@ -10,6 +10,7 @@ const ai_agent_resolver_js_1 = require("./ai-agent-resolver.js");
10
10
  const session_activity_subscription_js_1 = require("./chat-session/session-activity-subscription.js");
11
11
  const chat_message_subscription_js_1 = require("./chat-message/chat-message-subscription.js");
12
12
  const chat_typing_subscription_js_1 = require("./chat-message/chat-typing-subscription.js");
13
+ const assistant_progress_subscription_js_1 = require("./chat-message/assistant-progress-subscription.js");
13
14
  const index_js_1 = require("./chat-session/index.js");
14
15
  const index_js_2 = require("./chat-message/index.js");
15
16
  const index_js_3 = require("./chat-session-participant/index.js");
@@ -105,6 +106,7 @@ exports.schema = {
105
106
  chat_message_subscription_js_1.ChatMessageSubscription,
106
107
  /* 「입력 중」 — 저장하지 않는 방의 한 줄. 듣는 사람은 메시지와 같은 방 판정을 지난다. */
107
108
  chat_typing_subscription_js_1.ChatTypingSubscription,
109
+ assistant_progress_subscription_js_1.AssistantProgressSubscription,
108
110
  /* 내가 참여한 모든 세션의 활동 — 창을 닫아 둔 표면이 배지·목록을 갱신할 수 있게. */
109
111
  session_activity_subscription_js_1.MySessionActivitySubscription,
110
112
  /* 사람이 누른 입력 제안을 쓰는 자리 — 행마다 앱의 코드로, 그 사람의 권한으로. */
@@ -23,6 +23,7 @@ exports.openSubjectLineFor = openSubjectLineFor;
23
23
  * · 슬래시가 가리키는 도구가 그 모드 안에 있는가
24
24
  */
25
25
  const ai_client_base_1 = require("@things-factory/ai-client-base");
26
+ const mode_turn_js_1 = require("../assistant-turn/mode-turn.js");
26
27
  const registry_js_1 = require("../assistant-mode/registry.js");
27
28
  const resolve_js_1 = require("../assistant-mode/resolve.js");
28
29
  const mode_categories_js_1 = require("../assistant-mode/mode-categories.js");
@@ -37,16 +38,14 @@ exports.keyEchoTranslate = keyEchoTranslate;
37
38
  async function runRegisteredMode(kind, options = {}) {
38
39
  const settings = (0, resolve_js_1.resolveModeSettings)({ kind }, exports.keyEchoTranslate);
39
40
  let requiredToolOnFirstTurn = false;
40
- const result = await (0, ai_client_base_1.registryAssistantChat)({
41
+ /* The turn the conversation door runs (runModeTurn), with the mode's own settings - never the test's. */
42
+ const result = await (0, mode_turn_js_1.runModeTurn)({
41
43
  client: options.client,
42
44
  messages: [{ role: 'user', content: '한 턴' }],
43
- systemPrompt: settings.systemPrompt,
44
- toolCategories: settings.toolCategories,
45
+ settings: { ...settings, requireToolOnFirstTurn: (requiredToolOnFirstTurn = Boolean(settings.requireToolOnFirstTurn)) },
46
+ mode: { kind },
45
47
  /* What the door puts in front on that screen (ADR-0061 decision 9) - a mode too large for one call is offered as a person meets it. */
46
48
  front: { categories: (0, mode_categories_js_1.modeFrontCategories)((0, registry_js_1.getAssistantMode)(kind) ?? {}, options.screen ?? {}) },
47
- requireToolOnFirstTurn: (requiredToolOnFirstTurn = Boolean(settings.requireToolOnFirstTurn)),
48
- temperature: settings.temperature,
49
- maxTokens: settings.maxTokens,
50
49
  hostContext: options.hostContext,
51
50
  /*
52
51
  * This harness asks about **the mode** — "what does this mode open", not "does this person pass the
@@ -23,7 +23,7 @@ const shell_1 = require("@things-factory/shell");
23
23
  const registry_js_1 = require("../assistant-mode/registry.js");
24
24
  const mode_categories_js_1 = require("../assistant-mode/mode-categories.js");
25
25
  const message_doors_js_1 = require("../chat-message/message-doors.js");
26
- const grounding_sources_js_1 = require("../grounding-sources.js");
26
+ const mode_turn_js_1 = require("../assistant-turn/mode-turn.js");
27
27
  const tool_access_js_1 = require("../tool-access.js");
28
28
  const assistant_run_js_1 = require("./assistant-run.js");
29
29
  const limits_js_1 = require("./limits.js");
@@ -149,30 +149,29 @@ async function runAssistantUnattended(input, deps = defaultDeps()) {
149
149
  let result;
150
150
  try {
151
151
  result = await Promise.race([
152
- (0, ai_client_base_1.registryAssistantChat)({
152
+ (0, mode_turn_js_1.runModeTurn)({
153
153
  client,
154
154
  messages,
155
- systemPrompt,
156
- toolCategories: categories,
155
+ settings: {
156
+ systemPrompt,
157
+ toolCategories: categories,
158
+ temperature: mode.temperature,
159
+ maxTokens: mode.maxTokens,
160
+ requireToolOnFirstTurn: mode.requireToolOnFirstTurn
161
+ },
157
162
  /* No screen and no conversation - the mode's own tools in front, the lists opened as the run needs (ADR-0061 decision 9). */
158
163
  front: { categories: mode.toolCategories ?? [] },
159
- mode: { kind: mode.kind, ...(input.mode.target ? { target: input.mode.target } : {}) },
164
+ mode: input.mode,
160
165
  toolAccess: deps.toolAccess(state),
161
166
  hostContext: input.hostContext,
162
167
  state,
163
- temperature: mode.temperature,
164
- maxTokens: mode.maxTokens,
165
- requireToolOnFirstTurn: mode.requireToolOnFirstTurn,
166
168
  /* Each step is one request. A run that reaches the last step without an answer failed - no wrap-up call (§4). */
167
- maxIterations: limits.maxModelCalls,
168
- salvageOnMaxIterations: false,
169
- signal: abort.signal,
169
+ limits: { maxIterations: limits.maxModelCalls, salvageOnMaxIterations: false, signal: abort.signal },
170
170
  onToolCall: record => {
171
171
  if (!over)
172
172
  reads.push(record);
173
173
  },
174
- run: { id: held.id, source: run.source, subject: run.subject, scheduledAt: run.scheduledAt.toISOString() },
175
- groundingSources: (0, grounding_sources_js_1.groundingSourcesFor)({ systemPrompt, messages: messages, hostContext: input.hostContext })
174
+ run: { id: held.id, source: run.source, subject: run.subject, scheduledAt: run.scheduledAt.toISOString() }
176
175
  }),
177
176
  timeout
178
177
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/ai-assistant",
3
- "version": "10.1.281",
3
+ "version": "10.1.283",
4
4
  "main": "dist-server/index.js",
5
5
  "things-factory": true,
6
6
  "author": "heartyoh",
@@ -37,14 +37,14 @@
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.281",
41
- "@things-factory/apptool-base": "^10.1.281",
42
- "@things-factory/attachment-base": "^10.1.281",
43
- "@things-factory/auth-base": "^10.1.281",
40
+ "@things-factory/ai-client-base": "^10.1.283",
41
+ "@things-factory/apptool-base": "^10.1.283",
42
+ "@things-factory/attachment-base": "^10.1.283",
43
+ "@things-factory/auth-base": "^10.1.283",
44
44
  "@things-factory/env": "^10.1.281",
45
- "@things-factory/help": "^10.1.281",
46
- "@things-factory/setting-base": "^10.1.281",
47
- "@things-factory/shell": "^10.1.281",
45
+ "@things-factory/help": "^10.1.283",
46
+ "@things-factory/setting-base": "^10.1.283",
47
+ "@things-factory/shell": "^10.1.283",
48
48
  "dompurify": "^3.0.0",
49
49
  "exceljs": "4.2.0",
50
50
  "graphql-scalars": "^1.22.0",
@@ -74,5 +74,5 @@
74
74
  "copyfiles": "^2.4.1",
75
75
  "rimraf": "^5.0.0"
76
76
  },
77
- "gitHead": "c872f4723dcd72808f3c60a7d6c95521d4c2bbca"
77
+ "gitHead": "912e4835a175273005bba4a98da160906caa2b40"
78
78
  }
@@ -84,6 +84,7 @@
84
84
  "ai-assistant.notice.provider-error": "something went wrong while handling this. tell an administrator if it keeps happening.",
85
85
  "ai-assistant.notice.too-long": "this stopped after {iter} lookups without an answer.",
86
86
  "ai-assistant.notice.tool-kept-failing": "{tool} failed {count} times in a row, so it stopped. try saying it differently.",
87
+ "ai-assistant.notice.cut-short": "this answer reached its length limit and was cut off.",
87
88
  "ai-assistant.text.no-match": "no match",
88
89
  "ai-assistant.text.messages-unreadable": "could not read this conversation.",
89
90
  "ai-assistant.text.sessions-unreadable": "could not load the conversation list.",
@@ -341,6 +342,8 @@
341
342
  "ai-assistant.agent.key-this-domain": "This domain's key {hint}",
342
343
  "ai-assistant.agent.key-of": "{domain} key",
343
344
  "ai-assistant.agent.key-missing": "No key",
345
+ "ai-assistant.agent.key-none-needed": "No key - this computer's login",
346
+ "ai-assistant.agent.key-none-needed-hint": "None: it answers on the Claude Code CLI logged in on the computer this server runs on. For development only.",
344
347
  "ai-assistant.agent.more": "More",
345
348
  "ai-assistant.agent.edit": "Edit",
346
349
  "ai-assistant.agent.delete": "Delete",
@@ -84,6 +84,7 @@
84
84
  "ai-assistant.notice.provider-error": "algo salió mal al procesar esto. avise a un administrador si sigue ocurriendo.",
85
85
  "ai-assistant.notice.too-long": "se detuvo tras {iter} consultas sin obtener una respuesta.",
86
86
  "ai-assistant.notice.tool-kept-failing": "{tool} falló {count} veces seguidas, así que se detuvo. intente decirlo de otra forma.",
87
+ "ai-assistant.notice.cut-short": "esta respuesta llegó a su límite de longitud y quedó cortada.",
87
88
  "ai-assistant.text.no-match": "sin coincidencias",
88
89
  "ai-assistant.text.messages-unreadable": "no se pudo leer esta conversación.",
89
90
  "ai-assistant.text.sessions-unreadable": "no se pudo cargar la lista de conversaciones.",
@@ -341,6 +342,8 @@
341
342
  "ai-assistant.agent.key-this-domain": "Clave de este dominio {hint}",
342
343
  "ai-assistant.agent.key-of": "Clave de {domain}",
343
344
  "ai-assistant.agent.key-missing": "Sin clave",
345
+ "ai-assistant.agent.key-none-needed": "Sin clave - el inicio de sesión de este equipo",
346
+ "ai-assistant.agent.key-none-needed-hint": "No necesaria: responde con la CLI de Claude Code con sesión iniciada en el equipo donde corre este servidor. Solo para desarrollo.",
344
347
  "ai-assistant.agent.more": "Más",
345
348
  "ai-assistant.agent.edit": "Editar",
346
349
  "ai-assistant.agent.delete": "Eliminar",
@@ -84,6 +84,7 @@
84
84
  "ai-assistant.notice.provider-error": "処理中に問題が発生しました。同じことが続く場合は管理者にお知らせください。",
85
85
  "ai-assistant.notice.too-long": "{iter} 回の照会で答えを出せずに止まりました。",
86
86
  "ai-assistant.notice.tool-kept-failing": "{tool} の呼び出しが {count} 回続けて失敗したため止まりました。言い方を変えてみてください。",
87
+ "ai-assistant.notice.cut-short": "答えが長さの上限に達したため、途中で切れています。",
87
88
  "ai-assistant.text.no-match": "一致するものがありません",
88
89
  "ai-assistant.text.messages-unreadable": "この会話を読み取れませんでした。",
89
90
  "ai-assistant.text.sessions-unreadable": "会話の一覧を読み込めませんでした。",
@@ -341,6 +342,8 @@
341
342
  "ai-assistant.agent.key-this-domain": "この事業所のキー {hint}",
342
343
  "ai-assistant.agent.key-of": "{domain} のキー",
343
344
  "ai-assistant.agent.key-missing": "キーなし",
345
+ "ai-assistant.agent.key-none-needed": "キーなし - このコンピューターのログイン",
346
+ "ai-assistant.agent.key-none-needed-hint": "不要: このサーバーが動くコンピューターにログインした Claude Code CLI で答えます。開発専用です。",
344
347
  "ai-assistant.agent.more": "その他",
345
348
  "ai-assistant.agent.edit": "編集",
346
349
  "ai-assistant.agent.delete": "削除",
@@ -84,6 +84,7 @@
84
84
  "ai-assistant.notice.provider-error": "처리 중에 문제가 생겼습니다. 같은 문제가 계속되면 관리자에게 알려 주세요.",
85
85
  "ai-assistant.notice.too-long": "조회 {iter}번 안에 답을 만들지 못하고 멈췄습니다.",
86
86
  "ai-assistant.notice.tool-kept-failing": "{tool} 호출이 연속 {count}회 실패하여 중단했습니다. 요청 내용을 구체적으로 입력하여 다시 시도해 주세요.",
87
+ "ai-assistant.notice.cut-short": "답이 길이 한도에 닿아 중간에 끊겼습니다.",
87
88
  "ai-assistant.text.no-match": "맞는 것이 없습니다",
88
89
  "ai-assistant.text.messages-unreadable": "이 대화를 읽지 못했습니다.",
89
90
  "ai-assistant.text.sessions-unreadable": "대화 목록을 불러오지 못했습니다.",
@@ -341,6 +342,8 @@
341
342
  "ai-assistant.agent.key-this-domain": "이 사업장 키 {hint}",
342
343
  "ai-assistant.agent.key-of": "{domain} 키",
343
344
  "ai-assistant.agent.key-missing": "키 없음",
345
+ "ai-assistant.agent.key-none-needed": "키 없음 - 이 컴퓨터의 로그인",
346
+ "ai-assistant.agent.key-none-needed-hint": "필요 없음: 이 서버가 도는 컴퓨터에 로그인된 Claude Code CLI로 답합니다. 개발 전용입니다.",
344
347
  "ai-assistant.agent.more": "더 보기",
345
348
  "ai-assistant.agent.edit": "수정",
346
349
  "ai-assistant.agent.delete": "삭제",
@@ -84,6 +84,7 @@
84
84
  "ai-assistant.notice.provider-error": "ada masalah semasa mengendalikan ini. beritahu pentadbir jika ia berulang.",
85
85
  "ai-assistant.notice.too-long": "ini berhenti selepas {iter} carian tanpa jawapan.",
86
86
  "ai-assistant.notice.tool-kept-failing": "{tool} gagal {count} kali berturut-turut, jadi ia berhenti. cuba nyatakan dengan cara lain.",
87
+ "ai-assistant.notice.cut-short": "jawapan ini mencapai had panjangnya dan terpotong.",
87
88
  "ai-assistant.text.no-match": "tiada padanan",
88
89
  "ai-assistant.text.messages-unreadable": "tidak dapat membaca perbualan ini.",
89
90
  "ai-assistant.text.sessions-unreadable": "tidak dapat memuatkan senarai perbualan.",
@@ -341,6 +342,8 @@
341
342
  "ai-assistant.agent.key-this-domain": "Kunci domain ini {hint}",
342
343
  "ai-assistant.agent.key-of": "Kunci {domain}",
343
344
  "ai-assistant.agent.key-missing": "Tiada kunci",
345
+ "ai-assistant.agent.key-none-needed": "Tiada kunci - log masuk komputer ini",
346
+ "ai-assistant.agent.key-none-needed-hint": "Tidak perlu: ia menjawab melalui CLI Claude Code yang log masuk pada komputer pelayan ini. Untuk pembangunan sahaja.",
344
347
  "ai-assistant.agent.more": "Lagi",
345
348
  "ai-assistant.agent.edit": "Sunting",
346
349
  "ai-assistant.agent.delete": "Padam",
@@ -84,6 +84,7 @@
84
84
  "ai-assistant.notice.provider-error": "处理时出了问题。如果一直这样,请告知管理员。",
85
85
  "ai-assistant.notice.too-long": "查询 {iter} 次后仍未得出答案,已停止。",
86
86
  "ai-assistant.notice.tool-kept-failing": "{tool} 连续失败 {count} 次,已停止。请换一种说法。",
87
+ "ai-assistant.notice.cut-short": "回答已达到长度上限,内容被截断。",
87
88
  "ai-assistant.text.no-match": "没有匹配项",
88
89
  "ai-assistant.text.messages-unreadable": "无法读取这个对话。",
89
90
  "ai-assistant.text.sessions-unreadable": "无法加载对话列表。",
@@ -341,6 +342,8 @@
341
342
  "ai-assistant.agent.key-this-domain": "此站点的密钥 {hint}",
342
343
  "ai-assistant.agent.key-of": "{domain} 的密钥",
343
344
  "ai-assistant.agent.key-missing": "无密钥",
345
+ "ai-assistant.agent.key-none-needed": "无密钥 - 本机登录",
346
+ "ai-assistant.agent.key-none-needed-hint": "无需: 使用本服务器所在计算机上已登录的 Claude Code CLI 回答。仅用于开发。",
344
347
  "ai-assistant.agent.more": "更多",
345
348
  "ai-assistant.agent.edit": "编辑",
346
349
  "ai-assistant.agent.delete": "删除",