Read runtime version from package metadata
Binaries / Verify (push) Has been cancelled
Binaries / Build linux-x64 (push) Has been cancelled
Binaries / Build macos-arm64 (push) Has been cancelled
Binaries / Build windows-x64 (push) Has been cancelled
Binaries / Publish release assets (push) Has been cancelled
Binaries / Verify (push) Has been cancelled
Binaries / Build linux-x64 (push) Has been cancelled
Binaries / Build macos-arm64 (push) Has been cancelled
Binaries / Build windows-x64 (push) Has been cancelled
Binaries / Publish release assets (push) Has been cancelled
This commit is contained in:
1 parent
1d242c14e6
commit
dd89c0525f
5 files changed
+7
-5
No files matched your search
@@ -1,7 +1,5 @@
|
||||
# seal-home
|
||||
|
||||
Version: `0.3.3`
|
||||
|
||||
Bun + TypeScript CLI and optional local service for pulling Seal enterprise approval context from provider credentials.
|
||||
|
||||
The first provider is Hose/合思: `key`, `password`, `corpId`, `staffId`, and an optional Hose domain. The provider exchanges those credentials for a Seal enterprise session, then the Seal domain tools can read and maintain approval rules, approval documents, and approval style preferences.
|
||||
|
||||
@@ -47,7 +47,7 @@ seal-home simulation batch-records <batchId>
|
||||
```json
|
||||
{
|
||||
"name": "seal-home",
|
||||
"version": "0.3.3"
|
||||
"version": "<package version>"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
+1
-1
@@ -13,8 +13,8 @@ import { sealTools, type SealTool } from "./domains/seal/tools.js";
|
||||
import { CorpConfig } from "./core/config/types.js";
|
||||
import { clearCorpTokenCache } from "./core/auth/token-store.js";
|
||||
import { getHoseProvisionalAuthLink } from "./core/auth/hose.js";
|
||||
import { VERSION } from "./version.js";
|
||||
|
||||
const VERSION = "0.3.3";
|
||||
const APP_ROOT = dirname(dirname(fileURLToPath(import.meta.url)));
|
||||
const STATE_DIR = join(homedir(), ".config", "seal-home");
|
||||
const SERVICE_PID_FILE = join(STATE_DIR, "service.pid");
|
||||
|
||||
+2
-1
@@ -10,6 +10,7 @@ import { CorpContext } from "./core/config/manager.js";
|
||||
import { createSealClient } from "./core/http/factory.js";
|
||||
import { resolveLiveSealEnterpriseConfig } from "./domains/seal/source.js";
|
||||
import { findSealMcpTool, findSealTool, sealMcpTools } from "./domains/seal/tools.js";
|
||||
import { VERSION } from "./version.js";
|
||||
|
||||
async function main() {
|
||||
const corps = loadCorpConfigs();
|
||||
@@ -18,7 +19,7 @@ async function main() {
|
||||
const server = new Server(
|
||||
{
|
||||
name: "seal-home",
|
||||
version: "0.3.3"
|
||||
version: VERSION
|
||||
},
|
||||
{
|
||||
capabilities: {
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
import packageJson from "../package.json" with { type: "json" };
|
||||
|
||||
export const VERSION = packageJson.version;
|
||||
Reference in new issue
Block a user