@things-factory/figure-service 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,259 @@
1
+ #!/usr/bin/env node
2
+ /*
3
+ * The figure MCP server (development, 2026-11-14): the modeller's kernel as tools for an agent -- the way that made good
4
+ * figures when an outside agent was handed it (validation round 1 vs an outside agent, 2026-11-13). Write the whole
5
+ * figure as commands, read back what the kernel made and what it measures wrong, look at it, and fix until it is right.
6
+ *
7
+ * MCP over stdio: one JSON-RPC message per line, the few methods a client asks of a tools server.
8
+ *
9
+ * Its work lives in a folder (FIGURE_WORK_DIR):
10
+ * meta.json { name } the new figure's name
11
+ * base.json the figure the request changes absent: a new figure
12
+ * steps.json the commands applied so far, in order (what the card runs on the base)
13
+ * current.json the figure as it stands
14
+ * finished.json { summary } written by finish
15
+ *
16
+ * Pictures come from figure-ui's thumbnail page in a headless browser (FIGURE_UI_DIR, a development checkout); without
17
+ * it the render tool says so.
18
+ */
19
+ import { createRequire } from 'node:module'
20
+ import { existsSync, readFileSync, writeFileSync } from 'node:fs'
21
+ import { dirname, join } from 'node:path'
22
+ import { createInterface } from 'node:readline'
23
+ import { fileURLToPath, pathToFileURL } from 'node:url'
24
+
25
+ const here = dirname(fileURLToPath(import.meta.url))
26
+ const require = createRequire(join(here, 'package.json'))
27
+ const fm = require('@hatiolab/figure-model')
28
+ const { readFigure, startingFigure, tryPose } = require(join(here, '..', 'dist-server', 'service', 'figure', 'figure-read.js'))
29
+
30
+ const WORK = process.env.FIGURE_WORK_DIR
31
+ if (!WORK) {
32
+ process.stderr.write('FIGURE_WORK_DIR is required\n')
33
+ process.exit(1)
34
+ }
35
+ const file = name => join(WORK, name)
36
+ const readJSON = (name, fallback) => (existsSync(file(name)) ? JSON.parse(readFileSync(file(name), 'utf-8')) : fallback)
37
+ const meta = readJSON('meta.json', {})
38
+
39
+ /* The figure the request changes, if any: what is measured wrong is what the agent's steps made wrong, never what it was given. */
40
+ const base = (() => {
41
+ const given = readJSON('base.json', undefined)
42
+ return given ? fm.parseFigureAsset(JSON.stringify(given)) : undefined
43
+ })()
44
+ const starting = () => startingFigure(base, meta.name)
45
+
46
+ let state = (() => {
47
+ const start = starting()
48
+ const steps = readJSON('steps.json', start.steps)
49
+ let asset = start.asset
50
+ if (steps.length > start.steps.length) asset = fm.applyFigureProposal(start.asset, steps.slice(start.steps.length))
51
+ return { asset, steps }
52
+ })()
53
+
54
+ function save() {
55
+ writeFileSync(file('steps.json'), JSON.stringify(state.steps))
56
+ writeFileSync(file('current.json'), fm.serializeFigureAsset(state.asset))
57
+ }
58
+ save()
59
+
60
+ const said = f => `${f.severity === 'fix' ? 'WRONG' : 'note'} ${f.code}: ${f.message}`
61
+
62
+ let browser
63
+ async function shoot(values) {
64
+ const ui = process.env.FIGURE_UI_DIR
65
+ if (!ui) return undefined
66
+ if (!browser) {
67
+ const { buildPage } = await import(pathToFileURL(join(ui, 'test/browser/build.mjs')).href)
68
+ const { openPage } = await import(pathToFileURL(join(ui, 'test/browser/serve.mjs')).href)
69
+ browser = await openPage(await buildPage('thumbnail-page.js'))
70
+ }
71
+ const url = await browser.page.evaluate((t, s) => window.shoot(t, s), fm.serializeFigureAsset(state.asset), values ?? {})
72
+ const m = /^data:([^;]+);base64,(.*)$/.exec(url ?? '')
73
+ return m ? { mimeType: m[1], data: m[2] } : undefined
74
+ }
75
+
76
+ /*
77
+ * The tools that reach the application, as the person who asked (2026-11-14). The agent's server is handed a token of
78
+ * that person's and the tools their privileges open (FIGURE_APP_TOOLS, chosen by the application at the doors these
79
+ * tools go through). Each call goes to the application's GraphQL with the token, so the door checks it again as it
80
+ * would the person's own call. Read only: nothing here saves.
81
+ */
82
+ const API = {
83
+ url: process.env.FIGURE_API_URL,
84
+ token: process.env.FIGURE_API_TOKEN,
85
+ domain: process.env.FIGURE_API_DOMAIN,
86
+ tools: new Set((process.env.FIGURE_APP_TOOLS || '').split(',').filter(Boolean))
87
+ }
88
+
89
+ async function graphql(query, variables) {
90
+ const response = await fetch(API.url, {
91
+ method: 'POST',
92
+ headers: {
93
+ 'Content-Type': 'application/json',
94
+ Authorization: `Bearer ${API.token}`,
95
+ ...(API.domain ? { 'x-things-factory-domain': API.domain } : {})
96
+ },
97
+ body: JSON.stringify({ query, variables })
98
+ })
99
+ const text = await response.text()
100
+ let body
101
+ try {
102
+ body = JSON.parse(text)
103
+ } catch {
104
+ throw new Error(`The application answered ${response.status}: ${text.slice(0, 300)}`)
105
+ }
106
+ if (body.errors?.length) throw new Error(`The application refused: ${body.errors.map(e => e.message).join('; ')}`)
107
+ return body.data
108
+ }
109
+
110
+ const APP_TOOLS = [
111
+ {
112
+ name: 'find_figures',
113
+ description:
114
+ "The figures saved in the person's domain: id, type, name, state. Search by part of a name or type. Use it when the request refers to a figure the person already has.",
115
+ inputSchema: { type: 'object', properties: { search: { type: 'string' } } },
116
+ run: async ({ search }) => {
117
+ const words = typeof search === 'string' ? search.trim() : ''
118
+ const filters = words ? ['name', 'type'].map(name => ({ name, operator: 'search', value: `%${words}%` })) : []
119
+ const data = await graphql(
120
+ 'query ($filters: [Filter!], $pagination: Pagination) { figures(filters: $filters, pagination: $pagination, sortings: [{ name: "updatedAt", desc: true }]) { total items { id type name state } } }',
121
+ { filters, pagination: { page: 1, limit: 30 } }
122
+ )
123
+ const { total, items } = data.figures
124
+ return [`${total} figure(s)${total > items.length ? `, the ${items.length} most recently changed` : ''}:`, ...items.map(f => `- ${f.id} ${f.type} "${f.name}" ${f.state ?? ''}`)].join('\n')
125
+ }
126
+ },
127
+ {
128
+ name: 'open_figure',
129
+ description:
130
+ 'One saved figure, by id (find_figures): its parts, sizes, how they hang and move, and its colours -- to match a figure the person has. It does not change the figure being built.',
131
+ inputSchema: { type: 'object', properties: { id: { type: 'string' } }, required: ['id'] },
132
+ run: async ({ id }) => {
133
+ const data = await graphql('query ($id: String!) { figure(id: $id) { id type name source } }', { id: String(id ?? '') })
134
+ const figure = data.figure
135
+ if (!figure) return { error: `No figure ${id} in this domain.` }
136
+ if (!figure.source) return `"${figure.name}" (${figure.type}) has no source yet.`
137
+ const asset = fm.parseFigureAsset(typeof figure.source === 'string' ? figure.source : JSON.stringify(figure.source))
138
+ return [`"${figure.name}" (${figure.type}). Colours: ${JSON.stringify(asset.palette ?? {})}`, '', readFigure(asset)].join('\n')
139
+ }
140
+ }
141
+ ].filter(tool => API.url && API.token && API.tools.has(tool.name))
142
+
143
+ const TOOLS = [
144
+ ...APP_TOOLS,
145
+ {
146
+ name: 'get_guide',
147
+ description: 'How a figure is modelled in this modeller, and every command with its shape. Read it before writing commands.',
148
+ inputSchema: { type: 'object', properties: {} },
149
+ run: () => [fm.FIGURE_MODELLING_GUIDE, '', 'THE COMMANDS (shape, then what it means):', ...fm.FIGURE_PROPOSAL_GRAMMAR.map(w => `- ${w.shape}\n ${w.means}`)].join('\n')
150
+ },
151
+ {
152
+ name: 'apply_steps',
153
+ description:
154
+ 'Apply modeller commands to the figure, in order, as one step. Refused whole if any is refused: the reason says which and why, and nothing is applied. Applied, it answers what is measured wrong on the figure now, and the figure as it stands. Steps applied stay; to change them, apply more (attach again with replace, set-joint, remove-part) or start_over.',
155
+ inputSchema: { type: 'object', properties: { steps: { type: 'array', items: { type: 'object' } } }, required: ['steps'] },
156
+ run: ({ steps }) => {
157
+ if (!Array.isArray(steps) || !steps.length) return { error: 'steps must be a non-empty array of commands.' }
158
+ const before = state.asset
159
+ let after
160
+ try {
161
+ after = fm.applyFigureProposal(before, steps)
162
+ } catch (e) {
163
+ return { error: `Refused, nothing applied: ${String(e?.message ?? e)}` }
164
+ }
165
+ state = { asset: after, steps: [...state.steps, ...steps] }
166
+ save()
167
+ const found = fm.figureProposalFindings(base, after)
168
+ return [`Applied ${steps.length} steps (${state.steps.length} in all).`, found.length ? 'Measured on the figure now:' : 'Nothing measured wrong.', ...found.map(said), '', readFigure(after)].join('\n')
169
+ }
170
+ },
171
+ {
172
+ name: 'read_figure',
173
+ description: 'The figure as it stands at rest: its size, controls, and for each part its measures, where it spans on X, Y, Z (mm), which way it faces, what it hangs on, how it moves, what it touches. Give parts to read only those.',
174
+ inputSchema: { type: 'object', properties: { parts: { type: 'array', items: { type: 'string' } } } },
175
+ run: ({ parts }) => readFigure(state.asset, Array.isArray(parts) ? parts : undefined)
176
+ },
177
+ {
178
+ name: 'try_pose',
179
+ description: 'Where parts go with some controls set: to check that a joint moves the way it is meant to.',
180
+ inputSchema: { type: 'object', properties: { values: { type: 'object', description: '{ <control>: value }' } }, required: ['values'] },
181
+ run: ({ values }) => tryPose(state.asset, values ?? {})
182
+ },
183
+ {
184
+ name: 'render',
185
+ description: 'A picture of the figure, at rest or with controls set. Look at it as the person who asked would: is it the thing, does it look right, does it move right?',
186
+ inputSchema: { type: 'object', properties: { values: { type: 'object', description: 'Controls to set; none for the rest pose.' } } },
187
+ run: async ({ values }) => {
188
+ const image = await shoot(values)
189
+ if (!image) return { error: 'Pictures are not available here; read_figure and try_pose instead.' }
190
+ return { image }
191
+ }
192
+ },
193
+ {
194
+ name: 'start_over',
195
+ description: 'Throw away every step applied and start again from the figure the request began with.',
196
+ inputSchema: { type: 'object', properties: {} },
197
+ run: () => {
198
+ state = starting()
199
+ save()
200
+ return 'Started over.'
201
+ }
202
+ },
203
+ {
204
+ name: 'finish',
205
+ description: 'The figure is what was asked and looks right: end, with one or two sentences for the person on what was made.',
206
+ inputSchema: { type: 'object', properties: { summary: { type: 'string' } }, required: ['summary'] },
207
+ run: ({ summary }) => {
208
+ writeFileSync(file('finished.json'), JSON.stringify({ summary: String(summary ?? '') }))
209
+ return 'Done. Stop here.'
210
+ }
211
+ }
212
+ ]
213
+
214
+ function send(message) {
215
+ process.stdout.write(JSON.stringify(message) + '\n')
216
+ }
217
+
218
+ async function handle(request) {
219
+ const { id, method, params } = request
220
+ if (id === undefined) return /* a notification */
221
+ if (method === 'initialize')
222
+ return send({ jsonrpc: '2.0', id, result: { protocolVersion: params?.protocolVersion ?? '2025-06-18', capabilities: { tools: {} }, serverInfo: { name: 'operato-figure', version: '0.1.0' } } })
223
+ if (method === 'ping') return send({ jsonrpc: '2.0', id, result: {} })
224
+ if (method === 'tools/list') return send({ jsonrpc: '2.0', id, result: { tools: TOOLS.map(({ name, description, inputSchema }) => ({ name, description, inputSchema })) } })
225
+ if (method === 'tools/call') {
226
+ const tool = TOOLS.find(t => t.name === params?.name)
227
+ if (!tool) return send({ jsonrpc: '2.0', id, result: { content: [{ type: 'text', text: `No tool named ${params?.name}.` }], isError: true } })
228
+ try {
229
+ const out = await tool.run(params?.arguments ?? {})
230
+ if (typeof out === 'string') return send({ jsonrpc: '2.0', id, result: { content: [{ type: 'text', text: out }] } })
231
+ if (out?.image) return send({ jsonrpc: '2.0', id, result: { content: [{ type: 'image', data: out.image.data, mimeType: out.image.mimeType }] } })
232
+ return send({ jsonrpc: '2.0', id, result: { content: [{ type: 'text', text: String(out?.error ?? '') }], isError: true } })
233
+ } catch (e) {
234
+ return send({ jsonrpc: '2.0', id, result: { content: [{ type: 'text', text: `The tool failed: ${String(e?.message ?? e)}` }], isError: true } })
235
+ }
236
+ }
237
+ send({ jsonrpc: '2.0', id, error: { code: -32601, message: `Method not found: ${method}` } })
238
+ }
239
+
240
+ const pending = new Set()
241
+ const lines = createInterface({ input: process.stdin })
242
+ lines.on('line', line => {
243
+ if (!line.trim()) return
244
+ let request
245
+ try {
246
+ request = JSON.parse(line)
247
+ } catch {
248
+ return send({ jsonrpc: '2.0', id: null, error: { code: -32700, message: 'Parse error' } })
249
+ }
250
+ const done = handle(request).catch(e => process.stderr.write(String(e?.stack ?? e) + '\n'))
251
+ pending.add(done)
252
+ done.finally(() => pending.delete(done))
253
+ })
254
+ /* The client is gone: answer what is still in hand, then close the browser. */
255
+ lines.on('close', async () => {
256
+ await Promise.allSettled([...pending])
257
+ await browser?.close?.().catch(() => {})
258
+ process.exit(0)
259
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/figure-service",
3
- "version": "10.1.281",
3
+ "version": "10.1.283",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "@things-factory:registry": "https://registry.npmjs.org"
@@ -10,6 +10,7 @@
10
10
  "files": [
11
11
  "README.md",
12
12
  "dist-server",
13
+ "mcp",
13
14
  "recipes",
14
15
  "things-factory.config.js",
15
16
  "translations",
@@ -40,18 +41,18 @@
40
41
  "test:templates": "node --test scripts/templates.test.mts"
41
42
  },
42
43
  "dependencies": {
43
- "@hatiolab/figure-model": "^0.12.4",
44
+ "@hatiolab/figure-model": "^0.12.11",
44
45
  "@operato/typeorm-history": "^10.0.0",
45
- "@things-factory/ai-client-base": "^10.1.281",
46
- "@things-factory/attachment-base": "^10.1.281",
47
- "@things-factory/auth-base": "^10.1.281",
46
+ "@things-factory/ai-client-base": "^10.1.283",
47
+ "@things-factory/attachment-base": "^10.1.283",
48
+ "@things-factory/auth-base": "^10.1.283",
48
49
  "@things-factory/env": "^10.1.281",
49
- "@things-factory/setting-base": "^10.1.281",
50
- "@things-factory/shell": "^10.1.281",
50
+ "@things-factory/setting-base": "^10.1.283",
51
+ "@things-factory/shell": "^10.1.283",
51
52
  "graphql-scalars": "^1.22.4",
52
53
  "graphql-upload": "^15.0.2",
53
54
  "jszip": "^3.10.1",
54
55
  "koa-router": "^7.4.0"
55
56
  },
56
- "gitHead": "c872f4723dcd72808f3c60a7d6c95521d4c2bbca"
57
+ "gitHead": "912e4835a175273005bba4a98da160906caa2b40"
57
58
  }
@@ -190,5 +190,19 @@
190
190
  "figure.gate.contract.data-table-changed.message": "The table '{binding}' changed.",
191
191
  "figure.gate.contract.data-table-changed.why": "Where no legend is chosen, the same value may look different after this release.",
192
192
  "figure.gate.contract.data-table-role-changed.message": "The legend role of the table '{binding}' changed from '{before}' to '{after}'.",
193
- "figure.gate.contract.data-table-role-changed.why": "A legend a board chose for the old role is not used after this release. Choose one for the new role."
193
+ "figure.gate.contract.data-table-role-changed.why": "A legend a board chose for the old role is not used after this release. Choose one for the new role.",
194
+ "figure.progress.agent.start": "Reading how a figure is made…",
195
+ "figure.progress.agent.get_guide": "Reading how a figure is made…",
196
+ "figure.progress.agent.apply_steps": "Building the figure (round {count})…",
197
+ "figure.progress.agent.read_figure": "Reading where the parts are…",
198
+ "figure.progress.agent.try_pose": "Checking how it moves…",
199
+ "figure.progress.agent.render": "Looking at the figure…",
200
+ "figure.progress.agent.start_over": "Starting the design again…",
201
+ "figure.progress.agent.find_figures": "Looking through your figures…",
202
+ "figure.progress.agent.open_figure": "Opening one of your figures…",
203
+ "figure.progress.agent.finish": "Finishing…",
204
+ "error.figure-install-key-name-missing": "Name the key - what board server it is for.",
205
+ "error.figure-install-key-name-too-long": "A key name is at most {max} characters.",
206
+ "error.figure-install-key-not-found": "There is no such install key.",
207
+ "error.figure-install-key-privilege-missing": "This server has no privilege to read released figures."
194
208
  }
@@ -190,5 +190,19 @@
190
190
  "figure.gate.contract.data-table-changed.message": "La tabla '{binding}' cambió.",
191
191
  "figure.gate.contract.data-table-changed.why": "Donde no se eligió leyenda, el mismo valor puede verse distinto tras esta publicación.",
192
192
  "figure.gate.contract.data-table-role-changed.message": "El rol de leyenda de la tabla '{binding}' cambió de '{before}' a '{after}'.",
193
- "figure.gate.contract.data-table-role-changed.why": "La leyenda elegida para el rol anterior no se usa tras esta publicación. Elija una para el rol nuevo."
193
+ "figure.gate.contract.data-table-role-changed.why": "La leyenda elegida para el rol anterior no se usa tras esta publicación. Elija una para el rol nuevo.",
194
+ "figure.progress.agent.start": "Leyendo cómo se hace una figura…",
195
+ "figure.progress.agent.get_guide": "Leyendo cómo se hace una figura…",
196
+ "figure.progress.agent.apply_steps": "Construyendo la figura (ronda {count})…",
197
+ "figure.progress.agent.read_figure": "Revisando dónde están las piezas…",
198
+ "figure.progress.agent.try_pose": "Comprobando cómo se mueve…",
199
+ "figure.progress.agent.render": "Mirando la figura…",
200
+ "figure.progress.agent.start_over": "Empezando el diseño de nuevo…",
201
+ "figure.progress.agent.find_figures": "Buscando entre tus figuras…",
202
+ "figure.progress.agent.open_figure": "Abriendo una de tus figuras…",
203
+ "figure.progress.agent.finish": "Terminando…",
204
+ "error.figure-install-key-name-missing": "Indique el nombre de la clave: el servidor de tableros que la usará.",
205
+ "error.figure-install-key-name-too-long": "El nombre de la clave tiene como máximo {max} caracteres.",
206
+ "error.figure-install-key-not-found": "No existe esa clave de instalación.",
207
+ "error.figure-install-key-privilege-missing": "Este servidor no tiene el permiso para leer figuras publicadas."
194
208
  }
@@ -190,5 +190,19 @@
190
190
  "figure.gate.contract.data-table-changed.message": "表 '{binding}' の内容が変わりました。",
191
191
  "figure.gate.contract.data-table-changed.why": "凡例を選んでいない所では、同じ値がこの発行から違って見えることがあります。",
192
192
  "figure.gate.contract.data-table-role-changed.message": "表 '{binding}' の凡例の役割が '{before}' から '{after}' に変わりました。",
193
- "figure.gate.contract.data-table-role-changed.why": "ボードが古い役割に選んだ凡例は、この発行から使われません。新しい役割に凡例を選びます。"
193
+ "figure.gate.contract.data-table-role-changed.why": "ボードが古い役割に選んだ凡例は、この発行から使われません。新しい役割に凡例を選びます。",
194
+ "figure.progress.agent.start": "フィギュアの作り方を読んでいます…",
195
+ "figure.progress.agent.get_guide": "フィギュアの作り方を読んでいます…",
196
+ "figure.progress.agent.apply_steps": "フィギュアを作っています({count}回目)…",
197
+ "figure.progress.agent.read_figure": "部品の位置を確認しています…",
198
+ "figure.progress.agent.try_pose": "動きを確認しています…",
199
+ "figure.progress.agent.render": "絵で確認しています…",
200
+ "figure.progress.agent.start_over": "設計を最初からやり直しています…",
201
+ "figure.progress.agent.find_figures": "保存されたフィギュアを探しています…",
202
+ "figure.progress.agent.open_figure": "保存されたフィギュアを開いています…",
203
+ "figure.progress.agent.finish": "仕上げています…",
204
+ "error.figure-install-key-name-missing": "キー名を入力してください。このキーを使うボードサーバー名を入力します。",
205
+ "error.figure-install-key-name-too-long": "キー名は {max} 文字以内で入力してください。",
206
+ "error.figure-install-key-not-found": "該当するインストールキーがありません。",
207
+ "error.figure-install-key-privilege-missing": "このサーバーに発行済み Figure の参照権限が定義されていません。"
194
208
  }
@@ -190,5 +190,19 @@
190
190
  "figure.gate.contract.data-table-changed.message": "'{binding}' 표 연결의 표가 바뀌었습니다.",
191
191
  "figure.gate.contract.data-table-changed.why": "범례를 고르지 않은 곳에서는 같은 값이 이 발행부터 다르게 보일 수 있습니다.",
192
192
  "figure.gate.contract.data-table-role-changed.message": "'{binding}' 표 연결의 범례 역할이 '{before}' 이름에서 '{after}' 이름으로 바뀌었습니다.",
193
- "figure.gate.contract.data-table-role-changed.why": "보드가 옛 역할에 고른 범례는 이 발행부터 쓰이지 않습니다. 새 역할에 범례를 고릅니다."
193
+ "figure.gate.contract.data-table-role-changed.why": "보드가 옛 역할에 고른 범례는 이 발행부터 쓰이지 않습니다. 새 역할에 범례를 고릅니다.",
194
+ "figure.progress.agent.start": "피규어 만드는 법을 읽는 중…",
195
+ "figure.progress.agent.get_guide": "피규어 만드는 법을 읽는 중…",
196
+ "figure.progress.agent.apply_steps": "피규어를 만드는 중 ({count}번째)…",
197
+ "figure.progress.agent.read_figure": "부품 위치를 확인하는 중…",
198
+ "figure.progress.agent.try_pose": "움직임을 확인하는 중…",
199
+ "figure.progress.agent.render": "그림으로 확인하는 중…",
200
+ "figure.progress.agent.start_over": "설계를 처음부터 다시 하는 중…",
201
+ "figure.progress.agent.find_figures": "저장된 피규어를 찾아보는 중…",
202
+ "figure.progress.agent.open_figure": "저장된 피규어를 여는 중…",
203
+ "figure.progress.agent.finish": "마무리하는 중…",
204
+ "error.figure-install-key-name-missing": "키 이름을 입력하세요. 이 키를 사용할 보드 서버를 적으면 됩니다.",
205
+ "error.figure-install-key-name-too-long": "키 이름은 {max}자 이하로 입력하세요.",
206
+ "error.figure-install-key-not-found": "해당 설치 키가 없습니다.",
207
+ "error.figure-install-key-privilege-missing": "이 서버에 발행 피규어 조회 권한이 정의되어 있지 않습니다."
194
208
  }
@@ -190,5 +190,19 @@
190
190
  "figure.gate.contract.data-table-changed.message": "Jadual '{binding}' telah berubah.",
191
191
  "figure.gate.contract.data-table-changed.why": "Di tempat tiada petunjuk dipilih, nilai yang sama mungkin kelihatan berbeza selepas keluaran ini.",
192
192
  "figure.gate.contract.data-table-role-changed.message": "Peranan petunjuk jadual '{binding}' berubah daripada '{before}' kepada '{after}'.",
193
- "figure.gate.contract.data-table-role-changed.why": "Petunjuk yang dipilih bagi peranan lama tidak digunakan selepas keluaran ini. Pilih satu bagi peranan baharu."
193
+ "figure.gate.contract.data-table-role-changed.why": "Petunjuk yang dipilih bagi peranan lama tidak digunakan selepas keluaran ini. Pilih satu bagi peranan baharu.",
194
+ "figure.progress.agent.start": "Membaca cara figura dibuat…",
195
+ "figure.progress.agent.get_guide": "Membaca cara figura dibuat…",
196
+ "figure.progress.agent.apply_steps": "Membina figura (pusingan {count})…",
197
+ "figure.progress.agent.read_figure": "Menyemak kedudukan bahagian…",
198
+ "figure.progress.agent.try_pose": "Menyemak cara ia bergerak…",
199
+ "figure.progress.agent.render": "Melihat figura…",
200
+ "figure.progress.agent.start_over": "Memulakan reka bentuk semula…",
201
+ "figure.progress.agent.find_figures": "Mencari dalam figura anda…",
202
+ "figure.progress.agent.open_figure": "Membuka salah satu figura anda…",
203
+ "figure.progress.agent.finish": "Menyiapkan…",
204
+ "error.figure-install-key-name-missing": "Namakan kunci - pelayan papan yang akan menggunakannya.",
205
+ "error.figure-install-key-name-too-long": "Nama kunci paling banyak {max} aksara.",
206
+ "error.figure-install-key-not-found": "Tiada kunci pemasangan sedemikian.",
207
+ "error.figure-install-key-privilege-missing": "Pelayan ini tiada keistimewaan untuk membaca figure terbitan."
194
208
  }
@@ -190,5 +190,19 @@
190
190
  "figure.gate.contract.data-table-changed.message": "表 '{binding}' 已更改。",
191
191
  "figure.gate.contract.data-table-changed.why": "未选择图例的地方,同一值从本次发布起可能显示不同。",
192
192
  "figure.gate.contract.data-table-role-changed.message": "表 '{binding}' 的图例角色由 '{before}' 改为 '{after}'。",
193
- "figure.gate.contract.data-table-role-changed.why": "看板为旧角色选择的图例从本次发布起不再使用。请为新角色选择图例。"
193
+ "figure.gate.contract.data-table-role-changed.why": "看板为旧角色选择的图例从本次发布起不再使用。请为新角色选择图例。",
194
+ "figure.progress.agent.start": "正在阅读模型的制作方法…",
195
+ "figure.progress.agent.get_guide": "正在阅读模型的制作方法…",
196
+ "figure.progress.agent.apply_steps": "正在制作模型(第 {count} 轮)…",
197
+ "figure.progress.agent.read_figure": "正在确认部件位置…",
198
+ "figure.progress.agent.try_pose": "正在检查动作…",
199
+ "figure.progress.agent.render": "正在查看渲染图…",
200
+ "figure.progress.agent.start_over": "正在重新设计…",
201
+ "figure.progress.agent.find_figures": "正在查找已保存的模型…",
202
+ "figure.progress.agent.open_figure": "正在打开已保存的模型…",
203
+ "figure.progress.agent.finish": "正在收尾…",
204
+ "error.figure-install-key-name-missing": "请输入密钥名称,即使用该密钥的看板服务器。",
205
+ "error.figure-install-key-name-too-long": "密钥名称最多 {max} 个字符。",
206
+ "error.figure-install-key-not-found": "没有该安装密钥。",
207
+ "error.figure-install-key-privilege-missing": "此服务器未定义读取已发布图形的权限。"
194
208
  }