glamfire 0.2.3 → 0.2.4

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.
@@ -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.3"}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.
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.4"}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",
3
+ "version": "0.2.4",
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",