29 Commits
Author SHA1 Message Date
Unheard0840 9ce1c1aa17 style: apply prettier formatting to current.ts 2026-10-22 17:53:48 +02:00
Unheard0840 536819e8ef Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	startos/versions/current.ts
2026-10-22 17:49:42 +02:00
Matt HillandClaude Opus 5.5 c1fcaea8ca fix: rebuild on Node.js 22.23.4 for its security release; 0.4.1:1 → 0.4.1:2
Pick up Node.js 22.23.4, which fixes the October 2026 Node security
release (Brotli decoder RCE, TLS hostname-check bypasses and others).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 20:40:14 -06:00
Unheard0840 9a4ab4af96 Merge upstream start-sdk 3.0.3 and the corrected logging docs 2026-10-10 13:19:31 +02:00
helix-b 4f8e5e1adb docs: drop the claim that prompts are never logged
Upstream logs caught error messages unsanitized regardless of the debug
switch, and a JSON.parse failure quotes an excerpt of the request body.

Helix-Harness: claude-code
Helix-Model: claude-opus-5-5
2026-10-06 21:55:06 +00:00
helix-bandClaude Opus 5.5 5603a42be0 chore: move to start-sdk 3.0.3; 0.4.1:0 → 0.4.1:1
- pin @start9labs/start-sdk 3.0.3, regenerate the lock, drop the
  toolchain devDependencies and scripts the SDK supplies, point
  .prettierrc at the SDK's shared config
- file models use z.looseObject
- empty sdk.Dependencies builder passed to buildManifest and setupInit;
  drop the manifest dependencies field
- sync workflows to the package template on main (ready_for_review,
  pr-retarget.yml)
- Verbose Logging's description says what it logs
- resync AGENTS.md boilerplate and trim its repo notes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 15:21:42 -06:00
ai-bot 97cc9b8d5e Bump to 0.6.0:4 (DNS-rebinding hardening, conditional API key write) 2026-09-26 14:23:50 +00:00
ai-bot 87a6f219d1 Only write the API key when it actually changed 2026-09-26 14:22:53 +00:00
ai-bot c6ad02d0a7 Set PPQ_ALLOWED_HOSTS dynamically to prevent DNS-rebinding attacks 2026-09-26 14:22:51 +00:00
ai-bot 6c4e0045ec Bump to 0.6.0:3 (upstream-aligned key validation, no double restart) 2026-09-26 13:26:17 +00:00
ai-bot 80ca6feced Match upstream API-key regex exactly and only write changed settings 2026-09-26 13:26:16 +00:00
ai-bot 576011e224 Bump to 0.6.0:2 for explicit packageId in Service-to-Service URL action 2026-09-24 20:13:13 +00:00
ai-bot eb6671580f Add explicit packageId to getBridgeAddress self-resolution 2026-09-24 20:13:12 +00:00
ai-bot 05866d146a Bump to 0.6.0:1 for the manifest packageRepo fix 2026-09-24 19:55:33 +00:00
ai-bot 4f8a8e12b0 Fix packageRepo to point at this fork (sondreolav) 2026-09-24 19:55:27 +00:00
ai-bot 4b233f2755 Bump package version to 0.6.0:0 following upstream release 2026-09-24 19:20:54 +00:00
ai-bot b662784087 Make API key regex pattern more flexible (support 16-128 chars with hyphens/underscores) 2026-09-24 19:20:20 +00:00
ai-bot c2e51d09f6 Bump packaging revision for the Service-to-Service URL action 2026-09-24 15:50:19 +00:00
ai-bot 12148db477 Translate the Service-to-Service URL action strings 2026-09-24 15:50:18 +00:00
ai-bot 2e116b9965 Add i18n keys for the Service-to-Service URL action 2026-09-24 15:50:16 +00:00
ai-bot 415af8bdf7 Register the Service-to-Service URL action 2026-09-24 15:49:57 +00:00
ai-bot fa38277468 Export apiHostId as the stable host contract for dependents 2026-09-24 15:49:56 +00:00
ai-bot 37c01787f7 Add Service-to-Service URL action for Open WebUI integration 2026-09-24 15:49:54 +00:00
helix-nine c49942739f chore: drop the alerts manifest field
The SDK removed alerts, and StartOS no longer surfaces those lifecycle
prompts. setupManifest infers its parameter type from the argument, which
defeats TypeScript's excess-property check, so the block outlived its
removal without a compile error. All six entries here were null.
2026-08-17 15:10:53 -06:00
helix-nine b03b1f0a14 chore: adopt syncNext workflow and .gitkeep convention 2026-08-16 22:41:41 -06:00
helix-nine 8397c7b1eb adopt 0.4's persistent key store and browser setup form
The earlier bump took 0.4.1 for its model catalog and status page but
left PPQ_DATA_DIR unset, which disabled the key form the release exists
to add. Enable it, and let the proxy own the key outright.

PPQ_API_KEY is no longer passed. The volume's `proxy/` subpath mounts at
/data as PPQ_DATA_DIR, so upstream's key store is the single source of
truth: the Status Page and the Configure PPQ API Key action write the
same config.json, and there is no StartOS-side copy to revert what the
browser saved. A chown oneshot hands /data to the image's `node` user so
the page can write there.

Verbose Logging moves to store.json outside the mount, because upstream
rewrites config.json wholesale when a key is saved and would drop it.

main.ts watches config.json — upstream loads it once at startup, so the
watch is what makes the action take effect: the write restarts the
daemon, which reloads the file. A key saved on the page applies
immediately and converges through the same restart.

The task drops from critical to important. A critical task suspends
every other control, so it would have left the user unable to start the
service and reach the page's own form — and with PPQ_DATA_DIR set the
proxy no longer exits keyless; it attests, serves the page, and answers
401 until a key exists. main.ts clears the task when a key appears,
since saving on the page never touches the action that would clear it.

The action's key field is now validated against upstream's own
^sk-[A-Za-z0-9]{16,64}$ shape and no longer refuses a blank submission,
a key having become optional.
2026-08-12 09:58:35 -06:00
helix-nine 42b2841945 bump upstream to 0.4.1, add the status page UI, fix CI branch triggers
Community-registry audit ahead of listing.

Upstream 0.4.1 renames the model catalog (private/kimi-k2-6 →
private/kimi-k3, drops qwen3-vl-30b) and serves a status page at GET /,
so the package was documenting a stale model list and hiding a whole
surface. Export that page as a `ui` interface alongside the existing
`api` on one host, and unmask the API interface — its URL carries no
credentials, so masking hid the address for nothing.

PPQ_DATA_DIR stays unset deliberately. With it set, upstream persists a
browser-entered key to its own config.json while the StartOS-supplied
PPQ_API_KEY still wins at every restart, silently reverting the user.
StartOS owns the key via the action; the status page's form renders
disabled.

CI never ran: build.yml's PR target and tagAndRelease.yml's push
trigger both named `master` on a repo whose only branch is `main`.
Point them at `main` and reset all three workflows to the package
template, dropping the guard job retired in start-technologies@ed0dca2.

packageRepo now names the Start9-Community fork, which is where CI
runs, where the org's registry variables live, and where releases are
cut.

Also: drop three .catch handlers on file-model reads, which swallowed a
genuine read failure into "no key configured" — readOnce already
returns null for a missing file; pass null rather than an empty Mounts
for the unmounted subcontainer; inline two single-use interface consts;
and rewrite README/instructions against the writing guides, fixing a
YAML block that claimed a /data mount the package deliberately does not
make.
2026-08-12 09:58:35 -06:00
mattius459andClaude Fable 5 b2659a7082 Address review: drop unused /data mount, document key in backups
- The proxy is stateless and env-configured; the 'main' volume is no
  longer mounted into the container (config.json is read host-side)
- README/instructions note that backups contain the saved API key
- Upstream tagged v0.3.2 (matches package.json); submodule checked out
  at the tag

Verified on the StartOS 0.4.0 VM: update installs over the previous
version, keeps the saved key, and reports attestation-verified health.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-28 11:12:36 +02:00
mattius459andClaude Fable 5 b6b2589c55 PPQ Private Mode StartOS package
Wraps the ppq-private-mode-proxy (git submodule, built from its own
Dockerfile) as a StartOS 0.4.0 service:
- Critical first-run task + masked action to set the PPQ.AI API key
- OpenAI-/Anthropic-compatible API interface on port 8787
- Health check reflects enclave attestation (proxy binds only after
  attestation succeeds)
- x86_64 + aarch64, config backed up via the main volume

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-27 22:27:38 +02:00