@diffexai/diffex 0.2.4 → 0.2.6
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/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/dist/AGENTS.md +0 -11
- package/dist/core/agent-session.d.ts +0 -1
- package/dist/core/agent-session.js +3 -10
- package/dist/core/sdk.js +1 -1
- package/dist/core/system-prompt-production.d.ts +7 -0
- package/dist/core/system-prompt-production.js +102 -0
- package/dist/core/system-prompt.d.ts +2 -2
- package/dist/core/system-prompt.js +34 -35
- package/dist/core/tools/subagents.js +22 -9
- package/dist/modes/print-mode.js +12 -14
- package/dist/node_modules/@diffexai/diffex-agent-core/distribution-components.json +4 -4
- package/dist/node_modules/@diffexai/diffex-agent-core/distribution-files.json +1 -1
- package/dist/node_modules/@diffexai/diffex-agent-core/package.json +1 -1
- package/dist/node_modules/@diffexai/diffex-ai/dist/providers/data/.manifest.json +1 -1
- package/dist/node_modules/@diffexai/diffex-ai/dist/providers/data/amazon-bedrock.json +1 -1
- package/dist/node_modules/@diffexai/diffex-ai/dist/providers/data/cloudflare-ai-gateway.json +1 -1
- package/dist/node_modules/@diffexai/diffex-ai/dist/providers/data/fireworks.json +1 -1
- package/dist/node_modules/@diffexai/diffex-ai/dist/providers/data/mistral.json +1 -1
- package/dist/node_modules/@diffexai/diffex-ai/dist/providers/data/nvidia.json +1 -1
- package/dist/node_modules/@diffexai/diffex-ai/dist/providers/data/openrouter.json +1 -1
- package/dist/node_modules/@diffexai/diffex-ai/dist/providers/data/qwen-token-plan-cn.json +1 -1
- package/dist/node_modules/@diffexai/diffex-ai/dist/providers/data/qwen-token-plan.json +1 -1
- package/dist/node_modules/@diffexai/diffex-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
- package/dist/node_modules/@diffexai/diffex-ai/distribution-components.json +3 -3
- package/dist/node_modules/@diffexai/diffex-ai/distribution-files.json +11 -11
- package/dist/node_modules/@diffexai/diffex-ai/package.json +1 -1
- package/dist/node_modules/@diffexai/diffex-client/distribution-components.json +3 -3
- package/dist/node_modules/@diffexai/diffex-client/distribution-files.json +1 -1
- package/dist/node_modules/@diffexai/diffex-client/package.json +1 -1
- package/dist/node_modules/@diffexai/diffex-harness-state/distribution-components.json +2 -2
- package/dist/node_modules/@diffexai/diffex-harness-state/distribution-files.json +1 -1
- package/dist/node_modules/@diffexai/diffex-harness-state/package.json +1 -1
- package/dist/node_modules/@diffexai/diffex-protocol/distribution-components.json +2 -2
- package/dist/node_modules/@diffexai/diffex-protocol/distribution-files.json +1 -1
- package/dist/node_modules/@diffexai/diffex-protocol/package.json +1 -1
- package/dist/node_modules/@diffexai/diffex-telemetry/distribution-components.json +2 -2
- package/dist/node_modules/@diffexai/diffex-telemetry/distribution-files.json +1 -1
- package/dist/node_modules/@diffexai/diffex-telemetry/package.json +1 -1
- package/dist/node_modules/@diffexai/diffex-tui/distribution-components.json +2 -2
- package/dist/node_modules/@diffexai/diffex-tui/distribution-files.json +1 -1
- package/dist/node_modules/@diffexai/diffex-tui/package.json +1 -1
- package/dist/server/create-harness.js +1 -1
- package/distribution-components.json +11 -11
- package/distribution-files.json +49 -41
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -31
- package/release/distribution-manifest.json +4 -4
- package/release/install-package-lock.json +5 -5
- package/release/install-package.json +2 -2
- package/docs/compaction.md +0 -401
- package/docs/containerization.md +0 -84
- package/docs/custom-provider.md +0 -774
- package/docs/environment-variables.md +0 -88
- package/docs/evolution.md +0 -90
- package/docs/extensions.md +0 -2982
- package/docs/images/interactive-mode.png +0 -0
- package/docs/images/tree-view.png +0 -0
- package/docs/installation.md +0 -118
- package/docs/json.md +0 -91
- package/docs/keybindings.md +0 -241
- package/docs/llama-cpp.md +0 -99
- package/docs/models.md +0 -565
- package/docs/packages.md +0 -232
- package/docs/prompt-templates.md +0 -96
- package/docs/providers.md +0 -317
- package/docs/quickstart.md +0 -161
- package/docs/rpc.md +0 -1647
- package/docs/sdk.md +0 -1332
- package/docs/security.md +0 -66
- package/docs/session-format.md +0 -438
- package/docs/sessions.md +0 -162
- package/docs/settings.md +0 -341
- package/docs/shell-aliases.md +0 -13
- package/docs/skills.md +0 -227
- package/docs/terminal-setup.md +0 -152
- package/docs/themes.md +0 -326
- package/docs/tmux.md +0 -63
- package/docs/tui.md +0 -940
- package/docs/usage.md +0 -434
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"name": "@diffexai/diffex-ai",
|
|
4
|
-
"version": "0.2.
|
|
5
|
-
"sourceCommit": "
|
|
4
|
+
"version": "0.2.6",
|
|
5
|
+
"sourceCommit": "857f5ef8e47b3371a5a0f97f78dbda2bcba53a64",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"portions": "Diffex contributions; Pi-derived portions retain MIT terms in LICENSE",
|
|
8
8
|
"notice": "LICENSE",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"name": "@diffexai/diffex-telemetry",
|
|
23
|
-
"version": "^0.2.
|
|
23
|
+
"version": "^0.2.6",
|
|
24
24
|
"distribution": "resolved separately by package manager; not bundled in this npm tarball"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"sourceCommit": "
|
|
2
|
+
"sourceCommit": "857f5ef8e47b3371a5a0f97f78dbda2bcba53a64",
|
|
3
3
|
"algorithm": "sha256",
|
|
4
4
|
"files": [
|
|
5
5
|
{
|
|
@@ -676,11 +676,11 @@
|
|
|
676
676
|
},
|
|
677
677
|
{
|
|
678
678
|
"path": "dist/providers/data/.manifest.json",
|
|
679
|
-
"sha256": "
|
|
679
|
+
"sha256": "d33ac0c115fb96899e88ed83bc1800d7bb2c232d661db5de79617e6c9bfbee46"
|
|
680
680
|
},
|
|
681
681
|
{
|
|
682
682
|
"path": "dist/providers/data/amazon-bedrock.json",
|
|
683
|
-
"sha256": "
|
|
683
|
+
"sha256": "9d3eed9613b9b56f0c5f202a61b279a7168edf01bae6c3218a7ab28664ff80ea"
|
|
684
684
|
},
|
|
685
685
|
{
|
|
686
686
|
"path": "dist/providers/data/ant-ling.json",
|
|
@@ -704,7 +704,7 @@
|
|
|
704
704
|
},
|
|
705
705
|
{
|
|
706
706
|
"path": "dist/providers/data/cloudflare-ai-gateway.json",
|
|
707
|
-
"sha256": "
|
|
707
|
+
"sha256": "356a2892803067a5d042c5abb87051edba46f7209589c625f8bcea8c7c5ce5c9"
|
|
708
708
|
},
|
|
709
709
|
{
|
|
710
710
|
"path": "dist/providers/data/cloudflare-workers-ai.json",
|
|
@@ -716,7 +716,7 @@
|
|
|
716
716
|
},
|
|
717
717
|
{
|
|
718
718
|
"path": "dist/providers/data/fireworks.json",
|
|
719
|
-
"sha256": "
|
|
719
|
+
"sha256": "4c9055f7a2c5345b808bb561b07b227fc29148e0fb774c0ac50db2b34ab89aaf"
|
|
720
720
|
},
|
|
721
721
|
{
|
|
722
722
|
"path": "dist/providers/data/github-copilot.json",
|
|
@@ -752,7 +752,7 @@
|
|
|
752
752
|
},
|
|
753
753
|
{
|
|
754
754
|
"path": "dist/providers/data/mistral.json",
|
|
755
|
-
"sha256": "
|
|
755
|
+
"sha256": "be522597b22bceeb0bb9a0ba1781647649ffd19637d0c8e67b056d7b0ec33d52"
|
|
756
756
|
},
|
|
757
757
|
{
|
|
758
758
|
"path": "dist/providers/data/moonshotai-cn.json",
|
|
@@ -764,7 +764,7 @@
|
|
|
764
764
|
},
|
|
765
765
|
{
|
|
766
766
|
"path": "dist/providers/data/nvidia.json",
|
|
767
|
-
"sha256": "
|
|
767
|
+
"sha256": "2ff6862206269af88a694e627c4b54753055357710adaf49ac8518d102c17407"
|
|
768
768
|
},
|
|
769
769
|
{
|
|
770
770
|
"path": "dist/providers/data/openai-codex.json",
|
|
@@ -784,11 +784,11 @@
|
|
|
784
784
|
},
|
|
785
785
|
{
|
|
786
786
|
"path": "dist/providers/data/openrouter.json",
|
|
787
|
-
"sha256": "
|
|
787
|
+
"sha256": "2b89edd669eeedfb0139ff1a9ec26eb980afd43aba93a9dd44a17fe5d0c7e748"
|
|
788
788
|
},
|
|
789
789
|
{
|
|
790
790
|
"path": "dist/providers/data/qwen-token-plan-cn.json",
|
|
791
|
-
"sha256": "
|
|
791
|
+
"sha256": "a50420854a624ea82155d9621cd88d6cbd7802498d28fb1fd317eb7a1bc26cc7"
|
|
792
792
|
},
|
|
793
793
|
{
|
|
794
794
|
"path": "dist/providers/data/qwen-token-plan-individual.json",
|
|
@@ -796,7 +796,7 @@
|
|
|
796
796
|
},
|
|
797
797
|
{
|
|
798
798
|
"path": "dist/providers/data/qwen-token-plan.json",
|
|
799
|
-
"sha256": "
|
|
799
|
+
"sha256": "24285f68b2350aa1d98ecaeafe0914bce97940fe8798eff20f2a5c6d8c26bd6f"
|
|
800
800
|
},
|
|
801
801
|
{
|
|
802
802
|
"path": "dist/providers/data/together.json",
|
|
@@ -804,7 +804,7 @@
|
|
|
804
804
|
},
|
|
805
805
|
{
|
|
806
806
|
"path": "dist/providers/data/vercel-ai-gateway.json",
|
|
807
|
-
"sha256": "
|
|
807
|
+
"sha256": "e61d139444d16c7900a141d0bc9af874761794e80fb7d3ff4a08a21c3e93231f"
|
|
808
808
|
},
|
|
809
809
|
{
|
|
810
810
|
"path": "dist/providers/data/xai.json",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"name": "@diffexai/diffex-client",
|
|
4
|
-
"version": "0.2.
|
|
5
|
-
"sourceCommit": "
|
|
4
|
+
"version": "0.2.6",
|
|
5
|
+
"sourceCommit": "857f5ef8e47b3371a5a0f97f78dbda2bcba53a64",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"portions": "Diffex contributions; Pi-derived portions retain MIT terms in LICENSE",
|
|
8
8
|
"notice": "LICENSE",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"name": "@diffexai/diffex-protocol",
|
|
13
|
-
"version": "^0.2.
|
|
13
|
+
"version": "^0.2.6",
|
|
14
14
|
"distribution": "resolved separately by package manager; not bundled in this npm tarball"
|
|
15
15
|
}
|
|
16
16
|
]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"name": "@diffexai/diffex-harness-state",
|
|
4
|
-
"version": "0.2.
|
|
5
|
-
"sourceCommit": "
|
|
4
|
+
"version": "0.2.6",
|
|
5
|
+
"sourceCommit": "857f5ef8e47b3371a5a0f97f78dbda2bcba53a64",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"portions": "Diffex contributions; Pi-derived portions retain MIT terms in LICENSE",
|
|
8
8
|
"notice": "LICENSE",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"name": "@diffexai/diffex-protocol",
|
|
4
|
-
"version": "0.2.
|
|
5
|
-
"sourceCommit": "
|
|
4
|
+
"version": "0.2.6",
|
|
5
|
+
"sourceCommit": "857f5ef8e47b3371a5a0f97f78dbda2bcba53a64",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"portions": "Diffex contributions; Pi-derived portions retain MIT terms in LICENSE",
|
|
8
8
|
"notice": "LICENSE",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"name": "@diffexai/diffex-telemetry",
|
|
4
|
-
"version": "0.2.
|
|
5
|
-
"sourceCommit": "
|
|
4
|
+
"version": "0.2.6",
|
|
5
|
+
"sourceCommit": "857f5ef8e47b3371a5a0f97f78dbda2bcba53a64",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"portions": "Diffex contributions; Pi-derived portions retain MIT terms in LICENSE",
|
|
8
8
|
"notice": "LICENSE",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"name": "@diffexai/diffex-tui",
|
|
4
|
-
"version": "0.2.
|
|
5
|
-
"sourceCommit": "
|
|
4
|
+
"version": "0.2.6",
|
|
5
|
+
"sourceCommit": "857f5ef8e47b3371a5a0f97f78dbda2bcba53a64",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"portions": "Diffex contributions; Pi-derived portions retain MIT terms in LICENSE",
|
|
8
8
|
"notice": "LICENSE",
|
|
@@ -23,7 +23,7 @@ export function buildCodingAgentHarnessSystemPrompt(options) {
|
|
|
23
23
|
.trim();
|
|
24
24
|
return promptSnippet ? [[tool.name, promptSnippet]] : [];
|
|
25
25
|
}));
|
|
26
|
-
const promptGuidelines = activeTools.
|
|
26
|
+
const promptGuidelines = Object.fromEntries(activeTools.map((tool) => [tool.name, tool.promptGuidelines ?? []]));
|
|
27
27
|
return buildSystemPrompt({
|
|
28
28
|
...options.systemPromptOptions,
|
|
29
29
|
cwd: options.cwd,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"name": "@diffexai/diffex",
|
|
4
|
-
"version": "0.2.
|
|
5
|
-
"sourceCommit": "
|
|
4
|
+
"version": "0.2.6",
|
|
5
|
+
"sourceCommit": "857f5ef8e47b3371a5a0f97f78dbda2bcba53a64",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"portions": "Diffex contributions; Pi-derived portions retain MIT terms in LICENSE",
|
|
8
8
|
"notice": "LICENSE",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"name": "@diffexai/diffex-evolution",
|
|
13
|
-
"version": "0.2.
|
|
13
|
+
"version": "0.2.6",
|
|
14
14
|
"license": "Apache-2.0",
|
|
15
15
|
"portions": "dist/vendor/evolution: runtime JavaScript and declarations",
|
|
16
16
|
"notice": "LICENSE",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"name": "@diffexai/diffex-harness-trace",
|
|
21
|
-
"version": "0.2.
|
|
21
|
+
"version": "0.2.6",
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"portions": "dist/vendor/harness-trace: runtime JavaScript and declarations",
|
|
24
24
|
"notice": "LICENSE",
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
"name": "@diffexai/diffex-agent-core",
|
|
137
|
-
"version": "0.2.
|
|
137
|
+
"version": "0.2.6",
|
|
138
138
|
"license": "Apache-2.0",
|
|
139
139
|
"portions": "dist/node_modules/@diffexai/diffex-agent-core: bundled runtime, declarations, approved assets and native prebuilds",
|
|
140
140
|
"notice": "dist/node_modules/@diffexai/diffex-agent-core/LICENSE",
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
144
|
"name": "@diffexai/diffex-ai",
|
|
145
|
-
"version": "0.2.
|
|
145
|
+
"version": "0.2.6",
|
|
146
146
|
"license": "Apache-2.0",
|
|
147
147
|
"portions": "dist/node_modules/@diffexai/diffex-ai: bundled runtime, declarations, approved assets and native prebuilds",
|
|
148
148
|
"notice": "dist/node_modules/@diffexai/diffex-ai/LICENSE",
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
152
|
"name": "@diffexai/diffex-client",
|
|
153
|
-
"version": "0.2.
|
|
153
|
+
"version": "0.2.6",
|
|
154
154
|
"license": "Apache-2.0",
|
|
155
155
|
"portions": "dist/node_modules/@diffexai/diffex-client: bundled runtime, declarations, approved assets and native prebuilds",
|
|
156
156
|
"notice": "dist/node_modules/@diffexai/diffex-client/LICENSE",
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
"name": "@diffexai/diffex-harness-state",
|
|
161
|
-
"version": "0.2.
|
|
161
|
+
"version": "0.2.6",
|
|
162
162
|
"license": "Apache-2.0",
|
|
163
163
|
"portions": "dist/node_modules/@diffexai/diffex-harness-state: bundled runtime, declarations, approved assets and native prebuilds",
|
|
164
164
|
"notice": "dist/node_modules/@diffexai/diffex-harness-state/LICENSE",
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
168
|
"name": "@diffexai/diffex-protocol",
|
|
169
|
-
"version": "0.2.
|
|
169
|
+
"version": "0.2.6",
|
|
170
170
|
"license": "Apache-2.0",
|
|
171
171
|
"portions": "dist/node_modules/@diffexai/diffex-protocol: bundled runtime, declarations, approved assets and native prebuilds",
|
|
172
172
|
"notice": "dist/node_modules/@diffexai/diffex-protocol/LICENSE",
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
176
|
"name": "@diffexai/diffex-telemetry",
|
|
177
|
-
"version": "0.2.
|
|
177
|
+
"version": "0.2.6",
|
|
178
178
|
"license": "Apache-2.0",
|
|
179
179
|
"portions": "dist/node_modules/@diffexai/diffex-telemetry: bundled runtime, declarations, approved assets and native prebuilds",
|
|
180
180
|
"notice": "dist/node_modules/@diffexai/diffex-telemetry/LICENSE",
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
184
|
"name": "@diffexai/diffex-tui",
|
|
185
|
-
"version": "0.2.
|
|
185
|
+
"version": "0.2.6",
|
|
186
186
|
"license": "Apache-2.0",
|
|
187
187
|
"portions": "dist/node_modules/@diffexai/diffex-tui: bundled runtime, declarations, approved assets and native prebuilds",
|
|
188
188
|
"notice": "dist/node_modules/@diffexai/diffex-tui/LICENSE",
|