Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 2.83 KB
/
Copy pathpackage.json
File metadata and controls
101 lines (101 loc) · 2.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "context-flow",
"displayName": "ContextFlow",
"description": "One panel, every harness. Cached context, less token cost. Unified orchestration workbench for AI coding agents (DeepSeek Harness / Claude Code / Codex) with cross-session context caching.",
"version": "1.0.1",
"publisher": "contextflow",
"license": "MIT",
"icon": "media/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/dboycht/ContextFlow.git"
},
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Other",
"AI"
],
"keywords": [
"AI",
"context",
"cache",
"deepseek",
"claude",
"codex",
"token",
"cost"
],
"main": "./out/src/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "contextflow",
"title": "ContextFlow",
"icon": "media/icon.svg"
}
]
},
"views": {
"contextflow": [
{
"type": "webview",
"id": "contextflow.panel",
"name": "ContextFlow",
"icon": "media/icon.svg"
}
]
},
"commands": [
{
"command": "contextflow.newSession",
"title": "ContextFlow: 新建会话"
}
],
"configuration": {
"title": "ContextFlow",
"properties": {
"contextflow.defaultModel": {
"type": "string",
"default": "deepseek",
"enum": [
"deepseek",
"claude",
"openai"
],
"description": "默认引擎(会话无归属时使用)"
},
"contextflow.minCacheTokens": {
"type": "number",
"default": 1024,
"description": "前缀缓存最小 token 门槛,低于此长度的前缀跳过缓存(厂商对短前缀缓存不生效甚至更贵)"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "tsc -p ./ && node --test \"out/tests/**/*.test.js\"",
"test:pty": "tsc -p ./ && node scripts/test-pty.cjs",
"sqlite:electron": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/switch-sqlite.ps1 -Target electron",
"sqlite:node": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/switch-sqlite.ps1 -Target node",
"native:electron": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/switch-native.ps1 -Target electron",
"native:node": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/switch-native.ps1 -Target node",
"package": "vsce package"
},
"dependencies": {
"better-sqlite3": "^12.2.0",
"node-pty": "^1.1.0",
"xterm": "^5.3.0"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^20.17.0",
"@types/vscode": "^1.90.0",
"typescript": "^5.7.3"
}
}