@onfrontier/cli 0.8.15 → 0.8.16

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.
Files changed (2) hide show
  1. package/dist/cli.js +3 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -174,8 +174,9 @@ code it gives you back into this terminal.`,$?"Sign in":"1. Sign in"),!$)A4(`Bac
174
174
 
175
175
  ${DI(Y)}
176
176
 
177
- and press Enter.`,"2. Interface code");C6.warn("Don't edit files in this repository while a step is running: rating the step replaces them.");let H=["--vscode",...X?["--continue"]:[]];W4(`Starting claude-hfi ${H.join(" ")}`);let K=await G1("claude-hfi",[...H,...$?["--interface-code",Y]:[],...Q],{stdio:"inherit",reject:!1,env:$60(q),extendEnv:!1});process.exit(K.exitCode??1)}async function Ro0(){let Q=await IZ({message:"Start a new session or continue your last one?",initialValue:"new",options:[{value:"new",label:"New session"},{value:"continue",label:"Continue my most recent session",hint:"picks up after its last rated step"}]});if(Z8(Q))f0("Cancelled."),process.exit(0);return Q==="continue"}var Do0=new Set(["ANTHROPIC_BASE_URL","CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS"]);function $60(Q){let X={};for(let[J,Z]of Object.entries(process.env)){let q=J.toUpperCase();if(Z!==void 0&&!Do0.has(q)&&q!=="ANTHROPIC_API_KEY")X[J]=Z}return{...X,ENABLE_TOOL_SEARCH:"true",...Q?{ANTHROPIC_API_KEY:Q}:{}}}var Z60="https://login.onfrontier.ai/home/onfrontier_claude_1/0oa28ecgqlwAZQSvW1d8/aln28ecnwgtH72F2i1d8";async function wo0(Q){let X=Q;if(!X.claude_ai_member)A4(`The program now runs on your claude.ai account. A browser window opens to sign you in
178
- through Okta, as
177
+ and press Enter.`,"2. Interface code");C6.warn("Don't edit files in this repository while a step is running: rating the step replaces them.");let H=["--vscode",...X?["--continue"]:[]];W4(`Starting claude-hfi ${H.join(" ")}`);let K=await G1("claude-hfi",[...H,...$?["--interface-code",Y]:[],...Q],{stdio:"inherit",reject:!1,env:$60(q),extendEnv:!1});process.exit(K.exitCode??1)}async function Ro0(){let Q=await IZ({message:"Start a new session or continue your last one?",initialValue:"new",options:[{value:"new",label:"New session"},{value:"continue",label:"Continue my most recent session",hint:"picks up after its last rated step"}]});if(Z8(Q))f0("Cancelled."),process.exit(0);return Q==="continue"}var Do0=new Set(["ANTHROPIC_BASE_URL","CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS"]);function $60(Q){let X={};for(let[J,Z]of Object.entries(process.env)){let q=J.toUpperCase();if(Z!==void 0&&!Do0.has(q)&&q!=="ANTHROPIC_API_KEY")X[J]=Z}return{...X,ENABLE_TOOL_SEARCH:"true",...Q?{ANTHROPIC_API_KEY:Q}:{}}}var Z60="https://login.onfrontier.ai/home/onfrontier_claude_1/0oa28ecgqlwAZQSvW1d8/aln28ecnwgtH72F2i1d8";async function wo0(Q){let X=Q;if(!X.claude_ai_member)A4(`The program now runs on your claude.ai account. A browser window opens to Okta: sign in
178
+ the way you usually do (your On Frontier email, your Okta password and Okta Verify).
179
+ claude.ai then opens signed in as
179
180
 
180
181
  ${DI(X.address)}
181
182
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onfrontier/cli",
3
- "version": "0.8.15",
3
+ "version": "0.8.16",
4
4
  "description": "On Frontier CLI - run evaluation sessions with Claude Code",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {