3d9caac178
Lets a non-technical operator install the Architect's Claude key from the StartOS UI instead of the terminal: a masked text field whose value is written to /data/secrets/anthropic-api-key (0600) on the box — the same file the entrypoint already loads at boot. Secret is piped over stdin (never argv/env), CR/LF stripped to match the entrypoint's read. allowedStatuses 'any'; a restart is required (and stated in the action's warning + success message) since the entrypoint reads the key only at startup. Verified the Architect's data boundary first: the deployed Thesis Workshop routes send only Ten31's own thesis text (thesis_lines/thesis_nodes) + the partner-typed guidance to Claude — no contacts/lp_profiles/communications/grid. (The MCP CRM-retrieval tools that DO return record substance are not wired into the deployed Architect; the redaction boundary must land before any grounding path uses them — Phase 1 Workstream D.) tsc --noEmit clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
21 lines
1007 B
TypeScript
21 lines
1007 B
TypeScript
import { VersionInfo } from '@start9labs/start-sdk'
|
|
|
|
// Adds a "Set Anthropic API Key (Architect)" StartOS action so the Claude key
|
|
// can be installed from the UI — paste it into a masked field and it is written
|
|
// to /data/secrets/anthropic-api-key (0600) on the box, no terminal/SSH needed.
|
|
// The Architect only ever sends Ten31's own thesis text + what you type to
|
|
// Claude; it does not read LP/contact/communication records. Restart the
|
|
// service after saving so the entrypoint loads the new key. No data migration.
|
|
export const v_0_1_0_50 = VersionInfo.of({
|
|
version: '0.1.0:50',
|
|
releaseNotes: {
|
|
en_US: [
|
|
'Adds a "Set Anthropic API Key (Architect)" action: install your Claude API',
|
|
'key from the StartOS UI (masked field, stored only on the server at',
|
|
'/data/secrets/anthropic-api-key) — no terminal needed. Restart the service',
|
|
'after saving so the Architect picks it up.',
|
|
].join(' '),
|
|
},
|
|
migrations: { up: async () => {}, down: async () => {} },
|
|
})
|