@aidriftline/driftline 0.1.10 → 0.1.11
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 +7 -7
- package/package.json +1 -1
- package/registry/models.json +5 -5
package/README.md
CHANGED
|
@@ -21,10 +21,10 @@ It runs inside your own CI with your own API keys. There is no Driftline server:
|
|
|
21
21
|
3. Activate your Pro key once per GitHub account or organization, from inside one of its repositories:
|
|
22
22
|
|
|
23
23
|
```sh
|
|
24
|
-
npx
|
|
24
|
+
npx @aidriftline/driftline activate <your-license-key>
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
It prints a license code. Save that code as the secret `DRIFTLINE_LICENSE_KEY`. A key works on up to 3 GitHub accounts or organizations; `npx
|
|
27
|
+
It prints a license code. Save that code as the secret `DRIFTLINE_LICENSE_KEY`. A key works on up to 3 GitHub accounts or organizations; `npx @aidriftline/driftline deactivate <code>` frees one.
|
|
28
28
|
|
|
29
29
|
## Inputs
|
|
30
30
|
|
|
@@ -62,15 +62,15 @@ Text is compared with word and word-pair overlap. JSON is compared field by fiel
|
|
|
62
62
|
No install, no key:
|
|
63
63
|
|
|
64
64
|
```sh
|
|
65
|
-
npx
|
|
66
|
-
npx
|
|
65
|
+
npx @aidriftline/driftline path/to/your/repo # report
|
|
66
|
+
npx @aidriftline/driftline path/to/your/repo --json # same, as JSON
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
Exit code 1 means a retired model is used in code.
|
|
70
70
|
|
|
71
71
|
## For AI coding agents
|
|
72
72
|
|
|
73
|
-
If you are an agent (Claude Code, Cursor, Copilot, Codex…) changing code that calls OpenAI, Anthropic or Google: run `npx -y
|
|
73
|
+
If you are an agent (Claude Code, Cursor, Copilot, Codex…) changing code that calls OpenAI, Anthropic or Google: run `npx -y @aidriftline/driftline . --json` before you pick or keep a model ID, and do not introduce an ID whose `status` is `retired` or `at-risk`. Without a shell, look the ID up in [`registry/models.json`](registry/models.json) or at `https://aidriftline.com/models/<model-id>/`. More, including a snippet for `AGENTS.md` / `CLAUDE.md`: [aidriftline.com/agents](https://aidriftline.com/agents/).
|
|
74
74
|
|
|
75
75
|
### MCP server
|
|
76
76
|
|
|
@@ -79,7 +79,7 @@ Driftline also runs as an [MCP](https://modelcontextprotocol.io) server, so your
|
|
|
79
79
|
Claude Code:
|
|
80
80
|
|
|
81
81
|
```sh
|
|
82
|
-
claude mcp add driftline -- npx -y
|
|
82
|
+
claude mcp add driftline -- npx -y @aidriftline/driftline mcp
|
|
83
83
|
```
|
|
84
84
|
|
|
85
85
|
Cursor, Windsurf, Claude Desktop and other clients (`mcp.json` / `claude_desktop_config.json`):
|
|
@@ -87,7 +87,7 @@ Cursor, Windsurf, Claude Desktop and other clients (`mcp.json` / `claude_desktop
|
|
|
87
87
|
```json
|
|
88
88
|
{
|
|
89
89
|
"mcpServers": {
|
|
90
|
-
"driftline": { "command": "npx", "args": ["-y", "
|
|
90
|
+
"driftline": { "command": "npx", "args": ["-y", "@aidriftline/driftline", "mcp"] }
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aidriftline/driftline",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"description": "Finds OpenAI, Anthropic and Google model IDs in your code and warns before they are retired. CLI, GitHub Action and MCP server.",
|
|
5
5
|
"mcpName": "io.github.AI-Driftline/driftline",
|
|
6
6
|
"type": "module",
|
package/registry/models.json
CHANGED
|
@@ -1033,7 +1033,7 @@
|
|
|
1033
1033
|
"provider": "openai",
|
|
1034
1034
|
"retires": "2027-02-26",
|
|
1035
1035
|
"qualifier": "exact",
|
|
1036
|
-
"replacement": "gpt-transcribe",
|
|
1036
|
+
"replacement": "gpt-live-transcribe",
|
|
1037
1037
|
"kind": "audio"
|
|
1038
1038
|
},
|
|
1039
1039
|
{
|
|
@@ -1041,7 +1041,7 @@
|
|
|
1041
1041
|
"provider": "openai",
|
|
1042
1042
|
"retires": "2027-02-26",
|
|
1043
1043
|
"qualifier": "exact",
|
|
1044
|
-
"replacement": "gpt-transcribe",
|
|
1044
|
+
"replacement": "gpt-live-transcribe",
|
|
1045
1045
|
"kind": "audio"
|
|
1046
1046
|
},
|
|
1047
1047
|
{
|
|
@@ -1049,7 +1049,7 @@
|
|
|
1049
1049
|
"provider": "openai",
|
|
1050
1050
|
"retires": "2027-02-26",
|
|
1051
1051
|
"qualifier": "exact",
|
|
1052
|
-
"replacement": "gpt-transcribe",
|
|
1052
|
+
"replacement": "gpt-live-transcribe",
|
|
1053
1053
|
"kind": "audio"
|
|
1054
1054
|
},
|
|
1055
1055
|
{
|
|
@@ -1057,7 +1057,7 @@
|
|
|
1057
1057
|
"provider": "openai",
|
|
1058
1058
|
"retires": "2027-02-26",
|
|
1059
1059
|
"qualifier": "exact",
|
|
1060
|
-
"replacement": "gpt-transcribe",
|
|
1060
|
+
"replacement": "gpt-live-transcribe",
|
|
1061
1061
|
"kind": "audio"
|
|
1062
1062
|
},
|
|
1063
1063
|
{
|
|
@@ -1065,7 +1065,7 @@
|
|
|
1065
1065
|
"provider": "openai",
|
|
1066
1066
|
"retires": "2027-02-26",
|
|
1067
1067
|
"qualifier": "exact",
|
|
1068
|
-
"replacement": "gpt-transcribe",
|
|
1068
|
+
"replacement": "gpt-live-transcribe",
|
|
1069
1069
|
"kind": "audio"
|
|
1070
1070
|
},
|
|
1071
1071
|
{
|