@openbuilder/cli 0.50.43 → 0.50.46
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/chunks/{Banner-C-FTiOIR.js → Banner-BKC6yG6z.js} +2 -2
- package/dist/chunks/Banner-BKC6yG6z.js.map +1 -0
- package/dist/chunks/auto-update-Dq2PFvjt.js +1 -0
- package/dist/chunks/auto-update-Dq2PFvjt.js.map +1 -0
- package/dist/chunks/build-D0qYqIq0.js +1 -0
- package/dist/chunks/build-D0qYqIq0.js.map +1 -0
- package/dist/chunks/cleanup-qVTsA3tk.js +1 -0
- package/dist/chunks/cleanup-qVTsA3tk.js.map +1 -0
- package/dist/chunks/{cli-auth-ChCnxlFl.js → cli-auth-BgiGSBOt.js} +4 -3
- package/dist/chunks/cli-auth-BgiGSBOt.js.map +1 -0
- package/dist/chunks/cli-error-BjQwvWtK.js +1 -0
- package/dist/chunks/cli-error-BjQwvWtK.js.map +1 -0
- package/dist/chunks/config-BGP1jZJ4.js +1 -0
- package/dist/chunks/config-BGP1jZJ4.js.map +1 -0
- package/dist/chunks/config-manager-BkbjtN-H.js +1 -0
- package/dist/chunks/config-manager-BkbjtN-H.js.map +1 -0
- package/dist/chunks/database-BvAbD4sP.js +1 -0
- package/dist/chunks/database-BvAbD4sP.js.map +1 -0
- package/dist/chunks/database-setup-BYjIRAmT.js +1 -0
- package/dist/chunks/database-setup-BYjIRAmT.js.map +1 -0
- package/dist/chunks/devtools-7A3EXJhY.js +75 -0
- package/dist/chunks/devtools-7A3EXJhY.js.map +1 -0
- package/dist/chunks/index-ZNRLfdj5.js +119 -0
- package/dist/chunks/index-ZNRLfdj5.js.map +1 -0
- package/dist/chunks/{init-DNyPS_SR.js → init-IQRjA1g3.js} +8 -9
- package/dist/chunks/init-IQRjA1g3.js.map +1 -0
- package/dist/chunks/{init-tui-EFMXj-MG.js → init-tui-B4jfmo3U.js} +7 -8
- package/dist/chunks/init-tui-B4jfmo3U.js.map +1 -0
- package/dist/chunks/logger-ZpJi7chw.js +1 -0
- package/dist/chunks/logger-ZpJi7chw.js.map +1 -0
- package/dist/chunks/{login-BhtodVsj.js → login-CrIcDJpS.js} +2 -1
- package/dist/chunks/login-CrIcDJpS.js.map +1 -0
- package/dist/chunks/{logout-CDDASeuQ.js → logout-BxgiczmY.js} +2 -1
- package/dist/chunks/logout-BxgiczmY.js.map +1 -0
- package/dist/chunks/{main-tui-D-SG-Ba5.js → main-tui-NPDVPKol.js} +9 -10
- package/dist/chunks/main-tui-NPDVPKol.js.map +1 -0
- package/dist/chunks/manager-CvGX9qqe.js +1 -0
- package/dist/chunks/manager-CvGX9qqe.js.map +1 -0
- package/dist/chunks/{port-allocator-B0q7xkLs.js → port-allocator-DuAZe2_S.js} +3 -36
- package/dist/chunks/port-allocator-DuAZe2_S.js.map +1 -0
- package/dist/chunks/process-killer-CaUL7Kpl.js +1 -0
- package/dist/chunks/process-killer-CaUL7Kpl.js.map +1 -0
- package/dist/chunks/prompts-1QbE_bRr.js +1 -0
- package/dist/chunks/prompts-1QbE_bRr.js.map +1 -0
- package/dist/chunks/repo-cloner-CpOQjFSo.js +1 -0
- package/dist/chunks/repo-cloner-CpOQjFSo.js.map +1 -0
- package/dist/chunks/repo-detector-B_oj696o.js +1 -0
- package/dist/chunks/repo-detector-B_oj696o.js.map +1 -0
- package/dist/chunks/{run-Cor14S0I.js → run-Yh3YjeLl.js} +17 -36
- package/dist/chunks/run-Yh3YjeLl.js.map +1 -0
- package/dist/chunks/runner-logger-instance-nDWv2h2T.js +1 -0
- package/dist/chunks/runner-logger-instance-nDWv2h2T.js.map +1 -0
- package/dist/chunks/spinner-BJL9zWAJ.js +1 -0
- package/dist/chunks/spinner-BJL9zWAJ.js.map +1 -0
- package/dist/chunks/{start-k9iGDVWo.js → start-B-brfyVy.js} +7 -7
- package/dist/chunks/start-B-brfyVy.js.map +1 -0
- package/dist/chunks/start-traditional-uoLZXdxm.js +1 -0
- package/dist/chunks/start-traditional-uoLZXdxm.js.map +1 -0
- package/dist/chunks/status-cS8YwtUx.js +1 -0
- package/dist/chunks/status-cS8YwtUx.js.map +1 -0
- package/dist/chunks/{vendor-react-CXgiD1Dl.js → theme-DOjeB8BU.js} +50 -225
- package/dist/chunks/theme-DOjeB8BU.js.map +1 -0
- package/dist/chunks/upgrade-CKjl4HlB.js +1 -0
- package/dist/chunks/upgrade-CKjl4HlB.js.map +1 -0
- package/dist/chunks/use-app-DozfqdJj.js +10 -0
- package/dist/chunks/use-app-DozfqdJj.js.map +1 -0
- package/dist/chunks/{useBuildState-DscLOZLl.js → useBuildState-DV6wurQ2.js} +2 -2
- package/dist/chunks/useBuildState-DV6wurQ2.js.map +1 -0
- package/dist/cli/index.js +8 -7
- package/dist/cli/index.js.map +1 -0
- package/dist/index.js +109 -700
- package/dist/index.js.map +1 -0
- package/dist/instrument.js +8 -81
- package/dist/instrument.js.map +1 -0
- package/package.json +2 -11
- package/dist/chunks/theme-DhorI2Hb.js +0 -43
- package/dist/chunks/vendor-ai-sdk-CSJ0bw9X.js +0 -1970
- package/dist/chunks/vendor-sentry-CqA9P3UG.js +0 -71910
- package/scripts/install-vendor-deps.js +0 -34
- package/scripts/install-vendor.js +0 -167
- package/scripts/prepare-release.js +0 -83
- package/vendor/ai-sdk-provider-claude-code-LOCAL.tgz +0 -0
- package/vendor/sentry-core-LOCAL.tgz +0 -0
- package/vendor/sentry-nextjs-LOCAL.tgz +0 -0
- package/vendor/sentry-node-LOCAL.tgz +0 -0
- package/vendor/sentry-node-core-LOCAL.tgz +0 -0
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
// OpenBuilder CLI - Built with Rollup
|
|
2
|
-
import moduleModule__default from 'module';
|
|
3
|
-
import require$$5 from 'events';
|
|
4
|
-
import require$$0$1 from 'assert';
|
|
5
|
-
import WebSocket from 'ws';
|
|
6
|
-
import devtools$1 from 'react-devtools-core';
|
|
7
2
|
import { PassThrough, Stream } from 'node:stream';
|
|
8
3
|
import process$1, { env, cwd } from 'node:process';
|
|
4
|
+
import require$$0$1 from 'assert';
|
|
5
|
+
import require$$2 from 'events';
|
|
9
6
|
import chalk from 'chalk';
|
|
10
|
-
import
|
|
7
|
+
import os from 'node:os';
|
|
11
8
|
import { EventEmitter } from 'node:events';
|
|
12
9
|
import * as fs from 'node:fs';
|
|
10
|
+
import require$$1 from 'module';
|
|
13
11
|
import { Buffer as Buffer$1 } from 'node:buffer';
|
|
14
12
|
|
|
15
13
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
@@ -18,31 +16,6 @@ function getDefaultExportFromCjs (x) {
|
|
|
18
16
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
19
17
|
}
|
|
20
18
|
|
|
21
|
-
function getAugmentedNamespace(n) {
|
|
22
|
-
if (n.__esModule) return n;
|
|
23
|
-
var f = n.default;
|
|
24
|
-
if (typeof f == "function") {
|
|
25
|
-
var a = function a () {
|
|
26
|
-
if (this instanceof a) {
|
|
27
|
-
return Reflect.construct(f, arguments, this.constructor);
|
|
28
|
-
}
|
|
29
|
-
return f.apply(this, arguments);
|
|
30
|
-
};
|
|
31
|
-
a.prototype = f.prototype;
|
|
32
|
-
} else a = {};
|
|
33
|
-
Object.defineProperty(a, '__esModule', {value: true});
|
|
34
|
-
Object.keys(n).forEach(function (k) {
|
|
35
|
-
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
36
|
-
Object.defineProperty(a, k, d.get ? d : {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () {
|
|
39
|
-
return n[k];
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
return a;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
19
|
var react = {exports: {}};
|
|
47
20
|
|
|
48
21
|
var react_production = {};
|
|
@@ -2063,7 +2036,7 @@ const isOldWindows = () => {
|
|
|
2063
2036
|
return false;
|
|
2064
2037
|
}
|
|
2065
2038
|
|
|
2066
|
-
const parts =
|
|
2039
|
+
const parts = os.release().split('.');
|
|
2067
2040
|
const major = Number(parts[0]);
|
|
2068
2041
|
const build = Number(parts[2] ?? 0);
|
|
2069
2042
|
|
|
@@ -2233,7 +2206,7 @@ function requireSignalExit () {
|
|
|
2233
2206
|
var signals = requireSignals();
|
|
2234
2207
|
var isWin = /^win/i.test(process.platform);
|
|
2235
2208
|
|
|
2236
|
-
var EE = require$$
|
|
2209
|
+
var EE = require$$2;
|
|
2237
2210
|
/* istanbul ignore if */
|
|
2238
2211
|
if (typeof EE !== 'function') {
|
|
2239
2212
|
EE = EE.EventEmitter;
|
|
@@ -36826,87 +36799,12 @@ const styles = (node, style = {}) => {
|
|
|
36826
36799
|
applyGapStyles(node, style);
|
|
36827
36800
|
};
|
|
36828
36801
|
|
|
36829
|
-
// Ignoring missing types error to avoid adding another dependency for this hack to work
|
|
36830
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
36831
|
-
const customGlobal = global;
|
|
36832
|
-
// These things must exist before importing `react-devtools-core`
|
|
36833
|
-
// eslint-disable-next-line n/no-unsupported-features/node-builtins
|
|
36834
|
-
customGlobal.WebSocket ||= WebSocket;
|
|
36835
|
-
customGlobal.window ||= global;
|
|
36836
|
-
customGlobal.self ||= global;
|
|
36837
|
-
// Filter out Ink's internal components from devtools for a cleaner view.
|
|
36838
|
-
// Also, ince `react-devtools-shared` package isn't published on npm, we can't
|
|
36839
|
-
// use its types, that's why there are hard-coded values in `type` fields below.
|
|
36840
|
-
// See https://github.com/facebook/react/blob/edf6eac8a181860fd8a2d076a43806f1237495a1/packages/react-devtools-shared/src/types.js#L24
|
|
36841
|
-
customGlobal.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__ = [
|
|
36842
|
-
{
|
|
36843
|
-
// ComponentFilterElementType
|
|
36844
|
-
type: 1,
|
|
36845
|
-
// ElementTypeHostComponent
|
|
36846
|
-
value: 7,
|
|
36847
|
-
isEnabled: true,
|
|
36848
|
-
},
|
|
36849
|
-
{
|
|
36850
|
-
// ComponentFilterDisplayName
|
|
36851
|
-
type: 2,
|
|
36852
|
-
value: 'InternalApp',
|
|
36853
|
-
isEnabled: true,
|
|
36854
|
-
isValid: true,
|
|
36855
|
-
},
|
|
36856
|
-
{
|
|
36857
|
-
// ComponentFilterDisplayName
|
|
36858
|
-
type: 2,
|
|
36859
|
-
value: 'InternalAppContext',
|
|
36860
|
-
isEnabled: true,
|
|
36861
|
-
isValid: true,
|
|
36862
|
-
},
|
|
36863
|
-
{
|
|
36864
|
-
// ComponentFilterDisplayName
|
|
36865
|
-
type: 2,
|
|
36866
|
-
value: 'InternalStdoutContext',
|
|
36867
|
-
isEnabled: true,
|
|
36868
|
-
isValid: true,
|
|
36869
|
-
},
|
|
36870
|
-
{
|
|
36871
|
-
// ComponentFilterDisplayName
|
|
36872
|
-
type: 2,
|
|
36873
|
-
value: 'InternalStderrContext',
|
|
36874
|
-
isEnabled: true,
|
|
36875
|
-
isValid: true,
|
|
36876
|
-
},
|
|
36877
|
-
{
|
|
36878
|
-
// ComponentFilterDisplayName
|
|
36879
|
-
type: 2,
|
|
36880
|
-
value: 'InternalStdinContext',
|
|
36881
|
-
isEnabled: true,
|
|
36882
|
-
isValid: true,
|
|
36883
|
-
},
|
|
36884
|
-
{
|
|
36885
|
-
// ComponentFilterDisplayName
|
|
36886
|
-
type: 2,
|
|
36887
|
-
value: 'InternalFocusContext',
|
|
36888
|
-
isEnabled: true,
|
|
36889
|
-
isValid: true,
|
|
36890
|
-
},
|
|
36891
|
-
];
|
|
36892
|
-
|
|
36893
|
-
/* eslint-disable import/order */
|
|
36894
|
-
// eslint-disable-next-line import/no-unassigned-import
|
|
36895
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
|
36896
|
-
devtools$1.initialize();
|
|
36897
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
|
36898
|
-
devtools$1.connectToDevTools();
|
|
36899
|
-
|
|
36900
|
-
var devtools = /*#__PURE__*/Object.freeze({
|
|
36901
|
-
__proto__: null
|
|
36902
|
-
});
|
|
36903
|
-
|
|
36904
36802
|
// We need to conditionally perform devtools connection to avoid
|
|
36905
36803
|
// accidentally breaking other third-party code.
|
|
36906
36804
|
// See https://github.com/vadimdemedes/ink/issues/384
|
|
36907
36805
|
if (process$1.env['DEV'] === 'true') {
|
|
36908
36806
|
try {
|
|
36909
|
-
await
|
|
36807
|
+
await import('./devtools-7A3EXJhY.js');
|
|
36910
36808
|
}
|
|
36911
36809
|
catch (error) {
|
|
36912
36810
|
if (error.code === 'ERR_MODULE_NOT_FOUND') {
|
|
@@ -38390,7 +38288,7 @@ function requireStackUtils () {
|
|
|
38390
38288
|
: '.';
|
|
38391
38289
|
|
|
38392
38290
|
const natives = [].concat(
|
|
38393
|
-
|
|
38291
|
+
require$$1.builtinModules,
|
|
38394
38292
|
'bootstrap_node',
|
|
38395
38293
|
'node',
|
|
38396
38294
|
).map(n => new RegExp(`(?:\\((?:node:)?${n}(?:\\.js)?:\\d+:\\d+\\)$|^\\s*at (?:node:)?${n}(?:\\.js)?:\\d+:\\d+$)`));
|
|
@@ -39847,11 +39745,6 @@ const useInput = (inputHandler, options = {}) => {
|
|
|
39847
39745
|
}, [options.isActive, stdin, internal_exitOnCtrlC, inputHandler]);
|
|
39848
39746
|
};
|
|
39849
39747
|
|
|
39850
|
-
/**
|
|
39851
|
-
`useApp` is a React hook that exposes a method to manually exit the app (unmount).
|
|
39852
|
-
*/
|
|
39853
|
-
const useApp = () => reactExports.useContext(AppContext);
|
|
39854
|
-
|
|
39855
39748
|
/**
|
|
39856
39749
|
`useStdout` is a React hook that exposes the stdout stream where Ink renders your app.
|
|
39857
39750
|
*/
|
|
@@ -40284,114 +40177,46 @@ function requireJsxRuntime () {
|
|
|
40284
40177
|
|
|
40285
40178
|
var jsxRuntimeExports = requireJsxRuntime();
|
|
40286
40179
|
|
|
40287
|
-
|
|
40288
|
-
|
|
40289
|
-
|
|
40290
|
-
|
|
40291
|
-
|
|
40292
|
-
|
|
40293
|
-
|
|
40294
|
-
|
|
40295
|
-
|
|
40296
|
-
|
|
40297
|
-
|
|
40298
|
-
|
|
40299
|
-
|
|
40300
|
-
|
|
40301
|
-
|
|
40302
|
-
|
|
40303
|
-
|
|
40304
|
-
|
|
40305
|
-
|
|
40306
|
-
|
|
40307
|
-
|
|
40308
|
-
|
|
40309
|
-
|
|
40310
|
-
|
|
40311
|
-
|
|
40312
|
-
|
|
40313
|
-
|
|
40314
|
-
|
|
40315
|
-
|
|
40316
|
-
|
|
40317
|
-
|
|
40318
|
-
|
|
40319
|
-
|
|
40320
|
-
|
|
40321
|
-
|
|
40322
|
-
|
|
40323
|
-
|
|
40324
|
-
|
|
40325
|
-
|
|
40326
|
-
|
|
40327
|
-
if (value.length > 0 && cursorOffset === value.length) {
|
|
40328
|
-
renderedValue += chalk.inverse(' ');
|
|
40329
|
-
}
|
|
40330
|
-
}
|
|
40331
|
-
useInput((input, key) => {
|
|
40332
|
-
if (key.upArrow ||
|
|
40333
|
-
key.downArrow ||
|
|
40334
|
-
(key.ctrl && input === 'c') ||
|
|
40335
|
-
key.tab ||
|
|
40336
|
-
(key.shift && key.tab)) {
|
|
40337
|
-
return;
|
|
40338
|
-
}
|
|
40339
|
-
if (key.return) {
|
|
40340
|
-
if (onSubmit) {
|
|
40341
|
-
onSubmit(originalValue);
|
|
40342
|
-
}
|
|
40343
|
-
return;
|
|
40344
|
-
}
|
|
40345
|
-
let nextCursorOffset = cursorOffset;
|
|
40346
|
-
let nextValue = originalValue;
|
|
40347
|
-
let nextCursorWidth = 0;
|
|
40348
|
-
if (key.leftArrow) {
|
|
40349
|
-
if (showCursor) {
|
|
40350
|
-
nextCursorOffset--;
|
|
40351
|
-
}
|
|
40352
|
-
}
|
|
40353
|
-
else if (key.rightArrow) {
|
|
40354
|
-
if (showCursor) {
|
|
40355
|
-
nextCursorOffset++;
|
|
40356
|
-
}
|
|
40357
|
-
}
|
|
40358
|
-
else if (key.backspace || key.delete) {
|
|
40359
|
-
if (cursorOffset > 0) {
|
|
40360
|
-
nextValue =
|
|
40361
|
-
originalValue.slice(0, cursorOffset - 1) +
|
|
40362
|
-
originalValue.slice(cursorOffset, originalValue.length);
|
|
40363
|
-
nextCursorOffset--;
|
|
40364
|
-
}
|
|
40365
|
-
}
|
|
40366
|
-
else {
|
|
40367
|
-
nextValue =
|
|
40368
|
-
originalValue.slice(0, cursorOffset) +
|
|
40369
|
-
input +
|
|
40370
|
-
originalValue.slice(cursorOffset, originalValue.length);
|
|
40371
|
-
nextCursorOffset += input.length;
|
|
40372
|
-
if (input.length > 1) {
|
|
40373
|
-
nextCursorWidth = input.length;
|
|
40374
|
-
}
|
|
40375
|
-
}
|
|
40376
|
-
if (cursorOffset < 0) {
|
|
40377
|
-
nextCursorOffset = 0;
|
|
40378
|
-
}
|
|
40379
|
-
if (cursorOffset > originalValue.length) {
|
|
40380
|
-
nextCursorOffset = originalValue.length;
|
|
40381
|
-
}
|
|
40382
|
-
setState({
|
|
40383
|
-
cursorOffset: nextCursorOffset,
|
|
40384
|
-
cursorWidth: nextCursorWidth,
|
|
40385
|
-
});
|
|
40386
|
-
if (nextValue !== originalValue) {
|
|
40387
|
-
onChange(nextValue);
|
|
40388
|
-
}
|
|
40389
|
-
}, { isActive: focus });
|
|
40390
|
-
return (React.createElement(Text, null, placeholder
|
|
40391
|
-
? value.length > 0
|
|
40392
|
-
? renderedValue
|
|
40393
|
-
: renderedPlaceholder
|
|
40394
|
-
: renderedValue));
|
|
40395
|
-
}
|
|
40180
|
+
/**
|
|
40181
|
+
* Theme and color definitions for the TUI
|
|
40182
|
+
*/
|
|
40183
|
+
const colors = {
|
|
40184
|
+
// Primary brand colors
|
|
40185
|
+
cyan: '#06b6d4',
|
|
40186
|
+
purple: '#a855f7',
|
|
40187
|
+
brightPurple: '#c084fc',
|
|
40188
|
+
// Status colors
|
|
40189
|
+
success: '#22c55e',
|
|
40190
|
+
error: '#ef4444',
|
|
40191
|
+
warning: '#f59e0b',
|
|
40192
|
+
// Neutral colors
|
|
40193
|
+
white: '#ffffff',
|
|
40194
|
+
gray: '#6b7280',
|
|
40195
|
+
dimGray: '#4b5563',
|
|
40196
|
+
darkGray: '#374151',
|
|
40197
|
+
};
|
|
40198
|
+
const symbols = {
|
|
40199
|
+
// Progress indicators
|
|
40200
|
+
filledDot: '●',
|
|
40201
|
+
hollowDot: '○',
|
|
40202
|
+
errorDot: '✗',
|
|
40203
|
+
// Task states
|
|
40204
|
+
check: '✓',
|
|
40205
|
+
cross: '✗',
|
|
40206
|
+
// Connectors
|
|
40207
|
+
horizontalLine: '─',
|
|
40208
|
+
// Spinners (will cycle through these)
|
|
40209
|
+
spinnerFrames: ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'],
|
|
40210
|
+
};
|
|
40211
|
+
const layout = {
|
|
40212
|
+
// Animation timing (slower as requested)
|
|
40213
|
+
spinnerInterval: 120, // ms between spinner frames
|
|
40214
|
+
taskCompletionDelay: 400, // ms to pause after task completion
|
|
40215
|
+
stepTransitionDelay: 300, // ms between step transitions
|
|
40216
|
+
// Shared width for progress stepper and task list (keeps them aligned)
|
|
40217
|
+
// ProgressStepper: 4 cells * 10 chars + 3 connectors * 7 chars = 61 chars
|
|
40218
|
+
progressWidth: 61,
|
|
40219
|
+
};
|
|
40396
40220
|
|
|
40397
|
-
export { Box as B, React as R, Text as T,
|
|
40221
|
+
export { AppContext as A, Box as B, React as R, Text as T, useStdout as a, render as b, colors as c, jsxRuntimeExports as j, layout as l, reactExports as r, symbols as s, useInput as u };
|
|
40222
|
+
//# sourceMappingURL=theme-DOjeB8BU.js.map
|