glamfire 0.2.1 → 0.2.2
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.
- package/README.md +11 -9
- package/dist/cli/src/glam.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -129,15 +129,17 @@ cd glamfire && pnpm install && pnpm -r build
|
|
|
129
129
|
node packages/cli/src/index.mjs --version
|
|
130
130
|
```
|
|
131
131
|
|
|
132
|
-
> **What's
|
|
133
|
-
>
|
|
134
|
-
>
|
|
135
|
-
> `
|
|
136
|
-
>
|
|
137
|
-
> (
|
|
138
|
-
>
|
|
139
|
-
>
|
|
140
|
-
>
|
|
132
|
+
> **What's live vs. awaiting secrets.** **`npm i -g glamfire` is LIVE** — the
|
|
133
|
+
> [`glamfire`](https://www.npmjs.com/package/glamfire) package is published (latest:
|
|
134
|
+
> `0.2.1`), verified by installing it from the public registry and running the installed
|
|
135
|
+
> `glam`. Every `v*` tag builds the artifacts, checksums, the SBOM, sigstore signing, and
|
|
136
|
+
> a GitHub Release (all five single‑file binaries + the tarball are attached to
|
|
137
|
+
> [each release](https://github.com/glamworks/glamfire/releases)). The remaining
|
|
138
|
+
> package‑manager publishes are still **gated on maintainer credentials**:
|
|
139
|
+
> `HOMEBREW_TAP_DEPLOY_KEY` (tap repo `glamworks/homebrew-tap`), `SCOOP_BUCKET_DEPLOY_KEY`
|
|
140
|
+
> (bucket repo `glamworks/scoop-bucket`), `WINGET_TOKEN` (winget‑pkgs PR) — so the `brew` /
|
|
141
|
+
> `scoop` / `winget` lines go live once those repos + secrets exist. A Docker image for the
|
|
142
|
+
> team/server profiles is still specified, not yet built.
|
|
141
143
|
|
|
142
144
|
---
|
|
143
145
|
|
package/dist/cli/src/glam.mjs
CHANGED
|
@@ -322,7 +322,7 @@ ${$}`,v);this.line=i,this.column=u,this.codeblock=$}}/*!
|
|
|
322
322
|
${k.join(`
|
|
323
323
|
`)}
|
|
324
324
|
|
|
325
|
-
Fix the offending field(s) above. See the config schema in @glamfire/config or glam.example.toml.`,A!==null?{file:A}:void 0)}return{config:D.data,provenance:_,sources:b}}function Ln(n){if(n===void 0)return"none";if("env"in n)return`env:${n.env}`;return`keychain:${n.keychain.service}/${n.keychain.account}`}function Bn(n,v=process.env){if(n===void 0)return;if("env"in n){let u=v[n.env];if(u===void 0||u==="")return;return new L$(u,`env:${n.env}`)}let i=kr(n.keychain);if(i===void 0||i==="")return;return new L$(i,`keychain:${n.keychain.service}/${n.keychain.account}`)}function O_(n,v=process.env){return Object.keys(n.providers).map((u)=>{let $=n.providers[u].credential,r=!1;try{r=Bn($,v)!==void 0}catch{r=!1}return{provider:u,source:Ln($),resolved:r}})}function PD(n){if(Array.isArray(n))return`[${n.map(PD).join(", ")}]`;if(typeof n==="string")return n;if(n===null)return"null";if(typeof n==="object")return JSON.stringify(n);return String(n)}function S_(n,v=process.env){return{rows:vr(n.config).map(({path:u,value:$})=>({path:u,value:PD($),layer:n.provenance[u]??"default"})),credentials:O_(n.config,v),sources:n.sources}}function GD(){return"0.2.
|
|
325
|
+
Fix the offending field(s) above. See the config schema in @glamfire/config or glam.example.toml.`,A!==null?{file:A}:void 0)}return{config:D.data,provenance:_,sources:b}}function Ln(n){if(n===void 0)return"none";if("env"in n)return`env:${n.env}`;return`keychain:${n.keychain.service}/${n.keychain.account}`}function Bn(n,v=process.env){if(n===void 0)return;if("env"in n){let u=v[n.env];if(u===void 0||u==="")return;return new L$(u,`env:${n.env}`)}let i=kr(n.keychain);if(i===void 0||i==="")return;return new L$(i,`keychain:${n.keychain.service}/${n.keychain.account}`)}function O_(n,v=process.env){return Object.keys(n.providers).map((u)=>{let $=n.providers[u].credential,r=!1;try{r=Bn($,v)!==void 0}catch{r=!1}return{provider:u,source:Ln($),resolved:r}})}function PD(n){if(Array.isArray(n))return`[${n.map(PD).join(", ")}]`;if(typeof n==="string")return n;if(n===null)return"null";if(typeof n==="object")return JSON.stringify(n);return String(n)}function S_(n,v=process.env){return{rows:vr(n.config).map(({path:u,value:$})=>({path:u,value:PD($),layer:n.provenance[u]??"default"})),credentials:O_(n.config,v),sources:n.sources}}function GD(){return"0.2.2"}var mn="\x1B[2m",X_="\x1B[1m",Tz="\x1B[0m",lz="\x1B[38;5;208m",VD="\x1B[32m",tz="\x1B[33m";function a(n,v,i){return n?`${v}${i}${Tz}`:i}var oz=`glam config — show the resolved, layered, secret-redacted configuration.
|
|
326
326
|
|
|
327
327
|
Usage: glam config [options]
|
|
328
328
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "glamfire",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "The open, model-agnostic harness for the last mile of AI — the glam CLI. Own your context, route each task to the cheapest capable model.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|