@basou/cli 0.3.1 → 0.4.0
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/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +8 -3
package/dist/index.js
CHANGED
|
@@ -946,10 +946,9 @@ import { mkdir } from "fs/promises";
|
|
|
946
946
|
import { homedir } from "os";
|
|
947
947
|
import { join as join2 } from "path";
|
|
948
948
|
import {
|
|
949
|
-
ChildProcessRunner,
|
|
950
|
-
SessionSchema,
|
|
951
949
|
assertBasouRootSafe as assertBasouRootSafe4,
|
|
952
950
|
basouPaths as basouPaths4,
|
|
951
|
+
ChildProcessRunner,
|
|
953
952
|
appendEvent as coreAppendEvent,
|
|
954
953
|
getSnapshot,
|
|
955
954
|
overwriteYamlFile,
|
|
@@ -958,6 +957,7 @@ import {
|
|
|
958
957
|
readManifest as readManifest2,
|
|
959
958
|
readYamlFile as readYamlFile2,
|
|
960
959
|
resolveRepositoryRoot as resolveRepositoryRoot4,
|
|
960
|
+
SessionSchema,
|
|
961
961
|
sanitizeWorkingDirectory,
|
|
962
962
|
writeYamlFile
|
|
963
963
|
} from "@basou/core";
|
|
@@ -1406,10 +1406,9 @@ import { mkdir as mkdir2 } from "fs/promises";
|
|
|
1406
1406
|
import { homedir as homedir2 } from "os";
|
|
1407
1407
|
import { join as join3 } from "path";
|
|
1408
1408
|
import {
|
|
1409
|
-
ChildProcessRunner as ChildProcessRunner2,
|
|
1410
|
-
SessionSchema as SessionSchema2,
|
|
1411
1409
|
assertBasouRootSafe as assertBasouRootSafe6,
|
|
1412
1410
|
basouPaths as basouPaths6,
|
|
1411
|
+
ChildProcessRunner as ChildProcessRunner2,
|
|
1413
1412
|
claudeCodeAdapterMetadata,
|
|
1414
1413
|
appendEvent as coreAppendEvent2,
|
|
1415
1414
|
getDiff,
|
|
@@ -1420,6 +1419,7 @@ import {
|
|
|
1420
1419
|
readYamlFile as readYamlFile3,
|
|
1421
1420
|
resolveClaudeCodeCommand,
|
|
1422
1421
|
resolveRepositoryRoot as resolveRepositoryRoot7,
|
|
1422
|
+
SessionSchema as SessionSchema2,
|
|
1423
1423
|
sanitizeRelatedFiles,
|
|
1424
1424
|
sanitizeWorkingDirectory as sanitizeWorkingDirectory2,
|
|
1425
1425
|
writeYamlFile as writeYamlFile2
|
|
@@ -1799,9 +1799,6 @@ async function resolveRepositoryRootForRun(cwd) {
|
|
|
1799
1799
|
import { readFile } from "fs/promises";
|
|
1800
1800
|
import { basename as basename2, isAbsolute, join as join4, relative } from "path";
|
|
1801
1801
|
import {
|
|
1802
|
-
SessionImportPayloadSchema,
|
|
1803
|
-
SessionSchema as SessionSchema3,
|
|
1804
|
-
SessionStatusSchema,
|
|
1805
1802
|
acquireLock as acquireLock2,
|
|
1806
1803
|
appendEventToExistingSession as appendEventToExistingSession2,
|
|
1807
1804
|
assertBasouRootSafe as assertBasouRootSafe7,
|
|
@@ -1814,7 +1811,10 @@ import {
|
|
|
1814
1811
|
readYamlFile as readYamlFile4,
|
|
1815
1812
|
resolveRepositoryRoot as resolveRepositoryRoot8,
|
|
1816
1813
|
resolveSessionId as resolveSessionId2,
|
|
1817
|
-
resolveTaskId
|
|
1814
|
+
resolveTaskId,
|
|
1815
|
+
SessionImportPayloadSchema,
|
|
1816
|
+
SessionSchema as SessionSchema3,
|
|
1817
|
+
SessionStatusSchema
|
|
1818
1818
|
} from "@basou/core";
|
|
1819
1819
|
import { InvalidArgumentError as InvalidArgumentError2 } from "commander";
|
|
1820
1820
|
var SES_PREFIX2 = "ses_";
|
|
@@ -2444,8 +2444,6 @@ async function resolveRepositoryRootForStatus(cwd) {
|
|
|
2444
2444
|
import { readFile as readFile2 } from "fs/promises";
|
|
2445
2445
|
import { join as join5 } from "path";
|
|
2446
2446
|
import {
|
|
2447
|
-
TaskStatusSchema,
|
|
2448
|
-
TaskWriteAfterEventError,
|
|
2449
2447
|
archiveTask,
|
|
2450
2448
|
assertBasouRootSafe as assertBasouRootSafe9,
|
|
2451
2449
|
basouPaths as basouPaths9,
|
|
@@ -2467,6 +2465,8 @@ import {
|
|
|
2467
2465
|
resolveRepositoryRoot as resolveRepositoryRoot10,
|
|
2468
2466
|
resolveSessionId as resolveSessionId3,
|
|
2469
2467
|
resolveTaskId as resolveTaskId2,
|
|
2468
|
+
TaskStatusSchema,
|
|
2469
|
+
TaskWriteAfterEventError,
|
|
2470
2470
|
updateTaskStatusWithEvent
|
|
2471
2471
|
} from "@basou/core";
|
|
2472
2472
|
import { InvalidArgumentError as InvalidArgumentError3 } from "commander";
|