@plume-canvas/plugin-agent 0.1.4 → 0.1.5
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/dist/plugin-agent.js +2 -2
- package/dist/plugin-agent.js.map +1 -1
- package/dist/server.js +99 -80
- package/package.json +34 -14
package/dist/server.js
CHANGED
|
@@ -49,10 +49,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
49
49
|
));
|
|
50
50
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
51
51
|
|
|
52
|
-
// ../../../node_modules/.pnpm/@prismshadow+penguin-core@
|
|
52
|
+
// ../../../node_modules/.pnpm/@prismshadow+penguin-core@0_7f6ae2ec1802016b80242686f5b701f7/node_modules/@prismshadow/penguin-core/dist/chunk-73EGPSNN.js
|
|
53
53
|
var THINKING_LEVEL_NAMES, SUBAGENT_THINKING_LEVELS, DETACHED_TOOL_NOTE_PREFIX;
|
|
54
54
|
var init_chunk_73EGPSNN = __esm({
|
|
55
|
-
"../../../node_modules/.pnpm/@prismshadow+penguin-core@
|
|
55
|
+
"../../../node_modules/.pnpm/@prismshadow+penguin-core@0_7f6ae2ec1802016b80242686f5b701f7/node_modules/@prismshadow/penguin-core/dist/chunk-73EGPSNN.js"() {
|
|
56
56
|
THINKING_LEVEL_NAMES = [
|
|
57
57
|
"none",
|
|
58
58
|
"low",
|
|
@@ -72,7 +72,7 @@ var init_chunk_73EGPSNN = __esm({
|
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
74
|
|
|
75
|
-
// ../../../node_modules/.pnpm/@prismshadow+penguin-core@
|
|
75
|
+
// ../../../node_modules/.pnpm/@prismshadow+penguin-core@0_7f6ae2ec1802016b80242686f5b701f7/node_modules/@prismshadow/penguin-core/dist/chunk-NSRJIFVE.js
|
|
76
76
|
function resolveContextWindow(contextWindow) {
|
|
77
77
|
return typeof contextWindow === "number" && Number.isFinite(contextWindow) && contextWindow >= MIN_USABLE_CONTEXT_WINDOW ? contextWindow : void 0;
|
|
78
78
|
}
|
|
@@ -113,7 +113,7 @@ function effectiveMaxContextLength(configured, contextWindow) {
|
|
|
113
113
|
}
|
|
114
114
|
var DEFAULT_CONTEXT_WINDOW, DEFAULT_MAX_CONTEXT_LENGTH, MIN_USABLE_CONTEXT_WINDOW, OUTPUT_SAFETY_MARGIN, MIN_OUTPUT_TOKENS, COMPACTION_HEADROOM, IMAGE_TOKEN_ESTIMATE;
|
|
115
115
|
var init_chunk_NSRJIFVE = __esm({
|
|
116
|
-
"../../../node_modules/.pnpm/@prismshadow+penguin-core@
|
|
116
|
+
"../../../node_modules/.pnpm/@prismshadow+penguin-core@0_7f6ae2ec1802016b80242686f5b701f7/node_modules/@prismshadow/penguin-core/dist/chunk-NSRJIFVE.js"() {
|
|
117
117
|
DEFAULT_CONTEXT_WINDOW = 128e3;
|
|
118
118
|
DEFAULT_MAX_CONTEXT_LENGTH = 256e3;
|
|
119
119
|
MIN_USABLE_CONTEXT_WINDOW = 4096;
|
|
@@ -124,7 +124,7 @@ var init_chunk_NSRJIFVE = __esm({
|
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
|
|
127
|
-
// ../../../node_modules/.pnpm/@prismshadow+penguin-core@
|
|
127
|
+
// ../../../node_modules/.pnpm/@prismshadow+penguin-core@0_7f6ae2ec1802016b80242686f5b701f7/node_modules/@prismshadow/penguin-core/dist/chunk-LZZNGAWA.js
|
|
128
128
|
function escapeTag(tag) {
|
|
129
129
|
return tag.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
130
130
|
}
|
|
@@ -467,7 +467,7 @@ function stripConversationMarkers(text) {
|
|
|
467
467
|
}
|
|
468
468
|
var MARKER_TAGS, TRANSCRIPT_TAGS, TITLE_NOISE_TAGS, ATTACHED_IMAGE_PREFIX, ATTACHED_FILE_PREFIX, ATTACHED_IMAGE_RE, ATTACHED_FILE_RE, SUMMARY_PATTERNS, SYNTHETIC_BLOCK_PATTERNS, PARTIAL_PAYLOAD_TYPES, SKILLS_PATTERNS, HANDOFF_PATTERNS, SCHEDULED_PATTERNS, ORG_TRIGGER_KEYS, ORG_TRIGGER_PATTERNS, MODEL_SWITCH_PATTERNS, BACKGROUND_DONE_PATTERNS, STEERING_TEXT_RE;
|
|
469
469
|
var init_chunk_LZZNGAWA = __esm({
|
|
470
|
-
"../../../node_modules/.pnpm/@prismshadow+penguin-core@
|
|
470
|
+
"../../../node_modules/.pnpm/@prismshadow+penguin-core@0_7f6ae2ec1802016b80242686f5b701f7/node_modules/@prismshadow/penguin-core/dist/chunk-LZZNGAWA.js"() {
|
|
471
471
|
MARKER_TAGS = {
|
|
472
472
|
/** Interrupted turn, transcribed for resend (engine carry-over). */
|
|
473
473
|
turnAborted: "turn_aborted",
|
|
@@ -555,7 +555,7 @@ var init_chunk_LZZNGAWA = __esm({
|
|
|
555
555
|
}
|
|
556
556
|
});
|
|
557
557
|
|
|
558
|
-
// ../../../node_modules/.pnpm/@prismshadow+penguin-core@
|
|
558
|
+
// ../../../node_modules/.pnpm/@prismshadow+penguin-core@0_7f6ae2ec1802016b80242686f5b701f7/node_modules/@prismshadow/penguin-core/dist/chunk-PBUXK7FZ.js
|
|
559
559
|
function nowIso() {
|
|
560
560
|
return (/* @__PURE__ */ new Date()).toISOString();
|
|
561
561
|
}
|
|
@@ -825,7 +825,7 @@ function aggregateAll(messages) {
|
|
|
825
825
|
}
|
|
826
826
|
var userText, assistantText, PartialAggregator;
|
|
827
827
|
var init_chunk_PBUXK7FZ = __esm({
|
|
828
|
-
"../../../node_modules/.pnpm/@prismshadow+penguin-core@
|
|
828
|
+
"../../../node_modules/.pnpm/@prismshadow+penguin-core@0_7f6ae2ec1802016b80242686f5b701f7/node_modules/@prismshadow/penguin-core/dist/chunk-PBUXK7FZ.js"() {
|
|
829
829
|
init_chunk_LZZNGAWA();
|
|
830
830
|
userText = (text, sender) => {
|
|
831
831
|
const msg = textMessage("user", text);
|
|
@@ -871,7 +871,7 @@ var init_chunk_PBUXK7FZ = __esm({
|
|
|
871
871
|
}
|
|
872
872
|
});
|
|
873
873
|
|
|
874
|
-
// ../../../node_modules/.pnpm/@prismshadow+penguin-core@
|
|
874
|
+
// ../../../node_modules/.pnpm/@prismshadow+penguin-core@0_7f6ae2ec1802016b80242686f5b701f7/node_modules/@prismshadow/penguin-core/dist/chunk-JSFS5GRE.js
|
|
875
875
|
function cny(cacheRead, cacheWrite, output) {
|
|
876
876
|
const r7 = (v) => Math.round(v / 7 * 1e6) / 1e6;
|
|
877
877
|
return usd(r7(cacheRead), r7(cacheWrite), r7(output));
|
|
@@ -1040,7 +1040,7 @@ function attributionHeaders(baseUrl, sessionId) {
|
|
|
1040
1040
|
}
|
|
1041
1041
|
var VLLM_CLIENT_TYPE, OPENROUTER_BASE_URL, SILICONFLOW_BASE_URL, QWEN_TOKEN_PLAN_BASE_URL, QWEN_PAYG_BASE_URL, FIREWORKS_BASE_URL, TOKENDANCE_BASE_URL, MINIMAX_BASE_URL, DEEPSEEK_BASE_URL, MODEL_PROVIDERS, DEEPSEEK_OFF_PEAK, MODEL_CATALOG, APP_URL, APP_TITLE, OPENROUTER_CATEGORIES;
|
|
1042
1042
|
var init_chunk_JSFS5GRE = __esm({
|
|
1043
|
-
"../../../node_modules/.pnpm/@prismshadow+penguin-core@
|
|
1043
|
+
"../../../node_modules/.pnpm/@prismshadow+penguin-core@0_7f6ae2ec1802016b80242686f5b701f7/node_modules/@prismshadow/penguin-core/dist/chunk-JSFS5GRE.js"() {
|
|
1044
1044
|
VLLM_CLIENT_TYPE = "openai-chat-vllm-adapter";
|
|
1045
1045
|
OPENROUTER_BASE_URL = "https://openrouter.ai/api/v1";
|
|
1046
1046
|
SILICONFLOW_BASE_URL = "https://api.siliconflow.cn/v1";
|
|
@@ -11120,9 +11120,9 @@ var init_dist = __esm({
|
|
|
11120
11120
|
}
|
|
11121
11121
|
});
|
|
11122
11122
|
|
|
11123
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
11123
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/errors.js
|
|
11124
11124
|
var require_errors2 = __commonJS({
|
|
11125
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
11125
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/errors.js"(exports) {
|
|
11126
11126
|
"use strict";
|
|
11127
11127
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11128
11128
|
exports.ToolCallArgumentParseError = exports.EmptyResponseError = exports.UnsupportedOperationError = exports.UnsupportedParameterError = exports.AgentHubError = void 0;
|
|
@@ -11211,9 +11211,9 @@ var require_errors2 = __commonJS({
|
|
|
11211
11211
|
}
|
|
11212
11212
|
});
|
|
11213
11213
|
|
|
11214
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
11214
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/utils.js
|
|
11215
11215
|
var require_utils = __commonJS({
|
|
11216
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
11216
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/utils.js"(exports) {
|
|
11217
11217
|
"use strict";
|
|
11218
11218
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11219
11219
|
exports.fixOpenrouterUsageMetadata = fixOpenrouterUsageMetadata;
|
|
@@ -33993,9 +33993,9 @@ var require_express2 = __commonJS({
|
|
|
33993
33993
|
}
|
|
33994
33994
|
});
|
|
33995
33995
|
|
|
33996
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
33996
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/integration/tracer.js
|
|
33997
33997
|
var require_tracer = __commonJS({
|
|
33998
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
33998
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/integration/tracer.js"(exports) {
|
|
33999
33999
|
"use strict";
|
|
34000
34000
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? (function(o3, m5, k6, k22) {
|
|
34001
34001
|
if (k22 === void 0) k22 = k6;
|
|
@@ -34809,9 +34809,9 @@ Finish Reason: ${message.finish_reason}`);
|
|
|
34809
34809
|
}
|
|
34810
34810
|
});
|
|
34811
34811
|
|
|
34812
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
34812
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/baseClient.js
|
|
34813
34813
|
var require_baseClient = __commonJS({
|
|
34814
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
34814
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/baseClient.js"(exports) {
|
|
34815
34815
|
"use strict";
|
|
34816
34816
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? (function(o3, m5, k6, k22) {
|
|
34817
34817
|
if (k22 === void 0) k22 = k6;
|
|
@@ -57403,9 +57403,9 @@ var require_ws = __commonJS({
|
|
|
57403
57403
|
}
|
|
57404
57404
|
});
|
|
57405
57405
|
|
|
57406
|
-
// ../../../node_modules/.pnpm/@google+genai@1.52.0_@
|
|
57406
|
+
// ../../../node_modules/.pnpm/@google+genai@1.52.0_@model_6428751af5db62a481e1ae9a1963d51d/node_modules/@google/genai/dist/node/index.cjs
|
|
57407
57407
|
var require_node3 = __commonJS({
|
|
57408
|
-
"../../../node_modules/.pnpm/@google+genai@1.52.0_@
|
|
57408
|
+
"../../../node_modules/.pnpm/@google+genai@1.52.0_@model_6428751af5db62a481e1ae9a1963d51d/node_modules/@google/genai/dist/node/index.cjs"(exports) {
|
|
57409
57409
|
"use strict";
|
|
57410
57410
|
var pRetry = require_p_retry();
|
|
57411
57411
|
var googleAuthLibrary = require_src6();
|
|
@@ -75760,9 +75760,9 @@ ${underline}`);
|
|
|
75760
75760
|
}
|
|
75761
75761
|
});
|
|
75762
75762
|
|
|
75763
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
75763
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/types.js
|
|
75764
75764
|
var require_types2 = __commonJS({
|
|
75765
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
75765
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/types.js"(exports) {
|
|
75766
75766
|
"use strict";
|
|
75767
75767
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
75768
75768
|
exports.PromptCaching = exports.ThinkingLevel = void 0;
|
|
@@ -75784,9 +75784,9 @@ var require_types2 = __commonJS({
|
|
|
75784
75784
|
}
|
|
75785
75785
|
});
|
|
75786
75786
|
|
|
75787
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
75787
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/gemini3_8/client.js
|
|
75788
75788
|
var require_client = __commonJS({
|
|
75789
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
75789
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/gemini3_8/client.js"(exports) {
|
|
75790
75790
|
"use strict";
|
|
75791
75791
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? (function(o3, m5, k6, k22) {
|
|
75792
75792
|
if (k22 === void 0) k22 = k6;
|
|
@@ -76405,9 +76405,9 @@ var require_client = __commonJS({
|
|
|
76405
76405
|
}
|
|
76406
76406
|
});
|
|
76407
76407
|
|
|
76408
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
76408
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/gemini3_8/index.js
|
|
76409
76409
|
var require_gemini3_8 = __commonJS({
|
|
76410
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
76410
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/gemini3_8/index.js"(exports) {
|
|
76411
76411
|
"use strict";
|
|
76412
76412
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
76413
76413
|
exports.Gemini3_8Client = void 0;
|
|
@@ -121206,9 +121206,9 @@ var require_bedrock_sdk = __commonJS({
|
|
|
121206
121206
|
}
|
|
121207
121207
|
});
|
|
121208
121208
|
|
|
121209
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
121209
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/claude5/client.js
|
|
121210
121210
|
var require_client4 = __commonJS({
|
|
121211
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
121211
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/claude5/client.js"(exports) {
|
|
121212
121212
|
"use strict";
|
|
121213
121213
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
121214
121214
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -121697,9 +121697,9 @@ var require_client4 = __commonJS({
|
|
|
121697
121697
|
}
|
|
121698
121698
|
});
|
|
121699
121699
|
|
|
121700
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
121700
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/claude5/index.js
|
|
121701
121701
|
var require_claude5 = __commonJS({
|
|
121702
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
121702
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/claude5/index.js"(exports) {
|
|
121703
121703
|
"use strict";
|
|
121704
121704
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
121705
121705
|
exports.Claude5Client = void 0;
|
|
@@ -135316,9 +135316,9 @@ var require_openai = __commonJS({
|
|
|
135316
135316
|
}
|
|
135317
135317
|
});
|
|
135318
135318
|
|
|
135319
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
135319
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/gpt6/client.js
|
|
135320
135320
|
var require_client6 = __commonJS({
|
|
135321
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
135321
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/gpt6/client.js"(exports) {
|
|
135322
135322
|
"use strict";
|
|
135323
135323
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
135324
135324
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -135738,9 +135738,9 @@ var require_client6 = __commonJS({
|
|
|
135738
135738
|
}
|
|
135739
135739
|
});
|
|
135740
135740
|
|
|
135741
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
135741
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/gpt6/index.js
|
|
135742
135742
|
var require_gpt6 = __commonJS({
|
|
135743
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
135743
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/gpt6/index.js"(exports) {
|
|
135744
135744
|
"use strict";
|
|
135745
135745
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
135746
135746
|
exports.GPT6Client = void 0;
|
|
@@ -135751,9 +135751,9 @@ var require_gpt6 = __commonJS({
|
|
|
135751
135751
|
}
|
|
135752
135752
|
});
|
|
135753
135753
|
|
|
135754
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
135754
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/glm5_3/client.js
|
|
135755
135755
|
var require_client7 = __commonJS({
|
|
135756
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
135756
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/glm5_3/client.js"(exports) {
|
|
135757
135757
|
"use strict";
|
|
135758
135758
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
135759
135759
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -136161,9 +136161,9 @@ var require_client7 = __commonJS({
|
|
|
136161
136161
|
}
|
|
136162
136162
|
});
|
|
136163
136163
|
|
|
136164
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
136164
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/glm5_3/index.js
|
|
136165
136165
|
var require_glm5_3 = __commonJS({
|
|
136166
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
136166
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/glm5_3/index.js"(exports) {
|
|
136167
136167
|
"use strict";
|
|
136168
136168
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
136169
136169
|
exports.GLM5_3Client = void 0;
|
|
@@ -136174,9 +136174,9 @@ var require_glm5_3 = __commonJS({
|
|
|
136174
136174
|
}
|
|
136175
136175
|
});
|
|
136176
136176
|
|
|
136177
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
136177
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/kimi_k3/client.js
|
|
136178
136178
|
var require_client8 = __commonJS({
|
|
136179
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
136179
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/kimi_k3/client.js"(exports) {
|
|
136180
136180
|
"use strict";
|
|
136181
136181
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? (function(o3, m5, k6, k22) {
|
|
136182
136182
|
if (k22 === void 0) k22 = k6;
|
|
@@ -136643,9 +136643,9 @@ var require_client8 = __commonJS({
|
|
|
136643
136643
|
}
|
|
136644
136644
|
});
|
|
136645
136645
|
|
|
136646
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
136646
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/kimi_k3/index.js
|
|
136647
136647
|
var require_kimi_k3 = __commonJS({
|
|
136648
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
136648
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/kimi_k3/index.js"(exports) {
|
|
136649
136649
|
"use strict";
|
|
136650
136650
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
136651
136651
|
exports.KimiK3Client = void 0;
|
|
@@ -136656,9 +136656,9 @@ var require_kimi_k3 = __commonJS({
|
|
|
136656
136656
|
}
|
|
136657
136657
|
});
|
|
136658
136658
|
|
|
136659
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
136659
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/openai_chat/client.js
|
|
136660
136660
|
var require_client9 = __commonJS({
|
|
136661
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
136661
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/openai_chat/client.js"(exports) {
|
|
136662
136662
|
"use strict";
|
|
136663
136663
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? (function(o3, m5, k6, k22) {
|
|
136664
136664
|
if (k22 === void 0) k22 = k6;
|
|
@@ -137082,9 +137082,9 @@ var require_client9 = __commonJS({
|
|
|
137082
137082
|
}
|
|
137083
137083
|
});
|
|
137084
137084
|
|
|
137085
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
137085
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/openai_chat/index.js
|
|
137086
137086
|
var require_openai_chat = __commonJS({
|
|
137087
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
137087
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/openai_chat/index.js"(exports) {
|
|
137088
137088
|
"use strict";
|
|
137089
137089
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
137090
137090
|
exports.OpenaiChatClient = void 0;
|
|
@@ -137095,9 +137095,9 @@ var require_openai_chat = __commonJS({
|
|
|
137095
137095
|
}
|
|
137096
137096
|
});
|
|
137097
137097
|
|
|
137098
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
137098
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/openai_responses/client.js
|
|
137099
137099
|
var require_client10 = __commonJS({
|
|
137100
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
137100
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/openai_responses/client.js"(exports) {
|
|
137101
137101
|
"use strict";
|
|
137102
137102
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
137103
137103
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -137502,9 +137502,9 @@ var require_client10 = __commonJS({
|
|
|
137502
137502
|
}
|
|
137503
137503
|
});
|
|
137504
137504
|
|
|
137505
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
137505
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/openai_responses/index.js
|
|
137506
137506
|
var require_openai_responses = __commonJS({
|
|
137507
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
137507
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/openai_responses/index.js"(exports) {
|
|
137508
137508
|
"use strict";
|
|
137509
137509
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
137510
137510
|
exports.OpenaiResponsesClient = void 0;
|
|
@@ -137515,9 +137515,9 @@ var require_openai_responses = __commonJS({
|
|
|
137515
137515
|
}
|
|
137516
137516
|
});
|
|
137517
137517
|
|
|
137518
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
137518
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/ant_messages/client.js
|
|
137519
137519
|
var require_client11 = __commonJS({
|
|
137520
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
137520
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/ant_messages/client.js"(exports) {
|
|
137521
137521
|
"use strict";
|
|
137522
137522
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
137523
137523
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -137925,9 +137925,9 @@ var require_client11 = __commonJS({
|
|
|
137925
137925
|
}
|
|
137926
137926
|
});
|
|
137927
137927
|
|
|
137928
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
137928
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/ant_messages/index.js
|
|
137929
137929
|
var require_ant_messages = __commonJS({
|
|
137930
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
137930
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/ant_messages/index.js"(exports) {
|
|
137931
137931
|
"use strict";
|
|
137932
137932
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
137933
137933
|
exports.AntMessagesClient = void 0;
|
|
@@ -137938,9 +137938,9 @@ var require_ant_messages = __commonJS({
|
|
|
137938
137938
|
}
|
|
137939
137939
|
});
|
|
137940
137940
|
|
|
137941
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
137941
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/openai_embedding/client.js
|
|
137942
137942
|
var require_client12 = __commonJS({
|
|
137943
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
137943
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/openai_embedding/client.js"(exports) {
|
|
137944
137944
|
"use strict";
|
|
137945
137945
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
137946
137946
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -138052,9 +138052,9 @@ var require_client12 = __commonJS({
|
|
|
138052
138052
|
}
|
|
138053
138053
|
});
|
|
138054
138054
|
|
|
138055
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
138055
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/openai_embedding/index.js
|
|
138056
138056
|
var require_openai_embedding = __commonJS({
|
|
138057
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
138057
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/openai_embedding/index.js"(exports) {
|
|
138058
138058
|
"use strict";
|
|
138059
138059
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
138060
138060
|
exports.OpenaiEmbeddingClient = void 0;
|
|
@@ -138065,9 +138065,9 @@ var require_openai_embedding = __commonJS({
|
|
|
138065
138065
|
}
|
|
138066
138066
|
});
|
|
138067
138067
|
|
|
138068
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
138068
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/deepseek_v4/client.js
|
|
138069
138069
|
var require_client13 = __commonJS({
|
|
138070
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
138070
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/deepseek_v4/client.js"(exports) {
|
|
138071
138071
|
"use strict";
|
|
138072
138072
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
138073
138073
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -138427,9 +138427,9 @@ var require_client13 = __commonJS({
|
|
|
138427
138427
|
}
|
|
138428
138428
|
});
|
|
138429
138429
|
|
|
138430
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
138430
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/deepseek_v4/index.js
|
|
138431
138431
|
var require_deepseek_v4 = __commonJS({
|
|
138432
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
138432
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/deepseek_v4/index.js"(exports) {
|
|
138433
138433
|
"use strict";
|
|
138434
138434
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
138435
138435
|
exports.DeepSeekV4Client = void 0;
|
|
@@ -138440,9 +138440,9 @@ var require_deepseek_v4 = __commonJS({
|
|
|
138440
138440
|
}
|
|
138441
138441
|
});
|
|
138442
138442
|
|
|
138443
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
138443
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/minimax_m3/client.js
|
|
138444
138444
|
var require_client14 = __commonJS({
|
|
138445
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
138445
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/minimax_m3/client.js"(exports) {
|
|
138446
138446
|
"use strict";
|
|
138447
138447
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
138448
138448
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -138771,9 +138771,9 @@ var require_client14 = __commonJS({
|
|
|
138771
138771
|
}
|
|
138772
138772
|
});
|
|
138773
138773
|
|
|
138774
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
138774
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/minimax_m3/index.js
|
|
138775
138775
|
var require_minimax_m3 = __commonJS({
|
|
138776
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
138776
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/minimax_m3/index.js"(exports) {
|
|
138777
138777
|
"use strict";
|
|
138778
138778
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
138779
138779
|
exports.MiniMaxM3Client = void 0;
|
|
@@ -138784,9 +138784,9 @@ var require_minimax_m3 = __commonJS({
|
|
|
138784
138784
|
}
|
|
138785
138785
|
});
|
|
138786
138786
|
|
|
138787
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
138787
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/openai_chat_vllm_adapter/client.js
|
|
138788
138788
|
var require_client15 = __commonJS({
|
|
138789
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
138789
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/openai_chat_vllm_adapter/client.js"(exports) {
|
|
138790
138790
|
"use strict";
|
|
138791
138791
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
138792
138792
|
exports.OpenaiChatVllmAdapterClient = void 0;
|
|
@@ -138867,9 +138867,9 @@ var require_client15 = __commonJS({
|
|
|
138867
138867
|
}
|
|
138868
138868
|
});
|
|
138869
138869
|
|
|
138870
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
138870
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/openai_chat_vllm_adapter/index.js
|
|
138871
138871
|
var require_openai_chat_vllm_adapter = __commonJS({
|
|
138872
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
138872
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/openai_chat_vllm_adapter/index.js"(exports) {
|
|
138873
138873
|
"use strict";
|
|
138874
138874
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
138875
138875
|
exports.OpenaiChatVllmAdapterClient = void 0;
|
|
@@ -138880,9 +138880,9 @@ var require_openai_chat_vllm_adapter = __commonJS({
|
|
|
138880
138880
|
}
|
|
138881
138881
|
});
|
|
138882
138882
|
|
|
138883
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
138883
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/autoClient.js
|
|
138884
138884
|
var require_autoClient = __commonJS({
|
|
138885
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
138885
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/autoClient.js"(exports) {
|
|
138886
138886
|
"use strict";
|
|
138887
138887
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
138888
138888
|
exports.AutoLLMClient = void 0;
|
|
@@ -139065,9 +139065,9 @@ var require_autoClient = __commonJS({
|
|
|
139065
139065
|
}
|
|
139066
139066
|
});
|
|
139067
139067
|
|
|
139068
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
139068
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/registry.js
|
|
139069
139069
|
var require_registry = __commonJS({
|
|
139070
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
139070
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/registry.js"(exports) {
|
|
139071
139071
|
"use strict";
|
|
139072
139072
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
139073
139073
|
exports.listSupportedModels = listSupportedModels;
|
|
@@ -139722,9 +139722,9 @@ var require_registry = __commonJS({
|
|
|
139722
139722
|
}
|
|
139723
139723
|
});
|
|
139724
139724
|
|
|
139725
|
-
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
139725
|
+
// ../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/index.js
|
|
139726
139726
|
var require_dist4 = __commonJS({
|
|
139727
|
-
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.
|
|
139727
|
+
"../../../node_modules/.pnpm/@prismshadow+agenthub@0.4.1_78403eee5e0364943261f5961e386e48/node_modules/@prismshadow/agenthub/dist/index.js"(exports) {
|
|
139728
139728
|
"use strict";
|
|
139729
139729
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? (function(o3, m5, k6, k22) {
|
|
139730
139730
|
if (k22 === void 0) k22 = k6;
|
|
@@ -164860,7 +164860,7 @@ var init_stdio = __esm({
|
|
|
164860
164860
|
}
|
|
164861
164861
|
});
|
|
164862
164862
|
|
|
164863
|
-
// ../../../node_modules/.pnpm/@prismshadow+penguin-core@
|
|
164863
|
+
// ../../../node_modules/.pnpm/@prismshadow+penguin-core@0_7f6ae2ec1802016b80242686f5b701f7/node_modules/@prismshadow/penguin-core/dist/index.js
|
|
164864
164864
|
var dist_exports = {};
|
|
164865
164865
|
__export(dist_exports, {
|
|
164866
164866
|
AGENTS_MD_PLACEHOLDER: () => AGENTS_MD_PLACEHOLDER,
|
|
@@ -170576,7 +170576,7 @@ function buildInfo() {
|
|
|
170576
170576
|
}
|
|
170577
170577
|
var import_yaml, import_yaml2, import_yaml3, import_agenthub, import_agenthub2, import_yaml4, GIT_TIMEOUT_MS, moduleDir, TAG_DESCRIPTION, cached2, DEFAULT_SERVER_PORT, SERVER_RESTART_EXIT_CODE, DEFAULT_PROJECT_ID, DEFAULT_AGENT_ID, KERNEL_VERSION, KERNEL_TABS, KERNEL_TAB_KEYS, KERNEL_DEFAULT_TAB_HASHES, KERNEL_SUPERSEDED_TAB_HASHES, AGENTS_MD_PLACEHOLDER, VAULT_KEYS_PLACEHOLDER, SKILL_METADATA_PLACEHOLDER, SESSION_ID_PLACEHOLDER, CWD_PLACEHOLDER, AGENT_ID_PLACEHOLDER, PROJECT_DIR_PLACEHOLDER, PROVIDER_PLACEHOLDER, MODEL_ID_PLACEHOLDER, PLATFORM_PLACEHOLDER, OS_VERSION_PLACEHOLDER, SHELL_PLACEHOLDER, DATE_PLACEHOLDER, MEMORY_PLACEHOLDER, WORKSPACE_MEMORY_DIR_PLACEHOLDER, WORKSPACE_MEMORY_INDEX_PLACEHOLDER, USER_MEMORY_INDEX_PLACEHOLDER, VAULT_PLACEHOLDER, SKILLS_PLACEHOLDER, SCHEDULES_PLACEHOLDER, SCHEDULE_LIST_PLACEHOLDER, MEMORY_INDEX_EMPTY_NOTE, SCHEDULE_LIST_EMPTY_NOTE, MEMORY_INDEX_MAX_LINES, MEMORY_INDEX_MAX_CHARS, DEFAULT_MEMORY_PROMPT, DEFAULT_MEMORY_WORKSPACE_PROMPT, LEGACY_VAULT_SECTION, LEGACY_SKILLS_SECTION, DEFAULT_VAULT_PROMPT, DEFAULT_SKILLS_PROMPT, DEFAULT_SCHEDULES_PROMPT, DEFAULT_SYSTEM_PROMPT, DEFAULT_COMPACTION_PROMPT, MAX_SYMLINK_HOPS, PLUGIN_NAME_PATTERN, PLUGIN_VERSION_PATTERN, LEGACY_PLUGIN_VERSION_PATTERN, PKG_ROOT, PLUGIN_PKG_PREFIX, PLUGIN_CATEGORIES, BUILTIN_AGENT_IDS, MEMORY_INDEX_FILENAME, USER_SCOPE_KEY, WORKSPACE_MARKER_FILENAME, KEY_HASH_LENGTH, KEY_BASE_MAX_LENGTH, EXAMPLE_BENCHMARK_ID, EXAMPLE_BENCHMARK_CONFIG, EXAMPLE_CASES, EXAMPLE_EVALUATIONS, ID_PATTERN, SECTION_PLACEHOLDER_PATTERN, BLOCK_DEVICES, CMD_START, QUOTE2, WINDOWS_RAW_DISK, DEFAULT_COMMAND_POLICY_RULES, CHAT_APPROVAL_MODES, DEFAULT_CHAT_THINKING_LEVELS, OLD_FORMAT_HINT, VAULT_KEY_PATTERN, VAULT_VALUE_MAX_LENGTH, ToolCallIdAllocator, EventTranslator, AUTH_CODES, FAST_MODE_UNSUPPORTED_GUIDANCE, GenerativeModel, MAX_IMAGE_BYTES, SUPPORTED_MIMES, EXT_TO_MIME, SNIFF_BYTES, OVERSIZE_MESSAGE, UNSUPPORTED_MESSAGE, MAX_LISTED_ENTRIES, READ_FILE_NAME, DEFAULT_READ_FILE_LIMIT, MAX_LINE_LENGTH, READ_FILE_SCAN_CAP_BYTES, DEFAULT_IMAGE_PROMPT, CHUNK_BYTES, LINE_BYTE_CAP, NOTE_RESERVE, DEFAULT_OUTPUT_BUDGET, NO_VISION_MODEL_MESSAGE, SECRET_BASENAMES, chains, DIFF_CONTEXT_LINES, MAX_DIFF_LINE_LENGTH, MAX_LCS_CELLS, EDIT_FILE_NAME, MAX_DIFF_HUNKS, NOTE_RESERVE2, DEFAULT_OUTPUT_BUDGET2, WRITE_FILE_NAME, DIFF_SOURCE_CAP_BYTES, MAX_DIFF_DISPLAY_LINES, NOTE_RESERVE3, DEFAULT_OUTPUT_BUDGET3, IDLE_TTL_MS, IDLE_SWEEP_MS, LIVE_REGISTRIES, exitHookInstalled, BackgroundRegistry, MIN_YIELD_MS, TIMEOUT_MARGIN_MS, DONE_REPORT_OUTPUT_CAP, REPORT_LABEL_CAP, WakeSignal, CappedTextBuffer, POSIX_BASH_PATHS, POSIX_FALLBACK_SHELLS, POSIX_LOGIN_SHELLS, cached22, EXPORT_PATH_SHELLS, LOCAL_URL_RE, ANSI_RE, TRAILING_PUNCT_RE, CARRY_CHARS, ServiceUrlScanner, PROBE_TIMEOUT_MS, SUPPORTS_PROCESS_GROUP, POST_EXIT_DRAIN_MS, OUTPUT_BUFFER_CAP, SIGKILL_GRACE_MS, ManagedSession, STOP_SIGNALS, MAX_SESSIONS, HARDENED_ENV, STRIPPED_ENV_KEYS, HARNESS_ENV_PREFIX, PROXY_ENV_KEYS, CommandSessionManager, DEFAULT_EXEC_YIELD_MS, DEFAULT_WRITE_YIELD_MS, DEFAULT_EMPTY_POLL_YIELD_MS, EXEC_COMMAND_NAME, EXEC_COMMAND_TEXT_ARGUMENTS, EXEC_COMMAND_ALIASES, INPUT_COMMAND_NAME, INTERRUPT, MAX_SESSIONS2, SubagentSessionManager, MESSAGE_BUFFER_CAP, OUTPUT_BUFFER_CAP2, ManagedSubagentSession, DEFAULT_SUBAGENT_YIELD_MS, DEFAULT_SUBAGENT_POLL_YIELD_MS, SUBAGENT_NAME, INPUT_SUBAGENT_NAME, BUILTIN_TOOL_FACTORIES, DEFAULT_MCP_CONNECT_TIMEOUT_MS, DEFAULT_MCP_PERMISSION, SERVER_NAME_PATTERN, MCP_TOOL_PREFIX, LLM_TOOL_NAME_PATTERN, MAX_SDK_TIMEOUT_MS, STDERR_TAIL_LIMIT, McpToolProvider, TRUNCATED_TOOL_OUTPUT_FILE_LIMIT_BYTES, ARCHIVE_GAP_MARKER, ARCHIVE_GAP_MARKER_BYTES, TruncatedToolOutputCapture, TruncatedToolOutputArchive, DEFAULT_MAX_OUTPUT_LENGTH, DEFAULT_TOOL_TIMEOUT_MS, TOOL_ABORTED_NOTE, TOOL_EMPTY_NOTE, Environment, Writer, PROCESS_EXIT_PLACEHOLDER, SKIPPED_LINES_SHOWN, TRACE_FILE_RE, DEFAULT_HOOK_TIMEOUT_S, STDERR_TAIL, MergeQueue, isImageMessage, carriesSteering, SUMMARY_RETRY_GUIDANCE, RETRY_STATUSES, ContextEngine, MAX_TMP_ID_ATTEMPTS, IMAGE_DROPPED_NOTE, MIME_TO_EXT, isImage, SHELL_TEXT_ARGUMENTS, EXCERPT_MAX_CHARS, TITLE_MAX_CHARS, LEADING_DECORATION_RE, PROMPT_DELIMITER_RE, ASSISTANT_PENDING, TITLE_USER_MATERIAL_LIMIT, TITLE_ASSISTANT_MATERIAL_LIMIT, Session, MAX_SUBAGENT_DEPTH, Agent, VERSION, BUILD_DATE, BUILD_COMMIT;
|
|
170578
170578
|
var init_dist6 = __esm({
|
|
170579
|
-
"../../../node_modules/.pnpm/@prismshadow+penguin-core@
|
|
170579
|
+
"../../../node_modules/.pnpm/@prismshadow+penguin-core@0_7f6ae2ec1802016b80242686f5b701f7/node_modules/@prismshadow/penguin-core/dist/index.js"() {
|
|
170580
170580
|
init_chunk_73EGPSNN();
|
|
170581
170581
|
init_chunk_NSRJIFVE();
|
|
170582
170582
|
init_chunk_PBUXK7FZ();
|
|
@@ -177214,6 +177214,8 @@ function normalizePrompts(list2) {
|
|
|
177214
177214
|
id,
|
|
177215
177215
|
name: String(p3.name ?? "").trim() || id,
|
|
177216
177216
|
text: String(p3.text ?? ""),
|
|
177217
|
+
// 描述可能为空(老数据没有这个字段):只存非空串,读出来时回落到出厂描述
|
|
177218
|
+
...String(p3.description ?? "").trim() ? { description: String(p3.description).trim() } : {},
|
|
177217
177219
|
...builtinIds.has(id) ? { builtin: true } : {}
|
|
177218
177220
|
});
|
|
177219
177221
|
}
|
|
@@ -177226,12 +177228,14 @@ var DEFAULT_PROMPTS = [
|
|
|
177226
177228
|
{
|
|
177227
177229
|
id: "general",
|
|
177228
177230
|
name: "\u5168\u80FD\u521B\u4F5C",
|
|
177231
|
+
description: "\u753B\u5E03\u4E0A\u7684\u901A\u7528\u52A9\u624B\uFF1A\u770B\u56FE\u6539\u56FE\u3001\u627E\u7D20\u6750\uFF0C\u76F4\u63A5\u5728\u753B\u5E03\u4E0A\u751F\u6210\u56FE\u7247\u3001\u89C6\u9891\u548C\u97F3\u9891\u3002",
|
|
177229
177232
|
builtin: true,
|
|
177230
177233
|
text: "# \u89D2\u8272\n\u4F60\u662F\u753B\u5E03\u91CC\u7684\u521B\u4F5C\u52A9\u624B\uFF0C\u628A\u7528\u6237\u7684\u60F3\u6CD5\u53D8\u6210\u753B\u5E03\u4E0A\u7684\u8282\u70B9\u4E0E\u5185\u5BB9\u3002\n\n# \u94C1\u5F8B\uFF08\u5148\u8BFB\u518D\u52A8\u624B\uFF0C\u4E14\u53EA\u52A8\u4E00\u5F20\u753B\u5E03\uFF09\n1. \u52A8\u624B\u524D\u5148\u8BFB\uFF1A\u7528 canvas_overview \u770B\u753B\u5E03\u89C4\u6A21\uFF1B\u7528\u6237 @ \u4E86\u8282\u70B9\u5C31\u7528 canvas_get \u5E26 nodeId \u67E5\u5B83\uFF08\u4E0D\u8981\u7528\u672C\u5730\u6587\u4EF6\u53BB\u731C\u8D44\u6E90\u8DEF\u5F84\uFF09\u3002\n2. **\u5148\u786E\u5B9A\u753B\u5E03 id**\uFF1A\u7528\u6237 @ \u4E86\u8282\u70B9\uFF0C\u753B\u5E03 id \u5C31\u662F\u5F15\u7528\u91CC `\u753B\u5E03id#\u8282\u70B9id` \u7684\u524D\u534A\u6BB5\uFF1B\u5426\u5219\u7528 canvas_list_canvases \u95EE\u4E00\u6B21\uFF0C\u6216\u76F4\u63A5\u7528\u7528\u6237\u7684\u753B\u5E03 id\u3002**\u4E4B\u540E\u6BCF\u4E00\u6B21\u8BFB\u5199\u90FD\u5E26\u4E0A\u540C\u4E00\u4E2A canvasId** \u2014\u2014 \u4E0D\u5E26\u4F1A\u5199\u8FDB default\uFF0C\u7528\u6237\u5728\u81EA\u5DF1\u7684\u753B\u5E03\u4E0A\u4EC0\u4E48\u90FD\u770B\u4E0D\u5230\u3002\n3. **\u751F\u6210\u4EFB\u52A1 = \u5728\u753B\u5E03\u4E0A\u5EFA\u4E00\u4E2A\u8282\u70B9**\uFF1A\u8282\u70B9\u5C31\u662F\u4EFB\u52A1\u672C\u4F53\u3002\u4E0D\u8981\u53EA\u8C03 generation_create \u53BB\u5199\u4E00\u4E2A\u4E0D\u5B58\u5728\u7684\u8282\u70B9\uFF0C\u4E5F\u4E0D\u8981\u81EA\u5DF1\u4E0A\u4F20\u4EA7\u7269\u518D\u624B\u52A8\u6302\u4E0A\u53BB\u3002\n\n# \u751F\u6210\u4E00\u4E2A\u7D20\u6750\u7684\u6B63\u786E\u6D41\u7A0B\uFF08\u4EE5\u56FE\u7247\u4E3A\u4F8B\uFF09\n1. \u9009\u52A8\u4F5C\uFF1Ageneration_actions \u6311\u4E00\u4E2A actionId\uFF08\u56FE\u7247 / \u97F3\u9891 / \u89C6\u9891\uFF09\u3002\n2. \u6709\u53C2\u8003\u7D20\u6750 \u2192 \u7528 canvas_add_media\uFF08url / path / dataUrl \u5747\u53EF\uFF0Ctype \u9009 image/video/audio\uFF09\u628A\u5B83\u4F5C\u4E3A\u5BF9\u5E94\u7C7B\u578B\u7684\u8282\u70B9\u653E\u8FDB\u753B\u5E03\uFF0C\u62FF\u5230\u5B83\u7684 nodeId\u3002\n3. \u5EFA\u76EE\u6807\u8282\u70B9\uFF1Acanvas_batch_nodes \u52A0\u4E00\u4E2A\u540C\u7C7B\u578B\u8282\u70B9\uFF08\u56FE\u7247\u4EFB\u52A1\u2192image\uFF0C\u89C6\u9891\u2192video\uFF0C\u97F3\u9891\u2192audio\uFF09\uFF0Clabel \u8D77\u4E2A\u80FD\u770B\u61C2\u7684\u540D\u5B57\uFF0C\u4F5C\u8005\u53C2\u6570\uFF08\u6BD4\u4F8B\u7B49\uFF09\u5199\u8FDB `barValues`\u3002\n4. \u4E0B\u5355\uFF1Ageneration_create \u5E26\u4E0A canvasId\u3001\u4E0A\u4E00\u6B65\u7684 nodeId\u3001actionId\u3001prompt\u3001values\u3002\u9700\u8981\u53C2\u8003\u56FE\u5C31\u628A\u53C2\u8003\u56FE\u8282\u70B9\u4E5F\u4E00\u8D77\u5728 prompt \u91CC\u8BF4\u660E\u3002\n5. **\u4EA7\u7269\u7531\u540E\u53F0\u81EA\u5DF1\u5199\u56DE\u8282\u70B9**\uFF08\u8282\u70B9\u4E0A\u7684 runState / imageUrl / audioUrl / videoUrl\uFF09\u3002\u4E0D\u8981\u81EA\u5DF1\u4E0B\u8F7D\u4EA7\u7269\u3001\u4E0D\u8981\u81EA\u5DF1\u4E0A\u4F20\u3001\u4E0D\u8981\u7528 exec_command \u53BB\u642C\u8FD0\u6587\u4EF6\u3002\n6. \u6536\u5C3E\uFF1A\u628A\u53C2\u8003\u8282\u70B9\u4E0E\u751F\u6210\u8282\u70B9\u7528 canvas_batch_edges \u8FDE\u8D77\u6765\uFF0C\u518D\u8DDF\u7528\u6237\u8BF4\u4E00\u53E5\u300C\u5DF2\u5728\u753B\u5E03\u4E0A\u751F\u6210\u300D\u3002\n\n# \u4E0D\u8981\u505A\u7684\u4E8B\n- \u4E0D\u8981\u7528 exec_command / Copy-Item / Invoke-WebRequest \u53BB\u642C\u751F\u6210\u4EA7\u7269\uFF0C\u90A3\u4E9B\u662F\u540E\u53F0\u7684\u6D3B\u3002\n- \u4E0D\u8981\u53CD\u590D Start-Sleep \u7B49\u751F\u6210\uFF1B\u4E0B\u5355\u540E\u53EF\u4EE5 generation_status \u9694\u4E00\u4F1A\u513F\u67E5\u4E00\u6B21\uFF0C\u4F46\u522B\u7A7A\u8F6C\u3002\n- \u4E0D\u786E\u5B9A\u300C\u5F80\u54EA\u5F20\u753B\u5E03\u5199\u300D\u65F6\uFF0C\u5148 canvas_list_canvases\uFF0C\u4E0D\u8981\u9ED8\u8BA4\u5199 default\u3002\n\n# \u8BF4\u8BDD\u65B9\u5F0F\n\u7528\u4E2D\u6587\uFF0C\u7B80\u77ED\u76F4\u63A5\uFF0C\u5148\u7ED9\u7ED3\u679C\u3002"
|
|
177231
177234
|
},
|
|
177232
177235
|
{
|
|
177233
177236
|
id: "script",
|
|
177234
177237
|
name: "\u5267\u672C\u521B\u7F16",
|
|
177238
|
+
description: "\u5267\u672C\u7F16\u5267\uFF1A\u5148\u5199\u5206\u955C\u548C\u53F0\u8BCD\u7ED9\u4F60\u786E\u8BA4\uFF0C\u786E\u8BA4\u4E4B\u540E\u518D\u751F\u6210\u753B\u9762\u548C\u89C6\u9891\u3002",
|
|
177235
177239
|
builtin: true,
|
|
177236
177240
|
text: "# \u89D2\u8272\n\u4F60\u662F\u5267\u672C\u7F16\u5267\u52A9\u624B\uFF1A**\u5148\u628A\u5267\u672C\u5199\u51FA\u6765\u8BA9\u7528\u6237\u786E\u8BA4\uFF0C\u786E\u8BA4\u4E4B\u540E\u518D\u751F\u6210\u753B\u9762/\u89C6\u9891**\u3002\n\n# \u5DE5\u4F5C\u65B9\u5F0F\n- \u7B2C\u4E00\u8F6E\u53EA\u51FA\u5267\u672C\uFF08\u5206\u955C / \u53F0\u8BCD / \u573A\u666F\uFF09\uFF0C\u4E0D\u8981\u76F4\u63A5\u751F\u6210\u7D20\u6750\u3002\n- \u5267\u672C\u8981\u843D\u5230\u5177\u4F53\u7684\u955C\u5934\uFF0C\u4E00\u6761\u4E00\u6761\u5217\u6E05\u695A\u3002\n- \u7B49\u7528\u6237\u8BF4\u300C\u53EF\u4EE5\u300D\u4E4B\u540E\u518D\u8C03\u7528\u751F\u6210\u5DE5\u5177\u3002\n\n# \u751F\u6210\u65F6\u7684\u94C1\u5F8B\uFF08\u4E0E\u300C\u5168\u80FD\u521B\u4F5C\u300D\u4E00\u81F4\uFF09\n- \u751F\u6210\u4EFB\u52A1 = **\u5728\u753B\u5E03\u4E0A\u5EFA\u4E00\u4E2A\u8282\u70B9**\uFF1A\u5148 canvas_add_media \u653E\u53C2\u8003\u7D20\u6750\uFF08\u6709\u7684\u8BDD\uFF0Ctype \u9009 image/video/audio\uFF09\uFF0C\u518D canvas_batch_nodes \u5EFA\u76EE\u6807\u8282\u70B9\uFF0C\u6700\u540E generation_create \u4E0B\u5355\uFF08\u5E26 canvasId + nodeId + actionId\uFF09\u3002\n- \u6BCF\u6B21\u8BFB\u5199\u90FD\u5E26**\u7528\u6237\u90A3\u5F20\u753B\u5E03\u7684 canvasId**\uFF08\u5F15\u7528\u91CC `\u753B\u5E03id#\u8282\u70B9id` \u7684\u524D\u534A\u6BB5\uFF09\uFF0C\u4E0D\u8981\u5199\u8FDB default\u3002\n- \u4EA7\u7269\u7531\u540E\u53F0\u81EA\u5DF1\u5199\u56DE\u8282\u70B9\uFF1B\u4E0D\u8981\u81EA\u5DF1\u4E0B\u8F7D / \u4E0A\u4F20 / \u642C\u8FD0\u6587\u4EF6\u3002\n\n# \u8BF4\u8BDD\u65B9\u5F0F\n\u7528\u4E2D\u6587\uFF0C\u7B80\u77ED\u76F4\u63A5\u3002"
|
|
177237
177241
|
}
|
|
@@ -177507,7 +177511,15 @@ var AgentConfigBase = class {
|
|
|
177507
177511
|
withDefaults(list2) {
|
|
177508
177512
|
return list2.map((p3) => {
|
|
177509
177513
|
const d6 = DEFAULT_PROMPTS.find((x2) => x2.id === p3.id);
|
|
177510
|
-
|
|
177514
|
+
if (!d6) return p3;
|
|
177515
|
+
return {
|
|
177516
|
+
...p3,
|
|
177517
|
+
// 老数据 / 从没写过描述:回落到出厂描述,下拉里不会出现空白说明
|
|
177518
|
+
description: String(p3.description ?? "").trim() || d6.description || "",
|
|
177519
|
+
defaultName: d6.name,
|
|
177520
|
+
defaultText: d6.text,
|
|
177521
|
+
defaultDescription: d6.description || ""
|
|
177522
|
+
};
|
|
177511
177523
|
});
|
|
177512
177524
|
}
|
|
177513
177525
|
/**
|
|
@@ -177525,8 +177537,15 @@ var AgentConfigBase = class {
|
|
|
177525
177537
|
const id = String(raw2.id ?? "").trim();
|
|
177526
177538
|
const name2 = String(raw2.name ?? "").trim();
|
|
177527
177539
|
const text = String(raw2.text ?? "");
|
|
177540
|
+
const description = String(raw2.description ?? "").trim();
|
|
177528
177541
|
if (!id || !name2) continue;
|
|
177529
|
-
byId.set(id, {
|
|
177542
|
+
byId.set(id, {
|
|
177543
|
+
id,
|
|
177544
|
+
name: name2,
|
|
177545
|
+
text,
|
|
177546
|
+
...description ? { description } : {},
|
|
177547
|
+
...raw2.builtin ? { builtin: true } : {}
|
|
177548
|
+
});
|
|
177530
177549
|
}
|
|
177531
177550
|
for (const d6 of DEFAULT_PROMPTS) {
|
|
177532
177551
|
const cur = byId.get(d6.id);
|