@phantomcodes/cli 1.6.0 → 1.6.1

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 CHANGED
@@ -109,7 +109,7 @@ If phantom can't save a new or rotated key on this computer (a locked Keychain o
109
109
 
110
110
  Phantom has three models of its own. `phantom models` shows what each can do (chat, images in, embeddings, rerank, images, video, speech, transcription) and the model behind each job:
111
111
 
112
- - `phantom-1` does every job. Chat starts each task on the standard tier and moves hard steps to frontier: a failed try, or an image.
112
+ - `phantom-1` does every job. Chat starts each task on the standard tier and moves hard steps to frontier: a failed try, or an agent that is stuck.
113
113
  - `phantom-1:free` is chat on free models at $0, with no card.
114
114
  - `phantom-1:zdr` is chat (with images) on providers that keep none of your data.
115
115
 
@@ -131,7 +131,7 @@ phantom lineup set --frontier <model> --standard-fallback <model>
131
131
  phantom lineup reset
132
132
  ```
133
133
 
134
- `phantom lineup` lists the models each tier can run. Write `default` in place of a model to put that tier back to its default.
134
+ `phantom lineup` lists suggested models for each tier. A tier can run any chat model that calls tools, reads images and holds at least 128,000 tokens. Write `default` in place of a model to put that tier back to its default.
135
135
 
136
136
  ### Set rules for `auto`
137
137
 
@@ -115,7 +115,7 @@ export type LineupView = {
115
115
  /** What each tier is for, in a few words. */
116
116
  export declare const TIER_ABOUT: {
117
117
  readonly standard: "where every task starts";
118
- readonly frontier: "hard steps: a failed try, an image";
118
+ readonly frontier: "hard steps: a failed try, a stuck agent";
119
119
  };
120
120
  /** `phantom lineup`: the model phantom-1 runs in each tier, whether it's the default or your pick, and its fallback. */
121
121
  export declare function lineupScreen(l: LineupView, style?: ScreenStyle): string;
@@ -252,7 +252,7 @@ export function routeTestScreen(t, style = {}) {
252
252
  /** What each tier is for, in a few words. */
253
253
  export const TIER_ABOUT = {
254
254
  standard: 'where every task starts',
255
- frontier: 'hard steps: a failed try, an image',
255
+ frontier: 'hard steps: a failed try, a stuck agent',
256
256
  };
257
257
  /** `phantom lineup`: the model phantom-1 runs in each tier, whether it's the default or your pick, and its fallback. */
258
258
  export function lineupScreen(l, style = {}) {
@@ -1,2 +1,2 @@
1
1
  /** This release of phantom. `npm version` keeps it equal to the version in package.json. */
2
- export declare const VERSION = "1.6.0";
2
+ export declare const VERSION = "1.6.1";
@@ -1,2 +1,2 @@
1
1
  /** This release of phantom. `npm version` keeps it equal to the version in package.json. */
2
- export const VERSION = '1.6.0';
2
+ export const VERSION = '1.6.1';
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * A key's lineup decides which model `phantom-1` runs in each tier. The server
3
- * checks every pick against the tier's choices
4
- * (routers/phantom-1/runtime/src/lineup.ts in the Phantom repo), so the CLI
5
- * passes model ids through.
3
+ * checks every pick (routers/phantom-1/runtime/src/lineup.ts in the Phantom
4
+ * repo: any chat model that calls tools, reads images and holds 128,000
5
+ * tokens), so the CLI passes model ids through. The choices GET sends are
6
+ * only suggestions.
6
7
  */
7
8
  /** The two tiers paid `phantom-1` picks between, cheapest first. */
8
9
  export declare const LINEUP_TIERS: readonly ["standard", "frontier"];
@@ -1,9 +1,10 @@
1
1
  import { request } from "../core/request.mjs";
2
2
  /**
3
3
  * A key's lineup decides which model `phantom-1` runs in each tier. The server
4
- * checks every pick against the tier's choices
5
- * (routers/phantom-1/runtime/src/lineup.ts in the Phantom repo), so the CLI
6
- * passes model ids through.
4
+ * checks every pick (routers/phantom-1/runtime/src/lineup.ts in the Phantom
5
+ * repo: any chat model that calls tools, reads images and holds 128,000
6
+ * tokens), so the CLI passes model ids through. The choices GET sends are
7
+ * only suggestions.
7
8
  */
8
9
  /** The two tiers paid `phantom-1` picks between, cheapest first. */
9
10
  export const LINEUP_TIERS = ['standard', 'frontier'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phantomcodes/cli",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Connects Claude Code, Codex, pi and other coding agents to Phantom AI, an OpenAI-compatible API, and manages your keys, credit and spending caps from the terminal.",
5
5
  "keywords": [
6
6
  "phantom",
@@ -102,7 +102,7 @@ phantom lineup set --frontier <model> --standard-fallback <model>
102
102
  phantom lineup reset
103
103
  ```
104
104
 
105
- Paid phantom-1 has two tiers. It starts each task on standard and moves hard steps to frontier (a failed try, or an image). phantom-1:free runs its own free models and has no tier to pick. The lineup sets the model each tier runs, from the choices `phantom lineup` lists, and a fallback to try when that model fails. `default` in place of a model puts the tier back to its default. `lineup set` keeps the tiers you don't name.
105
+ Paid phantom-1 has two tiers. It starts each task on standard and moves hard steps to frontier (a failed try, or an agent that is stuck). phantom-1:free runs its own free models and has no tier to pick. The lineup sets the model each tier runs, and a fallback to try when that model fails. `default` in place of a model puts the tier back to its default. `lineup set` keeps the tiers you don't name. A tier takes any chat model from `phantom models` that calls tools, reads images and holds 128,000 tokens; `phantom lineup` lists suggestions.
106
106
 
107
107
  ## See what was spent
108
108