@sma1lboy/kobe 0.5.17 → 0.5.18
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/bin/kobed.js +19 -11
- package/dist/cli/index.js +23 -15
- package/package.json +2 -2
package/dist/bin/kobed.js
CHANGED
|
@@ -2626,7 +2626,7 @@ var init_bridge = __esm(() => {
|
|
|
2626
2626
|
init_server();
|
|
2627
2627
|
});
|
|
2628
2628
|
|
|
2629
|
-
// ../../node_modules/.bun/solid-js@1.9.
|
|
2629
|
+
// ../../node_modules/.bun/solid-js@1.9.12/node_modules/solid-js/dist/dev.js
|
|
2630
2630
|
function getContextId(count) {
|
|
2631
2631
|
const num = String(count), len = num.length - 1;
|
|
2632
2632
|
return sharedConfig.context.id + (len ? String.fromCharCode(96 + len) : "") + num;
|
|
@@ -3154,6 +3154,8 @@ function runComputation(node, value, time) {
|
|
|
3154
3154
|
if (node.updatedAt != null && "observers" in node) {
|
|
3155
3155
|
writeSignal(node, nextValue, true);
|
|
3156
3156
|
} else if (Transition && Transition.running && node.pure) {
|
|
3157
|
+
if (!Transition.sources.has(node))
|
|
3158
|
+
node.value = nextValue;
|
|
3157
3159
|
Transition.sources.add(node);
|
|
3158
3160
|
node.tValue = nextValue;
|
|
3159
3161
|
} else
|
|
@@ -3197,16 +3199,27 @@ function createComputation(fn, init, pure, state = STALE, options) {
|
|
|
3197
3199
|
if (options && options.name)
|
|
3198
3200
|
c.name = options.name;
|
|
3199
3201
|
if (ExternalSourceConfig && c.fn) {
|
|
3202
|
+
const sourceFn = c.fn;
|
|
3200
3203
|
const [track, trigger] = createSignal(undefined, {
|
|
3201
3204
|
equals: false
|
|
3202
3205
|
});
|
|
3203
|
-
const ordinary = ExternalSourceConfig.factory(
|
|
3206
|
+
const ordinary = ExternalSourceConfig.factory(sourceFn, trigger);
|
|
3204
3207
|
onCleanup(() => ordinary.dispose());
|
|
3205
|
-
|
|
3206
|
-
const
|
|
3208
|
+
let inTransition;
|
|
3209
|
+
const triggerInTransition = () => startTransition(trigger).then(() => {
|
|
3210
|
+
if (inTransition) {
|
|
3211
|
+
inTransition.dispose();
|
|
3212
|
+
inTransition = undefined;
|
|
3213
|
+
}
|
|
3214
|
+
});
|
|
3207
3215
|
c.fn = (x) => {
|
|
3208
3216
|
track();
|
|
3209
|
-
|
|
3217
|
+
if (Transition && Transition.running) {
|
|
3218
|
+
if (!inTransition)
|
|
3219
|
+
inTransition = ExternalSourceConfig.factory(sourceFn, triggerInTransition);
|
|
3220
|
+
return inTransition.track(x);
|
|
3221
|
+
}
|
|
3222
|
+
return ordinary.track(x);
|
|
3210
3223
|
};
|
|
3211
3224
|
}
|
|
3212
3225
|
DevHooks.afterCreateOwner && DevHooks.afterCreateOwner(c);
|
|
@@ -3798,12 +3811,7 @@ var init_dev = __esm(() => {
|
|
|
3798
3811
|
equals: equalFn
|
|
3799
3812
|
};
|
|
3800
3813
|
runEffects = runQueue;
|
|
3801
|
-
UNOWNED = {
|
|
3802
|
-
owned: null,
|
|
3803
|
-
cleanups: null,
|
|
3804
|
-
context: null,
|
|
3805
|
-
owner: null
|
|
3806
|
-
};
|
|
3814
|
+
UNOWNED = {};
|
|
3807
3815
|
NO_INIT = {};
|
|
3808
3816
|
DevHooks = {
|
|
3809
3817
|
afterUpdate: null,
|
package/dist/cli/index.js
CHANGED
|
@@ -182,7 +182,7 @@ var init_repos = __esm(() => {
|
|
|
182
182
|
init_env();
|
|
183
183
|
});
|
|
184
184
|
|
|
185
|
-
// ../../node_modules/.bun/solid-js@1.9.
|
|
185
|
+
// ../../node_modules/.bun/solid-js@1.9.12/node_modules/solid-js/dist/dev.js
|
|
186
186
|
function getContextId(count) {
|
|
187
187
|
const num = String(count), len = num.length - 1;
|
|
188
188
|
return sharedConfig.context.id + (len ? String.fromCharCode(96 + len) : "") + num;
|
|
@@ -710,6 +710,8 @@ function runComputation(node, value, time) {
|
|
|
710
710
|
if (node.updatedAt != null && "observers" in node) {
|
|
711
711
|
writeSignal(node, nextValue, true);
|
|
712
712
|
} else if (Transition && Transition.running && node.pure) {
|
|
713
|
+
if (!Transition.sources.has(node))
|
|
714
|
+
node.value = nextValue;
|
|
713
715
|
Transition.sources.add(node);
|
|
714
716
|
node.tValue = nextValue;
|
|
715
717
|
} else
|
|
@@ -753,16 +755,27 @@ function createComputation(fn, init, pure, state = STALE, options) {
|
|
|
753
755
|
if (options && options.name)
|
|
754
756
|
c.name = options.name;
|
|
755
757
|
if (ExternalSourceConfig && c.fn) {
|
|
758
|
+
const sourceFn = c.fn;
|
|
756
759
|
const [track, trigger] = createSignal(undefined, {
|
|
757
760
|
equals: false
|
|
758
761
|
});
|
|
759
|
-
const ordinary = ExternalSourceConfig.factory(
|
|
762
|
+
const ordinary = ExternalSourceConfig.factory(sourceFn, trigger);
|
|
760
763
|
onCleanup(() => ordinary.dispose());
|
|
761
|
-
|
|
762
|
-
const
|
|
764
|
+
let inTransition;
|
|
765
|
+
const triggerInTransition = () => startTransition(trigger).then(() => {
|
|
766
|
+
if (inTransition) {
|
|
767
|
+
inTransition.dispose();
|
|
768
|
+
inTransition = undefined;
|
|
769
|
+
}
|
|
770
|
+
});
|
|
763
771
|
c.fn = (x) => {
|
|
764
772
|
track();
|
|
765
|
-
|
|
773
|
+
if (Transition && Transition.running) {
|
|
774
|
+
if (!inTransition)
|
|
775
|
+
inTransition = ExternalSourceConfig.factory(sourceFn, triggerInTransition);
|
|
776
|
+
return inTransition.track(x);
|
|
777
|
+
}
|
|
778
|
+
return ordinary.track(x);
|
|
766
779
|
};
|
|
767
780
|
}
|
|
768
781
|
DevHooks.afterCreateOwner && DevHooks.afterCreateOwner(c);
|
|
@@ -1354,12 +1367,7 @@ var init_dev = __esm(() => {
|
|
|
1354
1367
|
equals: equalFn
|
|
1355
1368
|
};
|
|
1356
1369
|
runEffects = runQueue;
|
|
1357
|
-
UNOWNED = {
|
|
1358
|
-
owned: null,
|
|
1359
|
-
cleanups: null,
|
|
1360
|
-
context: null,
|
|
1361
|
-
owner: null
|
|
1362
|
-
};
|
|
1370
|
+
UNOWNED = {};
|
|
1363
1371
|
NO_INIT = {};
|
|
1364
1372
|
DevHooks = {
|
|
1365
1373
|
afterUpdate: null,
|
|
@@ -1817,7 +1825,7 @@ var init_esm = __esm(() => {
|
|
|
1817
1825
|
})(EncodingMode || (EncodingMode = {}));
|
|
1818
1826
|
});
|
|
1819
1827
|
|
|
1820
|
-
// ../../node_modules/.bun/@opentui+solid@0.2.4+
|
|
1828
|
+
// ../../node_modules/.bun/@opentui+solid@0.2.4+f38a454781f02d2a/node_modules/@opentui/solid/index.js
|
|
1821
1829
|
import { CliRenderer, createCliRenderer, engine as engine2 } from "@opentui/core";
|
|
1822
1830
|
import { createTestRenderer } from "@opentui/core/testing";
|
|
1823
1831
|
import {
|
|
@@ -2686,7 +2694,7 @@ var init_solid = __esm(() => {
|
|
|
2686
2694
|
});
|
|
2687
2695
|
});
|
|
2688
2696
|
|
|
2689
|
-
// ../../node_modules/.bun/solid-js@1.9.
|
|
2697
|
+
// ../../node_modules/.bun/solid-js@1.9.12/node_modules/solid-js/store/dist/dev.js
|
|
2690
2698
|
function wrap$1(value) {
|
|
2691
2699
|
let p = value[$PROXY];
|
|
2692
2700
|
if (!p) {
|
|
@@ -15503,7 +15511,7 @@ var init_package = __esm(() => {
|
|
|
15503
15511
|
package_default = {
|
|
15504
15512
|
$schema: "https://json.schemastore.org/package.json",
|
|
15505
15513
|
name: "@sma1lboy/kobe",
|
|
15506
|
-
version: "0.5.
|
|
15514
|
+
version: "0.5.18",
|
|
15507
15515
|
description: "TUI orchestrator for Claude Code (codename)",
|
|
15508
15516
|
type: "module",
|
|
15509
15517
|
packageManager: "bun@1.3.13",
|
|
@@ -15548,7 +15556,7 @@ var init_package = __esm(() => {
|
|
|
15548
15556
|
"@opentui/core": "0.2.4",
|
|
15549
15557
|
"@opentui/solid": "0.2.4",
|
|
15550
15558
|
"@xterm/headless": "^6.0.0",
|
|
15551
|
-
"solid-js": "1.9.
|
|
15559
|
+
"solid-js": "1.9.12"
|
|
15552
15560
|
},
|
|
15553
15561
|
devDependencies: {
|
|
15554
15562
|
"@biomejs/biome": "1.9.4",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@sma1lboy/kobe",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.18",
|
|
5
5
|
"description": "TUI orchestrator for Claude Code (codename)",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"packageManager": "bun@1.3.13",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@opentui/core": "0.2.4",
|
|
47
47
|
"@opentui/solid": "0.2.4",
|
|
48
48
|
"@xterm/headless": "^6.0.0",
|
|
49
|
-
"solid-js": "1.9.
|
|
49
|
+
"solid-js": "1.9.12"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@biomejs/biome": "1.9.4",
|