@gobing-ai/knowledge-kit 0.0.32 → 0.0.34
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/.claude-plugin/marketplace.json +1 -1
- package/dist/index.js +43047 -24724
- package/package.json +4 -4
- package/plugins/generations/content-gen/dist/index.js +10 -9
- package/plugins/generations/core-facts-gen/dist/index.js +13 -12
- package/plugins/generations/daily-article-gen/dist/index.js +16 -21
- package/plugins/generations/daily-article-gen/src/index.ts +8 -12
- package/plugins/generations/dailynews-gen/dist/index.js +23 -21
- package/plugins/generations/dailynews-gen/src/script-builder.ts +25 -26
- package/plugins/generations/episode-plan-gen/dist/index.js +58 -15
- package/plugins/generations/episode-plan-gen/src/index.ts +76 -6
- package/plugins/generations/gemini-tts/README.md +11 -0
- package/plugins/generations/gemini-tts/dist/index.js +10 -9
- package/plugins/generations/image-gen/dist/index.js +171 -153
- package/plugins/generations/image-gen/presets/formats/xhs-card.yaml +16 -14
- package/plugins/generations/image-gen/presets/styles/xhs-knowledge.yaml +2 -2
- package/plugins/generations/image-gen/src/compose/card.ts +17 -2
- package/plugins/generations/image-gen/src/compose/chromium.ts +60 -42
- package/plugins/generations/news-report-gen/dist/index.js +13 -12
- package/plugins/generations/voice-gen/dist/index.js +10 -9
- package/plugins/ingestions/aihot-ingest/dist/index.js +13 -12
- package/plugins/ingestions/horizon-ingest/dist/index.js +13 -12
- package/plugins/ingestions/karakeep-local/dist/index.js +13 -13
- package/plugins/ingestions/last30days-ingest/dist/index.js +13 -12
- package/plugins/ingestions/web-search/dist/index.js +11 -10
- package/plugins/kk/README.md +38 -0
- package/plugins/kk/decisions/extract/ai-news.yaml +27 -0
- package/plugins/kk/decisions/kk-items.yaml +179 -0
- package/plugins/kk/plugin.json +1 -1
- package/plugins/kk/schedules/cron.tmpl +15 -0
- package/plugins/kk/schedules/launchd.plist.tmpl +77 -0
- package/plugins/kk/scripts/daily-stages.ts +2023 -0
- package/plugins/kk/scripts/daily-voice-style.zh.md +15 -10
- package/plugins/kk/scripts/kk-workflow-stages.ts +253 -1368
- package/plugins/kk/skills/content-safety/SKILL.md +39 -8
- package/plugins/kk/skills/content-safety/references/platforms/apple-podcasts.md +2 -2
- package/plugins/kk/skills/web-automation/SKILL.md +100 -0
- package/plugins/kk/skills/web-automation/references/browser-launch.md +86 -0
- package/plugins/kk/workflows/kk-collect.yaml +256 -0
- package/plugins/kk/workflows/kk-daily-ai-voice.yaml +9 -3
- package/plugins/kk/workflows/kk-daily-ai-voice2.yaml +774 -0
- package/plugins/kk/workflows/kk-daily-safety.yaml +167 -0
- package/plugins/publishings/emdash-pub/dist/index.js +10 -9
- package/plugins/publishings/infoq-pub/dist/index.js +152 -59
- package/plugins/publishings/infoq-pub/plugin.json +1 -0
- package/plugins/publishings/infoq-pub/src/index.ts +167 -55
- package/plugins/publishings/infoq-pub/src/profile-check.ts +4 -2
- package/plugins/publishings/juejin-pub/dist/index.js +111 -30
- package/plugins/publishings/juejin-pub/plugin.json +1 -0
- package/plugins/publishings/juejin-pub/src/index.ts +49 -9
- package/plugins/publishings/medium-pub/dist/index.js +10 -9
- package/plugins/publishings/podcast-pub/dist/index.js +10 -9
- package/plugins/publishings/qiita-pub/dist/index.js +10 -9
- package/plugins/publishings/substack-pub/dist/index.js +105 -28
- package/plugins/publishings/substack-pub/plugin.json +1 -0
- package/plugins/publishings/substack-pub/src/index.ts +39 -8
- package/plugins/publishings/substack-pub/src/profile-check.ts +2 -0
- package/plugins/publishings/surfdash-pub/dist/index.js +10 -9
- package/plugins/publishings/wechatmp-pub/dist/index.js +115 -31
- package/plugins/publishings/wechatmp-pub/plugin.json +1 -0
- package/plugins/publishings/wechatmp-pub/src/index.ts +42 -9
- package/plugins/publishings/wechatmp-pub/src/profile-check.ts +84 -40
- package/plugins/publishings/x-pub/dist/index.js +114 -35
- package/plugins/publishings/x-pub/plugin.json +1 -0
- package/plugins/publishings/x-pub/src/index.ts +68 -14
- package/plugins/publishings/xhs-pub/dist/index.js +154 -59
- package/plugins/publishings/xhs-pub/plugin.json +1 -0
- package/plugins/publishings/xhs-pub/src/flow.ts +9 -3
- package/plugins/publishings/xhs-pub/src/index.ts +119 -9
- package/plugins/publishings/xhs-pub/src/page.ts +4 -17
- package/plugins/publishings/xhs-pub/src/profile-check.ts +28 -15
- package/plugins/publishings/zenn-pub/dist/index.js +10 -9
|
@@ -5,39 +5,52 @@
|
|
|
5
5
|
* the HTML card, measures every [data-field] box against the safe area (R2),
|
|
6
6
|
* and screenshots the result. The browser is always closed in `finally`.
|
|
7
7
|
*
|
|
8
|
-
* Font loading:
|
|
9
|
-
* the
|
|
10
|
-
*
|
|
8
|
+
* Font loading: an in-process `Bun.serve` on 127.0.0.1 serves the card HTML and
|
|
9
|
+
* the two font files, and the page navigates to it. Fonts used to go through
|
|
10
|
+
* `page.route()` + `route.fulfill()`, but pushing the ~8 MB OTFs over
|
|
11
|
+
* Playwright's pipe under Bun 1.3.14 stalls intermittently (fulfill never
|
|
12
|
+
* returns, `document.fonts.ready` never settles — 0212 dogfood, ~1 in 3 runs).
|
|
11
13
|
*
|
|
12
|
-
* The
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* variant pair in its own subprocess with a bounded timeout + retry.
|
|
14
|
+
* The E2E test still skips under `bun test` (Playwright's launch blocks that
|
|
15
|
+
* runner's event loop); the evidence script runs each variant pair in its own
|
|
16
|
+
* subprocess. `compose` carries a deadline as the backstop for any other stall.
|
|
16
17
|
*
|
|
17
18
|
* Missing Playwright or Chromium surfaces as an actionable error naming the
|
|
18
19
|
* install command.
|
|
19
20
|
*/
|
|
20
21
|
|
|
21
22
|
import { join } from 'node:path';
|
|
22
|
-
import { readBytes } from '../bytes';
|
|
23
23
|
import type { CardComposer, CardInput } from './card';
|
|
24
24
|
import { cardHtml } from './card';
|
|
25
25
|
|
|
26
26
|
const FONTS_DIR = join(import.meta.dir, '..', '..', 'assets', 'fonts');
|
|
27
27
|
|
|
28
|
-
/**
|
|
29
|
-
const
|
|
28
|
+
/** A healthy compose takes seconds; two minutes only trips on a stalled Chromium cycle. */
|
|
29
|
+
const COMPOSE_TIMEOUT_MS = 120_000;
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
*
|
|
32
|
+
* Loopback server for one compose: `/` is the card HTML, `/fonts/<name>` serves only the
|
|
33
|
+
* fonts the card declares (no other path reaches the disk). Same origin, so no CORS.
|
|
34
34
|
*/
|
|
35
|
-
function
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
function serveCard(input: CardInput): { url: string; stop: () => void } {
|
|
36
|
+
const fontNames = [input.compose.fonts.headline, input.compose.fonts.body];
|
|
37
|
+
let html = '';
|
|
38
|
+
const server = Bun.serve({
|
|
39
|
+
hostname: '127.0.0.1',
|
|
40
|
+
port: 0,
|
|
41
|
+
fetch: (request) => {
|
|
42
|
+
const path = decodeURIComponent(new URL(request.url).pathname);
|
|
43
|
+
if (path === '/') return new Response(html, { headers: { 'content-type': 'text/html; charset=utf-8' } });
|
|
44
|
+
const name = path.slice('/fonts/'.length);
|
|
45
|
+
if (path.startsWith('/fonts/') && fontNames.includes(name)) {
|
|
46
|
+
return new Response(Bun.file(join(FONTS_DIR, name)), { headers: { 'content-type': 'font/otf' } });
|
|
47
|
+
}
|
|
48
|
+
return new Response('not found', { status: 404 });
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
const url = `http://127.0.0.1:${server.port}/`;
|
|
52
|
+
html = cardHtml(input, new Map(fontNames.map((name) => [name, `${url}fonts/${encodeURIComponent(name)}`])));
|
|
53
|
+
return { url, stop: () => server.stop(true) };
|
|
41
54
|
}
|
|
42
55
|
|
|
43
56
|
/**
|
|
@@ -45,7 +58,33 @@ function fontRouteUrls(fontNames: string[]): Map<string, string> {
|
|
|
45
58
|
* in production via `makeChromiumComposer()`.
|
|
46
59
|
*/
|
|
47
60
|
export class ChromiumComposer implements CardComposer {
|
|
61
|
+
private readonly timeoutMs: number;
|
|
62
|
+
|
|
63
|
+
constructor(options: { timeoutMs?: number } = {}) {
|
|
64
|
+
this.timeoutMs = options.timeoutMs ?? COMPOSE_TIMEOUT_MS;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Render under a deadline. A stalled Playwright cycle (see header) otherwise hangs the plugin
|
|
69
|
+
* forever with nothing on disk to resume from (0212 dogfood, run 38e53162: 40 min in compose);
|
|
70
|
+
* rejecting lets `main()` exit nonzero so the caller's stage fails and stays resumable.
|
|
71
|
+
*/
|
|
48
72
|
async compose(input: CardInput): Promise<Uint8Array> {
|
|
73
|
+
let timer: ReturnType<typeof setTimeout> | undefined;
|
|
74
|
+
const deadline = new Promise<never>((_, reject) => {
|
|
75
|
+
timer = setTimeout(
|
|
76
|
+
() => reject(new Error(`compose: Chromium did not finish within ${this.timeoutMs}ms (stalled launch)`)),
|
|
77
|
+
this.timeoutMs,
|
|
78
|
+
);
|
|
79
|
+
});
|
|
80
|
+
try {
|
|
81
|
+
return await Promise.race([this.render(input), deadline]);
|
|
82
|
+
} finally {
|
|
83
|
+
clearTimeout(timer);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
protected async render(input: CardInput): Promise<Uint8Array> {
|
|
49
88
|
// Dynamic import so missing Playwright gives a clear error at call time.
|
|
50
89
|
let chromium: import('playwright').BrowserType;
|
|
51
90
|
try {
|
|
@@ -57,12 +96,7 @@ export class ChromiumComposer implements CardComposer {
|
|
|
57
96
|
);
|
|
58
97
|
}
|
|
59
98
|
|
|
60
|
-
const
|
|
61
|
-
const fontUrls = fontRouteUrls(fontNames);
|
|
62
|
-
|
|
63
|
-
// Build HTML with font URLs (small — no base64 inline).
|
|
64
|
-
const html = cardHtml(input, fontUrls);
|
|
65
|
-
|
|
99
|
+
const card = serveCard(input);
|
|
66
100
|
let browser: import('playwright').Browser | undefined;
|
|
67
101
|
try {
|
|
68
102
|
try {
|
|
@@ -77,24 +111,7 @@ export class ChromiumComposer implements CardComposer {
|
|
|
77
111
|
deviceScaleFactor: 1,
|
|
78
112
|
});
|
|
79
113
|
|
|
80
|
-
|
|
81
|
-
await page.route(`${FONT_ROUTE_BASE}**`, async (route) => {
|
|
82
|
-
const url = new URL(route.request().url());
|
|
83
|
-
const fontName = decodeURIComponent(url.pathname.slice(1));
|
|
84
|
-
const fontPath = join(FONTS_DIR, fontName);
|
|
85
|
-
try {
|
|
86
|
-
const bytes = await readBytes(fontPath);
|
|
87
|
-
await route.fulfill({
|
|
88
|
-
status: 200,
|
|
89
|
-
contentType: 'font/otf',
|
|
90
|
-
body: Buffer.from(bytes),
|
|
91
|
-
});
|
|
92
|
-
} catch {
|
|
93
|
-
await route.abort();
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
|
|
97
|
-
await page.setContent(html, { waitUntil: 'domcontentloaded' });
|
|
114
|
+
await page.goto(card.url, { waitUntil: 'domcontentloaded' });
|
|
98
115
|
// Wait for fonts to load; passed as a string expression to avoid DOM lib dependency.
|
|
99
116
|
await page.evaluate('document.fonts.ready');
|
|
100
117
|
|
|
@@ -137,6 +154,7 @@ export class ChromiumComposer implements CardComposer {
|
|
|
137
154
|
return new Uint8Array(screenshot);
|
|
138
155
|
} finally {
|
|
139
156
|
await browser?.close();
|
|
157
|
+
card.stop();
|
|
140
158
|
}
|
|
141
159
|
}
|
|
142
160
|
}
|
|
@@ -14642,7 +14642,7 @@ var init_zod = __esm(() => {
|
|
|
14642
14642
|
init_external();
|
|
14643
14643
|
});
|
|
14644
14644
|
|
|
14645
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14645
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/errors.js
|
|
14646
14646
|
var ErrorCode;
|
|
14647
14647
|
var init_errors3 = __esm(() => {
|
|
14648
14648
|
ErrorCode = {
|
|
@@ -14653,7 +14653,7 @@ var init_errors3 = __esm(() => {
|
|
|
14653
14653
|
};
|
|
14654
14654
|
});
|
|
14655
14655
|
|
|
14656
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14656
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/api-response.js
|
|
14657
14657
|
var API_ERROR_CODES, ERROR_CODE_TO_HTTP, CLIENT_SAFE_CODES;
|
|
14658
14658
|
var init_api_response = __esm(() => {
|
|
14659
14659
|
init_errors3();
|
|
@@ -14676,13 +14676,13 @@ var init_api_response = __esm(() => {
|
|
|
14676
14676
|
CLIENT_SAFE_CODES = new Set([ErrorCode.NotFound, ErrorCode.Validation, ErrorCode.Conflict]);
|
|
14677
14677
|
});
|
|
14678
14678
|
|
|
14679
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14679
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/cursor.js
|
|
14680
14680
|
var init_cursor = () => {};
|
|
14681
14681
|
|
|
14682
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14682
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/event-severity.js
|
|
14683
14683
|
var init_event_severity = () => {};
|
|
14684
14684
|
|
|
14685
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14685
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/output.js
|
|
14686
14686
|
function processStream(name) {
|
|
14687
14687
|
const proc = globalThis.process;
|
|
14688
14688
|
const stream = proc?.[name];
|
|
@@ -14700,7 +14700,7 @@ function echoError(message, target = defaultStderrTarget ?? processStream("stder
|
|
|
14700
14700
|
}
|
|
14701
14701
|
var defaultStderrTarget;
|
|
14702
14702
|
|
|
14703
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14703
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/index.js
|
|
14704
14704
|
var init_dist = __esm(() => {
|
|
14705
14705
|
init_api_response();
|
|
14706
14706
|
init_cursor();
|
|
@@ -21698,7 +21698,7 @@ var init_dist2 = __esm(() => {
|
|
|
21698
21698
|
$visitAsync = visit.visitAsync;
|
|
21699
21699
|
});
|
|
21700
21700
|
|
|
21701
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21701
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/config.js
|
|
21702
21702
|
var configSchema;
|
|
21703
21703
|
var init_config = __esm(() => {
|
|
21704
21704
|
init_dist2();
|
|
@@ -21722,7 +21722,7 @@ var init_config = __esm(() => {
|
|
|
21722
21722
|
});
|
|
21723
21723
|
});
|
|
21724
21724
|
|
|
21725
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21725
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/file-system-node.js
|
|
21726
21726
|
import { appendFileSync, cpSync, createReadStream, createWriteStream, existsSync, mkdirSync, readdirSync, readFileSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "fs";
|
|
21727
21727
|
import { dirname, resolve as resolvePath } from "path";
|
|
21728
21728
|
function createNodeFileSystem(root, paths) {
|
|
@@ -21896,18 +21896,19 @@ var PluginManifestSchema = exports_external.looseObject({
|
|
|
21896
21896
|
name: exports_external.string().min(1),
|
|
21897
21897
|
kind: PluginKindSchema,
|
|
21898
21898
|
entry: exports_external.string().min(1),
|
|
21899
|
+
check: exports_external.string().min(1).optional(),
|
|
21899
21900
|
version: exports_external.string().optional(),
|
|
21900
21901
|
description: exports_external.string().optional(),
|
|
21901
21902
|
operations: exports_external.record(exports_external.string(), PluginOperationSchema).optional()
|
|
21902
21903
|
});
|
|
21903
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21904
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/index.js
|
|
21904
21905
|
init_file_system_node();
|
|
21905
21906
|
init_config();
|
|
21906
21907
|
|
|
21907
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21908
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/fs.js
|
|
21908
21909
|
init_file_system_node();
|
|
21909
21910
|
|
|
21910
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21911
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/path.js
|
|
21911
21912
|
function normalizeSeparators(path) {
|
|
21912
21913
|
return path.replaceAll("\\", "/");
|
|
21913
21914
|
}
|
|
@@ -21941,7 +21942,7 @@ function dirnamePath(path) {
|
|
|
21941
21942
|
return normalized.slice(0, index);
|
|
21942
21943
|
}
|
|
21943
21944
|
|
|
21944
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21945
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/fs.js
|
|
21945
21946
|
async function ensureDirForFile(path, fs = createNodeFileSystem()) {
|
|
21946
21947
|
await fs.ensureDir(dirnamePath(path));
|
|
21947
21948
|
}
|
|
@@ -14642,7 +14642,7 @@ var init_zod = __esm(() => {
|
|
|
14642
14642
|
init_external();
|
|
14643
14643
|
});
|
|
14644
14644
|
|
|
14645
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14645
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/errors.js
|
|
14646
14646
|
var ErrorCode;
|
|
14647
14647
|
var init_errors3 = __esm(() => {
|
|
14648
14648
|
ErrorCode = {
|
|
@@ -14653,7 +14653,7 @@ var init_errors3 = __esm(() => {
|
|
|
14653
14653
|
};
|
|
14654
14654
|
});
|
|
14655
14655
|
|
|
14656
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14656
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/api-response.js
|
|
14657
14657
|
var API_ERROR_CODES, ERROR_CODE_TO_HTTP, CLIENT_SAFE_CODES;
|
|
14658
14658
|
var init_api_response = __esm(() => {
|
|
14659
14659
|
init_errors3();
|
|
@@ -14676,13 +14676,13 @@ var init_api_response = __esm(() => {
|
|
|
14676
14676
|
CLIENT_SAFE_CODES = new Set([ErrorCode.NotFound, ErrorCode.Validation, ErrorCode.Conflict]);
|
|
14677
14677
|
});
|
|
14678
14678
|
|
|
14679
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14679
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/cursor.js
|
|
14680
14680
|
var init_cursor = () => {};
|
|
14681
14681
|
|
|
14682
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14682
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/event-severity.js
|
|
14683
14683
|
var init_event_severity = () => {};
|
|
14684
14684
|
|
|
14685
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14685
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/output.js
|
|
14686
14686
|
function processStream(name) {
|
|
14687
14687
|
const proc = globalThis.process;
|
|
14688
14688
|
const stream = proc?.[name];
|
|
@@ -14700,7 +14700,7 @@ function echoError(message, target = defaultStderrTarget ?? processStream("stder
|
|
|
14700
14700
|
}
|
|
14701
14701
|
var defaultStderrTarget;
|
|
14702
14702
|
|
|
14703
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14703
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/index.js
|
|
14704
14704
|
var init_dist = __esm(() => {
|
|
14705
14705
|
init_api_response();
|
|
14706
14706
|
init_cursor();
|
|
@@ -21698,7 +21698,7 @@ var init_dist2 = __esm(() => {
|
|
|
21698
21698
|
$visitAsync = visit.visitAsync;
|
|
21699
21699
|
});
|
|
21700
21700
|
|
|
21701
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21701
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/config.js
|
|
21702
21702
|
var configSchema;
|
|
21703
21703
|
var init_config = __esm(() => {
|
|
21704
21704
|
init_dist2();
|
|
@@ -21722,7 +21722,7 @@ var init_config = __esm(() => {
|
|
|
21722
21722
|
});
|
|
21723
21723
|
});
|
|
21724
21724
|
|
|
21725
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21725
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/file-system-node.js
|
|
21726
21726
|
import { appendFileSync, cpSync, createReadStream, createWriteStream, existsSync, mkdirSync, readdirSync, readFileSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "fs";
|
|
21727
21727
|
import { dirname, resolve as resolvePath } from "path";
|
|
21728
21728
|
function createNodeFileSystem(root, paths) {
|
|
@@ -21896,11 +21896,12 @@ var PluginManifestSchema = exports_external.looseObject({
|
|
|
21896
21896
|
name: exports_external.string().min(1),
|
|
21897
21897
|
kind: PluginKindSchema,
|
|
21898
21898
|
entry: exports_external.string().min(1),
|
|
21899
|
+
check: exports_external.string().min(1).optional(),
|
|
21899
21900
|
version: exports_external.string().optional(),
|
|
21900
21901
|
description: exports_external.string().optional(),
|
|
21901
21902
|
operations: exports_external.record(exports_external.string(), PluginOperationSchema).optional()
|
|
21902
21903
|
});
|
|
21903
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21904
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/index.js
|
|
21904
21905
|
init_file_system_node();
|
|
21905
21906
|
init_config();
|
|
21906
21907
|
|
|
@@ -14642,7 +14642,7 @@ var init_zod = __esm(() => {
|
|
|
14642
14642
|
init_external();
|
|
14643
14643
|
});
|
|
14644
14644
|
|
|
14645
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14645
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/errors.js
|
|
14646
14646
|
var ErrorCode;
|
|
14647
14647
|
var init_errors3 = __esm(() => {
|
|
14648
14648
|
ErrorCode = {
|
|
@@ -14653,7 +14653,7 @@ var init_errors3 = __esm(() => {
|
|
|
14653
14653
|
};
|
|
14654
14654
|
});
|
|
14655
14655
|
|
|
14656
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14656
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/api-response.js
|
|
14657
14657
|
var API_ERROR_CODES, ERROR_CODE_TO_HTTP, CLIENT_SAFE_CODES;
|
|
14658
14658
|
var init_api_response = __esm(() => {
|
|
14659
14659
|
init_errors3();
|
|
@@ -14676,13 +14676,13 @@ var init_api_response = __esm(() => {
|
|
|
14676
14676
|
CLIENT_SAFE_CODES = new Set([ErrorCode.NotFound, ErrorCode.Validation, ErrorCode.Conflict]);
|
|
14677
14677
|
});
|
|
14678
14678
|
|
|
14679
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14679
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/cursor.js
|
|
14680
14680
|
var init_cursor = () => {};
|
|
14681
14681
|
|
|
14682
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14682
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/event-severity.js
|
|
14683
14683
|
var init_event_severity = () => {};
|
|
14684
14684
|
|
|
14685
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14685
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/output.js
|
|
14686
14686
|
function processStream(name) {
|
|
14687
14687
|
const proc = globalThis.process;
|
|
14688
14688
|
const stream = proc?.[name];
|
|
@@ -14700,7 +14700,7 @@ function echoError(message, target = defaultStderrTarget ?? processStream("stder
|
|
|
14700
14700
|
}
|
|
14701
14701
|
var defaultStderrTarget;
|
|
14702
14702
|
|
|
14703
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14703
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/index.js
|
|
14704
14704
|
var init_dist = __esm(() => {
|
|
14705
14705
|
init_api_response();
|
|
14706
14706
|
init_cursor();
|
|
@@ -21698,7 +21698,7 @@ var init_dist2 = __esm(() => {
|
|
|
21698
21698
|
$visitAsync = visit.visitAsync;
|
|
21699
21699
|
});
|
|
21700
21700
|
|
|
21701
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21701
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/config.js
|
|
21702
21702
|
var configSchema;
|
|
21703
21703
|
var init_config = __esm(() => {
|
|
21704
21704
|
init_dist2();
|
|
@@ -21722,7 +21722,7 @@ var init_config = __esm(() => {
|
|
|
21722
21722
|
});
|
|
21723
21723
|
});
|
|
21724
21724
|
|
|
21725
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21725
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/file-system-node.js
|
|
21726
21726
|
import { appendFileSync, cpSync, createReadStream, createWriteStream, existsSync, mkdirSync, readdirSync, readFileSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "fs";
|
|
21727
21727
|
import { dirname, resolve as resolvePath } from "path";
|
|
21728
21728
|
function createNodeFileSystem(root, paths) {
|
|
@@ -21896,18 +21896,19 @@ var PluginManifestSchema = exports_external.looseObject({
|
|
|
21896
21896
|
name: exports_external.string().min(1),
|
|
21897
21897
|
kind: PluginKindSchema,
|
|
21898
21898
|
entry: exports_external.string().min(1),
|
|
21899
|
+
check: exports_external.string().min(1).optional(),
|
|
21899
21900
|
version: exports_external.string().optional(),
|
|
21900
21901
|
description: exports_external.string().optional(),
|
|
21901
21902
|
operations: exports_external.record(exports_external.string(), PluginOperationSchema).optional()
|
|
21902
21903
|
});
|
|
21903
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21904
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/index.js
|
|
21904
21905
|
init_file_system_node();
|
|
21905
21906
|
init_config();
|
|
21906
21907
|
|
|
21907
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21908
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/fs.js
|
|
21908
21909
|
init_file_system_node();
|
|
21909
21910
|
|
|
21910
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21911
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/path.js
|
|
21911
21912
|
function normalizeSeparators(path) {
|
|
21912
21913
|
return path.replaceAll("\\", "/");
|
|
21913
21914
|
}
|
|
@@ -21941,7 +21942,7 @@ function dirnamePath(path) {
|
|
|
21941
21942
|
return normalized.slice(0, index);
|
|
21942
21943
|
}
|
|
21943
21944
|
|
|
21944
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21945
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/fs.js
|
|
21945
21946
|
async function ensureDirForFile(path, fs = createNodeFileSystem()) {
|
|
21946
21947
|
await fs.ensureDir(dirnamePath(path));
|
|
21947
21948
|
}
|
|
@@ -14642,7 +14642,7 @@ var init_zod = __esm(() => {
|
|
|
14642
14642
|
init_external();
|
|
14643
14643
|
});
|
|
14644
14644
|
|
|
14645
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14645
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/errors.js
|
|
14646
14646
|
var ErrorCode;
|
|
14647
14647
|
var init_errors3 = __esm(() => {
|
|
14648
14648
|
ErrorCode = {
|
|
@@ -14653,7 +14653,7 @@ var init_errors3 = __esm(() => {
|
|
|
14653
14653
|
};
|
|
14654
14654
|
});
|
|
14655
14655
|
|
|
14656
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14656
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/api-response.js
|
|
14657
14657
|
var API_ERROR_CODES, ERROR_CODE_TO_HTTP, CLIENT_SAFE_CODES;
|
|
14658
14658
|
var init_api_response = __esm(() => {
|
|
14659
14659
|
init_errors3();
|
|
@@ -14676,13 +14676,13 @@ var init_api_response = __esm(() => {
|
|
|
14676
14676
|
CLIENT_SAFE_CODES = new Set([ErrorCode.NotFound, ErrorCode.Validation, ErrorCode.Conflict]);
|
|
14677
14677
|
});
|
|
14678
14678
|
|
|
14679
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14679
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/cursor.js
|
|
14680
14680
|
var init_cursor = () => {};
|
|
14681
14681
|
|
|
14682
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14682
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/event-severity.js
|
|
14683
14683
|
var init_event_severity = () => {};
|
|
14684
14684
|
|
|
14685
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14685
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/output.js
|
|
14686
14686
|
function processStream(name) {
|
|
14687
14687
|
const proc = globalThis.process;
|
|
14688
14688
|
const stream = proc?.[name];
|
|
@@ -14700,7 +14700,7 @@ function echoError(message, target = defaultStderrTarget ?? processStream("stder
|
|
|
14700
14700
|
}
|
|
14701
14701
|
var defaultStderrTarget;
|
|
14702
14702
|
|
|
14703
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
14703
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/index.js
|
|
14704
14704
|
var init_dist = __esm(() => {
|
|
14705
14705
|
init_api_response();
|
|
14706
14706
|
init_cursor();
|
|
@@ -21698,7 +21698,7 @@ var init_dist2 = __esm(() => {
|
|
|
21698
21698
|
$visitAsync = visit.visitAsync;
|
|
21699
21699
|
});
|
|
21700
21700
|
|
|
21701
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21701
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/config.js
|
|
21702
21702
|
var configSchema;
|
|
21703
21703
|
var init_config = __esm(() => {
|
|
21704
21704
|
init_dist2();
|
|
@@ -21722,7 +21722,7 @@ var init_config = __esm(() => {
|
|
|
21722
21722
|
});
|
|
21723
21723
|
});
|
|
21724
21724
|
|
|
21725
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21725
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/file-system-node.js
|
|
21726
21726
|
import { appendFileSync, cpSync, createReadStream, createWriteStream, existsSync, mkdirSync, readdirSync, readFileSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "fs";
|
|
21727
21727
|
import { dirname, resolve as resolvePath } from "path";
|
|
21728
21728
|
function createNodeFileSystem(root, paths) {
|
|
@@ -21897,18 +21897,19 @@ var PluginManifestSchema = exports_external.looseObject({
|
|
|
21897
21897
|
name: exports_external.string().min(1),
|
|
21898
21898
|
kind: PluginKindSchema,
|
|
21899
21899
|
entry: exports_external.string().min(1),
|
|
21900
|
+
check: exports_external.string().min(1).optional(),
|
|
21900
21901
|
version: exports_external.string().optional(),
|
|
21901
21902
|
description: exports_external.string().optional(),
|
|
21902
21903
|
operations: exports_external.record(exports_external.string(), PluginOperationSchema).optional()
|
|
21903
21904
|
});
|
|
21904
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21905
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/index.js
|
|
21905
21906
|
init_file_system_node();
|
|
21906
21907
|
init_config();
|
|
21907
21908
|
|
|
21908
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21909
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/fs.js
|
|
21909
21910
|
init_file_system_node();
|
|
21910
21911
|
|
|
21911
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21912
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/path.js
|
|
21912
21913
|
function normalizeSeparators(path) {
|
|
21913
21914
|
return path.replaceAll("\\", "/");
|
|
21914
21915
|
}
|
|
@@ -21942,7 +21943,7 @@ function dirnamePath(path) {
|
|
|
21942
21943
|
return normalized.slice(0, index);
|
|
21943
21944
|
}
|
|
21944
21945
|
|
|
21945
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21946
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/fs.js
|
|
21946
21947
|
async function ensureDirForFile(path, fs = createNodeFileSystem()) {
|
|
21947
21948
|
await fs.ensureDir(dirnamePath(path));
|
|
21948
21949
|
}
|
|
@@ -17,7 +17,7 @@ var __export = (target, all) => {
|
|
|
17
17
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
18
18
|
var __require = import.meta.require;
|
|
19
19
|
|
|
20
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
20
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/errors.js
|
|
21
21
|
var ErrorCode;
|
|
22
22
|
var init_errors = __esm(() => {
|
|
23
23
|
ErrorCode = {
|
|
@@ -28,7 +28,7 @@ var init_errors = __esm(() => {
|
|
|
28
28
|
};
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
31
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/api-response.js
|
|
32
32
|
var API_ERROR_CODES, ERROR_CODE_TO_HTTP, CLIENT_SAFE_CODES;
|
|
33
33
|
var init_api_response = __esm(() => {
|
|
34
34
|
init_errors();
|
|
@@ -51,13 +51,13 @@ var init_api_response = __esm(() => {
|
|
|
51
51
|
CLIENT_SAFE_CODES = new Set([ErrorCode.NotFound, ErrorCode.Validation, ErrorCode.Conflict]);
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
54
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/cursor.js
|
|
55
55
|
var init_cursor = () => {};
|
|
56
56
|
|
|
57
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
57
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/event-severity.js
|
|
58
58
|
var init_event_severity = () => {};
|
|
59
59
|
|
|
60
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
60
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/output.js
|
|
61
61
|
function processStream(name) {
|
|
62
62
|
const proc = globalThis.process;
|
|
63
63
|
const stream = proc?.[name];
|
|
@@ -75,7 +75,7 @@ function echoError(message, target = defaultStderrTarget ?? processStream("stder
|
|
|
75
75
|
}
|
|
76
76
|
var defaultStderrTarget;
|
|
77
77
|
|
|
78
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.
|
|
78
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.5.21/node_modules/@gobing-ai/ts-utils/dist/index.js
|
|
79
79
|
var init_dist = __esm(() => {
|
|
80
80
|
init_api_response();
|
|
81
81
|
init_cursor();
|
|
@@ -21698,7 +21698,7 @@ var init_zod = __esm(() => {
|
|
|
21698
21698
|
init_external();
|
|
21699
21699
|
});
|
|
21700
21700
|
|
|
21701
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21701
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/config.js
|
|
21702
21702
|
var configSchema;
|
|
21703
21703
|
var init_config = __esm(() => {
|
|
21704
21704
|
init_dist2();
|
|
@@ -21722,7 +21722,7 @@ var init_config = __esm(() => {
|
|
|
21722
21722
|
});
|
|
21723
21723
|
});
|
|
21724
21724
|
|
|
21725
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
21725
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/file-system-node.js
|
|
21726
21726
|
import { appendFileSync, cpSync, createReadStream, createWriteStream, existsSync, mkdirSync, readdirSync, readFileSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "fs";
|
|
21727
21727
|
import { dirname, resolve as resolvePath } from "path";
|
|
21728
21728
|
function createNodeFileSystem(root, paths) {
|
|
@@ -23942,7 +23942,7 @@ var ConfigError = class extends Error {
|
|
|
23942
23942
|
}
|
|
23943
23943
|
};
|
|
23944
23944
|
|
|
23945
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.5.
|
|
23945
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.5.21+ea72d0fc11646b5f/node_modules/@gobing-ai/ts-infra/dist/logger.js
|
|
23946
23946
|
var ROOT_CATEGORY = "app";
|
|
23947
23947
|
function toLogTapeLevel(level) {
|
|
23948
23948
|
return level === "warn" ? "warning" : level;
|
|
@@ -24011,14 +24011,14 @@ async function initializeLogger(options = {}) {
|
|
|
24011
24011
|
throw error;
|
|
24012
24012
|
}
|
|
24013
24013
|
}
|
|
24014
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
24014
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/index.js
|
|
24015
24015
|
init_file_system_node();
|
|
24016
24016
|
init_config();
|
|
24017
24017
|
|
|
24018
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
24018
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/fs.js
|
|
24019
24019
|
init_file_system_node();
|
|
24020
24020
|
|
|
24021
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
24021
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/path.js
|
|
24022
24022
|
function normalizeSeparators(path) {
|
|
24023
24023
|
return path.replaceAll("\\", "/");
|
|
24024
24024
|
}
|
|
@@ -24035,7 +24035,7 @@ function joinPath(...segments) {
|
|
|
24035
24035
|
return absolute ? joined : joined.replace(/^\//, "");
|
|
24036
24036
|
}
|
|
24037
24037
|
|
|
24038
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.
|
|
24038
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.5.21+44edd5c4d6372504/node_modules/@gobing-ai/ts-runtime/dist/fs.js
|
|
24039
24039
|
async function walkDir(path, fs = createNodeFileSystem(), exclude) {
|
|
24040
24040
|
const startReal = fs.realPath?.(path) ?? path;
|
|
24041
24041
|
const visited = new Set([startReal]);
|