@explyt/ai-agent 0.1.5 → 0.2.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 +3 -3
- package/THIRD-PARTY-NOTICES.md +41 -10
- package/agent-docs/README.md +1 -1
- package/agent-docs/settings.md +14 -2
- package/dist/cli/engine.js +16 -12
- package/dist/cli/index.js +2 -2
- package/dist/cli/update.js +7 -3
- package/dist/extensions/ask-user-question.js +1 -1
- package/dist/extensions/bash.js +1 -1
- package/dist/extensions/custom-provider.js +1 -1
- package/dist/extensions/hello.js +1 -1
- package/dist/extensions/identity.js +1 -1
- package/dist/extensions/mcp.js +1 -1
- package/dist/extensions/misc-hacks.js +1 -1
- package/dist/extensions/policy.js +1 -1
- package/dist/extensions/rules.js +1 -1
- package/dist/extensions/session-title.js +1 -1
- package/dist/extensions/skills.js +1 -1
- package/dist/extensions/subagents.js +1 -0
- package/dist/extensions/tui.js +1 -1
- package/dist/extensions/update-notice.js +1 -1
- package/dist/extensions/web-access.js +1 -1
- package/dist/extensions/write.js +1 -0
- package/dist/mcp-adapter.js +4 -4
- package/dist/rpiv-ask-user-question/{chunk-GAM3ZAHN.js → chunk-JNDW3P3A.js} +2 -2
- package/dist/rpiv-ask-user-question/index.js +3 -3
- package/dist/vendor/model-probe/rules.json +102 -0
- package/dist/vendor/model-probe/src/index.js +983 -0
- package/dist/vendor/model-probe/src/opencode-models-snapshot.js +8 -0
- package/dist/vendor/model-probe/src/opencode-models.js +6 -0
- package/dist/vendor/pi-ai-compat.js +2 -0
- package/dist/vendor/pi-coding-agent.js +159 -0
- package/dist/vendor/pi-web-access-deps/modelcontextprotocol__sdk__client__index.js.js +9 -0
- package/dist/vendor/pi-web-access-deps/modelcontextprotocol__sdk__client__streamableHttp.js.js +9 -0
- package/dist/vendor/pi-web-access.js +24958 -0
- package/dist/vendor/typebox/chunk-6XHASRAZ.js +4819 -0
- package/dist/vendor/typebox/index.js +703 -0
- package/dist/vendor/typebox/value.js +3736 -0
- package/package.json +12 -5
- package/dist/extensions/subagents-package.js +0 -46
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-MLBWT6TR.js";
|
|
15
15
|
|
|
16
16
|
// node_modules/@juicesharp/rpiv-ask-user-question/view/dialog-builder.ts
|
|
17
|
-
import { DynamicBorder } from "
|
|
17
|
+
import { DynamicBorder } from "../vendor/pi-coding-agent.js";
|
|
18
18
|
import { Container as Container2, Spacer as Spacer2 } from "@earendil-works/pi-tui";
|
|
19
19
|
|
|
20
20
|
// node_modules/@juicesharp/rpiv-ask-user-question/view/tab-content-strategy.ts
|
|
@@ -343,7 +343,7 @@ var DialogView = class {
|
|
|
343
343
|
};
|
|
344
344
|
|
|
345
345
|
// node_modules/@juicesharp/rpiv-ask-user-question/state/build-questionnaire.ts
|
|
346
|
-
import { getMarkdownTheme } from "
|
|
346
|
+
import { getMarkdownTheme } from "../vendor/pi-coding-agent.js";
|
|
347
347
|
import { Editor } from "@earendil-works/pi-tui";
|
|
348
348
|
|
|
349
349
|
// node_modules/@juicesharp/rpiv-ask-user-question/view/component-binding.ts
|
|
@@ -172,7 +172,7 @@ function buildToolResult(text, details) {
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
// node_modules/@juicesharp/rpiv-ask-user-question/tool/types.ts
|
|
175
|
-
import { Type } from "typebox";
|
|
175
|
+
import { Type } from "../vendor/typebox/index.js";
|
|
176
176
|
var MAX_QUESTIONS = 4;
|
|
177
177
|
var MIN_OPTIONS = 2;
|
|
178
178
|
var MAX_OPTIONS = 4;
|
|
@@ -314,7 +314,7 @@ var PREWARM_DELAY_MS = 2e3;
|
|
|
314
314
|
async function loadQuestionnaireSession() {
|
|
315
315
|
let mod;
|
|
316
316
|
try {
|
|
317
|
-
mod = await import("./chunk-
|
|
317
|
+
mod = await import("./chunk-JNDW3P3A.js");
|
|
318
318
|
} catch (e) {
|
|
319
319
|
const cause = e instanceof Error ? e.message : String(e);
|
|
320
320
|
return { ok: false, error: "session_load_failed", message: `${ERROR_SESSION_LOAD_FAILED} (cause: ${cause})` };
|
|
@@ -359,7 +359,7 @@ function makeSessionFactory(config) {
|
|
|
359
359
|
editInput: async (value) => {
|
|
360
360
|
try {
|
|
361
361
|
const [{ SettingsManager }, { editWithExternalEditor }] = await Promise.all([
|
|
362
|
-
import("
|
|
362
|
+
import("../vendor/pi-coding-agent.js"),
|
|
363
363
|
import("./chunk-SNHFJ5PE.js")
|
|
364
364
|
]);
|
|
365
365
|
const editorCommand = SettingsManager.create(ctx.cwd, void 0, {
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
[
|
|
2
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-5\\.5", "contextWindow": 1050000, "image": true, "reasoning": true },
|
|
3
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-5\\.4-mini", "contextWindow": 400000, "image": true, "reasoning": true },
|
|
4
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-5\\.4-nano", "contextWindow": 400000, "reasoning": true },
|
|
5
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-5\\.4", "contextWindow": 1050000, "image": true, "reasoning": true },
|
|
6
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-5\\.3-codex-spark", "contextWindow": 128000, "reasoning": true },
|
|
7
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-5\\.3-chat", "contextWindow": 128000, "image": true, "reasoning": false },
|
|
8
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-5\\.3-codex", "contextWindow": 400000, "image": true, "reasoning": true },
|
|
9
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-5\\.3", "contextWindow": 400000, "image": true, "reasoning": true },
|
|
10
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-5\\.2-chat", "contextWindow": 128000, "image": true },
|
|
11
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-5\\.2", "contextWindow": 400000, "image": true, "reasoning": true },
|
|
12
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-5\\.1", "contextWindow": 400000, "image": true, "reasoning": true },
|
|
13
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-5-pro", "contextWindow": 400000, "image": true, "reasoning": true },
|
|
14
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-5-mini", "contextWindow": 400000, "image": true, "reasoning": true },
|
|
15
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-5-nano", "contextWindow": 400000, "reasoning": true },
|
|
16
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-5", "contextWindow": 272000, "image": true, "reasoning": true },
|
|
17
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-4\\.1", "contextWindow": 1047576, "image": true },
|
|
18
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-4o-mini", "contextWindow": 128000, "image": true },
|
|
19
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-4o", "contextWindow": 128000, "image": true },
|
|
20
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-4-turbo", "contextWindow": 128000, "image": true },
|
|
21
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-4-32k", "contextWindow": 32768 },
|
|
22
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-4", "contextWindow": 8192 },
|
|
23
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-3\\.5-turbo", "contextWindow": 16385 },
|
|
24
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?o4-mini", "contextWindow": 200000, "image": true, "reasoning": true },
|
|
25
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?o4", "contextWindow": 200000, "image": true, "reasoning": true },
|
|
26
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?o3-mini", "contextWindow": 200000, "reasoning": true },
|
|
27
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?o3", "contextWindow": 200000, "reasoning": true },
|
|
28
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?o1-preview", "contextWindow": 200000, "reasoning": true },
|
|
29
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?o1-mini", "contextWindow": 128000, "reasoning": true },
|
|
30
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?o1", "contextWindow": 200000, "reasoning": true },
|
|
31
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gpt-oss", "contextWindow": 128000, "image": true, "reasoning": true },
|
|
32
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?claude-(opus|sonnet|fable)-5", "contextWindow": 1000000, "image": true, "reasoning": true },
|
|
33
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?claude-(opus|sonnet)-4-[678]", "contextWindow": 1000000, "image": true, "reasoning": true },
|
|
34
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?claude-sonnet-4-5", "contextWindow": 1000000, "image": true, "reasoning": true },
|
|
35
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?claude-(opus|haiku)-4-5", "contextWindow": 200000, "image": true, "reasoning": true },
|
|
36
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?claude-(opus|sonnet|haiku)-4", "contextWindow": 200000, "image": true, "reasoning": true },
|
|
37
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?claude-3-7-sonnet", "contextWindow": 200000, "image": true, "reasoning": true },
|
|
38
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?claude-3-5-sonnet", "contextWindow": 200000, "image": true },
|
|
39
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?claude-3-5-haiku", "contextWindow": 200000, "image": true },
|
|
40
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?claude-3", "contextWindow": 200000, "image": true },
|
|
41
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?deepseek-v4", "contextWindow": 1000000, "image": false, "reasoning": true },
|
|
42
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?deepseek-reasoner", "contextWindow": 1000000, "image": false, "reasoning": true },
|
|
43
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?deepseek-chat", "contextWindow": 1000000, "image": false, "reasoning": false },
|
|
44
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?deepseek-(v3|r1)", "contextWindow": 128000, "image": false, "reasoning": true },
|
|
45
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?deepseek-coder", "contextWindow": 16384 },
|
|
46
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen[0-9.]*-non-thinking", "contextWindow": 262144, "reasoning": false },
|
|
47
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen[^ ]*(thinking|reasoner)", "contextWindow": 262144, "reasoning": true },
|
|
48
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen3\\.7-plus", "contextWindow": 1000000, "image": true, "video": true, "reasoning": true },
|
|
49
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen3\\.7-max", "contextWindow": 1000000, "reasoning": true },
|
|
50
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen3\\.7", "contextWindow": 262144, "reasoning": true },
|
|
51
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen3\\.[56]-(plus|flash)", "contextWindow": 1000000, "image": true, "video": true, "reasoning": true },
|
|
52
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen3\\.[56]", "contextWindow": 262144, "reasoning": true },
|
|
53
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen3-max", "contextWindow": 262144, "reasoning": false },
|
|
54
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen3-vl", "contextWindow": 262144, "image": true },
|
|
55
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen3-coder", "contextWindow": 262144, "reasoning": true },
|
|
56
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen3", "contextWindow": 131072, "reasoning": true },
|
|
57
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen2\\.5-turbo", "contextWindow": 1000000 },
|
|
58
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen[^ ]*-vl", "contextWindow": 131072, "image": true },
|
|
59
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen-long", "contextWindow": 10000000 },
|
|
60
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen-max", "contextWindow": 131072 },
|
|
61
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen-plus", "contextWindow": 131072 },
|
|
62
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen-turbo", "contextWindow": 131072 },
|
|
63
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen2\\.5-coder", "contextWindow": 131072 },
|
|
64
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen2\\.5", "contextWindow": 131072 },
|
|
65
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen2", "contextWindow": 32768 },
|
|
66
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen-chat", "contextWindow": 262000 },
|
|
67
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen1\\.5", "contextWindow": 32768 },
|
|
68
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?qwen", "contextWindow": 131072 },
|
|
69
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?k3-256k$", "contextWindow": 262144, "image": true, "reasoning": true },
|
|
70
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?k3$", "contextWindow": 1048576, "image": true, "video": true, "reasoning": true },
|
|
71
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?kimi-for-coding(-highspeed)?$", "contextWindow": 262144, "image": true, "video": true, "reasoning": true },
|
|
72
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?kimi-k2\\.[567]", "contextWindow": 262144, "image": true, "video": true, "reasoning": true },
|
|
73
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?kimi-k2-thinking", "contextWindow": 262144, "reasoning": true },
|
|
74
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?kimi-k2", "contextWindow": 262144, "reasoning": true },
|
|
75
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?kimi-k1\\.5", "contextWindow": 131072, "reasoning": true },
|
|
76
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?kimi-latest", "contextWindow": 1048576, "image": true, "video": true, "reasoning": true },
|
|
77
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?kimi", "contextWindow": 131072 },
|
|
78
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?moonshot-v1-128k", "contextWindow": 131072 },
|
|
79
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?moonshot-v1-32k", "contextWindow": 32768 },
|
|
80
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?moonshot-v1-8k", "contextWindow": 8192 },
|
|
81
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?moonshot-v1", "contextWindow": 131072 },
|
|
82
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?glm-5\\.2", "contextWindow": 1000000, "reasoning": true },
|
|
83
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?glm-5v", "contextWindow": 200000, "image": true, "video": true, "reasoning": true },
|
|
84
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?glm-5", "contextWindow": 200000, "reasoning": true },
|
|
85
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?glm-4\\.7", "contextWindow": 204800, "reasoning": true },
|
|
86
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?glm-4\\.6v", "contextWindow": 128000, "image": true, "video": true, "reasoning": true },
|
|
87
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?glm-4\\.6", "contextWindow": 204800, "reasoning": true },
|
|
88
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?glm-4\\.5v", "contextWindow": 64000, "image": true, "reasoning": true },
|
|
89
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?glm-4\\.5", "contextWindow": 131072, "reasoning": true },
|
|
90
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?glm-z1", "contextWindow": 128000, "reasoning": true },
|
|
91
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?glm-4v", "contextWindow": 8192, "image": true },
|
|
92
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?glm-4-long", "contextWindow": 1024000 },
|
|
93
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?glm-4", "contextWindow": 128000 },
|
|
94
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?glm", "contextWindow": 128000 },
|
|
95
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?hy3", "reasoning": true },
|
|
96
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gemini-3", "contextWindow": 1048576, "image": true, "video": true, "reasoning": true },
|
|
97
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gemini-2\\.5", "contextWindow": 1048576, "image": true, "video": true, "reasoning": true },
|
|
98
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gemini-(1\\.5|2\\.0)", "contextWindow": 1000000, "image": true },
|
|
99
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?gemma-4", "contextWindow": 262144 },
|
|
100
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?llama(3|4)", "contextWindow": 131072 },
|
|
101
|
+
{ "pattern": "^(?:[a-z0-9._-]+/)?mistral-(large|small|medium)", "contextWindow": 128000 }
|
|
102
|
+
]
|