From fb9b15d6a28d779dfe938309b8f2a5fc27a68937 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Mon, 16 Mar 2026 14:38:35 -0600 Subject: [PATCH 01/11] Update start-sdk to beta.60 Co-Authored-By: Claude Opus 4.6 (1M context) --- package-lock.json | 8 ++++---- package.json | 2 +- startos/install/versions/index.ts | 2 +- .../versions/{v_0_1_7_0_4_b0.ts => v_0_1_7_0_4_b1.ts} | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) rename startos/install/versions/{v_0_1_7_0_4_b0.ts => v_0_1_7_0_4_b1.ts} (77%) diff --git a/package-lock.json b/package-lock.json index 9d83fa5..26518cf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "maple-proxy-startos", "dependencies": { - "@start9labs/start-sdk": "^0.4.0-beta.58" + "@start9labs/start-sdk": "^0.4.0-beta.60" }, "devDependencies": { "@types/node": "^22.19.0", @@ -49,9 +49,9 @@ } }, "node_modules/@start9labs/start-sdk": { - "version": "0.4.0-beta.58", - "resolved": "https://registry.npmjs.org/@start9labs/start-sdk/-/start-sdk-0.4.0-beta.58.tgz", - "integrity": "sha512-d8R+g9WNpdxvvPyBDL2VGVJjmhleIV0JEOKm28JrhnfmNSf9gOLY40QzUV1PuSCNXl50dYiom/SXab1q0faidw==", + "version": "0.4.0-beta.60", + "resolved": "https://registry.npmjs.org/@start9labs/start-sdk/-/start-sdk-0.4.0-beta.60.tgz", + "integrity": "sha512-eAjVo+bHaY3ji/zWmXdVJ4rMP7PxTOr4VGm0TAjqgF8uyf90LsV7LI9/H+tdfI2Vp3b/Ymvhp7uoodenjqaZWg==", "license": "MIT", "dependencies": { "@iarna/toml": "^3.0.0", diff --git a/package.json b/package.json index 2b6714f..592bbb2 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "check": "tsc --noEmit" }, "dependencies": { - "@start9labs/start-sdk": "^0.4.0-beta.58" + "@start9labs/start-sdk": "^0.4.0-beta.60" }, "devDependencies": { "@types/node": "^22.19.0", diff --git a/startos/install/versions/index.ts b/startos/install/versions/index.ts index d13d93a..e19e128 100644 --- a/startos/install/versions/index.ts +++ b/startos/install/versions/index.ts @@ -1,2 +1,2 @@ -export { v_0_1_7_0_4_b0 as current } from './v_0_1_7_0_4_b0' +export { v_0_1_7_0_4_b1 as current } from './v_0_1_7_0_4_b1' export const other = [] diff --git a/startos/install/versions/v_0_1_7_0_4_b0.ts b/startos/install/versions/v_0_1_7_0_4_b1.ts similarity index 77% rename from startos/install/versions/v_0_1_7_0_4_b0.ts rename to startos/install/versions/v_0_1_7_0_4_b1.ts index e9e9a7d..f682d26 100644 --- a/startos/install/versions/v_0_1_7_0_4_b0.ts +++ b/startos/install/versions/v_0_1_7_0_4_b1.ts @@ -1,7 +1,7 @@ import { VersionInfo } from '@start9labs/start-sdk' -export const v_0_1_7_0_4_b0 = VersionInfo.of({ - version: '0.1.7:0.4-beta.0', +export const v_0_1_7_0_4_b1 = VersionInfo.of({ + version: '0.1.7:0.4-beta.1', releaseNotes: { en_US: 'Update to upstream v0.1.7 (security patches, streaming fix) and StartOS SDK beta.58', From 80fc6ab71e209a03648637f2d1fd1a269124f54d Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Mon, 16 Mar 2026 23:23:29 -0600 Subject: [PATCH 02/11] Update start-sdk to beta.61 Co-Authored-By: Claude Opus 4.6 (1M context) --- CLAUDE.md | 4 ++++ package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..5ec8190 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,4 @@ +## How the upstream version is pulled +- dockerTag in `startos/manifest/index.ts`: `ghcr.io/opensecretcloud/maple-proxy:` + +> Fork of islandbitcoin/maple-proxy-startos. diff --git a/package-lock.json b/package-lock.json index 26518cf..9a6e0ca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "maple-proxy-startos", "dependencies": { - "@start9labs/start-sdk": "^0.4.0-beta.60" + "@start9labs/start-sdk": "^0.4.0-beta.61" }, "devDependencies": { "@types/node": "^22.19.0", @@ -49,9 +49,9 @@ } }, "node_modules/@start9labs/start-sdk": { - "version": "0.4.0-beta.60", - "resolved": "https://registry.npmjs.org/@start9labs/start-sdk/-/start-sdk-0.4.0-beta.60.tgz", - "integrity": "sha512-eAjVo+bHaY3ji/zWmXdVJ4rMP7PxTOr4VGm0TAjqgF8uyf90LsV7LI9/H+tdfI2Vp3b/Ymvhp7uoodenjqaZWg==", + "version": "0.4.0-beta.61", + "resolved": "https://registry.npmjs.org/@start9labs/start-sdk/-/start-sdk-0.4.0-beta.61.tgz", + "integrity": "sha512-mrrn4utBkRAec4hpm0psjQ46XlhiepwPYhwpf7GrMwz4c5YvHWfSPeEmLbSGWOmooYdVD0WqGcCnsVBq2EhVYA==", "license": "MIT", "dependencies": { "@iarna/toml": "^3.0.0", diff --git a/package.json b/package.json index 592bbb2..297a3fd 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "check": "tsc --noEmit" }, "dependencies": { - "@start9labs/start-sdk": "^0.4.0-beta.60" + "@start9labs/start-sdk": "^0.4.0-beta.61" }, "devDependencies": { "@types/node": "^22.19.0", From 57f7ce7084aade8d12454e4691dc9548b5400143 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Thu, 19 Mar 2026 18:19:33 -0600 Subject: [PATCH 03/11] Update start-sdk to beta.62 Co-Authored-By: Claude Opus 4.6 (1M context) --- package-lock.json | 71 ++++++++++++++++++++++++++++++++++++++++++++--- package.json | 2 +- 2 files changed, 68 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9a6e0ca..1c1f1b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "maple-proxy-startos", "dependencies": { - "@start9labs/start-sdk": "^0.4.0-beta.61" + "@start9labs/start-sdk": "^0.4.0-beta.62" }, "devDependencies": { "@types/node": "^22.19.0", @@ -49,9 +49,9 @@ } }, "node_modules/@start9labs/start-sdk": { - "version": "0.4.0-beta.61", - "resolved": "https://registry.npmjs.org/@start9labs/start-sdk/-/start-sdk-0.4.0-beta.61.tgz", - "integrity": "sha512-mrrn4utBkRAec4hpm0psjQ46XlhiepwPYhwpf7GrMwz4c5YvHWfSPeEmLbSGWOmooYdVD0WqGcCnsVBq2EhVYA==", + "version": "0.4.0-beta.62", + "resolved": "https://registry.npmjs.org/@start9labs/start-sdk/-/start-sdk-0.4.0-beta.62.tgz", + "integrity": "sha512-D1e30kr7Faojxdakwi5FZf3vSVhjaPHXwFG5a6WY2t5cJL1TG+Gw8p9RrCj9Ttvgc63yxP/CrF1xPtEGFm9vSA==", "license": "MIT", "dependencies": { "@iarna/toml": "^3.0.0", @@ -59,6 +59,7 @@ "@noble/hashes": "^1.7.2", "@types/ini": "^4.1.1", "deep-equality-data-structures": "^2.0.0", + "fast-xml-parser": "^5.5.6", "ini": "^5.0.0", "isomorphic-fetch": "^3.0.0", "mime": "^4.0.7", @@ -102,6 +103,41 @@ "object-hash": "^3.0.0" } }, + "node_modules/fast-xml-builder": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.1.4.tgz", + "integrity": "sha512-f2jhpN4Eccy0/Uz9csxh3Nu6q4ErKxf0XIsasomfOihuSUa3/xw6w8dnOtCDgEItQFJG8KyXPzQXzcODDrrbOg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "dependencies": { + "path-expression-matcher": "^1.1.3" + } + }, + "node_modules/fast-xml-parser": { + "version": "5.5.7", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.5.7.tgz", + "integrity": "sha512-LteOsISQ2GEiDHZch6L9hB0+MLoYVLToR7xotrzU0opCICBkxOPgHAy1HxAvtxfJNXDJpgAsQN30mkrfpO2Prg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "dependencies": { + "fast-xml-builder": "^1.1.4", + "path-expression-matcher": "^1.1.3", + "strnum": "^2.2.0" + }, + "bin": { + "fxparser": "src/cli/cli.js" + } + }, "node_modules/ini": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/ini/-/ini-5.0.0.tgz", @@ -165,6 +201,21 @@ "node": ">= 6" } }, + "node_modules/path-expression-matcher": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.1.3.tgz", + "integrity": "sha512-qdVgY8KXmVdJZRSS1JdEPOKPdTiEK/pi0RkcT2sw1RhXxohdujUlJFPuS1TSkevZ9vzd3ZlL7ULl1MHGTApKzQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, "node_modules/prettier": { "version": "3.8.1", "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz", @@ -181,6 +232,18 @@ "url": "https://github.com/prettier/prettier?sponsor=1" } }, + "node_modules/strnum": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.2.1.tgz", + "integrity": "sha512-BwRvNd5/QoAtyW1na1y1LsJGQNvRlkde6Q/ipqqEaivoMdV+B1OMOTVdwR+N/cwVUcIt9PYyHmV8HyexCZSupg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT" + }, "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", diff --git a/package.json b/package.json index 297a3fd..32040ad 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "check": "tsc --noEmit" }, "dependencies": { - "@start9labs/start-sdk": "^0.4.0-beta.61" + "@start9labs/start-sdk": "^0.4.0-beta.62" }, "devDependencies": { "@types/node": "^22.19.0", From fe2492dc583829a3b563908c638c4d9e16f880b6 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Thu, 19 Mar 2026 18:45:14 -0600 Subject: [PATCH 04/11] Bump version to 0.1.7:4-beta.2 Co-Authored-By: Claude Opus 4.6 (1M context) --- startos/install/versions/index.ts | 2 +- .../install/versions/{v_0_1_7_0_4_b1.ts => v_0_1_7_4_b2.ts} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename startos/install/versions/{v_0_1_7_0_4_b1.ts => v_0_1_7_4_b2.ts} (77%) diff --git a/startos/install/versions/index.ts b/startos/install/versions/index.ts index e19e128..6b8113f 100644 --- a/startos/install/versions/index.ts +++ b/startos/install/versions/index.ts @@ -1,2 +1,2 @@ -export { v_0_1_7_0_4_b1 as current } from './v_0_1_7_0_4_b1' +export { v_0_1_7_4_b2 as current } from './v_0_1_7_4_b2' export const other = [] diff --git a/startos/install/versions/v_0_1_7_0_4_b1.ts b/startos/install/versions/v_0_1_7_4_b2.ts similarity index 77% rename from startos/install/versions/v_0_1_7_0_4_b1.ts rename to startos/install/versions/v_0_1_7_4_b2.ts index f682d26..6d4738c 100644 --- a/startos/install/versions/v_0_1_7_0_4_b1.ts +++ b/startos/install/versions/v_0_1_7_4_b2.ts @@ -1,7 +1,7 @@ import { VersionInfo } from '@start9labs/start-sdk' -export const v_0_1_7_0_4_b1 = VersionInfo.of({ - version: '0.1.7:0.4-beta.1', +export const v_0_1_7_4_b2 = VersionInfo.of({ + version: '0.1.7:4-beta.2', releaseNotes: { en_US: 'Update to upstream v0.1.7 (security patches, streaming fix) and StartOS SDK beta.58', From 1d586fb40be514aaf5648c36b74bec1cac2c6795 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Mon, 23 Mar 2026 13:29:27 -0600 Subject: [PATCH 05/11] Bump SDK to beta.65, version bump, fix README Co-Authored-By: Claude Opus 4.6 (1M context) --- README.md | 9 +++-- package-lock.json | 36 +++++++++---------- package.json | 2 +- startos/install/versions/index.ts | 2 +- .../{v_0_1_7_4_b2.ts => v_0_1_7_4_b3.ts} | 4 +-- 5 files changed, 26 insertions(+), 27 deletions(-) rename startos/install/versions/{v_0_1_7_4_b2.ts => v_0_1_7_4_b3.ts} (78%) diff --git a/README.md b/README.md index 99acd5a..5fcafa2 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,6 @@ Configuration is stored in `store.json` on the `main` volume and read by the map | Action | Description | Allowed States | | ---------------- | ------------------------------- | -------------- | | Configure | Set API key and backend URL | Any | -| Proxy Properties | Display API and UI port numbers | Any | --- @@ -122,10 +121,10 @@ The `main` volume is included in backups, preserving your `store.json` configura ## Health Checks -| Check | Daemon | Method | Grace Period | -| ------------- | --------- | --------------------- | ------------ | -| API Interface | `primary` | Port listening (8080) | 10s | -| Web Interface | `ui` | Port listening (80) | — | +| Check | Daemon | Method | Display | +| ------------ | -------------- | --------------------- | -------------- | +| Proxy Server | `maple-proxy` | Port listening (8080) | Proxy Server | +| Web UI | `ui` | Port listening (80) | Web UI | --- diff --git a/package-lock.json b/package-lock.json index 1c1f1b0..fac9cba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "maple-proxy-startos", "dependencies": { - "@start9labs/start-sdk": "^0.4.0-beta.62" + "@start9labs/start-sdk": "^0.4.0-beta.65" }, "devDependencies": { "@types/node": "^22.19.0", @@ -49,9 +49,9 @@ } }, "node_modules/@start9labs/start-sdk": { - "version": "0.4.0-beta.62", - "resolved": "https://registry.npmjs.org/@start9labs/start-sdk/-/start-sdk-0.4.0-beta.62.tgz", - "integrity": "sha512-D1e30kr7Faojxdakwi5FZf3vSVhjaPHXwFG5a6WY2t5cJL1TG+Gw8p9RrCj9Ttvgc63yxP/CrF1xPtEGFm9vSA==", + "version": "0.4.0-beta.65", + "resolved": "https://registry.npmjs.org/@start9labs/start-sdk/-/start-sdk-0.4.0-beta.65.tgz", + "integrity": "sha512-cnphP49d7ZNY3z1wdtnMD/Zr3yX26er2tJQuCRJ3xmIkfrhxoPo/wZgOfkmZRF4lNtPQmHcoMGqtgyz1TLrCew==", "license": "MIT", "dependencies": { "@iarna/toml": "^3.0.0", @@ -119,9 +119,9 @@ } }, "node_modules/fast-xml-parser": { - "version": "5.5.7", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.5.7.tgz", - "integrity": "sha512-LteOsISQ2GEiDHZch6L9hB0+MLoYVLToR7xotrzU0opCICBkxOPgHAy1HxAvtxfJNXDJpgAsQN30mkrfpO2Prg==", + "version": "5.5.9", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.5.9.tgz", + "integrity": "sha512-jldvxr1MC6rtiZKgrFnDSvT8xuH+eJqxqOBThUVjYrxssYTo1avZLGql5l0a0BAERR01CadYzZ83kVEkbyDg+g==", "funding": [ { "type": "github", @@ -131,8 +131,8 @@ "license": "MIT", "dependencies": { "fast-xml-builder": "^1.1.4", - "path-expression-matcher": "^1.1.3", - "strnum": "^2.2.0" + "path-expression-matcher": "^1.2.0", + "strnum": "^2.2.2" }, "bin": { "fxparser": "src/cli/cli.js" @@ -202,9 +202,9 @@ } }, "node_modules/path-expression-matcher": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.1.3.tgz", - "integrity": "sha512-qdVgY8KXmVdJZRSS1JdEPOKPdTiEK/pi0RkcT2sw1RhXxohdujUlJFPuS1TSkevZ9vzd3ZlL7ULl1MHGTApKzQ==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.2.0.tgz", + "integrity": "sha512-DwmPWeFn+tq7TiyJ2CxezCAirXjFxvaiD03npak3cRjlP9+OjTmSy1EpIrEbh+l6JgUundniloMLDQ/6VTdhLQ==", "funding": [ { "type": "github", @@ -233,9 +233,9 @@ } }, "node_modules/strnum": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.2.1.tgz", - "integrity": "sha512-BwRvNd5/QoAtyW1na1y1LsJGQNvRlkde6Q/ipqqEaivoMdV+B1OMOTVdwR+N/cwVUcIt9PYyHmV8HyexCZSupg==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.2.2.tgz", + "integrity": "sha512-DnR90I+jtXNSTXWdwrEy9FakW7UX+qUZg28gj5fk2vxxl7uS/3bpI4fjFYVmdK9etptYBPNkpahuQnEwhwECqA==", "funding": [ { "type": "github", @@ -294,9 +294,9 @@ } }, "node_modules/yaml": { - "version": "2.8.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.2.tgz", - "integrity": "sha512-mplynKqc1C2hTVYxd0PU2xQAc22TI1vShAYGksCCfxbn/dFwnHTNi1bvYsBTkhdUNtGIf5xNOg938rrSSYvS9A==", + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz", + "integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==", "license": "ISC", "bin": { "yaml": "bin.mjs" diff --git a/package.json b/package.json index 32040ad..84019b3 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "check": "tsc --noEmit" }, "dependencies": { - "@start9labs/start-sdk": "^0.4.0-beta.62" + "@start9labs/start-sdk": "^0.4.0-beta.65" }, "devDependencies": { "@types/node": "^22.19.0", diff --git a/startos/install/versions/index.ts b/startos/install/versions/index.ts index 6b8113f..1251eab 100644 --- a/startos/install/versions/index.ts +++ b/startos/install/versions/index.ts @@ -1,2 +1,2 @@ -export { v_0_1_7_4_b2 as current } from './v_0_1_7_4_b2' +export { v_0_1_7_4_b3 as current } from './v_0_1_7_4_b3' export const other = [] diff --git a/startos/install/versions/v_0_1_7_4_b2.ts b/startos/install/versions/v_0_1_7_4_b3.ts similarity index 78% rename from startos/install/versions/v_0_1_7_4_b2.ts rename to startos/install/versions/v_0_1_7_4_b3.ts index 6d4738c..2be4abc 100644 --- a/startos/install/versions/v_0_1_7_4_b2.ts +++ b/startos/install/versions/v_0_1_7_4_b3.ts @@ -1,7 +1,7 @@ import { VersionInfo } from '@start9labs/start-sdk' -export const v_0_1_7_4_b2 = VersionInfo.of({ - version: '0.1.7:4-beta.2', +export const v_0_1_7_4_b3 = VersionInfo.of({ + version: '0.1.7:4-beta.3', releaseNotes: { en_US: 'Update to upstream v0.1.7 (security patches, streaming fix) and StartOS SDK beta.58', From 686db552a35ddc85680e98c89ff21cef2cb8c182 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Tue, 24 Mar 2026 17:51:36 -0600 Subject: [PATCH 06/11] sdk beta.66 + version bump --- package-lock.json | 8 ++++---- package.json | 2 +- startos/index.ts | 2 +- startos/init/index.ts | 2 +- startos/init/initializeService.ts | 13 ++++++------- startos/install/versions/index.ts | 2 -- .../{install/versionGraph.ts => versions/index.ts} | 6 +++--- .../v_0_1_7_4_b3.ts => versions/v_0_1_7_4_b4.ts} | 4 ++-- 8 files changed, 18 insertions(+), 21 deletions(-) delete mode 100644 startos/install/versions/index.ts rename startos/{install/versionGraph.ts => versions/index.ts} (55%) rename startos/{install/versions/v_0_1_7_4_b3.ts => versions/v_0_1_7_4_b4.ts} (78%) diff --git a/package-lock.json b/package-lock.json index fac9cba..64d1b99 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "maple-proxy-startos", "dependencies": { - "@start9labs/start-sdk": "^0.4.0-beta.65" + "@start9labs/start-sdk": "^0.4.0-beta.66" }, "devDependencies": { "@types/node": "^22.19.0", @@ -49,9 +49,9 @@ } }, "node_modules/@start9labs/start-sdk": { - "version": "0.4.0-beta.65", - "resolved": "https://registry.npmjs.org/@start9labs/start-sdk/-/start-sdk-0.4.0-beta.65.tgz", - "integrity": "sha512-cnphP49d7ZNY3z1wdtnMD/Zr3yX26er2tJQuCRJ3xmIkfrhxoPo/wZgOfkmZRF4lNtPQmHcoMGqtgyz1TLrCew==", + "version": "0.4.0-beta.66", + "resolved": "https://registry.npmjs.org/@start9labs/start-sdk/-/start-sdk-0.4.0-beta.66.tgz", + "integrity": "sha512-fsp7d3nqFapLohaKbNk1frW8fbVmjr2CBehVXVUk6JS/LSerogqlAYUFE5LKp5vJoTkuSnZbF5np4m+oxCmwCw==", "license": "MIT", "dependencies": { "@iarna/toml": "^3.0.0", diff --git a/package.json b/package.json index 84019b3..c74b583 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "check": "tsc --noEmit" }, "dependencies": { - "@start9labs/start-sdk": "^0.4.0-beta.65" + "@start9labs/start-sdk": "^0.4.0-beta.66" }, "devDependencies": { "@types/node": "^22.19.0", diff --git a/startos/index.ts b/startos/index.ts index 5bc2685..7af589b 100644 --- a/startos/index.ts +++ b/startos/index.ts @@ -7,5 +7,5 @@ export { init, uninit } from './init' export { actions } from './actions' import { buildManifest } from '@start9labs/start-sdk' import { manifest as sdkManifest } from './manifest' -import { versionGraph } from './install/versionGraph' +import { versionGraph } from './versions' export const manifest = buildManifest(versionGraph, sdkManifest) diff --git a/startos/init/index.ts b/startos/init/index.ts index 70ba047..428780c 100644 --- a/startos/init/index.ts +++ b/startos/init/index.ts @@ -1,7 +1,7 @@ import { sdk } from '../sdk' import { setDependencies } from '../dependencies' import { setInterfaces } from '../interfaces' -import { versionGraph } from '../install/versionGraph' +import { versionGraph } from '../versions' import { actions } from '../actions' import { restoreInit } from '../backups' import { initializeService } from './initializeService' diff --git a/startos/init/initializeService.ts b/startos/init/initializeService.ts index 8968021..02e1360 100644 --- a/startos/init/initializeService.ts +++ b/startos/init/initializeService.ts @@ -4,13 +4,12 @@ import { i18n } from '../i18n' import { sdk } from '../sdk' export const initializeService = sdk.setupOnInit(async (effects, kind) => { - if (kind !== 'install') return - - // Seed store with defaults await storeJson.merge(effects, {}) - // Prompt user to configure their API key - await sdk.action.createOwnTask(effects, configure, 'important', { - reason: i18n('Set your Maple API key'), - }) + if (kind === 'install') { + // Prompt user to configure their API key + await sdk.action.createOwnTask(effects, configure, 'important', { + reason: i18n('Set your Maple API key'), + }) + } }) diff --git a/startos/install/versions/index.ts b/startos/install/versions/index.ts deleted file mode 100644 index 1251eab..0000000 --- a/startos/install/versions/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { v_0_1_7_4_b3 as current } from './v_0_1_7_4_b3' -export const other = [] diff --git a/startos/install/versionGraph.ts b/startos/versions/index.ts similarity index 55% rename from startos/install/versionGraph.ts rename to startos/versions/index.ts index 5a4fad7..22635d1 100644 --- a/startos/install/versionGraph.ts +++ b/startos/versions/index.ts @@ -1,7 +1,7 @@ import { VersionGraph } from '@start9labs/start-sdk' -import { current, other } from './versions' +import { v_0_1_7_4_b4 } from './v_0_1_7_4_b4' export const versionGraph = VersionGraph.of({ - current, - other, + current: v_0_1_7_4_b4, + other: [], }) diff --git a/startos/install/versions/v_0_1_7_4_b3.ts b/startos/versions/v_0_1_7_4_b4.ts similarity index 78% rename from startos/install/versions/v_0_1_7_4_b3.ts rename to startos/versions/v_0_1_7_4_b4.ts index 2be4abc..2aa3c4c 100644 --- a/startos/install/versions/v_0_1_7_4_b3.ts +++ b/startos/versions/v_0_1_7_4_b4.ts @@ -1,7 +1,7 @@ import { VersionInfo } from '@start9labs/start-sdk' -export const v_0_1_7_4_b3 = VersionInfo.of({ - version: '0.1.7:4-beta.3', +export const v_0_1_7_4_b4 = VersionInfo.of({ + version: '0.1.7:4-beta.4', releaseNotes: { en_US: 'Update to upstream v0.1.7 (security patches, streaming fix) and StartOS SDK beta.58', From 4fec0c85cb253082342207cb5a04d4b4ed3b0453 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Wed, 25 Mar 2026 10:30:17 -0600 Subject: [PATCH 07/11] Split seedFiles from task creation in init Co-Authored-By: Claude Opus 4.6 (1M context) --- startos/init/index.ts | 6 ++++-- startos/init/initializeService.ts | 11 +---------- startos/init/taskConfigure.ts | 11 +++++++++++ 3 files changed, 16 insertions(+), 12 deletions(-) create mode 100644 startos/init/taskConfigure.ts diff --git a/startos/init/index.ts b/startos/init/index.ts index 428780c..b0f8253 100644 --- a/startos/init/index.ts +++ b/startos/init/index.ts @@ -4,15 +4,17 @@ import { setInterfaces } from '../interfaces' import { versionGraph } from '../versions' import { actions } from '../actions' import { restoreInit } from '../backups' -import { initializeService } from './initializeService' +import { seedFiles } from './initializeService' +import { taskConfigure } from './taskConfigure' export const init = sdk.setupInit( - initializeService, restoreInit, versionGraph, + seedFiles, setInterfaces, setDependencies, actions, + taskConfigure, ) export const uninit = sdk.setupUninit(versionGraph) diff --git a/startos/init/initializeService.ts b/startos/init/initializeService.ts index 02e1360..bf5e790 100644 --- a/startos/init/initializeService.ts +++ b/startos/init/initializeService.ts @@ -1,15 +1,6 @@ -import { configure } from '../actions/configure' import { storeJson } from '../fileModels/store.json' -import { i18n } from '../i18n' import { sdk } from '../sdk' -export const initializeService = sdk.setupOnInit(async (effects, kind) => { +export const seedFiles = sdk.setupOnInit(async (effects) => { await storeJson.merge(effects, {}) - - if (kind === 'install') { - // Prompt user to configure their API key - await sdk.action.createOwnTask(effects, configure, 'important', { - reason: i18n('Set your Maple API key'), - }) - } }) diff --git a/startos/init/taskConfigure.ts b/startos/init/taskConfigure.ts new file mode 100644 index 0000000..b2dcf87 --- /dev/null +++ b/startos/init/taskConfigure.ts @@ -0,0 +1,11 @@ +import { configure } from '../actions/configure' +import { i18n } from '../i18n' +import { sdk } from '../sdk' + +export const taskConfigure = sdk.setupOnInit(async (effects, kind) => { + if (kind === 'install') { + await sdk.action.createOwnTask(effects, configure, 'important', { + reason: i18n('Set your Maple API key'), + }) + } +}) From 1ddd8efbb2e3c07bd97f56f9d004981caff241a7 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Wed, 25 Mar 2026 10:33:43 -0600 Subject: [PATCH 08/11] rename file --- startos/init/index.ts | 8 ++++---- startos/init/{initializeService.ts => seedFiles.ts} | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename startos/init/{initializeService.ts => seedFiles.ts} (100%) diff --git a/startos/init/index.ts b/startos/init/index.ts index b0f8253..a121be3 100644 --- a/startos/init/index.ts +++ b/startos/init/index.ts @@ -1,10 +1,10 @@ -import { sdk } from '../sdk' +import { actions } from '../actions' +import { restoreInit } from '../backups' import { setDependencies } from '../dependencies' import { setInterfaces } from '../interfaces' +import { sdk } from '../sdk' import { versionGraph } from '../versions' -import { actions } from '../actions' -import { restoreInit } from '../backups' -import { seedFiles } from './initializeService' +import { seedFiles } from './seedFiles' import { taskConfigure } from './taskConfigure' export const init = sdk.setupInit( diff --git a/startos/init/initializeService.ts b/startos/init/seedFiles.ts similarity index 100% rename from startos/init/initializeService.ts rename to startos/init/seedFiles.ts From c0cd45f1dcc76759cf6033bc3280639b97a077dd Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Tue, 31 Mar 2026 18:16:00 -0600 Subject: [PATCH 09/11] =?UTF-8?q?Release=200.1.7:4=20=E2=80=94=20SDK=201.0?= =?UTF-8?q?.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- package.json | 2 +- startos/manifest/index.ts | 2 +- startos/versions/index.ts | 4 ++-- startos/versions/v0.1.7.4.ts | 16 ++++++++++++++++ startos/versions/v_0_1_7_4_b4.ts | 13 ------------- 5 files changed, 20 insertions(+), 17 deletions(-) create mode 100644 startos/versions/v0.1.7.4.ts delete mode 100644 startos/versions/v_0_1_7_4_b4.ts diff --git a/package.json b/package.json index c74b583..09c6b5c 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "check": "tsc --noEmit" }, "dependencies": { - "@start9labs/start-sdk": "^0.4.0-beta.66" + "@start9labs/start-sdk": "1.0.0" }, "devDependencies": { "@types/node": "^22.19.0", diff --git a/startos/manifest/index.ts b/startos/manifest/index.ts index 350a50c..ccba370 100644 --- a/startos/manifest/index.ts +++ b/startos/manifest/index.ts @@ -6,7 +6,7 @@ export const manifest = setupManifest({ title: 'Maple Proxy', license: 'MIT', packageRepo: - 'https://github.com/islandbitcoin/maple-proxy-startos/tree/update/040', + 'https://github.com/islandbitcoin/maple-proxy-startos', upstreamRepo: 'https://github.com/OpenSecretCloud/maple-proxy', marketingUrl: 'https://trymaple.ai/', donationUrl: null, diff --git a/startos/versions/index.ts b/startos/versions/index.ts index 22635d1..53b6882 100644 --- a/startos/versions/index.ts +++ b/startos/versions/index.ts @@ -1,7 +1,7 @@ import { VersionGraph } from '@start9labs/start-sdk' -import { v_0_1_7_4_b4 } from './v_0_1_7_4_b4' +import { v_0_1_7_4 } from './v0.1.7.4' export const versionGraph = VersionGraph.of({ - current: v_0_1_7_4_b4, + current: v_0_1_7_4, other: [], }) diff --git a/startos/versions/v0.1.7.4.ts b/startos/versions/v0.1.7.4.ts new file mode 100644 index 0000000..6229567 --- /dev/null +++ b/startos/versions/v0.1.7.4.ts @@ -0,0 +1,16 @@ +import { VersionInfo } from '@start9labs/start-sdk' + +export const v_0_1_7_4 = VersionInfo.of({ + version: '0.1.7:4', + releaseNotes: { + en_US: 'Update to upstream v0.1.7 (security patches, streaming fix)', + es_ES: 'Actualización a upstream v0.1.7 (parches de seguridad, corrección de streaming)', + de_DE: 'Update auf Upstream v0.1.7 (Sicherheitspatches, Streaming-Fix)', + pl_PL: 'Aktualizacja do upstream v0.1.7 (łatki bezpieczeństwa, naprawa streamingu)', + fr_FR: 'Mise à jour vers upstream v0.1.7 (correctifs de sécurité, correction du streaming)', + }, + migrations: { + up: async ({ effects }) => {}, + down: async ({ effects }) => {}, + }, +}) diff --git a/startos/versions/v_0_1_7_4_b4.ts b/startos/versions/v_0_1_7_4_b4.ts deleted file mode 100644 index 2aa3c4c..0000000 --- a/startos/versions/v_0_1_7_4_b4.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { VersionInfo } from '@start9labs/start-sdk' - -export const v_0_1_7_4_b4 = VersionInfo.of({ - version: '0.1.7:4-beta.4', - releaseNotes: { - en_US: - 'Update to upstream v0.1.7 (security patches, streaming fix) and StartOS SDK beta.58', - }, - migrations: { - up: async ({ effects }) => {}, - down: async ({ effects }) => {}, - }, -}) From 67d3ed082ac991690a42a7ffd13f0b78e3a317a3 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Tue, 31 Mar 2026 22:25:35 -0600 Subject: [PATCH 10/11] Update package-lock.json for SDK 1.0.0 Co-Authored-By: Claude Opus 4.6 (1M context) --- package-lock.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 64d1b99..8562f9d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "maple-proxy-startos", "dependencies": { - "@start9labs/start-sdk": "^0.4.0-beta.66" + "@start9labs/start-sdk": "1.0.0" }, "devDependencies": { "@types/node": "^22.19.0", @@ -49,9 +49,9 @@ } }, "node_modules/@start9labs/start-sdk": { - "version": "0.4.0-beta.66", - "resolved": "https://registry.npmjs.org/@start9labs/start-sdk/-/start-sdk-0.4.0-beta.66.tgz", - "integrity": "sha512-fsp7d3nqFapLohaKbNk1frW8fbVmjr2CBehVXVUk6JS/LSerogqlAYUFE5LKp5vJoTkuSnZbF5np4m+oxCmwCw==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@start9labs/start-sdk/-/start-sdk-1.0.0.tgz", + "integrity": "sha512-rtAfumVbMy90iw2WRbWH7fGcuwAvvuFfR4YwgSsh5R2Bz9MXtcEfmznwhnrp+ntQ6BOUSQ0wLzePbfsS6kUagg==", "license": "MIT", "dependencies": { "@iarna/toml": "^3.0.0", From 4e3925e9faed4be7c69a00f525219a071cffa19f Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Wed, 1 Apr 2026 12:02:55 -0600 Subject: [PATCH 11/11] Update README Co-Authored-By: Claude Opus 4.6 (1M context) --- README.md | 59 +++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 51 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5fcafa2..98e2dc0 100644 --- a/README.md +++ b/README.md @@ -101,9 +101,22 @@ Configuration is stored in `store.json` on the `main` volume and read by the map ## Actions (StartOS UI) -| Action | Description | Allowed States | -| ---------------- | ------------------------------- | -------------- | -| Configure | Set API key and backend URL | Any | +### Configure + +| Property | Value | +|----------|-------| +| ID | `configure` | +| Availability | Any status | +| Visibility | Enabled | + +**Inputs:** + +| Field | Type | Required | Default | Description | +|-------|------|----------|---------|-------------| +| Backend URL | Text | Yes | `https://enclave.trymaple.ai` | Maple/OpenSecret backend URL | +| API Key | Text (masked) | No | _(empty)_ | Your Maple API key; if empty, clients must provide their own via Authorization header | + +**Output:** None (service restarts to apply new configuration) --- @@ -130,11 +143,9 @@ The `main` volume is included in backups, preserving your `store.json` configura ## Limitations and Differences -| Area | Upstream | StartOS | -| ------------- | --------------------- | --------------------------------- | -| Configuration | Environment variables | `store.json` via Configure action | -| Web UI | Not included | Bundled nginx chat interface | -| Networking | Direct port binding | StartOS multi-host interfaces | +1. **Configuration via action only** — upstream uses environment variables directly; on StartOS, all configuration is managed through `store.json` via the Configure action +2. **Bundled web UI** — StartOS adds a custom nginx chat interface not included in the upstream project +3. **StartOS networking** — uses StartOS multi-host interfaces instead of direct port binding --- @@ -160,3 +171,35 @@ make x86 # x86_64 only ``` Requires [start-cli](https://github.com/Start9Labs/start-os) v0.4.0+ and Docker. + +--- + +## Quick Reference for AI Consumers + +```yaml +package_id: maple-proxy +images: + maple-proxy: ghcr.io/opensecretcloud/maple-proxy (upstream, unmodified) + maple-ui: custom nginx build (assets/ui/) +architectures: [x86_64, aarch64] +volumes: + main: /data +ports: + api: 8080 + ui: 80 +dependencies: none +startos_managed_env_vars: + - MAPLE_HOST + - MAPLE_PORT + - MAPLE_ENABLE_CORS + - RUST_LOG + - MAPLE_BACKEND_URL (user-configurable via action) + - MAPLE_API_KEY (user-configurable via action) +actions: + - configure +health_checks: + - port_listening: 8080 (maple-proxy) + - port_listening: 80 (maple-ui) +backup_volumes: + - main +```